Version Description
Release Date: August 31st, 2022
Other:
- Fixes compliance with the wordpress.org plugin guidelines.
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 19.6.1 |
Comparing to | |
See all releases |
Code changes from version 19.6 to 19.6.1
- admin/class-admin-asset-manager.php +1 -0
- admin/class-admin-init.php +0 -18
- admin/class-admin-user-profile.php +0 -1
- admin/class-expose-shortlinks.php +0 -1
- admin/class-inclusive-language-notice.php +0 -142
- admin/formatter/class-metabox-formatter.php +4 -36
- admin/formatter/class-post-metabox-formatter.php +29 -35
- admin/formatter/class-term-metabox-formatter.php +22 -7
- admin/metabox/class-metabox.php +3 -18
- admin/taxonomy/class-taxonomy-fields.php +0 -7
- admin/taxonomy/class-taxonomy-metabox.php +52 -14
- admin/taxonomy/class-taxonomy.php +2 -14
- admin/views/class-yoast-feature-toggles.php +1 -1
- admin/views/tabs/dashboard/features.php +9 -8
- admin/views/user-profile.php +1 -11
- css/dist/{admin-global-1960-rtl.css → admin-global-1961-rtl.css} +0 -0
- css/dist/{admin-global-1960.css → admin-global-1961.css} +0 -0
- css/dist/{adminbar-1960-rtl.css → adminbar-1961-rtl.css} +0 -0
- css/dist/{adminbar-1960.css → adminbar-1961.css} +0 -0
- css/dist/{alerts-1960-rtl.css → alerts-1961-rtl.css} +0 -0
- css/dist/{alerts-1960.css → alerts-1961.css} +0 -0
- css/dist/{dashboard-1960-rtl.css → dashboard-1961-rtl.css} +0 -0
- css/dist/{dashboard-1960.css → dashboard-1961.css} +0 -0
- css/dist/{edit-page-1960-rtl.css → edit-page-1961-rtl.css} +0 -0
- css/dist/{edit-page-1960.css → edit-page-1961.css} +0 -0
- css/dist/{elementor-1960-rtl.css → elementor-1961-rtl.css} +0 -0
- css/dist/{elementor-1960.css → elementor-1961.css} +0 -0
- css/dist/{featured-image-1960-rtl.css → featured-image-1961-rtl.css} +0 -0
- css/dist/{featured-image-1960.css → featured-image-1961.css} +0 -0
- css/dist/{filter-explanation-1960-rtl.css → filter-explanation-1961-rtl.css} +0 -0
- css/dist/{filter-explanation-1960.css → filter-explanation-1961.css} +0 -0
- css/dist/{icons-1960-rtl.css → icons-1961-rtl.css} +0 -0
- css/dist/{icons-1960.css → icons-1961.css} +0 -0
- css/dist/{inside-editor-1960-rtl.css → inside-editor-1961-rtl.css} +0 -0
- css/dist/{inside-editor-1960.css → inside-editor-1961.css} +0 -0
- css/dist/{metabox-1960-rtl.css → metabox-1961-rtl.css} +0 -0
- css/dist/{metabox-1960.css → metabox-1961.css} +0 -0
- css/dist/{metabox-primary-category-1960-rtl.css → metabox-primary-category-1961-rtl.css} +0 -0
- css/dist/{metabox-primary-category-1960.css → metabox-primary-category-1961.css} +0 -0
- css/dist/{modal-1960-rtl.css → modal-1961-rtl.css} +0 -0
- css/dist/{modal-1960.css → modal-1961.css} +0 -0
- css/dist/{monorepo-1960-rtl.css → monorepo-1961-rtl.css} +0 -0
- css/dist/{monorepo-1960.css → monorepo-1961.css} +0 -0
- css/dist/{new-settings-1960-rtl.css → new-settings-1961-rtl.css} +0 -0
- css/dist/{new-settings-1960.css → new-settings-1961.css} +0 -0
- css/dist/{notifications-1960-rtl.css → notifications-1961-rtl.css} +0 -0
- css/dist/{notifications-1960.css → notifications-1961.css} +0 -0
- css/dist/{schema-blocks-1960-rtl.css → schema-blocks-1961-rtl.css} +0 -0
- css/dist/{schema-blocks-1960.css → schema-blocks-1961.css} +0 -0
- css/dist/{score_icon-1960-rtl.css → score_icon-1961-rtl.css} +0 -0
- css/dist/{score_icon-1960.css → score_icon-1961.css} +0 -0
- css/dist/{search-appearance-1960-rtl.css → search-appearance-1961-rtl.css} +0 -0
- css/dist/{search-appearance-1960.css → search-appearance-1961.css} +0 -0
- css/dist/{structured-data-blocks-1960-rtl.css → structured-data-blocks-1961-rtl.css} +0 -0
- css/dist/{structured-data-blocks-1960.css → structured-data-blocks-1961.css} +0 -0
- css/dist/{tailwind-1960-rtl.css → tailwind-1961-rtl.css} +0 -0
- css/dist/{tailwind-1960.css → tailwind-1961.css} +0 -0
- css/dist/{toggle-switch-1960-rtl.css → toggle-switch-1961-rtl.css} +0 -0
- css/dist/{toggle-switch-1960.css → toggle-switch-1961.css} +0 -0
- css/dist/{tooltips-1960-rtl.css → tooltips-1961-rtl.css} +0 -0
- css/dist/{tooltips-1960.css → tooltips-1961.css} +0 -0
- css/dist/{workouts-1960-rtl.css → workouts-1961-rtl.css} +0 -0
- css/dist/{workouts-1960.css → workouts-1961.css} +0 -0
- css/dist/{wpseo-dismissible-1960-rtl.css → wpseo-dismissible-1961-rtl.css} +0 -0
- css/dist/{wpseo-dismissible-1960.css → wpseo-dismissible-1961.css} +0 -0
- css/dist/{yoast-components-1960-rtl.css → yoast-components-1961-rtl.css} +0 -0
- css/dist/{yoast-components-1960.css → yoast-components-1961.css} +0 -0
- css/dist/{yoast-extensions-1960-rtl.css → yoast-extensions-1961-rtl.css} +0 -0
- css/dist/{yoast-extensions-1960.css → yoast-extensions-1961.css} +0 -0
- css/dist/{yst_plugin_tools-1960-rtl.css → yst_plugin_tools-1961-rtl.css} +0 -0
- css/dist/{yst_plugin_tools-1960.css → yst_plugin_tools-1961.css} +0 -0
- css/dist/{yst_seo_score-1960-rtl.css → yst_seo_score-1961-rtl.css} +0 -0
- css/dist/{yst_seo_score-1960.css → yst_seo_score-1961.css} +0 -0
- inc/class-wpseo-admin-bar-menu.php +8 -34
- inc/class-wpseo-meta.php +10 -30
- inc/options/class-wpseo-taxonomy-meta.php +0 -1
- inc/wpseo-functions-deprecated.php +14 -0
- js/dist/37.js +1 -1
- js/dist/addon-installation.js +2 -2
- js/dist/admin-global.js +1 -1
- js/dist/admin-modules.js +2 -2
- js/dist/analysis-worker.js +1 -1
- js/dist/api-client.js +1 -1
- js/dist/block-editor.js +39 -39
- js/dist/bulk-editor.js +1 -1
- js/dist/classic-editor.js +20 -20
- js/dist/dashboard-widget.js +4 -4
- js/dist/dynamic-blocks.js +1 -1
- js/dist/edit-page.js +1 -1
- js/dist/editor-modules.js +30 -30
- js/dist/elementor.js +26 -26
admin/class-admin-asset-manager.php
CHANGED
@@ -241,6 +241,7 @@ class WPSEO_Admin_Asset_Manager {
|
|
241 |
'analysis-worker' => [ self::PREFIX . 'analysis-package' ],
|
242 |
'api-client' => [ 'wp-api' ],
|
243 |
'dashboard-widget' => [ self::PREFIX . 'api-client' ],
|
|
|
244 |
'elementor' => [
|
245 |
self::PREFIX . 'api-client',
|
246 |
self::PREFIX . 'externals-components',
|
241 |
'analysis-worker' => [ self::PREFIX . 'analysis-package' ],
|
242 |
'api-client' => [ 'wp-api' ],
|
243 |
'dashboard-widget' => [ self::PREFIX . 'api-client' ],
|
244 |
+
'editor-modules' => [ 'jquery' ],
|
245 |
'elementor' => [
|
246 |
self::PREFIX . 'api-client',
|
247 |
self::PREFIX . 'externals-components',
|
admin/class-admin-init.php
CHANGED
@@ -48,7 +48,6 @@ class WPSEO_Admin_Init {
|
|
48 |
$this->load_admin_user_class();
|
49 |
$this->load_xml_sitemaps_admin();
|
50 |
$this->load_plugin_suggestions();
|
51 |
-
$this->set_inclusive_language_notice();
|
52 |
}
|
53 |
|
54 |
/**
|
@@ -189,23 +188,6 @@ class WPSEO_Admin_Init {
|
|
189 |
}
|
190 |
}
|
191 |
|
192 |
-
/**
|
193 |
-
* Sets the inclusive language notification.
|
194 |
-
*
|
195 |
-
* Notification should pop up if user has Premium activated, the site language is English and the feature toggle is not switched on.
|
196 |
-
*/
|
197 |
-
protected function set_inclusive_language_notice() {
|
198 |
-
$inclusive_language = new WPSEO_Inclusive_Language_Notice( Yoast_Notification_Center::get() );
|
199 |
-
|
200 |
-
if ( $inclusive_language->should_show_notification() ) {
|
201 |
-
$inclusive_language->add_notification();
|
202 |
-
$inclusive_language->dismiss_notice_listener();
|
203 |
-
}
|
204 |
-
else {
|
205 |
-
$inclusive_language->remove_notification();
|
206 |
-
}
|
207 |
-
}
|
208 |
-
|
209 |
/**
|
210 |
* Registers the promotion class for our GlotPress instance, then creates a notification with the i18n promo.
|
211 |
*
|
48 |
$this->load_admin_user_class();
|
49 |
$this->load_xml_sitemaps_admin();
|
50 |
$this->load_plugin_suggestions();
|
|
|
51 |
}
|
52 |
|
53 |
/**
|
188 |
}
|
189 |
}
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
/**
|
192 |
* Registers the promotion class for our GlotPress instance, then creates a notification with the i18n promo.
|
193 |
*
|
admin/class-admin-user-profile.php
CHANGED
@@ -74,7 +74,6 @@ class WPSEO_Admin_User_Profile {
|
|
74 |
update_user_meta( $user_id, 'wpseo_noindex_author', $this->filter_input_post( 'wpseo_noindex_author' ) );
|
75 |
update_user_meta( $user_id, 'wpseo_content_analysis_disable', $this->filter_input_post( 'wpseo_content_analysis_disable' ) );
|
76 |
update_user_meta( $user_id, 'wpseo_keyword_analysis_disable', $this->filter_input_post( 'wpseo_keyword_analysis_disable' ) );
|
77 |
-
update_user_meta( $user_id, 'wpseo_inclusive_language_analysis_disable', $this->filter_input_post( 'wpseo_inclusive_language_analysis_disable' ) );
|
78 |
}
|
79 |
|
80 |
/**
|
74 |
update_user_meta( $user_id, 'wpseo_noindex_author', $this->filter_input_post( 'wpseo_noindex_author' ) );
|
75 |
update_user_meta( $user_id, 'wpseo_content_analysis_disable', $this->filter_input_post( 'wpseo_content_analysis_disable' ) );
|
76 |
update_user_meta( $user_id, 'wpseo_keyword_analysis_disable', $this->filter_input_post( 'wpseo_keyword_analysis_disable' ) );
|
|
|
77 |
}
|
78 |
|
79 |
/**
|
admin/class-expose-shortlinks.php
CHANGED
@@ -52,7 +52,6 @@ class WPSEO_Expose_Shortlinks implements WPSEO_WordPress_Integration {
|
|
52 |
'shortlinks.upsell.metabox.word_complexity' => 'https://yoa.st/word-complexity-metabox',
|
53 |
'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects',
|
54 |
'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis',
|
55 |
-
'shortlinks.inclusive_language_analysis_info' => 'https://yoa.st/inclusive-language-analysis',
|
56 |
'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription',
|
57 |
'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox',
|
58 |
'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar',
|
52 |
'shortlinks.upsell.metabox.word_complexity' => 'https://yoa.st/word-complexity-metabox',
|
53 |
'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects',
|
54 |
'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis',
|
|
|
55 |
'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription',
|
56 |
'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox',
|
57 |
'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar',
|
admin/class-inclusive-language-notice.php
DELETED
@@ -1,142 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* WPSEO plugin file.
|
4 |
-
*
|
5 |
-
* @package WPSEO\Admin
|
6 |
-
*/
|
7 |
-
|
8 |
-
/**
|
9 |
-
* Represents the notice for the Inclusive language feature.
|
10 |
-
*/
|
11 |
-
class WPSEO_Inclusive_Language_Notice {
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Holds the name of the user meta key.
|
15 |
-
*
|
16 |
-
* The value of this database field holds whether the user has dismissed this notice or not.
|
17 |
-
*
|
18 |
-
* @var string
|
19 |
-
*/
|
20 |
-
const USER_META_DISMISSED = 'wpseo-remove-inclusive-language-notice';
|
21 |
-
|
22 |
-
/**
|
23 |
-
* Holds the option name.
|
24 |
-
*
|
25 |
-
* @var string
|
26 |
-
*/
|
27 |
-
const OPTION_NAME = 'wpseo';
|
28 |
-
|
29 |
-
/**
|
30 |
-
* The Premium version in which the Inclusive language feature was added.
|
31 |
-
*/
|
32 |
-
const PREMIUM_VERSION_ADDED = '19.2-RC1';
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Holds the notification center.
|
36 |
-
*
|
37 |
-
* @var Yoast_Notification_Center
|
38 |
-
*/
|
39 |
-
protected $notification_center;
|
40 |
-
|
41 |
-
/**
|
42 |
-
* WPSEO_Inclusive_Language_Notice constructor.
|
43 |
-
*
|
44 |
-
* @param Yoast_Notification_Center $notification_center The notification center to add notifications to.
|
45 |
-
*/
|
46 |
-
public function __construct( Yoast_Notification_Center $notification_center ) {
|
47 |
-
$this->notification_center = $notification_center;
|
48 |
-
}
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Listener for the notice.
|
52 |
-
*/
|
53 |
-
public function dismiss_notice_listener() {
|
54 |
-
if ( filter_input( INPUT_GET, 'yoast_dismiss' ) !== 'upsell' ) {
|
55 |
-
return;
|
56 |
-
}
|
57 |
-
|
58 |
-
$this->dismiss_notice();
|
59 |
-
|
60 |
-
wp_safe_redirect( admin_url( 'admin.php?page=wpseo_dashboard' ) );
|
61 |
-
exit;
|
62 |
-
}
|
63 |
-
|
64 |
-
/**
|
65 |
-
* Adds a notification to the notification center.
|
66 |
-
*/
|
67 |
-
public function add_notification() {
|
68 |
-
$this->notification_center->add_notification( $this->get_notification() );
|
69 |
-
}
|
70 |
-
|
71 |
-
/**
|
72 |
-
* Removes a notification from the notification center.
|
73 |
-
*/
|
74 |
-
public function remove_notification() {
|
75 |
-
$this->notification_center->remove_notification( $this->get_notification() );
|
76 |
-
}
|
77 |
-
|
78 |
-
/**
|
79 |
-
* Whether the notification should be shown.
|
80 |
-
*
|
81 |
-
* @return bool Whether or not the notification should be shown.
|
82 |
-
*/
|
83 |
-
public function should_show_notification() {
|
84 |
-
$availability = new WPSEO_Metabox_Analysis_Inclusive_Language();
|
85 |
-
|
86 |
-
return YoastSEO()->helpers->product->is_premium()
|
87 |
-
&& YoastSEO()->helpers->language->has_inclusive_language_support( \WPSEO_Language_Utils::get_language( \get_locale() ) )
|
88 |
-
&& ! $availability->is_globally_enabled()
|
89 |
-
&& \version_compare( YoastSEO()->helpers->product->get_premium_version(), self::PREMIUM_VERSION_ADDED, '>=' );
|
90 |
-
}
|
91 |
-
|
92 |
-
/**
|
93 |
-
* Gets the notification value.
|
94 |
-
*
|
95 |
-
* @return Yoast_Notification
|
96 |
-
*/
|
97 |
-
protected function get_notification() {
|
98 |
-
if ( is_multisite() && get_site_option( 'wpseo_ms' )['allow_inclusive_language_analysis_active'] === false ) {
|
99 |
-
$message = sprintf(
|
100 |
-
/* translators: %1$s is a link to the Features tab on the Yoast SEO Dashboard page, %2$s is a link to the blog post about this feature, %3$s is the link closing tag. */
|
101 |
-
__(
|
102 |
-
'<strong>New in Yoast SEO Premium 19.2:</strong> Did you know that you can now get feedback on the use of inclusive language? This feature is disabled by default. Please contact your Network admin if you want to enable it. %2$sLearn more about this feature%3$s.',
|
103 |
-
'wordpress-seo'
|
104 |
-
),
|
105 |
-
'<a href="' . admin_url( 'admin.php?page=wpseo_dashboard#top#features' ) . '">',
|
106 |
-
'<a href="' . WPSEO_Shortlinker::get( 'https://yoa.st/inclusive-language-notification' ) . '" target="_blank">',
|
107 |
-
'</a>'
|
108 |
-
);
|
109 |
-
}
|
110 |
-
else {
|
111 |
-
$message = sprintf(
|
112 |
-
/* translators: %1$s is a link to the Features tab on the Yoast SEO Dashboard page, %2$s is a link to the blog post about this feature, %3$s is the link closing tag. */
|
113 |
-
__(
|
114 |
-
'<strong>New in Yoast SEO Premium 19.2:</strong> Did you know that you can now %1$senable the beta version of our inclusive language feature%3$s to get feedback on the use of inclusive language? This feature is disabled by default. %2$sLearn more about this feature%3$s.',
|
115 |
-
'wordpress-seo'
|
116 |
-
),
|
117 |
-
'<a href="' . admin_url( 'admin.php?page=wpseo_dashboard#top#features' ) . '">',
|
118 |
-
'<a href="' . WPSEO_Shortlinker::get( 'https://yoa.st/inclusive-language-notification' ) . '" target="_blank">',
|
119 |
-
'</a>'
|
120 |
-
);
|
121 |
-
}
|
122 |
-
|
123 |
-
$notification = new Yoast_Notification(
|
124 |
-
$message,
|
125 |
-
[
|
126 |
-
'type' => Yoast_Notification::WARNING,
|
127 |
-
'id' => 'wpseo-inclusive-language-notice',
|
128 |
-
'capabilities' => 'wpseo_manage_options',
|
129 |
-
'priority' => 0.8,
|
130 |
-
]
|
131 |
-
);
|
132 |
-
|
133 |
-
return $notification;
|
134 |
-
}
|
135 |
-
|
136 |
-
/**
|
137 |
-
* Dismisses the notice.
|
138 |
-
*/
|
139 |
-
protected function dismiss_notice() {
|
140 |
-
update_user_meta( get_current_user_id(), self::USER_META_DISMISSED, true );
|
141 |
-
}
|
142 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
admin/formatter/class-metabox-formatter.php
CHANGED
@@ -53,11 +53,10 @@ class WPSEO_Metabox_Formatter {
|
|
53 |
* @return array Default settings for the metabox.
|
54 |
*/
|
55 |
private function get_defaults() {
|
56 |
-
$analysis_seo
|
57 |
-
$analysis_readability
|
58 |
-
$
|
59 |
-
$
|
60 |
-
$is_wincher_active = YoastSEO()->helpers->wincher->is_active();
|
61 |
|
62 |
return [
|
63 |
'author_name' => get_the_author_meta( 'display_name' ),
|
@@ -77,7 +76,6 @@ class WPSEO_Metabox_Formatter {
|
|
77 |
'metadesc_template' => '',
|
78 |
'contentAnalysisActive' => $analysis_readability->is_enabled() ? 1 : 0,
|
79 |
'keywordAnalysisActive' => $analysis_seo->is_enabled() ? 1 : 0,
|
80 |
-
'inclusiveLanguageAnalysisActive' => $analysis_inclusive_language->is_enabled() ? 1 : 0,
|
81 |
'cornerstoneActive' => WPSEO_Options::get( 'enable_cornerstone_content', false ) ? 1 : 0,
|
82 |
'semrushIntegrationActive' => WPSEO_Options::get( 'semrush_integration_active', true ) ? 1 : 0,
|
83 |
'intl' => $this->get_content_analysis_component_translations(),
|
@@ -166,36 +164,6 @@ class WPSEO_Metabox_Formatter {
|
|
166 |
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
167 |
),
|
168 |
],
|
169 |
-
'inclusive-language' => [
|
170 |
-
'na' => sprintf(
|
171 |
-
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
|
172 |
-
__( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
|
173 |
-
'<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
|
174 |
-
'</a>',
|
175 |
-
'<strong>' . __( 'Not available', 'wordpress-seo' ) . '</strong>'
|
176 |
-
),
|
177 |
-
'bad' => sprintf(
|
178 |
-
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
|
179 |
-
__( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
|
180 |
-
'<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
|
181 |
-
'</a>',
|
182 |
-
'<strong>' . __( 'Needs improvement', 'wordpress-seo' ) . '</strong>'
|
183 |
-
),
|
184 |
-
'ok' => sprintf(
|
185 |
-
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
|
186 |
-
__( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
|
187 |
-
'<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
|
188 |
-
'</a>',
|
189 |
-
'<strong>' . __( 'OK', 'wordpress-seo' ) . '</strong>'
|
190 |
-
),
|
191 |
-
'good' => sprintf(
|
192 |
-
/* translators: %1$s expands to the opening anchor tag, %2$s to the closing anchor tag, %3$s to the inclusive language score. */
|
193 |
-
__( '%1$sInclusive language%2$s: %3$s', 'wordpress-seo' ),
|
194 |
-
'<a href="#yoast-inclusive-language-analysis-collapsible-metabox">',
|
195 |
-
'</a>',
|
196 |
-
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
197 |
-
),
|
198 |
-
],
|
199 |
],
|
200 |
],
|
201 |
'markdownEnabled' => $this->is_markdown_enabled(),
|
53 |
* @return array Default settings for the metabox.
|
54 |
*/
|
55 |
private function get_defaults() {
|
56 |
+
$analysis_seo = new WPSEO_Metabox_Analysis_SEO();
|
57 |
+
$analysis_readability = new WPSEO_Metabox_Analysis_Readability();
|
58 |
+
$schema_types = new Schema_Types();
|
59 |
+
$is_wincher_active = YoastSEO()->helpers->wincher->is_active();
|
|
|
60 |
|
61 |
return [
|
62 |
'author_name' => get_the_author_meta( 'display_name' ),
|
76 |
'metadesc_template' => '',
|
77 |
'contentAnalysisActive' => $analysis_readability->is_enabled() ? 1 : 0,
|
78 |
'keywordAnalysisActive' => $analysis_seo->is_enabled() ? 1 : 0,
|
|
|
79 |
'cornerstoneActive' => WPSEO_Options::get( 'enable_cornerstone_content', false ) ? 1 : 0,
|
80 |
'semrushIntegrationActive' => WPSEO_Options::get( 'semrush_integration_active', true ) ? 1 : 0,
|
81 |
'intl' => $this->get_content_analysis_component_translations(),
|
164 |
'<strong>' . __( 'Good', 'wordpress-seo' ) . '</strong>'
|
165 |
),
|
166 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
],
|
168 |
],
|
169 |
'markdownEnabled' => $this->is_markdown_enabled(),
|
admin/formatter/class-post-metabox-formatter.php
CHANGED
@@ -51,10 +51,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
51 |
* @return bool Whether the social templates should be used.
|
52 |
*/
|
53 |
public function use_social_templates() {
|
54 |
-
return
|
55 |
-
&& defined( 'WPSEO_PREMIUM_VERSION' )
|
56 |
-
&& version_compare( WPSEO_PREMIUM_VERSION, '16.5-RC0', '>=' )
|
57 |
-
&& WPSEO_Options::get( 'opengraph', false ) === true;
|
58 |
}
|
59 |
|
60 |
/**
|
@@ -161,34 +158,13 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
161 |
$keyword = WPSEO_Meta::get_value( 'focuskw', $this->post->ID );
|
162 |
$usage = [ $keyword => $this->get_keyword_usage_for_current_post( $keyword ) ];
|
163 |
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
/**
|
172 |
-
* Retrieves the additional keywords from Premium, that are associated with the post.
|
173 |
-
*
|
174 |
-
* @param array $usage The original keyword usage for the main keyword.
|
175 |
-
*
|
176 |
-
* @return array The keyword usage, including the additional keywords.
|
177 |
-
*/
|
178 |
-
protected function get_premium_keywords( $usage ) {
|
179 |
-
$additional_keywords = json_decode( WPSEO_Meta::get_value( 'focuskeywords', $this->post->ID ), true );
|
180 |
-
|
181 |
-
if ( empty( $additional_keywords ) ) {
|
182 |
-
return $usage;
|
183 |
-
}
|
184 |
-
|
185 |
-
foreach ( $additional_keywords as $additional_keyword ) {
|
186 |
-
$keyword = $additional_keyword['keyword'];
|
187 |
-
|
188 |
-
$usage[ $keyword ] = $this->get_keyword_usage_for_current_post( $keyword );
|
189 |
-
}
|
190 |
-
|
191 |
-
return $usage;
|
192 |
}
|
193 |
|
194 |
/**
|
@@ -235,7 +211,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
235 |
*/
|
236 |
private function get_social_title_template() {
|
237 |
if ( $this->use_social_templates ) {
|
238 |
-
return $this->
|
239 |
}
|
240 |
|
241 |
return '';
|
@@ -248,7 +224,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
248 |
*/
|
249 |
private function get_social_description_template() {
|
250 |
if ( $this->use_social_templates ) {
|
251 |
-
return $this->
|
252 |
}
|
253 |
|
254 |
return '';
|
@@ -261,7 +237,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
261 |
*/
|
262 |
private function get_social_image_template() {
|
263 |
if ( $this->use_social_templates ) {
|
264 |
-
return $this->
|
265 |
}
|
266 |
|
267 |
return '';
|
@@ -284,6 +260,24 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
284 |
return '';
|
285 |
}
|
286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
/**
|
288 |
* Determines the date to be displayed in the snippet preview.
|
289 |
*
|
51 |
* @return bool Whether the social templates should be used.
|
52 |
*/
|
53 |
public function use_social_templates() {
|
54 |
+
return WPSEO_Options::get( 'opengraph', false ) === true;
|
|
|
|
|
|
|
55 |
}
|
56 |
|
57 |
/**
|
158 |
$keyword = WPSEO_Meta::get_value( 'focuskw', $this->post->ID );
|
159 |
$usage = [ $keyword => $this->get_keyword_usage_for_current_post( $keyword ) ];
|
160 |
|
161 |
+
/**
|
162 |
+
* Allows enhancing the array of posts' that share their focus keywords with the post's related keywords.
|
163 |
+
*
|
164 |
+
* @param array $usage The array of posts' ids that share their focus keywords with the post.
|
165 |
+
* @param int $post_id The id of the post we're finding the usage of related keywords for.
|
166 |
+
*/
|
167 |
+
return apply_filters( 'wpseo_posts_for_related_keywords', $usage, $this->post->ID );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
/**
|
211 |
*/
|
212 |
private function get_social_title_template() {
|
213 |
if ( $this->use_social_templates ) {
|
214 |
+
return $this->get_social_template( 'title' );
|
215 |
}
|
216 |
|
217 |
return '';
|
224 |
*/
|
225 |
private function get_social_description_template() {
|
226 |
if ( $this->use_social_templates ) {
|
227 |
+
return $this->get_social_template( 'description' );
|
228 |
}
|
229 |
|
230 |
return '';
|
237 |
*/
|
238 |
private function get_social_image_template() {
|
239 |
if ( $this->use_social_templates ) {
|
240 |
+
return $this->get_social_template( 'image-url' );
|
241 |
}
|
242 |
|
243 |
return '';
|
260 |
return '';
|
261 |
}
|
262 |
|
263 |
+
/**
|
264 |
+
* Retrieves a social template.
|
265 |
+
*
|
266 |
+
* @param string $template_option_name The name of the option in which the template you want to get is saved.
|
267 |
+
*
|
268 |
+
* @return string
|
269 |
+
*/
|
270 |
+
private function get_social_template( $template_option_name ) {
|
271 |
+
/**
|
272 |
+
* Filters the social template value for a given post type.
|
273 |
+
*
|
274 |
+
* @param string $template The social template value, defaults to empty string.
|
275 |
+
* @param string $template_option_name The subname of the option in which the template you want to get is saved.
|
276 |
+
* @param string $post_type The name of the post type.
|
277 |
+
*/
|
278 |
+
return \apply_filters( 'wpseo_social_template_post_type', '', $template_option_name, $this->post->post_type );
|
279 |
+
}
|
280 |
+
|
281 |
/**
|
282 |
* Determines the date to be displayed in the snippet preview.
|
283 |
*
|
admin/formatter/class-term-metabox-formatter.php
CHANGED
@@ -57,10 +57,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
57 |
* @return bool Whether the social templates should be used.
|
58 |
*/
|
59 |
public function use_social_templates() {
|
60 |
-
return
|
61 |
-
&& defined( 'WPSEO_PREMIUM_VERSION' )
|
62 |
-
&& version_compare( WPSEO_PREMIUM_VERSION, '16.5-RC0', '>=' )
|
63 |
-
&& WPSEO_Options::get( 'opengraph', false ) === true;
|
64 |
}
|
65 |
|
66 |
/**
|
@@ -185,7 +182,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
185 |
*/
|
186 |
private function get_social_title_template() {
|
187 |
if ( $this->use_social_templates ) {
|
188 |
-
return $this->
|
189 |
}
|
190 |
|
191 |
return '';
|
@@ -198,7 +195,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
198 |
*/
|
199 |
private function get_social_description_template() {
|
200 |
if ( $this->use_social_templates ) {
|
201 |
-
return $this->
|
202 |
}
|
203 |
|
204 |
return '';
|
@@ -211,7 +208,7 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
211 |
*/
|
212 |
private function get_social_image_template() {
|
213 |
if ( $this->use_social_templates ) {
|
214 |
-
return $this->
|
215 |
}
|
216 |
|
217 |
return '';
|
@@ -229,6 +226,24 @@ class WPSEO_Term_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
|
|
229 |
return WPSEO_Options::get( $needed_option, '' );
|
230 |
}
|
231 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
232 |
/**
|
233 |
* Determines whether the insights feature is enabled for this taxonomy.
|
234 |
*
|
57 |
* @return bool Whether the social templates should be used.
|
58 |
*/
|
59 |
public function use_social_templates() {
|
60 |
+
return WPSEO_Options::get( 'opengraph', false ) === true;
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
/**
|
182 |
*/
|
183 |
private function get_social_title_template() {
|
184 |
if ( $this->use_social_templates ) {
|
185 |
+
return $this->get_social_template( 'title' );
|
186 |
}
|
187 |
|
188 |
return '';
|
195 |
*/
|
196 |
private function get_social_description_template() {
|
197 |
if ( $this->use_social_templates ) {
|
198 |
+
return $this->get_social_template( 'description' );
|
199 |
}
|
200 |
|
201 |
return '';
|
208 |
*/
|
209 |
private function get_social_image_template() {
|
210 |
if ( $this->use_social_templates ) {
|
211 |
+
return $this->get_social_template( 'image-url' );
|
212 |
}
|
213 |
|
214 |
return '';
|
226 |
return WPSEO_Options::get( $needed_option, '' );
|
227 |
}
|
228 |
|
229 |
+
/**
|
230 |
+
* Retrieves a social template.
|
231 |
+
*
|
232 |
+
* @param string $template_option_name The name of the option in which the template you want to get is saved.
|
233 |
+
*
|
234 |
+
* @return string
|
235 |
+
*/
|
236 |
+
private function get_social_template( $template_option_name ) {
|
237 |
+
/**
|
238 |
+
* Filters the social template value for a given taxonomy.
|
239 |
+
*
|
240 |
+
* @param string $template The social template value, defaults to empty string.
|
241 |
+
* @param string $template_option_name The subname of the option in which the template you want to get is saved.
|
242 |
+
* @param string $taxonomy The name of the taxonomy.
|
243 |
+
*/
|
244 |
+
return \apply_filters( 'wpseo_social_template_taxonomy', '', $template_option_name, $this->term->taxonomy );
|
245 |
+
}
|
246 |
+
|
247 |
/**
|
248 |
* Determines whether the insights feature is enabled for this taxonomy.
|
249 |
*
|
admin/metabox/class-metabox.php
CHANGED
@@ -37,13 +37,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
37 |
*/
|
38 |
protected $readability_analysis;
|
39 |
|
40 |
-
/**
|
41 |
-
* Helper to determine whether or not the inclusive language analysis is enabled.
|
42 |
-
*
|
43 |
-
* @var WPSEO_Metabox_Analysis_Inclusive_Language
|
44 |
-
*/
|
45 |
-
protected $inclusive_language_analysis;
|
46 |
-
|
47 |
/**
|
48 |
* The metabox editor object.
|
49 |
*
|
@@ -78,6 +71,7 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
78 |
public function __construct() {
|
79 |
if ( $this->is_internet_explorer() ) {
|
80 |
add_action( 'add_meta_boxes', [ $this, 'internet_explorer_metabox' ] );
|
|
|
81 |
return;
|
82 |
}
|
83 |
|
@@ -99,9 +93,8 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
99 |
new Input_Helper()
|
100 |
);
|
101 |
|
102 |
-
$this->seo_analysis
|
103 |
-
$this->readability_analysis
|
104 |
-
$this->inclusive_language_analysis = new WPSEO_Metabox_Analysis_Inclusive_Language();
|
105 |
}
|
106 |
|
107 |
/**
|
@@ -432,10 +425,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
432 |
$tabs[] = new WPSEO_Metabox_Section_Readability();
|
433 |
}
|
434 |
|
435 |
-
if ( $this->inclusive_language_analysis->is_enabled() ) {
|
436 |
-
$tabs[] = new WPSEO_Metabox_Section_Inclusive_Language();
|
437 |
-
}
|
438 |
-
|
439 |
if ( $this->is_advanced_metadata_enabled ) {
|
440 |
$tabs[] = new WPSEO_Metabox_Section_React(
|
441 |
'schema',
|
@@ -829,10 +818,6 @@ class WPSEO_Metabox extends WPSEO_Meta {
|
|
829 |
return true;
|
830 |
}
|
831 |
|
832 |
-
if ( $key === 'inclusive_language_score' && ! $this->inclusive_language_analysis->is_enabled() ) {
|
833 |
-
return true;
|
834 |
-
}
|
835 |
-
|
836 |
return false;
|
837 |
}
|
838 |
|
37 |
*/
|
38 |
protected $readability_analysis;
|
39 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
/**
|
41 |
* The metabox editor object.
|
42 |
*
|
71 |
public function __construct() {
|
72 |
if ( $this->is_internet_explorer() ) {
|
73 |
add_action( 'add_meta_boxes', [ $this, 'internet_explorer_metabox' ] );
|
74 |
+
|
75 |
return;
|
76 |
}
|
77 |
|
93 |
new Input_Helper()
|
94 |
);
|
95 |
|
96 |
+
$this->seo_analysis = new WPSEO_Metabox_Analysis_SEO();
|
97 |
+
$this->readability_analysis = new WPSEO_Metabox_Analysis_Readability();
|
|
|
98 |
}
|
99 |
|
100 |
/**
|
425 |
$tabs[] = new WPSEO_Metabox_Section_Readability();
|
426 |
}
|
427 |
|
|
|
|
|
|
|
|
|
428 |
if ( $this->is_advanced_metadata_enabled ) {
|
429 |
$tabs[] = new WPSEO_Metabox_Section_React(
|
430 |
'schema',
|
818 |
return true;
|
819 |
}
|
820 |
|
|
|
|
|
|
|
|
|
821 |
return false;
|
822 |
}
|
823 |
|
admin/taxonomy/class-taxonomy-fields.php
CHANGED
@@ -72,13 +72,6 @@ class WPSEO_Taxonomy_Fields {
|
|
72 |
'options' => '',
|
73 |
'hide' => false,
|
74 |
],
|
75 |
-
'inclusive_language_score' => [
|
76 |
-
'label' => '',
|
77 |
-
'description' => '',
|
78 |
-
'type' => 'hidden',
|
79 |
-
'options' => '',
|
80 |
-
'hide' => false,
|
81 |
-
],
|
82 |
'focuskw' => [
|
83 |
'label' => '',
|
84 |
'description' => '',
|
72 |
'options' => '',
|
73 |
'hide' => false,
|
74 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
'focuskw' => [
|
76 |
'label' => '',
|
77 |
'description' => '',
|
admin/taxonomy/class-taxonomy-metabox.php
CHANGED
@@ -45,13 +45,6 @@ class WPSEO_Taxonomy_Metabox {
|
|
45 |
*/
|
46 |
protected $readability_analysis;
|
47 |
|
48 |
-
/**
|
49 |
-
* Helper to determine whether or not the inclusive language analysis is enabled.
|
50 |
-
*
|
51 |
-
* @var WPSEO_Metabox_Analysis_Inclusive_Language
|
52 |
-
*/
|
53 |
-
protected $inclusive_language_analysis;
|
54 |
-
|
55 |
/**
|
56 |
* The constructor.
|
57 |
*
|
@@ -63,9 +56,8 @@ class WPSEO_Taxonomy_Metabox {
|
|
63 |
$this->taxonomy = $taxonomy;
|
64 |
$this->is_social_enabled = WPSEO_Options::get( 'opengraph', false ) || WPSEO_Options::get( 'twitter', false );
|
65 |
|
66 |
-
$this->seo_analysis
|
67 |
-
$this->readability_analysis
|
68 |
-
$this->inclusive_language_analysis = new WPSEO_Metabox_Analysis_Inclusive_Language();
|
69 |
}
|
70 |
|
71 |
/**
|
@@ -148,10 +140,6 @@ class WPSEO_Taxonomy_Metabox {
|
|
148 |
$tabs[] = new WPSEO_Metabox_Section_Readability();
|
149 |
}
|
150 |
|
151 |
-
if ( $this->inclusive_language_analysis->is_enabled() ) {
|
152 |
-
$tabs[] = new WPSEO_Metabox_Section_Inclusive_Language();
|
153 |
-
}
|
154 |
-
|
155 |
if ( $this->is_social_enabled ) {
|
156 |
$tabs[] = new WPSEO_Metabox_Section_React(
|
157 |
'social',
|
@@ -163,6 +151,56 @@ class WPSEO_Taxonomy_Metabox {
|
|
163 |
);
|
164 |
}
|
165 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
166 |
return $tabs;
|
167 |
}
|
168 |
|
45 |
*/
|
46 |
protected $readability_analysis;
|
47 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
/**
|
49 |
* The constructor.
|
50 |
*
|
56 |
$this->taxonomy = $taxonomy;
|
57 |
$this->is_social_enabled = WPSEO_Options::get( 'opengraph', false ) || WPSEO_Options::get( 'twitter', false );
|
58 |
|
59 |
+
$this->seo_analysis = new WPSEO_Metabox_Analysis_SEO();
|
60 |
+
$this->readability_analysis = new WPSEO_Metabox_Analysis_Readability();
|
|
|
61 |
}
|
62 |
|
63 |
/**
|
140 |
$tabs[] = new WPSEO_Metabox_Section_Readability();
|
141 |
}
|
142 |
|
|
|
|
|
|
|
|
|
143 |
if ( $this->is_social_enabled ) {
|
144 |
$tabs[] = new WPSEO_Metabox_Section_React(
|
145 |
'social',
|
151 |
);
|
152 |
}
|
153 |
|
154 |
+
$tabs = array_merge( $tabs, $this->get_additional_tabs() );
|
155 |
+
|
156 |
+
return $tabs;
|
157 |
+
}
|
158 |
+
|
159 |
+
/**
|
160 |
+
* Returns the metabox tabs that have been added by other plugins.
|
161 |
+
*
|
162 |
+
* @return WPSEO_Metabox_Section_Additional[]
|
163 |
+
*/
|
164 |
+
protected function get_additional_tabs() {
|
165 |
+
$tabs = [];
|
166 |
+
|
167 |
+
/**
|
168 |
+
* Private filter: 'yoast_free_additional_taxonomy_metabox_sections'.
|
169 |
+
*
|
170 |
+
* Meant for internal use only. Allows adding additional tabs to the Yoast SEO metabox for taxonomies.
|
171 |
+
*
|
172 |
+
* @param array[] $tabs {
|
173 |
+
* An array of arrays with tab specifications.
|
174 |
+
*
|
175 |
+
* @type array $tab {
|
176 |
+
* A tab specification.
|
177 |
+
*
|
178 |
+
* @type string $name The name of the tab. Used in the HTML IDs, href and aria properties.
|
179 |
+
* @type string $link_content The content of the tab link.
|
180 |
+
* @type string $content The content of the tab.
|
181 |
+
* @type array $options {
|
182 |
+
* Optional. Extra options.
|
183 |
+
*
|
184 |
+
* @type string $link_class Optional. The class for the tab link.
|
185 |
+
* @type string $link_aria_label Optional. The aria label of the tab link.
|
186 |
+
* }
|
187 |
+
* }
|
188 |
+
* }
|
189 |
+
*/
|
190 |
+
$requested_tabs = apply_filters( 'yoast_free_additional_taxonomy_metabox_sections', [] );
|
191 |
+
|
192 |
+
foreach ( $requested_tabs as $tab ) {
|
193 |
+
if ( is_array( $tab ) && array_key_exists( 'name', $tab ) && array_key_exists( 'link_content', $tab ) && array_key_exists( 'content', $tab ) ) {
|
194 |
+
$options = array_key_exists( 'options', $tab ) ? $tab['options'] : [];
|
195 |
+
$tabs[] = new WPSEO_Metabox_Section_Additional(
|
196 |
+
$tab['name'],
|
197 |
+
$tab['link_content'],
|
198 |
+
$tab['content'],
|
199 |
+
$options
|
200 |
+
);
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
return $tabs;
|
205 |
}
|
206 |
|
admin/taxonomy/class-taxonomy.php
CHANGED
@@ -33,13 +33,6 @@ class WPSEO_Taxonomy {
|
|
33 |
*/
|
34 |
private $analysis_readability;
|
35 |
|
36 |
-
/**
|
37 |
-
* Holds the metabox inclusive language analysis instance.
|
38 |
-
*
|
39 |
-
* @var WPSEO_Metabox_Analysis_Inclusive_Language
|
40 |
-
*/
|
41 |
-
private $analysis_inclusive_language;
|
42 |
-
|
43 |
/**
|
44 |
* Class constructor.
|
45 |
*/
|
@@ -53,9 +46,8 @@ class WPSEO_Taxonomy {
|
|
53 |
if ( self::is_term_overview( $GLOBALS['pagenow'] ) ) {
|
54 |
new WPSEO_Taxonomy_Columns();
|
55 |
}
|
56 |
-
$this->analysis_seo
|
57 |
-
$this->analysis_readability
|
58 |
-
$this->analysis_inclusive_language = new WPSEO_Metabox_Analysis_Inclusive_Language();
|
59 |
}
|
60 |
|
61 |
/**
|
@@ -234,10 +226,6 @@ class WPSEO_Taxonomy {
|
|
234 |
return true;
|
235 |
}
|
236 |
|
237 |
-
if ( $key === 'wpseo_inclusive_language_score' && ! $this->analysis_inclusive_language->is_enabled() ) {
|
238 |
-
return true;
|
239 |
-
}
|
240 |
-
|
241 |
return false;
|
242 |
}
|
243 |
|
33 |
*/
|
34 |
private $analysis_readability;
|
35 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
/**
|
37 |
* Class constructor.
|
38 |
*/
|
46 |
if ( self::is_term_overview( $GLOBALS['pagenow'] ) ) {
|
47 |
new WPSEO_Taxonomy_Columns();
|
48 |
}
|
49 |
+
$this->analysis_seo = new WPSEO_Metabox_Analysis_SEO();
|
50 |
+
$this->analysis_readability = new WPSEO_Metabox_Analysis_Readability();
|
|
|
51 |
}
|
52 |
|
53 |
/**
|
226 |
return true;
|
227 |
}
|
228 |
|
|
|
|
|
|
|
|
|
229 |
return false;
|
230 |
}
|
231 |
|
admin/views/class-yoast-feature-toggles.php
CHANGED
@@ -90,7 +90,7 @@ class Yoast_Feature_Toggles {
|
|
90 |
(object) [
|
91 |
'name' => __( 'Inclusive language analysis', 'wordpress-seo' ),
|
92 |
'premium' => true,
|
93 |
-
'premium_version' => '19.2-
|
94 |
'in_beta' => true,
|
95 |
'supported_languages' => Language_Helper::$languages_with_inclusive_language_support,
|
96 |
'setting' => 'inclusive_language_analysis_active',
|
90 |
(object) [
|
91 |
'name' => __( 'Inclusive language analysis', 'wordpress-seo' ),
|
92 |
'premium' => true,
|
93 |
+
'premium_version' => '19.2.1-RC0',
|
94 |
'in_beta' => true,
|
95 |
'supported_languages' => Language_Helper::$languages_with_inclusive_language_support,
|
96 |
'setting' => 'inclusive_language_analysis_active',
|
admin/views/tabs/dashboard/features.php
CHANGED
@@ -32,14 +32,6 @@ $feature_toggles = Yoast_Feature_Toggles::instance()->get_all();
|
|
32 |
$is_premium = YoastSEO()->helpers->product->is_premium();
|
33 |
$premium_version = YoastSEO()->helpers->product->get_premium_version();
|
34 |
|
35 |
-
if ( $feature->premium && $feature->premium_version ) {
|
36 |
-
$not_supported_in_current_premium_version = $is_premium && \version_compare( $premium_version, $feature->premium_version, '<' );
|
37 |
-
|
38 |
-
if ( $not_supported_in_current_premium_version ) {
|
39 |
-
continue;
|
40 |
-
}
|
41 |
-
}
|
42 |
-
|
43 |
$help_text = esc_html( $feature->label );
|
44 |
if ( ! empty( $feature->extra ) ) {
|
45 |
$help_text .= ' ' . $feature->extra;
|
@@ -94,6 +86,15 @@ $feature_toggles = Yoast_Feature_Toggles::instance()->get_all();
|
|
94 |
$name = $feature->name;
|
95 |
}
|
96 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
$preserve_disabled_value = false;
|
98 |
if ( $disabled ) {
|
99 |
$preserve_disabled_value = true;
|
32 |
$is_premium = YoastSEO()->helpers->product->is_premium();
|
33 |
$premium_version = YoastSEO()->helpers->product->get_premium_version();
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
$help_text = esc_html( $feature->label );
|
36 |
if ( ! empty( $feature->extra ) ) {
|
37 |
$help_text .= ' ' . $feature->extra;
|
86 |
$name = $feature->name;
|
87 |
}
|
88 |
|
89 |
+
if ( $feature->premium && $feature->premium_version ) {
|
90 |
+
$not_supported_in_current_premium_version = $is_premium && \version_compare( $premium_version, $feature->premium_version, '<' );
|
91 |
+
|
92 |
+
if ( $not_supported_in_current_premium_version ) {
|
93 |
+
$disabled = true;
|
94 |
+
$note_when_disabled = __( 'Please update your Yoast SEO Premium plugin to the latest version to be able to use this feature.', 'wordpress-seo' );
|
95 |
+
}
|
96 |
+
}
|
97 |
+
|
98 |
$preserve_disabled_value = false;
|
99 |
if ( $disabled ) {
|
100 |
$preserve_disabled_value = true;
|
admin/views/user-profile.php
CHANGED
@@ -61,15 +61,5 @@ $wpseo_no_index_author_label = sprintf(
|
|
61 |
</p>
|
62 |
<?php endif; ?>
|
63 |
|
64 |
-
<?php
|
65 |
-
<input class="yoast-settings__checkbox double" type="checkbox" id="wpseo_inclusive_language_analysis_disable"
|
66 |
-
name="wpseo_inclusive_language_analysis_disable" aria-describedby="wpseo_inclusive_language_analysis_disable_desc"
|
67 |
-
value="on" <?php echo ( get_the_author_meta( 'wpseo_inclusive_language_analysis_disable', $user->ID ) === 'on' ) ? 'checked' : ''; ?> />
|
68 |
-
<label class="yoast-label-strong"
|
69 |
-
for="wpseo_inclusive_language_analysis_disable"><?php esc_html_e( 'Disable inclusive language analysis', 'wordpress-seo' ); ?></label>
|
70 |
-
<br>
|
71 |
-
<p class="description" id="wpseo_inclusive_language_analysis_disable_desc">
|
72 |
-
<?php esc_html_e( 'Removes the inclusive language analysis section from the metabox and disables all inclusive language-related suggestions.', 'wordpress-seo' ); ?>
|
73 |
-
</p>
|
74 |
-
<?php endif; ?>
|
75 |
</div>
|
61 |
</p>
|
62 |
<?php endif; ?>
|
63 |
|
64 |
+
<?php do_action( 'wpseo_render_user_profile', $user ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
</div>
|
css/dist/{admin-global-1960-rtl.css → admin-global-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{admin-global-1960.css → admin-global-1961.css}
RENAMED
File without changes
|
css/dist/{adminbar-1960-rtl.css → adminbar-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{adminbar-1960.css → adminbar-1961.css}
RENAMED
File without changes
|
css/dist/{alerts-1960-rtl.css → alerts-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{alerts-1960.css → alerts-1961.css}
RENAMED
File without changes
|
css/dist/{dashboard-1960-rtl.css → dashboard-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{dashboard-1960.css → dashboard-1961.css}
RENAMED
File without changes
|
css/dist/{edit-page-1960-rtl.css → edit-page-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{edit-page-1960.css → edit-page-1961.css}
RENAMED
File without changes
|
css/dist/{elementor-1960-rtl.css → elementor-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{elementor-1960.css → elementor-1961.css}
RENAMED
File without changes
|
css/dist/{featured-image-1960-rtl.css → featured-image-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{featured-image-1960.css → featured-image-1961.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1960-rtl.css → filter-explanation-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1960.css → filter-explanation-1961.css}
RENAMED
File without changes
|
css/dist/{icons-1960-rtl.css → icons-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{icons-1960.css → icons-1961.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1960-rtl.css → inside-editor-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1960.css → inside-editor-1961.css}
RENAMED
File without changes
|
css/dist/{metabox-1960-rtl.css → metabox-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-1960.css → metabox-1961.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1960-rtl.css → metabox-primary-category-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1960.css → metabox-primary-category-1961.css}
RENAMED
File without changes
|
css/dist/{modal-1960-rtl.css → modal-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{modal-1960.css → modal-1961.css}
RENAMED
File without changes
|
css/dist/{monorepo-1960-rtl.css → monorepo-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{monorepo-1960.css → monorepo-1961.css}
RENAMED
File without changes
|
css/dist/{new-settings-1960-rtl.css → new-settings-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{new-settings-1960.css → new-settings-1961.css}
RENAMED
File without changes
|
css/dist/{notifications-1960-rtl.css → notifications-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{notifications-1960.css → notifications-1961.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1960-rtl.css → schema-blocks-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1960.css → schema-blocks-1961.css}
RENAMED
File without changes
|
css/dist/{score_icon-1960-rtl.css → score_icon-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{score_icon-1960.css → score_icon-1961.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1960-rtl.css → search-appearance-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{search-appearance-1960.css → search-appearance-1961.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1960-rtl.css → structured-data-blocks-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1960.css → structured-data-blocks-1961.css}
RENAMED
File without changes
|
css/dist/{tailwind-1960-rtl.css → tailwind-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{tailwind-1960.css → tailwind-1961.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1960-rtl.css → toggle-switch-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1960.css → toggle-switch-1961.css}
RENAMED
File without changes
|
css/dist/{tooltips-1960-rtl.css → tooltips-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{tooltips-1960.css → tooltips-1961.css}
RENAMED
File without changes
|
css/dist/{workouts-1960-rtl.css → workouts-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{workouts-1960.css → workouts-1961.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1960-rtl.css → wpseo-dismissible-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1960.css → wpseo-dismissible-1961.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1960-rtl.css → yoast-components-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1960.css → yoast-components-1961.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1960-rtl.css → yoast-extensions-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1960.css → yoast-extensions-1961.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1960-rtl.css → yst_plugin_tools-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1960.css → yst_plugin_tools-1961.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1960-rtl.css → yst_seo_score-1961-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1960.css → yst_seo_score-1961.css}
RENAMED
File without changes
|
inc/class-wpseo-admin-bar-menu.php
CHANGED
@@ -27,13 +27,6 @@ class WPSEO_Admin_Bar_Menu implements WPSEO_WordPress_Integration {
|
|
27 |
*/
|
28 |
const KEYWORD_RESEARCH_SUBMENU_IDENTIFIER = 'wpseo-kwresearch';
|
29 |
|
30 |
-
/**
|
31 |
-
* The identifier used for the frontend inspector submenu.
|
32 |
-
*
|
33 |
-
* @var string
|
34 |
-
*/
|
35 |
-
const FRONTEND_INSPECTOR_SUBMENU_IDENTIFIER = 'wpseo-frontend-inspector';
|
36 |
-
|
37 |
/**
|
38 |
* The identifier used for the Analysis submenu.
|
39 |
*
|
@@ -126,9 +119,14 @@ class WPSEO_Admin_Bar_Menu implements WPSEO_WordPress_Integration {
|
|
126 |
|
127 |
$this->add_root_menu( $wp_admin_bar );
|
128 |
|
129 |
-
|
130 |
-
|
131 |
-
|
|
|
|
|
|
|
|
|
|
|
132 |
$this->add_keyword_research_submenu( $wp_admin_bar );
|
133 |
|
134 |
if ( ! is_admin() ) {
|
@@ -309,30 +307,6 @@ class WPSEO_Admin_Bar_Menu implements WPSEO_WordPress_Integration {
|
|
309 |
}
|
310 |
}
|
311 |
|
312 |
-
/**
|
313 |
-
* Adds the frontend inspector submenu.
|
314 |
-
*
|
315 |
-
* @param WP_Admin_Bar $wp_admin_bar The admin bar.
|
316 |
-
*
|
317 |
-
* @return void
|
318 |
-
*/
|
319 |
-
protected function add_frontend_inspector_submenu( WP_Admin_Bar $wp_admin_bar ) {
|
320 |
-
$menu_args = [
|
321 |
-
'parent' => self::MENU_IDENTIFIER,
|
322 |
-
'id' => self::FRONTEND_INSPECTOR_SUBMENU_IDENTIFIER,
|
323 |
-
'title' => sprintf(
|
324 |
-
'%1$s <span class="yoast-badge yoast-beta-badge">%2$s</span>',
|
325 |
-
__( 'Front-end SEO inspector', 'wordpress-seo' ),
|
326 |
-
__( 'Beta', 'wordpress-seo' )
|
327 |
-
),
|
328 |
-
'href' => '#wpseo-frontend-inspector',
|
329 |
-
'meta' => [
|
330 |
-
'tabindex' => '0',
|
331 |
-
],
|
332 |
-
];
|
333 |
-
$wp_admin_bar->add_menu( $menu_args );
|
334 |
-
}
|
335 |
-
|
336 |
/**
|
337 |
* Adds the admin bar analysis submenu.
|
338 |
*
|
27 |
*/
|
28 |
const KEYWORD_RESEARCH_SUBMENU_IDENTIFIER = 'wpseo-kwresearch';
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
/**
|
31 |
* The identifier used for the Analysis submenu.
|
32 |
*
|
119 |
|
120 |
$this->add_root_menu( $wp_admin_bar );
|
121 |
|
122 |
+
/**
|
123 |
+
* Adds a submenu item in the top of the adminbar.
|
124 |
+
*
|
125 |
+
* @param WP_Admin_Bar $wp_admin_bar Admin bar instance to add the menu to.
|
126 |
+
* @param string $menu_identifier The menu identifier.
|
127 |
+
*/
|
128 |
+
do_action( 'wpseo_add_adminbar_submenu', $wp_admin_bar, self::MENU_IDENTIFIER );
|
129 |
+
|
130 |
$this->add_keyword_research_submenu( $wp_admin_bar );
|
131 |
|
132 |
if ( ! is_admin() ) {
|
307 |
}
|
308 |
}
|
309 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
/**
|
311 |
* Adds the admin bar analysis submenu.
|
312 |
*
|
inc/class-wpseo-meta.php
CHANGED
@@ -137,12 +137,6 @@ class WPSEO_Meta {
|
|
137 |
'default_value' => '0',
|
138 |
'description' => '',
|
139 |
],
|
140 |
-
'inclusive_language_score' => [
|
141 |
-
'type' => 'hidden',
|
142 |
-
'title' => 'inclusive_language_score',
|
143 |
-
'default_value' => '0',
|
144 |
-
'description' => '',
|
145 |
-
],
|
146 |
'is_cornerstone' => [
|
147 |
'type' => 'hidden',
|
148 |
'title' => 'is_cornerstone',
|
@@ -1033,34 +1027,20 @@ class WPSEO_Meta {
|
|
1033 |
$post_ids = array_map( $callback, $post_ids );
|
1034 |
|
1035 |
/*
|
1036 |
-
* If
|
1037 |
* We only check for the additional keywords if we've not already found two.
|
1038 |
* In that case there's no use for an additional query as we already know
|
1039 |
* that the keyword has been used multiple times before.
|
1040 |
*/
|
1041 |
-
if (
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
-
|
1050 |
-
'post__not_in' => [ $post_id ],
|
1051 |
-
'fields' => 'ids',
|
1052 |
-
'post_type' => 'any',
|
1053 |
-
|
1054 |
-
/*
|
1055 |
-
* We only need to return zero, one or two results:
|
1056 |
-
* - Zero: keyword hasn't been used before
|
1057 |
-
* - One: Keyword has been used once before
|
1058 |
-
* - Two or more: Keyword has been used twice or more before
|
1059 |
-
*/
|
1060 |
-
'posts_per_page' => 2,
|
1061 |
-
];
|
1062 |
-
$get_posts = new WP_Query( $query );
|
1063 |
-
$post_ids = array_merge( $post_ids, $get_posts->posts );
|
1064 |
}
|
1065 |
|
1066 |
return $post_ids;
|
137 |
'default_value' => '0',
|
138 |
'description' => '',
|
139 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
'is_cornerstone' => [
|
141 |
'type' => 'hidden',
|
142 |
'title' => 'is_cornerstone',
|
1027 |
$post_ids = array_map( $callback, $post_ids );
|
1028 |
|
1029 |
/*
|
1030 |
+
* If Premium is installed, get the additional keywords as well.
|
1031 |
* We only check for the additional keywords if we've not already found two.
|
1032 |
* In that case there's no use for an additional query as we already know
|
1033 |
* that the keyword has been used multiple times before.
|
1034 |
*/
|
1035 |
+
if ( count( $post_ids ) < 2 ) {
|
1036 |
+
/**
|
1037 |
+
* Allows enhancing the array of posts' that share their focus keywords with the post's focus keywords.
|
1038 |
+
*
|
1039 |
+
* @param array $post_ids The array of posts' ids that share their related keywords with the post.
|
1040 |
+
* @param string $keyword The keyword to search for.
|
1041 |
+
* @param int $post_id The id of the post the keyword is associated to.
|
1042 |
+
*/
|
1043 |
+
$post_ids = apply_filters( 'wpseo_posts_for_focus_keyword', $post_ids, $keyword, $post_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1044 |
}
|
1045 |
|
1046 |
return $post_ids;
|
inc/options/class-wpseo-taxonomy-meta.php
CHANGED
@@ -59,7 +59,6 @@ class WPSEO_Taxonomy_Meta extends WPSEO_Option {
|
|
59 |
'wpseo_focuskw' => '',
|
60 |
'wpseo_linkdex' => '',
|
61 |
'wpseo_content_score' => '',
|
62 |
-
'wpseo_inclusive_language_score' => '',
|
63 |
'wpseo_focuskeywords' => '[]',
|
64 |
'wpseo_keywordsynonyms' => '[]',
|
65 |
'wpseo_is_cornerstone' => '0',
|
59 |
'wpseo_focuskw' => '',
|
60 |
'wpseo_linkdex' => '',
|
61 |
'wpseo_content_score' => '',
|
|
|
62 |
'wpseo_focuskeywords' => '[]',
|
63 |
'wpseo_keywordsynonyms' => '[]',
|
64 |
'wpseo_is_cornerstone' => '0',
|
inc/wpseo-functions-deprecated.php
CHANGED
@@ -16,3 +16,17 @@ if ( ! function_exists( 'initialize_wpseo_front' ) ) {
|
|
16 |
_deprecated_function( __FUNCTION__, 'WPSEO 14.0' );
|
17 |
}
|
18 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
_deprecated_function( __FUNCTION__, 'WPSEO 14.0' );
|
17 |
}
|
18 |
}
|
19 |
+
|
20 |
+
if ( ! function_exists( 'wpseo_cli_init' ) ) {
|
21 |
+
|
22 |
+
// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
|
23 |
+
/**
|
24 |
+
* Initialize the WP-CLI integration.
|
25 |
+
*
|
26 |
+
* @deprecated 19.6.1
|
27 |
+
* @codeCoverageIgnore
|
28 |
+
*/
|
29 |
+
function wpseo_cli_init() {
|
30 |
+
_deprecated_function( __FUNCTION__, 'WPSEO 19.6.1' );
|
31 |
+
}
|
32 |
+
}
|
js/dist/37.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
(window.webpackJsonp_wordpress_seo=window.webpackJsonp_wordpress_seo||[]).push([[37],{
|
1 |
+
(window.webpackJsonp_wordpress_seo=window.webpackJsonp_wordpress_seo||[]).push([[37],{280:function(t,s,e){"use strict";e.r(s),e.d(s,"scopeCss",(function(){return S}));const o=")(?:\\(((?:\\([^)(]*\\)|[^)(]*)+?)\\))?([^,{]*)",r=new RegExp("(-shadowcsshost"+o,"gim"),c=new RegExp("(-shadowcsscontext"+o,"gim"),n=new RegExp("(-shadowcssslotted"+o,"gim"),l=/-shadowcsshost-no-combinator([^\s]*)/,a=[/::shadow/g,/::content/g],i=/-shadowcsshost/gim,h=/:host/gim,p=/::slotted/gim,d=/:host-context/gim,u=/\/\*\s*[\s\S]*?\*\//g,g=/\/\*\s*#\s*source(Mapping)?URL=[\s\S]+?\*\//g,m=/(\s*)([^;\{\}]+?)(\s*)((?:{%BLOCK%}?\s*;?)|(?:\s*;))/g,w=/([{}])/g,f=(t,s)=>{const e=_(t);let o=0;return e.escapedString.replace(m,(...t)=>{const r=t[2];let c="",n=t[4],l="";n&&n.startsWith("{%BLOCK%")&&(c=e.blocks[o++],n=n.substring("%BLOCK%".length+1),l="{");const a=s({selector:r,content:c});return`${t[1]}${a.selector}${t[3]}${l}${a.content}${n}`})},_=t=>{const s=t.split(w),e=[],o=[];let r=0,c=[];for(let t=0;t<s.length;t++){const n=s[t];"}"===n&&r--,r>0?c.push(n):(c.length>0&&(o.push(c.join("")),e.push("%BLOCK%"),c=[]),e.push(n)),"{"===n&&r++}return c.length>0&&(o.push(c.join("")),e.push("%BLOCK%")),{escapedString:e.join(""),blocks:o}},x=(t,s,e)=>t.replace(s,(...t)=>{if(t[2]){const s=t[2].split(","),o=[];for(let r=0;r<s.length;r++){const c=s[r].trim();if(!c)break;o.push(e("-shadowcsshost-no-combinator",c,t[3]))}return o.join(",")}return"-shadowcsshost-no-combinator"+t[3]}),$=(t,s,e)=>t+s.replace("-shadowcsshost","")+e,b=(t,s,e)=>s.indexOf("-shadowcsshost")>-1?$(t,s,e):t+s+e+", "+s+" "+t+e,O=(t,s,e,o,r)=>f(t,t=>{let r=t.selector,c=t.content;return"@"!==t.selector[0]?r=((t,s,e,o)=>t.split(",").map(t=>o&&t.indexOf("."+o)>-1?t.trim():((t,s)=>!(t=>(t=t.replace(/\[/g,"\\[").replace(/\]/g,"\\]"),new RegExp("^("+t+")([>\\s~+[.,{:][\\s\\S]*)?$","m")))(s).test(t))(t,s)?((t,s,e)=>{const o="."+(s=s.replace(/\[is=([^\]]*)\]/g,(t,...s)=>s[0])),r=t=>{let r=t.trim();if(!r)return"";if(t.indexOf("-shadowcsshost-no-combinator")>-1)r=((t,s,e)=>{if(i.lastIndex=0,i.test(t)){const s="."+e;return t.replace(l,(t,e)=>e.replace(/([^:]*)(:*)(.*)/,(t,e,o,r)=>e+s+o+r)).replace(i,s+" ")}return s+" "+t})(t,s,e);else{const s=t.replace(i,"");if(s.length>0){const t=s.match(/([^:]*)(:*)(.*)/);t&&(r=t[1]+o+t[2]+t[3])}}return r},c=(t=>{const s=[];let e,o=0;return e=(t=t.replace(/(\[[^\]]*\])/g,(t,e)=>{const r=`__ph-${o}__`;return s.push(e),o++,r})).replace(/(:nth-[-\w]+)(\([^)]+\))/g,(t,e,r)=>{const c=`__ph-${o}__`;return s.push(r),o++,e+c}),{content:e,placeholders:s}})(t);let n,a="",h=0;const p=/( |>|\+|~(?!=))\s*/g;let d=!((t=c.content).indexOf("-shadowcsshost-no-combinator")>-1);for(;null!==(n=p.exec(t));){const s=n[1],e=t.slice(h,n.index).trim();d=d||e.indexOf("-shadowcsshost-no-combinator")>-1,a+=`${d?r(e):e} ${s} `,h=p.lastIndex}const u=t.substring(h);return d=d||u.indexOf("-shadowcsshost-no-combinator")>-1,a+=d?r(u):u,g=c.placeholders,a.replace(/__ph-(\d+)__/g,(t,s)=>g[+s]);var g})(t,s,e).trim():t.trim()).join(", "))(t.selector,s,e,o):(t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document"))&&(c=O(t.content,s,e,o)),{selector:r.replace(/\s{2,}/g," ").trim(),content:c}}),S=(t,s,e)=>{const o=s+"-h",l=s+"-s",i=t.match(g)||[];t=(t=>t.replace(u,""))(t);const m=[];if(e){const s=t=>{const s=`/*!@___${m.length}___*/`,e=`/*!@${t.selector}*/`;return m.push({placeholder:s,comment:e}),t.selector=s+t.selector,t};t=f(t,t=>"@"!==t.selector[0]?s(t):t.selector.startsWith("@media")||t.selector.startsWith("@supports")||t.selector.startsWith("@page")||t.selector.startsWith("@document")?(t.content=f(t.content,s),t):t)}const w=((t,s,e,o,l)=>{const i=((t,s)=>{const e="."+s+" > ",o=[];return t=t.replace(n,(...t)=>{if(t[2]){const s=t[2].trim(),r=t[3],c=e+s+r;let n="";for(let s=t[4]-1;s>=0;s--){const e=t[5][s];if("}"===e||","===e)break;n=e+n}const l=n+c,a=`${n.trimRight()}${c.trim()}`;if(l.trim()!==a.trim()){const t=`${a}, ${l}`;o.push({orgSelector:l,updatedSelector:t})}return c}return"-shadowcsshost-no-combinator"+t[3]}),{selectors:o,cssText:t}})(t=(t=>x(t,c,b))(t=(t=>x(t,r,$))(t=t.replace(d,"-shadowcsscontext").replace(h,"-shadowcsshost").replace(p,"-shadowcssslotted"))),o);return t=(t=>a.reduce((t,s)=>t.replace(s," "),t))(t=i.cssText),s&&(t=O(t,s,e,o)),{cssText:(t=(t=t.replace(/-shadowcsshost-no-combinator/g,"."+e)).replace(/>\s*\*\s+([^{, ]+)/gm," $1 ")).trim(),slottedSelectors:i.selectors}})(t,s,o,l);return t=[w.cssText,...i].join("\n"),e&&m.forEach(({placeholder:s,comment:e})=>{t=t.replace(s,e)}),w.slottedSelectors.forEach(s=>{t=t.replace(s.orgSelector,s.updatedSelector)}),t}}}]);
|
js/dist/addon-installation.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));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=
|
2 |
display: flex;
|
3 |
justify-content: flex-end;
|
4 |
gap: 8px;
|
@@ -6,4 +6,4 @@
|
|
6 |
/* translators: %s expands to Yoast */
|
7 |
Object(l.__)("%s SEO installation","wordpress-seo"),"Yoast");let c,i=Object(l.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(i=e.addons[0]),1!==e.addons.length&&(c=Object(o.createElement)("ul",{className:"ul-disc"},e.addons.map((e,t)=>Object(o.createElement)("li",{key:"addon-"+t},e)))),t?Object(o.createElement)(d.a,{title:r,onRequestClose:a,icon:Object(o.createElement)(u.a,null),isDismissible:!1},Object(o.createElement)("p",null,Object(l.sprintf)(
|
8 |
/* translators: %s expands to Yoast SEO Premium */
|
9 |
-
Object(l.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),i)),c,Object(o.createElement)(p,null,Object(o.createElement)(s.Button,{onClick:a,id:"close-addon-installation-dialog"},Object(l.__)("Cancel","wordpress-seo")),Object(o.createElement)(s.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(l.__)("Install and activate","wordpress-seo")))):null};f.propTypes={nonce:r.a.string.isRequired,addons:r.a.array},f.defaultProps={addons:[]};var m=f;const b=document.createElement("div");b.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(b),Object(o.render)(Object(o.createElement)(m,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),b)},3:function(e,t){e.exports=window.React},33:function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var o=n(11),a=n.n(o),r=n(0),s=n(1),l=n.n(s),c=n(13);const i="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:o,additionalClassName:s,...l}=e,i=o?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,a()({title:t,className:`${n} ${s}`,icon:i},l),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:i,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},7:function(e,t){e.exports=window.yoast.componentsNew},8:function(e,t){e.exports=window.yoast.styledComponents}
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var a=t[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,n),a.l=!0,a.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 a in e)n.d(o,a,function(t){return e[t]}.bind(null,a));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=278)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},100:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o,a,r=n(3);function s(){return(s=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 l(e){return r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=r.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=r.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})))}},11: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},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},13:function(e,t){e.exports=window.wp.components},2:function(e,t){e.exports=window.wp.i18n},278:function(e,t,n){"use strict";n.r(t);var o=n(0),a=n(1),r=n.n(a),s=n(7),l=n(2),c=n(8),i=n.n(c),d=n(33),u=n(100);const p=i.a.div`
|
2 |
display: flex;
|
3 |
justify-content: flex-end;
|
4 |
gap: 8px;
|
6 |
/* translators: %s expands to Yoast */
|
7 |
Object(l.__)("%s SEO installation","wordpress-seo"),"Yoast");let c,i=Object(l.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(i=e.addons[0]),1!==e.addons.length&&(c=Object(o.createElement)("ul",{className:"ul-disc"},e.addons.map((e,t)=>Object(o.createElement)("li",{key:"addon-"+t},e)))),t?Object(o.createElement)(d.a,{title:r,onRequestClose:a,icon:Object(o.createElement)(u.a,null),isDismissible:!1},Object(o.createElement)("p",null,Object(l.sprintf)(
|
8 |
/* translators: %s expands to Yoast SEO Premium */
|
9 |
+
Object(l.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),i)),c,Object(o.createElement)(p,null,Object(o.createElement)(s.Button,{onClick:a,id:"close-addon-installation-dialog"},Object(l.__)("Cancel","wordpress-seo")),Object(o.createElement)(s.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(l.__)("Install and activate","wordpress-seo")))):null};f.propTypes={nonce:r.a.string.isRequired,addons:r.a.array},f.defaultProps={addons:[]};var m=f;const b=document.createElement("div");b.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(b),Object(o.render)(Object(o.createElement)(m,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),b)},3:function(e,t){e.exports=window.React},33:function(e,t,n){"use strict";n.d(t,"b",(function(){return i}));var o=n(11),a=n.n(o),r=n(0),s=n(1),l=n.n(s),c=n(13);const i="yoast yoast-gutenberg-modal",d=e=>{const{title:t,className:n,showYoastIcon:o,additionalClassName:s,...l}=e,i=o?Object(r.createElement)("span",{className:"yoast-icon"}):null;return Object(r.createElement)(c.Modal,a()({title:t,className:`${n} ${s}`,icon:i},l),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:i,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},7:function(e,t){e.exports=window.yoast.componentsNew},8:function(e,t){e.exports=window.yoast.styledComponents}});
|
js/dist/admin-global.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(o){var t={};function n(e){if(t[e])return t[e].exports;var a=t[e]={i:e,l:!1,exports:{}};return o[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=o,n.c=t,n.d=function(o,t,e){n.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:e})},n.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,t){if(1&t&&(o=n(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var a in o)n.d(e,a,function(t){return o[t]}.bind(null,a));return e},n.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,"a",t),t},n.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},n.p="",n(n.s=
|
1 |
+
!function(o){var t={};function n(e){if(t[e])return t[e].exports;var a=t[e]={i:e,l:!1,exports:{}};return o[e].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=o,n.c=t,n.d=function(o,t,e){n.o(o,t)||Object.defineProperty(o,t,{enumerable:!0,get:e})},n.r=function(o){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},n.t=function(o,t){if(1&t&&(o=n(o)),8&t)return o;if(4&t&&"object"==typeof o&&o&&o.__esModule)return o;var e=Object.create(null);if(n.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:o}),2&t&&"string"!=typeof o)for(var a in o)n.d(e,a,function(t){return o[t]}.bind(null,a));return e},n.n=function(o){var t=o&&o.__esModule?function(){return o.default}:function(){return o};return n.d(t,"a",t),t},n.o=function(o,t){return Object.prototype.hasOwnProperty.call(o,t)},n.p="",n(n.s=236)}({16:function(o,t){o.exports=window.jQuery},236:function(o,t,n){"use strict";n.r(t);var e=n(16),a=n.n(e);!function(o){function t(o,t,n){const e=new FormData,s={action:"wpseo_set_ignore",option:o,_wpnonce:n};for(const[o,t]of Object.entries(s))e.append(o,t);return fetch(ajaxurl,{method:"POST",body:e}).then(n=>(n&&(a()("#"+t).hide(),a()("#hidden_ignore_"+o).val("ignore")),n))}function n(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function e(t,n){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==n.html){n.html&&(t.closest(".yoast-container").html(n.html),s());var e=o("#wp-admin-bar-wpseo-menu"),a=e.find(".yoast-issue-counter");a.length||(e.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),a=e.find(".yoast-issue-counter")),a.html(n.total),0===n.total?a.hide():a.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+n.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(n.total)}}function s(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",(function(){var t=o(this),n=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:t.data("json")||n.data("json")},e.bind(this,n),"json")})),t.on("click",".restore",(function(){var t=o(this),n=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:n.data("json")},e.bind(this,n),"json")}))}function i(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function r(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var t=o(this);if(!t.data("scrollContainer")){var n=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),e=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);n.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",e),t.data("scrollHint",n),t.appendTo(e.find(".yoast-table-scrollable__inner")),i(t)}}))}a()(document).ready((function(){a()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var o=a()(this).parent();return a.a.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),a.a.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,(function(){o.slideUp(100,(function(){o.remove()}))})),!1})),a()(".yoast-help-button").on("click",(function(){var o=a()(this),t=a()("#"+o.attr("aria-controls")),n=t.is(":visible");a()(t).slideToggle(200,(function(){o.attr("aria-expanded",!n)}))})),a()("button#robotsmessage-dismiss-button").on("click",(function(){t("search_engines_discouraged_notice","robotsmessage",a()(this).data("nonce")).then(()=>{window.location.href.includes("page=wpseo_dashboard")&&window.location.reload()})}))})),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return a()('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){i(o(this))}))})),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){r()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){r()}),100)}}),o(document).ready((function(){o(".yoast-issue-added").on("mouseenter mouseleave",(function(o){o.stopPropagation(),n()})).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",n),setTimeout(n,3e3),s(),function(){const o=a()(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){const n=t.find("path"),e=o.css("backgroundColor");n.css("fill",e)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),r()}))}(a.a)}});
|
js/dist/admin-modules.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function a(l){if(t[l])return t[l].exports;var c=t[l]={i:l,l:!1,exports:{}};return e[l].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)a.d(l,c,function(t){return e[t]}.bind(null,c));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=
|
2 |
/* translators: %s : Expands to the add-on name. */
|
3 |
Object(r.__)("Unlock with %s!","wordpress-seo"),"Premium"),A=z?"":" card-disabled";return Object(l.createElement)(l.Fragment,null,!w&&Object(l.createElement)("div",{id:p,className:"card card-small"+A},Object(l.createElement)("h2",null,a," ",E),Object(l.createElement)("h3",null,c),Object(l.createElement)("div",{className:"workout-card-content-flex"},Object(l.createElement)("ul",{id:p+"-usp-list",className:"yoast-list--usp"},n.map((e,t)=>Object(l.createElement)("li",{id:`${p}-usp-${t}`,key:`${p}-${t}`},e))),d&&Object(l.createElement)(O,null)),Object(l.createElement)("span",null,z&&Object(l.createElement)(s.NewButton,{id:p+"-action-button",className:"yoast-button yoast-button--"+(g?"secondary":"primary"),onClick:j},y),!z&&Object(l.createElement)(F,{id:p+"-upsell-button",href:f,className:"yoast-button yoast-button-upsell"},B,Object(l.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),m&&u&&Object(l.createElement)("div",{className:"workout-card-progress"},Object(l.createElement)(s.ProgressBar,{id:p+"-progress",max:m.length,value:u.length}),Object(l.createElement)("label",{htmlFor:p+"-progress"},Object(l.createElement)("i",null,Object(r.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
|
4 |
-
Object(r.__)("%1$s/%2$s steps completed","wordpress-seo"),u.length,m.length)))))),z&&w===t&&Object(l.createElement)(v,null))}p.propTypes={name:n.a.string.isRequired,title:n.a.string.isRequired,subtitle:n.a.string.isRequired,usps:n.a.arrayOf(n.a.string).isRequired,id:n.a.string,finishableSteps:n.a.arrayOf(n.a.string),finishedSteps:n.a.arrayOf(n.a.string),image:n.a.func,upsellLink:n.a.string,upsellText:n.a.string,workout:n.a.func,badges:n.a.arrayOf(n.a.element)},p.defaultProps={id:"",finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[]}},193:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 296 317",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 295.274 .96)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.18,cy:184.261,r:131.18}),p.createElement("g",{fill:"#EAB881"},p.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 00-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 00-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),p.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 001.09 20.32 54.8 54.8 0 00-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),p.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),p.createElement("path",{d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 003.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 01-1.42-.59c.42.309.906.51 1.42.59z",fill:"#D38053"}),p.createElement("path",{d:"M214.2 69.33a4.13 4.13 0 01-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 01-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 004.51 2.28c2.54-1.52.8.82-4.51-2.28z",fill:"#D38053"}),p.createElement("path",{d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z",fill:"#EAB881"}),p.createElement("path",{d:"M217.52 64.67a4.92 4.92 0 012.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 014.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z",fill:"#D38053"}),p.createElement("path",{d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 01-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z",fill:"#D38053"}),p.createElement("path",{d:"M190.92 211.52a81.3 81.3 0 00-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z",fill:"#A52A6A"}),p.createElement("path",{d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z",fill:"#A52A6A"}),p.createElement("path",{d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z",fill:"#7C2050"}),p.createElement("path",{d:"M192.93 72.9a3 3 0 01-.92 2.58 25.5 25.5 0 009.52 1.8c2.47-.02.6.27-8.6-4.38z",fill:"#EAB881"}),p.createElement("path",{d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 00.85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 012.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 00-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z",fill:"#EAB881"}),p.createElement("path",{d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 000 2.57z",fill:"#EAB881"}),p.createElement("path",{d:"M194.68 57.19a15.87 15.87 0 00.36-1.77c-.14.62-.25 1.18-.36 1.77z",fill:"#D38053"}),p.createElement("path",{d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 003.46-3.59zm69-3.33l-.77-.17c.242.112.504.17.77.17z",fill:"#A52A6A"}),p.createElement("path",{d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 00201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z",fill:"#A52A6A"}),p.createElement("path",{d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 01-35.06-36.66 203.23 203.23 0 0049.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z",fill:"#7C2050"}),p.createElement("path",{d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33l.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z",fill:"#EAB881"}),p.createElement("path",{d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z",fill:"#D38053"}),p.createElement("path",{d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 01-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 004.78-2.95 18.42 18.42 0 01-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 00-5.1-35.45",fill:"#EAB881"}),p.createElement("path",{d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z",fill:"#D38053"}),p.createElement("path",{d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0117.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z",fill:"#000"}),p.createElement("path",{d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 01-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 012.73 4.71z",fill:"#FFF"}),p.createElement("path",{d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 01.39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z",fill:"#000"}),p.createElement("path",{d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 102.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 00-2.44-9.71 16.7 16.7 0 01-3.08.15z",fill:"#000"}),p.createElement("path",{d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 00113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0015.66 2.44 6.35 6.35 0 01-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0018.08.78 11.39 11.39 0 01-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 01-5.36 5.83zm-77.44 3.81l-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 004.06 4 16.75 16.75 0 01-4.06-4.03v.03zm-.59-.86l.24.35-.24-.35z",fill:"#000"}),p.createElement("path",{d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z",fill:"#000"}),p.createElement("path",{d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z",fill:"#EAB881"}),p.createElement("path",{d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 014.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 01-2.17 5 5.2 5.2 0 005.09-3.3zm130.32-29.93a3.7 3.7 0 01-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z",fill:"#D38053"}),p.createElement("path",{d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z",fill:"#D38053"}))))}var u=a(35);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.cornerstone)),p=l||"https://yoa.st/workout-cornerstone-upsell";return Object(c.createElement)(i.a,{id:"cornerstone-workout-card",name:u.c.cornerstone,title:Object(o.__)("The cornerstone approach","wordpress-seo"),subtitle:Object(o.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[Object(o.__)("Make your important articles rank higher","wordpress-seo"),Object(o.__)("Bring more visitors to your articles","wordpress-seo")],image:m,finishableSteps:u.a.cornerstone,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},194:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 299 322",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 298.412 0)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.2,cy:190.029,r:131.2}),p.createElement("path",{d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 01-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 003.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 013.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 014 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 01-.3-2.2 50.2 50.2 0 01-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 00.6-9.5v-2a69 69 0 00-.3-7.8l-.2-1.6a10.5 10.5 0 002.4.3v-.1zm-11-25.6l1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z",fill:"#DB7A53"}),p.createElement("path",{d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 005.1-1.3l-.3-.2a1.6 1.6 0 00.2 0 3.3 3.3 0 002.7-.6 34.2 34.2 0 006.4-4 5 5 0 002-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223.7 76.23v.3a3.7 3.7 0 01-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 01.3-1.7 7.1 7.1 0 012.5 2.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 005.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 01-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 000 .3l-.3-.3a2.4 2.4 0 00-.9-2 10.2 10.2 0 00-3.2-1.9 5.5 5.5 0 012.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 00.2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 000-.2l.8-1a1.3 1.3 0 01-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 012.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 002.5.7l16.8 5.1a7.8 7.8 0 013 2.5c3 3.9 4.4 10.7 1.3 14.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M228.6 85.73a34.2 34.2 0 01-6.4 4 3.3 3.3 0 01-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 002-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 00-.6-1.5 5.2 5.2 0 00.8-.8 6.7 6.7 0 001.3-2 6.3 6.3 0 011.5-.4 10.2 10.2 0 013.2 1.9 2.4 2.4 0 01.9 2 5 5 0 01-2.1 2.8zm-5-16.3a16.4 16.4 0 00-2.2 3.5l-.1.2a39 39 0 00-2.4-.6 9 9 0 012.3 1 3.2 3.2 0 00-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 01-.9 1.8 9.3 9.3 0 01-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 012.7-1.4 35.6 35.6 0 0113 2.7c-.5.3-5.3-.2-6 .6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M219.4 83.23a6 6 0 01-2.8.7 7.8 7.8 0 01-1.5-.2 4 4 0 001.5.2 9.8 9.8 0 003-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 01-.2 0 39 39 0 00-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 00-1.2-1.7 13 13 0 00-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 016.9.2l2.1.3 3.5 15.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M223.7 76.23a5 5 0 01.6 3.4 7 7 0 01.8-.3 6.7 6.7 0 01-1.3 2.1 5.2 5.2 0 01-.8.8 1.7 1.7 0 00-1.2-.2l-.2 1a10 10 0 01-2 .7 9.8 9.8 0 01-3 .2 6 6 0 002.8-.7l.5-.3a9.3 9.3 0 002.7-3.3 11.3 11.3 0 001-1.9 3.7 3.7 0 00.1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 011.1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a3.1 3.1 0 00-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 005.2 2 43 43 0 004.2 2v.1zm.1-2.2h.1a30.3 30.3 0 005.4.4 30 30 0 003.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 001.1-.3zm13 2.5a1.4 1.4 0 00-.3 0 10.6 10.6 0 00-2-.4h-.4a26.6 26.6 0 01-3-1.8l1.7-.1a3.2 3.2 0 001.3-.4 1.2 1.2 0 00.5-1l6.7 2.7-6.7-3.6a39 39 0 017 3c.1.2.3.2.4.3a8.4 8.4 0 01-5.2 1.3z",fill:"#F9BF8C"}),p.createElement("path",{d:"M225 79.33a7 7 0 00-.7.3 5 5 0 00-.6-3.4 7.1 7.1 0 00-2.5-2.7 9 9 0 00-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 00.6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 01-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 00-3-.6 6.3 6.3 0 00-1.4.3h-.1zm6 3.9a3 3 0 010-.3c.3 0 1 1.3 2 3a23.8 23.8 0 004.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 01-5.2 2.2 14 14 0 01-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z",fill:"#DB7A53"}),p.createElement("path",{d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 006.4 3 1.2 1.2 0 01-.6 1 3.2 3.2 0 01-1.2.4l-1.8.1a14.4 14.4 0 00-3.6-1.9 13.4 13.4 0 01-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 000-2 3.5 3.5 0 01-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 012.2.4 13 13 0 015.2 3.5zm-6.1 13a39.6 39.6 0 014.7 2.2 30.3 30.3 0 01-5.3-.5 1.7 1.7 0 00.6-1.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 012 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 00-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 01-5.2-2l-.4-.3a1.7 1.7 0 01-.5-.5 1.5 1.5 0 010-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M199.4 86.63a5 5 0 002 .8l.9.3a1.7 1.7 0 01-.7 1.7v.1a2.7 2.7 0 01-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 01.4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 01.8-1.6l.5 4a3 3 0 01-.9-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M211.8 91.63h-1.2a30 30 0 01-3.6-1.7 39.6 39.6 0 00-4.7-2.2l-.8-.3a5 5 0 01-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 00-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 00.9.7 13.4 13.4 0 003 1.3 14.4 14.4 0 013.6 1.9 26.6 26.6 0 003 1.7z",fill:"#DB7A53"}),p.createElement("path",{d:"M195.8 85.33a1.7 1.7 0 00-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 00-1.3.6 43 43 0 01-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 01.5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 00.3-1 3.8 3.8 0 010 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8l5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 01-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a4.2 4.2 0 011.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 012 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 01-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 01.7-2.6 3.1 3.1 0 01.8-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03a10.5 10.5 0 01-2.4-.2 5.3 5.3 0 01-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0010.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 01-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z",fill:"#A52A6A"}),p.createElement("path",{d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 00-3.9-14.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M41.3 265.93l-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 012.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 00-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 00-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 00-13.5 9.4l-1 1a37 37 0 014.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z",fill:"#009288"}),p.createElement("path",{d:"M29.5 189.23a37 37 0 014.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 01-21.4-53.5 133 133 0 0128.7-24.1v.2z",fill:"#F9BF8C"}),p.createElement("path",{d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z",fill:"#DB7A53"}),p.createElement("path",{d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M87.3 151.73a56.8 56.8 0 01-17.1-22.8 62.4 62.4 0 0043 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z",fill:"#216D64"}),p.createElement("path",{d:"M122.5 72.33a9.8 9.8 0 00-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 00-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14l.8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 002.5 12.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M154.7 95.83a44.5 44.5 0 00-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 00-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 00-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 01-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 001.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 01.6-1h17.1a11 11 0 013.8 6.7 58.3 58.3 0 001.2-6.8l3-.2-.8.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z",fill:"#D86060"}),p.createElement("path",{d:"M101 113.43l-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 01-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z",fill:"#BC3939"}),p.createElement("path",{d:"M108.5 84.43l.2-.5a15.2 15.2 0 00-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 11.408-9.592A4.8 4.8 0 0197 85.629z",fill:"#FFF"}),p.createElement("path",{d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 00-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z",fill:"#000"}),p.createElement("path",{d:"M127.5 83.03h-.1a27 27 0 0011.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 118.798-.2 4.4 4.4 0 01-8.798.2z",fill:"#FFF"}),p.createElement("path",{d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 001.2.1l.1.2a5 5 0 01-1.4.6 2.4 2.4 0 01-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z",fill:"#000"}),p.createElement("path",{d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 00-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z",fill:"#B2512B"}),p.createElement("circle",{fill:"#000",transform:"rotate(-78.1 97.1 80.83)",cx:97.1,cy:80.829,r:4.8}),p.createElement("circle",{fill:"#000",cx:134.7,cy:79.329,r:4.4}),p.createElement("path",{d:"M106.3 109.73a40 40 0 01-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0013.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z",fill:"#DB7A53"}),p.createElement("path",{d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 008.4-.2 3.5 3.5 0 00.4 2.7l3.8 2.6a44.6 44.6 0 00-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 01-4.4 11.9l-12.4 7a10.3 10.3 0 00-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 013-2 9.8 9.8 0 00.1 1H54zm2.7 55l1.4.7 3.5-1.6a5.5 5.5 0 01-2.4 1.9 10.4 10.4 0 01-1.2.2l-1.2-1.2h-.1z",fill:"#838BC5"}),p.createElement("path",{d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 01-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 010-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z",fill:"#0071BC"}),p.createElement("path",{d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 01-3.8-2.6 3.5 3.5 0 01-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 01-2.6 6.2 14.6 14.6 0 00-4.7-13.6z",fill:"#0071BC"}),p.createElement("path",{d:"M126.1 69.33h-.7a14.6 14.6 0 013.2-1.7 14.8 14.8 0 00-2.5 1.7zm-.9 17.8l.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 01.9-8.8 9 9 0 011.3.8 16 16 0 002.5 12.1zm-2.1-14.5a6.3 6.3 0 00-.6-.3l.5-.9c1 0 .4.2.1 1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M56.7 84.03a12.7 12.7 0 00-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z",fill:"#93278F"}),p.createElement("path",{d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 00-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0012.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 011.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 00-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 00-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z",fill:"#5D237A"}),p.createElement("path",{d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#CE6D42"}))))}var u=a(35);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.orphaned)),p=l||"https://yoa.st/workout-orphaned-content-upsell";return Object(c.createElement)(i.a,{id:"orphaned-workout-card",name:u.c.orphaned,title:Object(o.__)("Orphaned content","wordpress-seo"),subtitle:Object(o.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[Object(o.__)("Make pages easier for Google and visitors to find","wordpress-seo"),Object(o.__)("Add internal links to your posts and pages","wordpress-seo")],image:m,finishableSteps:u.a.orphaned,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},2:function(e,t){e.exports=window.wp.i18n},236:function(e,t,a){"use strict";a.r(t);var l=a(193),c=a(194);window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:l.a,OrphanedWorkoutCard:c.a}}}},3:function(e,t){e.exports=window.React},35:function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return n}));const l={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},c={cornerstone:{chooseCornerstones:"chooseCornerstones",checkLinks:"checkLinks",addLinks:"addLinks",improved:"improved",skipped:"skipped"},orphaned:{improveRemove:"improveRemove",update:"update",addLinks:"addLinks",removed:"removed",noindexed:"noindexed",improved:"improved",skipped:"skipped"}},n={cornerstone:[c.cornerstone.chooseCornerstones,c.cornerstone.checkLinks,c.cornerstone.addLinks],orphaned:[c.orphaned.improveRemove,c.orphaned.update,c.orphaned.addLinks]}},6:function(e,t){e.exports=window.wp.data},7:function(e,t){e.exports=window.yoast.componentsNew},9:function(e,t){e.exports=window.yoast.helpers}});
|
1 |
+
!function(e){var t={};function a(l){if(t[l])return t[l].exports;var c=t[l]={i:l,l:!1,exports:{}};return e[l].call(c.exports,c,c.exports,a),c.l=!0,c.exports}a.m=e,a.c=t,a.d=function(e,t,l){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:l})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var c in e)a.d(l,c,function(t){return e[t]}.bind(null,c));return l},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=237)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},145:function(e,t,a){"use strict";a.d(t,"a",(function(){return p}));var l=a(0),c=a(1),n=a.n(c),r=a(2),o=a(6),s=a(7),i=a(9);function p(e){let{name:t,title:a,subtitle:c,usps:n,id:p,image:d,finishableSteps:m,finishedSteps:u,upsellLink:f,upsellText:h,workout:z,badges:E}=e;const{openWorkout:b,toggleWorkout:M}=Object(o.useDispatch)("yoast-seo/workouts"),w=Object(o.useSelect)(e=>e("yoast-seo/workouts").getActiveWorkout(),[]),[g,k]=Object(l.useState)(!1),v=z,O=d;Object(l.useEffect)(()=>{m&&u&&u.length===m.length?k(!0):k(!1)},[u,m]);const y=Object(l.useMemo)(()=>u&&0!==u.length?u.length<m.length?Object(r.__)("Continue workout!","wordpress-seo"):Object(r.__)("Do workout again","wordpress-seo"):Object(r.__)("Start workout!","wordpress-seo"),[u,m]),j=Object(l.useCallback)(()=>{b(t),g&&M(t)},[z,g,b,M]),F=Object(i.makeOutboundLink)(),B=h||Object(r.sprintf)(
|
2 |
/* translators: %s : Expands to the add-on name. */
|
3 |
Object(r.__)("Unlock with %s!","wordpress-seo"),"Premium"),A=z?"":" card-disabled";return Object(l.createElement)(l.Fragment,null,!w&&Object(l.createElement)("div",{id:p,className:"card card-small"+A},Object(l.createElement)("h2",null,a," ",E),Object(l.createElement)("h3",null,c),Object(l.createElement)("div",{className:"workout-card-content-flex"},Object(l.createElement)("ul",{id:p+"-usp-list",className:"yoast-list--usp"},n.map((e,t)=>Object(l.createElement)("li",{id:`${p}-usp-${t}`,key:`${p}-${t}`},e))),d&&Object(l.createElement)(O,null)),Object(l.createElement)("span",null,z&&Object(l.createElement)(s.NewButton,{id:p+"-action-button",className:"yoast-button yoast-button--"+(g?"secondary":"primary"),onClick:j},y),!z&&Object(l.createElement)(F,{id:p+"-upsell-button",href:f,className:"yoast-button yoast-button-upsell"},B,Object(l.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),m&&u&&Object(l.createElement)("div",{className:"workout-card-progress"},Object(l.createElement)(s.ProgressBar,{id:p+"-progress",max:m.length,value:u.length}),Object(l.createElement)("label",{htmlFor:p+"-progress"},Object(l.createElement)("i",null,Object(r.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
|
4 |
+
Object(r.__)("%1$s/%2$s steps completed","wordpress-seo"),u.length,m.length)))))),z&&w===t&&Object(l.createElement)(v,null))}p.propTypes={name:n.a.string.isRequired,title:n.a.string.isRequired,subtitle:n.a.string.isRequired,usps:n.a.arrayOf(n.a.string).isRequired,id:n.a.string,finishableSteps:n.a.arrayOf(n.a.string),finishedSteps:n.a.arrayOf(n.a.string),image:n.a.func,upsellLink:n.a.string,upsellText:n.a.string,workout:n.a.func,badges:n.a.arrayOf(n.a.element)},p.defaultProps={id:"",finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[]}},194:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 296 317",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 295.274 .96)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.18,cy:184.261,r:131.18}),p.createElement("g",{fill:"#EAB881"},p.createElement("path",{d:"M236.42 96.56c-.15-.43-.29-.87-.44-1.3.15.43.29.87.44 1.3zm-31.98 59.96a11 11 0 00-2.11.82c.67-.3 1.4-.56 2.11-.82zm-2.11.82a58.65 58.65 0 00-6 2.81c2.67-1.11 4.56-2.11 6-2.81z"}),p.createElement("path",{d:"M293.49 164.27c-8.58-10.51-1.05-27.75-34.52-86.31-3-5.22-5.26-14.52-12.85-17.58-9.11-3.67-12.77-9.16-21.89-12.83-6.85-2.76-4-1.36-3.21-.49 1.49 1.67-2-1.31-5.72 7.13-.38.85 2.86 1.63 4 5 .36 1.07.49 1.14 1.23 1.33 4.71 1.2 6.52 6.89 4.2 10.06-.7-1.43.18-6-4.68-6.36 2 1.44 4.06 3.42 4 5.88 9.4 16.64 17.56 14 20 15 12.43 4.92-17.28 64.57 23 86.13-7.34-1.94-14.31-5.46-23.92-1.33 7.28-5.53 2.46-7.57.86-10.89-2.17-2.92-2.29-11.71-2.6-22.62a103.2 103.2 0 001.09 20.32 54.8 54.8 0 00-38-.12c5.19-1.21 15.45 48.34 20.15 53.9 3.8-1.4 23-8.57 35.17-14.11 21.52-9.81 34.94-25.76 35.44-28.31.24-1.47-.85-2.71-1.75-3.8zm-41.62-99.13c.06.1 8.87 19.59.56 1.21-.2-.44-.38-.84-.56-1.21z"}),p.createElement("path",{d:"M215.17 56.04c.46.17 2 1.49-.23-.93-.88 2.39-.6 4.42 2 6.74 1.06-3 0-3.51-1.77-5.81zm-4.33 23.82c.28-.07.36.05-.35-.38l.35.38z"})),p.createElement("path",{d:"M203.74 73.77c0 .4-.33-.06 2.94 2.38l-2.94-2.38zm5.26 4.27c2.3 2 3.13 2.53 2.19 1.77L209 78.04zm6.17-22c.05.06 1.79 2.31 1.83 2.38-.49-1.27-.83-2.01-1.83-2.38zm-.52 11.73c1.38-.08.73 1.34 2.16-.5.52-.67 1.91-3.21.71-2.6.56-2.33-.09-6.71-.19-4.75-.13 2.46-3.7 10.77-8.67 9.87a7.6 7.6 0 003.25.22c2.74-.39 2.36-.97 2.74-2.24zm-5.99 2.02a6.27 6.27 0 01-1.42-.59c.42.309.906.51 1.42.59z",fill:"#D38053"}),p.createElement("path",{d:"M214.2 69.33a4.13 4.13 0 01-.85 3.73c3.38-1.27 3.66-3.51 2.48-4.78-1.18-1.27-1.34.03-1.63 1.05zm-32.31 1.85c.11.84 2.61 2.33 3.3 2.78a13.33 13.33 0 01-3.3-2.78zm10 4.39c-.21.13-.45.1.31 0-.28-.12-.13-.1-.31 0zm-6.51-1.53a29.79 29.79 0 004.51 2.28c2.54-1.52.8.82-4.51-2.28z",fill:"#D38053"}),p.createElement("path",{d:"M202.61 77.13c-.91.35-5.67.26-10.41-1.57-6.74 1-6.41 12.08-1 12.4 8.18.48 10.11 3 13.48 1.92 6.82-2.28 2.4-11.62-2.07-12.75z",fill:"#EAB881"}),p.createElement("path",{d:"M217.52 64.67a4.92 4.92 0 012.54-.48c4.87.36 4 5 4.68 6.36 2.31-3.16.52-8.86-4.2-10.06-2.25-.57.56-2.91-7.86-7.27a10.79 10.79 0 014.84 11.45zm15.23 112.51c-6.79 1.78-17.9 1.65-21-5.2 3.71 11.1 9 26.86 12.86 37.68 2.88-.89 7.41-1.86 8.89-3.4-3.52-4.16-8.67-10.41-8.74-15.89-.07-5.48 2.92-11.16 7.99-13.19zm-26.31-20.36c-.14.17-.15 0 .53 1.27-.18-.46-.35-.89-.53-1.27z",fill:"#D38053"}),p.createElement("path",{d:"M246.11 86.55c-2.26-3.64-4.21.58 2.23-3.3-10.49 4.56-18.5-2.9-24.34-13.21-.05 1.82-1.23 3.13-2.61 4.36-9.64 8.64-10.89 4.95-12.39 3.64-8-7-3.86-2.44-6.09-1-.71.46 4.08 1 5.31 7.11a5.26 5.26 0 01-2.67 5.38c7.41 5.8 14.7 2.46 25.68-4.09 14.67 22.17 7.38 66.27 12.78 73.54 1.6 3.32 6.42 5.36-.86 10.89 9.61-4.13 16.58-.61 23.92 1.33-37.63-20.16-14.29-73.91-20.96-84.65z",fill:"#D38053"}),p.createElement("path",{d:"M190.92 211.52a81.3 81.3 0 00-9.26-12.14c6.41 7.94 17.18 24.84 9.26 12.14z",fill:"#A52A6A"}),p.createElement("path",{d:"M205.85 156.04c-31.36 13.6-26.45 13.21-42 8.34-18.87-5.91-37.14-.76-32.1-1.07 11.82-.72 29.07 49.31 35.44 66.88l62.17-10.35c.64 7.64-20.9-59.34-23.51-63.8z",fill:"#A52A6A"}),p.createElement("path",{d:"M214.23 180.31c-8.73 13.9-32.09 11.23-35.71-4.78 8 32.54 8.23 20.07-9.5 9.69 25.36 25.8 22.47 41.74 28.27 44.5 3.49 1.65 13.65-3.77 26.3-7.69 3.3-1 4.88-1.61 4.76-2.19l-14.12-39.53z",fill:"#7C2050"}),p.createElement("path",{d:"M192.93 72.9a3 3 0 01-.92 2.58 25.5 25.5 0 009.52 1.8c2.47-.02.6.27-8.6-4.38z",fill:"#EAB881"}),p.createElement("path",{d:"M220.06 64.19c-3.36-.25-1 1.37-4.23 4.09 1.18 1.27.9 3.51-2.48 4.78a4.07 4.07 0 00.85-3.73c-2.67 1.26-5.78.74-7-.13 4.38 2.46 8.07-2.64 9.69-7.37-2.58-2.31-2.87-4.34-2-6.74-1.19-1.31-4.4-3.35.19-.49a25 25 0 012.94-5.18c1.27-1.71 5.22-.83 1.65-3.46-1.76-1.3-8.08-2.63-8.81-2.59a4.11 4.11 0 00-3.06 1.53c-4.33-1.59-9.29-1.86-11.78 2-4.24-3.58-9.38 2.15-7.77 6.69 1.44 4-1.86.15-7.06 14.62-1.27 3.54 5.07 7 8.77 7.58 7.7 1.25-18.75-8.93 2.24-.45 3.4 2.66 5.28 1.49 10.44 1.8 1.08-.47 1-1.92 1.05-3.09 0-1.84 6.81 8.52 10.32 5.44 8.71-4.45 13.99-9.58 6.05-15.3z",fill:"#EAB881"}),p.createElement("path",{d:"M192.51 69.95c.38.94.28.45 0-2.57a4.18 4.18 0 000 2.57z",fill:"#EAB881"}),p.createElement("path",{d:"M194.68 57.19a15.87 15.87 0 00.36-1.77c-.14.62-.25 1.18-.36 1.77z",fill:"#D38053"}),p.createElement("path",{d:"M59 167.04c-7.75 3.79-5.09 3.25-3.46 3.59a74.937 74.937 0 003.46-3.59zm69-3.33l-.77-.17c.242.112.504.17.77.17z",fill:"#A52A6A"}),p.createElement("path",{d:"M200.06 262.44c1.23-17.17 10-35.47-31-77.22-8.89-9-13.84-13.86-31.69-19.13 6.35 7.45-.5 40.2-3.43 38.36-25.84-16.17-70.31-19.82-79.39-32.84 6.7-6.24-28.46 5.48-39.7 16.24-3.57 3.42-8.13 12.77-12.22 22.43 8.53 42.43 41.23 74.66 42.5 72 3.64-7.7 7.17-15.66 6.64-14.47 11.84 12.23 19.29 19.48 23.78 35.23A131 131 0 00201 295.25c-.06-16.21-1.3-27.79-.94-32.81zm-145.78-.4c.1 0 0-.08-1.06 2.38.36-.79.71-1.59 1.06-2.38z",fill:"#A52A6A"}),p.createElement("path",{d:"M53.29 267.84c5.65 7.53 33.06 17 44.3 27a280 280 0 01-35.06-36.66 203.23 203.23 0 0049.54 9.79l-47.15-13.12c.667-5.7 1.333-11.393 2-17.08-3.35 4.49-11.74 22.07-13.63 30.07zm125.12-18.17c-12.42-1.14-45.91 6.44-50.79 17 18.32-12.22 51.08-16.81 54.55.56-.17-1.02 12.83-16.03-3.76-17.56z",fill:"#7C2050"}),p.createElement("path",{d:"M124.39 155.75c0 .21.1.43.16.64-.06-.21-.11-.43-.16-.64zm-57.05-39.34c-.59 0-.52-.25 0 1.56 1.53 2.37.74 1.51 0-1.56zm56.8 38.33l.12.46-.12-.46zm-69.63 16.87c9.09 13 53.53 16.65 79.39 32.84 2.16 1.35 8.75-21.75 4.69-36.08-1.9-6.72-10.19-4.65-10.62-4.66-1 0-1.46-.64-1.83-1.66-.68-1.91-1.52-5.36-1.48-5.21-1.23 4.07-1.68 6.59-3.49 7.5-6.48 3.24-37.85-9.4-52.25-41 .62 2.53 1.06 5.26-1 3.64 3.8 16.54 5.92 26.64-13.41 44.63z",fill:"#EAB881"}),p.createElement("path",{d:"M107.65 148.64c-20.65-5.6-33.72-12.94-37.72-32.87-3.26 1.48-3.22-1.55-1 7.6 14.4 31.56 45.77 44.21 52.25 41 2.15-1.07 3.54-7.31 3.38-8-2.21-8.85 2.2-2.53-16.91-7.73z",fill:"#D38053"}),p.createElement("path",{d:"M140.75 66.31c-3-9.44-7.65-19.56-11.74-25.21a15.73 15.73 0 01-8.82-3.17c-7.48 8.26-15.45 4.83-16.65 0-1.68 5.91-9.62 9-14.83 5.74a6.35 6.35 0 004.78-2.95 18.42 18.42 0 01-15.21-2.12c-6-.8-4.66-.93-1.31 4.28 7.29 11.35 4.24 15-4.14 23.72C62.7 77.12 70.69 82.04 74 85.14c6.7 6.17 1.74 13-5.65 12.35 4.88 8.65 5.25 9.2 5.41 10.7.34 3.25-1 6.28-3.86 7.58 4 19.73 16.77 27.17 37.72 32.87 6.48 1.76 13.43 3.33 20 1.88 6.57-1.45 12.87-6.74 13.24-13.51.22-4.11-1.69-10-1.26-14 .68-6.64 5.94-5 6.24-21a112.12 112.12 0 00-5.1-35.45",fill:"#EAB881"}),p.createElement("path",{d:"M121.63 67.04c-.14 1.89.33 11.5 1.43 14.94 2.29 7.11 7.13 6.6 10.67 8.13 4.36 1.9 5.64 6.66-1.58 8.75-3.85 1.12-7.92 2.25-11.82 1.33 1.4 1.63 3.81 1.84 6 1.84 14.73 0 15.5-9 13.14-12.25-3.67-5.06-12.38-1.31-15.58-12.81-.81-2.74.11-8.51-2.26-9.93z",fill:"#D38053"}),p.createElement("path",{d:"M110.39 112.3c-10.66-3-13.86-7.32-14.77-5.86-1.15 1.83 18.2 12.62 29.48 6.84-5.03.06-9.69.44-14.71-.98zM86.23 73.61c1.75 0 7-6 8.82-7.15 3.63-2.2 7.63-1.08 11.78-2-.51-1.34-3.51-5.43-4.18-5.29-3.17.68-9.2.3-9.2.3s-13.18 14.27-7.22 14.14zm39.37-15.85c-5.09.43-3.23 1.61-2.29 5.5a18.92 18.92 0 0117.63 3.35c-5.31-8.47-9.64-9.34-15.34-8.85z",fill:"#000"}),p.createElement("path",{d:"M91.39 85.5c4.56 6.52 15.3 4.23 18.45-1.77-.92-5.69-16.99-9.33-18.45 1.77zm9.87 1.69c-6.09 3.06-8.18-7.15-1.85-7.15 4.07 0 5.74 5.19 1.85 7.15zm25.58-4.58c2.38 3.65 14 2.53 14.28-3.35-4.19-9.42-16-4.69-14.28 3.35zm8.47-1.63a3.56 3.56 0 01-5.31 1.29c-2.29-1.87-1-6.45 2.58-6a3.57 3.57 0 012.73 4.71z",fill:"#FFF"}),p.createElement("path",{d:"M126.72 79.53c1.76-6.07 10.8-8.36 14.4-.27 1.07 2.38.95-6.79-5.3-7.23-3.92-.28-10.17.09-9.49 10a11.4 11.4 0 01.39-2.5zm-27.31.51c-6.34 0-4.24 10.2 1.85 7.15 3.89-1.95 2.23-7.15-1.85-7.15z",fill:"#000"}),p.createElement("path",{d:"M132.6 76.26c-3.61-.44-4.87 4.14-2.58 6a3.4 3.4 0 102.58-6zm-63.68 47.11c-2.54-10.52-.32-4.66-9.77-9 5.12 9 12.19 18.98 9.77 9zM129 41.1c5.48 7.57 6.11 13.42 5.52 9.56a51.53 51.53 0 00-2.44-9.71 16.7 16.7 0 01-3.08.15z",fill:"#000"}),p.createElement("path",{d:"M137.16 26.23c3.42-12.58-5.26-13.54-7.57-11.18A10.51 10.51 0 00113.3 5.04c-3.11-5.35-12.48-8.78-24.25 2.14C88-.5 72.44 1.9 70.12 17.68c-5.8 1.09-8.67 4.26-10 6.8-5.74.56-24.3 24.19-25.12 32.06-.51 4.69 2 9.11 3.31 13.65.84 2.89 1.22 6 2.75 8.59 4 6.77 0 3.56 5 2.71 4.44-.75 16.29 5.15 22.4 16 3.66.32 7.38-.9 8.67-5.17 1.72-5.69-6.59-8.6-8.54-13.18-4.08-9.57 10.77-15 12.37-23.84 1-5.78-3.41-11.93-7.06-17.09 1.24 0 2.7.15 4.46.38-.16-.1-.3-.21-.45-.32a17.59 17.59 0 0015.66 2.44 6.35 6.35 0 01-4.78 2.95c5.21 3.24 13.15.17 14.83-5.74 1.2 4.84 9.14 8.31 16.65 0a16.12 16.12 0 0018.08.78 11.39 11.39 0 01-5.61-4.34c3.19.61 6.37-1.64 7.88-4.5 1.51-2.86 1.74-6.22 1.9-9.46a9.68 9.68 0 01-5.36 5.83zm-77.44 3.81l-.08-.11.08.11zm-.5-3.51v.09c0-.37.06-.82.09-1.36-.05.48-.07.89-.09 1.24v.03zm14.53 7.72a18.09 18.09 0 004.06 4 16.75 16.75 0 01-4.06-4.03v.03zm-.59-.86l.24.35-.24-.35z",fill:"#000"}),p.createElement("path",{d:"M97.49 76.04c-3.73.6-7.38 4.53-6.58 9 1-2.29 1.84-4.94 5.06-6.12 4.28-1.56 11.29-.39 13.75 4.36 1.38 2.65.02-9.24-12.23-7.24z",fill:"#000"}),p.createElement("path",{d:"M73.79 108.19c-.16-1.5-.53-2.05-5.41-10.7-6.11-10.84-17.95-16.75-22.38-16-7.48 1.27-15.82 21.55 15.3 33.82 8.33 3.28 13.12-1.13 12.49-7.12z",fill:"#EAB881"}),p.createElement("path",{d:"M96 105.92c2.11-2.9 10.26 2.05 16.39-5.72.79-1 1.41-4 3.31-3.71-5.06-.88-6.61 8.28-14.23 6.32-3.12-.81-9-5.15-10 11.67a58.56 58.56 0 014.53-8.56zm-33.55-5.55c4.3-10.34-20.92-21.24-19.6-7 .3 3.21 2.29 8.83 5.31 9.81-2.45-5.37.27-12.44 1.57-13.5 2-1.61 4.51.76 7.4 2.9-.13 1.68-2.51 2.46-2.65 4.09-.12 1.31 1.07 2.94 5.05 2a7.72 7.72 0 01-2.17 5 5.2 5.2 0 005.09-3.3zm130.32-29.93a3.7 3.7 0 01-.27-3.06c4.45-17.69 1.95-7.91-1.07-3.12-2.38 3.78-3.24 6.3.67 8.22 23 11.28 1.9-.25.67-2.04z",fill:"#D38053"}),p.createElement("path",{d:"M192.25 75.29c-2.41-1-6.47-3.9-6.5-5.61 0-1.15 4.89-8.09 3.9-14.36-1.07 1.71-6.51 12.19-6.39 14.2.23 3.86 9.09 5.81 8.99 5.77zm13.21-25.34c-.16 1.86-6.76 14.12-6.76 18.83.36 1.09 4.49 2.16 4.71 3.29-6.82-5.17 3.5-20.43 2.05-22.12z",fill:"#D38053"}))))}var u=a(36);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.cornerstone)),p=l||"https://yoa.st/workout-cornerstone-upsell";return Object(c.createElement)(i.a,{id:"cornerstone-workout-card",name:u.c.cornerstone,title:Object(o.__)("The cornerstone approach","wordpress-seo"),subtitle:Object(o.__)("Rank with articles you want to rank with","wordpress-seo"),usps:[Object(o.__)("Make your important articles rank higher","wordpress-seo"),Object(o.__)("Bring more visitors to your articles","wordpress-seo")],image:m,finishableSteps:u.a.cornerstone,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},195:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var l,c=a(0),n=a(1),r=a.n(n),o=a(2),s=a(6),i=a(145),p=a(3);function d(){return(d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var l in a)Object.prototype.hasOwnProperty.call(a,l)&&(e[l]=a[l])}return e}).apply(this,arguments)}function m(e){return p.createElement("svg",d({viewBox:"0 0 299 322",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),l||(l=p.createElement("g",{transform:"matrix(-1 0 0 1 298.412 0)",fill:"none"},p.createElement("circle",{fill:"#F0ECF0",cx:131.2,cy:190.029,r:131.2}),p.createElement("path",{d:"M262.5 92.23c-1 1.2-3 2.9-7.5 5a18.4 18.4 0 01-10.9 1.6c-.5-1-1-2.2-1.7-3.3l.4-.2.3-.2a14 14 0 003.3-.2c2.4.2 4.7-.6 6.9-3.2 3.1-3.9 1.7-10.7-1.3-14.6 2.6 2.5 4 5.7 6.4 8.6a231 231 0 013.3 4c.1.4 1.5 1.8.8 2.5zm-90.9 98.2a17.1 17.1 0 014 14.3c-11-7.9-22-18.9-31.8-37.8 26.5 1 39.4 8.8 39.5 8.7 43-17.2 51.7 1.5 66.8-6.3 2.3 4.7 5.3 6.3 8.4 9.4-13.5-13.9 5.7-22-5.1-57.7 7.3 0 20.8-4.8 22.9-9.7 14.8 26.3 10.5 39.9 17.8 54.6.6 1.2 2.3 6.7 3.5 8.2 2 2.8 0 7.7-2.7 10.6-29.7 32.8-68.9 33.6-93.5 36.8-6.4-4.6-13.8-8.5-21.5-13.7-1-5.1-1.2-11.2-8.3-17.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03c10.8 35.8-8.4 43.8 5.1 57.8-3-3.2-6-4.8-8.4-9.5a52.999 52.999 0 01-.3-2.2 50.2 50.2 0 01-.4-5v-2l.1-3.6.1-1.8.3-3.7.4-3.7.6-5.6a153.4 153.4 0 00.6-9.5v-2a69 69 0 00-.3-7.8l-.2-1.6a10.5 10.5 0 002.4.3v-.1zm-11-25.6l1.7 3.4h-.1c-1.9-.1-2.3-2.3-2.7-2.6l-.1-.2 1.2-.6z",fill:"#DB7A53"}),p.createElement("path",{d:"M219.7 95.53c-.7-1.6-3-3-5.5-3.6.1-.011.2-.011.3 0a8.4 8.4 0 005.1-1.3l-.3-.2a1.6 1.6 0 00.2 0 3.3 3.3 0 002.7-.6 34.2 34.2 0 006.4-4 5 5 0 002-2.8l.4.3c-.7 6.5 5.4 11.5 12.1 11.9l-.3.1-.4.2-1.2.6c-3.8 1.9-11 5.7-13.6 5.6-2.9 0-6.9-2.2-9.8-3.9 1.4-.5 2.3-1.2 1.9-2.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223.7 76.23v.3a3.7 3.7 0 01-.2 1.3c-1.3-.7-2.4-1.5-2.6-2.6a3.2 3.2 0 01.3-1.7 7.1 7.1 0 012.5 2.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.3 91.73c-2.1 2.6-4.5 3.4-6.9 3.2a13 13 0 005.2-2.3c-6 2.7-10.5 1.1-13.8-1.5a36.9 36.9 0 01-4.7-5.3c-1.1-1.6-1.8-2.8-2.1-2.9a3 3 0 000 .3l-.3-.3a2.4 2.4 0 00-.9-2 10.2 10.2 0 00-3.2-1.9 5.5 5.5 0 012.9.6c1.6.9 1 2.1 1.8 3.1a3.3 3.3 0 00.2-3.7c-.8-1.3-4-1.1-6.1-1.3a2.3 2.3 0 000-.2l.8-1a1.3 1.3 0 01-.7-.8c-.8-1.2-2.4-2-4.2-2.6l.1-.2a16.4 16.4 0 012.2-3.5c.7-.8 5.5-.3 6.1-.6a21 21 0 002.5.7l16.8 5.1a7.8 7.8 0 013 2.5c3 3.9 4.4 10.7 1.3 14.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M228.6 85.73a34.2 34.2 0 01-6.4 4 3.3 3.3 0 01-2.6.6c1.5-.6 2.1-2.3.7-2.8l-.8-3.8a10 10 0 002-.7v.1c.5.8.4 4-.4 4.6 1-.2 2.2-3.1 2.5-4a1.3 1.3 0 00-.6-1.5 5.2 5.2 0 00.8-.8 6.7 6.7 0 001.3-2 6.3 6.3 0 011.5-.4 10.2 10.2 0 013.2 1.9 2.4 2.4 0 01.9 2 5 5 0 01-2.1 2.8zm-5-16.3a16.4 16.4 0 00-2.2 3.5l-.1.2a39 39 0 00-2.4-.6 9 9 0 012.3 1 3.2 3.2 0 00-.3 1.7c.3 1.1 1.3 2 2.6 2.6a11.3 11.3 0 01-.9 1.8 9.3 9.3 0 01-2.7 3.3l-.5.3-3.4-15.4-2.1-.3a4.4 4.4 0 012.7-1.4 35.6 35.6 0 0113 2.7c-.5.3-5.3-.2-6 .6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M219.4 83.23a6 6 0 01-2.8.7 7.8 7.8 0 01-1.5-.2 4 4 0 001.5.2 9.8 9.8 0 003-.2l.7 3.8c1.4.5.8 2.2-.7 2.8h-.1a1.6 1.6 0 01-.2 0 39 39 0 00-7-3c-.3-3.4-.6-6.7-2-9.7 1.7-2.8 3.2-5.6 1.7-6.6 0 1.3-1.1 3.4-2.4 5.4a13.3 13.3 0 00-1.2-1.7 13 13 0 00-5.2-3.6c.8-1.7 1.4-3.5 3.7-3.8a24.3 24.3 0 016.9.2l2.1.3 3.5 15.4z",fill:"#F9BF8C"}),p.createElement("path",{d:"M223.7 76.23a5 5 0 01.6 3.4 7 7 0 01.8-.3 6.7 6.7 0 01-1.3 2.1 5.2 5.2 0 01-.8.8 1.7 1.7 0 00-1.2-.2l-.2 1a10 10 0 01-2 .7 9.8 9.8 0 01-3 .2 6 6 0 002.8-.7l.5-.3a9.3 9.3 0 002.7-3.3 11.3 11.3 0 001-1.9 3.7 3.7 0 00.1-1.3v-.2zm1.6 1.3c.007.1.007.2 0 .3v-.3z",fill:"#DB7A53"}),p.createElement("path",{d:"M223 82.23c.524.3.773.92.6 1.5-.3.9-1.4 3.8-2.5 4 .8-.7 1-3.8.5-4.6v-.1l.3-1a1.7 1.7 0 011.1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a3.1 3.1 0 00-.8.7c-2-.9-3.9-2.7-5.7-3.4-.5-.1-2.7-.8-2.9-1.4a13.7 13.7 0 005.2 2 43 43 0 004.2 2v.1zm.1-2.2h.1a30.3 30.3 0 005.4.4 30 30 0 003.6 1.6c-2.6-.3-5.7-1-8-.4l-2.2-1.3a2.7 2.7 0 001.1-.3zm13 2.5a1.4 1.4 0 00-.3 0 10.6 10.6 0 00-2-.4h-.4a26.6 26.6 0 01-3-1.8l1.7-.1a3.2 3.2 0 001.3-.4 1.2 1.2 0 00.5-1l6.7 2.7-6.7-3.6a39 39 0 017 3c.1.2.3.2.4.3a8.4 8.4 0 01-5.2 1.3z",fill:"#F9BF8C"}),p.createElement("path",{d:"M225 79.33a7 7 0 00-.7.3 5 5 0 00-.6-3.4 7.1 7.1 0 00-2.5-2.7 9 9 0 00-2.2-1l2.3.7c1.8.5 3.4 1.3 4.2 2.6a1.3 1.3 0 00.6.6c.2 0-.5.7-.8 1.1v.3c2.2 0 5.4-.1 6.2 1.2a3.3 3.3 0 01-.2 3.8c-.8-1-.2-2.3-1.8-3.2a5.5 5.5 0 00-3-.6 6.3 6.3 0 00-1.4.3h-.1zm6 3.9a3 3 0 010-.3c.3 0 1 1.3 2 3a23.8 23.8 0 004.8 5.2c3.3 2.6 7.8 4.2 13.8 1.6a13 13 0 01-5.2 2.2 14 14 0 01-3.3.2c-6.7-.4-12.8-5.4-12.1-11.9z",fill:"#DB7A53"}),p.createElement("path",{d:"M208.4 74.73c.478.53.913 1.099 1.3 1.7-1.4 2.2-3 4.3-3.5 5.3s-1.3 2.6-.3 3.6a38.8 38.8 0 006.4 3 1.2 1.2 0 01-.6 1 3.2 3.2 0 01-1.2.4l-1.8.1a14.4 14.4 0 00-3.6-1.9 13.4 13.4 0 01-3-1.2c0-.9-.3-2.4-.5-4 1.6-3 5-8.2 2.7-10.1.9 1.6-1.4 5.5-3 8l-.8-4a3.8 3.8 0 000-2 3.5 3.5 0 01-.2 1c-.4-1.6-.7-2.6-1-2.7-.9-.3-2 .6-3 2 1-2.2 1.5-4.1 4.7-4.1a7.3 7.3 0 012.2.4 13 13 0 015.2 3.5zm-6.1 13a39.6 39.6 0 014.7 2.2 30.3 30.3 0 01-5.3-.5 1.7 1.7 0 00.6-1.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M207 84.53c-.2-1.3 1.6-4.1 3.3-6.9a27 27 0 012 9.7l-5.3-2.8zm-7.6-11.7c.3 0 .6 1.2 1 2.7-1.2 2.7-5.5 6.5-6.7 8.9a3.4 3.4 0 00-.6 2c.2.7 2 2 4.1 3.2a13.7 13.7 0 01-5.2-2l-.4-.3a1.7 1.7 0 01-.5-.5 1.5 1.5 0 010-1.2c.5-1.2 2.8-7.5 5.2-10.9 1-1.3 2.1-2.2 3-1.9h.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M199.4 86.63a5 5 0 002 .8l.9.3a1.7 1.7 0 01-.7 1.7v.1a2.7 2.7 0 01-1.2.3c-1.8-1-3.4-2.1-4.1-2.6-.4-.3-.8-.6-.9-1a1.7 1.7 0 01.4-1c1.2-2 4-5.9 4.7-8.7l.7 4-1 1.5c-1 1.5-2.2 3.5-.8 4.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M201.2 86.03c-.5-.7-.6-.8-.4-1.7a9.9 9.9 0 01.8-1.6l.5 4a3 3 0 01-.9-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M211.8 91.63h-1.2a30 30 0 01-3.6-1.7 39.6 39.6 0 00-4.7-2.2l-.8-.3a5 5 0 01-2-.8c-1.5-1.1-.3-3 .8-4.6l1-1.4c1.6-2.5 4-6.5 3.1-8 2.2 2-1.2 7-2.8 10.1a9.9 9.9 0 00-.7 1.6c-.3.9-.2 1 .4 1.7a3 3 0 00.9.7 13.4 13.4 0 003 1.3 14.4 14.4 0 013.6 1.9 26.6 26.6 0 003 1.7z",fill:"#DB7A53"}),p.createElement("path",{d:"M195.8 85.33a1.7 1.7 0 00-.4 1c0 .4.5.7.9.9l4 2.6c.8.5 1.6 1 2.4 1.3a4.2 4.2 0 00-1.3.6 43 43 0 01-4.2-2c-2.1-1.3-4-2.6-4-3.3a3.4 3.4 0 01.5-2c1.2-2.3 5.5-6.1 6.6-8.8a3.5 3.5 0 00.3-1 3.8 3.8 0 010 2c-.8 2.8-3.6 6.6-4.8 8.7zm11.2-.8l5.3 2.8 6.7 3.7-6.7-2.6a38.8 38.8 0 01-6.4-3c-1-1-.4-2.4.3-3.5l3.5-5.4c1.3-2.2 2.4-4 2.4-5.3 1.5 1 0 3.7-1.8 6.5s-3.6 5.6-3.2 7l-.1-.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M201.4 91.73a4.2 4.2 0 011.3-.6c2.2-.5 5.3.1 7.9.4l1.2.1h.4a10.6 10.6 0 012 .3c2.4.6 4.8 2 5.4 3.6.5 1-.5 1.8-1.8 2.2a11.1 11.1 0 01-2 .4c-4.2.6-5.5 2-11.5 2.8-2.6.4-4.4-4-4.4-5.9a4.2 4.2 0 01.7-2.6 3.1 3.1 0 01.8-.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M253.4 121.03a10.5 10.5 0 01-2.4-.2 5.3 5.3 0 01-.7-.2c-2.4-.9-8.6-17.6-9.3-21-.3-1.2-.3-3.5.3-3.4.3.3.8 2.5 2.7 2.5h.1a18.4 18.4 0 0010.9-1.5c4.6-2.1 6.6-3.8 7.6-5 .6-.8-.7-2.2-.9-2.5.4-.4 1.3.1 1.7.3 5.9 2.8 10.2 12.7 13.1 19.4a2.9 2.9 0 01-.1 1.9c-2.1 5-15.6 9.8-23 9.8v-.1z",fill:"#A52A6A"}),p.createElement("path",{d:"M171.6 190.43c7 6.2 7.3 12.3 8.3 17.4l-4.4-3a17 17 0 00-3.9-14.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M41.3 265.93l-.5.2c6.5 8.6 14.1 17.5 21 30.5a28.8 28.8 0 012.8 7.7c45.714 25.792 102.423 21.736 144-10.3-.8-3.5-1.7-7.1-2.8-11 12.67-7.311 18.506-22.484 14-36.4a43 43 0 00-18.4-25.1c-6.4-4.6-13.8-8.5-21.5-13.7l-4.4-3c-10.8-8-22-19-31.7-37.9l-.1-.2a71 71 0 00-19.9-2.3c12 5.8 41 37 4.2 43-29 3.1-47.3-27.9-84-28.7a47.8 47.8 0 00-13.5 9.4l-1 1a37 37 0 014.7-2c16.4 1 27 15.3 32.9 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.3 2.7-20-3.7l-1.5.7-1 .6-.7.3z",fill:"#009288"}),p.createElement("path",{d:"M29.5 189.23a37 37 0 014.5-2.2c16.4 1 27 15.3 33 30.3 10.3 26.2 6.2 44.7-2.6 50.6-5.3 3.6-13.4 2.7-20-3.7l-1.5.7c6.9-5.7 4.9-6.8 18-4.4-10.8-6.4-16.1-9.1-38.7 6.1a122.2 122.2 0 01-21.4-53.5 133 133 0 0128.7-24.1v.2z",fill:"#F9BF8C"}),p.createElement("path",{d:"M61 260.63c-13.2-2.4-11.1-1.3-18 4.4l-1 .6-.6.2-.6.3-.5.3-.6.3-1.1.6-.7.3-1 .6-.7.4-1.2.6-.6.3-1.3.7-.6.3-1.3.7-.5.3-1.4.8-.3.1-1.6 1-.6-.9-4.5-5.8c22.6-15.2 27.9-12.4 38.7-6v-.1z",fill:"#DB7A53"}),p.createElement("path",{d:"M128 207.43c-29.2 3.1-47.5-28.2-84.5-28.7 14.2-5.2 23-11.3 23-27.1 0-8.8-2.7-25.8-3.6-38.2 0 0 57 21.4 57.8 36.1l2 14.3c11.2 4.3 43.3 37.4 5.3 43.6z",fill:"#F9BF8C"}),p.createElement("path",{d:"M87.3 151.73a56.8 56.8 0 01-17.1-22.8 62.4 62.4 0 0043 22c2.5-.1 5-.2 7.3-.5v.5l.2 1.2c-4.7 11.9-7.3 19.5-33.4-.4z",fill:"#DB7A53"}),p.createElement("path",{d:"M162 280.43c.5 7.4-16.2 16.2-30.8 17.3-19.8 1.4-54.8-9.2-48-40.7 18.2 35 68.8 31.3 78.8 23.4z",fill:"#216D64"}),p.createElement("path",{d:"M122.5 72.33a9.8 9.8 0 00-2.1-.8h2.6l-.5.8zm-9.9.8a4.8 4.8 0 00-.6-1.7c7.3 0 4-.6.6 1.7zm12.6 14l.8.8c-.9-1.5-1.5-4.6-2.9-12.6l-.4-.3a16 16 0 002.5 12.1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M154.7 95.83a44.5 44.5 0 00-1.6-8.2c-2-6-4.8-6.6-7.3-9.6a50.6 50.6 0 00-1-23.9c0 .1-8.7-35.8-54.2-22a44.6 44.6 0 00-10 5.9c-10.6 8.2-7.6 13.4-10 25.4a74.9 74.9 0 01-4.4 11.9c-4.8 3.8-7.6 6.5-8.1 9.9 1 4.7 5.4 18.3 5 28.1 6 27.2 36.6 38.3 50 37.6 2.6-.1 5-.2 7.4-.5 6.5-.7 11.9-2.8 17-11.3 6.4-10.8 5.6-16.5 9.4-22.5 2.5-4.1 9-9.7 7.8-20.8zm-42.2-19.5c-1 7.6-2.5 10.5-5.3 11.4a18.3 18.3 0 001.3-3.3c-4.6 2.5-17 2.8-21.2-3-.9.4-2 .4-4-.6l.2-.1c4.2-.1 2.6-1 4.1-3.8a10.6 10.6 0 01.6-1h17.1a11 11 0 013.8 6.7 58.3 58.3 0 001.2-6.8l3-.2-.8.7z",fill:"#F9BF8C"}),p.createElement("path",{d:"M112.6 124.23c-4-2-5.6-6.3-11.6-10.8 10 5.2 19.3 6.3 26.5 3.8-1.7 1.7 1.2 6.3-3.5 8.4-4 1.7-7.3.5-11.4-1.4z",fill:"#D86060"}),p.createElement("path",{d:"M101 113.43l-1.6-.8c7.9-.3 12.9-.7 17.2-.3 2.2.3 2.2 2 3.8 2 1.6 0 2.7-1.6 4.4-1.4 1.2.2 3 1.1 5.6 3a20.3 20.3 0 01-2.9 1.2c-7.2 2.6-16.6 1.5-26.5-3.7z",fill:"#BC3939"}),p.createElement("path",{d:"M108.5 84.43l.2-.5a15.2 15.2 0 00-2.3-3.8c-5-5.8-13.6-5.1-16.5-1.6-.9 1.3-1.5 2.4-2.6 3 4.1 5.7 16.6 5.4 21.2 3v-.1zM97 85.63a4.8 4.8 0 11.408-9.592A4.8 4.8 0 0197 85.629z",fill:"#FFF"}),p.createElement("path",{d:"M89.9 78.53c-.9 1.3-1.5 2.4-2.6 3-1.1.6-2 .2-4-.7l.2-.2c4.2 0 2.6-1 4.1-3.7 2.8-5.2 9-4.8 14.6-3 .1 0 5.9 2.4 6.8 8.7l-.3 1.2a14.4 14.4 0 00-2.3-3.7c-5-5.8-13.6-5.1-16.5-1.6z",fill:"#000"}),p.createElement("path",{d:"M127.5 83.03h-.1a27 27 0 0011.6.6c2.7-1 4.8-4 5-6.8-1.8-1.2-2.8-4.6-8.2-2.9-5 1.6-7 4.2-8.3 9v.1zm2.8-3.7a4.4 4.4 0 118.798-.2 4.4 4.4 0 01-8.798.2z",fill:"#FFF"}),p.createElement("path",{d:"M145.1 75.33c0 .5.5.7 1 .9a8 8 0 001.2.1l.1.2a5 5 0 01-1.4.6 2.4 2.4 0 01-2-.4c-1.8-1.2-2.8-4.6-8.2-2.8-4.9 1.6-7 4.2-8.3 9h-.2c-1.2-6.7 4-11.3 9-12.5l3.1-.2c2.8.2 5.2 1.8 5.7 5.1z",fill:"#000"}),p.createElement("path",{d:"M106.7 61.53c-4 0-8.2-.4-11.7-.3-3.6.1-8.3 1.7-12.8 4.6 1.9-4 8.5-7.2 12.5-7.7 2.9-.3 6.8-.7 9.7-.2 3.7.7 5.6 3.1 2.3 3.6zm24.7 5.6c2.3-2.6 6.8-6.2 9.4-5.8 3 .4 3.5 1.2 5.4 3.6.056.898.056 1.8 0 2.7H145a7.6 7.6 0 00-4.7-2.2c-1.9-.1-7 1.2-8.8 1.7h-.1z",fill:"#B2512B"}),p.createElement("circle",{fill:"#000",transform:"rotate(-78.1 97.1 80.83)",cx:97.1,cy:80.829,r:4.8}),p.createElement("circle",{fill:"#000",cx:134.7,cy:79.329,r:4.4}),p.createElement("path",{d:"M106.3 109.73a40 40 0 01-10.3-1.3c-1.9 2-.1 6.6-.7 9.2-1-3.4-4-8-2.2-12.4a28.7 28.7 0 0013.2-1c9-2.8 6.6-6.2 12.6-6.5-5.2 1-4.4 11.4-12.6 12z",fill:"#DB7A53"}),p.createElement("path",{d:"M54 29.03c3-3.6 13.5-5.8 20-6-.5 1.3 4.5 2.7 4 4a37.3 37.3 0 008.4-.2 3.5 3.5 0 00.4 2.7l3.8 2.6a44.6 44.6 0 00-10.1 5.9c-10.5 8.2-7.5 13.4-9.9 25.4a74.9 74.9 0 01-4.4 11.9l-12.4 7a10.3 10.3 0 00-5.3-.7l-.3-.4c-2.2-4-6.8-14.2-7.2-18.8-1.4-11.4 1.2-25 10-32.4a18.5 18.5 0 013-2 9.8 9.8 0 00.1 1H54zm2.7 55l1.4.7 3.5-1.6a5.5 5.5 0 01-2.4 1.9 10.4 10.4 0 01-1.2.2l-1.2-1.2h-.1z",fill:"#838BC5"}),p.createElement("path",{d:"M127 22.23c-7.5-4.7-7-2-15.6-4l5.2-.4c-13.3-1-28.6 3.4-30.1 9a37.3 37.3 0 01-8.4.2c.5-1.3-4.6-2.6-4-4-6.6.2-17 2.4-20.1 6a9.8 9.8 0 010-1c0-8.2 10.8-17.8 30.3-15.8 13.4-14.3 42.4-21 61 8.1-13-7.3-16.2-.2-19.3.8 7.8-1.6 27.3 3 28.9 24.3-1.7-7.8-8.4-8.6-13.6-8-1.7-2.3-3.5-4.3-4.9-5.9-4.5-5.2-3.5-5.7-9.4-9.3z",fill:"#0071BC"}),p.createElement("path",{d:"M137.4 46.73c3.4 14.5-3.1 19.3-22.4 18.8 12.5-8.9 11.5-19.3 2-26.1-8.2-6-14 .2-26.4-7.3a46 46 0 01-3.8-2.6 3.5 3.5 0 01-.3-2.7c1.5-5.6 16.8-10 30-9l-5 .3c8.6 2.2 8-.6 15.5 4 5.9 3.7 4.9 4.2 9.4 9.5 1.4 1.6 3.2 3.5 4.8 5.8 3 4.2 5.5 9.6 3.5 16.7a26 26 0 01-2.6 6.2 14.6 14.6 0 00-4.7-13.6z",fill:"#0071BC"}),p.createElement("path",{d:"M126.1 69.33h-.7a14.6 14.6 0 013.2-1.7 14.8 14.8 0 00-2.5 1.7zm-.9 17.8l.8.8c1.2 1.8 2.7 1.5 6.3 4.8l.6.2c1.8 1.7 2.8 3.7 2 6.4-.2 3.2-5.3 8.2-12 5.8 5.3-1 6.9-.8 7.6-5.6-.2-6.7-8.3-4-10-16.5a17.3 17.3 0 01.9-8.8 9 9 0 011.3.8 16 16 0 002.5 12.1zm-2.1-14.5a6.3 6.3 0 00-.6-.3l.5-.9c1 0 .4.2.1 1.2z",fill:"#DB7A53"}),p.createElement("path",{d:"M56.7 84.03a12.7 12.7 0 00-3-1.7l12.4-7 9.2-5.2c-1.3 1.7-1.6 4.2-1.1 7l-12.6 6-3.5 1.7-1.4-.8z",fill:"#93278F"}),p.createElement("path",{d:"M151 92.03c5.5-1.8 14.3-20.4 5.8-23.5-5.4-2-24.6-.6-29.9.8-29.7-.4-42.2-3.3-49.3-.7a5 5 0 00-2.3 1.6c-4.3 5.5 3.1 20.2 8 21.8a46.3 46.3 0 0012.5 1.6c11.6 0 14.8-2.2 16.6-17.3 1-.6 4.4-4.3 9-2a10.6 10.6 0 011.8 1c2.9 17.6 2.5 11.3 9.1 17.5l.6.1c5.8 1.4 13.9.5 18.1-.9zm-40.5-17.9c-.4 3.6-1.7 13.4-4.8 15.4-4.2 2.8-17 2-21.7.4-4-1.4-11.5-17.2-5.7-19.3 5.6-2 23.8 0 29.6.6 0 .2 2.8.3 2.6 3v-.1zm2.1-1a4.8 4.8 0 00-.6-1.8c7.3.2 4-.5.6 1.8zm10.5-.5a10 10 0 00-2.7-1.2c4.2.1 3.1-.3 2.7 1.2zm27.2 17.4c-4.7 1.6-16.3 2.5-20.6-.4-1-.7-2.8-5.1-4.5-15.3-.4-2.8 2.6-2.5 2.6-2.8.9-.2 4.3-.7 8.5-1 4.2-.3 15.6-1.2 19.7.2 5.8 2.1-1.6 18-5.7 19.3z",fill:"#5D237A"}),p.createElement("path",{d:"M45.5 82.33c-4.2 1.7-4.4 10-3 14.8 2.8 9.2 12 17.6 21.7 16.1 5.2-.7 1.5-5.7-1-16.4l-1-5.6c-3.3-7-9.4-11.7-16.7-8.9zm13.2 13c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#F9BF8C"}),p.createElement("path",{d:"M58.7 95.33c-.4.4-4.4 3.1-1.2 5 2.2 1.5 4 .5 3.6 2.6-.3 1.4 0 3.3-2 3 2-3-1.1-4-3-2.9s-5.7-5.3.9-8.2c-4-4.8-7.5-12.8-10-.5-3-9.7 3.6-17.3 11.7 1z",fill:"#CE6D42"}))))}var u=a(36);function f(e){let{workout:t,badges:a,upsellLink:l,upsellText:n}=e;const r=Object(s.useSelect)(e=>e("yoast-seo/workouts").getFinishedSteps(u.c.orphaned)),p=l||"https://yoa.st/workout-orphaned-content-upsell";return Object(c.createElement)(i.a,{id:"orphaned-workout-card",name:u.c.orphaned,title:Object(o.__)("Orphaned content","wordpress-seo"),subtitle:Object(o.__)("Clean up your unlinked content to make sure people can find it","wordpress-seo"),usps:[Object(o.__)("Make pages easier for Google and visitors to find","wordpress-seo"),Object(o.__)("Add internal links to your posts and pages","wordpress-seo")],image:m,finishableSteps:u.a.orphaned,finishedSteps:r,upsellLink:p,upsellText:n,workout:t,badges:a})}f.propTypes={workout:r.a.func,badges:r.a.arrayOf(r.a.element),upsellLink:r.a.string,upsellText:r.a.string},f.defaultProps={workout:null,badges:[],upsellLink:null,upsellText:null}},2:function(e,t){e.exports=window.wp.i18n},237:function(e,t,a){"use strict";a.r(t);var l=a(194),c=a(195);window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:l.a,OrphanedWorkoutCard:c.a}}}},3:function(e,t){e.exports=window.React},36:function(e,t,a){"use strict";a.d(t,"c",(function(){return l})),a.d(t,"b",(function(){return c})),a.d(t,"a",(function(){return n}));const l={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},c={cornerstone:{chooseCornerstones:"chooseCornerstones",checkLinks:"checkLinks",addLinks:"addLinks",improved:"improved",skipped:"skipped"},orphaned:{improveRemove:"improveRemove",update:"update",addLinks:"addLinks",removed:"removed",noindexed:"noindexed",improved:"improved",skipped:"skipped"}},n={cornerstone:[c.cornerstone.chooseCornerstones,c.cornerstone.checkLinks,c.cornerstone.addLinks],orphaned:[c.orphaned.improveRemove,c.orphaned.update,c.orphaned.addLinks]}},6:function(e,t){e.exports=window.wp.data},7:function(e,t){e.exports=window.yoast.componentsNew},9:function(e,t){e.exports=window.yoast.helpers}});
|
js/dist/analysis-worker.js
CHANGED
@@ -1 +1 @@
|
|
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=
|
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=238)}({238:function(e,t){self.window=self,self.onmessage=e=>{let{data:t}=e;if(!t||!t.dependencies)return;!function(e){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(self.importScripts(e[t]),"lodash"===t&&(self.lodash=_.noConflict()))}(t.dependencies),t.translations&&function(e){for(const[n,r]of e){var t=r.locale_data[n]||r.locale_data.messages;t[""].domain=n,self.wp.i18n.setLocaleData(t,n)}}(t.translations);const n=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new n).register()}}});
|
js/dist/api-client.js
CHANGED
@@ -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=239)}({239: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){"function"==typeof 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.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
!function(e){var t={};function a(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,a),n.l=!0,n.exports}a.m=e,a.c=t,a.d=function(e,t,r){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,"a",t),t},a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},a.p="",a(a.s=
|
2 |
color: #606770;
|
3 |
flex-shrink: 0;
|
4 |
font-size: 12px;
|
@@ -20,21 +20,21 @@
|
|
20 |
transform: translate(-50%, -50%);
|
21 |
max-width: none;
|
22 |
}
|
23 |
-
`,
|
24 |
&&{
|
25 |
height: 100%;
|
26 |
position: absolute;
|
27 |
width: 100%;
|
28 |
object-fit: cover;
|
29 |
}
|
30 |
-
`,
|
31 |
padding-bottom: ${e=>e.aspectRatio}%;
|
32 |
-
`,w=e=>{const{imageProps:t,width:a,height:r,imageMode:n}=e;return"landscape"===n?Object(s.createElement)(
|
33 |
position: relative;
|
34 |
${e=>"landscape"===e.mode?"max-width: "+e.dimensions.width:`min-width: ${e.dimensions.width}; height: ${e.dimensions.height}`};
|
35 |
overflow: hidden;
|
36 |
background-color: ${g.colors.$color_white};
|
37 |
-
`,
|
38 |
box-sizing: border-box;
|
39 |
max-width: ${E.landscapeWidth}px;
|
40 |
height: ${E.landscapeHeight}px;
|
@@ -51,7 +51,7 @@
|
|
51 |
text-decoration: underline;
|
52 |
font-size: 14px;
|
53 |
cursor: pointer;
|
54 |
-
`;class
|
55 |
line-height: ${20}px;
|
56 |
min-height : ${20}px;
|
57 |
color: #1d2129;
|
@@ -208,7 +208,7 @@
|
|
208 |
`,re=u()(te)`
|
209 |
flex-direction: row;
|
210 |
height: 125px;
|
211 |
-
`;class ne extends o.Component{constructor(e){super(e),this.onImageEnter=this.props.onMouseHover.bind(this,"image"),this.onTitleEnter=this.props.onMouseHover.bind(this,"title"),this.onDescriptionEnter=this.props.onMouseHover.bind(this,"description"),this.onLeave=this.props.onMouseHover.bind(this,""),this.onSelectTitle=this.props.onSelect.bind(this,"title"),this.onSelectDescription=this.props.onSelect.bind(this,"description")}render(){const{isLarge:e,imageUrl:t,imageFallbackUrl:a,alt:r,title:n,description:o,siteUrl:i}=this.props,c=e?ae:re;return Object(s.createElement)(c,{id:"twitterPreview"},Object(s.createElement)(G,{src:t||a,alt:r,isLarge:e,onImageClick:this.props.onImageClick,onMouseEnter:this.onImageEnter,onMouseLeave:this.onLeave}),Object(s.createElement)(Q,null,Object(s.createElement)(H,{siteUrl:i}),Object(s.createElement)(X,{onMouseEnter:this.onTitleEnter,onMouseLeave:this.onLeave,onClick:this.onSelectTitle},n),Object(s.createElement)(ee,{onMouseEnter:this.onDescriptionEnter,onMouseLeave:this.onLeave,onClick:this.onSelectDescription},o)))}}ne.propTypes={siteUrl:l.a.string.isRequired,title:l.a.string.isRequired,description:l.a.string,isLarge:l.a.bool,imageUrl:l.a.string,imageFallbackUrl:l.a.string,alt:l.a.string,onSelect:l.a.func,onImageClick:l.a.func,onMouseHover:l.a.func},ne.defaultProps={description:"",alt:"",imageUrl:"",imageFallbackUrl:"",onSelect:()=>{},onImageClick:()=>{},onMouseHover:()=>{},isLarge:!0};var se=ne,oe=a(7),ie=a(
|
212 |
h2 > button {
|
213 |
padding-left: 24px;
|
214 |
padding-top: 16px;
|
@@ -224,7 +224,7 @@
|
|
224 |
border-top: 1px solid rgba(0,0,0,0.2);
|
225 |
}
|
226 |
|
227 |
-
`;t.a=e=>Object(s.createElement)(c,n()({hasPadding:!0,hasSeparator:!0},e))},,,function(e,t,a){"use strict";a.d(t,"e",(function(){return n})),a.d(t,"f",(function(){return s})),a.d(t,"a",(function(){return o})),a.d(t,"d",(function(){return i})),a.d(t,"b",(function(){return c})),a.d(t,"g",(function(){return l})),a.d(t,"c",(function(){return d}));var r=a(38);const n=async e=>{const{state:t,code:a}=e;return await Object(r.a)({path:"wordproof/v1/oauth/authenticate",method:"POST",data:{state:t,code:a}})},s=async e=>{const{settings:t}=e;return await Object(r.a)({path:"wordproof/v1/settings",method:"POST",data:{settings:t}})},o=async()=>await Object(r.a)({path:"wordproof/v1/oauth/destroy",method:"POST"}),i=async()=>await Object(r.a)({path:"wordproof/v1/settings",method:"GET"}),c=async()=>await Object(r.a)({path:"wordproof/v1/authentication",method:"GET"}),l=async e=>Object(r.a)({path:`wordproof/v1/posts/${e}/timestamp`,method:"POST"}),d=async e=>Object(r.a)({path:`wordproof/v1/posts/${e}/timestamp/transaction/latest`,method:"GET"})}
|
228 |
display: inline-block;
|
229 |
position: relative;
|
230 |
outline: none;
|
@@ -254,7 +254,7 @@
|
|
254 |
padding: 2px;
|
255 |
content: "\f223";
|
256 |
}
|
257 |
-
`);t.a=i},function(e,t,a){"use strict";a.r(t),a.d(t,"
|
258 |
min-width: 600px;
|
259 |
|
260 |
@media screen and ( max-width: 680px ) {
|
@@ -274,7 +274,7 @@
|
|
274 |
height: 80px;
|
275 |
}
|
276 |
}
|
277 |
-
`},function(e,t,a){"use strict";var r=a(0),n=a(1),s=a.n(n),o=a(8),i=a(
|
278 |
list-style: none;
|
279 |
margin: 0 0 24px;
|
280 |
padding: 0;
|
@@ -296,7 +296,7 @@
|
|
296 |
`,p=l.a.small`
|
297 |
display: block;
|
298 |
margin-top: 4px;
|
299 |
-
`,m=Object(d.makeOutboundLink)();class h extends r.Component{constructor(e){super(e)}createBenefitsList(e){return e.length>0&&Object(r.createElement)(u,{role:"list"},e.map((e,t)=>Object(r.createElement)("li",{key:t},Object(r.createElement)("span",{"aria-hidden":"true"}),s()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(r.createElement)("strong",null)}}))))}createInfoParagraphs(e){return e.map((e,t)=>Object(r.createElement)("p",{key:t},e))}render(){return Object(r.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(r.createElement)(m,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(r.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(r.createElement)(p,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}h.propTypes={benefits:i.a.array,infoParagraphs:i.a.array,upsellButton:i.a.object,upsellButtonText:i.a.string.isRequired,upsellButtonLabel:i.a.string,upsellButtonHasCaret:i.a.bool},h.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.a=h},function(e,t){e.exports=window.moment},,,,,,function(e,t,a){"use strict";var r=a(0);let n,s,o,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,a,r,n){return{element:e,tokenStart:t,tokenLength:a,prevOffset:r,leadingTextStart:n,children:[]}}function d(){const e=n.length-s;0!==e&&o.push(n.substr(s,e))}function u(e){const{element:t,tokenStart:a,tokenLength:s,prevOffset:o,children:c}=e,l=i[i.length-1],d=n.substr(l.prevOffset,a-l.prevOffset);d&&l.children.push(d),l.children.push(Object(r.cloneElement)(t,null,...c)),l.prevOffset=o||a+s}function p(e){const t=function(){const e=c.exec(n);if(null===e)return["no-more-tokens"];const t=e.index,[a,r,s,o]=e,i=a.length;return o?["self-closed",s,t,i]:r?["closer",s,t,i]:["opener",s,t,i]}(),[a,p,m,h]=t,b=i.length,g=m>s?s:null;if(!e[p])return d(),!1;switch(a){case"no-more-tokens":if(0!==b){const{leadingTextStart:e,tokenStart:t}=i.pop();o.push(n.substr(e,t))}return d(),!1;case"self-closed":return 0===b?(null!==g&&o.push(n.substr(g,m-g)),o.push(e[p]),s=m+h,!0):(u(l(e[p],m,h)),s=m+h,!0);case"opener":return i.push(l(e[p],m,h,m+h,g)),s=m+h,!0;case"closer":if(1===b)return function(e){const{element:t,leadingTextStart:a,prevOffset:s,tokenStart:c,children:l}=i.pop(),d=e?n.substr(s,e-s):n.substr(s);d&&l.push(d),null!==a&&o.push(n.substr(a,c-a)),o.push(Object(r.cloneElement)(t,null,...l))}(m),s=m+h,!0;const t=i.pop(),a=n.substr(t.prevOffset,m-t.prevOffset);t.children.push(a),t.prevOffset=m+h;const c=l(t.element,t.tokenStart,t.tokenLength,m+h);return c.children=t.children,u(c),s=m+h,!0;default:return d(),!1}}t.a=(e,t)=>{if(n=e,s=0,o=[],i=[],c.lastIndex=0,!(e=>{const t="object"==typeof e,a=t&&Object.values(e);return t&&a.length&&a.every(e=>Object(r.isValidElement)(e))})(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(p(t));return Object(r.createElement)(r.Fragment,null,...o)}},,,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,a){"use strict";a.d(t,"b",(function(){return p}));var r=a(0),n=a(2),s=a(9),o=a(7),i=a(1),c=a.n(i),l=a(
|
300 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
301 |
Object(n.__)("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(r.createElement)(o.Alert,{type:"warning"},Object(n.sprintf)(
|
302 |
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
@@ -304,11 +304,11 @@ Object(n._n)("Upon saving, this setting will apply to all of your %1$s. %1$s tha
|
|
304 |
/* translators: %s Expands to "Yoast SEO News" */
|
305 |
Object(n.__)("Are you publishing news articles? %s helps you optimize your site for Google News. Get %s now!","wordpress-seo"),"Yoast SEO News","Yoast SEO News")+" ",Object(r.createElement)(d,{href:this.newsSEOUpsellURL},Object(n.sprintf)(
|
306 |
/* translators: %s: Expands to "Yoast News SEO". */
|
307 |
-
Object(n.__)("Get the %s plugin!","wordpress-seo"),"Yoast News SEO"))))}}const p=c.a.arrayOf(c.a.shape({name:c.a.string,value:c.a.string}));u.propTypes={postType:c.a.string.isRequired,postTypeName:c.a.string.isRequired,pageType:l.b.isRequired,articleType:l.b,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},u.defaultProps={articleType:null},t.a=Object(l.a)(e=>[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}])(u)},function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));class r{static get articleTypeInput(){return document.getElementById("yoast_wpseo_schema_article_type")}static get defaultArticleType(){return r.articleTypeInput.getAttribute("data-default")}static get articleType(){return r.articleTypeInput.value}static set articleType(e){r.articleTypeInput.value=e}static get pageTypeInput(){return document.getElementById("yoast_wpseo_schema_page_type")}static get defaultPageType(){return r.pageTypeInput.getAttribute("data-default")}static get pageType(){return r.pageTypeInput.value}static set pageType(e){r.pageTypeInput.value=e}}},,,function(e,t,a){"use strict";a.d(t,"b",(function(){return u}));var r=a(0),n=a(2),s=a(33),o=a(1),i=a.n(o),c=a(4),l=a(
|
308 |
/* Translators: %s translates to the Post Label in singular form */
|
309 |
Object(n.sprintf)(Object(n.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),a)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:g},
|
310 |
/* Translators: %s translates to the Post Label in singular form */
|
311 |
-
Object(n.sprintf)(Object(n.__)("Return to your %s","wordpress-seo"),a)))))),Object(r.createElement)(l.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};p.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,shouldCloseOnClickOutside:i.a.bool,showChangesWarning:i.a.bool},p.defaultProps={shouldCloseOnClickOutside:!0,showChangesWarning:!0},t.a=p},,function(e,t,a){"use strict";a.d(t,"a",(function(){return g})),a.d(t,"c",(function(){return f})),a.d(t,"b",(function(){return
|
312 |
/* translators: %s expands to a link to open the Wincher login popup. */
|
313 |
Object(o.__)("It seems like something went wrong when retrieving your website's data. Please %s and try again.","wordpress-seo"),"{{reconnectToWincher/}}","Wincher");return Object(r.createElement)(l.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:t=>{t.preventDefault(),e.onReconnect()}},Object(o.sprintf)(
|
314 |
/* translators: %s : Expands to "Wincher". */
|
@@ -320,17 +320,17 @@ Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};d.propTypes={on
|
|
320 |
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
321 |
Object(d.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),a=Object(d.sprintf)(
|
322 |
/* Translators: %s expands to Yoast SEO Premium */
|
323 |
-
Object(d.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(r.createElement)(r.Fragment,null,Object(r.createElement)(m,{type:"info"},l()({mixedString:t,components:{strong:Object(r.createElement)("b",null)}}),Object(r.createElement)("br",null),Object(r.createElement)(h,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(r.createElement)("p",null,a))))};b.propTypes={socialMediumName:s.a.oneOf(["Twitter","Facebook"]).isRequired};var g=b,f=a(
|
324 |
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
325 |
-
"With %1$s you can track the ranking position of your page in the search results based on your keyphrase(s). %2$s","wordpress-seo"),"{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(r.createElement)("p",null,o()({mixedString:e,components:{wincherLink:Object(r.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(r.createElement)(l,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(n.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}}
|
326 |
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
327 |
-
Object(c.__)("You've reached the maximum amount of %d keyphrases you can add to your Wincher account. If you wish to add more keyphrases, please %s.","wordpress-seo"),e.limit,"{{updateWincherPlanLink/}}");return Object(i.createElement)(h.Alert,{type:"error"},f()({mixedString:t,components:{updateWincherPlanLink:Object(i.createElement)(
|
328 |
/* translators: %s : Expands to "Wincher". */
|
329 |
-
Object(c.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};
|
330 |
/* translators: %s: Expands to "Wincher". */
|
331 |
Object(c.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher")),v=()=>Object(i.createElement)(h.Alert,{type:"info"},Object(c.sprintf)(
|
332 |
/* translators: %s: Expands to "Wincher". */
|
333 |
-
Object(c.__)("%s is currently tracking the ranking position(s) of your page. This may take a few minutes. Please wait or check back later.","wordpress-seo"),"Wincher")),k=a(96),_=a(
|
334 |
display: block;
|
335 |
font-style: italic;
|
336 |
|
@@ -344,11 +344,11 @@ Object(c.__)("%s is currently tracking the ranking position(s) of your page. Thi
|
|
344 |
`,C=m.a.div`
|
345 |
width: 100%;
|
346 |
overflow-y: auto;
|
347 |
-
`,P=e=>{const t=Object(i.useRef)();return Object(i.useEffect)(()=>{t.current=e}),t.current},
|
348 |
/* translators: %s expands to Wincher */
|
349 |
-
Object(c.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(i.createElement)(
|
350 |
/* translators: %s: Expands to "Wincher". */
|
351 |
-
Object(c.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher")),D=a(
|
352 |
/* translators: %s expands to Wincher */
|
353 |
Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));B.propTypes={isLoggedIn:d.a.bool.isRequired,onLogin:d.a.func.isRequired};const V=m.a.div`
|
354 |
p {
|
@@ -360,7 +360,7 @@ Object(c.__)("Connect with %s","wordpress-seo"),"Wincher")));B.propTypes={isLogg
|
|
360 |
font-weight: var(--yoast-font-weight-bold);
|
361 |
color: var(--yoast-color-label);
|
362 |
font-size: var(--yoast-font-size-default);
|
363 |
-
`,Z=e=>{const{isLoggedIn:t,keyphrases:a,shouldTrackAll:r,permalink:n}=e;return!n&&t?Object(i.createElement)(U,null):0===a.length?Object(i.createElement)(N,null):Object(i.createElement)(Y,{isDisabled:!t},Object(i.createElement)("p",null,Object(c.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(i.createElement)(M,null),Object(i.createElement)(F,null))};function J(e){const{isNewlyAuthenticated:t,isLoggedIn:a}=e,r=Object(i.useCallback)(()=>{K(e)},[K,e]);return Object(i.createElement)(V,null,t&&Object(i.createElement)(E,null),Object(i.createElement)(G,null,Object(c.__)("SEO performance","wordpress-seo"),Object(i.createElement)(h.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(c.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(i.createElement)(q.a,null),Object(i.createElement)(B,{isLoggedIn:a,onLogin:r}),Object(i.createElement)($,o()({},e,{onLogin:r})),Object(i.createElement)(Z,e))}Z.propTypes={keyphrases:d.a.array.isRequired,isLoggedIn:d.a.bool.isRequired,shouldTrackAll:d.a.bool.isRequired,permalink:d.a.string.isRequired},J.propTypes={isLoggedIn:d.a.bool,isNewlyAuthenticated:d.a.bool,keyphrases:d.a.array,response:d.a.object,shouldTrackAll:d.a.bool,permalink:d.a.string},J.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(n.compose)([Object(r.withSelect)(e=>{const{isWincherNewlyAuthenticated:t,getWincherKeyphraseLimitReached:a,getWincherLimit:r,getWincherLoginStatus:n,getWincherRequestIsSuccess:s,getWincherRequestResponse:o,getWincherTrackableKeyphrases:i,getWincherAllKeyphrasesMissRanking:c,getWincherPermalink:l,shouldWincherAutomaticallyTrackAll:d}=e("yoast-seo/editor");return{keyphrases:i(),allKeyphrasesMissRanking:c(),isLoggedIn:n(),isNewlyAuthenticated:t(),isSuccess:s(),keyphraseLimitReached:a(),limit:r(),response:o(),shouldTrackAll:d(),permalink:l()}}),Object(r.withDispatch)(e=>{const{setWincherWebsiteId:t,setWincherRequestSucceeded:a,setWincherRequestFailed:r,setWincherLoginStatus:n}=e("yoast-seo/editor");return{setRequestSucceeded:e=>{a(e)},setRequestFailed:e=>{r(e)},onAuthentication:(e,a,r)=>{t(r),n(e,a)}}})])(J)},function(e,t,a){"use strict";var r=a(4);const n=Object(r.memoize)((e,t)=>0===e?r.noop:Object(r.debounce)(a=>t(a,e),500));t.a=n}
|
364 |
&${c.StyledSectionBase} {
|
365 |
padding: 0;
|
366 |
|
@@ -385,29 +385,29 @@ Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases.
|
|
385 |
/* translators: %s : Expands to "Semrush". */
|
386 |
Object(o.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(s.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
|
387 |
/* translators: %s : Expands to "Semrush". */
|
388 |
-
Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"}))),b=a(26),g=a.n(b),f=a(
|
389 |
/* translators: %s expands to Semrush */
|
390 |
-
Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}_.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},_.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var T=_;const
|
391 |
/* translators: %s: Expands to "Yoast SEO". */
|
392 |
-
Object(o.__)("Would you like to be able to add these related keyphrases to the %s analysis so you can optimize your content even further?","wordpress-seo"),"Yoast SEO")+" ",Object(s.createElement)(
|
393 |
/* translators: %s: Expands to "Yoast SEO Premium". */
|
394 |
Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium"))),S=()=>Object(s.createElement)(d.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo")),C=()=>Object(s.createElement)(d.Alert,{type:"warning"},Object(o.sprintf)(
|
395 |
/* translators: %s: Expands to "Yoast SEO". */
|
396 |
-
Object(o.__)("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")),P=a(
|
397 |
/* Translators: %1$s expands to the numeric Flesch reading ease score,
|
398 |
%2$s expands to the easiness of reading (e.g. 'easy' or 'very difficult').
|
399 |
*/
|
400 |
-
Object(s.__)("The copy scores %1$s in the test, which is considered %2$s to read.","wordpress-seo"),e,function(e){switch(e){case c.DIFFICULTY.NO_DATA:return Object(s.__)("no data","wordpress-seo");case c.DIFFICULTY.VERY_EASY:return Object(s.__)("very easy","wordpress-seo");case c.DIFFICULTY.EASY:return Object(s.__)("easy","wordpress-seo");case c.DIFFICULTY.FAIRLY_EASY:return Object(s.__)("fairly easy","wordpress-seo");case c.DIFFICULTY.OKAY:return Object(s.__)("okay","wordpress-seo");case c.DIFFICULTY.FAIRLY_DIFFICULT:return Object(s.__)("fairly difficult","wordpress-seo");case c.DIFFICULTY.DIFFICULT:return Object(s.__)("difficult","wordpress-seo");case c.DIFFICULTY.VERY_DIFFICULT:return Object(s.__)("very difficult","wordpress-seo")}}(t))}(e,t)," ",t>=c.DIFFICULTY.FAIRLY_DIFFICULT?Object(r.createElement)(d,{href:a},n+"."):n)}t.a=()=>{let e=Object(n.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseScore(),[]);const t=Object(r.useMemo)(()=>Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease",""),[]),a=Object(n.useSelect)(e=>e("yoast-seo/editor").getFleschReadingEaseDifficulty(),[e]),i=Object(r.useMemo)(()=>{const t=Object(l.get)(window,"wpseoAdminL10n.shortlinks-insights-flesch_reading_ease_article","");return u(e,a,t)},[e,a]);return-1===e&&(e="?"),Object(r.createElement)(o.InsightsCard,{id:"yoastseo-flesch-reading-ease-insights",amount:e,unit:Object(s.__)("out of 100","wordpress-seo"),title:Object(s.__)("Flesch reading ease","wordpress-seo"),linkTo:t,linkText:Object(s.__)("Learn more about Flesch reading ease","wordpress-seo"),description:i})}},function(e,t,a){"use strict";var r=a(0),n=a(6),s=a(2),o=a(7),i=a(4);t.a=()=>{const e=Object(n.useSelect)(e=>e("yoast-seo/editor").getTextLength(),[]),t=Object(r.useMemo)(()=>Object(i.get)(window,"wpseoAdminL10n.shortlinks-insights-word_count",""),[]);let a=Object(s._n)("word","words",e.count,"wordpress-seo"),c=Object(s.__)("Word count","wordpress-seo"),l=Object(s.__)("Learn more about word count","wordpress-seo");return"character"===e.unit&&(a=Object(s._n)("character","characters",e.count,"wordpress-seo"),c=Object(s.__)("Character count","wordpress-seo"),l=Object(s.__)("Learn more about character count","wordpress-seo")),Object(r.createElement)(o.InsightsCard,{id:"yoastseo-text-length-insights",amount:e.count,unit:a,title:c,linkTo:t,linkText:l})}},function(e,t,a){"use strict";var r=a(0),n=a(
|
401 |
/* Translators: %s translates to the Post type in singular form */
|
402 |
-
Object(o.__)("Timestamp this %s","wordpress-seo"),this.props.postTypeName.toLowerCase()),isEnabled:this.props.isEnabled,onSetToggleState:this.handleToggle}),Object(s.createElement)(b,{isAuthenticated:this.props.isAuthenticated}),Object(s.createElement)(g,{toggleIsEnabled:this.props.isEnabled,isAuthenticated:this.props.isAuthenticated}),!this.props.isAuthenticated&&this.props.isEnabled&&Object(s.createElement)(i.Alert,{className:"yoast-wordproof-metabox-alert",type:"info"},Object(o.__)("Unable to create new timestamps. Please authenticate with WordProof.","wordpress-seo"))))}}f.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,postTypeName:d.a.string,isAuthenticated:d.a.bool.isRequired},f.defaultProps={id:"timestamp-toggle",isEnabled:!0,postTypeName:"post",onToggle:p.noop};var
|
403 |
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
404 |
Object(o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:a,value:"2"}]:[{name:Object(o.sprintf)(
|
405 |
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
406 |
Object(o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:a,value:"index"},{name:t,value:"noindex"}]})(r);return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(s.Fragment,null,n&&Object(s.createElement)(i.Alert,{type:"warning"},Object(o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),Object(s.createElement)(i.Select,{label:Object(o.sprintf)(
|
407 |
/* Translators: %s translates to the Post Label in singular form */
|
408 |
-
Object(o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:a,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")})))};
|
409 |
/* Translators: %s translates to the Post Label in singular form */
|
410 |
-
Object(o.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:n,onChange:a,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};w.propTypes={noFollow:d.a.string.isRequired,onNoFollowChange:d.a.func.isRequired,postTypeName:d.a.string.isRequired};const j=e=>{let{advanced:t,onAdvancedChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>{const r=Object(c.join)(["yoast-meta-robots-advanced",e]),n=r+"-input";return Object(s.createElement)(i.MultiSelect,{label:Object(o.__)("Meta robots advanced","wordpress-seo"),onChange:a,id:r,inputId:n,options:[{name:Object(o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};j.propTypes={advanced:d.a.array.isRequired,onAdvancedChange:d.a.func.isRequired};const E=e=>{let{breadcrumbsTitle:t,onBreadcrumbsTitleChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:a,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")}))};E.propTypes={breadcrumbsTitle:d.a.string.isRequired,onBreadcrumbsTitleChange:d.a.func.isRequired};const v=e=>{let{canonical:t,onCanonicalChange:a}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(i.TextInput,{label:Object(o.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:a,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")}))};v.propTypes={canonical:d.a.string.isRequired,onCanonicalChange:d.a.func.isRequired};const k=e=>{let{wordproofTimestamp:t,onWordProofTimestampChange:a,postTypeName:r}=e;return Object(s.createElement)(u.LocationConsumer,null,e=>Object(s.createElement)(
|
411 |
/* translators: %s expands to 'Yoast SEO Premium'. */
|
412 |
Object(n.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:s,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(n.__)("1 year of premium support and updates included!","wordpress-seo")})};b.propTypes={buyLink:o.a.string.isRequired};var g=b;const f=c()(l.CollapsibleStateless)`
|
413 |
h2 > button {
|
@@ -418,23 +418,23 @@ Object(n.__)("Unlock with %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton
|
|
418 |
background-color: #f0f0f0;
|
419 |
}
|
420 |
}
|
421 |
-
`,
|
422 |
padding: 16px;
|
423 |
`;function w(e){let{location:t,show:a}=e;return a?Object(r.createElement)(l.Alert,{type:"info"},Object(o.sprintf)(
|
424 |
/* translators: %s Expands to "Yoast News SEO" */
|
425 |
-
Object(o.__)("Are you working on a news article? %s helps you optimize your site for Google News.","wordpress-seo"),"Yoast News SEO")+" ",Object(r.createElement)(
|
426 |