Yoast SEO - Version 17.2

Version Description

Release Date: September 21st, 2021

Yoast SEO 17.2 is out now! Yoast SEO comes with many powerful tools that will help you write SEO-proof and readable texts. And as of today, you can also work on your readability in the Farsi language. Readable content is awesome content! Read more about whats new in Yoast SEO 17.2 in our release post!

Enhancements:

  • Completes the readability analysis for Farsi by adding the transition words, sentence beginnings and passive voice assessments, and by adjusting the sentence length assessment to make it more appropriate for the Farsi language.
  • Improves keyword detection for Farsi by adding more categories to the list of function words. E.g., general adjectives and adverbs category, conjunctions, and articles.
  • Cleans up indexables for posts with an auto-draft post-status, in order to speed-up your admin pages.

Bugfixes:

  • Fixes a bug where indexables would be created for post auto-drafts when the SEO optimization is run.

Other:

  • Loads our help beacon on the workouts page.
Download this release

Release Info

Developer Yoast
Plugin Icon 128x128 Yoast SEO
Version 17.2
Comparing to
See all releases

Code changes from version 17.1 to 17.2

Files changed (74) hide show
  1. admin/class-expose-shortlinks.php +9 -0
  2. admin/class-gutenberg-compatibility.php +2 -2
  3. admin/class-premium-upsell-admin-block.php +1 -2
  4. admin/class-yoast-notification-center.php +23 -2
  5. admin/views/class-yoast-feature-toggles.php +1 -1
  6. admin/views/sidebar.php +2 -3
  7. css/dist/{admin-global-1710-rtl.css → admin-global-1720-rtl.css} +0 -0
  8. css/dist/{admin-global-1710.css → admin-global-1720.css} +0 -0
  9. css/dist/{adminbar-1710-rtl.css → adminbar-1720-rtl.css} +0 -0
  10. css/dist/{adminbar-1710.css → adminbar-1720.css} +0 -0
  11. css/dist/{alerts-1710-rtl.css → alerts-1720-rtl.css} +0 -0
  12. css/dist/{alerts-1710.css → alerts-1720.css} +0 -0
  13. css/dist/{dashboard-1710-rtl.css → dashboard-1720-rtl.css} +0 -0
  14. css/dist/{dashboard-1710.css → dashboard-1720.css} +0 -0
  15. css/dist/{edit-page-1710-rtl.css → edit-page-1720-rtl.css} +0 -0
  16. css/dist/{edit-page-1710.css → edit-page-1720.css} +0 -0
  17. css/dist/{elementor-1710-rtl.css → elementor-1720-rtl.css} +0 -0
  18. css/dist/{elementor-1710.css → elementor-1720.css} +0 -0
  19. css/dist/{featured-image-1710-rtl.css → featured-image-1720-rtl.css} +0 -0
  20. css/dist/{featured-image-1710.css → featured-image-1720.css} +0 -0
  21. css/dist/{filter-explanation-1710-rtl.css → filter-explanation-1720-rtl.css} +0 -0
  22. css/dist/{filter-explanation-1710.css → filter-explanation-1720.css} +0 -0
  23. css/dist/{icons-1710-rtl.css → icons-1720-rtl.css} +0 -0
  24. css/dist/{icons-1710.css → icons-1720.css} +0 -0
  25. css/dist/{inside-editor-1710-rtl.css → inside-editor-1720-rtl.css} +0 -0
  26. css/dist/{inside-editor-1710.css → inside-editor-1720.css} +0 -0
  27. css/dist/{metabox-1710-rtl.css → metabox-1720-rtl.css} +0 -0
  28. css/dist/{metabox-1710.css → metabox-1720.css} +0 -0
  29. css/dist/{metabox-primary-category-1710-rtl.css → metabox-primary-category-1720-rtl.css} +0 -0
  30. css/dist/{metabox-primary-category-1710.css → metabox-primary-category-1720.css} +0 -0
  31. css/dist/{modal-1710-rtl.css → modal-1720-rtl.css} +0 -0
  32. css/dist/{modal-1710.css → modal-1720.css} +0 -0
  33. css/dist/{monorepo-1710-rtl.css → monorepo-1720-rtl.css} +0 -0
  34. css/dist/{monorepo-1710.css → monorepo-1720.css} +0 -0
  35. css/dist/{notifications-1710-rtl.css → notifications-1720-rtl.css} +0 -0
  36. css/dist/{notifications-1710.css → notifications-1720.css} +0 -0
  37. css/dist/{schema-blocks-1710-rtl.css → schema-blocks-1720-rtl.css} +0 -0
  38. css/dist/{schema-blocks-1710.css → schema-blocks-1720.css} +0 -0
  39. css/dist/{score_icon-1710-rtl.css → score_icon-1720-rtl.css} +0 -0
  40. css/dist/{score_icon-1710.css → score_icon-1720.css} +0 -0
  41. css/dist/{search-appearance-1710-rtl.css → search-appearance-1720-rtl.css} +0 -0
  42. css/dist/{search-appearance-1710.css → search-appearance-1720.css} +0 -0
  43. css/dist/{structured-data-blocks-1710-rtl.css → structured-data-blocks-1720-rtl.css} +0 -0
  44. css/dist/{structured-data-blocks-1710.css → structured-data-blocks-1720.css} +0 -0
  45. css/dist/{toggle-switch-1710-rtl.css → toggle-switch-1720-rtl.css} +0 -0
  46. css/dist/{toggle-switch-1710.css → toggle-switch-1720.css} +0 -0
  47. css/dist/{workouts-1710-rtl.css → workouts-1720-rtl.css} +0 -0
  48. css/dist/{workouts-1710.css → workouts-1720.css} +0 -0
  49. css/dist/{wpseo-dismissible-1710-rtl.css → wpseo-dismissible-1720-rtl.css} +0 -0
  50. css/dist/{wpseo-dismissible-1710.css → wpseo-dismissible-1720.css} +0 -0
  51. css/dist/{yoast-components-1710-rtl.css → yoast-components-1720-rtl.css} +0 -0
  52. css/dist/{yoast-components-1710.css → yoast-components-1720.css} +0 -0
  53. css/dist/{yoast-extensions-1710-rtl.css → yoast-extensions-1720-rtl.css} +0 -0
  54. css/dist/{yoast-extensions-1710.css → yoast-extensions-1720.css} +0 -0
  55. css/dist/{yst_plugin_tools-1710-rtl.css → yst_plugin_tools-1720-rtl.css} +0 -0
  56. css/dist/{yst_plugin_tools-1710.css → yst_plugin_tools-1720.css} +0 -0
  57. css/dist/{yst_seo_score-1710-rtl.css → yst_seo_score-1720-rtl.css} +0 -0
  58. css/dist/{yst_seo_score-1710.css → yst_seo_score-1720.css} +0 -0
  59. inc/class-upgrade.php +7 -33
  60. inc/class-wpseo-shortlinker.php +9 -1
  61. js/dist/{addon-installation-1710.js → addon-installation-1720.js} +0 -0
  62. js/dist/{admin-global-1710.js → admin-global-1720.js} +0 -0
  63. js/dist/{analysis-worker-1710.js → analysis-worker-1720.js} +0 -0
  64. js/dist/{api-client-1710.js → api-client-1720.js} +0 -0
  65. js/dist/{block-editor-1710.js → block-editor-1720.js} +5 -5
  66. js/dist/{bulk-editor-1710.js → bulk-editor-1720.js} +0 -0
  67. js/dist/{classic-editor-1710.js → classic-editor-1720.js} +18 -18
  68. js/dist/{configuration-wizard-1710.js → configuration-wizard-1720.js} +0 -0
  69. js/dist/{dashboard-widget-1710.js → dashboard-widget-1720.js} +0 -0
  70. js/dist/{dynamic-blocks-1710.js → dynamic-blocks-1720.js} +0 -0
  71. js/dist/{edit-page-1710.js → edit-page-1720.js} +0 -0
  72. js/dist/{editor-modules-1710.js → editor-modules-1720.js} +0 -0
  73. js/dist/{elementor-1710.js → elementor-1720.js} +22 -22
  74. js/dist/externals/analysis-1710.js +0 -355
admin/class-expose-shortlinks.php CHANGED
@@ -16,10 +16,19 @@ class WPSEO_Expose_Shortlinks implements WPSEO_WordPress_Integration {
16
  * @var array
17
  */
18
  private $shortlinks = [
 
 
 
 
 
 
 
 
19
  'shortlinks.focus_keyword_info' => 'https://yoa.st/focus-keyword',
20
  'shortlinks.nofollow_sponsored' => 'https://yoa.st/nofollow-sponsored',
21
  'shortlinks.snippet_preview_info' => 'https://yoa.st/snippet-preview',
22
  'shortlinks.cornerstone_content_info' => 'https://yoa.st/1i9',
 
23
  'shortlinks.upsell.sidebar.focus_keyword_synonyms_link' => 'https://yoa.st/textlink-synonyms-popup-sidebar',
24
  'shortlinks.upsell.sidebar.focus_keyword_synonyms_button' => 'https://yoa.st/keyword-synonyms-popup-sidebar',
25
  'shortlinks.upsell.sidebar.focus_keyword_additional_link' => 'https://yoa.st/textlink-keywords-popup-sidebar',
16
  * @var array
17
  */
18
  private $shortlinks = [
19
+ 'shortlinks.advanced.allow_search_engines' => 'https://yoa.st/allow-search-engines',
20
+ 'shortlinks.advanced.follow_links' => 'https://yoa.st/follow-links',
21
+ 'shortlinks.advanced.meta_robots' => 'https://yoa.st/meta-robots-advanced',
22
+ 'shortlinks.advanced.breadcrumbs_title' => 'https://yoa.st/breadcrumbs-title',
23
+ 'shortlinks.metabox.schema.explanation' => 'https://yoa.st/400',
24
+ 'shortlinks.metabox.schema.page_type' => 'https://yoa.st/402',
25
+ 'shortlinks.sidebar.schema.explanation' => 'https://yoa.st/401',
26
+ 'shortlinks.sidebar.schema.page_type' => 'https://yoa.st/403',
27
  'shortlinks.focus_keyword_info' => 'https://yoa.st/focus-keyword',
28
  'shortlinks.nofollow_sponsored' => 'https://yoa.st/nofollow-sponsored',
29
  'shortlinks.snippet_preview_info' => 'https://yoa.st/snippet-preview',
30
  'shortlinks.cornerstone_content_info' => 'https://yoa.st/1i9',
31
+ 'shortlinks.upsell.social_previews' => 'https://yoa.st/social-preview-cta',
32
  'shortlinks.upsell.sidebar.focus_keyword_synonyms_link' => 'https://yoa.st/textlink-synonyms-popup-sidebar',
33
  'shortlinks.upsell.sidebar.focus_keyword_synonyms_button' => 'https://yoa.st/keyword-synonyms-popup-sidebar',
34
  'shortlinks.upsell.sidebar.focus_keyword_additional_link' => 'https://yoa.st/textlink-keywords-popup-sidebar',
admin/class-gutenberg-compatibility.php CHANGED
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
15
  *
16
  * @var string
17
  */
18
- const CURRENT_RELEASE = '11.4.0';
19
 
20
  /**
21
  * The minimally supported version of Gutenberg by the plugin.
22
  *
23
  * @var string
24
  */
25
- const MINIMUM_SUPPORTED = '11.4.0';
26
 
27
  /**
28
  * Holds the current version.
15
  *
16
  * @var string
17
  */
18
+ const CURRENT_RELEASE = '11.5.0';
19
 
20
  /**
21
  * The minimally supported version of Gutenberg by the plugin.
22
  *
23
  * @var string
24
  */
25
+ const MINIMUM_SUPPORTED = '11.5.0';
26
 
27
  /**
28
  * Holds the current version.
admin/class-premium-upsell-admin-block.php CHANGED
@@ -48,8 +48,7 @@ class WPSEO_Premium_Upsell_Admin_Block {
48
  * @return void
49
  */
50
  public function render() {
51
- $page = filter_input( INPUT_GET, 'page' );
52
- $url = add_query_arg( [ 'screen' => $page ], WPSEO_Shortlinker::get( 'https://yoa.st/17h' ) );
53
 
54
  $arguments = [
55
  '<strong>' . esc_html__( 'Multiple keyphrases', 'wordpress-seo' ) . '</strong>: ' . esc_html__( 'Increase your SEO reach', 'wordpress-seo' ),
48
  * @return void
49
  */
50
  public function render() {
51
+ $url = WPSEO_Shortlinker::get( 'https://yoa.st/17h' );
 
52
 
53
  $arguments = [
54
  '<strong>' . esc_html__( 'Multiple keyphrases', 'wordpress-seo' ) . '</strong>: ' . esc_html__( 'Increase your SEO reach', 'wordpress-seo' ),
admin/class-yoast-notification-center.php CHANGED
@@ -61,6 +61,13 @@ class Yoast_Notification_Center {
61
  */
62
  private $notifications_retrieved = false;
63
 
 
 
 
 
 
 
 
64
  /**
65
  * Construct.
66
  */
@@ -321,6 +328,8 @@ class Yoast_Notification_Center {
321
 
322
  // Add to list.
323
  $this->notifications[ $user_id ][] = $notification;
 
 
324
  }
325
 
326
  /**
@@ -432,6 +441,8 @@ class Yoast_Notification_Center {
432
 
433
  unset( $notifications[ $index ] );
434
  $this->notifications[ $user_id ] = array_values( $notifications );
 
 
435
  }
436
 
437
  /**
@@ -450,6 +461,7 @@ class Yoast_Notification_Center {
450
  }
451
 
452
  $this->remove_notification( $notification, $resolve );
 
453
  }
454
 
455
  /**
@@ -582,7 +594,13 @@ class Yoast_Notification_Center {
582
  *
583
  * @api Yoast_Notification[] $notifications
584
  */
585
- $merged_notifications = apply_filters( 'yoast_notifications_before_storage', $merged_notifications );
 
 
 
 
 
 
586
 
587
  $notifications = $this->split_on_user_id( $merged_notifications );
588
 
@@ -593,7 +611,10 @@ class Yoast_Notification_Center {
593
  return;
594
  }
595
 
596
- array_walk( $notifications, [ $this, 'store_notifications_for_user' ] );
 
 
 
597
  }
598
 
599
  /**
61
  */
62
  private $notifications_retrieved = false;
63
 
64
+ /**
65
+ * Internal flag for whether notifications need to be updated in storage.
66
+ *
67
+ * @var bool
68
+ */
69
+ private $notifications_need_storage = false;
70
+
71
  /**
72
  * Construct.
73
  */
328
 
329
  // Add to list.
330
  $this->notifications[ $user_id ][] = $notification;
331
+
332
+ $this->notifications_need_storage = true;
333
  }
334
 
335
  /**
441
 
442
  unset( $notifications[ $index ] );
443
  $this->notifications[ $user_id ] = array_values( $notifications );
444
+
445
+ $this->notifications_need_storage = true;
446
  }
447
 
448
  /**
461
  }
462
 
463
  $this->remove_notification( $notification, $resolve );
464
+ $this->notifications_need_storage = true;
465
  }
466
 
467
  /**
594
  *
595
  * @api Yoast_Notification[] $notifications
596
  */
597
+ $filtered_merged_notifications = apply_filters( 'yoast_notifications_before_storage', $merged_notifications );
598
+
599
+ // The notifications were filtered and therefore need to be stored.
600
+ if ( $merged_notifications !== $filtered_merged_notifications ) {
601
+ $merged_notifications = $filtered_merged_notifications;
602
+ $this->notifications_need_storage = true;
603
+ }
604
 
605
  $notifications = $this->split_on_user_id( $merged_notifications );
606
 
611
  return;
612
  }
613
 
614
+ // Only store notifications if changes are made.
615
+ if ( $this->notifications_need_storage ) {
616
+ array_walk( $notifications, [ $this, 'store_notifications_for_user' ] );
617
+ }
618
  }
619
 
620
  /**
admin/views/class-yoast-feature-toggles.php CHANGED
@@ -160,7 +160,7 @@ class Yoast_Feature_Toggles {
160
  __( 'Allow us to track some data about your site to improve our plugin.', 'wordpress-seo' ),
161
  'Yoast SEO'
162
  ),
163
- 'read_more_url' => 'https://yoa.st/usage-tracking',
164
  'order' => 95,
165
  ],
166
  (object) [
160
  __( 'Allow us to track some data about your site to improve our plugin.', 'wordpress-seo' ),
161
  'Yoast SEO'
162
  ),
163
+ 'read_more_url' => 'https://yoa.st/usage-tracking-2',
164
  'order' => 95,
165
  ],
166
  (object) [
admin/views/sidebar.php CHANGED
@@ -7,7 +7,6 @@
7
 
8
  $wpseo_plugin_dir_url = plugin_dir_url( WPSEO_FILE );
9
  $new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
10
- $wpseo_page = filter_input( INPUT_GET, 'page' );
11
  ?>
12
  <div class="wpseo_content_cell" id="sidebar-container">
13
  <div id="sidebar" class="yoast-sidebar">
@@ -40,7 +39,7 @@ $wpseo_page = filter_input( INPUT_GET, 'page' );
40
  </ul>
41
 
42
  <a id="wpseo-premium-button" class="yoast-button-upsell"
43
- href="<?php echo esc_url( add_query_arg( [ 'screen' => $wpseo_page ], WPSEO_Shortlinker::get( 'https://yoa.st/jj' ) ) ); ?>" target="_blank">
44
  <?php
45
  /* translators: %s expands to Yoast SEO Premium */
46
  printf( esc_html__( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' );
@@ -58,7 +57,7 @@ $wpseo_page = filter_input( INPUT_GET, 'page' );
58
  </h2>
59
  <p>
60
  <?php
61
- $url = add_query_arg( [ 'screen' => $wpseo_page ], WPSEO_Shortlinker::get( 'https://yoa.st/3t6' ) );
62
 
63
  /* translators: %1$s expands to Yoast SEO academy, which is a clickable link. */
64
  printf( esc_html__( 'Want to learn SEO from Team Yoast? Check out our %1$s!', 'wordpress-seo' ), '<a href="' . esc_url( $url ) . '"><strong>Yoast SEO academy</strong></a>' );
7
 
8
  $wpseo_plugin_dir_url = plugin_dir_url( WPSEO_FILE );
9
  $new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
 
10
  ?>
11
  <div class="wpseo_content_cell" id="sidebar-container">
12
  <div id="sidebar" class="yoast-sidebar">
39
  </ul>
40
 
41
  <a id="wpseo-premium-button" class="yoast-button-upsell"
42
+ href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/jj' ); ?>" target="_blank">
43
  <?php
44
  /* translators: %s expands to Yoast SEO Premium */
45
  printf( esc_html__( 'Get %s', 'wordpress-seo' ), 'Yoast SEO Premium' );
57
  </h2>
58
  <p>
59
  <?php
60
+ $url = WPSEO_Shortlinker::get( 'https://yoa.st/3t6' );
61
 
62
  /* translators: %1$s expands to Yoast SEO academy, which is a clickable link. */
63
  printf( esc_html__( 'Want to learn SEO from Team Yoast? Check out our %1$s!', 'wordpress-seo' ), '<a href="' . esc_url( $url ) . '"><strong>Yoast SEO academy</strong></a>' );
css/dist/{admin-global-1710-rtl.css → admin-global-1720-rtl.css} RENAMED
File without changes
css/dist/{admin-global-1710.css → admin-global-1720.css} RENAMED
File without changes
css/dist/{adminbar-1710-rtl.css → adminbar-1720-rtl.css} RENAMED
File without changes
css/dist/{adminbar-1710.css → adminbar-1720.css} RENAMED
File without changes
css/dist/{alerts-1710-rtl.css → alerts-1720-rtl.css} RENAMED
File without changes
css/dist/{alerts-1710.css → alerts-1720.css} RENAMED
File without changes
css/dist/{dashboard-1710-rtl.css → dashboard-1720-rtl.css} RENAMED
File without changes
css/dist/{dashboard-1710.css → dashboard-1720.css} RENAMED
File without changes
css/dist/{edit-page-1710-rtl.css → edit-page-1720-rtl.css} RENAMED
File without changes
css/dist/{edit-page-1710.css → edit-page-1720.css} RENAMED
File without changes
css/dist/{elementor-1710-rtl.css → elementor-1720-rtl.css} RENAMED
File without changes
css/dist/{elementor-1710.css → elementor-1720.css} RENAMED
File without changes
css/dist/{featured-image-1710-rtl.css → featured-image-1720-rtl.css} RENAMED
File without changes
css/dist/{featured-image-1710.css → featured-image-1720.css} RENAMED
File without changes
css/dist/{filter-explanation-1710-rtl.css → filter-explanation-1720-rtl.css} RENAMED
File without changes
css/dist/{filter-explanation-1710.css → filter-explanation-1720.css} RENAMED
File without changes
css/dist/{icons-1710-rtl.css → icons-1720-rtl.css} RENAMED
File without changes
css/dist/{icons-1710.css → icons-1720.css} RENAMED
File without changes
css/dist/{inside-editor-1710-rtl.css → inside-editor-1720-rtl.css} RENAMED
File without changes
css/dist/{inside-editor-1710.css → inside-editor-1720.css} RENAMED
File without changes
css/dist/{metabox-1710-rtl.css → metabox-1720-rtl.css} RENAMED
File without changes
css/dist/{metabox-1710.css → metabox-1720.css} RENAMED
File without changes
css/dist/{metabox-primary-category-1710-rtl.css → metabox-primary-category-1720-rtl.css} RENAMED
File without changes
css/dist/{metabox-primary-category-1710.css → metabox-primary-category-1720.css} RENAMED
File without changes
css/dist/{modal-1710-rtl.css → modal-1720-rtl.css} RENAMED
File without changes
css/dist/{modal-1710.css → modal-1720.css} RENAMED
File without changes
css/dist/{monorepo-1710-rtl.css → monorepo-1720-rtl.css} RENAMED
File without changes
css/dist/{monorepo-1710.css → monorepo-1720.css} RENAMED
File without changes
css/dist/{notifications-1710-rtl.css → notifications-1720-rtl.css} RENAMED
File without changes
css/dist/{notifications-1710.css → notifications-1720.css} RENAMED
File without changes
css/dist/{schema-blocks-1710-rtl.css → schema-blocks-1720-rtl.css} RENAMED
File without changes
css/dist/{schema-blocks-1710.css → schema-blocks-1720.css} RENAMED
File without changes
css/dist/{score_icon-1710-rtl.css → score_icon-1720-rtl.css} RENAMED
File without changes
css/dist/{score_icon-1710.css → score_icon-1720.css} RENAMED
File without changes
css/dist/{search-appearance-1710-rtl.css → search-appearance-1720-rtl.css} RENAMED
File without changes
css/dist/{search-appearance-1710.css → search-appearance-1720.css} RENAMED
File without changes
css/dist/{structured-data-blocks-1710-rtl.css → structured-data-blocks-1720-rtl.css} RENAMED
File without changes
css/dist/{structured-data-blocks-1710.css → structured-data-blocks-1720.css} RENAMED
File without changes
css/dist/{toggle-switch-1710-rtl.css → toggle-switch-1720-rtl.css} RENAMED
File without changes
css/dist/{toggle-switch-1710.css → toggle-switch-1720.css} RENAMED
File without changes
css/dist/{workouts-1710-rtl.css → workouts-1720-rtl.css} RENAMED
File without changes
css/dist/{workouts-1710.css → workouts-1720.css} RENAMED
File without changes
css/dist/{wpseo-dismissible-1710-rtl.css → wpseo-dismissible-1720-rtl.css} RENAMED
File without changes
css/dist/{wpseo-dismissible-1710.css → wpseo-dismissible-1720.css} RENAMED
File without changes
css/dist/{yoast-components-1710-rtl.css → yoast-components-1720-rtl.css} RENAMED
File without changes
css/dist/{yoast-components-1710.css → yoast-components-1720.css} RENAMED
File without changes
css/dist/{yoast-extensions-1710-rtl.css → yoast-extensions-1720-rtl.css} RENAMED
File without changes
css/dist/{yoast-extensions-1710.css → yoast-extensions-1720.css} RENAMED
File without changes
css/dist/{yst_plugin_tools-1710-rtl.css → yst_plugin_tools-1720-rtl.css} RENAMED
File without changes
css/dist/{yst_plugin_tools-1710.css → yst_plugin_tools-1720.css} RENAMED
File without changes
css/dist/{yst_seo_score-1710-rtl.css → yst_seo_score-1720-rtl.css} RENAMED
File without changes
css/dist/{yst_seo_score-1710.css → yst_seo_score-1720.css} RENAMED
File without changes
inc/class-upgrade.php CHANGED
@@ -73,9 +73,8 @@ class WPSEO_Upgrade {
73
  '15.9.1-RC0' => 'upgrade_1591',
74
  '16.2-RC0' => 'upgrade_162',
75
  '16.5-RC0' => 'upgrade_165',
76
- '16.9-RC0' => 'upgrade_169',
77
- '17.0-RC0' => 'upgrade_170',
78
  '17.1-RC0' => 'upgrade_171',
 
79
  ];
80
 
81
  array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
@@ -833,41 +832,16 @@ class WPSEO_Upgrade {
833
  }
834
 
835
  /**
836
- * Performs the 16.9 upgrade. shop_order indexables stopped being added in the db since 16.7, so we have to clean out older entries from the indexable table.
837
  *
838
  * @return void
839
  */
840
- private function upgrade_169() {
841
- $cleanup_integration = YoastSEO()->classes->get( \Yoast\WP\SEO\Integrations\Cleanup_Integration::class );
842
- $number_of_deletions = $cleanup_integration->clean_indexables_with_object_type( 'post', 'shop_order', 1000 );
843
 
844
- if ( ! empty( $number_of_deletions ) ) {
845
- $indexables_to_clean = [ 'post', 'shop_order' ];
846
-
847
- if ( ! wp_next_scheduled( 'wpseo_cleanup_indexables', $indexables_to_clean ) ) {
848
- wp_schedule_event(
849
- time(),
850
- 'hourly',
851
- 'wpseo_cleanup_indexables',
852
- $indexables_to_clean
853
- );
854
- }
855
- }
856
- }
857
-
858
- /**
859
- * Performs the 17.0 upgrade. shop_order indexables were cleaned from the indexable table in 16.9, so we have to clean out the orphaned entries from the rest of the tables.
860
- *
861
- * @return void
862
- */
863
- private function upgrade_170() {
864
- // Sets a scheduled job to do the cleanup eventually and not in the upgrade process itself. When that cleanup is completed, the job will de-register itself.
865
- if ( ! wp_next_scheduled( 'wpseo_cleanup_orphaned_indexables' ) ) {
866
- wp_schedule_event(
867
- time(),
868
- 'hourly',
869
- 'wpseo_cleanup_orphaned_indexables'
870
- );
871
  }
872
  }
873
 
73
  '15.9.1-RC0' => 'upgrade_1591',
74
  '16.2-RC0' => 'upgrade_162',
75
  '16.5-RC0' => 'upgrade_165',
 
 
76
  '17.1-RC0' => 'upgrade_171',
77
+ '17.2-RC0' => 'upgrade_172',
78
  ];
79
 
80
  array_walk( $routines, [ $this, 'run_upgrade_routine' ], $version );
832
  }
833
 
834
  /**
835
+ * Performs the 17.2 upgrade. Cleans out any unnecessary indexables. See $cleanup_integration->get_cleanup_tasks() to see what will be cleaned out.
836
  *
837
  * @return void
838
  */
839
+ private function upgrade_172() {
840
+ \wp_unschedule_hook( 'wpseo_cleanup_orphaned_indexables' );
841
+ \wp_unschedule_hook( 'wpseo_cleanup_indexables' );
842
 
843
+ if ( ! \wp_next_scheduled( \Yoast\WP\SEO\Integrations\Cleanup_Integration::START_HOOK ) ) {
844
+ \wp_schedule_single_event( ( time() + ( MINUTE_IN_SECONDS * 5 ) ), \Yoast\WP\SEO\Integrations\Cleanup_Integration::START_HOOK );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
845
  }
846
  }
847
 
inc/class-wpseo-shortlinker.php CHANGED
@@ -16,7 +16,7 @@ class WPSEO_Shortlinker {
16
  * @return array The shortlink data.
17
  */
18
  protected function collect_additional_shortlink_data() {
19
- return [
20
  'php_version' => $this->get_php_version(),
21
  'platform' => 'wordpress',
22
  'platform_version' => $this->get_platform_version(),
@@ -25,6 +25,13 @@ class WPSEO_Shortlinker {
25
  'days_active' => $this->get_days_active(),
26
  'user_language' => $this->get_user_language(),
27
  ];
 
 
 
 
 
 
 
28
  }
29
 
30
  /**
@@ -136,6 +143,7 @@ class WPSEO_Shortlinker {
136
  default:
137
  $cohort = '365plus';
138
  }
 
139
  return $cohort;
140
  }
141
 
16
  * @return array The shortlink data.
17
  */
18
  protected function collect_additional_shortlink_data() {
19
+ $data = [
20
  'php_version' => $this->get_php_version(),
21
  'platform' => 'wordpress',
22
  'platform_version' => $this->get_platform_version(),
25
  'days_active' => $this->get_days_active(),
26
  'user_language' => $this->get_user_language(),
27
  ];
28
+
29
+ $admin_page = filter_input( INPUT_GET, 'page' );
30
+ if ( ! empty( $admin_page ) ) {
31
+ $data['screen'] = $admin_page;
32
+ }
33
+
34
+ return $data;
35
  }
36
 
37
  /**
143
  default:
144
  $cohort = '365plus';
145
  }
146
+
147
  return $cohort;
148
  }
149
 
js/dist/{addon-installation-1710.js → addon-installation-1720.js} RENAMED
File without changes
js/dist/{admin-global-1710.js → admin-global-1720.js} RENAMED
File without changes
js/dist/{analysis-worker-1710.js → analysis-worker-1720.js} RENAMED
File without changes
js/dist/{api-client-1710.js → api-client-1720.js} RENAMED
File without changes
js/dist/{block-editor-1710.js → block-editor-1720.js} RENAMED
@@ -8,9 +8,9 @@ Object(o.sprintf)(Object(o.__)("Make sure to save your %s for changes to take ef
8
  /* Translators: %s translates to the Post Label in singular form */
9
  Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(u,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.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=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};l.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),l=n.n(c),u=n(13),d=n.n(u),p=n(14),f=n.n(p),m=n(8),b=n.n(m),h=n(0),y=n(1),g=n.n(y),O=n(15),v=n.n(O),E=n(12),j=n.n(E),w=n(37),_=n.n(w),T=n(3),k=n(6),S=n(9),R=j()(k.Alert)(r||(r=v()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(S.makeOutboundLink)(),A=function(e){var t=Object(T.sprintf)(
10
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
11
- Object(T.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(T.sprintf)(
12
  /* Translators: %s expands to Yoast SEO Premium */
13
- Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(149),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(179),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/block-editor")&&Object(a.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/block-editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(6),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(6),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
14
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
15
  Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
16
  /* translators: %s : Expands to "Semrush". */
@@ -60,15 +60,15 @@ Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
60
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
61
  Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},S=function(e){return Object(l.sprintf)(
62
  /* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
63
- Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var A=function(e){var t,n=k(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=k(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:S(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};A.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:w.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:w.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},A.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(A,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(A,e)};C.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=C,I=n(33),D=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=L(L(L({},e),a),"metabox"===e.location?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1});return Object(i.createElement)(x,s)};M.propTypes={displayFooter:d.a.bool.isRequired,schemaPageTypeSelected:d.a.string.isRequired,schemaArticleTypeSelected:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,defaultPageType:d.a.string.isRequired,loadSchemaPageData:d.a.func.isRequired,loadSchemaArticleData:d.a.func.isRequired,schemaPageTypeChange:d.a.func.isRequired,schemaArticleTypeChange:d.a.func.isRequired,location:d.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(D.a)()])(M)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(6),c=n(9),l=n(1),u=n.n(l),d=n(28),p=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=e.isPrivateBlog,l=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
64
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
65
  Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
66
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
67
  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(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(a.Fragment,null,o&&Object(a.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(a.createElement)(s.Select,{label:Object(i.sprintf)(
68
  /* Translators: %s translates to the Post Label in singular form */
69
- Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
70
  /* Translators: %s translates to the Post Label in singular form */
71
- Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(147),p=n(28),f=n(112),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(148),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
72
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
73
  Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
74
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
8
  /* Translators: %s translates to the Post Label in singular form */
9
  Object(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(u,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.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=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};l.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),l=n.n(c),u=n(13),d=n.n(u),p=n(14),f=n.n(p),m=n(8),b=n.n(m),h=n(0),y=n(1),g=n.n(y),O=n(15),v=n.n(O),E=n(12),j=n.n(E),w=n(37),_=n.n(w),T=n(3),k=n(6),S=n(9),R=j()(k.Alert)(r||(r=v()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(S.makeOutboundLink)(),A=function(e){var t=Object(T.sprintf)(
10
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
11
+ Object(T.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(T.sprintf)(
12
  /* Translators: %s expands to Yoast SEO Premium */
13
+ Object(T.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(R,{type:"info"},_()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(P,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(h.createElement)("p",null,n))))};A.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var C=A,x=n(149),I=n(58);var D=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return s()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,d=e.titleInputPlaceholder,p=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(C,{socialMediumName:a}),Object(h.createElement)(x.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:u,titleInputPlaceholder:d,onRemoveImageClick:o,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:p,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),o}(h.Component);D.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:I.replacementVariablesShape,recommendedReplacementVariables:I.recommendedReplacementVariablesShape,location:g.a.string},D.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=D},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return h})),n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=(n(179),n(66)),s=n(4);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u="<yoastmark class='yoast-text-mark'>",d=[],p={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},f={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function m(){var e=d.shift();e&&(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation(e),b())}function b(){Object(a.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(m,{timeout:1e3}):setTimeout(m,150)}function h(){return Object(s.select)("core/block-editor")&&Object(a.isFunction)(Object(s.select)("core/block-editor").getBlocks)&&Object(s.select)("core/annotations")&&Object(a.isFunction)(Object(s.dispatch)("core/annotations").__experimentalAddAnnotation)}function y(e){var t=Object(s.select)("yoast-seo/editor").getActiveMarker(),n=f[t]||p;return n.hasOwnProperty(e)?n[e]:[]}function g(e,t,n){var r=e.key,o=t.attributes,s=o[r];if(e.filter&&!e.filter(o))return[];var c=Object(i.create)({html:s,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return Object(a.flatMap)(n,(function(e){var n=function(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o,a=0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(o=e.indexOf(t,a))>-1;)r.push(o),a=o+t.length;return r}(e,n);if(0===o.length)return[];var a=function(e){for(var t=e.indexOf(u),n=null,r=[];t>=0;){if((n=(e=e.replace(u,"")).indexOf("</yoastmark>"))<t)return[];e=e.replace("</yoastmark>",""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(u),n=null}return r}(r),i=[];return a.forEach((function(e){o.forEach((function(r){var o=r+e.startOffset,a=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(a=r+n.length),i.push({startOffset:o,endOffset:a})}))})),i}(c,e);return n?n.map((function(e){return l(l({},e),{},{block:t.clientId,richTextIdentifier:r})})):[]}))}function O(e){d=e.map((function(e){return{blockClientId:e.block,source:"yoast",richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}}))}function v(e,t){if(d=[],Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource("yoast"),0!==t.length){var n=Object(s.select)("core/block-editor").getBlocks();O(Object(a.flatMap)(n,(function(e){return Object(a.flatMap)(y(e.name),(function(n){return g(n,e,t)}))}))),b()}}function E(){var e=Object(s.select)("core/editor").getSelectedBlock(),t=Object(s.select)("yoast-seo/editor").getActiveMarker();if(e&&t){var n;n=e.clientId,Object(s.select)("core/annotations").__experimentalGetAnnotations().filter((function(e){return e.blockClientId===n&&"yoast"===e.source})).forEach((function(e){Object(s.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)}));var r=Object(s.select)("yoast-seo/editor").getResultById(t);if(void 0!==r){var o=r.marks;O(Object(a.flatMap)(y(e.name),(function(t){return g(t,e,o)}))),b()}}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),l=n(12),u=n.n(l),d=n(6),p=n(9),f=u()(d.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),d.StyledSectionBase,d.StyledHeading,Object(p.getDirectionalStyle)("padding-left","padding-right"),Object(p.getDirectionalStyle)("0","20px")),m=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},,,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),l=n(2),u=n(6),d=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
14
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
15
  Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},p=n(9),f=Object(p.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
16
  /* translators: %s : Expands to "Semrush". */
60
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
61
  Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},S=function(e){return Object(l.sprintf)(
62
  /* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
63
+ Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},R=function(e){return Object(i.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};R.propTypes={helpTextTitle:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired};var P=function(e){return Object(i.createElement)("p",null,e.helpTextDescription+" ",Object(i.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:d.a.string.isRequired,helpTextLink:d.a.string.isRequired};var A=function(e){var t,n=k(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=k(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(R,e),o&&Object(i.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(i.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(i.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(i.createElement)("p",null,(t=e.postTypeName,v()({mixedString:S(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};A.propTypes={schemaPageTypeChange:d.a.func,schemaPageTypeSelected:d.a.string,pageTypeOptions:w.b.isRequired,schemaArticleTypeChange:d.a.func,schemaArticleTypeSelected:d.a.string,articleTypeOptions:w.b.isRequired,showArticleTypeInput:d.a.bool.isRequired,additionalHelpTextLink:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,defaultPageType:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,location:d.a.string.isRequired},A.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var C=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(A,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(A,e)};C.propTypes={showArticleTypeInput:d.a.bool,articleTypeLabel:d.a.string,additionalHelpTextLink:d.a.string,pageTypeLabel:d.a.string.isRequired,helpTextLink:d.a.string.isRequired,helpTextTitle:d.a.string.isRequired,helpTextDescription:d.a.string.isRequired,isMetabox:d.a.bool.isRequired,postTypeName:d.a.string.isRequired,displayFooter:d.a.bool,loadSchemaArticleData:d.a.func.isRequired,loadSchemaPageData:d.a.func.isRequired,location:d.a.string.isRequired},C.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var x=C,I=n(33),D=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(e){var t=null!==I.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:o},s=L(L(L({},e),a),"metabox"===e.location?{helpTextLink: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)(x,s)};M.propTypes={displayFooter:d.a.bool.isRequired,schemaPageTypeSelected:d.a.string.isRequired,schemaArticleTypeSelected:d.a.string.isRequired,defaultArticleType:d.a.string.isRequired,defaultPageType:d.a.string.isRequired,loadSchemaPageData:d.a.func.isRequired,loadSchemaArticleData:d.a.func.isRequired,schemaPageTypeChange:d.a.func.isRequired,schemaArticleTypeChange:d.a.func.isRequired,location:d.a.string.isRequired},t.a=Object(s.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(D.a)()])(M)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(6),c=n(9),l=n(1),u=n.n(l),d=n(28),p=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=e.isPrivateBlog,l=function(e){var t=Object(i.__)("No","wordpress-seo"),n=Object(i.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(i.sprintf)(
64
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
65
  Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
66
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
67
  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(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(a.Fragment,null,o&&Object(a.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(a.createElement)(s.Select,{label:Object(i.sprintf)(
68
  /* Translators: %s translates to the Post Label in singular form */
69
+ Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.allow_search_engines"],linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};p.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},p.defaultProps={isPrivateBlog:!1};var f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
70
  /* Translators: %s translates to the Post Label in singular form */
71
+ Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var m=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo: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 b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(d.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,d=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,O=e.editorContext,v=e.isBreadcrumbsDisabled,E=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){g&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:E},w={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:l},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:u},k={canonical:i,onCanonicalChange:d};return g?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(p,j),O.isPost&&Object(a.createElement)(f,w),O.isPost&&Object(a.createElement)(m,_),!v&&Object(a.createElement)(b,T),Object(a.createElement)(h,k))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,d=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:d}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function d(e){return(""+e).replace(u,"$&/")}var p,f,m=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var o,i,s=e.result,c=e.keyPrefix,l=e.func,u=e.context,p=l.call(u,t,e.count++);Array.isArray(p)?g(p,s,n,a.thatReturnsArgument):null!=p&&(r.isValidElement(p)&&(o=p,i=c+(!p.key||t&&t.key===p.key?"":d(p.key)+"/")+n,p=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(p))}function g(e,t,n,r,a){var s="";null!=n&&(s=d(n)+"/");var u=h.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===o)return r(a,t,""===n?"."+l(t,0):n),1;var d=0,p=""===n?".":n+":";if(Array.isArray(t))for(var f=0;f<t.length;f++)d+=e(s=t[f],p+l(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var b,h=m.call(t),y=0;!(b=h.next()).done;)d+=e(s=b.value,p+l(s,y++),r,a);else if("object"===u){var g=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return d}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},p=function(e,t,n,r){if(this.instancePool.length){var o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=h).instancePool=[],f.getPooled=p||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),o=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(o.Warning)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(27),i=n.n(a),s=n(0),c=n(19),l=n(4),u=n(3),d=n(147),p=n(28),f=n(112),m=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(m.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getFocusKeyphrase,a=t.getRecommendedReplaceVars,i=t.getReplaceVars,s=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,d=t.getSnippetEditorPreviewImageUrl,p=t.getSnippetEditorWordsToHighlight,f=i();return f.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:o(),mobileImageSrc:d(),mode:u(),recommendedReplacementVariables:a(),replacementVariables:f,shoppingData:s(),wordsToHighlight:p()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,a=t.updateAnalysisData,i=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),i&&i.editPost({slug:t});break;default:n(o()({},e,t))}},onChangeAnalysisData:a}}))])((function(e){return Object(s.createElement)(p.LocationConsumer,null,(function(t){return Object(s.createElement)(f.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(s.createElement)(d.SnippetEditor,i()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(3),i=n(9),s=n(148),c=n(20),l=n(57),u=n(90),d=function(e){Object(o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(i.validateTwitterImage)(e)})},p=function(){Object(u.a)(d)};t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,d=t.getSeoTitle,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,O=t.getSeoTitleTemplate,v=t.getSeoTitleTemplateNoFallback,E=t.getSocialTitleTemplate,j=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,_=t.getReplacedExcerpt,T=Object(a.sprintf)(
72
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
73
  Object(a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),k=Object(a.sprintf)(
74
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
js/dist/{bulk-editor-1710.js → bulk-editor-1720.js} RENAMED
File without changes
js/dist/{classic-editor-1710.js → classic-editor-1720.js} RENAMED
@@ -1,22 +1,22 @@
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=354)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},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=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(87),a=n(88),o=n(89);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(130)),s=i(n(133));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(93),s=n(123),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&amp;","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(99),a=n(100),o=n(101);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),a=n.n(r),o=n(2),s=n(79),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(6),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(6),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(7),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),E=n.n(w);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var T=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(6),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){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){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(95),j=n(23),w=n(35);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);E.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var k=E;t.a=Object(a.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(k)},,function(e,t){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"b",(function(){return k}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(6),O=n(1),j=n.n(O),w=n(62);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
2
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
3
  Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
4
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
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=j.a.arrayOf(j.a.shape({name:j.a.string,value:j.a.string}));E.propTypes={postType:j.a.string.isRequired,postTypeName:j.a.string.isRequired,pageType:w.b.isRequired,articleType:w.b,pageTypeOptions:k.isRequired,articleTypeOptions:k.isRequired},E.defaultProps={articleType:null},t.a=Object(w.a)((function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]}))(E)},,function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},function(e,t,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";n.d(t,"b",(function(){return d}));var r=n(0),a=n(3),o=n(53),s=n(1),i=n.n(s),c=n(6),l=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"},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)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},u=l;l.propTypes={onClick:i.a.func.isRequired,title:i.a.string.isRequired,id:i.a.string,subTitle:i.a.string,suffixIcon:i.a.object},l.defaultProps={id:"",suffixIcon:null,subTitle:""};var p=n(28),d=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},m=function(e){var t=e.id,n=e.postTypeName,s=e.children,i=e.title,c=e.isOpen,l=e.close,m=e.open,f=Object(r.useCallback)((function(e){d(e)&&l()}),[l]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(p.LocationProvider,{value:"modal"},Object(r.createElement)(o.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"},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,
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)(u,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};m.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired},t.a=m},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var r=n(23),a=n(2);function o(e,t,n){var o=e.dom,s=e.getContent();s=r.markers.removeMarks(s),Object(a.forEach)(n,(function(e){s=e.applyWithReplace(s)})),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);var i=o.select("yoastmark");Object(a.forEach)(i,(function(e){e.setAttribute("data-mce-bogus","1")}))}function s(e){return window.test=e,o.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){s(e)(null,[])}},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=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),a=n(6),o=n(1),s=n.n(o),i=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(a.SvgIcon,Object(i.getIconForScore)(n)))};l.propTypes={target:s.a.string.isRequired,scoreIndicator:s.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,a=n(5),o=n.n(a),s=n(7),i=n.n(s),c=n(11),l=n.n(c),u=n(13),p=n.n(u),d=n(14),m=n.n(d),f=n(8),b=n.n(f),h=n(0),y=n(1),g=n.n(y),v=n(15),O=n.n(v),j=n(12),w=n.n(j),E=n(37),k=n.n(E),_=n(3),T=n(6),R=n(9),S=w()(T.Alert)(r||(r=O()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),x=Object(R.makeOutboundLink)(),C=function(e){var t=Object(_.sprintf)(
10
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
11
- Object(_.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(_.sprintf)(
12
  /* Translators: %s expands to Yoast SEO Premium */
13
- Object(_.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(S,{type:"info"},k()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(x,{href:"https://yoast.com/reasons-to-upgrade/"},Object(h.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(149),A=n(58);var N=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return i()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,s=e.imageWarnings,i=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,m=e.recommendedReplacementVariables,f=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(P,{socialMediumName:o}),Object(h.createElement)(I.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:i,descriptionInputPlaceholder:c,imageWarnings:s,replacementVariables:d,recommendedReplacementVariables:m,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),a}(h.Component);N.propTypes={title:g.a.string.isRequired,onTitleChange:g.a.func.isRequired,description:g.a.string.isRequired,onDescriptionChange:g.a.func.isRequired,imageUrl:g.a.string.isRequired,onSelectImageClick:g.a.func.isRequired,onRemoveImageClick:g.a.func.isRequired,socialMediumName:g.a.string.isRequired,isPremium:g.a.bool,imageWarnings:g.a.array,descriptionInputPlaceholder:g.a.string,titleInputPlaceholder:g.a.string,replacementVariables:A.replacementVariablesShape,recommendedReplacementVariables:A.recommendedReplacementVariablesShape,location:g.a.string},N.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=N},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==s.return||s.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(12),i=n(28),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(s.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r,a,o=n(16);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=o.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),a||(a=o.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(0),i=n(1),c=n.n(i),l=n(12),u=n.n(l),p=n(6),d=n(9),m=u()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),f=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(s.createElement)(m,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};f.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},f.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=f},,,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(0),s=n(3),i=n(1),c=n.n(i),l=n(2),u=n(6),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
14
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
15
  Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
16
  /* translators: %s : Expands to "Semrush". */
17
  Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
18
  /* translators: %s : Expands to "Semrush". */
19
- Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(7),O=n.n(v),j=n(11),w=n.n(j),E=n(13),k=n.n(E),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var N="yoast-semrush-country-selector",q=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],L=function(e){k()(c,e);var t,n,r,a,i=(r=c,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:N},Object(o.createElement)(u.SingleSelect,{id:N+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:q,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(o.createElement)(u.NewButton,{id:N+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);L.propTypes={keyphrase:c.a.string,countryCode:c.a.string,response:c.a.object,lastRequestKeyphrase:c.a.string,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired},L.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=L,M=n(30),F=n.n(M),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){k()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=S()(t);if(n){var a=S()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
20
  /* translators: %s expands to Semrush */
21
  Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
22
  /* translators: %s: Expands to "Yoast SEO". */
@@ -24,11 +24,11 @@ Object(s.__)("Would you like to be able to add these related keyphrases to the %
24
  /* translators: %s: Expands to "Yoast SEO Premium". */
25
  Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
26
  /* translators: %s: Expands to "Yoast SEO". */
27
- Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),E=n(6),k=n(24),_=n(1),T=n.n(_),R=n(12),S=n.n(R),x=n(42),C=n(81),P=n(9),I=S.a.p(r||(r=v()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),k.colors.$color_upsell_text),A=S.a.div(a||(a=v()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(P.getDirectionalStyle)("border-left","border-right"),k.colors.$color_pink_dark,I,(function(e){return"vertical"===e.alignment&&"16px"})),N=S()(E.SvgIcon)(o||(o=v()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(P.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(P.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),q=Object(P.makeOutboundLink)(E.UpsellLinkButton),L=function(e){var t=e.alignment,n=e.url;return Object(O.createElement)(A,{alignment:t},Object(O.createElement)(I,null,Object(w.sprintf)(
28
  /* translators: %s expands to Yoast SEO Premium */
29
- Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(q,{href:n,className:"UpsellLinkButton"},Object(w.sprintf)(
30
  /* translators: %s expands to Premium */
31
- Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(N,{icon:"arrow-right",size:"8px",color:k.colors.$color_black}))))};L.propTypes={alignment:T.a.oneOf(["horizontal","vertical"]),url:T.a.string.isRequired},L.defaultProps={alignment:"vertical"};var D,M,F=L,B=n(28),K=n(51),U=n(68),H=n(37),Y=n.n(H);var V=S.a.ul(D||(D=v()(['\n\tlist-style: none;\n\tmargin: 0 0 16px;\n\tpadding: 0;\n\n\tli {\n\t\tmargin: 5px 0 0 0;\n\t\tpadding-left: 16px;\n\t}\n\n\tspan[aria-hidden="true"]:before {\n\t\tmargin: 0 8px 0 -16px;\n\t\tfont-weight: bold;\n\t\tcontent: "+";\n\t}\n']))),z=S.a.small(M||(M=v()(["\n\tdisplay: block;\n"]))),W=Object(P.makeOutboundLink)(),G=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(e){return l()(this,a),r.call(this,e)}return p()(a,[{key:"createBenefitsList",value:function(e){return e.length>0&&Object(O.createElement)(V,{role:"list"},e.map((function(e,t){return Object(O.createElement)("li",{key:t},Object(O.createElement)("span",{"aria-hidden":"true"}),Y()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(O.createElement)("strong",null)}}))})))}},{key:"createInfoParagraphs",value:function(e){return e.map((function(e,t){return Object(O.createElement)("p",{key:t},e)}))}},{key:"render",value:function(){return Object(O.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(O.createElement)(W,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(O.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(O.createElement)(z,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),a}(O.Component);G.propTypes={benefits:T.a.array,infoParagraphs:T.a.array,upsellButton:T.a.object,upsellButtonText:T.a.string.isRequired,upsellButtonLabel:T.a.string,upsellButtonHasCaret:T.a.bool},G.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};var $=G,Z=Object(P.makeOutboundLink)(),J=function(e){var t=Object(w.sprintf)(
32
  /* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
33
  Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
34
  /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
@@ -48,36 +48,36 @@ Object(w.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo")
48
  /* translators: %s expands to 'Yoast SEO Premium'. */
49
  Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
50
  /* translators: %s expands to 'Yoast SEO Premium'. */
51
- Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(E.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),o.open),r&&Object(O.createElement)(oe.a,{onRequestClose:s,className:e.className,title:o.heading},e.children))};ce.propTypes={openButtonIcon:T.a.string,labels:T.a.shape({open:T.a.string,modalAriaLabel:T.a.string.isRequired,heading:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}).isRequired,classes:T.a.shape({openButton:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}),className:T.a.string,children:T.a.any.isRequired},ce.defaultProps={className:oe.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(96),pe=n(50),de=n(18);function me(e){var t=e.location;return Object(O.createElement)(de.Slot,{name:"yoast-synonyms-".concat(t)})}me.propTypes={location:T.a.string.isRequired};var fe,be=n(35);function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=S.a.span(fe||(fe=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),ve=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(w.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
52
  /* translators: %s expands to 'Yoast SEO Premium'. */
53
  Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
54
  /* translators: %s expands to 'Yoast SEO Premium'. */
55
- Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:E.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),Object(O.createElement)(X,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+Object(w.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
56
  /* translators: %s expands to 'Yoast SEO Premium'. */
57
  Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
58
  /* translators: %s expands to 'Yoast SEO Premium'. */
59
- Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:E.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:k.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:k.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(18),l=n(6),u=n(9),p=n(1),d=n.n(p),m=n(5),f=n.n(m),b=n(7),h=n.n(b),y=n(13),g=n.n(y),v=n(14),O=n.n(v),j=n(8),w=n.n(j),E=n(15),k=n.n(E),_=n(12);var T=n.n(_).a.div(r||(r=k()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){g()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=w()(t);if(n){var a=w()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return O()(this,e)});function a(){return f()(this,a),r.apply(this,arguments)}return h()(a,[{key:"render",value:function(){return Object(s.createElement)(T,null,Object(s.createElement)(l.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=R,x=n(51),C=n(50),P=Object(u.makeOutboundLink)();function I(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?x.a:C.a;return Object(s.createElement)(o,{id:Object(u.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(l.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(P,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(S,{id:Object(u.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}),Object(s.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}I.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},I.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var A=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(A.a)()])(I)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(6),N=n(68),q=n(53),L=n(111),D=n(92);var M=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(q.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(L.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(N.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);M.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},M.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=M,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),E=n.n(w),k=n(12),_=n.n(k),T=n(3),R=n(2),S=n(96),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),N=n(54),q=n(36);function L(e){var t=e.target,n=e.children;return Object(O.createElement)(q.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}L.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(N.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(L,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return M(M({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(6),y=n(18),g=n(9),v=n(37),O=n.n(v),j=n(12),w=n.n(j),E=n(85),k=n(83),_=w.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),T=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
60
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
61
  Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},R=function(e){return Object(l.sprintf)(
62
  /* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
63
- Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(s.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var x=function(e){return Object(s.createElement)("p",null,e.helpTextDescription+" ",Object(s.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};x.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var C=function(e){var t,n=T(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=T(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(k.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(s.createElement)(s.Fragment,null,a?Object(s.createElement)(x,e):Object(s.createElement)(S,e),a&&Object(s.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(s.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(s.createElement)("p",null,(t=e.postTypeName,O()({mixedString:R(t),components:{link:Object(s.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};C.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions:E.b.isRequired,schemaArticleTypeChange:p.a.func,schemaArticleTypeSelected:p.a.string,articleTypeOptions:E.b.isRequired,showArticleTypeInput:p.a.bool.isRequired,additionalHelpTextLink:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,defaultPageType:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,location:p.a.string.isRequired},C.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var P=function(e){return e.isMetabox?Object(s.createPortal)(Object(s.createElement)(_,null,Object(s.createElement)(C,e)),document.getElementById("wpseo-meta-section-schema")):Object(s.createElement)(C,e)};P.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},P.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var I=P,A=n(33),N=n(57);function q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?q(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t=null!==A.a.articleTypeInput;Object(s.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},i=L(L(L({},e),o),"metabox"===e.location?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1});return Object(s.createElement)(I,i)};D.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(i.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,s=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:s(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(N.a)()])(D)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(0),s=n(3),i=n(6),c=n(9),l=n(1),u=n.n(l),p=n(28),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,l=function(e){var t=Object(s.__)("No","wordpress-seo"),n=Object(s.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(s.sprintf)(
64
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
65
  Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
66
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
67
  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)(
68
  /* Translators: %s translates to the Post Label in singular form */
69
- Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(s.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};d.propTypes={noIndex:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,editorContext:u.a.object.isRequired,isPrivateBlog:u.a.bool},d.defaultProps={isPrivateBlog:!1};var m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
70
  /* Translators: %s translates to the Post Label in singular form */
71
- Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},E={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},k={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,E),v.isPost&&Object(o.createElement)(f,k),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(94),s=n(131),i=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(147),d=n(28),m=n(112),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(148),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,E=t.getSocialDescriptionTemplate,k=t.getReplacedExcerpt,_=Object(o.sprintf)(
72
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
73
  Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
74
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
75
  Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
76
- /* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:E()||l()||u()||w()||k()||T,title:r(),titlePreviewFallback:j()||i()||p()||O()||v()||_,imageWarnings:d(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:_,descriptionInputPlaceholder:T,socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(150),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,s=t.getSeoTitle,i=t.getFacebookImageUrl,l=t.getImageFallback,u=t.getFacebookWarnings,p=t.getRecommendedReplaceVars,d=t.getReplaceVars,m=t.getSiteUrl,f=t.getAuthorName,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,y=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,v=t.getSocialDescriptionTemplate,O=t.getReplacedExcerpt,j=Object(o.sprintf)(
77
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
78
  Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
79
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
80
  Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
81
- /* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(s.Slot,{name:"YoastMetabox"},(function(e){return Object(i.a)(e)})))}var u=n(4),p=n(3),d=n(124),m=n(161),f=n(160),b=n(125),h=n(126),y=n(122),g=n(51),v=n(32),O=n(128),j=n(163),w=n(162),E=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(g.a,{hasSeparator:!1
82
  /* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
83
- /* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};E.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var k=E,_=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(k),T=n(36);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(_,null))}R.propTypes={target:o.a.string.isRequired};var S=n(127),x=n(115);function C(e){var t=e.settings;return Object(r.createElement)(s.Fill,{name:"YoastMetabox"},Object(r.createElement)(v.a,{key:"warning",renderPriority:1},Object(r.createElement)(f.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(s.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(x.a,null))),Object(r.createElement)(v.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(m.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(v.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(v.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(d.a,null)),t.displayAdvancedTab&&Object(r.createElement)(v.a,{key:"advanced",renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(r.createElement)(O.a,null))),t.displaySchemaSettings&&Object(r.createElement)(v.a,{key:"schema",renderPriority:50},Object(r.createElement)(S.a,null)),Object(r.createElement)(v.a,{key:"social",renderPriority:-1},Object(r.createElement)(R,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired};var P=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(C);function I(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(l,{store:n,theme:a}),Object(r.createElement)(P,{store:n,theme:a}))}I.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(30),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(0),h=n(18),y=n(192),g=n(20);var v=[],O=null,j=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(a()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(b.createElement)(t,{key:n})}))}}]),o}(b.Component);function w(e,t){null===O||null===O.current?v.push({key:e,Component:t}):O.current.registerComponent(e,t)}var E=n(10),k=n.n(E),_=n(23),T=n.n(_),R=n(2),S=n(17),x=n(43),C=n(40),P=n(38);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){k()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):I(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var N=T.a.markers.removeMarks,q=jQuery,L=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";s()(this,e),this._refresh=t,this._store=n,this._initialData={},this._previousData={},this._tinyMceId=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),Object(C.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!Object(R.isUndefined)(wp.media)&&!Object(R.isUndefined)(wp.media.featuredImage)){q("#postimagediv").on("click","#remove-post-thumbnail",(function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())}));var t=wp.media.featuredImage.frame();t.on("select",(function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))})),P.addEventHandler(this._tinyMceId,["init"],(function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(n)})),P.addEventHandler(this._tinyMceId,["change"],Object(R.debounce)((function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(t)}}),1e3))}}},{key:"getFeaturedImage",value:function(){var e=q("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch(Object(S.k)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=T.a.languageProcessing.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=q(r)).prop("src");a&&(n=a)}while(""===n&&t.length>0);return n}},{key:"getTitle",value:function(){var e=document.getElementById("title");return e&&e.value||""}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=document.getElementById("excerpt"),n=t&&t.value||"";return""!==n||!1===e?n:Object(C.excerptFromContent)(this.getContent())}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._tinyMceId;return N(P.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",(function(e){n.updateReplacementData(e,t)}))}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch(Object(S.l)(t,n))}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Object(S.l)("excerpt",e.excerpt)),this._store.dispatch(Object(S.l)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=Object(R.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=Object(C.mapCustomFields)(e,this._store),A(A({},e=Object(C.mapCustomTaxonomies)(e,this._store)),{},{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return A(A({},this._store.getState().snippetEditor.data),{},{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=w,function(e){var t=Object(g.a)();O=Object(b.createRef)();var n={isRtl:t.isRtl};Object(b.render)(Object(b.createElement)(h.SlotFillProvider,null,Object(b.createElement)(y.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(b.createElement)(j,{ref:O})),document.getElementById("wpseo-metabox-root")),v.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}(e)},window.yoast.EditorData=L}]);
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=354)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},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=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),a=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?a(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return a})),n.d(t,"e",(function(){return o})),n.d(t,"f",(function(){return s})),n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"a",(function(){return u})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return m})),n.d(t,"m",(function(){return f})),n.d(t,"i",(function(){return b})),n.d(t,"h",(function(){return h}));var r=n(9),a="SNIPPET_EDITOR_SWITCH_MODE",o="SNIPPET_EDITOR_UPDATE_DATA",s="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",i="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",l="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",u="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:a,mode:e}}function d(e){return{type:o,data:e}}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:s,name:e,value:a,label:n}}function f(e){return{type:l,wordsToHighlight:e}}function b(e){return{type:i,name:e}}function h(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},,function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return a})),n.d(t,"LocationProvider",(function(){return o})),n.d(t,"LocationConsumer",(function(){return s}));var r=n(0),a=Object(r.createContext)("location"),o=a.Provider,s=a.Consumer},,function(e,t,n){var r=n(87),a=n(88),o=n(89);e.exports=function(e){return r(e)||a(e)||o()}},,function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};s.propTypes={renderPriority:o.a.number.isRequired,children:o.a.node.isRequired},t.a=s},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=function(){function e(){a()(this,e)}return s()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return i})),n.d(t,"default",(function(){return c}));var r=n(23),a=n(24);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),a={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===a.rating&&(a.rating="OK"),a}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function i(e){var t={icon:"seo-score-none",color:a.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:a.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:a.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:a.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:a.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var a=e[r];if(a.text){var i=o(a,t);n=s(i,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(0),a=n(1),o=n.n(a);function s(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?Object(r.createPortal)(n,a):null}s.propTypes={target:o.a.oneOfType([o.a.string,o.a.object]).isRequired,children:o.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=i(n(16)),o=i(n(130)),s=i(n(133));function i(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,i=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var l=(0,s.default)(t);try{return function e(t,n){var s,i,l,u,p,d,m,f,b=[],h={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){s=n[p.value],l=d;break}b.push(n[p.value])}else b.push(p.value);return s&&(u=function(e,t){var n,r,a=t[e],o=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===a.value){if("componentOpen"===n.type){o++;continue}if("componentClose"===n.type){if(0===o)return r;o--}}throw new Error("Missing closing component token `"+a.value+"`")}(l,t),m=e(t.slice(l+1,u),n),i=a.default.cloneElement(s,{},m),b.push(i),u<t.length-1&&(f=e(t.slice(u+1),n),b=b.concat(f))),1===b.length?b[0]:(b.forEach((function(e,t){e&&(h["interpolation-child-"+t]=e)})),(0,o.default)(h))}(l,n)}catch(e){if(i)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t,n){"use strict";n.r(t),n.d(t,"tmceId",(function(){return c})),n.d(t,"termsTmceId",(function(){return l})),n.d(t,"setStore",(function(){return u})),n.d(t,"isTinyMCELoaded",(function(){return p})),n.d(t,"isTinyMCEAvailable",(function(){return d})),n.d(t,"getContentTinyMce",(function(){return m})),n.d(t,"addEventHandler",(function(){return f})),n.d(t,"disableMarkerButtons",(function(){return b})),n.d(t,"enableMarkerButtons",(function(){return h})),n.d(t,"isTextViewActive",(function(){return y})),n.d(t,"wpTextViewOnInitCheck",(function(){return g})),n.d(t,"tinyMceEventBinder",(function(){return v}));var r,a=n(2),o=n(93),s=n(123),i=n(45),c="content",l="description";function u(e){r=e}function p(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function d(e){if(!p())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function m(e){var t,n,r;return n=!1===d(e)||0==(t=e,null!==document.getElementById(t+"_ifr"))?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent(),r=new RegExp("&amp;","g"),n.replace(r,"&")}function f(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",(function(r){var o=r.editor;o.id===e&&Object(a.forEach)(t,(function(e){o.on(e,n)}))}))}function b(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("disabled"))}function h(){Object(a.isUndefined)(r)||r.dispatch(Object(i.b)("enabled"))}function y(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}function g(){y()&&(b(),p()&&tinyMCE.on("AddEditor",(function(){h()})))}function v(e,t){f(t,["input","change","cut","paste"],e),f(t,["hide"],b);var n=["show"];(new s.a).isPageBuilderActive()||n.push("init"),f(t,n,h),f("content",["focus"],(function(e){var t=e.target;Object(o.a)(t)&&(Object(o.b)(t),YoastSEO.app.disableMarkers())}))}},function(e,t,n){var r=n(99),a=n(100),o=n(101);e.exports=function(e,t){return r(e)||a(e,t)||o()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return m})),n.d(t,"handlePrefixes",(function(){return f})),n.d(t,"createLabelFromName",(function(){return b})),n.d(t,"pushNewReplaceVar",(function(){return h})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return g})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return v})),n.d(t,"mapCustomTaxonomies",(function(){return O})),n.d(t,"mapCustomFields",(function(){return j})),n.d(t,"excerptFromContent",(function(){return w})),n.d(t,"applyReplaceUsingPlugin",(function(){return k}));var r=n(10),a=n.n(r),o=n(2),s=n(79),i=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function m(e,t){Object(o.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(i.l)(n,e))}))}function f(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function b(e){return c(e=f(e))}function h(e,t){return e.push({name:t.name,label:t.label||b(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function g(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function v(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function O(e,t){return e.custom_taxonomies?(Object(o.forEach)(e.custom_taxonomies,(function(e,n){var r=v(n),a=r.name,o=r.label,s=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(i.l)(a,e.name,o)),t.dispatch(Object(i.l)(s,e.description,c))})),Object(o.omit)(u({},e),"custom_taxonomies")):e}function j(e,t){return e.custom_fields?(Object(o.forEach)(e.custom_fields,(function(e,n){var r=g(n),a=r.name,o=r.label;t.dispatch(Object(i.l)(a,e,o))})),Object(o.omit)(u({},e),"custom_fields")):e}function w(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(s.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var 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";n.d(t,"a",(function(){return s}));var r=n(3),a=n(23),o=n(2);function s(e){return Object(o.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return a})),n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return s}));var r="SET_SETTINGS",a="SET_CONTENT_IMAGE",o=function(e){return{type:r,settings:e}},s=function(e){return{type:a,src:e}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var r="WPSEO_SET_MARKER_STATUS",a=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,a,o=r(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(a=0;a<s.length;a++)n=s[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},function(e,t){function n(e,t,n,r,a,o,s){try{var i=e[o](s),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(r,a)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(a,o){var s=e.apply(t,r);function i(e){n(s,a,o,i,c,"next",e)}function c(e){n(s,a,o,i,c,"throw",e)}i(void 0)}))}}},,,function(e,t,n){"use strict";var r=n(39),a=n.n(r),o=n(0),s=n(6),i=n(1),c=n.n(i),l=function(e){var t=Object(o.useState)(!1),n=a()(t,2),r=n[0],i=n[1],c=e.prefixIcon;return Object(o.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(o.createElement)("h2",{className:"components-panel__body-title"},Object(o.createElement)("button",{onClick:function(){i(!r)},className:"components-button components-panel__body-toggle"},Object(o.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(o.createElement)(s.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(o.createElement)("span",{className:"yoast-title-container"},Object(o.createElement)("div",{className:"yoast-title"},e.title),Object(o.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(o.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=l,l.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},l.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,a=n(27),o=n.n(a),s=n(15),i=n.n(s),c=n(0),l=n(6),u=n(12),p=n.n(u)()(l.Collapsible)(r||(r=i()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,o()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(0),c=n(1),l=n.n(c),u=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,o=e.additionalClassName,c=s()(e,["title","className","showYoastIcon","additionalClassName"]),l=r?Object(i.createElement)("span",{className:"yoast-icon"}):null;return Object(i.createElement)(u.Modal,a()({title:t,className:"".concat(n," ").concat(o),icon:l},c),e.children)};d.propTypes={title:l.a.string,className:l.a.string,showYoastIcon:l.a.bool,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),additionalClassName:l.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(24),i=n(9),c=n(12),l=n.n(c),u=Object(i.makeOutboundLink)(l.a.a(r||(r=o()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),s.colors.$color_help_text,s.colors.$color_snippet_focus,s.colors.$color_help_text));t.a=u},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(10),a=n.n(r),o=n(19),s=n(0),i=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(){return Object(o.createHigherOrderComponent)((function(e){return Object(o.pure)((function(t){var n=Object(s.useContext)(i.LocationContext);return Object(s.createElement)(e,l(l({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return T}));var r=n(27),a=n.n(r),o=n(46),s=n.n(o),i=n(10),c=n.n(i),l=n(5),u=n.n(l),p=n(7),d=n.n(p),m=n(11),f=n.n(m),b=n(13),h=n.n(b),y=n(14),g=n.n(y),v=n(8),O=n.n(v),j=n(0),w=n(1),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 _(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 T=k.a.shape({value:k.a.string.isRequired,onChange:k.a.func.isRequired});t.a=function(e){return function(t){return function(n){h()(l,n);var r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=O()(r);if(o){var n=O()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return g()(this,e)});function l(t){var n;u()(this,l),(n=i.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,a=e.fieldId,o=document.getElementById(a);o&&(n.elements[t]=o,r[t]={value:o.value,onChange:n.onChange.bind(f()(n),t)})})),n.state=r,n}return d()(l,[{key:"onChange",value:function(e,t){var n=this;this.setState(_(_({},this.state),{},c()({},e,_(_({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=s()(e,["children"]);return Object(j.createElement)(t,a()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:k.a.node}}}]),l}(j.Component)}}},,function(e,t){e.exports=window.wp.apiFetch},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,a,o=n(15),s=n.n(o),i=n(12),c=n.n(i),l=n(6),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){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){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(1),v=n.n(g),O=n(95),j=n(23),w=n(35);var k=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function a(e){var t;s()(this,a);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(w.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(u()(t)),t}return c()(a,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(w.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new j.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,o=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.ContentAnalysis,{errorsResults:t,problemsResults:o,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),a}(y.Component);k.propTypes={results:v.a.array,marksButtonClassName:v.a.string,marksButtonStatus:v.a.string,setActiveMarker:v.a.func.isRequired,setMarkerPauseStatus:v.a.func.isRequired,activeMarker:v.a.string,keywordKey:v.a.string},k.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var E=k;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){e.exports=window.yoast.featureFlag},,function(e,t,n){"use strict";n.d(t,"b",(function(){return E}));var r=n(10),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(11),u=n.n(l),p=n(13),d=n.n(p),m=n(14),f=n.n(m),b=n(8),h=n.n(b),y=n(0),g=n(3),v=n(6),O=n(1),j=n.n(O),w=n(62);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=h()(t);if(n){var a=h()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(u()(t)),t}return c()(o,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(a()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(v.FieldGroup,{label:Object(g.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(g.__)("Learn more about the schema settings","wordpress-seo"),description:Object(g.sprintf)(
2
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
3
  Object(g.__)("Choose how your %1$s should be described by default in your site's schema.org markup. You can change these settings for individual %1$s.","wordpress-seo"),this.props.postTypeName)}),this.shouldShowAlert()&&Object(y.createElement)(v.Alert,{type:"warning"},Object(g.sprintf)(
4
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
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),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){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";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";n.d(t,"b",(function(){return d}));var r=n(0),a=n(3),o=n(53),s=n(1),i=n.n(s),c=n(6),l=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"},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)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},u=l;l.propTypes={onClick:i.a.func.isRequired,title:i.a.string.isRequired,id:i.a.string,subTitle:i.a.string,suffixIcon:i.a.object},l.defaultProps={id:"",suffixIcon:null,subTitle:""};var p=n(28),d=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},m=function(e){var t=e.id,n=e.postTypeName,s=e.children,i=e.title,c=e.isOpen,l=e.close,m=e.open,f=Object(r.useCallback)((function(e){d(e)&&l()}),[l]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(p.LocationProvider,{value:"modal"},Object(r.createElement)(o.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"},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,
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)(u,{id:t+"-open-button",title:i,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:m}))};m.propTypes={id:i.a.string.isRequired,postTypeName:i.a.string.isRequired,children:i.a.oneOfType([i.a.node,i.a.arrayOf(i.a.node)]).isRequired,title:i.a.string.isRequired,isOpen:i.a.bool.isRequired,open:i.a.func.isRequired,close:i.a.func.isRequired},t.a=m},function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var r=n(23),a=n(2);function o(e,t,n){var o=e.dom,s=e.getContent();s=r.markers.removeMarks(s),Object(a.forEach)(n,(function(e){s=e.applyWithReplace(s)})),e.setContent(s),function(e){var t=e.getContent();t=t.replace(new RegExp("&lt;yoastmark.+?&gt;","g"),"").replace(new RegExp("&lt;/yoastmark&gt;","g"),""),e.setContent(t)}(e);var i=o.select("yoastmark");Object(a.forEach)(i,(function(e){e.setAttribute("data-mce-bogus","1")}))}function s(e){return window.test=e,o.bind(null,e)}function i(e){return-1!==e.getContent({format:"raw"}).indexOf("<yoastmark")}function c(e){s(e)(null,[])}},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=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),a=n(6),o=n(1),s=n.n(o),i=n(35),c=n(36),l=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(a.SvgIcon,Object(i.getIconForScore)(n)))};l.propTypes={target:s.a.string.isRequired,scoreIndicator:s.a.string.isRequired},t.a=l},,function(e,t,n){"use strict";var r,a=n(5),o=n.n(a),s=n(7),i=n.n(s),c=n(11),l=n.n(c),u=n(13),p=n.n(u),d=n(14),m=n.n(d),f=n(8),b=n.n(f),h=n(0),y=n(1),g=n.n(y),v=n(15),O=n.n(v),j=n(12),w=n.n(j),k=n(37),E=n.n(k),_=n(3),T=n(6),R=n(9),S=w()(T.Alert)(r||(r=O()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),x=Object(R.makeOutboundLink)(),C=function(e){var t=Object(_.sprintf)(
10
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
11
+ Object(_.__)("Want to see how your content will look when it’s shared on %s?","wordpress-seo"),e.socialMediumName),n=Object(_.sprintf)(
12
  /* Translators: %s expands to Yoast SEO Premium */
13
+ Object(_.__)("Get %s to unlock social previews!","wordpress-seo"),"Yoast SEO Premium");return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(S,{type:"info"},E()({mixedString:t,components:{strong:Object(h.createElement)("b",null)}}),Object(h.createElement)("br",null),Object(h.createElement)(x,{href:wpseoAdminL10n["shortlinks.upsell.social_previews"]},Object(h.createElement)("p",null,n))))};C.propTypes={socialMediumName:g.a.oneOf(["Twitter","Facebook"]).isRequired};var P=C,I=n(149),A=n(58);var 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=b()(t);if(n){var a=b()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(l()(t)),t.setActiveField=t.setActiveField.bind(l()(t)),t.setEditorRef=t.setEditorRef.bind(l()(t)),t.setEditorFocus=t.setEditorFocus.bind(l()(t)),t}return i()(a,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,a=e.onRemoveImageClick,o=e.socialMediumName,s=e.imageWarnings,i=e.description,c=e.descriptionInputPlaceholder,l=e.imageUrl,u=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,m=e.recommendedReplacementVariables,f=e.isPremium,b=e.location;return Object(h.createElement)(h.Fragment,null,Object(h.createElement)(P,{socialMediumName:o}),Object(h.createElement)(I.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:o,title:u,titleInputPlaceholder:p,onRemoveImageClick:a,imageSelected:!!l,imageUrl:l,onTitleChange:n,onSelectImageClick:r,description:i,descriptionInputPlaceholder:c,imageWarnings:s,replacementVariables:d,recommendedReplacementVariables:m,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:f,setEditorRef:this.setEditorRef,idSuffix:b}))}}]),a}(h.Component);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:A.replacementVariablesShape,recommendedReplacementVariables:A.recommendedReplacementVariablesShape,location:g.a.string},L.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=L},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(_n=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,a=e}finally{try{_n||null==s.return||s.return()}finally{if(r)throw a}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}},function(e,t,n){"use strict";var r=n(0),a=n(1),o=n.n(a),s=n(12),i=n(28),c=function(e){var t=e.theme,n=e.location,a=e.children;return Object(r.createElement)(i.LocationProvider,{value:n},Object(r.createElement)(s.ThemeProvider,{theme:t},a))};c.propTypes={theme:o.a.object.isRequired,location:o.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:o.a.element.isRequired},t.a=c},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r,a,o=n(16);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e){return o.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=o.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),a||(a=o.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,a=n(15),o=n.n(a),s=n(0),i=n(1),c=n.n(i),l=n(12),u=n.n(l),p=n(6),d=n(9),m=u()(p.StyledSection)(r||(r=o()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),p.StyledSectionBase,p.StyledHeading,Object(d.getDirectionalStyle)("padding-left","padding-right"),Object(d.getDirectionalStyle)("0","20px")),f=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle,o=e.shoppingData;return Object(s.createElement)(m,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a,shoppingData:o},t)};f.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},f.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=f},,,function(e,t,n){"use strict";var r=n(4),a=n(19),o=n(0),s=n(3),i=n(1),c=n.n(i),l=n(2),u=n(6),p=function(){return Object(o.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(s.sprintf)(
14
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
15
  Object(s.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(o.createElement)(u.SvgIcon,{icon:"loading-spinner"}))},d=n(9),m=Object(d.makeOutboundLink)(),f=function(){return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("p",null,Object(s.sprintf)(
16
  /* translators: %s : Expands to "Semrush". */
17
  Object(s.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(o.createElement)(m,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(s.sprintf)(
18
  /* translators: %s : Expands to "Semrush". */
19
+ Object(s.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(o.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},b=n(47),h=n.n(b),y=n(5),g=n.n(y),v=n(7),O=n.n(v),j=n(11),w=n.n(j),k=n(13),E=n.n(k),_=n(14),T=n.n(_),R=n(8),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(52);var L="yoast-semrush-country-selector",N=[{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"}],q=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=S()(r);if(a){var n=S()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return T()(this,e)});function c(e){var t;return g()(this,c),(t=i.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(w()(t)),t.onChangeHandler=t.onChangeHandler.bind(w()(t)),t}return O()(c,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){I()({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:(n=h()(C.a.mark((function e(){var t,n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,n=t.keyphrase,r=t.countryCode,(0,t.newRequest)(r,n),this.storeCountryCode(r),e.next=5,this.doRequest(n,r);case 5:if(200!==(a=e.sent).status){e.next=9;break}return this.handleSuccessResponse(a),e.abrupt("return");case 9:this.handleFailedResponse(a);case 10:case"end":return e.stop()}}),e,this)}))),function(){return n.apply(this,arguments)})},{key:"handleSuccessResponse",value:function(e){var t=this.props,n=t.setNoResultsFound,r=t.setRequestSucceeded;0!==e.results.rows.length?r(e):n()}},{key:"handleFailedResponse",value:function(e){var t=this.props,n=t.setRequestLimitReached,r=t.setRequestFailed;"error"in e&&(e.error.includes("TOTAL LIMIT EXCEEDED")?n():r(e))}},{key:"doRequest",value:(t=h()(C.a.mark((function e(t,n){return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I()({path:Object(A.addQueryArgs)("/yoast/v1/semrush/related_keyphrases",{keyphrase:t,country_code:n})});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}}),e)}))),function(_x,e){return t.apply(this,arguments)})},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return Object(o.createElement)("div",{id:L},Object(o.createElement)(u.SingleSelect,{id:L+"-select",label:Object(s.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:N,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(s.__)("Select country","wordpress-seo")))}}]),c}(o.Component);q.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},q.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};var D=q,M=n(30),F=n.n(M),B=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?Object(o.createElement)("p",null,Object(s.__)("The number of headers and header labels don't match.","wordpress-seo")):Object(o.createElement)("div",{className:i?"screen-reader-text":null},Object(o.createElement)("table",null,Object(o.createElement)("caption",null,r),Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,a.map((function(e,t){return Object(o.createElement)("th",{key:t},e)})))),Object(o.createElement)("tbody",null,Object(o.createElement)("tr",null,t.map((function(e,t){return Object(o.createElement)("td",{key:t},n(e.y))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var K=B,U=function(e){var t=e.data,n=e.width,r=e.height,a=e.fillColor,s=e.strokeColor,i=e.strokeWidth,c=e.className,l=e.mapChartDataToTableData,u=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,m=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.x}))))),f=Math.max(1,Math.max.apply(Math,F()(t.map((function(e){return e.y}))))),b=r-i,h=t.map((function(e){var t=e.x/m*n,r=b-e.y/f*b+i;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(b+i," ")+h+" ".concat(n,",").concat(b+i);return Object(o.createElement)(o.Fragment,null,Object(o.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(o.createElement)("polygon",{fill:a,points:y}),Object(o.createElement)("polyline",{fill:"none",stroke:s,strokeWidth:i,strokeLinejoin:"round",strokeLinecap:"round",points:h})),l&&Object(o.createElement)(K,{data:t,mapChartDataToTableData:l,dataTableCaption:u,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};U.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},U.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var H=U,Y=n(54);var V=Object(d.makeOutboundLink)(),z=function(e){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 T()(this,e)});function a(e){var t;return g()(this,a),(t=r.call(this,e)).transformTrendDataToChartPoints=t.transformTrendDataToChartPoints.bind(w()(t)),t.getAreaChartDataTableHeaderLabels=t.getAreaChartDataTableHeaderLabels.bind(w()(t)),t.mapAreaChartDataToTableData=t.mapAreaChartDataToTableData.bind(w()(t)),t}return O()(a,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map((function(e,t){return{x:t,y:parseFloat(e)}}))}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[Object(s.__)("Twelve months ago","wordpress-seo"),Object(s.__)("Eleven months ago","wordpress-seo"),Object(s.__)("Ten months ago","wordpress-seo"),Object(s.__)("Nine months ago","wordpress-seo"),Object(s.__)("Eight months ago","wordpress-seo"),Object(s.__)("Seven months ago","wordpress-seo"),Object(s.__)("Six months ago","wordpress-seo"),Object(s.__)("Five months ago","wordpress-seo"),Object(s.__)("Four months ago","wordpress-seo"),Object(s.__)("Three months ago","wordpress-seo"),Object(s.__)("Two months ago","wordpress-seo"),Object(s.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,i=t.data,c=t.renderAction,u="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return i&&!Object(l.isEmpty)(i.results)&&Object(o.createElement)(o.Fragment,null,Object(o.createElement)("table",{className:"yoast yoast-table"},Object(o.createElement)("thead",null,Object(o.createElement)("tr",null,Object(o.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(s.__)("Related keyphrase","wordpress-seo")),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Volume","wordpress-seo")},Object(s.__)("Volume","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(o.createElement)("th",{scope:"col",abbr:Object(s.__)("Trend","wordpress-seo")},Object(s.__)("Trend","wordpress-seo"),Object(o.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(o.createElement)("span",{className:"screen-reader-text"},Object(s.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"}))),Object(o.createElement)("tbody",null,i.results.rows.map((function(t,n){var a=t[0],i=e.transformTrendDataToChartPoints(t[2]),l=e.getAreaChartDataTableHeaderLabels();return Object(o.createElement)("tr",{key:n},Object(o.createElement)("td",null,a),Object(o.createElement)("td",null,t[1]),Object(o.createElement)("td",{className:"yoast-table--nopadding"},Object(o.createElement)(H,{width:66,height:24,data:i,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:Object(s.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:l})),c&&Object(o.createElement)("td",{className:"yoast-table--nobreak"},c(a,r)))})))),Object(o.createElement)("p",{style:{marginBottom:0}},Object(o.createElement)(V,{href:u},Object(s.sprintf)(
20
  /* translators: %s expands to Semrush */
21
  Object(s.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),a}(o.Component);z.propTypes={data:c.a.object,keyphrase:c.a.string,relatedKeyphrases:c.a.array,countryCode:c.a.string,renderAction:c.a.func},z.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null};var W=z,G=Object(d.makeOutboundLink)(),$=function(){return Object(o.createElement)(u.Alert,{type:"info"},Object(s.sprintf)(
22
  /* translators: %s: Expands to "Yoast SEO". */
24
  /* translators: %s: Expands to "Yoast SEO Premium". */
25
  Object(s.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Z=function(){return Object(o.createElement)(u.Alert,{type:"error"},Object(s.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},J=function(){return Object(o.createElement)(u.Alert,{type:"warning"},Object(s.sprintf)(
26
  /* translators: %s: Expands to "Yoast SEO". */
27
+ Object(s.__)("You've reached the maximum amount of 4 related keyphrases. You can change or remove related keyphrases in the %s metabox or sidebar.","wordpress-seo"),"Yoast SEO"))},X=n(20);function Q(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,a=e.newRequest,i=e.setCountry,c=e.renderAction,u=e.countryCode,d=e.requestLimitReached,m=e.setRequestFailed,b=e.setNoResultsFound,h=e.relatedKeyphrases,y=e.setRequestSucceeded,g=e.setRequestLimitReached,v=Object(X.a)().isPremium;return Object(o.createElement)(o.Fragment,null,!d&&Object(o.createElement)(o.Fragment,null,!v&&Object(o.createElement)($,null),v&&function(e){return e&&e.length>=4}(h)&&Object(o.createElement)(J,null),Object(o.createElement)(D,{countryCode:u,setCountry:i,newRequest:a,keyphrase:r,setRequestFailed:m,setNoResultsFound:b,setRequestSucceeded:y,setRequestLimitReached:g,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?Object(o.createElement)(p,null):n?Object(o.createElement)(f,null):!r&&function(e){return!Object(l.isEmpty)(e)&&"error"in e}(a)?Object(o.createElement)(Z,null):i?void 0:Object(o.createElement)("p",null,Object(s.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(o.createElement)(W,{keyphrase:r,relatedKeyphrases:h,countryCode:u,renderAction:c,data:t}))}Q.propTypes={keyphrase:c.a.string,relatedKeyphrases:c.a.array,renderAction:c.a.func,requestLimitReached:c.a.bool,countryCode:c.a.string.isRequired,setCountry:c.a.func.isRequired,newRequest:c.a.func.isRequired,setRequestSucceeded:c.a.func.isRequired,setRequestLimitReached:c.a.func.isRequired,setRequestFailed:c.a.func.isRequired,setNoResultsFound:c.a.func.isRequired,response:c.a.object,lastRequestKeyphrase:c.a.string},Q.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(a.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,s=t.getSEMrushRequestIsSuccess,i=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,l=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:s(),isPending:i(),requestHasData:c(),lastRequestKeyphrase:l()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,s=t.setSEMrushSetRequestLimitReached,i=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){s()},setNoResultsFound:function(){i()}}}))])(Q)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2);function a(e){return void 0===e.length?e:Object(r.flatten)(e).sort((function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority}))}},,function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(3),k=n(6),E=n(24),_=n(1),T=n.n(_),R=n(12),S=n.n(R),x=n(42),C=n(81),P=n(9),I=S.a.p(r||(r=v()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),E.colors.$color_upsell_text),A=S.a.div(a||(a=v()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(P.getDirectionalStyle)("border-left","border-right"),E.colors.$color_pink_dark,I,(function(e){return"vertical"===e.alignment&&"16px"})),L=S()(k.SvgIcon)(o||(o=v()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(P.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(P.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),N=Object(P.makeOutboundLink)(k.UpsellLinkButton),q=function(e){var t=e.alignment,n=e.url;return Object(O.createElement)(A,{alignment:t},Object(O.createElement)(I,null,Object(w.sprintf)(
28
  /* translators: %s expands to Yoast SEO Premium */
29
+ Object(w.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(O.createElement)("div",null,Object(O.createElement)(N,{href:n,className:"UpsellLinkButton"},Object(w.sprintf)(
30
  /* translators: %s expands to Premium */
31
+ Object(w.__)("Go %s!","wordpress-seo"),"Premium"),Object(O.createElement)(L,{icon:"arrow-right",size:"8px",color:E.colors.$color_black}))))};q.propTypes={alignment:T.a.oneOf(["horizontal","vertical"]),url:T.a.string.isRequired},q.defaultProps={alignment:"vertical"};var D,M,F=q,B=n(28),K=n(51),U=n(68),H=n(37),Y=n.n(H);var V=S.a.ul(D||(D=v()(['\n\tlist-style: none;\n\tmargin: 0 0 16px;\n\tpadding: 0;\n\n\tli {\n\t\tmargin: 5px 0 0 0;\n\t\tpadding-left: 16px;\n\t}\n\n\tspan[aria-hidden="true"]:before {\n\t\tmargin: 0 8px 0 -16px;\n\t\tfont-weight: bold;\n\t\tcontent: "+";\n\t}\n']))),z=S.a.small(M||(M=v()(["\n\tdisplay: block;\n"]))),W=Object(P.makeOutboundLink)(),G=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(e){return l()(this,a),r.call(this,e)}return p()(a,[{key:"createBenefitsList",value:function(e){return e.length>0&&Object(O.createElement)(V,{role:"list"},e.map((function(e,t){return Object(O.createElement)("li",{key:t},Object(O.createElement)("span",{"aria-hidden":"true"}),Y()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(O.createElement)("strong",null)}}))})))}},{key:"createInfoParagraphs",value:function(e){return e.map((function(e,t){return Object(O.createElement)("p",{key:t},e)}))}},{key:"render",value:function(){return Object(O.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(O.createElement)(W,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(O.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(O.createElement)(z,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),a}(O.Component);G.propTypes={benefits:T.a.array,infoParagraphs:T.a.array,upsellButton:T.a.object,upsellButtonText:T.a.string.isRequired,upsellButtonLabel:T.a.string,upsellButtonHasCaret:T.a.bool},G.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};var $=G,Z=Object(P.makeOutboundLink)(),J=function(e){var t=Object(w.sprintf)(
32
  /* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
33
  Object(w.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(O.createElement)(Z,{href:e.link})}}),r=["<strong>".concat(Object(w.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(w.sprintf)(
34
  /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
48
  /* translators: %s expands to 'Yoast SEO Premium'. */
49
  Object(w.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(O.createElement)($,{infoParagraphs:[r,a],benefits:n,upsellButtonText:Object(w.sprintf)(
50
  /* translators: %s expands to 'Yoast SEO Premium'. */
51
+ Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(w.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:T.a.string.isRequired,buyLink:T.a.string.isRequired};var te,ne=ee,re=n(39),ae=n.n(re),oe=n(53),se=S.a.button(te||(te=v()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),ie={open:Object(w.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(w.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(O.useState)(!1),n=ae()(t,2),r=n[0],a=n[1],o=Object.assign({},ie,e.labels),s=Object(O.useCallback)((function(){return a(!1)}),[]),i=Object(O.useCallback)((function(){return a(!0)}),[]);return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(se,{type:"button",onClick:i,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(O.createElement)(k.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),o.open),r&&Object(O.createElement)(oe.a,{onRequestClose:s,className:e.className,title:o.heading},e.children))};ce.propTypes={openButtonIcon:T.a.string,labels:T.a.shape({open:T.a.string,modalAriaLabel:T.a.string.isRequired,heading:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}).isRequired,classes:T.a.shape({openButton:T.a.string,closeIconButton:T.a.string,closeButton:T.a.string}),className:T.a.string,children:T.a.any.isRequired},ce.defaultProps={className:oe.b,openButtonIcon:"",classes:{}};var le=ce,ue=n(96),pe=n(50),de=n(18);function me(e){var t=e.location;return Object(O.createElement)(de.Slot,{name:"yoast-synonyms-".concat(t)})}me.propTypes={location:T.a.string.isRequired};var fe,be=n(35);function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=S.a.span(fe||(fe=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),ve=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(w.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
52
  /* translators: %s expands to 'Yoast SEO Premium'. */
53
  Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
54
  /* translators: %s expands to 'Yoast SEO Premium'. */
55
+ Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_synonyms_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_synonyms_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:k.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),Object(O.createElement)(X,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+Object(w.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:Object(w.sprintf)(
56
  /* translators: %s expands to 'Yoast SEO Premium'. */
57
  Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(w.sprintf)(
58
  /* translators: %s expands to 'Yoast SEO Premium'. */
59
+ Object(w.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(O.createElement)(le,t,Object(O.createElement)(U.a,null,Object(O.createElement)(U.b,{icon:k.YoastSeoIcon}),Object(O.createElement)("h2",null,Object(w.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(O.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=K.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(O.createElement)(r,{prefixIcon:{icon:"plus",color:E.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:E.colors.$color_grey_medium_dark},title:Object(w.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(O.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(O.createElement)(F,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(O.createElement)(ue.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(w.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(O.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?K.a:pe.a;return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(r,{title:Object(w.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(be.getIconForScore)(t.className),prefixIconCollapsed:Object(be.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(O.createElement)(me,{location:n}),e.props.shouldUpsell&&Object(O.createElement)(O.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(O.createElement)(ge,null,Object(w.__)("Analysis results","wordpress-seo")),Object(O.createElement)(C.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),a}(O.Component);ve.propTypes={results:T.a.array,marksButtonStatus:T.a.string,keyword:T.a.string,shouldUpsell:T.a.bool,shouldUpsellWordFormRecognition:T.a.bool,overallScore:T.a.number},ve.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(j.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,a=n.getMarksButtonStatus,o=n.getResultsForKeyword,s=r();return ye(ye({},o(s)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":a(),keyword:s})}))(ve)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(2),c=function(){function e(){a()(this,e)}return s()(e,[{key:"listen",value:function(e){this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer&&new MutationObserver((function(t){Object(i.forEach)(t,(function(t){"attributes"===t.type&&"class"===t.attributeName&&(t.target.classList.contains("et_pb_hidden")?e.classicEditorHidden():e.classicEditorShown())}))})).observe(this.classicEditorContainer,{attributes:!0})}}],[{key:"isActive",value:function(){return!!document.getElementById("et_pb_main_editor_wrap")}},{key:"isTinyMCEHidden",value:function(){var e=document.getElementById("et_pb_main_editor_wrap");return!!e&&e.classList.contains("et_pb_hidden")}}]),e}(),l=function(){function e(){a()(this,e)}return s()(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}(),u={classicEditorHidden:i.noop,classicEditorShown:i.noop,pageBuilderLoaded:i.noop},p=function(){function e(){a()(this,e),this.determineActivePageBuilders()}return s()(e,[{key:"determineActivePageBuilders",value:function(){c.isActive()&&(this.diviActive=!0),l.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){this.callbacks=Object(i.defaults)(e,u),this.diviActive&&(new c).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!c.isTinyMCEHidden())}}]),e}();t.a=p},function(e,t,n){"use strict";var r,a=n(19),o=n(4),s=n(0),i=n(3),c=n(18),l=n(6),u=n(9),p=n(1),d=n.n(p),m=n(5),f=n.n(m),b=n(7),h=n.n(b),y=n(13),g=n.n(y),v=n(14),O=n.n(v),j=n(8),w=n.n(j),k=n(15),E=n.n(k),_=n(12);var T=n.n(_).a.div(r||(r=E()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){g()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=w()(t);if(n){var a=w()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return O()(this,e)});function a(){return f()(this,a),r.apply(this,arguments)}return h()(a,[{key:"render",value:function(){return Object(s.createElement)(T,null,Object(s.createElement)(l.Toggle,{id:this.props.id,labelText:Object(i.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),a}(s.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var S=R,x=n(51),C=n(50),P=Object(u.makeOutboundLink)();function I(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,a=e.location,o="metabox"===a?x.a:C.a;return Object(s.createElement)(o,{id:Object(u.join)(["yoast-cornerstone-collapsible",a]),title:Object(i.__)("Cornerstone content","wordpress-seo")},Object(s.createElement)(l.HelpText,null,Object(i.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(s.createElement)(P,{href:r},Object(i.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(s.createElement)(S,{id:Object(u.join)(["yoast-cornerstone",a]),isEnabled:t,onToggle:n}),Object(s.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}I.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},I.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var A=n(57);t.a=Object(a.compose)([Object(o.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(o.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(A.a)()])(I)},function(e,t,n){"use strict";var r=n(5),a=n.n(r),o=n(7),s=n.n(o),i=n(11),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(15),h=n.n(b),y=n(0),g=n(18),v=n(19),O=n(4),j=n(3),w=n(1),k=n.n(w),E=n(12),_=n.n(E),T=n(22),R=n(47),S=n.n(R),x=n(26),C=n.n(x),P=n(64),I=n.n(P),A=n(6),L=n(68),N=n(53),q=n(111),D=n(92);var M=function(e){u()(l,e);var t,n,r,o,i=(r=l,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=f()(r);if(o){var n=f()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function l(e){var t;return a()(this,l),(t=i.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return s()(l,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(D.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=S()(C.a.mark((function e(t){var n,r;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=S()(C.a.mark((function e(t){var n,r,a;return C.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,I()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(a=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(a.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,a=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(j.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(N.a,{title:Object(j.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(q.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(L.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(g.Slot,{name:"YoastRelatedKeyphrases"}))),!a&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(A.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(j.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),l}(y.Component);M.propTypes={keyphrase:k.a.string,location:k.a.string,whichModalOpen:k.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:k.a.bool,onOpen:k.a.func.isRequired,onOpenWithNoKeyphrase:k.a.func.isRequired,onClose:k.a.func.isRequired,onAuthentication:k.a.func.isRequired},M.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var F,B=M,K=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,a=t.setSEMrushDismissModal,o=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){a()},onAuthentication:function(e){o(e)}}}))])(B),U=n(28),H=n(54);var Y=_.a.div(F||(F=h()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),V=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return s()(o,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(j.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(j.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(j.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(U.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(T.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(j.__)("Focus keyphrase","wordpress-seo"),helpLink:o.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(K,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(g.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(H.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(j.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),o}(y.Component);V.propTypes={keyword:k.a.string,onFocusKeywordChange:k.a.func.isRequired,onFocusKeyword:k.a.func.isRequired,onBlurKeyword:k.a.func.isRequired,isSEMrushIntegrationActive:k.a.bool,displayNoKeyphraseMessage:k.a.bool},V.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(v.compose)([Object(O.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(O.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(V)},function(e,t,n){"use strict";var r,a,o,s=n(10),i=n.n(s),c=n(5),l=n.n(c),u=n(7),p=n.n(u),d=n(13),m=n.n(d),f=n(14),b=n.n(f),h=n(8),y=n.n(h),g=n(15),v=n.n(g),O=n(0),j=n(4),w=n(1),k=n.n(w),E=n(12),_=n.n(E),T=n(3),R=n(2),S=n(96),x=n(81),C=n(50),P=n(42),I=n(35),A=n(28),L=n(54),N=n(36);function q(e){var t=e.target,n=e.children;return Object(O.createElement)(N.a,{target:t},n)}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function M(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}q.propTypes={target:k.a.string.isRequired,children:k.a.node.isRequired};var F=_.a.span(r||(r=v()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=_.a.div(a||(a=v()(["\n\tpadding: 16px;\n"]))),K=_()(L.a)(o||(o=v()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),U=function(e){m()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var a=y()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return b()(this,e)});function a(){return l()(this,a),r.apply(this,arguments)}return p()(a,[{key:"renderResults",value:function(){return Object(O.createElement)(O.Fragment,null,Object(O.createElement)(F,null,Object(T.__)("Analysis results","wordpress-seo"),Object(O.createElement)(K,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(O.createElement)("span",{className:"screen-reader-text"},Object(T.__)("Learn more about the readability analysis","wordpress-seo")))),Object(O.createElement)(x.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(O.createElement)(A.LocationConsumer,null,(function(n){return"sidebar"===n?Object(O.createElement)(C.a,{title:Object(T.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(I.getIconForScore)(t.className),prefixIconCollapsed:Object(I.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(O.createElement)(q,{target:"wpseo-metabox-readability-root"},Object(O.createElement)(B,null,Object(O.createElement)(S.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),a}(O.Component);U.propTypes={results:k.a.array.isRequired,marksButtonStatus:k.a.string.isRequired,overallScore:k.a.number},U.defaultProps={overallScore:null},t.a=Object(j.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return M(M({},n()),{},{marksButtonStatus:r()})}))(U)},function(e,t,n){"use strict";var r,a=n(10),o=n.n(a),s=n(0),i=n(19),c=n(4),l=n(3),u=n(1),p=n.n(u),d=n(30),m=n.n(d),f=n(15),b=n.n(f),h=n(6),y=n(18),g=n(9),v=n(37),O=n.n(v),j=n(12),w=n.n(j),k=n(85),E=n(83),_=w.a.div(r||(r=b()(["\n\tpadding: 16px;\n"]))),T=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(l.sprintf)(
60
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
61
  Object(l.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(m()(e))},R=function(e){return Object(l.sprintf)(
62
  /* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
63
+ Object(l.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},S=function(e){return Object(s.createElement)(h.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:Object(l.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription})};S.propTypes={helpTextTitle:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired};var x=function(e){return Object(s.createElement)("p",null,e.helpTextDescription+" ",Object(s.createElement)("a",{href:e.helpTextLink},Object(l.__)("Read more about Schema.","wordpress-seo")))};x.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var C=function(e){var t,n=T(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=T(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),a=Object(E.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(s.createElement)(s.Fragment,null,a?Object(s.createElement)(x,e):Object(s.createElement)(S,e),a&&Object(s.createElement)(y.Slot,{name:Object(g.join)(["yoast-schema-blocks-analysis",e.location])}),Object(s.createElement)(h.FieldGroup,{label:Object(l.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:Object(l.__)("Learn more about page or content types","wordpress-seo")}),Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-page-type",e.location]),options:n,label:Object(l.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&Object(s.createElement)(h.Select,{id:Object(g.join)(["yoast-schema-article-type",e.location]),options:r,label:Object(l.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&Object(s.createElement)("p",null,(t=e.postTypeName,O()({mixedString:R(t),components:{link:Object(s.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};C.propTypes={schemaPageTypeChange:p.a.func,schemaPageTypeSelected:p.a.string,pageTypeOptions: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},C.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var P=function(e){return e.isMetabox?Object(s.createPortal)(Object(s.createElement)(_,null,Object(s.createElement)(C,e)),document.getElementById("wpseo-meta-section-schema")):Object(s.createElement)(C,e)};P.propTypes={showArticleTypeInput:p.a.bool,articleTypeLabel:p.a.string,additionalHelpTextLink:p.a.string,pageTypeLabel:p.a.string.isRequired,helpTextLink:p.a.string.isRequired,helpTextTitle:p.a.string.isRequired,helpTextDescription:p.a.string.isRequired,isMetabox:p.a.bool.isRequired,postTypeName:p.a.string.isRequired,displayFooter:p.a.bool,loadSchemaArticleData:p.a.func.isRequired,loadSchemaPageData:p.a.func.isRequired,location:p.a.string.isRequired},P.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var I=P,A=n(33),L=n(57);function N(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?N(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):N(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var D=function(e){var t=null!==A.a.articleTypeInput;Object(s.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,a=n.articleTypeOptions,o={articleTypeLabel:Object(l.__)("Article type","wordpress-seo"),pageTypeLabel:Object(l.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:Object(l.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:Object(l.__)("This helps search engines understand your website and your content. You can change some of your settings for this page below.","wordpress-seo"),showArticleTypeInput:t,pageTypeOptions:r,articleTypeOptions:a},i=q(q(q({},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)(I,i)};D.propTypes={displayFooter:p.a.bool.isRequired,schemaPageTypeSelected:p.a.string.isRequired,schemaArticleTypeSelected:p.a.string.isRequired,defaultArticleType:p.a.string.isRequired,defaultPageType:p.a.string.isRequired,loadSchemaPageData:p.a.func.isRequired,loadSchemaArticleData:p.a.func.isRequired,schemaPageTypeChange:p.a.func.isRequired,schemaArticleTypeChange:p.a.func.isRequired,location:p.a.string.isRequired},t.a=Object(i.compose)([Object(c.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,s=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:s(),defaultPageType:a()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(L.a)()])(D)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(0),s=n(3),i=n(6),c=n(9),l=n(1),u=n.n(l),p=n(28),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,a=e.isPrivateBlog,l=function(e){var t=Object(s.__)("No","wordpress-seo"),n=Object(s.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:Object(s.sprintf)(
64
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
65
  Object(s.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(s.sprintf)(
66
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
67
  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)(
68
  /* Translators: %s translates to the Post Label in singular form */
69
+ Object(s.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:l,selected:t,linkTo: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 m=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var a=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(o.createElement)(i.RadioButtonGroup,{id:a,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(s.sprintf)(
70
  /* Translators: %s translates to the Post Label in singular form */
71
+ Object(s.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:a,onChange:n,selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.follow_links"],linkText:Object(s.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};m.propTypes={noFollow:u.a.string.isRequired,onNoFollowChange:u.a.func.isRequired,postTypeName:u.a.string.isRequired};var f=function(e){var t=e.advanced,n=e.onAdvancedChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),a="".concat(r,"-input");return Object(o.createElement)(i.MultiSelect,{label:Object(s.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:a,options:[{name:Object(s.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(s.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(s.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:wpseoAdminL10n["shortlinks.advanced.meta_robots"],linkText:Object(s.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};f.propTypes={advanced:u.a.array.isRequired,onAdvancedChange:u.a.func.isRequired};var b=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:wpseoAdminL10n["shortlinks.advanced.breadcrumbs_title"],linkText:Object(s.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};b.propTypes={breadcrumbsTitle:u.a.string.isRequired,onBreadcrumbsTitleChange:u.a.func.isRequired};var h=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(o.createElement)(p.LocationConsumer,null,(function(e){return Object(o.createElement)(i.TextInput,{label:Object(s.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(s.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};h.propTypes={canonical:u.a.string.isRequired,onCanonicalChange:u.a.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,r=e.advanced,a=e.breadcrumbsTitle,s=e.canonical,i=e.onNoIndexChange,c=e.onNoFollowChange,l=e.onAdvancedChange,u=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,g=e.isLoading,v=e.editorContext,O=e.isBreadcrumbsDisabled,j=e.isPrivateBlog;Object(o.useEffect)((function(){setTimeout((function(){g&&y()}))}));var w={noIndex:t,onNoIndexChange:i,editorContext:v,isPrivateBlog:j},k={noFollow:n,onNoFollowChange:c,postTypeName:v.postTypeNameSingular},E={advanced:r,onAdvancedChange:l},_={breadcrumbsTitle:a,onBreadcrumbsTitleChange:u},T={canonical:s,onCanonicalChange:p};return g?null:Object(o.createElement)(o.Fragment,null,Object(o.createElement)(d,w),v.isPost&&Object(o.createElement)(m,k),v.isPost&&Object(o.createElement)(f,E),!O&&Object(o.createElement)(b,_),Object(o.createElement)(h,T))};y.propTypes={noIndex:u.a.string.isRequired,canonical:u.a.string.isRequired,onNoIndexChange:u.a.func.isRequired,onCanonicalChange:u.a.func.isRequired,onLoad:u.a.func.isRequired,isLoading:u.a.bool.isRequired,editorContext:u.a.object.isRequired,isBreadcrumbsDisabled:u.a.bool.isRequired,isPrivateBlog:u.a.bool,advanced:u.a.array,onAdvancedChange:u.a.func,noFollow:u.a.string,onNoFollowChange:u.a.func,breadcrumbsTitle:u.a.string,onBreadcrumbsTitleChange:u.a.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1};var g=y;t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,s=t.getCanonical,i=t.getIsLoading,c=t.getEditorContext,l=(0,t.getPreferences)(),u=l.isBreadcrumbsDisabled,p=l.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:s(),isLoading:i(),editorContext:c(),isBreadcrumbsDisabled:u,isPrivateBlog:p}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(g)},,function(e,t,n){"use strict";var r=n(16),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(94),s=n(131),i=n(132),c="function"==typeof Symbol&&Symbol.iterator;function l(e,t){return e&&"object"==typeof e&&null!=e.key?(n=e.key,r={"=":"=0",":":"=2"},"$"+(""+n).replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}var u=/\/+/g;function p(e){return(""+e).replace(u,"$&/")}var d,m,f=b,b=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)};function h(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function y(e,t,n){var a,s,i=e.result,c=e.keyPrefix,l=e.func,u=e.context,d=l.call(u,t,e.count++);Array.isArray(d)?g(d,i,n,o.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(a=d,s=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(a,{key:s},void 0!==a.props?a.props.children:void 0)),i.push(d))}function g(e,t,n,r,o){var i="";null!=n&&(i=p(n)+"/");var u=h.getPooled(t,i,r,o);!function(e,t,n){null==e||function e(t,n,r,o){var i,u=typeof t;if("undefined"!==u&&"boolean"!==u||(t=null),null===t||"string"===u||"number"===u||"object"===u&&t.$$typeof===a)return r(o,t,""===n?"."+l(t,0):n),1;var p=0,d=""===n?".":n+":";if(Array.isArray(t))for(var m=0;m<t.length;m++)p+=e(i=t[m],d+l(i,m),r,o);else{var f=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(f)for(var b,h=f.call(t),y=0;!(b=h.next()).done;)p+=e(i=b.value,d+l(i,y++),r,o);else if("object"===u){var g=""+t;s(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===g?"object with keys {"+Object.keys(t).join(", ")+"}":g,"")}}return p}(e,"",t,n)}(e,y,u),h.release(u)}h.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},d=function(e,t,n,r){if(this.instancePool.length){var a=this.instancePool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)},(m=h).instancePool=[],m.getPooled=d||f,m.poolSize||(m.poolSize=10),m.release=function(e){s(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return i(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return i(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;s(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)g(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,a,o,s,i){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,a,o,s,i],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t,n){"use strict";var r=n(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),a=n(18),o=n(1),s=n.n(o),i=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(a.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(i.a,e)};c.propTypes={isPremium:s.a.bool.isRequired,onLoad:s.a.func.isRequired,location:s.a.string.isRequired},t.a=c},,,,,,,,,,function(e,t,n){"use strict";var r=n(4),a=n(6);t.a=Object(r.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)()}}))(a.Warning)},function(e,t,n){"use strict";var r=n(10),a=n.n(r),o=n(27),s=n.n(o),i=n(0),c=n(19),l=n(4),u=n(3),p=n(147),d=n(28),m=n(112),f=n(40),b=function(e,t){var n=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(n=t.shortenedBaseUrl.length),e.url=e.url.replace(/\s+/g,"-"),"-"===e.url[e.url.length-1]&&(e.url=e.url.slice(0,-1)),"-"===e.url[n]&&(e.url=e.url.slice(0,n)+e.url.slice(n+1)),Object(f.applyReplaceUsingPlugin)(e)};t.a=Object(c.compose)([Object(l.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,a=t.getFocusKeyphrase,o=t.getRecommendedReplaceVars,s=t.getReplaceVars,i=t.getShoppingData,c=t.getSiteIconUrlFromSettings,l=t.getSnippetEditorData,u=t.getSnippetEditorMode,p=t.getSnippetEditorPreviewImageUrl,d=t.getSnippetEditorWordsToHighlight,m=s();return m.forEach((function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")})),{baseUrl:n(),data:l(),date:r(),faviconSrc:c(),keyword:a(),mobileImageSrc:p(),mode:u(),recommendedReplacementVariables:o(),replacementVariables:m,shoppingData:i(),wordsToHighlight:d()}})),Object(l.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData,s=e("core/editor");return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t}),s&&s.editPost({slug:t});break;default:n(a()({},e,t))}},onChangeAnalysisData:o}}))])((function(e){return Object(i.createElement)(d.LocationConsumer,null,(function(t){return Object(i.createElement)(m.a,{icon:"eye",hasPaperStyle:e.hasPaperStyle},Object(i.createElement)(p.SnippetEditor,s()({},e,{descriptionPlaceholder:Object(u.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:b,showCloseButton:!1,idSuffix:t})))}))}))},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(148),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateTwitterImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,s=t.getFacebookImageUrl,i=t.getFacebookTitle,l=t.getFacebookDescription,u=t.getDescription,p=t.getSeoTitle,d=t.getTwitterWarnings,m=t.getTwitterImageType,f=t.getImageFallback,b=t.getRecommendedReplaceVars,h=t.getReplaceVars,y=t.getSiteUrl,g=t.getAuthorName,v=t.getSeoTitleTemplate,O=t.getSeoTitleTemplateNoFallback,j=t.getSocialTitleTemplate,w=t.getSeoDescriptionTemplate,k=t.getSocialDescriptionTemplate,E=t.getReplacedExcerpt,_=Object(o.sprintf)(
72
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
73
  Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),T=Object(o.sprintf)(
74
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
75
  Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
76
+ /* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:a(),imageFallbackUrl:s()||f(),recommendedReplacementVariables:b(),replacementVariables:h(),description:n(),descriptionPreviewFallback:k()||l()||u()||w()||E()||T,title:r(),titlePreviewFallback:j()||i()||p()||O()||v()||_,imageWarnings:d(),authorName:g(),siteUrl:y(),isPremium:!!Object(c.a)().isPremium,isLarge:"summary"!==m(),titleInputPlaceholder:_,descriptionInputPlaceholder:T,socialMediumName:"Twitter"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},function(e,t,n){"use strict";var r=n(19),a=n(4),o=n(3),s=n(9),i=n(150),c=n(20),l=n(57),u=n(90),p=function(e){Object(a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:Object(s.validateFacebookImage)(e)})},d=function(){Object(u.a)(p)};t.a=Object(r.compose)([Object(a.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,a=t.getFacebookTitle,s=t.getSeoTitle,i=t.getFacebookImageUrl,l=t.getImageFallback,u=t.getFacebookWarnings,p=t.getRecommendedReplaceVars,d=t.getReplaceVars,m=t.getSiteUrl,f=t.getAuthorName,b=t.getSeoTitleTemplate,h=t.getSeoTitleTemplateNoFallback,y=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,v=t.getSocialDescriptionTemplate,O=t.getReplacedExcerpt,j=Object(o.sprintf)(
77
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
78
  Object(o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),w=Object(o.sprintf)(
79
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
80
  Object(o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
81
+ /* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:l(),recommendedReplacementVariables:p(),replacementVariables:d(),description:n(),descriptionPreviewFallback:v()||r()||g()||O()||w,title:a(),titlePreviewFallback:y()||s()||h()||b()||j,imageWarnings:u(),authorName:f(),siteUrl:m(),isPremium:!!Object(c.a)().isPremium,titleInputPlaceholder:j,descriptionInputPlaceholder:w,socialMediumName:"Facebook"}})),Object(a.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:d,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}})),Object(l.a)()])(i.a)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return I}));var r=n(0),a=n(1),o=n.n(a),s=n(18),i=n(120),c=n(103);function l(e){var t=e.theme;return Object(r.createElement)(c.a,{theme:t,location:"metabox"},Object(r.createElement)(s.Slot,{name:"YoastMetabox"},(function(e){return Object(i.a)(e)})))}var u=n(4),p=n(3),d=n(124),m=n(161),f=n(160),b=n(125),h=n(126),y=n(122),g=n(51),v=n(32),O=n(128),j=n(163),w=n(162),k=function(e){var t=e.displayFacebook,n=e.displayTwitter;return Object(r.createElement)(r.Fragment,null,t&&Object(r.createElement)(g.a,{hasSeparator:!1
82
  /* Translators: %s expands to Facebook. */,title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},Object(r.createElement)(j.a,null)),n&&Object(r.createElement)(g.a
83
+ /* Translators: %s expands to Twitter. */,{title:Object(p.sprintf)(Object(p.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},Object(r.createElement)(w.a,null)))};k.propTypes={displayFacebook:o.a.bool.isRequired,displayTwitter:o.a.bool.isRequired};var E=k,_=Object(u.withSelect)((function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}}))(E),T=n(36);function R(e){var t=e.target;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(_,null))}R.propTypes={target:o.a.string.isRequired};var S=n(127),x=n(115);function C(e){var t=e.settings;return Object(r.createElement)(s.Fill,{name:"YoastMetabox"},Object(r.createElement)(v.a,{key:"warning",renderPriority:1},Object(r.createElement)(f.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{key:"keyword-input",renderPriority:8},Object(r.createElement)(b.a,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(r.createElement)(s.Fill,{name:"YoastRelatedKeyphrases"},Object(r.createElement)(x.a,null))),Object(r.createElement)(v.a,{key:"google-preview",renderPriority:9},Object(r.createElement)(g.a,{id:"yoast-snippet-editor-metabox",title:Object(p.__)("Google preview","wordpress-seo"),initialIsOpen:!0},Object(r.createElement)(m.a,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&Object(r.createElement)(v.a,{key:"readability-analysis",renderPriority:10},Object(r.createElement)(h.a,null)),t.isKeywordAnalysisActive&&Object(r.createElement)(v.a,{key:"seo-analysis",renderPriority:20},Object(r.createElement)(y.a,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&Object(r.createElement)(v.a,{key:"cornerstone",renderPriority:30},Object(r.createElement)(d.a,null)),t.displayAdvancedTab&&Object(r.createElement)(v.a,{key:"advanced",renderPriority:40},Object(r.createElement)(g.a,{id:"collapsible-advanced-settings",title:Object(p.__)("Advanced","wordpress-seo")},Object(r.createElement)(O.a,null))),t.displaySchemaSettings&&Object(r.createElement)(v.a,{key:"schema",renderPriority:50},Object(r.createElement)(S.a,null)),Object(r.createElement)(v.a,{key:"social",renderPriority:-1},Object(r.createElement)(R,{target:"wpseo-section-social"})))}C.propTypes={settings:o.a.object.isRequired};var P=Object(u.withSelect)((function(e,t){return{settings:(0,e("yoast-seo/editor").getPreferences)(),store:t.store}}))(C);function I(e){var t=e.target,n=e.store,a=e.theme;return Object(r.createElement)(T.a,{target:t},Object(r.createElement)(l,{store:n,theme:a}),Object(r.createElement)(P,{store:n,theme:a}))}I.propTypes={target:o.a.string.isRequired,store:o.a.object,theme:o.a.object}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(30),a=n.n(r),o=n(5),s=n.n(o),i=n(7),c=n.n(i),l=n(13),u=n.n(l),p=n(14),d=n.n(p),m=n(8),f=n.n(m),b=n(0),h=n(18),y=n(192),g=n(20);var v=[],O=null,j=function(e){u()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=f()(t);if(n){var a=f()(this).constructor;e=Reflect.construct(r,arguments,a)}else e=r.apply(this,arguments);return d()(this,e)});function o(e){var t;return s()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return c()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(a()(this.state.registeredComponents),[{key:e,Component:t}])})}},{key:"render",value:function(){return this.state.registeredComponents.map((function(e){var t=e.Component,n=e.key;return Object(b.createElement)(t,{key:n})}))}}]),o}(b.Component);function w(e,t){null===O||null===O.current?v.push({key:e,Component:t}):O.current.registerComponent(e,t)}var k=n(10),E=n.n(k),_=n(23),T=n.n(_),R=n(2),S=n(17),x=n(43),C=n(40),P=n(38);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function A(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?I(Object(n),!0).forEach((function(t){E()(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 L=T.a.markers.removeMarks,N=jQuery,q=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";s()(this,e),this._refresh=t,this._store=n,this._initialData={},this._previousData={},this._tinyMceId=r,this.updateReplacementData=this.updateReplacementData.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return c()(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),Object(C.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!Object(R.isUndefined)(wp.media)&&!Object(R.isUndefined)(wp.media.featuredImage)){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(Object(x.c)(t)),e.setImageInSnippetPreview(n)})),P.addEventHandler(this._tinyMceId,["change"],Object(R.debounce)((function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch(Object(x.c)(t)),e.setImageInSnippetPreview(t)}}),1e3))}}},{key:"getFeaturedImage",value:function(){var e=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(Object(S.k)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=T.a.languageProcessing.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=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(C.excerptFromContent)(this.getContent())}},{key:"getSlug",value:function(){var e="",t=document.getElementById("new-post-slug");return t?e=t.value:null!==document.getElementById("editable-post-name-full")&&(e=document.getElementById("editable-post-name-full").textContent),e}},{key:"getContent",value:function(){var e=this._tinyMceId;return L(P.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",(function(e){n.updateReplacementData(e,t)}))}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch(Object(S.l)(t,n))}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"refreshYoastSEO",value:function(){var e=this.getData();!this.isShallowEqual(this._previousData,e)&&(this.handleEditorChange(e),this._previousData=e,window.YoastSEO&&window.YoastSEO.app&&window.YoastSEO.app.refresh())}},{key:"handleEditorChange",value:function(e){this._previousData.excerpt!==e.excerpt&&(this._store.dispatch(Object(S.l)("excerpt",e.excerpt)),this._store.dispatch(Object(S.l)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=Object(R.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=Object(C.mapCustomFields)(e,this._store),A(A({},e=Object(C.mapCustomTaxonomies)(e,this._store)),{},{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return A(A({},this._store.getState().snippetEditor.data),{},{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();window.yoast=window.yoast||{},window.yoast.initEditorIntegration=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=w,function(e){var t=Object(g.a)();O=Object(b.createRef)();var n={isRtl:t.isRtl};Object(b.render)(Object(b.createElement)(h.SlotFillProvider,null,Object(b.createElement)(y.a,{target:"wpseo-metabox-root",store:e,theme:n}),Object(b.createElement)(j,{ref:O})),document.getElementById("wpseo-metabox-root")),v.forEach((function(e){O.current.registerComponent(e.key,e.Component)}))}(e)},window.yoast.EditorData=q}]);
js/dist/{configuration-wizard-1710.js → configuration-wizard-1720.js} RENAMED
File without changes
js/dist/{dashboard-widget-1710.js → dashboard-widget-1720.js} RENAMED
File without changes
js/dist/{dynamic-blocks-1710.js → dynamic-blocks-1720.js} RENAMED
File without changes
js/dist/{edit-page-1710.js → edit-page-1720.js} RENAMED
File without changes
js/dist/{editor-modules-1710.js → editor-modules-1720.js} RENAMED
File without changes
js/dist/{elementor-1710.js → elementor-1720.js} RENAMED
@@ -1,36 +1,36 @@
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=347)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},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=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return p})),n.d(t,"k",(function(){return d})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return b}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function p(e){return{type:o,mode:e}}function d(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:u,wordsToHighlight:e}}function g(e){return{type:s,name:e}}function b(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return p.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return p.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return p.b})),n.d(t,"loadCornerstoneContent",(function(){return p.d})),n.d(t,"setCornerstoneContent",(function(){return p.e})),n.d(t,"toggleCornerstoneContent",(function(){return p.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return d})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return g})),n.d(t,"setEditorDataContent",(function(){return b})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return h})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return w})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return S.a})),n.d(t,"setMarkerStatus",(function(){return S.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return R.a})),n.d(t,"setMarkerPauseStatus",(function(){return R.b})),n.d(t,"DISMISS_ALERT",(function(){return k.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return k.b})),n.d(t,"dismissAlert",(function(){return k.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return x})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return C})),n.d(t,"setSEMrushDismissModal",(function(){return I})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return Y})),n.d(t,"setOverallSeoScore",(function(){return H})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(74),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var p=n(59),d="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",g="SET_EDITOR_DATA_IMAGE_URL";function b(e){return{type:d,content:e}}function y(e){return{type:f,title:e}}function h(e){return{type:m,excerpt:e}}function O(e){return{type:g,imageUrl:e}}var w="OPEN_MODAL",v="CLOSE_MODAL";function j(e){return{type:w,modalKey:e}}function E(){return{type:v}}var _=n(67),T=n(60),S=n(45),R=n(75),k=n(69),P=n(76),D=n(56),x="MODAL_DISMISS",A="MODAL_OPEN",C="MODAL_OPEN_NO_KEYPHRASE";function I(){return{type:x}}function M(e){return{type:A,location:e}}function N(){return{type:C}}var L=n(41),F=n(43),q=n(77),B=n(17),U=n(48),K=n(49),V=n(78),Y=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},H=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(2),o={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,o)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,p,d,f,m,g=[],b={};for(d=0;d<t.length;d++)if("string"!==(p=t[d]).type){if(!n.hasOwnProperty(p.value)||void 0===n[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(n[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+c);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){i=n[p.value],u=d;break}g.push(n[p.value])}else g.push(p.value);return i&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),s=o.default.cloneElement(i,{},f),g.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),g=g.concat(m))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return d})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return g})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return h})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return v})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=n(79),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var p=n(9).strings.stripHTMLTags,d=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){d.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function g(e){return c(e=m(e))}function b(e,t){return e.push({name:t.name,label:t.label||g(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(l({},e),"custom_taxonomies")):e}function v(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=h(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:p(t(e.title)),description:p(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:p(n("data_page_title",e.title)),description:p(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return p})),n.d(t,"l",(function(){return d})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return b}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function p(e){return{type:o,response:e}}function d(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function g(){return{type:c}}function b(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",p="SET_BREADCRUMBS_TITLE",d="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},g=function(e){return s.noFollow=e,{type:u,value:e}},b=function(e){return s.advanced=e.join(","),{type:l,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:p,value:e}},h=function(e){return s.canonical=e,{type:d,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",p="SET_TWITTER_IMAGE",d="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:p,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:d}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",p="SET_FACEBOOK_IMAGE",d="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:p,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:d}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(6),s=n(1),c=n.n(s),u=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),u=n(6),l=n(12),p=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(p,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return p}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),u=n.n(c),l=n(18),p="yoast yoast-gutenberg-modal",d=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(l.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:u},c),e.children)};d.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},d.defaultProps={title:"Yoast SEO",className:p,showYoastIcon:!0,children:null,additionalClassName:""},t.a=d},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return p}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},u=function(e){return r.a.articleType=e,{type:a,articleType:e}},l=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},p=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return i})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),o=n(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function i(){a("yoast-components")}function s(){a("wordpress-seo")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return S}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),u=n(5),l=n.n(u),p=n(7),d=n.n(p),f=n(11),m=n.n(f),g=n(13),b=n.n(g),y=n(14),h=n.n(y),O=n(8),w=n.n(O),v=n(0),j=n(1),E=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(r);if(a){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return d()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(v.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(v.Component)}}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"contentAnalysisActive",0)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return p}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function p(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),u=n(6),l=n(9),p=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),d=c()(u.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(l.getDirectionalStyle)("right","left"),Object(l.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return o})),n.d(t,"getNoFollow",(function(){return a})),n.d(t,"getAdvanced",(function(){return i})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return Y})),n.d(t,"getDescription",(function(){return H})),n.d(t,"getPermalink",(function(){return W})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return z})),n.d(t,"isCornerstoneContent",(function(){return $})),n.d(t,"getEditorContext",(function(){return p})),n.d(t,"getPostOrPageString",(function(){return d})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return m})),n.d(t,"getEditorType",(function(){return g})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return w})),n.d(t,"getEditorDataExcerpt",(function(){return v})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return j})),n.d(t,"getEditorDataImageUrl",(function(){return E})),n.d(t,"getEditorDataImageFallback",(function(){return _})),n.d(t,"getIsModalOpen",(function(){return Q})),n.d(t,"getEstimatedReadingTime",(function(){return Z})),n.d(t,"getFacebookTitle",(function(){return X})),n.d(t,"getFacebookDescription",(function(){return J})),n.d(t,"getFacebookImageUrl",(function(){return ee})),n.d(t,"getFacebookImageSrc",(function(){return te})),n.d(t,"getFacebookWarnings",(function(){return ne})),n.d(t,"getContentImage",(function(){return re})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return ie})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return se})),n.d(t,"getSocialTitleTemplate",(function(){return ce})),n.d(t,"getSeoDescriptionTemplate",(function(){return ue})),n.d(t,"getSocialDescriptionTemplate",(function(){return le})),n.d(t,"getReplacedExcerpt",(function(){return pe})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return de})),n.d(t,"getMarkerPauseStatus",(function(){return fe})),n.d(t,"isMarkingAvailable",(function(){return me})),n.d(t,"getMarksButtonStatus",(function(){return ge})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return he})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return _e})),n.d(t,"getResultsForKeyword",(function(){return Te})),n.d(t,"getReadabilityResults",(function(){return Se})),n.d(t,"getResultsForFocusKeyword",(function(){return Re})),n.d(t,"getResultById",(function(){return ke})),n.d(t,"getMarkButtonStatus",(function(){return Pe})),n.d(t,"getDefaultPageType",(function(){return De})),n.d(t,"getPageType",(function(){return xe})),n.d(t,"getDefaultArticleType",(function(){return Ae})),n.d(t,"getArticleType",(function(){return Ce})),n.d(t,"getSEMrushModalOpen",(function(){return Ie})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Me})),n.d(t,"getSEMrushIsRequestPending",(function(){return Ne})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Le})),n.d(t,"getSEMrushRequestResponse",(function(){return Fe})),n.d(t,"getSEMrushRequestLimitReached",(function(){return qe})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Be})),n.d(t,"getSEMrushSelectedCountry",(function(){return Ue})),n.d(t,"getSEMrushRequestHasData",(function(){return Ke})),n.d(t,"getSEMrushLoginStatus",(function(){return Ve})),n.d(t,"getAuthorName",(function(){return S})),n.d(t,"getSiteName",(function(){return R})),n.d(t,"getBaseUrlFromSettings",(function(){return k})),n.d(t,"getDateFromSettings",(function(){return P})),n.d(t,"getRecommendedReplaceVars",(function(){return D})),n.d(t,"getSiteIconUrlFromSettings",(function(){return x})),n.d(t,"getShoppingData",(function(){return Ye})),n.d(t,"getReplaceVars",(function(){return A})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return I})),n.d(t,"getSnippetEditorTitle",(function(){return M})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return N})),n.d(t,"getSnippetEditorDescription",(function(){return L})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return q})),n.d(t,"getSnippetEditorData",(function(){return B})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return U})),n.d(t,"getSnippetEditorIsLoading",(function(){return K})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return V})),n.d(t,"getTwitterTitle",(function(){return He})),n.d(t,"getTwitterDescription",(function(){return We})),n.d(t,"getTwitterImageUrl",(function(){return Ge})),n.d(t,"getTwitterImageType",(function(){return ze})),n.d(t,"getTwitterImageSrc",(function(){return $e})),n.d(t,"getTwitterWarnings",(function(){return Qe})),n.d(t,"getWarningMessage",(function(){return Ze}));var r=n(2),o=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},a=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},i=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(71);function p(e){return e.editorContext}function d(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function m(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function g(e){return m(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(63),h=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},w=function(e){return Object(r.get)(e,"editorData.title","")},v=function(e){return Object(r.get)(e,"editorData.excerpt")},j=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(h.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},E=function(e){return Object(r.get)(e,"editorData.imageUrl","")},_=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""};function T(e){return e.focusKeyword}var S=function(e){return Object(r.get)(e,"settings.socialPreviews.authorName","")},R=function(e){return Object(r.get)(e,"settings.socialPreviews.siteName","")},k=function(e){return Object(r.get)(e,"settings.snippetEditor.baseUrl","")},P=function(e){return Object(r.get)(e,"settings.snippetEditor.date","")},D=function(e){return Object(r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},x=function(e){return Object(r.get)(e,"settings.snippetEditor.siteIconUrl","")},A=function(e){return Object(r.get)(e,"snippetEditor.replacementVariables",[])},C=function(e){return Object(r.get)(e,"snippetEditor.templates",{title:"",description:""})},I=function(e){return Object(r.get)(e,"snippetEditor.mode","mobile")},M=function(e){return Object(r.get)(e,"snippetEditor.data.title","")},N=function(e){return Object(r.get)(e,"snippetEditor.data.title","")||C(e).title},L=function(e){return Object(r.get)(e,"snippetEditor.data.description","")},F=function(e){return L(e)||C(e).description},q=function(e){return Object(r.get)(e,"snippetEditor.data.slug","")},B=function(e){return Object(r.get)(e,"snippetEditor.data",{title:M(e),description:L(e),slug:q(e)})},U=function(e){return Object(r.get)(e,"snippetEditor.wordsToHighlight",[])},K=function(e){return Object(r.get)(e,"snippetEditor.isLoading",!0)},V=function(e){return Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},Y=function(e){return Object(r.get)(e,"analysisData.snippet.title","")},H=function(e){return Object(r.get)(e,"analysisData.snippet.description","")},W=function(e){return Object(r.get)(e,"analysisData.snippet.url","")},G=function(e){return parseInt(Object(r.get)(e,"analysisData.timestamp",0),10)},z=function(e){var t=Y(e)||M(e),n=q(e);return{text:O(e),title:t,keyword:T(e),description:H(e)||L(e),locale:b(e),titleWidth:Object(l.a)(t),url:n,permalink:k(e)+n}};function $(e){return e.isCornerstone}var Q=function(e,t){return Object(r.get)(e,"editorModals.openedModal","")===t};function Z(e){return Object(r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0}var X=function(e){return Object(r.get)(e,"facebookEditor.title","")},J=function(e){return Object(r.get)(e,"facebookEditor.description","")},ee=function(e){return Object(r.get)(e,"facebookEditor.image.url")},te=function(e){return Object(r.get)(e,"facebookEditor.image.src","")},ne=function(e){return Object(r.get)(e,"facebookEditor.warnings",[])},re=function(e){return Object(r.get)(e,"socialPreviews.contentImage","")},oe=function(e){var t=[{featuredImage:Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:Object(r.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""},ae=function(){var e=Object(r.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e)).host},ie=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template","")},se=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template_no_fallback","")},ce=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_title_template","")},ue=function(){return Object(r.get)(window,"wpseoScriptData.metabox.metadesc_template","")},le=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_description_template","")},pe=function(e){var t="";return Object(r.get)(e,"snippetEditor.replacementVariables",[]).forEach((function(e){"excerpt"===e.name&&(t=e.value)})),t};function de(e){return e.activeMarker}function fe(e){return e.isMarkerPaused}function me(e){return"enabled"===e.marksButtonStatus}function ge(e){return e.marksButtonStatus}function be(e,t){return!0===e.dismissedAlerts[t]}function ye(e){return e.preferences}function he(e){return Object(r.get)(e,"preferences.isKeywordAnalysisActive",!1)}function Oe(e,t){return e.primaryTaxonomies[t]}var we=n(30),ve=n.n(we),je={},Ee=[];function _e(e){var t=Object(r.get)(e,"analysis.seo",je);return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function Te(e,t){var n=_e(e);return Object(r.get)(n,t,je)}function Se(e){var t=Object(r.get)(e,"analysis.readability",{});return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function Re(e){return Te(e,e.focusKeyword)}function ke(e,t){var n=Re(e).results||Ee,r=Se(e).results||Ee;return[].concat(ve()(n),ve()(r)).find((function(e){return e._identifier===t}))}function Pe(e){return e.marksButtonStatus}var De=function(e){return Object(r.get)(e,"schemaTab.defaultPageType","")},xe=function(e){return Object(r.get)(e,"schemaTab.pageType","")},Ae=function(e){return Object(r.get)(e,"schemaTab.defaultArticleType","")},Ce=function(e){return Object(r.get)(e,"schemaTab.articleType","")};function Ie(e){return e.SEMrushModal.whichModalOpen}function Me(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ne(e){return e.SEMrushRequest.isRequestPending}function Le(e){return e.SEMrushRequest.isSuccess}function Fe(e){return e.SEMrushRequest.response}function qe(e){return e.SEMrushRequest.limitReached}function Be(e){return e.SEMrushRequest.keyphrase}function Ue(e){return e.SEMrushRequest.countryCode}function Ke(e){return e.SEMrushRequest.hasData}function Ve(e){return e.SEMrushRequest.isLoggedIn}var Ye=function(e){return Object(r.get)(e,"shoppingData",{})},He=function(e){return Object(r.get)(e,"twitterEditor.title","")},We=function(e){return Object(r.get)(e,"twitterEditor.description","")},Ge=function(e){return Object(r.get)(e,"twitterEditor.image.url","")},ze=function(e){return Object(r.get)(e,"settings.socialPreviews.twitterCardType","summary")},$e=function(e){return Object(r.get)(e,"twitterEditor.image.src","")},Qe=function(e){return Object(r.get)(e,"twitterEditor.warnings",[])};function Ze(e){return Object(r.get)(e,"warning.message",[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),p=n(13),d=n.n(p),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(1),O=n.n(h),w=n(95),v=n(23),j=n(35);var E=function(e){d()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new v.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);E.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=E;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),p=n(13),d=n.n(p),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(3),O=n(6),w=n(1),v=n.n(w),j=n(62);var E=function(e){d()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(h.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(h.__)("Learn more about the schema settings","wordpress-seo"),description:Object(h.sprintf)(
2
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
3
  Object(h.__)("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(h.sprintf)(
4
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
5
- Object(h._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(h.__)("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(h.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),a}(y.Component),_=v.a.arrayOf(v.a.shape({name:v.a.string,value:v.a.string}));E.propTypes={postType:v.a.string.isRequired,postTypeName:v.a.string.isRequired,pageType:j.b.isRequired,articleType:j.b,pageTypeOptions:_.isRequired,articleTypeOptions:_.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.r(t),n.d(t,"sortResultsByIdentifier",(function(){return s})),n.d(t,"default",(function(){return c})),n.d(t,"initializationDone",(function(){return u}));var r=n(22),o=n(17),a=n(72),i=!1;function s(e){return e.sort((function(e,t){return e._identifier.localeCompare(t._identifier)}))}function c(e,t,n,c,u){var l=t();i&&e.analyze(l).then((function(e){var t=e.result,a=t.seo,i=t.readability;if(a){var p=a[""];p.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),p.results=s(p.results),c.dispatch(Object(r.setSeoResultsForKeyword)(l.getKeyword(),p.results)),c.dispatch(Object(r.setOverallSeoScore)(p.score,l.getKeyword())),c.dispatch(Object(o.h)()),u.saveScores(p.score,l.getKeyword())}i&&(i.results.forEach((function(e){e.getMarker=function(){return function(){return n(l,e.marks)}}})),i.results=s(i.results),c.dispatch(Object(r.setReadabilityResults)(i.results)),c.dispatch(Object(r.setOverallReadabilityScore)(i.score)),c.dispatch(Object(o.h)()),u.saveContentScore(i.score))})).catch(a.a)}function u(){i=!0}},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";n.d(t,"a",(function(){return a}));var r=n(2),o=n(20);function a(){var e=Object(o.a)();return Object(r.get)(e,"contentLocale","en_US")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(0),o=n(3),a=n(53),i=n(1),s=n.n(i),c=n(6),u=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"},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)(c.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))},l=u;u.propTypes={onClick:s.a.func.isRequired,title:s.a.string.isRequired,id:s.a.string,subTitle:s.a.string,suffixIcon:s.a.object},u.defaultProps={id:"",suffixIcon:null,subTitle:""};var p=n(28),d=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},f=function(e){var t=e.id,n=e.postTypeName,i=e.children,s=e.title,c=e.isOpen,u=e.close,f=e.open,m=Object(r.useCallback)((function(e){d(e)&&u()}),[u]);return Object(r.createElement)(r.Fragment,null,c&&Object(r.createElement)(p.LocationProvider,{value:"modal"},Object(r.createElement)(a.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(o.sprintf)(Object(o.__)("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(o.sprintf)(Object(o.__)("Return to your %s","wordpress-seo"),n)))))),Object(r.createElement)(l,{id:t+"-open-button",title:s,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};f.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=f},,function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(0),o=n(6),a=n(1),i=n.n(a),s=n(35),c=n(36),u=function(e){var t=e.target,n=e.scoreIndicator;return Object(r.createElement)(c.a,{target:t},Object(r.createElement)(o.SvgIcon,Object(s.getIconForScore)(n)))};u.propTypes={target:i.a.string.isRequired,scoreIndicator:i.a.string.isRequired},t.a=u},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=n(20);function a(){var e=Object(o.a)(),t=Object(r.get)(e,"translations",{domain:"js-text-analysis",locale_data:{"js-text-analysis":{"":{}}}});return"wordpress-seo"!==t.domain||Object(r.isUndefined)(t.locale_data["wordpress-seo"])||(t.domain="js-text-analysis",t.locale_data["js-text-analysis"]=t.locale_data["wordpress-seo"],t.locale_data["js-text-analysis"][""].domain="js-text-analysis",delete t.locale_data["wordpress-seo"]),t}},function(e,t,n){"use strict";var r,o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=n(11),u=n.n(c),l=n(13),p=n.n(l),d=n(14),f=n.n(d),m=n(8),g=n.n(m),b=n(0),y=n(1),h=n.n(y),O=n(15),w=n.n(O),v=n(12),j=n.n(v),E=n(37),_=n.n(E),T=n(3),S=n(6),R=n(9),k=j()(S.Alert)(r||(r=w()(["\n\tp {\n\t\tmargin: 0;\n\t}\n"]))),P=Object(R.makeOutboundLink)(),D=function(e){var t=Object(T.sprintf)(
10
  /* Translators: %s expands to the social medium name, which is either Twitter or Facebook. %s expands to Yoast SEO Premium */
11
- Object(T.__)("Do you want to preview what it will look like if people share this post on %s? You can, with %s.","wordpress-seo"),e.socialMediumName," {{strong}}Yoast SEO Premium{{/strong}}"),n=Object(T.sprintf)(
12
  /* Translators: %s expands to Yoast SEO Premium */
13
- Object(T.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(k,{type:"info"},_()({mixedString:t,components:{strong:Object(b.createElement)("b",null)}}),Object(b.createElement)("br",null),Object(b.createElement)(P,{href:"https://yoast.com/reasons-to-upgrade/"},Object(b.createElement)("p",null,n))))};D.propTypes={socialMediumName:h.a.oneOf(["Twitter","Facebook"]).isRequired};var x=D,A=n(149),C=n(58);var I=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=g()(t);if(n){var o=g()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return f()(this,e)});function o(e){var t;return a()(this,o),(t=r.call(this,e)).state={activeField:"",hoveredField:""},t.setHoveredField=t.setHoveredField.bind(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()(o,[{key:"setHoveredField",value:function(e){e!==this.state.hoveredField&&this.setState({hoveredField:e})}},{key:"setActiveField",value:function(e){var t=this;e!==this.state.activeField&&this.setState({activeField:e},(function(){return t.setEditorFocus(e)}))}},{key:"setEditorFocus",value:function(e){switch(e){case"title":this.titleEditorRef.focus();break;case"description":this.descriptionEditorRef.focus()}}},{key:"setEditorRef",value:function(e,t){switch(e){case"title":this.titleEditorRef=t;break;case"description":this.descriptionEditorRef=t}}},{key:"render",value:function(){var e=this.props,t=e.onDescriptionChange,n=e.onTitleChange,r=e.onSelectImageClick,o=e.onRemoveImageClick,a=e.socialMediumName,i=e.imageWarnings,s=e.description,c=e.descriptionInputPlaceholder,u=e.imageUrl,l=e.title,p=e.titleInputPlaceholder,d=e.replacementVariables,f=e.recommendedReplacementVariables,m=e.isPremium,g=e.location;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(x,{socialMediumName:a}),Object(b.createElement)(A.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:a,title:l,titleInputPlaceholder:p,onRemoveImageClick:o,imageSelected:!!u,imageUrl:u,onTitleChange:n,onSelectImageClick:r,description:s,descriptionInputPlaceholder:c,imageWarnings:i,replacementVariables:d,recommendedReplacementVariables:f,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:m,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),o}(b.Component);I.propTypes={title:h.a.string.isRequired,onTitleChange:h.a.func.isRequired,description:h.a.string.isRequired,onDescriptionChange:h.a.func.isRequired,imageUrl:h.a.string.isRequired,onSelectImageClick:h.a.func.isRequired,onRemoveImageClick:h.a.func.isRequired,socialMediumName:h.a.string.isRequired,isPremium:h.a.bool,imageWarnings:h.a.array,descriptionInputPlaceholder:h.a.string,titleInputPlaceholder:h.a.string,replacementVariables:C.replacementVariablesShape,recommendedReplacementVariables:C.recommendedReplacementVariablesShape,location:h.a.string},I.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.a=I},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var n=[],_n=!0,r=!1,o=void 0;try{for(var a,i=e[Symbol.iterator]();!(_n=(a=i.next()).done)&&(n.push(a.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,o=e}finally{try{_n||null==i.return||i.return()}finally{if(r)throw o}}return n}}},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=n(12),s=n(28),c=function(e){var t=e.theme,n=e.location,o=e.children;return Object(r.createElement)(s.LocationProvider,{value:n},Object(r.createElement)(i.ThemeProvider,{theme:t},o))};c.propTypes={theme:a.a.object.isRequired,location:a.a.oneOf(["sidebar","metabox","modal"]).isRequired,children:a.a.element.isRequired},t.a=c},function(e,t,n){"use strict";n.r(t),n.d(t,"refreshDelay",(function(){return r}));var r=500},,,,,,function(e,t,n){"use strict";function r(e){var t=e.alertKey;return new Promise((function(e){return wpseoApi.post("alerts/dismiss",{key:t},(function(){return e()}))}))}n.r(t),n.d(t,"DISMISS_ALERT",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r,o,a=n(16);function i(){return(i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function s(e){return a.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 425 456.27","aria-hidden":"true"},e),r||(r=a.createElement("path",{d:"M73 405.26a66.79 66.79 0 01-6.54-1.7 64.75 64.75 0 01-6.28-2.31c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92a70.154 70.154 0 01-5.08-4.19 69.21 69.21 0 01-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 01-3.44-5.64 68.29 68.29 0 01-8.29-32.55V142.13a68.26 68.26 0 018.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0114.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0173 75.09a68.75 68.75 0 0113.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 000 142.13v196.09A86.84 86.84 0 0086.75 425h11.32v-18.35H86.75A68.75 68.75 0 0173 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 018.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 01391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 018.29 32.55v264.52H233.55l-.44.76c-3.07 5.37-6.26 10.48-9.49 15.19L222 425h203V142.13a87.2 87.2 0 00-56.45-81.28z"})),o||(o=a.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 010 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:10,strokeWidth:3.81})))}},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(0),s=n(1),c=n.n(s),u=n(12),l=n.n(u),p=n(6),d=n(9),f=l()(p.StyledSection)(r||(r=a()(["\n\t&"," {\n\t\tpadding: 0;\n\n\t\t& "," {\n\t\t\t",": 20px;\n\t\t\tmargin-left: ",";\n\t\t}\n\t}\n"])),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,o=e.hasPaperStyle,a=e.shoppingData;return Object(i.createElement)(f,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o,shoppingData:a},t)};m.propTypes={children:c.a.element,title:c.a.string,icon:c.a.string,hasPaperStyle:c.a.bool,shoppingData:c.a.object},m.defaultProps={hasPaperStyle:!0,shoppingData:null},t.a=m},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(2),i=n(69);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u=Object(a.get)(window,"wpseoScriptData.dismissedAlerts",{});t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;return t.type===i.b&&t.alertKey?c(c({},e),{},o()({},t.alertKey,!0)):e}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(10),o=n.n(r),a=n(43);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o()(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}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case a.b:return s(s({},e),t.settings);case a.a:var n=Object.assign({},e.socialPreviews,{contentImage:t.src});return s(s({},e),{},{socialPreviews:s({},n)});default:return e}}},function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(0),i=n(3),s=n(1),c=n.n(s),u=n(2),l=n(6),p=function(){return Object(a.createElement)("p",{className:"yoast-related-keyphrases-modal__loading-message"},Object(i.sprintf)(
14
  /* translators: %1$s expands to "Yoast SEO", %2$s expands to "Semrush". */
15
- Object(i.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","Semrush")," ",Object(a.createElement)(l.SvgIcon,{icon:"loading-spinner"}))},d=n(9),f=Object(d.makeOutboundLink)(),m=function(){return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("p",null,Object(i.sprintf)(
16
  /* translators: %s : Expands to "Semrush". */
17
  Object(i.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"Semrush")),Object(a.createElement)(f,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},Object(i.sprintf)(
18
  /* translators: %s : Expands to "Semrush". */
19
- Object(i.__)("Upgrade your %s plan","wordpress-seo"),"Semrush"),Object(a.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))},g=n(47),b=n.n(g),y=n(5),h=n.n(y),O=n(7),w=n.n(O),v=n(11),j=n.n(v),E=n(13),_=n.n(E),T=n(14),S=n.n(T),R=n(8),k=n.n(R),P=n(26),D=n.n(P),x=n(64),A=n.n(x),C=n(52);var I="yoast-semrush-country-selector",M=[{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){_()(c,e);var t,n,r,o,s=(r=c,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=k()(r);if(o){var n=k()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return S()(this,e)});function c(e){var t;return h()(this,c),(t=s.call(this,e)).relatedKeyphrasesRequest=t.relatedKeyphrasesRequest.bind(j()(t)),t.onChangeHandler=t.onChangeHandler.bind(j()(t)),t}return w()(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=b()(D.a.mark((function e(){var t,n,r,o;return D.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!==(o=e.sent).status){e.next=9;break}return this.handleSuccessResponse(o),e.abrupt("return");case 9:this.handleFailedResponse(o);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()(D.a.mark((function e(t,n){return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,A()({path:Object(C.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(a.createElement)("div",{id:I},Object(a.createElement)(l.SingleSelect,{id:I+"-select",label:Object(i.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:M,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),Object(a.createElement)(l.NewButton,{id:I+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},Object(i.__)("Select country","wordpress-seo")))}}]),c}(a.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 L=N,F=n(30),q=n.n(F),B=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(i.__)("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))}))))))};B.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},B.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var U=B,K=function(e){var t=e.data,n=e.width,r=e.height,o=e.fillColor,i=e.strokeColor,s=e.strokeWidth,c=e.className,u=e.mapChartDataToTableData,l=e.dataTableCaption,p=e.dataTableHeaderLabels,d=e.isDataTableVisuallyHidden,f=Math.max(1,Math.max.apply(Math,q()(t.map((function(e){return e.x}))))),m=Math.max(1,Math.max.apply(Math,q()(t.map((function(e){return e.y}))))),g=r-s,b=t.map((function(e){var t=e.x/f*n,r=g-e.y/m*g+s;return"".concat(t,",").concat(r)})).join(" "),y="0,".concat(g+s," ")+b+" ".concat(n,",").concat(g+s);return Object(a.createElement)(a.Fragment,null,Object(a.createElement)("svg",{width:n,height:r,viewBox:"0 0 ".concat(n," ").concat(r),className:c,role:"img","aria-hidden":"true",focusable:"false"},Object(a.createElement)("polygon",{fill:o,points:y}),Object(a.createElement)("polyline",{fill:"none",stroke:i,strokeWidth:s,strokeLinejoin:"round",strokeLinecap:"round",points:b})),u&&Object(a.createElement)(U,{data:t,mapChartDataToTableData:u,dataTableCaption:l,dataTableHeaderLabels:p,isDataTableVisuallyHidden:d}))};K.propTypes={data:c.a.arrayOf(c.a.shape({x:c.a.number,y:c.a.number})).isRequired,width:c.a.number.isRequired,height:c.a.number.isRequired,fillColor:c.a.string,strokeColor:c.a.string,strokeWidth:c.a.number,className:c.a.string,mapChartDataToTableData:c.a.func,dataTableCaption:c.a.string.isRequired,dataTableHeaderLabels:c.a.array.isRequired,isDataTableVisuallyHidden:c.a.bool},K.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0};var V=K,Y=n(54);var H=Object(d.makeOutboundLink)(),W=function(e){_()(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=k()(t);if(n){var o=k()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return S()(this,e)});function o(e){var t;return h()(this,o),(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 w()(o,[{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,o=t.countryCode,s=t.data,c=t.renderAction,l="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(o);return s&&!Object(u.isEmpty)(s.results)&&Object(a.createElement)(a.Fragment,null,Object(a.createElement)("table",{className:"yoast yoast-table"},Object(a.createElement)("thead",null,Object(a.createElement)("tr",null,Object(a.createElement)("th",{scope:"col",className:"yoast-table--primary"},Object(i.__)("Related keyphrase","wordpress-seo")),Object(a.createElement)("th",{scope:"col",abbr:Object(i.__)("Volume","wordpress-seo")},Object(i.__)("Volume","wordpress-seo"),Object(a.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},Object(a.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),Object(a.createElement)("th",{scope:"col",abbr:Object(i.__)("Trend","wordpress-seo")},Object(i.__)("Trend","wordpress-seo"),Object(a.createElement)(Y.a,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},Object(a.createElement)("span",{className:"screen-reader-text"},Object(i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),c&&Object(a.createElement)("td",{className:"yoast-table--nobreak"}))),Object(a.createElement)("tbody",null,s.results.rows.map((function(t,n){var o=t[0],s=e.transformTrendDataToChartPoints(t[2]),u=e.getAreaChartDataTableHeaderLabels();return Object(a.createElement)("tr",{key:n},Object(a.createElement)("td",null,o),Object(a.createElement)("td",null,t[1]),Object(a.createElement)("td",{className:"yoast-table--nopadding"},Object(a.createElement)(V,{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(a.createElement)("td",{className:"yoast-table--nobreak"},c(o,r)))})))),Object(a.createElement)("p",{style:{marginBottom:0}},Object(a.createElement)(H,{href:l},Object(i.sprintf)(
20
  /* translators: %s expands to Semrush */
21
- Object(i.__)("Get more insights at %s","wordpress-seo"),"Semrush"))))}}]),o}(a.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 G=W,z=Object(d.makeOutboundLink)(),$=function(){return Object(a.createElement)(l.Alert,{type:"info"},Object(i.sprintf)(
22
  /* translators: %s: Expands to "Yoast SEO". */
23
  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(a.createElement)(z,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},Object(i.sprintf)(
24
  /* translators: %s: Expands to "Yoast SEO Premium". */
25
  Object(i.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))},Q=function(){return Object(a.createElement)(l.Alert,{type:"error"},Object(i.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))},Z=function(){return Object(a.createElement)(l.Alert,{type:"warning"},Object(i.sprintf)(
26
  /* translators: %s: Expands to "Yoast SEO". */
27
- 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"))},X=n(20);function J(e){var t=e.response,n=e.lastRequestKeyphrase,r=e.keyphrase,o=e.newRequest,s=e.setCountry,c=e.renderAction,l=e.countryCode,d=e.requestLimitReached,f=e.setRequestFailed,g=e.setNoResultsFound,b=e.relatedKeyphrases,y=e.setRequestSucceeded,h=e.setRequestLimitReached,O=Object(X.a)().isPremium;return Object(a.createElement)(a.Fragment,null,!d&&Object(a.createElement)(a.Fragment,null,!O&&Object(a.createElement)($,null),O&&function(e){return e&&e.length>=4}(b)&&Object(a.createElement)(Z,null),Object(a.createElement)(L,{countryCode:l,setCountry:s,newRequest:o,keyphrase:r,setRequestFailed:f,setNoResultsFound:g,setRequestSucceeded:y,setRequestLimitReached:h,response:t,lastRequestKeyphrase:n})),function(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,o=e.response,s=e.requestHasData;return t?Object(a.createElement)(p,null):n?Object(a.createElement)(m,null):!r&&function(e){return!Object(u.isEmpty)(e)&&"error"in e}(o)?Object(a.createElement)(Q,null):s?void 0:Object(a.createElement)("p",null,Object(i.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}(e),Object(a.createElement)(G,{keyphrase:r,relatedKeyphrases:b,countryCode:l,renderAction:c,data:t}))}J.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},J.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""},t.a=Object(o.compose)([Object(r.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,o=t.getSEMrushRequestLimitReached,a=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,c=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:o(),response:a(),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,o=t.setSEMrushRequestSucceeded,a=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){o(e)},setRequestFailed:function(e){a(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}}))])(J)},function(e,t,n){"use strict";var r=n(10),o=n.n(r),a=n(3),i=n(17),s=n(40);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return{mode:"mobile",data:{title:"",description:"",slug:""},wordsToHighlight:[],replacementVariables:[{name:"date",label:Object(a.__)("Date","wordpress-seo"),value:""},{name:"id",label:Object(a.__)("ID","wordpress-seo"),value:""},{name:"page",label:Object(a.__)("Page","wordpress-seo"),value:""},{name:"searchphrase",label:Object(a.__)("Search phrase","wordpress-seo"),value:""},{name:"sitedesc",label:Object(a.__)("Tagline","wordpress-seo"),value:""},{name:"sitename",label:Object(a.__)("Site title","wordpress-seo"),value:""},{name:"category",label:Object(a.__)("Category","wordpress-seo"),value:""},{name:"focuskw",label:Object(a.__)("Focus keyphrase","wordpress-seo"),value:""},{name:"title",label:Object(a.__)("Title","wordpress-seo"),value:""},{name:"parent_title",label:Object(a.__)("Parent title","wordpress-seo"),value:""},{name:"excerpt",label:Object(a.__)("Excerpt","wordpress-seo"),value:""},{name:"primary_category",label:Object(a.__)("Primary category","wordpress-seo"),value:""},{name:"sep",label:Object(a.__)("Separator","wordpress-seo"),value:""},{name:"excerpt_only",label:Object(a.__)("Excerpt only","wordpress-seo"),value:""},{name:"category_description",label:Object(a.__)("Category description","wordpress-seo"),value:""},{name:"tag_description",label:Object(a.__)("Tag description","wordpress-seo"),value:""},{name:"term_description",label:Object(a.__)("Term description","wordpress-seo"),value:""},{name:"currentyear",label:Object(a.__)("Current year","wordpress-seo"),value:""}],uniqueRefreshValue:"",templates:{title:"",description:""},isLoading:!0}}t.a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l(),t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.d:return u(u({},e),{},{mode:t.mode});case i.e:return u(u({},e),{},{data:u(u({},e.data),t.data)});case i.f:var n=!0,r=e.replacementVariables.map((function(e){return e.name===t.name?(n=!1,{name:t.name,label:t.label||e.label,value:t.value}):e}));return n&&(r=Object(s.pushNewReplaceVar)(r,t)),u(u({},e),{},{replacementVariables:r});case i.c:return u(u({},e),{},{replacementVariables:e.replacementVariables.filter((function(e){return e.name!==t.name}))});case i.b:return u(u({},e),{},{uniqueRefreshValue:t.time});case i.g:return u(u({},e),{},{wordsToHighlight:t.wordsToHighlight});case i.a:return u(u({},e),{},{data:u(u({},e.data),{},{title:t.data.title,description:t.data.description,slug:t.data.slug}),templates:u(u({},e.templates),{},{title:t.templates.title,description:t.templates.description}),isLoading:!1})}return e}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return d}));var r=n(2),o=n(23),a=n(91);function i(){return Object(r.get)(window,["wpseoAdminL10n","default_query_params"],{})}var s=n(97),c=n(65),u=n(55),l=n(83);function p(){var e=Object(r.get)(window,["wpseoScriptData","analysis","worker","url"],"analysis-worker.js"),t=Object(o.createWorker)(e);return t.postMessage({dependencies:Object(r.get)(window,["wpseoScriptData","analysis","worker","dependencies"],[])}),new o.AnalysisWorkerWrapper(t)}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={locale:Object(a.a)(),contentAnalysisActive:Object(c.a)(),keywordAnalysisActive:Object(u.a)(),defaultQueryParams:i(),logLevel:Object(r.get)(window,["wpseoScriptData","analysis","worker","log_level"],"ERROR"),enabledFeatures:Object(l.enabledFeatures)()};t=Object(r.merge)(t,e);var n=Object(s.a)();return Object(r.isUndefined)(n)||Object(r.isUndefined)(n.domain)||(t.translations=n),t}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(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,o,a,i=n(10),s=n.n(i),c=n(5),u=n.n(c),l=n(7),p=n.n(l),d=n(13),f=n.n(d),m=n(14),g=n.n(m),b=n(8),y=n.n(b),h=n(15),O=n.n(h),w=n(0),v=n(4),j=n(3),E=n(6),_=n(24),T=n(1),S=n.n(T),R=n(12),k=n.n(R),P=n(42),D=n(81),x=n(9),A=k.a.p(r||(r=O()(["\n\tcolor: ",";\n\tmargin: 0;\n\tpadding-right: 8px;\n"])),_.colors.$color_upsell_text),C=k.a.div(o||(o=O()(["\n\tfont-size: 1em;\n\tdisplay: flex;\n\tflex-direction: ",";\n\t",": 4px solid ",";\n\tmargin: 16px 0;\n\tpadding: 0 0 0 8px;\n\tmax-width: 600px;\n\n\t> "," {\n\t\tmargin-bottom: ",";\n\t}\n"])),(function(e){return"horizontal"===e.alignment?"row":"column"}),Object(x.getDirectionalStyle)("border-left","border-right"),_.colors.$color_pink_dark,A,(function(e){return"vertical"===e.alignment&&"16px"})),I=k()(E.SvgIcon)(a||(a=O()(["\n\tmargin: ",";\n\ttransform: ",";\n"])),Object(x.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),Object(x.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),M=Object(x.makeOutboundLink)(E.UpsellLinkButton),N=function(e){var t=e.alignment,n=e.url;return Object(w.createElement)(C,{alignment:t},Object(w.createElement)(A,null,Object(j.sprintf)(
28
  /* translators: %s expands to Yoast SEO Premium */
29
  Object(j.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),Object(w.createElement)("div",null,Object(w.createElement)(M,{href:n,className:"UpsellLinkButton"},Object(j.sprintf)(
30
  /* translators: %s expands to Premium */
31
- Object(j.__)("Go %s!","wordpress-seo"),"Premium"),Object(w.createElement)(I,{icon:"arrow-right",size:"8px",color:_.colors.$color_black}))))};N.propTypes={alignment:S.a.oneOf(["horizontal","vertical"]),url:S.a.string.isRequired},N.defaultProps={alignment:"vertical"};var L,F,q=N,B=n(28),U=n(51),K=n(68),V=n(37),Y=n.n(V);var H=k.a.ul(L||(L=O()(['\n\tlist-style: none;\n\tmargin: 0 0 16px;\n\tpadding: 0;\n\n\tli {\n\t\tmargin: 5px 0 0 0;\n\t\tpadding-left: 16px;\n\t}\n\n\tspan[aria-hidden="true"]:before {\n\t\tmargin: 0 8px 0 -16px;\n\t\tfont-weight: bold;\n\t\tcontent: "+";\n\t}\n']))),W=k.a.small(F||(F=O()(["\n\tdisplay: block;\n"]))),G=Object(x.makeOutboundLink)(),z=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(e){return u()(this,o),r.call(this,e)}return p()(o,[{key:"createBenefitsList",value:function(e){return e.length>0&&Object(w.createElement)(H,{role:"list"},e.map((function(e,t){return Object(w.createElement)("li",{key:t},Object(w.createElement)("span",{"aria-hidden":"true"}),Y()({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:Object(w.createElement)("strong",null)}}))})))}},{key:"createInfoParagraphs",value:function(e){return e.map((function(e,t){return Object(w.createElement)("p",{key:t},e)}))}},{key:"render",value:function(){return Object(w.createElement)("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),Object(w.createElement)(G,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&Object(w.createElement)("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),Object(w.createElement)(W,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),o}(w.Component);z.propTypes={benefits:S.a.array,infoParagraphs:S.a.array,upsellButton:S.a.object,upsellButtonText:S.a.string.isRequired,upsellButtonLabel:S.a.string,upsellButtonHasCaret:S.a.bool},z.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0};var $=z,Q=Object(x.makeOutboundLink)(),Z=function(e){var t=Object(j.sprintf)(
32
  /* translators: %1$s expands to a 'Yoast SEO Premium' text linked to the yoast.com website. */
33
- Object(j.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=Y()({mixedString:t,components:{link:Object(w.createElement)(Q,{href:e.link})}}),r=["<strong>".concat(Object(j.__)("Rank better with synonyms & related keyphrases","wordpress-seo"),"</strong>"),Object(j.sprintf)(
34
  /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
35
  Object(j.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("Superfast internal linking suggestions","wordpress-seo"),"</strong>"),Object(j.sprintf)(
36
  /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
@@ -44,11 +44,11 @@ Object(j.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO
44
  /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
45
  Object(j.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("Superfast internal linking suggestions","wordpress-seo"),"</strong>"),Object(j.sprintf)(
46
  /* translators: %1$s expands to a 'strong' start tag, %2$s to a 'strong' end tag. */
47
- Object(j.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>".concat(Object(j.__)("24/7 email support","wordpress-seo"),"</strong>"),"<strong>".concat(Object(j.__)("No ads!","wordpress-seo"),"</strong>")],r=Y()({mixedString:t,components:{link:Object(w.createElement)(J,{href:e.link})}}),o=Object(j.sprintf)(
48
  /* translators: %s expands to 'Yoast SEO Premium'. */
49
  Object(j.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return Object(w.createElement)($,{infoParagraphs:[r,o],benefits:n,upsellButtonText:Object(j.sprintf)(
50
  /* translators: %s expands to 'Yoast SEO Premium'. */
51
- Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:Object(j.__)("1 year free support and updates included!","wordpress-seo")})};ee.propTypes={link:S.a.string.isRequired,buyLink:S.a.string.isRequired};var te,ne=ee,re=n(39),oe=n.n(re),ae=n(53),ie=k.a.button(te||(te=O()(["\n\t// Increase specificity to override WP rules.\n\t&& {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t}\n\n\t.yoast-svg-icon {\n\t\tmargin: 1px 7px 0 0;\n\t\tfill: currentColor;\n\t}\n"]))),se={open:Object(j.__)("Open","wordpress-seo"),heading:"",closeIconButton:Object(j.__)("Close","wordpress-seo"),closeButton:""},ce=function(e){var t=Object(w.useState)(!1),n=oe()(t,2),r=n[0],o=n[1],a=Object.assign({},se,e.labels),i=Object(w.useCallback)((function(){return o(!1)}),[]),s=Object(w.useCallback)((function(){return o(!0)}),[]);return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(ie,{type:"button",onClick:s,className:"".concat(e.classes.openButton," yoast-modal__button-open")},e.openButtonIcon&&Object(w.createElement)(E.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),a.open),r&&Object(w.createElement)(ae.a,{onRequestClose:i,className:e.className,title:a.heading},e.children))};ce.propTypes={openButtonIcon:S.a.string,labels:S.a.shape({open:S.a.string,modalAriaLabel:S.a.string.isRequired,heading:S.a.string,closeIconButton:S.a.string,closeButton:S.a.string}).isRequired,classes:S.a.shape({openButton:S.a.string,closeIconButton:S.a.string,closeButton:S.a.string}),className:S.a.string,children:S.a.any.isRequired},ce.defaultProps={className:ae.b,openButtonIcon:"",classes:{}};var ue=ce,le=n(96),pe=n(50),de=n(18);function fe(e){var t=e.location;return Object(w.createElement)(de.Slot,{name:"yoast-synonyms-".concat(t)})}fe.propTypes={location:S.a.string.isRequired};var me,ge=n(35);function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(Object(n),!0).forEach((function(t){s()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var he=k.a.span(me||(me=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 1.5em 0 1em;\n\tdisplay: block;\n"]))),Oe=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(){return u()(this,o),r.apply(this,arguments)}return p()(o,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+Object(j.__)("Add synonyms","wordpress-seo"),modalAriaLabel:Object(j.sprintf)(
52
  /* translators: %s expands to 'Yoast SEO Premium'. */
53
  Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
54
  /* translators: %s expands to 'Yoast SEO Premium'. */
@@ -56,28 +56,28 @@ Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["
56
  /* translators: %s expands to 'Yoast SEO Premium'. */
57
  Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:Object(j.sprintf)(
58
  /* translators: %s expands to 'Yoast SEO Premium'. */
59
- Object(j.__)("Get %s","wordpress-seo"),"Yoast SEO Premium")}},n=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.metabox.focus_keyword_additional_button"];return"sidebar"===e.toLowerCase()&&(n=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_link"],r=wpseoAdminL10n["shortlinks.upsell.sidebar.focus_keyword_additional_button"]),Object(w.createElement)(ue,t,Object(w.createElement)(K.a,null,Object(w.createElement)(K.b,{icon:E.YoastSeoIcon}),Object(w.createElement)("h2",null,Object(j.__)("Would you like to add a related keyphrase?","wordpress-seo")),Object(w.createElement)(ne,{link:n,buyLink:r})))}},{key:"renderKeywordUpsell",value:function(e){var t=wpseoAdminL10n["shortlinks.upsell.metabox.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.metabox.additional_button"],r=U.a;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=pe.a),Object(w.createElement)(r,{prefixIcon:{icon:"plus",color:_.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:_.colors.$color_grey_medium_dark},title:Object(j.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-".concat(e)},Object(w.createElement)(ne,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return Object(w.createElement)(q,{url:"sidebar"===e?wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_sidebar"]:wpseoAdminL10n["shortlinks.upsell.sidebar.morphology_upsell_metabox"],alignment:"sidebar"===e?"vertical":"horizontal"})}},{key:"renderTabIcon",value:function(e,t){return"metabox"!==e?null:Object(w.createElement)(le.a,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=Object(P.a)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=Object(j.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),Object(w.createElement)(B.LocationConsumer,null,(function(n){var r="metabox"===n?U.a:pe.a;return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(r,{title:Object(j.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(ge.getIconForScore)(t.className),prefixIconCollapsed:Object(ge.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-".concat(n)},Object(w.createElement)(fe,{location:n}),e.props.shouldUpsell&&Object(w.createElement)(w.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),Object(w.createElement)(he,null,Object(j.__)("Analysis results","wordpress-seo")),Object(w.createElement)(D.a,{results:e.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:e.props.marksButtonStatus})),e.props.shouldUpsell&&e.renderKeywordUpsell(n),e.renderTabIcon(n,t.className))}))}}]),o}(w.Component);Oe.propTypes={results:S.a.array,marksButtonStatus:S.a.string,keyword:S.a.string,shouldUpsell:S.a.bool,shouldUpsellWordFormRecognition:S.a.bool,overallScore:S.a.number},Oe.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.a=Object(v.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getFocusKeyphrase,o=n.getMarksButtonStatus,a=n.getResultsForKeyword,i=r();return ye(ye({},a(i)),{},{marksButtonStatus:t.hideMarksButtons?"disabled":o(),keyword:i})}))(Oe)},,function(e,t,n){"use strict";var r,o=n(19),a=n(4),i=n(0),s=n(3),c=n(18),u=n(6),l=n(9),p=n(1),d=n.n(p),f=n(5),m=n.n(f),g=n(7),b=n.n(g),y=n(13),h=n.n(y),O=n(14),w=n.n(O),v=n(8),j=n.n(v),E=n(15),_=n.n(E),T=n(12);var S=n.n(T).a.div(r||(r=_()(["\n\tdisplay: flex;\n\tmargin-top: 8px;\n"]))),R=function(e){h()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=j()(t);if(n){var o=j()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return w()(this,e)});function o(){return m()(this,o),r.apply(this,arguments)}return b()(o,[{key:"render",value:function(){return Object(i.createElement)(S,null,Object(i.createElement)(u.Toggle,{id:this.props.id,labelText:Object(s.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),o}(i.Component);R.propTypes={id:d.a.string,isEnabled:d.a.bool,onToggle:d.a.func,onToggleDisabled:d.a.func},R.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}};var k=R,P=n(51),D=n(50),x=Object(l.makeOutboundLink)();function A(e){var t=e.isCornerstone,n=e.onChange,r=e.learnMoreUrl,o=e.location,a="metabox"===o?P.a:D.a;return Object(i.createElement)(a,{id:Object(l.join)(["yoast-cornerstone-collapsible",o]),title:Object(s.__)("Cornerstone content","wordpress-seo")},Object(i.createElement)(u.HelpText,null,Object(s.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",Object(i.createElement)(x,{href:r},Object(s.__)("Learn more about Cornerstone Content.","wordpress-seo"))),Object(i.createElement)(k,{id:Object(l.join)(["yoast-cornerstone",o]),isEnabled:t,onToggle:n}),Object(i.createElement)(c.Slot,{name:"YoastAfterCornerstoneToggle"}))}A.propTypes={isCornerstone:d.a.bool,onChange:d.a.func,learnMoreUrl:d.a.string.isRequired,location:d.a.string},A.defaultProps={isCornerstone:!0,onChange:function(){},location:""};var C=n(57);t.a=Object(o.compose)([Object(a.withSelect)((function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}})),Object(a.withDispatch)((function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}})),Object(C.a)()])(A)},function(e,t,n){"use strict";var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=n(11),c=n.n(s),u=n(13),l=n.n(u),p=n(14),d=n.n(p),f=n(8),m=n.n(f),g=n(15),b=n.n(g),y=n(0),h=n(18),O=n(19),w=n(4),v=n(3),j=n(1),E=n.n(j),_=n(12),T=n.n(_),S=n(22),R=n(47),k=n.n(R),P=n(26),D=n.n(P),x=n(64),A=n.n(x),C=n(6),I=n(68),M=n(53),N=n(111),L=n(92);var F=function(e){l()(u,e);var t,n,r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=m()(r);if(a){var n=m()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return d()(this,e)});function u(e){var t;return o()(this,u),(t=s.call(this,e)).onModalOpen=t.onModalOpen.bind(c()(t)),t.onModalClose=t.onModalClose.bind(c()(t)),t.onLinkClick=t.onLinkClick.bind(c()(t)),t.listenToMessages=t.listenToMessages.bind(c()(t)),t}return i()(u,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){Object(L.b)(e)&&this.props.onClose()}},{key:"onLinkClick",value:function(e){if(e.preventDefault(),this.props.keyphrase.trim()){var t=e.target.href,n=["top="+(window.top.outerHeight/2+window.top.screenY-285),"left="+(window.top.outerWidth/2+window.top.screenX-170),"width=340","height=570","resizable=1","scrollbars=1","status=0"];this.popup&&!this.popup.closed||(this.popup=window.open(t,"SEMrush_login",n.join(","))),this.popup&&this.popup.focus(),window.addEventListener("message",this.listenToMessages,!1)}else this.props.onOpenWithNoKeyphrase()}},{key:"listenToMessages",value:(n=k()(D.a.mark((function e(t){var n,r;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.data,r=t.source,"https://oauth.semrush.com"===t.origin&&this.popup===r){e.next=3;break}return e.abrupt("return");case 3:if("semrush:oauth:success"!==n.type){e.next=8;break}return this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),e.next=8,this.performAuthenticationRequest(n);case 8:"semrush:oauth:denied"===n.type&&(this.popup.close(),window.removeEventListener("message",this.listenToMessages,!1),this.props.onAuthentication(!1));case 9:case"end":return e.stop()}}),e,this)}))),function(_x){return n.apply(this,arguments)})},{key:"performAuthenticationRequest",value:(t=k()(D.a.mark((function e(t){var n,r,o;return D.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,n=new URL(t.url),r=n.searchParams.get("code"),e.next=5,A()({path:"yoast/v1/semrush/authenticate",method:"POST",data:{code:r}});case 5:200===(o=e.sent).status?(this.props.onAuthentication(!0),this.onModalOpen(),this.popup.close()):console.error(o.error),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error(e.t0.message);case 12:case"end":return e.stop()}}),e,this,[[0,9]])}))),function(e){return t.apply(this,arguments)})},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,o=e.isLoggedIn;return Object(y.createElement)(y.Fragment,null,o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(C.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),onClick:this.onModalOpen},Object(v.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&Object(y.createElement)(M.a,{title:Object(v.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:Object(y.createElement)(N.a,null),additionalClassName:"yoast-related-keyphrases-modal"},Object(y.createElement)(I.a,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},Object(y.createElement)(h.Slot,{name:"YoastRelatedKeyphrases"}))),!o&&Object(y.createElement)("div",{className:"yoast"},Object(y.createElement)(C.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-".concat(n),href:"https://oauth.semrush.com/oauth2/authorize?ref=1513012826&client_id=yoast&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Fyoast%2Fsuccess&response_type=code&scope=user.id",onClick:this.onLinkClick},Object(v.__)("Get related keyphrases","wordpress-seo"),Object(y.createElement)("span",{className:"screen-reader-text"},Object(v.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),u}(y.Component);F.propTypes={keyphrase:E.a.string,location:E.a.string,whichModalOpen:E.a.oneOf(["none","metabox","sidebar"]),isLoggedIn:E.a.bool,onOpen:E.a.func.isRequired,onOpenWithNoKeyphrase:E.a.func.isRequired,onClose:E.a.func.isRequired,onAuthentication:E.a.func.isRequired},F.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1};var q,B=F,U=Object(O.compose)([Object(w.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}})),Object(w.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushNoKeyphraseMessage,r=t.setSEMrushOpenModal,o=t.setSEMrushDismissModal,a=t.setSEMrushLoginStatus;return{onOpenWithNoKeyphrase:function(){n()},onOpen:function(e){r(e)},onClose:function(){o()},onAuthentication:function(e){a(e)}}}))])(B),K=n(28),V=n(54);var Y=T.a.div(q||(q=b()(["\n\tpadding: 16px;\n\t/* Necessary to compensate negative top margin of the collapsible after the keyword input. */\n\tborder-bottom: 1px solid transparent;\n"]))),H=function(e){l()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=m()(t);if(n){var o=m()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return d()(this,e)});function a(e){var t;return o()(this,a),(t=r.call(this,e)).validate=t.validate.bind(c()(t)),t}return i()(a,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push(Object(v.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push(Object(v.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push(Object(v.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,t=this.validate();return Object(y.createElement)(K.LocationConsumer,null,(function(n){return Object(y.createElement)("div",{style:"sidebar"===n?{borderBottom:"1px solid #f0f0f0"}:{}},Object(y.createElement)(Y,{location:n},Object(y.createElement)(S.KeywordInput,{id:"focus-keyword-input-".concat(n),onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:Object(v.__)("Focus keyphrase","wordpress-seo"),helpLink:a.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:t.length>0,errorMessages:t}),e.props.isSEMrushIntegrationActive&&Object(y.createElement)(U,{location:n,keyphrase:e.props.keyword})),Object(y.createElement)(h.Slot,{name:"YoastAfterKeywordInput".concat(n.charAt(0).toUpperCase()+n.slice(1))}))}))}}],[{key:"renderHelpLink",value:function(){return Object(y.createElement)(V.a,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},Object(y.createElement)("span",{className:"screen-reader-text"},Object(v.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),a}(y.Component);H.propTypes={keyword:E.a.string,onFocusKeywordChange:E.a.func.isRequired,onFocusKeyword:E.a.func.isRequired,onBlurKeyword:E.a.func.isRequired,isSEMrushIntegrationActive:E.a.bool,displayNoKeyphraseMessage:E.a.bool},H.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.a=Object(O.compose)([Object(w.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushNoKeyphraseMessage;return{keyword:n(),displayNoKeyphraseMessage:r()}})),Object(w.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFocusKeyword,r=t.setMarkerPauseStatus;return{onFocusKeywordChange:n,onFocusKeyword:function(){return r(!0)},onBlurKeyword:function(){return r(!1)}}}))])(H)},function(e,t,n){"use strict";var r,o,a,i=n(10),s=n.n(i),c=n(5),u=n.n(c),l=n(7),p=n.n(l),d=n(13),f=n.n(d),m=n(14),g=n.n(m),b=n(8),y=n.n(b),h=n(15),O=n.n(h),w=n(0),v=n(4),j=n(1),E=n.n(j),_=n(12),T=n.n(_),S=n(3),R=n(2),k=n(96),P=n(81),D=n(50),x=n(42),A=n(35),C=n(28),I=n(54),M=n(36);function N(e){var t=e.target,n=e.children;return Object(w.createElement)(M.a,{target:t},n)}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){s()(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}N.propTypes={target:E.a.string.isRequired,children:E.a.node.isRequired};var q=T.a.span(r||(r=O()(["\n\tfont-size: 1em;\n\tfont-weight: bold;\n\tmargin: 0 0 8px;\n\tdisplay: block;\n"]))),B=T.a.div(o||(o=O()(["\n\tpadding: 16px;\n"]))),U=T()(I.a)(a||(a=O()(["\n\tmargin: -8px 0 -4px 4px;\n"]))),K=function(e){f()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=y()(t);if(n){var o=y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return g()(this,e)});function o(){return u()(this,o),r.apply(this,arguments)}return p()(o,[{key:"renderResults",value:function(){return Object(w.createElement)(w.Fragment,null,Object(w.createElement)(q,null,Object(S.__)("Analysis results","wordpress-seo"),Object(w.createElement)(U,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},Object(w.createElement)("span",{className:"screen-reader-text"},Object(S.__)("Learn more about the readability analysis","wordpress-seo")))),Object(w.createElement)(P.a,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=Object(x.a)(this.props.overallScore);return Object(R.isNil)(this.props.overallScore)&&(t.className="loading"),Object(w.createElement)(C.LocationConsumer,null,(function(n){return"sidebar"===n?Object(w.createElement)(D.a,{title:Object(S.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:Object(A.getIconForScore)(t.className),prefixIconCollapsed:Object(A.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-".concat(n)},e.renderResults()):"metabox"===n?Object(w.createElement)(N,{target:"wpseo-metabox-readability-root"},Object(w.createElement)(B,null,Object(w.createElement)(k.a,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0}))}}]),o}(w.Component);K.propTypes={results:E.a.array.isRequired,marksButtonStatus:E.a.string.isRequired,overallScore:E.a.number},K.defaultProps={overallScore:null},t.a=Object(v.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,r=t.getMarkButtonStatus;return F(F({},n()),{},{marksButtonStatus:r()})}))(K)},function(e,t,n){"use strict";var r,o=n(10),a=n.n(o),i=n(0),s=n(19),c=n(4),u=n(3),l=n(1),p=n.n(l),d=n(30),f=n.n(d),m=n(15),g=n.n(m),b=n(6),y=n(18),h=n(9),O=n(37),w=n.n(O),v=n(12),j=n.n(v),E=n(85),_=n(83),T=j.a.div(r||(r=g()(["\n\tpadding: 16px;\n"]))),S=function(e,t,n){var r=e.find((function(e){return e.value===t}));return[{name:Object(u.sprintf)(
60
  /* translators: %1$s expands to the plural name of the current post type, %2$s expands to the current site wide default. */
61
- Object(u.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(f()(e))},R=function(e){return Object(u.sprintf)(
62
  /* translators: %1$s expands to the plural name of the current post type, %2$s and %3$s expand to a link to the Search Appearance Settings page */
63
- Object(u.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")},k=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})};k.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(u.__)("Read more about Schema.","wordpress-seo")))};P.propTypes={helpTextDescription:p.a.string.isRequired,helpTextLink:p.a.string.isRequired};var D=function(e){var t,n=S(e.pageTypeOptions,e.defaultPageType,e.postTypeName),r=S(e.articleTypeOptions,e.defaultArticleType,e.postTypeName),o=Object(_.isFeatureEnabled)("SCHEMA_BLOCKS");return Object(i.createElement)(i.Fragment,null,o?Object(i.createElement)(P,e):Object(i.createElement)(k,e),o&&Object(i.createElement)(y.Slot,{name:Object(h.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(h.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(h.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,w()({mixedString:R(t),components:{link:Object(i.createElement)("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}}))))};D.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},D.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var x=function(e){return e.isMetabox?Object(i.createPortal)(Object(i.createElement)(T,null,Object(i.createElement)(D,e)),document.getElementById("wpseo-meta-section-schema")):Object(i.createElement)(D,e)};x.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},x.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1};var A=x,C=n(33),I=n(57);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 N(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 L=function(e){var t=null!==C.a.articleTypeInput;Object(i.useEffect)((function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()}),[]);var n=window.wpseoScriptData.metabox.schema,r=n.pageTypeOptions,o=n.articleTypeOptions,a={articleTypeLabel:Object(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:o},s=N(N(N({},e),a),"metabox"===e.location?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1});return Object(i.createElement)(A,s)};L.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,o=t.getDefaultPageType,a=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:a(),defaultArticleType:i(),defaultPageType:o()}})),Object(c.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setPageType,r=t.setArticleType;return{loadSchemaPageData:t.getSchemaPageData,loadSchemaArticleData:t.getSchemaArticleData,schemaPageTypeChange:n,schemaArticleTypeChange:r}})),Object(I.a)()])(L)},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(0),i=n(3),s=n(6),c=n(9),u=n(1),l=n.n(u),p=n(28),d=function(e){var t=e.noIndex,n=e.onNoIndexChange,r=e.editorContext,o=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)(
64
  /* Translators: %s translates to "yes" or "no", %s translates to the Post Label in plural form */
65
  Object(i.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:Object(i.sprintf)(
66
  /* Translators: %s translates to the "yes" or "no" ,%s translates to the Post Label in plural form */
67
- 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(a.createElement)(p.LocationConsumer,null,(function(e){return Object(a.createElement)(a.Fragment,null,o&&Object(a.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(a.createElement)(s.Select,{label:Object(i.sprintf)(
68
  /* Translators: %s translates to the Post Label in singular form */
69
- Object(i.__)("Allow search engines to show this %s in search results?","wordpress-seo"),r.postTypeNameSingular),onChange:n,id:Object(c.join)(["yoast-meta-robots-noindex",e]),options:u,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:Object(i.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))}))};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 f=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return Object(a.createElement)(p.LocationConsumer,null,(function(e){var o=Object(c.join)(["yoast-meta-robots-nofollow",e]);return Object(a.createElement)(s.RadioButtonGroup,{id:o,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:Object(i.sprintf)(
70
  /* Translators: %s translates to the Post Label in singular form */
71
- Object(i.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:o,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:Object(i.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})}))};f.propTypes={noFollow: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(a.createElement)(p.LocationConsumer,null,(function(e){var r=Object(c.join)(["yoast-meta-robots-advanced",e]),o="".concat(r,"-input");return Object(a.createElement)(s.MultiSelect,{label:Object(i.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:o,options:[{name:Object(i.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:Object(i.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:Object(i.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:Object(i.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})}))};m.propTypes={advanced:l.a.array.isRequired,onAdvancedChange:l.a.func.isRequired};var g=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return Object(a.createElement)(p.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Breadcrumbs Title","wordpress-seo"),id:Object(c.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:Object(i.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})}))};g.propTypes={breadcrumbsTitle:l.a.string.isRequired,onBreadcrumbsTitleChange:l.a.func.isRequired};var b=function(e){var t=e.canonical,n=e.onCanonicalChange;return Object(a.createElement)(p.LocationConsumer,null,(function(e){return Object(a.createElement)(s.TextInput,{label:Object(i.__)("Canonical URL","wordpress-seo"),id:Object(c.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:Object(i.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})}))};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,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,c=e.onNoFollowChange,u=e.onAdvancedChange,l=e.onBreadcrumbsTitleChange,p=e.onCanonicalChange,y=e.onLoad,h=e.isLoading,O=e.editorContext,w=e.isBreadcrumbsDisabled,v=e.isPrivateBlog;Object(a.useEffect)((function(){setTimeout((function(){h&&y()}))}));var j={noIndex:t,onNoIndexChange:s,editorContext:O,isPrivateBlog:v},E={noFollow:n,onNoFollowChange:c,postTypeName:O.postTypeNameSingular},_={advanced:r,onAdvancedChange:u},T={breadcrumbsTitle:o,onBreadcrumbsTitleChange:l},S={canonical:i,onCanonicalChange:p};return h?null:Object(a.createElement)(a.Fragment,null,Object(a.createElement)(d,j),O.isPost&&Object(a.createElement)(f,E),O.isPost&&Object(a.createElement)(m,_),!w&&Object(a.createElement)(g,T),Object(a.createElement)(b,S))};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 h=y;t.a=Object(r.compose)([Object(o.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,o=t.getAdvanced,a=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,c=t.getEditorContext,u=(0,t.getPreferences)(),l=u.isBreadcrumbsDisabled,p=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:c(),isBreadcrumbsDisabled:l,isPrivateBlog:p}})),Object(o.withDispatch)((function(e){var t=e("yoast-seo/editor");return{onNoIndexChange:t.setNoIndex,onNoFollowChange:t.setNoFollow,onAdvancedChange:t.setAdvanced,onBreadcrumbsTitleChange:t.setBreadcrumbsTitle,onCanonicalChange:t.setCanonical,onLoad:t.loadAdvancedSettingsData}}))])(h)},,function(e,t,n){"use strict";var r=n(16),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(94),i=n(131),s=n(132),c="function"==typeof Symbol&&Symbol.iterator;function 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,m=g,g=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 o,i,s=e.result,c=e.keyPrefix,u=e.func,l=e.context,d=u.call(l,t,e.count++);Array.isArray(d)?h(d,s,n,a.thatReturnsArgument):null!=d&&(r.isValidElement(d)&&(o=d,i=c+(!d.key||t&&t.key===d.key?"":p(d.key)+"/")+n,d=r.cloneElement(o,{key:i},void 0!==o.props?o.props.children:void 0)),s.push(d))}function h(e,t,n,r,a){var s="";null!=n&&(s=p(n)+"/");var l=b.getPooled(t,s,r,a);!function(e,t,n){null==e||function e(t,n,r,a){var s,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(s=t[f],d+u(s,f),r,a);else{var m=function(e){var t=e&&(c&&e[c]||e["@@iterator"]);if("function"==typeof t)return t}(t);if(m)for(var g,b=m.call(t),y=0;!(g=b.next()).done;)p+=e(s=g.value,d+u(s,y++),r,a);else if("object"===l){var h=""+t;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===h?"object with keys {"+Object.keys(t).join(", ")+"}":h,"")}}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 o=this.instancePool.pop();return this.call(o,e,t,n,r),o}return new this(e,t,n,r)},(f=b).instancePool=[],f.getPooled=d||m,f.poolSize||(f.poolSize=10),f.release=function(e){i(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)},e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return s(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return s(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;i(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)h(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,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(94);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,,,,,,,,,,,function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastTwitterPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";var r=n(0),o=n(18),a=n(1),i=n.n(a),s=n(98),c=function(e){return Object(r.useEffect)((function(){setTimeout(e.onLoad)}),[]),e.isPremium?Object(r.createElement)(o.Slot,{name:"YoastFacebookPremium".concat(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):Object(r.createElement)(s.a,e)};c.propTypes={isPremium:i.a.bool.isRequired,onLoad:i.a.func.isRequired,location:i.a.string.isRequired},t.a=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(34),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(2),l=function(){function e(t){i()(this,e),this.refresh=t,this.loaded=!1,this.preloadThreshold=3e3,this.plugins={},this.modifications={},this._registerPlugin=this._registerPlugin.bind(this),this._ready=this._ready.bind(this),this._reloaded=this._reloaded.bind(this),this._registerModification=this._registerModification.bind(this),this._registerAssessment=this._registerAssessment.bind(this),this._applyModifications=this._applyModifications.bind(this),setTimeout(this._pollLoadingPlugins.bind(this),1500)}return c()(e,[{key:"_registerPlugin",value:function(e,t){return Object(u.isString)(e)?Object(u.isUndefined)(t)||Object(u.isObject)(t)?!1===this._validateUniqueness(e)?(console.error("Failed to register plugin. Plugin with name "+e+" already exists"),!1):(this.plugins[e]=t,!0):(console.error("Failed to register plugin "+e+". Expected parameters `options` to be a object."),!1):(console.error("Failed to register plugin. Expected parameter `pluginName` to be a string."),!1)}},{key:"_ready",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to modify status for plugin "+e+". The plugin was not properly registered."),!1):(this.plugins[e].status="ready",!0):(console.error("Failed to modify status for plugin "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_reloaded",value:function(e){return Object(u.isString)(e)?Object(u.isUndefined)(this.plugins[e])?(console.error("Failed to reload Content Analysis for plugin "+e+". The plugin was not properly registered."),!1):(this.refresh(),!0):(console.error("Failed to reload Content Analysis for "+e+". Expected parameter `pluginName` to be a string."),!1)}},{key:"_registerModification",value:function(e,t,n,r){if(!Object(u.isString)(e))return console.error("Failed to register modification for plugin "+n+". Expected parameter `modification` to be a string."),!1;if(!Object(u.isFunction)(t))return console.error("Failed to register modification for plugin "+n+". Expected parameter `callable` to be a function."),!1;if(!Object(u.isString)(n))return console.error("Failed to register modification for plugin "+n+". Expected parameter `pluginName` to be a string."),!1;if(!1===this._validateOrigin(n))return console.error("Failed to register modification for plugin "+n+". The integration has not finished loading yet."),!1;var o={callable:t,origin:n,priority:Object(u.isNumber)(r)?r:10};return Object(u.isUndefined)(this.modifications[e])&&(this.modifications[e]=[]),this.modifications[e].push(o),!0}},{key:"_registerAssessment",value:function(e,t,n,r){return Object(u.isString)(t)?Object(u.isObject)(n)?Object(u.isString)(r)?(t=r+"-"+t,e.addAssessment(t,n),!0):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `pluginName` to be a string."),!1):(console.error("Failed to register assessment for plugin "+r+". Expected parameter `assessment` to be a function."),!1):(console.error("Failed to register test for plugin "+r+". Expected parameter `name` to be a string."),!1)}},{key:"_applyModifications",value:function(e,t,n){var r=this.modifications[e];return!Object(u.isArray)(r)||r.length<1||((r=this._stripIllegalModifications(r)).sort((function(e,t){return e.priority-t.priority})),Object(u.forEach)(r,(function(r){var a=r.callable(t,n);o()(a)===o()(t)?t=a:console.error("Modification with name "+e+" performed by plugin with name "+r.origin+" was ignored because the data that was returned by it was of a different type than the data we had passed it.")}))),t}},{key:"_pollLoadingPlugins",value:function(e){e=Object(u.isUndefined)(e)?0:e,!0===this._allReady()?(this.loaded=!0,this.refresh()):e>=this.preloadThreshold?(this._pollTimeExceeded(),this.loaded=!0,this.refresh()):(e+=50,setTimeout(this._pollLoadingPlugins.bind(this,e),50))}},{key:"_allReady",value:function(){return Object(u.reduce)(this.plugins,(function(e,t){return e&&"ready"===t.status}),!0)}},{key:"_pollTimeExceeded",value:function(){Object(u.forEach)(this.plugins,(function(e,t){Object(u.isUndefined)(e.options)||"ready"===e.options.status||(console.error("Error: Plugin "+t+". did not finish loading in time."),delete this.plugins[t])}))}},{key:"_stripIllegalModifications",value:function(e){var t=this;return Object(u.forEach)(e,(function(n,r){!1===t._validateOrigin(n.origin)&&delete e[r]})),e}},{key:"_validateOrigin",value:function(e){return"ready"===this.plugins[e].status}},{key:"_validateUniqueness",value:function(e){return Object(u.isUndefined)(this.plugins[e])}}]),e}()},function(e,t,n){"use strict";n.r(t);var r=n(110);n.d(t,"DISMISS_ALERT",(function(){return r.DISMISS_ALERT}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(2),o=jQuery;function a(e,t,n,r){this._scriptUrl=r,this._options={usedKeywords:t.keyword_usage,searchUrl:t.search_url,postUrl:t.post_edit_url},this._keywordUsage=t.keyword_usage,this._postID=o("#post_ID, [name=tag_ID]").val(),this._taxonomy=o("[name=taxonomy]").val()||"",this._ajaxAction=e,this._refreshAnalysis=n,this._initialized=!1}a.prototype.init=function(){var e=this,t=window.YoastSEO.analysis.worker;this.requestKeywordUsage=Object(r.debounce)(this.requestKeywordUsage.bind(this),500),t.loadScript(this._scriptUrl).then((function(){t.sendMessage("initialize",e._options,"used-keywords-assessment")})).then((function(){e._initialized=!0,Object(r.isEqual)(e._options.usedKeywords,e._keywordUsage)?e._refreshAnalysis():t.sendMessage("updateKeywordUsage",e._keywordUsage,"used-keywords-assessment").then((function(){return e._refreshAnalysis()}))})).catch((function(e){return console.error(e)}))},a.prototype.setKeyword=function(e){Object(r.has)(this._keywordUsage,e)||this.requestKeywordUsage(e)},a.prototype.requestKeywordUsage=function(e){o.post(ajaxurl,{action:this._ajaxAction,post_id:this._postID,keyword:e,taxonomy:this._taxonomy},this.updateKeywordUsage.bind(this,e),"json")},a.prototype.updateKeywordUsage=function(e,t){var n=this,o=window.YoastSEO.analysis.worker;t&&Object(r.isArray)(t)&&(this._keywordUsage[e]=t,this._initialized&&o.sendMessage("updateKeywordUsage",this._keywordUsage,"used-keywords-assessment").then((function(){return n._refreshAnalysis()})))}},,,function(e,t,n){"use strict";var r=n(74),o=n(10),a=n.n(o),i=n(44);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var u={noIndex:"",noFollow:"",advanced:[],breadcrumbsTitle:"",canonical:"",isLoading:!0},l=n(22),p=n(25);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 f(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={snippet:{},timestamp:0},g=n(113),b=n(2);function y(){return{contentLocale:Object(b.get)(window,"wpseoScriptData.metabox.contentLocale",""),isBlockEditor:"1"===Object(b.get)(window,"wpseoScriptData.isBlockEditor","0"),isElementorEditor:"1"===Object(b.get)(window,"wpseoScriptData.isElementorEditor","0"),isPost:Object(b.get)(window,"wpseoScriptData",{}).hasOwnProperty("isPost"),isTerm:Object(b.get)(window,"wpseoScriptData",{}).hasOwnProperty("isTerm"),noIndex:"1"===Object(b.get)(window,"wpseoAdminL10n.noIndex","0"),postTypeNameSingular:Object(b.get)(window,"wpseoAdminL10n.postTypeNameSingular",""),postTypeNamePlural:Object(b.get)(window,"wpseoAdminL10n.postTypeNamePlural","")}}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var w={content:"",excerpt:"",imageUrl:"",slug:"",title:""};function v(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 j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E={openedModal:""},_=n(67);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var R={estimatedReadingTime:0},k=n(49);function P(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?P(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x={title:"",description:"",warnings:[],image:{url:"",id:""}},A=n(60),C=n(59),I=n(75);function M(e,t){return t.isMarkerPaused}var N=n(45),L=n(65),F=n(55),q=n(20),B=function(){var e=Object(q.a)();return Object(b.get)(e,"wordFormRecognitionActive",!1)};function U(){var e=Object(q.a)();return 1===Object(b.get)(e,"semrushIntegrationActive",0)}function K(){var e=Object(q.a)();return 1===Object(b.get)(e,"zapierIntegrationActive",0)}function V(){var e=Object(q.a)();return 1===Object(b.get)(e,"zapierConnectedStatus",0)}function Y(){var e,t=!!window.wpseoAdminL10n.displayAdvancedTab;return{isContentAnalysisActive:Object(L.a)(),isKeywordAnalysisActive:Object(F.a)(),isWordFormRecognitionActive:Object(b.isUndefined)(window.wpseoPremiumMetaboxData)&&B(),isCornerstoneActive:(e=Object(q.a)(),1===Object(b.get)(e,"cornerstoneActive",0)),isBreadcrumbsDisabled:!!window.wpseoAdminL10n.isBreadcrumbsDisabled,isPrivateBlog:!!window.wpseoAdminL10n.isPrivateBlog,isSEMrushIntegrationActive:U(),shouldUpsell:Object(b.isUndefined)(window.wpseoPremiumMetaboxData),displayAdvancedTab:t,displaySchemaSettings:t&&!!window.wpseoScriptData.isPost,displaySchemaSettingsFooter:window.wpseoScriptData.metabox.schema.displayFooter,displayFacebook:window.wpseoScriptData.metabox.showSocial.facebook,displayTwitter:window.wpseoScriptData.metabox.showSocial.twitter,isZapierIntegrationActive:K(),isZapierConnected:V()}}var H=n(76);function W(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 G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var z={},$=n(56);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 Z(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){a()(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 X={pageType:"",defaultPageType:"",articleType:"",defaultArticleType:""},J={whichModalOpen:"none",displayNoKeyphraseMessage:!1},ee=n(41);function te(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 ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re={isRequestPending:!1,keyphrase:"",countryCode:"us",isSuccess:!1,response:null,limitReached:!1,hasData:!0,isLoggedIn:!1},oe=n(114),ae=n(77);function ie(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 se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ce={},ue=n(116),le=n(48);function pe(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 de(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){a()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var fe={title:"",description:"",warnings:[],image:{url:"",id:""}},me=n(78);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 be(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){a()(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 ye={message:[]};t.a={activeMarker:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case r.a:return t.activeMarker;default:return e}},advancedSettings:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case i.a:return c(c({},e),t.settings);case i.f:return c(c({},e),{},{noIndex:t.value});case i.e:return c(c({},e),{},{noFollow:t.value});case i.b:return c(c({},e),{},{advanced:t.value});case i.d:return c(c({},e),{},{canonical:t.value});case i.c:return c(c({},e),{},{breadcrumbsTitle:t.value});default:return e}},analysis:l.analysis,analysisData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:m,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.UPDATE_SNIPPET_DATA:return f(f({},e),{},{snippet:t.data});case p.RUN_ANALYSIS:return f(f({},e),{},{timestamp:t.timestamp})}return e},dismissedAlerts:g.a,editorContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:y();return e},editorData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.SET_EDITOR_DATA_CONTENT:return O(O({},e),{},{content:t.content});case p.SET_EDITOR_DATA_EXCERPT:return O(O({},e),{},{excerpt:t.excerpt});case p.SET_EDITOR_DATA_IMAGE_URL:return O(O({},e),{},{imageUrl:t.imageUrl});case p.SET_EDITOR_DATA_SLUG:return O(O({},e),{},{slug:t.slug});case p.SET_EDITOR_DATA_TITLE:return O(O({},e),{},{title:t.title})}return e},editorModals:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:E,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.OPEN_EDITOR_MODAL:return j(j({},e),{},{openedModal:t.modalKey});case p.CLOSE_EDITOR_MODAL:return j(j({},e),{},{openedModal:""})}return e},estimatedReadingTime:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case _.a:case _.b:return S(S({},e),{},{estimatedReadingTime:t.estimatedReadingTime});default:return e}},facebookEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case k.b:return D(D({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case k.e:return D(D({},e),{},{title:t.title});case k.c:return D(D({},e),{},{description:t.description});case k.d:return D(D({},e),{},{warnings:t.image.warnings,image:{id:t.image.id,url:t.image.url}});case k.a:return D(D({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},focusKeyword:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case A.a:case A.b:return t.keyword;default:return e}},isCornerstone:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case C.c:return!e;case C.b:return t.isCornerstone;default:return e}},isMarkerPaused:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case I.a:return M(0,t);default:return e}},marksButtonStatus:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"disabled",t=arguments.length>1?arguments[1]:void 0;switch(t.type){case N.a:return t.marksButtonStatus;default:return e}},preferences:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Y();return e},primaryTaxonomies:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:z,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case H.a:return G(G({},e),{},a()({},t.taxonomy,t.termId));default:return e}},schemaTab:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:X,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case $.d:return Z(Z({},e),{},{pageType:t.pageType});case $.c:return Z(Z({},e),{},{articleType:t.articleType});case $.b:return Z(Z({},e),{},{pageType:t.pageType,defaultPageType:t.defaultPageType});case $.a:return Z(Z({},e),{},{articleType:t.articleType,defaultArticleType:t.defaultArticleType});default:return e}},SEMrushModal:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case p.MODAL_OPEN_NO_KEYPHRASE:return{whichModalOpen:"none",displayNoKeyphraseMessage:!0};case p.MODAL_OPEN:return{whichModalOpen:t.location,displayNoKeyphraseMessage:!1};case p.MODAL_DISMISS:return{whichModalOpen:"none",displayNoKeyphraseMessage:!1}}return e},SEMrushRequest:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ee.b:return ne(ne({},e),{},{isRequestPending:!0,keyphrase:t.keyphrase,countryCode:t.countryCode,isSuccess:!1,response:null});case ee.g:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!0,response:t.response,hasData:!0});case ee.e:return ne(ne({},e),{},{isRequestPending:!1,isSuccess:!1,response:t.response,hasData:!1});case ee.f:return ne(ne({},e),{},{isRequestPending:!1,limitReached:!0,hasData:!1});case ee.a:return ne(ne({},e),{},{countryCode:t.countryCode});case ee.c:return ne(ne({},e),{},{isSuccess:!0,isRequestPending:!1,hasData:!1,response:null});case ee.d:return ne(ne({},e),{},{isLoggedIn:t.loginStatus});default:return e}},settings:oe.a,shoppingData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ce,t=arguments.length>1?arguments[1]:void 0;if(t.type===ae.a){var n=Object(b.pick)(t.shoppingData,["rating","reviewCount","availability","price"]);return se(se({},e),n)}return e},snippetEditor:ue.a,twitterEditor:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:fe,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case le.b:return de(de({},e),{},{title:t.title,description:t.description,image:{id:t.id,url:t.imageUrl}});case le.e:return de(de({},e),{},{title:t.title});case le.c:return de(de({},e),{},{description:t.description});case le.d:return de(de({},e),{},{image:{id:t.image.id,url:t.image.url},warnings:t.image.warnings});case le.a:return de(de({},e),{},{image:{url:"",id:""},warnings:[]});default:return e}},warning:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ye,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case me.a:return be(be({},e),{},{message:t.message});default:return e}}}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(4),o=n(2),a=n(23);function i(e){window.YoastSEO.analysis.worker.runResearch("readingTime",new a.Paper(e,{})).then((function(e){Object(r.dispatch)("yoast-seo/editor").setEstimatedReadingTime(e.result)}))}var s=Object(o.debounce)(i,1500,{maxWait:3e3}),c="",u=null;function l(){var e=Object(r.select)("core/editor").getCurrentPostId(),t=Object(r.select)("core/editor").getCurrentPostType(),n=Object(r.select)("core").getEditedEntityRecord("postType",t,e);if(u!==n){u=n;var o=Object(r.select)("core/editor").getEditedPostAttribute("content");c!==o&&(c=o,i(o))}}function p(){var e=Object(r.select)("yoast-seo/editor").getEditorDataContent();c!==e&&(c=e,i(e))}function d(){var e,t;!1!==Object(o.get)(window,"wpseoScriptData.analysis.estimatedReadingTimeEnabled",!1)&&(Object(r.dispatch)("yoast-seo/editor").loadEstimatedReadingTime(),"1"===window.wpseoScriptData.isElementorEditor?Object(r.subscribe)(Object(o.debounce)(p,1500,{maxWait:3e3})):"1"===window.wpseoScriptData.isBlockEditor?Object(r.subscribe)(Object(o.debounce)(l,1500,{maxWait:3e3})):(e=["input","change","cut","paste"],t="1"===Object(o.get)(window,"wpseoScriptData.isPost","0")?"content":"description",jQuery(document).on("tinymce-editor-init",(function(n,r){r.id===t&&e.forEach((function(e){r.on(e,(function(){s(r.getContent())}))}))}))))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"category",(function(){return Se})),n.d(r,"currentYear",(function(){return Re})),n.d(r,"date",(function(){return ke})),n.d(r,"excerpt",(function(){return Pe})),n.d(r,"focusKeyphrase",(function(){return De})),n.d(r,"id",(function(){return xe})),n.d(r,"modified",(function(){return Ae})),n.d(r,"name",(function(){return Ce})),n.d(r,"page",(function(){return Ie})),n.d(r,"pageNumber",(function(){return Me})),n.d(r,"pageTotal",(function(){return Ne})),n.d(r,"postTypeNamePlural",(function(){return Le})),n.d(r,"postTypeNameSingular",(function(){return Fe})),n.d(r,"primaryCategory",(function(){return qe})),n.d(r,"searchPhrase",(function(){return Be})),n.d(r,"separator",(function(){return Ue})),n.d(r,"siteDescription",(function(){return Ke})),n.d(r,"siteName",(function(){return Ve})),n.d(r,"tag",(function(){return Ye})),n.d(r,"term404",(function(){return He})),n.d(r,"termDescription",(function(){return We})),n.d(r,"termHierarchy",(function(){return Ge})),n.d(r,"termTitle",(function(){return ze})),n.d(r,"title",(function(){return Qe})),n.d(r,"userDescription",(function(){return Ze}));var o={};n.r(o),n.d(o,"getAnalysisData",(function(){return qt}));var a={};n.r(a),n.d(a,"updateData",(function(){return Kt})),n.d(a,"loadSnippetEditorData",(function(){return Vt}));var i=n(4),s=n(63),c=n(151),u=null,l=function(){if(null===u){var e=Object(i.dispatch)("yoast-seo/editor").runAnalysis;u=new c.a(e)}return u},p=function(e){return l()._ready(e)},d=function(e){return l()._reloaded(e)},f=function(e,t,n,r){return l()._registerModification(e,t,n,r)},m=function(e,t){return l()._registerPlugin(e,t)},g=function(e,t,n){return l().loaded?l()._applyModifications(e,t,n):t},b=n(61),y=n(46),h=n.n(y),O=n(47),w=n.n(O),v=n(26),j=n.n(v),E=n(2),_=n(23),T=n(104),S=n(72),R=n(86),k=n(118);function P(){return(P=w()(j.a.mark((function e(t,n){var r,o,a,s,c,u,l,p;return j.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.text,o=h()(n,["text"]),a=new _.Paper(r,o),e.prev=2,e.next=5,t.analyze(a);case 5:s=e.sent,c=s.result,u=c.seo,l=c.readability,u&&((p=u[""]).results=Object(R.sortResultsByIdentifier)(p.results),Object(i.dispatch)("yoast-seo/editor").setSeoResultsForKeyword(a.getKeyword(),p.results),Object(i.dispatch)("yoast-seo/editor").setOverallSeoScore(p.score,a.getKeyword())),l&&(l.results=Object(R.sortResultsByIdentifier)(l.results),Object(i.dispatch)("yoast-seo/editor").setReadabilityResults(l.results),Object(i.dispatch)("yoast-seo/editor").setOverallReadabilityScore(l.score)),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),Object(S.a)();case 14:case"end":return e.stop()}}),e,null,[[2,11]])})))).apply(this,arguments)}var D=Object(E.debounce)((function(_x,e){return P.apply(this,arguments)}),T.refreshDelay);function x(){var e=function(e){return e.title=g("data_page_title",e.title),e.title=g("title",e.title),e.description=g("data_meta_desc",e.description),e.text=g("content",e.text),e}((0,Object(i.select)("yoast-seo/editor").getAnalysisData)());return Object(s.applyFilters)("yoast.analysis.data",e)}var A=n(0),C=n(3),I=n(12),M=n(5),N=n.n(M),L=n(7),F=n.n(L),q=n(13),B=n.n(q),U=n(14),K=n.n(U),V=n(8),Y=n.n(V);function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Y()(e);if(t){var o=Y()(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return K()(this,n)}}var W=function(e){B()(n,e);var t=H(n);function n(e,r,o){var a;return N()(this,n),(a=t.call(this)).hook=e,a.id=r,a.callback=o,a}return F()(n,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),n}($e.modules.hookUI.Base),G=function(e){B()(n,e);var t=H(n);function n(e,r,o){var a;return N()(this,n),(a=t.call(this)).hook=e,a.id=r,a.callback=o,a}return F()(n,[{key:"getCommand",value:function(){return this.hook}},{key:"getId",value:function(){return this.id}},{key:"apply",value:function(){return this.callback()}}]),n}($e.modules.hookData.Base);function z(e,t,n){$e.hooks.registerUIAfter(new W(e,t,n))}var $=n(30),Q=n.n($),Z=n(18),X=n(20),J=n(103);var ee=[],te=null,ne=function(e){B()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Y()(t);if(n){var o=Y()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return K()(this,e)});function o(e){var t;return N()(this,o),(t=r.call(this,e)).state={registeredComponents:[]},t}return F()(o,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(Q()(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(A.createElement)(t,{key:n})}))}}]),o}(A.Component);function re(e,t){null===te||null===te.current?ee.push({key:e,Component:t}):te.current.registerComponent(e,t)}var oe=n(120);function ae(){return Object(A.createElement)(Z.Slot,{name:"YoastElementor"},(function(e){return Object(oe.a)(e)}))}var ie=n(19),se=n(1),ce=n.n(se),ue=n(124),le=n(6);function pe(e){return 0===e.message.length?null:Object(A.createElement)(le.Alert,{type:e.type},e.message)}pe.propTypes={message:ce.a.oneOfType([ce.a.array,ce.a.string]).isRequired,type:ce.a.string.isRequired};var de=Object(i.withSelect)((function(e){return{message:(0,e("yoast-seo/editor").getWarningMessage)(),type:"info"}}))(pe),fe=n(125),me=n(126),ge=n(122),be=n(32),ye=n(84),he=n(10),Oe=n.n(he),we=n(27),ve=n.n(we),je=n(147),Ee=n(112),_e=n(57),Te=n(9),Se={name:"category",label:"Category",placeholder:"%%category%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.category","")},regexp:new RegExp("%%category%%","g")},Re={name:"currentyear",label:"Current year",placeholder:"%%currentyear%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.currentyear","")},regexp:new RegExp("%%currentyear%%","g")},ke={name:"date",label:"Date",placeholder:"%%date%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.date","")},regexp:new RegExp("%%date%%","g")},Pe={name:"excerpt",label:"Excerpt",placeholder:"%%excerpt%%",aliases:[{name:"excerpt_only",label:"Excerpt only",placeholder:"%%excerpt_only%%"}],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getEditorDataExcerptWithFallback()},regexp:new RegExp("%%excerpt%%|%%excerpt_only%%","g")},De={name:"focuskw",label:"Focus keyphrase",placeholder:"%%focuskw%%",aliases:[],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getFocusKeyphrase()},regexp:new RegExp("%%focuskw%%|%%keyword%%","g")},xe={name:"id",label:"ID",placeholder:"%%id%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.id","")},regexp:new RegExp("%%id%%","g")},Ae={name:"modified",label:"Modified",placeholder:"%%modified%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.modified","")},regexp:new RegExp("%%modified%%","g")},Ce={name:"name",label:"Name",placeholder:"%%name%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.name","")},regexp:new RegExp("%%name%%","g")},Ie={name:"page",label:"Page",placeholder:"%%page%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.page","")},regexp:new RegExp("%%page%%","g")},Me={name:"pagenumber",label:"Pagenumber",placeholder:"%%pagenumber%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagenumber","")},regexp:new RegExp("%%pagenumber%%","g")},Ne={name:"pagetotal",label:"Pagetotal",placeholder:"%%pagetotal%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pagetotal","")},regexp:new RegExp("%%pagetotal%%","g")},Le={name:"pt_plural",label:"Post type (plural)",placeholder:"%%pt_plural%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_plural","")},regexp:new RegExp("%%pt_plural%%","g")},Fe={name:"pt_single",label:"Post type (singular)",placeholder:"%%pt_single%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.pt_single","")},regexp:new RegExp("%%pt_single%%","g")},qe={name:"primary_category",label:"Primary category",placeholder:"%%primary_category%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.primary_category","")},regexp:new RegExp("%%primary_category%%","g")},Be={name:"searchphrase",label:"Search phrase",placeholder:"%%searchphrase%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.searchphrase","")},regexp:new RegExp("%%searchphrase%%","g")},Ue={name:"sep",label:"Separator",placeholder:"%%sep%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sep","")},regexp:new RegExp("%%sep%%(\\s*%%sep%%)*","g")},Ke={name:"sitedesc",label:"Tagline",placeholder:"%%sitedesc%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitedesc","")},regexp:new RegExp("%%sitedesc%%","g")},Ve={name:"sitename",label:"Site title",placeholder:"%%sitename%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.sitename","")},regexp:new RegExp("%%sitename%%","g")},Ye={name:"tag",label:"Tag",placeholder:"%%tag%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.tag","")},regexp:new RegExp("%%tag%%","g")},He={name:"term404",label:"Term404",placeholder:"%%term404%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term404","")},regexp:new RegExp("%%term404%%","g")},We={name:"term_description",label:"Term description",placeholder:"%%term_description%%",aliases:[{name:"tag_description",label:"Tag description",placeholder:"%%tag_description%%"},{name:"category_description",label:"Category description",placeholder:"%%category_description%%"}],getReplacement:function(){return Object(E.get)(window,"YoastSEO.app.rawData.text","")},regexp:new RegExp("%%term_description%%|%%tag_description%%|%%category_description%%","g")},Ge={name:"term_hierarchy",label:"Term hierarchy",placeholder:"%%term_hierarchy%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_hierarchy","")},regexp:new RegExp("%%term_hierarchy%%","g")},ze={name:"term_title",label:"Term title",placeholder:"%%term_title%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.term_title","")},regexp:new RegExp("%%term_title%%","g")},Qe={name:"title",label:"Title",placeholder:"%%title%%",aliases:[],getReplacement:function(){return Object(i.select)("yoast-seo/editor").getEditorDataTitle()},regexp:new RegExp("%%title%%","g")},Ze={name:"user_description",label:"User description",placeholder:"%%user_description%%",aliases:[],getReplacement:function(){return Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.replace_vars.user_description","")},regexp:new RegExp("%%user_description%%","g")},Xe=n(31),Je=null,et=null,tt=function(e){["content","title","snippet_title","snippet_meta","primary_category","data_page_title","data_meta_desc","excerpt"].forEach((function(t){f(t,e,"replaceVariablePlugin",10)}))},nt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(""===e&&(e=Object(E.get)(window,"wpseoScriptData.analysis.plugins.replaceVars.scope","")),e){case"post":case"page":return["category","currentYear","date","excerpt","id","focusKeyphrase","modified","name","page","primaryCategory","pageNumber","pageTotal","postTypeNamePlural","postTypeNameSingular","searchPhrase","separator","siteDescription","siteName","tag","title","userDescription"]}return[]},rt=function(e){return tt((function(t){return t.replace(new RegExp(e.placeholder,"g"),e.replacement)}))},ot=function(){return null===et&&(et=[],(null===Je&&(Je=nt().map((function(e){return r[e]}))),Je).forEach((function(e){et.push({name:e.name,label:e.label,value:e.placeholder}),e.aliases.forEach((function(e){et.push({name:e.name,label:e.label,value:e.placeholder})}))}))),et};var at=Te.strings.stripHTMLTags,it=function(e,t){var n=Object(i.select)("yoast-seo/editor").getSnippetEditorTemplates();""===e.title&&(e.title=n.title),""===e.description&&(e.description=n.description);var r=0;return t.shortenedBaseUrl&&"string"==typeof t.shortenedBaseUrl&&(r=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[r]&&(e.url=e.url.slice(0,r)+e.url.slice(r+1)),{url:e.url,title:at(g("data_page_title",e.title)),description:at(g("data_meta_desc",e.description))}},st=function(e){var t=e.isLoading,n=e.onLoad,r=e.location,o=h()(e,["isLoading","onLoad","location"]);return Object(A.useEffect)((function(){setTimeout((function(){t&&n()}))})),t?null:Object(A.createElement)(Ee.a,{icon:"eye",hasPaperStyle:o.hasPaperStyle},Object(A.createElement)(je.SnippetEditor,ve()({},o,{descriptionPlaceholder:Object(C.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:it,showCloseButton:!1,idSuffix:r})))};st.propTypes={isLoading:ce.a.bool.isRequired,onLoad:ce.a.func.isRequired,hasPaperStyle:ce.a.bool.isRequired,location:ce.a.string.isRequired};var ct=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getBaseUrlFromSettings,r=t.getDateFromSettings,o=t.getEditorDataImageUrl,a=t.getFocusKeyphrase,i=t.getRecommendedReplaceVars,s=t.getSiteIconUrlFromSettings,c=t.getSnippetEditorData,u=t.getSnippetEditorIsLoading,l=t.getSnippetEditorMode,p=t.getSnippetEditorWordsToHighlight;return{baseUrl:n(),data:c(),date:r(),faviconSrc:s(),isLoading:u(),keyword:a(),mobileImageSrc:o(),mode:l(),recommendedReplacementVariables:i(),replacementVariables:ot(),wordsToHighlight:p()}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.updateData,r=t.switchMode,o=t.updateAnalysisData;return{onChange:function(e,t){switch(e){case"mode":r(t);break;case"slug":n({slug:t});break;default:n(Oe()({},e,t))}},onChangeAnalysisData:function(e){o(e)},onLoad:t.loadSnippetEditorData}})),Object(_e.a)()])(st),ut=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},Object(A.createElement)(ct,{showCloseButton:!1,hasPaperStyle:!1}))},lt=n(148),pt=null,dt=function(){return(pt||(pt=window.wp.media()).on("select",(function(){var e=pt.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};Object(i.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:Object(Te.validateTwitterImage)(t)})})),pt).open()},ft=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,o=t.getTwitterImageUrl,a=t.getFacebookImageUrl,i=t.getFacebookTitle,s=t.getFacebookDescription,c=t.getDescription,u=t.getSeoTitle,l=t.getTwitterWarnings,p=t.getTwitterImageType,d=t.getEditorDataImageFallback,f=t.getRecommendedReplaceVars,m=t.getSiteUrl,g=t.getAuthorName,b=t.getSeoTitleTemplate,y=t.getSeoTitleTemplateNoFallback,h=t.getSocialTitleTemplate,O=t.getSeoDescriptionTemplate,w=t.getSocialDescriptionTemplate,v=t.getEditorDataExcerptWithFallback,j=Object(C.sprintf)(
72
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
73
  Object(C.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),E=Object(C.sprintf)(
74
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
75
  Object(C.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");
76
- /* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:o(),imageFallbackUrl:a()||d(),recommendedReplacementVariables:f(),replacementVariables:ot(),description:n(),descriptionPreviewFallback:w()||s()||c()||O()||v()||E,title:r(),titlePreviewFallback:h()||i()||u()||y()||b()||j,imageWarnings:l(),authorName:g(),siteUrl:m(),isPremium:!!Object(X.a)().isPremium,isLarge:"summary"!==p(),titleInputPlaceholder:j,descriptionInputPlaceholder:E,socialMediumName:"Twitter"}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:dt,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(_e.a)()])(lt.a),mt=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},Object(A.createElement)(ft,null))},gt=n(150),bt=null,yt=function(){return(bt||(bt=window.wp.media()).on("select",(function(){var e=bt.state().get("selection").first(),t={type:e.attributes.subtype,width:e.attributes.width,height:e.attributes.height};Object(i.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.attributes.url,id:e.attributes.id,warnings:Object(Te.validateFacebookImage)(t)})})),bt).open()},ht=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescription,o=t.getFacebookTitle,a=t.getSeoTitle,i=t.getFacebookImageUrl,s=t.getEditorDataImageFallback,c=t.getFacebookWarnings,u=t.getRecommendedReplaceVars,l=t.getSiteUrl,p=t.getAuthorName,d=t.getSeoTitleTemplate,f=t.getSeoTitleTemplateNoFallback,m=t.getSocialTitleTemplate,g=t.getSeoDescriptionTemplate,b=t.getSocialDescriptionTemplate,y=t.getEditorDataExcerptWithFallback,h=Object(C.sprintf)(
77
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
78
  Object(C.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),O=Object(C.sprintf)(
79
  /* Translators: %s expands to the social medium name, i.e. Faceboook. */
80
  Object(C.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");
81
- /* Translators: %s expands to the social medium name, i.e. Faceboook. */return{imageUrl:i(),imageFallbackUrl:s(),recommendedReplacementVariables:u(),replacementVariables:ot(),description:n(),descriptionPreviewFallback:b()||r()||g()||y()||O,title:o(),titlePreviewFallback:m()||a()||f()||d()||h,imageWarnings:c(),authorName:p(),siteUrl:l(),isPremium:!!Object(X.a)().isPremium,titleInputPlaceholder:h,descriptionInputPlaceholder:O,socialMediumName:"Facebook"}})),Object(i.withDispatch)((function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:yt,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}})),Object(_e.a)()])(gt.a),Ot=function(){return Object(A.createElement)(ye.a,{title:Object(C.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},Object(A.createElement)(ht,null))},wt=n(50),vt=n(127),jt=n(128),Et=n(115);function _t(e){var t=e.isLoading,n=e.onLoad,r=e.settings;return Object(A.useEffect)((function(){setTimeout((function(){t&&n()}))})),t?null:Object(A.createElement)(Z.Fill,{name:"YoastElementor"},Object(A.createElement)(be.a,{renderPriority:1},Object(A.createElement)(de,null)),r.isKeywordAnalysisActive&&Object(A.createElement)(be.a,{renderPriority:8},Object(A.createElement)(fe.a,{isSEMrushIntegrationActive:r.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&Object(A.createElement)(Z.Fill,{name:"YoastRelatedKeyphrases"},Object(A.createElement)(Et.a,null))),Object(A.createElement)(be.a,{renderPriority:23},Object(A.createElement)(ut,null)),r.displayFacebook&&Object(A.createElement)(be.a,{renderPriority:24},Object(A.createElement)(Ot,null)),r.displayTwitter&&Object(A.createElement)(be.a,{renderPriority:25},Object(A.createElement)(mt,null)),r.displaySchemaSettings&&Object(A.createElement)(be.a,{renderPriority:26},Object(A.createElement)(wt.a,{title:Object(C.__)("Schema","wordpress-seo")},Object(A.createElement)(vt.a,null))),r.displayAdvancedTab&&Object(A.createElement)(be.a,{renderPriority:27},Object(A.createElement)(wt.a,{title:Object(C.__)("Advanced","wordpress-seo")},Object(A.createElement)(jt.a,{location:"sidebar"}))),r.isContentAnalysisActive&&Object(A.createElement)(be.a,{renderPriority:10},Object(A.createElement)(me.a,null)),r.isKeywordAnalysisActive&&Object(A.createElement)(be.a,{renderPriority:20},Object(A.createElement)(ge.a,{shouldUpsell:r.shouldUpsell,shouldUpsellWordFormRecognition:r.isWordFormRecognitionActive})),r.isCornerstoneActive&&Object(A.createElement)(be.a,{renderPriority:30},Object(A.createElement)(ue.a,null)))}_t.propTypes={isLoading:ce.a.bool.isRequired,onLoad:ce.a.func.isRequired,settings:ce.a.object.isRequired};var Tt,St=Object(ie.compose)([Object(i.withSelect)((function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getSnippetEditorIsLoading;return{settings:n(),isLoading:r()}})),Object(i.withDispatch)((function(e){return{onLoad:e("yoast-seo/editor").loadSnippetEditorData}}))])(_t),Rt=!1;function kt(e){e.oldValue=e.value}function Pt(){Tt.forEach((function(e){return kt(e)}))}var Dt=Object(E.debounce)((function(){var e;Rt&&(
82
  /* Translators: %1$s translates to the Post Label in singular form */
83
- e=Object(C.sprintf)(Object(C.__)("Unfortunately we cannot save changes to your SEO settings while you are working on a draft of an already-published %1$s. If you want to save your SEO changes, make sure to click 'Update', or wait to make your SEO changes until you are ready to update the %1$s.","wordpress-seo"),window.wpseoAdminL10n.postTypeNameSingular.toLowerCase())),"draft"===window.elementor.settings.page.model.get("post_status")&&(e=""),Object(i.dispatch)("yoast-seo/editor").setWarningMessage(e)}),500,{trailing:!0});function xt(e){"yoast_wpseo_linkdex"!==e.name&&"yoast_wpseo_content_score"!==e.name&&"yoast_wpseo_words_for_linking"!==e.name&&e.value!==e.oldValue&&(Rt=!0,Dt(),window.$e.internal("document/save/set-is-modified",{status:!0}),kt(e))}function At(e){Rt=!1;var t=jQuery(e).serializeArray().reduce((function(e,t){var n=t.name,r=t.value;return e[n]=r,e}),{});jQuery.post(e.getAttribute("action"),t,(function(e,n,r){var o=e.success,a=e.data;o?(Object(s.doAction)("yoast.elementor.save.success",r),a.slug&&a.slug!==t.slug&&Object(i.dispatch)("yoast-seo/editor").updateData({slug:a.slug}),Pt(),Dt()):Rt=!0}))}function Ct(){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=re,window.$e.routes.on("run:after",(function(e,t){"panel/page-settings/yoast-tab"===t&&function(e,t){var n=Object(X.a)();te=Object(A.createRef)();var r={isRtl:n.isRtl};Object(A.render)(Object(A.createElement)(J.a,{theme:r,location:"sidebar"},Object(A.createElement)(Z.SlotFillProvider,null,Object(A.createElement)(A.Fragment,null,t,Object(A.createElement)(ne,{ref:te})))),document.getElementById("elementor-panel-page-settings-controls")),ee.forEach((function(e){te.current.registerComponent(e.key,e.Component)}))}(0,Object(A.createElement)(I.StyleSheetManager,{target:document.getElementById("elementor-panel-inner")},Object(A.createElement)("div",{className:"yoast yoast-elementor-panel__fills"},Object(A.createElement)(ae,null),Object(A.createElement)(St,null))))})),window.elementor.settings.page.model.on("change",(function(e){e.changed&&e.changed.post_status&&Dt()}));var e,t=At.bind(null,document.getElementById("yoast-form"));e=function(){window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&t()},$e.hooks.registerDataAfter(new G("document/save/save","yoast-seo-save",e)),window.elementor.modules.layouts.panel.pages.menu.Menu.addItem({name:"yoast",icon:"yoast yoast-element-menu-icon",title:"Yoast SEO",type:"page",callback:function(){try{window.$e.routes.run("panel/page-settings/yoast-tab")}catch(e){window.$e.routes.run("panel/page-settings/settings"),window.$e.routes.run("panel/page-settings/yoast-tab")}}},"more"),Tt=document.querySelectorAll("input[name^='yoast']"),Pt(),setInterval((function(){return Tt.forEach(xt)}),500)}var It=n(185),Mt=n(156),Nt=n(25),Lt=n(71),Ft=n(73),qt=function(e){var t=Object(Ft.getSnippetEditorTitleWithTemplate)(e),n=Object(Ft.getSnippetEditorDescriptionWithTemplate)(e),r=Object(Ft.getSnippetEditorSlug)(e),o=Object(Ft.getBaseUrlFromSettings)(e);return t=Te.strings.stripHTMLTags(g("data_page_title",t)),n=Te.strings.stripHTMLTags(g("data_meta_desc",n)),r=r.trim().replace(/\s+/g,"-"),{text:Object(Ft.getEditorDataContent)(e),title:t,keyword:Object(Ft.getFocusKeyphrase)(e),description:n,locale:Object(Ft.getContentLocale)(e),titleWidth:Object(Lt.a)(t),url:r,permalink:o+r}},Bt=n(152),Ut=function(){function e(){N()(this,e)}return F()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_title":"hidden_wpseo_title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_metadesc":"hidden_wpseo_desc")}},{key:"slugElement",get:function(){return document.getElementById("yoast_wpseo_slug")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"slug",get:function(){return e.slugElement.value},set:function(t){e.slugElement.value=t}}]),e}();function Kt(e){if(e.hasOwnProperty("title")){var t=e.title;e.title===Object(E.get)(window,"wpseoScriptData.metabox.title_template","")&&(t=""),Ut.title=t}if(e.hasOwnProperty("description")){var n=e.description;e.description===Object(E.get)(window,"wpseoScriptData.metabox.metadesc_template","")&&(n=""),Ut.description=n}return e.hasOwnProperty("slug")&&(Ut.slug=e.slug),{type:Nt.UPDATE_DATA,data:e}}var Vt=function(){var e=Object(E.get)(window,"wpseoScriptData.metabox.title_template",""),t=Object(E.get)(window,"wpseoScriptData.metabox.metadesc_template","");return{type:Nt.LOAD_SNIPPET_EDITOR_DATA,data:{title:Ut.title||e,description:Ut.description||t,slug:Ut.slug},templates:{title:e,description:t}}};function Yt(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 Ht(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yt(Object(n),!0).forEach((function(t){Oe()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wt=n(153),Gt={content:"",title:"",excerpt:"",slug:"",imageUrl:""};function zt(e){var t=window.elementor.settings.page.model.get("post_featured_image"),n=Object(E.get)(t,"url","");return""===n?function(e){var t=_.languageProcessing.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=jQuery(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}(e):n}var $t=Object(E.debounce)((function(){var e=window.elementor.documents.getCurrent();if(["wp-post","wp-page"].includes(e.config.type)){var t,n={content:t=function(e){var t=[];return e.$element.find(".elementor-widget-container").each((function(e,n){t.push(n.innerHTML.trim())})),t.join("")}(e),title:window.elementor.settings.page.model.get("post_title"),excerpt:window.elementor.settings.page.model.get("post_excerpt")||"",imageUrl:zt(t)};n.content!==Gt.content&&(Gt.content=n.content,Object(i.dispatch)("yoast-seo/editor").setEditorDataContent(Gt.content)),n.title!==Gt.title&&(Gt.title=n.title,Object(i.dispatch)("yoast-seo/editor").setEditorDataTitle(Gt.title)),n.excerpt!==Gt.excerpt&&(Gt.excerpt=n.excerpt,Object(i.dispatch)("yoast-seo/editor").setEditorDataExcerpt(Gt.excerpt)),n.imageUrl!==Gt.imageUrl&&(Gt.imageUrl=n.imageUrl,Object(i.dispatch)("yoast-seo/editor").setEditorDataImageUrl(Gt.imageUrl))}}),500);function Qt(e,t){var n=Object(i.dispatch)("yoast-seo/editor").updateWordsToHighlight;e("morphology",new _.Paper("",{keyword:t})).then((function(e){var t=e.result.keyphraseForms;n(Object(E.uniq)(Object(E.flatten)(t)))})).catch((function(){n([])}))}var Zt=Object(E.debounce)(Qt,500);function Xt(){var e,t,n,c;window.YoastSEO=window.YoastSEO||{},window.YoastSEO.store=(function(e){e.dispatch(Nt.loadCornerstoneContent()),e.dispatch(Nt.loadFocusKeyword()),e.dispatch(Nt.setMarkerStatus("hidden")),e.dispatch(Nt.setSettings({socialPreviews:{sitewideImage:window.wpseoScriptData.metabox.sitewide_social_image,authorName:window.wpseoScriptData.metabox.author_name,siteName:window.wpseoScriptData.metabox.site_name,contentImage:window.wpseoScriptData.metabox.first_content_image,twitterCardType:window.wpseoScriptData.metabox.twitterCardType},snippetEditor:{baseUrl:window.wpseoScriptData.metabox.base_url,date:window.wpseoScriptData.metabox.metaDescriptionDate,recommendedReplacementVariables:window.wpseoScriptData.analysis.plugins.replaceVars.recommended_replace_vars,siteIconUrl:window.wpseoScriptData.metabox.siteIconUrl}}));var t=window.wpseoScriptData.metabox.showSocial,n=t.facebook,r=t.twitter;n&&e.dispatch(Nt.loadFacebookPreviewData()),r&&e.dispatch(Nt.loadTwitterPreviewData()),e.dispatch(Nt.setSEMrushChangeCountry(window.wpseoScriptData.metabox.countryCode)),e.dispatch(Nt.setSEMrushLoginStatus(window.wpseoScriptData.metabox.SEMrushLoginStatus))}(c=Object(i.registerStore)("yoast-seo/editor",{reducer:Object(i.combineReducers)(Mt.a),selectors:Ht(Ht({},Ft),o),actions:Object(E.pickBy)(Ht(Ht({},Nt),a),(function(e){return"function"==typeof e})),controls:Bt})),c),z("editor/documents/attach-preview","yoast-seo-content-scraper-attach-preview",$t),z("document/save/set-is-modified","yoast-seo-content-scraper-on-modified",$t),window.YoastSEO.pluginReady=p,window.YoastSEO.pluginReloaded=d,window.YoastSEO.registerModification=f,window.YoastSEO.registerPlugin=m,window.YoastSEO.applyModifications=g,window.YoastSEO.analysis=window.YoastSEO.analysis||{},window.YoastSEO.analysis.run=Object(i.dispatch)("yoast-seo/editor").runAnalysis,window.YoastSEO.analysis.worker=function(){var e=Object(i.select)("yoast-seo/editor"),t=e.getAnalysisTimestamp,n=e.isCornerstoneContent,r=Object(k.a)();r.initialize(Object(k.b)({useCornerstone:n()})).catch(S.a);var o=x(),a=n(),s=t();return Object(i.subscribe)((function(){var e=n(),i=x(),c=t();if(e!==a)return a=e,o=i,void r.initialize({useCornerstone:e}).then((function(){return D(r,i)})).catch(S.a);c===s&&!1!==Object(E.isEqual)(i,o)||(o=i,s=c,D(r,i))})),r}(),window.YoastSEO.analysis.collectData=x,m("replaceVariablePlugin",{status:"ready"}),nt().forEach((function(e){var t,n,o,a=(n=(t=r[e]).getReplacement,o=t.regexp,function(e){return e.replace(o,n())});tt(a)})),window.YoastSEO.wp=window.YoastSEO.wp||{},window.YoastSEO.wp.replaceVarsPlugin={addReplacement:rt,ReplaceVar:Xe.a},function(){var e=Object(X.a)(),t=Object(E.get)(window,["wpseoScriptData","analysis","worker","keywords_assessment_url"],"used-keywords-assessment.js"),n=new Wt.a("get_focus_keyword_usage",e,Object(i.dispatch)("yoast-seo/editor").runAnalysis,t);n.init();var r="";Object(i.subscribe)((function(){var e=Object(i.select)("yoast-seo/editor").getFocusKeyphrase();e!==r&&(r=e,n.setKeyword(e))}))}(),Object(It.a)(),e=window.YoastSEO.analysis.worker.runResearch,t=Object(i.select)("yoast-seo/editor").getFocusKeyphrase,n=t(),Qt(e,n),Object(i.subscribe)((function(){var r=t();n!==r&&(n=r,Zt(e,r))})),function(){if(!0!==window.elementor.config.user.introduction["yoast-introduction"]){var e=new window.elementorModules.editor.utils.Introduction({introductionKey:"yoast-introduction",dialogOptions:{id:"yoast-introduction",className:"elementor-right-click-introduction",headerMessage:Object(C.__)("New: Yoast SEO for Elementor","wordpress-seo"),message:Object(C.__)("Get started with Yoast SEO's content analysis for Elementor!","wordpress-seo"),position:{my:"left top",at:"right top",autoRefresh:!0},hide:{onOutsideClick:!1}},onDialogInitCallback:function(t){window.$e.routes.on("run:after",(function(e,n){"panel/menu"===n&&t.getElements("ok").click()})),t.addButton({name:"ok",text:Object(C.__)("Got it","wordpress-seo"),callback:function(){return e.setViewed()}}),t.getElements("ok").addClass("elementor-button elementor-button-success")}});setTimeout((function t(){try{e.show(window.elementor.getPanelView().header.currentView.ui.menuButton[0])}catch(e){setTimeout(t,100)}}),100)}}(),Ct(),Object(s.doAction)("yoast.elementor.loaded")}Object(b.setYoastComponentsL10n)(),Object(b.setWordPressSeoL10n)(),jQuery(window).on("elementor:init",(function(){window.elementor.on("panel:init",(function(){setTimeout(Xt)}))}))}]);
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=347)}([function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.propTypes},function(e,t){e.exports=window.lodash},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t){e.exports=window.yoast.componentsNew},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=window.yoast.helpers},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){var r=n(70);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r(e,t)}},function(e,t,n){var r=n(34),o=n(11);e.exports=function(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?o(e):t}},function(e,t){e.exports=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}},function(e,t){e.exports=window.React},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"c",(function(){return s})),n.d(t,"b",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"a",(function(){return l})),n.d(t,"j",(function(){return d})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return f})),n.d(t,"m",(function(){return m})),n.d(t,"i",(function(){return g})),n.d(t,"h",(function(){return b}));var r=n(9),o="SNIPPET_EDITOR_SWITCH_MODE",a="SNIPPET_EDITOR_UPDATE_DATA",i="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",c="SNIPPET_EDITOR_REFRESH",u="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT",l="LOAD_SNIPPET_EDITOR_DATA";function d(e){return{type:o,mode:e}}function p(e){return{type:a,data:e}}function f(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?Object(r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}}function m(e){return{type:u,wordsToHighlight:e}}function g(e){return{type:s,name:e}}function b(){return{type:c,time:(new Date).getMilliseconds()}}},function(e,t){e.exports=window.wp.components},function(e,t){e.exports=window.wp.compose},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(2);function o(){return Object(r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})}},,function(e,t){e.exports=window.yoast.components},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";n.r(t),n.d(t,"SET_ACTIVE_MARKER",(function(){return a.a})),n.d(t,"setActiveMarker",(function(){return a.b})),n.d(t,"SET_NO_INDEX",(function(){return i.f})),n.d(t,"SET_NO_FOLLOW",(function(){return i.e})),n.d(t,"SET_ADVANCED",(function(){return i.b})),n.d(t,"SET_BREADCRUMBS_TITLE",(function(){return i.c})),n.d(t,"SET_CANONICAL_URL",(function(){return i.d})),n.d(t,"LOAD_ADVANCED_SETTINGS",(function(){return i.a})),n.d(t,"setNoIndex",(function(){return i.l})),n.d(t,"setNoFollow",(function(){return i.k})),n.d(t,"setAdvanced",(function(){return i.h})),n.d(t,"setBreadcrumbsTitle",(function(){return i.i})),n.d(t,"setCanonical",(function(){return i.j})),n.d(t,"loadAdvancedSettingsData",(function(){return i.g})),n.d(t,"UPDATE_SNIPPET_DATA",(function(){return s})),n.d(t,"RUN_ANALYSIS",(function(){return c})),n.d(t,"updateAnalysisData",(function(){return u})),n.d(t,"runAnalysis",(function(){return l})),n.d(t,"LOAD_CORNERSTONE_CONTENT",(function(){return d.a})),n.d(t,"TOGGLE_CORNERSTONE_CONTENT",(function(){return d.c})),n.d(t,"SET_CORNERSTONE_CONTENT",(function(){return d.b})),n.d(t,"loadCornerstoneContent",(function(){return d.d})),n.d(t,"setCornerstoneContent",(function(){return d.e})),n.d(t,"toggleCornerstoneContent",(function(){return d.f})),n.d(t,"SET_EDITOR_DATA_CONTENT",(function(){return p})),n.d(t,"SET_EDITOR_DATA_TITLE",(function(){return f})),n.d(t,"SET_EDITOR_DATA_EXCERPT",(function(){return m})),n.d(t,"SET_EDITOR_DATA_IMAGE_URL",(function(){return g})),n.d(t,"setEditorDataContent",(function(){return b})),n.d(t,"setEditorDataTitle",(function(){return y})),n.d(t,"setEditorDataExcerpt",(function(){return h})),n.d(t,"setEditorDataImageUrl",(function(){return O})),n.d(t,"OPEN_EDITOR_MODAL",(function(){return w})),n.d(t,"CLOSE_EDITOR_MODAL",(function(){return v})),n.d(t,"openEditorModal",(function(){return j})),n.d(t,"closeEditorModal",(function(){return E})),n.d(t,"SET_ESTIMATED_READING_TIME",(function(){return _.b})),n.d(t,"LOAD_ESTIMATED_READING_TIME",(function(){return _.a})),n.d(t,"setEstimatedReadingTime",(function(){return _.d})),n.d(t,"loadEstimatedReadingTime",(function(){return _.c})),n.d(t,"LOAD_FOCUS_KEYWORD",(function(){return T.a})),n.d(t,"SET_FOCUS_KEYWORD",(function(){return T.b})),n.d(t,"loadFocusKeyword",(function(){return T.c})),n.d(t,"setFocusKeyword",(function(){return T.d})),n.d(t,"SET_MARKER_STATUS",(function(){return S.a})),n.d(t,"setMarkerStatus",(function(){return S.b})),n.d(t,"SET_MARKER_PAUSE_STATUS",(function(){return k.a})),n.d(t,"setMarkerPauseStatus",(function(){return k.b})),n.d(t,"DISMISS_ALERT",(function(){return R.a})),n.d(t,"DISMISS_ALERT_SUCCESS",(function(){return R.b})),n.d(t,"dismissAlert",(function(){return R.c})),n.d(t,"SET_PRIMARY_TAXONOMY",(function(){return P.a})),n.d(t,"setPrimaryTaxonomyId",(function(){return P.b})),n.d(t,"SET_PAGE_TYPE",(function(){return D.d})),n.d(t,"SET_ARTICLE_TYPE",(function(){return D.c})),n.d(t,"GET_SCHEMA_PAGE_DATA",(function(){return D.b})),n.d(t,"GET_SCHEMA_ARTICLE_DATA",(function(){return D.a})),n.d(t,"setPageType",(function(){return D.h})),n.d(t,"setArticleType",(function(){return D.g})),n.d(t,"getSchemaPageData",(function(){return D.f})),n.d(t,"getSchemaArticleData",(function(){return D.e})),n.d(t,"MODAL_DISMISS",(function(){return x})),n.d(t,"MODAL_OPEN",(function(){return A})),n.d(t,"MODAL_OPEN_NO_KEYPHRASE",(function(){return C})),n.d(t,"setSEMrushDismissModal",(function(){return I})),n.d(t,"setSEMrushOpenModal",(function(){return M})),n.d(t,"setSEMrushNoKeyphraseMessage",(function(){return N})),n.d(t,"CHANGE_COUNTRY",(function(){return L.a})),n.d(t,"SET_REQUEST_SUCCEEDED",(function(){return L.g})),n.d(t,"SET_REQUEST_FAILED",(function(){return L.e})),n.d(t,"SET_REQUEST_LIMIT_REACHED",(function(){return L.f})),n.d(t,"NEW_REQUEST",(function(){return L.b})),n.d(t,"NO_DATA_FOUND",(function(){return L.c})),n.d(t,"SET_LOGIN_STATUS",(function(){return L.d})),n.d(t,"setSEMrushNewRequest",(function(){return L.j})),n.d(t,"setSEMrushRequestSucceeded",(function(){return L.m})),n.d(t,"setSEMrushRequestFailed",(function(){return L.l})),n.d(t,"setSEMrushSetRequestLimitReached",(function(){return L.n})),n.d(t,"setSEMrushChangeCountry",(function(){return L.h})),n.d(t,"setSEMrushNoResultsFound",(function(){return L.k})),n.d(t,"setSEMrushLoginStatus",(function(){return L.i})),n.d(t,"SET_SETTINGS",(function(){return F.b})),n.d(t,"SET_CONTENT_IMAGE",(function(){return F.a})),n.d(t,"setSettings",(function(){return F.d})),n.d(t,"setContentImage",(function(){return F.c})),n.d(t,"SET_SHOPPING_DATA",(function(){return q.a})),n.d(t,"setShoppingData",(function(){return q.b})),n.d(t,"SWITCH_MODE",(function(){return B.d})),n.d(t,"UPDATE_DATA",(function(){return B.e})),n.d(t,"UPDATE_REPLACEMENT_VARIABLE",(function(){return B.f})),n.d(t,"REMOVE_REPLACEMENT_VARIABLE",(function(){return B.c})),n.d(t,"REFRESH",(function(){return B.b})),n.d(t,"UPDATE_WORDS_TO_HIGHLIGHT",(function(){return B.g})),n.d(t,"LOAD_SNIPPET_EDITOR_DATA",(function(){return B.a})),n.d(t,"switchMode",(function(){return B.j})),n.d(t,"updateData",(function(){return B.k})),n.d(t,"updateReplacementVariable",(function(){return B.l})),n.d(t,"updateWordsToHighlight",(function(){return B.m})),n.d(t,"removeReplacementVariable",(function(){return B.i})),n.d(t,"refreshSnippetEditor",(function(){return B.h})),n.d(t,"SET_TWITTER_TITLE",(function(){return U.e})),n.d(t,"SET_TWITTER_DESCRIPTION",(function(){return U.c})),n.d(t,"SET_TWITTER_IMAGE",(function(){return U.d})),n.d(t,"CLEAR_TWITTER_IMAGE",(function(){return U.a})),n.d(t,"LOAD_TWITTER_PREVIEW",(function(){return U.b})),n.d(t,"setTwitterPreviewTitle",(function(){return U.j})),n.d(t,"setTwitterPreviewDescription",(function(){return U.h})),n.d(t,"setTwitterPreviewImage",(function(){return U.i})),n.d(t,"clearTwitterPreviewImage",(function(){return U.f})),n.d(t,"loadTwitterPreviewData",(function(){return U.g})),n.d(t,"SET_FACEBOOK_TITLE",(function(){return K.e})),n.d(t,"SET_FACEBOOK_DESCRIPTION",(function(){return K.c})),n.d(t,"SET_FACEBOOK_IMAGE",(function(){return K.d})),n.d(t,"CLEAR_FACEBOOK_IMAGE",(function(){return K.a})),n.d(t,"LOAD_FACEBOOK_PREVIEW",(function(){return K.b})),n.d(t,"setFacebookPreviewTitle",(function(){return K.j})),n.d(t,"setFacebookPreviewDescription",(function(){return K.h})),n.d(t,"setFacebookPreviewImage",(function(){return K.i})),n.d(t,"clearFacebookPreviewImage",(function(){return K.f})),n.d(t,"loadFacebookPreviewData",(function(){return K.g})),n.d(t,"SET_WARNING_MESSAGE",(function(){return V.a})),n.d(t,"setWarningMessage",(function(){return V.b})),n.d(t,"setOverallReadabilityScore",(function(){return W})),n.d(t,"setOverallSeoScore",(function(){return H})),n.d(t,"setReadabilityResults",(function(){return r.setReadabilityResults})),n.d(t,"setSeoResultsForKeyword",(function(){return r.setSeoResultsForKeyword}));var r=n(22),o=n(29),a=n(74),i=n(44),s="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",c="RUN_ANALYSIS";function u(e){return{type:s,data:e}}function l(){return{type:c,timestamp:Date.now()}}var d=n(59),p="SET_EDITOR_DATA_CONTENT",f="SET_EDITOR_DATA_TITLE",m="SET_EDITOR_DATA_EXCERPT",g="SET_EDITOR_DATA_IMAGE_URL";function b(e){return{type:p,content:e}}function y(e){return{type:f,title:e}}function h(e){return{type:m,excerpt:e}}function O(e){return{type:g,imageUrl:e}}var w="OPEN_MODAL",v="CLOSE_MODAL";function j(e){return{type:w,modalKey:e}}function E(){return{type:v}}var _=n(67),T=n(60),S=n(45),k=n(75),R=n(69),P=n(76),D=n(56),x="MODAL_DISMISS",A="MODAL_OPEN",C="MODAL_OPEN_NO_KEYPHRASE";function I(){return{type:x}}function M(e){return{type:A,location:e}}function N(){return{type:C}}var L=n(41),F=n(43),q=n(77),B=n(17),U=n(48),K=n(49),V=n(78),W=function(e){return o.a.readabilityScore=e,Object(r.setOverallReadabilityScore)(e)},H=function(e,t){return o.a.seoScore=e,Object(r.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.regeneratorRuntime},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},n.apply(this,arguments)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"LocationContext",(function(){return o})),n.d(t,"LocationProvider",(function(){return a})),n.d(t,"LocationConsumer",(function(){return i}));var r=n(0),o=Object(r.createContext)("location"),a=o.Provider,i=o.Consumer},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"keyphraseElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_focuskw":"hidden_wpseo_focuskw")}},{key:"isCornerstoneElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_is_cornerstone":"hidden_wpseo_is_cornerstone")}},{key:"seoScoreElement",get:function(){return document.getElementById("yoast_wpseo_linkdex")}},{key:"readabilityScoreElement",get:function(){return document.getElementById("yoast_wpseo_content_score")}},{key:"keyphrase",get:function(){return e.keyphraseElement.value},set:function(t){e.keyphraseElement.value=t}},{key:"isCornerstone",get:function(){return"1"===e.isCornerstoneElement.value},set:function(t){e.isCornerstoneElement.value=t?"1":"0"}},{key:"seoScore",get:function(){return e.seoScoreElement.value},set:function(t){e.seoScoreElement.value=t}},{key:"readabilityScore",get:function(){return e.readabilityScoreElement.value},set:function(t){e.readabilityScoreElement.value=t}}]),e}()},function(e,t,n){var r=n(87),o=n(88),a=n(89);e.exports=function(e){return r(e)||o(e)||a()}},function(e,t,n){"use strict";var r=n(2),o={source:"wpseoScriptData.analysis.plugins.replaceVars",scope:[],aliases:[]},a=function(e,t,n){this.placeholder=e,this.replacement=t,this.options=Object(r.defaults)(n,o)};a.prototype.getPlaceholder=function(e){return(e=e||!1)&&this.hasAlias()?this.placeholder+"|"+this.getAliases().join("|"):this.placeholder},a.prototype.setSource=function(e){this.options.source=e},a.prototype.hasScope=function(){return!Object(r.isEmpty)(this.options.scope)},a.prototype.addScope=function(e){this.hasScope()||(this.options.scope=[]),this.options.scope.push(e)},a.prototype.inScope=function(e){return!this.hasScope()||Object(r.indexOf)(this.options.scope,e)>-1},a.prototype.hasAlias=function(){return!Object(r.isEmpty)(this.options.aliases)},a.prototype.addAlias=function(e){this.hasAlias()||(this.options.aliases=[]),this.options.aliases.push(e)},a.prototype.getAliases=function(){return this.options.aliases},t.a=a},function(e,t,n){"use strict";var r=n(0),o=n(1),a=n.n(o),i=function(e){var t=e.children;return Object(r.createElement)("div",null,t)};i.propTypes={renderPriority:a.a.number.isRequired,children:a.a.node.isRequired},t.a=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"articleTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_article_type")}},{key:"defaultArticleType",get:function(){return e.articleTypeInput.getAttribute("data-default")}},{key:"articleType",get:function(){return e.articleTypeInput.value},set:function(t){e.articleTypeInput.value=t}},{key:"pageTypeInput",get:function(){return document.getElementById("yoast_wpseo_schema_page_type")}},{key:"defaultPageType",get:function(){return e.pageTypeInput.getAttribute("data-default")}},{key:"pageType",get:function(){return e.pageTypeInput.value},set:function(t){e.pageTypeInput.value=t}}]),e}()},function(e,t){function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(e){return typeof e}:e.exports=n=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(t)}e.exports=n},function(e,t,n){"use strict";n.r(t),n.d(t,"getIconForScore",(function(){return s})),n.d(t,"default",(function(){return c}));var r=n(23),o=n(24);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),o={score:e.score,rating:r.interpreters.scoreToRating(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?"".concat(t,":").concat(n):n};return"ok"===o.rating&&(o.rating="OK"),o}function i(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}function s(e){var t={icon:"seo-score-none",color:o.colors.$color_grey_disabled};switch(e){case"loading":t={icon:"loading-spinner",color:o.colors.$color_green_medium_light};break;case"good":t={icon:"seo-score-good",color:o.colors.$color_green_medium};break;case"ok":t={icon:"seo-score-ok",color:o.colors.$color_ok};break;case"bad":t={icon:"seo-score-bad",color:o.colors.$color_red}}return t}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n={errorsResults:[],problemsResults:[],improvementsResults:[],goodResults:[],considerationsResults:[]};if(!e)return n;for(var r=0;r<e.length;r++){var o=e[r];if(o.text){var s=a(o,t);n=i(s,n)}}return n}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(0),o=n(1),a=n.n(o);function i(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?Object(r.createPortal)(n,o):null}i.propTypes={target:a.a.oneOfType([a.a.string,a.a.object]).isRequired,children:a.a.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(16)),a=s(n(130)),i=s(n(133));function s(e){return e&&e.__esModule?e:{default:e}}var c=void 0;t.default=function(e){var t=e.mixedString,n=e.components,s=e.throwErrors;if(c=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var u=(0,i.default)(t);try{return function e(t,n){var i,s,u,l,d,p,f,m,g=[],b={};for(p=0;p<t.length;p++)if("string"!==(d=t[p]).type){if(!n.hasOwnProperty(d.value)||void 0===n[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(n[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+c);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){i=n[d.value],u=p;break}g.push(n[d.value])}else g.push(d.value);return i&&(l=function(e,t){var n,r,o=t[e],a=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){a++;continue}if("componentClose"===n.type){if(0===a)return r;a--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,t),f=e(t.slice(u+1,l),n),s=o.default.cloneElement(i,{},f),g.push(s),l<t.length-1&&(m=e(t.slice(l+1),n),g=g.concat(m))),1===g.length?g[0]:(g.forEach((function(e,t){e&&(b["interpolation-child-"+t]=e)})),(0,a.default)(b))}(u,n)}catch(e){if(s)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){var r=n(99),o=n(100),a=n(101);e.exports=function(e,t){return r(e)||o(e,t)||a()}},function(e,t,n){"use strict";n.r(t),n.d(t,"nonReplaceVars",(function(){return p})),n.d(t,"fillReplacementVariables",(function(){return f})),n.d(t,"handlePrefixes",(function(){return m})),n.d(t,"createLabelFromName",(function(){return g})),n.d(t,"pushNewReplaceVar",(function(){return b})),n.d(t,"replaceSpaces",(function(){return y})),n.d(t,"prepareCustomFieldForDispatch",(function(){return h})),n.d(t,"prepareCustomTaxonomyForDispatch",(function(){return O})),n.d(t,"mapCustomTaxonomies",(function(){return w})),n.d(t,"mapCustomFields",(function(){return v})),n.d(t,"excerptFromContent",(function(){return j})),n.d(t,"applyReplaceUsingPlugin",(function(){return E}));var r=n(10),o=n.n(r),a=n(2),i=n(79),s=n(17);function c(e){return e.charAt(0).toUpperCase()+e.slice(1)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=n(9).strings.stripHTMLTags,p=["slug","content","contentImage","snippetPreviewImageURL"];function f(e,t){Object(a.forEach)(e,(function(e,n){p.includes(n)||t.dispatch(Object(s.l)(n,e))}))}function m(e){if(!["ct_","cf_","pt_"].includes(e.substr(0,3)))return e.replace(/_/g," ");var t=e.slice(0,3);switch(-1!==(e=e.slice(3)).indexOf("desc_")&&(e=e.slice(5)+" description"),t){case"ct_":e+=" (custom taxonomy)";break;case"cf_":e+=" (custom field)";break;case"pt_":e="Post type ("+(e=e.replace("single","singular"))+")"}return e}function g(e){return c(e=m(e))}function b(e,t){return e.push({name:t.name,label:t.label||g(t.name),value:t.value}),e}function y(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function h(e){return{name:"cf_"+y(e),label:c(e+" (custom field)")}}function O(e){var t=y(e);return{name:"ct_"+t,label:c(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:c(e+" description (custom taxonomy)")}}function w(e,t){return e.custom_taxonomies?(Object(a.forEach)(e.custom_taxonomies,(function(e,n){var r=O(n),o=r.name,a=r.label,i=r.descriptionName,c=r.descriptionLabel;t.dispatch(Object(s.l)(o,e.name,a)),t.dispatch(Object(s.l)(i,e.description,c))})),Object(a.omit)(l({},e),"custom_taxonomies")):e}function v(e,t){return e.custom_fields?(Object(a.forEach)(e.custom_fields,(function(e,n){var r=h(n),o=r.name,a=r.label;t.dispatch(Object(s.l)(o,e,a))})),Object(a.omit)(l({},e),"custom_fields")):e}function j(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;return(e=(e=Object(i.stripTags)(e)).trim()).length<=t?e:(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))}var E=function(e){var t=Object(a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!Object(a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=Object(a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:d(t(e.title)),description:d(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:d(n("data_page_title",e.title)),description:d(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"g",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"j",(function(){return l})),n.d(t,"m",(function(){return d})),n.d(t,"l",(function(){return p})),n.d(t,"n",(function(){return f})),n.d(t,"h",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"i",(function(){return b}));var r="CHANGE_COUNTRY",o="SET_REQUEST_SUCCEEDED",a="SET_REQUEST_FAILED",i="SET_LIMIT_REACHED",s="NEW_REQUEST",c="NO_DATA_FOUND",u="SET_LOGIN_STATUS";function l(e,t){return{type:s,countryCode:e,keyphrase:t}}function d(e){return{type:o,response:e}}function p(e){return{type:a,response:e}}function f(){return{type:i}}function m(e){return{type:r,countryCode:e}}function g(){return{type:c}}function b(e){return{type:u,loginStatus:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(3),o=n(23),a=n(2);function i(e){return Object(a.isNil)(e)||(e/=10),function(e){switch(e){case"feedback":return{className:"na",screenReaderText:Object(r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:Object(r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:Object(r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:Object(r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:Object(r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.interpreters.scoreToRating(e))}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o})),n.d(t,"d",(function(){return a})),n.d(t,"c",(function(){return i}));var r="SET_SETTINGS",o="SET_CONTENT_IMAGE",a=function(e){return{type:r,settings:e}},i=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";n.d(t,"f",(function(){return c})),n.d(t,"e",(function(){return u})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return d})),n.d(t,"d",(function(){return p})),n.d(t,"a",(function(){return f})),n.d(t,"l",(function(){return m})),n.d(t,"k",(function(){return g})),n.d(t,"h",(function(){return b})),n.d(t,"i",(function(){return y})),n.d(t,"j",(function(){return h})),n.d(t,"g",(function(){return O}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"noIndexElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_meta-robots-noindex":"hidden_wpseo_noindex")}},{key:"noFollowElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-nofollow")}},{key:"advancedElement",get:function(){return document.getElementById("yoast_wpseo_meta-robots-adv")}},{key:"breadcrumbsTitleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_bctitle":"hidden_wpseo_bctitle")}},{key:"canonicalElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_canonical":"hidden_wpseo_canonical")}},{key:"noIndex",get:function(){return e.noIndexElement&&e.noIndexElement.value||""},set:function(t){e.noIndexElement.value=t}},{key:"noFollow",get:function(){return e.noFollowElement&&e.noFollowElement.value||""},set:function(t){e.noFollowElement.value=t}},{key:"advanced",get:function(){return e.advancedElement&&e.advancedElement.value||""},set:function(t){e.advancedElement.value=t}},{key:"breadcrumbsTitle",get:function(){return e.breadcrumbsTitleElement&&e.breadcrumbsTitleElement.value||""},set:function(t){e.breadcrumbsTitleElement.value=t}},{key:"canonical",get:function(){return e.canonicalElement&&e.canonicalElement.value||""},set:function(t){e.canonicalElement.value=t}}]),e}(),c="SET_NO_INDEX",u="SET_NO_FOLLOW",l="SET_ADVANCED",d="SET_BREADCRUMBS_TITLE",p="SET_CANONICAL_URL",f="LOAD_ADVANCED_SETTINGS",m=function(e){return s.noIndex=e,{type:c,value:e}},g=function(e){return s.noFollow=e,{type:u,value:e}},b=function(e){return s.advanced=e.join(","),{type:l,value:e}},y=function(e){return s.breadcrumbsTitle=e,{type:d,value:e}},h=function(e){return s.canonical=e,{type:p,value:e}},O=function(){return{type:f,settings:{noIndex:s.noIndex,noFollow:s.noFollow,advanced:s.advanced.split(","),breadcrumbsTitle:s.breadcrumbsTitle,canonical:s.canonical,isLoading:!1}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="WPSEO_SET_MARKER_STATUS",o=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){var r=n(102);e.exports=function(e,t){if(null==e)return{};var n,o,a=r(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){function n(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function s(e){n(i,o,a,s,c,"next",e)}function c(e){n(i,o,a,s,c,"throw",e)}s(void 0)}))}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-title":"hidden_wpseo_twitter-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-description":"hidden_wpseo_twitter-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image-id":"hidden_wpseo_twitter-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_twitter-image":"hidden_wpseo_twitter-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_TWITTER_TITLE",l="SET_TWITTER_DESCRIPTION",d="SET_TWITTER_IMAGE",p="CLEAR_TWITTER_IMAGE",f="LOAD_TWITTER_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageId=e.id,c.imageUrl=e.url,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";n.d(t,"e",(function(){return u})),n.d(t,"c",(function(){return l})),n.d(t,"d",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return f})),n.d(t,"j",(function(){return m})),n.d(t,"h",(function(){return g})),n.d(t,"i",(function(){return b})),n.d(t,"f",(function(){return y})),n.d(t,"g",(function(){return h}));var r=n(4),o=n(5),a=n.n(o),i=n(7),s=n.n(i),c=function(){function e(){a()(this,e)}return s()(e,null,[{key:"titleElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-title":"hidden_wpseo_opengraph-title")}},{key:"descriptionElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-description":"hidden_wpseo_opengraph-description")}},{key:"imageIdElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image-id":"hidden_wpseo_opengraph-image-id")}},{key:"imageUrlElement",get:function(){return document.getElementById(window.wpseoScriptData.isPost?"yoast_wpseo_opengraph-image":"hidden_wpseo_opengraph-image")}},{key:"title",get:function(){return e.titleElement.value},set:function(t){e.titleElement.value=t}},{key:"description",get:function(){return e.descriptionElement.value},set:function(t){e.descriptionElement.value=t}},{key:"imageId",get:function(){return e.imageIdElement.value},set:function(t){e.imageIdElement.value=t}},{key:"imageUrl",get:function(){return e.imageUrlElement.value},set:function(t){e.imageUrlElement.value=t}}]),e}(),u="SET_FACEBOOK_TITLE",l="SET_FACEBOOK_DESCRIPTION",d="SET_FACEBOOK_IMAGE",p="CLEAR_FACEBOOK_IMAGE",f="LOAD_FACEBOOK_PREVIEW",m=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialTitleTemplate().trim()?c.title="":c.title=e,{type:u,title:e}},g=function(e){return e.trim()===Object(r.select)("yoast-seo/editor").getSocialDescriptionTemplate().trim()?c.description="":c.description=e,{type:l,description:e}},b=function(e){return c.imageUrl=e.url,c.imageId=e.id,{type:d,image:e}},y=function(){return c.imageId="",c.imageUrl="",{type:p}},h=function(){var e=Object(r.select)("yoast-seo/editor"),t=e.getSocialDescriptionTemplate,n=e.getSocialTitleTemplate;return{type:f,imageId:c.imageId,imageUrl:c.imageUrl,description:c.description||t(),title:c.title||n()}}},function(e,t,n){"use strict";var r=n(39),o=n.n(r),a=n(0),i=n(6),s=n(1),c=n.n(s),u=function(e){var t=Object(a.useState)(!1),n=o()(t,2),r=n[0],s=n[1],c=e.prefixIcon;return Object(a.createElement)("div",{className:"yoast components-panel__body ".concat(r?"is-opened":"")},Object(a.createElement)("h2",{className:"components-panel__body-title"},Object(a.createElement)("button",{onClick:function(){s(!r)},className:"components-button components-panel__body-toggle"},Object(a.createElement)("span",{className:"yoast-icon-span",style:{fill:"".concat(c&&c.color||"")}},c&&Object(a.createElement)(i.SvgIcon,{icon:c.icon,color:c.color,size:c.size})),Object(a.createElement)("span",{className:"yoast-title-container"},Object(a.createElement)("div",{className:"yoast-title"},e.title),Object(a.createElement)("div",{className:"yoast-subtitle"},e.subTitle)),Object(a.createElement)("span",{className:"yoast-chevron","aria-hidden":"true"}))),r&&e.children)};t.a=u,u.propTypes={title:c.a.string.isRequired,children:c.a.oneOfType([c.a.node,c.a.arrayOf(c.a.node)]).isRequired,prefixIcon:c.a.object,subTitle:c.a.string},u.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";var r,o=n(27),a=n.n(o),i=n(15),s=n.n(i),c=n(0),u=n(6),l=n(12),d=n.n(l)()(u.Collapsible)(r||(r=s()(['\n\th2 > button {\n\t\tpadding-left: 24px;\n\t\tpadding-top: 16px;\n\n\t\t&:hover {\n\t\t\tbackground-color: #f0f0f0;\n\t\t}\n\t}\n\n\tdiv[class^="collapsible_content"] {\n\t\tpadding: 24px 0;\n\t\tmargin: 0 24px;\n\t\tborder-top: 1px solid rgba(0,0,0,0.2);\n\t}\n\n'])));t.a=function(e){return Object(c.createElement)(d,a()({hasPadding:!0,hasSeparator:!0},e))}},function(e,t){e.exports=window.wp.url},function(e,t,n){"use strict";n.d(t,"b",(function(){return d}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(0),c=n(1),u=n.n(c),l=n(18),d="yoast yoast-gutenberg-modal",p=function(e){var t=e.title,n=e.className,r=e.showYoastIcon,a=e.additionalClassName,c=i()(e,["title","className","showYoastIcon","additionalClassName"]),u=r?Object(s.createElement)("span",{className:"yoast-icon"}):null;return Object(s.createElement)(l.Modal,o()({title:t,className:"".concat(n," ").concat(a),icon:u},c),e.children)};p.propTypes={title:u.a.string,className:u.a.string,showYoastIcon:u.a.bool,children:u.a.oneOfType([u.a.node,u.a.arrayOf(u.a.node)]),additionalClassName:u.a.string},p.defaultProps={title:"Yoast SEO",className:d,showYoastIcon:!0,children:null,additionalClassName:""},t.a=p},function(e,t,n){"use strict";var r,o=n(15),a=n.n(o),i=n(24),s=n(9),c=n(12),u=n.n(c),l=Object(s.makeOutboundLink)(u.a.a(r||(r=a()(["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\f223";\n\t}\n'],["\n\tdisplay: inline-block;\n\tposition: relative;\n\toutline: none;\n\ttext-decoration: none;\n\tborder-radius: 100%;\n\twidth: 24px;\n\theight: 24px;\n\tmargin: -4px 0;\n\tvertical-align: middle;\n\n\tcolor: ",";\n\t\n\t&:hover,\n\t&:focus {\n\t\tcolor: ",";\t\n\t}\n\t\n\t// Overwrite the default blue active color for links.\n\t&:active {\n\t\tcolor: ",';\t\n\t}\n\n\t&::before {\n\t\tposition: absolute;\n\t\ttop: 0;\n\t\tleft: 0;\n\t\tpadding: 2px;\n\t\tcontent: "\\f223";\n\t}\n'])),i.colors.$color_help_text,i.colors.$color_snippet_focus,i.colors.$color_help_text));t.a=l},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"keywordAnalysisActive",0)}},function(e,t,n){"use strict";n.d(t,"d",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return l})),n.d(t,"e",(function(){return d}));var r=n(33),o="SET_PAGE_TYPE",a="SET_ARTICLE_TYPE",i="GET_SCHEMA_PAGE_DATA",s="GET_SCHEMA_ARTICLE_DATA",c=function(e){return r.a.pageType=e,{type:o,pageType:e}},u=function(e){return r.a.articleType=e,{type:a,articleType:e}},l=function(){return{type:i,pageType:r.a.pageType,defaultPageType:r.a.defaultPageType}},d=function(){return{type:s,articleType:r.a.articleType,defaultArticleType:r.a.defaultArticleType}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(10),o=n.n(r),a=n(19),i=n(0),s=n(28);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){o()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(){return Object(a.createHigherOrderComponent)((function(e){return Object(a.pure)((function(t){var n=Object(i.useContext)(s.LocationContext);return Object(i.createElement)(e,u(u({},t),{},{location:n}))}))}),"withLocation")}},function(e,t){e.exports=window.yoast.replacementVariableEditor},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"c",(function(){return a})),n.d(t,"b",(function(){return i})),n.d(t,"d",(function(){return s})),n.d(t,"e",(function(){return c})),n.d(t,"f",(function(){return u}));var r=n(29),o="".concat("WPSEO_","LOAD_CORNERSTONE_CONTENT"),a="".concat("WPSEO_","TOGGLE_CORNERSTONE_CONTENT"),i="".concat("WPSEO_","SET_CORNERSTONE_CONTENT"),s=function(){return{type:i,isCornerstone:r.a.isCornerstone}},c=function(e){return r.a.isCornerstone=e,{type:i,isCornerstone:e}},u=function(){return r.a.isCornerstone=!r.a.isCornerstone,{type:a}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return s}));var r=n(29),o="".concat("WPSEO_","LOAD_FOCUS_KEYWORD"),a="".concat("WPSEO_","SET_FOCUS_KEYWORD"),i=function(){return{type:o,keyword:r.a.keyphrase}},s=function(e){return r.a.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";n.r(t),n.d(t,"setTextdomainL10n",(function(){return a})),n.d(t,"setYoastComponentsL10n",(function(){return i})),n.d(t,"setWordPressSeoL10n",(function(){return s}));var r=n(3),o=n(2);function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=Object(o.get)(window,[t,e,"locale_data",e],!1);!1===n?Object(r.setLocaleData)({"":{}},e):Object(r.setLocaleData)(n,e)}function i(){a("yoast-components")}function s(){a("wordpress-seo")}},function(e,t,n){"use strict";n.d(t,"b",(function(){return S}));var r=n(27),o=n.n(r),a=n(46),i=n.n(a),s=n(10),c=n.n(s),u=n(5),l=n.n(u),d=n(7),p=n.n(d),f=n(11),m=n.n(f),g=n(13),b=n.n(g),y=n(14),h=n.n(y),O=n(8),w=n.n(O),v=n(0),j=n(1),E=n.n(j);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){c()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var S=E.a.shape({value:E.a.string.isRequired,onChange:E.a.func.isRequired});t.a=function(e){return function(t){return function(n){b()(u,n);var r,a,s=(r=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w()(r);if(a){var n=w()(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return h()(this,e)});function u(t){var n;l()(this,u),(n=s.call(this,t)).elements={};var r={};return n.fields=e(t),n.fields.forEach((function(e){var t=e.name,o=e.fieldId,a=document.getElementById(o);a&&(n.elements[t]=a,r[t]={value:a.value,onChange:n.onChange.bind(m()(n),t)})})),n.state=r,n}return p()(u,[{key:"onChange",value:function(e,t){var n=this;this.setState(T(T({},this.state),{},c()({},e,T(T({},this.state[e]),{},{value:t}))),(function(){n.elements[e]&&(n.elements[e].value=t)}))}},{key:"render",value:function(){var e=this.props,n=e.children,r=i()(e,["children"]);return Object(v.createElement)(t,o()({},r,this.state),n)}}],[{key:"propTypes",get:function(){return{children:E.a.node}}}]),u}(v.Component)}}},function(e,t){e.exports=window.wp.hooks},function(e,t){e.exports=window.wp.apiFetch},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(20),o=n(2);function a(){var e=Object(r.a)();return 1===Object(o.get)(e,"contentAnalysisActive",0)}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return u})),n.d(t,"d",(function(){return l})),n.d(t,"c",(function(){return d}));var r=n(5),o=n.n(r),a=n(7),i=n.n(a),s=function(){function e(){o()(this,e)}return i()(e,null,[{key:"estimatedReadingTimeElement",get:function(){return document.getElementById("yoast_wpseo_estimated-reading-time-minutes")}},{key:"estimatedReadingTime",get:function(){return e.estimatedReadingTimeElement&&e.estimatedReadingTimeElement.value||""},set:function(t){e.estimatedReadingTimeElement.value=t}}]),e}(),c="SET_ESTIMATED_READING_TIME",u="LOAD_ESTIMATED_READING_TIME";function l(e){return s.estimatedReadingTime=e,{type:c,estimatedReadingTime:e}}function d(){return{type:u,estimatedReadingTime:s.estimatedReadingTime}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p}));var r,o,a=n(15),i=n.n(a),s=n(12),c=n.n(s),u=n(6),l=n(9),d=c.a.div(r||(r=i()(["\n\tmin-width: 600px;\n\n\t@media screen and ( max-width: 680px ) {\n\t\tmin-width: 0;\n\t\twidth: 86vw;\n\t}\n"]))),p=c()(u.Icon)(o||(o=i()(["\n\tfloat: ",";\n\tmargin: ",";\n\n\t&& {\n\t\twidth: 150px;\n\t\theight: 150px;\n\n\t\t@media screen and ( max-width: 680px ) {\n\t\t\twidth: 80px;\n\t\t\theight: 80px;\n\t\t}\n\t}\n"])),Object(l.getDirectionalStyle)("right","left"),Object(l.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c}));var r=n(26),o=n.n(r),a=o.a.mark(c),i="DISMISS_ALERT",s="DISMISS_ALERT_SUCCESS";function c(e){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:i,alertKey:e};case 2:return t.abrupt("return",{type:s,alertKey:e});case 3:case"end":return t.stop()}}),a)}},function(e,t){function n(t,r){return e.exports=n=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},n(t,r)}e.exports=n},function(e,t,n){"use strict";function r(e){var t,n=document.getElementById("yoast-measurement-element");return n||((t=document.createElement("div")).id="yoast-measurement-element",t.style.position="absolute",t.style.left="-9999em",t.style.top=0,t.style.height=0,t.style.overflow="hidden",t.style.fontFamily="arial, sans-serif",t.style.fontSize="18px",t.style.fontWeight="400",document.body.appendChild(t),n=t),n.innerHTML=e,n.offsetWidth}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.r(t),n.d(t,"getNoIndex",(function(){return o})),n.d(t,"getNoFollow",(function(){return a})),n.d(t,"getAdvanced",(function(){return i})),n.d(t,"getBreadcrumbsTitle",(function(){return s})),n.d(t,"getCanonical",(function(){return c})),n.d(t,"getIsLoading",(function(){return u})),n.d(t,"getSeoTitle",(function(){return W})),n.d(t,"getDescription",(function(){return H})),n.d(t,"getPermalink",(function(){return Y})),n.d(t,"getAnalysisTimestamp",(function(){return G})),n.d(t,"getAnalysisData",(function(){return z})),n.d(t,"isCornerstoneContent",(function(){return $})),n.d(t,"getEditorContext",(function(){return d})),n.d(t,"getPostOrPageString",(function(){return p})),n.d(t,"getIsBlockEditor",(function(){return f})),n.d(t,"getIsElementorEditor",(function(){return m})),n.d(t,"getEditorType",(function(){return g})),n.d(t,"getContentLocale",(function(){return b})),n.d(t,"getEditorDataContent",(function(){return O})),n.d(t,"getEditorDataTitle",(function(){return w})),n.d(t,"getEditorDataExcerpt",(function(){return v})),n.d(t,"getEditorDataExcerptWithFallback",(function(){return j})),n.d(t,"getEditorDataImageUrl",(function(){return E})),n.d(t,"getEditorDataImageFallback",(function(){return _})),n.d(t,"getIsModalOpen",(function(){return Q})),n.d(t,"getEstimatedReadingTime",(function(){return Z})),n.d(t,"getFacebookTitle",(function(){return X})),n.d(t,"getFacebookDescription",(function(){return J})),n.d(t,"getFacebookImageUrl",(function(){return ee})),n.d(t,"getFacebookImageSrc",(function(){return te})),n.d(t,"getFacebookWarnings",(function(){return ne})),n.d(t,"getContentImage",(function(){return re})),n.d(t,"getImageFallback",(function(){return oe})),n.d(t,"getSiteUrl",(function(){return ae})),n.d(t,"getSeoTitleTemplate",(function(){return ie})),n.d(t,"getSeoTitleTemplateNoFallback",(function(){return se})),n.d(t,"getSocialTitleTemplate",(function(){return ce})),n.d(t,"getSeoDescriptionTemplate",(function(){return ue})),n.d(t,"getSocialDescriptionTemplate",(function(){return le})),n.d(t,"getReplacedExcerpt",(function(){return de})),n.d(t,"getFocusKeyphrase",(function(){return T})),n.d(t,"getActiveMarker",(function(){return pe})),n.d(t,"getMarkerPauseStatus",(function(){return fe})),n.d(t,"isMarkingAvailable",(function(){return me})),n.d(t,"getMarksButtonStatus",(function(){return ge})),n.d(t,"isAlertDismissed",(function(){return be})),n.d(t,"getPreferences",(function(){return ye})),n.d(t,"getIsKeywordAnalysisActive",(function(){return he})),n.d(t,"getPrimaryTaxonomyId",(function(){return Oe})),n.d(t,"getSeoResults",(function(){return _e})),n.d(t,"getResultsForKeyword",(function(){return Te})),n.d(t,"getReadabilityResults",(function(){return Se})),n.d(t,"getResultsForFocusKeyword",(function(){return ke})),n.d(t,"getResultById",(function(){return Re})),n.d(t,"getMarkButtonStatus",(function(){return Pe})),n.d(t,"getDefaultPageType",(function(){return De})),n.d(t,"getPageType",(function(){return xe})),n.d(t,"getDefaultArticleType",(function(){return Ae})),n.d(t,"getArticleType",(function(){return Ce})),n.d(t,"getSEMrushModalOpen",(function(){return Ie})),n.d(t,"getSEMrushNoKeyphraseMessage",(function(){return Me})),n.d(t,"getSEMrushIsRequestPending",(function(){return Ne})),n.d(t,"getSEMrushRequestIsSuccess",(function(){return Le})),n.d(t,"getSEMrushRequestResponse",(function(){return Fe})),n.d(t,"getSEMrushRequestLimitReached",(function(){return qe})),n.d(t,"getSEMrushRequestKeyphrase",(function(){return Be})),n.d(t,"getSEMrushSelectedCountry",(function(){return Ue})),n.d(t,"getSEMrushRequestHasData",(function(){return Ke})),n.d(t,"getSEMrushLoginStatus",(function(){return Ve})),n.d(t,"getAuthorName",(function(){return S})),n.d(t,"getSiteName",(function(){return k})),n.d(t,"getBaseUrlFromSettings",(function(){return R})),n.d(t,"getDateFromSettings",(function(){return P})),n.d(t,"getRecommendedReplaceVars",(function(){return D})),n.d(t,"getSiteIconUrlFromSettings",(function(){return x})),n.d(t,"getShoppingData",(function(){return We})),n.d(t,"getReplaceVars",(function(){return A})),n.d(t,"getSnippetEditorTemplates",(function(){return C})),n.d(t,"getSnippetEditorMode",(function(){return I})),n.d(t,"getSnippetEditorTitle",(function(){return M})),n.d(t,"getSnippetEditorTitleWithTemplate",(function(){return N})),n.d(t,"getSnippetEditorDescription",(function(){return L})),n.d(t,"getSnippetEditorDescriptionWithTemplate",(function(){return F})),n.d(t,"getSnippetEditorSlug",(function(){return q})),n.d(t,"getSnippetEditorData",(function(){return B})),n.d(t,"getSnippetEditorWordsToHighlight",(function(){return U})),n.d(t,"getSnippetEditorIsLoading",(function(){return K})),n.d(t,"getSnippetEditorPreviewImageUrl",(function(){return V})),n.d(t,"getTwitterTitle",(function(){return He})),n.d(t,"getTwitterDescription",(function(){return Ye})),n.d(t,"getTwitterImageUrl",(function(){return Ge})),n.d(t,"getTwitterImageType",(function(){return ze})),n.d(t,"getTwitterImageSrc",(function(){return $e})),n.d(t,"getTwitterWarnings",(function(){return Qe})),n.d(t,"getWarningMessage",(function(){return Ze}));var r=n(2),o=function(e){return Object(r.get)(e,"advancedSettings.noIndex","")},a=function(e){return Object(r.get)(e,"advancedSettings.noFollow","")},i=function(e){return Object(r.get)(e,"advancedSettings.advanced","")},s=function(e){return Object(r.get)(e,"advancedSettings.breadcrumbsTitle","summary")},c=function(e){return Object(r.get)(e,"advancedSettings.canonical","")},u=function(e){return Object(r.get)(e,"advancedSettings.isLoading",!0)},l=n(71);function d(e){return e.editorContext}function p(e){return"Page"===Object(r.get)(e,"editorContext.postTypeNameSingular")?"page":"post"}function f(e){return Object(r.get)(e,"editorContext.isBlockEditor",!1)}function m(e){return Object(r.get)(e,"editorContext.isElementorEditor",!1)}function g(e){return m(e)?"elementorEditor":f(e)?"blockEditor":"classicEditor"}function b(e){return Object(r.get)(e,"editorContext.contentLocale","en_US")}var y=n(63),h=n(40),O=function(e){return Object(r.get)(e,"editorData.content","")},w=function(e){return Object(r.get)(e,"editorData.title","")},v=function(e){return Object(r.get)(e,"editorData.excerpt")},j=function(e){var t=Object(r.get)(e,"editorData.excerpt","");return""===t&&(t=Object(h.excerptFromContent)(Object(r.get)(e,"editorData.content",""))),t},E=function(e){return Object(r.get)(e,"editorData.imageUrl","")},_=function(e){var t=[{featuredOrFirstImage:Object(r.get)(e,"editorData.imageUrl","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window.wpseoScriptData,"metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""};function T(e){return e.focusKeyword}var S=function(e){return Object(r.get)(e,"settings.socialPreviews.authorName","")},k=function(e){return Object(r.get)(e,"settings.socialPreviews.siteName","")},R=function(e){return Object(r.get)(e,"settings.snippetEditor.baseUrl","")},P=function(e){return Object(r.get)(e,"settings.snippetEditor.date","")},D=function(e){return Object(r.get)(e,"settings.snippetEditor.recommendedReplacementVariables",[])},x=function(e){return Object(r.get)(e,"settings.snippetEditor.siteIconUrl","")},A=function(e){return Object(r.get)(e,"snippetEditor.replacementVariables",[])},C=function(e){return Object(r.get)(e,"snippetEditor.templates",{title:"",description:""})},I=function(e){return Object(r.get)(e,"snippetEditor.mode","mobile")},M=function(e){return Object(r.get)(e,"snippetEditor.data.title","")},N=function(e){return Object(r.get)(e,"snippetEditor.data.title","")||C(e).title},L=function(e){return Object(r.get)(e,"snippetEditor.data.description","")},F=function(e){return L(e)||C(e).description},q=function(e){return Object(r.get)(e,"snippetEditor.data.slug","")},B=function(e){return Object(r.get)(e,"snippetEditor.data",{title:M(e),description:L(e),slug:q(e)})},U=function(e){return Object(r.get)(e,"snippetEditor.wordsToHighlight",[])},K=function(e){return Object(r.get)(e,"snippetEditor.isLoading",!0)},V=function(e){return Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},W=function(e){return Object(r.get)(e,"analysisData.snippet.title","")},H=function(e){return Object(r.get)(e,"analysisData.snippet.description","")},Y=function(e){return Object(r.get)(e,"analysisData.snippet.url","")},G=function(e){return parseInt(Object(r.get)(e,"analysisData.timestamp",0),10)},z=function(e){var t=W(e)||M(e),n=q(e);return{text:O(e),title:t,keyword:T(e),description:H(e)||L(e),locale:b(e),titleWidth:Object(l.a)(t),url:n,permalink:R(e)+n}};function $(e){return e.isCornerstone}var Q=function(e,t){return Object(r.get)(e,"editorModals.openedModal","")===t};function Z(e){return Object(r.get)(e,"estimatedReadingTime.estimatedReadingTime",0)||0}var X=function(e){return Object(r.get)(e,"facebookEditor.title","")},J=function(e){return Object(r.get)(e,"facebookEditor.description","")},ee=function(e){return Object(r.get)(e,"facebookEditor.image.url")},te=function(e){return Object(r.get)(e,"facebookEditor.image.src","")},ne=function(e){return Object(r.get)(e,"facebookEditor.warnings",[])},re=function(e){return Object(r.get)(e,"socialPreviews.contentImage","")},oe=function(e){var t=[{featuredImage:Object(r.get)(e,"snippetEditor.data.snippetPreviewImageURL","")},{contentImage:Object(r.get)(e,"settings.socialPreviews.contentImage","")},{socialImage:Object(r.get)(window,"wpseoScriptData.metabox.social_image_template","")},{siteWideImage:Object(r.get)(window,"wpseoScriptData.metabox.showSocial.facebook")&&Object(r.get)(e,"settings.socialPreviews.sitewideImage","")}];Object(y.applyFilters)("yoast.socials.imageFallback",t);for(var n=0,o=t;n<o.length;n++){var a=o[n];if(Object.values(a)[0])return Object.values(a)[0]}return""},ae=function(){var e=Object(r.get)(window,"wpseoScriptData.metabox.base_url","");return""===e?"":(e=new URL(e)).host},ie=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template","")},se=function(){return Object(r.get)(window,"wpseoScriptData.metabox.title_template_no_fallback","")},ce=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_title_template","")},ue=function(){return Object(r.get)(window,"wpseoScriptData.metabox.metadesc_template","")},le=function(){return Object(r.get)(window,"wpseoScriptData.metabox.social_description_template","")},de=function(e){var t="";return Object(r.get)(e,"snippetEditor.replacementVariables",[]).forEach((function(e){"excerpt"===e.name&&(t=e.value)})),t};function pe(e){return e.activeMarker}function fe(e){return e.isMarkerPaused}function me(e){return"enabled"===e.marksButtonStatus}function ge(e){return e.marksButtonStatus}function be(e,t){return!0===e.dismissedAlerts[t]}function ye(e){return e.preferences}function he(e){return Object(r.get)(e,"preferences.isKeywordAnalysisActive",!1)}function Oe(e,t){return e.primaryTaxonomies[t]}var we=n(30),ve=n.n(we),je={},Ee=[];function _e(e){var t=Object(r.get)(e,"analysis.seo",je);return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function Te(e,t){var n=_e(e);return Object(r.get)(n,t,je)}function Se(e){var t=Object(r.get)(e,"analysis.readability",{});return Object(r.isEmpty)(t)?{results:Ee,overallScore:null}:t}function ke(e){return Te(e,e.focusKeyword)}function Re(e,t){var n=ke(e).results||Ee,r=Se(e).results||Ee;return[].concat(ve()(n),ve()(r)).find((function(e){return e._identifier===t}))}function Pe(e){return e.marksButtonStatus}var De=function(e){return Object(r.get)(e,"schemaTab.defaultPageType","")},xe=function(e){return Object(r.get)(e,"schemaTab.pageType","")},Ae=function(e){return Object(r.get)(e,"schemaTab.defaultArticleType","")},Ce=function(e){return Object(r.get)(e,"schemaTab.articleType","")};function Ie(e){return e.SEMrushModal.whichModalOpen}function Me(e){return e.SEMrushModal.displayNoKeyphraseMessage}function Ne(e){return e.SEMrushRequest.isRequestPending}function Le(e){return e.SEMrushRequest.isSuccess}function Fe(e){return e.SEMrushRequest.response}function qe(e){return e.SEMrushRequest.limitReached}function Be(e){return e.SEMrushRequest.keyphrase}function Ue(e){return e.SEMrushRequest.countryCode}function Ke(e){return e.SEMrushRequest.hasData}function Ve(e){return e.SEMrushRequest.isLoggedIn}var We=function(e){return Object(r.get)(e,"shoppingData",{})},He=function(e){return Object(r.get)(e,"twitterEditor.title","")},Ye=function(e){return Object(r.get)(e,"twitterEditor.description","")},Ge=function(e){return Object(r.get)(e,"twitterEditor.image.url","")},ze=function(e){return Object(r.get)(e,"settings.socialPreviews.twitterCardType","summary")},$e=function(e){return Object(r.get)(e,"twitterEditor.image.src","")},Qe=function(e){return Object(r.get)(e,"twitterEditor.warnings",[])};function Ze(e){return Object(r.get)(e,"warning.message",[])}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_ACTIVE_MARKER");function o(e){return{type:r,activeMarker:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_MARKER_PAUSE_STATUS");function o(e){return{type:r,isMarkerPaused:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="".concat("WPSEO_","SET_PRIMARY_TAXONOMY"),o=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_SHOPPING_DATA";function o(e){return{type:r,shoppingData:e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r="SET_WARNING_MESSAGE";function o(e){return{type:r,message:e}}},function(e,t){e.exports=window.wp.sanitize},,function(e,t,n){"use strict";var r=n(4),o=n(19),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),d=n(13),p=n.n(d),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(1),O=n.n(h),w=n(95),v=n(23),j=n(35);var E=function(e){p()(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function o(e){var t;i()(this,o);var n=(t=r.call(this,e)).props.results;return t.state={mappedResults:{}},null!==n&&(t.state={mappedResults:Object(j.default)(n,t.props.keywordKey)}),t.handleMarkButtonClick=t.handleMarkButtonClick.bind(l()(t)),t}return c()(o,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:Object(j.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?"".concat(this.props.keywordKey,":").concat(e):e;n===this.props.activeMarker?(this.props.setActiveMarker(null),this.props.setMarkerPauseStatus(!1),this.removeMarkers()):(this.props.setActiveMarker(n),t())}},{key:"removeMarkers",value:function(){window.YoastSEO.analysis.applyMarks(new v.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,a=e.problemsResults;return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(w.ContentAnalysis,{errorsResults:t,problemsResults:a,improvementsResults:n,considerationsResults:o,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),o}(y.Component);E.propTypes={results:O.a.array,marksButtonClassName:O.a.string,marksButtonStatus:O.a.string,setActiveMarker:O.a.func.isRequired,setMarkerPauseStatus:O.a.func.isRequired,activeMarker:O.a.string,keywordKey:O.a.string},E.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""};var _=E;t.a=Object(o.compose)([Object(r.withSelect)((function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}})),Object(r.withDispatch)((function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}}))])(_)},,function(e,t){e.exports=window.yoast.featureFlag},function(e,t,n){"use strict";var r=n(19),o=n(4),a=n(92);t.a=Object(r.compose)([Object(o.withSelect)((function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}})),Object(o.withDispatch)((function(e,t){var n=e("yoast-seo/editor"),r=n.openEditorModal;return{open:function(){return r(t.id)},close:n.closeEditorModal}}))])(a.a)},function(e,t,n){"use strict";n.d(t,"b",(function(){return _}));var r=n(10),o=n.n(r),a=n(5),i=n.n(a),s=n(7),c=n.n(s),u=n(11),l=n.n(u),d=n(13),p=n.n(d),f=n(14),m=n.n(f),g=n(8),b=n.n(g),y=n(0),h=n(3),O=n(6),w=n(1),v=n.n(w),j=n(62);var E=function(e){p()(a,e);var t,n,r=(t=a,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=b()(t);if(n){var o=b()(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return m()(this,e)});function a(e){var t;return i()(this,a),(t=r.call(this,e)).initialPageType=e.pageType.value,t.initialArticleType=e.articleType?e.articleType.value:"None",t.state={schema_page_type:t.initialPageType,schema_article_type:t.initialArticleType},t.handleOptionFocus=t.handleOptionFocus.bind(l()(t)),t}return c()(a,[{key:"shouldShowAlert",value:function(){return this.state.schema_page_type!==this.initialPageType||this.state.schema_article_type!==this.initialArticleType}},{key:"handleOptionFocus",value:function(e,t){this.setState(o()({},e,t))}},{key:"render",value:function(){return Object(y.createElement)(y.Fragment,null,Object(y.createElement)(O.FieldGroup,{label:Object(h.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:Object(h.__)("Learn more about the schema settings","wordpress-seo"),description:Object(h.sprintf)(
2
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
3
  Object(h.__)("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(h.sprintf)(
4
  /* translators: %1$s expands to an indexable object's name, e.g. Posts or Pages. */
5
+ Object(h._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(h.__)("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(h.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),a}(y.Component),_=v.a.arrayOf(v.a.shape({name:v.a.string,value:v.a.string}));E.propTypes={postType:v.a.string.isRequired,postTypeName:v.a.string.isRequired,pageType:j.b.isRequired,articleType:j.b,page