Version Description
Release Date: June 29th, 2021
Yoast SEO 16.6 comes with a new round of improvements and fixes. Weve updated the analysis to exclude sentences inside tables and table captions from the consecutive sentences assessment. Enjoy! Read more about whats new in Yoast SEO 16.6 in our release post!
Enhancements:
- Updates
SearchAction
schema to comply with Google's updated specification. - Excludes sentences inside tables and table captions from the consecutive sentences assessment.
- Adds adjacent relative links (
rel="prev"
andrel="next"
) for WooCommerce shop pages. Props to stodorovic. - Adds increased compatibility for LiteSpeed web servers. Props to J-Rey.
- Adds adjacent relative links for WooCommerce shop pages. Props to stodorovic.
Bugfixes:
- Fixes a bug where an error would be shown on the page overview and post overview when the website's MySQL database was run in ANSI-mode. Props to stodorovic.
- Fixes a bug where shortcodes would be removed from the Open Graph description even when they were explicitly added. Props to Lomerill.
- Fixes a bug where using the
wpseo_schema_{@type}
filter would result in a fatal error. - Fixes a bug where the last breadcrumb item was stripped in breadcrumb Schema output on subsequent pages of a static posts page.
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 16.6 |
Comparing to | |
See all releases |
Code changes from version 16.5 to 16.6
- admin/class-admin-asset-manager.php +0 -4
- admin/class-bulk-editor-list-table.php +41 -45
- admin/class-gutenberg-compatibility.php +2 -2
- admin/filters/class-cornerstone-filter.php +7 -8
- admin/menu/class-admin-menu.php +34 -31
- admin/menu/class-base-menu.php +0 -10
- admin/metabox/class-metabox.php +0 -3
- admin/taxonomy/class-taxonomy.php +0 -1
- css/dist/{admin-global-1650-rtl.css → admin-global-1660-rtl.css} +1 -1
- css/dist/{admin-global-1650.css → admin-global-1660.css} +1 -1
- css/dist/{adminbar-1650-rtl.css → adminbar-1660-rtl.css} +0 -0
- css/dist/{adminbar-1650.css → adminbar-1660.css} +0 -0
- css/dist/{alerts-1650-rtl.css → alerts-1660-rtl.css} +0 -0
- css/dist/{alerts-1650.css → alerts-1660.css} +0 -0
- css/dist/badge-1650-rtl.css +0 -1
- css/dist/badge-1650.css +0 -1
- css/dist/{dashboard-1650-rtl.css → dashboard-1660-rtl.css} +0 -0
- css/dist/{dashboard-1650.css → dashboard-1660.css} +0 -0
- css/dist/{edit-page-1650-rtl.css → edit-page-1660-rtl.css} +0 -0
- css/dist/{edit-page-1650.css → edit-page-1660.css} +0 -0
- css/dist/{elementor-1650-rtl.css → elementor-1660-rtl.css} +0 -0
- css/dist/{elementor-1650.css → elementor-1660.css} +0 -0
- css/dist/{featured-image-1650-rtl.css → featured-image-1660-rtl.css} +0 -0
- css/dist/{featured-image-1650.css → featured-image-1660.css} +0 -0
- css/dist/{filter-explanation-1650-rtl.css → filter-explanation-1660-rtl.css} +0 -0
- css/dist/{filter-explanation-1650.css → filter-explanation-1660.css} +0 -0
- css/dist/{icons-1650-rtl.css → icons-1660-rtl.css} +0 -0
- css/dist/{icons-1650.css → icons-1660.css} +0 -0
- css/dist/{inside-editor-1650-rtl.css → inside-editor-1660-rtl.css} +0 -0
- css/dist/{inside-editor-1650.css → inside-editor-1660.css} +0 -0
- css/dist/{metabox-1650-rtl.css → metabox-1660-rtl.css} +0 -0
- css/dist/{metabox-1650.css → metabox-1660.css} +0 -0
- css/dist/{metabox-primary-category-1650-rtl.css → metabox-primary-category-1660-rtl.css} +0 -0
- css/dist/{metabox-primary-category-1650.css → metabox-primary-category-1660.css} +0 -0
- css/dist/{modal-1650-rtl.css → modal-1660-rtl.css} +0 -0
- css/dist/{modal-1650.css → modal-1660.css} +0 -0
- css/dist/{monorepo-1650-rtl.css → monorepo-1660-rtl.css} +0 -0
- css/dist/{monorepo-1650.css → monorepo-1660.css} +0 -0
- css/dist/{notifications-1650-rtl.css → notifications-1660-rtl.css} +0 -0
- css/dist/{notifications-1650.css → notifications-1660.css} +0 -0
- css/dist/{schema-blocks-1650-rtl.css → schema-blocks-1660-rtl.css} +0 -0
- css/dist/{schema-blocks-1650.css → schema-blocks-1660.css} +0 -0
- css/dist/{score_icon-1650-rtl.css → score_icon-1660-rtl.css} +0 -0
- css/dist/{score_icon-1650.css → score_icon-1660.css} +0 -0
- css/dist/{search-appearance-1650-rtl.css → search-appearance-1660-rtl.css} +0 -0
- css/dist/{search-appearance-1650.css → search-appearance-1660.css} +0 -0
- css/dist/{structured-data-blocks-1650-rtl.css → structured-data-blocks-1660-rtl.css} +0 -0
- css/dist/{structured-data-blocks-1650.css → structured-data-blocks-1660.css} +0 -0
- css/dist/{toggle-switch-1650-rtl.css → toggle-switch-1660-rtl.css} +0 -0
- css/dist/{toggle-switch-1650.css → toggle-switch-1660.css} +0 -0
- css/dist/{wpseo-dismissible-1650-rtl.css → wpseo-dismissible-1660-rtl.css} +0 -0
- css/dist/{wpseo-dismissible-1650.css → wpseo-dismissible-1660.css} +0 -0
- css/dist/{yoast-components-1650-rtl.css → yoast-components-1660-rtl.css} +0 -0
- css/dist/{yoast-components-1650.css → yoast-components-1660.css} +0 -0
- css/dist/{yoast-extensions-1650-rtl.css → yoast-extensions-1660-rtl.css} +0 -0
- css/dist/{yoast-extensions-1650.css → yoast-extensions-1660.css} +0 -0
- css/dist/{yst_plugin_tools-1650-rtl.css → yst_plugin_tools-1660-rtl.css} +0 -0
- css/dist/{yst_plugin_tools-1650.css → yst_plugin_tools-1660.css} +0 -0
- css/dist/{yst_seo_score-1650-rtl.css → yst_seo_score-1660-rtl.css} +0 -0
- css/dist/{yst_seo_score-1650.css → yst_seo_score-1660.css} +0 -0
- inc/class-wpseo-utils.php +11 -10
- js/dist/addon-installation-1650.js +0 -5
- js/dist/addon-installation-1660.js +5 -0
- js/dist/{admin-global-1650.js → admin-global-1660.js} +1 -1
- js/dist/{analysis-worker-1650.js → analysis-worker-1660.js} +1 -1
- js/dist/{api-client-1650.js → api-client-1660.js} +1 -1
- js/dist/{block-editor-1650.js → block-editor-1660.js} +10 -10
- js/dist/{bulk-editor-1650.js → bulk-editor-1660.js} +1 -1
- js/dist/{classic-editor-1650.js → classic-editor-1660.js} +13 -13
- js/dist/configuration-wizard-1650.js +0 -5
- js/dist/configuration-wizard-1660.js +5 -0
- js/dist/{dashboard-widget-1650.js → dashboard-widget-1660.js} +1 -1
- js/dist/{dynamic-blocks-1650.js → dynamic-blocks-1660.js} +1 -1
- js/dist/{edit-page-1650.js → edit-page-1660.js} +1 -1
- js/dist/{editor-modules-1650.js → editor-modules-1660.js} +3 -3
- js/dist/{elementor-1650.js → elementor-1660.js} +1 -1
admin/class-admin-asset-manager.php
CHANGED
@@ -512,10 +512,6 @@ class WPSEO_Admin_Asset_Manager {
|
|
512 |
'name' => 'alert',
|
513 |
'src' => 'alerts-' . $flat_version,
|
514 |
],
|
515 |
-
[
|
516 |
-
'name' => 'badge',
|
517 |
-
'src' => 'badge-' . $flat_version,
|
518 |
-
],
|
519 |
[
|
520 |
'name' => 'edit-page',
|
521 |
'src' => 'edit-page-' . $flat_version,
|
512 |
'name' => 'alert',
|
513 |
'src' => 'alerts-' . $flat_version,
|
514 |
],
|
|
|
|
|
|
|
|
|
515 |
[
|
516 |
'name' => 'edit-page',
|
517 |
'src' => 'edit-page-' . $flat_version,
|
admin/class-bulk-editor-list-table.php
CHANGED
@@ -268,20 +268,19 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
268 |
|
269 |
$status_links = [];
|
270 |
|
271 |
-
$states
|
272 |
-
$states = esc_sql( $states );
|
273 |
-
$all_states = "'" . implode( "', '", $states ) . "'";
|
274 |
-
|
275 |
$subquery = $this->get_base_subquery();
|
276 |
|
277 |
$total_posts = $wpdb->get_var(
|
278 |
-
|
279 |
-
|
280 |
-
WHERE post_status IN (
|
281 |
-
|
|
|
|
|
|
|
282 |
);
|
283 |
|
284 |
-
|
285 |
$post_status = filter_input( INPUT_GET, 'post_status' );
|
286 |
$current_link_attributes = empty( $post_status ) ? ' class="current" aria-current="page"' : '';
|
287 |
$localized_text = sprintf(
|
@@ -323,10 +322,9 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
323 |
unset( $post_stati, $status, $status_name, $total, $current_link_attributes );
|
324 |
|
325 |
$trashed_posts = $wpdb->get_var(
|
|
|
|
|
326 |
"
|
327 |
-
SELECT COUNT(ID) FROM {$subquery}
|
328 |
-
WHERE post_status IN ('trash')
|
329 |
-
"
|
330 |
);
|
331 |
|
332 |
$current_link_attributes = '';
|
@@ -372,17 +370,17 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
372 |
|
373 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
374 |
$states['trash'] = 'trash';
|
375 |
-
$states = esc_sql( $states );
|
376 |
-
$all_states = "'" . implode( "', '", $states ) . "'";
|
377 |
|
378 |
$subquery = $this->get_base_subquery();
|
379 |
|
380 |
$post_types = $wpdb->get_results(
|
381 |
-
|
382 |
-
|
383 |
-
WHERE post_status IN (
|
384 |
-
|
385 |
-
|
|
|
|
|
386 |
);
|
387 |
|
388 |
$post_type_filter = filter_input( INPUT_GET, 'post_type_filter' );
|
@@ -533,15 +531,13 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
533 |
*/
|
534 |
protected function count_items( $subquery, $all_states, $post_type_clause ) {
|
535 |
global $wpdb;
|
536 |
-
|
|
|
|
|
|
|
|
|
537 |
"
|
538 |
-
SELECT COUNT(ID)
|
539 |
-
FROM {$subquery}
|
540 |
-
WHERE post_status IN ({$all_states}) $post_type_clause
|
541 |
-
"
|
542 |
);
|
543 |
-
|
544 |
-
return $total_items;
|
545 |
}
|
546 |
|
547 |
/**
|
@@ -620,7 +616,7 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
620 |
|
621 |
// Get all needed results.
|
622 |
$query = "
|
623 |
-
|
624 |
FROM {$subquery}
|
625 |
WHERE post_status IN ({$all_states}) $post_type_clause
|
626 |
ORDER BY {$orderby} {$order}
|
@@ -691,6 +687,8 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
691 |
* @return string
|
692 |
*/
|
693 |
protected function get_all_states() {
|
|
|
|
|
694 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
695 |
$states['trash'] = 'trash';
|
696 |
|
@@ -705,10 +703,10 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
705 |
}
|
706 |
}
|
707 |
|
708 |
-
$
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
}
|
713 |
|
714 |
/**
|
@@ -937,38 +935,36 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
937 |
/**
|
938 |
* Getting all post_ids from to $this->items.
|
939 |
*
|
940 |
-
* @return
|
941 |
*/
|
942 |
protected function get_post_ids() {
|
943 |
-
$
|
944 |
foreach ( $this->items as $item ) {
|
945 |
-
$
|
946 |
}
|
947 |
|
948 |
-
$post_ids = "'" . implode( "', '", $needed_ids ) . "'";
|
949 |
-
|
950 |
return $post_ids;
|
951 |
}
|
952 |
|
953 |
/**
|
954 |
* Getting the meta_data from database.
|
955 |
*
|
956 |
-
* @param
|
957 |
*
|
958 |
* @return mixed
|
959 |
*/
|
960 |
-
protected function get_meta_data_result( $post_ids ) {
|
961 |
global $wpdb;
|
962 |
|
963 |
-
$
|
964 |
-
|
965 |
-
|
966 |
-
FROM {$wpdb->postmeta}
|
967 |
-
WHERE post_id IN({$post_ids}) AND meta_key = '" . WPSEO_Meta::$meta_prefix . $this->target_db_field . "'
|
968 |
-
"
|
969 |
);
|
970 |
|
971 |
-
|
|
|
|
|
|
|
972 |
}
|
973 |
|
974 |
/**
|
268 |
|
269 |
$status_links = [];
|
270 |
|
271 |
+
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
|
|
|
|
|
|
272 |
$subquery = $this->get_base_subquery();
|
273 |
|
274 |
$total_posts = $wpdb->get_var(
|
275 |
+
$wpdb->prepare(
|
276 |
+
"SELECT COUNT(ID) FROM {$subquery}
|
277 |
+
WHERE post_status IN (" .
|
278 |
+
implode( ', ', array_fill( 0, count( $states ), '%s' ) ) .
|
279 |
+
')',
|
280 |
+
$states
|
281 |
+
)
|
282 |
);
|
283 |
|
|
|
284 |
$post_status = filter_input( INPUT_GET, 'post_status' );
|
285 |
$current_link_attributes = empty( $post_status ) ? ' class="current" aria-current="page"' : '';
|
286 |
$localized_text = sprintf(
|
322 |
unset( $post_stati, $status, $status_name, $total, $current_link_attributes );
|
323 |
|
324 |
$trashed_posts = $wpdb->get_var(
|
325 |
+
"SELECT COUNT(ID) FROM {$subquery}
|
326 |
+
WHERE post_status IN ('trash')
|
327 |
"
|
|
|
|
|
|
|
328 |
);
|
329 |
|
330 |
$current_link_attributes = '';
|
370 |
|
371 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
372 |
$states['trash'] = 'trash';
|
|
|
|
|
373 |
|
374 |
$subquery = $this->get_base_subquery();
|
375 |
|
376 |
$post_types = $wpdb->get_results(
|
377 |
+
$wpdb->prepare(
|
378 |
+
"SELECT DISTINCT post_type FROM {$subquery}
|
379 |
+
WHERE post_status IN (" .
|
380 |
+
implode( ', ', array_fill( 0, count( $states ), '%s' ) ) .
|
381 |
+
') ORDER BY post_type ASC',
|
382 |
+
$states
|
383 |
+
)
|
384 |
);
|
385 |
|
386 |
$post_type_filter = filter_input( INPUT_GET, 'post_type_filter' );
|
531 |
*/
|
532 |
protected function count_items( $subquery, $all_states, $post_type_clause ) {
|
533 |
global $wpdb;
|
534 |
+
|
535 |
+
return (int) $wpdb->get_var(
|
536 |
+
"SELECT COUNT(ID) FROM {$subquery}
|
537 |
+
WHERE post_status IN ({$all_states})
|
538 |
+
{$post_type_clause}
|
539 |
"
|
|
|
|
|
|
|
|
|
540 |
);
|
|
|
|
|
541 |
}
|
542 |
|
543 |
/**
|
616 |
|
617 |
// Get all needed results.
|
618 |
$query = "
|
619 |
+
SELECT ID, post_title, post_type, post_status, post_modified, post_date
|
620 |
FROM {$subquery}
|
621 |
WHERE post_status IN ({$all_states}) $post_type_clause
|
622 |
ORDER BY {$orderby} {$order}
|
687 |
* @return string
|
688 |
*/
|
689 |
protected function get_all_states() {
|
690 |
+
global $wpdb;
|
691 |
+
|
692 |
$states = get_post_stati( [ 'show_in_admin_all_list' => true ] );
|
693 |
$states['trash'] = 'trash';
|
694 |
|
703 |
}
|
704 |
}
|
705 |
|
706 |
+
return $wpdb->prepare(
|
707 |
+
implode( ', ', array_fill( 0, count( $states ), '%s' ) ),
|
708 |
+
$states
|
709 |
+
);
|
710 |
}
|
711 |
|
712 |
/**
|
935 |
/**
|
936 |
* Getting all post_ids from to $this->items.
|
937 |
*
|
938 |
+
* @return array
|
939 |
*/
|
940 |
protected function get_post_ids() {
|
941 |
+
$post_ids = [];
|
942 |
foreach ( $this->items as $item ) {
|
943 |
+
$post_ids[] = $item->ID;
|
944 |
}
|
945 |
|
|
|
|
|
946 |
return $post_ids;
|
947 |
}
|
948 |
|
949 |
/**
|
950 |
* Getting the meta_data from database.
|
951 |
*
|
952 |
+
* @param array $post_ids Post IDs for SQL IN part.
|
953 |
*
|
954 |
* @return mixed
|
955 |
*/
|
956 |
+
protected function get_meta_data_result( array $post_ids ) {
|
957 |
global $wpdb;
|
958 |
|
959 |
+
$where = $wpdb->prepare(
|
960 |
+
'post_id IN (' . implode( ', ', array_fill( 0, count( $post_ids ), '%d' ) ) . ')',
|
961 |
+
$post_ids
|
|
|
|
|
|
|
962 |
);
|
963 |
|
964 |
+
$where .= $wpdb->prepare( ' AND meta_key = %s', WPSEO_Meta::$meta_prefix . $this->target_db_field );
|
965 |
+
|
966 |
+
// phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- They are prepared on the lines above.
|
967 |
+
return $wpdb->get_results( "SELECT * FROM {$wpdb->postmeta} WHERE {$where}" );
|
968 |
}
|
969 |
|
970 |
/**
|
admin/class-gutenberg-compatibility.php
CHANGED
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
const CURRENT_RELEASE = '10.
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
const MINIMUM_SUPPORTED = '10.
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
const CURRENT_RELEASE = '10.9.1';
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
const MINIMUM_SUPPORTED = '10.9.1';
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
admin/filters/class-cornerstone-filter.php
CHANGED
@@ -49,8 +49,8 @@ class WPSEO_Cornerstone_Filter extends WPSEO_Abstract_Post_Filter {
|
|
49 |
if ( $this->is_filter_active() ) {
|
50 |
global $wpdb;
|
51 |
|
52 |
-
$where .=
|
53 |
-
|
54 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
55 |
);
|
56 |
}
|
@@ -118,12 +118,11 @@ class WPSEO_Cornerstone_Filter extends WPSEO_Abstract_Post_Filter {
|
|
118 |
|
119 |
return (int) $wpdb->get_var(
|
120 |
$wpdb->prepare(
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
',
|
127 |
$this->get_current_post_type(),
|
128 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
129 |
)
|
49 |
if ( $this->is_filter_active() ) {
|
50 |
global $wpdb;
|
51 |
|
52 |
+
$where .= $wpdb->prepare(
|
53 |
+
" AND {$wpdb->posts}.ID IN ( SELECT post_id FROM {$wpdb->postmeta} WHERE meta_key = %s AND meta_value = '1' ) ",
|
54 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
55 |
);
|
56 |
}
|
118 |
|
119 |
return (int) $wpdb->get_var(
|
120 |
$wpdb->prepare(
|
121 |
+
"SELECT COUNT( 1 )
|
122 |
+
FROM {$wpdb->postmeta}
|
123 |
+
WHERE post_id IN( SELECT ID FROM {$wpdb->posts} WHERE post_type = %s ) AND
|
124 |
+
meta_key = %s AND meta_value = '1'
|
125 |
+
",
|
|
|
126 |
$this->get_current_post_type(),
|
127 |
WPSEO_Meta::$meta_prefix . self::META_NAME
|
128 |
)
|
admin/menu/class-admin-menu.php
CHANGED
@@ -24,45 +24,48 @@ class WPSEO_Admin_Menu extends WPSEO_Base_Menu {
|
|
24 |
* Registers the menu item submenus.
|
25 |
*/
|
26 |
public function register_settings_page() {
|
27 |
-
$
|
28 |
-
|
29 |
-
|
30 |
-
/*
|
31 |
-
* The current user has the capability to control anything.
|
32 |
-
* This means that all submenus and dashboard can be shown.
|
33 |
-
*/
|
34 |
-
global $admin_page_hooks;
|
35 |
-
|
36 |
-
add_menu_page(
|
37 |
-
'Yoast SEO: ' . __( 'Dashboard', 'wordpress-seo' ),
|
38 |
-
__( 'SEO', 'wordpress-seo' ) . ' ' . $this->get_notification_counter(),
|
39 |
-
$this->get_manage_capability(),
|
40 |
-
$this->get_page_identifier(),
|
41 |
-
$this->get_admin_page_callback(),
|
42 |
-
$this->get_icon_svg(),
|
43 |
-
'99.31337'
|
44 |
-
);
|
45 |
-
|
46 |
-
// Wipe notification bits from hooks.
|
47 |
-
// phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action.
|
48 |
-
$admin_page_hooks[ $this->get_page_identifier() ] = 'seo';
|
49 |
-
}
|
50 |
|
51 |
// Get all submenu pages.
|
52 |
$submenu_pages = $this->get_submenu_pages();
|
53 |
|
54 |
-
|
55 |
-
|
56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
59 |
/*
|
60 |
-
*
|
61 |
-
*
|
62 |
*/
|
63 |
-
|
64 |
-
|
65 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
67 |
|
68 |
/**
|
24 |
* Registers the menu item submenus.
|
25 |
*/
|
26 |
public function register_settings_page() {
|
27 |
+
$manage_capability = $this->get_manage_capability();
|
28 |
+
$page_identifier = $this->get_page_identifier();
|
29 |
+
$admin_page_callback = $this->get_admin_page_callback();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
// Get all submenu pages.
|
32 |
$submenu_pages = $this->get_submenu_pages();
|
33 |
|
34 |
+
foreach ( $submenu_pages as $submenu_page ) {
|
35 |
+
if ( WPSEO_Capability_Utils::current_user_can( $submenu_page[3] ) ) {
|
36 |
+
$manage_capability = $submenu_page[3];
|
37 |
+
$page_identifier = $submenu_page[4];
|
38 |
+
$admin_page_callback = $submenu_page[5];
|
39 |
+
break;
|
40 |
+
}
|
41 |
+
}
|
42 |
+
|
43 |
+
foreach ( $submenu_pages as $index => $submenu_page ) {
|
44 |
+
$submenu_pages[ $index ][0] = $page_identifier;
|
45 |
}
|
46 |
|
47 |
/*
|
48 |
+
* The current user has the capability to control anything.
|
49 |
+
* This means that all submenus and dashboard can be shown.
|
50 |
*/
|
51 |
+
global $admin_page_hooks;
|
52 |
+
|
53 |
+
add_menu_page(
|
54 |
+
'Yoast SEO: ' . __( 'Dashboard', 'wordpress-seo' ),
|
55 |
+
__( 'SEO', 'wordpress-seo' ) . ' ' . $this->get_notification_counter(),
|
56 |
+
$manage_capability,
|
57 |
+
$page_identifier,
|
58 |
+
$admin_page_callback,
|
59 |
+
$this->get_icon_svg(),
|
60 |
+
'99.31337'
|
61 |
+
);
|
62 |
+
|
63 |
+
// Wipe notification bits from hooks.
|
64 |
+
// phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action.
|
65 |
+
$admin_page_hooks[ $page_identifier ] = 'seo';
|
66 |
+
|
67 |
+
// Add submenu items to the main menu if possible.
|
68 |
+
$this->register_submenu_pages( $submenu_pages );
|
69 |
}
|
70 |
|
71 |
/**
|
admin/menu/class-base-menu.php
CHANGED
@@ -92,13 +92,6 @@ abstract class WPSEO_Base_Menu implements WPSEO_WordPress_Integration {
|
|
92 |
|
93 |
// Loop through submenu pages and add them.
|
94 |
array_walk( $submenu_pages, [ $this, 'register_submenu_page' ] );
|
95 |
-
|
96 |
-
// Set the first submenu title to the title of the first submenu page.
|
97 |
-
global $submenu;
|
98 |
-
if ( isset( $submenu[ $this->get_page_identifier() ] ) && $this->check_manage_capability() ) {
|
99 |
-
// phpcs:ignore WordPress.WP.GlobalVariablesOverride -- This is a deliberate action.
|
100 |
-
$submenu[ $this->get_page_identifier() ][0][0] = $submenu_pages[0][2];
|
101 |
-
}
|
102 |
}
|
103 |
|
104 |
/**
|
@@ -188,9 +181,6 @@ abstract class WPSEO_Base_Menu implements WPSEO_WordPress_Integration {
|
|
188 |
|
189 |
$page_title .= ' - Yoast SEO';
|
190 |
|
191 |
-
// Force the general manage capability to be used.
|
192 |
-
$submenu_page[3] = $this->get_manage_capability();
|
193 |
-
|
194 |
// Register submenu page.
|
195 |
$hook_suffix = add_submenu_page(
|
196 |
$submenu_page[0],
|
92 |
|
93 |
// Loop through submenu pages and add them.
|
94 |
array_walk( $submenu_pages, [ $this, 'register_submenu_page' ] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
96 |
|
97 |
/**
|
181 |
|
182 |
$page_title .= ' - Yoast SEO';
|
183 |
|
|
|
|
|
|
|
184 |
// Register submenu page.
|
185 |
$hook_suffix = add_submenu_page(
|
186 |
$submenu_page[0],
|
admin/metabox/class-metabox.php
CHANGED
@@ -866,7 +866,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
866 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
867 |
|
868 |
$asset_manager->localize_script( $post_edit_handle, 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
869 |
-
$asset_manager->localize_script( $post_edit_handle, 'wpseoFeaturesL10n', WPSEO_Utils::retrieve_enabled_features() );
|
870 |
|
871 |
$plugins_script_data = [
|
872 |
'replaceVars' => [
|
@@ -887,8 +886,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
887 |
'dependencies' => YoastSEO()->helpers->asset->get_dependency_urls_by_handle( 'yoast-seo-analysis-worker' ),
|
888 |
'keywords_assessment_url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-used-keywords-assessment' ),
|
889 |
'log_level' => WPSEO_Utils::get_analysis_worker_log_level(),
|
890 |
-
// We need to make the feature flags separately available inside of the analysis web worker.
|
891 |
-
'enabled_features' => WPSEO_Utils::retrieve_enabled_features(),
|
892 |
];
|
893 |
|
894 |
$alert_dismissal_action = YoastSEO()->classes->get( \Yoast\WP\SEO\Actions\Alert_Dismissal_Action::class );
|
866 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
867 |
|
868 |
$asset_manager->localize_script( $post_edit_handle, 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
|
|
869 |
|
870 |
$plugins_script_data = [
|
871 |
'replaceVars' => [
|
886 |
'dependencies' => YoastSEO()->helpers->asset->get_dependency_urls_by_handle( 'yoast-seo-analysis-worker' ),
|
887 |
'keywords_assessment_url' => YoastSEO()->helpers->asset->get_asset_url( 'yoast-seo-used-keywords-assessment' ),
|
888 |
'log_level' => WPSEO_Utils::get_analysis_worker_log_level(),
|
|
|
|
|
889 |
];
|
890 |
|
891 |
$alert_dismissal_action = YoastSEO()->classes->get( \Yoast\WP\SEO\Actions\Alert_Dismissal_Action::class );
|
admin/taxonomy/class-taxonomy.php
CHANGED
@@ -146,7 +146,6 @@ class WPSEO_Taxonomy {
|
|
146 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
147 |
|
148 |
$asset_manager->localize_script( 'term-edit', 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
149 |
-
$asset_manager->localize_script( 'term-edit', 'wpseoFeaturesL10n', WPSEO_Utils::retrieve_enabled_features() );
|
150 |
|
151 |
$script_data = [
|
152 |
'analysis' => [
|
146 |
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
147 |
|
148 |
$asset_manager->localize_script( 'term-edit', 'wpseoAdminL10n', WPSEO_Utils::get_admin_l10n() );
|
|
|
149 |
|
150 |
$script_data = [
|
151 |
'analysis' => [
|
css/dist/{admin-global-1650-rtl.css → admin-global-1660-rtl.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{opacity:1;animation:none}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{top:100%;left:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;left:50%;bottom:-5px;margin-left:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-sw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{left:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;left:50%;bottom:auto;margin-left:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-nw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(-50%)}.yoast-tooltip-w:after{left:100%;bottom:50%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;right:-5px;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;right:100%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;left:-5px;bottom:50%;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{left:auto;right:50%;transform:translateX(50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{left:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-left:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 2px -3px 0;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.yoast-measure{max-width:600px}.yoast-measure.padded{max-width:632px}#TB_window .wpseo_content_wrapper p{font-size:14px;font-style:normal}#TB_window .wpseo_content_wrapper label{margin:0 0 0 10px;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;right:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-right:220px}.yoast-settings h2{margin-bottom:0;margin-right:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-left:10px;margin-left:6px;margin-right:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.yoast-settings__group--checkbox,.yoast-settings__group--radio{padding-top:1em}.yoast-settings__group--checkbox .yoast-settings__checkbox,.yoast-settings__group--radio .yoast-settings__radio{margin:0 0 10px 4px}.yoast-settings__checkbox+label,.yoast-settings__radio+label{width:auto;margin-right:0;margin-left:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.column-wpseo-links .yoast-tooltip-multiline:after{max-width:160px}.column-wpseo-linked .yoast-tooltip-multiline:after{max-width:170px}.yoast-column-header-has-tooltip{position:relative}.manage-column .yoast-column-header-has-tooltip:before{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent url(../../images/readability-icon.svg) no-repeat 100% 0;background-size:20px}td.column-wpseo-linked,td.column-wpseo-links{word-wrap:normal}@media screen and (max-width:782px){.yoast-settings{padding-right:0}.yoast-settings h2{margin-right:0}.yoast-settings label{width:auto;padding:0;margin-left:0;margin-right:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{margin-bottom:1em}.yoast-settings__checkbox+label,.yoast-settings__radio+label{max-width:calc(100% - 35px);padding-top:8px}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{padding-top:4px}.yoast-settings input[type=text],.yoast-settings select,.yoast-settings textarea{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.contact-premium-support__content:nth-child(2){max-width:610px}.contact-premium-support__content:nth-child(3){max-width:560px}.contact-premium-support .contact-premium-support__button{margin-bottom:48px}.wpseo-premium-description{margin-top:.5em}.wpseo-premium-advantages-list{list-style:disc;padding-right:1.5em}.yoast_help.yoast-help-button,.yoast_help.yoast-help-link{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.yoast-section .yoast_help.yoast-help-button{float:left}.help-button-inline .yoast_help.yoast-help-button{margin-top:-4px}.yoast-section .yoast_help.yoast-help-button{margin-top:-44px}.wpseo-admin-page .yoast_help.yoast-help-button{margin-left:6px}.yoast_help .yoast-help-icon:before{position:absolute;top:0;right:0;padding:4px;content:"\f223"}.yoast_help.yoast-help-button:focus,.yoast_help.yoast-help-button:hover,.yoast_help.yoast-help-link:hover{color:#0073aa}.assessment-results__mark:focus,.yoast_help.yoast-help-button:focus .yoast-help-icon:before,.yoast_help.yoast-help-link:focus .yoast-help-icon:before{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;white-space:normal}.wpseo-admin-page .yoast-help-panel{max-width:600px!important}.copy-home-meta-description{margin-top:1em}.copy-home-meta-description .yoast-help-panel{max-width:400px!important}.yoast-modal_is-open{overflow:hidden}.yoast-notification .yoast-seo-icon{float:right;margin:20px 10px}.yoast-notification .yoast-seo-icon-wrap{margin:0 85px 0 0}.yoast-button-upsell{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 6px 0 -2px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.rtl .yoast-button-upsell__caret{background-image:var(--yoast-svg-icon-caret-left)}body.folded .wpseo-admin-submit-fixed{right:36px}@media screen and (max-width:782px){body.folded .wpseo-admin-submit-fixed{right:0}}.wpseo-admin-submit{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;right:160px;left:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 0 0 16px;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-left:8px}
|
1 |
+
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{opacity:1;animation:none}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{top:100%;left:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;left:50%;bottom:-5px;margin-left:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-sw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{left:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;left:50%;bottom:auto;margin-left:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{left:auto;right:50%;margin-right:-15px}.yoast-tooltip-nw:after{margin-left:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(-50%)}.yoast-tooltip-w:after{left:100%;bottom:50%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;right:-5px;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;right:100%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;left:-5px;bottom:50%;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{left:auto;right:50%;transform:translateX(50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{left:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-left:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 2px -3px 0;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.yoast-measure{max-width:600px}.yoast-measure.padded{max-width:632px}#TB_window .wpseo_content_wrapper p{font-size:14px;font-style:normal}#TB_window .wpseo_content_wrapper label{margin:0 0 0 10px;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;right:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-right:220px}.yoast-settings h2{margin-bottom:0;margin-right:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-left:10px;margin-left:6px;margin-right:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.yoast-settings__group--checkbox,.yoast-settings__group--radio{padding-top:1em}.yoast-settings__group--checkbox .yoast-settings__checkbox,.yoast-settings__group--radio .yoast-settings__radio{margin:0 0 10px 4px}.yoast-settings__checkbox+label,.yoast-settings__radio+label{width:auto;margin-right:0;margin-left:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-right:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.column-wpseo-links .yoast-tooltip-multiline:after{max-width:160px}.column-wpseo-linked .yoast-tooltip-multiline:after{max-width:170px}.yoast-column-header-has-tooltip{position:relative}.manage-column .yoast-column-header-has-tooltip:before{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 100% 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent url(../../images/readability-icon.svg) no-repeat 100% 0;background-size:20px}td.column-wpseo-linked,td.column-wpseo-links{word-wrap:normal}@media screen and (max-width:782px){.yoast-settings{padding-right:0}.yoast-settings h2{margin-right:0}.yoast-settings label{width:auto;padding:0;margin-left:0;margin-right:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{margin-bottom:1em}.yoast-settings__checkbox+label,.yoast-settings__radio+label{max-width:calc(100% - 35px);padding-top:8px}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{padding-top:4px}.yoast-settings input[type=text],.yoast-settings select,.yoast-settings textarea{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.contact-premium-support__content:nth-child(2){max-width:610px}.contact-premium-support__content:nth-child(3){max-width:560px}.contact-premium-support .contact-premium-support__button{margin-bottom:48px}.wpseo-premium-description{margin-top:.5em}.wpseo-premium-advantages-list{list-style:disc;padding-right:1.5em}.yoast_help.yoast-help-button,.yoast_help.yoast-help-link{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.yoast-section .yoast_help.yoast-help-button{float:left}.help-button-inline .yoast_help.yoast-help-button{margin-top:-4px}.yoast-section .yoast_help.yoast-help-button{margin-top:-44px}.wpseo-admin-page .yoast_help.yoast-help-button{margin-left:6px}.yoast_help .yoast-help-icon:before{position:absolute;top:0;right:0;padding:4px;content:"\f223"}.yoast_help.yoast-help-button:focus,.yoast_help.yoast-help-button:hover,.yoast_help.yoast-help-link:hover{color:#0073aa}.assessment-results__mark:focus,.yoast_help.yoast-help-button:focus .yoast-help-icon:before,.yoast_help.yoast-help-link:focus .yoast-help-icon:before{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;white-space:normal}.wpseo-admin-page .yoast-help-panel{max-width:600px!important}.copy-home-meta-description{margin-top:1em}.copy-home-meta-description .yoast-help-panel{max-width:400px!important}.yoast-modal_is-open{overflow:hidden}.yoast-notification .yoast-seo-icon{float:right;margin:20px 10px}.yoast-notification .yoast-seo-icon-wrap{margin:0 85px 0 0}.yoast-button-upsell{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 6px 0 -2px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.rtl .yoast-button-upsell__caret{background-image:var(--yoast-svg-icon-caret-left)}body.folded .wpseo-admin-submit-fixed{right:36px}@media screen and (max-width:782px){body.folded .wpseo-admin-submit-fixed{right:0}}.wpseo-admin-submit{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;right:160px;left:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 0 0 16px;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-left:8px}#wpadminbar .yoast-badge,.yoast-badge{display:inline-block;padding:0 8px;border-radius:8px;font-weight:600;line-height:1.6}.yoast-badge{min-height:16px;font-size:10px}#wpadminbar .yoast-badge,.wp-submenu .yoast-badge{min-height:14px;font-size:9px}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
css/dist/{admin-global-1650.css → admin-global-1660.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{opacity:1;animation:none}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{top:100%;right:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-sw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{right:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-nw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(50%)}.yoast-tooltip-w:after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{right:auto;left:50%;transform:translateX(-50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{right:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-right:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 0 -3px 2px;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.yoast-measure{max-width:600px}.yoast-measure.padded{max-width:632px}#TB_window .wpseo_content_wrapper p{font-size:14px;font-style:normal}#TB_window .wpseo_content_wrapper label{margin:0 10px 0 0;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-left:220px}.yoast-settings h2{margin-bottom:0;margin-left:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-right:10px;margin-right:6px;margin-left:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.yoast-settings__group--checkbox,.yoast-settings__group--radio{padding-top:1em}.yoast-settings__group--checkbox .yoast-settings__checkbox,.yoast-settings__group--radio .yoast-settings__radio{margin:0 4px 10px 0}.yoast-settings__checkbox+label,.yoast-settings__radio+label{width:auto;margin-left:0;margin-right:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-left:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.column-wpseo-links .yoast-tooltip-multiline:after{max-width:160px}.column-wpseo-linked .yoast-tooltip-multiline:after{max-width:170px}.yoast-column-header-has-tooltip{position:relative}.manage-column .yoast-column-header-has-tooltip:before{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent url(../../images/readability-icon.svg) no-repeat 0 0;background-size:20px}td.column-wpseo-linked,td.column-wpseo-links{word-wrap:normal}@media screen and (max-width:782px){.yoast-settings{padding-left:0}.yoast-settings h2{margin-left:0}.yoast-settings label{width:auto;padding:0;margin-right:0;margin-left:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{margin-bottom:1em}.yoast-settings__checkbox+label,.yoast-settings__radio+label{max-width:calc(100% - 35px);padding-top:8px}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{padding-top:4px}.yoast-settings input[type=text],.yoast-settings select,.yoast-settings textarea{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.contact-premium-support__content:nth-child(2){max-width:610px}.contact-premium-support__content:nth-child(3){max-width:560px}.contact-premium-support .contact-premium-support__button{margin-bottom:48px}.wpseo-premium-description{margin-top:.5em}.wpseo-premium-advantages-list{list-style:disc;padding-left:1.5em}.yoast_help.yoast-help-button,.yoast_help.yoast-help-link{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.yoast-section .yoast_help.yoast-help-button{float:right}.help-button-inline .yoast_help.yoast-help-button{margin-top:-4px}.yoast-section .yoast_help.yoast-help-button{margin-top:-44px}.wpseo-admin-page .yoast_help.yoast-help-button{margin-right:6px}.yoast_help .yoast-help-icon:before{position:absolute;top:0;left:0;padding:4px;content:"\f223"}.yoast_help.yoast-help-button:focus,.yoast_help.yoast-help-button:hover,.yoast_help.yoast-help-link:hover{color:#0073aa}.assessment-results__mark:focus,.yoast_help.yoast-help-button:focus .yoast-help-icon:before,.yoast_help.yoast-help-link:focus .yoast-help-icon:before{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;white-space:normal}.wpseo-admin-page .yoast-help-panel{max-width:600px!important}.copy-home-meta-description{margin-top:1em}.copy-home-meta-description .yoast-help-panel{max-width:400px!important}.yoast-modal_is-open{overflow:hidden}.yoast-notification .yoast-seo-icon{float:left;margin:20px 10px}.yoast-notification .yoast-seo-icon-wrap{margin:0 0 0 85px}.yoast-button-upsell{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 -2px 0 6px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.rtl .yoast-button-upsell__caret{background-image:var(--yoast-svg-icon-caret-left)}body.folded .wpseo-admin-submit-fixed{left:36px}@media screen and (max-width:782px){body.folded .wpseo-admin-submit-fixed{left:0}}.wpseo-admin-submit{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;left:160px;right:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 16px 0 0;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-right:8px}
|
1 |
+
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-tooltip{position:relative}button.yoast-tooltip{overflow:visible}.yoast-tooltip:after{display:none;position:absolute;z-index:1000000;padding:6px 8px 5px;border-radius:3px;opacity:0;color:#fff;background:rgba(0,0,0,.8);text-shadow:none;font:normal normal 11px/1.45454545 Helvetica,arial,nimbussansl,liberationsans,freesans,clean,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;text-align:center;white-space:pre;text-decoration:none;letter-spacing:normal;text-transform:none;word-wrap:break-word;content:attr(aria-label);pointer-events:none;-webkit-font-smoothing:subpixel-antialiased}.yoast-tooltip-alt:after{content:attr(data-label)}.yoast-tooltip:before{display:none;position:absolute;z-index:1000001;width:0;height:0;border:5px solid transparent;opacity:0;color:rgba(0,0,0,.8);content:"\00a0";pointer-events:none}@keyframes yoast-tooltip-appear{0%{opacity:0}to{opacity:1}}.yoast-tooltip:active:after,.yoast-tooltip:active:before,.yoast-tooltip:focus:after,.yoast-tooltip:focus:before,.yoast-tooltip:hover:after,.yoast-tooltip:hover:before{display:inline-block;text-decoration:none;animation-name:yoast-tooltip-appear;animation-duration:.1s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards}.yoast-tooltip-no-delay:active:after,.yoast-tooltip-no-delay:active:before,.yoast-tooltip-no-delay:focus:after,.yoast-tooltip-no-delay:focus:before,.yoast-tooltip-no-delay:hover:after,.yoast-tooltip-no-delay:hover:before{opacity:1;animation:none}.yoast-tooltip-multiline:active:after,.yoast-tooltip-multiline:focus:after,.yoast-tooltip-multiline:hover:after{display:table-cell}.yoast-tooltip-s:after,.yoast-tooltip-se:after,.yoast-tooltip-sw:after{top:100%;right:50%;margin-top:5px}.yoast-tooltip-s:before,.yoast-tooltip-se:before,.yoast-tooltip-sw:before{top:auto;right:50%;bottom:-5px;margin-right:-5px;border-bottom-color:rgba(0,0,0,.8)}.yoast-tooltip-se:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-sw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-ne:after,.yoast-tooltip-nw:after{right:50%;bottom:100%;margin-bottom:5px}.yoast-tooltip-n:before,.yoast-tooltip-ne:before,.yoast-tooltip-nw:before{top:-5px;right:50%;bottom:auto;margin-right:-5px;border-top-color:rgba(0,0,0,.8)}.yoast-tooltip-ne:after{right:auto;left:50%;margin-left:-15px}.yoast-tooltip-nw:after{margin-right:-15px}.yoast-tooltip-n:after,.yoast-tooltip-s:after{transform:translateX(50%)}.yoast-tooltip-w:after{right:100%;bottom:50%;margin-right:5px;transform:translateY(50%)}.yoast-tooltip-w:before{top:50%;bottom:50%;left:-5px;margin-top:-5px;border-left-color:rgba(0,0,0,.8)}.yoast-tooltip-e:after{bottom:50%;left:100%;margin-left:5px;transform:translateY(50%)}.yoast-tooltip-e:before{top:50%;right:-5px;bottom:50%;margin-top:-5px;border-right-color:rgba(0,0,0,.8)}.yoast-tooltip-multiline:after{width:250px;width:max-content;max-width:250px;border-collapse:initial;white-space:pre-line;word-wrap:normal;word-break:break-word}.yoast-tooltip-multiline.yoast-tooltip-n:after,.yoast-tooltip-multiline.yoast-tooltip-s:after{right:auto;left:50%;transform:translateX(-50%)}.yoast-tooltip-multiline.yoast-tooltip-e:after,.yoast-tooltip-multiline.yoast-tooltip-w:after{right:100%}@media screen and (min-width:0\0){.yoast-tooltip-multiline:after{width:250px}}.yoast-tooltip-sticky:after,.yoast-tooltip-sticky:before{display:inline-block}.yoast-tooltip-sticky.yoast-tooltip-multiline:after{display:table-cell}@media only screen and (-moz-min-device-pixel-ratio:2),only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min--moz-device-pixel-ratio:2),only screen and (min-device-pixel-ratio:2),only screen and (min-resolution:2dppx),only screen and (min-resolution:192dpi){.yoast-tooltip-w:after{margin-right:4.5px}}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.wpseo-premium-indicator{width:1px;height:1px;display:inline-block}#adminmenu .wpseo-premium-indicator{margin:-2px 0 -3px 2px;color:inherit}.wpseo-premium-indicator svg{height:100%;width:auto;display:none}.yoast-measure{max-width:600px}.yoast-measure.padded{max-width:632px}#TB_window .wpseo_content_wrapper p{font-size:14px;font-style:normal}#TB_window .wpseo_content_wrapper label{margin:0 10px 0 0;font-size:14px;font-weight:600}.wpseo-premium-popup-title{margin:1em 0!important;padding:0!important;font-size:1.3em!important;font-weight:600!important}.wpseo-premium-popup-icon{margin:10px}.edit-tags-php .column-description img{max-width:100%;height:auto}.select2-container .select2-search--dropdown .select2-search__field{margin:0;padding:0 8px;min-height:30px}.select2-results__option,.select2-search--inline,.select2-selection__choice{margin-bottom:0}.select2-container .select2-search--inline .select2-search__field{margin-top:6px!important;line-height:inherit;min-height:0}.wpseo-admin-page .select2-container .select2-selection--single,.wpseo-metabox .select2-container .select2-selection--single{height:auto}.wpseo-admin-page .select2-container .select2-selection--single .select2-selection__arrow,.wpseo-metabox .select2-container .select2-selection--single .select2-selection__arrow{height:100%}.yoast-label-strong{font-weight:600}.yoast-video-container-max-width{max-width:560px}.yoast-video-container{position:relative;padding-bottom:56.25%;height:0;overflow:hidden}.yoast-video-container iframe{position:absolute;top:0;left:0;width:100%;height:100%}.yoast-settings{margin-bottom:2em;padding-left:220px}.yoast-settings h2{margin-bottom:0;margin-left:-220px}.yoast-settings label{display:inline-block;width:200px;padding-top:4px;padding-right:10px;margin-right:6px;margin-left:-220px;font-size:14px;line-height:1.3;font-weight:600;color:#23282d;vertical-align:top}.yoast-settings fieldset,.yoast-settings input[type=text],.yoast-settings label,.yoast-settings select,.yoast-settings textarea,.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{margin-top:2em;margin-bottom:.5em}.yoast-settings__textarea--medium{width:100%;max-width:600px}.yoast .yoast-settings__checkbox,.yoast .yoast-settings__radio{vertical-align:top;position:relative;top:1px}.yoast-settings__group--checkbox,.yoast-settings__group--radio{padding-top:1em}.yoast-settings__group--checkbox .yoast-settings__checkbox,.yoast-settings__group--radio .yoast-settings__radio{margin:0 4px 10px 0}.yoast-settings__checkbox+label,.yoast-settings__radio+label{width:auto;margin-left:0;margin-right:0;padding:0;max-width:calc(100% - 25px)}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{margin-top:0;margin-bottom:10px;font-weight:400}.yoast-settings legend{font-size:14px;font-weight:600;color:#23282d}.yoast-settings .description{margin-top:0;font-size:14px}td .wpseo-score-icon{display:inline-block;width:12px;height:12px;margin-left:5px;border-radius:50%;background:#888;line-height:16px;margin-top:3px}.fixed th.column-wpseo-linked,.fixed th.column-wpseo-links,.fixed th.column-wpseo-score,.fixed th.column-wpseo-score-readability{width:3em;padding:0}th.column-wpseo-linked a,th.column-wpseo-links a,th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{overflow:visible;display:inline-block;vertical-align:middle;padding:8px 0}th.column-wpseo-score-readability .yoast-tooltip,th.column-wpseo-score .yoast-tooltip{padding:8px 11px}.column-wpseo-links .yoast-tooltip-multiline:after{max-width:160px}.column-wpseo-linked .yoast-tooltip-multiline:after{max-width:170px}.yoast-column-header-has-tooltip{position:relative}.manage-column .yoast-column-header-has-tooltip:before{content:"";display:inline-block;width:20px;height:20px;padding:0;vertical-align:top;text-decoration:none!important;color:#444}.manage-column .yoast-linked-to:before{background:transparent url(../../images/link-out-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-linked-from:before{background:transparent url(../../images/link-in-icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-seo-score:before{background:transparent url(../../images/Yoast_SEO_negative_icon.svg) no-repeat 0 0;background-size:20px}.manage-column .yoast-column-readability:before{background:transparent url(../../images/readability-icon.svg) no-repeat 0 0;background-size:20px}td.column-wpseo-linked,td.column-wpseo-links{word-wrap:normal}@media screen and (max-width:782px){.yoast-settings{padding-left:0}.yoast-settings h2{margin-left:0}.yoast-settings label{width:auto;padding:0;margin-right:0;margin-left:0}.yoast-settings__radio+label,.yoast .yoast-settings__radio{margin-bottom:1em}.yoast-settings__checkbox+label,.yoast-settings__radio+label{max-width:calc(100% - 35px);padding-top:8px}.yoast-settings__group--checkbox .yoast-settings__checkbox+label,.yoast-settings__group--radio .yoast-settings__radio+label{padding-top:4px}.yoast-settings input[type=text],.yoast-settings select,.yoast-settings textarea{display:block;width:100%;margin-top:0;margin-bottom:0;padding:7px 10px;max-width:none;line-height:1.5;box-sizing:border-box}.screen-reader-text.wpseo-score-text{position:static!important;-webkit-clip-path:none;clip-path:none;width:auto;height:auto;margin:0}}.react-tabs__tab-panel{max-width:900px;margin:0 auto}.react-tabs__tab-panel li{max-width:none!important}.contact-premium-support{text-align:center}.contact-premium-support__content{margin:0 auto 1.5em;font-size:.9375rem;line-height:1.4}.contact-premium-support__content:nth-child(2){max-width:610px}.contact-premium-support__content:nth-child(3){max-width:560px}.contact-premium-support .contact-premium-support__button{margin-bottom:48px}.wpseo-premium-description{margin-top:.5em}.wpseo-premium-advantages-list{list-style:disc;padding-left:1.5em}.yoast_help.yoast-help-button,.yoast_help.yoast-help-link{position:relative;width:20px;height:20px;margin:0;padding:0;border:0;outline:none;color:#72777c;background:transparent;box-shadow:none;vertical-align:top;cursor:pointer}.yoast-section .yoast_help.yoast-help-button{float:right}.help-button-inline .yoast_help.yoast-help-button{margin-top:-4px}.yoast-section .yoast_help.yoast-help-button{margin-top:-44px}.wpseo-admin-page .yoast_help.yoast-help-button{margin-right:6px}.yoast_help .yoast-help-icon:before{position:absolute;top:0;left:0;padding:4px;content:"\f223"}.yoast_help.yoast-help-button:focus,.yoast_help.yoast-help-button:hover,.yoast_help.yoast-help-link:hover{color:#0073aa}.assessment-results__mark:focus,.yoast_help.yoast-help-button:focus .yoast-help-icon:before,.yoast_help.yoast-help-link:focus .yoast-help-icon:before{border-radius:100%;box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-help-panel{display:none;clear:both;max-width:30em!important;padding:0 0 1em;font-weight:400;white-space:normal}.wpseo-admin-page .yoast-help-panel{max-width:600px!important}.copy-home-meta-description{margin-top:1em}.copy-home-meta-description .yoast-help-panel{max-width:400px!important}.yoast-modal_is-open{overflow:hidden}.yoast-notification .yoast-seo-icon{float:left;margin:20px 10px}.yoast-notification .yoast-seo-icon-wrap{margin:0 0 0 85px}.yoast-button-upsell{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:48px;padding:8px 1em;font-size:16px;line-height:1.5;font-family:Arial,sans-serif;color:#000;border-radius:4px;box-shadow:inset 0 -4px 0 rgba(0,0,0,.2);filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));text-decoration:none;background-color:#fec228}.yoast-button-upsell:active,.yoast-button-upsell:focus,.yoast-button-upsell:hover{color:#000;background-color:#f2ae01}.yoast-button-upsell:focus{box-shadow:inset 0 -4px 0 rgba(0,0,0,.2),0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.yoast-button-upsell:active{transform:translateY(1px);box-shadow:none;filter:none}.yoast-button-upsell#wpseo-premium-button{color:#000}.yoast-button-upsell__caret{flex-shrink:0;width:8px;height:16px;margin:0 -2px 0 6px;background:transparent var(--yoast-svg-icon-caret-right) 50% no-repeat}.rtl .yoast-button-upsell__caret{background-image:var(--yoast-svg-icon-caret-left)}body.folded .wpseo-admin-submit-fixed{left:36px}@media screen and (max-width:782px){body.folded .wpseo-admin-submit-fixed{left:0}}.wpseo-admin-submit{z-index:5;display:flex;padding:16px 0;justify-content:flex-start;align-items:baseline;margin:0}.wpseo-admin-submit.wpseo-admin-submit-fixed{padding:16px;position:fixed;bottom:0;left:160px;right:281px;background-color:#fff;max-width:800px;box-shadow:0 1px 8px 1px rgba(0,0,0,.5);margin:0 16px}@media screen and (max-width:1024px){.wpseo-admin-submit.wpseo-admin-submit-fixed{right:0}}@media only screen and (max-width:960px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:36px}}@media screen and (max-width:782px){.wpseo-admin-submit.wpseo-admin-submit-fixed{left:0;margin:0}}.wpseo-admin-submit p.submit{padding:0;margin:0}.wpseo-admin-submit p.wpseo-message{margin:0 16px 0 0;padding:0;color:#008a00}.yoast-site-health__signature{display:flex;font-size:12px;line-height:20px;margin-top:2em;color:#707070}.yoast-site-health__inline-button.fetch-status,.yoast-site-health__signature-icon{margin-right:8px}#wpadminbar .yoast-badge,.yoast-badge{display:inline-block;padding:0 8px;border-radius:8px;font-weight:600;line-height:1.6}.yoast-badge{min-height:16px;font-size:10px}#wpadminbar .yoast-badge,.wp-submenu .yoast-badge{min-height:14px;font-size:9px}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
css/dist/{adminbar-1650-rtl.css → adminbar-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{adminbar-1650.css → adminbar-1660.css}
RENAMED
File without changes
|
css/dist/{alerts-1650-rtl.css → alerts-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{alerts-1650.css → alerts-1660.css}
RENAMED
File without changes
|
css/dist/badge-1650-rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.yoast-badge{display:inline-block;min-height:16px;padding:0 8px;border-radius:8px;font-weight:600;font-size:10px;line-height:1.6}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
|
css/dist/badge-1650.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.yoast-badge{display:inline-block;min-height:16px;padding:0 8px;border-radius:8px;font-weight:600;font-size:10px;line-height:1.6}.yoast-new-badge{background-color:#cce5ff;color:#004973}.yoast-premium-badge{background-color:#fff3cd;color:#674e00}.yoast-badge__is-link{text-decoration:none}.yoast-badge__is-link:focus,.yoast-badge__is-link:hover{background-color:#004973;color:#fff;outline:none;box-shadow:none}.switch-container .yoast-badge{vertical-align:-1em}.yoast_help+.yoast-badge{vertical-align:bottom}
|
|
css/dist/{dashboard-1650-rtl.css → dashboard-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{dashboard-1650.css → dashboard-1660.css}
RENAMED
File without changes
|
css/dist/{edit-page-1650-rtl.css → edit-page-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{edit-page-1650.css → edit-page-1660.css}
RENAMED
File without changes
|
css/dist/{elementor-1650-rtl.css → elementor-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{elementor-1650.css → elementor-1660.css}
RENAMED
File without changes
|
css/dist/{featured-image-1650-rtl.css → featured-image-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{featured-image-1650.css → featured-image-1660.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1650-rtl.css → filter-explanation-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1650.css → filter-explanation-1660.css}
RENAMED
File without changes
|
css/dist/{icons-1650-rtl.css → icons-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{icons-1650.css → icons-1660.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1650-rtl.css → inside-editor-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1650.css → inside-editor-1660.css}
RENAMED
File without changes
|
css/dist/{metabox-1650-rtl.css → metabox-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-1650.css → metabox-1660.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1650-rtl.css → metabox-primary-category-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1650.css → metabox-primary-category-1660.css}
RENAMED
File without changes
|
css/dist/{modal-1650-rtl.css → modal-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{modal-1650.css → modal-1660.css}
RENAMED
File without changes
|
css/dist/{monorepo-1650-rtl.css → monorepo-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{monorepo-1650.css → monorepo-1660.css}
RENAMED
File without changes
|
css/dist/{notifications-1650-rtl.css → notifications-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{notifications-1650.css → notifications-1660.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1650-rtl.css → schema-blocks-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1650.css → schema-blocks-1660.css}
RENAMED
File without changes
|
css/dist/{score_icon-1650-rtl.css → score_icon-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{score_icon-1650.css → score_icon-1660.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1650-rtl.css → search-appearance-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1650.css → search-appearance-1660.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1650-rtl.css → structured-data-blocks-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1650.css → structured-data-blocks-1660.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1650-rtl.css → toggle-switch-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1650.css → toggle-switch-1660.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1650-rtl.css → wpseo-dismissible-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1650.css → wpseo-dismissible-1660.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1650-rtl.css → yoast-components-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1650.css → yoast-components-1660.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1650-rtl.css → yoast-extensions-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1650.css → yoast-extensions-1660.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1650-rtl.css → yst_plugin_tools-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1650.css → yst_plugin_tools-1660.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1650-rtl.css → yst_seo_score-1660-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1650.css → yst_seo_score-1660.css}
RENAMED
File without changes
|
inc/class-wpseo-utils.php
CHANGED
@@ -6,6 +6,8 @@
|
|
6 |
* @since 1.8.0
|
7 |
*/
|
8 |
|
|
|
|
|
9 |
/**
|
10 |
* Group of utility methods for use by WPSEO.
|
11 |
* All methods are static, this is just a sort of namespacing class wrapper.
|
@@ -47,7 +49,7 @@ class WPSEO_Utils {
|
|
47 |
}
|
48 |
|
49 |
/**
|
50 |
-
* Check if the web server is running on Apache.
|
51 |
*
|
52 |
* @since 1.8.0
|
53 |
*
|
@@ -60,7 +62,7 @@ class WPSEO_Utils {
|
|
60 |
|
61 |
$software = sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) );
|
62 |
|
63 |
-
return stripos( $software, 'apache' ) !== false;
|
64 |
}
|
65 |
|
66 |
/**
|
@@ -1148,14 +1150,13 @@ class WPSEO_Utils {
|
|
1148 |
* @return string[] The array of enabled features.
|
1149 |
*/
|
1150 |
public static function retrieve_enabled_features() {
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
$
|
1157 |
-
|
1158 |
-
return $enabled_features;
|
1159 |
}
|
1160 |
|
1161 |
/* ********************* DEPRECATED METHODS ********************* */
|
6 |
* @since 1.8.0
|
7 |
*/
|
8 |
|
9 |
+
use Yoast\WP\SEO\Integrations\Feature_Flag_Integration;
|
10 |
+
|
11 |
/**
|
12 |
* Group of utility methods for use by WPSEO.
|
13 |
* All methods are static, this is just a sort of namespacing class wrapper.
|
49 |
}
|
50 |
|
51 |
/**
|
52 |
+
* Check if the web server is running on Apache or compatible (LiteSpeed).
|
53 |
*
|
54 |
* @since 1.8.0
|
55 |
*
|
62 |
|
63 |
$software = sanitize_text_field( wp_unslash( $_SERVER['SERVER_SOFTWARE'] ) );
|
64 |
|
65 |
+
return stripos( $software, 'apache' ) !== false || stripos( $software, 'litespeed' ) !== false;
|
66 |
}
|
67 |
|
68 |
/**
|
1150 |
* @return string[] The array of enabled features.
|
1151 |
*/
|
1152 |
public static function retrieve_enabled_features() {
|
1153 |
+
/**
|
1154 |
+
* The feature flag integration.
|
1155 |
+
*
|
1156 |
+
* @var Feature_Flag_Integration $feature_flag_integration;
|
1157 |
+
*/
|
1158 |
+
$feature_flag_integration = YoastSEO()->classes->get( Feature_Flag_Integration::class );
|
1159 |
+
return $feature_flag_integration->get_enabled_features();
|
|
|
1160 |
}
|
1161 |
|
1162 |
/* ********************* DEPRECATED METHODS ********************* */
|
js/dist/addon-installation-1650.js
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=353)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},101:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}},110:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o,r,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),r||(r=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},12:function(e,t){e.exports=window.yoast.styledComponents},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},16:function(e,t){e.exports=window.React},18:function(e,t){e.exports=window.wp.components},27:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},3:function(e,t){e.exports=window.wp.i18n},353:function(e,t,n){"use strict";n.r(t);var o,r=n(0),a=n(39),i=n.n(a),s=n(15),c=n.n(s),l=n(1),u=n.n(l),d=n(7),p=n(3),f=n(12),b=n.n(f),m=n(53),y=n(110),w=b.a.div(o||(o=c()(["\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tgap: 8px;\n"]))),O=function(e){var t=Object(r.useState)(!0),n=i()(t,2),o=n[0],a=n[1];function s(){a(!1)}var c,l=Object(p.sprintf)(
|
2 |
-
/* translators: %s expands to Yoast */
|
3 |
-
Object(p.__)("%s SEO installation","wordpress-seo"),"Yoast"),u=Object(p.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(u=e.addons[0]),1!==e.addons.length&&(c=Object(r.createElement)("ul",{className:"ul-disc"},e.addons.map((function(e,t){return Object(r.createElement)("li",{key:"addon-"+t},e)})))),o?Object(r.createElement)(m.a,{title:l,onRequestClose:s,icon:Object(r.createElement)(y.a,null),isDismissible:!1},Object(r.createElement)("p",null,Object(p.sprintf)(
|
4 |
-
/* translators: %s expands to Yoast SEO Premium */
|
5 |
-
Object(p.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)),c,Object(r.createElement)(w,null,Object(r.createElement)(d.Button,{onClick:s,id:"close-addon-installation-dialog"},Object(p.__)("Cancel","wordpress-seo")),Object(r.createElement)(d.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},Object(p.__)("Install and activate","wordpress-seo")))):null};O.propTypes={nonce:u.a.string.isRequired,addons:u.a.array},O.defaultProps={addons:[]};var j=O,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),Object(r.render)(Object(r.createElement)(j,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)},39:function(e,t,n){var o=n(98),r=n(99),a=n(100);e.exports=function(e,t){return o(e)||r(e,t)||a()}},46:function(e,t,n){var o=n(101);e.exports=function(e,t){if(null==e)return{};var n,r,a=o(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},53:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var o=n(27),r=n.n(o),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=o?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,r()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},7:function(e,t){e.exports=window.yoast.componentsNew},98:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},99:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==i.return||i.return()}finally{if(o)throw r}}return n}}}});
|
|
|
|
|
|
|
|
|
|
js/dist/addon-installation-1660.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=354)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==i.return||i.return()}finally{if(o)throw r}}return n}}},101:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},102:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}},111:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o,r,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),r||(r=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},12:function(e,t){e.exports=window.yoast.styledComponents},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},16:function(e,t){e.exports=window.React},18:function(e,t){e.exports=window.wp.components},27:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},3:function(e,t){e.exports=window.wp.i18n},354:function(e,t,n){"use strict";n.r(t);var o,r=n(0),a=n(39),i=n.n(a),s=n(15),c=n.n(s),l=n(1),u=n.n(l),d=n(7),p=n(3),f=n(12),b=n.n(f),m=n(53),y=n(111),w=b.a.div(o||(o=c()(["\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tgap: 8px;\n"]))),O=function(e){var t=Object(r.useState)(!0),n=i()(t,2),o=n[0],a=n[1];function s(){a(!1)}var c,l=Object(p.sprintf)(
|
2 |
+
/* translators: %s expands to Yoast */
|
3 |
+
Object(p.__)("%s SEO installation","wordpress-seo"),"Yoast"),u=Object(p.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(u=e.addons[0]),1!==e.addons.length&&(c=Object(r.createElement)("ul",{className:"ul-disc"},e.addons.map((function(e,t){return Object(r.createElement)("li",{key:"addon-"+t},e)})))),o?Object(r.createElement)(m.a,{title:l,onRequestClose:s,icon:Object(r.createElement)(y.a,null),isDismissible:!1},Object(r.createElement)("p",null,Object(p.sprintf)(
|
4 |
+
/* translators: %s expands to Yoast SEO Premium */
|
5 |
+
Object(p.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)),c,Object(r.createElement)(w,null,Object(r.createElement)(d.Button,{onClick:s,id:"close-addon-installation-dialog"},Object(p.__)("Cancel","wordpress-seo")),Object(r.createElement)(d.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},Object(p.__)("Install and activate","wordpress-seo")))):null};O.propTypes={nonce:u.a.string.isRequired,addons:u.a.array},O.defaultProps={addons:[]};var j=O,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),Object(r.render)(Object(r.createElement)(j,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)},39:function(e,t,n){var o=n(99),r=n(100),a=n(101);e.exports=function(e,t){return o(e)||r(e,t)||a()}},46:function(e,t,n){var o=n(102);e.exports=function(e,t){if(null==e)return{};var n,r,a=o(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},53:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var o=n(27),r=n.n(o),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=o?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,r()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},7:function(e,t){e.exports=window.yoast.componentsNew},99:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}}});
|
js/dist/{admin-global-1650.js → admin-global-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var o={};function n(a){if(o[a])return o[a].exports;var e=o[a]={i:a,l:!1,exports:{}};return t[a].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=t,n.c=o,n.d=function(t,o,a){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)n.d(a,e,function(o){return t[o]}.bind(null,e));return a},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=
|
1 |
+
!function(t){var o={};function n(a){if(o[a])return o[a].exports;var e=o[a]={i:a,l:!1,exports:{}};return t[a].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=t,n.c=o,n.d=function(t,o,a){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)n.d(a,e,function(o){return t[o]}.bind(null,e));return a},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=256)}({21:function(t,o){t.exports=window.jQuery},256:function(t,o,n){"use strict";n.r(o);var a=n(21),e=n.n(a);!function(t){function o(t,o,n){e.a.post(ajaxurl,{action:"wpseo_set_ignore",option:t,_wpnonce:n},(function(n){n&&(e()("#"+o).hide(),e()("#hidden_ignore_"+t).val("ignore"))}))}function n(){t("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),t(".yoast-issue-added").fadeOut(200)}function a(o,n){if(t(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==n.html){n.html&&(o.closest(".yoast-container").html(n.html),s());var a=t("#wp-admin-bar-wpseo-menu"),e=a.find(".yoast-issue-counter");e.length||(a.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=a.find(".yoast-issue-counter")),e.html(n.total),0===n.total?e.hide():e.show(),t("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+n.total),t("#toplevel_page_wpseo_dashboard .plugin-count").html(n.total)}}function s(){var o=t(".yoast-notification-holder");o.on("click",".dismiss",(function(){var o=t(this),n=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_dismiss_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:o.data("json")||n.data("json")},a.bind(this,n),"json")})),o.on("click",".restore",(function(){var o=t(this),n=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_restore_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:n.data("json")},a.bind(this,n),"json")}))}function i(t){t.is(":hidden")||(t.outerWidth()>t.parent().outerWidth()?(t.data("scrollHint").addClass("yoast-has-scroll"),t.data("scrollContainer").addClass("yoast-has-scroll")):(t.data("scrollHint").removeClass("yoast-has-scroll"),t.data("scrollContainer").removeClass("yoast-has-scroll")))}function l(){window.wpseoScrollableTables=t(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var o=t(this);if(!o.data("scrollContainer")){var n=t("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(o),a=t("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(o);n.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),o.data("scrollContainer",a),o.data("scrollHint",n),o.appendTo(a.find(".yoast-table-scrollable__inner")),i(o)}}))}e()(document).ready((function(){e()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var t=e()(this).parent();return e.a.post(ajaxurl,{action:t.attr("id").replace(/-/g,"_"),_wpnonce:t.data("nonce"),data:t.data("json")}),e.a.post(ajaxurl,{action:"yoast_dismiss_notification",notification:t.attr("id"),nonce:t.data("nonce"),data:t.data("json")}),t.fadeTo(100,0,(function(){t.slideUp(100,(function(){t.remove()}))})),!1})),e()(".yoast-help-button").on("click",(function(){var t=e()(this),o=e()("#"+t.attr("aria-controls")),n=o.is(":visible");e()(o).slideToggle(200,(function(){t.attr("aria-expanded",!n)}))})),e()("#robotsmessage button").on("click",(function(){o("search_engines_discouraged_notice","robotsmessage",e()(this).data("nonce"))}))})),window.wpseoSetIgnore=o,window.wpseoDismissLink=function(t){return e()('<a href="'+t+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},t(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){i(t(this))}))})),t(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){l()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){l()}),100)}}),t(document).ready((function(){t(".yoast-issue-added").on("mouseenter mouseleave",(function(t){t.stopPropagation(),n()})).fadeIn(),t("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",n),setTimeout(n,3e3),s(),function(){var t=e()(".wpseo-js-premium-indicator"),o=t.find("svg");if(t.hasClass("wpseo-premium-indicator--no")){var n=o.find("path"),a=t.css("backgroundColor");n.css("fill",a)}o.css("display","block"),t.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),l()}))}(e.a)}});
|
js/dist/{analysis-worker-1650.js → analysis-worker-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=257)}({257:function(e,n){self.window=self,self.onmessage=function(e){var n=e.data;if(n&&n.dependencies){for(var t in n.dependencies)Object.prototype.hasOwnProperty.call(n.dependencies,t)&&(self.importScripts(n.dependencies[t]),"lodash"===t&&(self.lodash=_.noConflict()));var r=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new r).register()}}}});
|
js/dist/{api-client-1650.js → api-client-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=258)}({258:function(e,t){!function(e,t){window.wpseoApi={get:function(e,t,n,o){this.request("GET",e,t,n,o)},post:function(e,t,n,o){this.request("POST",e,t,n,o)},put:function(e,t,n,o){this.request("PUT",e,t,n,o)},patch:function(e,t,n,o){this.request("PATCH",e,t,n,o)},delete:function(e,t,n,o){this.request("DELETE",e,t,n,o)},request:function(n,o,r,u,i){e.isFunction(r)&&void 0===i&&(i=u,u=r,r={}),"POST"!==n&&"GET"!==n&&(r._method=n,n="POST"),e.ajax({url:t.root+"yoast/v1/"+o,method:n,beforeSend:function(e){e.setRequestHeader("X-WP-Nonce",t.nonce)},data:r}).done(u).fail(i)}}}(jQuery,wpApiSettings)}});
|
js/dist/{block-editor-1650.js → block-editor-1660.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:s,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return l})),n.d(t,"runAnalysis",(function(){return u})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return b})),n.d(t,"setEditorDataContent",(function(){return h})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return g})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return v})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return E})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return w})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return k.a})),n.d(t,"setMarkerStatus",(function(){return k.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return S.a})),n.d(t,"setMarkerPauseStatus",(function(){return S.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return A.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return A.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return A.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return A.a})),n.d(t,"setPageType",(function(){return A.h})),n.d(t,"setArticleType",(function(){return A.g})),n.d(t,"getSchemaPageData",(function(){return A.f})),n.d(t,"getSchemaArticleData",(function(){return A.e})),n.d(t,"MODAL_DISMISS",(function(){return C})),n.d(t,"MODAL_OPEN",(function(){return x})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return I})),n.d(t,"setSEMrushDismissModal",(function(){return D})),n.d(t,"setSEMrushOpenModal",(function(){return N})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return L})),n.d(t,"CHANGE_COUNTRY",(function(){return M.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return M.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return M.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return M.f})),n.d(t,"NEW_REQUEST",(function(){return M.b})),n.d(t,"NO_DATA_FOUND",(function(){return M.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return M.d})),n.d(t,"setSEMrushNewRequest",(function(){return M.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return M.m})),n.d(t,"setSEMrushRequestFailed",(function(){return M.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return M.n})),n.d(t,"setSEMrushChangeCountry",(function(){return M.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return M.k})),n.d(t,"setSEMrushLoginStatus",(function(){return M.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return H.a})),n.d(t,"setWarningMessage",(function(){return H.b})),n.d(t,"setOverallReadabilityScore",(function(){return W})),n.d(t,"setOverallSeoScore",(function(){return G})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(73),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function l(e){return{type:s,data:e}}function u(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",b="SET_EDITOR_DATA_IMAGE_URL";function h(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function g(e){return{type:m,excerpt:e}}function O(e){return{type:b,imageUrl:e}}var v="OPEN_MODAL",E="CLOSE_MODAL";function j(e){return{type:v,modalKey:e}}function w(){return{type:E}}var _=n(67),T=n(60),k=n(45),S=n(74),R=n(69),P=n(75),A=n(56),C="MODAL_DISMISS",x="MODAL_OPEN",I="MODAL_OPEN_NO_KEYPHRASE";function D(){return{type:C}}function N(e){return{type:x,location:e}}function L(){return{type:I}}var M=n(41),F=n(43),q=n(76),B=n(17),U=n(48),K=n(49),H=n(77),W=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},G=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(86),o=n(87),a=n(88);e.exports=function(e){return r(e)||o(e)||a()}},,function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(129)),i=s(n(132));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,i.default)(t);try{return function e(t,n){var i,s,l,u,d,p,f,m,b=[],h={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],l=p;break}b.push(n[d.value])}else b.push(d.value);return i&&(u=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(l,t),f=e(t.slice(l+1,u),n),s=o.default.cloneElement(i,{},f),b.push(s),u<t.length-1&&(m=e(t.slice(u+1),n),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,a.default)(h))}(l,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(98),o=n(99),a=n(100);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return v})),n.d(t,"mapCustomFields",(function(){return E})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return w}));var r=n(10),o=n.n(r),a=n(2),i=n(78),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=m(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function v(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(u({},e),"custom_taxonomies")):e}function E(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=g(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(u({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var w=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"i",(function(){return h}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",l="SET_LOGIN_STATUS";function u(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function b(){return{type:c}}function h(e){return{type:l,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return g})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",l="SET_NO_FOLLOW",u="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},b=function(e){return s.noFollow=e,{type:l,value:e}},h=function(e){return s.advanced=e.join(","),{type:u,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},g=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(101);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_TWITTER_TITLE",u="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_FACEBOOK_TITLE",u="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(7),s=n(1),c=n.n(s),l=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),l=n(7),u=n(12),d=n.n(u)()(l.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),l=n.n(c),u=Object(s.makeOutboundLink)(l.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=u},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},l=function(e){return r.a.articleType=e,{type:a,articleType:e}},u=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},l=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),l=n(5),u=n.n(l),d=n(6),p=n.n(d),f=n(11),m=n.n(f),b=n(13),h=n.n(b),y=n(14),g=n.n(y),O=n(8),v=n.n(O),E=n(0),j=n(1),w=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=w.a.shape({value:w.a.string.isRequired,onChange:w.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(r);if(a){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(E.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:w.a.node}}}]),l}(E.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",l="LOAD_ESTIMATED_READING_TIME";function u(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:l,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),l=n(7),u=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(l.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(1),O=n.n(g),v=n(94),E=n(23),j=n(35);var w=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new E.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);w.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},w.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=w;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(91);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(3),O=n(7),v=n(1),E=n.n(v),j=n(62);var w=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
@@ -10,7 +10,7 @@ Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Obje
|
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(T.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(T.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(148),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(178),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/editor")&&Object(a.isFunction)(Object(s.select)("core/editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(7),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(7),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
@@ -48,7 +48,7 @@ Object(j.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo")
|
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(v.createElement)(z,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
-
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:k.a.string.isRequired,buyLink:k.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=R.a.button(te||(te=O()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),se={open:Object(j.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(j.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(v.useState)(!1),n=oe()(t,2),r=n[0],o=n[1],a=Object.assign({},se,e.labels),i=Object(v.useCallback)((function(){return o(!1)}),[]),s=Object(v.useCallback)((function(){return o(!0)}),[]);return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(ie,{type:"button",onClick:s,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(v.createElement)(w.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),a.open),r&&Object(v.createElement)(ae.a,{onRequestClose:i,className:e.className,title:a.heading},e.children))};ce.propTypes={openButtonIcon:k.a.string,labels:k.a.shape({open:k.a.string,modalAriaLabel:k.a.string.isRequired,heading:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}).isRequired,classes:k.a.shape({openButton:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}),className:k.a.string,children:k.a.any.isRequired},ce.defaultProps={className:ae.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
@@ -56,11 +56,11 @@ Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
|
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
-
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(v.createElement)(le,t,Object(v.createElement)(K.a,null,Object(v.createElement)(K.b,{icon:w.YoastSeoIcon}),Object(v.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(v.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=de.a),Object(v.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(v.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(v.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(v.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(v.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:de.a;return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(v.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(v.createElement)(v.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(v.createElement)(ge,null,Object(j.__)("Analysis results","wordpress-seo")),Object(v.createElement)(A.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(v.Component);Oe.propTypes={results:k.a.array,marksButtonStatus:k.a.string,keyword:k.a.string,shouldUpsell:k.a.bool,shouldUpsellWordFormRecognition:k.a.bool,overallScore:k.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(E.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(7),l=n(9),u=n(1),d=n.n(u),p=n(5),f=n.n(p),m=n(6),b=n.n(m),h=n(13),y=n.n(h),g=n(14),O=n.n(g),v=n(8),E=n.n(v),j=n(15),w=n.n(j),_=n(12);var T=n.n(_).a.div(r||(r=w()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),k=function(e){y()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=E()(t);if(n){var o=E()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return O()(this,e)});function o(){return f()(this,o),r.apply(this,arguments)}return b()(o,[{key:"render",value:function(){return Object(i.createElement)(T,null,Object(i.createElement)(c.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);k.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},k.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=k,R=n(51),P=n(50),A=Object(l.makeOutboundLink)();function C(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?R.a:P.a;return Object(i.createElement)(a,{id:Object(l.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(c.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(A,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(S,{id:Object(l.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}))}C.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},C.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var x=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(x.a)()])(C)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=n(11),c=n.n(s),l=n(13),u=n.n(l),d=n(14),p=n.n(d),f=n(8),m=n.n(f),b=n(15),h=n.n(b),y=n(0),g=n(18),O=n(19),v=n(4),E=n(3),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(22),S=n(47),R=n.n(S),P=n(26),A=n.n(P),C=n(64),x=n.n(C),I=n(7),D=n(68),N=n(53),L=n(110),M=n(91);var F=function(e){u()(l,e);var t,n,r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p()(this,e)});function l(e){var t;return o()(this,l),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(M.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=R()(A.a.mark((function e(t){var n,r;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=R()(A.a.mark((function e(t){var n,r,o;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,x()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(E.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(N.a,{title:Object(E.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(D.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(E.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);F.propTypes={keyphrase:w.a.string,location:w.a.string,whichModalOpen:w.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:w.a.bool,onOpen:w.a.func.isRequired,onOpenWithNoKeyphrase:w.a.func.isRequired,onClose:w.a.func.isRequired,onAuthentication:w.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),H=n(54);var W=T.a.div(q||(q=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),G=function(e){u()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(E.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(E.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(E.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(W,{location:n},Object(y.createElement)(k.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(E.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);G.propTypes={keyword:w.a.string,onFocusKeywordChange:w.a.func.isRequired,onFocusKeyword:w.a.func.isRequired,onBlurKeyword:w.a.func.isRequired,isSEMrushIntegrationActive:w.a.bool,displayNoKeyphraseMessage:w.a.bool},G.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(G)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),l=n.n(c),u=n(6),d=n.n(u),p=n(13),f=n.n(p),m=n(14),b=n.n(m),h=n(8),y=n.n(h),g=n(15),O=n.n(g),v=n(0),E=n(4),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(3),S=n(2),R=n(95),P=n(81),A=n(50),C=n(42),x=n(35),I=n(28),D=n(54),N=n(36);function L(e){var t=e.target,n=e.children;return Object(v.createElement)(N.a,{target:t},n)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:w.a.string.isRequired,children:w.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(D.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return b()(this,e)});function o(){return l()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderResults",value:function(){return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(q,null,Object(k.__)("Analysis results","wordpress-seo"),Object(v.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(v.createElement)("span",{className:"screen-reader-text"},Object(k.__)("Learn more about the readability analysis","wordpress-seo")))),Object(v.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(C.a)(this.props.overallScore);return Object(S.isNil)(this.props.overallScore)&&(t.className="loading"),Object(v.createElement)(I.LocationConsumer,null,(function(n){return"sidebar"===n?Object(v.createElement)(A.a,{title:Object(k.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(x.getIconForScore)(t.className),prefixIconCollapsed:Object(x.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(v.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(v.createElement)(B,null,Object(v.createElement)(R.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(v.Component);K.propTypes={results:w.a.array.isRequired,marksButtonStatus:w.a.string.isRequired,overallScore:w.a.number},K.defaultProps={overallScore:null},t.a=Object(E.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),l=n(3),u=n(1),d=n.n(u),p=n(30),f=n.n(p),m=n(15),b=n.n(m),h=n(7),y=n(9),g=n(37),O=n.n(g),v=n(12),E=n.n(v),j=n(84),w=E.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),_=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
-
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
@@ -68,16 +68,16 @@ Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlur
|
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(93),i=n(130),s=n(131),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(93);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(146),p=n(28),f=n(111),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(147),c=n(20),l=n(57),u=n(89),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:w()||l()||u()||j()||_()||k,title:r(),titlePreviewFallback:E()||s()||d()||v()||O()||T,imageWarnings:p(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:T,descriptionInputPlaceholder:k,socialMediumName:"Twitter"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),j=Object(a.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:s(),imageFallbackUrl:l(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:O()||r()||g()||v()||j,title:o(),titlePreviewFallback:y()||i()||h()||b()||E,imageWarnings:u(),authorName:m(),siteUrl:f(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:E,descriptionInputPlaceholder:j,socialMediumName:"Facebook"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},,,,,,function(e,t){e.exports=window.wp.editPost},,,,,,,function(e,t,n){"use strict";var r,o,a,i,s=n(34),c=n.n(s),l=n(30),u=n.n(l),d=n(39),p=n.n(d),f=n(0),m=/<(\/)?(\w+)\s*(\/)?>/g;function b(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function h(){var e=r.length-o;0!==e&&a.push(r.substr(o,e))}function y(e){var t=e.element,n=e.tokenStart,o=e.tokenLength,a=e.prevOffset,s=e.children,c=i[i.length-1],l=r.substr(c.prevOffset,n-c.prevOffset);l&&c.children.push(l),c.children.push(f.cloneElement.apply(void 0,[t,null].concat(u()(s)))),c.prevOffset=a||n+o}function g(e){var t=function(){var e=m.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=p()(e,4),o=n[0],a=n[1],i=n[2],s=n[3],c=o.length;return s?["self-closed",i,t,c]:a?["closer",i,t,c]:["opener",i,t,c]}(),n=p()(t,4),s=n[0],c=n[1],l=n[2],d=n[3],g=i.length,O=l>o?o:null;if(!e[c])return h(),!1;switch(s){case"no-more-tokens":if(0!==g){var v=i.pop(),E=v.leadingTextStart,j=v.tokenStart;a.push(r.substr(E,j))}return h(),!1;case"self-closed":return 0===g?(null!==O&&a.push(r.substr(O,l-O)),a.push(e[c]),o=l+d,!0):(y(b(e[c],l,d)),o=l+d,!0);case"opener":return i.push(b(e[c],l,d,l+d,O)),o=l+d,!0;case"closer":if(1===g)return function(e){var t=i.pop(),n=t.element,o=t.leadingTextStart,s=t.prevOffset,c=t.tokenStart,l=t.children,d=e?r.substr(s,e-s):r.substr(s);d&&l.push(d),null!==o&&a.push(r.substr(o,c-o)),a.push(f.cloneElement.apply(void 0,[n,null].concat(u()(l))))}(l),o=l+d,!0;var w=i.pop(),_=r.substr(w.prevOffset,l-w.prevOffset);w.children.push(_),w.prevOffset=l+d;var T=b(w.element,w.tokenStart,w.tokenLength,l+d);return T.children=w.children,y(T),o=l+d,!0;default:return h(),!1}}t.a=function(e,t){if(r=e,o=0,a=[],i=[],m.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(f.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return f.createElement.apply(void 0,[f.Fragment,null].concat(u()(a)))}},,,function(e,t){e.exports=window.wp.annotations},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(0),o=n(1),a=n.n(o),i=n(18),s=n(
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(E.a,null)),n&&Object(r.createElement)(g.a
|
83 |
-
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(j.a,null)))};w.propTypes={displayFacebook:a.a.bool.isRequired,displayTwitter:a.a.bool.isRequired};var _=w,T=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(_),k=n(36);function S(e){var t=e.target;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(T,null))}S.propTypes={target:a.a.string.isRequired};var R=n(126),P=n(114);function A(e){var t=e.settings;return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(O.a,{renderPriority:1},Object(r.createElement)(m.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(P.a,null))),Object(r.createElement)(O.a,{renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(f.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(O.a,{renderPriority:30},Object(r.createElement)(p.a,null)),t.displayAdvancedTab&&Object(r.createElement)(O.a,{renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(v.a,null))),t.displaySchemaSettings&&Object(r.createElement)(O.a,{renderPriority:50},Object(r.createElement)(R.a,null)),Object(r.createElement)(O.a,{renderPriority:-1},Object(r.createElement)(S,{target:"wpseo-section-social"})))}A.propTypes={settings:a.a.object.isRequired};var C=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(A);function x(e){var t=e.target,n=e.store,o=e.theme;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(l,{store:n,theme:o}),Object(r.createElement)(C,{store:n,theme:o}))}x.propTypes={target:a.a.string.isRequired,store:a.a.object,theme:a.a.object}},,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(2),u=n(23),d=n(4),p=n(17),f=n(43),m=n(40),b=n(107);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=e.jQuery,O=function(){function e(t,n){i()(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),Object(m.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=Object(m.mapCustomFields)(e,this._store),y(y({},e=Object(m.mapCustomTaxonomies)(e,this._store)),t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=Object(d.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(d.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=u.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=g(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch(Object(p.l)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch(Object(p.l)("excerpt",e.excerpt)),this._store.dispatch(Object(p.l)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch(Object(p.k)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch(Object(p.k)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch(Object(f.c)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:Object(m.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&Object(b.c)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(l.debounce)(this.refreshYoastSEO,500),Object(d.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},Object(d.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}()}).call(this,n(203))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r,o=n(46),a=n.n(o),i=n(0),s=n(168),c=n(245),l=n(116),u=n(4),d=n(3),p=n(66),f=n(2),m=n(18),b=n(19),h=n(24),y=n(42),g=n(27),O=n.n(g),v=n(15),E=n.n(v),j=n(1),w=n.n(j),_=n(12),T=n.n(_).a.svg(r||(r=E()(["\n\twidth: ","px;\n\theight: ","px;\n\t&&& path {\n\t\tfill: ",";\n\t}\n\t&&& circle.yoast-icon-readability-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n\t\n\t&&& circle.yoast-icon-seo-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.color}),(function(e){return e.readabilityScoreColor}),(function(e){return e.isContentAnalysisActive?"inline":"none"}),(function(e){return e.seoScoreColor}),(function(e){return e.isKeywordAnalysisActive?"inline":"none"})),k=function(e){return Object(i.createElement)(T,O()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(i.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),Object(i.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),Object(i.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),Object(i.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};k.propTypes={readabilityScoreColor:w.a.string,isContentAnalysisActive:w.a.bool,seoScoreColor:w.a.string,isKeywordAnalysisActive:w.a.bool,size:w.a.number,color:w.a.string},k.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var S=k,R=Object(b.compose)([Object(u.withSelect)((function(e){var t,n,r=e("yoast-seo/editor"),o=Object(y.a)(r.getResultsForFocusKeyword().overallScore),a=Object(y.a)(r.getReadabilityResults().overallScore),i=r.getPreferences(),s=i.isKeywordAnalysisActive,c=i.isContentAnalysisActive;switch(a.className){case"good":t=h.colors.$color_good;break;case"ok":t=h.colors.$color_ok;break;case"bad":t=h.colors.$color_bad;break;default:t=h.colors.$color_score_icon}switch(o.className){case"good":n=h.colors.$color_good;break;case"ok":n=h.colors.$color_ok;break;case"bad":n=h.colors.$color_bad;break;default:n=h.colors.$color_score_icon}return{readabilityScoreColor:t,seoScoreColor:n,isKeywordAnalysisActive:s,isContentAnalysisActive:c}}))])(S),P=n(123),A=n(159),C=n(124),x=n(125),I=n(121),D=n(32),N=n(83),L=n(160),M=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(i.createElement)(L.a,{showCloseButton:!1,hasPaperStyle:!1}))},F=n(161),q=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(i.createElement)(F.a,null))},B=n(162),U=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(i.createElement)(B.a,null))},K=n(126),H=n(50),W=n(127);function G(e){var t=e.settings;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(m.Fill,{name:"YoastSidebar"},Object(i.createElement)(D.a,{renderPriority:1},Object(i.createElement)(A.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:8},Object(i.createElement)(C.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(i.createElement)(D.a,{renderPriority:23},Object(i.createElement)(M,null)),t.displayFacebook&&Object(i.createElement)(D.a,{renderPriority:24},Object(i.createElement)(U,null)),t.displayTwitter&&Object(i.createElement)(D.a,{renderPriority:25},Object(i.createElement)(q,null)),t.displaySchemaSettings&&Object(i.createElement)(D.a,{renderPriority:26},Object(i.createElement)(H.a,{title:Object(d.__)("Schema","wordpress-seo")},Object(i.createElement)(K.a,null))),t.displayAdvancedTab&&Object(i.createElement)(D.a,{renderPriority:27},Object(i.createElement)(H.a,{title:Object(d.__)("Advanced","wordpress-seo")},Object(i.createElement)(W.a,null))),t.isContentAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:10},Object(i.createElement)(x.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:20},Object(i.createElement)(I.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(i.createElement)(D.a,{renderPriority:30},Object(i.createElement)(P.a,null))))}G.propTypes={settings:w.a.object.isRequired};var V=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(G),Y=n(191),$=n(25),z=n(107),Z=n(119),Q=n(102);function X(e){var t=e.theme;return Object(i.createElement)(Q.a,{theme:t,location:"sidebar"},Object(i.createElement)(m.Slot,{name:"YoastSidebar"},(function(e){return Object(Z.a)(e)})))}var J=n(5),ee=n.n(J),te=n(6),ne=n.n(te),re=n(11),oe=n.n(re),ae=n(13),ie=n.n(ae),se=n(14),ce=n.n(se),le=n(8),ue=n.n(le),de=n(52),pe=n(246),fe=n(10),me=n.n(fe),be=n(39),he=n.n(be),ye=n(54),ge=n(175);function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee=Object(m.withSpokenMessages)((function(e){var t=e.isActive,n=e.activeAttributes,r=e.addingLink,o=e.value,a=e.onChange,s=e.speak,c=e.stopAddingLink,l=Object(i.useMemo)(f.uniqueId,[r]),u=Object(i.useState)(),b=he()(u,2),h=b[0],y=b[1],g=Object(i.useMemo)((function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(r&&!t)return n;var o=n.startContainer;for(o=o.nextElementSibling||o;o.nodeType!==window.Node.ELEMENT_NODE;)o=o.parentNode;return o.closest("a")}}),[r,o.start,o.end]),O=ve({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},h),v=Object(i.createElement)(ye.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),E=Object(ge.a)(Object(d.sprintf)(Object(d.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),j=Object(ge.a)(Object(d.sprintf)(Object(d.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),w=[{id:"opensInNewTab",title:Object(d.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:E},{id:"sponsored",title:j}],_=window.wp.blockEditor.__experimentalLinkControl;return Object(i.createElement)(m.Popover,{key:l,anchorRef:g,focusOnMount:!!r&&"firstElement",onClose:c,position:"bottom center"},Object(i.createElement)(_,{value:O,onChange:function(e){e=ve(ve({},h),e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var r=n&&void 0===e.url;if(y(r?e:void 0),!r){var i=Object(de.prependHTTP)(e.url),l=function(e){var t=e.noFollow,n=e.sponsored,r={type:"core/link",attributes:{url:e.url}},o=[];return e.opensInNewWindow&&(r.attributes.target="_blank",o.push("noreferrer noopener")),n&&(o.push("sponsored"),o.push("nofollow")),t&&o.push("nofollow"),o.length>0&&(o=Object(f.uniq)(o),r.attributes.rel=o.join(" ")),r}({url:i,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if(Object(p.isCollapsed)(o)&&!t){var u=e.title||i,m=Object(p.applyFormat)(Object(p.create)({text:u}),l,0,u.length);a(Object(p.insert)(o,m))}else{var b=Object(p.applyFormat)(o,l);b.start=b.end,b.activeFormats=[],a(b)}n||c(),function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=Object(de.getProtocol)(t);if(!Object(de.isValidProtocol)(n))return!1;if(Object(f.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var r=Object(de.getAuthority)(t);if(!Object(de.isValidAuthority)(r))return!1;var o=Object(de.getPath)(t);if(o&&!Object(de.isValidPath)(o))return!1;var a=Object(de.getQueryString)(t);if(a&&!Object(de.isValidQueryString)(a))return!1;var i=Object(de.getFragment)(t);if(i&&!Object(de.isValidFragment)(i))return!1}return!(Object(f.startsWith)(t,"#")&&!Object(de.isValidFragment)(t))}(i)?s(t?Object(d.__)("Link edited.","wordpress-seo"):Object(d.__)("Link inserted.","wordpress-seo"),"assertive"):s(Object(d.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")}},forceIsEditingLink:r,settings:w}))}));var je=Object(d.__)("Link","wordpress-seo"),we={name:"core/link",title:je,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if(Object(p.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(de.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(p.applyFormat)(e,{type:"core/link",attributes:{url:Object(pe.decodeEntities)(o)}})):e},edit:Object(m.withSpokenMessages)(function(e){ie()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=ue()(t);if(n){var o=ue()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ce()(this,e)});function o(){var e;return ee()(this,o),(e=r.apply(this,arguments)).addLink=e.addLink.bind(oe()(e)),e.stopAddingLink=e.stopAddingLink.bind(oe()(e)),e.onRemoveFormat=e.onRemoveFormat.bind(oe()(e)),e.state={addingLink:!1},e}return ne()(o,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=Object(p.getTextContent)(Object(p.slice)(t));r&&Object(de.isURL)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:r}})):r&&Object(de.isEmail)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n(Object(p.removeFormat)(t,"core/link")),r(Object(d.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,o=e.onChange,a=window.wp.blockEditor,s=a.RichTextToolbarButton,c=a.RichTextShortcut;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&Object(i.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(d.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(i.createElement)(s,{name:"link",icon:"admin-links",title:je,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&Object(i.createElement)(Ee,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:o}))}}]),o}(i.Component))},_e=n(7),Te=n(35);function ke(e){var t=e.score,n=e.label,r=e.scoreValue;return Object(i.createElement)("div",null,Object(i.createElement)(_e.SvgIcon,Object(Te.getIconForScore)(t)),Object(i.createElement)("span",null," ",n," ",r&&Object(i.createElement)("strong",null,r)))}function Se(e){var t=e.checklist,n=e.onClick,r=t.every((function(e){return"good"===e.score}));return Object(i.createElement)(i.Fragment,null,t.map((function(e){return Object(i.createElement)(ke,O()({key:e.label},e))})),Object(i.createElement)("br",null),!r&&Object(i.createElement)(_e.Button,{onClick:n},Object(d.__)("Improve your post with Yoast SEO","wordpress-seo")))}function Re(e){var t,n=e.checklist,r=e.onClick;return t=n.every((function(e){return"good"===e.score}))?Object(d.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(d.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,t),Object(i.createElement)(Se,{checklist:n,onClick:r}))}function Pe(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=Object(y.a)(t.getReadabilityResults().overallScore);e.push({label:Object(d.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ae(e,t){if(t.getPreferences().isContentAnalysisActive){var n=Object(y.a)(t.getResultsForFocusKeyword().overallScore);e.push({label:Object(d.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ce(e,t,n){if(n.getBlocks().some((function(e){return!0===e.attributes["is-yoast-schema-block"]}))){var r=t.getSchemaBlocksValidationResults(),o=Object.values(r);if(o&&o.length>0){var a=o.every((function(e){return e.result<=0}));e.push({label:Object(d.__)("Schema analysis:","wordpress-seo"),score:a?"good":"bad",scoreValue:a?Object(d.__)("Good","wordpress-seo"):Object(d.__)("Needs improvement","wordpress-seo")})}}}ke.propTypes={score:j.string.isRequired,label:j.string.isRequired,scoreValue:j.string},ke.defaultProps={scoreValue:""},Se.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired},Re.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired};var xe,Ie,De,Ne=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(d.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(o,t),Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}))])(Re),Le=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}))])(Se),Me=n(16);function Fe(){return(Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qe(e){return Me.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),xe||(xe=Me.createElement("g",{fill:"none",fillRule:"evenodd"},Me.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 10-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 00675-790"}),Me.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 00250 0v-559h186z"}))))}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ue(e){return Me.createElement("svg",Be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Ie||(Ie=Me.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),De||(De=Me.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff"})))}function Ke(e){var t=e.permalink,n=encodeURI(t);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(d.__)("Share your post!","wordpress-seo")),Object(i.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(qe,null),Object(d.__)("Facebook","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(Ue,null),Object(d.__)("Twitter","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo"))))))}Ke.propTypes={permalink:w.a.string.isRequired};var He=Object(b.compose)([Object(u.withSelect)((function(e){return{permalink:e("core/editor").getPermalink()}}))])(Ke),We=n(20);var Ge=n(247);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){var t=Object(We.a)(),n=t.isPremium,r=n?"Yoast SEO Premium":"Yoast SEO",o=Object(i.createElement)(S,null);Object(l.updateCategory)("yoast-structured-data-blocks",{icon:o}),Object(l.updateCategory)("yoast-internal-linking-blocks",{icon:o});var a={isRtl:t.isRtl},p=e.getState().preferences,f=p.isKeywordAnalysisActive||p.isContentAnalysisActive,b=p.isZapierIntegrationActive&&!p.isZapierConnected;!Object(u.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(u.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(c.registerPlugin)("yoast-seo",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(s.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(i.createElement)(R,null)},r),Object(i.createElement)(s.PluginSidebar,{name:"seo-sidebar",title:r},Object(i.createElement)(X,{store:e,theme:a})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(V,{store:e,theme:a}),Object(i.createElement)(Y.a,{target:"wpseo-metabox-root",store:e,theme:a})),f&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Ne,null)),n&&b&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(m.Slot,{name:"YoastZapierPrePublish"})),Object(i.createElement)(s.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(He,null)),f&&Object(i.createElement)(s.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Le,null)))},icon:Object(i.createElement)(R,null)})})(e),"function"==typeof Object(f.get)(window,"wp.blockEditor.__experimentalLinkControl")?[we].forEach((function(e){var t=e.name,n=e.replaces,r=a()(e,["name","replaces"]);n&&Object(u.dispatch)("core/rich-text").removeFormatTypes(n),t&&Object(p.registerFormatType)(t,r)})):console.warn(Object(d.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(d.sprintf)(Object(d.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(z.b)()&&e.dispatch(Object($.setMarkerStatus)("enabled"))}(e)},window.yoast.EditorData=Ge.a}]);
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=345)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:s,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return l})),n.d(t,"runAnalysis",(function(){return u})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return b})),n.d(t,"setEditorDataContent",(function(){return h})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return g})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return v})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return E})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return w})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return k.a})),n.d(t,"setMarkerStatus",(function(){return k.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return S.a})),n.d(t,"setMarkerPauseStatus",(function(){return S.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return A.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return A.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return A.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return A.a})),n.d(t,"setPageType",(function(){return A.h})),n.d(t,"setArticleType",(function(){return A.g})),n.d(t,"getSchemaPageData",(function(){return A.f})),n.d(t,"getSchemaArticleData",(function(){return A.e})),n.d(t,"MODAL_DISMISS",(function(){return C})),n.d(t,"MODAL_OPEN",(function(){return x})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return I})),n.d(t,"setSEMrushDismissModal",(function(){return D})),n.d(t,"setSEMrushOpenModal",(function(){return N})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return L})),n.d(t,"CHANGE_COUNTRY",(function(){return M.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return M.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return M.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return M.f})),n.d(t,"NEW_REQUEST",(function(){return M.b})),n.d(t,"NO_DATA_FOUND",(function(){return M.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return M.d})),n.d(t,"setSEMrushNewRequest",(function(){return M.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return M.m})),n.d(t,"setSEMrushRequestFailed",(function(){return M.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return M.n})),n.d(t,"setSEMrushChangeCountry",(function(){return M.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return M.k})),n.d(t,"setSEMrushLoginStatus",(function(){return M.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return H.a})),n.d(t,"setWarningMessage",(function(){return H.b})),n.d(t,"setOverallReadabilityScore",(function(){return W})),n.d(t,"setOverallSeoScore",(function(){return G})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(73),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function l(e){return{type:s,data:e}}function u(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",b="SET_EDITOR_DATA_IMAGE_URL";function h(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function g(e){return{type:m,excerpt:e}}function O(e){return{type:b,imageUrl:e}}var v="OPEN_MODAL",E="CLOSE_MODAL";function j(e){return{type:v,modalKey:e}}function w(){return{type:E}}var _=n(67),T=n(60),k=n(45),S=n(74),R=n(69),P=n(75),A=n(56),C="MODAL_DISMISS",x="MODAL_OPEN",I="MODAL_OPEN_NO_KEYPHRASE";function D(){return{type:C}}function N(e){return{type:x,location:e}}function L(){return{type:I}}var M=n(41),F=n(43),q=n(76),B=n(17),U=n(48),K=n(49),H=n(77),W=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},G=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},,function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,i.default)(t);try{return function e(t,n){var i,s,l,u,d,p,f,m,b=[],h={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],l=p;break}b.push(n[d.value])}else b.push(d.value);return i&&(u=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(l,t),f=e(t.slice(l+1,u),n),s=o.default.cloneElement(i,{},f),b.push(s),u<t.length-1&&(m=e(t.slice(u+1),n),b=b.concat(m))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,a.default)(h))}(l,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return v})),n.d(t,"mapCustomFields",(function(){return E})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return w}));var r=n(10),o=n.n(r),a=n(2),i=n(78),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=m(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function v(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(u({},e),"custom_taxonomies")):e}function E(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=g(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(u({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var w=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"j",(function(){return u})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"i",(function(){return h}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",l="SET_LOGIN_STATUS";function u(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function b(){return{type:c}}function h(e){return{type:l,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return l})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return g})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",l="SET_NO_FOLLOW",u="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},b=function(e){return s.noFollow=e,{type:l,value:e}},h=function(e){return s.advanced=e.join(","),{type:u,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},g=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_TWITTER_TITLE",u="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return h})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return g}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),l="SET_FACEBOOK_TITLE",u="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:l,title:e}},b=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:u,description:e}},h=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},g=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(7),s=n(1),c=n.n(s),l=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),l=n(7),u=n(12),d=n.n(u)()(l.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),l=n.n(c),u=Object(s.makeOutboundLink)(l.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=u},,function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"f",(function(){return u})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},l=function(e){return r.a.articleType=e,{type:a,articleType:e}},u=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return l}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},l=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),l=n(5),u=n.n(l),d=n(6),p=n.n(d),f=n(11),m=n.n(f),b=n(13),h=n.n(b),y=n(14),g=n.n(y),O=n(8),v=n.n(O),E=n(0),j=n(1),w=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var k=w.a.shape({value:w.a.string.isRequired,onChange:w.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(r);if(a){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(E.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:w.a.node}}}]),l}(E.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",l="LOAD_ESTIMATED_READING_TIME";function u(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:l,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),l=n(7),u=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(l.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(1),O=n.n(g),v=n(95),E=n(23),j=n(35);var w=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new E.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);w.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},w.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=w;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(11),u=n.n(l),d=n(13),p=n.n(d),f=n(14),m=n.n(f),b=n(8),h=n.n(b),y=n(0),g=n(3),O=n(7),v=n(1),E=n.n(v),j=n(62);var w=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(T.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(T.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
+
Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(149),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(179),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/editor")&&Object(a.isFunction)(Object(s.select)("core/editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(7),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(7),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(v.createElement)(z,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
+
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:k.a.string.isRequired,buyLink:k.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=R.a.button(te||(te=O()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),se={open:Object(j.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(j.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(v.useState)(!1),n=oe()(t,2),r=n[0],o=n[1],a=Object.assign({},se,e.labels),i=Object(v.useCallback)((function(){return o(!1)}),[]),s=Object(v.useCallback)((function(){return o(!0)}),[]);return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(ie,{type:"button",onClick:s,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(v.createElement)(w.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),a.open),r&&Object(v.createElement)(ae.a,{onRequestClose:i,className:e.className,title:a.heading},e.children))};ce.propTypes={openButtonIcon:k.a.string,labels:k.a.shape({open:k.a.string,modalAriaLabel:k.a.string.isRequired,heading:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}).isRequired,classes:k.a.shape({openButton:k.a.string,closeIconButton:k.a.string,closeButton:k.a.string}),className:k.a.string,children:k.a.any.isRequired},ce.defaultProps={className:ae.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(96),de=n(50),pe=n(18);function fe(e){var t=e.location;return Object(v.createElement)(pe.Slot,{name:"yoast-synonyms-".concat(t)})}fe.propTypes={location:k.a.string.isRequired};var me,be=n(35);function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=R.a.span(me||(me=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),Oe=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return b()(this,e)});function o(){return l()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(j.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(j.sprintf)(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
+
Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(v.createElement)(le,t,Object(v.createElement)(K.a,null,Object(v.createElement)(K.b,{icon:w.YoastSeoIcon}),Object(v.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(v.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=de.a),Object(v.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(v.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(v.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(v.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(v.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:de.a;return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(v.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(v.createElement)(v.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(v.createElement)(ge,null,Object(j.__)("Analysis results","wordpress-seo")),Object(v.createElement)(A.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(v.Component);Oe.propTypes={results:k.a.array,marksButtonStatus:k.a.string,keyword:k.a.string,shouldUpsell:k.a.bool,shouldUpsellWordFormRecognition:k.a.bool,overallScore:k.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(E.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(18),l=n(7),u=n(9),d=n(1),p=n.n(d),f=n(5),m=n.n(f),b=n(6),h=n.n(b),y=n(13),g=n.n(y),O=n(14),v=n.n(O),E=n(8),j=n.n(E),w=n(15),_=n.n(w),T=n(12);var k=n.n(T).a.div(r||(r=_()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),S=function(e){g()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var o=j()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return v()(this,e)});function o(){return m()(this,o),r.apply(this,arguments)}return h()(o,[{key:"render",value:function(){return Object(i.createElement)(k,null,Object(i.createElement)(l.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);S.propTypes={id:p.a.string,isEnabled:p.a.bool,onToggle:p.a.func,onToggleDisabled:p.a.func},S.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var R=S,P=n(51),A=n(50),C=Object(u.makeOutboundLink)();function x(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?P.a:A.a;return Object(i.createElement)(a,{id:Object(u.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(l.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(C,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(R,{id:Object(u.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}),Object(i.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}x.propTypes={isCornerstone:p.a.bool,onChange:p.a.func,learnMoreUrl:p.a.string.isRequired,location:p.a.string},x.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var I=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(I.a)()])(x)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=n(11),c=n.n(s),l=n(13),u=n.n(l),d=n(14),p=n.n(d),f=n(8),m=n.n(f),b=n(15),h=n.n(b),y=n(0),g=n(18),O=n(19),v=n(4),E=n(3),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(22),S=n(47),R=n.n(S),P=n(26),A=n.n(P),C=n(64),x=n.n(C),I=n(7),D=n(68),N=n(53),L=n(111),M=n(92);var F=function(e){u()(l,e);var t,n,r,a,s=(r=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return p()(this,e)});function l(e){var t;return o()(this,l),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(M.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=R()(A.a.mark((function e(t){var n,r;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=R()(A.a.mark((function e(t){var n,r,o;return A.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,x()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(E.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(N.a,{title:Object(E.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(D.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(I.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(E.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);F.propTypes={keyphrase:w.a.string,location:w.a.string,whichModalOpen:w.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:w.a.bool,onOpen:w.a.func.isRequired,onOpenWithNoKeyphrase:w.a.func.isRequired,onClose:w.a.func.isRequired,onAuthentication:w.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),H=n(54);var W=T.a.div(q||(q=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),G=function(e){u()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(E.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(E.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(E.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(W,{location:n},Object(y.createElement)(k.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(E.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(E.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);G.propTypes={keyword:w.a.string,onFocusKeywordChange:w.a.func.isRequired,onFocusKeyword:w.a.func.isRequired,onBlurKeyword:w.a.func.isRequired,isSEMrushIntegrationActive:w.a.bool,displayNoKeyphraseMessage:w.a.bool},G.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(v.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(G)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),l=n.n(c),u=n(6),d=n.n(u),p=n(13),f=n.n(p),m=n(14),b=n.n(m),h=n(8),y=n.n(h),g=n(15),O=n.n(g),v=n(0),E=n(4),j=n(1),w=n.n(j),_=n(12),T=n.n(_),k=n(3),S=n(2),R=n(96),P=n(81),A=n(50),C=n(42),x=n(35),I=n(28),D=n(54),N=n(36);function L(e){var t=e.target,n=e.children;return Object(v.createElement)(N.a,{target:t},n)}function M(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:w.a.string.isRequired,children:w.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(D.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return b()(this,e)});function o(){return l()(this,o),r.apply(this,arguments)}return d()(o,[{key:"renderResults",value:function(){return Object(v.createElement)(v.Fragment,null,Object(v.createElement)(q,null,Object(k.__)("Analysis results","wordpress-seo"),Object(v.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(v.createElement)("span",{className:"screen-reader-text"},Object(k.__)("Learn more about the readability analysis","wordpress-seo")))),Object(v.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(C.a)(this.props.overallScore);return Object(S.isNil)(this.props.overallScore)&&(t.className="loading"),Object(v.createElement)(I.LocationConsumer,null,(function(n){return"sidebar"===n?Object(v.createElement)(A.a,{title:Object(k.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(x.getIconForScore)(t.className),prefixIconCollapsed:Object(x.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(v.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(v.createElement)(B,null,Object(v.createElement)(R.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(v.Component);K.propTypes={results:w.a.array.isRequired,marksButtonStatus:w.a.string.isRequired,overallScore:w.a.number},K.defaultProps={overallScore:null},t.a=Object(E.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),l=n(3),u=n(1),d=n.n(u),p=n(30),f=n.n(p),m=n(15),b=n.n(m),h=n(7),y=n(18),g=n(9),O=n(37),v=n.n(O),E=n(12),j=n.n(E),w=n(85),_=n(83),T=j.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),k=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
+
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},S=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
+
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var A=function(e){var t,n=k(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=k(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:"YoastSchemaBlocksAnalysis"}),Object(i.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:S(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};A.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:w.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:w.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},A.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(A,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(A,e)};C.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=C,I=n(33),D=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=L(L(L({},e),a),"metabox"===e.location?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1});return Object(i.createElement)(x,s)};M.propTypes={displayFooter:d.a.bool.isRequired,schemaPageTypeSelected:d.a.string.isRequired,schemaArticleTypeSelected:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,defaultPageType:d.a.string.isRequired,loadSchemaPageData:d.a.func.isRequired,loadSchemaArticleData:d.a.func.isRequired,schemaPageTypeChange:d.a.func.isRequired,schemaArticleTypeChange:d.a.func.isRequired,location:d.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(D.a)()])(M)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(7),c=n(9),l=n(1),u=n.n(l),d=n(28),p=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=e.isPrivateBlog,l=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
+
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(147),p=n(28),f=n(112),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(148),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:w()||l()||u()||j()||_()||k,title:r(),titlePreviewFallback:E()||s()||d()||v()||O()||T,imageWarnings:p(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:T,descriptionInputPlaceholder:k,socialMediumName:"Twitter"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(150),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateFacebookImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,o=t.getFacebookTitle,i=t.getSeoTitle,s=t.getFacebookImageUrl,l=t.getImageFallback,u=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,y=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,O=t.getSocialDescriptionTemplate,v=t.getReplacedExcerpt,E=Object(a.sprintf)(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),j=Object(a.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:s(),imageFallbackUrl:l(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:O()||r()||g()||v()||j,title:o(),titlePreviewFallback:y()||i()||h()||b()||E,imageWarnings:u(),authorName:m(),siteUrl:f(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:E,descriptionInputPlaceholder:j,socialMediumName:"Facebook"}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(l.a)()])(s.a)},,,,,,function(e,t){e.exports=window.wp.editPost},,,,,,,function(e,t,n){"use strict";var r,o,a,i,s=n(34),c=n.n(s),l=n(30),u=n.n(l),d=n(39),p=n.n(d),f=n(0),m=/<(\/)?(\w+)\s*(\/)?>/g;function b(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function h(){var e=r.length-o;0!==e&&a.push(r.substr(o,e))}function y(e){var t=e.element,n=e.tokenStart,o=e.tokenLength,a=e.prevOffset,s=e.children,c=i[i.length-1],l=r.substr(c.prevOffset,n-c.prevOffset);l&&c.children.push(l),c.children.push(f.cloneElement.apply(void 0,[t,null].concat(u()(s)))),c.prevOffset=a||n+o}function g(e){var t=function(){var e=m.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=p()(e,4),o=n[0],a=n[1],i=n[2],s=n[3],c=o.length;return s?["self-closed",i,t,c]:a?["closer",i,t,c]:["opener",i,t,c]}(),n=p()(t,4),s=n[0],c=n[1],l=n[2],d=n[3],g=i.length,O=l>o?o:null;if(!e[c])return h(),!1;switch(s){case"no-more-tokens":if(0!==g){var v=i.pop(),E=v.leadingTextStart,j=v.tokenStart;a.push(r.substr(E,j))}return h(),!1;case"self-closed":return 0===g?(null!==O&&a.push(r.substr(O,l-O)),a.push(e[c]),o=l+d,!0):(y(b(e[c],l,d)),o=l+d,!0);case"opener":return i.push(b(e[c],l,d,l+d,O)),o=l+d,!0;case"closer":if(1===g)return function(e){var t=i.pop(),n=t.element,o=t.leadingTextStart,s=t.prevOffset,c=t.tokenStart,l=t.children,d=e?r.substr(s,e-s):r.substr(s);d&&l.push(d),null!==o&&a.push(r.substr(o,c-o)),a.push(f.cloneElement.apply(void 0,[n,null].concat(u()(l))))}(l),o=l+d,!0;var w=i.pop(),_=r.substr(w.prevOffset,l-w.prevOffset);w.children.push(_),w.prevOffset=l+d;var T=b(w.element,w.tokenStart,w.tokenLength,l+d);return T.children=w.children,y(T),o=l+d,!0;default:return h(),!1}}t.a=function(e,t){if(r=e,o=0,a=[],i=[],m.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(f.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return f.createElement.apply(void 0,[f.Fragment,null].concat(u()(a)))}},,,function(e,t){e.exports=window.wp.annotations},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n(0),o=n(1),a=n.n(o),i=n(18),s=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(i.Slot,{name:"YoastMetabox"},(function(e){return Object(s.a)(e)})))}var u=n(4),d=n(3),p=n(124),f=n(161),m=n(160),b=n(125),h=n(126),y=n(122),g=n(51),O=n(32),v=n(128),E=n(163),j=n(162),w=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(g.a,{hasSeparator:!1
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(E.a,null)),n&&Object(r.createElement)(g.a
|
83 |
+
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(j.a,null)))};w.propTypes={displayFacebook:a.a.bool.isRequired,displayTwitter:a.a.bool.isRequired};var _=w,T=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(_),k=n(36);function S(e){var t=e.target;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(T,null))}S.propTypes={target:a.a.string.isRequired};var R=n(127),P=n(115);function A(e){var t=e.settings;return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(O.a,{renderPriority:1},Object(r.createElement)(m.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(P.a,null))),Object(r.createElement)(O.a,{renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(f.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(O.a,{renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(O.a,{renderPriority:30},Object(r.createElement)(p.a,null)),t.displayAdvancedTab&&Object(r.createElement)(O.a,{renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(v.a,null))),t.displaySchemaSettings&&Object(r.createElement)(O.a,{renderPriority:50},Object(r.createElement)(R.a,null)),Object(r.createElement)(O.a,{renderPriority:-1},Object(r.createElement)(S,{target:"wpseo-section-social"})))}A.propTypes={settings:a.a.object.isRequired};var C=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(A);function x(e){var t=e.target,n=e.store,o=e.theme;return Object(r.createElement)(k.a,{target:t},Object(r.createElement)(l,{store:n,theme:o}),Object(r.createElement)(C,{store:n,theme:o}))}x.propTypes={target:a.a.string.isRequired,store:a.a.object,theme:a.a.object}},,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return O}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),l=n(2),u=n(23),d=n(4),p=n(17),f=n(43),m=n(40),b=n(108);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=e.jQuery,O=function(){function e(t,n){i()(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),Object(m.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=Object(m.mapCustomFields)(e,this._store),y(y({},e=Object(m.mapCustomTaxonomies)(e,this._store)),t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=Object(d.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(d.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=u.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=g(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch(Object(p.l)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch(Object(p.l)("excerpt",e.excerpt)),this._store.dispatch(Object(p.l)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch(Object(p.k)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch(Object(p.k)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch(Object(f.c)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:Object(m.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&Object(b.c)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=Object(d.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(l.debounce)(this.refreshYoastSEO,500),Object(d.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},Object(d.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}()}).call(this,n(204))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r,o=n(46),a=n.n(o),i=n(0),s=n(169),c=n(246),l=n(117),u=n(4),d=n(3),p=n(66),f=n(2),m=n(18),b=n(19),h=n(24),y=n(42),g=n(27),O=n.n(g),v=n(15),E=n.n(v),j=n(1),w=n.n(j),_=n(12),T=n.n(_).a.svg(r||(r=E()(["\n\twidth: ","px;\n\theight: ","px;\n\t&&& path {\n\t\tfill: ",";\n\t}\n\t&&& circle.yoast-icon-readability-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n\t\n\t&&& circle.yoast-icon-seo-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.color}),(function(e){return e.readabilityScoreColor}),(function(e){return e.isContentAnalysisActive?"inline":"none"}),(function(e){return e.seoScoreColor}),(function(e){return e.isKeywordAnalysisActive?"inline":"none"})),k=function(e){return Object(i.createElement)(T,O()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(i.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),Object(i.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),Object(i.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),Object(i.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};k.propTypes={readabilityScoreColor:w.a.string,isContentAnalysisActive:w.a.bool,seoScoreColor:w.a.string,isKeywordAnalysisActive:w.a.bool,size:w.a.number,color:w.a.string},k.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var S=k,R=Object(b.compose)([Object(u.withSelect)((function(e){var t,n,r=e("yoast-seo/editor"),o=Object(y.a)(r.getResultsForFocusKeyword().overallScore),a=Object(y.a)(r.getReadabilityResults().overallScore),i=r.getPreferences(),s=i.isKeywordAnalysisActive,c=i.isContentAnalysisActive;switch(a.className){case"good":t=h.colors.$color_good;break;case"ok":t=h.colors.$color_ok;break;case"bad":t=h.colors.$color_bad;break;default:t=h.colors.$color_score_icon}switch(o.className){case"good":n=h.colors.$color_good;break;case"ok":n=h.colors.$color_ok;break;case"bad":n=h.colors.$color_bad;break;default:n=h.colors.$color_score_icon}return{readabilityScoreColor:t,seoScoreColor:n,isKeywordAnalysisActive:s,isContentAnalysisActive:c}}))])(S),P=n(124),A=n(160),C=n(125),x=n(126),I=n(122),D=n(32),N=n(84),L=n(161),M=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(i.createElement)(L.a,{showCloseButton:!1,hasPaperStyle:!1}))},F=n(162),q=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(i.createElement)(F.a,null))},B=n(163),U=function(){return Object(i.createElement)(N.a,{title:Object(d.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(i.createElement)(B.a,null))},K=n(127),H=n(50),W=n(128);function G(e){var t=e.settings;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(m.Fill,{name:"YoastSidebar"},Object(i.createElement)(D.a,{renderPriority:1},Object(i.createElement)(A.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:8},Object(i.createElement)(C.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(i.createElement)(D.a,{renderPriority:23},Object(i.createElement)(M,null)),t.displayFacebook&&Object(i.createElement)(D.a,{renderPriority:24},Object(i.createElement)(U,null)),t.displayTwitter&&Object(i.createElement)(D.a,{renderPriority:25},Object(i.createElement)(q,null)),t.displaySchemaSettings&&Object(i.createElement)(D.a,{renderPriority:26},Object(i.createElement)(H.a,{title:Object(d.__)("Schema","wordpress-seo")},Object(i.createElement)(K.a,null))),t.displayAdvancedTab&&Object(i.createElement)(D.a,{renderPriority:27},Object(i.createElement)(H.a,{title:Object(d.__)("Advanced","wordpress-seo")},Object(i.createElement)(W.a,null))),t.isContentAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:10},Object(i.createElement)(x.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(D.a,{renderPriority:20},Object(i.createElement)(I.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(i.createElement)(D.a,{renderPriority:30},Object(i.createElement)(P.a,null))))}G.propTypes={settings:w.a.object.isRequired};var V=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(G),Y=n(192),$=n(25),z=n(108),Z=n(120),Q=n(103);function X(e){var t=e.theme;return Object(i.createElement)(Q.a,{theme:t,location:"sidebar"},Object(i.createElement)(m.Slot,{name:"YoastSidebar"},(function(e){return Object(Z.a)(e)})))}var J=n(5),ee=n.n(J),te=n(6),ne=n.n(te),re=n(11),oe=n.n(re),ae=n(13),ie=n.n(ae),se=n(14),ce=n.n(se),le=n(8),ue=n.n(le),de=n(52),pe=n(247),fe=n(10),me=n.n(fe),be=n(39),he=n.n(be),ye=n(54),ge=n(176);function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){me()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ee=Object(m.withSpokenMessages)((function(e){var t=e.isActive,n=e.activeAttributes,r=e.addingLink,o=e.value,a=e.onChange,s=e.speak,c=e.stopAddingLink,l=Object(i.useMemo)(f.uniqueId,[r]),u=Object(i.useState)(),b=he()(u,2),h=b[0],y=b[1],g=Object(i.useMemo)((function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(r&&!t)return n;var o=n.startContainer;for(o=o.nextElementSibling||o;o.nodeType!==window.Node.ELEMENT_NODE;)o=o.parentNode;return o.closest("a")}}),[r,o.start,o.end]),O=ve({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},h),v=Object(i.createElement)(ye.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),E=Object(ge.a)(Object(d.sprintf)(Object(d.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),j=Object(ge.a)(Object(d.sprintf)(Object(d.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),w=[{id:"opensInNewTab",title:Object(d.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:E},{id:"sponsored",title:j}],_=window.wp.blockEditor.__experimentalLinkControl;return Object(i.createElement)(m.Popover,{key:l,anchorRef:g,focusOnMount:!!r&&"firstElement",onClose:c,position:"bottom center"},Object(i.createElement)(_,{value:O,onChange:function(e){e=ve(ve({},h),e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var r=n&&void 0===e.url;if(y(r?e:void 0),!r){var i=Object(de.prependHTTP)(e.url),l=function(e){var t=e.noFollow,n=e.sponsored,r={type:"core/link",attributes:{url:e.url}},o=[];return e.opensInNewWindow&&(r.attributes.target="_blank",o.push("noreferrer noopener")),n&&(o.push("sponsored"),o.push("nofollow")),t&&o.push("nofollow"),o.length>0&&(o=Object(f.uniq)(o),r.attributes.rel=o.join(" ")),r}({url:i,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if(Object(p.isCollapsed)(o)&&!t){var u=e.title||i,m=Object(p.applyFormat)(Object(p.create)({text:u}),l,0,u.length);a(Object(p.insert)(o,m))}else{var b=Object(p.applyFormat)(o,l);b.start=b.end,b.activeFormats=[],a(b)}n||c(),function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=Object(de.getProtocol)(t);if(!Object(de.isValidProtocol)(n))return!1;if(Object(f.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var r=Object(de.getAuthority)(t);if(!Object(de.isValidAuthority)(r))return!1;var o=Object(de.getPath)(t);if(o&&!Object(de.isValidPath)(o))return!1;var a=Object(de.getQueryString)(t);if(a&&!Object(de.isValidQueryString)(a))return!1;var i=Object(de.getFragment)(t);if(i&&!Object(de.isValidFragment)(i))return!1}return!(Object(f.startsWith)(t,"#")&&!Object(de.isValidFragment)(t))}(i)?s(t?Object(d.__)("Link edited.","wordpress-seo"):Object(d.__)("Link inserted.","wordpress-seo"),"assertive"):s(Object(d.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")}},forceIsEditingLink:r,settings:w}))}));var je=Object(d.__)("Link","wordpress-seo"),we={name:"core/link",title:je,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if(Object(p.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return Object(de.isURL)(o)?(window.console.log("Created link:\n\n",o),Object(p.applyFormat)(e,{type:"core/link",attributes:{url:Object(pe.decodeEntities)(o)}})):e},edit:Object(m.withSpokenMessages)(function(e){ie()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=ue()(t);if(n){var o=ue()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return ce()(this,e)});function o(){var e;return ee()(this,o),(e=r.apply(this,arguments)).addLink=e.addLink.bind(oe()(e)),e.stopAddingLink=e.stopAddingLink.bind(oe()(e)),e.onRemoveFormat=e.onRemoveFormat.bind(oe()(e)),e.state={addingLink:!1},e}return ne()(o,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=Object(p.getTextContent)(Object(p.slice)(t));r&&Object(de.isURL)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:r}})):r&&Object(de.isEmail)(r)?n(Object(p.applyFormat)(t,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n(Object(p.removeFormat)(t,"core/link")),r(Object(d.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,o=e.onChange,a=window.wp.blockEditor,s=a.RichTextToolbarButton,c=a.RichTextShortcut;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&Object(i.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(d.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(i.createElement)(s,{name:"link",icon:"admin-links",title:je,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&Object(i.createElement)(Ee,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:o}))}}]),o}(i.Component))},_e=n(7),Te=n(35);function ke(e){var t=e.score,n=e.label,r=e.scoreValue;return Object(i.createElement)("div",null,Object(i.createElement)(_e.SvgIcon,Object(Te.getIconForScore)(t)),Object(i.createElement)("span",null," ",n," ",r&&Object(i.createElement)("strong",null,r)))}function Se(e){var t=e.checklist,n=e.onClick,r=t.every((function(e){return"good"===e.score}));return Object(i.createElement)(i.Fragment,null,t.map((function(e){return Object(i.createElement)(ke,O()({key:e.label},e))})),Object(i.createElement)("br",null),!r&&Object(i.createElement)(_e.Button,{onClick:n},Object(d.__)("Improve your post with Yoast SEO","wordpress-seo")))}function Re(e){var t,n=e.checklist,r=e.onClick;return t=n.every((function(e){return"good"===e.score}))?Object(d.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(d.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,t),Object(i.createElement)(Se,{checklist:n,onClick:r}))}function Pe(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=Object(y.a)(t.getReadabilityResults().overallScore);e.push({label:Object(d.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ae(e,t){if(t.getPreferences().isContentAnalysisActive){var n=Object(y.a)(t.getResultsForFocusKeyword().overallScore);e.push({label:Object(d.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Ce(e,t,n){if(n.getBlocks().some((function(e){return!0===e.attributes["is-yoast-schema-block"]}))){var r=t.getSchemaBlocksValidationResults(),o=Object.values(r);if(o&&o.length>0){var a=o.every((function(e){return e.result<=0}));e.push({label:Object(d.__)("Schema analysis:","wordpress-seo"),score:a?"good":"bad",scoreValue:a?Object(d.__)("Good","wordpress-seo"):Object(d.__)("Needs improvement","wordpress-seo")})}}}ke.propTypes={score:j.string.isRequired,label:j.string.isRequired,scoreValue:j.string},ke.defaultProps={scoreValue:""},Se.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired},Re.propTypes={checklist:w.a.array.isRequired,onClick:w.a.func.isRequired};var xe,Ie,De,Ne=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(d.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(o,t),Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}))])(Re),Le=Object(b.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/editor"),o=[];return Pe(o,t),Ae(o,t),Ce(o,n,r),{checklist:o}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}))])(Se),Me=n(16);function Fe(){return(Fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function qe(e){return Me.createElement("svg",Fe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),xe||(xe=Me.createElement("g",{fill:"none",fillRule:"evenodd"},Me.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 10-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 00675-790"}),Me.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 00250 0v-559h186z"}))))}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ue(e){return Me.createElement("svg",Be({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Ie||(Ie=Me.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),De||(De=Me.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff"})))}function Ke(e){var t=e.permalink,n=encodeURI(t);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(d.__)("Share your post!","wordpress-seo")),Object(i.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(qe,null),Object(d.__)("Facebook","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(Ue,null),Object(d.__)("Twitter","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(d.__)("(Opens in a new browser tab)","wordpress-seo"))))))}Ke.propTypes={permalink:w.a.string.isRequired};var He=Object(b.compose)([Object(u.withSelect)((function(e){return{permalink:e("core/editor").getPermalink()}}))])(Ke),We=n(20);var Ge=n(248);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){var t=Object(We.a)(),n=t.isPremium,r=n?"Yoast SEO Premium":"Yoast SEO",o=Object(i.createElement)(S,null);Object(l.updateCategory)("yoast-structured-data-blocks",{icon:o}),Object(l.updateCategory)("yoast-internal-linking-blocks",{icon:o});var a={isRtl:t.isRtl},p=e.getState().preferences,f=p.isKeywordAnalysisActive||p.isContentAnalysisActive,b=p.isZapierIntegrationActive&&!p.isZapierConnected;!Object(u.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(u.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(c.registerPlugin)("yoast-seo",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(s.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(i.createElement)(R,null)},r),Object(i.createElement)(s.PluginSidebar,{name:"seo-sidebar",title:r},Object(i.createElement)(X,{store:e,theme:a})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(V,{store:e,theme:a}),Object(i.createElement)(Y.a,{target:"wpseo-metabox-root",store:e,theme:a})),f&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Ne,null)),n&&b&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(m.Slot,{name:"YoastZapierPrePublish"})),Object(i.createElement)(s.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(He,null)),f&&Object(i.createElement)(s.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(d.__)("Yoast SEO","wordpress-seo"),icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Le,null)))},icon:Object(i.createElement)(R,null)})})(e),"function"==typeof Object(f.get)(window,"wp.blockEditor.__experimentalLinkControl")?[we].forEach((function(e){var t=e.name,n=e.replaces,r=a()(e,["name","replaces"]);n&&Object(u.dispatch)("core/rich-text").removeFormatTypes(n),t&&Object(p.registerFormatType)(t,r)})):console.warn(Object(d.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(d.sprintf)(Object(d.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(z.b)()&&e.dispatch(Object($.setMarkerStatus)("enabled"))}(e)},window.yoast.EditorData=Ge.a}]);
|
js/dist/{bulk-editor-1650.js → bulk-editor-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,s){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:s})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(s,i,function(n){return e[n]}.bind(null,i));return s},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,s){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:s})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(s,i,function(n){return e[n]}.bind(null,i));return s},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=259)}({21:function(e,n){e.exports=window.jQuery},259:function(e,n,t){"use strict";t.r(n);var s,i=t(21),o=t.n(i);s=function(e){var n=e.find("[class^=wpseo-new]").first().attr("class"),t="#"+n+"-",s=t.replace("new","existing"),i=e.find("th[id^=col_existing_yoast]").first().text().replace("Existing ",""),a=n.replace("-new-","_save_"),r="wpseo_save_all_"+e.attr("class").split("wpseo_bulk_")[1],l=a.replace("wpseo_save_",""),u={newClass:"."+n,newId:t,existingId:s},c={submit_new:function(e){c.submitNew(e)},submitNew:function(e){var n,t=u.newId+e,s=u.existingId+e;n="select-one"===o()(u.newId+e).prop("type")?o()(t).find(":selected").text():o()(t).val();var r=o()(s).html();if(n===r)o()(t).val("");else{if(""===n&&!window.confirm("Are you sure you want to remove the existing "+i+"?"))return void o()(t).val("");var l={action:a,_ajax_nonce:wpseoBulkEditorNonce,wpseo_post_id:e,new_value:n,existing_value:r};o.a.post(ajaxurl,l,c.handleResponse)}},submit_all:function(e){c.submitAll(e)},submitAll:function(e){e.preventDefault();var n={action:r,_ajax_nonce:wpseoBulkEditorNonce,send:!1,items:{},existingItems:{}};o()(u.newClass).each((function(){var e=o()(this).data("id"),t=o()(this).val(),s=o()(u.existingId+e).html();""!==t&&(t===s?o()(u.newId+e).val(""):(n.send=!0,n.items[e]=t,n.existingItems[e]=s))})),n.send&&o.a.post(ajaxurl,n,c.handleResponses)},handle_response:function(e,n){c.handleResponse(e,n)},handleResponse:function(e,n){if("success"===n){var t=e;if("string"==typeof t&&(t=JSON.parse(t)),t instanceof Array)o.a.each(t,(function(){c.handleResponse(this,n)}));else if("success"===t.status){var s=t["new_"+l];o()(u.existingId+t.post_id).html(s.replace(/\\(?!\\)/g,"")),o()(u.newId+t.post_id).val("")}}},handle_responses:function(e,n){c.handleResponses(e,n)},handleResponses:function(e,n){var t=o.a.parseJSON(e);o.a.each(t,(function(){c.handleResponse(this,n)}))},set_events:function(){c.setEvents()},setEvents:function(){e.find(".wpseo-save").click((function(e){var n=o()(this).data("id");e.preventDefault(),c.submitNew(n,this)})),e.find(".wpseo-save-all").click(c.submitAll),e.find(u.newClass).keydown((function(e){if(13===e.which){e.preventDefault();var n=o()(this).data("id");c.submitNew(n,this)}}))}};return c},window.bulk_editor=s,window.bulkEditor=s,o()(document).ready((function(){o()('table[class*="wpseo_bulk"]').each((function(e,n){var t=o()(n);s(t).setEvents()}))}))}});
|
js/dist/{classic-editor-1650.js → classic-editor-1660.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=349)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(86),a=n(87),o=n(88);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(129)),s=i(n(132));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(92),s=n(122),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(98),a=n(99),o=n(100);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),a=n.n(r),o=n(2),s=n(78),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(101);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(7),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(7),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(6),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),E=n.n(w);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(7),u=n(9),p=c.a.div(r||(r=s()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=s()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,,,,,,,,,function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(94),j=n(23),w=n(35);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);E.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=E;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(7),O=n(1),j=n.n(O),w=n(62);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
@@ -10,13 +10,13 @@ Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Obje
|
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(_.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(_.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
-
Object(_.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(S,{type:"info"},k()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(x,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
-
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(6),O=n.n(v),j=n(11),w=n.n(j),E=n(13),k=n.n(E),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var N="yoast-semrush-country-selector",q=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],M=function(e){k()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:N},Object(o.createElement)(u.SingleSelect,{id:N+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:q,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:N+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);M.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},M.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=M,L=n(30),F=n.n(L),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){k()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
@@ -24,11 +24,11 @@ Object(s.__)("Would you like to be able to add these related keyphrases to the %
|
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
-
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(6),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),E=n(7),k=n(24),_=n(1),T=n.n(_),R=n(12),S=n.n(R),x=n(42),C=n(81),P=n(9),I=S.a.p(r||(r=v()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),k.colors.$color_upsell_text),A=S.a.div(a||(a=v()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(P.getDirectionalStyle)("border-left","border-right"),k.colors.$color_pink_dark,I,(function(e){return"vertical"===e.alignment&&"16px"})),N=S()(E.SvgIcon)(o||(o=v()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(P.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(P.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),q=Object(P.makeOutboundLink)(E.UpsellLinkButton),
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(q,{href:n,className:"UpsellLinkButton"},Object(w.sprintf)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
-
Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(N,{icon:"arrow-right",size:"8px",color:k.colors.$color_black}))))};
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
@@ -48,7 +48,7 @@ Object(w.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo")
|
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(E.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),o.open),r&&Object(O.createElement)(oe.a,{onRequestClose:s,className:e.className,title:o.heading},e.children))};ce.propTypes={openButtonIcon:T.a.string,labels:T.a.shape({open:T.a.string,modalAriaLabel:T.a.string.isRequired,heading:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}).isRequired,classes:T.a.shape({openButton:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}),className:T.a.string,children:T.a.any.isRequired},ce.defaultProps={className:oe.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
@@ -56,11 +56,11 @@ Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
|
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
-
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:E.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:k.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:k.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(7),l=n(9),u=n(1),p=n.n(u),d=n(5),m=n.n(d),f=n(6),b=n.n(f),h=n(13),y=n.n(h),g=n(14),v=n.n(g),O=n(8),j=n.n(O),w=n(15),E=n.n(w),k=n(12);var _=n.n(k).a.div(r||(r=E()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),T=function(e){y()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var a=j()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return v()(this,e)});function a(){return m()(this,a),r.apply(this,arguments)}return b()(a,[{key:"render",value:function(){return Object(s.createElement)(_,null,Object(s.createElement)(c.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);T.propTypes={id:p.a.string,isEnabled:p.a.bool,onToggle:p.a.func,onToggleDisabled:p.a.func},T.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var R=T,S=n(51),x=n(50),C=Object(l.makeOutboundLink)();function P(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?S.a:x.a;return Object(s.createElement)(o,{id:Object(l.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(c.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(C,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(R,{id:Object(l.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}))}P.propTypes={isCornerstone:p.a.bool,onChange:p.a.func,learnMoreUrl:p.a.string.isRequired,location:p.a.string},P.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var I=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(I.a)()])(P)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(7),N=n(68),q=n(53),M=n(110),D=n(91);var L=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(q.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(M.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(N.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);L.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},L.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=L,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(6),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(3),R=n(2),S=n(95),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),N=n(54),q=n(36);function M(e){var t=e.target,n=e.children;return Object(O.createElement)(q.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}M.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(N.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(M,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return L(L({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(7),y=n(9),g=n(37),v=n.n(g),O=n(12),j=n.n(O),w=n(84),E=j.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),k=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
-
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
@@ -68,16 +68,16 @@ Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlur
|
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(s.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
-
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},E={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},k={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,E),v.isPost&&Object(o.createElement)(f,k),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(93),s=n(130),i=n(131),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(93);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(97),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(146),d=n(28),m=n(111),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(147),c=n(20),l=n(57),u=n(89),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,E=t.getSocialDescriptionTemplate,k=t.getReplacedExcerpt,_=Object(o.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:E()||l()||u()||w()||k()||T,title:r(),titlePreviewFallback:j()||i()||p()||O()||v()||_,imageWarnings:d(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:_,descriptionInputPlaceholder:T,socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
-
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
|
83 |
-
/* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};E.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=E,_=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(36);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(_,null))}R.propTypes={target:o.a.string.isRequired};var S=n(
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=350)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(87),a=n(88),o=n(89);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(130)),s=i(n(133));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(93),s=n(123),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(99),a=n(100),o=n(101);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),a=n.n(r),o=n(2),s=n(78),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(7),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(7),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(6),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),E=n.n(w);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(7),u=n(9),p=c.a.div(r||(r=s()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=s()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,,,,,,,,,function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(95),j=n(23),w=n(35);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);E.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=E;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},,function(e,t){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(7),O=n(1),j=n.n(O),w=n(62);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
10 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
11 |
Object(_.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(_.sprintf)(
|
12 |
/* Translators: %s expands to Yoast SEO Premium */
|
13 |
+
Object(_.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(S,{type:"info"},k()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(x,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(149),A=n(58);var N=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return i()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,s=e.imageWarnings,i=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,m=e.recommendedReplacementVariables,f=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(P,{socialMediumName:o}),Object(h.createElement)(I.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:i,descriptionInputPlaceholder:c,imageWarnings:s,replacementVariables:d,recommendedReplacementVariables:m,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),a}(h.Component);N.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:A.replacementVariablesShape,recommendedReplacementVariables:A.recommendedReplacementVariablesShape,location:g.a.string},N.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=N},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==s.return||s.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(12),i=n(28),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(s.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r,a,o=n(16);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=o.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),a||(a=o.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(0),i=n(1),c=n.n(i),l=n(12),u=n.n(l),p=n(7),d=n(9),m=u()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),f=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(s.createElement)(m,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};f.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},f.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=f},,,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(0),s=n(3),i=n(1),c=n.n(i),l=n(2),u=n(7),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
|
14 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
15 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
16 |
/* translators: %s : Expands to "Semrush". */
|
17 |
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
|
18 |
/* translators: %s : Expands to "Semrush". */
|
19 |
+
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(6),O=n.n(v),j=n(11),w=n.n(j),E=n(13),k=n.n(E),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var N="yoast-semrush-country-selector",q=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],L=function(e){k()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:N},Object(o.createElement)(u.SingleSelect,{id:N+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:q,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:N+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);L.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},L.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=L,M=n(30),F=n.n(M),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){k()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
|
20 |
/* translators: %s expands to Semrush */
|
21 |
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
|
22 |
/* translators: %s: Expands to "Yoast SEO". */
|
24 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
25 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
|
26 |
/* translators: %s: Expands to "Yoast SEO". */
|
27 |
+
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(6),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),E=n(7),k=n(24),_=n(1),T=n.n(_),R=n(12),S=n.n(R),x=n(42),C=n(81),P=n(9),I=S.a.p(r||(r=v()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),k.colors.$color_upsell_text),A=S.a.div(a||(a=v()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(P.getDirectionalStyle)("border-left","border-right"),k.colors.$color_pink_dark,I,(function(e){return"vertical"===e.alignment&&"16px"})),N=S()(E.SvgIcon)(o||(o=v()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(P.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(P.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),q=Object(P.makeOutboundLink)(E.UpsellLinkButton),L=function(e){var t=e.alignment,n=e.url;return Object(O.createElement)(A,{alignment:t},Object(O.createElement)(I,null,Object(w.sprintf)(
|
28 |
/* translators: %s expands to Yoast SEO Premium */
|
29 |
Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(q,{href:n,className:"UpsellLinkButton"},Object(w.sprintf)(
|
30 |
/* translators: %s expands to Premium */
|
31 |
+
Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(N,{icon:"arrow-right",size:"8px",color:k.colors.$color_black}))))};L.propTypes={alignment:T.a.oneOf(["horizontal","vertical"]),url:T.a.string.isRequired},L.defaultProps={alignment:"vertical"};var D,M,F=L,B=n(28),K=n(51),U=n(68),H=n(37),Y=n.n(H);var V=S.a.ul(D||(D=v()(['\n\tlist-style: none;\n\tmargin: 0 0 16px;\n\tpadding: 0;\n\n\tli {\n\t\tmargin: 5px 0 0 0;\n\t\tpadding-left: 16px;\n\t}\n\n\tspan[aria-hidden="true"]:before {\n\t\tmargin: 0 8px 0 -16px;\n\t\tfont-weight: bold;\n\t\tcontent: "+";\n\t}\n']))),z=S.a.small(M||(M=v()(["\n\tdisplay: block;\n"]))),W=Object(P.makeOutboundLink)(),G=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(e){return l()(this,a),r.call(this,e)}return p()(a,[{key:"createBenefitsList",value:function(e){return e.length>0&&Object(O.createElement)(V,{role:"list"},e.map((function(e,t){return Object(O.createElement)("li",{key:t},Object(O.createElement)("span",{"aria-hidden":"true"}),Y()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(O.createElement)("strong",null)}}))})))}},{key:"createInfoParagraphs",value:function(e){return e.map((function(e,t){return Object(O.createElement)("p",{key:t},e)}))}},{key:"render",value:function(){return Object(O.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(O.createElement)(W,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(O.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(O.createElement)(z,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),a}(O.Component);G.propTypes={benefits:T.a.array,infoParagraphs:T.a.array,upsellButton:T.a.object,upsellButtonText:T.a.string.isRequired,upsellButtonLabel:T.a.string,upsellButtonHasCaret:T.a.bool},G.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};var $=G,Z=Object(P.makeOutboundLink)(),J=function(e){var t=Object(w.sprintf)(
|
32 |
/* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
|
33 |
Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
|
34 |
/* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
|
48 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
49 |
Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
|
50 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
51 |
+
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(E.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),o.open),r&&Object(O.createElement)(oe.a,{onRequestClose:s,className:e.className,title:o.heading},e.children))};ce.propTypes={openButtonIcon:T.a.string,labels:T.a.shape({open:T.a.string,modalAriaLabel:T.a.string.isRequired,heading:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}).isRequired,classes:T.a.shape({openButton:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}),className:T.a.string,children:T.a.any.isRequired},ce.defaultProps={className:oe.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(96),pe=n(50),de=n(18);function me(e){var t=e.location;return Object(O.createElement)(de.Slot,{name:"yoast-synonyms-".concat(t)})}me.propTypes={location:T.a.string.isRequired};var fe,be=n(35);function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=S.a.span(fe||(fe=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),ve=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(w.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
|
52 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
53 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
54 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
56 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
57 |
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
|
58 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
59 |
+
Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:E.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:k.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:k.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(18),l=n(7),u=n(9),p=n(1),d=n.n(p),m=n(5),f=n.n(m),b=n(6),h=n.n(b),y=n(13),g=n.n(y),v=n(14),O=n.n(v),j=n(8),w=n.n(j),E=n(15),k=n.n(E),_=n(12);var T=n.n(_).a.div(r||(r=k()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){g()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=w()(t);if(n){var a=w()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return O()(this,e)});function a(){return f()(this,a),r.apply(this,arguments)}return h()(a,[{key:"render",value:function(){return Object(s.createElement)(T,null,Object(s.createElement)(l.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=R,x=n(51),C=n(50),P=Object(u.makeOutboundLink)();function I(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?x.a:C.a;return Object(s.createElement)(o,{id:Object(u.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(l.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(P,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(S,{id:Object(u.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}),Object(s.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}I.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},I.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var A=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(A.a)()])(I)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(6),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(7),N=n(68),q=n(53),L=n(111),D=n(92);var M=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(q.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(N.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);M.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},M.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=M,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(6),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(3),R=n(2),S=n(96),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),N=n(54),q=n(36);function L(e){var t=e.target,n=e.children;return Object(O.createElement)(q.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(N.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return M(M({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(7),y=n(18),g=n(9),v=n(37),O=n.n(v),j=n(12),w=n.n(j),E=n(85),k=n(83),_=w.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),T=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
60 |
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
61 |
+
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},R=function(e){return Object(l.sprintf)(
|
62 |
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
63 |
+
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(s.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var x=function(e){return Object(s.createElement)("p",null,e.helpTextDescription+" ",Object(s.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};x.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var C=function(e){var t,n=T(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=T(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(k.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(s.createElement)(s.Fragment,null,a?Object(s.createElement)(x,e):Object(s.createElement)(S,e),a&&Object(s.createElement)(y.Slot,{name:"YoastSchemaBlocksAnalysis"}),Object(s.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(s.createElement)("p",null,(t=e.postTypeName,O()({mixedString:R(t),components:{link:Object(s.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};C.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:E.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:E.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},C.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var P=function(e){return e.isMetabox?Object(s.createPortal)(Object(s.createElement)(_,null,Object(s.createElement)(C,e)),document.getElementById("wpseo-meta-section-schema")):Object(s.createElement)(C,e)};P.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},P.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var I=P,A=n(33),N=n(57);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t=null!==A.a.articleTypeInput;Object(s.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},i=L(L(L({},e),o),"metabox"===e.location?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1});return Object(s.createElement)(I,i)};D.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(i.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,s=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:s(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(N.a)()])(D)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(0),s=n(3),i=n(7),c=n(9),l=n(1),u=n.n(l),p=n(28),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,l=function(e){var t=Object(s.__)("No","wordpress-seo"),n=Object(s.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(s.sprintf)(
|
64 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
65 |
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
|
66 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
68 |
/* Translators: %s translates to the Post Label in singular form */
|
69 |
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(s.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
|
70 |
/* Translators: %s translates to the Post Label in singular form */
|
71 |
+
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},E={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},k={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,E),v.isPost&&Object(o.createElement)(f,k),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(94),s=n(131),i=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(7);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(147),d=n(28),m=n(112),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(148),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,E=t.getSocialDescriptionTemplate,k=t.getReplacedExcerpt,_=Object(o.sprintf)(
|
72 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
73 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
|
74 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
75 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
|
76 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:E()||l()||u()||w()||k()||T,title:r(),titlePreviewFallback:j()||i()||p()||O()||v()||_,imageWarnings:d(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:_,descriptionInputPlaceholder:T,socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(150),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,s=t.getSeoTitle,i=t.getFacebookImageUrl,l=t.getImageFallback,u=t.getFacebookWarnings,p=t.getRecommendedReplaceVars,d=t.getReplaceVars,m=t.getSiteUrl,f=t.getAuthorName,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,y=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,v=t.getSocialDescriptionTemplate,O=t.getReplacedExcerpt,j=Object(o.sprintf)(
|
77 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
78 |
Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
|
79 |
/* Translators: %s expands to the social medium name, i.e. Faceboook. */
|
80 |
Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
|
81 |
+
/* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(s.Slot,{name:"YoastMetabox"},(function(e){return Object(i.a)(e)})))}var u=n(4),p=n(3),d=n(124),m=n(161),f=n(160),b=n(125),h=n(126),y=n(122),g=n(51),v=n(32),O=n(128),j=n(163),w=n(162),E=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(g.a,{hasSeparator:!1
|
82 |
/* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
|
83 |
+
/* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};E.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=E,_=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(36);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(_,null))}R.propTypes={target:o.a.string.isRequired};var S=n(127),x=n(115);function C(e){var t=e.settings;return Object(r.createElement)(s.Fill,{name:"YoastMetabox"},Object(r.createElement)(v.a,{renderPriority:1},Object(r.createElement)(f.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(s.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(x.a,null))),Object(r.createElement)(v.a,{renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(m.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(v.a,{renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(v.a,{renderPriority:30},Object(r.createElement)(d.a,null)),t.displayAdvancedTab&&Object(r.createElement)(v.a,{renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(r.createElement)(O.a,null))),t.displaySchemaSettings&&Object(r.createElement)(v.a,{renderPriority:50},Object(r.createElement)(S.a,null)),Object(r.createElement)(v.a,{renderPriority:-1},Object(r.createElement)(R,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired};var P=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(C);function I(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(l,{store:n,theme:a}),Object(r.createElement)(P,{store:n,theme:a}))}I.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(30),a=n.n(r),o=n(5),s=n.n(o),i=n(6),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(0),h=n(18),y=n(192),g=n(20);var v=[],O=null,j=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(a()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(b.createElement)(t,{key:n})}))}}]),o}(b.Component);function w(e,t){null===O||null===O.current?v.push({key:e,Component:t}):O.current.registerComponent(e,t)}var E=n(10),k=n.n(E),_=n(23),T=n.n(_),R=n(2),S=n(17),x=n(43),C=n(40),P=n(38);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){k()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N=T.a.markers.removeMarks,q=jQuery,L=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";s()(this,e),this._refresh=t,this._store=n,this._initialData={},this._previousData={},this._tinyMceId=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),Object(C.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!Object(R.isUndefined)(wp.media)&&!Object(R.isUndefined)(wp.media.featuredImage)){q("#postimagediv").on("click","#remove-post-thumbnail",(function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())}));var t=wp.media.featuredImage.frame();t.on("select",(function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))})),P.addEventHandler(this._tinyMceId,["init"],(function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(n)})),P.addEventHandler(this._tinyMceId,["change"],Object(R.debounce)((function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(t)}}),1e3))}}},{key:"getFeaturedImage",value:function(){var e=q("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch(Object(S.k)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=T.a.languageProcessing.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=q(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"getTitle",value:function(){var e=document.getElementById("title");return e&&e.value||""}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.getElementById("excerpt"),n=t&&t.value||"";return""!==n||!1===e?n:Object(C.excerptFromContent)(this.getContent())}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._tinyMceId;return N(P.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",(function(e){n.updateReplacementData(e,t)}))}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch(Object(S.l)(t,n))}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Object(S.l)("excerpt",e.excerpt)),this._store.dispatch(Object(S.l)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=Object(R.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=Object(C.mapCustomFields)(e,this._store),A(A({},e=Object(C.mapCustomTaxonomies)(e,this._store)),{},{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return A(A({},this._store.getState().snippetEditor.data),{},{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=w,function(e){var t=Object(g.a)();O=Object(b.createRef)();var n={isRtl:t.isRtl};Object(b.render)(Object(b.createElement)(h.SlotFillProvider,null,Object(b.createElement)(y.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(b.createElement)(j,{ref:O})),document.getElementById("wpseo-metabox-root")),v.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}(e)},window.yoast.EditorData=L}]);
|
js/dist/configuration-wizard-1650.js
DELETED
@@ -1,5 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=348)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},,,,,function(e,t){e.exports=window.jQuery},function(e,t){e.exports=window.yoast.components},,,,,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},,,,,,,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(n(16)),i=u(n(129)),a=u(n(132));function u(e){return e&&e.__esModule?e:{default:e}}var s=void 0;t.default=function(e){var t=e.mixedString,n=e.components,u=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(u)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,a.default)(t);try{return function e(t,n){var a,u,c,l,f,p,d,h,y=[],v={};for(p=0;p<t.length;p++)if("string"!==(f=t[p]).type){if(!n.hasOwnProperty(f.value)||void 0===n[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(n[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){a=n[f.value],c=p;break}y.push(n[f.value])}else y.push(f.value);return a&&(l=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(c,t),d=e(t.slice(c+1,l),n),u=o.default.cloneElement(a,{},d),y.push(u),l<t.length-1&&(h=e(t.slice(l+1),n),y=y.concat(h))),1===y.length?y[0]:(y.forEach((function(e,t){e&&(v["interpolation-child-"+t]=e)})),(0,i.default)(v))}(c,n)}catch(e){if(u)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,,,,,,,function(e,t,n){var r=n(101);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return i})),n.d(t,"setYoastComponentsL10n",(function(){return a})),n.d(t,"setWordPressSeoL10n",(function(){return u}));var r=n(3),o=n(2);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function a(){i("yoast-components")}function u(){i("wordpress-seo")}},,,,,,,,,,,,,,,,,,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},,,,,,,,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},,,,,function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},,,,,,,,,,,,function(e,t,n){var r=n(210)("wks"),o=n(196),i=n(142).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},,,,,,,,,,,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(93),a=n(130),u=n(131),s="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function f(e){return(""+e).replace(l,"$&/")}var p,d,h=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function m(e,t,n){var o,a,u=e.result,s=e.keyPrefix,c=e.func,l=e.context,p=c.call(l,t,e.count++);Array.isArray(p)?b(p,u,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,a=s+(!p.key||t&&t.key===p.key?"":f(p.key)+"/")+n,p=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),u.push(p))}function b(e,t,n,r,i){var u="";null!=n&&(u=f(n)+"/");var l=v.getPooled(t,u,r,i);!function(e,t,n){null==e||function e(t,n,r,i){var u,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===o)return r(i,t,""===n?"."+c(t,0):n),1;var f=0,p=""===n?".":n+":";if(Array.isArray(t))for(var d=0;d<t.length;d++)f+=e(u=t[d],p+c(u,d),r,i);else{var h=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var y,v=h.call(t),m=0;!(y=v.next()).done;)f+=e(u=y.value,p+c(u,m++),r,i);else if("object"===l){var b=""+t;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(t).join(", ")+"}":b,"")}}return f}(e,"",t,n)}(e,m,l),v.release(l)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(d=v).instancePool=[],d.getPooled=p||h,d.poolSize||(d.poolSize=10),d.release=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)b(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;(s=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var r=n(93);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){e.exports={default:n(268),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(271))&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(232))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(294)),o=a(n(298)),i=a(n(232));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t){e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){e.exports=window.ReactDOM},,function(e,t,n){var r=n(142),o=n(106),i=n(204),a=n(169),u=n(157),s=function(e,t,n){var c,l,f,p=e&s.F,d=e&s.G,h=e&s.S,y=e&s.P,v=e&s.B,m=e&s.W,b=d?o:o[t]||(o[t]={}),g=b.prototype,O=d?r:h?r[t]:(r[t]||{}).prototype;for(c in d&&(n=t),n)(l=!p&&O&&void 0!==O[c])&&u(b,c)||(f=l?O[c]:n[c],b[c]=d&&"function"!=typeof O[c]?n[c]:v&&l?i(f,r):m&&O[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((b.virtual||(b.virtual={}))[c]=f,e&s.R&&g&&!g[c]&&a(g,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(170),o=n(226),i=n(205),a=Object.defineProperty;t.f=n(144)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(172)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},,,,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(261))&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(260))&&r.__esModule?r:{default:r};t.default=o.default},,,,,,function(e,t,n){var r=n(143),o=n(179);e.exports=n(144)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(171);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(229),o=n(207);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,n,r){if(r=r||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var o="",i=0;i<t.length;i++)o&&(o+=","),o+=this.create(e,t[i],n,r);return o}return this.create(e,t,n,r)},create:function(e,t,n,r){return(t=t||"all")+" "+(e=e||"450ms")+" "+(r=r||"linear")+" "+(n||"0ms")}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var r,o=n(10),i=n.n(o),a=n(5),u=n.n(a),s=n(6),c=n.n(s),l=n(11),f=n.n(l),p=n(13),d=n.n(p),h=n(14),y=n.n(h),v=n(8),m=n.n(v),b=n(15),g=n.n(b),O=n(0),_=n(182),w=n.n(_),j=n(1),x=n.n(j),S=n(2),E=n(12),k=n(3),M=n(7),T=n(9);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var C=Object(E.createGlobalStyle)(r||(r=g()(["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"]))),P={"X-WP-NONCE":wpApiSettings.nonce},D=wpApiSettings.root,L=function(){return Object(O.createElement)(M.SvgIcon,{icon:"arrow-down",color:"#72777c",size:"10px"})},F=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return y()(this,e)});function o(e){var t;return u()(this,o),(t=r.call(this,e)).state={selectedOption:null,loading:!!t.props.value},t.fetchUsers=Object(S.debounce)(t.fetchUsers,500).bind(f()(t)),t.fetchUser=t.fetchUser.bind(f()(t)),t.mapUserToSelectOption=t.mapUserToSelectOption.bind(f()(t)),t.onChange=t.onChange.bind(f()(t)),t}return c()(o,[{key:"render",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(C,null),Object(O.createElement)(w.a,{placeholder:Object(k.__)("Select a user...","wordpress-seo"),isDisabled:this.state.loading,inputId:this.props.name,className:"yoast-person-selector-container",classNamePrefix:"yoast-person-selector",value:this.state.selectedOption,onChange:this.onChange,defaultOptions:!0,loadOptions:this.fetchUsers,components:{IndicatorSeparator:null,DropdownIndicator:L}}))}},{key:"componentDidMount",value:function(){this.props.value&&this.fetchUser(this.props.value)}},{key:"onChange",value:function(e){var t=this;this.setState({selectedOption:e,loading:!1},(function(){t.props.onChange(e.value,e.label)}))}},{key:"mapUserToSelectOption",value:function(e){return{value:e.id,label:e.name}}},{key:"fetchUser",value:function(e){var t=this;Object(T.sendRequest)("".concat(D,"wp/v2/users/").concat(e),{method:"GET",headers:P}).then((function(e){e?t.onChange(t.mapUserToSelectOption(e)):t.setState({loading:!1})})).catch((function(){t.setState({loading:!1})}))}},{key:"fetchUsers",value:function(e,t){var n=this,r={per_page:10,search:e},i=o.addQueryParams("".concat(D,"wp/v2/users"),r);Object(T.sendRequest)(i,{method:"GET",headers:P}).then((function(e){var r=e.map(n.mapUserToSelectOption);t(r)}))}}],[{key:"addQueryParams",value:function(e,t){var n=e.split("?");e=n[0];var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);2===n.length&&n[1].split("&").forEach((function(e){var t=e.split("=");r[t[0]]=t[1]}));var o=Object.keys(r).filter((function(e){return!!r[e]})).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(r[e]))})).join("&");return"".concat(e,"?").concat(o)}}]),o}(O.Component),z={name:x.a.string.isRequired,value:x.a.number.isRequired,onChange:x.a.func.isRequired};F.propTypes=z,t.b=F},,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(207);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t){e.exports=window.yoast.reactSelectAsync},function(e,t,n){"use strict";var r=n(0),o=n(3),i=n(37),a=n.n(i),u=n(1),s=n.n(u),c=n(7),l=n(9),f=Object(l.makeOutboundLink)(),p=function(e){return Object(r.createElement)(c.Alert,{type:e.type},[a()({mixedString:Object(o.sprintf)(e.message,"{{link}}","{{/link}}"),components:{link:Object(r.createElement)(f,{href:e.link})}})])};p.propTypes={type:s.a.oneOf(["error","info","success","warning"]),message:s.a.string.isRequired,link:s.a.string.isRequired},p.defaultProps={type:"warning"},t.a=p},,,,,,,,,function(e,t){e.exports=window.yoast.configurationWizard},,function(e,t,n){var r=n(228),o=n(211);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},,,,,,,function(e,t,n){var r=n(264);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(171);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(210)("keys"),o=n(196);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(106),o=n(142),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(195)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(170),o=n(278),i=n(211),a=n(209)("IE_PROTO"),u=function(){},s=function(){var e,t=n(227)("iframe"),r=i.length;for(t.style.display="none",n(279).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(143).f,o=n(157),i=n(118)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(118)},function(e,t,n){var r=n(142),o=n(106),i=n(195),a=n(215),u=n(143).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(306))&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={set:function(e,t,n){e[t]=n}}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(327)),o=i(n(217));function i(e){return e&&e.__esModule?e:{default:e}}i(n(241)),i(n(242)),t.default=function(e){return(0,r.default)((function(e,t){return!(0,o.default)(e,t)}))(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(330))&&r.__esModule?r:{default:r};t.default=o.default},,,,,,function(e,t,n){e.exports=!n(144)&&!n(172)((function(){return 7!=Object.defineProperty(n(227)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(171),o=n(142).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(157),o=n(173),i=n(266)(!1),a=n(209)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(206);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(208),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(157),o=n(180),i=n(209)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(274)),o=a(n(284)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";var r=n(276)(!0);n(234)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(195),o=n(141),i=n(235),a=n(169),u=n(181),s=n(277),c=n(214),l=n(231),f=n(118)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,y,v,m){s(n,t,h);var b,g,O,_=function(e){if(!p&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",j="values"==y,x=!1,S=e.prototype,E=S[f]||S["@@iterator"]||y&&S[y],k=E||_(y),M=y?j?_("entries"):k:void 0,T="Array"==t&&S.entries||E;if(T&&(O=l(T.call(new e)))!==Object.prototype&&O.next&&(c(O,w,!0),r||"function"==typeof O[f]||a(O,f,d)),j&&E&&"values"!==E.name&&(x=!0,k=function(){return E.call(this)}),r&&!m||!p&&!x&&S[f]||a(S,f,k),u[t]=k,u[w]=d,y)if(b={values:j?k:_("values"),keys:v?k:_("keys"),entries:M},m)for(g in b)g in S||i(S,g,b[g]);else o(o.P+o.F*(p||x),t,b);return b}},function(e,t,n){e.exports=n(169)},function(e,t,n){var r=n(228),o=n(211).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(197),o=n(179),i=n(173),a=n(205),u=n(157),s=n(226),c=Object.getOwnPropertyDescriptor;t.f=n(144)?c:function(e,t){if(e=i(e),t=a(t,!0),s)try{return c(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(308)),i=s(n(16)),a=s(n(1)),u=(s(n(238)),n(309));function s(e){return e&&e.__esModule?e:{default:e}}a.default.any,a.default.func,a.default.node;var c=function(e){function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o));return i.performAppear=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(i._handleDoneAppearing.bind(i,e,t)):i._handleDoneAppearing(e,t)},i._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performEnter=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(i._handleDoneEntering.bind(i,e,t)):i._handleDoneEntering(e,t)},i._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performLeave=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(i._handleDoneLeaving.bind(i,e,t)):i._handleDoneLeaving(e,t)},i._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)?i.keysToEnter.push(e):i.setState((function(t){var n=r({},t.children);return delete n[e],{children:n}}))},i.childRefs=Object.create(null),i.state={children:(0,u.getChildMapping)(n.children)},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach((function(t){return e.performEnter(t,e.childRefs[t])}));var n=this.keysToLeave;this.keysToLeave=[],n.forEach((function(t){return e.performLeave(t,e.childRefs[t])}))},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var a="string"!=typeof r.ref,u=e.props.childFactory(r),s=function(t){e.childRefs[n]=t};u===r&&a&&(s=(0,o.default)(r.ref,s)),t.push(i.default.cloneElement(u,{key:n,ref:s}))}};for(var a in this.state.children)n(a);var u=r({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,i.default.createElement(this.props.component,u,t)},t}(i.default.Component);c.displayName="TransitionGroup",c.propTypes={},c.defaultProps={component:"span",childFactory:function(e){return e}},t.default=c,e.exports=t.default},function(e,t,n){e.exports={default:n(313),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(328))&&r.__esModule?r:{default:r};t.default=function(e){return(0,o.default)("displayName",e)}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(329))&&r.__esModule?r:{default:r};t.default=function(e,t){return t+"("+(0,o.default)(e)+")"}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(16)),o=a(n(219)),i=a(n(220));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}))};(u=(0,o.default)(u)).displayName="CommunicationMailOutline",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(16)),o=a(n(219)),i=a(n(220));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}))};(u=(0,o.default)(u)).displayName="NavigationArrowForward",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(16)),o=a(n(219)),i=a(n(220));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}))};(u=(0,o.default)(u)).displayName="ActionInfo",u.muiName="SvgIcon",t.default=u},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(156)),o=b(n(158)),i=b(n(133)),a=b(n(134)),u=b(n(135)),s=b(n(136)),c=b(n(137)),l=b(n(138)),f=n(16),p=b(f),d=b(n(1)),h=b(n(174)),y=n(301),v=b(n(302)),m=b(n(324));function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.state={hovered:!1,keyboardFocused:!1,touched:!1,initialZDepth:0,zDepth:0},r.handleMouseDown=function(e){0===e.button&&r.setState({zDepth:r.state.initialZDepth+1}),r.props.onMouseDown&&r.props.onMouseDown(e)},r.handleMouseUp=function(e){r.setState({zDepth:r.state.initialZDepth}),r.props.onMouseUp&&r.props.onMouseUp(e)},r.handleMouseLeave=function(e){r.state.keyboardFocused||r.setState({zDepth:r.state.initialZDepth,hovered:!1}),r.props.onMouseLeave&&r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.state.keyboardFocused||r.state.touched||r.setState({hovered:!0}),r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleTouchStart=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth+1}),r.props.onTouchStart&&r.props.onTouchStart(e)},r.handleTouchEnd=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth}),r.props.onTouchEnd&&r.props.onTouchEnd(e)},r.handleKeyboardFocus=function(e,t){var n=t&&!r.props.disabled?r.state.initialZDepth+1:r.state.initialZDepth;r.setState({zDepth:n,keyboardFocused:t})},o=n,(0,s.default)(r,o)}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props.disabled?0:1;this.setState({zDepth:e,initialZDepth:e})}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled?0:1,n={zDepth:t,initialZDepth:t};e.disabled&&(n.hovered=!1),this.setState(n)}},{key:"render",value:function(){var e=this.props,t=(e.backgroundColor,e.buttonStyle),n=e.children,i=e.className,a=e.disabled,u=(e.disabledBackgroundColor,e.disabledLabelColor,e.fullWidth,e.icon),s=e.label,c=(e.labelColor,e.labelPosition),d=e.labelStyle,b=e.overlayStyle,g=(e.primary,e.rippleStyle),O=(e.secondary,e.style),_=(0,o.default)(e,["backgroundColor","buttonStyle","children","className","disabled","disabledBackgroundColor","disabledLabelColor","fullWidth","icon","label","labelColor","labelPosition","labelStyle","overlayStyle","primary","rippleStyle","secondary","style"]),w=this.context.muiTheme.prepareStyles,j=function(e,t,n){var r=t.muiTheme,o=r.baseTheme,i=r.button,a=r.raisedButton,u=r.borderRadius,s=e.disabled,c=e.disabledBackgroundColor,l=e.disabledLabelColor,f=e.fullWidth,p=e.icon,d=e.label,v=e.labelPosition,m=e.primary,b=e.secondary,g=e.style,O=m||b?.4:.08,_=a.color,w=a.textColor;s?(_=c||a.disabledColor,w=l||a.disabledTextColor):m?(_=a.primaryColor,w=a.primaryTextColor):b?(_=a.secondaryColor,w=a.secondaryTextColor):(e.backgroundColor&&(_=e.backgroundColor),e.labelColor&&(w=e.labelColor));var j=g&&g.height||i.height;return{root:{display:"inline-block",transition:h.default.easeOut(),minWidth:f?"100%":i.minWidth},button:{height:j,lineHeight:j+"px",width:"100%",padding:0,borderRadius:u,transition:h.default.easeOut(),backgroundColor:_,textAlign:"center"},label:{position:"relative",opacity:1,fontSize:a.fontSize,letterSpacing:0,textTransform:a.textTransform||i.textTransform||"uppercase",fontWeight:a.fontWeight,margin:0,userSelect:"none",paddingLeft:p&&"before"!==v?8:o.spacing.desktopGutterLess,paddingRight:p&&"before"===v?8:o.spacing.desktopGutterLess,color:w},icon:{verticalAlign:"middle",marginLeft:d&&"before"!==v?12:0,marginRight:d&&"before"===v?12:0},overlay:{height:j,borderRadius:u,backgroundColor:(n.keyboardFocused||n.hovered)&&!s&&(0,y.fade)(w,O),transition:h.default.easeOut(),top:0},ripple:{color:w,opacity:m||b?.16:.1}}}(this.props,this.context,this.state),x=(0,l.default)({},j.ripple,g),S=a?{}:{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onKeyboardFocus:this.handleKeyboardFocus},E=s&&p.default.createElement("span",{style:w((0,l.default)(j.label,d)),key:"labelElement"},s),k=u&&(0,f.cloneElement)(u,{color:u.props.color||j.label.color,style:(0,l.default)(j.icon,u.props.style),key:"iconCloned"}),M={backgroundColor:b&&j.overlay.backgroundColor&&b.backgroundColor||j.overlay.backgroundColor},T="before"===c?[E,k,n]:[n,k,E];return p.default.createElement(m.default,{className:i,style:(0,l.default)(j.root,O),zDepth:this.state.zDepth},p.default.createElement(v.default,(0,r.default)({},_,S,{ref:"container",disabled:a,style:(0,l.default)(j.button,t),focusRippleColor:x.color,touchRippleColor:x.color,focusRippleOpacity:x.opacity,touchRippleOpacity:x.opacity}),p.default.createElement("div",{ref:"overlay",style:w((0,l.default)(j.overlay,b,M))},T)))}}]),t}(f.Component);g.muiName="RaisedButton",g.defaultProps={disabled:!1,labelPosition:"after",fullWidth:!1,primary:!1,secondary:!1},g.contextTypes={muiTheme:d.default.object.isRequired},g.propTypes={},t.default=g},function(e,t,n){e.exports={default:n(262),__esModule:!0}},function(e,t,n){n(263),e.exports=n(106).Object.assign},function(e,t,n){var r=n(141);r(r.S+r.F,"Object",{assign:n(265)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(144),o=n(194),i=n(212),a=n(197),u=n(180),s=n(229),c=Object.assign;e.exports=!c||n(172)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=u(e),c=arguments.length,l=1,f=i.f,p=a.f;c>l;)for(var d,h=s(arguments[l++]),y=f?o(h).concat(f(h)):o(h),v=y.length,m=0;v>m;)d=y[m++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},function(e,t,n){var r=n(173),o=n(230),i=n(267);e.exports=function(e){return function(t,n,a){var u,s=r(t),c=o(s.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(208),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(269),e.exports=n(106).Object.getPrototypeOf},function(e,t,n){var r=n(180),o=n(231);n(270)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(141),o=n(106),i=n(172);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){e.exports={default:n(272),__esModule:!0}},function(e,t,n){n(273);var r=n(106).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(141);r(r.S+r.F*!n(144),"Object",{defineProperty:n(143).f})},function(e,t,n){e.exports={default:n(275),__esModule:!0}},function(e,t,n){n(233),n(280),e.exports=n(215).f("iterator")},function(e,t,n){var r=n(208),o=n(207);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(213),o=n(179),i=n(214),a={};n(169)(a,n(118)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(143),o=n(170),i=n(194);e.exports=n(144)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(142).document;e.exports=r&&r.documentElement},function(e,t,n){n(281);for(var r=n(142),o=n(169),i=n(181),a=n(118)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(282),o=n(283),i=n(181),a=n(173);e.exports=n(234)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(285),__esModule:!0}},function(e,t,n){n(286),n(291),n(292),n(293),e.exports=n(106).Symbol},function(e,t,n){"use strict";var r=n(142),o=n(157),i=n(144),a=n(141),u=n(235),s=n(287).KEY,c=n(172),l=n(210),f=n(214),p=n(196),d=n(118),h=n(215),y=n(216),v=n(288),m=n(289),b=n(170),g=n(171),O=n(180),_=n(173),w=n(205),j=n(179),x=n(213),S=n(290),E=n(237),k=n(212),M=n(143),T=n(194),R=E.f,C=M.f,P=S.f,D=r.Symbol,L=r.JSON,F=L&&L.stringify,z=d("_hidden"),A=d("toPrimitive"),N={}.propertyIsEnumerable,K=l("symbol-registry"),U=l("symbols"),I=l("op-symbols"),B=Object.prototype,W="function"==typeof D&&!!k.f,q=r.QObject,G=!q||!q.prototype||!q.prototype.findChild,V=i&&c((function(){return 7!=x(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=R(B,t);r&&delete B[t],C(e,t,n),r&&e!==B&&C(B,t,r)}:C,H=function(e){var t=U[e]=x(D.prototype);return t._k=e,t},Y=W&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},Z=function(e,t,n){return e===B&&Z(I,t,n),b(e),t=w(t,!0),b(n),o(U,t)?(n.enumerable?(o(e,z)&&e[z][t]&&(e[z][t]=!1),n=x(n,{enumerable:j(0,!1)})):(o(e,z)||C(e,z,j(1,{})),e[z][t]=!0),V(e,t,n)):C(e,t,n)},X=function(e,t){b(e);for(var n,r=v(t=_(t)),o=0,i=r.length;i>o;)Z(e,n=r[o++],t[n]);return e},J=function(e){var t=N.call(this,e=w(e,!0));return!(this===B&&o(U,e)&&!o(I,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,z)&&this[z][e])||t)},$=function(e,t){if(e=_(e),t=w(t,!0),e!==B||!o(U,t)||o(I,t)){var n=R(e,t);return!n||!o(U,t)||o(e,z)&&e[z][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=P(_(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==z||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=P(n?I:_(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(B,t)||i.push(U[t]);return i};W||(u((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(I,n),o(this,z)&&o(this[z],e)&&(this[z][e]=!1),V(this,e,j(1,n))};return i&&G&&V(B,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",(function(){return this._k})),E.f=$,M.f=Z,n(236).f=S.f=Q,n(197).f=J,k.f=ee,i&&!n(195)&&u(B,"propertyIsEnumerable",J,!0),h.f=function(e){return H(d(e))}),a(a.G+a.W+a.F*!W,{Symbol:D});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=T(d.store),oe=0;re.length>oe;)y(re[oe++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return o(K,e+="")?K[e]:K[e]=D(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in K)if(K[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!W,"Object",{create:function(e,t){return void 0===t?x(e):X(x(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:$,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=c((function(){k.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(O(e))}}),L&&a(a.S+a.F*(!W||c((function(){var e=D();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(g(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,F.apply(L,r)}}),D.prototype[A]||n(169)(D.prototype,A,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(196)("meta"),o=n(171),i=n(157),a=n(143).f,u=0,s=Object.isExtensible||function(){return!0},c=!n(172)((function(){return s(Object.preventExtensions({}))})),l=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&s(e)&&!i(e,r)&&l(e),e}}},function(e,t,n){var r=n(194),o=n(212),i=n(197);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,c=0;u.length>c;)s.call(e,a=u[c++])&&t.push(a);return t}},function(e,t,n){var r=n(206);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(173),o=n(236).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(216)("asyncIterator")},function(e,t,n){n(216)("observable")},function(e,t,n){e.exports={default:n(295),__esModule:!0}},function(e,t,n){n(296),e.exports=n(106).Object.setPrototypeOf},function(e,t,n){var r=n(141);r(r.S,"Object",{setPrototypeOf:n(297).set})},function(e,t,n){var r=n(171),o=n(170),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(204)(Function.call,n(237).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(299),__esModule:!0}},function(e,t,n){n(300);var r=n(106).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(141);r(r.S,"Object",{create:n(213)})},function(e,t,n){"use strict";var r;function o(e,t,n){return e<t?t:e>n?n:e}function i(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],4===n.length?o+=", "+e.values[3]+")":o+=")",o}function a(e){if(4===e.length){for(var t="#",n=1;n<e.length;n++)t+=e.charAt(n)+e.charAt(n);e=t}return"rgb("+parseInt(e.substr(1,2),16)+", "+parseInt(e.substr(3,2),16)+", "+parseInt(e.substr(5,2),16)+")"}function u(e){if("#"===e.charAt(0))return u(a(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function s(e){if((e=u(e)).type.indexOf("rgb")>-1){var t=e.values.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function c(e,t){if(e=u(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return i(e)}function l(e,t){if(e=u(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=i,t.convertHexToRGB=a,t.decomposeColor=u,t.getContrastRatio=function(e,t){var n=s(e),r=s(t),o=(Math.max(n,r)+.05)/(Math.min(n,r)+.05);return Number(o.toFixed(2))},t.getLuminance=s,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?c(e,t):l(e,t)},t.fade=function(e,t){return e=u(e),t=o(t,0,1),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),e.values[3]=t,i(e)},t.darken=c,t.lighten=l,(r=n(238))&&r.__esModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(156)),o=b(n(158)),i=b(n(133)),a=b(n(134)),u=b(n(135)),s=b(n(136)),c=b(n(137)),l=b(n(138)),f=n(16),p=b(f),d=b(n(1)),h=b(n(303)),y=b(n(304)),v=b(n(305)),m=b(n(311));function b(e){return e&&e.__esModule?e:{default:e}}var g=!1,O=!1,_=!1,w=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.state={isKeyboardFocused:!1},r.handleKeyDown=function(e){r.props.disabled||r.props.disableKeyboardFocus||"esc"===(0,y.default)(e)&&r.state.isKeyboardFocused&&r.removeKeyboardFocus(e),r.props.onKeyDown(e)},r.handleKeyUp=function(e){r.props.onKeyUp(e)},r.handleBlur=function(e){r.cancelFocusTimeout(),r.removeKeyboardFocus(e),r.props.onBlur(e)},r.handleFocus=function(e){e&&e.persist(),r.props.disabled||r.props.disableKeyboardFocus||(r.focusTimeout=setTimeout((function(){_&&(r.setKeyboardFocus(e),_=!1)}),150),r.props.onFocus(e))},r.handleClick=function(e){r.cancelFocusTimeout(),r.props.disabled||(_=!1,r.removeKeyboardFocus(e),r.props.onClick(e))},o=n,(0,s.default)(r,o)}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.disabled,n=e.disableKeyboardFocus,r=e.keyboardFocused;t||!r||n||this.setState({isKeyboardFocused:!0})}},{key:"componentDidMount",value:function(){!function(){if(!g){var e=document.createElement("style");e.innerHTML="\n button::-moz-focus-inner,\n input::-moz-focus-inner {\n border: 0;\n padding: 0;\n }\n ",document.body.appendChild(e),g=!0}}(),O||(h.default.on(window,"keydown",(function(e){_="tab"===(0,y.default)(e)})),O=!0),this.state.isKeyboardFocused&&(this.button.focus(),this.props.onKeyboardFocus(null,!0))}},{key:"componentWillReceiveProps",value:function(e){(e.disabled||e.disableKeyboardFocus)&&this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),e.onKeyboardFocus&&e.onKeyboardFocus(null,!1))}},{key:"componentWillUnmount",value:function(){this.focusTimeout&&clearTimeout(this.focusTimeout)}},{key:"isKeyboardFocused",value:function(){return this.state.isKeyboardFocused}},{key:"removeKeyboardFocus",value:function(e){this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),this.props.onKeyboardFocus(e,!1))}},{key:"setKeyboardFocus",value:function(e){this.state.isKeyboardFocused||(this.setState({isKeyboardFocused:!0}),this.props.onKeyboardFocus(e,!0))}},{key:"cancelFocusTimeout",value:function(){this.focusTimeout&&(clearTimeout(this.focusTimeout),this.focusTimeout=null)}},{key:"createButtonChildren",value:function(){var e=this.props,t=e.centerRipple,n=e.children,r=e.disabled,o=e.disableFocusRipple,i=e.disableKeyboardFocus,a=e.disableTouchRipple,u=e.focusRippleColor,s=e.focusRippleOpacity,c=e.touchRippleColor,l=e.touchRippleOpacity,f=this.state.isKeyboardFocused,d=!f||r||o||i?void 0:p.default.createElement(v.default,{color:u,opacity:s,show:f,style:{overflow:"hidden"},key:"focusRipple"}),h=r||a?void 0:p.default.createElement(m.default,{centerRipple:t,color:c,opacity:l,key:"touchRipple"},n);return[d,h,h?void 0:n]}},{key:"render",value:function(){var e=this,t=this.props,n=(t.centerRipple,t.children),i=t.containerElement,a=t.disabled,u=(t.disableFocusRipple,t.disableKeyboardFocus),s=(t.disableTouchRipple,t.focusRippleColor,t.focusRippleOpacity,t.href),c=(t.keyboardFocused,t.touchRippleColor,t.touchRippleOpacity,t.onBlur,t.onClick,t.onFocus,t.onKeyUp,t.onKeyDown,t.onKeyboardFocus,t.style),f=t.tabIndex,d=t.type,h=(0,o.default)(t,["centerRipple","children","containerElement","disabled","disableFocusRipple","disableKeyboardFocus","disableTouchRipple","focusRippleColor","focusRippleOpacity","href","keyboardFocused","touchRippleColor","touchRippleOpacity","onBlur","onClick","onFocus","onKeyUp","onKeyDown","onKeyboardFocus","style","tabIndex","type"]),y=this.context.muiTheme,v=y.prepareStyles,m=y.enhancedButton,b=(0,l.default)({border:10,boxSizing:"border-box",display:"inline-block",fontFamily:this.context.muiTheme.baseTheme.fontFamily,WebkitTapHighlightColor:m.tapHighlightColor,cursor:a?"default":"pointer",textDecoration:"none",margin:0,padding:0,outline:"none",fontSize:"inherit",fontWeight:"inherit",position:"relative",verticalAlign:s?"middle":null},c);if(b.backgroundColor||b.background||(b.background="none"),a&&s)return p.default.createElement("span",(0,r.default)({},h,{style:b}),n);var g=(0,r.default)({},h,{style:v(b),ref:function(t){return e.button=t},disabled:a,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,onClick:this.handleClick,tabIndex:a||u?-1:f});s&&(g.href=s);var O=this.createButtonChildren();return p.default.isValidElement(i)?p.default.cloneElement(i,g,O):(s||"button"!==i||(g.type=d),p.default.createElement(s?"a":i,g,O))}}]),t}(f.Component);w.defaultProps={containerElement:"button",onBlur:function(){},onClick:function(){},onFocus:function(){},onKeyDown:function(){},onKeyUp:function(){},onKeyboardFocus:function(){},tabIndex:0,type:"button"},w.contextTypes={muiTheme:d.default.object.isRequired},w.propTypes={},t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={once:function(e,t,n){for(var r=t?t.split(" "):[],o=function e(t){return t.target.removeEventListener(t.type,e),n(t)},i=r.length-1;i>=0;i--)this.on(e,r[i],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,(function(){n.call(e)}))},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return-1!==["keydown","keypress","keyup"].indexOf(e.type)}}},function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,i=String(e);return(n=r[i.toLowerCase()])?n:(n=o[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var i;if(i=r[t.toLowerCase()])return i===n;if(i=o[t.toLowerCase()])return i===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var u in o)r[u]=o[u]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(133)),o=m(n(134)),i=m(n(135)),a=m(n(136)),u=m(n(137)),s=m(n(138)),c=n(16),l=m(c),f=m(n(1)),p=m(n(139)),d=m(n(217)),h=m(n(218)),y=m(n(174)),v=m(n(307));function m(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){var e,n,i,u;(0,o.default)(this,t);for(var s=arguments.length,c=Array(s),l=0;l<s;l++)c[l]=arguments[l];return n=i=(0,a.default)(this,(e=t.__proto__||(0,r.default)(t)).call.apply(e,[this].concat(c))),i.pulsate=function(){var e=p.default.findDOMNode(i.refs.innerCircle);if(e){var t="scale(1)"===(e.style.transform||"scale(1)")?"scale(0.85)":"scale(1)";h.default.set(e.style,"transform",t),i.timeout=setTimeout(i.pulsate,750)}},u=n,(0,a.default)(i,u)}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.props.show&&(this.setRippleSize(),this.pulsate())}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,d.default)(this.props,e)||!(0,d.default)(this.state,t)}},{key:"componentDidUpdate",value:function(){this.props.show?(this.setRippleSize(),this.pulsate()):this.timeout&&clearTimeout(this.timeout)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"getRippleElement",value:function(e){var t=e.color,n=e.innerStyle,r=e.opacity,o=this.context.muiTheme,i=o.prepareStyles,a=o.ripple,u=(0,s.default)({position:"absolute",height:"100%",width:"100%",borderRadius:"50%",opacity:r||.16,backgroundColor:t||a.color,transition:y.default.easeOut("750ms","transform",null,y.default.easeInOutFunction)},n);return l.default.createElement("div",{ref:"innerCircle",style:i((0,s.default)({},u))})}},{key:"setRippleSize",value:function(){var e=p.default.findDOMNode(this.refs.innerCircle),t=e.offsetHeight,n=e.offsetWidth,r=Math.max(t,n),o=0;-1!==e.style.top.indexOf("px",e.style.top.length-2)&&(o=parseInt(e.style.top)),e.style.height=r+"px",e.style.top=t/2-r/2+o+"px"}},{key:"render",value:function(){var e=this.props,t=e.show,n=e.style,r=(0,s.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0},n),o=t?this.getRippleElement(this.props):null;return l.default.createElement(v.default,{maxScale:.85,style:r},o)}}]),t}(c.Component);b.contextTypes={muiTheme:f.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(156)),o=v(n(158)),i=v(n(133)),a=v(n(134)),u=v(n(135)),s=v(n(136)),c=v(n(137)),l=v(n(138)),f=n(16),p=v(f),d=v(n(1)),h=v(n(239)),y=v(n(310));function v(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.childStyle,i=e.enterDelay,a=e.maxScale,u=e.minScale,s=e.style,c=(0,o.default)(e,["children","childStyle","enterDelay","maxScale","minScale","style"]),f=this.context.muiTheme.prepareStyles,d=(0,l.default)({},{position:"relative",height:"100%"},s),v=p.default.Children.map(t,(function(e){return p.default.createElement(y.default,{key:e.key,enterDelay:i,maxScale:a,minScale:u,style:n},e)}));return p.default.createElement(h.default,(0,r.default)({},c,{style:f(d),component:"div"}),v)}}]),t}(f.Component);m.defaultProps={enterDelay:0},m.contextTypes={muiTheme:d.default.object.isRequired},m.propTypes={},t.default=m},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter((function(e){return null!=e}))).length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))}},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=e})),t},t.mergeChildMappings=function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,u={};for(var s in t){if(r.hasOwnProperty(s))for(a=0;a<r[s].length;a++){var c=r[s][a];u[r[s][a]]=n(c)}u[s]=n(s)}for(a=0;a<o.length;a++)u[o[a]]=n(o[a]);return u};var r=n(16)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(156)),o=m(n(158)),i=m(n(133)),a=m(n(134)),u=m(n(135)),s=m(n(136)),c=m(n(137)),l=m(n(138)),f=n(16),p=m(f),d=m(n(1)),h=m(n(139)),y=m(n(218)),v=m(n(174));function m(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",y.default.set(t,"transform","scale("+this.props.minScale+")"),this.leaveTimer=setTimeout(e,450)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style;e.opacity="1",y.default.set(e,"transform","scale("+this.props.maxScale+")")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",y.default.set(t,"transform","scale(0)"),this.enterTimer=setTimeout(e,this.props.enterDelay)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.enterDelay,e.maxScale,e.minScale,e.style),i=(0,o.default)(e,["children","enterDelay","maxScale","minScale","style"]),a=this.context.muiTheme.prepareStyles,u=(0,l.default)({},{position:"absolute",height:"100%",width:"100%",top:0,left:0,transition:v.default.easeOut(null,["transform","opacity"])},n);return p.default.createElement("div",(0,r.default)({},i,{style:a(u)}),t)}}]),t}(f.Component);b.defaultProps={enterDelay:0,maxScale:1,minScale:0},b.contextTypes={muiTheme:d.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(312)),o=b(n(133)),i=b(n(134)),a=b(n(135)),u=b(n(136)),s=b(n(137)),c=b(n(321)),l=b(n(138)),f=n(16),p=b(f),d=b(n(1)),h=b(n(139)),y=b(n(239)),v=b(n(322)),m=b(n(323));function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){return(0,c.default)(e).slice(1)},O=function(e){function t(e,n){(0,i.default)(this,t);var a=(0,u.default)(this,(t.__proto__||(0,o.default)(t)).call(this,e,n));return a.handleMouseDown=function(e){0===e.button&&a.start(e,!1)},a.handleMouseUp=function(){a.end()},a.handleMouseLeave=function(){a.end()},a.handleTouchStart=function(e){e.stopPropagation(),a.props.abortOnScroll&&e.touches&&(a.startListeningForScrollAbort(e),a.startTime=Date.now()),a.start(e,!0)},a.handleTouchEnd=function(){a.end()},a.handleTouchMove=function(e){if(Math.abs(Date.now()-a.startTime)>300)a.stopListeningForScrollAbort();else{var t=Math.abs(e.touches[0].clientY-a.firstTouchY),n=Math.abs(e.touches[0].clientX-a.firstTouchX);if(t>6||n>6){var o=a.state.ripples,i=o[0],u=p.default.cloneElement(i,{aborted:!0});o=g(o),o=[].concat((0,r.default)(o),[u]),a.setState({ripples:o},(function(){a.end()}))}}},a.ignoreNextMouseDown=!1,a.state={hasRipples:!1,nextKey:0,ripples:[]},a}return(0,s.default)(t,e),(0,a.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(!this.ignoreNextMouseDown||t){var o=this.state.ripples;o=[].concat((0,r.default)(o),[p.default.createElement(m.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:o})}else this.ignoreNextMouseDown=!1}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:g(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=h.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=v.default.offset(t),i=e.touches&&e.touches.length,a=i?e.touches[0].pageX:e.pageX,u=i?e.touches[0].pageY:e.pageY,s=a-o.left,c=u-o.top,l=this.calcDiag(s,c),f=this.calcDiag(r-s,c),p=this.calcDiag(r-s,n-c),d=this.calcDiag(s,n-c),y=Math.max(l,f,p,d),m=2*y;return{directionInvariant:!0,height:m,width:m,top:c-y,left:s-y}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,i=r.ripples,a=this.context.muiTheme.prepareStyles,u=void 0;if(o){var s=(0,l.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none",zIndex:1},n);u=p.default.createElement(y.default,{style:a(s)},i)}return p.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},u,t)}}]),t}(f.Component);O.defaultProps={abortOnScroll:!0},O.contextTypes={muiTheme:d.default.object.isRequired},O.propTypes={},t.default=O},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(240))&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){n(233),n(314),e.exports=n(106).Array.from},function(e,t,n){"use strict";var r=n(204),o=n(141),i=n(180),a=n(315),u=n(316),s=n(230),c=n(317),l=n(318);o(o.S+o.F*!n(320)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,y=h>1?arguments[1]:void 0,v=void 0!==y,m=0,b=l(p);if(v&&(y=r(y,h>2?arguments[2]:void 0,2)),null==b||d==Array&&u(b))for(n=new d(t=s(p.length));t>m;m++)c(n,m,v?y(p[m],m):p[m]);else for(f=b.call(p),n=new d;!(o=f.next()).done;m++)c(n,m,v?a(f,y,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(170);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(181),o=n(118)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(143),o=n(179);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(319),o=n(118)("iterator"),i=n(181);e.exports=n(106).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(206),o=n(118)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(118)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(240))&&r.__esModule?r:{default:r};t.default=function(e){return Array.isArray(e)?e:(0,o.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDescendant:function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(156)),o=b(n(158)),i=b(n(133)),a=b(n(134)),u=b(n(135)),s=b(n(136)),c=b(n(137)),l=b(n(138)),f=n(16),p=b(f),d=b(n(1)),h=b(n(139)),y=b(n(217)),v=b(n(218)),m=b(n(174));function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"shouldComponentUpdate",value:function(e){return!(0,y.default)(this.props,e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){h.default.findDOMNode(this).style.opacity=0;var t=this.props.aborted?0:2e3;this.enterTimer=setTimeout(e,t)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style,t=m.default.easeOut("2s","opacity")+", "+m.default.easeOut("1s","transform");v.default.set(e,"transition",t),v.default.set(e,"transform","scale(1)")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity=this.props.opacity,v.default.set(t,"transform","scale(0)"),this.leaveTimer=setTimeout(e,0)}},{key:"render",value:function(){var e=this.props,t=(e.aborted,e.color),n=(e.opacity,e.style),i=(e.touchGenerated,(0,o.default)(e,["aborted","color","opacity","style","touchGenerated"])),a=this.context.muiTheme.prepareStyles,u=(0,l.default)({position:"absolute",top:0,left:0,height:"100%",width:"100%",borderRadius:"50%",backgroundColor:t},n);return p.default.createElement("div",(0,r.default)({},i,{style:a(u)}))}}]),t}(f.Component);g.defaultProps={opacity:.1,aborted:!1},g.contextTypes={muiTheme:d.default.object.isRequired},g.propTypes={},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(325))&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(156)),o=y(n(158)),i=y(n(133)),a=y(n(134)),u=y(n(135)),s=y(n(136)),c=y(n(137)),l=y(n(138)),f=n(16),p=y(f),d=y(n(1)),h=(y(n(326)),y(n(174)));function y(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e,t,n,i,a,u,s,c,f,d,y=this.props,v=y.children,m=(y.circle,y.rounded,y.style),b=(y.transitionEnabled,y.zDepth,(0,o.default)(y,["children","circle","rounded","style","transitionEnabled","zDepth"])),g=this.context.muiTheme.prepareStyles,O=(e=this.props,t=this.context,n=e.rounded,i=e.circle,a=e.transitionEnabled,u=e.zDepth,s=t.muiTheme,c=s.baseTheme,f=s.paper,d=s.borderRadius,{root:{color:f.color,backgroundColor:f.backgroundColor,transition:a&&h.default.easeOut(),boxSizing:"border-box",fontFamily:c.fontFamily,WebkitTapHighlightColor:"rgba(0,0,0,0)",boxShadow:f.zDepthShadows[u-1],borderRadius:i?"50%":n?d:"0px"}});return p.default.createElement("div",(0,r.default)({},b,{style:g((0,l.default)(O.root,m))}),v)}}]),t}(f.Component);v.defaultProps={circle:!1,rounded:!0,transitionEnabled:!0,zDepth:1},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(1))&&r.__esModule?r:{default:r},i=o.default.oneOf(["left","middle","right"]),a=o.default.oneOf(["top","center","bottom"]);t.default={corners:o.default.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:i,vertical:a,origin:o.default.shape({horizontal:i,vertical:a}),cornersAndCenter:o.default.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:o.default.oneOfType([o.default.string,o.default.number]),zDepth:o.default.oneOf([0,1,2,3,4,5])}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(16);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}o(n(241)),o(n(242)),t.default=function(e){return function(t){var n=(0,r.createFactory)(t);return function(t){function r(){return i(this,r),a(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(r.Component)}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return function(n){return n[e]=t,n}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(156)),o=y(n(158)),i=y(n(133)),a=y(n(134)),u=y(n(135)),s=y(n(136)),c=y(n(137)),l=y(n(138)),f=n(16),p=y(f),d=y(n(1)),h=y(n(174));function y(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.state={hovered:!1},r.handleMouseLeave=function(e){r.setState({hovered:!1}),r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.setState({hovered:!0}),r.props.onMouseEnter(e)},o=n,(0,s.default)(r,o)}return(0,c.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.color,i=e.hoverColor,a=(e.onMouseEnter,e.onMouseLeave,e.style),u=e.viewBox,s=(0,o.default)(e,["children","color","hoverColor","onMouseEnter","onMouseLeave","style","viewBox"]),c=this.context.muiTheme,f=c.svgIcon,d=c.prepareStyles,y=n||"currentColor",v=i||y,m=(0,l.default)({display:"inline-block",color:f.color,fill:this.state.hovered?v:y,height:24,width:24,userSelect:"none",transition:h.default.easeOut()},a);return p.default.createElement("svg",(0,r.default)({},s,{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,style:d(m),viewBox:u}),t)}}]),t}(f.Component);v.muiName="SvgIcon",v.defaultProps={onMouseEnter:function(){},onMouseLeave:function(){},viewBox:"0 0 24 24"},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(27),o=n.n(r),i=n(5),a=n.n(i),u=n(6),s=n.n(u),c=n(13),l=n.n(c),f=n(14),p=n.n(f),d=n(8),h=n.n(d),y=n(0),v=n(192),m=n.n(v),b=n(21),g=n.n(b),O=n(2),_=n(22),w=n(9),j=n(11),x=n.n(j),S=n(1),E=n.n(S),k=n(163),M=n.n(k),T=n(248),R=n.n(T);var C=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={successfulSignup:t.props.value,isLoading:!1},t.setEmailInputRef=t.setEmailInputRef.bind(x()(t)),t}return s()(o,[{key:"componentDidUpdate",value:function(e,t){this.state.successfulSignup!==t.successfulSignup&&this.sendChangeEvent()}},{key:"hasSubscription",value:function(){return this.props.value.hasSignup}},{key:"signup",value:function(){var e=this._emailInput.value,t="EMAIL=".concat(e);this.setState({isLoading:!0});var n=Object(w.sendRequest)(this.props.properties.mailchimpActionUrl,{data:t,headers:{},dataType:"jsonp",jsonp:"c",method:"POST"});this.handleResultSignup(n)}},{key:"handleResultSignup",value:function(e){var t=this;e.then((function(e){-1===e.msg.indexOf("is already subscribed")?"error"!==e.result?t.setState({isLoading:!1,successfulSignup:!0,message:e.msg}):t.setState({isLoading:!1,successfulSignup:!1,message:t.stripMessage(t.stripLinkFromMessage(e.msg))}):t.setState({isLoading:!1,successfulSignup:!0,message:"Almost finished... We need to confirm your email address.To complete the subscription process, please click the link in the email we just sent you."})})).catch((function(e){console.error(t.props.translate("MailChimp signup failed:"),e)}))}},{key:"stripLinkFromMessage",value:function(e){return e.replace(/<a.*?<\/a>/,"")}},{key:"stripMessage",value:function(e){return e.endsWith("0 - ",4)?e.slice(4):e}},{key:"sendChangeEvent",value:function(){var e={target:{name:"mailchimpSignup",value:{hasSignup:this.state.successfulSignup}}};this.onChange(e)}},{key:"getLoadingIndicator",value:function(){return this.state.isLoading?Object(y.createElement)("div",{className:"yoast-wizard-overlay"},Object(y.createElement)(v.LoadingIndicator,null)):null}},{key:"setEmailInputRef",value:function(e){this._emailInput=e}},{key:"render",value:function(){if(this.skipRendering())return null;this.onChange=this.props.onChange;var e=Object(y.createElement)("input",{id:"mailchimpEmail",className:"yoast-wizard-text-input-field",ref:this.setEmailInputRef,type:"email",name:this.props.name,defaultValue:this.props.properties.currentUserEmail,autoComplete:"email"}),t=Object(y.createElement)(M.a,{primary:!0,label:this.props.translate("Sign Up!"),onClick:this.signup.bind(this),icon:Object(y.createElement)(R.a,{color:"#ffffff",viewBox:"0 0 28 28"})}),n=this.getSignupMessage(),r=this.getLoadingIndicator();return Object(y.createElement)("div",{className:"yoast-wizard--columns yoast-wizard-newsletter"},Object(y.createElement)("div",null,Object(y.createElement)("h2",{className:"yoast-wizard-newsletter--header"},this.props.properties.title),Object(y.createElement)("p",null,this.props.properties.label),this.props.properties.freeAccountNotice&&Object(y.createElement)("strong",null,this.props.properties.freeAccountNotice),Object(y.createElement)("div",{className:"yoast-wizard--columns yoast-wizard--columns__even"},Object(y.createElement)("div",{className:"yoast-wizard-text-input"},Object(y.createElement)("label",{htmlFor:"mailchimpEmail",className:"yoast-wizard-text-input-label"},this.props.translate("Email")),e)),t,n,r,this.props.properties.GDPRNotice&&Object(y.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.properties.GDPRNotice}})),Object(y.createElement)("div",{className:"hide-on-tablet yoast-wizard-newsletter--decoration"},Object(y.createElement)("img",{src:this.props.properties.decoration,alt:""})))}},{key:"skipRendering",value:function(){var e=this.props.stepState,t="success"===e.currentStep,n=!0===e.fieldValues.newsletter.mailchimpSignup.hasSignup;return t&&n}},{key:"getSignupMessage",value:function(){return this.state.successfulSignup?Object(y.createElement)("p",{className:"yoast-wizard-mailchimp-message-success","aria-live":"assertive"},this.state.message):Object(y.createElement)("p",{className:"yoast-wizard-mailchimp-message-error","aria-live":"assertive"},this.state.message)}}]),o}(y.Component);C.propTypes={translate:E.a.func.isRequired,title:E.a.string,component:E.a.string,name:E.a.string.isRequired,properties:E.a.object,data:E.a.string,onChange:E.a.func,value:E.a.shape({hasSignup:E.a.bool}),stepState:E.a.object},C.defaultProps={title:"Mailchimp signup",component:"",properties:{},data:"",value:{hasSignup:!1}};var P=Object(_.localize)(C);var D=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={currentUpload:e.value,mediaUpload:wp.media({title:t.props.translate("Choose an image"),button:{text:t.props.translate("Choose an image")},multiple:!1,library:{type:"image"}})},t.state.mediaUpload.on("select",t.selectUpload.bind(x()(t))),t.chooseButton=Object(y.createRef)(),t}return s()(o,[{key:"componentDidUpdate",value:function(e,t){var n=this.state.currentUpload!==t.currentUpload;n&&this.sendChangeEvent(),n&&""===this.state.currentUpload&&this.chooseButton.current.refs.container.button.focus()}},{key:"chooseUpload",value:function(e){e.preventDefault(),this.state.mediaUpload.open()}},{key:"selectUpload",value:function(){var e=this.state.mediaUpload.state().get("selection").first().toJSON();this.setState({currentUpload:e.url})}},{key:"removeUpload",value:function(){this.setState({currentUpload:""})}},{key:"renderRemoveButton",value:function(){return this.state.currentUpload?Object(y.createElement)(M.a,{label:this.props.translate("Remove the image"),onClick:this.removeUpload.bind(this),className:"yoast-wizard-image-upload-container-buttons__remove",type:"button"}):null}},{key:"renderImage",value:function(){return this.state.currentUpload?Object(y.createElement)("img",{className:"yoast-wizard-image-upload-container__image",src:this.state.currentUpload,alt:this.props.translate("image preview")}):null}},{key:"render",value:function(){return Object(y.createElement)("div",{className:"yoast-wizard-image-upload-container"},Object(y.createElement)("p",{className:"yoast-wizard-image-upload-container-description"},this.props.properties.label),this.renderImage(),Object(y.createElement)("div",{className:"yoast-wizard-image-upload-container-buttons"},Object(y.createElement)(M.a,{label:this.props.translate("Choose an image"),onClick:this.chooseUpload.bind(this),type:"button",className:"yoast-wizard-image-upload-container-buttons__choose",ref:this.chooseButton}),this.renderRemoveButton()))}},{key:"sendChangeEvent",value:function(){var e={target:{name:this.props.name,value:this.state.currentUpload}};this.props.onChange(e)}}]),o}(y.Component);D.propTypes={translate:E.a.func.isRequired,name:E.a.string.isRequired,value:E.a.any,onChange:E.a.func,properties:E.a.shape({label:E.a.string})};var L=Object(_.localize)(D),F=n(249),z=n.n(F),A=n(250),N=n.n(A),K=function(e){var t={primary:"primary"===e.type};return t["aria-label"]=e.label,Object(y.createElement)(M.a,o()({},t,e))};K.propTypes={type:E.a.string,label:E.a.string,disableFocusRipple:E.a.bool,disableTouchRipple:E.a.bool,disableKeyboardFocus:E.a.bool},K.defaultProps={type:"",label:"",disableFocusRipple:!1,disableTouchRipple:!0,disableKeyboardFocus:!1};var U=K,I=function(e){return Object(y.createElement)(U,o()({"aria-label":null},e))},B=Object(w.makeOutboundLink)(I);I.propTypes={href:E.a.string.isRequired,icon:E.a.object},I.defaultProps={icon:Object(y.createElement)(N.a,{viewBox:"0 0 28 28"})};var W=B;var q=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(){return a()(this,i),r.apply(this,arguments)}return s()(i,[{key:"render",value:function(){var e={};return"primary"===this.props.button.type&&(e.labelPosition="before",e.icon=Object(y.createElement)(z.a,{viewBox:"0 0 28 28"})),Object(y.createElement)("div",{className:"yoast-wizard--list yoast-wizard--columns yoast-wizard--suggestion"},Object(y.createElement)("div",{className:"yoast-wizard--column__push_right"},Object(y.createElement)("h3",{className:"yoast-wizard--heading"},this.props.title),Object(y.createElement)("p",null,this.props.copy),Object(y.createElement)(W,o()({},this.props.button,e))),Object(y.createElement)("div",{className:"yoast-wizard--column__push_left yoast-wizard--video-frame"},Object(y.createElement)("iframe",{width:"400",height:"225",src:this.props.video.url,frameBorder:"0",allowFullScreen:!0,title:this.props.video.title})))}}]),i}(y.Component),G=q;q.propTypes={title:E.a.string.isRequired,copy:E.a.string.isRequired,video:E.a.object.isRequired,button:E.a.object.isRequired};var V=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(){return a()(this,i),r.apply(this,arguments)}return s()(i,[{key:"render",value:function(){return Object(y.createElement)("div",null,this.props.properties.suggestions.map((function(e,t){return Object(y.createElement)(G,o()({key:t},e))})))}}]),i}(y.Component),H=V;V.propTypes={properties:E.a.object.isRequired};var Y=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(){return a()(this,o),r.apply(this,arguments)}return s()(o,[{key:"render",value:function(){return Object(y.createElement)("div",{className:"yoast-wizard--columns"},Object(y.createElement)("div",{className:"yoast-wizard--column__push_right"},Object(y.createElement)("h2",{className:"yoast-wizard--heading"},this.props.properties.title),Object(y.createElement)("p",null,this.props.properties.message)),Object(y.createElement)("div",{className:"yoast-wizard--column__push_left"},Object(y.createElement)("a",{href:this.props.properties.href,target:"_blank",id:"plugin-training-image-link"},Object(y.createElement)("img",{width:"100%",height:"100%",src:this.props.properties.image.src,alt:this.props.properties.image.alt}))))}}]),o}(y.Component);Y.propTypes={properties:E.a.object.isRequired};var Z=Y,X=n(10),J=n.n(X),$=n(15),Q=n.n($),ee=n(3),te=n(7),ne=n(12),re=n.n(ne),oe=n(46),ie=n.n(oe);var ae,ue,se=n(176);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var le=re.a.div(ae||(ae=Q()(["\n\tmax-width: 250px;\n\tpadding-bottom: 7px;\n"]))),fe=re.a.p(ue||(ue=Q()(["\n\tfont-size: 14px;\n\tmargin-top: 0;\n"]))),pe=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(){return a()(this,o),r.apply(this,arguments)}return s()(o,[{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(le,null,Object(y.createElement)(te.Label,{for:this.props.name,optionalAttributes:{className:"yoast-wizard-text-input-label"}},Object(ee.__)("The name of the person","wordpress-seo")),Object(y.createElement)(se.b,this.props)),Object(y.createElement)(fe,null,Object(ee.sprintf)(
|
2 |
-
/* translators: %1$s expands to WordPress */
|
3 |
-
Object(ee.__)("You can edit the details shown in meta data, like the social profiles, the name and the description of this user on their %1$s profile page.","wordpress-seo"),"WordPress")))}}]),o}(y.Component);pe.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){J()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},se.a);var de,he,ye=(de=pe,he=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(e){var t;return a()(this,i),(t=r.call(this,e)).onChange=t.onChange.bind(x()(t)),t}return s()(i,[{key:"onChange",value:function(e){return this.props.onChange({target:{name:this.props.name,value:e}})}},{key:"render",value:function(){var e=this.props,t=(e.onChange,e.forwardedRef),n=ie()(e,["onChange","forwardedRef"]);return Object(y.createElement)(de,o()({},n,{ref:t,onChange:this.onChange}))}}]),i}(y.Component),Object(y.forwardRef)((function(e,t){return Object(y.createElement)(he,o()({},e,{forwardedRef:t}))}))),ve=n(183),me=function(e){var t=e.properties,n=e.stepState;return(Object(O.isEmpty)(n.fieldValues["publishing-entity"].publishingEntityCompanyName)||Object(O.isEmpty)(n.fieldValues["publishing-entity"].publishingEntityCompanyLogo))&&Object(y.createElement)(ve.a,t)};me.propTypes={properties:E.a.shape({message:E.a.string.isRequired,link:E.a.string.isRequired}).isRequired,stepState:E.a.shape({fieldValues:E.a.shape({"publishing-entity":E.a.shape({publishingEntityCompanyName:E.a.string.isRequired,publishingEntityCompanyLogo:E.a.string.isRequired})}).isRequired}).isRequired};var be,ge,Oe,_e,we,je,xe,Se,Ee,ke=me,Me=n(16);function Te(){return(Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e){return Me.createElement("svg",Te({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 500 500"},e),be||(be=Me.createElement("path",{d:"M80 0h340a80 80 0 0180 80v420H80a80 80 0 01-80-80V80A80 80 0 0180 0z",fill:"#a4286a"})),ge||(ge=Me.createElement("path",{d:"M437.61 2L155.89 500H500V80a80 80 0 00-62.39-78z",fill:"#6c2548"})),Oe||(Oe=Me.createElement("path",{d:"M74.4 337.3v34.9c21.6-.9 38.5-8 52.8-22.5s27.4-38 39.9-72.9l92.6-248h-44.8L140.3 236l-37-116.2h-41l54.4 139.8a57.54 57.54 0 010 41.8c-5.5 14.2-15.4 30.9-42.3 35.9z",fill:"#fff"})),_e||(_e=Me.createElement("circle",{cx:368.33,cy:124.68,r:97.34,transform:"rotate(-45 368.335 124.68)",fill:"#9fda4f"})),we||(we=Me.createElement("path",{d:"M416.2 39.93l-95.74 169.51A97.34 97.34 0 10416.2 39.93z",fill:"#77b227"})),je||(je=Me.createElement("path",{d:"M294.78 254.75l-.15-.08-.13-.07a63.6 63.6 0 00-62.56 110.76h.13a63.6 63.6 0 0062.71-110.67z",fill:"#fec228"})),xe||(xe=Me.createElement("path",{d:"M294.5 254.59l-62.56 110.76a63.6 63.6 0 1062.56-110.76z",fill:"#f49a00"})),Se||(Se=Me.createElement("path",{d:"M222.31 450.07A38.16 38.16 0 00203 416.83a38.18 38.18 0 1019.41 33.27z",fill:"#ff4e47"})),Ee||(Ee=Me.createElement("path",{d:"M202.9 416.8l-37.54 66.48a38.17 38.17 0 0037.54-66.48z",fill:"#ed261f"})))}var Ce=n(61);var Pe=Object(w.makeOutboundLink)(),De=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(e){var t;return a()(this,i),(t=r.call(this,e)).state={isLoading:!0},t.getConfig(),t}return s()(i,[{key:"getEndpoint",value:function(){var e=yoastWizardConfig;return{url:"".concat(e.root).concat(e.namespace,"/").concat(e.endpoint_retrieve),headers:{"X-WP-Nonce":e.nonce}}}},{key:"setConfig",value:function(e){var t=e,n=this.getEndpoint();Object(O.isUndefined)(t.translations)||Object(_.setTranslations)(t.translations),Object.assign(t,{finishUrl:yoastWizardConfig.finishUrl,endpoint:n,customComponents:{MailchimpSignup:P,MediaUpload:L,Suggestions:H,FinalStep:Z,WordPressUserSelector:ye,CompanyInfoMissing:ke}}),this.setState({isLoading:!1,config:t})}},{key:"getConfig",value:function(){var e=this,t=this.getEndpoint();return g.a.ajax({url:t.url,method:"GET",async:!0,beforeSend:function(e){g.a.each(t.headers,e.setRequestHeader)}}).done(this.setConfig.bind(this)).fail((function(){e.setState({isLoading:!1})}))}},{key:"render",value:function(){if(!0===this.state.isLoading)return null;if(void 0!==this.state.config&&this.state.config!=={})return Object(y.createElement)("div",null,Object(y.createElement)(m.a,o()({},this.state.config,{headerIcon:Re})));var e={
|
4 |
-
/* translators: {{link}} resolves to the link opening tag, {{/link}} resolves to the link closing tag. */
|
5 |
-
mixedString:"The configuration wizard could not be started. The likely cause is an interfering plugin. Please {{link}}check for plugin conflicts{{/link}} to solve this problem. ",components:{link:Object(y.createElement)(Pe,{href:"https://yoa.st/configuration-wizard-error-plugin-conflict"})}};return Object(y.createElement)("div",null,Object(y.createElement)(v.MessageBox,o()({},e,{icon:Re})))}}]),i}(y.Component);Object(Ce.setYoastComponentsL10n)(),Object(y.render)(Object(y.createElement)(De,null),document.getElementById("wizard"))}]);
|
|
|
|
|
|
|
|
|
|
js/dist/configuration-wizard-1660.js
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=349)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},,function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},,,,,function(e,t){e.exports=window.jQuery},function(e,t){e.exports=window.yoast.components},,,,,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},,,,,,,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(n(16)),i=u(n(130)),a=u(n(133));function u(e){return e&&e.__esModule?e:{default:e}}var s=void 0;t.default=function(e){var t=e.mixedString,n=e.components,u=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(u)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var c=(0,a.default)(t);try{return function e(t,n){var a,u,c,l,f,p,d,h,y=[],v={};for(p=0;p<t.length;p++)if("string"!==(f=t[p]).type){if(!n.hasOwnProperty(f.value)||void 0===n[f.value])throw new Error("Invalid interpolation, missing component node: `"+f.value+"`");if("object"!==r(n[f.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+f.value+"`","\n> "+s);if("componentClose"===f.type)throw new Error("Missing opening component token: `"+f.value+"`");if("componentOpen"===f.type){a=n[f.value],c=p;break}y.push(n[f.value])}else y.push(f.value);return a&&(l=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(c,t),d=e(t.slice(c+1,l),n),u=o.default.cloneElement(a,{},d),y.push(u),l<t.length-1&&(h=e(t.slice(l+1),n),y=y.concat(h))),1===y.length?y[0]:(y.forEach((function(e,t){e&&(v["interpolation-child-"+t]=e)})),(0,i.default)(v))}(c,n)}catch(e){if(u)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,,,,,,,,function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,i=r(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}},,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return i})),n.d(t,"setYoastComponentsL10n",(function(){return a})),n.d(t,"setWordPressSeoL10n",(function(){return u}));var r=n(3),o=n(2);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function a(){i("yoast-components")}function u(){i("wordpress-seo")}},,,,,,,,,,,,,,,,,,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},,,,,,,,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},,,,,function(e,t){var n=e.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},,,,,,,,,,,,function(e,t,n){var r=n(211)("wks"),o=n(197),i=n(143).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},,,,,,,,,,,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(94),a=n(131),u=n(132),s="function"==typeof Symbol&&Symbol.iterator;function c(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function f(e){return(""+e).replace(l,"$&/")}var p,d,h=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function m(e,t,n){var o,a,u=e.result,s=e.keyPrefix,c=e.func,l=e.context,p=c.call(l,t,e.count++);Array.isArray(p)?b(p,u,n,i.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,a=s+(!p.key||t&&t.key===p.key?"":f(p.key)+"/")+n,p=r.cloneElement(o,{key:a},void 0!==o.props?o.props.children:void 0)),u.push(p))}function b(e,t,n,r,i){var u="";null!=n&&(u=f(n)+"/");var l=v.getPooled(t,u,r,i);!function(e,t,n){null==e||function e(t,n,r,i){var u,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===o)return r(i,t,""===n?"."+c(t,0):n),1;var f=0,p=""===n?".":n+":";if(Array.isArray(t))for(var d=0;d<t.length;d++)f+=e(u=t[d],p+c(u,d),r,i);else{var h=function(e){var t=e&&(s&&e[s]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var y,v=h.call(t),m=0;!(y=v.next()).done;)f+=e(u=y.value,p+c(u,m++),r,i);else if("object"===l){var b=""+t;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(t).join(", ")+"}":b,"")}}return f}(e,"",t,n)}(e,m,l),v.release(l)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(d=v).instancePool=[],d.getPooled=p||h,d.poolSize||(d.poolSize=10),d.release=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)b(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;(s=new Error(t.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw s.framesToPop=1,s}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){e.exports={default:n(269),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(272))&&r.__esModule?r:{default:r};t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,o.default)(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(233))&&r.__esModule?r:{default:r};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,o.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(295)),o=a(n(299)),i=a(n(233));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t){e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){e.exports=window.ReactDOM},,function(e,t,n){var r=n(143),o=n(107),i=n(205),a=n(170),u=n(158),s=function(e,t,n){var c,l,f,p=e&s.F,d=e&s.G,h=e&s.S,y=e&s.P,v=e&s.B,m=e&s.W,b=d?o:o[t]||(o[t]={}),g=b.prototype,O=d?r:h?r[t]:(r[t]||{}).prototype;for(c in d&&(n=t),n)(l=!p&&O&&void 0!==O[c])&&u(b,c)||(f=l?O[c]:n[c],b[c]=d&&"function"!=typeof O[c]?n[c]:v&&l?i(f,r):m&&O[c]==f?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(f):y&&"function"==typeof f?i(Function.call,f):f,y&&((b.virtual||(b.virtual={}))[c]=f,e&s.R&&g&&!g[c]&&a(g,c,f)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(171),o=n(227),i=n(206),a=Object.defineProperty;t.f=n(145)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(173)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},,,,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(262))&&r.__esModule?r:{default:r};t.default=o.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(261))&&r.__esModule?r:{default:r};t.default=o.default},,,,,,function(e,t,n){var r=n(144),o=n(180);e.exports=n(145)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(172);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(230),o=n(208);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,n,r){if(r=r||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var o="",i=0;i<t.length;i++)o&&(o+=","),o+=this.create(e,t[i],n,r);return o}return this.create(e,t,n,r)},create:function(e,t,n,r){return(t=t||"all")+" "+(e=e||"450ms")+" "+(r=r||"linear")+" "+(n||"0ms")}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return z}));var r,o=n(10),i=n.n(o),a=n(5),u=n.n(a),s=n(6),c=n.n(s),l=n(11),f=n.n(l),p=n(13),d=n.n(p),h=n(14),y=n.n(h),v=n(8),m=n.n(v),b=n(15),g=n.n(b),O=n(0),_=n(183),w=n.n(_),j=n(1),x=n.n(j),S=n(2),E=n(12),k=n(3),M=n(7),T=n(9);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var C=Object(E.createGlobalStyle)(r||(r=g()(["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"]))),P={"X-WP-NONCE":wpApiSettings.nonce},D=wpApiSettings.root,L=function(){return Object(O.createElement)(M.SvgIcon,{icon:"arrow-down",color:"#72777c",size:"10px"})},F=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return y()(this,e)});function o(e){var t;return u()(this,o),(t=r.call(this,e)).state={selectedOption:null,loading:!!t.props.value},t.fetchUsers=Object(S.debounce)(t.fetchUsers,500).bind(f()(t)),t.fetchUser=t.fetchUser.bind(f()(t)),t.mapUserToSelectOption=t.mapUserToSelectOption.bind(f()(t)),t.onChange=t.onChange.bind(f()(t)),t}return c()(o,[{key:"render",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(C,null),Object(O.createElement)(w.a,{placeholder:Object(k.__)("Select a user...","wordpress-seo"),isDisabled:this.state.loading,inputId:this.props.name,className:"yoast-person-selector-container",classNamePrefix:"yoast-person-selector",value:this.state.selectedOption,onChange:this.onChange,defaultOptions:!0,loadOptions:this.fetchUsers,components:{IndicatorSeparator:null,DropdownIndicator:L}}))}},{key:"componentDidMount",value:function(){this.props.value&&this.fetchUser(this.props.value)}},{key:"onChange",value:function(e){var t=this;this.setState({selectedOption:e,loading:!1},(function(){t.props.onChange(e.value,e.label)}))}},{key:"mapUserToSelectOption",value:function(e){return{value:e.id,label:e.name}}},{key:"fetchUser",value:function(e){var t=this;Object(T.sendRequest)("".concat(D,"wp/v2/users/").concat(e),{method:"GET",headers:P}).then((function(e){e?t.onChange(t.mapUserToSelectOption(e)):t.setState({loading:!1})})).catch((function(){t.setState({loading:!1})}))}},{key:"fetchUsers",value:function(e,t){var n=this,r={per_page:10,search:e},i=o.addQueryParams("".concat(D,"wp/v2/users"),r);Object(T.sendRequest)(i,{method:"GET",headers:P}).then((function(e){var r=e.map(n.mapUserToSelectOption);t(r)}))}}],[{key:"addQueryParams",value:function(e,t){var n=e.split("?");e=n[0];var r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);2===n.length&&n[1].split("&").forEach((function(e){var t=e.split("=");r[t[0]]=t[1]}));var o=Object.keys(r).filter((function(e){return!!r[e]})).map((function(e){return"".concat(e,"=").concat(encodeURIComponent(r[e]))})).join("&");return"".concat(e,"?").concat(o)}}]),o}(O.Component),z={name:x.a.string.isRequired,value:x.a.number.isRequired,onChange:x.a.func.isRequired};F.propTypes=z,t.b=F},,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(208);e.exports=function(e){return Object(r(e))}},function(e,t){e.exports={}},function(e,t){e.exports=window.yoast.reactSelectAsync},function(e,t,n){"use strict";var r=n(0),o=n(3),i=n(37),a=n.n(i),u=n(1),s=n.n(u),c=n(7),l=n(9),f=Object(l.makeOutboundLink)(),p=function(e){return Object(r.createElement)(c.Alert,{type:e.type},[a()({mixedString:Object(o.sprintf)(e.message,"{{link}}","{{/link}}"),components:{link:Object(r.createElement)(f,{href:e.link})}})])};p.propTypes={type:s.a.oneOf(["error","info","success","warning"]),message:s.a.string.isRequired,link:s.a.string.isRequired},p.defaultProps={type:"warning"},t.a=p},,,,,,,,,function(e,t){e.exports=window.yoast.configurationWizard},,function(e,t,n){var r=n(229),o=n(212);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},,,,,,,function(e,t,n){var r=n(265);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(172);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(211)("keys"),o=n(197);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(107),o=n(143),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(196)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(171),o=n(279),i=n(212),a=n(210)("IE_PROTO"),u=function(){},s=function(){var e,t=n(228)("iframe"),r=i.length;for(t.style.display="none",n(280).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(144).f,o=n(158),i=n(119)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(119)},function(e,t,n){var r=n(143),o=n(107),i=n(196),a=n(216),u=n(144).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(307))&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={set:function(e,t,n){e[t]=n}}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(328)),o=i(n(218));function i(e){return e&&e.__esModule?e:{default:e}}i(n(242)),i(n(243)),t.default=function(e){return(0,r.default)((function(e,t){return!(0,o.default)(e,t)}))(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(331))&&r.__esModule?r:{default:r};t.default=o.default},,,,,,function(e,t,n){e.exports=!n(145)&&!n(173)((function(){return 7!=Object.defineProperty(n(228)("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(172),o=n(143).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(158),o=n(174),i=n(267)(!1),a=n(210)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,c=[];for(n in u)n!=a&&r(u,n)&&c.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(c,n)||c.push(n));return c}},function(e,t,n){var r=n(207);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(209),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(158),o=n(181),i=n(210)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(275)),o=a(n(285)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";var r=n(277)(!0);n(235)(String,"String",(function(e){this._t=String(e),this._i=0}),(function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})}))},function(e,t,n){"use strict";var r=n(196),o=n(142),i=n(236),a=n(170),u=n(182),s=n(278),c=n(215),l=n(232),f=n(119)("iterator"),p=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,y,v,m){s(n,t,h);var b,g,O,_=function(e){if(!p&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",j="values"==y,x=!1,S=e.prototype,E=S[f]||S["@@iterator"]||y&&S[y],k=E||_(y),M=y?j?_("entries"):k:void 0,T="Array"==t&&S.entries||E;if(T&&(O=l(T.call(new e)))!==Object.prototype&&O.next&&(c(O,w,!0),r||"function"==typeof O[f]||a(O,f,d)),j&&E&&"values"!==E.name&&(x=!0,k=function(){return E.call(this)}),r&&!m||!p&&!x&&S[f]||a(S,f,k),u[t]=k,u[w]=d,y)if(b={values:j?k:_("values"),keys:v?k:_("keys"),entries:M},m)for(g in b)g in S||i(S,g,b[g]);else o(o.P+o.F*(p||x),t,b);return b}},function(e,t,n){e.exports=n(170)},function(e,t,n){var r=n(229),o=n(212).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(198),o=n(180),i=n(174),a=n(206),u=n(158),s=n(227),c=Object.getOwnPropertyDescriptor;t.f=n(145)?c:function(e,t){if(e=i(e),t=a(t,!0),s)try{return c(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(309)),i=s(n(16)),a=s(n(1)),u=(s(n(239)),n(310));function s(e){return e&&e.__esModule?e:{default:e}}a.default.any,a.default.func,a.default.node;var c=function(e){function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o));return i.performAppear=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(i._handleDoneAppearing.bind(i,e,t)):i._handleDoneAppearing(e,t)},i._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performEnter=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(i._handleDoneEntering.bind(i,e,t)):i._handleDoneEntering(e,t)},i._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performLeave=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(i._handleDoneLeaving.bind(i,e,t)):i._handleDoneLeaving(e,t)},i._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)?i.keysToEnter.push(e):i.setState((function(t){var n=r({},t.children);return delete n[e],{children:n}}))},i.childRefs=Object.create(null),i.state={children:(0,u.getChildMapping)(n.children)},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach((function(t){return e.performEnter(t,e.childRefs[t])}));var n=this.keysToLeave;this.keysToLeave=[],n.forEach((function(t){return e.performLeave(t,e.childRefs[t])}))},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var a="string"!=typeof r.ref,u=e.props.childFactory(r),s=function(t){e.childRefs[n]=t};u===r&&a&&(s=(0,o.default)(r.ref,s)),t.push(i.default.cloneElement(u,{key:n,ref:s}))}};for(var a in this.state.children)n(a);var u=r({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,i.default.createElement(this.props.component,u,t)},t}(i.default.Component);c.displayName="TransitionGroup",c.propTypes={},c.defaultProps={component:"span",childFactory:function(e){return e}},t.default=c,e.exports=t.default},function(e,t,n){e.exports={default:n(314),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(329))&&r.__esModule?r:{default:r};t.default=function(e){return(0,o.default)("displayName",e)}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(330))&&r.__esModule?r:{default:r};t.default=function(e,t){return t+"("+(0,o.default)(e)+")"}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(16)),o=a(n(220)),i=a(n(221));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}))};(u=(0,o.default)(u)).displayName="CommunicationMailOutline",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(16)),o=a(n(220)),i=a(n(221));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}))};(u=(0,o.default)(u)).displayName="NavigationArrowForward",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(16)),o=a(n(220)),i=a(n(221));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}))};(u=(0,o.default)(u)).displayName="ActionInfo",u.muiName="SvgIcon",t.default=u},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(157)),o=b(n(159)),i=b(n(134)),a=b(n(135)),u=b(n(136)),s=b(n(137)),c=b(n(138)),l=b(n(139)),f=n(16),p=b(f),d=b(n(1)),h=b(n(175)),y=n(302),v=b(n(303)),m=b(n(325));function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.state={hovered:!1,keyboardFocused:!1,touched:!1,initialZDepth:0,zDepth:0},r.handleMouseDown=function(e){0===e.button&&r.setState({zDepth:r.state.initialZDepth+1}),r.props.onMouseDown&&r.props.onMouseDown(e)},r.handleMouseUp=function(e){r.setState({zDepth:r.state.initialZDepth}),r.props.onMouseUp&&r.props.onMouseUp(e)},r.handleMouseLeave=function(e){r.state.keyboardFocused||r.setState({zDepth:r.state.initialZDepth,hovered:!1}),r.props.onMouseLeave&&r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.state.keyboardFocused||r.state.touched||r.setState({hovered:!0}),r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleTouchStart=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth+1}),r.props.onTouchStart&&r.props.onTouchStart(e)},r.handleTouchEnd=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth}),r.props.onTouchEnd&&r.props.onTouchEnd(e)},r.handleKeyboardFocus=function(e,t){var n=t&&!r.props.disabled?r.state.initialZDepth+1:r.state.initialZDepth;r.setState({zDepth:n,keyboardFocused:t})},o=n,(0,s.default)(r,o)}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props.disabled?0:1;this.setState({zDepth:e,initialZDepth:e})}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled?0:1,n={zDepth:t,initialZDepth:t};e.disabled&&(n.hovered=!1),this.setState(n)}},{key:"render",value:function(){var e=this.props,t=(e.backgroundColor,e.buttonStyle),n=e.children,i=e.className,a=e.disabled,u=(e.disabledBackgroundColor,e.disabledLabelColor,e.fullWidth,e.icon),s=e.label,c=(e.labelColor,e.labelPosition),d=e.labelStyle,b=e.overlayStyle,g=(e.primary,e.rippleStyle),O=(e.secondary,e.style),_=(0,o.default)(e,["backgroundColor","buttonStyle","children","className","disabled","disabledBackgroundColor","disabledLabelColor","fullWidth","icon","label","labelColor","labelPosition","labelStyle","overlayStyle","primary","rippleStyle","secondary","style"]),w=this.context.muiTheme.prepareStyles,j=function(e,t,n){var r=t.muiTheme,o=r.baseTheme,i=r.button,a=r.raisedButton,u=r.borderRadius,s=e.disabled,c=e.disabledBackgroundColor,l=e.disabledLabelColor,f=e.fullWidth,p=e.icon,d=e.label,v=e.labelPosition,m=e.primary,b=e.secondary,g=e.style,O=m||b?.4:.08,_=a.color,w=a.textColor;s?(_=c||a.disabledColor,w=l||a.disabledTextColor):m?(_=a.primaryColor,w=a.primaryTextColor):b?(_=a.secondaryColor,w=a.secondaryTextColor):(e.backgroundColor&&(_=e.backgroundColor),e.labelColor&&(w=e.labelColor));var j=g&&g.height||i.height;return{root:{display:"inline-block",transition:h.default.easeOut(),minWidth:f?"100%":i.minWidth},button:{height:j,lineHeight:j+"px",width:"100%",padding:0,borderRadius:u,transition:h.default.easeOut(),backgroundColor:_,textAlign:"center"},label:{position:"relative",opacity:1,fontSize:a.fontSize,letterSpacing:0,textTransform:a.textTransform||i.textTransform||"uppercase",fontWeight:a.fontWeight,margin:0,userSelect:"none",paddingLeft:p&&"before"!==v?8:o.spacing.desktopGutterLess,paddingRight:p&&"before"===v?8:o.spacing.desktopGutterLess,color:w},icon:{verticalAlign:"middle",marginLeft:d&&"before"!==v?12:0,marginRight:d&&"before"===v?12:0},overlay:{height:j,borderRadius:u,backgroundColor:(n.keyboardFocused||n.hovered)&&!s&&(0,y.fade)(w,O),transition:h.default.easeOut(),top:0},ripple:{color:w,opacity:m||b?.16:.1}}}(this.props,this.context,this.state),x=(0,l.default)({},j.ripple,g),S=a?{}:{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onKeyboardFocus:this.handleKeyboardFocus},E=s&&p.default.createElement("span",{style:w((0,l.default)(j.label,d)),key:"labelElement"},s),k=u&&(0,f.cloneElement)(u,{color:u.props.color||j.label.color,style:(0,l.default)(j.icon,u.props.style),key:"iconCloned"}),M={backgroundColor:b&&j.overlay.backgroundColor&&b.backgroundColor||j.overlay.backgroundColor},T="before"===c?[E,k,n]:[n,k,E];return p.default.createElement(m.default,{className:i,style:(0,l.default)(j.root,O),zDepth:this.state.zDepth},p.default.createElement(v.default,(0,r.default)({},_,S,{ref:"container",disabled:a,style:(0,l.default)(j.button,t),focusRippleColor:x.color,touchRippleColor:x.color,focusRippleOpacity:x.opacity,touchRippleOpacity:x.opacity}),p.default.createElement("div",{ref:"overlay",style:w((0,l.default)(j.overlay,b,M))},T)))}}]),t}(f.Component);g.muiName="RaisedButton",g.defaultProps={disabled:!1,labelPosition:"after",fullWidth:!1,primary:!1,secondary:!1},g.contextTypes={muiTheme:d.default.object.isRequired},g.propTypes={},t.default=g},function(e,t,n){e.exports={default:n(263),__esModule:!0}},function(e,t,n){n(264),e.exports=n(107).Object.assign},function(e,t,n){var r=n(142);r(r.S+r.F,"Object",{assign:n(266)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(145),o=n(195),i=n(213),a=n(198),u=n(181),s=n(230),c=Object.assign;e.exports=!c||n(173)((function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||Object.keys(c({},t)).join("")!=r}))?function(e,t){for(var n=u(e),c=arguments.length,l=1,f=i.f,p=a.f;c>l;)for(var d,h=s(arguments[l++]),y=f?o(h).concat(f(h)):o(h),v=y.length,m=0;v>m;)d=y[m++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:c},function(e,t,n){var r=n(174),o=n(231),i=n(268);e.exports=function(e){return function(t,n,a){var u,s=r(t),c=o(s.length),l=i(a,c);if(e&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===n)return e||l||0;return!e&&-1}}},function(e,t,n){var r=n(209),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(270),e.exports=n(107).Object.getPrototypeOf},function(e,t,n){var r=n(181),o=n(232);n(271)("getPrototypeOf",(function(){return function(e){return o(r(e))}}))},function(e,t,n){var r=n(142),o=n(107),i=n(173);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i((function(){n(1)})),"Object",a)}},function(e,t,n){e.exports={default:n(273),__esModule:!0}},function(e,t,n){n(274);var r=n(107).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(142);r(r.S+r.F*!n(145),"Object",{defineProperty:n(144).f})},function(e,t,n){e.exports={default:n(276),__esModule:!0}},function(e,t,n){n(234),n(281),e.exports=n(216).f("iterator")},function(e,t,n){var r=n(209),o=n(208);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),c=u.length;return s<0||s>=c?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===c||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(214),o=n(180),i=n(215),a={};n(170)(a,n(119)("iterator"),(function(){return this})),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(144),o=n(171),i=n(195);e.exports=n(145)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(143).document;e.exports=r&&r.documentElement},function(e,t,n){n(282);for(var r=n(143),o=n(170),i=n(182),a=n(119)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var c=u[s],l=r[c],f=l&&l.prototype;f&&!f[a]&&o(f,a,c),i[c]=i.Array}},function(e,t,n){"use strict";var r=n(283),o=n(284),i=n(182),a=n(174);e.exports=n(235)(Array,"Array",(function(e,t){this._t=a(e),this._i=0,this._k=t}),(function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])}),"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(286),__esModule:!0}},function(e,t,n){n(287),n(292),n(293),n(294),e.exports=n(107).Symbol},function(e,t,n){"use strict";var r=n(143),o=n(158),i=n(145),a=n(142),u=n(236),s=n(288).KEY,c=n(173),l=n(211),f=n(215),p=n(197),d=n(119),h=n(216),y=n(217),v=n(289),m=n(290),b=n(171),g=n(172),O=n(181),_=n(174),w=n(206),j=n(180),x=n(214),S=n(291),E=n(238),k=n(213),M=n(144),T=n(195),R=E.f,C=M.f,P=S.f,D=r.Symbol,L=r.JSON,F=L&&L.stringify,z=d("_hidden"),A=d("toPrimitive"),N={}.propertyIsEnumerable,K=l("symbol-registry"),U=l("symbols"),I=l("op-symbols"),B=Object.prototype,W="function"==typeof D&&!!k.f,q=r.QObject,G=!q||!q.prototype||!q.prototype.findChild,V=i&&c((function(){return 7!=x(C({},"a",{get:function(){return C(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=R(B,t);r&&delete B[t],C(e,t,n),r&&e!==B&&C(B,t,r)}:C,H=function(e){var t=U[e]=x(D.prototype);return t._k=e,t},Y=W&&"symbol"==typeof D.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof D},Z=function(e,t,n){return e===B&&Z(I,t,n),b(e),t=w(t,!0),b(n),o(U,t)?(n.enumerable?(o(e,z)&&e[z][t]&&(e[z][t]=!1),n=x(n,{enumerable:j(0,!1)})):(o(e,z)||C(e,z,j(1,{})),e[z][t]=!0),V(e,t,n)):C(e,t,n)},X=function(e,t){b(e);for(var n,r=v(t=_(t)),o=0,i=r.length;i>o;)Z(e,n=r[o++],t[n]);return e},J=function(e){var t=N.call(this,e=w(e,!0));return!(this===B&&o(U,e)&&!o(I,e))&&(!(t||!o(this,e)||!o(U,e)||o(this,z)&&this[z][e])||t)},$=function(e,t){if(e=_(e),t=w(t,!0),e!==B||!o(U,t)||o(I,t)){var n=R(e,t);return!n||!o(U,t)||o(e,z)&&e[z][t]||(n.enumerable=!0),n}},Q=function(e){for(var t,n=P(_(e)),r=[],i=0;n.length>i;)o(U,t=n[i++])||t==z||t==s||r.push(t);return r},ee=function(e){for(var t,n=e===B,r=P(n?I:_(e)),i=[],a=0;r.length>a;)!o(U,t=r[a++])||n&&!o(B,t)||i.push(U[t]);return i};W||(u((D=function(){if(this instanceof D)throw TypeError("Symbol is not a constructor!");var e=p(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(I,n),o(this,z)&&o(this[z],e)&&(this[z][e]=!1),V(this,e,j(1,n))};return i&&G&&V(B,e,{configurable:!0,set:t}),H(e)}).prototype,"toString",(function(){return this._k})),E.f=$,M.f=Z,n(237).f=S.f=Q,n(198).f=J,k.f=ee,i&&!n(196)&&u(B,"propertyIsEnumerable",J,!0),h.f=function(e){return H(d(e))}),a(a.G+a.W+a.F*!W,{Symbol:D});for(var te="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;te.length>ne;)d(te[ne++]);for(var re=T(d.store),oe=0;re.length>oe;)y(re[oe++]);a(a.S+a.F*!W,"Symbol",{for:function(e){return o(K,e+="")?K[e]:K[e]=D(e)},keyFor:function(e){if(!Y(e))throw TypeError(e+" is not a symbol!");for(var t in K)if(K[t]===e)return t},useSetter:function(){G=!0},useSimple:function(){G=!1}}),a(a.S+a.F*!W,"Object",{create:function(e,t){return void 0===t?x(e):X(x(e),t)},defineProperty:Z,defineProperties:X,getOwnPropertyDescriptor:$,getOwnPropertyNames:Q,getOwnPropertySymbols:ee});var ie=c((function(){k.f(1)}));a(a.S+a.F*ie,"Object",{getOwnPropertySymbols:function(e){return k.f(O(e))}}),L&&a(a.S+a.F*(!W||c((function(){var e=D();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(g(t)||void 0!==e)&&!Y(e))return m(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!Y(t))return t}),r[1]=t,F.apply(L,r)}}),D.prototype[A]||n(170)(D.prototype,A,D.prototype.valueOf),f(D,"Symbol"),f(Math,"Math",!0),f(r.JSON,"JSON",!0)},function(e,t,n){var r=n(197)("meta"),o=n(172),i=n(158),a=n(144).f,u=0,s=Object.isExtensible||function(){return!0},c=!n(173)((function(){return s(Object.preventExtensions({}))})),l=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},f=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";l(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;l(e)}return e[r].w},onFreeze:function(e){return c&&f.NEED&&s(e)&&!i(e,r)&&l(e),e}}},function(e,t,n){var r=n(195),o=n(213),i=n(198);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,c=0;u.length>c;)s.call(e,a=u[c++])&&t.push(a);return t}},function(e,t,n){var r=n(207);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(174),o=n(237).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(217)("asyncIterator")},function(e,t,n){n(217)("observable")},function(e,t,n){e.exports={default:n(296),__esModule:!0}},function(e,t,n){n(297),e.exports=n(107).Object.setPrototypeOf},function(e,t,n){var r=n(142);r(r.S,"Object",{setPrototypeOf:n(298).set})},function(e,t,n){var r=n(172),o=n(171),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(205)(Function.call,n(238).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(300),__esModule:!0}},function(e,t,n){n(301);var r=n(107).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(142);r(r.S,"Object",{create:n(214)})},function(e,t,n){"use strict";var r;function o(e,t,n){return e<t?t:e>n?n:e}function i(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],4===n.length?o+=", "+e.values[3]+")":o+=")",o}function a(e){if(4===e.length){for(var t="#",n=1;n<e.length;n++)t+=e.charAt(n)+e.charAt(n);e=t}return"rgb("+parseInt(e.substr(1,2),16)+", "+parseInt(e.substr(3,2),16)+", "+parseInt(e.substr(5,2),16)+")"}function u(e){if("#"===e.charAt(0))return u(a(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map((function(e){return parseFloat(e)}))}}function s(e){if((e=u(e)).type.indexOf("rgb")>-1){var t=e.values.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function c(e,t){if(e=u(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return i(e)}function l(e,t){if(e=u(e),t=o(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return i(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=i,t.convertHexToRGB=a,t.decomposeColor=u,t.getContrastRatio=function(e,t){var n=s(e),r=s(t),o=(Math.max(n,r)+.05)/(Math.min(n,r)+.05);return Number(o.toFixed(2))},t.getLuminance=s,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return s(e)>.5?c(e,t):l(e,t)},t.fade=function(e,t){return e=u(e),t=o(t,0,1),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),e.values[3]=t,i(e)},t.darken=c,t.lighten=l,(r=n(239))&&r.__esModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(157)),o=b(n(159)),i=b(n(134)),a=b(n(135)),u=b(n(136)),s=b(n(137)),c=b(n(138)),l=b(n(139)),f=n(16),p=b(f),d=b(n(1)),h=b(n(304)),y=b(n(305)),v=b(n(306)),m=b(n(312));function b(e){return e&&e.__esModule?e:{default:e}}var g=!1,O=!1,_=!1,w=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.state={isKeyboardFocused:!1},r.handleKeyDown=function(e){r.props.disabled||r.props.disableKeyboardFocus||"esc"===(0,y.default)(e)&&r.state.isKeyboardFocused&&r.removeKeyboardFocus(e),r.props.onKeyDown(e)},r.handleKeyUp=function(e){r.props.onKeyUp(e)},r.handleBlur=function(e){r.cancelFocusTimeout(),r.removeKeyboardFocus(e),r.props.onBlur(e)},r.handleFocus=function(e){e&&e.persist(),r.props.disabled||r.props.disableKeyboardFocus||(r.focusTimeout=setTimeout((function(){_&&(r.setKeyboardFocus(e),_=!1)}),150),r.props.onFocus(e))},r.handleClick=function(e){r.cancelFocusTimeout(),r.props.disabled||(_=!1,r.removeKeyboardFocus(e),r.props.onClick(e))},o=n,(0,s.default)(r,o)}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.disabled,n=e.disableKeyboardFocus,r=e.keyboardFocused;t||!r||n||this.setState({isKeyboardFocused:!0})}},{key:"componentDidMount",value:function(){!function(){if(!g){var e=document.createElement("style");e.innerHTML="\n button::-moz-focus-inner,\n input::-moz-focus-inner {\n border: 0;\n padding: 0;\n }\n ",document.body.appendChild(e),g=!0}}(),O||(h.default.on(window,"keydown",(function(e){_="tab"===(0,y.default)(e)})),O=!0),this.state.isKeyboardFocused&&(this.button.focus(),this.props.onKeyboardFocus(null,!0))}},{key:"componentWillReceiveProps",value:function(e){(e.disabled||e.disableKeyboardFocus)&&this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),e.onKeyboardFocus&&e.onKeyboardFocus(null,!1))}},{key:"componentWillUnmount",value:function(){this.focusTimeout&&clearTimeout(this.focusTimeout)}},{key:"isKeyboardFocused",value:function(){return this.state.isKeyboardFocused}},{key:"removeKeyboardFocus",value:function(e){this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),this.props.onKeyboardFocus(e,!1))}},{key:"setKeyboardFocus",value:function(e){this.state.isKeyboardFocused||(this.setState({isKeyboardFocused:!0}),this.props.onKeyboardFocus(e,!0))}},{key:"cancelFocusTimeout",value:function(){this.focusTimeout&&(clearTimeout(this.focusTimeout),this.focusTimeout=null)}},{key:"createButtonChildren",value:function(){var e=this.props,t=e.centerRipple,n=e.children,r=e.disabled,o=e.disableFocusRipple,i=e.disableKeyboardFocus,a=e.disableTouchRipple,u=e.focusRippleColor,s=e.focusRippleOpacity,c=e.touchRippleColor,l=e.touchRippleOpacity,f=this.state.isKeyboardFocused,d=!f||r||o||i?void 0:p.default.createElement(v.default,{color:u,opacity:s,show:f,style:{overflow:"hidden"},key:"focusRipple"}),h=r||a?void 0:p.default.createElement(m.default,{centerRipple:t,color:c,opacity:l,key:"touchRipple"},n);return[d,h,h?void 0:n]}},{key:"render",value:function(){var e=this,t=this.props,n=(t.centerRipple,t.children),i=t.containerElement,a=t.disabled,u=(t.disableFocusRipple,t.disableKeyboardFocus),s=(t.disableTouchRipple,t.focusRippleColor,t.focusRippleOpacity,t.href),c=(t.keyboardFocused,t.touchRippleColor,t.touchRippleOpacity,t.onBlur,t.onClick,t.onFocus,t.onKeyUp,t.onKeyDown,t.onKeyboardFocus,t.style),f=t.tabIndex,d=t.type,h=(0,o.default)(t,["centerRipple","children","containerElement","disabled","disableFocusRipple","disableKeyboardFocus","disableTouchRipple","focusRippleColor","focusRippleOpacity","href","keyboardFocused","touchRippleColor","touchRippleOpacity","onBlur","onClick","onFocus","onKeyUp","onKeyDown","onKeyboardFocus","style","tabIndex","type"]),y=this.context.muiTheme,v=y.prepareStyles,m=y.enhancedButton,b=(0,l.default)({border:10,boxSizing:"border-box",display:"inline-block",fontFamily:this.context.muiTheme.baseTheme.fontFamily,WebkitTapHighlightColor:m.tapHighlightColor,cursor:a?"default":"pointer",textDecoration:"none",margin:0,padding:0,outline:"none",fontSize:"inherit",fontWeight:"inherit",position:"relative",verticalAlign:s?"middle":null},c);if(b.backgroundColor||b.background||(b.background="none"),a&&s)return p.default.createElement("span",(0,r.default)({},h,{style:b}),n);var g=(0,r.default)({},h,{style:v(b),ref:function(t){return e.button=t},disabled:a,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,onClick:this.handleClick,tabIndex:a||u?-1:f});s&&(g.href=s);var O=this.createButtonChildren();return p.default.isValidElement(i)?p.default.cloneElement(i,g,O):(s||"button"!==i||(g.type=d),p.default.createElement(s?"a":i,g,O))}}]),t}(f.Component);w.defaultProps={containerElement:"button",onBlur:function(){},onClick:function(){},onFocus:function(){},onKeyDown:function(){},onKeyUp:function(){},onKeyboardFocus:function(){},tabIndex:0,type:"button"},w.contextTypes={muiTheme:d.default.object.isRequired},w.propTypes={},t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={once:function(e,t,n){for(var r=t?t.split(" "):[],o=function e(t){return t.target.removeEventListener(t.type,e),n(t)},i=r.length-1;i>=0;i--)this.on(e,r[i],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,(function(){n.call(e)}))},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return-1!==["keydown","keypress","keyup"].indexOf(e.type)}}},function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,i=String(e);return(n=r[i.toLowerCase()])?n:(n=o[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var i;if(i=r[t.toLowerCase()])return i===n;if(i=o[t.toLowerCase()])return i===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var u in o)r[u]=o[u]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(134)),o=m(n(135)),i=m(n(136)),a=m(n(137)),u=m(n(138)),s=m(n(139)),c=n(16),l=m(c),f=m(n(1)),p=m(n(140)),d=m(n(218)),h=m(n(219)),y=m(n(175)),v=m(n(308));function m(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){var e,n,i,u;(0,o.default)(this,t);for(var s=arguments.length,c=Array(s),l=0;l<s;l++)c[l]=arguments[l];return n=i=(0,a.default)(this,(e=t.__proto__||(0,r.default)(t)).call.apply(e,[this].concat(c))),i.pulsate=function(){var e=p.default.findDOMNode(i.refs.innerCircle);if(e){var t="scale(1)"===(e.style.transform||"scale(1)")?"scale(0.85)":"scale(1)";h.default.set(e.style,"transform",t),i.timeout=setTimeout(i.pulsate,750)}},u=n,(0,a.default)(i,u)}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.props.show&&(this.setRippleSize(),this.pulsate())}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,d.default)(this.props,e)||!(0,d.default)(this.state,t)}},{key:"componentDidUpdate",value:function(){this.props.show?(this.setRippleSize(),this.pulsate()):this.timeout&&clearTimeout(this.timeout)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"getRippleElement",value:function(e){var t=e.color,n=e.innerStyle,r=e.opacity,o=this.context.muiTheme,i=o.prepareStyles,a=o.ripple,u=(0,s.default)({position:"absolute",height:"100%",width:"100%",borderRadius:"50%",opacity:r||.16,backgroundColor:t||a.color,transition:y.default.easeOut("750ms","transform",null,y.default.easeInOutFunction)},n);return l.default.createElement("div",{ref:"innerCircle",style:i((0,s.default)({},u))})}},{key:"setRippleSize",value:function(){var e=p.default.findDOMNode(this.refs.innerCircle),t=e.offsetHeight,n=e.offsetWidth,r=Math.max(t,n),o=0;-1!==e.style.top.indexOf("px",e.style.top.length-2)&&(o=parseInt(e.style.top)),e.style.height=r+"px",e.style.top=t/2-r/2+o+"px"}},{key:"render",value:function(){var e=this.props,t=e.show,n=e.style,r=(0,s.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0},n),o=t?this.getRippleElement(this.props):null;return l.default.createElement(v.default,{maxScale:.85,style:r},o)}}]),t}(c.Component);b.contextTypes={muiTheme:f.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(157)),o=v(n(159)),i=v(n(134)),a=v(n(135)),u=v(n(136)),s=v(n(137)),c=v(n(138)),l=v(n(139)),f=n(16),p=v(f),d=v(n(1)),h=v(n(240)),y=v(n(311));function v(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.childStyle,i=e.enterDelay,a=e.maxScale,u=e.minScale,s=e.style,c=(0,o.default)(e,["children","childStyle","enterDelay","maxScale","minScale","style"]),f=this.context.muiTheme.prepareStyles,d=(0,l.default)({},{position:"relative",height:"100%"},s),v=p.default.Children.map(t,(function(e){return p.default.createElement(y.default,{key:e.key,enterDelay:i,maxScale:a,minScale:u,style:n},e)}));return p.default.createElement(h.default,(0,r.default)({},c,{style:f(d),component:"div"}),v)}}]),t}(f.Component);m.defaultProps={enterDelay:0},m.contextTypes={muiTheme:d.default.object.isRequired},m.propTypes={},t.default=m},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter((function(e){return null!=e}))).length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))}},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=e})),t},t.mergeChildMappings=function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,u={};for(var s in t){if(r.hasOwnProperty(s))for(a=0;a<r[s].length;a++){var c=r[s][a];u[r[s][a]]=n(c)}u[s]=n(s)}for(a=0;a<o.length;a++)u[o[a]]=n(o[a]);return u};var r=n(16)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(157)),o=m(n(159)),i=m(n(134)),a=m(n(135)),u=m(n(136)),s=m(n(137)),c=m(n(138)),l=m(n(139)),f=n(16),p=m(f),d=m(n(1)),h=m(n(140)),y=m(n(219)),v=m(n(175));function m(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",y.default.set(t,"transform","scale("+this.props.minScale+")"),this.leaveTimer=setTimeout(e,450)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style;e.opacity="1",y.default.set(e,"transform","scale("+this.props.maxScale+")")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",y.default.set(t,"transform","scale(0)"),this.enterTimer=setTimeout(e,this.props.enterDelay)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.enterDelay,e.maxScale,e.minScale,e.style),i=(0,o.default)(e,["children","enterDelay","maxScale","minScale","style"]),a=this.context.muiTheme.prepareStyles,u=(0,l.default)({},{position:"absolute",height:"100%",width:"100%",top:0,left:0,transition:v.default.easeOut(null,["transform","opacity"])},n);return p.default.createElement("div",(0,r.default)({},i,{style:a(u)}),t)}}]),t}(f.Component);b.defaultProps={enterDelay:0,maxScale:1,minScale:0},b.contextTypes={muiTheme:d.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(313)),o=b(n(134)),i=b(n(135)),a=b(n(136)),u=b(n(137)),s=b(n(138)),c=b(n(322)),l=b(n(139)),f=n(16),p=b(f),d=b(n(1)),h=b(n(140)),y=b(n(240)),v=b(n(323)),m=b(n(324));function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){return(0,c.default)(e).slice(1)},O=function(e){function t(e,n){(0,i.default)(this,t);var a=(0,u.default)(this,(t.__proto__||(0,o.default)(t)).call(this,e,n));return a.handleMouseDown=function(e){0===e.button&&a.start(e,!1)},a.handleMouseUp=function(){a.end()},a.handleMouseLeave=function(){a.end()},a.handleTouchStart=function(e){e.stopPropagation(),a.props.abortOnScroll&&e.touches&&(a.startListeningForScrollAbort(e),a.startTime=Date.now()),a.start(e,!0)},a.handleTouchEnd=function(){a.end()},a.handleTouchMove=function(e){if(Math.abs(Date.now()-a.startTime)>300)a.stopListeningForScrollAbort();else{var t=Math.abs(e.touches[0].clientY-a.firstTouchY),n=Math.abs(e.touches[0].clientX-a.firstTouchX);if(t>6||n>6){var o=a.state.ripples,i=o[0],u=p.default.cloneElement(i,{aborted:!0});o=g(o),o=[].concat((0,r.default)(o),[u]),a.setState({ripples:o},(function(){a.end()}))}}},a.ignoreNextMouseDown=!1,a.state={hasRipples:!1,nextKey:0,ripples:[]},a}return(0,s.default)(t,e),(0,a.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(!this.ignoreNextMouseDown||t){var o=this.state.ripples;o=[].concat((0,r.default)(o),[p.default.createElement(m.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:o})}else this.ignoreNextMouseDown=!1}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:g(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=h.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=v.default.offset(t),i=e.touches&&e.touches.length,a=i?e.touches[0].pageX:e.pageX,u=i?e.touches[0].pageY:e.pageY,s=a-o.left,c=u-o.top,l=this.calcDiag(s,c),f=this.calcDiag(r-s,c),p=this.calcDiag(r-s,n-c),d=this.calcDiag(s,n-c),y=Math.max(l,f,p,d),m=2*y;return{directionInvariant:!0,height:m,width:m,top:c-y,left:s-y}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,i=r.ripples,a=this.context.muiTheme.prepareStyles,u=void 0;if(o){var s=(0,l.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none",zIndex:1},n);u=p.default.createElement(y.default,{style:a(s)},i)}return p.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},u,t)}}]),t}(f.Component);O.defaultProps={abortOnScroll:!0},O.contextTypes={muiTheme:d.default.object.isRequired},O.propTypes={},t.default=O},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(241))&&r.__esModule?r:{default:r};t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,o.default)(e)}},function(e,t,n){n(234),n(315),e.exports=n(107).Array.from},function(e,t,n){"use strict";var r=n(205),o=n(142),i=n(181),a=n(316),u=n(317),s=n(231),c=n(318),l=n(319);o(o.S+o.F*!n(321)((function(e){Array.from(e)})),"Array",{from:function(e){var t,n,o,f,p=i(e),d="function"==typeof this?this:Array,h=arguments.length,y=h>1?arguments[1]:void 0,v=void 0!==y,m=0,b=l(p);if(v&&(y=r(y,h>2?arguments[2]:void 0,2)),null==b||d==Array&&u(b))for(n=new d(t=s(p.length));t>m;m++)c(n,m,v?y(p[m],m):p[m]);else for(f=b.call(p),n=new d;!(o=f.next()).done;m++)c(n,m,v?a(f,y,[o.value,m],!0):o.value);return n.length=m,n}})},function(e,t,n){var r=n(171);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(182),o=n(119)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(144),o=n(180);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(320),o=n(119)("iterator"),i=n(182);e.exports=n(107).getIteratorMethod=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(207),o=n(119)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(119)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";t.__esModule=!0;var r,o=(r=n(241))&&r.__esModule?r:{default:r};t.default=function(e){return Array.isArray(e)?e:(0,o.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDescendant:function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=b(n(157)),o=b(n(159)),i=b(n(134)),a=b(n(135)),u=b(n(136)),s=b(n(137)),c=b(n(138)),l=b(n(139)),f=n(16),p=b(f),d=b(n(1)),h=b(n(140)),y=b(n(218)),v=b(n(219)),m=b(n(175));function b(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"shouldComponentUpdate",value:function(e){return!(0,y.default)(this.props,e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){h.default.findDOMNode(this).style.opacity=0;var t=this.props.aborted?0:2e3;this.enterTimer=setTimeout(e,t)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style,t=m.default.easeOut("2s","opacity")+", "+m.default.easeOut("1s","transform");v.default.set(e,"transition",t),v.default.set(e,"transform","scale(1)")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity=this.props.opacity,v.default.set(t,"transform","scale(0)"),this.leaveTimer=setTimeout(e,0)}},{key:"render",value:function(){var e=this.props,t=(e.aborted,e.color),n=(e.opacity,e.style),i=(e.touchGenerated,(0,o.default)(e,["aborted","color","opacity","style","touchGenerated"])),a=this.context.muiTheme.prepareStyles,u=(0,l.default)({position:"absolute",top:0,left:0,height:"100%",width:"100%",borderRadius:"50%",backgroundColor:t},n);return p.default.createElement("div",(0,r.default)({},i,{style:a(u)}))}}]),t}(f.Component);g.defaultProps={opacity:.1,aborted:!1},g.contextTypes={muiTheme:d.default.object.isRequired},g.propTypes={},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(326))&&r.__esModule?r:{default:r};t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(157)),o=y(n(159)),i=y(n(134)),a=y(n(135)),u=y(n(136)),s=y(n(137)),c=y(n(138)),l=y(n(139)),f=n(16),p=y(f),d=y(n(1)),h=(y(n(327)),y(n(175)));function y(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,c.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e,t,n,i,a,u,s,c,f,d,y=this.props,v=y.children,m=(y.circle,y.rounded,y.style),b=(y.transitionEnabled,y.zDepth,(0,o.default)(y,["children","circle","rounded","style","transitionEnabled","zDepth"])),g=this.context.muiTheme.prepareStyles,O=(e=this.props,t=this.context,n=e.rounded,i=e.circle,a=e.transitionEnabled,u=e.zDepth,s=t.muiTheme,c=s.baseTheme,f=s.paper,d=s.borderRadius,{root:{color:f.color,backgroundColor:f.backgroundColor,transition:a&&h.default.easeOut(),boxSizing:"border-box",fontFamily:c.fontFamily,WebkitTapHighlightColor:"rgba(0,0,0,0)",boxShadow:f.zDepthShadows[u-1],borderRadius:i?"50%":n?d:"0px"}});return p.default.createElement("div",(0,r.default)({},b,{style:g((0,l.default)(O.root,m))}),v)}}]),t}(f.Component);v.defaultProps={circle:!1,rounded:!0,transitionEnabled:!0,zDepth:1},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(1))&&r.__esModule?r:{default:r},i=o.default.oneOf(["left","middle","right"]),a=o.default.oneOf(["top","center","bottom"]);t.default={corners:o.default.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:i,vertical:a,origin:o.default.shape({horizontal:i,vertical:a}),cornersAndCenter:o.default.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:o.default.oneOfType([o.default.string,o.default.number]),zDepth:o.default.oneOf([0,1,2,3,4,5])}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(16);function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}o(n(242)),o(n(243)),t.default=function(e){return function(t){var n=(0,r.createFactory)(t);return function(t){function r(){return i(this,r),a(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(r.Component)}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return function(n){return n[e]=t,n}}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(157)),o=y(n(159)),i=y(n(134)),a=y(n(135)),u=y(n(136)),s=y(n(137)),c=y(n(138)),l=y(n(139)),f=n(16),p=y(f),d=y(n(1)),h=y(n(175));function y(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,c=Array(u),l=0;l<u;l++)c[l]=arguments[l];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(c))),r.state={hovered:!1},r.handleMouseLeave=function(e){r.setState({hovered:!1}),r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.setState({hovered:!0}),r.props.onMouseEnter(e)},o=n,(0,s.default)(r,o)}return(0,c.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.color,i=e.hoverColor,a=(e.onMouseEnter,e.onMouseLeave,e.style),u=e.viewBox,s=(0,o.default)(e,["children","color","hoverColor","onMouseEnter","onMouseLeave","style","viewBox"]),c=this.context.muiTheme,f=c.svgIcon,d=c.prepareStyles,y=n||"currentColor",v=i||y,m=(0,l.default)({display:"inline-block",color:f.color,fill:this.state.hovered?v:y,height:24,width:24,userSelect:"none",transition:h.default.easeOut()},a);return p.default.createElement("svg",(0,r.default)({},s,{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,style:d(m),viewBox:u}),t)}}]),t}(f.Component);v.muiName="SvgIcon",v.defaultProps={onMouseEnter:function(){},onMouseLeave:function(){},viewBox:"0 0 24 24"},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(27),o=n.n(r),i=n(5),a=n.n(i),u=n(6),s=n.n(u),c=n(13),l=n.n(c),f=n(14),p=n.n(f),d=n(8),h=n.n(d),y=n(0),v=n(193),m=n.n(v),b=n(21),g=n.n(b),O=n(2),_=n(22),w=n(9),j=n(11),x=n.n(j),S=n(1),E=n.n(S),k=n(164),M=n.n(k),T=n(249),R=n.n(T);var C=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={successfulSignup:t.props.value,isLoading:!1},t.setEmailInputRef=t.setEmailInputRef.bind(x()(t)),t}return s()(o,[{key:"componentDidUpdate",value:function(e,t){this.state.successfulSignup!==t.successfulSignup&&this.sendChangeEvent()}},{key:"hasSubscription",value:function(){return this.props.value.hasSignup}},{key:"signup",value:function(){var e=this._emailInput.value,t="EMAIL=".concat(e);this.setState({isLoading:!0});var n=Object(w.sendRequest)(this.props.properties.mailchimpActionUrl,{data:t,headers:{},dataType:"jsonp",jsonp:"c",method:"POST"});this.handleResultSignup(n)}},{key:"handleResultSignup",value:function(e){var t=this;e.then((function(e){-1===e.msg.indexOf("is already subscribed")?"error"!==e.result?t.setState({isLoading:!1,successfulSignup:!0,message:e.msg}):t.setState({isLoading:!1,successfulSignup:!1,message:t.stripMessage(t.stripLinkFromMessage(e.msg))}):t.setState({isLoading:!1,successfulSignup:!0,message:"Almost finished... We need to confirm your email address.To complete the subscription process, please click the link in the email we just sent you."})})).catch((function(e){console.error(t.props.translate("MailChimp signup failed:"),e)}))}},{key:"stripLinkFromMessage",value:function(e){return e.replace(/<a.*?<\/a>/,"")}},{key:"stripMessage",value:function(e){return e.endsWith("0 - ",4)?e.slice(4):e}},{key:"sendChangeEvent",value:function(){var e={target:{name:"mailchimpSignup",value:{hasSignup:this.state.successfulSignup}}};this.onChange(e)}},{key:"getLoadingIndicator",value:function(){return this.state.isLoading?Object(y.createElement)("div",{className:"yoast-wizard-overlay"},Object(y.createElement)(v.LoadingIndicator,null)):null}},{key:"setEmailInputRef",value:function(e){this._emailInput=e}},{key:"render",value:function(){if(this.skipRendering())return null;this.onChange=this.props.onChange;var e=Object(y.createElement)("input",{id:"mailchimpEmail",className:"yoast-wizard-text-input-field",ref:this.setEmailInputRef,type:"email",name:this.props.name,defaultValue:this.props.properties.currentUserEmail,autoComplete:"email"}),t=Object(y.createElement)(M.a,{primary:!0,label:this.props.translate("Sign Up!"),onClick:this.signup.bind(this),icon:Object(y.createElement)(R.a,{color:"#ffffff",viewBox:"0 0 28 28"})}),n=this.getSignupMessage(),r=this.getLoadingIndicator();return Object(y.createElement)("div",{className:"yoast-wizard--columns yoast-wizard-newsletter"},Object(y.createElement)("div",null,Object(y.createElement)("h2",{className:"yoast-wizard-newsletter--header"},this.props.properties.title),Object(y.createElement)("p",null,this.props.properties.label),this.props.properties.freeAccountNotice&&Object(y.createElement)("strong",null,this.props.properties.freeAccountNotice),Object(y.createElement)("div",{className:"yoast-wizard--columns yoast-wizard--columns__even"},Object(y.createElement)("div",{className:"yoast-wizard-text-input"},Object(y.createElement)("label",{htmlFor:"mailchimpEmail",className:"yoast-wizard-text-input-label"},this.props.translate("Email")),e)),t,n,r,this.props.properties.GDPRNotice&&Object(y.createElement)("div",{dangerouslySetInnerHTML:{__html:this.props.properties.GDPRNotice}})),Object(y.createElement)("div",{className:"hide-on-tablet yoast-wizard-newsletter--decoration"},Object(y.createElement)("img",{src:this.props.properties.decoration,alt:""})))}},{key:"skipRendering",value:function(){var e=this.props.stepState,t="success"===e.currentStep,n=!0===e.fieldValues.newsletter.mailchimpSignup.hasSignup;return t&&n}},{key:"getSignupMessage",value:function(){return this.state.successfulSignup?Object(y.createElement)("p",{className:"yoast-wizard-mailchimp-message-success","aria-live":"assertive"},this.state.message):Object(y.createElement)("p",{className:"yoast-wizard-mailchimp-message-error","aria-live":"assertive"},this.state.message)}}]),o}(y.Component);C.propTypes={translate:E.a.func.isRequired,title:E.a.string,component:E.a.string,name:E.a.string.isRequired,properties:E.a.object,data:E.a.string,onChange:E.a.func,value:E.a.shape({hasSignup:E.a.bool}),stepState:E.a.object},C.defaultProps={title:"Mailchimp signup",component:"",properties:{},data:"",value:{hasSignup:!1}};var P=Object(_.localize)(C);var D=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={currentUpload:e.value,mediaUpload:wp.media({title:t.props.translate("Choose an image"),button:{text:t.props.translate("Choose an image")},multiple:!1,library:{type:"image"}})},t.state.mediaUpload.on("select",t.selectUpload.bind(x()(t))),t.chooseButton=Object(y.createRef)(),t}return s()(o,[{key:"componentDidUpdate",value:function(e,t){var n=this.state.currentUpload!==t.currentUpload;n&&this.sendChangeEvent(),n&&""===this.state.currentUpload&&this.chooseButton.current.refs.container.button.focus()}},{key:"chooseUpload",value:function(e){e.preventDefault(),this.state.mediaUpload.open()}},{key:"selectUpload",value:function(){var e=this.state.mediaUpload.state().get("selection").first().toJSON();this.setState({currentUpload:e.url})}},{key:"removeUpload",value:function(){this.setState({currentUpload:""})}},{key:"renderRemoveButton",value:function(){return this.state.currentUpload?Object(y.createElement)(M.a,{label:this.props.translate("Remove the image"),onClick:this.removeUpload.bind(this),className:"yoast-wizard-image-upload-container-buttons__remove",type:"button"}):null}},{key:"renderImage",value:function(){return this.state.currentUpload?Object(y.createElement)("img",{className:"yoast-wizard-image-upload-container__image",src:this.state.currentUpload,alt:this.props.translate("image preview")}):null}},{key:"render",value:function(){return Object(y.createElement)("div",{className:"yoast-wizard-image-upload-container"},Object(y.createElement)("p",{className:"yoast-wizard-image-upload-container-description"},this.props.properties.label),this.renderImage(),Object(y.createElement)("div",{className:"yoast-wizard-image-upload-container-buttons"},Object(y.createElement)(M.a,{label:this.props.translate("Choose an image"),onClick:this.chooseUpload.bind(this),type:"button",className:"yoast-wizard-image-upload-container-buttons__choose",ref:this.chooseButton}),this.renderRemoveButton()))}},{key:"sendChangeEvent",value:function(){var e={target:{name:this.props.name,value:this.state.currentUpload}};this.props.onChange(e)}}]),o}(y.Component);D.propTypes={translate:E.a.func.isRequired,name:E.a.string.isRequired,value:E.a.any,onChange:E.a.func,properties:E.a.shape({label:E.a.string})};var L=Object(_.localize)(D),F=n(250),z=n.n(F),A=n(251),N=n.n(A),K=function(e){var t={primary:"primary"===e.type};return t["aria-label"]=e.label,Object(y.createElement)(M.a,o()({},t,e))};K.propTypes={type:E.a.string,label:E.a.string,disableFocusRipple:E.a.bool,disableTouchRipple:E.a.bool,disableKeyboardFocus:E.a.bool},K.defaultProps={type:"",label:"",disableFocusRipple:!1,disableTouchRipple:!0,disableKeyboardFocus:!1};var U=K,I=function(e){return Object(y.createElement)(U,o()({"aria-label":null},e))},B=Object(w.makeOutboundLink)(I);I.propTypes={href:E.a.string.isRequired,icon:E.a.object},I.defaultProps={icon:Object(y.createElement)(N.a,{viewBox:"0 0 28 28"})};var W=B;var q=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(){return a()(this,i),r.apply(this,arguments)}return s()(i,[{key:"render",value:function(){var e={};return"primary"===this.props.button.type&&(e.labelPosition="before",e.icon=Object(y.createElement)(z.a,{viewBox:"0 0 28 28"})),Object(y.createElement)("div",{className:"yoast-wizard--list yoast-wizard--columns yoast-wizard--suggestion"},Object(y.createElement)("div",{className:"yoast-wizard--column__push_right"},Object(y.createElement)("h3",{className:"yoast-wizard--heading"},this.props.title),Object(y.createElement)("p",null,this.props.copy),Object(y.createElement)(W,o()({},this.props.button,e))),Object(y.createElement)("div",{className:"yoast-wizard--column__push_left yoast-wizard--video-frame"},Object(y.createElement)("iframe",{width:"400",height:"225",src:this.props.video.url,frameBorder:"0",allowFullScreen:!0,title:this.props.video.title})))}}]),i}(y.Component),G=q;q.propTypes={title:E.a.string.isRequired,copy:E.a.string.isRequired,video:E.a.object.isRequired,button:E.a.object.isRequired};var V=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(){return a()(this,i),r.apply(this,arguments)}return s()(i,[{key:"render",value:function(){return Object(y.createElement)("div",null,this.props.properties.suggestions.map((function(e,t){return Object(y.createElement)(G,o()({key:t},e))})))}}]),i}(y.Component),H=V;V.propTypes={properties:E.a.object.isRequired};var Y=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(){return a()(this,o),r.apply(this,arguments)}return s()(o,[{key:"render",value:function(){return Object(y.createElement)("div",{className:"yoast-wizard--columns"},Object(y.createElement)("div",{className:"yoast-wizard--column__push_right"},Object(y.createElement)("h2",{className:"yoast-wizard--heading"},this.props.properties.title),Object(y.createElement)("p",null,this.props.properties.message)),Object(y.createElement)("div",{className:"yoast-wizard--column__push_left"},Object(y.createElement)("a",{href:this.props.properties.href,target:"_blank",id:"plugin-training-image-link"},Object(y.createElement)("img",{width:"100%",height:"100%",src:this.props.properties.image.src,alt:this.props.properties.image.alt}))))}}]),o}(y.Component);Y.propTypes={properties:E.a.object.isRequired};var Z=Y,X=n(10),J=n.n(X),$=n(15),Q=n.n($),ee=n(3),te=n(7),ne=n(12),re=n.n(ne),oe=n(46),ie=n.n(oe);var ae,ue,se=n(177);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var le=re.a.div(ae||(ae=Q()(["\n\tmax-width: 250px;\n\tpadding-bottom: 7px;\n"]))),fe=re.a.p(ue||(ue=Q()(["\n\tfont-size: 14px;\n\tmargin-top: 0;\n"]))),pe=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function o(){return a()(this,o),r.apply(this,arguments)}return s()(o,[{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(le,null,Object(y.createElement)(te.Label,{for:this.props.name,optionalAttributes:{className:"yoast-wizard-text-input-label"}},Object(ee.__)("The name of the person","wordpress-seo")),Object(y.createElement)(se.b,this.props)),Object(y.createElement)(fe,null,Object(ee.sprintf)(
|
2 |
+
/* translators: %1$s expands to WordPress */
|
3 |
+
Object(ee.__)("You can edit the details shown in meta data, like the social profiles, the name and the description of this user on their %1$s profile page.","wordpress-seo"),"WordPress")))}}]),o}(y.Component);pe.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(n),!0).forEach((function(t){J()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},se.a);var de,he,ye=(de=pe,he=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(e){var t;return a()(this,i),(t=r.call(this,e)).onChange=t.onChange.bind(x()(t)),t}return s()(i,[{key:"onChange",value:function(e){return this.props.onChange({target:{name:this.props.name,value:e}})}},{key:"render",value:function(){var e=this.props,t=(e.onChange,e.forwardedRef),n=ie()(e,["onChange","forwardedRef"]);return Object(y.createElement)(de,o()({},n,{ref:t,onChange:this.onChange}))}}]),i}(y.Component),Object(y.forwardRef)((function(e,t){return Object(y.createElement)(he,o()({},e,{forwardedRef:t}))}))),ve=n(184),me=function(e){var t=e.properties,n=e.stepState;return(Object(O.isEmpty)(n.fieldValues["publishing-entity"].publishingEntityCompanyName)||Object(O.isEmpty)(n.fieldValues["publishing-entity"].publishingEntityCompanyLogo))&&Object(y.createElement)(ve.a,t)};me.propTypes={properties:E.a.shape({message:E.a.string.isRequired,link:E.a.string.isRequired}).isRequired,stepState:E.a.shape({fieldValues:E.a.shape({"publishing-entity":E.a.shape({publishingEntityCompanyName:E.a.string.isRequired,publishingEntityCompanyLogo:E.a.string.isRequired})}).isRequired}).isRequired};var be,ge,Oe,_e,we,je,xe,Se,Ee,ke=me,Me=n(16);function Te(){return(Te=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(e){return Me.createElement("svg",Te({xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",viewBox:"0 0 500 500"},e),be||(be=Me.createElement("path",{d:"M80 0h340a80 80 0 0180 80v420H80a80 80 0 01-80-80V80A80 80 0 0180 0z",fill:"#a4286a"})),ge||(ge=Me.createElement("path",{d:"M437.61 2L155.89 500H500V80a80 80 0 00-62.39-78z",fill:"#6c2548"})),Oe||(Oe=Me.createElement("path",{d:"M74.4 337.3v34.9c21.6-.9 38.5-8 52.8-22.5s27.4-38 39.9-72.9l92.6-248h-44.8L140.3 236l-37-116.2h-41l54.4 139.8a57.54 57.54 0 010 41.8c-5.5 14.2-15.4 30.9-42.3 35.9z",fill:"#fff"})),_e||(_e=Me.createElement("circle",{cx:368.33,cy:124.68,r:97.34,transform:"rotate(-45 368.335 124.68)",fill:"#9fda4f"})),we||(we=Me.createElement("path",{d:"M416.2 39.93l-95.74 169.51A97.34 97.34 0 10416.2 39.93z",fill:"#77b227"})),je||(je=Me.createElement("path",{d:"M294.78 254.75l-.15-.08-.13-.07a63.6 63.6 0 00-62.56 110.76h.13a63.6 63.6 0 0062.71-110.67z",fill:"#fec228"})),xe||(xe=Me.createElement("path",{d:"M294.5 254.59l-62.56 110.76a63.6 63.6 0 1062.56-110.76z",fill:"#f49a00"})),Se||(Se=Me.createElement("path",{d:"M222.31 450.07A38.16 38.16 0 00203 416.83a38.18 38.18 0 1019.41 33.27z",fill:"#ff4e47"})),Ee||(Ee=Me.createElement("path",{d:"M202.9 416.8l-37.54 66.48a38.17 38.17 0 0037.54-66.48z",fill:"#ed261f"})))}var Ce=n(61);var Pe=Object(w.makeOutboundLink)(),De=function(e){l()(i,e);var t,n,r=(t=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var o=h()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return p()(this,e)});function i(e){var t;return a()(this,i),(t=r.call(this,e)).state={isLoading:!0},t.getConfig(),t}return s()(i,[{key:"getEndpoint",value:function(){var e=yoastWizardConfig;return{url:"".concat(e.root).concat(e.namespace,"/").concat(e.endpoint_retrieve),headers:{"X-WP-Nonce":e.nonce}}}},{key:"setConfig",value:function(e){var t=e,n=this.getEndpoint();Object(O.isUndefined)(t.translations)||Object(_.setTranslations)(t.translations),Object.assign(t,{finishUrl:yoastWizardConfig.finishUrl,endpoint:n,customComponents:{MailchimpSignup:P,MediaUpload:L,Suggestions:H,FinalStep:Z,WordPressUserSelector:ye,CompanyInfoMissing:ke}}),this.setState({isLoading:!1,config:t})}},{key:"getConfig",value:function(){var e=this,t=this.getEndpoint();return g.a.ajax({url:t.url,method:"GET",async:!0,beforeSend:function(e){g.a.each(t.headers,e.setRequestHeader)}}).done(this.setConfig.bind(this)).fail((function(){e.setState({isLoading:!1})}))}},{key:"render",value:function(){if(!0===this.state.isLoading)return null;if(void 0!==this.state.config&&this.state.config!=={})return Object(y.createElement)("div",null,Object(y.createElement)(m.a,o()({},this.state.config,{headerIcon:Re})));var e={
|
4 |
+
/* translators: {{link}} resolves to the link opening tag, {{/link}} resolves to the link closing tag. */
|
5 |
+
mixedString:"The configuration wizard could not be started. The likely cause is an interfering plugin. Please {{link}}check for plugin conflicts{{/link}} to solve this problem. ",components:{link:Object(y.createElement)(Pe,{href:"https://yoa.st/configuration-wizard-error-plugin-conflict"})}};return Object(y.createElement)("div",null,Object(y.createElement)(v.MessageBox,o()({},e,{icon:Re})))}}]),i}(y.Component);Object(Ce.setYoastComponentsL10n)(),Object(y.render)(Object(y.createElement)(De,null),document.getElementById("wizard"))}]);
|
js/dist/{dashboard-widget-1650.js → dashboard-widget-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=
|
1 |
+
!function(t){var e={};function n(o){if(e[o])return e[o].exports;var r=e[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(o,r,function(e){return t[e]}.bind(null,r));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=332)}({0:function(t,e){t.exports=window.wp.element},11:function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},13:function(t,e,n){var o=n(79);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}},14:function(t,e,n){var o=n(34),r=n(11);t.exports=function(t,e){return!e||"object"!==o(e)&&"function"!=typeof e?r(t):e}},2:function(t,e){t.exports=window.lodash},24:function(t,e){t.exports=window.yoast.styleGuide},3:function(t,e){t.exports=window.wp.i18n},332:function(t,e,n){"use strict";n.r(e);var o=n(5),r=n.n(o),s=n(6),i=n.n(s),c=n(13),u=n.n(c),a=n(14),f=n.n(a),l=n(8),p=n.n(l),d=n(0),y=n(7),h=n(24),b=n(95),v=n(9),m=n(61);var w=function(t){u()(s,t);var e,n,o=(e=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,o=p()(e);if(n){var r=p()(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return f()(this,t)});function s(){var t;return r()(this,s),(t=o.call(this)).state={statistics:null,feed:null,isDataFetched:!1},t}return i()(s,[{key:"componentDidMount",value:function(){var t=this,e=jQuery("#wpseo-dashboard-overview-hide");e.is(":checked")&&this.fetchData(),e.on("click",(function(){t.fetchData()}))}},{key:"fetchData",value:function(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.setState({isDataFetched:!0}))}},{key:"getStatistics",value:function(){var t=this;wpseoApi.get("statistics",(function(e){var n={};e&&e.seo_scores&&(n.seoScores=e.seo_scores.map((function(t){return{value:parseInt(t.count,10),color:s.getColorFromScore(t.seo_rank),html:'<a href="'.concat(t.link,'">').concat(t.label,"</a>")}})),n.header=jQuery("<div>".concat(e.header,"</div>")).text(),t.setState({statistics:n}))}))}},{key:"getFeed",value:function(){var t=this;Object(v.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then((function(e){e.items=e.items.map((function(t){return t.description=jQuery("<div>".concat(t.description,"</div>")).text(),t.description=t.description.replace("The post ".concat(t.title," appeared first on Yoast."),"").trim(),t})),t.setState({feed:e})})).catch((function(t){return console.log(t)}))}},{key:"getSeoAssessment",value:function(){return null===this.state.statistics?null:Object(d.createElement)(b.SiteSEOReport,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}},{key:"getYoastFeed",value:function(){return null===this.state.feed?null:Object(d.createElement)(y.ArticleList,{className:"wordpress-feed",key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer})}},{key:"render",value:function(){var t=[this.getSeoAssessment(),this.getYoastFeed()].filter((function(t){return null!==t}));return 0===t.length?null:Object(d.createElement)("div",null,t)}}],[{key:"getColorFromScore",value:function(t){return h.colors["$color_".concat(t)]||h.colors.$color_grey}}]),s}(d.Component),g=document.getElementById("yoast-seo-dashboard-widget");g&&(Object(m.setYoastComponentsL10n)(),Object(d.render)(Object(d.createElement)(w,null),g))},34:function(t,e){function n(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=n=function(t){return typeof t}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(e)}t.exports=n},5:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},6:function(t,e){function n(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}t.exports=function(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t}},61:function(t,e,n){"use strict";n.r(e),n.d(e,"setTextdomainL10n",(function(){return s})),n.d(e,"setYoastComponentsL10n",(function(){return i})),n.d(e,"setWordPressSeoL10n",(function(){return c}));var o=n(3),r=n(2);function s(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(r.get)(window,[e,t,"locale_data",t],!1);!1===n?Object(o.setLocaleData)({"":{}},t):Object(o.setLocaleData)(n,t)}function i(){s("yoast-components")}function c(){s("wordpress-seo")}},7:function(t,e){t.exports=window.yoast.componentsNew},79:function(t,e){function n(e,o){return t.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(e,o)}t.exports=n},8:function(t,e){function n(e){return t.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},n(e)}t.exports=n},9:function(t,e){t.exports=window.yoast.helpers},95:function(t,e){t.exports=window.yoast.analysisReport}});
|
js/dist/{dynamic-blocks-1650.js → dynamic-blocks-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=333)}({0:function(e,t){e.exports=window.wp.element},117:function(e,t){e.exports=window.wp.blocks},252:function(e,t){e.exports=window.wp.serverSideRender},3:function(e,t){e.exports=window.wp.i18n},333:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(117),s=r(3),i=r(252),u=r.n(i);Object(o.registerBlockType)("yoast-seo/breadcrumbs",{title:Object(s.__)("Yoast Breadcrumbs","wordpress-seo"),icon:"admin-links",category:"yoast-internal-linking-blocks",description:Object(s.__)("Adds the Yoast SEO breadcrumbs to your template or content.","wordpress-seo"),keywords:[Object(s.__)("seo","wordpress-seo"),Object(s.__)("breadcrumbs","wordpress-seo"),Object(s.__)("internal linking","wordpress-seo"),Object(s.__)("site structure","wordpress-seo")],example:{attributes:{}},edit:function(e){return Object(n.createElement)(u.a,{block:"yoast-seo/breadcrumbs",attributes:e.attributes})},save:function(){return null}})}});
|
js/dist/{edit-page-1650.js → edit-page-1660.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=
|
1 |
+
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=334)}({21:function(t,e){t.exports=window.jQuery},334:function(t,e,o){"use strict";o.r(e);var n,r=o(21);(n=o.n(r).a)(".yoast-column-header-has-tooltip").each((function(){n(this).closest("th").find("a").addClass("yoast-tooltip yoast-tooltip-alt yoast-tooltip-n yoast-tooltip-multiline").attr("data-label",n(this).data("tooltip-text")).attr("aria-label",n(this).text())}))}});
|
js/dist/{editor-modules-1650.js → editor-modules-1660.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
2 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
3 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},p=n(9),m=Object(p.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
4 |
/* translators: %s : Expands to "Semrush". */
|
@@ -12,8 +12,8 @@ Object(s.__)("Would you like to be able to add these related keyphrases to the %
|
|
12 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
13 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},$=function(){return Object(o.createElement)(l.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(l.Alert,{type:"warning"},Object(s.sprintf)(
|
14 |
/* translators: %s: Expands to "Yoast SEO". */
|
15 |
-
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,a=e.keyphrase,r=e.newRequest,i=e.setCountry,c=e.renderAction,l=e.countryCode,p=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,v=e.setRequestLimitReached,g=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!p&&Object(o.createElement)(o.Fragment,null,!g&&Object(o.createElement)(Z,null),g&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(B,{countryCode:l,setCountry:i,newRequest:r,keyphrase:a,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:v,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,a=e.isSuccess,r=e.response,i=e.requestHasData;return t?Object(o.createElement)(d,null):n?Object(o.createElement)(f,null):!a&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(r)?Object(o.createElement)($,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(G,{keyphrase:a,relatedKeyphrases:h,countryCode:l,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,a=t.getSEMrushSelectedCountry,r=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:a(),requestLimitReached:r(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:u()}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,a=t.setSEMrushNewRequest,r=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){a(e,t)},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},12:function(e,t){e.exports=window.yoast.styledComponents},13:function(e,t,n){var a=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}},14:function(e,t,n){var a=n(34),r=n(11);e.exports=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?r(e):t}},140:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var a=n(0),r=n(1),o=n.n(r),s=n(5),i=n.n(s),c=n(6),u=n.n(c),l=n(11),d=n.n(l),p=n(13),m=n.n(p),f=n(14),b=n.n(f),h=n(8),y=n.n(h),v=n(7),g=n(9),O=n(89);var j=function(e){m()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=y()(t);if(n){var r=y()(this).constructor;e=Reflect.construct(a,arguments,r)}else e=a.apply(this,arguments);return b()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).hiddenField=document.getElementById(t.props.hiddenField),t.hiddenFieldImageId=document.getElementById(t.props.hiddenFieldImageId),t.state={imageUrl:t.getInitialValue(),imageId:t.getInitialId(),warnings:[]},t.setMyImageUrl=t.setMyImageUrl.bind(d()(t)),t.setMyImageId=t.setMyImageId.bind(d()(t)),t.onClick=t.onClick.bind(d()(t)),t.removeImage=t.removeImage.bind(d()(t)),t.setWarnings=t.setWarnings.bind(d()(t)),t}return u()(o,[{key:"getInitialValue",value:function(){return this.hiddenField.value}},{key:"getInitialId",value:function(){if(null!==this.hiddenFieldImageId)return this.hiddenFieldImageId.value}},{key:"setMyImageUrl",value:function(e){var t=this;this.setState({imageUrl:e},(function(){t.hiddenField.value=e}))}},{key:"setMyImageId",value:function(e){var t=this;this.setState({imageId:e},(function(){t.hiddenFieldImageId.value=e}))}},{key:"onClick",value:function(){var e=this;Object(O.a)((function(t){e.props.hasImageValidation&&e.setWarnings(Object(g.validateFacebookImage)(t)),e.setMyImageUrl(t.url),null!==e.hiddenFieldImageId&&e.setMyImageId(t.id)}))}},{key:"removeImage",value:function(){this.setMyImageUrl(""),null!==this.hiddenFieldImageId&&this.setMyImageId("")}},{key:"setWarnings",value:function(e){this.setState({warnings:e})}},{key:"render",value:function(){return Object(a.createElement)(v.ImageSelect,{label:this.props.label,hasPreview:this.props.hasPreview,imageUrl:this.state.imageUrl,imageId:this.state.imageId,onClick:this.onClick,onRemoveImageClick:this.removeImage,selectImageButtonId:this.props.selectImageButtonId,replaceImageButtonId:this.props.replaceImageButtonId,removeImageButtonId:this.props.removeImageButtonId,hasNewBadge:this.props.hasNewBadge,isDisabled:this.props.isDisabled,hasPremiumBadge:this.props.hasPremiumBadge,warnings:this.state.warnings})}}]),o}(a.Component);j.propTypes={hiddenField:o.a.string.isRequired,hiddenFieldImageId:o.a.string,label:o.a.string,hasPreview:o.a.bool,selectImageButtonId:o.a.string,replaceImageButtonId:o.a.string,removeImageButtonId:o.a.string,hasNewBadge:o.a.bool,isDisabled:o.a.bool,hasPremiumBadge:o.a.bool,hasImageValidation:o.a.bool},j.defaultProps={hiddenFieldImageId:"",label:"",hasPreview:!0,selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1};var w=j,R=n(36);function k(e){var t=e.target,n=e.label,r=e.hasPreview,o=e.hiddenField,s=e.hiddenFieldImageId,i=e.selectImageButtonId,c=e.replaceImageButtonId,u=e.removeImageButtonId,l=e.hasNewBadge,d=e.isDisabled,p=e.hasPremiumBadge,m=e.hasImageValidation;return Object(a.createElement)(R.a,{target:t},Object(a.createElement)(w,{label:n,hasPreview:r,hiddenField:o,hiddenFieldImageId:s,selectImageButtonId:i,replaceImageButtonId:c,removeImageButtonId:u,hasNewBadge:l,isDisabled:d,hasPremiumBadge:p,hasImageValidation:m}))}k.propTypes={target:o.a.string.isRequired,label:o.a.string.isRequired,hasPreview:o.a.bool.isRequired,hiddenField:o.a.string.isRequired,hiddenFieldImageId:o.a.string,selectImageButtonId:o.a.string,replaceImageButtonId:o.a.string,removeImageButtonId:o.a.string,hasNewBadge:o.a.bool,isDisabled:o.a.bool,hasPremiumBadge:o.a.bool,hasImageValidation:o.a.bool},k.defaultProps={hiddenFieldImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1}},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},17:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var a=n(9),r="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:r,mode:e}}function p(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r="string"==typeof t?Object(a.decodeHTML)(t):t;return{type:s,name:e,value:r,label:n}}function f(e){return{type:u,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},175:function(e,t,n){"use strict";var a,r,o,s,i=n(34),c=n.n(i),u=n(30),l=n.n(u),d=n(39),p=n.n(d),m=n(0),f=/<(\/)?(\w+)\s*(\/)?>/g;function b(e,t,n,a,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:a,leadingTextStart:r,children:[]}}function h(){var e=a.length-r;0!==e&&o.push(a.substr(r,e))}function y(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,i=e.children,c=s[s.length-1],u=a.substr(c.prevOffset,n-c.prevOffset);u&&c.children.push(u),c.children.push(m.cloneElement.apply(void 0,[t,null].concat(l()(i)))),c.prevOffset=o||n+r}function v(e){var t=function(){var e=f.exec(a);if(null===e)return["no-more-tokens"];var t=e.index,n=p()(e,4),r=n[0],o=n[1],s=n[2],i=n[3],c=r.length;return i?["self-closed",s,t,c]:o?["closer",s,t,c]:["opener",s,t,c]}(),n=p()(t,4),i=n[0],c=n[1],u=n[2],d=n[3],v=s.length,g=u>r?r:null;if(!e[c])return h(),!1;switch(i){case"no-more-tokens":if(0!==v){var O=s.pop(),j=O.leadingTextStart,w=O.tokenStart;o.push(a.substr(j,w))}return h(),!1;case"self-closed":return 0===v?(null!==g&&o.push(a.substr(g,u-g)),o.push(e[c]),r=u+d,!0):(y(b(e[c],u,d)),r=u+d,!0);case"opener":return s.push(b(e[c],u,d,u+d,g)),r=u+d,!0;case"closer":if(1===v)return function(e){var t=s.pop(),n=t.element,r=t.leadingTextStart,i=t.prevOffset,c=t.tokenStart,u=t.children,d=e?a.substr(i,e-i):a.substr(i);d&&u.push(d),null!==r&&o.push(a.substr(r,c-r)),o.push(m.cloneElement.apply(void 0,[n,null].concat(l()(u))))}(u),r=u+d,!0;var R=s.pop(),k=a.substr(R.prevOffset,u-R.prevOffset);R.children.push(k),R.prevOffset=u+d;var E=b(R.element,R.tokenStart,R.tokenLength,u+d);return E.children=R.children,y(E),r=u+d,!0;default:return h(),!1}}t.a=function(e,t){if(a=e,r=0,o=[],s=[],f.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(m.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(v(t));return m.createElement.apply(void 0,[m.Fragment,null].concat(l()(o)))}},18:function(e,t){e.exports=window.wp.components},19:function(e,t){e.exports=window.wp.compose},2:function(e,t){e.exports=window.lodash},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2);function r(){return Object(a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},22:function(e,t){e.exports=window.yoast.components},23:function(e,t){e.exports=window.yoast.analysis},24:function(e,t){e.exports=window.yoast.styleGuide},26:function(e,t){e.exports=window.regeneratorRuntime},27:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},n.apply(this,arguments)}e.exports=n},28:function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return r})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var a=n(0),r=Object(a.createContext)("location"),o=r.Provider,s=r.Consumer},3:function(e,t){e.exports=window.wp.i18n},30:function(e,t,n){var a=n(86),r=n(87),o=n(88);e.exports=function(e){return a(e)||r(e)||o()}},32:function(e,t,n){"use strict";var a=n(0),r=n(1),o=n.n(r),s=function(e){var t=e.children;return Object(a.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},34:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},35:function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var a=n(23),r=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:a.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:r.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:r.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:r.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:r.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:r.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var a=0;a<e.length;a++){var r=e[a];if(r.text){var i=o(r,t);n=s(i,n)}}return n}},350:function(e,t,n){"use strict";n.r(t);var a={};n.r(a),n.d(a,"doAjaxRequest",(function(){return T}));var r=n(20),o=n(90),s=n(42),i=n(103),c=n(85),u=n(54),l=n(102),d=n(61),p=n(46),m=n.n(p),f=n(0),b=n(1),h=n.n(b),y=n(35),v=n(51),g=n(114),O=n(50),j=n(81),w=n(175),R=n(82),k=n(40),E=n(28),_=n(53),I=n(32);function T(e,t,n,a){return new Promise((function(r,o){jQuery.ajax({type:e,url:t,beforeSend:n?function(e){e.setRequestHeader("X-WP-Nonce",n)}:null,data:a,dataType:"json",success:r,error:o})}))}var S=n(83),x=n(140),C=n(7),P=n(19),N=n(4),q=Object(P.compose)([Object(N.withSelect)((function(e,t){return{isAlertDismissed:(0,e(t.store||"yoast-seo/editor").isAlertDismissed)(t.alertKey)}})),Object(N.withDispatch)((function(e,t){var n=e(t.store||"yoast-seo/editor").dismissAlert;return{onDismissed:function(){return n(t.alertKey)}}}))])(C.Alert);window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:r.a,getContentLocale:o.a,getIndicatorForScore:s.a,constants:i,refreshAnalysis:c},components:{HelpLink:u.a,TopLevelProviders:l.a,higherorder:{withYoastSidebarPriority:function(e){var t=function(t){t.renderPriority;var n=m()(t,["renderPriority"]);return Object(f.createElement)(e,n)};return t.propTypes={renderPriority:h.a.number},t}},contentAnalysis:{mapResults:y},contexts:{location:E},SidebarItem:I.a,SidebarCollapsible:O.a,MetaboxCollapsible:v.a,Modal:_.a,portals:{ImageSelectPortal:x.a}},containers:{EditorModal:S.a,PersistentDismissableAlert:q,Results:j.a,SEMrushRelatedKeyphrases:g.a},helpers:{ajaxHelper:a,createInterpolateElement:w.a,isBlockEditor:R.a,i18n:d,replacementVariableHelpers:k}}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),r=n(1),o=n.n(r);function s(e){var t=e.target,n=e.children,r=t;return"string"==typeof t&&(r=document.getElementById(t)),r?Object(a.createPortal)(n,r):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},39:function(e,t,n){var a=n(98),r=n(99),o=n(100);e.exports=function(e,t){return a(e)||r(e,t)||o()}},4:function(e,t){e.exports=window.wp.data},40:function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return v})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return R}));var a=n(10),r=n.n(a),o=n(2),s=n(78),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function v(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function g(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var a=g(n),r=a.name,o=a.label,s=a.descriptionName,c=a.descriptionLabel;t.dispatch(Object(i.l)(r,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(l({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var a=v(n),r=a.name,o=a.label;t.dispatch(Object(i.l)(r,e,o))})),Object(o.omit)(l({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var R=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},42:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(3),r=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(a.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(a.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(a.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(a.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(a.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(a.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(a.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(r.interpreters.scoreToRating(e))}},46:function(e,t,n){var a=n(101);e.exports=function(e,t){if(null==e)return{};var n,r,o=a(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},47:function(e,t){function n(e,t,n,a,r,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,r)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(r,o){var s=e.apply(t,a);function i(e){n(s,r,o,i,c,"next",e)}function c(e){n(s,r,o,i,c,"throw",e)}i(void 0)}))}}},5:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},50:function(e,t,n){"use strict";var a=n(39),r=n.n(a),o=n(0),s=n(7),i=n(1),c=n.n(i),u=function(e){var t=Object(o.useState)(!1),n=r()(t,2),a=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(a?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!a)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),a&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},51:function(e,t,n){"use strict";var a,r=n(27),o=n.n(r),s=n(15),i=n.n(s),c=n(0),u=n(7),l=n(12),d=n.n(l)()(u.Collapsible)(a||(a=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,o()({hasPadding:!0,hasSeparator:!0},e))}},52:function(e,t){e.exports=window.wp.url},53:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var a=n(27),r=n.n(a),o=n(46),s=n.n(o),i=n(0),c=n(1),u=n.n(c),l=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,a=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),u=a?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(l.Modal,r()({title:t,className:"".concat(n," ").concat(o),icon:u},c),e.children)};p.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},54:function(e,t,n){"use strict";var a,r=n(15),o=n.n(r),s=n(24),i=n(9),c=n(12),u=n.n(c),l=Object(i.makeOutboundLink)(u.a.a(a||(a=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=l},6:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}e.exports=function(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),e}},61:function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return o})),n.d(t,"setYoastComponentsL10n",(function(){return s})),n.d(t,"setWordPressSeoL10n",(function(){return i}));var a=n(3),r=n(2);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(r.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(a.setLocaleData)({"":{}},e):Object(a.setLocaleData)(n,e)}function s(){o("yoast-components")}function i(){o("wordpress-seo")}},64:function(e,t){e.exports=window.wp.apiFetch},7:function(e,t){e.exports=window.yoast.componentsNew},71:function(e,t,n){"use strict";function a(){}n.d(t,"a",(function(){return a}))},78:function(e,t){e.exports=window.wp.sanitize},79:function(e,t){function n(t,a){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,a)}e.exports=n},8:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},81:function(e,t,n){"use strict";var a=n(4),r=n(19),o=n(5),s=n.n(o),i=n(6),c=n.n(i),u=n(11),l=n.n(u),d=n(13),p=n.n(d),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),v=n(1),g=n.n(v),O=n(94),j=n(23),w=n(35);var R=function(e){p()(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=h()(t);if(n){var r=h()(this).constructor;e=Reflect.construct(a,arguments,r)}else e=a.apply(this,arguments);return f()(this,e)});function r(e){var t;s()(this,r);var n=(t=a.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(r,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,a=e.goodResults,r=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:r,goodResults:a,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),r}(y.Component);R.propTypes={results:g.a.array,marksButtonClassName:g.a.string,marksButtonStatus:g.a.string,setActiveMarker:g.a.func.isRequired,setMarkerPauseStatus:g.a.func.isRequired,activeMarker:g.a.string,keywordKey:g.a.string},R.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=R;t.a=Object(r.compose)([Object(a.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},82:function(e,t,n){"use strict";function a(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return a}))},83:function(e,t,n){"use strict";var a=n(19),r=n(4),o=n(91);t.a=Object(a.compose)([Object(r.withSelect)((function(e,t){var n=e("yoast-seo/editor"),a=n.getPostOrPageString,r=n.getIsModalOpen;return{postTypeName:a(),isOpen:r(t.id)}})),Object(r.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),a=n.openEditorModal;return{open:function(){return a(t.id)},close:n.closeEditorModal}}))])(o.a)},85:function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return i})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var a=n(22),r=n(17),o=n(71),s=!1;function i(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();s&&e.analyze(l).then((function(e){var t=e.result,o=t.seo,s=t.readability;if(o){var d=o[""];d.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),d.results=i(d.results),c.dispatch(Object(a.setSeoResultsForKeyword)(l.getKeyword(),d.results)),c.dispatch(Object(a.setOverallSeoScore)(d.score,l.getKeyword())),c.dispatch(Object(r.h)()),u.saveScores(d.score,l.getKeyword())}s&&(s.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),s.results=i(s.results),c.dispatch(Object(a.setReadabilityResults)(s.results)),c.dispatch(Object(a.setOverallReadabilityScore)(s.score)),c.dispatch(Object(r.h)()),u.saveContentScore(s.score))})).catch(o.a)}function u(){s=!0}},86:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},87:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},88:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},89:function(e,t,n){"use strict";function a(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),a={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(a)})),t}(e).open()}n.d(t,"a",(function(){return a}))},9:function(e,t){e.exports=window.yoast.helpers},90:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),r=n(20);function o(){var e=Object(r.a)();return Object(a.get)(e,"contentLocale","en_US")}},91:function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var a=n(0),r=n(3),o=n(53),s=n(1),i=n.n(s),c=n(7),u=function(e){return Object(a.createElement)("div",{className:"yoast components-panel__body"},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&Object(a.createElement)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},l=u;u.propTypes={onClick:i.a.func.isRequired,title:i.a.string.isRequired,id:i.a.string,subTitle:i.a.string,suffixIcon:i.a.object},u.defaultProps={id:"",suffixIcon:null,subTitle:""};var d=n(28),p=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},m=function(e){var t=e.id,n=e.postTypeName,s=e.children,i=e.title,c=e.isOpen,u=e.close,m=e.open,f=Object(a.useCallback)((function(e){p(e)&&u()}),[u]);return Object(a.createElement)(a.Fragment,null,c&&Object(a.createElement)(d.LocationProvider,{value:"modal"},Object(a.createElement)(o.a,{title:i,onRequestClose:f,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(a.createElement)("div",{className:"yoast-content-container"},Object(a.createElement)("div",{className:"yoast-modal-content"},s)),Object(a.createElement)("div",{className:"yoast-notice-container"},Object(a.createElement)("hr",null),Object(a.createElement)("div",{className:"yoast-button-container"},Object(a.createElement)("p",null,
|
16 |
/* Translators: %s translates to the Post Label in singular form */
|
17 |
Object(r.sprintf)(Object(r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(a.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:f},
|
18 |
/* Translators: %s translates to the Post Label in singular form */
|
19 |
-
Object(r.sprintf)(Object(r.__)("Return to your %s","wordpress-seo"),n)))))),Object(a.createElement)(l,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};m.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired},t.a=m},
|
1 |
+
!function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=351)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},100:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,a=!1,r=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){a=!0,r=e}finally{try{_n||null==s.return||s.return()}finally{if(a)throw r}}return n}}},101:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},102:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,a,r={},o=Object.keys(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}},103:function(e,t,n){"use strict";var a=n(0),r=n(1),o=n.n(r),s=n(12),i=n(28),c=function(e){var t=e.theme,n=e.location,r=e.children;return Object(a.createElement)(i.LocationProvider,{value:n},Object(a.createElement)(s.ThemeProvider,{theme:t},r))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},104:function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return a}));var a=500},11:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},115:function(e,t,n){"use strict";var a=n(4),r=n(19),o=n(0),s=n(3),i=n(1),c=n.n(i),u=n(2),l=n(7),d=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
|
2 |
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
3 |
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},p=n(9),m=Object(p.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
4 |
/* translators: %s : Expands to "Semrush". */
|
12 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
13 |
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},$=function(){return Object(o.createElement)(l.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(l.Alert,{type:"warning"},Object(s.sprintf)(
|
14 |
/* translators: %s: Expands to "Yoast SEO". */
|
15 |
+
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,a=e.keyphrase,r=e.newRequest,i=e.setCountry,c=e.renderAction,l=e.countryCode,p=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,v=e.setRequestLimitReached,g=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!p&&Object(o.createElement)(o.Fragment,null,!g&&Object(o.createElement)(Z,null),g&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(B,{countryCode:l,setCountry:i,newRequest:r,keyphrase:a,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:v,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,a=e.isSuccess,r=e.response,i=e.requestHasData;return t?Object(o.createElement)(d,null):n?Object(o.createElement)(f,null):!a&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(r)?Object(o.createElement)($,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(G,{keyphrase:a,relatedKeyphrases:h,countryCode:l,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,a=t.getSEMrushSelectedCountry,r=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:a(),requestLimitReached:r(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:u()}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,a=t.setSEMrushNewRequest,r=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){a(e,t)},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},12:function(e,t){e.exports=window.yoast.styledComponents},13:function(e,t,n){var a=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}},14:function(e,t,n){var a=n(34),r=n(11);e.exports=function(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?r(e):t}},141:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var a=n(0),r=n(1),o=n.n(r),s=n(5),i=n.n(s),c=n(6),u=n.n(c),l=n(11),d=n.n(l),p=n(13),m=n.n(p),f=n(14),b=n.n(f),h=n(8),y=n.n(h),v=n(7),g=n(9),O=n(90);var j=function(e){m()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=y()(t);if(n){var r=y()(this).constructor;e=Reflect.construct(a,arguments,r)}else e=a.apply(this,arguments);return b()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).hiddenField=document.getElementById(t.props.hiddenField),t.hiddenFieldImageId=document.getElementById(t.props.hiddenFieldImageId),t.state={imageUrl:t.getInitialValue(),imageId:t.getInitialId(),warnings:[]},t.setMyImageUrl=t.setMyImageUrl.bind(d()(t)),t.setMyImageId=t.setMyImageId.bind(d()(t)),t.onClick=t.onClick.bind(d()(t)),t.removeImage=t.removeImage.bind(d()(t)),t.setWarnings=t.setWarnings.bind(d()(t)),t}return u()(o,[{key:"getInitialValue",value:function(){return this.hiddenField.value}},{key:"getInitialId",value:function(){if(null!==this.hiddenFieldImageId)return this.hiddenFieldImageId.value}},{key:"setMyImageUrl",value:function(e){var t=this;this.setState({imageUrl:e},(function(){t.hiddenField.value=e}))}},{key:"setMyImageId",value:function(e){var t=this;this.setState({imageId:e},(function(){t.hiddenFieldImageId.value=e}))}},{key:"onClick",value:function(){var e=this;Object(O.a)((function(t){e.props.hasImageValidation&&e.setWarnings(Object(g.validateFacebookImage)(t)),e.setMyImageUrl(t.url),null!==e.hiddenFieldImageId&&e.setMyImageId(t.id)}))}},{key:"removeImage",value:function(){this.setMyImageUrl(""),null!==this.hiddenFieldImageId&&this.setMyImageId("")}},{key:"setWarnings",value:function(e){this.setState({warnings:e})}},{key:"render",value:function(){return Object(a.createElement)(v.ImageSelect,{label:this.props.label,hasPreview:this.props.hasPreview,imageUrl:this.state.imageUrl,imageId:this.state.imageId,onClick:this.onClick,onRemoveImageClick:this.removeImage,selectImageButtonId:this.props.selectImageButtonId,replaceImageButtonId:this.props.replaceImageButtonId,removeImageButtonId:this.props.removeImageButtonId,hasNewBadge:this.props.hasNewBadge,isDisabled:this.props.isDisabled,hasPremiumBadge:this.props.hasPremiumBadge,warnings:this.state.warnings})}}]),o}(a.Component);j.propTypes={hiddenField:o.a.string.isRequired,hiddenFieldImageId:o.a.string,label:o.a.string,hasPreview:o.a.bool,selectImageButtonId:o.a.string,replaceImageButtonId:o.a.string,removeImageButtonId:o.a.string,hasNewBadge:o.a.bool,isDisabled:o.a.bool,hasPremiumBadge:o.a.bool,hasImageValidation:o.a.bool},j.defaultProps={hiddenFieldImageId:"",label:"",hasPreview:!0,selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1};var w=j,R=n(36);function k(e){var t=e.target,n=e.label,r=e.hasPreview,o=e.hiddenField,s=e.hiddenFieldImageId,i=e.selectImageButtonId,c=e.replaceImageButtonId,u=e.removeImageButtonId,l=e.hasNewBadge,d=e.isDisabled,p=e.hasPremiumBadge,m=e.hasImageValidation;return Object(a.createElement)(R.a,{target:t},Object(a.createElement)(w,{label:n,hasPreview:r,hiddenField:o,hiddenFieldImageId:s,selectImageButtonId:i,replaceImageButtonId:c,removeImageButtonId:u,hasNewBadge:l,isDisabled:d,hasPremiumBadge:p,hasImageValidation:m}))}k.propTypes={target:o.a.string.isRequired,label:o.a.string.isRequired,hasPreview:o.a.bool.isRequired,hiddenField:o.a.string.isRequired,hiddenFieldImageId:o.a.string,selectImageButtonId:o.a.string,replaceImageButtonId:o.a.string,removeImageButtonId:o.a.string,hasNewBadge:o.a.bool,isDisabled:o.a.bool,hasPremiumBadge:o.a.bool,hasImageValidation:o.a.bool},k.defaultProps={hiddenFieldImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1}},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},17:function(e,t,n){"use strict";n.d(t,"d",(function(){return r})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var a=n(9),r="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:r,mode:e}}function p(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r="string"==typeof t?Object(a.decodeHTML)(t):t;return{type:s,name:e,value:r,label:n}}function f(e){return{type:u,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},176:function(e,t,n){"use strict";var a,r,o,s,i=n(34),c=n.n(i),u=n(30),l=n.n(u),d=n(39),p=n.n(d),m=n(0),f=/<(\/)?(\w+)\s*(\/)?>/g;function b(e,t,n,a,r){return{element:e,tokenStart:t,tokenLength:n,prevOffset:a,leadingTextStart:r,children:[]}}function h(){var e=a.length-r;0!==e&&o.push(a.substr(r,e))}function y(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,i=e.children,c=s[s.length-1],u=a.substr(c.prevOffset,n-c.prevOffset);u&&c.children.push(u),c.children.push(m.cloneElement.apply(void 0,[t,null].concat(l()(i)))),c.prevOffset=o||n+r}function v(e){var t=function(){var e=f.exec(a);if(null===e)return["no-more-tokens"];var t=e.index,n=p()(e,4),r=n[0],o=n[1],s=n[2],i=n[3],c=r.length;return i?["self-closed",s,t,c]:o?["closer",s,t,c]:["opener",s,t,c]}(),n=p()(t,4),i=n[0],c=n[1],u=n[2],d=n[3],v=s.length,g=u>r?r:null;if(!e[c])return h(),!1;switch(i){case"no-more-tokens":if(0!==v){var O=s.pop(),j=O.leadingTextStart,w=O.tokenStart;o.push(a.substr(j,w))}return h(),!1;case"self-closed":return 0===v?(null!==g&&o.push(a.substr(g,u-g)),o.push(e[c]),r=u+d,!0):(y(b(e[c],u,d)),r=u+d,!0);case"opener":return s.push(b(e[c],u,d,u+d,g)),r=u+d,!0;case"closer":if(1===v)return function(e){var t=s.pop(),n=t.element,r=t.leadingTextStart,i=t.prevOffset,c=t.tokenStart,u=t.children,d=e?a.substr(i,e-i):a.substr(i);d&&u.push(d),null!==r&&o.push(a.substr(r,c-r)),o.push(m.cloneElement.apply(void 0,[n,null].concat(l()(u))))}(u),r=u+d,!0;var R=s.pop(),k=a.substr(R.prevOffset,u-R.prevOffset);R.children.push(k),R.prevOffset=u+d;var E=b(R.element,R.tokenStart,R.tokenLength,u+d);return E.children=R.children,y(E),r=u+d,!0;default:return h(),!1}}t.a=function(e,t){if(a=e,r=0,o=[],s=[],f.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(m.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(v(t));return m.createElement.apply(void 0,[m.Fragment,null].concat(l()(o)))}},18:function(e,t){e.exports=window.wp.components},19:function(e,t){e.exports=window.wp.compose},2:function(e,t){e.exports=window.lodash},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var a=n(2);function r(){return Object(a.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},22:function(e,t){e.exports=window.yoast.components},23:function(e,t){e.exports=window.yoast.analysis},24:function(e,t){e.exports=window.yoast.styleGuide},26:function(e,t){e.exports=window.regeneratorRuntime},27:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},n.apply(this,arguments)}e.exports=n},28:function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return r})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var a=n(0),r=Object(a.createContext)("location"),o=r.Provider,s=r.Consumer},3:function(e,t){e.exports=window.wp.i18n},30:function(e,t,n){var a=n(87),r=n(88),o=n(89);e.exports=function(e){return a(e)||r(e)||o()}},32:function(e,t,n){"use strict";var a=n(0),r=n(1),o=n.n(r),s=function(e){var t=e.children;return Object(a.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},34:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},35:function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var a=n(23),r=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:a.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:r.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:r.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:r.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:r.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:r.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var a=0;a<e.length;a++){var r=e[a];if(r.text){var i=o(r,t);n=s(i,n)}}return n}},351:function(e,t,n){"use strict";n.r(t);var a={};n.r(a),n.d(a,"doAjaxRequest",(function(){return T}));var r=n(20),o=n(91),s=n(42),i=n(104),c=n(86),u=n(54),l=n(103),d=n(61),p=n(46),m=n.n(p),f=n(0),b=n(1),h=n.n(b),y=n(35),v=n(51),g=n(115),O=n(50),j=n(81),w=n(176),R=n(82),k=n(40),E=n(28),_=n(53),I=n(32);function T(e,t,n,a){return new Promise((function(r,o){jQuery.ajax({type:e,url:t,beforeSend:n?function(e){e.setRequestHeader("X-WP-Nonce",n)}:null,data:a,dataType:"json",success:r,error:o})}))}var S=n(84),x=n(141),C=n(7),P=n(19),N=n(4),q=Object(P.compose)([Object(N.withSelect)((function(e,t){return{isAlertDismissed:(0,e(t.store||"yoast-seo/editor").isAlertDismissed)(t.alertKey)}})),Object(N.withDispatch)((function(e,t){var n=e(t.store||"yoast-seo/editor").dismissAlert;return{onDismissed:function(){return n(t.alertKey)}}}))])(C.Alert);window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:r.a,getContentLocale:o.a,getIndicatorForScore:s.a,constants:i,refreshAnalysis:c},components:{HelpLink:u.a,TopLevelProviders:l.a,higherorder:{withYoastSidebarPriority:function(e){var t=function(t){t.renderPriority;var n=m()(t,["renderPriority"]);return Object(f.createElement)(e,n)};return t.propTypes={renderPriority:h.a.number},t}},contentAnalysis:{mapResults:y},contexts:{location:E},SidebarItem:I.a,SidebarCollapsible:O.a,MetaboxCollapsible:v.a,Modal:_.a,portals:{ImageSelectPortal:x.a}},containers:{EditorModal:S.a,PersistentDismissableAlert:q,Results:j.a,SEMrushRelatedKeyphrases:g.a},helpers:{ajaxHelper:a,createInterpolateElement:w.a,isBlockEditor:R.a,i18n:d,replacementVariableHelpers:k}}},36:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(0),r=n(1),o=n.n(r);function s(e){var t=e.target,n=e.children,r=t;return"string"==typeof t&&(r=document.getElementById(t)),r?Object(a.createPortal)(n,r):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},39:function(e,t,n){var a=n(99),r=n(100),o=n(101);e.exports=function(e,t){return a(e)||r(e,t)||o()}},4:function(e,t){e.exports=window.wp.data},40:function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return v})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return g})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return R}));var a=n(10),r=n.n(a),o=n(2),s=n(78),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){r()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function v(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function g(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var a=g(n),r=a.name,o=a.label,s=a.descriptionName,c=a.descriptionLabel;t.dispatch(Object(i.l)(r,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(l({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var a=v(n),r=a.name,o=a.label;t.dispatch(Object(i.l)(r,e,o))})),Object(o.omit)(l({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var R=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},42:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(3),r=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(a.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(a.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(a.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(a.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(a.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(a.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(a.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(r.interpreters.scoreToRating(e))}},46:function(e,t,n){var a=n(102);e.exports=function(e,t){if(null==e)return{};var n,r,o=a(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},47:function(e,t){function n(e,t,n,a,r,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,r)}e.exports=function(e){return function(){var t=this,a=arguments;return new Promise((function(r,o){var s=e.apply(t,a);function i(e){n(s,r,o,i,c,"next",e)}function c(e){n(s,r,o,i,c,"throw",e)}i(void 0)}))}}},5:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},50:function(e,t,n){"use strict";var a=n(39),r=n.n(a),o=n(0),s=n(7),i=n(1),c=n.n(i),u=function(e){var t=Object(o.useState)(!1),n=r()(t,2),a=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(a?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!a)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),a&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},51:function(e,t,n){"use strict";var a,r=n(27),o=n.n(r),s=n(15),i=n.n(s),c=n(0),u=n(7),l=n(12),d=n.n(l)()(u.Collapsible)(a||(a=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,o()({hasPadding:!0,hasSeparator:!0},e))}},52:function(e,t){e.exports=window.wp.url},53:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var a=n(27),r=n.n(a),o=n(46),s=n.n(o),i=n(0),c=n(1),u=n.n(c),l=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,a=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),u=a?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(l.Modal,r()({title:t,className:"".concat(n," ").concat(o),icon:u},c),e.children)};p.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},54:function(e,t,n){"use strict";var a,r=n(15),o=n.n(r),s=n(24),i=n(9),c=n(12),u=n.n(c),l=Object(i.makeOutboundLink)(u.a.a(a||(a=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=l},6:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}e.exports=function(e,t,a){return t&&n(e.prototype,t),a&&n(e,a),e}},61:function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return o})),n.d(t,"setYoastComponentsL10n",(function(){return s})),n.d(t,"setWordPressSeoL10n",(function(){return i}));var a=n(3),r=n(2);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(r.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(a.setLocaleData)({"":{}},e):Object(a.setLocaleData)(n,e)}function s(){o("yoast-components")}function i(){o("wordpress-seo")}},64:function(e,t){e.exports=window.wp.apiFetch},7:function(e,t){e.exports=window.yoast.componentsNew},71:function(e,t,n){"use strict";function a(){}n.d(t,"a",(function(){return a}))},78:function(e,t){e.exports=window.wp.sanitize},79:function(e,t){function n(t,a){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,a)}e.exports=n},8:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},81:function(e,t,n){"use strict";var a=n(4),r=n(19),o=n(5),s=n.n(o),i=n(6),c=n.n(i),u=n(11),l=n.n(u),d=n(13),p=n.n(d),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),v=n(1),g=n.n(v),O=n(95),j=n(23),w=n(35);var R=function(e){p()(r,e);var t,n,a=(t=r,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=h()(t);if(n){var r=h()(this).constructor;e=Reflect.construct(a,arguments,r)}else e=a.apply(this,arguments);return f()(this,e)});function r(e){var t;s()(this,r);var n=(t=a.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(r,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,a=e.goodResults,r=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:r,goodResults:a,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),r}(y.Component);R.propTypes={results:g.a.array,marksButtonClassName:g.a.string,marksButtonStatus:g.a.string,setActiveMarker:g.a.func.isRequired,setMarkerPauseStatus:g.a.func.isRequired,activeMarker:g.a.string,keywordKey:g.a.string},R.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=R;t.a=Object(r.compose)([Object(a.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},82:function(e,t,n){"use strict";function a(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return a}))},84:function(e,t,n){"use strict";var a=n(19),r=n(4),o=n(92);t.a=Object(a.compose)([Object(r.withSelect)((function(e,t){var n=e("yoast-seo/editor"),a=n.getPostOrPageString,r=n.getIsModalOpen;return{postTypeName:a(),isOpen:r(t.id)}})),Object(r.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),a=n.openEditorModal;return{open:function(){return a(t.id)},close:n.closeEditorModal}}))])(o.a)},86:function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return i})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var a=n(22),r=n(17),o=n(71),s=!1;function i(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();s&&e.analyze(l).then((function(e){var t=e.result,o=t.seo,s=t.readability;if(o){var d=o[""];d.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),d.results=i(d.results),c.dispatch(Object(a.setSeoResultsForKeyword)(l.getKeyword(),d.results)),c.dispatch(Object(a.setOverallSeoScore)(d.score,l.getKeyword())),c.dispatch(Object(r.h)()),u.saveScores(d.score,l.getKeyword())}s&&(s.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),s.results=i(s.results),c.dispatch(Object(a.setReadabilityResults)(s.results)),c.dispatch(Object(a.setOverallReadabilityScore)(s.score)),c.dispatch(Object(r.h)()),u.saveContentScore(s.score))})).catch(o.a)}function u(){s=!0}},87:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},88:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},89:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},9:function(e,t){e.exports=window.yoast.helpers},90:function(e,t,n){"use strict";function a(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),a={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(a)})),t}(e).open()}n.d(t,"a",(function(){return a}))},91:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(2),r=n(20);function o(){var e=Object(r.a)();return Object(a.get)(e,"contentLocale","en_US")}},92:function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var a=n(0),r=n(3),o=n(53),s=n(1),i=n.n(s),c=n(7),u=function(e){return Object(a.createElement)("div",{className:"yoast components-panel__body"},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&Object(a.createElement)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},l=u;u.propTypes={onClick:i.a.func.isRequired,title:i.a.string.isRequired,id:i.a.string,subTitle:i.a.string,suffixIcon:i.a.object},u.defaultProps={id:"",suffixIcon:null,subTitle:""};var d=n(28),p=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},m=function(e){var t=e.id,n=e.postTypeName,s=e.children,i=e.title,c=e.isOpen,u=e.close,m=e.open,f=Object(a.useCallback)((function(e){p(e)&&u()}),[u]);return Object(a.createElement)(a.Fragment,null,c&&Object(a.createElement)(d.LocationProvider,{value:"modal"},Object(a.createElement)(o.a,{title:i,onRequestClose:f,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(a.createElement)("div",{className:"yoast-content-container"},Object(a.createElement)("div",{className:"yoast-modal-content"},s)),Object(a.createElement)("div",{className:"yoast-notice-container"},Object(a.createElement)("hr",null),Object(a.createElement)("div",{className:"yoast-button-container"},Object(a.createElement)("p",null,
|
16 |
/* Translators: %s translates to the Post Label in singular form */
|
17 |
Object(r.sprintf)(Object(r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(a.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:f},
|
18 |
/* Translators: %s translates to the Post Label in singular form */
|
19 |
+
Object(r.sprintf)(Object(r.__)("Return to your %s","wordpress-seo"),n)))))),Object(a.createElement)(l,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};m.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired},t.a=m},95:function(e,t){e.exports=window.yoast.analysisReport},99:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}}});
|
js/dist/{elementor-1650.js → elementor-1660.js}
RENAMED
@@ -1,34 +1,34 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=343)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return b}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:u,wordsToHighlight:e}}function g(e){return{type:s,name:e}}function b(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return g})),n.d(t,"setEditorDataContent",(function(){return b})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return h})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return w})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return S.a})),n.d(t,"setMarkerStatus",(function(){return S.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return k.a})),n.d(t,"setMarkerPauseStatus",(function(){return k.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return x})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return C})),n.d(t,"setSEMrushDismissModal",(function(){return I})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return Y})),n.d(t,"setOverallSeoScore",(function(){return H})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(73),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",g="SET_EDITOR_DATA_IMAGE_URL";function b(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function h(e){return{type:m,excerpt:e}}function O(e){return{type:g,imageUrl:e}}var w="OPEN_MODAL",v="CLOSE_MODAL";function j(e){return{type:w,modalKey:e}}function E(){return{type:v}}var _=n(67),T=n(60),S=n(45),k=n(74),R=n(69),P=n(75),D=n(56),x="MODAL_DISMISS",A="MODAL_OPEN",C="MODAL_OPEN_NO_KEYPHRASE";function I(){return{type:x}}function M(e){return{type:A,location:e}}function N(){return{type:C}}var L=n(41),F=n(43),q=n(76),B=n(17),U=n(48),K=n(49),V=n(77),Y=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},H=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(86),o=n(87),a=n(88);e.exports=function(e){return r(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(2),o={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,o)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(129)),i=s(n(132));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,d,p,f,m,g=[],b={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],u=p;break}g.push(n[d.value])}else g.push(d.value);return i&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),s=o.default.cloneElement(i,{},f),g.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),g=g.concat(m))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(98),o=n(99),a=n(100);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return g})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return h})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return v})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=n(78),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function g(e){return c(e=m(e))}function b(e,t){return e.push({name:t.name,label:t.label||g(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(l({},e),"custom_taxonomies")):e}function v(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=h(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return b}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function g(){return{type:c}}function b(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},g=function(e){return s.noFollow=e,{type:u,value:e}},b=function(e){return s.advanced=e.join(","),{type:l,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},h=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(101);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(7),s=n(1),c=n.n(s),u=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),u=n(7),l=n(12),d=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),u=n.n(c),l=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(l.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:u},c),e.children)};p.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},u=function(e){return r.a.articleType=e,{type:a,articleType:e}},l=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return i})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),o=n(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function i(){a("yoast-components")}function s(){a("wordpress-seo")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return S}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),u=n(5),l=n.n(u),d=n(6),p=n.n(d),f=n(11),m=n.n(f),g=n(13),b=n.n(g),y=n(14),h=n.n(y),O=n(8),w=n.n(O),v=n(0),j=n(1),E=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(r);if(a){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(v.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(v.Component)}}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"contentAnalysisActive",0)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),u=n(7),l=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(u.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(l.getDirectionalStyle)("right","left"),Object(l.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return o})),n.d(t,"getNoFollow",(function(){return a})),n.d(t,"getAdvanced",(function(){return i})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return Y})),n.d(t,"getDescription",(function(){return H})),n.d(t,"getPermalink",(function(){return W})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return z})),n.d(t,"isCornerstoneContent",(function(){return $})),n.d(t,"getEditorContext",(function(){return d})),n.d(t,"getPostOrPageString",(function(){return p})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return m})),n.d(t,"getEditorType",(function(){return g})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return w})),n.d(t,"getEditorDataExcerpt",(function(){return v})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return j})),n.d(t,"getEditorDataImageUrl",(function(){return E})),n.d(t,"getEditorDataImageFallback",(function(){return _})),n.d(t,"getIsModalOpen",(function(){return Q})),n.d(t,"getEstimatedReadingTime",(function(){return Z})),n.d(t,"getFacebookTitle",(function(){return X})),n.d(t,"getFacebookDescription",(function(){return J})),n.d(t,"getFacebookImageUrl",(function(){return ee})),n.d(t,"getFacebookImageSrc",(function(){return te})),n.d(t,"getFacebookWarnings",(function(){return ne})),n.d(t,"getContentImage",(function(){return re})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return ie})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return se})),n.d(t,"getSocialTitleTemplate",(function(){return ce})),n.d(t,"getSeoDescriptionTemplate",(function(){return ue})),n.d(t,"getSocialDescriptionTemplate",(function(){return le})),n.d(t,"getReplacedExcerpt",(function(){return de})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return pe})),n.d(t,"getMarkerPauseStatus",(function(){return fe})),n.d(t,"isMarkingAvailable",(function(){return me})),n.d(t,"getMarksButtonStatus",(function(){return ge})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return he})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return je})),n.d(t,"getResultsForKeyword",(function(){return Ee})),n.d(t,"getReadabilityResults",(function(){return _e})),n.d(t,"getResultsForFocusKeyword",(function(){return Te})),n.d(t,"getResultById",(function(){return Se})),n.d(t,"getMarkButtonStatus",(function(){return ke})),n.d(t,"getDefaultPageType",(function(){return Re})),n.d(t,"getPageType",(function(){return Pe})),n.d(t,"getDefaultArticleType",(function(){return De})),n.d(t,"getArticleType",(function(){return xe})),n.d(t,"getSEMrushModalOpen",(function(){return Ae})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Ce})),n.d(t,"getSEMrushIsRequestPending",(function(){return Ie})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Me})),n.d(t,"getSEMrushRequestResponse",(function(){return Ne})),n.d(t,"getSEMrushRequestLimitReached",(function(){return Le})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Fe})),n.d(t,"getSEMrushSelectedCountry",(function(){return qe})),n.d(t,"getSEMrushRequestHasData",(function(){return Be})),n.d(t,"getSEMrushLoginStatus",(function(){return Ue})),n.d(t,"getAuthorName",(function(){return S})),n.d(t,"getSiteName",(function(){return k})),n.d(t,"getBaseUrlFromSettings",(function(){return R})),n.d(t,"getDateFromSettings",(function(){return P})),n.d(t,"getRecommendedReplaceVars",(function(){return D})),n.d(t,"getSiteIconUrlFromSettings",(function(){return x})),n.d(t,"getShoppingData",(function(){return Ke})),n.d(t,"getReplaceVars",(function(){return A})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return I})),n.d(t,"getSnippetEditorTitle",(function(){return M})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return N})),n.d(t,"getSnippetEditorDescription",(function(){return L})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return q})),n.d(t,"getSnippetEditorData",(function(){return B})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return U})),n.d(t,"getSnippetEditorIsLoading",(function(){return K})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return V})),n.d(t,"getTwitterTitle",(function(){return Ve})),n.d(t,"getTwitterDescription",(function(){return Ye})),n.d(t,"getTwitterImageUrl",(function(){return He})),n.d(t,"getTwitterImageType",(function(){return We})),n.d(t,"getTwitterImageSrc",(function(){return Ge})),n.d(t,"getTwitterWarnings",(function(){return ze})),n.d(t,"getWarningMessage",(function(){return $e}));var r=n(2),o=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},a=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},i=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(70);function d(e){return e.editorContext}function p(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function m(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function g(e){return m(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(63),h=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},w=function(e){return Object(r.get)(e,"editorData.title","")},v=function(e){return Object(r.get)(e,"editorData.excerpt")},j=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(h.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},E=function(e){return Object(r.get)(e,"editorData.imageUrl","")},_=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""};function T(e){return e.focusKeyword}var S=function(e){return Object(r.get)(e,"settings.socialPreviews.authorName","")},k=function(e){return Object(r.get)(e,"settings.socialPreviews.siteName","")},R=function(e){return Object(r.get)(e,"settings.snippetEditor.baseUrl","")},P=function(e){return Object(r.get)(e,"settings.snippetEditor.date","")},D=function(e){return Object(r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},x=function(e){return Object(r.get)(e,"settings.snippetEditor.siteIconUrl","")},A=function(e){return Object(r.get)(e,"snippetEditor.replacementVariables",[])},C=function(e){return Object(r.get)(e,"snippetEditor.templates",{title:"",description:""})},I=function(e){return Object(r.get)(e,"snippetEditor.mode","mobile")},M=function(e){return Object(r.get)(e,"snippetEditor.data.title","")},N=function(e){return Object(r.get)(e,"snippetEditor.data.title","")||C(e).title},L=function(e){return Object(r.get)(e,"snippetEditor.data.description","")},F=function(e){return L(e)||C(e).description},q=function(e){return Object(r.get)(e,"snippetEditor.data.slug","")},B=function(e){return Object(r.get)(e,"snippetEditor.data",{title:M(e),description:L(e),slug:q(e)})},U=function(e){return Object(r.get)(e,"snippetEditor.wordsToHighlight",[])},K=function(e){return Object(r.get)(e,"snippetEditor.isLoading",!0)},V=function(e){return Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},Y=function(e){return Object(r.get)(e,"analysisData.snippet.title","")},H=function(e){return Object(r.get)(e,"analysisData.snippet.description","")},W=function(e){return Object(r.get)(e,"analysisData.snippet.url","")},G=function(e){return parseInt(Object(r.get)(e,"analysisData.timestamp",0),10)},z=function(e){var t=Y(e)||M(e),n=q(e);return{text:O(e),title:t,keyword:T(e),description:H(e)||L(e),locale:b(e),titleWidth:Object(l.a)(t),url:n,permalink:R(e)+n}};function $(e){return e.isCornerstone}var Q=function(e,t){return Object(r.get)(e,"editorModals.openedModal","")===t};function Z(e){return Object(r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0}var X=function(e){return Object(r.get)(e,"facebookEditor.title","")},J=function(e){return Object(r.get)(e,"facebookEditor.description","")},ee=function(e){return Object(r.get)(e,"facebookEditor.image.url")},te=function(e){return Object(r.get)(e,"facebookEditor.image.src","")},ne=function(e){return Object(r.get)(e,"facebookEditor.warnings",[])},re=function(e){return Object(r.get)(e,"socialPreviews.contentImage","")},oe=function(e){var t=[{featuredImage:Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:Object(r.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""},ae=function(){var e=Object(r.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e)).host},ie=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template","")},se=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template_no_fallback","")},ce=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_title_template","")},ue=function(){return Object(r.get)(window,"wpseoScriptData.metabox.metadesc_template","")},le=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_description_template","")},de=function(e){var t="";return Object(r.get)(e,"snippetEditor.replacementVariables",[]).forEach((function(e){"excerpt"===e.name&&(t=e.value)})),t};function pe(e){return e.activeMarker}function fe(e){return e.isMarkerPaused}function me(e){return"enabled"===e.marksButtonStatus}function ge(e){return e.marksButtonStatus}function be(e,t){return!0===e.dismissedAlerts[t]}function ye(e){return e.preferences}function he(e){return Object(r.get)(e,"preferences.isKeywordAnalysisActive",!1)}function Oe(e,t){return e.primaryTaxonomies[t]}var we=n(30),ve=n.n(we);function je(e){var t=Object(r.get)(e,"analysis.seo",{});return Object(r.isEmpty)(t)?{results:[],overallScore:null}:t}function Ee(e,t){var n=je(e);return Object(r.get)(n,t,{})}function _e(e){var t=Object(r.get)(e,"analysis.readability",{});return Object(r.isEmpty)(t)?{results:[],overallScore:null}:t}function Te(e){return Ee(e,e.focusKeyword)}function Se(e,t){var n=Te(e).results||[],r=_e(e).results||[];return[].concat(ve()(n),ve()(r)).find((function(e){return e._identifier===t}))}function ke(e){return e.marksButtonStatus}var Re=function(e){return Object(r.get)(e,"schemaTab.defaultPageType","")},Pe=function(e){return Object(r.get)(e,"schemaTab.pageType","")},De=function(e){return Object(r.get)(e,"schemaTab.defaultArticleType","")},xe=function(e){return Object(r.get)(e,"schemaTab.articleType","")};function Ae(e){return e.SEMrushModal.whichModalOpen}function Ce(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ie(e){return e.SEMrushRequest.isRequestPending}function Me(e){return e.SEMrushRequest.isSuccess}function Ne(e){return e.SEMrushRequest.response}function Le(e){return e.SEMrushRequest.limitReached}function Fe(e){return e.SEMrushRequest.keyphrase}function qe(e){return e.SEMrushRequest.countryCode}function Be(e){return e.SEMrushRequest.hasData}function Ue(e){return e.SEMrushRequest.isLoggedIn}var Ke=function(e){return Object(r.get)(e,"shoppingData",{})},Ve=function(e){return Object(r.get)(e,"twitterEditor.title","")},Ye=function(e){return Object(r.get)(e,"twitterEditor.description","")},He=function(e){return Object(r.get)(e,"twitterEditor.image.url","")},We=function(e){return Object(r.get)(e,"settings.socialPreviews.twitterCardType","summary")},Ge=function(e){return Object(r.get)(e,"twitterEditor.image.src","")},ze=function(e){return Object(r.get)(e,"twitterEditor.warnings",[])};function $e(e){return Object(r.get)(e,"warning.message",[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(6),c=n.n(s),u=n(11),l=n.n(u),d=n(13),p=n.n(d),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(1),O=n.n(h),w=n(94),v=n(23),j=n(35);var E=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new v.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);E.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=E;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(91);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),u=n(11),l=n.n(u),d=n(13),p=n.n(d),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(3),O=n(7),w=n(1),v=n.n(w),j=n(62);var E=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(h.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(h.__)("Learn more about the schema settings","wordpress-seo"),description:Object(h.sprintf)(
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=344)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(79);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return b}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:o,mode:e}}function d(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:u,wordsToHighlight:e}}function g(e){return{type:s,name:e}}function b(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return p.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return p.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return p.b})),n.d(t,"loadCornerstoneContent",(function(){return p.d})),n.d(t,"setCornerstoneContent",(function(){return p.e})),n.d(t,"toggleCornerstoneContent",(function(){return p.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return d})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return g})),n.d(t,"setEditorDataContent",(function(){return b})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return h})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return w})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return S.a})),n.d(t,"setMarkerStatus",(function(){return S.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return R.a})),n.d(t,"setMarkerPauseStatus",(function(){return R.b})),n.d(t,"DISMISS_ALERT",(function(){return k.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return k.b})),n.d(t,"dismissAlert",(function(){return k.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return x})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return C})),n.d(t,"setSEMrushDismissModal",(function(){return I})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return Y})),n.d(t,"setOverallSeoScore",(function(){return H})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(73),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var p=n(59),d="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",g="SET_EDITOR_DATA_IMAGE_URL";function b(e){return{type:d,content:e}}function y(e){return{type:f,title:e}}function h(e){return{type:m,excerpt:e}}function O(e){return{type:g,imageUrl:e}}var w="OPEN_MODAL",v="CLOSE_MODAL";function j(e){return{type:w,modalKey:e}}function E(){return{type:v}}var _=n(67),T=n(60),S=n(45),R=n(74),k=n(69),P=n(75),D=n(56),x="MODAL_DISMISS",A="MODAL_OPEN",C="MODAL_OPEN_NO_KEYPHRASE";function I(){return{type:x}}function M(e){return{type:A,location:e}}function N(){return{type:C}}var L=n(41),F=n(43),q=n(76),B=n(17),U=n(48),K=n(49),V=n(77),Y=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},H=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(2),o={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,o)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,p,d,f,m,g=[],b={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){i=n[p.value],u=d;break}g.push(n[p.value])}else g.push(p.value);return i&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),s=o.default.cloneElement(i,{},f),g.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),g=g.concat(m))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return g})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return h})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return v})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=n(78),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function g(e){return c(e=m(e))}function b(e,t){return e.push({name:t.name,label:t.label||g(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(l({},e),"custom_taxonomies")):e}function v(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=h(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return b}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function p(e){return{type:o,response:e}}function d(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function g(){return{type:c}}function b(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",p="SET_BREADCRUMBS_TITLE",d="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},g=function(e){return s.noFollow=e,{type:u,value:e}},b=function(e){return s.advanced=e.join(","),{type:l,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:p,value:e}},h=function(e){return s.canonical=e,{type:d,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",p="SET_TWITTER_IMAGE",d="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:p,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:d}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(6),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",p="SET_FACEBOOK_IMAGE",d="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:p,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:d}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(7),s=n(1),c=n.n(s),u=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),u=n(7),l=n(12),p=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),u=n.n(c),l=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(l.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:u},c),e.children)};d.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return p}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},u=function(e){return r.a.articleType=e,{type:a,articleType:e}},l=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},p=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return i})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),o=n(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function i(){a("yoast-components")}function s(){a("wordpress-seo")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return S}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),u=n(5),l=n.n(u),p=n(6),d=n.n(p),f=n(11),m=n.n(f),g=n(13),b=n.n(g),y=n(14),h=n.n(y),O=n(8),w=n.n(O),v=n(0),j=n(1),E=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(r);if(a){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return d()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(v.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(v.Component)}}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"contentAnalysisActive",0)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return p}));var r=n(5),o=n.n(r),a=n(6),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function p(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),u=n(7),l=n(9),p=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(u.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(l.getDirectionalStyle)("right","left"),Object(l.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return o})),n.d(t,"getNoFollow",(function(){return a})),n.d(t,"getAdvanced",(function(){return i})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return Y})),n.d(t,"getDescription",(function(){return H})),n.d(t,"getPermalink",(function(){return W})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return z})),n.d(t,"isCornerstoneContent",(function(){return $})),n.d(t,"getEditorContext",(function(){return p})),n.d(t,"getPostOrPageString",(function(){return d})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return m})),n.d(t,"getEditorType",(function(){return g})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return w})),n.d(t,"getEditorDataExcerpt",(function(){return v})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return j})),n.d(t,"getEditorDataImageUrl",(function(){return E})),n.d(t,"getEditorDataImageFallback",(function(){return _})),n.d(t,"getIsModalOpen",(function(){return Q})),n.d(t,"getEstimatedReadingTime",(function(){return Z})),n.d(t,"getFacebookTitle",(function(){return X})),n.d(t,"getFacebookDescription",(function(){return J})),n.d(t,"getFacebookImageUrl",(function(){return ee})),n.d(t,"getFacebookImageSrc",(function(){return te})),n.d(t,"getFacebookWarnings",(function(){return ne})),n.d(t,"getContentImage",(function(){return re})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return ie})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return se})),n.d(t,"getSocialTitleTemplate",(function(){return ce})),n.d(t,"getSeoDescriptionTemplate",(function(){return ue})),n.d(t,"getSocialDescriptionTemplate",(function(){return le})),n.d(t,"getReplacedExcerpt",(function(){return pe})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return de})),n.d(t,"getMarkerPauseStatus",(function(){return fe})),n.d(t,"isMarkingAvailable",(function(){return me})),n.d(t,"getMarksButtonStatus",(function(){return ge})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return he})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return je})),n.d(t,"getResultsForKeyword",(function(){return Ee})),n.d(t,"getReadabilityResults",(function(){return _e})),n.d(t,"getResultsForFocusKeyword",(function(){return Te})),n.d(t,"getResultById",(function(){return Se})),n.d(t,"getMarkButtonStatus",(function(){return Re})),n.d(t,"getDefaultPageType",(function(){return ke})),n.d(t,"getPageType",(function(){return Pe})),n.d(t,"getDefaultArticleType",(function(){return De})),n.d(t,"getArticleType",(function(){return xe})),n.d(t,"getSEMrushModalOpen",(function(){return Ae})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Ce})),n.d(t,"getSEMrushIsRequestPending",(function(){return Ie})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Me})),n.d(t,"getSEMrushRequestResponse",(function(){return Ne})),n.d(t,"getSEMrushRequestLimitReached",(function(){return Le})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Fe})),n.d(t,"getSEMrushSelectedCountry",(function(){return qe})),n.d(t,"getSEMrushRequestHasData",(function(){return Be})),n.d(t,"getSEMrushLoginStatus",(function(){return Ue})),n.d(t,"getAuthorName",(function(){return S})),n.d(t,"getSiteName",(function(){return R})),n.d(t,"getBaseUrlFromSettings",(function(){return k})),n.d(t,"getDateFromSettings",(function(){return P})),n.d(t,"getRecommendedReplaceVars",(function(){return D})),n.d(t,"getSiteIconUrlFromSettings",(function(){return x})),n.d(t,"getShoppingData",(function(){return Ke})),n.d(t,"getReplaceVars",(function(){return A})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return I})),n.d(t,"getSnippetEditorTitle",(function(){return M})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return N})),n.d(t,"getSnippetEditorDescription",(function(){return L})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return q})),n.d(t,"getSnippetEditorData",(function(){return B})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return U})),n.d(t,"getSnippetEditorIsLoading",(function(){return K})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return V})),n.d(t,"getTwitterTitle",(function(){return Ve})),n.d(t,"getTwitterDescription",(function(){return Ye})),n.d(t,"getTwitterImageUrl",(function(){return He})),n.d(t,"getTwitterImageType",(function(){return We})),n.d(t,"getTwitterImageSrc",(function(){return Ge})),n.d(t,"getTwitterWarnings",(function(){return ze})),n.d(t,"getWarningMessage",(function(){return $e}));var r=n(2),o=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},a=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},i=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(70);function p(e){return e.editorContext}function d(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function m(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function g(e){return m(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(63),h=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},w=function(e){return Object(r.get)(e,"editorData.title","")},v=function(e){return Object(r.get)(e,"editorData.excerpt")},j=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(h.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},E=function(e){return Object(r.get)(e,"editorData.imageUrl","")},_=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""};function T(e){return e.focusKeyword}var S=function(e){return Object(r.get)(e,"settings.socialPreviews.authorName","")},R=function(e){return Object(r.get)(e,"settings.socialPreviews.siteName","")},k=function(e){return Object(r.get)(e,"settings.snippetEditor.baseUrl","")},P=function(e){return Object(r.get)(e,"settings.snippetEditor.date","")},D=function(e){return Object(r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},x=function(e){return Object(r.get)(e,"settings.snippetEditor.siteIconUrl","")},A=function(e){return Object(r.get)(e,"snippetEditor.replacementVariables",[])},C=function(e){return Object(r.get)(e,"snippetEditor.templates",{title:"",description:""})},I=function(e){return Object(r.get)(e,"snippetEditor.mode","mobile")},M=function(e){return Object(r.get)(e,"snippetEditor.data.title","")},N=function(e){return Object(r.get)(e,"snippetEditor.data.title","")||C(e).title},L=function(e){return Object(r.get)(e,"snippetEditor.data.description","")},F=function(e){return L(e)||C(e).description},q=function(e){return Object(r.get)(e,"snippetEditor.data.slug","")},B=function(e){return Object(r.get)(e,"snippetEditor.data",{title:M(e),description:L(e),slug:q(e)})},U=function(e){return Object(r.get)(e,"snippetEditor.wordsToHighlight",[])},K=function(e){return Object(r.get)(e,"snippetEditor.isLoading",!0)},V=function(e){return Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},Y=function(e){return Object(r.get)(e,"analysisData.snippet.title","")},H=function(e){return Object(r.get)(e,"analysisData.snippet.description","")},W=function(e){return Object(r.get)(e,"analysisData.snippet.url","")},G=function(e){return parseInt(Object(r.get)(e,"analysisData.timestamp",0),10)},z=function(e){var t=Y(e)||M(e),n=q(e);return{text:O(e),title:t,keyword:T(e),description:H(e)||L(e),locale:b(e),titleWidth:Object(l.a)(t),url:n,permalink:k(e)+n}};function $(e){return e.isCornerstone}var Q=function(e,t){return Object(r.get)(e,"editorModals.openedModal","")===t};function Z(e){return Object(r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0}var X=function(e){return Object(r.get)(e,"facebookEditor.title","")},J=function(e){return Object(r.get)(e,"facebookEditor.description","")},ee=function(e){return Object(r.get)(e,"facebookEditor.image.url")},te=function(e){return Object(r.get)(e,"facebookEditor.image.src","")},ne=function(e){return Object(r.get)(e,"facebookEditor.warnings",[])},re=function(e){return Object(r.get)(e,"socialPreviews.contentImage","")},oe=function(e){var t=[{featuredImage:Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:Object(r.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""},ae=function(){var e=Object(r.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e)).host},ie=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template","")},se=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template_no_fallback","")},ce=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_title_template","")},ue=function(){return Object(r.get)(window,"wpseoScriptData.metabox.metadesc_template","")},le=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_description_template","")},pe=function(e){var t="";return Object(r.get)(e,"snippetEditor.replacementVariables",[]).forEach((function(e){"excerpt"===e.name&&(t=e.value)})),t};function de(e){return e.activeMarker}function fe(e){return e.isMarkerPaused}function me(e){return"enabled"===e.marksButtonStatus}function ge(e){return e.marksButtonStatus}function be(e,t){return!0===e.dismissedAlerts[t]}function ye(e){return e.preferences}function he(e){return Object(r.get)(e,"preferences.isKeywordAnalysisActive",!1)}function Oe(e,t){return e.primaryTaxonomies[t]}var we=n(30),ve=n.n(we);function je(e){var t=Object(r.get)(e,"analysis.seo",{});return Object(r.isEmpty)(t)?{results:[],overallScore:null}:t}function Ee(e,t){var n=je(e);return Object(r.get)(n,t,{})}function _e(e){var t=Object(r.get)(e,"analysis.readability",{});return Object(r.isEmpty)(t)?{results:[],overallScore:null}:t}function Te(e){return Ee(e,e.focusKeyword)}function Se(e,t){var n=Te(e).results||[],r=_e(e).results||[];return[].concat(ve()(n),ve()(r)).find((function(e){return e._identifier===t}))}function Re(e){return e.marksButtonStatus}var ke=function(e){return Object(r.get)(e,"schemaTab.defaultPageType","")},Pe=function(e){return Object(r.get)(e,"schemaTab.pageType","")},De=function(e){return Object(r.get)(e,"schemaTab.defaultArticleType","")},xe=function(e){return Object(r.get)(e,"schemaTab.articleType","")};function Ae(e){return e.SEMrushModal.whichModalOpen}function Ce(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ie(e){return e.SEMrushRequest.isRequestPending}function Me(e){return e.SEMrushRequest.isSuccess}function Ne(e){return e.SEMrushRequest.response}function Le(e){return e.SEMrushRequest.limitReached}function Fe(e){return e.SEMrushRequest.keyphrase}function qe(e){return e.SEMrushRequest.countryCode}function Be(e){return e.SEMrushRequest.hasData}function Ue(e){return e.SEMrushRequest.isLoggedIn}var Ke=function(e){return Object(r.get)(e,"shoppingData",{})},Ve=function(e){return Object(r.get)(e,"twitterEditor.title","")},Ye=function(e){return Object(r.get)(e,"twitterEditor.description","")},He=function(e){return Object(r.get)(e,"twitterEditor.image.url","")},We=function(e){return Object(r.get)(e,"settings.socialPreviews.twitterCardType","summary")},Ge=function(e){return Object(r.get)(e,"twitterEditor.image.src","")},ze=function(e){return Object(r.get)(e,"twitterEditor.warnings",[])};function $e(e){return Object(r.get)(e,"warning.message",[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(6),c=n.n(s),u=n(11),l=n.n(u),p=n(13),d=n.n(p),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(1),O=n.n(h),w=n(95),v=n(23),j=n(35);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new v.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);E.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=E;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(6),c=n.n(s),u=n(11),l=n.n(u),p=n(13),d=n.n(p),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(3),O=n(7),w=n(1),v=n.n(w),j=n(62);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus
|