Version Description
Release Date: January 11th, 2022
Yoast SEO 17.9 is now available! Yoast SEO now comes with a keyphrase tracking tool powered by Wincher that lets you monitor your keyphrases, straight from the plugin! Make sure to try out this new keyphrase tracking feature and let us know what you think. Read more about what's new in Yoast SEO 17.9 in our release post in English or our release post in Spanish!
Enhancements:
- Introduces a keyphrase position tracking tool that gives insight into how your content ranks in the search results. Powered by Wincher.
- Improves Japanese text analysis results by adding functionality to segment Japanese texts into sentences and words.
- Adapts relevant assessments to count text length in characters instead of words in Japanese.
- Completes the readability analysis for Japanese by adding the transition words and sentence beginnings assessments.
- Improves keyword detection for Japanese by adding a function words list.
- Adapts Keyphrase in title scoring criteria for Japanese: the exact match keyphrase is not required for Japanese unless the keyphrase is enclosed in double quotes.
- Disables the Keyphrase in slug assessment for Japanese due to currently being unable to match keyphrases written in Japanese characters in slugs written in Latin characters.
- Improves the accuracy of the Estimated Reading Time results for Japanese.
- Adapts the recommended meta description length and meta description preview limit for Japanese.
- Improves the Workouts overview for mobile screens.
- Makes sure we don't output the same
sameAs
URL twice onPerson
andOrganization
. - Adds "Blog Post" /
BlogPosting
as a potential SchemaArticle
type.
Bugfixes:
- Fixes a bug where a fatal error would be thrown when using PHP 8.1.
- Fixes a bug where the
og:image:type
meta would not be output correctly. Props to @dodomorandi. - Fixes a bug where the incoming link count of a post would not return to zero if all incoming links were removed.
- Fixes a bug where the meta description would get trimmed to an empty string if the text doesn't have any space. Props to @waviaei.
- Fixes a bug where Link keyphrase assessment would not find a match when the keyphrase is enclosed in double quotes.
- Fixes a bug where
<br>
tags with attributes in the text would not be converted to paragraph tags. As a result some long paragraphs in the text might not have been highlighted in the Paragraph length assessment.
Other:
- Improves compatibility with PHP 8.1 by adding validations and handling deprecations.
- Reverts the removal of the deprecated
WPSEO_Frontend
class. - Changes the font size of the alerts from 14px to 13px.
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 17.9 |
Comparing to | |
See all releases |
Code changes from version 17.8 to 17.9
- admin/class-admin-asset-manager.php +29 -9
- admin/class-admin.php +12 -2
- admin/class-gutenberg-compatibility.php +3 -3
- admin/class-schema-person-upgrade-notification.php +3 -2
- admin/class-yoast-dashboard-widget.php +3 -15
- admin/formatter/class-metabox-formatter.php +3 -12
- admin/views/class-yoast-integration-toggles.php +0 -37
- admin/views/tabs/metas/paper-content/integrations/wincher.php +3 -116
- css/dist/{admin-global-1780-rtl.css → admin-global-1790-rtl.css} +0 -0
- css/dist/{admin-global-1780.css → admin-global-1790.css} +0 -0
- css/dist/{adminbar-1780-rtl.css → adminbar-1790-rtl.css} +0 -0
- css/dist/{adminbar-1780.css → adminbar-1790.css} +0 -0
- css/dist/{alerts-1780-rtl.css → alerts-1790-rtl.css} +1 -1
- css/dist/{alerts-1780.css → alerts-1790.css} +1 -1
- css/dist/{dashboard-1780-rtl.css → dashboard-1790-rtl.css} +0 -0
- css/dist/{dashboard-1780.css → dashboard-1790.css} +0 -0
- css/dist/{edit-page-1780-rtl.css → edit-page-1790-rtl.css} +0 -0
- css/dist/{edit-page-1780.css → edit-page-1790.css} +0 -0
- css/dist/{elementor-1780-rtl.css → elementor-1790-rtl.css} +0 -0
- css/dist/{elementor-1780.css → elementor-1790.css} +0 -0
- css/dist/{featured-image-1780-rtl.css → featured-image-1790-rtl.css} +0 -0
- css/dist/{featured-image-1780.css → featured-image-1790.css} +0 -0
- css/dist/{filter-explanation-1780-rtl.css → filter-explanation-1790-rtl.css} +0 -0
- css/dist/{filter-explanation-1780.css → filter-explanation-1790.css} +0 -0
- css/dist/{icons-1780-rtl.css → icons-1790-rtl.css} +0 -0
- css/dist/{icons-1780.css → icons-1790.css} +0 -0
- css/dist/{inside-editor-1780-rtl.css → inside-editor-1790-rtl.css} +0 -0
- css/dist/{inside-editor-1780.css → inside-editor-1790.css} +0 -0
- css/dist/installation-success-1790-rtl.css +1 -0
- css/dist/installation-success-1790.css +1 -0
- css/dist/metabox-1780-rtl.css +0 -1
- css/dist/metabox-1790-rtl.css +1 -0
- css/dist/{metabox-1780.css → metabox-1790.css} +2 -2
- css/dist/{metabox-primary-category-1780-rtl.css → metabox-primary-category-1790-rtl.css} +0 -0
- css/dist/{metabox-primary-category-1780.css → metabox-primary-category-1790.css} +0 -0
- css/dist/{modal-1780-rtl.css → modal-1790-rtl.css} +0 -0
- css/dist/{modal-1780.css → modal-1790.css} +0 -0
- css/dist/{monorepo-1780-rtl.css → monorepo-1790-rtl.css} +0 -0
- css/dist/{monorepo-1780.css → monorepo-1790.css} +0 -0
- css/dist/{notifications-1780-rtl.css → notifications-1790-rtl.css} +0 -0
- css/dist/{notifications-1780.css → notifications-1790.css} +0 -0
- css/dist/{schema-blocks-1780-rtl.css → schema-blocks-1790-rtl.css} +0 -0
- css/dist/{schema-blocks-1780.css → schema-blocks-1790.css} +0 -0
- css/dist/{score_icon-1780-rtl.css → score_icon-1790-rtl.css} +0 -0
- css/dist/{score_icon-1780.css → score_icon-1790.css} +0 -0
- css/dist/search-appearance-1780-rtl.css +0 -1
- css/dist/search-appearance-1780.css +0 -1
- css/dist/search-appearance-1790-rtl.css +1 -0
- css/dist/search-appearance-1790.css +1 -0
- css/dist/{structured-data-blocks-1780-rtl.css → structured-data-blocks-1790-rtl.css} +0 -0
- css/dist/{structured-data-blocks-1780.css → structured-data-blocks-1790.css} +0 -0
- css/dist/{toggle-switch-1780-rtl.css → toggle-switch-1790-rtl.css} +0 -0
- css/dist/{toggle-switch-1780.css → toggle-switch-1790.css} +0 -0
- css/dist/{workouts-1780-rtl.css → workouts-1790-rtl.css} +1 -1
- css/dist/{workouts-1780.css → workouts-1790.css} +1 -1
- css/dist/{wpseo-dismissible-1780-rtl.css → wpseo-dismissible-1790-rtl.css} +0 -0
- css/dist/{wpseo-dismissible-1780.css → wpseo-dismissible-1790.css} +0 -0
- css/dist/{yoast-components-1780-rtl.css → yoast-components-1790-rtl.css} +0 -0
- css/dist/{yoast-components-1780.css → yoast-components-1790.css} +0 -0
- css/dist/{yoast-extensions-1780-rtl.css → yoast-extensions-1790-rtl.css} +0 -0
- css/dist/{yoast-extensions-1780.css → yoast-extensions-1790.css} +0 -0
- css/dist/{yst_plugin_tools-1780-rtl.css → yst_plugin_tools-1790-rtl.css} +0 -0
- css/dist/{yst_plugin_tools-1780.css → yst_plugin_tools-1790.css} +0 -0
- css/dist/{yst_seo_score-1780-rtl.css → yst_seo_score-1790-rtl.css} +0 -0
- css/dist/{yst_seo_score-1780.css → yst_seo_score-1790.css} +0 -0
- images/man_with_tablet.png +0 -0
- images/seo_fitness_assistants_fit.svg +0 -1
- images/seo_fitness_assistants_unfit.svg +0 -1
- inc/class-upgrade.php +8 -0
- inc/class-wpseo-image-utils.php +3 -2
- inc/class-wpseo-replace-vars.php +7 -15
- inc/options/class-wpseo-option-wpseo.php +4 -1
- inc/sitemaps/class-author-sitemap-provider.php +24 -4
- inc/sitemaps/class-sitemap-cache-data.php +66 -10
- inc/sitemaps/class-sitemaps-cache.php +8 -2
- inc/sitemaps/class-sitemaps-renderer.php +1 -1
- js/dist/{addon-installation-1780.js → addon-installation.js} +2 -2
- js/dist/{admin-global-1780.js → admin-global.js} +1 -1
- js/dist/admin-modules-1780.js +0 -4
- js/dist/admin-modules.js +4 -0
- js/dist/{analysis-worker-1780.js → analysis-worker.js} +1 -1
- js/dist/{api-client-1780.js → api-client.js} +1 -1
- js/dist/block-editor-1780.js +0 -63
- js/dist/block-editor.js +63 -0
- js/dist/{bulk-editor-1780.js → bulk-editor.js} +1 -1
- js/dist/classic-editor-1780.js +0 -59
- js/dist/classic-editor.js +59 -0
- js/dist/dashboard-widget-1780.js +0 -21
- js/dist/dashboard-widget.js +19 -0
- js/dist/{dynamic-blocks-1780.js → dynamic-blocks.js} +1 -1
- js/dist/{edit-page-1780.js → edit-page.js} +1 -1
- js/dist/editor-modules-1780.js +0 -41
admin/class-admin-asset-manager.php
CHANGED
@@ -226,9 +226,6 @@ class WPSEO_Admin_Asset_Manager {
|
|
226 |
* @return array The scripts that need to be registered.
|
227 |
*/
|
228 |
protected function scripts_to_be_registered() {
|
229 |
-
$flat_version = $this->flatten_version( WPSEO_VERSION );
|
230 |
-
$ext_length = ( strlen( $flat_version ) + 4 );
|
231 |
-
|
232 |
$header_scripts = [
|
233 |
'admin-global',
|
234 |
'block-editor',
|
@@ -281,7 +278,7 @@ class WPSEO_Admin_Asset_Manager {
|
|
281 |
$plugin_scripts = $this->load_generated_asset_file(
|
282 |
[
|
283 |
'asset_file' => __DIR__ . '/../src/generated/assets/plugin.php',
|
284 |
-
'ext_length' =>
|
285 |
'additional_deps' => $additional_dependencies,
|
286 |
'header_scripts' => $header_scripts,
|
287 |
]
|
@@ -289,7 +286,7 @@ class WPSEO_Admin_Asset_Manager {
|
|
289 |
$external_scripts = $this->load_generated_asset_file(
|
290 |
[
|
291 |
'asset_file' => __DIR__ . '/../src/generated/assets/externals.php',
|
292 |
-
'ext_length' =>
|
293 |
'suffix' => '-package',
|
294 |
'base_dir' => 'externals/',
|
295 |
'additional_deps' => $additional_dependencies,
|
@@ -299,7 +296,7 @@ class WPSEO_Admin_Asset_Manager {
|
|
299 |
$language_scripts = $this->load_generated_asset_file(
|
300 |
[
|
301 |
'asset_file' => __DIR__ . '/../src/generated/assets/languages.php',
|
302 |
-
'ext_length' =>
|
303 |
'suffix' => '-language',
|
304 |
'base_dir' => 'languages/',
|
305 |
'additional_deps' => $additional_dependencies,
|
@@ -317,6 +314,21 @@ class WPSEO_Admin_Asset_Manager {
|
|
317 |
$renamed_scripts
|
318 |
);
|
319 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
320 |
$scripts['post-edit-classic'] = [
|
321 |
'name' => 'post-edit-classic',
|
322 |
'src' => $scripts['post-edit']['src'],
|
@@ -330,12 +342,13 @@ class WPSEO_Admin_Asset_Manager {
|
|
330 |
$scripts['post-edit']['deps']
|
331 |
),
|
332 |
'in_footer' => ! in_array( 'post-edit-classic', $header_scripts, true ),
|
|
|
333 |
];
|
334 |
|
335 |
$scripts['workouts'] = [
|
336 |
-
'name'
|
337 |
-
'src'
|
338 |
-
'deps'
|
339 |
'clipboard',
|
340 |
'lodash',
|
341 |
'wp-api-fetch',
|
@@ -353,6 +366,7 @@ class WPSEO_Admin_Asset_Manager {
|
|
353 |
self::PREFIX . 'react-select',
|
354 |
self::PREFIX . 'yoast-components',
|
355 |
],
|
|
|
356 |
];
|
357 |
|
358 |
// Add the current language to every script that requires the analysis package.
|
@@ -418,6 +432,7 @@ class WPSEO_Admin_Asset_Manager {
|
|
418 |
'src' => $args['base_dir'] . $file,
|
419 |
'deps' => $deps,
|
420 |
'in_footer' => ! in_array( $name, $args['header_scripts'], true ),
|
|
|
421 |
];
|
422 |
}
|
423 |
|
@@ -648,6 +663,11 @@ class WPSEO_Admin_Asset_Manager {
|
|
648 |
'src' => 'workouts-' . $flat_version,
|
649 |
'deps' => [ self::PREFIX . 'monorepo' ],
|
650 |
],
|
|
|
|
|
|
|
|
|
|
|
651 |
];
|
652 |
}
|
653 |
|
226 |
* @return array The scripts that need to be registered.
|
227 |
*/
|
228 |
protected function scripts_to_be_registered() {
|
|
|
|
|
|
|
229 |
$header_scripts = [
|
230 |
'admin-global',
|
231 |
'block-editor',
|
278 |
$plugin_scripts = $this->load_generated_asset_file(
|
279 |
[
|
280 |
'asset_file' => __DIR__ . '/../src/generated/assets/plugin.php',
|
281 |
+
'ext_length' => 3,
|
282 |
'additional_deps' => $additional_dependencies,
|
283 |
'header_scripts' => $header_scripts,
|
284 |
]
|
286 |
$external_scripts = $this->load_generated_asset_file(
|
287 |
[
|
288 |
'asset_file' => __DIR__ . '/../src/generated/assets/externals.php',
|
289 |
+
'ext_length' => 3,
|
290 |
'suffix' => '-package',
|
291 |
'base_dir' => 'externals/',
|
292 |
'additional_deps' => $additional_dependencies,
|
296 |
$language_scripts = $this->load_generated_asset_file(
|
297 |
[
|
298 |
'asset_file' => __DIR__ . '/../src/generated/assets/languages.php',
|
299 |
+
'ext_length' => 3,
|
300 |
'suffix' => '-language',
|
301 |
'base_dir' => 'languages/',
|
302 |
'additional_deps' => $additional_dependencies,
|
314 |
$renamed_scripts
|
315 |
);
|
316 |
|
317 |
+
$scripts['installation-success'] = [
|
318 |
+
'name' => 'installation-success',
|
319 |
+
'src' => 'installation-success.js',
|
320 |
+
'deps' => [
|
321 |
+
'wp-a11y',
|
322 |
+
'wp-dom-ready',
|
323 |
+
'wp-components',
|
324 |
+
'wp-element',
|
325 |
+
'wp-i18n',
|
326 |
+
self::PREFIX . 'yoast-components',
|
327 |
+
self::PREFIX . 'externals-components',
|
328 |
+
],
|
329 |
+
'version' => $scripts['installation-success']['version'],
|
330 |
+
];
|
331 |
+
|
332 |
$scripts['post-edit-classic'] = [
|
333 |
'name' => 'post-edit-classic',
|
334 |
'src' => $scripts['post-edit']['src'],
|
342 |
$scripts['post-edit']['deps']
|
343 |
),
|
344 |
'in_footer' => ! in_array( 'post-edit-classic', $header_scripts, true ),
|
345 |
+
'version' => $scripts['post-edit']['version'],
|
346 |
];
|
347 |
|
348 |
$scripts['workouts'] = [
|
349 |
+
'name' => 'workouts',
|
350 |
+
'src' => 'workouts.js',
|
351 |
+
'deps' => [
|
352 |
'clipboard',
|
353 |
'lodash',
|
354 |
'wp-api-fetch',
|
366 |
self::PREFIX . 'react-select',
|
367 |
self::PREFIX . 'yoast-components',
|
368 |
],
|
369 |
+
'version' => $scripts['workouts']['version'],
|
370 |
];
|
371 |
|
372 |
// Add the current language to every script that requires the analysis package.
|
432 |
'src' => $args['base_dir'] . $file,
|
433 |
'deps' => $deps,
|
434 |
'in_footer' => ! in_array( $name, $args['header_scripts'], true ),
|
435 |
+
'version' => $data['version'],
|
436 |
];
|
437 |
}
|
438 |
|
663 |
'src' => 'workouts-' . $flat_version,
|
664 |
'deps' => [ self::PREFIX . 'monorepo' ],
|
665 |
],
|
666 |
+
[
|
667 |
+
'name' => 'installation-success',
|
668 |
+
'src' => 'installation-success-' . $flat_version,
|
669 |
+
'deps' => [ self::PREFIX . 'monorepo' ],
|
670 |
+
],
|
671 |
];
|
672 |
}
|
673 |
|
admin/class-admin.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* @package WPSEO\Admin
|
6 |
*/
|
7 |
|
8 |
-
use Yoast\WP\SEO\
|
9 |
|
10 |
/**
|
11 |
* Class that holds most of the admin functionality for Yoast SEO.
|
@@ -302,7 +302,17 @@ class WPSEO_Admin {
|
|
302 |
* Log the updated timestamp for user profiles when theme is changed.
|
303 |
*/
|
304 |
public function switch_theme() {
|
305 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
306 |
if ( is_array( $users ) && $users !== [] ) {
|
307 |
foreach ( $users as $user ) {
|
308 |
update_user_meta( $user->ID, '_yoast_wpseo_profile_updated', time() );
|
5 |
* @package WPSEO\Admin
|
6 |
*/
|
7 |
|
8 |
+
use Yoast\WP\SEO\Helpers\Wordpress_Helper;
|
9 |
|
10 |
/**
|
11 |
* Class that holds most of the admin functionality for Yoast SEO.
|
302 |
* Log the updated timestamp for user profiles when theme is changed.
|
303 |
*/
|
304 |
public function switch_theme() {
|
305 |
+
$wordpress_helper = new Wordpress_Helper();
|
306 |
+
$wordpress_version = $wordpress_helper->get_wordpress_version();
|
307 |
+
|
308 |
+
// Capability queries were only introduced in WP 5.9.
|
309 |
+
if ( version_compare( $wordpress_version, '5.8.99', '<' ) ) {
|
310 |
+
$users = get_users( [ 'who' => 'authors' ] );
|
311 |
+
}
|
312 |
+
else {
|
313 |
+
$users = get_users( [ 'capability' => [ 'edit_posts' ] ] );
|
314 |
+
}
|
315 |
+
|
316 |
if ( is_array( $users ) && $users !== [] ) {
|
317 |
foreach ( $users as $user ) {
|
318 |
update_user_meta( $user->ID, '_yoast_wpseo_profile_updated', time() );
|
admin/class-gutenberg-compatibility.php
CHANGED
@@ -15,21 +15,21 @@ class WPSEO_Gutenberg_Compatibility {
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
const CURRENT_RELEASE = '12.
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
const MINIMUM_SUPPORTED = '12.
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
-
protected $current_version;
|
33 |
|
34 |
/**
|
35 |
* WPSEO_Gutenberg_Compatibility constructor.
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
const CURRENT_RELEASE = '12.3.0';
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
const MINIMUM_SUPPORTED = '12.3.0';
|
26 |
|
27 |
/**
|
28 |
* Holds the current version.
|
29 |
*
|
30 |
* @var string
|
31 |
*/
|
32 |
+
protected $current_version = '';
|
33 |
|
34 |
/**
|
35 |
* WPSEO_Gutenberg_Compatibility constructor.
|
admin/class-schema-person-upgrade-notification.php
CHANGED
@@ -6,7 +6,8 @@
|
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
-
* Notifies the user to update the
|
|
|
10 |
*/
|
11 |
class WPSEO_Schema_Person_Upgrade_Notification implements WPSEO_WordPress_Integration {
|
12 |
|
@@ -55,7 +56,7 @@ class WPSEO_Schema_Person_Upgrade_Notification implements WPSEO_WordPress_Integr
|
|
55 |
*/
|
56 |
protected function get_notification() {
|
57 |
$message = sprintf(
|
58 |
-
/* translators: %1$s is a link start tag to the
|
59 |
__( 'You have previously set your site to represent a person. We’ve improved our functionality around Schema and the Knowledge Graph, so you should go in and %1$scomplete those settings%2$s.', 'wordpress-seo' ),
|
60 |
'<a href="' . esc_url( admin_url( 'admin.php?page=wpseo_titles' ) ) . '">',
|
61 |
'</a>'
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
+
* Notifies the user to update the Search Appearance settings when the site is set to represent a Person,
|
10 |
+
* but no person (name) has been chosen.
|
11 |
*/
|
12 |
class WPSEO_Schema_Person_Upgrade_Notification implements WPSEO_WordPress_Integration {
|
13 |
|
56 |
*/
|
57 |
protected function get_notification() {
|
58 |
$message = sprintf(
|
59 |
+
/* translators: %1$s is a link start tag to the Search Appearance settings, %2$s is the link closing tag. */
|
60 |
__( 'You have previously set your site to represent a person. We’ve improved our functionality around Schema and the Knowledge Graph, so you should go in and %1$scomplete those settings%2$s.', 'wordpress-seo' ),
|
61 |
'<a href="' . esc_url( admin_url( 'admin.php?page=wpseo_titles' ) ) . '">',
|
62 |
'</a>'
|
admin/class-yoast-dashboard-widget.php
CHANGED
@@ -5,12 +5,6 @@
|
|
5 |
* @package WPSEO\Admin
|
6 |
*/
|
7 |
|
8 |
-
use Yoast\WP\SEO\Conditionals\Wincher_Conditional;
|
9 |
-
use Yoast\WP\SEO\Config\Wincher_Client;
|
10 |
-
use Yoast\WP\SEO\Exceptions\OAuth\Authentication_Failed_Exception;
|
11 |
-
use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception;
|
12 |
-
use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Token_Exception;
|
13 |
-
|
14 |
/**
|
15 |
* Class to change or add WordPress dashboard widgets.
|
16 |
*/
|
@@ -124,13 +118,7 @@ class Yoast_Dashboard_Widget implements WPSEO_WordPress_Integration {
|
|
124 |
* @return array The translated strings.
|
125 |
*/
|
126 |
public function localize_dashboard_script() {
|
127 |
-
$is_wincher_active =
|
128 |
-
|
129 |
-
// If feature flag is disabled, Wincher should not be active.
|
130 |
-
$conditional = new Wincher_Conditional();
|
131 |
-
if ( ! $conditional->is_met() ) {
|
132 |
-
$is_wincher_active = false;
|
133 |
-
}
|
134 |
|
135 |
return [
|
136 |
'feed_header' => sprintf(
|
@@ -141,8 +129,8 @@ class Yoast_Dashboard_Widget implements WPSEO_WordPress_Integration {
|
|
141 |
'feed_footer' => __( 'Read more like this on our SEO blog', 'wordpress-seo' ),
|
142 |
'wp_version' => substr( $GLOBALS['wp_version'], 0, 3 ) . '-' . ( is_plugin_active( 'classic-editor/classic-editor.php' ) ? '1' : '0' ),
|
143 |
'php_version' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION,
|
144 |
-
'is_wincher_active' => $is_wincher_active ? 1 : 0,
|
145 |
-
'wincher_is_logged_in' => $is_wincher_active ? YoastSEO()->helpers->wincher->login_status() : false,
|
146 |
'wincher_website_id' => WPSEO_Options::get( 'wincher_website_id', '' ),
|
147 |
];
|
148 |
}
|
5 |
* @package WPSEO\Admin
|
6 |
*/
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
/**
|
9 |
* Class to change or add WordPress dashboard widgets.
|
10 |
*/
|
118 |
* @return array The translated strings.
|
119 |
*/
|
120 |
public function localize_dashboard_script() {
|
121 |
+
$is_wincher_active = YoastSEO()->helpers->wincher->is_active();
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
|
123 |
return [
|
124 |
'feed_header' => sprintf(
|
129 |
'feed_footer' => __( 'Read more like this on our SEO blog', 'wordpress-seo' ),
|
130 |
'wp_version' => substr( $GLOBALS['wp_version'], 0, 3 ) . '-' . ( is_plugin_active( 'classic-editor/classic-editor.php' ) ? '1' : '0' ),
|
131 |
'php_version' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION,
|
132 |
+
'is_wincher_active' => ( $is_wincher_active ) ? 1 : 0,
|
133 |
+
'wincher_is_logged_in' => ( $is_wincher_active ) ? YoastSEO()->helpers->wincher->login_status() : false,
|
134 |
'wincher_website_id' => WPSEO_Options::get( 'wincher_website_id', '' ),
|
135 |
];
|
136 |
}
|
admin/formatter/class-metabox-formatter.php
CHANGED
@@ -5,10 +5,8 @@
|
|
5 |
* @package WPSEO\Admin\Formatter
|
6 |
*/
|
7 |
|
8 |
-
use Yoast\WP\SEO\Conditionals\Wincher_Conditional;
|
9 |
use Yoast\WP\SEO\Config\Schema_Types;
|
10 |
use Yoast\WP\SEO\Config\SEMrush_Client;
|
11 |
-
use Yoast\WP\SEO\Config\Wincher_Client;
|
12 |
use Yoast\WP\SEO\Exceptions\OAuth\Authentication_Failed_Exception;
|
13 |
use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception;
|
14 |
use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Token_Exception;
|
@@ -55,14 +53,7 @@ class WPSEO_Metabox_Formatter {
|
|
55 |
$analysis_seo = new WPSEO_Metabox_Analysis_SEO();
|
56 |
$analysis_readability = new WPSEO_Metabox_Analysis_Readability();
|
57 |
$schema_types = new Schema_Types();
|
58 |
-
|
59 |
-
$is_wincher_active = WPSEO_Options::get( 'wincher_integration_active', true );
|
60 |
-
|
61 |
-
// If feature flag is disabled, Wincher should not be active.
|
62 |
-
$conditional = new Wincher_Conditional();
|
63 |
-
if ( ! $conditional->is_met() ) {
|
64 |
-
$is_wincher_active = false;
|
65 |
-
}
|
66 |
|
67 |
return [
|
68 |
'author_name' => get_the_author_meta( 'display_name' ),
|
@@ -176,8 +167,8 @@ class WPSEO_Metabox_Formatter {
|
|
176 |
'analysisHeadingTitle' => __( 'Analysis', 'wordpress-seo' ),
|
177 |
'zapierIntegrationActive' => WPSEO_Options::get( 'zapier_integration_active', false ) ? 1 : 0,
|
178 |
'zapierConnectedStatus' => ! empty( WPSEO_Options::get( 'zapier_subscription', [] ) ) ? 1 : 0,
|
179 |
-
'wincherIntegrationActive' => $is_wincher_active ? 1 : 0,
|
180 |
-
'wincherLoginStatus' => $is_wincher_active ? YoastSEO()->helpers->wincher->login_status() : false,
|
181 |
'wincherWebsiteId' => WPSEO_Options::get( 'wincher_website_id', '' ),
|
182 |
'wincherAutoAddKeyphrases' => WPSEO_Options::get( 'wincher_automatically_add_keyphrases', false ),
|
183 |
|
5 |
* @package WPSEO\Admin\Formatter
|
6 |
*/
|
7 |
|
|
|
8 |
use Yoast\WP\SEO\Config\Schema_Types;
|
9 |
use Yoast\WP\SEO\Config\SEMrush_Client;
|
|
|
10 |
use Yoast\WP\SEO\Exceptions\OAuth\Authentication_Failed_Exception;
|
11 |
use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Property_Exception;
|
12 |
use Yoast\WP\SEO\Exceptions\OAuth\Tokens\Empty_Token_Exception;
|
53 |
$analysis_seo = new WPSEO_Metabox_Analysis_SEO();
|
54 |
$analysis_readability = new WPSEO_Metabox_Analysis_Readability();
|
55 |
$schema_types = new Schema_Types();
|
56 |
+
$is_wincher_active = YoastSEO()->helpers->wincher->is_active();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
return [
|
59 |
'author_name' => get_the_author_meta( 'display_name' ),
|
167 |
'analysisHeadingTitle' => __( 'Analysis', 'wordpress-seo' ),
|
168 |
'zapierIntegrationActive' => WPSEO_Options::get( 'zapier_integration_active', false ) ? 1 : 0,
|
169 |
'zapierConnectedStatus' => ! empty( WPSEO_Options::get( 'zapier_subscription', [] ) ) ? 1 : 0,
|
170 |
+
'wincherIntegrationActive' => ( $is_wincher_active ) ? 1 : 0,
|
171 |
+
'wincherLoginStatus' => ( $is_wincher_active ) ? YoastSEO()->helpers->wincher->login_status() : false,
|
172 |
'wincherWebsiteId' => WPSEO_Options::get( 'wincher_website_id', '' ),
|
173 |
'wincherAutoAddKeyphrases' => WPSEO_Options::get( 'wincher_automatically_add_keyphrases', false ),
|
174 |
|
admin/views/class-yoast-integration-toggles.php
CHANGED
@@ -5,8 +5,6 @@
|
|
5 |
* @package WPSEO\Admin
|
6 |
*/
|
7 |
|
8 |
-
use Yoast\WP\SEO\Conditionals\Wincher_Conditional;
|
9 |
-
|
10 |
/**
|
11 |
* Class for managing integration toggles.
|
12 |
*/
|
@@ -121,22 +119,6 @@ class Yoast_Integration_Toggles {
|
|
121 |
],
|
122 |
];
|
123 |
|
124 |
-
// Don't render when feature flag is not enabled.
|
125 |
-
$conditional = new Wincher_Conditional();
|
126 |
-
if ( $conditional->is_met() ) {
|
127 |
-
$integration_toggles[] = (object) [
|
128 |
-
/* translators: %s: 'Wincher' */
|
129 |
-
'name' => sprintf( __( '%s integration', 'wordpress-seo' ), 'Wincher' ),
|
130 |
-
'setting' => 'wincher_integration_active',
|
131 |
-
'label' => sprintf(
|
132 |
-
/* translators: %s: 'Wincher' */
|
133 |
-
__( 'The %s integration offers the option to track specific keyphrases and gain insights in their positions.', 'wordpress-seo' ),
|
134 |
-
'Wincher'
|
135 |
-
),
|
136 |
-
'order' => 11,
|
137 |
-
];
|
138 |
-
}
|
139 |
-
|
140 |
/**
|
141 |
* Filter to add integration toggles from add-ons.
|
142 |
*
|
@@ -148,8 +130,6 @@ class Yoast_Integration_Toggles {
|
|
148 |
$integration_toggles = array_map( [ $this, 'ensure_toggle' ], $integration_toggles );
|
149 |
usort( $integration_toggles, [ $this, 'sort_toggles_callback' ] );
|
150 |
|
151 |
-
add_action( 'Yoast\WP\SEO\admin_integration_after', [ $this, 'load_toggle_additional_content' ] );
|
152 |
-
|
153 |
return $integration_toggles;
|
154 |
}
|
155 |
|
@@ -187,21 +167,4 @@ class Yoast_Integration_Toggles {
|
|
187 |
protected function sort_toggles_callback( Yoast_Feature_Toggle $feature_a, Yoast_Feature_Toggle $feature_b ) {
|
188 |
return ( $feature_a->order - $feature_b->order );
|
189 |
}
|
190 |
-
|
191 |
-
/**
|
192 |
-
* Loads additional content for the passed integration.
|
193 |
-
*
|
194 |
-
* @param Object $integration The integration object.
|
195 |
-
*
|
196 |
-
* @return void
|
197 |
-
*/
|
198 |
-
public function load_toggle_additional_content( $integration ) {
|
199 |
-
switch ( $integration->setting ) {
|
200 |
-
case 'wincher_integration_active':
|
201 |
-
require __DIR__ . '/tabs/metas/paper-content/integrations/wincher.php';
|
202 |
-
break;
|
203 |
-
default:
|
204 |
-
break;
|
205 |
-
}
|
206 |
-
}
|
207 |
}
|
5 |
* @package WPSEO\Admin
|
6 |
*/
|
7 |
|
|
|
|
|
8 |
/**
|
9 |
* Class for managing integration toggles.
|
10 |
*/
|
119 |
],
|
120 |
];
|
121 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
122 |
/**
|
123 |
* Filter to add integration toggles from add-ons.
|
124 |
*
|
130 |
$integration_toggles = array_map( [ $this, 'ensure_toggle' ], $integration_toggles );
|
131 |
usort( $integration_toggles, [ $this, 'sort_toggles_callback' ] );
|
132 |
|
|
|
|
|
133 |
return $integration_toggles;
|
134 |
}
|
135 |
|
167 |
protected function sort_toggles_callback( Yoast_Feature_Toggle $feature_a, Yoast_Feature_Toggle $feature_b ) {
|
168 |
return ( $feature_a->order - $feature_b->order );
|
169 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
}
|
admin/views/tabs/metas/paper-content/integrations/wincher.php
CHANGED
@@ -7,120 +7,7 @@
|
|
7 |
* @uses Yoast_Form $yform Form object.
|
8 |
*/
|
9 |
|
10 |
-
|
11 |
-
use Yoast\WP\SEO\Conditionals\Wincher_Conditional;
|
12 |
|
13 |
-
//
|
14 |
-
$
|
15 |
-
if ( ! $conditional->is_met() ) {
|
16 |
-
return;
|
17 |
-
}
|
18 |
-
|
19 |
-
$asset_manager = new WPSEO_Admin_Asset_Manager();
|
20 |
-
$asset_manager->enqueue_style( 'monorepo' );
|
21 |
-
|
22 |
-
$wincher_is_active = WPSEO_Options::get( 'wincher_integration_active', true );
|
23 |
-
$wincher_is_logged_in = YoastSEO()->helpers->wincher->login_status();
|
24 |
-
|
25 |
-
?>
|
26 |
-
|
27 |
-
<div id="wincher-connection">
|
28 |
-
<div class="yoast">
|
29 |
-
<?php
|
30 |
-
|
31 |
-
$yform = Yoast_Form::get_instance();
|
32 |
-
|
33 |
-
if ( ! $wincher_is_active ) {
|
34 |
-
printf(
|
35 |
-
/* translators: %s: Expands to "Wincher". */
|
36 |
-
esc_html__( 'Please save your changes before configuring the %s integration.', 'wordpress-seo' ),
|
37 |
-
'Wincher'
|
38 |
-
);
|
39 |
-
}
|
40 |
-
|
41 |
-
echo '<br />';
|
42 |
-
|
43 |
-
echo '<div id="wincher-login-success" style="display: none;">';
|
44 |
-
$successfully_loggedin_message = sprintf(
|
45 |
-
/* translators: %s: Expands to "Wincher". */
|
46 |
-
__(
|
47 |
-
'You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this site.',
|
48 |
-
'wordpress-seo'
|
49 |
-
),
|
50 |
-
'Wincher'
|
51 |
-
);
|
52 |
-
|
53 |
-
$successfully_loggedin_alert = new Alert_Presenter( $successfully_loggedin_message, 'success' );
|
54 |
-
|
55 |
-
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output from present() is considered safe.
|
56 |
-
echo '<div class="yoast-measure">' . $successfully_loggedin_alert->present() . '</div>';
|
57 |
-
echo '</div>';
|
58 |
-
|
59 |
-
echo '<div id="wincher-track-all-keyphrases-success" style="display: none;">';
|
60 |
-
$successfully_added_message = sprintf(
|
61 |
-
/* translators: %s: Expands to "Wincher". */
|
62 |
-
__( 'Your existing keyphrases have been successfully added to %s.', 'wordpress-seo' ),
|
63 |
-
'Wincher'
|
64 |
-
);
|
65 |
-
|
66 |
-
$successfully_added_alert = new Alert_Presenter( $successfully_added_message, 'success' );
|
67 |
-
|
68 |
-
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output from present() is considered safe.
|
69 |
-
echo '<div class="yoast-measure">' . $successfully_added_alert->present() . '</div>';
|
70 |
-
echo '</div>';
|
71 |
-
|
72 |
-
echo '<div id="wincher-track-all-keyphrases-error" style="display: none;">';
|
73 |
-
|
74 |
-
$limit_reached_message = sprintf(
|
75 |
-
/* translators: 1: A span element associated with the account limit, 2: The span closing tag, 3: Link start tag to the Wincher website, 4: expands to Wincher, 5: Link closing tag. */
|
76 |
-
esc_html__( 'You\'ve reached the maximum amount of %1$s%2$s keyphrases you can add to your %4$s account. If you wish to add more keyphrases, please %3$supgrade your %4$s plan.%5$s', 'wordpress-seo' ),
|
77 |
-
'<span id="wincher-track-all-limit">',
|
78 |
-
'</span>',
|
79 |
-
'<a href="https://www.wincher.com/pricing?utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast">',
|
80 |
-
'Wincher',
|
81 |
-
'</a>'
|
82 |
-
);
|
83 |
-
|
84 |
-
$limit_reached_alert = new Alert_Presenter( $limit_reached_message, 'error' );
|
85 |
-
|
86 |
-
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output from present() is considered safe.
|
87 |
-
echo '<div class="yoast-measure">' . $limit_reached_alert->present() . '</div>';
|
88 |
-
echo '</div>';
|
89 |
-
|
90 |
-
echo '<div id="wincher-website-error" style="display: none;">';
|
91 |
-
|
92 |
-
$website_error_message = sprintf(
|
93 |
-
/* translators: %1$s expands to the opening tag for a link to open the Wincher login popup, %2$s expands to Wincher, %3$s expands to the closing tag for the link. */
|
94 |
-
esc_html__( 'It seems like something went wrong when retrieving your website\'s data. Please %1$s reconnect to %2$s and try again%3$s.', 'wordpress-seo' ),
|
95 |
-
'<a href="#" id="wincher-track-all-website-error-link">',
|
96 |
-
'Wincher',
|
97 |
-
'</a>'
|
98 |
-
);
|
99 |
-
|
100 |
-
$website_error_alert = new Alert_Presenter( $website_error_message, 'error' );
|
101 |
-
|
102 |
-
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Output from present() is considered safe.
|
103 |
-
echo '<div class="yoast-measure">' . $website_error_alert->present() . '</div>';
|
104 |
-
echo '</div>';
|
105 |
-
|
106 |
-
if ( $wincher_is_active ) {
|
107 |
-
$button_text = sprintf(
|
108 |
-
/* translators: %s expands to Wincher */
|
109 |
-
esc_html__( 'Add existing keyphrases to %s', 'wordpress-seo' ),
|
110 |
-
'Wincher'
|
111 |
-
);
|
112 |
-
echo sprintf(
|
113 |
-
'<button class="yoast-button yoast-button--secondary" id="wincher-track-all-keyphrases">%s</button>',
|
114 |
-
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- The text is already escaped.
|
115 |
-
$button_text
|
116 |
-
);
|
117 |
-
}
|
118 |
-
|
119 |
-
// Ensure we don't accidentally reset the website ID.
|
120 |
-
$yform->hidden( 'wincher_website_id' );
|
121 |
-
?>
|
122 |
-
<br />
|
123 |
-
</div>
|
124 |
-
|
125 |
-
|
126 |
-
</div>
|
7 |
* @uses Yoast_Form $yform Form object.
|
8 |
*/
|
9 |
|
10 |
+
$yform = Yoast_Form::get_instance();
|
|
|
11 |
|
12 |
+
// Ensure we don't accidentally reset the website ID.
|
13 |
+
$yform->hidden( 'wincher_website_id' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
css/dist/{admin-global-1780-rtl.css → admin-global-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{admin-global-1780.css → admin-global-1790.css}
RENAMED
File without changes
|
css/dist/{adminbar-1780-rtl.css → adminbar-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{adminbar-1780.css → adminbar-1790.css}
RENAMED
File without changes
|
css/dist/{alerts-1780-rtl.css → alerts-1790-rtl.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
.yoast-alert{display:flex;align-items:flex-start;padding:16px;border:1px solid rgba(0,0,0,.2);font-size:
|
1 |
+
.yoast-alert{display:flex;align-items:flex-start;padding:16px;border:1px solid rgba(0,0,0,.2);font-size:13px;line-height:1.5;margin:16px 0}.yoast-alert--error{color:#8f1919;background:#f9dcdc}.yoast-alert--info{color:#00468f;background:#cce5ff}.yoast-alert--success{color:#395315;background:#e2f2cc}.yoast-alert--warning{color:#674e00;background:#fff3cd}.yoast-alert__icon.yoast-alert__icon{display:block;margin-top:.1rem;margin-left:8px;height:16px;width:16px;max-width:none}.yoast-alert a{color:#004973}
|
css/dist/{alerts-1780.css → alerts-1790.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
.yoast-alert{display:flex;align-items:flex-start;padding:16px;border:1px solid rgba(0,0,0,.2);font-size:
|
1 |
+
.yoast-alert{display:flex;align-items:flex-start;padding:16px;border:1px solid rgba(0,0,0,.2);font-size:13px;line-height:1.5;margin:16px 0}.yoast-alert--error{color:#8f1919;background:#f9dcdc}.yoast-alert--info{color:#00468f;background:#cce5ff}.yoast-alert--success{color:#395315;background:#e2f2cc}.yoast-alert--warning{color:#674e00;background:#fff3cd}.yoast-alert__icon.yoast-alert__icon{display:block;margin-top:.1rem;margin-right:8px;height:16px;width:16px;max-width:none}.yoast-alert a{color:#004973}
|
css/dist/{dashboard-1780-rtl.css → dashboard-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{dashboard-1780.css → dashboard-1790.css}
RENAMED
File without changes
|
css/dist/{edit-page-1780-rtl.css → edit-page-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{edit-page-1780.css → edit-page-1790.css}
RENAMED
File without changes
|
css/dist/{elementor-1780-rtl.css → elementor-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{elementor-1780.css → elementor-1790.css}
RENAMED
File without changes
|
css/dist/{featured-image-1780-rtl.css → featured-image-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{featured-image-1780.css → featured-image-1790.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1780-rtl.css → filter-explanation-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-1780.css → filter-explanation-1790.css}
RENAMED
File without changes
|
css/dist/{icons-1780-rtl.css → icons-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{icons-1780.css → icons-1790.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1780-rtl.css → inside-editor-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{inside-editor-1780.css → inside-editor-1790.css}
RENAMED
File without changes
|
css/dist/installation-success-1790-rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.installation-success-page{display:flex;flex-direction:column;height:88vh;justify-content:start;padding-top:7%;box-sizing:border-box}.installation-success-page .step-list{display:flex;align-items:center;justify-content:center;margin:24px auto;gap:312px}.installation-success-page .step-list-complete-circle{position:relative;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background-color:var(--yoast-color-primary);border-radius:9999px}.installation-success-page .step-list-current-circle{position:relative;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background-color:#fff;border-radius:9999px;box-sizing:border-box;border:2px solid var(--yoast-color-primary)}.installation-success-page .complete-check-icon{background-color:#fff;color:#fff;mask-image:var(--yoast-svg-icon-check-ok);-webkit-mask-image:var(--yoast-svg-icon-check-ok);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:1.25rem;height:1.25rem}.installation-success-page .step-list>li{position:relative}.installation-success-page .step-list-current-inner-circle{height:.625rem;width:.625rem;border-radius:9999px;background-color:var(--yoast-color-primary)}.installation-success-page .step-first-div{position:absolute;inset:0;display:flex;align-items:center;width:376px}.installation-success-page .step-second-div{height:2px;width:100%;background-color:var(--yoast-color-primary)}.installation-success-steps{display:block}.installation-success-cards{display:flex;justify-content:center;gap:24px}.installation-success-page .installation-success-title{font-size:40px;font-weight:400;color:var(--yoast-color-primary);margin:24px auto;letter-spacing:.4px;line-height:normal;text-align:center}.installation-success-card{box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);max-width:320px;height:315px;padding:24px;display:flex;flex-direction:column}.installation-success-card.active{border-color:var(--yoast-color-primary);box-shadow:0 10px 20px 0 rgba(0,0,0,.1),0 6px 6px 0 rgba(0,0,0,.06);height:327px}.installation-success-card img{width:150px;height:120px;margin:auto auto 0}.installation-success-card .card-button-section{display:flex;justify-content:center;margin-top:auto}.installation-success-card .card-button-section .yoast-button{flex-grow:1}.installation-success-card>h2{color:var(--yoast-color-primary);margin:0;line-height:25px;font-size:18px;font-weight:500;letter-spacing:.2px}.installation-success-card>p{font-weight:400;font-size:13px;letter-spacing:-.1px;line-height:19px;color:#3c434a;margin:16px 0 24px}#installation-success-card-configuration-workout p{margin:8px 0 0}#installation-success-card-configuration-workout img{margin:24px auto}#installation-success-card-configuration-workout .yoast-button{box-shadow:inset 0 -3px rgba(0,0,0,.3)}#installation-success-skip-link{align-self:end;bottom:20px;left:0;margin-bottom:9px;position:absolute;margin-left:20px;letter-spacing:-.08px;line-height:19px}@media screen and (max-width:768px){.installation-success-page{height:unset;padding-top:unset;padding-left:10px}.installation-success-page .installation-success-title{font-size:32px}.installation-success-content{display:flex;flex-direction:row;justify-content:center;align-items:center}.installation-success-cards{flex-direction:column}.installation-success-page .step-list{flex-direction:column;margin:auto 0 auto 24px}.installation-success-page .step-first-div{width:unset;height:376px;flex-direction:column}.installation-success-page .step-second-div{width:2px;height:100%}}
|
css/dist/installation-success-1790.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.installation-success-page{display:flex;flex-direction:column;height:88vh;justify-content:start;padding-top:7%;box-sizing:border-box}.installation-success-page .step-list{display:flex;align-items:center;justify-content:center;margin:24px auto;gap:312px}.installation-success-page .step-list-complete-circle{position:relative;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background-color:var(--yoast-color-primary);border-radius:9999px}.installation-success-page .step-list-current-circle{position:relative;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;background-color:#fff;border-radius:9999px;box-sizing:border-box;border:2px solid var(--yoast-color-primary)}.installation-success-page .complete-check-icon{background-color:#fff;color:#fff;mask-image:var(--yoast-svg-icon-check-ok);-webkit-mask-image:var(--yoast-svg-icon-check-ok);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:1.25rem;height:1.25rem}.installation-success-page .step-list>li{position:relative}.installation-success-page .step-list-current-inner-circle{height:.625rem;width:.625rem;border-radius:9999px;background-color:var(--yoast-color-primary)}.installation-success-page .step-first-div{position:absolute;inset:0;display:flex;align-items:center;width:376px}.installation-success-page .step-second-div{height:2px;width:100%;background-color:var(--yoast-color-primary)}.installation-success-steps{display:block}.installation-success-cards{display:flex;justify-content:center;gap:24px}.installation-success-page .installation-success-title{font-size:40px;font-weight:400;color:var(--yoast-color-primary);margin:24px auto;letter-spacing:.4px;line-height:normal;text-align:center}.installation-success-card{box-sizing:border-box;background-color:#fff;border:1px solid rgba(0,0,0,.2);border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);max-width:320px;height:315px;padding:24px;display:flex;flex-direction:column}.installation-success-card.active{border-color:var(--yoast-color-primary);box-shadow:0 10px 20px 0 rgba(0,0,0,.1),0 6px 6px 0 rgba(0,0,0,.06);height:327px}.installation-success-card img{width:150px;height:120px;margin:auto auto 0}.installation-success-card .card-button-section{display:flex;justify-content:center;margin-top:auto}.installation-success-card .card-button-section .yoast-button{flex-grow:1}.installation-success-card>h2{color:var(--yoast-color-primary);margin:0;line-height:25px;font-size:18px;font-weight:500;letter-spacing:.2px}.installation-success-card>p{font-weight:400;font-size:13px;letter-spacing:-.1px;line-height:19px;color:#3c434a;margin:16px 0 24px}#installation-success-card-configuration-workout p{margin:8px 0 0}#installation-success-card-configuration-workout img{margin:24px auto}#installation-success-card-configuration-workout .yoast-button{box-shadow:inset 0 -3px rgba(0,0,0,.3)}#installation-success-skip-link{align-self:end;bottom:20px;right:0;margin-bottom:9px;position:absolute;margin-right:20px;letter-spacing:-.08px;line-height:19px}@media screen and (max-width:768px){.installation-success-page{height:unset;padding-top:unset;padding-right:10px}.installation-success-page .installation-success-title{font-size:32px}.installation-success-content{display:flex;flex-direction:row;justify-content:center;align-items:center}.installation-success-cards{flex-direction:column}.installation-success-page .step-list{flex-direction:column;margin:auto 24px auto 0}.installation-success-page .step-first-div{width:unset;height:376px;flex-direction:column}.installation-success-page .step-second-div{width:2px;height:100%}}
|
css/dist/metabox-1780-rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2zm10-10V7a4 4 0 0 0-8 0v4h8z"/></svg>');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(164,40,106,.6);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}.yoast-modal{background:#fff;display:flex;flex-direction:column;overflow:hidden;position:fixed;height:calc(100% - 96px);top:48px;bottom:48px;right:calc(50% - 440px);max-width:880px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-left:8px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-rows:72px 1fr 88px;grid-template-columns:280px 1fr}.yoast-modal__heading{display:flex;align-items:center;box-sizing:border-box;min-height:72px;border-bottom:var(--yoast-border-default);padding:0 24px;grid-area:heading;background:var(--yoast-color-white)}.yoast-modal__heading .yoast-close{position:absolute;left:16px}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{font-size:20px;font-weight:400;color:var(--yoast-color-primary);line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);margin-left:16px;width:19px;height:20px;flex-shrink:0}.yoast-modal__menu{grid-area:menu;border-left:var(--yoast-border-default);overflow-y:auto}.yoast-modal__menu ul{padding:0;margin:0;list-style:none}.yoast-modal__menu li{padding:12px 16px 11px;border-bottom:var(--yoast-border-default);font-size:16px;cursor:pointer;text-decoration:none;color:var(--yoast-color-default);display:block}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{grid-area:content;overflow-y:auto;flex-grow:1;position:relative;display:flex;flex-direction:column}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{position:sticky;top:0;background:var(--yoast-color-white);padding:24px 24px 0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{grid-area:footer;padding:0;border-top:var(--yoast-border-default);display:flex;align-self:flex-end;align-items:center;justify-content:flex-end;position:sticky;bottom:0;background:var(--yoast-color-white);margin:0 24px;z-index:10;box-sizing:border-box;min-height:88px;width:calc(100% - 48px)}.yoast-modal__settings-saved{position:relative;margin-left:16px;display:inline-flex;align-items:center}.yoast-modal__settings-saved:before{content:"";background:var(--yoast-checkmark--green) no-repeat 50%;height:13px;width:14px;display:inline-block;margin-left:8px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{padding:24px;flex-grow:1}@media screen and (max-width:880px){.yoast-modal{top:0;bottom:0;right:0;left:0;height:auto}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{padding:0 16px;position:fixed;top:0;width:100%;min-height:48px;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-left:8px}.yoast .yoast-close{left:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{overflow:initial;flex-grow:0}.yoast-modal__section-content{padding:24px 0;margin:0 16px}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{top:48px;position:sticky;padding:0;margin:0}.yoast-modal__section-open .yoast-modal__section-header{padding-right:0;padding-left:0;margin-right:16px;margin-left:16px}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{width:100%;min-height:72px;margin:0;padding:0 16px;position:fixed;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{padding:24px 16px;border-bottom:var(--yoast-border-default);margin:0}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{padding:16px;border:none;border-bottom:var(--yoast-border-default);cursor:pointer;justify-content:space-between;font-size:var(--yoast-font-size-default);width:100%;text-align:right;background:#fff;color:var(--yoast-color-primary)}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(-180deg)}.yoast-collapsible__trigger[aria-expanded=true]{padding:16px 0;width:calc(100% - 32px);margin:0 16px}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;width:19px;height:19px;border:none;display:block;float:left}.yoast-collapsible-block{width:100%;margin-top:48px}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{width:880px;height:100%;max-width:calc(100% - 96px);max-height:calc(100% - 96px);overflow:hidden}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}}.yoast-post-settings-modal__button-container{padding:16px;display:flex;flex-direction:column;border-bottom:1px solid rgba(0,0,0,.2)}.yoast-post-settings-modal .components-modal__content{padding:0;display:flex;flex-direction:column}.yoast-post-settings-modal .components-modal__header{margin:0;flex-shrink:0;border-bottom:var(--yoast-border-default)}.yoast-post-settings-modal .yoast-notice-container{z-index:1;position:sticky;bottom:0;right:0;width:100%;margin-top:auto}.yoast-post-settings-modal .yoast-notice-container>hr{margin-top:-1px;margin-bottom:0}.yoast-post-settings-modal .yoast-content-container{overflow-y:auto;flex-grow:1}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;padding:24px;margin:0}.yoast-post-settings-modal .yoast-button-container p{color:var(--yoast-color-label-help);padding-left:24px;align-self:center}.yoast-post-settings-modal .yoast-button-container button{flex-shrink:0;max-height:45px;align-self:center}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{padding:16px;justify-content:space-between}.yoast-post-settings-modal .yoast-button-container p{padding-left:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{position:relative;border:none}.yoast-related-keyphrases-modal__chart{display:block}.draftJsMentionPlugin__mention__29BEd,.draftJsMentionPlugin__mention__29BEd:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-right:2px;padding-left:2px;border-radius:2px;text-decoration:none}.draftJsMentionPlugin__mention__29BEd:focus,.draftJsMentionPlugin__mention__29BEd:hover{color:#677584;background:#edf5fd;outline:0}.draftJsMentionPlugin__mention__29BEd:active{color:#222;background:#455261}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active{background-color:#cce7ff}.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd{background-color:#e6f3ff}.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq{display:inline-block;margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9{display:inline-block;width:24px;height:24px;border-radius:12px}.draftJsMentionPlugin__mentionSuggestions__2DWjA{border:1px solid #eee;margin-top:.4em;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;-webkit-transform:scale(0);transform:scale(0)}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#wpseo_meta{box-sizing:border-box}#wpseo_meta *,#wpseo_meta :after,#wpseo_meta :before{box-sizing:inherit}.DraftEditor-root [data-block]{margin:0}#edittag>#wp-description-wrap{display:none}#wp-description-wrap .wp-editor-area{border:0}.term-description-wrap td>textarea#description{min-height:530px}ul.wpseo-metabox-tabs{display:none;margin-top:6px;margin-bottom:0}ul.wpseo-metabox-tabs:after{content:"";display:table;clear:both}.wpseo-metabox-tabs-div{margin:0 5px 5px}.wpseo-metabox-tabs-div ul{list-style:none}#wpseo-meta-section-addons{padding:0 5px 5px}#wpseo-meta-section-addons .wpseo-metabox-tabs-div{margin:0}ul.wpseo-metabox-tabs li.active{background-color:#fdfdfd}.wpseo-meta-section,.wpseo-meta-section-react{display:none;max-width:600px;width:100%;min-height:100%;height:auto;vertical-align:top;border:1px solid rgba(0,0,0,.2)}.wpseo-meta-section-react.active,.wpseo-meta-section.active{background:#fff;position:relative;z-index:12}.wpseo-meta-section.active{display:inline-block}.wpseo-meta-section-react.active{display:block;margin-bottom:10px}.wpseo-meta-section-content{padding:16px}.wpseo-metabox-content{max-width:800px;padding-top:16px}.wpseo-metabox-menu{max-width:600px;padding:0;background-color:#fff}.wpseo-metabox-menu ul{margin:0 0 0 1px;padding:0 16px 0 0;display:flex;align-items:flex-end;flex-wrap:wrap;flex-flow:wrap-reverse}.wpseo-metabox-menu ul li:first-child{z-index:10}.wpseo-metabox-menu ul li:nth-child(2){z-index:9}.wpseo-metabox-menu ul li:nth-child(3){z-index:8}.wpseo-metabox-menu ul li:nth-child(4){z-index:7}.wpseo-metabox-menu ul li:nth-child(5){z-index:6}.wpseo-metabox-menu ul li:nth-child(6){z-index:5}.wpseo-metabox-menu ul li{box-shadow:0 0 4px 0 rgba(0,0,0,.1);height:32px;margin-right:-1px;margin-bottom:-1px;text-align:center;position:relative;background-color:#f8f8f8}.wpseo-metabox-menu ul li a{color:#0073aa;display:flex;align-items:center;border:1px solid rgba(0,0,0,.2);border-bottom:2px transparent}.wpseo-metabox-menu ul li a:focus{box-shadow:inherit}.wpseo-metabox-menu ul li .yst-traffic-light{height:20px;width:auto;margin-left:10px;margin-right:4px}.wpseo-metabox-menu ul li span.dashicons{margin-left:8px}.wpseo-metabox-menu ul li span.wpseo-buy-premium{color:#a4286a}.wpseo-metabox-menu ul li span.wpseo-buy-premium:hover{color:#832055}.wpseo-metabox-menu ul li.active{height:36px;margin-top:-4px;z-index:13;background-color:#fff;border-bottom:2px transparent;box-shadow:none}.wpseo-metabox-menu ul li.active a{height:36px;color:#444}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium{color:#a4286a;border-color:#a4286a}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium:hover{color:#832055;border-color:#832055}.wpseo-metabox-menu a{height:32px;padding:0 8px;text-decoration:none}ul.wpseo-metabox-tabs li{float:right;margin-left:5px;margin-bottom:-1px;padding:0;border:1px solid #dfdfdf;border-bottom:0}ul.wpseo-metabox-tabs li .wpseo-keyword{display:inline-block;vertical-align:top;max-width:8em;max-width:8rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wpseotab{display:none;padding:16px;border:1px solid #ddd;background-color:#fdfdfd}.wpseotab .wpseo-cornerstone-checkbox{margin-left:.5em}.wpseotab.content{padding:20px 15px}.wpseotab.active{display:block}.wpseo-metabox-tabs .wpseo_tablink{display:inline-block;vertical-align:top;padding:5px 12px 6px;text-decoration:none}.wpseo-metabox-tabs .wpseo_content_tab a{padding-left:12px}.wpseo-metabox-tabs .wpseo-score-icon{margin-right:0}#wpseo-meta-section-social .wpseo-metabox-tabs .wpseo_tablink{padding:5px 7px}.wpseo-metabox-tabs .wpseo_tablink .dashicons{width:16px;height:16px;font-size:16px}.wpseo-metabox-sidebar .dashicons{width:30px;height:30px;font-size:30px}.wpseo-metabox-tabs-div div.wpseo-tabs-panel{overflow:auto;padding:.5em .9em;border:1px solid}#wpseo_meta .inside{margin:0}#wpseo_meta .inside:after{content:"";display:table;clear:both}#wpseo_meta .postbox .inside .wpseotab{font-size:13px!important}.wpseo-form .select2-container,.wpseo-form input,.wpseo-form label,.wpseo-form p.error-message,.wpseo-form textarea{max-width:600px}.wpseo-form fieldset{padding-top:5px}.wpseo-form legend{font-weight:600}.wpseo-form label{display:block;font-weight:600}.wpseo-form input[type=checkbox]+label,.wpseo-form input[type=radio]+label{display:inline-block;font-weight:400}.wpseo-form fieldset,.wpseo-form label{margin-top:2em;margin-bottom:.5em}.wpseo-form input[type=checkbox],.wpseo-form input[type=checkbox]+label{margin-top:2em;margin-bottom:0;font-size:1em}.wpseo-form fieldset:first-child,.wpseo-form input[type=checkbox]:first-child,.wpseo-form input[type=checkbox]:first-child+label,.wpseo-form label:first-child{margin-top:10px}.wpseo-form input[type=radio]{margin-top:0}.wpseo-form input[type=radio]+label{margin:0 0 0 1em}.wpseo-form p.error-message{margin:.5em 0}.wpseo-form select[multiple]{margin-top:0}.yoast-metabox__description{max-width:600px;margin:.5em 0}.wpseo_image_upload_button{margin-right:3px}.good,.warn,.wrong{font-weight:600}.good{color:green}.warn{color:maroon}.wrong{color:#dc3232}#current_seo_title span{padding:2px 5px;background-color:#ffffe0}#focuskwresults ul{margin:0}#focuskwresults li,#focuskwresults p{font-size:13px}#focuskwresults li{margin:0 20px 0 0;list-style-type:disc}.wpseo_hidden{display:none}.wpseo_msg{margin:5px 0 10px;padding:0 5px;border:1px solid #e6db55;background-color:#ffffe0}ul.wpseo-metabox-tabs li.wpseo-tab-add-keyword{border:1px dashed #dfdfdf;border-bottom:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button{height:auto;padding:5px 10px 5px 12px;vertical-align:top;font-size:inherit;line-height:inherit;font-weight:700;box-shadow:none;background:none;text-decoration:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wpseo-tab-add-keyword .wpseo-add-keyword.button:active{transform:none}.wpseo-add-keyword-plus{display:inline-block;vertical-align:top;margin:-1px 0 0 3px;font-size:20px}#wpseo-add-keyword-popup-title{margin:1em 0;font-size:1.3em}.snippet-editor__button.snippet-editor__edit-button:focus{border-color:#5b9dd9;outline:none;color:#23282d;background-color:#fafafa;box-shadow:0 0 3px rgba(0,115,170,.8)}.wpseo-admin-page .subsubsub li{display:inline;max-width:none}.yoast-seo-help-container{float:right;width:100%;max-width:none}.yoast-seo-help-container .yoast-help-panel{margin:.5em 0!important}.wpseo_content_wrapper p.search-box{margin:10px 0 5px}.wpseo-metabox-tabs .active a{color:#333}#wpseotab .ui-widget-content .ui-state-hover{border:1px solid #dfdfdf;color:#333;background:#f1f1f1}.yst-traffic-light{width:19px;height:30px;margin:0 5px 0 0}.yst-traffic-light .traffic-light-color{display:none}.yst-traffic-light.bad .traffic-light-red,.yst-traffic-light.good .traffic-light-green,.yst-traffic-light.init .traffic-light-init,.yst-traffic-light.na .traffic-light-empty,.yst-traffic-light.ok .traffic-light-orange{display:inline}.yoast-seo-score .yoast-logo.svg{float:right;width:18px;margin-left:7px;height:18px;background:var(--yoast-svg-icon-yoast) no-repeat;background-size:18px}.yoast-seo-score .yoast-logo.svg.good{background-image:var(--yoast-svg-icon-yoast-good)}.yoast-seo-score .yoast-logo.svg.ok{background-image:var(--yoast-svg-icon-yoast-ok)}.yoast-seo-score .yoast-logo.svg.bad{background-image:var(--yoast-svg-icon-yoast-bad)}.yoast-seo-score .yoast-logo.svg.na,.yoast-seo-score .yoast-logo.svg.noindex{background-image:var(--yoast-svg-icon-yoast)}.term-php .wpseo-taxonomy-metabox-postbox>h2{margin:0;padding:8px 12px;border-bottom:1px solid #eee;font-size:14px;line-height:1.4}#TB_window #TB_ajaxContent p{padding:5px 0 0;margin:5px 0 0}#TB_window #TB_ajaxContent ul{margin:5px 0 10px}#TB_window #TB_ajaxContent li{list-style:none;margin:5px 0 0}#TB_window #TB_ajaxContent li:before{content:"+";margin:0 0 0 10px;font-weight:700}.yoast-section__heading-icon-list{background-image:var(--yoast-svg-icon-list)}.yoast-section__heading-icon-key{background-image:var(--yoast-svg-icon-key)}.yoast-section__heading-icon-edit{background-image:var(--yoast-svg-icon-edit)}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.screen-reader-text.wpseo-generic-tab-textual-score,.screen-reader-text.wpseo-keyword-tab-textual-score{display:block}.yoast-notice-go-premium{border-right-color:#a4286a;background:#f1f1f1;margin:0}.editor-styles-wrapper mark.annotation-text-yoast{background-color:#e1bee7}@media screen and (max-width:782px){.wpseo-metabox-buy-premium .wpseo-buy-premium{display:inline-block;width:20px;height:20px;margin-left:5px;padding:0}.yoast-help-panel{max-width:none!important}#wpseo-crawl-issues-table-form .subsubsub{float:none;max-width:calc(100vw - 20px)}#wpseo-crawl-issues-table-form .yoast-help-button{margin-top:3px}.wpseotab select[multiple]{height:auto!important}}@media screen and (max-width:600px){.wpseotab.content{padding:16px 0}}.wpseo-score-icon-container{height:20px;width:20px;margin-left:8px;display:flex;justify-content:center;align-items:center}.yoast-seo-sidebar-panel div{line-height:2}.yoast-seo-sidebar-panel div svg{vertical-align:middle}ul.yoast-seo-social-share-buttons li{display:inline-block;margin-left:16px}ul.yoast-seo-social-share-buttons svg{width:32px;height:32px;margin-bottom:8px}ul.yoast-seo-social-share-buttons a{display:flex;flex-direction:column;align-items:center}.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO"]>svg,.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO Premium"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO Premium"]>svg{max-width:28px;max-height:28px;width:28px;height:28px}div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO"]>svg path,div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO Premium"]>svg path{fill:#fff}.wpseo-schema-icon{height:16px;width:16px;margin-left:8px;display:flex;justify-content:center;align-items:center;background-image:var(--yoast-svg-icon-schema);background-size:cover}.wpseo-metabox-menu ul li.active a .wpseo-schema-icon{background-image:var(--yoast-svg-icon-schema-active)}.yoast-icon-span svg{margin-left:8px;fill:inherit}.yoast.components-panel__body{border-top:0}.components-button>.yoast-title-container{flex-grow:1;overflow-x:hidden;line-height:normal}.yoast-title-container>.yoast-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.yoast-title-container>.yoast-subtitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:.8125rem;font-weight:300;margin-top:2px}.yoast.components-panel__body .yoast-chevron{background-color:#1e1e1e;-webkit-mask-image:var(--yoast-svg-icon-chevron-down);mask-image:var(--yoast-svg-icon-chevron-down);-webkit-mask-size:100% 100%;mask-size:100% 100%;display:inline-block;width:24px;height:24px}.yoast.components-panel__body.is-opened .yoast-chevron{-webkit-mask-image:var(--yoast-svg-icon-chevron-up);mask-image:var(--yoast-svg-icon-chevron-up)}.yoast .components-panel__body-toggle{padding-left:16px}.yoast .components-form-token-field__remove-token.components-button,.yoast .components-form-token-field__token-text{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}
|
|
css/dist/metabox-1790-rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2zm10-10V7a4 4 0 0 0-8 0v4h8z"/></svg>');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(164,40,106,.6);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}.yoast-modal{background:#fff;display:flex;flex-direction:column;overflow:hidden;position:fixed;height:calc(100% - 96px);top:48px;bottom:48px;right:calc(50% - 440px);max-width:880px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-left:8px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-rows:72px 1fr 88px;grid-template-columns:280px 1fr}.yoast-modal__heading{display:flex;align-items:center;box-sizing:border-box;min-height:72px;border-bottom:var(--yoast-border-default);padding:0 24px;grid-area:heading;background:var(--yoast-color-white)}.yoast-modal__heading .yoast-close{position:absolute;left:16px}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{font-size:20px;font-weight:400;color:var(--yoast-color-primary);line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);margin-left:16px;width:19px;height:20px;flex-shrink:0}.yoast-modal__menu{grid-area:menu;border-left:var(--yoast-border-default);overflow-y:auto}.yoast-modal__menu ul{padding:0;margin:0;list-style:none}.yoast-modal__menu li{padding:12px 16px 11px;border-bottom:var(--yoast-border-default);font-size:16px;cursor:pointer;text-decoration:none;color:var(--yoast-color-default);display:block}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{grid-area:content;overflow-y:auto;flex-grow:1;position:relative;display:flex;flex-direction:column}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{position:sticky;top:0;background:var(--yoast-color-white);padding:24px 24px 0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{grid-area:footer;padding:0;border-top:var(--yoast-border-default);display:flex;align-self:flex-end;align-items:center;justify-content:flex-end;position:sticky;bottom:0;background:var(--yoast-color-white);margin:0 24px;z-index:10;box-sizing:border-box;min-height:88px;width:calc(100% - 48px)}.yoast-modal__settings-saved{position:relative;margin-left:16px;display:inline-flex;align-items:center}.yoast-modal__settings-saved:before{content:"";background:var(--yoast-checkmark--green) no-repeat 50%;height:13px;width:14px;display:inline-block;margin-left:8px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{padding:24px;flex-grow:1}@media screen and (max-width:880px){.yoast-modal{top:0;bottom:0;right:0;left:0;height:auto}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{padding:0 16px;position:fixed;top:0;width:100%;min-height:48px;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-left:8px}.yoast .yoast-close{left:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{overflow:initial;flex-grow:0}.yoast-modal__section-content{padding:24px 0;margin:0 16px}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{top:48px;position:sticky;padding:0;margin:0}.yoast-modal__section-open .yoast-modal__section-header{padding-right:0;padding-left:0;margin-right:16px;margin-left:16px}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{width:100%;min-height:72px;margin:0;padding:0 16px;position:fixed;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{padding:24px 16px;border-bottom:var(--yoast-border-default);margin:0}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{padding:16px;border:none;border-bottom:var(--yoast-border-default);cursor:pointer;justify-content:space-between;font-size:var(--yoast-font-size-default);width:100%;text-align:right;background:#fff;color:var(--yoast-color-primary)}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(-180deg)}.yoast-collapsible__trigger[aria-expanded=true]{padding:16px 0;width:calc(100% - 32px);margin:0 16px}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;width:19px;height:19px;border:none;display:block;float:left}.yoast-collapsible-block{width:100%;margin-top:48px}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{width:880px;height:100%;max-width:calc(100% - 96px);max-height:calc(100% - 96px);overflow:hidden}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}}.yoast-post-settings-modal__button-container{padding:16px;display:flex;flex-direction:column;border-bottom:1px solid rgba(0,0,0,.2)}.yoast-post-settings-modal .components-modal__content{padding:0;display:flex;flex-direction:column}.yoast-post-settings-modal .components-modal__header{margin:0;flex-shrink:0;border-bottom:var(--yoast-border-default)}.yoast-post-settings-modal .yoast-notice-container{z-index:1;position:sticky;bottom:0;right:0;width:100%;margin-top:auto}.yoast-post-settings-modal .yoast-notice-container>hr{margin-top:-1px;margin-bottom:0}.yoast-post-settings-modal .yoast-content-container{overflow-y:auto;flex-grow:1}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;padding:24px;margin:0}.yoast-post-settings-modal .yoast-button-container p{color:var(--yoast-color-label-help);padding-left:24px;align-self:center}.yoast-post-settings-modal .yoast-button-container button{flex-shrink:0;max-height:45px;align-self:center}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{padding:16px;justify-content:space-between}.yoast-post-settings-modal .yoast-button-container p{padding-left:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{position:relative;border:none}.yoast-related-keyphrases-modal__chart{display:block}.m6zwb4v,.m6zwb4v:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-right:2px;padding-left:2px;border-radius:2px;-webkit-text-decoration:none;text-decoration:none}.m6zwb4v:focus,.m6zwb4v:hover{color:#677584;background:#edf5fd;outline:0}.m6zwb4v:active{color:#222;background:#455261}.mnw6qvm{border:1px solid #eee;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.m1ymsnxd{opacity:0;-webkit-transition:opacity .25s cubic-bezier(.3,1.2,.2,1);transition:opacity .25s cubic-bezier(.3,1.2,.2,1)}.m126ak5t{opacity:1}.mtiwdxc{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.mtiwdxc:active{background-color:#cce7ff}.myz2dw1{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);background-color:#e6f3ff}.myz2dw1:active{background-color:#cce7ff}.mpqdcgq{margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.m1mfvffo,.mpqdcgq{display:inline-block}.m1mfvffo{width:24px;height:24px;border-radius:12px}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#wpseo_meta{box-sizing:border-box}#wpseo_meta *,#wpseo_meta :after,#wpseo_meta :before{box-sizing:inherit}.DraftEditor-root [data-block]{margin:0}#edittag>#wp-description-wrap{display:none}#wp-description-wrap .wp-editor-area{border:0}.term-description-wrap td>textarea#description{min-height:530px}ul.wpseo-metabox-tabs{display:none;margin-top:6px;margin-bottom:0}ul.wpseo-metabox-tabs:after{content:"";display:table;clear:both}.wpseo-metabox-tabs-div{margin:0 5px 5px}.wpseo-metabox-tabs-div ul{list-style:none}#wpseo-meta-section-addons{padding:0 5px 5px}#wpseo-meta-section-addons .wpseo-metabox-tabs-div{margin:0}ul.wpseo-metabox-tabs li.active{background-color:#fdfdfd}.wpseo-meta-section,.wpseo-meta-section-react{display:none;max-width:600px;width:100%;min-height:100%;height:auto;vertical-align:top;border:1px solid rgba(0,0,0,.2)}.wpseo-meta-section-react.active,.wpseo-meta-section.active{background:#fff;position:relative;z-index:12}.wpseo-meta-section.active{display:inline-block}.wpseo-meta-section-react.active{display:block;margin-bottom:10px}.wpseo-meta-section-content{padding:16px}.wpseo-metabox-content{max-width:800px;padding-top:16px}.wpseo-metabox-menu{max-width:600px;padding:0;background-color:#fff}.wpseo-metabox-menu ul{margin:0 0 0 1px;padding:0 16px 0 0;display:flex;align-items:flex-end;flex-wrap:wrap;flex-flow:wrap-reverse}.wpseo-metabox-menu ul li:first-child{z-index:10}.wpseo-metabox-menu ul li:nth-child(2){z-index:9}.wpseo-metabox-menu ul li:nth-child(3){z-index:8}.wpseo-metabox-menu ul li:nth-child(4){z-index:7}.wpseo-metabox-menu ul li:nth-child(5){z-index:6}.wpseo-metabox-menu ul li:nth-child(6){z-index:5}.wpseo-metabox-menu ul li{box-shadow:0 0 4px 0 rgba(0,0,0,.1);height:32px;margin-right:-1px;margin-bottom:-1px;text-align:center;position:relative;background-color:#f8f8f8}.wpseo-metabox-menu ul li a{color:#0073aa;display:flex;align-items:center;border:1px solid rgba(0,0,0,.2);border-bottom:2px transparent}.wpseo-metabox-menu ul li a:focus{box-shadow:inherit}.wpseo-metabox-menu ul li .yst-traffic-light{height:20px;width:auto;margin-left:10px;margin-right:4px}.wpseo-metabox-menu ul li span.dashicons{margin-left:8px}.wpseo-metabox-menu ul li span.wpseo-buy-premium{color:#a4286a}.wpseo-metabox-menu ul li span.wpseo-buy-premium:hover{color:#832055}.wpseo-metabox-menu ul li.active{height:36px;margin-top:-4px;z-index:13;background-color:#fff;border-bottom:2px transparent;box-shadow:none}.wpseo-metabox-menu ul li.active a{height:36px;color:#444}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium{color:#a4286a;border-color:#a4286a}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium:hover{color:#832055;border-color:#832055}.wpseo-metabox-menu a{height:32px;padding:0 8px;text-decoration:none}ul.wpseo-metabox-tabs li{float:right;margin-left:5px;margin-bottom:-1px;padding:0;border:1px solid #dfdfdf;border-bottom:0}ul.wpseo-metabox-tabs li .wpseo-keyword{display:inline-block;vertical-align:top;max-width:8em;max-width:8rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wpseotab{display:none;padding:16px;border:1px solid #ddd;background-color:#fdfdfd}.wpseotab .wpseo-cornerstone-checkbox{margin-left:.5em}.wpseotab.content{padding:20px 15px}.wpseotab.active{display:block}.wpseo-metabox-tabs .wpseo_tablink{display:inline-block;vertical-align:top;padding:5px 12px 6px;text-decoration:none}.wpseo-metabox-tabs .wpseo_content_tab a{padding-left:12px}.wpseo-metabox-tabs .wpseo-score-icon{margin-right:0}#wpseo-meta-section-social .wpseo-metabox-tabs .wpseo_tablink{padding:5px 7px}.wpseo-metabox-tabs .wpseo_tablink .dashicons{width:16px;height:16px;font-size:16px}.wpseo-metabox-sidebar .dashicons{width:30px;height:30px;font-size:30px}.wpseo-metabox-tabs-div div.wpseo-tabs-panel{overflow:auto;padding:.5em .9em;border:1px solid}#wpseo_meta .inside{margin:0}#wpseo_meta .inside:after{content:"";display:table;clear:both}#wpseo_meta .postbox .inside .wpseotab{font-size:13px!important}.wpseo-form .select2-container,.wpseo-form input,.wpseo-form label,.wpseo-form p.error-message,.wpseo-form textarea{max-width:600px}.wpseo-form fieldset{padding-top:5px}.wpseo-form legend{font-weight:600}.wpseo-form label{display:block;font-weight:600}.wpseo-form input[type=checkbox]+label,.wpseo-form input[type=radio]+label{display:inline-block;font-weight:400}.wpseo-form fieldset,.wpseo-form label{margin-top:2em;margin-bottom:.5em}.wpseo-form input[type=checkbox],.wpseo-form input[type=checkbox]+label{margin-top:2em;margin-bottom:0;font-size:1em}.wpseo-form fieldset:first-child,.wpseo-form input[type=checkbox]:first-child,.wpseo-form input[type=checkbox]:first-child+label,.wpseo-form label:first-child{margin-top:10px}.wpseo-form input[type=radio]{margin-top:0}.wpseo-form input[type=radio]+label{margin:0 0 0 1em}.wpseo-form p.error-message{margin:.5em 0}.wpseo-form select[multiple]{margin-top:0}.yoast-metabox__description{max-width:600px;margin:.5em 0}.wpseo_image_upload_button{margin-right:3px}.good,.warn,.wrong{font-weight:600}.good{color:green}.warn{color:maroon}.wrong{color:#dc3232}#current_seo_title span{padding:2px 5px;background-color:#ffffe0}#focuskwresults ul{margin:0}#focuskwresults li,#focuskwresults p{font-size:13px}#focuskwresults li{margin:0 20px 0 0;list-style-type:disc}.wpseo_hidden{display:none}.wpseo_msg{margin:5px 0 10px;padding:0 5px;border:1px solid #e6db55;background-color:#ffffe0}ul.wpseo-metabox-tabs li.wpseo-tab-add-keyword{border:1px dashed #dfdfdf;border-bottom:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button{height:auto;padding:5px 10px 5px 12px;vertical-align:top;font-size:inherit;line-height:inherit;font-weight:700;box-shadow:none;background:none;text-decoration:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wpseo-tab-add-keyword .wpseo-add-keyword.button:active{transform:none}.wpseo-add-keyword-plus{display:inline-block;vertical-align:top;margin:-1px 0 0 3px;font-size:20px}#wpseo-add-keyword-popup-title{margin:1em 0;font-size:1.3em}.snippet-editor__button.snippet-editor__edit-button:focus{border-color:#5b9dd9;outline:none;color:#23282d;background-color:#fafafa;box-shadow:0 0 3px rgba(0,115,170,.8)}.wpseo-admin-page .subsubsub li{display:inline;max-width:none}.yoast-seo-help-container{float:right;width:100%;max-width:none}.yoast-seo-help-container .yoast-help-panel{margin:.5em 0!important}.wpseo_content_wrapper p.search-box{margin:10px 0 5px}.wpseo-metabox-tabs .active a{color:#333}#wpseotab .ui-widget-content .ui-state-hover{border:1px solid #dfdfdf;color:#333;background:#f1f1f1}.yst-traffic-light{width:19px;height:30px;margin:0 5px 0 0}.yst-traffic-light .traffic-light-color{display:none}.yst-traffic-light.bad .traffic-light-red,.yst-traffic-light.good .traffic-light-green,.yst-traffic-light.init .traffic-light-init,.yst-traffic-light.na .traffic-light-empty,.yst-traffic-light.ok .traffic-light-orange{display:inline}.yoast-seo-score .yoast-logo.svg{float:right;width:18px;margin-left:7px;height:18px;background:var(--yoast-svg-icon-yoast) no-repeat;background-size:18px}.yoast-seo-score .yoast-logo.svg.good{background-image:var(--yoast-svg-icon-yoast-good)}.yoast-seo-score .yoast-logo.svg.ok{background-image:var(--yoast-svg-icon-yoast-ok)}.yoast-seo-score .yoast-logo.svg.bad{background-image:var(--yoast-svg-icon-yoast-bad)}.yoast-seo-score .yoast-logo.svg.na,.yoast-seo-score .yoast-logo.svg.noindex{background-image:var(--yoast-svg-icon-yoast)}.term-php .wpseo-taxonomy-metabox-postbox>h2{margin:0;padding:8px 12px;border-bottom:1px solid #eee;font-size:14px;line-height:1.4}#TB_window #TB_ajaxContent p{padding:5px 0 0;margin:5px 0 0}#TB_window #TB_ajaxContent ul{margin:5px 0 10px}#TB_window #TB_ajaxContent li{list-style:none;margin:5px 0 0}#TB_window #TB_ajaxContent li:before{content:"+";margin:0 0 0 10px;font-weight:700}.yoast-section__heading-icon-list{background-image:var(--yoast-svg-icon-list)}.yoast-section__heading-icon-key{background-image:var(--yoast-svg-icon-key)}.yoast-section__heading-icon-edit{background-image:var(--yoast-svg-icon-edit)}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.screen-reader-text.wpseo-generic-tab-textual-score,.screen-reader-text.wpseo-keyword-tab-textual-score{display:block}.yoast-notice-go-premium{border-right-color:#a4286a;background:#f1f1f1;margin:0}.editor-styles-wrapper mark.annotation-text-yoast{background-color:#e1bee7}@media screen and (max-width:782px){.wpseo-metabox-buy-premium .wpseo-buy-premium{display:inline-block;width:20px;height:20px;margin-left:5px;padding:0}.yoast-help-panel{max-width:none!important}#wpseo-crawl-issues-table-form .subsubsub{float:none;max-width:calc(100vw - 20px)}#wpseo-crawl-issues-table-form .yoast-help-button{margin-top:3px}.wpseotab select[multiple]{height:auto!important}}@media screen and (max-width:600px){.wpseotab.content{padding:16px 0}}.wpseo-score-icon-container{height:20px;width:20px;margin-left:8px;display:flex;justify-content:center;align-items:center}.yoast-seo-sidebar-panel div{line-height:2}.yoast-seo-sidebar-panel div svg{vertical-align:middle}ul.yoast-seo-social-share-buttons li{display:inline-block;margin-left:16px}ul.yoast-seo-social-share-buttons svg{width:32px;height:32px;margin-bottom:8px}ul.yoast-seo-social-share-buttons a{display:flex;flex-direction:column;align-items:center}.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO"]>svg,.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO Premium"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO Premium"]>svg{max-width:28px;max-height:28px;width:28px;height:28px}div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO"]>svg path,div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO Premium"]>svg path{fill:#fff}.wpseo-schema-icon{height:16px;width:16px;margin-left:8px;display:flex;justify-content:center;align-items:center;background-image:var(--yoast-svg-icon-schema);background-size:cover}.wpseo-metabox-menu ul li.active a .wpseo-schema-icon{background-image:var(--yoast-svg-icon-schema-active)}.yoast-icon-span svg{margin-left:8px;fill:inherit}.yoast.components-panel__body{border-top:0}.components-button>.yoast-title-container{flex-grow:1;overflow-x:hidden;line-height:normal}.yoast-title-container>.yoast-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.yoast-title-container>.yoast-subtitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:.8125rem;font-weight:300;margin-top:2px}.yoast.components-panel__body .yoast-chevron{background-color:#1e1e1e;-webkit-mask-image:var(--yoast-svg-icon-chevron-down);mask-image:var(--yoast-svg-icon-chevron-down);-webkit-mask-size:100% 100%;mask-size:100% 100%;display:inline-block;width:24px;height:24px}.yoast.components-panel__body.is-opened .yoast-chevron{-webkit-mask-image:var(--yoast-svg-icon-chevron-up);mask-image:var(--yoast-svg-icon-chevron-up)}.yoast .components-panel__body-toggle{padding-left:16px}.yoast .components-form-token-field__remove-token.components-button,.yoast .components-form-token-field__token-text{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}
|
css/dist/{metabox-1780.css → metabox-1790.css}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
-
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2zm10-10V7a4 4 0 0 0-8 0v4h8z"/></svg>');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(164,40,106,.6);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}.yoast-modal{background:#fff;display:flex;flex-direction:column;overflow:hidden;position:fixed;height:calc(100% - 96px);top:48px;bottom:48px;left:calc(50% - 440px);max-width:880px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-right:8px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-rows:72px 1fr 88px;grid-template-columns:280px 1fr}.yoast-modal__heading{display:flex;align-items:center;box-sizing:border-box;min-height:72px;border-bottom:var(--yoast-border-default);padding:0 24px;grid-area:heading;background:var(--yoast-color-white)}.yoast-modal__heading .yoast-close{position:absolute;right:16px}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{font-size:20px;font-weight:400;color:var(--yoast-color-primary);line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);margin-right:16px;width:19px;height:20px;flex-shrink:0}.yoast-modal__menu{grid-area:menu;border-right:var(--yoast-border-default);overflow-y:auto}.yoast-modal__menu ul{padding:0;margin:0;list-style:none}.yoast-modal__menu li{padding:12px 16px 11px;border-bottom:var(--yoast-border-default);font-size:16px;cursor:pointer;text-decoration:none;color:var(--yoast-color-default);display:block}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{grid-area:content;overflow-y:auto;flex-grow:1;position:relative;display:flex;flex-direction:column}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{position:sticky;top:0;background:var(--yoast-color-white);padding:24px 24px 0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{grid-area:footer;padding:0;border-top:var(--yoast-border-default);display:flex;align-self:flex-end;align-items:center;justify-content:flex-end;position:sticky;bottom:0;background:var(--yoast-color-white);margin:0 24px;z-index:10;box-sizing:border-box;min-height:88px;width:calc(100% - 48px)}.yoast-modal__settings-saved{position:relative;margin-right:16px;display:inline-flex;align-items:center}.yoast-modal__settings-saved:before{content:"";background:var(--yoast-checkmark--green) no-repeat 50%;height:13px;width:14px;display:inline-block;margin-right:8px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{padding:24px;flex-grow:1}@media screen and (max-width:880px){.yoast-modal{top:0;bottom:0;left:0;right:0;height:auto}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{padding:0 16px;position:fixed;top:0;width:100%;min-height:48px;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-right:8px}.yoast .yoast-close{right:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{overflow:initial;flex-grow:0}.yoast-modal__section-content{padding:24px 0;margin:0 16px}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{top:48px;position:sticky;padding:0;margin:0}.yoast-modal__section-open .yoast-modal__section-header{padding-left:0;padding-right:0;margin-left:16px;margin-right:16px}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{width:100%;min-height:72px;margin:0;padding:0 16px;position:fixed;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{padding:24px 16px;border-bottom:var(--yoast-border-default);margin:0}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{padding:16px;border:none;border-bottom:var(--yoast-border-default);cursor:pointer;justify-content:space-between;font-size:var(--yoast-font-size-default);width:100%;text-align:left;background:#fff;color:var(--yoast-color-primary)}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(180deg)}.yoast-collapsible__trigger[aria-expanded=true]{padding:16px 0;width:calc(100% - 32px);margin:0 16px}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;width:19px;height:19px;border:none;display:block;float:right}.yoast-collapsible-block{width:100%;margin-top:48px}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{width:880px;height:100%;max-width:calc(100% - 96px);max-height:calc(100% - 96px);overflow:hidden}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}}.yoast-post-settings-modal__button-container{padding:16px;display:flex;flex-direction:column;border-bottom:1px solid rgba(0,0,0,.2)}.yoast-post-settings-modal .components-modal__content{padding:0;display:flex;flex-direction:column}.yoast-post-settings-modal .components-modal__header{margin:0;flex-shrink:0;border-bottom:var(--yoast-border-default)}.yoast-post-settings-modal .yoast-notice-container{z-index:1;position:sticky;bottom:0;left:0;width:100%;margin-top:auto}.yoast-post-settings-modal .yoast-notice-container>hr{margin-top:-1px;margin-bottom:0}.yoast-post-settings-modal .yoast-content-container{overflow-y:auto;flex-grow:1}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;padding:24px;margin:0}.yoast-post-settings-modal .yoast-button-container p{color:var(--yoast-color-label-help);padding-right:24px;align-self:center}.yoast-post-settings-modal .yoast-button-container button{flex-shrink:0;max-height:45px;align-self:center}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{padding:16px;justify-content:space-between}.yoast-post-settings-modal .yoast-button-container p{padding-right:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{position:relative;border:none}.yoast-related-keyphrases-modal__chart{display:block}.draftJsMentionPlugin__mention__29BEd,.draftJsMentionPlugin__mention__29BEd:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-left:2px;padding-right:2px;border-radius:2px;text-decoration:none}.draftJsMentionPlugin__mention__29BEd:focus,.draftJsMentionPlugin__mention__29BEd:hover{color:#677584;background:#edf5fd;outline:0}.draftJsMentionPlugin__mention__29BEd:active{color:#222;background:#455261}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active{background-color:#cce7ff}.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd{background-color:#e6f3ff}.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq{display:inline-block;margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9{display:inline-block;width:24px;height:24px;border-radius:12px}.draftJsMentionPlugin__mentionSuggestions__2DWjA{border:1px solid #eee;margin-top:.4em;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;box-sizing:border-box;-webkit-transform:scale(0);transform:scale(0)}
|
2 |
-
/*!rtl:begin:ignore*/.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}
|
3 |
/*!rtl:end:ignore*/#wpseo_meta{box-sizing:border-box}#wpseo_meta *,#wpseo_meta :after,#wpseo_meta :before{box-sizing:inherit}.DraftEditor-root [data-block]{margin:0}#edittag>#wp-description-wrap{display:none}#wp-description-wrap .wp-editor-area{border:0}.term-description-wrap td>textarea#description{min-height:530px}ul.wpseo-metabox-tabs{display:none;margin-top:6px;margin-bottom:0}ul.wpseo-metabox-tabs:after{content:"";display:table;clear:both}.wpseo-metabox-tabs-div{margin:0 5px 5px}.wpseo-metabox-tabs-div ul{list-style:none}#wpseo-meta-section-addons{padding:0 5px 5px}#wpseo-meta-section-addons .wpseo-metabox-tabs-div{margin:0}ul.wpseo-metabox-tabs li.active{background-color:#fdfdfd}.wpseo-meta-section,.wpseo-meta-section-react{display:none;max-width:600px;width:100%;min-height:100%;height:auto;vertical-align:top;border:1px solid rgba(0,0,0,.2)}.wpseo-meta-section-react.active,.wpseo-meta-section.active{background:#fff;position:relative;z-index:12}.wpseo-meta-section.active{display:inline-block}.wpseo-meta-section-react.active{display:block;margin-bottom:10px}.wpseo-meta-section-content{padding:16px}.wpseo-metabox-content{max-width:800px;padding-top:16px}.wpseo-metabox-menu{max-width:600px;padding:0;background-color:#fff}.wpseo-metabox-menu ul{margin:0 1px 0 0;padding:0 0 0 16px;display:flex;align-items:flex-end;flex-wrap:wrap;flex-flow:wrap-reverse}.wpseo-metabox-menu ul li:first-child{z-index:10}.wpseo-metabox-menu ul li:nth-child(2){z-index:9}.wpseo-metabox-menu ul li:nth-child(3){z-index:8}.wpseo-metabox-menu ul li:nth-child(4){z-index:7}.wpseo-metabox-menu ul li:nth-child(5){z-index:6}.wpseo-metabox-menu ul li:nth-child(6){z-index:5}.wpseo-metabox-menu ul li{box-shadow:0 0 4px 0 rgba(0,0,0,.1);height:32px;margin-left:-1px;margin-bottom:-1px;text-align:center;position:relative;background-color:#f8f8f8}.wpseo-metabox-menu ul li a{color:#0073aa;display:flex;align-items:center;border:1px solid rgba(0,0,0,.2);border-bottom:2px transparent}.wpseo-metabox-menu ul li a:focus{box-shadow:inherit}.wpseo-metabox-menu ul li .yst-traffic-light{height:20px;width:auto;margin-right:10px;margin-left:4px}.wpseo-metabox-menu ul li span.dashicons{margin-right:8px}.wpseo-metabox-menu ul li span.wpseo-buy-premium{color:#a4286a}.wpseo-metabox-menu ul li span.wpseo-buy-premium:hover{color:#832055}.wpseo-metabox-menu ul li.active{height:36px;margin-top:-4px;z-index:13;background-color:#fff;border-bottom:2px transparent;box-shadow:none}.wpseo-metabox-menu ul li.active a{height:36px;color:#444}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium{color:#a4286a;border-color:#a4286a}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium:hover{color:#832055;border-color:#832055}.wpseo-metabox-menu a{height:32px;padding:0 8px;text-decoration:none}ul.wpseo-metabox-tabs li{float:left;margin-right:5px;margin-bottom:-1px;padding:0;border:1px solid #dfdfdf;border-bottom:0}ul.wpseo-metabox-tabs li .wpseo-keyword{display:inline-block;vertical-align:top;max-width:8em;max-width:8rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wpseotab{display:none;padding:16px;border:1px solid #ddd;background-color:#fdfdfd}.wpseotab .wpseo-cornerstone-checkbox{margin-right:.5em}.wpseotab.content{padding:20px 15px}.wpseotab.active{display:block}.wpseo-metabox-tabs .wpseo_tablink{display:inline-block;vertical-align:top;padding:5px 12px 6px;text-decoration:none}.wpseo-metabox-tabs .wpseo_content_tab a{padding-right:12px}.wpseo-metabox-tabs .wpseo-score-icon{margin-left:0}#wpseo-meta-section-social .wpseo-metabox-tabs .wpseo_tablink{padding:5px 7px}.wpseo-metabox-tabs .wpseo_tablink .dashicons{width:16px;height:16px;font-size:16px}.wpseo-metabox-sidebar .dashicons{width:30px;height:30px;font-size:30px}.wpseo-metabox-tabs-div div.wpseo-tabs-panel{overflow:auto;padding:.5em .9em;border:1px solid}#wpseo_meta .inside{margin:0}#wpseo_meta .inside:after{content:"";display:table;clear:both}#wpseo_meta .postbox .inside .wpseotab{font-size:13px!important}.wpseo-form .select2-container,.wpseo-form input,.wpseo-form label,.wpseo-form p.error-message,.wpseo-form textarea{max-width:600px}.wpseo-form fieldset{padding-top:5px}.wpseo-form legend{font-weight:600}.wpseo-form label{display:block;font-weight:600}.wpseo-form input[type=checkbox]+label,.wpseo-form input[type=radio]+label{display:inline-block;font-weight:400}.wpseo-form fieldset,.wpseo-form label{margin-top:2em;margin-bottom:.5em}.wpseo-form input[type=checkbox],.wpseo-form input[type=checkbox]+label{margin-top:2em;margin-bottom:0;font-size:1em}.wpseo-form fieldset:first-child,.wpseo-form input[type=checkbox]:first-child,.wpseo-form input[type=checkbox]:first-child+label,.wpseo-form label:first-child{margin-top:10px}.wpseo-form input[type=radio]{margin-top:0}.wpseo-form input[type=radio]+label{margin:0 1em 0 0}.wpseo-form p.error-message{margin:.5em 0}.wpseo-form select[multiple]{margin-top:0}.yoast-metabox__description{max-width:600px;margin:.5em 0}.wpseo_image_upload_button{margin-left:3px}.good,.warn,.wrong{font-weight:600}.good{color:green}.warn{color:maroon}.wrong{color:#dc3232}#current_seo_title span{padding:2px 5px;background-color:#ffffe0}#focuskwresults ul{margin:0}#focuskwresults li,#focuskwresults p{font-size:13px}#focuskwresults li{margin:0 0 0 20px;list-style-type:disc}.wpseo_hidden{display:none}.wpseo_msg{margin:5px 0 10px;padding:0 5px;border:1px solid #e6db55;background-color:#ffffe0}ul.wpseo-metabox-tabs li.wpseo-tab-add-keyword{border:1px dashed #dfdfdf;border-bottom:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button{height:auto;padding:5px 12px 5px 10px;vertical-align:top;font-size:inherit;line-height:inherit;font-weight:700;box-shadow:none;background:none;text-decoration:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wpseo-tab-add-keyword .wpseo-add-keyword.button:active{transform:none}.wpseo-add-keyword-plus{display:inline-block;vertical-align:top;margin:-1px 3px 0 0;font-size:20px}#wpseo-add-keyword-popup-title{margin:1em 0;font-size:1.3em}.snippet-editor__button.snippet-editor__edit-button:focus{border-color:#5b9dd9;outline:none;color:#23282d;background-color:#fafafa;box-shadow:0 0 3px rgba(0,115,170,.8)}.wpseo-admin-page .subsubsub li{display:inline;max-width:none}.yoast-seo-help-container{float:left;width:100%;max-width:none}.yoast-seo-help-container .yoast-help-panel{margin:.5em 0!important}.wpseo_content_wrapper p.search-box{margin:10px 0 5px}.wpseo-metabox-tabs .active a{color:#333}#wpseotab .ui-widget-content .ui-state-hover{border:1px solid #dfdfdf;color:#333;background:#f1f1f1}.yst-traffic-light{width:19px;height:30px;margin:0 0 0 5px}.yst-traffic-light .traffic-light-color{display:none}.yst-traffic-light.bad .traffic-light-red,.yst-traffic-light.good .traffic-light-green,.yst-traffic-light.init .traffic-light-init,.yst-traffic-light.na .traffic-light-empty,.yst-traffic-light.ok .traffic-light-orange{display:inline}.yoast-seo-score .yoast-logo.svg{float:left;width:18px;margin-right:7px;height:18px;background:var(--yoast-svg-icon-yoast) no-repeat;background-size:18px}.yoast-seo-score .yoast-logo.svg.good{background-image:var(--yoast-svg-icon-yoast-good)}.yoast-seo-score .yoast-logo.svg.ok{background-image:var(--yoast-svg-icon-yoast-ok)}.yoast-seo-score .yoast-logo.svg.bad{background-image:var(--yoast-svg-icon-yoast-bad)}.yoast-seo-score .yoast-logo.svg.na,.yoast-seo-score .yoast-logo.svg.noindex{background-image:var(--yoast-svg-icon-yoast)}.term-php .wpseo-taxonomy-metabox-postbox>h2{margin:0;padding:8px 12px;border-bottom:1px solid #eee;font-size:14px;line-height:1.4}#TB_window #TB_ajaxContent p{padding:5px 0 0;margin:5px 0 0}#TB_window #TB_ajaxContent ul{margin:5px 0 10px}#TB_window #TB_ajaxContent li{list-style:none;margin:5px 0 0}#TB_window #TB_ajaxContent li:before{content:"+";margin:0 10px 0 0;font-weight:700}.yoast-section__heading-icon-list{background-image:var(--yoast-svg-icon-list)}.yoast-section__heading-icon-key{background-image:var(--yoast-svg-icon-key)}.yoast-section__heading-icon-edit{background-image:var(--yoast-svg-icon-edit)}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.screen-reader-text.wpseo-generic-tab-textual-score,.screen-reader-text.wpseo-keyword-tab-textual-score{display:block}.yoast-notice-go-premium{border-left-color:#a4286a;background:#f1f1f1;margin:0}.editor-styles-wrapper mark.annotation-text-yoast{background-color:#e1bee7}@media screen and (max-width:782px){.wpseo-metabox-buy-premium .wpseo-buy-premium{display:inline-block;width:20px;height:20px;margin-right:5px;padding:0}.yoast-help-panel{max-width:none!important}#wpseo-crawl-issues-table-form .subsubsub{float:none;max-width:calc(100vw - 20px)}#wpseo-crawl-issues-table-form .yoast-help-button{margin-top:3px}.wpseotab select[multiple]{height:auto!important}}@media screen and (max-width:600px){.wpseotab.content{padding:16px 0}}.wpseo-score-icon-container{height:20px;width:20px;margin-right:8px;display:flex;justify-content:center;align-items:center}.yoast-seo-sidebar-panel div{line-height:2}.yoast-seo-sidebar-panel div svg{vertical-align:middle}ul.yoast-seo-social-share-buttons li{display:inline-block;margin-right:16px}ul.yoast-seo-social-share-buttons svg{width:32px;height:32px;margin-bottom:8px}ul.yoast-seo-social-share-buttons a{display:flex;flex-direction:column;align-items:center}.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO"]>svg,.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO Premium"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO Premium"]>svg{max-width:28px;max-height:28px;width:28px;height:28px}div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO"]>svg path,div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO Premium"]>svg path{fill:#fff}.wpseo-schema-icon{height:16px;width:16px;margin-right:8px;display:flex;justify-content:center;align-items:center;background-image:var(--yoast-svg-icon-schema);background-size:cover}.wpseo-metabox-menu ul li.active a .wpseo-schema-icon{background-image:var(--yoast-svg-icon-schema-active)}.yoast-icon-span svg{margin-right:8px;fill:inherit}.yoast.components-panel__body{border-top:0}.components-button>.yoast-title-container{flex-grow:1;overflow-x:hidden;line-height:normal}.yoast-title-container>.yoast-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.yoast-title-container>.yoast-subtitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:.8125rem;font-weight:300;margin-top:2px}.yoast.components-panel__body .yoast-chevron{background-color:#1e1e1e;-webkit-mask-image:var(--yoast-svg-icon-chevron-down);mask-image:var(--yoast-svg-icon-chevron-down);-webkit-mask-size:100% 100%;mask-size:100% 100%;display:inline-block;width:24px;height:24px}.yoast.components-panel__body.is-opened .yoast-chevron{-webkit-mask-image:var(--yoast-svg-icon-chevron-up);mask-image:var(--yoast-svg-icon-chevron-up)}.yoast .components-panel__body-toggle{padding-right:16px}.yoast .components-form-token-field__remove-token.components-button,.yoast .components-form-token-field__token-text{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}
|
1 |
+
:root{--yoast-svg-icon-info:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23A4286A' d='M1152 1376v-160q0-14-9-23t-23-9h-96V672q0-14-9-23t-23-9H672q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896V320q0-14-9-23t-23-9H800q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5T1281.5 1561 896 1664t-385.5-103T231 1281.5 128 896t103-385.5T510.5 231 896 128t385.5 103T1561 510.5 1664 896z'/%3E%3C/svg%3E");--yoast-svg-icon-check:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-check-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%2377B227' d='M1671 566q0 40-28 68l-724 724-136 136q-28 28-68 28t-68-28l-136-136-362-362q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 295 656-657q28-28 68-28t68 28l136 136q28 28 28 68z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-right:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z'/%3E%3C/svg%3E");--yoast-svg-icon-caret-left:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 192 512' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z'/%3E%3C/svg%3E");--yoast-svg-icon-eye:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5T896 1280t-316.5-131.5T448 832q0-121 61-225-229 117-381 353 133 205 333.5 326.5T896 1408t434.5-121.5T1664 960zM944 576q0-20-14-34t-34-14q-125 0-214.5 89.5T592 832q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5T896 1536t-499.5-139T20 1029Q0 994 0 960t20-69q140-229 376.5-368T896 384t499.5 139T1772 891q20 35 20 69z'/%3E%3C/svg%3E");--yoast-svg-icon-list:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56T0 896t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 1504v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zM384 384q0 80-56 136t-136 56-136-56T0 384t56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5H544q-13 0-22.5-9.5T512 992V800q0-13 9.5-22.5T544 768h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5T1760 512H544q-13 0-22.5-9.5T512 480V288q0-13 9.5-22.5T544 256h1216q13 0 22.5 9.5t9.5 22.5z'/%3E%3C/svg%3E");--yoast-svg-icon-key:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M832 512q0-80-56-136t-136-56-136 56-56 136q0 42 19 83-41-19-83-19-80 0-136 56t-56 136 56 136 136 56 136-56 56-136q0-42-19-83 41 19 83 19 80 0 136-56t56-136zm851 704q0 17-49 66t-66 49q-9 0-28.5-16t-36.5-33-38.5-40-24.5-26l-96 96 220 220q28 28 28 68 0 42-39 81t-81 39q-40 0-68-28l-671-671q-176 131-365 131-163 0-265.5-102.5T0 784q0-160 95-313t248-248 313-95q163 0 265.5 102.5T1024 496q0 189-131 365l355 355 96-96q-3-3-26-24.5t-40-38.5-33-36.5-16-28.5q0-17 49-66t66-49q13 0 23 10 6 6 46 44.5t82 79.5 86.5 86 73 78 28.5 41z'/%3E%3C/svg%3E");--yoast-svg-icon-edit:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23555' d='M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832H128v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z'/%3E%3C/svg%3E");--yoast-svg-icon-lock:url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2zm10-10V7a4 4 0 0 0-8 0v4h8z"/></svg>');--yoast-svg-icon-yoast:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23999' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-good:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%237ad03a' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-ok:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23ee7c1b' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-bad:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%23dc3232' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E");--yoast-svg-icon-yoast-noindex:url("data:image/svg+xml;charset=utf-8,%3Csvg width='1792' height='1792' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath fill='%231e8cbe' d='M403 218h691l-26 72H403q-110 0-188.5 79T136 558v771q0 95 60.5 169.5T350 1592q23 5 98 5v72h-45q-140 0-239.5-100T64 1329V558q0-140 99.5-240T403 218zM1254 0h247l-482 1294q-23 61-40.5 103.5t-45 98-54 93.5-64.5 78.5-79.5 65-95.5 41-116 18.5v-195q163-26 220-182 20-52 20-105 0-54-20-106L459 471h228l187 585zm474 558v1111H933q37-55 45-73h678V558q0-85-49.5-155T1477 304l25-67q101 34 163.5 123.5T1728 558z'/%3E%3C/svg%3E")}.yoast-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(164,40,106,.6);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}.yoast-modal{background:#fff;display:flex;flex-direction:column;overflow:hidden;position:fixed;height:calc(100% - 96px);top:48px;bottom:48px;left:calc(50% - 440px);max-width:880px;width:100%}.yoast-gutenberg-modal .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-right:8px}.yoast-tabs .yoast-modal__content{display:grid;grid-template-areas:"heading heading" "menu content" "menu footer";grid-template-rows:72px 1fr 88px;grid-template-columns:280px 1fr}.yoast-modal__heading{display:flex;align-items:center;box-sizing:border-box;min-height:72px;border-bottom:var(--yoast-border-default);padding:0 24px;grid-area:heading;background:var(--yoast-color-white)}.yoast-modal__heading .yoast-close{position:absolute;right:16px}.yoast-gutenberg-modal .components-modal__header-heading,.yoast-modal__heading h1{font-size:20px;font-weight:400;color:var(--yoast-color-primary);line-height:1.2;margin:0}.yoast-gutenberg-modal .components-modal__icon-container{display:inline-flex}.yoast-gutenberg-modal .components-modal__icon-container svg,.yoast-modal__heading-icon{fill:var(--yoast-color-primary);margin-right:16px;width:19px;height:20px;flex-shrink:0}.yoast-modal__menu{grid-area:menu;border-right:var(--yoast-border-default);overflow-y:auto}.yoast-modal__menu ul{padding:0;margin:0;list-style:none}.yoast-modal__menu li{padding:12px 16px 11px;border-bottom:var(--yoast-border-default);font-size:16px;cursor:pointer;text-decoration:none;color:var(--yoast-color-default);display:block}.yoast-modal__menu li:hover{background-color:#edd4e1}.yoast-modal__menu li.yoast-tabs__tab--selected{background-color:var(--yoast-color-primary);border-bottom:var(--yoast-border-default);color:#fff}.yoast-modal__content,.yoast-modal__section{grid-area:content;overflow-y:auto;flex-grow:1;position:relative;display:flex;flex-direction:column}.yoast-modal__section *{max-width:600px}.yoast-modal__section-header{position:sticky;top:0;background:var(--yoast-color-white);padding:24px 24px 0;z-index:10}.yoast-modal__section .yoast-h2{border-bottom:var(--yoast-border-default);padding-bottom:24px}.yoast-modal__footer{grid-area:footer;padding:0;border-top:var(--yoast-border-default);display:flex;align-self:flex-end;align-items:center;justify-content:flex-end;position:sticky;bottom:0;background:var(--yoast-color-white);margin:0 24px;z-index:10;box-sizing:border-box;min-height:88px;width:calc(100% - 48px)}.yoast-modal__settings-saved{position:relative;margin-right:16px;display:inline-flex;align-items:center}.yoast-modal__settings-saved:before{content:"";background:var(--yoast-checkmark--green) no-repeat 50%;height:13px;width:14px;display:inline-block;margin-right:8px}.yoast-modal__footer .yoast-button{display:block}.yoast-modal__section-content{padding:24px;flex-grow:1}@media screen and (max-width:880px){.yoast-modal{top:0;bottom:0;left:0;right:0;height:auto}}@media screen and (max-width:782px){.yoast-modal{overflow-y:initial}.yoast-modal.yoast-modal-collapsible{padding-bottom:72px}.yoast-tabs .yoast-modal__content{grid-template-rows:48px 1fr 72px}.yoast-modal__heading{padding:0 16px;position:fixed;top:0;width:100%;min-height:48px;z-index:11}.yoast-modal__heading h1{font-size:var(--yoast-font-size-default)}.yoast-close svg{width:10px}.yoast-modal__heading-icon{height:15px;margin-right:8px}.yoast .yoast-close{right:3px}.yoast-modal__heading .yoast-h2{font-size:var(--yoast-font-size-default)}.yoast-modal__section{overflow:initial;flex-grow:0}.yoast-modal__section-content{padding:24px 0;margin:0 16px}.yoast-modal__section:first-of-type{margin-top:48px}.yoast-modal__section:last-of-type{margin-bottom:72px}.yoast-modal__section-header{top:48px;position:sticky;padding:0;margin:0}.yoast-modal__section-open .yoast-modal__section-header{padding-left:0;padding-right:0;margin-left:16px;margin-right:16px}.yoast-modal__section-open{border-bottom:var(--yoast-border-default)}.yoast-modal__footer{width:100%;min-height:72px;margin:0;padding:0 16px;position:fixed;z-index:11}.yoast-modal-collapsible .yoast-modal__footer{min-height:72px}.yoast-modal-collapsible .yoast-modal__section-content{padding:24px 16px;border-bottom:var(--yoast-border-default);margin:0}.yoast-collapsible__hidden{display:none}.yoast-collapsible__trigger{padding:16px;border:none;border-bottom:var(--yoast-border-default);cursor:pointer;justify-content:space-between;font-size:var(--yoast-font-size-default);width:100%;text-align:left;background:#fff;color:var(--yoast-color-primary)}.yoast-collapsible__trigger[aria-expanded=true] .yoast-collapsible__icon{transform:rotate(180deg)}.yoast-collapsible__trigger[aria-expanded=true]{padding:16px 0;width:calc(100% - 32px);margin:0 16px}.yoast-collapsible__icon{background-color:var(--yoast-color-white);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='%23404040'%3E%3Cpath d='M1.4 0L6 4.6 10.6 0 12 1.4 6 7.5 0 1.4z'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:10px auto;width:19px;height:19px;border:none;display:block;float:right}.yoast-collapsible-block{width:100%;margin-top:48px}.yoast-collapsible-block+.yoast-collapsible-block{margin-top:0}}.yoast-post-settings-modal{width:880px;height:100%;max-width:calc(100% - 96px);max-height:calc(100% - 96px);overflow:hidden}.yoast-modal-content{padding:16px}@media (min-width:782px){.yoast-modal-content--columns{display:grid;grid-template-columns:1fr 1fr;grid-gap:24px}}.yoast-post-settings-modal__button-container{padding:16px;display:flex;flex-direction:column;border-bottom:1px solid rgba(0,0,0,.2)}.yoast-post-settings-modal .components-modal__content{padding:0;display:flex;flex-direction:column}.yoast-post-settings-modal .components-modal__header{margin:0;flex-shrink:0;border-bottom:var(--yoast-border-default)}.yoast-post-settings-modal .yoast-notice-container{z-index:1;position:sticky;bottom:0;left:0;width:100%;margin-top:auto}.yoast-post-settings-modal .yoast-notice-container>hr{margin-top:-1px;margin-bottom:0}.yoast-post-settings-modal .yoast-content-container{overflow-y:auto;flex-grow:1}.yoast-post-settings-modal .yoast-button-container{display:flex;flex-direction:row;justify-content:flex-end;padding:24px;margin:0}.yoast-post-settings-modal .yoast-button-container p{color:var(--yoast-color-label-help);padding-right:24px;align-self:center}.yoast-post-settings-modal .yoast-button-container button{flex-shrink:0;max-height:45px;align-self:center}@media only screen and (max-width:600px){.yoast-post-settings-modal{max-height:100%;max-width:100%}.yoast-post-settings-modal .yoast-button-container{padding:16px;justify-content:space-between}.yoast-post-settings-modal .yoast-button-container p{padding-right:0}}.yoast-related-keyphrases-modal,.yoast-wincher-seo-performance-modal{max-width:712px}#yoast-get-related-keyphrases-metabox,#yoast-get-related-keyphrases-sidebar{margin-top:8px}.yoast-gutenberg-modal .yoast-related-keyphrases-modal__content{min-height:66vh;position:relative}#yoast-semrush-country-selector{position:relative;border:none}.yoast-related-keyphrases-modal__chart{display:block}.m6zwb4v,.m6zwb4v:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-left:2px;padding-right:2px;border-radius:2px;-webkit-text-decoration:none;text-decoration:none}.m6zwb4v:focus,.m6zwb4v:hover{color:#677584;background:#edf5fd;outline:0}.m6zwb4v:active{color:#222;background:#455261}.mnw6qvm{border:1px solid #eee;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.m1ymsnxd{opacity:0;-webkit-transition:opacity .25s cubic-bezier(.3,1.2,.2,1);transition:opacity .25s cubic-bezier(.3,1.2,.2,1)}.m126ak5t{opacity:1}.mtiwdxc{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.mtiwdxc:active{background-color:#cce7ff}.myz2dw1{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);background-color:#e6f3ff}.myz2dw1:active{background-color:#cce7ff}.mpqdcgq{margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.m1mfvffo,.mpqdcgq{display:inline-block}.m1mfvffo{width:24px;height:24px;border-radius:12px}
|
2 |
+
/*!rtl:begin:ignore*/.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;width:100%;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}
|
3 |
/*!rtl:end:ignore*/#wpseo_meta{box-sizing:border-box}#wpseo_meta *,#wpseo_meta :after,#wpseo_meta :before{box-sizing:inherit}.DraftEditor-root [data-block]{margin:0}#edittag>#wp-description-wrap{display:none}#wp-description-wrap .wp-editor-area{border:0}.term-description-wrap td>textarea#description{min-height:530px}ul.wpseo-metabox-tabs{display:none;margin-top:6px;margin-bottom:0}ul.wpseo-metabox-tabs:after{content:"";display:table;clear:both}.wpseo-metabox-tabs-div{margin:0 5px 5px}.wpseo-metabox-tabs-div ul{list-style:none}#wpseo-meta-section-addons{padding:0 5px 5px}#wpseo-meta-section-addons .wpseo-metabox-tabs-div{margin:0}ul.wpseo-metabox-tabs li.active{background-color:#fdfdfd}.wpseo-meta-section,.wpseo-meta-section-react{display:none;max-width:600px;width:100%;min-height:100%;height:auto;vertical-align:top;border:1px solid rgba(0,0,0,.2)}.wpseo-meta-section-react.active,.wpseo-meta-section.active{background:#fff;position:relative;z-index:12}.wpseo-meta-section.active{display:inline-block}.wpseo-meta-section-react.active{display:block;margin-bottom:10px}.wpseo-meta-section-content{padding:16px}.wpseo-metabox-content{max-width:800px;padding-top:16px}.wpseo-metabox-menu{max-width:600px;padding:0;background-color:#fff}.wpseo-metabox-menu ul{margin:0 1px 0 0;padding:0 0 0 16px;display:flex;align-items:flex-end;flex-wrap:wrap;flex-flow:wrap-reverse}.wpseo-metabox-menu ul li:first-child{z-index:10}.wpseo-metabox-menu ul li:nth-child(2){z-index:9}.wpseo-metabox-menu ul li:nth-child(3){z-index:8}.wpseo-metabox-menu ul li:nth-child(4){z-index:7}.wpseo-metabox-menu ul li:nth-child(5){z-index:6}.wpseo-metabox-menu ul li:nth-child(6){z-index:5}.wpseo-metabox-menu ul li{box-shadow:0 0 4px 0 rgba(0,0,0,.1);height:32px;margin-left:-1px;margin-bottom:-1px;text-align:center;position:relative;background-color:#f8f8f8}.wpseo-metabox-menu ul li a{color:#0073aa;display:flex;align-items:center;border:1px solid rgba(0,0,0,.2);border-bottom:2px transparent}.wpseo-metabox-menu ul li a:focus{box-shadow:inherit}.wpseo-metabox-menu ul li .yst-traffic-light{height:20px;width:auto;margin-right:10px;margin-left:4px}.wpseo-metabox-menu ul li span.dashicons{margin-right:8px}.wpseo-metabox-menu ul li span.wpseo-buy-premium{color:#a4286a}.wpseo-metabox-menu ul li span.wpseo-buy-premium:hover{color:#832055}.wpseo-metabox-menu ul li.active{height:36px;margin-top:-4px;z-index:13;background-color:#fff;border-bottom:2px transparent;box-shadow:none}.wpseo-metabox-menu ul li.active a{height:36px;color:#444}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium{color:#a4286a;border-color:#a4286a}.wpseo-metabox-menu ul li.active span.wpseo-buy-premium:hover{color:#832055;border-color:#832055}.wpseo-metabox-menu a{height:32px;padding:0 8px;text-decoration:none}ul.wpseo-metabox-tabs li{float:left;margin-right:5px;margin-bottom:-1px;padding:0;border:1px solid #dfdfdf;border-bottom:0}ul.wpseo-metabox-tabs li .wpseo-keyword{display:inline-block;vertical-align:top;max-width:8em;max-width:8rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.wpseotab{display:none;padding:16px;border:1px solid #ddd;background-color:#fdfdfd}.wpseotab .wpseo-cornerstone-checkbox{margin-right:.5em}.wpseotab.content{padding:20px 15px}.wpseotab.active{display:block}.wpseo-metabox-tabs .wpseo_tablink{display:inline-block;vertical-align:top;padding:5px 12px 6px;text-decoration:none}.wpseo-metabox-tabs .wpseo_content_tab a{padding-right:12px}.wpseo-metabox-tabs .wpseo-score-icon{margin-left:0}#wpseo-meta-section-social .wpseo-metabox-tabs .wpseo_tablink{padding:5px 7px}.wpseo-metabox-tabs .wpseo_tablink .dashicons{width:16px;height:16px;font-size:16px}.wpseo-metabox-sidebar .dashicons{width:30px;height:30px;font-size:30px}.wpseo-metabox-tabs-div div.wpseo-tabs-panel{overflow:auto;padding:.5em .9em;border:1px solid}#wpseo_meta .inside{margin:0}#wpseo_meta .inside:after{content:"";display:table;clear:both}#wpseo_meta .postbox .inside .wpseotab{font-size:13px!important}.wpseo-form .select2-container,.wpseo-form input,.wpseo-form label,.wpseo-form p.error-message,.wpseo-form textarea{max-width:600px}.wpseo-form fieldset{padding-top:5px}.wpseo-form legend{font-weight:600}.wpseo-form label{display:block;font-weight:600}.wpseo-form input[type=checkbox]+label,.wpseo-form input[type=radio]+label{display:inline-block;font-weight:400}.wpseo-form fieldset,.wpseo-form label{margin-top:2em;margin-bottom:.5em}.wpseo-form input[type=checkbox],.wpseo-form input[type=checkbox]+label{margin-top:2em;margin-bottom:0;font-size:1em}.wpseo-form fieldset:first-child,.wpseo-form input[type=checkbox]:first-child,.wpseo-form input[type=checkbox]:first-child+label,.wpseo-form label:first-child{margin-top:10px}.wpseo-form input[type=radio]{margin-top:0}.wpseo-form input[type=radio]+label{margin:0 1em 0 0}.wpseo-form p.error-message{margin:.5em 0}.wpseo-form select[multiple]{margin-top:0}.yoast-metabox__description{max-width:600px;margin:.5em 0}.wpseo_image_upload_button{margin-left:3px}.good,.warn,.wrong{font-weight:600}.good{color:green}.warn{color:maroon}.wrong{color:#dc3232}#current_seo_title span{padding:2px 5px;background-color:#ffffe0}#focuskwresults ul{margin:0}#focuskwresults li,#focuskwresults p{font-size:13px}#focuskwresults li{margin:0 0 0 20px;list-style-type:disc}.wpseo_hidden{display:none}.wpseo_msg{margin:5px 0 10px;padding:0 5px;border:1px solid #e6db55;background-color:#ffffe0}ul.wpseo-metabox-tabs li.wpseo-tab-add-keyword{border:1px dashed #dfdfdf;border-bottom:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button{height:auto;padding:5px 12px 5px 10px;vertical-align:top;font-size:inherit;line-height:inherit;font-weight:700;box-shadow:none;background:none;text-decoration:none}.wpseo-tab-add-keyword .wpseo-add-keyword.button:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.wpseo-tab-add-keyword .wpseo-add-keyword.button:active{transform:none}.wpseo-add-keyword-plus{display:inline-block;vertical-align:top;margin:-1px 3px 0 0;font-size:20px}#wpseo-add-keyword-popup-title{margin:1em 0;font-size:1.3em}.snippet-editor__button.snippet-editor__edit-button:focus{border-color:#5b9dd9;outline:none;color:#23282d;background-color:#fafafa;box-shadow:0 0 3px rgba(0,115,170,.8)}.wpseo-admin-page .subsubsub li{display:inline;max-width:none}.yoast-seo-help-container{float:left;width:100%;max-width:none}.yoast-seo-help-container .yoast-help-panel{margin:.5em 0!important}.wpseo_content_wrapper p.search-box{margin:10px 0 5px}.wpseo-metabox-tabs .active a{color:#333}#wpseotab .ui-widget-content .ui-state-hover{border:1px solid #dfdfdf;color:#333;background:#f1f1f1}.yst-traffic-light{width:19px;height:30px;margin:0 0 0 5px}.yst-traffic-light .traffic-light-color{display:none}.yst-traffic-light.bad .traffic-light-red,.yst-traffic-light.good .traffic-light-green,.yst-traffic-light.init .traffic-light-init,.yst-traffic-light.na .traffic-light-empty,.yst-traffic-light.ok .traffic-light-orange{display:inline}.yoast-seo-score .yoast-logo.svg{float:left;width:18px;margin-right:7px;height:18px;background:var(--yoast-svg-icon-yoast) no-repeat;background-size:18px}.yoast-seo-score .yoast-logo.svg.good{background-image:var(--yoast-svg-icon-yoast-good)}.yoast-seo-score .yoast-logo.svg.ok{background-image:var(--yoast-svg-icon-yoast-ok)}.yoast-seo-score .yoast-logo.svg.bad{background-image:var(--yoast-svg-icon-yoast-bad)}.yoast-seo-score .yoast-logo.svg.na,.yoast-seo-score .yoast-logo.svg.noindex{background-image:var(--yoast-svg-icon-yoast)}.term-php .wpseo-taxonomy-metabox-postbox>h2{margin:0;padding:8px 12px;border-bottom:1px solid #eee;font-size:14px;line-height:1.4}#TB_window #TB_ajaxContent p{padding:5px 0 0;margin:5px 0 0}#TB_window #TB_ajaxContent ul{margin:5px 0 10px}#TB_window #TB_ajaxContent li{list-style:none;margin:5px 0 0}#TB_window #TB_ajaxContent li:before{content:"+";margin:0 10px 0 0;font-weight:700}.yoast-section__heading-icon-list{background-image:var(--yoast-svg-icon-list)}.yoast-section__heading-icon-key{background-image:var(--yoast-svg-icon-key)}.yoast-section__heading-icon-edit{background-image:var(--yoast-svg-icon-edit)}.yoast-tooltip.yoast-tooltip-hidden:after,.yoast-tooltip.yoast-tooltip-hidden:before{display:none}.screen-reader-text.wpseo-generic-tab-textual-score,.screen-reader-text.wpseo-keyword-tab-textual-score{display:block}.yoast-notice-go-premium{border-left-color:#a4286a;background:#f1f1f1;margin:0}.editor-styles-wrapper mark.annotation-text-yoast{background-color:#e1bee7}@media screen and (max-width:782px){.wpseo-metabox-buy-premium .wpseo-buy-premium{display:inline-block;width:20px;height:20px;margin-right:5px;padding:0}.yoast-help-panel{max-width:none!important}#wpseo-crawl-issues-table-form .subsubsub{float:none;max-width:calc(100vw - 20px)}#wpseo-crawl-issues-table-form .yoast-help-button{margin-top:3px}.wpseotab select[multiple]{height:auto!important}}@media screen and (max-width:600px){.wpseotab.content{padding:16px 0}}.wpseo-score-icon-container{height:20px;width:20px;margin-right:8px;display:flex;justify-content:center;align-items:center}.yoast-seo-sidebar-panel div{line-height:2}.yoast-seo-sidebar-panel div svg{vertical-align:middle}ul.yoast-seo-social-share-buttons li{display:inline-block;margin-right:16px}ul.yoast-seo-social-share-buttons svg{width:32px;height:32px;margin-bottom:8px}ul.yoast-seo-social-share-buttons a{display:flex;flex-direction:column;align-items:center}.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO"]>svg,.edit-post-pinned-plugins button.components-button[aria-label="Yoast SEO Premium"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO"]>svg,div.interface-pinned-items button.components-button[aria-label="Yoast SEO Premium"]>svg{max-width:28px;max-height:28px;width:28px;height:28px}div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO"]>svg path,div.interface-pinned-items button.components-button.is-pressed[aria-label="Yoast SEO Premium"]>svg path{fill:#fff}.wpseo-schema-icon{height:16px;width:16px;margin-right:8px;display:flex;justify-content:center;align-items:center;background-image:var(--yoast-svg-icon-schema);background-size:cover}.wpseo-metabox-menu ul li.active a .wpseo-schema-icon{background-image:var(--yoast-svg-icon-schema-active)}.yoast-icon-span svg{margin-right:8px;fill:inherit}.yoast.components-panel__body{border-top:0}.components-button>.yoast-title-container{flex-grow:1;overflow-x:hidden;line-height:normal}.yoast-title-container>.yoast-title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.yoast-title-container>.yoast-subtitle{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;font-size:.8125rem;font-weight:300;margin-top:2px}.yoast.components-panel__body .yoast-chevron{background-color:#1e1e1e;-webkit-mask-image:var(--yoast-svg-icon-chevron-down);mask-image:var(--yoast-svg-icon-chevron-down);-webkit-mask-size:100% 100%;mask-size:100% 100%;display:inline-block;width:24px;height:24px}.yoast.components-panel__body.is-opened .yoast-chevron{-webkit-mask-image:var(--yoast-svg-icon-chevron-up);mask-image:var(--yoast-svg-icon-chevron-up)}.yoast .components-panel__body-toggle{padding-right:16px}.yoast .components-form-token-field__remove-token.components-button,.yoast .components-form-token-field__token-text{background-color:var(--yoast-color-primary);color:var(--yoast-color-white)}
|
css/dist/{metabox-primary-category-1780-rtl.css → metabox-primary-category-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-1780.css → metabox-primary-category-1790.css}
RENAMED
File without changes
|
css/dist/{modal-1780-rtl.css → modal-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{modal-1780.css → modal-1790.css}
RENAMED
File without changes
|
css/dist/{monorepo-1780-rtl.css → monorepo-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{monorepo-1780.css → monorepo-1790.css}
RENAMED
File without changes
|
css/dist/{notifications-1780-rtl.css → notifications-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{notifications-1780.css → notifications-1790.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1780-rtl.css → schema-blocks-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{schema-blocks-1780.css → schema-blocks-1790.css}
RENAMED
File without changes
|
css/dist/{score_icon-1780-rtl.css → score_icon-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{score_icon-1780.css → score_icon-1790.css}
RENAMED
File without changes
|
css/dist/search-appearance-1780-rtl.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.draftJsMentionPlugin__mentionSuggestions__2DWjA{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-transform:scale(0)}.yoast-schema-settings-container{margin-top:18px}.yoast-schema-settings-container:first-child{margin-top:0}.yoast-schema-settings-container .yoast-help{position:relative;flex:0 0 20px;height:20px;margin:2px 6px 0 0}.yoast-schema-settings-container .yoast-help:focus{outline:none;box-shadow:none}.yoast-schema-settings-container .yoast-help .yoast-help__icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;position:absolute;top:-4px;right:-4px;border-radius:100%}.yoast-schema-settings-container .yoast-help:focus .yoast-help__icon{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.collapsible-header .toggleable-container-trigger code{font-weight:300}#yoast-organization-image-select .yoast-field-group,#yoast-organization-image-select .yoast-image-select,#yoast-person-image-select .yoast-field-group,#yoast-person-image-select .yoast-image-select{margin-bottom:0}.social-settings-heading-container{display:flex;align-items:center;flex-wrap:wrap}.social-settings-heading-container .social-settings-heading{margin:0}.social-settings-heading-container .yoast-badge{margin-right:8px}.yoast-settings-section-upsell .yoast-alert{margin:0 16px}.draftJsMentionPlugin__mention__29BEd,.draftJsMentionPlugin__mention__29BEd:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-right:2px;padding-left:2px;border-radius:2px;text-decoration:none}.draftJsMentionPlugin__mention__29BEd:focus,.draftJsMentionPlugin__mention__29BEd:hover{color:#677584;background:#edf5fd;outline:0}.draftJsMentionPlugin__mention__29BEd:active{color:#222;background:#455261}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active{background-color:#cce7ff}.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd{background-color:#e6f3ff}.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq{display:inline-block;margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9{display:inline-block;width:24px;height:24px;border-radius:12px}.draftJsMentionPlugin__mentionSuggestions__2DWjA{border:1px solid #eee;margin-top:.4em;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:flex;flex-direction:column;box-sizing:border-box;transform:scale(0)}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-right:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{right:0;text-align:right}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{left:0;text-align:left}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:rtl;text-align:right}.public-DraftStyleDefault-rtl{direction:ltr;text-align:left}.public-DraftStyleDefault-listLTR{direction:rtl}.public-DraftStyleDefault-listRTL{direction:ltr}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-right:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-left:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-right:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-left:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-right:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-left:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-right:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-left:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-right:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-left:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{right:-36px;position:absolute;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;left:-36px;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#person-selector{width:100%}
|
|
css/dist/search-appearance-1780.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.draftJsMentionPlugin__mentionSuggestions__2DWjA{display:-webkit-box;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-transform:scale(0)}.yoast-schema-settings-container{margin-top:18px}.yoast-schema-settings-container:first-child{margin-top:0}.yoast-schema-settings-container .yoast-help{position:relative;flex:0 0 20px;height:20px;margin:2px 0 0 6px}.yoast-schema-settings-container .yoast-help:focus{outline:none;box-shadow:none}.yoast-schema-settings-container .yoast-help .yoast-help__icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;position:absolute;top:-4px;left:-4px;border-radius:100%}.yoast-schema-settings-container .yoast-help:focus .yoast-help__icon{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.collapsible-header .toggleable-container-trigger code{font-weight:300}#yoast-organization-image-select .yoast-field-group,#yoast-organization-image-select .yoast-image-select,#yoast-person-image-select .yoast-field-group,#yoast-person-image-select .yoast-image-select{margin-bottom:0}.social-settings-heading-container{display:flex;align-items:center;flex-wrap:wrap}.social-settings-heading-container .social-settings-heading{margin:0}.social-settings-heading-container .yoast-badge{margin-left:8px}.yoast-settings-section-upsell .yoast-alert{margin:0 16px}.draftJsMentionPlugin__mention__29BEd,.draftJsMentionPlugin__mention__29BEd:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-left:2px;padding-right:2px;border-radius:2px;text-decoration:none}.draftJsMentionPlugin__mention__29BEd:focus,.draftJsMentionPlugin__mention__29BEd:hover{color:#677584;background:#edf5fd;outline:0}.draftJsMentionPlugin__mention__29BEd:active{color:#222;background:#455261}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active{background-color:#cce7ff}.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd{background-color:#e6f3ff}.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq{display:inline-block;margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9{display:inline-block;width:24px;height:24px;border-radius:12px}.draftJsMentionPlugin__mentionSuggestions__2DWjA{border:1px solid #eee;margin-top:.4em;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:flex;flex-direction:column;box-sizing:border-box;transform:scale(0)}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#person-selector{width:100%}
|
|
css/dist/search-appearance-1790-rtl.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.m6zwb4v,.m6zwb4v:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-right:2px;padding-left:2px;border-radius:2px;-webkit-text-decoration:none;text-decoration:none}.m6zwb4v:focus,.m6zwb4v:hover{color:#677584;background:#edf5fd;outline:0}.m6zwb4v:active{color:#222;background:#455261}.mnw6qvm{border:1px solid #eee;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.m1ymsnxd{opacity:0;-webkit-transition:opacity .25s cubic-bezier(.3,1.2,.2,1);transition:opacity .25s cubic-bezier(.3,1.2,.2,1)}.m126ak5t{opacity:1}.mtiwdxc{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.mtiwdxc:active{background-color:#cce7ff}.myz2dw1{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);background-color:#e6f3ff}.myz2dw1:active{background-color:#cce7ff}.mpqdcgq{margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.m1mfvffo,.mpqdcgq{display:inline-block}.m1mfvffo{width:24px;height:24px;border-radius:12px}.public-DraftEditorPlaceholder-root{width:100%}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". "}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". "}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". "}.yoast-schema-settings-container{margin-top:18px}.yoast-schema-settings-container:first-child{margin-top:0}.yoast-schema-settings-container .yoast-help{position:relative;flex:0 0 20px;height:20px;margin:2px 6px 0 0}.yoast-schema-settings-container .yoast-help:focus{outline:none;box-shadow:none}.yoast-schema-settings-container .yoast-help .yoast-help__icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;position:absolute;top:-4px;right:-4px;border-radius:100%}.yoast-schema-settings-container .yoast-help:focus .yoast-help__icon{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.collapsible-header .toggleable-container-trigger code{font-weight:300}#yoast-organization-image-select .yoast-field-group,#yoast-organization-image-select .yoast-image-select,#yoast-person-image-select .yoast-field-group,#yoast-person-image-select .yoast-image-select{margin-bottom:0}.social-settings-heading-container{display:flex;align-items:center;flex-wrap:wrap}.social-settings-heading-container .social-settings-heading{margin:0}.social-settings-heading-container .yoast-badge{margin-right:8px}.yoast-settings-section-upsell .yoast-alert{margin:0 16px}.draftJsMentionPlugin__mention__29BEd,.draftJsMentionPlugin__mention__29BEd:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-right:2px;padding-left:2px;border-radius:2px;text-decoration:none}.draftJsMentionPlugin__mention__29BEd:focus,.draftJsMentionPlugin__mention__29BEd:hover{color:#677584;background:#edf5fd;outline:0}.draftJsMentionPlugin__mention__29BEd:active{color:#222;background:#455261}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active{background-color:#cce7ff}.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd{background-color:#e6f3ff}.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq{display:inline-block;margin-right:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9{display:inline-block;width:24px;height:24px;border-radius:12px}.draftJsMentionPlugin__mentionSuggestions__2DWjA{border:1px solid #eee;margin-top:.4em;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:flex;flex-direction:column;box-sizing:border-box;transform:scale(0)}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-right:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{right:0;text-align:right}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{left:0;text-align:left}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:rtl;text-align:right}.public-DraftStyleDefault-rtl{direction:ltr;text-align:left}.public-DraftStyleDefault-listLTR{direction:rtl}.public-DraftStyleDefault-listRTL{direction:ltr}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-right:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-left:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-right:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-left:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-right:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-left:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-right:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-left:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-right:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-left:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{right:-36px;position:absolute;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;left:-36px;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#person-selector{width:100%}
|
css/dist/search-appearance-1790.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.m6zwb4v,.m6zwb4v:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-left:2px;padding-right:2px;border-radius:2px;-webkit-text-decoration:none;text-decoration:none}.m6zwb4v:focus,.m6zwb4v:hover{color:#677584;background:#edf5fd;outline:0}.m6zwb4v:active{color:#222;background:#455261}.mnw6qvm{border:1px solid #eee;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;box-sizing:border-box;-webkit-transform:scale(0);-ms-transform:scale(0);transform:scale(0)}.m1ymsnxd{opacity:0;-webkit-transition:opacity .25s cubic-bezier(.3,1.2,.2,1);transition:opacity .25s cubic-bezier(.3,1.2,.2,1)}.m126ak5t{opacity:1}.mtiwdxc{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.mtiwdxc:active{background-color:#cce7ff}.myz2dw1{padding:7px 10px 3px;-webkit-transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);transition:background-color .4s cubic-bezier(.27,1.27,.48,.56);background-color:#e6f3ff}.myz2dw1:active{background-color:#cce7ff}.mpqdcgq{margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.m1mfvffo,.mpqdcgq{display:inline-block}.m1mfvffo{width:24px;height:24px;border-radius:12px}.public-DraftEditorPlaceholder-root{width:100%}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1,lower-alpha) ". "}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2,lower-roman) ". "}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4,lower-alpha) ". "}.yoast-schema-settings-container{margin-top:18px}.yoast-schema-settings-container:first-child{margin-top:0}.yoast-schema-settings-container .yoast-help{position:relative;flex:0 0 20px;height:20px;margin:2px 0 0 6px}.yoast-schema-settings-container .yoast-help:focus{outline:none;box-shadow:none}.yoast-schema-settings-container .yoast-help .yoast-help__icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;position:absolute;top:-4px;left:-4px;border-radius:100%}.yoast-schema-settings-container .yoast-help:focus .yoast-help__icon{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,.8)}.collapsible-header .toggleable-container-trigger code{font-weight:300}#yoast-organization-image-select .yoast-field-group,#yoast-organization-image-select .yoast-image-select,#yoast-person-image-select .yoast-field-group,#yoast-person-image-select .yoast-image-select{margin-bottom:0}.social-settings-heading-container{display:flex;align-items:center;flex-wrap:wrap}.social-settings-heading-container .social-settings-heading{margin:0}.social-settings-heading-container .yoast-badge{margin-left:8px}.yoast-settings-section-upsell .yoast-alert{margin:0 16px}.draftJsMentionPlugin__mention__29BEd,.draftJsMentionPlugin__mention__29BEd:visited{color:#575f67;cursor:pointer;display:inline-block;background:#e6f3ff;padding-left:2px;padding-right:2px;border-radius:2px;text-decoration:none}.draftJsMentionPlugin__mention__29BEd:focus,.draftJsMentionPlugin__mention__29BEd:hover{color:#677584;background:#edf5fd;outline:0}.draftJsMentionPlugin__mention__29BEd:active{color:#222;background:#455261}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm{padding:7px 10px 3px;transition:background-color .4s cubic-bezier(.27,1.27,.48,.56)}.draftJsMentionPlugin__mentionSuggestionsEntry__3mSwm:active{background-color:#cce7ff}.draftJsMentionPlugin__mentionSuggestionsEntryFocused__3LcTd{background-color:#e6f3ff}.draftJsMentionPlugin__mentionSuggestionsEntryText__3Jobq{display:inline-block;margin-left:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:368px;font-size:.9em;margin-bottom:.2em}.draftJsMentionPlugin__mentionSuggestionsEntryAvatar__1xgA9{display:inline-block;width:24px;height:24px;border-radius:12px}.draftJsMentionPlugin__mentionSuggestions__2DWjA{border:1px solid #eee;margin-top:.4em;position:absolute;min-width:220px;max-width:440px;background:#fff;border-radius:2px;box-shadow:0 4px 30px 0 #dcdcdc;cursor:pointer;padding-top:8px;padding-bottom:8px;z-index:2;display:flex;flex-direction:column;box-sizing:border-box;transform:scale(0)}.DraftEditor-editorContainer,.DraftEditor-root,.public-DraftEditor-content{height:inherit;text-align:initial}.public-DraftEditor-content[contenteditable=true]{-webkit-user-modify:read-write-plaintext-only}.DraftEditor-root{position:relative}.DraftEditor-editorContainer{background-color:hsla(0,0%,100%,0);border-left:.1px solid transparent;position:relative;z-index:1}.public-DraftEditor-block{position:relative}.DraftEditor-alignLeft .public-DraftStyleDefault-block{text-align:left}.DraftEditor-alignLeft .public-DraftEditorPlaceholder-root{left:0;text-align:left}.DraftEditor-alignCenter .public-DraftStyleDefault-block{text-align:center}.DraftEditor-alignCenter .public-DraftEditorPlaceholder-root{margin:0 auto;text-align:center;width:100%}.DraftEditor-alignRight .public-DraftStyleDefault-block{text-align:right}.DraftEditor-alignRight .public-DraftEditorPlaceholder-root{right:0;text-align:right}.public-DraftEditorPlaceholder-root{color:#9197a3;position:absolute;z-index:1}.public-DraftEditorPlaceholder-hasFocus{color:#bdc1c9}.DraftEditorPlaceholder-hidden{display:none}.public-DraftStyleDefault-block{position:relative;white-space:pre-wrap}.public-DraftStyleDefault-ltr{direction:ltr;text-align:left}.public-DraftStyleDefault-rtl{direction:rtl;text-align:right}.public-DraftStyleDefault-listLTR{direction:ltr}.public-DraftStyleDefault-listRTL{direction:rtl}.public-DraftStyleDefault-ol,.public-DraftStyleDefault-ul{margin:16px 0;padding:0}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listLTR{margin-left:1.5em}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-listRTL{margin-right:1.5em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listLTR{margin-left:3em}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-listRTL{margin-right:3em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listLTR{margin-left:4.5em}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-listRTL{margin-right:4.5em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listLTR{margin-left:6em}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-listRTL{margin-right:6em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listLTR{margin-left:7.5em}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-listRTL{margin-right:7.5em}.public-DraftStyleDefault-unorderedListItem{list-style-type:square;position:relative}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth0{list-style-type:disc}.public-DraftStyleDefault-unorderedListItem.public-DraftStyleDefault-depth1{list-style-type:circle}.public-DraftStyleDefault-orderedListItem{list-style-type:none;position:relative}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listLTR:before{left:-36px;position:absolute;text-align:right;width:30px}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-listRTL:before{position:absolute;right:-36px;text-align:left;width:30px}.public-DraftStyleDefault-orderedListItem:before{content:counter(ol0) ". ";counter-increment:ol0}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth1:before{content:counter(ol1) ". ";counter-increment:ol1}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth2:before{content:counter(ol2) ". ";counter-increment:ol2}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth3:before{content:counter(ol3) ". ";counter-increment:ol3}.public-DraftStyleDefault-orderedListItem.public-DraftStyleDefault-depth4:before{content:counter(ol4) ". ";counter-increment:ol4}.public-DraftStyleDefault-depth0.public-DraftStyleDefault-reset{counter-reset:ol0}.public-DraftStyleDefault-depth1.public-DraftStyleDefault-reset{counter-reset:ol1}.public-DraftStyleDefault-depth2.public-DraftStyleDefault-reset{counter-reset:ol2}.public-DraftStyleDefault-depth3.public-DraftStyleDefault-reset{counter-reset:ol3}.public-DraftStyleDefault-depth4.public-DraftStyleDefault-reset{counter-reset:ol4}#person-selector{width:100%}
|
css/dist/{structured-data-blocks-1780-rtl.css → structured-data-blocks-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-1780.css → structured-data-blocks-1790.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1780-rtl.css → toggle-switch-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-1780.css → toggle-switch-1790.css}
RENAMED
File without changes
|
css/dist/{workouts-1780-rtl.css → workouts-1790-rtl.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
#wpseo-workouts-container-free h1,#wpseo-workouts-container-free h3{color:#a4286a;font-weight:500}#wpseo-workouts-container-free h3{font-size:18px;line-height:24px}.card.card-small h3{min-height:48px}#wpseo-workouts-container-free h2{font-size:12px;text-transform:uppercase}#wpseo-workouts-container-free #workout-card-blocked-description{margin:.5em 0}#wpseo-workouts-container-free #workouts-page-description{max-width:600px;font-size:16px}.workflow tr.cornerstone{font-weight:700}#wpseo-workouts-container-free hr{margin-bottom:24px;margin-top:8px}#wpseo-workouts-container-free progress{margin:16px 0 8px}#wpseo-workouts-container-free div.card{max-width:720px;width:100%;padding:24px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);border-width:1px;border-color:rgba(0,0,0,.2)}#wpseo-workouts-container-free div.card>h2{margin:0}#wpseo-workouts-container-free div.card.card-small{max-width:320px;display:flex;flex-direction:column}#wpseo-workouts-container-free div.card.card-small svg{width:204px;height:146px}#wpseo-workouts-container-free div.card.card-small svg *{width:100%;height:100%}#wpseo-workouts-container-free div.card.card-small>span{margin-top:auto}#wpseo-workouts-container-free table button{margin:2px}.workflow{list-style:none;counter-reset:line-number;margin-right:48px}#yoast-configuration-workout p{line-height:19px;color:#3c434a}.workflow li li{counter-increment:none;margin-bottom:8px;line-height:19px}.workflow li.step{position:relative;counter-increment:line-number;padding-bottom:16px}.workflow .finish-button-section{display:inline-grid;grid-template-columns:1fr 1fr 1fr;width:100%;align-items:center}.workflow .finish-button-section .yoast-button{width:-moz-fit-content;width:fit-content;justify-self:center;grid-column-start:2;grid-column-end:2}.workflow .finish-workout-button-section .yoast-button{width:-moz-fit-content;width:fit-content;margin:0 auto}.workflow .yoast-button.yoast-button--finished{opacity:.5}.workflow .finish-button-section .finish-button-saved{grid-column-start:3;grid-column-end:3;position:relative;color:#6ea029;margin-right:10px}.workflow .finish-button-section .finish-button-saved:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;right:-18px;top:2px}.workflow li.step>.yoast-button.orphaned-summary{margin:0;display:initial}.yoast .yoast-button--arrow-down{flex-shrink:0;display:inline-block;width:16px;height:16px;margin:0 6px 0 -2px}.workflow>li.step:before{content:"";position:absolute;width:2px;background:#a4286a;right:-33px;top:0;bottom:-20px}.workflow .extra-list-content{position:relative}.workflow .indexation-container{padding:8px 0;margin-bottom:8px}.workflow .indexation-container>.yoast-button{align-self:flex-start}.workflow .extra-list-content:before{content:"";position:absolute;width:2px;background:#a4286a;right:-33px;top:0;bottom:-20px}.workflow>li.step:last-of-type:before{display:none}.workflow>li.step:after{content:counter(line-number);width:28px;height:28px;text-align:center;border:2px solid #a4286a;color:#a4286a;background:#fff;position:absolute;display:block;border-radius:100%;line-height:28px;top:-8px;right:-48px}.workflow li.step.finished:after{content:"";background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' fill='none' stroke='%23FFF' height='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") #a4286a;background-size:20px 20px;background-repeat:no-repeat;background-position:50%}.workflow li.step.finished.faded p,.workflow li.step.finished.faded table{opacity:.5}.workflow li.step img{max-width:100%}.workflow li.step img.workflow__image{max-height:100px;max-width:100px}.workflow li.step.yoast-fadeout:before{background:linear-gradient(-180deg,#a4286a,#fff 75%);display:block}.workflow li.step #react-select-2-input{box-shadow:none!important}.workflow .yoast-field-group__title{font-size:13px;color:#3c434a}.workflows__index{display:flex;gap:16px;flex-wrap:wrap}.workflows__index .yoast-button{width:100%}table.yoast_help.yoast_link_suggestions thead td{padding:16px 8px}table.yoast_help.yoast_link_suggestions td{vertical-align:middle}table.yoast_help th.divider{text-align:center}.workflow table.yoast_help td{vertical-align:middle}.workflow table.yoast_help.yoast_link_suggestions td div{display:inline-block}.workflow table.yoast_help.yoast_link_suggestions td strong{display:inline-block;margin-left:8px}.components-modal__header{height:72px;padding:0 24px}.components-modal__header .components-modal__header-heading{font-size:20px;font-weight:400;color:#a4286a;line-height:1.2;margin:0}.components-modal__header .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-left:8px}.components-modal__content{padding:0 24px 24px}.components-modal__content input[type=text]{width:100%;max-width:400px}.components-modal__frame.yoast__workout{max-width:720px}.yoast__redirect-suggestions{line-height:2}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;right:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.workflow li.step h4{font-size:14px;font-weight:600;margin:24px 0 0}#wpseo-workouts-container-free #configuration-workout-hr-top{margin-bottom:16px}#wpseo-workouts-container-free #configuration-workout-important-message{margin:0}.workflow .yoast-field-group{font-size:13px;color:#3c434a}.workflow .yoast-social-profiles-input-fields{margin:10px 0 20px}.workflow .tracking-radiobuttons{line-height:19px;margin:0 0 20px}.workflow .yoast-tracking{list-style-type:disc;list-style-position:inside;padding:inherit}.workflow .yoast-field-group b,.workflow .yoast-field-group label{font-size:13px;color:#3c434a}.yoast-list--usp{padding-right:24px;margin-bottom:16px}.yoast-list--usp li{position:relative;margin-bottom:16px}.yoast-list--usp li:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;right:-24px;top:3px}.workflow .yoast-validated-text-input{flex-grow:1}.yoast-validated-text-input--explanation{font-size:10px}.yoast-validated-text-input--feedback:before{display:inline-block;content:"";width:18px;height:13px}.yoast-validated-text-input--feedback.success:before{background:var(--yoast-svg-icon-check);background-size:18px 13px}.yoast-validated-text-input--feedback.success{position:relative;color:#6ea029}.yoast-validated-text-input--feedback.error:before{background:url(../../images/error-icon.svg);background-size:18px 16px}.yoast-validated-text-input--feedback.error{position:relative;color:#c00}.workflow .yoast-newsletter-signup{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.workflow .yoast-newsletter-signup .yoast-field-group{flex-grow:0;margin:0}.workflow .yoast-newsletter-signup button{margin-top:1.8rem;align-self:flex-start;flex-grow:0;flex-shrink:0}.workflow .yoast-privacy-policy{font-size:10px}.workout-card-content-flex{display:flex}.card.card-small .yoast-button-upsell{box-shadow:inset 0 -2px 0 rgb(0 0 0/20%);filter:none;min-height:40px;font-family:inherit}.card.card-small button{box-shadow:inset 0 -2px 0 rgb(0 0 0/30%);filter:none;min-height:40px}.card.card-small button.yoast-button--secondary{box-shadow:inset 0 -2px 0 rgba(0,0,0,.1)}.workout-card-content-flex ul{margin-left:8px}.workout-card-content-flex img{max-width:120px}.workout-card-upsell-button{opacity:1}#wpseo-workouts-container-free div.card.card-small.card-disabled{background-color:hsla(0,0%,100%,.5)}#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-content-flex,#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-progress,#wpseo-workouts-container-free div.card.card-small.card-disabled h2,#wpseo-workouts-container-free div.card.card-small.card-disabled h3{opacity:.5}.workout-card-blocked{position:absolute;bottom:0;right:0;left:0;height:122px;box-sizing:border-box;border-top:1px solid #c5c5c5;padding:10px 24px 24px;background-color:#fff;border-radius:0 0 8px 8px}.workout-card-blocked-title{margin-bottom:0;position:relative;padding-right:20px;font-size:14px;font-weight:600}.workout-card-blocked-title:before{position:absolute;content:"";background:var(--yoast-svg-icon-lock);background-size:16px 17px;width:16px;height:16px;right:0;top:1px}.workflow__grid{display:grid;grid-template-columns:auto 100px;gap:8px}.workflow__grid>div:last-of-type{display:flex;flex-wrap:wrap;justify-content:flex-end}
|
1 |
+
#wpseo-workouts-container-free h1,#wpseo-workouts-container-free h3{color:#a4286a;font-weight:500}#wpseo-workouts-container-free h3{font-size:18px;line-height:24px}.card.card-small h3{min-height:48px}#wpseo-workouts-container-free h2{font-size:12px;text-transform:uppercase}#wpseo-workouts-container-free #workout-card-blocked-description{margin:.5em 0}#wpseo-workouts-container-free #workouts-page-description{max-width:600px;font-size:16px}.workflow tr.cornerstone{font-weight:700}#wpseo-workouts-container-free hr{margin-bottom:24px;margin-top:8px}#wpseo-workouts-container-free progress{margin:16px 0 8px}#wpseo-workouts-container-free div.card{max-width:720px;width:100%;padding:24px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);border-width:1px;border-color:rgba(0,0,0,.2)}#wpseo-workouts-container-free div.card>h2{margin:0}#wpseo-workouts-container-free div.card.card-small{max-width:320px;display:flex;flex-direction:column}#wpseo-workouts-container-free div.card.card-small svg{width:204px;height:146px}#wpseo-workouts-container-free div.card.card-small svg *{width:100%;height:100%}#wpseo-workouts-container-free div.card.card-small>span{margin-top:auto}#wpseo-workouts-container-free table button{margin:2px}.workflow{list-style:none;counter-reset:line-number;margin-right:48px}#yoast-configuration-workout p{line-height:19px;color:#3c434a}.workflow li li{counter-increment:none;margin-bottom:8px;line-height:19px}.workflow li.step{position:relative;counter-increment:line-number;padding-bottom:16px}.workflow .finish-button-section{display:inline-grid;grid-template-columns:1fr 1fr 1fr;width:100%;align-items:center}.workflow .finish-button-section .yoast-button{width:-moz-fit-content;width:fit-content;justify-self:center;grid-column-start:2;grid-column-end:2}.workflow .finish-workout-button-section .yoast-button{width:-moz-fit-content;width:fit-content;margin:0 auto}.workflow .yoast-button.yoast-button--finished{opacity:.5}.workflow .finish-button-section .finish-button-saved{grid-column-start:3;grid-column-end:3;position:relative;color:#6ea029;margin-right:10px}.workflow .finish-button-section .finish-button-saved:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;right:-18px;top:2px}.workflow li.step>.yoast-button.orphaned-summary{margin:0;display:initial}.yoast .yoast-button--arrow-down{flex-shrink:0;display:inline-block;width:16px;height:16px;margin:0 6px 0 -2px}.workflow>li.step:before{content:"";position:absolute;width:2px;background:#a4286a;right:-33px;top:0;bottom:-20px}.workflow .extra-list-content{position:relative}.workflow .indexation-container{padding:8px 0;margin-bottom:8px}.workflow .indexation-container>.yoast-button{align-self:flex-start}.workflow .extra-list-content:before{content:"";position:absolute;width:2px;background:#a4286a;right:-33px;top:0;bottom:-20px}.workflow>li.step:last-of-type:before{display:none}.workflow>li.step:after{content:counter(line-number);width:28px;height:28px;text-align:center;border:2px solid #a4286a;color:#a4286a;background:#fff;position:absolute;display:block;border-radius:100%;line-height:28px;top:-8px;right:-48px}.workflow li.step.finished:after{content:"";background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' fill='none' stroke='%23FFF' height='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") #a4286a;background-size:20px 20px;background-repeat:no-repeat;background-position:50%}.workflow li.step.finished.faded p,.workflow li.step.finished.faded table{opacity:.5}.workflow li.step img{max-width:100%}.workflow li.step img.workflow__image{max-height:100px;max-width:100px}.workflow li.step.yoast-fadeout:before{background:linear-gradient(-180deg,#a4286a,#fff 75%);display:block}.workflow li.step #react-select-2-input{box-shadow:none!important}.workflow .yoast-field-group__title{font-size:13px;color:#3c434a}.workflows__index{display:flex;gap:16px;flex-wrap:wrap}.workflows__index .yoast-button{width:100%}table.yoast_help.yoast_link_suggestions thead td{padding:16px 8px}table.yoast_help.yoast_link_suggestions td{vertical-align:middle}table.yoast_help th.divider{text-align:center}.workflow table.yoast_help td{vertical-align:middle}.workflow table.yoast_help.yoast_link_suggestions td div{display:inline-block}.workflow table.yoast_help.yoast_link_suggestions td strong{display:inline-block;margin-left:8px}.components-modal__header{height:72px;padding:0 24px}.components-modal__header .components-modal__header-heading{font-size:20px;font-weight:400;color:#a4286a;line-height:1.2;margin:0}.components-modal__header .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-left:8px}.components-modal__content{padding:0 24px 24px}.components-modal__content input[type=text]{width:100%;max-width:400px}.components-modal__frame.yoast__workout{max-width:720px}.yoast__redirect-suggestions{line-height:2}.components-modal__screen-overlay{position:fixed;top:0;left:0;bottom:0;right:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;left:0;bottom:0;right:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;left:auto;bottom:auto;right:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;right:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.workflow li.step h4{font-size:14px;font-weight:600;margin:24px 0 0}#wpseo-workouts-container-free #configuration-workout-hr-top{margin-bottom:16px}#wpseo-workouts-container-free #configuration-workout-important-message{margin:0}.workflow .yoast-field-group{font-size:13px;color:#3c434a}.workflow .yoast-social-profiles-input-fields{margin:10px 0 20px}.workflow .tracking-radiobuttons{line-height:19px;margin:0 0 20px}.workflow .yoast-tracking{list-style-type:disc;list-style-position:inside;padding:inherit}.workflow .yoast-field-group b,.workflow .yoast-field-group label{font-size:13px;color:#3c434a}.yoast-list--usp{padding-right:24px;margin-bottom:16px}.yoast-list--usp li{position:relative;margin-bottom:16px}.yoast-list--usp li:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;right:-24px;top:3px}.workflow .yoast-validated-text-input{flex-grow:1}.yoast-validated-text-input--explanation{font-size:10px}.yoast-validated-text-input--feedback:before{display:inline-block;content:"";width:18px;height:13px}.yoast-validated-text-input--feedback.success:before{background:var(--yoast-svg-icon-check);background-size:18px 13px}.yoast-validated-text-input--feedback.success{position:relative;color:#6ea029}.yoast-validated-text-input--feedback.error:before{background:url(../../images/error-icon.svg);background-size:18px 16px}.yoast-validated-text-input--feedback.error{position:relative;color:#c00}.workflow .yoast-newsletter-signup{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.workflow .yoast-newsletter-signup .yoast-field-group{flex-grow:0;margin:0}.workflow .yoast-newsletter-signup button{margin-top:1.8rem;align-self:flex-start;flex-grow:0;flex-shrink:0}.workflow .yoast-privacy-policy{font-size:10px}.workout-card-content-flex{display:flex}.card.card-small .yoast-button-upsell{box-shadow:inset 0 -2px 0 rgb(0 0 0/20%);filter:none;min-height:40px;font-family:inherit}.card.card-small button{box-shadow:inset 0 -2px 0 rgb(0 0 0/30%);filter:none;min-height:40px}.card.card-small button.yoast-button--secondary{box-shadow:inset 0 -2px 0 rgba(0,0,0,.1)}.workout-card-content-flex ul{margin-left:8px}.workout-card-content-flex img{max-width:120px}.workout-card-upsell-button{opacity:1}#wpseo-workouts-container-free div.card.card-small.card-disabled{background-color:hsla(0,0%,100%,.5)}#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-content-flex,#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-progress,#wpseo-workouts-container-free div.card.card-small.card-disabled h2,#wpseo-workouts-container-free div.card.card-small.card-disabled h3{opacity:.5}.workout-card-blocked{position:absolute;bottom:0;right:0;left:0;height:122px;box-sizing:border-box;border-top:1px solid #c5c5c5;padding:10px 24px 24px;background-color:#fff;border-radius:0 0 8px 8px}.workout-card-blocked-title{margin-bottom:0;position:relative;padding-right:20px;font-size:14px;font-weight:600}.workout-card-blocked-title:before{position:absolute;content:"";background:var(--yoast-svg-icon-lock);background-size:16px 17px;width:16px;height:16px;right:0;top:1px}.workflow__grid{display:grid;grid-template-columns:auto 100px;gap:8px}.workflow__grid>div:last-of-type{display:flex;flex-wrap:wrap;justify-content:flex-end}@media screen and (max-width:768px){#wpseo-workouts-container-free #workouts-page-description{max-width:320px}}
|
css/dist/{workouts-1780.css → workouts-1790.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
#wpseo-workouts-container-free h1,#wpseo-workouts-container-free h3{color:#a4286a;font-weight:500}#wpseo-workouts-container-free h3{font-size:18px;line-height:24px}.card.card-small h3{min-height:48px}#wpseo-workouts-container-free h2{font-size:12px;text-transform:uppercase}#wpseo-workouts-container-free #workout-card-blocked-description{margin:.5em 0}#wpseo-workouts-container-free #workouts-page-description{max-width:600px;font-size:16px}.workflow tr.cornerstone{font-weight:700}#wpseo-workouts-container-free hr{margin-bottom:24px;margin-top:8px}#wpseo-workouts-container-free progress{margin:16px 0 8px}#wpseo-workouts-container-free div.card{max-width:720px;width:100%;padding:24px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);border-width:1px;border-color:rgba(0,0,0,.2)}#wpseo-workouts-container-free div.card>h2{margin:0}#wpseo-workouts-container-free div.card.card-small{max-width:320px;display:flex;flex-direction:column}#wpseo-workouts-container-free div.card.card-small svg{width:204px;height:146px}#wpseo-workouts-container-free div.card.card-small svg *{width:100%;height:100%}#wpseo-workouts-container-free div.card.card-small>span{margin-top:auto}#wpseo-workouts-container-free table button{margin:2px}.workflow{list-style:none;counter-reset:line-number;margin-left:48px}#yoast-configuration-workout p{line-height:19px;color:#3c434a}.workflow li li{counter-increment:none;margin-bottom:8px;line-height:19px}.workflow li.step{position:relative;counter-increment:line-number;padding-bottom:16px}.workflow .finish-button-section{display:inline-grid;grid-template-columns:1fr 1fr 1fr;width:100%;align-items:center}.workflow .finish-button-section .yoast-button{width:-moz-fit-content;width:fit-content;justify-self:center;grid-column-start:2;grid-column-end:2}.workflow .finish-workout-button-section .yoast-button{width:-moz-fit-content;width:fit-content;margin:0 auto}.workflow .yoast-button.yoast-button--finished{opacity:.5}.workflow .finish-button-section .finish-button-saved{grid-column-start:3;grid-column-end:3;position:relative;color:#6ea029;margin-left:10px}.workflow .finish-button-section .finish-button-saved:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;left:-18px;top:2px}.workflow li.step>.yoast-button.orphaned-summary{margin:0;display:initial}.yoast .yoast-button--arrow-down{flex-shrink:0;display:inline-block;width:16px;height:16px;margin:0 -2px 0 6px}.workflow>li.step:before{content:"";position:absolute;width:2px;background:#a4286a;left:-33px;top:0;bottom:-20px}.workflow .extra-list-content{position:relative}.workflow .indexation-container{padding:8px 0;margin-bottom:8px}.workflow .indexation-container>.yoast-button{align-self:flex-start}.workflow .extra-list-content:before{content:"";position:absolute;width:2px;background:#a4286a;left:-33px;top:0;bottom:-20px}.workflow>li.step:last-of-type:before{display:none}.workflow>li.step:after{content:counter(line-number);width:28px;height:28px;text-align:center;border:2px solid #a4286a;color:#a4286a;background:#fff;position:absolute;display:block;border-radius:100%;line-height:28px;top:-8px;left:-48px}.workflow li.step.finished:after{content:"";background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' fill='none' stroke='%23FFF' height='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") #a4286a;background-size:20px 20px;background-repeat:no-repeat;background-position:50%}.workflow li.step.finished.faded p,.workflow li.step.finished.faded table{opacity:.5}.workflow li.step img{max-width:100%}.workflow li.step img.workflow__image{max-height:100px;max-width:100px}.workflow li.step.yoast-fadeout:before{background:linear-gradient(180deg,#a4286a,#fff 75%);display:block}.workflow li.step #react-select-2-input{box-shadow:none!important}.workflow .yoast-field-group__title{font-size:13px;color:#3c434a}.workflows__index{display:flex;gap:16px;flex-wrap:wrap}.workflows__index .yoast-button{width:100%}table.yoast_help.yoast_link_suggestions thead td{padding:16px 8px}table.yoast_help.yoast_link_suggestions td{vertical-align:middle}table.yoast_help th.divider{text-align:center}.workflow table.yoast_help td{vertical-align:middle}.workflow table.yoast_help.yoast_link_suggestions td div{display:inline-block}.workflow table.yoast_help.yoast_link_suggestions td strong{display:inline-block;margin-right:8px}.components-modal__header{height:72px;padding:0 24px}.components-modal__header .components-modal__header-heading{font-size:20px;font-weight:400;color:#a4286a;line-height:1.2;margin:0}.components-modal__header .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-right:8px}.components-modal__content{padding:0 24px 24px}.components-modal__content input[type=text]{width:100%;max-width:400px}.components-modal__frame.yoast__workout{max-width:720px}.yoast__redirect-suggestions{line-height:2}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;left:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.workflow li.step h4{font-size:14px;font-weight:600;margin:24px 0 0}#wpseo-workouts-container-free #configuration-workout-hr-top{margin-bottom:16px}#wpseo-workouts-container-free #configuration-workout-important-message{margin:0}.workflow .yoast-field-group{font-size:13px;color:#3c434a}.workflow .yoast-social-profiles-input-fields{margin:10px 0 20px}.workflow .tracking-radiobuttons{line-height:19px;margin:0 0 20px}.workflow .yoast-tracking{list-style-type:disc;list-style-position:inside;padding:inherit}.workflow .yoast-field-group b,.workflow .yoast-field-group label{font-size:13px;color:#3c434a}.yoast-list--usp{padding-left:24px;margin-bottom:16px}.yoast-list--usp li{position:relative;margin-bottom:16px}.yoast-list--usp li:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;left:-24px;top:3px}.workflow .yoast-validated-text-input{flex-grow:1}.yoast-validated-text-input--explanation{font-size:10px}.yoast-validated-text-input--feedback:before{display:inline-block;content:"";width:18px;height:13px}.yoast-validated-text-input--feedback.success:before{background:var(--yoast-svg-icon-check);background-size:18px 13px}.yoast-validated-text-input--feedback.success{position:relative;color:#6ea029}.yoast-validated-text-input--feedback.error:before{background:url(../../images/error-icon.svg);background-size:18px 16px}.yoast-validated-text-input--feedback.error{position:relative;color:#c00}.workflow .yoast-newsletter-signup{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.workflow .yoast-newsletter-signup .yoast-field-group{flex-grow:0;margin:0}.workflow .yoast-newsletter-signup button{margin-top:1.8rem;align-self:flex-start;flex-grow:0;flex-shrink:0}.workflow .yoast-privacy-policy{font-size:10px}.workout-card-content-flex{display:flex}.card.card-small .yoast-button-upsell{box-shadow:inset 0 -2px 0 rgb(0 0 0/20%);filter:none;min-height:40px;font-family:inherit}.card.card-small button{box-shadow:inset 0 -2px 0 rgb(0 0 0/30%);filter:none;min-height:40px}.card.card-small button.yoast-button--secondary{box-shadow:inset 0 -2px 0 rgba(0,0,0,.1)}.workout-card-content-flex ul{margin-right:8px}.workout-card-content-flex img{max-width:120px}.workout-card-upsell-button{opacity:1}#wpseo-workouts-container-free div.card.card-small.card-disabled{background-color:hsla(0,0%,100%,.5)}#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-content-flex,#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-progress,#wpseo-workouts-container-free div.card.card-small.card-disabled h2,#wpseo-workouts-container-free div.card.card-small.card-disabled h3{opacity:.5}.workout-card-blocked{position:absolute;bottom:0;left:0;right:0;height:122px;box-sizing:border-box;border-top:1px solid #c5c5c5;padding:10px 24px 24px;background-color:#fff;border-radius:0 0 8px 8px}.workout-card-blocked-title{margin-bottom:0;position:relative;padding-left:20px;font-size:14px;font-weight:600}.workout-card-blocked-title:before{position:absolute;content:"";background:var(--yoast-svg-icon-lock);background-size:16px 17px;width:16px;height:16px;left:0;top:1px}.workflow__grid{display:grid;grid-template-columns:auto 100px;gap:8px}.workflow__grid>div:last-of-type{display:flex;flex-wrap:wrap;justify-content:flex-end}
|
1 |
+
#wpseo-workouts-container-free h1,#wpseo-workouts-container-free h3{color:#a4286a;font-weight:500}#wpseo-workouts-container-free h3{font-size:18px;line-height:24px}.card.card-small h3{min-height:48px}#wpseo-workouts-container-free h2{font-size:12px;text-transform:uppercase}#wpseo-workouts-container-free #workout-card-blocked-description{margin:.5em 0}#wpseo-workouts-container-free #workouts-page-description{max-width:600px;font-size:16px}.workflow tr.cornerstone{font-weight:700}#wpseo-workouts-container-free hr{margin-bottom:24px;margin-top:8px}#wpseo-workouts-container-free progress{margin:16px 0 8px}#wpseo-workouts-container-free div.card{max-width:720px;width:100%;padding:24px;border-radius:8px;box-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);border-width:1px;border-color:rgba(0,0,0,.2)}#wpseo-workouts-container-free div.card>h2{margin:0}#wpseo-workouts-container-free div.card.card-small{max-width:320px;display:flex;flex-direction:column}#wpseo-workouts-container-free div.card.card-small svg{width:204px;height:146px}#wpseo-workouts-container-free div.card.card-small svg *{width:100%;height:100%}#wpseo-workouts-container-free div.card.card-small>span{margin-top:auto}#wpseo-workouts-container-free table button{margin:2px}.workflow{list-style:none;counter-reset:line-number;margin-left:48px}#yoast-configuration-workout p{line-height:19px;color:#3c434a}.workflow li li{counter-increment:none;margin-bottom:8px;line-height:19px}.workflow li.step{position:relative;counter-increment:line-number;padding-bottom:16px}.workflow .finish-button-section{display:inline-grid;grid-template-columns:1fr 1fr 1fr;width:100%;align-items:center}.workflow .finish-button-section .yoast-button{width:-moz-fit-content;width:fit-content;justify-self:center;grid-column-start:2;grid-column-end:2}.workflow .finish-workout-button-section .yoast-button{width:-moz-fit-content;width:fit-content;margin:0 auto}.workflow .yoast-button.yoast-button--finished{opacity:.5}.workflow .finish-button-section .finish-button-saved{grid-column-start:3;grid-column-end:3;position:relative;color:#6ea029;margin-left:10px}.workflow .finish-button-section .finish-button-saved:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;left:-18px;top:2px}.workflow li.step>.yoast-button.orphaned-summary{margin:0;display:initial}.yoast .yoast-button--arrow-down{flex-shrink:0;display:inline-block;width:16px;height:16px;margin:0 -2px 0 6px}.workflow>li.step:before{content:"";position:absolute;width:2px;background:#a4286a;left:-33px;top:0;bottom:-20px}.workflow .extra-list-content{position:relative}.workflow .indexation-container{padding:8px 0;margin-bottom:8px}.workflow .indexation-container>.yoast-button{align-self:flex-start}.workflow .extra-list-content:before{content:"";position:absolute;width:2px;background:#a4286a;left:-33px;top:0;bottom:-20px}.workflow>li.step:last-of-type:before{display:none}.workflow>li.step:after{content:counter(line-number);width:28px;height:28px;text-align:center;border:2px solid #a4286a;color:#a4286a;background:#fff;position:absolute;display:block;border-radius:100%;line-height:28px;top:-8px;left:-48px}.workflow li.step.finished:after{content:"";background:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' fill='none' stroke='%23FFF' height='24' xmlns='http://www.w3.org/2000/svg' aria-hidden='true'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 13l4 4L19 7'/%3E%3C/svg%3E") #a4286a;background-size:20px 20px;background-repeat:no-repeat;background-position:50%}.workflow li.step.finished.faded p,.workflow li.step.finished.faded table{opacity:.5}.workflow li.step img{max-width:100%}.workflow li.step img.workflow__image{max-height:100px;max-width:100px}.workflow li.step.yoast-fadeout:before{background:linear-gradient(180deg,#a4286a,#fff 75%);display:block}.workflow li.step #react-select-2-input{box-shadow:none!important}.workflow .yoast-field-group__title{font-size:13px;color:#3c434a}.workflows__index{display:flex;gap:16px;flex-wrap:wrap}.workflows__index .yoast-button{width:100%}table.yoast_help.yoast_link_suggestions thead td{padding:16px 8px}table.yoast_help.yoast_link_suggestions td{vertical-align:middle}table.yoast_help th.divider{text-align:center}.workflow table.yoast_help td{vertical-align:middle}.workflow table.yoast_help.yoast_link_suggestions td div{display:inline-block}.workflow table.yoast_help.yoast_link_suggestions td strong{display:inline-block;margin-right:8px}.components-modal__header{height:72px;padding:0 24px}.components-modal__header .components-modal__header-heading{font-size:20px;font-weight:400;color:#a4286a;line-height:1.2;margin:0}.components-modal__header .yoast-icon{background-color:var(--yoast-color-primary);mask-image:var(--yoast-svg-icon-yoast);-webkit-mask-image:var(--yoast-svg-icon-yoast);mask-size:100% 100%;-webkit-mask-size:100% 100%;display:inline-block;width:20px;height:20px;margin-right:8px}.components-modal__content{padding:0 24px 24px}.components-modal__content input[type=text]{width:100%;max-width:400px}.components-modal__frame.yoast__workout{max-width:720px}.yoast__redirect-suggestions{line-height:2}.components-modal__screen-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0,0,0,.35);z-index:100000;animation:edit-post__fade-in-animation .2s ease-out 0s;animation-fill-mode:forwards}@media (prefers-reduced-motion:reduce){.components-modal__screen-overlay{animation-duration:1ms;animation-delay:0s}}.components-modal__frame{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;margin:0;background:#fff;box-shadow:0 10px 10px rgba(0,0,0,.25);border-radius:2px;overflow:auto}@media (min-width:600px){.components-modal__frame{top:50%;right:auto;bottom:auto;left:50%;min-width:360px;max-width:calc(100% - 32px);max-height:90%;transform:translate(-50%,-50%);animation:components-modal__appear-animation .1s ease-out;animation-fill-mode:forwards}}@media (min-width:600px) and (prefers-reduced-motion:reduce){.components-modal__frame{animation-duration:1ms;animation-delay:0s}}@keyframes components-modal__appear-animation{0%{margin-top:32px}to{margin-top:0}}.components-modal__header{box-sizing:border-box;border-bottom:1px solid #ddd;padding:0 32px;display:flex;flex-direction:row;justify-content:space-between;background:#fff;align-items:center;height:60px;z-index:10;position:relative;position:sticky;top:0;margin:0 -32px 24px}@supports (-ms-ime-align:auto){.components-modal__header{position:fixed;width:100%}}.components-modal__header .components-modal__header-heading{font-size:1rem;font-weight:600}.components-modal__header h1{line-height:1;margin:0}.components-modal__header .components-button{position:relative;left:8px}.components-modal__header-heading-container{align-items:center;flex-grow:1;display:flex;flex-direction:row;justify-content:left}.components-modal__header-icon-container{display:inline-block}.components-modal__header-icon-container svg{max-width:36px;max-height:36px;padding:8px}.components-modal__content{box-sizing:border-box;height:100%;padding:0 32px 24px}@supports (-ms-ime-align:auto){.components-modal__content{padding-top:60px}}.workflow li.step h4{font-size:14px;font-weight:600;margin:24px 0 0}#wpseo-workouts-container-free #configuration-workout-hr-top{margin-bottom:16px}#wpseo-workouts-container-free #configuration-workout-important-message{margin:0}.workflow .yoast-field-group{font-size:13px;color:#3c434a}.workflow .yoast-social-profiles-input-fields{margin:10px 0 20px}.workflow .tracking-radiobuttons{line-height:19px;margin:0 0 20px}.workflow .yoast-tracking{list-style-type:disc;list-style-position:inside;padding:inherit}.workflow .yoast-field-group b,.workflow .yoast-field-group label{font-size:13px;color:#3c434a}.yoast-list--usp{padding-left:24px;margin-bottom:16px}.yoast-list--usp li{position:relative;margin-bottom:16px}.yoast-list--usp li:before{position:absolute;content:"";background:var(--yoast-svg-icon-check);background-size:18px 13px;width:18px;height:13px;left:-24px;top:3px}.workflow .yoast-validated-text-input{flex-grow:1}.yoast-validated-text-input--explanation{font-size:10px}.yoast-validated-text-input--feedback:before{display:inline-block;content:"";width:18px;height:13px}.yoast-validated-text-input--feedback.success:before{background:var(--yoast-svg-icon-check);background-size:18px 13px}.yoast-validated-text-input--feedback.success{position:relative;color:#6ea029}.yoast-validated-text-input--feedback.error:before{background:url(../../images/error-icon.svg);background-size:18px 16px}.yoast-validated-text-input--feedback.error{position:relative;color:#c00}.workflow .yoast-newsletter-signup{display:flex;justify-content:space-between;gap:10px;margin-bottom:10px}.workflow .yoast-newsletter-signup .yoast-field-group{flex-grow:0;margin:0}.workflow .yoast-newsletter-signup button{margin-top:1.8rem;align-self:flex-start;flex-grow:0;flex-shrink:0}.workflow .yoast-privacy-policy{font-size:10px}.workout-card-content-flex{display:flex}.card.card-small .yoast-button-upsell{box-shadow:inset 0 -2px 0 rgb(0 0 0/20%);filter:none;min-height:40px;font-family:inherit}.card.card-small button{box-shadow:inset 0 -2px 0 rgb(0 0 0/30%);filter:none;min-height:40px}.card.card-small button.yoast-button--secondary{box-shadow:inset 0 -2px 0 rgba(0,0,0,.1)}.workout-card-content-flex ul{margin-right:8px}.workout-card-content-flex img{max-width:120px}.workout-card-upsell-button{opacity:1}#wpseo-workouts-container-free div.card.card-small.card-disabled{background-color:hsla(0,0%,100%,.5)}#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-content-flex,#wpseo-workouts-container-free div.card.card-small.card-disabled .workout-card-progress,#wpseo-workouts-container-free div.card.card-small.card-disabled h2,#wpseo-workouts-container-free div.card.card-small.card-disabled h3{opacity:.5}.workout-card-blocked{position:absolute;bottom:0;left:0;right:0;height:122px;box-sizing:border-box;border-top:1px solid #c5c5c5;padding:10px 24px 24px;background-color:#fff;border-radius:0 0 8px 8px}.workout-card-blocked-title{margin-bottom:0;position:relative;padding-left:20px;font-size:14px;font-weight:600}.workout-card-blocked-title:before{position:absolute;content:"";background:var(--yoast-svg-icon-lock);background-size:16px 17px;width:16px;height:16px;left:0;top:1px}.workflow__grid{display:grid;grid-template-columns:auto 100px;gap:8px}.workflow__grid>div:last-of-type{display:flex;flex-wrap:wrap;justify-content:flex-end}@media screen and (max-width:768px){#wpseo-workouts-container-free #workouts-page-description{max-width:320px}}
|
css/dist/{wpseo-dismissible-1780-rtl.css → wpseo-dismissible-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-1780.css → wpseo-dismissible-1790.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1780-rtl.css → yoast-components-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-components-1780.css → yoast-components-1790.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1780-rtl.css → yoast-extensions-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-1780.css → yoast-extensions-1790.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1780-rtl.css → yst_plugin_tools-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-1780.css → yst_plugin_tools-1790.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1780-rtl.css → yst_seo_score-1790-rtl.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-1780.css → yst_seo_score-1790.css}
RENAMED
File without changes
|
images/man_with_tablet.png
ADDED
Binary file
|
images/seo_fitness_assistants_fit.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 295.25 315.4" role="img" aria-hidden="true" focusable="false"><defs><style>.cls-2{fill:#eab882}.cls-3{fill:#d38053}.cls-4{fill:#a62a6b}.cls-5{fill:#7d2051}.cls-6{fill:#010101}</style></defs><circle cx="164.06" cy="184.22" r="131.18" fill="#f0ecef"/><path class="cls-2" d="M193.33 346.14c.14-.44.28-.87.43-1.3-.14.43-.29.86-.43 1.3zm31.97 59.95a12.55 12.55 0 0 1 2.12.82c-.7-.28-1.42-.56-2.12-.82zm2.12.82a63.24 63.24 0 0 1 6 2.82c-2.66-1.14-4.56-2.14-6-2.82z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M136.25 413.84c8.59-10.5 1.06-27.74 34.52-86.3 3-5.22 5.26-14.53 12.86-17.59 9.11-3.67 12.77-9.16 21.88-12.83 6.85-2.76 4-1.35 3.22-.49-1.49 1.68 2-1.3 5.72 7.14.37.85-2.87 1.62-4 5-.36 1.06-.5 1.14-1.23 1.33-4.71 1.2-6.52 6.88-4.2 10.05.69-1.43-.18-6 4.67-6.35-2 1.44-4.05 3.42-4 5.88-9.39 16.64-17.55 14-20 15-12.43 4.92 17.28 64.56-23 86.13 7.34-1.94 14.31-5.46 23.91-1.33-7.27-5.53-2.46-7.58-.85-10.89 2.16-2.92 2.29-11.71 2.6-22.62a104.66 104.66 0 0 1-1.09 20.31 54.89 54.89 0 0 1 38-.12c-5.19-1.21-15.44 48.34-20.14 53.91-3.8-1.41-23-8.58-35.17-14.12-21.52-9.8-35-25.75-35.45-28.31-.23-1.46.86-2.7 1.75-3.8zm41.62-99.12c-.05.1-8.86 19.59-.55 1.2.19-.43.37-.83.55-1.2z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M214.57 305.59c-.45.18-2 1.5.24-.93.87 2.4.59 4.43-2 6.75-1.02-2.98 0-3.49 1.76-5.82zm4.34 23.84c-.29-.06-.36.05.35-.38-.12.13-.26.25-.35.38z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M226 323.35c0 .39.34-.06-2.94 2.38zm-5.23 4.24c-2.3 2-3.12 2.52-2.18 1.77zm-6.2-22l-1.83 2.41c.5-1.27.83-2 1.83-2.41zm.53 11.75c-1.38-.07-.74 1.35-2.17-.5-.51-.67-1.9-3.2-.71-2.6-.55-2.32.1-6.7.2-4.74.12 2.46 3.69 10.77 8.66 9.87a7.74 7.74 0 0 1-3.25.22c-2.74-.4-2.36-.95-2.73-2.25zm5.98 2.03a7.17 7.17 0 0 0 1.43-.59 3.45 3.45 0 0 1-1.43.59z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M215.55 318.91a4.09 4.09 0 0 0 .84 3.72c-3.37-1.27-3.66-3.5-2.47-4.77s1.34.03 1.63 1.05zm32.31 1.85c-.11.84-2.61 2.33-3.31 2.78a14 14 0 0 0 3.31-2.78zm-10 4.39c.21.12.44.1-.32 0 .29-.15.13-.15.32 0zm6.51-1.5a30.27 30.27 0 0 1-4.51 2.28c-2.55-1.55-.8.79 4.51-2.28z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M227.14 326.71c.91.34 5.66.25 10.4-1.57 6.74 1 6.42 12.08 1 12.39-8.18.48-10.1 3.05-13.47 1.93-6.82-2.28-2.41-11.63 2.07-12.75z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M212.22 314.24a5 5 0 0 0-2.54-.47c-4.86.36-4 5-4.67 6.35-2.32-3.16-.52-8.85 4.2-10.05 2.24-.57-.56-2.92 7.85-7.27a10.81 10.81 0 0 0-4.84 11.44zM197 426.76c6.79 1.78 17.91 1.65 21-5.2-3.7 11.09-9 26.86-12.86 37.68-2.87-.89-7.4-1.87-8.88-3.41 3.52-4.15 8.66-10.41 8.74-15.88s-2.93-11.16-8-13.19zm26.31-20.37c.13.18.15 0-.54 1.27.23-.45.36-.88.54-1.27z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M183.64 336.13c2.26-3.64 4.21.57-2.24-3.3 10.5 4.56 18.51-2.9 24.31-13.18.06 1.81 1.24 3.12 2.62 4.36 9.66 8.63 10.92 4.91 12.44 3.58 8-7 3.87-2.44 6.1-1 .71.45-4.09 1-5.31 7.1a5.27 5.27 0 0 0 2.66 5.39c-7.4 5.79-14.69 2.46-25.68-4.1-14.67 22.18-7.38 66.28-12.77 73.55-1.61 3.31-6.42 5.36.85 10.89-9.6-4.13-16.57-.61-23.91 1.33 37.59-20.14 14.29-73.88 20.93-84.62z" transform="translate(-134.5 -249.62)"/><path class="cls-4" d="M238.82 461.1a82.23 82.23 0 0 1 9.26-12.1c-6.41 7.89-17.17 24.8-9.26 12.1z" transform="translate(-134.5 -249.62)"/><path class="cls-4" d="M223.9 405.62c31.36 13.6 26.45 13.2 42 8.33 18.87-5.9 37.14-.75 32.11-1.06-11.83-.73-29.07 49.31-35.44 66.87l-62.18-10.35c-.63 7.65 20.89-59.33 23.51-63.79z" transform="translate(-134.5 -249.62)"/><path class="cls-5" d="M215.51 429.88c8.74 13.91 32.1 11.24 35.71-4.77-8 32.53-8.23 20.07 9.51 9.68-25.37 25.81-22.47 41.75-28.28 44.5-3.48 1.66-13.64-3.76-26.29-7.68-3.3-1-4.89-1.61-4.77-2.2z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M236.81 322.47a3 3 0 0 0 .92 2.59 25.48 25.48 0 0 1-9.51 1.8c-2.47-.02-.61.26 8.59-4.39z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M209.68 313.77c3.36-.25 1 1.37 4.24 4.09-1.19 1.27-.9 3.5 2.47 4.77a4 4 0 0 1-.84-3.72c2.66 1.25 5.77.74 7-.13-4.38 2.46-8.08-2.64-9.7-7.37 2.59-2.32 2.87-4.35 2-6.75 1.19-1.31 4.4-3.34-.2-.49a24.18 24.18 0 0 0-2.93-5.17c-1.27-1.71-5.22-.83-1.66-3.47 1.76-1.3 8.08-2.63 8.81-2.58a4.08 4.08 0 0 1 3.07 1.53c4.32-1.59 9.29-1.86 11.78 1.95 4.24-3.59 9.38 2.15 7.77 6.68-1.44 4.05 1.85.16 7.05 14.62 1.28 3.55-5.07 7-8.77 7.59-7.69 1.25 18.76-8.93-2.23-.46-3.4 2.67-5.28 1.49-10.44 1.81-1.08-.48-1-1.92-1.05-3.09-.06-1.85-6.82 8.51-10.32 5.44-8.73-4.37-13.94-9.54-6.05-15.25z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M237.23 319.53c-.38.94-.27.44 0-2.58a4.14 4.14 0 0 1 0 2.58z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M235.07 306.76a16.17 16.17 0 0 1-.36-1.76c.13.59.29 1.17.36 1.76z" transform="translate(-134.5 -249.62)"/><path class="cls-4" d="M370.75 416.61c7.76 3.8 5.1 3.25 3.47 3.59q-1.86-1.8-3.47-3.59zm-68.98-3.32l.78-.17a1.9 1.9 0 0 1-.78.17z" transform="translate(-134.5 -249.62)"/><path class="cls-4" d="M229.68 512c-1.23-17.16-10-35.46 31.05-77.22 8.88-9 13.84-13.86 31.69-19.12-6.35 7.45.49 40.2 3.42 38.36 25.85-16.18 70.31-19.83 79.4-32.84-6.71-6.25 28.46 5.47 39.7 16.24 3.57 3.42 8.13 12.76 12.22 22.43-8.54 42.42-41.23 74.65-42.5 72-3.64-7.7-7.17-15.66-6.64-14.48-11.88 12.28-19.34 19.52-23.82 35.31a131.08 131.08 0 0 1-125.42-7.83c.03-16.25 1.22-27.85.9-32.85zm145.79-.38c-.1 0 0-.08 1.06 2.38-.36-.8-.72-1.59-1.06-2.37z" transform="translate(-134.5 -249.62)"/><path class="cls-5" d="M376.45 517.41c-5.64 7.53-33.05 17.05-44.29 27a280.65 280.65 0 0 0 35.06-36.66 203.76 203.76 0 0 1-49.55 9.78l47.16-13.12q-1-8.54-2.05-17.08c3.39 4.5 11.79 22.08 13.67 30.08zm-125.11-18.16c12.41-1.15 45.9 6.44 50.79 17-18.32-12.22-51.08-16.82-54.56.56.21-1.03-12.8-16.04 3.77-17.56z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M305.36 405.32zM362.41 366c.59 0 .52-.25-.05 1.56-1.48 2.35-.69 1.5.05-1.56zm-56.81 38.31c0 .16-.07.31-.11.46.04-.15.08-.3.11-.46zm69.64 16.88c-9.1 13-53.53 16.65-79.4 32.84-2.15 1.35-8.74-21.75-4.69-36.09 1.9-6.71 10.2-4.64 10.62-4.65 1 0 1.47-.65 1.83-1.66.69-1.92 1.53-5.37 1.49-5.22 1.23 4.08 1.67 6.6 3.48 7.5 6.49 3.24 37.86-9.4 52.25-41-.61 2.53-1.05 5.26 1 3.65-3.82 16.54-5.91 26.63 13.42 44.63z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M322.1 398.22c20.6-5.61 33.72-13 37.72-32.87 3.26 1.48 3.21-1.56 1 7.59-14.39 31.57-45.76 44.21-52.25 41-2.14-1.07-3.53-7.31-3.37-8 2.2-8.84-2.2-2.53 16.9-7.72z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M289 315.88c3-9.43 7.64-19.55 11.73-25.21a15.61 15.61 0 0 0 8.82-3.17c7.48 8.26 15.46 4.84 16.66 0 1.67 5.91 9.61 9 14.83 5.74a6.31 6.31 0 0 1-4.78-2.94 18.5 18.5 0 0 0 15.21-2.12c6-.81 4.65-.94 1.31 4.27-7.29 11.36-4.24 15 4.14 23.72 10.13 10.53 2.13 15.48-1.2 18.55-6.71 6.18-1.75 13 5.64 12.35-4.87 8.66-5.24 9.2-5.4 10.7-.35 3.25 1 6.29 3.86 7.59-4 19.73-16.77 27.17-37.72 32.87-6.48 1.76-13.44 3.32-20 1.88s-12.87-6.75-13.24-13.51c-.22-4.11 1.68-10 1.26-14.06-.69-6.63-5.95-5-6.25-21a112.48 112.48 0 0 1 5.11-35.46" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M308.12 316.63c.14 1.9-.33 11.51-1.44 14.95-2.28 7.1-7.12 6.59-10.66 8.13-4.36 1.89-5.65 6.65 1.58 8.75 3.85 1.12 7.91 2.24 11.82 1.32-1.4 1.63-3.82 1.84-6 1.85-14.72 0-15.5-9-13.13-12.26 3.67-5.05 12.38-1.3 15.58-12.8.79-2.76-.13-8.57 2.25-9.94z" transform="translate(-134.5 -249.62)"/><path class="cls-6" d="M319.36 361.87c10.66-3 13.85-7.31 14.77-5.85 1.15 1.83-18.21 12.61-29.48 6.84 5.03.06 9.69.44 14.71-.99zm24.15-38.69c-1.74 0-7-6-8.82-7.15-3.63-2.19-7.62-1.07-11.77-2 .5-1.33 3.51-5.42 4.17-5.28 3.18.68 9.21.3 9.21.3s13.17 14.26 7.21 14.13zm-39.36-15.85c5.09.44 3.23 1.61 2.29 5.51a18.92 18.92 0 0 0-17.64 3.35c5.32-8.48 9.64-9.35 15.35-8.86z" transform="translate(-134.5 -249.62)"/><path d="M338.36 335.07c-4.57 6.52-15.3 4.24-18.45-1.76.91-5.75 16.98-9.31 18.45 1.76zm-9.88 1.69c6.1 3.06 8.19-7.14 1.86-7.14-4.07 0-5.75 5.19-1.86 7.14zm-25.57-4.57c-2.38 3.65-14 2.53-14.29-3.35 4.2-9.42 16-4.7 14.29 3.35zm-8.48-1.63a3.58 3.58 0 0 0 5.3 1.29c2.29-1.88 1-6.46-2.58-6a3.57 3.57 0 0 0-2.72 4.71z" transform="translate(-134.5 -249.62)" fill="#fff"/><path class="cls-6" d="M303 329.11c-1.76-6.07-10.8-8.36-14.41-.27-1.06 2.38-.95-6.79 5.31-7.24 3.92-.28 10.16.1 9.48 10a10.35 10.35 0 0 0-.38-2.49zm27.34.51c6.33 0 4.23 10.2-1.86 7.14-3.88-1.95-2.22-7.14 1.86-7.14z" transform="translate(-134.5 -249.62)"/><path class="cls-6" d="M297.15 325.84c3.6-.45 4.86 4.13 2.58 6a3.41 3.41 0 1 1-2.58-6zm63.67 47.1c2.55-10.52.33-4.65 9.77-9-5.12 9-12.18 18.99-9.77 9zm-60.09-82.27c-5.47 7.58-6.11 13.42-5.51 9.56a51.62 51.62 0 0 1 2.44-9.7 16.62 16.62 0 0 0 3.07.14z" transform="translate(-134.5 -249.62)"/><path class="cls-6" d="M292.58 275.81c-3.42-12.58 5.27-13.54 7.57-11.19a10.52 10.52 0 0 1 16.3-10c3.1-5.34 12.47-8.78 24.25 2.14 1.07-7.72 16.61-5.31 18.93 10.47 5.8 1.09 8.67 4.25 10 6.79 5.7.55 24.27 24.22 25.12 32.09.51 4.69-2 9.11-3.3 13.64-.84 2.9-1.23 6-2.75 8.59-4 6.78 0 3.56-5 2.72-4.44-.76-16.29 5.15-22.41 16-3.65.32-7.37-.89-8.66-5.16-1.72-5.69 6.59-8.61 8.54-13.18 4.08-9.57-10.78-15-12.37-23.84-1-5.79 3.41-11.93 7.06-17.09a42.73 42.73 0 0 0-4.46.38l.45-.32a17.63 17.63 0 0 1-15.66 2.44 6.31 6.31 0 0 0 4.78 2.94c-5.22 3.24-13.16.17-14.83-5.74-1.21 4.85-9.14 8.31-16.66 0a16.1 16.1 0 0 1-18.07.79 11.32 11.32 0 0 0 5.6-4.35c-3.18.61-6.36-1.63-7.88-4.5s-1.74-6.21-1.89-9.45a9.69 9.69 0 0 0 5.34 5.83zm77.42 3.78l.07-.11zm.49-3.51v.08c0-.37-.07-.81-.09-1.35.08.51.1.91.12 1.27zM356 283.79a18.3 18.3 0 0 1-4.06 4 16.58 16.58 0 0 0 4.06-4zm.58-.85c-.07.12-.15.23-.23.35.08-.12.16-.23.23-.35z" transform="translate(-134.5 -249.62)"/><path class="cls-6" d="M332.26 325.61c3.72.6 7.37 4.53 6.58 9-1-2.29-1.84-4.94-5.07-6.11-4.27-1.56-11.28-.4-13.74 4.35-1.39 2.66-.03-9.21 12.23-7.24z" transform="translate(-134.5 -249.62)"/><path class="cls-2" d="M356 357.76c.16-1.5.53-2 5.4-10.7 6.11-10.84 18-16.75 22.41-16 7.46 1.27 15.8 21.58-15.33 33.82-8.36 3.29-13.16-1.12-12.48-7.12z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M333.78 355.5c-2.11-2.9-10.27 2-16.4-5.73-.79-1-1.4-4-3.31-3.7 5.06-.89 6.62 8.27 14.24 6.31 3.12-.8 9-5.14 10 11.68a58.26 58.26 0 0 0-4.53-8.56zm33.52-5.5c-4.31-10.34 20.92-21.24 19.59-7-.3 3.22-2.28 8.84-5.3 9.81 2.45-5.37-.28-12.43-1.58-13.5-2-1.6-4.5.76-7.39 2.91.16 1.64 2.51 2.4 2.65 4.05.12 1.32-1.07 2.95-5.06 2a7.87 7.87 0 0 0 2.17 5 5.21 5.21 0 0 1-5.08-3.27zM237 320a3.62 3.62 0 0 0 .27-3.06c-4.44-17.68-1.94-7.91 1.07-3.12 2.39 3.79 3.24 6.31-.66 8.22-23.04 11.3-1.88-.23-.68-2.04z" transform="translate(-134.5 -249.62)"/><path class="cls-3" d="M237.5 324.86c2.4-1 6.47-3.9 6.49-5.61 0-1.15-4.89-8.09-3.9-14.36 1.08 1.71 6.52 12.19 6.39 14.21-.23 3.9-9.08 5.8-8.98 5.76zm-13.21-25.34c.15 1.87 6.75 14.13 6.75 18.83-.36 1.09-4.49 2.17-4.7 3.3 6.82-5.18-3.51-20.43-2.05-22.13z" transform="translate(-134.5 -249.62)"/></svg>
|
|
images/seo_fitness_assistants_unfit.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 262.37 295.62" role="img" aria-hidden="true" focusable="false"><defs><style>.cls-2{fill:#d6a57c}.cls-3{fill:#a62a6b}.cls-4{fill:#78385b}.cls-5{fill:#efd4b9}.cls-7{fill:#010101}</style></defs><circle cx="131.18" cy="164.43" r="131.18" fill="#f0ecef"/><path class="cls-2" d="M229.58 574a131.56 131.56 0 0 1-24.74-3.2c-1.91-16-3.3-33-4.21-48.2l32.12 1.49c-.75 16.19-1.75 33.33-3.17 49.91z" transform="translate(-102.97 -278.43)"/><path class="cls-3" d="M228.17 444.86c3.37-2.11 8.68-29.69 45.28-45.18-4.8-1.37-12.76-3.91-20.57-6.8 13.62-2.21 27.92-.28 33.28 9.63 26.12 7.76 36.3 11.21 52.94 43.05 9.15 17.52 10.39 30.84 12 56.75A130.61 130.61 0 0 1 334.77 527c-63.47-7.4-121.55 6.09-106.6-82.14zm-29.04 12.78q.06 1 .21 2-.15-.95-.21-2zm.48-7.92zm-.54 5.28v2.16c0-.75-.02-1.47 0-2.16zm14-35.92c.1 0-.45.48-2.68 4.07q1.29-2.07 2.68-4.07zm-13.93 34.85s-.06.8-.07 1c.14-4.71.13-.55.07-1zM210 423.72a82.752 82.752 0 0 0-3 5.32c1-1.79 2-3.57 3-5.32zm-6.1 11.88zm2.81-5.97q-1.38 2.67-2.55 5.36 1.17-2.69 2.55-5.36zm-3.89 8.64c-.33.88-.64 1.76-.94 2.63.3-.9.61-1.75.94-2.63zm-1.14 3.25zm-.8 2.6c-.24.85-.45 1.69-.65 2.52.2-.83.41-1.64.65-2.52zm-.78 3.13z" transform="translate(-102.97 -278.43)"/><path class="cls-4" d="M207.61 479.18a38.84 38.84 0 0 1-8.54-24.18c.14-4.76-.84 7.58 8.54 24.18zm109.86 54.37c.25-17.68-4.19-14.07 8.79-14.07h3.93c2.41-41.5-11.14-56.79-8-56.27 13.51 21.39 13.27 52.21 12.61 63.82a131.09 131.09 0 0 1-17.87 17.62c.29-3.76.49-7.48.54-11.1z" transform="translate(-102.97 -278.43)"/><path class="cls-4" d="M198.26 522.45c-1.28-17-3.16-58.53 3.25-86.77 2.78-12.23 7.94-11.38 11.57-16.6 3.55 1.09 6.38 2.06 7.28 2.92 3.58 3.44 3.51 25.54 7.81 22.86 0 .1-8.55 25.12 14.93 47.29 6.43 6.07 13 8.46 19.61 8.43-4.72-19.1-6.48-40.31.07-58.95a54.69 54.69 0 0 0 .82 20.94 52.42 52.42 0 0 1 9.22-19.49c-.54 80.2-.56 76.4-.46 76.4 13.37 0 8.34-.86 8.43 2 .4 13.23.43 30.76.46 43.83A130.72 130.72 0 0 1 238 574c1.72-18.43 2.21-33.81-.92-49.75z" transform="translate(-102.97 -278.43)"/><path class="cls-3" d="M199.14 453.93a28.16 28.16 0 0 0 9 16.72 77.79 77.79 0 0 1-.84-23.64c-.24 11.87 3.79 28.45 10.07 41.06 8.71 17.5 16.49 16.79 12.34 16.79-15.29-11.63-28.88-32.13-30.57-50.93z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M218.13 377.39c7.85-4.58.15-3 9.44 1.82 0-.13 5.24 8.86 45.88 20.47-36.91 15.62-41.8 43.14-45.31 45.2-4.28 2.51-4.2-19.44-7.78-22.88-1.38-1.32-9.51-3.6-9.41-3.57 15.79-19.05 10.2-33.17 7.18-41.04z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M208.78 378.94c2.49 1.47 5.88.48 9.35-1.55 3 7.87 8.61 22-7.18 41-4.85-1.48-9.85-2.85-13.45-4.56 11.79-12.16 11.07-21.75 11.28-34.89z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M316.76 519.48c.1 0 0 0 .18 1.39-.05-.47-.12-.93-.18-1.39zm.72 13.41c0-2.66 0-5.27-.19-7.8.16 2.53.21 5.14.19 7.8z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M317.48 532.89c0 3.89-.24 7.76-.58 11.76a130.67 130.67 0 0 1-35.65 20.68c0-14.22-.06-28.5-.38-40.81 1.2 1.48 7.55 2.15 36.61 8.37zm-.48-11.21c.1 1 .18 2 .25 3-.05-.99-.13-2-.25-3z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M316.94 520.87a105.2 105.2 0 0 1 .54 12c0 .1-35.5-7-36.61-8.37v-4.84z" transform="translate(-102.97 -278.43)"/><path d="M169.26 241.05h.13" fill="none" stroke="#a62a6b" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"/><path class="cls-3" d="M321.38 463.2c6.32 13.91 9.91 34.42 8.55 57.89-18.92 0-35-1.61-57.57-1.61 0-.1.49-83 .51-83.12 8.92-41.73 40.34 8.89 48.51 26.84z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M161.69 359.63c-.18-.33-.2-.26 0-.26a1.09 1.09 0 0 0 0 .26z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M125.62 363.05c-.43-6.63-1.17-17.78-.16-24.07 1.07-6.71 7.43-17 10.44-20.12 4.74 3.07 11 3.05 16.11.63 12.61 1.83 36-15.62 40.18-9.71 2.8 4-12.57 16.12-1.86 23.56 21 14.58 4.93 7.64 4.77 31.75 0 4.87 6.45 2.53 11.08 2.17-.77 4.27-1.17 9.45 2.6 11.68-.26 16.55.8 27.29-22.31 44.39-28.26 20.92-31.27-4.58-36.21-11.77-5.75-8.36-21.77-4.26-24.64-48.51z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M164 364c-.17-.32-.19-.28 0-.23a.32.32 0 0 1 0 .23zm-34.65-4.12c.25-.06 0 0 1.1-.07.01.06.12.03-1.1.07z" transform="translate(-102.97 -278.43)"/><path class="cls-5" d="M162.63 363.39c-.67-.24.89-.32 1.27.38a13 13 0 0 1-1.27-.38zm-34.23-3.3c0 1.32.38 1.19-1 .06a5.27 5.27 0 0 0 1-.06zm35.45 3.44c-.15-.11-.07 0-.19-.22zm.31.3h-.1c-.06-.15-.15-.24.1 0z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M166.51 351.51c-4.45 7.33 1.51 3.61-5.42 6.8.28-2.66 1.91-5.16 5.42-6.8zM164 363.68c.11.16 0 .13-.11.09-.12-.24-.3-.51.11-.09z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M161.05 359.37c.59 0 .46-.07.64.26 0 1.59 1.91 3.58 2.05 3.83-.66-.33-2.61-.4.16.31.55 1 8.81 7.74 15.39-3.42 2.35-1.3 2.07-.76-2.54 7.21-4.75 8.23-15.52-.29-15.7-8.19zm-28.77-6.75a7.42 7.42 0 0 0-2 4.83 13.34 13.34 0 0 0-3.87 2.47c-2.01-1 5.51-8.32 5.87-7.3z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M127.2 360.13c-.1 0-1.5-.19-.15-.23a1.14 1.14 0 0 1 .15.23z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M128.4 359.92c.26.53-3.41 0 1.13-.09-.23.07-.04.05-1.13.09z" transform="translate(-102.97 -278.43)"/><path class="cls-7" d="M169.22 344.62c-2.52.14-8.09-.78-10.59-.47-3.76.47-7.07-2.19-7.23-4.7-.07-1.08 1.2-4.92 2.06-5.41-1 4.3 3.46 4.58 15.34 4.39 3.82-.07 11.08 4.82 8.57 10.23-3.91-3.11-2.86-4.31-8.15-4.04zm-37.65 2.12c2.39.13 7.06-.35 9.18-2.47 1.65 9-7.77 7.9-15.71 8.19.64-1.64-4.66-6.34 6.53-5.72zm90.57 27.93c8.72-6.68 4-6.6 5.43 4.54a17 17 0 0 1-5.43-4.54z" transform="translate(-102.97 -278.43)"/><path class="cls-7" d="M128.88 289.86a13 13 0 0 1 22.17-6.72c4.43-5.79 14.19-6.34 19.25-1.08 4.21-4.56 12.5-3.85 16.4 1 2.74 3.4 3.15 7.58 2.06 11.8 13 1.89 26 7.71 35.5 18.72 6.19 7.16 6.92 18.22 6.13 29.65-4.87-2.18-13.78 1.22-17.64 4.74-.75.69-5.08 11-6.57 19.31-4.63.36-11.11 2.7-11.08-2.17.16-24.11 16.24-17.17-4.77-31.75-10.71-7.44 4.66-19.57 1.86-23.56-3.82-5.43-23.54 8.77-37.14 9.81-6.47.5-12.15 3.8-19.15-.73-1-.67-7.08 10.71-9.57 16 0 .1-.06-10.37 4.53-18.83-18.61-5.98-12.35-30.39-1.98-26.19z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M128.44 361.06c.65 7.32 12.51 7.33 13.36-1.56 1.32 0-.48 8.77-5.81 9.87-7.57 1.57-7-6.18-8.79-9.24-.42-.71.64.37 1.24.93z" transform="translate(-102.97 -278.43)"/><path d="M161.69 359.63c0-.38-.38-.26 3.89-.3.43 4.76 7.62 4.74 8-.06h6.34c-7.63 14.41-18.24 4.03-18.23.36zm-33.29.46c0-.24-.35-.16 2.06-.24.85 4.15 7.27 4.06 7.9-.26l3.44-.09c-.8 8.93-13.51 9.23-13.4.59z" transform="translate(-102.97 -278.43)" fill="#fff"/><path class="cls-5" d="M222.14 374.67c-12.14 9.29-18.15 4.73-16-7.41 1.49-8.33 5.82-18.62 6.57-19.31 3.51-3.2 11.78-6.65 17-5 3.7 1.18 7.2 6.36 7.44 10.24.37 5.81-.79 10.59-15.01 21.48z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M134.09 378.12c2.42-4.79 17.72-11.14 7.37-30.91 5.77.26 7.1 19 4.18 24-2.69 4.59-8.86 4.69-8 8.74 1.76 8.57 12.87 2.73 18 .51-12.02 11.89-23.46 5.06-21.55-2.34z" transform="translate(-102.97 -278.43)"/><path class="cls-7" d="M158.87 359.39c8.51-4.36 11.64-4 22.11-.18zm-20.51.2c.14-1 1.2-.69-8-.69 0 1.22 1.07.88-4 1 5.3-4.72 11.21-3.93 17.41-.47z" transform="translate(-102.97 -278.43)"/><path class="cls-7" d="M173.6 358.9c0 5.13-7.57 5.34-8 .43-.07-.6-1.26-.43 8-.43zm-43.24 0c9.22 0 8.14-.28 8 .69-.68 4.64-8 4.41-8-.69z" transform="translate(-102.97 -278.43)"/><path class="cls-2" d="M148.51 391.63c11.65 1.75 16.24 8.05 16.24 8.05-26.57-7.23-13.28 3-21.88-.47.07-2.8-.24-8.47 5.64-7.58zm12.88 17.45c-6.51-1.61-7.92-2.34-9.1-.68 0-1.53-1.77-3.13-.77-4.65 1.3-1.98 5.92-.99 9.87 5.33zM217.47 355c6.07 4.17 5.12 7.72 2.75 7.51-3.14-.28-3.49-.36-4-.14-2.21.93 1.69 3 3.79 3.8a5.94 5.94 0 0 1-5.95 0c-5.91-4 1-14.85 4.53-15.3 24.07-10.67 13.09 10.2 9.67 12.54 7.79-17.36-6.36-12.84-10.79-8.41z" transform="translate(-102.97 -278.43)"/></svg>
|
|
inc/class-upgrade.php
CHANGED
@@ -75,6 +75,7 @@ class WPSEO_Upgrade {
|
|
75 |
'16.5-RC0' => 'upgrade_165',
|
76 |
'17.2-RC0' => 'upgrade_172',
|
77 |
'17.7.1-RC0' => 'upgrade_1771',
|
|
|
78 |
];
|
79 |
|
80 |
array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
|
@@ -854,6 +855,13 @@ class WPSEO_Upgrade {
|
|
854 |
$addon_update_watcher->toggle_auto_updates_for_add_ons( 'auto_update_plugins', $enabled_auto_updates, [] );
|
855 |
}
|
856 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
857 |
/**
|
858 |
* Sets the home_url option for the 15.1 upgrade routine.
|
859 |
*
|
75 |
'16.5-RC0' => 'upgrade_165',
|
76 |
'17.2-RC0' => 'upgrade_172',
|
77 |
'17.7.1-RC0' => 'upgrade_1771',
|
78 |
+
'17.9-RC0' => 'upgrade_179',
|
79 |
];
|
80 |
|
81 |
array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
|
855 |
$addon_update_watcher->toggle_auto_updates_for_add_ons( 'auto_update_plugins', $enabled_auto_updates, [] );
|
856 |
}
|
857 |
|
858 |
+
/**
|
859 |
+
* Performs the 17.9 upgrade routine.
|
860 |
+
*/
|
861 |
+
private function upgrade_179() {
|
862 |
+
WPSEO_Options::set( 'wincher_integration_active', true );
|
863 |
+
}
|
864 |
+
|
865 |
/**
|
866 |
* Sets the home_url option for the 15.1 upgrade routine.
|
867 |
*
|
inc/class-wpseo-image-utils.php
CHANGED
@@ -186,14 +186,15 @@ class WPSEO_Image_Utils {
|
|
186 |
}
|
187 |
|
188 |
if ( ! $image ) {
|
189 |
-
$image
|
190 |
-
$image['size'] = $size;
|
191 |
}
|
192 |
|
193 |
if ( ! $image ) {
|
194 |
return false;
|
195 |
}
|
196 |
|
|
|
|
|
197 |
return self::get_data( $image, $attachment_id );
|
198 |
}
|
199 |
|
186 |
}
|
187 |
|
188 |
if ( ! $image ) {
|
189 |
+
$image = image_get_intermediate_size( $attachment_id, $size );
|
|
|
190 |
}
|
191 |
|
192 |
if ( ! $image ) {
|
193 |
return false;
|
194 |
}
|
195 |
|
196 |
+
$image['size'] = $size;
|
197 |
+
|
198 |
return self::get_data( $image, $attachment_id );
|
199 |
}
|
200 |
|
inc/class-wpseo-replace-vars.php
CHANGED
@@ -13,8 +13,6 @@ if ( ! defined( 'WPSEO_VERSION' ) ) {
|
|
13 |
exit();
|
14 |
}
|
15 |
|
16 |
-
use Yoast\WP\SEO\Conditionals\Japanese_Support_Conditional;
|
17 |
-
|
18 |
/**
|
19 |
* Class: WPSEO_Replace_Vars.
|
20 |
*
|
@@ -395,8 +393,9 @@ class WPSEO_Replace_Vars {
|
|
395 |
* @return string|null
|
396 |
*/
|
397 |
private function retrieve_excerpt() {
|
398 |
-
$
|
399 |
-
$
|
|
|
400 |
|
401 |
// The check `post_password_required` is because excerpt must be hidden for a post with a password.
|
402 |
if ( ! empty( $this->args->ID ) && ! post_password_required( $this->args->ID ) ) {
|
@@ -407,22 +406,15 @@ class WPSEO_Replace_Vars {
|
|
407 |
$content = strip_shortcodes( $this->args->post_content );
|
408 |
$content = wp_strip_all_tags( $content );
|
409 |
|
410 |
-
if ( strlen( utf8_decode( $content ) ) <=
|
411 |
return $content;
|
412 |
}
|
413 |
|
414 |
-
$replacement = wp_html_excerpt( $content,
|
415 |
|
416 |
-
// Check if
|
417 |
-
if ( $
|
418 |
-
// Check if the description has space and trim the auto-generated string to a word boundary.
|
419 |
-
if ( strrpos( $replacement, ' ' ) ) {
|
420 |
$replacement = substr( $replacement, 0, strrpos( $replacement, ' ' ) );
|
421 |
-
}
|
422 |
-
}
|
423 |
-
else {
|
424 |
-
// If Japanese support is disabled, always trim the auto-generated string to a word boundary doesn't matter whether a space is present or not.
|
425 |
-
$replacement = substr( $replacement, 0, strrpos( $replacement, ' ' ) );
|
426 |
}
|
427 |
}
|
428 |
}
|
13 |
exit();
|
14 |
}
|
15 |
|
|
|
|
|
16 |
/**
|
17 |
* Class: WPSEO_Replace_Vars.
|
18 |
*
|
393 |
* @return string|null
|
394 |
*/
|
395 |
private function retrieve_excerpt() {
|
396 |
+
$replacement = null;
|
397 |
+
$locale = \get_locale();
|
398 |
+
$limit = ( $locale === 'ja' ) ? 80 : 156;
|
399 |
|
400 |
// The check `post_password_required` is because excerpt must be hidden for a post with a password.
|
401 |
if ( ! empty( $this->args->ID ) && ! post_password_required( $this->args->ID ) ) {
|
406 |
$content = strip_shortcodes( $this->args->post_content );
|
407 |
$content = wp_strip_all_tags( $content );
|
408 |
|
409 |
+
if ( strlen( utf8_decode( $content ) ) <= $limit ) {
|
410 |
return $content;
|
411 |
}
|
412 |
|
413 |
+
$replacement = wp_html_excerpt( $content, $limit );
|
414 |
|
415 |
+
// Check if the description has space and trim the auto-generated string to a word boundary.
|
416 |
+
if ( strrpos( $replacement, ' ' ) ) {
|
|
|
|
|
417 |
$replacement = substr( $replacement, 0, strrpos( $replacement, ' ' ) );
|
|
|
|
|
|
|
|
|
|
|
418 |
}
|
419 |
}
|
420 |
}
|
inc/options/class-wpseo-option-wpseo.php
CHANGED
@@ -88,6 +88,8 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
|
|
88 |
'wincher_automatically_add_keyphrases' => false,
|
89 |
'wincher_website_id' => '',
|
90 |
'first_time_install' => false,
|
|
|
|
|
91 |
];
|
92 |
|
93 |
/**
|
@@ -329,6 +331,7 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
|
|
329 |
|
330 |
case 'first_activated_on':
|
331 |
case 'indexing_started':
|
|
|
332 |
$clean[ $key ] = false;
|
333 |
if ( isset( $dirty[ $key ] ) ) {
|
334 |
if ( $dirty[ $key ] === false || WPSEO_Utils::validate_int( $dirty[ $key ] ) ) {
|
@@ -371,7 +374,6 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
|
|
371 |
break;
|
372 |
|
373 |
case 'import_cursors':
|
374 |
-
case 'workouts_data':
|
375 |
case 'importing_completed':
|
376 |
if ( isset( $dirty[ $key ] ) && is_array( $dirty[ $key ] ) ) {
|
377 |
$clean[ $key ] = $dirty[ $key ];
|
@@ -390,6 +392,7 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
|
|
390 |
* 'dynamic_permalinks'
|
391 |
* 'indexing_first_time'
|
392 |
* 'first_time_install'
|
|
|
393 |
* and most of the feature variables.
|
394 |
*/
|
395 |
default:
|
88 |
'wincher_automatically_add_keyphrases' => false,
|
89 |
'wincher_website_id' => '',
|
90 |
'first_time_install' => false,
|
91 |
+
'should_redirect_after_install_free' => false,
|
92 |
+
'activation_redirect_timestamp_free' => 0,
|
93 |
];
|
94 |
|
95 |
/**
|
331 |
|
332 |
case 'first_activated_on':
|
333 |
case 'indexing_started':
|
334 |
+
case 'activation_redirect_timestamp_free':
|
335 |
$clean[ $key ] = false;
|
336 |
if ( isset( $dirty[ $key ] ) ) {
|
337 |
if ( $dirty[ $key ] === false || WPSEO_Utils::validate_int( $dirty[ $key ] ) ) {
|
374 |
break;
|
375 |
|
376 |
case 'import_cursors':
|
|
|
377 |
case 'importing_completed':
|
378 |
if ( isset( $dirty[ $key ] ) && is_array( $dirty[ $key ] ) ) {
|
379 |
$clean[ $key ] = $dirty[ $key ];
|
392 |
* 'dynamic_permalinks'
|
393 |
* 'indexing_first_time'
|
394 |
* 'first_time_install'
|
395 |
+
* 'should_redirect_after_install_free'
|
396 |
* and most of the feature variables.
|
397 |
*/
|
398 |
default:
|
inc/sitemaps/class-author-sitemap-provider.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
*/
|
7 |
|
8 |
use Yoast\WP\SEO\Helpers\Author_Archive_Helper;
|
|
|
9 |
|
10 |
/**
|
11 |
* Sitemap provider for author archives.
|
@@ -98,7 +99,7 @@ class WPSEO_Author_Sitemap_Provider implements WPSEO_Sitemap_Provider {
|
|
98 |
global $wpdb;
|
99 |
|
100 |
$defaults = [
|
101 |
-
'
|
102 |
'meta_key' => '_yoast_wpseo_profile_updated',
|
103 |
'orderby' => 'meta_value_num',
|
104 |
'order' => 'DESC',
|
@@ -124,8 +125,17 @@ class WPSEO_Author_Sitemap_Provider implements WPSEO_Sitemap_Provider {
|
|
124 |
],
|
125 |
];
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
if ( WPSEO_Options::get( 'noindex-author-noposts-wpseo', true ) ) {
|
128 |
-
$defaults['who']
|
129 |
$author_archive = new Author_Archive_Helper();
|
130 |
$defaults['has_published_posts'] = $author_archive->get_author_archive_post_types();
|
131 |
}
|
@@ -213,7 +223,7 @@ class WPSEO_Author_Sitemap_Provider implements WPSEO_Sitemap_Provider {
|
|
213 |
protected function update_user_meta() {
|
214 |
|
215 |
$user_criteria = [
|
216 |
-
'
|
217 |
'meta_query' => [
|
218 |
[
|
219 |
'key' => '_yoast_wpseo_profile_updated',
|
@@ -221,7 +231,17 @@ class WPSEO_Author_Sitemap_Provider implements WPSEO_Sitemap_Provider {
|
|
221 |
],
|
222 |
],
|
223 |
];
|
224 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
225 |
|
226 |
$time = time();
|
227 |
|
6 |
*/
|
7 |
|
8 |
use Yoast\WP\SEO\Helpers\Author_Archive_Helper;
|
9 |
+
use Yoast\WP\SEO\Helpers\Wordpress_Helper;
|
10 |
|
11 |
/**
|
12 |
* Sitemap provider for author archives.
|
99 |
global $wpdb;
|
100 |
|
101 |
$defaults = [
|
102 |
+
'capability' => [ 'edit_posts' ],
|
103 |
'meta_key' => '_yoast_wpseo_profile_updated',
|
104 |
'orderby' => 'meta_value_num',
|
105 |
'order' => 'DESC',
|
125 |
],
|
126 |
];
|
127 |
|
128 |
+
$wordpress_helper = new Wordpress_Helper();
|
129 |
+
$wordpress_version = $wordpress_helper->get_wordpress_version();
|
130 |
+
|
131 |
+
// Capability queries were only introduced in WP 5.9.
|
132 |
+
if ( version_compare( $wordpress_version, '5.8.99', '<' ) ) {
|
133 |
+
$defaults['who'] = 'authors';
|
134 |
+
unset( $defaults['capability'] );
|
135 |
+
}
|
136 |
+
|
137 |
if ( WPSEO_Options::get( 'noindex-author-noposts-wpseo', true ) ) {
|
138 |
+
unset( $defaults['who'], $defaults['capability'] ); // Otherwise it cancels out next argument.
|
139 |
$author_archive = new Author_Archive_Helper();
|
140 |
$defaults['has_published_posts'] = $author_archive->get_author_archive_post_types();
|
141 |
}
|
223 |
protected function update_user_meta() {
|
224 |
|
225 |
$user_criteria = [
|
226 |
+
'capability' => [ 'edit_posts' ],
|
227 |
'meta_query' => [
|
228 |
[
|
229 |
'key' => '_yoast_wpseo_profile_updated',
|
231 |
],
|
232 |
],
|
233 |
];
|
234 |
+
|
235 |
+
$wordpress_helper = new Wordpress_Helper();
|
236 |
+
$wordpress_version = $wordpress_helper->get_wordpress_version();
|
237 |
+
|
238 |
+
// Capability queries were only introduced in WP 5.9.
|
239 |
+
if ( version_compare( $wordpress_version, '5.8.99', '<' ) ) {
|
240 |
+
$user_criteria['who'] = 'authors';
|
241 |
+
unset( $user_criteria['capability'] );
|
242 |
+
}
|
243 |
+
|
244 |
+
$users = get_users( $user_criteria );
|
245 |
|
246 |
$time = time();
|
247 |
|
inc/sitemaps/class-sitemap-cache-data.php
CHANGED
@@ -106,37 +106,93 @@ class WPSEO_Sitemap_Cache_Data implements Serializable, WPSEO_Sitemap_Cache_Data
|
|
106 |
/**
|
107 |
* String representation of object.
|
108 |
*
|
109 |
-
* @
|
110 |
*
|
111 |
-
* @
|
|
|
|
|
|
|
112 |
*
|
113 |
-
* @return
|
114 |
*/
|
115 |
-
public function
|
116 |
|
117 |
$data = [
|
118 |
'status' => $this->status,
|
119 |
'xml' => $this->sitemap,
|
120 |
];
|
121 |
|
122 |
-
return
|
123 |
}
|
124 |
|
125 |
/**
|
126 |
* Constructs the object.
|
127 |
*
|
128 |
-
* @
|
129 |
*
|
130 |
-
* @
|
|
|
|
|
|
|
131 |
*
|
132 |
-
* @param
|
133 |
*
|
134 |
* @return void
|
135 |
*/
|
136 |
-
public function
|
137 |
|
138 |
-
$data = unserialize( $serialized );
|
139 |
$this->set_sitemap( $data['xml'] );
|
140 |
$this->set_status( $data['status'] );
|
141 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
}
|
106 |
/**
|
107 |
* String representation of object.
|
108 |
*
|
109 |
+
* {@internal This magic method is only "magic" as of PHP 7.4 in which the magic method was introduced.}
|
110 |
*
|
111 |
+
* @link https://www.php.net/language.oop5.magic#object.serialize
|
112 |
+
* @link https://wiki.php.net/rfc/custom_object_serialization
|
113 |
+
*
|
114 |
+
* @since 17.8.0
|
115 |
*
|
116 |
+
* @return array The data to be serialized.
|
117 |
*/
|
118 |
+
public function __serialize() { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__serializeFound
|
119 |
|
120 |
$data = [
|
121 |
'status' => $this->status,
|
122 |
'xml' => $this->sitemap,
|
123 |
];
|
124 |
|
125 |
+
return $data;
|
126 |
}
|
127 |
|
128 |
/**
|
129 |
* Constructs the object.
|
130 |
*
|
131 |
+
* {@internal This magic method is only "magic" as of PHP 7.4 in which the magic method was introduced.}
|
132 |
*
|
133 |
+
* @link https://www.php.net/language.oop5.magic#object.serialize
|
134 |
+
* @link https://wiki.php.net/rfc/custom_object_serialization
|
135 |
+
*
|
136 |
+
* @since 17.8.0
|
137 |
*
|
138 |
+
* @param array $data The unserialized data to use to (re)construct the object.
|
139 |
*
|
140 |
* @return void
|
141 |
*/
|
142 |
+
public function __unserialize( $data ) { // phpcs:ignore PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound
|
143 |
|
|
|
144 |
$this->set_sitemap( $data['xml'] );
|
145 |
$this->set_status( $data['status'] );
|
146 |
}
|
147 |
+
|
148 |
+
/**
|
149 |
+
* String representation of object.
|
150 |
+
*
|
151 |
+
* {@internal The magic methods take precedence over the Serializable interface.
|
152 |
+
* This means that in practice, this method will now only be called on PHP < 7.4.
|
153 |
+
* For PHP 7.4 and higher, the magic methods will be used instead.}
|
154 |
+
*
|
155 |
+
* {@internal The Serializable interface is being phased out, in favour of the magic methods.
|
156 |
+
* This method should be deprecated and removed and the class should no longer
|
157 |
+
* implement the `Serializable` interface.
|
158 |
+
* This change, however, can't be made until the minimum PHP version goes up to PHP 7.4 or higher.}
|
159 |
+
*
|
160 |
+
* @link http://php.net/manual/en/serializable.serialize.php
|
161 |
+
* @link https://wiki.php.net/rfc/phase_out_serializable
|
162 |
+
*
|
163 |
+
* @since 5.1.0
|
164 |
+
*
|
165 |
+
* @return string The string representation of the object or null in C-format.
|
166 |
+
*/
|
167 |
+
public function serialize() {
|
168 |
+
|
169 |
+
return serialize( $this->__serialize() );
|
170 |
+
}
|
171 |
+
|
172 |
+
/**
|
173 |
+
* Constructs the object.
|
174 |
+
*
|
175 |
+
* {@internal The magic methods take precedence over the Serializable interface.
|
176 |
+
* This means that in practice, this method will now only be called on PHP < 7.4.
|
177 |
+
* For PHP 7.4 and higher, the magic methods will be used instead.}
|
178 |
+
*
|
179 |
+
* {@internal The Serializable interface is being phased out, in favour of the magic methods.
|
180 |
+
* This method should be deprecated and removed and the class should no longer
|
181 |
+
* implement the `Serializable` interface.
|
182 |
+
* This change, however, can't be made until the minimum PHP version goes up to PHP 7.4 or higher.}
|
183 |
+
*
|
184 |
+
* @link http://php.net/manual/en/serializable.unserialize.php
|
185 |
+
* @link https://wiki.php.net/rfc/phase_out_serializable
|
186 |
+
*
|
187 |
+
* @since 5.1.0
|
188 |
+
*
|
189 |
+
* @param string $data The string representation of the object in C or O-format.
|
190 |
+
*
|
191 |
+
* @return void
|
192 |
+
*/
|
193 |
+
public function unserialize( $data ) {
|
194 |
+
|
195 |
+
$data = unserialize( $data );
|
196 |
+
$this->__unserialize( $data );
|
197 |
+
}
|
198 |
}
|
inc/sitemaps/class-sitemaps-cache.php
CHANGED
@@ -122,9 +122,15 @@ class WPSEO_Sitemaps_Cache {
|
|
122 |
return null;
|
123 |
}
|
124 |
|
125 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
126 |
if ( is_string( $sitemap ) && strpos( $sitemap, 'C:24:"WPSEO_Sitemap_Cache_Data"' ) === 0 ) {
|
127 |
-
|
128 |
$sitemap = unserialize( $sitemap );
|
129 |
}
|
130 |
|
122 |
return null;
|
123 |
}
|
124 |
|
125 |
+
/*
|
126 |
+
* Unserialize Cache Data object as is_serialized() doesn't recognize classes in C format.
|
127 |
+
* This work-around should no longer be needed once the minimum PHP version has gone up to PHP 7.4,
|
128 |
+
* as the `WPSEO_Sitemap_Cache_Data` class uses O format serialization in PHP 7.4 and higher.
|
129 |
+
*
|
130 |
+
* @link https://wiki.php.net/rfc/custom_object_serialization
|
131 |
+
*/
|
132 |
if ( is_string( $sitemap ) && strpos( $sitemap, 'C:24:"WPSEO_Sitemap_Cache_Data"' ) === 0 ) {
|
133 |
+
// phpcs:ignore WordPress.PHP.DiscouragedPHPFunctions.serialize_unserialize -- Can't be avoided due to how WP stores options.
|
134 |
$sitemap = unserialize( $sitemap );
|
135 |
}
|
136 |
|
inc/sitemaps/class-sitemaps-renderer.php
CHANGED
@@ -307,7 +307,7 @@ class WPSEO_Sitemaps_Renderer {
|
|
307 |
|
308 |
parse_str( $query, $parsed_query );
|
309 |
|
310 |
-
$parsed_query = http_build_query( $parsed_query,
|
311 |
|
312 |
$url = str_replace( $query, $parsed_query, $url );
|
313 |
}
|
307 |
|
308 |
parse_str( $query, $parsed_query );
|
309 |
|
310 |
+
$parsed_query = http_build_query( $parsed_query, '', '&', PHP_QUERY_RFC3986 );
|
311 |
|
312 |
$url = str_replace( $query, $parsed_query, $url );
|
313 |
}
|
js/dist/{addon-installation-1780.js → addon-installation.js}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=213)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},
|
2 |
/* translators: %s expands to Yoast */
|
3 |
Object(p.__)("%s SEO installation","wordpress-seo"),"Yoast"),u=Object(p.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(u=e.addons[0]),1!==e.addons.length&&(c=Object(r.createElement)("ul",{className:"ul-disc"},e.addons.map((function(e,t){return Object(r.createElement)("li",{key:"addon-"+t},e)})))),o?Object(r.createElement)(m.a,{title:l,onRequestClose:s,icon:Object(r.createElement)(y.a,null),isDismissible:!1},Object(r.createElement)("p",null,Object(p.sprintf)(
|
4 |
/* translators: %s expands to Yoast SEO Premium */
|
5 |
-
Object(p.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)),c,Object(r.createElement)(w,null,Object(r.createElement)(d.Button,{onClick:s,id:"close-addon-installation-dialog"},Object(p.__)("Cancel","wordpress-seo")),Object(r.createElement)(d.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},Object(p.__)("Install and activate","wordpress-seo")))):null};O.propTypes={nonce:u.a.string.isRequired,addons:u.a.array},O.defaultProps={addons:[]};var j=O,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),Object(r.render)(Object(r.createElement)(j,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)},
|
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=213)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},103:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o,r,a=n(5);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),o||(o=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),r||(r=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},13:function(e,t){e.exports=window.yoast.styledComponents},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},2:function(e,t){e.exports=window.wp.i18n},21:function(e,t){e.exports=window.wp.components},213:function(e,t,n){"use strict";n.r(t);var o,r=n(0),a=n(29),i=n.n(a),s=n(15),c=n.n(s),l=n(1),u=n.n(l),d=n(4),p=n(2),f=n(13),b=n.n(f),m=n(51),y=n(103),w=b.a.div(o||(o=c()(["\n\tdisplay: flex;\n\tjustify-content: flex-end;\n\tgap: 8px;\n"]))),O=function(e){var t=Object(r.useState)(!0),n=i()(t,2),o=n[0],a=n[1];function s(){a(!1)}var c,l=Object(p.sprintf)(
|
2 |
/* translators: %s expands to Yoast */
|
3 |
Object(p.__)("%s SEO installation","wordpress-seo"),"Yoast"),u=Object(p.__)("the following addons","wordpress-seo");return 1===e.addons.length&&(u=e.addons[0]),1!==e.addons.length&&(c=Object(r.createElement)("ul",{className:"ul-disc"},e.addons.map((function(e,t){return Object(r.createElement)("li",{key:"addon-"+t},e)})))),o?Object(r.createElement)(m.a,{title:l,onRequestClose:s,icon:Object(r.createElement)(y.a,null),isDismissible:!1},Object(r.createElement)("p",null,Object(p.sprintf)(
|
4 |
/* translators: %s expands to Yoast SEO Premium */
|
5 |
+
Object(p.__)("Please confirm below that you would like to install %s on this site.","wordpress-seo"),u)),c,Object(r.createElement)(w,null,Object(r.createElement)(d.Button,{onClick:s,id:"close-addon-installation-dialog"},Object(p.__)("Cancel","wordpress-seo")),Object(r.createElement)(d.Button,{onClick:function(){window.location.href="admin.php?page=wpseo_licenses&action=install&nonce="+e.nonce},id:"continue-addon-installation-dialog",className:"yoast-button--primary"},Object(p.__)("Install and activate","wordpress-seo")))):null};O.propTypes={nonce:u.a.string.isRequired,addons:u.a.array},O.defaultProps={addons:[]};var j=O,v=document.createElement("div");v.setAttribute("id","wpseo-app-element"),document.getElementById("extensions").append(v),Object(r.render)(Object(r.createElement)(j,{nonce:wpseoAddonInstallationL10n.nonce,addons:wpseoAddonInstallationL10n.addons}),v)},26:function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},n.apply(this,arguments)}e.exports=n},29:function(e,t,n){var o=n(64),r=n(65),a=n(66);e.exports=function(e,t){return o(e)||r(e,t)||a()}},38:function(e,t,n){var o=n(80);e.exports=function(e,t){if(null==e)return{};var n,r,a=o(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},4:function(e,t){e.exports=window.yoast.componentsNew},5:function(e,t){e.exports=window.React},51:function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var o=n(26),r=n.n(o),a=n(38),i=n.n(a),s=n(0),c=n(1),l=n.n(c),u=n(21),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=o?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,r()({title:t,className:"".concat(n," ").concat(a),icon:l},c),e.children)};p.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},64:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},65:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,o=!1,r=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){o=!0,r=e}finally{try{_n||null==i.return||i.return()}finally{if(o)throw r}}return n}}},66:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},80:function(e,t){e.exports=function(e,t){if(null==e)return{};var n,o,r={},a=Object.keys(e);for(o=0;o<a.length;o++)n=a[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}}});
|
js/dist/{admin-global-1780.js → admin-global.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var o={};function n(a){if(o[a])return o[a].exports;var e=o[a]={i:a,l:!1,exports:{}};return t[a].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=t,n.c=o,n.d=function(t,o,a){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)n.d(a,e,function(o){return t[o]}.bind(null,e));return a},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=
|
1 |
+
!function(t){var o={};function n(a){if(o[a])return o[a].exports;var e=o[a]={i:a,l:!1,exports:{}};return t[a].call(e.exports,e,e.exports,n),e.l=!0,e.exports}n.m=t,n.c=o,n.d=function(t,o,a){n.o(t,o)||Object.defineProperty(t,o,{enumerable:!0,get:a})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,o){if(1&o&&(t=n(t)),8&o)return t;if(4&o&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&o&&"string"!=typeof t)for(var e in t)n.d(a,e,function(o){return t[o]}.bind(null,e));return a},n.n=function(t){var o=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(o,"a",o),o},n.o=function(t,o){return Object.prototype.hasOwnProperty.call(t,o)},n.p="",n(n.s=182)}({182:function(t,o,n){"use strict";n.r(o);var a=n(25),e=n.n(a);!function(t){function o(t,o,n){e.a.post(ajaxurl,{action:"wpseo_set_ignore",option:t,_wpnonce:n},(function(n){n&&(e()("#"+o).hide(),e()("#hidden_ignore_"+t).val("ignore"))}))}function n(){t("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),t(".yoast-issue-added").fadeOut(200)}function a(o,n){if(t(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==n.html){n.html&&(o.closest(".yoast-container").html(n.html),s());var a=t("#wp-admin-bar-wpseo-menu"),e=a.find(".yoast-issue-counter");e.length||(a.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=a.find(".yoast-issue-counter")),e.html(n.total),0===n.total?e.hide():e.show(),t("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+n.total),t("#toplevel_page_wpseo_dashboard .plugin-count").html(n.total)}}function s(){var o=t(".yoast-notification-holder");o.on("click",".dismiss",(function(){var o=t(this),n=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_dismiss_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:o.data("json")||n.data("json")},a.bind(this,n),"json")})),o.on("click",".restore",(function(){var o=t(this),n=o.closest(".yoast-notification-holder");o.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),t.post(ajaxurl,{action:"yoast_restore_notification",notification:n.attr("id"),nonce:n.data("nonce"),data:n.data("json")},a.bind(this,n),"json")}))}function i(t){t.is(":hidden")||(t.outerWidth()>t.parent().outerWidth()?(t.data("scrollHint").addClass("yoast-has-scroll"),t.data("scrollContainer").addClass("yoast-has-scroll")):(t.data("scrollHint").removeClass("yoast-has-scroll"),t.data("scrollContainer").removeClass("yoast-has-scroll")))}function l(){window.wpseoScrollableTables=t(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){var o=t(this);if(!o.data("scrollContainer")){var n=t("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(o),a=t("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(o);n.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),o.data("scrollContainer",a),o.data("scrollHint",n),o.appendTo(a.find(".yoast-table-scrollable__inner")),i(o)}}))}e()(document).ready((function(){e()(".yoast-dismissible").on("click",".yoast-notice-dismiss",(function(){var t=e()(this).parent();return e.a.post(ajaxurl,{action:t.attr("id").replace(/-/g,"_"),_wpnonce:t.data("nonce"),data:t.data("json")}),e.a.post(ajaxurl,{action:"yoast_dismiss_notification",notification:t.attr("id"),nonce:t.data("nonce"),data:t.data("json")}),t.fadeTo(100,0,(function(){t.slideUp(100,(function(){t.remove()}))})),!1})),e()(".yoast-help-button").on("click",(function(){var t=e()(this),o=e()("#"+t.attr("aria-controls")),n=o.is(":visible");e()(o).slideToggle(200,(function(){t.attr("aria-expanded",!n)}))})),e()("#robotsmessage button").on("click",(function(){o("search_engines_discouraged_notice","robotsmessage",e()(this).data("nonce"))}))})),window.wpseoSetIgnore=o,window.wpseoDismissLink=function(t){return e()('<a href="'+t+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},t(window).on("wp-window-resized orientationchange",(function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each((function(){i(t(this))}))})),t(window).on({"Yoast:YoastTabsMounted":function(){setTimeout((function(){l()}),100)},"Yoast:YoastTabsSelected":function(){setTimeout((function(){l()}),100)}}),t(document).ready((function(){t(".yoast-issue-added").on("mouseenter mouseleave",(function(t){t.stopPropagation(),n()})).fadeIn(),t("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",n),setTimeout(n,3e3),s(),function(){var t=e()(".wpseo-js-premium-indicator"),o=t.find("svg");if(t.hasClass("wpseo-premium-indicator--no")){var n=o.find("path"),a=t.css("backgroundColor");n.css("fill",a)}o.css("display","block"),t.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),l()}))}(e.a)},25:function(t,o){t.exports=window.jQuery}});
|
js/dist/admin-modules-1780.js
DELETED
@@ -1,4 +0,0 @@
|
|
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=184)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},108:function(e,t,a){"use strict";a.d(t,"a",(function(){return d}));var l=a(32),c=a.n(l),n=a(0),r=a(1),o=a.n(r),i=a(2),s=a(7),p=a(5),u=a(9);function d(e){var t=e.name,a=e.title,l=e.subtitle,r=e.usps,o=e.image,d=e.finishableSteps,m=e.finishedSteps,f=e.upsellLink,h=e.upsellText,z=e.workout,E=e.badges,b=e.blocked,w=Object(s.useDispatch)("yoast-seo/workouts"),g=w.openWorkout,M=w.toggleWorkout,k=Object(s.useSelect)((function(e){return e("yoast-seo/workouts").getActiveWorkout()}),[]),v=Object(n.useState)(!1),O=c()(v,2),y=O[0],j=O[1],F=z,B=o;Object(n.useEffect)((function(){d&&m&&m.length===d.length?j(!0):j(!1)}),[m,d]);var A=Object(n.useMemo)((function(){return m&&0!==m.length?m.length<d.length?Object(i.__)("Continue workout!","wordpress-seo"):Object(i.__)("Do workout again","wordpress-seo"):Object(i.__)("Start workout!","wordpress-seo")}),[m,d]),x=Object(n.useCallback)((function(){g(t),y&&M(t)}),[z,y,g,M]),C=Object(u.makeOutboundLink)(),_=h||Object(i.sprintf)(
|
2 |
-
/* translators: %s : Expands to the add-on name. */
|
3 |
-
Object(i.__)("Unlock with %s!","wordpress-seo"),"Premium"),S=z&&!b?"":" card-disabled";return Object(n.createElement)(n.Fragment,null,!k&&Object(n.createElement)("div",{className:"card card-small".concat(S)},Object(n.createElement)("h2",null,a," ",E),Object(n.createElement)("h3",null,l),Object(n.createElement)("div",{className:"workout-card-content-flex"},Object(n.createElement)("ul",{className:"yoast-list--usp"},r.map((function(e,t){return Object(n.createElement)("li",{key:"".concat(a,"-").concat(t)},e)}))),o&&Object(n.createElement)(B,null)),Object(n.createElement)("span",null,!b&&z&&Object(n.createElement)(p.NewButton,{className:"yoast-button yoast-button--".concat(y?"secondary":"primary"),onClick:x},A),!z&&Object(n.createElement)(C,{href:f,className:"yoast-button yoast-button-upsell"},_,Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),d&&m&&Object(n.createElement)("div",{className:"workout-card-progress"},Object(n.createElement)(p.ProgressBar,{id:"".concat(a,"-workout-progress"),max:d.length,value:m.length}),Object(n.createElement)("label",{htmlFor:"".concat(a,"-workout-progress")},Object(n.createElement)("i",null,Object(i.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
|
4 |
-
Object(i.__)("%1$s/%2$s steps completed","wordpress-seo"),m.length,d.length))))),b&&z&&Object(n.createElement)("div",{className:"workout-card-blocked"},Object(n.createElement)("p",{className:"workout-card-blocked-title"},Object(i.__)("Configuration required","wordpress-seo")),Object(n.createElement)("p",{id:"workout-card-blocked-description"},Object(i.__)("Please finish the Configuration workout first in order for this workout to be effective.","wordpress-seo")))),z&&k===t&&Object(n.createElement)(F,null))}d.propTypes={name:o.a.string.isRequired,title:o.a.string.isRequired,subtitle:o.a.string.isRequired,usps:o.a.arrayOf(o.a.string).isRequired,finishableSteps:o.a.arrayOf(o.a.string),finishedSteps:o.a.arrayOf(o.a.string),image:o.a.func,upsellLink:o.a.string,upsellText:o.a.string,workout:o.a.func,badges:o.a.arrayOf(o.a.element),blocked:o.a.bool},d.defaultProps={finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[],blocked:!1}},156: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),i=a(7),s=a(108),p=a(6);function u(){return(u=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 d(e){return p.createElement("svg",u({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 m=a(35);function f(e){var t=e.workout,a=e.badges,l=e.upsellLink,n=e.upsellText,r=Object(i.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps(m.c.cornerstone)})),p=l||"https://yoa.st/workout-cornerstone-upsell";return Object(c.createElement)(s.a,{name:m.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:d,finishableSteps:m.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}},157: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),i=a(7),s=a(108),p=a(6);function u(){return(u=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 d(e){return p.createElement("svg",u({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 m=a(35);function f(e){var t=e.workout,a=e.badges,l=e.upsellLink,n=e.upsellText,r=Object(i.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps(m.c.orphaned)})),p=l||"https://yoa.st/workout-orphaned-content-upsell";return Object(c.createElement)(s.a,{name:m.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:d,finishableSteps:m.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}},184:function(e,t,a){"use strict";a.r(t);var l=a(156),c=a(157);window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:l.a,OrphanedWorkoutCard:c.a}}}},2:function(e,t){e.exports=window.wp.i18n},32:function(e,t,a){var l=a(65),c=a(66),n=a(67);e.exports=function(e,t){return l(e)||c(e,t)||n()}},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}));var l={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},c={configuration:{optimizeSeoData:"optimizeSeoData",siteRepresentation:"siteRepresentation",socialProfiles:"socialProfiles",enableTracking:"enableTracking",newsletterSignup:"newsletterSignup"},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={configuration:[c.configuration.optimizeSeoData,c.configuration.siteRepresentation,c.configuration.socialProfiles,c.configuration.enableTracking,c.configuration.newsletterSignup],cornerstone:[c.cornerstone.chooseCornerstones,c.cornerstone.checkLinks,c.cornerstone.addLinks],orphaned:[c.orphaned.improveRemove,c.orphaned.update,c.orphaned.addLinks]}},5:function(e,t){e.exports=window.yoast.componentsNew},6:function(e,t){e.exports=window.React},65:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},66:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var a=[],_n=!0,l=!1,c=void 0;try{for(var n,r=e[Symbol.iterator]();!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){l=!0,c=e}finally{try{_n||null==r.return||r.return()}finally{if(l)throw c}}return a}}},67:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},7:function(e,t){e.exports=window.wp.data},9:function(e,t){e.exports=window.yoast.helpers}});
|
|
|
|
|
|
|
|
js/dist/admin-modules.js
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function a(c){if(t[c])return t[c].exports;var l=t[c]={i:c,l:!1,exports:{}};return e[c].call(l.exports,l,l.exports,a),l.l=!0,l.exports}a.m=e,a.c=t,a.d=function(e,t,c){a.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:c})},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 c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var l in e)a.d(c,l,function(t){return e[t]}.bind(null,l));return c},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=183)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},108:function(e,t,a){"use strict";a.d(t,"a",(function(){return d}));var c=a(29),l=a.n(c),n=a(0),r=a(1),o=a.n(r),i=a(2),s=a(6),p=a(4),u=a(8);function d(e){var t=e.name,a=e.title,c=e.subtitle,r=e.usps,o=e.id,d=e.image,m=e.finishableSteps,f=e.finishedSteps,h=e.upsellLink,z=e.upsellText,E=e.workout,b=e.badges,g=e.blocked,w=Object(s.useDispatch)("yoast-seo/workouts"),k=w.openWorkout,M=w.toggleWorkout,v=Object(s.useSelect)((function(e){return e("yoast-seo/workouts").getActiveWorkout()}),[]),O=Object(n.useState)(!1),y=l()(O,2),j=y[0],F=y[1],B=E,A=d;Object(n.useEffect)((function(){m&&f&&f.length===m.length?F(!0):F(!1)}),[f,m]);var x=Object(n.useMemo)((function(){return f&&0!==f.length?f.length<m.length?Object(i.__)("Continue workout!","wordpress-seo"):Object(i.__)("Do workout again","wordpress-seo"):Object(i.__)("Start workout!","wordpress-seo")}),[f,m]),C=Object(n.useCallback)((function(){k(t),j&&M(t)}),[E,j,k,M]),_=Object(u.makeOutboundLink)(),S=z||Object(i.sprintf)(
|
2 |
+
/* translators: %s : Expands to the add-on name. */
|
3 |
+
Object(i.__)("Unlock with %s!","wordpress-seo"),"Premium"),D=E&&!g?"":" card-disabled";return Object(n.createElement)(n.Fragment,null,!v&&Object(n.createElement)("div",{id:o,className:"card card-small".concat(D)},Object(n.createElement)("h2",null,a," ",b),Object(n.createElement)("h3",null,c),Object(n.createElement)("div",{className:"workout-card-content-flex"},Object(n.createElement)("ul",{id:"".concat(o,"-usp-list"),className:"yoast-list--usp"},r.map((function(e,t){return Object(n.createElement)("li",{id:"".concat(o,"-usp-").concat(t),key:"".concat(o,"-").concat(t)},e)}))),d&&Object(n.createElement)(A,null)),Object(n.createElement)("span",null,!g&&E&&Object(n.createElement)(p.NewButton,{id:"".concat(o,"-action-button"),className:"yoast-button yoast-button--".concat(j?"secondary":"primary"),onClick:C},x),!E&&Object(n.createElement)(_,{id:"".concat(o,"-upsell-button"),href:h,className:"yoast-button yoast-button-upsell"},S,Object(n.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),m&&f&&Object(n.createElement)("div",{className:"workout-card-progress"},Object(n.createElement)(p.ProgressBar,{id:"".concat(o,"-progress"),max:m.length,value:f.length}),Object(n.createElement)("label",{htmlFor:"".concat(o,"-progress")},Object(n.createElement)("i",null,Object(i.sprintf)(// translators: %1$s: number of finished steps, %2$s: number of finishable steps
|
4 |
+
Object(i.__)("%1$s/%2$s steps completed","wordpress-seo"),f.length,m.length))))),g&&E&&Object(n.createElement)("div",{id:"".concat(o,"-blocked-section"),className:"workout-card-blocked"},Object(n.createElement)("p",{id:"".concat(o,"-blocked-title"),className:"workout-card-blocked-title"},Object(i.__)("Configuration required","wordpress-seo")),Object(n.createElement)("p",{id:"".concat(o,"-blocked-description")},Object(i.__)("Please finish the Configuration workout first in order for this workout to be effective.","wordpress-seo")))),E&&v===t&&Object(n.createElement)(B,null))}d.propTypes={name:o.a.string.isRequired,title:o.a.string.isRequired,subtitle:o.a.string.isRequired,usps:o.a.arrayOf(o.a.string).isRequired,id:o.a.string,finishableSteps:o.a.arrayOf(o.a.string),finishedSteps:o.a.arrayOf(o.a.string),image:o.a.func,upsellLink:o.a.string,upsellText:o.a.string,workout:o.a.func,badges:o.a.arrayOf(o.a.element),blocked:o.a.bool},d.defaultProps={id:"",finishableSteps:null,finishedSteps:null,image:null,upsellLink:null,upsellText:null,workout:null,badges:[],blocked:!1}},156:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var c,l=a(0),n=a(1),r=a.n(n),o=a(2),i=a(6),s=a(108),p=a(5);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(e[c]=a[c])}return e}).apply(this,arguments)}function d(e){return p.createElement("svg",u({viewBox:"0 0 296 317",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),c||(c=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 m=a(34);function f(e){var t=e.workout,a=e.badges,c=e.upsellLink,n=e.upsellText,r=Object(i.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps(m.c.cornerstone)})),p=c||"https://yoa.st/workout-cornerstone-upsell";return Object(l.createElement)(s.a,{id:"cornerstone-workout-card",name:m.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:d,finishableSteps:m.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}},157:function(e,t,a){"use strict";a.d(t,"a",(function(){return f}));var c,l=a(0),n=a(1),r=a.n(n),o=a(2),i=a(6),s=a(108),p=a(5);function u(){return(u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(e[c]=a[c])}return e}).apply(this,arguments)}function d(e){return p.createElement("svg",u({viewBox:"0 0 299 322",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e),c||(c=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 m=a(34);function f(e){var t=e.workout,a=e.badges,c=e.upsellLink,n=e.upsellText,r=Object(i.useSelect)((function(e){return e("yoast-seo/workouts").getFinishedSteps(m.c.orphaned)})),p=c||"https://yoa.st/workout-orphaned-content-upsell";return Object(l.createElement)(s.a,{id:"orphaned-workout-card",name:m.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:d,finishableSteps:m.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}},183:function(e,t,a){"use strict";a.r(t);var c=a(156),l=a(157);window.yoast=window.yoast||{},window.yoast.adminModules={components:{workouts:{CornerstoneWorkoutCard:c.a,OrphanedWorkoutCard:l.a}}}},2:function(e,t){e.exports=window.wp.i18n},29:function(e,t,a){var c=a(64),l=a(65),n=a(66);e.exports=function(e,t){return c(e)||l(e,t)||n()}},34:function(e,t,a){"use strict";a.d(t,"c",(function(){return c})),a.d(t,"b",(function(){return l})),a.d(t,"a",(function(){return n}));var c={configuration:"configuration",cornerstone:"cornerstone",orphaned:"orphaned"},l={configuration:{optimizeSeoData:"optimizeSeoData",siteRepresentation:"siteRepresentation",socialProfiles:"socialProfiles",enableTracking:"enableTracking",newsletterSignup:"newsletterSignup"},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={configuration:[l.configuration.optimizeSeoData,l.configuration.siteRepresentation,l.configuration.socialProfiles,l.configuration.enableTracking,l.configuration.newsletterSignup],cornerstone:[l.cornerstone.chooseCornerstones,l.cornerstone.checkLinks,l.cornerstone.addLinks],orphaned:[l.orphaned.improveRemove,l.orphaned.update,l.orphaned.addLinks]}},4:function(e,t){e.exports=window.yoast.componentsNew},5:function(e,t){e.exports=window.React},6:function(e,t){e.exports=window.wp.data},64:function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},65:function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var a=[],_n=!0,c=!1,l=void 0;try{for(var n,r=e[Symbol.iterator]();!(_n=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);_n=!0);}catch(e){c=!0,l=e}finally{try{_n||null==r.return||r.return()}finally{if(c)throw l}}return a}}},66:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},8:function(e,t){e.exports=window.yoast.helpers}});
|
js/dist/{analysis-worker-1780.js → analysis-worker.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=184)}({184:function(e,n){self.window=self,self.onmessage=function(e){var n=e.data;if(n&&n.dependencies){for(var t in n.dependencies)Object.prototype.hasOwnProperty.call(n.dependencies,t)&&(self.importScripts(n.dependencies[t]),"lodash"===t&&(self.lodash=_.noConflict()));var r=self.yoast.Researcher.default;new self.yoast.analysis.AnalysisWebWorker(self,new r).register()}}}});
|
js/dist/{api-client-1780.js → api-client.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=
|
1 |
+
!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=185)}({185: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-1780.js
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=203)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.data},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){var r=n(51);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(36),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=window.yoast.analysis},function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"a",(function(){return f})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return v})),n.d(t,"g",(function(){return w})),n.d(t,"h",(function(){return E})),n.d(t,"f",(function(){return _}));var r=n(8),a=n.n(r),o=n(4),s=n.n(o),i=n(34),c=n.n(i),l=n(3);function u(_x){return p.apply(this,arguments)}function p(){return(p=a()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",{status:0,error:e.t0.message});case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return b.apply(this,arguments)}function b(){return(b=a()(s.a.mark((function e(t,n,r){var a,o,i=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=i.length>3&&void 0!==i[3]?i[3]:200,e.prev=1,e.next=4,t();case 4:if((o=e.sent).status!==a){e.next=7;break}return e.abrupt("return",n(o));case 7:return e.abrupt("return",r(o));case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}function h(){return m.apply(this,arguments)}function m(){return(m=a()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return y.apply(this,arguments)}function y(){return(y=a()(s.a.mark((function e(t){var n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,u({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return O.apply(this,arguments)}function O(){return(O=a()(s.a.mark((function e(){var t,n,r=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:null,n=r.length>1&&void 0!==r[1]?r[1]:null,e.next=4,u({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return j.apply(this,arguments)}function j(){return(j=a()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"yoast/v1/wincher/limits",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return k.apply(this,arguments)}function k(){return(k=a()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(l.isArray)(t)||(t=[t]),e.next=3,u({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return T.apply(this,arguments)}function T(){return(T=a()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(){return R.apply(this,arguments)}function R(){return(R=a()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"yoast/v1/wincher/keyphrases/track/all",method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},,function(e,t,n){var r=n(72),a=n(73),o=n(74);e.exports=function(e){return r(e)||a(e)||o()}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(6)),o=i(n(90)),s=i(n(93));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,b,h,m=[],f={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}m.push(n[p.value])}else m.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),b=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},b),m.push(i),u<t.length-1&&(h=e(t.slice(u+1),n),m=m.concat(h))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(f["interpolation-child-"+t]=e)})),(0,o.default)(f))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){var r=n(65),a=n(66),o=n(67);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t){e.exports=window.wp.apiFetch},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,function(e,t,n){var r=n(81);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return b})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return m})),n.d(t,"k",(function(){return f})),n.d(t,"j",(function(){return y})),n.d(t,"i",(function(){return g}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",c="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",p="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:a,mode:e}}function b(e){return{type:o,data:e}}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:o,label:n,hidden:a}}function m(e){return{type:u,wordsToHighlight:e}}function f(e){return{type:c,name:e}}function y(){return{type:l,time:(new Date).getMilliseconds()}}function g(e){return{type:i,data:e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(14),a=n.n(r),o=n(20),s=n(0),i=n(30);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(2),a=n(26),o=n(3);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(25),a=n.n(r),o=n(38),s=n.n(o),i=n(14),c=n.n(i),l=n(10),u=n.n(l),p=n(12),d=n.n(p),b=n(11),h=n.n(b),m=n(18),f=n.n(m),y=n(19),g=n.n(y),O=n(13),v=n.n(O),j=n(0),w=n(1),k=n.n(w);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=k.a.shape({value:k.a.string.isRequired,onChange:k.a.func.isRequired});t.a=function(e){return function(t){return function(n){f()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(r);if(o){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(h()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:k.a.node}}}]),l}(j.Component)}}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(25),a=n.n(r),o=n(38),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(21),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(16),o=n.n(a),s=n(23),i=n(9),c=n(15),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},function(e,t,n){"use strict";var r,a=n(25),o=n.n(a),s=n(16),i=n.n(s),c=n(0),l=n(5),u=n(15),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.yoast.externals.components},function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(8),a=n.n(r),o=n(10),s=n.n(o),i=n(12),c=n.n(i),l=n(4),u=n.n(l),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,a=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=a()(u.a.mark((function e(t){var n,r;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return b})),n.d(t,"fillReplacementVariables",(function(){return h})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return f})),n.d(t,"pushNewReplaceVar",(function(){return y})),n.d(t,"replaceSpaces",(function(){return g})),n.d(t,"prepareCustomFieldForDispatch",(function(){return O})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return j})),n.d(t,"mapCustomFields",(function(){return w})),n.d(t,"excerptFromContent",(function(){return k})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(14),a=n.n(r),o=n(3),s=n(106),i=n(40),c=n(41),l=n(43);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,b=["slug","content","contentImage","snippetPreviewImageURL"];function h(e,t){Object(o.forEach)(e,(function(e,n){b.includes(n)||t.dispatch(Object(i.n)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function f(e){return e=m(e),Object(c.b)(e)}function y(e,t){return e.push({name:t.name,label:t.label||f(t.name),value:t.value}),e}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function O(e){return{name:"cf_"+g(e),label:Object(c.b)(e+" (custom field)")}}function v(e){var t=g(e);return{name:"ct_"+t,label:Object(c.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(c.b)(e+" description (custom taxonomy)")}}function j(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.n)(a,e.name,o)),t.dispatch(Object(i.n)(s,e.description,c))})),Object(o.omit)(p({},e),"custom_taxonomies")):e}function w(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=O(n),a=r.name,o=r.label;t.dispatch(Object(i.n)(a,e,o))})),Object(o.omit)(p({},e),"custom_fields")):e}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),Object(l.isFeatureEnabled)("JAPANESE_SUPPORT")?/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" "))):e=e.substring(0,e.lastIndexOf(" "))),e}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";var r=n(29),a=n.n(r),o=n(0),s=n(1),i=n.n(s),c=n(2),l=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,s=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:s?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};l.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},l.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var u=l,p=function(e){var t=e.data,n=e.width,r=e.height,s=e.fillColor,i=e.strokeColor,c=e.strokeWidth,l=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,b=e.dataTableHeaderLabels,h=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.y}))))),y=r-c,g=t.map((function(e){var t=e.x/m*n,r=y-e.y/f*y+c;return"".concat(t,",").concat(r)})).join(" "),O="0,".concat(y+c," ")+g+" ".concat(n,",").concat(y+c);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:s,points:O}),Object(o.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:g})),p&&Object(o.createElement)(u,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:b,isDataTableVisuallyHidden:h}))};p.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired,fillColor:i.a.string,strokeColor:i.a.string,strokeWidth:i.a.number,className:i.a.string,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},function(e,t,n){"use strict";function r(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),r={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(r)})),t}(e).open()}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(26),a=n(23);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_red};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==s.return||s.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=window.moment},function(e,t,n){"use strict";var r=n(32),a=n.n(r),o=n(0),s=n(5),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(9),s=n(5),i=n(31),c=n.n(i),l=n(1),u=n.n(l),p=Object(o.makeOutboundLink)(),d=function(e){var t=Object(a.sprintf)(
|
2 |
-
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
3 |
-
Object(a.__)("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(r.createElement)(s.Alert,{type:"error"},c()({mixedString:t,components:{updateWincherPlanLink:Object(r.createElement)(p,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(a.sprintf)(
|
4 |
-
/* translators: %s : Expands to "Wincher". */
|
5 |
-
Object(a.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};d.propTypes={limit:u.a.number},d.defaultProps={limit:10},t.a=d},,function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(15),i=n(30),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(s.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(82);t.a=Object(r.compose)([Object(a.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,a=n.getIsModalOpen;return{postTypeName:r(),isOpen:a(t.id)}})),Object(a.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(o.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return E}));var r=n(14),a=n.n(r),o=n(10),s=n.n(o),i=n(12),c=n.n(i),l=n(11),u=n.n(l),p=n(18),d=n.n(p),b=n(19),h=n.n(b),m=n(13),f=n.n(m),y=n(0),g=n(2),O=n(5),v=n(1),j=n.n(v),w=n(50);var k=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return h()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
6 |
-
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
7 |
-
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(g.sprintf)(
|
8 |
-
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
9 |
-
Object(g._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(O.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(g.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(O.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(g.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),o}(y.Component),E=j.a.arrayOf(j.a.shape({name:j.a.string,value:j.a.string}));k.propTypes={postType:j.a.string.isRequired,postTypeName:j.a.string.isRequired,pageType:w.b.isRequired,articleType:w.b,pageTypeOptions:E.isRequired,articleTypeOptions:E.isRequired},k.defaultProps={articleType:null},t.a=Object(w.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(k)},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(10),a=n.n(r),o=n(12),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));var r=n(0),a=n(2),o=n(52),s=n(1),i=n.n(s),c=n(83),l=n(30),u=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},p=function(e){var t=e.id,n=e.postTypeName,s=e.children,i=e.title,p=e.isOpen,d=e.close,b=e.open,h=Object(r.useCallback)((function(e){u(e)&&d()}),[d]);return Object(r.createElement)(r.Fragment,null,p&&Object(r.createElement)(l.LocationProvider,{value:"modal"},Object(r.createElement)(o.a,{title:i,onRequestClose:h,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},s)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},Object(r.createElement)("p",null,
|
10 |
-
/* Translators: %s translates to the Post Label in singular form */
|
11 |
-
Object(a.sprintf)(Object(a.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:h},
|
12 |
-
/* Translators: %s translates to the Post Label in singular form */
|
13 |
-
Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(c.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:b}))};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},t.a=p},function(e,t,n){"use strict";var r=n(0),a=n(5),o=n(1),s=n.n(o),i=function(e){return Object(r.createElement)("div",{className:"yoast components-panel__body"},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(e.prefixIcon&&e.prefixIcon.color||"")}},Object(r.createElement)(a.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&Object(r.createElement)(a.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.a=i,i.propTypes={onClick:s.a.func.isRequired,title:s.a.string.isRequired,id:s.a.string,subTitle:s.a.string,suffixIcon:s.a.object,prefixIcon:s.a.object},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:""}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return g}));var r=n(0),a=n(1),o=n.n(a),s=n(2),i=n(3),c=n(68),l=n.n(c),u=n(5),p=n(9),d=n(59),b=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(s.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},h=Object(p.makeOutboundLink)();function m(e){return Math.round(100*e)}function f(e){var t=e.chartData;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
14 |
-
/* translators: %d expands to the amount of days */
|
15 |
-
return Object(s.sprintf)(Object(s._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),a=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:m,dataTableCaption:Object(s.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function g(e){var t=e.keyphrase,n=e.rowData,a=e.onTrackKeyphrase,o=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,m=!Object(i.isEmpty)(n),g=Object(r.useCallback)((function(){p||(m?o(t,n.id):a(t))}),[t,a,o,m,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",null,function(e){var t=e.keyphrase,n=e.isEnabled,a=e.toggleAction;return e.isLoading?Object(r.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:a,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:m,toggleAction:g,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,a=!Object(i.isEmpty)(t),o=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(s.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return a?o?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(f,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(h,{href:c},Object(s.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(b,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}f.propTypes={chartData:o.a.object},f.defaultProps={chartData:{}},g.propTypes={rowData:o.a.object,keyphrase:o.a.string.isRequired,onTrackKeyphrase:o.a.func,onUntrackKeyphrase:o.a.func,isFocusKeyphrase:o.a.bool,isDisabled:o.a.bool,isLoading:o.a.bool,websiteId:o.a.string},g.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(2),i=n(31),c=n.n(i),l=n(5),u=function(e){var t=Object(s.sprintf)(
|
16 |
-
/* translators: %s expands to a link to open the Wincher login popup. */
|
17 |
-
Object(s.__)("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:e.onReconnect},Object(s.sprintf)(
|
18 |
-
/* translators: %s : Expands to "Wincher". */
|
19 |
-
Object(s.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:o.a.func.isRequired},t.a=u},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(12),i=n.n(s),c=n(11),l=n.n(c),u=n(18),p=n.n(u),d=n(19),b=n.n(d),h=n(13),m=n.n(h),f=n(0),y=n(1),g=n.n(y),O=n(16),v=n.n(O),j=n(15),w=n.n(j),k=n(31),E=n.n(k),T=n(2),_=n(5),R=n(9),x=w()(_.Alert)(r||(r=v()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),S=Object(R.makeOutboundLink)(),P=function(e){var t=Object(T.sprintf)(
|
20 |
-
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
21 |
-
Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
|
22 |
-
/* Translators: %s expands to Yoast SEO Premium */
|
23 |
-
Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(x,{type:"info"},E()({mixedString:t,components:{strong:Object(f.createElement)("b",null)}}),Object(f.createElement)("br",null),Object(f.createElement)(S,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(f.createElement)("p",null,n))))};P.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=P,A=n(124),I=n(46);var q=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var a=m()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return i()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,s=e.imageWarnings,i=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,b=e.recommendedReplacementVariables,h=e.isPremium,m=e.location;return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(C,{socialMediumName:o}),Object(f.createElement)(A.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:i,descriptionInputPlaceholder:c,imageWarnings:s,replacementVariables:d,recommendedReplacementVariables:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:h,setEditorRef:this.setEditorRef,idSuffix:m}))}}]),a}(f.Component);q.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},q.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=q},function(e,t,n){"use strict";var r=n(6),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(63),s=n(91),i=n(92),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,b,h=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function f(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=f.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var b=0;b<t.length;b++)p+=e(i=t[b],d+l(i,b),r,o);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var m,f=h.call(t),y=0;!(m=f.next()).done;)p+=e(i=m.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),f.release(u)}f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(b=f).instancePool=[],b.getPooled=d||h,b.poolSize||(b.poolSize=10),b.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(63);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(31),s=n.n(o),i=n(9),c=Object(i.makeOutboundLink)(),l=Object(i.makeOutboundLink)();t.a=function(){var e=Object(a.sprintf)(Object(a.__)(
|
24 |
-
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
25 |
-
"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,s()({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(a.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,n){"use strict";var r,a,o=n(7),s=n(20),i=n(25),c=n.n(i),l=n(16),u=n.n(l),p=n(8),d=n.n(p),b=n(0),h=n(4),m=n.n(h),f=n(2),y=n(1),g=n.n(y),O=n(3),v=n(15),j=n.n(v),w=n(5),k=n(70),E=function(){return Object(b.createElement)(w.Alert,{type:"error"},Object(f.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"))},T=function(){return Object(b.createElement)(w.Alert,{type:"success"},Object(f.sprintf)(
|
26 |
-
/* translators: %s: Expands to "Wincher". */
|
27 |
-
Object(f.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher"))},_=function(){return Object(b.createElement)(w.Alert,{type:"info"},Object(f.sprintf)(
|
28 |
-
/* translators: %s: Expands to "Wincher". */
|
29 |
-
Object(f.__)("%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"))},R=n(14),x=n.n(R),S=n(10),P=n.n(S),C=n(12),A=n.n(C),I=n(11),q=n.n(I),L=n(18),F=n.n(L),N=n(19),D=n.n(N),K=n(13),M=n.n(K),W=n(9),B=n(86),H=n(27);var U=Object(W.makeOutboundLink)(),V=j.a.span(r||(r=u()(["\n\tposition: absolute;\n\t",": 8px;\n\tfont-style: italic;\n"])),Object(W.getDirectionalStyle)("right","left")),Y=j.a.th(a||(a=u()(["\n\tmin-width: 60px;\n"]))),z=function(e){F()(l,e);var t,n,r,a,o,s,i,c=(s=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=M()(s);if(i){var n=M()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return D()(this,e)});function l(e){var t;return P()(this,l),(t=c.call(this,e)).onTrackKeyphrase=t.onTrackKeyphrase.bind(q()(t)),t.onUntrackKeyphrase=t.onUntrackKeyphrase.bind(q()(t)),t.getTrackedKeyphrases=Object(O.debounce)(t.getTrackedKeyphrases,500,{leading:!0}).bind(q()(t)),t.interval=null,t.hasFetchedKeyphrasesAfterConnect=!1,t}return A()(l,[{key:"performTrackingRequest",value:(o=d()(m.a.mark((function e(t){var n,r,a,o,s,i,c,l,u=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.setKeyphraseLimitReached,a=n.addTrackedKeyphrase,o=n.setRequestSucceeded,s=n.setRequestFailed,i=n.removeTrackedKeyphrase,(c=Array.isArray(t)?t:[t]).map((function(e){return a(x()({},e.toLowerCase(),{keyword:e}))})),e.next=5,Object(H.b)();case 5:if(200!==(l=e.sent).status||l.canTrack){e.next=10;break}return c.map((function(e){return i(e)})),r(l.limit),e.abrupt("return");case 10:return e.next=12,Object(H.e)((function(){return Object(H.g)(t)}),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o(t),a(t.results),e.next=4,u.getTrackedKeyphrases(Object.keys(u.props.trackedKeyphrases));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s(t),c.map((function(e){return i(e)}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),201);case 12:case"end":return e.stop()}}),e,this)}))),function(_x){return o.apply(this,arguments)})},{key:"onTrackKeyphrase",value:(a=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,this.props.newRequest)(),e.next=4,this.performTrackingRequest(t);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"onUntrackKeyphrase",value:(r=d()(m.a.mark((function e(t,n){var r,a,o,s,i,c;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props,a=r.setRequestSucceeded,o=r.removeTrackedKeyphrase,s=r.addTrackedKeyphrase,i=r.setRequestFailed,t=t.toLowerCase(),c=this.getKeyphraseData(t),o(t),e.next=6,Object(H.e)((function(){return Object(H.h)(n)}),(function(e){a(e),o(t)}),function(){var e=d()(m.a.mark((function e(n){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(n),s(x()({},t,c));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"getTrackedKeyphrases",value:(n=d()(m.a.mark((function e(t){var n,r,a,o,s,i=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.setRequestSucceeded,a=n.setTrackedKeyphrases,o=n.setRequestFailed,s=n.permalink,e.next=3,Object(H.e)((function(){return Object(H.d)(t,s)}),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r(t),a(t.results),!Object(O.isEmpty)(t.results)){e.next=5;break}return clearInterval(i.interval),e.abrupt("return");case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"someKeyphrasesHaveNoRankingData",value:function(){var e=this.props.trackedKeyphrases;return!Object(O.isEmpty)(e)&&Object(O.filter)(e,(function(e){return Object(O.isEmpty)(e.updated_at)})).length>0}},{key:"componentDidMount",value:(t=d()(m.a.mark((function e(){var t,n,r,a,o,s=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.trackAll,r=t.isLoggedIn,a=t.keyphrases,o=t.permalink,r){e.next=3;break}return e.abrupt("return");case 3:if(!n){e.next=7;break}return e.next=6,this.performTrackingRequest(a);case 6:return e.abrupt("return");case 7:if(!o){e.next=11;break}return this.interval=setInterval(d()(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.getTrackedKeyphrases(a);case 2:case"end":return e.stop()}}),e)}))),1e4),e.next=11,this.getTrackedKeyphrases(a);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"setupInterval",value:function(){var e=this,t=this.props.keyphrases;clearInterval(this.interval),this.someKeyphrasesHaveNoRankingData()&&(this.interval=setInterval(d()(m.a.mark((function n(){return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.getTrackedKeyphrases(t);case 2:case"end":return n.stop()}}),n)}))),1e4))}},{key:"fetchKeyphraseDataIfNeeded",value:function(e){var t=this.props,n=t.keyphrases,r=t.isNewlyAuthenticated,a=t.permalink;a&&e.permalink!==a&&this.getTrackedKeyphrases(n),r&&!this.hasFetchedKeyphrasesAfterConnect&&(this.getTrackedKeyphrases(n),this.hasFetchedKeyphrasesAfterConnect=!0)}},{key:"componentDidUpdate",value:function(e){this.props.isLoggedIn&&(this.fetchKeyphraseDataIfNeeded(e),this.setupInterval())}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"getKeyphraseData",value:function(e){var t=this.props.trackedKeyphrases,n=e.toLowerCase();return t&&!Object(O.isEmpty)(t)&&t.hasOwnProperty(n)?t[n]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.websiteId,r=t.keyphrases,a=t.isLoggedIn,o=t.trackedKeyphrases,s=t.focusKeyphrase,i=a&&null===o,c=!a;return r&&!Object(O.isEmpty)(r)&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)("table",{className:"yoast yoast-table"},Object(b.createElement)("thead",null,Object(b.createElement)("tr",null,Object(b.createElement)("th",{scope:"col",abbr:Object(f.__)("Tracking","wordpress-seo")},Object(f.__)("Tracking","wordpress-seo")),Object(b.createElement)("th",{scope:"col",abbr:Object(f.__)("Keyphrase","wordpress-seo")},Object(f.__)("Keyphrase","wordpress-seo")),Object(b.createElement)("th",{scope:"col",abbr:Object(f.__)("Position","wordpress-seo")},Object(f.__)("Position","wordpress-seo")),Object(b.createElement)("th",{scope:"col",abbr:Object(f.__)("Position over time","wordpress-seo")},Object(f.__)("Position over time","wordpress-seo")),Object(b.createElement)(Y,{className:"yoast-table--nobreak"}))),Object(b.createElement)("tbody",null,r.map((function(t,r){return Object(b.createElement)(B.b,{key:"trackable-keyphrase-".concat(r),keyphrase:t,onTrackKeyphrase:e.onTrackKeyphrase,onUntrackKeyphrase:e.onUntrackKeyphrase,rowData:e.getKeyphraseData(t),isFocusKeyphrase:t===s.trim(),websiteId:n,isDisabled:c,isLoading:i})})))),Object(b.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(b.createElement)(U,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(f.sprintf)(
|
30 |
-
/* translators: %s expands to Wincher */
|
31 |
-
Object(f.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(b.createElement)(V,null,Object(f.__)("* focus keyphrase","wordpress-seo"))))}}]),l}(b.Component);z.propTypes={addTrackedKeyphrase:g.a.func.isRequired,isLoggedIn:g.a.bool,isNewlyAuthenticated:g.a.bool,keyphrases:g.a.array,newRequest:g.a.func.isRequired,removeTrackedKeyphrase:g.a.func.isRequired,setRequestFailed:g.a.func.isRequired,setKeyphraseLimitReached:g.a.func.isRequired,setRequestSucceeded:g.a.func.isRequired,setTrackedKeyphrases:g.a.func.isRequired,trackAll:g.a.bool,trackedKeyphrases:g.a.object,websiteId:g.a.string,permalink:g.a.string.isRequired,focusKeyphrase:g.a.string},z.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:{},websiteId:"",focusKeyphrase:""};var G,$,Z,J=z,Q=Object(s.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherWebsiteId,r=t.getWincherTrackedKeyphrases,a=t.getWincherTrackableKeyphrases,o=t.getWincherLoginStatus,s=t.getWincherPermalink,i=t.getFocusKeyphrase,c=t.isWincherNewlyAuthenticated,l=t.shouldWincherTrackAll;return{focusKeyphrase:i(),keyphrases:a(),trackedKeyphrases:r(),isLoggedIn:o(),trackAll:l(),websiteId:n(),isNewlyAuthenticated:c(),permalink:s()}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherNewRequest,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherSetKeyphraseLimitReached,s=t.setWincherTrackedKeyphrases,i=t.setWincherTrackingForKeyphrase,c=t.unsetWincherTrackingForKeyphrase;return{newRequest:function(){n()},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},setKeyphraseLimitReached:function(e){o(e)},addTrackedKeyphrase:function(e){i(e)},removeTrackedKeyphrase:function(e){c(e)},setTrackedKeyphrases:function(e){s(e)}}}))])(J),X=n(94),ee=function(){return Object(b.createElement)(w.Alert,{type:"error"},Object(f.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo"))},te=function(){return Object(b.createElement)(w.Alert,{type:"info"},Object(f.sprintf)(
|
32 |
-
/* translators: %s: Expands to "Wincher". */
|
33 |
-
Object(f.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"))},ne=n(57),re=n(88),ae=function(){return Object(b.createElement)(w.Alert,{type:"error"},Object(f.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"))},oe=function(e){var t=e.response,n=e.onLogin;return 400===t.status&&t.results&&!1===t.results.canTrack?Object(b.createElement)(k.a,{limit:t.results.limit}):403===t.status||404===t.status?Object(b.createElement)(re.a,{onReconnect:n}):Object(b.createElement)(E,null)};oe.propTypes={response:g.a.object.isRequired,onLogin:g.a.func.isRequired};var se=function(e){var t=e.isSuccess,n=e.response,r=e.allKeyphrasesMissRanking,a=e.onLogin;return Object(O.isEmpty)(n)||t?r?Object(b.createElement)(_,null):null:Object(b.createElement)(oe,{response:n,onLogin:a})};se.propTypes={isSuccess:g.a.bool.isRequired,allKeyphrasesMissRanking:g.a.bool.isRequired,response:g.a.object,onLogin:g.a.func.isRequired},se.defaultProps={response:{}};var ie=null,ce=function(){var e=d()(m.a.mark((function e(t,n){var r,a,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.onAuthentication,a=t.setRequestSucceeded,o=t.setRequestFailed,e.next=3,Object(H.e)((function(){return Object(H.a)(n)}),function(){var e=d()(m.a.mark((function e(t){var o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r(!0,!0,n.websiteId.toString()),a(t),(o=ie.getPopup())&&o.close();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(_x,t){return e.apply(this,arguments)}}(),le=function(){var e=d()(m.a.mark((function e(t){var n,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ie||ie.isClosed()){e.next=3;break}return ie.focus(),e.abrupt("return");case 3:return e.next=5,Object(H.c)();case 5:n=e.sent,r=n.url,(ie=new ne.a(r,{success:{type:"wincher:oauth:success",callback:function(e){return ce(t,e)}},error:{type:"wincher:oauth:error",callback:function(){return t.onAuthentication(!1,!1)}}},{title:"Wincher_login",width:500,height:700})).createPopup();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ue=function(e){return e.isLoggedIn?null:Object(b.createElement)("p",null,Object(b.createElement)(w.NewButton,{onClick:e.onLogin,variant:"primary"},Object(f.sprintf)(
|
34 |
-
/* translators: %s expands to Wincher */
|
35 |
-
Object(f.__)("Connect with %s","wordpress-seo"),"Wincher")))};ue.propTypes={isLoggedIn:g.a.bool.isRequired,onLogin:g.a.func.isRequired};var pe=j.a.div(G||(G=u()(["\n\tp {\n\t\tmargin: 1em 0;\n\t}\n"]))),de=j.a.div($||($=u()(["\n\t",";\n"])),(function(e){return e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"})),be=j.a.div(Z||(Z=u()(["\n\tfont-weight: var(--yoast-font-weight-bold);\n\tcolor: var(--yoast-color-label);\n\tfont-size: var(--yoast-font-size-default);\n"]))),he=function(e){var t=e.isLoggedIn,n=e.keyphrases,r=e.shouldTrackAll;return!e.permalink&&t?Object(b.createElement)(ae,null):0===n.length?Object(b.createElement)(ee,null):Object(b.createElement)(de,{isDisabled:!t},Object(b.createElement)("p",null,Object(f.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(b.createElement)(te,null),Object(b.createElement)(Q,null))};function me(e){var t=e.isNewlyAuthenticated,n=e.keyphraseLimitReached,r=e.limit,a=e.isLoggedIn,o=Object(b.useCallback)((function(){le(e)}),[le,e]);return Object(b.createElement)(pe,null,t&&Object(b.createElement)(T,null),Object(b.createElement)(be,null,Object(f.__)("SEO performance","wordpress-seo"),Object(b.createElement)(w.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(f.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(b.createElement)(X.a,null),Object(b.createElement)(ue,{isLoggedIn:a,onLogin:o}),Object(b.createElement)(se,c()({},e,{onLogin:o})),n&&Object(b.createElement)(k.a,{limit:r}),Object(b.createElement)(he,e))}he.propTypes={keyphrases:g.a.array.isRequired,isLoggedIn:g.a.bool.isRequired,shouldTrackAll:g.a.bool.isRequired,permalink:g.a.string.isRequired},me.propTypes={isLoggedIn:g.a.bool,isNewlyAuthenticated:g.a.bool,keyphrases:g.a.array,limit:g.a.number,keyphraseLimitReached:g.a.bool,response:g.a.object,shouldTrackAll:g.a.bool,permalink:g.a.string},me.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],limit:10,keyphraseLimitReached:!1,response:{},shouldTrackAll:!1,permalink:""},t.a=Object(s.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.isWincherNewlyAuthenticated,r=t.getWincherKeyphraseLimitReached,a=t.getWincherLimit,o=t.getWincherLoginStatus,s=t.getWincherRequestIsSuccess,i=t.getWincherRequestResponse,c=t.getWincherTrackableKeyphrases,l=t.getWincherAllKeyphrasesMissRanking,u=t.getWincherPermalink,p=t.shouldWincherAutomaticallyTrackAll;return{keyphrases:c(),allKeyphrasesMissRanking:l(),isLoggedIn:o(),isNewlyAuthenticated:n(),isSuccess:s(),keyphraseLimitReached:r(),limit:a(),response:i(),shouldTrackAll:p(),permalink:u()}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherWebsiteId,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherLoginStatus;return{setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},onAuthentication:function(e,t,r){n(r),o(e,t)}}}))])(me)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(16),s=n.n(o),i=n(15),c=n.n(i),l=n(5),u=n(9),p=c.a.div(r||(r=s()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=s()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return j}));var r=n(14),a=n.n(r),o=n(3),s=(n(146),n(56)),i=n(7);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",p=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},b={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function h(){var e=p.shift();e&&(Object(i.dispatch)("core/annotations").__experimentalAddAnnotation(e),m())}function m(){Object(o.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(h,{timeout:1e3}):setTimeout(h,150)}function f(){return Object(i.select)("core/block-editor")&&Object(o.isFunction)(Object(i.select)("core/block-editor").getBlocks)&&Object(i.select)("core/annotations")&&Object(o.isFunction)(Object(i.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(i.select)("yoast-seo/editor").getActiveMarker(),n=b[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,a=t.attributes,i=a[r];if(e.filter&&!e.filter(a))return[];var c=Object(s.create)({html:i,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(o.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),a=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var a,o=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)r.push(a),o=a+t.length;return r}(e,n);if(0===a.length)return[];var o=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),s=[];return o.forEach((function(e){a.forEach((function(r){var a=r+e.startOffset,o=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=r+n.length),s.push({startOffset:a,endOffset:o})}))})),s}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){p=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(p=[],Object(i.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(i.select)("core/block-editor").getBlocks();O(Object(o.flatMap)(n,(function(e){return Object(o.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),m()}}function j(){var e=Object(i.select)("core/editor").getSelectedBlock(),t=Object(i.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(i.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(i.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(i.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var a=r.marks;O(Object(o.flatMap)(y(e.name),(function(t){return g(t,e,a)}))),m()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r,a,o=n(6);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=o.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),a||(a=o.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,a=n(16),o=n.n(a),s=n(0),i=n(1),c=n.n(i),l=n(15),u=n.n(l),p=n(5),d=n(9),b=u()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),h=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(s.createElement)(b,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};h.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},h.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=h},function(e,t){e.exports=window.wp.sanitize},function(e,t,n){"use strict";var r=n(7),a=n(20),o=n(0),s=n(2),i=n(1),c=n.n(i),l=n(3),u=n(5),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
|
36 |
-
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
37 |
-
Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),b=Object(d.makeOutboundLink)(),h=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
|
38 |
-
/* translators: %s : Expands to "Semrush". */
|
39 |
-
Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(b,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
|
40 |
-
/* translators: %s : Expands to "Semrush". */
|
41 |
-
Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},m=n(8),f=n.n(m),y=n(10),g=n.n(y),O=n(12),v=n.n(O),j=n(11),w=n.n(j),k=n(18),E=n.n(k),T=n(19),_=n.n(T),R=n(13),x=n.n(R),S=n(4),P=n.n(S),C=n(34),A=n.n(C),I=n(39);var q="yoast-semrush-country-selector",L=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],F=function(e){E()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x()(r);if(a){var n=x()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return v()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){A()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=f()(P.a.mark((function e(){var t,n,r,a;return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=f()(P.a.mark((function e(t,n){return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(I.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:q},Object(o.createElement)(u.SingleSelect,{id:q+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:L,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:q+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);F.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},F.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var N=F,D=n(59),K=n(53);var M=Object(d.makeOutboundLink)(),W=function(e){E()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=x()(t);if(n){var a=x()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return _()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return v()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(K.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(K.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(D.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(M,{href:u},Object(s.sprintf)(
|
42 |
-
/* translators: %s expands to Semrush */
|
43 |
-
Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);W.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},W.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var B=W,H=Object(d.makeOutboundLink)(),U=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
|
44 |
-
/* translators: %s: Expands to "Yoast SEO". */
|
45 |
-
Object(s.__)("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(o.createElement)(H,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(s.sprintf)(
|
46 |
-
/* translators: %s: Expands to "Yoast SEO Premium". */
|
47 |
-
Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},V=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Y=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
|
48 |
-
/* translators: %s: Expands to "Yoast SEO". */
|
49 |
-
Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},z=n(22);function G(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,b=e.setRequestFailed,m=e.setNoResultsFound,f=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,O=Object(z.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!O&&Object(o.createElement)(U,null),O&&function(e){return e&&e.length>=4}(f)&&Object(o.createElement)(Y,null),Object(o.createElement)(N,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:b,setNoResultsFound:m,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(h,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(V,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(B,{keyphrase:r,relatedKeyphrases:f,countryCode:u,renderAction:c,data:t}))}G.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},G.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(G)},,function(e,t){e.exports=window.wp.blocks},,,function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(55),s=n(44);t.a=Object(r.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(s.a)()])(o.CollapsibleCornerstone)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,,function(e,t,n){"use strict";var r,a=n(14),o=n.n(a),s=n(0),i=n(20),c=n(7),l=n(2),u=n(1),p=n.n(u),d=n(29),b=n.n(d),h=n(16),m=n.n(h),f=n(5),y=n(21),g=n(9),O=n(31),v=n.n(O),j=n(15),w=n.n(j),k=n(78),E=n(43),T=w.a.div(r||(r=m()(["\n\tpadding: 16px;\n"]))),_=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
50 |
-
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
51 |
-
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(b()(e))},R=function(e){return Object(l.sprintf)(
|
52 |
-
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
53 |
-
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},x=function(e){return Object(s.createElement)(f.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};x.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var S=function(e){return Object(s.createElement)("p",null,e.helpTextDescription+" ",Object(s.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};S.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var P=function(e){var t,n=_(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=_(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(E.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(s.createElement)(s.Fragment,null,a?Object(s.createElement)(S,e):Object(s.createElement)(x,e),a&&Object(s.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(s.createElement)(f.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(s.createElement)(f.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(s.createElement)(f.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(s.createElement)("p",null,(t=e.postTypeName,v()({mixedString:R(t),components:{link:Object(s.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};P.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:k.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:k.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},P.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(s.createPortal)(Object(s.createElement)(T,null,Object(s.createElement)(P,e)),document.getElementById("wpseo-meta-section-schema")):Object(s.createElement)(P,e)};C.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var A=C,I=n(79),q=n(44);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N=function(e){var t=null!==I.a.articleTypeInput;Object(s.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},i=F(F(F({},e),o),"metabox"===e.location?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1});return Object(s.createElement)(A,i)};N.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(i.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,s=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:s(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(q.a)()])(N)},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(0),s=n(2),i=n(5),c=n(9),l=n(1),u=n.n(l),p=n(30),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,l=function(e){var t=Object(s.__)("No","wordpress-seo"),n=Object(s.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(s.sprintf)(
|
54 |
-
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
55 |
-
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
|
56 |
-
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
57 |
-
Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(i.Alert,{type:"warning"},Object(s.__)("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(o.createElement)(i.Select,{label:Object(s.sprintf)(
|
58 |
-
/* Translators: %s translates to the Post Label in singular form */
|
59 |
-
Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(s.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var b=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
|
60 |
-
/* Translators: %s translates to the Post Label in singular form */
|
61 |
-
Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};b.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var h=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};h.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var m=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};m.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var f=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};f.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:O,isPrivateBlog:j},k={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},E={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},_={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),O.isPost&&Object(o.createElement)(b,k),O.isPost&&Object(o.createElement)(h,E),!v&&Object(o.createElement)(m,T),Object(o.createElement)(f,_))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(21),o=n(1),s=n.n(o),i=n(89),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(32),s=n.n(o),i=n(0),c=n(21),l=n(1),u=n.n(l),p=n(89);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=Object(i.useState)(""),n=s()(t,2),r=n[0],a=n[1],o=Object(i.useCallback)((function(e){a(e.detail.metaTabId)}),[a]);Object(i.useEffect)((function(){return setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),function(){window.removeEventListener("YoastSEO:metaTabChange",o)}}),[]);var l=Object(i.useMemo)((function(){return b(b({},e),{},{activeMetaTabId:r})}),[e,r]);return e.isPremium?Object(i.createElement)(c.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:l}):Object(i.createElement)(p.a,l)};h.propTypes={isPremium:u.a.bool.isRequired,onLoad:u.a.func.isRequired,location:u.a.string.isRequired},t.a=h},,,,,,,,function(e,t,n){"use strict";var r=n(7),a=n(5);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(25),s=n.n(o),i=n(0),c=n(20),l=n(7),u=n(2),p=n(122),d=n(30),b=n(105),h=n(58),m=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(h.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,b=t.isCornerstoneContent,h=t.getIsTerm,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d(),isCornerstone:b(),isTaxonomy:h()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(b.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:m,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(9),s=n(123),i=n(22),c=n(44),l=n(60),u=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateTwitterImage)(e)})},p=function(){Object(l.a)(u)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,o=t.getFacebookImageUrl,s=t.getFacebookTitle,c=t.getFacebookDescription,l=t.getDescription,u=t.getSeoTitle,p=t.getTwitterWarnings,d=t.getTwitterImageType,b=t.getImageFallback,h=t.getRecommendedReplaceVars,m=t.getReplaceVars,f=t.getSiteUrl,y=t.getSeoTitleTemplate,g=t.getSeoTitleTemplateNoFallback,O=t.getSocialTitleTemplate,v=t.getSeoDescriptionTemplate,j=t.getSocialDescriptionTemplate,w=t.getReplacedExcerpt;return{imageUrl:a(),imageFallbackUrl:o()||b(),recommendedReplacementVariables:h(),replacementVariables:m(),description:n(),descriptionPreviewFallback:j()||c()||l()||v()||w()||"",title:r(),titlePreviewFallback:O()||s()||u()||g()||y()||"",imageWarnings:p(),siteUrl:f(),isPremium:!!Object(i.a)().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(s.a)},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(9),s=n(125),i=n(22),c=n(44),l=n(60),u=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateFacebookImage)(e)})},p=function(){Object(l.a)(u)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,o=t.getSeoTitle,s=t.getFacebookImageUrl,c=t.getImageFallback,l=t.getFacebookWarnings,u=t.getRecommendedReplaceVars,p=t.getReplaceVars,d=t.getSiteUrl,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,m=t.getSocialTitleTemplate,f=t.getSeoDescriptionTemplate,y=t.getSocialDescriptionTemplate,g=t.getReplacedExcerpt;return{imageUrl:s(),imageFallbackUrl:c(),recommendedReplacementVariables:u(),replacementVariables:p(),description:n(),descriptionPreviewFallback:y()||r()||f()||g()||"",title:a(),titlePreviewFallback:m()||o()||h()||b()||"",imageWarnings:l(),siteUrl:d(),isPremium:!!Object(i.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(s.a)},,,,,,,function(e,t){e.exports=window.wp.editPost},function(e,t,n){"use strict";var r,a,o,s,i=n(36),c=n.n(i),l=n(29),u=n.n(l),p=n(32),d=n.n(p),b=n(0),h=/<(\/)?(\w+)\s*(\/)?>/g;function m(e,t,n,r,a){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:a,children:[]}}function f(){var e=r.length-a;0!==e&&o.push(r.substr(a,e))}function y(e){var t=e.element,n=e.tokenStart,a=e.tokenLength,o=e.prevOffset,i=e.children,c=s[s.length-1],l=r.substr(c.prevOffset,n-c.prevOffset);l&&c.children.push(l),c.children.push(b.cloneElement.apply(void 0,[t,null].concat(u()(i)))),c.prevOffset=o||n+a}function g(e){var t=function(){var e=h.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=d()(e,4),a=n[0],o=n[1],s=n[2],i=n[3],c=a.length;return i?["self-closed",s,t,c]:o?["closer",s,t,c]:["opener",s,t,c]}(),n=d()(t,4),i=n[0],c=n[1],l=n[2],p=n[3],g=s.length,O=l>a?a:null;if(!e[c])return f(),!1;switch(i){case"no-more-tokens":if(0!==g){var v=s.pop(),j=v.leadingTextStart,w=v.tokenStart;o.push(r.substr(j,w))}return f(),!1;case"self-closed":return 0===g?(null!==O&&o.push(r.substr(O,l-O)),o.push(e[c]),a=l+p,!0):(y(m(e[c],l,p)),a=l+p,!0);case"opener":return s.push(m(e[c],l,p,l+p,O)),a=l+p,!0;case"closer":if(1===g)return function(e){var t=s.pop(),n=t.element,a=t.leadingTextStart,i=t.prevOffset,c=t.tokenStart,l=t.children,p=e?r.substr(i,e-i):r.substr(i);p&&l.push(p),null!==a&&o.push(r.substr(a,c-a)),o.push(b.cloneElement.apply(void 0,[n,null].concat(u()(l))))}(l),a=l+p,!0;var k=s.pop(),E=r.substr(k.prevOffset,l-k.prevOffset);k.children.push(E),k.prevOffset=l+p;var T=m(k.element,k.tokenStart,k.tokenLength,l+p);return T.children=k.children,y(T),a=l+p,!0;default:return f(),!1}}t.a=function(e,t){if(r=e,a=0,o=[],s=[],h.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(b.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return b.createElement.apply(void 0,[b.Fragment,null].concat(u()(o)))}},,function(e,t){e.exports=window.wp.annotations},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(21),i=n(113),c=n(76);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(s.Slot,{name:"YoastMetabox"},(function(e){return Object(i.a)(e)})))}var u=n(7),p=n(20),d=n(2),b=n(112),h=n(134),m=n(133),f=n(55),y=n(54),g=n(33),O=n(117),v=n(136),j=n(135),w=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(y.a,{hasSeparator:!1
|
62 |
-
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(v.a,null)),n&&Object(r.createElement)(y.a
|
63 |
-
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(j.a,null)))};w.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=w,E=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(42);function _(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(E,null))}_.propTypes={target:o.a.string.isRequired};var R=n(116),x=n(107),S=n(95),P=n(23);function C(e){var t=e.settings,n=e.wincherKeyphrases,a=e.setWincherNoKeyphrase,o=Object(r.useCallback)((function(){if(!n.length)return a(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1}),[n,a]);return Object(r.createElement)(s.Fill,{name:"YoastMetabox"},Object(r.createElement)(g.a,{key:"warning",renderPriority:1},Object(r.createElement)(m.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(s.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(x.a,null))),Object(r.createElement)(g.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(h.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(g.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(f.ReadabilityAnalysis,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(g.a,{key:"wincher-seo-performance",renderPriority:25},Object(r.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(d.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:P.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:P.colors.$color_grey_medium_dark},onToggle:o},Object(r.createElement)(S.a,null))),t.isCornerstoneActive&&Object(r.createElement)(g.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(b.a,null)),t.displayAdvancedTab&&Object(r.createElement)(g.a,{key:"advanced",renderPriority:40},Object(r.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(O.a,null))),t.displaySchemaSettings&&Object(r.createElement)(g.a,{key:"schema",renderPriority:50},Object(r.createElement)(R.a,null)),Object(r.createElement)(g.a,{key:"social",renderPriority:-1},Object(r.createElement)(_,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired,wincherKeyphrases:o.a.array.isRequired,setWincherNoKeyphrase:o.a.func.isRequired};var A=Object(p.compose)([Object(u.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPreferences,a=n.getWincherTrackableKeyphrases;return{settings:r(),store:t.store,wincherKeyphrases:a()}})),Object(u.withDispatch)((function(e){return{setWincherNoKeyphrase:e("yoast-seo/editor").setWincherNoKeyphrase}}))])(C);function I(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(l,{store:n,theme:a}),Object(r.createElement)(A,{store:n,theme:a}))}I.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,function(e,t,n){"use strict";var r=n(7),a=n(20),o=n(0),s=n(2),i=n(1),c=n.n(i),l=n(23),u=n(97),p=n(52),d=n(104),b=n(82),h=n(83),m=n(95),f=n(43);function y(e){var t=e.keyphrases,n=e.onNoKeyphraseSet,r=e.onOpen,a=e.location;t.length?r(a):n()}function g(e,t){Object(b.b)(t)&&e.onClose()}function O(e){if(!Object(f.isFeatureEnabled)("WINCHER_INTEGRATION"))return null;var t=e.location,n=e.whichModalOpen,r=Object(o.useCallback)((function(){y(e)}),[y,e]),a=Object(o.useCallback)((function(t){g(e,t)}),[g,e]),i=Object(s.__)("Track SEO performance","wordpress-seo");return Object(o.createElement)(o.Fragment,null,n===t&&Object(o.createElement)(p.a,{title:i,onRequestClose:a,icon:Object(o.createElement)(d.a,null),additionalClassName:"yoast-wincher-seo-performance-modal"},Object(o.createElement)(u.a,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},Object(o.createElement)(m.a,null))),"sidebar"===t&&Object(o.createElement)(h.a,{id:"wincher-open-button-".concat(t),title:i,suffixIcon:{size:"20px",icon:"pencil-square"},prefixIcon:{icon:"chart-square-bar",color:l.colors.$color_grey_medium_dark},onClick:r}))}O.propTypes={location:c.a.string,whichModalOpen:c.a.oneOf(["none","metabox","sidebar"])},O.defaultProps={location:"",whichModalOpen:"none"},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherModalOpen;return{keyphrases:(0,t.getWincherTrackableKeyphrases)(),whichModalOpen:n()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherOpenModal,r=t.setWincherDismissModal,a=t.setWincherNoKeyphrase;return{onOpen:function(e){n(e)},onClose:function(){r()},onNoKeyphraseSet:function(){a()}}}))])(O)},,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return w}));var r=n(14),a=n.n(r),o=n(10),s=n.n(o),i=n(12),c=n.n(i),l=n(7),u=n(17),p=n(3),d=n(26),b=n(101),h=n(58);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=u.actions.updateReplacementVariable,g=u.actions.updateData,O=u.actions.hideReplacementVariables,v=u.actions.setContentImage,j=e.jQuery,w=function(){function e(t,n){s()(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this._data=this.getInitialData(e),Object(h.fillReplacementVariables)(this._data,this._store),this._store.dispatch(O(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=Object(h.mapCustomFields)(e,this._store),f(f({},e=Object(h.mapCustomTaxonomies)(e,this._store)),t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=Object(l.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(l.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){var e=this.getPostAttribute("content"),t=this.calculateContentImage(e),n=this.getPostAttribute("excerpt")||"";return{content:e,title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:n||Object(h.excerptFromContent)(e),excerpt_only:n,snippetPreviewImageURL:this.getFeaturedImage()||t,contentImage:t}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"calculateContentImage",value:function(e){var t=d.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),a=(r=j(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch(y("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch(y("excerpt",e.excerpt)),this._store.dispatch(y("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch(g({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch(g({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch(v(e.contentImage))}},{key:"reapplyMarkers",value:function(){var e=Object(l.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),a=n();r&&!a&&Object(b.c)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=Object(l.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(p.debounce)(this.refreshYoastSEO,500),Object(l.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},Object(l.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}()}).call(this,n(167))},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r,a=n(38),o=n.n(a),s=n(0),i=n(143),c=n(176),l=n(109),u=n(7),p=n(2),d=n(56),b=n(3),h=n(21),m=n(17),f=n(20),y=n(23),g=n(45),O=n(25),v=n.n(O),j=n(16),w=n.n(j),k=n(1),E=n.n(k),T=n(15),_=n.n(T).a.svg(r||(r=w()(["\n\twidth: ","px;\n\theight: ","px;\n\t&&& path {\n\t\tfill: ",";\n\t}\n\t&&& circle.yoast-icon-readability-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n\t\n\t&&& circle.yoast-icon-seo-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.color}),(function(e){return e.readabilityScoreColor}),(function(e){return e.isContentAnalysisActive?"inline":"none"}),(function(e){return e.seoScoreColor}),(function(e){return e.isKeywordAnalysisActive?"inline":"none"})),R=function(e){return Object(s.createElement)(_,v()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(s.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),Object(s.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),Object(s.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),Object(s.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};R.propTypes={readabilityScoreColor:E.a.string,isContentAnalysisActive:E.a.bool,seoScoreColor:E.a.string,isKeywordAnalysisActive:E.a.bool,size:E.a.number,color:E.a.string},R.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var x=R,S=Object(f.compose)([Object(u.withSelect)((function(e){var t,n,r=e("yoast-seo/editor"),a=Object(g.a)(r.getResultsForFocusKeyword().overallScore),o=Object(g.a)(r.getReadabilityResults().overallScore),s=r.getPreferences(),i=s.isKeywordAnalysisActive,c=s.isContentAnalysisActive;switch(o.className){case"good":t=y.colors.$color_good;break;case"ok":t=y.colors.$color_ok;break;case"bad":default:t=y.colors.$color_bad}switch(a.className){case"good":n=y.colors.$color_good;break;case"ok":n=y.colors.$color_ok;break;case"bad":default:n=y.colors.$color_bad}return{readabilityScoreColor:t,seoScoreColor:n,isKeywordAnalysisActive:i,isContentAnalysisActive:c}}))])(x),P=n(112),C=n(133),A=n(55),I=n(33),q=n(77),L=n(134),F=function(){return Object(s.createElement)(q.a,{title:Object(p.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(s.createElement)(L.a,{showCloseButton:!1,hasPaperStyle:!1}))},N=n(135),D=function(){return Object(s.createElement)(q.a,{title:Object(p.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(s.createElement)(N.a,null))},K=n(136),M=function(){return Object(s.createElement)(q.a,{title:Object(p.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(s.createElement)(K.a,null))},W=n(116),B=n(69),H=n(117),U=n(159);function V(e){var t=e.settings;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(h.Fill,{name:"YoastSidebar"},Object(s.createElement)(I.a,{key:"warning",renderPriority:1},Object(s.createElement)(C.a,null)),t.isKeywordAnalysisActive&&Object(s.createElement)(I.a,{key:"keyword-input",renderPriority:8},Object(s.createElement)(A.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(s.createElement)(I.a,{key:"google-preview",renderPriority:23},Object(s.createElement)(F,null)),t.displayFacebook&&Object(s.createElement)(I.a,{key:"facebook-preview",renderPriority:24},Object(s.createElement)(M,null)),t.displayTwitter&&Object(s.createElement)(I.a,{key:"twitter-preview",renderPriority:25},Object(s.createElement)(D,null)),t.displaySchemaSettings&&Object(s.createElement)(I.a,{key:"schema",renderPriority:26},Object(s.createElement)(B.a,{title:Object(p.__)("Schema","wordpress-seo")},Object(s.createElement)(W.a,null))),t.displayAdvancedTab&&Object(s.createElement)(I.a,{key:"advanced",renderPriority:27},Object(s.createElement)(B.a,{title:Object(p.__)("Advanced","wordpress-seo")},Object(s.createElement)(H.a,null))),t.isContentAnalysisActive&&Object(s.createElement)(I.a,{key:"readability",renderPriority:10},Object(s.createElement)(A.ReadabilityAnalysis,null)),t.isKeywordAnalysisActive&&Object(s.createElement)(I.a,{key:"seo",renderPriority:20},Object(s.createElement)(A.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(s.createElement)(I.a,{key:"cornerstone",renderPriority:30},Object(s.createElement)(P.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(s.createElement)(I.a,{renderPriority:22},Object(s.createElement)(U.a,{location:"sidebar"}))))}V.propTypes={settings:E.a.object.isRequired};var Y=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(V),z=n(154),G=n(101),$=n(113),Z=n(76);function J(e){var t=e.theme;return Object(s.createElement)(Z.a,{theme:t,location:"sidebar"},Object(s.createElement)(h.Slot,{name:"YoastSidebar"},(function(e){return Object($.a)(e)})))}var Q=n(10),X=n.n(Q),ee=n(12),te=n.n(ee),ne=n(11),re=n.n(ne),ae=n(18),oe=n.n(ae),se=n(19),ie=n.n(se),ce=n(13),le=n.n(ce),ue=n(39),pe=n(177),de=n(14),be=n.n(de),he=n(32),me=n.n(he),fe=n(53),ye=n(144);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=Object(h.withSpokenMessages)((function(e){var t=e.isActive,n=e.activeAttributes,r=e.addingLink,a=e.value,o=e.onChange,i=e.speak,c=e.stopAddingLink,l=Object(s.useMemo)(b.uniqueId,[r]),u=Object(s.useState)(),m=me()(u,2),f=m[0],y=m[1],g=Object(s.useMemo)((function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(r&&!t)return n;var a=n.startContainer;for(a=a.nextElementSibling||a;a.nodeType!==window.Node.ELEMENT_NODE;)a=a.parentNode;return a.closest("a")}}),[r,a.start,a.end]),O=Oe({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},f),v=Object(s.createElement)(fe.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(p.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),j=Object(ye.a)(Object(p.sprintf)(Object(p.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(s.createElement)("code",null),helplink:v}),w=Object(ye.a)(Object(p.sprintf)(Object(p.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(s.createElement)("code",null),helplink:v}),k=[{id:"opensInNewTab",title:Object(p.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:j},{id:"sponsored",title:w}],E=window.wp.blockEditor.__experimentalLinkControl;return Object(s.createElement)(h.Popover,{key:l,anchorRef:g,focusOnMount:!!r&&"firstElement",onClose:c,position:"bottom center"},Object(s.createElement)(E,{value:O,onChange:function(e){e=Oe(Oe({},f),e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var r=n&&void 0===e.url;if(y(r?e:void 0),!r){var s=Object(ue.prependHTTP)(e.url),l=function(e){var t=e.noFollow,n=e.sponsored,r={type:"core/link",attributes:{url:e.url}},a=[];return e.opensInNewWindow&&(r.attributes.target="_blank",a.push("noreferrer noopener")),n&&(a.push("sponsored"),a.push("nofollow")),t&&a.push("nofollow"),a.length>0&&(a=Object(b.uniq)(a),r.attributes.rel=a.join(" ")),r}({url:s,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if(Object(d.isCollapsed)(a)&&!t){var u=e.title||s,h=Object(d.applyFormat)(Object(d.create)({text:u}),l,0,u.length);o(Object(d.insert)(a,h))}else{var m=Object(d.applyFormat)(a,l);m.start=m.end,m.activeFormats=[],o(m)}n||c(),function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=Object(ue.getProtocol)(t);if(!Object(ue.isValidProtocol)(n))return!1;if(Object(b.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var r=Object(ue.getAuthority)(t);if(!Object(ue.isValidAuthority)(r))return!1;var a=Object(ue.getPath)(t);if(a&&!Object(ue.isValidPath)(a))return!1;var o=Object(ue.getQueryString)(t);if(o&&!Object(ue.isValidQueryString)(o))return!1;var s=Object(ue.getFragment)(t);if(s&&!Object(ue.isValidFragment)(s))return!1}return!(Object(b.startsWith)(t,"#")&&!Object(ue.isValidFragment)(t))}(s)?i(t?Object(p.__)("Link edited.","wordpress-seo"):Object(p.__)("Link inserted.","wordpress-seo"),"assertive"):i(Object(p.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")}},forceIsEditingLink:r,settings:k}))}));var je=Object(p.__)("Link","wordpress-seo"),we={name:"core/link",title:je,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if(Object(d.isCollapsed)(e))return e;var a=(n||r).replace(/<[^>]+>/g,"").trim();return Object(ue.isURL)(a)?(window.console.log("Created link:\n\n",a),Object(d.applyFormat)(e,{type:"core/link",attributes:{url:Object(pe.decodeEntities)(a)}})):e},edit:Object(h.withSpokenMessages)(function(e){oe()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=le()(t);if(n){var a=le()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return ie()(this,e)});function a(){var e;return X()(this,a),(e=r.apply(this,arguments)).addLink=e.addLink.bind(re()(e)),e.stopAddingLink=e.stopAddingLink.bind(re()(e)),e.onRemoveFormat=e.onRemoveFormat.bind(re()(e)),e.state={addingLink:!1},e}return te()(a,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=Object(d.getTextContent)(Object(d.slice)(t));r&&Object(ue.isURL)(r)?n(Object(d.applyFormat)(t,{type:"core/link",attributes:{url:r}})):r&&Object(ue.isEmail)(r)?n(Object(d.applyFormat)(t,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n(Object(d.removeFormat)(t,"core/link")),r(Object(p.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,a=e.onChange,o=window.wp.blockEditor,i=o.RichTextToolbarButton,c=o.RichTextShortcut;return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(c,{type:"primary",character:"k",onUse:this.addLink}),Object(s.createElement)(c,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&Object(s.createElement)(i,{name:"link",icon:"editor-unlink",title:Object(p.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(s.createElement)(i,{name:"link",icon:"admin-links",title:je,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&Object(s.createElement)(ve,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:a}))}}]),a}(s.Component))},ke=n(5),Ee=n(64);function Te(e){var t=e.score,n=e.label,r=e.scoreValue;return Object(s.createElement)("div",null,Object(s.createElement)(ke.SvgIcon,Object(Ee.getIconForScore)(t)),Object(s.createElement)("span",null," ",n," ",r&&Object(s.createElement)("strong",null,r)))}function _e(e){var t=e.checklist,n=e.onClick,r=t.every((function(e){return"good"===e.score}));return Object(s.createElement)(s.Fragment,null,t.map((function(e){return Object(s.createElement)(Te,v()({key:e.label},e))})),Object(s.createElement)("br",null),!r&&Object(s.createElement)(ke.Button,{onClick:n},Object(p.__)("Improve your post with Yoast SEO","wordpress-seo")))}function Re(e){var t,n=e.checklist,r=e.onClick;return t=n.every((function(e){return"good"===e.score}))?Object(p.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(p.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(s.createElement)(s.Fragment,null,Object(s.createElement)("p",null,t),Object(s.createElement)(_e,{checklist:n,onClick:r}))}function xe(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=Object(g.a)(t.getReadabilityResults().overallScore);e.push({label:Object(p.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Se(e,t){if(t.getPreferences().isContentAnalysisActive){var n=Object(g.a)(t.getResultsForFocusKeyword().overallScore);e.push({label:Object(p.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Pe(e,t,n){if(n.getBlocks().some((function(e){return!0===e.attributes["is-yoast-schema-block"]}))){var r=t.getSchemaBlocksValidationResults(),a=Object.values(r);if(a&&a.length>0){var o=a.every((function(e){return e.result<=0}));e.push({label:Object(p.__)("Schema analysis:","wordpress-seo"),score:o?"good":"bad",scoreValue:o?Object(p.__)("Good","wordpress-seo"):Object(p.__)("Needs improvement","wordpress-seo")})}}}Te.propTypes={score:k.string.isRequired,label:k.string.isRequired,scoreValue:k.string},Te.defaultProps={scoreValue:""},_e.propTypes={checklist:E.a.array.isRequired,onClick:E.a.func.isRequired},Re.propTypes={checklist:E.a.array.isRequired,onClick:E.a.func.isRequired};var Ce,Ae,Ie,qe=Object(f.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),a=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(p.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(a,t),xe(a,t),Se(a,t),Pe(a,n,r),{checklist:a}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}))])(Re),Le=Object(f.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),a=[];return xe(a,t),Se(a,t),Pe(a,n,r),{checklist:a}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}))])(_e),Fe=n(6);function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function De(e){return Fe.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),Ce||(Ce=Fe.createElement("g",{fill:"none",fillRule:"evenodd"},Fe.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 10-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 00675-790"}),Fe.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 00250 0v-559h186z"}))))}function Ke(){return(Ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Me(e){return Fe.createElement("svg",Ke({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Ae||(Ae=Fe.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),Ie||(Ie=Fe.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff"})))}function We(e){var t=e.permalink,n=encodeURI(t);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("div",null,Object(p.__)("Share your post!","wordpress-seo")),Object(s.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(s.createElement)("li",null,Object(s.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},Object(s.createElement)(De,null),Object(p.__)("Facebook","wordpress-seo"),Object(s.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(s.createElement)("li",null,Object(s.createElement)("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},Object(s.createElement)(Me,null),Object(p.__)("Twitter","wordpress-seo"),Object(s.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(Opens in a new browser tab)","wordpress-seo"))))))}We.propTypes={permalink:E.a.string.isRequired};var Be=Object(f.compose)([Object(u.withSelect)((function(e){return{permalink:e("core/editor").getPermalink()}}))])(We),He=n(94);function Ue(e){var t=e.hasTrackedKeyphrases,n=e.trackAll,r=e.keyphrases,a=Object(s.useCallback)((function(){n(r)}),[n,r]);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(ke.FieldGroup,{label:Object(p.__)("SEO performance","wordpress-seo"),linkTo:"https://google.com",linkText:Object(p.__)("Learn more about the SEO performance feature.","wordpress-seo")}),Object(s.createElement)(He.a,null),t&&Object(s.createElement)("p",null,Object(p.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")),Object(s.createElement)("div",{className:"yoast"},Object(s.createElement)(ke.NewButton,{variant:"secondary",onClick:a},Object(p.__)("Track all keyphrases on this page","wordpress-seo"))))}Ue.propTypes={keyphrases:E.a.array,trackAll:E.a.func,hasTrackedKeyphrases:E.a.bool},Ue.defaultProps={keyphrases:[],trackAll:function(){},hasTrackedKeyphrases:!1};var Ve=Object(f.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherTrackedKeyphrases,r=t.hasWincherTrackedKeyphrases,a=t.getWincherTrackableKeyphrases;return{trackedKeyphrases:n(),hasTrackedKeyphrases:r(),keyphrases:a()}})),Object(u.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherOpenModal,r=t.setWincherTrackAllKeyphrases;return{trackAll:function(e){r(e),n("sidebar")}}}))])(Ue),Ye=n(22);var ze=n(178);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){var t=Object(Ye.a)(),n=t.isPremium,r=n?"Yoast SEO Premium":"Yoast SEO",a=Object(s.createElement)(x,null);Object(l.updateCategory)("yoast-structured-data-blocks",{icon:a}),Object(l.updateCategory)("yoast-internal-linking-blocks",{icon:a});var o={isRtl:t.isRtl},d=e.getState().preferences,b=d.isKeywordAnalysisActive||d.isContentAnalysisActive,m=d.isZapierIntegrationActive&&!d.isZapierConnected,f=d.isKeywordAnalysisActive&&d.isWincherIntegrationActive;!Object(u.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(u.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(c.registerPlugin)("yoast-seo",{render:function(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)(i.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(s.createElement)(S,null)},r),Object(s.createElement)(i.PluginSidebar,{name:"seo-sidebar",title:r},Object(s.createElement)(J,{store:e,theme:o})),Object(s.createElement)(s.Fragment,null,Object(s.createElement)(Y,{store:e,theme:o}),Object(s.createElement)(z.a,{target:"wpseo-metabox-root",store:e,theme:o})),b&&Object(s.createElement)(i.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(p.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(s.createElement)(s.Fragment,null)},Object(s.createElement)(qe,null)),n&&m&&Object(s.createElement)(i.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(s.createElement)(s.Fragment,null)},Object(s.createElement)(h.Slot,{name:"YoastZapierPrePublish"})),Object(s.createElement)(i.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(p.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(s.createElement)(s.Fragment,null)},Object(s.createElement)(Be,null),f&&Object(s.createElement)(Ve,null)),b&&Object(s.createElement)(i.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(p.__)("Yoast SEO","wordpress-seo"),icon:Object(s.createElement)(s.Fragment,null)},Object(s.createElement)(Le,null)))},icon:Object(s.createElement)(S,null)})})(e),"function"==typeof Object(b.get)(window,"wp.blockEditor.__experimentalLinkControl")?[we].forEach((function(e){var t=e.name,n=e.replaces,r=o()(e,["name","replaces"]);n&&Object(u.dispatch)("core/rich-text").removeFormatTypes(n),t&&Object(d.registerFormatType)(t,r)})):console.warn(Object(p.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(p.sprintf)(Object(p.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(G.b)()&&e.dispatch(m.actions.setMarkerStatus("enabled"))}(e)},window.yoast.EditorData=ze.a}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/dist/block-editor.js
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=203)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){function n(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,c,"next",e)}function c(e){n(i,a,o,s,c,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(35),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t,n){var r=n(67),a=n(68),o=n(69);e.exports=function(e){return r(e)||a(e)||o()}},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=window.yoast.analysis},,function(e,t,n){var r=n(64),a=n(65),o=n(66);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=s(n(5)),o=s(n(89)),i=s(n(92));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,i.default)(t);try{return function e(t,n){var i,s,l,u,p,d,b,m,h=[],f={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){i=n[p.value],l=d;break}h.push(n[p.value])}else h.push(p.value);return i&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),b=e(t.slice(l+1,u),n),s=a.default.cloneElement(i,{},b),h.push(s),u<t.length-1&&(m=e(t.slice(u+1),n),h=h.concat(m))),1===h.length?h[0]:(h.forEach((function(e,t){e&&(f["interpolation-child-"+t]=e)})),(0,o.default)(f))}(l,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return m})),n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return g})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return w}));var r=n(16),a=n.n(r),o=n(7),i=n.n(o),s=n(36),c=n.n(s),l=n(3);function u(_x){return p.apply(this,arguments)}function p(){return(p=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return b.apply(this,arguments)}function b(){return(b=a()(i.a.mark((function e(t,n,r){var a,o,s=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=s.length>3&&void 0!==s[3]?s[3]:200,e.prev=1,e.next=4,t();case 4:if(!(o=e.sent)){e.next=9;break}if(o.status!==a){e.next=8;break}return e.abrupt("return",n(o));case 8:return e.abrupt("return",r(o));case 9:return e.abrupt("return",!1);case 12:e.prev=12,e.t0=e.catch(1),console.error(e.t0.message);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))).apply(this,arguments)}function m(){return h.apply(this,arguments)}function h(){return(h=a()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function f(e){return y.apply(this,arguments)}function y(){return(y=a()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,u({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return O.apply(this,arguments)}function O(){return(O=a()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:null,n=a.length>1&&void 0!==a[1]?a[1]:null,r=a.length>2?a[2]:void 0,e.next=5,u({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n},signal:r});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return j.apply(this,arguments)}function j(){return(j=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(l.isArray)(t)||(t=[t]),e.next=3,u({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return k.apply(this,arguments)}function k(){return(k=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,u({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=i},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=window.wp.apiFetch},,function(e,t,n){var r=n(80);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"b",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return b})),n.d(t,"n",(function(){return m})),n.d(t,"o",(function(){return h})),n.d(t,"k",(function(){return f})),n.d(t,"j",(function(){return y})),n.d(t,"i",(function(){return g}));var r=n(8),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",c="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",p="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:a,mode:e}}function b(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n,hidden:a}}function h(e){return{type:u,wordsToHighlight:e}}function f(e){return{type:c,name:e}}function y(){return{type:l,time:(new Date).getMilliseconds()}}function g(e){return{type:s,data:e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(1),o=n.n(a);function i(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}i.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(14),a=n.n(r),o=n(20),i=n(0),s=n(30);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(2),a=n(27),o=n(3);function i(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(26),a=n.n(r),o=n(38),i=n.n(o),s=n(14),c=n.n(s),l=n(9),u=n.n(l),p=n(10),d=n.n(p),b=n(11),m=n.n(b),h=n(18),f=n.n(h),y=n(19),g=n.n(y),O=n(12),v=n.n(O),j=n(0),w=n(1),k=n.n(w);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _=k.a.shape({value:k.a.string.isRequired,onChange:k.a.func.isRequired});t.a=function(e){return function(t){return function(n){f()(l,n);var r,o,s=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(r);if(o){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:k.a.node}}}]),l}(j.Component)}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(26),a=n.n(r),o=n(38),i=n.n(o),s=n(0),c=n(1),l=n.n(c),u=n(21),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),a=n(22);function o(){var e=Object(a.a)();return Object(r.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),i=n(24),s=n(8),c=n(13),l=n.n(c),u=Object(s.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=u},function(e,t,n){"use strict";var r,a=n(26),o=n.n(a),i=n(15),s=n.n(i),c=n(0),l=n(4),u=n(13),p=n.n(u)()(l.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.yoast.externals.components},function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return b})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return h})),n.d(t,"pushNewReplaceVar",(function(){return f})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return v})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return k}));var r=n(14),a=n.n(r),o=n(3),i=n(105),s=n(40),c=n(41);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(8).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function b(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(s.n)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function h(e){return e=m(e),Object(c.b)(e)}function f(e,t){return e.push({name:t.name,label:t.label||h(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:Object(c.b)(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:Object(c.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(c.b)(e+" description (custom taxonomy)")}}function v(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),a=r.name,o=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.n)(a,e.name,o)),t.dispatch(Object(s.n)(i,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(s.n)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}var k=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";var r=n(23),a=n.n(r),o=n(0),i=n(1),s=n.n(i),c=n(2),l=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};l.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},l.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var u=l,p=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,s=e.strokeColor,c=e.strokeWidth,l=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,b=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,h=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.y}))))),y=r-c,g=t.map((function(e){var t=e.x/h*n,r=y-e.y/f*y+c;return"".concat(t,",").concat(r)})).join(" "),O="0,".concat(y+c," ")+g+" ".concat(n,",").concat(y+c);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:l,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:i,points:O}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:g})),p&&Object(o.createElement)(u,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:b,isDataTableVisuallyHidden:m}))};p.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},function(e,t,n){"use strict";function r(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),r={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(r)})),t}(e).open()}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(27),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:a.colors.$color_red};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var s=o(a,t);n=i(s,n)}}return n}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(_n=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=n(13),s=n(30),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},function(e,t){e.exports=window.moment},function(e,t,n){"use strict";var r=n(29),a=n.n(r),o=n(0),i=n(4),s=n(1),c=n.n(s),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},,,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(81);t.a=Object(r.compose)([Object(a.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,a=n.getIsModalOpen;return{postTypeName:r(),isOpen:a(t.id)}})),Object(a.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(o.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return E}));var r=n(14),a=n.n(r),o=n(9),i=n.n(o),s=n(10),c=n.n(s),l=n(11),u=n.n(l),p=n(18),d=n.n(p),b=n(19),m=n.n(b),h=n(12),f=n.n(h),y=n(0),g=n(2),O=n(4),v=n(1),j=n.n(v),w=n(50);var k=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
+
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
+
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(O.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
+
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
5 |
+
Object(g._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(O.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(g.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(O.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(g.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),o}(y.Component),E=j.a.arrayOf(j.a.shape({name:j.a.string,value:j.a.string}));k.propTypes={postType:j.a.string.isRequired,postTypeName:j.a.string.isRequired,pageType:w.b.isRequired,articleType:w.b,pageTypeOptions:E.isRequired,articleTypeOptions:E.isRequired},k.defaultProps={articleType:null},t.a=Object(w.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(k)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(9),a=n.n(r),o=n(10),i=n.n(o),s=function(){function e(){a()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";n.d(t,"b",(function(){return u}));var r=n(0),a=n(2),o=n(51),i=n(1),s=n.n(i),c=n(82),l=n(30),u=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},p=function(e){var t=e.id,n=e.postTypeName,i=e.children,s=e.title,p=e.isOpen,d=e.close,b=e.open,m=Object(r.useCallback)((function(e){u(e)&&d()}),[d]);return Object(r.createElement)(r.Fragment,null,p&&Object(r.createElement)(l.LocationProvider,{value:"modal"},Object(r.createElement)(o.a,{title:s,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},i)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},Object(r.createElement)("p",null,
|
6 |
+
/* Translators: %s translates to the Post Label in singular form */
|
7 |
+
Object(a.sprintf)(Object(a.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},
|
8 |
+
/* Translators: %s translates to the Post Label in singular form */
|
9 |
+
Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(c.a,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:b}))};p.propTypes={id:s.a.string.isRequired,postTypeName:s.a.string.isRequired,children:s.a.oneOfType([s.a.node,s.a.arrayOf(s.a.node)]).isRequired,title:s.a.string.isRequired,isOpen:s.a.bool.isRequired,open:s.a.func.isRequired,close:s.a.func.isRequired},t.a=p},function(e,t,n){"use strict";var r=n(0),a=n(4),o=n(1),i=n.n(o),s=function(e){return Object(r.createElement)("div",{className:"yoast components-panel__body"},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(e.prefixIcon&&e.prefixIcon.color||"")}},Object(r.createElement)(a.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&Object(r.createElement)(a.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.a=s,s.propTypes={onClick:i.a.func.isRequired,title:i.a.string.isRequired,id:i.a.string,subTitle:i.a.string,suffixIcon:i.a.object,prefixIcon:i.a.object},s.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:""}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return g}));var r=n(0),a=n(1),o=n.n(a),i=n(2),s=n(3),c=n(71),l=n.n(c),u=n(4),p=n(8),d=n(58),b=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(i.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},m=Object(p.makeOutboundLink)();function h(e){return Math.round(100*e)}function f(e){var t=e.chartData;if(Object(s.isEmpty)(t)||Object(s.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
10 |
+
/* translators: %d expands to the amount of days */
|
11 |
+
return Object(i.sprintf)(Object(i._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),a=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:h,dataTableCaption:Object(i.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function g(e){var t=e.keyphrase,n=e.rowData,a=e.onTrackKeyphrase,o=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,h=!Object(s.isEmpty)(n),g=Object(r.useCallback)((function(){p||(h?o(t,n.id):a(t))}),[t,a,o,h,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",{className:"yoast-table--nopadding"},function(e){var t=e.keyphrase,n=e.isEnabled,a=e.toggleAction;return e.isLoading?Object(r.createElement)(u.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(u.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:a,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:h,toggleAction:g,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,a=!Object(s.isEmpty)(t),o=t&&t.updated_at&&l()(t.updated_at)>=l()().subtract(7,"days"),c=t?Object(i.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return a?o?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(f,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(m,{href:c},Object(i.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(b,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}f.propTypes={chartData:o.a.object},f.defaultProps={chartData:{}},g.propTypes={rowData:o.a.object,keyphrase:o.a.string.isRequired,onTrackKeyphrase:o.a.func,onUntrackKeyphrase:o.a.func,isFocusKeyphrase:o.a.bool,isDisabled:o.a.bool,isLoading:o.a.bool,websiteId:o.a.string},g.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(16),a=n.n(r),o=n(9),i=n.n(o),s=n(10),c=n.n(s),l=n(7),u=n.n(l),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,a=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=a()(u.a.mark((function e(t){var n,r;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=n(2),s=n(31),c=n.n(s),l=n(4),u=function(e){var t=Object(i.sprintf)(
|
12 |
+
/* translators: %s expands to a link to open the Wincher login popup. */
|
13 |
+
Object(i.__)("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:e.onReconnect},Object(i.sprintf)(
|
14 |
+
/* translators: %s : Expands to "Wincher". */
|
15 |
+
Object(i.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};u.propTypes={onReconnect:o.a.func.isRequired},t.a=u},function(e,t,n){"use strict";var r,a=n(9),o=n.n(a),i=n(10),s=n.n(i),c=n(11),l=n.n(c),u=n(18),p=n.n(u),d=n(19),b=n.n(d),m=n(12),h=n.n(m),f=n(0),y=n(1),g=n.n(y),O=n(15),v=n.n(O),j=n(13),w=n.n(j),k=n(31),E=n.n(k),T=n(2),_=n(4),R=n(8),S=w()(_.Alert)(r||(r=v()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(R.makeOutboundLink)(),x=function(e){var t=Object(T.sprintf)(
|
16 |
+
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
17 |
+
Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
|
18 |
+
/* Translators: %s expands to Yoast SEO Premium */
|
19 |
+
Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(S,{type:"info"},E()({mixedString:t,components:{strong:Object(f.createElement)("b",null)}}),Object(f.createElement)("br",null),Object(f.createElement)(P,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(f.createElement)("p",null,n))))};x.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=x,A=n(125),I=n(46);var L=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,b=e.recommendedReplacementVariables,m=e.isPremium,h=e.location;return Object(f.createElement)(f.Fragment,null,Object(f.createElement)(C,{socialMediumName:o}),Object(f.createElement)(A.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:d,recommendedReplacementVariables:b,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:h}))}}]),a}(f.Component);L.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},L.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=L},function(e,t,n){"use strict";var r=n(5),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(62),i=n(90),s=n(91),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,b,m=h,h=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function f(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,s,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,i=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),s.push(d))}function g(e,t,n,r,o){var s="";null!=n&&(s=p(n)+"/");var u=f.getPooled(t,s,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var b=0;b<t.length;b++)p+=e(s=t[b],d+l(s,b),r,o);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var h,f=m.call(t),y=0;!(h=f.next()).done;)p+=e(s=h.value,d+l(s,y++),r,o);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),f.release(u)}f.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(b=f).instancePool=[],b.getPooled=d||m,b.poolSize||(b.poolSize=10),b.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(62);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(31),i=n.n(o),s=n(8),c=Object(s.makeOutboundLink)(),l=Object(s.makeOutboundLink)();t.a=function(){var e=Object(a.sprintf)(Object(a.__)(
|
20 |
+
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
21 |
+
"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,i()({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(a.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,n){"use strict";var r=n(6),a=n(20),o=n(26),i=n.n(o),s=n(15),c=n.n(s),l=n(16),u=n.n(l),p=n(0),d=n(7),b=n.n(d),m=n(2),h=n(1),f=n.n(h),y=n(3),g=n(13),O=n.n(g),v=n(4),j=n(8),w=n(31),k=n.n(w),E=Object(j.makeOutboundLink)(),T=function(e){var t=Object(m.sprintf)(
|
22 |
+
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
23 |
+
Object(m.__)("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(p.createElement)(v.Alert,{type:"error"},k()({mixedString:t,components:{updateWincherPlanLink:Object(p.createElement)(E,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(m.sprintf)(
|
24 |
+
/* translators: %s : Expands to "Wincher". */
|
25 |
+
Object(m.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};T.propTypes={limit:f.a.number},T.defaultProps={limit:10};var _,R,S,P=T,x=function(){return Object(p.createElement)(v.Alert,{type:"error"},Object(m.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"))},C=function(){return Object(p.createElement)(v.Alert,{type:"success"},Object(m.sprintf)(
|
26 |
+
/* translators: %s: Expands to "Wincher". */
|
27 |
+
Object(m.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher"))},A=function(){return Object(p.createElement)(v.Alert,{type:"info"},Object(m.sprintf)(
|
28 |
+
/* translators: %s: Expands to "Wincher". */
|
29 |
+
Object(m.__)("%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"))},I=n(23),L=n.n(I),q=n(29),F=n.n(q),N=n(84),D=n(32),M=Object(j.makeOutboundLink)(),K=O.a.span(_||(_=c()(["\n\tdisplay: block;\n\tfont-style: italic;\n\n\t@media (min-width: 782px) {\n\t\tdisplay: inline;\n\t\tposition: absolute;\n\t\t",": 8px;\n\t}\n"])),Object(j.getDirectionalStyle)("right","left")),W=O.a.th(R||(R=c()(["\n\tmin-width: 60px;\n"]))),B=O.a.div(S||(S=c()(["\n\twidth: 100%;\n\toverflow-y: auto;\n"]))),H=function(e){var t=Object(p.useRef)();return Object(p.useEffect)((function(){t.current=e})),t.current},V=Object(y.debounce)(D.c,500,{leading:!0}),U=function(e){var t=e.addTrackedKeyphrase,n=e.isLoggedIn,r=e.keyphrases,a=e.permalink,o=e.removeTrackedKeyphrase,i=e.setKeyphraseLimitReached,s=e.setRequestFailed,c=e.setRequestSucceeded,l=e.setTrackedKeyphrases,d=e.setHasTrackedAll,h=e.trackAll,f=e.trackedKeyphrases,g=e.isNewlyAuthenticated,O=e.websiteId,v=e.focusKeyphrase,j=e.newRequest,w=Object(p.useRef)(),k=Object(p.useRef)(),E=Object(p.useRef)(!1),T=Object(p.useState)([]),_=F()(T,2),R=_[0],S=_[1],P=Object(p.useCallback)((function(e){var t=e.toLowerCase();return f&&!Object(y.isEmpty)(f)&&f.hasOwnProperty(t)?f[t]:null}),[f]),x=Object(p.useMemo)((function(){return u()(b.a.mark((function e(){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(D.d)((function(){return k.current&&k.current.abort(),k.current="undefined"==typeof AbortController?null:new AbortController,V(r,a,k.current.signal)}),(function(e){c(e),l(e.results)}),(function(e){s(e)}));case 2:case"end":return e.stop()}}),e)})))}),[c,s,l,r,a]),C=Object(p.useCallback)(function(){var e=u()(b.a.mark((function e(n){var r;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(Array.isArray(n)?n:[n]).map((function(e){return e.toLowerCase()})),S((function(e){return[].concat(L()(e),L()(r))})),e.next=4,Object(D.d)((function(){return Object(D.e)(r)}),(function(e){c(e),t(e.results),x()}),(function(e){400===e.status&&e.limit&&i(e.limit),s(e)}),201);case 4:S((function(e){return y.without.apply(void 0,[e].concat(L()(r)))}));case 5:case"end":return e.stop()}}),e)})));return function(_x){return e.apply(this,arguments)}}(),[c,s,i,t,x]),A=Object(p.useCallback)(function(){var e=u()(b.a.mark((function e(t,n){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=t.toLowerCase(),S((function(e){return[].concat(L()(e),[t])})),e.next=4,Object(D.d)((function(){return Object(D.f)(n)}),(function(e){c(e),o(t)}),(function(e){s(e)}));case 4:S((function(e){return Object(y.without)(e,t)}));case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[c,o,s]),I=Object(p.useCallback)(function(){var e=u()(b.a.mark((function e(t){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return j(),e.next=3,C(t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[j,C]),q=H(a),U=H(r);Object(p.useEffect)((function(){n&&a&&(a!==q||Object(y.difference)(r,U).length)&&x()}),[n,a,q,r,U,x]),Object(p.useEffect)((function(){if(n&&h&&null!==f){var e=r.filter((function(e){return!P(e)}));e.length&&C(e),d()}}),[n,h,f,C,d,P,r]),Object(p.useEffect)((function(){g&&!E.current&&(x(),E.current=!0)}),[g,x]),Object(p.useEffect)((function(){if(n&&!Object(y.isEmpty)(f))return Object(y.filter)(f,(function(e){return Object(y.isEmpty)(e.updated_at)})).length>0&&(w.current=setInterval((function(){x()}),1e4)),function(){clearInterval(w.current)}}),[n,f,x]);var Y=n&&null===f;return r&&!Object(y.isEmpty)(r)&&Object(p.createElement)(p.Fragment,null,Object(p.createElement)(B,null,Object(p.createElement)("table",{className:"yoast yoast-table"},Object(p.createElement)("thead",null,Object(p.createElement)("tr",null,Object(p.createElement)("th",{scope:"col",abbr:Object(m.__)("Tracking","wordpress-seo")},Object(m.__)("Tracking","wordpress-seo")),Object(p.createElement)("th",{scope:"col",abbr:Object(m.__)("Keyphrase","wordpress-seo")},Object(m.__)("Keyphrase","wordpress-seo")),Object(p.createElement)("th",{scope:"col",abbr:Object(m.__)("Position","wordpress-seo")},Object(m.__)("Position","wordpress-seo")),Object(p.createElement)("th",{scope:"col",abbr:Object(m.__)("Position over time","wordpress-seo")},Object(m.__)("Position over time","wordpress-seo")),Object(p.createElement)(W,{className:"yoast-table--nobreak"}))),Object(p.createElement)("tbody",null,r.map((function(e,t){return Object(p.createElement)(N.b,{key:"trackable-keyphrase-".concat(t),keyphrase:e,onTrackKeyphrase:I,onUntrackKeyphrase:A,rowData:P(e),isFocusKeyphrase:e===v.trim(),websiteId:O,isDisabled:!n,isLoading:Y||R.indexOf(e.toLowerCase())>=0})}))))),Object(p.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(p.createElement)(M,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(m.sprintf)(
|
30 |
+
/* translators: %s expands to Wincher */
|
31 |
+
Object(m.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(p.createElement)(K,null,Object(m.__)("* focus keyphrase","wordpress-seo"))))};U.propTypes={addTrackedKeyphrase:f.a.func.isRequired,isLoggedIn:f.a.bool,isNewlyAuthenticated:f.a.bool,keyphrases:f.a.array,newRequest:f.a.func.isRequired,removeTrackedKeyphrase:f.a.func.isRequired,setRequestFailed:f.a.func.isRequired,setKeyphraseLimitReached:f.a.func.isRequired,setRequestSucceeded:f.a.func.isRequired,setTrackedKeyphrases:f.a.func.isRequired,setHasTrackedAll:f.a.func.isRequired,trackAll:f.a.bool,trackedKeyphrases:f.a.object,websiteId:f.a.string,permalink:f.a.string.isRequired,focusKeyphrase:f.a.string},U.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var Y,z,G,$=U,Z=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherWebsiteId,r=t.getWincherTrackedKeyphrases,a=t.getWincherTrackableKeyphrases,o=t.getWincherLoginStatus,i=t.getWincherPermalink,s=t.getFocusKeyphrase,c=t.isWincherNewlyAuthenticated,l=t.shouldWincherTrackAll;return{focusKeyphrase:s(),keyphrases:a(),trackedKeyphrases:r(),isLoggedIn:o(),trackAll:l(),websiteId:n(),isNewlyAuthenticated:c(),permalink:i()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherNewRequest,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherSetKeyphraseLimitReached,i=t.setWincherTrackedKeyphrases,s=t.setWincherTrackingForKeyphrase,c=t.setWincherTrackAllKeyphrases,l=t.unsetWincherTrackingForKeyphrase;return{newRequest:function(){n()},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},setKeyphraseLimitReached:function(e){o(e)},addTrackedKeyphrase:function(e){s(e)},removeTrackedKeyphrase:function(e){l(e)},setTrackedKeyphrases:function(e){i(e)},setHasTrackedAll:function(){c(!1)}}}))])($),J=n(93),Q=function(){return Object(p.createElement)(v.Alert,{type:"error"},Object(m.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo"))},X=function(){return Object(p.createElement)(v.Alert,{type:"info"},Object(m.sprintf)(
|
32 |
+
/* translators: %s: Expands to "Wincher". */
|
33 |
+
Object(m.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"))},ee=n(86),te=n(87),ne=function(){return Object(p.createElement)(v.Alert,{type:"error"},Object(m.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"))},re=function(e){var t=e.response,n=e.onLogin;return 403===t.status||404===t.status?Object(p.createElement)(te.a,{onReconnect:n}):Object(p.createElement)(x,null)};re.propTypes={response:f.a.object.isRequired,onLogin:f.a.func.isRequired};var ae=function(e){var t=e.isSuccess,n=e.response,r=e.allKeyphrasesMissRanking,a=e.onLogin,o=e.keyphraseLimitReached,i=e.limit;return o?Object(p.createElement)(P,{limit:i}):Object(y.isEmpty)(n)||t?r?Object(p.createElement)(A,null):null:Object(p.createElement)(re,{response:n,onLogin:a})};ae.propTypes={isSuccess:f.a.bool.isRequired,allKeyphrasesMissRanking:f.a.bool.isRequired,response:f.a.object,onLogin:f.a.func.isRequired,keyphraseLimitReached:f.a.bool.isRequired,limit:f.a.number.isRequired},ae.defaultProps={response:{}};var oe=null,ie=function(){var e=u()(b.a.mark((function e(t,n){var r,a,o;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.onAuthentication,a=t.setRequestSucceeded,o=t.setRequestFailed,e.next=3,Object(D.d)((function(){return Object(D.a)(n)}),function(){var e=u()(b.a.mark((function e(t){var o;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r(!0,!0,n.websiteId.toString()),a(t),(o=oe.getPopup())&&o.close();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=u()(b.a.mark((function e(t){return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(_x,t){return e.apply(this,arguments)}}(),se=function(){var e=u()(b.a.mark((function e(t){var n,r;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!oe||oe.isClosed()){e.next=3;break}return oe.focus(),e.abrupt("return");case 3:return e.next=5,Object(D.b)();case 5:n=e.sent,r=n.url,(oe=new ee.a(r,{success:{type:"wincher:oauth:success",callback:function(e){return ie(t,e)}},error:{type:"wincher:oauth:error",callback:function(){return t.onAuthentication(!1,!1)}}},{title:"Wincher_login",width:500,height:700})).createPopup();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ce=function(e){return e.isLoggedIn?null:Object(p.createElement)("p",null,Object(p.createElement)(v.NewButton,{onClick:e.onLogin,variant:"primary"},Object(m.sprintf)(
|
34 |
+
/* translators: %s expands to Wincher */
|
35 |
+
Object(m.__)("Connect with %s","wordpress-seo"),"Wincher")))};ce.propTypes={isLoggedIn:f.a.bool.isRequired,onLogin:f.a.func.isRequired};var le=O.a.div(Y||(Y=c()(["\n\tp {\n\t\tmargin: 1em 0;\n\t}\n"]))),ue=O.a.div(z||(z=c()(["\n\t",";\n"])),(function(e){return e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"})),pe=O.a.div(G||(G=c()(["\n\tfont-weight: var(--yoast-font-weight-bold);\n\tcolor: var(--yoast-color-label);\n\tfont-size: var(--yoast-font-size-default);\n"]))),de=function(e){var t=e.isLoggedIn,n=e.keyphrases,r=e.shouldTrackAll;return!e.permalink&&t?Object(p.createElement)(ne,null):0===n.length?Object(p.createElement)(Q,null):Object(p.createElement)(ue,{isDisabled:!t},Object(p.createElement)("p",null,Object(m.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(p.createElement)(X,null),Object(p.createElement)(Z,null))};function be(e){var t=e.isNewlyAuthenticated,n=e.isLoggedIn,r=Object(p.useCallback)((function(){se(e)}),[se,e]);return Object(p.createElement)(le,null,t&&Object(p.createElement)(C,null),Object(p.createElement)(pe,null,Object(m.__)("SEO performance","wordpress-seo"),Object(p.createElement)(v.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(m.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(p.createElement)(J.a,null),Object(p.createElement)(ce,{isLoggedIn:n,onLogin:r}),Object(p.createElement)(ae,i()({},e,{onLogin:r})),Object(p.createElement)(de,e))}de.propTypes={keyphrases:f.a.array.isRequired,isLoggedIn:f.a.bool.isRequired,shouldTrackAll:f.a.bool.isRequired,permalink:f.a.string.isRequired},be.propTypes={isLoggedIn:f.a.bool,isNewlyAuthenticated:f.a.bool,keyphrases:f.a.array,response:f.a.object,shouldTrackAll:f.a.bool,permalink:f.a.string},be.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.isWincherNewlyAuthenticated,r=t.getWincherKeyphraseLimitReached,a=t.getWincherLimit,o=t.getWincherLoginStatus,i=t.getWincherRequestIsSuccess,s=t.getWincherRequestResponse,c=t.getWincherTrackableKeyphrases,l=t.getWincherAllKeyphrasesMissRanking,u=t.getWincherPermalink,p=t.shouldWincherAutomaticallyTrackAll;return{keyphrases:c(),allKeyphrasesMissRanking:l(),isLoggedIn:o(),isNewlyAuthenticated:n(),isSuccess:i(),keyphraseLimitReached:r(),limit:a(),response:s(),shouldTrackAll:p(),permalink:u()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherWebsiteId,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherLoginStatus;return{setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},onAuthentication:function(e,t,r){n(r),o(e,t)}}}))])(be)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),i=n.n(o),s=n(13),c=n.n(s),l=n(4),u=n(8),p=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(l.Icon)(a||(a=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(u.getDirectionalStyle)("right","left"),Object(u.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return j}));var r=n(14),a=n.n(r),o=n(3),i=(n(146),n(56)),s=n(6);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",p=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},b={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=p.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),h())}function h(){Object(o.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function f(){return Object(s.select)("core/block-editor")&&Object(o.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(o.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=b[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,a=t.attributes,s=a[r];if(e.filter&&!e.filter(a))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(o.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),a=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var a,o=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)r.push(a),o=a+t.length;return r}(e,n);if(0===a.length)return[];var o=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return o.forEach((function(e){a.forEach((function(r){var a=r+e.startOffset,o=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(o=r+n.length),i.push({startOffset:a,endOffset:o})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){p=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(p=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/block-editor").getBlocks();O(Object(o.flatMap)(n,(function(e){return Object(o.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),h()}}function j(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var a=r.marks;O(Object(o.flatMap)(y(e.name),(function(t){return g(t,e,a)}))),h()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,a,o=n(5);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return o.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=o.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),a||(a=o.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),i=n(0),s=n(1),c=n.n(s),l=n(13),u=n.n(l),p=n(4),d=n(8),b=u()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(i.createElement)(b,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(6),a=n(20),o=n(0),i=n(2),s=n(1),c=n.n(s),l=n(3),u=n(4),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
36 |
+
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
37 |
+
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(8),b=Object(d.makeOutboundLink)(),m=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(i.sprintf)(
|
38 |
+
/* translators: %s : Expands to "Semrush". */
|
39 |
+
Object(i.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(b,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(i.sprintf)(
|
40 |
+
/* translators: %s : Expands to "Semrush". */
|
41 |
+
Object(i.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},h=n(16),f=n.n(h),y=n(9),g=n.n(y),O=n(10),v=n.n(O),j=n(11),w=n.n(j),k=n(18),E=n.n(k),T=n(19),_=n.n(T),R=n(12),S=n.n(R),P=n(7),x=n.n(P),C=n(36),A=n.n(C),I=n(39);var L="yoast-semrush-country-selector",q=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],F=function(e){E()(c,e);var t,n,r,a,s=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _()(this,e)});function c(e){var t;return g()(this,c),(t=s.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return v()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){A()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=f()(x.a.mark((function e(){var t,n,r,a;return x.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=f()(x.a.mark((function e(t,n){return x.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(I.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:L},Object(o.createElement)(u.SingleSelect,{id:L+"-select",label:Object(i.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:q,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:L+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(i.__)("Select country","wordpress-seo")))}}]),c}(o.Component);F.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},F.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var N=F,D=n(58),M=n(53);var K=Object(d.makeOutboundLink)(),W=function(e){E()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return _()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return v()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(i.__)("Twelve months ago","wordpress-seo"),Object(i.__)("Eleven months ago","wordpress-seo"),Object(i.__)("Ten months ago","wordpress-seo"),Object(i.__)("Nine months ago","wordpress-seo"),Object(i.__)("Eight months ago","wordpress-seo"),Object(i.__)("Seven months ago","wordpress-seo"),Object(i.__)("Six months ago","wordpress-seo"),Object(i.__)("Five months ago","wordpress-seo"),Object(i.__)("Four months ago","wordpress-seo"),Object(i.__)("Three months ago","wordpress-seo"),Object(i.__)("Two months ago","wordpress-seo"),Object(i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,s=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return s&&!Object(l.isEmpty)(s.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(i.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(i.__)("Volume","wordpress-seo")},Object(i.__)("Volume","wordpress-seo"),Object(o.createElement)(M.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(i.__)("Trend","wordpress-seo")},Object(i.__)("Trend","wordpress-seo"),Object(o.createElement)(M.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,s.results.rows.map((function(t,n){var a=t[0],s=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(D.a,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(K,{href:u},Object(i.sprintf)(
|
42 |
+
/* translators: %s expands to Semrush */
|
43 |
+
Object(i.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);W.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},W.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var B=W,H=Object(d.makeOutboundLink)(),V=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(i.sprintf)(
|
44 |
+
/* translators: %s: Expands to "Yoast SEO". */
|
45 |
+
Object(i.__)("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(o.createElement)(H,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(i.sprintf)(
|
46 |
+
/* translators: %s: Expands to "Yoast SEO Premium". */
|
47 |
+
Object(i.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},U=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(i.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Y=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(i.sprintf)(
|
48 |
+
/* translators: %s: Expands to "Yoast SEO". */
|
49 |
+
Object(i.__)("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"))},z=n(22);function G(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,s=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,b=e.setRequestFailed,h=e.setNoResultsFound,f=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,O=Object(z.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!O&&Object(o.createElement)(V,null),O&&function(e){return e&&e.length>=4}(f)&&Object(o.createElement)(Y,null),Object(o.createElement)(N,{countryCode:u,setCountry:s,newRequest:a,keyphrase:r,setRequestFailed:b,setNoResultsFound:h,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,s=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(m,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(U,null):s?void 0:Object(o.createElement)("p",null,Object(i.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(B,{keyphrase:r,relatedKeyphrases:f,countryCode:u,renderAction:c,data:t}))}G.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},G.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:i(),isPending:s(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}}))])(G)},,function(e,t){e.exports=window.wp.blocks},,,function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(55),i=n(44);t.a=Object(r.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(i.a)()])(o.CollapsibleCornerstone)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,,function(e,t,n){"use strict";var r,a=n(14),o=n.n(a),i=n(0),s=n(20),c=n(6),l=n(2),u=n(1),p=n.n(u),d=n(23),b=n.n(d),m=n(15),h=n.n(m),f=n(4),y=n(21),g=n(8),O=n(31),v=n.n(O),j=n(13),w=n.n(j),k=n(77),E=n(75),T=w.a.div(r||(r=h()(["\n\tpadding: 16px;\n"]))),_=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
|
50 |
+
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
51 |
+
Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(b()(e))},R=function(e){return Object(l.sprintf)(
|
52 |
+
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
53 |
+
Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(i.createElement)(f.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var x=function(e){var t,n=_(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=_(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(E.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,a?Object(i.createElement)(P,e):Object(i.createElement)(S,e),a&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(f.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(f.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(f.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:R(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};x.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:k.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:k.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},x.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(x,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(x,e)};C.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var A=C,I=n(78),L=n(44);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function F(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},s=F(F(F({},e),o),"metabox"===e.location?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1});return Object(i.createElement)(A,s)};N.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:i(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(L.a)()])(N)},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(0),i=n(2),s=n(4),c=n(8),l=n(1),u=n.n(l),p=n(30),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,l=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
54 |
+
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
55 |
+
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
56 |
+
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
57 |
+
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(s.Alert,{type:"warning"},Object(i.__)("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(o.createElement)(s.Select,{label:Object(i.sprintf)(
|
58 |
+
/* Translators: %s translates to the Post Label in singular form */
|
59 |
+
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var b=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(s.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
60 |
+
/* Translators: %s translates to the Post Label in singular form */
|
61 |
+
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};b.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var h=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};h.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var f=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};f.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:j},k={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},E={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},_={canonical:i,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),O.isPost&&Object(o.createElement)(b,k),O.isPost&&Object(o.createElement)(m,E),!v&&Object(o.createElement)(h,T),Object(o.createElement)(f,_))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(21),o=n(1),i=n.n(o),s=n(88),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(29),i=n.n(o),s=n(0),c=n(21),l=n(1),u=n.n(l),p=n(88);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){var t=Object(s.useState)(""),n=i()(t,2),r=n[0],a=n[1],o=Object(s.useCallback)((function(e){a(e.detail.metaTabId)}),[a]);Object(s.useEffect)((function(){return setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),function(){window.removeEventListener("YoastSEO:metaTabChange",o)}}),[]);var l=Object(s.useMemo)((function(){return b(b({},e),{},{activeMetaTabId:r})}),[e,r]);return e.isPremium?Object(s.createElement)(c.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:l}):Object(s.createElement)(p.a,l)};m.propTypes={isPremium:u.a.bool.isRequired,onLoad:u.a.func.isRequired,location:u.a.string.isRequired},t.a=m},,,,,,,function(e,t,n){"use strict";var r=n(6),a=n(4);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(26),i=n.n(o),s=n(0),c=n(20),l=n(6),u=n(2),p=n(123),d=n(30),b=n(104),m=n(57),h=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,b=t.isCornerstoneContent,m=t.getIsTerm,h=t.getContentLocale,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:f,shoppingData:s(),wordsToHighlight:d(),isCornerstone:b(),isTaxonomy:m(),locale:h()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(s.createElement)(d.LocationConsumer,null,(function(t){return Object(s.createElement)(b.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(p.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:h,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(8),i=n(124),s=n(22),c=n(44),l=n(59),u=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateTwitterImage)(e)})},p=function(){Object(l.a)(u)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,o=t.getFacebookImageUrl,i=t.getFacebookTitle,c=t.getFacebookDescription,l=t.getDescription,u=t.getSeoTitle,p=t.getTwitterWarnings,d=t.getTwitterImageType,b=t.getImageFallback,m=t.getRecommendedReplaceVars,h=t.getReplaceVars,f=t.getSiteUrl,y=t.getSeoTitleTemplate,g=t.getSeoTitleTemplateNoFallback,O=t.getSocialTitleTemplate,v=t.getSeoDescriptionTemplate,j=t.getSocialDescriptionTemplate,w=t.getReplacedExcerpt;return{imageUrl:a(),imageFallbackUrl:o()||b(),recommendedReplacementVariables:m(),replacementVariables:h(),description:n(),descriptionPreviewFallback:j()||c()||l()||v()||w()||"",title:r(),titlePreviewFallback:O()||i()||u()||g()||y()||"",imageWarnings:p(),siteUrl:f(),isPremium:!!Object(s.a)().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(i.a)},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(8),i=n(126),s=n(22),c=n(44),l=n(59),u=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateFacebookImage)(e)})},p=function(){Object(l.a)(u)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,o=t.getSeoTitle,i=t.getFacebookImageUrl,c=t.getImageFallback,l=t.getFacebookWarnings,u=t.getRecommendedReplaceVars,p=t.getReplaceVars,d=t.getSiteUrl,b=t.getSeoTitleTemplate,m=t.getSeoTitleTemplateNoFallback,h=t.getSocialTitleTemplate,f=t.getSeoDescriptionTemplate,y=t.getSocialDescriptionTemplate,g=t.getReplacedExcerpt;return{imageUrl:i(),imageFallbackUrl:c(),recommendedReplacementVariables:u(),replacementVariables:p(),description:n(),descriptionPreviewFallback:y()||r()||f()||g()||"",title:a(),titlePreviewFallback:h()||o()||m()||b()||"",imageWarnings:l(),siteUrl:d(),isPremium:!!Object(s.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(i.a)},,function(e,t,n){"use strict";var r=n(6),a=n(20),o=n(0),i=n(2),s=n(1),c=n.n(s),l=n(24),u=n(96),p=n(51),d=n(103),b=n(81),m=n(82),h=n(94);function f(e){var t=e.keyphrases,n=e.onNoKeyphraseSet,r=e.onOpen,a=e.location;if(!t.length)return document.querySelector("#focus-keyword-input-sidebar").focus(),void n();r(a)}function y(e,t){Object(b.b)(t)&&e.onClose()}function g(e){var t=e.location,n=e.whichModalOpen,r=Object(o.useCallback)((function(){f(e)}),[f,e]),a=Object(o.useCallback)((function(t){y(e,t)}),[y,e]),s=Object(i.__)("Track SEO performance","wordpress-seo");return Object(o.createElement)(o.Fragment,null,n===t&&Object(o.createElement)(p.a,{title:s,onRequestClose:a,icon:Object(o.createElement)(d.a,null),additionalClassName:"yoast-wincher-seo-performance-modal"},Object(o.createElement)(u.a,{className:"yoast-gutenberg-modal__content yoast-wincher-seo-performance-modal__content"},Object(o.createElement)(h.a,null))),"sidebar"===t&&Object(o.createElement)(m.a,{id:"wincher-open-button-".concat(t),title:s,suffixIcon:{size:"20px",icon:"pencil-square"},prefixIcon:{icon:"chart-square-bar",color:l.colors.$color_grey_medium_dark},onClick:r}))}g.propTypes={location:c.a.string,whichModalOpen:c.a.oneOf(["none","metabox","sidebar","postpublish"])},g.defaultProps={location:"",whichModalOpen:"none"},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherModalOpen;return{keyphrases:(0,t.getWincherTrackableKeyphrases)(),whichModalOpen:n()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherOpenModal,r=t.setWincherDismissModal,a=t.setWincherNoKeyphrase;return{onOpen:function(e){n(e)},onClose:function(){r()},onNoKeyphraseSet:function(){a()}}}))])(g)},,,,,function(e,t){e.exports=window.wp.editPost},function(e,t,n){"use strict";var r,a,o,i,s=n(35),c=n.n(s),l=n(23),u=n.n(l),p=n(29),d=n.n(p),b=n(0),m=/<(\/)?(\w+)\s*(\/)?>/g;function h(e,t,n,r,a){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:a,children:[]}}function f(){var e=r.length-a;0!==e&&o.push(r.substr(a,e))}function y(e){var t=e.element,n=e.tokenStart,a=e.tokenLength,o=e.prevOffset,s=e.children,c=i[i.length-1],l=r.substr(c.prevOffset,n-c.prevOffset);l&&c.children.push(l),c.children.push(b.cloneElement.apply(void 0,[t,null].concat(u()(s)))),c.prevOffset=o||n+a}function g(e){var t=function(){var e=m.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=d()(e,4),a=n[0],o=n[1],i=n[2],s=n[3],c=a.length;return s?["self-closed",i,t,c]:o?["closer",i,t,c]:["opener",i,t,c]}(),n=d()(t,4),s=n[0],c=n[1],l=n[2],p=n[3],g=i.length,O=l>a?a:null;if(!e[c])return f(),!1;switch(s){case"no-more-tokens":if(0!==g){var v=i.pop(),j=v.leadingTextStart,w=v.tokenStart;o.push(r.substr(j,w))}return f(),!1;case"self-closed":return 0===g?(null!==O&&o.push(r.substr(O,l-O)),o.push(e[c]),a=l+p,!0):(y(h(e[c],l,p)),a=l+p,!0);case"opener":return i.push(h(e[c],l,p,l+p,O)),a=l+p,!0;case"closer":if(1===g)return function(e){var t=i.pop(),n=t.element,a=t.leadingTextStart,s=t.prevOffset,c=t.tokenStart,l=t.children,p=e?r.substr(s,e-s):r.substr(s);p&&l.push(p),null!==a&&o.push(r.substr(a,c-a)),o.push(b.cloneElement.apply(void 0,[n,null].concat(u()(l))))}(l),a=l+p,!0;var k=i.pop(),E=r.substr(k.prevOffset,l-k.prevOffset);k.children.push(E),k.prevOffset=l+p;var T=h(k.element,k.tokenStart,k.tokenLength,l+p);return T.children=k.children,y(T),a=l+p,!0;default:return f(),!1}}t.a=function(e,t){if(r=e,a=0,o=[],i=[],m.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(b.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(g(t));return b.createElement.apply(void 0,[b.Fragment,null].concat(u()(o)))}},,function(e,t){e.exports=window.wp.annotations},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),i=n(21),s=n(113),c=n(70);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(i.Slot,{name:"YoastMetabox"},(function(e){return Object(s.a)(e)})))}var u=n(6),p=n(20),d=n(2),b=n(112),m=n(134),h=n(133),f=n(55),y=n(54),g=n(33),O=n(117),v=n(136),j=n(135),w=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(y.a,{hasSeparator:!1
|
62 |
+
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(v.a,null)),n&&Object(r.createElement)(y.a
|
63 |
+
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(j.a,null)))};w.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=w,E=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(42);function _(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(E,null))}_.propTypes={target:o.a.string.isRequired};var R=n(116),S=n(107),P=n(94),x=n(24);function C(e){var t=e.settings,n=e.wincherKeyphrases,a=e.setWincherNoKeyphrase,o=Object(r.useCallback)((function(){if(!n.length)return a(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1}),[n,a]);return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(g.a,{key:"warning",renderPriority:1},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(f.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(S.a,null))),Object(r.createElement)(g.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(m.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(g.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(f.ReadabilityAnalysis,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(f.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(g.a,{key:"wincher-seo-performance",renderPriority:25},Object(r.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(d.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:x.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:x.colors.$color_grey_medium_dark},onToggle:o},Object(r.createElement)(P.a,null))),t.isCornerstoneActive&&Object(r.createElement)(g.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(b.a,null)),t.displayAdvancedTab&&Object(r.createElement)(g.a,{key:"advanced",renderPriority:40},Object(r.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(O.a,null))),t.displaySchemaSettings&&Object(r.createElement)(g.a,{key:"schema",renderPriority:50},Object(r.createElement)(R.a,null)),Object(r.createElement)(g.a,{key:"social",renderPriority:-1},Object(r.createElement)(_,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired,wincherKeyphrases:o.a.array.isRequired,setWincherNoKeyphrase:o.a.func.isRequired};var A=Object(p.compose)([Object(u.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPreferences,a=n.getWincherTrackableKeyphrases;return{settings:r(),store:t.store,wincherKeyphrases:a()}})),Object(u.withDispatch)((function(e){return{setWincherNoKeyphrase:e("yoast-seo/editor").setWincherNoKeyphrase}}))])(C);function I(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(l,{store:n,theme:a}),Object(r.createElement)(A,{store:n,theme:a}))}I.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,function(e,t){e.exports=window.wp.plugins},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return k}));var r=n(14),a=n.n(r),o=n(9),i=n.n(o),s=n(10),c=n.n(s),l=n(6),u=n(17),p=n(3),d=n(27),b=n(100),m=n(57),h=n(52);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=u.actions.updateReplacementVariable,O=u.actions.updateData,v=u.actions.hideReplacementVariables,j=u.actions.setContentImage,w=e.jQuery,k=function(){function e(t,n){i()(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this._data=this.getInitialData(e),Object(m.fillReplacementVariables)(this._data,this._store),this._store.dispatch(v(t)),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=Object(m.mapCustomFields)(e,this._store),y(y({},e=Object(m.mapCustomTaxonomies)(e,this._store)),t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=Object(l.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=Object(l.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){var e=this.getPostAttribute("content"),t=this.calculateContentImage(e),n=this.getPostAttribute("excerpt")||"",r="ja"===Object(h.a)()?80:156;return{content:e,title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:n||Object(m.excerptFromContent)(e,r),excerpt_only:n,snippetPreviewImageURL:this.getFeaturedImage()||t,contentImage:t}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"calculateContentImage",value:function(e){var t=d.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),a=(r=w(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch(g("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch(g("excerpt",e.excerpt)),this._store.dispatch(g("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch(O({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch(O({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch(j(e.contentImage))}},{key:"reapplyMarkers",value:function(){var e=Object(l.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),a=n();r&&!a&&Object(b.c)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=Object(l.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=Object(p.debounce)(this.refreshYoastSEO,500),Object(l.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},Object(l.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}()}).call(this,n(166))},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r,a=n(38),o=n.n(a),i=n(0),s=n(143),c=n(175),l=n(109),u=n(6),p=n(2),d=n(56),b=n(3),m=n(21),h=n(17),f=n(20),y=n(24),g=n(45),O=n(26),v=n.n(O),j=n(15),w=n.n(j),k=n(1),E=n.n(k),T=n(13),_=n.n(T).a.svg(r||(r=w()(["\n\twidth: ","px;\n\theight: ","px;\n\t&&& path {\n\t\tfill: ",";\n\t}\n\t&&& circle.yoast-icon-readability-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n\t\n\t&&& circle.yoast-icon-seo-score {\n\t\tfill: ",";\n\t\tdisplay: ",";\n\t}\n"])),(function(e){return e.size}),(function(e){return e.size}),(function(e){return e.color}),(function(e){return e.readabilityScoreColor}),(function(e){return e.isContentAnalysisActive?"inline":"none"}),(function(e){return e.seoScoreColor}),(function(e){return e.isKeywordAnalysisActive?"inline":"none"})),R=function(e){return Object(i.createElement)(_,v()({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),Object(i.createElement)("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),Object(i.createElement)("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),Object(i.createElement)("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),Object(i.createElement)("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};R.propTypes={readabilityScoreColor:E.a.string,isContentAnalysisActive:E.a.bool,seoScoreColor:E.a.string,isKeywordAnalysisActive:E.a.bool,size:E.a.number,color:E.a.string},R.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"};var S=R,P=Object(f.compose)([Object(u.withSelect)((function(e){var t,n,r=e("yoast-seo/editor"),a=Object(g.a)(r.getResultsForFocusKeyword().overallScore),o=Object(g.a)(r.getReadabilityResults().overallScore),i=r.getPreferences(),s=i.isKeywordAnalysisActive,c=i.isContentAnalysisActive;switch(o.className){case"good":t=y.colors.$color_good;break;case"ok":t=y.colors.$color_ok;break;case"bad":default:t=y.colors.$color_bad}switch(a.className){case"good":n=y.colors.$color_good;break;case"ok":n=y.colors.$color_ok;break;case"bad":default:n=y.colors.$color_bad}return{readabilityScoreColor:t,seoScoreColor:n,isKeywordAnalysisActive:s,isContentAnalysisActive:c}}))])(S),x=n(112),C=n(133),A=n(55),I=n(33),L=n(76),q=n(134),F=function(){return Object(i.createElement)(L.a,{title:Object(p.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(i.createElement)(q.a,{showCloseButton:!1,hasPaperStyle:!1}))},N=n(135),D=function(){return Object(i.createElement)(L.a,{title:Object(p.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(i.createElement)(N.a,null))},M=n(136),K=function(){return Object(i.createElement)(L.a,{title:Object(p.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(i.createElement)(M.a,null))},W=n(116),B=n(72),H=n(117),V=n(138);function U(e){var t=e.settings;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(m.Fill,{name:"YoastSidebar"},Object(i.createElement)(I.a,{key:"warning",renderPriority:1},Object(i.createElement)(C.a,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(I.a,{key:"keyword-input",renderPriority:8},Object(i.createElement)(A.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),Object(i.createElement)(I.a,{key:"google-preview",renderPriority:23},Object(i.createElement)(F,null)),t.displayFacebook&&Object(i.createElement)(I.a,{key:"facebook-preview",renderPriority:24},Object(i.createElement)(K,null)),t.displayTwitter&&Object(i.createElement)(I.a,{key:"twitter-preview",renderPriority:25},Object(i.createElement)(D,null)),t.displaySchemaSettings&&Object(i.createElement)(I.a,{key:"schema",renderPriority:26},Object(i.createElement)(B.a,{title:Object(p.__)("Schema","wordpress-seo")},Object(i.createElement)(W.a,null))),t.displayAdvancedTab&&Object(i.createElement)(I.a,{key:"advanced",renderPriority:27},Object(i.createElement)(B.a,{title:Object(p.__)("Advanced","wordpress-seo")},Object(i.createElement)(H.a,null))),t.isContentAnalysisActive&&Object(i.createElement)(I.a,{key:"readability",renderPriority:10},Object(i.createElement)(A.ReadabilityAnalysis,null)),t.isKeywordAnalysisActive&&Object(i.createElement)(I.a,{key:"seo",renderPriority:20},Object(i.createElement)(A.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(i.createElement)(I.a,{key:"cornerstone",renderPriority:30},Object(i.createElement)(x.a,null)),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(i.createElement)(I.a,{renderPriority:22},Object(i.createElement)(V.a,{location:"sidebar"}))))}U.propTypes={settings:E.a.object.isRequired};var Y=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(U),z=n(154),G=n(100),$=n(113),Z=n(70);function J(e){var t=e.theme;return Object(i.createElement)(Z.a,{theme:t,location:"sidebar"},Object(i.createElement)(m.Slot,{name:"YoastSidebar"},(function(e){return Object($.a)(e)})))}var Q=n(9),X=n.n(Q),ee=n(10),te=n.n(ee),ne=n(11),re=n.n(ne),ae=n(18),oe=n.n(ae),ie=n(19),se=n.n(ie),ce=n(12),le=n.n(ce),ue=n(39),pe=n(176),de=n(14),be=n.n(de),me=n(29),he=n.n(me),fe=n(53),ye=n(144);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){be()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=Object(m.withSpokenMessages)((function(e){var t=e.isActive,n=e.activeAttributes,r=e.addingLink,a=e.value,o=e.onChange,s=e.speak,c=e.stopAddingLink,l=Object(i.useMemo)(b.uniqueId,[r]),u=Object(i.useState)(),h=he()(u,2),f=h[0],y=h[1],g=Object(i.useMemo)((function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(r&&!t)return n;var a=n.startContainer;for(a=a.nextElementSibling||a;a.nodeType!==window.Node.ELEMENT_NODE;)a=a.parentNode;return a.closest("a")}}),[r,a.start,a.end]),O=Oe({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},f),v=Object(i.createElement)(fe.a,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},Object(i.createElement)("span",{className:"screen-reader-text"},Object(p.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),j=Object(ye.a)(Object(p.sprintf)(Object(p.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),w=Object(ye.a)(Object(p.sprintf)(Object(p.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:Object(i.createElement)("code",null),helplink:v}),k=[{id:"opensInNewTab",title:Object(p.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:j},{id:"sponsored",title:w}],E=window.wp.blockEditor.__experimentalLinkControl;return Object(i.createElement)(m.Popover,{key:l,anchorRef:g,focusOnMount:!!r&&"firstElement",onClose:c,position:"bottom center"},Object(i.createElement)(E,{value:O,onChange:function(e){e=Oe(Oe({},f),e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var r=n&&void 0===e.url;if(y(r?e:void 0),!r){var i=Object(ue.prependHTTP)(e.url),l=function(e){var t=e.noFollow,n=e.sponsored,r={type:"core/link",attributes:{url:e.url}},a=[];return e.opensInNewWindow&&(r.attributes.target="_blank",a.push("noreferrer noopener")),n&&(a.push("sponsored"),a.push("nofollow")),t&&a.push("nofollow"),a.length>0&&(a=Object(b.uniq)(a),r.attributes.rel=a.join(" ")),r}({url:i,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if(Object(d.isCollapsed)(a)&&!t){var u=e.title||i,m=Object(d.applyFormat)(Object(d.create)({text:u}),l,0,u.length);o(Object(d.insert)(a,m))}else{var h=Object(d.applyFormat)(a,l);h.start=h.end,h.activeFormats=[],o(h)}n||c(),function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=Object(ue.getProtocol)(t);if(!Object(ue.isValidProtocol)(n))return!1;if(Object(b.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var r=Object(ue.getAuthority)(t);if(!Object(ue.isValidAuthority)(r))return!1;var a=Object(ue.getPath)(t);if(a&&!Object(ue.isValidPath)(a))return!1;var o=Object(ue.getQueryString)(t);if(o&&!Object(ue.isValidQueryString)(o))return!1;var i=Object(ue.getFragment)(t);if(i&&!Object(ue.isValidFragment)(i))return!1}return!(Object(b.startsWith)(t,"#")&&!Object(ue.isValidFragment)(t))}(i)?s(t?Object(p.__)("Link edited.","wordpress-seo"):Object(p.__)("Link inserted.","wordpress-seo"),"assertive"):s(Object(p.__)("Warning: the link has been inserted but may have errors. Please test it.","wordpress-seo"),"assertive")}},forceIsEditingLink:r,settings:k}))}));var je=Object(p.__)("Link","wordpress-seo"),we={name:"core/link",title:je,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if(Object(d.isCollapsed)(e))return e;var a=(n||r).replace(/<[^>]+>/g,"").trim();return Object(ue.isURL)(a)?(window.console.log("Created link:\n\n",a),Object(d.applyFormat)(e,{type:"core/link",attributes:{url:Object(pe.decodeEntities)(a)}})):e},edit:Object(m.withSpokenMessages)(function(e){oe()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=le()(t);if(n){var a=le()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return se()(this,e)});function a(){var e;return X()(this,a),(e=r.apply(this,arguments)).addLink=e.addLink.bind(re()(e)),e.stopAddingLink=e.stopAddingLink.bind(re()(e)),e.onRemoveFormat=e.onRemoveFormat.bind(re()(e)),e.state={addingLink:!1},e}return te()(a,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=Object(d.getTextContent)(Object(d.slice)(t));r&&Object(ue.isURL)(r)?n(Object(d.applyFormat)(t,{type:"core/link",attributes:{url:r}})):r&&Object(ue.isEmail)(r)?n(Object(d.applyFormat)(t,{type:"core/link",attributes:{url:"mailto:".concat(r)}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n(Object(d.removeFormat)(t,"core/link")),r(Object(p.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,a=e.onChange,o=window.wp.blockEditor,s=o.RichTextToolbarButton,c=o.RichTextShortcut;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(c,{type:"primary",character:"k",onUse:this.addLink}),Object(i.createElement)(c,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&Object(i.createElement)(s,{name:"link",icon:"editor-unlink",title:Object(p.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&Object(i.createElement)(s,{name:"link",icon:"admin-links",title:je,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&Object(i.createElement)(ve,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:a}))}}]),a}(i.Component))},ke=n(4),Ee=n(63);function Te(e){var t=e.score,n=e.label,r=e.scoreValue;return Object(i.createElement)("div",null,Object(i.createElement)(ke.SvgIcon,Object(Ee.getIconForScore)(t)),Object(i.createElement)("span",null," ",n," ",r&&Object(i.createElement)("strong",null,r)))}function _e(e){var t=e.checklist,n=e.onClick,r=t.every((function(e){return"good"===e.score}));return Object(i.createElement)(i.Fragment,null,t.map((function(e){return Object(i.createElement)(Te,v()({key:e.label},e))})),Object(i.createElement)("br",null),!r&&Object(i.createElement)(ke.Button,{onClick:n},Object(p.__)("Improve your post with Yoast SEO","wordpress-seo")))}function Re(e){var t,n=e.checklist,r=e.onClick;return t=n.every((function(e){return"good"===e.score}))?Object(p.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):Object(p.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),Object(i.createElement)(i.Fragment,null,Object(i.createElement)("p",null,t),Object(i.createElement)(_e,{checklist:n,onClick:r}))}function Se(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=Object(g.a)(t.getReadabilityResults().overallScore);e.push({label:Object(p.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function Pe(e,t){if(t.getPreferences().isContentAnalysisActive){var n=Object(g.a)(t.getResultsForFocusKeyword().overallScore);e.push({label:Object(p.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}}function xe(e,t,n){if(n.getBlocks().some((function(e){return!0===e.attributes["is-yoast-schema-block"]}))){var r=t.getSchemaBlocksValidationResults(),a=Object.values(r);if(a&&a.length>0){var o=a.every((function(e){return e.result<=0}));e.push({label:Object(p.__)("Schema analysis:","wordpress-seo"),score:o?"good":"bad",scoreValue:o?Object(p.__)("Good","wordpress-seo"):Object(p.__)("Needs improvement","wordpress-seo")})}}}Te.propTypes={score:k.string.isRequired,label:k.string.isRequired,scoreValue:k.string},Te.defaultProps={scoreValue:""},_e.propTypes={checklist:E.a.array.isRequired,onClick:E.a.func.isRequired},Re.propTypes={checklist:E.a.array.isRequired,onClick:E.a.func.isRequired};var Ce,Ae,Ie,Le=Object(f.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),a=[];return function(e,t){t.getFocusKeyphrase()||e.push({label:Object(p.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})}(a,t),Se(a,t),Pe(a,t),xe(a,n,r),{checklist:a}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}))])(Re),qe=Object(f.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=e("yoast-seo/schema-blocks"),r=e("core/block-editor"),a=[];return Se(a,t),Pe(a,t),xe(a,n,r),{checklist:a}})),Object(u.withDispatch)((function(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}))])(_e),Fe=n(5);function Ne(){return(Ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function De(e){return Fe.createElement("svg",Ne({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1600 1600","aria-hidden":"true"},e),Ce||(Ce=Fe.createElement("g",{fill:"none",fillRule:"evenodd"},Fe.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 10-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 00675-790"}),Fe.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 00250 0v-559h186z"}))))}function Me(){return(Me=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ke(e){return Fe.createElement("svg",Me({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 400 400","aria-hidden":"true"},e),Ae||(Ae=Fe.createElement("circle",{cx:200,cy:200,r:200,fill:"#1da1f2"})),Ie||(Ie=Fe.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff"})))}function We(e){var t=e.permalink,n=encodeURI(t);return Object(i.createElement)(i.Fragment,null,Object(i.createElement)("div",null,Object(p.__)("Share your post!","wordpress-seo")),Object(i.createElement)("ul",{className:"yoast-seo-social-share-buttons"},Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(De,null),Object(p.__)("Facebook","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(Opens in a new browser tab)","wordpress-seo")))),Object(i.createElement)("li",null,Object(i.createElement)("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},Object(i.createElement)(Ke,null),Object(p.__)("Twitter","wordpress-seo"),Object(i.createElement)("span",{className:"screen-reader-text"},Object(p.__)("(Opens in a new browser tab)","wordpress-seo"))))))}We.propTypes={permalink:E.a.string.isRequired};var Be=Object(f.compose)([Object(u.withSelect)((function(e){return{permalink:e("core/editor").getPermalink()}}))])(We),He=n(93);function Ve(e){var t=e.hasTrackedKeyphrases,n=e.trackAll;return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(ke.FieldGroup,{label:Object(p.__)("SEO performance","wordpress-seo"),linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(p.__)("Learn more about the SEO performance feature.","wordpress-seo")}),Object(i.createElement)(He.a,null),t&&Object(i.createElement)("p",null,Object(p.__)("Tracking has already been enabled for one or more keyphrases of this page. Clicking the button below will enable tracking for all of its keyphrases.","wordpress-seo")),Object(i.createElement)("div",{className:"yoast"},Object(i.createElement)(ke.NewButton,{variant:"secondary",onClick:n},Object(p.__)("Track all keyphrases on this page","wordpress-seo"))),Object(i.createElement)(V.a,{location:"postpublish"}))}Ve.propTypes={trackAll:E.a.func,hasTrackedKeyphrases:E.a.bool},Ve.defaultProps={trackAll:function(){},hasTrackedKeyphrases:!1};var Ue=Object(f.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherTrackedKeyphrases,r=t.hasWincherTrackedKeyphrases;return{trackedKeyphrases:n(),hasTrackedKeyphrases:r()}})),Object(u.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherOpenModal,r=t.setWincherTrackAllKeyphrases;return{trackAll:function(){r(!0),n("postpublish")}}}))])(Ve),Ye=n(22);var ze=n(177);window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){(function(e){var t=Object(Ye.a)(),n=t.isPremium,r=n?"Yoast SEO Premium":"Yoast SEO",a=Object(i.createElement)(S,null);Object(l.updateCategory)("yoast-structured-data-blocks",{icon:a}),Object(l.updateCategory)("yoast-internal-linking-blocks",{icon:a});var o={isRtl:t.isRtl},d=e.getState().preferences,b=d.isKeywordAnalysisActive||d.isContentAnalysisActive,h=d.isZapierIntegrationActive&&!d.isZapierConnected,f=d.isKeywordAnalysisActive&&d.isWincherIntegrationActive;!Object(u.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]&&Object(u.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel"),Object(c.registerPlugin)("yoast-seo",{render:function(){return Object(i.createElement)(i.Fragment,null,Object(i.createElement)(s.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:Object(i.createElement)(P,null)},r),Object(i.createElement)(s.PluginSidebar,{name:"seo-sidebar",title:r},Object(i.createElement)(J,{store:e,theme:o})),Object(i.createElement)(i.Fragment,null,Object(i.createElement)(Y,{store:e,theme:o}),Object(i.createElement)(z.a,{target:"wpseo-metabox-root",store:e,theme:o})),b&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(p.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Le,null)),n&&h&&Object(i.createElement)(s.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(m.Slot,{name:"YoastZapierPrePublish"})),Object(i.createElement)(s.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:Object(p.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(Be,null),f&&Object(i.createElement)(Ue,null)),b&&Object(i.createElement)(s.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:Object(p.__)("Yoast SEO","wordpress-seo"),icon:Object(i.createElement)(i.Fragment,null)},Object(i.createElement)(qe,null)))},icon:Object(i.createElement)(P,null)})})(e),"function"==typeof Object(b.get)(window,"wp.blockEditor.__experimentalLinkControl")?[we].forEach((function(e){var t=e.name,n=e.replaces,r=o()(e,["name","replaces"]);n&&Object(u.dispatch)("core/rich-text").removeFormatTypes(n),t&&Object(d.registerFormatType)(t,r)})):console.warn(Object(p.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+Object(p.sprintf)(Object(p.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){Object(G.b)()&&e.dispatch(h.actions.setMarkerStatus("enabled"))}(e)},window.yoast.EditorData=ze.a}]);
|
js/dist/{bulk-editor-1780.js → bulk-editor.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var n={};function t(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,s){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:s})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(s,i,function(n){return e[n]}.bind(null,i));return s},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=
|
1 |
+
!function(e){var n={};function t(s){if(n[s])return n[s].exports;var i=n[s]={i:s,l:!1,exports:{}};return e[s].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,s){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:s})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(t.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(s,i,function(n){return e[n]}.bind(null,i));return s},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=186)}({186:function(e,n,t){"use strict";t.r(n);var s,i=t(25),o=t.n(i);s=function(e){var n=e.find("[class^=wpseo-new]").first().attr("class"),t="#"+n+"-",s=t.replace("new","existing"),i=e.find("th[id^=col_existing_yoast]").first().text().replace("Existing ",""),a=n.replace("-new-","_save_"),r="wpseo_save_all_"+e.attr("class").split("wpseo_bulk_")[1],l=a.replace("wpseo_save_",""),u={newClass:"."+n,newId:t,existingId:s},c={submit_new:function(e){c.submitNew(e)},submitNew:function(e){var n,t=u.newId+e,s=u.existingId+e;n="select-one"===o()(u.newId+e).prop("type")?o()(t).find(":selected").text():o()(t).val();var r=o()(s).html();if(n===r)o()(t).val("");else{if(""===n&&!window.confirm("Are you sure you want to remove the existing "+i+"?"))return void o()(t).val("");var l={action:a,_ajax_nonce:wpseoBulkEditorNonce,wpseo_post_id:e,new_value:n,existing_value:r};o.a.post(ajaxurl,l,c.handleResponse)}},submit_all:function(e){c.submitAll(e)},submitAll:function(e){e.preventDefault();var n={action:r,_ajax_nonce:wpseoBulkEditorNonce,send:!1,items:{},existingItems:{}};o()(u.newClass).each((function(){var e=o()(this).data("id"),t=o()(this).val(),s=o()(u.existingId+e).html();""!==t&&(t===s?o()(u.newId+e).val(""):(n.send=!0,n.items[e]=t,n.existingItems[e]=s))})),n.send&&o.a.post(ajaxurl,n,c.handleResponses)},handle_response:function(e,n){c.handleResponse(e,n)},handleResponse:function(e,n){if("success"===n){var t=e;if("string"==typeof t&&(t=JSON.parse(t)),t instanceof Array)o.a.each(t,(function(){c.handleResponse(this,n)}));else if("success"===t.status){var s=t["new_"+l];o()(u.existingId+t.post_id).html(s.replace(/\\(?!\\)/g,"")),o()(u.newId+t.post_id).val("")}}},handle_responses:function(e,n){c.handleResponses(e,n)},handleResponses:function(e,n){var t=o.a.parseJSON(e);o.a.each(t,(function(){c.handleResponse(this,n)}))},set_events:function(){c.setEvents()},setEvents:function(){e.find(".wpseo-save").click((function(e){var n=o()(this).data("id");e.preventDefault(),c.submitNew(n,this)})),e.find(".wpseo-save-all").click(c.submitAll),e.find(u.newClass).keydown((function(e){if(13===e.which){e.preventDefault();var n=o()(this).data("id");c.submitNew(n,this)}}))}};return c},window.bulk_editor=s,window.bulkEditor=s,o()(document).ready((function(){o()('table[class*="wpseo_bulk"]').each((function(e,n){var t=o()(n);s(t).setEvents()}))}))},25:function(e,n){e.exports=window.jQuery}});
|
js/dist/classic-editor-1780.js
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=209)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.data},function(e,t){function n(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,c,"next",e)}function c(e){n(i,a,o,s,c,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){var r=n(51);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(36),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=window.yoast.analysis},function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return m})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return g})),n.d(t,"b",(function(){return O})),n.d(t,"g",(function(){return j})),n.d(t,"h",(function(){return E})),n.d(t,"f",(function(){return R}));var r=n(8),a=n.n(r),o=n(4),i=n.n(o),s=n(34),c=n.n(s),u=n(3);function l(_x){return p.apply(this,arguments)}function p(){return(p=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",{status:0,error:e.t0.message});case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return(h=a()(i.a.mark((function e(t,n,r){var a,o,s=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=s.length>3&&void 0!==s[3]?s[3]:200,e.prev=1,e.next=4,t();case 4:if((o=e.sent).status!==a){e.next=7;break}return e.abrupt("return",n(o));case 7:return e.abrupt("return",r(o));case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}function m(){return f.apply(this,arguments)}function f(){return(f=a()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=a()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,l({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return v.apply(this,arguments)}function v(){return(v=a()(i.a.mark((function e(){var t,n,r=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:null,n=r.length>1&&void 0!==r[1]?r[1]:null,e.next=4,l({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(){return w.apply(this,arguments)}function w(){return(w=a()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/limits",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e){return k.apply(this,arguments)}function k(){return(k=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(u.isArray)(t)||(t=[t]),e.next=3,l({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return T.apply(this,arguments)}function T(){return(T=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function R(){return _.apply(this,arguments)}function _(){return(_=a()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/track/all",method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},,function(e,t,n){var r=n(72),a=n(73),o=n(74);e.exports=function(e){return r(e)||a(e)||o()}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=s(n(6)),o=s(n(90)),i=s(n(93));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,p,d,h,m,f=[],b={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){i=n[p.value],u=d;break}f.push(n[p.value])}else f.push(p.value);return i&&(l=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(u,t),h=e(t.slice(u+1,l),n),s=a.default.cloneElement(i,{},h),f.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),f=f.concat(m))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,o.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){var r=n(65),a=n(66),o=n(67);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=i},function(e,t){e.exports=window.wp.apiFetch},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return u})),n.d(t,"setStore",(function(){return l})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return h})),n.d(t,"addEventHandler",(function(){return m})),n.d(t,"disableMarkerButtons",(function(){return f})),n.d(t,"enableMarkerButtons",(function(){return b})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(3),o=n(87),i=n(115),s=n(17),c="content",u="description";function l(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function h(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function m(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function f(){Object(a.isUndefined)(r)||r.dispatch(s.actions.setMarkerStatus("disabled"))}function b(){Object(a.isUndefined)(r)||r.dispatch(s.actions.setMarkerStatus("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(f(),p()&&tinyMCE.on("AddEditor",(function(){b()})))}function v(e,t){m(t,["input","change","cut","paste"],e),m(t,["hide"],f);var n=["show"];(new i.a).isPageBuilderActive()||n.push("init"),m(t,n,b),m("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(81);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return m})),n.d(t,"o",(function(){return f})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return y})),n.d(t,"i",(function(){return g}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",c="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",p="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:a,mode:e}}function h(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n,hidden:a}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:c,name:e}}function y(){return{type:u,time:(new Date).getMilliseconds()}}function g(e){return{type:s,data:e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(1),o=n.n(a);function i(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}i.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(14),a=n.n(r),o=n(20),i=n(0),s=n(30);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},,function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return R}));var r=n(25),a=n.n(r),o=n(38),i=n.n(o),s=n(14),c=n.n(s),u=n(10),l=n.n(u),p=n(12),d=n.n(p),h=n(11),m=n.n(h),f=n(18),b=n.n(f),y=n(19),g=n.n(y),v=n(13),O=n.n(v),w=n(0),j=n(1),k=n.n(j);function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=k.a.shape({value:k.a.string.isRequired,onChange:k.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,o,s=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return d()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(w.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:k.a.node}}}]),u}(w.Component)}}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";var r,a=n(16),o=n.n(a),i=n(23),s=n(9),c=n(15),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";var r,a=n(25),o=n.n(a),i=n(16),s=n.n(i),c=n(0),u=n(5),l=n(15),p=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.yoast.externals.components},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(8),a=n.n(r),o=n(10),i=n.n(o),s=n(12),c=n.n(s),u=n(4),l=n.n(u),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,a=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=a()(l.a.mark((function e(t){var n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return h})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return y})),n.d(t,"replaceSpaces",(function(){return g})),n.d(t,"prepareCustomFieldForDispatch",(function(){return v})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return k})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(14),a=n.n(r),o=n(3),i=n(106),s=n(40),c=n(41),u=n(43);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,h=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){h.includes(n)||t.dispatch(Object(s.n)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return e=f(e),Object(c.b)(e)}function y(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function v(e){return{name:"cf_"+g(e),label:Object(c.b)(e+" (custom field)")}}function O(e){var t=g(e);return{name:"ct_"+t,label:Object(c.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(c.b)(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),a=r.name,o=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.n)(a,e.name,o)),t.dispatch(Object(s.n)(i,e.description,c))})),Object(o.omit)(p({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=v(n),a=r.name,o=r.label;t.dispatch(Object(s.n)(a,e,o))})),Object(o.omit)(p({},e),"custom_fields")):e}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),Object(u.isFeatureEnabled)("JAPANESE_SUPPORT")?/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" "))):e=e.substring(0,e.lastIndexOf(" "))),e}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";var r=n(29),a=n.n(r),o=n(0),i=n(1),s=n.n(i),c=n(2),u=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};u.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},u.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var l=u,p=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,s=e.strokeColor,c=e.strokeWidth,u=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,h=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,f=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.x}))))),b=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.y}))))),y=r-c,g=t.map((function(e){var t=e.x/f*n,r=y-e.y/b*y+c;return"".concat(t,",").concat(r)})).join(" "),v="0,".concat(y+c," ")+g+" ".concat(n,",").concat(y+c);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:u,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:i,points:v}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:g})),p&&Object(o.createElement)(l,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:h,isDataTableVisuallyHidden:m}))};p.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},function(e,t,n){"use strict";function r(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),r={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(r)})),t}(e).open()}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},,function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(_n=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=window.moment},,function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(9),i=n(5),s=n(31),c=n.n(s),u=n(1),l=n.n(u),p=Object(o.makeOutboundLink)(),d=function(e){var t=Object(a.sprintf)(
|
2 |
-
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
3 |
-
Object(a.__)("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(r.createElement)(i.Alert,{type:"error"},c()({mixedString:t,components:{updateWincherPlanLink:Object(r.createElement)(p,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(a.sprintf)(
|
4 |
-
/* translators: %s : Expands to "Wincher". */
|
5 |
-
Object(a.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};d.propTypes={limit:l.a.number},d.defaultProps={limit:10},t.a=d},,function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=n(15),s=n(30),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},,function(e,t,n){"use strict";n.d(t,"b",(function(){return E}));var r=n(14),a=n.n(r),o=n(10),i=n.n(o),s=n(12),c=n.n(s),u=n(11),l=n.n(u),p=n(18),d=n.n(p),h=n(19),m=n.n(h),f=n(13),b=n.n(f),y=n(0),g=n(2),v=n(5),O=n(1),w=n.n(O),j=n(50);var k=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
6 |
-
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
7 |
-
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
8 |
-
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
9 |
-
Object(g._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(v.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(g.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(v.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(g.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),o}(y.Component),E=w.a.arrayOf(w.a.shape({name:w.a.string,value:w.a.string}));k.propTypes={postType:w.a.string.isRequired,postTypeName:w.a.string.isRequired,pageType:j.b.isRequired,articleType:j.b,pageTypeOptions:E.isRequired,articleTypeOptions:E.isRequired},k.defaultProps={articleType:null},t.a=Object(j.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(k)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(10),a=n.n(r),o=n(12),i=n.n(o),s=function(){function e(){a()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return g}));var r=n(0),a=n(1),o=n.n(a),i=n(2),s=n(3),c=n(68),u=n.n(c),l=n(5),p=n(9),d=n(59),h=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(i.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},m=Object(p.makeOutboundLink)();function f(e){return Math.round(100*e)}function b(e){var t=e.chartData;if(Object(s.isEmpty)(t)||Object(s.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
10 |
-
/* translators: %d expands to the amount of days */
|
11 |
-
return Object(i.sprintf)(Object(i._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),a=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:f,dataTableCaption:Object(i.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function g(e){var t=e.keyphrase,n=e.rowData,a=e.onTrackKeyphrase,o=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,f=!Object(s.isEmpty)(n),g=Object(r.useCallback)((function(){p||(f?o(t,n.id):a(t))}),[t,a,o,f,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",null,function(e){var t=e.keyphrase,n=e.isEnabled,a=e.toggleAction;return e.isLoading?Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(l.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:a,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:f,toggleAction:g,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,a=!Object(s.isEmpty)(t),o=t&&t.updated_at&&u()(t.updated_at)>=u()().subtract(7,"days"),c=t?Object(i.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return a?o?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(b,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(m,{href:c},Object(i.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(h,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}b.propTypes={chartData:o.a.object},b.defaultProps={chartData:{}},g.propTypes={rowData:o.a.object,keyphrase:o.a.string.isRequired,onTrackKeyphrase:o.a.func,onUntrackKeyphrase:o.a.func,isFocusKeyphrase:o.a.bool,isDisabled:o.a.bool,isLoading:o.a.bool,websiteId:o.a.string},g.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(26),a=n(3);function o(e,t,n){var o=e.dom,i=e.getContent();i=r.markers.removeMarks(i),Object(a.forEach)(n,(function(e){i=e.applyWithReplace(i)})),e.setContent(i),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var s=o.select("yoastmark");Object(a.forEach)(s,(function(e){e.setAttribute("data-mce-bogus","1")}))}function i(e){return window.test=e,o.bind(null,e)}function s(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){i(e)(null,[])}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=n(2),s=n(31),c=n.n(s),u=n(5),l=function(e){var t=Object(i.sprintf)(
|
12 |
-
/* translators: %s expands to a link to open the Wincher login popup. */
|
13 |
-
Object(i.__)("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)(u.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:e.onReconnect},Object(i.sprintf)(
|
14 |
-
/* translators: %s : Expands to "Wincher". */
|
15 |
-
Object(i.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};l.propTypes={onReconnect:o.a.func.isRequired},t.a=l},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),i=n(12),s=n.n(i),c=n(11),u=n.n(c),l=n(18),p=n.n(l),d=n(19),h=n.n(d),m=n(13),f=n.n(m),b=n(0),y=n(1),g=n.n(y),v=n(16),O=n.n(v),w=n(15),j=n.n(w),k=n(31),E=n.n(k),T=n(2),R=n(5),_=n(9),x=j()(R.Alert)(r||(r=O()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),S=Object(_.makeOutboundLink)(),P=function(e){var t=Object(T.sprintf)(
|
16 |
-
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
17 |
-
Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
|
18 |
-
/* Translators: %s expands to Yoast SEO Premium */
|
19 |
-
Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(x,{type:"info"},E()({mixedString:t,components:{strong:Object(b.createElement)("b",null)}}),Object(b.createElement)("br",null),Object(b.createElement)(S,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(b.createElement)("p",null,n))))};P.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=P,I=n(124),A=n(46);var q=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return h()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(u()(t)),t.setActiveField=t.setActiveField.bind(u()(t)),t.setEditorRef=t.setEditorRef.bind(u()(t)),t.setEditorFocus=t.setEditorFocus.bind(u()(t)),t}return s()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,u=e.imageUrl,l=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,h=e.recommendedReplacementVariables,m=e.isPremium,f=e.location;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(C,{socialMediumName:o}),Object(b.createElement)(I.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:l,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!u,imageUrl:u,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:d,recommendedReplacementVariables:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:f}))}}]),a}(b.Component);q.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:A.replacementVariablesShape,recommendedReplacementVariables:A.recommendedReplacementVariablesShape,location:g.a.string},q.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=q},function(e,t,n){"use strict";var r=n(6),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(63),i=n(91),s=n(92),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var d,h,m=f,f=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,s=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?g(d,s,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,i=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),s.push(d))}function g(e,t,n,r,o){var s="";null!=n&&(s=p(n)+"/");var l=b.getPooled(t,s,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var s,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===a)return r(o,t,""===n?"."+u(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)p+=e(s=t[h],d+u(s,h),r,o);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var f,b=m.call(t),y=0;!(f=b.next()).done;)p+=e(s=f.value,d+u(s,y++),r,o);else if("object"===l){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,l),b.release(l)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(h=b).instancePool=[],h.getPooled=d||m,h.poolSize||(h.poolSize=10),h.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(63);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(31),i=n.n(o),s=n(9),c=Object(s.makeOutboundLink)(),u=Object(s.makeOutboundLink)();t.a=function(){var e=Object(a.sprintf)(Object(a.__)(
|
20 |
-
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
21 |
-
"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,i()({mixedString:e,components:{wincherLink:Object(r.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(r.createElement)(u,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(a.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,n){"use strict";var r,a,o=n(7),i=n(20),s=n(25),c=n.n(s),u=n(16),l=n.n(u),p=n(8),d=n.n(p),h=n(0),m=n(4),f=n.n(m),b=n(2),y=n(1),g=n.n(y),v=n(3),O=n(15),w=n.n(O),j=n(5),k=n(70),E=function(){return Object(h.createElement)(j.Alert,{type:"error"},Object(b.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"))},T=function(){return Object(h.createElement)(j.Alert,{type:"success"},Object(b.sprintf)(
|
22 |
-
/* translators: %s: Expands to "Wincher". */
|
23 |
-
Object(b.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher"))},R=function(){return Object(h.createElement)(j.Alert,{type:"info"},Object(b.sprintf)(
|
24 |
-
/* translators: %s: Expands to "Wincher". */
|
25 |
-
Object(b.__)("%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"))},_=n(14),x=n.n(_),S=n(10),P=n.n(S),C=n(12),I=n.n(C),A=n(11),q=n.n(A),D=n(18),L=n.n(D),F=n(19),N=n.n(F),K=n(13),M=n.n(K),B=n(9),H=n(86),W=n(27);var U=Object(B.makeOutboundLink)(),V=w.a.span(r||(r=l()(["\n\tposition: absolute;\n\t",": 8px;\n\tfont-style: italic;\n"])),Object(B.getDirectionalStyle)("right","left")),Y=w.a.th(a||(a=l()(["\n\tmin-width: 60px;\n"]))),G=function(e){L()(u,e);var t,n,r,a,o,i,s,c=(i=u,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=M()(i);if(s){var n=M()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return N()(this,e)});function u(e){var t;return P()(this,u),(t=c.call(this,e)).onTrackKeyphrase=t.onTrackKeyphrase.bind(q()(t)),t.onUntrackKeyphrase=t.onUntrackKeyphrase.bind(q()(t)),t.getTrackedKeyphrases=Object(v.debounce)(t.getTrackedKeyphrases,500,{leading:!0}).bind(q()(t)),t.interval=null,t.hasFetchedKeyphrasesAfterConnect=!1,t}return I()(u,[{key:"performTrackingRequest",value:(o=d()(f.a.mark((function e(t){var n,r,a,o,i,s,c,u,l=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.setKeyphraseLimitReached,a=n.addTrackedKeyphrase,o=n.setRequestSucceeded,i=n.setRequestFailed,s=n.removeTrackedKeyphrase,(c=Array.isArray(t)?t:[t]).map((function(e){return a(x()({},e.toLowerCase(),{keyword:e}))})),e.next=5,Object(W.b)();case 5:if(200!==(u=e.sent).status||u.canTrack){e.next=10;break}return c.map((function(e){return s(e)})),r(u.limit),e.abrupt("return");case 10:return e.next=12,Object(W.e)((function(){return Object(W.g)(t)}),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o(t),a(t.results),e.next=4,l.getTrackedKeyphrases(Object.keys(l.props.trackedKeyphrases));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(t),c.map((function(e){return s(e)}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),201);case 12:case"end":return e.stop()}}),e,this)}))),function(_x){return o.apply(this,arguments)})},{key:"onTrackKeyphrase",value:(a=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,this.props.newRequest)(),e.next=4,this.performTrackingRequest(t);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"onUntrackKeyphrase",value:(r=d()(f.a.mark((function e(t,n){var r,a,o,i,s,c;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props,a=r.setRequestSucceeded,o=r.removeTrackedKeyphrase,i=r.addTrackedKeyphrase,s=r.setRequestFailed,t=t.toLowerCase(),c=this.getKeyphraseData(t),o(t),e.next=6,Object(W.e)((function(){return Object(W.h)(n)}),(function(e){a(e),o(t)}),function(){var e=d()(f.a.mark((function e(n){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s(n),i(x()({},t,c));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"getTrackedKeyphrases",value:(n=d()(f.a.mark((function e(t){var n,r,a,o,i,s=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.setRequestSucceeded,a=n.setTrackedKeyphrases,o=n.setRequestFailed,i=n.permalink,e.next=3,Object(W.e)((function(){return Object(W.d)(t,i)}),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r(t),a(t.results),!Object(v.isEmpty)(t.results)){e.next=5;break}return clearInterval(s.interval),e.abrupt("return");case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"someKeyphrasesHaveNoRankingData",value:function(){var e=this.props.trackedKeyphrases;return!Object(v.isEmpty)(e)&&Object(v.filter)(e,(function(e){return Object(v.isEmpty)(e.updated_at)})).length>0}},{key:"componentDidMount",value:(t=d()(f.a.mark((function e(){var t,n,r,a,o,i=this;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.trackAll,r=t.isLoggedIn,a=t.keyphrases,o=t.permalink,r){e.next=3;break}return e.abrupt("return");case 3:if(!n){e.next=7;break}return e.next=6,this.performTrackingRequest(a);case 6:return e.abrupt("return");case 7:if(!o){e.next=11;break}return this.interval=setInterval(d()(f.a.mark((function e(){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i.getTrackedKeyphrases(a);case 2:case"end":return e.stop()}}),e)}))),1e4),e.next=11,this.getTrackedKeyphrases(a);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"setupInterval",value:function(){var e=this,t=this.props.keyphrases;clearInterval(this.interval),this.someKeyphrasesHaveNoRankingData()&&(this.interval=setInterval(d()(f.a.mark((function n(){return f.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.getTrackedKeyphrases(t);case 2:case"end":return n.stop()}}),n)}))),1e4))}},{key:"fetchKeyphraseDataIfNeeded",value:function(e){var t=this.props,n=t.keyphrases,r=t.isNewlyAuthenticated,a=t.permalink;a&&e.permalink!==a&&this.getTrackedKeyphrases(n),r&&!this.hasFetchedKeyphrasesAfterConnect&&(this.getTrackedKeyphrases(n),this.hasFetchedKeyphrasesAfterConnect=!0)}},{key:"componentDidUpdate",value:function(e){this.props.isLoggedIn&&(this.fetchKeyphraseDataIfNeeded(e),this.setupInterval())}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"getKeyphraseData",value:function(e){var t=this.props.trackedKeyphrases,n=e.toLowerCase();return t&&!Object(v.isEmpty)(t)&&t.hasOwnProperty(n)?t[n]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.websiteId,r=t.keyphrases,a=t.isLoggedIn,o=t.trackedKeyphrases,i=t.focusKeyphrase,s=a&&null===o,c=!a;return r&&!Object(v.isEmpty)(r)&&Object(h.createElement)(h.Fragment,null,Object(h.createElement)("table",{className:"yoast yoast-table"},Object(h.createElement)("thead",null,Object(h.createElement)("tr",null,Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Tracking","wordpress-seo")},Object(b.__)("Tracking","wordpress-seo")),Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Keyphrase","wordpress-seo")},Object(b.__)("Keyphrase","wordpress-seo")),Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Position","wordpress-seo")},Object(b.__)("Position","wordpress-seo")),Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Position over time","wordpress-seo")},Object(b.__)("Position over time","wordpress-seo")),Object(h.createElement)(Y,{className:"yoast-table--nobreak"}))),Object(h.createElement)("tbody",null,r.map((function(t,r){return Object(h.createElement)(H.b,{key:"trackable-keyphrase-".concat(r),keyphrase:t,onTrackKeyphrase:e.onTrackKeyphrase,onUntrackKeyphrase:e.onUntrackKeyphrase,rowData:e.getKeyphraseData(t),isFocusKeyphrase:t===i.trim(),websiteId:n,isDisabled:c,isLoading:s})})))),Object(h.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(h.createElement)(U,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(b.sprintf)(
|
26 |
-
/* translators: %s expands to Wincher */
|
27 |
-
Object(b.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(h.createElement)(V,null,Object(b.__)("* focus keyphrase","wordpress-seo"))))}}]),u}(h.Component);G.propTypes={addTrackedKeyphrase:g.a.func.isRequired,isLoggedIn:g.a.bool,isNewlyAuthenticated:g.a.bool,keyphrases:g.a.array,newRequest:g.a.func.isRequired,removeTrackedKeyphrase:g.a.func.isRequired,setRequestFailed:g.a.func.isRequired,setKeyphraseLimitReached:g.a.func.isRequired,setRequestSucceeded:g.a.func.isRequired,setTrackedKeyphrases:g.a.func.isRequired,trackAll:g.a.bool,trackedKeyphrases:g.a.object,websiteId:g.a.string,permalink:g.a.string.isRequired,focusKeyphrase:g.a.string},G.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:{},websiteId:"",focusKeyphrase:""};var z,$,Z,J=G,X=Object(i.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherWebsiteId,r=t.getWincherTrackedKeyphrases,a=t.getWincherTrackableKeyphrases,o=t.getWincherLoginStatus,i=t.getWincherPermalink,s=t.getFocusKeyphrase,c=t.isWincherNewlyAuthenticated,u=t.shouldWincherTrackAll;return{focusKeyphrase:s(),keyphrases:a(),trackedKeyphrases:r(),isLoggedIn:o(),trackAll:u(),websiteId:n(),isNewlyAuthenticated:c(),permalink:i()}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherNewRequest,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherSetKeyphraseLimitReached,i=t.setWincherTrackedKeyphrases,s=t.setWincherTrackingForKeyphrase,c=t.unsetWincherTrackingForKeyphrase;return{newRequest:function(){n()},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},setKeyphraseLimitReached:function(e){o(e)},addTrackedKeyphrase:function(e){s(e)},removeTrackedKeyphrase:function(e){c(e)},setTrackedKeyphrases:function(e){i(e)}}}))])(J),Q=n(94),ee=function(){return Object(h.createElement)(j.Alert,{type:"error"},Object(b.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo"))},te=function(){return Object(h.createElement)(j.Alert,{type:"info"},Object(b.sprintf)(
|
28 |
-
/* translators: %s: Expands to "Wincher". */
|
29 |
-
Object(b.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"))},ne=n(57),re=n(88),ae=function(){return Object(h.createElement)(j.Alert,{type:"error"},Object(b.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"))},oe=function(e){var t=e.response,n=e.onLogin;return 400===t.status&&t.results&&!1===t.results.canTrack?Object(h.createElement)(k.a,{limit:t.results.limit}):403===t.status||404===t.status?Object(h.createElement)(re.a,{onReconnect:n}):Object(h.createElement)(E,null)};oe.propTypes={response:g.a.object.isRequired,onLogin:g.a.func.isRequired};var ie=function(e){var t=e.isSuccess,n=e.response,r=e.allKeyphrasesMissRanking,a=e.onLogin;return Object(v.isEmpty)(n)||t?r?Object(h.createElement)(R,null):null:Object(h.createElement)(oe,{response:n,onLogin:a})};ie.propTypes={isSuccess:g.a.bool.isRequired,allKeyphrasesMissRanking:g.a.bool.isRequired,response:g.a.object,onLogin:g.a.func.isRequired},ie.defaultProps={response:{}};var se=null,ce=function(){var e=d()(f.a.mark((function e(t,n){var r,a,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.onAuthentication,a=t.setRequestSucceeded,o=t.setRequestFailed,e.next=3,Object(W.e)((function(){return Object(W.a)(n)}),function(){var e=d()(f.a.mark((function e(t){var o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r(!0,!0,n.websiteId.toString()),a(t),(o=se.getPopup())&&o.close();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(_x,t){return e.apply(this,arguments)}}(),ue=function(){var e=d()(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!se||se.isClosed()){e.next=3;break}return se.focus(),e.abrupt("return");case 3:return e.next=5,Object(W.c)();case 5:n=e.sent,r=n.url,(se=new ne.a(r,{success:{type:"wincher:oauth:success",callback:function(e){return ce(t,e)}},error:{type:"wincher:oauth:error",callback:function(){return t.onAuthentication(!1,!1)}}},{title:"Wincher_login",width:500,height:700})).createPopup();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),le=function(e){return e.isLoggedIn?null:Object(h.createElement)("p",null,Object(h.createElement)(j.NewButton,{onClick:e.onLogin,variant:"primary"},Object(b.sprintf)(
|
30 |
-
/* translators: %s expands to Wincher */
|
31 |
-
Object(b.__)("Connect with %s","wordpress-seo"),"Wincher")))};le.propTypes={isLoggedIn:g.a.bool.isRequired,onLogin:g.a.func.isRequired};var pe=w.a.div(z||(z=l()(["\n\tp {\n\t\tmargin: 1em 0;\n\t}\n"]))),de=w.a.div($||($=l()(["\n\t",";\n"])),(function(e){return e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"})),he=w.a.div(Z||(Z=l()(["\n\tfont-weight: var(--yoast-font-weight-bold);\n\tcolor: var(--yoast-color-label);\n\tfont-size: var(--yoast-font-size-default);\n"]))),me=function(e){var t=e.isLoggedIn,n=e.keyphrases,r=e.shouldTrackAll;return!e.permalink&&t?Object(h.createElement)(ae,null):0===n.length?Object(h.createElement)(ee,null):Object(h.createElement)(de,{isDisabled:!t},Object(h.createElement)("p",null,Object(b.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(h.createElement)(te,null),Object(h.createElement)(X,null))};function fe(e){var t=e.isNewlyAuthenticated,n=e.keyphraseLimitReached,r=e.limit,a=e.isLoggedIn,o=Object(h.useCallback)((function(){ue(e)}),[ue,e]);return Object(h.createElement)(pe,null,t&&Object(h.createElement)(T,null),Object(h.createElement)(he,null,Object(b.__)("SEO performance","wordpress-seo"),Object(h.createElement)(j.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(b.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(h.createElement)(Q.a,null),Object(h.createElement)(le,{isLoggedIn:a,onLogin:o}),Object(h.createElement)(ie,c()({},e,{onLogin:o})),n&&Object(h.createElement)(k.a,{limit:r}),Object(h.createElement)(me,e))}me.propTypes={keyphrases:g.a.array.isRequired,isLoggedIn:g.a.bool.isRequired,shouldTrackAll:g.a.bool.isRequired,permalink:g.a.string.isRequired},fe.propTypes={isLoggedIn:g.a.bool,isNewlyAuthenticated:g.a.bool,keyphrases:g.a.array,limit:g.a.number,keyphraseLimitReached:g.a.bool,response:g.a.object,shouldTrackAll:g.a.bool,permalink:g.a.string},fe.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],limit:10,keyphraseLimitReached:!1,response:{},shouldTrackAll:!1,permalink:""},t.a=Object(i.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.isWincherNewlyAuthenticated,r=t.getWincherKeyphraseLimitReached,a=t.getWincherLimit,o=t.getWincherLoginStatus,i=t.getWincherRequestIsSuccess,s=t.getWincherRequestResponse,c=t.getWincherTrackableKeyphrases,u=t.getWincherAllKeyphrasesMissRanking,l=t.getWincherPermalink,p=t.shouldWincherAutomaticallyTrackAll;return{keyphrases:c(),allKeyphrasesMissRanking:u(),isLoggedIn:o(),isNewlyAuthenticated:n(),isSuccess:i(),keyphraseLimitReached:r(),limit:a(),response:s(),shouldTrackAll:p(),permalink:l()}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherWebsiteId,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherLoginStatus;return{setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},onAuthentication:function(e,t,r){n(r),o(e,t)}}}))])(fe)},,,,,,,,,,function(e,t,n){"use strict";var r,a=n(16),o=n.n(a),i=n(0),s=n(1),c=n.n(s),u=n(15),l=n.n(u),p=n(5),d=n(9),h=l()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(i.createElement)(h,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},function(e,t){e.exports=window.wp.sanitize},function(e,t,n){"use strict";var r=n(7),a=n(20),o=n(0),i=n(2),s=n(1),c=n.n(s),u=n(3),l=n(5),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
32 |
-
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
33 |
-
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},d=n(9),h=Object(d.makeOutboundLink)(),m=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(i.sprintf)(
|
34 |
-
/* translators: %s : Expands to "Semrush". */
|
35 |
-
Object(i.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(h,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(i.sprintf)(
|
36 |
-
/* translators: %s : Expands to "Semrush". */
|
37 |
-
Object(i.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},f=n(8),b=n.n(f),y=n(10),g=n.n(y),v=n(12),O=n.n(v),w=n(11),j=n.n(w),k=n(18),E=n.n(k),T=n(19),R=n.n(T),_=n(13),x=n.n(_),S=n(4),P=n.n(S),C=n(34),I=n.n(C),A=n(39);var q="yoast-semrush-country-selector",D=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],L=function(e){E()(c,e);var t,n,r,a,s=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x()(r);if(a){var n=x()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return R()(this,e)});function c(e){var t;return g()(this,c),(t=s.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(j()(t)),t.onChangeHandler=t.onChangeHandler.bind(j()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=b()(P.a.mark((function e(){var t,n,r,a;return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=b()(P.a.mark((function e(t,n){return P.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:q},Object(o.createElement)(l.SingleSelect,{id:q+"-select",label:Object(i.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:D,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(l.NewButton,{id:q+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(i.__)("Select country","wordpress-seo")))}}]),c}(o.Component);L.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},L.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var F=L,N=n(59),K=n(53);var M=Object(d.makeOutboundLink)(),B=function(e){E()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=x()(t);if(n){var a=x()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return R()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(j()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(j()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(j()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(i.__)("Twelve months ago","wordpress-seo"),Object(i.__)("Eleven months ago","wordpress-seo"),Object(i.__)("Ten months ago","wordpress-seo"),Object(i.__)("Nine months ago","wordpress-seo"),Object(i.__)("Eight months ago","wordpress-seo"),Object(i.__)("Seven months ago","wordpress-seo"),Object(i.__)("Six months ago","wordpress-seo"),Object(i.__)("Five months ago","wordpress-seo"),Object(i.__)("Four months ago","wordpress-seo"),Object(i.__)("Three months ago","wordpress-seo"),Object(i.__)("Two months ago","wordpress-seo"),Object(i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,s=t.data,c=t.renderAction,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return s&&!Object(u.isEmpty)(s.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(i.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(i.__)("Volume","wordpress-seo")},Object(i.__)("Volume","wordpress-seo"),Object(o.createElement)(K.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(i.__)("Trend","wordpress-seo")},Object(i.__)("Trend","wordpress-seo"),Object(o.createElement)(K.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,s.results.rows.map((function(t,n){var a=t[0],s=e.transformTrendDataToChartPoints(t[2]),u=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(N.a,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:u})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(M,{href:l},Object(i.sprintf)(
|
38 |
-
/* translators: %s expands to Semrush */
|
39 |
-
Object(i.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);B.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},B.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var H=B,W=Object(d.makeOutboundLink)(),U=function(){return Object(o.createElement)(l.Alert,{type:"info"},Object(i.sprintf)(
|
40 |
-
/* translators: %s: Expands to "Yoast SEO". */
|
41 |
-
Object(i.__)("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(o.createElement)(W,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(i.sprintf)(
|
42 |
-
/* translators: %s: Expands to "Yoast SEO Premium". */
|
43 |
-
Object(i.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},V=function(){return Object(o.createElement)(l.Alert,{type:"error"},Object(i.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Y=function(){return Object(o.createElement)(l.Alert,{type:"warning"},Object(i.sprintf)(
|
44 |
-
/* translators: %s: Expands to "Yoast SEO". */
|
45 |
-
Object(i.__)("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"))},G=n(22);function z(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,s=e.setCountry,c=e.renderAction,l=e.countryCode,d=e.requestLimitReached,h=e.setRequestFailed,f=e.setNoResultsFound,b=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(G.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)(U,null),v&&function(e){return e&&e.length>=4}(b)&&Object(o.createElement)(Y,null),Object(o.createElement)(F,{countryCode:l,setCountry:s,newRequest:a,keyphrase:r,setRequestFailed:h,setNoResultsFound:f,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,s=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(m,null):!r&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(V,null):s?void 0:Object(o.createElement)("p",null,Object(i.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(H,{keyphrase:r,relatedKeyphrases:b,countryCode:l,renderAction:c,data:t}))}z.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},z.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:i(),isPending:s(),requestHasData:c(),lastRequestKeyphrase:u()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}}))])(z)},,,,,function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(55),i=n(44);t.a=Object(r.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(i.a)()])(o.CollapsibleCornerstone)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(12),i=n.n(o),s=n(3),c=function(){function e(){a()(this,e)}return i()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(s.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),u=function(){function e(){a()(this,e)}return i()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),l={classicEditorHidden:s.noop,classicEditorShown:s.noop,pageBuilderLoaded:s.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return i()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),u.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(s.defaults)(e,l),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(14),o=n.n(a),i=n(0),s=n(20),c=n(7),u=n(2),l=n(1),p=n.n(l),d=n(29),h=n.n(d),m=n(16),f=n.n(m),b=n(5),y=n(21),g=n(9),v=n(31),O=n.n(v),w=n(15),j=n.n(w),k=n(78),E=n(43),T=j.a.div(r||(r=f()(["\n\tpadding: 16px;\n"]))),R=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(u.sprintf)(
|
46 |
-
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
47 |
-
Object(u.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(h()(e))},_=function(e){return Object(u.sprintf)(
|
48 |
-
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
49 |
-
Object(u.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},x=function(e){return Object(i.createElement)(b.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(u.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};x.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var S=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(u.__)("Read more about Schema.","wordpress-seo")))};S.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var P=function(e){var t,n=R(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=R(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(E.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,a?Object(i.createElement)(S,e):Object(i.createElement)(x,e),a&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(b.FieldGroup,{label:Object(u.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(u.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(b.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(u.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(b.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(u.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,O()({mixedString:_(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};P.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:k.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:k.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},P.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(P,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(P,e)};C.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var I=C,A=n(79),q=n(44);function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F=function(e){var t=null!==A.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(u.__)("Article type","wordpress-seo"),pageTypeLabel:Object(u.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(u.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(u.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},s=L(L(L({},e),o),"metabox"===e.location?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1});return Object(i.createElement)(I,s)};F.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:i(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(q.a)()])(F)},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(0),i=n(2),s=n(5),c=n(9),u=n(1),l=n.n(u),p=n(30),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,u=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
50 |
-
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
51 |
-
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
52 |
-
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
53 |
-
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(s.Alert,{type:"warning"},Object(i.__)("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(o.createElement)(s.Select,{label:Object(i.sprintf)(
|
54 |
-
/* Translators: %s translates to the Post Label in singular form */
|
55 |
-
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:u,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,editorContext:l.a.object.isRequired,isPrivateBlog:l.a.bool},d.defaultProps={isPrivateBlog:!1};var h=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(s.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
56 |
-
/* Translators: %s translates to the Post Label in singular form */
|
57 |
-
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};h.propTypes={noFollow:l.a.string.isRequired,onNoFollowChange:l.a.func.isRequired,postTypeName:l.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:l.a.array.isRequired,onAdvancedChange:l.a.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};f.propTypes={breadcrumbsTitle:l.a.string.isRequired,onBreadcrumbsTitleChange:l.a.func.isRequired};var b=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};b.propTypes={canonical:l.a.string.isRequired,onCanonicalChange:l.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,u=e.onAdvancedChange,l=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,w=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:w},k={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},E={advanced:r,onAdvancedChange:u},T={breadcrumbsTitle:a,onBreadcrumbsTitleChange:l},R={canonical:i,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,j),v.isPost&&Object(o.createElement)(h,k),v.isPost&&Object(o.createElement)(m,E),!O&&Object(o.createElement)(f,T),Object(o.createElement)(b,R))};y.propTypes={noIndex:l.a.string.isRequired,canonical:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,onCanonicalChange:l.a.func.isRequired,onLoad:l.a.func.isRequired,isLoading:l.a.bool.isRequired,editorContext:l.a.object.isRequired,isBreadcrumbsDisabled:l.a.bool.isRequired,isPrivateBlog:l.a.bool,advanced:l.a.array,onAdvancedChange:l.a.func,noFollow:l.a.string,onNoFollowChange:l.a.func,breadcrumbsTitle:l.a.string,onBreadcrumbsTitleChange:l.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,u=(0,t.getPreferences)(),l=u.isBreadcrumbsDisabled,p=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:l,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(21),o=n(1),i=n.n(o),s=n(89),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(32),i=n.n(o),s=n(0),c=n(21),u=n(1),l=n.n(u),p=n(89);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var m=function(e){var t=Object(s.useState)(""),n=i()(t,2),r=n[0],a=n[1],o=Object(s.useCallback)((function(e){a(e.detail.metaTabId)}),[a]);Object(s.useEffect)((function(){return setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),function(){window.removeEventListener("YoastSEO:metaTabChange",o)}}),[]);var u=Object(s.useMemo)((function(){return h(h({},e),{},{activeMetaTabId:r})}),[e,r]);return e.isPremium?Object(s.createElement)(c.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:u}):Object(s.createElement)(p.a,u)};m.propTypes={isPremium:l.a.bool.isRequired,onLoad:l.a.func.isRequired,location:l.a.string.isRequired},t.a=m},,,,,,,,function(e,t,n){"use strict";var r=n(7),a=n(5);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(25),i=n.n(o),s=n(0),c=n(20),u=n(7),l=n(2),p=n(122),d=n(30),h=n(105),m=n(58),f=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,u=t.getSnippetEditorData,l=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,h=t.isCornerstoneContent,m=t.getIsTerm,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:u(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:l(),recommendedReplacementVariables:o(),replacementVariables:f,shoppingData:s(),wordsToHighlight:d(),isCornerstone:h(),isTaxonomy:m()}})),Object(u.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(s.createElement)(d.LocationConsumer,null,(function(t){return Object(s.createElement)(h.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(p.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:f,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(9),i=n(123),s=n(22),c=n(44),u=n(60),l=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateTwitterImage)(e)})},p=function(){Object(u.a)(l)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,o=t.getFacebookImageUrl,i=t.getFacebookTitle,c=t.getFacebookDescription,u=t.getDescription,l=t.getSeoTitle,p=t.getTwitterWarnings,d=t.getTwitterImageType,h=t.getImageFallback,m=t.getRecommendedReplaceVars,f=t.getReplaceVars,b=t.getSiteUrl,y=t.getSeoTitleTemplate,g=t.getSeoTitleTemplateNoFallback,v=t.getSocialTitleTemplate,O=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,j=t.getReplacedExcerpt;return{imageUrl:a(),imageFallbackUrl:o()||h(),recommendedReplacementVariables:m(),replacementVariables:f(),description:n(),descriptionPreviewFallback:w()||c()||u()||O()||j()||"",title:r(),titlePreviewFallback:v()||i()||l()||g()||y()||"",imageWarnings:p(),siteUrl:b(),isPremium:!!Object(s.a)().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(i.a)},function(e,t,n){"use strict";var r=n(20),a=n(7),o=n(9),i=n(125),s=n(22),c=n(44),u=n(60),l=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateFacebookImage)(e)})},p=function(){Object(u.a)(l)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,o=t.getSeoTitle,i=t.getFacebookImageUrl,c=t.getImageFallback,u=t.getFacebookWarnings,l=t.getRecommendedReplaceVars,p=t.getReplaceVars,d=t.getSiteUrl,h=t.getSeoTitleTemplate,m=t.getSeoTitleTemplateNoFallback,f=t.getSocialTitleTemplate,b=t.getSeoDescriptionTemplate,y=t.getSocialDescriptionTemplate,g=t.getReplacedExcerpt;return{imageUrl:i(),imageFallbackUrl:c(),recommendedReplacementVariables:l(),replacementVariables:p(),description:n(),descriptionPreviewFallback:y()||r()||b()||g()||"",title:a(),titlePreviewFallback:f()||o()||m()||h()||"",imageWarnings:u(),siteUrl:d(),isPremium:!!Object(s.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(i.a)},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r=n(0),a=n(1),o=n.n(a),i=n(21),s=n(113),c=n(76);function u(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(i.Slot,{name:"YoastMetabox"},(function(e){return Object(s.a)(e)})))}var l=n(7),p=n(20),d=n(2),h=n(112),m=n(134),f=n(133),b=n(55),y=n(54),g=n(33),v=n(117),O=n(136),w=n(135),j=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(y.a,{hasSeparator:!1
|
58 |
-
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(O.a,null)),n&&Object(r.createElement)(y.a
|
59 |
-
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};j.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=j,E=Object(l.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(42);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(E,null))}R.propTypes={target:o.a.string.isRequired};var _=n(116),x=n(107),S=n(95),P=n(23);function C(e){var t=e.settings,n=e.wincherKeyphrases,a=e.setWincherNoKeyphrase,o=Object(r.useCallback)((function(){if(!n.length)return a(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1}),[n,a]);return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(g.a,{key:"warning",renderPriority:1},Object(r.createElement)(f.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(b.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(x.a,null))),Object(r.createElement)(g.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(m.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(g.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(b.ReadabilityAnalysis,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(b.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(g.a,{key:"wincher-seo-performance",renderPriority:25},Object(r.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(d.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:P.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:P.colors.$color_grey_medium_dark},onToggle:o},Object(r.createElement)(S.a,null))),t.isCornerstoneActive&&Object(r.createElement)(g.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(h.a,null)),t.displayAdvancedTab&&Object(r.createElement)(g.a,{key:"advanced",renderPriority:40},Object(r.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(v.a,null))),t.displaySchemaSettings&&Object(r.createElement)(g.a,{key:"schema",renderPriority:50},Object(r.createElement)(_.a,null)),Object(r.createElement)(g.a,{key:"social",renderPriority:-1},Object(r.createElement)(R,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired,wincherKeyphrases:o.a.array.isRequired,setWincherNoKeyphrase:o.a.func.isRequired};var I=Object(p.compose)([Object(l.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPreferences,a=n.getWincherTrackableKeyphrases;return{settings:r(),store:t.store,wincherKeyphrases:a()}})),Object(l.withDispatch)((function(e){return{setWincherNoKeyphrase:e("yoast-seo/editor").setWincherNoKeyphrase}}))])(C);function A(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(u,{store:n,theme:a}),Object(r.createElement)(I,{store:n,theme:a}))}A.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(29),a=n.n(r),o=n(10),i=n.n(o),s=n(12),c=n.n(s),u=n(18),l=n.n(u),p=n(19),d=n.n(p),h=n(13),m=n.n(h),f=n(0),b=n(21),y=n(154),g=n(22);var v=[],O=null,w=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var a=m()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(a()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(f.createElement)(t,{key:n})}))}}]),o}(f.Component);function j(e,t){null===O||null===O.current?v.push({key:e,Component:t}):O.current.registerComponent(e,t)}var k=n(14),E=n.n(k),T=n(17),R=n(3),_=n(26),x=n.n(_),S=n(58),P=n(37);function C(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach((function(t){E()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A=x.a.markers.removeMarks,q=T.actions.updateReplacementVariable,D=T.actions.updateData,L=T.actions.hideReplacementVariables,F=T.actions.setContentImage,N=jQuery,K=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";i()(this,e),this._refresh=t,this._store=n,this._initialData={},this._previousData={},this._tinyMceId=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this._initialData=this.getInitialData(e),Object(S.fillReplacementVariables)(this._initialData,this._store),this._store.dispatch(L(t)),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!Object(R.isUndefined)(wp.media)&&!Object(R.isUndefined)(wp.media.featuredImage)){N("#postimagediv").on("click","#remove-post-thumbnail",(function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())}));var t=wp.media.featuredImage.frame();t.on("select",(function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))})),P.addEventHandler(this._tinyMceId,["init"],(function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch(F(t)),e.setImageInSnippetPreview(n)})),P.addEventHandler(this._tinyMceId,["change"],Object(R.debounce)((function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch(F(t)),e.setImageInSnippetPreview(t)}}),1e3))}}},{key:"getFeaturedImage",value:function(){var e=N("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch(D({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=x.a.languageProcessing.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=N(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"getTitle",value:function(){var e=document.getElementById("title");return e&&e.value||""}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.getElementById("excerpt"),n=t&&t.value||"";return""!==n||!1===e?n:Object(S.excerptFromContent)(this.getContent())}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._tinyMceId;return A(P.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",(function(e){n.updateReplacementData(e,t)}))}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch(q(t,n))}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(q("excerpt",e.excerpt)),this._store.dispatch(q("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=Object(R.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=Object(S.mapCustomFields)(e,this._store),I(I({},e=Object(S.mapCustomTaxonomies)(e,this._store)),{},{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return I(I({},this._store.getState().snippetEditor.data),{},{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=j,function(e){var t=Object(g.a)();O=Object(f.createRef)();var n={isRtl:t.isRtl};Object(f.render)(Object(f.createElement)(b.SlotFillProvider,null,Object(f.createElement)(y.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(f.createElement)(w,{ref:O})),document.getElementById("wpseo-metabox-root")),v.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}(e)},window.yoast.EditorData=K}]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/dist/classic-editor.js
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=209)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){function n(e,t,n,r,a,o,i){try{var s=e[o](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var i=e.apply(t,r);function s(e){n(i,a,o,s,c,"next",e)}function c(e){n(i,a,o,s,c,"throw",e)}s(void 0)}))}}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(35),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t,n){var r=n(67),a=n(68),o=n(69);e.exports=function(e){return r(e)||a(e)||o()}},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=window.yoast.analysis},,function(e,t,n){var r=n(64),a=n(65),o=n(66);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=s(n(5)),o=s(n(89)),i=s(n(92));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,p,d,m,h,f=[],b={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){i=n[p.value],u=d;break}f.push(n[p.value])}else f.push(p.value);return i&&(l=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(u,t),m=e(t.slice(u+1,l),n),s=a.default.cloneElement(i,{},m),f.push(s),l<t.length-1&&(h=e(t.slice(l+1),n),f=f.concat(h))),1===f.length?f[0]:(f.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,o.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return g})),n.d(t,"e",(function(){return O})),n.d(t,"f",(function(){return j}));var r=n(16),a=n.n(r),o=n(7),i=n.n(o),s=n(36),c=n.n(s),u=n(3);function l(_x){return p.apply(this,arguments)}function p(){return(p=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return m.apply(this,arguments)}function m(){return(m=a()(i.a.mark((function e(t,n,r){var a,o,s=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=s.length>3&&void 0!==s[3]?s[3]:200,e.prev=1,e.next=4,t();case 4:if(!(o=e.sent)){e.next=9;break}if(o.status!==a){e.next=8;break}return e.abrupt("return",n(o));case 8:return e.abrupt("return",r(o));case 9:return e.abrupt("return",!1);case 12:e.prev=12,e.t0=e.catch(1),console.error(e.t0.message);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))).apply(this,arguments)}function h(){return f.apply(this,arguments)}function f(){return(f=a()(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=a()(i.a.mark((function e(t){var n,r;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,l({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function g(){return v.apply(this,arguments)}function v(){return(v=a()(i.a.mark((function e(){var t,n,r,a=arguments;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:null,n=a.length>1&&void 0!==a[1]?a[1]:null,r=a.length>2?a[2]:void 0,e.next=5,l({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n},signal:r});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return w.apply(this,arguments)}function w(){return(w=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(u.isArray)(t)||(t=[t]),e.next=3,l({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e){return E.apply(this,arguments)}function E(){return(E=a()(i.a.mark((function e(t){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=i},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return u})),n.d(t,"setStore",(function(){return l})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return h})),n.d(t,"disableMarkerButtons",(function(){return f})),n.d(t,"enableMarkerButtons",(function(){return b})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(3),o=n(85),i=n(115),s=n(17),c="content",u="description";function l(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&","g"),n.replace(r,"&")}function h(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function f(){Object(a.isUndefined)(r)||r.dispatch(s.actions.setMarkerStatus("disabled"))}function b(){Object(a.isUndefined)(r)||r.dispatch(s.actions.setMarkerStatus("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(f(),p()&&tinyMCE.on("AddEditor",(function(){b()})))}function v(e,t){h(t,["input","change","cut","paste"],e),h(t,["hide"],f);var n=["show"];(new i.a).isPageBuilderActive()||n.push("init"),h(t,n,b),h("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(80);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return o})),n.d(t,"g",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return m})),n.d(t,"n",(function(){return h})),n.d(t,"o",(function(){return f})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return y})),n.d(t,"i",(function(){return g}));var r=n(8),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",c="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",p="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:a,mode:e}}function m(e){return{type:o,data:e}}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n,hidden:a}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:c,name:e}}function y(){return{type:u,time:(new Date).getMilliseconds()}}function g(e){return{type:s,data:e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return o}));var r=n(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function o(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),a=n(1),o=n.n(a);function i(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}i.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(14),a=n.n(r),o=n(20),i=n(0),s=n(30);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},,function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},,function(e,t,n){"use strict";n.d(t,"b",(function(){return R}));var r=n(26),a=n.n(r),o=n(38),i=n.n(o),s=n(14),c=n.n(s),u=n(9),l=n.n(u),p=n(10),d=n.n(p),m=n(11),h=n.n(m),f=n(18),b=n.n(f),y=n(19),g=n.n(y),v=n(12),O=n.n(v),w=n(0),j=n(1),E=n.n(j);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,o,s=(r=u,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(h()(n),t)})})),n.state=r,n}return d()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(w.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(w.Component)}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),a=n(22);function o(){var e=Object(a.a)();return Object(r.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),i=n(24),s=n(8),c=n(13),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";var r,a=n(26),o=n.n(a),i=n(15),s=n.n(i),c=n(0),u=n(4),l=n(13),p=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.yoast.externals.components},,function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return h})),n.d(t,"createLabelFromName",(function(){return f})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return w})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(14),a=n.n(r),o=n(3),i=n(105),s=n(40),c=n(41);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(8).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(s.n)(n,e))}))}function h(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function f(e){return e=h(e),Object(c.b)(e)}function b(e,t){return e.push({name:t.name,label:t.label||f(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:Object(c.b)(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:Object(c.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(c.b)(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.n)(a,e.name,o)),t.dispatch(Object(s.n)(i,e.description,c))})),Object(o.omit)(l({},e),"custom_taxonomies")):e}function w(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(s.n)(a,e,o))})),Object(o.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" ")))),e}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";var r=n(23),a=n.n(r),o=n(0),i=n(1),s=n.n(i),c=n(2),u=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};u.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},u.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var l=u,p=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,s=e.strokeColor,c=e.strokeWidth,u=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,m=e.dataTableHeaderLabels,h=e.isDataTableVisuallyHidden,f=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.x}))))),b=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.y}))))),y=r-c,g=t.map((function(e){var t=e.x/f*n,r=y-e.y/b*y+c;return"".concat(t,",").concat(r)})).join(" "),v="0,".concat(y+c," ")+g+" ".concat(n,",").concat(y+c);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:u,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:i,points:v}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:g})),p&&Object(o.createElement)(l,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:m,isDataTableVisuallyHidden:h}))};p.propTypes={data:s.a.arrayOf(s.a.shape({x:s.a.number,y:s.a.number})).isRequired,width:s.a.number.isRequired,height:s.a.number.isRequired,fillColor:s.a.string,strokeColor:s.a.string,strokeWidth:s.a.number,className:s.a.string,mapChartDataToTableData:s.a.func,dataTableCaption:s.a.string.isRequired,dataTableHeaderLabels:s.a.array.isRequired,isDataTableVisuallyHidden:s.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},function(e,t,n){"use strict";function r(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),r={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(r)})),t}(e).open()}n.d(t,"a",(function(){return r}))},,,function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},,function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,i=e[Symbol.iterator]();!(_n=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=n(13),s=n(30),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},function(e,t){e.exports=window.moment},,,,function(e,t){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(14),a=n.n(r),o=n(9),i=n.n(o),s=n(10),c=n.n(s),u=n(11),l=n.n(u),p=n(18),d=n.n(p),m=n(19),h=n.n(m),f=n(12),b=n.n(f),y=n(0),g=n(2),v=n(4),O=n(1),w=n.n(O),j=n(50);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return h()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
|
2 |
+
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
3 |
+
Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
|
4 |
+
/* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
|
5 |
+
Object(g._n)("Upon saving, this setting will apply to all of your %1$s. %1$s that are manually configured will be left untouched.","Upon saving, these settings will apply to all of your %1$s. %1$s that are manually configured will be left untouched.",this.props.articleType?2:1,"wordpress-seo"),this.props.postTypeName)),Object(y.createElement)(v.Select,{id:"schema-page-type-".concat(this.props.postType),name:"schema_page_type",options:this.props.pageTypeOptions,label:Object(g.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&Object(y.createElement)(v.Select,{id:"schema-article-type-".concat(this.props.postType),name:"schema_article_type",options:this.props.articleTypeOptions,label:Object(g.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),o}(y.Component),k=w.a.arrayOf(w.a.shape({name:w.a.string,value:w.a.string}));E.propTypes={postType:w.a.string.isRequired,postTypeName:w.a.string.isRequired,pageType:j.b.isRequired,articleType:j.b,pageTypeOptions:k.isRequired,articleTypeOptions:k.isRequired},E.defaultProps={articleType:null},t.a=Object(j.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(E)},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(9),a=n.n(r),o=n(10),i=n.n(o),s=function(){function e(){a()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},,function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return g}));var r=n(0),a=n(1),o=n.n(a),i=n(2),s=n(3),c=n(71),u=n.n(c),l=n(4),p=n(8),d=n(58),m=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(i.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},h=Object(p.makeOutboundLink)();function f(e){return Math.round(100*e)}function b(e){var t=e.chartData;if(Object(s.isEmpty)(t)||Object(s.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
6 |
+
/* translators: %d expands to the amount of days */
|
7 |
+
return Object(i.sprintf)(Object(i._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),a=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:f,dataTableCaption:Object(i.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function g(e){var t=e.keyphrase,n=e.rowData,a=e.onTrackKeyphrase,o=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,f=!Object(s.isEmpty)(n),g=Object(r.useCallback)((function(){p||(f?o(t,n.id):a(t))}),[t,a,o,f,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",{className:"yoast-table--nopadding"},function(e){var t=e.keyphrase,n=e.isEnabled,a=e.toggleAction;return e.isLoading?Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(l.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:a,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:f,toggleAction:g,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,a=!Object(s.isEmpty)(t),o=t&&t.updated_at&&u()(t.updated_at)>=u()().subtract(7,"days"),c=t?Object(i.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return a?o?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(b,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(h,{href:c},Object(i.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(m,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}b.propTypes={chartData:o.a.object},b.defaultProps={chartData:{}},g.propTypes={rowData:o.a.object,keyphrase:o.a.string.isRequired,onTrackKeyphrase:o.a.func,onUntrackKeyphrase:o.a.func,isFocusKeyphrase:o.a.bool,isDisabled:o.a.bool,isLoading:o.a.bool,websiteId:o.a.string},g.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return c}));var r=n(27),a=n(3);function o(e,t,n){var o=e.dom,i=e.getContent();i=r.markers.removeMarks(i),Object(a.forEach)(n,(function(e){i=e.applyWithReplace(i)})),e.setContent(i),function(e){var t=e.getContent();t=t.replace(new RegExp("<yoastmark.+?>","g"),"").replace(new RegExp("</yoastmark>","g"),""),e.setContent(t)}(e);var s=o.select("yoastmark");Object(a.forEach)(s,(function(e){e.setAttribute("data-mce-bogus","1")}))}function i(e){return window.test=e,o.bind(null,e)}function s(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){i(e)(null,[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(16),a=n.n(r),o=n(9),i=n.n(o),s=n(10),c=n.n(s),u=n(7),l=n.n(u),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,a=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=a()(l.a.mark((function e(t){var n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),i=n(2),s=n(31),c=n.n(s),u=n(4),l=function(e){var t=Object(i.sprintf)(
|
8 |
+
/* translators: %s expands to a link to open the Wincher login popup. */
|
9 |
+
Object(i.__)("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)(u.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:e.onReconnect},Object(i.sprintf)(
|
10 |
+
/* translators: %s : Expands to "Wincher". */
|
11 |
+
Object(i.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};l.propTypes={onReconnect:o.a.func.isRequired},t.a=l},function(e,t,n){"use strict";var r,a=n(9),o=n.n(a),i=n(10),s=n.n(i),c=n(11),u=n.n(c),l=n(18),p=n.n(l),d=n(19),m=n.n(d),h=n(12),f=n.n(h),b=n(0),y=n(1),g=n.n(y),v=n(15),O=n.n(v),w=n(13),j=n.n(w),E=n(31),k=n.n(E),T=n(2),R=n(4),_=n(8),S=j()(R.Alert)(r||(r=O()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),x=Object(_.makeOutboundLink)(),C=function(e){var t=Object(T.sprintf)(
|
12 |
+
/* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
|
13 |
+
Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
|
14 |
+
/* Translators: %s expands to Yoast SEO Premium */
|
15 |
+
Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(S,{type:"info"},k()({mixedString:t,components:{strong:Object(b.createElement)("b",null)}}),Object(b.createElement)("br",null),Object(b.createElement)(x,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(b.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(125),A=n(46);var q=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(u()(t)),t.setActiveField=t.setActiveField.bind(u()(t)),t.setEditorRef=t.setEditorRef.bind(u()(t)),t.setEditorFocus=t.setEditorFocus.bind(u()(t)),t}return s()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,u=e.imageUrl,l=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,m=e.recommendedReplacementVariables,h=e.isPremium,f=e.location;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(P,{socialMediumName:o}),Object(b.createElement)(I.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:l,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!u,imageUrl:u,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:d,recommendedReplacementVariables:m,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:h,setEditorRef:this.setEditorRef,idSuffix:f}))}}]),a}(b.Component);q.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:A.replacementVariablesShape,recommendedReplacementVariables:A.recommendedReplacementVariablesShape,location:g.a.string},q.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=q},function(e,t,n){"use strict";var r=n(5),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(62),i=n(90),s=n(91),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var d,m,h=f,f=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,i,s=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?g(d,s,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,i=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:i},void 0!==a.props?a.props.children:void 0)),s.push(d))}function g(e,t,n,r,o){var s="";null!=n&&(s=p(n)+"/");var l=b.getPooled(t,s,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var s,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===a)return r(o,t,""===n?"."+u(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(s=t[m],d+u(s,m),r,o);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var f,b=h.call(t),y=0;!(f=b.next()).done;)p+=e(s=f.value,d+u(s,y++),r,o);else if("object"===l){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,l),b.release(l)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=b).instancePool=[],m.getPooled=d||h,m.poolSize||(m.poolSize=10),m.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(62);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(31),i=n.n(o),s=n(8),c=Object(s.makeOutboundLink)(),u=Object(s.makeOutboundLink)();t.a=function(){var e=Object(a.sprintf)(Object(a.__)(
|
16 |
+
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
17 |
+
"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,i()({mixedString:e,components:{wincherLink:Object(r.createElement)(c,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(r.createElement)(u,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(a.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,n){"use strict";var r=n(6),a=n(20),o=n(26),i=n.n(o),s=n(15),c=n.n(s),u=n(16),l=n.n(u),p=n(0),d=n(7),m=n.n(d),h=n(2),f=n(1),b=n.n(f),y=n(3),g=n(13),v=n.n(g),O=n(4),w=n(8),j=n(31),E=n.n(j),k=Object(w.makeOutboundLink)(),T=function(e){var t=Object(h.sprintf)(
|
18 |
+
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
19 |
+
Object(h.__)("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(p.createElement)(O.Alert,{type:"error"},E()({mixedString:t,components:{updateWincherPlanLink:Object(p.createElement)(k,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(h.sprintf)(
|
20 |
+
/* translators: %s : Expands to "Wincher". */
|
21 |
+
Object(h.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};T.propTypes={limit:b.a.number},T.defaultProps={limit:10};var R,_,S,x=T,C=function(){return Object(p.createElement)(O.Alert,{type:"error"},Object(h.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"))},P=function(){return Object(p.createElement)(O.Alert,{type:"success"},Object(h.sprintf)(
|
22 |
+
/* translators: %s: Expands to "Wincher". */
|
23 |
+
Object(h.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher"))},I=function(){return Object(p.createElement)(O.Alert,{type:"info"},Object(h.sprintf)(
|
24 |
+
/* translators: %s: Expands to "Wincher". */
|
25 |
+
Object(h.__)("%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"))},A=n(23),q=n.n(A),L=n(29),D=n.n(L),F=n(84),N=n(32),M=Object(w.makeOutboundLink)(),B=v.a.span(R||(R=c()(["\n\tdisplay: block;\n\tfont-style: italic;\n\n\t@media (min-width: 782px) {\n\t\tdisplay: inline;\n\t\tposition: absolute;\n\t\t",": 8px;\n\t}\n"])),Object(w.getDirectionalStyle)("right","left")),K=v.a.th(_||(_=c()(["\n\tmin-width: 60px;\n"]))),H=v.a.div(S||(S=c()(["\n\twidth: 100%;\n\toverflow-y: auto;\n"]))),W=function(e){var t=Object(p.useRef)();return Object(p.useEffect)((function(){t.current=e})),t.current},U=Object(y.debounce)(N.c,500,{leading:!0}),V=function(e){var t=e.addTrackedKeyphrase,n=e.isLoggedIn,r=e.keyphrases,a=e.permalink,o=e.removeTrackedKeyphrase,i=e.setKeyphraseLimitReached,s=e.setRequestFailed,c=e.setRequestSucceeded,u=e.setTrackedKeyphrases,d=e.setHasTrackedAll,f=e.trackAll,b=e.trackedKeyphrases,g=e.isNewlyAuthenticated,v=e.websiteId,O=e.focusKeyphrase,w=e.newRequest,j=Object(p.useRef)(),E=Object(p.useRef)(),k=Object(p.useRef)(!1),T=Object(p.useState)([]),R=D()(T,2),_=R[0],S=R[1],x=Object(p.useCallback)((function(e){var t=e.toLowerCase();return b&&!Object(y.isEmpty)(b)&&b.hasOwnProperty(t)?b[t]:null}),[b]),C=Object(p.useMemo)((function(){return l()(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(N.d)((function(){return E.current&&E.current.abort(),E.current="undefined"==typeof AbortController?null:new AbortController,U(r,a,E.current.signal)}),(function(e){c(e),u(e.results)}),(function(e){s(e)}));case 2:case"end":return e.stop()}}),e)})))}),[c,s,u,r,a]),P=Object(p.useCallback)(function(){var e=l()(m.a.mark((function e(n){var r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=(Array.isArray(n)?n:[n]).map((function(e){return e.toLowerCase()})),S((function(e){return[].concat(q()(e),q()(r))})),e.next=4,Object(N.d)((function(){return Object(N.e)(r)}),(function(e){c(e),t(e.results),C()}),(function(e){400===e.status&&e.limit&&i(e.limit),s(e)}),201);case 4:S((function(e){return y.without.apply(void 0,[e].concat(q()(r)))}));case 5:case"end":return e.stop()}}),e)})));return function(_x){return e.apply(this,arguments)}}(),[c,s,i,t,C]),I=Object(p.useCallback)(function(){var e=l()(m.a.mark((function e(t,n){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=t.toLowerCase(),S((function(e){return[].concat(q()(e),[t])})),e.next=4,Object(N.d)((function(){return Object(N.f)(n)}),(function(e){c(e),o(t)}),(function(e){s(e)}));case 4:S((function(e){return Object(y.without)(e,t)}));case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),[c,o,s]),A=Object(p.useCallback)(function(){var e=l()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return w(),e.next=3,P(t);case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),[w,P]),L=W(a),V=W(r);Object(p.useEffect)((function(){n&&a&&(a!==L||Object(y.difference)(r,V).length)&&C()}),[n,a,L,r,V,C]),Object(p.useEffect)((function(){if(n&&f&&null!==b){var e=r.filter((function(e){return!x(e)}));e.length&&P(e),d()}}),[n,f,b,P,d,x,r]),Object(p.useEffect)((function(){g&&!k.current&&(C(),k.current=!0)}),[g,C]),Object(p.useEffect)((function(){if(n&&!Object(y.isEmpty)(b))return Object(y.filter)(b,(function(e){return Object(y.isEmpty)(e.updated_at)})).length>0&&(j.current=setInterval((function(){C()}),1e4)),function(){clearInterval(j.current)}}),[n,b,C]);var Y=n&&null===b;return r&&!Object(y.isEmpty)(r)&&Object(p.createElement)(p.Fragment,null,Object(p.createElement)(H,null,Object(p.createElement)("table",{className:"yoast yoast-table"},Object(p.createElement)("thead",null,Object(p.createElement)("tr",null,Object(p.createElement)("th",{scope:"col",abbr:Object(h.__)("Tracking","wordpress-seo")},Object(h.__)("Tracking","wordpress-seo")),Object(p.createElement)("th",{scope:"col",abbr:Object(h.__)("Keyphrase","wordpress-seo")},Object(h.__)("Keyphrase","wordpress-seo")),Object(p.createElement)("th",{scope:"col",abbr:Object(h.__)("Position","wordpress-seo")},Object(h.__)("Position","wordpress-seo")),Object(p.createElement)("th",{scope:"col",abbr:Object(h.__)("Position over time","wordpress-seo")},Object(h.__)("Position over time","wordpress-seo")),Object(p.createElement)(K,{className:"yoast-table--nobreak"}))),Object(p.createElement)("tbody",null,r.map((function(e,t){return Object(p.createElement)(F.b,{key:"trackable-keyphrase-".concat(t),keyphrase:e,onTrackKeyphrase:A,onUntrackKeyphrase:I,rowData:x(e),isFocusKeyphrase:e===O.trim(),websiteId:v,isDisabled:!n,isLoading:Y||_.indexOf(e.toLowerCase())>=0})}))))),Object(p.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(p.createElement)(M,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(h.sprintf)(
|
26 |
+
/* translators: %s expands to Wincher */
|
27 |
+
Object(h.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(p.createElement)(B,null,Object(h.__)("* focus keyphrase","wordpress-seo"))))};V.propTypes={addTrackedKeyphrase:b.a.func.isRequired,isLoggedIn:b.a.bool,isNewlyAuthenticated:b.a.bool,keyphrases:b.a.array,newRequest:b.a.func.isRequired,removeTrackedKeyphrase:b.a.func.isRequired,setRequestFailed:b.a.func.isRequired,setKeyphraseLimitReached:b.a.func.isRequired,setRequestSucceeded:b.a.func.isRequired,setTrackedKeyphrases:b.a.func.isRequired,setHasTrackedAll:b.a.func.isRequired,trackAll:b.a.bool,trackedKeyphrases:b.a.object,websiteId:b.a.string,permalink:b.a.string.isRequired,focusKeyphrase:b.a.string},V.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:null,websiteId:"",focusKeyphrase:""};var Y,G,z,$=V,Z=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherWebsiteId,r=t.getWincherTrackedKeyphrases,a=t.getWincherTrackableKeyphrases,o=t.getWincherLoginStatus,i=t.getWincherPermalink,s=t.getFocusKeyphrase,c=t.isWincherNewlyAuthenticated,u=t.shouldWincherTrackAll;return{focusKeyphrase:s(),keyphrases:a(),trackedKeyphrases:r(),isLoggedIn:o(),trackAll:u(),websiteId:n(),isNewlyAuthenticated:c(),permalink:i()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherNewRequest,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherSetKeyphraseLimitReached,i=t.setWincherTrackedKeyphrases,s=t.setWincherTrackingForKeyphrase,c=t.setWincherTrackAllKeyphrases,u=t.unsetWincherTrackingForKeyphrase;return{newRequest:function(){n()},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},setKeyphraseLimitReached:function(e){o(e)},addTrackedKeyphrase:function(e){s(e)},removeTrackedKeyphrase:function(e){u(e)},setTrackedKeyphrases:function(e){i(e)},setHasTrackedAll:function(){c(!1)}}}))])($),J=n(93),X=function(){return Object(p.createElement)(O.Alert,{type:"error"},Object(h.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo"))},Q=function(){return Object(p.createElement)(O.Alert,{type:"info"},Object(h.sprintf)(
|
28 |
+
/* translators: %s: Expands to "Wincher". */
|
29 |
+
Object(h.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"))},ee=n(86),te=n(87),ne=function(){return Object(p.createElement)(O.Alert,{type:"error"},Object(h.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"))},re=function(e){var t=e.response,n=e.onLogin;return 403===t.status||404===t.status?Object(p.createElement)(te.a,{onReconnect:n}):Object(p.createElement)(C,null)};re.propTypes={response:b.a.object.isRequired,onLogin:b.a.func.isRequired};var ae=function(e){var t=e.isSuccess,n=e.response,r=e.allKeyphrasesMissRanking,a=e.onLogin,o=e.keyphraseLimitReached,i=e.limit;return o?Object(p.createElement)(x,{limit:i}):Object(y.isEmpty)(n)||t?r?Object(p.createElement)(I,null):null:Object(p.createElement)(re,{response:n,onLogin:a})};ae.propTypes={isSuccess:b.a.bool.isRequired,allKeyphrasesMissRanking:b.a.bool.isRequired,response:b.a.object,onLogin:b.a.func.isRequired,keyphraseLimitReached:b.a.bool.isRequired,limit:b.a.number.isRequired},ae.defaultProps={response:{}};var oe=null,ie=function(){var e=l()(m.a.mark((function e(t,n){var r,a,o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.onAuthentication,a=t.setRequestSucceeded,o=t.setRequestFailed,e.next=3,Object(N.d)((function(){return Object(N.a)(n)}),function(){var e=l()(m.a.mark((function e(t){var o;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r(!0,!0,n.websiteId.toString()),a(t),(o=oe.getPopup())&&o.close();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=l()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(_x,t){return e.apply(this,arguments)}}(),se=function(){var e=l()(m.a.mark((function e(t){var n,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!oe||oe.isClosed()){e.next=3;break}return oe.focus(),e.abrupt("return");case 3:return e.next=5,Object(N.b)();case 5:n=e.sent,r=n.url,(oe=new ee.a(r,{success:{type:"wincher:oauth:success",callback:function(e){return ie(t,e)}},error:{type:"wincher:oauth:error",callback:function(){return t.onAuthentication(!1,!1)}}},{title:"Wincher_login",width:500,height:700})).createPopup();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ce=function(e){return e.isLoggedIn?null:Object(p.createElement)("p",null,Object(p.createElement)(O.NewButton,{onClick:e.onLogin,variant:"primary"},Object(h.sprintf)(
|
30 |
+
/* translators: %s expands to Wincher */
|
31 |
+
Object(h.__)("Connect with %s","wordpress-seo"),"Wincher")))};ce.propTypes={isLoggedIn:b.a.bool.isRequired,onLogin:b.a.func.isRequired};var ue=v.a.div(Y||(Y=c()(["\n\tp {\n\t\tmargin: 1em 0;\n\t}\n"]))),le=v.a.div(G||(G=c()(["\n\t",";\n"])),(function(e){return e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"})),pe=v.a.div(z||(z=c()(["\n\tfont-weight: var(--yoast-font-weight-bold);\n\tcolor: var(--yoast-color-label);\n\tfont-size: var(--yoast-font-size-default);\n"]))),de=function(e){var t=e.isLoggedIn,n=e.keyphrases,r=e.shouldTrackAll;return!e.permalink&&t?Object(p.createElement)(ne,null):0===n.length?Object(p.createElement)(X,null):Object(p.createElement)(le,{isDisabled:!t},Object(p.createElement)("p",null,Object(h.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(p.createElement)(Q,null),Object(p.createElement)(Z,null))};function me(e){var t=e.isNewlyAuthenticated,n=e.isLoggedIn,r=Object(p.useCallback)((function(){se(e)}),[se,e]);return Object(p.createElement)(ue,null,t&&Object(p.createElement)(P,null),Object(p.createElement)(pe,null,Object(h.__)("SEO performance","wordpress-seo"),Object(p.createElement)(O.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(h.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(p.createElement)(J.a,null),Object(p.createElement)(ce,{isLoggedIn:n,onLogin:r}),Object(p.createElement)(ae,i()({},e,{onLogin:r})),Object(p.createElement)(de,e))}de.propTypes={keyphrases:b.a.array.isRequired,isLoggedIn:b.a.bool.isRequired,shouldTrackAll:b.a.bool.isRequired,permalink:b.a.string.isRequired},me.propTypes={isLoggedIn:b.a.bool,isNewlyAuthenticated:b.a.bool,keyphrases:b.a.array,response:b.a.object,shouldTrackAll:b.a.bool,permalink:b.a.string},me.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],response:{},shouldTrackAll:!1,permalink:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.isWincherNewlyAuthenticated,r=t.getWincherKeyphraseLimitReached,a=t.getWincherLimit,o=t.getWincherLoginStatus,i=t.getWincherRequestIsSuccess,s=t.getWincherRequestResponse,c=t.getWincherTrackableKeyphrases,u=t.getWincherAllKeyphrasesMissRanking,l=t.getWincherPermalink,p=t.shouldWincherAutomaticallyTrackAll;return{keyphrases:c(),allKeyphrasesMissRanking:u(),isLoggedIn:o(),isNewlyAuthenticated:n(),isSuccess:i(),keyphraseLimitReached:r(),limit:a(),response:s(),shouldTrackAll:p(),permalink:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherWebsiteId,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,o=t.setWincherLoginStatus;return{setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},onAuthentication:function(e,t,r){n(r),o(e,t)}}}))])(me)},,,,,,,,,,function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),i=n(0),s=n(1),c=n.n(s),u=n(13),l=n.n(u),p=n(4),d=n(8),m=l()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),h=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(i.createElement)(m,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};h.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},h.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=h},function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(6),a=n(20),o=n(0),i=n(2),s=n(1),c=n.n(s),u=n(3),l=n(4),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
|
32 |
+
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
33 |
+
Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},d=n(8),m=Object(d.makeOutboundLink)(),h=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(i.sprintf)(
|
34 |
+
/* translators: %s : Expands to "Semrush". */
|
35 |
+
Object(i.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(i.sprintf)(
|
36 |
+
/* translators: %s : Expands to "Semrush". */
|
37 |
+
Object(i.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},f=n(16),b=n.n(f),y=n(9),g=n.n(y),v=n(10),O=n.n(v),w=n(11),j=n.n(w),E=n(18),k=n.n(E),T=n(19),R=n.n(T),_=n(12),S=n.n(_),x=n(7),C=n.n(x),P=n(36),I=n.n(P),A=n(39);var q="yoast-semrush-country-selector",L=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],D=function(e){k()(c,e);var t,n,r,a,s=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return R()(this,e)});function c(e){var t;return g()(this,c),(t=s.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(j()(t)),t.onChangeHandler=t.onChangeHandler.bind(j()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=b()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=b()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:q},Object(o.createElement)(l.SingleSelect,{id:q+"-select",label:Object(i.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:L,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(l.NewButton,{id:q+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(i.__)("Select country","wordpress-seo")))}}]),c}(o.Component);D.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},D.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var F=D,N=n(58),M=n(53);var B=Object(d.makeOutboundLink)(),K=function(e){k()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return R()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(j()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(j()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(j()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(i.__)("Twelve months ago","wordpress-seo"),Object(i.__)("Eleven months ago","wordpress-seo"),Object(i.__)("Ten months ago","wordpress-seo"),Object(i.__)("Nine months ago","wordpress-seo"),Object(i.__)("Eight months ago","wordpress-seo"),Object(i.__)("Seven months ago","wordpress-seo"),Object(i.__)("Six months ago","wordpress-seo"),Object(i.__)("Five months ago","wordpress-seo"),Object(i.__)("Four months ago","wordpress-seo"),Object(i.__)("Three months ago","wordpress-seo"),Object(i.__)("Two months ago","wordpress-seo"),Object(i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,s=t.data,c=t.renderAction,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return s&&!Object(u.isEmpty)(s.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(i.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(i.__)("Volume","wordpress-seo")},Object(i.__)("Volume","wordpress-seo"),Object(o.createElement)(M.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(i.__)("Trend","wordpress-seo")},Object(i.__)("Trend","wordpress-seo"),Object(o.createElement)(M.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,s.results.rows.map((function(t,n){var a=t[0],s=e.transformTrendDataToChartPoints(t[2]),u=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(N.a,{width:66,height:24,data:s,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:u})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(B,{href:l},Object(i.sprintf)(
|
38 |
+
/* translators: %s expands to Semrush */
|
39 |
+
Object(i.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);K.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},K.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var H=K,W=Object(d.makeOutboundLink)(),U=function(){return Object(o.createElement)(l.Alert,{type:"info"},Object(i.sprintf)(
|
40 |
+
/* translators: %s: Expands to "Yoast SEO". */
|
41 |
+
Object(i.__)("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(o.createElement)(W,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(i.sprintf)(
|
42 |
+
/* translators: %s: Expands to "Yoast SEO Premium". */
|
43 |
+
Object(i.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},V=function(){return Object(o.createElement)(l.Alert,{type:"error"},Object(i.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Y=function(){return Object(o.createElement)(l.Alert,{type:"warning"},Object(i.sprintf)(
|
44 |
+
/* translators: %s: Expands to "Yoast SEO". */
|
45 |
+
Object(i.__)("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"))},G=n(22);function z(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,s=e.setCountry,c=e.renderAction,l=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,f=e.setNoResultsFound,b=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(G.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)(U,null),v&&function(e){return e&&e.length>=4}(b)&&Object(o.createElement)(Y,null),Object(o.createElement)(F,{countryCode:l,setCountry:s,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:f,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,s=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(h,null):!r&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(V,null):s?void 0:Object(o.createElement)("p",null,Object(i.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(H,{keyphrase:r,relatedKeyphrases:b,countryCode:l,renderAction:c,data:t}))}z.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},z.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:i(),isPending:s(),requestHasData:c(),lastRequestKeyphrase:u()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}}))])(z)},,,,,function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(55),i=n(44);t.a=Object(r.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(i.a)()])(o.CollapsibleCornerstone)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r=n(9),a=n.n(r),o=n(10),i=n.n(o),s=n(3),c=function(){function e(){a()(this,e)}return i()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(s.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),u=function(){function e(){a()(this,e)}return i()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),l={classicEditorHidden:s.noop,classicEditorShown:s.noop,pageBuilderLoaded:s.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return i()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),u.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(s.defaults)(e,l),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(14),o=n.n(a),i=n(0),s=n(20),c=n(6),u=n(2),l=n(1),p=n.n(l),d=n(23),m=n.n(d),h=n(15),f=n.n(h),b=n(4),y=n(21),g=n(8),v=n(31),O=n.n(v),w=n(13),j=n.n(w),E=n(77),k=n(75),T=j.a.div(r||(r=f()(["\n\tpadding: 16px;\n"]))),R=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(u.sprintf)(
|
46 |
+
/* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
|
47 |
+
Object(u.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},_=function(e){return Object(u.sprintf)(
|
48 |
+
/* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
|
49 |
+
Object(u.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(i.createElement)(b.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(u.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var x=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(u.__)("Read more about Schema.","wordpress-seo")))};x.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var C=function(e){var t,n=R(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=R(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(k.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,a?Object(i.createElement)(x,e):Object(i.createElement)(S,e),a&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(b.FieldGroup,{label:Object(u.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(u.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(b.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(u.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(b.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(u.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,O()({mixedString:_(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};C.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:E.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:E.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},C.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var P=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(C,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(C,e)};P.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},P.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var I=P,A=n(78),q=n(44);function L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var F=function(e){var t=null!==A.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(u.__)("Article type","wordpress-seo"),pageTypeLabel:Object(u.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(u.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(u.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},s=D(D(D({},e),o),"metabox"===e.location?{helpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.metabox.schema.page_type"],isMetabox:!0}:{helpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.explanation"],additionalHelpTextLink:wpseoAdminL10n["shortlinks.sidebar.schema.page_type"],isMetabox:!1});return Object(i.createElement)(I,s)};F.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:i(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(q.a)()])(F)},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(0),i=n(2),s=n(4),c=n(8),u=n(1),l=n.n(u),p=n(30),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,u=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
|
50 |
+
/* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
|
51 |
+
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
|
52 |
+
/* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
|
53 |
+
Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]}(r);return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(o.Fragment,null,a&&Object(o.createElement)(s.Alert,{type:"warning"},Object(i.__)("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(o.createElement)(s.Select,{label:Object(i.sprintf)(
|
54 |
+
/* Translators: %s translates to the Post Label in singular form */
|
55 |
+
Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:u,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,editorContext:l.a.object.isRequired,isPrivateBlog:l.a.bool},d.defaultProps={isPrivateBlog:!1};var m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(s.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
|
56 |
+
/* Translators: %s translates to the Post Label in singular form */
|
57 |
+
Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:l.a.string.isRequired,onNoFollowChange:l.a.func.isRequired,postTypeName:l.a.string.isRequired};var h=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};h.propTypes={advanced:l.a.array.isRequired,onAdvancedChange:l.a.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};f.propTypes={breadcrumbsTitle:l.a.string.isRequired,onBreadcrumbsTitleChange:l.a.func.isRequired};var b=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};b.propTypes={canonical:l.a.string.isRequired,onCanonicalChange:l.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,u=e.onAdvancedChange,l=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,w=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:w},E={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},k={advanced:r,onAdvancedChange:u},T={breadcrumbsTitle:a,onBreadcrumbsTitleChange:l},R={canonical:i,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,j),v.isPost&&Object(o.createElement)(m,E),v.isPost&&Object(o.createElement)(h,k),!O&&Object(o.createElement)(f,T),Object(o.createElement)(b,R))};y.propTypes={noIndex:l.a.string.isRequired,canonical:l.a.string.isRequired,onNoIndexChange:l.a.func.isRequired,onCanonicalChange:l.a.func.isRequired,onLoad:l.a.func.isRequired,isLoading:l.a.bool.isRequired,editorContext:l.a.object.isRequired,isBreadcrumbsDisabled:l.a.bool.isRequired,isPrivateBlog:l.a.bool,advanced:l.a.array,onAdvancedChange:l.a.func,noFollow:l.a.string,onNoFollowChange:l.a.func,breadcrumbsTitle:l.a.string,onBreadcrumbsTitleChange:l.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,u=(0,t.getPreferences)(),l=u.isBreadcrumbsDisabled,p=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:l,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(21),o=n(1),i=n.n(o),s=n(88),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(29),i=n.n(o),s=n(0),c=n(21),u=n(1),l=n.n(u),p=n(88);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h=function(e){var t=Object(s.useState)(""),n=i()(t,2),r=n[0],a=n[1],o=Object(s.useCallback)((function(e){a(e.detail.metaTabId)}),[a]);Object(s.useEffect)((function(){return setTimeout(e.onLoad),window.addEventListener("YoastSEO:metaTabChange",o),function(){window.removeEventListener("YoastSEO:metaTabChange",o)}}),[]);var u=Object(s.useMemo)((function(){return m(m({},e),{},{activeMetaTabId:r})}),[e,r]);return e.isPremium?Object(s.createElement)(c.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:u}):Object(s.createElement)(p.a,u)};h.propTypes={isPremium:l.a.bool.isRequired,onLoad:l.a.func.isRequired,location:l.a.string.isRequired},t.a=h},,,,,,,function(e,t,n){"use strict";var r=n(6),a=n(4);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(14),a=n.n(r),o=n(26),i=n.n(o),s=n(0),c=n(20),u=n(6),l=n(2),p=n(123),d=n(30),m=n(104),h=n(57),f=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(h.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(u.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,u=t.getSnippetEditorData,l=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=t.isCornerstoneContent,h=t.getIsTerm,f=t.getContentLocale,b=i();return b.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:u(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:l(),recommendedReplacementVariables:o(),replacementVariables:b,shoppingData:s(),wordsToHighlight:d(),isCornerstone:m(),isTaxonomy:h(),locale:f()}})),Object(u.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(s.createElement)(d.LocationConsumer,null,(function(t){return Object(s.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(p.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(l.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:f,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(8),i=n(124),s=n(22),c=n(44),u=n(59),l=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateTwitterImage)(e)})},p=function(){Object(u.a)(l)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,o=t.getFacebookImageUrl,i=t.getFacebookTitle,c=t.getFacebookDescription,u=t.getDescription,l=t.getSeoTitle,p=t.getTwitterWarnings,d=t.getTwitterImageType,m=t.getImageFallback,h=t.getRecommendedReplaceVars,f=t.getReplaceVars,b=t.getSiteUrl,y=t.getSeoTitleTemplate,g=t.getSeoTitleTemplateNoFallback,v=t.getSocialTitleTemplate,O=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,j=t.getReplacedExcerpt;return{imageUrl:a(),imageFallbackUrl:o()||m(),recommendedReplacementVariables:h(),replacementVariables:f(),description:n(),descriptionPreviewFallback:w()||c()||u()||O()||j()||"",title:r(),titlePreviewFallback:v()||i()||l()||g()||y()||"",imageWarnings:p(),siteUrl:b(),isPremium:!!Object(s.a)().isPremium,isLarge:"summary"!==d(),titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(i.a)},function(e,t,n){"use strict";var r=n(20),a=n(6),o=n(8),i=n(126),s=n(22),c=n(44),u=n(59),l=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(o.validateFacebookImage)(e)})},p=function(){Object(u.a)(l)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,o=t.getSeoTitle,i=t.getFacebookImageUrl,c=t.getImageFallback,u=t.getFacebookWarnings,l=t.getRecommendedReplaceVars,p=t.getReplaceVars,d=t.getSiteUrl,m=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,f=t.getSocialTitleTemplate,b=t.getSeoDescriptionTemplate,y=t.getSocialDescriptionTemplate,g=t.getReplacedExcerpt;return{imageUrl:i(),imageFallbackUrl:c(),recommendedReplacementVariables:l(),replacementVariables:p(),description:n(),descriptionPreviewFallback:y()||r()||b()||g()||"",title:a(),titlePreviewFallback:f()||o()||h()||m()||"",imageWarnings:u(),siteUrl:d(),isPremium:!!Object(s.a)().isPremium,titleInputPlaceholder:"",descriptionInputPlaceholder:"",socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:p,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(c.a)()])(i.a)},,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return A}));var r=n(0),a=n(1),o=n.n(a),i=n(21),s=n(113),c=n(70);function u(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(i.Slot,{name:"YoastMetabox"},(function(e){return Object(s.a)(e)})))}var l=n(6),p=n(20),d=n(2),m=n(112),h=n(134),f=n(133),b=n(55),y=n(54),g=n(33),v=n(117),O=n(136),w=n(135),j=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(y.a,{hasSeparator:!1
|
58 |
+
/* Translators: %s expands to Facebook. */,title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(O.a,null)),n&&Object(r.createElement)(y.a
|
59 |
+
/* Translators: %s expands to Twitter. */,{title:Object(d.sprintf)(Object(d.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};j.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var E=j,k=Object(l.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(E),T=n(42);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(k,null))}R.propTypes={target:o.a.string.isRequired};var _=n(116),S=n(107),x=n(94),C=n(24);function P(e){var t=e.settings,n=e.wincherKeyphrases,a=e.setWincherNoKeyphrase,o=Object(r.useCallback)((function(){if(!n.length)return a(!0),document.querySelector("#focus-keyword-input-metabox").focus(),!1}),[n,a]);return Object(r.createElement)(i.Fill,{name:"YoastMetabox"},Object(r.createElement)(g.a,{key:"warning",renderPriority:1},Object(r.createElement)(f.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(b.KeywordInput,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(i.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(S.a,null))),Object(r.createElement)(g.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(y.a,{id:"yoast-snippet-editor-metabox",title:Object(d.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(h.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(g.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(b.ReadabilityAnalysis,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(g.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(b.SeoAnalysis,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isKeywordAnalysisActive&&t.isWincherIntegrationActive&&Object(r.createElement)(g.a,{key:"wincher-seo-performance",renderPriority:25},Object(r.createElement)(y.a,{id:"yoast-wincher-seo-performance-metabox",title:Object(d.__)("Track SEO performance","wordpress-seo"),initialIsOpen:!1,prefixIcon:{icon:"chart-square-bar",color:C.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"chart-square-bar",color:C.colors.$color_grey_medium_dark},onToggle:o},Object(r.createElement)(x.a,null))),t.isCornerstoneActive&&Object(r.createElement)(g.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(m.a,null)),t.displayAdvancedTab&&Object(r.createElement)(g.a,{key:"advanced",renderPriority:40},Object(r.createElement)(y.a,{id:"collapsible-advanced-settings",title:Object(d.__)("Advanced","wordpress-seo")},Object(r.createElement)(v.a,null))),t.displaySchemaSettings&&Object(r.createElement)(g.a,{key:"schema",renderPriority:50},Object(r.createElement)(_.a,null)),Object(r.createElement)(g.a,{key:"social",renderPriority:-1},Object(r.createElement)(R,{target:"wpseo-section-social"})))}P.propTypes={settings:o.a.object.isRequired,wincherKeyphrases:o.a.array.isRequired,setWincherNoKeyphrase:o.a.func.isRequired};var I=Object(p.compose)([Object(l.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPreferences,a=n.getWincherTrackableKeyphrases;return{settings:r(),store:t.store,wincherKeyphrases:a()}})),Object(l.withDispatch)((function(e){return{setWincherNoKeyphrase:e("yoast-seo/editor").setWincherNoKeyphrase}}))])(P);function A(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(u,{store:n,theme:a}),Object(r.createElement)(I,{store:n,theme:a}))}A.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(23),a=n.n(r),o=n(9),i=n.n(o),s=n(10),c=n.n(s),u=n(18),l=n.n(u),p=n(19),d=n.n(p),m=n(12),h=n.n(m),f=n(0),b=n(21),y=n(154),g=n(22);var v=[],O=null,w=function(e){l()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return i()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(a()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(f.createElement)(t,{key:n})}))}}]),o}(f.Component);function j(e,t){null===O||null===O.current?v.push({key:e,Component:t}):O.current.registerComponent(e,t)}var E=n(14),k=n.n(E),T=n(17),R=n(3),_=n(27),S=n.n(_),x=n(57),C=n(37),P=n(52);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){k()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var q=S.a.markers.removeMarks,L=T.actions.updateReplacementVariable,D=T.actions.updateData,F=T.actions.hideReplacementVariables,N=T.actions.setContentImage,M=jQuery,B=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";i()(this,e),this._refresh=t,this._store=n,this._initialData={},this._previousData={},this._tinyMceId=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];this._initialData=this.getInitialData(e),Object(x.fillReplacementVariables)(this._initialData,this._store),this._store.dispatch(F(t)),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!Object(R.isUndefined)(wp.media)&&!Object(R.isUndefined)(wp.media.featuredImage)){M("#postimagediv").on("click","#remove-post-thumbnail",(function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())}));var t=wp.media.featuredImage.frame();t.on("select",(function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))})),C.addEventHandler(this._tinyMceId,["init"],(function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch(N(t)),e.setImageInSnippetPreview(n)})),C.addEventHandler(this._tinyMceId,["change"],Object(R.debounce)((function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch(N(t)),e.setImageInSnippetPreview(t)}}),1e3))}}},{key:"getFeaturedImage",value:function(){var e=M("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch(D({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=S.a.languageProcessing.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=M(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"getTitle",value:function(){var e=document.getElementById("title");return e&&e.value||""}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.getElementById("excerpt"),n=t&&t.value||"",r="ja"===Object(P.a)()?80:156;return""!==n||!1===e?n:Object(x.excerptFromContent)(this.getContent(),r)}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._tinyMceId;return q(C.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",(function(e){n.updateReplacementData(e,t)}))}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch(L(t,n))}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(L("excerpt",e.excerpt)),this._store.dispatch(L("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=Object(R.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=Object(x.mapCustomFields)(e,this._store),A(A({},e=Object(x.mapCustomTaxonomies)(e,this._store)),{},{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return A(A({},this._store.getState().snippetEditor.data),{},{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=j,function(e){var t=Object(g.a)();O=Object(f.createRef)();var n={isRtl:t.isRtl};Object(f.render)(Object(f.createElement)(b.SlotFillProvider,null,Object(f.createElement)(y.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(f.createElement)(w,{ref:O})),document.getElementById("wpseo-metabox-root")),v.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}(e)},window.yoast.EditorData=B}]);
|
js/dist/dashboard-widget-1780.js
DELETED
@@ -1,21 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=210)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},11:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},12:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},126:function(e,t){e.exports=window.yoast.analysisReport},13:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},15:function(e,t){e.exports=window.yoast.styledComponents},16:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},18:function(e,t,n){var r=n(51);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},19:function(e,t,n){var r=n(36),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},2:function(e,t){e.exports=window.wp.i18n},210:function(e,t,n){"use strict";n.r(t);var r,a,o,s=n(8),i=n.n(s),c=n(10),u=n.n(c),l=n(12),p=n.n(l),d=n(11),f=n.n(d),h=n(18),b=n.n(h),m=n(19),y=n.n(m),w=n(13),g=n.n(w),v=n(0),j=n(4),O=n.n(j),k=n(5),E=n(23),x=n(126),_=n(9),T=n(48),P=n(16),L=n.n(P),S=n(1),D=n.n(S),R=n(15),A=n.n(R),C=n(2),I=n(3),W=n(31),N=n.n(W),H=Object(_.makeOutboundLink)(),q=Object(_.makeOutboundLink)(),F=function(){var e=Object(C.sprintf)(Object(C.__)(
|
2 |
-
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
3 |
-
"Connect %1$s with %2$s to track the ranking position of your site in the search results based on your keyphrase(s). %3$s","wordpress-seo"),"Yoast SEO","{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(v.createElement)("p",null,N()({mixedString:e,components:{wincherLink:Object(v.createElement)(H,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(v.createElement)(q,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(C.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},M=function(){return Object(v.createElement)(k.Alert,{type:"warning"},Object(C.sprintf)(
|
4 |
-
/* translators: %s: Expands to "Wincher". */
|
5 |
-
Object(C.__)("Your %s account does not contain any keyphrases for this website yet. ","wordpress-seo"),"Wincher"))},K=n(86),V=n(70),Y=n(88),$=Object(_.makeOutboundLink)(),z=Object(_.makeOutboundLink)(),B=A.a.div(r||(r=L()(["\n"]))),G=A.a.p(a||(a=L()(["\n\tfont-size: 14px;\n"]))),U=A.a.h3(o||(o=L()(["\n\tmargin: 8px 0;\n\tfont-size: 1em;\n"]))),Q=function(e){var t=e.websiteId,n=e.id;return Object(C.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",t,n)},J=function(e){var t=e.className,n=e.onConnectAction;return Object(v.createElement)(G,{className:"".concat(t,"__text")},Object(v.createElement)(F,null),Object(v.createElement)("div",{className:"yoast"},Object(v.createElement)(k.NewButton,{variant:"secondary",id:"yoast-connect-wincher-dashboard-widget",onClick:n},Object(C.sprintf)(
|
6 |
-
/* translators: %s expands to Wincher */
|
7 |
-
Object(C.__)("Connect with %s","wordpress-seo"),"Wincher"))))};J.propTypes={className:D.a.string,onConnectAction:D.a.func.isRequired},J.defaultProps={className:""};var X=function(e){var t=e.className,n=e.onTrackAllAction,r=e.limits;return Object(v.createElement)(G,{className:"".concat(t,"__text")},!Object(I.isEmpty)(r)&&Object(v.createElement)(V.a,{limit:r.limit}),Object(I.isEmpty)(r)&&Object(v.createElement)(M,null),Object(v.createElement)("div",{className:"yoast"},Object(v.createElement)(k.NewButton,{variant:"secondary",id:"yoast-wincher-dashboard-widget-track-all",onClick:n},Object(C.sprintf)(
|
8 |
-
/* translators: %s expands to Wincher */
|
9 |
-
Object(C.__)("Add your existing keyphrases to %s","wordpress-seo"),"Wincher"))))};X.propTypes={className:D.a.string,onTrackAllAction:D.a.func.isRequired,limits:D.a.object},X.defaultProps={className:"",limits:{}};var Z=function(e){var t=e.keyphrase,n=e.websiteId,r=t.id,a=t.keyword;return Object(v.createElement)("tr",{key:"trackable-keyphrase-".concat(a)},Object(v.createElement)("td",null,a),Object(v.createElement)("td",null,Object(K.c)(t)),Object(v.createElement)("td",{className:"yoast-table--nopadding"},Object(v.createElement)(K.a,{chartData:t})),Object(v.createElement)("td",{className:"yoast-table--nobreak"},Object(v.createElement)($,{href:Q({websiteId:n,id:r})},Object(C.__)("View","wordpress-seo"))))};Z.propTypes={keyphrase:D.a.object.isRequired,websiteId:D.a.string.isRequired};var ee=function(e){var t=e.isLoggedIn,n=e.data,r=e.onConnectAction;return t?Object(I.isEmpty)(n)||404!==n.status?!n||Object(I.isEmpty)(n.results)?Object(v.createElement)(X,e):null:Object(v.createElement)(Y.a,{onReconnect:r}):Object(v.createElement)(J,e)};ee.propTypes={isLoggedIn:D.a.bool.isRequired,data:D.a.object,onConnectAction:D.a.func.isRequired},ee.defaultProps={data:{}};var te=function(e){var t=e.className,n=e.websiteId,r=e.isLoggedIn,a=e.data;return Object(v.createElement)(B,{className:t},Object(v.createElement)(U,{className:"".concat(t,"__header")},Object(C.__)("Top performing keyphrases on your site","wordpress-seo")),Object(v.createElement)(ee,e),r&&a&&!Object(I.isEmpty)(a)&&!Object(I.isEmpty)(a.results)&&Object(v.createElement)(v.Fragment,null,Object(v.createElement)("table",{className:"yoast yoast-table"},Object(v.createElement)("thead",null,Object(v.createElement)("tr",null,Object(v.createElement)("th",{scope:"col",abbr:Object(C.__)("Keyphrase","wordpress-seo")},Object(C.__)("Keyphrase","wordpress-seo")),Object(v.createElement)("th",{scope:"col",abbr:Object(C.__)("Position","wordpress-seo")},Object(C.__)("Position","wordpress-seo")),Object(v.createElement)("th",{scope:"col",abbr:Object(C.__)("Position over time","wordpress-seo")},Object(C.__)("Position over time","wordpress-seo")),Object(v.createElement)("td",{className:"yoast-table--nobreak"}))),Object(v.createElement)("tbody",null,Object(I.map)(a.results,(function(e){return Object(v.createElement)(Z,{keyphrase:e,websiteId:n})})))),Object(v.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(v.createElement)(z,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(C.sprintf)(
|
10 |
-
/* translators: %s expands to Wincher */
|
11 |
-
Object(C.__)("Get more insights over at %s","wordpress-seo"),"Wincher")))))};te.propTypes={className:D.a.string,data:D.a.object.isRequired,websiteId:D.a.string.isRequired,isLoggedIn:D.a.bool.isRequired},te.defaultProps={className:"wincher-seo-performance"};var ne=te,re=n(27),ae=n(57);var oe=function(e){b()(l,e);var t,n,r,a,o,s,c=(o=l,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=g()(o);if(s){var n=g()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return y()(this,e)});function l(){var e;return u()(this,l),(e=c.call(this)).state={statistics:null,feed:null,wincherData:null,wincherWebsiteId:wpseoDashboardWidgetL10n.wincher_website_id,wincherIsLoggedIn:wpseoDashboardWidgetL10n.wincher_is_logged_in,wincherLimits:{},isDataFetched:!1},e.onConnect=e.onConnect.bind(f()(e)),e.getWincherData=e.getWincherData.bind(f()(e)),e.performAuthenticationRequest=e.performAuthenticationRequest.bind(f()(e)),e.onTrackAll=e.onTrackAll.bind(f()(e)),e}return p()(l,[{key:"componentDidMount",value:function(){var e=this,t=jQuery("#wpseo-dashboard-overview-hide");t.is(":checked")&&this.fetchData(),t.on("click",(function(){e.fetchData()}))}},{key:"fetchData",value:function(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.state.wincherIsLoggedIn&&this.getWincherData(),this.setState({isDataFetched:!0}))}},{key:"getStatistics",value:function(){var e=this;wpseoApi.get("statistics",(function(t){var n={};t&&t.seo_scores&&(n.seoScores=t.seo_scores.map((function(e){return{value:parseInt(e.count,10),color:l.getColorFromScore(e.seo_rank),html:'<a href="'.concat(e.link,'">').concat(e.label,"</a>")}})),n.header=jQuery("<div>".concat(t.header,"</div>")).text(),e.setState({statistics:n}))}))}},{key:"getFeed",value:function(){var e=this;Object(_.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then((function(t){t.items=t.items.map((function(e){return e.description=jQuery("<div>".concat(e.description,"</div>")).text(),e.description=e.description.replace("The post ".concat(e.title," appeared first on Yoast."),"").trim(),e})),e.setState({feed:t})})).catch((function(e){return console.log(e)}))}},{key:"getWincherData",value:(a=i()(O.a.mark((function e(){var t,n,r;return O.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(re.d)();case 2:200===(t=e.sent).status&&(n=Object(I.filter)(t.results,(function(e){return!Object(I.isEmpty)(e.position)})),r=Object(I.sortBy)(n,(function(e){return e.position.value})).splice(0,5),this.setState({wincherData:{results:r,status:t.status}}));case 4:case"end":return e.stop()}}),e,this)}))),function(){return a.apply(this,arguments)})},{key:"getSeoAssessment",value:function(){return null===this.state.statistics?null:Object(v.createElement)(x.SiteSEOReport,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}},{key:"getYoastFeed",value:function(){return null===this.state.feed?null:Object(v.createElement)(k.ArticleList,{className:"wordpress-feed",key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer})}},{key:"performAuthenticationRequest",value:(r=i()(O.a.mark((function e(t){var n;return O.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(re.a)(t);case 2:if(200===e.sent.status){e.next=5;break}return e.abrupt("return");case 5:return this.setState({wincherIsLoggedIn:!0,wincherWebsiteId:t.websiteId.toString()}),e.next=8,this.getWincherData();case 8:(n=this.loginPopup.getPopup())&&n.close();case 10:case"end":return e.stop()}}),e,this)}))),function(_x){return r.apply(this,arguments)})},{key:"onConnect",value:(n=i()(O.a.mark((function e(){var t,n,r=this;return O.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.loginPopup||this.loginPopup.isClosed()){e.next=3;break}return this.loginPopup.focus(),e.abrupt("return");case 3:return e.next=5,Object(re.c)();case 5:t=e.sent,n=t.url,this.loginPopup=new ae.a(n,{success:{type:"wincher:oauth:success",callback:function(e){return r.performAuthenticationRequest(e)}},error:{type:"wincher:oauth:error",callback:function(){}}},{title:"Wincher_login",width:500,height:700}),this.loginPopup.createPopup();case 9:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"onTrackAll",value:(t=i()(O.a.mark((function e(){var t;return O.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(re.f)();case 2:if(400!==(t=e.sent).status){e.next=7;break}this.setState({wincherLimits:t.results}),e.next=9;break;case 7:return e.next=9,this.getWincherData();case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"getWincherSEOPerformance",value:function(){if("0"!==wpseoDashboardWidgetL10n.is_wincher_active&&this.state.wincherIsLoggedIn)return Object(v.createElement)(ne,{data:this.state.wincherData,websiteId:this.state.wincherWebsiteId,isLoggedIn:this.state.wincherIsLoggedIn,onConnectAction:this.onConnect,onTrackAllAction:this.onTrackAll,limits:this.state.wincherLimits})}},{key:"render",value:function(){var e=[this.getSeoAssessment(),this.getWincherSEOPerformance(),this.getYoastFeed()].filter((function(e){return null!==e}));return 0===e.length?null:Object(v.createElement)("div",null,e)}}],[{key:"getColorFromScore",value:function(e){return E.colors["$color_".concat(e)]||E.colors.$color_grey}}]),l}(v.Component),se=document.getElementById("yoast-seo-dashboard-widget");se&&(Object(T.setYoastComponentsL10n)(),Object(v.render)(Object(v.createElement)(oe,null),se))},23:function(e,t){e.exports=window.yoast.styleGuide},27:function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"d",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"g",(function(){return O})),n.d(t,"h",(function(){return E})),n.d(t,"f",(function(){return _}));var r=n(8),a=n.n(r),o=n(4),s=n.n(o),i=n(34),c=n.n(i),u=n(3);function l(_x){return p.apply(this,arguments)}function p(){return(p=a()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",{status:0,error:e.t0.message});case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return f.apply(this,arguments)}function f(){return(f=a()(s.a.mark((function e(t,n,r){var a,o,i=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=i.length>3&&void 0!==i[3]?i[3]:200,e.prev=1,e.next=4,t();case 4:if((o=e.sent).status!==a){e.next=7;break}return e.abrupt("return",n(o));case 7:return e.abrupt("return",r(o));case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}function h(){return b.apply(this,arguments)}function b(){return(b=a()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return y.apply(this,arguments)}function y(){return(y=a()(s.a.mark((function e(t){var n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,l({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return g.apply(this,arguments)}function g(){return(g=a()(s.a.mark((function e(){var t,n,r=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:null,n=r.length>1&&void 0!==r[1]?r[1]:null,e.next=4,l({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return j.apply(this,arguments)}function j(){return(j=a()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/limits",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(e){return k.apply(this,arguments)}function k(){return(k=a()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(u.isArray)(t)||(t=[t]),e.next=3,l({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return x.apply(this,arguments)}function x(){return(x=a()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(){return T.apply(this,arguments)}function T(){return(T=a()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/track/all",method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},29:function(e,t,n){var r=n(72),a=n(73),o=n(74);e.exports=function(e){return r(e)||a(e)||o()}},3:function(e,t){e.exports=window.lodash},31:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(6)),o=i(n(90)),s=i(n(93));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,s.default)(t);try{return function e(t,n){var s,i,u,l,p,d,f,h,b=[],m={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],u=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(l=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(u,t),f=e(t.slice(u+1,l),n),i=a.default.cloneElement(s,{},f),b.push(i),l<t.length-1&&(h=e(t.slice(l+1),n),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,o.default)(m))}(u,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},34:function(e,t){e.exports=window.wp.apiFetch},36:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},4:function(e,t){e.exports=window.regeneratorRuntime},48:function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return o})),n.d(t,"setYoastComponentsL10n",(function(){return s})),n.d(t,"setWordPressSeoL10n",(function(){return i}));var r=n(2),a=n(3);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(a.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function s(){o("yoast-components")}function i(){o("wordpress-seo")}},5:function(e,t){e.exports=window.yoast.componentsNew},51:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},57:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(8),a=n.n(r),o=n(10),s=n.n(o),i=n(12),c=n.n(i),u=n(4),l=n.n(u),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,a=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=a()(l.a.mark((function e(t){var n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},59:function(e,t,n){"use strict";var r=n(29),a=n.n(r),o=n(0),s=n(1),i=n.n(s),c=n(2),u=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,s=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:s?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};u.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},u.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var l=u,p=function(e){var t=e.data,n=e.width,r=e.height,s=e.fillColor,i=e.strokeColor,c=e.strokeWidth,u=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,f=e.dataTableHeaderLabels,h=e.isDataTableVisuallyHidden,b=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.x}))))),m=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.y}))))),y=r-c,w=t.map((function(e){var t=e.x/b*n,r=y-e.y/m*y+c;return"".concat(t,",").concat(r)})).join(" "),g="0,".concat(y+c," ")+w+" ".concat(n,",").concat(y+c);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:u,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:s,points:g}),Object(o.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:w})),p&&Object(o.createElement)(l,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:f,isDataTableVisuallyHidden:h}))};p.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired,fillColor:i.a.string,strokeColor:i.a.string,strokeWidth:i.a.number,className:i.a.string,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},6:function(e,t){e.exports=window.React},63:function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},68:function(e,t){e.exports=window.moment},70:function(e,t,n){"use strict";var r=n(0),a=n(2),o=n(9),s=n(5),i=n(31),c=n.n(i),u=n(1),l=n.n(u),p=Object(o.makeOutboundLink)(),d=function(e){var t=Object(a.sprintf)(
|
12 |
-
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
13 |
-
Object(a.__)("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(r.createElement)(s.Alert,{type:"error"},c()({mixedString:t,components:{updateWincherPlanLink:Object(r.createElement)(p,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(a.sprintf)(
|
14 |
-
/* translators: %s : Expands to "Wincher". */
|
15 |
-
Object(a.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};d.propTypes={limit:l.a.number},d.defaultProps={limit:10},t.a=d},72:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},73:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},74:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},8:function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return w}));var r=n(0),a=n(1),o=n.n(a),s=n(2),i=n(3),c=n(68),u=n.n(c),l=n(5),p=n(9),d=n(59),f=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(s.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},h=Object(p.makeOutboundLink)();function b(e){return Math.round(100*e)}function m(e){var t=e.chartData;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
16 |
-
/* translators: %d expands to the amount of days */
|
17 |
-
return Object(s.sprintf)(Object(s._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),a=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(s.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function w(e){var t=e.keyphrase,n=e.rowData,a=e.onTrackKeyphrase,o=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,b=!Object(i.isEmpty)(n),w=Object(r.useCallback)((function(){p||(b?o(t,n.id):a(t))}),[t,a,o,b,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",null,function(e){var t=e.keyphrase,n=e.isEnabled,a=e.toggleAction;return e.isLoading?Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(l.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:a,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:w,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,a=!Object(i.isEmpty)(t),o=t&&t.updated_at&&u()(t.updated_at)>=u()().subtract(7,"days"),c=t?Object(s.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return a?o?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(m,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(h,{href:c},Object(s.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(f,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}m.propTypes={chartData:o.a.object},m.defaultProps={chartData:{}},w.propTypes={rowData:o.a.object,keyphrase:o.a.string.isRequired,onTrackKeyphrase:o.a.func,onUntrackKeyphrase:o.a.func,isFocusKeyphrase:o.a.bool,isDisabled:o.a.bool,isLoading:o.a.bool,websiteId:o.a.string},w.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},88:function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(2),i=n(31),c=n.n(i),u=n(5),l=function(e){var t=Object(s.sprintf)(
|
18 |
-
/* translators: %s expands to a link to open the Wincher login popup. */
|
19 |
-
Object(s.__)("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)(u.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:e.onReconnect},Object(s.sprintf)(
|
20 |
-
/* translators: %s : Expands to "Wincher". */
|
21 |
-
Object(s.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};l.propTypes={onReconnect:o.a.func.isRequired},t.a=l},9:function(e,t){e.exports=window.yoast.helpers},90:function(e,t,n){"use strict";var r=n(6),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(63),s=n(91),i=n(92),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var d,f,h=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function m(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?w(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function w(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var l=m.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===a)return r(o,t,""===n?"."+u(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)p+=e(i=t[f],d+u(i,f),r,o);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var b,m=h.call(t),y=0;!(b=m.next()).done;)p+=e(i=b.value,d+u(i,y++),r,o);else if("object"===l){var w=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(t).join(", ")+"}":w,"")}}return p}(e,"",t,n)}(e,y,l),m.release(l)}m.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(f=m).instancePool=[],f.getPooled=d||h,f.poolSize||(f.poolSize=10),f.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,o.thatReturnsArgument);return t}},91:function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,o,s,i],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},92:function(e,t,n){"use strict";var r=n(63);e.exports=r},93:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}}});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
js/dist/dashboard-widget.js
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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=210)}({0:function(e,t){e.exports=window.wp.element},1:function(e,t){e.exports=window.yoast.propTypes},10:function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},11:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},12:function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},127:function(e,t){e.exports=window.yoast.analysisReport},13:function(e,t){e.exports=window.yoast.styledComponents},15:function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},16:function(e,t){function n(e,t,n,r,o,a,s){try{var i=e[a](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var s=e.apply(t,r);function i(e){n(s,o,a,i,c,"next",e)}function c(e){n(s,o,a,i,c,"throw",e)}i(void 0)}))}}},18:function(e,t,n){var r=n(48);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},19:function(e,t,n){var r=n(35),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},2:function(e,t){e.exports=window.wp.i18n},210:function(e,t,n){"use strict";n.r(t);var r,o,a,s,i=n(16),c=n.n(i),u=n(9),l=n.n(u),p=n(10),d=n.n(p),f=n(11),h=n.n(f),b=n(18),m=n.n(b),y=n(19),w=n.n(y),g=n(12),v=n.n(g),O=n(0),j=n(7),k=n.n(j),E=n(4),x=n(24),_=n(127),T=n(8),S=n(43),D=n(15),P=n.n(D),L=n(1),R=n.n(L),C=n(13),I=n.n(C),A=n(2),W=n(3),N=n(31),H=n.n(N),q=Object(T.makeOutboundLink)(),F=Object(T.makeOutboundLink)(),M=function(){var e=Object(A.sprintf)(Object(A.__)(
|
2 |
+
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
3 |
+
"Connect %1$s with %2$s to track the ranking position of your site in the search results based on your keyphrase(s). %3$s","wordpress-seo"),"Yoast SEO","{{wincherLink/}}","{{wincherReadMoreLink/}}");return Object(O.createElement)("p",null,H()({mixedString:e,components:{wincherLink:Object(O.createElement)(q,{href:wpseoAdminGlobalL10n["links.wincher.website"]},"Wincher"),wincherReadMoreLink:Object(O.createElement)(F,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(A.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))},K=function(){return Object(O.createElement)(E.Alert,{type:"warning"},Object(A.sprintf)(
|
4 |
+
/* translators: %s: Expands to "Wincher". */
|
5 |
+
Object(A.__)('Your %s account does not contain any keyphrases for this website yet. You can track keyphrases by using the "Track SEO Performance" button in the post editor.',"wordpress-seo"),"Wincher"))},V=n(84),Y=n(87),$=Object(T.makeOutboundLink)(),z=Object(T.makeOutboundLink)(),B=Object(T.makeOutboundLink)(),G=I.a.div(r||(r=P()(["\n"]))),U=I.a.div(o||(o=P()(["\n\tfont-size: 14px;\n"]))),Q=I.a.h3(a||(a=P()(["\n\tmargin: 8px 0;\n\tfont-size: 1em;\n"]))),J=I.a.div(s||(s=P()(["\n\twidth: 100%;\n\toverflow-y: auto;\n"]))),X=function(e){var t=e.websiteId,n=e.id;return Object(A.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",t,n)},Z=function(e){var t=e.className,n=e.onConnectAction;return Object(O.createElement)(U,{className:"".concat(t,"__text")},Object(O.createElement)(M,null),Object(O.createElement)("div",{className:"yoast"},Object(O.createElement)(E.NewButton,{variant:"secondary",id:"yoast-connect-wincher-dashboard-widget",onClick:n},Object(A.sprintf)(
|
6 |
+
/* translators: %s expands to Wincher */
|
7 |
+
Object(A.__)("Connect with %s","wordpress-seo"),"Wincher"))))};Z.propTypes={className:R.a.string,onConnectAction:R.a.func.isRequired},Z.defaultProps={className:""};var ee=function(e){var t=e.keyphrase,n=e.websiteId,r=t.id,o=t.keyword;return Object(O.createElement)("tr",null,Object(O.createElement)("td",null,o),Object(O.createElement)("td",null,Object(V.c)(t)),Object(O.createElement)("td",{className:"yoast-table--nopadding"},Object(O.createElement)(V.a,{chartData:t})),Object(O.createElement)("td",{className:"yoast-table--nobreak"},Object(O.createElement)($,{href:X({websiteId:n,id:r})},Object(A.__)("View","wordpress-seo"))))};ee.propTypes={keyphrase:R.a.object.isRequired,websiteId:R.a.string.isRequired};var te=function(e){var t=e.isLoggedIn,n=e.data,r=e.onConnectAction;return t?Object(W.isEmpty)(n)||404!==n.status?!n||Object(W.isEmpty)(n.results)?Object(O.createElement)(K,null):null:Object(O.createElement)(Y.a,{onReconnect:r}):Object(O.createElement)(Z,e)};te.propTypes={isLoggedIn:R.a.bool.isRequired,data:R.a.object.isRequired,onConnectAction:R.a.func.isRequired};var ne=function(){var e=Object(A.sprintf)(
|
8 |
+
/* translators: %s expands to a link to Wincher login */
|
9 |
+
Object(A.__)("This overview only shows you keyphrases added to Yoast SEO. There may be other keyphrases added to your %s.","wordpress-seo"),"{{wincherAccountLink/}}");return Object(O.createElement)("p",null,H()({mixedString:e,components:{wincherAccountLink:Object(O.createElement)(B,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(A.sprintf)(
|
10 |
+
/* translators: %s : Expands to "Wincher". */
|
11 |
+
Object(A.__)("%s account","wordpress-seo"),"Wincher"))}}))},re=function(e){var t=e.className,n=e.websiteId,r=e.isLoggedIn,o=e.data;return Object(O.createElement)(G,{className:t},Object(O.createElement)(Q,{className:"".concat(t,"__header")},Object(A.__)("Top performing keyphrases on your site","wordpress-seo")),Object(O.createElement)(te,e),r&&o&&!Object(W.isEmpty)(o)&&!Object(W.isEmpty)(o.results)&&Object(O.createElement)(O.Fragment,null,Object(O.createElement)(ne,null),Object(O.createElement)(J,null,Object(O.createElement)("table",{className:"yoast yoast-table"},Object(O.createElement)("thead",null,Object(O.createElement)("tr",null,Object(O.createElement)("th",{scope:"col",abbr:Object(A.__)("Keyphrase","wordpress-seo")},Object(A.__)("Keyphrase","wordpress-seo")),Object(O.createElement)("th",{scope:"col",abbr:Object(A.__)("Position","wordpress-seo")},Object(A.__)("Position","wordpress-seo")),Object(O.createElement)("th",{scope:"col",abbr:Object(A.__)("Position over time","wordpress-seo")},Object(A.__)("Position over time","wordpress-seo")),Object(O.createElement)("td",{className:"yoast-table--nobreak"}))),Object(O.createElement)("tbody",null,Object(W.map)(o.results,(function(e,t){return Object(O.createElement)(ee,{key:"keyphrase-".concat(t),keyphrase:e,websiteId:n})}))))),Object(O.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(O.createElement)(z,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(A.sprintf)(
|
12 |
+
/* translators: %s expands to Wincher */
|
13 |
+
Object(A.__)("Get more insights over at %s","wordpress-seo"),"Wincher")))))};re.propTypes={className:R.a.string,data:R.a.object.isRequired,websiteId:R.a.string.isRequired,isLoggedIn:R.a.bool.isRequired},re.defaultProps={className:"wincher-seo-performance"};var oe=re,ae=n(32),se=n(86);var ie=function(e){m()(i,e);var t,n,r,o,a,s=(o=i,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=v()(o);if(a){var n=v()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return w()(this,e)});function i(){var e;return l()(this,i),(e=s.call(this)).state={statistics:null,feed:null,wincherData:{},wincherWebsiteId:wpseoDashboardWidgetL10n.wincher_website_id,wincherIsLoggedIn:"1"===wpseoDashboardWidgetL10n.wincher_is_logged_in,isDataFetched:!1},e.onConnect=e.onConnect.bind(h()(e)),e.getWincherData=e.getWincherData.bind(h()(e)),e.performAuthenticationRequest=e.performAuthenticationRequest.bind(h()(e)),e}return d()(i,[{key:"componentDidMount",value:function(){var e=this,t=jQuery("#wpseo-dashboard-overview-hide");t.is(":checked")&&this.fetchData(),t.on("click",(function(){e.fetchData()}))}},{key:"fetchData",value:function(){this.state.isDataFetched||(this.getStatistics(),this.getFeed(),this.state.wincherIsLoggedIn&&this.getWincherData(),this.setState({isDataFetched:!0}))}},{key:"getStatistics",value:function(){var e=this;wpseoApi.get("statistics",(function(t){var n={};t&&t.seo_scores&&(n.seoScores=t.seo_scores.map((function(e){return{value:parseInt(e.count,10),color:i.getColorFromScore(e.seo_rank),html:'<a href="'.concat(e.link,'">').concat(e.label,"</a>")}})),n.header=jQuery("<div>".concat(t.header,"</div>")).text(),e.setState({statistics:n}))}))}},{key:"getFeed",value:function(){var e=this;Object(T.getPostFeed)("https://yoast.com/feed/widget/?wp_version="+wpseoDashboardWidgetL10n.wp_version+"&php_version="+wpseoDashboardWidgetL10n.php_version,2).then((function(t){t.items=t.items.map((function(e){return e.description=jQuery("<div>".concat(e.description,"</div>")).text(),e.description=e.description.replace("The post ".concat(e.title," appeared first on Yoast."),"").trim(),e})),e.setState({feed:t})})).catch((function(e){return console.log(e)}))}},{key:"getWincherData",value:(r=c()(k.a.mark((function e(){var t,n,r;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(ae.c)();case 2:200===(t=e.sent).status&&(n=Object(W.filter)(t.results,(function(e){return!Object(W.isEmpty)(e.position)})),r=Object(W.sortBy)(n,(function(e){return e.position.value})).splice(0,5),this.setState({wincherData:{results:r,status:t.status}}));case 4:case"end":return e.stop()}}),e,this)}))),function(){return r.apply(this,arguments)})},{key:"getSeoAssessment",value:function(){return null===this.state.statistics?null:Object(O.createElement)(_.SiteSEOReport,{key:"yoast-seo-posts-assessment",seoAssessmentText:this.state.statistics.header,seoAssessmentItems:this.state.statistics.seoScores})}},{key:"getYoastFeed",value:function(){return null===this.state.feed?null:Object(O.createElement)(E.ArticleList,{className:"wordpress-feed",key:"yoast-seo-blog-feed",title:wpseoDashboardWidgetL10n.feed_header,feed:this.state.feed,footerLinkText:wpseoDashboardWidgetL10n.feed_footer})}},{key:"performAuthenticationRequest",value:(n=c()(k.a.mark((function e(t){var n;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(ae.a)(t);case 2:if(200===e.sent.status){e.next=5;break}return e.abrupt("return");case 5:return this.setState({wincherIsLoggedIn:!0,wincherWebsiteId:t.websiteId.toString()}),e.next=8,this.getWincherData();case 8:(n=this.loginPopup.getPopup())&&n.close();case 10:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"onConnect",value:(t=c()(k.a.mark((function e(){var t,n,r=this;return k.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.loginPopup||this.loginPopup.isClosed()){e.next=3;break}return this.loginPopup.focus(),e.abrupt("return");case 3:return e.next=5,Object(ae.b)();case 5:t=e.sent,n=t.url,this.loginPopup=new se.a(n,{success:{type:"wincher:oauth:success",callback:function(e){return r.performAuthenticationRequest(e)}},error:{type:"wincher:oauth:error",callback:function(){}}},{title:"Wincher_login",width:500,height:700}),this.loginPopup.createPopup();case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"getWincherSEOPerformance",value:function(){if("0"!==wpseoDashboardWidgetL10n.is_wincher_active&&this.state.wincherIsLoggedIn)return Object(O.createElement)(oe,{key:"wincher-performance-report",data:this.state.wincherData,websiteId:this.state.wincherWebsiteId,isLoggedIn:this.state.wincherIsLoggedIn,onConnectAction:this.onConnect})}},{key:"render",value:function(){var e=[this.getSeoAssessment(),this.getWincherSEOPerformance(),this.getYoastFeed()].filter((function(e){return null!==e}));return 0===e.length?null:Object(O.createElement)("div",null,e)}}],[{key:"getColorFromScore",value:function(e){return x.colors["$color_".concat(e)]||x.colors.$color_grey}}]),i}(O.Component),ce=document.getElementById("yoast-seo-dashboard-widget");ce&&(Object(S.setYoastComponentsL10n)(),Object(O.render)(Object(O.createElement)(ie,null),ce))},23:function(e,t,n){var r=n(67),o=n(68),a=n(69);e.exports=function(e){return r(e)||o(e)||a()}},24:function(e,t){e.exports=window.yoast.styleGuide},3:function(e,t){e.exports=window.lodash},31:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=i(n(5)),a=i(n(89)),s=i(n(92));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,s.default)(t);try{return function e(t,n){var s,i,u,l,p,d,f,h,b=[],m={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],u=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),i=o.default.cloneElement(s,{},f),b.push(i),l<t.length-1&&(h=e(t.slice(l+1),n),b=b.concat(h))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(m["interpolation-child-"+t]=e)})),(0,a.default)(m))}(u,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},32:function(e,t,n){"use strict";n.d(t,"d",(function(){return d})),n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return w})),n.d(t,"e",(function(){return v})),n.d(t,"f",(function(){return j}));var r=n(16),o=n.n(r),a=n(7),s=n.n(a),i=n(36),c=n.n(i),u=n(3);function l(_x){return p.apply(this,arguments)}function p(){return(p=o()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",!1);case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return f.apply(this,arguments)}function f(){return(f=o()(s.a.mark((function e(t,n,r){var o,a,i=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=i.length>3&&void 0!==i[3]?i[3]:200,e.prev=1,e.next=4,t();case 4:if(!(a=e.sent)){e.next=9;break}if(a.status!==o){e.next=8;break}return e.abrupt("return",n(a));case 8:return e.abrupt("return",r(a));case 9:return e.abrupt("return",!1);case 12:e.prev=12,e.t0=e.catch(1),console.error(e.t0.message);case 15:case"end":return e.stop()}}),e,null,[[1,12]])})))).apply(this,arguments)}function h(){return b.apply(this,arguments)}function b(){return(b=o()(s.a.mark((function e(){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return y.apply(this,arguments)}function y(){return(y=o()(s.a.mark((function e(t){var n,r;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,l({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(){return g.apply(this,arguments)}function g(){return(g=o()(s.a.mark((function e(){var t,n,r,o=arguments;return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:null,n=o.length>1&&void 0!==o[1]?o[1]:null,r=o.length>2?o[2]:void 0,e.next=5,l({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n},signal:r});case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(e){return O.apply(this,arguments)}function O(){return(O=o()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(u.isArray)(t)||(t=[t]),e.next=3,l({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function j(e){return k.apply(this,arguments)}function k(){return(k=o()(s.a.mark((function e(t){return s.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},35:function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},36:function(e,t){e.exports=window.wp.apiFetch},4:function(e,t){e.exports=window.yoast.componentsNew},43:function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return s})),n.d(t,"setWordPressSeoL10n",(function(){return i}));var r=n(2),o=n(3);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function s(){a("yoast-components")}function i(){a("wordpress-seo")}},48:function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},5:function(e,t){e.exports=window.React},58:function(e,t,n){"use strict";var r=n(23),o=n.n(r),a=n(0),s=n(1),i=n.n(s),c=n(2),u=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,o=e.dataTableHeaderLabels,s=e.isDataTableVisuallyHidden;return t.length!==o.length?Object(a.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(a.createElement)("div",{className:s?"screen-reader-text":null},Object(a.createElement)("table",null,Object(a.createElement)("caption",null,r),Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,o.map((function(e,t){return Object(a.createElement)("th",{key:t},e)})))),Object(a.createElement)("tbody",null,Object(a.createElement)("tr",null,t.map((function(e,t){return Object(a.createElement)("td",{key:t},n(e.y))}))))))};u.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},u.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var l=u,p=function(e){var t=e.data,n=e.width,r=e.height,s=e.fillColor,i=e.strokeColor,c=e.strokeWidth,u=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,f=e.dataTableHeaderLabels,h=e.isDataTableVisuallyHidden,b=Math.max(1,Math.max.apply(Math,o()(t.map((function(e){return e.x}))))),m=Math.max(1,Math.max.apply(Math,o()(t.map((function(e){return e.y}))))),y=r-c,w=t.map((function(e){var t=e.x/b*n,r=y-e.y/m*y+c;return"".concat(t,",").concat(r)})).join(" "),g="0,".concat(y+c," ")+w+" ".concat(n,",").concat(y+c);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:u,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:s,points:g}),Object(a.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:w})),p&&Object(a.createElement)(l,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:f,isDataTableVisuallyHidden:h}))};p.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired,fillColor:i.a.string,strokeColor:i.a.string,strokeWidth:i.a.number,className:i.a.string,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},62:function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},67:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},68:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},69:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},7:function(e,t){e.exports=window.regeneratorRuntime},71:function(e,t){e.exports=window.moment},8:function(e,t){e.exports=window.yoast.helpers},84:function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return w}));var r=n(0),o=n(1),a=n.n(o),s=n(2),i=n(3),c=n(71),u=n.n(c),l=n(4),p=n(8),d=n(58),f=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(s.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},h=Object(p.makeOutboundLink)();function b(e){return Math.round(100*e)}function m(e){var t=e.chartData;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
14 |
+
/* translators: %d expands to the amount of days */
|
15 |
+
return Object(s.sprintf)(Object(s._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),o=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:o,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:b,dataTableCaption:Object(s.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function w(e){var t=e.keyphrase,n=e.rowData,o=e.onTrackKeyphrase,a=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,b=!Object(i.isEmpty)(n),w=Object(r.useCallback)((function(){p||(b?a(t,n.id):o(t))}),[t,o,a,b,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",{className:"yoast-table--nopadding"},function(e){var t=e.keyphrase,n=e.isEnabled,o=e.toggleAction;return e.isLoading?Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(l.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:o,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:b,toggleAction:w,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,o=!Object(i.isEmpty)(t),a=t&&t.updated_at&&u()(t.updated_at)>=u()().subtract(7,"days"),c=t?Object(s.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return o?a?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(m,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(h,{href:c},Object(s.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(f,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}m.propTypes={chartData:a.a.object},m.defaultProps={chartData:{}},w.propTypes={rowData:a.a.object,keyphrase:a.a.string.isRequired,onTrackKeyphrase:a.a.func,onUntrackKeyphrase:a.a.func,isFocusKeyphrase:a.a.bool,isDisabled:a.a.bool,isLoading:a.a.bool,websiteId:a.a.string},w.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},86:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(16),o=n.n(r),a=n(9),s=n.n(a),i=n(10),c=n.n(i),u=n(7),l=n.n(u),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,o=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,o.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=o()(l.a.mark((function e(t){var n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},87:function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),s=n(2),i=n(31),c=n.n(i),u=n(4),l=function(e){var t=Object(s.sprintf)(
|
16 |
+
/* translators: %s expands to a link to open the Wincher login popup. */
|
17 |
+
Object(s.__)("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)(u.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:e.onReconnect},Object(s.sprintf)(
|
18 |
+
/* translators: %s : Expands to "Wincher". */
|
19 |
+
Object(s.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};l.propTypes={onReconnect:a.a.func.isRequired},t.a=l},89:function(e,t,n){"use strict";var r=n(5),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(62),s=n(90),i=n(91),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var d,f,h=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function m(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,s,i=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?w(d,i,n,a.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(o=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(o,{key:s},void 0!==o.props?o.props.children:void 0)),i.push(d))}function w(e,t,n,r,a){var i="";null!=n&&(i=p(n)+"/");var l=m.getPooled(t,i,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var i,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===o)return r(a,t,""===n?"."+u(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)p+=e(i=t[f],d+u(i,f),r,a);else{var h=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(h)for(var b,m=h.call(t),y=0;!(b=m.next()).done;)p+=e(i=b.value,d+u(i,y++),r,a);else if("object"===l){var w=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===w?"object with keys {"+Object.keys(t).join(", ")+"}":w,"")}}return p}(e,"",t,n)}(e,y,l),m.release(l)}m.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=m).instancePool=[],f.getPooled=d||h,f.poolSize||(f.poolSize=10),f.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)w(e[n],t,n,a.thatReturnsArgument);return t}},9:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},90:function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,s,i],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},91:function(e,t,n){"use strict";var r=n(62);e.exports=r},92:function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}}});
|
js/dist/{dynamic-blocks-1780.js → dynamic-blocks.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=188)}({0:function(e,t){e.exports=window.wp.element},109:function(e,t){e.exports=window.wp.blocks},178:function(e,t){e.exports=window.wp.serverSideRender},188:function(e,t,r){"use strict";r.r(t);var n=r(0),o=r(109),s=r(2),i=r(178),u=r.n(i);Object(o.registerBlockType)("yoast-seo/breadcrumbs",{title:Object(s.__)("Yoast Breadcrumbs","wordpress-seo"),icon:"admin-links",category:"yoast-internal-linking-blocks",description:Object(s.__)("Adds the Yoast SEO breadcrumbs to your template or content.","wordpress-seo"),keywords:[Object(s.__)("seo","wordpress-seo"),Object(s.__)("breadcrumbs","wordpress-seo"),Object(s.__)("internal linking","wordpress-seo"),Object(s.__)("site structure","wordpress-seo")],example:{attributes:{}},edit:function(e){return Object(n.createElement)(u.a,{block:"yoast-seo/breadcrumbs",attributes:e.attributes})},save:function(){return null}})},2:function(e,t){e.exports=window.wp.i18n}});
|
js/dist/{edit-page-1780.js → edit-page.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=
|
1 |
+
!function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=189)}({189:function(t,e,o){"use strict";o.r(e);var n,r=o(25);(n=o.n(r).a)(".yoast-column-header-has-tooltip").each((function(){n(this).closest("th").find("a").addClass("yoast-tooltip yoast-tooltip-alt yoast-tooltip-n yoast-tooltip-multiline").attr("data-label",n(this).data("tooltip-text")).attr("aria-label",n(this).text())}))},25:function(t,e){t.exports=window.jQuery}});
|
js/dist/editor-modules-1780.js
DELETED
@@ -1,41 +0,0 @@
|
|
1 |
-
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(r,a,function(t){return e[t]}.bind(null,a));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=211)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.React},function(e,t){e.exports=window.wp.data},function(e,t){function n(e,t,n,r,a,s,o){try{var i=e[s](o),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,s){var o=e.apply(t,r);function i(e){n(o,a,s,i,c,"next",e)}function c(e){n(o,a,s,i,c,"throw",e)}i(void 0)}))}}},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){function n(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}},function(e,t){function n(t){return e.exports=n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},n(t)}e.exports=n},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.yoast.externals.redux},function(e,t,n){var r=n(51);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(36),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(3);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t){e.exports=window.yoast.analysis},function(e,t,n){"use strict";n.d(t,"e",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return v})),n.d(t,"b",(function(){return O})),n.d(t,"g",(function(){return k})),n.d(t,"h",(function(){return E})),n.d(t,"f",(function(){return _}));var r=n(8),a=n.n(r),s=n(4),o=n.n(s),i=n(34),c=n.n(i),u=n(3);function l(_x){return p.apply(this,arguments)}function p(){return(p=a()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,c()(t);case 3:return e.abrupt("return",e.sent);case 6:if(e.prev=6,e.t0=e.catch(0),!e.t0.error||!e.t0.status){e.next=10;break}return e.abrupt("return",e.t0);case 10:if(!(e.t0 instanceof Response)){e.next=14;break}return e.next=13,e.t0.json();case 13:return e.abrupt("return",e.sent);case 14:return e.abrupt("return",{status:0,error:e.t0.message});case 15:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}function d(e,t,n){return h.apply(this,arguments)}function h(){return(h=a()(o.a.mark((function e(t,n,r){var a,s,i=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=i.length>3&&void 0!==i[3]?i[3]:200,e.prev=1,e.next=4,t();case 4:if((s=e.sent).status!==a){e.next=7;break}return e.abrupt("return",n(s));case 7:return e.abrupt("return",r(s));case 10:e.prev=10,e.t0=e.catch(1),console.error(e.t0.message);case 13:case"end":return e.stop()}}),e,null,[[1,10]])})))).apply(this,arguments)}function f(){return m.apply(this,arguments)}function m(){return(m=a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/authorization-url",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e){return y.apply(this,arguments)}function y(){return(y=a()(o.a.mark((function e(t){var n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.code,r=t.websiteId,e.next=3,l({path:"yoast/v1/wincher/authenticate",method:"POST",data:{code:n,websiteId:r}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function v(){return g.apply(this,arguments)}function g(){return(g=a()(o.a.mark((function e(){var t,n,r=arguments;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:null,n=r.length>1&&void 0!==r[1]?r[1]:null,e.next=4,l({path:"yoast/v1/wincher/keyphrases",method:"POST",data:{keyphrases:t,permalink:n}});case 4:return e.abrupt("return",e.sent);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function O(){return w.apply(this,arguments)}function w(){return(w=a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/limits",method:"GET"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function k(e){return j.apply(this,arguments)}function j(){return(j=a()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Object(u.isArray)(t)||(t=[t]),e.next=3,l({path:"yoast/v1/wincher/keyphrases/track",method:"POST",data:{keyphrases:t}});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function E(e){return R.apply(this,arguments)}function R(){return(R=a()(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/untrack",method:"DELETE",data:{keyphraseID:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function _(){return T.apply(this,arguments)}function T(){return(T=a()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l({path:"yoast/v1/wincher/keyphrases/track/all",method:"POST"});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},,function(e,t,n){var r=n(72),a=n(73),s=n(74);e.exports=function(e){return r(e)||a(e)||s()}},function(e,t){e.exports=window.yoast.externals.contexts},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(6)),s=i(n(90)),o=i(n(93));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,o.default)(t);try{return function e(t,n){var o,i,u,l,p,d,h,f,m=[],b={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){o=n[p.value],u=d;break}m.push(n[p.value])}else m.push(p.value);return o&&(l=function(e,t){var n,r,a=t[e],s=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){s++;continue}if("componentClose"===n.type){if(0===s)return r;s--}}throw new Error("Missing closing component token `"+a.value+"`")}(u,t),h=e(t.slice(u+1,l),n),i=a.default.cloneElement(o,{},h),m.push(i),l<t.length-1&&(f=e(t.slice(l+1),n),m=m.concat(f))),1===m.length?m[0]:(m.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,s.default)(b))}(u,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){var r=n(65),a=n(66),s=n(67);e.exports=function(e,t){return r(e)||a(e,t)||s()}},function(e,t,n){"use strict";var r=n(0),a=n(1),s=n.n(a),o=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};o.propTypes={renderPriority:s.a.number.isRequired,children:s.a.node.isRequired},t.a=o},function(e,t){e.exports=window.wp.apiFetch},,function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},,function(e,t,n){var r=n(81);e.exports=function(e,t){if(null==e)return{};var n,a,s=r(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)n=o[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"h",(function(){return l})),n.d(t,"b",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"m",(function(){return h})),n.d(t,"n",(function(){return f})),n.d(t,"o",(function(){return m})),n.d(t,"k",(function(){return b})),n.d(t,"j",(function(){return y})),n.d(t,"i",(function(){return v}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",s="SNIPPET_EDITOR_UPDATE_DATA",o="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_HIDE_REPLACEMENT_VARIABLES",c="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",u="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",p="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:a,mode:e}}function h(e){return{type:s,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:o,name:e,value:s,label:n,hidden:a}}function m(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:c,name:e}}function y(){return{type:u,time:(new Date).getMilliseconds()}}function v(e){return{type:i,data:e}}},function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s}));var r=n(0);function a(e){return e.charAt(0).toUpperCase()+e.slice(1)}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return Object(r.createInterpolateElement)(e,{a:Object(r.createElement)("a",{id:n,href:t,target:"_blank",rel:"noopener noreferrer"})})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(0),a=n(1),s=n.n(a);function o(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}o.propTypes={target:s.a.oneOfType([s.a.string,s.a.object]).isRequired,children:s.a.node.isRequired}},function(e,t){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2),a=n(26),s=n(3);function o(e){return Object(s.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},,,function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return s})),n.d(t,"setYoastComponentsL10n",(function(){return o})),n.d(t,"setWordPressSeoL10n",(function(){return i}));var r=n(2),a=n(3);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(a.get)(window,[t,e,"locale_data",e],!1);"yoast-components"===e&&(e="wordpress-seo"),!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function o(){s("yoast-components")}function i(){s("wordpress-seo")}},function(e,t){e.exports=window.yoast.components},,function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(25),a=n.n(r),s=n(38),o=n.n(s),i=n(0),c=n(1),u=n.n(c),l=n(21),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,s=e.additionalClassName,c=o()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(l.Modal,a()({title:t,className:"".concat(n," ").concat(s),icon:u},c),e.children)};d.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(16),s=n.n(a),o=n(23),i=n(9),c=n(15),u=n.n(c),l=Object(i.makeOutboundLink)(u.a.a(r||(r=s()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),o.colors.$color_help_text,o.colors.$color_snippet_focus,o.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";var r,a=n(25),s=n.n(a),o=n(16),i=n.n(o),c=n(0),u=n(5),l=n(15),p=n.n(l)()(u.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,s()({hasPadding:!0,hasSeparator:!0},e))}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(8),a=n.n(r),s=n(10),o=n.n(s),i=n(12),c=n.n(i),u=n(4),l=n.n(u),p=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o()(this,e),this.url=t,this.origin=new URL(t).origin,this.eventHandlers=Object.assign({success:{type:"",callback:function(){}},error:{type:"",callback:function(){}}},n),this.options=Object.assign({height:570,width:340,title:""},r),this.popup=null,this.createPopup=this.createPopup.bind(this),this.messageHandler=this.messageHandler.bind(this),this.getPopup=this.getPopup.bind(this)}var t;return c()(e,[{key:"createPopup",value:function(){var e=this.options,t=e.height,n=e.width,r=e.title,a=["top="+(window.top.outerHeight/2+window.top.screenY-t/2),"left="+(window.top.outerWidth/2+window.top.screenX-n/2),"width="+n,"height="+t,"resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(this.url,r,a.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.messageHandler,!1)}},{key:"messageHandler",value:(t=a()(l.a.mark((function e(t){var n,r;return l.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,t.origin===this.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if(n.type!==this.eventHandlers.success.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=8,this.eventHandlers.success.callback(n);case 8:if(n.type!==this.eventHandlers.error.type){e.next=13;break}return this.popup.close(),window.removeEventListener("message",this.messageHandler,!1),e.next=13,this.eventHandlers.error.callback(n);case 13:case"end":return e.stop()}}),e,this)}))),function(_x){return t.apply(this,arguments)})},{key:"getPopup",value:function(){return this.popup}},{key:"isClosed",value:function(){return!this.popup||this.popup.closed}},{key:"focus",value:function(){this.isClosed()||this.popup.focus()}}]),e}()},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return h})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return y})),n.d(t,"replaceSpaces",(function(){return v})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return k})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(14),a=n.n(r),s=n(3),o=n(106),i=n(40),c=n(41),u=n(43);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,h=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(s.forEach)(e,(function(e,n){h.includes(n)||t.dispatch(Object(i.n)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return e=m(e),Object(c.b)(e)}function y(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+v(e),label:Object(c.b)(e+" (custom field)")}}function O(e){var t=v(e);return{name:"ct_"+t,label:Object(c.b)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:Object(c.b)(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(s.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),a=r.name,s=r.label,o=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.n)(a,e.name,s)),t.dispatch(Object(i.n)(o,e.description,c))})),Object(s.omit)(p({},e),"custom_taxonomies")):e}function k(e,t){return e.custom_fields?(Object(s.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,s=r.label;t.dispatch(Object(i.n)(a,e,s))})),Object(s.omit)(p({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(o.stripTags)(e)).trim()).length<=t||(e=e.substring(0,t),Object(u.isFeatureEnabled)("JAPANESE_SUPPORT")?/\s/.test(e)&&(e=e.substring(0,e.lastIndexOf(" "))):e=e.substring(0,e.lastIndexOf(" "))),e}var E=function(e){var t=Object(s.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(s.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(s.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],s.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";var r=n(29),a=n.n(r),s=n(0),o=n(1),i=n.n(o),c=n(2),u=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,o=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(s.createElement)("p",null,Object(c.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(s.createElement)("div",{className:o?"screen-reader-text":null},Object(s.createElement)("table",null,Object(s.createElement)("caption",null,r),Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,a.map((function(e,t){return Object(s.createElement)("th",{key:t},e)})))),Object(s.createElement)("tbody",null,Object(s.createElement)("tr",null,t.map((function(e,t){return Object(s.createElement)("td",{key:t},n(e.y))}))))))};u.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},u.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var l=u,p=function(e){var t=e.data,n=e.width,r=e.height,o=e.fillColor,i=e.strokeColor,c=e.strokeWidth,u=e.className,p=e.mapChartDataToTableData,d=e.dataTableCaption,h=e.dataTableHeaderLabels,f=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.x}))))),b=Math.max(1,Math.max.apply(Math,a()(t.map((function(e){return e.y}))))),y=r-c,v=t.map((function(e){var t=e.x/m*n,r=y-e.y/b*y+c;return"".concat(t,",").concat(r)})).join(" "),g="0,".concat(y+c," ")+v+" ".concat(n,",").concat(y+c);return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:u,role:"img","aria-hidden":"true",focusable:"false"},Object(s.createElement)("polygon",{fill:o,points:g}),Object(s.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:c,strokeLinejoin:"round",strokeLinecap:"round",points:v})),p&&Object(s.createElement)(l,{data:t,mapChartDataToTableData:p,dataTableCaption:d,dataTableHeaderLabels:h,isDataTableVisuallyHidden:f}))};p.propTypes={data:i.a.arrayOf(i.a.shape({x:i.a.number,y:i.a.number})).isRequired,width:i.a.number.isRequired,height:i.a.number.isRequired,fillColor:i.a.string,strokeColor:i.a.string,strokeWidth:i.a.number,className:i.a.string,mapChartDataToTableData:i.a.func,dataTableCaption:i.a.string.isRequired,dataTableHeaderLabels:i.a.array.isRequired,isDataTableVisuallyHidden:i.a.bool},p.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.a=p},function(e,t,n){"use strict";function r(e){return function(e){var t=null;return(t=window.wp.media()).on("select",(function(){var n=t.state().get("selection").first(),r={type:n.attributes.subtype,width:n.attributes.width,height:n.attributes.height,url:n.attributes.url,id:n.attributes.id};e(r)})),t}(e).open()}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(26),a=n(23);function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function o(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_red};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=s(a,t);n=o(i,n)}}return n}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(_n=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==o.return||o.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=window.moment},function(e,t,n){"use strict";var r=n(32),a=n.n(r),s=n(0),o=n(5),i=n(1),c=n.n(i),u=function(e){var t=Object(s.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(s.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(s.createElement)("h2",{className:"components-panel__body-title"},Object(s.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(s.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(s.createElement)(o.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(s.createElement)("span",{className:"yoast-title-container"},Object(s.createElement)("div",{className:"yoast-title"},e.title),Object(s.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(s.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r=n(0),a=n(2),s=n(9),o=n(5),i=n(31),c=n.n(i),u=n(1),l=n.n(u),p=Object(s.makeOutboundLink)(),d=function(e){var t=Object(a.sprintf)(
|
2 |
-
/* translators: %d expands to the amount of allowed keyphrases on a free account, %s expands to a link to Wincher plans. */
|
3 |
-
Object(a.__)("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(r.createElement)(o.Alert,{type:"error"},c()({mixedString:t,components:{updateWincherPlanLink:Object(r.createElement)(p,{href:wpseoAdminGlobalL10n["links.wincher.pricing"]},Object(a.sprintf)(
|
4 |
-
/* translators: %s : Expands to "Wincher". */
|
5 |
-
Object(a.__)("upgrade your %s plan","wordpress-seo"),"Wincher"))}}))};d.propTypes={limit:l.a.number},d.defaultProps={limit:10},t.a=d},function(e,t,n){"use strict";function r(){return window.wpseoScriptData&&"1"===window.wpseoScriptData.isBlockEditor}n.d(t,"a",(function(){return r}))},function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},,function(e,t,n){"use strict";var r=n(0),a=n(1),s=n.n(a),o=n(15),i=n(30),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(o.ThemeProvider,{theme:t},a))};c.propTypes={theme:s.a.object.isRequired,location:s.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:s.a.element.isRequired},t.a=c},function(e,t,n){"use strict";var r=n(20),a=n(7),s=n(82);t.a=Object(r.compose)([Object(a.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,a=n.getIsModalOpen;return{postTypeName:r(),isOpen:a(t.id)}})),Object(a.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(s.a)},,,function(e,t,n){"use strict";n.r(t),n.d(t,"sortResultsByIdentifier",(function(){return i})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var r=n(17),a=n(61),s=n(49),o=!1;function i(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();o&&e.analyze(l).then((function(e){var t=e.result,a=t.seo,o=t.readability;if(a){var p=a[""];p.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),p.results=i(p.results),c.dispatch(r.actions.setSeoResultsForKeyword(l.getKeyword(),p.results)),c.dispatch(Object(s.setOverallSeoScore)(p.score,l.getKeyword())),c.dispatch(r.actions.refreshSnippetEditor()),u.saveScores(p.score,l.getKeyword())}o&&(o.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),o.results=i(o.results),c.dispatch(r.actions.setReadabilityResults(o.results)),c.dispatch(Object(s.setOverallReadabilityScore)(o.score)),c.dispatch(r.actions.refreshSnippetEditor()),u.saveContentScore(o.score))})).catch(a.a)}function u(){o=!0}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";n.d(t,"b",(function(){return l}));var r=n(0),a=n(2),s=n(52),o=n(1),i=n.n(o),c=n(83),u=n(30),l=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},p=function(e){var t=e.id,n=e.postTypeName,o=e.children,i=e.title,p=e.isOpen,d=e.close,h=e.open,f=Object(r.useCallback)((function(e){l(e)&&d()}),[d]);return Object(r.createElement)(r.Fragment,null,p&&Object(r.createElement)(u.LocationProvider,{value:"modal"},Object(r.createElement)(s.a,{title:i,onRequestClose:f,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},Object(r.createElement)("div",{className:"yoast-content-container"},Object(r.createElement)("div",{className:"yoast-modal-content"},o)),Object(r.createElement)("div",{className:"yoast-notice-container"},Object(r.createElement)("hr",null),Object(r.createElement)("div",{className:"yoast-button-container"},Object(r.createElement)("p",null,
|
6 |
-
/* Translators: %s translates to the Post Label in singular form */
|
7 |
-
Object(a.sprintf)(Object(a.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),Object(r.createElement)("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:f},
|
8 |
-
/* Translators: %s translates to the Post Label in singular form */
|
9 |
-
Object(a.sprintf)(Object(a.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(c.a,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:h}))};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},t.a=p},function(e,t,n){"use strict";var r=n(0),a=n(5),s=n(1),o=n.n(s),i=function(e){return Object(r.createElement)("div",{className:"yoast components-panel__body"},Object(r.createElement)("h2",{className:"components-panel__body-title"},Object(r.createElement)("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},e.prefixIcon&&Object(r.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(e.prefixIcon&&e.prefixIcon.color||"")}},Object(r.createElement)(a.SvgIcon,{size:e.prefixIcon.size,icon:e.prefixIcon.icon})),Object(r.createElement)("span",{className:"yoast-title-container"},Object(r.createElement)("div",{className:"yoast-title"},e.title),Object(r.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&Object(r.createElement)(a.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.a=i,i.propTypes={onClick:o.a.func.isRequired,title:o.a.string.isRequired,id:o.a.string,subTitle:o.a.string,suffixIcon:o.a.object,prefixIcon:o.a.object},i.defaultProps={id:"",suffixIcon:null,prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(22);function s(){var e=Object(a.a)();return Object(r.get)(e,"contentLocale","en_US")}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"c",(function(){return y})),n.d(t,"b",(function(){return v}));var r=n(0),a=n(1),s=n.n(a),o=n(2),i=n(3),c=n(68),u=n.n(c),l=n(5),p=n(9),d=n(59),h=function(){return Object(r.createElement)("p",{className:"yoast-wincher-seo-performance-modal__loading-message"},Object(o.__)("Tracking the ranking position...","wordpress-seo")," ",Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},f=Object(p.makeOutboundLink)();function m(e){return Math.round(100*e)}function b(e){var t=e.chartData;if(Object(i.isEmpty)(t)||Object(i.isEmpty)(t.position))return"?";var n=function(e){return Array.from({length:e.position.history.length},(function(e,t){return t+1})).map((function(e){
|
10 |
-
/* translators: %d expands to the amount of days */
|
11 |
-
return Object(o.sprintf)(Object(o._n)("%d day","%d days",e,"wordpress-seo"),e)}))}(t),a=t.position.history.map((function(e,t){return{x:t,y:101-e.value}}));return Object(r.createElement)(d.a,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:m,dataTableCaption:Object(o.__)("Keyphrase position in the last 90 days on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:n})}function y(e){return!e||!e.position||e.position.value>100?"> 100":e.position.value}function v(e){var t=e.keyphrase,n=e.rowData,a=e.onTrackKeyphrase,s=e.onUntrackKeyphrase,c=e.isFocusKeyphrase,p=e.isDisabled,d=e.isLoading,m=!Object(i.isEmpty)(n),v=Object(r.useCallback)((function(){p||(m?s(t,n.id):a(t))}),[t,a,s,m,n,p]);return Object(r.createElement)("tr",null,Object(r.createElement)("td",null,function(e){var t=e.keyphrase,n=e.isEnabled,a=e.toggleAction;return e.isLoading?Object(r.createElement)(l.SvgIcon,{icon:"loading-spinner"}):Object(r.createElement)(l.Toggle,{id:"toggle-keyphrase-tracking-".concat(t),className:"wincher-toggle",isEnabled:n,onSetToggleState:a,showToggleStateLabel:!1})}({keyphrase:t,isEnabled:m,toggleAction:v,isLoading:d})),Object(r.createElement)("td",null,t,c&&Object(r.createElement)("span",null,"*")),function(e){var t=e.rowData,n=e.websiteId,a=!Object(i.isEmpty)(t),s=t&&t.updated_at&&u()(t.updated_at)>=u()().subtract(7,"days"),c=t?Object(o.sprintf)("https://app.wincher.com/websites/%s/keywords?serp=%s&utm_medium=plugin&utm_source=yoast&referer=yoast&partner=yoast",n,t.id):null;return a?s?Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,y(t)),Object(r.createElement)("td",{className:"yoast-table--nopadding"},Object(r.createElement)(b,{chartData:t})),Object(r.createElement)("td",{className:"yoast-table--nobreak"},Object(r.createElement)(f,{href:c},Object(o.__)("View","wordpress-seo")))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",{className:"yoast-table--nopadding",colSpan:"3"},Object(r.createElement)(h,null))):Object(r.createElement)(r.Fragment,null,Object(r.createElement)("td",null,"?"),Object(r.createElement)("td",{className:"yoast-table--nopadding"},"?"),Object(r.createElement)("td",{className:"yoast-table--nobreak"}))}(e))}b.propTypes={chartData:s.a.object},b.defaultProps={chartData:{}},v.propTypes={rowData:s.a.object,keyphrase:s.a.string.isRequired,onTrackKeyphrase:s.a.func,onUntrackKeyphrase:s.a.func,isFocusKeyphrase:s.a.bool,isDisabled:s.a.bool,isLoading:s.a.bool,websiteId:s.a.string},v.defaultProps={rowData:{},onTrackKeyphrase:function(){},onUntrackKeyphrase:function(){},isFocusKeyphrase:!1,isDisabled:!1,isLoading:!1,websiteId:""}},,function(e,t,n){"use strict";var r=n(0),a=n(1),s=n.n(a),o=n(2),i=n(31),c=n.n(i),u=n(5),l=function(e){var t=Object(o.sprintf)(
|
12 |
-
/* translators: %s expands to a link to open the Wincher login popup. */
|
13 |
-
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)(u.Alert,{type:"error"},c()({mixedString:t,components:{reconnectToWincher:Object(r.createElement)("a",{href:"#",onClick:e.onReconnect},Object(o.sprintf)(
|
14 |
-
/* translators: %s : Expands to "Wincher". */
|
15 |
-
Object(o.__)("reconnect to %s","wordpress-seo"),"Wincher"))}}))};l.propTypes={onReconnect:s.a.func.isRequired},t.a=l},,function(e,t,n){"use strict";var r=n(6),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,s=n(63),o=n(91),i=n(92),c="function"==typeof Symbol&&Symbol.iterator;function u(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var l=/\/+/g;function p(e){return(""+e).replace(l,"$&/")}var d,h,f=m,m=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,o,i=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?v(d,i,n,s.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,o=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:o},void 0!==a.props?a.props.children:void 0)),i.push(d))}function v(e,t,n,r,s){var i="";null!=n&&(i=p(n)+"/");var l=b.getPooled(t,i,r,s);!function(e,t,n){null==e||function e(t,n,r,s){var i,l=typeof t;if("undefined"!==l&&"boolean"!==l||(t=null),null===t||"string"===l||"number"===l||"object"===l&&t.$$typeof===a)return r(s,t,""===n?"."+u(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var h=0;h<t.length;h++)p+=e(i=t[h],d+u(i,h),r,s);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var m,b=f.call(t),y=0;!(m=b.next()).done;)p+=e(i=m.value,d+u(i,y++),r,s);else if("object"===l){var v=""+t;o(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===v?"object with keys {"+Object.keys(t).join(", ")+"}":v,"")}}return p}(e,"",t,n)}(e,y,l),b.release(l)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(h=b).instancePool=[],h.getPooled=d||f,h.poolSize||(h.poolSize=10),h.release=function(e){o(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;o(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)v(e[n],t,n,s.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,s,o,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,a,s,o,i],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(63);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";var r=n(0),a=n(2),s=n(31),o=n.n(s),i=n(9),c=Object(i.makeOutboundLink)(),u=Object(i.makeOutboundLink)();t.a=function(){var e=Object(a.sprintf)(Object(a.__)(
|
16 |
-
/* translators: %1$s expands to a link to Wincher, %2$s expands to a link to the keyphrase tracking article on Yoast.com */
|
17 |
-
"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)(u,{href:wpseoAdminL10n["shortlinks.wincher.seo_performance"]},Object(a.__)("Read more about keyphrase tracking with Wincher","wordpress-seo"))}}))}},function(e,t,n){"use strict";var r,a,s=n(7),o=n(20),i=n(25),c=n.n(i),u=n(16),l=n.n(u),p=n(8),d=n.n(p),h=n(0),f=n(4),m=n.n(f),b=n(2),y=n(1),v=n.n(y),g=n(3),O=n(15),w=n.n(O),k=n(5),j=n(70),E=function(){return Object(h.createElement)(k.Alert,{type:"error"},Object(b.__)("Something went wrong while tracking the ranking position(s) of your page. Please try again later.","wordpress-seo"))},R=function(){return Object(h.createElement)(k.Alert,{type:"success"},Object(b.sprintf)(
|
18 |
-
/* translators: %s: Expands to "Wincher". */
|
19 |
-
Object(b.__)("You have successfully connected to %s! You can now track the SEO performance for the keyphrase(s) of this page.","wordpress-seo"),"Wincher"))},_=function(){return Object(h.createElement)(k.Alert,{type:"info"},Object(b.sprintf)(
|
20 |
-
/* translators: %s: Expands to "Wincher". */
|
21 |
-
Object(b.__)("%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"))},T=n(14),x=n.n(T),I=n(10),S=n.n(I),P=n(12),C=n.n(P),L=n(11),q=n.n(L),A=n(18),N=n.n(A),K=n(19),D=n.n(K),M=n(13),B=n.n(M),F=n(9),W=n(86),H=n(27);var U=Object(F.makeOutboundLink)(),V=w.a.span(r||(r=l()(["\n\tposition: absolute;\n\t",": 8px;\n\tfont-style: italic;\n"])),Object(F.getDirectionalStyle)("right","left")),z=w.a.th(a||(a=l()(["\n\tmin-width: 60px;\n"]))),Y=function(e){N()(u,e);var t,n,r,a,s,o,i,c=(o=u,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=B()(o);if(i){var n=B()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return D()(this,e)});function u(e){var t;return S()(this,u),(t=c.call(this,e)).onTrackKeyphrase=t.onTrackKeyphrase.bind(q()(t)),t.onUntrackKeyphrase=t.onUntrackKeyphrase.bind(q()(t)),t.getTrackedKeyphrases=Object(g.debounce)(t.getTrackedKeyphrases,500,{leading:!0}).bind(q()(t)),t.interval=null,t.hasFetchedKeyphrasesAfterConnect=!1,t}return C()(u,[{key:"performTrackingRequest",value:(s=d()(m.a.mark((function e(t){var n,r,a,s,o,i,c,u,l=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.setKeyphraseLimitReached,a=n.addTrackedKeyphrase,s=n.setRequestSucceeded,o=n.setRequestFailed,i=n.removeTrackedKeyphrase,(c=Array.isArray(t)?t:[t]).map((function(e){return a(x()({},e.toLowerCase(),{keyword:e}))})),e.next=5,Object(H.b)();case 5:if(200!==(u=e.sent).status||u.canTrack){e.next=10;break}return c.map((function(e){return i(e)})),r(u.limit),e.abrupt("return");case 10:return e.next=12,Object(H.e)((function(){return Object(H.g)(t)}),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s(t),a(t.results),e.next=4,l.getTrackedKeyphrases(Object.keys(l.props.trackedKeyphrases));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o(t),c.map((function(e){return i(e)}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),201);case 12:case"end":return e.stop()}}),e,this)}))),function(_x){return s.apply(this,arguments)})},{key:"onTrackKeyphrase",value:(a=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,this.props.newRequest)(),e.next=4,this.performTrackingRequest(t);case 4:case"end":return e.stop()}}),e,this)}))),function(e){return a.apply(this,arguments)})},{key:"onUntrackKeyphrase",value:(r=d()(m.a.mark((function e(t,n){var r,a,s,o,i,c;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=this.props,a=r.setRequestSucceeded,s=r.removeTrackedKeyphrase,o=r.addTrackedKeyphrase,i=r.setRequestFailed,t=t.toLowerCase(),c=this.getKeyphraseData(t),s(t),e.next=6,Object(H.e)((function(){return Object(H.h)(n)}),(function(e){a(e),s(t)}),function(){var e=d()(m.a.mark((function e(n){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:i(n),o(x()({},t,c));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 6:case"end":return e.stop()}}),e,this)}))),function(e,t){return r.apply(this,arguments)})},{key:"getTrackedKeyphrases",value:(n=d()(m.a.mark((function e(t){var n,r,a,s,o,i=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=this.props,r=n.setRequestSucceeded,a=n.setTrackedKeyphrases,s=n.setRequestFailed,o=n.permalink,e.next=3,Object(H.e)((function(){return Object(H.d)(t,o)}),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r(t),a(t.results),!Object(g.isEmpty)(t.results)){e.next=5;break}return clearInterval(i.interval),e.abrupt("return");case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:s(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e,this)}))),function(e){return n.apply(this,arguments)})},{key:"someKeyphrasesHaveNoRankingData",value:function(){var e=this.props.trackedKeyphrases;return!Object(g.isEmpty)(e)&&Object(g.filter)(e,(function(e){return Object(g.isEmpty)(e.updated_at)})).length>0}},{key:"componentDidMount",value:(t=d()(m.a.mark((function e(){var t,n,r,a,s,o=this;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.props,n=t.trackAll,r=t.isLoggedIn,a=t.keyphrases,s=t.permalink,r){e.next=3;break}return e.abrupt("return");case 3:if(!n){e.next=7;break}return e.next=6,this.performTrackingRequest(a);case 6:return e.abrupt("return");case 7:if(!s){e.next=11;break}return this.interval=setInterval(d()(m.a.mark((function e(){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o.getTrackedKeyphrases(a);case 2:case"end":return e.stop()}}),e)}))),1e4),e.next=11,this.getTrackedKeyphrases(a);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"setupInterval",value:function(){var e=this,t=this.props.keyphrases;clearInterval(this.interval),this.someKeyphrasesHaveNoRankingData()&&(this.interval=setInterval(d()(m.a.mark((function n(){return m.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,e.getTrackedKeyphrases(t);case 2:case"end":return n.stop()}}),n)}))),1e4))}},{key:"fetchKeyphraseDataIfNeeded",value:function(e){var t=this.props,n=t.keyphrases,r=t.isNewlyAuthenticated,a=t.permalink;a&&e.permalink!==a&&this.getTrackedKeyphrases(n),r&&!this.hasFetchedKeyphrasesAfterConnect&&(this.getTrackedKeyphrases(n),this.hasFetchedKeyphrasesAfterConnect=!0)}},{key:"componentDidUpdate",value:function(e){this.props.isLoggedIn&&(this.fetchKeyphraseDataIfNeeded(e),this.setupInterval())}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval)}},{key:"getKeyphraseData",value:function(e){var t=this.props.trackedKeyphrases,n=e.toLowerCase();return t&&!Object(g.isEmpty)(t)&&t.hasOwnProperty(n)?t[n]:null}},{key:"render",value:function(){var e=this,t=this.props,n=t.websiteId,r=t.keyphrases,a=t.isLoggedIn,s=t.trackedKeyphrases,o=t.focusKeyphrase,i=a&&null===s,c=!a;return r&&!Object(g.isEmpty)(r)&&Object(h.createElement)(h.Fragment,null,Object(h.createElement)("table",{className:"yoast yoast-table"},Object(h.createElement)("thead",null,Object(h.createElement)("tr",null,Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Tracking","wordpress-seo")},Object(b.__)("Tracking","wordpress-seo")),Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Keyphrase","wordpress-seo")},Object(b.__)("Keyphrase","wordpress-seo")),Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Position","wordpress-seo")},Object(b.__)("Position","wordpress-seo")),Object(h.createElement)("th",{scope:"col",abbr:Object(b.__)("Position over time","wordpress-seo")},Object(b.__)("Position over time","wordpress-seo")),Object(h.createElement)(z,{className:"yoast-table--nobreak"}))),Object(h.createElement)("tbody",null,r.map((function(t,r){return Object(h.createElement)(W.b,{key:"trackable-keyphrase-".concat(r),keyphrase:t,onTrackKeyphrase:e.onTrackKeyphrase,onUntrackKeyphrase:e.onUntrackKeyphrase,rowData:e.getKeyphraseData(t),isFocusKeyphrase:t===o.trim(),websiteId:n,isDisabled:c,isLoading:i})})))),Object(h.createElement)("p",{style:{marginBottom:0,position:"relative"}},Object(h.createElement)(U,{href:wpseoAdminGlobalL10n["links.wincher.login"]},Object(b.sprintf)(
|
22 |
-
/* translators: %s expands to Wincher */
|
23 |
-
Object(b.__)("Get more insights over at %s","wordpress-seo"),"Wincher")),Object(h.createElement)(V,null,Object(b.__)("* focus keyphrase","wordpress-seo"))))}}]),u}(h.Component);Y.propTypes={addTrackedKeyphrase:v.a.func.isRequired,isLoggedIn:v.a.bool,isNewlyAuthenticated:v.a.bool,keyphrases:v.a.array,newRequest:v.a.func.isRequired,removeTrackedKeyphrase:v.a.func.isRequired,setRequestFailed:v.a.func.isRequired,setKeyphraseLimitReached:v.a.func.isRequired,setRequestSucceeded:v.a.func.isRequired,setTrackedKeyphrases:v.a.func.isRequired,trackAll:v.a.bool,trackedKeyphrases:v.a.object,websiteId:v.a.string,permalink:v.a.string.isRequired,focusKeyphrase:v.a.string},Y.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],trackAll:!1,trackedKeyphrases:{},websiteId:"",focusKeyphrase:""};var G,$,Z,J=Y,X=Object(o.compose)([Object(s.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getWincherWebsiteId,r=t.getWincherTrackedKeyphrases,a=t.getWincherTrackableKeyphrases,s=t.getWincherLoginStatus,o=t.getWincherPermalink,i=t.getFocusKeyphrase,c=t.isWincherNewlyAuthenticated,u=t.shouldWincherTrackAll;return{focusKeyphrase:i(),keyphrases:a(),trackedKeyphrases:r(),isLoggedIn:s(),trackAll:u(),websiteId:n(),isNewlyAuthenticated:c(),permalink:o()}})),Object(s.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherNewRequest,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,s=t.setWincherSetKeyphraseLimitReached,o=t.setWincherTrackedKeyphrases,i=t.setWincherTrackingForKeyphrase,c=t.unsetWincherTrackingForKeyphrase;return{newRequest:function(){n()},setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},setKeyphraseLimitReached:function(e){s(e)},addTrackedKeyphrase:function(e){i(e)},removeTrackedKeyphrase:function(e){c(e)},setTrackedKeyphrases:function(e){o(e)}}}))])(J),Q=n(94),ee=function(){return Object(h.createElement)(k.Alert,{type:"error"},Object(b.__)("No keyphrase has been set. Please set a keyphrase first.","wordpress-seo"))},te=function(){return Object(h.createElement)(k.Alert,{type:"info"},Object(b.sprintf)(
|
24 |
-
/* translators: %s: Expands to "Wincher". */
|
25 |
-
Object(b.__)("Automatic tracking of keyphrases is enabled. Your keyphrase(s) will automatically be tracked by %s when you publish your post.","wordpress-seo"),"Wincher"))},ne=n(57),re=n(88),ae=function(){return Object(h.createElement)(k.Alert,{type:"error"},Object(b.__)("Before you can track your SEO performance make sure to set either the post’s title and save it as a draft or manually set the post’s slug.","wordpress-seo"))},se=function(e){var t=e.response,n=e.onLogin;return 400===t.status&&t.results&&!1===t.results.canTrack?Object(h.createElement)(j.a,{limit:t.results.limit}):403===t.status||404===t.status?Object(h.createElement)(re.a,{onReconnect:n}):Object(h.createElement)(E,null)};se.propTypes={response:v.a.object.isRequired,onLogin:v.a.func.isRequired};var oe=function(e){var t=e.isSuccess,n=e.response,r=e.allKeyphrasesMissRanking,a=e.onLogin;return Object(g.isEmpty)(n)||t?r?Object(h.createElement)(_,null):null:Object(h.createElement)(se,{response:n,onLogin:a})};oe.propTypes={isSuccess:v.a.bool.isRequired,allKeyphrasesMissRanking:v.a.bool.isRequired,response:v.a.object,onLogin:v.a.func.isRequired},oe.defaultProps={response:{}};var ie=null,ce=function(){var e=d()(m.a.mark((function e(t,n){var r,a,s;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.onAuthentication,a=t.setRequestSucceeded,s=t.setRequestFailed,e.next=3,Object(H.e)((function(){return Object(H.a)(n)}),function(){var e=d()(m.a.mark((function e(t){var s;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r(!0,!0,n.websiteId.toString()),a(t),(s=ie.getPopup())&&s.close();case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),function(){var e=d()(m.a.mark((function e(t){return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",s(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 3:case"end":return e.stop()}}),e)})));return function(_x,t){return e.apply(this,arguments)}}(),ue=function(){var e=d()(m.a.mark((function e(t){var n,r;return m.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ie||ie.isClosed()){e.next=3;break}return ie.focus(),e.abrupt("return");case 3:return e.next=5,Object(H.c)();case 5:n=e.sent,r=n.url,(ie=new ne.a(r,{success:{type:"wincher:oauth:success",callback:function(e){return ce(t,e)}},error:{type:"wincher:oauth:error",callback:function(){return t.onAuthentication(!1,!1)}}},{title:"Wincher_login",width:500,height:700})).createPopup();case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),le=function(e){return e.isLoggedIn?null:Object(h.createElement)("p",null,Object(h.createElement)(k.NewButton,{onClick:e.onLogin,variant:"primary"},Object(b.sprintf)(
|
26 |
-
/* translators: %s expands to Wincher */
|
27 |
-
Object(b.__)("Connect with %s","wordpress-seo"),"Wincher")))};le.propTypes={isLoggedIn:v.a.bool.isRequired,onLogin:v.a.func.isRequired};var pe=w.a.div(G||(G=l()(["\n\tp {\n\t\tmargin: 1em 0;\n\t}\n"]))),de=w.a.div($||($=l()(["\n\t",";\n"])),(function(e){return e.isDisabled&&"\n\t\topacity: .5;\n\t\tpointer-events: none;\n\t"})),he=w.a.div(Z||(Z=l()(["\n\tfont-weight: var(--yoast-font-weight-bold);\n\tcolor: var(--yoast-color-label);\n\tfont-size: var(--yoast-font-size-default);\n"]))),fe=function(e){var t=e.isLoggedIn,n=e.keyphrases,r=e.shouldTrackAll;return!e.permalink&&t?Object(h.createElement)(ae,null):0===n.length?Object(h.createElement)(ee,null):Object(h.createElement)(de,{isDisabled:!t},Object(h.createElement)("p",null,Object(b.__)("You can enable / disable tracking the SEO performance for each keyphrase below.","wordpress-seo")),t&&r&&Object(h.createElement)(te,null),Object(h.createElement)(X,null))};function me(e){var t=e.isNewlyAuthenticated,n=e.keyphraseLimitReached,r=e.limit,a=e.isLoggedIn,s=Object(h.useCallback)((function(){ue(e)}),[ue,e]);return Object(h.createElement)(pe,null,t&&Object(h.createElement)(R,null),Object(h.createElement)(he,null,Object(b.__)("SEO performance","wordpress-seo"),Object(h.createElement)(k.HelpIcon,{linkTo:wpseoAdminL10n["shortlinks.wincher.seo_performance"],linkText:Object(b.__)("Learn more about the SEO performance feature.","wordpress-seo")})),Object(h.createElement)(Q.a,null),Object(h.createElement)(le,{isLoggedIn:a,onLogin:s}),Object(h.createElement)(oe,c()({},e,{onLogin:s})),n&&Object(h.createElement)(j.a,{limit:r}),Object(h.createElement)(fe,e))}fe.propTypes={keyphrases:v.a.array.isRequired,isLoggedIn:v.a.bool.isRequired,shouldTrackAll:v.a.bool.isRequired,permalink:v.a.string.isRequired},me.propTypes={isLoggedIn:v.a.bool,isNewlyAuthenticated:v.a.bool,keyphrases:v.a.array,limit:v.a.number,keyphraseLimitReached:v.a.bool,response:v.a.object,shouldTrackAll:v.a.bool,permalink:v.a.string},me.defaultProps={isLoggedIn:!1,isNewlyAuthenticated:!1,keyphrases:[],limit:10,keyphraseLimitReached:!1,response:{},shouldTrackAll:!1,permalink:""},t.a=Object(o.compose)([Object(s.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.isWincherNewlyAuthenticated,r=t.getWincherKeyphraseLimitReached,a=t.getWincherLimit,s=t.getWincherLoginStatus,o=t.getWincherRequestIsSuccess,i=t.getWincherRequestResponse,c=t.getWincherTrackableKeyphrases,u=t.getWincherAllKeyphrasesMissRanking,l=t.getWincherPermalink,p=t.shouldWincherAutomaticallyTrackAll;return{keyphrases:c(),allKeyphrasesMissRanking:u(),isLoggedIn:s(),isNewlyAuthenticated:n(),isSuccess:o(),keyphraseLimitReached:r(),limit:a(),response:i(),shouldTrackAll:p(),permalink:l()}})),Object(s.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setWincherWebsiteId,r=t.setWincherRequestSucceeded,a=t.setWincherRequestFailed,s=t.setWincherLoginStatus;return{setRequestSucceeded:function(e){r(e)},setRequestFailed:function(e){a(e)},onAuthentication:function(e,t,r){n(r),s(e,t)}}}))])(me)},function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return r}));var r=500},,,,,,,,,,function(e,t){e.exports=window.wp.sanitize},function(e,t,n){"use strict";var r=n(7),a=n(20),s=n(0),o=n(2),i=n(1),c=n.n(i),u=n(3),l=n(5),p=function(){return Object(s.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(o.sprintf)(
|
28 |
-
/* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
|
29 |
-
Object(o.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(s.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},d=n(9),h=Object(d.makeOutboundLink)(),f=function(){return Object(s.createElement)(s.Fragment,null,Object(s.createElement)("p",null,Object(o.sprintf)(
|
30 |
-
/* translators: %s : Expands to "Semrush". */
|
31 |
-
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)(h,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(o.sprintf)(
|
32 |
-
/* translators: %s : Expands to "Semrush". */
|
33 |
-
Object(o.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(s.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},m=n(8),b=n.n(m),y=n(10),v=n.n(y),g=n(12),O=n.n(g),w=n(11),k=n.n(w),j=n(18),E=n.n(j),R=n(19),_=n.n(R),T=n(13),x=n.n(T),I=n(4),S=n.n(I),P=n(34),C=n.n(P),L=n(39);var q="yoast-semrush-country-selector",A=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],N=function(e){E()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=x()(r);if(a){var n=x()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _()(this,e)});function c(e){var t;return v()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(k()(t)),t.onChangeHandler=t.onChangeHandler.bind(k()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){C()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=b()(S.a.mark((function e(){var t,n,r,a;return S.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=b()(S.a.mark((function e(t,n){return S.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C()({path:Object(L.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(s.createElement)("div",{id:q},Object(s.createElement)(l.SingleSelect,{id:q+"-select",label:Object(o.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:A,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(s.createElement)(l.NewButton,{id:q+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(o.__)("Select country","wordpress-seo")))}}]),c}(s.Component);N.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},N.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var K=N,D=n(59),M=n(53);var B=Object(d.makeOutboundLink)(),F=function(e){E()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=x()(t);if(n){var a=x()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return _()(this,e)});function a(e){var t;return v()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(k()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(k()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(k()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(o.__)("Twelve months ago","wordpress-seo"),Object(o.__)("Eleven months ago","wordpress-seo"),Object(o.__)("Ten months ago","wordpress-seo"),Object(o.__)("Nine months ago","wordpress-seo"),Object(o.__)("Eight months ago","wordpress-seo"),Object(o.__)("Seven months ago","wordpress-seo"),Object(o.__)("Six months ago","wordpress-seo"),Object(o.__)("Five months ago","wordpress-seo"),Object(o.__)("Four months ago","wordpress-seo"),Object(o.__)("Three months ago","wordpress-seo"),Object(o.__)("Two months ago","wordpress-seo"),Object(o.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(u.isEmpty)(i.results)&&Object(s.createElement)(s.Fragment,null,Object(s.createElement)("table",{className:"yoast yoast-table"},Object(s.createElement)("thead",null,Object(s.createElement)("tr",null,Object(s.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(o.__)("Related keyphrase","wordpress-seo")),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Volume","wordpress-seo")},Object(o.__)("Volume","wordpress-seo"),Object(s.createElement)(M.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(s.createElement)("th",{scope:"col",abbr:Object(o.__)("Trend","wordpress-seo")},Object(o.__)("Trend","wordpress-seo"),Object(s.createElement)(M.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(s.createElement)("span",{className:"screen-reader-text"},Object(o.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(s.createElement)("td",{className:"yoast-table--nobreak"}))),Object(s.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),u=e.getAreaChartDataTableHeaderLabels();return Object(s.createElement)("tr",{key:n},Object(s.createElement)("td",null,a),Object(s.createElement)("td",null,t[1]),Object(s.createElement)("td",{className:"yoast-table--nopadding"},Object(s.createElement)(D.a,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(o.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:u})),c&&Object(s.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(s.createElement)("p",{style:{marginBottom:0}},Object(s.createElement)(B,{href:l},Object(o.sprintf)(
|
34 |
-
/* translators: %s expands to Semrush */
|
35 |
-
Object(o.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(s.Component);F.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},F.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=F,H=Object(d.makeOutboundLink)(),U=function(){return Object(s.createElement)(l.Alert,{type:"info"},Object(o.sprintf)(
|
36 |
-
/* translators: %s: Expands to "Yoast SEO". */
|
37 |
-
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)(H,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(o.sprintf)(
|
38 |
-
/* translators: %s: Expands to "Yoast SEO Premium". */
|
39 |
-
Object(o.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},V=function(){return Object(s.createElement)(l.Alert,{type:"error"},Object(o.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},z=function(){return Object(s.createElement)(l.Alert,{type:"warning"},Object(o.sprintf)(
|
40 |
-
/* translators: %s: Expands to "Yoast SEO". */
|
41 |
-
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"))},Y=n(22);function G(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,l=e.countryCode,d=e.requestLimitReached,h=e.setRequestFailed,m=e.setNoResultsFound,b=e.relatedKeyphrases,y=e.setRequestSucceeded,v=e.setRequestLimitReached,g=Object(Y.a)().isPremium;return Object(s.createElement)(s.Fragment,null,!d&&Object(s.createElement)(s.Fragment,null,!g&&Object(s.createElement)(U,null),g&&function(e){return e&&e.length>=4}(b)&&Object(s.createElement)(z,null),Object(s.createElement)(K,{countryCode:l,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:h,setNoResultsFound:m,setRequestSucceeded:y,setRequestLimitReached:v,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(s.createElement)(p,null):n?Object(s.createElement)(f,null):!r&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(a)?Object(s.createElement)(V,null):i?void 0:Object(s.createElement)("p",null,Object(o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(s.createElement)(W,{keyphrase:r,relatedKeyphrases:b,countryCode:l,renderAction:c,data:t}))}G.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},G.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,s=t.getSEMrushRequestResponse,o=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:s(),isSuccess:o(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:u()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,s=t.setSEMrushRequestFailed,o=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){s(e)},setRequestLimitReached:function(){o()},setNoResultsFound:function(){i()}}}))])(G)},,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var r=n(0),a=n(1),s=n.n(a),o=n(10),i=n.n(o),c=n(12),u=n.n(c),l=n(11),p=n.n(l),d=n(18),h=n.n(d),f=n(19),m=n.n(f),b=n(13),y=n.n(b),v=n(5),g=n(9),O=n(60);var w=function(e){h()(s,e);var t,n,a=(t=s,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function s(e){var t;return i()(this,s),(t=a.call(this,e)).hiddenField=document.getElementById(t.props.hiddenField),t.hiddenFieldImageId=document.getElementById(t.props.hiddenFieldImageId),t.state={imageUrl:t.getInitialValue(),imageId:t.getInitialId(),warnings:[]},t.setMyImageUrl=t.setMyImageUrl.bind(p()(t)),t.setMyImageId=t.setMyImageId.bind(p()(t)),t.onClick=t.onClick.bind(p()(t)),t.removeImage=t.removeImage.bind(p()(t)),t.setWarnings=t.setWarnings.bind(p()(t)),t}return u()(s,[{key:"getInitialValue",value:function(){return this.hiddenField.value}},{key:"getInitialId",value:function(){if(null!==this.hiddenFieldImageId)return this.hiddenFieldImageId.value}},{key:"setMyImageUrl",value:function(e){var t=this;this.setState({imageUrl:e},(function(){t.hiddenField.value=e}))}},{key:"setMyImageId",value:function(e){var t=this;this.setState({imageId:e},(function(){t.hiddenFieldImageId.value=e}))}},{key:"onClick",value:function(){var e=this;Object(O.a)((function(t){e.props.hasImageValidation&&e.setWarnings(Object(g.validateFacebookImage)(t)),e.setMyImageUrl(t.url),null!==e.hiddenFieldImageId&&e.setMyImageId(t.id)}))}},{key:"removeImage",value:function(){this.setMyImageUrl(""),null!==this.hiddenFieldImageId&&this.setMyImageId("")}},{key:"setWarnings",value:function(e){this.setState({warnings:e})}},{key:"render",value:function(){return Object(r.createElement)(v.ImageSelect,{label:this.props.label,hasPreview:this.props.hasPreview,imageUrl:this.state.imageUrl,imageId:this.state.imageId,onClick:this.onClick,onRemoveImageClick:this.removeImage,selectImageButtonId:this.props.selectImageButtonId,replaceImageButtonId:this.props.replaceImageButtonId,removeImageButtonId:this.props.removeImageButtonId,hasNewBadge:this.props.hasNewBadge,isDisabled:this.props.isDisabled,hasPremiumBadge:this.props.hasPremiumBadge,warnings:this.state.warnings})}}]),s}(r.Component);w.propTypes={hiddenField:s.a.string.isRequired,hiddenFieldImageId:s.a.string,label:s.a.string,hasPreview:s.a.bool,selectImageButtonId:s.a.string,replaceImageButtonId:s.a.string,removeImageButtonId:s.a.string,hasNewBadge:s.a.bool,isDisabled:s.a.bool,hasPremiumBadge:s.a.bool,hasImageValidation:s.a.bool},w.defaultProps={hiddenFieldImageId:"",label:"",hasPreview:!0,selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1};var k=w,j=n(42);function E(e){var t=e.target,n=e.label,a=e.hasPreview,s=e.hiddenField,o=e.hiddenFieldImageId,i=e.selectImageButtonId,c=e.replaceImageButtonId,u=e.removeImageButtonId,l=e.hasNewBadge,p=e.isDisabled,d=e.hasPremiumBadge,h=e.hasImageValidation;return Object(r.createElement)(j.a,{target:t},Object(r.createElement)(k,{label:n,hasPreview:a,hiddenField:s,hiddenFieldImageId:o,selectImageButtonId:i,replaceImageButtonId:c,removeImageButtonId:u,hasNewBadge:l,isDisabled:p,hasPremiumBadge:d,hasImageValidation:h}))}E.propTypes={target:s.a.string.isRequired,label:s.a.string.isRequired,hasPreview:s.a.bool.isRequired,hiddenField:s.a.string.isRequired,hiddenFieldImageId:s.a.string,selectImageButtonId:s.a.string,replaceImageButtonId:s.a.string,removeImageButtonId:s.a.string,hasNewBadge:s.a.bool,isDisabled:s.a.bool,hasPremiumBadge:s.a.bool,hasImageValidation:s.a.bool},E.defaultProps={hiddenFieldImageId:"",selectImageButtonId:"",replaceImageButtonId:"",removeImageButtonId:"",hasNewBadge:!1,isDisabled:!1,hasPremiumBadge:!1,hasImageValidation:!1}},,,,,,function(e,t){e.exports=window.yoast.analysisReport},,,,,,,,,,,function(e,t,n){"use strict";var r=n(7),a=n(20),s=n(10),o=n.n(s),i=n(12),c=n.n(i),u=n(11),l=n.n(u),p=n(18),d=n.n(p),h=n(19),f=n.n(h),m=n(13),b=n.n(m),y=n(0),v=n(1),g=n.n(v),O=n(126),w=n(26),k=n(64);var j=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;o()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(k.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(k.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new w.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,s=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:s,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);j.propTypes={results:g.a.array,marksButtonClassName:g.a.string,marksButtonStatus:g.a.string,setActiveMarker:g.a.func.isRequired,setMarkerPauseStatus:g.a.func.isRequired,activeMarker:g.a.string,keywordKey:g.a.string},j.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var E=j;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(E)},,,,,,,function(e,t,n){"use strict";var r,a,s,o,i=n(36),c=n.n(i),u=n(29),l=n.n(u),p=n(32),d=n.n(p),h=n(0),f=/<(\/)?(\w+)\s*(\/)?>/g;function m(e,t,n,r,a){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:a,children:[]}}function b(){var e=r.length-a;0!==e&&s.push(r.substr(a,e))}function y(e){var t=e.element,n=e.tokenStart,a=e.tokenLength,s=e.prevOffset,i=e.children,c=o[o.length-1],u=r.substr(c.prevOffset,n-c.prevOffset);u&&c.children.push(u),c.children.push(h.cloneElement.apply(void 0,[t,null].concat(l()(i)))),c.prevOffset=s||n+a}function v(e){var t=function(){var e=f.exec(r);if(null===e)return["no-more-tokens"];var t=e.index,n=d()(e,4),a=n[0],s=n[1],o=n[2],i=n[3],c=a.length;return i?["self-closed",o,t,c]:s?["closer",o,t,c]:["opener",o,t,c]}(),n=d()(t,4),i=n[0],c=n[1],u=n[2],p=n[3],v=o.length,g=u>a?a:null;if(!e[c])return b(),!1;switch(i){case"no-more-tokens":if(0!==v){var O=o.pop(),w=O.leadingTextStart,k=O.tokenStart;s.push(r.substr(w,k))}return b(),!1;case"self-closed":return 0===v?(null!==g&&s.push(r.substr(g,u-g)),s.push(e[c]),a=u+p,!0):(y(m(e[c],u,p)),a=u+p,!0);case"opener":return o.push(m(e[c],u,p,u+p,g)),a=u+p,!0;case"closer":if(1===v)return function(e){var t=o.pop(),n=t.element,a=t.leadingTextStart,i=t.prevOffset,c=t.tokenStart,u=t.children,p=e?r.substr(i,e-i):r.substr(i);p&&u.push(p),null!==a&&s.push(r.substr(a,c-a)),s.push(h.cloneElement.apply(void 0,[n,null].concat(l()(u))))}(u),a=u+p,!0;var j=o.pop(),E=r.substr(j.prevOffset,u-j.prevOffset);j.children.push(E),j.prevOffset=u+p;var R=m(j.element,j.tokenStart,j.tokenLength,u+p);return R.children=j.children,y(R),a=u+p,!0;default:return b(),!1}}t.a=function(e,t){if(r=e,a=0,s=[],o=[],f.lastIndex=0,!function(e){var t="object"===c()(e),n=t&&Object.values(e);return t&&n.length&&n.every((function(e){return Object(h.isValidElement)(e)}))}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(v(t));return h.createElement.apply(void 0,[h.Fragment,null].concat(l()(s)))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"doAjaxRequest",(function(){return x}));var a=n(22),s=n(84),o=n(45),i=n(96),c=n(80),u=n(53),l=n(76),p=n(48),d=n(38),h=n.n(d),f=n(0),m=n(1),b=n.n(m),y=n(64),v=n(54),g=n(107),O=n(69),w=n(137),k=n(144),j=n(71),E=n(58),R=n(30),_=n(52),T=n(33);function x(e,t,n,r){return new Promise((function(a,s){jQuery.ajax({type:e,url:t,beforeSend:n?function(e){e.setRequestHeader("X-WP-Nonce",n)}:null,data:r,dataType:"json",success:a,error:s})}))}var I=n(77),S=n(120),P=n(5),C=n(20),L=n(7),q=Object(C.compose)([Object(L.withSelect)((function(e,t){return{isAlertDismissed:(0,e(t.store||"yoast-seo/editor").isAlertDismissed)(t.alertKey)}})),Object(L.withDispatch)((function(e,t){var n=e(t.store||"yoast-seo/editor").dismissAlert;return{onDismissed:function(){return n(t.alertKey)}}}))])(P.Alert),A=n(95);window.yoast=window.yoast||{},window.yoast.editorModules={analysis:{getL10nObject:a.a,getContentLocale:s.a,getIndicatorForScore:o.a,constants:i,refreshAnalysis:c},components:{HelpLink:u.a,TopLevelProviders:l.a,higherorder:{withYoastSidebarPriority:function(e){var t=function(t){t.renderPriority;var n=h()(t,["renderPriority"]);return Object(f.createElement)(e,n)};return t.propTypes={renderPriority:b.a.number},t}},contentAnalysis:{mapResults:y},contexts:{location:{LocationContext:R.LocationContext,LocationProvider:R.LocationProvider,LocationConsumer:R.LocationConsumer}},SidebarItem:T.a,SidebarCollapsible:O.a,MetaboxCollapsible:v.a,Modal:_.a,portals:{ImageSelectPortal:S.a}},containers:{EditorModal:I.a,PersistentDismissableAlert:q,Results:w.a,SEMru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|