Version Description
Download this release
Release Info
Developer | fullofcaffeine |
Plugin | ![]() |
Version | 3.38877 |
Comparing to | |
See all releases |
Code changes from version 3.38817 to 3.38877
build_meta.txt
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
-
commit_hash=
|
2 |
-
commit_url=https://github.com/Automattic/wp-calypso/commit/
|
3 |
-
build_number=3.
|
1 |
+
commit_hash=787c95ed62c6a14e675c6d53c45ff990b8bd0767
|
2 |
+
commit_url=https://github.com/Automattic/wp-calypso/commit/787c95ed62c6a14e675c6d53c45ff990b8bd0767
|
3 |
+
build_number=3.38877
|
full-site-editing-plugin.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
-
* Version: 3.
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
@@ -42,7 +42,7 @@ namespace A8C\FSE;
|
|
42 |
*
|
43 |
* @var string
|
44 |
*/
|
45 |
-
define( 'A8C_ETK_PLUGIN_VERSION', '3.
|
46 |
|
47 |
// Always include these helper files for dotcom FSE.
|
48 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
2 |
/**
|
3 |
* Plugin Name: WordPress.com Editing Toolkit
|
4 |
* Description: Enhances your page creation workflow within the Block Editor.
|
5 |
+
* Version: 3.38877
|
6 |
* Author: Automattic
|
7 |
* Author URI: https://automattic.com/wordpress-plugins/
|
8 |
* License: GPLv2 or later
|
42 |
*
|
43 |
* @var string
|
44 |
*/
|
45 |
+
define( 'A8C_ETK_PLUGIN_VERSION', '3.38877' );
|
46 |
|
47 |
// Always include these helper files for dotcom FSE.
|
48 |
require_once __DIR__ . '/dotcom-fse/helpers.php';
|
help-center/dist/help-center.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-warning'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-data', 'wp-data-controls', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-plugins', 'wp-polyfill', 'wp-preferences', 'wp-primitives', 'wp-warning'), 'version' => 'c6aefc45edf06e4f0934');
|
help-center/dist/help-center.js
CHANGED
@@ -39859,7 +39859,7 @@ function getDistanceBetweenRecs(totalSubs) {
|
|
39859 |
/* harmony export */ "Khp": function() { return /* binding */ WORDADS_SITE_APPROVE_REQUEST_SUCCESS; },
|
39860 |
/* harmony export */ "koV": function() { return /* binding */ WPCOM_HTTP_REQUEST; }
|
39861 |
/* harmony export */ });
|
39862 |
-
/* unused harmony exports ACCOUNT_CLOSE, ACCOUNT_CLOSE_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_DELETE, ACCOUNT_RECOVERY_SETTINGS_DELETE_FAILED, ACCOUNT_RECOVERY_SETTINGS_DELETE_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_FETCH, ACCOUNT_RECOVERY_SETTINGS_FETCH_FAILED, ACCOUNT_RECOVERY_SETTINGS_FETCH_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_RESEND_VALIDATION, ACCOUNT_RECOVERY_SETTINGS_RESEND_VALIDATION_FAILED, ACCOUNT_RECOVERY_SETTINGS_RESEND_VALIDATION_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_UPDATE, ACCOUNT_RECOVERY_SETTINGS_UPDATE_FAILED, ACCOUNT_RECOVERY_SETTINGS_UPDATE_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_VALIDATE_PHONE, ACCOUNT_RECOVERY_SETTINGS_VALIDATE_PHONE_FAILED, ACCOUNT_RECOVERY_SETTINGS_VALIDATE_PHONE_SUCCESS, ACTIVE_PROMOTIONS_RECEIVE, ACTIVE_PROMOTIONS_REQUEST, ACTIVE_PROMOTIONS_REQUEST_FAILURE, ACTIVE_PROMOTIONS_REQUEST_SUCCESS, ACTIVITY_LOG_FILTER_SET, ACTIVITY_LOG_FILTER_UPDATE, ADMIN_MENU_RECEIVE, ADMIN_MENU_REQUEST, ALL_DOMAINS_REQUEST, ALL_DOMAINS_REQUEST_FAILURE, ALL_DOMAINS_REQUEST_SUCCESS, ANALYTICS_MULTI_TRACK, ATOMIC_TRANSFER_REQUEST, ATOMIC_TRANSFER_SET, ATOMIC_TRANSFER_INITIATE_TRANSFER, ATOMIC_TRANSFER_REQUEST_LATEST, ATOMIC_TRANSFER_SET_LATEST, ATOMIC_SOFTWARE_INITIATE_INSTALL, ATOMIC_SOFTWARE_REQUEST_STATUS, ATOMIC_SOFTWARE_SET_STATUS, ATOMIC_SOFTWARE_SET_ERROR, AUTOMATED_TRANSFER_ELIGIBILITY_REQUEST, AUTOMATED_TRANSFER_ELIGIBILITY_UPDATE, AUTOMATED_TRANSFER_INITIATE_WITH_PLUGIN_ZIP, AUTOMATED_TRANSFER_STATUS_REQUEST, AUTOMATED_TRANSFER_STATUS_REQUEST_FAILURE, AUTOMATED_TRANSFER_STATUS_SET, BILLING_RECEIPT_EMAIL_SEND, BILLING_RECEIPT_EMAIL_SEND_FAILURE, BILLING_RECEIPT_EMAIL_SEND_SUCCESS, BILLING_TRANSACTION_ERROR_CLEAR, BILLING_TRANSACTION_RECEIVE, BILLING_TRANSACTION_REQUEST, BILLING_TRANSACTION_REQUEST_FAILURE, BILLING_TRANSACTION_REQUEST_SUCCESS, BILLING_TRANSACTIONS_FILTER_SET_APP, BILLING_TRANSACTIONS_FILTER_SET_MONTH, BILLING_TRANSACTIONS_FILTER_SET_PAGE, BILLING_TRANSACTIONS_FILTER_SET_QUERY, BILLING_TRANSACTIONS_RECEIVE, BILLING_TRANSACTIONS_REQUEST, BILLING_TRANSACTIONS_REQUEST_FAILURE, BILLING_TRANSACTIONS_REQUEST_SUCCESS, BREADCRUMB_RESET_LIST, BREADCRUMB_UPDATE_LIST, BREADCRUMB_APPEND_ITEM, COMMENT_COUNTS_REQUEST, COMMENT_COUNTS_UPDATE, COMMENT_REQUEST, COMMENTS_CHANGE_STATUS, COMMENTS_COUNT_INCREMENT, COMMENTS_COUNT_RECEIVE, COMMENTS_DELETE, COMMENTS_EDIT, COMMENTS_LIKE, COMMENTS_LIST_REQUEST, COMMENTS_QUERY_UPDATE, COMMENTS_RECEIVE, COMMENTS_RECEIVE_ERROR, COMMENTS_REPLY_WRITE, COMMENTS_REQUEST, COMMENTS_SET_ACTIVE_REPLY, COMMENTS_UNLIKE, COMMENTS_UPDATES_RECEIVE, COMMENTS_WRITE, COMMENTS_WRITE_ERROR, CONCIERGE_APPOINTMENT_CANCEL, CONCIERGE_APPOINTMENT_CREATE, CONCIERGE_APPOINTMENT_DETAILS_REQUEST, CONCIERGE_APPOINTMENT_DETAILS_UPDATE, CONCIERGE_APPOINTMENT_RESCHEDULE, CONCIERGE_INITIAL_REQUEST, CONCIERGE_INITIAL_UPDATE, CONCIERGE_SIGNUP_FORM_UPDATE, CONCIERGE_UPDATE_BOOKING_STATUS, CONNECTED_APPLICATION_DELETE, CONNECTED_APPLICATION_DELETE_SUCCESS, CONNECTED_APPLICATIONS_RECEIVE, CONNECTED_APPLICATIONS_REQUEST, CONNECTION_LOST, CONNECTION_RESTORED, CONNECTIONS_SET_EXPANDED_SERVICE, COUNTRIES_DOMAINS_FETCH, COUNTRIES_DOMAINS_UPDATED, COUNTRIES_PAYMENTS_FETCH, COUNTRIES_PAYMENTS_UPDATED, COUNTRIES_SMS_FETCH, COUNTRIES_SMS_UPDATED, COUNTRIES_WOOCOMMERCE_FETCH, COUNTRIES_WOOCOMMERCE_UPDATED, COUNTRY_STATES_RECEIVE, COUNTRY_STATES_REQUEST, COUNTRY_STATES_REQUEST_FAILURE, COUNTRY_STATES_REQUEST_SUCCESS, CURRENT_USER_FETCH, DIRECTLY_ASK_QUESTION, DIRECTLY_INITIALIZATION_ERROR, DIRECTLY_INITIALIZATION_START, DIRECTLY_INITIALIZATION_SUCCESS, DOCUMENT_HEAD_LINK_SET, DOCUMENT_HEAD_META_SET, DOCUMENT_HEAD_TITLE_SET, DOCUMENT_HEAD_UNREAD_COUNT_SET, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_RECEIVE, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_REQUEST, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_REQUEST_FAILURE, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_REQUEST_SUCCESS, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_UPDATE, DOMAIN_MANAGEMENT_WHOIS_RECEIVE, DOMAIN_MANAGEMENT_WHOIS_REQUEST, DOMAIN_MANAGEMENT_WHOIS_REQUEST_FAILURE, DOMAIN_MANAGEMENT_WHOIS_REQUEST_SUCCESS, DOMAIN_MANAGEMENT_WHOIS_SAVE, DOMAIN_MANAGEMENT_WHOIS_SAVE_FAILURE, DOMAIN_MANAGEMENT_WHOIS_SAVE_SUCCESS, DOMAIN_MANAGEMENT_WHOIS_UPDATE, DOMAIN_TRANSFER_ACCEPT, DOMAIN_TRANSFER_ACCEPT_COMPLETED, DOMAIN_TRANSFER_CANCEL_REQUEST, DOMAIN_TRANSFER_CANCEL_REQUEST_COMPLETED, DOMAIN_TRANSFER_CANCEL_REQUEST_FAILED, DOMAIN_TRANSFER_CODE_REQUEST, DOMAIN_TRANSFER_CODE_REQUEST_COMPLETED, DOMAIN_TRANSFER_CODE_REQUEST_FAILED, DOMAIN_TRANSFER_DECLINE, DOMAIN_TRANSFER_DECLINE_COMPLETED, DOMAIN_TRANSFER_IPS_TAG_SAVE, DOMAIN_TRANSFER_UPDATE, DOMAIN_TRANSFER_UPDATE_LOCK, DOMAIN_WAPI_INFO_FETCH, DOMAIN_WAPI_INFO_FETCH_FAILURE, DOMAIN_WAPI_INFO_FETCH_SUCCESS, DOMAINS_DNS_ADD, DOMAINS_DNS_ADD_COMPLETED, DOMAINS_DNS_ADD_FAILED, DOMAINS_DNS_APPLY_TEMPLATE_COMPLETED, DOMAINS_DNS_DELETE, DOMAINS_DNS_DELETE_COMPLETED, DOMAINS_DNS_DELETE_FAILED, DOMAINS_DNS_FETCH, DOMAINS_DNS_FETCH_COMPLETED, DOMAINS_DNS_FETCH_FAILED, DOMAINS_DNS_UPDATE, DOMAINS_DNS_UPDATE_COMPLETED, DOMAINS_DNS_UPDATE_FAILED, DOMAINS_SITE_REDIRECT_FETCH, DOMAINS_SITE_REDIRECT_FETCH_COMPLETED, DOMAINS_SITE_REDIRECT_FETCH_FAILED, DOMAINS_SITE_REDIRECT_NOTICE_CLOSE, DOMAINS_SITE_REDIRECT_UPDATE, DOMAINS_SITE_REDIRECT_UPDATE_COMPLETED, DOMAINS_SITE_REDIRECT_UPDATE_FAILED, DOMAINS_SUGGESTIONS_RECEIVE, DOMAINS_SUGGESTIONS_REQUEST, DOMAINS_SUGGESTIONS_REQUEST_FAILURE, DOMAINS_SUGGESTIONS_REQUEST_SUCCESS, EDITOR_IFRAME_LOADED, EDITOR_TYPE_REQUEST, EDITOR_TYPE_SET, EMAIL_ACCOUNTS_REQUEST, EMAIL_ACCOUNTS_REQUEST_FAILURE, EMAIL_ACCOUNTS_REQUEST_SUCCESS, EMAIL_FORWARDING_REQUEST, EMAIL_FORWARDING_REQUEST_FAILURE, EMAIL_FORWARDING_REQUEST_SUCCESS, EXPORT_ADVANCED_SETTINGS_FETCH, EXPORT_ADVANCED_SETTINGS_FETCH_FAIL, EXPORT_ADVANCED_SETTINGS_RECEIVE, EXPORT_CLEAR, EXPORT_COMPLETE, EXPORT_FAILURE, EXPORT_MEDIA_REQUEST, EXPORT_POST_TYPE_FIELD_SET, EXPORT_POST_TYPE_SET, EXPORT_START_REQUEST, EXPORT_STARTED, EXPORT_STATUS_FETCH, GOOGLE_MY_BUSINESS_STATS_CHANGE_INTERVAL, GOOGLE_MY_BUSINESS_STATS_FAILURE, GOOGLE_MY_BUSINESS_STATS_RECEIVE, GOOGLE_MY_BUSINESS_STATS_REQUEST, GRAVATAR_RECEIVE_IMAGE_FAILURE, GRAVATAR_UPLOAD_RECEIVE, GRAVATAR_UPLOAD_REQUEST, GRAVATAR_UPLOAD_REQUEST_FAILURE, GRAVATAR_UPLOAD_REQUEST_SUCCESS, GSUITE_USERS_REQUEST, GSUITE_USERS_REQUEST_FAILURE, GSUITE_USERS_REQUEST_SUCCESS, GUIDED_TOUR_PAUSE, GUIDED_TOUR_RESUME, GUTENBERG_IFRAME_ELIGIBLE_SET, HELP_CONTACT_FORM_SITE_SELECT, HELP_TICKET_CONFIGURATION_REQUEST, HELP_TICKET_CONFIGURATION_REQUEST_FAILURE, HELP_TICKET_CONFIGURATION_REQUEST_SUCCESS, HOSTING_CLEAR_CACHE_REQUEST, HOSTING_PHP_VERSION_REQUEST, HOSTING_PHP_VERSION_SET, HOSTING_PHP_VERSION_SET_REQUEST, HOSTING_RESTORE_DATABASE_PASSWORD, HOSTING_SFTP_PASSWORD_RESET, HOSTING_SFTP_USER_CREATE, HOSTING_SFTP_USER_UPDATE, HOSTING_SFTP_USERS_REQUEST, HOSTING_SFTP_USERS_SET, HOSTING_STATIC_FILE_404_REQUEST, HOSTING_STATIC_FILE_404_SET, HOSTING_STATIC_FILE_404_SET_REQUEST, I18N_LANGUAGE_NAMES_ADD, I18N_LANGUAGE_NAMES_REQUEST, I18N_LOCALE_SUGGESTIONS_ADD, I18N_LOCALE_SUGGESTIONS_REQUEST, IMAGE_EDITOR_COMPUTED_CROP, IMAGE_EDITOR_CROP, IMAGE_EDITOR_FLIP, IMAGE_EDITOR_IMAGE_HAS_LOADED, IMAGE_EDITOR_ROTATE_COUNTERCLOCKWISE, IMAGE_EDITOR_SET_ASPECT_RATIO, IMAGE_EDITOR_SET_CROP_BOUNDS, IMAGE_EDITOR_SET_DEFAULT_ASPECT_RATIO, IMAGE_EDITOR_SET_FILE_INFO, IMAGE_EDITOR_STATE_RESET, IMAGE_EDITOR_STATE_RESET_ALL, IMMEDIATE_LOGIN_SAVE_INFO, IMPORTS_AUTHORS_SET_MAPPING, IMPORTS_AUTHORS_START_MAPPING, IMPORTS_IMPORT_CANCEL, IMPORTS_IMPORT_LOCK, IMPORTS_IMPORT_RECEIVE, IMPORTS_IMPORT_RESET, IMPORTS_IMPORT_START, IMPORTS_IMPORT_UNLOCK, IMPORTS_START_IMPORTING, IMPORTS_UPLOAD_COMPLETED, IMPORTS_UPLOAD_FAILED, IMPORTS_UPLOAD_SET_PROGRESS, IMPORTS_UPLOAD_START, INLINE_HELP_POPOVER_HIDE, INLINE_HELP_POPOVER_SHOW, INVITE_ACCEPTED, INVITE_RESEND_REQUEST, INVITE_RESEND_REQUEST_FAILURE, INVITE_RESEND_REQUEST_SUCCESS, INVITES_DELETE_REQUEST, INVITES_DELETE_REQUEST_FAILURE, INVITES_DELETE_REQUEST_SUCCESS, INVITES_REQUEST, INVITES_REQUEST_FAILURE, INVITES_REQUEST_SUCCESS, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_RECEIVE, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_REQUEST, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_REQUEST_FAILURE, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_REQUEST_SUCCESS, JETPACK_CONNECTION_STATUS_RECEIVE, JETPACK_CONNECTION_STATUS_REQUEST, JETPACK_CONNECTION_STATUS_REQUEST_FAILURE, JETPACK_CONNECTION_STATUS_REQUEST_SUCCESS, JETPACK_CREDENTIALS_AUTOCONFIGURE, JETPACK_CREDENTIALS_DELETE, JETPACK_CREDENTIALS_GET, JETPACK_CREDENTIALS_GET_FAILURE, JETPACK_CREDENTIALS_GET_SUCCESS, JETPACK_CREDENTIALS_STORE, JETPACK_CREDENTIALS_UPDATE, JETPACK_CREDENTIALS_UPDATE_FAILURE, JETPACK_CREDENTIALS_UPDATE_PROGRESS_START, JETPACK_CREDENTIALS_UPDATE_PROGRESS_UPDATE, JETPACK_CREDENTIALS_UPDATE_RESET, JETPACK_CREDENTIALS_UPDATE_SUCCESS, JETPACK_MODULE_ACTIVATE, JETPACK_MODULE_ACTIVATE_FAILURE, JETPACK_MODULE_ACTIVATE_SUCCESS, JETPACK_MODULE_DEACTIVATE, JETPACK_MODULE_DEACTIVATE_FAILURE, JETPACK_MODULE_DEACTIVATE_SUCCESS, JETPACK_MODULES_RECEIVE, JETPACK_MODULES_REQUEST, JETPACK_MODULES_REQUEST_FAILURE, JETPACK_MODULES_REQUEST_SUCCESS, JETPACK_PARTNER_PORTAL_LICENSE_COUNTS_RECEIVE, JETPACK_PARTNER_PORTAL_LICENSE_COUNTS_REQUEST, JETPACK_PARTNER_PORTAL_LICENSES_RECEIVE, JETPACK_PARTNER_PORTAL_LICENSES_REQUEST, JETPACK_PARTNER_PORTAL_OAUTH_TOKEN_SET, JETPACK_PARTNER_PORTAL_PARTNER_ACTIVE_PARTNER_KEY_UPDATE, JETPACK_PARTNER_PORTAL_PARTNER_RECEIVE, JETPACK_PARTNER_PORTAL_PARTNER_RECEIVE_ERROR, JETPACK_PARTNER_PORTAL_PARTNER_REQUEST, JETPACK_PRODUCT_INSTALL_REQUEST, JETPACK_PRODUCT_INSTALL_STATUS_RECEIVE, JETPACK_PRODUCT_INSTALL_STATUS_REQUEST, JETPACK_REMOTE_INSTALL, JETPACK_REMOTE_INSTALL_FAILURE, JETPACK_REMOTE_INSTALL_SUCCESS, JETPACK_SCAN_ENQUEUE_REQUEST, JETPACK_SCAN_ENQUEUE_REQUEST_FAILURE, JETPACK_SCAN_ENQUEUE_REQUEST_SUCCESS, JETPACK_SCAN_ENQUEUE_UPDATE, JETPACK_SCAN_HISTORY_REQUEST, JETPACK_SCAN_HISTORY_REQUEST_FAILURE, JETPACK_SCAN_HISTORY_REQUEST_SUCCESS, JETPACK_SCAN_HISTORY_UPDATE, JETPACK_SCAN_REQUEST, JETPACK_SCAN_REQUEST_FAILURE, JETPACK_SCAN_REQUEST_SUCCESS, JETPACK_SCAN_THREAT_COUNTS_REQUEST, JETPACK_SCAN_THREAT_COUNTS_REQUEST_FAILURE, JETPACK_SCAN_THREAT_COUNTS_REQUEST_SUCCESS, JETPACK_SCAN_THREAT_COUNTS_UPDATE, JETPACK_SCAN_THREAT_FIX, JETPACK_SCAN_THREAT_IGNORE, JETPACK_SCAN_THREATS_FIX_ALL, JETPACK_SCAN_THREATS_GET_FIX_STATUS, JETPACK_SCAN_UPDATE, JETPACK_SCAN_UPDATE_THREAT, JETPACK_SCAN_UPDATE_THREAT_COMPLETED, JETPACK_SETTINGS_REQUEST, JETPACK_SETTINGS_SAVE, JETPACK_SETTINGS_SAVE_SUCCESS, JETPACK_SETTINGS_UPDATE, JETPACK_SITE_ALERT_THREAT_FIX, JETPACK_SITE_ALERT_THREAT_IGNORE, JETPACK_SYNC_START_ERROR, JETPACK_SYNC_START_REQUEST, JETPACK_SYNC_START_SUCCESS, JETPACK_SYNC_STATUS_ERROR, JETPACK_SYNC_STATUS_REQUEST, JETPACK_SYNC_STATUS_SUCCESS, JETPACK_USER_CONNECTION_CHANGE_OWNER, JETPACK_USER_CONNECTION_DATA_RECEIVE, JETPACK_USER_CONNECTION_DATA_REQUEST, JETPACK_USER_CONNECTION_DATA_REQUEST_FAILURE, JETPACK_USER_CONNECTION_DATA_REQUEST_SUCCESS, JITM_DISMISS, JITM_FETCH, JITM_SET, KEYRING_CONNECTION_DELETE, KEYRING_CONNECTION_DELETE_FAILURE, KEYRING_CONNECTIONS_RECEIVE, KEYRING_CONNECTIONS_REQUEST, KEYRING_CONNECTIONS_REQUEST_FAILURE, KEYRING_CONNECTIONS_REQUEST_SUCCESS, KEYRING_SERVICES_RECEIVE, KEYRING_SERVICES_REQUEST, KEYRING_SERVICES_REQUEST_FAILURE, KEYRING_SERVICES_REQUEST_SUCCESS, LASAGNA_SOCKET_CONNECTED, LASAGNA_SOCKET_DISCONNECTED, LEGAL_REQUEST, LEGAL_SET, LOGIN_AUTH_ACCOUNT_TYPE_REQUEST, LOGIN_AUTH_ACCOUNT_TYPE_REQUEST_FAILURE, LOGIN_AUTH_ACCOUNT_TYPE_REQUEST_SUCCESS, LOGIN_AUTH_ACCOUNT_TYPE_REQUESTING, LOGIN_AUTH_ACCOUNT_TYPE_RESET, LOGIN_EMAIL_SEND, LOGIN_FORM_UPDATE, LOGIN_REQUEST, LOGIN_REQUEST_FAILURE, LOGIN_REQUEST_SUCCESS, MAGIC_LOGIN_HIDE_REQUEST_FORM, MAGIC_LOGIN_HIDE_REQUEST_NOTICE, MAGIC_LOGIN_REQUEST_AUTH_ERROR, MAGIC_LOGIN_REQUEST_AUTH_FETCH, MAGIC_LOGIN_REQUEST_AUTH_SUCCESS, MAGIC_LOGIN_REQUEST_LOGIN_EMAIL_ERROR, MAGIC_LOGIN_REQUEST_LOGIN_EMAIL_FETCH, MAGIC_LOGIN_REQUEST_LOGIN_EMAIL_SUCCESS, MAGIC_LOGIN_RESET_REQUEST_FORM, MAGIC_LOGIN_SHOW_CHECK_YOUR_EMAIL_PAGE, MAGIC_LOGIN_SHOW_INTERSTITIAL_PAGE, MAGIC_LOGIN_SHOW_LINK_EXPIRED, MAILCHIMP_LISTS_LIST, MAILCHIMP_LISTS_RECEIVE, MAILCHIMP_SETTINGS_LIST, MAILCHIMP_SETTINGS_RECEIVE, MAILCHIMP_SETTINGS_UPDATE, MAILCHIMP_SETTINGS_UPDATE_FAILURE, MAILCHIMP_SETTINGS_UPDATE_SUCCESS, MARKETING_CLICK_UPGRADE_NUDGE, MARKETING_JETPACK_SALE_COUPON_FETCH_FAILURE, MARKETING_JETPACK_SALE_COUPON_FETCH, MARKETING_JETPACK_SALE_COUPON_RECEIVE, MARKETPLACE_BILLING_INTERVAL_SELECT, MARKETPLACE_PLUGIN_INSTALLATION_STATE_CHANGE, MARKETPLACE_PRIMARY_DOMAIN_SELECT, MARKETPLACE_QUEUE_PRODUCT_INSTALL, MEDIA_CLEAR_SITE, MEDIA_ERRORS_CLEAR, MEDIA_ITEM_CREATE, MEDIA_ITEM_EDIT, MEDIA_ITEM_ERRORS_CLEAR, MEDIA_ITEM_ERRORS_SET, MEDIA_ITEM_REQUEST, MEDIA_ITEM_REQUEST_FAILURE, MEDIA_ITEM_REQUEST_SUCCESS, MEDIA_LIBRARY_SELECTED_ITEMS_UPDATE, MEDIA_RECEIVE, MEDIA_REQUEST, MEDIA_REQUEST_FAILURE, MEDIA_REQUEST_SUCCESS, MEDIA_SET_NEXT_PAGE_HANDLE, MEDIA_SET_QUERY, MEDIA_SOURCE_CHANGE, MEMBERSHIPS_EARNINGS_GET, MEMBERSHIPS_EARNINGS_RECEIVE, MEMBERSHIPS_PRODUCT_ADD, MEMBERSHIPS_PRODUCT_ADD_FAILURE, MEMBERSHIPS_PRODUCT_DELETE, MEMBERSHIPS_PRODUCT_DELETE_FAILURE, MEMBERSHIPS_PRODUCT_RECEIVE, MEMBERSHIPS_PRODUCT_UPDATE, MEMBERSHIPS_PRODUCT_UPDATE_FAILURE, MEMBERSHIPS_PRODUCTS_LIST, MEMBERSHIPS_PRODUCTS_RECEIVE, MEMBERSHIPS_SETTINGS, MEMBERSHIPS_SETTINGS_RECEIVE, MEMBERSHIPS_SUBSCRIBERS_LIST, MEMBERSHIPS_SUBSCRIBERS_RECEIVE, MEMBERSHIPS_SUBSCRIPTION_STOP, MEMBERSHIPS_SUBSCRIPTION_STOP_FAILURE, MEMBERSHIPS_SUBSCRIPTION_STOP_SUCCESS, MEMBERSHIPS_SUBSCRIPTIONS_LIST_REQUEST, MEMBERSHIPS_SUBSCRIPTIONS_RECEIVE, MY_SITES_SIDEBAR_SECTION_TOGGLE, MY_SITES_SIDEBAR_SECTIONS_COLLAPSE_ALL, NOTICE_CREATE, NOTICE_REMOVE, NOTIFICATION_SETTINGS_FETCH, NOTIFICATION_SETTINGS_FETCH_COMPLETE, NOTIFICATION_SETTINGS_FETCH_FAILED, NOTIFICATION_SETTINGS_REQUEST, NOTIFICATION_SETTINGS_SAVE, NOTIFICATION_SETTINGS_SAVE_COMPLETE, NOTIFICATION_SETTINGS_SAVE_FAILED, NOTIFICATION_SETTINGS_TOGGLE_SETTING, NOTIFICATION_SETTINGS_UPDATE, NOTIFICATIONS_FORCE_REFRESH, NOTIFICATIONS_UNSEEN_COUNT_SET, OAUTH2_CLIENT_DATA_RECEIVE, ORDER_TRANSACTION_FETCH, ORDER_TRANSACTION_FETCH_ERROR, ORDER_TRANSACTION_SET, P2_CONNECTION_DELETE, P2_CONNECTION_DELETE_FAILURE, P2_CONNECTIONS_RECEIVE, P2_CONNECTIONS_REQUEST, P2_CONNECTIONS_REQUEST_FAILURE, P2_CONNECTIONS_REQUEST_SUCCESS, PLANS_RECEIVE, PLANS_REQUEST, PLANS_REQUEST_FAILURE, PLANS_REQUEST_SUCCESS, PLUGIN_ACTIVATE_REQUEST, PLUGIN_ACTIVATE_REQUEST_FAILURE, PLUGIN_ACTIVATE_REQUEST_SUCCESS, PLUGIN_AUTOUPDATE_DISABLE_REQUEST, PLUGIN_AUTOUPDATE_DISABLE_REQUEST_FAILURE, PLUGIN_AUTOUPDATE_DISABLE_REQUEST_SUCCESS, PLUGIN_AUTOUPDATE_ENABLE_REQUEST, PLUGIN_AUTOUPDATE_ENABLE_REQUEST_FAILURE, PLUGIN_AUTOUPDATE_ENABLE_REQUEST_SUCCESS, PLUGIN_DEACTIVATE_REQUEST, PLUGIN_DEACTIVATE_REQUEST_FAILURE, PLUGIN_DEACTIVATE_REQUEST_SUCCESS, PLUGIN_INSTALL_REQUEST, PLUGIN_INSTALL_REQUEST_FAILURE, PLUGIN_INSTALL_REQUEST_SUCCESS, PLUGIN_NOTICES_REMOVE, PLUGIN_REMOVE_REQUEST, PLUGIN_REMOVE_REQUEST_FAILURE, PLUGIN_REMOVE_REQUEST_SUCCESS, PLUGIN_SETUP_ACTIVATE, PLUGIN_SETUP_CONFIGURE, PLUGIN_SETUP_ERROR, PLUGIN_SETUP_FINISH, PLUGIN_SETUP_INSTALL, PLUGIN_SETUP_INSTRUCTIONS_FETCH, PLUGIN_SETUP_INSTRUCTIONS_RECEIVE, PLUGIN_UPDATE_REQUEST, PLUGIN_UPDATE_REQUEST_FAILURE, PLUGIN_UPDATE_REQUEST_SUCCESS, PLUGIN_UPLOAD, PLUGIN_UPLOAD_CLEAR, PLUGIN_UPLOAD_COMPLETE, PLUGIN_UPLOAD_ERROR, PLUGIN_UPLOAD_PROGRESS, PLUGINS_RECEIVE, PLUGINS_REQUEST, PLUGINS_REQUEST_FAILURE, PLUGINS_REQUEST_SUCCESS, PLUGINS_WPORG_LIST_RECEIVE, PLUGINS_WPORG_LIST_REQUEST, PLUGINS_WPORG_PLUGIN_RECEIVE, PLUGINS_WPORG_PLUGIN_REQUEST, POST_RESTORE_SUCCESS, POST_REVISIONS_AUTHORS_REQUEST, POST_REVISIONS_REQUEST, POST_SAVE_FAILURE, POST_STATS_RECEIVE, POST_STATS_REQUEST, POST_STATS_REQUEST_FAILURE, POST_STATS_REQUEST_SUCCESS, POST_TYPES_RECEIVE, POST_TYPES_REQUEST, POST_TYPES_TAXONOMIES_RECEIVE, POST_TYPES_TAXONOMIES_REQUEST, POST_TYPES_TAXONOMIES_REQUEST_FAILURE, POST_TYPES_TAXONOMIES_REQUEST_SUCCESS, PRODUCTS_LIST_RECEIVE, PRODUCTS_LIST_REQUEST, PRODUCTS_LIST_REQUEST_FAILURE, PUBLICIZE_CONNECTION_CREATE, PUBLICIZE_CONNECTION_CREATE_FAILURE, PUBLICIZE_CONNECTION_DELETE, PUBLICIZE_CONNECTION_DELETE_FAILURE, PUBLICIZE_CONNECTION_RECEIVE, PUBLICIZE_CONNECTION_UPDATE, PUBLICIZE_CONNECTION_UPDATE_FAILURE, PUBLICIZE_CONNECTIONS_RECEIVE, PUBLICIZE_CONNECTIONS_REQUEST, PUBLICIZE_CONNECTIONS_REQUEST_FAILURE, PUBLICIZE_CONNECTIONS_REQUEST_SUCCESS, PUBLICIZE_SHARE, PUBLICIZE_SHARE_ACTION_DELETE, PUBLICIZE_SHARE_ACTION_DELETE_FAILURE, PUBLICIZE_SHARE_ACTION_DELETE_SUCCESS, PUBLICIZE_SHARE_ACTION_SCHEDULE, PUBLICIZE_SHARE_ACTION_SCHEDULE_FAILURE, PUBLICIZE_SHARE_ACTION_SCHEDULE_SUCCESS, PUBLICIZE_SHARE_ACTIONS_PUBLISHED_REQUEST, PUBLICIZE_SHARE_ACTIONS_PUBLISHED_REQUEST_FAILURE, PUBLICIZE_SHARE_ACTIONS_PUBLISHED_REQUEST_SUCCESS, PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST, PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST_FAILURE, PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST_SUCCESS, PUBLICIZE_SHARE_DISMISS, PUBLICIZE_SHARE_FAILURE, PUBLICIZE_SHARE_SUCCESS, PUSH_NOTIFICATIONS_API_NOT_READY, PUSH_NOTIFICATIONS_API_READY, PUSH_NOTIFICATIONS_AUTHORIZE, PUSH_NOTIFICATIONS_BLOCK, PUSH_NOTIFICATIONS_MUST_PROMPT, PUSH_NOTIFICATIONS_RECEIVE_REGISTER_DEVICE, PUSH_NOTIFICATIONS_RECEIVE_UNREGISTER_DEVICE, PUSH_NOTIFICATIONS_TOGGLE_ENABLED, PUSH_NOTIFICATIONS_TOGGLE_UNBLOCK_INSTRUCTIONS, RECEIPT_FETCH, RECEIPT_FETCH_COMPLETED, RECEIPT_FETCH_FAILED, REWIND_ACTIVATE_FAILURE, REWIND_ACTIVATE_REQUEST, REWIND_ACTIVATE_SUCCESS, REWIND_ACTIVITY_SHARE_REQUEST, REWIND_BACKUP, REWIND_BACKUP_DISMISS, REWIND_BACKUP_DISMISS_PROGRESS, REWIND_BACKUP_PROGRESS_REQUEST, REWIND_BACKUP_REQUEST, REWIND_BACKUP_SITE, REWIND_BACKUP_UPDATE_ERROR, REWIND_BACKUP_UPDATE_PROGRESS, REWIND_BACKUPS_REQUEST, REWIND_BACKUPS_SET, REWIND_CAPABILITIES_REQUEST, REWIND_CAPABILITIES_UPDATE, REWIND_CLONE, REWIND_DEACTIVATE_FAILURE, REWIND_DEACTIVATE_REQUEST, REWIND_DEACTIVATE_SUCCESS, REWIND_POLICIES_REQUEST, REWIND_POLICIES_REQUEST_FAILURE, REWIND_POLICIES_REQUEST_SUCCESS, REWIND_POLICIES_SET, REWIND_RESTORE, REWIND_RESTORE_DISMISS, REWIND_RESTORE_DISMISS_PROGRESS, REWIND_RESTORE_PROGRESS_REQUEST, REWIND_RESTORE_REQUEST, REWIND_RESTORE_UPDATE_PROGRESS, REWIND_SIZE_REQUEST, REWIND_SIZE_REQUEST_FAILURE, REWIND_SIZE_REQUEST_SUCCESS, REWIND_SIZE_SET, REWIND_STATE_REQUEST, REWIND_STATE_UPDATE, ROUTE_CLEAR_LAST_NON_EDITOR, SET_MEDIA_EXPORT_DATA, SIGNUP_COMPLETE_RESET, SIGNUP_CURRENT_FLOW_NAME_SET, SIGNUP_DEPENDENCY_STORE_REMOVE_SITE_SLUG, SIGNUP_DEPENDENCY_STORE_UPDATE, SIGNUP_OPTIONAL_DEPENDENCY_SUGGESTED_USERNAME_SET, SIGNUP_PREVIOUS_FLOW_NAME_SET, SIGNUP_FLOW_ADD_EXCLUDED_STEPS, SIGNUP_FLOW_REMOVE_EXCLUDED_STEPS, SIGNUP_FLOW_RESET_EXCLUDED_STEPS, SIGNUP_PROGRESS_ADD_STEP, SIGNUP_PROGRESS_COMPLETE_STEP, SIGNUP_PROGRESS_INVALIDATE_STEP, SIGNUP_PROGRESS_PROCESS_STEP, SIGNUP_PROGRESS_REMOVE_STEP, SIGNUP_PROGRESS_SAVE_STEP, SIGNUP_PROGRESS_SUBMIT_STEP, SIGNUP_STEPS_DESIGN_TYPE_SET, SIGNUP_STEPS_SITE_GOALS_SET, SIGNUP_STEPS_SITE_TITLE_SET, SIGNUP_STEPS_SITE_TYPE_SET, SIGNUP_STEPS_SITE_VERTICAL_SET, SIGNUP_STEPS_SURVEY_SET, SIGNUP_STEPS_SITE_INFO_COLLECTION_UPDATE, SIGNUP_STEPS_SITE_INFO_UPDATE_CURRENT_INDEX, SIGNUP_STEPS_WEBSITE_CONTENT_INITIALIZE_PAGES, SIGNUP_STEPS_WEBSITE_CONTENT_UPDATE_CURRENT_INDEX, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_UPLOAD_STARTED, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_UPLOAD_COMPLETED, SIGNUP_STEPS_WEBSITE_FIELD_CHANGED, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_UPLOAD_FAILED, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_REMOVED, SIGNUP_STEPS_WEBSITE_CONTENT_LOGO_UPLOAD_STARTED, SIGNUP_STEPS_WEBSITE_CONTENT_LOGO_UPLOAD_COMPLETED, SIGNUP_STEPS_WEBSITE_CONTENT_LOGO_UPLOAD_FAILED, SIGNUP_STEPS_SOCIAL_PROFILES_UPDATE, SIGNUP_STEPS_SOCIAL_PROFILES_RESET, SIGNUP_STEPS_WEBSITE_CONTENT_REMOVE_LOGO_URL, SIGNUP_STEPS_USER_EXPERIENCE_SET, SIGNUP_VERTICALS_REQUEST, SIGNUP_VERTICALS_SET, SITE_ADDRESS_AVAILABILITY_ERROR, SITE_ADDRESS_AVAILABILITY_ERROR_CLEAR, SITE_ADDRESS_AVAILABILITY_REQUEST, SITE_ADDRESS_AVAILABILITY_SUCCESS, SITE_ADDRESS_CHANGE_REQUEST, SITE_ADDRESS_CHANGE_REQUEST_FAILURE, SITE_ADDRESS_CHANGE_REQUEST_SUCCESS, SITE_CHECKLIST_RECEIVE, SITE_CHECKLIST_REQUEST, SITE_CHECKLIST_TASK_UPDATE, SITE_IMPORTER_IMPORT_FAILURE, SITE_IMPORTER_IMPORT_RESET, SITE_IMPORTER_IMPORT_START, SITE_IMPORTER_IMPORT_SUCCESS, SITE_IMPORTER_IS_SITE_IMPORTABLE_FAILURE, SITE_IMPORTER_IS_SITE_IMPORTABLE_START, SITE_IMPORTER_IS_SITE_IMPORTABLE_SUCCESS, SITE_IMPORTER_VALIDATION_ERROR_SET, SITE_KEYRINGS_DELETE, SITE_KEYRINGS_DELETE_FAILURE, SITE_KEYRINGS_DELETE_SUCCESS, SITE_KEYRINGS_REQUEST, SITE_KEYRINGS_REQUEST_FAILURE, SITE_KEYRINGS_REQUEST_SUCCESS, SITE_KEYRINGS_SAVE_SUCCESS, SITE_KEYRINGS_UPDATE, SITE_KEYRINGS_UPDATE_FAILURE, SITE_KEYRINGS_UPDATE_SUCCESS, SITE_LAUNCH, SITE_PLAN_OWNERSHIP_TRANSFER, SITE_SETTINGS_REQUEST, SITE_SETTINGS_REQUEST_FAILURE, SITE_SETTINGS_REQUEST_SUCCESS, SITE_SETTINGS_SAVE, SITE_SETTINGS_SAVE_FAILURE, SITE_SETTINGS_SAVE_SUCCESS, SITE_STATS_RECEIVE, SITE_STATS_REQUEST, SITE_STATS_REQUEST_FAILURE, SOCIAL_CONNECT_ACCOUNT_REQUEST, SOCIAL_CONNECT_ACCOUNT_REQUEST_FAILURE, SOCIAL_CONNECT_ACCOUNT_REQUEST_SUCCESS, SOCIAL_CREATE_ACCOUNT_REQUEST_FAILURE, SOCIAL_HANDOFF_CONNECT_ACCOUNT, SOCIAL_DISCONNECT_ACCOUNT_REQUEST, SOCIAL_DISCONNECT_ACCOUNT_REQUEST_FAILURE, SOCIAL_DISCONNECT_ACCOUNT_REQUEST_SUCCESS, SOCIAL_LOGIN_REQUEST, SOCIAL_LOGIN_REQUEST_FAILURE, SOCIAL_LOGIN_REQUEST_SUCCESS, STATS_CHART_COUNTS_RECEIVE, STATS_CHART_COUNTS_REQUEST, STATS_RECENT_POST_VIEWS_RECEIVE, STATS_RECENT_POST_VIEWS_REQUEST, STORED_CARDS_ADD_COMPLETED, STORED_CARDS_DELETE, STORED_CARDS_DELETE_COMPLETED, STORED_CARDS_DELETE_FAILED, STORED_CARDS_UPDATE_IS_PRIMARY_COMPLETED, STORED_CARDS_UPDATE_IS_BACKUP_COMPLETED, STORED_CARDS_FETCH, STORED_CARDS_FETCH_COMPLETED, STORED_CARDS_FETCH_FAILED, SUPPORT_ARTICLE_DIALOG_CLOSE, SUPPORT_ARTICLE_DIALOG_OPEN, SUPPORT_SESSION_TRANSITION, TERM_REMOVE, TERMS_RECEIVE, TERMS_REQUEST, TERMS_REQUEST_FAILURE, TERMS_REQUEST_SUCCESS, TIMEZONES_RECEIVE, TIMEZONES_REQUEST, TOS_ACCEPT, TWO_FACTOR_AUTHENTICATION_LOGIN_REQUEST, TWO_FACTOR_AUTHENTICATION_LOGIN_REQUEST_FAILURE, TWO_FACTOR_AUTHENTICATION_LOGIN_REQUEST_SUCCESS, TWO_FACTOR_AUTHENTICATION_SEND_SMS_CODE_REQUEST, TWO_FACTOR_AUTHENTICATION_SEND_SMS_CODE_REQUEST_FAILURE, TWO_FACTOR_AUTHENTICATION_SEND_SMS_CODE_REQUEST_SUCCESS, TWO_FACTOR_AUTHENTICATION_UPDATE_NONCE, URL_ANALYZER_ANALYZE, URL_ANALYZER_ANALYZE_DONE, URL_ANALYZER_ANALYZE_SUCCESS, URL_ANALYZER_ANALYZE_ERROR, URL_ANALYZER_RESET_ERROR, URL_ANALYZER_URL_DATA_UPDATE, USER_LICENSES_RECEIVE, USER_LICENSES_REQUEST, USER_LICENSES_REQUEST_SUCCESS, USER_LICENSES_REQUEST_FAILURE, USER_LICENSES_COUNTS_RECEIVE, USER_LICENSES_COUNTS_REQUEST, USER_LICENSES_COUNTS_REQUEST_SUCCESS, USER_LICENSES_COUNTS_REQUEST_FAILURE, USER_PROFILE_LINKS_ADD, USER_PROFILE_LINKS_ADD_DUPLICATE, USER_PROFILE_LINKS_ADD_FAILURE, USER_PROFILE_LINKS_ADD_MALFORMED, USER_PROFILE_LINKS_ADD_SUCCESS, USER_PROFILE_LINKS_DELETE, USER_PROFILE_LINKS_DELETE_FAILURE, USER_PROFILE_LINKS_DELETE_SUCCESS, USER_PROFILE_LINKS_RECEIVE, USER_PROFILE_LINKS_REQUEST, USER_PROFILE_LINKS_RESET_ERRORS, USER_SETTINGS_REQUEST, USER_SETTINGS_REQUEST_FAILURE, USER_SETTINGS_REQUEST_SUCCESS, USER_SETTINGS_SAVE, USER_SETTINGS_SAVE_FAILURE, USER_SETTINGS_SAVE_SUCCESS, USER_SETTINGS_UNSAVED_CLEAR, USER_SETTINGS_UNSAVED_REMOVE, USER_SETTINGS_UNSAVED_SET, USER_SUGGESTIONS_RECEIVE, USER_SUGGESTIONS_REQUEST, USER_SUGGESTIONS_REQUEST_FAILURE, USER_SUGGESTIONS_REQUEST_SUCCESS, VIDEO_EDITOR_SET_POSTER_URL, VIDEO_EDITOR_SHOW_ERROR, VIDEO_EDITOR_SHOW_UPLOAD_PROGRESS, VIDEO_EDITOR_UPDATE_POSTER, VIDEO_EDITOR_REFRESH_POSTER, WORDADS_EARNINGS_RECEIVE, WORDADS_EARNINGS_REQUEST, WORDADS_SETTINGS_RECEIVE, WORDADS_SETTINGS_REQUEST, WORDADS_SETTINGS_SAVE, WORDADS_SETTINGS_SAVE_FAILURE, WORDADS_SETTINGS_SAVE_SUCCESS, WORDADS_SETTINGS_UPDATE, WORDADS_PAYMENTS_RECEIVE, WORDADS_PAYMENTS_REQUEST, WORDADS_SITE_APPROVE_REQUEST, WORDADS_SITE_APPROVE_REQUEST_DISMISS_ERROR, WORDADS_SITE_APPROVE_REQUEST_DISMISS_SUCCESS, WORDADS_SITE_APPROVE_REQUEST_FAILURE, WORDADS_STATUS_RECEIVE, WORDADS_STATUS_REQUEST */
|
39863 |
/**
|
39864 |
* Any new action type should be added to the set of exports below, with the
|
39865 |
* value mirroring its exported name.
|
@@ -40538,6 +40538,12 @@ const PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST_SUCCESS = 'PUBLICIZE_SHARE_ACTIO
|
|
40538 |
const PUBLICIZE_SHARE_DISMISS = 'PUBLICIZE_SHARE_DISMISS';
|
40539 |
const PUBLICIZE_SHARE_FAILURE = 'PUBLICIZE_SHARE_FAILURE';
|
40540 |
const PUBLICIZE_SHARE_SUCCESS = 'PUBLICIZE_SHARE_SUCCESS';
|
|
|
|
|
|
|
|
|
|
|
|
|
40541 |
const PURCHASE_REMOVE_COMPLETED = 'PURCHASE_REMOVE_COMPLETED';
|
40542 |
const PURCHASE_REMOVE_FAILED = 'PURCHASE_REMOVE_FAILED';
|
40543 |
const PURCHASES_REMOVE = 'PURCHASES_REMOVE';
|
@@ -40622,8 +40628,7 @@ const SIGNUP_STEPS_DESIGN_TYPE_SET = 'SIGNUP_STEPS_DESIGN_TYPE_SET';
|
|
40622 |
const SIGNUP_STEPS_SITE_GOALS_SET = 'SIGNUP_STEPS_SITE_GOALS_SET';
|
40623 |
const SIGNUP_STEPS_SITE_TITLE_SET = 'SIGNUP_STEPS_SITE_TITLE_SET';
|
40624 |
const SIGNUP_STEPS_SITE_TYPE_SET = 'SIGNUP_STEPS_SITE_TYPE_SET';
|
40625 |
-
const SIGNUP_STEPS_SITE_VERTICAL_SET = 'SIGNUP_STEPS_SITE_VERTICAL_SET';
|
40626 |
-
const SIGNUP_STEPS_SURVEY_SET = 'SIGNUP_STEPS_SURVEY_SET'; // Signup DIFM Actions
|
40627 |
|
40628 |
const SIGNUP_STEPS_SITE_INFO_COLLECTION_UPDATE = 'SIGNUP_STEPS_SITE_INFO_COLLECTION_UPDATE';
|
40629 |
const SIGNUP_STEPS_SITE_INFO_UPDATE_CURRENT_INDEX = 'SIGNUP_STEPS_SITE_INFO_UPDATE_CURRENT_INDEX';
|
@@ -40641,8 +40646,6 @@ const SIGNUP_STEPS_SOCIAL_PROFILES_UPDATE = 'SIGNUP_STEPS_SOCIAL_PROFILES_UPDATE
|
|
40641 |
const SIGNUP_STEPS_SOCIAL_PROFILES_RESET = 'SIGNUP_STEPS_SOCIAL_PROFILES_RESET';
|
40642 |
const SIGNUP_STEPS_WEBSITE_CONTENT_REMOVE_LOGO_URL = 'SIGNUP_STEPS_WEBSITE_CONTENT_REMOVE_LOGO_URL';
|
40643 |
const SIGNUP_STEPS_USER_EXPERIENCE_SET = 'SIGNUP_STEPS_USER_EXPERIENCE_SET';
|
40644 |
-
const SIGNUP_VERTICALS_REQUEST = 'SIGNUP_VERTICALS_REQUEST';
|
40645 |
-
const SIGNUP_VERTICALS_SET = 'SIGNUP_VERTICALS_SET';
|
40646 |
const SITE_ADDRESS_AVAILABILITY_ERROR = 'SITE_ADDRESS_AVAILABILITY_ERROR';
|
40647 |
const SITE_ADDRESS_AVAILABILITY_ERROR_CLEAR = 'SITE_ADDRESS_AVAILABILITY_ERROR_CLEAR';
|
40648 |
const SITE_ADDRESS_AVAILABILITY_REQUEST = 'SITE_ADDRESS_AVAILABILITY_REQUEST';
|
@@ -41831,6 +41834,7 @@ const convertToSnakeCase = obj => convertKeysBy(obj, snakeCase);
|
|
41831 |
* @property {object} [onFailure] Redux action to call when request fails
|
41832 |
* @property {object} [onProgress] Redux action to call on progress events from an upload
|
41833 |
* @property {object} [onStreamRecord] callback for each record of a streamed response
|
|
|
41834 |
* @property {object} [options] extra options to send to the middleware, e.g. retry policy or offline policy
|
41835 |
*/
|
41836 |
|
@@ -54003,8 +54007,14 @@ const features = {
|
|
54003 |
*
|
54004 |
* @module config/index
|
54005 |
*/
|
54006 |
-
if ('undefined' === typeof window
|
54007 |
-
throw new
|
|
|
|
|
|
|
|
|
|
|
|
|
54008 |
}
|
54009 |
|
54010 |
const isDesktop = window.electron !== undefined;
|
39859 |
/* harmony export */ "Khp": function() { return /* binding */ WORDADS_SITE_APPROVE_REQUEST_SUCCESS; },
|
39860 |
/* harmony export */ "koV": function() { return /* binding */ WPCOM_HTTP_REQUEST; }
|
39861 |
/* harmony export */ });
|
39862 |
+
/* unused harmony exports ACCOUNT_CLOSE, ACCOUNT_CLOSE_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_DELETE, ACCOUNT_RECOVERY_SETTINGS_DELETE_FAILED, ACCOUNT_RECOVERY_SETTINGS_DELETE_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_FETCH, ACCOUNT_RECOVERY_SETTINGS_FETCH_FAILED, ACCOUNT_RECOVERY_SETTINGS_FETCH_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_RESEND_VALIDATION, ACCOUNT_RECOVERY_SETTINGS_RESEND_VALIDATION_FAILED, ACCOUNT_RECOVERY_SETTINGS_RESEND_VALIDATION_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_UPDATE, ACCOUNT_RECOVERY_SETTINGS_UPDATE_FAILED, ACCOUNT_RECOVERY_SETTINGS_UPDATE_SUCCESS, ACCOUNT_RECOVERY_SETTINGS_VALIDATE_PHONE, ACCOUNT_RECOVERY_SETTINGS_VALIDATE_PHONE_FAILED, ACCOUNT_RECOVERY_SETTINGS_VALIDATE_PHONE_SUCCESS, ACTIVE_PROMOTIONS_RECEIVE, ACTIVE_PROMOTIONS_REQUEST, ACTIVE_PROMOTIONS_REQUEST_FAILURE, ACTIVE_PROMOTIONS_REQUEST_SUCCESS, ACTIVITY_LOG_FILTER_SET, ACTIVITY_LOG_FILTER_UPDATE, ADMIN_MENU_RECEIVE, ADMIN_MENU_REQUEST, ALL_DOMAINS_REQUEST, ALL_DOMAINS_REQUEST_FAILURE, ALL_DOMAINS_REQUEST_SUCCESS, ANALYTICS_MULTI_TRACK, ATOMIC_TRANSFER_REQUEST, ATOMIC_TRANSFER_SET, ATOMIC_TRANSFER_INITIATE_TRANSFER, ATOMIC_TRANSFER_REQUEST_LATEST, ATOMIC_TRANSFER_SET_LATEST, ATOMIC_SOFTWARE_INITIATE_INSTALL, ATOMIC_SOFTWARE_REQUEST_STATUS, ATOMIC_SOFTWARE_SET_STATUS, ATOMIC_SOFTWARE_SET_ERROR, AUTOMATED_TRANSFER_ELIGIBILITY_REQUEST, AUTOMATED_TRANSFER_ELIGIBILITY_UPDATE, AUTOMATED_TRANSFER_INITIATE_WITH_PLUGIN_ZIP, AUTOMATED_TRANSFER_STATUS_REQUEST, AUTOMATED_TRANSFER_STATUS_REQUEST_FAILURE, AUTOMATED_TRANSFER_STATUS_SET, BILLING_RECEIPT_EMAIL_SEND, BILLING_RECEIPT_EMAIL_SEND_FAILURE, BILLING_RECEIPT_EMAIL_SEND_SUCCESS, BILLING_TRANSACTION_ERROR_CLEAR, BILLING_TRANSACTION_RECEIVE, BILLING_TRANSACTION_REQUEST, BILLING_TRANSACTION_REQUEST_FAILURE, BILLING_TRANSACTION_REQUEST_SUCCESS, BILLING_TRANSACTIONS_FILTER_SET_APP, BILLING_TRANSACTIONS_FILTER_SET_MONTH, BILLING_TRANSACTIONS_FILTER_SET_PAGE, BILLING_TRANSACTIONS_FILTER_SET_QUERY, BILLING_TRANSACTIONS_RECEIVE, BILLING_TRANSACTIONS_REQUEST, BILLING_TRANSACTIONS_REQUEST_FAILURE, BILLING_TRANSACTIONS_REQUEST_SUCCESS, BREADCRUMB_RESET_LIST, BREADCRUMB_UPDATE_LIST, BREADCRUMB_APPEND_ITEM, COMMENT_COUNTS_REQUEST, COMMENT_COUNTS_UPDATE, COMMENT_REQUEST, COMMENTS_CHANGE_STATUS, COMMENTS_COUNT_INCREMENT, COMMENTS_COUNT_RECEIVE, COMMENTS_DELETE, COMMENTS_EDIT, COMMENTS_LIKE, COMMENTS_LIST_REQUEST, COMMENTS_QUERY_UPDATE, COMMENTS_RECEIVE, COMMENTS_RECEIVE_ERROR, COMMENTS_REPLY_WRITE, COMMENTS_REQUEST, COMMENTS_SET_ACTIVE_REPLY, COMMENTS_UNLIKE, COMMENTS_UPDATES_RECEIVE, COMMENTS_WRITE, COMMENTS_WRITE_ERROR, CONCIERGE_APPOINTMENT_CANCEL, CONCIERGE_APPOINTMENT_CREATE, CONCIERGE_APPOINTMENT_DETAILS_REQUEST, CONCIERGE_APPOINTMENT_DETAILS_UPDATE, CONCIERGE_APPOINTMENT_RESCHEDULE, CONCIERGE_INITIAL_REQUEST, CONCIERGE_INITIAL_UPDATE, CONCIERGE_SIGNUP_FORM_UPDATE, CONCIERGE_UPDATE_BOOKING_STATUS, CONNECTED_APPLICATION_DELETE, CONNECTED_APPLICATION_DELETE_SUCCESS, CONNECTED_APPLICATIONS_RECEIVE, CONNECTED_APPLICATIONS_REQUEST, CONNECTION_LOST, CONNECTION_RESTORED, CONNECTIONS_SET_EXPANDED_SERVICE, COUNTRIES_DOMAINS_FETCH, COUNTRIES_DOMAINS_UPDATED, COUNTRIES_PAYMENTS_FETCH, COUNTRIES_PAYMENTS_UPDATED, COUNTRIES_SMS_FETCH, COUNTRIES_SMS_UPDATED, COUNTRIES_WOOCOMMERCE_FETCH, COUNTRIES_WOOCOMMERCE_UPDATED, COUNTRY_STATES_RECEIVE, COUNTRY_STATES_REQUEST, COUNTRY_STATES_REQUEST_FAILURE, COUNTRY_STATES_REQUEST_SUCCESS, CURRENT_USER_FETCH, DIRECTLY_ASK_QUESTION, DIRECTLY_INITIALIZATION_ERROR, DIRECTLY_INITIALIZATION_START, DIRECTLY_INITIALIZATION_SUCCESS, DOCUMENT_HEAD_LINK_SET, DOCUMENT_HEAD_META_SET, DOCUMENT_HEAD_TITLE_SET, DOCUMENT_HEAD_UNREAD_COUNT_SET, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_RECEIVE, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_REQUEST, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_REQUEST_FAILURE, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_REQUEST_SUCCESS, DOMAIN_MANAGEMENT_CONTACT_DETAILS_CACHE_UPDATE, DOMAIN_MANAGEMENT_WHOIS_RECEIVE, DOMAIN_MANAGEMENT_WHOIS_REQUEST, DOMAIN_MANAGEMENT_WHOIS_REQUEST_FAILURE, DOMAIN_MANAGEMENT_WHOIS_REQUEST_SUCCESS, DOMAIN_MANAGEMENT_WHOIS_SAVE, DOMAIN_MANAGEMENT_WHOIS_SAVE_FAILURE, DOMAIN_MANAGEMENT_WHOIS_SAVE_SUCCESS, DOMAIN_MANAGEMENT_WHOIS_UPDATE, DOMAIN_TRANSFER_ACCEPT, DOMAIN_TRANSFER_ACCEPT_COMPLETED, DOMAIN_TRANSFER_CANCEL_REQUEST, DOMAIN_TRANSFER_CANCEL_REQUEST_COMPLETED, DOMAIN_TRANSFER_CANCEL_REQUEST_FAILED, DOMAIN_TRANSFER_CODE_REQUEST, DOMAIN_TRANSFER_CODE_REQUEST_COMPLETED, DOMAIN_TRANSFER_CODE_REQUEST_FAILED, DOMAIN_TRANSFER_DECLINE, DOMAIN_TRANSFER_DECLINE_COMPLETED, DOMAIN_TRANSFER_IPS_TAG_SAVE, DOMAIN_TRANSFER_UPDATE, DOMAIN_TRANSFER_UPDATE_LOCK, DOMAIN_WAPI_INFO_FETCH, DOMAIN_WAPI_INFO_FETCH_FAILURE, DOMAIN_WAPI_INFO_FETCH_SUCCESS, DOMAINS_DNS_ADD, DOMAINS_DNS_ADD_COMPLETED, DOMAINS_DNS_ADD_FAILED, DOMAINS_DNS_APPLY_TEMPLATE_COMPLETED, DOMAINS_DNS_DELETE, DOMAINS_DNS_DELETE_COMPLETED, DOMAINS_DNS_DELETE_FAILED, DOMAINS_DNS_FETCH, DOMAINS_DNS_FETCH_COMPLETED, DOMAINS_DNS_FETCH_FAILED, DOMAINS_DNS_UPDATE, DOMAINS_DNS_UPDATE_COMPLETED, DOMAINS_DNS_UPDATE_FAILED, DOMAINS_SITE_REDIRECT_FETCH, DOMAINS_SITE_REDIRECT_FETCH_COMPLETED, DOMAINS_SITE_REDIRECT_FETCH_FAILED, DOMAINS_SITE_REDIRECT_NOTICE_CLOSE, DOMAINS_SITE_REDIRECT_UPDATE, DOMAINS_SITE_REDIRECT_UPDATE_COMPLETED, DOMAINS_SITE_REDIRECT_UPDATE_FAILED, DOMAINS_SUGGESTIONS_RECEIVE, DOMAINS_SUGGESTIONS_REQUEST, DOMAINS_SUGGESTIONS_REQUEST_FAILURE, DOMAINS_SUGGESTIONS_REQUEST_SUCCESS, EDITOR_IFRAME_LOADED, EDITOR_TYPE_REQUEST, EDITOR_TYPE_SET, EMAIL_ACCOUNTS_REQUEST, EMAIL_ACCOUNTS_REQUEST_FAILURE, EMAIL_ACCOUNTS_REQUEST_SUCCESS, EMAIL_FORWARDING_REQUEST, EMAIL_FORWARDING_REQUEST_FAILURE, EMAIL_FORWARDING_REQUEST_SUCCESS, EXPORT_ADVANCED_SETTINGS_FETCH, EXPORT_ADVANCED_SETTINGS_FETCH_FAIL, EXPORT_ADVANCED_SETTINGS_RECEIVE, EXPORT_CLEAR, EXPORT_COMPLETE, EXPORT_FAILURE, EXPORT_MEDIA_REQUEST, EXPORT_POST_TYPE_FIELD_SET, EXPORT_POST_TYPE_SET, EXPORT_START_REQUEST, EXPORT_STARTED, EXPORT_STATUS_FETCH, GOOGLE_MY_BUSINESS_STATS_CHANGE_INTERVAL, GOOGLE_MY_BUSINESS_STATS_FAILURE, GOOGLE_MY_BUSINESS_STATS_RECEIVE, GOOGLE_MY_BUSINESS_STATS_REQUEST, GRAVATAR_RECEIVE_IMAGE_FAILURE, GRAVATAR_UPLOAD_RECEIVE, GRAVATAR_UPLOAD_REQUEST, GRAVATAR_UPLOAD_REQUEST_FAILURE, GRAVATAR_UPLOAD_REQUEST_SUCCESS, GSUITE_USERS_REQUEST, GSUITE_USERS_REQUEST_FAILURE, GSUITE_USERS_REQUEST_SUCCESS, GUIDED_TOUR_PAUSE, GUIDED_TOUR_RESUME, GUTENBERG_IFRAME_ELIGIBLE_SET, HELP_CONTACT_FORM_SITE_SELECT, HELP_TICKET_CONFIGURATION_REQUEST, HELP_TICKET_CONFIGURATION_REQUEST_FAILURE, HELP_TICKET_CONFIGURATION_REQUEST_SUCCESS, HOSTING_CLEAR_CACHE_REQUEST, HOSTING_PHP_VERSION_REQUEST, HOSTING_PHP_VERSION_SET, HOSTING_PHP_VERSION_SET_REQUEST, HOSTING_RESTORE_DATABASE_PASSWORD, HOSTING_SFTP_PASSWORD_RESET, HOSTING_SFTP_USER_CREATE, HOSTING_SFTP_USER_UPDATE, HOSTING_SFTP_USERS_REQUEST, HOSTING_SFTP_USERS_SET, HOSTING_STATIC_FILE_404_REQUEST, HOSTING_STATIC_FILE_404_SET, HOSTING_STATIC_FILE_404_SET_REQUEST, I18N_LANGUAGE_NAMES_ADD, I18N_LANGUAGE_NAMES_REQUEST, I18N_LOCALE_SUGGESTIONS_ADD, I18N_LOCALE_SUGGESTIONS_REQUEST, IMAGE_EDITOR_COMPUTED_CROP, IMAGE_EDITOR_CROP, IMAGE_EDITOR_FLIP, IMAGE_EDITOR_IMAGE_HAS_LOADED, IMAGE_EDITOR_ROTATE_COUNTERCLOCKWISE, IMAGE_EDITOR_SET_ASPECT_RATIO, IMAGE_EDITOR_SET_CROP_BOUNDS, IMAGE_EDITOR_SET_DEFAULT_ASPECT_RATIO, IMAGE_EDITOR_SET_FILE_INFO, IMAGE_EDITOR_STATE_RESET, IMAGE_EDITOR_STATE_RESET_ALL, IMMEDIATE_LOGIN_SAVE_INFO, IMPORTS_AUTHORS_SET_MAPPING, IMPORTS_AUTHORS_START_MAPPING, IMPORTS_IMPORT_CANCEL, IMPORTS_IMPORT_LOCK, IMPORTS_IMPORT_RECEIVE, IMPORTS_IMPORT_RESET, IMPORTS_IMPORT_START, IMPORTS_IMPORT_UNLOCK, IMPORTS_START_IMPORTING, IMPORTS_UPLOAD_COMPLETED, IMPORTS_UPLOAD_FAILED, IMPORTS_UPLOAD_SET_PROGRESS, IMPORTS_UPLOAD_START, INLINE_HELP_POPOVER_HIDE, INLINE_HELP_POPOVER_SHOW, INVITE_ACCEPTED, INVITE_RESEND_REQUEST, INVITE_RESEND_REQUEST_FAILURE, INVITE_RESEND_REQUEST_SUCCESS, INVITES_DELETE_REQUEST, INVITES_DELETE_REQUEST_FAILURE, INVITES_DELETE_REQUEST_SUCCESS, INVITES_REQUEST, INVITES_REQUEST_FAILURE, INVITES_REQUEST_SUCCESS, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_RECEIVE, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_REQUEST, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_REQUEST_FAILURE, JETPACK_CHECKOUT_UPDATE_SUPPORT_TICKET_REQUEST_SUCCESS, JETPACK_CONNECTION_STATUS_RECEIVE, JETPACK_CONNECTION_STATUS_REQUEST, JETPACK_CONNECTION_STATUS_REQUEST_FAILURE, JETPACK_CONNECTION_STATUS_REQUEST_SUCCESS, JETPACK_CREDENTIALS_AUTOCONFIGURE, JETPACK_CREDENTIALS_DELETE, JETPACK_CREDENTIALS_GET, JETPACK_CREDENTIALS_GET_FAILURE, JETPACK_CREDENTIALS_GET_SUCCESS, JETPACK_CREDENTIALS_STORE, JETPACK_CREDENTIALS_UPDATE, JETPACK_CREDENTIALS_UPDATE_FAILURE, JETPACK_CREDENTIALS_UPDATE_PROGRESS_START, JETPACK_CREDENTIALS_UPDATE_PROGRESS_UPDATE, JETPACK_CREDENTIALS_UPDATE_RESET, JETPACK_CREDENTIALS_UPDATE_SUCCESS, JETPACK_MODULE_ACTIVATE, JETPACK_MODULE_ACTIVATE_FAILURE, JETPACK_MODULE_ACTIVATE_SUCCESS, JETPACK_MODULE_DEACTIVATE, JETPACK_MODULE_DEACTIVATE_FAILURE, JETPACK_MODULE_DEACTIVATE_SUCCESS, JETPACK_MODULES_RECEIVE, JETPACK_MODULES_REQUEST, JETPACK_MODULES_REQUEST_FAILURE, JETPACK_MODULES_REQUEST_SUCCESS, JETPACK_PARTNER_PORTAL_LICENSE_COUNTS_RECEIVE, JETPACK_PARTNER_PORTAL_LICENSE_COUNTS_REQUEST, JETPACK_PARTNER_PORTAL_LICENSES_RECEIVE, JETPACK_PARTNER_PORTAL_LICENSES_REQUEST, JETPACK_PARTNER_PORTAL_OAUTH_TOKEN_SET, JETPACK_PARTNER_PORTAL_PARTNER_ACTIVE_PARTNER_KEY_UPDATE, JETPACK_PARTNER_PORTAL_PARTNER_RECEIVE, JETPACK_PARTNER_PORTAL_PARTNER_RECEIVE_ERROR, JETPACK_PARTNER_PORTAL_PARTNER_REQUEST, JETPACK_PRODUCT_INSTALL_REQUEST, JETPACK_PRODUCT_INSTALL_STATUS_RECEIVE, JETPACK_PRODUCT_INSTALL_STATUS_REQUEST, JETPACK_REMOTE_INSTALL, JETPACK_REMOTE_INSTALL_FAILURE, JETPACK_REMOTE_INSTALL_SUCCESS, JETPACK_SCAN_ENQUEUE_REQUEST, JETPACK_SCAN_ENQUEUE_REQUEST_FAILURE, JETPACK_SCAN_ENQUEUE_REQUEST_SUCCESS, JETPACK_SCAN_ENQUEUE_UPDATE, JETPACK_SCAN_HISTORY_REQUEST, JETPACK_SCAN_HISTORY_REQUEST_FAILURE, JETPACK_SCAN_HISTORY_REQUEST_SUCCESS, JETPACK_SCAN_HISTORY_UPDATE, JETPACK_SCAN_REQUEST, JETPACK_SCAN_REQUEST_FAILURE, JETPACK_SCAN_REQUEST_SUCCESS, JETPACK_SCAN_THREAT_COUNTS_REQUEST, JETPACK_SCAN_THREAT_COUNTS_REQUEST_FAILURE, JETPACK_SCAN_THREAT_COUNTS_REQUEST_SUCCESS, JETPACK_SCAN_THREAT_COUNTS_UPDATE, JETPACK_SCAN_THREAT_FIX, JETPACK_SCAN_THREAT_IGNORE, JETPACK_SCAN_THREATS_FIX_ALL, JETPACK_SCAN_THREATS_GET_FIX_STATUS, JETPACK_SCAN_UPDATE, JETPACK_SCAN_UPDATE_THREAT, JETPACK_SCAN_UPDATE_THREAT_COMPLETED, JETPACK_SETTINGS_REQUEST, JETPACK_SETTINGS_SAVE, JETPACK_SETTINGS_SAVE_SUCCESS, JETPACK_SETTINGS_UPDATE, JETPACK_SITE_ALERT_THREAT_FIX, JETPACK_SITE_ALERT_THREAT_IGNORE, JETPACK_SYNC_START_ERROR, JETPACK_SYNC_START_REQUEST, JETPACK_SYNC_START_SUCCESS, JETPACK_SYNC_STATUS_ERROR, JETPACK_SYNC_STATUS_REQUEST, JETPACK_SYNC_STATUS_SUCCESS, JETPACK_USER_CONNECTION_CHANGE_OWNER, JETPACK_USER_CONNECTION_DATA_RECEIVE, JETPACK_USER_CONNECTION_DATA_REQUEST, JETPACK_USER_CONNECTION_DATA_REQUEST_FAILURE, JETPACK_USER_CONNECTION_DATA_REQUEST_SUCCESS, JITM_DISMISS, JITM_FETCH, JITM_SET, KEYRING_CONNECTION_DELETE, KEYRING_CONNECTION_DELETE_FAILURE, KEYRING_CONNECTIONS_RECEIVE, KEYRING_CONNECTIONS_REQUEST, KEYRING_CONNECTIONS_REQUEST_FAILURE, KEYRING_CONNECTIONS_REQUEST_SUCCESS, KEYRING_SERVICES_RECEIVE, KEYRING_SERVICES_REQUEST, KEYRING_SERVICES_REQUEST_FAILURE, KEYRING_SERVICES_REQUEST_SUCCESS, LASAGNA_SOCKET_CONNECTED, LASAGNA_SOCKET_DISCONNECTED, LEGAL_REQUEST, LEGAL_SET, LOGIN_AUTH_ACCOUNT_TYPE_REQUEST, LOGIN_AUTH_ACCOUNT_TYPE_REQUEST_FAILURE, LOGIN_AUTH_ACCOUNT_TYPE_REQUEST_SUCCESS, LOGIN_AUTH_ACCOUNT_TYPE_REQUESTING, LOGIN_AUTH_ACCOUNT_TYPE_RESET, LOGIN_EMAIL_SEND, LOGIN_FORM_UPDATE, LOGIN_REQUEST, LOGIN_REQUEST_FAILURE, LOGIN_REQUEST_SUCCESS, MAGIC_LOGIN_HIDE_REQUEST_FORM, MAGIC_LOGIN_HIDE_REQUEST_NOTICE, MAGIC_LOGIN_REQUEST_AUTH_ERROR, MAGIC_LOGIN_REQUEST_AUTH_FETCH, MAGIC_LOGIN_REQUEST_AUTH_SUCCESS, MAGIC_LOGIN_REQUEST_LOGIN_EMAIL_ERROR, MAGIC_LOGIN_REQUEST_LOGIN_EMAIL_FETCH, MAGIC_LOGIN_REQUEST_LOGIN_EMAIL_SUCCESS, MAGIC_LOGIN_RESET_REQUEST_FORM, MAGIC_LOGIN_SHOW_CHECK_YOUR_EMAIL_PAGE, MAGIC_LOGIN_SHOW_INTERSTITIAL_PAGE, MAGIC_LOGIN_SHOW_LINK_EXPIRED, MAILCHIMP_LISTS_LIST, MAILCHIMP_LISTS_RECEIVE, MAILCHIMP_SETTINGS_LIST, MAILCHIMP_SETTINGS_RECEIVE, MAILCHIMP_SETTINGS_UPDATE, MAILCHIMP_SETTINGS_UPDATE_FAILURE, MAILCHIMP_SETTINGS_UPDATE_SUCCESS, MARKETING_CLICK_UPGRADE_NUDGE, MARKETING_JETPACK_SALE_COUPON_FETCH_FAILURE, MARKETING_JETPACK_SALE_COUPON_FETCH, MARKETING_JETPACK_SALE_COUPON_RECEIVE, MARKETPLACE_BILLING_INTERVAL_SELECT, MARKETPLACE_PLUGIN_INSTALLATION_STATE_CHANGE, MARKETPLACE_PRIMARY_DOMAIN_SELECT, MARKETPLACE_QUEUE_PRODUCT_INSTALL, MEDIA_CLEAR_SITE, MEDIA_ERRORS_CLEAR, MEDIA_ITEM_CREATE, MEDIA_ITEM_EDIT, MEDIA_ITEM_ERRORS_CLEAR, MEDIA_ITEM_ERRORS_SET, MEDIA_ITEM_REQUEST, MEDIA_ITEM_REQUEST_FAILURE, MEDIA_ITEM_REQUEST_SUCCESS, MEDIA_LIBRARY_SELECTED_ITEMS_UPDATE, MEDIA_RECEIVE, MEDIA_REQUEST, MEDIA_REQUEST_FAILURE, MEDIA_REQUEST_SUCCESS, MEDIA_SET_NEXT_PAGE_HANDLE, MEDIA_SET_QUERY, MEDIA_SOURCE_CHANGE, MEMBERSHIPS_EARNINGS_GET, MEMBERSHIPS_EARNINGS_RECEIVE, MEMBERSHIPS_PRODUCT_ADD, MEMBERSHIPS_PRODUCT_ADD_FAILURE, MEMBERSHIPS_PRODUCT_DELETE, MEMBERSHIPS_PRODUCT_DELETE_FAILURE, MEMBERSHIPS_PRODUCT_RECEIVE, MEMBERSHIPS_PRODUCT_UPDATE, MEMBERSHIPS_PRODUCT_UPDATE_FAILURE, MEMBERSHIPS_PRODUCTS_LIST, MEMBERSHIPS_PRODUCTS_RECEIVE, MEMBERSHIPS_SETTINGS, MEMBERSHIPS_SETTINGS_RECEIVE, MEMBERSHIPS_SUBSCRIBERS_LIST, MEMBERSHIPS_SUBSCRIBERS_RECEIVE, MEMBERSHIPS_SUBSCRIPTION_STOP, MEMBERSHIPS_SUBSCRIPTION_STOP_FAILURE, MEMBERSHIPS_SUBSCRIPTION_STOP_SUCCESS, MEMBERSHIPS_SUBSCRIPTIONS_LIST_REQUEST, MEMBERSHIPS_SUBSCRIPTIONS_RECEIVE, MY_SITES_SIDEBAR_SECTION_TOGGLE, MY_SITES_SIDEBAR_SECTIONS_COLLAPSE_ALL, NOTICE_CREATE, NOTICE_REMOVE, NOTIFICATION_SETTINGS_FETCH, NOTIFICATION_SETTINGS_FETCH_COMPLETE, NOTIFICATION_SETTINGS_FETCH_FAILED, NOTIFICATION_SETTINGS_REQUEST, NOTIFICATION_SETTINGS_SAVE, NOTIFICATION_SETTINGS_SAVE_COMPLETE, NOTIFICATION_SETTINGS_SAVE_FAILED, NOTIFICATION_SETTINGS_TOGGLE_SETTING, NOTIFICATION_SETTINGS_UPDATE, NOTIFICATIONS_FORCE_REFRESH, NOTIFICATIONS_UNSEEN_COUNT_SET, OAUTH2_CLIENT_DATA_RECEIVE, ORDER_TRANSACTION_FETCH, ORDER_TRANSACTION_FETCH_ERROR, ORDER_TRANSACTION_SET, P2_CONNECTION_DELETE, P2_CONNECTION_DELETE_FAILURE, P2_CONNECTIONS_RECEIVE, P2_CONNECTIONS_REQUEST, P2_CONNECTIONS_REQUEST_FAILURE, P2_CONNECTIONS_REQUEST_SUCCESS, PLANS_RECEIVE, PLANS_REQUEST, PLANS_REQUEST_FAILURE, PLANS_REQUEST_SUCCESS, PLUGIN_ACTIVATE_REQUEST, PLUGIN_ACTIVATE_REQUEST_FAILURE, PLUGIN_ACTIVATE_REQUEST_SUCCESS, PLUGIN_AUTOUPDATE_DISABLE_REQUEST, PLUGIN_AUTOUPDATE_DISABLE_REQUEST_FAILURE, PLUGIN_AUTOUPDATE_DISABLE_REQUEST_SUCCESS, PLUGIN_AUTOUPDATE_ENABLE_REQUEST, PLUGIN_AUTOUPDATE_ENABLE_REQUEST_FAILURE, PLUGIN_AUTOUPDATE_ENABLE_REQUEST_SUCCESS, PLUGIN_DEACTIVATE_REQUEST, PLUGIN_DEACTIVATE_REQUEST_FAILURE, PLUGIN_DEACTIVATE_REQUEST_SUCCESS, PLUGIN_INSTALL_REQUEST, PLUGIN_INSTALL_REQUEST_FAILURE, PLUGIN_INSTALL_REQUEST_SUCCESS, PLUGIN_NOTICES_REMOVE, PLUGIN_REMOVE_REQUEST, PLUGIN_REMOVE_REQUEST_FAILURE, PLUGIN_REMOVE_REQUEST_SUCCESS, PLUGIN_SETUP_ACTIVATE, PLUGIN_SETUP_CONFIGURE, PLUGIN_SETUP_ERROR, PLUGIN_SETUP_FINISH, PLUGIN_SETUP_INSTALL, PLUGIN_SETUP_INSTRUCTIONS_FETCH, PLUGIN_SETUP_INSTRUCTIONS_RECEIVE, PLUGIN_UPDATE_REQUEST, PLUGIN_UPDATE_REQUEST_FAILURE, PLUGIN_UPDATE_REQUEST_SUCCESS, PLUGIN_UPLOAD, PLUGIN_UPLOAD_CLEAR, PLUGIN_UPLOAD_COMPLETE, PLUGIN_UPLOAD_ERROR, PLUGIN_UPLOAD_PROGRESS, PLUGINS_RECEIVE, PLUGINS_REQUEST, PLUGINS_REQUEST_FAILURE, PLUGINS_REQUEST_SUCCESS, PLUGINS_WPORG_LIST_RECEIVE, PLUGINS_WPORG_LIST_REQUEST, PLUGINS_WPORG_PLUGIN_RECEIVE, PLUGINS_WPORG_PLUGIN_REQUEST, POST_RESTORE_SUCCESS, POST_REVISIONS_AUTHORS_REQUEST, POST_REVISIONS_REQUEST, POST_SAVE_FAILURE, POST_STATS_RECEIVE, POST_STATS_REQUEST, POST_STATS_REQUEST_FAILURE, POST_STATS_REQUEST_SUCCESS, POST_TYPES_RECEIVE, POST_TYPES_REQUEST, POST_TYPES_TAXONOMIES_RECEIVE, POST_TYPES_TAXONOMIES_REQUEST, POST_TYPES_TAXONOMIES_REQUEST_FAILURE, POST_TYPES_TAXONOMIES_REQUEST_SUCCESS, PRODUCTS_LIST_RECEIVE, PRODUCTS_LIST_REQUEST, PRODUCTS_LIST_REQUEST_FAILURE, PUBLICIZE_CONNECTION_CREATE, PUBLICIZE_CONNECTION_CREATE_FAILURE, PUBLICIZE_CONNECTION_DELETE, PUBLICIZE_CONNECTION_DELETE_FAILURE, PUBLICIZE_CONNECTION_RECEIVE, PUBLICIZE_CONNECTION_UPDATE, PUBLICIZE_CONNECTION_UPDATE_FAILURE, PUBLICIZE_CONNECTIONS_RECEIVE, PUBLICIZE_CONNECTIONS_REQUEST, PUBLICIZE_CONNECTIONS_REQUEST_FAILURE, PUBLICIZE_CONNECTIONS_REQUEST_SUCCESS, PUBLICIZE_SHARE, PUBLICIZE_SHARE_ACTION_DELETE, PUBLICIZE_SHARE_ACTION_DELETE_FAILURE, PUBLICIZE_SHARE_ACTION_DELETE_SUCCESS, PUBLICIZE_SHARE_ACTION_SCHEDULE, PUBLICIZE_SHARE_ACTION_SCHEDULE_FAILURE, PUBLICIZE_SHARE_ACTION_SCHEDULE_SUCCESS, PUBLICIZE_SHARE_ACTIONS_PUBLISHED_REQUEST, PUBLICIZE_SHARE_ACTIONS_PUBLISHED_REQUEST_FAILURE, PUBLICIZE_SHARE_ACTIONS_PUBLISHED_REQUEST_SUCCESS, PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST, PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST_FAILURE, PUBLICIZE_SHARE_ACTIONS_SCHEDULED_REQUEST_SUCCESS, PUBLICIZE_SHARE_DISMISS, PUBLICIZE_SHARE_FAILURE, PUBLICIZE_SHARE_SUCCESS, PURCHASE_CANCELLATION_OFFER_REQUEST, PURCHASE_CANCELLATION_OFFER_REQUEST_FAILURE, PURCHASE_CANCELLATION_OFFER_RECEIVE, PURCHASE_CANCELLATION_OFFER_APPLY, PURCHASE_CANCELLATION_OFFER_APPLY_SUCCESS, PURCHASE_CANCELLATION_OFFER_APPLY_FAILURE, PUSH_NOTIFICATIONS_API_NOT_READY, PUSH_NOTIFICATIONS_API_READY, PUSH_NOTIFICATIONS_AUTHORIZE, PUSH_NOTIFICATIONS_BLOCK, PUSH_NOTIFICATIONS_MUST_PROMPT, PUSH_NOTIFICATIONS_RECEIVE_REGISTER_DEVICE, PUSH_NOTIFICATIONS_RECEIVE_UNREGISTER_DEVICE, PUSH_NOTIFICATIONS_TOGGLE_ENABLED, PUSH_NOTIFICATIONS_TOGGLE_UNBLOCK_INSTRUCTIONS, RECEIPT_FETCH, RECEIPT_FETCH_COMPLETED, RECEIPT_FETCH_FAILED, REWIND_ACTIVATE_FAILURE, REWIND_ACTIVATE_REQUEST, REWIND_ACTIVATE_SUCCESS, REWIND_ACTIVITY_SHARE_REQUEST, REWIND_BACKUP, REWIND_BACKUP_DISMISS, REWIND_BACKUP_DISMISS_PROGRESS, REWIND_BACKUP_PROGRESS_REQUEST, REWIND_BACKUP_REQUEST, REWIND_BACKUP_SITE, REWIND_BACKUP_UPDATE_ERROR, REWIND_BACKUP_UPDATE_PROGRESS, REWIND_BACKUPS_REQUEST, REWIND_BACKUPS_SET, REWIND_CAPABILITIES_REQUEST, REWIND_CAPABILITIES_UPDATE, REWIND_CLONE, REWIND_DEACTIVATE_FAILURE, REWIND_DEACTIVATE_REQUEST, REWIND_DEACTIVATE_SUCCESS, REWIND_POLICIES_REQUEST, REWIND_POLICIES_REQUEST_FAILURE, REWIND_POLICIES_REQUEST_SUCCESS, REWIND_POLICIES_SET, REWIND_RESTORE, REWIND_RESTORE_DISMISS, REWIND_RESTORE_DISMISS_PROGRESS, REWIND_RESTORE_PROGRESS_REQUEST, REWIND_RESTORE_REQUEST, REWIND_RESTORE_UPDATE_PROGRESS, REWIND_SIZE_REQUEST, REWIND_SIZE_REQUEST_FAILURE, REWIND_SIZE_REQUEST_SUCCESS, REWIND_SIZE_SET, REWIND_STATE_REQUEST, REWIND_STATE_UPDATE, ROUTE_CLEAR_LAST_NON_EDITOR, SET_MEDIA_EXPORT_DATA, SIGNUP_COMPLETE_RESET, SIGNUP_CURRENT_FLOW_NAME_SET, SIGNUP_DEPENDENCY_STORE_REMOVE_SITE_SLUG, SIGNUP_DEPENDENCY_STORE_UPDATE, SIGNUP_OPTIONAL_DEPENDENCY_SUGGESTED_USERNAME_SET, SIGNUP_PREVIOUS_FLOW_NAME_SET, SIGNUP_FLOW_ADD_EXCLUDED_STEPS, SIGNUP_FLOW_REMOVE_EXCLUDED_STEPS, SIGNUP_FLOW_RESET_EXCLUDED_STEPS, SIGNUP_PROGRESS_ADD_STEP, SIGNUP_PROGRESS_COMPLETE_STEP, SIGNUP_PROGRESS_INVALIDATE_STEP, SIGNUP_PROGRESS_PROCESS_STEP, SIGNUP_PROGRESS_REMOVE_STEP, SIGNUP_PROGRESS_SAVE_STEP, SIGNUP_PROGRESS_SUBMIT_STEP, SIGNUP_STEPS_DESIGN_TYPE_SET, SIGNUP_STEPS_SITE_GOALS_SET, SIGNUP_STEPS_SITE_TITLE_SET, SIGNUP_STEPS_SITE_TYPE_SET, SIGNUP_STEPS_SITE_VERTICAL_SET, SIGNUP_STEPS_SITE_INFO_COLLECTION_UPDATE, SIGNUP_STEPS_SITE_INFO_UPDATE_CURRENT_INDEX, SIGNUP_STEPS_WEBSITE_CONTENT_INITIALIZE_PAGES, SIGNUP_STEPS_WEBSITE_CONTENT_UPDATE_CURRENT_INDEX, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_UPLOAD_STARTED, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_UPLOAD_COMPLETED, SIGNUP_STEPS_WEBSITE_FIELD_CHANGED, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_UPLOAD_FAILED, SIGNUP_STEPS_WEBSITE_CONTENT_IMAGE_REMOVED, SIGNUP_STEPS_WEBSITE_CONTENT_LOGO_UPLOAD_STARTED, SIGNUP_STEPS_WEBSITE_CONTENT_LOGO_UPLOAD_COMPLETED, SIGNUP_STEPS_WEBSITE_CONTENT_LOGO_UPLOAD_FAILED, SIGNUP_STEPS_SOCIAL_PROFILES_UPDATE, SIGNUP_STEPS_SOCIAL_PROFILES_RESET, SIGNUP_STEPS_WEBSITE_CONTENT_REMOVE_LOGO_URL, SIGNUP_STEPS_USER_EXPERIENCE_SET, SITE_ADDRESS_AVAILABILITY_ERROR, SITE_ADDRESS_AVAILABILITY_ERROR_CLEAR, SITE_ADDRESS_AVAILABILITY_REQUEST, SITE_ADDRESS_AVAILABILITY_SUCCESS, SITE_ADDRESS_CHANGE_REQUEST, SITE_ADDRESS_CHANGE_REQUEST_FAILURE, SITE_ADDRESS_CHANGE_REQUEST_SUCCESS, SITE_CHECKLIST_RECEIVE, SITE_CHECKLIST_REQUEST, SITE_CHECKLIST_TASK_UPDATE, SITE_IMPORTER_IMPORT_FAILURE, SITE_IMPORTER_IMPORT_RESET, SITE_IMPORTER_IMPORT_START, SITE_IMPORTER_IMPORT_SUCCESS, SITE_IMPORTER_IS_SITE_IMPORTABLE_FAILURE, SITE_IMPORTER_IS_SITE_IMPORTABLE_START, SITE_IMPORTER_IS_SITE_IMPORTABLE_SUCCESS, SITE_IMPORTER_VALIDATION_ERROR_SET, SITE_KEYRINGS_DELETE, SITE_KEYRINGS_DELETE_FAILURE, SITE_KEYRINGS_DELETE_SUCCESS, SITE_KEYRINGS_REQUEST, SITE_KEYRINGS_REQUEST_FAILURE, SITE_KEYRINGS_REQUEST_SUCCESS, SITE_KEYRINGS_SAVE_SUCCESS, SITE_KEYRINGS_UPDATE, SITE_KEYRINGS_UPDATE_FAILURE, SITE_KEYRINGS_UPDATE_SUCCESS, SITE_LAUNCH, SITE_PLAN_OWNERSHIP_TRANSFER, SITE_SETTINGS_REQUEST, SITE_SETTINGS_REQUEST_FAILURE, SITE_SETTINGS_REQUEST_SUCCESS, SITE_SETTINGS_SAVE, SITE_SETTINGS_SAVE_FAILURE, SITE_SETTINGS_SAVE_SUCCESS, SITE_STATS_RECEIVE, SITE_STATS_REQUEST, SITE_STATS_REQUEST_FAILURE, SOCIAL_CONNECT_ACCOUNT_REQUEST, SOCIAL_CONNECT_ACCOUNT_REQUEST_FAILURE, SOCIAL_CONNECT_ACCOUNT_REQUEST_SUCCESS, SOCIAL_CREATE_ACCOUNT_REQUEST_FAILURE, SOCIAL_HANDOFF_CONNECT_ACCOUNT, SOCIAL_DISCONNECT_ACCOUNT_REQUEST, SOCIAL_DISCONNECT_ACCOUNT_REQUEST_FAILURE, SOCIAL_DISCONNECT_ACCOUNT_REQUEST_SUCCESS, SOCIAL_LOGIN_REQUEST, SOCIAL_LOGIN_REQUEST_FAILURE, SOCIAL_LOGIN_REQUEST_SUCCESS, STATS_CHART_COUNTS_RECEIVE, STATS_CHART_COUNTS_REQUEST, STATS_RECENT_POST_VIEWS_RECEIVE, STATS_RECENT_POST_VIEWS_REQUEST, STORED_CARDS_ADD_COMPLETED, STORED_CARDS_DELETE, STORED_CARDS_DELETE_COMPLETED, STORED_CARDS_DELETE_FAILED, STORED_CARDS_UPDATE_IS_PRIMARY_COMPLETED, STORED_CARDS_UPDATE_IS_BACKUP_COMPLETED, STORED_CARDS_FETCH, STORED_CARDS_FETCH_COMPLETED, STORED_CARDS_FETCH_FAILED, SUPPORT_ARTICLE_DIALOG_CLOSE, SUPPORT_ARTICLE_DIALOG_OPEN, SUPPORT_SESSION_TRANSITION, TERM_REMOVE, TERMS_RECEIVE, TERMS_REQUEST, TERMS_REQUEST_FAILURE, TERMS_REQUEST_SUCCESS, TIMEZONES_RECEIVE, TIMEZONES_REQUEST, TOS_ACCEPT, TWO_FACTOR_AUTHENTICATION_LOGIN_REQUEST, TWO_FACTOR_AUTHENTICATION_LOGIN_REQUEST_FAILURE, TWO_FACTOR_AUTHENTICATION_LOGIN_REQUEST_SUCCESS, TWO_FACTOR_AUTHENTICATION_SEND_SMS_CODE_REQUEST, TWO_FACTOR_AUTHENTICATION_SEND_SMS_CODE_REQUEST_FAILURE, TWO_FACTOR_AUTHENTICATION_SEND_SMS_CODE_REQUEST_SUCCESS, TWO_FACTOR_AUTHENTICATION_UPDATE_NONCE, URL_ANALYZER_ANALYZE, URL_ANALYZER_ANALYZE_DONE, URL_ANALYZER_ANALYZE_SUCCESS, URL_ANALYZER_ANALYZE_ERROR, URL_ANALYZER_RESET_ERROR, URL_ANALYZER_URL_DATA_UPDATE, USER_LICENSES_RECEIVE, USER_LICENSES_REQUEST, USER_LICENSES_REQUEST_SUCCESS, USER_LICENSES_REQUEST_FAILURE, USER_LICENSES_COUNTS_RECEIVE, USER_LICENSES_COUNTS_REQUEST, USER_LICENSES_COUNTS_REQUEST_SUCCESS, USER_LICENSES_COUNTS_REQUEST_FAILURE, USER_PROFILE_LINKS_ADD, USER_PROFILE_LINKS_ADD_DUPLICATE, USER_PROFILE_LINKS_ADD_FAILURE, USER_PROFILE_LINKS_ADD_MALFORMED, USER_PROFILE_LINKS_ADD_SUCCESS, USER_PROFILE_LINKS_DELETE, USER_PROFILE_LINKS_DELETE_FAILURE, USER_PROFILE_LINKS_DELETE_SUCCESS, USER_PROFILE_LINKS_RECEIVE, USER_PROFILE_LINKS_REQUEST, USER_PROFILE_LINKS_RESET_ERRORS, USER_SETTINGS_REQUEST, USER_SETTINGS_REQUEST_FAILURE, USER_SETTINGS_REQUEST_SUCCESS, USER_SETTINGS_SAVE, USER_SETTINGS_SAVE_FAILURE, USER_SETTINGS_SAVE_SUCCESS, USER_SETTINGS_UNSAVED_CLEAR, USER_SETTINGS_UNSAVED_REMOVE, USER_SETTINGS_UNSAVED_SET, USER_SUGGESTIONS_RECEIVE, USER_SUGGESTIONS_REQUEST, USER_SUGGESTIONS_REQUEST_FAILURE, USER_SUGGESTIONS_REQUEST_SUCCESS, VIDEO_EDITOR_SET_POSTER_URL, VIDEO_EDITOR_SHOW_ERROR, VIDEO_EDITOR_SHOW_UPLOAD_PROGRESS, VIDEO_EDITOR_UPDATE_POSTER, VIDEO_EDITOR_REFRESH_POSTER, WORDADS_EARNINGS_RECEIVE, WORDADS_EARNINGS_REQUEST, WORDADS_SETTINGS_RECEIVE, WORDADS_SETTINGS_REQUEST, WORDADS_SETTINGS_SAVE, WORDADS_SETTINGS_SAVE_FAILURE, WORDADS_SETTINGS_SAVE_SUCCESS, WORDADS_SETTINGS_UPDATE, WORDADS_PAYMENTS_RECEIVE, WORDADS_PAYMENTS_REQUEST, WORDADS_SITE_APPROVE_REQUEST, WORDADS_SITE_APPROVE_REQUEST_DISMISS_ERROR, WORDADS_SITE_APPROVE_REQUEST_DISMISS_SUCCESS, WORDADS_SITE_APPROVE_REQUEST_FAILURE, WORDADS_STATUS_RECEIVE, WORDADS_STATUS_REQUEST */
|
39863 |
/**
|
39864 |
* Any new action type should be added to the set of exports below, with the
|
39865 |
* value mirroring its exported name.
|
40538 |
const PUBLICIZE_SHARE_DISMISS = 'PUBLICIZE_SHARE_DISMISS';
|
40539 |
const PUBLICIZE_SHARE_FAILURE = 'PUBLICIZE_SHARE_FAILURE';
|
40540 |
const PUBLICIZE_SHARE_SUCCESS = 'PUBLICIZE_SHARE_SUCCESS';
|
40541 |
+
const PURCHASE_CANCELLATION_OFFER_REQUEST = 'PURCHASE_CANCELLATION_OFFER_REQUEST';
|
40542 |
+
const PURCHASE_CANCELLATION_OFFER_REQUEST_FAILURE = 'PURCHASE_CANCELLATION_OFFER_REQUEST_FAILURE';
|
40543 |
+
const PURCHASE_CANCELLATION_OFFER_RECEIVE = 'PURCHASE_CANCELLATION_OFFER_RECEIVE';
|
40544 |
+
const PURCHASE_CANCELLATION_OFFER_APPLY = 'PURCHASE_CANCELLATION_OFFER_APPLY';
|
40545 |
+
const PURCHASE_CANCELLATION_OFFER_APPLY_SUCCESS = 'PURCHASE_CANCELLATION_OFFER_APPLY_SUCCESS';
|
40546 |
+
const PURCHASE_CANCELLATION_OFFER_APPLY_FAILURE = 'PURCHASE_CANCELLATION_OFFER_APPLY_FAILURE';
|
40547 |
const PURCHASE_REMOVE_COMPLETED = 'PURCHASE_REMOVE_COMPLETED';
|
40548 |
const PURCHASE_REMOVE_FAILED = 'PURCHASE_REMOVE_FAILED';
|
40549 |
const PURCHASES_REMOVE = 'PURCHASES_REMOVE';
|
40628 |
const SIGNUP_STEPS_SITE_GOALS_SET = 'SIGNUP_STEPS_SITE_GOALS_SET';
|
40629 |
const SIGNUP_STEPS_SITE_TITLE_SET = 'SIGNUP_STEPS_SITE_TITLE_SET';
|
40630 |
const SIGNUP_STEPS_SITE_TYPE_SET = 'SIGNUP_STEPS_SITE_TYPE_SET';
|
40631 |
+
const SIGNUP_STEPS_SITE_VERTICAL_SET = 'SIGNUP_STEPS_SITE_VERTICAL_SET'; // Signup DIFM Actions
|
|
|
40632 |
|
40633 |
const SIGNUP_STEPS_SITE_INFO_COLLECTION_UPDATE = 'SIGNUP_STEPS_SITE_INFO_COLLECTION_UPDATE';
|
40634 |
const SIGNUP_STEPS_SITE_INFO_UPDATE_CURRENT_INDEX = 'SIGNUP_STEPS_SITE_INFO_UPDATE_CURRENT_INDEX';
|
40646 |
const SIGNUP_STEPS_SOCIAL_PROFILES_RESET = 'SIGNUP_STEPS_SOCIAL_PROFILES_RESET';
|
40647 |
const SIGNUP_STEPS_WEBSITE_CONTENT_REMOVE_LOGO_URL = 'SIGNUP_STEPS_WEBSITE_CONTENT_REMOVE_LOGO_URL';
|
40648 |
const SIGNUP_STEPS_USER_EXPERIENCE_SET = 'SIGNUP_STEPS_USER_EXPERIENCE_SET';
|
|
|
|
|
40649 |
const SITE_ADDRESS_AVAILABILITY_ERROR = 'SITE_ADDRESS_AVAILABILITY_ERROR';
|
40650 |
const SITE_ADDRESS_AVAILABILITY_ERROR_CLEAR = 'SITE_ADDRESS_AVAILABILITY_ERROR_CLEAR';
|
40651 |
const SITE_ADDRESS_AVAILABILITY_REQUEST = 'SITE_ADDRESS_AVAILABILITY_REQUEST';
|
41834 |
* @property {object} [onFailure] Redux action to call when request fails
|
41835 |
* @property {object} [onProgress] Redux action to call on progress events from an upload
|
41836 |
* @property {object} [onStreamRecord] callback for each record of a streamed response
|
41837 |
+
* @property {object} [retryPolicy] how to handle retries on request failure
|
41838 |
* @property {object} [options] extra options to send to the middleware, e.g. retry policy or offline policy
|
41839 |
*/
|
41840 |
|
54007 |
*
|
54008 |
* @module config/index
|
54009 |
*/
|
54010 |
+
if ('undefined' === typeof window) {
|
54011 |
+
throw new Error('Trying to initialize the configuration outside of a browser context.');
|
54012 |
+
}
|
54013 |
+
|
54014 |
+
if (!window.configData) {
|
54015 |
+
if (false) {}
|
54016 |
+
|
54017 |
+
window.configData = {};
|
54018 |
}
|
54019 |
|
54020 |
const isDesktop = window.electron !== undefined;
|
help-center/dist/help-center.min.js
CHANGED
@@ -40,7 +40,7 @@ object-assign
|
|
40 |
*
|
41 |
* This source code is licensed under the MIT license found in the
|
42 |
* LICENSE file in the root directory of this source tree.
|
43 |
-
*/function _(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 s:case d:return e;default:switch(e=e&&e.$$typeof){case c:case p:case m:case g:case u:return e;default:return t}}case o:return t}}}function E(e){return _(e)===f}},14971:function(e,t,n){"use strict";n(86141)},29175:function(e,t,n){"use strict";n.d(t,{VA:function(){return v},AW:function(){return E},F0:function(){return y},rs:function(){return A},s6:function(){return m},LX:function(){return _},k6:function(){return R},TH:function(){return O}});var r=n(81665),o=n(99196),i=n.n(o),s=n(95878),a=n(81549),u=n(61898),c=n(7896),l=n(20099),f=n.n(l),p=(n(14971),n(31461)),d=(n(73463),function(e){var t=(0,a.Z)();return t.displayName=e,t}),h=d("Router-History"),g=function(e){var t=(0,a.Z)();return t.displayName=e,t},m=g("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 i().createElement(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component);var v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i().createElement(y,{history:this.history,children:this.props.children})},t}(i().Component);i().Component;var b={},w=0;function _(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,s=n.strict,a=void 0!==s&&s,u=n.sensitive,c=void 0!==u&&u;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=b[n]||(b[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return w<1e4&&(r[e]=i,w++),i}(n,{end:i,strict:a,sensitive:c}),o=r.regexp,s=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],p=u.slice(1),d=e===l;return i&&!d?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:d,params:s.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?_(n.pathname,e.props):t.match,o=(0,c.Z)({},t,{location:n,match:r}),s=e.props,a=s.children,l=s.component,f=s.render;return Array.isArray(a)&&0===a.length&&(a=null),i().createElement(m.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:l?i().createElement(l,o):f?f(o):null:"function"==typeof a?a(o):null)}))},t}(i().Component);function S(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=S(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function P(e){return"string"==typeof e?e:(0,s.Ep)(e)}function k(e){return function(){(0,u.Z)(!1)}}function I(){}i().Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,o=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==r&&i().isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?_(o.pathname,(0,c.Z)({},e.props,{path:s})):t.match}})),r?i().cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i().Component);var T=i().useContext;function R(){return T(h)}function O(){return T(m).location}},43292: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},18717:function(e,t,n){"use strict";n.d(t,{md:function(){return p},UY:function(){return l},qC:function(){return f},MT:function(){return c}});var r=n(33028);function o(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 i="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function u(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 c(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(c)(e,t)}if("function"!=typeof e)throw new Error(o(2));var s=e,l=t,f=[],p=f,d=!1;function h(){p===f&&(p=f.slice())}function g(){if(d)throw new Error(o(3));return l}function m(e){if("function"!=typeof e)throw new Error(o(4));if(d)throw new Error(o(5));var t=!0;return h(),p.push(e),function(){if(t){if(d)throw new Error(o(6));t=!1,h();var n=p.indexOf(e);p.splice(n,1),f=null}}}function y(e){if(!u(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(d)throw new Error(o(9));try{d=!0,l=s(l,e)}finally{d=!1}for(var t=f=p,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error(o(10));s=e,y({type:a.REPLACE})}function b(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e}return y({type:a.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:v})[i]=b,r}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 s,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){s=c}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],l=n[c],f=e[c],p=l(f,t);if(void 0===p){t&&t.type;throw new Error(o(14))}i[c]=p,r=r||p!==f}return(r=r||u.length!==Object.keys(e).length)?i: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 p(){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),i=function(){throw new Error(o(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},a=t.map((function(e){return e(s)}));return i=f.apply(void 0,a)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},57245: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}},57613:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var o,i=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&n(e),u=t&&n(t),c=a||u;if(e&&n(e)?s=i:i.length&&(s.pop(),s=s.concat(i)),!s.length)return"/";if(s.length){var l=s[s.length-1];o="."===l||".."===l||""===l}else o=!1;for(var f=0,p=s.length;p>=0;p--){var d=s[p];"."===d?r(s,p):".."===d?(r(s,p),f++):f&&(r(s,p),f--)}if(!c)for(;f--;f)s.unshift("..");!c||""===s[0]||s[0]&&n(s[0])||s.unshift("");var h=s.join("/");return o&&"/"!==h.substr(-1)&&(h+="/"),h}},10547:function(e){"use strict";var t=256,n=[],r=window,o=Math.pow(t,6),i=Math.pow(2,52),s=2*i,a=255,u=Math.random;function c(e){var n,r=e.length,o=this,i=0,s=o.i=o.j=0,u=o.S=[];for(r||(e=[r++]);i<t;)u[i]=i++;for(i=0;i<t;i++)u[i]=u[s=a&s+e[i%r]+(n=u[i])],u[s]=n;(o.g=function(e){for(var n,r=0,i=o.i,s=o.j,u=o.S;e--;)n=u[i=a&i+1],r=r*t+u[a&(u[i]=u[s=a&s+n])+(u[s]=n)];return o.i=i,o.j=s,r})(t)}function l(e,t){var n,r=[],o=(typeof e)[0];if(t&&"o"==o)for(n in e)try{r.push(l(e[n],t-1))}catch(i){}return r.length?r:"s"==o?e:e+"\0"}function f(e,t){for(var n,r=e+"",o=0;o<r.length;)t[a&o]=a&(n^=19*t[a&o])+r.charCodeAt(o++);return d(t)}function p(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),d(e)}catch(o){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,d(n)]}}function d(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,a){if(a&&!0===a.global)return a.global=!1,Math.random=e.exports(r,a),a.global=!0,Math.random;var u=a&&a.entropy||!1,h=[],g=(f(l(u?[r,d(n)]:0 in arguments?r:p(),3),h),new c(h));return f(d(g.S),n),function(){for(var e=g.g(6),n=o,r=0;e<i;)e=(e+r)*t,n*=t,r=g.g(1);for(;e>=s;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=u},f(Math.random(),n)},74294:function(e,t,n){"use strict";var r=n(67286),o=n(62680),i=n(99500),s=r("%TypeError%"),a=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return p(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),l(e,r,o)):u?(t||(t=new u),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},17768:function(e,t,n){var r=n(58749),o=n(87170),i=n(39431),s=n(31035)("socket.io-client");e.exports=t=u;var a=t.managers={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),u=o.source,c=o.id,l=o.path,f=a[c]&&l in a[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||f?(s("ignoring socket cache for %s",u),n=i(u,t)):(a[c]||(s("new io instance for %s",u),a[c]=i(u,t)),n=a[c]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=u,t.Manager=n(39431),t.Socket=n(72243)},39431:function(e,t,n){var r=n(44065),o=n(72243),i=n(8023),s=n(87170),a=n(93073),u=n(42150),c=n(31035)("socket.io-client:manager"),l=n(92543),f=n(87911),p=Object.prototype.hasOwnProperty;function d(e,t){if(!(this instanceof d))return new d(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new f({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=d,d.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)p.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},d.prototype.updateSocketIds=function(){for(var e in this.nsps)p.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},d.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},i(d.prototype),d.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},d.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},d.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},d.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},d.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},d.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},d.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},d.prototype.open=d.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=a(n,"open",(function(){o.onopen(),e&&e()})),s=a(n,"error",(function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var u=this._timeout;c("connect attempt will timeout after %d",u);var l=setTimeout((function(){c("connect attempt timed out after %d",u),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",u)}),u);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(i),this.subs.push(s),this},d.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",u(this,"ondata"))),this.subs.push(a(e,"ping",u(this,"onping"))),this.subs.push(a(e,"pong",u(this,"onpong"))),this.subs.push(a(e,"error",u(this,"onerror"))),this.subs.push(a(e,"close",u(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",u(this,"ondecoded")))},d.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},d.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},d.prototype.ondata=function(e){this.decoder.add(e)},d.prototype.ondecoded=function(e){this.emit("packet",e)},d.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},d.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(e)})),this.autoConnect&&i()}function i(){~l(r.connecting,n)||r.connecting.push(n)}return n},d.prototype.destroy=function(e){var t=l(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},d.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},d.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},d.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},d.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},d.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},93073:function(e){e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},72243:function(e,t,n){var r=n(87170),o=n(8023),i=n(81396),s=n(93073),a=n(42150),u=n(31035)("socket.io-client:socket"),c=n(54355),l=n(54632);e.exports=d;var f={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=o.prototype.emit;function d(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[s(e,"open",a(this,"onopen")),s(e,"packet",a(this,"onpacket")),s(e,"close",a(this,"onclose"))]}},d.prototype.open=d.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},d.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},d.prototype.emit=function(e){if(f.hasOwnProperty(e))return p.apply(this,arguments),this;var t=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:l(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(u("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},d.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},d.prototype.onopen=function(){if(u("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;u("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},d.prototype.onclose=function(e){u("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},d.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===r.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},d.prototype.onevent=function(e){var t=e.data||[];u("emitting event %j",t),null!=e.id&&(u("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?p.apply(this,t):this.receiveBuffer.push(t)},d.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);u("sending ack %j",o),t.packet({type:l(o)?r.BINARY_ACK:r.ACK,id:e,data:o})}}},d.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(u("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):u("bad ack %s",e.id)},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},d.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)p.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},d.prototype.ondisconnect=function(){u("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},d.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},d.prototype.close=d.prototype.disconnect=function(){return this.connected&&(u("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},d.prototype.compress=function(e){return this.flags.compress=e,this},d.prototype.binary=function(e){return this.flags.binary=e,this}},58749:function(e,t,n){var r=n(14243),o=n(31035)("socket.io-client:url");e.exports=function(e,t){var n=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),n=r(e));n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443"));n.path=n.path||"/";var i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port,n.href=n.protocol+"://"+i+(t&&t.port===n.port?"":":"+n.port),n}},8023:function(e){function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},54146:function(e,t,n){var r=n(81708),o=n(24787),i=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function u(e,t){if(!e)return e;if(o(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(r(e)){for(var i=new Array(e.length),s=0;s<e.length;s++)i[s]=u(e[s],t);return i}if("object"==typeof e&&!(e instanceof Date)){i={};for(var a in e)i[a]=u(e[a],t);return i}return e}function c(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(r(e))for(var n=0;n<e.length;n++)e[n]=c(e[n],t);else if("object"==typeof e)for(var o in e)e[o]=c(e[o],t);return e}t.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=u(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=c(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,i=e;!function e(u,c,l){if(!u)return u;if(s&&u instanceof Blob||a&&u instanceof File){n++;var f=new FileReader;f.onload=function(){l?l[c]=this.result:i=this.result,--n||t(i)},f.readAsArrayBuffer(u)}else if(r(u))for(var p=0;p<u.length;p++)e(u[p],p,u);else if("object"==typeof u&&!o(u))for(var d in u)e(u[d],d,u)}(i),n||t(i)}},87170:function(e,t,n){var r=n(40744)("socket.io-parser"),o=n(2679),i=n(54146),s=n(81708),a=n(24787);function u(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=u,t.Decoder=f;var c=t.ERROR+'"encode error"';function l(e){var n=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(n+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(n+=e.nsp+","),null!=e.id&&(n+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===o)return c;n+=o}return r("encoded %j as %s",e,n),n}function f(){this.reconstructor=null}function p(e){this.reconPack=e,this.buffers=[]}function d(e){return{type:t.ERROR,data:"parser error: "+e}}u.prototype.encode=function(e,n){(r("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type)?function(e,t){function n(e){var n=i.deconstructPacket(e),r=l(n.packet),o=n.buffers;o.unshift(r),t(o)}i.removeBlobs(e,n)}(e,n):n([l(e)])},o(f.prototype),f.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,o={type:Number(e.charAt(0))};if(null==t.types[o.type])return d("unknown packet type "+o.type);if(t.BINARY_EVENT===o.type||t.BINARY_ACK===o.type){for(var i="";"-"!==e.charAt(++n)&&(i+=e.charAt(n),n!=e.length););if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(i)}if("/"===e.charAt(n+1))for(o.nsp="";++n;){if(","===(u=e.charAt(n)))break;if(o.nsp+=u,n===e.length)break}else o.nsp="/";var a=e.charAt(n+1);if(""!==a&&Number(a)==a){for(o.id="";++n;){var u;if(null==(u=e.charAt(n))||Number(u)!=u){--n;break}if(o.id+=e.charAt(n),n===e.length)break}o.id=Number(o.id)}if(e.charAt(++n)){var c=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(n));if(!(!1!==c&&(o.type===t.ERROR||s(c))))return d("invalid payload");o.data=c}return r("decoded %s as %j",e,o),o}(e),t.BINARY_EVENT===n.type||t.BINARY_ACK===n.type?(this.reconstructor=new p(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},f.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},24787:function(e){e.exports=function(e){return t&&Buffer.isBuffer(e)||n&&(e instanceof ArrayBuffer||function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))};var t="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,n="function"==typeof ArrayBuffer},2679:function(e){function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},81708:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},73160:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;function s(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,a){a=a||{};var u,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|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"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"===c&&!1===isNaN(e))return a.long?s(u=e,o,"day")||s(u,r,"hour")||s(u,n,"minute")||s(u,t,"second")||u+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=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))}},23729:function(e,t,n){var r=n(98595),o=n(88120),i=[n(30225)];e.exports=r.createStore(o,i)},30225:function(e,t,n){e.exports=function(){return n(35414),{}}},35414:function(){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_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 n,r,o,i,s,a=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,s=[],"[object Array]"===Object.prototype.toString.apply(u)){for(i=u.length,n=0;n<i;n+=1)s[n]=str(n,u)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=str(r=rep[n],u))&&s.push(quote(r)+(gap?": ":":")+o);else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(o=str(r,u))&&s.push(quote(r)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);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 n,r,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(r=walk(o,n))?o[n]=r:delete o[n]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},98595:function(e,t,n){var r=n(49511),o=r.slice,i=r.pluck,s=r.each,a=r.bind,u=r.create,c=r.isList,l=r.isFunction,f=r.isObject;e.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return d(this.storage,this.plugins,e)}};function d(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(r){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=o(arguments,0),r=this;function i(){if(n)return s(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var a=[i].concat(t);return e.apply(r,a)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(r){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))s(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!l(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");s(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;if(e){(e.warn?e.warn:e.log).apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},g=u(h,p,{plugins:[]});return g.raw={},s(g,(function(e,t){l(e)&&(g.raw[t]=a(g,e))})),s(e,(function(e){g._addStorage(e)})),s(t,(function(e){g._addPlugin(e)})),g}},49511:function(e){var t=Object.assign?Object.assign:function(e,t,n,r){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(t,n){e[n]=t}));return e},n=function(){if(Object.create)return function(e,n,r,o){var s=i(arguments,1);return t.apply(this,[Object.create(e)].concat(s))};{function e(){}return function(n,r,o,s){var a=i(arguments,1);return e.prototype=n,t.apply(this,[new e].concat(a))}}}(),r=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o=window;function i(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){a(e,(function(e,n){return t(e,n),!1}))}function a(e,t){if(u(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:t,create:n,trim:r,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:i,each:s,map:function(e,t){var n=u(e)?[]:{};return a(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:a,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}},88120:function(e,t,n){e.exports=[n(19367),n(50026),n(70240),n(65362),n(90109),n(71884)]},65362:function(e,t,n){var r=n(49511),o=r.Global,i=r.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;s.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:a,remove:u,clearAll:function(){a((function(e,t){u(t)}))}};var s=o.document;function a(e){for(var t=s.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(i(t[n])){var r=t[n].split("="),o=unescape(r[0]);e(unescape(r[1]),o)}}function u(e){e&&c(e)&&(s.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},19367:function(e,t,n){var r=n(49511).Global;function o(){return r.localStorage}function i(e){return o().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},71884:function(e){e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,n){t[e]=n},each:function(e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},50026:function(e,t,n){var r=n(49511).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:i,remove:function(e){return o.removeItem(e)},clearAll:function(){i((function(e,t){delete o[e]}))}};var o=r.globalStorage;function i(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}},70240:function(e,t,n){var r=n(49511).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=c(e);s((function(e){e.setAttribute(n,t),e.save(o)}))},read:function(e){if(a)return;var t=c(e),n=null;return s((function(e){n=e.getAttribute(t)})),n},each:function(e){s((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);s((function(e){e.removeAttribute(t),e.save(o)}))},clearAll:function(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)}))}};var o="storejs",i=r.document,s=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(r){n=i.createElement("div"),e=i.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,r),e.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(u,"___")}},90109:function(e,t,n){var r=n(49511).Global;function o(){return r.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},49830:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(11184),o={contextDelimiter:"",onMissingKey:null};function i(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]}i.prototype.getPluralForm=function(e,t){var n,o,i,s=this.pluralForms[e];return s||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=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=(0,r.Z)(o)),s=this.pluralForms[e]=i),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,o){var i,s,a;return i=void 0===o?0:this.getPluralForm(e,o),s=n,t&&(s=t+this.options.contextDelimiter+n),(a=this.data[e][s])&&a[i]?a[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)}},77879:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});const r=new(n(82066).QueryClient)},44966:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(69307),o=(n(88691),n(11481)),i=n(4792),s=n(18717),a=n(43292),u=n(38606),c=n(70858),l=n(21058),f=n(59852),p=n(29726),d=n(15223),h=n(6255),g=n(91668),m=n(18724),y=n(76693),v=n(9044),b=n(82139),w=n(71799),_=n(9817),E=n(95884),S=n(90924);const C=(0,E.U)({currentUser:m.ZP,sites:b.ZP}),P=(0,s.MT)(C,(0,s.qC)(h.Z,S.f,(0,s.md)(a.Z,d.Z,y.Z)));function k(e){let{children:t}=e;return(0,r.createElement)(i.zt,{store:P},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.Z,{siteId:window._currentSiteId}),t))}(0,v.P)(P),P.dispatch((0,_.z)({name:"gutenberg-editor"})),P.dispatch((0,w.B)(window._currentSiteId)),o.ZP.configure({defaultLocaleSlug:window.helpCenterLocale}),(0,f.G)().then(p.v).then((e=>{e&&P.dispatch((0,g.lx)(e)),(0,c.M)(e||void 0,(0,l.Z)(P))}))},36707:function(){window.configData={env_id:"development",i18n_default_locale_slug:"en",google_analytics_key:"UA-10673494-15",client_slug:"browser",twemoji_cdn_url:"https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/",happychat_url:"https://happychat.io/customer",site_filter:[],sections:{},enable_all_sections:!1,livechat_support_locales:["en"],upwork_support_locales:["de"],jetpack_support_blog:"jetpackme.wordpress.com",wpcom_support_blog:"en.support.wordpress.com",gutenboarding_url:"/new",features:{happychat:!0},signup_url:"/",discover_blog_id:53424024,discover_feed_id:41325786,directly_rtm_widget_environment:"production",directly_rtm_widget_ids:{sandbox:"8a2968fc57d1e2f40157f42bf2d43160",production:"8a12a3ca5a21a619015a47e492b02cfc"}},window.process={env:{NODE_DEBUG:"dev"}}},99477:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(53762),s=n(92421),a=n(55213),u=n(30849),c=n(55609),l=n(94333),f=n(9818),p=n(85192),d=n(98817),h=n(72779),g=n.n(h),m=n(82066),y=n(4792),v=n(83377),b=n(73041),w=n(77879),_=n(44966);n(39142);function E(){const e=(0,l.useMediaQuery)("(min-width: 480px)"),t=(0,y.v9)(b.Z),n=(0,f.useSelect)((e=>e("automattic/help-center").isHelpCenterShown())),[u,d]=(0,r.useState)(!1),{setShowHelpCenter:h}=(0,f.useDispatch)("automattic/help-center"),[m,w]=(0,r.useState)(!1),_=(0,y.v9)(v.Z)||!1,{data:E,isLoading:S}=(0,i.R)(window._currentSiteId,_);(0,r.useEffect)((()=>{!S&&E&&w(!E.has_seen_whats_new_modal)}),[E,S]);(0,r.useEffect)((()=>{const e=setTimeout((()=>d(!0)),0);return()=>clearTimeout(e)}),[]);const C=(0,r.createElement)(c.Button,{className:g()("entry-point-button","help-center",{"is-active":n}),onClick:()=>{(0,o.jN)("calypso_inlinehelp_"+(n?"close":"show"),{location:"help-center",section:t}),h(!n)},icon:(0,r.createElement)(s.Z,{newItems:m}),label:"Help","aria-pressed":!!n,"aria-expanded":!!n});return(0,r.createElement)(r.Fragment,null,e&&u&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.Ox,{scope:"core/edit-post"},C),(0,r.createElement)(p.Ox,{scope:"core/edit-site"},C),(0,r.createElement)(p.Ox,{scope:"core/edit-widgets"},C)),n&&(0,r.createElement)(a.Z,{handleClose:()=>h(!1)}))}(0,d.registerPlugin)("etk-help-center",{render:()=>(0,r.createElement)(m.QueryClientProvider,{client:w.c},(0,r.createElement)(_.Z,null,(0,r.createElement)(u.Iw,{localeSlug:window.helpCenterLocale},(0,r.createElement)(E,null))))})},67459:function(e,t,n){"use strict";n.d(t,{p:function(){return l},x:function(){return f}});var r=n(85694),o=n(83685),i=n(96598),s=n(26991),a=n(26347),u=n(64802),c=n(20336);const l=(0,o.P1)(((e,t)=>{const n=(0,u.Z)(e,t);return(0,r._)(n,{root:(0,c.Z)(e,t),homepage:(0,c.Z)(e,t,"homepage"),identity:(0,c.Z)(e,t,"identity"),menus:(0,c.Z)(e,t,"menus")},(0,i.H)(),(0,a.Nf)())}),((e,t)=>[(0,u.Z)(e,t)]));function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!e.length)return[];const r=e.split(/[\W_]+/g).filter(Boolean).map((e=>e.toLowerCase()));if(!r.length)return[];const o=new RegExp(r.map(((e,t)=>t+1===r.length?`(?=.*\\b${e})`:`(?=.*\\b${e}\\b)`)).join("")+".+","gi"),i=[],a=[],u=[];return t.forEach((t=>{var n;t.title.toLowerCase()===e.toLowerCase()?i.push(t):o.test(t.title)?a.push(t):"en"===(0,s.Y)()&&null!==(n=t.synonyms)&&void 0!==n&&n.some((e=>r.includes(e)))&&u.push(t)})),[...i,...a,...u].slice(0,n)}},91040:function(e,t,n){"use strict";n.d(t,{Di:function(){return r}});const r=9619154},71688:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(38049),s=n.n(i),a=n(10975),u=n(13980),c=n.n(u),l=n(99196),f=n(4792),p=n(57925),d=n(73041);const h=s()("calypso:inline-help"),g=e=>{let{searchQuery:t="",location:n="inline-help-popover",isVisible:i=!0,placeholder:s,onSearch:u}=e;const c=(0,l.useRef)(),g=(0,a.Z)(),m=(0,f.v9)(d.Z);(0,l.useEffect)((()=>{var e;const t=null===(e=c.current)||void 0===e?void 0:e.searchInput;if("inline-help-popover"!==n||!t||!i)return;const r=setTimeout((()=>t.focus()),0);return()=>window.clearTimeout(r)}),[c,n,i]);return(0,r.createElement)(p.Z,{ref:c,initialValue:t,onSearch:e=>{const r=e.trim();"help-center"===n?(null==r?void 0:r.length)>2&&(0,o.jN)("calypso_inlinehelp_search",{search_query:t,location:n,section:m}):null!=r&&r.length&&(h("search query received: ",t),(0,o.jN)("calypso_inlinehelp_search",{search_query:t,location:n,section:m})),null==u||u(e)},placeholder:s||g("Search for help…"),delaySearch:!0})};g.propTypes={searchQuery:c().string,onSearch:c().func,placeholder:c().string,location:c().string},t.Z=g},85774:function(e,t,n){"use strict";var r=n(69307),o=n(13980),i=n.n(o),s=n(38782);const a=e=>{let{post:t,isLoading:n}=e;return n||!t?(0,r.createElement)("div",{className:"support-article-dialog__header is-placeholder"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title is-placeholder"},"Post loading…")):(0,r.createElement)("div",{className:"support-article-dialog__header"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title"},(0,r.createElement)(s.Z,{className:"support-article-dialog__header-title-link",href:t.URL,target:"_blank",icon:!1},t.title)))};a.propTypes={post:i().object,isLoading:i().bool},t.Z=a},56077:function(e,t,n){"use strict";var r=n(56666),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(77327),c=n(93125),l=n(6712),f=n(83377);class p extends s.Component{constructor(){super(...arguments),(0,r.Z)(this,"maybeFetch",(()=>{const{post:e,postKey:t,isHelpCenter:n,isSimpleSite:r}=this.props;!(0,u.J0)(t)||e&&"minimal"!==e._state||this.props.fetchPost(t,n,r)}))}componentDidMount(){this.maybeFetch()}componentDidUpdate(){this.maybeFetch()}render(){return null}}(0,r.Z)(p,"propTypes",{postKey:i().object.isRequired,isHelpCenter:i().bool}),t.Z=(0,a.$j)(((e,t)=>({post:(0,l.UK)(e,t.postKey),isHelpCenter:t.isHelpCenter,isSimpleSite:(0,f.Z)(e)})),{fetchPost:c.SD})(p)},9232:function(e,t,n){"use strict";var r=n(13980),o=n.n(r),i=n(99196),s=n(4792),a=n(63262),u=n(58311);function c(e){let{siteId:t}=e;const n=(0,s.I0)(),r=(0,s.v9)((e=>(0,u._g)(e,t)));return(0,i.useEffect)((()=>{t&&r&&n((0,a.LV)(t))}),[n,t,r]),null}c.propTypes={siteId:o().number},t.Z=c},38606:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(85300),c=n(87720),l=n(40540),f=n(52239),p=n(58863),d=n(79791);const h=e=>(0,u.Oz)(e,"recentSites");function g(){const e=(0,a.I0)();return(0,s.useEffect)((()=>{e(((e,t)=>{(0,f.Z)(t())||e((0,l.BU)())}))}),[e]),null}const m=e=>(t,n)=>{e&&!(0,p.Z)(n(),e)&&t((0,l.LV)(e))};function y(e){let{siteId:t}=e;const n=(0,a.I0)();return(0,s.useEffect)((()=>{t&&n(m(t))}),[n,t]),null}function v(){const e=(0,a.v9)(c.Z),t=(0,a.v9)(h),n=(0,a.I0)();return(0,s.useEffect)((()=>{const r=[...e?[e]:[],...t??[]];r.length&&n((e=>(t,n)=>{const r=n();(0,d.Z)(r)||e.forEach((e=>t(m(e))))})(r))}),[n,e,t]),null}function b(e){let{siteId:t,allSites:n=!1,primaryAndRecent:o=!1}=e;return(0,r.createElement)(s.Fragment,null,n&&(0,r.createElement)(g,null),t&&(0,r.createElement)(y,{siteId:t}),o&&(0,r.createElement)(v,null))}b.propTypes={allSites:i().bool,primaryAndRecent:i().bool,siteId:i().oneOfType([i().number,i().string])}},66525:function(e,t,n){"use strict";var r=n(99196),o=n(4792),i=n(36747),s=n(86169),a=n(12726);const u=(e,t)=>{const n=t(),r=(0,i.rc)(n),o=(0,a.Mo)(n),u=(0,a.iJ)(n);!r||o||u||e((0,s.Y9)(r))};t.Z=function(){const e=(0,o.I0)();return(0,r.useEffect)((()=>{e(u)})),null}},22169:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(84898),o=n(38049),i=n.n(o),s=n(92819),a=n(99196),u=n(91850),c=n.n(u),l=n(16771);const f=()=>{},p=i()("calypso:components:embed-container"),d={'blockquote[class^="instagram-"]':function e(t){if(p("processing instagram for",t),"undefined"!=typeof instgrm){try{window.instgrm.Embeds.process()}catch(n){}return}b("https://platform.instagram.com/en_US/embeds.js",e.bind(null,t))},'blockquote[class^="twitter-"], a[class^="twitter-"]':function e(t){if(p("processing twitter for",t),"undefined"!=typeof twttr){try{window.twttr.widgets.load(t)}catch(n){}return}b("https://platform.twitter.com/widgets.js",e.bind(null,t))},"fb\\:post, [class^=fb-]":function(e){if(p("processing facebook for",e),"undefined"!=typeof fb)return;b("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2",f)},"[class^=tumblr-]":function(e){if(p("processing tumblr for",e),w)return;function t(){(0,s.forEach)(document.querySelectorAll('script[src="https://secure.assets.tumblr.com/post.js"]'),(function(e){e.parentNode.removeChild(e)})),w=!1}w=!0,setTimeout((function(){(0,r.ve)("https://secure.assets.tumblr.com/post.js",t)}),30)},".jetpack-slideshow":function(e){p("processing slideshow for",e);let t=document.head.querySelector(`link[href="${g.CSS}"]`);window.jetpackSlideshowSettings={spinner:g.SPINNER},t||(t=!0,function(e){const t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.head.appendChild(t)}(g.CSS));const n=e.parentNode.getElementsByClassName("jetpack-slideshow-noscript");(0,s.forEach)(n,(e=>{e.classList.add("hidden")})),window.jQuery&&window.jQuery.prototype.cycle?E():window.jQuery&&!window.jQuery.prototype.cycle?b(g.CYCLE_JS,(()=>{E()})):(0,l.t)(g.CYCLE_JS,(()=>{E()}))},".wp-block-jetpack-story":function(e){p("processing story for ",e);const t=e.querySelector("a.wp-story-container, a.wp-story-overlay");t&&t.setAttribute("target","_blank")},".embed-reddit":function(e){p("processing reddit for ",e),b("https://embed.redditmedia.com/widgets/platform.js",f)}},h=`?v=${Math.floor((new Date).getTime()/864e6)}`,g={CSS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/css/slideshow-shortcode.css${h}`,CYCLE_JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/jquery.cycle.min.js${h}`,JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/slideshow-shortcode.js${h}`,SPINNER:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/img/slideshow-loader.gif${h}`};function m(e){Object.entries(d).forEach((t=>{let[n,r]=t;const o=e.querySelectorAll(n);(0,s.forEach)((0,s.filter)(o,y),r)}))}function y(e){return!e.hasAttribute("data-wpcom-embed-processed")&&(e.setAttribute("data-wpcom-embed-processed","1"),!0)}const v={};function b(e,t){let n=v[e];n||(n=new Promise((function(t,n){(0,r.ve)(e,(function(e){e?n(e):t()}))})),v[e]=n),n.then(t,(function(t){p("error loading "+e,t),v[e]=null}))}let w;function _(){window.jQuery("body").trigger("post-load")}function E(){window.JetpackSlideshow&&_(),b(g.JS,(()=>{_()}))}class S extends a.PureComponent{componentDidMount(){m(c().findDOMNode(this))}componentDidUpdate(){m(c().findDOMNode(this))}render(){return a.Children.only(this.props.children)}}},38782:function(e,t,n){"use strict";var r=n(56666),o=n(69307),i=n(56399),s=n(97493),a=n(47498),u=n(72779),c=n.n(u),l=n(11481),f=n(92819),p=n(13980),d=n.n(p),h=n(99196);class g extends h.Component{render(){const e=c()("external-link",this.props.className,{"icon-first":this.props.showIconFirst,"has-icon":this.props.icon}),t={...(0,f.omit)(this.props,"icon","iconSize","showIconFirst","iconClassName"),className:e,rel:"external"};this.props.icon&&(t.target="_blank"),t.target&&(t.rel=t.rel.concat(" noopener noreferrer")),t.href&&(t.href=(0,a.aq)(t.href));const n=(0,o.createElement)(i.Z,{className:this.props.iconClassName,icon:"external",size:this.props.iconSize});return(0,o.createElement)("a",t,this.props.icon&&this.props.showIconFirst&&n,this.props.children,this.props.icon&&!this.props.showIconFirst&&n,this.props.icon&&(0,o.createElement)(s.Z,null,(0,l.Iu)("(opens in a new tab)",{comment:"accessibility label for an external link"})))}}(0,r.Z)(g,"defaultProps",{iconSize:18,showIconFirst:!1}),(0,r.Z)(g,"propTypes",{className:d().string,href:d().string,onClick:d().func,icon:d().bool,iconSize:d().number,target:d().string,showIconFirst:d().bool,iconClassName:d().string}),t.Z=g},66753:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(13980),c=n.n(u),l=n(99196);class f extends l.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{value:this.props.value||""}),(0,o.Z)(this,"currentTextField",void 0),(0,o.Z)(this,"textFieldRef",(e=>{this.currentTextField=e;const{inputRef:t}=this.props;t&&("function"==typeof t?t(e):t.current=e)})),(0,o.Z)(this,"selectOnFocus",(e=>{this.props.selectOnFocus&&e.target.select()})),(0,o.Z)(this,"onChange",(e=>{var t,n;this.setState({value:e.target.value}),null===(t=(n=this.props).onChange)||void 0===t||t.call(n,e)}))}componentDidUpdate(e){this.updateValueIfNeeded(e.value)}updateValueIfNeeded(e){const{value:t}=this.props;e===t&&t===this.state.value||this.setState({value:t})}focus(){this.currentTextField&&this.currentTextField.focus()}render(){const{isError:e,isValid:t,selectOnFocus:n,inputRef:o,onChange:s,value:u,...c}=this.props,l=a()("form-text-input",this.props.className,{"is-error":this.props.isError,"is-valid":this.props.isValid});return(0,i.createElement)("input",(0,r.Z)({type:"text"},c,{value:this.state.value,ref:this.textFieldRef,className:l,onClick:this.selectOnFocus,onChange:this.onChange}))}}(0,o.Z)(f,"propTypes",{isError:c().bool,isValid:c().bool,selectOnFocus:c().bool,className:c().string})},57925:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(98148),s=n(72779),a=n.n(s),u=n(99196),c=n(12982);const l=(e,t)=>{let{className:n,...s}=e;return(0,o.createElement)(i.Z,{className:a()("search-card",n)},(0,o.createElement)(c.Z,(0,r.Z)({ref:t},s)))};t.Z=(0,u.forwardRef)(l)},12982:function(e,t,n){"use strict";var r=n(7896),o=n(56666),i=n(69307),s=n(6010),a=n(79321),u=n(5869),c=n(17108),l=n(60199),f=n(72779),p=n.n(f),d=n(11481),h=n(92819),g=n(13980),m=n.n(g),y=n(99196),v=n(88767),b=n(66753),w=n(28816),_=n(44567);const E=()=>{};function S(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class C extends y.Component{constructor(e){super(e),(0,o.Z)(this,"setOpenIconRef",(e=>this.openIcon=e)),(0,o.Z)(this,"setSearchInputRef",(e=>this.searchInput=e)),(0,o.Z)(this,"setOverlayRef",(e=>this.overlay=e)),(0,o.Z)(this,"scrollOverlay",(()=>{this.overlay&&window.requestAnimationFrame((()=>{this.overlay&&this.searchInput&&(this.overlay.scrollLeft=this.getScrollLeft(this.searchInput))}))})),(0,o.Z)(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),r=parseFloat(n.paddingLeft),o=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+r-o.left})),(0,o.Z)(this,"focus",(()=>{setTimeout((()=>this.searchInput&&this.searchInput.focus()),0)})),(0,o.Z)(this,"blur",(()=>this.searchInput.blur())),(0,o.Z)(this,"clear",(()=>this.setState({keyword:""}))),(0,o.Z)(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),(0,o.Z)(this,"onChange",(e=>{this.setState({keyword:e.target.value})})),(0,o.Z)(this,"openSearch",(e=>{e.preventDefault(),this.setState({keyword:"",isOpen:!0}),(0,_.Yh)(this.props.analyticsGroup,"Clicked Open Search")})),(0,o.Z)(this,"closeSearch",(e=>{e.preventDefault(),this.props.disabled||(this.setState({keyword:"",isOpen:this.props.isOpen||!1}),this.searchInput.value="",this.props.pinned?(this.searchInput.blur(),this.openIcon.focus()):this.searchInput.focus(),this.props.onSearchClose(e),(0,_.Yh)(this.props.analyticsGroup,"Clicked Close Search"))})),(0,o.Z)(this,"keyUp",(e=>{"Enter"===e.key&&(0,a.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),(0,o.Z)(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.props.onKeyDown(e)})),(0,o.Z)(this,"onFocus",(()=>{if(!this.searchInput)return;const e=this.searchInput.value;e&&(this.searchInput.value="",this.searchInput.value=e),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),this.instanceId=(0,v.Z)(),this.state={keyword:e.initialValue||"",isOpen:!!e.isOpen,hasFocus:e.autoFocus},this.closeListener=S.bind(this,"closeSearch"),this.openListener=S.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),this.props.isOpen!==e.isOpen&&this.setState({isOpen:e.isOpen}),this.props.value===e.value||!e.value&&""!==e.value||e.value===this.state.keyword||this.setState({keyword:e.value})}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,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch}render(){const e=this.state.keyword,t=this.props.placeholder||d.ZP.translate("Search…",{textOnly:!0}),n=this.props.inputLabel,o=this.props.pinned&&!this.state.isOpen,a=this.state.isOpen||!this.props.pinned||this.props.initialValue,l=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},f=p()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":a,"is-searching":this.props.searching,"is-compact":this.props.compact,"has-focus":!this.props.hideFocus&&this.state.hasFocus,"has-open-icon":!this.props.hideOpenIcon,search:!0}),h=p()("search__input-fade",this.props.dir),g=p()("search__input",this.props.dir);return(0,i.createElement)("div",{dir:this.props.dir||null,className:f,role:"search"},(0,i.createElement)(s.$,null),(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",ref:this.setOpenIconRef,onClick:o?this.openSearch:this.focus,tabIndex:o?"0":null,onKeyDown:o?this.openListener:null,"aria-controls":"search-component-"+this.instanceId,"aria-label":d.ZP.translate("Open Search",{context:"button label"})},!this.props.hideOpenIcon&&(0,i.createElement)(u.Z,{icon:c.Z,className:"search__open-icon"})),(0,i.createElement)("div",{className:h},(0,i.createElement)(b.Z,(0,r.Z)({type:"search",id:"search-component-"+this.instanceId,autoFocus:this.props.autoFocus,"aria-describedby":this.props.describedBy,"aria-label":n||d.ZP.translate("Search"),"aria-hidden":!a,className:g,placeholder:t,role:"searchbox",value:e,inputRef:this.setSearchInputRef,onChange:this.onChange,onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength,minLength:this.props.minLength},l)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton(),this.props.children)}renderStylingDiv(){return(0,i.createElement)("div",{className:"search__text-overlay",ref:this.setOverlayRef},this.props.overlayStyling(this.state.keyword))}closeButton(){return this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"search-component-"+this.instanceId,"aria-label":d.ZP.translate("Close Search",{context:"button label"})},(0,i.createElement)(u.Z,{icon:l.Z,className:"search__close-icon"}))}}(0,o.Z)(C,"propTypes",{additionalClasses:m().string,initialValue:m().string,value:m().string,placeholder:w.Z,pinned:m().bool,delaySearch:m().bool,delayTimeout:m().number,describedBy:m().string,onSearch:m().func.isRequired,onSearchChange:m().func,onSearchOpen:m().func,onSearchClose:m().func,analyticsGroup:m().string,overlayStyling:m().func,autoFocus:m().bool,disabled:m().bool,onKeyDown:m().func,onClick:m().func,disableAutocorrect:m().bool,onBlur:m().func,searching:m().bool,isOpen:m().bool,dir:m().oneOf(["ltr","rtl"]),fitsContainer:m().bool,maxLength:m().number,minLength:m().number,hideClose:m().bool,hideFocus:m().bool,compact:m().bool,hideOpenIcon:m().bool,inputLabel:m().string}),(0,o.Z)(C,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,describedBy:null,onSearchChange:E,onSearchOpen:E,onSearchClose:E,onKeyDown:E,onClick:E,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1,hideFocus:!1,compact:!1,hideOpenIcon:!1}),t.Z=C},28816:function(e,t){"use strict";t.Z=function(e){function t(t,n,r,o,i){return o=o||"ANONYMOUS",void 0===n[r]?t?new Error("Required "+i+" `"+r+"` was not specified in `"+o+"`."):null:e(n,r,o,i)}const n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}((function(e,t,n){n=n||"ANONYMOUS";const r=e[t];return null!=r?"string"==typeof r||"object"==typeof r&&"data"===r.type||"object"==typeof r&&["object","function"].includes(typeof r.type)&&("Translatable"===r.type.name||String(r.type.displayName).match(/\(Translatable\)/))?null:new Error("Invalid value for Translatable string in `"+n+"`. Please pass a translate() call."):null}))},1230:function(e,t,n){"use strict";var r=n(6339),o=n(82066),i=n(4792),s=n(72429),a=n(30963);t.Z=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(0,i.v9)(a.Z);return(0,o.useQuery)(["support-article-alternates",e,t],(()=>s.Z.req.get(`/support/alternates/${e}/posts/${t}`)),{...n,enabled:!(0,r.TF)(u)&&!(!e||!t),refetchOnMount:!1,refetchOnWindowFocus:!1,select:e=>e[u]})}},36190:function(e,t,n){"use strict";n.d(t,{wZ:function(){return i},ZK:function(){return s},_O:function(){return a},n_:function(){return u},CO:function(){return c},xb:function(){return l},kL:function(){return f},GL:function(){return p},eG:function(){return d},hR:function(){return h},Mf:function(){return g},Q1:function(){return m},az:function(){return y},S$:function(){return v},nF:function(){return b},fF:function(){return w},lB:function(){return _},n5:function(){return E},Dt:function(){return S},j_:function(){return C},EV:function(){return P},y2:function(){return k},yf:function(){return I},xV:function(){return A},E9:function(){return T},O5:function(){return R},pP:function(){return O},Ai:function(){return x},zR:function(){return F},Uk:function(){return L},L:function(){return U},cf:function(){return Z},Hb:function(){return D},zv:function(){return j},oh:function(){return N}});var r=n(20899),o=n(38049);const i=!0,s=!0,a=!0,u=!0,c=!1,l=!0,f=!1,p=!0,d=!0,h=!1,g=!0,m=!1,y=!1,v=!1,b=!1,w=n.n(o)()("calypso:analytics:ad-tracking"),_="https://connect.facebook.net/en_US/fbevents.js",E="https://www.googletagmanager.com/gtag/js?id=",S="https://bat.bing.com/bat.js",C="https://static.criteo.net/js/ld/ld.js",P="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10014088",k="https://tags.w55c.net/rs?id=cab35a3a79dc4173b8ce2c47adad2cea&t=marketing",I="https://tags.w55c.net/rs?id=d239e9cb6d164f7299d2dbf7298f930a&t=marketing",A="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",T="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",R="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",O="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",x="https://static.ads-twitter.com/uwt.js",F="https://snap.licdn.com/li.lms-analytics/insight.min.js",L="https://a.quora.com/qevents.js",U="https://amplify.outbrain.com/cp/obtp.js",Z="https://s.pinimg.com/ct/core.js",D={bingInit:"4074038",criteo:"31321",dcmFloodlightAdvertiserId:"6355556",facebookInit:"823166884443641",facebookJetpackInit:"919484458159593",fullStory:"120RG4",fullStoryJetpack:"181XXV",linkedInPartnerId:"195308",outbrainAdvId:"00f0f5287433c2851cc0cb917c7ff0465e",pinterestInit:"2613194105266",quantcast:"p-3Ma3jHaQMB_bS",quoraPixelId:"420845cb70e444938cf0728887a74ca1",twitterPixelId:"nvzbs",wpcomGoogleAnalyticsGtag:(0,r.ZP)("google_analytics_key"),wpcomFloodlightGtag:"DC-6355556",wpcomGoogleAdsGtag:"AW-946162814",wpcomGoogleAdsGtagSignupStart:"AW-946162814/baDICKzQiq4BEP6YlcMD",wpcomGoogleAdsGtagRegistration:"AW-946162814/_6cKCK6miZYBEP6YlcMD",wpcomGoogleAdsGtagSignup:"AW-946162814/5-NnCKy3xZQBEP6YlcMD",wpcomGoogleAdsGtagAddToCart:"AW-946162814/MF4yCNi_kZYBEP6YlcMD",wpcomGoogleAdsGtagPurchase:"AW-946162814/taG8CPW8spQBEP6YlcMD",jetpackGoogleAnalyticsGtag:"UA-52447-43",jetpackGoogleGA4Gtag:"G-YELRMVV4YG",jetpackGoogleAdsGtagPurchase:"AW-946162814/kIF1CL3ApfsBEP6YlcMD"},j="dcmsid",N=1800},33675:function(e,t,n){"use strict";n.d(t,{j:function(){return u},I:function(){return l}});var r=n(36115),o=n(13421),i=n(88767),s=n(1444),a=n(36190);n(28122);function u(e){if(!(0,s.Z)()||!a.ZK)return;const t=["event","conversion",{...{...c(),allow_custom_scripts:!0},...e}];(0,a.fF)("recordParamsInFloodlightGtag:",t),window.gtag(...t)}function c(){const e={},t=(0,r.ts)(),n=(0,r.di)();return t&&(e.u4=t.hashedPii.ID),n&&(e.u5=n),e}function l(e){if(!(0,s.Z)()||!a.ZK)return;const t=function(){const e=o.parse(document.cookie)[a.zv];if(e)return(0,a.fF)("Floodlight: Existing session: "+e),e;const t=(0,i.Z)().replace(new RegExp("-","g"),"");return(0,a.fF)("Floodlight: New session: "+t),t}();document.cookie=o.serialize(a.zv,t,{maxAge:a.oh}),(0,a.fF)("retarget: recordPageViewInFloodlight: wpvisit"),u({session_id:t,u6:e,u7:t,send_to:"DC-6355556/wordp0/wpvisit+per_session"}),(0,a.fF)("retarget: recordPageViewInFloodlight: wppv"),u({u6:e,u7:t,send_to:"DC-6355556/wordp0/wppv+standard"})}},98565:function(e,t,n){"use strict";n.d(t,{cY:function(){return i},$Q:function(){return s}});var r=n(9415),o=n(36190);n(28122);function i(e){(0,r.Z)()&&window.gtag("config",o.Hb.jetpackGoogleGA4Gtag,e)}function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n&&window.gtag("event","page_view",{send_to:o.Hb.jetpackGoogleGA4Gtag,page_title:e,page_location:t})}},95157:function(e,t,n){"use strict";n.d(t,{LT:function(){return l},mf:function(){return f},Uk:function(){return p},vL:function(){return d},Zf:function(){return h}});var r=n(36115),o=n(20899),i=n(32486),s=n(43621),a=n(9415),u=n(36190),c=n(98565);n(28122);function l(e){c.cY(e),window.gtag("config",u.Hb.wpcomGoogleAnalyticsGtag,e),(0,a.Z)()&&window.gtag("config",u.Hb.jetpackGoogleAnalyticsGtag,e)}function f(){return u.wZ&&o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,i.Z)()&&(0,s.Z)()}function p(){const e=(0,r.ts)();return{...e&&{user_id:e.hashedPii.ID},anonymize_ip:!0,transport_type:"function"==typeof window.navigator.sendBeacon?"beacon":"xhr",use_amp_client_id:!0,custom_map:{dimension3:"client_id"},linker:(0,a.Z)()?{domains:["wordpress.com"]}:{accept_incoming:!0}}}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c.$Q(t,e,n);const r={...p(),page_path:e,page_title:t};window.gtag("config",u.Hb.wpcomGoogleAnalyticsGtag,r),n&&window.gtag("config",u.Hb.jetpackGoogleAnalyticsGtag,r)}function h(e,t,n,r){window.gtag("event",t,{event_category:e,event_label:n,value:r})}},30214:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(36115),o=n(84898),i=n(36190);n(28122);const s=function(e){let t,n="not-loading";const r=new Promise((e=>{t=e}));return()=>("not-loading"===n&&(n="loading",e().then((e=>{n="loaded",t(e)}),(()=>{n="not-loading"}))),r)}((async()=>{const e=function(){const e=[];i._O&&e.push(i.lB);const t=[i.wZ&&i.Hb.wpcomGoogleAnalyticsGtag,i.xb&&i.Hb.wpcomGoogleAdsGtag,i.ZK&&i.Hb.wpcomFloodlightGtag].filter((e=>!1!==e));t.length>0&&e.push(i.n5+t[0]);i.n_&&e.push(i.Dt);i.az&&e.push(i.j_);i.kL&&e.push(("https:"===document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js");i.Mf&&e.push(i.Ai);i.Q1&&e.push(i.zR);i.S$&&e.push(i.Uk);i.GL&&e.push(i.L);i.eG&&e.push(i.cf);return e}();let t=!1;for(const r of e){try{await(0,o.ve)(r)}catch(n){t=!0,(0,i.fF)("loadTrackingScripts: [Load Error] a tracking script failed to load: ",n)}(0,i.fF)("loadTrackingScripts: [Loaded]",r)}if(t)throw new Error("One or more tracking scripts failed to load");(0,i.fF)("loadTrackingScripts: load done"),function(){i._O&&function(){let e={};const t=(0,r.ts)();t&&(e={em:t.hashedPii.email});(0,i.fF)("initFacebook",e),window.fbq("init",i.Hb.facebookInit,e),window.fbq("set","autoConfig",!1,i.Hb.facebookJetpackInit),window.fbq("init",i.Hb.facebookJetpackInit,e)}();if(i.n_){const e={ti:i.Hb.bingInit,q:window.uetq};"undefined"!=typeof UET&&(window.uetq=new UET(e))}i.Mf&&window.twq("init",i.Hb.twitterPixelId);i.S$&&window.qp("init",i.Hb.quoraPixelId);if(i.eG){const e=(0,r.ts)(),t=e?{em:e.hashedPii.email}:{};window.pintrk("load",i.Hb.pinterestInit,t)}(0,i.fF)("loadTrackingScripts: init done")}(),(0,i.fF)("loadTrackingScripts: dataLayer:",JSON.stringify(window.dataLayer,null,2))}))},32985:function(e,t,n){"use strict";n.d(t,{a:function(){return c}});var r=n(7369),o=n(1444),i=n(36190),s=n(33675),a=n(30214);n(28122);let u=0;async function c(e){if(await(0,r.Z)(),!(0,o.Z)())return void(0,i.fF)("retarget: [Skipping] ad tracking is not allowed",e);if(await(0,a._)(),(0,i.fF)("retarget:",e),i.kL){const e={qacct:i.Hb.quantcast,event:"refresh"};(0,i.fF)("retarget: [Quantcast]",e),window._qevents.push(e)}if(i._O){const e=["trackSingle",i.Hb.facebookInit,"PageView"];(0,i.fF)("retarget: [Facebook]",e),window.fbq(...e)}if(i.n_&&((0,i.fF)("retarget: [Bing]"),window.uetq.push("pageLoad")),i.xb){const t=["config",i.Hb.wpcomGoogleAdsGtag,{page_path:e}];(0,i.fF)("retarget: [Google Ads] WPCom",t),window.gtag(...t)}(0,s.I)(e),i.eG&&((0,i.fF)("retarget: [Pinterest]"),window.pintrk("page")),i.nF&&((0,i.fF)("retarget: [AdRoll]"),window.adRoll.trackPageview());const t=Date.now()/1e3;if(t>=u+86400){if(u=t,i.GL){const e=["track","PAGE_VIEW"];(0,i.fF)("retarget: [Outbrain] [rate limited]",e),window.obApi(...e)}if(i.hR){const e=i.y2;(0,i.fF)("retarget: [Icon Media] [rate limited]",e),(new window.Image).src=e}if(i.Mf){const e=["track","PageView"];(0,i.fF)("retarget: [Twitter] [rate limited]",e),window.twq(...e)}if(i.CO){const e=i.EV;(0,i.fF)("retarget: [Yahoo Gemini] [rate limited]",e),(new window.Image).src=e}if(i.S$){const e=["track","ViewContent"];(0,i.fF)("retarget: [Quora] [rate limited]",e),window.qp(...e)}}(0,i.fF)("retarget: dataLayer:",JSON.stringify(window.dataLayer,null,2))}},28122:function(e,t,n){"use strict";var r=n(36190);"undefined"!=typeof window&&(!function(){if(window.dataLayer&&window.gtag)return;window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date)}(),r._O&&function(){if(window.fbq)return;const e=window.fbq=function(){e.callMethod?e.callMethod.apply(e,arguments):e.queue.push(arguments)};window._fbq||(window._fbq=e);window._fbq.disablePushState=!0,e.push=e,e.loaded=!0,e.version="2.0",e.queue=[]}(),r.n_&&!window.uetq&&(window.uetq=[]),r.az&&!window.criteo_q&&(window.criteo_q=[]),r.kL&&!window._qevents&&(window._qevents=[]),r.xb&&window.gtag("config",r.Hb.wpcomGoogleAdsGtag),r.ZK&&window.gtag("config",r.Hb.wpcomFloodlightGtag),r.Mf&&function(){if(window.twq)return;const e=window.twq=function(){e.exe?e.exe.apply(e,arguments):e.queue.push(arguments)};e.version="1.1",e.queue=[]}(),r.Q1&&(window._linkedin_data_partner_id||(window._linkedin_data_partner_id=r.Hb.linkedInPartnerId)),r.S$&&function(){if(window.qp)return;const e=window.qp=function(){e.qp?e.qp.apply(e,arguments):e.queue.push(arguments)};e.queue=[]}(),r.GL&&function(){const e=window.obApi=function(){e.dispatch?e.dispatch.apply(e,arguments):e.queue.push(arguments)};e.version="1.0",e.loaded=!0,e.marketerId=r.Hb.outbrainAdvId,e.queue=[]}(),r.eG&&function(){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};const e=window.pintrk;e.queue=[],e.version="3.0"}}(),r.nF&&(window.adRoll||(window.adRoll={trackPageview:function(){(new window.Image).src=r.xV,(new window.Image).src=r.E9},trackPurchase:function(){(new window.Image).src=r.O5,(new window.Image).src=r.pP}})))},25394:function(e,t,n){"use strict";n.d(t,{K:function(){return o},w:function(){return i}});var r=n(36190);n(28122);function o(e,t){window.fbq&&window.fbq("trackSingleCustom",r.Hb.facebookInit,e,t)}function i(e){(0,r.fF)("trackCustomAdWordsRemarketingEvent:",e)}},46272:function(e,t,n){"use strict";n.d(t,{U:function(){return h},K:function(){return g}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),a=n(94776),u=n(9415),c=n(36190),l=n(32486),f=n(43621);const p=s()("calypso:analytics:fullstory");let d=!1;function h(){m(),window.FS&&(p("retargetFullStory"),window.FS.restart(),y())}function g(e,t){if(m(),!window.FS||!e)return;const n=v(t);p("recordFullStoryEvent:",{name:e,props:n}),window.FS.event(e,n),y()}function m(){var e,t,n,i,s,h,g,m;d||!o.ZP.isEnabled("fullstory")||(0,r.vX)()||(0,a.b)()||(0,l.Z)()||!(0,f.Z)()?d||p("maybeAddFullStoryScript:",!1):(d=!0,p("maybeAddFullStoryScript:",!0),window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org=(0,u.Z)()?c.Hb.fullStoryJetpack:c.Hb.fullStory,window._fs_namespace="FS",e=window,t=document,n=window._fs_namespace,i="script",s="user",p("maybeAddFullStoryScript:","script loading"),n in e?e.console&&e.console.log&&e.console.log("FullStory namespace conflict. Please set window._fs_namespace."):((g=e[n]=function(e,t,n){g.q?g.q.push([e,t,n]):g._api(e,t,n)}).q=[],(h=t.createElement(i)).async=1,h.crossOrigin="anonymous",h.src="https://"+window._fs_script,(m=t.getElementsByTagName(i)[0]).parentNode.insertBefore(h,m),g.identify=function(e,t,n){g(s,{uid:e},n),t&&g(s,t,n)},g.setUserVars=function(e,t){g(s,e,t)},g.event=function(e,t,n){g("event",{n:e,p:t},n)},g.anonymize=function(){g.identify(!1)},g.shutdown=function(){g("rec",!1)},g.restart=function(){g("rec",!0)},g.log=function(e,t){g("log",[e,t])},g.consent=function(e){g("consent",!arguments.length||e)},g.identifyAccount=function(e,t){h="account",(t=t||{}).acctId=e,g(h,t)},g.clearUserCookie=function(){},g.setVars=function(_n,e){g("setVars",[_n,e])},g._w={},m="XMLHttpRequest",g._w[m]=e[m],m="fetch",g._w[m]=e[m],e[m]&&(e[m]=function(){return g._w[m].apply(this,arguments)}),g._v="1.3.0"))}function y(){if(!window.FS)return;const e=(0,r.ts)();e&&(p("maybeIdentifyUser:",e),window.FS.identify(e.hashedPii.ID))}function v(e){const t={};e="object"==typeof e?e:{};for(const[n,r]of Object.entries(e)){const e=typeof r;"string"===e?t[n+"_str"]=r:"boolean"===e?t[n+"_bool"]=r:"number"===e||"bigint"===e?-1!==String(r).indexOf(".")?t[n+"_real"]=r:t[n+"_int"]=r:"object"===e&&(t[n]=v(r))}return t}},44567:function(e,t,n){"use strict";n.d(t,{eK:function(){return c},Yh:function(){return l}});var r=n(38049),o=n.n(r),i=n(95157);const s=o()("calypso:analytics:ga");let a=!1;function u(){if(!a){const e={send_page_view:!1,...(0,i.Uk)()};s("parameters:",e),(0,i.LT)(e),a=!0}}const c=f((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"] [useJetpackGoogleAnalytics: "+n+"]"),(0,i.vL)(e,t,n)})),l=f((function(e,t,n,r){void 0===r||isNaN(Number(String(r)))||(r=Math.round(Number(String(r))));let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),(0,i.Zf)(e,t,n,r)}));function f(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(0,i.mf)()?(u(),e(...n)):s("[Disallowed] analytics %s( %o )",e.name,n)}}},80252:function(e,t,n){"use strict";n.d(t,{o:function(){return p}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),a=n(94776),u=n(32486),c=n(43621);const l=s()("calypso:analytics:hotjar");let f=!1;function p(){var e,t,n,i;f||!(0,o.ZP)("hotjar_enabled")||(0,a.b)()||(0,r.vX)()||(0,u.Z)()||!(0,c.Z)()?l("Not loading HotJar script"):(e=window,t=document,l("Loading HotJar script"),e.hj=e.hj||function(){(e.hj.q=e.hj.q||[]).push(arguments)},e._hjSettings={hjid:227769,hjsv:5},n=t.getElementsByTagName("head")[0],(i=t.createElement("script")).async=1,i.src="//static.hotjar.com/c/hotjar-"+e._hjSettings.hjid+".js?sv="+e._hjSettings.hjsv,n.appendChild(i),f=!0)}},70858:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(36115),o=n(38049);const i=n.n(o)()("calypso:analytics:init");async function s(e,t){await(0,r.MB)(e,t);const o=(0,r.ts)();if("object"==typeof e&&o&&(0,r.di)()){const e=await n.e(474).then(n.bind(n,11209)),{recordAliasInFloodlight:t}=e;i("recordAliasInFloodlight",o),t()}}},7689:function(e,t,n){"use strict";n.d(t,{P:function(){return s},S:function(){return a}});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:mc");function s(e,t){if("object"==typeof e?i("Bumping stats %o",e):i("Bumping stat %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random()}}function a(e,t){if("object"==typeof e?i("Bumping page view with props %o",e):i("Bumping page view %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random()}}},66610:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(36115),o=n(79321),i=n(32985),s=n(46272),a=n(93513),u=n(11915),c=n(7369),l=n(44567),f=n(38602),p=n(5323);function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};setTimeout((()=>{n.device_type=(0,o.jv)(),(0,r.w2)(e,n),h(e,t,null==c?void 0:c.useJetpackGoogleAnalytics),(0,p.G)(),(0,u.Z)(),(0,a.n)(),(0,i.a)(e),(0,s.U)(),(0,f.V)()}),0)}async function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await(0,c.Z)(),(0,l.eK)(e,t,n)}},38602:function(e,t,n){"use strict";n.d(t,{x:function(){return u},V:function(){return c}});var r=n(38049);const o=n.n(r)()("calypso:analytics:queue"),i={signup:()=>n.e(874).then(n.bind(n,48528))};function s(){if(!window.localStorage)return[];let e=window.localStorage.getItem("analyticsQueue");return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[],e}function a(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];"string"==typeof t&&"function"==typeof i[e]&&i[e]().then((e=>{"function"==typeof e[t]&&e[t].apply(null,r||void 0)}))}function u(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!window.localStorage)return a(e,t,...r);let u=s();const c={moduleName:e,trigger:t,args:r};u.push(c),u=u.slice(-100),o("Adding new item to queue.",c),window.localStorage.setItem("analyticsQueue",JSON.stringify(u))}function c(){if(!window.localStorage)return;const e=s();window.localStorage&&window.localStorage.removeItem("analyticsQueue"),o("Processing items in queue.",e),e.forEach((e=>{"object"==typeof e&&"string"==typeof e.trigger&&(o("Processing item in queue.",e),a(e.moduleName,e.trigger,...e.args))}))}},5323:function(e,t,n){"use strict";n.d(t,{G:function(){return s}});var r=n(78920),o=n(39297),i=n(17032);function s(){if(!window||!window.location)return;const e=window.location.href,t=(0,r.Z)(e),n=(null==t?void 0:t.searchParams.get("aff"))||(null==t?void 0:t.searchParams.get("affiliate")),s=null==t?void 0:t.searchParams.get("cid"),a=null==t?void 0:t.searchParams.get("sid");n&&!isNaN(n)&&((0,i.recordTracksEvent)("calypso_refer_visit",{page:t.host+t.pathname}),(0,o.l)({affiliateId:n,campaignId:s,subId:a,referrer:e}))}},93513:function(e,t,n){"use strict";n.d(t,{n:function(){return d}});var r=n(36115),o=n(13421),i=n(38049),s=n.n(i),a=n(78920);const u=s()("calypso:analytics:sem"),c=["adgroupid","campaignid","device","gclid","gclsrc","fbclid","keyword","matchtype","network","type","term","utm_campaign","utm_content","utm_medium","utm_source","utm_term","targetid","locationid","ref","format"],l=new RegExp("^[a-zA-Z\\d_\\-]{1,128}$");function f(e,t){return-1!==c.indexOf(e)&&("utm_source"===e||"utm_campaign"===t?function(e){return l.test(e)}(t):function(e,t){return"gclid"===e?t.length<=100:"keyword"===e?t.length<=80:t.length<=50}(e,t))}function p(e,t){document.cookie=o.serialize(e,t,{path:"/",maxAge:31536e3,domain:"."+document.location.hostname.split(".").slice(-2).join(".")})}function d(){var e;if(!document.location.search)return void u("No query data in URL.");const t=null===(e=(0,a.Z)(document.location.href))||void 0===e?void 0:e.searchParams;let n=new URLSearchParams;if(t){const e=Array.from(t.entries()).filter((e=>{let[t,n]=e;return f(t,n)}));n=new URLSearchParams(e),t.get("amp_client_id")&&(0,r.lH)(["identifyAnonUser",t.get("amp_client_id")])}if(!n.get("utm_source")||!n.get("utm_campaign"))return void u("Missing utm_source or utm_campaign.");const o=n.toString();o&&(u("ad_details: "+o),p("ad_details",o),p("ad_timestamp",Math.floor((new Date).getTime()/1e3)))}},21058:function(e,t,n){"use strict";var r=n(20899),o=n(35899),i=n(36747),s=n(17014);t.Z=e=>t=>{const n=e.getState(),a={environment:"production",environment_id:(0,r.ZP)("env_id"),site_count:(0,i.bo)(n)||0,site_id_label:"wpcom",client:(0,r.ZP)("client_slug")},u=(0,o.Z)(t.path)?null:(0,s.Z)(n);return u&&Object.assign(a,{blog_id:u.ID,blog_lang:u.lang,site_id_label:u.jetpack?"jetpack":"wpcom",site_plan_id:u.plan?u.plan.product_id:null}),a}},39297:function(e,t,n){"use strict";n.d(t,{l:function(){return c}});var r=n(38049),o=n.n(r),i=n(92819),s=n(17032);const a=o()("calypso:analytics:refer"),u=["status","success","duplicate","description","cookie_id","vendor_id","affiliate_id","campaign_id","sub_id","referrer"];async function c(e){let{affiliateId:t,campaignId:n,subId:r,referrer:o}=e;a("Recording affiliate referral.",{affiliateId:t,campaignId:n,subId:r,referrer:o});const c={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"},l=new URLSearchParams({affiliate_id:t,campaign_id:n||"",sub_id:r||"",referrer:o||""}).toString();a("Fetching Refer platform response.");try{const e=await window.fetch("https://refer.wordpress.com/clicks/67402",{credentials:"include",method:"POST",headers:c,body:l}),t=await e.json();if(e.ok)return a("Recording Refer platform success response.",t),void(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!0,description:t.message||"success"});a("Recording Refer platform error response.",t),(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!1,description:t.message||"error"})}catch(f){a("Failed to fetch Refer platform response.",f)}}},17032:function(e,t,n){"use strict";n.r(t),n.d(t,{tracksEvents:function(){return i},recordTracksEvent:function(){return s},recordTracksPageView:function(){return a},setTracksOptOut:function(){return u}});var r=n(22699),o=n(36115);const i=new r.EventEmitter;function s(e,t){o.MR.once("record-event",((e,t)=>{i.emit("record-event",e,t)})),(0,o.jN)(e,t)}function a(e,t){(0,o.P6)(e,t)}function u(e){(0,o.lH)(["setOptOut",e])}},87360:function(e,t,n){"use strict";var r=n(38049),o=n.n(r);t.Z=o()("calypso:analytics:utils")},1444:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(36115),o=n(20899),i=n(87360),s=n(32486),a=n(69874),u=n(43621);function c(){const e=o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,a.Z)()&&!(0,s.Z)()&&(0,u.Z)();return(0,i.Z)(`isAdTrackingAllowed: ${e}`),e}},76814:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","IS","LI","NO"];function o(e){return void 0!==e&&r.includes(e)}},32486:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87360);const o=["@","email=","email_address=","first=","last=","first-name=","last-name=","address-1=","phone="],i=o.map((e=>encodeURIComponent(e)));function s(){const e=document.location.href,t=t=>-1!==e.indexOf(t),n=o.some(t)||i.some(t);return(0,r.Z)(`Is PII URL: ${n}`),n}},69874:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87360);const o=["/log-in"];function i(){const{href:e}=document.location,t=o.some((t=>-1!==e.indexOf(t)));return(0,r.Z)(`Is URL Excluded for Performance: ${t}`),t}},81653:function(e,t){"use strict";t.Z="marketing-coupons"},43621:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(13421),o=n(87360),i=n(76814);function s(){let e=!1;const t=r.parse(document.cookie);if("yes"===t.sensitive_pixel_option)e=!0;else if("no"===t.sensitive_pixel_option)e=!1;else{const n=t.country_code;e=void 0!==n&&"unknown"!==n&&!(0,i.Z)(n)}return(0,o.Z)(`mayWeTrackCurrentUserGdpr: ${e}`),e}},7369:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(13421),o=n(87360);let i=null;async function s(){const e=r.parse(document.cookie);e.country_code?(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie is fresh: %s",e.country_code):(null===i&&(i=function(){const e=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+e).then((e=>e.ok?e.json():e.body().then((e=>{throw new Error(e)})))).then((e=>e.country_short)).catch((e=>((0,o.Z)("refreshCountryCodeCookieGdpr: error: ",e),"unknown")))}().then((e=>function(e){const t=21600;document.cookie=r.serialize("country_code",e,{path:"/",maxAge:t}),(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie set to %s",e)}(e)))),await i,i=null)}},11915:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87360),o=n(81653),i=n(78920);function s(){const e=(0,i.Z)(window.location.href),t=null==e?void 0:e.searchParams.get("coupon");if(!t)return;let n=null;try{const e=window.localStorage.getItem(o.Z);n=JSON.parse(e)}catch(a){}n||(n={});const s=Date.now();(0,r.Z)("Found coupons in localStorage: ",n),n[t]=s,Object.keys(n).forEach((e=>{s>n[e]+6048e5&&delete n[e]}));try{(0,r.Z)("Storing coupons in localStorage: ",n),window.localStorage.setItem(o.Z,JSON.stringify(n))}catch(a){}}},35899:function(e,t){"use strict";const n=/\/(:site|:site_id|:siteid|:blogid|:blog_id|:siteslug)(\/|$|\?)/i;t.Z=e=>!e||!n.test(e)},78920:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87360);function o(e){const t={"-":"+",_:"/",".":"="};return window.atob(e.replace(/[-_.]/g,(e=>t[e])))}function i(e){try{const t=new URL(e);if((0,r.Z)("urlParseAmpCompatible: original query:",t.search),t.searchParams.has("tk_amp")){const e=function(e){if(0===(e=e.split("*").filter((e=>e.length)).slice(2)).length||0!=e.length%2)return null;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=o(e[n+1]);return t}(t.searchParams.get("tk_amp"));(0,r.Z)("urlParseAmpCompatible: tk_amp:",e);for(const n of Object.keys(e))t.searchParams.has(n)||t.searchParams.set(n,e[n])}return(0,r.Z)("urlParseAmpCompatible: merged query:",t.search),t}catch{return null}}},32919:function(e,t,n){"use strict";n.d(t,{B$:function(){return s}});var r=n(38049);const o=n.n(r)()("calypso:support-user"),i=new Map;async function s(){o("browser-storage bypass","clearStorage"),i.clear()}},66651:function(e,t,n){"use strict";n.d(t,{B$:function(){return P}});var r,o=n(20899),i=n(38049),s=n.n(i),a=n(92819),u=n(7689),c=n(47824),l=n(32919);const f=s()("calypso:browser-storage");let p=!1,d=!1;const h="calypso",g="calypso_store",m="browser-storage-sanity-test",y=o.ZP.isEnabled("safari-idb-mitigation")&&"undefined"!=typeof window&&!(null===(r=window.IDBKeyRange)||void 0===r||!r.lowerBound(0).includes)&&!!window.webkitAudioContext&&!!window.PointerEvent;f("Safari IDB mitigation active: %s",y);const v=(0,c.I)((async()=>{if("undefined"==typeof window||!window.indexedDB)return f("IDB not found in host"),!1;if(d)return f("IDB disabled"),!1;try{const e=Date.now().toString();return await C(m,e),await w(m),!0}catch(e){return!1}})),b=(0,c.I)((()=>{const e=window.indexedDB.open(h,2);return new Promise(((t,n)=>{try{e&&(e.onerror=t=>{e.error&&"InvalidStateError"===e.error.name&&t.preventDefault(),n(e.error)},e.onsuccess=()=>{const n=e.result;n.onerror=function(e){var t,n;f("IDB Error",e),null!==(t=e.target)&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&n.name&&((0,u.P)("calypso-browser-storage",(0,a.kebabCase)(e.target.error.name)),"QuotaExceededError"===e.target.error.name&&(d=!0,v.clear(),f("disabling IDB because we saw a QuotaExceededError")))},n.onversionchange=()=>{n.close()},t(n)},e.onupgradeneeded=()=>e.result.createObjectStore(g))}catch(r){n(r)}}))}));function w(e){return new Promise(((t,n)=>{b().then((r=>{const o=r.transaction(g,"readonly"),i=o.objectStore(g).get(e),s=()=>n(o.error);o.oncomplete=()=>t(i.result),o.onabort=s,o.onerror=s})).catch((e=>n(e)))}))}function _(e){return b().then((t=>new Promise(((n,r)=>{const o={},i=t.transaction(g,"readonly"),s=()=>r(i.error);i.objectStore(g).openCursor().onsuccess=t=>{const r=t.target.result;if(r){const{primaryKey:t,value:n}=r;!t||"string"!=typeof t||t===m||e&&!e.test(t)||(o[t]=n),r.continue()}else n(o)},i.onabort=s,i.onerror=s}))))}let E=0,S=null;async function C(e,t){return S&&await S,y&&++E%20==0&&await async function(){if(S)return S;return f("performing safari idb mitigation"),S=async function(){const e=await _();return await function(){return new Promise(((e,t)=>{const n=window.indexedDB.deleteDatabase(h);n.onsuccess=()=>{b.clear(),e()},n.onerror=e=>t(e)}))}(),new Promise(((t,n)=>{b().then((r=>{const o=r.transaction(g,"readwrite"),i=o.objectStore(g);for(let[t,n]of Object.entries(e))i.put(n,t);const s=()=>t(),a=()=>n(o.error);o.oncomplete=s,o.onabort=a,o.onerror=a}),(e=>n(e)))}))}(),S.finally((()=>{S=null,f("idb mitigation complete")})),S}(),new Promise(((n,r)=>{b().then((async o=>{const i=o.transaction(g,"readwrite");i.objectStore(g).put(t,e);const s=()=>r(i.error);i.oncomplete=()=>n(),i.onabort=s,i.onerror=s})).catch((e=>r(e)))}))}async function P(){if(p)return await(0,l.B$)();if(await v())return await new Promise(((e,t)=>{b().then((n=>{const r=n.transaction(g,"readwrite");r.objectStore(g).clear();const o=()=>t(r.error);r.oncomplete=()=>e(),r.onabort=o,r.onerror=o})).catch((e=>t(e)))}));window.localStorage.clear()}},94776:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});function r(){return"undefined"!=typeof navigator&&navigator.userAgent.includes("wp-e2e-tests")}},50118:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(24050);function o(e){return"string"!=typeof e||-1===e.indexOf("&")?e:(0,r.Z)(e)}},24050:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea");function o(e){r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}},93345:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(99196);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return s("string"==typeof e?e.trim():e,Math.max(1,t-1)).part}const i=/\s+(\S*)$/;function s(e,t){let n=0;if("string"==typeof e&&e.length>0){let r=e,o="";for(;n<t&&i.test(r);){o=" "+i.exec(r)[1]+o,r=r.replace(i,""),n++}return o=r+o,{part:o,substituted:n}}if(Array.isArray(e)&&e.length>0){let r=[],o=e.length-1;for(;n<t&&o>=0;){const i=s(e[o],t-n);r.unshift(i.part),n+=i.substituted,o--}return r=e.slice(0,o+1).concat(r),{part:r,substituted:n}}if((0,r.isValidElement)(e)&&e.props.children){const o=s(e.props.children,t);if(o.substituted>0){const t=Array.isArray(o.part)?o.part:[o.part];return{part:(0,r.cloneElement)(e,e.props,...t),substituted:o.substituted}}return{part:e,substituted:n}}return{part:e,substituted:n}}},8165:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(33927),o=n.n(r);function i(e){return o()(e)}},284:function(e,t,n){"use strict";n.d(t,{HX:function(){return r},fh:function(){return o}});const r="G Suite",o="Google Workspace"},96598:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(10128),o=n(284);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.M)(e)?o.HX:o.fh}},26991:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(11481);const o=()=>r.ZP.getLocaleSlug()},9415:function(e,t,n){"use strict";var r=n(20899);const o=["jetpack-cloud-development","jetpack-cloud-stage","jetpack-cloud-horizon","jetpack-cloud-production"];t.Z=()=>o.includes((0,r.ZP)("env_id"))},16771:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(84898),o=n(38049);const i=n.n(o)()("lib/load-jquery-dependent-script-desktop-wrapper");function s(e,t){i(`Loading a jQuery dependent script from "${e}"`),(0,r.D1)(e,t)}},47824:function(e,t,n){"use strict";function r(e){return function(e){let t,n;const r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.length===t.length&&o.every(((e,n)=>e===t[n]))||(t=o,n=e(...o)),n};return r.clear=()=>{t=void 0,n=void 0},r}(e)}n.d(t,{I:function(){return r}})},7268:function(e,t,n){"use strict";n.d(t,{LP:function(){return a}});var r=n(13421),o=n(23729),i=n.n(o);const s="wpcom_token";function a(){const e=r.parse(document.cookie);if(void 0!==e.wpcom_token)return e.wpcom_token;const t=i().get(s);return t||!1}},26347:function(e,t,n){"use strict";n.d(t,{Nf:function(){return r.N}});var r=n(65337)},65337:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var r=n(20899),o=n(9415);function i(){return(0,o.Z)()?(0,r.ZP)("jetpack_connect_url"):(0,r.ZP)("signup_url")}},77804:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);function o(e){const t=!(!(0,r.get)(e,"discover_metadata")&&53424024!==(0,r.get)(e,"site_ID"));let n;if(t){const t=(0,r.get)(e,"discover_metadata.discover_fp_post_formats"),o=(0,r.find)(t,(e=>"pick"!==e.slug));n=o?o.slug:"feature"}return e.is_discover=t,e.discover_format=n,e}},53544:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(17451),o=n.n(r),i=n(92819),s=n(99891),a=n(59755),u=n(54855),c=n(95822);const l=e=>{if(function(e){if(!e||!e.getAttribute("src"))return!1;const t=e.getAttribute("src"),n=(0,i.some)(["gravatar.com","/wpcom-smileys/"],(e=>(0,i.includes)(t.toLowerCase(),e)));return!(function(e){if(!e||!e.src)return!1;const t=e.height+e.width;return 1===t||2===t}(e)||n)}(e)){const{width:t,height:n}=(0,a.H)(e)||{width:0,height:0};return{src:(0,u.E)(e.getAttribute("src"),s.fY),width:t,height:n,mediaType:"image"}}return!1},f=e=>{const t=o()(e.src);if(t&&(0,i.includes)(["youtube","vimeo","videopress"],t.service)){const t=e.cloneNode();return-1===t.src.indexOf("?")?t.src+="?autoplay=1":t.src+="&autoplay=1",t.outerHTML}return null},p=e=>{let t,n=e;do{if(n.className&&(t=n.className.match(/\bembed-([-a-zA-Z0-9_]+)\b/),t))return t[1]}while(n=n.parentNode);return null};function d(e,t){const n=t.querySelectorAll("img[src], iframe"),r=(0,i.map)(n,(e=>{const t=e.nodeName.toLowerCase();return"iframe"===t?(e=>{if(!(0,c.p)(e))return!1;const t=Number(e.width),n=Number(e.height),r=t/n;return{type:p(e),src:e.src,iframe:e.outerHTML,aspectRatio:r,width:t,height:n,mediaType:"video",autoplayIframe:f(e)}})(e):"img"===t&&l(e)}));return e.content_media=(0,i.compact)(r),e.content_embeds=(0,i.filter)(e.content_media,(e=>"video"===e.mediaType)),e.content_images=(0,i.filter)(e.content_media,(e=>"image"===e.mediaType)),e.featured_image&&(e.featured_image=(0,u.E)(e.featured_image,s.fY)),e}},10363:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(11481),o=n(92819),i=n(6964);const s=['a[href^="http://polldaddy.com/poll/"]','a[href^="https://polldaddy.com/poll/"]','a[href^="http://poll.fm/"]','a[href^="https://poll.fm/"]','a[href^="http://survey.fm/"]','a[href^="https://survey.fm/"]'];function a(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("noscript");return(0,o.forEach)(n,(e=>{if(!e.firstChild)return;const t=(0,i.j)(e.innerHTML).querySelector(s.join(", "));if(t){const n=(t.href.match(/https?:\/\/(polldaddy\.com\/poll|poll\.fm|survey\.fm)\/([0-9]+)/)||[])[2];if(n){const t=document.createElement("p");t.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://poll.fm/'+n+'">'+r.ZP.translate("Take our poll")+"</a>",e.parentNode.replaceChild(t,e)}}})),e}},37183:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(11481),o=n(92819);function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(".pd-embed, .cs-embed");return n?((0,o.forEach)(n,(e=>{let t=null;try{t=JSON.parse(e.getAttribute("data-settings"))}catch(s){return}const{domain:n,id:o}=t;if(!n||!o)return;const i=document.createElement("p");i.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://'+n+o+'">'+r.ZP.translate("Take our survey")+"</a>",e.parentNode.replaceChild(i,e)})),e):e}},40691:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},b:function(){return i}});var r=n(6261);function o(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("audio, video").forEach((e=>e.autoplay=!1)),e}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("iframe").forEach((e=>{const t=(0,r.A)(e.src);t.search&&(t.searchParams=function(e){const t=new URLSearchParams(e);return(Array.from(e.keys()).filter((e=>/^auto_?play$/i.test(e)))||[]).forEach((n=>{const r=e.get(n).toLowerCase();"1"===r?t.set(n,"0"):"true"===r?t.set(n,"false"):t.set(n,r)})),t}(t.searchParams),delete t.search,e.src=(0,r.C)(t).href)})),e}},17431:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);function o(e,t){const n=t.querySelectorAll(".tiled-gallery");return(0,r.forEach)(n,(t=>{let n,o=(0,r.get)(t,["dataset","carouselExtra"],!1);if(!o&&(o=t.getAttribute("data-carousel-extra"),!o))return e;try{n=JSON.parse(o).permalink}catch(s){return e}const i=t.querySelectorAll(".tiled-gallery-item > a");(0,r.forEach)(i,(e=>{const t=e.querySelector("img"),r=t&&t.getAttribute("data-attachment-id");r&&(e.href=n+"#jp-carousel-"+r,e.setAttribute("target","_blank"))}))})),e}},50917:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(6261),o=n(92819),i=n(95822);function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("iframe");if((0,o.forEach)(n,(function(e){(0,o.startsWith)(e.src,"http")?(e.src=e.src.replace(/^http:/,"https:"),!function(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["spotify.com","kickstarter.com","soundcloud.com","embed.ted.com","player.twitch.tv"],(e=>`.${n}`.endsWith("."+e)))}(e)?(0,i.p)(e)?e.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"):e.setAttribute("sandbox","allow-scripts"):e.removeAttribute("sandbox")):e.parentNode.removeChild(e)})),e.is_external||e.is_jetpack){const e=t.querySelectorAll("embed,object");(0,o.forEach)(e,(function(e){e.parentNode.removeChild(e)}))}return e}},30757:function(e,t,n){"use strict";var r=n(6261),o=n(94668),i=n(92819),s=n(70353),a=n(54855);function u(e,t,n){let u=t.getAttribute("src");const c=(0,r.A)(u);if(!c.hostname){const t=(0,r.A)(e.URL);u=(0,r.C)({protocol:t.protocol,host:t.host,pathname:(0,s.Z)(t.pathname,c.pathname)}).href}let l=n?(0,a.E)((0,o.F)(u),n):(0,o.F)(u);if(l||(u=function(e,t){const n=(0,r.A)(e.URL);return t.startsWith("//")?`${n.protocol||"https:"}${t}`:t}(e,u)),!l&&(0,i.startsWith)(u,"https://")&&(l=u),(e=>{if(!e||!e.hasAttributes())return;(0,i.filter)(e.attributes,(e=>(0,i.startsWith)(e.name,"on"))).forEach((t=>e.removeAttribute(t.name))),e.removeAttribute("srcset")})(t),!l||(e=>{if(!e)return;return(0,i.some)(["feeds.feedburner.com","feeds.wordpress.com/",".feedsportal.com","wp-includes","wp-content/themes","wp-content/plugins","stats.wordpress.com","pixel.wp.com"],(t=>(0,i.includes)(e.toLowerCase(),t)))})(u))return t.parentNode.removeChild(t),void t.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");t.setAttribute("src",l)}t.Z=e=>(t,n)=>{if(!n)throw new Error("this transform must be used as part of withContentDOM");const r=n.querySelectorAll("img[src]");return(0,i.forEach)(r,(n=>u(t,n,e))),t}},51088:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(48265);function i(e,t){const n=Array.from(t.querySelectorAll("a[href]"));return(0,r.forEach)(n,(e=>{o.G.test(e.href)||e.removeAttribute("href")})),e}},64e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819);const o=[".sharedaddy","script",".jp-relatedposts",".jp-relatedposts-headline",".mc4wp-form",".wpcnt",".OUTBRAIN",".adsbygoogle","form","input","select","button","textarea"].join(", ");function i(e){e.parentNode&&e.parentNode.removeChild(e)}function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(o);return(0,r.forEach)(n,i),e}},42347:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819);function o(e,t){const n=Element.prototype,r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return!!r&&r.call(e,t)}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n='.gallery, .gallery *, .gallery-row, .gallery-row *, .gallery-group, .gallery-group *, blockquote[class^="instagram-"], blockquote[class^="instagram-"] *, blockquote[class^="twitter-"], blockquote[class^="twitter-"] *',i=t.querySelectorAll("[style]");return(0,r.forEach)(i,(function(e){o(e,n)||e.removeAttribute("style")})),(0,r.forEach)(t.querySelectorAll("style"),(function(e){o(e,n)||e.parentNode&&e.parentNode.removeChild(e)})),(0,r.forEach)(t.querySelectorAll("[align]"),(e=>{"IMG"!==e.tagName&&e.removeAttribute("align")})),e}},47401:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(92819),o=n(33927),i=n.n(o),s=n(6964);function a(e){e.parentNode&&e.parentNode.removeChild(e)}function u(e){return 0===e.childNodes.length?"BR"===e.nodeName&&e:u(e.firstChild)}function c(e){if(!e)return"";const t=(0,s.j)(i()(e,["p","br","sup","sub"]));t.id="__better_excerpt__",Array.from(t.querySelectorAll("p")).filter((e=>0===(0,r.trim)(e.textContent).length)).forEach(a),Array.from(t.querySelectorAll("p")).forEach((e=>{e.removeAttribute("style"),e.removeAttribute("align")})),function(e){if(e)for(;u(e);)a(u(e))}(t),(0,r.forEach)(t.querySelectorAll("#__better_excerpt__ > p, #__better_excerpt__ > br"),(function(e,t){t>=3&&e.parentNode&&e.parentNode.removeChild(e)}));const n=(0,r.trim)(t.innerHTML.replace(/ /g," "));return t.innerHTML="",n}function l(e){if(!e||!e.content)return e;const t=function(e){const t=(0,s.j)(e);return(0,r.forEach)(t.querySelectorAll('.wp-caption, style, script, blockquote[class^="instagram-"], figure, .tiled-gallery'),a),t.innerHTML}(e.content);if(e.content_no_html=(0,r.trim)(i()(t)),e.better_excerpt=c(t),e.better_excerpt_no_html=(0,r.trim)(i()(e.better_excerpt)),e.better_excerpt_no_html){let t=e.better_excerpt_no_html.replace(/\[...\]\w*$/,"…");if(t.length>160){const e=t.lastIndexOf(" ",160);t=t.substring(0,e)+"…"}e.short_excerpt=t}return e}},12800:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(94668),o=n(50118);const i=["excerpt","title","site_name"];function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t.forEach((function(t){e[t]&&(e[t]=(0,o.S)(e[t]))})),e.title=(0,o.S)(e.title),e.parent&&e.parent.title&&(e.parent.title=(0,o.S)(e.parent.title)),e.author&&(e.author.name&&(e.author.name=(0,o.S)(e.author.name)),e.author.avatar_URL&&(e.author.avatar_URL=(0,r.F)(e.author.avatar_URL))),e.tags&&Object.values(e.tags).forEach((function(e){e.name=(0,o.S)(e.name)})),e}},31564:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(94668),o=n(92819);function i(e,t){return function(n){const i=(s=e,a=t,function(e){return e.width>=s&&e.height>=a&&(0,r.F)(e.src)});var s,a;return n.images&&(n.images=(0,o.filter)(n.images,i)),n.content_images&&(n.content_images=(0,o.filter)(n.content_images,i)),n}}},91410:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(48265);function o(e){return e&&e.URL&&!r.G.test(e.URL)&&(e.URL=""),e&&e.short_URL&&!r.G.test(e.short_URL)&&(e.short_URL=""),e}},21036:function(e,t,n){"use strict";function r(e){return e.site_id&&(e.normalized_site_id=(""+e.site_id).replace(/::/g,"/")),e}n.d(t,{Z:function(){return r}})},53317:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),o=n(15721),i=n(75209);function s(e){let t;if((0,o.J)(e.post_thumbnail)){const{URL:n,width:r,height:o}=e.post_thumbnail;t={uri:n,width:r,height:o}}else if(e.content_images&&e.content_images.length){const n=(0,r.find)(e.content_images,i.O);n&&(t={uri:n.src,width:n.width,height:n.height})}return t&&(e.canonical_image=t),e}},66184:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(94668),o=n(92819),i=n(48098);function s(e){if(!e)return!1;const t=100<=e.width,n=75<=e.height;return t&&n}function a(e){return!!e&&("image"===e.mediaType?s(e)&&(0,r.F)(e.src):"video"===e.mediaType&&e.autoplayIframe)}function u(e){if(!e)return e;if((0,i.E)(e.featured_image)&&(!e.post_thumbnail&&e.is_jetpack||s(e.post_thumbnail))&&(0,r.F)(e.featured_image))return e.canonical_media={src:e.featured_image,height:(0,o.get)(e,"post_thumbnail.height"),width:(0,o.get)(e,"post_thumbnail.width"),mediaType:"image"},e;const t=(0,o.find)(e.content_media,a);return t&&(e.canonical_media=t),e}},49147:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);function o(e){const t=(0,r.maxBy)((0,r.values)(e.tags),(function(e){return e.post_count}));return void 0!==t&&(e.primary_tag=t),e}},59654:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(93345);function i(e){return(0,r.forEach)(["excerpt"],(function(t){e[t]&&(e[t]=(0,o.R)(e[t],2))})),e}},36003:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(65956);function i(e){return function(t){return(0,o.O)(t.author,"avatar_URL",e),(0,o.O)(t,"featured_image",e,t.URL),t.post_thumbnail&&(0,o.O)(t.post_thumbnail,"URL",e,t.URL),t.featured_media&&"image"===t.featured_media.type&&(0,o.O)(t.featured_media,"uri",e,t.URL),t.canonical_image&&t.canonical_image.uri&&(0,o.O)(t.canonical_image,"uri",e,t.URL),t.attachments&&Object.values(t.attachments).forEach((function(n){(0,r.startsWith)(n.mime_type,"image/")&&(0,o.O)(n,"URL",e,t.URL)})),t}}},60566:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(8165);function i(e){return(0,r.forEach)(["excerpt","title","site_name"],(function(t){e[t]&&(e[t]=(0,o.C)(e[t]))})),e.author&&e.author.name&&(e.author.name=(0,o.C)(e.author.name)),e}},75659:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(38049),o=n.n(r),i=n(92819),s=n(59755),a=n(15721);const u=o()("calypso:post-normalizer:wait-for-images-to-load");function c(e){const t={src:e.src,width:e.naturalWidth,height:e.naturalHeight};return e instanceof Image&&e.complete&&(t.fetched=!0),t}function l(e){return new Promise((t=>{const n={},r=[];function o(t,o){let i=t&&(0,s.H)(t);if(!i&&e.attachments){const t=Object.values(e.attachments).find((t=>t.URL===e.featured_image));t&&(i=(0,s.H)(t))}i&&(n[o]={src:o,naturalWidth:i.width,naturalHeight:i.height}),r.push(o)}if((0,a.J)(e.post_thumbnail)?o(e.post_thumbnail,e.post_thumbnail.URL):e.featured_image&&o(null,e.featured_image),(0,i.forEach)(e.content_images,(e=>o(e,e.src))),0===r.length)return void t(e);const l={};let f=r.slice(0,10).map((e=>{return e in n?Promise.resolve(n[e]):(t=function(e){const t=new Image;return t.src=e,t}(e),t.complete&&t.naturalWidth>0?Promise.resolve(t):new Promise(((e,n)=>{t.onload=()=>e(t),t.onerror=()=>n(t)})));var t}));f.forEach((n=>{n.then((e=>{l[e.src]=e})).catch((t=>(u("failed to load image",t,e),null))).then((()=>{if(f=f.filter((e=>e!==n)),0===f.length){const n=r.map((e=>l[e])).filter(Boolean);o=n,e.featured_image&&(o.some((t=>t.src===e.featured_image))||(e.featured_image=null)),e.images=o.map(c),e.content_images=(0,i.map)(e.content_images,(t=>e.images.find((e=>e.src===t.src)))).filter(Boolean),e.content_media=(0,i.map)(e.content_media,(t=>{if("image"===t.mediaType){const n=e.images.find((e=>e.src===t.src));return{...t,...n}}return t})),t(e)}var o})).catch((e=>{u("Fulfilling promise failed",e)}))}))}))}},55454:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(6964);function i(e){return function(t){if(!t||!t.content||!e)return t;const n=(0,o.j)(t.content);return(t=(0,r.reduce)(e,((e,t)=>t(e,n)),t)).content=n.innerHTML,n.innerHTML="",t}}},59755:function(e,t,n){"use strict";function r(e){if(e.height&&e.width)return{height:e.height,width:e.width};if(e.naturalHeight&&e.naturalWidth)return{height:e.naturalHeight,width:e.naturalWidth};if(e.dataset&&e.dataset.origSize){const[t,n]=e.dataset.origSize.split(",").map(Number);return{width:t,height:n}}return null}n.d(t,{H:function(){return r}})},6964:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof DOMParser&&window.DOMParser.prototype.parseFromString){const t=(new window.DOMParser).parseFromString(e,"text/html");if(t&&t.body)return t.body}const t=document.implementation.createHTMLDocument("processing doc").createElement("div");return t.innerHTML=e,t}n.d(t,{j:function(){return r}})},95822:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(6261),o=n(92819);function i(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["youtube.com","youtube-nocookie.com","videopress.com","video.wordpress.com","vimeo.com","cloudup.com","soundcloud.com","8tracks.com","spotify.com","me.sh","bandcamp.com","kickstarter.com","facebook.com","embed.itunes.apple.com","nyt.com","google.com","mixcloud.com","players.brightcove.net","embed.ted.com","fast.wistia.net","player.twitch.tv","archive.org","codepen.io","www.audiomack.com","player.theplatform.com","embed.radiopublic.com","gfycat.com","scribd.com","megaphone.fm","icloud.com","read.amazon.com","loom.com"],(function(e){return`.${n}`.endsWith("."+e)}))}},75209:function(e,t,n){"use strict";function r(e){return!!e&&(!(e.width<100)&&!(e.width*e.height<7500))}n.d(t,{O:function(){return r}})},48098:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(6261),o=n(92819);function i(e){if(!e)return!1;const t=(0,r.A)(e).pathname;return(0,o.some)([".jpg",".jpeg",".png",".gif"],(e=>t.endsWith(e)))}},65956:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(6261),o=n(94668),i=n(54855),s=n(70353);function a(e,t,n,a){if(e&&e[t]){const u=(0,r.A)(e[t]);if(a&&!u.hostname){const{pathname:n}=(0,r.A)(a),o=(0,s.Z)(n,e[t]);e[t]=(0,r.C)({...u,protocol:a.protocol,hostname:a.hostname,pathname:o}).href}e[t]=(0,o.F)(e[t]),n&&(e[t]=(0,i.E)(e[t],n))}}},54855:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var r=n(6261),o=n(4174),i=n(78038);const s="undefined"!=typeof window&&window.devicePixelRatio&&window.devicePixelRatio>1?2:1,a={photon:/(^[is]\d\.wp\.com|(^|\.)wordpress\.com)$/,gravatar:/(^|\.)gravatar\.com$/};function u(e,t){if(!e)return e;const n=(0,r.A)(e),u=(0,o.D)(e);if(!n.host)return e;const c=Object.keys(a).find((e=>n.hostname.match(a[e])));delete n.search;for(const r of["h","crop","resize","fit"])n.searchParams.delete(r);const l="gravatar"===c?"s":"w";n.searchParams.set(l,t*s),"gravatar"!==c&&(n.searchParams.set("quality",80),n.searchParams.set("strip","info"));const f=Array.from(n.searchParams.keys()).sort(),p=new URLSearchParams;f.forEach((e=>p.set(e,n.searchParams.get(e))));const d=(0,r.C)({...n,protocol:n.protocol||"https:",searchParams:p}).href;try{return(0,i.Z)(d,u)}catch{return d}}},48265:function(e,t,n){"use strict";n.d(t,{G:function(){return r},m:function(){return o}});const r=/^https?:\/\//;function o(e){if(r.test(e))return e}},15721:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(48098);function o(e){return!(!e||!e.URL)&&(0,r.E)(e.URL)}},29950:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(92819);function o(e){const t={id:Number(e.ID),active:Boolean(e.active),amount:Number(e.amount),attachedToPurchaseId:Number(e.attached_to_purchase_id),billPeriodDays:Number(e.bill_period_days),billPeriodLabel:e.bill_period_label,mostRecentRenewDate:e.most_recent_renew_date,canDisableAutoRenew:Boolean(e.can_disable_auto_renew),canReenableAutoRenewal:Boolean(e.can_reenable_auto_renewal),canExplicitRenew:Boolean(e.can_explicit_renew),costToUnbundle:e.cost_to_unbundle?Number(e.cost_to_unbundle):Number(e.amount),costToUnbundleText:e.cost_to_unbundle_display?e.cost_to_unbundle_display:e.price_text,currencyCode:e.currency_code,currencySymbol:e.currency_symbol,description:e.description,domain:e.domain,domainRegistrationAgreementUrl:e.domain_registration_agreement_url||null,error:null,blogCreatedDate:e.blog_created_date,expiryDate:e.expiry_date,expiryStatus:(0,r.camelCase)(e.expiry_status),iapPurchaseManagementLink:e.iap_purchase_management_link,includedDomain:e.included_domain,includedDomainPurchaseAmount:e.included_domain_purchase_amount,introductoryOffer:e.introductory_offer?{costPerInterval:Number(e.introductory_offer.cost_per_interval),endDate:String(e.introductory_offer.end_date),intervalCount:Number(e.introductory_offer.interval_count),intervalUnit:String(e.introductory_offer.interval_unit),isWithinPeriod:Boolean(e.introductory_offer.is_within_period),transitionAfterRenewalCount:Number(e.introductory_offer.transition_after_renewal_count),isNextRenewalUsingOffer:Boolean(e.introductory_offer.is_next_renewal_using_offer),remainingRenewalsUsingOffer:Number(e.introductory_offer.remaining_renewals_using_offer),shouldProrateWhenOfferEnds:Boolean(e.introductory_offer.should_prorate_when_offer_ends),isNextRenewalProrated:Boolean(e.introductory_offer.is_next_renewal_prorated)}:null,isCancelable:Boolean(e.is_cancelable),isDomainRegistration:Boolean(e.is_domain_registration),isLocked:Boolean(e.is_locked),isInAppPurchase:Boolean(e.is_iap_purchase),isRechargeable:Boolean(e.is_rechargable),isRefundable:Boolean(e.is_refundable),isRenewable:Boolean(e.is_renewable),isRenewal:Boolean(e.is_renewal),meta:e.meta,priceText:e.price_text,partnerName:e.partner_name,partnerSlug:e.partner_slug,partnerKeyId:e.partner_key_id,payment:{name:e.payment_name,type:e.payment_type,countryCode:e.payment_country_code,countryName:e.payment_country_name,storedDetailsId:e.stored_details_id},pendingTransfer:Boolean(e.pending_transfer),productId:Number(e.product_id),productName:e.product_name,productSlug:e.product_slug,productDisplayPrice:e.product_display_price,totalRefundAmount:Number(e.total_refund_amount),totalRefundText:e.total_refund_text,refundAmount:Number(e.refund_amount),refundOptions:e.refund_options,refundText:e.refund_text,refundPeriodInDays:e.refund_period_in_days,regularPriceText:e.regular_price_text,renewDate:e.renew_date,saleAmount:e.sale_amount,siteId:Number(e.blog_id),siteName:e.blogname,subscribedDate:e.subscribed_date,subscriptionStatus:e.subscription_status,tagLine:e.tag_line,taxAmount:e.tax_amount,taxText:e.tax_text,purchaseRenewalQuantity:e.renewal_price_tier_usage_quantity||null,userId:Number(e.user_id),isAutoRenewEnabled:"1"===e.auto_renew};return"credit_card"===e.payment_type&&(t.payment.creditCard={id:Number(e.payment_card_id),type:e.payment_card_type,processor:e.payment_card_processor,number:e.payment_details,expiryDate:e.payment_expiry}),"paypal_direct"===e.payment_type&&(t.payment.expiryDate=e.payment_expiry),t}function i(e){return Array.isArray(e)?e.map(o):[]}},2623:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(37754);const s="__DELETE",a=new WeakMap,u=[];class c{constructor(e,t){this.data=Object.assign({items:{},queries:{}},e),this.options=Object.assign({itemKey:"ID"},t)}static mergeItem(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){if(t.__DELETE)return;return Object.assign({},e,t)}return t}static matches(e,t){return!!t}static compare(e,t,n){return t===n?0:n-t}static sort(e,t,n){e.sort(((e,r)=>t[e]&&t[r]?this.compare(n,t[e],t[r]):0))}getItem(e){return this.data.items[e]}getItems(e){let t=null;if(e){var n;const r=this.constructor.QueryKey.stringify(e);if(t=null===(n=this.data.queries[r])||void 0===n?void 0:n.itemKeys,!t)return null}return function(e,t){let n=a.get(e);if(n||(n=new WeakMap,a.set(e,n)),null==t){let t=n.get(u);return t||(t=(0,o.values)(e),n.set(u,t)),t}let r=n.get(t);return r||(r=t.map((t=>e[t])),n.set(t,r)),r}(this.data.items,t)}getFound(e){const t=this.constructor.QueryKey.stringify(e);return(0,o.get)(this.data.queries,[t,"found"],null)}removeItem(e){return this.removeItems([e])}removeItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.receive(e.map((e=>({[this.options.itemKey]:e,[s]:!0}))),{patch:!0})}receive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(e)||(e=[e]);const n=(0,o.reduce)(e,((e,n)=>{const r=n[this.options.itemKey],i=this.getItem(r),s=this.constructor.mergeItem(i,n,t.patch);return void 0===s?i?(0,o.omit)(e,r):e:(i&&(0,o.isEqual)(s,i)||(e===this.data.items&&(e=(0,o.clone)(e)),e[r]=s),e)}),this.data.items);let r,i=n!==this.data.items,s=this.data.queries,a=!1;if(!i&&!t.query)return this;if(t.query){const n=(0,o.map)(e,this.options.itemKey);let u,c;if(r=this.constructor.QueryKey.stringify(t.query),a=!this.data.queries[r],!a&&(0,o.isEqual)(this.data.queries[r].itemKeys,n)||(u=t.mergeQuery&&!a?(0,o.difference)(this.data.queries[r].itemKeys,n):n),t.found>=0&&t.found!==(0,o.get)(s,[r,"found"])&&(c=t.found),u||c>=0){i=!0;const e=Object.assign({},s[r]);u&&(e.itemKeys=u),c>=0&&(e.found=c),s=Object.assign({},s,{[r]:e})}}return s=(0,o.reduce)(s,((s,u,c)=>{s[c]=u;const l=r&&r===c;if(l&&(a||!t.mergeQuery))return s;if(!l&&t.dontShareQueryResultsWhenQueriesAreDifferent)return s;const f=!l,p=this.constructor.QueryKey.parse(c);let d=!1;return e.forEach((e=>{const t=e[this.options.itemKey],r=n[t],i=s[c].itemKeys.indexOf(t);-1!==i?r&&this.constructor.matches(p,r)||(s[c]===u&&(s[c]=(0,o.clone)(u)),s[c].itemKeys=[...s[c].itemKeys.slice(0,i),...s[c].itemKeys.slice(i+1)],f&&Number.isFinite(s[c].found)&&s[c].found--):r&&this.constructor.matches(p,r)&&(s[c]===u&&(s[c]=(0,o.clone)(u)),f&&Number.isFinite(s[c].found)&&s[c].found++,s[c].itemKeys=(0,o.get)(s,[c,"itemKeys"],[]).concat(t),d=!0)})),d&&this.constructor.sort(s[c].itemKeys,n,p),i=i||s[c]!==u,s}),{}),i?new this.constructor(Object.assign({},this.data,{items:n,queries:s}),this.options):this}}(0,r.Z)(c,"QueryKey",i.Z)},37754:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(56666),o=n(92819);class i{static omit(e){const{OMIT_NULL_VALUES:t,DEFAULT_QUERY:n}=this;return t||n?(0,o.omitBy)(e,((e,r)=>!(!t||null!==e)||!(!n||n[r]!==e))):e}static stringify(e){const t=this.omit(e),n=(0,o.sortBy)(Object.entries(t),(e=>e[0]));return JSON.stringify(n)}static parse(e){return this.omit(Object.fromEntries(JSON.parse(e)))}}(0,r.Z)(i,"DEFAULT_QUERY",null),(0,r.Z)(i,"OMIT_NULL_VALUES",!1)},88425:function(e,t,n){"use strict";n.d(t,{t:function(){return r},H:function(){return o}});const r={number:20,page:1},o=["number","offset","page"]},44550:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(2623),s=n(88425),a=n(27866);const u=new WeakMap;class c extends i.Z{static hasQueryPaginationKeys(e){return!!e&&s.H.some((t=>e.hasOwnProperty(t)))}getItems(e){if(!e)return super.getItems(e);const t=this.getItemsIgnoringPage(e,!0);if(!t)return t;const n=e.page||this.constructor.DefaultQuery.page,r=e.number||this.constructor.DefaultQuery.number;return function(e,t,n){let r=u.get(e);r||(r=new Map,u.set(e,r));const o=`${t}/${n}`;let i=r.get(o);return i||(i=e.slice(t,t+n),r.set(o,i)),i}(t,(n-1)*r,r)}getItemsIgnoringPage(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;const n=super.getItems((0,o.omit)(e,s.H));return!n||t?n:n.filter((e=>void 0!==e))}getNumberOfPages(e){const t=this.getFound(e);if(null===t)return t;const n=e.number||this.constructor.DefaultQuery.number;return Math.ceil(t/n)}receive(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;t.query&&(n=Object.assign({mergeQuery:!0},t,{query:(0,o.omit)(t.query,s.H)}));const r=super.receive(e,n);if(this===r)return r;if(!this.constructor.hasQueryPaginationKeys(t.query))return r;const i=this.constructor.QueryKey.stringify(t.query),a=t.query.page||this.constructor.DefaultQuery.page,u=t.query.number||this.constructor.DefaultQuery.number,c=(a-1)*u,l=r.data.queries[i];Array.isArray(e)||(e=[e]);const f=e.map((e=>e[this.options.itemKey])),p=(0,o.cloneDeep)(l);if(p.hasOwnProperty("found")&&e.length<u){const e=this.data.queries[i];e&&e.hasOwnProperty("found")&&(p.found=Math.max(e.found,p.found))}return p.itemKeys=[...(0,o.range)(0,c).map((e=>{const t=l.itemKeys[e];if(!f.includes(t))return t})),...(0,o.range)(0,u).map((e=>f[e])),...l.itemKeys.slice(c+u).filter((e=>e&&!f.includes(e)))],p.hasOwnProperty("found")&&(p.itemKeys=(0,o.range)(0,p.found).map((e=>p.itemKeys[e]))),new this.constructor(Object.assign({},r.data,{queries:Object.assign({},r.data.queries,{[i]:p})}),r.options)}}(0,r.Z)(c,"QueryKey",a.Z),(0,r.Z)(c,"DefaultQuery",s.t)},27866:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),o=n(37754),i=n(88425);class s extends o.Z{static stringify(e){return super.stringify((0,r.omit)(e,i.H))}static parse(e){return(0,r.omit)(super.parse(e),i.H)}}},725:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},3982:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(56666),o=n(92819),i=n(76292),s=n.n(i),a=n(44550),u=n(725),c=n(93039);class l extends a.Z{static matches(e,t){const n=Object.assign({},this.DefaultQuery,e);return Object.entries(n).every((e=>{let[n,r]=e;switch(n){case"search":{if(!r)return!0;const e=r.toLowerCase();return t.title&&t.title.toLowerCase().includes(e)||t.content&&t.content.toLowerCase().includes(e)}case"after":case"before":case"modified_after":case"modified_before":{const e=s()(r,s().ISO_8601),o=/after$/.test(n)?"isAfter":"isBefore",i=/^modified_/.test(n)?"modified":"date";return e.isValid()&&s()(t[i])[o](e)}case"term":return Object.entries(r).every((e=>{let[n,r]=e;return r=r.split(","),(0,o.some)(t.terms[n],(e=>{let{slug:t}=e;return r.includes(t)}))}));case"tag":case"category":{if(!r)return!0;const e=r.toLowerCase(),i="tag"===n?"tags":"categories";return(0,o.some)(t[i],(t=>{let{name:n,slug:r}=t;return n&&n.toLowerCase()===e||r&&r.toLowerCase()===e}))}case"type":return"any"===r||r===t.type;case"parent_id":return r===t.parent||t.parent&&r===t.parent.ID;case"exclude":return Array.isArray(r)?!r.includes(t.ID):r!==t.ID;case"sticky":return"require"===r?t.sticky:"exclude"!==r||!t.sticky;case"author":return(0,o.get)(t,"author.ID",t.author)===r;case"status":return"any"===r||String(r).split(",").some((e=>e===t[n]))}return!0}))}static compare(e,t,n){let r;switch(e.order_by){case"ID":r=t.ID-n.ID;break;case"comment_count":r=(0,o.get)(t.discussion,"comment_count",0)-(0,o.get)(n.discussion,"comment_count",0);break;case"title":r=t.title.localeCompare(n.title);break;case"modified":r=new Date(t.modified)-new Date(n.modified);break;default:r=new Date(t.date)-new Date(n.date)}return e.order&&!/^desc$/i.test(e.order)||(r*=-1),r||0}}(0,r.Z)(l,"QueryKey",c.Z),(0,r.Z)(l,"DefaultQuery",u.e)},93039:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819),o=n(27866),i=n(725);function s(e,t){return null==e||i.e[t]===e}class a extends o.Z{static stringify(e){return super.stringify((0,r.omitBy)(e,s))}static parse(e){return(0,r.omitBy)(super.parse(e),s)}}},41900:function(e,t,n){"use strict";var r=n(24869),o=n.n(r);n(92819);const i=o()({additionalProperties:!1,required:["data","options"],type:"object",properties:{data:{additionalProperties:!1,type:"object",properties:{items:{type:"object"},queries:{additionalProperties:!1,type:"object",patternProperties:{"^\\[.*\\]$":{required:["itemKeys"],type:"object",properties:{itemKeys:{type:"array",items:{type:["integer","null","string"]}},found:{type:"integer"}}}}}}},options:{additionalProperties:!0,required:["itemKey"],type:"object",properties:{itemKey:{type:"string"}}}}});t.Z=i},96252:function(e,t,n){"use strict";function r(e,t,n,r){if(!t)return e;const o=e[t]||r&&r();if(!o)return e;const i=n(o);return i===o?e:{...e,[t]:i}}n.d(t,{Z:function(){return r}})},55347:function(e,t){"use strict";t.Z=e=>"/"===e?e:e.replace(/\/$/,"")},72537:function(e,t,n){"use strict";n.d(t,{Cm:function(){return o}});n(92819);var r=n(47307);function o(e){return e.filter((t=>{const n=(0,r.ce)(t.URL);return!t.jetpack&&e.some((e=>e.jetpack&&n===(0,r.ce)(e.URL)))})).map((e=>e.ID))}},40822:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(4174),o=n(78038),i=n(92819);function s(e,t){if("object"!=typeof e)throw new Error("addQueryArgs expects the first argument to be an object.");if("string"!=typeof t)throw new Error("addQueryArgs expects the second argument to be a string.");const n=(0,r.D)(t);if(n===r.a.INVALID)throw new Error("addQueryArgs expects the second argument to be a valid URL.");e=(0,i.pickBy)(e,(e=>null!=e));const s=new URL(t,"http://__domain__.invalid"),a=new URLSearchParams(s.search);for(const r of Object.keys(e))a.set(r,String(e[r]));if(n===r.a.PATH_RELATIVE){let e=a.toString();return""!==e&&(e=`?${e}`),""!==s.search?t.replace(s.search,e):s.hash?t.replace(s.hash,`${e}${s.hash}`):`${t}${e}`}return s.search=a.toString(),(0,o.Z)(s,n)}},47307:function(e,t,n){"use strict";n.d(t,{ce:function(){return o},nq:function(){return i}});const r=/^https?:\/\//;function o(e){return""===e?"":e?e.replace(r,""):null}function i(e){return e?o(e).replace(/\//g,"::"):null}},70353:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4174);function o(e,t){e=e||"/";if((0,r.D)(e)!==r.a.PATH_ABSOLUTE)throw new Error("`basePath` should be an absolute path");const n=new URL("http://__domain__.invalid/");return n.pathname=e,t?(n.pathname=(n.pathname.endsWith("/")?n.pathname.slice(0,-1):n.pathname)+(t.startsWith("/")?"":"/")+t,n.pathname):n.pathname}},29726:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(50118),o=n(41333);const i=["ID","display_name","username","avatar_URL","site_count","jetpack_site_count","visible_site_count","jetpack_visible_site_count","date","has_unseen_notes","newest_note_type","phone_account","email","email_verified","is_valid_google_apps_country","user_ip_country_code","logout_URL","primary_blog","primary_blog_is_jetpack","has_jetpack_partner_access","jetpack_partner_types","primary_blog_url","meta","is_new_reader","social_login_connections","abtests","lasagna_jwt","i18n_empathy_mode","use_fallback_for_incomplete_languages"],s=["ID"],a=["display_name","description","user_URL"];function u(e){if("object"!=typeof e)throw new Error("the /me response is not an object");for(const n of s)if(!e.hasOwnProperty(n))throw new Error(`the /me response misses a required field '${n}'`);const t={};for(const n of i){const o=e[n];t[n]=o&&a.includes(n)?(0,r.S)(o):o}return Object.assign(t,(0,o.B)(e))}},41333:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(47307);function o(e){const t=e.primary_blog_url||"";return{primarySiteSlug:(n=t,(0,r.ce)(n).replace(/\//g,"::")),localeSlug:e.language,localeVariant:e.locale_variant};var n}},26935:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(20899);function o(e,t){let n,o="";return null==e||!e.logout_URL||r.ZP.isEnabled("always_use_logout_url")?(null!=e&&e.localeSlug&&""!==e.localeSlug&&"en"!==e.localeSlug&&(o=e.localeSlug+"."),n=(0,r.ZP)("logout_url").replace("|subdomain|",o)):n=e.logout_URL,"string"==typeof t&&(n+=t="&redirect_to="+encodeURIComponent(t)),n}},59852:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(72429);function o(){return r.Z.me().get({meta:"flags"})}},65792:function(e,t,n){"use strict";n.d(t,{YF:function(){return s}});var r=n(23729),o=n.n(r),i=n(66651);async function s(){o().clearAll(),await(0,i.B$)()}},72429:function(e,t,n){"use strict";var r=n(20899),o=n(38049),i=n.n(o),s=n(18552),a=n(7268),u=n(33300),c=n(12902),l=n(54083),f=n(78009),p=n(21286);const d=i()("calypso:wp");let h;r.ZP.isEnabled("oauth")?h=(0,c.Z)(a.LP(),l.Z):(h=(0,c.Z)(s.ZP),h.request({metaAPI:{accessAllUsersBlogs:!0}},(function(e){if(e)throw e;d('Proxy now running in "access all user\'s blogs" mode')}))),h=(0,u.Z)(h),(0,p.J)(h),(0,f.rc)(h),t.Z=h;(0,c.Z)(l.Z)},78009:function(e,t,n){"use strict";n.d(t,{rc:function(){return u}});var r=n(19126),o=n(23729),i=n.n(o);const s="guest_sandbox_ticket",a=()=>i().get(s),u=e=>{const t=e.request.bind(e);Object.assign(e,{request(e,n){const o=a();if(o){const t=(0,r.parse)(e.query);e=Object.assign({},e,{query:(0,r.stringify)(Object.assign(t,{store_sandbox_ticket:o.value}))})}return t(e,n)}})};(()=>{if("undefined"==typeof window)return;(()=>{const e=a();e&&e.createdDate<Date.now()-72e5&&i().remove(s)})();const e=(0,r.parse)(window.location.search.replace("?",""));e.guest_ticket&&i().set(s,{createdDate:Date.now(),value:e.guest_ticket})})()},21286:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(11481),o=n(19126);function i(e){const t=e.request.bind(e);return Object.assign(e,{localized:!0,request:function(e,n){return t(function(e){const t=r.ZP.getLocaleVariant()||r.ZP.getLocaleSlug();if(!t||"en"===t)return e;let n;const i=(0,o.parse)(e.query);return n=e.apiNamespace?{_locale:t}:{locale:t},Object.assign(e,{query:(0,o.stringify)(Object.assign(n,i))})}(e),n)}})}},33300:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19126);function o(e){let t="",n="",o=null;const i=e.request.bind(e);return Object.assign(e,{addSupportParams:function(e){return{...e,support_user:t,_support_token:n}},setSupportUserToken:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;return(e!==t||r!==n)&&(t=e,n=r,o=i,!0)},request:(e,s)=>t&&n?i(function(e){const o=(0,r.parse)(e.query);return o.support_user=t,o._support_token=n,Object.assign({},e,{query:(0,r.stringify)(o)})}(e),((e,t)=>{o&&"invalid_support_token"===(null==e?void 0:e.error)?o(e):s(e,t)})):i(e,s)})}},12902:function(e,t,n){"use strict";var r=n(91285),o=n.n(r),i=n(91202);function s(e,t){if(!(this instanceof s))return new s(e,t);"function"==typeof e?(t=e,e=null):e&&this.loadToken(e),i.Z.call(this,e,(function(e,n){return this.isTokenLoaded()&&(e={...e,authToken:this._token,token:this._token}),t(e,n)}))}o()(s,i.Z),i.Z.prototype.loadToken=function(e){this._token=e},s.prototype.isTokenLoaded=function(){return void 0!==this._token},t.Z=s},54083:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(26935),o=n(65792);async function i(e,t){return(0,(await n.e(361).then(n.bind(n,3614))).default)(e,(async function(e,n,i){e&&"InvalidTokenError"===e.name&&(await(0,o.YF)(),window.location.href=(0,r.K)()),t(e,n,i)}))}},1422:function(e,t,n){"use strict"},77270:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});const r={widgets:["panel","widgets"],fonts:["section","jetpack_fonts"],identity:["section","title_tagline"],"custom-css":["section","jetpack_custom_css"],amp:["section","amp_design"],menus:["panel","nav_menus"],homepage:["section","static_front_page"],jetpack_search:["section","jetpack_search"]};function o(e){if(r.hasOwnProperty(e)){const[t,n]=r[e];return{[`autofocus[${t}]`]:n}}return null}},83373:function(e,t,n){"use strict";var r=n(20899);n(92819),n(7728);(0,r.ZP)("discover_blog_id")},58414:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){if("undefined"==typeof document)return;const e=document.documentElement.clientWidth;return e>1040?720:e>928?e-304:e>660?e-288:e-20}},77327:function(e,t,n){"use strict";function r(e){if(e)return e.feed_ID&&e.feed_item_ID?{feedId:e.feed_ID,postId:e.feed_item_ID}:e.is_external?{feedId:e.feed_ID||e.site_ID,postId:e.feed_item_ID||e.ID}:{blogId:e.site_ID,postId:e.ID}}function o(e,t){return e===t||!(!e&&t||e&&!t||!e&&!t&&e!==t)&&(!(e.isGap&&!t.isGap||!e.isGap&&t.isGap)&&(e.isGap&&t.isGap?e.from===t.from&&e.to===t.to:e.postId===t.postId&&(e.feedId?e.feedId===t.feedId:e.blogId===t.blogId)))}function i(e){if(!e||e.isGap)return null;if(e.isCombination){const t=e.feedId?`&feedId=${e.feedId}`:"",n=e.blogId?`&feedId=${e.blogId}`:"";return`postIds=[${e.postIds.join(",")}, ]${t}${n} `}return e.isRecommendationBlock?`rec-${e.index}`:e.feedId?`${e.postId}-${e.feedId}`:e.blogId?`${e.postId}-${e.blogId}`:null}function s(e){return e&&e.postId&&(e.blogId||e.feedId)}n.d(t,{WO:function(){return r},NK:function(){return o},C$:function(){return i},J0:function(){return s}})},7728:function(e,t,n){"use strict";var r=n(20899);(0,r.ZP)("discover_blog_id"),(0,r.ZP)("discover_feed_id")},29789:function(e,t,n){"use strict";n.d(t,{yg:function(){return u}});var r=n(38049),o=n.n(r),i=(n(92819),n(44567),n(7689));n(17032);const s=o()("calypso:reader:stats");const a=new Set;function u(e,t,n,r){if(!e||!t||!n)return;const o={ref:"http://wordpress.com/",reader:1,host:t.replace(/.*?:\/\//g,""),blog:e,post:n};r&&(o.priv=1),s("reader page view for post",o),(0,i.S)(o)}a.add("calypso_reader_related_post_from_same_site_clicked").add("calypso_reader_related_post_from_other_site_clicked").add("calypso_reader_related_post_site_clicked").add("calypso_reader_article_liked").add("calypso_reader_article_commented_on").add("calypso_reader_article_opened").add("calypso_reader_searchcard_clicked").add("calypso_reader_author_link_clicked").add("calypso_reader_permalink_click").add("calypso_reader_recommended_post_clicked").add("calypso_reader_recommended_site_clicked").add("calypso_reader_recommended_post_dismissed")},46310:function(e,t,n){"use strict";n.d(t,{qb:function(){return r}});n(92819),n(76292),n(83373);function r(e,t){return e&&t&&e.xPostMetadata&&t.xPostMetadata&&e.xPostMetadata.blogId&&e.xPostMetadata.blogId===t.xPostMetadata.blogId&&e.xPostMetadata.postId&&e.xPostMetadata.postId===t.xPostMetadata.postId}},40211:function(e,t,n){"use strict";n.d(t,{u2u:function(){return r},Wj3:function(){return o},lAo:function(){return i},K5f:function(){return s},ti2:function(){return a},Fux:function(){return u},JYg:function(){return c},gm2:function(){return l},uBM:function(){return f},KAg:function(){return p},w6q:function(){return d},M5U:function(){return h},tGX:function(){return g},K1T:function(){return m},sQe:function(){return y},HYG:function(){return v},HCR:function(){return b},T6o:function(){return w},ON1:function(){return _},sBg:function(){return E},zVI:function(){return S},DGo:function(){return C},gQI:function(){return P},cnn:function(){return k},G1W:function(){return I},dAl:function(){return A},YPU:function(){return T},iHL:function(){return R},H6A:function(){return O},vQd:function(){return x},o9b:function(){return F},Mei:function(){return L},nHy:function(){return U},oH7:function(){return Z},f5U:function(){return D},AKl:function(){return j},M7f:function(){return N},Sur:function(){return M},$Tb:function(){return q},IoY:function(){return B},Ylp:function(){return H},k_K:function(){return V},myH:function(){return $},yGK:function(){return W},IwF:function(){return z},R_D:function(){return G},kJ4:function(){return Q},Syf:function(){return Y},vsK:function(){return K},qjX:function(){return J},$tj:function(){return X},Do$:function(){return ee},ILV:function(){return te},SgU:function(){return ne},tyO:function(){return re},eYx:function(){return oe},c2t:function(){return ie},Xeb:function(){return se},xm0:function(){return ae},Oh9:function(){return ue},ftJ:function(){return ce},kUt:function(){return le},XTm:function(){return fe},vO0:function(){return pe},JqF:function(){return de},NnF:function(){return he},aqr:function(){return ge},WkZ:function(){return me},hxz:function(){return ye},C6k:function(){return ve},T3s:function(){return be},X5K:function(){return we},h2B:function(){return _e},Rp6:function(){return Ee},LbL:function(){return Se},xkR:function(){return Ce},kNW:function(){return Pe},oD3:function(){return ke},RFP:function(){return Ie},rgA:function(){return Ae},AVO:function(){return Te},a7F:function(){return Re},PP1:function(){return Oe},pgH:function(){return xe},Ra4:function(){return Fe},nL0:function(){return Le},F1Z:function(){return Ue},JZv:function(){return Ze},R$r:function(){return De},NYz:function(){return je},gpX:function(){return Ne},Se1:function(){return Me},bE0:function(){return qe},vIA:function(){return Be},N__:function(){return He},CNw:function(){return Ve},hZH:function(){return $e},KF6:function(){return We},WYe:function(){return ze},vP0:function(){return Ge},hYA:function(){return Qe},XMF:function(){return Ye},LEp:function(){return Ke},A4M:function(){return Je},pSd:function(){return Xe},PD1:function(){return et},N8o:function(){return tt},XuD:function(){return nt},lCo:function(){return rt},JPH:function(){return ot},kLL:function(){return it},dGx:function(){return st},WjV:function(){return at},RIF:function(){return ut},gbe:function(){return ct},pJb:function(){return lt},m58:function(){return ft},_qM:function(){return pt},Fsf:function(){return dt},$5Y:function(){return ht},XMH:function(){return gt},_MG:function(){return mt},RSp:function(){return yt},Nq:function(){return vt},IK5:function(){return bt},bgv:function(){return wt},tvw:function(){return _t},U5d:function(){return Et},QLz:function(){return St},D5g:function(){return Ct},SYS:function(){return Pt},t2O:function(){return kt},wOJ:function(){return It},dyA:function(){return At},RI4:function(){return Tt},fa4:function(){return Rt},xNf:function(){return Ot},YCt:function(){return xt},uvG:function(){return Ft},Kmp:function(){return Lt},Frv:function(){return Ut},Byq:function(){return Zt},lfH:function(){return Dt},lTr:function(){return jt},gNn:function(){return Nt},Rmh:function(){return Mt},$MQ:function(){return qt},XLI:function(){return Bt},U0$:function(){return Ht},eO9:function(){return Vt},S3d:function(){return $t},whB:function(){return Wt},UUJ:function(){return zt},hJk:function(){return Gt},uuM:function(){return Qt},Mvd:function(){return Yt},KBY:function(){return Kt},rZJ:function(){return Jt},xLe:function(){return Xt},M4_:function(){return en},eTV:function(){return tn},KSQ:function(){return nn},Khp:function(){return rn},koV:function(){return on}});const r="ANALYTICS_EVENT_RECORD",o="ANALYTICS_PAGE_VIEW_RECORD",i="ANALYTICS_STAT_BUMP",s="ANALYTICS_TRACKING_ON",a="ANALYTICS_TRACKS_OPT_OUT",u="APP_BANNER_TOGGLE_VISIBILITY",c="APP_BANNER_DISMISSED",l="APPLY_STORED_STATE",f="CURRENT_USER_RECEIVE",p="CURRENT_USER_SET_EMAIL_VERIFIED",d="DOMAIN_CONTACT_INFO_DISCLOSE",h="DOMAIN_CONTACT_INFO_DISCLOSE_FAILURE",g="DOMAIN_CONTACT_INFO_DISCLOSE_SUCCESS",m="DOMAIN_CONTACT_INFO_REDACT",y="DOMAIN_CONTACT_INFO_REDACT_FAILURE",v="DOMAIN_CONTACT_INFO_REDACT_SUCCESS",b="DOMAIN_PRIVACY_DISABLE",w="DOMAIN_PRIVACY_DISABLE_FAILURE",_="DOMAIN_PRIVACY_DISABLE_SUCCESS",E="DOMAIN_PRIVACY_ENABLE",S="DOMAIN_PRIVACY_ENABLE_FAILURE",C="DOMAIN_PRIVACY_ENABLE_SUCCESS",P="EDITOR_START",k="EDITOR_STOP",I="EMAIL_VERIFY_REQUEST",A="EMAIL_VERIFY_REQUEST_FAILURE",T="EMAIL_VERIFY_REQUEST_SUCCESS",R="EMAIL_VERIFY_STATE_RESET",O="GUIDED_TOUR_UPDATE",x="HAPPYCHAT_BLUR",F="HAPPYCHAT_FOCUS",L="HAPPYCHAT_IO_INIT",U="HAPPYCHAT_IO_RECEIVE_ACCEPT",Z="HAPPYCHAT_IO_RECEIVE_CONNECT",D="HAPPYCHAT_IO_RECEIVE_DISCONNECT",j="HAPPYCHAT_IO_RECEIVE_ERROR",N="HAPPYCHAT_IO_RECEIVE_INIT",M="HAPPYCHAT_IO_RECEIVE_LOCALIZED_SUPPORT",q="HAPPYCHAT_IO_RECEIVE_MESSAGE",B="HAPPYCHAT_IO_RECEIVE_MESSAGE_OPTIMISTIC",H="HAPPYCHAT_IO_RECEIVE_MESSAGE_UPDATE",V="HAPPYCHAT_IO_RECEIVE_RECONNECTING",$="HAPPYCHAT_IO_RECEIVE_STATUS",W="HAPPYCHAT_IO_RECEIVE_TOKEN",z="HAPPYCHAT_IO_RECEIVE_UNAUTHORIZED",G="HAPPYCHAT_IO_REQUEST_TRANSCRIPT",Q="HAPPYCHAT_IO_REQUEST_TRANSCRIPT_RECEIVE",Y="HAPPYCHAT_IO_SEND_MESSAGE_EVENT",K="HAPPYCHAT_IO_SEND_MESSAGE_LOG",J="HAPPYCHAT_IO_SEND_MESSAGE_MESSAGE",X="HAPPYCHAT_IO_SEND_MESSAGE_USERINFO",ee="HAPPYCHAT_IO_SEND_PREFERENCES",te="HAPPYCHAT_IO_SEND_TYPING",ne="HAPPYCHAT_IO_SET_CUSTOM_FIELDS",re="HAPPYCHAT_MINIMIZING",oe="HAPPYCHAT_OPEN",ie="HAPPYCHAT_SET_CURRENT_MESSAGE",se="HAPPYCHAT_SET_USER_CONFIG",ae="HELP_CENTER_VISIBLE",ue="JETPACK_DISCONNECT_RECEIVE",ce="JETPACK_SITE_DISCONNECT_REQUEST",le="LAYOUT_FOCUS_SET",fe="LAYOUT_NEXT_FOCUS_ACTIVATE",pe="LAYOUT_NEXT_FOCUS_SET",de="LOCALE_SET",he="MASTERBAR_TOGGLE_VISIBILITY",ge="MEDIA_DELETE",me="MEDIA_MODAL_VIEW_SET",ye="NOTIFICATIONS_PANEL_TOGGLE",ve="POST_COUNTS_RECEIVE",be="POST_COUNTS_REQUEST",we="POST_COUNTS_REQUEST_FAILURE",_e="POST_COUNTS_REQUEST_SUCCESS",Ee="POST_COUNTS_RESET_INTERNAL_STATE",Se="POST_DELETE",Ce="POST_DELETE_FAILURE",Pe="POST_DELETE_SUCCESS",ke="POST_EDIT",Ie="POST_LIKE",Ae="POST_LIKES_ADD_LIKER",Te="POST_LIKES_RECEIVE",Re="POST_LIKES_REMOVE_LIKER",Oe="POST_LIKES_REQUEST",xe="POST_REQUEST",Fe="POST_REQUEST_FAILURE",Le="POST_REQUEST_SUCCESS",Ue="POST_RESTORE",Ze="POST_RESTORE_FAILURE",De="POST_REVISION_AUTHORS_RECEIVE",je="POST_REVISIONS_DIALOG_CLOSE",Ne="POST_REVISIONS_DIALOG_OPEN",Me="POST_REVISIONS_DIFF_SPLIT_VIEW",qe="POST_REVISIONS_DIFF_UNIFY_VIEW",Be="POST_REVISIONS_RECEIVE",He="POST_REVISIONS_SELECT",Ve="POST_SAVE",$e="POST_SAVE_SUCCESS",We="POST_TYPE_LIST_SHARE_PANEL_HIDE",ze="POST_TYPE_LIST_SHARE_PANEL_TOGGLE",Ge="POST_UNLIKE",Qe="POSTS_RECEIVE",Ye="POSTS_REQUEST",Ke="POSTS_REQUEST_FAILURE",Je="POSTS_REQUEST_SUCCESS",Xe="PREFERENCES_FETCH",et="PREFERENCES_FETCH_FAILURE",tt="PREFERENCES_FETCH_SUCCESS",nt="PREFERENCES_RECEIVE",rt="PREFERENCES_SAVE_SUCCESS",ot="PREFERENCES_SET",it="PREVIEW_URL_CLEAR",st="PREVIEW_URL_SET",at="PURCHASE_REMOVE_COMPLETED",ut="PURCHASE_REMOVE_FAILED",ct="PURCHASES_REMOVE",lt="PURCHASES_SITE_FETCH",ft="PURCHASES_SITE_FETCH_COMPLETED",pt="PURCHASES_SITE_FETCH_FAILED",dt="PURCHASES_SITE_RESET_STATE",ht="PURCHASES_USER_FETCH",gt="PURCHASES_USER_FETCH_COMPLETED",mt="PURCHASES_USER_FETCH_FAILED",yt="ROUTE_SET",vt="SECTION_LOADING_SET",bt="SECTION_SET",wt="SELECTED_SITE_SET",_t="SITE_CONNECTION_STATUS_RECEIVE",Et="SITE_CONNECTION_STATUS_REQUEST",St="SITE_CONNECTION_STATUS_REQUEST_FAILURE",Ct="SITE_CONNECTION_STATUS_REQUEST_SUCCESS",Pt="SITE_DELETE_RECEIVE",kt="SITE_DOMAINS_RECEIVE",It="SITE_DOMAINS_REQUEST",At="SITE_DOMAINS_REQUEST_FAILURE",Tt="SITE_DOMAINS_REQUEST_SUCCESS",Rt="SITE_FEATURES_FETCH",Ot="SITE_FEATURES_FETCH_COMPLETED",xt="SITE_FEATURES_FETCH_FAILED",Ft="SITE_FRONT_PAGE_UPDATE",Lt="SITE_INTRO_OFFER_RECEIVE",Ut="SITE_INTRO_OFFER_REQUEST",Zt="SITE_INTRO_OFFER_REQUEST_FAILURE",Dt="SITE_INTRO_OFFER_REQUEST_SUCCESS",jt="SITE_MIGRATION_STATUS_UPDATE",Nt="SITE_PLANS_FETCH",Mt="SITE_PLANS_FETCH_COMPLETED",qt="SITE_PLANS_FETCH_FAILED",Bt="SITE_PLANS_REMOVE",Ht="SITE_PLUGIN_UPDATED",Vt="SITE_PRODUCTS_FETCH",$t="SITE_PRODUCTS_FETCH_COMPLETED",Wt="SITE_PRODUCTS_FETCH_FAILED",zt="SITE_RECEIVE",Gt="SITE_REQUEST",Qt="SITE_REQUEST_FAILURE",Yt="SITE_REQUEST_SUCCESS",Kt="SITE_SETTINGS_RECEIVE",Jt="SITE_SETTINGS_UPDATE",Xt="SITES_RECEIVE",en="SITES_REQUEST",tn="SITES_REQUEST_FAILURE",nn="SITES_REQUEST_SUCCESS",rn="WORDADS_SITE_APPROVE_REQUEST_SUCCESS",on="WPCOM_HTTP_REQUEST"},48539:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(92819);const o=(e,t)=>Array.isArray(e)?e.concat(t):void 0,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>1?(0,r.mergeWith)(Object.create(null),...t,o):t[0]}},86398:function(e,t,n){"use strict";n.d(t,{Z:function(){return s},l:function(){return a}});var r=n(40211);const o=new Map,i=new Map;function s(){o.clear(),i.clear()}const a=(e,t)=>(n,s)=>{const a=s.storageKey,u=function(e){return e.join(".")}(n),c=i.get(u),l=o.get(u);if(c&&s!==c)throw new Error(`Different reducers on multiple calls to \`addReducerToStore\` for key: ${u}`);if(!l){if(e.addReducer(n,s),a&&t){const n=t(s,a);n&&e.dispatch({type:r.gm2,storageKey:a,storedState:n})}o.set(u,!0),i.set(u,s)}}},19298:function(e,t,n){"use strict";n.d(t,{jN:function(){return i}});var r=n(40211);const o=(e,t)=>({type:r.u2u,meta:{analytics:[{type:r.u2u,payload:Object.assign({},{service:e},t)}]}}),i=(e,t)=>o("tracks",{name:e,properties:t})},15223:function(e,t,n){"use strict";var r=n(25394),o=n(44567),i=n(80252),s=n(7689),a=n(66610),u=n(17032),c=n(40211);const l={ga:e=>{let{category:t,action:n,label:r,value:i}=e;return(0,o.Yh)(t,n,r,i)},tracks:e=>{let{name:t,properties:n}=e;return(0,u.recordTracksEvent)(t,n)},fb:e=>{let{name:t,properties:n}=e;return(0,r.K)(t,n)},adwords:e=>{let{properties:t}=e;return(0,r.w)(t)}},f={ga:e=>{let{url:t,title:n}=e;return(0,o.eK)(t,n)},default:e=>{let{url:t,title:n,options:r,...o}=e;return(0,a.A)(t,n,o,r)}},p=e=>{e.meta.analytics.forEach((e=>{var t,n;let{type:r,payload:o}=e;const{service:i="default",...a}=o;switch(r){case c.u2u:return null===(t=l[i])||void 0===t?void 0:t.call(l,a);case c.Wj3:return null===(n=f[i])||void 0===n?void 0:n.call(f,a);case c.lAo:return(e=>{let{group:t,name:n}=e;return(0,s.P)(t,n)})(a)}}))};t.Z=()=>e=>t=>{var n;switch(t.type){case c.K5f:return void("HotJar"===t.trackingTool&&(0,i.o)());case c.ti2:return void(0,u.setTracksOptOut)(t.isOptingOut);default:null!==(n=t.meta)&&void 0!==n&&n.analytics&&p(t)}return e(t)}},6255:function(e,t,n){"use strict";t.Z=e=>function(){const t=e(...arguments);return"undefined"!=typeof window&&(Object.assign(window,t),Object.defineProperty(window,"state",{enumerable:!0,get:t.getState})),t}},91668:function(e,t,n){"use strict";n.d(t,{lx:function(){return o}});n(65792);var r=n(40211);n(36747);function o(e){return{type:r.uBM,user:e}}},79482:function(e,t,n){"use strict";var r=n(40211),o=n(95884);t.ZP=(0,o.U)({status: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 r.G1W:return"requesting";case r.YPU:return"sent";case r.dAl:return"error";case r.iHL:return null}return e},errorMessage: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.G1W:case r.YPU:return"";case r.dAl:{const{message:e}=t;return e}case r.iHL:return""}return e}})},18724:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(79482),a=n(21826);const u=(0,o.G)(a.K6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.ID:e})),c=(0,o.G)(a.bH,(function(){var e,t,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return i.type===r.uBM?(null===(e=i.user.meta)||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.flags)||void 0===n?void 0:n.active_flags)??[]:o}));function l(e,t){if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>t[n]===e[n]))}const f=(0,o.G)(a.kX,(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.UUJ:case r.xLe:return(t.site?[t.site]:t.sites).reduce(((t,n)=>(!n.capabilities||l(n.capabilities,t[n.ID])||(t===e&&(t={...e}),t[n.ID]=n.capabilities),t)),e)}return e})),p=(0,o.G)(a.y4,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.lasagna_jwt||null:e}));t.ZP=(0,i.U)({id:u,user: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 r.uBM:return t.user;case r.KAg:return{...e,email_verified:t.verified}}return e},capabilities:f,flags:c,emailVerification:s.ZP,lasagnaJwt:p})},21826:function(e,t,n){"use strict";n.d(t,{K6:function(){return r},kX:function(){return o},bH:function(){return i},y4:function(){return s}});const r={type:["integer","null"],minimum:0},o={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"object",properties:{edit_pages:{type:"boolean"},edit_posts:{type:"boolean"},edit_others_posts:{type:"boolean"},edit_others_pages:{type:"boolean"},delete_posts:{type:"boolean"},delete_others_posts:{type:"boolean"},edit_theme_options:{type:"boolean"},edit_users:{type:"boolean"},list_users:{type:"boolean"},manage_categories:{type:"boolean"},manage_options:{type:"boolean"},promote_users:{type:"boolean"},publish_posts:{type:"boolean"},upload_files:{type:"boolean"},delete_users:{type:"boolean"},remove_users:{type:"boolean"},view_stats:{type:"boolean"}}}}},i={type:"array"},s={type:["string","null"]}},36747:function(e,t,n){"use strict";function r(e){var t;return null===(t=e.currentUser)||void 0===t?void 0:t.id}function o(e){var t;return(null==e||null===(t=e.currentUser)||void 0===t?void 0:t.user)??null}n.d(t,{rc:function(){return r},ts:function(){return o},bo:function(){return s}});const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=o(n);return(null==r?void 0:r[e])??t}};i("localeSlug"),i("user_ip_country_code");function s(e){const t=o(e);return t?t.site_count||0:null}i("date"),i("username"),i("email"),i("display_name");i("email_verified",!1);i("bootstrapped",!1)},50505:function(e,t,n){"use strict";n.d(t,{Z9:function(){return s}});var r=n(48539);let o={};const i=new Set,s=(e,t)=>{i.has(e)||(i.add(e),o=(0,r.A)(o,t))}},85875:function(e,t,n){"use strict";n.d(t,{aF:function(){return i}});var r=n(83685);n(92819);const o={meta:{dataLayer:{doBypass:!0}}},i=e=>(0,r.zc)(e,o)},28867:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(40211);const o=function(e){let{apiVersion:t,apiNamespace:n,body:o,method:i,path:s,query:a={},formData:u,onSuccess:c,onFailure:l,onProgress:f,onStreamRecord:p,...d}=e,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const g=n?{apiNamespace:n}:{apiVersion:t};return{type:r.koV,body:o,method:i,path:s,query:{...a,...g},formData:u,onSuccess:c||h,onFailure:l||h,onProgress:f||h,onStreamRecord:p||h,options:d}}},57195:function(e,t,n){"use strict";n.d(t,{iD:function(){return r}});const r=()=>({name:"NO_RETRY"});!function(){let{delay:e=1e3,maxAttempts:t=3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Math.max(500,e),Math.min(5,t)}()},67577:function(e,t,n){"use strict";n.d(t,{BN:function(){return h}});var r=n(12560),o=n.n(r),i=n(85695),s=n.n(i),a=n(92819),u=n(15960);const c=()=>{},l=e=>e,f=e=>(0,a.get)(e,"meta.dataLayer.data",void 0),p=e=>(0,a.get)(e,"meta.dataLayer.error",void 0),d=e=>(0,a.get)(e,"meta.dataLayer.progress",void 0),h=((0,u.J)("meta.dataLayer.requestKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{meta:{dataLayer:{lastUpdated:t,pendingSince:n,status:r}={}}={}}=arguments.length>1?arguments[1]:void 0;return void 0===r?e:Object.assign({...e},{status:r},t&&{lastUpdated:t},n&&{pendingSince:n})})),g=e=>(t,n)=>{if(!0!==(0,a.get)(n,"meta.dataLayer.trackRequest")||d(n))return e(t,n);const r=(e=>{const{meta:t,...n}=e;return(0,a.get)(t,"dataLayer.requestKey")||s()(n)})(n),o=(e=>void 0!==p(e)?"failure":void 0!==f(e)?"success":"pending")(n),i=Object.assign({requestKey:r,status:o},"pending"===o?{pendingSince:Date.now()}:{lastUpdated:Date.now()});e({...t,dispatch:e=>t.dispatch((0,a.merge)(e,{meta:{dataLayer:i}}))},n)},e=>(e.fetch||o()("fetch handler is not defined: no request will ever be issued"),e.onSuccess||o()("onSuccess handler is not defined: response to the request is being ignored"),e.onError||o()("onError handler is not defined: error during the request is being ignored"),g(((t,n)=>{const r=function(e,t){const{fetch:n=c,onSuccess:r=c,onError:o=c,onProgress:i=c,onStreamRecord:s=c,fromApi:u=l}=e,h=p(t);if(h)return o(t,h);const g=f(t);if(g)try{return r(t,u(g))}catch(v){return o(t,v)}const m=d(t);if(m)return i(t,m);const y=(e=>(0,a.get)(e,"meta.dataLayer.streamRecord",void 0))(t);return y?s(t,y):n(t)}(e,n);if(r)return Array.isArray(r)?r.map(t.dispatch):t.dispatch(r)}))));var g},8681:function(e,t,n){"use strict";var r=n(50505),o=n(85875),i=n(28867),s=n(57195),a=n(67577),u=n(78772),c=n(63262),l=n(70418);(0,r.Z9)("state/data-layer/wpcom/read/sites/index.js",{[u.LW]:[(0,a.BN)({fetch:function(e){return(0,i.d)({apiVersion:"1.1",method:"GET",path:`/read/sites/${e.payload.ID}`,query:{fields:l.X.join(","),options:["is_mapped_domain","unmapped_url","is_redirect"].join(",")},retryPolicy:(0,s.iD)()},e)},onSuccess:function(e,t){return(0,o.aF)((0,c.N0)(t))},onError:function(e,t){return(0,o.aF)((0,c.vE)(e,t))}})]})},26385:function(e,t,n){"use strict";var r=n(40211),o=n(48539),i=n(50505),s=n(28867),a=n(67577),u=n(4184),c=n(46600),l=n(90347);(0,i.Z9)("state/data-layer/wpcom/sites/posts/likes/index.js",(0,o.A)(l.ZP,c.Z,{[r.PP1]:[(0,a.BN)({fetch:e=>(0,s.d)({method:"GET",path:`/sites/${e.siteId}/posts/${e.postId}/likes`,apiVersion:"1.1"},e),fromApi:e=>({found:+e.found,iLike:!!e.i_like,likes:e.likes}),onSuccess:(e,t)=>{let{siteId:n,postId:r}=e;return(0,u.u5)(n,r,t)},onError:()=>{}})]}))},77433:function(e,t,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/mine/delete/index.js",{[r.vP0]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/mine/delete`,apiVersion:"1.1",body:{},query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.Ui)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.vL)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful unlike API request");return{likeCount:+e.like_count,liker:e.liker}}})]}),t.ZP={}},46600:function(e,t,n){"use strict";var r=n(77433);t.Z=r.ZP},90347:function(e,t,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/new/index.js",{[r.RFP]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/new`,body:{},apiVersion:"1.1",query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.eT)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.Yt)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful like API call");return{likeCount:+e.like_count,liker:e.liker}}})]}),t.ZP={}},85745:function(e,t,n){"use strict";var r=n(40211),o=n(28447),i=n(29398),s=n(71085),a=n(95884),u=n(83551);const c=e=>e<17e8?1e3*e:e,l=(0,i.G)({type:"number"},(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 r.qjX:case r.$Tb:return Date.now()}return e})),f=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.$Tb:case r.IoY:case r.Ylp:{var n;const{message:e}=t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.avatarURL,isEdited:!!e.revisions,isOptimistic:e.isOptimistic,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(n=e.meta)||void 0===n?void 0:n.links}}}return e},p=e=>parseInt(e.timestamp,10),d=(e,t)=>p(e)-p(t),h=e=>e.slice().sort(d),g=(0,i.G)(u.v,(0,s.$)((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.$Tb:case r.IoY:{var n;if(null!==(n=t.message.meta)&&void 0!==n&&n.forOperator)return e;const r=f({},t),o=e.findIndex((e=>{let{id:t}=e;return r.id===t}));return o>=0?[...e.slice(0,o),r,...e.slice(o+1)]:e.concat([r])}case r.Ylp:{const n=e.findIndex((e=>{let{id:n}=e;return t.message.id===n}));return-1===n?e:[...e.slice(0,n),f({},t),...e.slice(n+1)]}case r.kJ4:{var o;const n=(null===(o=t.messages)||void 0===o?void 0:o.filter((t=>{var n;return!!t.id&&((null===(n=t.meta)||void 0===n||!n.forOperator)&&!e.some((e=>e.id===t.id)))})))??[];return h(e.concat(n.map((e=>{var t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.picture,isEdited:!!e.revisions,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(t=e.meta)||void 0===t?void 0:t.links}}))))}}return e}),{serialize:e=>e.slice(-1*o.lc)}));t.ZP=(0,a.U)({status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.s0,t=arguments.length>1?arguments[1]:void 0;return t.type===r.myH?t.status:e},timeline:g,lastActivityTimestamp:l})},83551:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});const r={type:"array",additionalProperties:!1,items:{type:"object",additionalProperties:!1,required:["id","source","message","timestamp","user_id","type"],properties:{id:{type:"string"},source:{type:"string"},message:{type:"string"},name:{type:"string"},image:{type:"string"},timestamp:{type:["number","string"]},user_id:{type:["number","string"]},type:{type:"string"},links:{type:"array"}}}}},94002:function(e,t,n){"use strict";n.d(t,{id:function(){return s},nv:function(){return a},wH:function(){return u},k_:function(){return c},up:function(){return l},Mo:function(){return f},pL:function(){return p},$W:function(){return d},QM:function(){return h},dN:function(){return g},gg:function(){return m},KX:function(){return y},Mx:function(){return v},bi:function(){return w},qP:function(){return _},yW:function(){return E}});var r=n(88767),o=n(40211),i=n(28447);n(84656);const s=()=>({type:o.oH7}),a=e=>({type:o.f5U,error:e}),u=()=>({type:o.yGK}),c=e=>({type:o.M7f,user:e}),l=e=>({type:o.IwF,error:e}),f=()=>({type:o.k_K}),p=e=>({type:o.nHy,isAvailable:e}),d=e=>({type:o.Sur,isAvailable:e}),h=e=>({type:o.$Tb,message:e}),g=e=>({type:o.IoY,message:{...e,isOptimistic:!0}}),m=e=>({type:o.Ylp,message:e}),y=e=>({type:o.myH,status:e}),v=e=>({type:o.AKl,error:e}),b=e=>{let{messages:t,timestamp:n}=e;return{type:o.kJ4,messages:t,timestamp:n}},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;return{type:o.R_D,event:"transcript",payload:e,timeout:t,callback:b}},_=e=>({type:o.Syf,event:"message",payload:{id:(0,r.Z)(),text:e,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),E=e=>({type:o.SgU,event:"chat.setFields",payload:e})},80258:function(e,t,n){"use strict";var r=n(40211),o=n(28447),i=n(95884);t.Z=(0,i.U)({error: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 r.M7f:return null;case r.f5U:return t.error}return e},isAvailable:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.nHy?t.isAvailable:e},localizedSupport:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.Sur?t.isAvailable:e},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.SJ,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Mei:return o.bp;case r.M7f:return o.XY;case r.f5U:return o.oP;case r.k_K:return o.ad}return e}})},28447:function(e,t,n){"use strict";n.d(t,{SJ:function(){return r},bp:function(){return o},XY:function(){return i},oP:function(){return s},ad:function(){return a},lc:function(){return u},so:function(){return c},dZ:function(){return l},s0:function(){return f}});const r="uninitialized",o="connecting",i="connected",s="disconnected",a="reconnecting",u=30,c={CUSTOMER_EVENT:"customer-event",CUSTOMER_INFO:"customer-info",LOG:"log"},l="assigned",f="default"},84656:function(e,t,n){"use strict";var r=n(9044),o=n(61741);(0,r.x)(["happychat"],o.Z)},76693:function(e,t,n){"use strict";var r=n(10819),o=n(92819),i=n(40211),s=n(94002),a=n(11834),u=n(27443);const c={HAPPYCHAT_BLUR:"Stopped looking at Happychat",HAPPYCHAT_FOCUS:"Started looking at Happychat"};t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e&&(e=(0,r.Z)({receiveAccept:s.pL,receiveConnect:s.id,receiveDisconnect:s.nv,receiveError:s.Mx,receiveInit:s.k_,receiveLocalizedSupport:s.$W,receiveMessage:s.QM,receiveMessageOptimistic:s.dN,receiveMessageUpdate:s.gg,receiveReconnecting:s.Mo,receiveStatus:s.KX,receiveToken:s.wH,receiveUnauthorized:s.up,requestTranscript:s.bi})),t=>n=>r=>{const l=t.getState();switch(r.type){case i.Mei:e.init(t.dispatch,r.auth);break;case i.R_D:e.request(r,r.timeout);break;case i.$tj:e.send(r),t.dispatch((0,s.yW)({howCanWeHelp:(0,o.get)(r,"payload.meta.howCanWeHelp",null),howYouFeel:(0,o.get)(r,"payload.meta.howYouFeel",null)}));break;case i.Syf:case i.vsK:case i.qjX:case i.Do$:case i.ILV:case i.SgU:e.send(r);break;case i.vQd:case i.o9b:(0,u.Z)(l)&&(0,a.Z)(l)&&c[r.type]&&t.dispatch((0,s.qP)(c[r.type]))}return n(r)}}()},61741:function(e,t,n){"use strict";var r=n(83685),o=n(95884),i=n(85745),s=n(80258),a=n(29837),u=n(12844);const c=(0,o.U)({chat:i.ZP,connection:s.Z,ui:a.ZP,user:u.ZP});t.Z=(0,r.xi)("happychat",c)},83455:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);n(84656);function o(e){return(0,r.get)(e,"happychat.connection.status")}},11834:function(e,t,n){"use strict";var r=n(92819),o=n(28447);n(84656);t.Z=e=>(0,r.get)(e,"happychat.chat.status")===o.dZ},27443:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(28447),o=n(83455);function i(e){return(0,o.Z)(e)===r.XY}},29837:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(71085),s=n(95884);const a=(0,o.G)({type:"number"},(0,i.$)((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 r.vQd:return Date.now();case r.o9b:return null}return e}),{serialize:e=>null===e?Date.now():e}));t.ZP=(0,s.U)({currentMessage: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.qjX:return"";case r.c2t:return t.message}return e},isMinimizing:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.tyO?!!t.isMinimizing:e},isOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.eYx?!!t.isOpen:e},lostFocusAt:a})},12844:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(71320);const a=(0,o.G)(s.FB,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===r.M7f){const n=t.user.geoLocation;return n&&n.country_long&&n.city?n:e}return e})),u=(0,o.G)(s.Cv,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.isUserEligible:e})),c=(0,o.G)(s.i6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.availability:e})),l=(0,o.G)(s._B,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.supportLevel:e}));t.ZP=(0,i.U)({geoLocation:a,isEligible:u,availability:c,supportLevel:l})},71320:function(e,t,n){"use strict";n.d(t,{FB:function(){return r},Cv:function(){return o},i6:function(){return i},_B:function(){return s}});const r={type:["object","null"],properties:{city:{type:"string"},country_long:{type:"string"},country_short:{type:"string"},region:{type:"string"}}},o={type:["boolean","null"]},i={type:["object","null"],properties:{precancellation:{type:"boolean"},presale:{type:"boolean"}}},s={type:["string","null"]}},89621:function(e,t,n){"use strict";var r=n(83685),o=n(67459),i=n(20834);const s=(0,r.P1)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!t)return[];const r=(0,i.Z)(e);return(0,o.x)(t,(0,o.p)(e,r),n)}),(e=>[(0,i.Z)(e)]));t.Z=s},80951:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},72725:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(32988);const u=(()=>{let e,t={};function n(e,t){return[e,t].join()}function s(o,i,s,a){const u=n(i,s),c=t[u];if(!c)return o;const l=["all"];c.authorId===e&&l.push("mine");const f=l.reduce(((e,t)=>{const n=(0,r.get)(o,[i,c.type,t],{});return e[t]={},e[t][c.status]=Math.max((n[c.status]||0)-1,0),"deleted"!==a&&(e[t][a]=(n[a]||0)+1),e}),{});return"deleted"===a?t=(0,r.omit)(t,u):c.status=a,(0,r.merge)(f,{all:{},mine:{}}),(0,r.merge)({},o,{[i]:{[c.type]:f}})}return(0,i.G)(a.A,(function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;switch(a.type){case o.Rp6:return e=void 0,t={},i;case o.uBM:return e=a.user.ID,i;case o.hYA:return a.posts.forEach((e=>{const o=n(e.site_ID,e.ID),a=t[o];a&&e.status!==a.status&&(i=s(i,e.site_ID,e.ID,e.status)),t[o]=(0,r.pick)(e,"type","status"),t[o].authorId=(0,r.get)(e.author,"ID")})),i;case o.CNw:{const{siteId:e,postId:t,post:n}=a;return n.status?s(i,e,t,n.status):i}case o.LbL:return s(i,a.siteId,a.postId,"deleted");case o.C6k:return(0,r.merge)({},i,{[a.siteId]:{[a.postType]:a.counts}})}return i}))})();t.ZP=(0,s.U)({requesting: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.T3s:case o.h2B:case o.X5K:return(0,r.merge)({},e,{[t.siteId]:{[t.postType]:o.T3s===t.type}})}return e},counts:u})},32988:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",patternProperties:{"^[\\w-]+$":{type:"object",patternProperties:{"^(all|mine)$":{type:"object",patternProperties:{"^\\w+$":{type:"integer"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},70263:function(e,t,n){"use strict";var r=n(9044),o=n(49985);(0,r.x)(["posts"],o.ZP)},4184:function(e,t,n){"use strict";n.d(t,{vL:function(){return o},Yt:function(){return i},u5:function(){return s},eT:function(){return a},Ui:function(){return u}});var r=n(40211);n(26385),n(70263);const o=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.RFP,siteId:e,postId:t,source:n}},i=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.vP0,siteId:e,postId:t,source:n}},s=(e,t,n)=>{let{likes:o,iLike:i,found:s}=n;return{type:r.AVO,siteId:e,postId:t,likes:o,iLike:i,found:s}},a=(e,t,n,o)=>({type:r.rgA,siteId:e,postId:t,likeCount:n,liker:o}),u=(e,t,n,o)=>({type:r.a7F,siteId:e,postId:t,likeCount:n,liker:o})},26353:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(15960),a=n(95884),u=n(40057);const c=(0,i.G)(u.Z,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{likes:void 0,iLike:!1,found:0,lastUpdated:void 0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.AVO:{const{likes:n,iLike:r,found:o}=t;return{likes:Array.isArray(n)?n.map((e=>({ID:e.ID,avatar_URL:e.avatar_URL,login:e.login,name:e.name,site_ID:e.site_ID,site_visible:e.site_visible}))):e.likes,iLike:r,found:o,lastUpdated:Date.now()}}case o.RFP:return e.iLike?e:{likes:e.likes,iLike:!0,found:e.found+1,lastUpdated:e.lastUpdated};case o.vP0:return e.iLike?{likes:e.likes,iLike:!1,found:Math.max(0,e.found-1),lastUpdated:e.lastUpdated}:e;case o.rgA:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&i)return e;let s=e.likes;return i||(s=[o,...e.likes||[]]),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}case o.a7F:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&!i)return e;let s=e.likes;return i&&(s=e.likes.filter((e=>o.ID!==e.ID))),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}}return e})),l=(0,s.J)("siteId",(0,s.J)("postId",c));t.ZP=(0,a.U)({items:l})},40057:function(e,t){"use strict";t.Z={type:"object",additionalProperties:!1,required:["iLike","found"],properties:{likes:{type:"array",description:"List of post likes"},iLike:{type:"boolean",description:"Whether the current authenticated user likes the post or not"},found:{type:"number",description:"The total of post likes"},lastUpdated:{type:"number",description:"When we last updated the liker info"}}}},49985:function(e,t,n){"use strict";var r=n(92819),o=n(3982),i=n(96252),s=n(40211),a=n(13360),u=n(29398),c=n(71085),l=n(95884),f=n(72725),p=n(26353),d=n(8588),h=n(49061),g=n(41900),m=n(2205),y=n(78261),v=n(78928),b=n(38239),w=n(26588),_=n(73831),E=n(57384),S=n(40178),C=n(92110),P=n(40373);const k=(0,u.G)(h.dj,(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.hYA:return(0,r.reduce)(t.posts,((t,n)=>{const{site_ID:r,ID:o,global_ID:i}=n;return t[i]||(t===e&&(t={...t}),t[i]=[r,o]),t}),e);case s.kNW:{const n=(0,r.findKey)(e,(e=>{let[n,r]=e;return n===t.siteId&&r===t.postId}));return n?(0,r.omit)(e,n):e}}return e}));const I=(0,u.G)(h.kl,(0,c.$)((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.A4M:{const{siteId:n,query:r,posts:s,found:a}=t;if(!n)return e;const u=s.map(y.P);return(0,i.Z)(e,n,(e=>e.receive(u,{query:r,found:a})),(()=>new o.Z))}case s.hYA:{const{posts:n}=t,s=(0,r.reduce)(n,((e,t)=>Object.assign(e,{[t.site_ID]:[...e[t.site_ID]||[],(0,y.P)(t)]})),{});return(0,r.reduce)(s,((e,t,n)=>(0,i.Z)(e,n,(e=>e.receive(t)),(()=>new o.Z))),e)}case s.F1Z:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__RESTORE_PENDING"},{patch:!0})))}case s.JZv:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.CNw:{const{siteId:n,postId:r,post:o}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,...o},{patch:!0})))}case s.LbL:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__DELETE_PENDING"},{patch:!0})))}case s.xkR:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.kNW:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.removeItem(r)))}}return e}),{serialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return{data:t,options:n}})),deserialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return new o.Z(t,n)}))}));function A(e,t,n){return(0,r.findKey)(e.data.items,(e=>e.site_ID===t&&e.ID===n))||null}const T=(0,u.G)(g.Z,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new o.Z({},{itemKey:"global_ID"}),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.A4M:{const{siteId:n,query:r,posts:o,found:i}=t;return n?e:e.receive(o.map(y.P),{query:r,found:i})}case s.hYA:{const{posts:n}=t;return e.receive(n)}case s.F1Z:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"__RESTORE_PENDING"},{patch:!0})}case s.JZv:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.CNw:{const{siteId:n,postId:r,post:o}=t,i=A(e,n,r);return e.receive({global_ID:i,...o},{patch:!0})}case s.LbL:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"__DELETE_PENDING"},{patch:!0})}case s.xkR:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.kNW:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.removeItem(o)}}return e}),{serialize:e=>{let{data:t,options:n}=e;return{data:t,options:n}},deserialize:e=>{let{data:t,options:n}=e;return new o.Z(t,n)}}));t.ZP=(0,l.U)({counts:f.ZP,items:k,siteRequests: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.pgH:case s.nL0:case s.Ra4:return Object.assign({},e,{[t.siteId]:Object.assign({},e[t.siteId],{[t.postId]:s.pgH===t.type})})}return e},queryRequests: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.XMF:case s.A4M:case s.LEp:const n=(0,m.v)(t.query,t.siteId);return Object.assign({},e,{[n]:s.XMF===t.type})}return e},queries:I,allSitesQueries:T,edits: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.hYA:return(0,r.reduce)(t.posts,((n,o)=>{let i=(0,r.get)(n,[o.site_ID,o.ID]);if(!i)return n;if(n===e&&(n=(0,r.merge)({},e)),t.saveMarker){const e=i.indexOf(t.saveMarker);-1!==e&&(i=i.slice(e+1))}const s=(0,v.Z)(...i);let u=null;if(s){const e=(0,r.omitBy)(s,((e,t)=>{switch(t){case"author":return(0,b.J)(e,o[t]);case"date":return(0,w.S)(e,o[t]);case"discussion":return(0,_.y)(e,o[t]);case"featured_image":return e===(0,a.g)(o);case"metadata":return!0;case"status":return(0,E.D)(e,o[t]);case"terms":return(0,S.v)(e,o[t])}return(0,r.isEqual)(o[t],e)}));if(s.metadata){const t=(0,C.F)(s.metadata,o.metadata);t.length>0&&(e.metadata=t)}(0,r.isEmpty)(e)||(u=[e])}return(0,r.set)(n,[o.site_ID,o.ID],u)}),e);case s.oD3:{const n=t.siteId,o=t.postId||"",i=(0,r.get)(e,[n,o]),s=(0,P.V)(i,t.post);return{...e,[n]:{...e[n],[o]:s}}}case s.gQI:return Object.assign({},e,{[t.siteId]:{...e[t.siteId],[t.postId||""]:null}});case s.cnn:if(!e.hasOwnProperty(t.siteId))break;return Object.assign({},e,{[t.siteId]:(0,r.omit)(e[t.siteId],t.postId||"")});case s.hZH:{const n=t.siteId;if(""===(t.postId||"")&&t.savedPost){const o=t.savedPost.ID;e={...e,[n]:(0,r.mapKeys)(e[n],((e,t)=>""===t?o:t))}}return e}}return e},likes:p.ZP,revisions:d.ZP})},17811:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(95884);t.Z=(0,i.U)({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.R$r?(0,r.reduce)(t.users,((t,n)=>(t===e&&(t={...e}),t[n.ID]=n,t)),e):e}})},8588:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(95884),s=n(17811);t.ZP=(0,i.U)({diffs:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{diffs:t,postId:n,revisions:i,siteId:s,type:a}=arguments.length>1?arguments[1]:void 0;if(a!==o.vIA)return e;if(!Number.isInteger(s)||s<=0)return e;const u=(0,r.get)(e,[s,n],{}),c={...(0,r.get)(u,"revisions",{}),...i},l=(0,r.filter)(t,(e=>{let{diff:t,from:n,to:o}=e;return!(!Number.isInteger(n)||n<0)&&(!(!Number.isInteger(o)||o<1)&&((0===n||!(0,r.isEmpty)(c[n]))&&(!(0,r.isEmpty)(c[o])&&!(0,r.isEmpty)(t))))}));return(0,r.isEmpty)(l)?e:{...e,[s]:{...e[s],[n]:{...{...(0,r.omit)(u,"revisions"),...(0,r.keyBy)(l,(e=>`${e.from}:${e.to}`))},revisions:c}}}},selection: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.N__:return{...e,revisionId:t.revisionId};case o.oD3:case o.bgv:return{...e,revisionId:null};default:return e}},ui: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.NYz:return{...e,isDialogVisible:!1};case o.gpX:return{...e,isDialogVisible:!0};case o.Se1:return{...e,diffView:"split"};case o.bE0:return{...e,diffView:"unified"};default:return e}},authors:s.Z})},49061:function(e,t,n){"use strict";n.d(t,{dj:function(){return o},kl:function(){return i}});var r=n(41900);const o={type:"object",patternProperties:{"^\\w+$":{type:"array",items:{type:"number"},minItems:2,maxItems:2}},additionalProperties:!1},i={type:"object",patternProperties:{"^\\d+$":r.Z},additionalProperties:!1}},40373:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(92819),o=n(78928);function i(e,t){if((0,r.isEmpty)(e))return[t];const n=(0,r.last)(e);if("string"==typeof n)return[...e,t];const i=e.slice(0,-1);return i.push((0,o.Z)(n,t)),i}},13360:function(e,t,n){"use strict";function r(e){if(e)return"featured_image"in e&&!/^https?:\/\//.test(e.featured_image)?e.featured_image:e.post_thumbnail?e.post_thumbnail.ID:void 0}n.d(t,{g:function(){return r}})},91602:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(92819),o=n(80951);function i(e){return(0,r.omitBy)(e,((e,t)=>o.e[t]===e))}},2205:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(91602);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.B)(e),o=JSON.stringify(n);return t?[t,o].join(":"):o}},38239:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(92819);function o(e,t){return(0,r.get)(e,"ID")===(0,r.get)(t,"ID")}},26588:function(e,t,n){"use strict";function r(e,t){return!1===e||e&&new Date(e).getTime()===new Date(t).getTime()}n.d(t,{S:function(){return r}})},73831:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;return(0,r.get)(t,[n])===o}))}},57384:function(e,t,n){"use strict";function r(e,t){return["publish","future"].includes(e)?["publish","future"].includes(t):e===t}n.d(t,{D:function(){return r}})},40178:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;const i=Object.values(o),s="object"==typeof i[0]&&null!==i[0],a=s?(0,r.map)(i,"ID"):i,u=s?"ID":"name",c=(0,r.map)(t[n],u);return!(0,r.xor)(a,c).length}))}},78928:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819);function o(e,t){const n=(0,r.reject)(e,(e=>(0,r.find)(t,{key:e.key})));return(0,r.concat)(n,t)}const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.reduce)(t,((e,t)=>"string"==typeof t?e:null===e?t:(0,r.mergeWith)((0,r.cloneDeep)(e),t,((e,t,n,r,i,s)=>"metadata"===n&&0===s.size?o(e,t):Array.isArray(t)?t:void 0))),null)}},92110:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(92819);function o(e,t){return(0,r.filter)(e,(e=>function(e,t){const n=(0,r.find)(t,{key:e.key});return"update"===e.operation?!n||n.value!==e.value:"delete"===e.operation&&!!n}(e,t)))}},78261:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(92819);const o=(e,t)=>{if(t.length>1){const[,...n]=t;o(e[t[0]],n)}else e&&e.hasOwnProperty(t[0])&&delete e[t[0]]};function i(e){const t=(0,r.cloneDeep)(e);return(0,r.reduce)([[],...(0,r.reduce)(e.terms,((e,t,n)=>e.concat((0,r.map)(t,((e,t)=>["terms",n,t])))),[]),...(0,r.map)(e.categories,((e,t)=>["categories",t])),...(0,r.map)(e.tags,((e,t)=>["tags",t])),...(0,r.map)(e.attachments,((e,t)=>["attachments",t]))],((e,t)=>(o(e,t.concat("meta","links")),e)),t)}},18223:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});const r={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},54614:function(e,t,n){"use strict";var r=n(9044),o=n(22420);(0,r.x)(["preferences"],o.ZP)},22420:function(e,t,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(85290);const u=(0,i.G)(a.U,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===o.XuD){const{values:e}=t;return e}return e})),c=(0,s.U)({localValues: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.JPH:{const{key:n,value:r}=t;return e[n]===r?e:{...e,[n]:r}}case o.lCo:{const{[t.key]:n,...r}=e;return r}}return e},remoteValues:u,fetching: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.N8o:case o.PD1:return!1;case o.pSd:return!0}return e},lastFetchedTimestamp:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N8o?Date.now():e}}),l=(0,r.xi)("preferences",c);t.ZP=l},85290:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r={type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}}},85300:function(e,t,n){"use strict";n.d(t,{Oz:function(){return o}});var r=n(18223);n(54614);function o(e,t){for(const i of[null===(n=e.preferences)||void 0===n?void 0:n.localValues,null===(o=e.preferences)||void 0===o?void 0:o.remoteValues,r.p]){var n,o;if(i&&i.hasOwnProperty(t))return i[t]??null}return null}},86169:function(e,t,n){"use strict";n.d(t,{Y9:function(){return a}});var r=n(11481),o=n(72429),i=n(40211);n(65811);const s=r.ZP.translate("There was an error retrieving purchases."),a=(r.ZP.translate("There was an error removing the purchase."),e=>t=>(t({type:i.$5Y}),o.Z.req.get("/me/purchases").then((n=>{t({type:i.XMH,purchases:n,userId:e})})).catch((()=>{t({type:i._MG,error:s})}))))},65811:function(e,t,n){"use strict";var r=n(9044),o=n(31012);(0,r.x)(["purchases"],o.Z)},31012:function(e,t,n){"use strict";var r=n(83685),o=n(40211);const i={data:[],error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};function s(e,t){return t.type===o.XMH?t.purchases:(t.type===o.m58&&(e=e.filter((e=>parseInt(e.blog_id,10)!==parseInt(t.siteId,10)||!!t.purchases.some((t=>t.ID===e.ID))))),t.type===o.WjV&&(e=e.filter((e=>!!t.purchases.some((t=>t.ID===e.ID))))),function(e,t){return t.reduce(((e,t)=>function(e,t){let n=!1;const r=e.map((e=>t.ID===e.ID?(n=!0,t):e));return n?r:[...r,t]}(e,t)),e)}(e,t.purchases))}t.Z=(0,r.xi)("purchases",(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 o.gbe:return{...e,data:[],hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};case o.pJb:return{...e,isFetchingSitePurchases:!0};case o.$5Y:return{...e,isFetchingUserPurchases:!0};case o.WjV:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o.m58:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,hasLoadedSitePurchasesFromServer:!0};case o.XMH:return{...e,data:s(e.data,t),error:null,isFetchingUserPurchases:!1,hasLoadedUserPurchasesFromServer:!0};case o.RIF:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o._qM:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,isFetchingSitePurchases:!1};case o._MG:return{...e,error:t.error,hasLoadedUserPurchasesFromServer:!0,isFetchingUserPurchases:!1};case o.Fsf:return{...e,hasLoadedSitePurchasesFromServer:!1,isFetchingSitePurchases:!1}}return e}))},12726:function(e,t,n){"use strict";n.d(t,{Mo:function(){return r},iJ:function(){return o}});n(65811);const r=e=>e.purchases.isFetchingUserPurchases,o=e=>e.purchases.hasLoadedUserPurchasesFromServer},99432:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(83685),o=n(29950);n(65811);const i=(0,r.P1)((e=>(0,o.W)(e.purchases.data)),(e=>[e.purchases.data]))},76678:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var r=n(83685),o=n(36747),i=n(12726),s=n(99432);n(65811);const a=(0,r.P1)((e=>{if(!(0,i.iJ)(e))return null;const t=(0,o.rc)(e);return(0,s.G)(e).filter((e=>e.userId===t))}),(e=>[(0,i.iJ)(e),(0,o.rc)(e),(0,s.G)(e)]))},78772:function(e,t,n){"use strict";n.d(t,{BQ:function(){return r},tx:function(){return o},_n:function(){return i},K1:function(){return s},D8:function(){return a},Ae:function(){return u},_h:function(){return c},M1:function(){return l},_p:function(){return f},AH:function(){return p},lH:function(){return d},P6:function(){return h},b3:function(){return g},sh:function(){return m},DJ:function(){return y},kB:function(){return v},R1:function(){return b},cu:function(){return w},MW:function(){return _},a$:function(){return E},nY:function(){return S},q_:function(){return C},B_:function(){return P},gS:function(){return k},L5:function(){return I},Nr:function(){return A},s5:function(){return T},ud:function(){return R},we:function(){return O},_O:function(){return x},Ny:function(){return F},$J:function(){return L},S6:function(){return U},ch:function(){return Z},nB:function(){return D},rE:function(){return j},Bi:function(){return N},Cm:function(){return M},Rn:function(){return q},yZ:function(){return B},c1:function(){return H},e_:function(){return V},iv:function(){return $},IJ:function(){return W},zF:function(){return z},zg:function(){return G},LW:function(){return Q},Fy:function(){return Y},qY:function(){return K},Qw:function(){return J},pu:function(){return X},CI:function(){return ee},_7:function(){return te},l0:function(){return ne},rC:function(){return re},c7:function(){return oe},RN:function(){return ie},Qr:function(){return se},HC:function(){return ae},aL:function(){return ue},Ep:function(){return ce},hB:function(){return le},Jx:function(){return fe},_i:function(){return pe},fY:function(){return de},CE:function(){return he},Q6:function(){return ge},tN:function(){return me},BZ:function(){return ye},VV:function(){return ve},vy:function(){return be},OT:function(){return we}});const r="READER_CONVERSATION_FOLLOW",o="READER_CONVERSATION_MUTE",i="READER_CONVERSATION_UPDATE_FOLLOW_STATUS",s="READER_DISMISS_POST",a="READER_DISMISS_SITE",u="READER_FEED_REQUEST",c="READER_FEED_REQUEST_FAILURE",l="READER_FEED_REQUEST_SUCCESS",f="READER_FEED_SEARCH_RECEIVE",p="READER_FOLLOW",d="READER_FOLLOW_ERROR",h="READER_FOLLOWS_RECEIVE",g="READER_FOLLOWS_SYNC_COMPLETE",m="READER_FOLLOWS_SYNC_START",y="READER_LIST_CREATE",v="READER_LIST_DELETE",b="READER_LIST_FOLLOW_RECEIVE",w="READER_LIST_ITEM_ADD_FEED_RECEIVE",_="READER_LIST_ITEM_DELETE_FEED",E="READER_LIST_ITEM_DELETE_SITE",S="READER_LIST_ITEM_DELETE_TAG",C="READER_LIST_ITEMS_RECEIVE",P="READER_LIST_REQUEST",k="READER_LIST_REQUEST_FAILURE",I="READER_LIST_REQUEST_SUCCESS",A="READER_LIST_UNFOLLOW_RECEIVE",T="READER_LIST_UPDATE",R="READER_LIST_UPDATE_FAILURE",O="READER_LIST_UPDATE_SUCCESS",x="READER_LISTS_RECEIVE",F="READER_LISTS_REQUEST",L="READER_ORGANIZATIONS_RECEIVE",U="READER_ORGANIZATIONS_REQUEST",Z="READER_POST_SEEN",D="READER_POSTS_RECEIVE",j="READER_RECOMMENDED_SITES_RECEIVE",N="READER_RELATED_POSTS_RECEIVE",M="READER_RELATED_POSTS_REQUEST",q="READER_RELATED_POSTS_REQUEST_FAILURE",B="READER_RELATED_POSTS_REQUEST_SUCCESS",H="READER_SEEN_MARK_ALL_AS_SEEN_RECEIVE",V="READER_SEEN_MARK_AS_SEEN_RECEIVE",$="READER_SEEN_MARK_AS_UNSEEN_RECEIVE",W="READER_SITE_BLOCK",z="READER_SITE_BLOCKS_RECEIVE",G="READER_SITE_BLOCKS_REQUEST",Q="READER_SITE_REQUEST",Y="READER_SITE_REQUEST_FAILURE",K="READER_SITE_REQUEST_SUCCESS",J="READER_SITE_UNBLOCK",X="READER_STREAMS_PAGE_RECEIVE",ee="READER_STREAMS_PAGE_REQUEST",te="READER_STREAMS_SELECT_ITEM",ne="READER_STREAMS_SELECT_NEXT_ITEM",re="READER_STREAMS_SELECT_PREV_ITEM",oe="READER_STREAMS_SHOW_UPDATES",ie="READER_STREAMS_UPDATES_RECEIVE",se="READER_SUBSCRIBE_TO_NEW_COMMENT_EMAIL",ae="READER_SUBSCRIBE_TO_NEW_POST_EMAIL",ue="READER_SUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",ce="READER_TAG_IMAGES_RECEIVE",le="READER_TAG_IMAGES_REQUEST",fe="READER_TAG_IMAGES_REQUEST_FAILURE",pe="READER_TAG_IMAGES_REQUEST_SUCCESS",de="READER_TAGS_RECEIVE",he="READER_THUMBNAIL_RECEIVE",ge="READER_UNFOLLOW",me="READER_UNFOLLOW_TAG_RECEIVE",ye="READER_UNSUBSCRIBE_TO_NEW_COMMENT_EMAIL",ve="READER_UNSUBSCRIBE_TO_NEW_POST_EMAIL",be="READER_UNSUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",we="READER_UPDATE_NEW_POST_EMAIL_SUBSCRIPTION"},84225:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});const r=Object.freeze({following:"F",not_following:null,muting:"M"})},26395:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(84225),u=n(91706),c=n(51260);const l=(0,i.G)(u.d,(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.BQ:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.following};case o.tx:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.muting};case o._n:{const n=(0,c.J)(t.payload.siteId,t.payload.postId);if(t.payload.followStatus===a.I.not_following)return(0,r.omit)(e,n);return{...e,[n]:t.payload.followStatus}}case o.nB:{if(!t.posts)return e;const n={};return(0,r.forEach)(t.posts,(e=>{e.is_following_conversation&&(n[(0,c.J)(e.site_ID,e.ID)]=a.I.following)})),0===(0,r.size)(n)?e:{...e,...n}}}return e}));t.Z=(0,s.U)({items:l})},91706:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(84225);const o={type:"object",patternProperties:{"^[0-9]+-[0-9]+$":{enum:Object.values(r.I)}},additionalProperties:!1}},51260:function(e,t,n){"use strict";function r(e,t){return`${e}-${t}`}n.d(t,{J:function(){return r}})},13838:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?(0,r.uniqBy)((e||[]).concat(t.payload.feeds),"feed_URL"):e})),u=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?t.payload.total:e}));t.ZP=(0,s.U)({items:a,total:u})},64380:function(e,t,n){"use strict";var r=n(92819),o=n(50118),i=n(8165),s=n(48265),a=n(78772),u=n(29398),c=n(71085),l=n(95884),f=n(46518);function p(e,t){return{[t.payload.feed_ID]:{feed_ID:t.payload.feed_ID,is_error:!0},...e}}function d(e,t){const n=function(e){return{feed_ID:+e.feed_ID,blog_ID:+e.blog_ID,name:e.name&&(0,o.S)(e.name),URL:(0,s.m)(e.URL),feed_URL:(0,s.m)(e.feed_URL),is_following:e.is_following,subscribers_count:e.subscribers_count,description:e.description&&(0,o.S)((0,i.C)(e.description)),last_update:e.last_update,image:e.image,organization_id:e.organization_id,unseen_count:e.unseen_count}}(t.payload);return{...e,[n.feed_ID]:n}}const h=(0,u.G)(f.d,(0,c.$)((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.M1:return d(e,t);case a._h:return p(e,t);case a.e_:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count-t.globalIds.length,0)})}:e}case a.iv:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count+t.globalIds.length,0)})}:e}case a.c1:return(0,r.forEach)(t.feedIds,(t=>{e[t]={...e[t],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));t.ZP=(0,l.U)({items:h,lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.M1?{...e,[t.payload.feed_ID]:Date.now()}:e},queuedRequests: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.Ae:return{...e,[t.payload.feed_ID]:!0};case a.M1:case a._h:return(0,r.omit)(e,t.payload.feed_ID)}return e}})},46518:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});const r={type:"object",patternProperties:{"^[0-9a-z]+$":{type:"object",required:["feed_ID","blog_ID"],properties:{feed_ID:{type:"integer"},blog_ID:{type:"integer"},name:{type:["string","null"]},URL:{type:["string","null"]},feed_URL:{type:["string","null"]},is_following:{type:["boolean","null"]},subscribers_count:{type:["integer","null"]},description:{type:["string","null"]},last_update:{type:["string","null"]},image:{type:["string","null"]},organization_id:{type:["integer","null"]},unseen_count:{type:["integer","null"]}}}},additionalProperties:!1}},38357:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(71085),a=n(95884),u=n(75235),c=n(46486);function l(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","email"],{}),u={};switch(i){case o.HC:case o.VV:u.send_posts=!(i===o.VV);break;case o.Qr:case o.BZ:u.send_comments=!(i===o.BZ)}n.deliveryFrequency&&(u.post_delivery_frequency=n.deliveryFrequency);const l={...a,...u};return(0,r.isEqual)(a,l)?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:l,notification:(0,r.get)(s,["delivery_methods","notification"],{})}}}}function f(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","notification","send_posts"],!1),u=!(i===o.vy);return a===u?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:(0,r.get)(s,["delivery_methods","email"],{}),notification:{send_posts:u}}}}}const p=(0,i.G)(u.e,(0,s.$)((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:{const n=(0,c.C)(t.payload.feedUrl);return{...e,[n]:(0,r.merge)({},e[n],{error:t.payload.error})}}case o.AH:{let n=(0,c.C)(t.payload.feedUrl);const o={is_following:!0},i=(0,r.get)(t.payload,["follow","feed_URL"],t.payload.feedUrl),s={...e};i!==t.payload.feedUrl?(o.alias_feed_URLs=[...e[n].alias_feed_URLs||[],(0,c.C)(t.payload.feedUrl)],delete s[n],n=(0,c.C)(i)):e[n]&&e[n].error&&(o.error=null);const a=(0,r.get)(e[n],["delivery_methods","notification"]);return a&&(o.delivery_methods={notification:a}),Object.assign(s,{[n]:(0,r.merge)({feed_URL:i},e[n],t.payload.follow,o)})}case o.Q6:{const n=(0,c.C)(t.payload.feedUrl),o=e[n];return o&&o.is_following?{...e,[n]:(0,r.merge)({},o,{is_following:!1,delivery_methods:{notification:{send_posts:!1}}})}:e}case o.P6:{const n=t.payload.follows,o=(0,r.reduce)(n,((e,t)=>{const n=(0,c.C)(t.URL),r={...t,is_following:!0};return e[n]=r,e}),{});return(0,r.merge)({},e,o)}case o.qY:{const n=t.payload;if(!n||!n.feed_URL||!n.is_following)return e;const o=(0,c.C)(n.feed_URL),i=e[o],s={delivery_methods:(0,r.get)(n,"subscription.delivery_methods"),is_following:!0,URL:n.URL,feed_URL:n.feed_URL,blog_ID:n.ID};return{...e,[o]:(0,r.merge)({},i,s)}}case o.HC:case o.OT:case o.VV:case o.Qr:case o.BZ:return l(e,t);case o.aL:case o.vy:return f(e,t);case o.b3:{const n=new Set(t.payload);return(0,r.omitBy)(e,(e=>e.ID&&!n.has(e.feed_URL)))}case o.e_:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count-t.globalIds.length})}:e}case o.iv:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count+t.globalIds.length})}:e}case o.c1:return(0,r.forEach)(t.feedUrls,(t=>{const n=(0,c.C)(t);e[n]={...e[n],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.pickBy)(e,(e=>e.ID&&e.is_following))}));t.ZP=(0,a.U)({items:p,itemsCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.P6&&t.payload.totalCount?t.payload.totalCount:e},lastSyncTime:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.sh?Date.now():e}})},75235:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});const r={type:"object",patternProperties:{".+":{type:"object",required:["feed_URL","URL","is_following"],properties:{URL:{type:"string"},feed_URL:{type:"string"},is_following:{type:"boolean"},ID:{type:["integer","null"]},blog_ID:{type:["integer","null"]},feed_ID:{type:["integer","null"]},date_subscribed:{type:["integer","null"]},last_updated:{type:["integer","null"]},delivery_methods:{type:["object","null"]},is_owner:{type:["boolean","null"]},organization_id:{type:["integer","null"]},name:{type:["string","null"]},unseen_count:{type:["integer","null"]},site_icon:{type:["string","null"]}}}},additionalProperties:!1}},46486:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(55347);function o(e){const t=e&&(0,r.Z)(e);return t&&t.replace(/^https?:\/\//,"").toLowerCase()}},35929:function(e,t,n){"use strict";var r=n(9044),o=n(97589);(0,r.x)(["reader"],o.Z)},6693:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(40932);const u=(0,i.G)(a.d,(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._O:return Object.assign({},e,(0,r.keyBy)(t.lists,"ID"));case o.L5:case o.we:return Object.assign({},e,(0,r.keyBy)([t.data.list],"ID"));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e}));function c(e,t,n){if(!(t.listId in e))return e;const o=e[t.listId],i=(0,r.reject)(o,n);return{...e,[t.listId]:i}}const l=(0,i.G)(a.E,(function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;switch(i.type){case o._O:return(0,r.map)(i.lists,"ID");case o.R1:const s=null===(e=i.list)||void 0===e?void 0:e.ID;return!s||(0,r.includes)(n,s)?n:[...n,s];case o.Nr:const a=null===(t=i.list)||void 0===t?void 0:t.ID;return a?(0,r.filter)(n,(e=>e!==a)):n;case o.kB:return(0,r.filter)(n,(e=>e!==i.listId));case o.L5:return n.includes(i.data.list.ID)?n:[...n,i.data.list.ID]}return n}));t.ZP=(0,s.U)({items:u,listItems: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.q_:return{...e,[t.listId]:t.listItems};case o.cu:{const n=e[t.listId]||[];return(0,r.some)(n,{feed_ID:t.feedId})?e:{...e,[t.listId]:[...n,{feed_ID:t.feedId}]}}case o.MW:return c(e,t,(e=>e.feed_ID===t.feedId));case o.nY:return c(e,t,(e=>e.tag_ID===t.tagId));case o.a$:return c(e,t,(e=>e.site_ID===t.siteId));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e},subscribedLists:l,isCreatingList: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.DJ:case o.L5:case o.gS:return o.DJ===t.type}return e},isRequestingList: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.B_:case o.L5:case o.gS:return o.B_===t.type}return e},isRequestingLists: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.Ny:case o._O:return o.Ny===t.type}return e},isUpdatingList: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.s5:case o.we:case o.ud:return o.s5===t.type}return e}})},40932:function(e,t,n){"use strict";n.d(t,{d:function(){return r},E:function(){return o}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",required:["ID"],properties:{ID:{type:"integer"},title:{type:"string"},slug:{type:"string"},description:{type:"string"},owner:{type:"string"},is_owner:{type:"boolean"},is_public:{type:"boolean"}}}},additionalProperties:!1},o={type:"array"}},61923:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(37013);const u=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.$J?t.error?e:(0,r.get)(t,["payload","organizations"],e):e}));t.ZP=(0,s.U)({items:u,isRequesting: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:return!0;case o.$J:return!1}return e}})},37013:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});const r={type:"array",items:{type:"object",properties:{id:{type:"integer"},title:{type:"string"},slug:{type:"string"},sites_count:{type:"integer"}}}}},93125:function(e,t,n){"use strict";n.d(t,{SD:function(){return E}});var r=n(97006),o=n(86989),i=n.n(o),s=n(92819),a=n(88767),u=n(18552),c=(n(7689),n(72429)),l=n(58414),f=n(77327),p=n(4184),d=n(78772),h=n(89258);n(35929);let g={recordEvent:()=>{}},m=()=>{};function y(e){g.recordTracksEvent("calypso_traintracks_render",e.railcar)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o={},s=(0,l.Z)();if(s&&(o.content_width=s),e.blogId)return t?(0,r.DS)(n)?(0,u.ZP)({path:`help/article/${encodeURIComponent(e.blogId)}/${encodeURIComponent(e.postId)}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):i()({global:!0,path:`/wpcom/v2/help-center/fetch-post?post_id=${encodeURIComponent(e.postId)}&blog_id=${encodeURIComponent(e.blogId)}`}):c.Z.req.get(`/read/sites/${encodeURIComponent(e.blogId)}/posts/${encodeURIComponent(e.postId)}`,o);const{postId:a,feedId:f,...p}=e;return c.Z.req.get(`/read/feed/${encodeURIComponent(f)}/posts/${encodeURIComponent(a)}`,{apiVersion:"1.2",...p,...o})}m=n(29789).yg,g=n(17032);const b=e=>e.catch((()=>null)),w=e=>t=>{if(!e)return Promise.resolve([]);const[n,r]=(0,s.partition)(e,"_should_reload");n.forEach((e=>t(function(e){return function(t){const n=e.railcar;v((0,f.WO)(e)).then((e=>{e.railcar=n,t(w([e]))}))}}(e))));const o=(0,s.compact)(r).map(h.lp);return(0,s.forEach)(o,(e=>{e.is_external||t((0,p.u5)(e.site_ID,e.ID,{iLike:Boolean(e.i_like),found:+e.like_count}))})),t({type:d.nB,posts:o}),Promise.all(o.map(h.yv).map(b)).then((e=>t({type:d.nB,posts:(0,s.compact)(e)}))),(0,s.forEach)((0,s.filter)(o,"railcar"),y),Promise.resolve(o)},_=new Set,E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r=>{const o=(0,f.C$)(e);if(!_.has(o))return _.add(o),v(e,t,n).then((e=>(i(),r(w([e]))))).catch((t=>(i(),r(S(t,e)))));function i(){_.delete(o)}}};function S(e,t){return{type:d.nB,posts:[{feed_ID:t.feedId,ID:t.postId,site_ID:t.blogId,is_external:!t.blogId,global_ID:(0,a.Z)(),is_error:!0,error:e}]}}},81823:function(e,t){"use strict";t.Z={UNCLASSIFIED:0,PHOTO_ONLY:1,LARGE_BANNER:2,ONE_LINER:4,LANDSCAPE_BANNER:8,PORTRAIT_BANNER:16,GALLERY:32,VIDEO:64,THUMBNAIL:128,CANONICAL_IN_CONTENT:256,FEATURED_VIDEO:512,X_POST:1024}},89258:function(e,t,n){"use strict";n.d(t,{lp:function(){return F},yv:function(){return U}});var r=n(92819),o=n(77804),i=n(53544),s=n(10363),a=n(37183),u=n(40691),c=n(17431),l=n(50917),f=n(30757),p=n(51088),d=n(64e3),h=n(42347),g=n(47401),m=n(12800),y=n(31564),v=n(91410),b=n(21036),w=n(53317),_=n(66184),E=n(49147),S=n(59654),C=n(36003),P=n(60566),k=n(75659),I=n(55454),A=n(81823),T=n(99891);function R(e){return e.width>=T.hM&&e.height>=T.qg}function O(e){const t=(0,r.filter)(e.content_images,R);let n=A.Z.UNCLASSIFIED;return t.length>=T.y_?n^=A.Z.GALLERY:e.canonical_media&&"image"===e.canonical_media.mediaType&&e.canonical_media.width>=T.Ws&&(e=>function(e){return e&&e.content_no_html?e.content_no_html.length:0}(e)<=T.ml)(e)&&(n^=A.Z.PHOTO_ONLY),e.canonical_media&&"video"===e.canonical_media.mediaType&&(n^=A.Z.FEATURED_VIDEO),e.tags&&e.tags["p2-xpost"]&&(n^=A.Z.X_POST),e.display_type=n,e}const x=(0,r.flow)([m.Z,P.Z,S.Z,b.Z,E.Z,(0,C.Z)(T.fY),v.Z,(0,I.Z)([h.Z,d.Z,(0,f.Z)(),l.Z,p.Z,u.b,u.Y,i.Z,s.Z,a.Z,c.Z]),g.Z,w.Z,_.Z,O,o.Z]);function F(e){return e?(e=Object.assign({},e),x(e),e):e}const L=(0,r.flow)([(0,y.Z)(T.Kt,T.qg),w.Z,_.Z,O]);function U(e){return e=Object.assign({},e),(0,k.Z)(e).then(L)}},42334:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);t.ZP=(0,i.U)({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.nB:const n=t.posts||t.payload.posts;return{...e,...(0,r.keyBy)(n,"global_ID")};case o.e_:case o.c1:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!0}})),{...e};case o.iv:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!1}})),{...e}}return e},seen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.get)(t,"payload.post.global_ID");return t.type===o.ch&&n?{...e,[n]:!0}:e}})},6712:function(e,t,n){"use strict";n.d(t,{UK:function(){return a}});var r=n(56868),o=n(92819),i=n(77327);n(35929);const s=(0,r.Z)((e=>[e.reader.posts.items]),(e=>{let[t]=e;return(0,o.keyBy)(t,(e=>(0,i.C$)((0,i.WO)(e))))})),a=(e,t)=>{if(!t||!(0,i.C$)(t))return null;return s(e)[(0,i.C$)(t)]};(0,r.Z)((e=>[s(e)]),((e,t)=>{let[n]=e;return!t||(0,o.some)(t,(e=>!(0,i.C$)(e)))?null:t.map(i.C$).map((e=>n[e]))}),{getCacheKey:e=>e.map(i.C$).join()})},99891:function(e,t,n){"use strict";n.d(t,{fY:function(){return r},Ws:function(){return o},ml:function(){return i},y_:function(){return s},hM:function(){return a},Kt:function(){return u},qg:function(){return c}});const r=800,o=440,i=85,s=4,a=300,u=144,c=72},12622:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?(0,r.uniqBy)(e.concat(t.payload.sites),"feedId"):e})),u=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?Math.max(t.payload.offset,e):e}));t.ZP=(0,s.U)({items:a,pagingOffset:u})},97589:function(e,t,n){"use strict";var r=n(83685),o=n(95884),i=n(26395),s=n(13838),a=n(64380),u=n(38357),c=n(6693),l=n(61923),f=n(42334),p=n(12622),d=n(1788),h=n(92972),g=n(8614),m=n(53761),y=n(83530),v=n(64805),b=n(39493);const w=(0,o.U)({conversations:i.Z,feeds:a.ZP,feedSearches:s.ZP,follows:u.ZP,lists:c.ZP,posts:f.ZP,recommendedSites:p.ZP,relatedPosts:d.ZP,siteBlocks:h.ZP,siteDismissals:g.Z,sites:m.ZP,streams:y.ZP,tags:v.Z,thumbnails:b.Z,organizations:l.ZP}),_=(0,r.xi)("reader",w);t.Z=_},1788:function(e,t,n){"use strict";var r=n(78772),o=n(95884),i=n(92310);function s(e,t,n){const{siteId:r,postId:o,scope:s}=t.payload;return{...e,[(0,i.Jy)(r,o,s)]:n}}t.ZP=(0,o.U)({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.Bi?s(e,t,t.payload.posts.map((e=>e.global_ID))):e},queuedRequests: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.Cm:return s(e,t,!0);case r.yZ:case r.Rn:return s(e,t,!1)}return e}})},92310:function(e,t,n){"use strict";n.d(t,{Jy:function(){return r}});function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return`${e}-${t}-${n}`}},92972:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);t.ZP=(0,i.U)({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.IJ:return{...e,[t.payload.siteId]:!0};case o.Qw:return(0,r.omit)(e,t.payload.siteId);case o.qY:return t.payload.is_blocked?{...e,[t.payload.ID]:!0}:e[t.payload.ID]?(0,r.omit)(e,t.payload.ID):e;case o.zF:{if(!t.payload||!t.payload.sites)return e;const n=(0,r.reduce)(t.payload.sites,((e,t)=>(e[t.ID]=!0,e)),{});return{...e,...n}}}return e},currentPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF&&t.payload&&t.payload.page?t.payload.page:e},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF?!t.payload||!t.payload.page||t.payload.count>0?e:t.payload.page:e},inflightPages: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.zg:return t.payload&&t.payload.page?{...e,[t.payload.page]:!0}:e;case o.zF:return t.payload&&t.payload.page?(0,r.omit)(e,t.payload.page):e}return e}})},8614:function(e,t,n){"use strict";var r=n(78772),o=n(95884);t.Z=(0,o.U)({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 r.D8:return{...e,[t.payload.siteId]:!0};case r.K1:return{...e,[t.payload.siteId]:!0}}return e}})},63262:function(e,t,n){"use strict";n.d(t,{LV:function(){return o},N0:function(){return i},vE:function(){return s}});var r=n(78772);n(8681),n(35929);function o(e){return{type:r.LW,payload:{ID:e}}}function i(e){return{type:r.qY,payload:e}}function s(e,t){return{type:r.Fy,payload:e.payload,error:t}}},70418:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});const r=["ID","name","title","URL","icon","is_following","is_jetpack","description","is_private","feed_ID","feed_URL","capabilities","prefer_feed","subscribers_count","options","subscription","is_blocked","unseen_count"]},53761:function(e,t,n){"use strict";var r=n(92819),o=n(50118),i=n(47307),s=n(78772),a=n(29398),u=n(71085),c=n(95884),l=n(5259);function f(e,t){return t.error&&!(0,r.includes)([403,404,410],t.error.statusCode)?e:{...e,[t.payload.ID]:{ID:t.payload.ID,is_error:!0,error:t.error}}}function p(e,t){const n=(s=t.payload,(s=(0,r.omit)(s,["meta","subscription"])).URL&&(s.domain=(0,i.ce)(s.URL),s.slug=s.domain.replace(/\//g,"::")),s.title=(0,r.trim)(s.name)||s.domain,s.description&&(s.description=(0,o.S)(s.description)),s.options&&s.options.is_mapped_domain&&!s.is_jetpack&&(s.wpcom_url=(0,i.ce)(s.options.unmapped_url)),s.options&&s.options.is_redirect&&(s.slug=(0,i.ce)(s.options.unmapped_url),s.domain=s.slug),s);var s;return{...e,[t.payload.ID]:n}}const d=(0,a.G)(l.u,(0,u.$)((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.zF:if(!t.payload||!t.payload.sites)return e;return{...(0,r.keyBy)(t.payload.sites,"ID"),...e};case s.qY:return p(e,t);case s.Fy:return f(e,t)}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));t.ZP=(0,c.U)({items:d,queuedRequests: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.LW:return{...e,[t.payload.ID]:!0};case s.qY:case s.Fy:return(0,r.omit)(e,t.payload.ID)}return e},lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.qY?{...e,[t.payload.ID]:Date.now()}:e}})},5259:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(43056);const o={...r.K,patternProperties:{...r.K.patternProperties,"^\\d+$":{...r.K.patternProperties["^\\d+$"],properties:{...r.K.patternProperties["^\\d+$"].properties,feed_ID:{type:"number"},subscription:{type:"object"},is_blocked:{type:"boolean"},organization_id:{type:"number"},unseen_count:{type:"number"}}}}}},58311:function(e,t,n){"use strict";n.d(t,{_g:function(){return o}});n(92819),n(35929);const r=144e7;function o(e,t){const n=!e.reader.sites.queuedRequests[t],o=!function(e,t){return e.reader.sites.items[t]}(e,t);return n&&(o||function(e,t){const n=e.reader.sites.lastFetched[t];if(!n)return!0;return n<=Date.now()-r}(e,t))}},83530:function(e,t,n){"use strict";var r=n(92819),o=n(76292),i=n.n(o),s=n(77327),a=n(78772),u=n(95884),c=n(15960),l=n(86115);const f=(e,t)=>{const[n,...r]=e;return e.length>0&&t(n)?[n,...f(r,t)]:[]},p=(e,t)=>f([...e].reverse(),t),d={lastUpdated:null,items:[]},h=(0,u.U)({items:function(){let e,t,n,o,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:if(t=c.payload.gap,e=c.payload.streamItems,t){const n=f(u,(e=>!(0,s.NK)(e,t))),o=p(u,(e=>!(0,s.NK)(e,t)));if((0,s.NK)((0,r.last)(e),o[0])&&e.pop(),0===e.length)return[...n,...o];let a=[];const c=t.from,d=i()((0,r.last)(e).date);return c.isSame(d)||(a=[{isGap:!0,from:c,to:d}]),(0,l.E)([...n,...e,...a,...o])}return n=e.reduce(((e,t)=>!e.some((e=>(0,s.NK)(e,t)))?[...e,t]:e),u),o=(0,r.filter)(e,(e=>e.xPostMetadata)),o?(0,l.E)(n):n;case a.c7:return(0,l.E)([...c.payload.items,...u]);case a.K1:{const e=c.payload.postKey,t=(0,r.findIndex)(u,(t=>(0,s.NK)(t,e)));if(-1===t)return u;const n=[...u];return n[t]=n.pop(),n}}return u},pendingItems:function(){let e,t,n,o,s,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),u.lastUpdated&&t.isSameOrBefore(u.lastUpdated)?u:{...u,lastUpdated:t});case a.RN:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),n=i()((0,r.last)(e).date),u.lastUpdated&&(e=e.filter((e=>i()(e.date).isAfter(u.lastUpdated)))),0===e.length?u:(o=[...e],s=(0,r.filter)(o,(e=>e.xPostMetadata)),s&&(o=(0,l.E)(o)),u.lastUpdated&&n.isAfter(u.lastUpdated)&&o.push({isGap:!0,from:u.lastUpdated,to:n}),{lastUpdated:t,items:o}));case a.c7:return{...u,items:[]}}return u},selected:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case a._7:return n.payload.postKey;case a.l0:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),e===n.payload.items.length-1?t:n.payload.items[e+1];case a.rC:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),0===e?t:n.payload.items[e-1]}return t},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.pu?0===t.payload.streamItems.length:e},isRequesting: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.CI:return e||!t.payload.isPoll&&!t.payload.isGap;case a.pu:return!1}return e},pageHandle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type!==a.pu||!t.payload.pageHandle||t.payload.isPoll||t.payload.gap?e:t.payload.pageHandle}});t.ZP=(0,c.J)("payload.streamKey",h)},86115:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(92819),o=n(46310);const i=e=>e.reduce(((e,t)=>{const n=(0,r.last)(e);var i,s;return(0,o.qb)(n,t)?e[e.length-1]=(i=n,s=t,{...i,xPostUrls:Array.isArray(i.xPostUrls)?[...i.xPostUrls,s.url]:[s.url]}):e.push(t),e}),[])},49054:function(e,t,n){"use strict";var r=n(78772),o=n(95884);t.ZP=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.Ep){let n=t.images;return e[t.tag]&&(n=e[t.tag].concat(t.images)),{...e,[t.tag]:n}}return e},requesting: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.hB:case r._i:case r.Jx:return{...e,[t.tag]:t.type===r.hB}}return e}})},84668:function(e,t,n){"use strict";var r=n(92819),o=n(78772);t.Z=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 o.fY:{const n=t.payload;if(!t.meta.resetFollowingData)return(0,r.merge)({},e,(0,r.keyBy)(n,"id"));const o=(0,r.mapValues)(e,(e=>({...e,isFollowing:!1})));return(0,r.merge)({},o,(0,r.keyBy)(n,"id"))}case o.tN:{const n=t.payload;return(0,r.merge)({},e,{[n]:{isFollowing:!1}})}}return e}},64805:function(e,t,n){"use strict";var r=n(95884),o=n(49054),i=n(84668);t.Z=(0,r.U)({images:o.ZP,items:i.Z})},39493:function(e,t,n){"use strict";var r=n(78772),o=n(95884);t.Z=(0,o.U)({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.CE?{...e,[t.embedUrl]:t.thumbnailUrl}:e}})},9044:function(e,t,n){"use strict";n.d(t,{P:function(){return s},x:function(){return a}});var r=n(86398);let o;const i=[];function s(e,t){o&&(0,r.Z)(),o=(0,r.l)(e,t);for(const[n,r]of i)o(n,r)}function a(e,t){o&&o(e,t),i.push([e,t])}},30963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);n(91789);function o(e){return(0,r.get)(e,"ui.language.localeSlug",null)}},96767:function(e,t,n){"use strict";n(92819),n(28879)},87720:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(36747);function i(e){const t=(0,o.ts)(e);return(0,r.get)(t,"primary_blog",null)}},53843:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(37480);function o(e,t){return(0,r.Z)(e)[t]||null}},23047:function(e,t,n){"use strict";n(53843)},37480:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=Object.freeze({});function o(e){return e.sites.items||r}},16193:function(e,t,n){"use strict";var r=n(76678);n(65811);t.Z=e=>{const t=(0,r.I)(e);return t&&t.some((e=>e.isRefundable||"premium_theme"!==e.productSlug))}},28879:function(e,t,n){"use strict";n(92819)},87697:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(56666),o=n(92819);class i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"results",void 0),this.results=e}get(){return this.results}root(){return this.results.root}addRootResult(e,t){return this.addResult("root",e,t)}addKeyResult(e,t){return this.addResult(e,null,t)}addResult(e,t,n){n instanceof i?(0,o.forEach)(n.results,((n,r)=>{"root"===r?this.addResult(e,t,n):this.addResult(r,null,n)})):t?(this.results[e]||(this.results[e]={}),this.results[e][t]=n):this.results[e]=n}}},40540:function(e,t,n){"use strict";n.d(t,{BU:function(){return u},LV:function(){return c}});var r=n(20899),o=n(92819),i=n(72429),s=(n(1422),n(40211)),a=(n(91668),n(96767),n(23047),n(84465));function u(){return e=>{e({type:s.M4_});const t=(0,r.ZP)("site_filter");return i.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:a.U,options:a.x,filters:t.length>0?t.join(","):void 0}).then((t=>{var n;e((n=t.sites,{type:s.xLe,sites:n})),e({type:s.KSQ})})).catch((t=>{e({type:s.eTV,error:t})}))}}function c(e){function t(t){const n={apiVersion:"1.2"};t&&(n.force="wpcom");const o=(0,r.ZP)("site_filter");return o.length>0&&(n.filters=o.join(",")),i.Z.site(e).get(n)}return n=>{n({type:s.hJk,siteId:e});const r=t(!1).catch((e=>403===(null==e?void 0:e.status)&&"API calls to this blog have been disabled."===(null==e?void 0:e.message)||400===(null==e?void 0:e.status)&&"ApiNotFoundError"===(null==e?void 0:e.name)?t(!0):Promise.reject(e)));return r.then((t=>{t&&t.capabilities&&n(function(e){return{type:s.UUJ,site:e}}((0,o.omit)(t,"_headers"))),n({type:s.Mvd,siteId:e})})).catch((()=>{n({type:s.uuM,siteId:e})})),r}}},92546:function(e,t,n){"use strict";var r=n(40211),o=n(95884);const i=e=>(t,n)=>{let{siteId:r}=n;return{...t,[r]:e}};t.ZP=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.tvw){const{siteId:n,status:r}=t;return{...e,[n]:r}}return e},requesting: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.U5d:return i(!0)(e,t);case r.QLz:case r.D5g:return i(!1)(e,t)}return e}})},84465:function(e,t,n){"use strict";n.d(t,{U:function(){return r},x:function(){return o}});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description"].join(),o=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","updated_at","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent"].join()},26171:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(35743);const u=(e,t,n,o)=>{const i=(0,r.find)(e[t],{domain:n}),s=e[t].indexOf(i),a=[...e[t]];return a.splice(s,1,Object.assign({},i,o)),Object.assign({},e,{[t]:a})},c=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{siteId:n}=t;switch(t.type){case o.t2O:return Object.assign({},e,{[n]:t.domains});case o.DGo:return u(e,n,t.domain,{privateDomain:!0,contactInfoDisclosed:!1});case o.ON1:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1});case o.tGX:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!0});case o.HYG:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1})}return e}));t.ZP=(0,s.U)({errors: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.wOJ:case o.RI4:return Object.assign({},e,{[t.siteId]:null});case o.dyA:return Object.assign({},e,{[t.siteId]:t.error})}return e},items:c,requesting: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.wOJ:case o.RI4:case o.dyA:return Object.assign({},e,{[t.siteId]:t.type===o.wOJ})}return e},updatingPrivacy: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.sBg:case o.DGo:case o.zVI:case o.HCR:case o.ON1:case o.T6o:case o.w6q:case o.tGX:case o.M5U:case o.K1T:case o.HYG:case o.sQe:return Object.assign({},e,{[t.siteId]:{[t.domain]:-1!==[o.sBg,o.HCR,o.w6q,o.K1T].indexOf(t.type)}})}return e}})},35743:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});const r={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"array",items:{type:"object",required:["domain"],properties:{aftermarketAuction:{type:"boolean"},autoRenewalDate:{type:"string"},autoRenewing:{type:"boolean"},blogId:{type:"number"},canSetAsPrimary:{type:"boolean"},currentUserCanManage:{type:"boolean"},canManageDnsRecords:{type:"boolean"},canManageNameServers:{type:"boolean"},canUpdateContactInfo:{type:"boolean"},cannotManageDnsRecordsReason:{type:["null","string"]},cannotManageNameServersReason:{type:["null","string"]},cannotUpdateContactInfoReason:{type:["null","string"]},domain:{type:"string"},expired:{type:"boolean"},expiry:{type:["null","string"]},expirySoon:{type:"boolean"},googleAppsSubscription:{type:"object"},titanMailSubscription:{type:"object"},hasRegistration:{type:"boolean"},hasWpcomNameservers:{type:"boolean"},hasZone:{type:"boolean"},isPendingIcannVerification:{type:"boolean"},isPendingRenewal:{type:"boolean"},isPremium:{type:"boolean"},isPrimary:{type:"boolean"},isSubdomain:{type:"boolean"},isWPCOMDomain:{type:"boolean"},manualTransferRequired:{type:"boolean"},name:{type:"string"},owner:{type:"string",optional:!0},partnerDomain:{type:"boolean"},pendingRegistration:{type:"boolean"},pendingRegistrationTime:{type:"string"},pointsToWpcom:{type:"boolean"},registrar:{type:"string"},registrationDate:{type:"string"},subscriptionId:{type:["null","string"]},supportsDomainConnect:{type:"boolean",optional:!0},supportsGdprConsentManagement:{type:"boolean",optional:!0},type:{type:"string"},transferStartDate:{type:["null","string"]},transferEndDate:{type:["null","string"]}}}}}}},22900:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,siteId:n,features:o,error:s}=arguments.length>1?arguments[1]:void 0;switch(t){case r.fa4:return i(e,n,{error:null,isRequesting:!0});case r.xNf:return i(e,n,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:o});case r.YCt:return i(e,n,{error:s,isRequesting:!1})}return e}},56733:function(e,t,n){"use strict";n.d(t,{P:function(){return r.Z}});n(47437);var r=n(6826)},47437:function(e,t,n){"use strict";n(4792)},6826:function(e,t,n){"use strict";var r=n(4792),o=n(20834),i=n(27246);t.Z=e=>{const t=(0,r.v9)(o.Z);return(0,r.v9)((n=>(0,i.Z)(n,t||0,e)))}},96829:function(e,t,n){"use strict";var r=n(40211),o=n(15960),i=n(95884),s=n(11900);const a=(0,o.J)("siteId",((e,t)=>{let{type:n}=t;switch(n){case r.Frv:return s.e.Pending;case r.lfH:return s.e.Success;case r.Byq:return s.e.Failed}return e})),u=(0,o.J)("siteId",((e,t)=>{let{type:n,payload:o}=t;return n===r.Kmp?o?(e=>{const t={};return e.forEach((e=>{t[e.product_id]=(e=>{let{currency_code:t,discount_percentage:n,formatted_price:r,ineligible_reason:o,product_id:i,product_slug:s,raw_price:a}=e;return{currencyCode:t,discountPercentage:n,formattedPrice:r,ineligibleReason:o,productId:i,productSlug:s,rawPrice:a}})(e)})),t})(o):void 0:e}));t.ZP=(0,i.U)({requestStatus:a,items:u})},11900:function(e,t,n){"use strict";let r;n.d(t,{e:function(){return r}}),function(e){e.Pending="pending",e.Success="success",e.Failed="failed"}(r||(r={}))},20152:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(92819),o=n(40211);const i={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function s(e,t,n){return Object.assign({},e,{[t]:Object.assign({},i,e[t],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 o.gNn:return s(e,t.siteId,{error:null,isRequesting:!0});case o.Rmh:return s(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.plans});case o.$MQ:return s(e,t.siteId,{error:t.error,isRequesting:!1});case o.XLI:return(0,r.omit)(e,t.siteId)}return e}},42935:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}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 r.eO9:return i(e,t.siteId,{error:null,isRequesting:!0});case r.S3d:return i(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.products});case r.whB:return i(e,t.siteId,{error:t.error,isRequesting:!1})}return e}},82139:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(46505),s=n(29398),a=n(95884),u=n(92546),c=n(26171),l=n(22900),f=n(96829),p=n(20152),d=n(42935),h=n(43056);const g=(0,s.G)(h.K,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(null===e&&t.type!==o.UUJ&&t.type!==o.xLe)return null;switch(t.type){case o.Khp:{const n=e[t.siteId];return n?Object.assign({},e,{[t.siteId]:(0,r.merge)({},n,{options:{wordads:!0}})}):e}case o.UUJ:case o.xLe:{const n=t.site?[t.site]:t.sites,i=o.xLe===t.type?{}:e;return(0,r.reduce)(n,((t,n)=>((0,r.isEqual)(t[n.ID],n)||(t===e&&(t={...e}),t[n.ID]=n),t)),i||{})}case o.SYS:case o.Oh9:return(0,r.omit)(e,t.siteId);case i.hX:{const{siteId:n,themeStylesheet:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{theme_slug:o}})}}case o.rZJ:case o.KBY:{const{siteId:n,settings:o}=t,i=e[n];if(!i)return e;let s=i;return(0,r.reduce)(["blog_public","wpcom_public_coming_soon","wpcom_coming_soon","site_icon"],((t,a)=>{if(!o.hasOwnProperty(a))return t;switch(a){case"blog_public":{const e=-1===parseInt(o.blog_public,10);if(i.is_private===e)return t;s={...s,is_private:e};break}case"wpcom_coming_soon":case"wpcom_public_coming_soon":{const e=1===parseInt(o.wpcom_public_coming_soon,10)||1===parseInt(o.wpcom_coming_soon,10);if(i.is_coming_soon===e)return t;s={...s,is_coming_soon:e};break}case"site_icon":{const e=o.site_icon;if(!i.icon&&null===e||i.icon&&i.icon.media_id===e)return t;s=null===e?(0,r.omit)(s,"icon"):{...s,icon:{media_id:e}};break}}return t===e&&(t={...e}),t[n]=s,t}),e)}case o.aqr:{const{siteId:n,mediaIds:o}=t,i=(0,r.get)(e[n],"icon.media_id");return i&&(0,r.includes)(o,i)?{...e,[n]:(0,r.omit)(e[n],"icon")}:e}case o.U0$:{const{siteId:n}=t,o=(0,r.get)(e[n],"updates");return o?{...e,[n]:{...e[n],updates:{...o,plugins:o.plugins-1,total:o.total-1}}}:e}case o.uvG:{const{siteId:n,frontPageOptions:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{...o}})}}case o.lTr:{const{siteId:n,migrationStatus:o,lastModified:i}=t;if(!e[n])return e;const s=e[n].site_migration||{},a={status:o};return i&&(a.last_modified=i),{...e,[n]:{...e[n],site_migration:(0,r.merge)({},s,a)}}}}return e})),m=(0,s.G)(h.W,(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.xLe||e}));t.ZP=(0,a.U)({connection:u.ZP,domains:c.ZP,requestingAll: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.M4_:return!0;case o.eTV:case o.KSQ:return!1}return e},introOffers:f.ZP,items:g,plans:p.z,products:d.R,features:l.E,requesting: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.hJk:{const{siteId:n}=t;return{...e,[n]:!0}}case o.uuM:{const{siteId:n}=t;return{...e,[n]:!1}}case o.Mvd:{const{siteId:n}=t;return{...e,[n]:!1}}}return e},hasAllSitesList:m,jetpackSiteDisconnected: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.ftJ:return!1;case o.Oh9:return!0}return e}})},43056:function(e,t,n){"use strict";n.d(t,{K:function(){return r},W:function(){return o}});const r={type:"object",patternProperties:{"^\\d+$":{type:"object",required:["ID","name"],properties:{ID:{type:"number"},name:{type:"string"},URL:{type:"string"},jetpack:{type:"boolean"},icon:{type:"object",properties:{img:{type:"string"},ico:{type:"string"},media_id:{type:"number"}}},visible:{type:"boolean"},is_private:{type:"boolean"},is_vip:{type:"boolean"},options:{type:"object"},meta:{type:"object"},is_multisite:{type:"boolean"},capabilities:{type:"object",patternProperties:{"^[a-z_]+$":{type:"boolean"}}},plan:{type:"object",required:["product_id","product_slug"],properties:{product_id:{type:["number","string"]},product_slug:{type:"string"},product_name_short:{type:["string","null"]},expired:{type:"boolean"},user_is_owner:{type:"boolean"},is_free:{type:"boolean"}}},single_user_site:{type:"boolean"},updates:{type:"object",properties:{jp_version:{type:"string"},plugins:{type:"number"},themes:{type:"number"},total:{type:"number"},translations:{type:"number"},wordpress:{type:"number"},wp_version:{type:"string"}}},lang:{type:"string"}}}},additionalProperties:!1},o={type:["boolean","null"]}},31716:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(75134),o=n(27246),i=n(60222);function s(e,t){if(!(0,i.Z)(e,t))return null;if(!(0,r.Z)(e,t))return!1;const n=(0,o.Z)(e,t,"file_mod_disabled");return!n||!n.includes("automatic_updater_disabled")}},75134:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(27246),o=n(60222),i=n(57481);function s(e,t){if(!(0,o.Z)(e,t))return null;if((0,r.Z)(e,t,"is_multi_network"))return!1;if((0,i.Z)(e,t))return!1;const n=(0,r.Z)(e,t,"file_mod_disabled");return!n||!n.includes("disallow_file_mods")&&!n.includes("has_no_file_system_write_access")}},20336:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(40822),o=n(77270),i=n(96666),s=n(64802),a=n(60222);function u(e,t,n,u,c){if(!(0,a.Z)(e,t)){const o=(0,s.Z)(e,t),i=[""].concat(["customize",n,o].filter(Boolean)).join("/");return(0,r.Z)({return:u,guide:c},i)}const l=(0,i.Z)(e,t,"customize.php");return l?(u||"undefined"==typeof window||(u=window.location.href),(0,r.Z)({return:u,...(0,o.t)(n),guide:c},l)):null}},15199:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(31716),o=n(75134),i=n(60222),s=n(47020),a=n(57481);function u(e,t){return(0,i.Z)(e,t)?{canAutoupdateFiles:(0,r.Z)(e,t),canUpdateFiles:(0,o.Z)(e,t),isMainNetworkSite:(0,s.Z)(e,t),isSecondaryNetworkSite:(0,a.Z)(e,t)}:{}}},96666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(27246);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(0,r.Z)(e,t,"admin_url");return o?o+n.replace(/^\//,""):null}},14012:function(e,t,n){"use strict";var r=n(83685),o=n(37480),i=n(64802);t.Z=(0,r.P1)(((e,t)=>Object.values((0,o.Z)(e)).find((n=>(0,i.Z)(e,n.ID)===t))??null),(e=>[(0,o.Z)(e)]))},29926:function(e,t,n){"use strict";var r=n(83685),o=n(72537),i=n(37480);t.Z=(0,r.P1)((e=>{const t=Object.values((0,i.Z)(e));return(0,o.Cm)(t)}),i.Z)},84810:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(47307),o=n(53843),i=n(65663),s=n(27246),a=n(2062),u=n(64802),c=n(40877),l=n(60222),f=n(91608);function p(e,t){if(!(0,o.Z)(e,t))return null;const n={domain:(0,i.Z)(e,t),options:(0,a.Z)(e,t),slug:(0,u.Z)(e,t),title:(0,c.Z)(e,t)};return(0,s.Z)(e,t,"is_mapped_domain")&&!(0,l.Z)(e,t)&&(n.wpcom_url=(0,r.ce)((0,s.Z)(e,t,"unmapped_url"))),(0,f.Z)(e,t)&&(n.URL=(0,s.Z)(e,t,"unmapped_url")),n}},65663:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(47307),o=n(53843),i=n(27246),s=n(64802),a=n(91608);function u(e,t){if((0,i.Z)(e,t,"is_redirect")||(0,a.Z)(e,t))return(0,s.Z)(e,t);const n=(0,o.Z)(e,t);return n?(0,r.ce)(n.URL):null}},27246:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2062);function o(e,t,n){const o=(0,r.Z)(e,t);return(null==o?void 0:o[n])??null}},2062:function(e,t,n){"use strict";var r=n(53843);const o=Object.freeze({});t.Z=(e,t)=>{const n=(0,r.Z)(e,t);return n?n.options||o:null}},64802:function(e,t,n){"use strict";var r=n(83685),o=n(47307),i=n(53843),s=n(37480),a=n(27246),u=n(2062),c=n(91608);t.Z=(0,r.P1)(((e,t)=>{const n=(0,i.Z)(e,t);return n?(0,a.Z)(e,t,"is_redirect")||(0,c.Z)(e,t)?(0,o.ce)((0,a.Z)(e,t,"unmapped_url")):(0,o.nq)(n.URL):null}),((e,t)=>[(0,s.Z)(e),(0,u.Z)(e,t)]))},40877:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(53843),o=n(65663);function i(e,t){const n=(0,r.Z)(e,t);return n?n.name?n.name.trim():(0,o.Z)(e,t):null}},78871:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(53843),o=n(15199),i=n(14012),s=n(84810);let a=new WeakMap;function u(e,t){const n=(0,r.Z)(e,t)||(0,i.Z)(e,t);if(!n)return null;const u=a.get(n);if(u)return u;const c={...n,...(0,s.Z)(e,n.ID),...(0,o.Z)(e,n.ID)};return a.set(n,c),c}u.clearCache=()=>{a=new WeakMap}},79791:function(e,t,n){"use strict";function r(e){return!!e.sites.hasAllSitesList}n.d(t,{Z:function(){return r}})},47020:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)===(0,r.ce)(u)}},57481:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)!==(0,r.ce)(u)}},60222:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(53843);function o(e,t){const n=(0,r.Z)(e,t);return n?n.jetpack:null}},58863:function(e,t,n){"use strict";function r(e,t){return!!e.sites.requesting[t]}n.d(t,{Z:function(){return r}})},52239:function(e,t,n){"use strict";function r(e){return!!e.sites.requestingAll}n.d(t,{Z:function(){return r}})},83377:function(e,t,n){"use strict";var r=n(83685),o=n(78871),i=n(60222),s=n(20834);t.Z=(0,r.P1)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,s.Z)(e);const n=(0,o.Z)(e,t);return!!n&&!n.is_wpcom_atomic&&!(0,i.Z)(e,t)}),(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,s.Z)(e);return[(0,i.Z)(e,t)]}))},91608:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29926);function o(e,t){return(0,r.Z)(e).includes(t)}},46505:function(e,t,n){"use strict";n.d(t,{hX:function(){return r},K6:function(){return o}});const r="THEME_ACTIVATE_SUCCESS",o="THEMES_REQUEST_SUCCESS"},50425:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(46505);const s=["calypso_themeshowcase_theme_click"],a={GUIDED_TOUR_UPDATE:o.H6A,THEMES_REQUEST_SUCCESS:i.K6,ROUTE_SET:o.RSp,SITE_SETTINGS_RECEIVE:o.KBY},u=(c=[e=>a.hasOwnProperty(e.type)&&("function"!=typeof a[e.type]||a[e.type](e)),e=>(0,r.get)(e,"meta.analytics",[]).some((e=>s.includes(e.payload.name)))],e=>c.some((t=>t(e))));var c;const l=e=>({...e,timestamp:Date.now()}),f=(e,t)=>t?[...e,t].slice(-50):e;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return u(t)?f(e,l(t)):e}},71799:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(40211);n(91789);function o(e){return{type:r.bgv,siteId:e}}},46117:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:t}=arguments.length>1?arguments[1]:void 0;return t===r.JYg||e}},1184:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.Fux?n:e}},57718:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(95884);const s=(0,o.G)({type:"string"},(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return n.type!==r.IK5||n.isLoading||null===(e=n.section)||void 0===e||!e.name||["checkout","checkout-pending","checkout-thank-you","plans"].includes(n.section.name)?t:["plugins","themes","hosting"].includes(n.section.name)?n.section.name:""}));t.Z=(0,i.U)({upgradeIntent:s})},87316:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:t,value:n}=arguments.length>1?arguments[1]:void 0;return t===r.xm0?n:e}},91789:function(e,t,n){"use strict";var r=n(9044),o=n(74307);(0,r.x)(["ui"],o.ZP)},28958:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(20899),o=n(40211);const i={localeSlug:(0,r.ZP)("i18n_default_locale_slug"),localeVariant:null};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;return t.type===o.JqF?{localeSlug:t.localeSlug,localeVariant:t.localeVariant}:e}},48659:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40211);const o={current:"content",next:null};function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.kUt:return t.area===e.current?e:Object.assign({},e,{current:t.area});case r.vO0:return t.area===e.next?e:Object.assign({},e,{next:t.area});case r.XTm:{let t=e.next;return t||"content"===e.current||(t="content"),t?Object.assign({},e,{current:t,next:null}):e}}return e}},31175:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.NnF?n:e}},30592:function(e,t,n){"use strict";var r=n(40211),o=n(95884);t.Z=(0,o.U)({view:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.WkZ?t.view:e}})},45405:function(e,t,n){"use strict";var r=n(40211);const o={postIdWithActiveSharePanel:null};t.Z=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 r.KF6:return{...e,postIdWithActiveSharePanel:null};case r.WYe:return e.postIdWithActiveSharePanel===t.postGlobalId?{...e,postIdWithActiveSharePanel:null}:{...e,postIdWithActiveSharePanel:t.postGlobalId}}return e}},37508:function(e,t,n){"use strict";var r=n(40211),o=n(95884);t.ZP=(0,o.U)({currentPreviewSiteId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.dGx?t.siteId??null:e},currentPreviewUrl: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 r.dGx:return t.url;case r.kLL:return null}return e}})},74307:function(e,t,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(50425),u=n(46117),c=n(1184),l=n(57718),f=n(87316),p=n(28958),d=n(48659),h=n(31175),g=n(30592),m=n(45405),y=n(37508),v=n(77027);const b=(0,i.G)({type:["number","null"]},(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv?t.siteId||null:e})),w=(0,i.G)({type:"boolean"},(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv||e}));const _=(0,s.U)({actionLog:a.Z,appBannerVisibility:c.Z,appBannerDismissed:u.Z,helpCenterVisible:f.Z,checkout:l.Z,isSectionLoading:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.Nq?t.isSectionLoading:e},isNotificationsOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{type:t}=arguments.length>1?arguments[1]:void 0;return t===o.hxz?!e:e},language:p.Z,layoutFocus:d.Z,masterbarVisibility:h.Z,mediaModal:g.Z,postTypeList:m.Z,preview:y.ZP,section:v.Z,selectedSiteId:b,siteSelectionInitialized:w});t.ZP=(0,r.xi)("ui",_)},9817:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(40211);n(91789);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...t,type:r.IK5};return e&&(n.section=e),n}},77027:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40211);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.IK5&&void 0!==t.section?t.section:e}},73041:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(75149);function i(e){return(0,r.get)((0,o.Z)(e),"name",null)}},75149:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});n(91789);function r(e){return e.ui.section||!1}},20834:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});n(91789);function r(e){return e.ui.selectedSiteId}},17014:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(78871),o=n(20834);function i(e){const t=(0,o.Z)(e);return t?(0,r.Z)(e,t):null}},90924:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r=e=>(t,n)=>{const r=e(t,n);let o=t;return{...r,addReducer:function(e,t){o=o.addReducer(e,t),this.replaceReducer(o)},getCurrentReducer:function(){return o}}}},15960:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(92819),o=n(87697),i=n(69909),s=n(71085);const a=(e,t)=>{if("string"!=typeof e)throw new TypeError("Key name passed into `keyedReducer` must be a string but I detected a "+typeof e);if(!e.length)throw new TypeError("Key name passed into `keyedReducer` must have a non-zero length but I detected an empty string");if("function"!=typeof t)throw new TypeError("Reducer passed into `keyedReducer` must be a function but I detected a "+typeof t);const n=t(void 0,{type:"@@calypso/INIT"});return(0,s.$)((function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const s=(0,r.get)(i,e,void 0);if(null==s)return o;const a=o[s],u=t(a,i);return u===a?o:void 0===u||(0,r.isEqual)(u,n)?o.hasOwnProperty(s)?(0,r.omit)(o,s):o:{...o,[s]:u}}),{serialize:e=>(0,r.reduce)(e,((e,s,a)=>{const u=(0,i.q)(t,s);return void 0===u||(0,r.isEqual)(u,n)||(e||(e=new o._),e.addRootResult(a,u)),e}),void 0),deserialize:e=>(0,r.omitBy)((0,r.mapValues)(e,(e=>(0,i.v)(t,e))),(e=>void 0===e||(0,r.isEqual)(e,n)))})}},95884:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(92819),o=n(18717),i=n(40211),s=n(87697),a=n(69909);function u(e){const t=(0,o.UY)(e),n=(n,o)=>o.type===i.gm2?function(e,t,n){let o=!1;const i=(0,r.mapValues)(e,((e,i)=>{if(e.storageKey===n.storageKey)return o=!0,n.storedState;const s=(0,r.get)(t,i),a=e(s,n);return o=o||a!==s,a}));return o?i:t}(e,n,o):t(n,o);return n.serialize=t=>function(e,t){if(void 0===t)return;return(0,r.reduce)(e,((e,n,r)=>{const o=(0,a.q)(n,t[r]);return void 0!==o&&(e||(e=new s._),n.storageKey?e.addKeyResult(n.storageKey,o):e.addRootResult(r,o)),e}),void 0)}(e,t),n.deserialize=t=>function(e,t){return(0,r.mapValues)(e,((e,n)=>(0,a.v)(e,null==t?void 0:t[n])))}(e,t),n.addReducer=function(e,t){return(n,r)=>{const[o,...i]=n,s=t[o];let a;if(s){if(0===i.length)throw new Error(`Reducer with key '${o}' is already registered`);if(!s.addReducer)throw new Error("New reducer can be added only into a reducer created with 'combineReducers'");a=s.addReducer(i,r)}else a=i.reduceRight(((e,t)=>u({[t]:e})),r);const c=u({...t,[o]:a});return c.storageKey=e.storageKey,c}}(n,e),n.getStorageKeys=function(e){return function*(){for(const t of Object.values(e))t.storageKey&&(yield{storageKey:t.storageKey,reducer:t}),t.getStorageKeys&&(yield*t.getStorageKeys())}}(e),n}},29398:function(e,t,n){"use strict";n.d(t,{G:function(){return l}});var r=n(83685),o=(n(12560),n(60772)),i=n.n(o),s=n(92819),a=n(69909),u=n(71085);function c(e,t,n){const o=(0,a.q)(t,(0,r.aY)(t));return!!(0,s.isEqual)(n,o)||function(e,t,n){return i()(t,{greedy:!1,verbose:!1})(e)}(n,e)}const l=(e,t)=>{const n=(0,u.$)(t);return(0,u.$)(n,{deserialize:t=>void 0===t?(0,r.aY)(n):c(e,n,t)?(0,a.v)(n,t):(0,r.aY)(n)})}},69909:function(e,t,n){"use strict";n.d(t,{q:function(){return o},v:function(){return i}});var r=n(83685);function o(e,t){if(e.serialize)return e.serialize(t)}function i(e,t){return e.deserialize?e.deserialize(t):(0,r.aY)(e)}},71085:function(e,t,n){"use strict";function r(e){let{serialize:t,deserialize:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.bind(null);return r.serialize=t||e.serialize||(e=>e),r.deserialize=n||e.deserialize||(e=>e),r}n.d(t,{$:function(){return r}})},36115:function(e,t,n){"use strict";n.d(t,{vX:function(){return r.Z},ts:function(){return o.t},P6:function(){return i.P6},w2:function(){return i.w2},jN:function(){return i.jN},$A:function(){return i.$A},MB:function(){return i.MB},di:function(){return i.di},MR:function(){return i.MR},lH:function(){return i.lH}});var r=n(21694),o=n(36209),i=(n(29377),n(59792));n(73722)},29377:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});let r=null,o=0;function i(e){const t={last_pageview_path_with_count:`${r}(${o.toString()})`,this_pageview_path_with_count:`${e}(${o+1})`};return r=e,o++,t}"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},59792:function(e,t,n){"use strict";n.d(t,{lH:function(){return m},MR:function(){return y},di:function(){return v},MB:function(){return b},$A:function(){return w},jN:function(){return _},P6:function(){return E},w2:function(){return S}});var r=n(22699),o=n(84898),i=n(13421),s=n(92819),a=n(29377),u=n(36209),c=n(19358),l=n(21694);const f=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let p,d=Promise.resolve();function h(e){if("undefined"==typeof window)return"";e=e.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");const t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function g(){return d.catch((()=>{let e,t;const n=(0,u.t)();if(n&&n.ID)e="wpcom:user_id",t=n.ID;else if(e=h("_ut")||"anon",t=h("_ui"),!t){const e=i.parse(document.cookie);if(e.tk_ai)t=e.tk_ai;else{t=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;return"undefined"==typeof window?"":(window.crypto&&window.crypto.getRandomValues?(e=new Uint8Array(t),window.crypto.getRandomValues(e)):e=(0,s.times)(t,(()=>Math.floor(256*Math.random()))),window.btoa(String.fromCharCode(...e)))}(18),document.cookie=i.serialize("tk_ai",t)}}return(0,c.Z)("Loading /nostats.js",{_ut:e,_ui:t}),(0,o.ve)("/nostats.js?_ut="+encodeURIComponent(e)+"&_ui="+encodeURIComponent(t))}))}function m(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&(d=(0,o.ve)("//stats.wp.com/w.js?63"));const y=new r.EventEmitter;function v(){return i.parse(document.cookie).tk_ai}function b(e,t){return"function"==typeof t&&((0,c.Z)("superProps",t),p=t),"object"==typeof e&&((0,c.Z)("identifyUser",e),w(e)),(0,c.Z)("checkForBlockedTracks"),g()}function w(e){if("object"!=typeof e)return void(0,c.Z)("Invalid userData.",e);const t=(0,u.l)(e);t?((0,c.Z)("Tracks identifyUser.",t),m(["identifyUser",t.ID,t.username])):(0,c.Z)("Insufficient userData.",e)}function _(e,t){if(t=t||{},(0,c.Z)('Record event "%s" called with props %o',e,t),e.startsWith("calypso_")||(0,s.includes)(f,e)){if(p){const e=p(t);t={...t,...e}}t=(0,s.omitBy)(t,(e=>void 0===e)),(0,c.Z)('Recording event "%s" with actual props %o',e,t),m(["recordEvent",e,t]),y.emit("record-event",e,t)}else(0,c.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}function E(e,t){(0,c.Z)("Recording pageview in tracks.",e,t);let n={do_not_track:(0,l.Z)()?1:0,path:e};const r="undefined"!=typeof window&&window.BUILD_TIMESTAMP;if(r&&(n=Object.assign(n,{build_timestamp:r})),t&&(n=Object.assign(n,t)),"undefined"!=typeof window&&window.location){const e=new URL(window.location.href).searchParams,t=e&&Array.from(e.entries()).filter((e=>{let[t]=e;return t.startsWith("utm_")})),r=t?Object.fromEntries(t):{};n=Object.assign(n,r)}_("calypso_page_view",n)}function S(e,t){const n=(0,a.i)(e);E(e,Object.assign(t||{},n))}},73722:function(e,t,n){"use strict";n(59792)},36209:function(e,t,n){"use strict";n.d(t,{t:function(){return i},l:function(){return s}});var r=n(40004);let o;function i(){return o}function s(e){if(e.ID&&!isNaN(parseInt(e.ID,10))&&e.username&&e.email)return o={ID:parseInt(e.ID,10),username:e.username,email:e.email,hashedPii:{ID:(0,r.Z)(e.ID),username:(0,r.Z)(e.username.toLowerCase().replace(/\s/g,"")),email:(0,r.Z)(e.email.toLowerCase().replace(/\s/g,""))}},o}},19358:function(e,t,n){"use strict";var r=n(38049),o=n.n(r);t.Z=o()("calypso:analytics")},21694:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19358);function o(){const e=Boolean("undefined"!=typeof window&&("1"===window.doNotTrack||window.navigator&&"1"===window.navigator.doNotTrack));return(0,r.Z)(`Do Not Track: ${e}`),e}},40004:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(68032),o=n.n(r);function i(e){return o()().update(e.toString()).digest("hex")}},29770:function(e,t){"use strict";const n={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},r={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1};t.Z=e=>((e=Object.assign(e,n)).features&&(e.features=Object.assign(e.features,r)),window.electron&&window.electron.features&&(e.features=Object.assign(e.features,window.electron.features)),e)},20899:function(e,t,n){"use strict";n.d(t,{_k:function(){return f}});var r=n(90544),o=n(13421),i=n(29770);if("undefined"==typeof window||!window.configData)throw new ReferenceError("No configuration was found: please see packages/calypso-config/README.md for more information");const s=void 0!==window.electron;let a;a=s?(0,i.Z)(window.configData):window.configData;const u=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function c(e,t){e.split(",").forEach((e=>{const n=e.replace(/^[-+]/,""),r=!/^-/.test(e);a.features&&(a.features[n]=r,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",r?"enabled":"disabled",t,n))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(a.env_id)||"undefined"!=typeof window&&u.test(window.location.host)){const e=o.parse(document.cookie);e.flags&&c(e.flags,"cookie");try{const e=window.sessionStorage.getItem("flags");e&&c(e,"sessionStorage")}catch(p){}const t=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);t&&c(decodeURIComponent(t[1]),"URL")}const l=(0,r.Z)(a);t.ZP=l;const f=l.isEnabled;l.enabledFeatures,l.enable,l.disable},88691:function(e,t,n){"use strict";n(65688),n(46106)},21862:function(e,t,n){"use strict";n.d(t,{wJ_:function(){return o},Ai8:function(){return i},Eb2:function(){return s},gqo:function(){return a},c74:function(){return u},jDM:function(){return c},Zaf:function(){return l},KlX:function(){return f},W4b:function(){return p},E5t:function(){return d},SLH:function(){return h},gI6:function(){return g},U_2:function(){return m},n_S:function(){return y},dmM:function(){return v},IhT:function(){return b},vkU:function(){return w},N5t:function(){return _},HPg:function(){return E},J8D:function(){return S},oGd:function(){return C},MOV:function(){return P},Vms:function(){return k},$G1:function(){return I},ggN:function(){return A},Tez:function(){return T},Xk_:function(){return R},iTE:function(){return O},QNW:function(){return x},XMd:function(){return F},Ej:function(){return L},Q3C:function(){return U},B2h:function(){return Z},xjj:function(){return D},V09:function(){return j},Tmz:function(){return N},Zjz:function(){return M},Vml:function(){return q},Uwp:function(){return B},igx:function(){return H},VyO:function(){return V},Z5U:function(){return $},PUy:function(){return W},jSq:function(){return z},vEX:function(){return G},MCU:function(){return Q},Q1W:function(){return Y},fhe:function(){return K},SZ6:function(){return J},Tx8:function(){return X},sYz:function(){return ee},ljn:function(){return te},vqo:function(){return ne},R2o:function(){return re},EBu:function(){return oe},EDT:function(){return ie},q4V:function(){return se},fp6:function(){return ae},cWM:function(){return ue},_3A:function(){return ce},QfP:function(){return le},oaT:function(){return fe},$NZ:function(){return pe},wwD:function(){return de},rlg:function(){return he},F$l:function(){return ge},gRD:function(){return me},V37:function(){return ye},s1f:function(){return ve},_sL:function(){return be},nsi:function(){return we},L2_:function(){return _e},$PM:function(){return Ee},Rp9:function(){return Se},$QL:function(){return Ce},zQV:function(){return Pe},vQ$:function(){return ke},E30:function(){return Ie},m1c:function(){return Ae},wUt:function(){return Te},ALM:function(){return Re},okS:function(){return Oe},$xY:function(){return xe},$23:function(){return Fe},Xif:function(){return Le},Do2:function(){return Ue},$vg:function(){return Ze},kI:function(){return De},DwI:function(){return je},csF:function(){return Ne},afj:function(){return Me},HpB:function(){return qe},w7L:function(){return Be},oIe:function(){return He},XgZ:function(){return Ve},CtJ:function(){return $e},n$d:function(){return We},dZ$:function(){return ze},X2I:function(){return Ge},rDn:function(){return Qe},$4:function(){return Ye},V1k:function(){return Ke},TBQ:function(){return Je},s4b:function(){return Xe},TZT:function(){return et},$pY:function(){return tt},mX4:function(){return nt},tS0:function(){return rt},L2R:function(){return ot},V1I:function(){return it},FR0:function(){return st},zrQ:function(){return at},T$h:function(){return ut},lv3:function(){return ct},ewW:function(){return lt},GwK:function(){return ft},w6W:function(){return pt},liF:function(){return dt},DJ3:function(){return ht},puh:function(){return gt},xlk:function(){return mt},VZW:function(){return yt},sQp:function(){return vt},lYf:function(){return bt},$mN:function(){return wt},JqD:function(){return _t},bHF:function(){return Et},XZZ:function(){return St},vje:function(){return Ct},S_M:function(){return Pt},yjN:function(){return kt},iC0:function(){return It},rdd:function(){return At},bJv:function(){return Tt},ops:function(){return Rt},FiJ:function(){return Ot},c__:function(){return xt},x_7:function(){return Ft},fDA:function(){return Lt},SsD:function(){return Ut},O05:function(){return Zt},hH1:function(){return Dt},Ly9:function(){return jt},FNU:function(){return Nt},DEy:function(){return Mt},n26:function(){return qt},ikw:function(){return Bt}});var r=n(90892);const o="wordpress-subdomain",i="blog-domain",s="custom-domain",a="jetpack-essential",u="jetpack-advanced",c="free-themes",l="1gb-storage",f="3gb-storage",p="6gb-storage",d="13gb-storage",h="50gb-storage",g="200gb-storage",m="community-support",y="email-support",v="email-live-chat-support-business-days",b="email-live-chat-support-all-days",w="live-chat-support-all-days",_="live-chat-support-business-days",E="email-forwarding-extended-limit",S="priority-support",C="basic-design",P="advanced-design",k="google-analytics",I="cloudflare-analytics",A="google-my-business",T="live-chat-support",R="no-adverts",O="video-upload",x="video-upload-jetpack-pro",F="audio-upload",L="wordads-instant",U="no-wp-branding",Z="advanced-seo",D="upload-plugins",j="install-plugins",N="upload-themes",M="republicize",q="simple-payments",B="all-free-features",H="all-free-features-jetpack",V="all-personal-features",$="all-premium-features",W="all-premium-features-jetpack",z="advanced-customization",G="upload-themes-and-plugins",Q="free-custom-domain",Y="free-blog-domain",K="email-support-signup",J="monetise-your-site",X="earn-ad-revenue",ee="wordpress-subdomain-signup",te="advanced-seo-tools",ne="advanced-seo-expanded-abbreviation",re="free-themes-signup",oe="memberships",ie="premium-content-block",se="hosting",ae="premium-design-for-stores",ue="sftp-and-database-access",ce="site-backups-and-restore",le="unlimited-premium-themes",fe="free-professional-email-trial",pe="blank-feature",de="standard-security-tools",he="site-stats",ge="traffic-tools",me="jetpack-manage",ye="spam-akismet-plus",ve="offsite-backup-vaultpress-daily",be="offsite-backup-vaultpress-realtime",we="backup-archive-30",_e="backup-archive-unlimited",Ee="backup-storage-space-unlimited",Se="automated-restores",Ce="easy-site-migration",Pe="malware-scanning-daily",ke="malware-scanning-daily-and-on-demand",Ie="one-click-threat-resolution",Ae="automatic-security-fixes",Te="site-activity-log",Re="free-wordpress-themes",Oe="seo-preview-tools",xe="accept-payments",Fe="shipping-carriers",Le="unlimited-products-service",Ue="ecommerce-marketing",Ze="premium-customizable-themes",De="all-business-features",je="backup-daily-v2",Ne="backup-realtime-v2",Me="product-backup-daily-v2",qe="product-backup-realtime-v2",Be="scan-v2",He="product-scan-daily-v2",Ve="product-scan-realtime-v2",$e="antispam-v2",We="activity-log-1-year-v2",ze="product-search-v2",Ge="security-daily",Qe="crm-v2",Ye="collect-payments-v2",Ke=r.K$,Je=r.Sj,Xe=r.JD,et=r.AY,tt=r.oe,nt=r.rx,rt=r.EI,ot=r.uL,it=r.pE,st=r.sY,at=r.Sm,ut=r.PF,ct=r.DH,lt=r.XG,ft=r.nN,pt=r.AK,dt=r.Ve,ht=r.vM,gt="jetpack-1tb-backup-storage",mt="jetpack-real-time-malware-scanning",yt="jetpack-product-backup",vt="jetpack-product-videopress",bt="jetpack-all-backup-security-features",wt="p2-3gb-storage",_t="p2-unlimited-users",Et="p2-unlimited-posts-pages",St="p2-simple-search",Ct="p2-customization-options",Pt="p2-13gb-storage",kt="p2-advanced-search",It="p2-video-sharing",At="p2-more-file-types",Tt="p2-priority-chat-email-support",Rt="p2-activity-overview",Ot="managed-hosting",xt="unlimited-traffic",Ft="payment-blocks",Lt="titan-email",Ut="unlimited-admins",Zt="woocommerce",Dt="social-media-tools",jt="antispam",Nt="atomic",Mt="backups",qt="install-purchased-plugins",Bt="scan"},25432:function(e,t,n){"use strict";n.d(t,{tb:function(){return r},y6:function(){return o}});const r="gapps",o="gapps_unlimited"},90892:function(e,t,n){"use strict";n.d(t,{mk:function(){return o},oe:function(){return a},rx:function(){return u},EI:function(){return c},uL:function(){return l},pE:function(){return f},sY:function(){return p},Sm:function(){return d},PF:function(){return h},DH:function(){return g},XG:function(){return m},Ve:function(){return y},vM:function(){return v},nN:function(){return _},AK:function(){return E},K$:function(){return S},JD:function(){return C},Sj:function(){return P},AY:function(){return k},lj:function(){return x},ap:function(){return F},ns:function(){return L},Xz:function(){return U},p2:function(){return Z},NJ:function(){return D},yY:function(){return j},Et:function(){return N},w2:function(){return M},s1:function(){return q},aS:function(){return B},th:function(){return H},JX:function(){return V},Vl:function(){return $},Dl:function(){return W},jI:function(){return z},G$:function(){return G},$U:function(){return Q},jj:function(){return Y}});var r=n(77904);const o="GROUP_JETPACK",i="jetpack_boost_yearly",s="jetpack_boost_monthly",a="jetpack_backup_t1_yearly",u="jetpack_backup_t1_monthly",c="jetpack_backup_t2_yearly",l="jetpack_backup_t2_monthly",f="jetpack_scan",p="jetpack_scan_monthly",d="jetpack_anti_spam",h="jetpack_anti_spam_monthly",g="jetpack_search",m="jetpack_search_monthly",y="jetpack_crm",v="jetpack_crm_monthly",b="jetpack_crm_free",w="jetpack_crm_free_monthly",_="jetpack_videopress",E="jetpack_videopress_monthly",S="jetpack_backup_daily",C="jetpack_backup_realtime",P="jetpack_backup_daily_monthly",k="jetpack_backup_realtime_monthly",I=[...[S,C,a,c],...[P,k,u,l]],A=[i,s],T=[f,p,"jetpack_scan_realtime","jetpack_scan_realtime_monthly"],R=[d,h],O=[g,m,r.AY,r.MY],x=(r.AY,r.MY,"jetpack_free"),F="jetpack_personal",L="jetpack_personal_monthly",U="jetpack_premium",Z="jetpack_premium_monthly",D="jetpack_business",j="jetpack_business_monthly",N="jetpack_security_t1_yearly",M="jetpack_security_t1_monthly",q="jetpack_security_t2_yearly",B="jetpack_security_t2_monthly",H="jetpack_complete",V="jetpack_complete_monthly",$="jetpack_security_daily",W="jetpack_security_daily_monthly",z="jetpack_security_realtime",G="jetpack_security_realtime_monthly",Q=[F,L,D,j,U,Z],Y=[$,W,z,G,N,M,q,B],K=[H,V],J=[...Y,...K],X=[{yearly:H,monthly:V},{yearly:$,monthly:W},{yearly:z,monthly:G},{yearly:N,monthly:M},{yearly:q,monthly:B}]},73239:function(e,t,n){"use strict";n.d(t,{ob:function(){return r},w$:function(){return o},SU:function(){return i}});const r="TERM_MONTHLY",o="TERM_ANNUALLY",i="TERM_BIENNIALLY"},5085:function(e,t,n){"use strict";n.d(t,{UH:function(){return r},M6:function(){return o},mV:function(){return i},Kb:function(){return s},Qj:function(){return a},h7:function(){return u},VH:function(){return c},VP:function(){return l},w:function(){return f},$h:function(){return p},L7:function(){return d},QI:function(){return h},qC:function(){return g},lY:function(){return m},xg:function(){return y}});const r="TYPE_FREE",o="TYPE_BLOGGER",i="TYPE_PERSONAL",s="TYPE_PREMIUM",a="TYPE_BUSINESS",u="TYPE_ECOMMERCE",c="TYPE_SECURITY_DAILY",l="TYPE_SECURITY_REALTIME",f="TYPE_SECURITY_T1",p="TYPE_SECURITY_T2",d="TYPE_ALL",h="TYPE_P2_PLUS",g="TYPE_FLEXIBLE",m="TYPE_PRO",y="TYPE_STARTER"},77904:function(e,t,n){"use strict";n.d(t,{w9:function(){return r},AY:function(){return o},MY:function(){return i},Wg:function(){return s},p7:function(){return a},j2:function(){return u},OE:function(){return c},xf:function(){return l},G6:function(){return f},wm:function(){return p},sy:function(){return d},Qm:function(){return h},TW:function(){return g},uS:function(){return m},lv:function(){return y},JA:function(){return v},f3:function(){return b},_d:function(){return w},Ml:function(){return _},A2:function(){return E},Cq:function(){return S},_s:function(){return C},dU:function(){return P},Id:function(){return k}});const r="GROUP_WPCOM",o="wpcom_search",i="wpcom_search_monthly",s="business-bundle-monthly",a="business-bundle",u="business-bundle-2y",c="value_bundle_monthly",l="value_bundle",f="value_bundle-2y",p="personal-bundle-monthly",d="personal-bundle",h="personal-bundle-2y",g="blogger-bundle",m="blogger-bundle-2y",y="ecommerce-bundle-monthly",v="ecommerce-bundle",b="ecommerce-bundle-2y",w="free_plan",_="wp_p2_plus_monthly",E="p2_free_plan",S="wpcom-flexible",C="pro-plan",P="pro-plan-monthly",k="starter-plan"},10128:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(25432);function o(e){return[r.tb,r.y6].includes(e)}},4112:function(e,t,n){"use strict";n.d(t,{pl:function(){return a},$J:function(){return u}});var r=n(5085),o=n(77904),i=n(25192);function s(e){return"string"!=typeof e?Object.values(i.E).includes(e)?e:void 0:i.E[e]}function a(e){return c(e,{type:r.Qj,group:o.w9})}function u(e){return c(e,{type:r.h7,group:o.w9})}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["type","group","term"],r=Object.keys(t).filter((e=>!n.includes(e)));if(r.length)throw new Error(`planMatches can only match against ${n.join(",")}, but unknown keys ${r.join(",")} were passed.`);const o=s(e);return!!o&&!("type"in t&&o.type!==t.type||"group"in t&&o.group!==t.group||"term"in t&&o.term!==t.term)}},25192:function(e,t,n){"use strict";n.d(t,{E:function(){return F}});var r=n(69307),o=n(20899),i=n(11481),s=n(73239),a=n(21862),u=n(77904),c=n(5085),l=n(90892);function f(e){return!!e}function p(e){return e.filter(f)}const d=()=>i.ZP.translate("per month, billed annually"),h=()=>i.ZP.translate("/month, billed every two years"),g=()=>({term:s.w$,getBillingTimeFrame:()=>(0,i.Iu)("per year")}),m=()=>({term:s.ob,getBillingTimeFrame:()=>(0,i.Iu)("per month, billed monthly")}),y=()=>({getAnnualPlansOnlyFeatures:()=>[a.MCU,a.Eb2,a.IhT,a.dmM,a.Tez,a.N5t,a.vkU]}),v={components:{strong:(0,r.createElement)("strong",{className:"plans__features plan-features__targeted-description-heading"})}},b=()=>({...y(),group:u.w9,type:c.M6,getTitle:()=>i.ZP.translate("Blogger"),getAudience:()=>i.ZP.translate("Best for bloggers"),getBlogAudience:()=>i.ZP.translate("Best for bloggers"),getPortfolioAudience:()=>i.ZP.translate("Best for bloggers"),getStoreAudience:()=>i.ZP.translate("Best for bloggers"),getDescription:()=>i.ZP.translate("{{strong}}Best for bloggers:{{/strong}} Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email.",v),getShortDescription:()=>i.ZP.translate("Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email."),getPlanCompareFeatures:()=>[a.Ai8,a.gqo,a.n_S,a.jDM,a.oGd,a.W4b,a.Xk_,a.EBu,a.EDT],getSignupFeatures:()=>[a.fhe,a.Ai8,a.Uwp],getBlogSignupFeatures:()=>[a.Q1W,a.fhe,a.Uwp],getPortfolioSignupFeatures:()=>[a.Q1W,a.fhe,a.Uwp],getIncludedFeatures:()=>[a.XMd],getInferiorFeatures:()=>[]}),w=()=>({...y(),group:u.w9,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),getAudience:()=>i.ZP.translate("Best for personal use"),getBlogAudience:()=>i.ZP.translate("Best for personal use"),getPortfolioAudience:()=>i.ZP.translate("Best for personal use"),getStoreAudience:()=>i.ZP.translate("Best for personal use"),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email.",v),getShortDescription:()=>i.ZP.translate("Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email."),getPlanCompareFeatures:function(e){let{isProfessionalEmailPromotionAvailable:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,t&&a.oaT,a.q4V,a.gqo,a.n_S,a.jDM,a.oGd,a.W4b,a.Xk_,a.EBu,a.EDT])},getSignupFeatures:()=>[a.MCU,a.fhe,a.jDM],getBlogSignupFeatures:()=>[a.MCU,a.fhe,a.Uwp],getPortfolioSignupFeatures:()=>[a.MCU,a.fhe,a.Uwp],getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe],getIncludedFeatures:()=>[a.XMd],getInferiorFeatures:()=>[]}),_=()=>({...y(),group:u.w9,type:c.h7,getTitle:()=>i.ZP.translate("eCommerce"),getAudience:()=>i.ZP.translate("Best for online stores"),getBlogAudience:()=>i.ZP.translate("Best for online stores"),getPortfolioAudience:()=>i.ZP.translate("Best for online stores"),getStoreAudience:()=>i.ZP.translate("Best for online stores"),getDescription:()=>i.ZP.translate("{{strong}}Best for online stores:{{/strong}} Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows.",v),getShortDescription:()=>i.ZP.translate("Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows."),getTagline:()=>i.ZP.translate("Learn more about everything included with eCommerce and take advantage of its powerful marketplace features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,n&&a.oaT,t&&a.vkU,t&&a.n_S,a.q4V,a.c74,!t&&a.IhT,(0,o._k)("themes/premium")?a.QfP:null,a.MOV,a.gI6,a.Xk_,a.EBu,a.EDT,a.Vml,a.Vms,a.Zjz,a.Ej,a.iTE,a.B2h,a.xjj,a.Tmz,a.Q3C,a.$xY,a.$23,a.Xif,a.Do2,a.$vg])},getPromotedFeatures:()=>[a.gI6,a.Eb2,a.Xk_,a.MOV],getSignupFeatures:()=>[a.$xY,a.$23,a.kI],getBlogSignupFeatures:()=>[a.$xY,a.$23,a.kI],getPortfolioSignupFeatures:()=>[a.$xY,a.$23,a.kI],getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe,a.vkU,a.Tx8,(0,o._k)("themes/premium")?a.QfP:null,a.Vms,a.V09,a.vqo,a._3A,a.cWM,a.$xY,a.$23,a.fp6].filter(f),getIncludedFeatures:()=>[a.XMd,a.ggN,a.$G1,a.n26,a.vEX,a.HPg,a.okS,a.FNU,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[]}),E=()=>({...y(),group:u.w9,type:c.Kb,getTitle:()=>i.ZP.translate("Premium"),getAudience:()=>i.ZP.translate("Best for freelancers"),getBlogAudience:()=>i.ZP.translate("Best for freelancers"),getPortfolioAudience:()=>i.ZP.translate("Best for freelancers"),getStoreAudience:()=>i.ZP.translate("Best for freelancers"),getDescription:()=>i.ZP.translate("{{strong}}Best for freelancers:{{/strong}} Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads.",v),getShortDescription:()=>i.ZP.translate("Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,n&&a.oaT,t&&a.N5t,t&&a.n_S,a.q4V,a.gqo,!t&&a.dmM,(0,o._k)("themes/premium")?a.QfP:null,a.MOV,a.E5t,a.Xk_,a.EBu,a.EDT,a.Vml,a.Vms,a.Zjz,a.Ej,a.iTE])},getPromotedFeatures:()=>[a.Eb2,a.Xk_,a.MOV,a.E5t],getSignupFeatures:()=>[a.N5t,a.jSq,a.VyO],getBlogSignupFeatures:()=>[a.SZ6,(0,o._k)("themes/premium")?a.QfP:null,a.VyO].filter(f),getPortfolioSignupFeatures:()=>[a.jSq,(0,o._k)("themes/premium")?a.QfP:null,a.VyO].filter(f),getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe,a.N5t,a.Tx8,(0,o._k)("themes/premium")?a.QfP:null,a.Vms].filter(f),getIncludedFeatures:()=>[a.XMd,a.$G1,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[]}),S=()=>({...y(),group:u.w9,type:c.Qj,getTitle:()=>i.ZP.translate("Business"),getAudience:()=>i.ZP.translate("Best for small businesses"),getBlogAudience:()=>i.ZP.translate("Best for small businesses"),getPortfolioAudience:()=>i.ZP.translate("Best for small businesses"),getStoreAudience:()=>i.ZP.translate("The plan for small businesses"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding.",v),getShortDescription:()=>i.ZP.translate("Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding."),getTagline:()=>i.ZP.translate("Learn more about everything included with Business and take advantage of its professional features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,n&&a.oaT,t&&a.vkU,t&&a.n_S,a.q4V,a.c74,!t&&a.IhT,(0,o._k)("themes/premium")?a.QfP:null,a.MOV,a.gI6,a.Xk_,a.EBu,a.EDT,a.Vml,a.Vms,a.Zjz,a.Ej,a.iTE,a.B2h,a.xjj,a.Tmz,a.Q3C])},getPromotedFeatures:()=>[a.gI6,a.Eb2,a.Xk_,a.MOV,a.iTE],getSignupFeatures:()=>[a.vEX,a.ljn,a.Z5U],getBlogSignupFeatures:()=>[a.vEX,a.ljn,a.Z5U],getPortfolioSignupFeatures:()=>[a.vEX,a.gI6,a.Z5U],getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe,a.vkU,a.Tx8,(0,o._k)("themes/premium")?a.QfP:null,a.Vms,a.V09,a.vqo,a._3A,a.cWM].filter(f),getIncludedFeatures:()=>[a.XMd,a.ggN,a.$G1,a.n26,a.HPg,a.okS,a.FNU,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[]}),C=()=>({...y(),group:u.w9,type:c.lY,getTitle:()=>i.ZP.translate("WordPress Pro"),getDescription:()=>i.ZP.translate("Unlock the full power of WordPress with plugins, custom themes and much more."),getSubTitle:()=>i.ZP.translate("Unlimited features. Unbeatable value."),getPlanCompareFeatures:()=>[a.c__,a.FiJ,a.jDM,a.Eb2,a.QfP,a.V09,a.n26,a.J8D,a.O05,a.SLH,a.Xk_,a.B2h,a.SsD,a.iTE,a.x_7,a.hH1,a.fDA,a.SZ6,a.cWM,a._3A,a.gqo,a.Vml,a.Ej,a.Vms],getIncludedFeatures:()=>[a.MOV,a.vqo,a.XMd,a.$G1,a.$4,a.Tx8,a.HPg,a.Vms,a.ggN,a.q4V,a.EBu,a.Q3C,a.Zjz,a.EDT,a.okS,a.cWM,a._3A,a.xjj,a.Tmz,a.vEX,a.FNU,a.ikw,a.Ly9,a.DEy]}),P=()=>({group:l.mk,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),availableFor:e=>[l.lj].includes(e),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Security essentials for your WordPress site, including automated backups and priority support.",v),getTagline:()=>i.ZP.translate("Your data is being securely backed up and you have access to priority support."),getPlanCardFeatures:()=>[a.DwI,a.CtJ],getBillingTimeFrame:()=>i.ZP.translate("per year"),getIncludedFeatures:()=>[a.s1f,a.nsi,a.$PM,a.Rp9,a.V37,a.$QL,a.J8D,a.V1k,a.TBQ,a.zrQ,a.T$h,a.okS,a.B2h,a.s1f,a.V37,a.wUt,a.J8D,a.igx,a.Ly9,a.DEy]}),k=()=>({group:l.mk,type:c.Kb,availableFor:e=>[l.lj,l.ap,l.ns].includes(e),getTitle:()=>i.ZP.translate("Premium"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Comprehensive, automated scanning for security vulnerabilities, fast video hosting, and marketing automation.",v),getTagline:()=>i.ZP.translate("Your site is being secured and you have access to marketing tools and priority support."),getPlanCardFeatures:()=>[a.DwI,a.w7L,a.CtJ],getIncludedFeatures:()=>p([a.s1f,a.nsi,a.$PM,a.Rp9,a.V37,a.$QL,a.J8D,a.Zjz,a.Vml,a.Ej,a.QNW,a.zQV,a.B2h,a.Vms,a.V1k,a.TBQ,a.V1I,a.FR0,a.zrQ,a.T$h,a.okS,a.s1f,a.V37,a.zQV,a.m1c,a.QNW,a.Ej,a.B2h,a.igx,a.ikw,a.Ly9,a.DEy])}),I=()=>({group:l.mk,type:c.Qj,getTitle:()=>i.ZP.translate("Professional"),availableFor:e=>[l.lj,l.Xz,l.p2,l.ap,l.ns].includes(e),getDescription:()=>(0,o._k)("themes/premium")?i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites.",v):i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites: real-time backups and premium themes.",v),getTagline:()=>i.ZP.translate("You have the full suite of security and performance tools."),getPlanCardFeatures:()=>[a.csF,a.XgZ,a.CtJ],getIncludedFeatures:()=>p([a._sL,a.L2_,a.$PM,a.Rp9,a.V37,a.$QL,a.J8D,a.Zjz,a.Vml,a.Ej,a.QNW,a.vQ$,a.E30,a.B2h,a.Vms,a.s4b,a.TZT,a.V1I,a.FR0,a.zrQ,a.T$h,a.okS,a._sL,(0,o._k)("themes/premium")?a.QfP:null,a.PUy,a.ikw,a.Ly9,a.DEy]),getInferiorFeatures:()=>[a.V1k,a.TBQ]}),A=()=>({group:l.mk,type:c.VH,getTitle:()=>(0,i.Iu)("Security {{em}}Daily{{/em}}",{components:{em:(0,r.createElement)("em",null)}}),availableFor:e=>[l.lj,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("All of the essential Jetpack Security features in one package including Backup, Scan, Anti-spam and more."),getTagline:()=>(0,i.Iu)("Best for sites with occasional updates"),getPlanCardFeatures:()=>[a.afj,a.oIe,a.CtJ],getIncludedFeatures:()=>[a.V1k,a.TBQ,a.V1I,a.FR0,a.zrQ,a.T$h,a.nsi,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy]}),T=()=>({group:l.mk,type:c.VP,getTitle:()=>(0,i.Iu)("Security {{em}}Real-time{{/em}}",{components:{em:(0,r.createElement)("em",{style:{whiteSpace:"nowrap"}})}}),availableFor:e=>[l.lj,l.Vl,l.Dl,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("Get next-level protection with real-time backups, real-time scan and all essential security tools."),getTagline:()=>(0,i.Iu)("Best for sites with frequent updates"),getPlanCardFeatures:()=>[a.X2I,a.HpB,a.XgZ,a.n$d],getIncludedFeatures:()=>[a.s4b,a.TZT,a.V1I,a.FR0,a.zrQ,a.T$h,a.L2_,a.QNW,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[a.V1k,a.TBQ,a.nsi]}),R=()=>({group:l.mk,type:c.w,getTitle:()=>(0,i.Iu)("Security"),availableFor:e=>[l.lj,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getPlanCardFeatures:()=>[a.VZW,a.xlk,a.CtJ],getIncludedFeatures:()=>[a.$pY,a.mX4,a.V1I,a.FR0,a.zrQ,a.T$h,a.L2_,a.QNW,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[a.V1k,a.TBQ]}),O=()=>({...R(),type:c.$h,getIncludedFeatures:()=>[a.tS0,a.L2R,a.V1I,a.FR0,a.zrQ,a.T$h,a.L2_,a.QNW,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[a.V1k,a.TBQ,a.nsi]}),x=()=>({group:l.mk,type:c.L7,getTitle:()=>(0,i.Iu)("Complete",{context:"Jetpack plan name"}),availableFor:e=>[l.lj,...l.jj,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("Get the full power of Jetpack with all Security, Performance, Growth, and Design tools."),getTagline:()=>(0,i.Iu)("For best-in-class WordPress sites"),getPlanCardFeatures:()=>[a.lYf,a.puh,a.sQp,a.dZ$,a.rDn],getIncludedFeatures:()=>p([a.tS0,a.L2R,a.V1I,a.FR0,a.zrQ,a.T$h,a.lv3,a.ewW,a.liF,a.DJ3,a.L2_,a.QNW,a.GwK,a.w6W,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,(0,o._k)("themes/premium")?a.QfP:null,a.J8D,a.ikw,a.Ly9,a.DEy]),getInferiorFeatures:()=>[a.V1k,a.TBQ,a.nsi]}),F={[u._d]:{group:u.w9,type:c.UH,term:s.w$,getTitle:()=>i.ZP.translate("Free"),getAudience:()=>i.ZP.translate("Best for students"),getBlogAudience:()=>i.ZP.translate("Best for students"),getPortfolioAudience:()=>i.ZP.translate("Best for students"),getStoreAudience:()=>i.ZP.translate("Best for students"),getProductId:()=>1,getStoreSlug:()=>u._d,getPathSlug:()=>"beginner",getDescription:()=>i.ZP.translate("Get a free website and be on your way to publishing your first post in less than five minutes."),getPlanCompareFeatures:()=>[a.wJ_,a.gqo,a.U_2,a.jDM,a.oGd,a.KlX],getSignupFeatures:()=>[a.U_2,a.sYz,a.R2o],getBlogSignupFeatures:()=>[a.U_2,a.sYz,a.R2o],getPortfolioSignupFeatures:()=>[a.U_2,a.sYz,a.R2o],getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[],getInferiorFeatures:()=>[]},[u.TW]:{...b(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d].includes(e),getProductId:()=>1010,getStoreSlug:()=>u.TW,getPathSlug:()=>"blogger"},[u.uS]:{...b(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.TW].includes(e),getProductId:()=>1030,getStoreSlug:()=>u.uS,getPathSlug:()=>"blogger-2-years"},[u.wm]:{...w(),...m(),availableFor:e=>[u._d,u.TW,u.uS].includes(e),getProductId:()=>1019,getStoreSlug:()=>u.wm,getPathSlug:()=>"personal-monthly"},[u.sy]:{...w(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.TW,u.uS,u.wm].includes(e),getProductId:()=>1009,getStoreSlug:()=>u.sy,getPathSlug:()=>"personal"},[u.Qm]:{...w(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy].includes(e),getProductId:()=>1029,getStoreSlug:()=>u.Qm,getPathSlug:()=>"personal-2-years"},[u.OE]:{...E(),...m(),availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm].includes(e),getProductId:()=>1013,getStoreSlug:()=>u.OE,getPathSlug:()=>"premium-monthly"},[u.xf]:{...E(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.Id].includes(e),getProductId:()=>1003,getStoreSlug:()=>u.xf,getPathSlug:()=>"premium"},[u.G6]:{...E(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf].includes(e),getProductId:()=>1023,getStoreSlug:()=>u.G6,getPathSlug:()=>"premium-2-years"},[u.Wg]:{...S(),...m(),availableFor:e=>(0,o._k)("upgrades/wpcom-monthly-plans")&&[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.dU].includes(e),getProductId:()=>1018,getStoreSlug:()=>u.Wg,getPathSlug:()=>"business-monthly"},[u.p7]:{...S(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.dU].includes(e),getProductId:()=>1008,getStoreSlug:()=>u.p7,getPathSlug:()=>"business"},[u.j2]:{...S(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.p7,u.Wg,u.dU].includes(e),getProductId:()=>1028,getStoreSlug:()=>u.j2,getPathSlug:()=>"business-2-years"},[u.lv]:{..._(),...m(),availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.p7,u.j2,u.dU].includes(e),getProductId:()=>1021,getStoreSlug:()=>u.lv,getPathSlug:()=>"ecommerce-monthly"},[u.JA]:{..._(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.p7,u.j2,u.lv,u.dU].includes(e),getProductId:()=>1011,getStoreSlug:()=>u.JA,getPathSlug:()=>"ecommerce"},[u.f3]:{..._(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.p7,u.j2,u.lv,u.JA,u.dU].includes(e),getProductId:()=>1031,getStoreSlug:()=>u.f3,getPathSlug:()=>"ecommerce-2-years"},[l.lj]:{term:s.w$,group:l.mk,type:c.UH,getTitle:()=>i.ZP.translate("Free"),getProductId:()=>2002,getStoreSlug:()=>l.lj,getTagline:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=e.some((e=>[a.V1k,a.TBQ,a.s4b,a.TZT,a.$pY,a.mX4,a.tS0,a.L2R].includes(e))),n=e.some((e=>[a.V1I,a.FR0].includes(e)));return t&&n?i.ZP.translate("Upgrade your site to access additional features, including spam protection and priority support."):t?i.ZP.translate("Upgrade your site to access additional features, including spam protection, security scanning, and priority support."):n?i.ZP.translate("Upgrade your site to access additional features, including spam protection, backups, and priority support."):i.ZP.translate("Upgrade your site for additional features, including spam protection, backups, security scanning, and priority support.")},getDescription:()=>i.ZP.translate("The features most needed by WordPress sites — perfectly packaged and optimized for everyone."),getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[a.wwD,a.rlg,a.F$l,a.gRD,a.B2h,a.okS,a.ALM,a.rlg,a.wwD,a.F$l,a.$NZ]},[l.Xz]:{...k(),...g(),getProductId:()=>2e3,getStoreSlug:()=>l.Xz,getPathSlug:()=>"premium"},[l.p2]:{...k(),...m(),getProductId:()=>2003,getStoreSlug:()=>l.p2,getPathSlug:()=>"premium-monthly"},[l.ap]:{...P(),...g(),getProductId:()=>2005,getStoreSlug:()=>l.ap,getPathSlug:()=>"jetpack-personal"},[l.ns]:{...P(),...m(),getProductId:()=>2006,getStoreSlug:()=>l.ns,getPathSlug:()=>"jetpack-personal-monthly"},[l.NJ]:{...I(),...g(),getProductId:()=>2001,getStoreSlug:()=>l.NJ,getPathSlug:()=>"professional"},[l.yY]:{...I(),...m(),getProductId:()=>2004,getStoreSlug:()=>l.yY,getPathSlug:()=>"professional-monthly"},[l.Vl]:{...A(),...g(),getMonthlySlug:()=>l.Dl,getStoreSlug:()=>l.Vl,getPathSlug:()=>"security-daily",getProductId:()=>2010},[l.Dl]:{...A(),...m(),getAnnualSlug:()=>l.Vl,getStoreSlug:()=>l.Dl,getPathSlug:()=>"security-daily-monthly",getProductId:()=>2011},[l.jI]:{...T(),...g(),getMonthlySlug:()=>l.G$,getStoreSlug:()=>l.jI,getPathSlug:()=>"security-realtime",getProductId:()=>2012},[l.G$]:{...T(),...m(),getAnnualSlug:()=>l.jI,getStoreSlug:()=>l.G$,getPathSlug:()=>"security-realtime-monthly",getProductId:()=>2013},[l.th]:{...x(),...g(),getStoreSlug:()=>l.th,getPathSlug:()=>"complete",getProductId:()=>2014},[l.JX]:{...x(),...m(),getStoreSlug:()=>l.JX,getPathSlug:()=>"complete-monthly",getProductId:()=>2015},[l.Et]:{...R(),...g(),getStoreSlug:()=>l.Et,getPathSlug:()=>"security-20gb-yearly",getProductId:()=>2016},[l.w2]:{...R(),...m(),getStoreSlug:()=>l.w2,getPathSlug:()=>"security-20gb-monthly",getProductId:()=>2017},[l.s1]:{...O(),...g(),getStoreSlug:()=>l.s1,getPathSlug:()=>"security-1tb-yearly",getProductId:()=>2019},[l.aS]:{...O(),...m(),getStoreSlug:()=>l.aS,getPathSlug:()=>"security-1tb-monthly",getProductId:()=>2020},[u.Ml]:{group:u.w9,type:c.QI,getTitle:()=>i.ZP.translate("P2+"),getDescription:()=>i.ZP.translate("{{strong}}Best for professionals:{{/strong}} Enhance your P2 with more space for audio and video, advanced search, an activity overview panel, and priority customer support.",v),getShortDescription:()=>i.ZP.translate("Some short description"),getPlanCompareFeatures:()=>[a.S_M,a.yjN,a.iC0,a.rdd,a.bJv,a.ops],getSignupFeatures:()=>[a.fhe],getIncludedFeatures:()=>[a.XMd,a.lv3,a.ewW],getInferiorFeatures:()=>[],getAudience:()=>i.ZP.translate("Best for bloggers"),...m(),availableFor:e=>[u._d].includes(e),getProductId:()=>1040,getStoreSlug:()=>u.Ml,getPathSlug:()=>"p2-plus",getBillingTimeFrame:()=>(0,i.Iu)("per user per month")}};F[u.A2]={...F[u._d],getDescription:()=>i.ZP.translate("{{strong}}Best for small groups:{{/strong}} All the features needed to share, discuss, review, and collaborate with your team in one spot, without interruptions.",v),getTitle:()=>i.ZP.translate("P2 Free"),getPlanCompareFeatures:()=>[a.$mN,a.JqD,a.bHF,a.XZZ,a.vje]},F[u.Id]={...y(),group:u.w9,type:c.xg,term:s.w$,getTitle:()=>i.ZP.translate("WordPress Starter"),getProductId:()=>1033,getStoreSlug:()=>u.Id,getPathSlug:()=>"starter",getDescription:()=>i.ZP.hasTranslation("Start with a custom domain name, simple payments, and extra storage.")||["en","en-gb"].includes((0,i.Yj)()||"")?i.ZP.translate("Start with a custom domain name, simple payments, and extra storage."):i.ZP.translate("Start your WordPress.com website. Limited functionality and storage."),getSubTitle:()=>i.ZP.translate("Essential features. Freedom to grow."),getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly"),getPlanCompareFeatures:()=>[a.c__,a.FiJ,a.jDM,a.Eb2,a.SsD,a.W4b,a.Vms,a.x_7,a.fDA],getIncludedFeatures:()=>[a.n26]},F[u.Cq]={...F[u._d],group:u.w9,type:c.qC,getTitle:()=>i.ZP.translate("WordPress Free"),getBillingTimeFrame:()=>i.ZP.translate("upgrade when you need"),getDescription:()=>i.ZP.translate("Start your free WordPress.com website. Limited functionality and storage."),getPlanCompareFeatures:()=>[a.Zaf]},F[u._s]={...C(),term:s.w$,getProductId:()=>1032,getStoreSlug:()=>u._s,getPathSlug:()=>"pro",getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly")},F[u.dU]={...C(),...m(),availableFor:e=>[u._d].includes(e),getProductId:()=>1034,getStoreSlug:()=>u.dU,getPathSlug:()=>"pro-monthly"}},78038:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4174);function o(e,t){let n,o;if(!(e instanceof URL)&&"string"!=typeof e)throw new Error("`url` should be a string or URL instance");if(e instanceof URL)n=e,o=r.a.ABSOLUTE;else{if(o=(0,r.D)(e),o===r.a.INVALID)throw new Error("Cannot format an invalid URL.");if(o===r.a.PATH_RELATIVE)throw new Error("Cannot format path-relative URLs.");n=new URL(e,"http://__domain__.invalid/")}switch(void 0===t&&(t=o),t){case r.a.PATH_RELATIVE:throw new Error("Cannot format into path-relative URLs.");case r.a.PATH_ABSOLUTE:return n.href.replace(n.origin,"");case r.a.SCHEME_RELATIVE:if(o===r.a.PATH_ABSOLUTE)throw new Error("Cannot format a path-absolute URL as a scheme-relative URL.");return n.href.replace(n.protocol,"");case r.a.ABSOLUTE:if(o!==r.a.ABSOLUTE)throw new Error("Cannot format a partial URL as an absolute URL.");return n.href;default:throw new Error(`Cannot format as \`${t}\` URL type.`)}}},94668:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(28636),o=n(6261);let i;i="object"==typeof globalThis.location?new RegExp(`^(/(?!/)|data:image/[^;]+;|blob:${globalThis.location.origin}/)`):/^(\/(?!\/)|data:image\/[^;]+;)/;const s=/^([-a-zA-Z0-9_]+\.)*(gravatar\.com|wordpress\.com|wp\.com|a8c\.com)$/,a=["w","h","resize","fit","s"];function u(e){if("string"!=typeof e)return null;if(e.length<1)return null;if(i.test(e))return e;const t=(0,o.A)(e);if(s.test(t.hostname))return t.protocol="https",(0,o.C)(t).toString();if(t.search&&(t.host||t.hostname||t.origin)){if(a.forEach((e=>t.searchParams.delete(e))),"0"===t.searchParams.get("authuser")&&t.searchParams.delete("authuser"),Array.from(t.searchParams).length)return null;t.search="",null!=t&&t.protocol||(t.protocol="https"),e=(0,o.C)(t).toString()}return t.pathname.endsWith(".svg")?null:(0,r.Z)(e)}},6261:function(e,t,n){"use strict";n.d(t,{A:function(){return u},C:function(){return c}});var r=n(4174);const o="http://__domain__.invalid",i=Object.freeze({protocol:"",host:"",hostname:"",port:"",origin:"",pathname:"",hash:"",search:"",searchParams:new URLSearchParams,username:"",password:""}),s=Object.keys(i);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const n={...i};return t.forEach((t=>{n[t]=(null==e?void 0:e[t])??i[t]})),n}function u(e){const t=(0,r.D)(e);if(t===r.a.INVALID)return{...i};const n=e instanceof URL?e:new URL(e,o);if(t===r.a.ABSOLUTE)return a(n);if(t===r.a.SCHEME_RELATIVE)return a(n,s.filter((e=>"protocol"!==e&&"origin"!==e)));const u=a(n,["pathname","hash","search","searchParams"]);return t===r.a.PATH_RELATIVE&&(u.pathname=e.split(/[?#]/,1)[0]),u}function c(e){var t;if(!(null!=e&&e.protocol||null!=e&&e.origin))throw new Error("getUrlFromParts: protocol missing.");if(!e.host&&!e.hostname&&!e.origin)throw new Error("getUrlFromParts: host missing.");const n=new URL(o);if(e.origin)try{const t=new URL(e.origin);n.host=t.host,n.protocol=t.protocol}catch{throw new Error("getUrlFromParts: invalid origin.")}n.host=e.host||n.host,null!==(t=e.searchParams)&&void 0!==t&&t.toString&&(n.search=e.searchParams.toString());for(const r of s)if("host"!==r&&"origin"!==r&&"searchParams"!==r){const t=e[r];t&&t!==n[r]&&(n[r]=t)}return n}},4174:function(e,t,n){"use strict";let r;n.d(t,{a:function(){return r},D:function(){return s}}),function(e){e.ABSOLUTE="ABSOLUTE",e.SCHEME_RELATIVE="SCHEME_RELATIVE",e.PATH_ABSOLUTE="PATH_ABSOLUTE",e.PATH_RELATIVE="PATH_RELATIVE",e.INVALID="INVALID"}(r||(r={}));const o="__domain__.invalid",i=`http://${o}`;function s(e){if(!(e instanceof URL)&&"string"!=typeof e)return r.INVALID;if(""===e)return r.PATH_RELATIVE;if(e instanceof URL)return r.ABSOLUTE;let t;try{if(t=new URL(e),t.protocol&&":"!==t.protocol)return r.ABSOLUTE}catch{}try{t=new URL(e,i)}catch{return r.INVALID}return""===t.pathname?r.INVALID:t.hostname!==o?r.SCHEME_RELATIVE:e.startsWith("/")?r.PATH_ABSOLUTE:r.PATH_RELATIVE}},43239:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(43261);const u=(e,t)=>{const n=e.plain?s()("button-plain",e.className):s()("button",e.className,{"is-compact":e.compact,"is-primary":e.primary,"is-scary":e.scary,"is-busy":e.busy,"is-borderless":e.borderless});if((e=>!!e.href)(e)){const i=(e=>{let{type:t,borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,...c}=e;return c})(e),s=i.target?(i.rel||"").replace(/noopener|noreferrer/g,"")+" noopener noreferrer":i.rel;return(0,o.createElement)("a",(0,r.Z)({},i,{rel:s,className:n,ref:t}))}const i=(e=>{let{type:t="button",borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,rel:c,href:l,target:f,...p}=e;return{...p,type:t}})(e);return(0,o.createElement)("button",(0,r.Z)({},i,{className:n,ref:t}))},c=(0,a.forwardRef)(u);c.defaultProps={type:"button"},t.Z=c},98148:function(e,t,n){"use strict";var r=n(7896),o=n(72779),i=n.n(o),s=n(99196),a=n(56399);n(53616);const u=(e,t)=>{let{children:n,className:o,compact:u,displayAsLink:c,highlight:l,tagName:f="div",href:p,target:d,...h}=e;const g=i()("card",o,{"is-card-link":c||p,"is-clickable":h.onClick,"is-compact":u,"is-highlight":l},!!l&&"is-"+l);return p?(0,s.createElement)("a",(0,r.Z)({},h,{href:p,target:d,className:g,ref:t}),(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n):(0,s.createElement)(f,{...h,className:g,ref:t},c&&(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n)},c=(0,s.forwardRef)(u);c.displayName="Card",t.Z=(0,s.memo)(c)},27136:function(e,t,n){"use strict";var r=n(69307),o=n(72779),i=n.n(o),s=n(56399);n(81712);t.Z=e=>{let{isError:t=!1,isWarning:n,isHidden:o,className:a,text:u,icon:c,id:l,children:f}=e;const p=i()(a,{"form-input-validation":!0,"is-warning":n,"is-error":t,"is-hidden":o}),d=t||n?"notice-outline":"checkmark";return(0,r.createElement)("div",{className:p,role:"alert"},(0,r.createElement)("span",{id:l},(0,r.createElement)(s.Z,{size:24,icon:c||d})," ",u,f))}},56399:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(32421),u=n(68785),c=n(99196);const l=c.memo(c.forwardRef(((e,t)=>{const{size:n=24,icon:i,className:c,title:l,...f}=e,p=n%18==0,d=`gridicons-${i}`,h=s()("gridicon",d,c,{"needs-offset":p&&a.iconsThatNeedOffset.includes(d),"needs-offset-x":p&&a.iconsThatNeedOffsetX.includes(d),"needs-offset-y":p&&a.iconsThatNeedOffsetY.includes(d)});return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:h,height:n,width:n,ref:t},f),l&&(0,o.createElement)("title",null,l),(0,o.createElement)("use",{xlinkHref:`${u}#${d}`}))})));l.displayName="Gridicon",t.Z=l},13668:function(e,t,n){"use strict";var r=n(69307),o=n(65736),i=n(72779),s=n.n(i),a=n(92819);n(32014);const __=o.__;t.Z=e=>{let{activePageIndex:t,numberOfPages:n,onChange:i,classNames:u,children:c}=e;const l=s()("pagination-control",u);return(0,r.createElement)("ul",{className:l,"aria-label":__("Pagination control")},(0,a.times)(n,(e=>(0,r.createElement)("li",{key:`${n}-${e}`,"aria-current":e===t?"page":void 0},(0,r.createElement)("button",{className:s()("pagination-control__page",{"is-current":e===t}),disabled:e===t,"aria-label":(0,o.sprintf)(__("Page %1$d of %2$d"),e+1,n),onClick:()=>i(e)})))),c&&(0,r.createElement)("li",{className:"pagination-control__last-item"},c))}},37499:function(e,t,n){"use strict";var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(18373),c=n(92819),l=n(13980),f=n.n(l),p=n(99196),d=n(91850),h=n.n(d),g=n(88060),m=n(51010);n(17228);const y=()=>{};class v extends p.Component{constructor(){super(...arguments),(0,o.Z)(this,"scheduledPositionUpdate",null),(0,o.Z)(this,"scheduledFocus",null),(0,o.Z)(this,"popoverNodeRef",(0,p.createRef)()),(0,o.Z)(this,"popoverInnerNodeRef",(0,p.createRef)()),(0,o.Z)(this,"state",{left:-99999,top:-99999,positionClass:this.getPositionClass(this.props.position)}),(0,o.Z)(this,"onKeydown",(e=>{if(27===e.keyCode){const e=h().findDOMNode(this.props.context);e&&e.focus(),this.close(!0)}})),(0,o.Z)(this,"getTouchEvent",(()=>"onpointerdown"in document?"pointerdown":"ontouchstart"in document?"touchstart":"click")),(0,o.Z)(this,"onClickout",(e=>{const t=this.popoverInnerNodeRef.current;let n=t&&!t.contains(e.target);if(n&&this.props.context){const t=h().findDOMNode(this.props.context);n=t&&!t.contains(e.target)}if(n&&this.props.ignoreContext){const t=h().findDOMNode(this.props.ignoreContext);n=t&&!t.contains(e.target)}n&&this.close()})),(0,o.Z)(this,"onWindowChange",(()=>{this.setPosition()})),(0,o.Z)(this,"setPosition",(()=>{let e;e=this.props.customPosition?Object.assign({positionClass:this.getPositionClass(this.constructor.defaultProps.position)},this.props.customPosition):this.computePosition(),e&&this.setState(e)})),(0,o.Z)(this,"handleOnMouseEnter",(()=>{const{onMouseEnter:e}=this.props;null==e||e()})),(0,o.Z)(this,"handleOnMouseLeave",(()=>{const{onMouseLeave:e}=this.props;null==e||e()}))}componentDidMount(){this.bindListeners(),this.setPosition(),this.show()}componentDidUpdate(){null==this.scheduledPositionUpdate&&(this.scheduledPositionUpdate=(0,c.defer)((()=>{this.setPosition(),this.scheduledPositionUpdate=null})))}componentWillUnmount(){this.unbindListeners()}bindListeners(){this.bindClickoutHandler(),this.bindEscKeyListener(),this.bindReposition(),(0,m.fN)()}unbindListeners(){this.unbindClickoutHandler(),this.unbindEscKeyListener(),this.unbindReposition(),(0,m.zR)(),null!=this.scheduledPositionUpdate&&(window.clearTimeout(this.scheduledPositionUpdate),this.scheduledPositionUpdate=null),null!=this.scheduledFocus&&(window.clearTimeout(this.scheduledFocus),this.scheduledFocus=null)}bindEscKeyListener(){this.props.closeOnEsc&&document.addEventListener("keydown",this.onKeydown,!0)}unbindEscKeyListener(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.onKeydown,!0)}bindClickoutHandler(){document.addEventListener(this.getTouchEvent(),this.onClickout,!0)}unbindClickoutHandler(){document.removeEventListener(this.getTouchEvent(),this.onClickout,!0)}bindReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindReposition(){window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0)}focusPopover(){this.scheduledFocus=(0,c.defer)((()=>{this.popoverNodeRef.current&&this.popoverNodeRef.current.focus(),this.scheduledFocus=null}))}getPositionClass(e){return`is-${e.replace(/\s+/g,"-")}`}adjustRtlPosition(e){if(this.props.isRtl)switch(e){case"top right":case"right top":return"top left";case"right":return"left";case"bottom right":case"right bottom":return"bottom left";case"bottom left":case"left bottom":return"bottom right";case"left":return"right";case"top left":case"left top":return"top right"}return e}computePosition(){const{position:e,relativePosition:t}=this.props,n=this.popoverInnerNodeRef.current,r=h().findDOMNode(this.props.context);if(!r)return null;let o=e;this.props.autoRtl&&(o=this.adjustRtlPosition(o)),this.props.autoPosition&&(o=(0,m.X6)(o,n,r));return Object.assign({},(0,m.Ou)((0,m.cv)(o,n,r,t),n),{positionClass:this.getPositionClass(o)})}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){this.props.focusOnShow&&this.focusPopover(),this.props.onShow()}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.props.onClose(e)}render(){if(!this.props.context)return null;const e=a()("popover",this.props.className,this.state.positionClass);return(0,i.createElement)("div",{ref:this.popoverNodeRef,"aria-label":this.props["aria-label"],id:this.props.id,role:"tooltip",tabIndex:"-1",style:this.getStylePosition(),className:e,onMouseEnter:this.handleOnMouseEnter,onMouseLeave:this.handleOnMouseLeave},(0,i.createElement)("div",{className:"popover__arrow"}),(0,i.createElement)("div",{ref:this.popoverInnerNodeRef,className:"popover__inner"},this.props.children))}}function b(e){let{isVisible:t=!1,showDelay:n=0,...o}=e;const s=(0,u.V)(),[a,c]=(0,p.useState)(t);return(0,p.useEffect)((()=>{if(n>0&&a!==t&&t){const e=setTimeout((()=>{c(!0)}),n);return()=>{clearTimeout(e)}}}),[n,t,a]),a===t||0!==n&&t||c(t),a?(0,i.createElement)(g.Z,null,(0,i.createElement)(v,(0,r.Z)({},o,{isRtl:s}))):null}(0,o.Z)(v,"defaultProps",{autoPosition:!0,autoRtl:!0,className:"",closeOnEsc:!0,isRtl:!1,focusOnShow:!0,position:"top",onShow:y,onClose:y,onMouseEnter:y,onMouseLeave:y});const w=f().oneOfType([f().instanceOf(p.Component),f().instanceOf("undefined"!=typeof window?window.Element:Object)]);b.propTypes={autoPosition:f().bool,autoRtl:f().bool,className:f().string,closeOnEsc:f().bool,id:f().string,context:w,ignoreContext:w,isVisible:f().bool,focusOnShow:f().bool,position:f().oneOf(["top","top right","right","bottom right","bottom","bottom left","left","top left"]),showDelay:f().number,onShow:f().func,onClose:f().func,relativePosition:f().shape({left:f().number}),customPosition:f().shape({top:f().number,left:f().number,positionClass:f().oneOf(["top","right","bottom","left"])})},t.Z=b},51010:function(e,t,n){"use strict";function r(){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,e}n.d(t,{fN:function(){return l},zR:function(){return f},X6:function(){return p},cv:function(){return d},Ou:function(){return h}});const o={top:"bottom",bottom:"top",left:"right",right:"left"},i={top:"right",left:"top",bottom:"left",right:"bottom"};let s=null,a=0;function u(){return s||(s=r()),s}function c(){s=r()}function l(){a++>0||(window.addEventListener("resize",c,!0),window.addEventListener("scroll",c,!0))}function f(){--a>0||(window.removeEventListener("resize",c,!0),window.removeEventListener("scroll",c,!0))}function p(e,t,n){const r=u(),s=n.getBoundingClientRect(),a=t.clientHeight,c=t.clientWidth,l={top:s.top-a,bottom:r.height-s.bottom-a,left:s.left-c,right:r.width-s.right-c},f=e.split(/\s+/),[p]=f;let[,h]=f;const g=function(e,t){const n=[e,o[e],i[e],o[i[e]]];let r,s=-1/0;for(let o=0,i=n.length;o<i;o++){const i=n[o],a=t[i];if(a>0)return i;a>s&&(s=a,r=e)}return r}(p,l);return h!==g&&h!==o[g]||(h=null),function(e,t,n,r,s,a){const c=u(),l="top"===e||"bottom"===e,f=t?[l?`${e} ${t}`:`${t} ${e}`,e,l?`${e} ${o[t]}`:`${o[t]} ${e}`]:[e,l?`${e} ${i[e]}`:`${i[e]} ${e}`,l?`${e} ${o[i[e]]}`:`${o[i[e]]} ${e}`];let p,h=0;const g=s*a;for(let o=0,i=f.length;o<i;o++){const e=f[o],t=d(e,n,r),i=t.left+s,u=t.top+a,l=Math.min(t.top<c.top?u-c.top:c.bottom-t.top,a),m=Math.min(t.left<c.left?i-c.left:c.right-t.left,s)*l;if(m===g)return e;m>h&&(h=m,p=e)}return p}(g,h,t,n,c,a)||e}function d(e,t,n,r){const o=t.getBoundingClientRect();if(!o)throw new Error("could not get bounding client rect of Tip element");const i=o.width,s=o.height,a=n.getBoundingClientRect();if(!a)throw new Error("could not get bounding client rect of `target`");const u=a.width,c=a.height,l=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,o=r.clientTop||n.clientTop||0,i=r.clientLeft||n.clientLeft||0,s=window.pageYOffset||r.scrollTop,a=window.pageXOffset||r.scrollLeft;return{top:e.top+s-o,left:e.left+a-i}}(a,document);if(!l)throw new Error("could not determine page offset of `target`");let f={};switch(e){case"top":f={top:l.top-s,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"bottom":f={top:l.top+c,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"right":f={top:l.top+c/2-s/2,left:l.left+u};break;case"left":f={top:l.top+c/2-s/2,left:l.left-i};break;case"top left":f={top:l.top-s,left:l.left+u/2-i+15};break;case"top right":f={top:l.top-s,left:l.left+u/2-15};break;case"bottom left":f={top:l.top+c,left:l.left+u/2-i+15};break;case"bottom right":f={top:l.top+c,left:l.left+u/2-15};break;case"left top":f={top:l.top+c/2-s,left:l.left-i};break;case"left bottom":f={top:l.top+c/2,left:l.left-i};break;case"right top":f={top:l.top+c/2-s,left:l.left+u};break;case"right bottom":f={top:l.top+c/2,left:l.left+u};break;default:throw new Error(`invalid position "${e}"`)}return f}function h(e,t){const n=u(),r=t.getBoundingClientRect().width;return e.left=Math.max(0,Math.min(e.left,n.width-r)),e}},88060:function(e,t,n){"use strict";var r=n(99196),o=n(91850),i=n.n(o);t.Z=e=>{let{children:t}=e;const[n,o]=(0,r.useState)(null);return(0,r.useLayoutEffect)((()=>{const e=document.createElement("div");return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}}),[]),n?i().createPortal(t,n):null}},97493:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);n(9723);function o(e){let{children:t}=e;return(0,r.createElement)("span",{className:"screen-reader-text"},t)}},6010:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(56666),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(80418);class u extends a.PureComponent{render(){const e=s()(this.props.baseClassName,this.props.className),t={width:this.props.size,height:this.props.size,fontSize:this.props.size};return(0,o.createElement)("div",{className:e},(0,o.createElement)("div",{className:"spinner__outer",style:t},(0,o.createElement)("div",{className:"spinner__inner"})))}}(0,r.Z)(u,"defaultProps",{size:20,baseClassName:"spinner"})},90544:function(e,t){"use strict";t.Z=e=>{const t=(e=>t=>{if(t in e)return e[t];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${t}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(e);return t.isEnabled=(e=>t=>e.features&&!!e.features[t]||!1)(e),t.enabledFeatures=(e=>()=>e.features?Object.entries(e.features).reduce(((e,t)=>{let[n,r]=t;return r?[...e,n]:e}),[]):[])(e),t.enable=(e=>t=>{e.features&&(e.features[t]=!0)})(e),t.disable=(e=>t=>{e.features&&(e.features[t]=!1)})(e),t}},85694:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(65736);const __=r.__;function o(e,t,n,o){return[{title:__("Add a new domain","full-site-editing"),description:__("Set up your domain whether it’s registered with WordPress.com or elsewhere."),link:`/domains/add/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Manage my domain settings","full-site-editing"),description:__("Manage all domains linked to your account.","full-site-editing"),link:`/domains/manage/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Change my site address","full-site-editing"),link:`/domains/manage/${e}/edit/${e}`,synonyms:["domains","domain"],icon:"domains"},{title:__("Add a site redirect","full-site-editing"),description:__("Redirect your site to another domain.","full-site-editing"),link:`/domains/add/site-redirect/${e}`,synonyms:["domains","domain","forward"],icon:"domains"},{title:__("Change my password","full-site-editing"),link:"/me/security",synonyms:["update"],icon:"cog"},{title:__("Change my site's theme"),link:`/themes/${e}`,synonyms:["switch","design"],icon:"customize"},{title:__("Customize my site's theme"),link:t.root,synonyms:["color","font","design","css","widgets"],icon:"customize"},{title:__("Change my homepage","full-site-editing"),link:t.homepage,synonyms:["home","homepage"],icon:"customize"},{title:__("Edit my menu","full-site-editing"),link:t.menus,synonyms:["menu"],icon:"customize"},{title:__("Set a site logo","full-site-editing"),link:t.identity,synonyms:["logo","identity"],icon:"customize"},{title:__("Find a plan to suit my site","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Cancel my plan","full-site-editing"),link:"/me/purchases",synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Upgrade my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,r.sprintf)(__("Cancel %s","full-site-editing"),n),link:"/me/purchases",synonyms:["upgrade","business","professional","personal","google"],icon:"plans"},{title:__("Renew my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal","plan"],icon:"plans"},{title:__("Renew my domain","full-site-editing"),link:`/plans/${e}`,synonyms:["domain","business","professional","personal","plan"],icon:"plans"},{title:__("View my site activity","full-site-editing"),link:`/activity-log/${e}`,icon:"history"},{title:__("View my site's latest stats"),link:`/stats/day/${e}`,synonyms:["analytics"],icon:"stats-alt"},{title:__("Upload an image, video, audio or document","full-site-editing"),link:`/media/${e}`,synonyms:["media","photo"],icon:"image"},{title:__("Import content from another site","full-site-editing"),link:`/settings/import/${e}`,synonyms:["medium","blogger","wix","squarespace"],icon:"cloud-upload"},{title:__("Earn money from my site","full-site-editing"),description:__("By upgrading to the Premium plan, you'll be able to monetize your site through the WordAds program."),link:`/earn/${e}`,synonyms:["monetize","wordads","premium"],icon:"money"},{title:__("Learn how to market my site","full-site-editing"),link:`/marketing/tools/${e}`,synonyms:["marketing","brand","logo","seo","tools","traffic"],icon:"speaker"},{title:__("Manage my site's users"),description:__("Invite new users and edit existing ones.","full-site-editing"),link:`/people/team/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Invite new users to my site","full-site-editing"),link:`/people/new/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Change my site's timezone"),link:`/settings/general/${e}#site-settings__blogtimezone`,synonyms:["time","date"],icon:"cog"},{title:__("Launch my site","full-site-editing"),description:__("Switch your site from private to public.","full-site-editing"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["private","public"],icon:"cog"},{title:__("Delete a site or a site's content"),description:__("Remove all posts, pages, and media, or delete a site completely.","full-site-editing"),link:`/settings/general/${e}#site-tools__header`,icon:"cog"},{title:__("Set a site icon","full-site-editing"),link:`/settings/general/${e}`,icon:"cog",synonyms:["logo"]},{title:__("Change my site's footer text"),description:__("You can customize your website by changing the footer credit in customizer."),link:`/settings/general/${e}#site-settings__footer-credit-header`,synonyms:["remove footer","update footer"],icon:"cog"},{title:__("Export my site's content and media library"),description:__("Export posts, pages and more from your site.","full-site-editing"),link:`/settings/export/${e}`,synonyms:["xml","images","migration","import","download"],icon:"cog"},{title:__("Manage sharing and social media connections","full-site-editing"),link:`/sharing/${e}`,synonyms:["facebook","twitter","twitter","tumblr","eventbrite"],icon:"share"},{title:__("Add sharing buttons to my site","full-site-editing"),description:__("Allow readers to easily share your posts with others by adding sharing buttons throughout your site."),link:`/sharing/buttons/${e}`,synonyms:["like","reblog"],icon:"share"},{title:__("Install, manage, and search for site Plugins","full-site-editing"),link:`/plugins/${e}`,synonyms:["upload"],icon:"plugins"},{title:__("Approve or delete comments","full-site-editing"),link:`/comments/all/${e}`,synonyms:["spam","discussion","moderation","moderate"],icon:"chat"},{title:__("Manage how users can comment on my site","full-site-editing"),link:`/settings/discussion/${e}`,synonyms:["discussion","moderation","blocklist"],icon:"cog"},{title:__("Manage post categories","full-site-editing"),link:`/settings/writing/${e}`,synonyms:["post","category"],icon:"cog"},{title:__("Edit my site title, tagline, or logo","full-site-editing"),link:`/settings/general/${e}`,synonyms:["title","logo"],icon:"cog"},{title:__("Set up a podcast","full-site-editing"),link:`/settings/writing/${e}#podcasting-details__link-header`,synonyms:["podcast","radio","audio"],icon:"cog"},{title:__("Change my site's privacy settings"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["privacy"],icon:"cog"},{title:__("Manage SEO and traffic settings","full-site-editing"),link:`/settings/traffic/${e}`,synonyms:["analytics","related","sitemap"],icon:"cog"},{title:__("Update my profile","full-site-editing"),description:__("Update your name, profile image, and about text.","full-site-editing"),link:"/me",synonyms:["avatar"],icon:"user"},{title:__("Update my username or email address","full-site-editing"),link:"/me/account",synonyms:["user","account"],icon:"cog"},{title:__("Change the dashboard color scheme","full-site-editing"),link:"/me/account#account__color_scheme",synonyms:["theme"],icon:"cog"},{title:__("Switch the interface language","full-site-editing"),description:__("Update the language of the interface you see across WordPress.com as a whole."),link:"/me/account#account__language",synonyms:["dashboard","change","language"],icon:"cog"},{title:__("Close my account permanently","full-site-editing"),description:__("Delete all of your sites, and close your account completely.","full-site-editing"),link:"/me/account/close",synonyms:["delete"],icon:"cog"},{title:__("Change my account privacy settings","full-site-editing"),link:"/me/privacy",synonyms:["security","tracking"],icon:"visible"},{title:__("View my purchase and billing history","full-site-editing"),link:"/me/purchases",synonyms:["purchases","invoices","pending","payment","credit card"],icon:"credit-card"},{title:__("Download the WordPress.com app for my device","full-site-editing"),description:__("Get WordPress apps for all your screens.","full-site-editing"),link:"/me/get-apps",synonyms:["android","iphone","mobile","desktop","phone"],icon:"my-sites"},{title:__("View my drafted posts","full-site-editing"),link:`/posts/drafts/${e}`,synonyms:["posts","draft"],icon:"my-sites"},{title:__("Manage my blog posts","full-site-editing"),link:`/posts/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("New post","full-site-editing"),description:__("Create a new blog post on your site."),link:`/post/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("View my drafted pages","full-site-editing"),link:`/pages/drafts/${e}`,synonyms:["pages","draft"],icon:"my-sites"},{title:__("Manage my pages","full-site-editing"),link:`/pages/${e}`,synonyms:["lists","pages"],icon:"my-sites"},{title:__("I cannot find my site on Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"speaker"},{title:__("Verify my site with Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"cog"},{title:__("Create a new site","full-site-editing"),link:`${o}?ref=calypso-inline-help`,synonyms:["site"],icon:"cog"},{title:__("View contact form messages","full-site-editing"),link:`https://${e}/wp-admin/edit.php?post_type=feedback&calypsoify=1`,synonyms:["contact","form"],icon:"cog"},{title:__("Portfolio projects (for those who have them active)","full-site-editing"),link:`/types/jetpack-portfolio/${e}`,synonyms:["portfolio"],icon:"cog"}]}},94514:function(e,t,n){"use strict";n.d(t,{Sm:function(){return r},fI:function(){return o},D_:function(){return i},EE:function(){return s},QZ:function(){return a},h_:function(){return u}});const r="tour",o="video",i="contextual_help",s="api_help",a="admin_section",u="sell_intent"},34923:function(e,t,n){"use strict";n.d(t,{r_:function(){return f}});var r=n(47498),o=n(65736),i=n(94514);const __=o.__,s=[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Uploading custom plugins and themes","full-site-editing")},get description(){return __("Learn more about installing a custom theme or plugin using the Business plan.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All About Domains","full-site-editing")},get description(){return __("Set up your domain whether it’s registered with WordPress.com or elsewhere.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/start/")},post_id:81083,get title(){return __("Quick-Start Guide","full-site-editing")},get description(){return __("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/privacy-settings/")},post_id:1507,get title(){return __("Privacy Settings","full-site-editing")},get description(){return __("Limit your site’s visibility or make it completely private.","full-site-editing")}}],a=[{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},get title(){return __("All about blog posts","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},get title(){return __("Encourage visitors to subscribe to your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/publicize/")},get title(){return __("Share your content to social media automatically","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},get title(){return __("Encourage visitors to share your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/seo/")},get title(){return __("Learn about how to get noticed by search engines","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},get title(){return __("Verify your site with Google and other services","full-site-editing")}}],u={stats:[{get link(){return(0,r.aq)("https://wordpress.com/support/stats/")},post_id:4454,get title(){return __("Understanding the Stats Page","full-site-editing")},get description(){return __("Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Getting More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:132186,get title(){return __("Increase Your Site Traffic","full-site-editing")},get description(){return __("One of the most frequent questions our community members ask us — and themselves — is how to get more traffic. Here are a few best practices.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.","full-site-editing")}}],sharing:[{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/","full-site-editing")},post_id:130825,get title(){return __("Integrate and Connect to Social Media","full-site-editing")},get description(){return __("Start sharing your site and attract more traffic and visitors to your content! Learn to activate and control the social media and sharing options on your website or blog through these videos.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},post_id:7499,get title(){return __("Sharing Your Content","full-site-editing")},get description(){return __("At the bottom of each post or page, you can include sharing buttons for your readers to make it easier to share your content.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/instagram/")},post_id:77589,get title(){return __("Using Instagram","full-site-editing")},get description(){return __("Instagram is a simple way to capture, customize, and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/twitter/")},post_id:124,get title(){return __("Using Twitter","full-site-editing")},get description(){return __('Twitter is a service for the exchange of brief messages, commonly called "tweets", between users. Learn how to use it with your website!',"full-site-editing")}}],home:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],me:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-my-profile/")},post_id:19775,get title(){return __("Managing Your Profile","full-site-editing")},get description(){return __("Your profile is the information you’d like to be shown along with your name when you publish content or comment on WordPress.com sites.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/gravatars/")},post_id:1338,get title(){return __("Your Profile Picture","full-site-editing")},get description(){return __("WordPress.com associates an Avatar with your email address. Gravatar powers the user avatars on WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:138080,get title(){return __("Account Closure","full-site-editing")},get description(){return __("Need a fresh start? Learn how to close your account.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},post_id:2116,get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}}],account:[{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/manage-your-account/")},post_id:185309,get title(){return __("Manage Your Account","full-site-editing")},get description(){return __("Learn the ins and outs of managing your WordPress.com account and site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-settings/")},post_id:80368,get title(){return __("Edit Your Account Settings","full-site-editing")},get description(){return __("You can review and edit basic account information in Account Settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:143899,get title(){return __("Close Your Account","full-site-editing")},get description(){return __("Learn how to permanently delete your WordPress.com account, and what it means for your website and data.","full-site-editing")}}],security:[{get link(){return(0,r.aq)("https://wordpress.com/support/security/two-step-authentication/")},post_id:58847,get title(){return __("Two-Step Authentication","full-site-editing")},get description(){return __('Your WordPress.com site is your home on the internet, and you want to keep that home safe. Learn how to add an additional "lock" to your account!',"full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-recovery/")},post_id:46365,get title(){return __("Account Recovery","full-site-editing")},get description(){return __("At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/passwords/")},post_id:89,get title(){return __("Passwords And How To Use Them","full-site-editing")},get description(){return __("Passwords are very important to user accounts, and there may come a time when you need to change your password.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/third-party-applications/")},post_id:17288,get title(){return __("Third Party Applications","full-site-editing")},get description(){return __("WordPress.com allows you to connect with third-party applications that extend your WordPress.com site in new and cool ways.","full-site-editing")}}],purchases:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"site-purchases":[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"notification-settings":[{get link(){return(0,r.aq)("https://wordpress.com/support/notifications/")},post_id:40992,get title(){return __("Notifications","full-site-editing")},get description(){return __("Notifications help you stay on top of the activity on your site and all the things happening on WordPress.com — learn how to use them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/email-notifications/")},post_id:9443,get title(){return __("Email Notifications","full-site-editing")},get description(){return __("WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following-comments/")},post_id:4576,get title(){return __("Following Comments","full-site-editing")},get description(){return __("When you leave a comment, you can automatically get email notifications for other new comments on the same post or page — you'll never be out of the loop.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Following Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}}],media:[{get link(){return(0,r.aq)("https://wordpress.com/support/media/")},post_id:853,get title(){return __("The Media Library","full-site-editing")},get description(){return __("The Media Library is where you can manage your images, audio, videos, and documents all in one place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/finding-free-images-and-other-media/","full-site-editing")},post_id:78425,get title(){return __("Finding Free Images and other Media","full-site-editing")},get description(){return __("Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/blocks/image-block/")},post_id:38830,get title(){return __("Add Media","full-site-editing")},get description(){return __("Dress up your text-based posts and pages with individual images, image galleries, slideshows, videos, and audio.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/videos/")},post_id:4744,get title(){return __("Including Videos","full-site-editing")},get description(){return __("Videos are a great way to enhance your site pages and blog posts. Learn how to include them.","full-site-editing")}}],people:[{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("User Roles","full-site-editing")},get description(){return __("User roles determine the access level or permissions of a person authorized to use a WordPress.com site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-mentions/")},post_id:91788,get title(){return __("User Mentions","full-site-editing")},get description(){return __("User mentions are a great way to include other WordPress.com users within your posts and comments.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/user-roles/")},post_id:2160,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/followers/")},post_id:5444,get title(){return __("Your Followers","full-site-editing")},get description(){return __("When someone follows your site, each time you publish new content on your blog they receive an update in their Reader, via email, or both depending on their settings.","full-site-editing")}}],plugins:[{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/")},post_id:2108,get title(){return __("Using Plugins","full-site-editing")},get description(){return __("On WordPress.com, we include the most popular plugin functionality within our sites automatically. Additionally, the Business plan allows you to choose from many thousands of plugins, and install them on your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/#managing-plugins")},post_id:134818,get title(){return __("Managing plugins","full-site-editing")},get description(){return __("After you install a plugin, it will appear in a list at My Sites → Plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/#installing-plugins")},post_id:134719,get title(){return __("Adding Plugins","full-site-editing")},get description(){return __("Along with all the tools and features built right into WordPress.com, the Business plan allows you to install other plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Business Plan","full-site-editing")},get description(){return __("When you want to build a one-of-a-kind website, it's time for WordPress.com Business: upload plugins and themes to create a truly tailored experience for your visitors.","full-site-editing")}}],"posts-pages":[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/","full-site-editing")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-website-setup/")},post_id:100856,get title(){return __("Build Your Website in Five Steps","full-site-editing")},get description(){return __("You’ve registered a website on WordPress.com. But now what? Learn five steps that will get the framework of your new website all set up, leaving it ready and waiting for your great content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/pages/landing-pages/")},post_id:124077,get title(){return __("Landing Pages","full-site-editing")},get description(){return __("Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for a service, buy a product, or join a mailing list.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},post_id:84,get title(){return __("About Blog Posts","full-site-editing")},get description(){return __("Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/post-formats/")},post_id:10382,get title(){return __("Post Formats","full-site-editing")},get description(){return __("Learn how to make gallery, video, audio, and other post types pop with post formats. ","full-site-editing")}}],"settings-writing":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/writing-settings/")},post_id:1502,get title(){return __("Writing Settings","full-site-editing")},get description(){return __("Learn how to manage categories, date format, content types, and more.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/categories-vs-tags/")},post_id:2135,get title(){return __("Categories vs. Tags","full-site-editing")},get description(){return __("Learn the differences between categories and tags.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/feeds/")},post_id:3589,get title(){return __("Feeds","full-site-editing")},get description(){return __("A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/portfolios/")},post_id:84808,get title(){return __("Portfolios","full-site-editing")},get description(){return __("To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you manage all your portfolio projects in one place.","full-site-editing")}}],"settings-discussion":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:1504,get title(){return __("Discussion Settings","full-site-editing")},get description(){return __("The Discussion Settings are used to control how visitors and other blogs interact with your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/","full-site-editing")},post_id:5997,get title(){return __("Enable and Disable Comments for Future Posts","full-site-editing")},get description(){return __("You can enable/disable comments on future posts by going into your Discussion settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},post_id:67810,get title(){return __("Subscriptions and Newsletters","full-site-editing")},get description(){return __("Learn how readers can subscribe to your blog to receive email notifications of all of your posts.","full-site-editing")}}],"settings-traffic":[{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Get More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/related-posts/")},post_id:1545,get title(){return __("Related Posts","full-site-editing")},get description(){return __("The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},post_id:5022,get title(){return __("Site Verification Services","full-site-editing")},get description(){return __("Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/amp-accelerated-mobile-pages/")},post_id:122516,get title(){return __("Accelerated Mobile Pages (AMP)","full-site-editing")},get description(){return __("Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. By default, it is enabled for every WordPress.com site.","full-site-editing")}}],"settings-security":[{get link(){return(0,r.aq)("https://wordpress.com/support/security/")},post_id:10977,get title(){return __("Security","full-site-editing")},get description(){return __("Learn what we do to help protect your site and your personal data, along with added steps we recommend you take to do the same.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/security/#strong-password")},post_id:35364,get title(){return __("Selecting A Strong Password","full-site-editing")},get description(){return __("The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.","full-site-editing")}}],settings:[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/")},post_id:497,get title(){return __("Settings","full-site-editing")},get description(){return __("The Settings menu of your site is where you will configure everything about how the blog works and functions.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/general-settings/")},post_id:1501,get title(){return __("General Settings","full-site-editing")},get description(){return __("The General Settings let you control how your site is displayed, such as the title, tagline, language, and visibility.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-icons/")},post_id:1327,get title(){return __("Site Icons","full-site-editing")},get description(){return __("A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab and other places around WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-blog-setup/")},post_id:100846,get title(){return __("Five Steps to Your Great New Blog","full-site-editing")},get description(){return __("Get ready to publish! Our five-step checklist walks you through all the fundamentals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],themes:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:2278,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes","full-site-editing")},post_id:134704,get title(){return __("Child Themes","full-site-editing")},get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],theme:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:134704,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes","full-site-editing")},get title(){return __("Child Themes","full-site-editing")},post_id:134704,get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],plans:[{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],"gutenberg-editor":[{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/")},post_id:147594,get title(){return __('What are "Blocks"?',"full-site-editing")},get description(){return __("The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.","full-site-editing")}},{intent:i.h_,get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/video-tutorials-add-payments-features-to-your-site-with-our-guides/","full-site-editing")},post_id:175999,get title(){return __("The Payments Block","full-site-editing")},get description(){return __("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/offline-editing/")},post_id:3595,get title(){return __("Offline Editing","full-site-editing")},get description(){return __("Learn how to create and edit content for your WordPress.com site even without being connected to the internet!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}}],reader:[{get link(){return(0,r.aq)("https://wordpress.com/support/reader/")},post_id:32011,get title(){return __("The Reader: An Overview","full-site-editing")},get description(){return __("Read posts from all the sites you follow — even ones that aren’t on WordPress.com! Discover great new reads and keep track of your comments and replies in one convenient place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Follow Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/topics/")},post_id:2166,get title(){return __("Following Specific Topics in the Reader","full-site-editing")},get description(){return __("Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed.","full-site-editing")}}],help:[{get link(){return(0,r.aq)("https://wpcourses.com/")},post_id:117437,get title(){return __("Blogging U.","full-site-editing")},get description(){return __("Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your email inbox. Sign up now!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/help-support-options/")},post_id:149,get title(){return __("Help! Getting WordPress.com Support","full-site-editing")},get description(){return __("WordPress.com offers a number of avenues for reaching helpful, individualized support.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/")},get title(){return __("All Support Articles","full-site-editing")},get description(){return __("Looking to learn more about a feature? Our docs have all the details.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/learn/")},get title(){return __("Self-guided Online Tutorial","full-site-editing")},get description(){return __("A step-by-step guide to getting familiar with the platform.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],comments:[{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:5840,get title(){return __("Comment Display Options","full-site-editing")},get description(){return __("You can control comment threading, paging, and comment order settings from the Discussion Settings page in your site’s settings.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-likes/")},post_id:88757,get title(){return __("Comment Likes","full-site-editing")},get description(){return __("Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.","full-site-editing")}}],hosting:[{get link(){return(0,r.aq)("https://wordpress.com/support/sftp/")},post_id:159771,get title(){return __("SFTP on WordPress.com","full-site-editing")},get description(){return __("Access and edit your website's files directly by using an SFTP client.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/phpmyadmin-and-mysql/")},post_id:159822,get title(){return __("phpMyAdmin and MySQL","full-site-editing")},get description(){return __("For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/php-version-switching/")},post_id:160597,get title(){return __("PHP Version Switching","full-site-editing")},get description(){return __("Sites on the Business Plan using custom plugins and/or custom themes and any site on the eCommerce Plan, now have the option to switch PHP versions.","full-site-editing")}}],checkout:[{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Manage Purchases and Refund Policy","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}}],domains:[{get link(){return(0,r.aq)("https://wordpress.com/support/add-email/")},post_id:34087,get title(){return __("Add Email to your Domain","full-site-editing")},get description(){return __("Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/custom-dns/")},post_id:6595,get title(){return __("Manage Custom DNS","full-site-editing")},get description(){return __("Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/transfer-domain-registration/","full-site-editing")},post_id:41298,get title(){return __("Transfer a Domain to Another Registrar","full-site-editing")},get description(){return __("This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domain-connection-vs-domain-transfer/")},post_id:157655,get title(){return __("Connect an Existing Domain","full-site-editing")},get description(){return __("You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All about domains","full-site-editing")},get description(){return __("A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}]},c={sharing:[{type:i.fI,link:"https://www.youtube.com/watch?v=YVelWG3hf3o",get title(){return __("Add Social Sharing Buttons to Your Website","full-site-editing")},get description(){return __("Find out how to add social sharing buttons to your WordPress.com site, which you can also do with a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=NcCe0ozmqFM",get title(){return __("Connect Your Blog to Facebook Using Publicize","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Facebook from your WordPress.com site, which you can also do on a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=f44-4TgnWTs",get title(){return __("Display Your Instagram Feed on Your Website","full-site-editing")},get description(){return __("Find out how to display your latest Instagram photos right on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3rTooGV_mlg",get title(){return __("Set Up the Social Links Menu","full-site-editing")},get description(){return __("Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=gmrOkkqMNlc",get title(){return __("Embed a Twitter Timeline in your Sidebar","full-site-editing")},get description(){return __("Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vy-U5saqG9A",get title(){return __("Set Up a Social Media Icons Widget","full-site-editing")},get description(){return __("Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=N0GRBFRkzzs",get title(){return __("Embed a Tweet from Twitter in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=uVRji6bKJUE",get title(){return __("Embed an Instagram Photo in Your Website","full-site-editing")},get description(){return __("Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=sKm3Q83JxM0",get title(){return __("Embed a Facebook Update in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=SBgNkre_b14",get title(){return __("Share Blog Posts Directly on Twitter","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}}],settings:[{type:i.fI,link:"https://www.youtube.com/watch?v=0YCZ22k4SfQ",get title(){return __("Add a Site Logo","full-site-editing")},get description(){return __("Find out how to add a custom logo to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vucZ1uZ2NPo",get title(){return __("Update Your Website Title and Tagline","full-site-editing")},get description(){return __("Find out how to update the Title and Tagline of your WordPress.com site, which you can also do on your Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Y6iPsPwYD7g",get title(){return __("Change Your Privacy Settings","full-site-editing")},get description(){return __("Find out how to change your website privacy settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bjxKGxW0MRA",get title(){return __("Add a Site Icon","full-site-editing")},get description(){return __("Find out how to add a site icon on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=z6fCtvLB0wM",get title(){return __("Create a Multilingual Site","full-site-editing")},get description(){return __("Find out how to create a multilingual site on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=D142Edhcpaw",get title(){return __("Customize Your Content Options","full-site-editing")},get description(){return __("Find out how to customize your content options on select WordPress.com themes.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Vyr-g5SEuIA",get title(){return __("Change Your Language Settings","full-site-editing")},get description(){return __("Find out how to change your blog or website language and your interface language settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=EUuEuW_LCrc",get title(){return __("Activate Free Email Forwarding","full-site-editing")},get description(){return __("Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.","full-site-editing")}}],account:[{type:i.fI,link:"https://www.youtube.com/watch?v=aO-6yu3_xWQ",get title(){return __("Change Your Password","full-site-editing")},get description(){return __("Find out how to change your account password on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=qhsjkqFdDZo",get title(){return __("Change Your WordPress.com Username","full-site-editing")},get description(){return __("Find out how to change your username on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Tyxu_xT6q1k",get title(){return __("Change Your WordPress.com Display Name","full-site-editing")},get description(){return __("Find out how to change your display name on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=07Nf8FkjO4o",get title(){return __("Change Your Account Email Address","full-site-editing")},get description(){return __("Find out how to change your account email address on WordPress.com.","full-site-editing")}}],customizer:[{type:i.fI,link:"https://www.youtube.com/watch?v=pf_ST7gvY8c",get title(){return __("Add a Custom Header Image","full-site-editing")},get description(){return __("Find out how to add a custom header image to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=CY20IAtl2Ac",get title(){return __("Create a Custom Website Menu","full-site-editing")},get description(){return __("Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=2H_Jsgh2Z3Y",get title(){return __("Add a Widget","full-site-editing")},get description(){return __("Find out how to add a widget to your WordPress.com website.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=ypFF4ONBfSQ",get title(){return __("Add a Custom Background","full-site-editing")},get description(){return __("Find out how to add a custom background to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=b8EuJDrNeOA",get title(){return __("Change Your Site Fonts","full-site-editing")},get description(){return __("Find out how to change the fonts on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=7VPgvxV78Kc",get title(){return __("Add a Gallery Widget","full-site-editing")},get description(){return __("Find out how to add an image gallery widget to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=oDBuaBLrwF8",get title(){return __("Use Featured Content","full-site-editing")},get description(){return __("Find out how to use the Featured Content option on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3TqRr21zyiA",get title(){return __("Add an Image Widget","full-site-editing")},get description(){return __("Find out how to add an image widget to your WordPress.com website or blog.","full-site-editing")}}],"posts-pages":[{type:i.fI,link:"https://www.youtube.com/watch?v=3RPidSCQ0LI",get title(){return __("Create a Landing Page","full-site-editing")},get description(){return __("Find out how to create a one-page website or landing page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=4IkFQzl5nXc",get title(){return __("Set Up a Website in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a website on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mta6Y0o7yJk",get title(){return __("Set Up a Blog in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a blog on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Gx7YNX1Wk5U",get title(){return __("Create a Page","full-site-editing")},get description(){return __("Find out how to create a page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mCfuh5bCOwM",get title(){return __("Create a Post","full-site-editing")},get description(){return __("Find out how to create a post on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bEVHg6nopcs",get title(){return __("Use a Custom Menu in a Widget","full-site-editing")},get description(){return __("Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=nAzdUOlFoBI",get title(){return __("Configure a Static Homepage","full-site-editing")},get description(){return __("By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=MPpVeMmDOhk",get title(){return __("Show Related Posts on Your WordPress Blog","full-site-editing")},get description(){return __("Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=JVnltCZUKC4",get title(){return __("Add Testimonials","full-site-editing")},get description(){return __("Find out how to add testimonials to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=yH_gapAUGAA",get title(){return __("Change Your Post or Page Visibility Settings","full-site-editing")},get description(){return __("Find out how to change your page or post visibility settings WordPress.com.","full-site-editing")}}],media:[{type:i.fI,link:"https://www.youtube.com/watch?v=VjGnEHyqVqQ",get title(){return __("Add a Photo Gallery","full-site-editing")},get description(){return __("Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.","full-site-editing")}}],themes:[{type:i.fI,link:"https://www.youtube.com/watch?v=yOfAuOb68Hc",get title(){return __("Change Your Website Theme on WordPress.com","full-site-editing")},get description(){return __("Find out how to change your WordPress.com theme.","full-site-editing")}}]},l={media:[{type:i.Sm,tour:"mediaBasicsTour",key:"tour:mediaBasicsTour",get title(){return __("Learn Media Library Basics","full-site-editing")},get description(){return __("The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.","full-site-editing")}}]};function f(e,t){var n,r;"posts"!==e&&"pages"!==e||(e="posts-pages");const o="write"===t?a:s,f=null===(n=c[e])||void 0===n?void 0:n[0],p=null===(r=l[e])||void 0===r?void 0:r[0];let d=u[e]??o;return"home"===e&&Array.isArray(d)?[p,f,...o,...d].filter(Boolean):("gutenberg-editor"===e&&"sell"!==t&&Array.isArray(d)&&(d=d.filter((e=>e.intent!==i.h_))),[p,f,...d].filter(Boolean))}},52865:function(e,t,n){"use strict";n.r(t),n.d(t,{setShowHelpCenter:function(){return r},setDirectlyData:function(){return o},setSite:function(){return i},setSubject:function(){return s},setMessage:function(){return a},setPopup:function(){return u},resetPopup:function(){return c},setUserDeclaredSiteUrl:function(){return l},setUserDeclaredSite:function(){return f},resetStore:function(){return p}});const r=e=>({type:"HELP_CENTER_SET_SHOW",show:e}),o=e=>({type:"HELP_CENTER_SET_DIRECTLY_DATA",data:e}),i=e=>({type:"HELP_CENTER_SET_SITE",site:e}),s=e=>({type:"HELP_CENTER_SET_SUBJECT",subject:e}),a=e=>({type:"HELP_CENTER_SET_MESSAGE",message:e}),u=e=>({type:"HELP_CENTER_SET_POPUP",popup:e}),c=()=>({type:"HELP_CENTER_RESET_POPUP"}),l=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE_URL",url:e}),f=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE",site:e}),p=()=>({type:"HELP_CENTER_RESET_STORE"})},2193:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r="automattic/help-center"},17624:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(9818),o=n(23418),i=n(52865),s=n(2193),a=n(61654),u=n(55601);let c=!1;function l(){return c||((0,r.registerStore)(s.L,{actions:i,reducer:a.Z,controls:o.controls,selectors:u,persist:["site"]}),c=!0),s.L}},61654:function(e,t,n){"use strict";var r=n(9818);const o=(0,r.combineReducers)({directlyData:(e,t)=>"HELP_CENTER_SET_DIRECTLY_DATA"===t.type?t.data:e,showHelpCenter:(e,t)=>"HELP_CENTER_SET_SHOW"===t.type?t.show:e,site:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SITE"===t.type?t.site:e},subject:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SUBJECT"===t.type?t.subject:e},message:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_MESSAGE"===t.type?t.message:e},userDeclaredSite:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE"===t.type?t.site:e},userDeclaredSiteUrl:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE_URL"===t.type?t.url:e},popup:(e,t)=>"HELP_CENTER_SET_POPUP"===t.type?t.popup:"HELP_CENTER_RESET_POPUP"!==t.type&&"HELP_CENTER_RESET_STORE"!==t.type?e:void 0});t.Z=o},55601:function(e,t,n){"use strict";n.r(t),n.d(t,{isHelpCenterShown:function(){return r},getSite:function(){return o},getSubject:function(){return i},getMessage:function(){return s},getUserDeclaredSiteUrl:function(){return a},getPopup:function(){return u},getDirectly:function(){return c},getUserDeclaredSite:function(){return l}});const r=e=>e.showHelpCenter,o=e=>e.site,i=e=>e.subject,s=e=>e.message,a=e=>e.userDeclaredSiteUrl,u=e=>e.popup,c=e=>e.directlyData,l=e=>e.userDeclaredSite},63830:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(99196);let o;function i(){const[e,t]=(0,r.useState)(Boolean(o));return(0,r.useEffect)((()=>{const e=document.createElement("iframe");function n(r){const{data:i}=r;"widgets.wp.com-cookie-check"===i.type&&(o=i.result,t(i.result),window.removeEventListener("message",n),e.remove())}if(void 0===o)return e.src="https://widgets.wp.com/calypso-happychat/check-cookies.html",e.style.display="none",window.addEventListener("message",n),document.body.appendChild(e),()=>window.removeEventListener("message",n)}),[]),{hasCookies:e,isLoading:void 0===o}}},53762:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(99196),o=n(82066),i=n(18552);const s=(e,t)=>{const n="has-seen-whats-new-modal",{data:s,isLoading:a}=(0,o.useQuery)(n,(()=>(0,i.ZP)({path:`/sites/${e}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2"})),{enabled:!!e&&t,refetchOnWindowFocus:!1}),u=(0,o.useQueryClient)(),c=(0,o.useMutation)((t=>{let{hasSeenWhatsNewModal:n}=t;return(0,i.ZP)({path:`/sites/${e}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2",method:"post",body:{has_seen_whats_new_modal:n}})}),{onSuccess(e){u.setQueryData(n,{...e})}}),{mutateAsync:l}=c;return{data:s,isLoading:a,setHasSeenWhatsNewModal:(0,r.useCallback)((e=>l({hasSeenWhatsNewModal:e})),[l])}}},34381:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var r=n(99196),o=n(17127),i=n(18552);function s(e){const[t,n]=(0,r.useState)(),[s]=(0,o.Z)(e,500);return(0,r.useEffect)((()=>{var e;(n(void 0),(e=s)&&e.length>4&&Boolean(null==e?void 0:e.match(/\w{2,}\.\w{2,16}/)))&&(s&&(async()=>{try{var e;const r=await(0,i.ZP)({path:`/imports/analyze-url?site_url=${encodeURIComponent(s)}`,apiNamespace:"wpcom/v2"});if(null!==(e=r.platform_data)&&void 0!==e&&e.is_wpcom)try{const e=await(0,i.ZP)({path:"/sites/"+encodeURIComponent(s),apiVersion:"1.1"});n({site:e,result:"WPCOM"})}catch(t){n({result:"NOT_OWNED_BY_USER"})}else"wordpress"===r.platform?n({result:"WPORG"}):n({result:"UNKNOWN"})}catch(t){n({result:"UNKNOWN"})}})())}),[s]),{...t,isLoading:!t}}},45655:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(82066),o=n(18552);function i(e){return(0,r.useQuery)("site-intent-"+e,(async()=>await(0,o.ZP)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2"})),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e})}},28459:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(93661),o=n(52699);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),n=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const s=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),a=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),u=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),c=e=>({type:"LAUNCH_SITE_START",siteId:e}),l=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),f=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});const p=(e,t)=>({type:"UPDATE_SITE_SETTINGS",siteId:e,settings:t});const d=(e,t)=>({type:"RECEIVE_SITE_GLOBAL_STYLES",siteId:e,globalStyles:t});function*h(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield s(e,t.blogname)),"blogdescription"in t&&(yield a(e,t.blogdescription)),"site_vertical_id"in t&&(yield u(e,t.site_vertical_id)),yield p(e,t)}catch(n){}}const g=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),m=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),y=(e,t,n)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:n});const v=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),b=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),w=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const _=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),E=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:n}),S=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:n});const C=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),P=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),k=(e,t,n)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:n});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield h(e,{blogname:t})},saveSiteSettings:h,setIntentOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(n){}},setGoalsOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-goals`,apiNamespace:"wpcom/v2",body:{site_goals:t},method:"POST"})}catch(n){}},receiveSiteTitle:s,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:n,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),setThemeOnSite:function*(e,t){yield(0,r._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t,dont_change_homepage:!0},method:"POST"})},setDesignOnSite:function*(e,t,n){var o;const{theme:i,recipe:s}=t;if(yield(0,r._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:(null==s||null===(o=s.stylesheet)||void 0===o?void 0:o.split("/")[1])||i,dont_change_homepage:!0},method:"POST"}),["hannah","gilbert","riley"].indexOf(t.template)<0){return yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0,vertical_id:n||void 0,pattern_ids:null==s?void 0:s.pattern_ids,header_pattern_ids:(null==s?void 0:s.header_pattern_ids)||[],footer_pattern_ids:(null==s?void 0:s.footer_pattern_ids)||[]},method:"POST"})}},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,s={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},a=yield(0,r._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:s,token:o});return yield n(a),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:a,receiveSiteVerticalId:u,updateSiteSettings:p,saveSiteTagline:function*(e,t){yield h(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield c(e);try{yield(0,r._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield l(e)}catch(t){yield f(e,o.Hc.INTERNAL)}},launchSiteStart:c,launchSiteSuccess:l,launchSiteFailure:f,getCart:function*(e){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},getGlobalStyles:function*(e,t){const n=yield(0,r._9)({path:`/sites/${e}/global-styles/themes/${t}`,apiNamespace:"wp/v2"});return yield d(e,n),n},receiveSiteGlobalStyles:d,setSiteSetupError:(e,t)=>({type:"SET_SITE_SETUP_ERROR",error:e,message:t}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield g(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield m(e,t)}catch(n){yield y(e,t,o.Hf.INTERNAL)}},atomicTransferStart:g,atomicTransferSuccess:m,atomicTransferFailure:y,latestAtomicTransferStart:v,latestAtomicTransferSuccess:b,latestAtomicTransferFailure:w,requestLatestAtomicTransfer:function*(e){yield v(e);try{const t=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield b(e,t)}catch(t){yield w(e,t)}},atomicSoftwareStatusStart:_,atomicSoftwareStatusSuccess:E,atomicSoftwareStatusFailure:S,requestAtomicSoftwareStatus:function*(e,t){yield _(e,t);try{const n=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield E(e,t,n)}catch(n){yield S(e,t,n)}},initiateSoftwareInstall:function*(e,t){yield C(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield P(e,t)}catch(n){yield k(e,t,n)}},atomicSoftwareInstallStart:C,atomicSoftwareInstallSuccess:P,atomicSoftwareInstallFailure:k}}},52005:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r="automattic/site"},52369:function(e,t,n){"use strict";n.d(t,{z2:function(){return f}});var r=n(9818),o=n(93661),i=n(28459),s=n(52005),a=n(2701),u=n(37862),c=n(84309);let l=!1;function f(e){return l||(l=!0,(0,r.registerStore)(s.L,{actions:(0,i.d)(e),controls:o.ai,reducer:a.ZP,resolvers:u,selectors:c})),s.L}},2701:function(e,t,n){"use strict";var r=n(9818),o=n(52699);const i=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),s=(0,r.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,fetchingSiteError:(e,t)=>"RECEIVE_SITE_FAILED"===t.type?{error:t.response.error,message:t.response.message}:e,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:n,...r}=e;return{...r}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(n=e[t.siteId])||void 0===n?void 0:n.options,site_vertical_id:t.verticalId}}}:e;var n},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:"UPDATE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.settings}}:e},sitesGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_GLOBAL_STYLES"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.globalStyles}}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{error:e,message:n}=t;return{error:e,message:n}}return"CLEAR_SITE_SETUP_ERROR"===t.type?{}:e},atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e}});t.ZP=s},37862:function(e,t,n){"use strict";n.r(t),n.d(t,{getSite:function(){return o},getSiteDomains:function(){return i},getSiteSettings:function(){return s}});var r=n(18552);const o=e=>async t=>{let{dispatch:n}=t;n.fetchSite();try{const t=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});n.receiveSite(e,t)}catch(o){n.receiveSiteFailed(e,o)}},i=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});n.receiveSiteDomains(e,null==o?void 0:o.domains)},s=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});n.receiveSiteSettings(e,null==o?void 0:o.settings)}},84309:function(e,t,n){"use strict";n.r(t),n.d(t,{getState:function(){return s},getNewSite:function(){return a},getNewSiteError:function(){return u},isFetchingSite:function(){return c},getFetchingSiteError:function(){return l},isFetchingSiteDetails:function(){return f},isNewSite:function(){return p},getSite:function(){return d},getSiteIdBySlug:function(){return h},getSiteTitle:function(){return g},getSiteVerticalId:function(){return m},isSiteLaunched:function(){return y},isSiteLaunching:function(){return v},isSiteAtomic:function(){return b},isSiteWPForTeams:function(){return w},getSiteDomains:function(){return _},getSiteSettings:function(){return E},getSiteGlobalStyles:function(){return S},getSiteSetupError:function(){return C},getSiteOptions:function(){return P},getSiteOption:function(){return k},getPrimarySiteDomain:function(){return I},getSiteSubdomain:function(){return A},getSiteLatestAtomicTransfer:function(){return T},getSiteLatestAtomicTransferError:function(){return R},getAtomicSoftwareStatus:function(){return O},getAtomicSoftwareError:function(){return x},getAtomicSoftwareInstallError:function(){return F},siteHasFeature:function(){return L},requiresUpgrade:function(){return U},isJetpackSite:function(){return Z},isEligibleForProPlan:function(){return D}});var r=n(9818),o=n(52005),i=n(52699);const s=e=>e,a=e=>e.newSite.data,u=e=>e.newSite.error,c=e=>e.newSite.isFetching,l=e=>e.fetchingSiteError,f=e=>e.isFetchingSiteDetails,p=e=>!!e.newSite.data,d=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t)),h=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.ID},g=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.name},m=(e,t)=>{var n,i;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.site_vertical_id},y=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.SUCCESS},v=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.IN_PROGRESS},b=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpcom_atomic)},w=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpforteams_site)},_=(e,t)=>e.sitesDomains[t],E=(e,t)=>e.sitesSettings[t],S=(e,t)=>e.sitesGlobalStyles[t],C=e=>e.siteSetupErrors,P=(e,t)=>{var n;return null===(n=e.sites[t])||void 0===n?void 0:n.options},k=(e,t,n)=>{var r,o;return null===(r=e.sites[t])||void 0===r||null===(o=r.options)||void 0===o?void 0:o[n]},I=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.primary_domain))},A=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.is_subdomain))},T=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.transfer},R=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.errorCode},O=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.status},x=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},F=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareInstallStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},L=(e,t,n)=>{var i,s;return Boolean(t&&(null===(i=(0,r.select)(o.L).getSite(t))||void 0===i||null===(s=i.plan)||void 0===s?void 0:s.features.active.includes(n)))},U=(e,t)=>t&&!(0,r.select)(o.L).siteHasFeature(t,"woop");function Z(e,t){var n;return Boolean(t&&(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.jetpack))}function D(e,t){return!!t&&!(Z(0,t)&&!b(e,t)||w(e,t))}},52699:function(e,t,n){"use strict";let r,o,i,s,a,u,c;n.d(t,{Hc:function(){return o},uS:function(){return i},bc:function(){return s},Hf:function(){return a},O:function(){return u},sw:function(){return c}}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(r||(r={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.INTERNAL="internal"}(a||(a={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(c||(c={}))},14803:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(20899),o=n(82066),i=n(18552);const s=(0,r.ZP)("wpcom_support_blog"),a=(0,r.ZP)("jetpack_support_blog");function u(e,t,n){const r=!t||n?s:a;return(0,o.useQuery)(e,(async()=>await(0,i.ZP)({path:"/help/qanda",apiVersion:"1.1",query:`query=${encodeURIComponent(e)}&site=${encodeURIComponent(r)}`})),{refetchOnWindowFocus:!1,keepPreviousData:!0})}},41515:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((e=>{let{site:t,message:n,subject:r,locale:i,hideInfo:s,userDeclaredSiteUrl:a}=e;const u=[];t?(t.jetpack?(u.push("WP.com: Unknown"),u.push("Jetpack: Yes")):u.push("WP.com: Yes"),u.push("Correct account: yes")):a&&u.push(`Self-declared URL: ${a}`);const c={subject:r,message:n+"\n\n"+u.join("\n"),locale:i,client:"help-center",hide_blog_info:s,blog_id:null==t?void 0:t.ID,blog_url:null==t?void 0:t.URL};return(0,o.ZP)({path:"/help/forums/support/topics/new",apiVersion:"1.1",method:"POST",body:c})}))}},32457:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((e=>(0,o.ZP)({path:"/help/tickets/kayako/new",apiVersion:"1.1",method:"POST",body:e})))}},99706:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)("OTHER"===e?"otherSupportAvailability":"chatSupportAvailability",(async()=>await(0,o.ZP)({path:`help/eligibility/${"OTHER"===e?"all":"chat"}/mine`,apiNamespace:"wpcom/v2/",apiVersion:"2"})),{enabled:t,refetchOnWindowFocus:!1,keepPreviousData:!0})}},71382:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(19126),o=n(93661);function i(e){const t=()=>({type:"FETCH_NEW_USER"}),n=e=>({type:"RECEIVE_NEW_USER",response:e}),i=e=>({type:"RECEIVE_NEW_USER_FAILED",error:e});return{receiveCurrentUser:e=>({type:"RECEIVE_CURRENT_USER",currentUser:e}),receiveCurrentUserFailed:()=>({type:"RECEIVE_CURRENT_USER_FAILED"}),fetchNewUser:t,receiveNewUser:n,receiveNewUserFailed:i,clearErrors:()=>({type:"CLEAR_ERRORS"}),createAccount:function*(t){yield{type:"FETCH_NEW_USER"};try{const i=yield(0,o._9)({body:{is_passwordless:!0,signup_flow_name:"gutenboarding",locale:"en",...e,...t,validate:!1},path:"/users/new",apiVersion:"1.1",method:"post",query:(0,r.stringify)({locale:t.locale})});return yield(0,o.sS)(),yield(0,o.Vw)(),yield n(i),{ok:!0}}catch(s){const e=s;return yield i(e),{ok:!1,newUserError:e}}}}}},37037:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r="automattic/user"},88330:function(e,t,n){"use strict";n.d(t,{z:function(){return f}});var r=n(9818),o=n(93661),i=n(71382),s=n(37037),a=n(85938),u=n(45177),c=n(47092);let l=!1;function f(e){return l||(l=!0,(0,r.registerStore)(s.L,{actions:(0,i.d)(e),controls:o.ai,reducer:a.ZP,resolvers:(0,u.i)(e),selectors:c})),s.L}},85938:function(e,t,n){"use strict";var r=n(9818);const o=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_USER"===t.type){const{response:e}=t;return{username:e.signup_sandbox_username||e.username,userId:e.signup_sandbox_user_id||e.user_id,bearerToken:e.bearer_token}}if("RECEIVE_NEW_USER_FAILED"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_USER":case"RECEIVE_NEW_USER":case"CLEAR_ERRORS":return;case"RECEIVE_NEW_USER_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_USER":return!0;case"RECEIVE_NEW_USER":case"RECEIVE_NEW_USER_FAILED":return!1}return e}}),i=(0,r.combineReducers)({currentUser:(e,t)=>{switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser;case"RECEIVE_CURRENT_USER_FAILED":return null}return e},newUser:o});t.ZP=i},45177:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(93661),o=n(71382);function i(e){const{receiveCurrentUser:t,receiveCurrentUserFailed:n}=(0,o.d)(e);return{getCurrentUser:function*(){if(window.currentUser)return t(window.currentUser);try{const e=yield(0,r._9)({path:"/me",apiVersion:"1.1"});return t(e)}catch(e){return n()}}}}},47092:function(e,t,n){"use strict";n.r(t),n.d(t,{getState:function(){return r},getCurrentUser:function(){return o},isCurrentUserLoggedIn:function(){return i},getNewUser:function(){return s},getNewUserError:function(){return a},isFetchingNewUser:function(){return u},isNewUser:function(){return c}});const r=e=>e,o=e=>e.currentUser,i=e=>{var t;return!(null===(t=e.currentUser)||void 0===t||!t.ID)},s=e=>e.newUser.data,a=e=>e.newUser.error,u=e=>e.newUser.isFetching,c=e=>!!e.newUser.data},93661:function(e,t,n){"use strict";n.d(t,{_9:function(){return o},sS:function(){return i},Vw:function(){return s},ai:function(){return a}});var r=n(18552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=()=>({type:"RELOAD_PROXY"}),s=()=>({type:"REQUEST_ALL_BLOGS_ACCESS"}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,r.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:n}=e;const r=await window.fetch(t,n);return{ok:r.ok,body:await r.json()}},RELOAD_PROXY:()=>{(0,r.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,r.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},10819:function(e,t,n){"use strict";function r(e){let t=null;function r(){return t||(t=Promise.resolve().then(n.bind(n,56989)).then((t=>{let{default:n}=t;return n(e)}))),t}return{init:async(e,t)=>(await r()).init(e,t),request:async(e,t)=>(await r()).request(e,t),send:async e=>(await r()).send(e)}}n.d(t,{Z:function(){return r}})},56989:function(e,t,n){"use strict";n.r(t),n.d(t,{Connection:function(){return c},buildConnectionForCheckingAvailability:function(){return l}});var r=n(56666),o=n(34386),i=n.n(o),s=n(17768),a=n.n(s);const u=i()("calypso:happychat:connection");class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,r.Z)(this,"receiveAccept",void 0),(0,r.Z)(this,"receiveConnect",void 0),(0,r.Z)(this,"receiveDisconnect",void 0),(0,r.Z)(this,"receiveError",void 0),(0,r.Z)(this,"receiveInit",void 0),(0,r.Z)(this,"receiveLocalizedSupport",void 0),(0,r.Z)(this,"receiveMessage",void 0),(0,r.Z)(this,"receiveMessageOptimistic",void 0),(0,r.Z)(this,"receiveMessageUpdate",void 0),(0,r.Z)(this,"receiveReconnecting",void 0),(0,r.Z)(this,"receiveStatus",void 0),(0,r.Z)(this,"receiveToken",void 0),(0,r.Z)(this,"receiveUnauthorized",void 0),(0,r.Z)(this,"requestTranscript",void 0),(0,r.Z)(this,"closeAfterAccept",void 0),(0,r.Z)(this,"dispatch",void 0),(0,r.Z)(this,"openSocket",void 0),Object.assign(this,e),this.closeAfterAccept=t}init(e,t){return this.openSocket?(u("socket is already connected"),this.openSocket):(this.dispatch=e,this.openSocket=new Promise(((n,r)=>{t.then((t=>{let{url:o,user:{signer_user_id:i,jwt:s,locale:u,groups:c,skills:l,geoLocation:f}}=t;const p=(e=>"string"==typeof e?new(a())(e,{transports:["websocket"]}):e)(o);p.once("connect",(()=>{var t;return e(null===(t=this.receiveConnect)||void 0===t?void 0:t.call(this))})).on("token",(t=>{var n;e(null===(n=this.receiveToken)||void 0===n?void 0:n.call(this)),t({signer_user_id:i,jwt:s,locale:u,groups:c,skills:l})})).on("init",(()=>{var t,r;e(null===(t=this.receiveInit)||void 0===t?void 0:t.call(this,{signer_user_id:i,locale:u,groups:c,skills:l,geoLocation:f})),e(null===(r=this.requestTranscript)||void 0===r?void 0:r.call(this)),n(p)})).on("unauthorized",(()=>{var t;p.close(),e(null===(t=this.receiveUnauthorized)||void 0===t?void 0:t.call(this,"User is not authorized")),r("user is not authorized")})).on("disconnect",(t=>{var n;return e(null===(n=this.receiveDisconnect)||void 0===n?void 0:n.call(this,t))})).on("reconnecting",(()=>{var t;return e(null===(t=this.receiveReconnecting)||void 0===t?void 0:t.call(this))})).on("status",(t=>{var n;return e(null===(n=this.receiveStatus)||void 0===n?void 0:n.call(this,t))})).on("accept",(t=>{var n;e(null===(n=this.receiveAccept)||void 0===n?void 0:n.call(this,t)),this.closeAfterAccept&&p.close()})).on("localized-support",(t=>{var n;return e(null===(n=this.receiveLocalizedSupport)||void 0===n?void 0:n.call(this,t))})).on("message",(t=>{var n;return e(null===(n=this.receiveMessage)||void 0===n?void 0:n.call(this,t))})).on("message.optimistic",(t=>{var n;return e(null===(n=this.receiveMessageOptimistic)||void 0===n?void 0:n.call(this,t))})).on("message.update",(t=>{var n;return e(null===(n=this.receiveMessageUpdate)||void 0===n?void 0:n.call(this,t))})).on("reconnect_attempt",(()=>{p.io.opts.transports=["polling","websocket"]}))})).catch((e=>r(e)))})),this.openSocket)}send(e){if(this.openSocket)return this.openSocket.then((t=>t.emit(e.event,e.payload)),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}request(e,t){if(this.openSocket)return this.openSocket.then((n=>{const r=Promise.race([new Promise(((t,r)=>{n.emit(e.event,e.payload,((e,n)=>e?r(new Error(e)):t(n)))})),new Promise(((e,n)=>setTimeout((()=>n(new Error("timeout"))),t)))]);return r.then((t=>{var n,r;return null===(n=this.dispatch)||void 0===n?void 0:n.call(this,null===(r=e.callback)||void 0===r?void 0:r.call(e,t))}),(t=>{var n,r;"timeout"!==t.message&&(null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,e.event+" request failed: "+t.message)))})),r}),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}}const l=e=>new c(e,!0);t.default=e=>new c(e)},61082:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(20899),o=n(11481),i=n(82066),s=n(18552);async function a(){const e=await(0,s.ZP)({path:"/me",apiVersion:"1.1"}),t=(0,r.ZP)("happychat_url"),n=(0,o.Yj)(),i={signer_user_id:e.ID,locale:n,groups:["WP.com"],skills:{product:["WP.com"]}},a=await(0,s.ZP)({path:"/happychat/session",apiVersion:"1.1",method:"POST"}),{session_id:u,geo_location:c}=a;i.geoLocation=c;const l=await(0,s.ZP)({path:"/jwt/sign",apiVersion:"1.1",method:"POST",body:{payload:JSON.stringify({user:e,session_id:u})}}),{jwt:f}=l;return{url:t,user:{jwt:f,...i},fullUser:e}}function u(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(0,i.useQuery)("getHappychatAuth",a,{staleTime:1/0,enabled:e})}},89645:function(e,t,n){"use strict";var r=n(99196),o=n(56989),i=n(61082);t.Z=function(){const[e,t]=(0,r.useState)(void 0),{data:n,isLoading:s}=(0,i.Z)();return(0,r.useEffect)((()=>{if(!s&&n){(0,o.buildConnectionForCheckingAvailability)({receiveAccept:e=>{t(e)},receiveUnauthorized:()=>{t(!1)}}).init((e=>e),Promise.resolve(n))}}),[n,s]),{available:Boolean(e),isLoading:void 0===e}}},40495:function(e,t,n){"use strict";n.d(t,{x:function(){return c}});var r=n(69307),o=n(43239),i=n(5869),s=n(21100),a=n(95885),u=n(29175);n(62829);const c=e=>{let{onClick:t,backToRoot:n=!1}=e;const{__:__}=(0,a.QT)(),c=(0,u.k6)();return(0,r.createElement)(o.Z,{className:"back-button__help-center",borderless:!0,onClick:t||function(){n?c.push("/"):c.goBack()}},(0,r.createElement)(i.Z,{icon:s.Z,size:18}),__("Back","full-site-editing"))}},7577:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(69307),o=n(43239),i=n(5869),s=n(94140),a=n(95885),u=n(72779),c=n.n(u);n(50436);const l=()=>{const e=(0,r.useRef)(null),t=(0,r.useRef)(null),{__:__}=(0,a.QT)(),[n,u]=(0,r.useState)(!1),l=(0,r.useCallback)((()=>{const e=t.current;e&&(e.scrollTop>400?u(!0):u(!1))}),[t]);(0,r.useEffect)((()=>{e.current&&(t.current=e.current.parentElement)}),[e]),(0,r.useEffect)((()=>{const e=t.current;if(e)return e.addEventListener("scroll",l),()=>{e.removeEventListener("scroll",l)}}),[t,l]);return(0,r.createElement)(o.Z,{ref:e,className:c()("back-to-top-button__help-center",{"is-visible":n}),onClick:()=>{t.current&&(t.current.scrollTop=0)}},(0,r.createElement)(i.Z,{icon:s.Z,size:16}),__("Back to top","full-site-editing"))}},19762:function(e,t,n){"use strict";var r=n(69307),o=n(85774),i=n(22169),s=n(15166);n(21586);const a=e=>{let{content:t,className:n}=e;const o=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(o.current&&t.length){o.current.innerHTML=t;o.current.querySelectorAll('a[href*="http"]').forEach((e=>e.setAttribute("target","_blank")))}}),[o,t]),(0,r.createElement)("div",{ref:o,className:n})};t.Z=e=>{let{content:t,title:n,link:u,isLoading:c=!1}=e;const l={title:n,url:u};return(0,r.createElement)("article",{className:"help-center-article-content__story"},c?(0,r.createElement)(s.Z,{lines:8}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{post:l,isLoading:!1}),(0,r.createElement)(i.Z,null,(0,r.createElement)(a,{className:"help-center-article-content__story-content",content:t}))))}},19892:function(e,t,n){"use strict";var r=n(69307),o=n(99196),i=n(4792),s=n(91040),a=n(56077),u=n(9232),c=n(1230),l=n(6712),f=n(19762);n(21586);const p=(e,t)=>({blogId:e,postId:t});t.Z=e=>{let{postId:t,blogId:n,articleUrl:d}=e;const h=((e,t)=>{const n=(0,c.Z)(e,t);return n.isLoading?null:n.data?p(n.data.blog_id,n.data.page_id):p(e,t)})(+(n??s.Di),t),g=(0,i.v9)((e=>(0,l.UK)(e,h))),m=!(null!=g&&g.content&&h),y=null==g?void 0:g.site_ID,v=!g&&h;return(0,o.useEffect)((()=>{"undefined"!=typeof window&&d&&-1!==d.indexOf("#")&&null!=g&&g.content&&setTimeout((()=>{const e=d.split("#").pop();if(e){const t=document.getElementById(e);t&&t.scrollIntoView()}}),0)}),[d,g]),(0,r.createElement)(r.Fragment,null,y&&(0,r.createElement)(u.Z,{siteId:+y}),v&&(0,r.createElement)(a.Z,{postKey:h,isHelpCenter:!0}),(0,r.createElement)(f.Z,{content:null==g?void 0:g.content,title:null==g?void 0:g.title,link:null==g?void 0:g.link,isLoading:m}))}},23025:function(e,t,n){"use strict";n.d(t,{j:function(){return T},_:function(){return F}});var r=n(69307),o=n(36115),i=n(43239),s=n(37499),a=n(27136),u=n(32457),c=n(41515),l=n(34381),f=n(30849),p=n(1283),d=n(55609),h=n(9818),g=n(65736),m=n(5869),y=n(5614),v=n(99196),b=n(4792),w=n(29175),_=n(73041),E=n(20834),S=n(39226),C=n(98865),P=n(44241),k=n(40495),I=n(10083),A=n(61108);n(27427);const __=g.__,T="automattic/site",R=Array.from({length:10},((e,t)=>`https://s0.wp.com/i/fake-faces/face-${t}.jpg`)).sort((()=>Math.random()-.5)).slice(0,2),O=e=>{let{onSelect:t,currentSite:n,siteId:o,enabled:i}=e;const s=[n,{name:__("Other site","full-site-editing"),ID:0,logo:{id:"",sizes:[],url:""},URL:""}];return(0,r.createElement)(p.a,{enabled:i,onPickSite:function(e){t(e)},options:s,siteId:o})},x={CHAT:{formTitle:__("Start live chat","full-site-editing"),trayText:__("Our WordPress experts will be with you right away","full-site-editing"),buttonLabel:__("Chat with us","full-site-editing"),buttonLoadingLabel:__("Connecting to chat","full-site-editing")},EMAIL:{formTitle:__("Send us an email","full-site-editing"),trayText:__("Our WordPress experts will get back to you soon","full-site-editing"),buttonLabel:__("Email us","full-site-editing"),buttonLoadingLabel:__("Sending email","full-site-editing")},DIRECTLY:{formTitle:__("Start live chat with an expert","full-site-editing"),formSubtitle:__("These are others, like yourself, who have been selected because of their WordPress.com knowledge to help answer questions.","full-site-editing"),trayText:__("An expert user will be with you right away","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask an expert","full-site-editing"),buttonLoadingLabel:__("Connecting you to an expert","full-site-editing")},FORUM:{formTitle:__("Ask in our community forums","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask in the forums","full-site-editing"),buttonLoadingLabel:__("Posting in the forums","full-site-editing")}},F=()=>{const{search:e}=(0,w.TH)(),t=(0,b.v9)(_.Z),n=new URLSearchParams(e).get("mode"),p=(0,w.k6)(),[g,F]=(0,v.useState)(!1),[L,U]=(0,v.useState)(!1),Z=(0,f.bU)(),{isLoading:D,mutateAsync:j}=(0,u.g)(),{isLoading:N,mutateAsync:M}=(0,c.M)(),[q,B]=(0,v.useState)("CURRENT_SITE"),{selectedSite:H,subject:V,message:$,userDeclaredSiteUrl:W,directlyData:z}=(0,h.useSelect)((e=>({selectedSite:e(C.aM).getSite(),subject:e(C.aM).getSubject(),message:e(C.aM).getMessage(),userDeclaredSiteUrl:e(C.aM).getUserDeclaredSiteUrl(),directlyData:e(C.aM).getDirectly()}))),G=(0,h.useSelect)((e=>e(C.Em).getCurrentUser())),{setSite:Q,resetStore:Y,setShowHelpCenter:K,setUserDeclaredSiteUrl:J,setUserDeclaredSite:X,setSubject:ee,setMessage:te}=(0,h.useDispatch)(C.aM),{result:ne,isLoading:re,site:oe}=(0,l.g)(W);(0,v.useEffect)((()=>{const e=(0,P.yQ)(n);(0,o.jN)("calypso_inlinehelp_contact_view",{support_variation:e,location:"help-center",section:t})}),[n,t]),(0,v.useEffect)((()=>{oe&&X(oe)}),[oe,X]),(0,v.useEffect)((()=>{null!=z&&z.hasSession&&((0,S.ht)(["maximize",{}]),K(!1))}),[z,K]);const ie=D||N,se=x[n],ae=(0,b.v9)(E.Z),ue=(0,h.useSelect)((e=>e(T).getSite(ae)));let ce;ce="OTHER_SITE"===q?oe:H||ue;return(0,r.createElement)("main",{className:"help-center-contact-form"},(0,r.createElement)(k.x,null),(0,r.createElement)("h1",{className:"help-center-contact-form__site-picker-title"},se.formTitle),se.formSubtitle&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-subtitle"},se.formSubtitle),se.formDisclaimer&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-warning"},se.formDisclaimer),"DIRECTLY"!==n&&(0,r.createElement)("section",null,(0,r.createElement)(O,{enabled:"FORUM"===n,currentSite:ue,onSelect:e=>{0!==e&&Q(ue),B(0===e?"OTHER_SITE":"CURRENT_SITE")},siteId:"CURRENT_SITE"===q?null==ue?void 0:ue.ID:0})),"OTHER_SITE"===q&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)(d.TextControl,{label:__("Site address","full-site-editing"),value:W??"",onChange:J})),ne&&(0,r.createElement)(I.J,{ownershipResult:ne,isAnalysisLoading:re,userDeclaredSite:oe})),["FORUM","EMAIL"].includes(n)&&(0,r.createElement)("section",null,(0,r.createElement)(d.TextControl,{className:"help-center-contact-form__subject",label:__("Subject","full-site-editing"),value:V??"",onChange:ee})),(0,r.createElement)("section",null,(0,r.createElement)("label",{className:"help-center-contact-form__label",htmlFor:"help-center-contact-form__message"},__("How can we help you today?","full-site-editing")),(0,r.createElement)("textarea",{id:"help-center-contact-form__message",rows:10,value:$??"",onInput:e=>te(e.currentTarget.value),className:"help-center-contact-form__message"})),"FORUM"===n&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__domain-sharing"},(0,r.createElement)(d.CheckboxControl,{checked:g,label:__("Don’t display my site’s URL publicly","full-site-editing"),help:(0,r.createElement)((()=>{const[e,t]=(0,v.useState)(),[n,o]=(0,v.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{borderless:!0,ref:n=>e!==n&&t(n),"aria-haspopup":!0,"aria-label":__("More information"),onClick:()=>o(!n)},(0,r.createElement)(m.Z,{icon:y.Z,size:18})),(0,r.createElement)(s.Z,{isVisible:n,context:e,position:"top left"},(0,r.createElement)("span",null,"This may result in a longer response time,",(0,r.createElement)("br",null),"but WordPress.com staff in the forums will",(0,r.createElement)("br",null),"still be able to view your site's URL.")))}),null),onChange:e=>F(e)}))),(0,r.createElement)("section",null,(0,r.createElement)(i.Z,{disabled:(()=>{if(ie||!$)return!0;switch(n){case"CHAT":return!ce;case"EMAIL":return!ce||!V;case"FORUM":return!V}})(),onClick:function(){switch(n){case"CHAT":if(ce){var e;(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"happychat",location:"help-center",section:t}),(0,o.jN)("calypso_help_live_chat_begin",{site_plan_product_id:ce?null===(e=ce.plan)||void 0===e?void 0:e.product_id:null,is_automated_transfer:ce?ce.options.is_automated_transfer:null,location:"help-center",section:t}),p.push("/inline-chat");break}break;case"EMAIL":if(ce){var r;const e=[...["Site I need help with: "+ce.URL,"Plan: "+(null===(r=ce.plan)||void 0===r?void 0:r.product_slug)],"\n",$].join("\n");j({subject:V??"",message:e,locale:Z,client:"browser:help-center",is_chat_overflow:!1,blog_url:ce.URL}).then((()=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"kayako",location:"help-center",section:t}),p.push("/success"),Y()})).catch((()=>{U(!0)}))}break;case"FORUM":M({site:ce,message:$??"",subject:V??"",locale:Z,hideInfo:g,userDeclaredSiteUrl:W}).then((e=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"forums",location:"help-center",section:t}),p.push(`/success?forumTopic=${encodeURIComponent(e.topic_URL)}`),Y()})).catch((()=>{U(!0)}));break;case"DIRECTLY":(0,S.SW)($??"",(null==G?void 0:G.display_name)??"",(null==G?void 0:G.email)??""),(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"directly",location:"help-center",section:t}),K(!1)}},primary:!0,className:"help-center-contact-form__site-picker-cta"},ie?se.buttonLoadingLabel:se.buttonLabel),L&&(0,r.createElement)(a.Z,{isError:!0,text:__("Something went wrong, please try again later.","full-site-editing")})),["CHAT","EMAIL"].includes(n)&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__site-picker-hes-tray"},R.map((e=>(0,r.createElement)("img",{src:e,"aria-hidden":"true",alt:""}))),(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-hes-tray-text"},se.trayText))),(0,r.createElement)(A.e,{supportSite:ce,message:$}))}},98490:function(e,t,n){"use strict";n.d(t,{_:function(){return _},K:function(){return E}});var r=n(69307),o=n(36115),i=n(6010),s=n(5869),a=n(77343),u=n(95885),c=n(72779),l=n.n(c),f=(n(99196),n(4792)),p=n(47933),d=n(73041),h=n(40495),g=n(97878),m=n(82513),y=n(83822),v=n(67605),b=n(61108);const w=e=>{let{active:t,...n}=e;return t?(0,r.createElement)(p.rU,n):(0,r.createElement)("span",n)},_=()=>{const{__:__}=(0,u.QT)(),e=(0,m.X)(),t=(0,g.v)();return t.isLoading?(0,r.createElement)("div",{className:"help-center-contact-page__loading"},(0,r.createElement)(i.$,{baseClassName:""})):(0,r.createElement)("div",{className:"help-center-contact-page"},(0,r.createElement)(h.x,null),(0,r.createElement)("div",{className:"help-center-contact-page__content"},(0,r.createElement)("h3",null,__("Contact our WordPress.com experts","full-site-editing")),(0,r.createElement)("div",{className:l()("help-center-contact-page__boxes",{"is-reversed":!t.render||"AVAILABLE"!==t.state})},t.render&&(0,r.createElement)(w,{active:"AVAILABLE"===t.state,to:"/contact-form?mode=CHAT"},(0,r.createElement)("div",{className:l()("help-center-contact-page__box","chat",{"is-disabled":"AVAILABLE"!==t.state}),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(s.Z,{icon:a.Z})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Live chat","full-site-editing")),(0,r.createElement)("p",null,"AVAILABLE"!==t.state?__("Chat is unavailable right now","full-site-editing"):__("Get an immediate reply","full-site-editing"))))),e&&(0,r.createElement)(p.rU,{to:"/contact-form?mode=EMAIL"},(0,r.createElement)("div",{className:l()("help-center-contact-page__box","email"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(s.Z,{icon:(0,r.createElement)(v.Z,null)})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Email","full-site-editing")),(0,r.createElement)("p",null,__("An expert will get back to you soon","full-site-editing"))))))),(0,r.createElement)(b.e,null))},E=()=>{const{__:__}=(0,u.QT)(),e=(0,y.A)(),t=(0,f.v9)(d.Z),n="https://wordpress.com/help/contact"===e;return(0,r.createElement)(p.rU,{to:n?{pathname:e}:e,target:n?"_blank":"_self",onClick:()=>{(0,o.jN)("calypso_inlinehelp_morehelp_click",{location:"help-center",section:t})},className:"button help-center-contact-page__button"},(0,r.createElement)(s.Z,{icon:a.Z}),(0,r.createElement)("span",null,__("Still need help?","full-site-editing")))}},30250:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(6010),s=n(76951),a=n(55609),u=n(72779),c=n.n(u),l=n(99196),f=n(41327),p=n.n(f),d=n(29175),h=n(24478),g=n(407),m=n(14059),y=n(24934);const v=e=>{let{draggable:t,...n}=e;return t?(0,o.createElement)(p(),n):(0,o.createElement)(o.Fragment,null,n.children)};t.Z=e=>{let{handleClose:t,isLoading:n}=e;const[u,f]=(0,l.useState)(!1),[p,b]=(0,l.useState)(!0),w=(0,s._z)(),_=c()("help-center__container",w?"is-mobile":"is-desktop",{"is-minimized":u}),E={style:{animation:(p?"fadeIn":"fadeOut")+" .5s"},onAnimationEnd:()=>{p||t()}},S=(0,l.useRef)(null);return(0,o.createElement)(d.VA,null,(0,o.createElement)(h.O,null,(0,o.createElement)(v,{draggable:!w,nodeRef:S,handle:".help-center__container-header",bounds:"body"},(0,o.createElement)(a.Card,(0,r.Z)({className:_},E,{ref:S}),(0,o.createElement)(y.Z,{isMinimized:u,onMinimize:()=>f(!0),onMaximize:()=>f(!1),onDismiss:()=>{b(!1)}}),n?(0,o.createElement)("div",{className:"help-center-container__loading"},(0,o.createElement)(i.$,{baseClassName:"",className:"help-center-container__spinner"})):(0,o.createElement)(o.Fragment,null,(0,o.createElement)(g.Z,null),!u&&(0,o.createElement)(m.Z,null))))))}},407:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(55609),s=n(72779),a=n.n(s),u=n(4792),c=n(29175),l=n(73041),f=n(23025),p=n(98490),d=n(26212),h=n(27420),g=n(817),m=n(94509);t.Z=()=>{const e=(0,c.TH)(),t=a()("help-center__container-content"),n=(0,u.v9)(l.Z);return(0,r.useEffect)((()=>{(0,o.jN)("calypso_helpcenter_page_open",{pathname:e.pathname,search:e.search,section:n,location:"help-center"})}),[e,n]),(0,r.createElement)(i.CardBody,{className:t},(0,r.createElement)(c.AW,{exact:!0,path:"/"},(0,r.createElement)(g.Z,null)),(0,r.createElement)(c.AW,{path:"/post"},(0,r.createElement)(d.X,null)),(0,r.createElement)(c.AW,{path:"/contact-options"},(0,r.createElement)(p._,null)),(0,r.createElement)(c.AW,{path:"/contact-form"},(0,r.createElement)(f._,null)),(0,r.createElement)(c.AW,{path:"/success"},(0,r.createElement)(m.k,null)),(0,r.createElement)(c.AW,{path:"/inline-chat"},(0,r.createElement)(h.Z,null)))}},26212:function(e,t,n){"use strict";n.d(t,{X:function(){return m}});var r=n(69307),o=n(36115),i=n(43239),s=n(55609),a=n(5869),u=n(22042),c=(n(99196),n(4792)),l=n(29175),f=n(73041),p=n(40495),d=n(7577),h=n(19762),g=n(19892);const m=()=>{const{state:e,search:t}=(0,l.TH)(),n=(0,l.k6)(),m=(0,c.v9)(f.Z),y=new URLSearchParams(t),v=(null==e?void 0:e.post_id)??y.get("postId"),b=(null==e?void 0:e.blog_id)??y.get("blogId"),w=(null==e?void 0:e.link)??y.get("link"),_=(null==e?void 0:e.query)??y.get("query");(0,r.useEffect)((()=>{const e={search_query:_,location:"help-center",section:m,result_url:w};(0,o.jN)("calypso_inlinehelp_article_open",e)}),[_,w,m]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"help-center-embed-result"},(0,r.createElement)(s.Flex,{justify:"space-between"},(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(p.x,{onClick:()=>{null!=e&&e.query?n.push(`/?query=${e.query}`):n.push("/")}})),(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,href:w??"",target:"_blank",className:"help-center-embed-result__external-button"},(0,r.createElement)(a.Z,{icon:u.Z,size:20})))),null!=e&&e.content?(0,r.createElement)(h.Z,{content:e.content,title:e.title,link:e.link}):v&&(0,r.createElement)(g.Z,{postId:+v,blogId:b})),(0,r.createElement)(d.z,null))}},14059:function(e,t,n){"use strict";var r=n(69307),o=n(55609),i=n(72779),s=n.n(i),a=n(29175),u=n(98490);t.Z=()=>{const e=s()("help-center__container-footer");return(0,r.createElement)(o.CardFooter,{className:e},(0,r.createElement)(a.AW,{path:"/",exact:!0},(0,r.createElement)(u.K,null)))}},24934:function(e,t,n){"use strict";var r=n(69307),o=n(55609),i=n(5869),s=n(39739),a=n(48632),u=n(26715),c=n(63103),l=n(60199),f=n(95885),p=n(72779),d=n.n(p),h=n(99196),g=n(29175),m=n(71645);function y(){const e=(0,g.TH)(),{title:t}=e.state;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{icon:s.Z}),(0,r.createElement)("span",{className:"help-center-header__article-title"},t))}const v=()=>{const{__:__}=(0,f.QT)(),{search:e}=(0,g.TH)();switch(new URLSearchParams(e).get("mode")){case"CHAT":return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{icon:a.Z}),__("Start live chat","full-site-editing"));case"EMAIL":return(0,r.createElement)(r.Fragment,null,__("Send us an email","full-site-editing"));case"FORUM":return(0,r.createElement)(r.Fragment,null,__("Ask in our community forums","full-site-editing"));default:return(0,r.createElement)(r.Fragment,null,__("Help Center","full-site-editing"))}};t.Z=e=>{let{isMinimized:t,onMinimize:n,onMaximize:i,onDismiss:s}=e;const a=d()("help-center__container-header"),{__:__}=(0,f.QT)(),[p,b]=(0,h.useState)("closed"),[w,_]=(0,h.useState)(0),E=w>9?"9+":w;return(0,h.useEffect)((()=>{"ended"===p&&(null==s||s())}),[p,s]),(0,m.g)(b,_),(0,r.createElement)(o.CardHeader,{className:a},(0,r.createElement)(o.Flex,null,(0,r.createElement)("p",{id:"header-text",className:"help-center-header__text"},t?(0,r.createElement)(g.rs,null,(0,r.createElement)(g.AW,{path:"/",exact:!0},__("Help Center","full-site-editing")),(0,r.createElement)(g.AW,{path:"/contact-options"},__("Contact Options","full-site-editing")),(0,r.createElement)(g.AW,{path:"/contact-form",component:v}),(0,r.createElement)(g.AW,{path:"/post",component:y})):__("Help Center","full-site-editing"),t&&w?(0,r.createElement)("span",{className:"help-center-header__unread-count"},E):null),(0,r.createElement)("div",null,t?(0,r.createElement)(o.Button,{className:"help-center-header__maximize",label:__("Maximize Help Center","full-site-editing"),icon:u.Z,tooltipPosition:"top left",onClick:function(){null==i||i()}}):(0,r.createElement)(o.Button,{className:"help-center-header__minimize",label:__("Minimize Help Center","full-site-editing"),icon:c.Z,tooltipPosition:"top left",onClick:n}),(0,r.createElement)(o.Button,{className:"help-center-header__close",label:__("Close Help Center","full-site-editing"),tooltipPosition:"top left",icon:l.Z,onClick:s}))))}},27420:function(e,t,n){"use strict";var r=n(69307);n(96459);t.Z=()=>(0,r.createElement)("iframe",{className:"help-center-inline-chat__iframe",title:"Happychat",src:"https://widgets.wp.com/calypso-happychat/?env=prod"})},62795:function(e,t,n){"use strict";n.d(t,{r:function(){return C}});var r=n(69307),o=n(36115),i=n(4112),s=n(53762),a=n(47498),u=n(94819),c=n(55609),l=n(5869),f=n(81835),p=n(22042),d=n(26176),h=n(10812),g=n(86642),m=n(95885),y=n(4792),v=n(76678),b=n(83377),w=n(73041),_=n(20834),E=n(51519);const S=(0,r.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,r.createElement)(c.Circle,{cx:"12",cy:"12",r:"5"})),C=()=>{const{__:__}=(0,m.QT)(),[e,t]=(0,r.useState)(!1),n=(0,y.v9)(w.Z),{isBusinessOrEcomPlanUser:C,siteId:P,isSimpleSite:k}=(0,y.v9)((e=>{const t=(0,v.I)(e),n=t&&t.map((e=>e.productSlug)),r=(0,_.Z)(e);return{isBusinessOrEcomPlanUser:!(!n||!n.some(i.pl)&&!n.some(i.$J)),siteId:r,isSimpleSite:(0,b.Z)(e)||!1}})),{data:I,isLoading:A,setHasSeenWhatsNewModal:T}=(0,s.R)(P,k);(0,r.useEffect)((()=>{!A&&I&&t(!I.has_seen_whats_new_modal)}),[I,A]);const[R,O]=(0,r.useState)(!1),x=e=>{(0,o.jN)("calypso_help_moreresources_click",{is_business_or_ecommerce_plan_user:C,resource:e,location:"help-center",section:n})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{className:"help-center__section-title"},__("More Resources","full-site-editing")),(0,r.createElement)("ul",{className:"inline-help__more-resources","aria-labelledby":"inline-help__more-resources"},(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/support/video-tutorials/"),rel:"noreferrer",target:"_blank",className:"inline-help__video",onClick:()=>x("video")},(0,r.createElement)(l.Z,{icon:f.Z,size:24}),(0,r.createElement)("span",null,__("Video tutorials","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/webinars"),rel:"noreferrer",target:"_blank",onClick:()=>{(0,o.jN)("calypso_help_courses_click",{is_business_or_ecommerce_plan_user:C,location:"help-center",section:n}),x("webinairs")},className:"inline-help__capture-video"},(0,r.createElement)(l.Z,{icon:d.Z,size:24}),(0,r.createElement)("span",null,__("Webinars","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wpcourses.com/?ref=wpcom-help-more-resources"),rel:"noreferrer",target:"_blank",className:"inline-help__desktop",onClick:()=>x("courses")},(0,r.createElement)(l.Z,{icon:h.Z,size:24}),(0,r.createElement)("span",null,__("Courses","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://learn.wordpress.com"),rel:"noreferrer",target:"_blank",className:"inline-help__format-list-numbered",onClick:()=>x("guides")},(0,r.createElement)(l.Z,{icon:g.Z,size:24}),(0,r.createElement)("span",null,__("Step-by-step guides","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),k&&(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)(c.Button,{isLink:!0,onClick:()=>(null!=I&&I.has_seen_whats_new_modal||T(!0),O(!0),void x("whats-new")),className:"inline-help__new-releases"},(0,r.createElement)(l.Z,{icon:(0,r.createElement)(E.Z,null),size:24}),(0,r.createElement)("span",null,__("What's new","full-site-editing")),e&&(0,r.createElement)(l.Z,{className:"inline-help__new-releases_dot",icon:S,size:16}),(0,r.createElement)(l.Z,{icon:p.Z,size:20}))))),R&&(0,r.createElement)(u.Z,{onClose:()=>O(!1)}))}},10083:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(69307),o=n(47498),i=n(55609),s=n(65736);const __=s.__,a={NOT_OWNED_BY_USER:(0,r.createElement)("p",null,__("Your site is linked to another WordPress.com account. If you’re trying to access it, please follow our Account Recovery procedure.","full-site-editing")," "," ",(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/wp-login.php?action=recovery")},__("Learn More","full-site-editing"))),WPCOM:"",WPORG:(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Your site is not <hosted_on_our_services>hosted with our services</hosted_on_our_services>. Support for the self-hosted version of WordPress is provided by the <wordpress_org_community_forums>WordPress.org community forums</wordpress_org_community_forums>, or if the problem relates to a specific plugin or theme, contact support for that product instead. If you’re not sure, share your question with a link, and we’ll point you in the right direction!","full-site-editing"),{hosted_on_our_services:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/com-vs-org/")}),wordpress_org_community_forums:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.org/support/forums/")})})),UNKNOWN:(0,r.createElement)("p",null,__("We couldn't fetch enough information about this site to determine our ability to support you with it.","full-site-editing"))};function u(e){let{ownershipResult:t,isAnalysisLoading:n,userDeclaredSite:o}=e;return n||"WPCOM"===t?"WPCOM"===t?(0,r.createElement)("p",{className:"help-center-notice__positive-feedback"},null==o?void 0:o.name):null:(0,r.createElement)("div",{className:"help-center-notice__container"},(0,r.createElement)("div",null,(0,r.createElement)(i.Icon,{icon:"info-outline"})),a[t])}},90887:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(56399),s=n(34923),a=n(94514),u=n(30849),c=n(47498),l=n(25158),f=n(65736),p=n(5869),d=n(58706),h=n(39739),g=n(92819),m=n(78319),y=n.n(m),v=n(13980),b=n.n(v),w=n(99196),_=n(4792),E=n(66525),S=n(93345),C=n(50118),P=n(19298),k=n(89621),I=n(16193),A=n(56733),T=n(83377),R=n(73041),O=n(77331),x=n(15166);const __=f.__,F=()=>{};function L(e){let{message:t="",priority:n="polite",timeout:r=800}=e;return(0,g.debounce)((()=>{(0,l.speak)(t,n)}),r)}const U=L({message:"Loading search results.",timeout:1500}),Z=L({message:"Search results loaded."}),D=L({message:"No search results found."});function j(e){let{externalLinks:t=!1,onSelect:n,onAdminSectionSelect:l=F,searchQuery:f="",placeholderLines:g,openAdminInNewTab:m=!1,location:v="inline-help-popover"}=e;const b=(0,_.I0)(),{hasPurchases:L,sectionName:j,adminResults:N,isSimpleSite:M}=(0,_.v9)((e=>({hasPurchases:(0,I.Z)(e),sectionName:(0,R.Z)(e),adminResults:(0,k.Z)(e,f,3),isSimpleSite:(0,T.Z)(e)}))),q=["purchases","site-purchases"].includes(j),B=(0,A.P)("site_intent"),H=(0,w.useMemo)((()=>(0,s.r_)(j,B)),[j,B]),V=(0,u.bU)(),$=H.filter(((e,t)=>e||t?()=>!0:e=>111349!==e.post_id)(L,q)),{data:W,isLoading:z}=(0,O.e)(f,V,M),G=W??[],Q=G.length>0;(0,w.useEffect)((()=>{U.cancel(),Z.cancel(),D.cancel(),f&&(z?U():Q?Q&&Z():D())}),[z,Q,f]);const Y=(e,s)=>{const{link:u,title:g,icon:_}=e,E=t&&s!==a.QZ;return(0,o.createElement)(w.Fragment,{key:u??g},(0,o.createElement)("li",{className:"help-center-search-results__item"},(0,o.createElement)("div",{className:"help-center-search-results__cell"},(0,o.createElement)("a",(0,r.Z)({href:(0,c.aq)(u),onClick:t=>{E||t.preventDefault(),((e,t,r)=>{const{link:o}=t;if(r===a.QZ&&o)return b((0,P.jN)("calypso_inlinehelp_admin_section_visit",{link:o,search_term:f,location:v,section:j})),void(/^http/.test(o)||(e.preventDefault(),m?window.open("https://wordpress.com"+o,"_blank"):y()(o),l(e)));n(e,t)})(t,e,s)}},E&&{target:"_blank",rel:"noreferrer"}),(0,o.createElement)((()=>"admin_section"===s?(0,o.createElement)(p.Z,{icon:d.Z}):_?(0,o.createElement)(i.Z,{icon:_}):(0,o.createElement)(p.Z,{icon:h.Z})),null),(0,o.createElement)("span",null,(0,S.R)((0,C.S)(g)))))))},K=e=>{let{type:t,title:n,results:r,condition:i}=e;const s=`inline-search--${t}`;return i?(0,o.createElement)(w.Fragment,{key:s},n?(0,o.createElement)("h3",{id:s,className:"help-center-search-results__title"},n):null,(0,o.createElement)("ul",{className:"help-center-search-results__list","aria-labelledby":n?s:void 0},r.map((e=>Y(e,t))))):null},J=__(Q?"Search Results":"Helpful resources for this section","full-site-editing");return(0,o.createElement)(w.Fragment,null,(0,o.createElement)(E.Z,null),(0,o.createElement)(w.Fragment,null,z&&!G.length&&(0,o.createElement)(x.Z,{lines:g}),!f||Q||z?null:(0,o.createElement)("p",{className:"help-center-search-results__empty-results"},__("Sorry, there were no matches. Here are some of the most searched for help pages for this section:","full-site-editing")),(0,o.createElement)("div",{className:"help-center-search-results__results","aria-label":J},[{type:a.EE,title:__("Recommended resources","full-site-editing"),results:G.slice(0,5),condition:!z&&G.length>0},{type:a.D_,title:f.length?"":__("Recommended resources","full-site-editing"),results:$.slice(0,6),condition:!z&&!G.length&&$.length>0},{type:a.QZ,title:__("Show me where to","full-site-editing"),results:N,condition:!!f&&N.length>0}].map(K))))}j.propTypes={searchQuery:b().string,onSelect:b().func.isRequired,onAdminSectionSelect:b().func},t.Z=j},817:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),o=n(65736),i=n(29175),s=n(71688),a=n(93345),u=n(50118),c=n(62795),l=n(90887),f=(n(6128),n(61108));const __=o.__,p=()=>{const e=(0,i.k6)(),{search:t}=(0,i.TH)(),n=new URLSearchParams(t).get("query"),[o,p]=(0,r.useState)(n||""),d=(0,r.useCallback)(((t,n)=>{t.preventDefault();const r={...n,title:(0,a.R)((0,u.S)(n.title)),query:o};e.push(`/post/?${n.slug}`,r)}),[e,o]);return(0,r.createElement)("div",{className:"inline-help__search"},(0,r.createElement)(s.Z,{searchQuery:o,onSearch:p,location:"help-center",isVisible:!0,placeholder:__("Search for help","full-site-editing")}),o&&(0,r.createElement)(l.Z,{onSelect:d,searchQuery:o,openAdminInNewTab:!0,placeholderLines:4,location:"help-center"}),!o&&(0,r.createElement)(f.e,{message:"",supportSite:void 0}),!o&&(0,r.createElement)(c.r,null))}},61108:function(e,t,n){"use strict";n.d(t,{e:function(){return _}});var r=n(7896),o=n(69307),i=n(14803),s=n(45655),a=n(34923),u=n(30849),c=n(9818),l=n(5869),f=n(39739),p=n(95885),d=n(99196),h=n(4792),g=n(47933),m=n(17127),y=n(73041);const v="automattic/site",b=e=>{let{external:t,fullUrl:n,...i}=e;return t?(0,o.createElement)("a",(0,r.Z)({href:n,target:"_blank",rel:"noreferrer noopener"},i)):(0,o.createElement)(g.rU,i)};function w(e,t){if(e.post_id){const n=new URLSearchParams({postId:e.post_id,query:t,link:e.link??"",title:e.title});e.blog_id&&n.set("blogId",e.blog_id);return{pathname:"/post",search:n.toString()}}return e.link}function _(e){let{message:t="",supportSite:n}=e;const{__:__}=(0,p.QT)(),r=(0,u.bU)(),g=Boolean((0,c.useSelect)((e=>n&&e(v).isSiteAtomic(null==n?void 0:n.ID)))),_=Boolean((0,c.useSelect)((e=>e(v).isJetpackSite(null==n?void 0:n.ID)))),[E]=(0,m.Z)(t||"",500),{data:S}=(0,i.v)(E,_,g),{data:C}=(0,s.B)(null==n?void 0:n.ID),P=(0,h.v9)(y.Z),k=(0,d.useMemo)((()=>null!=S&&S.length?S:(0,a.r_)(P,(null==C?void 0:C.site_intent)??"")),[S,P,null==C?void 0:C.site_intent]);return(0,o.createElement)("div",{className:"help-center-sibyl-articles__container"},(0,o.createElement)("h3",{id:"help-center--contextual_help",className:"help-center__section-title"},__("Recommended resources","full-site-editing")),(0,o.createElement)("ul",{className:"help-center-sibyl-articles__list","aria-labelledby":"help-center--contextual_help"},k.map((e=>{if(!("type"in e)||!["video","tour"].includes(e.type))return(0,o.createElement)("li",{key:e.link},(0,o.createElement)(b,{to:w(e,t),external:"en"!==r,fullUrl:e.link},(0,o.createElement)(l.Z,{icon:f.Z}),e.title))}))))}},55213:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(99706),s=n(9818),a=n(4792),u=n(83377),c=n(20834),l=n(39226),f=n(83822),p=n(98865),d=n(23025),h=n(30250);n(62829);t.Z=e=>{let{handleClose:t}=e;const n=(0,r.useRef)(document.createElement("div")).current,{siteId:g,isSimpleSite:m}=(0,a.v9)((e=>({siteId:(0,c.Z)(e),isSimpleSite:(0,u.Z)(e)}))),y=(0,s.useSelect)((e=>e(d.j).getSite(g))),v=(0,s.useSelect)((e=>e(p.Em).getCurrentUser())),{setDirectlyData:b}=(0,s.useDispatch)(p.aM),{isLoading:w}=(0,i.p)("CHAT",m),{data:_,isLoading:E}=(0,i.p)("OTHER",m);(0,f.A)(),(0,r.useEffect)((()=>{null!=_&&_.is_user_eligible_for_directly&&(0,l.ht)(["onReady",e=>{let{session:t}=e;b({isLoaded:!0,hasSession:t})}])}),[_,b]);const S=!!m&&[!y,!v,E,w].some(Boolean);return(0,r.useEffect)((()=>{n.classList.add("help-center"),n.setAttribute("aria-modal","true"),n.setAttribute("aria-labelledby","header-text"),document.body.appendChild(n);const e=Date.now();return()=>{(0,o.jN)("calypso_helpcenter_activity_time",{elapsed:(Date.now()-e)/1e3}),document.body.removeChild(n),t()}}),[n]),(0,r.createPortal)((0,r.createElement)(h.Z,{handleClose:t,isLoading:S}),n)}},92421:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{newItems:t}=e;return(0,r.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t?(0,r.createElement)(r.Fragment,null,(0,r.createElement)("path",{d:"M 12.75 15.5 L 12.75 17 L 11.25 17 L 11.25 15.5 Z M 9 10.75 C 9.033 9.975 9.377 9.13 9.879 8.629 C 10.38 8.127 11.225 7.75 12 7.75 C 12.775 7.75 13.62 8.127 14.121 8.629 C 14.623 9.13 15 9.975 15 10.75 C 15 11.473 14.672 12.266 14.229 12.758 C 13.873 13.154 13.317 13.474 12.75 13.639 L 12.75 14.5 L 11.25 14.5 L 11.25 13.25 C 11.283 13.026 11.401 12.688 11.534 12.551 C 11.666 12.415 11.971 12.286 12.167 12.241 C 12.593 12.221 12.84 12.059 13.115 11.754 C 13.39 11.448 13.5 11.186 13.5 10.75 C 13.5 10.282 13.373 10.002 13.061 9.689 C 12.748 9.377 12.468 9.25 12 9.25 C 11.532 9.25 11.252 9.377 10.939 9.689 C 10.627 10.002 10.467 10.282 10.5 10.75 Z M 18.187 18.687 C 16.645 20.229 14.362 21.25 12 21.25 C 9.638 21.25 7.355 20.229 5.813 18.687 C 4.271 17.145 3.25 14.862 3.25 12.5 C 3.25 10.138 4.271 7.855 5.813 6.313 C 7.355 4.771 9.638 3.75 12 3.75 C 13.466 3.75 14.902 4.143 16.149 4.811 C 15.836 5.188 15.578 5.612 15.386 6.071 C 14.388 5.538 13.257 5.25 12 5.25 C 9.944 5.25 8.227 6.02 6.873 7.373 C 5.52 8.727 4.75 10.444 4.75 12.5 C 4.75 14.556 5.52 16.273 6.873 17.627 C 8.227 18.98 9.944 19.75 12 19.75 C 14.056 19.75 15.773 18.98 17.127 17.627 C 18.382 16.371 19.135 14.803 19.238 12.942 C 19.486 12.98 19.741 13 20 13 C 20.251 13 20.497 12.982 20.738 12.946 C 20.619 15.147 19.632 17.242 18.187 18.687 Z"}),(0,r.createElement)("circle",{cx:"20",cy:"8",r:"4",fill:"var( --color-masterbar-unread-dot-background )"})):(0,r.createElement)("path",{d:"M 12.75 15.5 L 12.75 17 L 11.25 17 L 11.25 15.5 Z M 9 10.75 C 9.033 9.975 9.377 9.13 9.879 8.629 C 10.38 8.127 11.225 7.75 12 7.75 C 12.775 7.75 13.62 8.127 14.121 8.629 C 14.623 9.13 15 9.975 15 10.75 C 15 11.473 14.672 12.266 14.229 12.758 C 13.873 13.154 13.317 13.474 12.75 13.639 L 12.75 14.5 L 11.25 14.5 L 11.25 13.25 C 11.283 13.026 11.401 12.688 11.534 12.551 C 11.666 12.415 11.971 12.286 12.167 12.241 C 12.593 12.221 12.84 12.059 13.115 11.754 C 13.39 11.448 13.5 11.186 13.5 10.75 C 13.5 10.282 13.373 10.002 13.061 9.689 C 12.748 9.377 12.468 9.25 12 9.25 C 11.532 9.25 11.252 9.377 10.939 9.689 C 10.627 10.002 10.467 10.282 10.5 10.75 Z M 20.75 12.5 C 20.75 14.862 19.729 17.145 18.187 18.687 C 16.645 20.229 14.362 21.25 12 21.25 C 9.638 21.25 7.355 20.229 5.813 18.687 C 4.271 17.145 3.25 14.862 3.25 12.5 C 3.25 10.138 4.271 7.855 5.813 6.313 C 7.355 4.771 9.638 3.75 12 3.75 C 14.362 3.75 16.645 4.771 18.187 6.313 C 19.729 7.855 20.75 10.138 20.75 12.5 Z M 17.127 7.373 C 15.773 6.02 14.056 5.25 12 5.25 C 9.944 5.25 8.227 6.02 6.873 7.373 C 5.52 8.727 4.75 10.444 4.75 12.5 C 4.75 14.556 5.52 16.273 6.873 17.627 C 8.227 18.98 9.944 19.75 12 19.75 C 14.056 19.75 15.773 18.98 17.127 17.627 C 18.48 16.273 19.25 14.556 19.25 12.5 C 19.25 10.444 18.48 8.727 17.127 7.373 Z"}))}},15166:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);n(25827);function o(e){let{lines:t=4}=e;return(0,r.createElement)("div",{className:"placeholder-lines__help-center"},Array.from({length:t},((e,t)=>(0,r.createElement)("div",{key:t,className:"placeholder-lines__help-center-item"}))))}},69309:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(69307);const o=()=>(0,r.createElement)("svg",{width:"70",height:"70",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M68.6749 34.9921C68.6749 43.7173 65.2099 52.0854 59.0417 58.2565C52.8736 64.4276 44.5072 67.8966 35.782 67.9008C29.2051 58.6978 25.5391 47.734 25.2577 36.426C24.9764 25.118 28.0925 13.9855 34.2036 4.46683L35.782 2.0835C44.5072 2.08768 52.8736 5.55667 59.0417 11.7278C65.2099 17.8989 68.6749 26.2669 68.6749 34.9921Z",fill:"#EFEFEF"}),(0,r.createElement)("path",{d:"M68.6745 34.9922C68.6745 43.9211 65.1275 52.4843 58.8139 58.798C52.5002 65.1116 43.9371 68.6586 35.0082 68.6586C26.0793 68.6586 17.5162 65.1116 11.2025 58.798C4.88884 52.4843 1.34188 43.9211 1.34188 34.9922C1.33725 32.9271 1.52752 30.866 1.91011 28.8366C3.44563 20.5851 8.00795 13.2047 14.7026 8.14248C21.3972 3.08021 29.7414 0.701285 38.0991 1.47185C46.4568 2.24242 54.2252 6.10701 59.8814 12.308C65.5376 18.509 68.6736 26.5991 68.6745 34.9922V34.9922Z",stroke:"#003A5F",strokeWidth:"1.68",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M23.334 37.9118L31.5091 45.0617L47.1664 23.675",stroke:"#003A5F",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}))},94509:function(e,t,n){"use strict";n.d(t,{k:function(){return f}});var r=n(69307),o=n(36115),i=n(95885),s=(n(99196),n(4792)),a=n(29175),u=n(73041),c=n(40495),l=n(69309);const f=()=>{const{__:__}=(0,i.QT)(),{search:e}=(0,a.TH)(),t=(0,s.v9)(u.Z),n=new URLSearchParams(e).get("forumTopic");return(0,r.createElement)("div",null,(0,r.createElement)(c.x,{backToRoot:!0}),(0,r.createElement)("div",{className:"ticket-success-screen__help-center"},(0,r.createElement)(l.t,null),(0,r.createElement)("h1",{className:"ticket-success-screen__help-center-heading"},__("We're on it!","full-site-editing")),n?(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("Your message has been submitted to our community forums.","full-site-editing")," ",(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,o.jN)("calypso_inlinehelp_forums_open",{location:"help-center",section:t}),href:n},__("View the forums topic here.","full-site-editing"))):(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("We've received your message, and you'll hear back from one of our Happiness Engineers shortly.","full-site-editing"))))}},24478:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(69307),o=n(99196);const i=o.createContext(void 0),s=function(e){let t,{children:n}=e;return t="undefined"==typeof helpCenterFeatureFlags?void 0:helpCenterFeatureFlags,(0,r.createElement)(i.Provider,{value:t},n)}},39226:function(e,t,n){"use strict";n.d(t,{ht:function(){return i},SW:function(){return c}});var r=n(20899),o=n(84898);n(23980);async function i(e){return await u(),window.DirectlyRTM(...e)}let s;let a=!1;function u(){return a||(a=!0,window.DirectlyRTM||(window.DirectlyRTM=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];window.DirectlyRTM.cq?window.DirectlyRTM.cq.push(...t):window.DirectlyRTM.cq=t}),window.DirectlyRTM(["config",{id:(0,r.ZP)("directly_rtm_widget_ids")[(0,r.ZP)("directly_rtm_widget_environment")],displayAskQuestion:!0}]),function(){if(null!==document.getElementById("directlyRTMScript"))return;const e=document.createElement("img");e.id="directlyRTMScript",e.src="https://www.directly.com",document.body.appendChild(e)}(),s=(0,o.ve)("https://widgets.wp.com/directly/embed.js")),s}async function c(e,t,n){return await i(["navigate","/ask"]),i(["askQuestion",{questionText:e,name:t,email:n}])}},71645:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var r=n(61082),o=n(9818),i=n(99196),s=n(82066),a=n(4792),u=n(20834),c=n(98865);function l(e,t){const{selectedSite:n,subject:l,message:f,userDeclaredSite:p}=(0,o.useSelect)((e=>({selectedSite:e(c.aM).getSite(),userDeclaredSite:e(c.aM).getUserDeclaredSite(),subject:e(c.aM).getSubject(),message:e(c.aM).getMessage()}))),d=(0,a.v9)(u.Z),h=(0,o.useSelect)((e=>e(c.j4).getSite(d)),[d]),g=(0,s.useQueryClient)(),m=n||p||h,{resetStore:y}=(0,o.useDispatch)(c.aM);(0,r.Z)(),(0,i.useEffect)((()=>{const n=r=>{if("https://widgets.wp.com"===r.origin){const{data:s}=r;switch(s.type){case"calypso-happy-chat-unread-messages":t(s.state);break;case"window-state-change":e(s.state),"ended"===s.state&&(window.removeEventListener("message",n),y());break;case"happy-chat-introduction-data":var o,i;null===(o=r.source)||void 0===o||o.postMessage({type:"happy-chat-introduction-data",siteId:null==m?void 0:m.ID.toString(),subject:l,message:f,planSlug:null==m||null===(i=m.plan)||void 0===i?void 0:i.product_slug,siteUrl:null==m?void 0:m.URL},{targetOrigin:r.origin});break;case"happy-chat-authentication-data":g.fetchQuery("getHappychatAuth").then((e=>{var t;null===(t=r.source)||void 0===t||t.postMessage({type:"happy-chat-authentication-data",authData:e},{targetOrigin:r.origin})}))}}};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}}),[e,t,g,m,l,f,y])}},77331:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552),a=n(97006);const u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const u=(0,i.useQueryClient)();return(0,i.useQuery)(["help",e],(()=>(0,a.DS)(n)?(0,s.ZP)({path:`help/search/wpcom?query=${e}&locale=${t}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):o()({global:!0,path:`/wpcom/v2/help-center/search?query=${e}&locale=${t}`})),{onSuccess:async t=>{if(!t[0].content){const r=await Promise.all(t.map((async e=>{const t=(0,a.DS)(n)?await(0,s.ZP)({path:`help/article/${e.blog_id}/${e.post_id}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({global:!0,path:`/wpcom/v2/help-center/fetch-post?blog_id=${e.blog_id}&post_id=${e.post_id}`});return{...e,content:t.content}})));u.setQueryData(["help",e],r)}},refetchOnWindowFocus:!1,refetchOnMount:!1,enabled:!!e,...r})}},97878:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(99706),o=n(89645);function i(){const{data:e}=(0,r.p)("CHAT"),{available:t,isLoading:n}=(0,o.Z)();return null!=e&&e.is_user_eligible?null!=e&&e.is_chat_closed?{render:!0,state:"CLOSED",isLoading:n}:t?{render:!0,state:"AVAILABLE",isLoading:n}:{render:!0,state:"UNAVAILABLE",isLoading:n}:{render:!1,isLoading:n}}},82513:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(99706);function o(){const{data:e}=(0,r.p)("OTHER");return!!(null!=e&&e.is_user_eligible_for_tickets||null!=e&&e.is_user_eligible_for_upwork)}},83822:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(63830),o=n(99706),i=n(4792),s=n(83377),a=n(97006);function u(){const{hasCookies:e}=(0,r.O)(),t=(0,i.v9)((e=>(0,s.Z)(e))),n=Boolean((0,a.DS)(t)),{data:u}=(0,o.p)("OTHER",n),c=!(null!=u&&u.is_user_eligible_for_tickets);return n?c?null!=u&&u.is_user_eligible_for_directly&&e?"/contact-form?mode=DIRECTLY":"/contact-form?mode=FORUM":"/contact-options":"https://wordpress.com/help/contact"}},67605:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#fff",strokeWidth:"1.5",fill:"transparent"}),(0,r.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#fff",fill:"transparent",strokeWidth:"1.5"}))},51519:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24",width:"24"},(0,r.createElement)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)("path",{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-4.51 2.11l.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12l-1.85 2.11zM11 15h2v2h-2zm0-8h2v6h-2z"}))},98865:function(e,t,n){"use strict";n.d(t,{aM:function(){return s},Em:function(){return a},j4:function(){return u}});var r=n(17624),o=n(88330),i=n(52369);const s=r.z(),a=o.z({client_id:"",client_secret:""}),u=i.z2({client_id:"",client_secret:""})},44241:function(e,t,n){"use strict";n.d(t,{yQ:function(){return r}});const r=e=>{switch(e){case"CHAT":return"SUPPORT_HAPPYCHAT";case"EMAIL":return"SUPPORT_TICKET";case"FORUM":return"SUPPORT_FORUM";case"DIRECTLY":return"SUPPORT_DIRECTLY";case"UPWORK":return"SUPPORT_UPWORK_TICKET"}}},97006:function(e,t,n){"use strict";n.d(t,{DS:function(){return o}});const r=["https://wordpress.com","https://cloud.jetpack.com","http://wpcalypso.wordpress.com","http://widgets.wp.com","https://widgets.wp.com","https://dev-mc.a8c.com","https://mc.a8c.com","https://dserve.a8c.com","http://calypso.localhost:3000","https://calypso.localhost:3000","http://jetpack.cloud.localhost:3000","https://jetpack.cloud.localhost:3000","http://calypso.localhost:3001","https://calypso.localhost:3001","https://calypso.live","http://127.0.0.1:41050","http://send.linguine.localhost:3000"];function o(e){return e||(t=window.location.origin,r.includes(t)||t.match(/^https:\/\/[a-z0-9-]+\.calypso\.live$/)||t.match(/^https:\/\/([a-z0-9-]+\.)+wordpress\.com$/));var t}},8057:function(e,t,n){"use strict";var r=n(99196),o=n(94724);t.Z=(0,r.createContext)(o.Z)},94724:function(e,t,n){"use strict";var r=n(50914);t.Z=new r.Z},50914:function(e,t,n){"use strict";var r=n(22699),o=n(32594),i=n(96668),s=n(38049),a=n.n(s),u=n(35079),c=n.n(u),l=n(7839),f=n.n(l),p=n(49830),d=n(10003);const h=a()("i18n-calypso"),g="number_format_decimals",m="number_format_thousands_sep",y="messages",v=[function(e){return e}],b={};function w(){P.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 E(e){const 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));let n={};for(let 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 C(e,t){for(let n=v.length-1;n>=0;n--){const r=v[n](Object.assign({},t)),o=r.context?r.context+""+r.original:r.original;if(e.state.locale[o])return S(e.state.tannin,r)}return null}function P(){if(!(this instanceof P))return new P;this.defaultLocaleSlug="en",this.defaultPluralForms=e=>1===e?0:1,this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:f()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new r.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}P.throwErrors=!1,P.prototype.on=function(){this.stateObserver.on(...arguments)},P.prototype.off=function(){this.stateObserver.off(...arguments)},P.prototype.emit=function(){this.stateObserver.emit(...arguments)},P.prototype.numberFormat=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,d.Z)(e,n,r,o)},P.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},P.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){const t=e[""]["key-hash"],n=function(e,t){const n=!1===t?"":String(t);if(void 0!==b[n+e])return b[n+e];const r=c()().update(e).digest("hex");return b[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)v.push(r(!1));else{const e=t.substr(5).indexOf("-");if(e<0){const e=Number(t.substr(5));v.push(r(e))}else{const n=Number(t.substr(5,e)),o=Number(t.substr(6+e));for(let e=n;e<=o;e++)v.push(r(e))}}}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.localeVariant=this.state.locale[""].localeVariant,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 p.Z({[y]:this.state.locale}),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,E([g])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,E([m])),this.state.numberFormatSettings.decimal_point===g&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===m&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},P.prototype.getLocale=function(){return this.state.locale},P.prototype.getLocaleSlug=function(){return this.state.localeSlug},P.prototype.getLocaleVariant=function(){return this.state.localeVariant},P.prototype.isRtl=function(){return"rtl"===this.state.textDirection},P.prototype.addTranslations=function(e){for(const t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},P.prototype.hasTranslation=function(){return!!C(this,E(arguments))},P.prototype.translate=function(){const e=E(arguments);let t=C(this,e);if(t||(t=S(this.state.tannin,e)),e.args){const r=Array.isArray(e.args)?e.args.slice(0):[e.args];r.unshift(t);try{t=(0,i.Z)(...r)}catch(n){if(!window||!window.console)return;const e=this.throwErrors?"error":"warn";"string"!=typeof n?window.console[e](n):window.console[e]("i18n sprintf error:",r)}}return e.components&&(t=(0,o.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},P.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},P.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},P.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=P},11481:function(e,t,n){"use strict";n.d(t,{Iu:function(){return o},Yj:function(){return i}});var r=n(94724);t.ZP=r.Z;r.Z.numberFormat.bind(r.Z);const o=r.Z.translate.bind(r.Z),i=(r.Z.configure.bind(r.Z),r.Z.setLocale.bind(r.Z),r.Z.getLocale.bind(r.Z),r.Z.getLocaleSlug.bind(r.Z));r.Z.getLocaleVariant.bind(r.Z),r.Z.isRtl.bind(r.Z),r.Z.addTranslations.bind(r.Z),r.Z.reRenderTranslations.bind(r.Z),r.Z.registerComponentUpdateHook.bind(r.Z),r.Z.registerTranslateHook.bind(r.Z),r.Z.state,r.Z.stateObserver,r.Z.on.bind(r.Z),r.Z.off.bind(r.Z),r.Z.emit.bind(r.Z)},10003:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,s=void 0===r?",":r,a=void 0===n?".":n;let u="";return u=(i?
|
44 |
/*
|
45 |
* Exposes number format capability
|
46 |
*
|
40 |
*
|
41 |
* This source code is licensed under the MIT license found in the
|
42 |
* LICENSE file in the root directory of this source tree.
|
43 |
+
*/function _(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 s:case d:return e;default:switch(e=e&&e.$$typeof){case c:case p:case m:case g:case u:return e;default:return t}}case o:return t}}}function E(e){return _(e)===f}},14971:function(e,t,n){"use strict";n(86141)},29175:function(e,t,n){"use strict";n.d(t,{VA:function(){return v},AW:function(){return E},F0:function(){return y},rs:function(){return A},s6:function(){return m},LX:function(){return _},k6:function(){return R},TH:function(){return O}});var r=n(81665),o=n(99196),i=n.n(o),s=n(95878),a=n(81549),u=n(61898),c=n(7896),l=n(20099),f=n.n(l),p=(n(14971),n(31461)),d=(n(73463),function(e){var t=(0,a.Z)();return t.displayName=e,t}),h=d("Router-History"),g=function(e){var t=(0,a.Z)();return t.displayName=e,t},m=g("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 i().createElement(m.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},i().createElement(h.Provider,{children:this.props.children||null,value:this.props.history}))},t}(i().Component);var v=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,s.PP)(t.props),t}return(0,r.Z)(t,e),t.prototype.render=function(){return i().createElement(y,{history:this.history,children:this.props.children})},t}(i().Component);i().Component;var b={},w=0;function _(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,s=n.strict,a=void 0!==s&&s,u=n.sensitive,c=void 0!==u&&u;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=b[n]||(b[n]={});if(r[e])return r[e];var o=[],i={regexp:f()(e,o,t),keys:o};return w<1e4&&(r[e]=i,w++),i}(n,{end:i,strict:a,sensitive:c}),o=r.regexp,s=r.keys,u=o.exec(e);if(!u)return null;var l=u[0],p=u.slice(1),d=e===l;return i&&!d?null:{path:n,url:"/"===n&&""===l?"/":l,isExact:d,params:s.reduce((function(e,t,n){return e[t.name]=p[n],e}),{})}}),null)}var E=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?_(n.pathname,e.props):t.match,o=(0,c.Z)({},t,{location:n,match:r}),s=e.props,a=s.children,l=s.component,f=s.render;return Array.isArray(a)&&0===a.length&&(a=null),i().createElement(m.Provider,{value:o},o.match?a?"function"==typeof a?a(o):a:l?i().createElement(l,o):f?f(o):null:"function"==typeof a?a(o):null)}))},t}(i().Component);function S(e){return"/"===e.charAt(0)?e:"/"+e}function C(e,t){if(!e)return t;var n=S(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function P(e){return"string"==typeof e?e:(0,s.Ep)(e)}function k(e){return function(){(0,u.Z)(!1)}}function I(){}i().Component;var A=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return i().createElement(m.Consumer,null,(function(t){t||(0,u.Z)(!1);var n,r,o=e.props.location||t.location;return i().Children.forEach(e.props.children,(function(e){if(null==r&&i().isValidElement(e)){n=e;var s=e.props.path||e.props.from;r=s?_(o.pathname,(0,c.Z)({},e.props,{path:s})):t.match}})),r?i().cloneElement(n,{location:o,computedMatch:r}):null}))},t}(i().Component);var T=i().useContext;function R(){return T(h)}function O(){return T(m).location}},43292: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},18717:function(e,t,n){"use strict";n.d(t,{md:function(){return p},UY:function(){return l},qC:function(){return f},MT:function(){return c}});var r=n(33028);function o(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 i="function"==typeof Symbol&&Symbol.observable||"@@observable",s=function(){return Math.random().toString(36).substring(7).split("").join(".")},a={INIT:"@@redux/INIT"+s(),REPLACE:"@@redux/REPLACE"+s(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+s()}};function u(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 c(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(o(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(o(1));return n(c)(e,t)}if("function"!=typeof e)throw new Error(o(2));var s=e,l=t,f=[],p=f,d=!1;function h(){p===f&&(p=f.slice())}function g(){if(d)throw new Error(o(3));return l}function m(e){if("function"!=typeof e)throw new Error(o(4));if(d)throw new Error(o(5));var t=!0;return h(),p.push(e),function(){if(t){if(d)throw new Error(o(6));t=!1,h();var n=p.indexOf(e);p.splice(n,1),f=null}}}function y(e){if(!u(e))throw new Error(o(7));if(void 0===e.type)throw new Error(o(8));if(d)throw new Error(o(9));try{d=!0,l=s(l,e)}finally{d=!1}for(var t=f=p,n=0;n<t.length;n++){(0,t[n])()}return e}function v(e){if("function"!=typeof e)throw new Error(o(10));s=e,y({type:a.REPLACE})}function b(){var e,t=m;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(o(11));function n(){e.next&&e.next(g())}return n(),{unsubscribe:t(n)}}})[i]=function(){return this},e}return y({type:a.INIT}),(r={dispatch:y,subscribe:m,getState:g,replaceReducer:v})[i]=b,r}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 s,u=Object.keys(n);try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:a.INIT}))throw new Error(o(12));if(void 0===n(void 0,{type:a.PROBE_UNKNOWN_ACTION()}))throw new Error(o(13))}))}(n)}catch(c){s=c}return function(e,t){if(void 0===e&&(e={}),s)throw s;for(var r=!1,i={},a=0;a<u.length;a++){var c=u[a],l=n[c],f=e[c],p=l(f,t);if(void 0===p){t&&t.type;throw new Error(o(14))}i[c]=p,r=r||p!==f}return(r=r||u.length!==Object.keys(e).length)?i: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 p(){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),i=function(){throw new Error(o(15))},s={getState:n.getState,dispatch:function(){return i.apply(void 0,arguments)}},a=t.map((function(e){return e(s)}));return i=f.apply(void 0,a)(n.dispatch),(0,r.Z)((0,r.Z)({},n),{},{dispatch:i})}}}},57245: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}},57613:function(e,t){"use strict";function n(e){return"/"===e.charAt(0)}function r(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}t.Z=function(e,t){void 0===t&&(t="");var o,i=e&&e.split("/")||[],s=t&&t.split("/")||[],a=e&&n(e),u=t&&n(t),c=a||u;if(e&&n(e)?s=i:i.length&&(s.pop(),s=s.concat(i)),!s.length)return"/";if(s.length){var l=s[s.length-1];o="."===l||".."===l||""===l}else o=!1;for(var f=0,p=s.length;p>=0;p--){var d=s[p];"."===d?r(s,p):".."===d?(r(s,p),f++):f&&(r(s,p),f--)}if(!c)for(;f--;f)s.unshift("..");!c||""===s[0]||s[0]&&n(s[0])||s.unshift("");var h=s.join("/");return o&&"/"!==h.substr(-1)&&(h+="/"),h}},10547:function(e){"use strict";var t=256,n=[],r=window,o=Math.pow(t,6),i=Math.pow(2,52),s=2*i,a=255,u=Math.random;function c(e){var n,r=e.length,o=this,i=0,s=o.i=o.j=0,u=o.S=[];for(r||(e=[r++]);i<t;)u[i]=i++;for(i=0;i<t;i++)u[i]=u[s=a&s+e[i%r]+(n=u[i])],u[s]=n;(o.g=function(e){for(var n,r=0,i=o.i,s=o.j,u=o.S;e--;)n=u[i=a&i+1],r=r*t+u[a&(u[i]=u[s=a&s+n])+(u[s]=n)];return o.i=i,o.j=s,r})(t)}function l(e,t){var n,r=[],o=(typeof e)[0];if(t&&"o"==o)for(n in e)try{r.push(l(e[n],t-1))}catch(i){}return r.length?r:"s"==o?e:e+"\0"}function f(e,t){for(var n,r=e+"",o=0;o<r.length;)t[a&o]=a&(n^=19*t[a&o])+r.charCodeAt(o++);return d(t)}function p(e){try{return r.crypto.getRandomValues(e=new Uint8Array(t)),d(e)}catch(o){return[+new Date,r,r.navigator&&r.navigator.plugins,r.screen,d(n)]}}function d(e){return String.fromCharCode.apply(0,e)}e.exports=function(r,a){if(a&&!0===a.global)return a.global=!1,Math.random=e.exports(r,a),a.global=!0,Math.random;var u=a&&a.entropy||!1,h=[],g=(f(l(u?[r,d(n)]:0 in arguments?r:p(),3),h),new c(h));return f(d(g.S),n),function(){for(var e=g.g(6),n=o,r=0;e<i;)e=(e+r)*t,n*=t,r=g.g(1);for(;e>=s;)e/=2,n/=2,r>>>=1;return(e+r)/n}},e.exports.resetGlobal=function(){Math.random=u},f(Math.random(),n)},74294:function(e,t,n){"use strict";var r=n(67286),o=n(62680),i=n(99500),s=r("%TypeError%"),a=r("%WeakMap%",!0),u=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),l=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),d=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),g=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+i(e))},get:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(u){if(t)return p(t,r)}else if(n)return function(e,t){var n=g(e,t);return n&&n.value}(n,r)},has:function(r){if(a&&r&&("object"==typeof r||"function"==typeof r)){if(e)return f(e,r)}else if(u){if(t)return h(t,r)}else if(n)return function(e,t){return!!g(e,t)}(n,r);return!1},set:function(r,o){a&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new a),l(e,r,o)):u?(t||(t=new u),d(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=g(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},17768:function(e,t,n){var r=n(58749),o=n(87170),i=n(39431),s=n(31035)("socket.io-client");e.exports=t=u;var a=t.managers={};function u(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),u=o.source,c=o.id,l=o.path,f=a[c]&&l in a[c].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||f?(s("ignoring socket cache for %s",u),n=i(u,t)):(a[c]||(s("new io instance for %s",u),a[c]=i(u,t)),n=a[c]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=u,t.Manager=n(39431),t.Socket=n(72243)},39431:function(e,t,n){var r=n(44065),o=n(72243),i=n(8023),s=n(87170),a=n(93073),u=n(42150),c=n(31035)("socket.io-client:manager"),l=n(92543),f=n(87911),p=Object.prototype.hasOwnProperty;function d(e,t){if(!(this instanceof d))return new d(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new f({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||s;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=d,d.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)p.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},d.prototype.updateSocketIds=function(){for(var e in this.nsps)p.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},d.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},i(d.prototype),d.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},d.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},d.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},d.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},d.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},d.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},d.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},d.prototype.open=d.prototype.connect=function(e,t){if(c("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;c("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=a(n,"open",(function(){o.onopen(),e&&e()})),s=a(n,"error",(function(t){if(c("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var u=this._timeout;c("connect attempt will timeout after %d",u);var l=setTimeout((function(){c("connect attempt timed out after %d",u),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",u)}),u);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(i),this.subs.push(s),this},d.prototype.onopen=function(){c("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",u(this,"ondata"))),this.subs.push(a(e,"ping",u(this,"onping"))),this.subs.push(a(e,"pong",u(this,"onpong"))),this.subs.push(a(e,"error",u(this,"onerror"))),this.subs.push(a(e,"close",u(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",u(this,"ondecoded")))},d.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},d.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},d.prototype.ondata=function(e){this.decoder.add(e)},d.prototype.ondecoded=function(e){this.emit("packet",e)},d.prototype.onerror=function(e){c("error",e),this.emitAll("error",e)},d.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(e)})),this.autoConnect&&i()}function i(){~l(r.connecting,n)||r.connecting.push(n)}return n},d.prototype.destroy=function(e){var t=l(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},d.prototype.packet=function(e){c("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},d.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},d.prototype.cleanup=function(){c("cleanup");for(var e=this.subs.length,t=0;t<e;t++){this.subs.shift().destroy()}this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},d.prototype.close=d.prototype.disconnect=function(){c("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},d.prototype.onclose=function(e){c("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},d.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)c("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();c("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(c("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(c("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(c("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},d.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},93073:function(e){e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},72243:function(e,t,n){var r=n(87170),o=n(8023),i=n(81396),s=n(93073),a=n(42150),u=n(31035)("socket.io-client:socket"),c=n(54355),l=n(54632);e.exports=d;var f={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},p=o.prototype.emit;function d(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(d.prototype),d.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[s(e,"open",a(this,"onopen")),s(e,"packet",a(this,"onpacket")),s(e,"close",a(this,"onclose"))]}},d.prototype.open=d.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},d.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},d.prototype.emit=function(e){if(f.hasOwnProperty(e))return p.apply(this,arguments),this;var t=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:l(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(u("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},d.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},d.prototype.onopen=function(){if(u("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?c.encode(this.query):this.query;u("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},d.prototype.onclose=function(e){u("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},d.prototype.onpacket=function(e){var t=e.nsp===this.nsp,n=e.type===r.ERROR&&"/"===e.nsp;if(t||n)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},d.prototype.onevent=function(e){var t=e.data||[];u("emitting event %j",t),null!=e.id&&(u("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?p.apply(this,t):this.receiveBuffer.push(t)},d.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);u("sending ack %j",o),t.packet({type:l(o)?r.BINARY_ACK:r.ACK,id:e,data:o})}}},d.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(u("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):u("bad ack %s",e.id)},d.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},d.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)p.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},d.prototype.ondisconnect=function(){u("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},d.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},d.prototype.close=d.prototype.disconnect=function(){return this.connected&&(u("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},d.prototype.compress=function(e){return this.flags.compress=e,this},d.prototype.binary=function(e){return this.flags.binary=e,this}},58749:function(e,t,n){var r=n(14243),o=n(31035)("socket.io-client:url");e.exports=function(e,t){var n=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host);"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),n=r(e));n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443"));n.path=n.path||"/";var i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port,n.href=n.protocol+"://"+i+(t&&t.port===n.port?"":":"+n.port),n}},8023:function(e){function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},54146:function(e,t,n){var r=n(81708),o=n(24787),i=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);function u(e,t){if(!e)return e;if(o(e)){var n={_placeholder:!0,num:t.length};return t.push(e),n}if(r(e)){for(var i=new Array(e.length),s=0;s<e.length;s++)i[s]=u(e[s],t);return i}if("object"==typeof e&&!(e instanceof Date)){i={};for(var a in e)i[a]=u(e[a],t);return i}return e}function c(e,t){if(!e)return e;if(e&&e._placeholder)return t[e.num];if(r(e))for(var n=0;n<e.length;n++)e[n]=c(e[n],t);else if("object"==typeof e)for(var o in e)e[o]=c(e[o],t);return e}t.deconstructPacket=function(e){var t=[],n=e.data,r=e;return r.data=u(n,t),r.attachments=t.length,{packet:r,buffers:t}},t.reconstructPacket=function(e,t){return e.data=c(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,i=e;!function e(u,c,l){if(!u)return u;if(s&&u instanceof Blob||a&&u instanceof File){n++;var f=new FileReader;f.onload=function(){l?l[c]=this.result:i=this.result,--n||t(i)},f.readAsArrayBuffer(u)}else if(r(u))for(var p=0;p<u.length;p++)e(u[p],p,u);else if("object"==typeof u&&!o(u))for(var d in u)e(u[d],d,u)}(i),n||t(i)}},87170:function(e,t,n){var r=n(40744)("socket.io-parser"),o=n(2679),i=n(54146),s=n(81708),a=n(24787);function u(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=u,t.Decoder=f;var c=t.ERROR+'"encode error"';function l(e){var n=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(n+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(n+=e.nsp+","),null!=e.id&&(n+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===o)return c;n+=o}return r("encoded %j as %s",e,n),n}function f(){this.reconstructor=null}function p(e){this.reconPack=e,this.buffers=[]}function d(e){return{type:t.ERROR,data:"parser error: "+e}}u.prototype.encode=function(e,n){(r("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type)?function(e,t){function n(e){var n=i.deconstructPacket(e),r=l(n.packet),o=n.buffers;o.unshift(r),t(o)}i.removeBlobs(e,n)}(e,n):n([l(e)])},o(f.prototype),f.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,o={type:Number(e.charAt(0))};if(null==t.types[o.type])return d("unknown packet type "+o.type);if(t.BINARY_EVENT===o.type||t.BINARY_ACK===o.type){for(var i="";"-"!==e.charAt(++n)&&(i+=e.charAt(n),n!=e.length););if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(i)}if("/"===e.charAt(n+1))for(o.nsp="";++n;){if(","===(u=e.charAt(n)))break;if(o.nsp+=u,n===e.length)break}else o.nsp="/";var a=e.charAt(n+1);if(""!==a&&Number(a)==a){for(o.id="";++n;){var u;if(null==(u=e.charAt(n))||Number(u)!=u){--n;break}if(o.id+=e.charAt(n),n===e.length)break}o.id=Number(o.id)}if(e.charAt(++n)){var c=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(n));if(!(!1!==c&&(o.type===t.ERROR||s(c))))return d("invalid payload");o.data=c}return r("decoded %s as %j",e,o),o}(e),t.BINARY_EVENT===n.type||t.BINARY_ACK===n.type?(this.reconstructor=new p(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!a(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},f.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},p.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},p.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},24787:function(e){e.exports=function(e){return t&&Buffer.isBuffer(e)||n&&(e instanceof ArrayBuffer||function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))};var t="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,n="function"==typeof ArrayBuffer},2679:function(e){function t(e){if(e)return function(e){for(var n in t.prototype)e[n]=t.prototype[n];return e}(e)}e.exports=t,t.prototype.on=t.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},t.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},t.prototype.off=t.prototype.removeListener=t.prototype.removeAllListeners=t.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},t.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},t.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},t.prototype.hasListeners=function(e){return!!this.listeners(e).length}},81708:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},73160:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;function s(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,a){a=a||{};var u,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|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"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"===c&&!1===isNaN(e))return a.long?s(u=e,o,"day")||s(u,r,"hour")||s(u,n,"minute")||s(u,t,"second")||u+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=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))}},23729:function(e,t,n){var r=n(98595),o=n(88120),i=[n(30225)];e.exports=r.createStore(o,i)},30225:function(e,t,n){e.exports=function(){return n(35414),{}}},35414:function(){"object"!=typeof JSON&&(JSON={}),function(){"use strict";var rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta,rep;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_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 n,r,o,i,s,a=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,s=[],"[object Array]"===Object.prototype.toString.apply(u)){for(i=u.length,n=0;n<i;n+=1)s[n]=str(n,u)||"null";return o=0===s.length?"[]":gap?"[\n"+gap+s.join(",\n"+gap)+"\n"+a+"]":"["+s.join(",")+"]",gap=a,o}if(rep&&"object"==typeof rep)for(i=rep.length,n=0;n<i;n+=1)"string"==typeof rep[n]&&(o=str(r=rep[n],u))&&s.push(quote(r)+(gap?": ":":")+o);else for(r in u)Object.prototype.hasOwnProperty.call(u,r)&&(o=str(r,u))&&s.push(quote(r)+(gap?": ":":")+o);return o=0===s.length?"{}":gap?"{\n"+gap+s.join(",\n"+gap)+"\n"+a+"}":"{"+s.join(",")+"}",gap=a,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;r<n;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);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 n,r,o=e[t];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(void 0!==(r=walk(o,n))?o[n]=r:delete o[n]);return reviver.call(e,t,o)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}()},98595:function(e,t,n){var r=n(49511),o=r.slice,i=r.pluck,s=r.each,a=r.bind,u=r.create,c=r.isList,l=r.isFunction,f=r.isObject;e.exports={createStore:d};var p={version:"2.0.12",enabled:!1,get:function(e,t){var n=this.storage.read(this._namespacePrefix+e);return this._deserialize(n,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each((function(n,r){e.call(t,t._deserialize(n),(r||"").replace(t._namespaceRegexp,""))}))},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return d.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return d(this.storage,this.plugins,e)}};function d(e,t,n){n||(n=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var r=n?"__storejs_"+n+"_":"",d=n?new RegExp("^"+r):null;if(!/^[a-zA-Z0-9_\-]*$/.test(n))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var h={_namespacePrefix:r,_namespaceRegexp:d,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var n=e.read(t)===t;return e.remove(t),n}catch(r){return!1}},_assignPluginFnProp:function(e,t){var n=this[t];this[t]=function(){var t=o(arguments,0),r=this;function i(){if(n)return s(arguments,(function(e,n){t[n]=e})),n.apply(r,t)}var a=[i].concat(t);return e.apply(r,a)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var n="";try{n=JSON.parse(e)}catch(r){n=e}return void 0!==n?n:t},_addStorage:function(e){this.enabled||this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))s(e,(function(e){t._addPlugin(e)}));else if(!i(this.plugins,(function(t){return e===t}))){if(this.plugins.push(e),!l(e))throw new Error("Plugins must be function values that return objects");var n=e.call(this);if(!f(n))throw new Error("Plugins must return an object of function properties");s(n,(function(n,r){if(!l(n))throw new Error("Bad plugin property: "+r+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(n,r)}))}},addStorage:function(e){!function(){var e="undefined"==typeof console?null:console;if(e){(e.warn?e.warn:e.log).apply(e,arguments)}}("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},g=u(h,p,{plugins:[]});return g.raw={},s(g,(function(e,t){l(e)&&(g.raw[t]=a(g,e))})),s(e,(function(e){g._addStorage(e)})),s(t,(function(e){g._addPlugin(e)})),g}},49511:function(e){var t=Object.assign?Object.assign:function(e,t,n,r){for(var o=1;o<arguments.length;o++)s(Object(arguments[o]),(function(t,n){e[n]=t}));return e},n=function(){if(Object.create)return function(e,n,r,o){var s=i(arguments,1);return t.apply(this,[Object.create(e)].concat(s))};{function e(){}return function(n,r,o,s){var a=i(arguments,1);return e.prototype=n,t.apply(this,[new e].concat(a))}}}(),r=String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},o=window;function i(e,t){return Array.prototype.slice.call(e,t||0)}function s(e,t){a(e,(function(e,n){return t(e,n),!1}))}function a(e,t){if(u(e)){for(var n=0;n<e.length;n++)if(t(e[n],n))return e[n]}else for(var r in e)if(e.hasOwnProperty(r)&&t(e[r],r))return e[r]}function u(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}e.exports={assign:t,create:n,trim:r,bind:function(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}},slice:i,each:s,map:function(e,t){var n=u(e)?[]:{};return a(e,(function(e,r){return n[r]=t(e,r),!1})),n},pluck:a,isList:u,isFunction:function(e){return e&&"[object Function]"==={}.toString.call(e)},isObject:function(e){return e&&"[object Object]"==={}.toString.call(e)},Global:o}},88120:function(e,t,n){e.exports=[n(19367),n(50026),n(70240),n(65362),n(90109),n(71884)]},65362:function(e,t,n){var r=n(49511),o=r.Global,i=r.trim;e.exports={name:"cookieStorage",read:function(e){if(!e||!c(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(s.cookie.replace(new RegExp(t),"$1"))},write:function(e,t){if(!e)return;s.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/"},each:a,remove:u,clearAll:function(){a((function(e,t){u(t)}))}};var s=o.document;function a(e){for(var t=s.cookie.split(/; ?/g),n=t.length-1;n>=0;n--)if(i(t[n])){var r=t[n].split("="),o=unescape(r[0]);e(unescape(r[1]),o)}}function u(e){e&&c(e)&&(s.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function c(e){return new RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(s.cookie)}},19367:function(e,t,n){var r=n(49511).Global;function o(){return r.localStorage}function i(e){return o().getItem(e)}e.exports={name:"localStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},71884:function(e){e.exports={name:"memoryStorage",read:function(e){return t[e]},write:function(e,n){t[e]=n},each:function(e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},remove:function(e){delete t[e]},clearAll:function(e){t={}}};var t={}},50026:function(e,t,n){var r=n(49511).Global;e.exports={name:"oldFF-globalStorage",read:function(e){return o[e]},write:function(e,t){o[e]=t},each:i,remove:function(e){return o.removeItem(e)},clearAll:function(){i((function(e,t){delete o[e]}))}};var o=r.globalStorage;function i(e){for(var t=o.length-1;t>=0;t--){var n=o.key(t);e(o[n],n)}}},70240:function(e,t,n){var r=n(49511).Global;e.exports={name:"oldIE-userDataStorage",write:function(e,t){if(a)return;var n=c(e);s((function(e){e.setAttribute(n,t),e.save(o)}))},read:function(e){if(a)return;var t=c(e),n=null;return s((function(e){n=e.getAttribute(t)})),n},each:function(e){s((function(t){for(var n=t.XMLDocument.documentElement.attributes,r=n.length-1;r>=0;r--){var o=n[r];e(t.getAttribute(o.name),o.name)}}))},remove:function(e){var t=c(e);s((function(e){e.removeAttribute(t),e.save(o)}))},clearAll:function(){s((function(e){var t=e.XMLDocument.documentElement.attributes;e.load(o);for(var n=t.length-1;n>=0;n--)e.removeAttribute(t[n].name);e.save(o)}))}};var o="storejs",i=r.document,s=function(){if(!i||!i.documentElement||!i.documentElement.addBehavior)return null;var e,t,n;try{(t=new ActiveXObject("htmlfile")).open(),t.write('<script>document.w=window<\/script><iframe src="/favicon.ico"></iframe>'),t.close(),e=t.w.frames[0].document,n=e.createElement("div")}catch(r){n=i.createElement("div"),e=i.body}return function(t){var r=[].slice.call(arguments,0);r.unshift(n),e.appendChild(n),n.addBehavior("#default#userData"),n.load(o),t.apply(this,r),e.removeChild(n)}}(),a=(r.navigator?r.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);var u=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function c(e){return e.replace(/^\d/,"___$&").replace(u,"___")}},90109:function(e,t,n){var r=n(49511).Global;function o(){return r.sessionStorage}function i(e){return o().getItem(e)}e.exports={name:"sessionStorage",read:i,write:function(e,t){return o().setItem(e,t)},each:function(e){for(var t=o().length-1;t>=0;t--){var n=o().key(t);e(i(n),n)}},remove:function(e){return o().removeItem(e)},clearAll:function(){return o().clear()}}},49830:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(11184),o={contextDelimiter:"",onMissingKey:null};function i(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]}i.prototype.getPluralForm=function(e,t){var n,o,i,s=this.pluralForms[e];return s||("function"!=typeof(i=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(o=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=(0,r.Z)(o)),s=this.pluralForms[e]=i),s(t)},i.prototype.dcnpgettext=function(e,t,n,r,o){var i,s,a;return i=void 0===o?0:this.getPluralForm(e,o),s=n,t&&(s=t+this.options.contextDelimiter+n),(a=this.data[e][s])&&a[i]?a[i]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===i?n:r)}},77879:function(e,t,n){"use strict";n.d(t,{c:function(){return r}});const r=new(n(82066).QueryClient)},44966:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var r=n(69307),o=(n(88691),n(11481)),i=n(4792),s=n(18717),a=n(43292),u=n(38606),c=n(70858),l=n(21058),f=n(59852),p=n(29726),d=n(15223),h=n(6255),g=n(91668),m=n(18724),y=n(76693),v=n(9044),b=n(82139),w=n(71799),_=n(9817),E=n(95884),S=n(90924);const C=(0,E.U)({currentUser:m.ZP,sites:b.ZP}),P=(0,s.MT)(C,(0,s.qC)(h.Z,S.f,(0,s.md)(a.Z,d.Z,y.Z)));function k(e){let{children:t}=e;return(0,r.createElement)(i.zt,{store:P},(0,r.createElement)(r.Fragment,null,(0,r.createElement)(u.Z,{siteId:window._currentSiteId}),t))}(0,v.P)(P),P.dispatch((0,_.z)({name:"gutenberg-editor"})),P.dispatch((0,w.B)(window._currentSiteId)),o.ZP.configure({defaultLocaleSlug:window.helpCenterLocale}),(0,f.G)().then(p.v).then((e=>{e&&P.dispatch((0,g.lx)(e)),(0,c.M)(e||void 0,(0,l.Z)(P))}))},36707:function(){window.configData={env_id:"development",i18n_default_locale_slug:"en",google_analytics_key:"UA-10673494-15",client_slug:"browser",twemoji_cdn_url:"https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/",happychat_url:"https://happychat.io/customer",site_filter:[],sections:{},enable_all_sections:!1,livechat_support_locales:["en"],upwork_support_locales:["de"],jetpack_support_blog:"jetpackme.wordpress.com",wpcom_support_blog:"en.support.wordpress.com",gutenboarding_url:"/new",features:{happychat:!0},signup_url:"/",discover_blog_id:53424024,discover_feed_id:41325786,directly_rtm_widget_environment:"production",directly_rtm_widget_ids:{sandbox:"8a2968fc57d1e2f40157f42bf2d43160",production:"8a12a3ca5a21a619015a47e492b02cfc"}},window.process={env:{NODE_DEBUG:"dev"}}},99477:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(53762),s=n(92421),a=n(55213),u=n(30849),c=n(55609),l=n(94333),f=n(9818),p=n(85192),d=n(98817),h=n(72779),g=n.n(h),m=n(82066),y=n(4792),v=n(83377),b=n(73041),w=n(77879),_=n(44966);n(39142);function E(){const e=(0,l.useMediaQuery)("(min-width: 480px)"),t=(0,y.v9)(b.Z),n=(0,f.useSelect)((e=>e("automattic/help-center").isHelpCenterShown())),[u,d]=(0,r.useState)(!1),{setShowHelpCenter:h}=(0,f.useDispatch)("automattic/help-center"),[m,w]=(0,r.useState)(!1),_=(0,y.v9)(v.Z)||!1,{data:E,isLoading:S}=(0,i.R)(window._currentSiteId,_);(0,r.useEffect)((()=>{!S&&E&&w(!E.has_seen_whats_new_modal)}),[E,S]);(0,r.useEffect)((()=>{const e=setTimeout((()=>d(!0)),0);return()=>clearTimeout(e)}),[]);const C=(0,r.createElement)(c.Button,{className:g()("entry-point-button","help-center",{"is-active":n}),onClick:()=>{(0,o.jN)("calypso_inlinehelp_"+(n?"close":"show"),{location:"help-center",section:t}),h(!n)},icon:(0,r.createElement)(s.Z,{newItems:m}),label:"Help","aria-pressed":!!n,"aria-expanded":!!n});return(0,r.createElement)(r.Fragment,null,e&&u&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)(p.Ox,{scope:"core/edit-post"},C),(0,r.createElement)(p.Ox,{scope:"core/edit-site"},C),(0,r.createElement)(p.Ox,{scope:"core/edit-widgets"},C)),n&&(0,r.createElement)(a.Z,{handleClose:()=>h(!1)}))}(0,d.registerPlugin)("etk-help-center",{render:()=>(0,r.createElement)(m.QueryClientProvider,{client:w.c},(0,r.createElement)(_.Z,null,(0,r.createElement)(u.Iw,{localeSlug:window.helpCenterLocale},(0,r.createElement)(E,null))))})},67459:function(e,t,n){"use strict";n.d(t,{p:function(){return l},x:function(){return f}});var r=n(85694),o=n(83685),i=n(96598),s=n(26991),a=n(26347),u=n(64802),c=n(20336);const l=(0,o.P1)(((e,t)=>{const n=(0,u.Z)(e,t);return(0,r._)(n,{root:(0,c.Z)(e,t),homepage:(0,c.Z)(e,t,"homepage"),identity:(0,c.Z)(e,t,"identity"),menus:(0,c.Z)(e,t,"menus")},(0,i.H)(),(0,a.Nf)())}),((e,t)=>[(0,u.Z)(e,t)]));function f(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4;if(!e.length)return[];const r=e.split(/[\W_]+/g).filter(Boolean).map((e=>e.toLowerCase()));if(!r.length)return[];const o=new RegExp(r.map(((e,t)=>t+1===r.length?`(?=.*\\b${e})`:`(?=.*\\b${e}\\b)`)).join("")+".+","gi"),i=[],a=[],u=[];return t.forEach((t=>{var n;t.title.toLowerCase()===e.toLowerCase()?i.push(t):o.test(t.title)?a.push(t):"en"===(0,s.Y)()&&null!==(n=t.synonyms)&&void 0!==n&&n.some((e=>r.includes(e)))&&u.push(t)})),[...i,...a,...u].slice(0,n)}},91040:function(e,t,n){"use strict";n.d(t,{Di:function(){return r}});const r=9619154},71688:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(38049),s=n.n(i),a=n(10975),u=n(13980),c=n.n(u),l=n(99196),f=n(4792),p=n(57925),d=n(73041);const h=s()("calypso:inline-help"),g=e=>{let{searchQuery:t="",location:n="inline-help-popover",isVisible:i=!0,placeholder:s,onSearch:u}=e;const c=(0,l.useRef)(),g=(0,a.Z)(),m=(0,f.v9)(d.Z);(0,l.useEffect)((()=>{var e;const t=null===(e=c.current)||void 0===e?void 0:e.searchInput;if("inline-help-popover"!==n||!t||!i)return;const r=setTimeout((()=>t.focus()),0);return()=>window.clearTimeout(r)}),[c,n,i]);return(0,r.createElement)(p.Z,{ref:c,initialValue:t,onSearch:e=>{const r=e.trim();"help-center"===n?(null==r?void 0:r.length)>2&&(0,o.jN)("calypso_inlinehelp_search",{search_query:t,location:n,section:m}):null!=r&&r.length&&(h("search query received: ",t),(0,o.jN)("calypso_inlinehelp_search",{search_query:t,location:n,section:m})),null==u||u(e)},placeholder:s||g("Search for help…"),delaySearch:!0})};g.propTypes={searchQuery:c().string,onSearch:c().func,placeholder:c().string,location:c().string},t.Z=g},85774:function(e,t,n){"use strict";var r=n(69307),o=n(13980),i=n.n(o),s=n(38782);const a=e=>{let{post:t,isLoading:n}=e;return n||!t?(0,r.createElement)("div",{className:"support-article-dialog__header is-placeholder"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title is-placeholder"},"Post loading…")):(0,r.createElement)("div",{className:"support-article-dialog__header"},(0,r.createElement)("h1",{className:"support-article-dialog__header-title"},(0,r.createElement)(s.Z,{className:"support-article-dialog__header-title-link",href:t.URL,target:"_blank",icon:!1},t.title)))};a.propTypes={post:i().object,isLoading:i().bool},t.Z=a},56077:function(e,t,n){"use strict";var r=n(56666),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(77327),c=n(93125),l=n(6712),f=n(83377);class p extends s.Component{constructor(){super(...arguments),(0,r.Z)(this,"maybeFetch",(()=>{const{post:e,postKey:t,isHelpCenter:n,isSimpleSite:r}=this.props;!(0,u.J0)(t)||e&&"minimal"!==e._state||this.props.fetchPost(t,n,r)}))}componentDidMount(){this.maybeFetch()}componentDidUpdate(){this.maybeFetch()}render(){return null}}(0,r.Z)(p,"propTypes",{postKey:i().object.isRequired,isHelpCenter:i().bool}),t.Z=(0,a.$j)(((e,t)=>({post:(0,l.UK)(e,t.postKey),isHelpCenter:t.isHelpCenter,isSimpleSite:(0,f.Z)(e)})),{fetchPost:c.SD})(p)},9232:function(e,t,n){"use strict";var r=n(13980),o=n.n(r),i=n(99196),s=n(4792),a=n(63262),u=n(58311);function c(e){let{siteId:t}=e;const n=(0,s.I0)(),r=(0,s.v9)((e=>(0,u._g)(e,t)));return(0,i.useEffect)((()=>{t&&r&&n((0,a.LV)(t))}),[n,t,r]),null}c.propTypes={siteId:o().number},t.Z=c},38606:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(69307),o=n(13980),i=n.n(o),s=n(99196),a=n(4792),u=n(85300),c=n(87720),l=n(40540),f=n(52239),p=n(58863),d=n(79791);const h=e=>(0,u.Oz)(e,"recentSites");function g(){const e=(0,a.I0)();return(0,s.useEffect)((()=>{e(((e,t)=>{(0,f.Z)(t())||e((0,l.BU)())}))}),[e]),null}const m=e=>(t,n)=>{e&&!(0,p.Z)(n(),e)&&t((0,l.LV)(e))};function y(e){let{siteId:t}=e;const n=(0,a.I0)();return(0,s.useEffect)((()=>{t&&n(m(t))}),[n,t]),null}function v(){const e=(0,a.v9)(c.Z),t=(0,a.v9)(h),n=(0,a.I0)();return(0,s.useEffect)((()=>{const r=[...e?[e]:[],...t??[]];r.length&&n((e=>(t,n)=>{const r=n();(0,d.Z)(r)||e.forEach((e=>t(m(e))))})(r))}),[n,e,t]),null}function b(e){let{siteId:t,allSites:n=!1,primaryAndRecent:o=!1}=e;return(0,r.createElement)(s.Fragment,null,n&&(0,r.createElement)(g,null),t&&(0,r.createElement)(y,{siteId:t}),o&&(0,r.createElement)(v,null))}b.propTypes={allSites:i().bool,primaryAndRecent:i().bool,siteId:i().oneOfType([i().number,i().string])}},66525:function(e,t,n){"use strict";var r=n(99196),o=n(4792),i=n(36747),s=n(86169),a=n(12726);const u=(e,t)=>{const n=t(),r=(0,i.rc)(n),o=(0,a.Mo)(n),u=(0,a.iJ)(n);!r||o||u||e((0,s.Y9)(r))};t.Z=function(){const e=(0,o.I0)();return(0,r.useEffect)((()=>{e(u)})),null}},22169:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(84898),o=n(38049),i=n.n(o),s=n(92819),a=n(99196),u=n(91850),c=n.n(u),l=n(16771);const f=()=>{},p=i()("calypso:components:embed-container"),d={'blockquote[class^="instagram-"]':function e(t){if(p("processing instagram for",t),"undefined"!=typeof instgrm){try{window.instgrm.Embeds.process()}catch(n){}return}b("https://platform.instagram.com/en_US/embeds.js",e.bind(null,t))},'blockquote[class^="twitter-"], a[class^="twitter-"]':function e(t){if(p("processing twitter for",t),"undefined"!=typeof twttr){try{window.twttr.widgets.load(t)}catch(n){}return}b("https://platform.twitter.com/widgets.js",e.bind(null,t))},"fb\\:post, [class^=fb-]":function(e){if(p("processing facebook for",e),"undefined"!=typeof fb)return;b("https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.2",f)},"[class^=tumblr-]":function(e){if(p("processing tumblr for",e),w)return;function t(){(0,s.forEach)(document.querySelectorAll('script[src="https://secure.assets.tumblr.com/post.js"]'),(function(e){e.parentNode.removeChild(e)})),w=!1}w=!0,setTimeout((function(){(0,r.ve)("https://secure.assets.tumblr.com/post.js",t)}),30)},".jetpack-slideshow":function(e){p("processing slideshow for",e);let t=document.head.querySelector(`link[href="${g.CSS}"]`);window.jetpackSlideshowSettings={spinner:g.SPINNER},t||(t=!0,function(e){const t=document.createElement("link");t.rel="stylesheet",t.type="text/css",t.href=e,document.head.appendChild(t)}(g.CSS));const n=e.parentNode.getElementsByClassName("jetpack-slideshow-noscript");(0,s.forEach)(n,(e=>{e.classList.add("hidden")})),window.jQuery&&window.jQuery.prototype.cycle?E():window.jQuery&&!window.jQuery.prototype.cycle?b(g.CYCLE_JS,(()=>{E()})):(0,l.t)(g.CYCLE_JS,(()=>{E()}))},".wp-block-jetpack-story":function(e){p("processing story for ",e);const t=e.querySelector("a.wp-story-container, a.wp-story-overlay");t&&t.setAttribute("target","_blank")},".embed-reddit":function(e){p("processing reddit for ",e),b("https://embed.redditmedia.com/widgets/platform.js",f)}},h=`?v=${Math.floor((new Date).getTime()/864e6)}`,g={CSS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/css/slideshow-shortcode.css${h}`,CYCLE_JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/jquery.cycle.min.js${h}`,JS:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/js/slideshow-shortcode.js${h}`,SPINNER:`https://s0.wp.com/wp-content/mu-plugins/shortcodes/img/slideshow-loader.gif${h}`};function m(e){Object.entries(d).forEach((t=>{let[n,r]=t;const o=e.querySelectorAll(n);(0,s.forEach)((0,s.filter)(o,y),r)}))}function y(e){return!e.hasAttribute("data-wpcom-embed-processed")&&(e.setAttribute("data-wpcom-embed-processed","1"),!0)}const v={};function b(e,t){let n=v[e];n||(n=new Promise((function(t,n){(0,r.ve)(e,(function(e){e?n(e):t()}))})),v[e]=n),n.then(t,(function(t){p("error loading "+e,t),v[e]=null}))}let w;function _(){window.jQuery("body").trigger("post-load")}function E(){window.JetpackSlideshow&&_(),b(g.JS,(()=>{_()}))}class S extends a.PureComponent{componentDidMount(){m(c().findDOMNode(this))}componentDidUpdate(){m(c().findDOMNode(this))}render(){return a.Children.only(this.props.children)}}},38782:function(e,t,n){"use strict";var r=n(56666),o=n(69307),i=n(56399),s=n(97493),a=n(47498),u=n(72779),c=n.n(u),l=n(11481),f=n(92819),p=n(13980),d=n.n(p),h=n(99196);class g extends h.Component{render(){const e=c()("external-link",this.props.className,{"icon-first":this.props.showIconFirst,"has-icon":this.props.icon}),t={...(0,f.omit)(this.props,"icon","iconSize","showIconFirst","iconClassName"),className:e,rel:"external"};this.props.icon&&(t.target="_blank"),t.target&&(t.rel=t.rel.concat(" noopener noreferrer")),t.href&&(t.href=(0,a.aq)(t.href));const n=(0,o.createElement)(i.Z,{className:this.props.iconClassName,icon:"external",size:this.props.iconSize});return(0,o.createElement)("a",t,this.props.icon&&this.props.showIconFirst&&n,this.props.children,this.props.icon&&!this.props.showIconFirst&&n,this.props.icon&&(0,o.createElement)(s.Z,null,(0,l.Iu)("(opens in a new tab)",{comment:"accessibility label for an external link"})))}}(0,r.Z)(g,"defaultProps",{iconSize:18,showIconFirst:!1}),(0,r.Z)(g,"propTypes",{className:d().string,href:d().string,onClick:d().func,icon:d().bool,iconSize:d().number,target:d().string,showIconFirst:d().bool,iconClassName:d().string}),t.Z=g},66753:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(13980),c=n.n(u),l=n(99196);class f extends l.PureComponent{constructor(){super(...arguments),(0,o.Z)(this,"state",{value:this.props.value||""}),(0,o.Z)(this,"currentTextField",void 0),(0,o.Z)(this,"textFieldRef",(e=>{this.currentTextField=e;const{inputRef:t}=this.props;t&&("function"==typeof t?t(e):t.current=e)})),(0,o.Z)(this,"selectOnFocus",(e=>{this.props.selectOnFocus&&e.target.select()})),(0,o.Z)(this,"onChange",(e=>{var t,n;this.setState({value:e.target.value}),null===(t=(n=this.props).onChange)||void 0===t||t.call(n,e)}))}componentDidUpdate(e){this.updateValueIfNeeded(e.value)}updateValueIfNeeded(e){const{value:t}=this.props;e===t&&t===this.state.value||this.setState({value:t})}focus(){this.currentTextField&&this.currentTextField.focus()}render(){const{isError:e,isValid:t,selectOnFocus:n,inputRef:o,onChange:s,value:u,...c}=this.props,l=a()("form-text-input",this.props.className,{"is-error":this.props.isError,"is-valid":this.props.isValid});return(0,i.createElement)("input",(0,r.Z)({type:"text"},c,{value:this.state.value,ref:this.textFieldRef,className:l,onClick:this.selectOnFocus,onChange:this.onChange}))}}(0,o.Z)(f,"propTypes",{isError:c().bool,isValid:c().bool,selectOnFocus:c().bool,className:c().string})},57925:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(98148),s=n(72779),a=n.n(s),u=n(99196),c=n(12982);const l=(e,t)=>{let{className:n,...s}=e;return(0,o.createElement)(i.Z,{className:a()("search-card",n)},(0,o.createElement)(c.Z,(0,r.Z)({ref:t},s)))};t.Z=(0,u.forwardRef)(l)},12982:function(e,t,n){"use strict";var r=n(7896),o=n(56666),i=n(69307),s=n(6010),a=n(79321),u=n(5869),c=n(17108),l=n(60199),f=n(72779),p=n.n(f),d=n(11481),h=n(92819),g=n(13980),m=n.n(g),y=n(99196),v=n(88767),b=n(66753),w=n(28816),_=n(44567);const E=()=>{};function S(e,t){switch(t.key){case" ":case"Enter":this[e](t)}}class C extends y.Component{constructor(e){super(e),(0,o.Z)(this,"setOpenIconRef",(e=>this.openIcon=e)),(0,o.Z)(this,"setSearchInputRef",(e=>this.searchInput=e)),(0,o.Z)(this,"setOverlayRef",(e=>this.overlay=e)),(0,o.Z)(this,"scrollOverlay",(()=>{this.overlay&&window.requestAnimationFrame((()=>{this.overlay&&this.searchInput&&(this.overlay.scrollLeft=this.getScrollLeft(this.searchInput))}))})),(0,o.Z)(this,"getScrollLeft",(e=>{if(!e.createTextRange)return e.scrollLeft;const t=e.createTextRange(),n=window.getComputedStyle(e,void 0),r=parseFloat(n.paddingLeft),o=t.getBoundingClientRect();return e.getBoundingClientRect().left+e.clientLeft+r-o.left})),(0,o.Z)(this,"focus",(()=>{setTimeout((()=>this.searchInput&&this.searchInput.focus()),0)})),(0,o.Z)(this,"blur",(()=>this.searchInput.blur())),(0,o.Z)(this,"clear",(()=>this.setState({keyword:""}))),(0,o.Z)(this,"onBlur",(e=>{this.props.onBlur&&this.props.onBlur(e),this.setState({hasFocus:!1})})),(0,o.Z)(this,"onChange",(e=>{this.setState({keyword:e.target.value})})),(0,o.Z)(this,"openSearch",(e=>{e.preventDefault(),this.setState({keyword:"",isOpen:!0}),(0,_.Yh)(this.props.analyticsGroup,"Clicked Open Search")})),(0,o.Z)(this,"closeSearch",(e=>{e.preventDefault(),this.props.disabled||(this.setState({keyword:"",isOpen:this.props.isOpen||!1}),this.searchInput.value="",this.props.pinned?(this.searchInput.blur(),this.openIcon.focus()):this.searchInput.focus(),this.props.onSearchClose(e),(0,_.Yh)(this.props.analyticsGroup,"Clicked Close Search"))})),(0,o.Z)(this,"keyUp",(e=>{"Enter"===e.key&&(0,a.tq)()&&this.blur(),this.props.pinned&&("Escape"===e.key&&this.closeSearch(e),this.scrollOverlay())})),(0,o.Z)(this,"keyDown",(e=>{this.scrollOverlay(),"Escape"===e.key&&""===e.target.value&&this.closeSearch(e),this.props.onKeyDown(e)})),(0,o.Z)(this,"onFocus",(()=>{if(!this.searchInput)return;const e=this.searchInput.value;e&&(this.searchInput.value="",this.searchInput.value=e),this.setState({hasFocus:!0}),this.props.onSearchOpen()})),this.instanceId=(0,v.Z)(),this.state={keyword:e.initialValue||"",isOpen:!!e.isOpen,hasFocus:e.autoFocus},this.closeListener=S.bind(this,"closeSearch"),this.openListener=S.bind(this,"openSearch")}UNSAFE_componentWillReceiveProps(e){e.onSearch===this.props.onSearch&&e.delaySearch===this.props.delaySearch||(this.onSearch=this.props.delaySearch?(0,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch),this.props.isOpen!==e.isOpen&&this.setState({isOpen:e.isOpen}),this.props.value===e.value||!e.value&&""!==e.value||e.value===this.state.keyword||this.setState({keyword:e.value})}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,h.debounce)(this.props.onSearch,this.props.delayTimeout):this.props.onSearch}render(){const e=this.state.keyword,t=this.props.placeholder||d.ZP.translate("Search…",{textOnly:!0}),n=this.props.inputLabel,o=this.props.pinned&&!this.state.isOpen,a=this.state.isOpen||!this.props.pinned||this.props.initialValue,l=this.props.disableAutocorrect&&{autoComplete:"off",autoCorrect:"off",spellCheck:"false"},f=p()(this.props.additionalClasses,this.props.dir,{"is-expanded-to-container":this.props.fitsContainer,"is-open":a,"is-searching":this.props.searching,"is-compact":this.props.compact,"has-focus":!this.props.hideFocus&&this.state.hasFocus,"has-open-icon":!this.props.hideOpenIcon,search:!0}),h=p()("search__input-fade",this.props.dir),g=p()("search__input",this.props.dir);return(0,i.createElement)("div",{dir:this.props.dir||null,className:f,role:"search"},(0,i.createElement)(s.$,null),(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",ref:this.setOpenIconRef,onClick:o?this.openSearch:this.focus,tabIndex:o?"0":null,onKeyDown:o?this.openListener:null,"aria-controls":"search-component-"+this.instanceId,"aria-label":d.ZP.translate("Open Search",{context:"button label"})},!this.props.hideOpenIcon&&(0,i.createElement)(u.Z,{icon:c.Z,className:"search__open-icon"})),(0,i.createElement)("div",{className:h},(0,i.createElement)(b.Z,(0,r.Z)({type:"search",id:"search-component-"+this.instanceId,autoFocus:this.props.autoFocus,"aria-describedby":this.props.describedBy,"aria-label":n||d.ZP.translate("Search"),"aria-hidden":!a,className:g,placeholder:t,role:"searchbox",value:e,inputRef:this.setSearchInputRef,onChange:this.onChange,onKeyUp:this.keyUp,onKeyDown:this.keyDown,onMouseUp:this.props.onClick,onFocus:this.onFocus,onBlur:this.onBlur,disabled:this.props.disabled,autoCapitalize:"none",dir:this.props.dir,maxLength:this.props.maxLength,minLength:this.props.minLength},l)),this.props.overlayStyling&&this.renderStylingDiv()),this.closeButton(),this.props.children)}renderStylingDiv(){return(0,i.createElement)("div",{className:"search__text-overlay",ref:this.setOverlayRef},this.props.overlayStyling(this.state.keyword))}closeButton(){return this.props.hideClose||!this.state.keyword&&!this.state.isOpen?null:(0,i.createElement)("div",{role:"button",className:"search__icon-navigation",onClick:this.closeSearch,tabIndex:"0",onKeyDown:this.closeListener,"aria-controls":"search-component-"+this.instanceId,"aria-label":d.ZP.translate("Close Search",{context:"button label"})},(0,i.createElement)(u.Z,{icon:l.Z,className:"search__close-icon"}))}}(0,o.Z)(C,"propTypes",{additionalClasses:m().string,initialValue:m().string,value:m().string,placeholder:w.Z,pinned:m().bool,delaySearch:m().bool,delayTimeout:m().number,describedBy:m().string,onSearch:m().func.isRequired,onSearchChange:m().func,onSearchOpen:m().func,onSearchClose:m().func,analyticsGroup:m().string,overlayStyling:m().func,autoFocus:m().bool,disabled:m().bool,onKeyDown:m().func,onClick:m().func,disableAutocorrect:m().bool,onBlur:m().func,searching:m().bool,isOpen:m().bool,dir:m().oneOf(["ltr","rtl"]),fitsContainer:m().bool,maxLength:m().number,minLength:m().number,hideClose:m().bool,hideFocus:m().bool,compact:m().bool,hideOpenIcon:m().bool,inputLabel:m().string}),(0,o.Z)(C,"defaultProps",{pinned:!1,delaySearch:!1,delayTimeout:300,autoFocus:!1,disabled:!1,describedBy:null,onSearchChange:E,onSearchOpen:E,onSearchClose:E,onKeyDown:E,onClick:E,overlayStyling:void 0,disableAutocorrect:!1,searching:!1,isOpen:!1,dir:void 0,fitsContainer:!1,hideClose:!1,hideFocus:!1,compact:!1,hideOpenIcon:!1}),t.Z=C},28816:function(e,t){"use strict";t.Z=function(e){function t(t,n,r,o,i){return o=o||"ANONYMOUS",void 0===n[r]?t?new Error("Required "+i+" `"+r+"` was not specified in `"+o+"`."):null:e(n,r,o,i)}const n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}((function(e,t,n){n=n||"ANONYMOUS";const r=e[t];return null!=r?"string"==typeof r||"object"==typeof r&&"data"===r.type||"object"==typeof r&&["object","function"].includes(typeof r.type)&&("Translatable"===r.type.name||String(r.type.displayName).match(/\(Translatable\)/))?null:new Error("Invalid value for Translatable string in `"+n+"`. Please pass a translate() call."):null}))},1230:function(e,t,n){"use strict";var r=n(6339),o=n(82066),i=n(4792),s=n(72429),a=n(30963);t.Z=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(0,i.v9)(a.Z);return(0,o.useQuery)(["support-article-alternates",e,t],(()=>s.Z.req.get(`/support/alternates/${e}/posts/${t}`)),{...n,enabled:!(0,r.TF)(u)&&!(!e||!t),refetchOnMount:!1,refetchOnWindowFocus:!1,select:e=>e[u]})}},36190:function(e,t,n){"use strict";n.d(t,{wZ:function(){return i},ZK:function(){return s},_O:function(){return a},n_:function(){return u},CO:function(){return c},xb:function(){return l},kL:function(){return f},GL:function(){return p},eG:function(){return d},hR:function(){return h},Mf:function(){return g},Q1:function(){return m},az:function(){return y},S$:function(){return v},nF:function(){return b},fF:function(){return w},lB:function(){return _},n5:function(){return E},Dt:function(){return S},j_:function(){return C},EV:function(){return P},y2:function(){return k},yf:function(){return I},xV:function(){return A},E9:function(){return T},O5:function(){return R},pP:function(){return O},Ai:function(){return x},zR:function(){return F},Uk:function(){return L},L:function(){return U},cf:function(){return Z},Hb:function(){return D},zv:function(){return j},oh:function(){return N}});var r=n(20899),o=n(38049);const i=!0,s=!0,a=!0,u=!0,c=!1,l=!0,f=!1,p=!0,d=!0,h=!1,g=!0,m=!1,y=!1,v=!1,b=!1,w=n.n(o)()("calypso:analytics:ad-tracking"),_="https://connect.facebook.net/en_US/fbevents.js",E="https://www.googletagmanager.com/gtag/js?id=",S="https://bat.bing.com/bat.js",C="https://static.criteo.net/js/ld/ld.js",P="https://sp.analytics.yahoo.com/spp.pl?a=10000&.yp=10014088",k="https://tags.w55c.net/rs?id=cab35a3a79dc4173b8ce2c47adad2cea&t=marketing",I="https://tags.w55c.net/rs?id=d239e9cb6d164f7299d2dbf7298f930a&t=marketing",A="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",T="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=ded132f8",R="https://d.adroll.com/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",O="https://d.adroll.com/fb/ipixel/PEJHFPIHPJC2PD3IMTCWTT/WV6A5O5PBJBIBDYGZHVBM5?name=8eb337b5",x="https://static.ads-twitter.com/uwt.js",F="https://snap.licdn.com/li.lms-analytics/insight.min.js",L="https://a.quora.com/qevents.js",U="https://amplify.outbrain.com/cp/obtp.js",Z="https://s.pinimg.com/ct/core.js",D={bingInit:"4074038",criteo:"31321",dcmFloodlightAdvertiserId:"6355556",facebookInit:"823166884443641",facebookJetpackInit:"919484458159593",fullStory:"120RG4",fullStoryJetpack:"181XXV",linkedInPartnerId:"195308",outbrainAdvId:"00f0f5287433c2851cc0cb917c7ff0465e",pinterestInit:"2613194105266",quantcast:"p-3Ma3jHaQMB_bS",quoraPixelId:"420845cb70e444938cf0728887a74ca1",twitterPixelId:"nvzbs",wpcomGoogleAnalyticsGtag:(0,r.ZP)("google_analytics_key"),wpcomFloodlightGtag:"DC-6355556",wpcomGoogleAdsGtag:"AW-946162814",wpcomGoogleAdsGtagSignupStart:"AW-946162814/baDICKzQiq4BEP6YlcMD",wpcomGoogleAdsGtagRegistration:"AW-946162814/_6cKCK6miZYBEP6YlcMD",wpcomGoogleAdsGtagSignup:"AW-946162814/5-NnCKy3xZQBEP6YlcMD",wpcomGoogleAdsGtagAddToCart:"AW-946162814/MF4yCNi_kZYBEP6YlcMD",wpcomGoogleAdsGtagPurchase:"AW-946162814/taG8CPW8spQBEP6YlcMD",jetpackGoogleAnalyticsGtag:"UA-52447-43",jetpackGoogleGA4Gtag:"G-YELRMVV4YG",jetpackGoogleAdsGtagPurchase:"AW-946162814/kIF1CL3ApfsBEP6YlcMD"},j="dcmsid",N=1800},33675:function(e,t,n){"use strict";n.d(t,{j:function(){return u},I:function(){return l}});var r=n(36115),o=n(13421),i=n(88767),s=n(1444),a=n(36190);n(28122);function u(e){if(!(0,s.Z)()||!a.ZK)return;const t=["event","conversion",{...{...c(),allow_custom_scripts:!0},...e}];(0,a.fF)("recordParamsInFloodlightGtag:",t),window.gtag(...t)}function c(){const e={},t=(0,r.ts)(),n=(0,r.di)();return t&&(e.u4=t.hashedPii.ID),n&&(e.u5=n),e}function l(e){if(!(0,s.Z)()||!a.ZK)return;const t=function(){const e=o.parse(document.cookie)[a.zv];if(e)return(0,a.fF)("Floodlight: Existing session: "+e),e;const t=(0,i.Z)().replace(new RegExp("-","g"),"");return(0,a.fF)("Floodlight: New session: "+t),t}();document.cookie=o.serialize(a.zv,t,{maxAge:a.oh}),(0,a.fF)("retarget: recordPageViewInFloodlight: wpvisit"),u({session_id:t,u6:e,u7:t,send_to:"DC-6355556/wordp0/wpvisit+per_session"}),(0,a.fF)("retarget: recordPageViewInFloodlight: wppv"),u({u6:e,u7:t,send_to:"DC-6355556/wordp0/wppv+standard"})}},98565:function(e,t,n){"use strict";n.d(t,{cY:function(){return i},$Q:function(){return s}});var r=n(9415),o=n(36190);n(28122);function i(e){(0,r.Z)()&&window.gtag("config",o.Hb.jetpackGoogleGA4Gtag,e)}function s(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n&&window.gtag("event","page_view",{send_to:o.Hb.jetpackGoogleGA4Gtag,page_title:e,page_location:t})}},95157:function(e,t,n){"use strict";n.d(t,{LT:function(){return l},mf:function(){return f},Uk:function(){return p},vL:function(){return d},Zf:function(){return h}});var r=n(36115),o=n(20899),i=n(32486),s=n(43621),a=n(9415),u=n(36190),c=n(98565);n(28122);function l(e){c.cY(e),window.gtag("config",u.Hb.wpcomGoogleAnalyticsGtag,e),(0,a.Z)()&&window.gtag("config",u.Hb.jetpackGoogleAnalyticsGtag,e)}function f(){return u.wZ&&o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,i.Z)()&&(0,s.Z)()}function p(){const e=(0,r.ts)();return{...e&&{user_id:e.hashedPii.ID},anonymize_ip:!0,transport_type:"function"==typeof window.navigator.sendBeacon?"beacon":"xhr",use_amp_client_id:!0,custom_map:{dimension3:"client_id"},linker:(0,a.Z)()?{domains:["wordpress.com"]}:{accept_incoming:!0}}}function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];c.$Q(t,e,n);const r={...p(),page_path:e,page_title:t};window.gtag("config",u.Hb.wpcomGoogleAnalyticsGtag,r),n&&window.gtag("config",u.Hb.jetpackGoogleAnalyticsGtag,r)}function h(e,t,n,r){window.gtag("event",t,{event_category:e,event_label:n,value:r})}},30214:function(e,t,n){"use strict";n.d(t,{_:function(){return s}});var r=n(36115),o=n(84898),i=n(36190);n(28122);const s=function(e){let t,n="not-loading";const r=new Promise((e=>{t=e}));return()=>("not-loading"===n&&(n="loading",e().then((e=>{n="loaded",t(e)}),(()=>{n="not-loading"}))),r)}((async()=>{const e=function(){const e=[];i._O&&e.push(i.lB);const t=[i.wZ&&i.Hb.wpcomGoogleAnalyticsGtag,i.xb&&i.Hb.wpcomGoogleAdsGtag,i.ZK&&i.Hb.wpcomFloodlightGtag].filter((e=>!1!==e));t.length>0&&e.push(i.n5+t[0]);i.n_&&e.push(i.Dt);i.az&&e.push(i.j_);i.kL&&e.push(("https:"===document.location.protocol?"https://secure":"http://edge")+".quantserve.com/quant.js");i.Mf&&e.push(i.Ai);i.Q1&&e.push(i.zR);i.S$&&e.push(i.Uk);i.GL&&e.push(i.L);i.eG&&e.push(i.cf);return e}();let t=!1;for(const r of e){try{await(0,o.ve)(r)}catch(n){t=!0,(0,i.fF)("loadTrackingScripts: [Load Error] a tracking script failed to load: ",n)}(0,i.fF)("loadTrackingScripts: [Loaded]",r)}if(t)throw new Error("One or more tracking scripts failed to load");(0,i.fF)("loadTrackingScripts: load done"),function(){i._O&&function(){let e={};const t=(0,r.ts)();t&&(e={em:t.hashedPii.email});(0,i.fF)("initFacebook",e),window.fbq("init",i.Hb.facebookInit,e),window.fbq("set","autoConfig",!1,i.Hb.facebookJetpackInit),window.fbq("init",i.Hb.facebookJetpackInit,e)}();if(i.n_){const e={ti:i.Hb.bingInit,q:window.uetq};"undefined"!=typeof UET&&(window.uetq=new UET(e))}i.Mf&&window.twq("init",i.Hb.twitterPixelId);i.S$&&window.qp("init",i.Hb.quoraPixelId);if(i.eG){const e=(0,r.ts)(),t=e?{em:e.hashedPii.email}:{};window.pintrk("load",i.Hb.pinterestInit,t)}(0,i.fF)("loadTrackingScripts: init done")}(),(0,i.fF)("loadTrackingScripts: dataLayer:",JSON.stringify(window.dataLayer,null,2))}))},32985:function(e,t,n){"use strict";n.d(t,{a:function(){return c}});var r=n(7369),o=n(1444),i=n(36190),s=n(33675),a=n(30214);n(28122);let u=0;async function c(e){if(await(0,r.Z)(),!(0,o.Z)())return void(0,i.fF)("retarget: [Skipping] ad tracking is not allowed",e);if(await(0,a._)(),(0,i.fF)("retarget:",e),i.kL){const e={qacct:i.Hb.quantcast,event:"refresh"};(0,i.fF)("retarget: [Quantcast]",e),window._qevents.push(e)}if(i._O){const e=["trackSingle",i.Hb.facebookInit,"PageView"];(0,i.fF)("retarget: [Facebook]",e),window.fbq(...e)}if(i.n_&&((0,i.fF)("retarget: [Bing]"),window.uetq.push("pageLoad")),i.xb){const t=["config",i.Hb.wpcomGoogleAdsGtag,{page_path:e}];(0,i.fF)("retarget: [Google Ads] WPCom",t),window.gtag(...t)}(0,s.I)(e),i.eG&&((0,i.fF)("retarget: [Pinterest]"),window.pintrk("page")),i.nF&&((0,i.fF)("retarget: [AdRoll]"),window.adRoll.trackPageview());const t=Date.now()/1e3;if(t>=u+86400){if(u=t,i.GL){const e=["track","PAGE_VIEW"];(0,i.fF)("retarget: [Outbrain] [rate limited]",e),window.obApi(...e)}if(i.hR){const e=i.y2;(0,i.fF)("retarget: [Icon Media] [rate limited]",e),(new window.Image).src=e}if(i.Mf){const e=["track","PageView"];(0,i.fF)("retarget: [Twitter] [rate limited]",e),window.twq(...e)}if(i.CO){const e=i.EV;(0,i.fF)("retarget: [Yahoo Gemini] [rate limited]",e),(new window.Image).src=e}if(i.S$){const e=["track","ViewContent"];(0,i.fF)("retarget: [Quora] [rate limited]",e),window.qp(...e)}}(0,i.fF)("retarget: dataLayer:",JSON.stringify(window.dataLayer,null,2))}},28122:function(e,t,n){"use strict";var r=n(36190);"undefined"!=typeof window&&(!function(){if(window.dataLayer&&window.gtag)return;window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date)}(),r._O&&function(){if(window.fbq)return;const e=window.fbq=function(){e.callMethod?e.callMethod.apply(e,arguments):e.queue.push(arguments)};window._fbq||(window._fbq=e);window._fbq.disablePushState=!0,e.push=e,e.loaded=!0,e.version="2.0",e.queue=[]}(),r.n_&&!window.uetq&&(window.uetq=[]),r.az&&!window.criteo_q&&(window.criteo_q=[]),r.kL&&!window._qevents&&(window._qevents=[]),r.xb&&window.gtag("config",r.Hb.wpcomGoogleAdsGtag),r.ZK&&window.gtag("config",r.Hb.wpcomFloodlightGtag),r.Mf&&function(){if(window.twq)return;const e=window.twq=function(){e.exe?e.exe.apply(e,arguments):e.queue.push(arguments)};e.version="1.1",e.queue=[]}(),r.Q1&&(window._linkedin_data_partner_id||(window._linkedin_data_partner_id=r.Hb.linkedInPartnerId)),r.S$&&function(){if(window.qp)return;const e=window.qp=function(){e.qp?e.qp.apply(e,arguments):e.queue.push(arguments)};e.queue=[]}(),r.GL&&function(){const e=window.obApi=function(){e.dispatch?e.dispatch.apply(e,arguments):e.queue.push(arguments)};e.version="1.0",e.loaded=!0,e.marketerId=r.Hb.outbrainAdvId,e.queue=[]}(),r.eG&&function(){if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};const e=window.pintrk;e.queue=[],e.version="3.0"}}(),r.nF&&(window.adRoll||(window.adRoll={trackPageview:function(){(new window.Image).src=r.xV,(new window.Image).src=r.E9},trackPurchase:function(){(new window.Image).src=r.O5,(new window.Image).src=r.pP}})))},25394:function(e,t,n){"use strict";n.d(t,{K:function(){return o},w:function(){return i}});var r=n(36190);n(28122);function o(e,t){window.fbq&&window.fbq("trackSingleCustom",r.Hb.facebookInit,e,t)}function i(e){(0,r.fF)("trackCustomAdWordsRemarketingEvent:",e)}},46272:function(e,t,n){"use strict";n.d(t,{U:function(){return h},K:function(){return g}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),a=n(94776),u=n(9415),c=n(36190),l=n(32486),f=n(43621);const p=s()("calypso:analytics:fullstory");let d=!1;function h(){m(),window.FS&&(p("retargetFullStory"),window.FS.restart(),y())}function g(e,t){if(m(),!window.FS||!e)return;const n=v(t);p("recordFullStoryEvent:",{name:e,props:n}),window.FS.event(e,n),y()}function m(){var e,t,n,i,s,h,g,m;d||!o.ZP.isEnabled("fullstory")||(0,r.vX)()||(0,a.b)()||(0,l.Z)()||!(0,f.Z)()?d||p("maybeAddFullStoryScript:",!1):(d=!0,p("maybeAddFullStoryScript:",!0),window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org=(0,u.Z)()?c.Hb.fullStoryJetpack:c.Hb.fullStory,window._fs_namespace="FS",e=window,t=document,n=window._fs_namespace,i="script",s="user",p("maybeAddFullStoryScript:","script loading"),n in e?e.console&&e.console.log&&e.console.log("FullStory namespace conflict. Please set window._fs_namespace."):((g=e[n]=function(e,t,n){g.q?g.q.push([e,t,n]):g._api(e,t,n)}).q=[],(h=t.createElement(i)).async=1,h.crossOrigin="anonymous",h.src="https://"+window._fs_script,(m=t.getElementsByTagName(i)[0]).parentNode.insertBefore(h,m),g.identify=function(e,t,n){g(s,{uid:e},n),t&&g(s,t,n)},g.setUserVars=function(e,t){g(s,e,t)},g.event=function(e,t,n){g("event",{n:e,p:t},n)},g.anonymize=function(){g.identify(!1)},g.shutdown=function(){g("rec",!1)},g.restart=function(){g("rec",!0)},g.log=function(e,t){g("log",[e,t])},g.consent=function(e){g("consent",!arguments.length||e)},g.identifyAccount=function(e,t){h="account",(t=t||{}).acctId=e,g(h,t)},g.clearUserCookie=function(){},g.setVars=function(_n,e){g("setVars",[_n,e])},g._w={},m="XMLHttpRequest",g._w[m]=e[m],m="fetch",g._w[m]=e[m],e[m]&&(e[m]=function(){return g._w[m].apply(this,arguments)}),g._v="1.3.0"))}function y(){if(!window.FS)return;const e=(0,r.ts)();e&&(p("maybeIdentifyUser:",e),window.FS.identify(e.hashedPii.ID))}function v(e){const t={};e="object"==typeof e?e:{};for(const[n,r]of Object.entries(e)){const e=typeof r;"string"===e?t[n+"_str"]=r:"boolean"===e?t[n+"_bool"]=r:"number"===e||"bigint"===e?-1!==String(r).indexOf(".")?t[n+"_real"]=r:t[n+"_int"]=r:"object"===e&&(t[n]=v(r))}return t}},44567:function(e,t,n){"use strict";n.d(t,{eK:function(){return c},Yh:function(){return l}});var r=n(38049),o=n.n(r),i=n(95157);const s=o()("calypso:analytics:ga");let a=!1;function u(){if(!a){const e={send_page_view:!1,...(0,i.Uk)()};s("parameters:",e),(0,i.LT)(e),a=!0}}const c=f((function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];s("Recording Page View ~ [URL: "+e+"] [Title: "+t+"] [useJetpackGoogleAnalytics: "+n+"]"),(0,i.vL)(e,t,n)})),l=f((function(e,t,n,r){void 0===r||isNaN(Number(String(r)))||(r=Math.round(Number(String(r))));let o="Recording Event ~ [Category: "+e+"] [Action: "+t+"]";void 0!==n&&(o+=" [Option Label: "+n+"]"),void 0!==r&&(o+=" [Option Value: "+r+"]"),s(o),(0,i.Zf)(e,t,n,r)}));function f(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];(0,i.mf)()?(u(),e(...n)):s("[Disallowed] analytics %s( %o )",e.name,n)}}},80252:function(e,t,n){"use strict";n.d(t,{o:function(){return p}});var r=n(36115),o=n(20899),i=n(38049),s=n.n(i),a=n(94776),u=n(32486),c=n(43621);const l=s()("calypso:analytics:hotjar");let f=!1;function p(){var e,t,n,i;f||!(0,o.ZP)("hotjar_enabled")||(0,a.b)()||(0,r.vX)()||(0,u.Z)()||!(0,c.Z)()?l("Not loading HotJar script"):(e=window,t=document,l("Loading HotJar script"),e.hj=e.hj||function(){(e.hj.q=e.hj.q||[]).push(arguments)},e._hjSettings={hjid:227769,hjsv:5},n=t.getElementsByTagName("head")[0],(i=t.createElement("script")).async=1,i.src="//static.hotjar.com/c/hotjar-"+e._hjSettings.hjid+".js?sv="+e._hjSettings.hjsv,n.appendChild(i),f=!0)}},70858:function(e,t,n){"use strict";n.d(t,{M:function(){return s}});var r=n(36115),o=n(38049);const i=n.n(o)()("calypso:analytics:init");async function s(e,t){await(0,r.MB)(e,t);const o=(0,r.ts)();if("object"==typeof e&&o&&(0,r.di)()){const e=await n.e(474).then(n.bind(n,11209)),{recordAliasInFloodlight:t}=e;i("recordAliasInFloodlight",o),t()}}},7689:function(e,t,n){"use strict";n.d(t,{P:function(){return s},S:function(){return a}});var r=n(20899),o=n(38049);const i=n.n(o)()("calypso:analytics:mc");function s(e,t){if("object"==typeof e?i("Bumping stats %o",e):i("Bumping stat %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&x_"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&x_"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom-no-pv"+n+"&t="+Math.random()}}function a(e,t){if("object"==typeof e?i("Bumping page view with props %o",e):i("Bumping page view %s:%s",e,t),"undefined"!=typeof window&&(0,r.ZP)("mc_analytics_enabled")){const n=function(e,t){let n="";if("object"==typeof e)for(const r in e)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(e[r]);else n="&"+encodeURIComponent(e)+"="+encodeURIComponent(t);return n}(e,t);(new window.Image).src=document.location.protocol+"//pixel.wp.com/g.gif?v=wpcom"+n+"&t="+Math.random()}}},66610:function(e,t,n){"use strict";n.d(t,{A:function(){return d}});var r=n(36115),o=n(79321),i=n(32985),s=n(46272),a=n(93513),u=n(11915),c=n(7369),l=n(44567),f=n(38602),p=n(5323);function d(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};setTimeout((()=>{n.device_type=(0,o.jv)(),(0,r.w2)(e,n),h(e,t,null==c?void 0:c.useJetpackGoogleAnalytics),(0,p.G)(),(0,u.Z)(),(0,a.n)(),(0,i.a)(e),(0,s.U)(),(0,f.V)()}),0)}async function h(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];await(0,c.Z)(),(0,l.eK)(e,t,n)}},38602:function(e,t,n){"use strict";n.d(t,{x:function(){return u},V:function(){return c}});var r=n(38049);const o=n.n(r)()("calypso:analytics:queue"),i={signup:()=>n.e(874).then(n.bind(n,48528))};function s(){if(!window.localStorage)return[];let e=window.localStorage.getItem("analyticsQueue");return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[],e}function a(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];"string"==typeof t&&"function"==typeof i[e]&&i[e]().then((e=>{"function"==typeof e[t]&&e[t].apply(null,r||void 0)}))}function u(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];if(!window.localStorage)return a(e,t,...r);let u=s();const c={moduleName:e,trigger:t,args:r};u.push(c),u=u.slice(-100),o("Adding new item to queue.",c),window.localStorage.setItem("analyticsQueue",JSON.stringify(u))}function c(){if(!window.localStorage)return;const e=s();window.localStorage&&window.localStorage.removeItem("analyticsQueue"),o("Processing items in queue.",e),e.forEach((e=>{"object"==typeof e&&"string"==typeof e.trigger&&(o("Processing item in queue.",e),a(e.moduleName,e.trigger,...e.args))}))}},5323:function(e,t,n){"use strict";n.d(t,{G:function(){return s}});var r=n(78920),o=n(39297),i=n(17032);function s(){if(!window||!window.location)return;const e=window.location.href,t=(0,r.Z)(e),n=(null==t?void 0:t.searchParams.get("aff"))||(null==t?void 0:t.searchParams.get("affiliate")),s=null==t?void 0:t.searchParams.get("cid"),a=null==t?void 0:t.searchParams.get("sid");n&&!isNaN(n)&&((0,i.recordTracksEvent)("calypso_refer_visit",{page:t.host+t.pathname}),(0,o.l)({affiliateId:n,campaignId:s,subId:a,referrer:e}))}},93513:function(e,t,n){"use strict";n.d(t,{n:function(){return d}});var r=n(36115),o=n(13421),i=n(38049),s=n.n(i),a=n(78920);const u=s()("calypso:analytics:sem"),c=["adgroupid","campaignid","device","gclid","gclsrc","fbclid","keyword","matchtype","network","type","term","utm_campaign","utm_content","utm_medium","utm_source","utm_term","targetid","locationid","ref","format"],l=new RegExp("^[a-zA-Z\\d_\\-]{1,128}$");function f(e,t){return-1!==c.indexOf(e)&&("utm_source"===e||"utm_campaign"===t?function(e){return l.test(e)}(t):function(e,t){return"gclid"===e?t.length<=100:"keyword"===e?t.length<=80:t.length<=50}(e,t))}function p(e,t){document.cookie=o.serialize(e,t,{path:"/",maxAge:31536e3,domain:"."+document.location.hostname.split(".").slice(-2).join(".")})}function d(){var e;if(!document.location.search)return void u("No query data in URL.");const t=null===(e=(0,a.Z)(document.location.href))||void 0===e?void 0:e.searchParams;let n=new URLSearchParams;if(t){const e=Array.from(t.entries()).filter((e=>{let[t,n]=e;return f(t,n)}));n=new URLSearchParams(e),t.get("amp_client_id")&&(0,r.lH)(["identifyAnonUser",t.get("amp_client_id")])}if(!n.get("utm_source")||!n.get("utm_campaign"))return void u("Missing utm_source or utm_campaign.");const o=n.toString();o&&(u("ad_details: "+o),p("ad_details",o),p("ad_timestamp",Math.floor((new Date).getTime()/1e3)))}},21058:function(e,t,n){"use strict";var r=n(20899),o=n(35899),i=n(36747),s=n(17014);t.Z=e=>t=>{const n=e.getState(),a={environment:"production",environment_id:(0,r.ZP)("env_id"),site_count:(0,i.bo)(n)||0,site_id_label:"wpcom",client:(0,r.ZP)("client_slug")},u=(0,o.Z)(t.path)?null:(0,s.Z)(n);return u&&Object.assign(a,{blog_id:u.ID,blog_lang:u.lang,site_id_label:u.jetpack?"jetpack":"wpcom",site_plan_id:u.plan?u.plan.product_id:null}),a}},39297:function(e,t,n){"use strict";n.d(t,{l:function(){return c}});var r=n(38049),o=n.n(r),i=n(92819),s=n(17032);const a=o()("calypso:analytics:refer"),u=["status","success","duplicate","description","cookie_id","vendor_id","affiliate_id","campaign_id","sub_id","referrer"];async function c(e){let{affiliateId:t,campaignId:n,subId:r,referrer:o}=e;a("Recording affiliate referral.",{affiliateId:t,campaignId:n,subId:r,referrer:o});const c={"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8",Accept:"application/json"},l=new URLSearchParams({affiliate_id:t,campaign_id:n||"",sub_id:r||"",referrer:o||""}).toString();a("Fetching Refer platform response.");try{const e=await window.fetch("https://refer.wordpress.com/clicks/67402",{credentials:"include",method:"POST",headers:c,body:l}),t=await e.json();if(e.ok)return a("Recording Refer platform success response.",t),void(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!0,description:t.message||"success"});a("Recording Refer platform error response.",t),(0,s.recordTracksEvent)("calypso_refer_visit_response",{...(0,i.pick)(t.data,u),status:e.status||"",success:t.success||!1,description:t.message||"error"})}catch(f){a("Failed to fetch Refer platform response.",f)}}},17032:function(e,t,n){"use strict";n.r(t),n.d(t,{tracksEvents:function(){return i},recordTracksEvent:function(){return s},recordTracksPageView:function(){return a},setTracksOptOut:function(){return u}});var r=n(22699),o=n(36115);const i=new r.EventEmitter;function s(e,t){o.MR.once("record-event",((e,t)=>{i.emit("record-event",e,t)})),(0,o.jN)(e,t)}function a(e,t){(0,o.P6)(e,t)}function u(e){(0,o.lH)(["setOptOut",e])}},87360:function(e,t,n){"use strict";var r=n(38049),o=n.n(r);t.Z=o()("calypso:analytics:utils")},1444:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(36115),o=n(20899),i=n(87360),s=n(32486),a=n(69874),u=n(43621);function c(){const e=o.ZP.isEnabled("ad-tracking")&&!(0,r.vX)()&&!(0,a.Z)()&&!(0,s.Z)()&&(0,u.Z)();return(0,i.Z)(`isAdTrackingAllowed: ${e}`),e}},76814:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","IS","LI","NO"];function o(e){return void 0!==e&&r.includes(e)}},32486:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87360);const o=["@","email=","email_address=","first=","last=","first-name=","last-name=","address-1=","phone="],i=o.map((e=>encodeURIComponent(e)));function s(){const e=document.location.href,t=t=>-1!==e.indexOf(t),n=o.some(t)||i.some(t);return(0,r.Z)(`Is PII URL: ${n}`),n}},69874:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87360);const o=["/log-in"];function i(){const{href:e}=document.location,t=o.some((t=>-1!==e.indexOf(t)));return(0,r.Z)(`Is URL Excluded for Performance: ${t}`),t}},81653:function(e,t){"use strict";t.Z="marketing-coupons"},43621:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(13421),o=n(87360),i=n(76814);function s(){let e=!1;const t=r.parse(document.cookie);if("yes"===t.sensitive_pixel_option)e=!0;else if("no"===t.sensitive_pixel_option)e=!1;else{const n=t.country_code;e=void 0!==n&&"unknown"!==n&&!(0,i.Z)(n)}return(0,o.Z)(`mayWeTrackCurrentUserGdpr: ${e}`),e}},7369:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(13421),o=n(87360);let i=null;async function s(){const e=r.parse(document.cookie);e.country_code?(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie is fresh: %s",e.country_code):(null===i&&(i=function(){const e=(new Date).getTime();return fetch("https://public-api.wordpress.com/geo/?v="+e).then((e=>e.ok?e.json():e.body().then((e=>{throw new Error(e)})))).then((e=>e.country_short)).catch((e=>((0,o.Z)("refreshCountryCodeCookieGdpr: error: ",e),"unknown")))}().then((e=>function(e){const t=21600;document.cookie=r.serialize("country_code",e,{path:"/",maxAge:t}),(0,o.Z)("refreshCountryCodeCookieGdpr: country_code cookie set to %s",e)}(e)))),await i,i=null)}},11915:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87360),o=n(81653),i=n(78920);function s(){const e=(0,i.Z)(window.location.href),t=null==e?void 0:e.searchParams.get("coupon");if(!t)return;let n=null;try{const e=window.localStorage.getItem(o.Z);n=JSON.parse(e)}catch(a){}n||(n={});const s=Date.now();(0,r.Z)("Found coupons in localStorage: ",n),n[t]=s,Object.keys(n).forEach((e=>{s>n[e]+6048e5&&delete n[e]}));try{(0,r.Z)("Storing coupons in localStorage: ",n),window.localStorage.setItem(o.Z,JSON.stringify(n))}catch(a){}}},35899:function(e,t){"use strict";const n=/\/(:site|:site_id|:siteid|:blogid|:blog_id|:siteslug)(\/|$|\?)/i;t.Z=e=>!e||!n.test(e)},78920:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87360);function o(e){const t={"-":"+",_:"/",".":"="};return window.atob(e.replace(/[-_.]/g,(e=>t[e])))}function i(e){try{const t=new URL(e);if((0,r.Z)("urlParseAmpCompatible: original query:",t.search),t.searchParams.has("tk_amp")){const e=function(e){if(0===(e=e.split("*").filter((e=>e.length)).slice(2)).length||0!=e.length%2)return null;const t={};for(let n=0;n<e.length;n+=2)t[e[n]]=o(e[n+1]);return t}(t.searchParams.get("tk_amp"));(0,r.Z)("urlParseAmpCompatible: tk_amp:",e);for(const n of Object.keys(e))t.searchParams.has(n)||t.searchParams.set(n,e[n])}return(0,r.Z)("urlParseAmpCompatible: merged query:",t.search),t}catch{return null}}},32919:function(e,t,n){"use strict";n.d(t,{B$:function(){return s}});var r=n(38049);const o=n.n(r)()("calypso:support-user"),i=new Map;async function s(){o("browser-storage bypass","clearStorage"),i.clear()}},66651:function(e,t,n){"use strict";n.d(t,{B$:function(){return P}});var r,o=n(20899),i=n(38049),s=n.n(i),a=n(92819),u=n(7689),c=n(47824),l=n(32919);const f=s()("calypso:browser-storage");let p=!1,d=!1;const h="calypso",g="calypso_store",m="browser-storage-sanity-test",y=o.ZP.isEnabled("safari-idb-mitigation")&&"undefined"!=typeof window&&!(null===(r=window.IDBKeyRange)||void 0===r||!r.lowerBound(0).includes)&&!!window.webkitAudioContext&&!!window.PointerEvent;f("Safari IDB mitigation active: %s",y);const v=(0,c.I)((async()=>{if("undefined"==typeof window||!window.indexedDB)return f("IDB not found in host"),!1;if(d)return f("IDB disabled"),!1;try{const e=Date.now().toString();return await C(m,e),await w(m),!0}catch(e){return!1}})),b=(0,c.I)((()=>{const e=window.indexedDB.open(h,2);return new Promise(((t,n)=>{try{e&&(e.onerror=t=>{e.error&&"InvalidStateError"===e.error.name&&t.preventDefault(),n(e.error)},e.onsuccess=()=>{const n=e.result;n.onerror=function(e){var t,n;f("IDB Error",e),null!==(t=e.target)&&void 0!==t&&null!==(n=t.error)&&void 0!==n&&n.name&&((0,u.P)("calypso-browser-storage",(0,a.kebabCase)(e.target.error.name)),"QuotaExceededError"===e.target.error.name&&(d=!0,v.clear(),f("disabling IDB because we saw a QuotaExceededError")))},n.onversionchange=()=>{n.close()},t(n)},e.onupgradeneeded=()=>e.result.createObjectStore(g))}catch(r){n(r)}}))}));function w(e){return new Promise(((t,n)=>{b().then((r=>{const o=r.transaction(g,"readonly"),i=o.objectStore(g).get(e),s=()=>n(o.error);o.oncomplete=()=>t(i.result),o.onabort=s,o.onerror=s})).catch((e=>n(e)))}))}function _(e){return b().then((t=>new Promise(((n,r)=>{const o={},i=t.transaction(g,"readonly"),s=()=>r(i.error);i.objectStore(g).openCursor().onsuccess=t=>{const r=t.target.result;if(r){const{primaryKey:t,value:n}=r;!t||"string"!=typeof t||t===m||e&&!e.test(t)||(o[t]=n),r.continue()}else n(o)},i.onabort=s,i.onerror=s}))))}let E=0,S=null;async function C(e,t){return S&&await S,y&&++E%20==0&&await async function(){if(S)return S;return f("performing safari idb mitigation"),S=async function(){const e=await _();return await function(){return new Promise(((e,t)=>{const n=window.indexedDB.deleteDatabase(h);n.onsuccess=()=>{b.clear(),e()},n.onerror=e=>t(e)}))}(),new Promise(((t,n)=>{b().then((r=>{const o=r.transaction(g,"readwrite"),i=o.objectStore(g);for(let[t,n]of Object.entries(e))i.put(n,t);const s=()=>t(),a=()=>n(o.error);o.oncomplete=s,o.onabort=a,o.onerror=a}),(e=>n(e)))}))}(),S.finally((()=>{S=null,f("idb mitigation complete")})),S}(),new Promise(((n,r)=>{b().then((async o=>{const i=o.transaction(g,"readwrite");i.objectStore(g).put(t,e);const s=()=>r(i.error);i.oncomplete=()=>n(),i.onabort=s,i.onerror=s})).catch((e=>r(e)))}))}async function P(){if(p)return await(0,l.B$)();if(await v())return await new Promise(((e,t)=>{b().then((n=>{const r=n.transaction(g,"readwrite");r.objectStore(g).clear();const o=()=>t(r.error);r.oncomplete=()=>e(),r.onabort=o,r.onerror=o})).catch((e=>t(e)))}));window.localStorage.clear()}},94776:function(e,t,n){"use strict";n.d(t,{b:function(){return r}});function r(){return"undefined"!=typeof navigator&&navigator.userAgent.includes("wp-e2e-tests")}},50118:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(24050);function o(e){return"string"!=typeof e||-1===e.indexOf("&")?e:(0,r.Z)(e)}},24050:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=document.implementation&&document.implementation.createHTMLDocument?document.implementation.createHTMLDocument("").createElement("textarea"):document.createElement("textarea");function o(e){r.innerHTML=e;const t=r.textContent;return r.innerHTML="",t}},93345:function(e,t,n){"use strict";n.d(t,{R:function(){return o}});var r=n(99196);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return s("string"==typeof e?e.trim():e,Math.max(1,t-1)).part}const i=/\s+(\S*)$/;function s(e,t){let n=0;if("string"==typeof e&&e.length>0){let r=e,o="";for(;n<t&&i.test(r);){o=" "+i.exec(r)[1]+o,r=r.replace(i,""),n++}return o=r+o,{part:o,substituted:n}}if(Array.isArray(e)&&e.length>0){let r=[],o=e.length-1;for(;n<t&&o>=0;){const i=s(e[o],t-n);r.unshift(i.part),n+=i.substituted,o--}return r=e.slice(0,o+1).concat(r),{part:r,substituted:n}}if((0,r.isValidElement)(e)&&e.props.children){const o=s(e.props.children,t);if(o.substituted>0){const t=Array.isArray(o.part)?o.part:[o.part];return{part:(0,r.cloneElement)(e,e.props,...t),substituted:o.substituted}}return{part:e,substituted:n}}return{part:e,substituted:n}}},8165:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r=n(33927),o=n.n(r);function i(e){return o()(e)}},284:function(e,t,n){"use strict";n.d(t,{HX:function(){return r},fh:function(){return o}});const r="G Suite",o="Google Workspace"},96598:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(10128),o=n(284);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,r.M)(e)?o.HX:o.fh}},26991:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var r=n(11481);const o=()=>r.ZP.getLocaleSlug()},9415:function(e,t,n){"use strict";var r=n(20899);const o=["jetpack-cloud-development","jetpack-cloud-stage","jetpack-cloud-horizon","jetpack-cloud-production"];t.Z=()=>o.includes((0,r.ZP)("env_id"))},16771:function(e,t,n){"use strict";n.d(t,{t:function(){return s}});var r=n(84898),o=n(38049);const i=n.n(o)()("lib/load-jquery-dependent-script-desktop-wrapper");function s(e,t){i(`Loading a jQuery dependent script from "${e}"`),(0,r.D1)(e,t)}},47824:function(e,t,n){"use strict";function r(e){return function(e){let t,n;const r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.length===t.length&&o.every(((e,n)=>e===t[n]))||(t=o,n=e(...o)),n};return r.clear=()=>{t=void 0,n=void 0},r}(e)}n.d(t,{I:function(){return r}})},7268:function(e,t,n){"use strict";n.d(t,{LP:function(){return a}});var r=n(13421),o=n(23729),i=n.n(o);const s="wpcom_token";function a(){const e=r.parse(document.cookie);if(void 0!==e.wpcom_token)return e.wpcom_token;const t=i().get(s);return t||!1}},26347:function(e,t,n){"use strict";n.d(t,{Nf:function(){return r.N}});var r=n(65337)},65337:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var r=n(20899),o=n(9415);function i(){return(0,o.Z)()?(0,r.ZP)("jetpack_connect_url"):(0,r.ZP)("signup_url")}},77804:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);function o(e){const t=!(!(0,r.get)(e,"discover_metadata")&&53424024!==(0,r.get)(e,"site_ID"));let n;if(t){const t=(0,r.get)(e,"discover_metadata.discover_fp_post_formats"),o=(0,r.find)(t,(e=>"pick"!==e.slug));n=o?o.slug:"feature"}return e.is_discover=t,e.discover_format=n,e}},53544:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(17451),o=n.n(r),i=n(92819),s=n(99891),a=n(59755),u=n(54855),c=n(95822);const l=e=>{if(function(e){if(!e||!e.getAttribute("src"))return!1;const t=e.getAttribute("src"),n=(0,i.some)(["gravatar.com","/wpcom-smileys/"],(e=>(0,i.includes)(t.toLowerCase(),e)));return!(function(e){if(!e||!e.src)return!1;const t=e.height+e.width;return 1===t||2===t}(e)||n)}(e)){const{width:t,height:n}=(0,a.H)(e)||{width:0,height:0};return{src:(0,u.E)(e.getAttribute("src"),s.fY),width:t,height:n,mediaType:"image"}}return!1},f=e=>{const t=o()(e.src);if(t&&(0,i.includes)(["youtube","vimeo","videopress"],t.service)){const t=e.cloneNode();return-1===t.src.indexOf("?")?t.src+="?autoplay=1":t.src+="&autoplay=1",t.outerHTML}return null},p=e=>{let t,n=e;do{if(n.className&&(t=n.className.match(/\bembed-([-a-zA-Z0-9_]+)\b/),t))return t[1]}while(n=n.parentNode);return null};function d(e,t){const n=t.querySelectorAll("img[src], iframe"),r=(0,i.map)(n,(e=>{const t=e.nodeName.toLowerCase();return"iframe"===t?(e=>{if(!(0,c.p)(e))return!1;const t=Number(e.width),n=Number(e.height),r=t/n;return{type:p(e),src:e.src,iframe:e.outerHTML,aspectRatio:r,width:t,height:n,mediaType:"video",autoplayIframe:f(e)}})(e):"img"===t&&l(e)}));return e.content_media=(0,i.compact)(r),e.content_embeds=(0,i.filter)(e.content_media,(e=>"video"===e.mediaType)),e.content_images=(0,i.filter)(e.content_media,(e=>"image"===e.mediaType)),e.featured_image&&(e.featured_image=(0,u.E)(e.featured_image,s.fY)),e}},10363:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(11481),o=n(92819),i=n(6964);const s=['a[href^="http://polldaddy.com/poll/"]','a[href^="https://polldaddy.com/poll/"]','a[href^="http://poll.fm/"]','a[href^="https://poll.fm/"]','a[href^="http://survey.fm/"]','a[href^="https://survey.fm/"]'];function a(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("noscript");return(0,o.forEach)(n,(e=>{if(!e.firstChild)return;const t=(0,i.j)(e.innerHTML).querySelector(s.join(", "));if(t){const n=(t.href.match(/https?:\/\/(polldaddy\.com\/poll|poll\.fm|survey\.fm)\/([0-9]+)/)||[])[2];if(n){const t=document.createElement("p");t.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://poll.fm/'+n+'">'+r.ZP.translate("Take our poll")+"</a>",e.parentNode.replaceChild(t,e)}}})),e}},37183:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(11481),o=n(92819);function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(".pd-embed, .cs-embed");return n?((0,o.forEach)(n,(e=>{let t=null;try{t=JSON.parse(e.getAttribute("data-settings"))}catch(s){return}const{domain:n,id:o}=t;if(!n||!o)return;const i=document.createElement("p");i.innerHTML='<a target="_blank" rel="external noopener noreferrer" href="https://'+n+o+'">'+r.ZP.translate("Take our survey")+"</a>",e.parentNode.replaceChild(i,e)})),e):e}},40691:function(e,t,n){"use strict";n.d(t,{Y:function(){return o},b:function(){return i}});var r=n(6261);function o(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("audio, video").forEach((e=>e.autoplay=!1)),e}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");return t.querySelectorAll("iframe").forEach((e=>{const t=(0,r.A)(e.src);t.search&&(t.searchParams=function(e){const t=new URLSearchParams(e);return(Array.from(e.keys()).filter((e=>/^auto_?play$/i.test(e)))||[]).forEach((n=>{const r=e.get(n).toLowerCase();"1"===r?t.set(n,"0"):"true"===r?t.set(n,"false"):t.set(n,r)})),t}(t.searchParams),delete t.search,e.src=(0,r.C)(t).href)})),e}},17431:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);function o(e,t){const n=t.querySelectorAll(".tiled-gallery");return(0,r.forEach)(n,(t=>{let n,o=(0,r.get)(t,["dataset","carouselExtra"],!1);if(!o&&(o=t.getAttribute("data-carousel-extra"),!o))return e;try{n=JSON.parse(o).permalink}catch(s){return e}const i=t.querySelectorAll(".tiled-gallery-item > a");(0,r.forEach)(i,(e=>{const t=e.querySelector("img"),r=t&&t.getAttribute("data-attachment-id");r&&(e.href=n+"#jp-carousel-"+r,e.setAttribute("target","_blank"))}))})),e}},50917:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(6261),o=n(92819),i=n(95822);function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll("iframe");if((0,o.forEach)(n,(function(e){(0,o.startsWith)(e.src,"http")?(e.src=e.src.replace(/^http:/,"https:"),!function(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["spotify.com","kickstarter.com","soundcloud.com","embed.ted.com","player.twitch.tv"],(e=>`.${n}`.endsWith("."+e)))}(e)?(0,i.p)(e)?e.setAttribute("sandbox","allow-same-origin allow-scripts allow-popups"):e.setAttribute("sandbox","allow-scripts"):e.removeAttribute("sandbox")):e.parentNode.removeChild(e)})),e.is_external||e.is_jetpack){const e=t.querySelectorAll("embed,object");(0,o.forEach)(e,(function(e){e.parentNode.removeChild(e)}))}return e}},30757:function(e,t,n){"use strict";var r=n(6261),o=n(94668),i=n(92819),s=n(70353),a=n(54855);function u(e,t,n){let u=t.getAttribute("src");const c=(0,r.A)(u);if(!c.hostname){const t=(0,r.A)(e.URL);u=(0,r.C)({protocol:t.protocol,host:t.host,pathname:(0,s.Z)(t.pathname,c.pathname)}).href}let l=n?(0,a.E)((0,o.F)(u),n):(0,o.F)(u);if(l||(u=function(e,t){const n=(0,r.A)(e.URL);return t.startsWith("//")?`${n.protocol||"https:"}${t}`:t}(e,u)),!l&&(0,i.startsWith)(u,"https://")&&(l=u),(e=>{if(!e||!e.hasAttributes())return;(0,i.filter)(e.attributes,(e=>(0,i.startsWith)(e.name,"on"))).forEach((t=>e.removeAttribute(t.name))),e.removeAttribute("srcset")})(t),!l||(e=>{if(!e)return;return(0,i.some)(["feeds.feedburner.com","feeds.wordpress.com/",".feedsportal.com","wp-includes","wp-content/themes","wp-content/plugins","stats.wordpress.com","pixel.wp.com"],(t=>(0,i.includes)(e.toLowerCase(),t)))})(u))return t.parentNode.removeChild(t),void t.setAttribute("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");t.setAttribute("src",l)}t.Z=e=>(t,n)=>{if(!n)throw new Error("this transform must be used as part of withContentDOM");const r=n.querySelectorAll("img[src]");return(0,i.forEach)(r,(n=>u(t,n,e))),t}},51088:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(48265);function i(e,t){const n=Array.from(t.querySelectorAll("a[href]"));return(0,r.forEach)(n,(e=>{o.G.test(e.href)||e.removeAttribute("href")})),e}},64e3:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819);const o=[".sharedaddy","script",".jp-relatedposts",".jp-relatedposts-headline",".mc4wp-form",".wpcnt",".OUTBRAIN",".adsbygoogle","form","input","select","button","textarea"].join(", ");function i(e){e.parentNode&&e.parentNode.removeChild(e)}function s(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n=t.querySelectorAll(o);return(0,r.forEach)(n,i),e}},42347:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819);function o(e,t){const n=Element.prototype,r=n.matches||n.webkitMatchesSelector||n.mozMatchesSelector||n.msMatchesSelector;return!!r&&r.call(e,t)}function i(e,t){if(!t)throw new Error("this transform must be used as part of withContentDOM");const n='.gallery, .gallery *, .gallery-row, .gallery-row *, .gallery-group, .gallery-group *, blockquote[class^="instagram-"], blockquote[class^="instagram-"] *, blockquote[class^="twitter-"], blockquote[class^="twitter-"] *',i=t.querySelectorAll("[style]");return(0,r.forEach)(i,(function(e){o(e,n)||e.removeAttribute("style")})),(0,r.forEach)(t.querySelectorAll("style"),(function(e){o(e,n)||e.parentNode&&e.parentNode.removeChild(e)})),(0,r.forEach)(t.querySelectorAll("[align]"),(e=>{"IMG"!==e.tagName&&e.removeAttribute("align")})),e}},47401:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(92819),o=n(33927),i=n.n(o),s=n(6964);function a(e){e.parentNode&&e.parentNode.removeChild(e)}function u(e){return 0===e.childNodes.length?"BR"===e.nodeName&&e:u(e.firstChild)}function c(e){if(!e)return"";const t=(0,s.j)(i()(e,["p","br","sup","sub"]));t.id="__better_excerpt__",Array.from(t.querySelectorAll("p")).filter((e=>0===(0,r.trim)(e.textContent).length)).forEach(a),Array.from(t.querySelectorAll("p")).forEach((e=>{e.removeAttribute("style"),e.removeAttribute("align")})),function(e){if(e)for(;u(e);)a(u(e))}(t),(0,r.forEach)(t.querySelectorAll("#__better_excerpt__ > p, #__better_excerpt__ > br"),(function(e,t){t>=3&&e.parentNode&&e.parentNode.removeChild(e)}));const n=(0,r.trim)(t.innerHTML.replace(/ /g," "));return t.innerHTML="",n}function l(e){if(!e||!e.content)return e;const t=function(e){const t=(0,s.j)(e);return(0,r.forEach)(t.querySelectorAll('.wp-caption, style, script, blockquote[class^="instagram-"], figure, .tiled-gallery'),a),t.innerHTML}(e.content);if(e.content_no_html=(0,r.trim)(i()(t)),e.better_excerpt=c(t),e.better_excerpt_no_html=(0,r.trim)(i()(e.better_excerpt)),e.better_excerpt_no_html){let t=e.better_excerpt_no_html.replace(/\[...\]\w*$/,"…");if(t.length>160){const e=t.lastIndexOf(" ",160);t=t.substring(0,e)+"…"}e.short_excerpt=t}return e}},12800:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(94668),o=n(50118);const i=["excerpt","title","site_name"];function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t.forEach((function(t){e[t]&&(e[t]=(0,o.S)(e[t]))})),e.title=(0,o.S)(e.title),e.parent&&e.parent.title&&(e.parent.title=(0,o.S)(e.parent.title)),e.author&&(e.author.name&&(e.author.name=(0,o.S)(e.author.name)),e.author.avatar_URL&&(e.author.avatar_URL=(0,r.F)(e.author.avatar_URL))),e.tags&&Object.values(e.tags).forEach((function(e){e.name=(0,o.S)(e.name)})),e}},31564:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(94668),o=n(92819);function i(e,t){return function(n){const i=(s=e,a=t,function(e){return e.width>=s&&e.height>=a&&(0,r.F)(e.src)});var s,a;return n.images&&(n.images=(0,o.filter)(n.images,i)),n.content_images&&(n.content_images=(0,o.filter)(n.content_images,i)),n}}},91410:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(48265);function o(e){return e&&e.URL&&!r.G.test(e.URL)&&(e.URL=""),e&&e.short_URL&&!r.G.test(e.short_URL)&&(e.short_URL=""),e}},21036:function(e,t,n){"use strict";function r(e){return e.site_id&&(e.normalized_site_id=(""+e.site_id).replace(/::/g,"/")),e}n.d(t,{Z:function(){return r}})},53317:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),o=n(15721),i=n(75209);function s(e){let t;if((0,o.J)(e.post_thumbnail)){const{URL:n,width:r,height:o}=e.post_thumbnail;t={uri:n,width:r,height:o}}else if(e.content_images&&e.content_images.length){const n=(0,r.find)(e.content_images,i.O);n&&(t={uri:n.src,width:n.width,height:n.height})}return t&&(e.canonical_image=t),e}},66184:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(94668),o=n(92819),i=n(48098);function s(e){if(!e)return!1;const t=100<=e.width,n=75<=e.height;return t&&n}function a(e){return!!e&&("image"===e.mediaType?s(e)&&(0,r.F)(e.src):"video"===e.mediaType&&e.autoplayIframe)}function u(e){if(!e)return e;if((0,i.E)(e.featured_image)&&(!e.post_thumbnail&&e.is_jetpack||s(e.post_thumbnail))&&(0,r.F)(e.featured_image))return e.canonical_media={src:e.featured_image,height:(0,o.get)(e,"post_thumbnail.height"),width:(0,o.get)(e,"post_thumbnail.width"),mediaType:"image"},e;const t=(0,o.find)(e.content_media,a);return t&&(e.canonical_media=t),e}},49147:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);function o(e){const t=(0,r.maxBy)((0,r.values)(e.tags),(function(e){return e.post_count}));return void 0!==t&&(e.primary_tag=t),e}},59654:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(93345);function i(e){return(0,r.forEach)(["excerpt"],(function(t){e[t]&&(e[t]=(0,o.R)(e[t],2))})),e}},36003:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(65956);function i(e){return function(t){return(0,o.O)(t.author,"avatar_URL",e),(0,o.O)(t,"featured_image",e,t.URL),t.post_thumbnail&&(0,o.O)(t.post_thumbnail,"URL",e,t.URL),t.featured_media&&"image"===t.featured_media.type&&(0,o.O)(t.featured_media,"uri",e,t.URL),t.canonical_image&&t.canonical_image.uri&&(0,o.O)(t.canonical_image,"uri",e,t.URL),t.attachments&&Object.values(t.attachments).forEach((function(n){(0,r.startsWith)(n.mime_type,"image/")&&(0,o.O)(n,"URL",e,t.URL)})),t}}},60566:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(8165);function i(e){return(0,r.forEach)(["excerpt","title","site_name"],(function(t){e[t]&&(e[t]=(0,o.C)(e[t]))})),e.author&&e.author.name&&(e.author.name=(0,o.C)(e.author.name)),e}},75659:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(38049),o=n.n(r),i=n(92819),s=n(59755),a=n(15721);const u=o()("calypso:post-normalizer:wait-for-images-to-load");function c(e){const t={src:e.src,width:e.naturalWidth,height:e.naturalHeight};return e instanceof Image&&e.complete&&(t.fetched=!0),t}function l(e){return new Promise((t=>{const n={},r=[];function o(t,o){let i=t&&(0,s.H)(t);if(!i&&e.attachments){const t=Object.values(e.attachments).find((t=>t.URL===e.featured_image));t&&(i=(0,s.H)(t))}i&&(n[o]={src:o,naturalWidth:i.width,naturalHeight:i.height}),r.push(o)}if((0,a.J)(e.post_thumbnail)?o(e.post_thumbnail,e.post_thumbnail.URL):e.featured_image&&o(null,e.featured_image),(0,i.forEach)(e.content_images,(e=>o(e,e.src))),0===r.length)return void t(e);const l={};let f=r.slice(0,10).map((e=>{return e in n?Promise.resolve(n[e]):(t=function(e){const t=new Image;return t.src=e,t}(e),t.complete&&t.naturalWidth>0?Promise.resolve(t):new Promise(((e,n)=>{t.onload=()=>e(t),t.onerror=()=>n(t)})));var t}));f.forEach((n=>{n.then((e=>{l[e.src]=e})).catch((t=>(u("failed to load image",t,e),null))).then((()=>{if(f=f.filter((e=>e!==n)),0===f.length){const n=r.map((e=>l[e])).filter(Boolean);o=n,e.featured_image&&(o.some((t=>t.src===e.featured_image))||(e.featured_image=null)),e.images=o.map(c),e.content_images=(0,i.map)(e.content_images,(t=>e.images.find((e=>e.src===t.src)))).filter(Boolean),e.content_media=(0,i.map)(e.content_media,(t=>{if("image"===t.mediaType){const n=e.images.find((e=>e.src===t.src));return{...t,...n}}return t})),t(e)}var o})).catch((e=>{u("Fulfilling promise failed",e)}))}))}))}},55454:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(6964);function i(e){return function(t){if(!t||!t.content||!e)return t;const n=(0,o.j)(t.content);return(t=(0,r.reduce)(e,((e,t)=>t(e,n)),t)).content=n.innerHTML,n.innerHTML="",t}}},59755:function(e,t,n){"use strict";function r(e){if(e.height&&e.width)return{height:e.height,width:e.width};if(e.naturalHeight&&e.naturalWidth)return{height:e.naturalHeight,width:e.naturalWidth};if(e.dataset&&e.dataset.origSize){const[t,n]=e.dataset.origSize.split(",").map(Number);return{width:t,height:n}}return null}n.d(t,{H:function(){return r}})},6964:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof DOMParser&&window.DOMParser.prototype.parseFromString){const t=(new window.DOMParser).parseFromString(e,"text/html");if(t&&t.body)return t.body}const t=document.implementation.createHTMLDocument("processing doc").createElement("div");return t.innerHTML=e,t}n.d(t,{j:function(){return r}})},95822:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(6261),o=n(92819);function i(e){const t=e.src&&(0,r.A)(e.src).hostname,n=t&&t.toLowerCase();return(0,o.some)(["youtube.com","youtube-nocookie.com","videopress.com","video.wordpress.com","vimeo.com","cloudup.com","soundcloud.com","8tracks.com","spotify.com","me.sh","bandcamp.com","kickstarter.com","facebook.com","embed.itunes.apple.com","nyt.com","google.com","mixcloud.com","players.brightcove.net","embed.ted.com","fast.wistia.net","player.twitch.tv","archive.org","codepen.io","www.audiomack.com","player.theplatform.com","embed.radiopublic.com","gfycat.com","scribd.com","megaphone.fm","icloud.com","read.amazon.com","loom.com"],(function(e){return`.${n}`.endsWith("."+e)}))}},75209:function(e,t,n){"use strict";function r(e){return!!e&&(!(e.width<100)&&!(e.width*e.height<7500))}n.d(t,{O:function(){return r}})},48098:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(6261),o=n(92819);function i(e){if(!e)return!1;const t=(0,r.A)(e).pathname;return(0,o.some)([".jpg",".jpeg",".png",".gif"],(e=>t.endsWith(e)))}},65956:function(e,t,n){"use strict";n.d(t,{O:function(){return a}});var r=n(6261),o=n(94668),i=n(54855),s=n(70353);function a(e,t,n,a){if(e&&e[t]){const u=(0,r.A)(e[t]);if(a&&!u.hostname){const{pathname:n}=(0,r.A)(a),o=(0,s.Z)(n,e[t]);e[t]=(0,r.C)({...u,protocol:a.protocol,hostname:a.hostname,pathname:o}).href}e[t]=(0,o.F)(e[t]),n&&(e[t]=(0,i.E)(e[t],n))}}},54855:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var r=n(6261),o=n(4174),i=n(78038);const s="undefined"!=typeof window&&window.devicePixelRatio&&window.devicePixelRatio>1?2:1,a={photon:/(^[is]\d\.wp\.com|(^|\.)wordpress\.com)$/,gravatar:/(^|\.)gravatar\.com$/};function u(e,t){if(!e)return e;const n=(0,r.A)(e),u=(0,o.D)(e);if(!n.host)return e;const c=Object.keys(a).find((e=>n.hostname.match(a[e])));delete n.search;for(const r of["h","crop","resize","fit"])n.searchParams.delete(r);const l="gravatar"===c?"s":"w";n.searchParams.set(l,t*s),"gravatar"!==c&&(n.searchParams.set("quality",80),n.searchParams.set("strip","info"));const f=Array.from(n.searchParams.keys()).sort(),p=new URLSearchParams;f.forEach((e=>p.set(e,n.searchParams.get(e))));const d=(0,r.C)({...n,protocol:n.protocol||"https:",searchParams:p}).href;try{return(0,i.Z)(d,u)}catch{return d}}},48265:function(e,t,n){"use strict";n.d(t,{G:function(){return r},m:function(){return o}});const r=/^https?:\/\//;function o(e){if(r.test(e))return e}},15721:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(48098);function o(e){return!(!e||!e.URL)&&(0,r.E)(e.URL)}},29950:function(e,t,n){"use strict";n.d(t,{W:function(){return i}});var r=n(92819);function o(e){const t={id:Number(e.ID),active:Boolean(e.active),amount:Number(e.amount),attachedToPurchaseId:Number(e.attached_to_purchase_id),billPeriodDays:Number(e.bill_period_days),billPeriodLabel:e.bill_period_label,mostRecentRenewDate:e.most_recent_renew_date,canDisableAutoRenew:Boolean(e.can_disable_auto_renew),canReenableAutoRenewal:Boolean(e.can_reenable_auto_renewal),canExplicitRenew:Boolean(e.can_explicit_renew),costToUnbundle:e.cost_to_unbundle?Number(e.cost_to_unbundle):Number(e.amount),costToUnbundleText:e.cost_to_unbundle_display?e.cost_to_unbundle_display:e.price_text,currencyCode:e.currency_code,currencySymbol:e.currency_symbol,description:e.description,domain:e.domain,domainRegistrationAgreementUrl:e.domain_registration_agreement_url||null,error:null,blogCreatedDate:e.blog_created_date,expiryDate:e.expiry_date,expiryStatus:(0,r.camelCase)(e.expiry_status),iapPurchaseManagementLink:e.iap_purchase_management_link,includedDomain:e.included_domain,includedDomainPurchaseAmount:e.included_domain_purchase_amount,introductoryOffer:e.introductory_offer?{costPerInterval:Number(e.introductory_offer.cost_per_interval),endDate:String(e.introductory_offer.end_date),intervalCount:Number(e.introductory_offer.interval_count),intervalUnit:String(e.introductory_offer.interval_unit),isWithinPeriod:Boolean(e.introductory_offer.is_within_period),transitionAfterRenewalCount:Number(e.introductory_offer.transition_after_renewal_count),isNextRenewalUsingOffer:Boolean(e.introductory_offer.is_next_renewal_using_offer),remainingRenewalsUsingOffer:Number(e.introductory_offer.remaining_renewals_using_offer),shouldProrateWhenOfferEnds:Boolean(e.introductory_offer.should_prorate_when_offer_ends),isNextRenewalProrated:Boolean(e.introductory_offer.is_next_renewal_prorated)}:null,isCancelable:Boolean(e.is_cancelable),isDomainRegistration:Boolean(e.is_domain_registration),isLocked:Boolean(e.is_locked),isInAppPurchase:Boolean(e.is_iap_purchase),isRechargeable:Boolean(e.is_rechargable),isRefundable:Boolean(e.is_refundable),isRenewable:Boolean(e.is_renewable),isRenewal:Boolean(e.is_renewal),meta:e.meta,priceText:e.price_text,partnerName:e.partner_name,partnerSlug:e.partner_slug,partnerKeyId:e.partner_key_id,payment:{name:e.payment_name,type:e.payment_type,countryCode:e.payment_country_code,countryName:e.payment_country_name,storedDetailsId:e.stored_details_id},pendingTransfer:Boolean(e.pending_transfer),productId:Number(e.product_id),productName:e.product_name,productSlug:e.product_slug,productDisplayPrice:e.product_display_price,totalRefundAmount:Number(e.total_refund_amount),totalRefundText:e.total_refund_text,refundAmount:Number(e.refund_amount),refundOptions:e.refund_options,refundText:e.refund_text,refundPeriodInDays:e.refund_period_in_days,regularPriceText:e.regular_price_text,renewDate:e.renew_date,saleAmount:e.sale_amount,siteId:Number(e.blog_id),siteName:e.blogname,subscribedDate:e.subscribed_date,subscriptionStatus:e.subscription_status,tagLine:e.tag_line,taxAmount:e.tax_amount,taxText:e.tax_text,purchaseRenewalQuantity:e.renewal_price_tier_usage_quantity||null,userId:Number(e.user_id),isAutoRenewEnabled:"1"===e.auto_renew};return"credit_card"===e.payment_type&&(t.payment.creditCard={id:Number(e.payment_card_id),type:e.payment_card_type,processor:e.payment_card_processor,number:e.payment_details,expiryDate:e.payment_expiry}),"paypal_direct"===e.payment_type&&(t.payment.expiryDate=e.payment_expiry),t}function i(e){return Array.isArray(e)?e.map(o):[]}},2623:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(37754);const s="__DELETE",a=new WeakMap,u=[];class c{constructor(e,t){this.data=Object.assign({items:{},queries:{}},e),this.options=Object.assign({itemKey:"ID"},t)}static mergeItem(e,t){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){if(t.__DELETE)return;return Object.assign({},e,t)}return t}static matches(e,t){return!!t}static compare(e,t,n){return t===n?0:n-t}static sort(e,t,n){e.sort(((e,r)=>t[e]&&t[r]?this.compare(n,t[e],t[r]):0))}getItem(e){return this.data.items[e]}getItems(e){let t=null;if(e){var n;const r=this.constructor.QueryKey.stringify(e);if(t=null===(n=this.data.queries[r])||void 0===n?void 0:n.itemKeys,!t)return null}return function(e,t){let n=a.get(e);if(n||(n=new WeakMap,a.set(e,n)),null==t){let t=n.get(u);return t||(t=(0,o.values)(e),n.set(u,t)),t}let r=n.get(t);return r||(r=t.map((t=>e[t])),n.set(t,r)),r}(this.data.items,t)}getFound(e){const t=this.constructor.QueryKey.stringify(e);return(0,o.get)(this.data.queries,[t,"found"],null)}removeItem(e){return this.removeItems([e])}removeItems(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return this.receive(e.map((e=>({[this.options.itemKey]:e,[s]:!0}))),{patch:!0})}receive(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Array.isArray(e)||(e=[e]);const n=(0,o.reduce)(e,((e,n)=>{const r=n[this.options.itemKey],i=this.getItem(r),s=this.constructor.mergeItem(i,n,t.patch);return void 0===s?i?(0,o.omit)(e,r):e:(i&&(0,o.isEqual)(s,i)||(e===this.data.items&&(e=(0,o.clone)(e)),e[r]=s),e)}),this.data.items);let r,i=n!==this.data.items,s=this.data.queries,a=!1;if(!i&&!t.query)return this;if(t.query){const n=(0,o.map)(e,this.options.itemKey);let u,c;if(r=this.constructor.QueryKey.stringify(t.query),a=!this.data.queries[r],!a&&(0,o.isEqual)(this.data.queries[r].itemKeys,n)||(u=t.mergeQuery&&!a?(0,o.difference)(this.data.queries[r].itemKeys,n):n),t.found>=0&&t.found!==(0,o.get)(s,[r,"found"])&&(c=t.found),u||c>=0){i=!0;const e=Object.assign({},s[r]);u&&(e.itemKeys=u),c>=0&&(e.found=c),s=Object.assign({},s,{[r]:e})}}return s=(0,o.reduce)(s,((s,u,c)=>{s[c]=u;const l=r&&r===c;if(l&&(a||!t.mergeQuery))return s;if(!l&&t.dontShareQueryResultsWhenQueriesAreDifferent)return s;const f=!l,p=this.constructor.QueryKey.parse(c);let d=!1;return e.forEach((e=>{const t=e[this.options.itemKey],r=n[t],i=s[c].itemKeys.indexOf(t);-1!==i?r&&this.constructor.matches(p,r)||(s[c]===u&&(s[c]=(0,o.clone)(u)),s[c].itemKeys=[...s[c].itemKeys.slice(0,i),...s[c].itemKeys.slice(i+1)],f&&Number.isFinite(s[c].found)&&s[c].found--):r&&this.constructor.matches(p,r)&&(s[c]===u&&(s[c]=(0,o.clone)(u)),f&&Number.isFinite(s[c].found)&&s[c].found++,s[c].itemKeys=(0,o.get)(s,[c,"itemKeys"],[]).concat(t),d=!0)})),d&&this.constructor.sort(s[c].itemKeys,n,p),i=i||s[c]!==u,s}),{}),i?new this.constructor(Object.assign({},this.data,{items:n,queries:s}),this.options):this}}(0,r.Z)(c,"QueryKey",i.Z)},37754:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(56666),o=n(92819);class i{static omit(e){const{OMIT_NULL_VALUES:t,DEFAULT_QUERY:n}=this;return t||n?(0,o.omitBy)(e,((e,r)=>!(!t||null!==e)||!(!n||n[r]!==e))):e}static stringify(e){const t=this.omit(e),n=(0,o.sortBy)(Object.entries(t),(e=>e[0]));return JSON.stringify(n)}static parse(e){return this.omit(Object.fromEntries(JSON.parse(e)))}}(0,r.Z)(i,"DEFAULT_QUERY",null),(0,r.Z)(i,"OMIT_NULL_VALUES",!1)},88425:function(e,t,n){"use strict";n.d(t,{t:function(){return r},H:function(){return o}});const r={number:20,page:1},o=["number","offset","page"]},44550:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(56666),o=n(92819),i=n(2623),s=n(88425),a=n(27866);const u=new WeakMap;class c extends i.Z{static hasQueryPaginationKeys(e){return!!e&&s.H.some((t=>e.hasOwnProperty(t)))}getItems(e){if(!e)return super.getItems(e);const t=this.getItemsIgnoringPage(e,!0);if(!t)return t;const n=e.page||this.constructor.DefaultQuery.page,r=e.number||this.constructor.DefaultQuery.number;return function(e,t,n){let r=u.get(e);r||(r=new Map,u.set(e,r));const o=`${t}/${n}`;let i=r.get(o);return i||(i=e.slice(t,t+n),r.set(o,i)),i}(t,(n-1)*r,r)}getItemsIgnoringPage(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!e)return null;const n=super.getItems((0,o.omit)(e,s.H));return!n||t?n:n.filter((e=>void 0!==e))}getNumberOfPages(e){const t=this.getFound(e);if(null===t)return t;const n=e.number||this.constructor.DefaultQuery.number;return Math.ceil(t/n)}receive(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t;t.query&&(n=Object.assign({mergeQuery:!0},t,{query:(0,o.omit)(t.query,s.H)}));const r=super.receive(e,n);if(this===r)return r;if(!this.constructor.hasQueryPaginationKeys(t.query))return r;const i=this.constructor.QueryKey.stringify(t.query),a=t.query.page||this.constructor.DefaultQuery.page,u=t.query.number||this.constructor.DefaultQuery.number,c=(a-1)*u,l=r.data.queries[i];Array.isArray(e)||(e=[e]);const f=e.map((e=>e[this.options.itemKey])),p=(0,o.cloneDeep)(l);if(p.hasOwnProperty("found")&&e.length<u){const e=this.data.queries[i];e&&e.hasOwnProperty("found")&&(p.found=Math.max(e.found,p.found))}return p.itemKeys=[...(0,o.range)(0,c).map((e=>{const t=l.itemKeys[e];if(!f.includes(t))return t})),...(0,o.range)(0,u).map((e=>f[e])),...l.itemKeys.slice(c+u).filter((e=>e&&!f.includes(e)))],p.hasOwnProperty("found")&&(p.itemKeys=(0,o.range)(0,p.found).map((e=>p.itemKeys[e]))),new this.constructor(Object.assign({},r.data,{queries:Object.assign({},r.data.queries,{[i]:p})}),r.options)}}(0,r.Z)(c,"QueryKey",a.Z),(0,r.Z)(c,"DefaultQuery",s.t)},27866:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(92819),o=n(37754),i=n(88425);class s extends o.Z{static stringify(e){return super.stringify((0,r.omit)(e,i.H))}static parse(e){return(0,r.omit)(super.parse(e),i.H)}}},725:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},3982:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(56666),o=n(92819),i=n(76292),s=n.n(i),a=n(44550),u=n(725),c=n(93039);class l extends a.Z{static matches(e,t){const n=Object.assign({},this.DefaultQuery,e);return Object.entries(n).every((e=>{let[n,r]=e;switch(n){case"search":{if(!r)return!0;const e=r.toLowerCase();return t.title&&t.title.toLowerCase().includes(e)||t.content&&t.content.toLowerCase().includes(e)}case"after":case"before":case"modified_after":case"modified_before":{const e=s()(r,s().ISO_8601),o=/after$/.test(n)?"isAfter":"isBefore",i=/^modified_/.test(n)?"modified":"date";return e.isValid()&&s()(t[i])[o](e)}case"term":return Object.entries(r).every((e=>{let[n,r]=e;return r=r.split(","),(0,o.some)(t.terms[n],(e=>{let{slug:t}=e;return r.includes(t)}))}));case"tag":case"category":{if(!r)return!0;const e=r.toLowerCase(),i="tag"===n?"tags":"categories";return(0,o.some)(t[i],(t=>{let{name:n,slug:r}=t;return n&&n.toLowerCase()===e||r&&r.toLowerCase()===e}))}case"type":return"any"===r||r===t.type;case"parent_id":return r===t.parent||t.parent&&r===t.parent.ID;case"exclude":return Array.isArray(r)?!r.includes(t.ID):r!==t.ID;case"sticky":return"require"===r?t.sticky:"exclude"!==r||!t.sticky;case"author":return(0,o.get)(t,"author.ID",t.author)===r;case"status":return"any"===r||String(r).split(",").some((e=>e===t[n]))}return!0}))}static compare(e,t,n){let r;switch(e.order_by){case"ID":r=t.ID-n.ID;break;case"comment_count":r=(0,o.get)(t.discussion,"comment_count",0)-(0,o.get)(n.discussion,"comment_count",0);break;case"title":r=t.title.localeCompare(n.title);break;case"modified":r=new Date(t.modified)-new Date(n.modified);break;default:r=new Date(t.date)-new Date(n.date)}return e.order&&!/^desc$/i.test(e.order)||(r*=-1),r||0}}(0,r.Z)(l,"QueryKey",c.Z),(0,r.Z)(l,"DefaultQuery",u.e)},93039:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(92819),o=n(27866),i=n(725);function s(e,t){return null==e||i.e[t]===e}class a extends o.Z{static stringify(e){return super.stringify((0,r.omitBy)(e,s))}static parse(e){return(0,r.omitBy)(super.parse(e),s)}}},41900:function(e,t,n){"use strict";var r=n(24869),o=n.n(r);n(92819);const i=o()({additionalProperties:!1,required:["data","options"],type:"object",properties:{data:{additionalProperties:!1,type:"object",properties:{items:{type:"object"},queries:{additionalProperties:!1,type:"object",patternProperties:{"^\\[.*\\]$":{required:["itemKeys"],type:"object",properties:{itemKeys:{type:"array",items:{type:["integer","null","string"]}},found:{type:"integer"}}}}}}},options:{additionalProperties:!0,required:["itemKey"],type:"object",properties:{itemKey:{type:"string"}}}}});t.Z=i},96252:function(e,t,n){"use strict";function r(e,t,n,r){if(!t)return e;const o=e[t]||r&&r();if(!o)return e;const i=n(o);return i===o?e:{...e,[t]:i}}n.d(t,{Z:function(){return r}})},55347:function(e,t){"use strict";t.Z=e=>"/"===e?e:e.replace(/\/$/,"")},72537:function(e,t,n){"use strict";n.d(t,{Cm:function(){return o}});n(92819);var r=n(47307);function o(e){return e.filter((t=>{const n=(0,r.ce)(t.URL);return!t.jetpack&&e.some((e=>e.jetpack&&n===(0,r.ce)(e.URL)))})).map((e=>e.ID))}},40822:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(4174),o=n(78038),i=n(92819);function s(e,t){if("object"!=typeof e)throw new Error("addQueryArgs expects the first argument to be an object.");if("string"!=typeof t)throw new Error("addQueryArgs expects the second argument to be a string.");const n=(0,r.D)(t);if(n===r.a.INVALID)throw new Error("addQueryArgs expects the second argument to be a valid URL.");e=(0,i.pickBy)(e,(e=>null!=e));const s=new URL(t,"http://__domain__.invalid"),a=new URLSearchParams(s.search);for(const r of Object.keys(e))a.set(r,String(e[r]));if(n===r.a.PATH_RELATIVE){let e=a.toString();return""!==e&&(e=`?${e}`),""!==s.search?t.replace(s.search,e):s.hash?t.replace(s.hash,`${e}${s.hash}`):`${t}${e}`}return s.search=a.toString(),(0,o.Z)(s,n)}},47307:function(e,t,n){"use strict";n.d(t,{ce:function(){return o},nq:function(){return i}});const r=/^https?:\/\//;function o(e){return""===e?"":e?e.replace(r,""):null}function i(e){return e?o(e).replace(/\//g,"::"):null}},70353:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4174);function o(e,t){e=e||"/";if((0,r.D)(e)!==r.a.PATH_ABSOLUTE)throw new Error("`basePath` should be an absolute path");const n=new URL("http://__domain__.invalid/");return n.pathname=e,t?(n.pathname=(n.pathname.endsWith("/")?n.pathname.slice(0,-1):n.pathname)+(t.startsWith("/")?"":"/")+t,n.pathname):n.pathname}},29726:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(50118),o=n(41333);const i=["ID","display_name","username","avatar_URL","site_count","jetpack_site_count","visible_site_count","jetpack_visible_site_count","date","has_unseen_notes","newest_note_type","phone_account","email","email_verified","is_valid_google_apps_country","user_ip_country_code","logout_URL","primary_blog","primary_blog_is_jetpack","has_jetpack_partner_access","jetpack_partner_types","primary_blog_url","meta","is_new_reader","social_login_connections","abtests","lasagna_jwt","i18n_empathy_mode","use_fallback_for_incomplete_languages"],s=["ID"],a=["display_name","description","user_URL"];function u(e){if("object"!=typeof e)throw new Error("the /me response is not an object");for(const n of s)if(!e.hasOwnProperty(n))throw new Error(`the /me response misses a required field '${n}'`);const t={};for(const n of i){const o=e[n];t[n]=o&&a.includes(n)?(0,r.S)(o):o}return Object.assign(t,(0,o.B)(e))}},41333:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(47307);function o(e){const t=e.primary_blog_url||"";return{primarySiteSlug:(n=t,(0,r.ce)(n).replace(/\//g,"::")),localeSlug:e.language,localeVariant:e.locale_variant};var n}},26935:function(e,t,n){"use strict";n.d(t,{K:function(){return o}});var r=n(20899);function o(e,t){let n,o="";return null==e||!e.logout_URL||r.ZP.isEnabled("always_use_logout_url")?(null!=e&&e.localeSlug&&""!==e.localeSlug&&"en"!==e.localeSlug&&(o=e.localeSlug+"."),n=(0,r.ZP)("logout_url").replace("|subdomain|",o)):n=e.logout_URL,"string"==typeof t&&(n+=t="&redirect_to="+encodeURIComponent(t)),n}},59852:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(72429);function o(){return r.Z.me().get({meta:"flags"})}},65792:function(e,t,n){"use strict";n.d(t,{YF:function(){return s}});var r=n(23729),o=n.n(r),i=n(66651);async function s(){o().clearAll(),await(0,i.B$)()}},72429:function(e,t,n){"use strict";var r=n(20899),o=n(38049),i=n.n(o),s=n(18552),a=n(7268),u=n(33300),c=n(12902),l=n(54083),f=n(78009),p=n(21286);const d=i()("calypso:wp");let h;r.ZP.isEnabled("oauth")?h=(0,c.Z)(a.LP(),l.Z):(h=(0,c.Z)(s.ZP),h.request({metaAPI:{accessAllUsersBlogs:!0}},(function(e){if(e)throw e;d('Proxy now running in "access all user\'s blogs" mode')}))),h=(0,u.Z)(h),(0,p.J)(h),(0,f.rc)(h),t.Z=h;(0,c.Z)(l.Z)},78009:function(e,t,n){"use strict";n.d(t,{rc:function(){return u}});var r=n(19126),o=n(23729),i=n.n(o);const s="guest_sandbox_ticket",a=()=>i().get(s),u=e=>{const t=e.request.bind(e);Object.assign(e,{request(e,n){const o=a();if(o){const t=(0,r.parse)(e.query);e=Object.assign({},e,{query:(0,r.stringify)(Object.assign(t,{store_sandbox_ticket:o.value}))})}return t(e,n)}})};(()=>{if("undefined"==typeof window)return;(()=>{const e=a();e&&e.createdDate<Date.now()-72e5&&i().remove(s)})();const e=(0,r.parse)(window.location.search.replace("?",""));e.guest_ticket&&i().set(s,{createdDate:Date.now(),value:e.guest_ticket})})()},21286:function(e,t,n){"use strict";n.d(t,{J:function(){return i}});var r=n(11481),o=n(19126);function i(e){const t=e.request.bind(e);return Object.assign(e,{localized:!0,request:function(e,n){return t(function(e){const t=r.ZP.getLocaleVariant()||r.ZP.getLocaleSlug();if(!t||"en"===t)return e;let n;const i=(0,o.parse)(e.query);return n=e.apiNamespace?{_locale:t}:{locale:t},Object.assign(e,{query:(0,o.stringify)(Object.assign(n,i))})}(e),n)}})}},33300:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19126);function o(e){let t="",n="",o=null;const i=e.request.bind(e);return Object.assign(e,{addSupportParams:function(e){return{...e,support_user:t,_support_token:n}},setSupportUserToken:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2?arguments[2]:void 0;return(e!==t||r!==n)&&(t=e,n=r,o=i,!0)},request:(e,s)=>t&&n?i(function(e){const o=(0,r.parse)(e.query);return o.support_user=t,o._support_token=n,Object.assign({},e,{query:(0,r.stringify)(o)})}(e),((e,t)=>{o&&"invalid_support_token"===(null==e?void 0:e.error)?o(e):s(e,t)})):i(e,s)})}},12902:function(e,t,n){"use strict";var r=n(91285),o=n.n(r),i=n(91202);function s(e,t){if(!(this instanceof s))return new s(e,t);"function"==typeof e?(t=e,e=null):e&&this.loadToken(e),i.Z.call(this,e,(function(e,n){return this.isTokenLoaded()&&(e={...e,authToken:this._token,token:this._token}),t(e,n)}))}o()(s,i.Z),i.Z.prototype.loadToken=function(e){this._token=e},s.prototype.isTokenLoaded=function(){return void 0!==this._token},t.Z=s},54083:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(26935),o=n(65792);async function i(e,t){return(0,(await n.e(361).then(n.bind(n,3614))).default)(e,(async function(e,n,i){e&&"InvalidTokenError"===e.name&&(await(0,o.YF)(),window.location.href=(0,r.K)()),t(e,n,i)}))}},1422:function(e,t,n){"use strict"},77270:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});const r={widgets:["panel","widgets"],fonts:["section","jetpack_fonts"],identity:["section","title_tagline"],"custom-css":["section","jetpack_custom_css"],amp:["section","amp_design"],menus:["panel","nav_menus"],homepage:["section","static_front_page"],jetpack_search:["section","jetpack_search"]};function o(e){if(r.hasOwnProperty(e)){const[t,n]=r[e];return{[`autofocus[${t}]`]:n}}return null}},83373:function(e,t,n){"use strict";var r=n(20899);n(92819),n(7728);(0,r.ZP)("discover_blog_id")},58414:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});function r(){if("undefined"==typeof document)return;const e=document.documentElement.clientWidth;return e>1040?720:e>928?e-304:e>660?e-288:e-20}},77327:function(e,t,n){"use strict";function r(e){if(e)return e.feed_ID&&e.feed_item_ID?{feedId:e.feed_ID,postId:e.feed_item_ID}:e.is_external?{feedId:e.feed_ID||e.site_ID,postId:e.feed_item_ID||e.ID}:{blogId:e.site_ID,postId:e.ID}}function o(e,t){return e===t||!(!e&&t||e&&!t||!e&&!t&&e!==t)&&(!(e.isGap&&!t.isGap||!e.isGap&&t.isGap)&&(e.isGap&&t.isGap?e.from===t.from&&e.to===t.to:e.postId===t.postId&&(e.feedId?e.feedId===t.feedId:e.blogId===t.blogId)))}function i(e){if(!e||e.isGap)return null;if(e.isCombination){const t=e.feedId?`&feedId=${e.feedId}`:"",n=e.blogId?`&feedId=${e.blogId}`:"";return`postIds=[${e.postIds.join(",")}, ]${t}${n} `}return e.isRecommendationBlock?`rec-${e.index}`:e.feedId?`${e.postId}-${e.feedId}`:e.blogId?`${e.postId}-${e.blogId}`:null}function s(e){return e&&e.postId&&(e.blogId||e.feedId)}n.d(t,{WO:function(){return r},NK:function(){return o},C$:function(){return i},J0:function(){return s}})},7728:function(e,t,n){"use strict";var r=n(20899);(0,r.ZP)("discover_blog_id"),(0,r.ZP)("discover_feed_id")},29789:function(e,t,n){"use strict";n.d(t,{yg:function(){return u}});var r=n(38049),o=n.n(r),i=(n(92819),n(44567),n(7689));n(17032);const s=o()("calypso:reader:stats");const a=new Set;function u(e,t,n,r){if(!e||!t||!n)return;const o={ref:"http://wordpress.com/",reader:1,host:t.replace(/.*?:\/\//g,""),blog:e,post:n};r&&(o.priv=1),s("reader page view for post",o),(0,i.S)(o)}a.add("calypso_reader_related_post_from_same_site_clicked").add("calypso_reader_related_post_from_other_site_clicked").add("calypso_reader_related_post_site_clicked").add("calypso_reader_article_liked").add("calypso_reader_article_commented_on").add("calypso_reader_article_opened").add("calypso_reader_searchcard_clicked").add("calypso_reader_author_link_clicked").add("calypso_reader_permalink_click").add("calypso_reader_recommended_post_clicked").add("calypso_reader_recommended_site_clicked").add("calypso_reader_recommended_post_dismissed")},46310:function(e,t,n){"use strict";n.d(t,{qb:function(){return r}});n(92819),n(76292),n(83373);function r(e,t){return e&&t&&e.xPostMetadata&&t.xPostMetadata&&e.xPostMetadata.blogId&&e.xPostMetadata.blogId===t.xPostMetadata.blogId&&e.xPostMetadata.postId&&e.xPostMetadata.postId===t.xPostMetadata.postId}},40211:function(e,t,n){"use strict";n.d(t,{u2u:function(){return r},Wj3:function(){return o},lAo:function(){return i},K5f:function(){return s},ti2:function(){return a},Fux:function(){return u},JYg:function(){return c},gm2:function(){return l},uBM:function(){return f},KAg:function(){return p},w6q:function(){return d},M5U:function(){return h},tGX:function(){return g},K1T:function(){return m},sQe:function(){return y},HYG:function(){return v},HCR:function(){return b},T6o:function(){return w},ON1:function(){return _},sBg:function(){return E},zVI:function(){return S},DGo:function(){return C},gQI:function(){return P},cnn:function(){return k},G1W:function(){return I},dAl:function(){return A},YPU:function(){return T},iHL:function(){return R},H6A:function(){return O},vQd:function(){return x},o9b:function(){return F},Mei:function(){return L},nHy:function(){return U},oH7:function(){return Z},f5U:function(){return D},AKl:function(){return j},M7f:function(){return N},Sur:function(){return M},$Tb:function(){return q},IoY:function(){return B},Ylp:function(){return H},k_K:function(){return V},myH:function(){return $},yGK:function(){return W},IwF:function(){return z},R_D:function(){return G},kJ4:function(){return Q},Syf:function(){return Y},vsK:function(){return K},qjX:function(){return J},$tj:function(){return X},Do$:function(){return ee},ILV:function(){return te},SgU:function(){return ne},tyO:function(){return re},eYx:function(){return oe},c2t:function(){return ie},Xeb:function(){return se},xm0:function(){return ae},Oh9:function(){return ue},ftJ:function(){return ce},kUt:function(){return le},XTm:function(){return fe},vO0:function(){return pe},JqF:function(){return de},NnF:function(){return he},aqr:function(){return ge},WkZ:function(){return me},hxz:function(){return ye},C6k:function(){return ve},T3s:function(){return be},X5K:function(){return we},h2B:function(){return _e},Rp6:function(){return Ee},LbL:function(){return Se},xkR:function(){return Ce},kNW:function(){return Pe},oD3:function(){return ke},RFP:function(){return Ie},rgA:function(){return Ae},AVO:function(){return Te},a7F:function(){return Re},PP1:function(){return Oe},pgH:function(){return xe},Ra4:function(){return Fe},nL0:function(){return Le},F1Z:function(){return Ue},JZv:function(){return Ze},R$r:function(){return De},NYz:function(){return je},gpX:function(){return Ne},Se1:function(){return Me},bE0:function(){return qe},vIA:function(){return Be},N__:function(){return He},CNw:function(){return Ve},hZH:function(){return $e},KF6:function(){return We},WYe:function(){return ze},vP0:function(){return Ge},hYA:function(){return Qe},XMF:function(){return Ye},LEp:function(){return Ke},A4M:function(){return Je},pSd:function(){return Xe},PD1:function(){return et},N8o:function(){return tt},XuD:function(){return nt},lCo:function(){return rt},JPH:function(){return ot},kLL:function(){return it},dGx:function(){return st},WjV:function(){return at},RIF:function(){return ut},gbe:function(){return ct},pJb:function(){return lt},m58:function(){return ft},_qM:function(){return pt},Fsf:function(){return dt},$5Y:function(){return ht},XMH:function(){return gt},_MG:function(){return mt},RSp:function(){return yt},Nq:function(){return vt},IK5:function(){return bt},bgv:function(){return wt},tvw:function(){return _t},U5d:function(){return Et},QLz:function(){return St},D5g:function(){return Ct},SYS:function(){return Pt},t2O:function(){return kt},wOJ:function(){return It},dyA:function(){return At},RI4:function(){return Tt},fa4:function(){return Rt},xNf:function(){return Ot},YCt:function(){return xt},uvG:function(){return Ft},Kmp:function(){return Lt},Frv:function(){return Ut},Byq:function(){return Zt},lfH:function(){return Dt},lTr:function(){return jt},gNn:function(){return Nt},Rmh:function(){return Mt},$MQ:function(){return qt},XLI:function(){return Bt},U0$:function(){return Ht},eO9:function(){return Vt},S3d:function(){return $t},whB:function(){return Wt},UUJ:function(){return zt},hJk:function(){return Gt},uuM:function(){return Qt},Mvd:function(){return Yt},KBY:function(){return Kt},rZJ:function(){return Jt},xLe:function(){return Xt},M4_:function(){return en},eTV:function(){return tn},KSQ:function(){return nn},Khp:function(){return rn},koV:function(){return on}});const r="ANALYTICS_EVENT_RECORD",o="ANALYTICS_PAGE_VIEW_RECORD",i="ANALYTICS_STAT_BUMP",s="ANALYTICS_TRACKING_ON",a="ANALYTICS_TRACKS_OPT_OUT",u="APP_BANNER_TOGGLE_VISIBILITY",c="APP_BANNER_DISMISSED",l="APPLY_STORED_STATE",f="CURRENT_USER_RECEIVE",p="CURRENT_USER_SET_EMAIL_VERIFIED",d="DOMAIN_CONTACT_INFO_DISCLOSE",h="DOMAIN_CONTACT_INFO_DISCLOSE_FAILURE",g="DOMAIN_CONTACT_INFO_DISCLOSE_SUCCESS",m="DOMAIN_CONTACT_INFO_REDACT",y="DOMAIN_CONTACT_INFO_REDACT_FAILURE",v="DOMAIN_CONTACT_INFO_REDACT_SUCCESS",b="DOMAIN_PRIVACY_DISABLE",w="DOMAIN_PRIVACY_DISABLE_FAILURE",_="DOMAIN_PRIVACY_DISABLE_SUCCESS",E="DOMAIN_PRIVACY_ENABLE",S="DOMAIN_PRIVACY_ENABLE_FAILURE",C="DOMAIN_PRIVACY_ENABLE_SUCCESS",P="EDITOR_START",k="EDITOR_STOP",I="EMAIL_VERIFY_REQUEST",A="EMAIL_VERIFY_REQUEST_FAILURE",T="EMAIL_VERIFY_REQUEST_SUCCESS",R="EMAIL_VERIFY_STATE_RESET",O="GUIDED_TOUR_UPDATE",x="HAPPYCHAT_BLUR",F="HAPPYCHAT_FOCUS",L="HAPPYCHAT_IO_INIT",U="HAPPYCHAT_IO_RECEIVE_ACCEPT",Z="HAPPYCHAT_IO_RECEIVE_CONNECT",D="HAPPYCHAT_IO_RECEIVE_DISCONNECT",j="HAPPYCHAT_IO_RECEIVE_ERROR",N="HAPPYCHAT_IO_RECEIVE_INIT",M="HAPPYCHAT_IO_RECEIVE_LOCALIZED_SUPPORT",q="HAPPYCHAT_IO_RECEIVE_MESSAGE",B="HAPPYCHAT_IO_RECEIVE_MESSAGE_OPTIMISTIC",H="HAPPYCHAT_IO_RECEIVE_MESSAGE_UPDATE",V="HAPPYCHAT_IO_RECEIVE_RECONNECTING",$="HAPPYCHAT_IO_RECEIVE_STATUS",W="HAPPYCHAT_IO_RECEIVE_TOKEN",z="HAPPYCHAT_IO_RECEIVE_UNAUTHORIZED",G="HAPPYCHAT_IO_REQUEST_TRANSCRIPT",Q="HAPPYCHAT_IO_REQUEST_TRANSCRIPT_RECEIVE",Y="HAPPYCHAT_IO_SEND_MESSAGE_EVENT",K="HAPPYCHAT_IO_SEND_MESSAGE_LOG",J="HAPPYCHAT_IO_SEND_MESSAGE_MESSAGE",X="HAPPYCHAT_IO_SEND_MESSAGE_USERINFO",ee="HAPPYCHAT_IO_SEND_PREFERENCES",te="HAPPYCHAT_IO_SEND_TYPING",ne="HAPPYCHAT_IO_SET_CUSTOM_FIELDS",re="HAPPYCHAT_MINIMIZING",oe="HAPPYCHAT_OPEN",ie="HAPPYCHAT_SET_CURRENT_MESSAGE",se="HAPPYCHAT_SET_USER_CONFIG",ae="HELP_CENTER_VISIBLE",ue="JETPACK_DISCONNECT_RECEIVE",ce="JETPACK_SITE_DISCONNECT_REQUEST",le="LAYOUT_FOCUS_SET",fe="LAYOUT_NEXT_FOCUS_ACTIVATE",pe="LAYOUT_NEXT_FOCUS_SET",de="LOCALE_SET",he="MASTERBAR_TOGGLE_VISIBILITY",ge="MEDIA_DELETE",me="MEDIA_MODAL_VIEW_SET",ye="NOTIFICATIONS_PANEL_TOGGLE",ve="POST_COUNTS_RECEIVE",be="POST_COUNTS_REQUEST",we="POST_COUNTS_REQUEST_FAILURE",_e="POST_COUNTS_REQUEST_SUCCESS",Ee="POST_COUNTS_RESET_INTERNAL_STATE",Se="POST_DELETE",Ce="POST_DELETE_FAILURE",Pe="POST_DELETE_SUCCESS",ke="POST_EDIT",Ie="POST_LIKE",Ae="POST_LIKES_ADD_LIKER",Te="POST_LIKES_RECEIVE",Re="POST_LIKES_REMOVE_LIKER",Oe="POST_LIKES_REQUEST",xe="POST_REQUEST",Fe="POST_REQUEST_FAILURE",Le="POST_REQUEST_SUCCESS",Ue="POST_RESTORE",Ze="POST_RESTORE_FAILURE",De="POST_REVISION_AUTHORS_RECEIVE",je="POST_REVISIONS_DIALOG_CLOSE",Ne="POST_REVISIONS_DIALOG_OPEN",Me="POST_REVISIONS_DIFF_SPLIT_VIEW",qe="POST_REVISIONS_DIFF_UNIFY_VIEW",Be="POST_REVISIONS_RECEIVE",He="POST_REVISIONS_SELECT",Ve="POST_SAVE",$e="POST_SAVE_SUCCESS",We="POST_TYPE_LIST_SHARE_PANEL_HIDE",ze="POST_TYPE_LIST_SHARE_PANEL_TOGGLE",Ge="POST_UNLIKE",Qe="POSTS_RECEIVE",Ye="POSTS_REQUEST",Ke="POSTS_REQUEST_FAILURE",Je="POSTS_REQUEST_SUCCESS",Xe="PREFERENCES_FETCH",et="PREFERENCES_FETCH_FAILURE",tt="PREFERENCES_FETCH_SUCCESS",nt="PREFERENCES_RECEIVE",rt="PREFERENCES_SAVE_SUCCESS",ot="PREFERENCES_SET",it="PREVIEW_URL_CLEAR",st="PREVIEW_URL_SET",at="PURCHASE_REMOVE_COMPLETED",ut="PURCHASE_REMOVE_FAILED",ct="PURCHASES_REMOVE",lt="PURCHASES_SITE_FETCH",ft="PURCHASES_SITE_FETCH_COMPLETED",pt="PURCHASES_SITE_FETCH_FAILED",dt="PURCHASES_SITE_RESET_STATE",ht="PURCHASES_USER_FETCH",gt="PURCHASES_USER_FETCH_COMPLETED",mt="PURCHASES_USER_FETCH_FAILED",yt="ROUTE_SET",vt="SECTION_LOADING_SET",bt="SECTION_SET",wt="SELECTED_SITE_SET",_t="SITE_CONNECTION_STATUS_RECEIVE",Et="SITE_CONNECTION_STATUS_REQUEST",St="SITE_CONNECTION_STATUS_REQUEST_FAILURE",Ct="SITE_CONNECTION_STATUS_REQUEST_SUCCESS",Pt="SITE_DELETE_RECEIVE",kt="SITE_DOMAINS_RECEIVE",It="SITE_DOMAINS_REQUEST",At="SITE_DOMAINS_REQUEST_FAILURE",Tt="SITE_DOMAINS_REQUEST_SUCCESS",Rt="SITE_FEATURES_FETCH",Ot="SITE_FEATURES_FETCH_COMPLETED",xt="SITE_FEATURES_FETCH_FAILED",Ft="SITE_FRONT_PAGE_UPDATE",Lt="SITE_INTRO_OFFER_RECEIVE",Ut="SITE_INTRO_OFFER_REQUEST",Zt="SITE_INTRO_OFFER_REQUEST_FAILURE",Dt="SITE_INTRO_OFFER_REQUEST_SUCCESS",jt="SITE_MIGRATION_STATUS_UPDATE",Nt="SITE_PLANS_FETCH",Mt="SITE_PLANS_FETCH_COMPLETED",qt="SITE_PLANS_FETCH_FAILED",Bt="SITE_PLANS_REMOVE",Ht="SITE_PLUGIN_UPDATED",Vt="SITE_PRODUCTS_FETCH",$t="SITE_PRODUCTS_FETCH_COMPLETED",Wt="SITE_PRODUCTS_FETCH_FAILED",zt="SITE_RECEIVE",Gt="SITE_REQUEST",Qt="SITE_REQUEST_FAILURE",Yt="SITE_REQUEST_SUCCESS",Kt="SITE_SETTINGS_RECEIVE",Jt="SITE_SETTINGS_UPDATE",Xt="SITES_RECEIVE",en="SITES_REQUEST",tn="SITES_REQUEST_FAILURE",nn="SITES_REQUEST_SUCCESS",rn="WORDADS_SITE_APPROVE_REQUEST_SUCCESS",on="WPCOM_HTTP_REQUEST"},48539:function(e,t,n){"use strict";n.d(t,{A:function(){return i}});var r=n(92819);const o=(e,t)=>Array.isArray(e)?e.concat(t):void 0,i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length>1?(0,r.mergeWith)(Object.create(null),...t,o):t[0]}},86398:function(e,t,n){"use strict";n.d(t,{Z:function(){return s},l:function(){return a}});var r=n(40211);const o=new Map,i=new Map;function s(){o.clear(),i.clear()}const a=(e,t)=>(n,s)=>{const a=s.storageKey,u=function(e){return e.join(".")}(n),c=i.get(u),l=o.get(u);if(c&&s!==c)throw new Error(`Different reducers on multiple calls to \`addReducerToStore\` for key: ${u}`);if(!l){if(e.addReducer(n,s),a&&t){const n=t(s,a);n&&e.dispatch({type:r.gm2,storageKey:a,storedState:n})}o.set(u,!0),i.set(u,s)}}},19298:function(e,t,n){"use strict";n.d(t,{jN:function(){return i}});var r=n(40211);const o=(e,t)=>({type:r.u2u,meta:{analytics:[{type:r.u2u,payload:Object.assign({},{service:e},t)}]}}),i=(e,t)=>o("tracks",{name:e,properties:t})},15223:function(e,t,n){"use strict";var r=n(25394),o=n(44567),i=n(80252),s=n(7689),a=n(66610),u=n(17032),c=n(40211);const l={ga:e=>{let{category:t,action:n,label:r,value:i}=e;return(0,o.Yh)(t,n,r,i)},tracks:e=>{let{name:t,properties:n}=e;return(0,u.recordTracksEvent)(t,n)},fb:e=>{let{name:t,properties:n}=e;return(0,r.K)(t,n)},adwords:e=>{let{properties:t}=e;return(0,r.w)(t)}},f={ga:e=>{let{url:t,title:n}=e;return(0,o.eK)(t,n)},default:e=>{let{url:t,title:n,options:r,...o}=e;return(0,a.A)(t,n,o,r)}},p=e=>{e.meta.analytics.forEach((e=>{var t,n;let{type:r,payload:o}=e;const{service:i="default",...a}=o;switch(r){case c.u2u:return null===(t=l[i])||void 0===t?void 0:t.call(l,a);case c.Wj3:return null===(n=f[i])||void 0===n?void 0:n.call(f,a);case c.lAo:return(e=>{let{group:t,name:n}=e;return(0,s.P)(t,n)})(a)}}))};t.Z=()=>e=>t=>{var n;switch(t.type){case c.K5f:return void("HotJar"===t.trackingTool&&(0,i.o)());case c.ti2:return void(0,u.setTracksOptOut)(t.isOptingOut);default:null!==(n=t.meta)&&void 0!==n&&n.analytics&&p(t)}return e(t)}},6255:function(e,t,n){"use strict";t.Z=e=>function(){const t=e(...arguments);return"undefined"!=typeof window&&(Object.assign(window,t),Object.defineProperty(window,"state",{enumerable:!0,get:t.getState})),t}},91668:function(e,t,n){"use strict";n.d(t,{lx:function(){return o}});n(65792);var r=n(40211);n(36747);function o(e){return{type:r.uBM,user:e}}},79482:function(e,t,n){"use strict";var r=n(40211),o=n(95884);t.ZP=(0,o.U)({status: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 r.G1W:return"requesting";case r.YPU:return"sent";case r.dAl:return"error";case r.iHL:return null}return e},errorMessage: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.G1W:case r.YPU:return"";case r.dAl:{const{message:e}=t;return e}case r.iHL:return""}return e}})},18724:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(79482),a=n(21826);const u=(0,o.G)(a.K6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.ID:e})),c=(0,o.G)(a.bH,(function(){var e,t,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;return i.type===r.uBM?(null===(e=i.user.meta)||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.flags)||void 0===n?void 0:n.active_flags)??[]:o}));function l(e,t){if(!e||!t)return!1;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every((n=>t[n]===e[n]))}const f=(0,o.G)(a.kX,(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.UUJ:case r.xLe:return(t.site?[t.site]:t.sites).reduce(((t,n)=>(!n.capabilities||l(n.capabilities,t[n.ID])||(t===e&&(t={...e}),t[n.ID]=n.capabilities),t)),e)}return e})),p=(0,o.G)(a.y4,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.uBM?t.user.lasagna_jwt||null:e}));t.ZP=(0,i.U)({id:u,user: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 r.uBM:return t.user;case r.KAg:return{...e,email_verified:t.verified}}return e},capabilities:f,flags:c,emailVerification:s.ZP,lasagnaJwt:p})},21826:function(e,t,n){"use strict";n.d(t,{K6:function(){return r},kX:function(){return o},bH:function(){return i},y4:function(){return s}});const r={type:["integer","null"],minimum:0},o={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"object",properties:{edit_pages:{type:"boolean"},edit_posts:{type:"boolean"},edit_others_posts:{type:"boolean"},edit_others_pages:{type:"boolean"},delete_posts:{type:"boolean"},delete_others_posts:{type:"boolean"},edit_theme_options:{type:"boolean"},edit_users:{type:"boolean"},list_users:{type:"boolean"},manage_categories:{type:"boolean"},manage_options:{type:"boolean"},promote_users:{type:"boolean"},publish_posts:{type:"boolean"},upload_files:{type:"boolean"},delete_users:{type:"boolean"},remove_users:{type:"boolean"},view_stats:{type:"boolean"}}}}},i={type:"array"},s={type:["string","null"]}},36747:function(e,t,n){"use strict";function r(e){var t;return null===(t=e.currentUser)||void 0===t?void 0:t.id}function o(e){var t;return(null==e||null===(t=e.currentUser)||void 0===t?void 0:t.user)??null}n.d(t,{rc:function(){return r},ts:function(){return o},bo:function(){return s}});const i=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return n=>{const r=o(n);return(null==r?void 0:r[e])??t}};i("localeSlug"),i("user_ip_country_code");function s(e){const t=o(e);return t?t.site_count||0:null}i("date"),i("username"),i("email"),i("display_name");i("email_verified",!1);i("bootstrapped",!1)},50505:function(e,t,n){"use strict";n.d(t,{Z9:function(){return s}});var r=n(48539);let o={};const i=new Set,s=(e,t)=>{i.has(e)||(i.add(e),o=(0,r.A)(o,t))}},85875:function(e,t,n){"use strict";n.d(t,{aF:function(){return i}});var r=n(83685);n(92819);const o={meta:{dataLayer:{doBypass:!0}}},i=e=>(0,r.zc)(e,o)},28867:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(40211);const o=function(e){let{apiVersion:t,apiNamespace:n,body:o,method:i,path:s,query:a={},formData:u,onSuccess:c,onFailure:l,onProgress:f,onStreamRecord:p,...d}=e,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const g=n?{apiNamespace:n}:{apiVersion:t};return{type:r.koV,body:o,method:i,path:s,query:{...a,...g},formData:u,onSuccess:c||h,onFailure:l||h,onProgress:f||h,onStreamRecord:p||h,options:d}}},57195:function(e,t,n){"use strict";n.d(t,{iD:function(){return r}});const r=()=>({name:"NO_RETRY"});!function(){let{delay:e=1e3,maxAttempts:t=3}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Math.max(500,e),Math.min(5,t)}()},67577:function(e,t,n){"use strict";n.d(t,{BN:function(){return h}});var r=n(12560),o=n.n(r),i=n(85695),s=n.n(i),a=n(92819),u=n(15960);const c=()=>{},l=e=>e,f=e=>(0,a.get)(e,"meta.dataLayer.data",void 0),p=e=>(0,a.get)(e,"meta.dataLayer.error",void 0),d=e=>(0,a.get)(e,"meta.dataLayer.progress",void 0),h=((0,u.J)("meta.dataLayer.requestKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{meta:{dataLayer:{lastUpdated:t,pendingSince:n,status:r}={}}={}}=arguments.length>1?arguments[1]:void 0;return void 0===r?e:Object.assign({...e},{status:r},t&&{lastUpdated:t},n&&{pendingSince:n})})),g=e=>(t,n)=>{if(!0!==(0,a.get)(n,"meta.dataLayer.trackRequest")||d(n))return e(t,n);const r=(e=>{const{meta:t,...n}=e;return(0,a.get)(t,"dataLayer.requestKey")||s()(n)})(n),o=(e=>void 0!==p(e)?"failure":void 0!==f(e)?"success":"pending")(n),i=Object.assign({requestKey:r,status:o},"pending"===o?{pendingSince:Date.now()}:{lastUpdated:Date.now()});e({...t,dispatch:e=>t.dispatch((0,a.merge)(e,{meta:{dataLayer:i}}))},n)},e=>(e.fetch||o()("fetch handler is not defined: no request will ever be issued"),e.onSuccess||o()("onSuccess handler is not defined: response to the request is being ignored"),e.onError||o()("onError handler is not defined: error during the request is being ignored"),g(((t,n)=>{const r=function(e,t){const{fetch:n=c,onSuccess:r=c,onError:o=c,onProgress:i=c,onStreamRecord:s=c,fromApi:u=l}=e,h=p(t);if(h)return o(t,h);const g=f(t);if(g)try{return r(t,u(g))}catch(v){return o(t,v)}const m=d(t);if(m)return i(t,m);const y=(e=>(0,a.get)(e,"meta.dataLayer.streamRecord",void 0))(t);return y?s(t,y):n(t)}(e,n);if(r)return Array.isArray(r)?r.map(t.dispatch):t.dispatch(r)}))));var g},8681:function(e,t,n){"use strict";var r=n(50505),o=n(85875),i=n(28867),s=n(57195),a=n(67577),u=n(78772),c=n(63262),l=n(70418);(0,r.Z9)("state/data-layer/wpcom/read/sites/index.js",{[u.LW]:[(0,a.BN)({fetch:function(e){return(0,i.d)({apiVersion:"1.1",method:"GET",path:`/read/sites/${e.payload.ID}`,query:{fields:l.X.join(","),options:["is_mapped_domain","unmapped_url","is_redirect"].join(",")},retryPolicy:(0,s.iD)()},e)},onSuccess:function(e,t){return(0,o.aF)((0,c.N0)(t))},onError:function(e,t){return(0,o.aF)((0,c.vE)(e,t))}})]})},26385:function(e,t,n){"use strict";var r=n(40211),o=n(48539),i=n(50505),s=n(28867),a=n(67577),u=n(4184),c=n(46600),l=n(90347);(0,i.Z9)("state/data-layer/wpcom/sites/posts/likes/index.js",(0,o.A)(l.ZP,c.Z,{[r.PP1]:[(0,a.BN)({fetch:e=>(0,s.d)({method:"GET",path:`/sites/${e.siteId}/posts/${e.postId}/likes`,apiVersion:"1.1"},e),fromApi:e=>({found:+e.found,iLike:!!e.i_like,likes:e.likes}),onSuccess:(e,t)=>{let{siteId:n,postId:r}=e;return(0,u.u5)(n,r,t)},onError:()=>{}})]}))},77433:function(e,t,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/mine/delete/index.js",{[r.vP0]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/mine/delete`,apiVersion:"1.1",body:{},query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.Ui)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.vL)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful unlike API request");return{likeCount:+e.like_count,liker:e.liker}}})]}),t.ZP={}},46600:function(e,t,n){"use strict";var r=n(77433);t.Z=r.ZP},90347:function(e,t,n){"use strict";var r=n(40211),o=n(50505),i=n(85875),s=n(28867),a=n(67577),u=n(4184);(0,o.Z9)("state/data-layer/wpcom/sites/posts/likes/new/index.js",{[r.RFP]:[(0,a.BN)({fetch:e=>{const t={};return e.source&&(t.source=e.source),(0,s.d)({method:"POST",path:`/sites/${e.siteId}/posts/${e.postId}/likes/new`,body:{},apiVersion:"1.1",query:t},e)},onSuccess:(e,t)=>{let{siteId:n,postId:r}=e,{likeCount:o,liker:i}=t;return(0,u.eT)(n,r,o,i)},onError:e=>{let{siteId:t,postId:n}=e;return(0,i.aF)((0,u.Yt)(t,n))},fromApi:function(e){if(!e.success)throw new Error("Unsuccessful like API call");return{likeCount:+e.like_count,liker:e.liker}}})]}),t.ZP={}},85745:function(e,t,n){"use strict";var r=n(40211),o=n(28447),i=n(29398),s=n(71085),a=n(95884),u=n(83551);const c=e=>e<17e8?1e3*e:e,l=(0,i.G)({type:"number"},(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 r.qjX:case r.$Tb:return Date.now()}return e})),f=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.$Tb:case r.IoY:case r.Ylp:{var n;const{message:e}=t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.avatarURL,isEdited:!!e.revisions,isOptimistic:e.isOptimistic,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(n=e.meta)||void 0===n?void 0:n.links}}}return e},p=e=>parseInt(e.timestamp,10),d=(e,t)=>p(e)-p(t),h=e=>e.slice().sort(d),g=(0,i.G)(u.v,(0,s.$)((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.$Tb:case r.IoY:{var n;if(null!==(n=t.message.meta)&&void 0!==n&&n.forOperator)return e;const r=f({},t),o=e.findIndex((e=>{let{id:t}=e;return r.id===t}));return o>=0?[...e.slice(0,o),r,...e.slice(o+1)]:e.concat([r])}case r.Ylp:{const n=e.findIndex((e=>{let{id:n}=e;return t.message.id===n}));return-1===n?e:[...e.slice(0,n),f({},t),...e.slice(n+1)]}case r.kJ4:{var o;const n=(null===(o=t.messages)||void 0===o?void 0:o.filter((t=>{var n;return!!t.id&&((null===(n=t.meta)||void 0===n||!n.forOperator)&&!e.some((e=>e.id===t.id)))})))??[];return h(e.concat(n.map((e=>{var t;return{id:e.id,source:e.source,message:e.text,name:e.user.name,image:e.user.picture,isEdited:!!e.revisions,files:e.files,timestamp:c(e.timestamp),user_id:e.user.id,type:e.type??"message",links:null===(t=e.meta)||void 0===t?void 0:t.links}}))))}}return e}),{serialize:e=>e.slice(-1*o.lc)}));t.ZP=(0,a.U)({status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.s0,t=arguments.length>1?arguments[1]:void 0;return t.type===r.myH?t.status:e},timeline:g,lastActivityTimestamp:l})},83551:function(e,t,n){"use strict";n.d(t,{v:function(){return r}});const r={type:"array",additionalProperties:!1,items:{type:"object",additionalProperties:!1,required:["id","source","message","timestamp","user_id","type"],properties:{id:{type:"string"},source:{type:"string"},message:{type:"string"},name:{type:"string"},image:{type:"string"},timestamp:{type:["number","string"]},user_id:{type:["number","string"]},type:{type:"string"},links:{type:"array"}}}}},94002:function(e,t,n){"use strict";n.d(t,{id:function(){return s},nv:function(){return a},wH:function(){return u},k_:function(){return c},up:function(){return l},Mo:function(){return f},pL:function(){return p},$W:function(){return d},QM:function(){return h},dN:function(){return g},gg:function(){return m},KX:function(){return y},Mx:function(){return v},bi:function(){return w},qP:function(){return _},yW:function(){return E}});var r=n(88767),o=n(40211),i=n(28447);n(84656);const s=()=>({type:o.oH7}),a=e=>({type:o.f5U,error:e}),u=()=>({type:o.yGK}),c=e=>({type:o.M7f,user:e}),l=e=>({type:o.IwF,error:e}),f=()=>({type:o.k_K}),p=e=>({type:o.nHy,isAvailable:e}),d=e=>({type:o.Sur,isAvailable:e}),h=e=>({type:o.$Tb,message:e}),g=e=>({type:o.IoY,message:{...e,isOptimistic:!0}}),m=e=>({type:o.Ylp,message:e}),y=e=>({type:o.myH,status:e}),v=e=>({type:o.AKl,error:e}),b=e=>{let{messages:t,timestamp:n}=e;return{type:o.kJ4,messages:t,timestamp:n}},w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;return{type:o.R_D,event:"transcript",payload:e,timeout:t,callback:b}},_=e=>({type:o.Syf,event:"message",payload:{id:(0,r.Z)(),text:e,type:i.so.CUSTOMER_EVENT,meta:{forOperator:!0,event_type:i.so.CUSTOMER_EVENT}}}),E=e=>({type:o.SgU,event:"chat.setFields",payload:e})},80258:function(e,t,n){"use strict";var r=n(40211),o=n(28447),i=n(95884);t.Z=(0,i.U)({error: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 r.M7f:return null;case r.f5U:return t.error}return e},isAvailable:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.nHy?t.isAvailable:e},localizedSupport:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.Sur?t.isAvailable:e},status:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.SJ,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.Mei:return o.bp;case r.M7f:return o.XY;case r.f5U:return o.oP;case r.k_K:return o.ad}return e}})},28447:function(e,t,n){"use strict";n.d(t,{SJ:function(){return r},bp:function(){return o},XY:function(){return i},oP:function(){return s},ad:function(){return a},lc:function(){return u},so:function(){return c},dZ:function(){return l},s0:function(){return f}});const r="uninitialized",o="connecting",i="connected",s="disconnected",a="reconnecting",u=30,c={CUSTOMER_EVENT:"customer-event",CUSTOMER_INFO:"customer-info",LOG:"log"},l="assigned",f="default"},84656:function(e,t,n){"use strict";var r=n(9044),o=n(61741);(0,r.x)(["happychat"],o.Z)},76693:function(e,t,n){"use strict";var r=n(10819),o=n(92819),i=n(40211),s=n(94002),a=n(11834),u=n(27443);const c={HAPPYCHAT_BLUR:"Stopped looking at Happychat",HAPPYCHAT_FOCUS:"Started looking at Happychat"};t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return null==e&&(e=(0,r.Z)({receiveAccept:s.pL,receiveConnect:s.id,receiveDisconnect:s.nv,receiveError:s.Mx,receiveInit:s.k_,receiveLocalizedSupport:s.$W,receiveMessage:s.QM,receiveMessageOptimistic:s.dN,receiveMessageUpdate:s.gg,receiveReconnecting:s.Mo,receiveStatus:s.KX,receiveToken:s.wH,receiveUnauthorized:s.up,requestTranscript:s.bi})),t=>n=>r=>{const l=t.getState();switch(r.type){case i.Mei:e.init(t.dispatch,r.auth);break;case i.R_D:e.request(r,r.timeout);break;case i.$tj:e.send(r),t.dispatch((0,s.yW)({howCanWeHelp:(0,o.get)(r,"payload.meta.howCanWeHelp",null),howYouFeel:(0,o.get)(r,"payload.meta.howYouFeel",null)}));break;case i.Syf:case i.vsK:case i.qjX:case i.Do$:case i.ILV:case i.SgU:e.send(r);break;case i.vQd:case i.o9b:(0,u.Z)(l)&&(0,a.Z)(l)&&c[r.type]&&t.dispatch((0,s.qP)(c[r.type]))}return n(r)}}()},61741:function(e,t,n){"use strict";var r=n(83685),o=n(95884),i=n(85745),s=n(80258),a=n(29837),u=n(12844);const c=(0,o.U)({chat:i.ZP,connection:s.Z,ui:a.ZP,user:u.ZP});t.Z=(0,r.xi)("happychat",c)},83455:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);n(84656);function o(e){return(0,r.get)(e,"happychat.connection.status")}},11834:function(e,t,n){"use strict";var r=n(92819),o=n(28447);n(84656);t.Z=e=>(0,r.get)(e,"happychat.chat.status")===o.dZ},27443:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(28447),o=n(83455);function i(e){return(0,o.Z)(e)===r.XY}},29837:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(71085),s=n(95884);const a=(0,o.G)({type:"number"},(0,i.$)((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 r.vQd:return Date.now();case r.o9b:return null}return e}),{serialize:e=>null===e?Date.now():e}));t.ZP=(0,s.U)({currentMessage: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.qjX:return"";case r.c2t:return t.message}return e},isMinimizing:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.tyO?!!t.isMinimizing:e},isOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.eYx?!!t.isOpen:e},lostFocusAt:a})},12844:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(95884),s=n(71320);const a=(0,o.G)(s.FB,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===r.M7f){const n=t.user.geoLocation;return n&&n.country_long&&n.city?n:e}return e})),u=(0,o.G)(s.Cv,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.isUserEligible:e})),c=(0,o.G)(s.i6,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.availability:e})),l=(0,o.G)(s._B,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.Xeb?t.config.supportLevel:e}));t.ZP=(0,i.U)({geoLocation:a,isEligible:u,availability:c,supportLevel:l})},71320:function(e,t,n){"use strict";n.d(t,{FB:function(){return r},Cv:function(){return o},i6:function(){return i},_B:function(){return s}});const r={type:["object","null"],properties:{city:{type:"string"},country_long:{type:"string"},country_short:{type:"string"},region:{type:"string"}}},o={type:["boolean","null"]},i={type:["object","null"],properties:{precancellation:{type:"boolean"},presale:{type:"boolean"}}},s={type:["string","null"]}},89621:function(e,t,n){"use strict";var r=n(83685),o=n(67459),i=n(20834);const s=(0,r.P1)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2?arguments[2]:void 0;if(!t)return[];const r=(0,i.Z)(e);return(0,o.x)(t,(0,o.p)(e,r),n)}),(e=>[(0,i.Z)(e)]));t.Z=s},80951:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});const r={context:"display",http_envelope:!1,pretty:!1,number:20,offset:0,page:1,order:"DESC",order_by:"date",type:"post",status:"publish",sticky:"include",search:""}},72725:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(32988);const u=(()=>{let e,t={};function n(e,t){return[e,t].join()}function s(o,i,s,a){const u=n(i,s),c=t[u];if(!c)return o;const l=["all"];c.authorId===e&&l.push("mine");const f=l.reduce(((e,t)=>{const n=(0,r.get)(o,[i,c.type,t],{});return e[t]={},e[t][c.status]=Math.max((n[c.status]||0)-1,0),"deleted"!==a&&(e[t][a]=(n[a]||0)+1),e}),{});return"deleted"===a?t=(0,r.omit)(t,u):c.status=a,(0,r.merge)(f,{all:{},mine:{}}),(0,r.merge)({},o,{[i]:{[c.type]:f}})}return(0,i.G)(a.A,(function(){let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1?arguments[1]:void 0;switch(a.type){case o.Rp6:return e=void 0,t={},i;case o.uBM:return e=a.user.ID,i;case o.hYA:return a.posts.forEach((e=>{const o=n(e.site_ID,e.ID),a=t[o];a&&e.status!==a.status&&(i=s(i,e.site_ID,e.ID,e.status)),t[o]=(0,r.pick)(e,"type","status"),t[o].authorId=(0,r.get)(e.author,"ID")})),i;case o.CNw:{const{siteId:e,postId:t,post:n}=a;return n.status?s(i,e,t,n.status):i}case o.LbL:return s(i,a.siteId,a.postId,"deleted");case o.C6k:return(0,r.merge)({},i,{[a.siteId]:{[a.postType]:a.counts}})}return i}))})();t.ZP=(0,s.U)({requesting: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.T3s:case o.h2B:case o.X5K:return(0,r.merge)({},e,{[t.siteId]:{[t.postType]:o.T3s===t.type}})}return e},counts:u})},32988:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",patternProperties:{"^[\\w-]+$":{type:"object",patternProperties:{"^(all|mine)$":{type:"object",patternProperties:{"^\\w+$":{type:"integer"}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},additionalProperties:!1}},70263:function(e,t,n){"use strict";var r=n(9044),o=n(49985);(0,r.x)(["posts"],o.ZP)},4184:function(e,t,n){"use strict";n.d(t,{vL:function(){return o},Yt:function(){return i},u5:function(){return s},eT:function(){return a},Ui:function(){return u}});var r=n(40211);n(26385),n(70263);const o=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.RFP,siteId:e,postId:t,source:n}},i=function(e,t){let{source:n}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return{type:r.vP0,siteId:e,postId:t,source:n}},s=(e,t,n)=>{let{likes:o,iLike:i,found:s}=n;return{type:r.AVO,siteId:e,postId:t,likes:o,iLike:i,found:s}},a=(e,t,n,o)=>({type:r.rgA,siteId:e,postId:t,likeCount:n,liker:o}),u=(e,t,n,o)=>({type:r.a7F,siteId:e,postId:t,likeCount:n,liker:o})},26353:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(15960),a=n(95884),u=n(40057);const c=(0,i.G)(u.Z,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{likes:void 0,iLike:!1,found:0,lastUpdated:void 0},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.AVO:{const{likes:n,iLike:r,found:o}=t;return{likes:Array.isArray(n)?n.map((e=>({ID:e.ID,avatar_URL:e.avatar_URL,login:e.login,name:e.name,site_ID:e.site_ID,site_visible:e.site_visible}))):e.likes,iLike:r,found:o,lastUpdated:Date.now()}}case o.RFP:return e.iLike?e:{likes:e.likes,iLike:!0,found:e.found+1,lastUpdated:e.lastUpdated};case o.vP0:return e.iLike?{likes:e.likes,iLike:!1,found:Math.max(0,e.found-1),lastUpdated:e.lastUpdated}:e;case o.rgA:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&i)return e;let s=e.likes;return i||(s=[o,...e.likes||[]]),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}case o.a7F:{const{likeCount:n,liker:o}=t,i=(0,r.some)(e.likes,(e=>e.ID===o.ID));if(e.found===n&&!i)return e;let s=e.likes;return i&&(s=e.likes.filter((e=>o.ID!==e.ID))),{likes:s,iLike:e.iLike,found:n,lastUpdated:e.lastUpdated}}}return e})),l=(0,s.J)("siteId",(0,s.J)("postId",c));t.ZP=(0,a.U)({items:l})},40057:function(e,t){"use strict";t.Z={type:"object",additionalProperties:!1,required:["iLike","found"],properties:{likes:{type:"array",description:"List of post likes"},iLike:{type:"boolean",description:"Whether the current authenticated user likes the post or not"},found:{type:"number",description:"The total of post likes"},lastUpdated:{type:"number",description:"When we last updated the liker info"}}}},49985:function(e,t,n){"use strict";var r=n(92819),o=n(3982),i=n(96252),s=n(40211),a=n(13360),u=n(29398),c=n(71085),l=n(95884),f=n(72725),p=n(26353),d=n(8588),h=n(49061),g=n(41900),m=n(2205),y=n(78261),v=n(78928),b=n(38239),w=n(26588),_=n(73831),E=n(57384),S=n(40178),C=n(92110),P=n(40373);const k=(0,u.G)(h.dj,(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.hYA:return(0,r.reduce)(t.posts,((t,n)=>{const{site_ID:r,ID:o,global_ID:i}=n;return t[i]||(t===e&&(t={...t}),t[i]=[r,o]),t}),e);case s.kNW:{const n=(0,r.findKey)(e,(e=>{let[n,r]=e;return n===t.siteId&&r===t.postId}));return n?(0,r.omit)(e,n):e}}return e}));const I=(0,u.G)(h.kl,(0,c.$)((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.A4M:{const{siteId:n,query:r,posts:s,found:a}=t;if(!n)return e;const u=s.map(y.P);return(0,i.Z)(e,n,(e=>e.receive(u,{query:r,found:a})),(()=>new o.Z))}case s.hYA:{const{posts:n}=t,s=(0,r.reduce)(n,((e,t)=>Object.assign(e,{[t.site_ID]:[...e[t.site_ID]||[],(0,y.P)(t)]})),{});return(0,r.reduce)(s,((e,t,n)=>(0,i.Z)(e,n,(e=>e.receive(t)),(()=>new o.Z))),e)}case s.F1Z:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__RESTORE_PENDING"},{patch:!0})))}case s.JZv:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.CNw:{const{siteId:n,postId:r,post:o}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,...o},{patch:!0})))}case s.LbL:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"__DELETE_PENDING"},{patch:!0})))}case s.xkR:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.receive({ID:r,status:"trash"},{patch:!0})))}case s.kNW:{const{siteId:n,postId:r}=t;return(0,i.Z)(e,n,(e=>e.removeItem(r)))}}return e}),{serialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return{data:t,options:n}})),deserialize:e=>(0,r.mapValues)(e,(e=>{let{data:t,options:n}=e;return new o.Z(t,n)}))}));function A(e,t,n){return(0,r.findKey)(e.data.items,(e=>e.site_ID===t&&e.ID===n))||null}const T=(0,u.G)(g.Z,(0,c.$)((function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new o.Z({},{itemKey:"global_ID"}),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case s.A4M:{const{siteId:n,query:r,posts:o,found:i}=t;return n?e:e.receive(o.map(y.P),{query:r,found:i})}case s.hYA:{const{posts:n}=t;return e.receive(n)}case s.F1Z:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"__RESTORE_PENDING"},{patch:!0})}case s.JZv:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.CNw:{const{siteId:n,postId:r,post:o}=t,i=A(e,n,r);return e.receive({global_ID:i,...o},{patch:!0})}case s.LbL:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"__DELETE_PENDING"},{patch:!0})}case s.xkR:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.receive({global_ID:o,status:"trash"},{patch:!0})}case s.kNW:{const{siteId:n,postId:r}=t,o=A(e,n,r);return e.removeItem(o)}}return e}),{serialize:e=>{let{data:t,options:n}=e;return{data:t,options:n}},deserialize:e=>{let{data:t,options:n}=e;return new o.Z(t,n)}}));t.ZP=(0,l.U)({counts:f.ZP,items:k,siteRequests: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.pgH:case s.nL0:case s.Ra4:return Object.assign({},e,{[t.siteId]:Object.assign({},e[t.siteId],{[t.postId]:s.pgH===t.type})})}return e},queryRequests: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.XMF:case s.A4M:case s.LEp:const n=(0,m.v)(t.query,t.siteId);return Object.assign({},e,{[n]:s.XMF===t.type})}return e},queries:I,allSitesQueries:T,edits: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.hYA:return(0,r.reduce)(t.posts,((n,o)=>{let i=(0,r.get)(n,[o.site_ID,o.ID]);if(!i)return n;if(n===e&&(n=(0,r.merge)({},e)),t.saveMarker){const e=i.indexOf(t.saveMarker);-1!==e&&(i=i.slice(e+1))}const s=(0,v.Z)(...i);let u=null;if(s){const e=(0,r.omitBy)(s,((e,t)=>{switch(t){case"author":return(0,b.J)(e,o[t]);case"date":return(0,w.S)(e,o[t]);case"discussion":return(0,_.y)(e,o[t]);case"featured_image":return e===(0,a.g)(o);case"metadata":return!0;case"status":return(0,E.D)(e,o[t]);case"terms":return(0,S.v)(e,o[t])}return(0,r.isEqual)(o[t],e)}));if(s.metadata){const t=(0,C.F)(s.metadata,o.metadata);t.length>0&&(e.metadata=t)}(0,r.isEmpty)(e)||(u=[e])}return(0,r.set)(n,[o.site_ID,o.ID],u)}),e);case s.oD3:{const n=t.siteId,o=t.postId||"",i=(0,r.get)(e,[n,o]),s=(0,P.V)(i,t.post);return{...e,[n]:{...e[n],[o]:s}}}case s.gQI:return Object.assign({},e,{[t.siteId]:{...e[t.siteId],[t.postId||""]:null}});case s.cnn:if(!e.hasOwnProperty(t.siteId))break;return Object.assign({},e,{[t.siteId]:(0,r.omit)(e[t.siteId],t.postId||"")});case s.hZH:{const n=t.siteId;if(""===(t.postId||"")&&t.savedPost){const o=t.savedPost.ID;e={...e,[n]:(0,r.mapKeys)(e[n],((e,t)=>""===t?o:t))}}return e}}return e},likes:p.ZP,revisions:d.ZP})},17811:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(95884);t.Z=(0,i.U)({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.R$r?(0,r.reduce)(t.users,((t,n)=>(t===e&&(t={...e}),t[n.ID]=n,t)),e):e}})},8588:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(95884),s=n(17811);t.ZP=(0,i.U)({diffs:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{diffs:t,postId:n,revisions:i,siteId:s,type:a}=arguments.length>1?arguments[1]:void 0;if(a!==o.vIA)return e;if(!Number.isInteger(s)||s<=0)return e;const u=(0,r.get)(e,[s,n],{}),c={...(0,r.get)(u,"revisions",{}),...i},l=(0,r.filter)(t,(e=>{let{diff:t,from:n,to:o}=e;return!(!Number.isInteger(n)||n<0)&&(!(!Number.isInteger(o)||o<1)&&((0===n||!(0,r.isEmpty)(c[n]))&&(!(0,r.isEmpty)(c[o])&&!(0,r.isEmpty)(t))))}));return(0,r.isEmpty)(l)?e:{...e,[s]:{...e[s],[n]:{...{...(0,r.omit)(u,"revisions"),...(0,r.keyBy)(l,(e=>`${e.from}:${e.to}`))},revisions:c}}}},selection: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.N__:return{...e,revisionId:t.revisionId};case o.oD3:case o.bgv:return{...e,revisionId:null};default:return e}},ui: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.NYz:return{...e,isDialogVisible:!1};case o.gpX:return{...e,isDialogVisible:!0};case o.Se1:return{...e,diffView:"split"};case o.bE0:return{...e,diffView:"unified"};default:return e}},authors:s.Z})},49061:function(e,t,n){"use strict";n.d(t,{dj:function(){return o},kl:function(){return i}});var r=n(41900);const o={type:"object",patternProperties:{"^\\w+$":{type:"array",items:{type:"number"},minItems:2,maxItems:2}},additionalProperties:!1},i={type:"object",patternProperties:{"^\\d+$":r.Z},additionalProperties:!1}},40373:function(e,t,n){"use strict";n.d(t,{V:function(){return i}});var r=n(92819),o=n(78928);function i(e,t){if((0,r.isEmpty)(e))return[t];const n=(0,r.last)(e);if("string"==typeof n)return[...e,t];const i=e.slice(0,-1);return i.push((0,o.Z)(n,t)),i}},13360:function(e,t,n){"use strict";function r(e){if(e)return"featured_image"in e&&!/^https?:\/\//.test(e.featured_image)?e.featured_image:e.post_thumbnail?e.post_thumbnail.ID:void 0}n.d(t,{g:function(){return r}})},91602:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(92819),o=n(80951);function i(e){return(0,r.omitBy)(e,((e,t)=>o.e[t]===e))}},2205:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(91602);function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.B)(e),o=JSON.stringify(n);return t?[t,o].join(":"):o}},38239:function(e,t,n){"use strict";n.d(t,{J:function(){return o}});var r=n(92819);function o(e,t){return(0,r.get)(e,"ID")===(0,r.get)(t,"ID")}},26588:function(e,t,n){"use strict";function r(e,t){return!1===e||e&&new Date(e).getTime()===new Date(t).getTime()}n.d(t,{S:function(){return r}})},73831:function(e,t,n){"use strict";n.d(t,{y:function(){return o}});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;return(0,r.get)(t,[n])===o}))}},57384:function(e,t,n){"use strict";function r(e,t){return["publish","future"].includes(e)?["publish","future"].includes(t):e===t}n.d(t,{D:function(){return r}})},40178:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var r=n(92819);function o(e,t){return Object.entries(e).every((e=>{let[n,o]=e;const i=Object.values(o),s="object"==typeof i[0]&&null!==i[0],a=s?(0,r.map)(i,"ID"):i,u=s?"ID":"name",c=(0,r.map)(t[n],u);return!(0,r.xor)(a,c).length}))}},78928:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819);function o(e,t){const n=(0,r.reject)(e,(e=>(0,r.find)(t,{key:e.key})));return(0,r.concat)(n,t)}const i=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.reduce)(t,((e,t)=>"string"==typeof t?e:null===e?t:(0,r.mergeWith)((0,r.cloneDeep)(e),t,((e,t,n,r,i,s)=>"metadata"===n&&0===s.size?o(e,t):Array.isArray(t)?t:void 0))),null)}},92110:function(e,t,n){"use strict";n.d(t,{F:function(){return o}});var r=n(92819);function o(e,t){return(0,r.filter)(e,(e=>function(e,t){const n=(0,r.find)(t,{key:e.key});return"update"===e.operation?!n||n.value!==e.value:"delete"===e.operation&&!!n}(e,t)))}},78261:function(e,t,n){"use strict";n.d(t,{P:function(){return i}});var r=n(92819);const o=(e,t)=>{if(t.length>1){const[,...n]=t;o(e[t[0]],n)}else e&&e.hasOwnProperty(t[0])&&delete e[t[0]]};function i(e){const t=(0,r.cloneDeep)(e);return(0,r.reduce)([[],...(0,r.reduce)(e.terms,((e,t,n)=>e.concat((0,r.map)(t,((e,t)=>["terms",n,t])))),[]),...(0,r.map)(e.categories,((e,t)=>["categories",t])),...(0,r.map)(e.tags,((e,t)=>["tags",t])),...(0,r.map)(e.attachments,((e,t)=>["attachments",t]))],((e,t)=>(o(e,t.concat("meta","links")),e)),t)}},18223:function(e,t,n){"use strict";n.d(t,{p:function(){return r}});const r={"guided-tours-history":[],recentSites:[],mediaScale:.157,colorScheme:"default",homeQuickLinksToggleStatus:"expanded"}},54614:function(e,t,n){"use strict";var r=n(9044),o=n(22420);(0,r.x)(["preferences"],o.ZP)},22420:function(e,t,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(85290);const u=(0,i.G)(a.U,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(t.type===o.XuD){const{values:e}=t;return e}return e})),c=(0,s.U)({localValues: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.JPH:{const{key:n,value:r}=t;return e[n]===r?e:{...e,[n]:r}}case o.lCo:{const{[t.key]:n,...r}=e;return r}}return e},remoteValues:u,fetching: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.N8o:case o.PD1:return!1;case o.pSd:return!0}return e},lastFetchedTimestamp:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.N8o?Date.now():e}}),l=(0,r.xi)("preferences",c);t.ZP=l},85290:function(e,t,n){"use strict";n.d(t,{U:function(){return r}});const r={type:["null","object"],patternProperties:{"^dismissible-card-.+$":{type:["boolean","object"]},"^time-mismatch-warning-\\d+$":{type:["boolean","number"]}},properties:{"guided-tours-history":{type:"array",items:{type:"object",properties:{tourName:{type:"string"},timestamp:{type:"number",minimum:0},finished:{type:"boolean"}},required:["tourName","timestamp","finished"],additionalProperties:!1}},recentSites:{type:"array",items:{type:"number"}},mediaScale:{type:"number",minimum:0,maximum:1},colorScheme:{type:"string",enum:["aquatic","blue","classic-blue","classic-bright","classic-dark","coffee","contrast","ectoplasm","light","midnight","modern","nightfall","ocean","powder-snow","sakura","sunrise","sunset"]},"upwork-dismissible-banner":{type:"object","^[a-z-]+$":{type:"array",items:{type:"object",properties:{dismissedAt:{type:"number",minimum:0},type:{type:"string",enum:["dismiss"]}},required:["dismissedAt","type"]}}},"jetpack-review-prompt":{type:"object",properties:{scan:{$ref:"#/definitions/dismissiblePrompt"},restore:{$ref:"#/definitions/dismissiblePrompt"}}},homeQuickLinksToggleStatus:{type:"string",enum:["collapsed","expanded"]},"persistent-counter":{type:"object",properties:{"^[a-z0-9-]+$":{type:"object",properties:{count:{type:"number",minimum:0},lastCountDate:{type:["number","null"]}}}}}},definitions:{dismissiblePrompt:{type:"object",properties:{dismissedAt:{type:["number","null"]},dismissedCount:{type:"number",minimum:0},reviewed:{type:"number"},validFrom:{type:["number","null"]}},required:["dismissedAt","dismissedCount","reviewed","validFrom"]}}}},85300:function(e,t,n){"use strict";n.d(t,{Oz:function(){return o}});var r=n(18223);n(54614);function o(e,t){for(const i of[null===(n=e.preferences)||void 0===n?void 0:n.localValues,null===(o=e.preferences)||void 0===o?void 0:o.remoteValues,r.p]){var n,o;if(i&&i.hasOwnProperty(t))return i[t]??null}return null}},86169:function(e,t,n){"use strict";n.d(t,{Y9:function(){return a}});var r=n(11481),o=n(72429),i=n(40211);n(65811);const s=r.ZP.translate("There was an error retrieving purchases."),a=(r.ZP.translate("There was an error removing the purchase."),e=>t=>(t({type:i.$5Y}),o.Z.req.get("/me/purchases").then((n=>{t({type:i.XMH,purchases:n,userId:e})})).catch((()=>{t({type:i._MG,error:s})}))))},65811:function(e,t,n){"use strict";var r=n(9044),o=n(31012);(0,r.x)(["purchases"],o.Z)},31012:function(e,t,n){"use strict";var r=n(83685),o=n(40211);const i={data:[],error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};function s(e,t){return t.type===o.XMH?t.purchases:(t.type===o.m58&&(e=e.filter((e=>parseInt(e.blog_id,10)!==parseInt(t.siteId,10)||!!t.purchases.some((t=>t.ID===e.ID))))),t.type===o.WjV&&(e=e.filter((e=>!!t.purchases.some((t=>t.ID===e.ID))))),function(e,t){return t.reduce(((e,t)=>function(e,t){let n=!1;const r=e.map((e=>t.ID===e.ID?(n=!0,t):e));return n?r:[...r,t]}(e,t)),e)}(e,t.purchases))}t.Z=(0,r.xi)("purchases",(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 o.gbe:return{...e,data:[],hasLoadedSitePurchasesFromServer:!1,hasLoadedUserPurchasesFromServer:!1};case o.pJb:return{...e,isFetchingSitePurchases:!0};case o.$5Y:return{...e,isFetchingUserPurchases:!0};case o.WjV:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,isFetchingUserPurchases:!1,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o.m58:return{...e,data:s(e.data,t),error:null,isFetchingSitePurchases:!1,hasLoadedSitePurchasesFromServer:!0};case o.XMH:return{...e,data:s(e.data,t),error:null,isFetchingUserPurchases:!1,hasLoadedUserPurchasesFromServer:!0};case o.RIF:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,hasLoadedUserPurchasesFromServer:!0};case o._qM:return{...e,error:t.error,hasLoadedSitePurchasesFromServer:!0,isFetchingSitePurchases:!1};case o._MG:return{...e,error:t.error,hasLoadedUserPurchasesFromServer:!0,isFetchingUserPurchases:!1};case o.Fsf:return{...e,hasLoadedSitePurchasesFromServer:!1,isFetchingSitePurchases:!1}}return e}))},12726:function(e,t,n){"use strict";n.d(t,{Mo:function(){return r},iJ:function(){return o}});n(65811);const r=e=>e.purchases.isFetchingUserPurchases,o=e=>e.purchases.hasLoadedUserPurchasesFromServer},99432:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(83685),o=n(29950);n(65811);const i=(0,r.P1)((e=>(0,o.W)(e.purchases.data)),(e=>[e.purchases.data]))},76678:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var r=n(83685),o=n(36747),i=n(12726),s=n(99432);n(65811);const a=(0,r.P1)((e=>{if(!(0,i.iJ)(e))return null;const t=(0,o.rc)(e);return(0,s.G)(e).filter((e=>e.userId===t))}),(e=>[(0,i.iJ)(e),(0,o.rc)(e),(0,s.G)(e)]))},78772:function(e,t,n){"use strict";n.d(t,{BQ:function(){return r},tx:function(){return o},_n:function(){return i},K1:function(){return s},D8:function(){return a},Ae:function(){return u},_h:function(){return c},M1:function(){return l},_p:function(){return f},AH:function(){return p},lH:function(){return d},P6:function(){return h},b3:function(){return g},sh:function(){return m},DJ:function(){return y},kB:function(){return v},R1:function(){return b},cu:function(){return w},MW:function(){return _},a$:function(){return E},nY:function(){return S},q_:function(){return C},B_:function(){return P},gS:function(){return k},L5:function(){return I},Nr:function(){return A},s5:function(){return T},ud:function(){return R},we:function(){return O},_O:function(){return x},Ny:function(){return F},$J:function(){return L},S6:function(){return U},ch:function(){return Z},nB:function(){return D},rE:function(){return j},Bi:function(){return N},Cm:function(){return M},Rn:function(){return q},yZ:function(){return B},c1:function(){return H},e_:function(){return V},iv:function(){return $},IJ:function(){return W},zF:function(){return z},zg:function(){return G},LW:function(){return Q},Fy:function(){return Y},qY:function(){return K},Qw:function(){return J},pu:function(){return X},CI:function(){return ee},_7:function(){return te},l0:function(){return ne},rC:function(){return re},c7:function(){return oe},RN:function(){return ie},Qr:function(){return se},HC:function(){return ae},aL:function(){return ue},Ep:function(){return ce},hB:function(){return le},Jx:function(){return fe},_i:function(){return pe},fY:function(){return de},CE:function(){return he},Q6:function(){return ge},tN:function(){return me},BZ:function(){return ye},VV:function(){return ve},vy:function(){return be},OT:function(){return we}});const r="READER_CONVERSATION_FOLLOW",o="READER_CONVERSATION_MUTE",i="READER_CONVERSATION_UPDATE_FOLLOW_STATUS",s="READER_DISMISS_POST",a="READER_DISMISS_SITE",u="READER_FEED_REQUEST",c="READER_FEED_REQUEST_FAILURE",l="READER_FEED_REQUEST_SUCCESS",f="READER_FEED_SEARCH_RECEIVE",p="READER_FOLLOW",d="READER_FOLLOW_ERROR",h="READER_FOLLOWS_RECEIVE",g="READER_FOLLOWS_SYNC_COMPLETE",m="READER_FOLLOWS_SYNC_START",y="READER_LIST_CREATE",v="READER_LIST_DELETE",b="READER_LIST_FOLLOW_RECEIVE",w="READER_LIST_ITEM_ADD_FEED_RECEIVE",_="READER_LIST_ITEM_DELETE_FEED",E="READER_LIST_ITEM_DELETE_SITE",S="READER_LIST_ITEM_DELETE_TAG",C="READER_LIST_ITEMS_RECEIVE",P="READER_LIST_REQUEST",k="READER_LIST_REQUEST_FAILURE",I="READER_LIST_REQUEST_SUCCESS",A="READER_LIST_UNFOLLOW_RECEIVE",T="READER_LIST_UPDATE",R="READER_LIST_UPDATE_FAILURE",O="READER_LIST_UPDATE_SUCCESS",x="READER_LISTS_RECEIVE",F="READER_LISTS_REQUEST",L="READER_ORGANIZATIONS_RECEIVE",U="READER_ORGANIZATIONS_REQUEST",Z="READER_POST_SEEN",D="READER_POSTS_RECEIVE",j="READER_RECOMMENDED_SITES_RECEIVE",N="READER_RELATED_POSTS_RECEIVE",M="READER_RELATED_POSTS_REQUEST",q="READER_RELATED_POSTS_REQUEST_FAILURE",B="READER_RELATED_POSTS_REQUEST_SUCCESS",H="READER_SEEN_MARK_ALL_AS_SEEN_RECEIVE",V="READER_SEEN_MARK_AS_SEEN_RECEIVE",$="READER_SEEN_MARK_AS_UNSEEN_RECEIVE",W="READER_SITE_BLOCK",z="READER_SITE_BLOCKS_RECEIVE",G="READER_SITE_BLOCKS_REQUEST",Q="READER_SITE_REQUEST",Y="READER_SITE_REQUEST_FAILURE",K="READER_SITE_REQUEST_SUCCESS",J="READER_SITE_UNBLOCK",X="READER_STREAMS_PAGE_RECEIVE",ee="READER_STREAMS_PAGE_REQUEST",te="READER_STREAMS_SELECT_ITEM",ne="READER_STREAMS_SELECT_NEXT_ITEM",re="READER_STREAMS_SELECT_PREV_ITEM",oe="READER_STREAMS_SHOW_UPDATES",ie="READER_STREAMS_UPDATES_RECEIVE",se="READER_SUBSCRIBE_TO_NEW_COMMENT_EMAIL",ae="READER_SUBSCRIBE_TO_NEW_POST_EMAIL",ue="READER_SUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",ce="READER_TAG_IMAGES_RECEIVE",le="READER_TAG_IMAGES_REQUEST",fe="READER_TAG_IMAGES_REQUEST_FAILURE",pe="READER_TAG_IMAGES_REQUEST_SUCCESS",de="READER_TAGS_RECEIVE",he="READER_THUMBNAIL_RECEIVE",ge="READER_UNFOLLOW",me="READER_UNFOLLOW_TAG_RECEIVE",ye="READER_UNSUBSCRIBE_TO_NEW_COMMENT_EMAIL",ve="READER_UNSUBSCRIBE_TO_NEW_POST_EMAIL",be="READER_UNSUBSCRIBE_TO_NEW_POST_NOTIFICATIONS",we="READER_UPDATE_NEW_POST_EMAIL_SUBSCRIPTION"},84225:function(e,t,n){"use strict";n.d(t,{I:function(){return r}});const r=Object.freeze({following:"F",not_following:null,muting:"M"})},26395:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(84225),u=n(91706),c=n(51260);const l=(0,i.G)(u.d,(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.BQ:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.following};case o.tx:return{...e,[(0,c.J)(t.payload.siteId,t.payload.postId)]:a.I.muting};case o._n:{const n=(0,c.J)(t.payload.siteId,t.payload.postId);if(t.payload.followStatus===a.I.not_following)return(0,r.omit)(e,n);return{...e,[n]:t.payload.followStatus}}case o.nB:{if(!t.posts)return e;const n={};return(0,r.forEach)(t.posts,(e=>{e.is_following_conversation&&(n[(0,c.J)(e.site_ID,e.ID)]=a.I.following)})),0===(0,r.size)(n)?e:{...e,...n}}}return e}));t.Z=(0,s.U)({items:l})},91706:function(e,t,n){"use strict";n.d(t,{d:function(){return o}});var r=n(84225);const o={type:"object",patternProperties:{"^[0-9]+-[0-9]+$":{enum:Object.values(r.I)}},additionalProperties:!1}},51260:function(e,t,n){"use strict";function r(e,t){return`${e}-${t}`}n.d(t,{J:function(){return r}})},13838:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?(0,r.uniqBy)((e||[]).concat(t.payload.feeds),"feed_URL"):e})),u=(0,i.J)("queryKey",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o._p?t.payload.total:e}));t.ZP=(0,s.U)({items:a,total:u})},64380:function(e,t,n){"use strict";var r=n(92819),o=n(50118),i=n(8165),s=n(48265),a=n(78772),u=n(29398),c=n(71085),l=n(95884),f=n(46518);function p(e,t){return{[t.payload.feed_ID]:{feed_ID:t.payload.feed_ID,is_error:!0},...e}}function d(e,t){const n=function(e){return{feed_ID:+e.feed_ID,blog_ID:+e.blog_ID,name:e.name&&(0,o.S)(e.name),URL:(0,s.m)(e.URL),feed_URL:(0,s.m)(e.feed_URL),is_following:e.is_following,subscribers_count:e.subscribers_count,description:e.description&&(0,o.S)((0,i.C)(e.description)),last_update:e.last_update,image:e.image,organization_id:e.organization_id,unseen_count:e.unseen_count}}(t.payload);return{...e,[n.feed_ID]:n}}const h=(0,u.G)(f.d,(0,c.$)((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.M1:return d(e,t);case a._h:return p(e,t);case a.e_:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count-t.globalIds.length,0)})}:e}case a.iv:{const n=e[t.feedId];return n?{...e,[t.feedId]:(0,r.merge)({},n,{unseen_count:Math.max(n.unseen_count+t.globalIds.length,0)})}:e}case a.c1:return(0,r.forEach)(t.feedIds,(t=>{e[t]={...e[t],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));t.ZP=(0,l.U)({items:h,lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===a.M1?{...e,[t.payload.feed_ID]:Date.now()}:e},queuedRequests: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.Ae:return{...e,[t.payload.feed_ID]:!0};case a.M1:case a._h:return(0,r.omit)(e,t.payload.feed_ID)}return e}})},46518:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});const r={type:"object",patternProperties:{"^[0-9a-z]+$":{type:"object",required:["feed_ID","blog_ID"],properties:{feed_ID:{type:"integer"},blog_ID:{type:"integer"},name:{type:["string","null"]},URL:{type:["string","null"]},feed_URL:{type:["string","null"]},is_following:{type:["boolean","null"]},subscribers_count:{type:["integer","null"]},description:{type:["string","null"]},last_update:{type:["string","null"]},image:{type:["string","null"]},organization_id:{type:["integer","null"]},unseen_count:{type:["integer","null"]}}}},additionalProperties:!1}},38357:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(71085),a=n(95884),u=n(75235),c=n(46486);function l(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","email"],{}),u={};switch(i){case o.HC:case o.VV:u.send_posts=!(i===o.VV);break;case o.Qr:case o.BZ:u.send_comments=!(i===o.BZ)}n.deliveryFrequency&&(u.post_delivery_frequency=n.deliveryFrequency);const l={...a,...u};return(0,r.isEqual)(a,l)?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:l,notification:(0,r.get)(s,["delivery_methods","notification"],{})}}}}function f(e,t){let{payload:n,type:i}=t;const s=(0,r.find)(e,{blog_ID:+n.blogId});if(!s)return e;const a=(0,r.get)(s,["delivery_methods","notification","send_posts"],!1),u=!(i===o.vy);return a===u?e:{...e,[(0,c.C)(s.URL)]:{...s,delivery_methods:{email:(0,r.get)(s,["delivery_methods","email"],{}),notification:{send_posts:u}}}}}const p=(0,i.G)(u.e,(0,s.$)((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:{const n=(0,c.C)(t.payload.feedUrl);return{...e,[n]:(0,r.merge)({},e[n],{error:t.payload.error})}}case o.AH:{let n=(0,c.C)(t.payload.feedUrl);const o={is_following:!0},i=(0,r.get)(t.payload,["follow","feed_URL"],t.payload.feedUrl),s={...e};i!==t.payload.feedUrl?(o.alias_feed_URLs=[...e[n].alias_feed_URLs||[],(0,c.C)(t.payload.feedUrl)],delete s[n],n=(0,c.C)(i)):e[n]&&e[n].error&&(o.error=null);const a=(0,r.get)(e[n],["delivery_methods","notification"]);return a&&(o.delivery_methods={notification:a}),Object.assign(s,{[n]:(0,r.merge)({feed_URL:i},e[n],t.payload.follow,o)})}case o.Q6:{const n=(0,c.C)(t.payload.feedUrl),o=e[n];return o&&o.is_following?{...e,[n]:(0,r.merge)({},o,{is_following:!1,delivery_methods:{notification:{send_posts:!1}}})}:e}case o.P6:{const n=t.payload.follows,o=(0,r.reduce)(n,((e,t)=>{const n=(0,c.C)(t.URL),r={...t,is_following:!0};return e[n]=r,e}),{});return(0,r.merge)({},e,o)}case o.qY:{const n=t.payload;if(!n||!n.feed_URL||!n.is_following)return e;const o=(0,c.C)(n.feed_URL),i=e[o],s={delivery_methods:(0,r.get)(n,"subscription.delivery_methods"),is_following:!0,URL:n.URL,feed_URL:n.feed_URL,blog_ID:n.ID};return{...e,[o]:(0,r.merge)({},i,s)}}case o.HC:case o.OT:case o.VV:case o.Qr:case o.BZ:return l(e,t);case o.aL:case o.vy:return f(e,t);case o.b3:{const n=new Set(t.payload);return(0,r.omitBy)(e,(e=>e.ID&&!n.has(e.feed_URL)))}case o.e_:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count-t.globalIds.length})}:e}case o.iv:{const n=(0,c.C)(t.feedUrl),o=e[n];return o?{...e,[n]:(0,r.merge)({},o,{unseen_count:o.unseen_count+t.globalIds.length})}:e}case o.c1:return(0,r.forEach)(t.feedUrls,(t=>{const n=(0,c.C)(t);e[n]={...e[n],unseen_count:0}})),{...e}}return e}),{serialize:e=>(0,r.pickBy)(e,(e=>e.ID&&e.is_following))}));t.ZP=(0,a.U)({items:p,itemsCount:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0;return t.type===o.P6&&t.payload.totalCount?t.payload.totalCount:e},lastSyncTime:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.sh?Date.now():e}})},75235:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});const r={type:"object",patternProperties:{".+":{type:"object",required:["feed_URL","URL","is_following"],properties:{URL:{type:"string"},feed_URL:{type:"string"},is_following:{type:"boolean"},ID:{type:["integer","null"]},blog_ID:{type:["integer","null"]},feed_ID:{type:["integer","null"]},date_subscribed:{type:["integer","null"]},last_updated:{type:["integer","null"]},delivery_methods:{type:["object","null"]},is_owner:{type:["boolean","null"]},organization_id:{type:["integer","null"]},name:{type:["string","null"]},unseen_count:{type:["integer","null"]},site_icon:{type:["string","null"]}}}},additionalProperties:!1}},46486:function(e,t,n){"use strict";n.d(t,{C:function(){return o}});var r=n(55347);function o(e){const t=e&&(0,r.Z)(e);return t&&t.replace(/^https?:\/\//,"").toLowerCase()}},35929:function(e,t,n){"use strict";var r=n(9044),o=n(97589);(0,r.x)(["reader"],o.Z)},6693:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(40932);const u=(0,i.G)(a.d,(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._O:return Object.assign({},e,(0,r.keyBy)(t.lists,"ID"));case o.L5:case o.we:return Object.assign({},e,(0,r.keyBy)([t.data.list],"ID"));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e}));function c(e,t,n){if(!(t.listId in e))return e;const o=e[t.listId],i=(0,r.reject)(o,n);return{...e,[t.listId]:i}}const l=(0,i.G)(a.E,(function(){var e,t;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments.length>1?arguments[1]:void 0;switch(i.type){case o._O:return(0,r.map)(i.lists,"ID");case o.R1:const s=null===(e=i.list)||void 0===e?void 0:e.ID;return!s||(0,r.includes)(n,s)?n:[...n,s];case o.Nr:const a=null===(t=i.list)||void 0===t?void 0:t.ID;return a?(0,r.filter)(n,(e=>e!==a)):n;case o.kB:return(0,r.filter)(n,(e=>e!==i.listId));case o.L5:return n.includes(i.data.list.ID)?n:[...n,i.data.list.ID]}return n}));t.ZP=(0,s.U)({items:u,listItems: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.q_:return{...e,[t.listId]:t.listItems};case o.cu:{const n=e[t.listId]||[];return(0,r.some)(n,{feed_ID:t.feedId})?e:{...e,[t.listId]:[...n,{feed_ID:t.feedId}]}}case o.MW:return c(e,t,(e=>e.feed_ID===t.feedId));case o.nY:return c(e,t,(e=>e.tag_ID===t.tagId));case o.a$:return c(e,t,(e=>e.site_ID===t.siteId));case o.kB:return t.listId in e?(0,r.omit)(e,t.listId):e}return e},subscribedLists:l,isCreatingList: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.DJ:case o.L5:case o.gS:return o.DJ===t.type}return e},isRequestingList: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.B_:case o.L5:case o.gS:return o.B_===t.type}return e},isRequestingLists: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.Ny:case o._O:return o.Ny===t.type}return e},isUpdatingList: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.s5:case o.we:case o.ud:return o.s5===t.type}return e}})},40932:function(e,t,n){"use strict";n.d(t,{d:function(){return r},E:function(){return o}});const r={type:"object",patternProperties:{"^[0-9]+$":{type:"object",required:["ID"],properties:{ID:{type:"integer"},title:{type:"string"},slug:{type:"string"},description:{type:"string"},owner:{type:"string"},is_owner:{type:"boolean"},is_public:{type:"boolean"}}}},additionalProperties:!1},o={type:"array"}},61923:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(29398),s=n(95884),a=n(37013);const u=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.$J?t.error?e:(0,r.get)(t,["payload","organizations"],e):e}));t.ZP=(0,s.U)({items:u,isRequesting: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:return!0;case o.$J:return!1}return e}})},37013:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});const r={type:"array",items:{type:"object",properties:{id:{type:"integer"},title:{type:"string"},slug:{type:"string"},sites_count:{type:"integer"}}}}},93125:function(e,t,n){"use strict";n.d(t,{SD:function(){return E}});var r=n(97006),o=n(86989),i=n.n(o),s=n(92819),a=n(88767),u=n(18552),c=(n(7689),n(72429)),l=n(58414),f=n(77327),p=n(4184),d=n(78772),h=n(89258);n(35929);let g={recordEvent:()=>{}},m=()=>{};function y(e){g.recordTracksEvent("calypso_traintracks_render",e.railcar)}function v(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const o={},s=(0,l.Z)();if(s&&(o.content_width=s),e.blogId)return t?(0,r.DS)(n)?(0,u.ZP)({path:`help/article/${encodeURIComponent(e.blogId)}/${encodeURIComponent(e.postId)}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):i()({global:!0,path:`/wpcom/v2/help-center/fetch-post?post_id=${encodeURIComponent(e.postId)}&blog_id=${encodeURIComponent(e.blogId)}`}):c.Z.req.get(`/read/sites/${encodeURIComponent(e.blogId)}/posts/${encodeURIComponent(e.postId)}`,o);const{postId:a,feedId:f,...p}=e;return c.Z.req.get(`/read/feed/${encodeURIComponent(f)}/posts/${encodeURIComponent(a)}`,{apiVersion:"1.2",...p,...o})}m=n(29789).yg,g=n(17032);const b=e=>e.catch((()=>null)),w=e=>t=>{if(!e)return Promise.resolve([]);const[n,r]=(0,s.partition)(e,"_should_reload");n.forEach((e=>t(function(e){return function(t){const n=e.railcar;v((0,f.WO)(e)).then((e=>{e.railcar=n,t(w([e]))}))}}(e))));const o=(0,s.compact)(r).map(h.lp);return(0,s.forEach)(o,(e=>{e.is_external||t((0,p.u5)(e.site_ID,e.ID,{iLike:Boolean(e.i_like),found:+e.like_count}))})),t({type:d.nB,posts:o}),Promise.all(o.map(h.yv).map(b)).then((e=>t({type:d.nB,posts:(0,s.compact)(e)}))),(0,s.forEach)((0,s.filter)(o,"railcar"),y),Promise.resolve(o)},_=new Set,E=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return r=>{const o=(0,f.C$)(e);if(!_.has(o))return _.add(o),v(e,t,n).then((e=>(i(),r(w([e]))))).catch((t=>(i(),r(S(t,e)))));function i(){_.delete(o)}}};function S(e,t){return{type:d.nB,posts:[{feed_ID:t.feedId,ID:t.postId,site_ID:t.blogId,is_external:!t.blogId,global_ID:(0,a.Z)(),is_error:!0,error:e}]}}},81823:function(e,t){"use strict";t.Z={UNCLASSIFIED:0,PHOTO_ONLY:1,LARGE_BANNER:2,ONE_LINER:4,LANDSCAPE_BANNER:8,PORTRAIT_BANNER:16,GALLERY:32,VIDEO:64,THUMBNAIL:128,CANONICAL_IN_CONTENT:256,FEATURED_VIDEO:512,X_POST:1024}},89258:function(e,t,n){"use strict";n.d(t,{lp:function(){return F},yv:function(){return U}});var r=n(92819),o=n(77804),i=n(53544),s=n(10363),a=n(37183),u=n(40691),c=n(17431),l=n(50917),f=n(30757),p=n(51088),d=n(64e3),h=n(42347),g=n(47401),m=n(12800),y=n(31564),v=n(91410),b=n(21036),w=n(53317),_=n(66184),E=n(49147),S=n(59654),C=n(36003),P=n(60566),k=n(75659),I=n(55454),A=n(81823),T=n(99891);function R(e){return e.width>=T.hM&&e.height>=T.qg}function O(e){const t=(0,r.filter)(e.content_images,R);let n=A.Z.UNCLASSIFIED;return t.length>=T.y_?n^=A.Z.GALLERY:e.canonical_media&&"image"===e.canonical_media.mediaType&&e.canonical_media.width>=T.Ws&&(e=>function(e){return e&&e.content_no_html?e.content_no_html.length:0}(e)<=T.ml)(e)&&(n^=A.Z.PHOTO_ONLY),e.canonical_media&&"video"===e.canonical_media.mediaType&&(n^=A.Z.FEATURED_VIDEO),e.tags&&e.tags["p2-xpost"]&&(n^=A.Z.X_POST),e.display_type=n,e}const x=(0,r.flow)([m.Z,P.Z,S.Z,b.Z,E.Z,(0,C.Z)(T.fY),v.Z,(0,I.Z)([h.Z,d.Z,(0,f.Z)(),l.Z,p.Z,u.b,u.Y,i.Z,s.Z,a.Z,c.Z]),g.Z,w.Z,_.Z,O,o.Z]);function F(e){return e?(e=Object.assign({},e),x(e),e):e}const L=(0,r.flow)([(0,y.Z)(T.Kt,T.qg),w.Z,_.Z,O]);function U(e){return e=Object.assign({},e),(0,k.Z)(e).then(L)}},42334:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);t.ZP=(0,i.U)({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.nB:const n=t.posts||t.payload.posts;return{...e,...(0,r.keyBy)(n,"global_ID")};case o.e_:case o.c1:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!0}})),{...e};case o.iv:return(0,r.forEach)(t.globalIds,(t=>{e[t]={...e[t],is_seen:!1}})),{...e}}return e},seen:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const n=(0,r.get)(t,"payload.post.global_ID");return t.type===o.ch&&n?{...e,[n]:!0}:e}})},6712:function(e,t,n){"use strict";n.d(t,{UK:function(){return a}});var r=n(56868),o=n(92819),i=n(77327);n(35929);const s=(0,r.Z)((e=>[e.reader.posts.items]),(e=>{let[t]=e;return(0,o.keyBy)(t,(e=>(0,i.C$)((0,i.WO)(e))))})),a=(e,t)=>{if(!t||!(0,i.C$)(t))return null;return s(e)[(0,i.C$)(t)]};(0,r.Z)((e=>[s(e)]),((e,t)=>{let[n]=e;return!t||(0,o.some)(t,(e=>!(0,i.C$)(e)))?null:t.map(i.C$).map((e=>n[e]))}),{getCacheKey:e=>e.map(i.C$).join()})},99891:function(e,t,n){"use strict";n.d(t,{fY:function(){return r},Ws:function(){return o},ml:function(){return i},y_:function(){return s},hM:function(){return a},Kt:function(){return u},qg:function(){return c}});const r=800,o=440,i=85,s=4,a=300,u=144,c=72},12622:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(15960),s=n(95884);const a=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?(0,r.uniqBy)(e.concat(t.payload.sites),"feedId"):e})),u=(0,i.J)("seed",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.rE?Math.max(t.payload.offset,e):e}));t.ZP=(0,s.U)({items:a,pagingOffset:u})},97589:function(e,t,n){"use strict";var r=n(83685),o=n(95884),i=n(26395),s=n(13838),a=n(64380),u=n(38357),c=n(6693),l=n(61923),f=n(42334),p=n(12622),d=n(1788),h=n(92972),g=n(8614),m=n(53761),y=n(83530),v=n(64805),b=n(39493);const w=(0,o.U)({conversations:i.Z,feeds:a.ZP,feedSearches:s.ZP,follows:u.ZP,lists:c.ZP,posts:f.ZP,recommendedSites:p.ZP,relatedPosts:d.ZP,siteBlocks:h.ZP,siteDismissals:g.Z,sites:m.ZP,streams:y.ZP,tags:v.Z,thumbnails:b.Z,organizations:l.ZP}),_=(0,r.xi)("reader",w);t.Z=_},1788:function(e,t,n){"use strict";var r=n(78772),o=n(95884),i=n(92310);function s(e,t,n){const{siteId:r,postId:o,scope:s}=t.payload;return{...e,[(0,i.Jy)(r,o,s)]:n}}t.ZP=(0,o.U)({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.Bi?s(e,t,t.payload.posts.map((e=>e.global_ID))):e},queuedRequests: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.Cm:return s(e,t,!0);case r.yZ:case r.Rn:return s(e,t,!1)}return e}})},92310:function(e,t,n){"use strict";n.d(t,{Jy:function(){return r}});function r(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"all";return`${e}-${t}-${n}`}},92972:function(e,t,n){"use strict";var r=n(92819),o=n(78772),i=n(95884);t.ZP=(0,i.U)({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.IJ:return{...e,[t.payload.siteId]:!0};case o.Qw:return(0,r.omit)(e,t.payload.siteId);case o.qY:return t.payload.is_blocked?{...e,[t.payload.ID]:!0}:e[t.payload.ID]?(0,r.omit)(e,t.payload.ID):e;case o.zF:{if(!t.payload||!t.payload.sites)return e;const n=(0,r.reduce)(t.payload.sites,((e,t)=>(e[t.ID]=!0,e)),{});return{...e,...n}}}return e},currentPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF&&t.payload&&t.payload.page?t.payload.page:e},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.zF?!t.payload||!t.payload.page||t.payload.count>0?e:t.payload.page:e},inflightPages: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.zg:return t.payload&&t.payload.page?{...e,[t.payload.page]:!0}:e;case o.zF:return t.payload&&t.payload.page?(0,r.omit)(e,t.payload.page):e}return e}})},8614:function(e,t,n){"use strict";var r=n(78772),o=n(95884);t.Z=(0,o.U)({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 r.D8:return{...e,[t.payload.siteId]:!0};case r.K1:return{...e,[t.payload.siteId]:!0}}return e}})},63262:function(e,t,n){"use strict";n.d(t,{LV:function(){return o},N0:function(){return i},vE:function(){return s}});var r=n(78772);n(8681),n(35929);function o(e){return{type:r.LW,payload:{ID:e}}}function i(e){return{type:r.qY,payload:e}}function s(e,t){return{type:r.Fy,payload:e.payload,error:t}}},70418:function(e,t,n){"use strict";n.d(t,{X:function(){return r}});const r=["ID","name","title","URL","icon","is_following","is_jetpack","description","is_private","feed_ID","feed_URL","capabilities","prefer_feed","subscribers_count","options","subscription","is_blocked","unseen_count"]},53761:function(e,t,n){"use strict";var r=n(92819),o=n(50118),i=n(47307),s=n(78772),a=n(29398),u=n(71085),c=n(95884),l=n(5259);function f(e,t){return t.error&&!(0,r.includes)([403,404,410],t.error.statusCode)?e:{...e,[t.payload.ID]:{ID:t.payload.ID,is_error:!0,error:t.error}}}function p(e,t){const n=(s=t.payload,(s=(0,r.omit)(s,["meta","subscription"])).URL&&(s.domain=(0,i.ce)(s.URL),s.slug=s.domain.replace(/\//g,"::")),s.title=(0,r.trim)(s.name)||s.domain,s.description&&(s.description=(0,o.S)(s.description)),s.options&&s.options.is_mapped_domain&&!s.is_jetpack&&(s.wpcom_url=(0,i.ce)(s.options.unmapped_url)),s.options&&s.options.is_redirect&&(s.slug=(0,i.ce)(s.options.unmapped_url),s.domain=s.slug),s);var s;return{...e,[t.payload.ID]:n}}const d=(0,a.G)(l.u,(0,u.$)((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.zF:if(!t.payload||!t.payload.sites)return e;return{...(0,r.keyBy)(t.payload.sites,"ID"),...e};case s.qY:return p(e,t);case s.Fy:return f(e,t)}return e}),{serialize:e=>(0,r.omitBy)(e,"is_error")}));t.ZP=(0,c.U)({items:d,queuedRequests: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.LW:return{...e,[t.payload.ID]:!0};case s.qY:case s.Fy:return(0,r.omit)(e,t.payload.ID)}return e},lastFetched:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return t.type===s.qY?{...e,[t.payload.ID]:Date.now()}:e}})},5259:function(e,t,n){"use strict";n.d(t,{u:function(){return o}});var r=n(43056);const o={...r.K,patternProperties:{...r.K.patternProperties,"^\\d+$":{...r.K.patternProperties["^\\d+$"],properties:{...r.K.patternProperties["^\\d+$"].properties,feed_ID:{type:"number"},subscription:{type:"object"},is_blocked:{type:"boolean"},organization_id:{type:"number"},unseen_count:{type:"number"}}}}}},58311:function(e,t,n){"use strict";n.d(t,{_g:function(){return o}});n(92819),n(35929);const r=144e7;function o(e,t){const n=!e.reader.sites.queuedRequests[t],o=!function(e,t){return e.reader.sites.items[t]}(e,t);return n&&(o||function(e,t){const n=e.reader.sites.lastFetched[t];if(!n)return!0;return n<=Date.now()-r}(e,t))}},83530:function(e,t,n){"use strict";var r=n(92819),o=n(76292),i=n.n(o),s=n(77327),a=n(78772),u=n(95884),c=n(15960),l=n(86115);const f=(e,t)=>{const[n,...r]=e;return e.length>0&&t(n)?[n,...f(r,t)]:[]},p=(e,t)=>f([...e].reverse(),t),d={lastUpdated:null,items:[]},h=(0,u.U)({items:function(){let e,t,n,o,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:if(t=c.payload.gap,e=c.payload.streamItems,t){const n=f(u,(e=>!(0,s.NK)(e,t))),o=p(u,(e=>!(0,s.NK)(e,t)));if((0,s.NK)((0,r.last)(e),o[0])&&e.pop(),0===e.length)return[...n,...o];let a=[];const c=t.from,d=i()((0,r.last)(e).date);return c.isSame(d)||(a=[{isGap:!0,from:c,to:d}]),(0,l.E)([...n,...e,...a,...o])}return n=e.reduce(((e,t)=>!e.some((e=>(0,s.NK)(e,t)))?[...e,t]:e),u),o=(0,r.filter)(e,(e=>e.xPostMetadata)),o?(0,l.E)(n):n;case a.c7:return(0,l.E)([...c.payload.items,...u]);case a.K1:{const e=c.payload.postKey,t=(0,r.findIndex)(u,(t=>(0,s.NK)(t,e)));if(-1===t)return u;const n=[...u];return n[t]=n.pop(),n}}return u},pendingItems:function(){let e,t,n,o,s,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,c=arguments.length>1?arguments[1]:void 0;switch(c.type){case a.pu:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),u.lastUpdated&&t.isSameOrBefore(u.lastUpdated)?u:{...u,lastUpdated:t});case a.RN:return e=c.payload.streamItems,0===e.length?u:(t=i()(e[0].date),n=i()((0,r.last)(e).date),u.lastUpdated&&(e=e.filter((e=>i()(e.date).isAfter(u.lastUpdated)))),0===e.length?u:(o=[...e],s=(0,r.filter)(o,(e=>e.xPostMetadata)),s&&(o=(0,l.E)(o)),u.lastUpdated&&n.isAfter(u.lastUpdated)&&o.push({isGap:!0,from:u.lastUpdated,to:n}),{lastUpdated:t,items:o}));case a.c7:return{...u,items:[]}}return u},selected:function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case a._7:return n.payload.postKey;case a.l0:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),e===n.payload.items.length-1?t:n.payload.items[e+1];case a.rC:return e=(0,r.findIndex)(n.payload.items,(e=>(0,s.NK)(e,t))),0===e?t:n.payload.items[e-1]}return t},lastPage:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===a.pu?0===t.payload.streamItems.length:e},isRequesting: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.CI:return e||!t.payload.isPoll&&!t.payload.isGap;case a.pu:return!1}return e},pageHandle:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type!==a.pu||!t.payload.pageHandle||t.payload.isPoll||t.payload.gap?e:t.payload.pageHandle}});t.ZP=(0,c.J)("payload.streamKey",h)},86115:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(92819),o=n(46310);const i=e=>e.reduce(((e,t)=>{const n=(0,r.last)(e);var i,s;return(0,o.qb)(n,t)?e[e.length-1]=(i=n,s=t,{...i,xPostUrls:Array.isArray(i.xPostUrls)?[...i.xPostUrls,s.url]:[s.url]}):e.push(t),e}),[])},49054:function(e,t,n){"use strict";var r=n(78772),o=n(95884);t.ZP=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.Ep){let n=t.images;return e[t.tag]&&(n=e[t.tag].concat(t.images)),{...e,[t.tag]:n}}return e},requesting: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.hB:case r._i:case r.Jx:return{...e,[t.tag]:t.type===r.hB}}return e}})},84668:function(e,t,n){"use strict";var r=n(92819),o=n(78772);t.Z=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 o.fY:{const n=t.payload;if(!t.meta.resetFollowingData)return(0,r.merge)({},e,(0,r.keyBy)(n,"id"));const o=(0,r.mapValues)(e,(e=>({...e,isFollowing:!1})));return(0,r.merge)({},o,(0,r.keyBy)(n,"id"))}case o.tN:{const n=t.payload;return(0,r.merge)({},e,{[n]:{isFollowing:!1}})}}return e}},64805:function(e,t,n){"use strict";var r=n(95884),o=n(49054),i=n(84668);t.Z=(0,r.U)({images:o.ZP,items:i.Z})},39493:function(e,t,n){"use strict";var r=n(78772),o=n(95884);t.Z=(0,o.U)({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.CE?{...e,[t.embedUrl]:t.thumbnailUrl}:e}})},9044:function(e,t,n){"use strict";n.d(t,{P:function(){return s},x:function(){return a}});var r=n(86398);let o;const i=[];function s(e,t){o&&(0,r.Z)(),o=(0,r.l)(e,t);for(const[n,r]of i)o(n,r)}function a(e,t){o&&o(e,t),i.push([e,t])}},30963:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(92819);n(91789);function o(e){return(0,r.get)(e,"ui.language.localeSlug",null)}},96767:function(e,t,n){"use strict";n(92819),n(28879)},87720:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(36747);function i(e){const t=(0,o.ts)(e);return(0,r.get)(t,"primary_blog",null)}},53843:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(37480);function o(e,t){return(0,r.Z)(e)[t]||null}},23047:function(e,t,n){"use strict";n(53843)},37480:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});const r=Object.freeze({});function o(e){return e.sites.items||r}},16193:function(e,t,n){"use strict";var r=n(76678);n(65811);t.Z=e=>{const t=(0,r.I)(e);return t&&t.some((e=>e.isRefundable||"premium_theme"!==e.productSlug))}},28879:function(e,t,n){"use strict";n(92819)},87697:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(56666),o=n(92819);class i{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.Z)(this,"results",void 0),this.results=e}get(){return this.results}root(){return this.results.root}addRootResult(e,t){return this.addResult("root",e,t)}addKeyResult(e,t){return this.addResult(e,null,t)}addResult(e,t,n){n instanceof i?(0,o.forEach)(n.results,((n,r)=>{"root"===r?this.addResult(e,t,n):this.addResult(r,null,n)})):t?(this.results[e]||(this.results[e]={}),this.results[e][t]=n):this.results[e]=n}}},40540:function(e,t,n){"use strict";n.d(t,{BU:function(){return u},LV:function(){return c}});var r=n(20899),o=n(92819),i=n(72429),s=(n(1422),n(40211)),a=(n(91668),n(96767),n(23047),n(84465));function u(){return e=>{e({type:s.M4_});const t=(0,r.ZP)("site_filter");return i.Z.me().sites({apiVersion:"1.2",site_visibility:"all",include_domain_only:!0,site_activity:"active",fields:a.U,options:a.x,filters:t.length>0?t.join(","):void 0}).then((t=>{var n;e((n=t.sites,{type:s.xLe,sites:n})),e({type:s.KSQ})})).catch((t=>{e({type:s.eTV,error:t})}))}}function c(e){function t(t){const n={apiVersion:"1.2"};t&&(n.force="wpcom");const o=(0,r.ZP)("site_filter");return o.length>0&&(n.filters=o.join(",")),i.Z.site(e).get(n)}return n=>{n({type:s.hJk,siteId:e});const r=t(!1).catch((e=>403===(null==e?void 0:e.status)&&"API calls to this blog have been disabled."===(null==e?void 0:e.message)||400===(null==e?void 0:e.status)&&"ApiNotFoundError"===(null==e?void 0:e.name)?t(!0):Promise.reject(e)));return r.then((t=>{t&&t.capabilities&&n(function(e){return{type:s.UUJ,site:e}}((0,o.omit)(t,"_headers"))),n({type:s.Mvd,siteId:e})})).catch((()=>{n({type:s.uuM,siteId:e})})),r}}},92546:function(e,t,n){"use strict";var r=n(40211),o=n(95884);const i=e=>(t,n)=>{let{siteId:r}=n;return{...t,[r]:e}};t.ZP=(0,o.U)({items:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.type===r.tvw){const{siteId:n,status:r}=t;return{...e,[n]:r}}return e},requesting: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.U5d:return i(!0)(e,t);case r.QLz:case r.D5g:return i(!1)(e,t)}return e}})},84465:function(e,t,n){"use strict";n.d(t,{U:function(){return r},x:function(){return o}});const r=["ID","URL","capabilities","icon","is_multisite","is_private","is_coming_soon","is_vip","jetpack","jetpack_modules","name","options","plan","products","single_user_site","visible","lang","launch_status","site_migration","site_owner","is_core_site_editor_enabled","is_wpcom_atomic","description"].join(),o=["admin_url","advanced_seo_front_page_description","advanced_seo_title_formats","allowed_file_types","anchor_podcast","created_at","default_comment_status","default_ping_status","default_post_format","design_type","editing_toolkit_is_active","frame_nonce","gmt_offset","has_pending_automated_transfer","is_automated_transfer","is_cloud_eligible","is_domain_only","is_mapped_domain","is_redirect","is_wpcom_atomic","is_wpcom_store","is_wpforteams_site","p2_hub_blog_id","jetpack_frame_nonce","jetpack_version","main_network_site","page_on_front","page_for_posts","podcasting_archive","podcasting_category_id","publicize_permanently_disabled","show_on_front","site_segment","software_version","timezone","updated_at","upgraded_filetypes_enabled","unmapped_url","verification_services_codes","videopress_enabled","woocommerce_is_active","wordads","site_creation_flow","is_difm_lite_in_progress","difm_lite_site_options","site_intent"].join()},26171:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(29398),s=n(95884),a=n(35743);const u=(e,t,n,o)=>{const i=(0,r.find)(e[t],{domain:n}),s=e[t].indexOf(i),a=[...e[t]];return a.splice(s,1,Object.assign({},i,o)),Object.assign({},e,{[t]:a})},c=(0,i.G)(a.d,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;const{siteId:n}=t;switch(t.type){case o.t2O:return Object.assign({},e,{[n]:t.domains});case o.DGo:return u(e,n,t.domain,{privateDomain:!0,contactInfoDisclosed:!1});case o.ON1:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1});case o.tGX:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!0});case o.HYG:return u(e,n,t.domain,{privateDomain:!1,contactInfoDisclosed:!1})}return e}));t.ZP=(0,s.U)({errors: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.wOJ:case o.RI4:return Object.assign({},e,{[t.siteId]:null});case o.dyA:return Object.assign({},e,{[t.siteId]:t.error})}return e},items:c,requesting: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.wOJ:case o.RI4:case o.dyA:return Object.assign({},e,{[t.siteId]:t.type===o.wOJ})}return e},updatingPrivacy: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.sBg:case o.DGo:case o.zVI:case o.HCR:case o.ON1:case o.T6o:case o.w6q:case o.tGX:case o.M5U:case o.K1T:case o.HYG:case o.sQe:return Object.assign({},e,{[t.siteId]:{[t.domain]:-1!==[o.sBg,o.HCR,o.w6q,o.K1T].indexOf(t.type)}})}return e}})},35743:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});const r={type:"object",additionalProperties:!1,patternProperties:{"^\\d+$":{type:"array",items:{type:"object",required:["domain"],properties:{aftermarketAuction:{type:"boolean"},autoRenewalDate:{type:"string"},autoRenewing:{type:"boolean"},blogId:{type:"number"},canSetAsPrimary:{type:"boolean"},currentUserCanManage:{type:"boolean"},canManageDnsRecords:{type:"boolean"},canManageNameServers:{type:"boolean"},canUpdateContactInfo:{type:"boolean"},cannotManageDnsRecordsReason:{type:["null","string"]},cannotManageNameServersReason:{type:["null","string"]},cannotUpdateContactInfoReason:{type:["null","string"]},domain:{type:"string"},expired:{type:"boolean"},expiry:{type:["null","string"]},expirySoon:{type:"boolean"},googleAppsSubscription:{type:"object"},titanMailSubscription:{type:"object"},hasRegistration:{type:"boolean"},hasWpcomNameservers:{type:"boolean"},hasZone:{type:"boolean"},isPendingIcannVerification:{type:"boolean"},isPendingRenewal:{type:"boolean"},isPremium:{type:"boolean"},isPrimary:{type:"boolean"},isSubdomain:{type:"boolean"},isWPCOMDomain:{type:"boolean"},manualTransferRequired:{type:"boolean"},name:{type:"string"},owner:{type:"string",optional:!0},partnerDomain:{type:"boolean"},pendingRegistration:{type:"boolean"},pendingRegistrationTime:{type:"string"},pointsToWpcom:{type:"boolean"},registrar:{type:"string"},registrationDate:{type:"string"},subscriptionId:{type:["null","string"]},supportsDomainConnect:{type:"boolean",optional:!0},supportsGdprConsentManagement:{type:"boolean",optional:!0},type:{type:"string"},transferStartDate:{type:["null","string"]},transferEndDate:{type:["null","string"]}}}}}}},22900:function(e,t,n){"use strict";n.d(t,{E:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{type:t,siteId:n,features:o,error:s}=arguments.length>1?arguments[1]:void 0;switch(t){case r.fa4:return i(e,n,{error:null,isRequesting:!0});case r.xNf:return i(e,n,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:o});case r.YCt:return i(e,n,{error:s,isRequesting:!1})}return e}},56733:function(e,t,n){"use strict";n.d(t,{P:function(){return r.Z}});n(47437);var r=n(6826)},47437:function(e,t,n){"use strict";n(4792)},6826:function(e,t,n){"use strict";var r=n(4792),o=n(20834),i=n(27246);t.Z=e=>{const t=(0,r.v9)(o.Z);return(0,r.v9)((n=>(0,i.Z)(n,t||0,e)))}},96829:function(e,t,n){"use strict";var r=n(40211),o=n(15960),i=n(95884),s=n(11900);const a=(0,o.J)("siteId",((e,t)=>{let{type:n}=t;switch(n){case r.Frv:return s.e.Pending;case r.lfH:return s.e.Success;case r.Byq:return s.e.Failed}return e})),u=(0,o.J)("siteId",((e,t)=>{let{type:n,payload:o}=t;return n===r.Kmp?o?(e=>{const t={};return e.forEach((e=>{t[e.product_id]=(e=>{let{currency_code:t,discount_percentage:n,formatted_price:r,ineligible_reason:o,product_id:i,product_slug:s,raw_price:a}=e;return{currencyCode:t,discountPercentage:n,formattedPrice:r,ineligibleReason:o,productId:i,productSlug:s,rawPrice:a}})(e)})),t})(o):void 0:e}));t.ZP=(0,i.U)({requestStatus:a,items:u})},11900:function(e,t,n){"use strict";let r;n.d(t,{e:function(){return r}}),function(e){e.Pending="pending",e.Success="success",e.Failed="failed"}(r||(r={}))},20152:function(e,t,n){"use strict";n.d(t,{z:function(){return a}});var r=n(92819),o=n(40211);const i={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function s(e,t,n){return Object.assign({},e,{[t]:Object.assign({},i,e[t],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 o.gNn:return s(e,t.siteId,{error:null,isRequesting:!0});case o.Rmh:return s(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.plans});case o.$MQ:return s(e,t.siteId,{error:t.error,isRequesting:!1});case o.XLI:return(0,r.omit)(e,t.siteId)}return e}},42935:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(40211);const o={data:null,error:null,hasLoadedFromServer:!1,isRequesting:!1};function i(e,t,n){return Object.assign({},e,{[t]:Object.assign({},o,e[t],n)})}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 r.eO9:return i(e,t.siteId,{error:null,isRequesting:!0});case r.S3d:return i(e,t.siteId,{error:null,hasLoadedFromServer:!0,isRequesting:!1,data:t.products});case r.whB:return i(e,t.siteId,{error:t.error,isRequesting:!1})}return e}},82139:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(46505),s=n(29398),a=n(95884),u=n(92546),c=n(26171),l=n(22900),f=n(96829),p=n(20152),d=n(42935),h=n(43056);const g=(0,s.G)(h.K,(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;if(null===e&&t.type!==o.UUJ&&t.type!==o.xLe)return null;switch(t.type){case o.Khp:{const n=e[t.siteId];return n?Object.assign({},e,{[t.siteId]:(0,r.merge)({},n,{options:{wordads:!0}})}):e}case o.UUJ:case o.xLe:{const n=t.site?[t.site]:t.sites,i=o.xLe===t.type?{}:e;return(0,r.reduce)(n,((t,n)=>((0,r.isEqual)(t[n.ID],n)||(t===e&&(t={...e}),t[n.ID]=n),t)),i||{})}case o.SYS:case o.Oh9:return(0,r.omit)(e,t.siteId);case i.hX:{const{siteId:n,themeStylesheet:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{theme_slug:o}})}}case o.rZJ:case o.KBY:{const{siteId:n,settings:o}=t,i=e[n];if(!i)return e;let s=i;return(0,r.reduce)(["blog_public","wpcom_public_coming_soon","wpcom_coming_soon","site_icon"],((t,a)=>{if(!o.hasOwnProperty(a))return t;switch(a){case"blog_public":{const e=-1===parseInt(o.blog_public,10);if(i.is_private===e)return t;s={...s,is_private:e};break}case"wpcom_coming_soon":case"wpcom_public_coming_soon":{const e=1===parseInt(o.wpcom_public_coming_soon,10)||1===parseInt(o.wpcom_coming_soon,10);if(i.is_coming_soon===e)return t;s={...s,is_coming_soon:e};break}case"site_icon":{const e=o.site_icon;if(!i.icon&&null===e||i.icon&&i.icon.media_id===e)return t;s=null===e?(0,r.omit)(s,"icon"):{...s,icon:{media_id:e}};break}}return t===e&&(t={...e}),t[n]=s,t}),e)}case o.aqr:{const{siteId:n,mediaIds:o}=t,i=(0,r.get)(e[n],"icon.media_id");return i&&(0,r.includes)(o,i)?{...e,[n]:(0,r.omit)(e[n],"icon")}:e}case o.U0$:{const{siteId:n}=t,o=(0,r.get)(e[n],"updates");return o?{...e,[n]:{...e[n],updates:{...o,plugins:o.plugins-1,total:o.total-1}}}:e}case o.uvG:{const{siteId:n,frontPageOptions:o}=t,i=e[n];if(!i)break;return{...e,[n]:(0,r.merge)({},i,{options:{...o}})}}case o.lTr:{const{siteId:n,migrationStatus:o,lastModified:i}=t;if(!e[n])return e;const s=e[n].site_migration||{},a={status:o};return i&&(a.last_modified=i),{...e,[n]:{...e[n],site_migration:(0,r.merge)({},s,a)}}}}return e})),m=(0,s.G)(h.W,(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.xLe||e}));t.ZP=(0,a.U)({connection:u.ZP,domains:c.ZP,requestingAll: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.M4_:return!0;case o.eTV:case o.KSQ:return!1}return e},introOffers:f.ZP,items:g,plans:p.z,products:d.R,features:l.E,requesting: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.hJk:{const{siteId:n}=t;return{...e,[n]:!0}}case o.uuM:{const{siteId:n}=t;return{...e,[n]:!1}}case o.Mvd:{const{siteId:n}=t;return{...e,[n]:!1}}}return e},hasAllSitesList:m,jetpackSiteDisconnected: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.ftJ:return!1;case o.Oh9:return!0}return e}})},43056:function(e,t,n){"use strict";n.d(t,{K:function(){return r},W:function(){return o}});const r={type:"object",patternProperties:{"^\\d+$":{type:"object",required:["ID","name"],properties:{ID:{type:"number"},name:{type:"string"},URL:{type:"string"},jetpack:{type:"boolean"},icon:{type:"object",properties:{img:{type:"string"},ico:{type:"string"},media_id:{type:"number"}}},visible:{type:"boolean"},is_private:{type:"boolean"},is_vip:{type:"boolean"},options:{type:"object"},meta:{type:"object"},is_multisite:{type:"boolean"},capabilities:{type:"object",patternProperties:{"^[a-z_]+$":{type:"boolean"}}},plan:{type:"object",required:["product_id","product_slug"],properties:{product_id:{type:["number","string"]},product_slug:{type:"string"},product_name_short:{type:["string","null"]},expired:{type:"boolean"},user_is_owner:{type:"boolean"},is_free:{type:"boolean"}}},single_user_site:{type:"boolean"},updates:{type:"object",properties:{jp_version:{type:"string"},plugins:{type:"number"},themes:{type:"number"},total:{type:"number"},translations:{type:"number"},wordpress:{type:"number"},wp_version:{type:"string"}}},lang:{type:"string"}}}},additionalProperties:!1},o={type:["boolean","null"]}},31716:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(75134),o=n(27246),i=n(60222);function s(e,t){if(!(0,i.Z)(e,t))return null;if(!(0,r.Z)(e,t))return!1;const n=(0,o.Z)(e,t,"file_mod_disabled");return!n||!n.includes("automatic_updater_disabled")}},75134:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(27246),o=n(60222),i=n(57481);function s(e,t){if(!(0,o.Z)(e,t))return null;if((0,r.Z)(e,t,"is_multi_network"))return!1;if((0,i.Z)(e,t))return!1;const n=(0,r.Z)(e,t,"file_mod_disabled");return!n||!n.includes("disallow_file_mods")&&!n.includes("has_no_file_system_write_access")}},20336:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(40822),o=n(77270),i=n(96666),s=n(64802),a=n(60222);function u(e,t,n,u,c){if(!(0,a.Z)(e,t)){const o=(0,s.Z)(e,t),i=[""].concat(["customize",n,o].filter(Boolean)).join("/");return(0,r.Z)({return:u,guide:c},i)}const l=(0,i.Z)(e,t,"customize.php");return l?(u||"undefined"==typeof window||(u=window.location.href),(0,r.Z)({return:u,...(0,o.t)(n),guide:c},l)):null}},15199:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(31716),o=n(75134),i=n(60222),s=n(47020),a=n(57481);function u(e,t){return(0,i.Z)(e,t)?{canAutoupdateFiles:(0,r.Z)(e,t),canUpdateFiles:(0,o.Z)(e,t),isMainNetworkSite:(0,s.Z)(e,t),isSecondaryNetworkSite:(0,a.Z)(e,t)}:{}}},96666:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(27246);function o(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";const o=(0,r.Z)(e,t,"admin_url");return o?o+n.replace(/^\//,""):null}},14012:function(e,t,n){"use strict";var r=n(83685),o=n(37480),i=n(64802);t.Z=(0,r.P1)(((e,t)=>Object.values((0,o.Z)(e)).find((n=>(0,i.Z)(e,n.ID)===t))??null),(e=>[(0,o.Z)(e)]))},29926:function(e,t,n){"use strict";var r=n(83685),o=n(72537),i=n(37480);t.Z=(0,r.P1)((e=>{const t=Object.values((0,i.Z)(e));return(0,o.Cm)(t)}),i.Z)},84810:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(47307),o=n(53843),i=n(65663),s=n(27246),a=n(2062),u=n(64802),c=n(40877),l=n(60222),f=n(91608);function p(e,t){if(!(0,o.Z)(e,t))return null;const n={domain:(0,i.Z)(e,t),options:(0,a.Z)(e,t),slug:(0,u.Z)(e,t),title:(0,c.Z)(e,t)};return(0,s.Z)(e,t,"is_mapped_domain")&&!(0,l.Z)(e,t)&&(n.wpcom_url=(0,r.ce)((0,s.Z)(e,t,"unmapped_url"))),(0,f.Z)(e,t)&&(n.URL=(0,s.Z)(e,t,"unmapped_url")),n}},65663:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(47307),o=n(53843),i=n(27246),s=n(64802),a=n(91608);function u(e,t){if((0,i.Z)(e,t,"is_redirect")||(0,a.Z)(e,t))return(0,s.Z)(e,t);const n=(0,o.Z)(e,t);return n?(0,r.ce)(n.URL):null}},27246:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(2062);function o(e,t,n){const o=(0,r.Z)(e,t);return(null==o?void 0:o[n])??null}},2062:function(e,t,n){"use strict";var r=n(53843);const o=Object.freeze({});t.Z=(e,t)=>{const n=(0,r.Z)(e,t);return n?n.options||o:null}},64802:function(e,t,n){"use strict";var r=n(83685),o=n(47307),i=n(53843),s=n(37480),a=n(27246),u=n(2062),c=n(91608);t.Z=(0,r.P1)(((e,t)=>{const n=(0,i.Z)(e,t);return n?(0,a.Z)(e,t,"is_redirect")||(0,c.Z)(e,t)?(0,o.ce)((0,a.Z)(e,t,"unmapped_url")):(0,o.nq)(n.URL):null}),((e,t)=>[(0,s.Z)(e),(0,u.Z)(e,t)]))},40877:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(53843),o=n(65663);function i(e,t){const n=(0,r.Z)(e,t);return n?n.name?n.name.trim():(0,o.Z)(e,t):null}},78871:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(53843),o=n(15199),i=n(14012),s=n(84810);let a=new WeakMap;function u(e,t){const n=(0,r.Z)(e,t)||(0,i.Z)(e,t);if(!n)return null;const u=a.get(n);if(u)return u;const c={...n,...(0,s.Z)(e,n.ID),...(0,o.Z)(e,n.ID)};return a.set(n,c),c}u.clearCache=()=>{a=new WeakMap}},79791:function(e,t,n){"use strict";function r(e){return!!e.sites.hasAllSitesList}n.d(t,{Z:function(){return r}})},47020:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)===(0,r.ce)(u)}},57481:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(47307),o=n(53843),i=n(27246),s=n(60222);function a(e,t){const n=(0,o.Z)(e,t);if(!n||!(0,s.Z)(e,t))return null;if(!n.is_multisite)return!1;const a=(0,i.Z)(e,t,"unmapped_url"),u=(0,i.Z)(e,t,"main_network_site");return!(!a||!u)&&(0,r.ce)(a)!==(0,r.ce)(u)}},60222:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(53843);function o(e,t){const n=(0,r.Z)(e,t);return n?n.jetpack:null}},58863:function(e,t,n){"use strict";function r(e,t){return!!e.sites.requesting[t]}n.d(t,{Z:function(){return r}})},52239:function(e,t,n){"use strict";function r(e){return!!e.sites.requestingAll}n.d(t,{Z:function(){return r}})},83377:function(e,t,n){"use strict";var r=n(83685),o=n(78871),i=n(60222),s=n(20834);t.Z=(0,r.P1)((function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,s.Z)(e);const n=(0,o.Z)(e,t);return!!n&&!n.is_wpcom_atomic&&!(0,i.Z)(e,t)}),(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,s.Z)(e);return[(0,i.Z)(e,t)]}))},91608:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(29926);function o(e,t){return(0,r.Z)(e).includes(t)}},46505:function(e,t,n){"use strict";n.d(t,{hX:function(){return r},K6:function(){return o}});const r="THEME_ACTIVATE_SUCCESS",o="THEMES_REQUEST_SUCCESS"},50425:function(e,t,n){"use strict";var r=n(92819),o=n(40211),i=n(46505);const s=["calypso_themeshowcase_theme_click"],a={GUIDED_TOUR_UPDATE:o.H6A,THEMES_REQUEST_SUCCESS:i.K6,ROUTE_SET:o.RSp,SITE_SETTINGS_RECEIVE:o.KBY},u=(c=[e=>a.hasOwnProperty(e.type)&&("function"!=typeof a[e.type]||a[e.type](e)),e=>(0,r.get)(e,"meta.analytics",[]).some((e=>s.includes(e.payload.name)))],e=>c.some((t=>t(e))));var c;const l=e=>({...e,timestamp:Date.now()}),f=(e,t)=>t?[...e,t].slice(-50):e;t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;return u(t)?f(e,l(t)):e}},71799:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var r=n(40211);n(91789);function o(e){return{type:r.bgv,siteId:e}}},46117:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:t}=arguments.length>1?arguments[1]:void 0;return t===r.JYg||e}},1184:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.Fux?n:e}},57718:function(e,t,n){"use strict";var r=n(40211),o=n(29398),i=n(95884);const s=(0,o.G)({type:"string"},(function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0;return n.type!==r.IK5||n.isLoading||null===(e=n.section)||void 0===e||!e.name||["checkout","checkout-pending","checkout-thank-you","plans"].includes(n.section.name)?t:["plugins","themes","hosting"].includes(n.section.name)?n.section.name:""}));t.Z=(0,i.U)({upgradeIntent:s})},87316:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,{type:t,value:n}=arguments.length>1?arguments[1]:void 0;return t===r.xm0?n:e}},91789:function(e,t,n){"use strict";var r=n(9044),o=n(74307);(0,r.x)(["ui"],o.ZP)},28958:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(20899),o=n(40211);const i={localeSlug:(0,r.ZP)("i18n_default_locale_slug"),localeVariant:null};function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=arguments.length>1?arguments[1]:void 0;return t.type===o.JqF?{localeSlug:t.localeSlug,localeVariant:t.localeVariant}:e}},48659:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(40211);const o={current:"content",next:null};function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.kUt:return t.area===e.current?e:Object.assign({},e,{current:t.area});case r.vO0:return t.area===e.next?e:Object.assign({},e,{next:t.area});case r.XTm:{let t=e.next;return t||"content"===e.current||(t="content"),t?Object.assign({},e,{current:t,next:null}):e}}return e}},31175:function(e,t,n){"use strict";var r=n(40211);t.Z=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],{type:t,isVisible:n}=arguments.length>1?arguments[1]:void 0;return t===r.NnF?n:e}},30592:function(e,t,n){"use strict";var r=n(40211),o=n(95884);t.Z=(0,o.U)({view:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.WkZ?t.view:e}})},45405:function(e,t,n){"use strict";var r=n(40211);const o={postIdWithActiveSharePanel:null};t.Z=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 r.KF6:return{...e,postIdWithActiveSharePanel:null};case r.WYe:return e.postIdWithActiveSharePanel===t.postGlobalId?{...e,postIdWithActiveSharePanel:null}:{...e,postIdWithActiveSharePanel:t.postGlobalId}}return e}},37508:function(e,t,n){"use strict";var r=n(40211),o=n(95884);t.ZP=(0,o.U)({currentPreviewSiteId:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===r.dGx?t.siteId??null:e},currentPreviewUrl: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 r.dGx:return t.url;case r.kLL:return null}return e}})},74307:function(e,t,n){"use strict";var r=n(83685),o=n(40211),i=n(29398),s=n(95884),a=n(50425),u=n(46117),c=n(1184),l=n(57718),f=n(87316),p=n(28958),d=n(48659),h=n(31175),g=n(30592),m=n(45405),y=n(37508),v=n(77027);const b=(0,i.G)({type:["number","null"]},(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv?t.siteId||null:e})),w=(0,i.G)({type:"boolean"},(function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.bgv||e}));const _=(0,s.U)({actionLog:a.Z,appBannerVisibility:c.Z,appBannerDismissed:u.Z,helpCenterVisible:f.Z,checkout:l.Z,isSectionLoading:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===o.Nq?t.isSectionLoading:e},isNotificationsOpen:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],{type:t}=arguments.length>1?arguments[1]:void 0;return t===o.hxz?!e:e},language:p.Z,layoutFocus:d.Z,masterbarVisibility:h.Z,mediaModal:g.Z,postTypeList:m.Z,preview:y.ZP,section:v.Z,selectedSiteId:b,siteSelectionInitialized:w});t.ZP=(0,r.xi)("ui",_)},9817:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(40211);n(91789);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n={...t,type:r.IK5};return e&&(n.section=e),n}},77027:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(40211);function o(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;return t.type===r.IK5&&void 0!==t.section?t.section:e}},73041:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(92819),o=n(75149);function i(e){return(0,r.get)((0,o.Z)(e),"name",null)}},75149:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});n(91789);function r(e){return e.ui.section||!1}},20834:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});n(91789);function r(e){return e.ui.selectedSiteId}},17014:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(78871),o=n(20834);function i(e){const t=(0,o.Z)(e);return t?(0,r.Z)(e,t):null}},90924:function(e,t,n){"use strict";n.d(t,{f:function(){return r}});const r=e=>(t,n)=>{const r=e(t,n);let o=t;return{...r,addReducer:function(e,t){o=o.addReducer(e,t),this.replaceReducer(o)},getCurrentReducer:function(){return o}}}},15960:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=n(92819),o=n(87697),i=n(69909),s=n(71085);const a=(e,t)=>{if("string"!=typeof e)throw new TypeError("Key name passed into `keyedReducer` must be a string but I detected a "+typeof e);if(!e.length)throw new TypeError("Key name passed into `keyedReducer` must have a non-zero length but I detected an empty string");if("function"!=typeof t)throw new TypeError("Reducer passed into `keyedReducer` must be a function but I detected a "+typeof t);const n=t(void 0,{type:"@@calypso/INIT"});return(0,s.$)((function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;const s=(0,r.get)(i,e,void 0);if(null==s)return o;const a=o[s],u=t(a,i);return u===a?o:void 0===u||(0,r.isEqual)(u,n)?o.hasOwnProperty(s)?(0,r.omit)(o,s):o:{...o,[s]:u}}),{serialize:e=>(0,r.reduce)(e,((e,s,a)=>{const u=(0,i.q)(t,s);return void 0===u||(0,r.isEqual)(u,n)||(e||(e=new o._),e.addRootResult(a,u)),e}),void 0),deserialize:e=>(0,r.omitBy)((0,r.mapValues)(e,(e=>(0,i.v)(t,e))),(e=>void 0===e||(0,r.isEqual)(e,n)))})}},95884:function(e,t,n){"use strict";n.d(t,{U:function(){return u}});var r=n(92819),o=n(18717),i=n(40211),s=n(87697),a=n(69909);function u(e){const t=(0,o.UY)(e),n=(n,o)=>o.type===i.gm2?function(e,t,n){let o=!1;const i=(0,r.mapValues)(e,((e,i)=>{if(e.storageKey===n.storageKey)return o=!0,n.storedState;const s=(0,r.get)(t,i),a=e(s,n);return o=o||a!==s,a}));return o?i:t}(e,n,o):t(n,o);return n.serialize=t=>function(e,t){if(void 0===t)return;return(0,r.reduce)(e,((e,n,r)=>{const o=(0,a.q)(n,t[r]);return void 0!==o&&(e||(e=new s._),n.storageKey?e.addKeyResult(n.storageKey,o):e.addRootResult(r,o)),e}),void 0)}(e,t),n.deserialize=t=>function(e,t){return(0,r.mapValues)(e,((e,n)=>(0,a.v)(e,null==t?void 0:t[n])))}(e,t),n.addReducer=function(e,t){return(n,r)=>{const[o,...i]=n,s=t[o];let a;if(s){if(0===i.length)throw new Error(`Reducer with key '${o}' is already registered`);if(!s.addReducer)throw new Error("New reducer can be added only into a reducer created with 'combineReducers'");a=s.addReducer(i,r)}else a=i.reduceRight(((e,t)=>u({[t]:e})),r);const c=u({...t,[o]:a});return c.storageKey=e.storageKey,c}}(n,e),n.getStorageKeys=function(e){return function*(){for(const t of Object.values(e))t.storageKey&&(yield{storageKey:t.storageKey,reducer:t}),t.getStorageKeys&&(yield*t.getStorageKeys())}}(e),n}},29398:function(e,t,n){"use strict";n.d(t,{G:function(){return l}});var r=n(83685),o=(n(12560),n(60772)),i=n.n(o),s=n(92819),a=n(69909),u=n(71085);function c(e,t,n){const o=(0,a.q)(t,(0,r.aY)(t));return!!(0,s.isEqual)(n,o)||function(e,t,n){return i()(t,{greedy:!1,verbose:!1})(e)}(n,e)}const l=(e,t)=>{const n=(0,u.$)(t);return(0,u.$)(n,{deserialize:t=>void 0===t?(0,r.aY)(n):c(e,n,t)?(0,a.v)(n,t):(0,r.aY)(n)})}},69909:function(e,t,n){"use strict";n.d(t,{q:function(){return o},v:function(){return i}});var r=n(83685);function o(e,t){if(e.serialize)return e.serialize(t)}function i(e,t){return e.deserialize?e.deserialize(t):(0,r.aY)(e)}},71085:function(e,t,n){"use strict";function r(e){let{serialize:t,deserialize:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.bind(null);return r.serialize=t||e.serialize||(e=>e),r.deserialize=n||e.deserialize||(e=>e),r}n.d(t,{$:function(){return r}})},36115:function(e,t,n){"use strict";n.d(t,{vX:function(){return r.Z},ts:function(){return o.t},P6:function(){return i.P6},w2:function(){return i.w2},jN:function(){return i.jN},$A:function(){return i.$A},MB:function(){return i.MB},di:function(){return i.di},MR:function(){return i.MR},lH:function(){return i.lH}});var r=n(21694),o=n(36209),i=(n(29377),n(59792));n(73722)},29377:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});let r=null,o=0;function i(e){const t={last_pageview_path_with_count:`${r}(${o.toString()})`,this_pageview_path_with_count:`${e}(${o+1})`};return r=e,o++,t}"undefined"!=typeof window&&window.addEventListener("popstate",(function(){r=null}))},59792:function(e,t,n){"use strict";n.d(t,{lH:function(){return m},MR:function(){return y},di:function(){return v},MB:function(){return b},$A:function(){return w},jN:function(){return _},P6:function(){return E},w2:function(){return S}});var r=n(22699),o=n(84898),i=n(13421),s=n(92819),a=n(29377),u=n(36209),c=n(19358),l=n(21694);const f=["a8c_cookie_banner_ok","wcadmin_storeprofiler_create_jetpack_account","wcadmin_storeprofiler_connect_store","wcadmin_storeprofiler_login_jetpack_account","wcadmin_storeprofiler_payment_login","wcadmin_storeprofiler_payment_create_account","calypso_checkout_switch_to_p_24","calypso_checkout_composite_p24_submit_clicked"];let p,d=Promise.resolve();function h(e){if("undefined"==typeof window)return"";e=e.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");const t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))}function g(){return d.catch((()=>{let e,t;const n=(0,u.t)();if(n&&n.ID)e="wpcom:user_id",t=n.ID;else if(e=h("_ut")||"anon",t=h("_ui"),!t){const e=i.parse(document.cookie);if(e.tk_ai)t=e.tk_ai;else{t=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:9;return"undefined"==typeof window?"":(window.crypto&&window.crypto.getRandomValues?(e=new Uint8Array(t),window.crypto.getRandomValues(e)):e=(0,s.times)(t,(()=>Math.floor(256*Math.random()))),window.btoa(String.fromCharCode(...e)))}(18),document.cookie=i.serialize("tk_ai",t)}}return(0,c.Z)("Loading /nostats.js",{_ut:e,_ui:t}),(0,o.ve)("/nostats.js?_ut="+encodeURIComponent(e)+"&_ui="+encodeURIComponent(t))}))}function m(e){"undefined"!=typeof window&&(window._tkq=window._tkq||[],window._tkq.push(e))}"undefined"!=typeof document&&(d=(0,o.ve)("//stats.wp.com/w.js?63"));const y=new r.EventEmitter;function v(){return i.parse(document.cookie).tk_ai}function b(e,t){return"function"==typeof t&&((0,c.Z)("superProps",t),p=t),"object"==typeof e&&((0,c.Z)("identifyUser",e),w(e)),(0,c.Z)("checkForBlockedTracks"),g()}function w(e){if("object"!=typeof e)return void(0,c.Z)("Invalid userData.",e);const t=(0,u.l)(e);t?((0,c.Z)("Tracks identifyUser.",t),m(["identifyUser",t.ID,t.username])):(0,c.Z)("Insufficient userData.",e)}function _(e,t){if(t=t||{},(0,c.Z)('Record event "%s" called with props %o',e,t),e.startsWith("calypso_")||(0,s.includes)(f,e)){if(p){const e=p(t);t={...t,...e}}t=(0,s.omitBy)(t,(e=>void 0===e)),(0,c.Z)('Recording event "%s" with actual props %o',e,t),m(["recordEvent",e,t]),y.emit("record-event",e,t)}else(0,c.Z)('- Event name must be prefixed by "calypso_" or added to `EVENT_NAME_EXCEPTIONS`')}function E(e,t){(0,c.Z)("Recording pageview in tracks.",e,t);let n={do_not_track:(0,l.Z)()?1:0,path:e};const r="undefined"!=typeof window&&window.BUILD_TIMESTAMP;if(r&&(n=Object.assign(n,{build_timestamp:r})),t&&(n=Object.assign(n,t)),"undefined"!=typeof window&&window.location){const e=new URL(window.location.href).searchParams,t=e&&Array.from(e.entries()).filter((e=>{let[t]=e;return t.startsWith("utm_")})),r=t?Object.fromEntries(t):{};n=Object.assign(n,r)}_("calypso_page_view",n)}function S(e,t){const n=(0,a.i)(e);E(e,Object.assign(t||{},n))}},73722:function(e,t,n){"use strict";n(59792)},36209:function(e,t,n){"use strict";n.d(t,{t:function(){return i},l:function(){return s}});var r=n(40004);let o;function i(){return o}function s(e){if(e.ID&&!isNaN(parseInt(e.ID,10))&&e.username&&e.email)return o={ID:parseInt(e.ID,10),username:e.username,email:e.email,hashedPii:{ID:(0,r.Z)(e.ID),username:(0,r.Z)(e.username.toLowerCase().replace(/\s/g,"")),email:(0,r.Z)(e.email.toLowerCase().replace(/\s/g,""))}},o}},19358:function(e,t,n){"use strict";var r=n(38049),o=n.n(r);t.Z=o()("calypso:analytics")},21694:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(19358);function o(){const e=Boolean("undefined"!=typeof window&&("1"===window.doNotTrack||window.navigator&&"1"===window.navigator.doNotTrack));return(0,r.Z)(`Do Not Track: ${e}`),e}},40004:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(68032),o=n.n(r);function i(e){return o()().update(e.toString()).digest("hex")}},29770:function(e,t){"use strict";const n={env:"production",env_id:"desktop",client_slug:"desktop",readerFollowingSource:"desktop",boom_analytics_key:"desktop",google_recaptcha_site_key:"6LdoXcAUAAAAAM61KvdgP8xwnC19YuzAiOWn5Wtn"},r={desktop:!0,"desktop-promo":!1,"sign-in-with-apple":!1,"signup/social":!1,"login/magic-login":!1,"bilmur-script":!1};t.Z=e=>((e=Object.assign(e,n)).features&&(e.features=Object.assign(e.features,r)),window.electron&&window.electron.features&&(e.features=Object.assign(e.features,window.electron.features)),e)},20899:function(e,t,n){"use strict";n.d(t,{_k:function(){return f}});var r=n(90544),o=n(13421),i=n(29770);if("undefined"==typeof window)throw new Error("Trying to initialize the configuration outside of a browser context.");window.configData||(window.configData={});const s=void 0!==window.electron;let a;a=s?(0,i.Z)(window.configData):window.configData;const u=/^([a-zA-Z0-9-]+\.)?calypso\.live$/;function c(e,t){e.split(",").forEach((e=>{const n=e.replace(/^[-+]/,""),r=!/^-/.test(e);a.features&&(a.features[n]=r,console.log("%cConfig flag %s via %s: %s","font-weight: bold;",r?"enabled":"disabled",t,n))}))}if(["wpcalypso","horizon","stage","jetpack-cloud-stage"].includes(a.env_id)||"undefined"!=typeof window&&u.test(window.location.host)){const e=o.parse(document.cookie);e.flags&&c(e.flags,"cookie");try{const e=window.sessionStorage.getItem("flags");e&&c(e,"sessionStorage")}catch(p){}const t=document.location.search&&document.location.search.match(/[?&]flags=([^&]+)(&|$)/);t&&c(decodeURIComponent(t[1]),"URL")}const l=(0,r.Z)(a);t.ZP=l;const f=l.isEnabled;l.enabledFeatures,l.enable,l.disable},88691:function(e,t,n){"use strict";n(65688),n(46106)},21862:function(e,t,n){"use strict";n.d(t,{wJ_:function(){return o},Ai8:function(){return i},Eb2:function(){return s},gqo:function(){return a},c74:function(){return u},jDM:function(){return c},Zaf:function(){return l},KlX:function(){return f},W4b:function(){return p},E5t:function(){return d},SLH:function(){return h},gI6:function(){return g},U_2:function(){return m},n_S:function(){return y},dmM:function(){return v},IhT:function(){return b},vkU:function(){return w},N5t:function(){return _},HPg:function(){return E},J8D:function(){return S},oGd:function(){return C},MOV:function(){return P},Vms:function(){return k},$G1:function(){return I},ggN:function(){return A},Tez:function(){return T},Xk_:function(){return R},iTE:function(){return O},QNW:function(){return x},XMd:function(){return F},Ej:function(){return L},Q3C:function(){return U},B2h:function(){return Z},xjj:function(){return D},V09:function(){return j},Tmz:function(){return N},Zjz:function(){return M},Vml:function(){return q},Uwp:function(){return B},igx:function(){return H},VyO:function(){return V},Z5U:function(){return $},PUy:function(){return W},jSq:function(){return z},vEX:function(){return G},MCU:function(){return Q},Q1W:function(){return Y},fhe:function(){return K},SZ6:function(){return J},Tx8:function(){return X},sYz:function(){return ee},ljn:function(){return te},vqo:function(){return ne},R2o:function(){return re},EBu:function(){return oe},EDT:function(){return ie},q4V:function(){return se},fp6:function(){return ae},cWM:function(){return ue},_3A:function(){return ce},QfP:function(){return le},oaT:function(){return fe},$NZ:function(){return pe},wwD:function(){return de},rlg:function(){return he},F$l:function(){return ge},gRD:function(){return me},V37:function(){return ye},s1f:function(){return ve},_sL:function(){return be},nsi:function(){return we},L2_:function(){return _e},$PM:function(){return Ee},Rp9:function(){return Se},$QL:function(){return Ce},zQV:function(){return Pe},vQ$:function(){return ke},E30:function(){return Ie},m1c:function(){return Ae},wUt:function(){return Te},ALM:function(){return Re},okS:function(){return Oe},$xY:function(){return xe},$23:function(){return Fe},Xif:function(){return Le},Do2:function(){return Ue},$vg:function(){return Ze},kI:function(){return De},DwI:function(){return je},csF:function(){return Ne},afj:function(){return Me},HpB:function(){return qe},w7L:function(){return Be},oIe:function(){return He},XgZ:function(){return Ve},CtJ:function(){return $e},n$d:function(){return We},dZ$:function(){return ze},X2I:function(){return Ge},rDn:function(){return Qe},$4:function(){return Ye},V1k:function(){return Ke},TBQ:function(){return Je},s4b:function(){return Xe},TZT:function(){return et},$pY:function(){return tt},mX4:function(){return nt},tS0:function(){return rt},L2R:function(){return ot},V1I:function(){return it},FR0:function(){return st},zrQ:function(){return at},T$h:function(){return ut},lv3:function(){return ct},ewW:function(){return lt},GwK:function(){return ft},w6W:function(){return pt},liF:function(){return dt},DJ3:function(){return ht},puh:function(){return gt},xlk:function(){return mt},VZW:function(){return yt},sQp:function(){return vt},lYf:function(){return bt},$mN:function(){return wt},JqD:function(){return _t},bHF:function(){return Et},XZZ:function(){return St},vje:function(){return Ct},S_M:function(){return Pt},yjN:function(){return kt},iC0:function(){return It},rdd:function(){return At},bJv:function(){return Tt},ops:function(){return Rt},FiJ:function(){return Ot},c__:function(){return xt},x_7:function(){return Ft},fDA:function(){return Lt},SsD:function(){return Ut},O05:function(){return Zt},hH1:function(){return Dt},Ly9:function(){return jt},FNU:function(){return Nt},DEy:function(){return Mt},n26:function(){return qt},ikw:function(){return Bt}});var r=n(90892);const o="wordpress-subdomain",i="blog-domain",s="custom-domain",a="jetpack-essential",u="jetpack-advanced",c="free-themes",l="1gb-storage",f="3gb-storage",p="6gb-storage",d="13gb-storage",h="50gb-storage",g="200gb-storage",m="community-support",y="email-support",v="email-live-chat-support-business-days",b="email-live-chat-support-all-days",w="live-chat-support-all-days",_="live-chat-support-business-days",E="email-forwarding-extended-limit",S="priority-support",C="basic-design",P="advanced-design",k="google-analytics",I="cloudflare-analytics",A="google-my-business",T="live-chat-support",R="no-adverts",O="video-upload",x="video-upload-jetpack-pro",F="audio-upload",L="wordads-instant",U="no-wp-branding",Z="advanced-seo",D="upload-plugins",j="install-plugins",N="upload-themes",M="republicize",q="simple-payments",B="all-free-features",H="all-free-features-jetpack",V="all-personal-features",$="all-premium-features",W="all-premium-features-jetpack",z="advanced-customization",G="upload-themes-and-plugins",Q="free-custom-domain",Y="free-blog-domain",K="email-support-signup",J="monetise-your-site",X="earn-ad-revenue",ee="wordpress-subdomain-signup",te="advanced-seo-tools",ne="advanced-seo-expanded-abbreviation",re="free-themes-signup",oe="memberships",ie="premium-content-block",se="hosting",ae="premium-design-for-stores",ue="sftp-and-database-access",ce="site-backups-and-restore",le="unlimited-premium-themes",fe="free-professional-email-trial",pe="blank-feature",de="standard-security-tools",he="site-stats",ge="traffic-tools",me="jetpack-manage",ye="spam-akismet-plus",ve="offsite-backup-vaultpress-daily",be="offsite-backup-vaultpress-realtime",we="backup-archive-30",_e="backup-archive-unlimited",Ee="backup-storage-space-unlimited",Se="automated-restores",Ce="easy-site-migration",Pe="malware-scanning-daily",ke="malware-scanning-daily-and-on-demand",Ie="one-click-threat-resolution",Ae="automatic-security-fixes",Te="site-activity-log",Re="free-wordpress-themes",Oe="seo-preview-tools",xe="accept-payments",Fe="shipping-carriers",Le="unlimited-products-service",Ue="ecommerce-marketing",Ze="premium-customizable-themes",De="all-business-features",je="backup-daily-v2",Ne="backup-realtime-v2",Me="product-backup-daily-v2",qe="product-backup-realtime-v2",Be="scan-v2",He="product-scan-daily-v2",Ve="product-scan-realtime-v2",$e="antispam-v2",We="activity-log-1-year-v2",ze="product-search-v2",Ge="security-daily",Qe="crm-v2",Ye="collect-payments-v2",Ke=r.K$,Je=r.Sj,Xe=r.JD,et=r.AY,tt=r.oe,nt=r.rx,rt=r.EI,ot=r.uL,it=r.pE,st=r.sY,at=r.Sm,ut=r.PF,ct=r.DH,lt=r.XG,ft=r.nN,pt=r.AK,dt=r.Ve,ht=r.vM,gt="jetpack-1tb-backup-storage",mt="jetpack-real-time-malware-scanning",yt="jetpack-product-backup",vt="jetpack-product-videopress",bt="jetpack-all-backup-security-features",wt="p2-3gb-storage",_t="p2-unlimited-users",Et="p2-unlimited-posts-pages",St="p2-simple-search",Ct="p2-customization-options",Pt="p2-13gb-storage",kt="p2-advanced-search",It="p2-video-sharing",At="p2-more-file-types",Tt="p2-priority-chat-email-support",Rt="p2-activity-overview",Ot="managed-hosting",xt="unlimited-traffic",Ft="payment-blocks",Lt="titan-email",Ut="unlimited-admins",Zt="woocommerce",Dt="social-media-tools",jt="antispam",Nt="atomic",Mt="backups",qt="install-purchased-plugins",Bt="scan"},25432:function(e,t,n){"use strict";n.d(t,{tb:function(){return r},y6:function(){return o}});const r="gapps",o="gapps_unlimited"},90892:function(e,t,n){"use strict";n.d(t,{mk:function(){return o},oe:function(){return a},rx:function(){return u},EI:function(){return c},uL:function(){return l},pE:function(){return f},sY:function(){return p},Sm:function(){return d},PF:function(){return h},DH:function(){return g},XG:function(){return m},Ve:function(){return y},vM:function(){return v},nN:function(){return _},AK:function(){return E},K$:function(){return S},JD:function(){return C},Sj:function(){return P},AY:function(){return k},lj:function(){return x},ap:function(){return F},ns:function(){return L},Xz:function(){return U},p2:function(){return Z},NJ:function(){return D},yY:function(){return j},Et:function(){return N},w2:function(){return M},s1:function(){return q},aS:function(){return B},th:function(){return H},JX:function(){return V},Vl:function(){return $},Dl:function(){return W},jI:function(){return z},G$:function(){return G},$U:function(){return Q},jj:function(){return Y}});var r=n(77904);const o="GROUP_JETPACK",i="jetpack_boost_yearly",s="jetpack_boost_monthly",a="jetpack_backup_t1_yearly",u="jetpack_backup_t1_monthly",c="jetpack_backup_t2_yearly",l="jetpack_backup_t2_monthly",f="jetpack_scan",p="jetpack_scan_monthly",d="jetpack_anti_spam",h="jetpack_anti_spam_monthly",g="jetpack_search",m="jetpack_search_monthly",y="jetpack_crm",v="jetpack_crm_monthly",b="jetpack_crm_free",w="jetpack_crm_free_monthly",_="jetpack_videopress",E="jetpack_videopress_monthly",S="jetpack_backup_daily",C="jetpack_backup_realtime",P="jetpack_backup_daily_monthly",k="jetpack_backup_realtime_monthly",I=[...[S,C,a,c],...[P,k,u,l]],A=[i,s],T=[f,p,"jetpack_scan_realtime","jetpack_scan_realtime_monthly"],R=[d,h],O=[g,m,r.AY,r.MY],x=(r.AY,r.MY,"jetpack_free"),F="jetpack_personal",L="jetpack_personal_monthly",U="jetpack_premium",Z="jetpack_premium_monthly",D="jetpack_business",j="jetpack_business_monthly",N="jetpack_security_t1_yearly",M="jetpack_security_t1_monthly",q="jetpack_security_t2_yearly",B="jetpack_security_t2_monthly",H="jetpack_complete",V="jetpack_complete_monthly",$="jetpack_security_daily",W="jetpack_security_daily_monthly",z="jetpack_security_realtime",G="jetpack_security_realtime_monthly",Q=[F,L,D,j,U,Z],Y=[$,W,z,G,N,M,q,B],K=[H,V],J=[...Y,...K],X=[{yearly:H,monthly:V},{yearly:$,monthly:W},{yearly:z,monthly:G},{yearly:N,monthly:M},{yearly:q,monthly:B}]},73239:function(e,t,n){"use strict";n.d(t,{ob:function(){return r},w$:function(){return o},SU:function(){return i}});const r="TERM_MONTHLY",o="TERM_ANNUALLY",i="TERM_BIENNIALLY"},5085:function(e,t,n){"use strict";n.d(t,{UH:function(){return r},M6:function(){return o},mV:function(){return i},Kb:function(){return s},Qj:function(){return a},h7:function(){return u},VH:function(){return c},VP:function(){return l},w:function(){return f},$h:function(){return p},L7:function(){return d},QI:function(){return h},qC:function(){return g},lY:function(){return m},xg:function(){return y}});const r="TYPE_FREE",o="TYPE_BLOGGER",i="TYPE_PERSONAL",s="TYPE_PREMIUM",a="TYPE_BUSINESS",u="TYPE_ECOMMERCE",c="TYPE_SECURITY_DAILY",l="TYPE_SECURITY_REALTIME",f="TYPE_SECURITY_T1",p="TYPE_SECURITY_T2",d="TYPE_ALL",h="TYPE_P2_PLUS",g="TYPE_FLEXIBLE",m="TYPE_PRO",y="TYPE_STARTER"},77904:function(e,t,n){"use strict";n.d(t,{w9:function(){return r},AY:function(){return o},MY:function(){return i},Wg:function(){return s},p7:function(){return a},j2:function(){return u},OE:function(){return c},xf:function(){return l},G6:function(){return f},wm:function(){return p},sy:function(){return d},Qm:function(){return h},TW:function(){return g},uS:function(){return m},lv:function(){return y},JA:function(){return v},f3:function(){return b},_d:function(){return w},Ml:function(){return _},A2:function(){return E},Cq:function(){return S},_s:function(){return C},dU:function(){return P},Id:function(){return k}});const r="GROUP_WPCOM",o="wpcom_search",i="wpcom_search_monthly",s="business-bundle-monthly",a="business-bundle",u="business-bundle-2y",c="value_bundle_monthly",l="value_bundle",f="value_bundle-2y",p="personal-bundle-monthly",d="personal-bundle",h="personal-bundle-2y",g="blogger-bundle",m="blogger-bundle-2y",y="ecommerce-bundle-monthly",v="ecommerce-bundle",b="ecommerce-bundle-2y",w="free_plan",_="wp_p2_plus_monthly",E="p2_free_plan",S="wpcom-flexible",C="pro-plan",P="pro-plan-monthly",k="starter-plan"},10128:function(e,t,n){"use strict";n.d(t,{M:function(){return o}});var r=n(25432);function o(e){return[r.tb,r.y6].includes(e)}},4112:function(e,t,n){"use strict";n.d(t,{pl:function(){return a},$J:function(){return u}});var r=n(5085),o=n(77904),i=n(25192);function s(e){return"string"!=typeof e?Object.values(i.E).includes(e)?e:void 0:i.E[e]}function a(e){return c(e,{type:r.Qj,group:o.w9})}function u(e){return c(e,{type:r.h7,group:o.w9})}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["type","group","term"],r=Object.keys(t).filter((e=>!n.includes(e)));if(r.length)throw new Error(`planMatches can only match against ${n.join(",")}, but unknown keys ${r.join(",")} were passed.`);const o=s(e);return!!o&&!("type"in t&&o.type!==t.type||"group"in t&&o.group!==t.group||"term"in t&&o.term!==t.term)}},25192:function(e,t,n){"use strict";n.d(t,{E:function(){return F}});var r=n(69307),o=n(20899),i=n(11481),s=n(73239),a=n(21862),u=n(77904),c=n(5085),l=n(90892);function f(e){return!!e}function p(e){return e.filter(f)}const d=()=>i.ZP.translate("per month, billed annually"),h=()=>i.ZP.translate("/month, billed every two years"),g=()=>({term:s.w$,getBillingTimeFrame:()=>(0,i.Iu)("per year")}),m=()=>({term:s.ob,getBillingTimeFrame:()=>(0,i.Iu)("per month, billed monthly")}),y=()=>({getAnnualPlansOnlyFeatures:()=>[a.MCU,a.Eb2,a.IhT,a.dmM,a.Tez,a.N5t,a.vkU]}),v={components:{strong:(0,r.createElement)("strong",{className:"plans__features plan-features__targeted-description-heading"})}},b=()=>({...y(),group:u.w9,type:c.M6,getTitle:()=>i.ZP.translate("Blogger"),getAudience:()=>i.ZP.translate("Best for bloggers"),getBlogAudience:()=>i.ZP.translate("Best for bloggers"),getPortfolioAudience:()=>i.ZP.translate("Best for bloggers"),getStoreAudience:()=>i.ZP.translate("Best for bloggers"),getDescription:()=>i.ZP.translate("{{strong}}Best for bloggers:{{/strong}} Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email.",v),getShortDescription:()=>i.ZP.translate("Brand your blog with a custom .blog domain name, and remove all WordPress.com advertising. Receive additional storage space and customer support via email."),getPlanCompareFeatures:()=>[a.Ai8,a.gqo,a.n_S,a.jDM,a.oGd,a.W4b,a.Xk_,a.EBu,a.EDT],getSignupFeatures:()=>[a.fhe,a.Ai8,a.Uwp],getBlogSignupFeatures:()=>[a.Q1W,a.fhe,a.Uwp],getPortfolioSignupFeatures:()=>[a.Q1W,a.fhe,a.Uwp],getIncludedFeatures:()=>[a.XMd],getInferiorFeatures:()=>[]}),w=()=>({...y(),group:u.w9,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),getAudience:()=>i.ZP.translate("Best for personal use"),getBlogAudience:()=>i.ZP.translate("Best for personal use"),getPortfolioAudience:()=>i.ZP.translate("Best for personal use"),getStoreAudience:()=>i.ZP.translate("Best for personal use"),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email.",v),getShortDescription:()=>i.ZP.translate("Boost your website with a custom domain name, and remove all WordPress.com advertising. Unlock unlimited, expert customer support via email."),getPlanCompareFeatures:function(e){let{isProfessionalEmailPromotionAvailable:t}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,t&&a.oaT,a.q4V,a.gqo,a.n_S,a.jDM,a.oGd,a.W4b,a.Xk_,a.EBu,a.EDT])},getSignupFeatures:()=>[a.MCU,a.fhe,a.jDM],getBlogSignupFeatures:()=>[a.MCU,a.fhe,a.Uwp],getPortfolioSignupFeatures:()=>[a.MCU,a.fhe,a.Uwp],getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe],getIncludedFeatures:()=>[a.XMd],getInferiorFeatures:()=>[]}),_=()=>({...y(),group:u.w9,type:c.h7,getTitle:()=>i.ZP.translate("eCommerce"),getAudience:()=>i.ZP.translate("Best for online stores"),getBlogAudience:()=>i.ZP.translate("Best for online stores"),getPortfolioAudience:()=>i.ZP.translate("Best for online stores"),getStoreAudience:()=>i.ZP.translate("Best for online stores"),getDescription:()=>i.ZP.translate("{{strong}}Best for online stores:{{/strong}} Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows.",v),getShortDescription:()=>i.ZP.translate("Sell products or services with this powerful, all-in-one online store experience. This plan includes premium integrations and is extendable, so it’ll grow with you as your business grows."),getTagline:()=>i.ZP.translate("Learn more about everything included with eCommerce and take advantage of its powerful marketplace features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,n&&a.oaT,t&&a.vkU,t&&a.n_S,a.q4V,a.c74,!t&&a.IhT,(0,o._k)("themes/premium")?a.QfP:null,a.MOV,a.gI6,a.Xk_,a.EBu,a.EDT,a.Vml,a.Vms,a.Zjz,a.Ej,a.iTE,a.B2h,a.xjj,a.Tmz,a.Q3C,a.$xY,a.$23,a.Xif,a.Do2,a.$vg])},getPromotedFeatures:()=>[a.gI6,a.Eb2,a.Xk_,a.MOV],getSignupFeatures:()=>[a.$xY,a.$23,a.kI],getBlogSignupFeatures:()=>[a.$xY,a.$23,a.kI],getPortfolioSignupFeatures:()=>[a.$xY,a.$23,a.kI],getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe,a.vkU,a.Tx8,(0,o._k)("themes/premium")?a.QfP:null,a.Vms,a.V09,a.vqo,a._3A,a.cWM,a.$xY,a.$23,a.fp6].filter(f),getIncludedFeatures:()=>[a.XMd,a.ggN,a.$G1,a.n26,a.vEX,a.HPg,a.okS,a.FNU,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[]}),E=()=>({...y(),group:u.w9,type:c.Kb,getTitle:()=>i.ZP.translate("Premium"),getAudience:()=>i.ZP.translate("Best for freelancers"),getBlogAudience:()=>i.ZP.translate("Best for freelancers"),getPortfolioAudience:()=>i.ZP.translate("Best for freelancers"),getStoreAudience:()=>i.ZP.translate("Best for freelancers"),getDescription:()=>i.ZP.translate("{{strong}}Best for freelancers:{{/strong}} Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads.",v),getShortDescription:()=>i.ZP.translate("Build a unique website with advanced design tools, CSS editing, lots of space for audio and video, Google Analytics support, and the ability to monetize your site with ads."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,n&&a.oaT,t&&a.N5t,t&&a.n_S,a.q4V,a.gqo,!t&&a.dmM,(0,o._k)("themes/premium")?a.QfP:null,a.MOV,a.E5t,a.Xk_,a.EBu,a.EDT,a.Vml,a.Vms,a.Zjz,a.Ej,a.iTE])},getPromotedFeatures:()=>[a.Eb2,a.Xk_,a.MOV,a.E5t],getSignupFeatures:()=>[a.N5t,a.jSq,a.VyO],getBlogSignupFeatures:()=>[a.SZ6,(0,o._k)("themes/premium")?a.QfP:null,a.VyO].filter(f),getPortfolioSignupFeatures:()=>[a.jSq,(0,o._k)("themes/premium")?a.QfP:null,a.VyO].filter(f),getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe,a.N5t,a.Tx8,(0,o._k)("themes/premium")?a.QfP:null,a.Vms].filter(f),getIncludedFeatures:()=>[a.XMd,a.$G1,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[]}),S=()=>({...y(),group:u.w9,type:c.Qj,getTitle:()=>i.ZP.translate("Business"),getAudience:()=>i.ZP.translate("Best for small businesses"),getBlogAudience:()=>i.ZP.translate("Best for small businesses"),getPortfolioAudience:()=>i.ZP.translate("Best for small businesses"),getStoreAudience:()=>i.ZP.translate("The plan for small businesses"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding.",v),getShortDescription:()=>i.ZP.translate("Power your business website with custom plugins and themes, 200 GB storage, and the ability to remove WordPress.com branding."),getTagline:()=>i.ZP.translate("Learn more about everything included with Business and take advantage of its professional features."),getPlanCompareFeatures:function(e){let{isLoggedInMonthlyPricing:t,isProfessionalEmailPromotionAvailable:n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return p([a.Eb2,n&&a.oaT,t&&a.vkU,t&&a.n_S,a.q4V,a.c74,!t&&a.IhT,(0,o._k)("themes/premium")?a.QfP:null,a.MOV,a.gI6,a.Xk_,a.EBu,a.EDT,a.Vml,a.Vms,a.Zjz,a.Ej,a.iTE,a.B2h,a.xjj,a.Tmz,a.Q3C])},getPromotedFeatures:()=>[a.gI6,a.Eb2,a.Xk_,a.MOV,a.iTE],getSignupFeatures:()=>[a.vEX,a.ljn,a.Z5U],getBlogSignupFeatures:()=>[a.vEX,a.ljn,a.Z5U],getPortfolioSignupFeatures:()=>[a.vEX,a.gI6,a.Z5U],getSignupCompareAvailableFeatures:()=>[a.Eb2,a.q4V,a.Xk_,a.$4,a.fhe,a.vkU,a.Tx8,(0,o._k)("themes/premium")?a.QfP:null,a.Vms,a.V09,a.vqo,a._3A,a.cWM].filter(f),getIncludedFeatures:()=>[a.XMd,a.ggN,a.$G1,a.n26,a.HPg,a.okS,a.FNU,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[]}),C=()=>({...y(),group:u.w9,type:c.lY,getTitle:()=>i.ZP.translate("WordPress Pro"),getDescription:()=>i.ZP.translate("Unlock the full power of WordPress with plugins, custom themes and much more."),getSubTitle:()=>i.ZP.translate("Unlimited features. Unbeatable value."),getPlanCompareFeatures:()=>[a.c__,a.FiJ,a.jDM,a.Eb2,a.QfP,a.V09,a.n26,a.J8D,a.O05,a.SLH,a.Xk_,a.B2h,a.SsD,a.iTE,a.x_7,a.hH1,a.fDA,a.SZ6,a.cWM,a._3A,a.gqo,a.Vml,a.Ej,a.Vms],getIncludedFeatures:()=>[a.MOV,a.vqo,a.XMd,a.$G1,a.$4,a.Tx8,a.HPg,a.Vms,a.ggN,a.q4V,a.EBu,a.Q3C,a.Zjz,a.EDT,a.okS,a.cWM,a._3A,a.xjj,a.Tmz,a.vEX,a.FNU,a.ikw,a.Ly9,a.DEy]}),P=()=>({group:l.mk,type:c.mV,getTitle:()=>i.ZP.translate("Personal"),availableFor:e=>[l.lj].includes(e),getDescription:()=>i.ZP.translate("{{strong}}Best for personal use:{{/strong}} Security essentials for your WordPress site, including automated backups and priority support.",v),getTagline:()=>i.ZP.translate("Your data is being securely backed up and you have access to priority support."),getPlanCardFeatures:()=>[a.DwI,a.CtJ],getBillingTimeFrame:()=>i.ZP.translate("per year"),getIncludedFeatures:()=>[a.s1f,a.nsi,a.$PM,a.Rp9,a.V37,a.$QL,a.J8D,a.V1k,a.TBQ,a.zrQ,a.T$h,a.okS,a.B2h,a.s1f,a.V37,a.wUt,a.J8D,a.igx,a.Ly9,a.DEy]}),k=()=>({group:l.mk,type:c.Kb,availableFor:e=>[l.lj,l.ap,l.ns].includes(e),getTitle:()=>i.ZP.translate("Premium"),getDescription:()=>i.ZP.translate("{{strong}}Best for small businesses:{{/strong}} Comprehensive, automated scanning for security vulnerabilities, fast video hosting, and marketing automation.",v),getTagline:()=>i.ZP.translate("Your site is being secured and you have access to marketing tools and priority support."),getPlanCardFeatures:()=>[a.DwI,a.w7L,a.CtJ],getIncludedFeatures:()=>p([a.s1f,a.nsi,a.$PM,a.Rp9,a.V37,a.$QL,a.J8D,a.Zjz,a.Vml,a.Ej,a.QNW,a.zQV,a.B2h,a.Vms,a.V1k,a.TBQ,a.V1I,a.FR0,a.zrQ,a.T$h,a.okS,a.s1f,a.V37,a.zQV,a.m1c,a.QNW,a.Ej,a.B2h,a.igx,a.ikw,a.Ly9,a.DEy])}),I=()=>({group:l.mk,type:c.Qj,getTitle:()=>i.ZP.translate("Professional"),availableFor:e=>[l.lj,l.Xz,l.p2,l.ap,l.ns].includes(e),getDescription:()=>(0,o._k)("themes/premium")?i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites.",v):i.ZP.translate("{{strong}}Best for organizations:{{/strong}} The most powerful WordPress sites: real-time backups and premium themes.",v),getTagline:()=>i.ZP.translate("You have the full suite of security and performance tools."),getPlanCardFeatures:()=>[a.csF,a.XgZ,a.CtJ],getIncludedFeatures:()=>p([a._sL,a.L2_,a.$PM,a.Rp9,a.V37,a.$QL,a.J8D,a.Zjz,a.Vml,a.Ej,a.QNW,a.vQ$,a.E30,a.B2h,a.Vms,a.s4b,a.TZT,a.V1I,a.FR0,a.zrQ,a.T$h,a.okS,a._sL,(0,o._k)("themes/premium")?a.QfP:null,a.PUy,a.ikw,a.Ly9,a.DEy]),getInferiorFeatures:()=>[a.V1k,a.TBQ]}),A=()=>({group:l.mk,type:c.VH,getTitle:()=>(0,i.Iu)("Security {{em}}Daily{{/em}}",{components:{em:(0,r.createElement)("em",null)}}),availableFor:e=>[l.lj,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("All of the essential Jetpack Security features in one package including Backup, Scan, Anti-spam and more."),getTagline:()=>(0,i.Iu)("Best for sites with occasional updates"),getPlanCardFeatures:()=>[a.afj,a.oIe,a.CtJ],getIncludedFeatures:()=>[a.V1k,a.TBQ,a.V1I,a.FR0,a.zrQ,a.T$h,a.nsi,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy]}),T=()=>({group:l.mk,type:c.VP,getTitle:()=>(0,i.Iu)("Security {{em}}Real-time{{/em}}",{components:{em:(0,r.createElement)("em",{style:{whiteSpace:"nowrap"}})}}),availableFor:e=>[l.lj,l.Vl,l.Dl,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("Get next-level protection with real-time backups, real-time scan and all essential security tools."),getTagline:()=>(0,i.Iu)("Best for sites with frequent updates"),getPlanCardFeatures:()=>[a.X2I,a.HpB,a.XgZ,a.n$d],getIncludedFeatures:()=>[a.s4b,a.TZT,a.V1I,a.FR0,a.zrQ,a.T$h,a.L2_,a.QNW,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[a.V1k,a.TBQ,a.nsi]}),R=()=>({group:l.mk,type:c.w,getTitle:()=>(0,i.Iu)("Security"),availableFor:e=>[l.lj,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("Easy-to-use, comprehensive WordPress site security including backups, malware scanning, and spam protection."),getPlanCardFeatures:()=>[a.VZW,a.xlk,a.CtJ],getIncludedFeatures:()=>[a.$pY,a.mX4,a.V1I,a.FR0,a.zrQ,a.T$h,a.L2_,a.QNW,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[a.V1k,a.TBQ]}),O=()=>({...R(),type:c.$h,getIncludedFeatures:()=>[a.tS0,a.L2R,a.V1I,a.FR0,a.zrQ,a.T$h,a.L2_,a.QNW,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,a.J8D,a.ikw,a.Ly9,a.DEy],getInferiorFeatures:()=>[a.V1k,a.TBQ,a.nsi]}),x=()=>({group:l.mk,type:c.L7,getTitle:()=>(0,i.Iu)("Complete",{context:"Jetpack plan name"}),availableFor:e=>[l.lj,...l.jj,...l.$U].includes(e),getDescription:()=>(0,i.Iu)("Get the full power of Jetpack with all Security, Performance, Growth, and Design tools."),getTagline:()=>(0,i.Iu)("For best-in-class WordPress sites"),getPlanCardFeatures:()=>[a.lYf,a.puh,a.sQp,a.dZ$,a.rDn],getIncludedFeatures:()=>p([a.tS0,a.L2R,a.V1I,a.FR0,a.zrQ,a.T$h,a.lv3,a.ewW,a.liF,a.DJ3,a.L2_,a.QNW,a.GwK,a.w6W,a.Zjz,a.B2h,a.okS,a.Vml,a.Ej,a.Vms,(0,o._k)("themes/premium")?a.QfP:null,a.J8D,a.ikw,a.Ly9,a.DEy]),getInferiorFeatures:()=>[a.V1k,a.TBQ,a.nsi]}),F={[u._d]:{group:u.w9,type:c.UH,term:s.w$,getTitle:()=>i.ZP.translate("Free"),getAudience:()=>i.ZP.translate("Best for students"),getBlogAudience:()=>i.ZP.translate("Best for students"),getPortfolioAudience:()=>i.ZP.translate("Best for students"),getStoreAudience:()=>i.ZP.translate("Best for students"),getProductId:()=>1,getStoreSlug:()=>u._d,getPathSlug:()=>"beginner",getDescription:()=>i.ZP.translate("Get a free website and be on your way to publishing your first post in less than five minutes."),getPlanCompareFeatures:()=>[a.wJ_,a.gqo,a.U_2,a.jDM,a.oGd,a.KlX],getSignupFeatures:()=>[a.U_2,a.sYz,a.R2o],getBlogSignupFeatures:()=>[a.U_2,a.sYz,a.R2o],getPortfolioSignupFeatures:()=>[a.U_2,a.sYz,a.R2o],getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[],getInferiorFeatures:()=>[]},[u.TW]:{...b(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d].includes(e),getProductId:()=>1010,getStoreSlug:()=>u.TW,getPathSlug:()=>"blogger"},[u.uS]:{...b(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.TW].includes(e),getProductId:()=>1030,getStoreSlug:()=>u.uS,getPathSlug:()=>"blogger-2-years"},[u.wm]:{...w(),...m(),availableFor:e=>[u._d,u.TW,u.uS].includes(e),getProductId:()=>1019,getStoreSlug:()=>u.wm,getPathSlug:()=>"personal-monthly"},[u.sy]:{...w(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.TW,u.uS,u.wm].includes(e),getProductId:()=>1009,getStoreSlug:()=>u.sy,getPathSlug:()=>"personal"},[u.Qm]:{...w(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy].includes(e),getProductId:()=>1029,getStoreSlug:()=>u.Qm,getPathSlug:()=>"personal-2-years"},[u.OE]:{...E(),...m(),availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm].includes(e),getProductId:()=>1013,getStoreSlug:()=>u.OE,getPathSlug:()=>"premium-monthly"},[u.xf]:{...E(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.Id].includes(e),getProductId:()=>1003,getStoreSlug:()=>u.xf,getPathSlug:()=>"premium"},[u.G6]:{...E(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf].includes(e),getProductId:()=>1023,getStoreSlug:()=>u.G6,getPathSlug:()=>"premium-2-years"},[u.Wg]:{...S(),...m(),availableFor:e=>(0,o._k)("upgrades/wpcom-monthly-plans")&&[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.dU].includes(e),getProductId:()=>1018,getStoreSlug:()=>u.Wg,getPathSlug:()=>"business-monthly"},[u.p7]:{...S(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.dU].includes(e),getProductId:()=>1008,getStoreSlug:()=>u.p7,getPathSlug:()=>"business"},[u.j2]:{...S(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.p7,u.Wg,u.dU].includes(e),getProductId:()=>1028,getStoreSlug:()=>u.j2,getPathSlug:()=>"business-2-years"},[u.lv]:{..._(),...m(),availableFor:e=>[u._d,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.p7,u.j2,u.dU].includes(e),getProductId:()=>1021,getStoreSlug:()=>u.lv,getPathSlug:()=>"ecommerce-monthly"},[u.JA]:{..._(),term:s.w$,getBillingTimeFrame:d,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.p7,u.j2,u.lv,u.dU].includes(e),getProductId:()=>1011,getStoreSlug:()=>u.JA,getPathSlug:()=>"ecommerce"},[u.f3]:{..._(),term:s.SU,getBillingTimeFrame:h,availableFor:e=>[u._d,u.Id,u._s,u.TW,u.uS,u.wm,u.sy,u.Qm,u.OE,u.xf,u.G6,u.Wg,u.p7,u.j2,u.lv,u.JA,u.dU].includes(e),getProductId:()=>1031,getStoreSlug:()=>u.f3,getPathSlug:()=>"ecommerce-2-years"},[l.lj]:{term:s.w$,group:l.mk,type:c.UH,getTitle:()=>i.ZP.translate("Free"),getProductId:()=>2002,getStoreSlug:()=>l.lj,getTagline:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=e.some((e=>[a.V1k,a.TBQ,a.s4b,a.TZT,a.$pY,a.mX4,a.tS0,a.L2R].includes(e))),n=e.some((e=>[a.V1I,a.FR0].includes(e)));return t&&n?i.ZP.translate("Upgrade your site to access additional features, including spam protection and priority support."):t?i.ZP.translate("Upgrade your site to access additional features, including spam protection, security scanning, and priority support."):n?i.ZP.translate("Upgrade your site to access additional features, including spam protection, backups, and priority support."):i.ZP.translate("Upgrade your site for additional features, including spam protection, backups, security scanning, and priority support.")},getDescription:()=>i.ZP.translate("The features most needed by WordPress sites — perfectly packaged and optimized for everyone."),getBillingTimeFrame:()=>i.ZP.translate("for life"),getIncludedFeatures:()=>[a.wwD,a.rlg,a.F$l,a.gRD,a.B2h,a.okS,a.ALM,a.rlg,a.wwD,a.F$l,a.$NZ]},[l.Xz]:{...k(),...g(),getProductId:()=>2e3,getStoreSlug:()=>l.Xz,getPathSlug:()=>"premium"},[l.p2]:{...k(),...m(),getProductId:()=>2003,getStoreSlug:()=>l.p2,getPathSlug:()=>"premium-monthly"},[l.ap]:{...P(),...g(),getProductId:()=>2005,getStoreSlug:()=>l.ap,getPathSlug:()=>"jetpack-personal"},[l.ns]:{...P(),...m(),getProductId:()=>2006,getStoreSlug:()=>l.ns,getPathSlug:()=>"jetpack-personal-monthly"},[l.NJ]:{...I(),...g(),getProductId:()=>2001,getStoreSlug:()=>l.NJ,getPathSlug:()=>"professional"},[l.yY]:{...I(),...m(),getProductId:()=>2004,getStoreSlug:()=>l.yY,getPathSlug:()=>"professional-monthly"},[l.Vl]:{...A(),...g(),getMonthlySlug:()=>l.Dl,getStoreSlug:()=>l.Vl,getPathSlug:()=>"security-daily",getProductId:()=>2010},[l.Dl]:{...A(),...m(),getAnnualSlug:()=>l.Vl,getStoreSlug:()=>l.Dl,getPathSlug:()=>"security-daily-monthly",getProductId:()=>2011},[l.jI]:{...T(),...g(),getMonthlySlug:()=>l.G$,getStoreSlug:()=>l.jI,getPathSlug:()=>"security-realtime",getProductId:()=>2012},[l.G$]:{...T(),...m(),getAnnualSlug:()=>l.jI,getStoreSlug:()=>l.G$,getPathSlug:()=>"security-realtime-monthly",getProductId:()=>2013},[l.th]:{...x(),...g(),getStoreSlug:()=>l.th,getPathSlug:()=>"complete",getProductId:()=>2014},[l.JX]:{...x(),...m(),getStoreSlug:()=>l.JX,getPathSlug:()=>"complete-monthly",getProductId:()=>2015},[l.Et]:{...R(),...g(),getStoreSlug:()=>l.Et,getPathSlug:()=>"security-20gb-yearly",getProductId:()=>2016},[l.w2]:{...R(),...m(),getStoreSlug:()=>l.w2,getPathSlug:()=>"security-20gb-monthly",getProductId:()=>2017},[l.s1]:{...O(),...g(),getStoreSlug:()=>l.s1,getPathSlug:()=>"security-1tb-yearly",getProductId:()=>2019},[l.aS]:{...O(),...m(),getStoreSlug:()=>l.aS,getPathSlug:()=>"security-1tb-monthly",getProductId:()=>2020},[u.Ml]:{group:u.w9,type:c.QI,getTitle:()=>i.ZP.translate("P2+"),getDescription:()=>i.ZP.translate("{{strong}}Best for professionals:{{/strong}} Enhance your P2 with more space for audio and video, advanced search, an activity overview panel, and priority customer support.",v),getShortDescription:()=>i.ZP.translate("Some short description"),getPlanCompareFeatures:()=>[a.S_M,a.yjN,a.iC0,a.rdd,a.bJv,a.ops],getSignupFeatures:()=>[a.fhe],getIncludedFeatures:()=>[a.XMd,a.lv3,a.ewW],getInferiorFeatures:()=>[],getAudience:()=>i.ZP.translate("Best for bloggers"),...m(),availableFor:e=>[u._d].includes(e),getProductId:()=>1040,getStoreSlug:()=>u.Ml,getPathSlug:()=>"p2-plus",getBillingTimeFrame:()=>(0,i.Iu)("per user per month")}};F[u.A2]={...F[u._d],getDescription:()=>i.ZP.translate("{{strong}}Best for small groups:{{/strong}} All the features needed to share, discuss, review, and collaborate with your team in one spot, without interruptions.",v),getTitle:()=>i.ZP.translate("P2 Free"),getPlanCompareFeatures:()=>[a.$mN,a.JqD,a.bHF,a.XZZ,a.vje]},F[u.Id]={...y(),group:u.w9,type:c.xg,term:s.w$,getTitle:()=>i.ZP.translate("WordPress Starter"),getProductId:()=>1033,getStoreSlug:()=>u.Id,getPathSlug:()=>"starter",getDescription:()=>i.ZP.hasTranslation("Start with a custom domain name, simple payments, and extra storage.")||["en","en-gb"].includes((0,i.Yj)()||"")?i.ZP.translate("Start with a custom domain name, simple payments, and extra storage."):i.ZP.translate("Start your WordPress.com website. Limited functionality and storage."),getSubTitle:()=>i.ZP.translate("Essential features. Freedom to grow."),getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly"),getPlanCompareFeatures:()=>[a.c__,a.FiJ,a.jDM,a.Eb2,a.SsD,a.W4b,a.Vms,a.x_7,a.fDA],getIncludedFeatures:()=>[a.n26]},F[u.Cq]={...F[u._d],group:u.w9,type:c.qC,getTitle:()=>i.ZP.translate("WordPress Free"),getBillingTimeFrame:()=>i.ZP.translate("upgrade when you need"),getDescription:()=>i.ZP.translate("Start your free WordPress.com website. Limited functionality and storage."),getPlanCompareFeatures:()=>[a.Zaf]},F[u._s]={...C(),term:s.w$,getProductId:()=>1032,getStoreSlug:()=>u._s,getPathSlug:()=>"pro",getBillingTimeFrame:()=>i.ZP.translate("per month, billed yearly")},F[u.dU]={...C(),...m(),availableFor:e=>[u._d].includes(e),getProductId:()=>1034,getStoreSlug:()=>u.dU,getPathSlug:()=>"pro-monthly"}},78038:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4174);function o(e,t){let n,o;if(!(e instanceof URL)&&"string"!=typeof e)throw new Error("`url` should be a string or URL instance");if(e instanceof URL)n=e,o=r.a.ABSOLUTE;else{if(o=(0,r.D)(e),o===r.a.INVALID)throw new Error("Cannot format an invalid URL.");if(o===r.a.PATH_RELATIVE)throw new Error("Cannot format path-relative URLs.");n=new URL(e,"http://__domain__.invalid/")}switch(void 0===t&&(t=o),t){case r.a.PATH_RELATIVE:throw new Error("Cannot format into path-relative URLs.");case r.a.PATH_ABSOLUTE:return n.href.replace(n.origin,"");case r.a.SCHEME_RELATIVE:if(o===r.a.PATH_ABSOLUTE)throw new Error("Cannot format a path-absolute URL as a scheme-relative URL.");return n.href.replace(n.protocol,"");case r.a.ABSOLUTE:if(o!==r.a.ABSOLUTE)throw new Error("Cannot format a partial URL as an absolute URL.");return n.href;default:throw new Error(`Cannot format as \`${t}\` URL type.`)}}},94668:function(e,t,n){"use strict";n.d(t,{F:function(){return u}});var r=n(28636),o=n(6261);let i;i="object"==typeof globalThis.location?new RegExp(`^(/(?!/)|data:image/[^;]+;|blob:${globalThis.location.origin}/)`):/^(\/(?!\/)|data:image\/[^;]+;)/;const s=/^([-a-zA-Z0-9_]+\.)*(gravatar\.com|wordpress\.com|wp\.com|a8c\.com)$/,a=["w","h","resize","fit","s"];function u(e){if("string"!=typeof e)return null;if(e.length<1)return null;if(i.test(e))return e;const t=(0,o.A)(e);if(s.test(t.hostname))return t.protocol="https",(0,o.C)(t).toString();if(t.search&&(t.host||t.hostname||t.origin)){if(a.forEach((e=>t.searchParams.delete(e))),"0"===t.searchParams.get("authuser")&&t.searchParams.delete("authuser"),Array.from(t.searchParams).length)return null;t.search="",null!=t&&t.protocol||(t.protocol="https"),e=(0,o.C)(t).toString()}return t.pathname.endsWith(".svg")?null:(0,r.Z)(e)}},6261:function(e,t,n){"use strict";n.d(t,{A:function(){return u},C:function(){return c}});var r=n(4174);const o="http://__domain__.invalid",i=Object.freeze({protocol:"",host:"",hostname:"",port:"",origin:"",pathname:"",hash:"",search:"",searchParams:new URLSearchParams,username:"",password:""}),s=Object.keys(i);function a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;const n={...i};return t.forEach((t=>{n[t]=(null==e?void 0:e[t])??i[t]})),n}function u(e){const t=(0,r.D)(e);if(t===r.a.INVALID)return{...i};const n=e instanceof URL?e:new URL(e,o);if(t===r.a.ABSOLUTE)return a(n);if(t===r.a.SCHEME_RELATIVE)return a(n,s.filter((e=>"protocol"!==e&&"origin"!==e)));const u=a(n,["pathname","hash","search","searchParams"]);return t===r.a.PATH_RELATIVE&&(u.pathname=e.split(/[?#]/,1)[0]),u}function c(e){var t;if(!(null!=e&&e.protocol||null!=e&&e.origin))throw new Error("getUrlFromParts: protocol missing.");if(!e.host&&!e.hostname&&!e.origin)throw new Error("getUrlFromParts: host missing.");const n=new URL(o);if(e.origin)try{const t=new URL(e.origin);n.host=t.host,n.protocol=t.protocol}catch{throw new Error("getUrlFromParts: invalid origin.")}n.host=e.host||n.host,null!==(t=e.searchParams)&&void 0!==t&&t.toString&&(n.search=e.searchParams.toString());for(const r of s)if("host"!==r&&"origin"!==r&&"searchParams"!==r){const t=e[r];t&&t!==n[r]&&(n[r]=t)}return n}},4174:function(e,t,n){"use strict";let r;n.d(t,{a:function(){return r},D:function(){return s}}),function(e){e.ABSOLUTE="ABSOLUTE",e.SCHEME_RELATIVE="SCHEME_RELATIVE",e.PATH_ABSOLUTE="PATH_ABSOLUTE",e.PATH_RELATIVE="PATH_RELATIVE",e.INVALID="INVALID"}(r||(r={}));const o="__domain__.invalid",i=`http://${o}`;function s(e){if(!(e instanceof URL)&&"string"!=typeof e)return r.INVALID;if(""===e)return r.PATH_RELATIVE;if(e instanceof URL)return r.ABSOLUTE;let t;try{if(t=new URL(e),t.protocol&&":"!==t.protocol)return r.ABSOLUTE}catch{}try{t=new URL(e,i)}catch{return r.INVALID}return""===t.pathname?r.INVALID:t.hostname!==o?r.SCHEME_RELATIVE:e.startsWith("/")?r.PATH_ABSOLUTE:r.PATH_RELATIVE}},43239:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(43261);const u=(e,t)=>{const n=e.plain?s()("button-plain",e.className):s()("button",e.className,{"is-compact":e.compact,"is-primary":e.primary,"is-scary":e.scary,"is-busy":e.busy,"is-borderless":e.borderless});if((e=>!!e.href)(e)){const i=(e=>{let{type:t,borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,...c}=e;return c})(e),s=i.target?(i.rel||"").replace(/noopener|noreferrer/g,"")+" noopener noreferrer":i.rel;return(0,o.createElement)("a",(0,r.Z)({},i,{rel:s,className:n,ref:t}))}const i=(e=>{let{type:t="button",borderless:n,busy:r,className:o,compact:i,primary:s,scary:a,plain:u,rel:c,href:l,target:f,...p}=e;return{...p,type:t}})(e);return(0,o.createElement)("button",(0,r.Z)({},i,{className:n,ref:t}))},c=(0,a.forwardRef)(u);c.defaultProps={type:"button"},t.Z=c},98148:function(e,t,n){"use strict";var r=n(7896),o=n(72779),i=n.n(o),s=n(99196),a=n(56399);n(53616);const u=(e,t)=>{let{children:n,className:o,compact:u,displayAsLink:c,highlight:l,tagName:f="div",href:p,target:d,...h}=e;const g=i()("card",o,{"is-card-link":c||p,"is-clickable":h.onClick,"is-compact":u,"is-highlight":l},!!l&&"is-"+l);return p?(0,s.createElement)("a",(0,r.Z)({},h,{href:p,target:d,className:g,ref:t}),(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n):(0,s.createElement)(f,{...h,className:g,ref:t},c&&(0,s.createElement)(a.Z,{className:"card__link-indicator",icon:d?"external":"chevron-right"}),n)},c=(0,s.forwardRef)(u);c.displayName="Card",t.Z=(0,s.memo)(c)},27136:function(e,t,n){"use strict";var r=n(69307),o=n(72779),i=n.n(o),s=n(56399);n(81712);t.Z=e=>{let{isError:t=!1,isWarning:n,isHidden:o,className:a,text:u,icon:c,id:l,children:f}=e;const p=i()(a,{"form-input-validation":!0,"is-warning":n,"is-error":t,"is-hidden":o}),d=t||n?"notice-outline":"checkmark";return(0,r.createElement)("div",{className:p,role:"alert"},(0,r.createElement)("span",{id:l},(0,r.createElement)(s.Z,{size:24,icon:c||d})," ",u,f))}},56399:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(72779),s=n.n(i),a=n(32421),u=n(68785),c=n(99196);const l=c.memo(c.forwardRef(((e,t)=>{const{size:n=24,icon:i,className:c,title:l,...f}=e,p=n%18==0,d=`gridicons-${i}`,h=s()("gridicon",d,c,{"needs-offset":p&&a.iconsThatNeedOffset.includes(d),"needs-offset-x":p&&a.iconsThatNeedOffsetX.includes(d),"needs-offset-y":p&&a.iconsThatNeedOffsetY.includes(d)});return(0,o.createElement)("svg",(0,r.Z)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",className:h,height:n,width:n,ref:t},f),l&&(0,o.createElement)("title",null,l),(0,o.createElement)("use",{xlinkHref:`${u}#${d}`}))})));l.displayName="Gridicon",t.Z=l},13668:function(e,t,n){"use strict";var r=n(69307),o=n(65736),i=n(72779),s=n.n(i),a=n(92819);n(32014);const __=o.__;t.Z=e=>{let{activePageIndex:t,numberOfPages:n,onChange:i,classNames:u,children:c}=e;const l=s()("pagination-control",u);return(0,r.createElement)("ul",{className:l,"aria-label":__("Pagination control")},(0,a.times)(n,(e=>(0,r.createElement)("li",{key:`${n}-${e}`,"aria-current":e===t?"page":void 0},(0,r.createElement)("button",{className:s()("pagination-control__page",{"is-current":e===t}),disabled:e===t,"aria-label":(0,o.sprintf)(__("Page %1$d of %2$d"),e+1,n),onClick:()=>i(e)})))),c&&(0,r.createElement)("li",{className:"pagination-control__last-item"},c))}},37499:function(e,t,n){"use strict";var r=n(7896),o=n(56666),i=n(69307),s=n(72779),a=n.n(s),u=n(18373),c=n(92819),l=n(13980),f=n.n(l),p=n(99196),d=n(91850),h=n.n(d),g=n(88060),m=n(51010);n(17228);const y=()=>{};class v extends p.Component{constructor(){super(...arguments),(0,o.Z)(this,"scheduledPositionUpdate",null),(0,o.Z)(this,"scheduledFocus",null),(0,o.Z)(this,"popoverNodeRef",(0,p.createRef)()),(0,o.Z)(this,"popoverInnerNodeRef",(0,p.createRef)()),(0,o.Z)(this,"state",{left:-99999,top:-99999,positionClass:this.getPositionClass(this.props.position)}),(0,o.Z)(this,"onKeydown",(e=>{if(27===e.keyCode){const e=h().findDOMNode(this.props.context);e&&e.focus(),this.close(!0)}})),(0,o.Z)(this,"getTouchEvent",(()=>"onpointerdown"in document?"pointerdown":"ontouchstart"in document?"touchstart":"click")),(0,o.Z)(this,"onClickout",(e=>{const t=this.popoverInnerNodeRef.current;let n=t&&!t.contains(e.target);if(n&&this.props.context){const t=h().findDOMNode(this.props.context);n=t&&!t.contains(e.target)}if(n&&this.props.ignoreContext){const t=h().findDOMNode(this.props.ignoreContext);n=t&&!t.contains(e.target)}n&&this.close()})),(0,o.Z)(this,"onWindowChange",(()=>{this.setPosition()})),(0,o.Z)(this,"setPosition",(()=>{let e;e=this.props.customPosition?Object.assign({positionClass:this.getPositionClass(this.constructor.defaultProps.position)},this.props.customPosition):this.computePosition(),e&&this.setState(e)})),(0,o.Z)(this,"handleOnMouseEnter",(()=>{const{onMouseEnter:e}=this.props;null==e||e()})),(0,o.Z)(this,"handleOnMouseLeave",(()=>{const{onMouseLeave:e}=this.props;null==e||e()}))}componentDidMount(){this.bindListeners(),this.setPosition(),this.show()}componentDidUpdate(){null==this.scheduledPositionUpdate&&(this.scheduledPositionUpdate=(0,c.defer)((()=>{this.setPosition(),this.scheduledPositionUpdate=null})))}componentWillUnmount(){this.unbindListeners()}bindListeners(){this.bindClickoutHandler(),this.bindEscKeyListener(),this.bindReposition(),(0,m.fN)()}unbindListeners(){this.unbindClickoutHandler(),this.unbindEscKeyListener(),this.unbindReposition(),(0,m.zR)(),null!=this.scheduledPositionUpdate&&(window.clearTimeout(this.scheduledPositionUpdate),this.scheduledPositionUpdate=null),null!=this.scheduledFocus&&(window.clearTimeout(this.scheduledFocus),this.scheduledFocus=null)}bindEscKeyListener(){this.props.closeOnEsc&&document.addEventListener("keydown",this.onKeydown,!0)}unbindEscKeyListener(){this.props.closeOnEsc&&document.removeEventListener("keydown",this.onKeydown,!0)}bindClickoutHandler(){document.addEventListener(this.getTouchEvent(),this.onClickout,!0)}unbindClickoutHandler(){document.removeEventListener(this.getTouchEvent(),this.onClickout,!0)}bindReposition(){window.addEventListener("scroll",this.onWindowChange,!0),window.addEventListener("resize",this.onWindowChange,!0)}unbindReposition(){window.removeEventListener("scroll",this.onWindowChange,!0),window.removeEventListener("resize",this.onWindowChange,!0)}focusPopover(){this.scheduledFocus=(0,c.defer)((()=>{this.popoverNodeRef.current&&this.popoverNodeRef.current.focus(),this.scheduledFocus=null}))}getPositionClass(e){return`is-${e.replace(/\s+/g,"-")}`}adjustRtlPosition(e){if(this.props.isRtl)switch(e){case"top right":case"right top":return"top left";case"right":return"left";case"bottom right":case"right bottom":return"bottom left";case"bottom left":case"left bottom":return"bottom right";case"left":return"right";case"top left":case"left top":return"top right"}return e}computePosition(){const{position:e,relativePosition:t}=this.props,n=this.popoverInnerNodeRef.current,r=h().findDOMNode(this.props.context);if(!r)return null;let o=e;this.props.autoRtl&&(o=this.adjustRtlPosition(o)),this.props.autoPosition&&(o=(0,m.X6)(o,n,r));return Object.assign({},(0,m.Ou)((0,m.cv)(o,n,r,t),n),{positionClass:this.getPositionClass(o)})}getStylePosition(){const{left:e,top:t}=this.state;return{left:e,top:t}}show(){this.props.focusOnShow&&this.focusPopover(),this.props.onShow()}close(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.props.onClose(e)}render(){if(!this.props.context)return null;const e=a()("popover",this.props.className,this.state.positionClass);return(0,i.createElement)("div",{ref:this.popoverNodeRef,"aria-label":this.props["aria-label"],id:this.props.id,role:"tooltip",tabIndex:"-1",style:this.getStylePosition(),className:e,onMouseEnter:this.handleOnMouseEnter,onMouseLeave:this.handleOnMouseLeave},(0,i.createElement)("div",{className:"popover__arrow"}),(0,i.createElement)("div",{ref:this.popoverInnerNodeRef,className:"popover__inner"},this.props.children))}}function b(e){let{isVisible:t=!1,showDelay:n=0,...o}=e;const s=(0,u.V)(),[a,c]=(0,p.useState)(t);return(0,p.useEffect)((()=>{if(n>0&&a!==t&&t){const e=setTimeout((()=>{c(!0)}),n);return()=>{clearTimeout(e)}}}),[n,t,a]),a===t||0!==n&&t||c(t),a?(0,i.createElement)(g.Z,null,(0,i.createElement)(v,(0,r.Z)({},o,{isRtl:s}))):null}(0,o.Z)(v,"defaultProps",{autoPosition:!0,autoRtl:!0,className:"",closeOnEsc:!0,isRtl:!1,focusOnShow:!0,position:"top",onShow:y,onClose:y,onMouseEnter:y,onMouseLeave:y});const w=f().oneOfType([f().instanceOf(p.Component),f().instanceOf("undefined"!=typeof window?window.Element:Object)]);b.propTypes={autoPosition:f().bool,autoRtl:f().bool,className:f().string,closeOnEsc:f().bool,id:f().string,context:w,ignoreContext:w,isVisible:f().bool,focusOnShow:f().bool,position:f().oneOf(["top","top right","right","bottom right","bottom","bottom left","left","top left"]),showDelay:f().number,onShow:f().func,onClose:f().func,relativePosition:f().shape({left:f().number}),customPosition:f().shape({top:f().number,left:f().number,positionClass:f().oneOf(["top","right","bottom","left"])})},t.Z=b},51010:function(e,t,n){"use strict";function r(){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,e}n.d(t,{fN:function(){return l},zR:function(){return f},X6:function(){return p},cv:function(){return d},Ou:function(){return h}});const o={top:"bottom",bottom:"top",left:"right",right:"left"},i={top:"right",left:"top",bottom:"left",right:"bottom"};let s=null,a=0;function u(){return s||(s=r()),s}function c(){s=r()}function l(){a++>0||(window.addEventListener("resize",c,!0),window.addEventListener("scroll",c,!0))}function f(){--a>0||(window.removeEventListener("resize",c,!0),window.removeEventListener("scroll",c,!0))}function p(e,t,n){const r=u(),s=n.getBoundingClientRect(),a=t.clientHeight,c=t.clientWidth,l={top:s.top-a,bottom:r.height-s.bottom-a,left:s.left-c,right:r.width-s.right-c},f=e.split(/\s+/),[p]=f;let[,h]=f;const g=function(e,t){const n=[e,o[e],i[e],o[i[e]]];let r,s=-1/0;for(let o=0,i=n.length;o<i;o++){const i=n[o],a=t[i];if(a>0)return i;a>s&&(s=a,r=e)}return r}(p,l);return h!==g&&h!==o[g]||(h=null),function(e,t,n,r,s,a){const c=u(),l="top"===e||"bottom"===e,f=t?[l?`${e} ${t}`:`${t} ${e}`,e,l?`${e} ${o[t]}`:`${o[t]} ${e}`]:[e,l?`${e} ${i[e]}`:`${i[e]} ${e}`,l?`${e} ${o[i[e]]}`:`${o[i[e]]} ${e}`];let p,h=0;const g=s*a;for(let o=0,i=f.length;o<i;o++){const e=f[o],t=d(e,n,r),i=t.left+s,u=t.top+a,l=Math.min(t.top<c.top?u-c.top:c.bottom-t.top,a),m=Math.min(t.left<c.left?i-c.left:c.right-t.left,s)*l;if(m===g)return e;m>h&&(h=m,p=e)}return p}(g,h,t,n,c,a)||e}function d(e,t,n,r){const o=t.getBoundingClientRect();if(!o)throw new Error("could not get bounding client rect of Tip element");const i=o.width,s=o.height,a=n.getBoundingClientRect();if(!a)throw new Error("could not get bounding client rect of `target`");const u=a.width,c=a.height,l=function(e,t){const n=t.body||t.getElementsByTagName("body")[0],r=t.documentElement||n.parentNode,o=r.clientTop||n.clientTop||0,i=r.clientLeft||n.clientLeft||0,s=window.pageYOffset||r.scrollTop,a=window.pageXOffset||r.scrollLeft;return{top:e.top+s-o,left:e.left+a-i}}(a,document);if(!l)throw new Error("could not determine page offset of `target`");let f={};switch(e){case"top":f={top:l.top-s,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"bottom":f={top:l.top+c,left:r&&r.left?l.left+r.left:l.left+u/2-i/2};break;case"right":f={top:l.top+c/2-s/2,left:l.left+u};break;case"left":f={top:l.top+c/2-s/2,left:l.left-i};break;case"top left":f={top:l.top-s,left:l.left+u/2-i+15};break;case"top right":f={top:l.top-s,left:l.left+u/2-15};break;case"bottom left":f={top:l.top+c,left:l.left+u/2-i+15};break;case"bottom right":f={top:l.top+c,left:l.left+u/2-15};break;case"left top":f={top:l.top+c/2-s,left:l.left-i};break;case"left bottom":f={top:l.top+c/2,left:l.left-i};break;case"right top":f={top:l.top+c/2-s,left:l.left+u};break;case"right bottom":f={top:l.top+c/2,left:l.left+u};break;default:throw new Error(`invalid position "${e}"`)}return f}function h(e,t){const n=u(),r=t.getBoundingClientRect().width;return e.left=Math.max(0,Math.min(e.left,n.width-r)),e}},88060:function(e,t,n){"use strict";var r=n(99196),o=n(91850),i=n.n(o);t.Z=e=>{let{children:t}=e;const[n,o]=(0,r.useState)(null);return(0,r.useLayoutEffect)((()=>{const e=document.createElement("div");return document.body.appendChild(e),o(e),()=>{document.body.removeChild(e)}}),[]),n?i().createPortal(t,n):null}},97493:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);n(9723);function o(e){let{children:t}=e;return(0,r.createElement)("span",{className:"screen-reader-text"},t)}},6010:function(e,t,n){"use strict";n.d(t,{$:function(){return u}});var r=n(56666),o=n(69307),i=n(72779),s=n.n(i),a=n(99196);n(80418);class u extends a.PureComponent{render(){const e=s()(this.props.baseClassName,this.props.className),t={width:this.props.size,height:this.props.size,fontSize:this.props.size};return(0,o.createElement)("div",{className:e},(0,o.createElement)("div",{className:"spinner__outer",style:t},(0,o.createElement)("div",{className:"spinner__inner"})))}}(0,r.Z)(u,"defaultProps",{size:20,baseClassName:"spinner"})},90544:function(e,t){"use strict";t.Z=e=>{const t=(e=>t=>{if(t in e)return e[t];"undefined"!=typeof window&&console.error(`%cCore Error: %cCould not find config value for key %c${t}%c. Please make sure that if you need it then it has a default value assigned in %cconfig/_shared.json%c.`,"color: red; font-size: 120%","color: black;","color: blue;","color: black;","color: blue;","color: black")})(e);return t.isEnabled=(e=>t=>e.features&&!!e.features[t]||!1)(e),t.enabledFeatures=(e=>()=>e.features?Object.entries(e.features).reduce(((e,t)=>{let[n,r]=t;return r?[...e,n]:e}),[]):[])(e),t.enable=(e=>t=>{e.features&&(e.features[t]=!0)})(e),t.disable=(e=>t=>{e.features&&(e.features[t]=!1)})(e),t}},85694:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var r=n(65736);const __=r.__;function o(e,t,n,o){return[{title:__("Add a new domain","full-site-editing"),description:__("Set up your domain whether it’s registered with WordPress.com or elsewhere."),link:`/domains/add/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Manage my domain settings","full-site-editing"),description:__("Manage all domains linked to your account.","full-site-editing"),link:`/domains/manage/${e}`,synonyms:["domains"],icon:"domains"},{title:__("Change my site address","full-site-editing"),link:`/domains/manage/${e}/edit/${e}`,synonyms:["domains","domain"],icon:"domains"},{title:__("Add a site redirect","full-site-editing"),description:__("Redirect your site to another domain.","full-site-editing"),link:`/domains/add/site-redirect/${e}`,synonyms:["domains","domain","forward"],icon:"domains"},{title:__("Change my password","full-site-editing"),link:"/me/security",synonyms:["update"],icon:"cog"},{title:__("Change my site's theme"),link:`/themes/${e}`,synonyms:["switch","design"],icon:"customize"},{title:__("Customize my site's theme"),link:t.root,synonyms:["color","font","design","css","widgets"],icon:"customize"},{title:__("Change my homepage","full-site-editing"),link:t.homepage,synonyms:["home","homepage"],icon:"customize"},{title:__("Edit my menu","full-site-editing"),link:t.menus,synonyms:["menu"],icon:"customize"},{title:__("Set a site logo","full-site-editing"),link:t.identity,synonyms:["logo","identity"],icon:"customize"},{title:__("Find a plan to suit my site","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Cancel my plan","full-site-editing"),link:"/me/purchases",synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:__("Upgrade my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal"],icon:"plans"},{title:(0,r.sprintf)(__("Cancel %s","full-site-editing"),n),link:"/me/purchases",synonyms:["upgrade","business","professional","personal","google"],icon:"plans"},{title:__("Renew my plan","full-site-editing"),link:`/plans/${e}`,synonyms:["upgrade","business","professional","personal","plan"],icon:"plans"},{title:__("Renew my domain","full-site-editing"),link:`/plans/${e}`,synonyms:["domain","business","professional","personal","plan"],icon:"plans"},{title:__("View my site activity","full-site-editing"),link:`/activity-log/${e}`,icon:"history"},{title:__("View my site's latest stats"),link:`/stats/day/${e}`,synonyms:["analytics"],icon:"stats-alt"},{title:__("Upload an image, video, audio or document","full-site-editing"),link:`/media/${e}`,synonyms:["media","photo"],icon:"image"},{title:__("Import content from another site","full-site-editing"),link:`/settings/import/${e}`,synonyms:["medium","blogger","wix","squarespace"],icon:"cloud-upload"},{title:__("Earn money from my site","full-site-editing"),description:__("By upgrading to the Premium plan, you'll be able to monetize your site through the WordAds program."),link:`/earn/${e}`,synonyms:["monetize","wordads","premium"],icon:"money"},{title:__("Learn how to market my site","full-site-editing"),link:`/marketing/tools/${e}`,synonyms:["marketing","brand","logo","seo","tools","traffic"],icon:"speaker"},{title:__("Manage my site's users"),description:__("Invite new users and edit existing ones.","full-site-editing"),link:`/people/team/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Invite new users to my site","full-site-editing"),link:`/people/new/${e}`,synonyms:["administrator","editor","contributor","viewer","follower"],icon:"user"},{title:__("Change my site's timezone"),link:`/settings/general/${e}#site-settings__blogtimezone`,synonyms:["time","date"],icon:"cog"},{title:__("Launch my site","full-site-editing"),description:__("Switch your site from private to public.","full-site-editing"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["private","public"],icon:"cog"},{title:__("Delete a site or a site's content"),description:__("Remove all posts, pages, and media, or delete a site completely.","full-site-editing"),link:`/settings/general/${e}#site-tools__header`,icon:"cog"},{title:__("Set a site icon","full-site-editing"),link:`/settings/general/${e}`,icon:"cog",synonyms:["logo"]},{title:__("Change my site's footer text"),description:__("You can customize your website by changing the footer credit in customizer."),link:`/settings/general/${e}#site-settings__footer-credit-header`,synonyms:["remove footer","update footer"],icon:"cog"},{title:__("Export my site's content and media library"),description:__("Export posts, pages and more from your site.","full-site-editing"),link:`/settings/export/${e}`,synonyms:["xml","images","migration","import","download"],icon:"cog"},{title:__("Manage sharing and social media connections","full-site-editing"),link:`/sharing/${e}`,synonyms:["facebook","twitter","twitter","tumblr","eventbrite"],icon:"share"},{title:__("Add sharing buttons to my site","full-site-editing"),description:__("Allow readers to easily share your posts with others by adding sharing buttons throughout your site."),link:`/sharing/buttons/${e}`,synonyms:["like","reblog"],icon:"share"},{title:__("Install, manage, and search for site Plugins","full-site-editing"),link:`/plugins/${e}`,synonyms:["upload"],icon:"plugins"},{title:__("Approve or delete comments","full-site-editing"),link:`/comments/all/${e}`,synonyms:["spam","discussion","moderation","moderate"],icon:"chat"},{title:__("Manage how users can comment on my site","full-site-editing"),link:`/settings/discussion/${e}`,synonyms:["discussion","moderation","blocklist"],icon:"cog"},{title:__("Manage post categories","full-site-editing"),link:`/settings/writing/${e}`,synonyms:["post","category"],icon:"cog"},{title:__("Edit my site title, tagline, or logo","full-site-editing"),link:`/settings/general/${e}`,synonyms:["title","logo"],icon:"cog"},{title:__("Set up a podcast","full-site-editing"),link:`/settings/writing/${e}#podcasting-details__link-header`,synonyms:["podcast","radio","audio"],icon:"cog"},{title:__("Change my site's privacy settings"),link:`/settings/general/${e}#site-privacy-settings`,synonyms:["privacy"],icon:"cog"},{title:__("Manage SEO and traffic settings","full-site-editing"),link:`/settings/traffic/${e}`,synonyms:["analytics","related","sitemap"],icon:"cog"},{title:__("Update my profile","full-site-editing"),description:__("Update your name, profile image, and about text.","full-site-editing"),link:"/me",synonyms:["avatar"],icon:"user"},{title:__("Update my username or email address","full-site-editing"),link:"/me/account",synonyms:["user","account"],icon:"cog"},{title:__("Change the dashboard color scheme","full-site-editing"),link:"/me/account#account__color_scheme",synonyms:["theme"],icon:"cog"},{title:__("Switch the interface language","full-site-editing"),description:__("Update the language of the interface you see across WordPress.com as a whole."),link:"/me/account#account__language",synonyms:["dashboard","change","language"],icon:"cog"},{title:__("Close my account permanently","full-site-editing"),description:__("Delete all of your sites, and close your account completely.","full-site-editing"),link:"/me/account/close",synonyms:["delete"],icon:"cog"},{title:__("Change my account privacy settings","full-site-editing"),link:"/me/privacy",synonyms:["security","tracking"],icon:"visible"},{title:__("View my purchase and billing history","full-site-editing"),link:"/me/purchases",synonyms:["purchases","invoices","pending","payment","credit card"],icon:"credit-card"},{title:__("Download the WordPress.com app for my device","full-site-editing"),description:__("Get WordPress apps for all your screens.","full-site-editing"),link:"/me/get-apps",synonyms:["android","iphone","mobile","desktop","phone"],icon:"my-sites"},{title:__("View my drafted posts","full-site-editing"),link:`/posts/drafts/${e}`,synonyms:["posts","draft"],icon:"my-sites"},{title:__("Manage my blog posts","full-site-editing"),link:`/posts/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("New post","full-site-editing"),description:__("Create a new blog post on your site."),link:`/post/${e}`,synonyms:["lists","posts"],icon:"my-sites"},{title:__("View my drafted pages","full-site-editing"),link:`/pages/drafts/${e}`,synonyms:["pages","draft"],icon:"my-sites"},{title:__("Manage my pages","full-site-editing"),link:`/pages/${e}`,synonyms:["lists","pages"],icon:"my-sites"},{title:__("I cannot find my site on Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"speaker"},{title:__("Verify my site with Google","full-site-editing"),link:`/marketing/traffic/${e}`,synonyms:["google","traffic","seo"],icon:"cog"},{title:__("Create a new site","full-site-editing"),link:`${o}?ref=calypso-inline-help`,synonyms:["site"],icon:"cog"},{title:__("View contact form messages","full-site-editing"),link:`https://${e}/wp-admin/edit.php?post_type=feedback&calypsoify=1`,synonyms:["contact","form"],icon:"cog"},{title:__("Portfolio projects (for those who have them active)","full-site-editing"),link:`/types/jetpack-portfolio/${e}`,synonyms:["portfolio"],icon:"cog"}]}},94514:function(e,t,n){"use strict";n.d(t,{Sm:function(){return r},fI:function(){return o},D_:function(){return i},EE:function(){return s},QZ:function(){return a},h_:function(){return u}});const r="tour",o="video",i="contextual_help",s="api_help",a="admin_section",u="sell_intent"},34923:function(e,t,n){"use strict";n.d(t,{r_:function(){return f}});var r=n(47498),o=n(65736),i=n(94514);const __=o.__,s=[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Uploading custom plugins and themes","full-site-editing")},get description(){return __("Learn more about installing a custom theme or plugin using the Business plan.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All About Domains","full-site-editing")},get description(){return __("Set up your domain whether it’s registered with WordPress.com or elsewhere.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/start/")},post_id:81083,get title(){return __("Quick-Start Guide","full-site-editing")},get description(){return __("Use our five-step checklist to get set up and ready to publish, no matter what kind of site you're building.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/privacy-settings/")},post_id:1507,get title(){return __("Privacy Settings","full-site-editing")},get description(){return __("Limit your site’s visibility or make it completely private.","full-site-editing")}}],a=[{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},get title(){return __("All about blog posts","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},get title(){return __("Encourage visitors to subscribe to your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/publicize/")},get title(){return __("Share your content to social media automatically","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},get title(){return __("Encourage visitors to share your content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/seo/")},get title(){return __("Learn about how to get noticed by search engines","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},get title(){return __("Verify your site with Google and other services","full-site-editing")}}],u={stats:[{get link(){return(0,r.aq)("https://wordpress.com/support/stats/")},post_id:4454,get title(){return __("Understanding the Stats Page","full-site-editing")},get description(){return __("Your stats page includes a bunch of nifty graphs, charts, and lists that show you how many visits your site gets, what posts and pages are the most popular ones, and much more. Learn what it all means.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Getting More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:132186,get title(){return __("Increase Your Site Traffic","full-site-editing")},get description(){return __("One of the most frequent questions our community members ask us — and themselves — is how to get more traffic. Here are a few best practices.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed. Learn how.","full-site-editing")}}],sharing:[{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/","full-site-editing")},post_id:130825,get title(){return __("Integrate and Connect to Social Media","full-site-editing")},get description(){return __("Start sharing your site and attract more traffic and visitors to your content! Learn to activate and control the social media and sharing options on your website or blog through these videos.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/sharing/")},post_id:7499,get title(){return __("Sharing Your Content","full-site-editing")},get description(){return __("At the bottom of each post or page, you can include sharing buttons for your readers to make it easier to share your content.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/instagram/")},post_id:77589,get title(){return __("Using Instagram","full-site-editing")},get description(){return __("Instagram is a simple way to capture, customize, and share photos and short videos using your smartphone or other mobile device. Learn how to use it with your website!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/twitter/")},post_id:124,get title(){return __("Using Twitter","full-site-editing")},get description(){return __('Twitter is a service for the exchange of brief messages, commonly called "tweets", between users. Learn how to use it with your website!',"full-site-editing")}}],home:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],me:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-my-profile/")},post_id:19775,get title(){return __("Managing Your Profile","full-site-editing")},get description(){return __("Your profile is the information you’d like to be shown along with your name when you publish content or comment on WordPress.com sites.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/gravatars/")},post_id:1338,get title(){return __("Your Profile Picture","full-site-editing")},get description(){return __("WordPress.com associates an Avatar with your email address. Gravatar powers the user avatars on WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:138080,get title(){return __("Account Closure","full-site-editing")},get description(){return __("Need a fresh start? Learn how to close your account.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},post_id:2116,get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}}],account:[{get link(){return(0,r.aq)("https://wordpress.com/support/change-your-username/")},get title(){return __("Change Your Username","full-site-editing")},get description(){return __("You can change both your WordPress.com account username (the name you use to login) and your display name (the name that is seen on your posts and comments). Learn how!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/manage-your-account/")},post_id:185309,get title(){return __("Manage Your Account","full-site-editing")},get description(){return __("Learn the ins and outs of managing your WordPress.com account and site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-settings/")},post_id:80368,get title(){return __("Edit Your Account Settings","full-site-editing")},get description(){return __("You can review and edit basic account information in Account Settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/close-account/")},post_id:143899,get title(){return __("Close Your Account","full-site-editing")},get description(){return __("Learn how to permanently delete your WordPress.com account, and what it means for your website and data.","full-site-editing")}}],security:[{get link(){return(0,r.aq)("https://wordpress.com/support/security/two-step-authentication/")},post_id:58847,get title(){return __("Two-Step Authentication","full-site-editing")},get description(){return __('Your WordPress.com site is your home on the internet, and you want to keep that home safe. Learn how to add an additional "lock" to your account!',"full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/account-recovery/")},post_id:46365,get title(){return __("Account Recovery","full-site-editing")},get description(){return __("At some point, you may run into a situation in which you’ve lost access to your account. Learn how to get back on track!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/passwords/")},post_id:89,get title(){return __("Passwords And How To Use Them","full-site-editing")},get description(){return __("Passwords are very important to user accounts, and there may come a time when you need to change your password.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/third-party-applications/")},post_id:17288,get title(){return __("Third Party Applications","full-site-editing")},get description(){return __("WordPress.com allows you to connect with third-party applications that extend your WordPress.com site in new and cool ways.","full-site-editing")}}],purchases:[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"site-purchases":[{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}}],"notification-settings":[{get link(){return(0,r.aq)("https://wordpress.com/support/notifications/")},post_id:40992,get title(){return __("Notifications","full-site-editing")},get description(){return __("Notifications help you stay on top of the activity on your site and all the things happening on WordPress.com — learn how to use them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/email-notifications/")},post_id:9443,get title(){return __("Email Notifications","full-site-editing")},get description(){return __("WordPress.com sends email notifications to the email address registered to your account. Learn how to manage them.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following-comments/")},post_id:4576,get title(){return __("Following Comments","full-site-editing")},get description(){return __("When you leave a comment, you can automatically get email notifications for other new comments on the same post or page — you'll never be out of the loop.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Following Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}}],media:[{get link(){return(0,r.aq)("https://wordpress.com/support/media/")},post_id:853,get title(){return __("The Media Library","full-site-editing")},get description(){return __("The Media Library is where you can manage your images, audio, videos, and documents all in one place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/finding-free-images-and-other-media/","full-site-editing")},post_id:78425,get title(){return __("Finding Free Images and other Media","full-site-editing")},get description(){return __("Use free images (and other media) to make your pages and posts more interesting and engaging when on a budget!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/blocks/image-block/")},post_id:38830,get title(){return __("Add Media","full-site-editing")},get description(){return __("Dress up your text-based posts and pages with individual images, image galleries, slideshows, videos, and audio.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/videos/")},post_id:4744,get title(){return __("Including Videos","full-site-editing")},get description(){return __("Videos are a great way to enhance your site pages and blog posts. Learn how to include them.","full-site-editing")}}],people:[{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("User Roles","full-site-editing")},get description(){return __("User roles determine the access level or permissions of a person authorized to use a WordPress.com site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-mentions/")},post_id:91788,get title(){return __("User Mentions","full-site-editing")},get description(){return __("User mentions are a great way to include other WordPress.com users within your posts and comments.","full-site-editing")}},{get link(){return(0,r.aq)("https://en.support.wordpress.com/user-roles/")},post_id:2160,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/followers/")},post_id:5444,get title(){return __("Your Followers","full-site-editing")},get description(){return __("When someone follows your site, each time you publish new content on your blog they receive an update in their Reader, via email, or both depending on their settings.","full-site-editing")}}],plugins:[{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/")},post_id:2108,get title(){return __("Using Plugins","full-site-editing")},get description(){return __("On WordPress.com, we include the most popular plugin functionality within our sites automatically. Additionally, the Business plan allows you to choose from many thousands of plugins, and install them on your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/#managing-plugins")},post_id:134818,get title(){return __("Managing plugins","full-site-editing")},get description(){return __("After you install a plugin, it will appear in a list at My Sites → Plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plugins/#installing-plugins")},post_id:134719,get title(){return __("Adding Plugins","full-site-editing")},get description(){return __("Along with all the tools and features built right into WordPress.com, the Business plan allows you to install other plugins.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/business-plan/")},post_id:134940,get title(){return __("Business Plan","full-site-editing")},get description(){return __("When you want to build a one-of-a-kind website, it's time for WordPress.com Business: upload plugins and themes to create a truly tailored experience for your visitors.","full-site-editing")}}],"posts-pages":[{get link(){return(0,r.aq)("https://wordpress.com/support/do-i-need-a-website-a-blog-or-a-website-with-a-blog/","full-site-editing")},post_id:143180,get title(){return __("Do I Need a Website, a Blog, or a Website with a Blog?","full-site-editing")},get description(){return __("If you’re building a brand new site, you might be wondering if you need a website, a blog, or a website with a blog. At WordPress.com, you can create all of these options easily, right in your dashboard.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-website-setup/")},post_id:100856,get title(){return __("Build Your Website in Five Steps","full-site-editing")},get description(){return __("You’ve registered a website on WordPress.com. But now what? Learn five steps that will get the framework of your new website all set up, leaving it ready and waiting for your great content","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/pages/landing-pages/")},post_id:124077,get title(){return __("Landing Pages","full-site-editing")},get description(){return __("Landing pages are pages with a single purpose: encouraging your visitors to, for example, sign up for a service, buy a product, or join a mailing list.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/")},post_id:84,get title(){return __("About Blog Posts","full-site-editing")},get description(){return __("Posts are what make your blog a blog — they’re servings of content that are listed in reverse chronological order.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/post-formats/")},post_id:10382,get title(){return __("Post Formats","full-site-editing")},get description(){return __("Learn how to make gallery, video, audio, and other post types pop with post formats. ","full-site-editing")}}],"settings-writing":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/writing-settings/")},post_id:1502,get title(){return __("Writing Settings","full-site-editing")},get description(){return __("Learn how to manage categories, date format, content types, and more.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/posts/categories-vs-tags/")},post_id:2135,get title(){return __("Categories vs. Tags","full-site-editing")},get description(){return __("Learn the differences between categories and tags.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/feeds/")},post_id:3589,get title(){return __("Feeds","full-site-editing")},get description(){return __("A feed (often called RSS) is a stream of posts or comments that is updated when new content is published.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/portfolios/")},post_id:84808,get title(){return __("Portfolios","full-site-editing")},get description(){return __("To show off your portfolio separate from your blog posts and pages, the Portfolio content type will let you manage all your portfolio projects in one place.","full-site-editing")}}],"settings-discussion":[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:1504,get title(){return __("Discussion Settings","full-site-editing")},get description(){return __("The Discussion Settings are used to control how visitors and other blogs interact with your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/","full-site-editing")},post_id:5997,get title(){return __("Enable and Disable Comments for Future Posts","full-site-editing")},get description(){return __("You can enable/disable comments on future posts by going into your Discussion settings. ","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/subscriptions-and-newsletters/")},post_id:67810,get title(){return __("Subscriptions and Newsletters","full-site-editing")},get description(){return __("Learn how readers can subscribe to your blog to receive email notifications of all of your posts.","full-site-editing")}}],"settings-traffic":[{get link(){return(0,r.aq)("https://wordpress.com/support/getting-more-views-and-traffic/")},post_id:3307,get title(){return __("Get More Views and Traffic","full-site-editing")},get description(){return __("Want more traffic? Here are some tips for attracting more visitors to your site!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/related-posts/")},post_id:1545,get title(){return __("Related Posts","full-site-editing")},get description(){return __("The Related Posts feature pulls relevant content from your blog to display at the bottom of your posts.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-verification-services/")},post_id:5022,get title(){return __("Site Verification Services","full-site-editing")},get description(){return __("Learn how to verify your WordPress.com site for the webmaster tools that many search engines provide.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/amp-accelerated-mobile-pages/")},post_id:122516,get title(){return __("Accelerated Mobile Pages (AMP)","full-site-editing")},get description(){return __("Accelerated Mobile Pages (AMP) allows browsers and apps to load your site more quickly on mobile devices. By default, it is enabled for every WordPress.com site.","full-site-editing")}}],"settings-security":[{get link(){return(0,r.aq)("https://wordpress.com/support/security/")},post_id:10977,get title(){return __("Security","full-site-editing")},get description(){return __("Learn what we do to help protect your site and your personal data, along with added steps we recommend you take to do the same.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/security/#strong-password")},post_id:35364,get title(){return __("Selecting A Strong Password","full-site-editing")},get description(){return __("The weakest point in any security for your online accounts is usually your password. Learn how to select a strong one.","full-site-editing")}}],settings:[{get link(){return(0,r.aq)("https://wordpress.com/support/settings/")},post_id:497,get title(){return __("Settings","full-site-editing")},get description(){return __("The Settings menu of your site is where you will configure everything about how the blog works and functions.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/general-settings/")},post_id:1501,get title(){return __("General Settings","full-site-editing")},get description(){return __("The General Settings let you control how your site is displayed, such as the title, tagline, language, and visibility.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/site-icons/")},post_id:1327,get title(){return __("Site Icons","full-site-editing")},get description(){return __("A Site Icon is a unique icon for your site that is shown in your visitor’s browser tab and other places around WordPress.com.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/five-step-blog-setup/")},post_id:100846,get title(){return __("Five Steps to Your Great New Blog","full-site-editing")},get description(){return __("Get ready to publish! Our five-step checklist walks you through all the fundamentals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],themes:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:2278,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes","full-site-editing")},post_id:134704,get title(){return __("Child Themes","full-site-editing")},get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],theme:[{get link(){return(0,r.aq)("https://wordpress.com/support/themes/")},post_id:134704,get title(){return __("Themes: An Overview","full-site-editing")},get description(){return __("A theme controls the general look and feel of your site including things like page layout, widget locations, and default font.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/themes/child-themes","full-site-editing")},get title(){return __("Child Themes","full-site-editing")},post_id:134704,get description(){return __("The only limit on your site is your vision — if the themes you see don't match that, it's time to go beyond them. Learn to use child themes to customize and extend your website.","full-site-editing")}}],plans:[{get link(){return(0,r.aq)("https://en.support.wordpress.com/plan-features/")},post_id:140323,get title(){return __("Explore the WordPress.com Plans","full-site-editing")},get description(){return __("Upgrading your plan unlocks a ton of features! We'll help you pick the best fit for your needs and goals.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],"gutenberg-editor":[{get link(){return(0,r.aq)("https://wordpress.com/support/wordpress-editor/")},post_id:147594,get title(){return __('What are "Blocks"?',"full-site-editing")},get description(){return __("The WordPress Editor uses blocks to transform the way you create content: it turns a single document into a collection of discrete elements with explicit, easy-to-tweak structure.","full-site-editing")}},{intent:i.h_,get link(){return(0,r.aq)("https://wordpress.com/support/video-tutorials/video-tutorials-add-payments-features-to-your-site-with-our-guides/","full-site-editing")},post_id:175999,get title(){return __("The Payments Block","full-site-editing")},get description(){return __("The Payments block is one of WordPress.com's payment blocks that allows you to accept payments for one-time, monthly recurring, or annual payments on your website.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/offline-editing/")},post_id:3595,get title(){return __("Offline Editing","full-site-editing")},get description(){return __("Learn how to create and edit content for your WordPress.com site even without being connected to the internet!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/user-roles/")},post_id:1221,get title(){return __("Inviting Contributors, Followers, and Viewers","full-site-editing")},get description(){return __("Invite contributors, followers, and viewers to collaborate with others and grow your audience!","full-site-editing")}}],reader:[{get link(){return(0,r.aq)("https://wordpress.com/support/reader/")},post_id:32011,get title(){return __("The Reader: An Overview","full-site-editing")},get description(){return __("Read posts from all the sites you follow — even ones that aren’t on WordPress.com! Discover great new reads and keep track of your comments and replies in one convenient place.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/following/")},post_id:4899,get title(){return __("Follow Blogs","full-site-editing")},get description(){return __("When you follow a blog on WordPress.com, new posts from that site will automatically appear in your Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/topics/")},post_id:2166,get title(){return __("Following Specific Topics in the Reader","full-site-editing")},get description(){return __("Looking for posts on a specific topic? Besides following entire blogs, you can also follow posts on a specific subject from across WordPress.com. You do this by adding the topic you’re interested in under the Tags heading in the Reader.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/grow-your-community/")},post_id:132190,get title(){return __("Grow Your Community","full-site-editing")},get description(){return __("You’ve worked hard on building your site, now it’s time to explore the community and get noticed.","full-site-editing")}}],help:[{get link(){return(0,r.aq)("https://wpcourses.com/")},post_id:117437,get title(){return __("Blogging U.","full-site-editing")},get description(){return __("Blogging U. courses deliver free expert advice, pro tips, and inspiration right to your email inbox. Sign up now!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/help-support-options/")},post_id:149,get title(){return __("Help! Getting WordPress.com Support","full-site-editing")},get description(){return __("WordPress.com offers a number of avenues for reaching helpful, individualized support.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/")},get title(){return __("All Support Articles","full-site-editing")},get description(){return __("Looking to learn more about a feature? Our docs have all the details.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/learn/")},get title(){return __("Self-guided Online Tutorial","full-site-editing")},get description(){return __("A step-by-step guide to getting familiar with the platform.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}],comments:[{get link(){return(0,r.aq)("https://wordpress.com/support/comments/")},post_id:113,get title(){return __("Comments","full-site-editing")},get description(){return __("Comments are a way for visitors to add feedback to your posts and pages.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/settings/discussion-settings/")},post_id:5840,get title(){return __("Comment Display Options","full-site-editing")},get description(){return __("You can control comment threading, paging, and comment order settings from the Discussion Settings page in your site’s settings.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comments/#unwanted-comments-and-comment-spam")},post_id:5882,get title(){return __("Unwanted Comments and Comment Spam","full-site-editing")},get description(){return __("There are many ways to protect your WordPress.com blogs from unwanted comments. Learn all about them!","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/comment-likes/")},post_id:88757,get title(){return __("Comment Likes","full-site-editing")},get description(){return __("Comment Likes: how to like others’ comments and control how Comment Likes appear on your site.","full-site-editing")}}],hosting:[{get link(){return(0,r.aq)("https://wordpress.com/support/sftp/")},post_id:159771,get title(){return __("SFTP on WordPress.com","full-site-editing")},get description(){return __("Access and edit your website's files directly by using an SFTP client.")}},{get link(){return(0,r.aq)("https://wordpress.com/support/phpmyadmin-and-mysql/")},post_id:159822,get title(){return __("phpMyAdmin and MySQL","full-site-editing")},get description(){return __("For the tech-savvy, manage your database with phpMyAdmin and run a wide range of operations with MySQL.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/php-version-switching/")},post_id:160597,get title(){return __("PHP Version Switching","full-site-editing")},get description(){return __("Sites on the Business Plan using custom plugins and/or custom themes and any site on the eCommerce Plan, now have the option to switch PHP versions.","full-site-editing")}}],checkout:[{get link(){return(0,r.aq)("https://wordpress.com/support/plan-features/")},post_id:134698,get title(){return __("WordPress.com Plans","full-site-editing")},get description(){return __("Learn about the capabilities and features that the different plans unlock for your site.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/jetpack/")},post_id:115025,get title(){return __("Jetpack Plans","full-site-editing")},get description(){return __("Learn about the free Jetpack plugin, its benefits, and the useful capabilities and features that a Jetpack plan unlocks.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Manage Purchases and Refund Policy","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/#automatic-renewal")},post_id:110924,get title(){return __("Subscriptions for Plans and Domains","full-site-editing")},get description(){return __("Your WordPress.com plans and any domains you add to your sites are based on a yearly subscription that renews automatically.","full-site-editing")}}],domains:[{get link(){return(0,r.aq)("https://wordpress.com/support/add-email/")},post_id:34087,get title(){return __("Add Email to your Domain","full-site-editing")},get description(){return __("Want to use a custom email with your domain, such as info@yourgroovydomain.com? There are multiple ways to add email to your custom domain.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/custom-dns/")},post_id:6595,get title(){return __("Manage Custom DNS","full-site-editing")},get description(){return __("Custom DNS records are special settings that change how your domain works. They allow you to connect your domain to third-party services that are not hosted on WordPress.com, such as an email provider.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/transfer-domain-registration/","full-site-editing")},post_id:41298,get title(){return __("Transfer a Domain to Another Registrar","full-site-editing")},get description(){return __("This article walks you through transferring your domain registration to another registrar. Your domain will need to be unlocked and privacy removed (if applicable) for the transfer.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domain-connection-vs-domain-transfer/")},post_id:157655,get title(){return __("Connect an Existing Domain","full-site-editing")},get description(){return __("You can connect an existing domain you own that’s registered elsewhere by either mapping or transferring. Domain mapping lets you connect a domain while keeping it registered at the current registrar (where you purchased the domain from). Domain transferring moves the domain to WordPress.com so we become the new registrar.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/domains/")},post_id:1988,get title(){return __("All about domains","full-site-editing")},get description(){return __("A domain name is an address people use to visit your site. It tells the web browser where to look for your site. Just like a street address, a domain is how people visit your website online. And, like having a sign in front of your store, a custom domain name helps give your site a professional look.","full-site-editing")}},{get link(){return(0,r.aq)("https://wordpress.com/support/manage-purchases/")},post_id:111349,get title(){return __("Managing Purchases, Renewals, and Cancellations","full-site-editing")},get description(){return __("Have a question or need to change something about a purchase you have made? Learn how.","full-site-editing")}}]},c={sharing:[{type:i.fI,link:"https://www.youtube.com/watch?v=YVelWG3hf3o",get title(){return __("Add Social Sharing Buttons to Your Website","full-site-editing")},get description(){return __("Find out how to add social sharing buttons to your WordPress.com site, which you can also do with a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=NcCe0ozmqFM",get title(){return __("Connect Your Blog to Facebook Using Publicize","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Facebook from your WordPress.com site, which you can also do on a Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=f44-4TgnWTs",get title(){return __("Display Your Instagram Feed on Your Website","full-site-editing")},get description(){return __("Find out how to display your latest Instagram photos right on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3rTooGV_mlg",get title(){return __("Set Up the Social Links Menu","full-site-editing")},get description(){return __("Find out how to set up a social links menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=gmrOkkqMNlc",get title(){return __("Embed a Twitter Timeline in your Sidebar","full-site-editing")},get description(){return __("Find out how to display your Twitter timeline on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vy-U5saqG9A",get title(){return __("Set Up a Social Media Icons Widget","full-site-editing")},get description(){return __("Find out how to set up the social media icons widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=N0GRBFRkzzs",get title(){return __("Embed a Tweet from Twitter in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Tweet in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=uVRji6bKJUE",get title(){return __("Embed an Instagram Photo in Your Website","full-site-editing")},get description(){return __("Find out how to embed an Instagram photo in your content (including posts and pages) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=sKm3Q83JxM0",get title(){return __("Embed a Facebook Update in Your Website","full-site-editing")},get description(){return __("Find out how to embed a Facebook update in your content (including posts, pages, and even comments) on your WordPress.com or Jetpack-enabled WordPress website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=SBgNkre_b14",get title(){return __("Share Blog Posts Directly on Twitter","full-site-editing")},get description(){return __("Find out how to share blog posts directly on Twitter from your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}}],settings:[{type:i.fI,link:"https://www.youtube.com/watch?v=0YCZ22k4SfQ",get title(){return __("Add a Site Logo","full-site-editing")},get description(){return __("Find out how to add a custom logo to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=vucZ1uZ2NPo",get title(){return __("Update Your Website Title and Tagline","full-site-editing")},get description(){return __("Find out how to update the Title and Tagline of your WordPress.com site, which you can also do on your Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Y6iPsPwYD7g",get title(){return __("Change Your Privacy Settings","full-site-editing")},get description(){return __("Find out how to change your website privacy settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bjxKGxW0MRA",get title(){return __("Add a Site Icon","full-site-editing")},get description(){return __("Find out how to add a site icon on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=z6fCtvLB0wM",get title(){return __("Create a Multilingual Site","full-site-editing")},get description(){return __("Find out how to create a multilingual site on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=D142Edhcpaw",get title(){return __("Customize Your Content Options","full-site-editing")},get description(){return __("Find out how to customize your content options on select WordPress.com themes.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Vyr-g5SEuIA",get title(){return __("Change Your Language Settings","full-site-editing")},get description(){return __("Find out how to change your blog or website language and your interface language settings on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=EUuEuW_LCrc",get title(){return __("Activate Free Email Forwarding","full-site-editing")},get description(){return __("Find out how to activate free email forwarding from an address using a custom domain registered through WordPress.com.","full-site-editing")}}],account:[{type:i.fI,link:"https://www.youtube.com/watch?v=aO-6yu3_xWQ",get title(){return __("Change Your Password","full-site-editing")},get description(){return __("Find out how to change your account password on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=qhsjkqFdDZo",get title(){return __("Change Your WordPress.com Username","full-site-editing")},get description(){return __("Find out how to change your username on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Tyxu_xT6q1k",get title(){return __("Change Your WordPress.com Display Name","full-site-editing")},get description(){return __("Find out how to change your display name on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=07Nf8FkjO4o",get title(){return __("Change Your Account Email Address","full-site-editing")},get description(){return __("Find out how to change your account email address on WordPress.com.","full-site-editing")}}],customizer:[{type:i.fI,link:"https://www.youtube.com/watch?v=pf_ST7gvY8c",get title(){return __("Add a Custom Header Image","full-site-editing")},get description(){return __("Find out how to add a custom header image to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=CY20IAtl2Ac",get title(){return __("Create a Custom Website Menu","full-site-editing")},get description(){return __("Find out how to create a custom menu on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=2H_Jsgh2Z3Y",get title(){return __("Add a Widget","full-site-editing")},get description(){return __("Find out how to add a widget to your WordPress.com website.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=ypFF4ONBfSQ",get title(){return __("Add a Custom Background","full-site-editing")},get description(){return __("Find out how to add a custom background to your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=b8EuJDrNeOA",get title(){return __("Change Your Site Fonts","full-site-editing")},get description(){return __("Find out how to change the fonts on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=7VPgvxV78Kc",get title(){return __("Add a Gallery Widget","full-site-editing")},get description(){return __("Find out how to add an image gallery widget to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=oDBuaBLrwF8",get title(){return __("Use Featured Content","full-site-editing")},get description(){return __("Find out how to use the Featured Content option on your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=3TqRr21zyiA",get title(){return __("Add an Image Widget","full-site-editing")},get description(){return __("Find out how to add an image widget to your WordPress.com website or blog.","full-site-editing")}}],"posts-pages":[{type:i.fI,link:"https://www.youtube.com/watch?v=3RPidSCQ0LI",get title(){return __("Create a Landing Page","full-site-editing")},get description(){return __("Find out how to create a one-page website or landing page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=4IkFQzl5nXc",get title(){return __("Set Up a Website in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a website on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mta6Y0o7yJk",get title(){return __("Set Up a Blog in 5 Steps","full-site-editing")},get description(){return __("Find out how to create a blog on WordPress.com in five steps.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=Gx7YNX1Wk5U",get title(){return __("Create a Page","full-site-editing")},get description(){return __("Find out how to create a page on your WordPress.com site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=mCfuh5bCOwM",get title(){return __("Create a Post","full-site-editing")},get description(){return __("Find out how to create a post on WordPress.com.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=bEVHg6nopcs",get title(){return __("Use a Custom Menu in a Widget","full-site-editing")},get description(){return __("Find out how to use a custom menu in a widget on your WordPress.com or Jetpack-enabled WordPress site.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=nAzdUOlFoBI",get title(){return __("Configure a Static Homepage","full-site-editing")},get description(){return __("By default, your new WordPress.com website displays your latest posts. Find out how to create a static homepage instead.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=MPpVeMmDOhk",get title(){return __("Show Related Posts on Your WordPress Blog","full-site-editing")},get description(){return __("Find out how to show related posts on your WordPress.com site, which you can also do on a Jetpack-enabled WordPress blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=JVnltCZUKC4",get title(){return __("Add Testimonials","full-site-editing")},get description(){return __("Find out how to add testimonials to your WordPress.com website or blog.","full-site-editing")}},{type:i.fI,link:"https://www.youtube.com/watch?v=yH_gapAUGAA",get title(){return __("Change Your Post or Page Visibility Settings","full-site-editing")},get description(){return __("Find out how to change your page or post visibility settings WordPress.com.","full-site-editing")}}],media:[{type:i.fI,link:"https://www.youtube.com/watch?v=VjGnEHyqVqQ",get title(){return __("Add a Photo Gallery","full-site-editing")},get description(){return __("Find out how to add a photo gallery on your WordPress.com and Jetpack-enabled website.","full-site-editing")}}],themes:[{type:i.fI,link:"https://www.youtube.com/watch?v=yOfAuOb68Hc",get title(){return __("Change Your Website Theme on WordPress.com","full-site-editing")},get description(){return __("Find out how to change your WordPress.com theme.","full-site-editing")}}]},l={media:[{type:i.Sm,tour:"mediaBasicsTour",key:"tour:mediaBasicsTour",get title(){return __("Learn Media Library Basics","full-site-editing")},get description(){return __("The Media Library is a useful tool to help you manage, search, and edit your photos, videos, documents, and other media.","full-site-editing")}}]};function f(e,t){var n,r;"posts"!==e&&"pages"!==e||(e="posts-pages");const o="write"===t?a:s,f=null===(n=c[e])||void 0===n?void 0:n[0],p=null===(r=l[e])||void 0===r?void 0:r[0];let d=u[e]??o;return"home"===e&&Array.isArray(d)?[p,f,...o,...d].filter(Boolean):("gutenberg-editor"===e&&"sell"!==t&&Array.isArray(d)&&(d=d.filter((e=>e.intent!==i.h_))),[p,f,...d].filter(Boolean))}},52865:function(e,t,n){"use strict";n.r(t),n.d(t,{setShowHelpCenter:function(){return r},setDirectlyData:function(){return o},setSite:function(){return i},setSubject:function(){return s},setMessage:function(){return a},setPopup:function(){return u},resetPopup:function(){return c},setUserDeclaredSiteUrl:function(){return l},setUserDeclaredSite:function(){return f},resetStore:function(){return p}});const r=e=>({type:"HELP_CENTER_SET_SHOW",show:e}),o=e=>({type:"HELP_CENTER_SET_DIRECTLY_DATA",data:e}),i=e=>({type:"HELP_CENTER_SET_SITE",site:e}),s=e=>({type:"HELP_CENTER_SET_SUBJECT",subject:e}),a=e=>({type:"HELP_CENTER_SET_MESSAGE",message:e}),u=e=>({type:"HELP_CENTER_SET_POPUP",popup:e}),c=()=>({type:"HELP_CENTER_RESET_POPUP"}),l=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE_URL",url:e}),f=e=>({type:"HELP_CENTER_SET_USER_DECLARED_SITE",site:e}),p=()=>({type:"HELP_CENTER_RESET_STORE"})},2193:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r="automattic/help-center"},17624:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(9818),o=n(23418),i=n(52865),s=n(2193),a=n(61654),u=n(55601);let c=!1;function l(){return c||((0,r.registerStore)(s.L,{actions:i,reducer:a.Z,controls:o.controls,selectors:u,persist:["site"]}),c=!0),s.L}},61654:function(e,t,n){"use strict";var r=n(9818);const o=(0,r.combineReducers)({directlyData:(e,t)=>"HELP_CENTER_SET_DIRECTLY_DATA"===t.type?t.data:e,showHelpCenter:(e,t)=>"HELP_CENTER_SET_SHOW"===t.type?t.show:e,site:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SITE"===t.type?t.site:e},subject:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_SUBJECT"===t.type?t.subject:e},message:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_MESSAGE"===t.type?t.message:e},userDeclaredSite:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE"===t.type?t.site:e},userDeclaredSiteUrl:(e,t)=>{if("HELP_CENTER_RESET_STORE"!==t.type)return"HELP_CENTER_SET_USER_DECLARED_SITE_URL"===t.type?t.url:e},popup:(e,t)=>"HELP_CENTER_SET_POPUP"===t.type?t.popup:"HELP_CENTER_RESET_POPUP"!==t.type&&"HELP_CENTER_RESET_STORE"!==t.type?e:void 0});t.Z=o},55601:function(e,t,n){"use strict";n.r(t),n.d(t,{isHelpCenterShown:function(){return r},getSite:function(){return o},getSubject:function(){return i},getMessage:function(){return s},getUserDeclaredSiteUrl:function(){return a},getPopup:function(){return u},getDirectly:function(){return c},getUserDeclaredSite:function(){return l}});const r=e=>e.showHelpCenter,o=e=>e.site,i=e=>e.subject,s=e=>e.message,a=e=>e.userDeclaredSiteUrl,u=e=>e.popup,c=e=>e.directlyData,l=e=>e.userDeclaredSite},63830:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(99196);let o;function i(){const[e,t]=(0,r.useState)(Boolean(o));return(0,r.useEffect)((()=>{const e=document.createElement("iframe");function n(r){const{data:i}=r;"widgets.wp.com-cookie-check"===i.type&&(o=i.result,t(i.result),window.removeEventListener("message",n),e.remove())}if(void 0===o)return e.src="https://widgets.wp.com/calypso-happychat/check-cookies.html",e.style.display="none",window.addEventListener("message",n),document.body.appendChild(e),()=>window.removeEventListener("message",n)}),[]),{hasCookies:e,isLoading:void 0===o}}},53762:function(e,t,n){"use strict";n.d(t,{R:function(){return s}});var r=n(99196),o=n(82066),i=n(18552);const s=(e,t)=>{const n="has-seen-whats-new-modal",{data:s,isLoading:a}=(0,o.useQuery)(n,(()=>(0,i.ZP)({path:`/sites/${e}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2"})),{enabled:!!e&&t,refetchOnWindowFocus:!1}),u=(0,o.useQueryClient)(),c=(0,o.useMutation)((t=>{let{hasSeenWhatsNewModal:n}=t;return(0,i.ZP)({path:`/sites/${e}/block-editor/has-seen-whats-new-modal`,apiNamespace:"wpcom/v2",method:"post",body:{has_seen_whats_new_modal:n}})}),{onSuccess(e){u.setQueryData(n,{...e})}}),{mutateAsync:l}=c;return{data:s,isLoading:a,setHasSeenWhatsNewModal:(0,r.useCallback)((e=>l({hasSeenWhatsNewModal:e})),[l])}}},34381:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var r=n(99196),o=n(17127),i=n(18552);function s(e){const[t,n]=(0,r.useState)(),[s]=(0,o.Z)(e,500);return(0,r.useEffect)((()=>{var e;(n(void 0),(e=s)&&e.length>4&&Boolean(null==e?void 0:e.match(/\w{2,}\.\w{2,16}/)))&&(s&&(async()=>{try{var e;const r=await(0,i.ZP)({path:`/imports/analyze-url?site_url=${encodeURIComponent(s)}`,apiNamespace:"wpcom/v2"});if(null!==(e=r.platform_data)&&void 0!==e&&e.is_wpcom)try{const e=await(0,i.ZP)({path:"/sites/"+encodeURIComponent(s),apiVersion:"1.1"});n({site:e,result:"WPCOM"})}catch(t){n({result:"NOT_OWNED_BY_USER"})}else"wordpress"===r.platform?n({result:"WPORG"}):n({result:"UNKNOWN"})}catch(t){n({result:"UNKNOWN"})}})())}),[s]),{...t,isLoading:!t}}},45655:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});var r=n(82066),o=n(18552);function i(e){return(0,r.useQuery)("site-intent-"+e,(async()=>await(0,o.ZP)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2"})),{refetchOnWindowFocus:!1,staleTime:1/0,enabled:!!e})}},28459:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(93661),o=n(52699);function i(e){const t=()=>({type:"FETCH_NEW_SITE"}),n=e=>({type:"RECEIVE_NEW_SITE",response:e}),i=e=>({type:"RECEIVE_NEW_SITE_FAILED",error:e});const s=(e,t)=>({type:"RECEIVE_SITE_TITLE",siteId:e,name:t}),a=(e,t)=>({type:"RECEIVE_SITE_TAGLINE",siteId:e,tagline:t}),u=(e,t)=>({type:"RECEIVE_SITE_VERTICAL_ID",siteId:e,verticalId:t}),c=e=>({type:"LAUNCH_SITE_START",siteId:e}),l=e=>({type:"LAUNCH_SITE_SUCCESS",siteId:e}),f=(e,t)=>({type:"LAUNCH_SITE_FAILURE",siteId:e,error:t});const p=(e,t)=>({type:"UPDATE_SITE_SETTINGS",siteId:e,settings:t});const d=(e,t)=>({type:"RECEIVE_SITE_GLOBAL_STYLES",siteId:e,globalStyles:t});function*h(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/settings`,apiVersion:"1.4",body:t,method:"POST"}),"blogname"in t&&(yield s(e,t.blogname)),"blogdescription"in t&&(yield a(e,t.blogdescription)),"site_vertical_id"in t&&(yield u(e,t.site_vertical_id)),yield p(e,t)}catch(n){}}const g=(e,t)=>({type:"ATOMIC_TRANSFER_START",siteId:e,softwareSet:t}),m=(e,t)=>({type:"ATOMIC_TRANSFER_SUCCESS",siteId:e,softwareSet:t}),y=(e,t,n)=>({type:"ATOMIC_TRANSFER_FAILURE",siteId:e,softwareSet:t,error:n});const v=e=>({type:"LATEST_ATOMIC_TRANSFER_START",siteId:e}),b=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_SUCCESS",siteId:e,transfer:t}),w=(e,t)=>({type:"LATEST_ATOMIC_TRANSFER_FAILURE",siteId:e,error:t});const _=(e,t)=>({type:"ATOMIC_SOFTWARE_STATUS_START",siteId:e,softwareSet:t}),E=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_SUCCESS",siteId:e,softwareSet:t,status:n}),S=(e,t,n)=>({type:"ATOMIC_SOFTWARE_STATUS_FAILURE",siteId:e,softwareSet:t,error:n});const C=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_START",siteId:e,softwareSet:t}),P=(e,t)=>({type:"ATOMIC_SOFTWARE_INSTALL_SUCCESS",siteId:e,softwareSet:t}),k=(e,t,n)=>({type:"ATOMIC_SOFTWARE_INSTALL_FAILURE",siteId:e,softwareSet:t,error:n});return{receiveSiteDomains:(e,t)=>({type:"RECEIVE_SITE_DOMAINS",siteId:e,domains:t}),receiveSiteSettings:(e,t)=>({type:"RECEIVE_SITE_SETTINGS",siteId:e,settings:t}),saveSiteTitle:function*(e,t){yield h(e,{blogname:t})},saveSiteSettings:h,setIntentOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-intent`,apiNamespace:"wpcom/v2",body:{site_intent:t},method:"POST"})}catch(n){}},setGoalsOnSite:function*(e,t){try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/site-goals`,apiNamespace:"wpcom/v2",body:{site_goals:t},method:"POST"})}catch(n){}},receiveSiteTitle:s,fetchNewSite:t,fetchSite:()=>({type:"FETCH_SITE"}),receiveNewSite:n,receiveNewSiteFailed:i,resetNewSiteFailed:()=>({type:"RESET_RECEIVE_NEW_SITE_FAILED"}),setThemeOnSite:function*(e,t){yield(0,r._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:t,dont_change_homepage:!0},method:"POST"})},setDesignOnSite:function*(e,t,n){var o;const{theme:i,recipe:s}=t;if(yield(0,r._9)({path:`/sites/${e}/themes/mine`,apiVersion:"1.1",body:{theme:(null==s||null===(o=s.stylesheet)||void 0===o?void 0:o.split("/")[1])||i,dont_change_homepage:!0},method:"POST"}),["hannah","gilbert","riley"].indexOf(t.template)<0){return yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/theme-setup`,apiNamespace:"wpcom/v2",body:{trim_content:!0,vertical_id:n||void 0,pattern_ids:null==s?void 0:s.pattern_ids,header_pattern_ids:(null==s?void 0:s.header_pattern_ids)||[],footer_pattern_ids:(null==s?void 0:s.footer_pattern_ids)||[]},method:"POST"})}},createSite:function*(t){yield{type:"FETCH_NEW_SITE"};try{const{authToken:o,...i}=t,s={...{client_id:e.client_id,client_secret:e.client_secret,find_available_url:!0,public:-1},...i,validate:!1},a=yield(0,r._9)({path:"/sites/new",apiVersion:"1.1",method:"post",body:s,token:o});return yield n(a),!0}catch(o){return yield i(o),!1}},receiveSite:(e,t)=>({type:"RECEIVE_SITE",siteId:e,response:t}),receiveSiteFailed:(e,t)=>({type:"RECEIVE_SITE_FAILED",siteId:e,response:t}),receiveSiteTagline:a,receiveSiteVerticalId:u,updateSiteSettings:p,saveSiteTagline:function*(e,t){yield h(e,{blogdescription:t})},reset:()=>({type:"RESET_SITE_STORE"}),launchSite:function*(e){yield c(e);try{yield(0,r._9)({path:`/sites/${e}/launch`,apiVersion:"1.1",method:"post"}),yield l(e)}catch(t){yield f(e,o.Hc.INTERNAL)}},launchSiteStart:c,launchSiteSuccess:l,launchSiteFailure:f,getCart:function*(e){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"GET"})},setCart:function*(e,t){return yield(0,r._9)({path:"/me/shopping-cart/"+e,apiVersion:"1.1",method:"POST",body:t})},getGlobalStyles:function*(e,t){const n=yield(0,r._9)({path:`/sites/${e}/global-styles/themes/${t}`,apiNamespace:"wp/v2"});return yield d(e,n),n},receiveSiteGlobalStyles:d,setSiteSetupError:(e,t)=>({type:"SET_SITE_SETUP_ERROR",error:e,message:t}),clearSiteSetupError:e=>({type:"CLEAR_SITE_SETUP_ERROR",siteId:e}),initiateAtomicTransfer:function*(e,t){yield g(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers`,apiNamespace:"wpcom/v2",method:"POST",...t?{body:{software_set:encodeURIComponent(t)}}:{}}),yield m(e,t)}catch(n){yield y(e,t,o.Hf.INTERNAL)}},atomicTransferStart:g,atomicTransferSuccess:m,atomicTransferFailure:y,latestAtomicTransferStart:v,latestAtomicTransferSuccess:b,latestAtomicTransferFailure:w,requestLatestAtomicTransfer:function*(e){yield v(e);try{const t=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/transfers/latest`,apiNamespace:"wpcom/v2",method:"GET"});yield b(e,t)}catch(t){yield w(e,t)}},atomicSoftwareStatusStart:_,atomicSoftwareStatusSuccess:E,atomicSoftwareStatusFailure:S,requestAtomicSoftwareStatus:function*(e,t){yield _(e,t);try{const n=yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"GET"});yield E(e,t,n)}catch(n){yield S(e,t,n)}},initiateSoftwareInstall:function*(e,t){yield C(e,t);try{yield(0,r._9)({path:`/sites/${encodeURIComponent(e)}/atomic/software/${encodeURIComponent(t)}`,apiNamespace:"wpcom/v2",method:"POST",body:{}}),yield P(e,t)}catch(n){yield k(e,t,n)}},atomicSoftwareInstallStart:C,atomicSoftwareInstallSuccess:P,atomicSoftwareInstallFailure:k}}},52005:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r="automattic/site"},52369:function(e,t,n){"use strict";n.d(t,{z2:function(){return f}});var r=n(9818),o=n(93661),i=n(28459),s=n(52005),a=n(2701),u=n(37862),c=n(84309);let l=!1;function f(e){return l||(l=!0,(0,r.registerStore)(s.L,{actions:(0,i.d)(e),controls:o.ai,reducer:a.ZP,resolvers:u,selectors:c})),s.L}},2701:function(e,t,n){"use strict";var r=n(9818),o=n(52699);const i=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_SITE"===t.type){const{response:e}=t;return e.blog_details}if("RECEIVE_NEW_SITE_FAILED"!==t.type&&"RESET_SITE_STORE"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_SITE":case"RECEIVE_NEW_SITE":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return;case"RECEIVE_NEW_SITE_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_SITE":return!0;case"RECEIVE_NEW_SITE":case"RECEIVE_NEW_SITE_FAILED":case"RESET_SITE_STORE":case"RESET_RECEIVE_NEW_SITE_FAILED":return!1}return e}}),s=(0,r.combineReducers)({isFetchingSiteDetails:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_SITE":return!0;case"RECEIVE_SITE":case"RECEIVE_SITE_FAILED":return!1}return e},newSite:i,fetchingSiteError:(e,t)=>"RECEIVE_SITE_FAILED"===t.type?{error:t.response.error,message:t.response.message}:e,sites:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("RECEIVE_SITE"===t.type)return t.response?{...e,[t.response.ID]:t.response}:e;if("RECEIVE_SITE_FAILED"===t.type){const{[t.siteId]:n,...r}=e;return{...r}}return"RESET_SITE_STORE"===t.type?{}:"RECEIVE_SITE_TITLE"===t.type?{...e,[t.siteId]:{...e[t.siteId],name:t.name}}:"RECEIVE_SITE_TAGLINE"===t.type?{...e,[t.siteId]:{...e[t.siteId],description:t.tagline??""}}:"RECEIVE_SITE_VERTICAL_ID"===t.type?{...e,[t.siteId]:{...e[t.siteId],options:{...null===(n=e[t.siteId])||void 0===n?void 0:n.options,site_vertical_id:t.verticalId}}}:e;var n},launchStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LAUNCH_SITE_START"===t.type?{...e,[t.siteId]:{status:o.uS.IN_PROGRESS,errorCode:void 0}}:"LAUNCH_SITE_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.uS.SUCCESS,errorCode:void 0}}:"LAUNCH_SITE_FAILURE"===t.type?{...e,[t.siteId]:{status:o.uS.FAILURE,errorCode:t.error}}:e},sitesDomains:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_DOMAINS"===t.type?{...e,[t.siteId]:t.domains}:e},sitesSettings:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:t.settings}:"UPDATE_SITE_SETTINGS"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.settings}}:e},sitesGlobalStyles:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"RECEIVE_SITE_GLOBAL_STYLES"===t.type?{...e,[t.siteId]:{...null==e?void 0:e[t.siteId],...t.globalStyles}}:e},siteSetupErrors:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if("SET_SITE_SETUP_ERROR"===t.type){const{error:e,message:n}=t;return{error:e,message:n}}return"CLEAR_SITE_SETUP_ERROR"===t.type?{}:e},atomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.bc.IN_PROGRESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.bc.SUCCESS,softwareSet:t.softwareSet,errorCode:void 0}}:"ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.bc.FAILURE,softwareSet:t.softwareSet,errorCode:t.error}}:e},latestAtomicTransferStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"LATEST_ATOMIC_TRANSFER_START"===t.type?{...e,[t.siteId]:{status:o.O.IN_PROGRESS,transfer:void 0,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_SUCCESS"===t.type?{...e,[t.siteId]:{status:o.O.SUCCESS,transfer:t.transfer,errorCode:void 0}}:"LATEST_ATOMIC_TRANSFER_FAILURE"===t.type?{...e,[t.siteId]:{status:o.O.FAILURE,transfer:void 0,errorCode:t.error}}:e},atomicSoftwareStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_STATUS_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:t.status,error:void 0}}}:"ATOMIC_SOFTWARE_STATUS_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:void 0,error:t.error}}}:e},atomicSoftwareInstallStatus:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return"ATOMIC_SOFTWARE_INSTALL_START"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.IN_PROGRESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_SUCCESS"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.SUCCESS,error:void 0}}}:"ATOMIC_SOFTWARE_INSTALL_FAILURE"===t.type?{...e,[t.siteId]:{[t.softwareSet]:{status:o.sw.FAILURE,error:t.error}}}:e}});t.ZP=s},37862:function(e,t,n){"use strict";n.r(t),n.d(t,{getSite:function(){return o},getSiteDomains:function(){return i},getSiteSettings:function(){return s}});var r=n(18552);const o=e=>async t=>{let{dispatch:n}=t;n.fetchSite();try{const t=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e),apiVersion:"1.1"});n.receiveSite(e,t)}catch(o){n.receiveSiteFailed(e,o)}},i=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/domains",apiVersion:"1.2"});n.receiveSiteDomains(e,null==o?void 0:o.domains)},s=e=>async t=>{let{dispatch:n}=t;const o=await(0,r.ZP)({path:"/sites/"+encodeURIComponent(e)+"/settings",apiVersion:"1.4"});n.receiveSiteSettings(e,null==o?void 0:o.settings)}},84309:function(e,t,n){"use strict";n.r(t),n.d(t,{getState:function(){return s},getNewSite:function(){return a},getNewSiteError:function(){return u},isFetchingSite:function(){return c},getFetchingSiteError:function(){return l},isFetchingSiteDetails:function(){return f},isNewSite:function(){return p},getSite:function(){return d},getSiteIdBySlug:function(){return h},getSiteTitle:function(){return g},getSiteVerticalId:function(){return m},isSiteLaunched:function(){return y},isSiteLaunching:function(){return v},isSiteAtomic:function(){return b},isSiteWPForTeams:function(){return w},getSiteDomains:function(){return _},getSiteSettings:function(){return E},getSiteGlobalStyles:function(){return S},getSiteSetupError:function(){return C},getSiteOptions:function(){return P},getSiteOption:function(){return k},getPrimarySiteDomain:function(){return I},getSiteSubdomain:function(){return A},getSiteLatestAtomicTransfer:function(){return T},getSiteLatestAtomicTransferError:function(){return R},getAtomicSoftwareStatus:function(){return O},getAtomicSoftwareError:function(){return x},getAtomicSoftwareInstallError:function(){return F},siteHasFeature:function(){return L},requiresUpgrade:function(){return U},isJetpackSite:function(){return Z},isEligibleForProPlan:function(){return D}});var r=n(9818),o=n(52005),i=n(52699);const s=e=>e,a=e=>e.newSite.data,u=e=>e.newSite.error,c=e=>e.newSite.isFetching,l=e=>e.fetchingSiteError,f=e=>e.isFetchingSiteDetails,p=e=>!!e.newSite.data,d=(e,t)=>e.sites[t]||Object.values(e.sites).find((e=>e&&new URL(e.URL).host===t)),h=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.ID},g=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.name},m=(e,t)=>{var n,i;return null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.site_vertical_id},y=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.SUCCESS},v=(e,t)=>{var n;return(null===(n=e.launchStatus[t])||void 0===n?void 0:n.status)===i.uS.IN_PROGRESS},b=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpcom_atomic)},w=(e,t)=>{var n,i;return!0===(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n||null===(i=n.options)||void 0===i?void 0:i.is_wpforteams_site)},_=(e,t)=>e.sitesDomains[t],E=(e,t)=>e.sitesSettings[t],S=(e,t)=>e.sitesGlobalStyles[t],C=e=>e.siteSetupErrors,P=(e,t)=>{var n;return null===(n=e.sites[t])||void 0===n?void 0:n.options},k=(e,t,n)=>{var r,o;return null===(r=e.sites[t])||void 0===r||null===(o=r.options)||void 0===o?void 0:o[n]},I=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.primary_domain))},A=(e,t)=>{var n;return null===(n=(0,r.select)(o.L).getSiteDomains(t))||void 0===n?void 0:n.find((e=>e.is_subdomain))},T=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.transfer},R=(e,t)=>{var n;return null===(n=e.latestAtomicTransferStatus[t])||void 0===n?void 0:n.errorCode},O=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.status},x=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},F=(e,t,n)=>{var r,o;return null===(r=e.atomicSoftwareInstallStatus[t])||void 0===r||null===(o=r[n])||void 0===o?void 0:o.error},L=(e,t,n)=>{var i,s;return Boolean(t&&(null===(i=(0,r.select)(o.L).getSite(t))||void 0===i||null===(s=i.plan)||void 0===s?void 0:s.features.active.includes(n)))},U=(e,t)=>t&&!(0,r.select)(o.L).siteHasFeature(t,"woop");function Z(e,t){var n;return Boolean(t&&(null===(n=(0,r.select)(o.L).getSite(t))||void 0===n?void 0:n.jetpack))}function D(e,t){return!!t&&!(Z(0,t)&&!b(e,t)||w(e,t))}},52699:function(e,t,n){"use strict";let r,o,i,s,a,u,c;n.d(t,{Hc:function(){return o},uS:function(){return i},bc:function(){return s},Hf:function(){return a},O:function(){return u},sw:function(){return c}}),function(e){e[e.PublicIndexed=1]="PublicIndexed",e[e.PublicNotIndexed=0]="PublicNotIndexed",e[e.Private=-1]="Private"}(r||(r={})),function(e){e.INTERNAL="internal"}(o||(o={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(i||(i={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(s||(s={})),function(e){e.INTERNAL="internal"}(a||(a={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(u||(u={})),function(e){e.UNINITIALIZED="unintialized",e.IN_PROGRESS="in_progress",e.SUCCESS="success",e.FAILURE="failure"}(c||(c={}))},14803:function(e,t,n){"use strict";n.d(t,{v:function(){return u}});var r=n(20899),o=n(82066),i=n(18552);const s=(0,r.ZP)("wpcom_support_blog"),a=(0,r.ZP)("jetpack_support_blog");function u(e,t,n){const r=!t||n?s:a;return(0,o.useQuery)(e,(async()=>await(0,i.ZP)({path:"/help/qanda",apiVersion:"1.1",query:`query=${encodeURIComponent(e)}&site=${encodeURIComponent(r)}`})),{refetchOnWindowFocus:!1,keepPreviousData:!0})}},41515:function(e,t,n){"use strict";n.d(t,{M:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((e=>{let{site:t,message:n,subject:r,locale:i,hideInfo:s,userDeclaredSiteUrl:a}=e;const u=[];t?(t.jetpack?(u.push("WP.com: Unknown"),u.push("Jetpack: Yes")):u.push("WP.com: Yes"),u.push("Correct account: yes")):a&&u.push(`Self-declared URL: ${a}`);const c={subject:r,message:n+"\n\n"+u.join("\n"),locale:i,client:"help-center",hide_blog_info:s,blog_id:null==t?void 0:t.ID,blog_url:null==t?void 0:t.URL};return(0,o.ZP)({path:"/help/forums/support/topics/new",apiVersion:"1.1",method:"POST",body:c})}))}},32457:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(82066),o=n(18552);function i(){return(0,r.useMutation)((e=>(0,o.ZP)({path:"/help/tickets/kayako/new",apiVersion:"1.1",method:"POST",body:e})))}},99706:function(e,t,n){"use strict";n.d(t,{p:function(){return i}});var r=n(82066),o=n(18552);function i(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return(0,r.useQuery)("OTHER"===e?"otherSupportAvailability":"chatSupportAvailability",(async()=>await(0,o.ZP)({path:`help/eligibility/${"OTHER"===e?"all":"chat"}/mine`,apiNamespace:"wpcom/v2/",apiVersion:"2"})),{enabled:t,refetchOnWindowFocus:!1,keepPreviousData:!0})}},71382:function(e,t,n){"use strict";n.d(t,{d:function(){return i}});var r=n(19126),o=n(93661);function i(e){const t=()=>({type:"FETCH_NEW_USER"}),n=e=>({type:"RECEIVE_NEW_USER",response:e}),i=e=>({type:"RECEIVE_NEW_USER_FAILED",error:e});return{receiveCurrentUser:e=>({type:"RECEIVE_CURRENT_USER",currentUser:e}),receiveCurrentUserFailed:()=>({type:"RECEIVE_CURRENT_USER_FAILED"}),fetchNewUser:t,receiveNewUser:n,receiveNewUserFailed:i,clearErrors:()=>({type:"CLEAR_ERRORS"}),createAccount:function*(t){yield{type:"FETCH_NEW_USER"};try{const i=yield(0,o._9)({body:{is_passwordless:!0,signup_flow_name:"gutenboarding",locale:"en",...e,...t,validate:!1},path:"/users/new",apiVersion:"1.1",method:"post",query:(0,r.stringify)({locale:t.locale})});return yield(0,o.sS)(),yield(0,o.Vw)(),yield n(i),{ok:!0}}catch(s){const e=s;return yield i(e),{ok:!1,newUserError:e}}}}}},37037:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r="automattic/user"},88330:function(e,t,n){"use strict";n.d(t,{z:function(){return f}});var r=n(9818),o=n(93661),i=n(71382),s=n(37037),a=n(85938),u=n(45177),c=n(47092);let l=!1;function f(e){return l||(l=!0,(0,r.registerStore)(s.L,{actions:(0,i.d)(e),controls:o.ai,reducer:a.ZP,resolvers:(0,u.i)(e),selectors:c})),s.L}},85938:function(e,t,n){"use strict";var r=n(9818);const o=(0,r.combineReducers)({data:(e,t)=>{if("RECEIVE_NEW_USER"===t.type){const{response:e}=t;return{username:e.signup_sandbox_username||e.username,userId:e.signup_sandbox_user_id||e.user_id,bearerToken:e.bearer_token}}if("RECEIVE_NEW_USER_FAILED"!==t.type)return e},error:(e,t)=>{switch(t.type){case"FETCH_NEW_USER":case"RECEIVE_NEW_USER":case"CLEAR_ERRORS":return;case"RECEIVE_NEW_USER_FAILED":return{error:t.error.error,status:t.error.status,statusCode:t.error.statusCode,name:t.error.name,message:t.error.message}}return e},isFetching:function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"FETCH_NEW_USER":return!0;case"RECEIVE_NEW_USER":case"RECEIVE_NEW_USER_FAILED":return!1}return e}}),i=(0,r.combineReducers)({currentUser:(e,t)=>{switch(t.type){case"RECEIVE_CURRENT_USER":return t.currentUser;case"RECEIVE_CURRENT_USER_FAILED":return null}return e},newUser:o});t.ZP=i},45177:function(e,t,n){"use strict";n.d(t,{i:function(){return i}});var r=n(93661),o=n(71382);function i(e){const{receiveCurrentUser:t,receiveCurrentUserFailed:n}=(0,o.d)(e);return{getCurrentUser:function*(){if(window.currentUser)return t(window.currentUser);try{const e=yield(0,r._9)({path:"/me",apiVersion:"1.1"});return t(e)}catch(e){return n()}}}}},47092:function(e,t,n){"use strict";n.r(t),n.d(t,{getState:function(){return r},getCurrentUser:function(){return o},isCurrentUserLoggedIn:function(){return i},getNewUser:function(){return s},getNewUserError:function(){return a},isFetchingNewUser:function(){return u},isNewUser:function(){return c}});const r=e=>e,o=e=>e.currentUser,i=e=>{var t;return!(null===(t=e.currentUser)||void 0===t||!t.ID)},s=e=>e.newUser.data,a=e=>e.newUser.error,u=e=>e.newUser.isFetching,c=e=>!!e.newUser.data},93661:function(e,t,n){"use strict";n.d(t,{_9:function(){return o},sS:function(){return i},Vw:function(){return s},ai:function(){return a}});var r=n(18552);const o=e=>({type:"WPCOM_REQUEST",request:e}),i=()=>({type:"RELOAD_PROXY"}),s=()=>({type:"REQUEST_ALL_BLOGS_ACCESS"}),a={WPCOM_REQUEST:e=>{let{request:t}=e;return(0,r.ZP)(t)},FETCH_AND_PARSE:async e=>{let{resource:t,options:n}=e;const r=await window.fetch(t,n);return{ok:r.ok,body:await r.json()}},RELOAD_PROXY:()=>{(0,r.sS)()},REQUEST_ALL_BLOGS_ACCESS:()=>(0,r.Vw)(),WAIT:e=>{let{ms:t}=e;return new Promise((e=>setTimeout(e,t)))}}},10819:function(e,t,n){"use strict";function r(e){let t=null;function r(){return t||(t=Promise.resolve().then(n.bind(n,56989)).then((t=>{let{default:n}=t;return n(e)}))),t}return{init:async(e,t)=>(await r()).init(e,t),request:async(e,t)=>(await r()).request(e,t),send:async e=>(await r()).send(e)}}n.d(t,{Z:function(){return r}})},56989:function(e,t,n){"use strict";n.r(t),n.d(t,{Connection:function(){return c},buildConnectionForCheckingAvailability:function(){return l}});var r=n(56666),o=n(34386),i=n.n(o),s=n(17768),a=n.n(s);const u=i()("calypso:happychat:connection");class c{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];(0,r.Z)(this,"receiveAccept",void 0),(0,r.Z)(this,"receiveConnect",void 0),(0,r.Z)(this,"receiveDisconnect",void 0),(0,r.Z)(this,"receiveError",void 0),(0,r.Z)(this,"receiveInit",void 0),(0,r.Z)(this,"receiveLocalizedSupport",void 0),(0,r.Z)(this,"receiveMessage",void 0),(0,r.Z)(this,"receiveMessageOptimistic",void 0),(0,r.Z)(this,"receiveMessageUpdate",void 0),(0,r.Z)(this,"receiveReconnecting",void 0),(0,r.Z)(this,"receiveStatus",void 0),(0,r.Z)(this,"receiveToken",void 0),(0,r.Z)(this,"receiveUnauthorized",void 0),(0,r.Z)(this,"requestTranscript",void 0),(0,r.Z)(this,"closeAfterAccept",void 0),(0,r.Z)(this,"dispatch",void 0),(0,r.Z)(this,"openSocket",void 0),Object.assign(this,e),this.closeAfterAccept=t}init(e,t){return this.openSocket?(u("socket is already connected"),this.openSocket):(this.dispatch=e,this.openSocket=new Promise(((n,r)=>{t.then((t=>{let{url:o,user:{signer_user_id:i,jwt:s,locale:u,groups:c,skills:l,geoLocation:f}}=t;const p=(e=>"string"==typeof e?new(a())(e,{transports:["websocket"]}):e)(o);p.once("connect",(()=>{var t;return e(null===(t=this.receiveConnect)||void 0===t?void 0:t.call(this))})).on("token",(t=>{var n;e(null===(n=this.receiveToken)||void 0===n?void 0:n.call(this)),t({signer_user_id:i,jwt:s,locale:u,groups:c,skills:l})})).on("init",(()=>{var t,r;e(null===(t=this.receiveInit)||void 0===t?void 0:t.call(this,{signer_user_id:i,locale:u,groups:c,skills:l,geoLocation:f})),e(null===(r=this.requestTranscript)||void 0===r?void 0:r.call(this)),n(p)})).on("unauthorized",(()=>{var t;p.close(),e(null===(t=this.receiveUnauthorized)||void 0===t?void 0:t.call(this,"User is not authorized")),r("user is not authorized")})).on("disconnect",(t=>{var n;return e(null===(n=this.receiveDisconnect)||void 0===n?void 0:n.call(this,t))})).on("reconnecting",(()=>{var t;return e(null===(t=this.receiveReconnecting)||void 0===t?void 0:t.call(this))})).on("status",(t=>{var n;return e(null===(n=this.receiveStatus)||void 0===n?void 0:n.call(this,t))})).on("accept",(t=>{var n;e(null===(n=this.receiveAccept)||void 0===n?void 0:n.call(this,t)),this.closeAfterAccept&&p.close()})).on("localized-support",(t=>{var n;return e(null===(n=this.receiveLocalizedSupport)||void 0===n?void 0:n.call(this,t))})).on("message",(t=>{var n;return e(null===(n=this.receiveMessage)||void 0===n?void 0:n.call(this,t))})).on("message.optimistic",(t=>{var n;return e(null===(n=this.receiveMessageOptimistic)||void 0===n?void 0:n.call(this,t))})).on("message.update",(t=>{var n;return e(null===(n=this.receiveMessageUpdate)||void 0===n?void 0:n.call(this,t))})).on("reconnect_attempt",(()=>{p.io.opts.transports=["polling","websocket"]}))})).catch((e=>r(e)))})),this.openSocket)}send(e){if(this.openSocket)return this.openSocket.then((t=>t.emit(e.event,e.payload)),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}request(e,t){if(this.openSocket)return this.openSocket.then((n=>{const r=Promise.race([new Promise(((t,r)=>{n.emit(e.event,e.payload,((e,n)=>e?r(new Error(e)):t(n)))})),new Promise(((e,n)=>setTimeout((()=>n(new Error("timeout"))),t)))]);return r.then((t=>{var n,r;return null===(n=this.dispatch)||void 0===n?void 0:n.call(this,null===(r=e.callback)||void 0===r?void 0:r.call(e,t))}),(t=>{var n,r;"timeout"!==t.message&&(null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,e.event+" request failed: "+t.message)))})),r}),(t=>{var n,r;return null===(n=this.dispatch)||void 0===n||n.call(this,null===(r=this.receiveError)||void 0===r?void 0:r.call(this,"failed to send "+e.event+": "+t)),Promise.reject(t)}))}}const l=e=>new c(e,!0);t.default=e=>new c(e)},61082:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(20899),o=n(11481),i=n(82066),s=n(18552);async function a(){const e=await(0,s.ZP)({path:"/me",apiVersion:"1.1"}),t=(0,r.ZP)("happychat_url"),n=(0,o.Yj)(),i={signer_user_id:e.ID,locale:n,groups:["WP.com"],skills:{product:["WP.com"]}},a=await(0,s.ZP)({path:"/happychat/session",apiVersion:"1.1",method:"POST"}),{session_id:u,geo_location:c}=a;i.geoLocation=c;const l=await(0,s.ZP)({path:"/jwt/sign",apiVersion:"1.1",method:"POST",body:{payload:JSON.stringify({user:e,session_id:u})}}),{jwt:f}=l;return{url:t,user:{jwt:f,...i},fullUser:e}}function u(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return(0,i.useQuery)("getHappychatAuth",a,{staleTime:1/0,enabled:e})}},89645:function(e,t,n){"use strict";var r=n(99196),o=n(56989),i=n(61082);t.Z=function(){const[e,t]=(0,r.useState)(void 0),{data:n,isLoading:s}=(0,i.Z)();return(0,r.useEffect)((()=>{if(!s&&n){(0,o.buildConnectionForCheckingAvailability)({receiveAccept:e=>{t(e)},receiveUnauthorized:()=>{t(!1)}}).init((e=>e),Promise.resolve(n))}}),[n,s]),{available:Boolean(e),isLoading:void 0===e}}},40495:function(e,t,n){"use strict";n.d(t,{x:function(){return c}});var r=n(69307),o=n(43239),i=n(5869),s=n(21100),a=n(95885),u=n(29175);n(62829);const c=e=>{let{onClick:t,backToRoot:n=!1}=e;const{__:__}=(0,a.QT)(),c=(0,u.k6)();return(0,r.createElement)(o.Z,{className:"back-button__help-center",borderless:!0,onClick:t||function(){n?c.push("/"):c.goBack()}},(0,r.createElement)(i.Z,{icon:s.Z,size:18}),__("Back","full-site-editing"))}},7577:function(e,t,n){"use strict";n.d(t,{z:function(){return l}});var r=n(69307),o=n(43239),i=n(5869),s=n(94140),a=n(95885),u=n(72779),c=n.n(u);n(50436);const l=()=>{const e=(0,r.useRef)(null),t=(0,r.useRef)(null),{__:__}=(0,a.QT)(),[n,u]=(0,r.useState)(!1),l=(0,r.useCallback)((()=>{const e=t.current;e&&(e.scrollTop>400?u(!0):u(!1))}),[t]);(0,r.useEffect)((()=>{e.current&&(t.current=e.current.parentElement)}),[e]),(0,r.useEffect)((()=>{const e=t.current;if(e)return e.addEventListener("scroll",l),()=>{e.removeEventListener("scroll",l)}}),[t,l]);return(0,r.createElement)(o.Z,{ref:e,className:c()("back-to-top-button__help-center",{"is-visible":n}),onClick:()=>{t.current&&(t.current.scrollTop=0)}},(0,r.createElement)(i.Z,{icon:s.Z,size:16}),__("Back to top","full-site-editing"))}},19762:function(e,t,n){"use strict";var r=n(69307),o=n(85774),i=n(22169),s=n(15166);n(21586);const a=e=>{let{content:t,className:n}=e;const o=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(o.current&&t.length){o.current.innerHTML=t;o.current.querySelectorAll('a[href*="http"]').forEach((e=>e.setAttribute("target","_blank")))}}),[o,t]),(0,r.createElement)("div",{ref:o,className:n})};t.Z=e=>{let{content:t,title:n,link:u,isLoading:c=!1}=e;const l={title:n,url:u};return(0,r.createElement)("article",{className:"help-center-article-content__story"},c?(0,r.createElement)(s.Z,{lines:8}):(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o.Z,{post:l,isLoading:!1}),(0,r.createElement)(i.Z,null,(0,r.createElement)(a,{className:"help-center-article-content__story-content",content:t}))))}},19892:function(e,t,n){"use strict";var r=n(69307),o=n(99196),i=n(4792),s=n(91040),a=n(56077),u=n(9232),c=n(1230),l=n(6712),f=n(19762);n(21586);const p=(e,t)=>({blogId:e,postId:t});t.Z=e=>{let{postId:t,blogId:n,articleUrl:d}=e;const h=((e,t)=>{const n=(0,c.Z)(e,t);return n.isLoading?null:n.data?p(n.data.blog_id,n.data.page_id):p(e,t)})(+(n??s.Di),t),g=(0,i.v9)((e=>(0,l.UK)(e,h))),m=!(null!=g&&g.content&&h),y=null==g?void 0:g.site_ID,v=!g&&h;return(0,o.useEffect)((()=>{"undefined"!=typeof window&&d&&-1!==d.indexOf("#")&&null!=g&&g.content&&setTimeout((()=>{const e=d.split("#").pop();if(e){const t=document.getElementById(e);t&&t.scrollIntoView()}}),0)}),[d,g]),(0,r.createElement)(r.Fragment,null,y&&(0,r.createElement)(u.Z,{siteId:+y}),v&&(0,r.createElement)(a.Z,{postKey:h,isHelpCenter:!0}),(0,r.createElement)(f.Z,{content:null==g?void 0:g.content,title:null==g?void 0:g.title,link:null==g?void 0:g.link,isLoading:m}))}},23025:function(e,t,n){"use strict";n.d(t,{j:function(){return T},_:function(){return F}});var r=n(69307),o=n(36115),i=n(43239),s=n(37499),a=n(27136),u=n(32457),c=n(41515),l=n(34381),f=n(30849),p=n(1283),d=n(55609),h=n(9818),g=n(65736),m=n(5869),y=n(5614),v=n(99196),b=n(4792),w=n(29175),_=n(73041),E=n(20834),S=n(39226),C=n(98865),P=n(44241),k=n(40495),I=n(10083),A=n(61108);n(27427);const __=g.__,T="automattic/site",R=Array.from({length:10},((e,t)=>`https://s0.wp.com/i/fake-faces/face-${t}.jpg`)).sort((()=>Math.random()-.5)).slice(0,2),O=e=>{let{onSelect:t,currentSite:n,siteId:o,enabled:i}=e;const s=[n,{name:__("Other site","full-site-editing"),ID:0,logo:{id:"",sizes:[],url:""},URL:""}];return(0,r.createElement)(p.a,{enabled:i,onPickSite:function(e){t(e)},options:s,siteId:o})},x={CHAT:{formTitle:__("Start live chat","full-site-editing"),trayText:__("Our WordPress experts will be with you right away","full-site-editing"),buttonLabel:__("Chat with us","full-site-editing"),buttonLoadingLabel:__("Connecting to chat","full-site-editing")},EMAIL:{formTitle:__("Send us an email","full-site-editing"),trayText:__("Our WordPress experts will get back to you soon","full-site-editing"),buttonLabel:__("Email us","full-site-editing"),buttonLoadingLabel:__("Sending email","full-site-editing")},DIRECTLY:{formTitle:__("Start live chat with an expert","full-site-editing"),formSubtitle:__("These are others, like yourself, who have been selected because of their WordPress.com knowledge to help answer questions.","full-site-editing"),trayText:__("An expert user will be with you right away","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask an expert","full-site-editing"),buttonLoadingLabel:__("Connecting you to an expert","full-site-editing")},FORUM:{formTitle:__("Ask in our community forums","full-site-editing"),formDisclaimer:__("Please do not provide financial or contact information when submitting this form.","full-site-editing"),buttonLabel:__("Ask in the forums","full-site-editing"),buttonLoadingLabel:__("Posting in the forums","full-site-editing")}},F=()=>{const{search:e}=(0,w.TH)(),t=(0,b.v9)(_.Z),n=new URLSearchParams(e).get("mode"),p=(0,w.k6)(),[g,F]=(0,v.useState)(!1),[L,U]=(0,v.useState)(!1),Z=(0,f.bU)(),{isLoading:D,mutateAsync:j}=(0,u.g)(),{isLoading:N,mutateAsync:M}=(0,c.M)(),[q,B]=(0,v.useState)("CURRENT_SITE"),{selectedSite:H,subject:V,message:$,userDeclaredSiteUrl:W,directlyData:z}=(0,h.useSelect)((e=>({selectedSite:e(C.aM).getSite(),subject:e(C.aM).getSubject(),message:e(C.aM).getMessage(),userDeclaredSiteUrl:e(C.aM).getUserDeclaredSiteUrl(),directlyData:e(C.aM).getDirectly()}))),G=(0,h.useSelect)((e=>e(C.Em).getCurrentUser())),{setSite:Q,resetStore:Y,setShowHelpCenter:K,setUserDeclaredSiteUrl:J,setUserDeclaredSite:X,setSubject:ee,setMessage:te}=(0,h.useDispatch)(C.aM),{result:ne,isLoading:re,site:oe}=(0,l.g)(W);(0,v.useEffect)((()=>{const e=(0,P.yQ)(n);(0,o.jN)("calypso_inlinehelp_contact_view",{support_variation:e,location:"help-center",section:t})}),[n,t]),(0,v.useEffect)((()=>{oe&&X(oe)}),[oe,X]),(0,v.useEffect)((()=>{null!=z&&z.hasSession&&((0,S.ht)(["maximize",{}]),K(!1))}),[z,K]);const ie=D||N,se=x[n],ae=(0,b.v9)(E.Z),ue=(0,h.useSelect)((e=>e(T).getSite(ae)));let ce;ce="OTHER_SITE"===q?oe:H||ue;return(0,r.createElement)("main",{className:"help-center-contact-form"},(0,r.createElement)(k.x,null),(0,r.createElement)("h1",{className:"help-center-contact-form__site-picker-title"},se.formTitle),se.formSubtitle&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-subtitle"},se.formSubtitle),se.formDisclaimer&&(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-form-warning"},se.formDisclaimer),"DIRECTLY"!==n&&(0,r.createElement)("section",null,(0,r.createElement)(O,{enabled:"FORUM"===n,currentSite:ue,onSelect:e=>{0!==e&&Q(ue),B(0===e?"OTHER_SITE":"CURRENT_SITE")},siteId:"CURRENT_SITE"===q?null==ue?void 0:ue.ID:0})),"OTHER_SITE"===q&&(0,r.createElement)(r.Fragment,null,(0,r.createElement)("section",null,(0,r.createElement)(d.TextControl,{label:__("Site address","full-site-editing"),value:W??"",onChange:J})),ne&&(0,r.createElement)(I.J,{ownershipResult:ne,isAnalysisLoading:re,userDeclaredSite:oe})),["FORUM","EMAIL"].includes(n)&&(0,r.createElement)("section",null,(0,r.createElement)(d.TextControl,{className:"help-center-contact-form__subject",label:__("Subject","full-site-editing"),value:V??"",onChange:ee})),(0,r.createElement)("section",null,(0,r.createElement)("label",{className:"help-center-contact-form__label",htmlFor:"help-center-contact-form__message"},__("How can we help you today?","full-site-editing")),(0,r.createElement)("textarea",{id:"help-center-contact-form__message",rows:10,value:$??"",onInput:e=>te(e.currentTarget.value),className:"help-center-contact-form__message"})),"FORUM"===n&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__domain-sharing"},(0,r.createElement)(d.CheckboxControl,{checked:g,label:__("Don’t display my site’s URL publicly","full-site-editing"),help:(0,r.createElement)((()=>{const[e,t]=(0,v.useState)(),[n,o]=(0,v.useState)(!1);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{borderless:!0,ref:n=>e!==n&&t(n),"aria-haspopup":!0,"aria-label":__("More information"),onClick:()=>o(!n)},(0,r.createElement)(m.Z,{icon:y.Z,size:18})),(0,r.createElement)(s.Z,{isVisible:n,context:e,position:"top left"},(0,r.createElement)("span",null,"This may result in a longer response time,",(0,r.createElement)("br",null),"but WordPress.com staff in the forums will",(0,r.createElement)("br",null),"still be able to view your site's URL.")))}),null),onChange:e=>F(e)}))),(0,r.createElement)("section",null,(0,r.createElement)(i.Z,{disabled:(()=>{if(ie||!$)return!0;switch(n){case"CHAT":return!ce;case"EMAIL":return!ce||!V;case"FORUM":return!V}})(),onClick:function(){switch(n){case"CHAT":if(ce){var e;(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"happychat",location:"help-center",section:t}),(0,o.jN)("calypso_help_live_chat_begin",{site_plan_product_id:ce?null===(e=ce.plan)||void 0===e?void 0:e.product_id:null,is_automated_transfer:ce?ce.options.is_automated_transfer:null,location:"help-center",section:t}),p.push("/inline-chat");break}break;case"EMAIL":if(ce){var r;const e=[...["Site I need help with: "+ce.URL,"Plan: "+(null===(r=ce.plan)||void 0===r?void 0:r.product_slug)],"\n",$].join("\n");j({subject:V??"",message:e,locale:Z,client:"browser:help-center",is_chat_overflow:!1,blog_url:ce.URL}).then((()=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"kayako",location:"help-center",section:t}),p.push("/success"),Y()})).catch((()=>{U(!0)}))}break;case"FORUM":M({site:ce,message:$??"",subject:V??"",locale:Z,hideInfo:g,userDeclaredSiteUrl:W}).then((e=>{(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"forums",location:"help-center",section:t}),p.push(`/success?forumTopic=${encodeURIComponent(e.topic_URL)}`),Y()})).catch((()=>{U(!0)}));break;case"DIRECTLY":(0,S.SW)($??"",(null==G?void 0:G.display_name)??"",(null==G?void 0:G.email)??""),(0,o.jN)("calypso_inlinehelp_contact_submit",{support_variation:"directly",location:"help-center",section:t}),K(!1)}},primary:!0,className:"help-center-contact-form__site-picker-cta"},ie?se.buttonLoadingLabel:se.buttonLabel),L&&(0,r.createElement)(a.Z,{isError:!0,text:__("Something went wrong, please try again later.","full-site-editing")})),["CHAT","EMAIL"].includes(n)&&(0,r.createElement)("section",null,(0,r.createElement)("div",{className:"help-center-contact-form__site-picker-hes-tray"},R.map((e=>(0,r.createElement)("img",{src:e,"aria-hidden":"true",alt:""}))),(0,r.createElement)("p",{className:"help-center-contact-form__site-picker-hes-tray-text"},se.trayText))),(0,r.createElement)(A.e,{supportSite:ce,message:$}))}},98490:function(e,t,n){"use strict";n.d(t,{_:function(){return _},K:function(){return E}});var r=n(69307),o=n(36115),i=n(6010),s=n(5869),a=n(77343),u=n(95885),c=n(72779),l=n.n(c),f=(n(99196),n(4792)),p=n(47933),d=n(73041),h=n(40495),g=n(97878),m=n(82513),y=n(83822),v=n(67605),b=n(61108);const w=e=>{let{active:t,...n}=e;return t?(0,r.createElement)(p.rU,n):(0,r.createElement)("span",n)},_=()=>{const{__:__}=(0,u.QT)(),e=(0,m.X)(),t=(0,g.v)();return t.isLoading?(0,r.createElement)("div",{className:"help-center-contact-page__loading"},(0,r.createElement)(i.$,{baseClassName:""})):(0,r.createElement)("div",{className:"help-center-contact-page"},(0,r.createElement)(h.x,null),(0,r.createElement)("div",{className:"help-center-contact-page__content"},(0,r.createElement)("h3",null,__("Contact our WordPress.com experts","full-site-editing")),(0,r.createElement)("div",{className:l()("help-center-contact-page__boxes",{"is-reversed":!t.render||"AVAILABLE"!==t.state})},t.render&&(0,r.createElement)(w,{active:"AVAILABLE"===t.state,to:"/contact-form?mode=CHAT"},(0,r.createElement)("div",{className:l()("help-center-contact-page__box","chat",{"is-disabled":"AVAILABLE"!==t.state}),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(s.Z,{icon:a.Z})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Live chat","full-site-editing")),(0,r.createElement)("p",null,"AVAILABLE"!==t.state?__("Chat is unavailable right now","full-site-editing"):__("Get an immediate reply","full-site-editing"))))),e&&(0,r.createElement)(p.rU,{to:"/contact-form?mode=EMAIL"},(0,r.createElement)("div",{className:l()("help-center-contact-page__box","email"),role:"button",tabIndex:0},(0,r.createElement)("div",{className:"help-center-contact-page__box-icon"},(0,r.createElement)(s.Z,{icon:(0,r.createElement)(v.Z,null)})),(0,r.createElement)("div",null,(0,r.createElement)("h2",null,__("Email","full-site-editing")),(0,r.createElement)("p",null,__("An expert will get back to you soon","full-site-editing"))))))),(0,r.createElement)(b.e,null))},E=()=>{const{__:__}=(0,u.QT)(),e=(0,y.A)(),t=(0,f.v9)(d.Z),n="https://wordpress.com/help/contact"===e;return(0,r.createElement)(p.rU,{to:n?{pathname:e}:e,target:n?"_blank":"_self",onClick:()=>{(0,o.jN)("calypso_inlinehelp_morehelp_click",{location:"help-center",section:t})},className:"button help-center-contact-page__button"},(0,r.createElement)(s.Z,{icon:a.Z}),(0,r.createElement)("span",null,__("Still need help?","full-site-editing")))}},30250:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(6010),s=n(76951),a=n(55609),u=n(72779),c=n.n(u),l=n(99196),f=n(41327),p=n.n(f),d=n(29175),h=n(24478),g=n(407),m=n(14059),y=n(24934);const v=e=>{let{draggable:t,...n}=e;return t?(0,o.createElement)(p(),n):(0,o.createElement)(o.Fragment,null,n.children)};t.Z=e=>{let{handleClose:t,isLoading:n}=e;const[u,f]=(0,l.useState)(!1),[p,b]=(0,l.useState)(!0),w=(0,s._z)(),_=c()("help-center__container",w?"is-mobile":"is-desktop",{"is-minimized":u}),E={style:{animation:(p?"fadeIn":"fadeOut")+" .5s"},onAnimationEnd:()=>{p||t()}},S=(0,l.useRef)(null);return(0,o.createElement)(d.VA,null,(0,o.createElement)(h.O,null,(0,o.createElement)(v,{draggable:!w,nodeRef:S,handle:".help-center__container-header",bounds:"body"},(0,o.createElement)(a.Card,(0,r.Z)({className:_},E,{ref:S}),(0,o.createElement)(y.Z,{isMinimized:u,onMinimize:()=>f(!0),onMaximize:()=>f(!1),onDismiss:()=>{b(!1)}}),n?(0,o.createElement)("div",{className:"help-center-container__loading"},(0,o.createElement)(i.$,{baseClassName:"",className:"help-center-container__spinner"})):(0,o.createElement)(o.Fragment,null,(0,o.createElement)(g.Z,null),!u&&(0,o.createElement)(m.Z,null))))))}},407:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(55609),s=n(72779),a=n.n(s),u=n(4792),c=n(29175),l=n(73041),f=n(23025),p=n(98490),d=n(26212),h=n(27420),g=n(817),m=n(94509);t.Z=()=>{const e=(0,c.TH)(),t=a()("help-center__container-content"),n=(0,u.v9)(l.Z);return(0,r.useEffect)((()=>{(0,o.jN)("calypso_helpcenter_page_open",{pathname:e.pathname,search:e.search,section:n,location:"help-center"})}),[e,n]),(0,r.createElement)(i.CardBody,{className:t},(0,r.createElement)(c.AW,{exact:!0,path:"/"},(0,r.createElement)(g.Z,null)),(0,r.createElement)(c.AW,{path:"/post"},(0,r.createElement)(d.X,null)),(0,r.createElement)(c.AW,{path:"/contact-options"},(0,r.createElement)(p._,null)),(0,r.createElement)(c.AW,{path:"/contact-form"},(0,r.createElement)(f._,null)),(0,r.createElement)(c.AW,{path:"/success"},(0,r.createElement)(m.k,null)),(0,r.createElement)(c.AW,{path:"/inline-chat"},(0,r.createElement)(h.Z,null)))}},26212:function(e,t,n){"use strict";n.d(t,{X:function(){return m}});var r=n(69307),o=n(36115),i=n(43239),s=n(55609),a=n(5869),u=n(22042),c=(n(99196),n(4792)),l=n(29175),f=n(73041),p=n(40495),d=n(7577),h=n(19762),g=n(19892);const m=()=>{const{state:e,search:t}=(0,l.TH)(),n=(0,l.k6)(),m=(0,c.v9)(f.Z),y=new URLSearchParams(t),v=(null==e?void 0:e.post_id)??y.get("postId"),b=(null==e?void 0:e.blog_id)??y.get("blogId"),w=(null==e?void 0:e.link)??y.get("link"),_=(null==e?void 0:e.query)??y.get("query");(0,r.useEffect)((()=>{const e={search_query:_,location:"help-center",section:m,result_url:w};(0,o.jN)("calypso_inlinehelp_article_open",e)}),[_,w,m]);return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"help-center-embed-result"},(0,r.createElement)(s.Flex,{justify:"space-between"},(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(p.x,{onClick:()=>{null!=e&&e.query?n.push(`/?query=${e.query}`):n.push("/")}})),(0,r.createElement)(s.FlexItem,null,(0,r.createElement)(i.Z,{borderless:!0,href:w??"",target:"_blank",className:"help-center-embed-result__external-button"},(0,r.createElement)(a.Z,{icon:u.Z,size:20})))),null!=e&&e.content?(0,r.createElement)(h.Z,{content:e.content,title:e.title,link:e.link}):v&&(0,r.createElement)(g.Z,{postId:+v,blogId:b})),(0,r.createElement)(d.z,null))}},14059:function(e,t,n){"use strict";var r=n(69307),o=n(55609),i=n(72779),s=n.n(i),a=n(29175),u=n(98490);t.Z=()=>{const e=s()("help-center__container-footer");return(0,r.createElement)(o.CardFooter,{className:e},(0,r.createElement)(a.AW,{path:"/",exact:!0},(0,r.createElement)(u.K,null)))}},24934:function(e,t,n){"use strict";var r=n(69307),o=n(55609),i=n(5869),s=n(39739),a=n(48632),u=n(26715),c=n(63103),l=n(60199),f=n(95885),p=n(72779),d=n.n(p),h=n(99196),g=n(29175),m=n(71645);function y(){const e=(0,g.TH)(),{title:t}=e.state;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{icon:s.Z}),(0,r.createElement)("span",{className:"help-center-header__article-title"},t))}const v=()=>{const{__:__}=(0,f.QT)(),{search:e}=(0,g.TH)();switch(new URLSearchParams(e).get("mode")){case"CHAT":return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(i.Z,{icon:a.Z}),__("Start live chat","full-site-editing"));case"EMAIL":return(0,r.createElement)(r.Fragment,null,__("Send us an email","full-site-editing"));case"FORUM":return(0,r.createElement)(r.Fragment,null,__("Ask in our community forums","full-site-editing"));default:return(0,r.createElement)(r.Fragment,null,__("Help Center","full-site-editing"))}};t.Z=e=>{let{isMinimized:t,onMinimize:n,onMaximize:i,onDismiss:s}=e;const a=d()("help-center__container-header"),{__:__}=(0,f.QT)(),[p,b]=(0,h.useState)("closed"),[w,_]=(0,h.useState)(0),E=w>9?"9+":w;return(0,h.useEffect)((()=>{"ended"===p&&(null==s||s())}),[p,s]),(0,m.g)(b,_),(0,r.createElement)(o.CardHeader,{className:a},(0,r.createElement)(o.Flex,null,(0,r.createElement)("p",{id:"header-text",className:"help-center-header__text"},t?(0,r.createElement)(g.rs,null,(0,r.createElement)(g.AW,{path:"/",exact:!0},__("Help Center","full-site-editing")),(0,r.createElement)(g.AW,{path:"/contact-options"},__("Contact Options","full-site-editing")),(0,r.createElement)(g.AW,{path:"/contact-form",component:v}),(0,r.createElement)(g.AW,{path:"/post",component:y})):__("Help Center","full-site-editing"),t&&w?(0,r.createElement)("span",{className:"help-center-header__unread-count"},E):null),(0,r.createElement)("div",null,t?(0,r.createElement)(o.Button,{className:"help-center-header__maximize",label:__("Maximize Help Center","full-site-editing"),icon:u.Z,tooltipPosition:"top left",onClick:function(){null==i||i()}}):(0,r.createElement)(o.Button,{className:"help-center-header__minimize",label:__("Minimize Help Center","full-site-editing"),icon:c.Z,tooltipPosition:"top left",onClick:n}),(0,r.createElement)(o.Button,{className:"help-center-header__close",label:__("Close Help Center","full-site-editing"),tooltipPosition:"top left",icon:l.Z,onClick:s}))))}},27420:function(e,t,n){"use strict";var r=n(69307);n(96459);t.Z=()=>(0,r.createElement)("iframe",{className:"help-center-inline-chat__iframe",title:"Happychat",src:"https://widgets.wp.com/calypso-happychat/?env=prod"})},62795:function(e,t,n){"use strict";n.d(t,{r:function(){return C}});var r=n(69307),o=n(36115),i=n(4112),s=n(53762),a=n(47498),u=n(94819),c=n(55609),l=n(5869),f=n(81835),p=n(22042),d=n(26176),h=n(10812),g=n(86642),m=n(95885),y=n(4792),v=n(76678),b=n(83377),w=n(73041),_=n(20834),E=n(51519);const S=(0,r.createElement)(c.SVG,{viewBox:"0 0 24 24"},(0,r.createElement)(c.Circle,{cx:"12",cy:"12",r:"5"})),C=()=>{const{__:__}=(0,m.QT)(),[e,t]=(0,r.useState)(!1),n=(0,y.v9)(w.Z),{isBusinessOrEcomPlanUser:C,siteId:P,isSimpleSite:k}=(0,y.v9)((e=>{const t=(0,v.I)(e),n=t&&t.map((e=>e.productSlug)),r=(0,_.Z)(e);return{isBusinessOrEcomPlanUser:!(!n||!n.some(i.pl)&&!n.some(i.$J)),siteId:r,isSimpleSite:(0,b.Z)(e)||!1}})),{data:I,isLoading:A,setHasSeenWhatsNewModal:T}=(0,s.R)(P,k);(0,r.useEffect)((()=>{!A&&I&&t(!I.has_seen_whats_new_modal)}),[I,A]);const[R,O]=(0,r.useState)(!1),x=e=>{(0,o.jN)("calypso_help_moreresources_click",{is_business_or_ecommerce_plan_user:C,resource:e,location:"help-center",section:n})};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("h3",{className:"help-center__section-title"},__("More Resources","full-site-editing")),(0,r.createElement)("ul",{className:"inline-help__more-resources","aria-labelledby":"inline-help__more-resources"},(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/support/video-tutorials/"),rel:"noreferrer",target:"_blank",className:"inline-help__video",onClick:()=>x("video")},(0,r.createElement)(l.Z,{icon:f.Z,size:24}),(0,r.createElement)("span",null,__("Video tutorials","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wordpress.com/webinars"),rel:"noreferrer",target:"_blank",onClick:()=>{(0,o.jN)("calypso_help_courses_click",{is_business_or_ecommerce_plan_user:C,location:"help-center",section:n}),x("webinairs")},className:"inline-help__capture-video"},(0,r.createElement)(l.Z,{icon:d.Z,size:24}),(0,r.createElement)("span",null,__("Webinars","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://wpcourses.com/?ref=wpcom-help-more-resources"),rel:"noreferrer",target:"_blank",className:"inline-help__desktop",onClick:()=>x("courses")},(0,r.createElement)(l.Z,{icon:h.Z,size:24}),(0,r.createElement)("span",null,__("Courses","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)("a",{href:(0,a.aq)("https://learn.wordpress.com"),rel:"noreferrer",target:"_blank",className:"inline-help__format-list-numbered",onClick:()=>x("guides")},(0,r.createElement)(l.Z,{icon:g.Z,size:24}),(0,r.createElement)("span",null,__("Step-by-step guides","full-site-editing")),(0,r.createElement)(l.Z,{icon:p.Z,size:20})))),k&&(0,r.createElement)("li",{className:"inline-help__resource-item"},(0,r.createElement)("div",{className:"inline-help__resource-cell"},(0,r.createElement)(c.Button,{isLink:!0,onClick:()=>(null!=I&&I.has_seen_whats_new_modal||T(!0),O(!0),void x("whats-new")),className:"inline-help__new-releases"},(0,r.createElement)(l.Z,{icon:(0,r.createElement)(E.Z,null),size:24}),(0,r.createElement)("span",null,__("What's new","full-site-editing")),e&&(0,r.createElement)(l.Z,{className:"inline-help__new-releases_dot",icon:S,size:16}),(0,r.createElement)(l.Z,{icon:p.Z,size:20}))))),R&&(0,r.createElement)(u.Z,{onClose:()=>O(!1)}))}},10083:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var r=n(69307),o=n(47498),i=n(55609),s=n(65736);const __=s.__,a={NOT_OWNED_BY_USER:(0,r.createElement)("p",null,__("Your site is linked to another WordPress.com account. If you’re trying to access it, please follow our Account Recovery procedure.","full-site-editing")," "," ",(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/wp-login.php?action=recovery")},__("Learn More","full-site-editing"))),WPCOM:"",WPORG:(0,r.createElement)("p",null,(0,r.createInterpolateElement)(__("Your site is not <hosted_on_our_services>hosted with our services</hosted_on_our_services>. Support for the self-hosted version of WordPress is provided by the <wordpress_org_community_forums>WordPress.org community forums</wordpress_org_community_forums>, or if the problem relates to a specific plugin or theme, contact support for that product instead. If you’re not sure, share your question with a link, and we’ll point you in the right direction!","full-site-editing"),{hosted_on_our_services:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.com/support/com-vs-org/")}),wordpress_org_community_forums:(0,r.createElement)(i.ExternalLink,{href:(0,o.aq)("https://wordpress.org/support/forums/")})})),UNKNOWN:(0,r.createElement)("p",null,__("We couldn't fetch enough information about this site to determine our ability to support you with it.","full-site-editing"))};function u(e){let{ownershipResult:t,isAnalysisLoading:n,userDeclaredSite:o}=e;return n||"WPCOM"===t?"WPCOM"===t?(0,r.createElement)("p",{className:"help-center-notice__positive-feedback"},null==o?void 0:o.name):null:(0,r.createElement)("div",{className:"help-center-notice__container"},(0,r.createElement)("div",null,(0,r.createElement)(i.Icon,{icon:"info-outline"})),a[t])}},90887:function(e,t,n){"use strict";var r=n(7896),o=n(69307),i=n(56399),s=n(34923),a=n(94514),u=n(30849),c=n(47498),l=n(25158),f=n(65736),p=n(5869),d=n(58706),h=n(39739),g=n(92819),m=n(78319),y=n.n(m),v=n(13980),b=n.n(v),w=n(99196),_=n(4792),E=n(66525),S=n(93345),C=n(50118),P=n(19298),k=n(89621),I=n(16193),A=n(56733),T=n(83377),R=n(73041),O=n(77331),x=n(15166);const __=f.__,F=()=>{};function L(e){let{message:t="",priority:n="polite",timeout:r=800}=e;return(0,g.debounce)((()=>{(0,l.speak)(t,n)}),r)}const U=L({message:"Loading search results.",timeout:1500}),Z=L({message:"Search results loaded."}),D=L({message:"No search results found."});function j(e){let{externalLinks:t=!1,onSelect:n,onAdminSectionSelect:l=F,searchQuery:f="",placeholderLines:g,openAdminInNewTab:m=!1,location:v="inline-help-popover"}=e;const b=(0,_.I0)(),{hasPurchases:L,sectionName:j,adminResults:N,isSimpleSite:M}=(0,_.v9)((e=>({hasPurchases:(0,I.Z)(e),sectionName:(0,R.Z)(e),adminResults:(0,k.Z)(e,f,3),isSimpleSite:(0,T.Z)(e)}))),q=["purchases","site-purchases"].includes(j),B=(0,A.P)("site_intent"),H=(0,w.useMemo)((()=>(0,s.r_)(j,B)),[j,B]),V=(0,u.bU)(),$=H.filter(((e,t)=>e||t?()=>!0:e=>111349!==e.post_id)(L,q)),{data:W,isLoading:z}=(0,O.e)(f,V,M),G=W??[],Q=G.length>0;(0,w.useEffect)((()=>{U.cancel(),Z.cancel(),D.cancel(),f&&(z?U():Q?Q&&Z():D())}),[z,Q,f]);const Y=(e,s)=>{const{link:u,title:g,icon:_}=e,E=t&&s!==a.QZ;return(0,o.createElement)(w.Fragment,{key:u??g},(0,o.createElement)("li",{className:"help-center-search-results__item"},(0,o.createElement)("div",{className:"help-center-search-results__cell"},(0,o.createElement)("a",(0,r.Z)({href:(0,c.aq)(u),onClick:t=>{E||t.preventDefault(),((e,t,r)=>{const{link:o}=t;if(r===a.QZ&&o)return b((0,P.jN)("calypso_inlinehelp_admin_section_visit",{link:o,search_term:f,location:v,section:j})),void(/^http/.test(o)||(e.preventDefault(),m?window.open("https://wordpress.com"+o,"_blank"):y()(o),l(e)));n(e,t)})(t,e,s)}},E&&{target:"_blank",rel:"noreferrer"}),(0,o.createElement)((()=>"admin_section"===s?(0,o.createElement)(p.Z,{icon:d.Z}):_?(0,o.createElement)(i.Z,{icon:_}):(0,o.createElement)(p.Z,{icon:h.Z})),null),(0,o.createElement)("span",null,(0,S.R)((0,C.S)(g)))))))},K=e=>{let{type:t,title:n,results:r,condition:i}=e;const s=`inline-search--${t}`;return i?(0,o.createElement)(w.Fragment,{key:s},n?(0,o.createElement)("h3",{id:s,className:"help-center-search-results__title"},n):null,(0,o.createElement)("ul",{className:"help-center-search-results__list","aria-labelledby":n?s:void 0},r.map((e=>Y(e,t))))):null},J=__(Q?"Search Results":"Helpful resources for this section","full-site-editing");return(0,o.createElement)(w.Fragment,null,(0,o.createElement)(E.Z,null),(0,o.createElement)(w.Fragment,null,z&&!G.length&&(0,o.createElement)(x.Z,{lines:g}),!f||Q||z?null:(0,o.createElement)("p",{className:"help-center-search-results__empty-results"},__("Sorry, there were no matches. Here are some of the most searched for help pages for this section:","full-site-editing")),(0,o.createElement)("div",{className:"help-center-search-results__results","aria-label":J},[{type:a.EE,title:__("Recommended resources","full-site-editing"),results:G.slice(0,5),condition:!z&&G.length>0},{type:a.D_,title:f.length?"":__("Recommended resources","full-site-editing"),results:$.slice(0,6),condition:!z&&!G.length&&$.length>0},{type:a.QZ,title:__("Show me where to","full-site-editing"),results:N,condition:!!f&&N.length>0}].map(K))))}j.propTypes={searchQuery:b().string,onSelect:b().func.isRequired,onAdminSectionSelect:b().func},t.Z=j},817:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(69307),o=n(65736),i=n(29175),s=n(71688),a=n(93345),u=n(50118),c=n(62795),l=n(90887),f=(n(6128),n(61108));const __=o.__,p=()=>{const e=(0,i.k6)(),{search:t}=(0,i.TH)(),n=new URLSearchParams(t).get("query"),[o,p]=(0,r.useState)(n||""),d=(0,r.useCallback)(((t,n)=>{t.preventDefault();const r={...n,title:(0,a.R)((0,u.S)(n.title)),query:o};e.push(`/post/?${n.slug}`,r)}),[e,o]);return(0,r.createElement)("div",{className:"inline-help__search"},(0,r.createElement)(s.Z,{searchQuery:o,onSearch:p,location:"help-center",isVisible:!0,placeholder:__("Search for help","full-site-editing")}),o&&(0,r.createElement)(l.Z,{onSelect:d,searchQuery:o,openAdminInNewTab:!0,placeholderLines:4,location:"help-center"}),!o&&(0,r.createElement)(f.e,{message:"",supportSite:void 0}),!o&&(0,r.createElement)(c.r,null))}},61108:function(e,t,n){"use strict";n.d(t,{e:function(){return _}});var r=n(7896),o=n(69307),i=n(14803),s=n(45655),a=n(34923),u=n(30849),c=n(9818),l=n(5869),f=n(39739),p=n(95885),d=n(99196),h=n(4792),g=n(47933),m=n(17127),y=n(73041);const v="automattic/site",b=e=>{let{external:t,fullUrl:n,...i}=e;return t?(0,o.createElement)("a",(0,r.Z)({href:n,target:"_blank",rel:"noreferrer noopener"},i)):(0,o.createElement)(g.rU,i)};function w(e,t){if(e.post_id){const n=new URLSearchParams({postId:e.post_id,query:t,link:e.link??"",title:e.title});e.blog_id&&n.set("blogId",e.blog_id);return{pathname:"/post",search:n.toString()}}return e.link}function _(e){let{message:t="",supportSite:n}=e;const{__:__}=(0,p.QT)(),r=(0,u.bU)(),g=Boolean((0,c.useSelect)((e=>n&&e(v).isSiteAtomic(null==n?void 0:n.ID)))),_=Boolean((0,c.useSelect)((e=>e(v).isJetpackSite(null==n?void 0:n.ID)))),[E]=(0,m.Z)(t||"",500),{data:S}=(0,i.v)(E,_,g),{data:C}=(0,s.B)(null==n?void 0:n.ID),P=(0,h.v9)(y.Z),k=(0,d.useMemo)((()=>null!=S&&S.length?S:(0,a.r_)(P,(null==C?void 0:C.site_intent)??"")),[S,P,null==C?void 0:C.site_intent]);return(0,o.createElement)("div",{className:"help-center-sibyl-articles__container"},(0,o.createElement)("h3",{id:"help-center--contextual_help",className:"help-center__section-title"},__("Recommended resources","full-site-editing")),(0,o.createElement)("ul",{className:"help-center-sibyl-articles__list","aria-labelledby":"help-center--contextual_help"},k.map((e=>{if(!("type"in e)||!["video","tour"].includes(e.type))return(0,o.createElement)("li",{key:e.link},(0,o.createElement)(b,{to:w(e,t),external:"en"!==r,fullUrl:e.link},(0,o.createElement)(l.Z,{icon:f.Z}),e.title))}))))}},55213:function(e,t,n){"use strict";var r=n(69307),o=n(36115),i=n(99706),s=n(9818),a=n(4792),u=n(83377),c=n(20834),l=n(39226),f=n(83822),p=n(98865),d=n(23025),h=n(30250);n(62829);t.Z=e=>{let{handleClose:t}=e;const n=(0,r.useRef)(document.createElement("div")).current,{siteId:g,isSimpleSite:m}=(0,a.v9)((e=>({siteId:(0,c.Z)(e),isSimpleSite:(0,u.Z)(e)}))),y=(0,s.useSelect)((e=>e(d.j).getSite(g))),v=(0,s.useSelect)((e=>e(p.Em).getCurrentUser())),{setDirectlyData:b}=(0,s.useDispatch)(p.aM),{isLoading:w}=(0,i.p)("CHAT",m),{data:_,isLoading:E}=(0,i.p)("OTHER",m);(0,f.A)(),(0,r.useEffect)((()=>{null!=_&&_.is_user_eligible_for_directly&&(0,l.ht)(["onReady",e=>{let{session:t}=e;b({isLoaded:!0,hasSession:t})}])}),[_,b]);const S=!!m&&[!y,!v,E,w].some(Boolean);return(0,r.useEffect)((()=>{n.classList.add("help-center"),n.setAttribute("aria-modal","true"),n.setAttribute("aria-labelledby","header-text"),document.body.appendChild(n);const e=Date.now();return()=>{(0,o.jN)("calypso_helpcenter_activity_time",{elapsed:(Date.now()-e)/1e3}),document.body.removeChild(n),t()}}),[n]),(0,r.createPortal)((0,r.createElement)(h.Z,{handleClose:t,isLoading:S}),n)}},92421:function(e,t,n){"use strict";var r=n(69307);t.Z=e=>{let{newItems:t}=e;return(0,r.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t?(0,r.createElement)(r.Fragment,null,(0,r.createElement)("path",{d:"M 12.75 15.5 L 12.75 17 L 11.25 17 L 11.25 15.5 Z M 9 10.75 C 9.033 9.975 9.377 9.13 9.879 8.629 C 10.38 8.127 11.225 7.75 12 7.75 C 12.775 7.75 13.62 8.127 14.121 8.629 C 14.623 9.13 15 9.975 15 10.75 C 15 11.473 14.672 12.266 14.229 12.758 C 13.873 13.154 13.317 13.474 12.75 13.639 L 12.75 14.5 L 11.25 14.5 L 11.25 13.25 C 11.283 13.026 11.401 12.688 11.534 12.551 C 11.666 12.415 11.971 12.286 12.167 12.241 C 12.593 12.221 12.84 12.059 13.115 11.754 C 13.39 11.448 13.5 11.186 13.5 10.75 C 13.5 10.282 13.373 10.002 13.061 9.689 C 12.748 9.377 12.468 9.25 12 9.25 C 11.532 9.25 11.252 9.377 10.939 9.689 C 10.627 10.002 10.467 10.282 10.5 10.75 Z M 18.187 18.687 C 16.645 20.229 14.362 21.25 12 21.25 C 9.638 21.25 7.355 20.229 5.813 18.687 C 4.271 17.145 3.25 14.862 3.25 12.5 C 3.25 10.138 4.271 7.855 5.813 6.313 C 7.355 4.771 9.638 3.75 12 3.75 C 13.466 3.75 14.902 4.143 16.149 4.811 C 15.836 5.188 15.578 5.612 15.386 6.071 C 14.388 5.538 13.257 5.25 12 5.25 C 9.944 5.25 8.227 6.02 6.873 7.373 C 5.52 8.727 4.75 10.444 4.75 12.5 C 4.75 14.556 5.52 16.273 6.873 17.627 C 8.227 18.98 9.944 19.75 12 19.75 C 14.056 19.75 15.773 18.98 17.127 17.627 C 18.382 16.371 19.135 14.803 19.238 12.942 C 19.486 12.98 19.741 13 20 13 C 20.251 13 20.497 12.982 20.738 12.946 C 20.619 15.147 19.632 17.242 18.187 18.687 Z"}),(0,r.createElement)("circle",{cx:"20",cy:"8",r:"4",fill:"var( --color-masterbar-unread-dot-background )"})):(0,r.createElement)("path",{d:"M 12.75 15.5 L 12.75 17 L 11.25 17 L 11.25 15.5 Z M 9 10.75 C 9.033 9.975 9.377 9.13 9.879 8.629 C 10.38 8.127 11.225 7.75 12 7.75 C 12.775 7.75 13.62 8.127 14.121 8.629 C 14.623 9.13 15 9.975 15 10.75 C 15 11.473 14.672 12.266 14.229 12.758 C 13.873 13.154 13.317 13.474 12.75 13.639 L 12.75 14.5 L 11.25 14.5 L 11.25 13.25 C 11.283 13.026 11.401 12.688 11.534 12.551 C 11.666 12.415 11.971 12.286 12.167 12.241 C 12.593 12.221 12.84 12.059 13.115 11.754 C 13.39 11.448 13.5 11.186 13.5 10.75 C 13.5 10.282 13.373 10.002 13.061 9.689 C 12.748 9.377 12.468 9.25 12 9.25 C 11.532 9.25 11.252 9.377 10.939 9.689 C 10.627 10.002 10.467 10.282 10.5 10.75 Z M 20.75 12.5 C 20.75 14.862 19.729 17.145 18.187 18.687 C 16.645 20.229 14.362 21.25 12 21.25 C 9.638 21.25 7.355 20.229 5.813 18.687 C 4.271 17.145 3.25 14.862 3.25 12.5 C 3.25 10.138 4.271 7.855 5.813 6.313 C 7.355 4.771 9.638 3.75 12 3.75 C 14.362 3.75 16.645 4.771 18.187 6.313 C 19.729 7.855 20.75 10.138 20.75 12.5 Z M 17.127 7.373 C 15.773 6.02 14.056 5.25 12 5.25 C 9.944 5.25 8.227 6.02 6.873 7.373 C 5.52 8.727 4.75 10.444 4.75 12.5 C 4.75 14.556 5.52 16.273 6.873 17.627 C 8.227 18.98 9.944 19.75 12 19.75 C 14.056 19.75 15.773 18.98 17.127 17.627 C 18.48 16.273 19.25 14.556 19.25 12.5 C 19.25 10.444 18.48 8.727 17.127 7.373 Z"}))}},15166:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(69307);n(25827);function o(e){let{lines:t=4}=e;return(0,r.createElement)("div",{className:"placeholder-lines__help-center"},Array.from({length:t},((e,t)=>(0,r.createElement)("div",{key:t,className:"placeholder-lines__help-center-item"}))))}},69309:function(e,t,n){"use strict";n.d(t,{t:function(){return o}});var r=n(69307);const o=()=>(0,r.createElement)("svg",{width:"70",height:"70",viewBox:"0 0 70 70",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M68.6749 34.9921C68.6749 43.7173 65.2099 52.0854 59.0417 58.2565C52.8736 64.4276 44.5072 67.8966 35.782 67.9008C29.2051 58.6978 25.5391 47.734 25.2577 36.426C24.9764 25.118 28.0925 13.9855 34.2036 4.46683L35.782 2.0835C44.5072 2.08768 52.8736 5.55667 59.0417 11.7278C65.2099 17.8989 68.6749 26.2669 68.6749 34.9921Z",fill:"#EFEFEF"}),(0,r.createElement)("path",{d:"M68.6745 34.9922C68.6745 43.9211 65.1275 52.4843 58.8139 58.798C52.5002 65.1116 43.9371 68.6586 35.0082 68.6586C26.0793 68.6586 17.5162 65.1116 11.2025 58.798C4.88884 52.4843 1.34188 43.9211 1.34188 34.9922C1.33725 32.9271 1.52752 30.866 1.91011 28.8366C3.44563 20.5851 8.00795 13.2047 14.7026 8.14248C21.3972 3.08021 29.7414 0.701285 38.0991 1.47185C46.4568 2.24242 54.2252 6.10701 59.8814 12.308C65.5376 18.509 68.6736 26.5991 68.6745 34.9922V34.9922Z",stroke:"#003A5F",strokeWidth:"1.68",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.createElement)("path",{d:"M23.334 37.9118L31.5091 45.0617L47.1664 23.675",stroke:"#003A5F",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round"}))},94509:function(e,t,n){"use strict";n.d(t,{k:function(){return f}});var r=n(69307),o=n(36115),i=n(95885),s=(n(99196),n(4792)),a=n(29175),u=n(73041),c=n(40495),l=n(69309);const f=()=>{const{__:__}=(0,i.QT)(),{search:e}=(0,a.TH)(),t=(0,s.v9)(u.Z),n=new URLSearchParams(e).get("forumTopic");return(0,r.createElement)("div",null,(0,r.createElement)(c.x,{backToRoot:!0}),(0,r.createElement)("div",{className:"ticket-success-screen__help-center"},(0,r.createElement)(l.t,null),(0,r.createElement)("h1",{className:"ticket-success-screen__help-center-heading"},__("We're on it!","full-site-editing")),n?(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("Your message has been submitted to our community forums.","full-site-editing")," ",(0,r.createElement)("a",{target:"_blank",rel:"noopener noreferrer",onClick:()=>(0,o.jN)("calypso_inlinehelp_forums_open",{location:"help-center",section:t}),href:n},__("View the forums topic here.","full-site-editing"))):(0,r.createElement)("p",{className:"ticket-success-screen__help-center-message"},__("We've received your message, and you'll hear back from one of our Happiness Engineers shortly.","full-site-editing"))))}},24478:function(e,t,n){"use strict";n.d(t,{O:function(){return s}});var r=n(69307),o=n(99196);const i=o.createContext(void 0),s=function(e){let t,{children:n}=e;return t="undefined"==typeof helpCenterFeatureFlags?void 0:helpCenterFeatureFlags,(0,r.createElement)(i.Provider,{value:t},n)}},39226:function(e,t,n){"use strict";n.d(t,{ht:function(){return i},SW:function(){return c}});var r=n(20899),o=n(84898);n(23980);async function i(e){return await u(),window.DirectlyRTM(...e)}let s;let a=!1;function u(){return a||(a=!0,window.DirectlyRTM||(window.DirectlyRTM=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];window.DirectlyRTM.cq?window.DirectlyRTM.cq.push(...t):window.DirectlyRTM.cq=t}),window.DirectlyRTM(["config",{id:(0,r.ZP)("directly_rtm_widget_ids")[(0,r.ZP)("directly_rtm_widget_environment")],displayAskQuestion:!0}]),function(){if(null!==document.getElementById("directlyRTMScript"))return;const e=document.createElement("img");e.id="directlyRTMScript",e.src="https://www.directly.com",document.body.appendChild(e)}(),s=(0,o.ve)("https://widgets.wp.com/directly/embed.js")),s}async function c(e,t,n){return await i(["navigate","/ask"]),i(["askQuestion",{questionText:e,name:t,email:n}])}},71645:function(e,t,n){"use strict";n.d(t,{g:function(){return l}});var r=n(61082),o=n(9818),i=n(99196),s=n(82066),a=n(4792),u=n(20834),c=n(98865);function l(e,t){const{selectedSite:n,subject:l,message:f,userDeclaredSite:p}=(0,o.useSelect)((e=>({selectedSite:e(c.aM).getSite(),userDeclaredSite:e(c.aM).getUserDeclaredSite(),subject:e(c.aM).getSubject(),message:e(c.aM).getMessage()}))),d=(0,a.v9)(u.Z),h=(0,o.useSelect)((e=>e(c.j4).getSite(d)),[d]),g=(0,s.useQueryClient)(),m=n||p||h,{resetStore:y}=(0,o.useDispatch)(c.aM);(0,r.Z)(),(0,i.useEffect)((()=>{const n=r=>{if("https://widgets.wp.com"===r.origin){const{data:s}=r;switch(s.type){case"calypso-happy-chat-unread-messages":t(s.state);break;case"window-state-change":e(s.state),"ended"===s.state&&(window.removeEventListener("message",n),y());break;case"happy-chat-introduction-data":var o,i;null===(o=r.source)||void 0===o||o.postMessage({type:"happy-chat-introduction-data",siteId:null==m?void 0:m.ID.toString(),subject:l,message:f,planSlug:null==m||null===(i=m.plan)||void 0===i?void 0:i.product_slug,siteUrl:null==m?void 0:m.URL},{targetOrigin:r.origin});break;case"happy-chat-authentication-data":g.fetchQuery("getHappychatAuth").then((e=>{var t;null===(t=r.source)||void 0===t||t.postMessage({type:"happy-chat-authentication-data",authData:e},{targetOrigin:r.origin})}))}}};return window.addEventListener("message",n),()=>{window.removeEventListener("message",n)}}),[e,t,g,m,l,f,y])}},77331:function(e,t,n){"use strict";n.d(t,{e:function(){return u}});var r=n(86989),o=n.n(r),i=n(82066),s=n(18552),a=n(97006);const u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const u=(0,i.useQueryClient)();return(0,i.useQuery)(["help",e],(()=>(0,a.DS)(n)?(0,s.ZP)({path:`help/search/wpcom?query=${e}&locale=${t}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):o()({global:!0,path:`/wpcom/v2/help-center/search?query=${e}&locale=${t}`})),{onSuccess:async t=>{if(!t[0].content){const r=await Promise.all(t.map((async e=>{const t=(0,a.DS)(n)?await(0,s.ZP)({path:`help/article/${e.blog_id}/${e.post_id}`,apiNamespace:"wpcom/v2/",apiVersion:"2"}):await o()({global:!0,path:`/wpcom/v2/help-center/fetch-post?blog_id=${e.blog_id}&post_id=${e.post_id}`});return{...e,content:t.content}})));u.setQueryData(["help",e],r)}},refetchOnWindowFocus:!1,refetchOnMount:!1,enabled:!!e,...r})}},97878:function(e,t,n){"use strict";n.d(t,{v:function(){return i}});var r=n(99706),o=n(89645);function i(){const{data:e}=(0,r.p)("CHAT"),{available:t,isLoading:n}=(0,o.Z)();return null!=e&&e.is_user_eligible?null!=e&&e.is_chat_closed?{render:!0,state:"CLOSED",isLoading:n}:t?{render:!0,state:"AVAILABLE",isLoading:n}:{render:!0,state:"UNAVAILABLE",isLoading:n}:{render:!1,isLoading:n}}},82513:function(e,t,n){"use strict";n.d(t,{X:function(){return o}});var r=n(99706);function o(){const{data:e}=(0,r.p)("OTHER");return!!(null!=e&&e.is_user_eligible_for_tickets||null!=e&&e.is_user_eligible_for_upwork)}},83822:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(63830),o=n(99706),i=n(4792),s=n(83377),a=n(97006);function u(){const{hasCookies:e}=(0,r.O)(),t=(0,i.v9)((e=>(0,s.Z)(e))),n=Boolean((0,a.DS)(t)),{data:u}=(0,o.p)("OTHER",n),c=!(null!=u&&u.is_user_eligible_for_tickets);return n?c?null!=u&&u.is_user_eligible_for_directly&&e?"/contact-form?mode=DIRECTLY":"/contact-form?mode=FORUM":"/contact-options":"https://wordpress.com/help/contact"}},67605:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},(0,r.createElement)("path",{d:"M18 6.75H6C5.30964 6.75 4.75 7.30964 4.75 8V16C4.75 16.6904 5.30964 17.25 6 17.25H18C18.6904 17.25 19.25 16.6904 19.25 16V8C19.25 7.30964 18.6904 6.75 18 6.75Z",stroke:"#fff",strokeWidth:"1.5",fill:"transparent"}),(0,r.createElement)("path",{d:"M5 7L12 13L19 7",stroke:"#fff",fill:"transparent",strokeWidth:"1.5"}))},51519:function(e,t,n){"use strict";var r=n(69307);t.Z=()=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",height:"24",width:"24"},(0,r.createElement)("path",{d:"M0 0h24v24H0V0z",fill:"none"}),(0,r.createElement)("path",{d:"M23 12l-2.44-2.78.34-3.68-3.61-.82-1.89-3.18L12 3 8.6 1.54 6.71 4.72l-3.61.81.34 3.68L1 12l2.44 2.78-.34 3.69 3.61.82 1.89 3.18L12 21l3.4 1.46 1.89-3.18 3.61-.82-.34-3.68L23 12zm-4.51 2.11l.26 2.79-2.74.62-1.43 2.41L12 18.82l-2.58 1.11-1.43-2.41-2.74-.62.26-2.8L3.66 12l1.85-2.12-.26-2.78 2.74-.61 1.43-2.41L12 5.18l2.58-1.11 1.43 2.41 2.74.62-.26 2.79L20.34 12l-1.85 2.11zM11 15h2v2h-2zm0-8h2v6h-2z"}))},98865:function(e,t,n){"use strict";n.d(t,{aM:function(){return s},Em:function(){return a},j4:function(){return u}});var r=n(17624),o=n(88330),i=n(52369);const s=r.z(),a=o.z({client_id:"",client_secret:""}),u=i.z2({client_id:"",client_secret:""})},44241:function(e,t,n){"use strict";n.d(t,{yQ:function(){return r}});const r=e=>{switch(e){case"CHAT":return"SUPPORT_HAPPYCHAT";case"EMAIL":return"SUPPORT_TICKET";case"FORUM":return"SUPPORT_FORUM";case"DIRECTLY":return"SUPPORT_DIRECTLY";case"UPWORK":return"SUPPORT_UPWORK_TICKET"}}},97006:function(e,t,n){"use strict";n.d(t,{DS:function(){return o}});const r=["https://wordpress.com","https://cloud.jetpack.com","http://wpcalypso.wordpress.com","http://widgets.wp.com","https://widgets.wp.com","https://dev-mc.a8c.com","https://mc.a8c.com","https://dserve.a8c.com","http://calypso.localhost:3000","https://calypso.localhost:3000","http://jetpack.cloud.localhost:3000","https://jetpack.cloud.localhost:3000","http://calypso.localhost:3001","https://calypso.localhost:3001","https://calypso.live","http://127.0.0.1:41050","http://send.linguine.localhost:3000"];function o(e){return e||(t=window.location.origin,r.includes(t)||t.match(/^https:\/\/[a-z0-9-]+\.calypso\.live$/)||t.match(/^https:\/\/([a-z0-9-]+\.)+wordpress\.com$/));var t}},8057:function(e,t,n){"use strict";var r=n(99196),o=n(94724);t.Z=(0,r.createContext)(o.Z)},94724:function(e,t,n){"use strict";var r=n(50914);t.Z=new r.Z},50914:function(e,t,n){"use strict";var r=n(22699),o=n(32594),i=n(96668),s=n(38049),a=n.n(s),u=n(35079),c=n.n(u),l=n(7839),f=n.n(l),p=n(49830),d=n(10003);const h=a()("i18n-calypso"),g="number_format_decimals",m="number_format_thousands_sep",y="messages",v=[function(e){return e}],b={};function w(){P.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 E(e){const 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));let n={};for(let 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 C(e,t){for(let n=v.length-1;n>=0;n--){const r=v[n](Object.assign({},t)),o=r.context?r.context+""+r.original:r.original;if(e.state.locale[o])return S(e.state.tannin,r)}return null}function P(){if(!(this instanceof P))return new P;this.defaultLocaleSlug="en",this.defaultPluralForms=e=>1===e?0:1,this.state={numberFormatSettings:{},tannin:void 0,locale:void 0,localeSlug:void 0,localeVariant:void 0,textDirection:void 0,translations:f()({max:100})},this.componentUpdateHooks=[],this.translateHooks=[],this.stateObserver=new r.EventEmitter,this.stateObserver.setMaxListeners(0),this.configure()}P.throwErrors=!1,P.prototype.on=function(){this.stateObserver.on(...arguments)},P.prototype.off=function(){this.stateObserver.off(...arguments)},P.prototype.emit=function(){this.stateObserver.emit(...arguments)},P.prototype.numberFormat=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="number"==typeof t?t:t.decimals||0,r=t.decPoint||this.state.numberFormatSettings.decimal_point||".",o=t.thousandsSep||this.state.numberFormatSettings.thousands_sep||",";return(0,d.Z)(e,n,r,o)},P.prototype.configure=function(e){Object.assign(this,e||{}),this.setLocale()},P.prototype.setLocale=function(e){var t,n,r;if(e&&e[""]&&e[""]["key-hash"]){const t=e[""]["key-hash"],n=function(e,t){const n=!1===t?"":String(t);if(void 0!==b[n+e])return b[n+e];const r=c()().update(e).digest("hex");return b[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)v.push(r(!1));else{const e=t.substr(5).indexOf("-");if(e<0){const e=Number(t.substr(5));v.push(r(e))}else{const n=Number(t.substr(5,e)),o=Number(t.substr(6+e));for(let e=n;e<=o;e++)v.push(r(e))}}}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.localeVariant=this.state.locale[""].localeVariant,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 p.Z({[y]:this.state.locale}),this.state.numberFormatSettings.decimal_point=S(this.state.tannin,E([g])),this.state.numberFormatSettings.thousands_sep=S(this.state.tannin,E([m])),this.state.numberFormatSettings.decimal_point===g&&(this.state.numberFormatSettings.decimal_point="."),this.state.numberFormatSettings.thousands_sep===m&&(this.state.numberFormatSettings.thousands_sep=","),this.stateObserver.emit("change")},P.prototype.getLocale=function(){return this.state.locale},P.prototype.getLocaleSlug=function(){return this.state.localeSlug},P.prototype.getLocaleVariant=function(){return this.state.localeVariant},P.prototype.isRtl=function(){return"rtl"===this.state.textDirection},P.prototype.addTranslations=function(e){for(const t in e)""!==t&&(this.state.tannin.data.messages[t]=e[t]);this.stateObserver.emit("change")},P.prototype.hasTranslation=function(){return!!C(this,E(arguments))},P.prototype.translate=function(){const e=E(arguments);let t=C(this,e);if(t||(t=S(this.state.tannin,e)),e.args){const r=Array.isArray(e.args)?e.args.slice(0):[e.args];r.unshift(t);try{t=(0,i.Z)(...r)}catch(n){if(!window||!window.console)return;const e=this.throwErrors?"error":"warn";"string"!=typeof n?window.console[e](n):window.console[e]("i18n sprintf error:",r)}}return e.components&&(t=(0,o.Z)({mixedString:t,components:e.components,throwErrors:this.throwErrors})),this.translateHooks.forEach((function(n){t=n(t,e)})),t},P.prototype.reRenderTranslations=function(){h("Re-rendering all translations due to external request"),this.stateObserver.emit("change")},P.prototype.registerComponentUpdateHook=function(e){this.componentUpdateHooks.push(e)},P.prototype.registerTranslateHook=function(e){this.translateHooks.push(e)},t.Z=P},11481:function(e,t,n){"use strict";n.d(t,{Iu:function(){return o},Yj:function(){return i}});var r=n(94724);t.ZP=r.Z;r.Z.numberFormat.bind(r.Z);const o=r.Z.translate.bind(r.Z),i=(r.Z.configure.bind(r.Z),r.Z.setLocale.bind(r.Z),r.Z.getLocale.bind(r.Z),r.Z.getLocaleSlug.bind(r.Z));r.Z.getLocaleVariant.bind(r.Z),r.Z.isRtl.bind(r.Z),r.Z.addTranslations.bind(r.Z),r.Z.reRenderTranslations.bind(r.Z),r.Z.registerComponentUpdateHook.bind(r.Z),r.Z.registerTranslateHook.bind(r.Z),r.Z.state,r.Z.stateObserver,r.Z.on.bind(r.Z),r.Z.off.bind(r.Z),r.Z.emit.bind(r.Z)},10003:function(e,t,n){"use strict";function r(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");const o=isFinite(+e)?+e:0,i=isFinite(+t)?Math.abs(t):0,s=void 0===r?",":r,a=void 0===n?".":n;let u="";return u=(i?
|
44 |
/*
|
45 |
* Exposes number format capability
|
46 |
*
|
help-center/dist/help-center.min.js.map
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"version":3,"file":"help-center.min.js","mappings":"gIAsBe,SAASA,EAASC,GAChC,IAAIC,GAAQ,OAASD,GAErB,OAAO,SAAUE,GAChB,OAAO,OAAUD,EAAOC,M,iECrB1B,IAAIC,EAAY,CACf,IAAK,SAAUC,GACd,OAASA,GAEV,IAAK,SAAUA,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,KAAM,SAAUD,EAAGC,GAClB,OAAOD,GAAKC,GAEb,IAAK,SAAUD,EAAGC,GACjB,OAAOD,EAAIC,GAEZ,KAAM,SAAUD,EAAGC,GAClB,OAAOD,GAAKC,GAEb,KA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