Yoast SEO - Version 16.0

Version Description

Release Date: March 16th, 2021

Yoast SEO 16.0: The Sweet Sixteen release is out! It comes with several fixes and improvements. Happy updating and thank you for using Yoast SEO! Read more about whats new in Yoast SEO 16.0 in our release post!

Bugfixes:

  • Fixes a bug where invalid breadcrumbs would show PHP warnings.
  • Fixes a bug where a fatal error would be thrown when a post ancestor was not an indexable.
  • Fixes a bug where a fatal error would be thrown when both Yoast SEO and Polylang for WooCommerce were installed, and the site contained WooCommerce variable products. Props to manooweb.

Other:

  • Sets the WordPress tested up to version to 5.7 and minimum supported WordPress version to 5.6.
Download this release

Release Info

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

Code changes from version 15.9.2 to 16.0

Files changed (90) hide show
  1. admin/ajax.php +0 -22
  2. admin/class-admin-asset-manager.php +5 -13
  3. admin/class-admin-init.php +1 -59
  4. admin/class-admin.php +20 -2
  5. admin/class-config.php +5 -3
  6. admin/class-export.php +0 -28
  7. admin/class-plugin-compatibility.php +0 -148
  8. admin/class-product-upsell-notice.php +1 -2
  9. admin/class-yoast-form.php +1 -1
  10. admin/class-yoast-notification-center.php +9 -0
  11. admin/config-ui/components/class-component-suggestions.php +2 -2
  12. admin/formatter/class-metabox-formatter.php +1 -1
  13. admin/formatter/class-post-metabox-formatter.php +1 -1
  14. admin/google_search_console/class-gsc.php +1 -101
  15. admin/google_search_console/views/gsc-display.php +1 -5
  16. admin/metabox/class-metabox.php +4 -25
  17. admin/views/licenses.php +1 -1
  18. admin/watchers/class-slug-change-watcher.php +1 -1
  19. css/dist/{admin-global-1592-rtl.css → admin-global-1600-rtl.css} +0 -0
  20. css/dist/{admin-global-1592.css → admin-global-1600.css} +0 -0
  21. css/dist/{adminbar-1592-rtl.css → adminbar-1600-rtl.css} +0 -0
  22. css/dist/{adminbar-1592.css → adminbar-1600.css} +0 -0
  23. css/dist/{alerts-1592-rtl.css → alerts-1600-rtl.css} +0 -0
  24. css/dist/{alerts-1592.css → alerts-1600.css} +0 -0
  25. css/dist/{badge-1592-rtl.css → badge-1600-rtl.css} +0 -0
  26. css/dist/{badge-1592.css → badge-1600.css} +0 -0
  27. css/dist/{dashboard-1592-rtl.css → dashboard-1600-rtl.css} +0 -0
  28. css/dist/{dashboard-1592.css → dashboard-1600.css} +0 -0
  29. css/dist/{edit-page-1592-rtl.css → edit-page-1600-rtl.css} +0 -0
  30. css/dist/{edit-page-1592.css → edit-page-1600.css} +0 -0
  31. css/dist/{elementor-1592-rtl.css → elementor-1600-rtl.css} +0 -0
  32. css/dist/{elementor-1592.css → elementor-1600.css} +0 -0
  33. css/dist/{featured-image-1592-rtl.css → featured-image-1600-rtl.css} +0 -0
  34. css/dist/{featured-image-1592.css → featured-image-1600.css} +0 -0
  35. css/dist/{filter-explanation-1592-rtl.css → filter-explanation-1600-rtl.css} +0 -0
  36. css/dist/{filter-explanation-1592.css → filter-explanation-1600.css} +0 -0
  37. css/dist/{icons-1592-rtl.css → icons-1600-rtl.css} +0 -0
  38. css/dist/{icons-1592.css → icons-1600.css} +0 -0
  39. css/dist/{inside-editor-1592-rtl.css → inside-editor-1600-rtl.css} +0 -0
  40. css/dist/{inside-editor-1592.css → inside-editor-1600.css} +0 -0
  41. css/dist/{metabox-1592-rtl.css → metabox-1600-rtl.css} +0 -0
  42. css/dist/{metabox-1592.css → metabox-1600.css} +0 -0
  43. css/dist/{metabox-primary-category-1592-rtl.css → metabox-primary-category-1600-rtl.css} +0 -0
  44. css/dist/{metabox-primary-category-1592.css → metabox-primary-category-1600.css} +0 -0
  45. css/dist/{modal-1592-rtl.css → modal-1600-rtl.css} +0 -0
  46. css/dist/{modal-1592.css → modal-1600.css} +0 -0
  47. css/dist/{monorepo-1592-rtl.css → monorepo-1600-rtl.css} +0 -0
  48. css/dist/{monorepo-1592.css → monorepo-1600.css} +0 -0
  49. css/dist/{notifications-1592-rtl.css → notifications-1600-rtl.css} +0 -0
  50. css/dist/{notifications-1592.css → notifications-1600.css} +0 -0
  51. css/dist/{schema-blocks-1592-rtl.css → schema-blocks-1600-rtl.css} +0 -0
  52. css/dist/{schema-blocks-1592.css → schema-blocks-1600.css} +0 -0
  53. css/dist/{score_icon-1592-rtl.css → score_icon-1600-rtl.css} +0 -0
  54. css/dist/{score_icon-1592.css → score_icon-1600.css} +0 -0
  55. css/dist/{search-appearance-1592-rtl.css → search-appearance-1600-rtl.css} +0 -0
  56. css/dist/{search-appearance-1592.css → search-appearance-1600.css} +0 -0
  57. css/dist/{structured-data-blocks-1592-rtl.css → structured-data-blocks-1600-rtl.css} +0 -0
  58. css/dist/{structured-data-blocks-1592.css → structured-data-blocks-1600.css} +0 -0
  59. css/dist/{toggle-switch-1592-rtl.css → toggle-switch-1600-rtl.css} +0 -0
  60. css/dist/{toggle-switch-1592.css → toggle-switch-1600.css} +0 -0
  61. css/dist/{wpseo-dismissible-1592-rtl.css → wpseo-dismissible-1600-rtl.css} +0 -0
  62. css/dist/{wpseo-dismissible-1592.css → wpseo-dismissible-1600.css} +0 -0
  63. css/dist/{yoast-components-1592-rtl.css → yoast-components-1600-rtl.css} +0 -0
  64. css/dist/{yoast-components-1592.css → yoast-components-1600.css} +0 -0
  65. css/dist/{yoast-extensions-1592-rtl.css → yoast-extensions-1600-rtl.css} +0 -0
  66. css/dist/{yoast-extensions-1592.css → yoast-extensions-1600.css} +0 -0
  67. css/dist/{yst_plugin_tools-1592-rtl.css → yst_plugin_tools-1600-rtl.css} +0 -0
  68. css/dist/{yst_plugin_tools-1592.css → yst_plugin_tools-1600.css} +0 -0
  69. css/dist/{yst_seo_score-1592-rtl.css → yst_seo_score-1600-rtl.css} +0 -0
  70. css/dist/{yst_seo_score-1592.css → yst_seo_score-1600.css} +0 -0
  71. inc/class-addon-manager.php +1 -1
  72. inc/class-wpseo-features.php +12 -2
  73. inc/class-wpseo-meta.php +1 -1
  74. inc/class-wpseo-shortlinker.php +1 -1
  75. inc/class-wpseo-utils.php +5 -1
  76. inc/options/class-wpseo-options.php +0 -13
  77. inc/sitemaps/class-post-type-sitemap-provider.php +0 -44
  78. js/dist/{admin-global-1592.js → admin-global-1600.js} +1 -1
  79. js/dist/{analysis-1592.js → analysis-1600.js} +0 -0
  80. js/dist/{analysis-worker-1592.js → analysis-worker-1600.js} +0 -0
  81. js/dist/{api-client-1592.js → api-client-1600.js} +1 -1
  82. js/dist/{babel-polyfill-1592.js → babel-polyfill-1600.js} +0 -0
  83. js/dist/block-editor-1592.js +0 -1
  84. js/dist/block-editor-1600.js +1 -0
  85. js/dist/{bulk-editor-1592.js → bulk-editor-1600.js} +1 -1
  86. js/dist/classic-editor-1592.js +0 -1
  87. js/dist/classic-editor-1600.js +1 -0
  88. js/dist/{commons-1592.js → commons-1600.js} +0 -0
  89. js/dist/configuration-wizard-1592.js +0 -5
  90. js/dist/configuration-wizard-1600.js +5 -0
admin/ajax.php CHANGED
@@ -316,28 +316,6 @@ new WPSEO_Taxonomy_Columns();
316
 
317
  /* ********************* DEPRECATED FUNCTIONS ********************* */
318
 
319
- /**
320
- * Used in the editor to replace vars for the snippet preview.
321
- *
322
- * @deprecated 11.9
323
- * @codeCoverageIgnore
324
- */
325
- function wpseo_ajax_replace_vars() {
326
- _deprecated_function( __METHOD__, 'WPSEO 11.9' );
327
-
328
- global $post;
329
- check_ajax_referer( 'wpseo-replace-vars' );
330
-
331
- $post = get_post( intval( filter_input( INPUT_POST, 'post_id' ) ) );
332
- global $wp_query;
333
- $wp_query->queried_object = $post;
334
- $wp_query->queried_object_id = $post->ID;
335
-
336
- $omit = [ 'excerpt', 'excerpt_only', 'title' ];
337
- echo wpseo_replace_vars( stripslashes( filter_input( INPUT_POST, 'string' ) ), $post, $omit );
338
- die;
339
- }
340
-
341
  /**
342
  * Hides the default tagline notice for a specific user.
343
  *
316
 
317
  /* ********************* DEPRECATED FUNCTIONS ********************* */
318
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
  /**
320
  * Hides the default tagline notice for a specific user.
321
  *
admin/class-admin-asset-manager.php CHANGED
@@ -259,6 +259,8 @@ class WPSEO_Admin_Asset_Manager {
259
  'jquery-ui-core',
260
  'jquery-ui-progressbar',
261
  'wp-api',
 
 
262
  self::PREFIX . 'yoast-components',
263
  self::PREFIX . 'helpers',
264
  self::PREFIX . 'replacement-variable-editor',
@@ -310,6 +312,7 @@ class WPSEO_Admin_Asset_Manager {
310
  'wp-i18n',
311
  'wp-plugins',
312
  'wp-rich-text',
 
313
  self::PREFIX . 'yoast-components',
314
  self::PREFIX . 'legacy-components',
315
  self::PREFIX . 'search-metadata-previews',
@@ -327,6 +330,7 @@ class WPSEO_Admin_Asset_Manager {
327
  'wp-components',
328
  'wp-compose',
329
  'wp-element',
 
330
  self::PREFIX . 'redux',
331
  self::PREFIX . 'yoast-components',
332
  self::PREFIX . 'legacy-components',
@@ -799,6 +803,7 @@ class WPSEO_Admin_Asset_Manager {
799
  'wp-sanitize',
800
  'wp-api-fetch',
801
  'wp-hooks',
 
802
  self::PREFIX . 'components',
803
  self::PREFIX . 'analysis',
804
  self::PREFIX . 'commons',
@@ -949,17 +954,4 @@ class WPSEO_Admin_Asset_Manager {
949
 
950
  return $this->asset_location->get_url( $asset, $type );
951
  }
952
-
953
- /* ********************* DEPRECATED METHODS ********************* */
954
-
955
- /**
956
- * This function is needed for backwards compatibility with Local SEO 12.5.
957
- *
958
- * @deprecated 12.8
959
- * @codeCoverageIgnore
960
- *
961
- * @return void
962
- */
963
- public function register_wp_assets() {
964
- }
965
  }
259
  'jquery-ui-core',
260
  'jquery-ui-progressbar',
261
  'wp-api',
262
+ 'wp-data',
263
+ 'yoast-seo-api',
264
  self::PREFIX . 'yoast-components',
265
  self::PREFIX . 'helpers',
266
  self::PREFIX . 'replacement-variable-editor',
312
  'wp-i18n',
313
  'wp-plugins',
314
  'wp-rich-text',
315
+ 'yoast-seo-api',
316
  self::PREFIX . 'yoast-components',
317
  self::PREFIX . 'legacy-components',
318
  self::PREFIX . 'search-metadata-previews',
330
  'wp-components',
331
  'wp-compose',
332
  'wp-element',
333
+ 'yoast-seo-api',
334
  self::PREFIX . 'redux',
335
  self::PREFIX . 'yoast-components',
336
  self::PREFIX . 'legacy-components',
803
  'wp-sanitize',
804
  'wp-api-fetch',
805
  'wp-hooks',
806
+ 'yoast-seo-api',
807
  self::PREFIX . 'components',
808
  self::PREFIX . 'analysis',
809
  self::PREFIX . 'commons',
954
 
955
  return $this->asset_location->get_url( $asset, $type );
956
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
957
  }
admin/class-admin-init.php CHANGED
@@ -253,7 +253,7 @@ class WPSEO_Admin_Init {
253
  * @return void
254
  */
255
  private function register_premium_upsell_admin_block() {
256
- if ( ! WPSEO_Utils::is_yoast_seo_premium() ) {
257
  $upsell_block = new WPSEO_Premium_Upsell_Admin_Block( 'wpseo_admin_promo_footer' );
258
  $upsell_block->register_hooks();
259
  }
@@ -485,64 +485,6 @@ class WPSEO_Admin_Init {
485
 
486
  /* ********************* DEPRECATED METHODS ********************* */
487
 
488
- /**
489
- * Add an alert if outdated versions of Yoast SEO plugins are running.
490
- *
491
- * @deprecated 12.3
492
- * @codeCoverageIgnore
493
- */
494
- public function yoast_plugin_compatibility_notification() {
495
- _deprecated_function( __METHOD__, 'WPSEO 12.3' );
496
- }
497
-
498
- /**
499
- * Creates a WordPress upgrade notification in the notification center.
500
- *
501
- * @deprecated 12.5
502
- * @codeCoverageIgnore
503
- *
504
- * @return void
505
- */
506
- public function wordpress_upgrade_notice() {
507
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
508
- }
509
-
510
- /**
511
- * Shows a notice to the user if they have Google Analytics for WordPress 5.4.3 installed because it causes an error
512
- * on the google search console page.
513
- *
514
- * @deprecated 12.5
515
- *
516
- * @codeCoverageIgnore
517
- */
518
- public function ga_compatibility_notice() {
519
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
520
- }
521
-
522
- /**
523
- * Display notice to disable comment pagination.
524
- *
525
- * @deprecated 12.8
526
- * @codeCoverageIgnore
527
- */
528
- public function page_comments_notice() {
529
- _deprecated_function( __METHOD__, 'WPSEO 12.8' );
530
- }
531
-
532
- /**
533
- * Are page comments enabled.
534
- *
535
- * @deprecated 12.8
536
- * @codeCoverageIgnore
537
- *
538
- * @return bool
539
- */
540
- public function has_page_comments() {
541
- _deprecated_function( __METHOD__, 'WPSEO 12.8' );
542
-
543
- return get_option( 'page_comments' ) === '1';
544
- }
545
-
546
  /**
547
  * Notify about the default tagline if the user hasn't changed it.
548
  *
253
  * @return void
254
  */
255
  private function register_premium_upsell_admin_block() {
256
+ if ( ! YoastSEO()->helpers->product->is_premium() ) {
257
  $upsell_block = new WPSEO_Premium_Upsell_Admin_Block( 'wpseo_admin_promo_footer' );
258
  $upsell_block->register_hooks();
259
  }
485
 
486
  /* ********************* DEPRECATED METHODS ********************* */
487
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
488
  /**
489
  * Notify about the default tagline if the user hasn't changed it.
490
  *
admin/class-admin.php CHANGED
@@ -52,6 +52,7 @@ class WPSEO_Admin {
52
  }
53
 
54
  add_filter( 'plugin_action_links_' . WPSEO_BASENAME, [ $this, 'add_action_link' ], 10, 2 );
 
55
 
56
  add_action( 'admin_enqueue_scripts', [ $this, 'config_page_scripts' ] );
57
  add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_global_style' ] );
@@ -218,7 +219,13 @@ class WPSEO_Admin {
218
  */
219
  public function add_action_link( $links, $file ) {
220
  if ( WPSEO_BASENAME === $file && WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) {
221
- $settings_link = '<a href="' . esc_url( admin_url( 'admin.php?page=' . self::PAGE_IDENTIFIER ) ) . '">' . __( 'Settings', 'wordpress-seo' ) . '</a>';
 
 
 
 
 
 
222
  array_unshift( $links, $settings_link );
223
  }
224
 
@@ -227,7 +234,18 @@ class WPSEO_Admin {
227
  array_unshift( $links, $faq_link );
228
 
229
  $addon_manager = new WPSEO_Addon_Manager();
230
- if ( WPSEO_Utils::is_yoast_seo_premium() ) {
 
 
 
 
 
 
 
 
 
 
 
231
  if ( $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) {
232
  return $links;
233
  }
52
  }
53
 
54
  add_filter( 'plugin_action_links_' . WPSEO_BASENAME, [ $this, 'add_action_link' ], 10, 2 );
55
+ add_filter( 'network_admin_plugin_action_links_' . WPSEO_BASENAME, [ $this, 'add_action_link' ], 10, 2 );
56
 
57
  add_action( 'admin_enqueue_scripts', [ $this, 'config_page_scripts' ] );
58
  add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_global_style' ] );
219
  */
220
  public function add_action_link( $links, $file ) {
221
  if ( WPSEO_BASENAME === $file && WPSEO_Capability_Utils::current_user_can( 'wpseo_manage_options' ) ) {
222
+ if ( is_network_admin() ) {
223
+ $settings_url = network_admin_url( 'admin.php?page=' . self::PAGE_IDENTIFIER );
224
+ }
225
+ else {
226
+ $settings_url = admin_url( 'admin.php?page=' . self::PAGE_IDENTIFIER );
227
+ }
228
+ $settings_link = '<a href="' . esc_url( $settings_url ) . '">' . __( 'Settings', 'wordpress-seo' ) . '</a>';
229
  array_unshift( $links, $settings_link );
230
  }
231
 
234
  array_unshift( $links, $faq_link );
235
 
236
  $addon_manager = new WPSEO_Addon_Manager();
237
+ if ( YoastSEO()->helpers->product->is_premium() ) {
238
+
239
+ // Remove Free 'deactivate' link if Premium is active as well. We don't want users to deactivate Free when Premium is active.
240
+ unset( $links['deactivate'] );
241
+ $no_deactivation_explanation = '<span style="color: #32373c">' . sprintf(
242
+ /* translators: %s expands to Yoast SEO Premium. */
243
+ __( 'Deactivate %s first', 'wordpress-seo' ),
244
+ 'Yoast SEO Premium'
245
+ ) . '</span>';
246
+
247
+ array_unshift( $links, $no_deactivation_explanation );
248
+
249
  if ( $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) {
250
  return $links;
251
  }
admin/class-config.php CHANGED
@@ -78,8 +78,12 @@ class WPSEO_Admin_Pages {
78
  wp_enqueue_script( 'dashboard' );
79
  wp_enqueue_script( 'thickbox' );
80
 
 
 
 
81
  $script_data = [
82
  'userLanguageCode' => WPSEO_Language_Utils::get_language( \get_user_locale() ),
 
83
  ];
84
 
85
  $page = filter_input( INPUT_GET, 'page' );
@@ -163,9 +167,7 @@ class WPSEO_Admin_Pages {
163
  * @return bool Whether the Local SEO upsell should be shown.
164
  */
165
  private function should_show_local_seo_upsell() {
166
- $addon_manager = new WPSEO_Addon_Manager();
167
-
168
- return ! WPSEO_Utils::is_yoast_seo_premium()
169
  && ! ( defined( 'WPSEO_LOCAL_FILE' ) );
170
  }
171
 
78
  wp_enqueue_script( 'dashboard' );
79
  wp_enqueue_script( 'thickbox' );
80
 
81
+ $alert_dismissal_action = YoastSEO()->classes->get( \Yoast\WP\SEO\Actions\Alert_Dismissal_Action::class );
82
+ $dismissed_alerts = $alert_dismissal_action->all_dismissed();
83
+
84
  $script_data = [
85
  'userLanguageCode' => WPSEO_Language_Utils::get_language( \get_user_locale() ),
86
+ 'dismissedAlerts' => $dismissed_alerts,
87
  ];
88
 
89
  $page = filter_input( INPUT_GET, 'page' );
167
  * @return bool Whether the Local SEO upsell should be shown.
168
  */
169
  private function should_show_local_seo_upsell() {
170
+ return ! YoastSEO()->helpers->product->is_premium()
 
 
171
  && ! ( defined( 'WPSEO_LOCAL_FILE' ) );
172
  }
173
 
admin/class-export.php CHANGED
@@ -146,32 +146,4 @@ class WPSEO_Export {
146
  }
147
  $this->write_line( $key . ' = ' . $val );
148
  }
149
-
150
- /* ********************* DEPRECATED METHODS ********************* */
151
-
152
- /**
153
- * Returns true when the property error has a value.
154
- *
155
- * @deprecated 11.9 Obsolete since the export setting refactor in 9.2.
156
- *
157
- * @codeCoverageIgnore
158
- *
159
- * @return bool
160
- */
161
- public function has_error() {
162
- _deprecated_function( __METHOD__, 'WPSEO 11.9' );
163
-
164
- return false;
165
- }
166
-
167
- /**
168
- * Sets the error hook, to display the error to the user.
169
- *
170
- * @deprecated 11.9 Obsolete since the export setting refactor in 9.2.
171
- *
172
- * @codeCoverageIgnore
173
- */
174
- public function set_error_hook() {
175
- _deprecated_function( __METHOD__, 'WPSEO 11.9' );
176
- }
177
  }
146
  }
147
  $this->write_line( $key . ' = ' . $val );
148
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
149
  }
admin/class-plugin-compatibility.php DELETED
@@ -1,148 +0,0 @@
1
- <?php
2
- /**
3
- * WPSEO plugin file.
4
- *
5
- * @package WPSEO\Plugin_Compatibility
6
- */
7
-
8
- /**
9
- * Class WPSEO_Plugin_Compatibility.
10
- *
11
- * @codeCoverageIgnore
12
- * @deprecated 12.3
13
- */
14
- class WPSEO_Plugin_Compatibility {
15
-
16
- /**
17
- * Holds the current WPSEO version.
18
- *
19
- * @var string
20
- */
21
- protected $current_wpseo_version;
22
-
23
- /**
24
- * Holds the availability checker.
25
- *
26
- * @var WPSEO_Plugin_Availability
27
- */
28
- protected $availability_checker;
29
-
30
- /**
31
- * Holds the installed plugins.
32
- *
33
- * @var array
34
- */
35
- protected $installed_plugins;
36
-
37
- /**
38
- * WPSEO_Plugin_Compatibility constructor.
39
- *
40
- * @deprecated 12.3
41
- * @codeCoverageIgnore
42
- *
43
- * @param string $version The version to check against.
44
- * @param null|class $availability_checker The checker to use.
45
- */
46
- public function __construct( $version, $availability_checker = null ) {
47
- _deprecated_function( __METHOD__, '12.3' );
48
-
49
- // We trim off the patch version, as this shouldn't break the comparison.
50
- $this->current_wpseo_version = $this->get_major_minor_version( $version );
51
- $this->availability_checker = $this->retrieve_availability_checker( $availability_checker );
52
- $this->installed_plugins = $this->availability_checker->get_installed_plugins();
53
- }
54
-
55
- /**
56
- * Retrieves the availability checker.
57
- *
58
- * @deprecated 12.3
59
- * @codeCoverageIgnore
60
- *
61
- * @param null|object $checker The checker to set.
62
- *
63
- * @return WPSEO_Plugin_Availability The checker to use.
64
- */
65
- private function retrieve_availability_checker( $checker ) {
66
- _deprecated_function( __METHOD__, '12.3' );
67
-
68
- if ( is_null( $checker ) || ! is_object( $checker ) ) {
69
- $checker = new WPSEO_Plugin_Availability();
70
- $checker->register();
71
- }
72
-
73
- return $checker;
74
- }
75
-
76
- /**
77
- * Wraps the availability checker's get_installed_plugins method.
78
- *
79
- * @deprecated 12.3
80
- * @codeCoverageIgnore
81
- *
82
- * @return array Array containing all the installed plugins.
83
- */
84
- public function get_installed_plugins() {
85
- _deprecated_function( __METHOD__, '12.3' );
86
-
87
- return $this->installed_plugins;
88
- }
89
-
90
- /**
91
- * Creates a list of installed plugins and whether or not they are compatible.
92
- *
93
- * @deprecated 12.3
94
- * @codeCoverageIgnore
95
- *
96
- * @return array Array containing the installed plugins and compatibility.
97
- */
98
- public function get_installed_plugins_compatibility() {
99
- _deprecated_function( __METHOD__, '12.3' );
100
-
101
- foreach ( $this->installed_plugins as $key => $plugin ) {
102
-
103
- $this->installed_plugins[ $key ]['compatible'] = $this->is_compatible( $key );
104
- }
105
-
106
- return $this->installed_plugins;
107
- }
108
-
109
- /**
110
- * Checks whether or not a plugin is compatible.
111
- *
112
- * @deprecated 12.3
113
- * @codeCoverageIgnore
114
- *
115
- * @param string $plugin The plugin to look for and match.
116
- *
117
- * @return bool Whether or not the plugin is compatible.
118
- */
119
- public function is_compatible( $plugin ) {
120
- _deprecated_function( __METHOD__, '12.3' );
121
-
122
- $plugin = $this->availability_checker->get_plugin( $plugin );
123
-
124
- // If we are not syncing versions, we are always compatible.
125
- if ( ! isset( $plugin['version_sync'] ) || $plugin['version_sync'] !== true ) {
126
- return true;
127
- }
128
-
129
- $plugin_version = $this->availability_checker->get_version( $plugin );
130
- return $this->get_major_minor_version( $plugin_version ) === $this->current_wpseo_version;
131
- }
132
-
133
- /**
134
- * Gets the major/minor version of the plugin for easier comparing.
135
- *
136
- * @deprecated 12.3
137
- * @codeCoverageIgnore
138
- *
139
- * @param string $version The version to trim.
140
- *
141
- * @return string The major/minor version of the plugin.
142
- */
143
- protected function get_major_minor_version( $version ) {
144
- _deprecated_function( __METHOD__, '12.3' );
145
-
146
- return substr( $version, 0, 3 );
147
- }
148
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/class-product-upsell-notice.php CHANGED
@@ -121,8 +121,7 @@ class WPSEO_Product_Upsell_Notice {
121
  * @return string
122
  */
123
  protected function get_premium_upsell_section() {
124
- $features = new WPSEO_Features();
125
- if ( $features->is_free() ) {
126
  return sprintf(
127
  /* translators: %1$s expands anchor to premium plugin page, %2$s expands to </a> */
128
  __( 'By the way, did you know we also have a %1$sPremium plugin%2$s? It offers advanced features, like a redirect manager and support for multiple keyphrases. It also comes with 24/7 personal support.', 'wordpress-seo' ),
121
  * @return string
122
  */
123
  protected function get_premium_upsell_section() {
124
+ if ( ! YoastSEO()->helpers->product->is_premium() ) {
 
125
  return sprintf(
126
  /* translators: %1$s expands anchor to premium plugin page, %2$s expands to </a> */
127
  __( 'By the way, did you know we also have a %1$sPremium plugin%2$s? It offers advanced features, like a redirect manager and support for multiple keyphrases. It also comes with 24/7 personal support.', 'wordpress-seo' ),
admin/class-yoast-form.php CHANGED
@@ -184,7 +184,7 @@ class Yoast_Form {
184
  public function admin_sidebar() {
185
  // No banners in Premium.
186
  $addon_manager = new WPSEO_Addon_Manager();
187
- if ( WPSEO_Utils::is_yoast_seo_premium() && $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) {
188
  return;
189
  }
190
 
184
  public function admin_sidebar() {
185
  // No banners in Premium.
186
  $addon_manager = new WPSEO_Addon_Manager();
187
+ if ( YoastSEO()->helpers->product->is_premium() && $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG ) ) {
188
  return;
189
  }
190
 
admin/class-yoast-notification-center.php CHANGED
@@ -5,6 +5,8 @@
5
  * @package WPSEO\Admin\Notifications
6
  */
7
 
 
 
8
  /**
9
  * Handles notifications storage and display.
10
  */
@@ -789,6 +791,13 @@ class Yoast_Notification_Center {
789
  unset( $notification_data['options']['nonce'] );
790
  }
791
 
 
 
 
 
 
 
 
792
  return new Yoast_Notification(
793
  $notification_data['message'],
794
  $notification_data['options']
5
  * @package WPSEO\Admin\Notifications
6
  */
7
 
8
+ use Yoast\WP\SEO\Presenters\Abstract_Presenter;
9
+
10
  /**
11
  * Handles notifications storage and display.
12
  */
791
  unset( $notification_data['options']['nonce'] );
792
  }
793
 
794
+ if (
795
+ isset( $notification_data['message'] ) &&
796
+ \is_subclass_of( $notification_data['message'], Abstract_Presenter::class, false )
797
+ ) {
798
+ $notification_data['message'] = $notification_data['message']->present();
799
+ }
800
+
801
  return new Yoast_Notification(
802
  $notification_data['message'],
803
  $notification_data['options']
admin/config-ui/components/class-component-suggestions.php CHANGED
@@ -28,7 +28,7 @@ class WPSEO_Config_Component_Suggestions implements WPSEO_Config_Component {
28
  $field = new WPSEO_Config_Field_Suggestions();
29
 
30
  // Only show Premium upsell when we are not inside a Premium install.
31
- if ( ! WPSEO_Utils::is_yoast_seo_premium() ) {
32
  $field->add_suggestion(
33
  /* translators: %s resolves to Yoast SEO Premium */
34
  sprintf( __( 'Outrank the competition with %s', 'wordpress-seo' ), 'Yoast SEO Premium' ),
@@ -73,7 +73,7 @@ class WPSEO_Config_Component_Suggestions implements WPSEO_Config_Component {
73
  );
74
 
75
  // When we are running in Yoast SEO Premium and don't have Local SEO installed, show Local SEO as suggestion.
76
- if ( WPSEO_Utils::is_yoast_seo_premium() && ! defined( 'WPSEO_LOCAL_FILE' ) ) {
77
  $field->add_suggestion(
78
  __( 'Attract more customers near you', 'wordpress-seo' ),
79
  /* translators: %1$s resolves to Local SEO */
28
  $field = new WPSEO_Config_Field_Suggestions();
29
 
30
  // Only show Premium upsell when we are not inside a Premium install.
31
+ if ( ! YoastSEO()->helpers->product->is_premium() ) {
32
  $field->add_suggestion(
33
  /* translators: %s resolves to Yoast SEO Premium */
34
  sprintf( __( 'Outrank the competition with %s', 'wordpress-seo' ), 'Yoast SEO Premium' ),
73
  );
74
 
75
  // When we are running in Yoast SEO Premium and don't have Local SEO installed, show Local SEO as suggestion.
76
+ if ( YoastSEO()->helpers->product->is_premium() && ! defined( 'WPSEO_LOCAL_FILE' ) ) {
77
  $field->add_suggestion(
78
  __( 'Attract more customers near you', 'wordpress-seo' ),
79
  /* translators: %1$s resolves to Local SEO */
admin/formatter/class-metabox-formatter.php CHANGED
@@ -76,7 +76,7 @@ class WPSEO_Metabox_Formatter {
76
  'semrushIntegrationActive' => WPSEO_Options::get( 'semrush_integration_active', true ) ? 1 : 0,
77
  'intl' => $this->get_content_analysis_component_translations(),
78
  'isRtl' => is_rtl(),
79
- 'isPremium' => WPSEO_Utils::is_yoast_seo_premium(),
80
  'wordFormRecognitionActive' => YoastSEO()->helpers->language->is_word_form_recognition_active( WPSEO_Language_Utils::get_language( get_locale() ) ),
81
  'siteIconUrl' => get_site_icon_url(),
82
  'countryCode' => WPSEO_Options::get( 'semrush_country_code', false ),
76
  'semrushIntegrationActive' => WPSEO_Options::get( 'semrush_integration_active', true ) ? 1 : 0,
77
  'intl' => $this->get_content_analysis_component_translations(),
78
  'isRtl' => is_rtl(),
79
+ 'isPremium' => YoastSEO()->helpers->product->is_premium(),
80
  'wordFormRecognitionActive' => YoastSEO()->helpers->language->is_word_form_recognition_active( WPSEO_Language_Utils::get_language( get_locale() ) ),
81
  'siteIconUrl' => get_site_icon_url(),
82
  'countryCode' => WPSEO_Options::get( 'semrush_country_code', false ),
admin/formatter/class-post-metabox-formatter.php CHANGED
@@ -131,7 +131,7 @@ class WPSEO_Post_Metabox_Formatter implements WPSEO_Metabox_Formatter_Interface
131
  $keyword = WPSEO_Meta::get_value( 'focuskw', $this->post->ID );
132
  $usage = [ $keyword => $this->get_keyword_usage_for_current_post( $keyword ) ];
133
 
134
- if ( WPSEO_Utils::is_yoast_seo_premium() ) {
135
  return $this->get_premium_keywords( $usage );
136
  }
137
 
131
  $keyword = WPSEO_Meta::get_value( 'focuskw', $this->post->ID );
132
  $usage = [ $keyword => $this->get_keyword_usage_for_current_post( $keyword ) ];
133
 
134
+ if ( YoastSEO()->helpers->product->is_premium() ) {
135
  return $this->get_premium_keywords( $usage );
136
  }
137
 
admin/google_search_console/class-gsc.php CHANGED
@@ -8,7 +8,7 @@
8
  /**
9
  * Class WPSEO_GSC.
10
  */
11
- class WPSEO_GSC implements WPSEO_WordPress_Integration {
12
 
13
  /**
14
  * The option where data will be stored.
@@ -25,104 +25,4 @@ class WPSEO_GSC implements WPSEO_WordPress_Integration {
25
  public function display() {
26
  require_once WPSEO_PATH . 'admin/google_search_console/views/gsc-display.php';
27
  }
28
-
29
- /**
30
- * Registers the hooks.
31
- *
32
- * @deprecated 12.5
33
- *
34
- * @codeCoverageIgnore
35
- *
36
- * @return void
37
- */
38
- public function register_hooks() {
39
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
40
- }
41
-
42
- /**
43
- * Handles the dashboard notification.
44
- *
45
- * If the Google Search Console has no credentials, show a notification
46
- * for the user to give them a heads up. This message is dismissable.
47
- *
48
- * @deprecated 12.5
49
- *
50
- * @codeCoverageIgnore
51
- *
52
- * @return void
53
- */
54
- public function register_gsc_notification() {
55
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
56
- }
57
-
58
- /**
59
- * Makes sure the settings will be registered, so data can be stored.
60
- *
61
- * @deprecated 12.5
62
- *
63
- * @codeCoverageIgnore
64
- *
65
- * @return void
66
- */
67
- public function register_settings() {
68
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
69
- }
70
-
71
- /**
72
- * Displays the table.
73
- *
74
- * @deprecated 12.5
75
- *
76
- * @codeCoverageIgnore
77
- *
78
- * @return void
79
- */
80
- public function display_table() {
81
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
82
- }
83
-
84
- /**
85
- * Loads the admin redirects scripts.
86
- *
87
- * @deprecated 12.5
88
- *
89
- * @codeCoverageIgnore
90
- *
91
- * @return void
92
- */
93
- public function page_scripts() {
94
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
95
- }
96
-
97
- /**
98
- * Sets the screen options.
99
- *
100
- * @deprecated 12.5
101
- *
102
- * @codeCoverageIgnore
103
- *
104
- * @param string $status Status string.
105
- * @param string $option Option key.
106
- * @param string $value Value to return.
107
- *
108
- * @return mixed The screen option value. False when not errors_per_page.
109
- */
110
- public function set_screen_option( $status, $option, $value ) {
111
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
112
-
113
- return false;
114
- }
115
-
116
- /**
117
- * Sets the tab help on top of the screen.
118
- *
119
- * @deprecated 12.5
120
- *
121
- * @codeCoverageIgnore
122
- *
123
- * @return void
124
- */
125
- public function set_help() {
126
- _deprecated_function( __METHOD__, 'WPSEO 12.5' );
127
- }
128
  }
8
  /**
9
  * Class WPSEO_GSC.
10
  */
11
+ class WPSEO_GSC {
12
 
13
  /**
14
  * The option where data will be stored.
25
  public function display() {
26
  require_once WPSEO_PATH . 'admin/google_search_console/views/gsc-display.php';
27
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
admin/google_search_console/views/gsc-display.php CHANGED
@@ -9,11 +9,7 @@
9
  Yoast_Form::get_instance()->admin_header( false, 'wpseo-gsc', false, 'yoast_wpseo_gsc_options' );
10
 
11
  // GSC Error notification.
12
- $gsc_profile = WPSEO_GSC_Settings::get_profile();
13
- $gsc_url = 'https://search.google.com/search-console/index';
14
- if ( $gsc_profile !== '' ) {
15
- $gsc_url .= '?resource_id=' . rawurlencode( $gsc_profile );
16
- }
17
  $gsc_post_url = 'https://yoa.st/google-search-console-deprecated';
18
  $gsc_style_alert = '
19
  display: flex;
9
  Yoast_Form::get_instance()->admin_header( false, 'wpseo-gsc', false, 'yoast_wpseo_gsc_options' );
10
 
11
  // GSC Error notification.
12
+ $gsc_url = 'https://search.google.com/search-console/index';
 
 
 
 
13
  $gsc_post_url = 'https://yoa.st/google-search-console-deprecated';
14
  $gsc_style_alert = '
15
  display: flex;
admin/metabox/class-metabox.php CHANGED
@@ -893,6 +893,9 @@ class WPSEO_Metabox extends WPSEO_Meta {
893
  'enabled_features' => WPSEO_Utils::retrieve_enabled_features(),
894
  ];
895
 
 
 
 
896
  $script_data = [
897
  // @todo replace this translation with JavaScript translations.
898
  'media' => [ 'choose_image' => __( 'Use Image', 'wordpress-seo' ) ],
@@ -905,6 +908,7 @@ class WPSEO_Metabox extends WPSEO_Meta {
905
  'worker' => $worker_script_data,
906
  'estimatedReadingTimeEnabled' => $this->estimated_reading_time_conditional->is_met(),
907
  ],
 
908
  ];
909
 
910
  if ( post_type_supports( get_post_type(), 'thumbnail' ) ) {
@@ -1112,29 +1116,4 @@ class WPSEO_Metabox extends WPSEO_Meta {
1112
  protected function get_product_title() {
1113
  return YoastSEO()->helpers->product->get_product_name();
1114
  }
1115
-
1116
- /* ********************* DEPRECATED METHODS ********************* */
1117
-
1118
- /**
1119
- * Outputs a tab in the Yoast SEO Metabox.
1120
- *
1121
- * @deprecated 12.2
1122
- * @codeCoverageIgnore
1123
- *
1124
- * @param string $id CSS ID of the tab.
1125
- * @param string $heading Heading for the tab.
1126
- * @param string $content Content of the tab. This content should be escaped.
1127
- */
1128
- public function do_tab( $id, $heading, $content ) {
1129
- _deprecated_function( __METHOD__, '12.2' );
1130
-
1131
- ?>
1132
- <div id="<?php echo esc_attr( 'wpseo_' . $id ); ?>" class="wpseotab wpseo-form <?php echo esc_attr( $id ); ?>">
1133
- <?php
1134
- // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: deprecated function.
1135
- echo $content;
1136
- ?>
1137
- </div>
1138
- <?php
1139
- }
1140
  }
893
  'enabled_features' => WPSEO_Utils::retrieve_enabled_features(),
894
  ];
895
 
896
+ $alert_dismissal_action = YoastSEO()->classes->get( \Yoast\WP\SEO\Actions\Alert_Dismissal_Action::class );
897
+ $dismissed_alerts = $alert_dismissal_action->all_dismissed();
898
+
899
  $script_data = [
900
  // @todo replace this translation with JavaScript translations.
901
  'media' => [ 'choose_image' => __( 'Use Image', 'wordpress-seo' ) ],
908
  'worker' => $worker_script_data,
909
  'estimatedReadingTimeEnabled' => $this->estimated_reading_time_conditional->is_met(),
910
  ],
911
+ 'dismissedAlerts' => $dismissed_alerts,
912
  ];
913
 
914
  if ( post_type_supports( get_post_type(), 'thumbnail' ) ) {
1116
  protected function get_product_title() {
1117
  return YoastSEO()->helpers->product->get_product_name();
1118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1119
  }
admin/views/licenses.php CHANGED
@@ -86,7 +86,7 @@ if ( YoastSEO()->helpers->woocommerce->is_active() ) {
86
  }
87
 
88
  $addon_manager = new WPSEO_Addon_Manager();
89
- $has_valid_premium_subscription = WPSEO_Utils::is_yoast_seo_premium() && $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG );
90
 
91
  /* translators: %1$s expands to Yoast SEO. */
92
  $wpseo_extensions_header = sprintf( __( '%1$s Extensions', 'wordpress-seo' ), 'Yoast SEO' );
86
  }
87
 
88
  $addon_manager = new WPSEO_Addon_Manager();
89
+ $has_valid_premium_subscription = YoastSEO()->helpers->product->is_premium() && $addon_manager->has_valid_subscription( WPSEO_Addon_Manager::PREMIUM_SLUG );
90
 
91
  /* translators: %1$s expands to Yoast SEO. */
92
  $wpseo_extensions_header = sprintf( __( '%1$s Extensions', 'wordpress-seo' ), 'Yoast SEO' );
admin/watchers/class-slug-change-watcher.php CHANGED
@@ -17,7 +17,7 @@ class WPSEO_Slug_Change_Watcher implements WPSEO_WordPress_Integration {
17
  */
18
  public function register_hooks() {
19
  // If the current plugin is Yoast SEO Premium, stop registering.
20
- if ( WPSEO_Utils::is_yoast_seo_premium() ) {
21
  return;
22
  }
23
 
17
  */
18
  public function register_hooks() {
19
  // If the current plugin is Yoast SEO Premium, stop registering.
20
+ if ( YoastSEO()->helpers->product->is_premium() ) {
21
  return;
22
  }
23
 
css/dist/{admin-global-1592-rtl.css → admin-global-1600-rtl.css} RENAMED
File without changes
css/dist/{admin-global-1592.css → admin-global-1600.css} RENAMED
File without changes
css/dist/{adminbar-1592-rtl.css → adminbar-1600-rtl.css} RENAMED
File without changes
css/dist/{adminbar-1592.css → adminbar-1600.css} RENAMED
File without changes
css/dist/{alerts-1592-rtl.css → alerts-1600-rtl.css} RENAMED
File without changes
css/dist/{alerts-1592.css → alerts-1600.css} RENAMED
File without changes
css/dist/{badge-1592-rtl.css → badge-1600-rtl.css} RENAMED
File without changes
css/dist/{badge-1592.css → badge-1600.css} RENAMED
File without changes
css/dist/{dashboard-1592-rtl.css → dashboard-1600-rtl.css} RENAMED
File without changes
css/dist/{dashboard-1592.css → dashboard-1600.css} RENAMED
File without changes
css/dist/{edit-page-1592-rtl.css → edit-page-1600-rtl.css} RENAMED
File without changes
css/dist/{edit-page-1592.css → edit-page-1600.css} RENAMED
File without changes
css/dist/{elementor-1592-rtl.css → elementor-1600-rtl.css} RENAMED
File without changes
css/dist/{elementor-1592.css → elementor-1600.css} RENAMED
File without changes
css/dist/{featured-image-1592-rtl.css → featured-image-1600-rtl.css} RENAMED
File without changes
css/dist/{featured-image-1592.css → featured-image-1600.css} RENAMED
File without changes
css/dist/{filter-explanation-1592-rtl.css → filter-explanation-1600-rtl.css} RENAMED
File without changes
css/dist/{filter-explanation-1592.css → filter-explanation-1600.css} RENAMED
File without changes
css/dist/{icons-1592-rtl.css → icons-1600-rtl.css} RENAMED
File without changes
css/dist/{icons-1592.css → icons-1600.css} RENAMED
File without changes
css/dist/{inside-editor-1592-rtl.css → inside-editor-1600-rtl.css} RENAMED
File without changes
css/dist/{inside-editor-1592.css → inside-editor-1600.css} RENAMED
File without changes
css/dist/{metabox-1592-rtl.css → metabox-1600-rtl.css} RENAMED
File without changes
css/dist/{metabox-1592.css → metabox-1600.css} RENAMED
File without changes
css/dist/{metabox-primary-category-1592-rtl.css → metabox-primary-category-1600-rtl.css} RENAMED
File without changes
css/dist/{metabox-primary-category-1592.css → metabox-primary-category-1600.css} RENAMED
File without changes
css/dist/{modal-1592-rtl.css → modal-1600-rtl.css} RENAMED
File without changes
css/dist/{modal-1592.css → modal-1600.css} RENAMED
File without changes
css/dist/{monorepo-1592-rtl.css → monorepo-1600-rtl.css} RENAMED
File without changes
css/dist/{monorepo-1592.css → monorepo-1600.css} RENAMED
File without changes
css/dist/{notifications-1592-rtl.css → notifications-1600-rtl.css} RENAMED
File without changes
css/dist/{notifications-1592.css → notifications-1600.css} RENAMED
File without changes
css/dist/{schema-blocks-1592-rtl.css → schema-blocks-1600-rtl.css} RENAMED
File without changes
css/dist/{schema-blocks-1592.css → schema-blocks-1600.css} RENAMED
File without changes
css/dist/{score_icon-1592-rtl.css → score_icon-1600-rtl.css} RENAMED
File without changes
css/dist/{score_icon-1592.css → score_icon-1600.css} RENAMED
File without changes
css/dist/{search-appearance-1592-rtl.css → search-appearance-1600-rtl.css} RENAMED
File without changes
css/dist/{search-appearance-1592.css → search-appearance-1600.css} RENAMED
File without changes
css/dist/{structured-data-blocks-1592-rtl.css → structured-data-blocks-1600-rtl.css} RENAMED
File without changes
css/dist/{structured-data-blocks-1592.css → structured-data-blocks-1600.css} RENAMED
File without changes
css/dist/{toggle-switch-1592-rtl.css → toggle-switch-1600-rtl.css} RENAMED
File without changes
css/dist/{toggle-switch-1592.css → toggle-switch-1600.css} RENAMED
File without changes
css/dist/{wpseo-dismissible-1592-rtl.css → wpseo-dismissible-1600-rtl.css} RENAMED
File without changes
css/dist/{wpseo-dismissible-1592.css → wpseo-dismissible-1600.css} RENAMED
File without changes
css/dist/{yoast-components-1592-rtl.css → yoast-components-1600-rtl.css} RENAMED
File without changes
css/dist/{yoast-components-1592.css → yoast-components-1600.css} RENAMED
File without changes
css/dist/{yoast-extensions-1592-rtl.css → yoast-extensions-1600-rtl.css} RENAMED
File without changes
css/dist/{yoast-extensions-1592.css → yoast-extensions-1600.css} RENAMED
File without changes
css/dist/{yst_plugin_tools-1592-rtl.css → yst_plugin_tools-1600-rtl.css} RENAMED
File without changes
css/dist/{yst_plugin_tools-1592.css → yst_plugin_tools-1600.css} RENAMED
File without changes
css/dist/{yst_seo_score-1592-rtl.css → yst_seo_score-1600-rtl.css} RENAMED
File without changes
css/dist/{yst_seo_score-1592.css → yst_seo_score-1600.css} RENAMED
File without changes
inc/class-addon-manager.php CHANGED
@@ -450,7 +450,7 @@ class WPSEO_Addon_Manager {
450
  $addons = self::$addons;
451
 
452
  // Yoast SEO Free isn't an addon, but we needed it in Premium to fetch translations.
453
- if ( WPSEO_Utils::is_yoast_seo_premium() ) {
454
  $addons['wp-seo.php'] = self::FREE_SLUG;
455
  }
456
 
450
  $addons = self::$addons;
451
 
452
  // Yoast SEO Free isn't an addon, but we needed it in Premium to fetch translations.
453
+ if ( YoastSEO()->helpers->product->is_premium() ) {
454
  $addons['wp-seo.php'] = self::FREE_SLUG;
455
  }
456
 
inc/class-wpseo-features.php CHANGED
@@ -7,24 +7,34 @@
7
 
8
  /**
9
  * Class containing method for WPSEO Features.
 
 
10
  */
11
  class WPSEO_Features {
12
 
13
  /**
14
  * Checks if the premium constant exists to make sure if plugin is the premium one.
15
  *
 
 
 
16
  * @return bool
17
  */
18
  public function is_premium() {
19
- return ( defined( 'WPSEO_PREMIUM_FILE' ) );
 
20
  }
21
 
22
  /**
23
  * Checks if using the free version of the plugin.
24
  *
 
 
 
25
  * @return bool
26
  */
27
  public function is_free() {
28
- return ! $this->is_premium();
 
29
  }
30
  }
7
 
8
  /**
9
  * Class containing method for WPSEO Features.
10
+ *
11
+ * @deprecated 16.0
12
  */
13
  class WPSEO_Features {
14
 
15
  /**
16
  * Checks if the premium constant exists to make sure if plugin is the premium one.
17
  *
18
+ * @deprecated 16.0
19
+ * @codeCoverageIgnore
20
+ *
21
  * @return bool
22
  */
23
  public function is_premium() {
24
+ _deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
25
+ return YoastSEO()->helpers->product->is_premium();
26
  }
27
 
28
  /**
29
  * Checks if using the free version of the plugin.
30
  *
31
+ * @deprecated 16.0
32
+ * @codeCoverageIgnore
33
+ *
34
  * @return bool
35
  */
36
  public function is_free() {
37
+ _deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
38
+ return true;
39
  }
40
  }
inc/class-wpseo-meta.php CHANGED
@@ -1022,7 +1022,7 @@ class WPSEO_Meta {
1022
  * In that case there's no use for an additional query as we already know
1023
  * that the keyword has been used multiple times before.
1024
  */
1025
- if ( WPSEO_Utils::is_yoast_seo_premium() && count( $post_ids ) < 2 ) {
1026
  $query = [
1027
  'meta_query' => [
1028
  [
1022
  * In that case there's no use for an additional query as we already know
1023
  * that the keyword has been used multiple times before.
1024
  */
1025
+ if ( YoastSEO()->helpers->product->is_premium() && count( $post_ids ) < 2 ) {
1026
  $query = [
1027
  'meta_query' => [
1028
  [
inc/class-wpseo-shortlinker.php CHANGED
@@ -97,7 +97,7 @@ class WPSEO_Shortlinker {
97
  * @return string The software name + activation state.
98
  */
99
  private function get_software() {
100
- if ( WPSEO_Utils::is_yoast_seo_premium() ) {
101
  return 'premium';
102
  }
103
 
97
  * @return string The software name + activation state.
98
  */
99
  private function get_software() {
100
+ if ( YoastSEO()->helpers->product->is_premium() ) {
101
  return 'premium';
102
  }
103
 
inc/class-wpseo-utils.php CHANGED
@@ -693,10 +693,14 @@ class WPSEO_Utils {
693
  /**
694
  * Checks if we are in the premium or free plugin.
695
  *
 
 
 
696
  * @return bool True when we are in the premium plugin.
697
  */
698
  public static function is_yoast_seo_premium() {
699
- return defined( 'WPSEO_PREMIUM_PLUGIN_FILE' );
 
700
  }
701
 
702
  /**
693
  /**
694
  * Checks if we are in the premium or free plugin.
695
  *
696
+ * @deprecated 16.0
697
+ * @codeCoverageIgnore
698
+ *
699
  * @return bool True when we are in the premium plugin.
700
  */
701
  public static function is_yoast_seo_premium() {
702
+ _deprecated_function( __FUNCTION__, '16.0', 'YoastSEO()->helpers->product->is_premium' );
703
+ return YoastSEO()->helpers->product->is_premium();
704
  }
705
 
706
  /**
inc/options/class-wpseo-options.php CHANGED
@@ -586,17 +586,4 @@ class WPSEO_Options {
586
 
587
  return $pattern_table;
588
  }
589
-
590
- /* ********************* DEPRECATED METHODS ********************* */
591
-
592
- /**
593
- * Fills our option cache.
594
- *
595
- * @deprecated 12.8.1
596
- * @codeCoverageIgnore
597
- */
598
- public static function fill_cache() {
599
- _deprecated_function( __METHOD__, 'WPSEO 12.8.1', '::clear_cache' );
600
- static::clear_cache();
601
- }
602
  }
586
 
587
  return $pattern_table;
588
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  }
inc/sitemaps/class-post-type-sitemap-provider.php CHANGED
@@ -654,48 +654,4 @@ class WPSEO_Post_Type_Sitemap_Provider implements WPSEO_Sitemap_Provider {
654
 
655
  return $url;
656
  }
657
-
658
- /* ********************* DEPRECATED METHODS ********************* */
659
-
660
- /**
661
- * Get Home URL.
662
- *
663
- * @deprecated 11.5
664
- * @codeCoverageIgnore
665
- *
666
- * @return string
667
- */
668
- protected function get_home_url() {
669
- _deprecated_function( __METHOD__, 'WPSEO 11.5', 'WPSEO_Utils::home_url' );
670
-
671
- return YoastSEO()->helpers->url->home();
672
- }
673
-
674
- /**
675
- * Get front page ID.
676
- *
677
- * @deprecated 11.5
678
- * @codeCoverageIgnore
679
- *
680
- * @return int
681
- */
682
- protected function get_page_on_front_id() {
683
- _deprecated_function( __METHOD__, 'WPSEO 11.5' );
684
-
685
- return (int) get_option( 'page_on_front' );
686
- }
687
-
688
- /**
689
- * Get page for posts ID.
690
- *
691
- * @deprecated 11.5
692
- * @codeCoverageIgnore
693
- *
694
- * @return int
695
- */
696
- protected function get_page_for_posts_id() {
697
- _deprecated_function( __METHOD__, 'WPSEO 11.5' );
698
-
699
- return (int) get_option( 'page_for_posts' );
700
- }
701
  }
654
 
655
  return $url;
656
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
657
  }
js/dist/{admin-global-1592.js → admin-global-1600.js} RENAMED
@@ -1 +1 @@
1
- (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[1],{368:function(o,t,a){"use strict";!function(o){function t(o,t,a){jQuery.post(ajaxurl,{action:"wpseo_set_ignore",option:o,_wpnonce:a},function(a){a&&(jQuery("#"+t).hide(),jQuery("#hidden_ignore_"+o).val("ignore"))})}function a(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function s(t,a){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==a.html){a.html&&(t.closest(".yoast-container").html(a.html),n());var s=o("#wp-admin-bar-wpseo-menu"),e=s.find(".yoast-issue-counter");e.length||(s.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=s.find(".yoast-issue-counter")),e.html(a.total),0===a.total?e.hide():e.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+a.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(a.total)}}function n(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:t.data("json")||a.data("json")},s.bind(this,a),"json")}),t.on("click",".restore",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:a.data("json")},s.bind(this,a),"json")})}function e(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function i(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each(function(){var t=o(this);if(!t.data("scrollContainer")){var a=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),s=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);a.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",s),t.data("scrollHint",a),t.appendTo(s.find(".yoast-table-scrollable__inner")),e(t)}})}jQuery(document).ready(function(){jQuery(".yoast-dismissible").on("click",".yoast-notice-dismiss",function(){var o=jQuery(this).parent();return jQuery.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),jQuery.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,function(){o.slideUp(100,function(){o.remove()})}),!1}),jQuery(".yoast-help-button").on("click",function(){var o=jQuery(this),t=jQuery("#"+o.attr("aria-controls")),a=t.is(":visible");jQuery(t).slideToggle(200,function(){o.attr("aria-expanded",!a)})}),jQuery("#robotsmessage button").on("click",function(){t("search_engines_discouraged_notice","robotsmessage",jQuery(this).data("nonce"))})}),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return jQuery('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&function(t){t.each(function(){e(o(this))})}(window.wpseoScrollableTables)}),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout(function(){i()},100)},"Yoast:YoastTabsSelected":function(){setTimeout(function(){i()},100)}}),o(document).ready(function(){o(".yoast-issue-added").on("mouseenter mouseleave",function(o){o.stopPropagation(),a()}).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",a),setTimeout(a,3e3),n(),function(){var o=jQuery(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){var a=t.find("path"),s=o.css("backgroundColor");a.css("fill",s)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),i()})}(jQuery)}},[[368,0]]]);
1
+ (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[1],{373:function(o,t,a){"use strict";!function(o){function t(o,t,a){jQuery.post(ajaxurl,{action:"wpseo_set_ignore",option:o,_wpnonce:a},function(a){a&&(jQuery("#"+t).hide(),jQuery("#hidden_ignore_"+o).val("ignore"))})}function a(){o("#wp-admin-bar-root-default > li").off("mouseenter.yoastalertpopup mouseleave.yoastalertpopup"),o(".yoast-issue-added").fadeOut(200)}function s(t,a){if(o(".yoast-notification-holder").off("click",".restore").off("click",".dismiss"),void 0!==a.html){a.html&&(t.closest(".yoast-container").html(a.html),n());var s=o("#wp-admin-bar-wpseo-menu"),e=s.find(".yoast-issue-counter");e.length||(s.find("> a:first-child").append('<div class="yoast-issue-counter"/>'),e=s.find(".yoast-issue-counter")),e.html(a.total),0===a.total?e.hide():e.show(),o("#toplevel_page_wpseo_dashboard .update-plugins").removeClass().addClass("update-plugins count-"+a.total),o("#toplevel_page_wpseo_dashboard .plugin-count").html(a.total)}}function n(){var t=o(".yoast-notification-holder");t.on("click",".dismiss",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_dismiss_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:t.data("json")||a.data("json")},s.bind(this,a),"json")}),t.on("click",".restore",function(){var t=o(this),a=t.closest(".yoast-notification-holder");t.closest(".yoast-container").append('<div class="yoast-container-disabled"/>'),o.post(ajaxurl,{action:"yoast_restore_notification",notification:a.attr("id"),nonce:a.data("nonce"),data:a.data("json")},s.bind(this,a),"json")})}function e(o){o.is(":hidden")||(o.outerWidth()>o.parent().outerWidth()?(o.data("scrollHint").addClass("yoast-has-scroll"),o.data("scrollContainer").addClass("yoast-has-scroll")):(o.data("scrollHint").removeClass("yoast-has-scroll"),o.data("scrollContainer").removeClass("yoast-has-scroll")))}function i(){window.wpseoScrollableTables=o(".yoast-table-scrollable"),window.wpseoScrollableTables.length&&window.wpseoScrollableTables.each(function(){var t=o(this);if(!t.data("scrollContainer")){var a=o("<div />",{class:"yoast-table-scrollable__hintwrapper",html:"<span class='yoast-table-scrollable__hint' aria-hidden='true' />"}).insertBefore(t),s=o("<div />",{class:"yoast-table-scrollable__container",html:"<div class='yoast-table-scrollable__inner' />"}).insertBefore(t);a.find(".yoast-table-scrollable__hint").text(wpseoAdminGlobalL10n.scrollable_table_hint),t.data("scrollContainer",s),t.data("scrollHint",a),t.appendTo(s.find(".yoast-table-scrollable__inner")),e(t)}})}jQuery(document).ready(function(){jQuery(".yoast-dismissible").on("click",".yoast-notice-dismiss",function(){var o=jQuery(this).parent();return jQuery.post(ajaxurl,{action:o.attr("id").replace(/-/g,"_"),_wpnonce:o.data("nonce"),data:o.data("json")}),jQuery.post(ajaxurl,{action:"yoast_dismiss_notification",notification:o.attr("id"),nonce:o.data("nonce"),data:o.data("json")}),o.fadeTo(100,0,function(){o.slideUp(100,function(){o.remove()})}),!1}),jQuery(".yoast-help-button").on("click",function(){var o=jQuery(this),t=jQuery("#"+o.attr("aria-controls")),a=t.is(":visible");jQuery(t).slideToggle(200,function(){o.attr("aria-expanded",!a)})}),jQuery("#robotsmessage button").on("click",function(){t("search_engines_discouraged_notice","robotsmessage",jQuery(this).data("nonce"))})}),window.wpseoSetIgnore=t,window.wpseoDismissLink=function(o){return jQuery('<a href="'+o+'" type="button" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>')},o(window).on("wp-window-resized orientationchange",function(){window.wpseoScrollableTables&&window.wpseoScrollableTables.length&&function(t){t.each(function(){e(o(this))})}(window.wpseoScrollableTables)}),o(window).on({"Yoast:YoastTabsMounted":function(){setTimeout(function(){i()},100)},"Yoast:YoastTabsSelected":function(){setTimeout(function(){i()},100)}}),o(document).ready(function(){o(".yoast-issue-added").on("mouseenter mouseleave",function(o){o.stopPropagation(),a()}).fadeIn(),o("#wp-admin-bar-root-default > li").on("mouseenter.yoastalertpopup mouseleave.yoastalertpopup",a),setTimeout(a,3e3),n(),function(){var o=jQuery(".wpseo-js-premium-indicator"),t=o.find("svg");if(o.hasClass("wpseo-premium-indicator--no")){var a=t.find("path"),s=o.css("backgroundColor");a.css("fill",s)}t.css("display","block"),o.css({backgroundColor:"transparent",width:"20px",height:"20px"})}(),i()})}(jQuery)}},[[373,0]]]);
js/dist/{analysis-1592.js → analysis-1600.js} RENAMED
File without changes
js/dist/{analysis-worker-1592.js → analysis-worker-1600.js} RENAMED
File without changes
js/dist/{api-client-1592.js → api-client-1600.js} RENAMED
@@ -1 +1 @@
1
- (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[2],{369:function(t,e,n){"use strict";!function(t,e){window.wpseoApi={get:function(t,e,n,o){this.request("GET",t,e,n,o)},post:function(t,e,n,o){this.request("POST",t,e,n,o)},put:function(t,e,n,o){this.request("PUT",t,e,n,o)},patch:function(t,e,n,o){this.request("PATCH",t,e,n,o)},delete:function(t,e,n,o){this.request("DELETE",t,e,n,o)},request:function(n,o,i,s,u){t.isFunction(i)&&void 0===u&&(u=s,s=i,i={}),"POST"!==n&&"GET"!==n&&(i._method=n,n="POST"),t.ajax({url:e.root+"yoast/v1/"+o,method:n,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",e.nonce)},data:i}).done(s).fail(u)}}}(jQuery,wpApiSettings)}},[[369,0]]]);
1
+ (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[2],{374:function(t,e,n){"use strict";!function(t,e){window.wpseoApi={get:function(t,e,n,o){this.request("GET",t,e,n,o)},post:function(t,e,n,o){this.request("POST",t,e,n,o)},put:function(t,e,n,o){this.request("PUT",t,e,n,o)},patch:function(t,e,n,o){this.request("PATCH",t,e,n,o)},delete:function(t,e,n,o){this.request("DELETE",t,e,n,o)},request:function(n,o,i,s,u){t.isFunction(i)&&void 0===u&&(u=s,s=i,i={}),"POST"!==n&&"GET"!==n&&(i._method=n,n="POST"),t.ajax({url:e.root+"yoast/v1/"+o,method:n,beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",e.nonce)},data:i}).done(s).fail(u)}}}(jQuery,wpApiSettings)}},[[374,0]]]);
js/dist/{babel-polyfill-1592.js → babel-polyfill-1600.js} RENAMED
File without changes
js/dist/block-editor-1592.js DELETED
@@ -1 +0,0 @@
1
- (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[3],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})};var r=n(0)},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SNIPPET_EDITOR_DATA=t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:o,mode:e}},t.updateData=function(e){return{type:a,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}},t.updateWordsToHighlight=function(e){return{type:u,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:l,time:(new Date).getMilliseconds()}};var r=n(6),o=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",a=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",i=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l=t.REFRESH="SNIPPET_EDITOR_REFRESH",u=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT";t.LOAD_SNIPPET_EDITOR_DATA="LOAD_SNIPPET_EDITOR_DATA"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationConsumer=t.LocationProvider=t.LocationContext=void 0;var r=n(4),o=t.LocationContext=(0,r.createContext)();t.LocationProvider=o.Provider,t.LocationConsumer=o.Consumer},function(e,t){e.exports=window.yoast.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=t.setReadabilityResults=t.setOverallSeoScore=t.setOverallReadabilityScore=void 0;var r=n(43);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n(44);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(69);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var i=n(35);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var s=n(70);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(71);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(45);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(36);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(29);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(46);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(47);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var m=n(48);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(50);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var h=n(73);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var _=n(51);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var g=n(37);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var v=n(13);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(52);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(53);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(54);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(15);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return T.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return T.setSeoResultsForKeyword}});var k=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return k.default.readabilityScore=e,(0,T.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return k.default.seoScore=e,(0,T.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.yoast.reactRedux},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function a(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?(0,r.createPortal)(n,o):null}a.propTypes={target:o.default.oneOfType([o.default.string,o.default.object]).isRequired,children:o.default.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(2)),a=s(n(78)),i=s(n(81));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,i,s,c,d,p,f,m,y=[],h={};for(p=0;p<e.length;p++)if("string"!==(d=e[p]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],s=p;break}y.push(t[d.value])}else y.push(d.value);return n&&(c=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+"`")}(s,e),f=u(e.slice(s+1,c),t),i=o.default.cloneElement(n,{},f),y.push(i),c<e.length-1&&(m=u(e.slice(c+1),t),y=y.concat(m))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(h["interpolation-child-"+t]=e)}),(0,a.default)(h))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,i.default)(t);try{return u(a,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){"use strict";var r=n(23),o=n(24),a=n(25);e.exports=function(){function e(e,t,n,r,i,s){s!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,a,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,a,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.keyphraseElement.value=t},get:function(){return e.keyphraseElement.value}},{key:"isCornerstone",set:function(t){e.isCornerstoneElement.value=t?"1":"0"},get:function(){return"1"===e.isCornerstoneElement.value}},{key:"seoScore",set:function(t){e.seoScoreElement.value=t},get:function(){return e.seoScoreElement.value}},{key:"readabilityScore",set:function(t){e.readabilityScoreElement.value=t},get:function(){return e.readabilityScoreElement.value}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.isNil)(e)||(e/=10);return function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.helpers.scoreToRating(e))};var r=n(3),o=n(11),a=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(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},t.default=function(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 a=i(o,t);n=s(a,n)}}return n};var r=n(11),o=n(18),a=r.helpers.scoreToRating;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:a(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?t+":"+n:n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_MARKER_STATUS="WPSEO_SET_MARKER_STATUS";t.setMarkerStatus=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyReplaceUsingPlugin=t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.fillReplacementVariables=function(e,t){(0,o.forEach)(e,function(e,n){l.includes(n)||t.dispatch((0,a.updateReplacementVariable)(n,e))})},t.handlePrefixes=u,t.createLabelFromName=c,t.pushNewReplaceVar=function(e,t){return e.push({name:t.name,label:t.label||c(t.name),value:t.value}),e},t.replaceSpaces=d,t.prepareCustomFieldForDispatch=p,t.prepareCustomTaxonomyForDispatch=f,t.mapCustomTaxonomies=function(e,t){if(!e.custom_taxonomies)return e;return(0,o.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),o=r.name,i=r.label,s=r.descriptionName,l=r.descriptionLabel;t.dispatch((0,a.updateReplacementVariable)(o,e.name,i)),t.dispatch((0,a.updateReplacementVariable)(s,e.description,l))}),(0,o.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,o.forEach)(e.custom_fields,function(e,n){var r=p(n),o=r.name,i=r.label;t.dispatch((0,a.updateReplacementVariable)(o,e,i))}),(0,o.omit)(r({},e),"custom_fields")},t.excerptFromContent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=wp.sanitize.stripTags(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var o=n(0),a=n(13),i=n(40),s=n(6).strings.stripHTMLTags,l=t.nonReplaceVars=["slug","content","contentImage","snippetPreviewImageURL"];function u(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 c(e){return e=u(e),(0,i.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function p(e){return{name:"cf_"+d(e),label:(0,i.firstToUpperCase)(e+" (custom field)")}}function f(e){var t=d(e);return{name:"ct_"+t,label:(0,i.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,i.firstToUpperCase)(e+" description (custom taxonomy)")}}t.applyReplaceUsingPlugin=function(e){var t=(0,o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:s(t(e.title)),description:s(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:s(n("data_page_title",e.title)),description:s(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(4),a=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var s=function(e){var t=(0,o.useState)(!1),n=r(t,2),i=n[0],s=n[1],l=e.prefixIcon;return wp.element.createElement("div",{className:"yoast components-panel__body "+(i?"is-opened":"")},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{onClick:function(){s(!i)},className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-icon-span",style:{fill:""+(l&&l.color||"")}},l&&wp.element.createElement(a.SvgIcon,{icon:l.icon,color:l.color,size:l.size})),wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),wp.element.createElement("span",{className:"yoast-chevron","aria-hidden":"true"}))),i&&e.children)};t.default=s,s.propTypes={title:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,prefixIcon:i.default.object,subTitle:i.default.string},s.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){return(0,o.createHigherOrderComponent)(function(e){return(0,o.pure)(function(t){var n=(0,a.useContext)(i.LocationContext);return(0,a.createElement)(e,r({},t,{location:n}))})},"withLocation")};var o=n(10),a=n(4),i=n(14)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=n(6),a=function(e){return e&&e.__esModule?e:{default:e}}(n(8));var i=(0,o.makeOutboundLink)(a.default.a.withConfig({displayName:"HelpLink",componentId:"qyhmof-0"})(["display:inline-block;position:relative;outline:none;text-decoration:none;border-radius:100%;width:24px;height:24px;margin:-4px 0;vertical-align:middle;color:",";&:hover,&:focus{color:",";}&:active{color:",';}&::before{position:absolute;top:0;left:0;padding:2px;content:"\f223";}'],r.colors.$color_help_text,r.colors.$color_snippet_focus,r.colors.$color_help_text));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(5);var a=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(8)).default)(o.Collapsible).withConfig({displayName:"MetaboxCollapsible__StyledMetaboxCollapsible",componentId:"k2tood-0"})(['h2 > button{padding-left:24px;padding-top:16px;&:hover{background-color:#f0f0f0;}}div[class^="collapsible_content"]{padding:24px 0;margin:0 24px;border-top:1px solid rgba(0,0,0,0.2);}']);t.default=function(e){return wp.element.createElement(a,r({hasPadding:!0,hasSeparator:!0},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCornerstoneContent=t.setCornerstoneContent=t.loadCornerstoneContent=t.SET_CORNERSTONE_CONTENT=t.TOGGLE_CORNERSTONE_CONTENT=t.LOAD_CORNERSTONE_CONTENT=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.LOAD_CORNERSTONE_CONTENT="WPSEO_LOAD_CORNERSTONE_CONTENT";var o=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",a=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:a,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:a,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:o}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFocusKeyword=t.loadFocusKeyword=t.SET_FOCUS_KEYWORD=t.LOAD_FOCUS_KEYWORD=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var o=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",a=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:o,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",o=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultModalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(12);var i=t.defaultModalClassName="yoast yoast-gutenberg-modal",s=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,i=e.additionalClassName,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["title","className","showYoastIcon","additionalClassName"]),l=o?wp.element.createElement("span",{className:"yoast-icon"}):null;return wp.element.createElement(a.Modal,r({title:t,className:n+" "+i,icon:l},s),e.children)};s.propTypes={title:o.default.string,className:o.default.string,showYoastIcon:o.default.bool,children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)]),additionalClassName:o.default.string},s.defaultProps={title:"Yoast SEO",className:i,showYoastIcon:!0,children:null,additionalClassName:""},t.default=s},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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstToUpperCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.stripHTML=function(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveMarker=function(e){return{type:r,activeMarker:e}};var r=t.SET_ACTIVE_MARKER="WPSEO_SET_ACTIVE_MARKER"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAdvancedSettingsData=t.setCanonical=t.setBreadcrumbsTitle=t.setAdvanced=t.setNoFollow=t.setNoIndex=t.LOAD_ADVANCED_SETTINGS=t.SET_CANONICAL_URL=t.SET_BREADCRUMBS_TITLE=t.SET_ADVANCED=t.SET_NO_FOLLOW=t.SET_NO_INDEX=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(68));var o=t.SET_NO_INDEX="SET_NO_INDEX",a=t.SET_NO_FOLLOW="SET_NO_FOLLOW",i=t.SET_ADVANCED="SET_ADVANCED",s=t.SET_BREADCRUMBS_TITLE="SET_BREADCRUMBS_TITLE",l=t.SET_CANONICAL_URL="SET_CANONICAL_URL",u=t.LOAD_ADVANCED_SETTINGS="LOAD_ADVANCED_SETTINGS";t.setNoIndex=function(e){return r.default.noIndex=e,{type:o,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:a,value:e}},t.setAdvanced=function(e){return r.default.advanced=e.join(","),{type:i,value:e}},t.setBreadcrumbsTitle=function(e){return r.default.breadcrumbsTitle=e,{type:s,value:e}},t.setCanonical=function(e){return r.default.canonical=e,{type:l,value:e}},t.loadAdvancedSettingsData=function(){return{type:u,settings:{noIndex:r.default.noIndex,noFollow:r.default.noFollow,advanced:r.default.advanced.split(","),breadcrumbsTitle:r.default.breadcrumbsTitle,canonical:r.default.canonical,isLoading:!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ESTIMATED_READING_TIME=t.SET_ESTIMATED_READING_TIME=void 0,t.setEstimatedReadingTime=function(e){return r.default.estimatedReadingTime=e,{type:o,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:a,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(72));var o=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",a=t.LOAD_ESTIMATED_READING_TIME="LOAD_ESTIMATED_READING_TIME"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMarkerPauseStatus=function(e){return{type:r,isMarkerPaused:e}};var r=t.SET_MARKER_PAUSE_STATUS="WPSEO_SET_MARKER_PAUSE_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_PRIMARY_TAXONOMY="WPSEO_SET_PRIMARY_TAXONOMY";t.setPrimaryTaxonomyId=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaArticleData=t.getSchemaPageData=t.setArticleType=t.setPageType=t.GET_SCHEMA_ARTICLE_DATA=t.GET_SCHEMA_PAGE_DATA=t.SET_ARTICLE_TYPE=t.SET_PAGE_TYPE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(49));var o=t.SET_PAGE_TYPE="SET_PAGE_TYPE",a=t.SET_ARTICLE_TYPE="SET_ARTICLE_TYPE",i=t.GET_SCHEMA_PAGE_DATA="GET_SCHEMA_PAGE_DATA",s=t.GET_SCHEMA_ARTICLE_DATA="GET_SCHEMA_ARTICLE_DATA";t.setPageType=function(e){return r.default.pageType=e,{type:o,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:a,articleType:e}},t.getSchemaPageData=function(){return{type:i,pageType:r.default.pageType,defaultPageType:r.default.defaultPageType}},t.getSchemaArticleData=function(){return{type:s,articleType:r.default.articleType,defaultArticleType:r.default.defaultArticleType}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBlockValidation=function(e){return{type:r,validation:e}},t.resetBlockValidation=function(){return{type:o}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",o=t.RESET_BLOCK_VALIDATIONS="WPSEO_CLEAR_BLOCK_VALIDATIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushNewRequest=function(e,t){return{type:s,countryCode:e,keyphrase:t}},t.setSEMrushRequestSucceeded=function(e){return{type:o,response:e}},t.setSEMrushRequestFailed=function(e){return{type:a,response:e}},t.setSEMrushSetRequestLimitReached=function(){return{type:i}},t.setSEMrushChangeCountry=function(e){return{type:r,countryCode:e}},t.setSEMrushNoResultsFound=function(){return{type:l}},t.setSEMrushLoginStatus=function(e){return{type:u,loginStatus:e}};var r=t.CHANGE_COUNTRY="CHANGE_COUNTRY",o=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",a=t.SET_REQUEST_FAILED="SET_REQUEST_FAILED",i=t.SET_REQUEST_LIMIT_REACHED="SET_LIMIT_REACHED",s=t.NEW_REQUEST="NEW_REQUEST",l=t.NO_DATA_FOUND="NO_DATA_FOUND",u=t.SET_LOGIN_STATUS="SET_LOGIN_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTwitterPreviewData=t.clearTwitterPreviewImage=t.setTwitterPreviewImage=t.setTwitterPreviewDescription=t.setTwitterPreviewTitle=t.LOAD_TWITTER_PREVIEW=t.CLEAR_TWITTER_IMAGE=t.SET_TWITTER_IMAGE=t.SET_TWITTER_DESCRIPTION=t.SET_TWITTER_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(74));var o=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",a=t.SET_TWITTER_DESCRIPTION="SET_TWITTER_DESCRIPTION",i=t.SET_TWITTER_IMAGE="SET_TWITTER_IMAGE",s=t.CLEAR_TWITTER_IMAGE="CLEAR_TWITTER_IMAGE",l=t.LOAD_TWITTER_PREVIEW="LOAD_TWITTER_PREVIEW";t.setTwitterPreviewTitle=function(e){return r.default.title=e,{type:o,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:a,description:e}},t.setTwitterPreviewImage=function(e){return r.default.imageId=e.id,r.default.imageUrl=e.url,{type:i,image:e}},t.clearTwitterPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadTwitterPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFacebookPreviewData=t.clearFacebookPreviewImage=t.setFacebookPreviewImage=t.setFacebookPreviewDescription=t.setFacebookPreviewTitle=t.LOAD_FACEBOOK_PREVIEW=t.CLEAR_FACEBOOK_IMAGE=t.SET_FACEBOOK_IMAGE=t.SET_FACEBOOK_DESCRIPTION=t.SET_FACEBOOK_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(75));var o=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",a=t.SET_FACEBOOK_DESCRIPTION="SET_FACEBOOK_DESCRIPTION",i=t.SET_FACEBOOK_IMAGE="SET_FACEBOOK_IMAGE",s=t.CLEAR_FACEBOOK_IMAGE="CLEAR_FACEBOOK_IMAGE",l=t.LOAD_FACEBOOK_PREVIEW="LOAD_FACEBOOK_PREVIEW";t.setFacebookPreviewTitle=function(e){return r.default.title=e,{type:o,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:a,description:e}},t.setFacebookPreviewImage=function(e){return r.default.imageUrl=e.url,r.default.imageId=e.id,{type:i,image:e}},t.clearFacebookPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadFacebookPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWarningMessage=function(e){return{type:r,message:e}};var r=t.SET_WARNING_MESSAGE="SET_WARNING_MESSAGE"},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},,,function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(114));t.default=(0,o.compose)([(0,r.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(a.default)},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAnalysisData=function(e){return{type:r,data:e}},t.runAnalysis=function(){return{type:o,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",o=t.RUN_ANALYSIS="RUN_ANALYSIS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEditorDataContent=function(e){return{type:r,content:e}},t.setEditorDataTitle=function(e){return{type:o,title:e}},t.setEditorDataExcerpt=function(e){return{type:a,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:i,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",o=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",a=t.SET_EDITOR_DATA_EXCERPT="SET_EDITOR_DATA_EXCERPT",i=t.SET_EDITOR_DATA_IMAGE_URL="SET_EDITOR_DATA_IMAGE_URL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openEditorModal=function(e){return{type:r,modalKey:e}},t.closeEditorModal=function(){return{type:o}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",o=t.CLOSE_EDITOR_MODAL="CLOSE_MODAL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:o,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:a}};var r=t.MODAL_DISMISS="MODAL_DISMISS",o=t.MODAL_OPEN="MODAL_OPEN",a=t.MODAL_OPEN_NO_KEYPHRASE="MODAL_OPEN_NO_KEYPHRASE"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCloseEvent=void 0;var r=n(3),o=n(4),a=u(n(38)),i=u(n(1)),s=u(n(113)),l=n(14);function u(e){return e&&e.__esModule?e:{default:e}}var c=t.isCloseEvent=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},d=function(e){var t=e.id,n=e.postTypeName,i=e.children,u=e.title,d=e.isOpen,p=e.close,f=e.open,m=(0,o.useCallback)(function(e){c(e)&&p()},[p]);return wp.element.createElement(o.Fragment,null,d&&wp.element.createElement(l.LocationProvider,{value:"modal"},wp.element.createElement(a.default,{title:u,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},wp.element.createElement("div",{className:"yoast-content-container"},wp.element.createElement("div",{className:"yoast-modal-content"},i)),wp.element.createElement("div",{className:"yoast-notice-container"},wp.element.createElement("hr",null),wp.element.createElement("div",{className:"yoast-button-container"},wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),wp.element.createElement("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},(0,r.sprintf)((0,r.__)("Return to your %s","wordpress-seo"),n)))))),wp.element.createElement(s.default,{id:t+"-open-button",title:u,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};d.propTypes={id:i.default.string.isRequired,postTypeName:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,title:i.default.string.isRequired,isOpen:i.default.bool.isRequired,open:i.default.func.isRequired,close:i.default.func.isRequired},t.default=d},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(2),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(39),i=n(79),s=n(80),l=".",u=":",c="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function f(e,t,n,r){var a,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)return n(r,e,""===t?l+p(e,0):t),1;var m=0,y=""===t?l:t+u;if(Array.isArray(e))for(var h=0;h<e.length;h++)m+=f(a=e[h],y+p(a,h),n,r);else{var _=function(e){var t=e&&(c&&e[c]||e[d]);if("function"==typeof t)return t}(e);if(_){0;for(var g,v=_.call(e),w=0;!(g=v.next()).done;)m+=f(a=g.value,y+p(a,w++),n,r)}else if("object"===s){0;var b=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return m}var m=/\/+/g;function y(e){return(""+e).replace(m,"$&/")}var h=_,_=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var o=e.result,i=e.keyPrefix,s=e.func,l=e.context,u=s.call(l,t,e.count++);Array.isArray(u)?b(u,o,n,a.thatReturnsArgument):null!=u&&(r.isValidElement(u)&&(u=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(u,i+(!u.key||t&&t.key===u.key?"":y(u.key)+"/")+n)),o.push(u))}function b(e,t,n,r,o){var a="";null!=n&&(a=y(n)+"/");var i=v.getPooled(t,a,r,o);!function(e,t,n){null==e||f(e,"",t,n)}(e,w,i),v.release(i)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||h,n.poolSize||(n.poolSize=10),n.release=g}(v,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)});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)b(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,a,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,a,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(39);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(76));t.default=(0,r.compose)([(0,o.withSelect)(function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}}),(0,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.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openMedia=function(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()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkFieldsShape=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.linkFieldsShape=i.default.shape({value:i.default.string.isRequired,onChange:i.default.func.isRequired});t.default=function(e){return function(t){return function(n){function s(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));n.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(n,t)})}),n.state=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),o(s,[{key:"onChange",value:function(e,t){var n=this;this.setState(r({},this.state,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,r({},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,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return wp.element.createElement(t,r({},o,this.state),n)}}],[{key:"propTypes",get:function(){return{children:i.default.node}}}]),s}()}}},,,,,,,,,,function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalIcon=t.ModalContainer=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),o=n(5),a=n(6);t.ModalContainer=r.default.div.withConfig({displayName:"Container__ModalContainer",componentId:"sc-1onoh63-0"})(["min-width:600px;@media screen and ( max-width:680px ){min-width:0;width:86vw;}"]),t.ModalIcon=(0,r.default)(o.Icon).withConfig({displayName:"Container__ModalIcon",componentId:"sc-1onoh63-1"})(["float:",";margin:",";&&{width:150px;height:150px;@media screen and ( max-width:680px ){width:80px;height:80px;}}"],(0,a.getDirectionalStyle)("right","left"),(0,a.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),o=s(n(1)),a=n(28),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.target,n=e.scoreIndicator;return wp.element.createElement(i.default,{target:t},wp.element.createElement(r.SvgIcon,(0,a.getIconForScore)(n)))};l.propTypes={target:o.default.string.isRequired,scoreIndicator:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=u(n(20)),i=u(n(1)),s=u(n(8)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.ul.withConfig({displayName:"UpsellBox__StyledList",componentId:"gjf66g-0"})(['list-style:none;margin:0 0 16px;padding:0;li{margin:5px 0 0 0;padding-left:16px;}span[aria-hidden="true"]:before{margin:0 8px 0 -16px;font-weight:bold;content:"+";}']),d=s.default.small.withConfig({displayName:"UpsellBox__ButtonLabel",componentId:"gjf66g-1"})(["display:block;"]),p=(0,l.makeOutboundLink)(),f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"createBenefitsList",value:function(e){return e.length>0&&wp.element.createElement(c,{role:"list"},e.map(function(e,t){return wp.element.createElement("li",{key:t},wp.element.createElement("span",{"aria-hidden":"true"}),(0,a.default)({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:wp.element.createElement("strong",null)}}))}))}},{key:"createInfoParagraphs",value:function(e){return e.map(function(e,t){return wp.element.createElement("p",{key:t},e)})}},{key:"render",value:function(){return wp.element.createElement("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),wp.element.createElement(p,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(d,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();f.propTypes={benefits:i.default.array,infoParagraphs:i.default.array,upsellButton:i.default.object,upsellButtonText:i.default.string.isRequired,upsellButtonLabel:i.default.string,upsellButtonHasCaret:i.default.bool},f.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=function(e){var t=e.children;return wp.element.createElement("div",null,t)};o.propTypes={renderPriority:r.default.number.isRequired,children:r.default.node.isRequired},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=u(n(1)),i=u(n(172)),s=n(173),l=n(59);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeField:"",hoveredField:""},n.setHoveredField=n.setHoveredField.bind(n),n.setActiveField=n.setActiveField.bind(n),n.setEditorRef=n.setEditorRef.bind(n),n.setEditorFocus=n.setEditorFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{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,l=e.socialMediumName,u=e.imageWarnings,c=e.description,d=e.descriptionInputPlaceholder,p=e.imageUrl,f=e.title,m=e.titleInputPlaceholder,y=e.replacementVariables,h=e.recommendedReplacementVariables,_=e.isPremium,g=e.location;return wp.element.createElement(o.Fragment,null,wp.element.createElement(i.default,{socialMediumName:l}),wp.element.createElement(s.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:l,title:f,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:u,replacementVariables:y,recommendedReplacementVariables:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),t}();c.propTypes={title:a.default.string.isRequired,onTitleChange:a.default.func.isRequired,description:a.default.string.isRequired,onDescriptionChange:a.default.func.isRequired,imageUrl:a.default.string.isRequired,onSelectImageClick:a.default.func.isRequired,onRemoveImageClick:a.default.func.isRequired,socialMediumName:a.default.string.isRequired,isPremium:a.default.bool,imageWarnings:a.default.array,descriptionInputPlaceholder:a.default.string,titleInputPlaceholder:a.default.string,replacementVariables:l.replacementVariablesShape,recommendedReplacementVariables:l.recommendedReplacementVariablesShape,location:a.default.string},c.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(17),a=n(8),i=n(14);var s=function(e){var t=e.store,n=e.theme,r=e.location,s=e.children;return wp.element.createElement(i.LocationProvider,{value:r},wp.element.createElement(a.ThemeProvider,{theme:n},wp.element.createElement(o.Provider,{store:t},s)))};s.propTypes={store:r.default.object.isRequired,theme:r.default.object.isRequired,location:r.default.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.default.element.isRequired},t.default=s},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){return wp.element.createElement("div",{className:"yoast components-panel__body"},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&wp.element.createElement(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.default=a,a.propTypes={onClick:o.default.func.isRequired,title:o.default.string.isRequired,id:o.default.string,subTitle:o.default.string,suffixIcon:o.default.object},a.defaultProps={id:"",suffixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),a=n(77),i=n(4),s=n(11),l=u(n(28));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props.results;return n.state={mappedResults:{}},null!==r&&(n.state={mappedResults:(0,l.default)(r,n.props.keywordKey)}),n.handleMarkButtonClick=n.handleMarkButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:(0,l.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?this.props.keywordKey+":"+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 s.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,s=e.problemsResults;return wp.element.createElement(i.Fragment,null,wp.element.createElement(a.ContentAnalysis,{errorsResults:t,problemsResults:s,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}))}}]),t}();c.propTypes={results:o.default.array,marksButtonClassName:o.default.string,marksButtonStatus:o.default.string,setActiveMarker:o.default.func.isRequired,setMarkerPauseStatus:o.default.func.isRequired,activeMarker:o.default.string,keywordKey:o.default.string},c.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(1)),o=s(n(8)),a=n(5),i=n(6);function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.default)(a.StyledSection).withConfig({displayName:"SnippetPreviewSection__Section",componentId:"gjy5w5-0"})(["&","{padding:0;& ","{",":20px;margin-left:",";}}"],a.StyledSectionBase,a.StyledHeading,(0,i.getDirectionalStyle)("padding-left","padding-right"),(0,i.getDirectionalStyle)("0","20px")),u=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle;return wp.element.createElement(l,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o},t)};u.propTypes={children:r.default.element,title:r.default.string,icon:r.default.string,hasPaperStyle:r.default.bool},u.defaultProps={hasPaperStyle:!0},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaTypeOptionsPropType=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=n(3),i=n(5),s=c(n(1)),l=n(84),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.initialPageType=e.pageType.value,n.initialArticleType=e.articleType?e.articleType.value:"None",n.state={schema_page_type:n.initialPageType,schema_article_type:n.initialArticleType},n.handleOptionFocus=n.handleOptionFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{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(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))}},{key:"render",value:function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(i.FieldGroup,{label:(0,a.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:(0,a.__)("Learn more about the schema settings","wordpress-seo"),description:(0,a.sprintf)((0,a.__)("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()&&wp.element.createElement(i.Alert,{type:"warning"},(0,a.sprintf)((0,a._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)),wp.element.createElement(i.Select,{id:"schema-page-type-"+this.props.postType,name:"schema_page_type",options:this.props.pageTypeOptions,label:(0,a.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&wp.element.createElement(i.Select,{id:"schema-article-type-"+this.props.postType,name:"schema_article_type",options:this.props.articleTypeOptions,label:(0,a.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),t}(),p=t.schemaTypeOptionsPropType=s.default.arrayOf(s.default.shape({name:s.default.string,value:s.default.string}));d.propTypes={postType:s.default.string.isRequired,postTypeName:s.default.string.isRequired,pageType:l.linkFieldsShape.isRequired,articleType:l.linkFieldsShape,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},d.defaultProps={articleType:null},t.default=(0,u.default)(function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]})(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(118));t.default=(0,o.compose)([(0,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,l=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:o(),response:a(),isSuccess:i(),isPending:s(),requestHasData:l(),lastRequestKeyphrase:u()}}),(0,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()}}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasError=h,t.getUserMessage=_,t.hasMaximumRelatedKeyphrases=g,t.default=v;var r=n(4),o=n(3),a=y(n(1)),i=n(0),s=y(n(119)),l=y(n(120)),u=y(n(121)),c=y(n(122)),d=y(n(125)),p=y(n(126)),f=y(n(127)),m=y(n(9));function y(e){return e&&e.__esModule?e:{default:e}}function h(e){return!(0,i.isEmpty)(e)&&"error"in e}function _(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?wp.element.createElement(s.default,null):n?wp.element.createElement(l.default,null):!r&&h(a)?wp.element.createElement(p.default,null):i?void 0:wp.element.createElement("p",null,(0,o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}function g(e){return e&&e.length>=4}function v(e){var t=e.response,n=e.lastRequestKeyphrase,o=e.keyphrase,a=e.newRequest,i=e.setCountry,s=e.renderAction,l=e.countryCode,p=e.requestLimitReached,y=e.setRequestFailed,h=e.setNoResultsFound,v=e.relatedKeyphrases,w=e.setRequestSucceeded,b=e.setRequestLimitReached,E=(0,m.default)().isPremium;return wp.element.createElement(r.Fragment,null,!p&&wp.element.createElement(r.Fragment,null,!E&&wp.element.createElement(d.default,null),E&&g(v)&&wp.element.createElement(f.default,null),wp.element.createElement(u.default,{countryCode:l,setCountry:i,newRequest:a,keyphrase:o,setRequestFailed:y,setNoResultsFound:h,setRequestSucceeded:w,setRequestLimitReached:b,response:t,lastRequestKeyphrase:n})),_(e),wp.element.createElement(c.default,{keyphrase:o,relatedKeyphrases:v,countryCode:l,renderAction:s,data:t}))}v.propTypes={keyphrase:a.default.string,relatedKeyphrases:a.default.array,renderAction:a.default.func,requestLimitReached:a.default.bool,countryCode:a.default.string.isRequired,setCountry:a.default.func.isRequired,newRequest:a.default.func.isRequired,setRequestSucceeded:a.default.func.isRequired,setRequestLimitReached:a.default.func.isRequired,setRequestFailed:a.default.func.isRequired,setNoResultsFound:a.default.func.isRequired,response:a.default.object,lastRequestKeyphrase:a.default.string},v.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5);t.default=function(){return wp.element.createElement("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,r.sprintf)((0,r.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","SEMrush")," ",wp.element.createElement(o.SvgIcon,{icon:"loading-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(4),a=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"SEMrush")),wp.element.createElement(a,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,r.sprintf)((0,r.__)("Upgrade your %s plan","wordpress-seo"),"SEMrush"),wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEMrushCountrySelector=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(1)),a=n(4),i=c(n(55)),s=n(56),l=n(3),u=n(5);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(o,a){try{var i=t[o](a),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var p="yoast-semrush-country-selector",f=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.relatedKeyphrasesRequest=n.relatedKeyphrasesRequest.bind(n),n.onChangeHandler=n.onChangeHandler.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){(0,i.default)({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.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)}));return function(){return e.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:function(){var e=d(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.default)({path:(0,s.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,this)}));return function(t,n){return e.apply(this,arguments)}}()},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return wp.element.createElement("div",{id:p},wp.element.createElement(u.SingleSelect,{id:p+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:f,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),wp.element.createElement(u.NewButton,{id:p+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}]),t}();m.propTypes={keyphrase:o.default.string,countryCode:o.default.string,response:o.default.object,lastRequestKeyphrase:o.default.string,setCountry:o.default.func.isRequired,newRequest:o.default.func.isRequired,setNoResultsFound:o.default.func.isRequired,setRequestSucceeded:o.default.func.isRequired,setRequestLimitReached:o.default.func.isRequired,setRequestFailed:o.default.func.isRequired},m.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};t.SEMrushCountrySelector=function(e){return wp.element.createElement(u.ErrorBoundary,null,wp.element.createElement(m,e))},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(1)),a=n(4),i=n(3),s=n(0),l=n(6),u=d(n(123)),c=d(n(33));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,l.makeOutboundLink)(),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.transformTrendDataToChartPoints=n.transformTrendDataToChartPoints.bind(n),n.getAreaChartDataTableHeaderLabels=n.getAreaChartDataTableHeaderLabels.bind(n),n.mapAreaChartDataToTableData=n.mapAreaChartDataToTableData.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map(function(e,t){return{x:t,y:parseFloat(e)}})}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[(0,i.__)("Twelve months ago","wordpress-seo"),(0,i.__)("Eleven months ago","wordpress-seo"),(0,i.__)("Ten months ago","wordpress-seo"),(0,i.__)("Nine months ago","wordpress-seo"),(0,i.__)("Eight months ago","wordpress-seo"),(0,i.__)("Seven months ago","wordpress-seo"),(0,i.__)("Six months ago","wordpress-seo"),(0,i.__)("Five months ago","wordpress-seo"),(0,i.__)("Four months ago","wordpress-seo"),(0,i.__)("Three months ago","wordpress-seo"),(0,i.__)("Two months ago","wordpress-seo"),(0,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,l=t.data,d=t.renderAction,f="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(o);return l&&!(0,s.isEmpty)(l.results)&&wp.element.createElement(a.Fragment,null,wp.element.createElement("table",{className:"yoast yoast-table"},wp.element.createElement("thead",null,wp.element.createElement("tr",null,wp.element.createElement("th",{scope:"col",className:"yoast-table--primary"},(0,i.__)("Related keyphrase","wordpress-seo")),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Volume","wordpress-seo")},(0,i.__)("Volume","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Trend","wordpress-seo")},(0,i.__)("Trend","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"}))),wp.element.createElement("tbody",null,l.results.rows.map(function(t,n){var o=t[0],a=e.transformTrendDataToChartPoints(t[2]),s=e.getAreaChartDataTableHeaderLabels();return wp.element.createElement("tr",{key:n},wp.element.createElement("td",null,o),wp.element.createElement("td",null,t[1]),wp.element.createElement("td",{className:"yoast-table--nopadding"},wp.element.createElement(u.default,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:(0,i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"},d(o,r)))}))),wp.element.createElement("p",{style:{marginBottom:0}},wp.element.createElement(p,{href:f},(0,i.sprintf)((0,i.__)("Get more insights at %s","wordpress-seo"),"SEMrush"))))}}]),t}();f.propTypes={data:o.default.object,keyphrase:o.default.string,relatedKeyphrases:o.default.array,countryCode:o.default.string,renderAction:o.default.func},f.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(1)),o=n(4),a=i(n(124));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var l=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,l=e.strokeColor,u=e.strokeWidth,c=e.className,d=e.mapChartDataToTableData,p=e.dataTableCaption,f=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,y=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.x})))),h=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.y})))),_=r-u,g=t.map(function(e){return e.x/y*n+","+(_-e.y/h*_+u)}).join(" "),v="0,"+(_+u)+" "+g+" "+n+","+(_+u);return wp.element.createElement(o.Fragment,null,wp.element.createElement("svg",{width:n,height:r,viewBox:"0 0 "+n+" "+r,className:c,role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement("polygon",{fill:i,points:v}),wp.element.createElement("polyline",{fill:"none",stroke:l,strokeWidth:u,strokeLinejoin:"round",strokeLinecap:"round",points:g})),d&&wp.element.createElement(a.default,{data:t,mapChartDataToTableData:d,dataTableCaption:p,dataTableHeaderLabels:f,isDataTableVisuallyHidden:m}))};l.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,width:r.default.number.isRequired,height:r.default.number.isRequired,fillColor:r.default.string,strokeColor:r.default.string,strokeWidth:r.default.number,className:r.default.string,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(3);var a=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?wp.element.createElement("p",null,(0,o.__)("The number of headers and header labels don't match.","wordpress-seo")):wp.element.createElement("div",{className:i?"screen-reader-text":null},wp.element.createElement("table",null,wp.element.createElement("caption",null,r),wp.element.createElement("thead",null,wp.element.createElement("tr",null,a.map(function(e,t){return wp.element.createElement("th",{key:t},e)}))),wp.element.createElement("tbody",null,wp.element.createElement("tr",null,t.map(function(e,t){return wp.element.createElement("td",{key:t},n(e.y))})))))};a.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},a.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5),a=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(o.Alert,{type:"info"},(0,r.sprintf)((0,r.__)("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")+" ",wp.element.createElement(a,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,r.sprintf)((0,r.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5);t.default=function(){return wp.element.createElement(o.Alert,{type:"error"},(0,r.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5);t.default=function(){return wp.element.createElement(o.Alert,{type:"warning"},(0,r.sprintf)((0,r.__)("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"))}},,,,,,,,,,,,,function(e,t){e.exports=window.wp.blocks},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=s(n(159)),i=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.compose)([(0,o.withSelect)(function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),(0,o.withDispatch)(function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}}),(0,i.default)()])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordInput=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=n(12),i=n(3),s=y(n(1)),l=n(17),u=n(15),c=y(n(8)),d=n(16),p=y(n(33)),f=n(14),m=y(n(161));function y(e){return e&&e.__esModule?e:{default:e}}var h=c.default.div.withConfig({displayName:"KeywordInput__KeywordInputContainer",componentId:"sc-16tnggn-0"})(["padding:16px;border-bottom:1px solid transparent;"]),_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validate=n.validate.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,i.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,i.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,i.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,n=this.validate();return wp.element.createElement(f.LocationConsumer,null,function(r){return wp.element.createElement("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},wp.element.createElement(h,{location:r},wp.element.createElement(u.KeywordInput,{id:"focus-keyword-input-"+r,onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:(0,i.__)("Focus keyphrase","wordpress-seo"),helpLink:t.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:n.length>0,errorMessages:n}),e.props.isSEMrushIntegrationActive&&wp.element.createElement(m.default,{location:r,keyphrase:e.props.keyword})),wp.element.createElement(a.Slot,{name:"YoastAfterKeywordInput"+(r.charAt(0).toUpperCase()+r.slice(1))}))})}}],[{key:"renderHelpLink",value:function(){return wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),t}();_.propTypes={keyword:s.default.string,onFocusKeywordChange:s.default.func.isRequired,onFocusKeyword:s.default.func.isRequired,onBlurKeyword:s.default.func.isRequired,isSEMrushIntegrationActive:s.default.bool,displayNoKeyphraseMessage:s.default.bool},_.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.KeywordInput=_,t.default=(0,l.connect)(function(e){return{keyword:e.focusKeyword,displayNoKeyphraseMessage:e.SEMrushModal.displayNoKeyphraseMessage}},function(e){return{onFocusKeywordChange:function(t){e((0,d.setFocusKeyword)(t))},onFocusKeyword:function(){e((0,d.setMarkerPauseStatus)(!0))},onBlurKeyword:function(){e((0,d.setMarkerPauseStatus)(!1))}}})(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),i=n(7),s=v(n(1)),l=v(n(8)),u=n(3),c=n(0),d=v(n(96)),p=v(n(61)),f=v(n(31)),m=v(n(27)),y=n(28),h=n(14),_=v(n(33)),g=v(n(164));function v(e){return e&&e.__esModule?e:{default:e}}var w=l.default.span.withConfig({displayName:"ReadabilityAnalysis__AnalysisHeader",componentId:"z9f9eh-0"})(["font-size:1em;font-weight:bold;margin:0 0 8px;display:block;"]),b=l.default.div.withConfig({displayName:"ReadabilityAnalysis__ReadabilityResultsTabContainer",componentId:"z9f9eh-1"})(["padding:16px;"]),E=(0,l.default)(_.default).withConfig({displayName:"ReadabilityAnalysis__StyledHelpLink",componentId:"z9f9eh-2"})(["margin:-8px 0 -4px 4px;"]),T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),o(t,[{key:"renderResults",value:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(w,null,(0,u.__)("Analysis results","wordpress-seo"),wp.element.createElement(E,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,u.__)("Learn more about the readability analysis","wordpress-seo")))),wp.element.createElement(p.default,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=(0,m.default)(this.props.overallScore);return(0,c.isNil)(this.props.overallScore)&&(t.className="loading"),wp.element.createElement(h.LocationConsumer,null,function(n){return"sidebar"===n?wp.element.createElement(f.default,{title:(0,u.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,y.getIconForScore)(t.className),prefixIconCollapsed:(0,y.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-"+n},e.renderResults()):"metabox"===n?wp.element.createElement(g.default,{target:"wpseo-metabox-readability-root"},wp.element.createElement(b,null,wp.element.createElement(d.default,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0})}}]),t}();T.propTypes={results:s.default.array.isRequired,marksButtonStatus:s.default.string.isRequired,overallScore:s.default.number},T.defaultProps={overallScore:null},t.default=(0,i.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,o=t.getMarkButtonStatus;return r({},n(),{marksButtonStatus:o()})})(T)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=k(n(1)),i=n(17),s=k(n(8)),l=n(3),u=n(5),c=n(18),d=k(n(96)),p=k(n(31)),f=k(n(34)),m=k(n(61)),y=k(n(27)),h=n(28),_=k(n(165)),g=k(n(166)),v=k(n(167)),w=n(14),b=k(n(168)),E=n(95),T=k(n(169));function k(e){return e&&e.__esModule?e:{default:e}}var O=s.default.span.withConfig({displayName:"SeoAnalysis__AnalysisHeader",componentId:"sc-18qlxmf-0"})(["font-size:1em;font-weight:bold;margin:1.5em 0 1em;display:block;"]),S=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,l.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),wp.element.createElement(_.default,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,l.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add a related keyphrase?","wordpress-seo")),wp.element.createElement(v.default,{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=f.default;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=p.default),wp.element.createElement(r,{prefixIcon:{icon:"plus",color:c.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:c.colors.$color_grey_medium_dark},title:(0,l.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},wp.element.createElement(v.default,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return wp.element.createElement(b.default,{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:wp.element.createElement(d.default,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=(0,y.default)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=(0,l.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),wp.element.createElement(w.LocationConsumer,null,function(n){var r="metabox"===n?f.default:p.default;return wp.element.createElement(o.Fragment,null,wp.element.createElement(r,{title:(0,l.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,h.getIconForScore)(t.className),prefixIconCollapsed:(0,h.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-"+n},wp.element.createElement(T.default,{location:n}),e.props.shouldUpsell&&wp.element.createElement(o.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),wp.element.createElement(O,null,(0,l.__)("Analysis results","wordpress-seo")),wp.element.createElement(m.default,{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))})}}]),t}();S.propTypes={results:a.default.array,marksButtonStatus:a.default.string,keyword:a.default.string,shouldUpsell:a.default.bool,shouldUpsellWordFormRecognition:a.default.bool,overallScore:a.default.number},S.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.default=(0,i.connect)(function(e,t){var n=t.hideMarksButtons?"disabled":e.marksButtonStatus,r=e.focusKeyword,o=[],a=null;return e.analysis.seo[r]&&(o=e.analysis.seo[r].results,a=e.analysis.seo[r].overallScore),{results:o,marksButtonStatus:n,keyword:r,overallScore:a}})(S)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(10),a=n(7),i=n(4),s=n(3),l=p(n(1)),u=p(n(175)),c=p(n(49)),d=p(n(32));function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=null!==c.default.articleTypeInput;(0,i.useEffect)(function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);var n=window.wpseoScriptData.metabox.schema,o=n.pageTypeOptions,a=n.articleTypeOptions,l={articleTypeLabel:(0,s.__)("Article type","wordpress-seo"),pageTypeLabel:(0,s.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,s.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,s.__)("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:o,articleTypeOptions:a},d=r({},e,l,function(e){return"metabox"===e?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1}}(e.location));return wp.element.createElement(u.default,d)};f.propTypes={displayFooter:l.default.bool.isRequired,schemaPageTypeSelected:l.default.string.isRequired,schemaArticleTypeSelected:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,defaultPageType:l.default.string.isRequired,loadSchemaPageData:l.default.func.isRequired,loadSchemaArticleData:l.default.func.isRequired,schemaPageTypeChange:l.default.func.isRequired,schemaArticleTypeChange:l.default.func.isRequired,location:l.default.string.isRequired},t.default=(0,o.compose)([(0,a.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()}}),(0,a.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}}),(0,d.default)()])(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(176));t.default=(0,r.compose)([(0,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,l=t.getEditorContext,u=(0,t.getPreferences)(),c=u.isBreadcrumbsDisabled,d=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:l(),isBreadcrumbsDisabled:c,isPrivateBlog:d}}),(0,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}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e.length)return e;return(0,r.flatten)(e).sort(function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority})};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_MARK=t.START_MARK=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isAnnotationAvailable=function(){return(0,i.select)("core/editor")&&(0,o.isFunction)((0,i.select)("core/editor").getBlocks)&&(0,i.select)("core/annotations")&&(0,o.isFunction)((0,i.dispatch)("core/annotations").__experimentalAddAnnotation)},t.getYoastmarkOffsets=y,t.getIndicesOf=h,t.calculateAnnotationsForTextFormat=_,t.applyAsAnnotations=function(e,t){if(c=[],(0,i.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(s),0===t.length)return;var n=(0,i.select)("core/editor").getBlocks();w((0,o.flatMap)(n,function(e){return(0,o.flatMap)(g(e.name),function(n){return v(n,e,t)})})),m()},t.reapplyAnnotationsForSelectedBlock=function(){var e=(0,i.select)("core/editor").getSelectedBlock(),t=(0,i.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;!function(e){(0,i.select)("core/annotations").__experimentalGetAnnotations().filter(function(t){return t.blockClientId===e&&t.source===s}).forEach(function(e){(0,i.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)})}(e.clientId);var n=(0,i.select)("yoast-seo/editor").getResultById(t);if(void 0===n)return;var r=n.marks;w((0,o.flatMap)(g(e.name),function(t){return v(t,e,r)})),m()};var o=n(0),a=n(94),i=n(7),s="yoast",l=t.START_MARK="<yoastmark class='yoast-text-mark'>",u=t.END_MARK="</yoastmark>",c=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},p={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function f(){var e=c.shift();e&&((0,i.dispatch)("core/annotations").__experimentalAddAnnotation(e),m())}function m(){(0,o.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(f,{timeout:1e3}):setTimeout(f,150)}function y(e){for(var t=e.indexOf(l),n=null,r=[];t>=0;){if((n=(e=e.replace(l,"")).indexOf(u))<t)return[];e=e.replace(u,""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(l),n=null}return r}function h(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o=0,a=void 0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)r.push(a),o=a+t.length;return r}function _(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=h(e,n);if(0===o.length)return[];var a=[];return y(r).forEach(function(e){o.forEach(function(r){var o=r+e.startOffset,i=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(i=r+n.length),a.push({startOffset:o,endOffset:i})})}),a}function g(e){var t=(0,i.select)("yoast-seo/editor").getActiveMarker(),n=p[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function v(e,t,n){var i=e.key,s=t.attributes,l=s[i];if(e.filter&&!e.filter(s))return[];var u=(0,a.create)({html:l,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return(0,o.flatMap)(n,function(e){var n=_(u,e);return n?n.map(function(e){return r({},e,{block:t.clientId,richTextIdentifier:i})}):[]})}function w(e){c=e.map(function(e){return{blockClientId:e.block,source:s,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}})}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(3),o=n(5),a=n(6),i=c(n(1)),s=c(n(160)),l=c(n(34)),u=c(n(31));function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,a.makeOutboundLink)();function p(e){var t=e.isCornerstone,n=e.onChange,i=e.learnMoreUrl,c=e.location,p="metabox"===c?l.default:u.default;return wp.element.createElement(p,{id:(0,a.join)(["yoast-cornerstone-collapsible",c]),title:(0,r.__)("Cornerstone content","wordpress-seo")},wp.element.createElement(o.HelpText,null,(0,r.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",wp.element.createElement(d,{href:i},(0,r.__)("Learn more about Cornerstone Content.","wordpress-seo"))),wp.element.createElement(s.default,{id:(0,a.join)(["yoast-cornerstone",c]),isEnabled:t,onToggle:n}))}p.propTypes={isCornerstone:i.default.bool,onChange:i.default.func,learnMoreUrl:i.default.string.isRequired,location:i.default.string},p.defaultProps={isCornerstone:!0,onChange:function(){},location:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=u(n(1)),i=u(n(8)),s=n(5),l=n(3);function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.div.withConfig({displayName:"CornerstoneToggle__Cornerstone",componentId:"sc-5dq4y-0"})(["display:flex;margin-top:8px;"]),d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"render",value:function(){return wp.element.createElement(c,null,wp.element.createElement(s.Toggle,{id:this.props.id,labelText:(0,l.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),t}();d.propTypes={id:a.default.string,isEnabled:a.default.bool,onToggle:a.default.func,onToggleDisabled:a.default.func},d.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(162));t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}}),(0,r.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)}}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=n(12),i=m(n(55)),s=n(3),l=m(n(1)),u=n(5),c=n(95),d=m(n(38)),p=m(n(163)),f=n(76);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(o,a){try{var i=t[o](a),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onModalOpen=n.onModalOpen.bind(n),n.onModalClose=n.onModalClose.bind(n),n.onLinkClick=n.onLinkClick.bind(n),n.listenToMessages=n.listenToMessages.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){(0,f.isCloseEvent)(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:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.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)}));return function(t){return e.apply(this,arguments)}}()},{key:"performAuthenticationRequest",value:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r,o;return regeneratorRuntime.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,(0,i.default)({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]])}));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,i=e.isLoggedIn;return wp.element.createElement(o.Fragment,null,i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-"+n,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&wp.element.createElement(d.default,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:wp.element.createElement(p.default,null),additionalClassName:"yoast-related-keyphrases-modal"},wp.element.createElement(c.ModalContainer,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},wp.element.createElement(a.Slot,{name:"YoastRelatedKeyphrases"}))),!i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-"+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},(0,s.__)("Get related keyphrases","wordpress-seo"),wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),t}();h.propTypes={keyphrase:l.default.string,location:l.default.string,whichModalOpen:l.default.oneOf(["none","metabox","sidebar"]),isLoggedIn:l.default.bool,onOpen:l.default.func.isRequired,onOpenWithNoKeyphrase:l.default.func.isRequired,onClose:l.default.func.isRequired,onAuthentication:l.default.func.isRequired},h.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1},t.default=h},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,[r.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-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 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.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 0 0-56.45-81.28z",key:0}),r.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81",key:1})])}o.defaultProps={viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=a(n(19)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.target,n=e.children;return wp.element.createElement(r.default,{target:t},n)}i.propTypes={target:o.default.string.isRequired,children:o.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),o=n(3),a=n(6),i=l(n(1)),s=l(n(97));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.makeOutboundLink)(),c=function(e){var t=(0,o.sprintf)((0,o.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),a=["<strong>"+(0,o.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,o.__)("No ads!","wordpress-seo")+"</strong>"],i=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,i],benefits:a,upsellButtonText:(0,o.sprintf)((0,o.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,o.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:i.default.string.isRequired,buyLink:i.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(38),a=d(o),i=n(4),s=d(n(1)),l=d(n(8)),u=n(3),c=n(5);function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default.button.withConfig({displayName:"SeoAnalysisModal__StyledButton",componentId:"sc-62v5uw-0"})(["&&{display:flex;align-items:center;}.yoast-svg-icon{margin:1px 7px 0 0;fill:currentColor;}"]),f={open:(0,u.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,u.__)("Close","wordpress-seo"),closeButton:""},m=function(e){var t=(0,i.useState)(!1),n=r(t,2),o=n[0],s=n[1],l=Object.assign({},f,e.labels),u=(0,i.useCallback)(function(){return s(!1)},[]),d=(0,i.useCallback)(function(){return s(!0)},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(p,{type:"button",onClick:d,className:e.classes.openButton+" yoast-modal__button-open"},e.openButtonIcon&&wp.element.createElement(c.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),l.open),o&&wp.element.createElement(a.default,{onRequestClose:u,className:e.className,title:l.heading},e.children))};m.propTypes={openButtonIcon:s.default.string,labels:s.default.shape({open:s.default.string,modalAriaLabel:s.default.string.isRequired,heading:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}).isRequired,classes:s.default.shape({openButton:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}),className:s.default.string,children:s.default.any.isRequired},m.defaultProps={className:o.defaultModalClassName,openButtonIcon:"",classes:{}},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),o=n(6),a=n(3),i=l(n(97)),s=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,o.makeOutboundLink)(),c=function(e){var t=(0,a.sprintf)((0,a.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(0,a.sprintf)((0,a.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,a.__)("No ads!","wordpress-seo")+"</strong>"],o=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),s=(0,a.sprintf)((0,a.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(i.default,{infoParagraphs:[o,s],benefits:n,upsellButtonText:(0,a.sprintf)((0,a.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,a.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:s.default.string.isRequired,buyLink:s.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(1)),o=u(n(8)),a=n(3),i=n(6),s=n(18),l=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var c=o.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer",componentId:"sc-1qakqs0-0"})(["color:",";margin:0;padding-right:8px;"],s.colors.$color_upsell_text),d=o.default.div.withConfig({displayName:"AnalysisUpsell__Container",componentId:"sc-1qakqs0-1"})(["font-size:1em;display:flex;flex-direction:",";",":4px solid ",";margin:16px 0;padding:0 0 0 8px;max-width:600px;> ","{margin-bottom:",";}"],function(e){return"horizontal"===e.alignment?"row":"column"},(0,i.getDirectionalStyle)("border-left","border-right"),s.colors.$color_pink_dark,c,function(e){return"vertical"===e.alignment&&"16px"}),p=(0,o.default)(l.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret",componentId:"sc-1qakqs0-2"})(["margin:",";transform:",";"],(0,i.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),(0,i.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),f=(0,i.makeOutboundLink)(l.UpsellLinkButton),m=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(d,{alignment:t},wp.element.createElement(c,null,(0,a.sprintf)((0,a.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),wp.element.createElement("div",null,wp.element.createElement(f,{href:n,className:"UpsellLinkButton"},(0,a.sprintf)((0,a.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(p,{icon:"arrow-right",size:"8px",color:s.colors.$color_black}))))};m.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},m.defaultProps={alignment:"vertical"},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(12),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function a(e){var t=e.location;return wp.element.createElement(r.Slot,{name:"yoast-synonyms-"+t})}a.propTypes={location:o.default.string.isRequired}},function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(12),a=s(n(1)),i=s(n(99));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(o.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:a.default.bool.isRequired,onLoad:a.default.func.isRequired,location:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=c(n(8)),a=c(n(20)),i=c(n(1)),s=n(3),l=n(5),u=n(6);function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,o.default)(l.Alert).withConfig({displayName:"SocialUpsell__PremiumInfoText",componentId:"sc-113ceom-0"})(["p{margin:0;}"]),p=(0,u.makeOutboundLink)(),f=function(e){var t=(0,s.sprintf)((0,s.__)("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=(0,s.sprintf)((0,s.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(r.Fragment,null,wp.element.createElement(d,{type:"info"},(0,a.default)({mixedString:t,components:{strong:wp.element.createElement("b",null)}}),wp.element.createElement("br",null),wp.element.createElement(p,{href:"https://yoast.com/reasons-to-upgrade/"},wp.element.createElement("p",null,n))))};f.propTypes={socialMediumName:i.default.oneOf(["Twitter","Facebook"]).isRequired},t.default=f},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(12),a=s(n(1)),i=s(n(99));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(o.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:a.default.bool.isRequired,onLoad:a.default.func.isRequired,location:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=n(5),i=n(6),s=d(n(20)),l=d(n(1)),u=d(n(8)),c=n(116);function d(e){return e&&e.__esModule?e:{default:e}}var p=u.default.div.withConfig({displayName:"SchemaTab__SchemaContainer",componentId:"sc-166btxs-0"})(["padding:16px;"]),f=function(e,t,n){var r=e.find(function(e){return e.value===t});return[{name:(0,o.sprintf)((0,o.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))},m=function(e){return(0,s.default)({mixedString:function(e){return(0,o.sprintf)((0,o.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")}(e),components:{link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}})},y=function(e){var t=f(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=f(e.articleTypeOptions,e.defaultArticleType,e.postTypeName);return wp.element.createElement(r.Fragment,null,wp.element.createElement(a.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:(0,o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription}),wp.element.createElement(a.FieldGroup,{label:(0,o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:(0,o.__)("Learn more about page or content types","wordpress-seo")}),wp.element.createElement(a.Select,{id:(0,i.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&wp.element.createElement(a.Select,{id:(0,i.join)(["yoast-schema-article-type",e.location]),options:n,label:(0,o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&wp.element.createElement("p",null,m(e.postTypeName)))};y.propTypes={schemaPageTypeChange:l.default.func,schemaPageTypeSelected:l.default.string,pageTypeOptions:c.schemaTypeOptionsPropType.isRequired,schemaArticleTypeChange:l.default.func,schemaArticleTypeSelected:l.default.string,articleTypeOptions:c.schemaTypeOptionsPropType.isRequired,showArticleTypeInput:l.default.bool.isRequired,additionalHelpTextLink:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,defaultPageType:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,location:l.default.string.isRequired},y.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var h=function(e){return e.isMetabox?(0,r.createPortal)(wp.element.createElement(p,null,wp.element.createElement(y,e)),document.getElementById("wpseo-meta-section-schema")):wp.element.createElement(y,e)};h.propTypes={showArticleTypeInput:l.default.bool,articleTypeLabel:l.default.string,additionalHelpTextLink:l.default.string,pageTypeLabel:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,isMetabox:l.default.bool.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,loadSchemaArticleData:l.default.func.isRequired,loadSchemaPageData:l.default.func.isRequired,location:l.default.string.isRequired},h.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=n(5),i=n(6),s=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),l=n(14);var u=function(e){var t=(0,o.__)("No","wordpress-seo"),n=(0,o.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:(0,o.sprintf)((0,o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:(0,o.sprintf)((0,o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]},c=function(e){var t=e.noIndex,n=e.onNoIndexChange,s=e.editorContext,c=e.isPrivateBlog,d=u(s);return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(r.Fragment,null,c&&wp.element.createElement(a.Alert,{type:"warning"},(0,o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),wp.element.createElement(a.Select,{label:(0,o.sprintf)((0,o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),s.postTypeNameSingular),onChange:n,id:(0,i.join)(["yoast-meta-robots-noindex",e]),options:d,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:(0,o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))})};c.propTypes={noIndex:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,editorContext:s.default.object.isRequired,isPrivateBlog:s.default.bool},c.defaultProps={isPrivateBlog:!1};var d=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return wp.element.createElement(l.LocationConsumer,null,function(e){var s=(0,i.join)(["yoast-meta-robots-nofollow",e]);return wp.element.createElement(a.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,o.sprintf)((0,o.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:s,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:(0,o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};d.propTypes={noFollow:s.default.string.isRequired,onNoFollowChange:s.default.func.isRequired,postTypeName:s.default.string.isRequired};var p=function(e){var t=e.advanced,n=e.onAdvancedChange;return wp.element.createElement(l.LocationConsumer,null,function(e){var r=(0,i.join)(["yoast-meta-robots-advanced",e]),s=r+"-input";return wp.element.createElement(a.MultiSelect,{label:(0,o.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:s,options:[{name:(0,o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:(0,o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};p.propTypes={advanced:s.default.array.isRequired,onAdvancedChange:s.default.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(a.TextInput,{label:(0,o.__)("Breadcrumbs Title","wordpress-seo"),id:(0,i.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:(0,o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})})};f.propTypes={breadcrumbsTitle:s.default.string.isRequired,onBreadcrumbsTitleChange:s.default.func.isRequired};var m=function(e){var t=e.canonical,n=e.onCanonicalChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(a.TextInput,{label:(0,o.__)("Canonical URL","wordpress-seo"),id:(0,i.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:(0,o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})})};m.propTypes={canonical:s.default.string.isRequired,onCanonicalChange:s.default.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,o=e.advanced,a=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,l=e.onNoFollowChange,u=e.onAdvancedChange,y=e.onBreadcrumbsTitleChange,h=e.onCanonicalChange,_=e.onLoad,g=e.isLoading,v=e.editorContext,w=e.isBreadcrumbsDisabled,b=e.isPrivateBlog;(0,r.useEffect)(function(){setTimeout(function(){g&&_()})});var E={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:b},T={noFollow:n,onNoFollowChange:l,postTypeName:v.postTypeNameSingular},k={advanced:o,onAdvancedChange:u},O={breadcrumbsTitle:a,onBreadcrumbsTitleChange:y},S={canonical:i,onCanonicalChange:h};return g?null:wp.element.createElement(r.Fragment,null,wp.element.createElement(c,E),v.isPost&&wp.element.createElement(d,T),v.isPost&&wp.element.createElement(p,k),!w&&wp.element.createElement(f,O),wp.element.createElement(m,S))};y.propTypes={noIndex:s.default.string.isRequired,canonical:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,onCanonicalChange:s.default.func.isRequired,onLoad:s.default.func.isRequired,isLoading:s.default.bool.isRequired,editorContext:s.default.object.isRequired,isBreadcrumbsDisabled:s.default.bool.isRequired,isPrivateBlog:s.default.bool,advanced:s.default.array,onAdvancedChange:s.default.func,noFollow:s.default.string,onNoFollowChange:s.default.func,breadcrumbsTitle:s.default.string,onBreadcrumbsTitleChange:s.default.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1},t.default=y},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(5);t.default=(0,r.connect)(function(e){return{message:e.warning.message}})(o.Warning)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapEditorDataToPreview=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.mapStateToProps=f,t.mapDispatchToProps=m;var o=n(17),a=n(170),i=n(3),s=n(7),l=n(14),u=n(16),c=function(e){return e&&e.__esModule?e:{default:e}}(n(115)),d=n(30);var p=t.mapEditorDataToPreview=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)),(0,d.applyReplaceUsingPlugin)(e)};function f(e){return e.snippetEditor.replacementVariables.forEach(function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),r({},e.snippetEditor,{keyword:e.focusKeyword,baseUrl:e.settings.snippetEditor.baseUrl,date:e.settings.snippetEditor.date,recommendedReplacementVariables:e.settings.snippetEditor.recommendedReplacementVariables,faviconSrc:e.settings.snippetEditor.siteIconUrl,mobileImageSrc:e.snippetEditor.data.snippetPreviewImageURL})}function m(e){return{onChange:function(t,n){var r=(0,u.updateData)(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n));if("mode"===t&&(r=(0,u.switchMode)(n)),e(r),"slug"===t){var o=(0,s.dispatch)("core/editor");o&&o.editPost({slug:n})}},onChangeAnalysisData:function(t){e((0,u.updateAnalysisData)(t))}}}t.default=(0,o.connect)(f,m)(function(e){return wp.element.createElement(l.LocationConsumer,null,function(t){return wp.element.createElement(c.default,{icon:"eye",hasPaperStyle:e.hasPaperStyle},wp.element.createElement(a.SnippetEditor,r({},e,{descriptionPlaceholder:(0,i.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:p,showCloseButton:!1,idSuffix:t})))})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=n(3),i=n(6),s=d(n(171)),l=d(n(9)),u=d(n(32)),c=n(83);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateTwitterImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,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,u=t.getFacebookDescription,c=t.getDescriptionFallback,d=t.getTitleFallback,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,y=t.getRecommendedReplaceVars,h=t.getReplaceVars,_=t.getSiteUrl,g=t.getAuthorName,v=(0,a.sprintf)((0,a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),w=(0,a.sprintf)((0,a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:y(),replacementVariables:h(),description:n(),descriptionPreviewFallback:u()||c()||w,title:r(),titlePreviewFallback:s()||d()||v,imageWarnings:p(),authorName:g(),siteUrl:_(),isPremium:!!(0,l.default)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:v,descriptionInputPlaceholder:w,socialMediumName:"Twitter"}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:f,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=n(3),i=n(6),s=d(n(174)),l=d(n(9)),u=d(n(32)),c=n(83);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,o.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateFacebookImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescriptionFallback,o=t.getFacebookTitle,i=t.getTitleFallback,s=t.getFacebookImageUrl,u=t.getImageFallback,c=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,y=(0,a.sprintf)((0,a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),h=(0,a.sprintf)((0,a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");return{imageUrl:s(),imageFallbackUrl:u(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:r()||h,title:o(),titlePreviewFallback:i()||y,imageWarnings:c(),authorName:m(),siteUrl:f(),isPremium:!!(0,l.default)().isPremium,titleInputPlaceholder:y,descriptionInputPlaceholder:h,socialMediumName:"Facebook"}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:f,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}}),(0,u.default)()])(s.default)},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=s(n(257)),a=s(n(258)),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.target,n=e.store,r=e.theme;return wp.element.createElement(i.default,{target:t},wp.element.createElement(o.default,{store:n,theme:r}),wp.element.createElement(a.default,{store:n,theme:r}))}l.propTypes={target:r.default.string.isRequired,store:r.default.object,theme:r.default.object}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(a.default,{store:t,theme:n,location:"metabox"},wp.element.createElement(r.Slot,{name:"YoastMetabox"},function(e){return(0,o.default)(e)}))};var r=n(12),o=i(n(147)),a=i(n(100));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(259)),o=n(17);t.default=(0,o.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=n(12),o=n(3),a=g(n(1)),i=g(n(141)),s=g(n(238)),l=g(n(237)),u=g(n(142)),c=g(n(143)),d=g(n(144)),p=g(n(34)),f=g(n(98)),m=g(n(146)),y=g(n(260)),h=g(n(145)),_=g(n(117));function g(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=e.settings;return wp.element.createElement(r.Fill,{name:"YoastMetabox"},wp.element.createElement(f.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&wp.element.createElement(r.Fill,{name:"YoastRelatedKeyphrases"},wp.element.createElement(_.default,null))),wp.element.createElement(f.default,{renderPriority:9},wp.element.createElement(p.default,{id:"yoast-snippet-editor-metabox",title:(0,o.__)("Google preview","wordpress-seo"),initialIsOpen:!0},wp.element.createElement(s.default,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&wp.element.createElement(f.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(f.default,{renderPriority:30},wp.element.createElement(i.default,null)),t.displayAdvancedTab&&wp.element.createElement(f.default,{renderPriority:40},wp.element.createElement(p.default,{id:"collapsible-advanced-settings",title:(0,o.__)("Advanced","wordpress-seo")},wp.element.createElement(m.default,null))),t.displaySchemaSettings&&wp.element.createElement(f.default,{renderPriority:50},wp.element.createElement(h.default,null)),wp.element.createElement(f.default,{renderPriority:-1},wp.element.createElement(y.default,{target:"wpseo-section-social"})))}v.propTypes={settings:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=i(n(1)),o=i(n(261)),a=i(n(19));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.target;return wp.element.createElement(a.default,{target:t},wp.element.createElement(o.default,null))}s.propTypes={target:r.default.string.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(262));t.default=(0,r.withSelect)(function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}})(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=u(n(34)),a=n(3),i=u(n(1)),s=u(n(240)),l=u(n(239));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.displayFacebook,n=e.displayTwitter;return wp.element.createElement(r.Fragment,null,t&&wp.element.createElement(o.default,{hasSeparator:!1,title:(0,a.sprintf)((0,a.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},wp.element.createElement(s.default,null)),n&&wp.element.createElement(o.default,{title:(0,a.sprintf)((0,a.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},wp.element.createElement(l.default,null)))};c.propTypes={displayFacebook:i.default.bool.isRequired,displayTwitter:i.default.bool.isRequired},t.default=c},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=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(4);function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var s=void 0,l=void 0,u=void 0,c=void 0,d=/<(\/)?(\w+)\s*(\/)?>/g;function p(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function f(){var e=s.length-l;0!==e&&u.push(s.substr(l,e))}function m(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,l=e.children,u=c[c.length-1],d=s.substr(u.prevOffset,n-u.prevOffset);d&&u.children.push(d),u.children.push(a.cloneElement.apply(void 0,[t,null].concat(i(l)))),u.prevOffset=o||n+r}function y(e){var t=function(){var e=d.exec(s);if(null===e)return["no-more-tokens"];var t=e.index,n=o(e,4),r=n[0],a=n[1],i=n[2],l=n[3],u=r.length;return l?["self-closed",i,t,u]:a?["closer",i,t,u]:["opener",i,t,u]}(),n=o(t,4),r=n[0],y=n[1],h=n[2],_=n[3],g=c.length,v=h>l?l:null;if(!e[y])return f(),!1;switch(r){case"no-more-tokens":if(0!==g){var w=c.pop(),b=w.leadingTextStart,E=w.tokenStart;u.push(s.substr(b,E))}return f(),!1;case"self-closed":return 0===g?(null!==v&&u.push(s.substr(v,h-v)),u.push(e[y]),l=h+_,!0):(m(p(e[y],h,_)),l=h+_,!0);case"opener":return c.push(p(e[y],h,_,h+_,v)),l=h+_,!0;case"closer":if(1===g)return function(e){var t=c.pop(),n=t.element,r=t.leadingTextStart,o=t.prevOffset,l=t.tokenStart,d=t.children,p=e?s.substr(o,e-o):s.substr(o);p&&d.push(p),null!==r&&u.push(s.substr(r,l-r)),u.push(a.cloneElement.apply(void 0,[n,null].concat(i(d))))}(h),l=h+_,!0;var T=c.pop(),k=s.substr(T.prevOffset,h-T.prevOffset);T.children.push(k),T.prevOffset=h+_;var O=p(T.element,T.tokenStart,T.tokenLength,h+_);return O.children=T.children,m(O),l=h+_,!0;default:return f(),!1}}t.default=function(e,t){if(s=e,l=0,u=[],c=[],d.lastIndex=0,!function(e){var t="object"===(void 0===e?"undefined":r(e)),n=t&&Object.values(e);return t&&n.length&&n.every(function(e){return(0,a.isValidElement)(e)})}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(y(t));return a.createElement.apply(void 0,[a.Fragment,null].concat(i(u)))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var i=a(n(8)).default.svg.withConfig({displayName:"PluginIcon__PluginIconSVG",componentId:"kdw68a-0"})(["width:","px;height:","px;&&& path{fill:",";}&&& circle.yoast-icon-readability-score{fill:",";display:",";}&&& circle.yoast-icon-seo-score{fill:",";display:",";}"],function(e){return e.size},function(e){return e.size},function(e){return e.color},function(e){return e.readabilityScoreColor},function(e){return e.isContentAnalysisActive?"inline":"none"},function(e){return e.seoScoreColor},function(e){return e.isKeywordAnalysisActive?"inline":"none"}),s=function(e){return wp.element.createElement(i,r({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),wp.element.createElement("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),wp.element.createElement("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),wp.element.createElement("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),wp.element.createElement("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};s.propTypes={readabilityScoreColor:o.default.string,isContentAnalysisActive:o.default.bool,seoScoreColor:o.default.string,isKeywordAnalysisActive:o.default.bool,size:o.default.number,color:o.default.string},s.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var o=u(n(1)),a=n(3),i=n(4),s=n(5),l=u(n(387));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=e.checklist,n=e.onClick,o=t.every(function(e){return"good"===e.score});return wp.element.createElement(i.Fragment,null,t.map(function(e){return wp.element.createElement(l.default,r({key:e.label},e))}),wp.element.createElement("br",null),!o&&wp.element.createElement(s.Button,{onClick:n},(0,a.__)("Improve your post with Yoast SEO","wordpress-seo")))}c.propTypes={checklist:o.default.array.isRequired,onClick:o.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeAddFocusKeyphraseCheck=function(e,t){t.getFocusKeyphrase()||e.push({label:(0,r.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})},t.maybeAddReadabilityCheck=function(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=(0,o.default)(t.getReadabilityResults().overallScore);e.push({label:(0,r.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}},t.maybeAddSEOCheck=function(e,t){if(t.getPreferences().isContentAnalysisActive){var n=(0,o.default)(t.getResultsForFocusKeyword().overallScore);e.push({label:(0,r.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}},t.maybeAddSchemaBlocksValidationCheck=function(e,t,n){if(!function(e){return e.some(function(e){return Object.keys(e.attributes).includes("yoast-schema")})}(n.getBlocks()))return;var o=t.getSchemaBlocksValidationResults(),a=Object.values(o);if(a&&a.length>0){var i=a.every(function(e){return e.result<=0});e.push({label:(0,r.__)("Schema analysis:","wordpress-seo"),score:i?"good":"bad",scoreValue:i?(0,r.__)("Good","wordpress-seo"):(0,r.__)("Needs improvement","wordpress-seo")})}};var r=n(3),o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=a(n(371)),o=a(n(393));function a(e){return e&&e.__esModule?e:{default:e}}window.yoast=window.yoast||{},window.yoast.initEditorIntegration=r.default,window.yoast.EditorData=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(function(e){var t=(0,E.default)(),n=t.isPremium,u=n?"Yoast SEO Premium":"Yoast SEO",c=wp.element.createElement(T.default,null);(0,i.updateCategory)("yoast-structured-data-blocks",{icon:c}),(0,i.updateCategory)("yoast-internal-linking-blocks",{icon:c});var y={isRtl:t.isRtl},h=e.getState().preferences,g=h.isKeywordAnalysisActive||h.isContentAnalysisActive,k=h.isZapierIntegrationActive&&!h.isZapierConnected;(0,s.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]||(0,s.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel");(0,o.registerPlugin)("yoast-seo",{render:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(r.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:wp.element.createElement(p.default,null)},u),wp.element.createElement(r.PluginSidebar,{name:"seo-sidebar",title:u},wp.element.createElement(_.default,{store:e,theme:y})),wp.element.createElement(a.Fragment,null,wp.element.createElement(f.default,{store:e,theme:y}),wp.element.createElement(m.default,{target:"wpseo-metabox-root",store:e,theme:y})),g&&wp.element.createElement(r.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(v.default,null)),n&&k&&wp.element.createElement(r.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(d.Slot,{name:"YoastZapierPrePublish"})),wp.element.createElement(r.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(b.default,null)),g&&wp.element.createElement(r.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(w.default,null)))},icon:wp.element.createElement(p.default,null)})})(e),"function"==typeof(0,c.get)(window,"wp.blockEditor.__experimentalLinkControl")?[g.link].forEach(function(e){var t=e.name,n=e.replaces,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["name","replaces"]);n&&(0,s.dispatch)("core/rich-text").removeFormatTypes(n),t&&(0,u.registerFormatType)(t,r)}):console.warn((0,l.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+(0,l.sprintf)((0,l.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){(0,h.isAnnotationAvailable)()&&e.dispatch((0,y.setMarkerStatus)("enabled"))}(e)};var r=n(372),o=n(373),a=n(4),i=n(140),s=n(7),l=n(3),u=n(94),c=n(0),d=n(12),p=k(n(374)),f=k(n(375)),m=k(n(256)),y=n(16),h=n(148),_=k(n(380)),g=n(381),v=k(n(385)),w=k(n(388)),b=k(n(389)),E=k(n(9)),T=k(n(318));function k(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=window.wp.editPost},function(e,t){e.exports=window.wp.plugins},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=n(18),i=l(n(27)),s=l(n(318));function l(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=(0,i.default)(t.getResultsForFocusKeyword().overallScore),r=(0,i.default)(t.getReadabilityResults().overallScore),o=t.getPreferences(),s=o.isKeywordAnalysisActive,l=o.isContentAnalysisActive,u=void 0;switch(r.className){case"good":u=a.colors.$color_good;break;case"ok":u=a.colors.$color_ok;break;case"bad":u=a.colors.$color_bad;break;default:u=a.colors.$color_score_icon}var c=void 0;switch(n.className){case"good":c=a.colors.$color_good;break;case"ok":c=a.colors.$color_ok;break;case"bad":c=a.colors.$color_bad;break;default:c=a.colors.$color_score_icon}return{readabilityScoreColor:u,seoScoreColor:c,isKeywordAnalysisActive:s,isContentAnalysisActive:l}})])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(376)),o=n(17);t.default=(0,o.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r=n(12),o=n(4),a=v(n(1)),i=n(3),s=v(n(141)),l=v(n(237)),u=v(n(142)),c=v(n(143)),d=v(n(144)),p=v(n(98)),f=v(n(377)),m=v(n(378)),y=v(n(379)),h=v(n(145)),_=v(n(31)),g=v(n(146));function v(e){return e&&e.__esModule?e:{default:e}}function w(e){var t=e.settings;return wp.element.createElement(o.Fragment,null,wp.element.createElement(r.Fill,{name:"YoastSidebar"},wp.element.createElement(p.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),wp.element.createElement(p.default,{renderPriority:23},wp.element.createElement(f.default,null)),t.displayFacebook&&wp.element.createElement(p.default,{renderPriority:24},wp.element.createElement(y.default,null)),t.displayTwitter&&wp.element.createElement(p.default,{renderPriority:25},wp.element.createElement(m.default,null)),t.displaySchemaSettings&&wp.element.createElement(p.default,{renderPriority:26},wp.element.createElement(_.default,{title:(0,i.__)("Schema","wordpress-seo")},wp.element.createElement(h.default,null))),t.displayAdvancedTab&&wp.element.createElement(p.default,{renderPriority:27},wp.element.createElement(_.default,{title:(0,i.__)("Advanced","wordpress-seo")},wp.element.createElement(g.default,null))),t.isContentAnalysisActive&&wp.element.createElement(p.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(p.default,{renderPriority:30},wp.element.createElement(s.default,null))))}w.propTypes={settings:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(82)),a=i(n(238));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},wp.element.createElement(a.default,{showCloseButton:!1,hasPaperStyle:!1}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(82)),a=i(n(239));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},wp.element.createElement(a.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(82)),a=i(n(240));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},wp.element.createElement(a.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(a.default,{store:t,theme:n,location:"sidebar"},wp.element.createElement(r.Slot,{name:"YoastSidebar"},function(e){return(0,o.default)(e)}))};var r=n(12),o=i(n(147)),a=i(n(100));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.link=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3),a=n(4),i=n(12),s=n(94),l=n(56),u=n(382),c=function(e){return e&&e.__esModule?e:{default:e}}(n(383));var d="core/link",p=(0,o.__)("Link","wordpress-seo");t.link={name:d,title:p,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if((0,s.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return(0,l.isURL)(o)?(window.console.log("Created link:\n\n",o),(0,s.applyFormat)(e,{type:d,attributes:{url:(0,u.decodeEntities)(o)}})):e},edit:(0,i.withSpokenMessages)(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.addLink=e.addLink.bind(e),e.stopAddingLink=e.stopAddingLink.bind(e),e.onRemoveFormat=e.onRemoveFormat.bind(e),e.state={addingLink:!1},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=(0,s.getTextContent)((0,s.slice)(t));r&&(0,l.isURL)(r)?n((0,s.applyFormat)(t,{type:d,attributes:{url:r}})):r&&(0,l.isEmail)(r)?n((0,s.applyFormat)(t,{type:d,attributes:{url:"mailto:"+r}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n((0,s.removeFormat)(t,d)),r((0,o.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,i=e.onChange,s=window.wp.blockEditor,l=s.RichTextToolbarButton,u=s.RichTextShortcut;return wp.element.createElement(a.Fragment,null,wp.element.createElement(u,{type:"primary",character:"k",onUse:this.addLink}),wp.element.createElement(u,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&wp.element.createElement(l,{name:"link",icon:"editor-unlink",title:(0,o.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&wp.element.createElement(l,{name:"link",icon:"admin-links",title:p,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&wp.element.createElement(c.default,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:i}))}}]),t}())}},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(0),i=n(4),s=n(3),l=n(12),u=n(56),c=n(94),d=n(384),p=m(n(33)),f=m(n(263));function m(e){return e&&e.__esModule?e:{default:e}}t.default=(0,l.withSpokenMessages)(function(e){var t=e.isActive,n=e.activeAttributes,m=e.addingLink,y=e.value,h=e.onChange,_=e.speak,g=e.stopAddingLink,v=(0,i.useMemo)(a.uniqueId,[m]),w=(0,i.useState)(),b=o(w,2),E=b[0],T=b[1],k=(0,i.useMemo)(function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(m&&!t)return n;var r=n.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")}},[m,y.start,y.end]),O=r({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},E),S=wp.element.createElement(p.default,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),P=(0,f.default)((0,s.sprintf)((0,s.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:wp.element.createElement("code",null),helplink:S}),R=(0,f.default)((0,s.sprintf)((0,s.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:wp.element.createElement("code",null),helplink:S}),C=[{id:"opensInNewTab",title:(0,s.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:P},{id:"sponsored",title:R}],A=window.wp.blockEditor.__experimentalLinkControl;return wp.element.createElement(l.Popover,{key:v,anchorRef:k,focusOnMount:!!m&&"firstElement",onClose:g,position:"bottom center"},wp.element.createElement(A,{value:O,onChange:function(e){e=r({},E,e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var o=n&&void 0===e.url;if(T(o?e:void 0),!o){var a=(0,u.prependHTTP)(e.url),i=(0,d.createLinkFormat)({url:a,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if((0,c.isCollapsed)(y)&&!t){var l=e.title||a,p=(0,c.applyFormat)((0,c.create)({text:l}),i,0,l.length);h((0,c.insert)(y,p))}else{var f=(0,c.applyFormat)(y,i);f.start=f.end,f.activeFormats=[],h(f)}n||g(),(0,d.isValidHref)(a)?_(t?(0,s.__)("Link edited.","wordpress-seo"):(0,s.__)("Link inserted.","wordpress-seo"),"assertive"):_((0,s.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},forceIsEditingLink:m,settings:C}))})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidHref=function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=(0,o.getProtocol)(t);if(!(0,o.isValidProtocol)(n))return!1;if((0,r.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var a=(0,o.getAuthority)(t);if(!(0,o.isValidAuthority)(a))return!1;var i=(0,o.getPath)(t);if(i&&!(0,o.isValidPath)(i))return!1;var s=(0,o.getQueryString)(t);if(s&&!(0,o.isValidQueryString)(s))return!1;var l=(0,o.getFragment)(t);if(l&&!(0,o.isValidFragment)(l))return!1}if((0,r.startsWith)(t,"#")&&!(0,o.isValidFragment)(t))return!1;return!0},t.createLinkFormat=function(e){var t=e.url,n=e.opensInNewWindow,o=e.noFollow,a=e.sponsored,i=(e.text,{type:"core/link",attributes:{url:t}}),s=[];n&&(i.attributes.target="_blank",s.push("noreferrer noopener"));a&&(s.push("sponsored"),s.push("nofollow"));o&&s.push("nofollow");s.length>0&&(s=(0,r.uniq)(s),i.attributes.rel=s.join(" "));return i};var r=n(0),o=(n(3),n(56))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSelectToProps=s,t.mapDispatchToProps=l;var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(386)),i=n(320);function s(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=[];return(0,i.maybeAddFocusKeyphraseCheck)(r,t),(0,i.maybeAddReadabilityCheck)(r,t),(0,i.maybeAddSEOCheck)(r,t),(0,i.maybeAddSchemaBlocksValidationCheck)(r,t,n),{checklist:r}}function l(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}t.default=(0,o.compose)([(0,r.withSelect)(s),(0,r.withDispatch)(l)])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=n(4),a=n(3),i=s(n(319));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.checklist,n=e.onClick,r=void 0;return r=t.every(function(e){return"good"===e.score})?(0,a.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):(0,a.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),wp.element.createElement(o.Fragment,null,wp.element.createElement("p",null,r),wp.element.createElement(i.default,{checklist:t,onClick:n}))}l.propTypes={checklist:r.default.array.isRequired,onClick:r.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(5),o=n(28),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1));function i(e){var t=e.score,n=e.label,a=e.scoreValue;return wp.element.createElement("div",null,wp.element.createElement(r.SvgIcon,(0,o.getIconForScore)(t)),wp.element.createElement("span",null," ",n," ",a&&wp.element.createElement("strong",null,a)))}i.propTypes={score:a.string.isRequired,label:a.string.isRequired,scoreValue:a.string},i.defaultProps={scoreValue:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSelectToProps=s,t.mapDispatchToProps=l;var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(319)),i=n(320);function s(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=[];return(0,i.maybeAddReadabilityCheck)(r,t),(0,i.maybeAddSEOCheck)(r,t),(0,i.maybeAddSchemaBlocksValidationCheck)(r,t,n),{checklist:r}}function l(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}t.default=(0,o.compose)([(0,r.withSelect)(s),(0,r.withDispatch)(l)])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(390));t.default=(0,o.compose)([(0,r.withSelect)(function(e){return{permalink:e("core/editor").getPermalink()}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=l(n(1)),o=n(3),a=n(4),i=l(n(391)),s=l(n(392));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=e.permalink,n=encodeURI(t);return wp.element.createElement(a.Fragment,null,wp.element.createElement("div",null,(0,o.__)("Share your post!","wordpress-seo")),wp.element.createElement("ul",{className:"yoast-seo-social-share-buttons"},wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(i.default,null))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(s.default,null)))))}u.propTypes={permalink:r.default.string.isRequired}},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,r.createElement("g",{fill:"none",fillRule:"evenodd"},[r.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 1 0-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 0 0 675-790",key:0}),r.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 0 0 250 0v-559h186z",key:1})]))}o.defaultProps={viewBox:"0 0 1600 1600",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,[r.createElement("circle",{cx:"200",cy:"200",r:"200",fill:"#1da1f2",key:0}),r.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff",key:1})])}o.defaultProps={viewBox:"0 0 400 400",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),i=n(11),s=n(7),l=n(13),u=n(37),c=n(30),d=n(148);var p=e.jQuery,f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return o(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),(0,c.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=(0,c.mapCustomFields)(e,this._store),e=(0,c.mapCustomTaxonomies)(e,this._store),r({},e,t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=(0,s.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=(0,s.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=i.string.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=p(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch((0,l.updateReplacementVariable)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch((0,l.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,l.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch((0,l.updateData)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch((0,l.updateData)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch((0,u.setContentImage)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:(0,c.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=(0,s.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&(0,d.reapplyAnnotationsForSelectedBlock)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=(0,s.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=(0,a.debounce)(this.refreshYoastSEO,500),(0,s.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},(0,s.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}();t.default=f}).call(this,n(101))}],[[370,0]]]);
 
js/dist/block-editor-1600.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[3],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})};var r=n(0)},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SNIPPET_EDITOR_DATA=t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:o,mode:e}},t.updateData=function(e){return{type:a,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:i,name:e,value:o,label:n}},t.updateWordsToHighlight=function(e){return{type:u,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:l,time:(new Date).getMilliseconds()}};var r=n(6),o=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",a=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",i=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l=t.REFRESH="SNIPPET_EDITOR_REFRESH",u=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT";t.LOAD_SNIPPET_EDITOR_DATA="LOAD_SNIPPET_EDITOR_DATA"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationConsumer=t.LocationProvider=t.LocationContext=void 0;var r=n(4),o=t.LocationContext=(0,r.createContext)();t.LocationProvider=o.Provider,t.LocationConsumer=o.Consumer},function(e,t){e.exports=window.yoast.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=t.setReadabilityResults=t.setOverallSeoScore=t.setOverallReadabilityScore=void 0;var r=n(44);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var o=n(45);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var a=n(70);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var i=n(36);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var s=n(71);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(72);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(46);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(37);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(29);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(47);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(33);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var m=n(48);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(49);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var h=n(51);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var _=n(74);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var g=n(52);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var v=n(38);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(13);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(53);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(54);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(55);Object.keys(T).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})});var k=n(15);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return k.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return k.setSeoResultsForKeyword}});var O=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return O.default.readabilityScore=e,(0,k.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return O.default.seoScore=e,(0,k.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.yoast.reactRedux},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(4),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function a(e){var t=e.target,n=e.children,o=t;return"string"==typeof t&&(o=document.getElementById(t)),o?(0,r.createPortal)(n,o):null}a.propTypes={target:o.default.oneOfType([o.default.string,o.default.object]).isRequired,children:o.default.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(2)),a=s(n(79)),i=s(n(82));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,i,s,c,d,p,f,m,y=[],h={};for(p=0;p<e.length;p++)if("string"!==(d=e[p]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],s=p;break}y.push(t[d.value])}else y.push(d.value);return n&&(c=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+"`")}(s,e),f=u(e.slice(s+1,c),t),i=o.default.cloneElement(n,{},f),y.push(i),c<e.length-1&&(m=u(e.slice(c+1),t),y=y.concat(m))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(h["interpolation-child-"+t]=e)}),(0,a.default)(h))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var a=(0,i.default)(t);try{return u(a,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){"use strict";var r=n(23),o=n(24),a=n(25);e.exports=function(){function e(e,t,n,r,i,s){s!==a&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,a,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,a,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.keyphraseElement.value=t},get:function(){return e.keyphraseElement.value}},{key:"isCornerstone",set:function(t){e.isCornerstoneElement.value=t?"1":"0"},get:function(){return"1"===e.isCornerstoneElement.value}},{key:"seoScore",set:function(t){e.seoScoreElement.value=t},get:function(){return e.seoScoreElement.value}},{key:"readabilityScore",set:function(t){e.readabilityScoreElement.value=t},get:function(){return e.readabilityScoreElement.value}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,a.isNil)(e)||(e/=10);return function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(o.helpers.scoreToRating(e))};var r=n(3),o=n(11),a=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(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},t.default=function(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 a=i(o,t);n=s(a,n)}}return n};var r=n(11),o=n(18),a=r.helpers.scoreToRating;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:a(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?t+":"+n:n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_MARKER_STATUS="WPSEO_SET_MARKER_STATUS";t.setMarkerStatus=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyReplaceUsingPlugin=t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.fillReplacementVariables=function(e,t){(0,o.forEach)(e,function(e,n){l.includes(n)||t.dispatch((0,a.updateReplacementVariable)(n,e))})},t.handlePrefixes=u,t.createLabelFromName=c,t.pushNewReplaceVar=function(e,t){return e.push({name:t.name,label:t.label||c(t.name),value:t.value}),e},t.replaceSpaces=d,t.prepareCustomFieldForDispatch=p,t.prepareCustomTaxonomyForDispatch=f,t.mapCustomTaxonomies=function(e,t){if(!e.custom_taxonomies)return e;return(0,o.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),o=r.name,i=r.label,s=r.descriptionName,l=r.descriptionLabel;t.dispatch((0,a.updateReplacementVariable)(o,e.name,i)),t.dispatch((0,a.updateReplacementVariable)(s,e.description,l))}),(0,o.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,o.forEach)(e.custom_fields,function(e,n){var r=p(n),o=r.name,i=r.label;t.dispatch((0,a.updateReplacementVariable)(o,e,i))}),(0,o.omit)(r({},e),"custom_fields")},t.excerptFromContent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=wp.sanitize.stripTags(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var o=n(0),a=n(13),i=n(41),s=n(6).strings.stripHTMLTags,l=t.nonReplaceVars=["slug","content","contentImage","snippetPreviewImageURL"];function u(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 c(e){return e=u(e),(0,i.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function p(e){return{name:"cf_"+d(e),label:(0,i.firstToUpperCase)(e+" (custom field)")}}function f(e){var t=d(e);return{name:"ct_"+t,label:(0,i.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,i.firstToUpperCase)(e+" description (custom taxonomy)")}}t.applyReplaceUsingPlugin=function(e){var t=(0,o.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,o.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,o.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],o.identity);return{url:e.url,title:s(t(e.title)),description:s(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:s(n("data_page_title",e.title)),description:s(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(4),a=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var s=function(e){var t=(0,o.useState)(!1),n=r(t,2),i=n[0],s=n[1],l=e.prefixIcon;return wp.element.createElement("div",{className:"yoast components-panel__body "+(i?"is-opened":"")},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{onClick:function(){s(!i)},className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-icon-span",style:{fill:""+(l&&l.color||"")}},l&&wp.element.createElement(a.SvgIcon,{icon:l.icon,color:l.color,size:l.size})),wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),wp.element.createElement("span",{className:"yoast-chevron","aria-hidden":"true"}))),i&&e.children)};t.default=s,s.propTypes={title:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,prefixIcon:i.default.object,subTitle:i.default.string},s.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){return(0,o.createHigherOrderComponent)(function(e){return(0,o.pure)(function(t){var n=(0,a.useContext)(i.LocationContext);return(0,a.createElement)(e,r({},t,{location:n}))})},"withLocation")};var o=n(10),a=n(4),i=n(14)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dismissAlert=i;var r=regeneratorRuntime.mark(i),o=t.DISMISS_ALERT="DISMISS_ALERT",a=t.DISMISS_ALERT_SUCCESS="DISMISS_ALERT_SUCCESS";function i(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:o,alertKey:e};case 2:return t.abrupt("return",{type:a,alertKey:e});case 3:case"end":return t.stop()}},r,this)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),o=n(6),a=function(e){return e&&e.__esModule?e:{default:e}}(n(8));var i=(0,o.makeOutboundLink)(a.default.a.withConfig({displayName:"HelpLink",componentId:"qyhmof-0"})(["display:inline-block;position:relative;outline:none;text-decoration:none;border-radius:100%;width:24px;height:24px;margin:-4px 0;vertical-align:middle;color:",";&:hover,&:focus{color:",";}&:active{color:",';}&::before{position:absolute;top:0;left:0;padding:2px;content:"\f223";}'],r.colors.$color_help_text,r.colors.$color_snippet_focus,r.colors.$color_help_text));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(5);var a=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(8)).default)(o.Collapsible).withConfig({displayName:"MetaboxCollapsible__StyledMetaboxCollapsible",componentId:"k2tood-0"})(['h2 > button{padding-left:24px;padding-top:16px;&:hover{background-color:#f0f0f0;}}div[class^="collapsible_content"]{padding:24px 0;margin:0 24px;border-top:1px solid rgba(0,0,0,0.2);}']);t.default=function(e){return wp.element.createElement(a,r({hasPadding:!0,hasSeparator:!0},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCornerstoneContent=t.setCornerstoneContent=t.loadCornerstoneContent=t.SET_CORNERSTONE_CONTENT=t.TOGGLE_CORNERSTONE_CONTENT=t.LOAD_CORNERSTONE_CONTENT=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.LOAD_CORNERSTONE_CONTENT="WPSEO_LOAD_CORNERSTONE_CONTENT";var o=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",a=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:a,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:a,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:o}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFocusKeyword=t.loadFocusKeyword=t.SET_FOCUS_KEYWORD=t.LOAD_FOCUS_KEYWORD=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var o=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",a=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:o,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:a,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",o=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:o,src:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultModalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(12);var i=t.defaultModalClassName="yoast yoast-gutenberg-modal",s=function(e){var t=e.title,n=e.className,o=e.showYoastIcon,i=e.additionalClassName,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["title","className","showYoastIcon","additionalClassName"]),l=o?wp.element.createElement("span",{className:"yoast-icon"}):null;return wp.element.createElement(a.Modal,r({title:t,className:n+" "+i,icon:l},s),e.children)};s.propTypes={title:o.default.string,className:o.default.string,showYoastIcon:o.default.bool,children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)]),additionalClassName:o.default.string},s.defaultProps={title:"Yoast SEO",className:i,showYoastIcon:!0,children:null,additionalClassName:""},t.default=s},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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstToUpperCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.stripHTML=function(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveMarker=function(e){return{type:r,activeMarker:e}};var r=t.SET_ACTIVE_MARKER="WPSEO_SET_ACTIVE_MARKER"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAdvancedSettingsData=t.setCanonical=t.setBreadcrumbsTitle=t.setAdvanced=t.setNoFollow=t.setNoIndex=t.LOAD_ADVANCED_SETTINGS=t.SET_CANONICAL_URL=t.SET_BREADCRUMBS_TITLE=t.SET_ADVANCED=t.SET_NO_FOLLOW=t.SET_NO_INDEX=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(69));var o=t.SET_NO_INDEX="SET_NO_INDEX",a=t.SET_NO_FOLLOW="SET_NO_FOLLOW",i=t.SET_ADVANCED="SET_ADVANCED",s=t.SET_BREADCRUMBS_TITLE="SET_BREADCRUMBS_TITLE",l=t.SET_CANONICAL_URL="SET_CANONICAL_URL",u=t.LOAD_ADVANCED_SETTINGS="LOAD_ADVANCED_SETTINGS";t.setNoIndex=function(e){return r.default.noIndex=e,{type:o,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:a,value:e}},t.setAdvanced=function(e){return r.default.advanced=e.join(","),{type:i,value:e}},t.setBreadcrumbsTitle=function(e){return r.default.breadcrumbsTitle=e,{type:s,value:e}},t.setCanonical=function(e){return r.default.canonical=e,{type:l,value:e}},t.loadAdvancedSettingsData=function(){return{type:u,settings:{noIndex:r.default.noIndex,noFollow:r.default.noFollow,advanced:r.default.advanced.split(","),breadcrumbsTitle:r.default.breadcrumbsTitle,canonical:r.default.canonical,isLoading:!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ESTIMATED_READING_TIME=t.SET_ESTIMATED_READING_TIME=void 0,t.setEstimatedReadingTime=function(e){return r.default.estimatedReadingTime=e,{type:o,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:a,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(73));var o=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",a=t.LOAD_ESTIMATED_READING_TIME="LOAD_ESTIMATED_READING_TIME"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMarkerPauseStatus=function(e){return{type:r,isMarkerPaused:e}};var r=t.SET_MARKER_PAUSE_STATUS="WPSEO_SET_MARKER_PAUSE_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_PRIMARY_TAXONOMY="WPSEO_SET_PRIMARY_TAXONOMY";t.setPrimaryTaxonomyId=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaArticleData=t.getSchemaPageData=t.setArticleType=t.setPageType=t.GET_SCHEMA_ARTICLE_DATA=t.GET_SCHEMA_PAGE_DATA=t.SET_ARTICLE_TYPE=t.SET_PAGE_TYPE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(50));var o=t.SET_PAGE_TYPE="SET_PAGE_TYPE",a=t.SET_ARTICLE_TYPE="SET_ARTICLE_TYPE",i=t.GET_SCHEMA_PAGE_DATA="GET_SCHEMA_PAGE_DATA",s=t.GET_SCHEMA_ARTICLE_DATA="GET_SCHEMA_ARTICLE_DATA";t.setPageType=function(e){return r.default.pageType=e,{type:o,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:a,articleType:e}},t.getSchemaPageData=function(){return{type:i,pageType:r.default.pageType,defaultPageType:r.default.defaultPageType}},t.getSchemaArticleData=function(){return{type:s,articleType:r.default.articleType,defaultArticleType:r.default.defaultArticleType}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBlockValidation=function(e){return{type:r,validation:e}},t.resetBlockValidation=function(){return{type:o}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",o=t.RESET_BLOCK_VALIDATIONS="WPSEO_CLEAR_BLOCK_VALIDATIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushNewRequest=function(e,t){return{type:s,countryCode:e,keyphrase:t}},t.setSEMrushRequestSucceeded=function(e){return{type:o,response:e}},t.setSEMrushRequestFailed=function(e){return{type:a,response:e}},t.setSEMrushSetRequestLimitReached=function(){return{type:i}},t.setSEMrushChangeCountry=function(e){return{type:r,countryCode:e}},t.setSEMrushNoResultsFound=function(){return{type:l}},t.setSEMrushLoginStatus=function(e){return{type:u,loginStatus:e}};var r=t.CHANGE_COUNTRY="CHANGE_COUNTRY",o=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",a=t.SET_REQUEST_FAILED="SET_REQUEST_FAILED",i=t.SET_REQUEST_LIMIT_REACHED="SET_LIMIT_REACHED",s=t.NEW_REQUEST="NEW_REQUEST",l=t.NO_DATA_FOUND="NO_DATA_FOUND",u=t.SET_LOGIN_STATUS="SET_LOGIN_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTwitterPreviewData=t.clearTwitterPreviewImage=t.setTwitterPreviewImage=t.setTwitterPreviewDescription=t.setTwitterPreviewTitle=t.LOAD_TWITTER_PREVIEW=t.CLEAR_TWITTER_IMAGE=t.SET_TWITTER_IMAGE=t.SET_TWITTER_DESCRIPTION=t.SET_TWITTER_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(75));var o=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",a=t.SET_TWITTER_DESCRIPTION="SET_TWITTER_DESCRIPTION",i=t.SET_TWITTER_IMAGE="SET_TWITTER_IMAGE",s=t.CLEAR_TWITTER_IMAGE="CLEAR_TWITTER_IMAGE",l=t.LOAD_TWITTER_PREVIEW="LOAD_TWITTER_PREVIEW";t.setTwitterPreviewTitle=function(e){return r.default.title=e,{type:o,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:a,description:e}},t.setTwitterPreviewImage=function(e){return r.default.imageId=e.id,r.default.imageUrl=e.url,{type:i,image:e}},t.clearTwitterPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadTwitterPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFacebookPreviewData=t.clearFacebookPreviewImage=t.setFacebookPreviewImage=t.setFacebookPreviewDescription=t.setFacebookPreviewTitle=t.LOAD_FACEBOOK_PREVIEW=t.CLEAR_FACEBOOK_IMAGE=t.SET_FACEBOOK_IMAGE=t.SET_FACEBOOK_DESCRIPTION=t.SET_FACEBOOK_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(76));var o=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",a=t.SET_FACEBOOK_DESCRIPTION="SET_FACEBOOK_DESCRIPTION",i=t.SET_FACEBOOK_IMAGE="SET_FACEBOOK_IMAGE",s=t.CLEAR_FACEBOOK_IMAGE="CLEAR_FACEBOOK_IMAGE",l=t.LOAD_FACEBOOK_PREVIEW="LOAD_FACEBOOK_PREVIEW";t.setFacebookPreviewTitle=function(e){return r.default.title=e,{type:o,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:a,description:e}},t.setFacebookPreviewImage=function(e){return r.default.imageUrl=e.url,r.default.imageId=e.id,{type:i,image:e}},t.clearFacebookPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadFacebookPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWarningMessage=function(e){return{type:r,message:e}};var r=t.SET_WARNING_MESSAGE="SET_WARNING_MESSAGE"},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},,,function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(115));t.default=(0,o.compose)([(0,r.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(a.default)},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAnalysisData=function(e){return{type:r,data:e}},t.runAnalysis=function(){return{type:o,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",o=t.RUN_ANALYSIS="RUN_ANALYSIS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEditorDataContent=function(e){return{type:r,content:e}},t.setEditorDataTitle=function(e){return{type:o,title:e}},t.setEditorDataExcerpt=function(e){return{type:a,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:i,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",o=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",a=t.SET_EDITOR_DATA_EXCERPT="SET_EDITOR_DATA_EXCERPT",i=t.SET_EDITOR_DATA_IMAGE_URL="SET_EDITOR_DATA_IMAGE_URL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openEditorModal=function(e){return{type:r,modalKey:e}},t.closeEditorModal=function(){return{type:o}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",o=t.CLOSE_EDITOR_MODAL="CLOSE_MODAL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:o,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:a}};var r=t.MODAL_DISMISS="MODAL_DISMISS",o=t.MODAL_OPEN="MODAL_OPEN",a=t.MODAL_OPEN_NO_KEYPHRASE="MODAL_OPEN_NO_KEYPHRASE"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCloseEvent=void 0;var r=n(3),o=n(4),a=u(n(39)),i=u(n(1)),s=u(n(114)),l=n(14);function u(e){return e&&e.__esModule?e:{default:e}}var c=t.isCloseEvent=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},d=function(e){var t=e.id,n=e.postTypeName,i=e.children,u=e.title,d=e.isOpen,p=e.close,f=e.open,m=(0,o.useCallback)(function(e){c(e)&&p()},[p]);return wp.element.createElement(o.Fragment,null,d&&wp.element.createElement(l.LocationProvider,{value:"modal"},wp.element.createElement(a.default,{title:u,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},wp.element.createElement("div",{className:"yoast-content-container"},wp.element.createElement("div",{className:"yoast-modal-content"},i)),wp.element.createElement("div",{className:"yoast-notice-container"},wp.element.createElement("hr",null),wp.element.createElement("div",{className:"yoast-button-container"},wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),wp.element.createElement("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},(0,r.sprintf)((0,r.__)("Return to your %s","wordpress-seo"),n)))))),wp.element.createElement(s.default,{id:t+"-open-button",title:u,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};d.propTypes={id:i.default.string.isRequired,postTypeName:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,title:i.default.string.isRequired,isOpen:i.default.bool.isRequired,open:i.default.func.isRequired,close:i.default.func.isRequired},t.default=d},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(2),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,a=n(40),i=n(80),s=n(81),l=".",u=":",c="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function f(e,t,n,r){var a,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===o)return n(r,e,""===t?l+p(e,0):t),1;var m=0,y=""===t?l:t+u;if(Array.isArray(e))for(var h=0;h<e.length;h++)m+=f(a=e[h],y+p(a,h),n,r);else{var _=function(e){var t=e&&(c&&e[c]||e[d]);if("function"==typeof t)return t}(e);if(_){0;for(var g,v=_.call(e),w=0;!(g=v.next()).done;)m+=f(a=g.value,y+p(a,w++),n,r)}else if("object"===s){0;var b=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return m}var m=/\/+/g;function y(e){return(""+e).replace(m,"$&/")}var h=_,_=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var o=e.result,i=e.keyPrefix,s=e.func,l=e.context,u=s.call(l,t,e.count++);Array.isArray(u)?b(u,o,n,a.thatReturnsArgument):null!=u&&(r.isValidElement(u)&&(u=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(u,i+(!u.key||t&&t.key===u.key?"":y(u.key)+"/")+n)),o.push(u))}function b(e,t,n,r,o){var a="";null!=n&&(a=y(n)+"/");var i=v.getPooled(t,a,r,o);!function(e,t,n){null==e||f(e,"",t,n)}(e,w,i),v.release(i)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||h,n.poolSize||(n.poolSize=10),n.release=g}(v,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)});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)b(e[n],t,n,a.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,a,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,a,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(40);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(77));t.default=(0,r.compose)([(0,o.withSelect)(function(e,t){var n=e("yoast-seo/editor"),r=n.getPostOrPageString,o=n.getIsModalOpen;return{postTypeName:r(),isOpen:o(t.id)}}),(0,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.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openMedia=function(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()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkFieldsShape=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.linkFieldsShape=i.default.shape({value:i.default.string.isRequired,onChange:i.default.func.isRequired});t.default=function(e){return function(t){return function(n){function s(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));n.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(n,t)})}),n.state=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),o(s,[{key:"onChange",value:function(e,t){var n=this;this.setState(r({},this.state,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,r({},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,o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return wp.element.createElement(t,r({},o,this.state),n)}}],[{key:"propTypes",get:function(){return{children:i.default.node}}}]),s}()}}},,,,,,,,,,function(e,t){e.exports=window.wp.richText},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalIcon=t.ModalContainer=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),o=n(5),a=n(6);t.ModalContainer=r.default.div.withConfig({displayName:"Container__ModalContainer",componentId:"sc-1onoh63-0"})(["min-width:600px;@media screen and ( max-width:680px ){min-width:0;width:86vw;}"]),t.ModalIcon=(0,r.default)(o.Icon).withConfig({displayName:"Container__ModalIcon",componentId:"sc-1onoh63-1"})(["float:",";margin:",";&&{width:150px;height:150px;@media screen and ( max-width:680px ){width:80px;height:80px;}}"],(0,a.getDirectionalStyle)("right","left"),(0,a.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),o=s(n(1)),a=n(28),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.target,n=e.scoreIndicator;return wp.element.createElement(i.default,{target:t},wp.element.createElement(r.SvgIcon,(0,a.getIconForScore)(n)))};l.propTypes={target:o.default.string.isRequired,scoreIndicator:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=u(n(20)),i=u(n(1)),s=u(n(8)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.ul.withConfig({displayName:"UpsellBox__StyledList",componentId:"gjf66g-0"})(['list-style:none;margin:0 0 16px;padding:0;li{margin:5px 0 0 0;padding-left:16px;}span[aria-hidden="true"]:before{margin:0 8px 0 -16px;font-weight:bold;content:"+";}']),d=s.default.small.withConfig({displayName:"UpsellBox__ButtonLabel",componentId:"gjf66g-1"})(["display:block;"]),p=(0,l.makeOutboundLink)(),f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"createBenefitsList",value:function(e){return e.length>0&&wp.element.createElement(c,{role:"list"},e.map(function(e,t){return wp.element.createElement("li",{key:t},wp.element.createElement("span",{"aria-hidden":"true"}),(0,a.default)({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:wp.element.createElement("strong",null)}}))}))}},{key:"createInfoParagraphs",value:function(e){return e.map(function(e,t){return wp.element.createElement("p",{key:t},e)})}},{key:"render",value:function(){return wp.element.createElement("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),wp.element.createElement(p,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(d,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();f.propTypes={benefits:i.default.array,infoParagraphs:i.default.array,upsellButton:i.default.object,upsellButtonText:i.default.string.isRequired,upsellButtonLabel:i.default.string,upsellButtonHasCaret:i.default.bool},f.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=function(e){var t=e.children;return wp.element.createElement("div",null,t)};o.propTypes={renderPriority:r.default.number.isRequired,children:r.default.node.isRequired},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=u(n(1)),i=u(n(175)),s=n(176),l=n(60);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeField:"",hoveredField:""},n.setHoveredField=n.setHoveredField.bind(n),n.setActiveField=n.setActiveField.bind(n),n.setEditorRef=n.setEditorRef.bind(n),n.setEditorFocus=n.setEditorFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{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,l=e.socialMediumName,u=e.imageWarnings,c=e.description,d=e.descriptionInputPlaceholder,p=e.imageUrl,f=e.title,m=e.titleInputPlaceholder,y=e.replacementVariables,h=e.recommendedReplacementVariables,_=e.isPremium,g=e.location;return wp.element.createElement(o.Fragment,null,wp.element.createElement(i.default,{socialMediumName:l}),wp.element.createElement(s.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:l,title:f,titleInputPlaceholder:m,onRemoveImageClick:a,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:u,replacementVariables:y,recommendedReplacementVariables:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),t}();c.propTypes={title:a.default.string.isRequired,onTitleChange:a.default.func.isRequired,description:a.default.string.isRequired,onDescriptionChange:a.default.func.isRequired,imageUrl:a.default.string.isRequired,onSelectImageClick:a.default.func.isRequired,onRemoveImageClick:a.default.func.isRequired,socialMediumName:a.default.string.isRequired,isPremium:a.default.bool,imageWarnings:a.default.array,descriptionInputPlaceholder:a.default.string,titleInputPlaceholder:a.default.string,replacementVariables:l.replacementVariablesShape,recommendedReplacementVariables:l.recommendedReplacementVariablesShape,location:a.default.string},c.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(17),a=n(8),i=n(14);var s=function(e){var t=e.store,n=e.theme,r=e.location,s=e.children;return wp.element.createElement(i.LocationProvider,{value:r},wp.element.createElement(a.ThemeProvider,{theme:n},wp.element.createElement(o.Provider,{store:t},s)))};s.propTypes={store:r.default.object.isRequired,theme:r.default.object.isRequired,location:r.default.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.default.element.isRequired},t.default=s},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){return wp.element.createElement("div",{className:"yoast components-panel__body"},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&wp.element.createElement(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.default=a,a.propTypes={onClick:o.default.func.isRequired,title:o.default.string.isRequired,id:o.default.string,subTitle:o.default.string,suffixIcon:o.default.object},a.defaultProps={id:"",suffixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(1)),a=n(78),i=n(4),s=n(11),l=u(n(28));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props.results;return n.state={mappedResults:{}},null!==r&&(n.state={mappedResults:(0,l.default)(r,n.props.keywordKey)}),n.handleMarkButtonClick=n.handleMarkButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:(0,l.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?this.props.keywordKey+":"+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 s.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,o=e.considerationsResults,s=e.problemsResults;return wp.element.createElement(i.Fragment,null,wp.element.createElement(a.ContentAnalysis,{errorsResults:t,problemsResults:s,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}))}}]),t}();c.propTypes={results:o.default.array,marksButtonClassName:o.default.string,marksButtonStatus:o.default.string,setActiveMarker:o.default.func.isRequired,setMarkerPauseStatus:o.default.func.isRequired,activeMarker:o.default.string,keywordKey:o.default.string},c.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(1)),o=s(n(8)),a=n(5),i=n(6);function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,o.default)(a.StyledSection).withConfig({displayName:"SnippetPreviewSection__Section",componentId:"gjy5w5-0"})(["&","{padding:0;& ","{",":20px;margin-left:",";}}"],a.StyledSectionBase,a.StyledHeading,(0,i.getDirectionalStyle)("padding-left","padding-right"),(0,i.getDirectionalStyle)("0","20px")),u=function(e){var t=e.children,n=e.title,r=e.icon,o=e.hasPaperStyle;return wp.element.createElement(l,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:o},t)};u.propTypes={children:r.default.element,title:r.default.string,icon:r.default.string,hasPaperStyle:r.default.bool},u.defaultProps={hasPaperStyle:!0},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaTypeOptionsPropType=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=n(3),i=n(5),s=c(n(1)),l=n(85),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.initialPageType=e.pageType.value,n.initialArticleType=e.articleType?e.articleType.value:"None",n.state={schema_page_type:n.initialPageType,schema_article_type:n.initialArticleType},n.handleOptionFocus=n.handleOptionFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{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(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))}},{key:"render",value:function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(i.FieldGroup,{label:(0,a.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:(0,a.__)("Learn more about the schema settings","wordpress-seo"),description:(0,a.sprintf)((0,a.__)("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()&&wp.element.createElement(i.Alert,{type:"warning"},(0,a.sprintf)((0,a._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)),wp.element.createElement(i.Select,{id:"schema-page-type-"+this.props.postType,name:"schema_page_type",options:this.props.pageTypeOptions,label:(0,a.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&wp.element.createElement(i.Select,{id:"schema-article-type-"+this.props.postType,name:"schema_article_type",options:this.props.articleTypeOptions,label:(0,a.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),t}(),p=t.schemaTypeOptionsPropType=s.default.arrayOf(s.default.shape({name:s.default.string,value:s.default.string}));d.propTypes={postType:s.default.string.isRequired,postTypeName:s.default.string.isRequired,pageType:l.linkFieldsShape.isRequired,articleType:l.linkFieldsShape,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},d.defaultProps={articleType:null},t.default=(0,u.default)(function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]})(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(119));t.default=(0,o.compose)([(0,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,l=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:o(),response:a(),isSuccess:i(),isPending:s(),requestHasData:l(),lastRequestKeyphrase:u()}}),(0,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()}}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasError=h,t.getUserMessage=_,t.hasMaximumRelatedKeyphrases=g,t.default=v;var r=n(4),o=n(3),a=y(n(1)),i=n(0),s=y(n(120)),l=y(n(121)),u=y(n(122)),c=y(n(123)),d=y(n(126)),p=y(n(127)),f=y(n(128)),m=y(n(9));function y(e){return e&&e.__esModule?e:{default:e}}function h(e){return!(0,i.isEmpty)(e)&&"error"in e}function _(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,a=e.response,i=e.requestHasData;return t?wp.element.createElement(s.default,null):n?wp.element.createElement(l.default,null):!r&&h(a)?wp.element.createElement(p.default,null):i?void 0:wp.element.createElement("p",null,(0,o.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}function g(e){return e&&e.length>=4}function v(e){var t=e.response,n=e.lastRequestKeyphrase,o=e.keyphrase,a=e.newRequest,i=e.setCountry,s=e.renderAction,l=e.countryCode,p=e.requestLimitReached,y=e.setRequestFailed,h=e.setNoResultsFound,v=e.relatedKeyphrases,w=e.setRequestSucceeded,b=e.setRequestLimitReached,E=(0,m.default)().isPremium;return wp.element.createElement(r.Fragment,null,!p&&wp.element.createElement(r.Fragment,null,!E&&wp.element.createElement(d.default,null),E&&g(v)&&wp.element.createElement(f.default,null),wp.element.createElement(u.default,{countryCode:l,setCountry:i,newRequest:a,keyphrase:o,setRequestFailed:y,setNoResultsFound:h,setRequestSucceeded:w,setRequestLimitReached:b,response:t,lastRequestKeyphrase:n})),_(e),wp.element.createElement(c.default,{keyphrase:o,relatedKeyphrases:v,countryCode:l,renderAction:s,data:t}))}v.propTypes={keyphrase:a.default.string,relatedKeyphrases:a.default.array,renderAction:a.default.func,requestLimitReached:a.default.bool,countryCode:a.default.string.isRequired,setCountry:a.default.func.isRequired,newRequest:a.default.func.isRequired,setRequestSucceeded:a.default.func.isRequired,setRequestLimitReached:a.default.func.isRequired,setRequestFailed:a.default.func.isRequired,setNoResultsFound:a.default.func.isRequired,response:a.default.object,lastRequestKeyphrase:a.default.string},v.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5);t.default=function(){return wp.element.createElement("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,r.sprintf)((0,r.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","SEMrush")," ",wp.element.createElement(o.SvgIcon,{icon:"loading-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(4),a=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"SEMrush")),wp.element.createElement(a,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,r.sprintf)((0,r.__)("Upgrade your %s plan","wordpress-seo"),"SEMrush"),wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEMrushCountrySelector=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=c(n(1)),a=n(4),i=c(n(56)),s=n(57),l=n(3),u=n(5);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(o,a){try{var i=t[o](a),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var p="yoast-semrush-country-selector",f=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.relatedKeyphrasesRequest=n.relatedKeyphrasesRequest.bind(n),n.onChangeHandler=n.onChangeHandler.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){(0,i.default)({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t,n,r,o;return regeneratorRuntime.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)}));return function(){return e.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:function(){var e=d(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.default)({path:(0,s.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,this)}));return function(t,n){return e.apply(this,arguments)}}()},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return wp.element.createElement("div",{id:p},wp.element.createElement(u.SingleSelect,{id:p+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:f,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),wp.element.createElement(u.NewButton,{id:p+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}]),t}();m.propTypes={keyphrase:o.default.string,countryCode:o.default.string,response:o.default.object,lastRequestKeyphrase:o.default.string,setCountry:o.default.func.isRequired,newRequest:o.default.func.isRequired,setNoResultsFound:o.default.func.isRequired,setRequestSucceeded:o.default.func.isRequired,setRequestLimitReached:o.default.func.isRequired,setRequestFailed:o.default.func.isRequired},m.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};t.SEMrushCountrySelector=function(e){return wp.element.createElement(u.ErrorBoundary,null,wp.element.createElement(m,e))},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=d(n(1)),a=n(4),i=n(3),s=n(0),l=n(6),u=d(n(124)),c=d(n(34));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,l.makeOutboundLink)(),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.transformTrendDataToChartPoints=n.transformTrendDataToChartPoints.bind(n),n.getAreaChartDataTableHeaderLabels=n.getAreaChartDataTableHeaderLabels.bind(n),n.mapAreaChartDataToTableData=n.mapAreaChartDataToTableData.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map(function(e,t){return{x:t,y:parseFloat(e)}})}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[(0,i.__)("Twelve months ago","wordpress-seo"),(0,i.__)("Eleven months ago","wordpress-seo"),(0,i.__)("Ten months ago","wordpress-seo"),(0,i.__)("Nine months ago","wordpress-seo"),(0,i.__)("Eight months ago","wordpress-seo"),(0,i.__)("Seven months ago","wordpress-seo"),(0,i.__)("Six months ago","wordpress-seo"),(0,i.__)("Five months ago","wordpress-seo"),(0,i.__)("Four months ago","wordpress-seo"),(0,i.__)("Three months ago","wordpress-seo"),(0,i.__)("Two months ago","wordpress-seo"),(0,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,l=t.data,d=t.renderAction,f="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(o);return l&&!(0,s.isEmpty)(l.results)&&wp.element.createElement(a.Fragment,null,wp.element.createElement("table",{className:"yoast yoast-table"},wp.element.createElement("thead",null,wp.element.createElement("tr",null,wp.element.createElement("th",{scope:"col",className:"yoast-table--primary"},(0,i.__)("Related keyphrase","wordpress-seo")),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Volume","wordpress-seo")},(0,i.__)("Volume","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Trend","wordpress-seo")},(0,i.__)("Trend","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"}))),wp.element.createElement("tbody",null,l.results.rows.map(function(t,n){var o=t[0],a=e.transformTrendDataToChartPoints(t[2]),s=e.getAreaChartDataTableHeaderLabels();return wp.element.createElement("tr",{key:n},wp.element.createElement("td",null,o),wp.element.createElement("td",null,t[1]),wp.element.createElement("td",{className:"yoast-table--nopadding"},wp.element.createElement(u.default,{width:66,height:24,data:a,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:(0,i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"},d(o,r)))}))),wp.element.createElement("p",{style:{marginBottom:0}},wp.element.createElement(p,{href:f},(0,i.sprintf)((0,i.__)("Get more insights at %s","wordpress-seo"),"SEMrush"))))}}]),t}();f.propTypes={data:o.default.object,keyphrase:o.default.string,relatedKeyphrases:o.default.array,countryCode:o.default.string,renderAction:o.default.func},f.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(1)),o=n(4),a=i(n(125));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var l=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,l=e.strokeColor,u=e.strokeWidth,c=e.className,d=e.mapChartDataToTableData,p=e.dataTableCaption,f=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,y=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.x})))),h=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.y})))),_=r-u,g=t.map(function(e){return e.x/y*n+","+(_-e.y/h*_+u)}).join(" "),v="0,"+(_+u)+" "+g+" "+n+","+(_+u);return wp.element.createElement(o.Fragment,null,wp.element.createElement("svg",{width:n,height:r,viewBox:"0 0 "+n+" "+r,className:c,role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement("polygon",{fill:i,points:v}),wp.element.createElement("polyline",{fill:"none",stroke:l,strokeWidth:u,strokeLinejoin:"round",strokeLinecap:"round",points:g})),d&&wp.element.createElement(a.default,{data:t,mapChartDataToTableData:d,dataTableCaption:p,dataTableHeaderLabels:f,isDataTableVisuallyHidden:m}))};l.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,width:r.default.number.isRequired,height:r.default.number.isRequired,fillColor:r.default.string,strokeColor:r.default.string,strokeWidth:r.default.number,className:r.default.string,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(3);var a=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,a=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==a.length?wp.element.createElement("p",null,(0,o.__)("The number of headers and header labels don't match.","wordpress-seo")):wp.element.createElement("div",{className:i?"screen-reader-text":null},wp.element.createElement("table",null,wp.element.createElement("caption",null,r),wp.element.createElement("thead",null,wp.element.createElement("tr",null,a.map(function(e,t){return wp.element.createElement("th",{key:t},e)}))),wp.element.createElement("tbody",null,wp.element.createElement("tr",null,t.map(function(e,t){return wp.element.createElement("td",{key:t},n(e.y))})))))};a.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},a.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5),a=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(o.Alert,{type:"info"},(0,r.sprintf)((0,r.__)("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")+" ",wp.element.createElement(a,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,r.sprintf)((0,r.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5);t.default=function(){return wp.element.createElement(o.Alert,{type:"error"},(0,r.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=n(5);t.default=function(){return wp.element.createElement(o.Alert,{type:"warning"},(0,r.sprintf)((0,r.__)("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"))}},,,,,,,,,,,,,,,function(e,t){e.exports=window.wp.blocks},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=s(n(162)),i=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.compose)([(0,o.withSelect)(function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),(0,o.withDispatch)(function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}}),(0,i.default)()])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordInput=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=n(12),i=n(3),s=y(n(1)),l=n(17),u=n(15),c=y(n(8)),d=n(16),p=y(n(34)),f=n(14),m=y(n(164));function y(e){return e&&e.__esModule?e:{default:e}}var h=c.default.div.withConfig({displayName:"KeywordInput__KeywordInputContainer",componentId:"sc-16tnggn-0"})(["padding:16px;border-bottom:1px solid transparent;"]),_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validate=n.validate.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,i.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,i.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,i.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,n=this.validate();return wp.element.createElement(f.LocationConsumer,null,function(r){return wp.element.createElement("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},wp.element.createElement(h,{location:r},wp.element.createElement(u.KeywordInput,{id:"focus-keyword-input-"+r,onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:(0,i.__)("Focus keyphrase","wordpress-seo"),helpLink:t.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:n.length>0,errorMessages:n}),e.props.isSEMrushIntegrationActive&&wp.element.createElement(m.default,{location:r,keyphrase:e.props.keyword})),wp.element.createElement(a.Slot,{name:"YoastAfterKeywordInput"+(r.charAt(0).toUpperCase()+r.slice(1))}))})}}],[{key:"renderHelpLink",value:function(){return wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),t}();_.propTypes={keyword:s.default.string,onFocusKeywordChange:s.default.func.isRequired,onFocusKeyword:s.default.func.isRequired,onBlurKeyword:s.default.func.isRequired,isSEMrushIntegrationActive:s.default.bool,displayNoKeyphraseMessage:s.default.bool},_.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.KeywordInput=_,t.default=(0,l.connect)(function(e){return{keyword:e.focusKeyword,displayNoKeyphraseMessage:e.SEMrushModal.displayNoKeyphraseMessage}},function(e){return{onFocusKeywordChange:function(t){e((0,d.setFocusKeyword)(t))},onFocusKeyword:function(){e((0,d.setMarkerPauseStatus)(!0))},onBlurKeyword:function(){e((0,d.setMarkerPauseStatus)(!1))}}})(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),i=n(7),s=v(n(1)),l=v(n(8)),u=n(3),c=n(0),d=v(n(97)),p=v(n(62)),f=v(n(31)),m=v(n(27)),y=n(28),h=n(14),_=v(n(34)),g=v(n(167));function v(e){return e&&e.__esModule?e:{default:e}}var w=l.default.span.withConfig({displayName:"ReadabilityAnalysis__AnalysisHeader",componentId:"z9f9eh-0"})(["font-size:1em;font-weight:bold;margin:0 0 8px;display:block;"]),b=l.default.div.withConfig({displayName:"ReadabilityAnalysis__ReadabilityResultsTabContainer",componentId:"z9f9eh-1"})(["padding:16px;"]),E=(0,l.default)(_.default).withConfig({displayName:"ReadabilityAnalysis__StyledHelpLink",componentId:"z9f9eh-2"})(["margin:-8px 0 -4px 4px;"]),T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),o(t,[{key:"renderResults",value:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(w,null,(0,u.__)("Analysis results","wordpress-seo"),wp.element.createElement(E,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,u.__)("Learn more about the readability analysis","wordpress-seo")))),wp.element.createElement(p.default,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=(0,m.default)(this.props.overallScore);return(0,c.isNil)(this.props.overallScore)&&(t.className="loading"),wp.element.createElement(h.LocationConsumer,null,function(n){return"sidebar"===n?wp.element.createElement(f.default,{title:(0,u.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,y.getIconForScore)(t.className),prefixIconCollapsed:(0,y.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-"+n},e.renderResults()):"metabox"===n?wp.element.createElement(g.default,{target:"wpseo-metabox-readability-root"},wp.element.createElement(b,null,wp.element.createElement(d.default,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0})}}]),t}();T.propTypes={results:s.default.array.isRequired,marksButtonStatus:s.default.string.isRequired,overallScore:s.default.number},T.defaultProps={overallScore:null},t.default=(0,i.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,o=t.getMarkButtonStatus;return r({},n(),{marksButtonStatus:o()})})(T)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=k(n(1)),i=n(17),s=k(n(8)),l=n(3),u=n(5),c=n(18),d=k(n(97)),p=k(n(31)),f=k(n(35)),m=k(n(62)),y=k(n(27)),h=n(28),_=k(n(168)),g=k(n(169)),v=k(n(170)),w=n(14),b=k(n(171)),E=n(96),T=k(n(172));function k(e){return e&&e.__esModule?e:{default:e}}var O=s.default.span.withConfig({displayName:"SeoAnalysis__AnalysisHeader",componentId:"sc-18qlxmf-0"})(["font-size:1em;font-weight:bold;margin:1.5em 0 1em;display:block;"]),S=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,l.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),wp.element.createElement(_.default,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,l.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add a related keyphrase?","wordpress-seo")),wp.element.createElement(v.default,{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=f.default;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=p.default),wp.element.createElement(r,{prefixIcon:{icon:"plus",color:c.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:c.colors.$color_grey_medium_dark},title:(0,l.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},wp.element.createElement(v.default,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return wp.element.createElement(b.default,{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:wp.element.createElement(d.default,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=(0,y.default)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=(0,l.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),wp.element.createElement(w.LocationConsumer,null,function(n){var r="metabox"===n?f.default:p.default;return wp.element.createElement(o.Fragment,null,wp.element.createElement(r,{title:(0,l.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,h.getIconForScore)(t.className),prefixIconCollapsed:(0,h.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-"+n},wp.element.createElement(T.default,{location:n}),e.props.shouldUpsell&&wp.element.createElement(o.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),wp.element.createElement(O,null,(0,l.__)("Analysis results","wordpress-seo")),wp.element.createElement(m.default,{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))})}}]),t}();S.propTypes={results:a.default.array,marksButtonStatus:a.default.string,keyword:a.default.string,shouldUpsell:a.default.bool,shouldUpsellWordFormRecognition:a.default.bool,overallScore:a.default.number},S.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.default=(0,i.connect)(function(e,t){var n=t.hideMarksButtons?"disabled":e.marksButtonStatus,r=e.focusKeyword,o=[],a=null;return e.analysis.seo[r]&&(o=e.analysis.seo[r].results,a=e.analysis.seo[r].overallScore),{results:o,marksButtonStatus:n,keyword:r,overallScore:a}})(S)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(10),a=n(7),i=n(4),s=n(3),l=p(n(1)),u=p(n(178)),c=p(n(50)),d=p(n(32));function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=null!==c.default.articleTypeInput;(0,i.useEffect)(function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);var n=window.wpseoScriptData.metabox.schema,o=n.pageTypeOptions,a=n.articleTypeOptions,l={articleTypeLabel:(0,s.__)("Article type","wordpress-seo"),pageTypeLabel:(0,s.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,s.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,s.__)("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:o,articleTypeOptions:a},d=r({},e,l,function(e){return"metabox"===e?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1}}(e.location));return wp.element.createElement(u.default,d)};f.propTypes={displayFooter:l.default.bool.isRequired,schemaPageTypeSelected:l.default.string.isRequired,schemaArticleTypeSelected:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,defaultPageType:l.default.string.isRequired,loadSchemaPageData:l.default.func.isRequired,loadSchemaArticleData:l.default.func.isRequired,schemaPageTypeChange:l.default.func.isRequired,schemaArticleTypeChange:l.default.func.isRequired,location:l.default.string.isRequired},t.default=(0,o.compose)([(0,a.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()}}),(0,a.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}}),(0,d.default)()])(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(179));t.default=(0,r.compose)([(0,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,l=t.getEditorContext,u=(0,t.getPreferences)(),c=u.isBreadcrumbsDisabled,d=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:o(),breadcrumbsTitle:a(),canonical:i(),isLoading:s(),editorContext:l(),isBreadcrumbsDisabled:c,isPrivateBlog:d}}),(0,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}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e.length)return e;return(0,r.flatten)(e).sort(function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority})};var r=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.END_MARK=t.START_MARK=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.isAnnotationAvailable=function(){return(0,i.select)("core/editor")&&(0,o.isFunction)((0,i.select)("core/editor").getBlocks)&&(0,i.select)("core/annotations")&&(0,o.isFunction)((0,i.dispatch)("core/annotations").__experimentalAddAnnotation)},t.getYoastmarkOffsets=y,t.getIndicesOf=h,t.calculateAnnotationsForTextFormat=_,t.applyAsAnnotations=function(e,t){if(c=[],(0,i.dispatch)("core/annotations").__experimentalRemoveAnnotationsBySource(s),0===t.length)return;var n=(0,i.select)("core/editor").getBlocks();w((0,o.flatMap)(n,function(e){return(0,o.flatMap)(g(e.name),function(n){return v(n,e,t)})})),m()},t.reapplyAnnotationsForSelectedBlock=function(){var e=(0,i.select)("core/editor").getSelectedBlock(),t=(0,i.select)("yoast-seo/editor").getActiveMarker();if(!e||!t)return;!function(e){(0,i.select)("core/annotations").__experimentalGetAnnotations().filter(function(t){return t.blockClientId===e&&t.source===s}).forEach(function(e){(0,i.dispatch)("core/annotations").__experimentalRemoveAnnotation(e.id)})}(e.clientId);var n=(0,i.select)("yoast-seo/editor").getResultById(t);if(void 0===n)return;var r=n.marks;w((0,o.flatMap)(g(e.name),function(t){return v(t,e,r)})),m()};var o=n(0),a=n(95),i=n(7),s="yoast",l=t.START_MARK="<yoastmark class='yoast-text-mark'>",u=t.END_MARK="</yoastmark>",c=[],d={"core/quote":[{key:"value",multilineTag:"p"},{key:"citation"}],"core/paragraph":[{key:"content"}],"core/list":[{key:"values",multilineTag:"li",multilineWrapperTag:["ul","ol"]}],"core/heading":[{key:"content"}]},p={singleH1:{"core/heading":[{key:"content",filter:function(e){return 1===e.level}}]}};function f(){var e=c.shift();e&&((0,i.dispatch)("core/annotations").__experimentalAddAnnotation(e),m())}function m(){(0,o.isFunction)(window.requestIdleCallback)?window.requestIdleCallback(f,{timeout:1e3}):setTimeout(f,150)}function y(e){for(var t=e.indexOf(l),n=null,r=[];t>=0;){if((n=(e=e.replace(l,"")).indexOf(u))<t)return[];e=e.replace(u,""),r.push({startOffset:t,endOffset:n}),t=e.indexOf(l),n=null}return r}function h(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=[];if(0===e.length)return r;var o=0,a=void 0;for(n||(t=t.toLowerCase(),e=e.toLowerCase());(a=e.indexOf(t,o))>-1;)r.push(a),o=a+t.length;return r}function _(e,t){var n=t.getOriginal().replace(/(<([^>]+)>)/gi,""),r=t.getMarked().replace(/(<(?!\/?yoastmark)[^>]+>)/gi,""),o=h(e,n);if(0===o.length)return[];var a=[];return y(r).forEach(function(e){o.forEach(function(r){var o=r+e.startOffset,i=r+e.endOffset;0===e.startOffset&&e.endOffset===t.getOriginal().length&&(i=r+n.length),a.push({startOffset:o,endOffset:i})})}),a}function g(e){var t=(0,i.select)("yoast-seo/editor").getActiveMarker(),n=p[t]||d;return n.hasOwnProperty(e)?n[e]:[]}function v(e,t,n){var i=e.key,s=t.attributes,l=s[i];if(e.filter&&!e.filter(s))return[];var u=(0,a.create)({html:l,multilineTag:e.multilineTag,multilineWrapperTag:e.multilineWrapperTag}).text;return(0,o.flatMap)(n,function(e){var n=_(u,e);return n?n.map(function(e){return r({},e,{block:t.clientId,richTextIdentifier:i})}):[]})}function w(e){c=e.map(function(e){return{blockClientId:e.block,source:s,richTextIdentifier:e.richTextIdentifier,range:{start:e.startOffset,end:e.endOffset}}})}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(3),o=n(5),a=n(6),i=c(n(1)),s=c(n(163)),l=c(n(35)),u=c(n(31));function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,a.makeOutboundLink)();function p(e){var t=e.isCornerstone,n=e.onChange,i=e.learnMoreUrl,c=e.location,p="metabox"===c?l.default:u.default;return wp.element.createElement(p,{id:(0,a.join)(["yoast-cornerstone-collapsible",c]),title:(0,r.__)("Cornerstone content","wordpress-seo")},wp.element.createElement(o.HelpText,null,(0,r.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",wp.element.createElement(d,{href:i},(0,r.__)("Learn more about Cornerstone Content.","wordpress-seo"))),wp.element.createElement(s.default,{id:(0,a.join)(["yoast-cornerstone",c]),isEnabled:t,onToggle:n}))}p.propTypes={isCornerstone:i.default.bool,onChange:i.default.func,learnMoreUrl:i.default.string.isRequired,location:i.default.string},p.defaultProps={isCornerstone:!0,onChange:function(){},location:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=u(n(1)),i=u(n(8)),s=n(5),l=n(3);function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.div.withConfig({displayName:"CornerstoneToggle__Cornerstone",componentId:"sc-5dq4y-0"})(["display:flex;margin-top:8px;"]),d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"render",value:function(){return wp.element.createElement(c,null,wp.element.createElement(s.Toggle,{id:this.props.id,labelText:(0,l.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),t}();d.propTypes={id:a.default.string,isEnabled:a.default.bool,onToggle:a.default.func,onToggleDisabled:a.default.func},d.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(165));t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}}),(0,r.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)}}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),a=n(12),i=m(n(56)),s=n(3),l=m(n(1)),u=n(5),c=n(96),d=m(n(39)),p=m(n(166)),f=n(77);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(o,a){try{var i=t[o](a),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onModalOpen=n.onModalOpen.bind(n),n.onModalClose=n.onModalClose.bind(n),n.onLinkClick=n.onLinkClick.bind(n),n.listenToMessages=n.listenToMessages.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){(0,f.isCloseEvent)(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:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.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)}));return function(t){return e.apply(this,arguments)}}()},{key:"performAuthenticationRequest",value:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r,o;return regeneratorRuntime.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,(0,i.default)({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]])}));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,i=e.isLoggedIn;return wp.element.createElement(o.Fragment,null,i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-"+n,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&wp.element.createElement(d.default,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:wp.element.createElement(p.default,null),additionalClassName:"yoast-related-keyphrases-modal"},wp.element.createElement(c.ModalContainer,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},wp.element.createElement(a.Slot,{name:"YoastRelatedKeyphrases"}))),!i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-"+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},(0,s.__)("Get related keyphrases","wordpress-seo"),wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),t}();h.propTypes={keyphrase:l.default.string,location:l.default.string,whichModalOpen:l.default.oneOf(["none","metabox","sidebar"]),isLoggedIn:l.default.bool,onOpen:l.default.func.isRequired,onOpenWithNoKeyphrase:l.default.func.isRequired,onClose:l.default.func.isRequired,onAuthentication:l.default.func.isRequired},h.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1},t.default=h},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,[r.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-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 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.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 0 0-56.45-81.28z",key:0}),r.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81",key:1})])}o.defaultProps={viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=a(n(19)),o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.target,n=e.children;return wp.element.createElement(r.default,{target:t},n)}i.propTypes={target:o.default.string.isRequired,children:o.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),o=n(3),a=n(6),i=l(n(1)),s=l(n(98));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.makeOutboundLink)(),c=function(e){var t=(0,o.sprintf)((0,o.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),a=["<strong>"+(0,o.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,o.__)("No ads!","wordpress-seo")+"</strong>"],i=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,i],benefits:a,upsellButtonText:(0,o.sprintf)((0,o.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,o.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:i.default.string.isRequired,buyLink:i.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(39),a=d(o),i=n(4),s=d(n(1)),l=d(n(8)),u=n(3),c=n(5);function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default.button.withConfig({displayName:"SeoAnalysisModal__StyledButton",componentId:"sc-62v5uw-0"})(["&&{display:flex;align-items:center;}.yoast-svg-icon{margin:1px 7px 0 0;fill:currentColor;}"]),f={open:(0,u.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,u.__)("Close","wordpress-seo"),closeButton:""},m=function(e){var t=(0,i.useState)(!1),n=r(t,2),o=n[0],s=n[1],l=Object.assign({},f,e.labels),u=(0,i.useCallback)(function(){return s(!1)},[]),d=(0,i.useCallback)(function(){return s(!0)},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(p,{type:"button",onClick:d,className:e.classes.openButton+" yoast-modal__button-open"},e.openButtonIcon&&wp.element.createElement(c.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),l.open),o&&wp.element.createElement(a.default,{onRequestClose:u,className:e.className,title:l.heading},e.children))};m.propTypes={openButtonIcon:s.default.string,labels:s.default.shape({open:s.default.string,modalAriaLabel:s.default.string.isRequired,heading:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}).isRequired,classes:s.default.shape({openButton:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}),className:s.default.string,children:s.default.any.isRequired},m.defaultProps={className:o.defaultModalClassName,openButtonIcon:"",classes:{}},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),o=n(6),a=n(3),i=l(n(98)),s=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,o.makeOutboundLink)(),c=function(e){var t=(0,a.sprintf)((0,a.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(0,a.sprintf)((0,a.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,a.__)("No ads!","wordpress-seo")+"</strong>"],o=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),s=(0,a.sprintf)((0,a.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(i.default,{infoParagraphs:[o,s],benefits:n,upsellButtonText:(0,a.sprintf)((0,a.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,a.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:s.default.string.isRequired,buyLink:s.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(1)),o=u(n(8)),a=n(3),i=n(6),s=n(18),l=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var c=o.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer",componentId:"sc-1qakqs0-0"})(["color:",";margin:0;padding-right:8px;"],s.colors.$color_upsell_text),d=o.default.div.withConfig({displayName:"AnalysisUpsell__Container",componentId:"sc-1qakqs0-1"})(["font-size:1em;display:flex;flex-direction:",";",":4px solid ",";margin:16px 0;padding:0 0 0 8px;max-width:600px;> ","{margin-bottom:",";}"],function(e){return"horizontal"===e.alignment?"row":"column"},(0,i.getDirectionalStyle)("border-left","border-right"),s.colors.$color_pink_dark,c,function(e){return"vertical"===e.alignment&&"16px"}),p=(0,o.default)(l.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret",componentId:"sc-1qakqs0-2"})(["margin:",";transform:",";"],(0,i.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),(0,i.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),f=(0,i.makeOutboundLink)(l.UpsellLinkButton),m=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(d,{alignment:t},wp.element.createElement(c,null,(0,a.sprintf)((0,a.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),wp.element.createElement("div",null,wp.element.createElement(f,{href:n,className:"UpsellLinkButton"},(0,a.sprintf)((0,a.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(p,{icon:"arrow-right",size:"8px",color:s.colors.$color_black}))))};m.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},m.defaultProps={alignment:"vertical"},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var r=n(12),o=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function a(e){var t=e.location;return wp.element.createElement(r.Slot,{name:"yoast-synonyms-"+t})}a.propTypes={location:o.default.string.isRequired}},function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(12),a=s(n(1)),i=s(n(100));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(o.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:a.default.bool.isRequired,onLoad:a.default.func.isRequired,location:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=c(n(8)),a=c(n(20)),i=c(n(1)),s=n(3),l=n(5),u=n(6);function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,o.default)(l.Alert).withConfig({displayName:"SocialUpsell__PremiumInfoText",componentId:"sc-113ceom-0"})(["p{margin:0;}"]),p=(0,u.makeOutboundLink)(),f=function(e){var t=(0,s.sprintf)((0,s.__)("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=(0,s.sprintf)((0,s.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(r.Fragment,null,wp.element.createElement(d,{type:"info"},(0,a.default)({mixedString:t,components:{strong:wp.element.createElement("b",null)}}),wp.element.createElement("br",null),wp.element.createElement(p,{href:"https://yoast.com/reasons-to-upgrade/"},wp.element.createElement("p",null,n))))};f.propTypes={socialMediumName:i.default.oneOf(["Twitter","Facebook"]).isRequired},t.default=f},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(12),a=s(n(1)),i=s(n(100));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(o.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:a.default.bool.isRequired,onLoad:a.default.func.isRequired,location:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=n(5),i=n(6),s=d(n(20)),l=d(n(1)),u=d(n(8)),c=n(117);function d(e){return e&&e.__esModule?e:{default:e}}var p=u.default.div.withConfig({displayName:"SchemaTab__SchemaContainer",componentId:"sc-166btxs-0"})(["padding:16px;"]),f=function(e,t,n){var r=e.find(function(e){return e.value===t});return[{name:(0,o.sprintf)((0,o.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))},m=function(e){return(0,s.default)({mixedString:function(e){return(0,o.sprintf)((0,o.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")}(e),components:{link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}})},y=function(e){var t=f(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=f(e.articleTypeOptions,e.defaultArticleType,e.postTypeName);return wp.element.createElement(r.Fragment,null,wp.element.createElement(a.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:(0,o.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription}),wp.element.createElement(a.FieldGroup,{label:(0,o.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:(0,o.__)("Learn more about page or content types","wordpress-seo")}),wp.element.createElement(a.Select,{id:(0,i.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,o.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&wp.element.createElement(a.Select,{id:(0,i.join)(["yoast-schema-article-type",e.location]),options:n,label:(0,o.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&wp.element.createElement("p",null,m(e.postTypeName)))};y.propTypes={schemaPageTypeChange:l.default.func,schemaPageTypeSelected:l.default.string,pageTypeOptions:c.schemaTypeOptionsPropType.isRequired,schemaArticleTypeChange:l.default.func,schemaArticleTypeSelected:l.default.string,articleTypeOptions:c.schemaTypeOptionsPropType.isRequired,showArticleTypeInput:l.default.bool.isRequired,additionalHelpTextLink:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,defaultPageType:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,location:l.default.string.isRequired},y.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var h=function(e){return e.isMetabox?(0,r.createPortal)(wp.element.createElement(p,null,wp.element.createElement(y,e)),document.getElementById("wpseo-meta-section-schema")):wp.element.createElement(y,e)};h.propTypes={showArticleTypeInput:l.default.bool,articleTypeLabel:l.default.string,additionalHelpTextLink:l.default.string,pageTypeLabel:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,isMetabox:l.default.bool.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,loadSchemaArticleData:l.default.func.isRequired,loadSchemaPageData:l.default.func.isRequired,location:l.default.string.isRequired},h.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=n(3),a=n(5),i=n(6),s=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),l=n(14);var u=function(e){var t=(0,o.__)("No","wordpress-seo"),n=(0,o.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:(0,o.sprintf)((0,o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:(0,o.sprintf)((0,o.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]},c=function(e){var t=e.noIndex,n=e.onNoIndexChange,s=e.editorContext,c=e.isPrivateBlog,d=u(s);return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(r.Fragment,null,c&&wp.element.createElement(a.Alert,{type:"warning"},(0,o.__)("Even though you can set the meta robots setting here, the entire site is set to noindex in the sitewide privacy settings, so these settings won't have an effect.","wordpress-seo")),wp.element.createElement(a.Select,{label:(0,o.sprintf)((0,o.__)("Allow search engines to show this %s in search results?","wordpress-seo"),s.postTypeNameSingular),onChange:n,id:(0,i.join)(["yoast-meta-robots-noindex",e]),options:d,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:(0,o.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))})};c.propTypes={noIndex:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,editorContext:s.default.object.isRequired,isPrivateBlog:s.default.bool},c.defaultProps={isPrivateBlog:!1};var d=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return wp.element.createElement(l.LocationConsumer,null,function(e){var s=(0,i.join)(["yoast-meta-robots-nofollow",e]);return wp.element.createElement(a.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,o.sprintf)((0,o.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:s,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:(0,o.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};d.propTypes={noFollow:s.default.string.isRequired,onNoFollowChange:s.default.func.isRequired,postTypeName:s.default.string.isRequired};var p=function(e){var t=e.advanced,n=e.onAdvancedChange;return wp.element.createElement(l.LocationConsumer,null,function(e){var r=(0,i.join)(["yoast-meta-robots-advanced",e]),s=r+"-input";return wp.element.createElement(a.MultiSelect,{label:(0,o.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:s,options:[{name:(0,o.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,o.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,o.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:(0,o.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};p.propTypes={advanced:s.default.array.isRequired,onAdvancedChange:s.default.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(a.TextInput,{label:(0,o.__)("Breadcrumbs Title","wordpress-seo"),id:(0,i.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:(0,o.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})})};f.propTypes={breadcrumbsTitle:s.default.string.isRequired,onBreadcrumbsTitleChange:s.default.func.isRequired};var m=function(e){var t=e.canonical,n=e.onCanonicalChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(a.TextInput,{label:(0,o.__)("Canonical URL","wordpress-seo"),id:(0,i.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:(0,o.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})})};m.propTypes={canonical:s.default.string.isRequired,onCanonicalChange:s.default.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,o=e.advanced,a=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,l=e.onNoFollowChange,u=e.onAdvancedChange,y=e.onBreadcrumbsTitleChange,h=e.onCanonicalChange,_=e.onLoad,g=e.isLoading,v=e.editorContext,w=e.isBreadcrumbsDisabled,b=e.isPrivateBlog;(0,r.useEffect)(function(){setTimeout(function(){g&&_()})});var E={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:b},T={noFollow:n,onNoFollowChange:l,postTypeName:v.postTypeNameSingular},k={advanced:o,onAdvancedChange:u},O={breadcrumbsTitle:a,onBreadcrumbsTitleChange:y},S={canonical:i,onCanonicalChange:h};return g?null:wp.element.createElement(r.Fragment,null,wp.element.createElement(c,E),v.isPost&&wp.element.createElement(d,T),v.isPost&&wp.element.createElement(p,k),!w&&wp.element.createElement(f,O),wp.element.createElement(m,S))};y.propTypes={noIndex:s.default.string.isRequired,canonical:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,onCanonicalChange:s.default.func.isRequired,onLoad:s.default.func.isRequired,isLoading:s.default.bool.isRequired,editorContext:s.default.object.isRequired,isBreadcrumbsDisabled:s.default.bool.isRequired,isPrivateBlog:s.default.bool,advanced:s.default.array,onAdvancedChange:s.default.func,noFollow:s.default.string,onNoFollowChange:s.default.func,breadcrumbsTitle:s.default.string,onBreadcrumbsTitleChange:s.default.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1},t.default=y},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(5);t.default=(0,r.connect)(function(e){return{message:e.warning.message}})(o.Warning)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapEditorDataToPreview=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.mapStateToProps=f,t.mapDispatchToProps=m;var o=n(17),a=n(173),i=n(3),s=n(7),l=n(14),u=n(16),c=function(e){return e&&e.__esModule?e:{default:e}}(n(116)),d=n(30);var p=t.mapEditorDataToPreview=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)),(0,d.applyReplaceUsingPlugin)(e)};function f(e){return e.snippetEditor.replacementVariables.forEach(function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),r({},e.snippetEditor,{keyword:e.focusKeyword,baseUrl:e.settings.snippetEditor.baseUrl,date:e.settings.snippetEditor.date,recommendedReplacementVariables:e.settings.snippetEditor.recommendedReplacementVariables,faviconSrc:e.settings.snippetEditor.siteIconUrl,mobileImageSrc:e.snippetEditor.data.snippetPreviewImageURL})}function m(e){return{onChange:function(t,n){var r=(0,u.updateData)(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n));if("mode"===t&&(r=(0,u.switchMode)(n)),e(r),"slug"===t){var o=(0,s.dispatch)("core/editor");o&&o.editPost({slug:n})}},onChangeAnalysisData:function(t){e((0,u.updateAnalysisData)(t))}}}t.default=(0,o.connect)(f,m)(function(e){return wp.element.createElement(l.LocationConsumer,null,function(t){return wp.element.createElement(c.default,{icon:"eye",hasPaperStyle:e.hasPaperStyle},wp.element.createElement(a.SnippetEditor,r({},e,{descriptionPlaceholder:(0,i.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:p,showCloseButton:!1,idSuffix:t})))})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=n(3),i=n(6),s=d(n(174)),l=d(n(9)),u=d(n(32)),c=n(84);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,o.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateTwitterImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,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,u=t.getFacebookDescription,c=t.getDescriptionFallback,d=t.getTitleFallback,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,y=t.getRecommendedReplaceVars,h=t.getReplaceVars,_=t.getSiteUrl,g=t.getAuthorName,v=(0,a.sprintf)((0,a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),w=(0,a.sprintf)((0,a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");return{imageUrl:o(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:y(),replacementVariables:h(),description:n(),descriptionPreviewFallback:u()||c()||w,title:r(),titlePreviewFallback:s()||d()||v,imageWarnings:p(),authorName:g(),siteUrl:_(),isPremium:!!(0,l.default)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:v,descriptionInputPlaceholder:w,socialMediumName:"Twitter"}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,o=t.clearTwitterPreviewImage,a=t.loadTwitterPreviewData;return{onSelectImageClick:f,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),o=n(7),a=n(3),i=n(6),s=d(n(177)),l=d(n(9)),u=d(n(32)),c=n(84);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,o.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateFacebookImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescriptionFallback,o=t.getFacebookTitle,i=t.getTitleFallback,s=t.getFacebookImageUrl,u=t.getImageFallback,c=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,y=(0,a.sprintf)((0,a.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),h=(0,a.sprintf)((0,a.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");return{imageUrl:s(),imageFallbackUrl:u(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:r()||h,title:o(),titlePreviewFallback:i()||y,imageWarnings:c(),authorName:m(),siteUrl:f(),isPremium:!!(0,l.default)().isPremium,titleInputPlaceholder:y,descriptionInputPlaceholder:h,socialMediumName:"Facebook"}}),(0,o.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,o=t.clearFacebookPreviewImage,a=t.loadFacebookPreviewData;return{onSelectImageClick:f,onRemoveImageClick:o,onDescriptionChange:r,onTitleChange:n,onLoad:a}}),(0,u.default)()])(s.default)},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=s(n(261)),a=s(n(262)),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.target,n=e.store,r=e.theme;return wp.element.createElement(i.default,{target:t},wp.element.createElement(o.default,{store:n,theme:r}),wp.element.createElement(a.default,{store:n,theme:r}))}l.propTypes={target:r.default.string.isRequired,store:r.default.object,theme:r.default.object}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(a.default,{store:t,theme:n,location:"metabox"},wp.element.createElement(r.Slot,{name:"YoastMetabox"},function(e){return(0,o.default)(e)}))};var r=n(12),o=i(n(150)),a=i(n(101));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(263)),o=n(17);t.default=(0,o.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=n(12),o=n(3),a=g(n(1)),i=g(n(144)),s=g(n(242)),l=g(n(241)),u=g(n(145)),c=g(n(146)),d=g(n(147)),p=g(n(35)),f=g(n(99)),m=g(n(149)),y=g(n(264)),h=g(n(148)),_=g(n(118));function g(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=e.settings;return wp.element.createElement(r.Fill,{name:"YoastMetabox"},wp.element.createElement(f.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&wp.element.createElement(r.Fill,{name:"YoastRelatedKeyphrases"},wp.element.createElement(_.default,null))),wp.element.createElement(f.default,{renderPriority:9},wp.element.createElement(p.default,{id:"yoast-snippet-editor-metabox",title:(0,o.__)("Google preview","wordpress-seo"),initialIsOpen:!0},wp.element.createElement(s.default,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&wp.element.createElement(f.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(f.default,{renderPriority:30},wp.element.createElement(i.default,null)),t.displayAdvancedTab&&wp.element.createElement(f.default,{renderPriority:40},wp.element.createElement(p.default,{id:"collapsible-advanced-settings",title:(0,o.__)("Advanced","wordpress-seo")},wp.element.createElement(m.default,null))),t.displaySchemaSettings&&wp.element.createElement(f.default,{renderPriority:50},wp.element.createElement(h.default,null)),wp.element.createElement(f.default,{renderPriority:-1},wp.element.createElement(y.default,{target:"wpseo-section-social"})))}v.propTypes={settings:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=i(n(1)),o=i(n(265)),a=i(n(19));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.target;return wp.element.createElement(a.default,{target:t},wp.element.createElement(o.default,null))}s.propTypes={target:r.default.string.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(266));t.default=(0,r.withSelect)(function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}})(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),o=u(n(35)),a=n(3),i=u(n(1)),s=u(n(244)),l=u(n(243));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.displayFacebook,n=e.displayTwitter;return wp.element.createElement(r.Fragment,null,t&&wp.element.createElement(o.default,{hasSeparator:!1,title:(0,a.sprintf)((0,a.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},wp.element.createElement(s.default,null)),n&&wp.element.createElement(o.default,{title:(0,a.sprintf)((0,a.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},wp.element.createElement(l.default,null)))};c.propTypes={displayFacebook:i.default.bool.isRequired,displayTwitter:i.default.bool.isRequired},t.default=c},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=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(4);function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var s=void 0,l=void 0,u=void 0,c=void 0,d=/<(\/)?(\w+)\s*(\/)?>/g;function p(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function f(){var e=s.length-l;0!==e&&u.push(s.substr(l,e))}function m(e){var t=e.element,n=e.tokenStart,r=e.tokenLength,o=e.prevOffset,l=e.children,u=c[c.length-1],d=s.substr(u.prevOffset,n-u.prevOffset);d&&u.children.push(d),u.children.push(a.cloneElement.apply(void 0,[t,null].concat(i(l)))),u.prevOffset=o||n+r}function y(e){var t=function(){var e=d.exec(s);if(null===e)return["no-more-tokens"];var t=e.index,n=o(e,4),r=n[0],a=n[1],i=n[2],l=n[3],u=r.length;return l?["self-closed",i,t,u]:a?["closer",i,t,u]:["opener",i,t,u]}(),n=o(t,4),r=n[0],y=n[1],h=n[2],_=n[3],g=c.length,v=h>l?l:null;if(!e[y])return f(),!1;switch(r){case"no-more-tokens":if(0!==g){var w=c.pop(),b=w.leadingTextStart,E=w.tokenStart;u.push(s.substr(b,E))}return f(),!1;case"self-closed":return 0===g?(null!==v&&u.push(s.substr(v,h-v)),u.push(e[y]),l=h+_,!0):(m(p(e[y],h,_)),l=h+_,!0);case"opener":return c.push(p(e[y],h,_,h+_,v)),l=h+_,!0;case"closer":if(1===g)return function(e){var t=c.pop(),n=t.element,r=t.leadingTextStart,o=t.prevOffset,l=t.tokenStart,d=t.children,p=e?s.substr(o,e-o):s.substr(o);p&&d.push(p),null!==r&&u.push(s.substr(r,l-r)),u.push(a.cloneElement.apply(void 0,[n,null].concat(i(d))))}(h),l=h+_,!0;var T=c.pop(),k=s.substr(T.prevOffset,h-T.prevOffset);T.children.push(k),T.prevOffset=h+_;var O=p(T.element,T.tokenStart,T.tokenLength,h+_);return O.children=T.children,m(O),l=h+_,!0;default:return f(),!1}}t.default=function(e,t){if(s=e,l=0,u=[],c=[],d.lastIndex=0,!function(e){var t="object"===(void 0===e?"undefined":r(e)),n=t&&Object.values(e);return t&&n.length&&n.every(function(e){return(0,a.isValidElement)(e)})}(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are WPElements");do{}while(y(t));return a.createElement.apply(void 0,[a.Fragment,null].concat(i(u)))}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=a(n(1));function a(e){return e&&e.__esModule?e:{default:e}}var i=a(n(8)).default.svg.withConfig({displayName:"PluginIcon__PluginIconSVG",componentId:"kdw68a-0"})(["width:","px;height:","px;&&& path{fill:",";}&&& circle.yoast-icon-readability-score{fill:",";display:",";}&&& circle.yoast-icon-seo-score{fill:",";display:",";}"],function(e){return e.size},function(e){return e.size},function(e){return e.color},function(e){return e.readabilityScoreColor},function(e){return e.isContentAnalysisActive?"inline":"none"},function(e){return e.seoScoreColor},function(e){return e.isKeywordAnalysisActive?"inline":"none"}),s=function(e){return wp.element.createElement(i,r({},e,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 646.66 456.27"}),wp.element.createElement("path",{d:"M73,405.26a68.53,68.53,0,0,1-12.82-4c-1-.42-2-.89-3-1.37-1.49-.72-3-1.56-4.77-2.56-1.5-.88-2.71-1.64-3.83-2.39-.9-.61-1.8-1.26-2.68-1.92q-2.64-2-5.08-4.19a68.26,68.26,0,0,1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24q-1.84-2.73-3.44-5.64a68.26,68.26,0,0,1-8.29-32.55V142.13a68.29,68.29,0,0,1,8.29-32.55,58.6,58.6,0,0,1,3.44-5.64,57.53,57.53,0,0,1,4-5.27A69.64,69.64,0,0,1,48.56,85.42,56.06,56.06,0,0,1,54.2,82,67.78,67.78,0,0,1,73,75.09,69.79,69.79,0,0,1,86.75,73.7H256.41L263,55.39H86.75A86.84,86.84,0,0,0,0,142.13V338.22A86.83,86.83,0,0,0,86.75,425H98.07V406.65H86.75A68.31,68.31,0,0,1,73,405.26ZM368.55,60.85l-1.41-.53L360.73,77.5l1.41.53a68.58,68.58,0,0,1,8.66,4,58.65,58.65,0,0,1,5.65,3.43A69.49,69.49,0,0,1,391,98.67c1.4,1.68,2.72,3.46,3.95,5.27s2.39,3.72,3.44,5.64a68.32,68.32,0,0,1,8.29,32.55V406.65H233.55l-.44.76c-3.07,5.37-6.26,10.48-9.49,15.19L222,425H425V142.13A87.19,87.19,0,0,0,368.55,60.85Z",fill:"#000001"}),wp.element.createElement("path",{d:"M303.66,0l-96.8,268.87-47.58-149H101.1l72.72,186.78a73.61,73.61,0,0,1,0,53.73c-7.07,18.07-19.63,39.63-54.36,46l-1.56.29v49.57l2-.08c29-1.14,51.57-10.72,70.89-30.14,19.69-19.79,36.55-50.52,53-96.68L366.68,0Z",fill:"#000001"}),wp.element.createElement("circle",{className:"yoast-icon-readability-score",cx:"561.26",cy:"142.43",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}),wp.element.createElement("circle",{className:"yoast-icon-seo-score",cx:"561.26",cy:"341.96",r:"85.04",fill:"#000001",stroke:"#181716",strokeMiterlimit:"10",strokeWidth:"0.72"}))};s.propTypes={readabilityScoreColor:o.default.string,isContentAnalysisActive:o.default.bool,seoScoreColor:o.default.string,isKeywordAnalysisActive:o.default.bool,size:o.default.number,color:o.default.string},s.defaultProps={readabilityScoreColor:"#000000",isContentAnalysisActive:!1,seoScoreColor:"#000000",isKeywordAnalysisActive:!1,size:20,color:"#000001"},t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=c;var o=u(n(1)),a=n(3),i=n(4),s=n(5),l=u(n(392));function u(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=e.checklist,n=e.onClick,o=t.every(function(e){return"good"===e.score});return wp.element.createElement(i.Fragment,null,t.map(function(e){return wp.element.createElement(l.default,r({key:e.label},e))}),wp.element.createElement("br",null),!o&&wp.element.createElement(s.Button,{onClick:n},(0,a.__)("Improve your post with Yoast SEO","wordpress-seo")))}c.propTypes={checklist:o.default.array.isRequired,onClick:o.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.maybeAddFocusKeyphraseCheck=function(e,t){t.getFocusKeyphrase()||e.push({label:(0,r.__)("No focus keyword was entered","wordpress-seo"),score:"bad"})},t.maybeAddReadabilityCheck=function(e,t){if(t.getPreferences().isKeywordAnalysisActive){var n=(0,o.default)(t.getReadabilityResults().overallScore);e.push({label:(0,r.__)("Readability analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}},t.maybeAddSEOCheck=function(e,t){if(t.getPreferences().isContentAnalysisActive){var n=(0,o.default)(t.getResultsForFocusKeyword().overallScore);e.push({label:(0,r.__)("SEO analysis:","wordpress-seo"),score:n.className,scoreValue:n.screenReaderReadabilityText})}},t.maybeAddSchemaBlocksValidationCheck=function(e,t,n){if(!function(e){return e.some(function(e){return Object.keys(e.attributes).includes("yoast-schema")})}(n.getBlocks()))return;var o=t.getSchemaBlocksValidationResults(),a=Object.values(o);if(a&&a.length>0){var i=a.every(function(e){return e.result<=0});e.push({label:(0,r.__)("Schema analysis:","wordpress-seo"),score:i?"good":"bad",scoreValue:i?(0,r.__)("Good","wordpress-seo"):(0,r.__)("Needs improvement","wordpress-seo")})}};var r=n(3),o=function(e){return e&&e.__esModule?e:{default:e}}(n(27))},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=a(n(376)),o=a(n(398));function a(e){return e&&e.__esModule?e:{default:e}}window.yoast=window.yoast||{},window.yoast.initEditorIntegration=r.default,window.yoast.EditorData=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(function(e){var t=(0,E.default)(),n=t.isPremium,u=n?"Yoast SEO Premium":"Yoast SEO",c=wp.element.createElement(T.default,null);(0,i.updateCategory)("yoast-structured-data-blocks",{icon:c}),(0,i.updateCategory)("yoast-internal-linking-blocks",{icon:c});var y={isRtl:t.isRtl},h=e.getState().preferences,g=h.isKeywordAnalysisActive||h.isContentAnalysisActive,k=h.isZapierIntegrationActive&&!h.isZapierConnected;(0,s.select)("core/edit-post").getPreferences().panels["yoast-seo/document-panel"]||(0,s.dispatch)("core/edit-post").toggleEditorPanelOpened("yoast-seo/document-panel");(0,o.registerPlugin)("yoast-seo",{render:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(r.PluginSidebarMoreMenuItem,{target:"seo-sidebar",icon:wp.element.createElement(p.default,null)},u),wp.element.createElement(r.PluginSidebar,{name:"seo-sidebar",title:u},wp.element.createElement(_.default,{store:e,theme:y})),wp.element.createElement(a.Fragment,null,wp.element.createElement(f.default,{store:e,theme:y}),wp.element.createElement(m.default,{target:"wpseo-metabox-root",store:e,theme:y})),g&&wp.element.createElement(r.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(v.default,null)),n&&k&&wp.element.createElement(r.PluginPrePublishPanel,{className:"yoast-seo-sidebar-panel",title:"Zapier",initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(d.Slot,{name:"YoastZapierPrePublish"})),wp.element.createElement(r.PluginPostPublishPanel,{className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),initialOpen:!0,icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(b.default,null)),g&&wp.element.createElement(r.PluginDocumentSettingPanel,{name:"document-panel",className:"yoast-seo-sidebar-panel",title:(0,l.__)("Yoast SEO","wordpress-seo"),icon:wp.element.createElement(a.Fragment,null)},wp.element.createElement(w.default,null)))},icon:wp.element.createElement(p.default,null)})})(e),"function"==typeof(0,c.get)(window,"wp.blockEditor.__experimentalLinkControl")?[g.link].forEach(function(e){var t=e.name,n=e.replaces,r=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["name","replaces"]);n&&(0,s.dispatch)("core/rich-text").removeFormatTypes(n),t&&(0,u.registerFormatType)(t,r)}):console.warn((0,l.__)("Marking links with nofollow/sponsored has been disabled for WordPress installs < 5.4.","wordpress-seo")+" "+(0,l.sprintf)((0,l.__)("Please upgrade your WordPress version or install the Gutenberg plugin to get this %1$s feature.","wordpress-seo"),"Yoast SEO")),function(e){(0,h.isAnnotationAvailable)()&&e.dispatch((0,y.setMarkerStatus)("enabled"))}(e)};var r=n(377),o=n(378),a=n(4),i=n(143),s=n(7),l=n(3),u=n(95),c=n(0),d=n(12),p=k(n(379)),f=k(n(380)),m=k(n(260)),y=n(16),h=n(151),_=k(n(385)),g=n(386),v=k(n(390)),w=k(n(393)),b=k(n(394)),E=k(n(9)),T=k(n(323));function k(e){return e&&e.__esModule?e:{default:e}}},function(e,t){e.exports=window.wp.editPost},function(e,t){e.exports=window.wp.plugins},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=n(18),i=l(n(27)),s=l(n(323));function l(e){return e&&e.__esModule?e:{default:e}}t.default=(0,o.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=(0,i.default)(t.getResultsForFocusKeyword().overallScore),r=(0,i.default)(t.getReadabilityResults().overallScore),o=t.getPreferences(),s=o.isKeywordAnalysisActive,l=o.isContentAnalysisActive,u=void 0;switch(r.className){case"good":u=a.colors.$color_good;break;case"ok":u=a.colors.$color_ok;break;case"bad":u=a.colors.$color_bad;break;default:u=a.colors.$color_score_icon}var c=void 0;switch(n.className){case"good":c=a.colors.$color_good;break;case"ok":c=a.colors.$color_ok;break;case"bad":c=a.colors.$color_bad;break;default:c=a.colors.$color_score_icon}return{readabilityScoreColor:u,seoScoreColor:c,isKeywordAnalysisActive:s,isContentAnalysisActive:l}})])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(381)),o=n(17);t.default=(0,o.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=w;var r=n(12),o=n(4),a=v(n(1)),i=n(3),s=v(n(144)),l=v(n(241)),u=v(n(145)),c=v(n(146)),d=v(n(147)),p=v(n(99)),f=v(n(382)),m=v(n(383)),y=v(n(384)),h=v(n(148)),_=v(n(31)),g=v(n(149));function v(e){return e&&e.__esModule?e:{default:e}}function w(e){var t=e.settings;return wp.element.createElement(o.Fragment,null,wp.element.createElement(r.Fill,{name:"YoastSidebar"},wp.element.createElement(p.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive})),wp.element.createElement(p.default,{renderPriority:23},wp.element.createElement(f.default,null)),t.displayFacebook&&wp.element.createElement(p.default,{renderPriority:24},wp.element.createElement(y.default,null)),t.displayTwitter&&wp.element.createElement(p.default,{renderPriority:25},wp.element.createElement(m.default,null)),t.displaySchemaSettings&&wp.element.createElement(p.default,{renderPriority:26},wp.element.createElement(_.default,{title:(0,i.__)("Schema","wordpress-seo")},wp.element.createElement(h.default,null))),t.displayAdvancedTab&&wp.element.createElement(p.default,{renderPriority:27},wp.element.createElement(_.default,{title:(0,i.__)("Advanced","wordpress-seo")},wp.element.createElement(g.default,null))),t.isContentAnalysisActive&&wp.element.createElement(p.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(p.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(p.default,{renderPriority:30},wp.element.createElement(s.default,null))))}w.propTypes={settings:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(83)),a=i(n(242));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Google preview","wordpress-seo"),id:"yoast-google-preview-modal"},wp.element.createElement(a.default,{showCloseButton:!1,hasPaperStyle:!1}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(83)),a=i(n(243));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Twitter preview","wordpress-seo"),id:"yoast-twitter-preview-modal"},wp.element.createElement(a.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=i(n(83)),a=i(n(244));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(){return wp.element.createElement(o.default,{title:(0,r.__)("Facebook preview","wordpress-seo"),id:"yoast-facebook-preview-modal"},wp.element.createElement(a.default,null))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(a.default,{store:t,theme:n,location:"sidebar"},wp.element.createElement(r.Slot,{name:"YoastSidebar"},function(e){return(0,o.default)(e)}))};var r=n(12),o=i(n(150)),a=i(n(101));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.link=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(3),a=n(4),i=n(12),s=n(95),l=n(57),u=n(387),c=function(e){return e&&e.__esModule?e:{default:e}}(n(388));var d="core/link",p=(0,o.__)("Link","wordpress-seo");t.link={name:d,title:p,tagName:"a",className:null,attributes:{url:"href",target:"target",rel:"rel"},replaces:"core/link",__unstablePasteRule:function(e,t){var n=t.html,r=t.plainText;if((0,s.isCollapsed)(e))return e;var o=(n||r).replace(/<[^>]+>/g,"").trim();return(0,l.isURL)(o)?(window.console.log("Created link:\n\n",o),(0,s.applyFormat)(e,{type:d,attributes:{url:(0,u.decodeEntities)(o)}})):e},edit:(0,i.withSpokenMessages)(function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.addLink=e.addLink.bind(e),e.stopAddingLink=e.stopAddingLink.bind(e),e.onRemoveFormat=e.onRemoveFormat.bind(e),e.state={addingLink:!1},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"addLink",value:function(){var e=this.props,t=e.value,n=e.onChange,r=(0,s.getTextContent)((0,s.slice)(t));r&&(0,l.isURL)(r)?n((0,s.applyFormat)(t,{type:d,attributes:{url:r}})):r&&(0,l.isEmail)(r)?n((0,s.applyFormat)(t,{type:d,attributes:{url:"mailto:"+r}})):this.setState({addingLink:!0})}},{key:"stopAddingLink",value:function(){this.setState({addingLink:!1}),this.props.onFocus()}},{key:"onRemoveFormat",value:function(){var e=this.props,t=e.value,n=e.onChange,r=e.speak;n((0,s.removeFormat)(t,d)),r((0,o.__)("Link removed.","wordpress-seo"),"assertive")}},{key:"render",value:function(){var e=this.props,t=e.isActive,n=e.activeAttributes,r=e.value,i=e.onChange,s=window.wp.blockEditor,l=s.RichTextToolbarButton,u=s.RichTextShortcut;return wp.element.createElement(a.Fragment,null,wp.element.createElement(u,{type:"primary",character:"k",onUse:this.addLink}),wp.element.createElement(u,{type:"primaryShift",character:"k",onUse:this.onRemoveFormat}),t&&wp.element.createElement(l,{name:"link",icon:"editor-unlink",title:(0,o.__)("Unlink","wordpress-seo"),onClick:this.onRemoveFormat,isActive:t,shortcutType:"primaryShift",shortcutCharacter:"k"}),!t&&wp.element.createElement(l,{name:"link",icon:"admin-links",title:p,onClick:this.addLink,isActive:t,shortcutType:"primary",shortcutCharacter:"k"}),(this.state.addingLink||t)&&wp.element.createElement(c.default,{addingLink:this.state.addingLink,stopAddingLink:this.stopAddingLink,isActive:t,activeAttributes:n,value:r,onChange:i}))}}]),t}())}},function(e,t){e.exports=window.wp.htmlEntities},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(0),i=n(4),s=n(3),l=n(12),u=n(57),c=n(95),d=n(389),p=m(n(34)),f=m(n(267));function m(e){return e&&e.__esModule?e:{default:e}}t.default=(0,l.withSpokenMessages)(function(e){var t=e.isActive,n=e.activeAttributes,m=e.addingLink,y=e.value,h=e.onChange,_=e.speak,g=e.stopAddingLink,v=(0,i.useMemo)(a.uniqueId,[m]),w=(0,i.useState)(),b=o(w,2),E=b[0],T=b[1],k=(0,i.useMemo)(function(){var e=window.getSelection();if(e.rangeCount){var n=e.getRangeAt(0);if(m&&!t)return n;var r=n.startContainer;for(r=r.nextElementSibling||r;r.nodeType!==window.Node.ELEMENT_NODE;)r=r.parentNode;return r.closest("a")}},[m,y.start,y.end]),O=r({url:n.url,type:n.type,id:n.id,opensInNewTab:"_blank"===n.target,noFollow:n.rel&&n.rel.split(" ").includes("nofollow"),sponsored:n.rel&&n.rel.split(" ").includes("sponsored")},E),S=wp.element.createElement(p.default,{href:window.wpseoAdminL10n["shortlinks.nofollow_sponsored"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("Learn more about marking a link as nofollow or sponsored.","wordpress-seo"))),P=(0,f.default)((0,s.sprintf)((0,s.__)("Search engines should ignore this link (mark as %1$snofollow%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:wp.element.createElement("code",null),helplink:S}),R=(0,f.default)((0,s.sprintf)((0,s.__)("This is a sponsored link or advert (mark as %1$ssponsored%2$s)%3$s","wordpress-seo"),"<code>","</code>","<helplink />"),{code:wp.element.createElement("code",null),helplink:S}),C=[{id:"opensInNewTab",title:(0,s.__)("Open in new tab","wordpress-seo")},{id:"noFollow",title:P},{id:"sponsored",title:R}],A=window.wp.blockEditor.__experimentalLinkControl;return wp.element.createElement(l.Popover,{key:v,anchorRef:k,focusOnMount:!!m&&"firstElement",onClose:g,position:"bottom center"},wp.element.createElement(A,{value:O,onChange:function(e){e=r({},E,e);var n=O.url===e.url&&O.opensInNewTab!==e.opensInNewTab||O.noFollow!==e.noFollow||O.sponsored!==e.sponsored;n&&!0===e.sponsored&&!0!==O.sponsored&&(e.noFollow=!0),n&&!1===e.noFollow&&!1!==O.noFollow&&(e.sponsored=!1);var o=n&&void 0===e.url;if(T(o?e:void 0),!o){var a=(0,u.prependHTTP)(e.url),i=(0,d.createLinkFormat)({url:a,type:e.type,id:void 0!==e.id&&null!==e.id?String(e.id):void 0,opensInNewWindow:e.opensInNewTab,noFollow:e.noFollow,sponsored:e.sponsored});if((0,c.isCollapsed)(y)&&!t){var l=e.title||a,p=(0,c.applyFormat)((0,c.create)({text:l}),i,0,l.length);h((0,c.insert)(y,p))}else{var f=(0,c.applyFormat)(y,i);f.start=f.end,f.activeFormats=[],h(f)}n||g(),(0,d.isValidHref)(a)?_(t?(0,s.__)("Link edited.","wordpress-seo"):(0,s.__)("Link inserted.","wordpress-seo"),"assertive"):_((0,s.__)("Warning: the link has been inserted but may have errors. Please test it."),"assertive")}},forceIsEditingLink:m,settings:C}))})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidHref=function(e){if(!e)return!1;var t=e.trim();if(!t)return!1;if(/^\S+:/.test(t)){var n=(0,o.getProtocol)(t);if(!(0,o.isValidProtocol)(n))return!1;if((0,r.startsWith)(n,"http")&&!/^https?:\/\/[^\/\s]/i.test(t))return!1;var a=(0,o.getAuthority)(t);if(!(0,o.isValidAuthority)(a))return!1;var i=(0,o.getPath)(t);if(i&&!(0,o.isValidPath)(i))return!1;var s=(0,o.getQueryString)(t);if(s&&!(0,o.isValidQueryString)(s))return!1;var l=(0,o.getFragment)(t);if(l&&!(0,o.isValidFragment)(l))return!1}if((0,r.startsWith)(t,"#")&&!(0,o.isValidFragment)(t))return!1;return!0},t.createLinkFormat=function(e){var t=e.url,n=e.opensInNewWindow,o=e.noFollow,a=e.sponsored,i=(e.text,{type:"core/link",attributes:{url:t}}),s=[];n&&(i.attributes.target="_blank",s.push("noreferrer noopener"));a&&(s.push("sponsored"),s.push("nofollow"));o&&s.push("nofollow");s.length>0&&(s=(0,r.uniq)(s),i.attributes.rel=s.join(" "));return i};var r=n(0),o=(n(3),n(57))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSelectToProps=s,t.mapDispatchToProps=l;var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(391)),i=n(325);function s(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=[];return(0,i.maybeAddFocusKeyphraseCheck)(r,t),(0,i.maybeAddReadabilityCheck)(r,t),(0,i.maybeAddSEOCheck)(r,t),(0,i.maybeAddSchemaBlocksValidationCheck)(r,t,n),{checklist:r}}function l(e){var t=e("core/edit-post"),n=t.closePublishSidebar,r=t.openGeneralSidebar;return{onClick:function(){n(),r("yoast-seo/seo-sidebar")}}}t.default=(0,o.compose)([(0,r.withSelect)(s),(0,r.withDispatch)(l)])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),o=n(4),a=n(3),i=s(n(324));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.checklist,n=e.onClick,r=void 0;return r=t.every(function(e){return"good"===e.score})?(0,a.__)("We've analyzed your post. Everything looks good. Well done!","wordpress-seo"):(0,a.__)("We've analyzed your post. There is still room for improvement!","wordpress-seo"),wp.element.createElement(o.Fragment,null,wp.element.createElement("p",null,r),wp.element.createElement(i.default,{checklist:t,onClick:n}))}l.propTypes={checklist:r.default.array.isRequired,onClick:r.default.func.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=n(5),o=n(28),a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(1));function i(e){var t=e.score,n=e.label,a=e.scoreValue;return wp.element.createElement("div",null,wp.element.createElement(r.SvgIcon,(0,o.getIconForScore)(t)),wp.element.createElement("span",null," ",n," ",a&&wp.element.createElement("strong",null,a)))}i.propTypes={score:a.string.isRequired,label:a.string.isRequired,scoreValue:a.string},i.defaultProps={scoreValue:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapSelectToProps=s,t.mapDispatchToProps=l;var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(324)),i=n(325);function s(e){var t=e("yoast-seo/editor"),n=e("core/editor"),r=[];return(0,i.maybeAddReadabilityCheck)(r,t),(0,i.maybeAddSEOCheck)(r,t),(0,i.maybeAddSchemaBlocksValidationCheck)(r,t,n),{checklist:r}}function l(e){var t=e("core/edit-post").openGeneralSidebar;return{onClick:function(){t("yoast-seo/seo-sidebar")}}}t.default=(0,o.compose)([(0,r.withSelect)(s),(0,r.withDispatch)(l)])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),o=n(10),a=function(e){return e&&e.__esModule?e:{default:e}}(n(395));t.default=(0,o.compose)([(0,r.withSelect)(function(e){return{permalink:e("core/editor").getPermalink()}})])(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var r=l(n(1)),o=n(3),a=n(4),i=l(n(396)),s=l(n(397));function l(e){return e&&e.__esModule?e:{default:e}}function u(e){var t=e.permalink,n=encodeURI(t);return wp.element.createElement(a.Fragment,null,wp.element.createElement("div",null,(0,o.__)("Share your post!","wordpress-seo")),wp.element.createElement("ul",{className:"yoast-seo-social-share-buttons"},wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://www.facebook.com/sharer/sharer.php?u="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(i.default,null))),wp.element.createElement("li",null,wp.element.createElement("a",{href:"https://twitter.com/share?url="+n,target:"_blank",rel:"noopener noreferrer"},wp.element.createElement(s.default,null)))))}u.propTypes={permalink:r.default.string.isRequired}},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,r.createElement("g",{fill:"none",fillRule:"evenodd"},[r.createElement("path",{fill:"#1877f2",d:"M1600 800a800 800 0 1 0-925 790v-559H472V800h203V624c0-201 119-311 302-311 88 0 179 15 179 15v197h-101c-99 0-130 62-130 125v150h222l-36 231H925v559a800 800 0 0 0 675-790",key:0}),r.createElement("path",{fill:"#fff",d:"M1147 800H925V650c0-63 31-125 130-125h101V328s-91-15-179-15c-183 0-302 110-302 311v176H472v231h203v559a806 806 0 0 0 250 0v-559h186z",key:1})]))}o.defaultProps={viewBox:"0 0 1600 1600",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,[r.createElement("circle",{cx:"200",cy:"200",r:"200",fill:"#1da1f2",key:0}),r.createElement("path",{d:"M163.4 305.5c88.7 0 137.2-73.5 137.2-137.2 0-2.1 0-4.2-.1-6.2 9.4-6.8 17.6-15.3 24.1-25-8.6 3.8-17.9 6.4-27.7 7.6 10-6 17.6-15.4 21.2-26.7-9.3 5.5-19.6 9.5-30.6 11.7-8.8-9.4-21.3-15.2-35.2-15.2-26.6 0-48.2 21.6-48.2 48.2 0 3.8.4 7.5 1.3 11-40.1-2-75.6-21.2-99.4-50.4-4.1 7.1-6.5 15.4-6.5 24.2 0 16.7 8.5 31.5 21.5 40.1-7.9-.2-15.3-2.4-21.8-6v.6c0 23.4 16.6 42.8 38.7 47.3-4 1.1-8.3 1.7-12.7 1.7-3.1 0-6.1-.3-9.1-.9 6.1 19.2 23.9 33.1 45 33.5-16.5 12.9-37.3 20.6-59.9 20.6-3.9 0-7.7-.2-11.5-.7 21.1 13.8 46.5 21.8 73.7 21.8",fill:"#fff",key:1})])}o.defaultProps={viewBox:"0 0 400 400",role:"img","aria-hidden":"true",focusable:"false"},e.exports=o,o.default=o},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),i=n(11),s=n(7),l=n(13),u=n(38),c=n(30),d=n(151);var p=e.jQuery,f=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._refresh=t,this._store=n,this._data={},this.getPostAttribute=this.getPostAttribute.bind(this),this.refreshYoastSEO=this.refreshYoastSEO.bind(this)}return o(e,[{key:"initialize",value:function(e){this._data=this.getInitialData(e),(0,c.fillReplacementVariables)(this._data,this._store),this.subscribeToGutenberg(),this.subscribeToYoastSEO()}},{key:"getInitialData",value:function(e){var t=this.collectGutenbergData(this.getPostAttribute);return e=(0,c.mapCustomFields)(e,this._store),e=(0,c.mapCustomTaxonomies)(e,this._store),r({},e,t)}},{key:"setRefresh",value:function(e){this._refresh=e}},{key:"isShallowEqual",value:function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e.hasOwnProperty(n)&&(!(n in t)||e[n]!==t[n]))return!1;return!0}},{key:"getMediaById",value:function(e){return this._coreDataSelect||(this._coreDataSelect=(0,s.select)("core")),this._coreDataSelect.getMedia(e)}},{key:"getPostAttribute",value:function(e){return this._coreEditorSelect||(this._coreEditorSelect=(0,s.select)("core/editor")),this._coreEditorSelect.getEditedPostAttribute(e)}},{key:"getSlug",value:function(){if("auto-draft"===this.getPostAttribute("status"))return"";var e=this.getPostAttribute("generated_slug")||"";"auto-draft"===e&&(e="");var t=this.getPostAttribute("slug")||e;return decodeURIComponent(t)}},{key:"collectGutenbergData",value:function(){return{content:this.getPostAttribute("content"),title:this.getPostAttribute("title")||"",slug:this.getSlug(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),snippetPreviewImageURL:this.getFeaturedImage()||this.getContentImage(),contentImage:this.getContentImage()}}},{key:"getFeaturedImage",value:function(){var e=this.getPostAttribute("featured_media");if(e){var t=this.getMediaById(e);if(t)return t.source_url}return null}},{key:"getContentImage",value:function(){var e=this._coreEditorSelect.getEditedPostContent(),t=i.string.imageInText(e),n="";if(0===t.length)return"";do{var r=t.shift(),o=(r=p(r)).prop("src");o&&(n=o)}while(""===n&&t.length>0);return n}},{key:"handleEditorChange",value:function(e){this._data.title!==e.title&&this._store.dispatch((0,l.updateReplacementVariable)("title",e.title)),this._data.excerpt!==e.excerpt&&(this._store.dispatch((0,l.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,l.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._data.slug!==e.slug&&this._store.dispatch((0,l.updateData)({slug:e.slug})),this._data.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this._store.dispatch((0,l.updateData)({snippetPreviewImageURL:e.snippetPreviewImageURL})),this._data.contentImage!==e.contentImage&&this._store.dispatch((0,u.setContentImage)(e.contentImage))}},{key:"getExcerpt",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.getPostAttribute("excerpt")||"";return""!==t||!1===e?t:(0,c.excerptFromContent)(this.getPostAttribute("content"))}},{key:"reapplyMarkers",value:function(){var e=(0,s.select)("yoast-seo/editor"),t=e.getActiveMarker,n=e.getMarkerPauseStatus,r=t(),o=n();r&&!o&&(0,d.reapplyAnnotationsForSelectedBlock)()}},{key:"refreshYoastSEO",value:function(){var e=this.collectGutenbergData();!this.isShallowEqual(this._data,e)&&(this.handleEditorChange(e),this._data=e,this._refresh())}},{key:"areNewAnalysisResultsAvailable",value:function(){var e=(0,s.select)("yoast-seo/editor"),t=e.getReadabilityResults(),n=e.getResultsForFocusKeyword();return(this._previousReadabilityResults!==t||this._previousSeoResults!==n)&&(this._previousReadabilityResults=t,this._previousSeoResults=n,!0)}},{key:"onNewAnalysisResultsAvailable",value:function(){this.reapplyMarkers()}},{key:"subscribeToGutenberg",value:function(){this.subscriber=(0,a.debounce)(this.refreshYoastSEO,500),(0,s.subscribe)(this.subscriber)}},{key:"subscribeToYoastSEO",value:function(){var e=this;this.yoastSubscriber=function(){e.areNewAnalysisResultsAvailable()&&e.onNewAnalysisResultsAvailable()},(0,s.subscribe)(this.yoastSubscriber)}},{key:"getData",value:function(){return this._data}}]),e}();t.default=f}).call(this,n(102))}],[[375,0]]]);
js/dist/{bulk-editor-1592.js → bulk-editor-1600.js} RENAMED
@@ -1 +1 @@
1
- (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[4],{394:function(e,s,n){"use strict";!function(){var e=function(e){var s=e.find("[class^=wpseo-new]").first().attr("class"),n="#"+s+"-",t=n.replace("new","existing"),i=e.find("th[id^=col_existing_yoast]").first().text().replace("Existing ",""),a=s.replace("-new-","_save_"),o="wpseo_save_all_"+e.attr("class").split("wpseo_bulk_")[1],u=a.replace("wpseo_save_",""),r={newClass:"."+s,newId:n,existingId:t},l={submit_new:function(e){l.submitNew(e)},submitNew:function(e){var s,n=r.newId+e,t=r.existingId+e;s="select-one"===jQuery(r.newId+e).prop("type")?jQuery(n).find(":selected").text():jQuery(n).val();var o=jQuery(t).html();if(s===o)jQuery(n).val("");else{if(""===s&&!window.confirm("Are you sure you want to remove the existing "+i+"?"))return void jQuery(n).val("");var u={action:a,_ajax_nonce:wpseoBulkEditorNonce,wpseo_post_id:e,new_value:s,existing_value:o};jQuery.post(ajaxurl,u,l.handleResponse)}},submit_all:function(e){l.submitAll(e)},submitAll:function(e){e.preventDefault();var s={action:o,_ajax_nonce:wpseoBulkEditorNonce,send:!1,items:{},existingItems:{}};jQuery(r.newClass).each(function(){var e=jQuery(this).data("id"),n=jQuery(this).val(),t=jQuery(r.existingId+e).html();""!==n&&(n===t?jQuery(r.newId+e).val(""):(s.send=!0,s.items[e]=n,s.existingItems[e]=t))}),s.send&&jQuery.post(ajaxurl,s,l.handleResponses)},handle_response:function(e,s){l.handleResponse(e,s)},handleResponse:function(e,s){if("success"===s){var n=e;if("string"==typeof n&&(n=JSON.parse(n)),n instanceof Array)jQuery.each(n,function(){l.handleResponse(this,s)});else if("success"===n.status){var t=n["new_"+u];jQuery(r.existingId+n.post_id).html(t.replace(/\\(?!\\)/g,"")),jQuery(r.newId+n.post_id).val("")}}},handle_responses:function(e,s){l.handleResponses(e,s)},handleResponses:function(e,s){var n=jQuery.parseJSON(e);jQuery.each(n,function(){l.handleResponse(this,s)})},set_events:function(){l.setEvents()},setEvents:function(){e.find(".wpseo-save").click(function(e){var s=jQuery(this).data("id");e.preventDefault(),l.submitNew(s,this)}),e.find(".wpseo-save-all").click(l.submitAll),e.find(r.newClass).keydown(function(e){if(13===e.which){e.preventDefault();var s=jQuery(this).data("id");l.submitNew(s,this)}})}};return l};window.bulk_editor=e,window.bulkEditor=e,jQuery(document).ready(function(){jQuery('table[class*="wpseo_bulk"]').each(function(s,n){var t=jQuery(n);e(t).setEvents()})})}()}},[[394,0]]]);
1
+ (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[4],{399:function(e,s,n){"use strict";!function(){var e=function(e){var s=e.find("[class^=wpseo-new]").first().attr("class"),n="#"+s+"-",t=n.replace("new","existing"),i=e.find("th[id^=col_existing_yoast]").first().text().replace("Existing ",""),a=s.replace("-new-","_save_"),o="wpseo_save_all_"+e.attr("class").split("wpseo_bulk_")[1],u=a.replace("wpseo_save_",""),r={newClass:"."+s,newId:n,existingId:t},l={submit_new:function(e){l.submitNew(e)},submitNew:function(e){var s,n=r.newId+e,t=r.existingId+e;s="select-one"===jQuery(r.newId+e).prop("type")?jQuery(n).find(":selected").text():jQuery(n).val();var o=jQuery(t).html();if(s===o)jQuery(n).val("");else{if(""===s&&!window.confirm("Are you sure you want to remove the existing "+i+"?"))return void jQuery(n).val("");var u={action:a,_ajax_nonce:wpseoBulkEditorNonce,wpseo_post_id:e,new_value:s,existing_value:o};jQuery.post(ajaxurl,u,l.handleResponse)}},submit_all:function(e){l.submitAll(e)},submitAll:function(e){e.preventDefault();var s={action:o,_ajax_nonce:wpseoBulkEditorNonce,send:!1,items:{},existingItems:{}};jQuery(r.newClass).each(function(){var e=jQuery(this).data("id"),n=jQuery(this).val(),t=jQuery(r.existingId+e).html();""!==n&&(n===t?jQuery(r.newId+e).val(""):(s.send=!0,s.items[e]=n,s.existingItems[e]=t))}),s.send&&jQuery.post(ajaxurl,s,l.handleResponses)},handle_response:function(e,s){l.handleResponse(e,s)},handleResponse:function(e,s){if("success"===s){var n=e;if("string"==typeof n&&(n=JSON.parse(n)),n instanceof Array)jQuery.each(n,function(){l.handleResponse(this,s)});else if("success"===n.status){var t=n["new_"+u];jQuery(r.existingId+n.post_id).html(t.replace(/\\(?!\\)/g,"")),jQuery(r.newId+n.post_id).val("")}}},handle_responses:function(e,s){l.handleResponses(e,s)},handleResponses:function(e,s){var n=jQuery.parseJSON(e);jQuery.each(n,function(){l.handleResponse(this,s)})},set_events:function(){l.setEvents()},setEvents:function(){e.find(".wpseo-save").click(function(e){var s=jQuery(this).data("id");e.preventDefault(),l.submitNew(s,this)}),e.find(".wpseo-save-all").click(l.submitAll),e.find(r.newClass).keydown(function(e){if(13===e.which){e.preventDefault();var s=jQuery(this).data("id");l.submitNew(s,this)}})}};return l};window.bulk_editor=e,window.bulkEditor=e,jQuery(document).ready(function(){jQuery('table[class*="wpseo_bulk"]').each(function(s,n){var t=jQuery(n);e(t).setEvents()})})}()}},[[399,0]]]);
js/dist/classic-editor-1592.js DELETED
@@ -1 +0,0 @@
1
- (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[6],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})};var r=n(0)},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SNIPPET_EDITOR_DATA=t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:a,mode:e}},t.updateData=function(e){return{type:o,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:i,name:e,value:a,label:n}},t.updateWordsToHighlight=function(e){return{type:u,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:l,time:(new Date).getMilliseconds()}};var r=n(6),a=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",o=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",i=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l=t.REFRESH="SNIPPET_EDITOR_REFRESH",u=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT";t.LOAD_SNIPPET_EDITOR_DATA="LOAD_SNIPPET_EDITOR_DATA"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationConsumer=t.LocationProvider=t.LocationContext=void 0;var r=n(4),a=t.LocationContext=(0,r.createContext)();t.LocationProvider=a.Provider,t.LocationConsumer=a.Consumer},function(e,t){e.exports=window.yoast.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=t.setReadabilityResults=t.setOverallSeoScore=t.setOverallReadabilityScore=void 0;var r=n(43);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var a=n(44);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(69);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n(35);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var s=n(70);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(71);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(45);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(36);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(29);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(46);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(47);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var m=n(48);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(50);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var h=n(73);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var _=n(51);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var g=n(37);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var v=n(13);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(52);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(53);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(54);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(15);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return T.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return T.setSeoResultsForKeyword}});var k=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return k.default.readabilityScore=e,(0,T.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return k.default.seoScore=e,(0,T.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.yoast.reactRedux},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(4),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function o(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?(0,r.createPortal)(n,a):null}o.propTypes={target:a.default.oneOfType([a.default.string,a.default.object]).isRequired,children:a.default.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=s(n(2)),o=s(n(78)),i=s(n(81));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,i,s,c,d,p,f,m,y=[],h={};for(p=0;p<e.length;p++)if("string"!==(d=e[p]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],s=p;break}y.push(t[d.value])}else y.push(d.value);return n&&(c=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+"`")}(s,e),f=u(e.slice(s+1,c),t),i=a.default.cloneElement(n,{},f),y.push(i),c<e.length-1&&(m=u(e.slice(c+1),t),y=y.concat(m))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(h["interpolation-child-"+t]=e)}),(0,o.default)(h))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return u(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){"use strict";var r=n(23),a=n(24),o=n(25);e.exports=function(){function e(e,t,n,r,i,s){s!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,a,o,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,o,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.keyphraseElement.value=t},get:function(){return e.keyphraseElement.value}},{key:"isCornerstone",set:function(t){e.isCornerstoneElement.value=t?"1":"0"},get:function(){return"1"===e.isCornerstoneElement.value}},{key:"seoScore",set:function(t){e.seoScoreElement.value=t},get:function(){return e.seoScoreElement.value}},{key:"readabilityScore",set:function(t){e.readabilityScoreElement.value=t},get:function(){return e.readabilityScoreElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.isNil)(e)||(e/=10);return function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.helpers.scoreToRating(e))};var r=n(3),a=n(11),o=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(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},t.default=function(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 o=i(a,t);n=s(o,n)}}return n};var r=n(11),a=n(18),o=r.helpers.scoreToRating;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:o(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?t+":"+n:n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_MARKER_STATUS="WPSEO_SET_MARKER_STATUS";t.setMarkerStatus=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyReplaceUsingPlugin=t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.fillReplacementVariables=function(e,t){(0,a.forEach)(e,function(e,n){l.includes(n)||t.dispatch((0,o.updateReplacementVariable)(n,e))})},t.handlePrefixes=u,t.createLabelFromName=c,t.pushNewReplaceVar=function(e,t){return e.push({name:t.name,label:t.label||c(t.name),value:t.value}),e},t.replaceSpaces=d,t.prepareCustomFieldForDispatch=p,t.prepareCustomTaxonomyForDispatch=f,t.mapCustomTaxonomies=function(e,t){if(!e.custom_taxonomies)return e;return(0,a.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),a=r.name,i=r.label,s=r.descriptionName,l=r.descriptionLabel;t.dispatch((0,o.updateReplacementVariable)(a,e.name,i)),t.dispatch((0,o.updateReplacementVariable)(s,e.description,l))}),(0,a.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,a.forEach)(e.custom_fields,function(e,n){var r=p(n),a=r.name,i=r.label;t.dispatch((0,o.updateReplacementVariable)(a,e,i))}),(0,a.omit)(r({},e),"custom_fields")},t.excerptFromContent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=wp.sanitize.stripTags(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var a=n(0),o=n(13),i=n(40),s=n(6).strings.stripHTMLTags,l=t.nonReplaceVars=["slug","content","contentImage","snippetPreviewImageURL"];function u(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 c(e){return e=u(e),(0,i.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function p(e){return{name:"cf_"+d(e),label:(0,i.firstToUpperCase)(e+" (custom field)")}}function f(e){var t=d(e);return{name:"ct_"+t,label:(0,i.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,i.firstToUpperCase)(e+" description (custom taxonomy)")}}t.applyReplaceUsingPlugin=function(e){var t=(0,a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:s(t(e.title)),description:s(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:s(n("data_page_title",e.title)),description:s(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(4),o=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var s=function(e){var t=(0,a.useState)(!1),n=r(t,2),i=n[0],s=n[1],l=e.prefixIcon;return wp.element.createElement("div",{className:"yoast components-panel__body "+(i?"is-opened":"")},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{onClick:function(){s(!i)},className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-icon-span",style:{fill:""+(l&&l.color||"")}},l&&wp.element.createElement(o.SvgIcon,{icon:l.icon,color:l.color,size:l.size})),wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),wp.element.createElement("span",{className:"yoast-chevron","aria-hidden":"true"}))),i&&e.children)};t.default=s,s.propTypes={title:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,prefixIcon:i.default.object,subTitle:i.default.string},s.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){return(0,a.createHigherOrderComponent)(function(e){return(0,a.pure)(function(t){var n=(0,o.useContext)(i.LocationContext);return(0,o.createElement)(e,r({},t,{location:n}))})},"withLocation")};var a=n(10),o=n(4),i=n(14)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(6),o=function(e){return e&&e.__esModule?e:{default:e}}(n(8));var i=(0,a.makeOutboundLink)(o.default.a.withConfig({displayName:"HelpLink",componentId:"qyhmof-0"})(["display:inline-block;position:relative;outline:none;text-decoration:none;border-radius:100%;width:24px;height:24px;margin:-4px 0;vertical-align:middle;color:",";&:hover,&:focus{color:",";}&:active{color:",';}&::before{position:absolute;top:0;left:0;padding:2px;content:"\f223";}'],r.colors.$color_help_text,r.colors.$color_snippet_focus,r.colors.$color_help_text));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(5);var o=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(8)).default)(a.Collapsible).withConfig({displayName:"MetaboxCollapsible__StyledMetaboxCollapsible",componentId:"k2tood-0"})(['h2 > button{padding-left:24px;padding-top:16px;&:hover{background-color:#f0f0f0;}}div[class^="collapsible_content"]{padding:24px 0;margin:0 24px;border-top:1px solid rgba(0,0,0,0.2);}']);t.default=function(e){return wp.element.createElement(o,r({hasPadding:!0,hasSeparator:!0},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCornerstoneContent=t.setCornerstoneContent=t.loadCornerstoneContent=t.SET_CORNERSTONE_CONTENT=t.TOGGLE_CORNERSTONE_CONTENT=t.LOAD_CORNERSTONE_CONTENT=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.LOAD_CORNERSTONE_CONTENT="WPSEO_LOAD_CORNERSTONE_CONTENT";var a=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",o=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:o,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:o,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFocusKeyword=t.loadFocusKeyword=t.SET_FOCUS_KEYWORD=t.LOAD_FOCUS_KEYWORD=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var a=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",o=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:a,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:o,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",a=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:a,src:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultModalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(12);var i=t.defaultModalClassName="yoast yoast-gutenberg-modal",s=function(e){var t=e.title,n=e.className,a=e.showYoastIcon,i=e.additionalClassName,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["title","className","showYoastIcon","additionalClassName"]),l=a?wp.element.createElement("span",{className:"yoast-icon"}):null;return wp.element.createElement(o.Modal,r({title:t,className:n+" "+i,icon:l},s),e.children)};s.propTypes={title:a.default.string,className:a.default.string,showYoastIcon:a.default.bool,children:a.default.oneOfType([a.default.node,a.default.arrayOf(a.default.node)]),additionalClassName:a.default.string},s.defaultProps={title:"Yoast SEO",className:i,showYoastIcon:!0,children:null,additionalClassName:""},t.default=s},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstToUpperCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.stripHTML=function(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveMarker=function(e){return{type:r,activeMarker:e}};var r=t.SET_ACTIVE_MARKER="WPSEO_SET_ACTIVE_MARKER"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAdvancedSettingsData=t.setCanonical=t.setBreadcrumbsTitle=t.setAdvanced=t.setNoFollow=t.setNoIndex=t.LOAD_ADVANCED_SETTINGS=t.SET_CANONICAL_URL=t.SET_BREADCRUMBS_TITLE=t.SET_ADVANCED=t.SET_NO_FOLLOW=t.SET_NO_INDEX=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(68));var a=t.SET_NO_INDEX="SET_NO_INDEX",o=t.SET_NO_FOLLOW="SET_NO_FOLLOW",i=t.SET_ADVANCED="SET_ADVANCED",s=t.SET_BREADCRUMBS_TITLE="SET_BREADCRUMBS_TITLE",l=t.SET_CANONICAL_URL="SET_CANONICAL_URL",u=t.LOAD_ADVANCED_SETTINGS="LOAD_ADVANCED_SETTINGS";t.setNoIndex=function(e){return r.default.noIndex=e,{type:a,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:o,value:e}},t.setAdvanced=function(e){return r.default.advanced=e.join(","),{type:i,value:e}},t.setBreadcrumbsTitle=function(e){return r.default.breadcrumbsTitle=e,{type:s,value:e}},t.setCanonical=function(e){return r.default.canonical=e,{type:l,value:e}},t.loadAdvancedSettingsData=function(){return{type:u,settings:{noIndex:r.default.noIndex,noFollow:r.default.noFollow,advanced:r.default.advanced.split(","),breadcrumbsTitle:r.default.breadcrumbsTitle,canonical:r.default.canonical,isLoading:!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ESTIMATED_READING_TIME=t.SET_ESTIMATED_READING_TIME=void 0,t.setEstimatedReadingTime=function(e){return r.default.estimatedReadingTime=e,{type:a,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:o,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(72));var a=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",o=t.LOAD_ESTIMATED_READING_TIME="LOAD_ESTIMATED_READING_TIME"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMarkerPauseStatus=function(e){return{type:r,isMarkerPaused:e}};var r=t.SET_MARKER_PAUSE_STATUS="WPSEO_SET_MARKER_PAUSE_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_PRIMARY_TAXONOMY="WPSEO_SET_PRIMARY_TAXONOMY";t.setPrimaryTaxonomyId=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaArticleData=t.getSchemaPageData=t.setArticleType=t.setPageType=t.GET_SCHEMA_ARTICLE_DATA=t.GET_SCHEMA_PAGE_DATA=t.SET_ARTICLE_TYPE=t.SET_PAGE_TYPE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(49));var a=t.SET_PAGE_TYPE="SET_PAGE_TYPE",o=t.SET_ARTICLE_TYPE="SET_ARTICLE_TYPE",i=t.GET_SCHEMA_PAGE_DATA="GET_SCHEMA_PAGE_DATA",s=t.GET_SCHEMA_ARTICLE_DATA="GET_SCHEMA_ARTICLE_DATA";t.setPageType=function(e){return r.default.pageType=e,{type:a,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:o,articleType:e}},t.getSchemaPageData=function(){return{type:i,pageType:r.default.pageType,defaultPageType:r.default.defaultPageType}},t.getSchemaArticleData=function(){return{type:s,articleType:r.default.articleType,defaultArticleType:r.default.defaultArticleType}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBlockValidation=function(e){return{type:r,validation:e}},t.resetBlockValidation=function(){return{type:a}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",a=t.RESET_BLOCK_VALIDATIONS="WPSEO_CLEAR_BLOCK_VALIDATIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushNewRequest=function(e,t){return{type:s,countryCode:e,keyphrase:t}},t.setSEMrushRequestSucceeded=function(e){return{type:a,response:e}},t.setSEMrushRequestFailed=function(e){return{type:o,response:e}},t.setSEMrushSetRequestLimitReached=function(){return{type:i}},t.setSEMrushChangeCountry=function(e){return{type:r,countryCode:e}},t.setSEMrushNoResultsFound=function(){return{type:l}},t.setSEMrushLoginStatus=function(e){return{type:u,loginStatus:e}};var r=t.CHANGE_COUNTRY="CHANGE_COUNTRY",a=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",o=t.SET_REQUEST_FAILED="SET_REQUEST_FAILED",i=t.SET_REQUEST_LIMIT_REACHED="SET_LIMIT_REACHED",s=t.NEW_REQUEST="NEW_REQUEST",l=t.NO_DATA_FOUND="NO_DATA_FOUND",u=t.SET_LOGIN_STATUS="SET_LOGIN_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTwitterPreviewData=t.clearTwitterPreviewImage=t.setTwitterPreviewImage=t.setTwitterPreviewDescription=t.setTwitterPreviewTitle=t.LOAD_TWITTER_PREVIEW=t.CLEAR_TWITTER_IMAGE=t.SET_TWITTER_IMAGE=t.SET_TWITTER_DESCRIPTION=t.SET_TWITTER_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(74));var a=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",o=t.SET_TWITTER_DESCRIPTION="SET_TWITTER_DESCRIPTION",i=t.SET_TWITTER_IMAGE="SET_TWITTER_IMAGE",s=t.CLEAR_TWITTER_IMAGE="CLEAR_TWITTER_IMAGE",l=t.LOAD_TWITTER_PREVIEW="LOAD_TWITTER_PREVIEW";t.setTwitterPreviewTitle=function(e){return r.default.title=e,{type:a,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:o,description:e}},t.setTwitterPreviewImage=function(e){return r.default.imageId=e.id,r.default.imageUrl=e.url,{type:i,image:e}},t.clearTwitterPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadTwitterPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFacebookPreviewData=t.clearFacebookPreviewImage=t.setFacebookPreviewImage=t.setFacebookPreviewDescription=t.setFacebookPreviewTitle=t.LOAD_FACEBOOK_PREVIEW=t.CLEAR_FACEBOOK_IMAGE=t.SET_FACEBOOK_IMAGE=t.SET_FACEBOOK_DESCRIPTION=t.SET_FACEBOOK_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(75));var a=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",o=t.SET_FACEBOOK_DESCRIPTION="SET_FACEBOOK_DESCRIPTION",i=t.SET_FACEBOOK_IMAGE="SET_FACEBOOK_IMAGE",s=t.CLEAR_FACEBOOK_IMAGE="CLEAR_FACEBOOK_IMAGE",l=t.LOAD_FACEBOOK_PREVIEW="LOAD_FACEBOOK_PREVIEW";t.setFacebookPreviewTitle=function(e){return r.default.title=e,{type:a,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:o,description:e}},t.setFacebookPreviewImage=function(e){return r.default.imageUrl=e.url,r.default.imageId=e.id,{type:i,image:e}},t.clearFacebookPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadFacebookPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWarningMessage=function(e){return{type:r,message:e}};var r=t.SET_WARNING_MESSAGE="SET_WARNING_MESSAGE"},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},,,function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(114));t.default=(0,a.compose)([(0,r.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.termsTmceId=t.tmceId=void 0,t.setStore=function(e){s=e},t.isTinyMCELoaded=l,t.isTinyMCEAvailable=u,t.getContentTinyMce=function(e){var t="";t=!1===u(e)||!1===function(e){return null!==document.getElementById(e+"_ifr")}(e)?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent();return function(e){var t=new RegExp("&amp;","g");return e.replace(t,"&")}(t)},t.addEventHandler=c,t.disableMarkerButtons=d,t.enableMarkerButtons=p,t.isTextViewActive=f,t.wpTextViewOnInitCheck=function(){if(!f())return;d(),l()&&tinyMCE.on("AddEditor",function(){p()})},t.tinyMceEventBinder=function(e,t){c(t,["input","change","cut","paste"],e),c(t,["hide"],d);var n=["show"];(new o.default).isPageBuilderActive()||n.push("init");c(t,n,p),c("content",["focus"],function(e){var t=e.target;(0,a.editorHasMarks)(t)&&((0,a.editorRemoveMarks)(t),YoastSEO.app.disableMarkers())})};var r=n(0),a=n(128),o=function(e){return e&&e.__esModule?e:{default:e}}(n(149)),i=n(29);var s=void 0;t.tmceId="content",t.termsTmceId="description";function l(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function u(e){if(!l())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function c(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",function(a){var o=a.editor;o.id===e&&(0,r.forEach)(t,function(e){o.on(e,n)})})}function d(){(0,r.isUndefined)(s)||s.dispatch((0,i.setMarkerStatus)("disabled"))}function p(){(0,r.isUndefined)(s)||s.dispatch((0,i.setMarkerStatus)("enabled"))}function f(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAnalysisData=function(e){return{type:r,data:e}},t.runAnalysis=function(){return{type:a,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",a=t.RUN_ANALYSIS="RUN_ANALYSIS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEditorDataContent=function(e){return{type:r,content:e}},t.setEditorDataTitle=function(e){return{type:a,title:e}},t.setEditorDataExcerpt=function(e){return{type:o,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:i,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",a=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",o=t.SET_EDITOR_DATA_EXCERPT="SET_EDITOR_DATA_EXCERPT",i=t.SET_EDITOR_DATA_IMAGE_URL="SET_EDITOR_DATA_IMAGE_URL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openEditorModal=function(e){return{type:r,modalKey:e}},t.closeEditorModal=function(){return{type:a}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",a=t.CLOSE_EDITOR_MODAL="CLOSE_MODAL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:a,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:o}};var r=t.MODAL_DISMISS="MODAL_DISMISS",a=t.MODAL_OPEN="MODAL_OPEN",o=t.MODAL_OPEN_NO_KEYPHRASE="MODAL_OPEN_NO_KEYPHRASE"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCloseEvent=void 0;var r=n(3),a=n(4),o=u(n(38)),i=u(n(1)),s=u(n(113)),l=n(14);function u(e){return e&&e.__esModule?e:{default:e}}var c=t.isCloseEvent=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},d=function(e){var t=e.id,n=e.postTypeName,i=e.children,u=e.title,d=e.isOpen,p=e.close,f=e.open,m=(0,a.useCallback)(function(e){c(e)&&p()},[p]);return wp.element.createElement(a.Fragment,null,d&&wp.element.createElement(l.LocationProvider,{value:"modal"},wp.element.createElement(o.default,{title:u,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},wp.element.createElement("div",{className:"yoast-content-container"},wp.element.createElement("div",{className:"yoast-modal-content"},i)),wp.element.createElement("div",{className:"yoast-notice-container"},wp.element.createElement("hr",null),wp.element.createElement("div",{className:"yoast-button-container"},wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),wp.element.createElement("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},(0,r.sprintf)((0,r.__)("Return to your %s","wordpress-seo"),n)))))),wp.element.createElement(s.default,{id:t+"-open-button",title:u,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};d.propTypes={id:i.default.string.isRequired,postTypeName:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,title:i.default.string.isRequired,isOpen:i.default.bool.isRequired,open:i.default.func.isRequired,close:i.default.func.isRequired},t.default=d},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(2),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(39),i=n(79),s=n(80),l=".",u=":",c="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function f(e,t,n,r){var o,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===a)return n(r,e,""===t?l+p(e,0):t),1;var m=0,y=""===t?l:t+u;if(Array.isArray(e))for(var h=0;h<e.length;h++)m+=f(o=e[h],y+p(o,h),n,r);else{var _=function(e){var t=e&&(c&&e[c]||e[d]);if("function"==typeof t)return t}(e);if(_){0;for(var g,v=_.call(e),w=0;!(g=v.next()).done;)m+=f(o=g.value,y+p(o,w++),n,r)}else if("object"===s){0;var b=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return m}var m=/\/+/g;function y(e){return(""+e).replace(m,"$&/")}var h=_,_=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var a=e.result,i=e.keyPrefix,s=e.func,l=e.context,u=s.call(l,t,e.count++);Array.isArray(u)?b(u,a,n,o.thatReturnsArgument):null!=u&&(r.isValidElement(u)&&(u=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(u,i+(!u.key||t&&t.key===u.key?"":y(u.key)+"/")+n)),a.push(u))}function b(e,t,n,r,a){var o="";null!=n&&(o=y(n)+"/");var i=v.getPooled(t,o,r,a);!function(e,t,n){null==e||f(e,"",t,n)}(e,w,i),v.release(i)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||h,n.poolSize||(n.poolSize=10),n.release=g}(v,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)});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)b(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,a,o,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,o,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(39);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openMedia=function(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()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkFieldsShape=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.linkFieldsShape=i.default.shape({value:i.default.string.isRequired,onChange:i.default.func.isRequired});t.default=function(e){return function(t){return function(n){function s(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));n.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(n,t)})}),n.state=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,o.Component),a(s,[{key:"onChange",value:function(e,t){var n=this;this.setState(r({},this.state,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,r({},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,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return wp.element.createElement(t,r({},a,this.state),n)}}],[{key:"propTypes",get:function(){return{children:i.default.node}}}]),s}()}}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalIcon=t.ModalContainer=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),a=n(5),o=n(6);t.ModalContainer=r.default.div.withConfig({displayName:"Container__ModalContainer",componentId:"sc-1onoh63-0"})(["min-width:600px;@media screen and ( max-width:680px ){min-width:0;width:86vw;}"]),t.ModalIcon=(0,r.default)(a.Icon).withConfig({displayName:"Container__ModalIcon",componentId:"sc-1onoh63-1"})(["float:",";margin:",";&&{width:150px;height:150px;@media screen and ( max-width:680px ){width:80px;height:80px;}}"],(0,o.getDirectionalStyle)("right","left"),(0,o.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=s(n(1)),o=n(28),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.target,n=e.scoreIndicator;return wp.element.createElement(i.default,{target:t},wp.element.createElement(r.SvgIcon,(0,o.getIconForScore)(n)))};l.propTypes={target:a.default.string.isRequired,scoreIndicator:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(20)),i=u(n(1)),s=u(n(8)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.ul.withConfig({displayName:"UpsellBox__StyledList",componentId:"gjf66g-0"})(['list-style:none;margin:0 0 16px;padding:0;li{margin:5px 0 0 0;padding-left:16px;}span[aria-hidden="true"]:before{margin:0 8px 0 -16px;font-weight:bold;content:"+";}']),d=s.default.small.withConfig({displayName:"UpsellBox__ButtonLabel",componentId:"gjf66g-1"})(["display:block;"]),p=(0,l.makeOutboundLink)(),f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"createBenefitsList",value:function(e){return e.length>0&&wp.element.createElement(c,{role:"list"},e.map(function(e,t){return wp.element.createElement("li",{key:t},wp.element.createElement("span",{"aria-hidden":"true"}),(0,o.default)({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:wp.element.createElement("strong",null)}}))}))}},{key:"createInfoParagraphs",value:function(e){return e.map(function(e,t){return wp.element.createElement("p",{key:t},e)})}},{key:"render",value:function(){return wp.element.createElement("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),wp.element.createElement(p,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(d,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();f.propTypes={benefits:i.default.array,infoParagraphs:i.default.array,upsellButton:i.default.object,upsellButtonText:i.default.string.isRequired,upsellButtonLabel:i.default.string,upsellButtonHasCaret:i.default.bool},f.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){var t=e.children;return wp.element.createElement("div",null,t)};a.propTypes={renderPriority:r.default.number.isRequired,children:r.default.node.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(1)),i=u(n(172)),s=n(173),l=n(59);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeField:"",hoveredField:""},n.setHoveredField=n.setHoveredField.bind(n),n.setActiveField=n.setActiveField.bind(n),n.setEditorRef=n.setEditorRef.bind(n),n.setEditorFocus=n.setEditorFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{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,l=e.socialMediumName,u=e.imageWarnings,c=e.description,d=e.descriptionInputPlaceholder,p=e.imageUrl,f=e.title,m=e.titleInputPlaceholder,y=e.replacementVariables,h=e.recommendedReplacementVariables,_=e.isPremium,g=e.location;return wp.element.createElement(a.Fragment,null,wp.element.createElement(i.default,{socialMediumName:l}),wp.element.createElement(s.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:l,title:f,titleInputPlaceholder:m,onRemoveImageClick:o,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:u,replacementVariables:y,recommendedReplacementVariables:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),t}();c.propTypes={title:o.default.string.isRequired,onTitleChange:o.default.func.isRequired,description:o.default.string.isRequired,onDescriptionChange:o.default.func.isRequired,imageUrl:o.default.string.isRequired,onSelectImageClick:o.default.func.isRequired,onRemoveImageClick:o.default.func.isRequired,socialMediumName:o.default.string.isRequired,isPremium:o.default.bool,imageWarnings:o.default.array,descriptionInputPlaceholder:o.default.string,titleInputPlaceholder:o.default.string,replacementVariables:l.replacementVariablesShape,recommendedReplacementVariables:l.recommendedReplacementVariablesShape,location:o.default.string},c.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(17),o=n(8),i=n(14);var s=function(e){var t=e.store,n=e.theme,r=e.location,s=e.children;return wp.element.createElement(i.LocationProvider,{value:r},wp.element.createElement(o.ThemeProvider,{theme:n},wp.element.createElement(a.Provider,{store:t},s)))};s.propTypes={store:r.default.object.isRequired,theme:r.default.object.isRequired,location:r.default.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.default.element.isRequired},t.default=s},,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=function(e){return wp.element.createElement("div",{className:"yoast components-panel__body"},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&wp.element.createElement(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.default=o,o.propTypes={onClick:a.default.func.isRequired,title:a.default.string.isRequired,id:a.default.string,subTitle:a.default.string,suffixIcon:a.default.object},o.defaultProps={id:"",suffixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=u(n(1)),o=n(77),i=n(4),s=n(11),l=u(n(28));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props.results;return n.state={mappedResults:{}},null!==r&&(n.state={mappedResults:(0,l.default)(r,n.props.keywordKey)}),n.handleMarkButtonClick=n.handleMarkButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:(0,l.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?this.props.keywordKey+":"+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 s.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,s=e.problemsResults;return wp.element.createElement(i.Fragment,null,wp.element.createElement(o.ContentAnalysis,{errorsResults:t,problemsResults:s,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),t}();c.propTypes={results:a.default.array,marksButtonClassName:a.default.string,marksButtonStatus:a.default.string,setActiveMarker:a.default.func.isRequired,setMarkerPauseStatus:a.default.func.isRequired,activeMarker:a.default.string,keywordKey:a.default.string},c.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(1)),a=s(n(8)),o=n(5),i=n(6);function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,a.default)(o.StyledSection).withConfig({displayName:"SnippetPreviewSection__Section",componentId:"gjy5w5-0"})(["&","{padding:0;& ","{",":20px;margin-left:",";}}"],o.StyledSectionBase,o.StyledHeading,(0,i.getDirectionalStyle)("padding-left","padding-right"),(0,i.getDirectionalStyle)("0","20px")),u=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle;return wp.element.createElement(l,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a},t)};u.propTypes={children:r.default.element,title:r.default.string,icon:r.default.string,hasPaperStyle:r.default.bool},u.defaultProps={hasPaperStyle:!0},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaTypeOptionsPropType=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(3),i=n(5),s=c(n(1)),l=n(84),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.initialPageType=e.pageType.value,n.initialArticleType=e.articleType?e.articleType.value:"None",n.state={schema_page_type:n.initialPageType,schema_article_type:n.initialArticleType},n.handleOptionFocus=n.handleOptionFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{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(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))}},{key:"render",value:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(i.FieldGroup,{label:(0,o.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:(0,o.__)("Learn more about the schema settings","wordpress-seo"),description:(0,o.sprintf)((0,o.__)("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()&&wp.element.createElement(i.Alert,{type:"warning"},(0,o.sprintf)((0,o._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)),wp.element.createElement(i.Select,{id:"schema-page-type-"+this.props.postType,name:"schema_page_type",options:this.props.pageTypeOptions,label:(0,o.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&wp.element.createElement(i.Select,{id:"schema-article-type-"+this.props.postType,name:"schema_article_type",options:this.props.articleTypeOptions,label:(0,o.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),t}(),p=t.schemaTypeOptionsPropType=s.default.arrayOf(s.default.shape({name:s.default.string,value:s.default.string}));d.propTypes={postType:s.default.string.isRequired,postTypeName:s.default.string.isRequired,pageType:l.linkFieldsShape.isRequired,articleType:l.linkFieldsShape,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},d.defaultProps={articleType:null},t.default=(0,u.default)(function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]})(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(118));t.default=(0,a.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,l=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:i(),isPending:s(),requestHasData:l(),lastRequestKeyphrase:u()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasError=h,t.getUserMessage=_,t.hasMaximumRelatedKeyphrases=g,t.default=v;var r=n(4),a=n(3),o=y(n(1)),i=n(0),s=y(n(119)),l=y(n(120)),u=y(n(121)),c=y(n(122)),d=y(n(125)),p=y(n(126)),f=y(n(127)),m=y(n(9));function y(e){return e&&e.__esModule?e:{default:e}}function h(e){return!(0,i.isEmpty)(e)&&"error"in e}function _(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,o=e.response,i=e.requestHasData;return t?wp.element.createElement(s.default,null):n?wp.element.createElement(l.default,null):!r&&h(o)?wp.element.createElement(p.default,null):i?void 0:wp.element.createElement("p",null,(0,a.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}function g(e){return e&&e.length>=4}function v(e){var t=e.response,n=e.lastRequestKeyphrase,a=e.keyphrase,o=e.newRequest,i=e.setCountry,s=e.renderAction,l=e.countryCode,p=e.requestLimitReached,y=e.setRequestFailed,h=e.setNoResultsFound,v=e.relatedKeyphrases,w=e.setRequestSucceeded,b=e.setRequestLimitReached,E=(0,m.default)().isPremium;return wp.element.createElement(r.Fragment,null,!p&&wp.element.createElement(r.Fragment,null,!E&&wp.element.createElement(d.default,null),E&&g(v)&&wp.element.createElement(f.default,null),wp.element.createElement(u.default,{countryCode:l,setCountry:i,newRequest:o,keyphrase:a,setRequestFailed:y,setNoResultsFound:h,setRequestSucceeded:w,setRequestLimitReached:b,response:t,lastRequestKeyphrase:n})),_(e),wp.element.createElement(c.default,{keyphrase:a,relatedKeyphrases:v,countryCode:l,renderAction:s,data:t}))}v.propTypes={keyphrase:o.default.string,relatedKeyphrases:o.default.array,renderAction:o.default.func,requestLimitReached:o.default.bool,countryCode:o.default.string.isRequired,setCountry:o.default.func.isRequired,newRequest:o.default.func.isRequired,setRequestSucceeded:o.default.func.isRequired,setRequestLimitReached:o.default.func.isRequired,setRequestFailed:o.default.func.isRequired,setNoResultsFound:o.default.func.isRequired,response:o.default.object,lastRequestKeyphrase:o.default.string},v.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,r.sprintf)((0,r.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","SEMrush")," ",wp.element.createElement(a.SvgIcon,{icon:"loading-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(4),o=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"SEMrush")),wp.element.createElement(o,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,r.sprintf)((0,r.__)("Upgrade your %s plan","wordpress-seo"),"SEMrush"),wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEMrushCountrySelector=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(1)),o=n(4),i=c(n(55)),s=n(56),l=n(3),u=n(5);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var p="yoast-semrush-country-selector",f=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.relatedKeyphrasesRequest=n.relatedKeyphrasesRequest.bind(n),n.onChangeHandler=n.onChangeHandler.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){(0,i.default)({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t,n,r,a;return regeneratorRuntime.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)}));return function(){return e.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:function(){var e=d(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.default)({path:(0,s.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,this)}));return function(t,n){return e.apply(this,arguments)}}()},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return wp.element.createElement("div",{id:p},wp.element.createElement(u.SingleSelect,{id:p+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:f,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),wp.element.createElement(u.NewButton,{id:p+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}]),t}();m.propTypes={keyphrase:a.default.string,countryCode:a.default.string,response:a.default.object,lastRequestKeyphrase:a.default.string,setCountry:a.default.func.isRequired,newRequest:a.default.func.isRequired,setNoResultsFound:a.default.func.isRequired,setRequestSucceeded:a.default.func.isRequired,setRequestLimitReached:a.default.func.isRequired,setRequestFailed:a.default.func.isRequired},m.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};t.SEMrushCountrySelector=function(e){return wp.element.createElement(u.ErrorBoundary,null,wp.element.createElement(m,e))},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=d(n(1)),o=n(4),i=n(3),s=n(0),l=n(6),u=d(n(123)),c=d(n(33));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,l.makeOutboundLink)(),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.transformTrendDataToChartPoints=n.transformTrendDataToChartPoints.bind(n),n.getAreaChartDataTableHeaderLabels=n.getAreaChartDataTableHeaderLabels.bind(n),n.mapAreaChartDataToTableData=n.mapAreaChartDataToTableData.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map(function(e,t){return{x:t,y:parseFloat(e)}})}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[(0,i.__)("Twelve months ago","wordpress-seo"),(0,i.__)("Eleven months ago","wordpress-seo"),(0,i.__)("Ten months ago","wordpress-seo"),(0,i.__)("Nine months ago","wordpress-seo"),(0,i.__)("Eight months ago","wordpress-seo"),(0,i.__)("Seven months ago","wordpress-seo"),(0,i.__)("Six months ago","wordpress-seo"),(0,i.__)("Five months ago","wordpress-seo"),(0,i.__)("Four months ago","wordpress-seo"),(0,i.__)("Three months ago","wordpress-seo"),(0,i.__)("Two months ago","wordpress-seo"),(0,i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,l=t.data,d=t.renderAction,f="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return l&&!(0,s.isEmpty)(l.results)&&wp.element.createElement(o.Fragment,null,wp.element.createElement("table",{className:"yoast yoast-table"},wp.element.createElement("thead",null,wp.element.createElement("tr",null,wp.element.createElement("th",{scope:"col",className:"yoast-table--primary"},(0,i.__)("Related keyphrase","wordpress-seo")),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Volume","wordpress-seo")},(0,i.__)("Volume","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Trend","wordpress-seo")},(0,i.__)("Trend","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"}))),wp.element.createElement("tbody",null,l.results.rows.map(function(t,n){var a=t[0],o=e.transformTrendDataToChartPoints(t[2]),s=e.getAreaChartDataTableHeaderLabels();return wp.element.createElement("tr",{key:n},wp.element.createElement("td",null,a),wp.element.createElement("td",null,t[1]),wp.element.createElement("td",{className:"yoast-table--nopadding"},wp.element.createElement(u.default,{width:66,height:24,data:o,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:(0,i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"},d(a,r)))}))),wp.element.createElement("p",{style:{marginBottom:0}},wp.element.createElement(p,{href:f},(0,i.sprintf)((0,i.__)("Get more insights at %s","wordpress-seo"),"SEMrush"))))}}]),t}();f.propTypes={data:a.default.object,keyphrase:a.default.string,relatedKeyphrases:a.default.array,countryCode:a.default.string,renderAction:a.default.func},f.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(1)),a=n(4),o=i(n(124));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var l=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,l=e.strokeColor,u=e.strokeWidth,c=e.className,d=e.mapChartDataToTableData,p=e.dataTableCaption,f=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,y=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.x})))),h=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.y})))),_=r-u,g=t.map(function(e){return e.x/y*n+","+(_-e.y/h*_+u)}).join(" "),v="0,"+(_+u)+" "+g+" "+n+","+(_+u);return wp.element.createElement(a.Fragment,null,wp.element.createElement("svg",{width:n,height:r,viewBox:"0 0 "+n+" "+r,className:c,role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement("polygon",{fill:i,points:v}),wp.element.createElement("polyline",{fill:"none",stroke:l,strokeWidth:u,strokeLinejoin:"round",strokeLinecap:"round",points:g})),d&&wp.element.createElement(o.default,{data:t,mapChartDataToTableData:d,dataTableCaption:p,dataTableHeaderLabels:f,isDataTableVisuallyHidden:m}))};l.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,width:r.default.number.isRequired,height:r.default.number.isRequired,fillColor:r.default.string,strokeColor:r.default.string,strokeWidth:r.default.number,className:r.default.string,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(3);var o=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,o=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==o.length?wp.element.createElement("p",null,(0,a.__)("The number of headers and header labels don't match.","wordpress-seo")):wp.element.createElement("div",{className:i?"screen-reader-text":null},wp.element.createElement("table",null,wp.element.createElement("caption",null,r),wp.element.createElement("thead",null,wp.element.createElement("tr",null,o.map(function(e,t){return wp.element.createElement("th",{key:t},e)}))),wp.element.createElement("tbody",null,wp.element.createElement("tr",null,t.map(function(e,t){return wp.element.createElement("td",{key:t},n(e.y))})))))};o.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},o.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5),o=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(a.Alert,{type:"info"},(0,r.sprintf)((0,r.__)("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")+" ",wp.element.createElement(o,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,r.sprintf)((0,r.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement(a.Alert,{type:"error"},(0,r.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement(a.Alert,{type:"warning"},(0,r.sprintf)((0,r.__)("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"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tinyMCEDecorator=l,t.editorHasMarks=function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+i)},t.editorRemoveMarks=function(e){l(e)(null,[])};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),a=n(0);var o=r.default.markers.removeMarks,i="yoastmark";function s(e,t,n){var r=e.dom,s=e.getContent();s=o(s),(0,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 l=r.select(i);(0,a.forEach)(l,function(e){e.setAttribute("data-mce-bogus","1")})}function l(e){return window.test=e,s.bind(null,e)}},,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=s(n(159)),i=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.compose)([(0,a.withSelect)(function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),(0,a.withDispatch)(function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}}),(0,i.default)()])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordInput=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(12),i=n(3),s=y(n(1)),l=n(17),u=n(15),c=y(n(8)),d=n(16),p=y(n(33)),f=n(14),m=y(n(161));function y(e){return e&&e.__esModule?e:{default:e}}var h=c.default.div.withConfig({displayName:"KeywordInput__KeywordInputContainer",componentId:"sc-16tnggn-0"})(["padding:16px;border-bottom:1px solid transparent;"]),_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validate=n.validate.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,i.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,i.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,i.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,n=this.validate();return wp.element.createElement(f.LocationConsumer,null,function(r){return wp.element.createElement("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},wp.element.createElement(h,{location:r},wp.element.createElement(u.KeywordInput,{id:"focus-keyword-input-"+r,onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:(0,i.__)("Focus keyphrase","wordpress-seo"),helpLink:t.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:n.length>0,errorMessages:n}),e.props.isSEMrushIntegrationActive&&wp.element.createElement(m.default,{location:r,keyphrase:e.props.keyword})),wp.element.createElement(o.Slot,{name:"YoastAfterKeywordInput"+(r.charAt(0).toUpperCase()+r.slice(1))}))})}}],[{key:"renderHelpLink",value:function(){return wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),t}();_.propTypes={keyword:s.default.string,onFocusKeywordChange:s.default.func.isRequired,onFocusKeyword:s.default.func.isRequired,onBlurKeyword:s.default.func.isRequired,isSEMrushIntegrationActive:s.default.bool,displayNoKeyphraseMessage:s.default.bool},_.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.KeywordInput=_,t.default=(0,l.connect)(function(e){return{keyword:e.focusKeyword,displayNoKeyphraseMessage:e.SEMrushModal.displayNoKeyphraseMessage}},function(e){return{onFocusKeywordChange:function(t){e((0,d.setFocusKeyword)(t))},onFocusKeyword:function(){e((0,d.setMarkerPauseStatus)(!0))},onBlurKeyword:function(){e((0,d.setMarkerPauseStatus)(!1))}}})(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=n(7),s=v(n(1)),l=v(n(8)),u=n(3),c=n(0),d=v(n(96)),p=v(n(61)),f=v(n(31)),m=v(n(27)),y=n(28),h=n(14),_=v(n(33)),g=v(n(164));function v(e){return e&&e.__esModule?e:{default:e}}var w=l.default.span.withConfig({displayName:"ReadabilityAnalysis__AnalysisHeader",componentId:"z9f9eh-0"})(["font-size:1em;font-weight:bold;margin:0 0 8px;display:block;"]),b=l.default.div.withConfig({displayName:"ReadabilityAnalysis__ReadabilityResultsTabContainer",componentId:"z9f9eh-1"})(["padding:16px;"]),E=(0,l.default)(_.default).withConfig({displayName:"ReadabilityAnalysis__StyledHelpLink",componentId:"z9f9eh-2"})(["margin:-8px 0 -4px 4px;"]),T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"renderResults",value:function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(w,null,(0,u.__)("Analysis results","wordpress-seo"),wp.element.createElement(E,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,u.__)("Learn more about the readability analysis","wordpress-seo")))),wp.element.createElement(p.default,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=(0,m.default)(this.props.overallScore);return(0,c.isNil)(this.props.overallScore)&&(t.className="loading"),wp.element.createElement(h.LocationConsumer,null,function(n){return"sidebar"===n?wp.element.createElement(f.default,{title:(0,u.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,y.getIconForScore)(t.className),prefixIconCollapsed:(0,y.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-"+n},e.renderResults()):"metabox"===n?wp.element.createElement(g.default,{target:"wpseo-metabox-readability-root"},wp.element.createElement(b,null,wp.element.createElement(d.default,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0})}}]),t}();T.propTypes={results:s.default.array.isRequired,marksButtonStatus:s.default.string.isRequired,overallScore:s.default.number},T.defaultProps={overallScore:null},t.default=(0,i.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,a=t.getMarkButtonStatus;return r({},n(),{marksButtonStatus:a()})})(T)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=k(n(1)),i=n(17),s=k(n(8)),l=n(3),u=n(5),c=n(18),d=k(n(96)),p=k(n(31)),f=k(n(34)),m=k(n(61)),y=k(n(27)),h=n(28),_=k(n(165)),g=k(n(166)),v=k(n(167)),w=n(14),b=k(n(168)),E=n(95),T=k(n(169));function k(e){return e&&e.__esModule?e:{default:e}}var O=s.default.span.withConfig({displayName:"SeoAnalysis__AnalysisHeader",componentId:"sc-18qlxmf-0"})(["font-size:1em;font-weight:bold;margin:1.5em 0 1em;display:block;"]),S=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,l.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),wp.element.createElement(_.default,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,l.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add a related keyphrase?","wordpress-seo")),wp.element.createElement(v.default,{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=f.default;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=p.default),wp.element.createElement(r,{prefixIcon:{icon:"plus",color:c.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:c.colors.$color_grey_medium_dark},title:(0,l.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},wp.element.createElement(v.default,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return wp.element.createElement(b.default,{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:wp.element.createElement(d.default,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=(0,y.default)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=(0,l.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),wp.element.createElement(w.LocationConsumer,null,function(n){var r="metabox"===n?f.default:p.default;return wp.element.createElement(a.Fragment,null,wp.element.createElement(r,{title:(0,l.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,h.getIconForScore)(t.className),prefixIconCollapsed:(0,h.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-"+n},wp.element.createElement(T.default,{location:n}),e.props.shouldUpsell&&wp.element.createElement(a.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),wp.element.createElement(O,null,(0,l.__)("Analysis results","wordpress-seo")),wp.element.createElement(m.default,{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))})}}]),t}();S.propTypes={results:o.default.array,marksButtonStatus:o.default.string,keyword:o.default.string,shouldUpsell:o.default.bool,shouldUpsellWordFormRecognition:o.default.bool,overallScore:o.default.number},S.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.default=(0,i.connect)(function(e,t){var n=t.hideMarksButtons?"disabled":e.marksButtonStatus,r=e.focusKeyword,a=[],o=null;return e.analysis.seo[r]&&(a=e.analysis.seo[r].results,o=e.analysis.seo[r].overallScore),{results:a,marksButtonStatus:n,keyword:r,overallScore:o}})(S)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(10),o=n(7),i=n(4),s=n(3),l=p(n(1)),u=p(n(175)),c=p(n(49)),d=p(n(32));function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=null!==c.default.articleTypeInput;(0,i.useEffect)(function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);var n=window.wpseoScriptData.metabox.schema,a=n.pageTypeOptions,o=n.articleTypeOptions,l={articleTypeLabel:(0,s.__)("Article type","wordpress-seo"),pageTypeLabel:(0,s.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,s.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,s.__)("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:a,articleTypeOptions:o},d=r({},e,l,function(e){return"metabox"===e?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1}}(e.location));return wp.element.createElement(u.default,d)};f.propTypes={displayFooter:l.default.bool.isRequired,schemaPageTypeSelected:l.default.string.isRequired,schemaArticleTypeSelected:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,defaultPageType:l.default.string.isRequired,loadSchemaPageData:l.default.func.isRequired,loadSchemaArticleData:l.default.func.isRequired,schemaPageTypeChange:l.default.func.isRequired,schemaArticleTypeChange:l.default.func.isRequired,location:l.default.string.isRequired},t.default=(0,a.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:i(),defaultPageType:a()}}),(0,o.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}}),(0,d.default)()])(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(176));t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,l=t.getEditorContext,u=(0,t.getPreferences)(),c=u.isBreadcrumbsDisabled,d=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:i(),isLoading:s(),editorContext:l(),isBreadcrumbsDisabled:c,isPrivateBlog:d}}),(0,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}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e.length)return e;return(0,r.flatten)(e).sort(function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority})};var r=n(0)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),o=s(n(177)),i=s(n(178));function s(e){return e&&e.__esModule?e:{default:e}}var l={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop},u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.determineActivePageBuilders()}return r(e,[{key:"determineActivePageBuilders",value:function(){o.default.isActive()&&(this.diviActive=!0),i.default.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){(this.callbacks=(0,a.defaults)(e,l),this.diviActive)&&(new o.default).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!o.default.isTinyMCEHidden())}}]),e}();t.default=u},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(3),a=n(5),o=n(6),i=c(n(1)),s=c(n(160)),l=c(n(34)),u=c(n(31));function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,o.makeOutboundLink)();function p(e){var t=e.isCornerstone,n=e.onChange,i=e.learnMoreUrl,c=e.location,p="metabox"===c?l.default:u.default;return wp.element.createElement(p,{id:(0,o.join)(["yoast-cornerstone-collapsible",c]),title:(0,r.__)("Cornerstone content","wordpress-seo")},wp.element.createElement(a.HelpText,null,(0,r.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",wp.element.createElement(d,{href:i},(0,r.__)("Learn more about Cornerstone Content.","wordpress-seo"))),wp.element.createElement(s.default,{id:(0,o.join)(["yoast-cornerstone",c]),isEnabled:t,onToggle:n}))}p.propTypes={isCornerstone:i.default.bool,onChange:i.default.func,learnMoreUrl:i.default.string.isRequired,location:i.default.string},p.defaultProps={isCornerstone:!0,onChange:function(){},location:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(1)),i=u(n(8)),s=n(5),l=n(3);function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.div.withConfig({displayName:"CornerstoneToggle__Cornerstone",componentId:"sc-5dq4y-0"})(["display:flex;margin-top:8px;"]),d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"render",value:function(){return wp.element.createElement(c,null,wp.element.createElement(s.Toggle,{id:this.props.id,labelText:(0,l.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),t}();d.propTypes={id:o.default.string,isEnabled:o.default.bool,onToggle:o.default.func,onToggleDisabled:o.default.func},d.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(162));t.default=(0,a.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}}),(0,r.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)}}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(12),i=m(n(55)),s=n(3),l=m(n(1)),u=n(5),c=n(95),d=m(n(38)),p=m(n(163)),f=n(76);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onModalOpen=n.onModalOpen.bind(n),n.onModalClose=n.onModalClose.bind(n),n.onLinkClick=n.onLinkClick.bind(n),n.listenToMessages=n.listenToMessages.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){(0,f.isCloseEvent)(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:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.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)}));return function(t){return e.apply(this,arguments)}}()},{key:"performAuthenticationRequest",value:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r,a;return regeneratorRuntime.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,(0,i.default)({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]])}));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,i=e.isLoggedIn;return wp.element.createElement(a.Fragment,null,i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-"+n,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&wp.element.createElement(d.default,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:wp.element.createElement(p.default,null),additionalClassName:"yoast-related-keyphrases-modal"},wp.element.createElement(c.ModalContainer,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},wp.element.createElement(o.Slot,{name:"YoastRelatedKeyphrases"}))),!i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-"+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},(0,s.__)("Get related keyphrases","wordpress-seo"),wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),t}();h.propTypes={keyphrase:l.default.string,location:l.default.string,whichModalOpen:l.default.oneOf(["none","metabox","sidebar"]),isLoggedIn:l.default.bool,onOpen:l.default.func.isRequired,onOpenWithNoKeyphrase:l.default.func.isRequired,onClose:l.default.func.isRequired,onAuthentication:l.default.func.isRequired},h.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1},t.default=h},function(e,t,n){var r=n(2);function a(e){return r.createElement("svg",e,[r.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-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 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.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 0 0-56.45-81.28z",key:0}),r.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81",key:1})])}a.defaultProps={viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e.exports=a,a.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=o(n(19)),a=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.target,n=e.children;return wp.element.createElement(r.default,{target:t},n)}i.propTypes={target:a.default.string.isRequired,children:a.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),a=n(3),o=n(6),i=l(n(1)),s=l(n(97));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,o.makeOutboundLink)(),c=function(e){var t=(0,a.sprintf)((0,a.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),o=["<strong>"+(0,a.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,a.__)("No ads!","wordpress-seo")+"</strong>"],i=(0,a.sprintf)((0,a.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,i],benefits:o,upsellButtonText:(0,a.sprintf)((0,a.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,a.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:i.default.string.isRequired,buyLink:i.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(38),o=d(a),i=n(4),s=d(n(1)),l=d(n(8)),u=n(3),c=n(5);function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default.button.withConfig({displayName:"SeoAnalysisModal__StyledButton",componentId:"sc-62v5uw-0"})(["&&{display:flex;align-items:center;}.yoast-svg-icon{margin:1px 7px 0 0;fill:currentColor;}"]),f={open:(0,u.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,u.__)("Close","wordpress-seo"),closeButton:""},m=function(e){var t=(0,i.useState)(!1),n=r(t,2),a=n[0],s=n[1],l=Object.assign({},f,e.labels),u=(0,i.useCallback)(function(){return s(!1)},[]),d=(0,i.useCallback)(function(){return s(!0)},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(p,{type:"button",onClick:d,className:e.classes.openButton+" yoast-modal__button-open"},e.openButtonIcon&&wp.element.createElement(c.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),l.open),a&&wp.element.createElement(o.default,{onRequestClose:u,className:e.className,title:l.heading},e.children))};m.propTypes={openButtonIcon:s.default.string,labels:s.default.shape({open:s.default.string,modalAriaLabel:s.default.string.isRequired,heading:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}).isRequired,classes:s.default.shape({openButton:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}),className:s.default.string,children:s.default.any.isRequired},m.defaultProps={className:a.defaultModalClassName,openButtonIcon:"",classes:{}},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),a=n(6),o=n(3),i=l(n(97)),s=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.makeOutboundLink)(),c=function(e){var t=(0,o.sprintf)((0,o.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(0,o.sprintf)((0,o.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,o.__)("No ads!","wordpress-seo")+"</strong>"],a=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),s=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(i.default,{infoParagraphs:[a,s],benefits:n,upsellButtonText:(0,o.sprintf)((0,o.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,o.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:s.default.string.isRequired,buyLink:s.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(1)),a=u(n(8)),o=n(3),i=n(6),s=n(18),l=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var c=a.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer",componentId:"sc-1qakqs0-0"})(["color:",";margin:0;padding-right:8px;"],s.colors.$color_upsell_text),d=a.default.div.withConfig({displayName:"AnalysisUpsell__Container",componentId:"sc-1qakqs0-1"})(["font-size:1em;display:flex;flex-direction:",";",":4px solid ",";margin:16px 0;padding:0 0 0 8px;max-width:600px;> ","{margin-bottom:",";}"],function(e){return"horizontal"===e.alignment?"row":"column"},(0,i.getDirectionalStyle)("border-left","border-right"),s.colors.$color_pink_dark,c,function(e){return"vertical"===e.alignment&&"16px"}),p=(0,a.default)(l.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret",componentId:"sc-1qakqs0-2"})(["margin:",";transform:",";"],(0,i.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),(0,i.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),f=(0,i.makeOutboundLink)(l.UpsellLinkButton),m=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(d,{alignment:t},wp.element.createElement(c,null,(0,o.sprintf)((0,o.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),wp.element.createElement("div",null,wp.element.createElement(f,{href:n,className:"UpsellLinkButton"},(0,o.sprintf)((0,o.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(p,{icon:"arrow-right",size:"8px",color:s.colors.$color_black}))))};m.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},m.defaultProps={alignment:"vertical"},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(12),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function o(e){var t=e.location;return wp.element.createElement(r.Slot,{name:"yoast-synonyms-"+t})}o.propTypes={location:a.default.string.isRequired}},function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(12),o=s(n(1)),i=s(n(99));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(a.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:o.default.bool.isRequired,onLoad:o.default.func.isRequired,location:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=c(n(8)),o=c(n(20)),i=c(n(1)),s=n(3),l=n(5),u=n(6);function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,a.default)(l.Alert).withConfig({displayName:"SocialUpsell__PremiumInfoText",componentId:"sc-113ceom-0"})(["p{margin:0;}"]),p=(0,u.makeOutboundLink)(),f=function(e){var t=(0,s.sprintf)((0,s.__)("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=(0,s.sprintf)((0,s.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(r.Fragment,null,wp.element.createElement(d,{type:"info"},(0,o.default)({mixedString:t,components:{strong:wp.element.createElement("b",null)}}),wp.element.createElement("br",null),wp.element.createElement(p,{href:"https://yoast.com/reasons-to-upgrade/"},wp.element.createElement("p",null,n))))};f.propTypes={socialMediumName:i.default.oneOf(["Twitter","Facebook"]).isRequired},t.default=f},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(12),o=s(n(1)),i=s(n(99));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(a.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:o.default.bool.isRequired,onLoad:o.default.func.isRequired,location:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(3),o=n(5),i=n(6),s=d(n(20)),l=d(n(1)),u=d(n(8)),c=n(116);function d(e){return e&&e.__esModule?e:{default:e}}var p=u.default.div.withConfig({displayName:"SchemaTab__SchemaContainer",componentId:"sc-166btxs-0"})(["padding:16px;"]),f=function(e,t,n){var r=e.find(function(e){return e.value===t});return[{name:(0,a.sprintf)((0,a.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))},m=function(e){return(0,s.default)({mixedString:function(e){return(0,a.sprintf)((0,a.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")}(e),components:{link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}})},y=function(e){var t=f(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=f(e.articleTypeOptions,e.defaultArticleType,e.postTypeName);return wp.element.createElement(r.Fragment,null,wp.element.createElement(o.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:(0,a.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription}),wp.element.createElement(o.FieldGroup,{label:(0,a.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:(0,a.__)("Learn more about page or content types","wordpress-seo")}),wp.element.createElement(o.Select,{id:(0,i.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,a.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&wp.element.createElement(o.Select,{id:(0,i.join)(["yoast-schema-article-type",e.location]),options:n,label:(0,a.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&wp.element.createElement("p",null,m(e.postTypeName)))};y.propTypes={schemaPageTypeChange:l.default.func,schemaPageTypeSelected:l.default.string,pageTypeOptions:c.schemaTypeOptionsPropType.isRequired,schemaArticleTypeChange:l.default.func,schemaArticleTypeSelected:l.default.string,articleTypeOptions:c.schemaTypeOptionsPropType.isRequired,showArticleTypeInput:l.default.bool.isRequired,additionalHelpTextLink:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,defaultPageType:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,location:l.default.string.isRequired},y.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var h=function(e){return e.isMetabox?(0,r.createPortal)(wp.element.createElement(p,null,wp.element.createElement(y,e)),document.getElementById("wpseo-meta-section-schema")):wp.element.createElement(y,e)};h.propTypes={showArticleTypeInput:l.default.bool,articleTypeLabel:l.default.string,additionalHelpTextLink:l.default.string,pageTypeLabel:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,isMetabox:l.default.bool.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,loadSchemaArticleData:l.default.func.isRequired,loadSchemaPageData:l.default.func.isRequired,location:l.default.string.isRequired},h.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(3),o=n(5),i=n(6),s=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),l=n(14);var u=function(e){var t=(0,a.__)("No","wordpress-seo"),n=(0,a.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:(0,a.sprintf)((0,a.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:(0,a.sprintf)((0,a.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]},c=function(e){var t=e.noIndex,n=e.onNoIndexChange,s=e.editorContext,c=e.isPrivateBlog,d=u(s);return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(r.Fragment,null,c&&wp.element.createElement(o.Alert,{type:"warning"},(0,a.__)("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")),wp.element.createElement(o.Select,{label:(0,a.sprintf)((0,a.__)("Allow search engines to show this %s in search results?","wordpress-seo"),s.postTypeNameSingular),onChange:n,id:(0,i.join)(["yoast-meta-robots-noindex",e]),options:d,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:(0,a.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))})};c.propTypes={noIndex:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,editorContext:s.default.object.isRequired,isPrivateBlog:s.default.bool},c.defaultProps={isPrivateBlog:!1};var d=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return wp.element.createElement(l.LocationConsumer,null,function(e){var s=(0,i.join)(["yoast-meta-robots-nofollow",e]);return wp.element.createElement(o.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,a.sprintf)((0,a.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:s,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:(0,a.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};d.propTypes={noFollow:s.default.string.isRequired,onNoFollowChange:s.default.func.isRequired,postTypeName:s.default.string.isRequired};var p=function(e){var t=e.advanced,n=e.onAdvancedChange;return wp.element.createElement(l.LocationConsumer,null,function(e){var r=(0,i.join)(["yoast-meta-robots-advanced",e]),s=r+"-input";return wp.element.createElement(o.MultiSelect,{label:(0,a.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:s,options:[{name:(0,a.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,a.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,a.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:(0,a.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};p.propTypes={advanced:s.default.array.isRequired,onAdvancedChange:s.default.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(o.TextInput,{label:(0,a.__)("Breadcrumbs Title","wordpress-seo"),id:(0,i.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:(0,a.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})})};f.propTypes={breadcrumbsTitle:s.default.string.isRequired,onBreadcrumbsTitleChange:s.default.func.isRequired};var m=function(e){var t=e.canonical,n=e.onCanonicalChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(o.TextInput,{label:(0,a.__)("Canonical URL","wordpress-seo"),id:(0,i.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:(0,a.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})})};m.propTypes={canonical:s.default.string.isRequired,onCanonicalChange:s.default.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,a=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,l=e.onNoFollowChange,u=e.onAdvancedChange,y=e.onBreadcrumbsTitleChange,h=e.onCanonicalChange,_=e.onLoad,g=e.isLoading,v=e.editorContext,w=e.isBreadcrumbsDisabled,b=e.isPrivateBlog;(0,r.useEffect)(function(){setTimeout(function(){g&&_()})});var E={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:b},T={noFollow:n,onNoFollowChange:l,postTypeName:v.postTypeNameSingular},k={advanced:a,onAdvancedChange:u},O={breadcrumbsTitle:o,onBreadcrumbsTitleChange:y},S={canonical:i,onCanonicalChange:h};return g?null:wp.element.createElement(r.Fragment,null,wp.element.createElement(c,E),v.isPost&&wp.element.createElement(d,T),v.isPost&&wp.element.createElement(p,k),!w&&wp.element.createElement(f,O),wp.element.createElement(m,S))};y.propTypes={noIndex:s.default.string.isRequired,canonical:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,onCanonicalChange:s.default.func.isRequired,onLoad:s.default.func.isRequired,isLoading:s.default.bool.isRequired,editorContext:s.default.object.isRequired,isBreadcrumbsDisabled:s.default.bool.isRequired,isPrivateBlog:s.default.bool,advanced:s.default.array,onAdvancedChange:s.default.func,noFollow:s.default.string,onNoFollowChange:s.default.func,breadcrumbsTitle:s.default.string,onBreadcrumbsTitleChange:s.default.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1},t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"listen",value:function(e){(this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer)&&new MutationObserver(function(t){(0,a.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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}();t.default=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),a=n(5);t.default=(0,r.connect)(function(e){return{message:e.warning.message}})(a.Warning)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapEditorDataToPreview=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.mapStateToProps=f,t.mapDispatchToProps=m;var a=n(17),o=n(170),i=n(3),s=n(7),l=n(14),u=n(16),c=function(e){return e&&e.__esModule?e:{default:e}}(n(115)),d=n(30);var p=t.mapEditorDataToPreview=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)),(0,d.applyReplaceUsingPlugin)(e)};function f(e){return e.snippetEditor.replacementVariables.forEach(function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),r({},e.snippetEditor,{keyword:e.focusKeyword,baseUrl:e.settings.snippetEditor.baseUrl,date:e.settings.snippetEditor.date,recommendedReplacementVariables:e.settings.snippetEditor.recommendedReplacementVariables,faviconSrc:e.settings.snippetEditor.siteIconUrl,mobileImageSrc:e.snippetEditor.data.snippetPreviewImageURL})}function m(e){return{onChange:function(t,n){var r=(0,u.updateData)(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n));if("mode"===t&&(r=(0,u.switchMode)(n)),e(r),"slug"===t){var a=(0,s.dispatch)("core/editor");a&&a.editPost({slug:n})}},onChangeAnalysisData:function(t){e((0,u.updateAnalysisData)(t))}}}t.default=(0,a.connect)(f,m)(function(e){return wp.element.createElement(l.LocationConsumer,null,function(t){return wp.element.createElement(c.default,{icon:"eye",hasPaperStyle:e.hasPaperStyle},wp.element.createElement(o.SnippetEditor,r({},e,{descriptionPlaceholder:(0,i.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:p,showCloseButton:!1,idSuffix:t})))})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=n(3),i=n(6),s=d(n(171)),l=d(n(9)),u=d(n(32)),c=n(83);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateTwitterImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,u=t.getFacebookDescription,c=t.getDescriptionFallback,d=t.getTitleFallback,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,y=t.getRecommendedReplaceVars,h=t.getReplaceVars,_=t.getSiteUrl,g=t.getAuthorName,v=(0,o.sprintf)((0,o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),w=(0,o.sprintf)((0,o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");return{imageUrl:a(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:y(),replacementVariables:h(),description:n(),descriptionPreviewFallback:u()||c()||w,title:r(),titlePreviewFallback:s()||d()||v,imageWarnings:p(),authorName:g(),siteUrl:_(),isPremium:!!(0,l.default)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:v,descriptionInputPlaceholder:w,socialMediumName:"Twitter"}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:f,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=n(3),i=n(6),s=d(n(174)),l=d(n(9)),u=d(n(32)),c=n(83);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateFacebookImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescriptionFallback,a=t.getFacebookTitle,i=t.getTitleFallback,s=t.getFacebookImageUrl,u=t.getImageFallback,c=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,y=(0,o.sprintf)((0,o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),h=(0,o.sprintf)((0,o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");return{imageUrl:s(),imageFallbackUrl:u(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:r()||h,title:a(),titlePreviewFallback:i()||y,imageWarnings:c(),authorName:m(),siteUrl:f(),isPremium:!!(0,l.default)().isPremium,titleInputPlaceholder:y,descriptionInputPlaceholder:h,socialMediumName:"Facebook"}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:f,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}}),(0,u.default)()])(s.default)},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),a=s(n(257)),o=s(n(258)),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.target,n=e.store,r=e.theme;return wp.element.createElement(i.default,{target:t},wp.element.createElement(a.default,{store:n,theme:r}),wp.element.createElement(o.default,{store:n,theme:r}))}l.propTypes={target:r.default.string.isRequired,store:r.default.object,theme:r.default.object}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(o.default,{store:t,theme:n,location:"metabox"},wp.element.createElement(r.Slot,{name:"YoastMetabox"},function(e){return(0,a.default)(e)}))};var r=n(12),a=i(n(147)),o=i(n(100));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(259)),a=n(17);t.default=(0,a.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=n(12),a=n(3),o=g(n(1)),i=g(n(141)),s=g(n(238)),l=g(n(237)),u=g(n(142)),c=g(n(143)),d=g(n(144)),p=g(n(34)),f=g(n(98)),m=g(n(146)),y=g(n(260)),h=g(n(145)),_=g(n(117));function g(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=e.settings;return wp.element.createElement(r.Fill,{name:"YoastMetabox"},wp.element.createElement(f.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&wp.element.createElement(r.Fill,{name:"YoastRelatedKeyphrases"},wp.element.createElement(_.default,null))),wp.element.createElement(f.default,{renderPriority:9},wp.element.createElement(p.default,{id:"yoast-snippet-editor-metabox",title:(0,a.__)("Google preview","wordpress-seo"),initialIsOpen:!0},wp.element.createElement(s.default,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&wp.element.createElement(f.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(f.default,{renderPriority:30},wp.element.createElement(i.default,null)),t.displayAdvancedTab&&wp.element.createElement(f.default,{renderPriority:40},wp.element.createElement(p.default,{id:"collapsible-advanced-settings",title:(0,a.__)("Advanced","wordpress-seo")},wp.element.createElement(m.default,null))),t.displaySchemaSettings&&wp.element.createElement(f.default,{renderPriority:50},wp.element.createElement(h.default,null)),wp.element.createElement(f.default,{renderPriority:-1},wp.element.createElement(y.default,{target:"wpseo-section-social"})))}v.propTypes={settings:o.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=i(n(1)),a=i(n(261)),o=i(n(19));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.target;return wp.element.createElement(o.default,{target:t},wp.element.createElement(a.default,null))}s.propTypes={target:r.default.string.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(262));t.default=(0,r.withSelect)(function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}})(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=u(n(34)),o=n(3),i=u(n(1)),s=u(n(240)),l=u(n(239));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.displayFacebook,n=e.displayTwitter;return wp.element.createElement(r.Fragment,null,t&&wp.element.createElement(a.default,{hasSeparator:!1,title:(0,o.sprintf)((0,o.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},wp.element.createElement(s.default,null)),n&&wp.element.createElement(a.default,{title:(0,o.sprintf)((0,o.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},wp.element.createElement(l.default,null)))};c.propTypes={displayFacebook:i.default.bool.isRequired,displayTwitter:i.default.bool.isRequired},t.default=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=o(n(398)),a=o(n(400));function o(e){return e&&e.__esModule?e:{default:e}}window.yoast=window.yoast||{},window.yoast.initEditorIntegration=r.default,window.yoast.EditorData=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=r.registerReactComponent,(0,r.renderClassicEditorMetabox)(e)};var r=n(399)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.renderClassicEditorMetabox=function(e){var t=(0,s.default)();c=(0,a.createRef)();var n={isRtl:t.isRtl};(0,a.render)(wp.element.createElement(o.SlotFillProvider,null,wp.element.createElement(i.default,{target:"wpseo-metabox-root",store:e,theme:n}),wp.element.createElement(d,{ref:c})),document.getElementById("wpseo-metabox-root")),u.forEach(function(e){c.current.registerComponent(e.key,e.Component)})},t.registerReactComponent=function(e,t){null===c||null===c.current?u.push({key:e,Component:t}):c.current.registerComponent(e,t)};var a=n(4),o=n(12),i=l(n(256)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}var u=[],c=null,d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={registeredComponents:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(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 wp.element.createElement(t,{key:n})})}}]),t}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),i=n(0),s=n(13),l=n(37),u=n(30),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(62));var d=o.default.markers.removeMarks,p=jQuery,f=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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 a(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),(0,u.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!(0,i.isUndefined)(wp.media)&&!(0,i.isUndefined)(wp.media.featuredImage)){p("#postimagediv").on("click","#remove-post-thumbnail",function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())});var t=wp.media.featuredImage.frame();t.on("select",function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))}),c.addEventHandler(this._tinyMceId,["init"],function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch((0,l.setContentImage)(t)),e.setImageInSnippetPreview(n)}),c.addEventHandler(this._tinyMceId,["change"],(0,i.debounce)(function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch((0,l.setContentImage)(t)),e.setImageInSnippetPreview(t)}},1e3))}}},{key:"getFeaturedImage",value:function(){var e=p("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch((0,s.updateData)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=o.default.string.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=p(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:(0,u.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 d(c.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",function(e){n.updateReplacementData(e,t)})}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch((0,s.updateReplacementVariable)(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((0,s.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,s.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=(0,i.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=(0,u.mapCustomFields)(e,this._store),e=(0,u.mapCustomTaxonomies)(e,this._store),r({},e,{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return r({},this._store.getState().snippetEditor.data,{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();t.default=f}],[[397,0]]]);
 
js/dist/classic-editor-1600.js ADDED
@@ -0,0 +1 @@
 
1
+ (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[6],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},function(e,t){e.exports=window.wp.data},function(e,t){e.exports=window.yoast.styledComponents},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return(0,r.get)(window,"wpseoScriptData.metabox",{intl:{},isRtl:!1})};var r=n(0)},function(e,t){e.exports=window.wp.compose},function(e,t){e.exports=window.yoast.analysis},function(e,t){e.exports=window.wp.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_SNIPPET_EDITOR_DATA=t.UPDATE_WORDS_TO_HIGHLIGHT=t.REFRESH=t.REMOVE_REPLACEMENT_VARIABLE=t.UPDATE_REPLACEMENT_VARIABLE=t.UPDATE_DATA=t.SWITCH_MODE=void 0,t.switchMode=function(e){return{type:a,mode:e}},t.updateData=function(e){return{type:o,data:e}},t.updateReplacementVariable=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a="string"==typeof t?(0,r.decodeHTML)(t):t;return{type:i,name:e,value:a,label:n}},t.updateWordsToHighlight=function(e){return{type:u,wordsToHighlight:e}},t.removeReplacementVariable=function(e){return{type:s,name:e}},t.refreshSnippetEditor=function(){return{type:l,time:(new Date).getMilliseconds()}};var r=n(6),a=t.SWITCH_MODE="SNIPPET_EDITOR_SWITCH_MODE",o=t.UPDATE_DATA="SNIPPET_EDITOR_UPDATE_DATA",i=t.UPDATE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_UPDATE_REPLACEMENT_VARIABLE",s=t.REMOVE_REPLACEMENT_VARIABLE="SNIPPET_EDITOR_REMOVE_REPLACEMENT_VARIABLE",l=t.REFRESH="SNIPPET_EDITOR_REFRESH",u=t.UPDATE_WORDS_TO_HIGHLIGHT="SNIPPET_EDITOR_UPDATE_WORDS_TO_HIGHLIGHT";t.LOAD_SNIPPET_EDITOR_DATA="LOAD_SNIPPET_EDITOR_DATA"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LocationConsumer=t.LocationProvider=t.LocationContext=void 0;var r=n(4),a=t.LocationContext=(0,r.createContext)();t.LocationProvider=a.Provider,t.LocationConsumer=a.Consumer},function(e,t){e.exports=window.yoast.components},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSeoResultsForKeyword=t.setReadabilityResults=t.setOverallSeoScore=t.setOverallReadabilityScore=void 0;var r=n(44);Object.keys(r).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return r[e]}})});var a=n(45);Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}})});var o=n(70);Object.keys(o).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})});var i=n(36);Object.keys(i).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})});var s=n(71);Object.keys(s).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})});var l=n(72);Object.keys(l).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})});var u=n(46);Object.keys(u).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}})});var c=n(37);Object.keys(c).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}})});var d=n(29);Object.keys(d).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}})});var p=n(47);Object.keys(p).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}})});var f=n(33);Object.keys(f).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}})});var m=n(48);Object.keys(m).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return m[e]}})});var y=n(49);Object.keys(y).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return y[e]}})});var h=n(51);Object.keys(h).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return h[e]}})});var _=n(74);Object.keys(_).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return _[e]}})});var g=n(52);Object.keys(g).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return g[e]}})});var v=n(38);Object.keys(v).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return v[e]}})});var w=n(13);Object.keys(w).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}})});var b=n(53);Object.keys(b).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return b[e]}})});var E=n(54);Object.keys(E).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return E[e]}})});var T=n(55);Object.keys(T).forEach(function(e){"default"!==e&&"__esModule"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return T[e]}})});var k=n(15);Object.defineProperty(t,"setReadabilityResults",{enumerable:!0,get:function(){return k.setReadabilityResults}}),Object.defineProperty(t,"setSeoResultsForKeyword",{enumerable:!0,get:function(){return k.setSeoResultsForKeyword}});var O=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.setOverallReadabilityScore=function(e){return O.default.readabilityScore=e,(0,k.setOverallReadabilityScore)(e)},t.setOverallSeoScore=function(e,t){return O.default.seoScore=e,(0,k.setOverallSeoScore)(e,t)}},function(e,t){e.exports=window.yoast.reactRedux},function(e,t){e.exports=window.yoast.styleGuide},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(4),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function o(e){var t=e.target,n=e.children,a=t;return"string"==typeof t&&(a=document.getElementById(t)),a?(0,r.createPortal)(n,a):null}o.propTypes={target:a.default.oneOfType([a.default.string,a.default.object]).isRequired,children:a.default.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=s(n(2)),o=s(n(79)),i=s(n(82));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;function u(e,t){var n,i,s,c,d,p,f,m,y=[],h={};for(p=0;p<e.length;p++)if("string"!==(d=e[p]).type){if(!t.hasOwnProperty(d.value)||void 0===t[d.value])throw new Error("Invalid interpolation, missing component node: `"+d.value+"`");if("object"!==r(t[d.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+d.value+"`","\n> "+l);if("componentClose"===d.type)throw new Error("Missing opening component token: `"+d.value+"`");if("componentOpen"===d.type){n=t[d.value],s=p;break}y.push(t[d.value])}else y.push(d.value);return n&&(c=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+"`")}(s,e),f=u(e.slice(s+1,c),t),i=a.default.cloneElement(n,{},f),y.push(i),c<e.length-1&&(m=u(e.slice(c+1),t),y=y.concat(m))),1===y.length?y[0]:(y.forEach(function(e,t){e&&(h["interpolation-child-"+t]=e)}),(0,o.default)(h))}t.default=function(e){var t=e.mixedString,n=e.components,a=e.throwErrors;if(l=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var o=(0,i.default)(t);try{return u(o,n)}catch(e){if(a)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},,function(e,t,n){"use strict";var r=n(23),a=n(24),o=n(25);e.exports=function(){function e(e,t,n,r,i,s){s!==o&&a(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,a,o,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,o,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.keyphraseElement.value=t},get:function(){return e.keyphraseElement.value}},{key:"isCornerstone",set:function(t){e.isCornerstoneElement.value=t?"1":"0"},get:function(){return"1"===e.isCornerstoneElement.value}},{key:"seoScore",set:function(t){e.seoScoreElement.value=t},get:function(){return e.seoScoreElement.value}},{key:"readabilityScore",set:function(t){e.readabilityScoreElement.value=t},get:function(){return e.readabilityScoreElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.isNil)(e)||(e/=10);return function(e){switch(e){case"feedback":return{className:"na",screenReaderText:(0,r.__)("Feedback","wordpress-seo"),screenReaderReadabilityText:""};case"bad":return{className:"bad",screenReaderText:(0,r.__)("Needs improvement","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Needs improvement","wordpress-seo")};case"ok":return{className:"ok",screenReaderText:(0,r.__)("OK SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("OK","wordpress-seo")};case"good":return{className:"good",screenReaderText:(0,r.__)("Good SEO score","wordpress-seo"),screenReaderReadabilityText:(0,r.__)("Good","wordpress-seo")};default:return{className:"loading",screenReaderText:"",screenReaderReadabilityText:""}}}(a.helpers.scoreToRating(e))};var r=n(3),a=n(11),o=n(0)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getIconForScore=function(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},t.default=function(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 o=i(a,t);n=s(o,n)}}return n};var r=n(11),a=n(18),o=r.helpers.scoreToRating;function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e.getIdentifier(),r={score:e.score,rating:o(e.score),hasMarks:e.hasMarks(),marker:e.getMarker(),id:n,text:e.text,markerId:t.length>0?t+":"+n:n};return"ok"===r.rating&&(r.rating="OK"),r}function s(e,t){switch(e.rating){case"error":t.errorsResults.push(e);break;case"feedback":t.considerationsResults.push(e);break;case"bad":t.problemsResults.push(e);break;case"OK":t.improvementsResults.push(e);break;case"good":t.goodResults.push(e)}return t}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_MARKER_STATUS="WPSEO_SET_MARKER_STATUS";t.setMarkerStatus=function(e){return{type:r,marksButtonStatus:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyReplaceUsingPlugin=t.nonReplaceVars=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.fillReplacementVariables=function(e,t){(0,a.forEach)(e,function(e,n){l.includes(n)||t.dispatch((0,o.updateReplacementVariable)(n,e))})},t.handlePrefixes=u,t.createLabelFromName=c,t.pushNewReplaceVar=function(e,t){return e.push({name:t.name,label:t.label||c(t.name),value:t.value}),e},t.replaceSpaces=d,t.prepareCustomFieldForDispatch=p,t.prepareCustomTaxonomyForDispatch=f,t.mapCustomTaxonomies=function(e,t){if(!e.custom_taxonomies)return e;return(0,a.forEach)(e.custom_taxonomies,function(e,n){var r=f(n),a=r.name,i=r.label,s=r.descriptionName,l=r.descriptionLabel;t.dispatch((0,o.updateReplacementVariable)(a,e.name,i)),t.dispatch((0,o.updateReplacementVariable)(s,e.description,l))}),(0,a.omit)(r({},e),"custom_taxonomies")},t.mapCustomFields=function(e,t){if(!e.custom_fields)return e;return(0,a.forEach)(e.custom_fields,function(e,n){var r=p(n),a=r.name,i=r.label;t.dispatch((0,o.updateReplacementVariable)(a,e,i))}),(0,a.omit)(r({},e),"custom_fields")},t.excerptFromContent=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:156;if((e=(e=wp.sanitize.stripTags(e)).trim()).length<=t)return e;return(e=e.substring(0,t)).substring(0,e.lastIndexOf(" "))};var a=n(0),o=n(13),i=n(41),s=n(6).strings.stripHTMLTags,l=t.nonReplaceVars=["slug","content","contentImage","snippetPreviewImageURL"];function u(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 c(e){return e=u(e),(0,i.firstToUpperCase)(e)}function d(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_";return e.replace(/\s/g,t)}function p(e){return{name:"cf_"+d(e),label:(0,i.firstToUpperCase)(e+" (custom field)")}}function f(e){var t=d(e);return{name:"ct_"+t,label:(0,i.firstToUpperCase)(e+" (custom taxonomy)"),descriptionName:"ct_desc_"+t,descriptionLabel:(0,i.firstToUpperCase)(e+" description (custom taxonomy)")}}t.applyReplaceUsingPlugin=function(e){var t=(0,a.get)(window,["YoastSEO","app","pluggable"],!1);if(!t||!(0,a.get)(window,["YoastSEO","app","pluggable","loaded"],!1))return function(e){var t=(0,a.get)(window,["YoastSEO","wp","replaceVarsPlugin","replaceVariables"],a.identity);return{url:e.url,title:s(t(e.title)),description:s(t(e.description))}}(e);var n=t._applyModifications.bind(t);return{url:e.url,title:s(n("data_page_title",e.title)),description:s(n("data_meta_desc",e.description))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(4),o=n(5),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var s=function(e){var t=(0,a.useState)(!1),n=r(t,2),i=n[0],s=n[1],l=e.prefixIcon;return wp.element.createElement("div",{className:"yoast components-panel__body "+(i?"is-opened":"")},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{onClick:function(){s(!i)},className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-icon-span",style:{fill:""+(l&&l.color||"")}},l&&wp.element.createElement(o.SvgIcon,{icon:l.icon,color:l.color,size:l.size})),wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),wp.element.createElement("span",{className:"yoast-chevron","aria-hidden":"true"}))),i&&e.children)};t.default=s,s.propTypes={title:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,prefixIcon:i.default.object,subTitle:i.default.string},s.defaultProps={prefixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(){return(0,a.createHigherOrderComponent)(function(e){return(0,a.pure)(function(t){var n=(0,o.useContext)(i.LocationContext);return(0,o.createElement)(e,r({},t,{location:n}))})},"withLocation")};var a=n(10),o=n(4),i=n(14)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dismissAlert=i;var r=regeneratorRuntime.mark(i),a=t.DISMISS_ALERT="DISMISS_ALERT",o=t.DISMISS_ALERT_SUCCESS="DISMISS_ALERT_SUCCESS";function i(e){return regeneratorRuntime.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{type:a,alertKey:e};case 2:return t.abrupt("return",{type:o,alertKey:e});case 3:case"end":return t.stop()}},r,this)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(18),a=n(6),o=function(e){return e&&e.__esModule?e:{default:e}}(n(8));var i=(0,a.makeOutboundLink)(o.default.a.withConfig({displayName:"HelpLink",componentId:"qyhmof-0"})(["display:inline-block;position:relative;outline:none;text-decoration:none;border-radius:100%;width:24px;height:24px;margin:-4px 0;vertical-align:middle;color:",";&:hover,&:focus{color:",";}&:active{color:",';}&::before{position:absolute;top:0;left:0;padding:2px;content:"\f223";}'],r.colors.$color_help_text,r.colors.$color_snippet_focus,r.colors.$color_help_text));t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(5);var o=(0,function(e){return e&&e.__esModule?e:{default:e}}(n(8)).default)(a.Collapsible).withConfig({displayName:"MetaboxCollapsible__StyledMetaboxCollapsible",componentId:"k2tood-0"})(['h2 > button{padding-left:24px;padding-top:16px;&:hover{background-color:#f0f0f0;}}div[class^="collapsible_content"]{padding:24px 0;margin:0 24px;border-top:1px solid rgba(0,0,0,0.2);}']);t.default=function(e){return wp.element.createElement(o,r({hasPadding:!0,hasSeparator:!0},e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCornerstoneContent=t.setCornerstoneContent=t.loadCornerstoneContent=t.SET_CORNERSTONE_CONTENT=t.TOGGLE_CORNERSTONE_CONTENT=t.LOAD_CORNERSTONE_CONTENT=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));t.LOAD_CORNERSTONE_CONTENT="WPSEO_LOAD_CORNERSTONE_CONTENT";var a=t.TOGGLE_CORNERSTONE_CONTENT="WPSEO_TOGGLE_CORNERSTONE_CONTENT",o=t.SET_CORNERSTONE_CONTENT="WPSEO_SET_CORNERSTONE_CONTENT";t.loadCornerstoneContent=function(){return{type:o,isCornerstone:r.default.isCornerstone}},t.setCornerstoneContent=function(e){return r.default.isCornerstone=e,{type:o,isCornerstone:e}},t.toggleCornerstoneContent=function(){return r.default.isCornerstone=!r.default.isCornerstone,{type:a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setFocusKeyword=t.loadFocusKeyword=t.SET_FOCUS_KEYWORD=t.LOAD_FOCUS_KEYWORD=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(26));var a=t.LOAD_FOCUS_KEYWORD="WPSEO_LOAD_FOCUS_KEYWORD",o=t.SET_FOCUS_KEYWORD="WPSEO_SET_FOCUS_KEYWORD";t.loadFocusKeyword=function(){return{type:a,keyword:r.default.keyphrase}},t.setFocusKeyword=function(e){return r.default.keyphrase=e,{type:o,keyword:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_SETTINGS="SET_SETTINGS",a=t.SET_CONTENT_IMAGE="SET_CONTENT_IMAGE";t.setSettings=function(e){return{type:r,settings:e}},t.setContentImage=function(e){return{type:a,src:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultModalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),o=n(12);var i=t.defaultModalClassName="yoast yoast-gutenberg-modal",s=function(e){var t=e.title,n=e.className,a=e.showYoastIcon,i=e.additionalClassName,s=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["title","className","showYoastIcon","additionalClassName"]),l=a?wp.element.createElement("span",{className:"yoast-icon"}):null;return wp.element.createElement(o.Modal,r({title:t,className:n+" "+i,icon:l},s),e.children)};s.propTypes={title:a.default.string,className:a.default.string,showYoastIcon:a.default.bool,children:a.default.oneOfType([a.default.node,a.default.arrayOf(a.default.node)]),additionalClassName:a.default.string},s.defaultProps={title:"Yoast SEO",className:i,showYoastIcon:!0,children:null,additionalClassName:""},t.default=s},function(e,t,n){"use strict";function r(e){return function(){return e}}var a=function(){};a.thatReturns=r,a.thatReturnsFalse=r(!1),a.thatReturnsTrue=r(!0),a.thatReturnsNull=r(null),a.thatReturnsThis=function(){return this},a.thatReturnsArgument=function(e){return e},e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.firstToUpperCase=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.stripHTML=function(e){var t=document.createElement("DIV");return t.innerHTML=e,t.textContent||t.innerText||""}},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setActiveMarker=function(e){return{type:r,activeMarker:e}};var r=t.SET_ACTIVE_MARKER="WPSEO_SET_ACTIVE_MARKER"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadAdvancedSettingsData=t.setCanonical=t.setBreadcrumbsTitle=t.setAdvanced=t.setNoFollow=t.setNoIndex=t.LOAD_ADVANCED_SETTINGS=t.SET_CANONICAL_URL=t.SET_BREADCRUMBS_TITLE=t.SET_ADVANCED=t.SET_NO_FOLLOW=t.SET_NO_INDEX=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(69));var a=t.SET_NO_INDEX="SET_NO_INDEX",o=t.SET_NO_FOLLOW="SET_NO_FOLLOW",i=t.SET_ADVANCED="SET_ADVANCED",s=t.SET_BREADCRUMBS_TITLE="SET_BREADCRUMBS_TITLE",l=t.SET_CANONICAL_URL="SET_CANONICAL_URL",u=t.LOAD_ADVANCED_SETTINGS="LOAD_ADVANCED_SETTINGS";t.setNoIndex=function(e){return r.default.noIndex=e,{type:a,value:e}},t.setNoFollow=function(e){return r.default.noFollow=e,{type:o,value:e}},t.setAdvanced=function(e){return r.default.advanced=e.join(","),{type:i,value:e}},t.setBreadcrumbsTitle=function(e){return r.default.breadcrumbsTitle=e,{type:s,value:e}},t.setCanonical=function(e){return r.default.canonical=e,{type:l,value:e}},t.loadAdvancedSettingsData=function(){return{type:u,settings:{noIndex:r.default.noIndex,noFollow:r.default.noFollow,advanced:r.default.advanced.split(","),breadcrumbsTitle:r.default.breadcrumbsTitle,canonical:r.default.canonical,isLoading:!1}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOAD_ESTIMATED_READING_TIME=t.SET_ESTIMATED_READING_TIME=void 0,t.setEstimatedReadingTime=function(e){return r.default.estimatedReadingTime=e,{type:a,estimatedReadingTime:e}},t.loadEstimatedReadingTime=function(){return{type:o,estimatedReadingTime:r.default.estimatedReadingTime}};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(73));var a=t.SET_ESTIMATED_READING_TIME="SET_ESTIMATED_READING_TIME",o=t.LOAD_ESTIMATED_READING_TIME="LOAD_ESTIMATED_READING_TIME"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setMarkerPauseStatus=function(e){return{type:r,isMarkerPaused:e}};var r=t.SET_MARKER_PAUSE_STATUS="WPSEO_SET_MARKER_PAUSE_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=t.SET_PRIMARY_TAXONOMY="WPSEO_SET_PRIMARY_TAXONOMY";t.setPrimaryTaxonomyId=function(e,t){return{type:r,taxonomy:e,termId:t}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaArticleData=t.getSchemaPageData=t.setArticleType=t.setPageType=t.GET_SCHEMA_ARTICLE_DATA=t.GET_SCHEMA_PAGE_DATA=t.SET_ARTICLE_TYPE=t.SET_PAGE_TYPE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(50));var a=t.SET_PAGE_TYPE="SET_PAGE_TYPE",o=t.SET_ARTICLE_TYPE="SET_ARTICLE_TYPE",i=t.GET_SCHEMA_PAGE_DATA="GET_SCHEMA_PAGE_DATA",s=t.GET_SCHEMA_ARTICLE_DATA="GET_SCHEMA_ARTICLE_DATA";t.setPageType=function(e){return r.default.pageType=e,{type:a,pageType:e}},t.setArticleType=function(e){return r.default.articleType=e,{type:o,articleType:e}},t.getSchemaPageData=function(){return{type:i,pageType:r.default.pageType,defaultPageType:r.default.defaultPageType}},t.getSchemaArticleData=function(){return{type:s,articleType:r.default.articleType,defaultArticleType:r.default.defaultArticleType}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addBlockValidation=function(e){return{type:r,validation:e}},t.resetBlockValidation=function(){return{type:a}};var r=t.ADD_BLOCK_VALIDATION="WPSEO_ADD_BLOCK_VALIDATION",a=t.RESET_BLOCK_VALIDATIONS="WPSEO_CLEAR_BLOCK_VALIDATIONS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushNewRequest=function(e,t){return{type:s,countryCode:e,keyphrase:t}},t.setSEMrushRequestSucceeded=function(e){return{type:a,response:e}},t.setSEMrushRequestFailed=function(e){return{type:o,response:e}},t.setSEMrushSetRequestLimitReached=function(){return{type:i}},t.setSEMrushChangeCountry=function(e){return{type:r,countryCode:e}},t.setSEMrushNoResultsFound=function(){return{type:l}},t.setSEMrushLoginStatus=function(e){return{type:u,loginStatus:e}};var r=t.CHANGE_COUNTRY="CHANGE_COUNTRY",a=t.SET_REQUEST_SUCCEEDED="SET_REQUEST_SUCCEEDED",o=t.SET_REQUEST_FAILED="SET_REQUEST_FAILED",i=t.SET_REQUEST_LIMIT_REACHED="SET_LIMIT_REACHED",s=t.NEW_REQUEST="NEW_REQUEST",l=t.NO_DATA_FOUND="NO_DATA_FOUND",u=t.SET_LOGIN_STATUS="SET_LOGIN_STATUS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTwitterPreviewData=t.clearTwitterPreviewImage=t.setTwitterPreviewImage=t.setTwitterPreviewDescription=t.setTwitterPreviewTitle=t.LOAD_TWITTER_PREVIEW=t.CLEAR_TWITTER_IMAGE=t.SET_TWITTER_IMAGE=t.SET_TWITTER_DESCRIPTION=t.SET_TWITTER_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(75));var a=t.SET_TWITTER_TITLE="SET_TWITTER_TITLE",o=t.SET_TWITTER_DESCRIPTION="SET_TWITTER_DESCRIPTION",i=t.SET_TWITTER_IMAGE="SET_TWITTER_IMAGE",s=t.CLEAR_TWITTER_IMAGE="CLEAR_TWITTER_IMAGE",l=t.LOAD_TWITTER_PREVIEW="LOAD_TWITTER_PREVIEW";t.setTwitterPreviewTitle=function(e){return r.default.title=e,{type:a,title:e}},t.setTwitterPreviewDescription=function(e){return r.default.description=e,{type:o,description:e}},t.setTwitterPreviewImage=function(e){return r.default.imageId=e.id,r.default.imageUrl=e.url,{type:i,image:e}},t.clearTwitterPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadTwitterPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadFacebookPreviewData=t.clearFacebookPreviewImage=t.setFacebookPreviewImage=t.setFacebookPreviewDescription=t.setFacebookPreviewTitle=t.LOAD_FACEBOOK_PREVIEW=t.CLEAR_FACEBOOK_IMAGE=t.SET_FACEBOOK_IMAGE=t.SET_FACEBOOK_DESCRIPTION=t.SET_FACEBOOK_TITLE=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(76));var a=t.SET_FACEBOOK_TITLE="SET_FACEBOOK_TITLE",o=t.SET_FACEBOOK_DESCRIPTION="SET_FACEBOOK_DESCRIPTION",i=t.SET_FACEBOOK_IMAGE="SET_FACEBOOK_IMAGE",s=t.CLEAR_FACEBOOK_IMAGE="CLEAR_FACEBOOK_IMAGE",l=t.LOAD_FACEBOOK_PREVIEW="LOAD_FACEBOOK_PREVIEW";t.setFacebookPreviewTitle=function(e){return r.default.title=e,{type:a,title:e}},t.setFacebookPreviewDescription=function(e){return r.default.description=e,{type:o,description:e}},t.setFacebookPreviewImage=function(e){return r.default.imageUrl=e.url,r.default.imageId=e.id,{type:i,image:e}},t.clearFacebookPreviewImage=function(){return r.default.imageId="",r.default.imageUrl="",{type:s}},t.loadFacebookPreviewData=function(){return{type:l,imageId:r.default.imageId,imageUrl:r.default.imageUrl,description:r.default.description,title:r.default.title}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setWarningMessage=function(e){return{type:r,message:e}};var r=t.SET_WARNING_MESSAGE="SET_WARNING_MESSAGE"},function(e,t){e.exports=window.wp.apiFetch},function(e,t){e.exports=window.wp.url},,,function(e,t){e.exports=window.yoast.replacementVariableEditor},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(115));t.default=(0,a.compose)([(0,r.withSelect)(function(e){return{activeMarker:(0,e("yoast-seo/editor").getActiveMarker)()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor");return{setActiveMarker:t.setActiveMarker,setMarkerPauseStatus:t.setMarkerPauseStatus}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.termsTmceId=t.tmceId=void 0,t.setStore=function(e){s=e},t.isTinyMCELoaded=l,t.isTinyMCEAvailable=u,t.getContentTinyMce=function(e){var t="";t=!1===u(e)||!1===function(e){return null!==document.getElementById(e+"_ifr")}(e)?function(e){return document.getElementById(e)&&document.getElementById(e).value||""}(e):tinyMCE.get(e).getContent();return function(e){var t=new RegExp("&amp;","g");return e.replace(t,"&")}(t)},t.addEventHandler=c,t.disableMarkerButtons=d,t.enableMarkerButtons=p,t.isTextViewActive=f,t.wpTextViewOnInitCheck=function(){if(!f())return;d(),l()&&tinyMCE.on("AddEditor",function(){p()})},t.tinyMceEventBinder=function(e,t){c(t,["input","change","cut","paste"],e),c(t,["hide"],d);var n=["show"];(new o.default).isPageBuilderActive()||n.push("init");c(t,n,p),c("content",["focus"],function(e){var t=e.target;(0,a.editorHasMarks)(t)&&((0,a.editorRemoveMarks)(t),YoastSEO.app.disableMarkers())})};var r=n(0),a=n(129),o=function(e){return e&&e.__esModule?e:{default:e}}(n(152)),i=n(29);var s=void 0;t.tmceId="content",t.termsTmceId="description";function l(){return"undefined"!=typeof tinyMCE&&void 0!==tinyMCE.editors&&0!==tinyMCE.editors.length}function u(e){if(!l())return!1;var t=tinyMCE.get(e);return null!==t&&!t.isHidden()}function c(e,t,n){"undefined"!=typeof tinyMCE&&"function"==typeof tinyMCE.on&&tinyMCE.on("addEditor",function(a){var o=a.editor;o.id===e&&(0,r.forEach)(t,function(e){o.on(e,n)})})}function d(){(0,r.isUndefined)(s)||s.dispatch((0,i.setMarkerStatus)("disabled"))}function p(){(0,r.isUndefined)(s)||s.dispatch((0,i.setMarkerStatus)("enabled"))}function f(){var e=document.getElementById("wp-content-wrap");return!!e&&e.classList.contains("html-active")}},,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.updateAnalysisData=function(e){return{type:r,data:e}},t.runAnalysis=function(){return{type:a,timestamp:Date.now()}};var r=t.UPDATE_SNIPPET_DATA="SNIPPET_EDITOR_UPDATE_ANALYSIS_DATA",a=t.RUN_ANALYSIS="RUN_ANALYSIS"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setEditorDataContent=function(e){return{type:r,content:e}},t.setEditorDataTitle=function(e){return{type:a,title:e}},t.setEditorDataExcerpt=function(e){return{type:o,excerpt:e}},t.setEditorDataImageUrl=function(e){return{type:i,imageUrl:e}};var r=t.SET_EDITOR_DATA_CONTENT="SET_EDITOR_DATA_CONTENT",a=t.SET_EDITOR_DATA_TITLE="SET_EDITOR_DATA_TITLE",o=t.SET_EDITOR_DATA_EXCERPT="SET_EDITOR_DATA_EXCERPT",i=t.SET_EDITOR_DATA_IMAGE_URL="SET_EDITOR_DATA_IMAGE_URL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openEditorModal=function(e){return{type:r,modalKey:e}},t.closeEditorModal=function(){return{type:a}};var r=t.OPEN_EDITOR_MODAL="OPEN_MODAL",a=t.CLOSE_EDITOR_MODAL="CLOSE_MODAL"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setSEMrushDismissModal=function(){return{type:r}},t.setSEMrushOpenModal=function(e){return{type:a,location:e}},t.setSEMrushNoKeyphraseMessage=function(){return{type:o}};var r=t.MODAL_DISMISS="MODAL_DISMISS",a=t.MODAL_OPEN="MODAL_OPEN",o=t.MODAL_OPEN_NO_KEYPHRASE="MODAL_OPEN_NO_KEYPHRASE"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(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",set:function(t){e.descriptionElement.value=t},get:function(){return e.descriptionElement.value}},{key:"imageId",set:function(t){e.imageIdElement.value=t},get:function(){return e.imageIdElement.value}},{key:"imageUrl",set:function(t){e.imageUrlElement.value=t},get:function(){return e.imageUrlElement.value}}]),e}();t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isCloseEvent=void 0;var r=n(3),a=n(4),o=u(n(39)),i=u(n(1)),s=u(n(114)),l=n(14);function u(e){return e&&e.__esModule?e:{default:e}}var c=t.isCloseEvent=function(e){return"blur"!==e.type||!(!e.relatedTarget||!e.relatedTarget.querySelector(".components-modal__screen-overlay"))},d=function(e){var t=e.id,n=e.postTypeName,i=e.children,u=e.title,d=e.isOpen,p=e.close,f=e.open,m=(0,a.useCallback)(function(e){c(e)&&p()},[p]);return wp.element.createElement(a.Fragment,null,d&&wp.element.createElement(l.LocationProvider,{value:"modal"},wp.element.createElement(o.default,{title:u,onRequestClose:m,additionalClassName:"yoast-collapsible-modal yoast-post-settings-modal"},wp.element.createElement("div",{className:"yoast-content-container"},wp.element.createElement("div",{className:"yoast-modal-content"},i)),wp.element.createElement("div",{className:"yoast-notice-container"},wp.element.createElement("hr",null),wp.element.createElement("div",{className:"yoast-button-container"},wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("Make sure to save your %s for changes to take effect","wordpress-seo"),n)),wp.element.createElement("button",{className:"yoast-button yoast-button--primary yoast-button--post-settings-modal",type:"button",onClick:m},(0,r.sprintf)((0,r.__)("Return to your %s","wordpress-seo"),n)))))),wp.element.createElement(s.default,{id:t+"-open-button",title:u,suffixIcon:{size:"20px",icon:"pencil-square"},onClick:f}))};d.propTypes={id:i.default.string.isRequired,postTypeName:i.default.string.isRequired,children:i.default.oneOfType([i.default.node,i.default.arrayOf(i.default.node)]).isRequired,title:i.default.string.isRequired,isOpen:i.default.bool.isRequired,open:i.default.func.isRequired,close:i.default.func.isRequired},t.default=d},function(e,t){e.exports=window.yoast.analysisReport},function(e,t,n){"use strict";var r=n(2),a="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=n(40),i=n(80),s=n(81),l=".",u=":",c="function"==typeof Symbol&&Symbol.iterator,d="@@iterator";function p(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function f(e,t,n,r){var o,s=typeof e;if("undefined"!==s&&"boolean"!==s||(e=null),null===e||"string"===s||"number"===s||"object"===s&&e.$$typeof===a)return n(r,e,""===t?l+p(e,0):t),1;var m=0,y=""===t?l:t+u;if(Array.isArray(e))for(var h=0;h<e.length;h++)m+=f(o=e[h],y+p(o,h),n,r);else{var _=function(e){var t=e&&(c&&e[c]||e[d]);if("function"==typeof t)return t}(e);if(_){0;for(var g,v=_.call(e),w=0;!(g=v.next()).done;)m+=f(o=g.value,y+p(o,w++),n,r)}else if("object"===s){0;var b=""+e;i(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===b?"object with keys {"+Object.keys(e).join(", ")+"}":b,"")}}return m}var m=/\/+/g;function y(e){return(""+e).replace(m,"$&/")}var h=_,_=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=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)};function v(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function w(e,t,n){var a=e.result,i=e.keyPrefix,s=e.func,l=e.context,u=s.call(l,t,e.count++);Array.isArray(u)?b(u,a,n,o.thatReturnsArgument):null!=u&&(r.isValidElement(u)&&(u=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(u,i+(!u.key||t&&t.key===u.key?"":y(u.key)+"/")+n)),a.push(u))}function b(e,t,n,r,a){var o="";null!=n&&(o=y(n)+"/");var i=v.getPooled(t,o,r,a);!function(e,t,n){null==e||f(e,"",t,n)}(e,w,i),v.release(i)}v.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||h,n.poolSize||(n.poolSize=10),n.release=g}(v,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)});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)b(e[n],t,n,o.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,a,o,i,s,l){if(r(t),!e){var u;if(void 0===t)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,a,o,i,s,l],d=0;(u=new Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r=n(40);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openMedia=function(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()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.linkFieldsShape=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));t.linkFieldsShape=i.default.shape({value:i.default.string.isRequired,onChange:i.default.func.isRequired});t.default=function(e){return function(t){return function(n){function s(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,t));n.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(n,t)})}),n.state=r,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,o.Component),a(s,[{key:"onChange",value:function(e,t){var n=this;this.setState(r({},this.state,function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,r({},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,a=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return wp.element.createElement(t,r({},a,this.state),n)}}],[{key:"propTypes",get:function(){return{children:i.default.node}}}]),s}()}}},,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalIcon=t.ModalContainer=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(8)),a=n(5),o=n(6);t.ModalContainer=r.default.div.withConfig({displayName:"Container__ModalContainer",componentId:"sc-1onoh63-0"})(["min-width:600px;@media screen and ( max-width:680px ){min-width:0;width:86vw;}"]),t.ModalIcon=(0,r.default)(a.Icon).withConfig({displayName:"Container__ModalIcon",componentId:"sc-1onoh63-1"})(["float:",";margin:",";&&{width:150px;height:150px;@media screen and ( max-width:680px ){width:80px;height:80px;}}"],(0,o.getDirectionalStyle)("right","left"),(0,o.getDirectionalStyle)("0 0 16px 16px","0 16px 16px 0"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=s(n(1)),o=n(28),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){var t=e.target,n=e.scoreIndicator;return wp.element.createElement(i.default,{target:t},wp.element.createElement(r.SvgIcon,(0,o.getIconForScore)(n)))};l.propTypes={target:a.default.string.isRequired,scoreIndicator:a.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(20)),i=u(n(1)),s=u(n(8)),l=n(6);function u(e){return e&&e.__esModule?e:{default:e}}var c=s.default.ul.withConfig({displayName:"UpsellBox__StyledList",componentId:"gjf66g-0"})(['list-style:none;margin:0 0 16px;padding:0;li{margin:5px 0 0 0;padding-left:16px;}span[aria-hidden="true"]:before{margin:0 8px 0 -16px;font-weight:bold;content:"+";}']),d=s.default.small.withConfig({displayName:"UpsellBox__ButtonLabel",componentId:"gjf66g-1"})(["display:block;"]),p=(0,l.makeOutboundLink)(),f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"createBenefitsList",value:function(e){return e.length>0&&wp.element.createElement(c,{role:"list"},e.map(function(e,t){return wp.element.createElement("li",{key:t},wp.element.createElement("span",{"aria-hidden":"true"}),(0,o.default)({mixedString:e.replace("<strong>","{{strong}}").replace("</strong>","{{/strong}}"),components:{strong:wp.element.createElement("strong",null)}}))}))}},{key:"createInfoParagraphs",value:function(e){return e.map(function(e,t){return wp.element.createElement("p",{key:t},e)})}},{key:"render",value:function(){return wp.element.createElement("div",null,this.createInfoParagraphs(this.props.infoParagraphs),this.createBenefitsList(this.props.benefits),wp.element.createElement(p,this.props.upsellButton,this.props.upsellButtonText,this.props.upsellButtonHasCaret&&wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})),wp.element.createElement(d,{id:this.props.upsellButton["aria-describedby"]},this.props.upsellButtonLabel))}}]),t}();f.propTypes={benefits:i.default.array,infoParagraphs:i.default.array,upsellButton:i.default.object,upsellButtonText:i.default.string.isRequired,upsellButtonLabel:i.default.string,upsellButtonHasCaret:i.default.bool},f.defaultProps={infoParagraphs:[],benefits:[],upsellButton:{href:"",className:"button button-primary"},upsellButtonLabel:"",upsellButtonHasCaret:!0},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){var t=e.children;return wp.element.createElement("div",null,t)};a.propTypes={renderPriority:r.default.number.isRequired,children:r.default.node.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(1)),i=u(n(175)),s=n(176),l=n(60);function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={activeField:"",hoveredField:""},n.setHoveredField=n.setHoveredField.bind(n),n.setActiveField=n.setActiveField.bind(n),n.setEditorRef=n.setEditorRef.bind(n),n.setEditorFocus=n.setEditorFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{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,l=e.socialMediumName,u=e.imageWarnings,c=e.description,d=e.descriptionInputPlaceholder,p=e.imageUrl,f=e.title,m=e.titleInputPlaceholder,y=e.replacementVariables,h=e.recommendedReplacementVariables,_=e.isPremium,g=e.location;return wp.element.createElement(a.Fragment,null,wp.element.createElement(i.default,{socialMediumName:l}),wp.element.createElement(s.SocialMetadataPreviewForm,{onDescriptionChange:t,socialMediumName:l,title:f,titleInputPlaceholder:m,onRemoveImageClick:o,imageSelected:!!p,imageUrl:p,onTitleChange:n,onSelectImageClick:r,description:c,descriptionInputPlaceholder:d,imageWarnings:u,replacementVariables:y,recommendedReplacementVariables:h,onMouseHover:this.setHoveredField,hoveredField:this.state.hoveredField,onSelect:this.setActiveField,activeField:this.state.activeField,isPremium:_,setEditorRef:this.setEditorRef,idSuffix:g}))}}]),t}();c.propTypes={title:o.default.string.isRequired,onTitleChange:o.default.func.isRequired,description:o.default.string.isRequired,onDescriptionChange:o.default.func.isRequired,imageUrl:o.default.string.isRequired,onSelectImageClick:o.default.func.isRequired,onRemoveImageClick:o.default.func.isRequired,socialMediumName:o.default.string.isRequired,isPremium:o.default.bool,imageWarnings:o.default.array,descriptionInputPlaceholder:o.default.string,titleInputPlaceholder:o.default.string,replacementVariables:l.replacementVariablesShape,recommendedReplacementVariables:l.recommendedReplacementVariablesShape,location:o.default.string},c.defaultProps={imageWarnings:[],recommendedReplacementVariables:[],replacementVariables:[],isPremium:!1,descriptionInputPlaceholder:"",titleInputPlaceholder:"",location:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(17),o=n(8),i=n(14);var s=function(e){var t=e.store,n=e.theme,r=e.location,s=e.children;return wp.element.createElement(i.LocationProvider,{value:r},wp.element.createElement(o.ThemeProvider,{theme:n},wp.element.createElement(a.Provider,{store:t},s)))};s.propTypes={store:r.default.object.isRequired,theme:r.default.object.isRequired,location:r.default.oneOf(["sidebar","metabox","modal"]).isRequired,children:r.default.element.isRequired},t.default=s},,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=function(e){return wp.element.createElement("div",{className:"yoast components-panel__body"},wp.element.createElement("h2",{className:"components-panel__body-title"},wp.element.createElement("button",{id:e.id,onClick:e.onClick,className:"components-button components-panel__body-toggle"},wp.element.createElement("span",{className:"yoast-title-container"},wp.element.createElement("div",{className:"yoast-title"},e.title),wp.element.createElement("div",{className:"yoast-subtitle"},e.subTitle)),e.suffixIcon&&wp.element.createElement(r.SvgIcon,{size:e.suffixIcon.size,icon:e.suffixIcon.icon}))))};t.default=o,o.propTypes={onClick:a.default.func.isRequired,title:a.default.string.isRequired,id:a.default.string,subTitle:a.default.string,suffixIcon:a.default.object},o.defaultProps={id:"",suffixIcon:null,subTitle:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=u(n(1)),o=n(78),i=n(4),s=n(11),l=u(n(28));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=n.props.results;return n.state={mappedResults:{}},null!==r&&(n.state={mappedResults:(0,l.default)(r,n.props.keywordKey)}),n.handleMarkButtonClick=n.handleMarkButtonClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidUpdate",value:function(e){null!==this.props.results&&this.props.results!==e.results&&this.setState({mappedResults:(0,l.default)(this.props.results,this.props.keywordKey)})}},{key:"handleMarkButtonClick",value:function(e,t){var n=this.props.keywordKey.length>0?this.props.keywordKey+":"+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 s.Paper("",{}),[])}},{key:"render",value:function(){var e=this.state.mappedResults,t=e.errorsResults,n=e.improvementsResults,r=e.goodResults,a=e.considerationsResults,s=e.problemsResults;return wp.element.createElement(i.Fragment,null,wp.element.createElement(o.ContentAnalysis,{errorsResults:t,problemsResults:s,improvementsResults:n,considerationsResults:a,goodResults:r,activeMarker:this.props.activeMarker,onMarkButtonClick:this.handleMarkButtonClick,marksButtonClassName:this.props.marksButtonClassName,marksButtonStatus:this.props.marksButtonStatus,headingLevel:3,keywordKey:this.props.keywordKey}))}}]),t}();c.propTypes={results:a.default.array,marksButtonClassName:a.default.string,marksButtonStatus:a.default.string,setActiveMarker:a.default.func.isRequired,setMarkerPauseStatus:a.default.func.isRequired,activeMarker:a.default.string,keywordKey:a.default.string},c.defaultProps={results:null,marksButtonStatus:"enabled",marksButtonClassName:"",activeMarker:null,keywordKey:""},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(1)),a=s(n(8)),o=n(5),i=n(6);function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,a.default)(o.StyledSection).withConfig({displayName:"SnippetPreviewSection__Section",componentId:"gjy5w5-0"})(["&","{padding:0;& ","{",":20px;margin-left:",";}}"],o.StyledSectionBase,o.StyledHeading,(0,i.getDirectionalStyle)("padding-left","padding-right"),(0,i.getDirectionalStyle)("0","20px")),u=function(e){var t=e.children,n=e.title,r=e.icon,a=e.hasPaperStyle;return wp.element.createElement(l,{headingLevel:3,headingText:n,headingIcon:r,headingIconColor:"#555",hasPaperStyle:a},t)};u.propTypes={children:r.default.element,title:r.default.string,icon:r.default.string,hasPaperStyle:r.default.bool},u.defaultProps={hasPaperStyle:!0},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.schemaTypeOptionsPropType=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(3),i=n(5),s=c(n(1)),l=n(85),u=c(l);function c(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.initialPageType=e.pageType.value,n.initialArticleType=e.articleType?e.articleType.value:"None",n.state={schema_page_type:n.initialPageType,schema_article_type:n.initialArticleType},n.handleOptionFocus=n.handleOptionFocus.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{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(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},e,t))}},{key:"render",value:function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement(i.FieldGroup,{label:(0,o.__)("Schema settings","wordpress-seo"),linkTo:"https://yoa.st/404",linkText:(0,o.__)("Learn more about the schema settings","wordpress-seo"),description:(0,o.sprintf)((0,o.__)("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()&&wp.element.createElement(i.Alert,{type:"warning"},(0,o.sprintf)((0,o._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)),wp.element.createElement(i.Select,{id:"schema-page-type-"+this.props.postType,name:"schema_page_type",options:this.props.pageTypeOptions,label:(0,o.__)("Default Page type","wordpress-seo"),onChange:this.props.pageType.onChange,selected:this.props.pageType.value,onOptionFocus:this.handleOptionFocus}),this.props.articleType&&wp.element.createElement(i.Select,{id:"schema-article-type-"+this.props.postType,name:"schema_article_type",options:this.props.articleTypeOptions,label:(0,o.__)("Default Article type","wordpress-seo"),onChange:this.props.articleType.onChange,onOptionFocus:this.handleOptionFocus,selected:this.props.articleType.value}))}}]),t}(),p=t.schemaTypeOptionsPropType=s.default.arrayOf(s.default.shape({name:s.default.string,value:s.default.string}));d.propTypes={postType:s.default.string.isRequired,postTypeName:s.default.string.isRequired,pageType:l.linkFieldsShape.isRequired,articleType:l.linkFieldsShape,pageTypeOptions:p.isRequired,articleTypeOptions:p.isRequired},d.defaultProps={articleType:null},t.default=(0,u.default)(function(e){return[{name:"pageType",fieldId:e.pageTypeFieldId},{name:"articleType",fieldId:e.articleTypeFieldId}]})(d)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(119));t.default=(0,a.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFocusKeyphrase,r=t.getSEMrushSelectedCountry,a=t.getSEMrushRequestLimitReached,o=t.getSEMrushRequestResponse,i=t.getSEMrushRequestIsSuccess,s=t.getSEMrushIsRequestPending,l=t.getSEMrushRequestHasData,u=t.getSEMrushRequestKeyphrase;return{keyphrase:n(),countryCode:r(),requestLimitReached:a(),response:o(),isSuccess:i(),isPending:s(),requestHasData:l(),lastRequestKeyphrase:u()}}),(0,r.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setSEMrushChangeCountry,r=t.setSEMrushNewRequest,a=t.setSEMrushRequestSucceeded,o=t.setSEMrushRequestFailed,i=t.setSEMrushSetRequestLimitReached,s=t.setSEMrushNoResultsFound;return{setCountry:function(e){n(e)},newRequest:function(e,t){r(e,t)},setRequestSucceeded:function(e){a(e)},setRequestFailed:function(e){o(e)},setRequestLimitReached:function(){i()},setNoResultsFound:function(){s()}}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasError=h,t.getUserMessage=_,t.hasMaximumRelatedKeyphrases=g,t.default=v;var r=n(4),a=n(3),o=y(n(1)),i=n(0),s=y(n(120)),l=y(n(121)),u=y(n(122)),c=y(n(123)),d=y(n(126)),p=y(n(127)),f=y(n(128)),m=y(n(9));function y(e){return e&&e.__esModule?e:{default:e}}function h(e){return!(0,i.isEmpty)(e)&&"error"in e}function _(e){var t=e.isPending,n=e.requestLimitReached,r=e.isSuccess,o=e.response,i=e.requestHasData;return t?wp.element.createElement(s.default,null):n?wp.element.createElement(l.default,null):!r&&h(o)?wp.element.createElement(p.default,null):i?void 0:wp.element.createElement("p",null,(0,a.__)("Sorry, there's no data available for that keyphrase/country combination.","wordpress-seo"))}function g(e){return e&&e.length>=4}function v(e){var t=e.response,n=e.lastRequestKeyphrase,a=e.keyphrase,o=e.newRequest,i=e.setCountry,s=e.renderAction,l=e.countryCode,p=e.requestLimitReached,y=e.setRequestFailed,h=e.setNoResultsFound,v=e.relatedKeyphrases,w=e.setRequestSucceeded,b=e.setRequestLimitReached,E=(0,m.default)().isPremium;return wp.element.createElement(r.Fragment,null,!p&&wp.element.createElement(r.Fragment,null,!E&&wp.element.createElement(d.default,null),E&&g(v)&&wp.element.createElement(f.default,null),wp.element.createElement(u.default,{countryCode:l,setCountry:i,newRequest:o,keyphrase:a,setRequestFailed:y,setNoResultsFound:h,setRequestSucceeded:w,setRequestLimitReached:b,response:t,lastRequestKeyphrase:n})),_(e),wp.element.createElement(c.default,{keyphrase:a,relatedKeyphrases:v,countryCode:l,renderAction:s,data:t}))}v.propTypes={keyphrase:o.default.string,relatedKeyphrases:o.default.array,renderAction:o.default.func,requestLimitReached:o.default.bool,countryCode:o.default.string.isRequired,setCountry:o.default.func.isRequired,newRequest:o.default.func.isRequired,setRequestSucceeded:o.default.func.isRequired,setRequestLimitReached:o.default.func.isRequired,setRequestFailed:o.default.func.isRequired,setNoResultsFound:o.default.func.isRequired,response:o.default.object,lastRequestKeyphrase:o.default.string},v.defaultProps={keyphrase:"",relatedKeyphrases:[],renderAction:null,requestLimitReached:!1,response:{},lastRequestKeyphrase:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement("p",{className:"yoast-related-keyphrases-modal__loading-message"},(0,r.sprintf)((0,r.__)("Please wait while %1$s connects to %2$s to get related keyphrases...","wordpress-seo"),"Yoast SEO","SEMrush")," ",wp.element.createElement(a.SvgIcon,{icon:"loading-spinner"}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(4),o=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(a.Fragment,null,wp.element.createElement("p",null,(0,r.sprintf)((0,r.__)("You've reached your request limit for today. Check back tomorrow or upgrade your plan over at %s.","wordpress-seo"),"SEMrush")),wp.element.createElement(o,{href:window.wpseoAdminL10n["shortlinks.semrush.prices"],className:"yoast-button-upsell"},(0,r.sprintf)((0,r.__)("Upgrade your %s plan","wordpress-seo"),"SEMrush"),wp.element.createElement("span",{"aria-hidden":"true",className:"yoast-button-upsell__caret"})))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SEMrushCountrySelector=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=c(n(1)),o=n(4),i=c(n(56)),s=n(57),l=n(3),u=n(5);function c(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var p="yoast-semrush-country-selector",f=[{value:"us",name:"United States - US"},{value:"uk",name:"United Kingdom - UK"},{value:"ca",name:"Canada - CA"},{value:"ru",name:"Russia - RU"},{value:"de",name:"Germany - DE"},{value:"fr",name:"France - FR"},{value:"es",name:"Spain - ES"},{value:"it",name:"Italy - IT"},{value:"br",name:"Brazil - BR"},{value:"au",name:"Australia - AU"},{value:"ar",name:"Argentina - AR"},{value:"be",name:"Belgium - BE"},{value:"ch",name:"Switzerland - CH"},{value:"dk",name:"Denmark - DK"},{value:"fi",name:"Finland - FI"},{value:"hk",name:"Hong Kong - HK"},{value:"ie",name:"Ireland - IE"},{value:"il",name:"Israel - IL"},{value:"mx",name:"Mexico - MX"},{value:"nl",name:"Netherlands - NL"},{value:"no",name:"Norway - NO"},{value:"pl",name:"Poland - PL"},{value:"se",name:"Sweden - SE"},{value:"sg",name:"Singapore - SG"},{value:"tr",name:"Turkey - TR"},{value:"jp",name:"Japan - JP"},{value:"in",name:"India - IN"},{value:"hu",name:"Hungary - HU"},{value:"af",name:"Afghanistan - AF"},{value:"al",name:"Albania - AL"},{value:"dz",name:"Algeria - DZ"},{value:"ao",name:"Angola - AO"},{value:"am",name:"Armenia - AM"},{value:"at",name:"Austria - AT"},{value:"az",name:"Azerbaijan - AZ"},{value:"bh",name:"Bahrain - BH"},{value:"bd",name:"Bangladesh - BD"},{value:"by",name:"Belarus - BY"},{value:"bz",name:"Belize - BZ"},{value:"bo",name:"Bolivia - BO"},{value:"ba",name:"Bosnia and Herzegovina - BA"},{value:"bw",name:"Botswana - BW"},{value:"bn",name:"Brunei - BN"},{value:"bg",name:"Bulgaria - BG"},{value:"cv",name:"Cabo Verde - CV"},{value:"kh",name:"Cambodia - KH"},{value:"cm",name:"Cameroon - CM"},{value:"cl",name:"Chile - CL"},{value:"co",name:"Colombia - CO"},{value:"cr",name:"Costa Rica - CR"},{value:"hr",name:"Croatia - HR"},{value:"cy",name:"Cyprus - CY"},{value:"cz",name:"Czech Republic - CZ"},{value:"cd",name:"Congo - CD"},{value:"do",name:"Dominican Republic - DO"},{value:"ec",name:"Ecuador - EC"},{value:"eg",name:"Egypt - EG"},{value:"sv",name:"El Salvador - SV"},{value:"ee",name:"Estonia - EE"},{value:"et",name:"Ethiopia - ET"},{value:"ge",name:"Georgia - GE"},{value:"gh",name:"Ghana - GH"},{value:"gr",name:"Greece - GR"},{value:"gt",name:"Guatemala - GT"},{value:"gy",name:"Guyana - GY"},{value:"ht",name:"Haiti - HT"},{value:"hn",name:"Honduras - HN"},{value:"is",name:"Iceland - IS"},{value:"id",name:"Indonesia - ID"},{value:"jm",name:"Jamaica - JM"},{value:"jo",name:"Jordan - JO"},{value:"kz",name:"Kazakhstan - KZ"},{value:"kw",name:"Kuwait - KW"},{value:"lv",name:"Latvia - LV"},{value:"lb",name:"Lebanon - LB"},{value:"lt",name:"Lithuania - LT"},{value:"lu",name:"Luxembourg - LU"},{value:"mg",name:"Madagascar - MG"},{value:"my",name:"Malaysia - MY"},{value:"mt",name:"Malta - MT"},{value:"mu",name:"Mauritius - MU"},{value:"md",name:"Moldova - MD"},{value:"mn",name:"Mongolia - MN"},{value:"me",name:"Montenegro - ME"},{value:"ma",name:"Morocco - MA"},{value:"mz",name:"Mozambique - MZ"},{value:"na",name:"Namibia - NA"},{value:"np",name:"Nepal - NP"},{value:"nz",name:"New Zealand - NZ"},{value:"ni",name:"Nicaragua - NI"},{value:"ng",name:"Nigeria - NG"},{value:"om",name:"Oman - OM"},{value:"py",name:"Paraguay - PY"},{value:"pe",name:"Peru - PE"},{value:"ph",name:"Philippines - PH"},{value:"pt",name:"Portugal - PT"},{value:"ro",name:"Romania - RO"},{value:"sa",name:"Saudi Arabia - SA"},{value:"sn",name:"Senegal - SN"},{value:"rs",name:"Serbia - RS"},{value:"sk",name:"Slovakia - SK"},{value:"si",name:"Slovenia - SI"},{value:"za",name:"South Africa - ZA"},{value:"kr",name:"South Korea - KR"},{value:"lk",name:"Sri Lanka - LK"},{value:"th",name:"Thailand - TH"},{value:"bs",name:"Bahamas - BS"},{value:"tt",name:"Trinidad and Tobago - TT"},{value:"tn",name:"Tunisia - TN"},{value:"ua",name:"Ukraine - UA"},{value:"ae",name:"United Arab Emirates - AE"},{value:"uy",name:"Uruguay - UY"},{value:"ve",name:"Venezuela - VE"},{value:"vn",name:"Vietnam - VN"},{value:"zm",name:"Zambia - ZM"},{value:"zw",name:"Zimbabwe - ZW"},{value:"ly",name:"Libya - LY"}],m=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.relatedKeyphrasesRequest=n.relatedKeyphrasesRequest.bind(n),n.onChangeHandler=n.onChangeHandler.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidMount",value:function(){this.props.response&&this.props.keyphrase===this.props.lastRequestKeyphrase||this.relatedKeyphrasesRequest()}},{key:"storeCountryCode",value:function(e){(0,i.default)({path:"yoast/v1/semrush/country_code",method:"POST",data:{country_code:e}})}},{key:"relatedKeyphrasesRequest",value:function(){var e=d(regeneratorRuntime.mark(function e(){var t,n,r,a;return regeneratorRuntime.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)}));return function(){return e.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:function(){var e=d(regeneratorRuntime.mark(function e(t,n){return regeneratorRuntime.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,i.default)({path:(0,s.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,this)}));return function(t,n){return e.apply(this,arguments)}}()},{key:"onChangeHandler",value:function(e){this.props.setCountry(e)}},{key:"render",value:function(){return wp.element.createElement("div",{id:p},wp.element.createElement(u.SingleSelect,{id:p+"-select",label:(0,l.__)("Show results for:","wordpress-seo"),name:"semrush-country-code",options:f,selected:this.props.countryCode,onChange:this.onChangeHandler,wrapperClassName:"yoast-field-group yoast-field-group--inline"}),wp.element.createElement(u.NewButton,{id:p+"-button",variant:"secondary",onClick:this.relatedKeyphrasesRequest},(0,l.__)("Select country","wordpress-seo")))}}]),t}();m.propTypes={keyphrase:a.default.string,countryCode:a.default.string,response:a.default.object,lastRequestKeyphrase:a.default.string,setCountry:a.default.func.isRequired,newRequest:a.default.func.isRequired,setNoResultsFound:a.default.func.isRequired,setRequestSucceeded:a.default.func.isRequired,setRequestLimitReached:a.default.func.isRequired,setRequestFailed:a.default.func.isRequired},m.defaultProps={keyphrase:"",countryCode:"us",response:{},lastRequestKeyphrase:""};t.SEMrushCountrySelector=function(e){return wp.element.createElement(u.ErrorBoundary,null,wp.element.createElement(m,e))},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=d(n(1)),o=n(4),i=n(3),s=n(0),l=n(6),u=d(n(124)),c=d(n(34));function d(e){return e&&e.__esModule?e:{default:e}}var p=(0,l.makeOutboundLink)(),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.transformTrendDataToChartPoints=n.transformTrendDataToChartPoints.bind(n),n.getAreaChartDataTableHeaderLabels=n.getAreaChartDataTableHeaderLabels.bind(n),n.mapAreaChartDataToTableData=n.mapAreaChartDataToTableData.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"transformTrendDataToChartPoints",value:function(e){return e.split(",").map(function(e,t){return{x:t,y:parseFloat(e)}})}},{key:"getAreaChartDataTableHeaderLabels",value:function(){return[(0,i.__)("Twelve months ago","wordpress-seo"),(0,i.__)("Eleven months ago","wordpress-seo"),(0,i.__)("Ten months ago","wordpress-seo"),(0,i.__)("Nine months ago","wordpress-seo"),(0,i.__)("Eight months ago","wordpress-seo"),(0,i.__)("Seven months ago","wordpress-seo"),(0,i.__)("Six months ago","wordpress-seo"),(0,i.__)("Five months ago","wordpress-seo"),(0,i.__)("Four months ago","wordpress-seo"),(0,i.__)("Three months ago","wordpress-seo"),(0,i.__)("Two months ago","wordpress-seo"),(0,i.__)("Last month","wordpress-seo")]}},{key:"mapAreaChartDataToTableData",value:function(e){return Math.round(100*e)}},{key:"render",value:function(){var e=this,t=this.props,n=t.keyphrase,r=t.relatedKeyphrases,a=t.countryCode,l=t.data,d=t.renderAction,f="https://www.semrush.com/analytics/keywordoverview/?q="+encodeURIComponent(n)+"&db="+encodeURIComponent(a);return l&&!(0,s.isEmpty)(l.results)&&wp.element.createElement(o.Fragment,null,wp.element.createElement("table",{className:"yoast yoast-table"},wp.element.createElement("thead",null,wp.element.createElement("tr",null,wp.element.createElement("th",{scope:"col",className:"yoast-table--primary"},(0,i.__)("Related keyphrase","wordpress-seo")),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Volume","wordpress-seo")},(0,i.__)("Volume","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.volume_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases volume","wordpress-seo")))),wp.element.createElement("th",{scope:"col",abbr:(0,i.__)("Trend","wordpress-seo")},(0,i.__)("Trend","wordpress-seo"),wp.element.createElement(c.default,{href:window.wpseoAdminL10n["shortlinks.semrush.trend_help"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Learn more about the related keyphrases trend","wordpress-seo")))),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"}))),wp.element.createElement("tbody",null,l.results.rows.map(function(t,n){var a=t[0],o=e.transformTrendDataToChartPoints(t[2]),s=e.getAreaChartDataTableHeaderLabels();return wp.element.createElement("tr",{key:n},wp.element.createElement("td",null,a),wp.element.createElement("td",null,t[1]),wp.element.createElement("td",{className:"yoast-table--nopadding"},wp.element.createElement(u.default,{width:66,height:24,data:o,strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc",className:"yoast-related-keyphrases-modal__chart",mapChartDataToTableData:e.mapAreaChartDataToTableData,dataTableCaption:(0,i.__)("Keyphrase volume in the last 12 months on a scale from 0 to 100.","wordpress-seo"),dataTableHeaderLabels:s})),d&&wp.element.createElement("td",{className:"yoast-table--nobreak"},d(a,r)))}))),wp.element.createElement("p",{style:{marginBottom:0}},wp.element.createElement(p,{href:f},(0,i.sprintf)((0,i.__)("Get more insights at %s","wordpress-seo"),"SEMrush"))))}}]),t}();f.propTypes={data:a.default.object,keyphrase:a.default.string,relatedKeyphrases:a.default.array,countryCode:a.default.string,renderAction:a.default.func},f.defaultProps={data:{},keyphrase:"",relatedKeyphrases:[],countryCode:"us",renderAction:null},t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(1)),a=n(4),o=i(n(125));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var l=function(e){var t=e.data,n=e.width,r=e.height,i=e.fillColor,l=e.strokeColor,u=e.strokeWidth,c=e.className,d=e.mapChartDataToTableData,p=e.dataTableCaption,f=e.dataTableHeaderLabels,m=e.isDataTableVisuallyHidden,y=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.x})))),h=Math.max(1,Math.max.apply(Math,s(t.map(function(e){return e.y})))),_=r-u,g=t.map(function(e){return e.x/y*n+","+(_-e.y/h*_+u)}).join(" "),v="0,"+(_+u)+" "+g+" "+n+","+(_+u);return wp.element.createElement(a.Fragment,null,wp.element.createElement("svg",{width:n,height:r,viewBox:"0 0 "+n+" "+r,className:c,role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement("polygon",{fill:i,points:v}),wp.element.createElement("polyline",{fill:"none",stroke:l,strokeWidth:u,strokeLinejoin:"round",strokeLinecap:"round",points:g})),d&&wp.element.createElement(o.default,{data:t,mapChartDataToTableData:d,dataTableCaption:p,dataTableHeaderLabels:f,isDataTableVisuallyHidden:m}))};l.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,width:r.default.number.isRequired,height:r.default.number.isRequired,fillColor:r.default.string,strokeColor:r.default.string,strokeWidth:r.default.number,className:r.default.string,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},l.defaultProps={fillColor:null,strokeColor:"#000000",strokeWidth:1,className:"",mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),a=n(3);var o=function(e){var t=e.data,n=e.mapChartDataToTableData,r=e.dataTableCaption,o=e.dataTableHeaderLabels,i=e.isDataTableVisuallyHidden;return t.length!==o.length?wp.element.createElement("p",null,(0,a.__)("The number of headers and header labels don't match.","wordpress-seo")):wp.element.createElement("div",{className:i?"screen-reader-text":null},wp.element.createElement("table",null,wp.element.createElement("caption",null,r),wp.element.createElement("thead",null,wp.element.createElement("tr",null,o.map(function(e,t){return wp.element.createElement("th",{key:t},e)}))),wp.element.createElement("tbody",null,wp.element.createElement("tr",null,t.map(function(e,t){return wp.element.createElement("td",{key:t},n(e.y))})))))};o.propTypes={data:r.default.arrayOf(r.default.shape({x:r.default.number,y:r.default.number})).isRequired,mapChartDataToTableData:r.default.func,dataTableCaption:r.default.string.isRequired,dataTableHeaderLabels:r.default.array.isRequired,isDataTableVisuallyHidden:r.default.bool},o.defaultProps={mapChartDataToTableData:null,isDataTableVisuallyHidden:!0},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5),o=(0,n(6).makeOutboundLink)();t.default=function(){return wp.element.createElement(a.Alert,{type:"info"},(0,r.sprintf)((0,r.__)("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")+" ",wp.element.createElement(o,{href:window.wpseoAdminL10n["shortlinks.semrush.premium_landing_page"]},(0,r.sprintf)((0,r.__)("Check out %s!","wordpress-seo"),"Yoast SEO Premium")))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement(a.Alert,{type:"error"},(0,r.__)("We've encountered a problem trying to get related keyphrases. Please try again later.","wordpress-seo"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=n(5);t.default=function(){return wp.element.createElement(a.Alert,{type:"warning"},(0,r.sprintf)((0,r.__)("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"))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tinyMCEDecorator=l,t.editorHasMarks=function(e){return-1!==e.getContent({format:"raw"}).indexOf("<"+i)},t.editorRemoveMarks=function(e){l(e)(null,[])};var r=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),a=n(0);var o=r.default.markers.removeMarks,i="yoastmark";function s(e,t,n){var r=e.dom,s=e.getContent();s=o(s),(0,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 l=r.select(i);(0,a.forEach)(l,function(e){e.setAttribute("data-mce-bogus","1")})}function l(e){return window.test=e,s.bind(null,e)}},,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=s(n(162)),i=s(n(32));function s(e){return e&&e.__esModule?e:{default:e}}t.default=(0,r.compose)([(0,a.withSelect)(function(e){return{isCornerstone:(0,e("yoast-seo/editor").isCornerstoneContent)(),learnMoreUrl:wpseoAdminL10n["shortlinks.cornerstone_content_info"]}}),(0,a.withDispatch)(function(e){return{onChange:e("yoast-seo/editor").toggleCornerstoneContent}}),(0,i.default)()])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.KeywordInput=void 0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(12),i=n(3),s=y(n(1)),l=n(17),u=n(15),c=y(n(8)),d=n(16),p=y(n(34)),f=n(14),m=y(n(164));function y(e){return e&&e.__esModule?e:{default:e}}var h=c.default.div.withConfig({displayName:"KeywordInput__KeywordInputContainer",componentId:"sc-16tnggn-0"})(["padding:16px;border-bottom:1px solid transparent;"]),_=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.validate=n.validate.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"validate",value:function(){var e=[];return 0===this.props.keyword.trim().length&&this.props.displayNoKeyphraseMessage&&e.push((0,i.__)("Please enter a focus keyphrase first to get related keyphrases","wordpress-seo")),this.props.keyword.includes(",")&&e.push((0,i.__)("Are you trying to use multiple keyphrases? You should add them separately below.","wordpress-seo")),this.props.keyword.length>191&&e.push((0,i.__)("Your keyphrase is too long. It can be a maximum of 191 characters.","wordpress-seo")),e}},{key:"render",value:function(){var e=this,n=this.validate();return wp.element.createElement(f.LocationConsumer,null,function(r){return wp.element.createElement("div",{style:"sidebar"===r?{borderBottom:"1px solid #f0f0f0"}:{}},wp.element.createElement(h,{location:r},wp.element.createElement(u.KeywordInput,{id:"focus-keyword-input-"+r,onChange:e.props.onFocusKeywordChange,keyword:e.props.keyword,label:(0,i.__)("Focus keyphrase","wordpress-seo"),helpLink:t.renderHelpLink(),onBlurKeyword:e.props.onBlurKeyword,onFocusKeyword:e.props.onFocusKeyword,hasError:n.length>0,errorMessages:n}),e.props.isSEMrushIntegrationActive&&wp.element.createElement(m.default,{location:r,keyphrase:e.props.keyword})),wp.element.createElement(o.Slot,{name:"YoastAfterKeywordInput"+(r.charAt(0).toUpperCase()+r.slice(1))}))})}}],[{key:"renderHelpLink",value:function(){return wp.element.createElement(p.default,{href:wpseoAdminL10n["shortlinks.focus_keyword_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,i.__)("Help on choosing the perfect focus keyphrase","wordpress-seo")))}}]),t}();_.propTypes={keyword:s.default.string,onFocusKeywordChange:s.default.func.isRequired,onFocusKeyword:s.default.func.isRequired,onBlurKeyword:s.default.func.isRequired,isSEMrushIntegrationActive:s.default.bool,displayNoKeyphraseMessage:s.default.bool},_.defaultProps={keyword:"",isSEMrushIntegrationActive:!1,displayNoKeyphraseMessage:!1},t.KeywordInput=_,t.default=(0,l.connect)(function(e){return{keyword:e.focusKeyword,displayNoKeyphraseMessage:e.SEMrushModal.displayNoKeyphraseMessage}},function(e){return{onFocusKeywordChange:function(t){e((0,d.setFocusKeyword)(t))},onFocusKeyword:function(){e((0,d.setMarkerPauseStatus)(!0))},onBlurKeyword:function(){e((0,d.setMarkerPauseStatus)(!1))}}})(_)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=n(7),s=v(n(1)),l=v(n(8)),u=n(3),c=n(0),d=v(n(97)),p=v(n(62)),f=v(n(31)),m=v(n(27)),y=n(28),h=n(14),_=v(n(34)),g=v(n(167));function v(e){return e&&e.__esModule?e:{default:e}}var w=l.default.span.withConfig({displayName:"ReadabilityAnalysis__AnalysisHeader",componentId:"z9f9eh-0"})(["font-size:1em;font-weight:bold;margin:0 0 8px;display:block;"]),b=l.default.div.withConfig({displayName:"ReadabilityAnalysis__ReadabilityResultsTabContainer",componentId:"z9f9eh-1"})(["padding:16px;"]),E=(0,l.default)(_.default).withConfig({displayName:"ReadabilityAnalysis__StyledHelpLink",componentId:"z9f9eh-2"})(["margin:-8px 0 -4px 4px;"]),T=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),a(t,[{key:"renderResults",value:function(){return wp.element.createElement(o.Fragment,null,wp.element.createElement(w,null,(0,u.__)("Analysis results","wordpress-seo"),wp.element.createElement(E,{href:wpseoAdminL10n["shortlinks.readability_analysis_info"],className:"dashicons"},wp.element.createElement("span",{className:"screen-reader-text"},(0,u.__)("Learn more about the readability analysis","wordpress-seo")))),wp.element.createElement(p.default,{results:this.props.results,marksButtonClassName:"yoast-tooltip yoast-tooltip-w",marksButtonStatus:this.props.marksButtonStatus}))}},{key:"render",value:function(){var e=this,t=(0,m.default)(this.props.overallScore);return(0,c.isNil)(this.props.overallScore)&&(t.className="loading"),wp.element.createElement(h.LocationConsumer,null,function(n){return"sidebar"===n?wp.element.createElement(f.default,{title:(0,u.__)("Readability analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,y.getIconForScore)(t.className),prefixIconCollapsed:(0,y.getIconForScore)(t.className),id:"yoast-readability-analysis-collapsible-"+n},e.renderResults()):"metabox"===n?wp.element.createElement(g.default,{target:"wpseo-metabox-readability-root"},wp.element.createElement(b,null,wp.element.createElement(d.default,{target:"wpseo-readability-score-icon",scoreIndicator:t.className}),e.renderResults())):void 0})}}]),t}();T.propTypes={results:s.default.array.isRequired,marksButtonStatus:s.default.string.isRequired,overallScore:s.default.number},T.defaultProps={overallScore:null},t.default=(0,i.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getReadabilityResults,a=t.getMarkButtonStatus;return r({},n(),{marksButtonStatus:a()})})(T)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=k(n(1)),i=n(17),s=k(n(8)),l=n(3),u=n(5),c=n(18),d=k(n(97)),p=k(n(31)),f=k(n(35)),m=k(n(62)),y=k(n(27)),h=n(28),_=k(n(168)),g=k(n(169)),v=k(n(170)),w=n(14),b=k(n(171)),E=n(96),T=k(n(172));function k(e){return e&&e.__esModule?e:{default:e}}var O=s.default.span.withConfig({displayName:"SeoAnalysis__AnalysisHeader",componentId:"sc-18qlxmf-0"})(["font-size:1em;font-weight:bold;margin:1.5em 0 1em;display:block;"]),S=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"renderSynonymsUpsell",value:function(e){var t={classes:{openButton:"wpseo-keyword-synonyms button-link"},labels:{open:"+ "+(0,l.__)("Add synonyms","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add keyphrase synonyms?","wordpress-seo")),wp.element.createElement(_.default,{link:n,buyLink:r})))}},{key:"renderMultipleKeywordsUpsell",value:function(e){var t={classes:{openButton:"wpseo-multiple-keywords button-link"},labels:{open:"+ "+(0,l.__)("Add related keyphrase","wordpress-seo"),modalAriaLabel:(0,l.sprintf)((0,l.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),heading:(0,l.sprintf)((0,l.__)("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"]),wp.element.createElement(g.default,t,wp.element.createElement(E.ModalContainer,null,wp.element.createElement(E.ModalIcon,{icon:u.YoastSeoIcon}),wp.element.createElement("h2",null,(0,l.__)("Would you like to add a related keyphrase?","wordpress-seo")),wp.element.createElement(v.default,{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=f.default;return"sidebar"===e.toLowerCase()&&(t=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_link"],n=wpseoAdminL10n["shortlinks.upsell.sidebar.additional_button"],r=p.default),wp.element.createElement(r,{prefixIcon:{icon:"plus",color:c.colors.$color_grey_medium_dark},prefixIconCollapsed:{icon:"plus",color:c.colors.$color_grey_medium_dark},title:(0,l.__)("Add related keyphrase","wordpress-seo"),id:"yoast-additional-keyphrase-collapsible-"+e},wp.element.createElement(v.default,{link:t,buyLink:n}))}},{key:"renderWordFormsUpsell",value:function(e){return wp.element.createElement(b.default,{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:wp.element.createElement(d.default,{target:"wpseo-seo-score-icon",scoreIndicator:t})}},{key:"render",value:function(){var e=this,t=(0,y.default)(this.props.overallScore);return"loading"!==t.className&&""===this.props.keyword&&(t.className="na",t.screenReaderReadabilityText=(0,l.__)("Enter a focus keyphrase to calculate the SEO score","wordpress-seo")),wp.element.createElement(w.LocationConsumer,null,function(n){var r="metabox"===n?f.default:p.default;return wp.element.createElement(a.Fragment,null,wp.element.createElement(r,{title:(0,l.__)("SEO analysis","wordpress-seo"),titleScreenReaderText:t.screenReaderReadabilityText,prefixIcon:(0,h.getIconForScore)(t.className),prefixIconCollapsed:(0,h.getIconForScore)(t.className),subTitle:e.props.keyword,id:"yoast-seo-analysis-collapsible-"+n},wp.element.createElement(T.default,{location:n}),e.props.shouldUpsell&&wp.element.createElement(a.Fragment,null,e.renderSynonymsUpsell(n),e.renderMultipleKeywordsUpsell(n)),e.props.shouldUpsellWordFormRecognition&&e.renderWordFormsUpsell(n),wp.element.createElement(O,null,(0,l.__)("Analysis results","wordpress-seo")),wp.element.createElement(m.default,{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))})}}]),t}();S.propTypes={results:o.default.array,marksButtonStatus:o.default.string,keyword:o.default.string,shouldUpsell:o.default.bool,shouldUpsellWordFormRecognition:o.default.bool,overallScore:o.default.number},S.defaultProps={results:[],marksButtonStatus:null,keyword:"",shouldUpsell:!1,shouldUpsellWordFormRecognition:!1,overallScore:null},t.default=(0,i.connect)(function(e,t){var n=t.hideMarksButtons?"disabled":e.marksButtonStatus,r=e.focusKeyword,a=[],o=null;return e.analysis.seo[r]&&(a=e.analysis.seo[r].results,o=e.analysis.seo[r].overallScore),{results:a,marksButtonStatus:n,keyword:r,overallScore:o}})(S)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=n(10),o=n(7),i=n(4),s=n(3),l=p(n(1)),u=p(n(178)),c=p(n(50)),d=p(n(32));function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){var t=null!==c.default.articleTypeInput;(0,i.useEffect)(function(){e.loadSchemaPageData(),t&&e.loadSchemaArticleData()},[]);var n=window.wpseoScriptData.metabox.schema,a=n.pageTypeOptions,o=n.articleTypeOptions,l={articleTypeLabel:(0,s.__)("Article type","wordpress-seo"),pageTypeLabel:(0,s.__)("Page type","wordpress-seo"),postTypeName:window.wpseoAdminL10n.postTypeNamePlural,helpTextTitle:(0,s.__)("Yoast SEO automatically describes your pages using schema.org","wordpress-seo"),helpTextDescription:(0,s.__)("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:a,articleTypeOptions:o},d=r({},e,l,function(e){return"metabox"===e?{helpTextLink:"https://yoa.st/400",additionalHelpTextLink:"https://yoa.st/402",isMetabox:!0}:{helpTextLink:"https://yoa.st/401",additionalHelpTextLink:"https://yoa.st/403",isMetabox:!1}}(e.location));return wp.element.createElement(u.default,d)};f.propTypes={displayFooter:l.default.bool.isRequired,schemaPageTypeSelected:l.default.string.isRequired,schemaArticleTypeSelected:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,defaultPageType:l.default.string.isRequired,loadSchemaPageData:l.default.func.isRequired,loadSchemaArticleData:l.default.func.isRequired,schemaPageTypeChange:l.default.func.isRequired,schemaArticleTypeChange:l.default.func.isRequired,location:l.default.string.isRequired},t.default=(0,a.compose)([(0,o.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getPreferences,r=t.getPageType,a=t.getDefaultPageType,o=t.getArticleType,i=t.getDefaultArticleType;return{displayFooter:n().displaySchemaSettingsFooter,schemaPageTypeSelected:r(),schemaArticleTypeSelected:o(),defaultArticleType:i(),defaultPageType:a()}}),(0,o.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}}),(0,d.default)()])(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=function(e){return e&&e.__esModule?e:{default:e}}(n(179));t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getNoIndex,r=t.getNoFollow,a=t.getAdvanced,o=t.getBreadcrumbsTitle,i=t.getCanonical,s=t.getIsLoading,l=t.getEditorContext,u=(0,t.getPreferences)(),c=u.isBreadcrumbsDisabled,d=u.isPrivateBlog;return{noIndex:n(),noFollow:r(),advanced:a(),breadcrumbsTitle:o(),canonical:i(),isLoading:s(),editorContext:l(),isBreadcrumbsDisabled:c,isPrivateBlog:d}}),(0,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}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(void 0===e.length)return e;return(0,r.flatten)(e).sort(function(e,t){return void 0===e.props.renderPriority?1:e.props.renderPriority-t.props.renderPriority})};var r=n(0)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0),o=s(n(180)),i=s(n(181));function s(e){return e&&e.__esModule?e:{default:e}}var l={classicEditorHidden:a.noop,classicEditorShown:a.noop,pageBuilderLoaded:a.noop},u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.determineActivePageBuilders()}return r(e,[{key:"determineActivePageBuilders",value:function(){o.default.isActive()&&(this.diviActive=!0),i.default.isActive()&&(this.vcActive=!0)}},{key:"isPageBuilderActive",value:function(){return this.diviActive||this.vcActive}},{key:"listen",value:function(e){(this.callbacks=(0,a.defaults)(e,l),this.diviActive)&&(new o.default).listen(e)}},{key:"isClassicEditorHidden",value:function(){return!(!this.diviActive||!o.default.isTinyMCEHidden())}}]),e}();t.default=u},,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=p;var r=n(3),a=n(5),o=n(6),i=c(n(1)),s=c(n(163)),l=c(n(35)),u=c(n(31));function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,o.makeOutboundLink)();function p(e){var t=e.isCornerstone,n=e.onChange,i=e.learnMoreUrl,c=e.location,p="metabox"===c?l.default:u.default;return wp.element.createElement(p,{id:(0,o.join)(["yoast-cornerstone-collapsible",c]),title:(0,r.__)("Cornerstone content","wordpress-seo")},wp.element.createElement(a.HelpText,null,(0,r.__)("Cornerstone content should be the most important and extensive articles on your site.","wordpress-seo")+" ",wp.element.createElement(d,{href:i},(0,r.__)("Learn more about Cornerstone Content.","wordpress-seo"))),wp.element.createElement(s.default,{id:(0,o.join)(["yoast-cornerstone",c]),isEnabled:t,onToggle:n}))}p.propTypes={isCornerstone:i.default.bool,onChange:i.default.func,learnMoreUrl:i.default.string.isRequired,location:i.default.string},p.defaultProps={isCornerstone:!0,onChange:function(){},location:""}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=u(n(1)),i=u(n(8)),s=n(5),l=n(3);function u(e){return e&&e.__esModule?e:{default:e}}var c=i.default.div.withConfig({displayName:"CornerstoneToggle__Cornerstone",componentId:"sc-5dq4y-0"})(["display:flex;margin-top:8px;"]),d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"render",value:function(){return wp.element.createElement(c,null,wp.element.createElement(s.Toggle,{id:this.props.id,labelText:(0,l.__)("Mark as cornerstone content","wordpress-seo"),isEnabled:this.props.isEnabled,onSetToggleState:this.props.onToggle,onToggleDisabled:this.props.onToggleDisabled}))}}]),t}();d.propTypes={id:o.default.string,isEnabled:o.default.bool,onToggle:o.default.func,onToggleDisabled:o.default.func},d.defaultProps={id:"cornerstone-toggle",isEnabled:!0,onToggle:function(){},onToggleDisabled:function(){}},t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=n(10),o=function(e){return e&&e.__esModule?e:{default:e}}(n(165));t.default=(0,a.compose)([(0,r.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getSEMrushModalOpen,r=t.getSEMrushLoginStatus;return{whichModalOpen:n(),isLoggedIn:r()}}),(0,r.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)}}})])(o.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(4),o=n(12),i=m(n(56)),s=n(3),l=m(n(1)),u=n(5),c=n(96),d=m(n(39)),p=m(n(166)),f=n(77);function m(e){return e&&e.__esModule?e:{default:e}}function y(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(a,o){try{var i=t[a](o),s=i.value}catch(e){return void n(e)}if(!i.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onModalOpen=n.onModalOpen.bind(n),n.onModalClose=n.onModalClose.bind(n),n.onLinkClick=n.onLinkClick.bind(n),n.listenToMessages=n.listenToMessages.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"onModalOpen",value:function(){this.props.keyphrase.trim()?this.props.onOpen(this.props.location):this.props.onOpenWithNoKeyphrase()}},{key:"onModalClose",value:function(e){(0,f.isCloseEvent)(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:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r;return regeneratorRuntime.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)}));return function(t){return e.apply(this,arguments)}}()},{key:"performAuthenticationRequest",value:function(){var e=y(regeneratorRuntime.mark(function e(t){var n,r,a;return regeneratorRuntime.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,(0,i.default)({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]])}));return function(t){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=this.props,t=e.keyphrase,n=e.location,r=e.whichModalOpen,i=e.isLoggedIn;return wp.element.createElement(a.Fragment,null,i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.NewButton,{variant:"secondary",id:"yoast-get-related-keyphrases-"+n,onClick:this.onModalOpen},(0,s.__)("Get related keyphrases","wordpress-seo"))),t&&r===n&&wp.element.createElement(d.default,{title:(0,s.__)("Related keyphrases","wordpress-seo"),onRequestClose:this.onModalClose,icon:wp.element.createElement(p.default,null),additionalClassName:"yoast-related-keyphrases-modal"},wp.element.createElement(c.ModalContainer,{className:"yoast-gutenberg-modal__content yoast-related-keyphrases-modal__content"},wp.element.createElement(o.Slot,{name:"YoastRelatedKeyphrases"}))),!i&&wp.element.createElement("div",{className:"yoast"},wp.element.createElement(u.ButtonStyledLink,{variant:"secondary",id:"yoast-get-related-keyphrases-"+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},(0,s.__)("Get related keyphrases","wordpress-seo"),wp.element.createElement("span",{className:"screen-reader-text"},(0,s.__)("(Opens in a new browser window)","wordpress-seo")))))}}]),t}();h.propTypes={keyphrase:l.default.string,location:l.default.string,whichModalOpen:l.default.oneOf(["none","metabox","sidebar"]),isLoggedIn:l.default.bool,onOpen:l.default.func.isRequired,onOpenWithNoKeyphrase:l.default.func.isRequired,onClose:l.default.func.isRequired,onAuthentication:l.default.func.isRequired},h.defaultProps={keyphrase:"",location:"",whichModalOpen:"none",isLoggedIn:!1},t.default=h},function(e,t,n){var r=n(2);function a(e){return r.createElement("svg",e,[r.createElement("path",{d:"M73 405.26a66.79 66.79 0 0 1-6.54-1.7 64.75 64.75 0 0 1-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 0 1-5.08-4.19 69.21 69.21 0 0 1-8.4-9.17c-.92-1.2-1.68-2.25-2.35-3.24a70.747 70.747 0 0 1-3.44-5.64 68.29 68.29 0 0 1-8.29-32.55V142.13a68.26 68.26 0 0 1 8.29-32.55c1-1.92 2.21-3.82 3.44-5.64s2.55-3.58 4-5.27a69.26 69.26 0 0 1 14.49-13.25C50.37 84.19 52.27 83 54.2 82A67.59 67.59 0 0 1 73 75.09a68.75 68.75 0 0 1 13.75-1.39h169.66L263 55.39H86.75A86.84 86.84 0 0 0 0 142.13v196.09A86.84 86.84 0 0 0 86.75 425h11.32v-18.35H86.75A68.75 68.75 0 0 1 73 405.26zM368.55 60.85l-1.41-.53-6.41 17.18 1.41.53a68.06 68.06 0 0 1 8.66 4c1.93 1 3.82 2.2 5.65 3.43A69.19 69.19 0 0 1 391 98.67c1.4 1.68 2.72 3.46 3.95 5.27s2.39 3.72 3.44 5.64a68.29 68.29 0 0 1 8.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 0 0-56.45-81.28z",key:0}),r.createElement("path",{d:"M119.8 408.28v46c28.49-1.12 50.73-10.6 69.61-29.58 19.45-19.55 36.17-50 52.61-96L363.94 1.9H305l-98.25 272.89-48.86-153h-54l71.7 184.18a75.67 75.67 0 0 1 0 55.12c-7.3 18.68-20.25 40.66-55.79 47.19z",stroke:"#000",strokeMiterlimit:"10",strokeWidth:"3.81",key:1})])}a.defaultProps={viewBox:"0 0 425 456.27",role:"img","aria-hidden":"true",focusable:"false"},e.exports=a,a.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var r=o(n(19)),a=o(n(1));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=e.target,n=e.children;return wp.element.createElement(r.default,{target:t},n)}i.propTypes={target:a.default.string.isRequired,children:a.default.node.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),a=n(3),o=n(6),i=l(n(1)),s=l(n(98));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,o.makeOutboundLink)(),c=function(e){var t=(0,a.sprintf)((0,a.__)("Great news: you can, with %1$s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),o=["<strong>"+(0,a.__)("Rank better with synonyms & related keyphrases","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,a.sprintf)((0,a.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,a.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,a.__)("No ads!","wordpress-seo")+"</strong>"],i=(0,a.sprintf)((0,a.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(s.default,{infoParagraphs:[n,i],benefits:o,upsellButtonText:(0,a.sprintf)((0,a.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,a.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:i.default.string.isRequired,buyLink:i.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,a=!1,o=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){a=!0,o=e}finally{try{!r&&s.return&&s.return()}finally{if(a)throw o}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),a=n(39),o=d(a),i=n(4),s=d(n(1)),l=d(n(8)),u=n(3),c=n(5);function d(e){return e&&e.__esModule?e:{default:e}}var p=l.default.button.withConfig({displayName:"SeoAnalysisModal__StyledButton",componentId:"sc-62v5uw-0"})(["&&{display:flex;align-items:center;}.yoast-svg-icon{margin:1px 7px 0 0;fill:currentColor;}"]),f={open:(0,u.__)("Open","wordpress-seo"),heading:"",closeIconButton:(0,u.__)("Close","wordpress-seo"),closeButton:""},m=function(e){var t=(0,i.useState)(!1),n=r(t,2),a=n[0],s=n[1],l=Object.assign({},f,e.labels),u=(0,i.useCallback)(function(){return s(!1)},[]),d=(0,i.useCallback)(function(){return s(!0)},[]);return wp.element.createElement(i.Fragment,null,wp.element.createElement(p,{type:"button",onClick:d,className:e.classes.openButton+" yoast-modal__button-open"},e.openButtonIcon&&wp.element.createElement(c.SvgIcon,{icon:e.openButtonIcon,size:"13px"}),l.open),a&&wp.element.createElement(o.default,{onRequestClose:u,className:e.className,title:l.heading},e.children))};m.propTypes={openButtonIcon:s.default.string,labels:s.default.shape({open:s.default.string,modalAriaLabel:s.default.string.isRequired,heading:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}).isRequired,classes:s.default.shape({openButton:s.default.string,closeIconButton:s.default.string,closeButton:s.default.string}),className:s.default.string,children:s.default.any.isRequired},m.defaultProps={className:a.defaultModalClassName,openButtonIcon:"",classes:{}},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(20)),a=n(6),o=n(3),i=l(n(98)),s=l(n(1));function l(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.makeOutboundLink)(),c=function(e){var t=(0,o.sprintf)((0,o.__)("Great news: you can, with %s!","wordpress-seo"),"{{link}}Yoast SEO Premium{{/link}}"),n=[(0,o.sprintf)((0,o.__)("%1$sNo more dead links%2$s: easy redirect manager","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("Superfast internal linking suggestions","wordpress-seo")+"</strong>",(0,o.sprintf)((0,o.__)("%1$sSocial media preview%2$s: Facebook & Twitter","wordpress-seo"),"<strong>","</strong>"),"<strong>"+(0,o.__)("24/7 email support","wordpress-seo")+"</strong>","<strong>"+(0,o.__)("No ads!","wordpress-seo")+"</strong>"],a=(0,r.default)({mixedString:t,components:{link:wp.element.createElement(u,{href:e.link})}}),s=(0,o.sprintf)((0,o.__)("Other benefits of %s for you:","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(i.default,{infoParagraphs:[a,s],benefits:n,upsellButtonText:(0,o.sprintf)((0,o.__)("Get %s","wordpress-seo"),"Yoast SEO Premium"),upsellButton:{href:e.buyLink,className:"yoast-button-upsell",rel:null},upsellButtonLabel:(0,o.__)("1 year free support and updates included!","wordpress-seo")})};c.propTypes={link:s.default.string.isRequired,buyLink:s.default.string.isRequired},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=u(n(1)),a=u(n(8)),o=n(3),i=n(6),s=n(18),l=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var c=a.default.p.withConfig({displayName:"AnalysisUpsell__TextContainer",componentId:"sc-1qakqs0-0"})(["color:",";margin:0;padding-right:8px;"],s.colors.$color_upsell_text),d=a.default.div.withConfig({displayName:"AnalysisUpsell__Container",componentId:"sc-1qakqs0-1"})(["font-size:1em;display:flex;flex-direction:",";",":4px solid ",";margin:16px 0;padding:0 0 0 8px;max-width:600px;> ","{margin-bottom:",";}"],function(e){return"horizontal"===e.alignment?"row":"column"},(0,i.getDirectionalStyle)("border-left","border-right"),s.colors.$color_pink_dark,c,function(e){return"vertical"===e.alignment&&"16px"}),p=(0,a.default)(l.SvgIcon).withConfig({displayName:"AnalysisUpsell__Caret",componentId:"sc-1qakqs0-2"})(["margin:",";transform:",";"],(0,i.getDirectionalStyle)("0 0 0 4px","0 4px 0 0"),(0,i.getDirectionalStyle)("rotate(0deg)","rotate(180deg)")),f=(0,i.makeOutboundLink)(l.UpsellLinkButton),m=function(e){var t=e.alignment,n=e.url;return wp.element.createElement(d,{alignment:t},wp.element.createElement(c,null,(0,o.sprintf)((0,o.__)("Did you know %s also analyzes the different word forms of your keyphrase, like plurals and past tenses?","wordpress-seo"),"Yoast SEO Premium")),wp.element.createElement("div",null,wp.element.createElement(f,{href:n,className:"UpsellLinkButton"},(0,o.sprintf)((0,o.__)("Go %s!","wordpress-seo"),"Premium"),wp.element.createElement(p,{icon:"arrow-right",size:"8px",color:s.colors.$color_black}))))};m.propTypes={alignment:r.default.oneOf(["horizontal","vertical"]),url:r.default.string.isRequired},m.defaultProps={alignment:"vertical"},t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=o;var r=n(12),a=function(e){return e&&e.__esModule?e:{default:e}}(n(1));function o(e){var t=e.location;return wp.element.createElement(r.Slot,{name:"yoast-synonyms-"+t})}o.propTypes={location:a.default.string.isRequired}},function(e,t){e.exports=window.yoast.searchMetadataPreviews},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(12),o=s(n(1)),i=s(n(100));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(a.Slot,{name:"YoastTwitterPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:o.default.bool.isRequired,onLoad:o.default.func.isRequired,location:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=c(n(8)),o=c(n(20)),i=c(n(1)),s=n(3),l=n(5),u=n(6);function c(e){return e&&e.__esModule?e:{default:e}}var d=(0,a.default)(l.Alert).withConfig({displayName:"SocialUpsell__PremiumInfoText",componentId:"sc-113ceom-0"})(["p{margin:0;}"]),p=(0,u.makeOutboundLink)(),f=function(e){var t=(0,s.sprintf)((0,s.__)("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=(0,s.sprintf)((0,s.__)("Find out why you should upgrade to %s","wordpress-seo"),"Yoast SEO Premium");return wp.element.createElement(r.Fragment,null,wp.element.createElement(d,{type:"info"},(0,o.default)({mixedString:t,components:{strong:wp.element.createElement("b",null)}}),wp.element.createElement("br",null),wp.element.createElement(p,{href:"https://yoast.com/reasons-to-upgrade/"},wp.element.createElement("p",null,n))))};f.propTypes={socialMediumName:i.default.oneOf(["Twitter","Facebook"]).isRequired},t.default=f},function(e,t){e.exports=window.yoast.socialMetadataForms},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(12),o=s(n(1)),i=s(n(100));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return(0,r.useEffect)(function(){setTimeout(e.onLoad)},[]),e.isPremium?wp.element.createElement(a.Slot,{name:"YoastFacebookPremium"+(e.location.charAt(0).toUpperCase()+e.location.slice(1)),fillProps:e}):wp.element.createElement(i.default,e)};l.propTypes={isPremium:o.default.bool.isRequired,onLoad:o.default.func.isRequired,location:o.default.string.isRequired},t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(3),o=n(5),i=n(6),s=d(n(20)),l=d(n(1)),u=d(n(8)),c=n(117);function d(e){return e&&e.__esModule?e:{default:e}}var p=u.default.div.withConfig({displayName:"SchemaTab__SchemaContainer",componentId:"sc-166btxs-0"})(["padding:16px;"]),f=function(e,t,n){var r=e.find(function(e){return e.value===t});return[{name:(0,a.sprintf)((0,a.__)("Default for %1$s (%2$s)","wordpress-seo"),n,r?r.name:""),value:""}].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))},m=function(e){return(0,s.default)({mixedString:function(e){return(0,a.sprintf)((0,a.__)("You can change the default type for %1$s in your %2$sSearch Appearance Settings%3$s.","wordpress-seo"),e,"{{link}}","{{/link}}")}(e),components:{link:wp.element.createElement("a",{href:"/wp-admin/admin.php?page=wpseo_titles#top#post-types",target:"_blank"})}})},y=function(e){var t=f(e.pageTypeOptions,e.defaultPageType,e.postTypeName),n=f(e.articleTypeOptions,e.defaultArticleType,e.postTypeName);return wp.element.createElement(r.Fragment,null,wp.element.createElement(o.FieldGroup,{label:e.helpTextTitle,linkTo:e.helpTextLink,linkText:(0,a.__)("Learn more about structured data with Schema.org","wordpress-seo"),description:e.helpTextDescription}),wp.element.createElement(o.FieldGroup,{label:(0,a.__)("What type of page or content is this?","wordpress-seo"),linkTo:e.additionalHelpTextLink,linkText:(0,a.__)("Learn more about page or content types","wordpress-seo")}),wp.element.createElement(o.Select,{id:(0,i.join)(["yoast-schema-page-type",e.location]),options:t,label:(0,a.__)("Page type","wordpress-seo"),onChange:e.schemaPageTypeChange,selected:e.schemaPageTypeSelected}),e.showArticleTypeInput&&wp.element.createElement(o.Select,{id:(0,i.join)(["yoast-schema-article-type",e.location]),options:n,label:(0,a.__)("Article type","wordpress-seo"),onChange:e.schemaArticleTypeChange,selected:e.schemaArticleTypeSelected}),e.displayFooter&&wp.element.createElement("p",null,m(e.postTypeName)))};y.propTypes={schemaPageTypeChange:l.default.func,schemaPageTypeSelected:l.default.string,pageTypeOptions:c.schemaTypeOptionsPropType.isRequired,schemaArticleTypeChange:l.default.func,schemaArticleTypeSelected:l.default.string,articleTypeOptions:c.schemaTypeOptionsPropType.isRequired,showArticleTypeInput:l.default.bool.isRequired,additionalHelpTextLink:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,defaultPageType:l.default.string.isRequired,defaultArticleType:l.default.string.isRequired,location:l.default.string.isRequired},y.defaultProps={schemaPageTypeChange:function(){},schemaPageTypeSelected:null,schemaArticleTypeChange:function(){},schemaArticleTypeSelected:null,displayFooter:!1};var h=function(e){return e.isMetabox?(0,r.createPortal)(wp.element.createElement(p,null,wp.element.createElement(y,e)),document.getElementById("wpseo-meta-section-schema")):wp.element.createElement(y,e)};h.propTypes={showArticleTypeInput:l.default.bool,articleTypeLabel:l.default.string,additionalHelpTextLink:l.default.string,pageTypeLabel:l.default.string.isRequired,helpTextLink:l.default.string.isRequired,helpTextTitle:l.default.string.isRequired,helpTextDescription:l.default.string.isRequired,isMetabox:l.default.bool.isRequired,postTypeName:l.default.string.isRequired,displayFooter:l.default.bool,loadSchemaArticleData:l.default.func.isRequired,loadSchemaPageData:l.default.func.isRequired,location:l.default.string.isRequired},h.defaultProps={showArticleTypeInput:!1,articleTypeLabel:"",additionalHelpTextLink:"",displayFooter:!1},t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=n(3),o=n(5),i=n(6),s=function(e){return e&&e.__esModule?e:{default:e}}(n(1)),l=n(14);var u=function(e){var t=(0,a.__)("No","wordpress-seo"),n=(0,a.__)("Yes","wordpress-seo"),r=e.noIndex?t:n;return window.wpseoScriptData.isPost?[{name:(0,a.sprintf)((0,a.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"0"},{name:t,value:"1"},{name:n,value:"2"}]:[{name:(0,a.sprintf)((0,a.__)("%s (current default for %s)","wordpress-seo"),r,e.postTypeNamePlural),value:"default"},{name:n,value:"index"},{name:t,value:"noindex"}]},c=function(e){var t=e.noIndex,n=e.onNoIndexChange,s=e.editorContext,c=e.isPrivateBlog,d=u(s);return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(r.Fragment,null,c&&wp.element.createElement(o.Alert,{type:"warning"},(0,a.__)("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")),wp.element.createElement(o.Select,{label:(0,a.sprintf)((0,a.__)("Allow search engines to show this %s in search results?","wordpress-seo"),s.postTypeNameSingular),onChange:n,id:(0,i.join)(["yoast-meta-robots-noindex",e]),options:d,selected:t,linkTo:"https://yoa.st/allow-search-engines",linkText:(0,a.__)("Learn more about the no-index setting on our help page.","wordpress-seo")}))})};c.propTypes={noIndex:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,editorContext:s.default.object.isRequired,isPrivateBlog:s.default.bool},c.defaultProps={isPrivateBlog:!1};var d=function(e){var t=e.noFollow,n=e.onNoFollowChange,r=e.postTypeName;return wp.element.createElement(l.LocationConsumer,null,function(e){var s=(0,i.join)(["yoast-meta-robots-nofollow",e]);return wp.element.createElement(o.RadioButtonGroup,{id:s,options:[{value:"0",label:"Yes"},{value:"1",label:"No"}],label:(0,a.sprintf)((0,a.__)("Should search engines follow links on this %s","wordpress-seo"),r),groupName:s,onChange:n,selected:t,linkTo:"https://yoa.st/follow-links",linkText:(0,a.__)("Learn more about the no-follow setting on our help page.","wordpress-seo")})})};d.propTypes={noFollow:s.default.string.isRequired,onNoFollowChange:s.default.func.isRequired,postTypeName:s.default.string.isRequired};var p=function(e){var t=e.advanced,n=e.onAdvancedChange;return wp.element.createElement(l.LocationConsumer,null,function(e){var r=(0,i.join)(["yoast-meta-robots-advanced",e]),s=r+"-input";return wp.element.createElement(o.MultiSelect,{label:(0,a.__)("Meta robots advanced","wordpress-seo"),onChange:n,id:r,inputId:s,options:[{name:(0,a.__)("No Image Index","wordpress-seo"),value:"noimageindex"},{name:(0,a.__)("No Archive","wordpress-seo"),value:"noarchive"},{name:(0,a.__)("No Snippet","wordpress-seo"),value:"nosnippet"}],selected:t,linkTo:"https://yoa.st/meta-robots-advanced",linkText:(0,a.__)("Learn more about advanced meta robots settings on our help page.","wordpress-seo")})})};p.propTypes={advanced:s.default.array.isRequired,onAdvancedChange:s.default.func.isRequired};var f=function(e){var t=e.breadcrumbsTitle,n=e.onBreadcrumbsTitleChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(o.TextInput,{label:(0,a.__)("Breadcrumbs Title","wordpress-seo"),id:(0,i.join)(["yoast-breadcrumbs-title",e]),onChange:n,value:t,linkTo:"https://yoa.st/breadcrumbs-title",linkText:(0,a.__)("Learn more about the breadcrumbs title setting on our help page.","wordpress-seo")})})};f.propTypes={breadcrumbsTitle:s.default.string.isRequired,onBreadcrumbsTitleChange:s.default.func.isRequired};var m=function(e){var t=e.canonical,n=e.onCanonicalChange;return wp.element.createElement(l.LocationConsumer,null,function(e){return wp.element.createElement(o.TextInput,{label:(0,a.__)("Canonical URL","wordpress-seo"),id:(0,i.join)(["yoast-canonical",e]),onChange:n,value:t,linkTo:"https://yoa.st/canonical-url",linkText:(0,a.__)("Learn more about canonical URLs on our help page.","wordpress-seo")})})};m.propTypes={canonical:s.default.string.isRequired,onCanonicalChange:s.default.func.isRequired};var y=function(e){var t=e.noIndex,n=e.noFollow,a=e.advanced,o=e.breadcrumbsTitle,i=e.canonical,s=e.onNoIndexChange,l=e.onNoFollowChange,u=e.onAdvancedChange,y=e.onBreadcrumbsTitleChange,h=e.onCanonicalChange,_=e.onLoad,g=e.isLoading,v=e.editorContext,w=e.isBreadcrumbsDisabled,b=e.isPrivateBlog;(0,r.useEffect)(function(){setTimeout(function(){g&&_()})});var E={noIndex:t,onNoIndexChange:s,editorContext:v,isPrivateBlog:b},T={noFollow:n,onNoFollowChange:l,postTypeName:v.postTypeNameSingular},k={advanced:a,onAdvancedChange:u},O={breadcrumbsTitle:o,onBreadcrumbsTitleChange:y},S={canonical:i,onCanonicalChange:h};return g?null:wp.element.createElement(r.Fragment,null,wp.element.createElement(c,E),v.isPost&&wp.element.createElement(d,T),v.isPost&&wp.element.createElement(p,k),!w&&wp.element.createElement(f,O),wp.element.createElement(m,S))};y.propTypes={noIndex:s.default.string.isRequired,canonical:s.default.string.isRequired,onNoIndexChange:s.default.func.isRequired,onCanonicalChange:s.default.func.isRequired,onLoad:s.default.func.isRequired,isLoading:s.default.bool.isRequired,editorContext:s.default.object.isRequired,isBreadcrumbsDisabled:s.default.bool.isRequired,isPrivateBlog:s.default.bool,advanced:s.default.array,onAdvancedChange:s.default.func,noFollow:s.default.string,onNoFollowChange:s.default.func,breadcrumbsTitle:s.default.string,onBreadcrumbsTitleChange:s.default.func},y.defaultProps={advanced:[],onAdvancedChange:function(){},noFollow:"",onNoFollowChange:function(){},breadcrumbsTitle:"",onBreadcrumbsTitleChange:function(){},isPrivateBlog:!1},t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(0);var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"listen",value:function(e){(this.classicEditorContainer=document.getElementById("et_pb_main_editor_wrap"),this.classicEditorContainer)&&new MutationObserver(function(t){(0,a.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}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,null,[{key:"isActive",value:function(){return!!window.VCV_I18N}}]),e}();t.default=a},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),a=n(5);t.default=(0,r.connect)(function(e){return{message:e.warning.message}})(a.Warning)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapEditorDataToPreview=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.mapStateToProps=f,t.mapDispatchToProps=m;var a=n(17),o=n(173),i=n(3),s=n(7),l=n(14),u=n(16),c=function(e){return e&&e.__esModule?e:{default:e}}(n(116)),d=n(30);var p=t.mapEditorDataToPreview=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)),(0,d.applyReplaceUsingPlugin)(e)};function f(e){return e.snippetEditor.replacementVariables.forEach(function(e){""!==e.value||["title","excerpt","excerpt_only"].includes(e.name)||(e.value="%%"+e.name+"%%")}),r({},e.snippetEditor,{keyword:e.focusKeyword,baseUrl:e.settings.snippetEditor.baseUrl,date:e.settings.snippetEditor.date,recommendedReplacementVariables:e.settings.snippetEditor.recommendedReplacementVariables,faviconSrc:e.settings.snippetEditor.siteIconUrl,mobileImageSrc:e.snippetEditor.data.snippetPreviewImageURL})}function m(e){return{onChange:function(t,n){var r=(0,u.updateData)(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n));if("mode"===t&&(r=(0,u.switchMode)(n)),e(r),"slug"===t){var a=(0,s.dispatch)("core/editor");a&&a.editPost({slug:n})}},onChangeAnalysisData:function(t){e((0,u.updateAnalysisData)(t))}}}t.default=(0,a.connect)(f,m)(function(e){return wp.element.createElement(l.LocationConsumer,null,function(t){return wp.element.createElement(c.default,{icon:"eye",hasPaperStyle:e.hasPaperStyle},wp.element.createElement(o.SnippetEditor,r({},e,{descriptionPlaceholder:(0,i.__)("Please provide a meta description by editing the snippet below.","wordpress-seo"),mapEditorDataToPreview:p,showCloseButton:!1,idSuffix:t})))})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=n(3),i=n(6),s=d(n(174)),l=d(n(9)),u=d(n(32)),c=n(84);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,a.dispatch)("yoast-seo/editor").setTwitterPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateTwitterImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getTwitterDescription,r=t.getTwitterTitle,a=t.getTwitterImageUrl,i=t.getFacebookImageUrl,s=t.getFacebookTitle,u=t.getFacebookDescription,c=t.getDescriptionFallback,d=t.getTitleFallback,p=t.getTwitterWarnings,f=t.getTwitterImageType,m=t.getImageFallback,y=t.getRecommendedReplaceVars,h=t.getReplaceVars,_=t.getSiteUrl,g=t.getAuthorName,v=(0,o.sprintf)((0,o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Twitter"),w=(0,o.sprintf)((0,o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Twitter");return{imageUrl:a(),imageFallbackUrl:i()||m(),recommendedReplacementVariables:y(),replacementVariables:h(),description:n(),descriptionPreviewFallback:u()||c()||w,title:r(),titlePreviewFallback:s()||d()||v,imageWarnings:p(),authorName:g(),siteUrl:_(),isPremium:!!(0,l.default)().isPremium,isLarge:"summary"!==f(),titleInputPlaceholder:v,descriptionInputPlaceholder:w,socialMediumName:"Twitter"}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setTwitterPreviewTitle,r=t.setTwitterPreviewDescription,a=t.clearTwitterPreviewImage,o=t.loadTwitterPreviewData;return{onSelectImageClick:f,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}}),(0,u.default)()])(s.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(10),a=n(7),o=n(3),i=n(6),s=d(n(177)),l=d(n(9)),u=d(n(32)),c=n(84);function d(e){return e&&e.__esModule?e:{default:e}}var p=function(e){(0,a.dispatch)("yoast-seo/editor").setFacebookPreviewImage({url:e.url,id:e.id,warnings:(0,i.validateFacebookImage)(e)})},f=function(){(0,c.openMedia)(p)};t.default=(0,r.compose)([(0,a.withSelect)(function(e){var t=e("yoast-seo/editor"),n=t.getFacebookDescription,r=t.getDescriptionFallback,a=t.getFacebookTitle,i=t.getTitleFallback,s=t.getFacebookImageUrl,u=t.getImageFallback,c=t.getFacebookWarnings,d=t.getRecommendedReplaceVars,p=t.getReplaceVars,f=t.getSiteUrl,m=t.getAuthorName,y=(0,o.sprintf)((0,o.__)("Modify your %s title by editing it right here...","wordpress-seo"),"Facebook"),h=(0,o.sprintf)((0,o.__)("Modify your %s description by editing it right here...","wordpress-seo"),"Facebook");return{imageUrl:s(),imageFallbackUrl:u(),recommendedReplacementVariables:d(),replacementVariables:p(),description:n(),descriptionPreviewFallback:r()||h,title:a(),titlePreviewFallback:i()||y,imageWarnings:c(),authorName:m(),siteUrl:f(),isPremium:!!(0,l.default)().isPremium,titleInputPlaceholder:y,descriptionInputPlaceholder:h,socialMediumName:"Facebook"}}),(0,a.withDispatch)(function(e){var t=e("yoast-seo/editor"),n=t.setFacebookPreviewTitle,r=t.setFacebookPreviewDescription,a=t.clearFacebookPreviewImage,o=t.loadFacebookPreviewData;return{onSelectImageClick:f,onRemoveImageClick:a,onDescriptionChange:r,onTitleChange:n,onLoad:o}}),(0,u.default)()])(s.default)},,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=s(n(1)),a=s(n(261)),o=s(n(262)),i=s(n(19));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.target,n=e.store,r=e.theme;return wp.element.createElement(i.default,{target:t},wp.element.createElement(a.default,{store:n,theme:r}),wp.element.createElement(o.default,{store:n,theme:r}))}l.propTypes={target:r.default.string.isRequired,store:r.default.object,theme:r.default.object}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.store,n=e.theme;return wp.element.createElement(o.default,{store:t,theme:n,location:"metabox"},wp.element.createElement(r.Slot,{name:"YoastMetabox"},function(e){return(0,a.default)(e)}))};var r=n(12),a=i(n(150)),o=i(n(101));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(263)),a=n(17);t.default=(0,a.connect)(function(e,t){return{settings:e.preferences,store:t.store}})(r.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=v;var r=n(12),a=n(3),o=g(n(1)),i=g(n(144)),s=g(n(242)),l=g(n(241)),u=g(n(145)),c=g(n(146)),d=g(n(147)),p=g(n(35)),f=g(n(99)),m=g(n(149)),y=g(n(264)),h=g(n(148)),_=g(n(118));function g(e){return e&&e.__esModule?e:{default:e}}function v(e){var t=e.settings;return wp.element.createElement(r.Fill,{name:"YoastMetabox"},wp.element.createElement(f.default,{renderPriority:1},wp.element.createElement(l.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:8},wp.element.createElement(u.default,{isSEMrushIntegrationActive:t.isSEMrushIntegrationActive}),!window.wpseoScriptData.metabox.isPremium&&wp.element.createElement(r.Fill,{name:"YoastRelatedKeyphrases"},wp.element.createElement(_.default,null))),wp.element.createElement(f.default,{renderPriority:9},wp.element.createElement(p.default,{id:"yoast-snippet-editor-metabox",title:(0,a.__)("Google preview","wordpress-seo"),initialIsOpen:!0},wp.element.createElement(s.default,{hasPaperStyle:!1}))),t.isContentAnalysisActive&&wp.element.createElement(f.default,{renderPriority:10},wp.element.createElement(c.default,null)),t.isKeywordAnalysisActive&&wp.element.createElement(f.default,{renderPriority:20},wp.element.createElement(d.default,{shouldUpsell:t.shouldUpsell,shouldUpsellWordFormRecognition:t.isWordFormRecognitionActive})),t.isCornerstoneActive&&wp.element.createElement(f.default,{renderPriority:30},wp.element.createElement(i.default,null)),t.displayAdvancedTab&&wp.element.createElement(f.default,{renderPriority:40},wp.element.createElement(p.default,{id:"collapsible-advanced-settings",title:(0,a.__)("Advanced","wordpress-seo")},wp.element.createElement(m.default,null))),t.displaySchemaSettings&&wp.element.createElement(f.default,{renderPriority:50},wp.element.createElement(h.default,null)),wp.element.createElement(f.default,{renderPriority:-1},wp.element.createElement(y.default,{target:"wpseo-section-social"})))}v.propTypes={settings:o.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=i(n(1)),a=i(n(265)),o=i(n(19));function i(e){return e&&e.__esModule?e:{default:e}}function s(e){var t=e.target;return wp.element.createElement(o.default,{target:t},wp.element.createElement(a.default,null))}s.propTypes={target:r.default.string.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7),a=function(e){return e&&e.__esModule?e:{default:e}}(n(266));t.default=(0,r.withSelect)(function(e){var t=(0,e("yoast-seo/editor").getPreferences)();return{displayFacebook:t.displayFacebook,displayTwitter:t.displayTwitter}})(a.default)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4),a=u(n(35)),o=n(3),i=u(n(1)),s=u(n(244)),l=u(n(243));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(e){var t=e.displayFacebook,n=e.displayTwitter;return wp.element.createElement(r.Fragment,null,t&&wp.element.createElement(a.default,{hasSeparator:!1,title:(0,o.sprintf)((0,o.__)("%s preview","wordpress-seo"),"Facebook"),initialIsOpen:!0},wp.element.createElement(s.default,null)),n&&wp.element.createElement(a.default,{title:(0,o.sprintf)((0,o.__)("%s preview","wordpress-seo"),"Twitter"),hasSeparator:t,initialIsOpen:!0},wp.element.createElement(l.default,null)))};c.propTypes={displayFacebook:i.default.bool.isRequired,displayTwitter:i.default.bool.isRequired},t.default=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=o(n(403)),a=o(n(405));function o(e){return e&&e.__esModule?e:{default:e}}window.yoast=window.yoast||{},window.yoast.initEditorIntegration=r.default,window.yoast.EditorData=a.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){window.YoastSEO=window.YoastSEO||{},window.YoastSEO._registerReactComponent=r.registerReactComponent,(0,r.renderClassicEditorMetabox)(e)};var r=n(404)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();t.renderClassicEditorMetabox=function(e){var t=(0,s.default)();c=(0,a.createRef)();var n={isRtl:t.isRtl};(0,a.render)(wp.element.createElement(o.SlotFillProvider,null,wp.element.createElement(i.default,{target:"wpseo-metabox-root",store:e,theme:n}),wp.element.createElement(d,{ref:c})),document.getElementById("wpseo-metabox-root")),u.forEach(function(e){c.current.registerComponent(e.key,e.Component)})},t.registerReactComponent=function(e,t){null===c||null===c.current?u.push({key:e,Component:t}):c.current.registerComponent(e,t)};var a=n(4),o=n(12),i=l(n(260)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}var u=[],c=null,d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={registeredComponents:[]},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),r(t,[{key:"registerComponent",value:function(e,t){this.setState({registeredComponents:[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(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 wp.element.createElement(t,{key:n})})}}]),t}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=function(e){return e&&e.__esModule?e:{default:e}}(n(11)),i=n(0),s=n(13),l=n(38),u=n(30),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(63));var d=o.default.markers.removeMarks,p=jQuery,f=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"content";!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(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 a(e,[{key:"initialize",value:function(e){this._initialData=this.getInitialData(e),(0,u.fillReplacementVariables)(this._initialData,this._store),this.subscribeToElements(),this.subscribeToStore(),this.subscribeToSnippetPreviewImage()}},{key:"subscribeToSnippetPreviewImage",value:function(){var e=this;if(!(0,i.isUndefined)(wp.media)&&!(0,i.isUndefined)(wp.media.featuredImage)){p("#postimagediv").on("click","#remove-post-thumbnail",function(){e.featuredImageIsSet=!1,e.setImageInSnippetPreview(e.getContentImage())});var t=wp.media.featuredImage.frame();t.on("select",function(){var n=t.state().get("selection").first().attributes.url;n&&(e.featuredImageIsSet=!0,e.setImageInSnippetPreview(n))}),c.addEventHandler(this._tinyMceId,["init"],function(){var t=e.getContentImage(),n=e.getFeaturedImage()||t||null;e._store.dispatch((0,l.setContentImage)(t)),e.setImageInSnippetPreview(n)}),c.addEventHandler(this._tinyMceId,["change"],(0,i.debounce)(function(){if(!e.featuredImageIsSet){var t=e.getContentImage();e._store.dispatch((0,l.setContentImage)(t)),e.setImageInSnippetPreview(t)}},1e3))}}},{key:"getFeaturedImage",value:function(){var e=p("#set-post-thumbnail img").attr("src");return e?(this.featuredImageIsSet=!0,e):(this.featuredImageIsSet=!1,null)}},{key:"setImageInSnippetPreview",value:function(e){this._store.dispatch((0,s.updateData)({snippetPreviewImageURL:e}))}},{key:"getContentImage",value:function(){if(this.featuredImageIsSet)return"";var e=this.getContent(),t=o.default.string.imageInText(e),n="";if(0===t.length)return n;do{var r=t.shift(),a=(r=p(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:(0,u.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 d(c.getContentTinyMce(e))}},{key:"subscribeToElements",value:function(){this.subscribeToInputElement("title","title"),this.subscribeToInputElement("excerpt","excerpt"),this.subscribeToInputElement("excerpt","excerpt_only")}},{key:"subscribeToInputElement",value:function(e,t){var n=this,r=document.getElementById(e);r&&r.addEventListener("input",function(e){n.updateReplacementData(e,t)})}},{key:"updateReplacementData",value:function(e,t){var n=e.target.value;"excerpt"===t&&""===n&&(n=this.getExcerpt()),this._initialData[t]=n,this._store.dispatch((0,s.updateReplacementVariable)(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((0,s.updateReplacementVariable)("excerpt",e.excerpt)),this._store.dispatch((0,s.updateReplacementVariable)("excerpt_only",e.excerpt_only))),this._previousData.snippetPreviewImageURL!==e.snippetPreviewImageURL&&this.setImageInSnippetPreview(e.snippetPreviewImageURL)}},{key:"subscribeToStore",value:function(){this.subscriber=(0,i.debounce)(this.refreshYoastSEO,500),this._store.subscribe(this.subscriber)}},{key:"getInitialData",value:function(e){return e=(0,u.mapCustomFields)(e,this._store),e=(0,u.mapCustomTaxonomies)(e,this._store),r({},e,{title:this.getTitle(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1),slug:this.getSlug(),content:this.getContent()})}},{key:"getData",value:function(){return r({},this._store.getState().snippetEditor.data,{content:this.getContent(),excerpt:this.getExcerpt(),excerpt_only:this.getExcerpt(!1)})}}]),e}();t.default=f}],[[402,0]]]);
js/dist/{commons-1592.js → commons-1600.js} RENAMED
File without changes
js/dist/configuration-wizard-1592.js DELETED
@@ -1,5 +0,0 @@
1
- (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[7],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},,function(e,t){e.exports=window.yoast.styledComponents},,,,,,,function(e,t){e.exports=window.yoast.components},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(n(2)),i=u(n(78)),a=u(n(81));function u(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,a,u,c,p,f,d,h,m=[],v={};for(f=0;f<e.length;f++)if("string"!==(p=e[f]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],u=f;break}m.push(t[p.value])}else m.push(p.value);return n&&(c=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,e),d=l(e.slice(u+1,c),t),a=o.default.cloneElement(n,{},d),m.push(a),c<e.length-1&&(h=l(e.slice(c+1),t),m=m.concat(h))),1===m.length?m[0]:(m.forEach(function(e,t){e&&(v["interpolation-child-"+t]=e)}),(0,i.default)(v))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return l(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(23),o=n(24),i=n(25);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,u,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,u,s],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,,,,,,,,,,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTextdomainL10n=i,t.setYoastComponentsL10n=function(){i("yoast-components")},t.setWordPressSeoL10n=function(){i("wordpress-seo")};var r=n(3),o=n(0);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,o.get)(window,[t,e,"locale_data",e],!1);!1===n?(0,r.setLocaleData)({"":{}},e):(0,r.setLocaleData)(n,e)}},function(e,t,n){"use strict";var r=function(e,t){return e.length===t.length&&e.every(function(e,n){return function(e,t){return e===t}(e,t[n])})};t.a=function(e,t){var n;void 0===t&&(t=r);var o,i=[],a=!1;return function(){for(var r=arguments.length,u=new Array(r),s=0;s<r;s++)u[s]=arguments[s];return a&&n===this&&t(u,i)?o:(o=e.apply(this,u),a=!0,n=this,i=u,o)}}},,,,,,,,,,,,,,,function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},,,,,,function(e,t,n){var r=n(271)("wks"),o=n(243),i=n(103).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(2),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(39),a=n(79),u=n(80),s=".",l=":",c="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function f(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function d(e,t,n,r){var i,u=typeof e;if("undefined"!==u&&"boolean"!==u||(e=null),null===e||"string"===u||"number"===u||"object"===u&&e.$$typeof===o)return n(r,e,""===t?s+f(e,0):t),1;var h=0,m=""===t?s:t+l;if(Array.isArray(e))for(var v=0;v<e.length;v++)h+=d(i=e[v],m+f(i,v),n,r);else{var y=function(e){var t=e&&(c&&e[c]||e[p]);if("function"==typeof t)return t}(e);if(y){0;for(var g,b=y.call(e),E=0;!(g=b.next()).done;)h+=d(i=g.value,m+f(i,E++),n,r)}else if("object"===u){0;var O=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===O?"object with keys {"+Object.keys(e).join(", ")+"}":O,"")}}return h}var h=/\/+/g;function m(e){return(""+e).replace(h,"$&/")}var v=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function E(e,t,n){var o=e.result,a=e.keyPrefix,u=e.func,s=e.context,l=u.call(s,t,e.count++);Array.isArray(l)?O(l,o,n,i.thatReturnsArgument):null!=l&&(r.isValidElement(l)&&(l=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(l,a+(!l.key||t&&t.key===l.key?"":m(l.key)+"/")+n)),o.push(l))}function O(e,t,n,r,o){var i="";null!=n&&(i=m(n)+"/");var a=b.getPooled(t,i,r,o);!function(e,t,n){null==e||d(e,"",t,n)}(e,E,a),b.release(a)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||v,n.poolSize||(n.poolSize=10),n.release=g}(b,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)});e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,u,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,u,s],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(39);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,function(e,t,n){e.exports={default:n(411),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(414));t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,r.default)(e,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(328));t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,r.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(437)),o=a(n(441)),i=a(n(328));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t){e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},,,function(e,t,n){e.exports=n(283)()},,,,,,,,,function(e,t,n){var r=n(103),o=n(57),i=n(265),a=n(150),u=n(131),s=function(e,t,n){var l,c,p,f=e&s.F,d=e&s.G,h=e&s.S,m=e&s.P,v=e&s.B,y=e&s.W,g=d?o:o[t]||(o[t]={}),b=g.prototype,E=d?r:h?r[t]:(r[t]||{}).prototype;for(l in d&&(n=t),n)(c=!f&&E&&void 0!==E[l])&&u(g,l)||(p=c?E[l]:n[l],g[l]=d&&"function"!=typeof E[l]?n[l]:v&&c?i(p,r):y&&E[l]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((g.virtual||(g.virtual={}))[l]=p,e&s.R&&b&&!b[l]&&a(b,l,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(151),o=n(322),i=n(266),a=Object.defineProperty;t.f=n(130)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(404));t.default=r.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports=!n(153)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),a=s(i),u=s(n(285));function s(e){return e&&e.__esModule?e:{default:e}}var l={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||d()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||d()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce(function(e,t){return null!==e&&void 0!==e?e:t}),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){c.forEach(function(t){return delete e[t]})}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:l},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:l},this.props.placeholder):null)}}]),t}();h.propTypes={className:u.default.string,defaultValue:u.default.any,extraWidth:u.default.oneOfType([u.default.number,u.default.string]),id:u.default.string,injectStyles:u.default.bool,inputClassName:u.default.string,inputRef:u.default.func,inputStyle:u.default.object,minWidth:u.default.oneOfType([u.default.number,u.default.string]),onAutosize:u.default.func,onChange:u.default.func,placeholder:u.default.string,placeholderIsMinWidth:u.default.bool,style:u.default.object,value:u.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.default=h},,,,,,,,,,,function(e,t,n){var r=n(104),o=n(179);e.exports=n(130)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(152);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(325),o=n(268);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,n,r){if(r=r||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var o="",i=0;i<t.length;i++)o&&(o+=","),o+=this.create(e,t[i],n,r);return o}return this.create(e,t,n,r)},create:function(e,t,n,r){return e=e||"450ms",t=t||"all",n=n||"0ms",t+" "+e+" "+(r=r||"linear")+" "+n}}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},,,,,function(e,t,n){var r=n(324),o=n(272);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(268);e.exports=function(e){return Object(r(e))}},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(403));t.default=r.default},function(e,t,n){var r=n(407);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(152);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(271)("keys"),o=n(243);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(57),o=n(103),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(242)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(151),o=n(421),i=n(272),a=n(270)("IE_PROTO"),u=function(){},s=function(){var e,t=n(323)("iframe"),r=i.length;for(t.style.display="none",n(422).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(104).f,o=n(131),i=n(63)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(63)},function(e,t,n){var r=n(103),o=n(57),i=n(242),a=n(276),u=n(104).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(449));t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={set:function(e,t,n){e[t]=n}}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(471)),o=i(n(278));i(n(337)),i(n(338));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return(0,r.default)(function(e,t){return!(0,o.default)(e,t)})(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(474));t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordPressUserSelectorPropTypes=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"],["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"]),a=h(n(315)),u=n(4),s=h(n(1)),l=n(0),c=n(8),p=n(3),f=n(5),d=n(6);function h(e){return e&&e.__esModule?e:{default:e}}var m=(0,c.createGlobalStyle)(i),v={"X-WP-NONCE":wpApiSettings.nonce},y=wpApiSettings.root,g=function(){return wp.element.createElement(f.SvgIcon,{icon:"arrow-down",color:"#72777c",size:"10px"})},b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={selectedOption:null,loading:!!n.props.value},n.fetchUsers=(0,l.debounce)(n.fetchUsers,500).bind(n),n.fetchUser=n.fetchUser.bind(n),n.mapUserToSelectOption=n.mapUserToSelectOption.bind(n),n.onChange=n.onChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.Component),o(t,[{key:"render",value:function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(m,null),wp.element.createElement(a.default,{placeholder:(0,p.__)("Select a user...","wordpress-seo"),isDisabled:this.state.loading,inputId:this.props.name,className:"yoast-person-selector-container",classNamePrefix:"yoast-person-selector",value:this.state.selectedOption,onChange:this.onChange,defaultOptions:!0,loadOptions:this.fetchUsers,components:{IndicatorSeparator:null,DropdownIndicator:g}}))}},{key:"componentDidMount",value:function(){this.props.value&&this.fetchUser(this.props.value)}},{key:"onChange",value:function(e){var t=this;this.setState({selectedOption:e,loading:!1},function(){t.props.onChange(e.value,e.label)})}},{key:"mapUserToSelectOption",value:function(e){return{value:e.id,label:e.name}}},{key:"fetchUser",value:function(e){var t=this;(0,d.sendRequest)(y+"wp/v2/users/"+e,{method:"GET",headers:v}).then(function(e){e?t.onChange(t.mapUserToSelectOption(e)):t.setState({loading:!1})}).catch(function(){t.setState({loading:!1})})}},{key:"fetchUsers",value:function(e,n){var r=this,o={per_page:10,search:e},i=t.addQueryParams(y+"wp/v2/users",o);(0,d.sendRequest)(i,{method:"GET",headers:v}).then(function(e){var t=e.map(r.mapUserToSelectOption);n(t)})}}],[{key:"addQueryParams",value:function(e,t){var n=e.split("?");e=n[0];var o=r({},t);return 2===n.length&&n[1].split("&").forEach(function(e){var t=e.split("=");o[t[0]]=t[1]}),e+"?"+Object.keys(o).filter(function(e){return!!o[e]}).map(function(e){return e+"="+encodeURIComponent(o[e])}).join("&")}}]),t}(),E=t.WordPressUserSelectorPropTypes={name:s.default.string.isRequired,value:s.default.number.isRequired,onChange:s.default.func.isRequired};b.propTypes=E,t.default=b},function(e,t,n){"use strict";var r=n(284);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){e.exports=n(286)()},function(e,t,n){"use strict";var r=n(287);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=u(n(20)),i=u(n(1)),a=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var s=(0,n(6).makeOutboundLink)(),l=function(e){return wp.element.createElement(a.Alert,{type:e.type},[(0,o.default)({mixedString:(0,r.sprintf)(e.message,"{{link}}","{{/link}}"),components:{link:wp.element.createElement(s,{href:e.link})}})])};l.propTypes={type:i.default.oneOf(["error","info","success","warning"]),message:i.default.string.isRequired,link:i.default.string.isRequired},l.defaultProps={type:"warning"},t.default=l},,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(2),o=n.n(r),i=n(236),a=n.n(i);var u=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(e){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}();var s=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=n(e,t[u],r).trim();break;default:var s=u=0;for(t=[];u<i;++u)for(var l=0;l<a;++l)t[s++]=n(e[l]+" ",o[u],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,i){var a=e+";",u=2*t+3*n+4*i;if(944===u){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===M||2===M&&o(s,1)?"-webkit-"+s+s:s}if(0===M||2===M&&!o(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return f.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(b,"tb");break;case 232:s=a.replace(b,"tb-rl");break;case 220:s=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return"-webkit-"+a+"-webkit-box-"+(s=a.replace("-items",""))+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(w,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(w,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?r:r.replace(C,"$1"),n,t)}function i(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,o,i,a,u,l,c){for(var p,f=0,d=t;f<P;++f)switch(p=T[f].call(s,e,d,n,r,o,i,a,u,l,c)){case void 0:case!1:case!0:case null:break;default:d=p}if(d!==t)return d}function u(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!=typeof e?M=1:(M=2,D=e):M=0),u}function s(e,n){var u=e;if(33>u.charCodeAt(0)&&(u=u.trim()),u=[u],0<P){var s=a(-1,n,u,u,k,x,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,u,s,p,f){for(var d,h,m,b,O,w=0,C=0,_=0,S=0,T=0,D=0,R=m=d=0,L=0,I=0,V=0,N=0,B=s.length,z=B-1,U="",W="",H="",K="";L<B;){if(h=s.charCodeAt(L),L===z&&0!==C+S+_+w&&(0!==C&&(h=47===C?10:47),S=_=w=0,B++,z++),0===C+S+_+w){if(L===z&&(0<I&&(U=U.replace(c,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=s.charAt(L)}h=59}switch(h){case 123:for(d=(U=U.trim()).charCodeAt(0),m=1,N=++L;L<B;){switch(h=s.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(h=s.charCodeAt(L+1)){case 42:case 47:e:{for(R=L+1;R<z;++R)switch(s.charCodeAt(R)){case 47:if(42===h&&42===s.charCodeAt(R-1)&&L+2!==R){L=R+1;break e}break;case 10:if(47===h){L=R+1;break e}}L=R}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<z&&s.charCodeAt(L)!==h;);}if(0===m)break;L++}switch(m=s.substring(N,L),0===d&&(d=(U=U.replace(l,"").trim()).charCodeAt(0)),d){case 64:switch(0<I&&(U=U.replace(c,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:I=u;break;default:I=F}if(N=(m=e(u,I,m,h,f+1)).length,0<P&&(O=a(3,m,I=t(F,U,V),u,k,x,N,h,f,p),U=I.join(""),void 0!==O&&0===(N=(m=O.trim()).length)&&(h=0,m="")),0<N)switch(h){case 115:U=U.replace(E,i);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(v,"$1 $2"))+"{"+m+"}",m=1===M||2===M&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===p&&(W+=m,m="")}else m="";break;default:m=e(u,t(u,U,V),m,p,f+1)}H+=m,m=V=I=R=d=0,U="",h=s.charCodeAt(++L);break;case 125:case 59:if(1<(N=(U=(0<I?U.replace(c,""):U).trim()).length))switch(0===R&&(d=U.charCodeAt(0),45===d||96<d&&123>d)&&(N=(U=U.replace(" ",":")).length),0<P&&void 0!==(O=a(1,U,u,n,k,x,W.length,p,f,p))&&0===(N=(U=O.trim()).length)&&(U="\0\0"),d=U.charCodeAt(0),h=U.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){K+=U+s.charAt(L);break}default:58!==U.charCodeAt(N-1)&&(W+=r(U,d,h,U.charCodeAt(2)))}V=I=R=d=0,U="",h=s.charCodeAt(++L)}}switch(h){case 13:case 10:47===C?C=0:0===1+d&&107!==p&&0<U.length&&(I=1,U+="\0"),0<P*j&&a(0,U,u,n,k,x,W.length,p,f,p),x=1,k++;break;case 59:case 125:if(0===C+S+_+w){x++;break}default:switch(x++,b=s.charAt(L),h){case 9:case 32:if(0===S+w+C)switch(T){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===S+C+w&&(I=V=1,b="\f"+b);break;case 108:if(0===S+C+w+A&&0<R)switch(L-R){case 2:112===T&&58===s.charCodeAt(L-3)&&(A=T);case 8:111===D&&(A=D)}break;case 58:0===S+C+w&&(R=L);break;case 44:0===C+_+S+w&&(I=1,b+="\r");break;case 34:case 39:0===C&&(S=S===h?0:0===S?h:S);break;case 91:0===S+C+_&&w++;break;case 93:0===S+C+_&&w--;break;case 41:0===S+C+w&&_--;break;case 40:if(0===S+C+w){if(0===d)switch(2*T+3*D){case 533:break;default:d=1}_++}break;case 64:0===C+_+S+w+R+m&&(m=1);break;case 42:case 47:if(!(0<S+w+_))switch(C){case 0:switch(2*h+3*s.charCodeAt(L+1)){case 235:C=47;break;case 220:N=L,C=42}break;case 42:47===h&&42===T&&N+2!==L&&(33===s.charCodeAt(N+2)&&(W+=s.substring(N,L+1)),b="",C=0)}}0===C&&(U+=b)}D=T,T=h,L++}if(0<(N=W.length)){if(I=u,0<P&&void 0!==(O=a(2,W,I,n,k,x,N,p,f,p))&&0===(W=O).length)return K+W+H;if(W=I.join(",")+"{"+W+"}",0!=M*A){switch(2!==M||o(W,2)||(A=0),A){case 111:W=W.replace(g,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}A=0}}return K+W+H}(F,u,n,0,0);return 0<P&&void 0!==(s=a(-2,p,u,u,k,x,p.length,0,0,0))&&(p=s),A=0,x=k=1,p}var l=/^\0+/g,c=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,d=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,g=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,w=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,x=1,k=1,A=0,M=1,F=[],T=[],P=0,D=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:P=T.length=0;break;default:if("function"==typeof t)T[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},s.set=u,void 0!==e&&u(e),s};function l(e){e&&c.current.insert(e+"}")}var c={current:null},p=function(e,t,n,r,o,i,a,u,s,p){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return c.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===u)return t+"/*|*/";break;case 3:switch(u){case 102:case 112:return c.current.insert(n[0]+t),"";default:return t+(0===p?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(l)}},f=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new s(t);var o,i={};o=e.container||document.head;var a,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach(function(e){i[e]=!0}),e.parentNode!==o&&o.appendChild(e)}),r.use(e.stylisPlugins)(p),a=function(e,t,n,o){var i=t.name;c.current=n,r(e,t.styles),o&&(f.inserted[i]=!0)};var f={key:n,sheet:new u({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:a};return f};function d(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "}),r}var h=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}};var m=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},v={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var y=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,b=function(e){return 45===e.charCodeAt(1)},E=function(e){return null!=e&&"boolean"!=typeof e},O=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return b(e)?e:e.replace(y,"-$&").toLowerCase()}),w=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(g,function(e,t,n){return _={name:t,styles:n,next:_},t})}return 1===v[e]||b(e)||"number"!=typeof t||0===t?t:t+"px"};function C(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return _={name:n.name,styles:n.styles,next:_},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)_={name:o.name,styles:o.styles,next:_},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=C(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":E(a)&&(r+=O(i)+":"+w(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=C(e,t,a,!1);switch(i){case"animation":case"animationName":r+=O(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var s=0;s<a.length;s++)E(a[s])&&(r+=O(i)+":"+w(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=_,a=n(e);return _=i,C(e,t,a,r)}break;case"string":}if(null==t)return n;var u=t[n];return void 0===u||r?n:u}var _,S=/label:\s*([^\s;\n{]+)\s*;/g;var x=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";_=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=C(n,t,i,!1)):o+=i[0];for(var a=1;a<e.length;a++)o+=C(n,t,e[a],46===o.charCodeAt(o.length-1)),r&&(o+=i[a]);S.lastIndex=0;for(var u,s="";null!==(u=S.exec(o));)s+="-"+u[1];return{name:m(o)+s,styles:o,next:_}};var k=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x(t)},A=Object(r.createContext)("undefined"!=typeof HTMLElement?f():null),M=Object(r.createContext)({}),F=(A.Provider,function(e){return Object(r.forwardRef)(function(t,n){return Object(r.createElement)(A.Consumer,null,function(r){return e(t,r,n)})})}),T="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",P=Object.prototype.hasOwnProperty,D=function(e,t,n,o){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[T],u=[i],s="";"string"==typeof t.className?s=d(e.registered,u,t.className):null!=t.className&&(s=t.className+" ");var l=x(u);h(e,l,"string"==typeof a);s+=e.key+"-"+l.name;var c={};for(var p in t)P.call(t,p)&&"css"!==p&&p!==T&&(c[p]=t[p]);return c.ref=o,c.className=s,Object(r.createElement)(a,c)},j=F(function(e,t,n){return"function"==typeof e.css?Object(r.createElement)(M.Consumer,null,function(r){return D(t,e,r,n)}):D(t,e,null,n)});var R=function(e,t){var n=arguments;if(null==t||!P.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=j;var a={};for(var u in t)P.call(t,u)&&(a[u]=t[u]);a[T]=e,i[1]=a;for(var s=2;s<o;s++)i[s]=n[s];return r.createElement.apply(null,i)};r.Component;var L=F(function(e,t){return Object(r.createElement)(M.Consumer,null,function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=x(n,t.registered);return h(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return function(e,t,n){var r=[],o=d(e,r,n);return r.length<2?n:o+t(r)}(t.registered,r,function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var u in a="",i)i[u]&&u&&(a&&(a+=" "),a+=u);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o}(n))},theme:n},i=e.children(o);return!0,i})}),I=n(21),V=n(93),N=n.n(V),B=function(){};function z(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}var U=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function W(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function H(e){return W(e)?window.pageYOffset:e.scrollTop}function K(e,t){W(e)?window.scrollTo(0,t):e.scrollTop=t}function q(e,t,n,r){void 0===n&&(n=200),void 0===r&&(r=B);var o=H(e),i=t-o,a=10,u=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(u+=a,o,i,n);K(e,s),u<n?window.requestAnimationFrame(t):r(e)}()}function G(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Y=n(42),$=n(139),X=n.n($);function Z(){return(Z=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 J(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Q(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,u=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return o}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,d=p.height,h=p.top,m=n.offsetParent.getBoundingClientRect().top,v=window.innerHeight,y=H(s),g=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),E=m-b,O=v-h,w=E+y,C=c-y-h,_=f-v+y+g,S=y+h-b;switch(o){case"auto":case"bottom":if(O>=d)return{placement:"bottom",maxHeight:t};if(C>=d&&!a)return i&&q(s,_,160),{placement:"bottom",maxHeight:t};if(!a&&C>=r||a&&O>=r)return i&&q(s,_,160),{placement:"bottom",maxHeight:a?O-g:C-g};if("auto"===o||a){var x=t,k=a?E:w;return k>=r&&(x=Math.min(k-g-u.controlHeight,t)),{placement:"top",maxHeight:x}}if("bottom"===o)return K(s,_),{placement:"bottom",maxHeight:t};break;case"top":if(E>=d)return{placement:"top",maxHeight:t};if(w>=d&&!a)return i&&q(s,S,160),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&E>=r){var A=t;return(!a&&w>=r||a&&E>=r)&&(A=a?E-b:w-b),i&&q(s,S,160),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+o+'".')}return l}var ee=function(e){return"auto"===e?"bottom":e},te=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,u=n.menuShouldScrollIntoView,s=n.theme,l=t.context.getPortalPlacement;if(e){var c="fixed"===a,p=Q({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:u&&!c,isFixedPosition:c,theme:s});l&&l(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||ee(e);return Z({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return J(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(r.Component);te.contextTypes={getPortalPlacement:N.a.func};var ne=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},re=ne,oe=ne,ie=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",Z({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};ie.defaultProps={children:"No options"};var ae=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",Z({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};ae.defaultProps={children:"Loading..."};var ue=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==ee(t.props.menuPlacement)&&t.setState({placement:n})},t}J(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,i=e.menuPosition,a=e.getStyles,u="fixed"===i;if(!t&&!u||!r)return null;var s=this.state.placement||ee(o),l=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),c=u?0:window.pageYOffset,p=l[s]+c,f=R("div",{css:a("menuPortal",{offset:p,position:i,rect:l})},n);return t?Object(I.createPortal)(f,t):f},t}(r.Component);ue.childContextTypes={getPortalPlacement:N.a.func};var se=Array.isArray,le=Object.keys,ce=Object.prototype.hasOwnProperty;function pe(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,o,i,a=se(t),u=se(n);if(a&&u){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=u)return!1;var s=t instanceof Date,l=n instanceof Date;if(s!=l)return!1;if(s&&l)return t.getTime()==n.getTime();var c=t instanceof RegExp,p=n instanceof RegExp;if(c!=p)return!1;if(c&&p)return t.toString()==n.toString();var f=le(t);if((o=f.length)!==le(n).length)return!1;for(r=o;0!=r--;)if(!ce.call(n,f[r]))return!1;for(r=o;0!=r--;)if(!("_owner"===(i=f[r])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function de(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return de=function(){return e},e}function he(){return(he=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)}var me={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},ve=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["size"]);return R("svg",he({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:me},n))},ye=function(e){return R(ve,he({size:20},e),R("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ge=function(e){return R(ve,he({size:20},e),R("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},be=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},Ee=be,Oe=be,we=function(){var e=k.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(de()),Ce=function(e){var t=e.delay,n=e.offset;return R("span",{css:k({animation:we+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},_e=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,i=e.isRtl;return R("div",he({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),R(Ce,{delay:0,offset:i}),R(Ce,{delay:160,offset:!0}),R(Ce,{delay:320,offset:!i}))};function Se(){return(Se=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)}_e.defaultProps={size:4};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(){return(Ae=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)}var Me=function(e){var t=e.children,n=e.innerProps;return R("div",n,t)},Fe=Me,Te=Me;var Pe=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,u=e.innerProps,s=e.isDisabled,l=e.removeProps,c=e.selectProps,p=r.Container,f=r.Label,d=r.Remove;return R(L,null,function(r){var h=r.css,m=r.cx;return R(p,{data:i,innerProps:Ae({},u,{className:m(h(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:c},R(f,{data:i,innerProps:{className:m(h(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),R(d,{data:i,innerProps:Ae({className:m(h(a("multiValueRemove",e)),o({"multi-value__remove":!0},n))},l),selectProps:c}))})};function De(){return(De=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)}Pe.defaultProps={cropWithEllipsis:!0};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(){return(Re=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 Le(){return(Le=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)}var Ie={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",he({},i,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||R(ye,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,i=e.isDisabled,a=e.isFocused,u=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return R("div",Se({ref:u,css:r("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":a,"control--menu-is-open":l},o)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",he({},i,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||R(ge,null))},DownChevron:ge,CrossIcon:ye,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.Heading,a=e.headingProps,u=e.label,s=e.theme,l=e.selectProps;return R("div",{css:o("group",e),className:r({group:!0},n)},R(i,xe({},a,{selectProps:l,theme:s,getStyles:o,cx:r}),u),R("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,i=(e.selectProps,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","cx","getStyles","theme","selectProps"]));return R("div",xe({css:r("groupHeading",xe({theme:o},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return R("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return R("span",he({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,i=e.isHidden,a=e.isDisabled,u=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return R("div",{css:r("input",ke({theme:u},s))},R(X.a,ke({className:n({input:!0},t),inputRef:o,inputStyle:function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}}(i),disabled:a},s)))},LoadingIndicator:_e,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerRef,a=e.innerProps;return R("div",Z({css:o("menu",e),className:r({menu:!0},n)},a,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isMulti,a=e.innerRef;return R("div",{css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":i},n),ref:a},t)},MenuPortal:ue,LoadingMessage:ae,NoOptionsMessage:ie,MultiValue:Pe,MultiValueContainer:Fe,MultiValueLabel:Te,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return R("div",n,t||R(ye,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.isFocused,u=e.isSelected,s=e.innerRef,l=e.innerProps;return R("div",De({css:o("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":a,"option--is-selected":u},n),ref:s},l),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",je({css:o("placeholder",e),className:r({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,a=e.isDisabled,u=e.isRtl;return R("div",fe({css:o("container",e),className:r({"--is-disabled":a,"--is-rtl":u},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.innerProps;return R("div",Re({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},n)},a),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,i=e.getStyles,a=e.hasValue;return R("div",{css:i("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n)},t)}},Ve=function(e){return Le({},Ie,e.components)},Ne=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],Be=function(e){for(var t=0;t<Ne.length;t++)e=e.replace(Ne[t].letters,Ne[t].base);return e};function ze(){return(ze=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)}var Ue=function(e){return e.replace(/^\s+|\s+$/g,"")},We=function(e){return e.label+" "+e.value};function He(){return(He=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)}var Ke={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},qe=function(e){return R("span",He({css:Ke},e))};function Ge(){return(Ge=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 Ye(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return R("input",Ge({ref:t},n,{css:k({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var $e=function(e){function t(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.innerRef(Object(I.findDOMNode)(this))},n.componentWillUnmount=function(){this.props.innerRef(null)},n.render=function(){return this.props.children},t}(r.Component),Xe=["boxSizing","height","overflow","paddingRight","position"],Ze={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Je(e){e.preventDefault()}function Qe(e){e.stopPropagation()}function et(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function tt(){return"ontouchstart"in window||navigator.maxTouchPoints}var nt=!(!window.document||!window.document.createElement),rt=0,ot=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;if(nt){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;if(n&&Xe.forEach(function(t){var n=i&&i[t];e.originalStyles[t]=n}),n&&rt<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,u=document.body?document.body.clientWidth:0,s=window.innerWidth-u+a||0;Object.keys(Ze).forEach(function(e){var t=Ze[e];i&&(i[e]=t)}),i&&(i.paddingRight=s+"px")}o&&tt()&&(o.addEventListener("touchmove",Je,this.listenerOptions),r&&(r.addEventListener("touchstart",et,this.listenerOptions),r.addEventListener("touchmove",Qe,this.listenerOptions))),rt+=1}},n.componentWillUnmount=function(){var e=this;if(nt){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;rt=Math.max(rt-1,0),n&&rt<1&&Xe.forEach(function(t){var n=e.originalStyles[t];i&&(i[t]=n)}),o&&tt()&&(o.removeEventListener("touchmove",Je,this.listenerOptions),r&&(r.removeEventListener("touchstart",et,this.listenerOptions),r.removeEventListener("touchmove",Qe,this.listenerOptions)))}},n.render=function(){return null},t}(r.Component);ot.defaultProps={accountForScrollbars:!0};var it={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},at=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?R("div",null,R("div",{onClick:this.blurSelectInput,css:it}),R($e,{innerRef:this.getScrollTarget},t),r?R(ot,{touchScrollTarget:r}):null):t},t}(r.PureComponent);var ut=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var r=t.props,o=r.onBottomArrive,i=r.onBottomLeave,a=r.onTopArrive,u=r.onTopLeave,s=t.scrollTarget,l=s.scrollTop,c=s.scrollHeight,p=s.clientHeight,f=t.scrollTarget,d=n>0,h=c-p-l,m=!1;h>n&&t.isBottom&&(i&&i(e),t.isBottom=!1),d&&t.isTop&&(u&&u(e),t.isTop=!1),d&&n>h?(o&&!t.isBottom&&o(e),f.scrollTop=c,m=!0,t.isBottom=!0):!d&&-n>l&&(a&&!t.isTop&&a(e),f.scrollTop=0,m=!0,t.isTop=!0),m&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.startListening(this.scrollTarget)},n.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},n.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},n.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},n.render=function(){return o.a.createElement($e,{innerRef:this.getScrollTarget},this.props.children)},t}(r.Component);function st(e){var t=e.isEnabled,n=void 0===t||t,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["isEnabled"]);return n?o.a.createElement(ut,r):r.children}var lt=function(e,t){void 0===t&&(t={});var n=t,r=n.isSearchable,o=n.isMulti,i=n.label,a=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(a?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(i||"Select")+" is focused "+(r?",type to refine list":"")+", press Down to open the menu, "+(o?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ct=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return r?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},pt=function(e){return!!e.isDisabled};var ft={clearIndicator:Oe,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+o.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:Ee,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:oe,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=a.neutral0,t.borderRadius=o,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=i.menuGutter,t.marginTop=i.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:re,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*i.baseUnit+"px "+3*i.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?a.primary:a.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - "+2*r.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var dt={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function ht(){return(ht=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 mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var vt={backspaceRemovesValue:!0,blurInputOnSelect:G(),captureMenuScroll:!G(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){var r=ze({ignoreCase:!0,ignoreAccents:!0,stringify:We,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,u=r.trim,s=r.matchFrom,l=u?Ue(n):n,c=u?Ue(a(t)):a(t);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=Be(l),c=Be(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:pt,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},yt=1,gt=function(e){function t(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=Ve({components:e})},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var r=n.props;(0,r.onChange)(e,ht({},t,{name:r.name}))},n.setValue=function(e,t,r){void 0===t&&(t="set-value");var o=n.props,i=o.closeMenuOnSelect,a=o.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:r})},n.selectOption=function(e){var t=n.props,r=t.blurInputOnSelect,o=t.isMulti,i=n.state.selectValue;if(o)if(n.isOptionSelected(e,i)){var a=n.getOptionValue(e);n.setValue(i.filter(function(e){return n.getOptionValue(e)!==a}),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(i,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));r&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,r=n.getOptionValue(e),o=t.filter(function(e){return n.getOptionValue(e)!==r});n.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],r=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(r.length?r:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var r=ft[e](t);r.boxSizing="border-box";var o=n.props.styles[e];return o?o(r,t):r},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,r=t.menuOptions,o=t.focusedOption;if(o&&e){var i=r.focusable.indexOf(o),a=r.render[i];return a&&a.key}},n.announceAriaLiveSelection=function(e){var t=e.event,r=e.context;n.setState({ariaLiveSelection:ct(t,r)})},n.announceAriaLiveContext=function(e){var t=e.event,r=e.context;n.setState({ariaLiveContext:lt(t,ht({},r,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,r=t.isMulti,o=t.menuIsOpen;n.focusInput(),o?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&W(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var r=Math.abs(t.clientX-n.initialTouchX),o=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=r>5||o>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,r=t.isSearchable,o=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t},n.onKeyDown=function(e){var t=n.props,r=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,u=t.isClearable,s=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,f=t.openMenuOnFocus,d=n.state,h=d.focusedOption,m=d.focusedValue,v=d.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)n.removeValue(m);else{if(!o)return;r?n.popValue():u&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!l||!p||!h||f&&n.isOptionSelected(h,v))return;n.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(n.isComposing)return;n.selectOption(h);break}return;case"Escape":l?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):u&&i&&n.clearValue();break;case" ":if(a)return;if(!l){n.openMenu("first");break}if(!h)return;n.selectOption(h);break;case"ArrowUp":l?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":l?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!l)return;n.focusOption("pageup");break;case"PageDown":if(!l)return;n.focusOption("pagedown");break;case"Home":if(!l)return;n.focusOption("first");break;case"End":if(!l)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var r=e.inputValue,o=void 0===r?"":r,i=function(e,r){var i=n.isOptionDisabled(e,t),a=n.isOptionSelected(e,t),u=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:u,value:s,data:e},o))){var l=i?void 0:function(){return n.onOptionHover(e)},c=i?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+r;return{innerProps:{id:p,onClick:c,onMouseMove:l,onMouseOver:l,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:p,label:u,type:"option",value:s}}};return e.options.reduce(function(e,t,r){if(t.options){n.hasGroups||(n.hasGroups=!0);var o=t.options.map(function(t,n){var o=i(t,r+"-"+n);return o&&e.focusable.push(t),o}).filter(Boolean);if(o.length){var a=n.getElementId("group")+"-"+r;e.render.push({type:"group",key:a,data:t,options:o})}}else{var u=i(t,""+r);u&&(e.render.push(u),e.focusable.push(t))}return e},{render:[],focusable:[]})};var r=t.value;n.cacheComponents=Object(Y.a)(n.cacheComponents,pe).bind(mt(mt(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++yt);var o=U(r);n.buildMenuOptions=Object(Y.a)(n.buildMenuOptions,function(e,t){var n=e,r=n[0],o=n[1],i=t,a=i[0];return pe(o,i[1])&&pe(r.inputValue,a.inputValue)&&pe(r.options,a.options)}).bind(mt(mt(n)));var i=t.menuIsOpen?n.buildMenuOptions(t,o):{render:[],focusable:[]};return n.state.menuOptions=i,n.state.selectValue=o,n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},n.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==i){var a=U(e.value),u=e.menuIsOpen?this.buildMenuOptions(e,a):{render:[],focusable:[]},s=this.getNextFocusedValue(a),l=this.getNextFocusedOption(u.focusable);this.setState({menuOptions:u,selectValue:a,focusedOption:l,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},n.componentDidUpdate=function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(!function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?K(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&K(e,Math.max(t.offsetTop-o,0))}(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)},n.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},n.onMenuOpen=function(){this.props.onMenuOpen()},n.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},n.onInputChange=function(e,t){this.props.onInputChange(e,t)},n.focusInput=function(){this.inputRef&&this.inputRef.focus()},n.blurInput=function(){this.inputRef&&this.inputRef.blur()},n.openMenu=function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildMenuOptions(this.props,r),a=this.props.isMulti,u="first"===e?0:i.focusable.length-1;if(!a){var s=i.focusable.indexOf(r[0]);s>-1&&(u=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[u]},function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})})},n.focusValue=function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,i=o.selectValue,a=o.focusedValue;if(n){this.setState({focusedOption:null});var u=i.indexOf(a);a||(u=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,l=-1;if(i.length){switch(e){case"previous":l=0===u?0:-1===u?s:u-1;break;case"next":u>-1&&u<s&&(l=u+1)}-1===l&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==l,focusedValue:i[l]})}}},n.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,r=n.focusedOption,o=n.menuOptions.focusable;if(o.length){var i=0,a=o.indexOf(r);r||(a=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=a>0?a-1:o.length-1:"down"===e?i=(a+1)%o.length:"pageup"===e?(i=a-t)<0&&(i=0):"pagedown"===e?(i=a+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:pt(o[i])}})}},n.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(dt):ht({},dt,this.props.theme):dt},n.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,r=this.selectOption,o=this.props,i=o.classNamePrefix,a=o.isMulti,u=o.isRtl,s=o.options,l=this.state.selectValue,c=this.hasValue();return{cx:function(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push(""+z(e,o));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return l},hasValue:c,isMulti:a,isRtl:u,options:s,selectOption:r,setValue:n,selectProps:o,theme:this.getTheme()}},n.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null},n.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},n.hasValue=function(){return this.state.selectValue.length>0},n.hasOptions=function(){return!!this.state.menuOptions.render.length},n.countOptions=function(){return this.state.menuOptions.focusable.length},n.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},n.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},n.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some(function(e){return n.getOptionValue(e)===r})},n.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},n.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)},n.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},n.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},n.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},n.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},n.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},n.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,i=this.props,a=i.options,u=i.menuIsOpen,s=i.inputValue,l=i.screenReaderStatus;return(r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value "+n(t)+" focused, "+(r.indexOf(t)+1)+" of "+r.length+"."}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(o&&u?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(r.indexOf(t)+1)+" of "+r.length+"."}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:a}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:l({count:this.countOptions()})})+" "+t},n.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,a=e.tabIndex,u=this.components.Input,s=this.state.inputIsHidden,l=r||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return o.a.createElement(Ye,ht({id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:B,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,value:""},c));var p=this.commonProps,f=p.cx,d=p.theme,h=p.selectProps;return o.a.createElement(u,ht({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:f,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:t,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:h,spellCheck:"false",tabIndex:a,theme:d,type:"text",value:i},c))},n.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,u=t.SingleValue,s=t.Placeholder,l=this.commonProps,c=this.props,p=c.controlShouldRenderValue,f=c.isDisabled,d=c.isMulti,h=c.inputValue,m=c.placeholder,v=this.state,y=v.selectValue,g=v.focusedValue,b=v.isFocused;if(!this.hasValue()||!p)return h?null:o.a.createElement(s,ht({},l,{key:"placeholder",isDisabled:f,isFocused:b}),m);if(d)return y.map(function(t,u){var s=t===g;return o.a.createElement(n,ht({},l,{components:{Container:r,Label:i,Remove:a},isFocused:s,isDisabled:f,key:e.getOptionValue(t),index:u,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var E=y[0];return o.a.createElement(u,ht({},l,{data:E,isDisabled:f}),this.formatOptionLabel(E,"value"))},n.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var u={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,ht({},t,{innerProps:u,isFocused:a}))},n.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.a.createElement(e,ht({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))},n.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.a.createElement(n,ht({},r,{isDisabled:i,isFocused:a}))},n.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,ht({},t,{innerProps:i,isDisabled:n,isFocused:r}))},n.renderMenu=function(){var e=this,t=this.components,n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,u=t.MenuPortal,s=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,p=this.commonProps,f=this.state,d=f.focusedOption,h=f.menuOptions,m=this.props,v=m.captureMenuScroll,y=m.inputValue,g=m.isLoading,b=m.loadingMessage,E=m.minMenuHeight,O=m.maxMenuHeight,w=m.menuIsOpen,C=m.menuPlacement,_=m.menuPosition,S=m.menuPortalTarget,x=m.menuShouldBlockScroll,k=m.menuShouldScrollIntoView,A=m.noOptionsMessage,M=m.onMenuScrollToTop,F=m.onMenuScrollToBottom;if(!w)return null;var T,P=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,o.a.createElement(c,ht({},p,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=h.render.map(function(t){if("group"===t.type){t.type;var i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["type"]),a=t.key+"-heading";return o.a.createElement(n,ht({},p,i,{Heading:r,headingProps:{id:a},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e)}))}if("option"===t.type)return P(t)});else if(g){var D=b({inputValue:y});if(null===D)return null;T=o.a.createElement(s,p,D)}else{var j=A({inputValue:y});if(null===j)return null;T=o.a.createElement(l,p,j)}var R={minMenuHeight:E,maxMenuHeight:O,menuPlacement:C,menuPosition:_,menuShouldScrollIntoView:k},L=o.a.createElement(te,ht({},p,R),function(t){var n=t.ref,r=t.placerProps,u=r.placement,s=r.maxHeight;return o.a.createElement(i,ht({},p,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:u}),o.a.createElement(st,{isEnabled:v,onTopArrive:M,onBottomArrive:F},o.a.createElement(at,{isEnabled:x},o.a.createElement(a,ht({},p,{innerRef:e.getMenuListRef,isLoading:g,maxHeight:s}),T))))});return S||"fixed"===_?o.a.createElement(u,ht({},p,{appendTo:S,controlElement:this.controlRef,menuPlacement:C,menuPosition:_}),L):L},n.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,u=this.state.selectValue;if(a&&!r){if(i){if(n){var s=u.map(function(t){return e.getOptionValue(t)}).join(n);return o.a.createElement("input",{name:a,type:"hidden",value:s})}var l=u.length>0?u.map(function(t,n){return o.a.createElement("input",{key:"i-"+n,name:a,type:"hidden",value:e.getOptionValue(t)})}):o.a.createElement("input",{name:a,type:"hidden"});return o.a.createElement("div",null,l)}var c=u[0]?this.getOptionValue(u[0]):"";return o.a.createElement("input",{name:a,type:"hidden",value:c})}},n.renderLiveRegion=function(){return this.state.isFocused?o.a.createElement(qe,{"aria-live":"polite"},o.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),o.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},n.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,u=a.className,s=a.id,l=a.isDisabled,c=a.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return o.a.createElement(r,ht({},f,{className:u,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:p}),this.renderLiveRegion(),o.a.createElement(t,ht({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:p,menuIsOpen:c}),o.a.createElement(i,ht({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),o.a.createElement(n,ht({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},t}(r.Component);function bt(){return(bt=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)}gt.defaultProps=vt;var Et={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function Ot(){return(Ot=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)}n.d(t,"defaultProps",function(){return wt}),n.d(t,"makeAsyncSelect",function(){return Ct});var wt={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Ct=function(e){var t,n;return n=t=function(t){function n(e){var n;return(n=t.call(this)||this).select=void 0,n.lastRequest=void 0,n.mounted=!1,n.optionsCache={},n.handleInputChange=function(e,t){var r=n.props,o=r.cacheOptions,i=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,r.onInputChange);if(!i)return delete n.lastRequest,void n.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(o&&n.optionsCache[i])n.setState({inputValue:i,loadedInputValue:i,loadedOptions:n.optionsCache[i],isLoading:!1,passEmptyOptions:!1});else{var a=n.lastRequest={};n.setState({inputValue:i,isLoading:!0,passEmptyOptions:!n.state.loadedInputValue},function(){n.loadOptions(i,function(e){n.mounted&&(e&&(n.optionsCache[i]=e),a===n.lastRequest&&(delete n.lastRequest,n.setState({isLoading:!1,loadedInputValue:i,loadedOptions:e||[],passEmptyOptions:!1})))})})}return i},n.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(n,t);var r=n.prototype;return r.componentDidMount=function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}})},r.UNSAFE_componentWillReceiveProps=function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})},r.componentWillUnmount=function(){this.mounted=!1},r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.loadOptions=function(e,t){var n=this.props.loadOptions;if(!n)return t();var r=n(e,t);r&&"function"==typeof r.then&&r.then(t,function(){return t()})},r.render=function(){var t=this,n=this.props,r=(n.loadOptions,n.isLoading),i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["loadOptions","isLoading"]),a=this.state,u=a.defaultOptions,s=a.inputValue,l=a.isLoading,c=a.loadedInputValue,p=a.loadedOptions,f=a.passEmptyOptions?[]:s&&c?p:u||[];return o.a.createElement(e,Ot({},i,{ref:function(e){t.select=e},options:f,isLoading:l||r,onInputChange:this.handleInputChange}))},n}(r.Component),t.defaultProps=wt,n},_t=function(e){var t,n;return n=t=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(n,t);var r=n.prototype;return r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},r.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}},r.render=function(){var t=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return o.a.createElement(e,bt({},r,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},n}(r.Component),t.defaultProps=Et,n}(gt),St=Ct(_t);t.default=St},,,,,,function(e,t){e.exports=window.yoast.configurationWizard},function(e,t,n){e.exports=!n(130)&&!n(153)(function(){return 7!=Object.defineProperty(n(323)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(152),o=n(103).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(131),o=n(154),i=n(409)(!1),a=n(270)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,l=[];for(n in u)n!=a&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(267);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(269),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(131),o=n(245),i=n(270)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(417)),o=a(n(427)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";var r=n(419)(!0);n(330)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(242),o=n(102),i=n(331),a=n(150),u=n(180),s=n(420),l=n(275),c=n(327),p=n(63)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,m,v,y){s(n,t,h);var g,b,E,O=function(e){if(!f&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",C="values"==m,_=!1,S=e.prototype,x=S[p]||S["@@iterator"]||m&&S[m],k=x||O(m),A=m?C?O("entries"):k:void 0,M="Array"==t&&S.entries||x;if(M&&(E=c(M.call(new e)))!==Object.prototype&&E.next&&(l(E,w,!0),r||"function"==typeof E[p]||a(E,p,d)),C&&x&&"values"!==x.name&&(_=!0,k=function(){return x.call(this)}),r&&!y||!f&&!_&&S[p]||a(S,p,k),u[t]=k,u[w]=d,m)if(g={values:C?k:O("values"),keys:v?k:O("keys"),entries:A},y)for(b in g)b in S||i(S,b,g[b]);else o(o.P+o.F*(f||_),t,g);return g}},function(e,t,n){e.exports=n(150)},function(e,t,n){var r=n(324),o=n(272).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(244),o=n(179),i=n(154),a=n(266),u=n(131),s=n(322),l=Object.getOwnPropertyDescriptor;t.f=n(130)?l:function(e,t){if(e=i(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(451)),i=s(n(2)),a=s(n(1)),u=(s(n(334)),n(452));function s(e){return e&&e.__esModule?e:{default:e}}a.default.any,a.default.func,a.default.node;var l=function(e){function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o));return i.performAppear=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(i._handleDoneAppearing.bind(i,e,t)):i._handleDoneAppearing(e,t)},i._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performEnter=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(i._handleDoneEntering.bind(i,e,t)):i._handleDoneEntering(e,t)},i._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performLeave=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(i._handleDoneLeaving.bind(i,e,t)):i._handleDoneLeaving(e,t)},i._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)?i.keysToEnter.push(e):i.setState(function(t){var n=r({},t.children);return delete n[e],{children:n}})},i.childRefs=Object.create(null),i.state={children:(0,u.getChildMapping)(n.children)},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach(function(t){return e.performEnter(t,e.childRefs[t])});var n=this.keysToLeave;this.keysToLeave=[],n.forEach(function(t){return e.performLeave(t,e.childRefs[t])})},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var a="string"!=typeof r.ref,u=e.props.childFactory(r),s=function(t){e.childRefs[n]=t};u===r&&a&&(s=(0,o.default)(r.ref,s)),t.push(i.default.cloneElement(u,{key:n,ref:s}))}};for(var a in this.state.children)n(a);var u=r({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,i.default.createElement(this.props.component,u,t)},t}(i.default.Component);l.displayName="TransitionGroup",l.propTypes={},l.defaultProps={component:"span",childFactory:function(e){return e}},t.default=l,e.exports=t.default},function(e,t,n){e.exports={default:n(456),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(472));t.default=function(e){return(0,r.default)("displayName",e)}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(473));t.default=function(e,t){return t+"("+(0,r.default)(e)+")"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=n(321),u=b(a),s=n(15),l=n(0),c=n(6),p=b(n(402)),f=b(n(475)),d=b(n(476)),h=b(n(482)),m=b(n(483)),v=b(n(485)),y=b(n(486)),g=n(41);function b(e){return e&&e.__esModule?e:{default:e}}var E=(0,c.makeOutboundLink)(),O=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isLoading:!0},n.getConfig(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"getEndpoint",value:function(){var e=yoastWizardConfig;return{url:""+e.root+e.namespace+"/"+e.endpoint_retrieve,headers:{"X-WP-Nonce":e.nonce}}}},{key:"setConfig",value:function(e){var t=e,n=this.getEndpoint();(0,l.isUndefined)(t.translations)||(0,s.setTranslations)(t.translations),Object.assign(t,{finishUrl:yoastWizardConfig.finishUrl,endpoint:n,customComponents:{MailchimpSignup:p.default,MediaUpload:f.default,Suggestions:d.default,FinalStep:h.default,WordPressUserSelector:m.default,CompanyInfoMissing:v.default}}),this.setState({isLoading:!1,config:t})}},{key:"getConfig",value:function(){var e=this,t=this.getEndpoint();return jQuery.ajax({url:t.url,method:"GET",async:!0,beforeSend:function(e){jQuery.each(t.headers,e.setRequestHeader)}}).done(this.setConfig.bind(this)).fail(function(){e.setState({isLoading:!1})})}},{key:"render",value:function(){if(!0===this.state.isLoading)return null;if(void 0!==this.state.config&&this.state.config!=={})return wp.element.createElement("div",null,wp.element.createElement(u.default,r({},this.state.config,{headerIcon:y.default})));var e={mixedString:"The configuration wizard could not be started. The likely cause is an interfering plugin. Please {{link}}check for plugin conflicts{{/link}} to solve this problem. ",components:{link:wp.element.createElement(E,{href:"https://yoa.st/configuration-wizard-error-plugin-conflict"})}};return wp.element.createElement("div",null,wp.element.createElement(a.MessageBox,r({},e,{icon:y.default})))}}]),t}();(0,g.setYoastComponentsL10n)(),(0,i.render)(wp.element.createElement(O,null),document.getElementById("wizard"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=p(n(1)),a=p(n(264)),u=p(n(470)),s=n(15),l=n(321),c=n(6);function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={successfulSignup:n.props.value,isLoading:!1},n.setEmailInputRef=n.setEmailInputRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidUpdate",value:function(e,t){this.state.successfulSignup!==t.successfulSignup&&this.sendChangeEvent()}},{key:"hasSubscription",value:function(){return this.props.value.hasSignup}},{key:"signup",value:function(){var e="EMAIL="+this._emailInput.value;this.setState({isLoading:!0});var t=(0,c.sendRequest)(this.props.properties.mailchimpActionUrl,{data:e,headers:{},dataType:"jsonp",jsonp:"c",method:"POST"});this.handleResultSignup(t)}},{key:"handleResultSignup",value:function(e){var t=this;e.then(function(e){-1===e.msg.indexOf("is already subscribed")?"error"!==e.result?t.setState({isLoading:!1,successfulSignup:!0,message:e.msg}):t.setState({isLoading:!1,successfulSignup:!1,message:t.stripMessage(t.stripLinkFromMessage(e.msg))}):t.setState({isLoading:!1,successfulSignup:!0,message:"Almost finished... We need to confirm your email address.To complete the subscription process, please click the link in the email we just sent you."})}).catch(function(e){console.error(t.props.translate("MailChimp signup failed:"),e)})}},{key:"stripLinkFromMessage",value:function(e){return e.replace(/<a.*?<\/a>/,"")}},{key:"stripMessage",value:function(e){return e.endsWith("0 - ",4)?e.slice(4):e}},{key:"sendChangeEvent",value:function(){var e={target:{name:"mailchimpSignup",value:{hasSignup:this.state.successfulSignup}}};this.onChange(e)}},{key:"getLoadingIndicator",value:function(){return this.state.isLoading?wp.element.createElement("div",{className:"yoast-wizard-overlay"},wp.element.createElement(l.LoadingIndicator,null)):null}},{key:"setEmailInputRef",value:function(e){this._emailInput=e}},{key:"render",value:function(){if(this.skipRendering())return null;this.onChange=this.props.onChange;var e=wp.element.createElement("input",{id:"mailchimpEmail",className:"yoast-wizard-text-input-field",ref:this.setEmailInputRef,type:"email",name:this.props.name,defaultValue:this.props.properties.currentUserEmail,autoComplete:"email"}),t=wp.element.createElement(a.default,{primary:!0,label:this.props.translate("Sign Up!"),onClick:this.signup.bind(this),icon:wp.element.createElement(u.default,{color:"#ffffff",viewBox:"0 0 28 28"})}),n=this.getSignupMessage(),r=this.getLoadingIndicator();return wp.element.createElement("div",{className:"yoast-wizard--columns yoast-wizard-newsletter"},wp.element.createElement("div",null,wp.element.createElement("h2",{className:"yoast-wizard-newsletter--header"},this.props.properties.title),wp.element.createElement("p",null,this.props.properties.label),this.props.properties.freeAccountNotice&&wp.element.createElement("strong",null,this.props.properties.freeAccountNotice),wp.element.createElement("div",{className:"yoast-wizard--columns yoast-wizard--columns__even"},wp.element.createElement("div",{className:"yoast-wizard-text-input"},wp.element.createElement("label",{htmlFor:"mailchimpEmail",className:"yoast-wizard-text-input-label"},this.props.translate("Email")),e)),t,n,r,this.props.properties.GDPRNotice&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.properties.GDPRNotice}})),wp.element.createElement("div",{className:"hide-on-tablet yoast-wizard-newsletter--decoration"},wp.element.createElement("img",{src:this.props.properties.decoration,alt:""})))}},{key:"skipRendering",value:function(){var e=this.props.stepState,t="success"===e.currentStep,n=!0===e.fieldValues.newsletter.mailchimpSignup.hasSignup;return t&&n}},{key:"getSignupMessage",value:function(){return this.state.successfulSignup?wp.element.createElement("p",{className:"yoast-wizard-mailchimp-message-success","aria-live":"assertive"},this.state.message):wp.element.createElement("p",{className:"yoast-wizard-mailchimp-message-error","aria-live":"assertive"},this.state.message)}}]),t}();f.propTypes={translate:i.default.func.isRequired,title:i.default.string,component:i.default.string,name:i.default.string.isRequired,properties:i.default.object,data:i.default.string,onChange:i.default.func,value:i.default.shape({hasSignup:i.default.bool}),stepState:i.default.object},f.defaultProps={title:"Mailchimp signup",component:"",properties:{},data:"",value:{hasSignup:!1}},t.default=(0,s.localize)(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(129)),o=g(n(132)),i=g(n(85)),a=g(n(86)),u=g(n(87)),s=g(n(88)),l=g(n(89)),c=g(n(90)),p=n(2),f=g(p),d=g(n(1)),h=g(n(155)),m=n(444),v=g(n(445)),y=g(n(467));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),r.state={hovered:!1,keyboardFocused:!1,touched:!1,initialZDepth:0,zDepth:0},r.handleMouseDown=function(e){0===e.button&&r.setState({zDepth:r.state.initialZDepth+1}),r.props.onMouseDown&&r.props.onMouseDown(e)},r.handleMouseUp=function(e){r.setState({zDepth:r.state.initialZDepth}),r.props.onMouseUp&&r.props.onMouseUp(e)},r.handleMouseLeave=function(e){r.state.keyboardFocused||r.setState({zDepth:r.state.initialZDepth,hovered:!1}),r.props.onMouseLeave&&r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.state.keyboardFocused||r.state.touched||r.setState({hovered:!0}),r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleTouchStart=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth+1}),r.props.onTouchStart&&r.props.onTouchStart(e)},r.handleTouchEnd=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth}),r.props.onTouchEnd&&r.props.onTouchEnd(e)},r.handleKeyboardFocus=function(e,t){var n=t&&!r.props.disabled?r.state.initialZDepth+1:r.state.initialZDepth;r.setState({zDepth:n,keyboardFocused:t})},o=n,(0,s.default)(r,o)}return(0,l.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props.disabled?0:1;this.setState({zDepth:e,initialZDepth:e})}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled?0:1,n={zDepth:t,initialZDepth:t};e.disabled&&(n.hovered=!1),this.setState(n)}},{key:"render",value:function(){var e=this.props,t=(e.backgroundColor,e.buttonStyle),n=e.children,i=e.className,a=e.disabled,u=(e.disabledBackgroundColor,e.disabledLabelColor,e.fullWidth,e.icon),s=e.label,l=(e.labelColor,e.labelPosition),d=e.labelStyle,g=e.overlayStyle,b=(e.primary,e.rippleStyle),E=(e.secondary,e.style),O=(0,o.default)(e,["backgroundColor","buttonStyle","children","className","disabled","disabledBackgroundColor","disabledLabelColor","fullWidth","icon","label","labelColor","labelPosition","labelStyle","overlayStyle","primary","rippleStyle","secondary","style"]),w=this.context.muiTheme.prepareStyles,C=function(e,t,n){var r=t.muiTheme,o=r.baseTheme,i=r.button,a=r.raisedButton,u=r.borderRadius,s=e.disabled,l=e.disabledBackgroundColor,c=e.disabledLabelColor,p=e.fullWidth,f=e.icon,d=e.label,v=e.labelPosition,y=e.primary,g=e.secondary,b=e.style,E=y||g?.4:.08,O=a.color,w=a.textColor;s?(O=l||a.disabledColor,w=c||a.disabledTextColor):y?(O=a.primaryColor,w=a.primaryTextColor):g?(O=a.secondaryColor,w=a.secondaryTextColor):(e.backgroundColor&&(O=e.backgroundColor),e.labelColor&&(w=e.labelColor));var C=b&&b.height||i.height;return{root:{display:"inline-block",transition:h.default.easeOut(),minWidth:p?"100%":i.minWidth},button:{height:C,lineHeight:C+"px",width:"100%",padding:0,borderRadius:u,transition:h.default.easeOut(),backgroundColor:O,textAlign:"center"},label:{position:"relative",opacity:1,fontSize:a.fontSize,letterSpacing:0,textTransform:a.textTransform||i.textTransform||"uppercase",fontWeight:a.fontWeight,margin:0,userSelect:"none",paddingLeft:f&&"before"!==v?8:o.spacing.desktopGutterLess,paddingRight:f&&"before"===v?8:o.spacing.desktopGutterLess,color:w},icon:{verticalAlign:"middle",marginLeft:d&&"before"!==v?12:0,marginRight:d&&"before"===v?12:0},overlay:{height:C,borderRadius:u,backgroundColor:(n.keyboardFocused||n.hovered)&&!s&&(0,m.fade)(w,E),transition:h.default.easeOut(),top:0},ripple:{color:w,opacity:y||g?.16:.1}}}(this.props,this.context,this.state),_=(0,c.default)({},C.ripple,b),S=a?{}:{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onKeyboardFocus:this.handleKeyboardFocus},x=s&&f.default.createElement("span",{style:w((0,c.default)(C.label,d)),key:"labelElement"},s),k=u&&(0,p.cloneElement)(u,{color:u.props.color||C.label.color,style:(0,c.default)(C.icon,u.props.style),key:"iconCloned"}),A="before"===l?[x,k,n]:[n,k,x];return f.default.createElement(y.default,{className:i,style:(0,c.default)(C.root,E),zDepth:this.state.zDepth},f.default.createElement(v.default,(0,r.default)({},O,S,{ref:"container",disabled:a,style:(0,c.default)(C.button,t),focusRippleColor:_.color,touchRippleColor:_.color,focusRippleOpacity:_.opacity,touchRippleOpacity:_.opacity}),f.default.createElement("div",{ref:"overlay",style:w((0,c.default)(C.overlay,g))},A)))}}]),t}(p.Component);b.muiName="RaisedButton",b.defaultProps={disabled:!1,labelPosition:"after",fullWidth:!1,primary:!1,secondary:!1},b.contextTypes={muiTheme:d.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){e.exports={default:n(405),__esModule:!0}},function(e,t,n){n(406),e.exports=n(57).Object.assign},function(e,t,n){var r=n(102);r(r.S+r.F,"Object",{assign:n(408)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(241),o=n(273),i=n(244),a=n(245),u=n(325),s=Object.assign;e.exports=!s||n(153)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=a(e),s=arguments.length,l=1,c=o.f,p=i.f;s>l;)for(var f,d=u(arguments[l++]),h=c?r(d).concat(c(d)):r(d),m=h.length,v=0;m>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:s},function(e,t,n){var r=n(154),o=n(326),i=n(410);e.exports=function(e){return function(t,n,a){var u,s=r(t),l=o(s.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(269),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(412),e.exports=n(57).Object.getPrototypeOf},function(e,t,n){var r=n(245),o=n(327);n(413)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(102),o=n(57),i=n(153);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){e.exports={default:n(415),__esModule:!0}},function(e,t,n){n(416);var r=n(57).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(102);r(r.S+r.F*!n(130),"Object",{defineProperty:n(104).f})},function(e,t,n){e.exports={default:n(418),__esModule:!0}},function(e,t,n){n(329),n(423),e.exports=n(276).f("iterator")},function(e,t,n){var r=n(269),o=n(268);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(274),o=n(179),i=n(275),a={};n(150)(a,n(63)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(104),o=n(151),i=n(241);e.exports=n(130)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(103).document;e.exports=r&&r.documentElement},function(e,t,n){n(424);for(var r=n(103),o=n(150),i=n(180),a=n(63)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var l=u[s],c=r[l],p=c&&c.prototype;p&&!p[a]&&o(p,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var r=n(425),o=n(426),i=n(180),a=n(154);e.exports=n(330)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(428),__esModule:!0}},function(e,t,n){n(429),n(434),n(435),n(436),e.exports=n(57).Symbol},function(e,t,n){"use strict";var r=n(103),o=n(131),i=n(130),a=n(102),u=n(331),s=n(430).KEY,l=n(153),c=n(271),p=n(275),f=n(243),d=n(63),h=n(276),m=n(277),v=n(431),y=n(432),g=n(151),b=n(152),E=n(154),O=n(266),w=n(179),C=n(274),_=n(433),S=n(333),x=n(104),k=n(241),A=S.f,M=x.f,F=_.f,T=r.Symbol,P=r.JSON,D=P&&P.stringify,j=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,I=c("symbol-registry"),V=c("symbols"),N=c("op-symbols"),B=Object.prototype,z="function"==typeof T,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,H=i&&l(function(){return 7!=C(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=A(B,t);r&&delete B[t],M(e,t,n),r&&e!==B&&M(B,t,r)}:M,K=function(e){var t=V[e]=C(T.prototype);return t._k=e,t},q=z&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},G=function(e,t,n){return e===B&&G(N,t,n),g(e),t=O(t,!0),g(n),o(V,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=C(n,{enumerable:w(0,!1)})):(o(e,j)||M(e,j,w(1,{})),e[j][t]=!0),H(e,t,n)):M(e,t,n)},Y=function(e,t){g(e);for(var n,r=v(t=E(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},$=function(e){var t=L.call(this,e=O(e,!0));return!(this===B&&o(V,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,j)&&this[j][e])||t)},X=function(e,t){if(e=E(e),t=O(t,!0),e!==B||!o(V,t)||o(N,t)){var n=A(e,t);return!n||!o(V,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=F(E(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==j||t==s||r.push(t);return r},J=function(e){for(var t,n=e===B,r=F(n?N:E(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(B,t)||i.push(V[t]);return i};z||(u((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(N,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,w(1,n))};return i&&W&&H(B,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",function(){return this._k}),S.f=X,x.f=G,n(332).f=_.f=Z,n(244).f=$,n(273).f=J,i&&!n(242)&&u(B,"propertyIsEnumerable",$,!0),h.f=function(e){return K(d(e))}),a(a.G+a.W+a.F*!z,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)d(Q[ee++]);for(var te=k(d.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=T(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?C(e):Y(C(e),t)},defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:J}),P&&a(a.S+a.F*(!z||l(function(){var e=T();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!q(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,D.apply(P,r)}}),T.prototype[R]||n(150)(T.prototype,R,T.prototype.valueOf),p(T,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(243)("meta"),o=n(152),i=n(131),a=n(104).f,u=0,s=Object.isExtensible||function(){return!0},l=!n(153)(function(){return s(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&p.NEED&&s(e)&&!i(e,r)&&c(e),e}}},function(e,t,n){var r=n(241),o=n(273),i=n(244);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,l=0;u.length>l;)s.call(e,a=u[l++])&&t.push(a);return t}},function(e,t,n){var r=n(267);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(154),o=n(332).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(277)("asyncIterator")},function(e,t,n){n(277)("observable")},function(e,t,n){e.exports={default:n(438),__esModule:!0}},function(e,t,n){n(439),e.exports=n(57).Object.setPrototypeOf},function(e,t,n){var r=n(102);r(r.S,"Object",{setPrototypeOf:n(440).set})},function(e,t,n){var r=n(152),o=n(151),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(265)(Function.call,n(333).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(442),__esModule:!0}},function(e,t,n){n(443);var r=n(57).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(102);r(r.S,"Object",{create:n(274)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=o,t.convertHexToRGB=i,t.decomposeColor=a,t.getContrastRatio=function(e,t){var n=u(e),r=u(t),o=(Math.max(n,r)+.05)/(Math.min(n,r)+.05);return Number(o.toFixed(2))},t.getLuminance=u,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?s(e,t):l(e,t)},t.fade=function(e,t){e=a(e),t=r(t,0,1),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,o(e)},t.darken=s,t.lighten=l;!function(e){e&&e.__esModule}(n(334));function r(e,t,n){return e<t?t:e>n?n:e}function o(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],4===n.length?o+=", "+e.values[3]+")":o+=")",o}function i(e){if(4===e.length){for(var t="#",n=1;n<e.length;n++)t+=e.charAt(n)+e.charAt(n);e=t}return"rgb("+parseInt(e.substr(1,2),16)+", "+parseInt(e.substr(3,2),16)+", "+parseInt(e.substr(5,2),16)+")"}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map(function(e){return parseFloat(e)})}}function u(e){if((e=a(e)).type.indexOf("rgb")>-1){var t=e.values.map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function s(e,t){if(e=a(e),t=r(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return o(e)}function l(e,t){if(e=a(e),t=r(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(129)),o=g(n(132)),i=g(n(85)),a=g(n(86)),u=g(n(87)),s=g(n(88)),l=g(n(89)),c=g(n(90)),p=n(2),f=g(p),d=g(n(1)),h=g(n(446)),m=g(n(447)),v=g(n(448)),y=g(n(454));function g(e){return e&&e.__esModule?e:{default:e}}var b=!1,E=!1,O=!1;var w=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),r.state={isKeyboardFocused:!1},r.handleKeyDown=function(e){r.props.disabled||r.props.disableKeyboardFocus||("enter"===(0,m.default)(e)&&r.state.isKeyboardFocused&&r.handleClick(e),"esc"===(0,m.default)(e)&&r.state.isKeyboardFocused&&r.removeKeyboardFocus(e)),r.props.onKeyDown(e)},r.handleKeyUp=function(e){r.props.disabled||r.props.disableKeyboardFocus||"space"===(0,m.default)(e)&&r.state.isKeyboardFocused&&r.handleClick(e),r.props.onKeyUp(e)},r.handleBlur=function(e){r.cancelFocusTimeout(),r.removeKeyboardFocus(e),r.props.onBlur(e)},r.handleFocus=function(e){e&&e.persist(),r.props.disabled||r.props.disableKeyboardFocus||(r.focusTimeout=setTimeout(function(){O&&(r.setKeyboardFocus(e),O=!1)},150),r.props.onFocus(e))},r.handleClick=function(e){r.cancelFocusTimeout(),r.props.disabled||(O=!1,r.removeKeyboardFocus(e),r.props.onClick(e))},o=n,(0,s.default)(r,o)}return(0,l.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.disabled,n=e.disableKeyboardFocus,r=e.keyboardFocused;t||!r||n||this.setState({isKeyboardFocused:!0})}},{key:"componentDidMount",value:function(){!function(){if(!b){var e=document.createElement("style");e.innerHTML="\n button::-moz-focus-inner,\n input::-moz-focus-inner {\n border: 0;\n padding: 0;\n }\n ",document.body.appendChild(e),b=!0}}(),E||(h.default.on(window,"keydown",function(e){O="tab"===(0,m.default)(e)}),E=!0),this.state.isKeyboardFocused&&(this.button.focus(),this.props.onKeyboardFocus(null,!0))}},{key:"componentWillReceiveProps",value:function(e){(e.disabled||e.disableKeyboardFocus)&&this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),e.onKeyboardFocus&&e.onKeyboardFocus(null,!1))}},{key:"componentWillUnmount",value:function(){this.focusTimeout&&clearTimeout(this.focusTimeout)}},{key:"isKeyboardFocused",value:function(){return this.state.isKeyboardFocused}},{key:"removeKeyboardFocus",value:function(e){this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),this.props.onKeyboardFocus(e,!1))}},{key:"setKeyboardFocus",value:function(e){this.state.isKeyboardFocused||(this.setState({isKeyboardFocused:!0}),this.props.onKeyboardFocus(e,!0))}},{key:"cancelFocusTimeout",value:function(){this.focusTimeout&&(clearTimeout(this.focusTimeout),this.focusTimeout=null)}},{key:"createButtonChildren",value:function(){var e=this.props,t=e.centerRipple,n=e.children,r=e.disabled,o=e.disableFocusRipple,i=e.disableKeyboardFocus,a=e.disableTouchRipple,u=e.focusRippleColor,s=e.focusRippleOpacity,l=e.touchRippleColor,c=e.touchRippleOpacity,p=this.state.isKeyboardFocused,d=!p||r||o||i?void 0:f.default.createElement(v.default,{color:u,opacity:s,show:p,style:{overflow:"hidden"},key:"focusRipple"}),h=r||a?void 0:f.default.createElement(y.default,{centerRipple:t,color:l,opacity:c,key:"touchRipple"},n);return[d,h,h?void 0:n]}},{key:"render",value:function(){var e=this,t=this.props,n=(t.centerRipple,t.children),i=t.containerElement,a=t.disabled,u=(t.disableFocusRipple,t.disableKeyboardFocus),s=(t.disableTouchRipple,t.focusRippleColor,t.focusRippleOpacity,t.href),l=(t.keyboardFocused,t.touchRippleColor,t.touchRippleOpacity,t.onBlur,t.onClick,t.onFocus,t.onKeyUp,t.onKeyDown,t.onKeyboardFocus,t.style),p=t.tabIndex,d=t.type,h=(0,o.default)(t,["centerRipple","children","containerElement","disabled","disableFocusRipple","disableKeyboardFocus","disableTouchRipple","focusRippleColor","focusRippleOpacity","href","keyboardFocused","touchRippleColor","touchRippleOpacity","onBlur","onClick","onFocus","onKeyUp","onKeyDown","onKeyboardFocus","style","tabIndex","type"]),m=this.context.muiTheme,v=m.prepareStyles,y=m.enhancedButton,g=(0,c.default)({border:10,boxSizing:"border-box",display:"inline-block",fontFamily:this.context.muiTheme.baseTheme.fontFamily,WebkitTapHighlightColor:y.tapHighlightColor,cursor:a?"default":"pointer",textDecoration:"none",margin:0,padding:0,outline:"none",fontSize:"inherit",fontWeight:"inherit",position:"relative",verticalAlign:s?"middle":null},l);if(g.backgroundColor||g.background||(g.background="none"),a&&s)return f.default.createElement("span",(0,r.default)({},h,{style:g}),n);var b=(0,r.default)({},h,{style:v(g),ref:function(t){return e.button=t},disabled:a,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,onClick:this.handleClick,tabIndex:a||u?-1:p});s&&(b.href=s);var E=this.createButtonChildren();return f.default.isValidElement(i)?f.default.cloneElement(i,b,E):(s||"button"!==i||(b.type=d),f.default.createElement(s?"a":i,b,E))}}]),t}(p.Component);w.defaultProps={containerElement:"button",onBlur:function(){},onClick:function(){},onFocus:function(){},onKeyDown:function(){},onKeyUp:function(){},onKeyboardFocus:function(){},tabIndex:0,type:"button"},w.contextTypes={muiTheme:d.default.object.isRequired},w.propTypes={},t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={once:function(e,t,n){for(var r=t?t.split(" "):[],o=function e(t){return t.target.removeEventListener(t.type,e),n(t)},i=r.length-1;i>=0;i--)this.on(e,r[i],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,function(){n.call(e)})},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return-1!==["keydown","keypress","keyup"].indexOf(e.type)}}},function(e,t){var n=(t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var o,a=String(e);return(o=n[a.toLowerCase()])?o:(o=r[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};
2
- /*!
3
- * Programatically add the following
4
- */
5
- for(o=97;o<123;o++)n[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)n[o-48]=o;for(o=1;o<13;o++)n["f"+o]=o+111;for(o=0;o<10;o++)n["numpad "+o]=o+96;var i=t.names=t.title={};for(o in n)i[n[o]]=o;for(var a in r)n[a]=r[a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(85)),o=y(n(86)),i=y(n(87)),a=y(n(88)),u=y(n(89)),s=y(n(90)),l=n(2),c=y(l),p=y(n(1)),f=y(n(21)),d=y(n(278)),h=y(n(279)),m=y(n(155)),v=y(n(450));function y(e){return e&&e.__esModule?e:{default:e}}var g=750,b=function(e){function t(){var e,n,i,u;(0,o.default)(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=i=(0,a.default)(this,(e=t.__proto__||(0,r.default)(t)).call.apply(e,[this].concat(l))),i.pulsate=function(){var e=f.default.findDOMNode(i.refs.innerCircle);if(e){var t="scale(1)"===(e.style.transform||"scale(1)")?"scale(0.85)":"scale(1)";h.default.set(e.style,"transform",t),i.timeout=setTimeout(i.pulsate,g)}},u=n,(0,a.default)(i,u)}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.props.show&&(this.setRippleSize(),this.pulsate())}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,d.default)(this.props,e)||!(0,d.default)(this.state,t)}},{key:"componentDidUpdate",value:function(){this.props.show?(this.setRippleSize(),this.pulsate()):this.timeout&&clearTimeout(this.timeout)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"getRippleElement",value:function(e){var t=e.color,n=e.innerStyle,r=e.opacity,o=this.context.muiTheme,i=o.prepareStyles,a=o.ripple,u=(0,s.default)({position:"absolute",height:"100%",width:"100%",borderRadius:"50%",opacity:r||.16,backgroundColor:t||a.color,transition:m.default.easeOut(g+"ms","transform",null,m.default.easeInOutFunction)},n);return c.default.createElement("div",{ref:"innerCircle",style:i((0,s.default)({},u))})}},{key:"setRippleSize",value:function(){var e=f.default.findDOMNode(this.refs.innerCircle),t=e.offsetHeight,n=e.offsetWidth,r=Math.max(t,n),o=0;-1!==e.style.top.indexOf("px",e.style.top.length-2)&&(o=parseInt(e.style.top)),e.style.height=r+"px",e.style.top=t/2-r/2+o+"px"}},{key:"render",value:function(){var e=this.props,t=e.show,n=e.style,r=(0,s.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0},n),o=t?this.getRippleElement(this.props):null;return c.default.createElement(v.default,{maxScale:.85,style:r},o)}}]),t}(l.Component);b.contextTypes={muiTheme:p.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(129)),o=v(n(132)),i=v(n(85)),a=v(n(86)),u=v(n(87)),s=v(n(88)),l=v(n(89)),c=v(n(90)),p=n(2),f=v(p),d=v(n(1)),h=v(n(335)),m=v(n(453));function v(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.childStyle,i=e.enterDelay,a=e.maxScale,u=e.minScale,s=e.style,l=(0,o.default)(e,["children","childStyle","enterDelay","maxScale","minScale","style"]),p=this.context.muiTheme.prepareStyles,d=(0,c.default)({},{position:"relative",height:"100%"},s),v=f.default.Children.map(t,function(e){return f.default.createElement(m.default,{key:e.key,enterDelay:i,maxScale:a,minScale:u,style:n},e)});return f.default.createElement(h.default,(0,r.default)({},l,{style:p(d),component:"div"}),v)}}]),t}(p.Component);y.defaultProps={enterDelay:0},y.contextTypes={muiTheme:d.default.object.isRequired},y.propTypes={},t.default=y},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter(function(e){return null!=e})).length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t},t.mergeChildMappings=function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,u={};for(var s in t){if(r.hasOwnProperty(s))for(a=0;a<r[s].length;a++){var l=r[s][a];u[r[s][a]]=n(l)}u[s]=n(s)}for(a=0;a<o.length;a++)u[o[a]]=n(o[a]);return u};var r=n(2)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(129)),o=y(n(132)),i=y(n(85)),a=y(n(86)),u=y(n(87)),s=y(n(88)),l=y(n(89)),c=y(n(90)),p=n(2),f=y(p),d=y(n(1)),h=y(n(21)),m=y(n(279)),v=y(n(155));function y(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",m.default.set(t,"transform","scale("+this.props.minScale+")"),this.leaveTimer=setTimeout(e,450)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style;e.opacity="1",m.default.set(e,"transform","scale("+this.props.maxScale+")")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",m.default.set(t,"transform","scale(0)"),this.enterTimer=setTimeout(e,this.props.enterDelay)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.enterDelay,e.maxScale,e.minScale,e.style),i=(0,o.default)(e,["children","enterDelay","maxScale","minScale","style"]),a=this.context.muiTheme.prepareStyles,u=(0,c.default)({},{position:"absolute",height:"100%",width:"100%",top:0,left:0,transition:v.default.easeOut(null,["transform","opacity"])},n);return f.default.createElement("div",(0,r.default)({},i,{style:a(u)}),t)}}]),t}(p.Component);g.defaultProps={enterDelay:0,maxScale:1,minScale:0},g.contextTypes={muiTheme:d.default.object.isRequired},g.propTypes={},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(455)),o=g(n(85)),i=g(n(86)),a=g(n(87)),u=g(n(88)),s=g(n(89)),l=g(n(464)),c=g(n(90)),p=n(2),f=g(p),d=g(n(1)),h=g(n(21)),m=g(n(335)),v=g(n(465)),y=g(n(466));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){return(0,l.default)(e).slice(1)},E=function(e){function t(e,n){(0,i.default)(this,t);var a=(0,u.default)(this,(t.__proto__||(0,o.default)(t)).call(this,e,n));return a.handleMouseDown=function(e){0===e.button&&a.start(e,!1)},a.handleMouseUp=function(){a.end()},a.handleMouseLeave=function(){a.end()},a.handleTouchStart=function(e){e.stopPropagation(),a.props.abortOnScroll&&e.touches&&(a.startListeningForScrollAbort(e),a.startTime=Date.now()),a.start(e,!0)},a.handleTouchEnd=function(){a.end()},a.handleTouchMove=function(e){if(Math.abs(Date.now()-a.startTime)>300)a.stopListeningForScrollAbort();else{var t=Math.abs(e.touches[0].clientY-a.firstTouchY),n=Math.abs(e.touches[0].clientX-a.firstTouchX);if(t>6||n>6){var o=a.state.ripples,i=o[0],u=f.default.cloneElement(i,{aborted:!0});o=b(o),o=[].concat((0,r.default)(o),[u]),a.setState({ripples:o},function(){a.end()})}}},a.ignoreNextMouseDown=!1,a.state={hasRipples:!1,nextKey:0,ripples:[]},a}return(0,s.default)(t,e),(0,a.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(!this.ignoreNextMouseDown||t){var o=this.state.ripples;o=[].concat((0,r.default)(o),[f.default.createElement(y.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:o})}else this.ignoreNextMouseDown=!1}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:b(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=h.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=v.default.offset(t),i=e.touches&&e.touches.length,a=i?e.touches[0].pageX:e.pageX,u=i?e.touches[0].pageY:e.pageY,s=a-o.left,l=u-o.top,c=this.calcDiag(s,l),p=this.calcDiag(r-s,l),f=this.calcDiag(r-s,n-l),d=this.calcDiag(s,n-l),m=Math.max(c,p,f,d),y=2*m;return{directionInvariant:!0,height:y,width:y,top:l-m,left:s-m}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,i=r.ripples,a=this.context.muiTheme.prepareStyles,u=void 0;if(o){var s=(0,c.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none",zIndex:1},n);u=f.default.createElement(m.default,{style:a(s)},i)}return f.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},u,t)}}]),t}(p.Component);E.defaultProps={abortOnScroll:!0},E.contextTypes={muiTheme:d.default.object.isRequired},E.propTypes={},t.default=E},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(336));t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,r.default)(e)}},function(e,t,n){n(329),n(457),e.exports=n(57).Array.from},function(e,t,n){"use strict";var r=n(265),o=n(102),i=n(245),a=n(458),u=n(459),s=n(326),l=n(460),c=n(461);o(o.S+o.F*!n(463)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,f=i(e),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,y=0,g=c(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||d==Array&&u(g))for(n=new d(t=s(f.length));t>y;y++)l(n,y,v?m(f[y],y):f[y]);else for(p=g.call(f),n=new d;!(o=p.next()).done;y++)l(n,y,v?a(p,m,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){var r=n(151);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(180),o=n(63)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(104),o=n(179);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(462),o=n(63)("iterator"),i=n(180);e.exports=n(57).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(267),o=n(63)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(63)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(336));t.default=function(e){return Array.isArray(e)?e:(0,r.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDescendant:function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(129)),o=g(n(132)),i=g(n(85)),a=g(n(86)),u=g(n(87)),s=g(n(88)),l=g(n(89)),c=g(n(90)),p=n(2),f=g(p),d=g(n(1)),h=g(n(21)),m=g(n(278)),v=g(n(279)),y=g(n(155));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"shouldComponentUpdate",value:function(e){return!(0,m.default)(this.props,e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){h.default.findDOMNode(this).style.opacity=0;var t=this.props.aborted?0:2e3;this.enterTimer=setTimeout(e,t)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style,t=y.default.easeOut("2s","opacity")+", "+y.default.easeOut("1s","transform");v.default.set(e,"transition",t),v.default.set(e,"transform","scale(1)")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity=this.props.opacity,v.default.set(t,"transform","scale(0)"),this.leaveTimer=setTimeout(e,0)}},{key:"render",value:function(){var e=this.props,t=(e.aborted,e.color),n=(e.opacity,e.style),i=(e.touchGenerated,(0,o.default)(e,["aborted","color","opacity","style","touchGenerated"])),a=this.context.muiTheme.prepareStyles,u=(0,c.default)({position:"absolute",top:0,left:0,height:"100%",width:"100%",borderRadius:"50%",backgroundColor:t},n);return f.default.createElement("div",(0,r.default)({},i,{style:a(u)}))}}]),t}(p.Component);b.defaultProps={opacity:.1,aborted:!1},b.contextTypes={muiTheme:d.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(468));t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(129)),o=m(n(132)),i=m(n(85)),a=m(n(86)),u=m(n(87)),s=m(n(88)),l=m(n(89)),c=m(n(90)),p=n(2),f=m(p),d=m(n(1)),h=(m(n(469)),m(n(155)));function m(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.circle,e.rounded,e.style),i=(e.transitionEnabled,e.zDepth,(0,o.default)(e,["children","circle","rounded","style","transitionEnabled","zDepth"])),a=this.context.muiTheme.prepareStyles,u=function(e,t){var n=e.rounded,r=e.circle,o=e.transitionEnabled,i=e.zDepth,a=t.muiTheme,u=a.baseTheme,s=a.paper,l=a.borderRadius;return{root:{color:s.color,backgroundColor:s.backgroundColor,transition:o&&h.default.easeOut(),boxSizing:"border-box",fontFamily:u.fontFamily,WebkitTapHighlightColor:"rgba(0,0,0,0)",boxShadow:s.zDepthShadows[i-1],borderRadius:r?"50%":n?l:"0px"}}}(this.props,this.context);return f.default.createElement("div",(0,r.default)({},i,{style:a((0,c.default)(u.root,n))}),t)}}]),t}(p.Component);v.defaultProps={circle:!1,rounded:!0,transitionEnabled:!0,zDepth:1},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=r.default.oneOf(["left","middle","right"]),i=r.default.oneOf(["top","center","bottom"]);t.default={corners:r.default.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:o,vertical:i,origin:r.default.shape({horizontal:o,vertical:i}),cornersAndCenter:r.default.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:r.default.oneOfType([r.default.string,r.default.number]),zDepth:r.default.oneOf([0,1,2,3,4,5])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(2)),o=a(n(280)),i=a(n(281));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}))};(u=(0,o.default)(u)).displayName="CommunicationMailOutline",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);o(n(337)),o(n(338));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return function(t){var n=(0,r.createFactory)(t);return function(t){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(r.Component)}}},function(e,t,n){"use strict";t.__esModule=!0;t.default=function(e,t){return function(n){return n[e]=t,n}}},function(e,t,n){"use strict";t.__esModule=!0;t.default=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(129)),o=m(n(132)),i=m(n(85)),a=m(n(86)),u=m(n(87)),s=m(n(88)),l=m(n(89)),c=m(n(90)),p=n(2),f=m(p),d=m(n(1)),h=m(n(155));function m(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),r.state={hovered:!1},r.handleMouseLeave=function(e){r.setState({hovered:!1}),r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.setState({hovered:!0}),r.props.onMouseEnter(e)},o=n,(0,s.default)(r,o)}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.color,i=e.hoverColor,a=(e.onMouseEnter,e.onMouseLeave,e.style),u=e.viewBox,s=(0,o.default)(e,["children","color","hoverColor","onMouseEnter","onMouseLeave","style","viewBox"]),l=this.context.muiTheme,p=l.svgIcon,d=l.prepareStyles,m=n||"currentColor",v=i||m,y=(0,c.default)({display:"inline-block",color:p.color,fill:this.state.hovered?v:m,height:24,width:24,userSelect:"none",transition:h.default.easeOut()},a);return f.default.createElement("svg",(0,r.default)({},s,{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,style:d(y),viewBox:u}),t)}}]),t}(p.Component);v.muiName="SvgIcon",v.defaultProps={onMouseEnter:function(){},onMouseLeave:function(){},viewBox:"0 0 24 24"},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=s(n(1)),a=s(n(264)),u=n(15);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={currentUpload:e.value,mediaUpload:wp.media({title:n.props.translate("Choose an image"),button:{text:n.props.translate("Choose an image")},multiple:!1,library:{type:"image"}})},n.state.mediaUpload.on("select",n.selectUpload.bind(n)),n.chooseButton=(0,o.createRef)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidUpdate",value:function(e,t){var n=this.state.currentUpload!==t.currentUpload;n&&this.sendChangeEvent(),n&&""===this.state.currentUpload&&this.chooseButton.current.refs.container.button.focus()}},{key:"chooseUpload",value:function(e){e.preventDefault(),this.state.mediaUpload.open()}},{key:"selectUpload",value:function(){var e=this.state.mediaUpload.state().get("selection").first().toJSON();this.setState({currentUpload:e.url})}},{key:"removeUpload",value:function(){this.setState({currentUpload:""})}},{key:"renderRemoveButton",value:function(){return this.state.currentUpload?wp.element.createElement(a.default,{label:this.props.translate("Remove the image"),onClick:this.removeUpload.bind(this),className:"yoast-wizard-image-upload-container-buttons__remove",type:"button"}):null}},{key:"renderImage",value:function(){return this.state.currentUpload?wp.element.createElement("img",{className:"yoast-wizard-image-upload-container__image",src:this.state.currentUpload,alt:this.props.translate("image preview")}):null}},{key:"render",value:function(){return wp.element.createElement("div",{className:"yoast-wizard-image-upload-container"},wp.element.createElement("p",{className:"yoast-wizard-image-upload-container-description"},this.props.properties.label),this.renderImage(),wp.element.createElement("div",{className:"yoast-wizard-image-upload-container-buttons"},wp.element.createElement(a.default,{label:this.props.translate("Choose an image"),onClick:this.chooseUpload.bind(this),type:"button",className:"yoast-wizard-image-upload-container-buttons__choose",ref:this.chooseButton}),this.renderRemoveButton()))}},{key:"sendChangeEvent",value:function(){var e={target:{name:this.props.name,value:this.state.currentUpload}};this.props.onChange(e)}}]),t}();l.propTypes={translate:i.default.func.isRequired,name:i.default.string.isRequired,value:i.default.any,onChange:i.default.func,properties:i.default.shape({label:i.default.string})},t.default=(0,u.localize)(l)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=s(n(1)),u=s(n(477));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){return wp.element.createElement("div",null,this.props.properties.suggestions.map(function(e,t){return wp.element.createElement(u.default,r({key:t},e))}))}}]),t}();t.default=l,l.propTypes={properties:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=l(n(1)),u=l(n(478)),s=l(n(479));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){var e={};return"primary"===this.props.button.type&&(e.labelPosition="before",e.icon=wp.element.createElement(u.default,{viewBox:"0 0 28 28"})),wp.element.createElement("div",{className:"yoast-wizard--list yoast-wizard--columns yoast-wizard--suggestion"},wp.element.createElement("div",{className:"yoast-wizard--column__push_right"},wp.element.createElement("h3",{className:"yoast-wizard--heading"},this.props.title),wp.element.createElement("p",null,this.props.copy),wp.element.createElement(s.default,r({},this.props.button,e))),wp.element.createElement("div",{className:"yoast-wizard--column__push_left yoast-wizard--video-frame"},wp.element.createElement("iframe",{width:"400",height:"225",src:this.props.video.url,frameBorder:"0",allowFullScreen:!0,title:this.props.video.title})))}}]),t}();t.default=c,c.propTypes={title:a.default.string.isRequired,copy:a.default.string.isRequired,video:a.default.object.isRequired,button:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(2)),o=a(n(280)),i=a(n(281));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}))};(u=(0,o.default)(u)).displayName="NavigationArrowForward",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(1)),i=s(n(480)),a=n(6),u=s(n(481));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return wp.element.createElement(u.default,r({"aria-label":null},e))},c=(0,a.makeOutboundLink)(l);l.propTypes={href:o.default.string.isRequired,icon:o.default.object},l.defaultProps={icon:wp.element.createElement(i.default,{viewBox:"0 0 28 28"})},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(2)),o=a(n(280)),i=a(n(281));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}))};(u=(0,o.default)(u)).displayName="ActionInfo",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=a(n(1)),i=a(n(264));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t={primary:"primary"===e.type};return t["aria-label"]=e.label,wp.element.createElement(i.default,r({},t,e))};u.propTypes={type:o.default.string,label:o.default.string,disableFocusRipple:o.default.bool,disableTouchRipple:o.default.bool,disableKeyboardFocus:o.default.bool},u.defaultProps={type:"",label:"",disableFocusRipple:!1,disableTouchRipple:!0,disableKeyboardFocus:!1},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"render",value:function(){return wp.element.createElement("div",{className:"yoast-wizard--columns"},wp.element.createElement("div",{className:"yoast-wizard--column__push_right"},wp.element.createElement("h2",{className:"yoast-wizard--heading"},this.props.properties.title),wp.element.createElement("p",null,this.props.properties.message)),wp.element.createElement("div",{className:"yoast-wizard--column__push_left"},wp.element.createElement("a",{href:this.props.properties.href,target:"_blank",id:"plugin-training-image-link"},wp.element.createElement("img",{width:"100%",height:"100%",src:this.props.properties.image.src,alt:this.props.properties.image.alt}))))}}]),t}();a.propTypes={properties:i.default.object.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=n(3),u=n(5),s=f(n(8)),l=f(n(484)),c=n(282),p=f(c);function f(e){return e&&e.__esModule?e:{default:e}}var d=s.default.div.withConfig({displayName:"WordPressUserSelectorOnboardingWizard__Container",componentId:"sc-8tvt0m-0"})(["max-width:250px;padding-bottom:7px;"]),h=s.default.p.withConfig({displayName:"WordPressUserSelectorOnboardingWizard__UserInformation",componentId:"sc-8tvt0m-1"})(["font-size:14px;margin-top:0;"]),m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(d,null,wp.element.createElement(u.Label,{for:this.props.name,optionalAttributes:{className:"yoast-wizard-text-input-label"}},(0,a.__)("The name of the person","wordpress-seo")),wp.element.createElement(p.default,this.props)),wp.element.createElement(h,null,(0,a.sprintf)((0,a.__)("You can edit the details shown in meta data, like the social profiles, the name and the description of this user on their %1$s profile page.","wordpress-seo"),"WordPress")))}}]),t}();m.propTypes=r({},c.WordPressUserSelectorPropTypes),t.default=(0,l.default)(m)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4);t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.onChange=t.onChange.bind(t),t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(n,i.Component),o(n,[{key:"onChange",value:function(e){return this.props.onChange({target:{name:this.props.name,value:e}})}},{key:"render",value:function(){var t=this.props,n=(t.onChange,t.forwardedRef),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(t,["onChange","forwardedRef"]);return wp.element.createElement(e,r({},o,{ref:n,onChange:this.onChange}))}}]),n}();return(0,i.forwardRef)(function(e,n){return wp.element.createElement(t,r({},e,{forwardedRef:n}))})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),o=a(n(1)),i=a(n(288));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t=e.properties,n=e.stepState;return((0,r.isEmpty)(n.fieldValues["publishing-entity"].publishingEntityCompanyName)||(0,r.isEmpty)(n.fieldValues["publishing-entity"].publishingEntityCompanyLogo))&&wp.element.createElement(i.default,t)};u.propTypes={properties:o.default.shape({message:o.default.string.isRequired,link:o.default.string.isRequired}).isRequired,stepState:o.default.shape({fieldValues:o.default.shape({"publishing-entity":o.default.shape({publishingEntityCompanyName:o.default.string.isRequired,publishingEntityCompanyLogo:o.default.string.isRequired})}).isRequired}).isRequired},t.default=u},function(e,t,n){var r=n(2);function o(e){return r.createElement("svg",e,[r.createElement("path",{d:"M80 0h340a80 80 0 0 1 80 80v420H80a80 80 0 0 1-80-80V80A80 80 0 0 1 80 0z",fill:"#a4286a",key:0}),r.createElement("path",{d:"M437.61 2L155.89 500H500V80a80 80 0 0 0-62.39-78z",fill:"#6c2548",key:1}),r.createElement("path",{d:"M74.4 337.3v34.9c21.6-.9 38.5-8 52.8-22.5s27.4-38 39.9-72.9l92.6-248h-44.8L140.3 236l-37-116.2h-41l54.4 139.8a57.54 57.54 0 0 1 0 41.8c-5.5 14.2-15.4 30.9-42.3 35.9z",fill:"#fff",key:2}),r.createElement("circle",{cx:"368.33",cy:"124.68",r:"97.34",transform:"rotate(-45 368.335 124.68)",fill:"#9fda4f",key:3}),r.createElement("path",{d:"M416.2 39.93l-95.74 169.51A97.34 97.34 0 1 0 416.2 39.93z",fill:"#77b227",key:4}),r.createElement("path",{d:"M294.78 254.75l-.15-.08-.13-.07a63.6 63.6 0 0 0-62.56 110.76h.13a63.6 63.6 0 0 0 62.71-110.67z",fill:"#fec228",key:5}),r.createElement("path",{d:"M294.5 254.59l-62.56 110.76a63.6 63.6 0 1 0 62.56-110.76z",fill:"#f49a00",key:6}),r.createElement("path",{d:"M222.31 450.07A38.16 38.16 0 0 0 203 416.83a38.18 38.18 0 1 0 19.41 33.27z",fill:"#ff4e47",key:7}),r.createElement("path",{d:"M202.9 416.8l-37.54 66.48a38.17 38.17 0 0 0 37.54-66.48z",fill:"#ed261f",key:8})])}o.defaultProps={role:"img","aria-hidden":"true",viewBox:"0 0 500 500",focusable:"false"},e.exports=o,o.default=o}],[[401,0]]]);
 
 
 
 
 
js/dist/configuration-wizard-1600.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ (window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[7],[function(e,t){e.exports=window.lodash},function(e,t,n){e.exports=n(22)()},function(e,t){e.exports=React},function(e,t){e.exports=window.wp.i18n},function(e,t){e.exports=window.wp.element},function(e,t){e.exports=window.yoast.componentsNew},function(e,t){e.exports=window.yoast.helpers},,function(e,t){e.exports=window.yoast.styledComponents},,,,,,,function(e,t){e.exports=window.yoast.components},,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=u(n(2)),i=u(n(79)),a=u(n(82));function u(e){return e&&e.__esModule?e:{default:e}}var s=void 0;function l(e,t){var n,a,u,c,p,f,d,h,m=[],v={};for(f=0;f<e.length;f++)if("string"!==(p=e[f]).type){if(!t.hasOwnProperty(p.value)||void 0===t[p.value])throw new Error("Invalid interpolation, missing component node: `"+p.value+"`");if("object"!==r(t[p.value]))throw new Error("Invalid interpolation, component node must be a ReactElement or null: `"+p.value+"`","\n> "+s);if("componentClose"===p.type)throw new Error("Missing opening component token: `"+p.value+"`");if("componentOpen"===p.type){n=t[p.value],u=f;break}m.push(t[p.value])}else m.push(p.value);return n&&(c=function(e,t){var n,r,o=t[e],i=0;for(r=e+1;r<t.length;r++)if((n=t[r]).value===o.value){if("componentOpen"===n.type){i++;continue}if("componentClose"===n.type){if(0===i)return r;i--}}throw new Error("Missing closing component token `"+o.value+"`")}(u,e),d=l(e.slice(u+1,c),t),a=o.default.cloneElement(n,{},d),m.push(a),c<e.length-1&&(h=l(e.slice(c+1),t),m=m.concat(h))),1===m.length?m[0]:(m.forEach(function(e,t){e&&(v["interpolation-child-"+t]=e)}),(0,i.default)(v))}t.default=function(e){var t=e.mixedString,n=e.components,o=e.throwErrors;if(s=t,!n)return t;if("object"!==(void 0===n?"undefined":r(n))){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because components is not an object");return t}var i=(0,a.default)(t);try{return l(i,n)}catch(e){if(o)throw new Error("Interpolation Error: unable to process `"+t+"` because of error `"+e.message+"`");return t}}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";var r=n(23),o=n(24),i=n(25);e.exports=function(){function e(e,t,n,r,a,u){u!==i&&o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,t,n){"use strict";function r(e){return function(){return e}}var o=function(){};o.thatReturns=r,o.thatReturnsFalse=r(!1),o.thatReturnsTrue=r(!0),o.thatReturnsNull=r(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,u,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,u,s],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,,,,,,,,,,,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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.setTextdomainL10n=i,t.setYoastComponentsL10n=function(){i("yoast-components")},t.setWordPressSeoL10n=function(){i("wordpress-seo")};var r=n(3),o=n(0);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"wpseoYoastJSL10n",n=(0,o.get)(window,[t,e,"locale_data",e],!1);!1===n?(0,r.setLocaleData)({"":{}},e):(0,r.setLocaleData)(n,e)}},function(e,t,n){"use strict";var r=function(e,t){return e.length===t.length&&e.every(function(e,n){return function(e,t){return e===t}(e,t[n])})};t.a=function(e,t){var n;void 0===t&&(t=r);var o,i=[],a=!1;return function(){for(var r=arguments.length,u=new Array(r),s=0;s<r;s++)u[s]=arguments[s];return a&&n===this&&t(u,i)?o:(o=e.apply(this,u),a=!0,n=this,i=u,o)}}},,,,,,,,,,,,,,,function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},,,,,,function(e,t,n){var r=n(275)("wks"),o=n(247),i=n(104).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=n(2),o="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,i=n(40),a=n(80),u=n(81),s=".",l=":",c="function"==typeof Symbol&&Symbol.iterator,p="@@iterator";function f(e,t){return e&&"object"==typeof e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,function(e){return t[e]})}(e.key):t.toString(36)}function d(e,t,n,r){var i,u=typeof e;if("undefined"!==u&&"boolean"!==u||(e=null),null===e||"string"===u||"number"===u||"object"===u&&e.$$typeof===o)return n(r,e,""===t?s+f(e,0):t),1;var h=0,m=""===t?s:t+l;if(Array.isArray(e))for(var v=0;v<e.length;v++)h+=d(i=e[v],m+f(i,v),n,r);else{var y=function(e){var t=e&&(c&&e[c]||e[p]);if("function"==typeof t)return t}(e);if(y){0;for(var g,b=y.call(e),E=0;!(g=b.next()).done;)h+=d(i=g.value,m+f(i,E++),n,r)}else if("object"===u){0;var O=""+e;a(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===O?"object with keys {"+Object.keys(e).join(", ")+"}":O,"")}}return h}var h=/\/+/g;function m(e){return(""+e).replace(h,"$&/")}var v=y,y=function(e){if(this.instancePool.length){var t=this.instancePool.pop();return this.call(t,e),t}return new this(e)},g=function(e){a(e instanceof this,"Trying to release an instance into a pool of a different type."),e.destructor(),this.instancePool.length<this.poolSize&&this.instancePool.push(e)};function b(e,t,n,r){this.result=e,this.keyPrefix=t,this.func=n,this.context=r,this.count=0}function E(e,t,n){var o=e.result,a=e.keyPrefix,u=e.func,s=e.context,l=u.call(s,t,e.count++);Array.isArray(l)?O(l,o,n,i.thatReturnsArgument):null!=l&&(r.isValidElement(l)&&(l=function(e,t){return r.cloneElement(e,{key:t},void 0!==e.props?e.props.children:void 0)}(l,a+(!l.key||t&&t.key===l.key?"":m(l.key)+"/")+n)),o.push(l))}function O(e,t,n,r,o){var i="";null!=n&&(i=m(n)+"/");var a=b.getPooled(t,i,r,o);!function(e,t,n){null==e||d(e,"",t,n)}(e,E,a),b.release(a)}b.prototype.destructor=function(){this.result=null,this.keyPrefix=null,this.func=null,this.context=null,this.count=0},function(e,t){var n=e;n.instancePool=[],n.getPooled=t||v,n.poolSize||(n.poolSize=10),n.release=g}(b,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)});e.exports=function(e){if("object"!=typeof e||!e||Array.isArray(e))return u(!1,"React.addons.createFragment only accepts a single object. Got: %s",e),e;if(r.isValidElement(e))return u(!1,"React.addons.createFragment does not accept a ReactElement without a wrapper object."),e;a(1!==e.nodeType,"React.addons.createFragment(...): Encountered an invalid child; DOM elements are not valid children of React components.");var t=[];for(var n in e)O(e[n],t,n,i.thatReturnsArgument);return t}},function(e,t,n){"use strict";var r=function(e){};e.exports=function(e,t,n,o,i,a,u,s){if(r(t),!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,o,i,a,u,s],p=0;(l=new Error(t.replace(/%s/g,function(){return c[p++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(40);e.exports=r},function(e,t,n){"use strict";function r(e){return e.match(/^\{\{\//)?{type:"componentClose",value:e.replace(/\W/g,"")}:e.match(/\/\}\}$/)?{type:"componentSelfClosing",value:e.replace(/\W/g,"")}:e.match(/^\{\{/)?{type:"componentOpen",value:e.replace(/\W/g,"")}:{type:"string",value:e}}e.exports=function(e){return e.split(/(\{\{\/?\s*\w+\s*\/?\}\})/g).map(r)}},,,,function(e,t,n){e.exports={default:n(416),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(419));t.default=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),(0,r.default)(e,o.key,o)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}()},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(333));t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==(void 0===t?"undefined":(0,r.default)(t))&&"function"!=typeof t?e:t}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(442)),o=a(n(446)),i=a(n(333));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+(void 0===t?"undefined":(0,i.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(r.default?(0,r.default)(e,t):e.__proto__=t)}},function(e,t){e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},,,function(e,t,n){e.exports=n(287)()},,,,,,,,,function(e,t,n){var r=n(104),o=n(58),i=n(269),a=n(153),u=n(132),s=function(e,t,n){var l,c,p,f=e&s.F,d=e&s.G,h=e&s.S,m=e&s.P,v=e&s.B,y=e&s.W,g=d?o:o[t]||(o[t]={}),b=g.prototype,E=d?r:h?r[t]:(r[t]||{}).prototype;for(l in d&&(n=t),n)(c=!f&&E&&void 0!==E[l])&&u(g,l)||(p=c?E[l]:n[l],g[l]=d&&"function"!=typeof E[l]?n[l]:v&&c?i(p,r):y&&E[l]==p?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(p):m&&"function"==typeof p?i(Function.call,p):p,m&&((g.virtual||(g.virtual={}))[l]=p,e&s.R&&b&&!b[l]&&a(b,l,p)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(154),o=n(327),i=n(270),a=Object.defineProperty;t.f=n(131)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(409));t.default=r.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}},function(e,t,n){e.exports=!n(156)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}},,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(2),a=s(i),u=s(n(289));function s(e){return e&&e.__esModule?e:{default:e}}var l={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},c=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],p=function(e,t){t.style.fontSize=e.fontSize,t.style.fontFamily=e.fontFamily,t.style.fontWeight=e.fontWeight,t.style.fontStyle=e.fontStyle,t.style.letterSpacing=e.letterSpacing,t.style.textTransform=e.textTransform},f=!("undefined"==typeof window||!window.navigator)&&/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent),d=function(){return f?"_"+Math.random().toString(36).substr(2,12):void 0},h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.inputRef=function(e){n.input=e,"function"==typeof n.props.inputRef&&n.props.inputRef(e)},n.placeHolderSizerRef=function(e){n.placeHolderSizer=e},n.sizerRef=function(e){n.sizer=e},n.state={inputWidth:e.minWidth,inputId:e.id||d()},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.id;t!==this.props.id&&this.setState({inputId:t||d()})}},{key:"componentDidUpdate",value:function(e,t){t.inputWidth!==this.state.inputWidth&&"function"==typeof this.props.onAutosize&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(this.mounted&&window.getComputedStyle){var e=this.input&&window.getComputedStyle(this.input);e&&(p(e,this.sizer),this.placeHolderSizer&&p(e,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(this.mounted&&this.sizer&&void 0!==this.sizer.scrollWidth){var e=void 0;e=this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:this.sizer.scrollWidth+2,(e+="number"===this.props.type&&void 0===this.props.extraWidth?16:parseInt(this.props.extraWidth)||0)<this.props.minWidth&&(e=this.props.minWidth),e!==this.state.inputWidth&&this.setState({inputWidth:e})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var e=this.props.injectStyles;return f&&e?a.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var e=[this.props.defaultValue,this.props.value,""].reduce(function(e,t){return null!==e&&void 0!==e?e:t}),t=r({},this.props.style);t.display||(t.display="inline-block");var n=r({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),o=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(this.props,[]);return function(e){c.forEach(function(t){return delete e[t]})}(o),o.className=this.props.inputClassName,o.id=this.state.inputId,o.style=n,a.default.createElement("div",{className:this.props.className,style:t},this.renderStyles(),a.default.createElement("input",r({},o,{ref:this.inputRef})),a.default.createElement("div",{ref:this.sizerRef,style:l},e),this.props.placeholder?a.default.createElement("div",{ref:this.placeHolderSizerRef,style:l},this.props.placeholder):null)}}]),t}();h.propTypes={className:u.default.string,defaultValue:u.default.any,extraWidth:u.default.oneOfType([u.default.number,u.default.string]),id:u.default.string,injectStyles:u.default.bool,inputClassName:u.default.string,inputRef:u.default.func,inputStyle:u.default.object,minWidth:u.default.oneOfType([u.default.number,u.default.string]),onAutosize:u.default.func,onChange:u.default.func,placeholder:u.default.string,placeholderIsMinWidth:u.default.bool,style:u.default.object,value:u.default.any},h.defaultProps={minWidth:1,injectStyles:!0},t.default=h},,,,,,,,,,,function(e,t,n){var r=n(105),o=n(182);e.exports=n(131)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(155);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(330),o=n(272);e.exports=function(e){return r(o(e))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={easeOutFunction:"cubic-bezier(0.23, 1, 0.32, 1)",easeInOutFunction:"cubic-bezier(0.445, 0.05, 0.55, 0.95)",easeOut:function(e,t,n,r){if(r=r||this.easeOutFunction,t&&"[object Array]"===Object.prototype.toString.call(t)){for(var o="",i=0;i<t.length;i++)o&&(o+=","),o+=this.create(e,t[i],n,r);return o}return this.create(e,t,n,r)},create:function(e,t,n,r){return e=e||"450ms",t=t||"all",n=n||"0ms",t+" "+e+" "+(r=r||"linear")+" "+n}}},,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}},,,,,function(e,t,n){var r=n(329),o=n(276);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){e.exports=!0},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var r=n(272);e.exports=function(e){return Object(r(e))}},,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(408));t.default=r.default},function(e,t,n){var r=n(412);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(155);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(275)("keys"),o=n(247);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t,n){var r=n(58),o=n(104),i=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:n(246)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(154),o=n(426),i=n(276),a=n(274)("IE_PROTO"),u=function(){},s=function(){var e,t=n(328)("iframe"),r=i.length;for(t.style.display="none",n(427).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),s=e.F;r--;)delete s.prototype[i[r]];return s()};e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[a]=e):n=s(),void 0===t?n:o(n,t)}},function(e,t,n){var r=n(105).f,o=n(132),i=n(64)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){t.f=n(64)},function(e,t,n){var r=n(104),o=n(58),i=n(246),a=n(280),u=n(105).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=i?{}:r.Symbol||{});"_"==e.charAt(0)||e in t||u(t,e,{value:a.f(e)})}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(454));t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={set:function(e,t,n){e[t]=n}}},function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(476)),o=i(n(282));i(n(342)),i(n(343));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return(0,r.default)(function(e,t){return!(0,o.default)(e,t)})(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(479));t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WordPressUserSelectorPropTypes=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(e,t){return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"],["\n\t.yoast-person-selector-container {\n\t\tmax-width: 400px;\n\t\tmin-width: 250px;\n\t\tmargin: 7px 0;\n\n\t\t.yoast-person-selector {\n\t\t\t&__control {\n\t\t\t\tborder-radius: 0;\n\t\t\t\tbox-shadow: inset 0 1px 2px rgba(0,0,0,.07);\n\t\t\t\tmin-height: 28px;\n\t\t\t}\n\n\t\t\t&__input input {\n\t\t\t\tbox-shadow: none;\n\t\t\t\tmargin: 0;\n\t\t\t\tmin-height: 0;\n\t\t\t\tline-height: 1.4;\n\n\t\t\t\t&:focus {\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&__menu {\n\t\t\t\tmargin: 0;\n\t\t\t\tborder-radius: 0;\n\t\t\t}\n\n\t\t\t&__menu-list {\n\t\t\t\tpadding: 0;\n\t\t\t}\n\n\t\t\t&__option--is-selected {\n\t\t\t\tbackground-color: #0085ba;\n\t\t\t}\n\n\t\t\t&__indicators {\n\t\t\t\tpadding: 0 10px;\n\t\t\t}\n\t\t}\n\t}\n"]),a=h(n(320)),u=n(4),s=h(n(1)),l=n(0),c=n(8),p=n(3),f=n(5),d=n(6);function h(e){return e&&e.__esModule?e:{default:e}}var m=(0,c.createGlobalStyle)(i),v={"X-WP-NONCE":wpApiSettings.nonce},y=wpApiSettings.root,g=function(){return wp.element.createElement(f.SvgIcon,{icon:"arrow-down",color:"#72777c",size:"10px"})},b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={selectedOption:null,loading:!!n.props.value},n.fetchUsers=(0,l.debounce)(n.fetchUsers,500).bind(n),n.fetchUser=n.fetchUser.bind(n),n.mapUserToSelectOption=n.mapUserToSelectOption.bind(n),n.onChange=n.onChange.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,u.Component),o(t,[{key:"render",value:function(){return wp.element.createElement(u.Fragment,null,wp.element.createElement(m,null),wp.element.createElement(a.default,{placeholder:(0,p.__)("Select a user...","wordpress-seo"),isDisabled:this.state.loading,inputId:this.props.name,className:"yoast-person-selector-container",classNamePrefix:"yoast-person-selector",value:this.state.selectedOption,onChange:this.onChange,defaultOptions:!0,loadOptions:this.fetchUsers,components:{IndicatorSeparator:null,DropdownIndicator:g}}))}},{key:"componentDidMount",value:function(){this.props.value&&this.fetchUser(this.props.value)}},{key:"onChange",value:function(e){var t=this;this.setState({selectedOption:e,loading:!1},function(){t.props.onChange(e.value,e.label)})}},{key:"mapUserToSelectOption",value:function(e){return{value:e.id,label:e.name}}},{key:"fetchUser",value:function(e){var t=this;(0,d.sendRequest)(y+"wp/v2/users/"+e,{method:"GET",headers:v}).then(function(e){e?t.onChange(t.mapUserToSelectOption(e)):t.setState({loading:!1})}).catch(function(){t.setState({loading:!1})})}},{key:"fetchUsers",value:function(e,n){var r=this,o={per_page:10,search:e},i=t.addQueryParams(y+"wp/v2/users",o);(0,d.sendRequest)(i,{method:"GET",headers:v}).then(function(e){var t=e.map(r.mapUserToSelectOption);n(t)})}}],[{key:"addQueryParams",value:function(e,t){var n=e.split("?");e=n[0];var o=r({},t);return 2===n.length&&n[1].split("&").forEach(function(e){var t=e.split("=");o[t[0]]=t[1]}),e+"?"+Object.keys(o).filter(function(e){return!!o[e]}).map(function(e){return e+"="+encodeURIComponent(o[e])}).join("&")}}]),t}(),E=t.WordPressUserSelectorPropTypes={name:s.default.string.isRequired,value:s.default.number.isRequired,onChange:s.default.func.isRequired};b.propTypes=E,t.default=b},function(e,t,n){"use strict";var r=n(288);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){e.exports=n(290)()},function(e,t,n){"use strict";var r=n(291);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),o=u(n(20)),i=u(n(1)),a=n(5);function u(e){return e&&e.__esModule?e:{default:e}}var s=(0,n(6).makeOutboundLink)(),l=function(e){return wp.element.createElement(a.Alert,{type:e.type},[(0,o.default)({mixedString:(0,r.sprintf)(e.message,"{{link}}","{{/link}}"),components:{link:wp.element.createElement(s,{href:e.link})}})])};l.propTypes={type:i.default.oneOf(["error","info","success","warning"]),message:i.default.string.isRequired,link:i.default.string.isRequired},l.defaultProps={type:"warning"},t.default=l},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.r(t);var r=n(2),o=n.n(r),i=n(240),a=n.n(i);var u=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(e){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}();var s=function(e){function t(e,t,r){var o=t.trim().split(h);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var u=0;for(e=0===a?"":e[0]+" ";u<i;++u)t[u]=n(e,t[u],r).trim();break;default:var s=u=0;for(t=[];u<i;++u)for(var l=0;l<a;++l)t[s++]=n(e[l]+" ",o[u],r).trim()}return t}function n(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(m,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function r(e,t,n,i){var a=e+";",u=2*t+3*n+4*i;if(944===u){e=a.indexOf(":",9)+1;var s=a.substring(e,a.length-1).trim();return s=a.substring(0,e).trim()+s+";",1===M||2===M&&o(s,1)?"-webkit-"+s+s:s}if(0===M||2===M&&!o(a,1))return a;switch(u){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(S,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(s=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+s+a;case 1005:return f.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(s=a.substring(13).trim()).indexOf("-")+1,s.charCodeAt(0)+s.charCodeAt(t)){case 226:s=a.replace(b,"tb");break;case 232:s=a.replace(b,"tb-rl");break;case 220:s=a.replace(b,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+s+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,u=(s=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|s.charCodeAt(7))){case 203:if(111>s.charCodeAt(8))break;case 115:a=a.replace(s,"-webkit-"+s)+";"+a;break;case 207:case 102:a=a.replace(s,"-webkit-"+(102<u?"inline-":"")+"box")+";"+a.replace(s,"-webkit-"+s)+";"+a.replace(s,"-ms-"+s+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return"-webkit-"+a+"-webkit-box-"+(s=a.replace("-items",""))+"-ms-flex-"+s+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(w,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(w,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===_.test(e))return 115===(s=e.substring(e.indexOf(":")+1)).charCodeAt(0)?r(e.replace("stretch","fill-available"),t,n,i).replace(":fill-available",":stretch"):a.replace(s,"-webkit-"+s)+a.replace(s,"-moz-"+s.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+i&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(d,"$1-webkit-$2")+a}return a}function o(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?r:r.replace(C,"$1"),n,t)}function i(e,t){var n=r(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(O," or ($1)").substring(4):"("+t+")"}function a(e,t,n,r,o,i,a,u,l,c){for(var p,f=0,d=t;f<P;++f)switch(p=T[f].call(s,e,d,n,r,o,i,a,u,l,c)){case void 0:case!1:case!0:case null:break;default:d=p}if(d!==t)return d}function u(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!=typeof e?M=1:(M=2,D=e):M=0),u}function s(e,n){var u=e;if(33>u.charCodeAt(0)&&(u=u.trim()),u=[u],0<P){var s=a(-1,n,u,u,k,x,0,0,0,0);void 0!==s&&"string"==typeof s&&(n=s)}var p=function e(n,u,s,p,f){for(var d,h,m,b,O,w=0,C=0,_=0,S=0,T=0,D=0,R=m=d=0,L=0,I=0,V=0,N=0,B=s.length,z=B-1,U="",W="",H="",K="";L<B;){if(h=s.charCodeAt(L),L===z&&0!==C+S+_+w&&(0!==C&&(h=47===C?10:47),S=_=w=0,B++,z++),0===C+S+_+w){if(L===z&&(0<I&&(U=U.replace(c,"")),0<U.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:U+=s.charAt(L)}h=59}switch(h){case 123:for(d=(U=U.trim()).charCodeAt(0),m=1,N=++L;L<B;){switch(h=s.charCodeAt(L)){case 123:m++;break;case 125:m--;break;case 47:switch(h=s.charCodeAt(L+1)){case 42:case 47:e:{for(R=L+1;R<z;++R)switch(s.charCodeAt(R)){case 47:if(42===h&&42===s.charCodeAt(R-1)&&L+2!==R){L=R+1;break e}break;case 10:if(47===h){L=R+1;break e}}L=R}}break;case 91:h++;case 40:h++;case 34:case 39:for(;L++<z&&s.charCodeAt(L)!==h;);}if(0===m)break;L++}switch(m=s.substring(N,L),0===d&&(d=(U=U.replace(l,"").trim()).charCodeAt(0)),d){case 64:switch(0<I&&(U=U.replace(c,"")),h=U.charCodeAt(1)){case 100:case 109:case 115:case 45:I=u;break;default:I=F}if(N=(m=e(u,I,m,h,f+1)).length,0<P&&(O=a(3,m,I=t(F,U,V),u,k,x,N,h,f,p),U=I.join(""),void 0!==O&&0===(N=(m=O.trim()).length)&&(h=0,m="")),0<N)switch(h){case 115:U=U.replace(E,i);case 100:case 109:case 45:m=U+"{"+m+"}";break;case 107:m=(U=U.replace(v,"$1 $2"))+"{"+m+"}",m=1===M||2===M&&o("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=U+m,112===p&&(W+=m,m="")}else m="";break;default:m=e(u,t(u,U,V),m,p,f+1)}H+=m,m=V=I=R=d=0,U="",h=s.charCodeAt(++L);break;case 125:case 59:if(1<(N=(U=(0<I?U.replace(c,""):U).trim()).length))switch(0===R&&(d=U.charCodeAt(0),45===d||96<d&&123>d)&&(N=(U=U.replace(" ",":")).length),0<P&&void 0!==(O=a(1,U,u,n,k,x,W.length,p,f,p))&&0===(N=(U=O.trim()).length)&&(U="\0\0"),d=U.charCodeAt(0),h=U.charCodeAt(1),d){case 0:break;case 64:if(105===h||99===h){K+=U+s.charAt(L);break}default:58!==U.charCodeAt(N-1)&&(W+=r(U,d,h,U.charCodeAt(2)))}V=I=R=d=0,U="",h=s.charCodeAt(++L)}}switch(h){case 13:case 10:47===C?C=0:0===1+d&&107!==p&&0<U.length&&(I=1,U+="\0"),0<P*j&&a(0,U,u,n,k,x,W.length,p,f,p),x=1,k++;break;case 59:case 125:if(0===C+S+_+w){x++;break}default:switch(x++,b=s.charAt(L),h){case 9:case 32:if(0===S+w+C)switch(T){case 44:case 58:case 9:case 32:b="";break;default:32!==h&&(b=" ")}break;case 0:b="\\0";break;case 12:b="\\f";break;case 11:b="\\v";break;case 38:0===S+C+w&&(I=V=1,b="\f"+b);break;case 108:if(0===S+C+w+A&&0<R)switch(L-R){case 2:112===T&&58===s.charCodeAt(L-3)&&(A=T);case 8:111===D&&(A=D)}break;case 58:0===S+C+w&&(R=L);break;case 44:0===C+_+S+w&&(I=1,b+="\r");break;case 34:case 39:0===C&&(S=S===h?0:0===S?h:S);break;case 91:0===S+C+_&&w++;break;case 93:0===S+C+_&&w--;break;case 41:0===S+C+w&&_--;break;case 40:if(0===S+C+w){if(0===d)switch(2*T+3*D){case 533:break;default:d=1}_++}break;case 64:0===C+_+S+w+R+m&&(m=1);break;case 42:case 47:if(!(0<S+w+_))switch(C){case 0:switch(2*h+3*s.charCodeAt(L+1)){case 235:C=47;break;case 220:N=L,C=42}break;case 42:47===h&&42===T&&N+2!==L&&(33===s.charCodeAt(N+2)&&(W+=s.substring(N,L+1)),b="",C=0)}}0===C&&(U+=b)}D=T,T=h,L++}if(0<(N=W.length)){if(I=u,0<P&&void 0!==(O=a(2,W,I,n,k,x,N,p,f,p))&&0===(W=O).length)return K+W+H;if(W=I.join(",")+"{"+W+"}",0!=M*A){switch(2!==M||o(W,2)||(A=0),A){case 111:W=W.replace(g,":-moz-$1")+W;break;case 112:W=W.replace(y,"::-webkit-input-$1")+W.replace(y,"::-moz-$1")+W.replace(y,":-ms-input-$1")+W}A=0}}return K+W+H}(F,u,n,0,0);return 0<P&&void 0!==(s=a(-2,p,u,u,k,x,p.length,0,0,0))&&(p=s),A=0,x=k=1,p}var l=/^\0+/g,c=/[\0\r\f]/g,p=/: */g,f=/zoo|gra/,d=/([,: ])(transform)/g,h=/,\r+?/g,m=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,g=/:(read-only)/g,b=/[svh]\w+-[tblr]{2}/,E=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,w=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,_=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,x=1,k=1,A=0,M=1,F=[],T=[],P=0,D=null,j=0;return s.use=function e(t){switch(t){case void 0:case null:P=T.length=0;break;default:if("function"==typeof t)T[P++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},s.set=u,void 0!==e&&u(e),s};function l(e){e&&c.current.insert(e+"}")}var c={current:null},p=function(e,t,n,r,o,i,a,u,s,p){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return c.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===u)return t+"/*|*/";break;case 3:switch(u){case 102:case 112:return c.current.insert(n[0]+t),"";default:return t+(0===p?"/*|*/":"")}case-2:t.split("/*|*/}").forEach(l)}},f=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r=new s(t);var o,i={};o=e.container||document.head;var a,l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach(function(e){i[e]=!0}),e.parentNode!==o&&o.appendChild(e)}),r.use(e.stylisPlugins)(p),a=function(e,t,n,o){var i=t.name;c.current=n,r(e,t.styles),o&&(f.inserted[i]=!0)};var f={key:n,sheet:new u({key:n,container:o,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:i,registered:{},insert:a};return f};function d(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "}),r}var h=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}};var m=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},v={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};var y=/[A-Z]|^ms/g,g=/_EMO_([^_]+?)_([^]*?)_EMO_/g,b=function(e){return 45===e.charCodeAt(1)},E=function(e){return null!=e&&"boolean"!=typeof e},O=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return b(e)?e:e.replace(y,"-$&").toLowerCase()}),w=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(g,function(e,t,n){return _={name:t,styles:n,next:_},t})}return 1===v[e]||b(e)||"number"!=typeof t||0===t?t:t+"px"};function C(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return _={name:n.name,styles:n.styles,next:_},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)_={name:o.name,styles:o.styles,next:_},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=C(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":E(a)&&(r+=O(i)+":"+w(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var u=C(e,t,a,!1);switch(i){case"animation":case"animationName":r+=O(i)+":"+u+";";break;default:r+=i+"{"+u+"}"}}else for(var s=0;s<a.length;s++)E(a[s])&&(r+=O(i)+":"+w(i,a[s])+";")}return r}(e,t,n);case"function":if(void 0!==e){var i=_,a=n(e);return _=i,C(e,t,a,r)}break;case"string":}if(null==t)return n;var u=t[n];return void 0===u||r?n:u}var _,S=/label:\s*([^\s;\n{]+)\s*;/g;var x=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";_=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=C(n,t,i,!1)):o+=i[0];for(var a=1;a<e.length;a++)o+=C(n,t,e[a],46===o.charCodeAt(o.length-1)),r&&(o+=i[a]);S.lastIndex=0;for(var u,s="";null!==(u=S.exec(o));)s+="-"+u[1];return{name:m(o)+s,styles:o,next:_}};var k=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return x(t)},A=Object(r.createContext)("undefined"!=typeof HTMLElement?f():null),M=Object(r.createContext)({}),F=(A.Provider,function(e){return Object(r.forwardRef)(function(t,n){return Object(r.createElement)(A.Consumer,null,function(r){return e(t,r,n)})})}),T="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",P=Object.prototype.hasOwnProperty,D=function(e,t,n,o){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[T],u=[i],s="";"string"==typeof t.className?s=d(e.registered,u,t.className):null!=t.className&&(s=t.className+" ");var l=x(u);h(e,l,"string"==typeof a);s+=e.key+"-"+l.name;var c={};for(var p in t)P.call(t,p)&&"css"!==p&&p!==T&&(c[p]=t[p]);return c.ref=o,c.className=s,Object(r.createElement)(a,c)},j=F(function(e,t,n){return"function"==typeof e.css?Object(r.createElement)(M.Consumer,null,function(r){return D(t,e,r,n)}):D(t,e,null,n)});var R=function(e,t){var n=arguments;if(null==t||!P.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=j;var a={};for(var u in t)P.call(t,u)&&(a[u]=t[u]);a[T]=e,i[1]=a;for(var s=2;s<o;s++)i[s]=n[s];return r.createElement.apply(null,i)};r.Component;var L=F(function(e,t){return Object(r.createElement)(M.Consumer,null,function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=x(n,t.registered);return h(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return function(e,t,n){var r=[],o=d(e,r,n);return r.length<2?n:o+t(r)}(t.registered,r,function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var u in a="",i)i[u]&&u&&(a&&(a+=" "),a+=u);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o}(n))},theme:n},i=e.children(o);return!0,i})}),I=n(21),V=n(94),N=n.n(V),B=function(){};function z(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}var U=function(e){return Array.isArray(e)?e.filter(Boolean):"object"==typeof e&&null!==e?[e]:[]};function W(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function H(e){return W(e)?window.pageYOffset:e.scrollTop}function K(e,t){W(e)?window.scrollTo(0,t):e.scrollTop=t}function q(e,t,n,r){void 0===n&&(n=200),void 0===r&&(r=B);var o=H(e),i=t-o,a=10,u=0;!function t(){var s=function(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}(u+=a,o,i,n);K(e,s),u<n?window.requestAnimationFrame(t):r(e)}()}function G(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var Y=n(43),$=n(142),X=n.n($);function Z(){return(Z=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 J(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Q(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,u=e.theme.spacing,s=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/,o=document.documentElement;if("fixed"===t.position)return o;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return o}(n),l={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return l;var c=s.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,d=p.height,h=p.top,m=n.offsetParent.getBoundingClientRect().top,v=window.innerHeight,y=H(s),g=parseInt(getComputedStyle(n).marginBottom,10),b=parseInt(getComputedStyle(n).marginTop,10),E=m-b,O=v-h,w=E+y,C=c-y-h,_=f-v+y+g,S=y+h-b;switch(o){case"auto":case"bottom":if(O>=d)return{placement:"bottom",maxHeight:t};if(C>=d&&!a)return i&&q(s,_,160),{placement:"bottom",maxHeight:t};if(!a&&C>=r||a&&O>=r)return i&&q(s,_,160),{placement:"bottom",maxHeight:a?O-g:C-g};if("auto"===o||a){var x=t,k=a?E:w;return k>=r&&(x=Math.min(k-g-u.controlHeight,t)),{placement:"top",maxHeight:x}}if("bottom"===o)return K(s,_),{placement:"bottom",maxHeight:t};break;case"top":if(E>=d)return{placement:"top",maxHeight:t};if(w>=d&&!a)return i&&q(s,S,160),{placement:"top",maxHeight:t};if(!a&&w>=r||a&&E>=r){var A=t;return(!a&&w>=r||a&&E>=r)&&(A=a?E-b:w-b),i&&q(s,S,160),{placement:"top",maxHeight:A}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'+o+'".')}return l}var ee=function(e){return"auto"===e?"bottom":e},te=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={maxHeight:t.props.maxMenuHeight,placement:null},t.getPlacement=function(e){var n=t.props,r=n.minMenuHeight,o=n.maxMenuHeight,i=n.menuPlacement,a=n.menuPosition,u=n.menuShouldScrollIntoView,s=n.theme,l=t.context.getPortalPlacement;if(e){var c="fixed"===a,p=Q({maxHeight:o,menuEl:e,minHeight:r,placement:i,shouldScroll:u&&!c,isFixedPosition:c,theme:s});l&&l(p),t.setState(p)}},t.getUpdatedProps=function(){var e=t.props.menuPlacement,n=t.state.placement||ee(e);return Z({},t.props,{placement:n,maxHeight:t.state.maxHeight})},t}return J(t,e),t.prototype.render=function(){return(0,this.props.children)({ref:this.getPlacement,placerProps:this.getUpdatedProps()})},t}(r.Component);te.contextTypes={getPortalPlacement:N.a.func};var ne=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:2*n+"px "+3*n+"px",textAlign:"center"}},re=ne,oe=ne,ie=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",Z({css:o("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},i),t)};ie.defaultProps={children:"No options"};var ae=function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",Z({css:o("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},i),t)};ae.defaultProps={children:"Loading..."};var ue=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={placement:null},t.getPortalPlacement=function(e){var n=e.placement;n!==ee(t.props.menuPlacement)&&t.setState({placement:n})},t}J(t,e);var n=t.prototype;return n.getChildContext=function(){return{getPortalPlacement:this.getPortalPlacement}},n.render=function(){var e=this.props,t=e.appendTo,n=e.children,r=e.controlElement,o=e.menuPlacement,i=e.menuPosition,a=e.getStyles,u="fixed"===i;if(!t&&!u||!r)return null;var s=this.state.placement||ee(o),l=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),c=u?0:window.pageYOffset,p=l[s]+c,f=R("div",{css:a("menuPortal",{offset:p,position:i,rect:l})},n);return t?Object(I.createPortal)(f,t):f},t}(r.Component);ue.childContextTypes={getPortalPlacement:N.a.func};var se=Array.isArray,le=Object.keys,ce=Object.prototype.hasOwnProperty;function pe(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,o,i,a=se(t),u=se(n);if(a&&u){if((o=t.length)!=n.length)return!1;for(r=o;0!=r--;)if(!e(t[r],n[r]))return!1;return!0}if(a!=u)return!1;var s=t instanceof Date,l=n instanceof Date;if(s!=l)return!1;if(s&&l)return t.getTime()==n.getTime();var c=t instanceof RegExp,p=n instanceof RegExp;if(c!=p)return!1;if(c&&p)return t.toString()==n.toString();var f=le(t);if((o=f.length)!==le(n).length)return!1;for(r=o;0!=r--;)if(!ce.call(n,f[r]))return!1;for(r=o;0!=r--;)if(!("_owner"===(i=f[r])&&t.$$typeof||e(t[i],n[i])))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if(e.message&&e.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}function fe(){return(fe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function de(){var e=function(e,t){t||(t=e.slice(0));return e.raw=t,e}(["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"]);return de=function(){return e},e}function he(){return(he=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)}var me={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},ve=function(e){var t=e.size,n=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["size"]);return R("svg",he({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:me},n))},ye=function(e){return R(ve,he({size:20},e),R("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},ge=function(e){return R(ve,he({size:20},e),R("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},be=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},Ee=be,Oe=be,we=function(){var e=k.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(de()),Ce=function(e){var t=e.delay,n=e.offset;return R("span",{css:k({animation:we+" 1s ease-in-out "+t+"ms infinite;",backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},_e=function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps,i=e.isRtl;return R("div",he({},o,{css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)}),R(Ce,{delay:0,offset:i}),R(Ce,{delay:160,offset:!0}),R(Ce,{delay:320,offset:!i}))};function Se(){return(Se=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)}_e.defaultProps={size:4};function xe(){return(xe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ke(){return(ke=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ae(){return(Ae=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)}var Me=function(e){var t=e.children,n=e.innerProps;return R("div",n,t)},Fe=Me,Te=Me;var Pe=function(e){var t=e.children,n=e.className,r=e.components,o=e.cx,i=e.data,a=e.getStyles,u=e.innerProps,s=e.isDisabled,l=e.removeProps,c=e.selectProps,p=r.Container,f=r.Label,d=r.Remove;return R(L,null,function(r){var h=r.css,m=r.cx;return R(p,{data:i,innerProps:Ae({},u,{className:m(h(a("multiValue",e)),o({"multi-value":!0,"multi-value--is-disabled":s},n))}),selectProps:c},R(f,{data:i,innerProps:{className:m(h(a("multiValueLabel",e)),o({"multi-value__label":!0},n))},selectProps:c},t),R(d,{data:i,innerProps:Ae({className:m(h(a("multiValueRemove",e)),o({"multi-value__remove":!0},n))},l),selectProps:c}))})};function De(){return(De=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)}Pe.defaultProps={cropWithEllipsis:!0};function je(){return(je=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Re(){return(Re=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 Le(){return(Le=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)}var Ie={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",he({},i,{css:o("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)}),t||R(ye,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,o=e.className,i=e.isDisabled,a=e.isFocused,u=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return R("div",Se({ref:u,css:r("control",e),className:n({control:!0,"control--is-disabled":i,"control--is-focused":a,"control--menu-is-open":l},o)},s),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",he({},i,{css:o("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)}),t||R(ge,null))},DownChevron:ge,CrossIcon:ye,Group:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.Heading,a=e.headingProps,u=e.label,s=e.theme,l=e.selectProps;return R("div",{css:o("group",e),className:r({group:!0},n)},R(i,xe({},a,{selectProps:l,theme:s,getStyles:o,cx:r}),u),R("div",null,t))},GroupHeading:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.theme,i=(e.selectProps,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","cx","getStyles","theme","selectProps"]));return R("div",xe({css:r("groupHeading",xe({theme:o},i)),className:n({"group-heading":!0},t)},i))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles;return R("div",{css:o("indicatorsContainer",e),className:r({indicators:!0},n)},t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerProps;return R("span",he({},o,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,o=e.innerRef,i=e.isHidden,a=e.isDisabled,u=e.theme,s=(e.selectProps,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]));return R("div",{css:r("input",ke({theme:u},s))},R(X.a,ke({className:n({input:!0},t),inputRef:o,inputStyle:function(e){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:e?0:1,outline:0,padding:0,color:"inherit"}}(i),disabled:a},s)))},LoadingIndicator:_e,Menu:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerRef,a=e.innerProps;return R("div",Z({css:o("menu",e),className:r({menu:!0},n)},a,{ref:i}),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isMulti,a=e.innerRef;return R("div",{css:o("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":i},n),ref:a},t)},MenuPortal:ue,LoadingMessage:ae,NoOptionsMessage:ie,MultiValue:Pe,MultiValueContainer:Fe,MultiValueLabel:Te,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return R("div",n,t||R(ye,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.isFocused,u=e.isSelected,s=e.innerRef,l=e.innerProps;return R("div",De({css:o("option",e),className:r({option:!0,"option--is-disabled":i,"option--is-focused":a,"option--is-selected":u},n),ref:s},l),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps;return R("div",je({css:o("placeholder",e),className:r({placeholder:!0},n)},i),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.innerProps,a=e.isDisabled,u=e.isRtl;return R("div",fe({css:o("container",e),className:r({"--is-disabled":a,"--is-rtl":u},n)},i),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,o=e.getStyles,i=e.isDisabled,a=e.innerProps;return R("div",Re({css:o("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":i},n)},a),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,o=e.isMulti,i=e.getStyles,a=e.hasValue;return R("div",{css:i("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":a},n)},t)}},Ve=function(e){return Le({},Ie,e.components)},Ne=[{base:"A",letters:/[\u0041\u24B6\uFF21\u00C0\u00C1\u00C2\u1EA6\u1EA4\u1EAA\u1EA8\u00C3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\u00C4\u01DE\u1EA2\u00C5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F]/g},{base:"AA",letters:/[\uA732]/g},{base:"AE",letters:/[\u00C6\u01FC\u01E2]/g},{base:"AO",letters:/[\uA734]/g},{base:"AU",letters:/[\uA736]/g},{base:"AV",letters:/[\uA738\uA73A]/g},{base:"AY",letters:/[\uA73C]/g},{base:"B",letters:/[\u0042\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181]/g},{base:"C",letters:/[\u0043\u24B8\uFF23\u0106\u0108\u010A\u010C\u00C7\u1E08\u0187\u023B\uA73E]/g},{base:"D",letters:/[\u0044\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779]/g},{base:"DZ",letters:/[\u01F1\u01C4]/g},{base:"Dz",letters:/[\u01F2\u01C5]/g},{base:"E",letters:/[\u0045\u24BA\uFF25\u00C8\u00C9\u00CA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\u00CB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E]/g},{base:"F",letters:/[\u0046\u24BB\uFF26\u1E1E\u0191\uA77B]/g},{base:"G",letters:/[\u0047\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E]/g},{base:"H",letters:/[\u0048\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D]/g},{base:"I",letters:/[\u0049\u24BE\uFF29\u00CC\u00CD\u00CE\u0128\u012A\u012C\u0130\u00CF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197]/g},{base:"J",letters:/[\u004A\u24BF\uFF2A\u0134\u0248]/g},{base:"K",letters:/[\u004B\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2]/g},{base:"L",letters:/[\u004C\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780]/g},{base:"LJ",letters:/[\u01C7]/g},{base:"Lj",letters:/[\u01C8]/g},{base:"M",letters:/[\u004D\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C]/g},{base:"N",letters:/[\u004E\u24C3\uFF2E\u01F8\u0143\u00D1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4]/g},{base:"NJ",letters:/[\u01CA]/g},{base:"Nj",letters:/[\u01CB]/g},{base:"O",letters:/[\u004F\u24C4\uFF2F\u00D2\u00D3\u00D4\u1ED2\u1ED0\u1ED6\u1ED4\u00D5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\u00D6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\u00D8\u01FE\u0186\u019F\uA74A\uA74C]/g},{base:"OI",letters:/[\u01A2]/g},{base:"OO",letters:/[\uA74E]/g},{base:"OU",letters:/[\u0222]/g},{base:"P",letters:/[\u0050\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754]/g},{base:"Q",letters:/[\u0051\u24C6\uFF31\uA756\uA758\u024A]/g},{base:"R",letters:/[\u0052\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782]/g},{base:"S",letters:/[\u0053\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784]/g},{base:"T",letters:/[\u0054\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786]/g},{base:"TZ",letters:/[\uA728]/g},{base:"U",letters:/[\u0055\u24CA\uFF35\u00D9\u00DA\u00DB\u0168\u1E78\u016A\u1E7A\u016C\u00DC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244]/g},{base:"V",letters:/[\u0056\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245]/g},{base:"VY",letters:/[\uA760]/g},{base:"W",letters:/[\u0057\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72]/g},{base:"X",letters:/[\u0058\u24CD\uFF38\u1E8A\u1E8C]/g},{base:"Y",letters:/[\u0059\u24CE\uFF39\u1EF2\u00DD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE]/g},{base:"Z",letters:/[\u005A\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762]/g},{base:"a",letters:/[\u0061\u24D0\uFF41\u1E9A\u00E0\u00E1\u00E2\u1EA7\u1EA5\u1EAB\u1EA9\u00E3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\u00E4\u01DF\u1EA3\u00E5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250]/g},{base:"aa",letters:/[\uA733]/g},{base:"ae",letters:/[\u00E6\u01FD\u01E3]/g},{base:"ao",letters:/[\uA735]/g},{base:"au",letters:/[\uA737]/g},{base:"av",letters:/[\uA739\uA73B]/g},{base:"ay",letters:/[\uA73D]/g},{base:"b",letters:/[\u0062\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253]/g},{base:"c",letters:/[\u0063\u24D2\uFF43\u0107\u0109\u010B\u010D\u00E7\u1E09\u0188\u023C\uA73F\u2184]/g},{base:"d",letters:/[\u0064\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A]/g},{base:"dz",letters:/[\u01F3\u01C6]/g},{base:"e",letters:/[\u0065\u24D4\uFF45\u00E8\u00E9\u00EA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\u00EB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD]/g},{base:"f",letters:/[\u0066\u24D5\uFF46\u1E1F\u0192\uA77C]/g},{base:"g",letters:/[\u0067\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F]/g},{base:"h",letters:/[\u0068\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265]/g},{base:"hv",letters:/[\u0195]/g},{base:"i",letters:/[\u0069\u24D8\uFF49\u00EC\u00ED\u00EE\u0129\u012B\u012D\u00EF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131]/g},{base:"j",letters:/[\u006A\u24D9\uFF4A\u0135\u01F0\u0249]/g},{base:"k",letters:/[\u006B\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3]/g},{base:"l",letters:/[\u006C\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747]/g},{base:"lj",letters:/[\u01C9]/g},{base:"m",letters:/[\u006D\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F]/g},{base:"n",letters:/[\u006E\u24DD\uFF4E\u01F9\u0144\u00F1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5]/g},{base:"nj",letters:/[\u01CC]/g},{base:"o",letters:/[\u006F\u24DE\uFF4F\u00F2\u00F3\u00F4\u1ED3\u1ED1\u1ED7\u1ED5\u00F5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\u00F6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\u00F8\u01FF\u0254\uA74B\uA74D\u0275]/g},{base:"oi",letters:/[\u01A3]/g},{base:"ou",letters:/[\u0223]/g},{base:"oo",letters:/[\uA74F]/g},{base:"p",letters:/[\u0070\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755]/g},{base:"q",letters:/[\u0071\u24E0\uFF51\u024B\uA757\uA759]/g},{base:"r",letters:/[\u0072\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783]/g},{base:"s",letters:/[\u0073\u24E2\uFF53\u00DF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B]/g},{base:"t",letters:/[\u0074\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787]/g},{base:"tz",letters:/[\uA729]/g},{base:"u",letters:/[\u0075\u24E4\uFF55\u00F9\u00FA\u00FB\u0169\u1E79\u016B\u1E7B\u016D\u00FC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289]/g},{base:"v",letters:/[\u0076\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C]/g},{base:"vy",letters:/[\uA761]/g},{base:"w",letters:/[\u0077\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73]/g},{base:"x",letters:/[\u0078\u24E7\uFF58\u1E8B\u1E8D]/g},{base:"y",letters:/[\u0079\u24E8\uFF59\u1EF3\u00FD\u0177\u1EF9\u0233\u1E8F\u00FF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF]/g},{base:"z",letters:/[\u007A\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763]/g}],Be=function(e){for(var t=0;t<Ne.length;t++)e=e.replace(Ne[t].letters,Ne[t].base);return e};function ze(){return(ze=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)}var Ue=function(e){return e.replace(/^\s+|\s+$/g,"")},We=function(e){return e.label+" "+e.value};function He(){return(He=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)}var Ke={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},qe=function(e){return R("span",He({css:Ke},e))};function Ge(){return(Ge=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 Ye(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return R("input",Ge({ref:t},n,{css:k({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}var $e=function(e){function t(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.innerRef(Object(I.findDOMNode)(this))},n.componentWillUnmount=function(){this.props.innerRef(null)},n.render=function(){return this.props.children},t}(r.Component),Xe=["boxSizing","height","overflow","paddingRight","position"],Ze={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Je(e){e.preventDefault()}function Qe(e){e.stopPropagation()}function et(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function tt(){return"ontouchstart"in window||navigator.maxTouchPoints}var nt=!(!window.document||!window.document.createElement),rt=0,ot=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).originalStyles={},t.listenerOptions={capture:!1,passive:!1},t}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this;if(nt){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;if(n&&Xe.forEach(function(t){var n=i&&i[t];e.originalStyles[t]=n}),n&&rt<1){var a=parseInt(this.originalStyles.paddingRight,10)||0,u=document.body?document.body.clientWidth:0,s=window.innerWidth-u+a||0;Object.keys(Ze).forEach(function(e){var t=Ze[e];i&&(i[e]=t)}),i&&(i.paddingRight=s+"px")}o&&tt()&&(o.addEventListener("touchmove",Je,this.listenerOptions),r&&(r.addEventListener("touchstart",et,this.listenerOptions),r.addEventListener("touchmove",Qe,this.listenerOptions))),rt+=1}},n.componentWillUnmount=function(){var e=this;if(nt){var t=this.props,n=t.accountForScrollbars,r=t.touchScrollTarget,o=document.body,i=o&&o.style;rt=Math.max(rt-1,0),n&&rt<1&&Xe.forEach(function(t){var n=e.originalStyles[t];i&&(i[t]=n)}),o&&tt()&&(o.removeEventListener("touchmove",Je,this.listenerOptions),r&&(r.removeEventListener("touchstart",et,this.listenerOptions),r.removeEventListener("touchmove",Qe,this.listenerOptions)))}},n.render=function(){return null},t}(r.Component);ot.defaultProps={accountForScrollbars:!0};var it={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},at=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={touchScrollTarget:null},t.getScrollTarget=function(e){e!==t.state.touchScrollTarget&&t.setState({touchScrollTarget:e})},t.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},t}return function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e),t.prototype.render=function(){var e=this.props,t=e.children,n=e.isEnabled,r=this.state.touchScrollTarget;return n?R("div",null,R("div",{onClick:this.blurSelectInput,css:it}),R($e,{innerRef:this.getScrollTarget},t),r?R(ot,{touchScrollTarget:r}):null):t},t}(r.PureComponent);var ut=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).isBottom=!1,t.isTop=!1,t.scrollTarget=void 0,t.touchStart=void 0,t.cancelScroll=function(e){e.preventDefault(),e.stopPropagation()},t.handleEventDelta=function(e,n){var r=t.props,o=r.onBottomArrive,i=r.onBottomLeave,a=r.onTopArrive,u=r.onTopLeave,s=t.scrollTarget,l=s.scrollTop,c=s.scrollHeight,p=s.clientHeight,f=t.scrollTarget,d=n>0,h=c-p-l,m=!1;h>n&&t.isBottom&&(i&&i(e),t.isBottom=!1),d&&t.isTop&&(u&&u(e),t.isTop=!1),d&&n>h?(o&&!t.isBottom&&o(e),f.scrollTop=c,m=!0,t.isBottom=!0):!d&&-n>l&&(a&&!t.isTop&&a(e),f.scrollTop=0,m=!0,t.isTop=!0),m&&t.cancelScroll(e)},t.onWheel=function(e){t.handleEventDelta(e,e.deltaY)},t.onTouchStart=function(e){t.touchStart=e.changedTouches[0].clientY},t.onTouchMove=function(e){var n=t.touchStart-e.changedTouches[0].clientY;t.handleEventDelta(e,n)},t.getScrollTarget=function(e){t.scrollTarget=e},t}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.startListening(this.scrollTarget)},n.componentWillUnmount=function(){this.stopListening(this.scrollTarget)},n.startListening=function(e){e&&("function"==typeof e.addEventListener&&e.addEventListener("wheel",this.onWheel,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.addEventListener&&e.addEventListener("touchmove",this.onTouchMove,!1))},n.stopListening=function(e){"function"==typeof e.removeEventListener&&e.removeEventListener("wheel",this.onWheel,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchstart",this.onTouchStart,!1),"function"==typeof e.removeEventListener&&e.removeEventListener("touchmove",this.onTouchMove,!1)},n.render=function(){return o.a.createElement($e,{innerRef:this.getScrollTarget},this.props.children)},t}(r.Component);function st(e){var t=e.isEnabled,n=void 0===t||t,r=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["isEnabled"]);return n?o.a.createElement(ut,r):r.children}var lt=function(e,t){void 0===t&&(t={});var n=t,r=n.isSearchable,o=n.isMulti,i=n.label,a=n.isDisabled;switch(e){case"menu":return"Use Up and Down to choose options"+(a?"":", press Enter to select the currently focused option")+", press Escape to exit the menu, press Tab to select the option and exit the menu.";case"input":return(i||"Select")+" is focused "+(r?",type to refine list":"")+", press Down to open the menu, "+(o?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},ct=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option "+n+", deselected.";case"select-option":return r?"option "+n+" is disabled. Select another option.":"option "+n+", selected."}},pt=function(e){return!!e.isDisabled};var ft={clearIndicator:Oe,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},control:function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px "+o.primary:null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},dropdownIndicator:Ee,group:function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},groupHeading:function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},input:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},loadingIndicator:function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},loadingMessage:oe,menu:function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return(t={label:"menu"})[function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n)]="100%",t.backgroundColor=a.neutral0,t.borderRadius=o,t.boxShadow="0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",t.marginBottom=i.menuGutter,t.marginTop=i.menuGutter,t.position="absolute",t.width="100%",t.zIndex=1,t},menuList:function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},multiValueLabel:function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},multiValueRemove:function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused&&o.dangerLight,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},noOptionsMessage:re,option:function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:2*i.baseUnit+"px "+3*i.baseUnit+"px",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?a.primary:a.primary50)}}},placeholder:function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},singleValue:function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - "+2*r.baseUnit+"px)",overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},valueContainer:function(e){var t=e.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:t.baseUnit/2+"px "+2*t.baseUnit+"px",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}}};var dt={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}};function ht(){return(ht=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 mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var vt={backspaceRemovesValue:!0,blurInputOnSelect:G(),captureMenuScroll:!G(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e){return function(t,n){var r=ze({ignoreCase:!0,ignoreAccents:!0,stringify:We,trim:!0,matchFrom:"any"},e),o=r.ignoreCase,i=r.ignoreAccents,a=r.stringify,u=r.trim,s=r.matchFrom,l=u?Ue(n):n,c=u?Ue(a(t)):a(t);return o&&(l=l.toLowerCase(),c=c.toLowerCase()),i&&(l=Be(l),c=Be(c)),"start"===s?c.substr(0,l.length)===l:c.indexOf(l)>-1}}(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:pt,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return t+" result"+(1!==t?"s":"")+" available"},styles:{},tabIndex:"0",tabSelectsValue:!0},yt=1,gt=function(e){function t(t){var n;(n=e.call(this,t)||this).state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},n.blockOptionHover=!1,n.isComposing=!1,n.clearFocusValueOnUpdate=!1,n.commonProps=void 0,n.components=void 0,n.hasGroups=!1,n.initialTouchX=0,n.initialTouchY=0,n.inputIsHiddenAfterUpdate=void 0,n.instancePrefix="",n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(e){n.controlRef=e},n.focusedOptionRef=null,n.getFocusedOptionRef=function(e){n.focusedOptionRef=e},n.menuListRef=null,n.getMenuListRef=function(e){n.menuListRef=e},n.inputRef=null,n.getInputRef=function(e){n.inputRef=e},n.cacheComponents=function(e){n.components=Ve({components:e})},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(e,t){var r=n.props;(0,r.onChange)(e,ht({},t,{name:r.name}))},n.setValue=function(e,t,r){void 0===t&&(t="set-value");var o=n.props,i=o.closeMenuOnSelect,a=o.isMulti;n.onInputChange("",{action:"set-value"}),i&&(n.inputIsHiddenAfterUpdate=!a,n.onMenuClose()),n.clearFocusValueOnUpdate=!0,n.onChange(e,{action:t,option:r})},n.selectOption=function(e){var t=n.props,r=t.blurInputOnSelect,o=t.isMulti,i=n.state.selectValue;if(o)if(n.isOptionSelected(e,i)){var a=n.getOptionValue(e);n.setValue(i.filter(function(e){return n.getOptionValue(e)!==a}),"deselect-option",e),n.announceAriaLiveSelection({event:"deselect-option",context:{value:n.getOptionLabel(e)}})}else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue([].concat(i,[e]),"select-option",e),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));else n.isOptionDisabled(e,i)?n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e),isDisabled:!0}}):(n.setValue(e,"select-option"),n.announceAriaLiveSelection({event:"select-option",context:{value:n.getOptionLabel(e)}}));r&&n.blurInput()},n.removeValue=function(e){var t=n.state.selectValue,r=n.getOptionValue(e),o=t.filter(function(e){return n.getOptionValue(e)!==r});n.onChange(o.length?o:null,{action:"remove-value",removedValue:e}),n.announceAriaLiveSelection({event:"remove-value",context:{value:e?n.getOptionLabel(e):""}}),n.focusInput()},n.clearValue=function(){var e=n.props.isMulti;n.onChange(e?[]:null,{action:"clear"})},n.popValue=function(){var e=n.state.selectValue,t=e[e.length-1],r=e.slice(0,e.length-1);n.announceAriaLiveSelection({event:"pop-value",context:{value:t?n.getOptionLabel(t):""}}),n.onChange(r.length?r:null,{action:"pop-value",removedValue:t})},n.getOptionLabel=function(e){return n.props.getOptionLabel(e)},n.getOptionValue=function(e){return n.props.getOptionValue(e)},n.getStyles=function(e,t){var r=ft[e](t);r.boxSizing="border-box";var o=n.props.styles[e];return o?o(r,t):r},n.getElementId=function(e){return n.instancePrefix+"-"+e},n.getActiveDescendentId=function(){var e=n.props.menuIsOpen,t=n.state,r=t.menuOptions,o=t.focusedOption;if(o&&e){var i=r.focusable.indexOf(o),a=r.render[i];return a&&a.key}},n.announceAriaLiveSelection=function(e){var t=e.event,r=e.context;n.setState({ariaLiveSelection:ct(t,r)})},n.announceAriaLiveContext=function(e){var t=e.event,r=e.context;n.setState({ariaLiveContext:lt(t,ht({},r,{label:n.props["aria-label"]}))})},n.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(e){n.blockOptionHover=!1},n.onControlMouseDown=function(e){var t=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&n.onMenuClose():t&&n.openMenu("first"):(t&&(n.openAfterFocus=!0),n.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()},n.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||n.props.isDisabled)){var t=n.props,r=t.isMulti,o=t.menuIsOpen;n.focusInput(),o?(n.inputIsHiddenAfterUpdate=!r,n.onMenuClose()):n.openMenu("first"),e.preventDefault(),e.stopPropagation()}},n.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(n.clearValue(),e.stopPropagation(),n.openAfterFocus=!1,"touchend"===e.type?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(e){"boolean"==typeof n.props.closeMenuOnScroll?e.target instanceof HTMLElement&&W(e.target)&&n.props.onMenuClose():"function"==typeof n.props.closeMenuOnScroll&&n.props.closeMenuOnScroll(e)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(e){var t=e.touches.item(0);t&&(n.initialTouchX=t.clientX,n.initialTouchY=t.clientY,n.userIsDragging=!1)},n.onTouchMove=function(e){var t=e.touches.item(0);if(t){var r=Math.abs(t.clientX-n.initialTouchX),o=Math.abs(t.clientY-n.initialTouchY);n.userIsDragging=r>5||o>5}},n.onTouchEnd=function(e){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(e.target)&&n.menuListRef&&!n.menuListRef.contains(e.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(e){n.userIsDragging||n.onControlMouseDown(e)},n.onClearIndicatorTouchEnd=function(e){n.userIsDragging||n.onClearIndicatorMouseDown(e)},n.onDropdownIndicatorTouchEnd=function(e){n.userIsDragging||n.onDropdownIndicatorMouseDown(e)},n.handleInputChange=function(e){var t=e.currentTarget.value;n.inputIsHiddenAfterUpdate=!1,n.onInputChange(t,{action:"input-change"}),n.onMenuOpen()},n.onInputFocus=function(e){var t=n.props,r=t.isSearchable,o=t.isMulti;n.props.onFocus&&n.props.onFocus(e),n.inputIsHiddenAfterUpdate=!1,n.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),n.setState({isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(e){n.menuListRef&&n.menuListRef.contains(document.activeElement)?n.inputRef.focus():(n.props.onBlur&&n.props.onBlur(e),n.onInputChange("",{action:"input-blur"}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1}))},n.onOptionHover=function(e){n.blockOptionHover||n.state.focusedOption===e||n.setState({focusedOption:e})},n.shouldHideSelectedOptions=function(){var e=n.props,t=e.hideSelectedOptions,r=e.isMulti;return void 0===t?r:t},n.onKeyDown=function(e){var t=n.props,r=t.isMulti,o=t.backspaceRemovesValue,i=t.escapeClearsValue,a=t.inputValue,u=t.isClearable,s=t.isDisabled,l=t.menuIsOpen,c=t.onKeyDown,p=t.tabSelectsValue,f=t.openMenuOnFocus,d=n.state,h=d.focusedOption,m=d.focusedValue,v=d.selectValue;if(!(s||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(n.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;n.focusValue("previous");break;case"ArrowRight":if(!r||a)return;n.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)n.removeValue(m);else{if(!o)return;r?n.popValue():u&&n.clearValue()}break;case"Tab":if(n.isComposing)return;if(e.shiftKey||!l||!p||!h||f&&n.isOptionSelected(h,v))return;n.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(l){if(!h)return;if(n.isComposing)return;n.selectOption(h);break}return;case"Escape":l?(n.inputIsHiddenAfterUpdate=!1,n.onInputChange("",{action:"menu-close"}),n.onMenuClose()):u&&i&&n.clearValue();break;case" ":if(a)return;if(!l){n.openMenu("first");break}if(!h)return;n.selectOption(h);break;case"ArrowUp":l?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":l?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!l)return;n.focusOption("pageup");break;case"PageDown":if(!l)return;n.focusOption("pagedown");break;case"Home":if(!l)return;n.focusOption("first");break;case"End":if(!l)return;n.focusOption("last");break;default:return}e.preventDefault()}},n.buildMenuOptions=function(e,t){var r=e.inputValue,o=void 0===r?"":r,i=function(e,r){var i=n.isOptionDisabled(e,t),a=n.isOptionSelected(e,t),u=n.getOptionLabel(e),s=n.getOptionValue(e);if(!(n.shouldHideSelectedOptions()&&a||!n.filterOption({label:u,value:s,data:e},o))){var l=i?void 0:function(){return n.onOptionHover(e)},c=i?void 0:function(){return n.selectOption(e)},p=n.getElementId("option")+"-"+r;return{innerProps:{id:p,onClick:c,onMouseMove:l,onMouseOver:l,tabIndex:-1},data:e,isDisabled:i,isSelected:a,key:p,label:u,type:"option",value:s}}};return e.options.reduce(function(e,t,r){if(t.options){n.hasGroups||(n.hasGroups=!0);var o=t.options.map(function(t,n){var o=i(t,r+"-"+n);return o&&e.focusable.push(t),o}).filter(Boolean);if(o.length){var a=n.getElementId("group")+"-"+r;e.render.push({type:"group",key:a,data:t,options:o})}}else{var u=i(t,""+r);u&&(e.render.push(u),e.focusable.push(t))}return e},{render:[],focusable:[]})};var r=t.value;n.cacheComponents=Object(Y.a)(n.cacheComponents,pe).bind(mt(mt(n))),n.cacheComponents(t.components),n.instancePrefix="react-select-"+(n.props.instanceId||++yt);var o=U(r);n.buildMenuOptions=Object(Y.a)(n.buildMenuOptions,function(e,t){var n=e,r=n[0],o=n[1],i=t,a=i[0];return pe(o,i[1])&&pe(r.inputValue,a.inputValue)&&pe(r.options,a.options)}).bind(mt(mt(n)));var i=t.menuIsOpen?n.buildMenuOptions(t,o):{render:[],focusable:[]};return n.state.menuOptions=i,n.state.selectValue=o,n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(t,e);var n=t.prototype;return n.componentDidMount=function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()},n.UNSAFE_componentWillReceiveProps=function(e){var t=this.props,n=t.options,r=t.value,o=t.menuIsOpen,i=t.inputValue;if(this.cacheComponents(e.components),e.value!==r||e.options!==n||e.menuIsOpen!==o||e.inputValue!==i){var a=U(e.value),u=e.menuIsOpen?this.buildMenuOptions(e,a):{render:[],focusable:[]},s=this.getNextFocusedValue(a),l=this.getNextFocusedOption(u.focusable);this.setState({menuOptions:u,selectValue:a,focusedOption:l,focusedValue:s})}null!=this.inputIsHiddenAfterUpdate&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)},n.componentDidUpdate=function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(!function(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?K(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&K(e,Math.max(t.offsetTop-o,0))}(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)},n.componentWillUnmount=function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)},n.onMenuOpen=function(){this.props.onMenuOpen()},n.onMenuClose=function(){var e=this.props,t=e.isSearchable,n=e.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:t,isMulti:n}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()},n.onInputChange=function(e,t){this.props.onInputChange(e,t)},n.focusInput=function(){this.inputRef&&this.inputRef.focus()},n.blurInput=function(){this.inputRef&&this.inputRef.blur()},n.openMenu=function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,i=this.buildMenuOptions(this.props,r),a=this.props.isMulti,u="first"===e?0:i.focusable.length-1;if(!a){var s=i.focusable.indexOf(r[0]);s>-1&&(u=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:i,focusedValue:null,focusedOption:i.focusable[u]},function(){t.onMenuOpen(),t.announceAriaLiveContext({event:"menu"})})},n.focusValue=function(e){var t=this.props,n=t.isMulti,r=t.isSearchable,o=this.state,i=o.selectValue,a=o.focusedValue;if(n){this.setState({focusedOption:null});var u=i.indexOf(a);a||(u=-1,this.announceAriaLiveContext({event:"value"}));var s=i.length-1,l=-1;if(i.length){switch(e){case"previous":l=0===u?0:-1===u?s:u-1;break;case"next":u>-1&&u<s&&(l=u+1)}-1===l&&this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:n}}),this.setState({inputIsHidden:-1!==l,focusedValue:i[l]})}}},n.focusOption=function(e){void 0===e&&(e="first");var t=this.props.pageSize,n=this.state,r=n.focusedOption,o=n.menuOptions.focusable;if(o.length){var i=0,a=o.indexOf(r);r||(a=-1,this.announceAriaLiveContext({event:"menu"})),"up"===e?i=a>0?a-1:o.length-1:"down"===e?i=(a+1)%o.length:"pageup"===e?(i=a-t)<0&&(i=0):"pagedown"===e?(i=a+t)>o.length-1&&(i=o.length-1):"last"===e&&(i=o.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:o[i],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:pt(o[i])}})}},n.getTheme=function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(dt):ht({},dt,this.props.theme):dt},n.getCommonProps=function(){var e=this.clearValue,t=this.getStyles,n=this.setValue,r=this.selectOption,o=this.props,i=o.classNamePrefix,a=o.isMulti,u=o.isRtl,s=o.options,l=this.state.selectValue,c=this.hasValue();return{cx:function(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push(""+z(e,o));return r.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}.bind(null,i),clearValue:e,getStyles:t,getValue:function(){return l},hasValue:c,isMulti:a,isRtl:u,options:s,selectOption:r,setValue:n,selectProps:o,theme:this.getTheme()}},n.getNextFocusedValue=function(e){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var t=this.state,n=t.focusedValue,r=t.selectValue.indexOf(n);if(r>-1){if(e.indexOf(n)>-1)return n;if(r<e.length)return e[r]}return null},n.getNextFocusedOption=function(e){var t=this.state.focusedOption;return t&&e.indexOf(t)>-1?t:e[0]},n.hasValue=function(){return this.state.selectValue.length>0},n.hasOptions=function(){return!!this.state.menuOptions.render.length},n.countOptions=function(){return this.state.menuOptions.focusable.length},n.isClearable=function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t},n.isOptionDisabled=function(e,t){return"function"==typeof this.props.isOptionDisabled&&this.props.isOptionDisabled(e,t)},n.isOptionSelected=function(e,t){var n=this;if(t.indexOf(e)>-1)return!0;if("function"==typeof this.props.isOptionSelected)return this.props.isOptionSelected(e,t);var r=this.getOptionValue(e);return t.some(function(e){return n.getOptionValue(e)===r})},n.filterOption=function(e,t){return!this.props.filterOption||this.props.filterOption(e,t)},n.formatOptionLabel=function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)},n.formatGroupLabel=function(e){return this.props.formatGroupLabel(e)},n.startListeningComposition=function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))},n.stopListeningComposition=function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))},n.startListeningToTouch=function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))},n.stopListeningToTouch=function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))},n.constructAriaLiveMessage=function(){var e=this.state,t=e.ariaLiveContext,n=e.selectValue,r=e.focusedValue,o=e.focusedOption,i=this.props,a=i.options,u=i.menuIsOpen,s=i.inputValue,l=i.screenReaderStatus;return(r?function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value "+n(t)+" focused, "+(r.indexOf(t)+1)+" of "+r.length+"."}({focusedValue:r,getOptionLabel:this.getOptionLabel,selectValue:n}):"")+" "+(o&&u?function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option "+n(t)+" focused"+(t.isDisabled?" disabled":"")+", "+(r.indexOf(t)+1)+" of "+r.length+"."}({focusedOption:o,getOptionLabel:this.getOptionLabel,options:a}):"")+" "+function(e){var t=e.inputValue;return e.screenReaderMessage+(t?" for search term "+t:"")+"."}({inputValue:s,screenReaderMessage:l({count:this.countOptions()})})+" "+t},n.renderInput=function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,r=e.inputId,i=e.inputValue,a=e.tabIndex,u=this.components.Input,s=this.state.inputIsHidden,l=r||this.getElementId("input"),c={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!n)return o.a.createElement(Ye,ht({id:l,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:B,onFocus:this.onInputFocus,readOnly:!0,disabled:t,tabIndex:a,value:""},c));var p=this.commonProps,f=p.cx,d=p.theme,h=p.selectProps;return o.a.createElement(u,ht({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:f,getStyles:this.getStyles,id:l,innerRef:this.getInputRef,isDisabled:t,isHidden:s,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:h,spellCheck:"false",tabIndex:a,theme:d,type:"text",value:i},c))},n.renderPlaceholderOrValue=function(){var e=this,t=this.components,n=t.MultiValue,r=t.MultiValueContainer,i=t.MultiValueLabel,a=t.MultiValueRemove,u=t.SingleValue,s=t.Placeholder,l=this.commonProps,c=this.props,p=c.controlShouldRenderValue,f=c.isDisabled,d=c.isMulti,h=c.inputValue,m=c.placeholder,v=this.state,y=v.selectValue,g=v.focusedValue,b=v.isFocused;if(!this.hasValue()||!p)return h?null:o.a.createElement(s,ht({},l,{key:"placeholder",isDisabled:f,isFocused:b}),m);if(d)return y.map(function(t,u){var s=t===g;return o.a.createElement(n,ht({},l,{components:{Container:r,Label:i,Remove:a},isFocused:s,isDisabled:f,key:e.getOptionValue(t),index:u,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault(),e.stopPropagation()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var E=y[0];return o.a.createElement(u,ht({},l,{data:E,isDisabled:f}),this.formatOptionLabel(E,"value"))},n.renderClearIndicator=function(){var e=this.components.ClearIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||r||!this.hasValue()||i)return null;var u={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,ht({},t,{innerProps:u,isFocused:a}))},n.renderLoadingIndicator=function(){var e=this.components.LoadingIndicator,t=this.commonProps,n=this.props,r=n.isDisabled,i=n.isLoading,a=this.state.isFocused;if(!e||!i)return null;return o.a.createElement(e,ht({},t,{innerProps:{"aria-hidden":"true"},isDisabled:r,isFocused:a}))},n.renderIndicatorSeparator=function(){var e=this.components,t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var r=this.commonProps,i=this.props.isDisabled,a=this.state.isFocused;return o.a.createElement(n,ht({},r,{isDisabled:i,isFocused:a}))},n.renderDropdownIndicator=function(){var e=this.components.DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,r=this.state.isFocused,i={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return o.a.createElement(e,ht({},t,{innerProps:i,isDisabled:n,isFocused:r}))},n.renderMenu=function(){var e=this,t=this.components,n=t.Group,r=t.GroupHeading,i=t.Menu,a=t.MenuList,u=t.MenuPortal,s=t.LoadingMessage,l=t.NoOptionsMessage,c=t.Option,p=this.commonProps,f=this.state,d=f.focusedOption,h=f.menuOptions,m=this.props,v=m.captureMenuScroll,y=m.inputValue,g=m.isLoading,b=m.loadingMessage,E=m.minMenuHeight,O=m.maxMenuHeight,w=m.menuIsOpen,C=m.menuPlacement,_=m.menuPosition,S=m.menuPortalTarget,x=m.menuShouldBlockScroll,k=m.menuShouldScrollIntoView,A=m.noOptionsMessage,M=m.onMenuScrollToTop,F=m.onMenuScrollToBottom;if(!w)return null;var T,P=function(t){var n=d===t.data;return t.innerRef=n?e.getFocusedOptionRef:void 0,o.a.createElement(c,ht({},p,t,{isFocused:n}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=h.render.map(function(t){if("group"===t.type){t.type;var i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["type"]),a=t.key+"-heading";return o.a.createElement(n,ht({},p,i,{Heading:r,headingProps:{id:a},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e)}))}if("option"===t.type)return P(t)});else if(g){var D=b({inputValue:y});if(null===D)return null;T=o.a.createElement(s,p,D)}else{var j=A({inputValue:y});if(null===j)return null;T=o.a.createElement(l,p,j)}var R={minMenuHeight:E,maxMenuHeight:O,menuPlacement:C,menuPosition:_,menuShouldScrollIntoView:k},L=o.a.createElement(te,ht({},p,R),function(t){var n=t.ref,r=t.placerProps,u=r.placement,s=r.maxHeight;return o.a.createElement(i,ht({},p,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:u}),o.a.createElement(st,{isEnabled:v,onTopArrive:M,onBottomArrive:F},o.a.createElement(at,{isEnabled:x},o.a.createElement(a,ht({},p,{innerRef:e.getMenuListRef,isLoading:g,maxHeight:s}),T))))});return S||"fixed"===_?o.a.createElement(u,ht({},p,{appendTo:S,controlElement:this.controlRef,menuPlacement:C,menuPosition:_}),L):L},n.renderFormField=function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,i=t.isMulti,a=t.name,u=this.state.selectValue;if(a&&!r){if(i){if(n){var s=u.map(function(t){return e.getOptionValue(t)}).join(n);return o.a.createElement("input",{name:a,type:"hidden",value:s})}var l=u.length>0?u.map(function(t,n){return o.a.createElement("input",{key:"i-"+n,name:a,type:"hidden",value:e.getOptionValue(t)})}):o.a.createElement("input",{name:a,type:"hidden"});return o.a.createElement("div",null,l)}var c=u[0]?this.getOptionValue(u[0]):"";return o.a.createElement("input",{name:a,type:"hidden",value:c})}},n.renderLiveRegion=function(){return this.state.isFocused?o.a.createElement(qe,{"aria-live":"polite"},o.a.createElement("p",{id:"aria-selection-event"}," ",this.state.ariaLiveSelection),o.a.createElement("p",{id:"aria-context"}," ",this.constructAriaLiveMessage())):null},n.render=function(){var e=this.components,t=e.Control,n=e.IndicatorsContainer,r=e.SelectContainer,i=e.ValueContainer,a=this.props,u=a.className,s=a.id,l=a.isDisabled,c=a.menuIsOpen,p=this.state.isFocused,f=this.commonProps=this.getCommonProps();return o.a.createElement(r,ht({},f,{className:u,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:l,isFocused:p}),this.renderLiveRegion(),o.a.createElement(t,ht({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:l,isFocused:p,menuIsOpen:c}),o.a.createElement(i,ht({},f,{isDisabled:l}),this.renderPlaceholderOrValue(),this.renderInput()),o.a.createElement(n,ht({},f,{isDisabled:l}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())},t}(r.Component);function bt(){return(bt=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)}gt.defaultProps=vt;var Et={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null};function Ot(){return(Ot=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)}n.d(t,"defaultProps",function(){return wt}),n.d(t,"makeAsyncSelect",function(){return Ct});var wt={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Ct=function(e){var t,n;return n=t=function(t){function n(e){var n;return(n=t.call(this)||this).select=void 0,n.lastRequest=void 0,n.mounted=!1,n.optionsCache={},n.handleInputChange=function(e,t){var r=n.props,o=r.cacheOptions,i=function(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}(e,t,r.onInputChange);if(!i)return delete n.lastRequest,void n.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(o&&n.optionsCache[i])n.setState({inputValue:i,loadedInputValue:i,loadedOptions:n.optionsCache[i],isLoading:!1,passEmptyOptions:!1});else{var a=n.lastRequest={};n.setState({inputValue:i,isLoading:!0,passEmptyOptions:!n.state.loadedInputValue},function(){n.loadOptions(i,function(e){n.mounted&&(e&&(n.optionsCache[i]=e),a===n.lastRequest&&(delete n.lastRequest,n.setState({isLoading:!1,loadedInputValue:i,loadedOptions:e||[],passEmptyOptions:!1})))})})}return i},n.state={defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0,inputValue:void 0!==e.inputValue?e.inputValue:"",isLoading:!0===e.defaultOptions,loadedOptions:[],passEmptyOptions:!1},n}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(n,t);var r=n.prototype;return r.componentDidMount=function(){var e=this;this.mounted=!0;var t=this.props.defaultOptions,n=this.state.inputValue;!0===t&&this.loadOptions(n,function(t){if(e.mounted){var n=!!e.lastRequest;e.setState({defaultOptions:t||[],isLoading:n})}})},r.UNSAFE_componentWillReceiveProps=function(e){e.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),e.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(e.defaultOptions)?e.defaultOptions:void 0})},r.componentWillUnmount=function(){this.mounted=!1},r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.loadOptions=function(e,t){var n=this.props.loadOptions;if(!n)return t();var r=n(e,t);r&&"function"==typeof r.then&&r.then(t,function(){return t()})},r.render=function(){var t=this,n=this.props,r=(n.loadOptions,n.isLoading),i=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["loadOptions","isLoading"]),a=this.state,u=a.defaultOptions,s=a.inputValue,l=a.isLoading,c=a.loadedInputValue,p=a.loadedOptions,f=a.passEmptyOptions?[]:s&&c?p:u||[];return o.a.createElement(e,Ot({},i,{ref:function(e){t.select=e},options:f,isLoading:l||r,onInputChange:this.handleInputChange}))},n}(r.Component),t.defaultProps=wt,n},_t=function(e){var t,n;return n=t=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).select=void 0,e.state={inputValue:void 0!==e.props.inputValue?e.props.inputValue:e.props.defaultInputValue,menuIsOpen:void 0!==e.props.menuIsOpen?e.props.menuIsOpen:e.props.defaultMenuIsOpen,value:void 0!==e.props.value?e.props.value:e.props.defaultValue},e.onChange=function(t,n){e.callProp("onChange",t,n),e.setState({value:t})},e.onInputChange=function(t,n){var r=e.callProp("onInputChange",t,n);e.setState({inputValue:void 0!==r?r:t})},e.onMenuOpen=function(){e.callProp("onMenuOpen"),e.setState({menuIsOpen:!0})},e.onMenuClose=function(){e.callProp("onMenuClose"),e.setState({menuIsOpen:!1})},e}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}(n,t);var r=n.prototype;return r.focus=function(){this.select.focus()},r.blur=function(){this.select.blur()},r.getProp=function(e){return void 0!==this.props[e]?this.props[e]:this.state[e]},r.callProp=function(e){if("function"==typeof this.props[e]){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return(t=this.props)[e].apply(t,r)}},r.render=function(){var t=this,n=this.props,r=(n.defaultInputValue,n.defaultMenuIsOpen,n.defaultValue,function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(n,["defaultInputValue","defaultMenuIsOpen","defaultValue"]));return o.a.createElement(e,bt({},r,{ref:function(e){t.select=e},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))},n}(r.Component),t.defaultProps=Et,n}(gt),St=Ct(_t);t.default=St},,,,,,function(e,t){e.exports=window.yoast.configurationWizard},function(e,t,n){e.exports=!n(131)&&!n(156)(function(){return 7!=Object.defineProperty(n(328)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var r=n(155),o=n(104).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){var r=n(132),o=n(157),i=n(414)(!1),a=n(274)("IE_PROTO");e.exports=function(e,t){var n,u=o(e),s=0,l=[];for(n in u)n!=a&&r(u,n)&&l.push(n);for(;t.length>s;)r(u,n=t[s++])&&(~i(l,n)||l.push(n));return l}},function(e,t,n){var r=n(271);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t,n){var r=n(273),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(132),o=n(249),i=n(274)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),r(e,i)?e[i]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(422)),o=a(n(432)),i="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};function a(e){return e&&e.__esModule?e:{default:e}}t.default="function"==typeof o.default&&"symbol"===i(r.default)?function(e){return void 0===e?"undefined":i(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":i(e)}},function(e,t,n){"use strict";var r=n(424)(!0);n(335)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},function(e,t,n){"use strict";var r=n(246),o=n(103),i=n(336),a=n(153),u=n(183),s=n(425),l=n(279),c=n(332),p=n(64)("iterator"),f=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,n,h,m,v,y){s(n,t,h);var g,b,E,O=function(e){if(!f&&e in S)return S[e];switch(e){case"keys":case"values":return function(){return new n(this,e)}}return function(){return new n(this,e)}},w=t+" Iterator",C="values"==m,_=!1,S=e.prototype,x=S[p]||S["@@iterator"]||m&&S[m],k=x||O(m),A=m?C?O("entries"):k:void 0,M="Array"==t&&S.entries||x;if(M&&(E=c(M.call(new e)))!==Object.prototype&&E.next&&(l(E,w,!0),r||"function"==typeof E[p]||a(E,p,d)),C&&x&&"values"!==x.name&&(_=!0,k=function(){return x.call(this)}),r&&!y||!f&&!_&&S[p]||a(S,p,k),u[t]=k,u[w]=d,m)if(g={values:C?k:O("values"),keys:v?k:O("keys"),entries:A},y)for(b in g)b in S||i(S,b,g[b]);else o(o.P+o.F*(f||_),t,g);return g}},function(e,t,n){e.exports=n(153)},function(e,t,n){var r=n(329),o=n(276).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(248),o=n(182),i=n(157),a=n(270),u=n(132),s=n(327),l=Object.getOwnPropertyDescriptor;t.f=n(131)?l:function(e,t){if(e=i(e),t=a(t,!0),s)try{return l(e,t)}catch(e){}if(u(e,t))return o(!r.f.call(e,t),e[t])}},function(e,t,n){"use strict";e.exports=function(){}},function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(456)),i=s(n(2)),a=s(n(1)),u=(s(n(339)),n(457));function s(e){return e&&e.__esModule?e:{default:e}}a.default.any,a.default.func,a.default.node;var l=function(e){function t(n,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,o));return i.performAppear=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(i._handleDoneAppearing.bind(i,e,t)):i._handleDoneAppearing(e,t)},i._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performEnter=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(i._handleDoneEntering.bind(i,e,t)):i._handleDoneEntering(e,t)},i._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)||i.performLeave(e,t)},i.performLeave=function(e,t){i.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(i._handleDoneLeaving.bind(i,e,t)):i._handleDoneLeaving(e,t)},i._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete i.currentlyTransitioningKeys[e];var n=(0,u.getChildMapping)(i.props.children);n&&n.hasOwnProperty(e)?i.keysToEnter.push(e):i.setState(function(t){var n=r({},t.children);return delete n[e],{children:n}})},i.childRefs=Object.create(null),i.state={children:(0,u.getChildMapping)(n.children)},i}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var o=n&&n.hasOwnProperty(r);!t[r]||o||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var i in n){var a=t&&t.hasOwnProperty(i);!n[i]||a||this.currentlyTransitioningKeys[i]||this.keysToLeave.push(i)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach(function(t){return e.performEnter(t,e.childRefs[t])});var n=this.keysToLeave;this.keysToLeave=[],n.forEach(function(t){return e.performLeave(t,e.childRefs[t])})},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var a="string"!=typeof r.ref,u=e.props.childFactory(r),s=function(t){e.childRefs[n]=t};u===r&&a&&(s=(0,o.default)(r.ref,s)),t.push(i.default.cloneElement(u,{key:n,ref:s}))}};for(var a in this.state.children)n(a);var u=r({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,i.default.createElement(this.props.component,u,t)},t}(i.default.Component);l.displayName="TransitionGroup",l.propTypes={},l.defaultProps={component:"span",childFactory:function(e){return e}},t.default=l,e.exports=t.default},function(e,t,n){e.exports={default:n(461),__esModule:!0}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(477));t.default=function(e){return(0,r.default)("displayName",e)}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(478));t.default=function(e,t){return t+"("+(0,r.default)(e)+")"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=n(326),u=b(a),s=n(15),l=n(0),c=n(6),p=b(n(407)),f=b(n(480)),d=b(n(481)),h=b(n(487)),m=b(n(488)),v=b(n(490)),y=b(n(491)),g=n(42);function b(e){return e&&e.__esModule?e:{default:e}}var E=(0,c.makeOutboundLink)(),O=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={isLoading:!0},n.getConfig(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"getEndpoint",value:function(){var e=yoastWizardConfig;return{url:""+e.root+e.namespace+"/"+e.endpoint_retrieve,headers:{"X-WP-Nonce":e.nonce}}}},{key:"setConfig",value:function(e){var t=e,n=this.getEndpoint();(0,l.isUndefined)(t.translations)||(0,s.setTranslations)(t.translations),Object.assign(t,{finishUrl:yoastWizardConfig.finishUrl,endpoint:n,customComponents:{MailchimpSignup:p.default,MediaUpload:f.default,Suggestions:d.default,FinalStep:h.default,WordPressUserSelector:m.default,CompanyInfoMissing:v.default}}),this.setState({isLoading:!1,config:t})}},{key:"getConfig",value:function(){var e=this,t=this.getEndpoint();return jQuery.ajax({url:t.url,method:"GET",async:!0,beforeSend:function(e){jQuery.each(t.headers,e.setRequestHeader)}}).done(this.setConfig.bind(this)).fail(function(){e.setState({isLoading:!1})})}},{key:"render",value:function(){if(!0===this.state.isLoading)return null;if(void 0!==this.state.config&&this.state.config!=={})return wp.element.createElement("div",null,wp.element.createElement(u.default,r({},this.state.config,{headerIcon:y.default})));var e={mixedString:"The configuration wizard could not be started. The likely cause is an interfering plugin. Please {{link}}check for plugin conflicts{{/link}} to solve this problem. ",components:{link:wp.element.createElement(E,{href:"https://yoa.st/configuration-wizard-error-plugin-conflict"})}};return wp.element.createElement("div",null,wp.element.createElement(a.MessageBox,r({},e,{icon:y.default})))}}]),t}();(0,g.setYoastComponentsL10n)(),(0,i.render)(wp.element.createElement(O,null),document.getElementById("wizard"))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=p(n(1)),a=p(n(268)),u=p(n(475)),s=n(15),l=n(326),c=n(6);function p(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={successfulSignup:n.props.value,isLoading:!1},n.setEmailInputRef=n.setEmailInputRef.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidUpdate",value:function(e,t){this.state.successfulSignup!==t.successfulSignup&&this.sendChangeEvent()}},{key:"hasSubscription",value:function(){return this.props.value.hasSignup}},{key:"signup",value:function(){var e="EMAIL="+this._emailInput.value;this.setState({isLoading:!0});var t=(0,c.sendRequest)(this.props.properties.mailchimpActionUrl,{data:e,headers:{},dataType:"jsonp",jsonp:"c",method:"POST"});this.handleResultSignup(t)}},{key:"handleResultSignup",value:function(e){var t=this;e.then(function(e){-1===e.msg.indexOf("is already subscribed")?"error"!==e.result?t.setState({isLoading:!1,successfulSignup:!0,message:e.msg}):t.setState({isLoading:!1,successfulSignup:!1,message:t.stripMessage(t.stripLinkFromMessage(e.msg))}):t.setState({isLoading:!1,successfulSignup:!0,message:"Almost finished... We need to confirm your email address.To complete the subscription process, please click the link in the email we just sent you."})}).catch(function(e){console.error(t.props.translate("MailChimp signup failed:"),e)})}},{key:"stripLinkFromMessage",value:function(e){return e.replace(/<a.*?<\/a>/,"")}},{key:"stripMessage",value:function(e){return e.endsWith("0 - ",4)?e.slice(4):e}},{key:"sendChangeEvent",value:function(){var e={target:{name:"mailchimpSignup",value:{hasSignup:this.state.successfulSignup}}};this.onChange(e)}},{key:"getLoadingIndicator",value:function(){return this.state.isLoading?wp.element.createElement("div",{className:"yoast-wizard-overlay"},wp.element.createElement(l.LoadingIndicator,null)):null}},{key:"setEmailInputRef",value:function(e){this._emailInput=e}},{key:"render",value:function(){if(this.skipRendering())return null;this.onChange=this.props.onChange;var e=wp.element.createElement("input",{id:"mailchimpEmail",className:"yoast-wizard-text-input-field",ref:this.setEmailInputRef,type:"email",name:this.props.name,defaultValue:this.props.properties.currentUserEmail,autoComplete:"email"}),t=wp.element.createElement(a.default,{primary:!0,label:this.props.translate("Sign Up!"),onClick:this.signup.bind(this),icon:wp.element.createElement(u.default,{color:"#ffffff",viewBox:"0 0 28 28"})}),n=this.getSignupMessage(),r=this.getLoadingIndicator();return wp.element.createElement("div",{className:"yoast-wizard--columns yoast-wizard-newsletter"},wp.element.createElement("div",null,wp.element.createElement("h2",{className:"yoast-wizard-newsletter--header"},this.props.properties.title),wp.element.createElement("p",null,this.props.properties.label),this.props.properties.freeAccountNotice&&wp.element.createElement("strong",null,this.props.properties.freeAccountNotice),wp.element.createElement("div",{className:"yoast-wizard--columns yoast-wizard--columns__even"},wp.element.createElement("div",{className:"yoast-wizard-text-input"},wp.element.createElement("label",{htmlFor:"mailchimpEmail",className:"yoast-wizard-text-input-label"},this.props.translate("Email")),e)),t,n,r,this.props.properties.GDPRNotice&&wp.element.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.properties.GDPRNotice}})),wp.element.createElement("div",{className:"hide-on-tablet yoast-wizard-newsletter--decoration"},wp.element.createElement("img",{src:this.props.properties.decoration,alt:""})))}},{key:"skipRendering",value:function(){var e=this.props.stepState,t="success"===e.currentStep,n=!0===e.fieldValues.newsletter.mailchimpSignup.hasSignup;return t&&n}},{key:"getSignupMessage",value:function(){return this.state.successfulSignup?wp.element.createElement("p",{className:"yoast-wizard-mailchimp-message-success","aria-live":"assertive"},this.state.message):wp.element.createElement("p",{className:"yoast-wizard-mailchimp-message-error","aria-live":"assertive"},this.state.message)}}]),t}();f.propTypes={translate:i.default.func.isRequired,title:i.default.string,component:i.default.string,name:i.default.string.isRequired,properties:i.default.object,data:i.default.string,onChange:i.default.func,value:i.default.shape({hasSignup:i.default.bool}),stepState:i.default.object},f.defaultProps={title:"Mailchimp signup",component:"",properties:{},data:"",value:{hasSignup:!1}},t.default=(0,s.localize)(f)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(130)),o=g(n(133)),i=g(n(86)),a=g(n(87)),u=g(n(88)),s=g(n(89)),l=g(n(90)),c=g(n(91)),p=n(2),f=g(p),d=g(n(1)),h=g(n(158)),m=n(449),v=g(n(450)),y=g(n(472));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),r.state={hovered:!1,keyboardFocused:!1,touched:!1,initialZDepth:0,zDepth:0},r.handleMouseDown=function(e){0===e.button&&r.setState({zDepth:r.state.initialZDepth+1}),r.props.onMouseDown&&r.props.onMouseDown(e)},r.handleMouseUp=function(e){r.setState({zDepth:r.state.initialZDepth}),r.props.onMouseUp&&r.props.onMouseUp(e)},r.handleMouseLeave=function(e){r.state.keyboardFocused||r.setState({zDepth:r.state.initialZDepth,hovered:!1}),r.props.onMouseLeave&&r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.state.keyboardFocused||r.state.touched||r.setState({hovered:!0}),r.props.onMouseEnter&&r.props.onMouseEnter(e)},r.handleTouchStart=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth+1}),r.props.onTouchStart&&r.props.onTouchStart(e)},r.handleTouchEnd=function(e){r.setState({touched:!0,zDepth:r.state.initialZDepth}),r.props.onTouchEnd&&r.props.onTouchEnd(e)},r.handleKeyboardFocus=function(e,t){var n=t&&!r.props.disabled?r.state.initialZDepth+1:r.state.initialZDepth;r.setState({zDepth:n,keyboardFocused:t})},o=n,(0,s.default)(r,o)}return(0,l.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props.disabled?0:1;this.setState({zDepth:e,initialZDepth:e})}},{key:"componentWillReceiveProps",value:function(e){var t=e.disabled?0:1,n={zDepth:t,initialZDepth:t};e.disabled&&(n.hovered=!1),this.setState(n)}},{key:"render",value:function(){var e=this.props,t=(e.backgroundColor,e.buttonStyle),n=e.children,i=e.className,a=e.disabled,u=(e.disabledBackgroundColor,e.disabledLabelColor,e.fullWidth,e.icon),s=e.label,l=(e.labelColor,e.labelPosition),d=e.labelStyle,g=e.overlayStyle,b=(e.primary,e.rippleStyle),E=(e.secondary,e.style),O=(0,o.default)(e,["backgroundColor","buttonStyle","children","className","disabled","disabledBackgroundColor","disabledLabelColor","fullWidth","icon","label","labelColor","labelPosition","labelStyle","overlayStyle","primary","rippleStyle","secondary","style"]),w=this.context.muiTheme.prepareStyles,C=function(e,t,n){var r=t.muiTheme,o=r.baseTheme,i=r.button,a=r.raisedButton,u=r.borderRadius,s=e.disabled,l=e.disabledBackgroundColor,c=e.disabledLabelColor,p=e.fullWidth,f=e.icon,d=e.label,v=e.labelPosition,y=e.primary,g=e.secondary,b=e.style,E=y||g?.4:.08,O=a.color,w=a.textColor;s?(O=l||a.disabledColor,w=c||a.disabledTextColor):y?(O=a.primaryColor,w=a.primaryTextColor):g?(O=a.secondaryColor,w=a.secondaryTextColor):(e.backgroundColor&&(O=e.backgroundColor),e.labelColor&&(w=e.labelColor));var C=b&&b.height||i.height;return{root:{display:"inline-block",transition:h.default.easeOut(),minWidth:p?"100%":i.minWidth},button:{height:C,lineHeight:C+"px",width:"100%",padding:0,borderRadius:u,transition:h.default.easeOut(),backgroundColor:O,textAlign:"center"},label:{position:"relative",opacity:1,fontSize:a.fontSize,letterSpacing:0,textTransform:a.textTransform||i.textTransform||"uppercase",fontWeight:a.fontWeight,margin:0,userSelect:"none",paddingLeft:f&&"before"!==v?8:o.spacing.desktopGutterLess,paddingRight:f&&"before"===v?8:o.spacing.desktopGutterLess,color:w},icon:{verticalAlign:"middle",marginLeft:d&&"before"!==v?12:0,marginRight:d&&"before"===v?12:0},overlay:{height:C,borderRadius:u,backgroundColor:(n.keyboardFocused||n.hovered)&&!s&&(0,m.fade)(w,E),transition:h.default.easeOut(),top:0},ripple:{color:w,opacity:y||g?.16:.1}}}(this.props,this.context,this.state),_=(0,c.default)({},C.ripple,b),S=a?{}:{onMouseDown:this.handleMouseDown,onMouseUp:this.handleMouseUp,onMouseLeave:this.handleMouseLeave,onMouseEnter:this.handleMouseEnter,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd,onKeyboardFocus:this.handleKeyboardFocus},x=s&&f.default.createElement("span",{style:w((0,c.default)(C.label,d)),key:"labelElement"},s),k=u&&(0,p.cloneElement)(u,{color:u.props.color||C.label.color,style:(0,c.default)(C.icon,u.props.style),key:"iconCloned"}),A="before"===l?[x,k,n]:[n,k,x];return f.default.createElement(y.default,{className:i,style:(0,c.default)(C.root,E),zDepth:this.state.zDepth},f.default.createElement(v.default,(0,r.default)({},O,S,{ref:"container",disabled:a,style:(0,c.default)(C.button,t),focusRippleColor:_.color,touchRippleColor:_.color,focusRippleOpacity:_.opacity,touchRippleOpacity:_.opacity}),f.default.createElement("div",{ref:"overlay",style:w((0,c.default)(C.overlay,g))},A)))}}]),t}(p.Component);b.muiName="RaisedButton",b.defaultProps={disabled:!1,labelPosition:"after",fullWidth:!1,primary:!1,secondary:!1},b.contextTypes={muiTheme:d.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){e.exports={default:n(410),__esModule:!0}},function(e,t,n){n(411),e.exports=n(58).Object.assign},function(e,t,n){var r=n(103);r(r.S+r.F,"Object",{assign:n(413)})},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){"use strict";var r=n(245),o=n(277),i=n(248),a=n(249),u=n(330),s=Object.assign;e.exports=!s||n(156)(function(){var e={},t={},n=Symbol(),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach(function(e){t[e]=e}),7!=s({},e)[n]||Object.keys(s({},t)).join("")!=r})?function(e,t){for(var n=a(e),s=arguments.length,l=1,c=o.f,p=i.f;s>l;)for(var f,d=u(arguments[l++]),h=c?r(d).concat(c(d)):r(d),m=h.length,v=0;m>v;)p.call(d,f=h[v++])&&(n[f]=d[f]);return n}:s},function(e,t,n){var r=n(157),o=n(331),i=n(415);e.exports=function(e){return function(t,n,a){var u,s=r(t),l=o(s.length),c=i(a,l);if(e&&n!=n){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===n)return e||c||0;return!e&&-1}}},function(e,t,n){var r=n(273),o=Math.max,i=Math.min;e.exports=function(e,t){return(e=r(e))<0?o(e+t,0):i(e,t)}},function(e,t,n){n(417),e.exports=n(58).Object.getPrototypeOf},function(e,t,n){var r=n(249),o=n(332);n(418)("getPrototypeOf",function(){return function(e){return o(r(e))}})},function(e,t,n){var r=n(103),o=n(58),i=n(156);e.exports=function(e,t){var n=(o.Object||{})[e]||Object[e],a={};a[e]=t(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(e,t,n){e.exports={default:n(420),__esModule:!0}},function(e,t,n){n(421);var r=n(58).Object;e.exports=function(e,t,n){return r.defineProperty(e,t,n)}},function(e,t,n){var r=n(103);r(r.S+r.F*!n(131),"Object",{defineProperty:n(105).f})},function(e,t,n){e.exports={default:n(423),__esModule:!0}},function(e,t,n){n(334),n(428),e.exports=n(280).f("iterator")},function(e,t,n){var r=n(273),o=n(272);e.exports=function(e){return function(t,n){var i,a,u=String(o(t)),s=r(n),l=u.length;return s<0||s>=l?e?"":void 0:(i=u.charCodeAt(s))<55296||i>56319||s+1===l||(a=u.charCodeAt(s+1))<56320||a>57343?e?u.charAt(s):i:e?u.slice(s,s+2):a-56320+(i-55296<<10)+65536}}},function(e,t,n){"use strict";var r=n(278),o=n(182),i=n(279),a={};n(153)(a,n(64)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(a,{next:o(1,n)}),i(e,t+" Iterator")}},function(e,t,n){var r=n(105),o=n(154),i=n(245);e.exports=n(131)?Object.defineProperties:function(e,t){o(e);for(var n,a=i(t),u=a.length,s=0;u>s;)r.f(e,n=a[s++],t[n]);return e}},function(e,t,n){var r=n(104).document;e.exports=r&&r.documentElement},function(e,t,n){n(429);for(var r=n(104),o=n(153),i=n(183),a=n(64)("toStringTag"),u="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s<u.length;s++){var l=u[s],c=r[l],p=c&&c.prototype;p&&!p[a]&&o(p,a,l),i[l]=i.Array}},function(e,t,n){"use strict";var r=n(430),o=n(431),i=n(183),a=n(157);e.exports=n(335)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?n:"values"==t?e[n]:[n,e[n]])},"values"),i.Arguments=i.Array,r("keys"),r("values"),r("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,n){e.exports={default:n(433),__esModule:!0}},function(e,t,n){n(434),n(439),n(440),n(441),e.exports=n(58).Symbol},function(e,t,n){"use strict";var r=n(104),o=n(132),i=n(131),a=n(103),u=n(336),s=n(435).KEY,l=n(156),c=n(275),p=n(279),f=n(247),d=n(64),h=n(280),m=n(281),v=n(436),y=n(437),g=n(154),b=n(155),E=n(157),O=n(270),w=n(182),C=n(278),_=n(438),S=n(338),x=n(105),k=n(245),A=S.f,M=x.f,F=_.f,T=r.Symbol,P=r.JSON,D=P&&P.stringify,j=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,I=c("symbol-registry"),V=c("symbols"),N=c("op-symbols"),B=Object.prototype,z="function"==typeof T,U=r.QObject,W=!U||!U.prototype||!U.prototype.findChild,H=i&&l(function(){return 7!=C(M({},"a",{get:function(){return M(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=A(B,t);r&&delete B[t],M(e,t,n),r&&e!==B&&M(B,t,r)}:M,K=function(e){var t=V[e]=C(T.prototype);return t._k=e,t},q=z&&"symbol"==typeof T.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof T},G=function(e,t,n){return e===B&&G(N,t,n),g(e),t=O(t,!0),g(n),o(V,t)?(n.enumerable?(o(e,j)&&e[j][t]&&(e[j][t]=!1),n=C(n,{enumerable:w(0,!1)})):(o(e,j)||M(e,j,w(1,{})),e[j][t]=!0),H(e,t,n)):M(e,t,n)},Y=function(e,t){g(e);for(var n,r=v(t=E(t)),o=0,i=r.length;i>o;)G(e,n=r[o++],t[n]);return e},$=function(e){var t=L.call(this,e=O(e,!0));return!(this===B&&o(V,e)&&!o(N,e))&&(!(t||!o(this,e)||!o(V,e)||o(this,j)&&this[j][e])||t)},X=function(e,t){if(e=E(e),t=O(t,!0),e!==B||!o(V,t)||o(N,t)){var n=A(e,t);return!n||!o(V,t)||o(e,j)&&e[j][t]||(n.enumerable=!0),n}},Z=function(e){for(var t,n=F(E(e)),r=[],i=0;n.length>i;)o(V,t=n[i++])||t==j||t==s||r.push(t);return r},J=function(e){for(var t,n=e===B,r=F(n?N:E(e)),i=[],a=0;r.length>a;)!o(V,t=r[a++])||n&&!o(B,t)||i.push(V[t]);return i};z||(u((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===B&&t.call(N,n),o(this,j)&&o(this[j],e)&&(this[j][e]=!1),H(this,e,w(1,n))};return i&&W&&H(B,e,{configurable:!0,set:t}),K(e)}).prototype,"toString",function(){return this._k}),S.f=X,x.f=G,n(337).f=_.f=Z,n(248).f=$,n(277).f=J,i&&!n(246)&&u(B,"propertyIsEnumerable",$,!0),h.f=function(e){return K(d(e))}),a(a.G+a.W+a.F*!z,{Symbol:T});for(var Q="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Q.length>ee;)d(Q[ee++]);for(var te=k(d.store),ne=0;te.length>ne;)m(te[ne++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return o(I,e+="")?I[e]:I[e]=T(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in I)if(I[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),a(a.S+a.F*!z,"Object",{create:function(e,t){return void 0===t?C(e):Y(C(e),t)},defineProperty:G,defineProperties:Y,getOwnPropertyDescriptor:X,getOwnPropertyNames:Z,getOwnPropertySymbols:J}),P&&a(a.S+a.F*(!z||l(function(){var e=T();return"[null]"!=D([e])||"{}"!=D({a:e})||"{}"!=D(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],o=1;arguments.length>o;)r.push(arguments[o++]);if(n=t=r[1],(b(t)||void 0!==e)&&!q(e))return y(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!q(t))return t}),r[1]=t,D.apply(P,r)}}),T.prototype[R]||n(153)(T.prototype,R,T.prototype.valueOf),p(T,"Symbol"),p(Math,"Math",!0),p(r.JSON,"JSON",!0)},function(e,t,n){var r=n(247)("meta"),o=n(155),i=n(132),a=n(105).f,u=0,s=Object.isExtensible||function(){return!0},l=!n(156)(function(){return s(Object.preventExtensions({}))}),c=function(e){a(e,r,{value:{i:"O"+ ++u,w:{}}})},p=e.exports={KEY:r,NEED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,r)){if(!s(e))return"F";if(!t)return"E";c(e)}return e[r].i},getWeak:function(e,t){if(!i(e,r)){if(!s(e))return!0;if(!t)return!1;c(e)}return e[r].w},onFreeze:function(e){return l&&p.NEED&&s(e)&&!i(e,r)&&c(e),e}}},function(e,t,n){var r=n(245),o=n(277),i=n(248);e.exports=function(e){var t=r(e),n=o.f;if(n)for(var a,u=n(e),s=i.f,l=0;u.length>l;)s.call(e,a=u[l++])&&t.push(a);return t}},function(e,t,n){var r=n(271);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){var r=n(157),o=n(337).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t){},function(e,t,n){n(281)("asyncIterator")},function(e,t,n){n(281)("observable")},function(e,t,n){e.exports={default:n(443),__esModule:!0}},function(e,t,n){n(444),e.exports=n(58).Object.setPrototypeOf},function(e,t,n){var r=n(103);r(r.S,"Object",{setPrototypeOf:n(445).set})},function(e,t,n){var r=n(155),o=n(154),i=function(e,t){if(o(e),!r(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,r){try{(r=n(269)(Function.call,n(338).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,n){return i(e,n),t?e.__proto__=n:r(e,n),e}}({},!1):void 0),check:i}},function(e,t,n){e.exports={default:n(447),__esModule:!0}},function(e,t,n){n(448);var r=n(58).Object;e.exports=function(e,t){return r.create(e,t)}},function(e,t,n){var r=n(103);r(r.S,"Object",{create:n(278)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertColorToString=o,t.convertHexToRGB=i,t.decomposeColor=a,t.getContrastRatio=function(e,t){var n=u(e),r=u(t),o=(Math.max(n,r)+.05)/(Math.min(n,r)+.05);return Number(o.toFixed(2))},t.getLuminance=u,t.emphasize=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15;return u(e)>.5?s(e,t):l(e,t)},t.fade=function(e,t){e=a(e),t=r(t,0,1),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a");return e.values[3]=t,o(e)},t.darken=s,t.lighten=l;!function(e){e&&e.__esModule}(n(339));function r(e,t,n){return e<t?t:e>n?n:e}function o(e){var t=e.type,n=e.values;if(t.indexOf("rgb")>-1)for(var r=0;r<3;r++)n[r]=parseInt(n[r]);var o=void 0;return o=t.indexOf("hsl")>-1?e.type+"("+n[0]+", "+n[1]+"%, "+n[2]+"%":e.type+"("+n[0]+", "+n[1]+", "+n[2],4===n.length?o+=", "+e.values[3]+")":o+=")",o}function i(e){if(4===e.length){for(var t="#",n=1;n<e.length;n++)t+=e.charAt(n)+e.charAt(n);e=t}return"rgb("+parseInt(e.substr(1,2),16)+", "+parseInt(e.substr(3,2),16)+", "+parseInt(e.substr(5,2),16)+")"}function a(e){if("#"===e.charAt(0))return a(i(e));var t=e.indexOf("("),n=e.substring(0,t),r=e.substring(t+1,e.length-1).split(",");return{type:n,values:r=r.map(function(e){return parseFloat(e)})}}function u(e){if((e=a(e)).type.indexOf("rgb")>-1){var t=e.values.map(function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)});return Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}if(e.type.indexOf("hsl")>-1)return e.values[2]/100}function s(e,t){if(e=a(e),t=r(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]*=1-t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]*=1-t;return o(e)}function l(e,t){if(e=a(e),t=r(t,0,1),e.type.indexOf("hsl")>-1)e.values[2]+=(100-e.values[2])*t;else if(e.type.indexOf("rgb")>-1)for(var n=0;n<3;n++)e.values[n]+=(255-e.values[n])*t;return o(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(130)),o=g(n(133)),i=g(n(86)),a=g(n(87)),u=g(n(88)),s=g(n(89)),l=g(n(90)),c=g(n(91)),p=n(2),f=g(p),d=g(n(1)),h=g(n(451)),m=g(n(452)),v=g(n(453)),y=g(n(459));function g(e){return e&&e.__esModule?e:{default:e}}var b=!1,E=!1,O=!1;var w=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),r.state={isKeyboardFocused:!1},r.handleKeyDown=function(e){r.props.disabled||r.props.disableKeyboardFocus||("enter"===(0,m.default)(e)&&r.state.isKeyboardFocused&&r.handleClick(e),"esc"===(0,m.default)(e)&&r.state.isKeyboardFocused&&r.removeKeyboardFocus(e)),r.props.onKeyDown(e)},r.handleKeyUp=function(e){r.props.disabled||r.props.disableKeyboardFocus||"space"===(0,m.default)(e)&&r.state.isKeyboardFocused&&r.handleClick(e),r.props.onKeyUp(e)},r.handleBlur=function(e){r.cancelFocusTimeout(),r.removeKeyboardFocus(e),r.props.onBlur(e)},r.handleFocus=function(e){e&&e.persist(),r.props.disabled||r.props.disableKeyboardFocus||(r.focusTimeout=setTimeout(function(){O&&(r.setKeyboardFocus(e),O=!1)},150),r.props.onFocus(e))},r.handleClick=function(e){r.cancelFocusTimeout(),r.props.disabled||(O=!1,r.removeKeyboardFocus(e),r.props.onClick(e))},o=n,(0,s.default)(r,o)}return(0,l.default)(t,e),(0,u.default)(t,[{key:"componentWillMount",value:function(){var e=this.props,t=e.disabled,n=e.disableKeyboardFocus,r=e.keyboardFocused;t||!r||n||this.setState({isKeyboardFocused:!0})}},{key:"componentDidMount",value:function(){!function(){if(!b){var e=document.createElement("style");e.innerHTML="\n button::-moz-focus-inner,\n input::-moz-focus-inner {\n border: 0;\n padding: 0;\n }\n ",document.body.appendChild(e),b=!0}}(),E||(h.default.on(window,"keydown",function(e){O="tab"===(0,m.default)(e)}),E=!0),this.state.isKeyboardFocused&&(this.button.focus(),this.props.onKeyboardFocus(null,!0))}},{key:"componentWillReceiveProps",value:function(e){(e.disabled||e.disableKeyboardFocus)&&this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),e.onKeyboardFocus&&e.onKeyboardFocus(null,!1))}},{key:"componentWillUnmount",value:function(){this.focusTimeout&&clearTimeout(this.focusTimeout)}},{key:"isKeyboardFocused",value:function(){return this.state.isKeyboardFocused}},{key:"removeKeyboardFocus",value:function(e){this.state.isKeyboardFocused&&(this.setState({isKeyboardFocused:!1}),this.props.onKeyboardFocus(e,!1))}},{key:"setKeyboardFocus",value:function(e){this.state.isKeyboardFocused||(this.setState({isKeyboardFocused:!0}),this.props.onKeyboardFocus(e,!0))}},{key:"cancelFocusTimeout",value:function(){this.focusTimeout&&(clearTimeout(this.focusTimeout),this.focusTimeout=null)}},{key:"createButtonChildren",value:function(){var e=this.props,t=e.centerRipple,n=e.children,r=e.disabled,o=e.disableFocusRipple,i=e.disableKeyboardFocus,a=e.disableTouchRipple,u=e.focusRippleColor,s=e.focusRippleOpacity,l=e.touchRippleColor,c=e.touchRippleOpacity,p=this.state.isKeyboardFocused,d=!p||r||o||i?void 0:f.default.createElement(v.default,{color:u,opacity:s,show:p,style:{overflow:"hidden"},key:"focusRipple"}),h=r||a?void 0:f.default.createElement(y.default,{centerRipple:t,color:l,opacity:c,key:"touchRipple"},n);return[d,h,h?void 0:n]}},{key:"render",value:function(){var e=this,t=this.props,n=(t.centerRipple,t.children),i=t.containerElement,a=t.disabled,u=(t.disableFocusRipple,t.disableKeyboardFocus),s=(t.disableTouchRipple,t.focusRippleColor,t.focusRippleOpacity,t.href),l=(t.keyboardFocused,t.touchRippleColor,t.touchRippleOpacity,t.onBlur,t.onClick,t.onFocus,t.onKeyUp,t.onKeyDown,t.onKeyboardFocus,t.style),p=t.tabIndex,d=t.type,h=(0,o.default)(t,["centerRipple","children","containerElement","disabled","disableFocusRipple","disableKeyboardFocus","disableTouchRipple","focusRippleColor","focusRippleOpacity","href","keyboardFocused","touchRippleColor","touchRippleOpacity","onBlur","onClick","onFocus","onKeyUp","onKeyDown","onKeyboardFocus","style","tabIndex","type"]),m=this.context.muiTheme,v=m.prepareStyles,y=m.enhancedButton,g=(0,c.default)({border:10,boxSizing:"border-box",display:"inline-block",fontFamily:this.context.muiTheme.baseTheme.fontFamily,WebkitTapHighlightColor:y.tapHighlightColor,cursor:a?"default":"pointer",textDecoration:"none",margin:0,padding:0,outline:"none",fontSize:"inherit",fontWeight:"inherit",position:"relative",verticalAlign:s?"middle":null},l);if(g.backgroundColor||g.background||(g.background="none"),a&&s)return f.default.createElement("span",(0,r.default)({},h,{style:g}),n);var b=(0,r.default)({},h,{style:v(g),ref:function(t){return e.button=t},disabled:a,onBlur:this.handleBlur,onFocus:this.handleFocus,onKeyUp:this.handleKeyUp,onKeyDown:this.handleKeyDown,onClick:this.handleClick,tabIndex:a||u?-1:p});s&&(b.href=s);var E=this.createButtonChildren();return f.default.isValidElement(i)?f.default.cloneElement(i,b,E):(s||"button"!==i||(b.type=d),f.default.createElement(s?"a":i,b,E))}}]),t}(p.Component);w.defaultProps={containerElement:"button",onBlur:function(){},onClick:function(){},onFocus:function(){},onKeyDown:function(){},onKeyUp:function(){},onKeyboardFocus:function(){},tabIndex:0,type:"button"},w.contextTypes={muiTheme:d.default.object.isRequired},w.propTypes={},t.default=w},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={once:function(e,t,n){for(var r=t?t.split(" "):[],o=function e(t){return t.target.removeEventListener(t.type,e),n(t)},i=r.length-1;i>=0;i--)this.on(e,r[i],o)},on:function(e,t,n){e.addEventListener?e.addEventListener(t,n):e.attachEvent("on"+t,function(){n.call(e)})},off:function(e,t,n){e.removeEventListener?e.removeEventListener(t,n):e.detachEvent("on"+t,n)},isKeyboard:function(e){return-1!==["keydown","keypress","keyup"].indexOf(e.type)}}},function(e,t){var n=(t=e.exports=function(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return i[e];var o,a=String(e);return(o=n[a.toLowerCase()])?o:(o=r[a.toLowerCase()])||(1===a.length?a.charCodeAt(0):void 0)}).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};
2
+ /*!
3
+ * Programatically add the following
4
+ */
5
+ for(o=97;o<123;o++)n[String.fromCharCode(o)]=o-32;for(var o=48;o<58;o++)n[o-48]=o;for(o=1;o<13;o++)n["f"+o]=o+111;for(o=0;o<10;o++)n["numpad "+o]=o+96;var i=t.names=t.title={};for(o in n)i[n[o]]=o;for(var a in r)n[a]=r[a]},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(86)),o=y(n(87)),i=y(n(88)),a=y(n(89)),u=y(n(90)),s=y(n(91)),l=n(2),c=y(l),p=y(n(1)),f=y(n(21)),d=y(n(282)),h=y(n(283)),m=y(n(158)),v=y(n(455));function y(e){return e&&e.__esModule?e:{default:e}}var g=750,b=function(e){function t(){var e,n,i,u;(0,o.default)(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return n=i=(0,a.default)(this,(e=t.__proto__||(0,r.default)(t)).call.apply(e,[this].concat(l))),i.pulsate=function(){var e=f.default.findDOMNode(i.refs.innerCircle);if(e){var t="scale(1)"===(e.style.transform||"scale(1)")?"scale(0.85)":"scale(1)";h.default.set(e.style,"transform",t),i.timeout=setTimeout(i.pulsate,g)}},u=n,(0,a.default)(i,u)}return(0,u.default)(t,e),(0,i.default)(t,[{key:"componentDidMount",value:function(){this.props.show&&(this.setRippleSize(),this.pulsate())}},{key:"shouldComponentUpdate",value:function(e,t){return!(0,d.default)(this.props,e)||!(0,d.default)(this.state,t)}},{key:"componentDidUpdate",value:function(){this.props.show?(this.setRippleSize(),this.pulsate()):this.timeout&&clearTimeout(this.timeout)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timeout)}},{key:"getRippleElement",value:function(e){var t=e.color,n=e.innerStyle,r=e.opacity,o=this.context.muiTheme,i=o.prepareStyles,a=o.ripple,u=(0,s.default)({position:"absolute",height:"100%",width:"100%",borderRadius:"50%",opacity:r||.16,backgroundColor:t||a.color,transition:m.default.easeOut(g+"ms","transform",null,m.default.easeInOutFunction)},n);return c.default.createElement("div",{ref:"innerCircle",style:i((0,s.default)({},u))})}},{key:"setRippleSize",value:function(){var e=f.default.findDOMNode(this.refs.innerCircle),t=e.offsetHeight,n=e.offsetWidth,r=Math.max(t,n),o=0;-1!==e.style.top.indexOf("px",e.style.top.length-2)&&(o=parseInt(e.style.top)),e.style.height=r+"px",e.style.top=t/2-r/2+o+"px"}},{key:"render",value:function(){var e=this.props,t=e.show,n=e.style,r=(0,s.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0},n),o=t?this.getRippleElement(this.props):null;return c.default.createElement(v.default,{maxScale:.85,style:r},o)}}]),t}(l.Component);b.contextTypes={muiTheme:p.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";var r=Object.prototype.hasOwnProperty;function o(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}e.exports=function(e,t){if(o(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var a=0;a<n.length;a++)if(!r.call(t,n[a])||!o(e[n[a]],t[n[a]]))return!1;return!0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(130)),o=v(n(133)),i=v(n(86)),a=v(n(87)),u=v(n(88)),s=v(n(89)),l=v(n(90)),c=v(n(91)),p=n(2),f=v(p),d=v(n(1)),h=v(n(340)),m=v(n(458));function v(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.childStyle,i=e.enterDelay,a=e.maxScale,u=e.minScale,s=e.style,l=(0,o.default)(e,["children","childStyle","enterDelay","maxScale","minScale","style"]),p=this.context.muiTheme.prepareStyles,d=(0,c.default)({},{position:"relative",height:"100%"},s),v=f.default.Children.map(t,function(e){return f.default.createElement(m.default,{key:e.key,enterDelay:i,maxScale:a,minScale:u,style:n},e)});return f.default.createElement(h.default,(0,r.default)({},l,{style:p(d),component:"div"}),v)}}]),t}(p.Component);y.defaultProps={enterDelay:0},y.contextTypes={muiTheme:d.default.object.isRequired},y.propTypes={},t.default=y},function(e,t){e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter(function(e){return null!=e})).length)return 1===t.length?t[0]:t.reduce(function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}})}},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,function(e){return e}).forEach(function(e){t[e.key]=e}),t},t.mergeChildMappings=function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},o=[];for(var i in e)t.hasOwnProperty(i)?o.length&&(r[i]=o,o=[]):o.push(i);var a=void 0,u={};for(var s in t){if(r.hasOwnProperty(s))for(a=0;a<r[s].length;a++){var l=r[s][a];u[r[s][a]]=n(l)}u[s]=n(s)}for(a=0;a<o.length;a++)u[o[a]]=n(o[a]);return u};var r=n(2)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=y(n(130)),o=y(n(133)),i=y(n(86)),a=y(n(87)),u=y(n(88)),s=y(n(89)),l=y(n(90)),c=y(n(91)),p=n(2),f=y(p),d=y(n(1)),h=y(n(21)),m=y(n(283)),v=y(n(158));function y(e){return e&&e.__esModule?e:{default:e}}var g=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",m.default.set(t,"transform","scale("+this.props.minScale+")"),this.leaveTimer=setTimeout(e,450)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style;e.opacity="1",m.default.set(e,"transform","scale("+this.props.maxScale+")")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity="0",m.default.set(t,"transform","scale(0)"),this.enterTimer=setTimeout(e,this.props.enterDelay)}},{key:"render",value:function(){var e=this.props,t=e.children,n=(e.enterDelay,e.maxScale,e.minScale,e.style),i=(0,o.default)(e,["children","enterDelay","maxScale","minScale","style"]),a=this.context.muiTheme.prepareStyles,u=(0,c.default)({},{position:"absolute",height:"100%",width:"100%",top:0,left:0,transition:v.default.easeOut(null,["transform","opacity"])},n);return f.default.createElement("div",(0,r.default)({},i,{style:a(u)}),t)}}]),t}(p.Component);g.defaultProps={enterDelay:0,maxScale:1,minScale:0},g.contextTypes={muiTheme:d.default.object.isRequired},g.propTypes={},t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(460)),o=g(n(86)),i=g(n(87)),a=g(n(88)),u=g(n(89)),s=g(n(90)),l=g(n(469)),c=g(n(91)),p=n(2),f=g(p),d=g(n(1)),h=g(n(21)),m=g(n(340)),v=g(n(470)),y=g(n(471));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){return(0,l.default)(e).slice(1)},E=function(e){function t(e,n){(0,i.default)(this,t);var a=(0,u.default)(this,(t.__proto__||(0,o.default)(t)).call(this,e,n));return a.handleMouseDown=function(e){0===e.button&&a.start(e,!1)},a.handleMouseUp=function(){a.end()},a.handleMouseLeave=function(){a.end()},a.handleTouchStart=function(e){e.stopPropagation(),a.props.abortOnScroll&&e.touches&&(a.startListeningForScrollAbort(e),a.startTime=Date.now()),a.start(e,!0)},a.handleTouchEnd=function(){a.end()},a.handleTouchMove=function(e){if(Math.abs(Date.now()-a.startTime)>300)a.stopListeningForScrollAbort();else{var t=Math.abs(e.touches[0].clientY-a.firstTouchY),n=Math.abs(e.touches[0].clientX-a.firstTouchX);if(t>6||n>6){var o=a.state.ripples,i=o[0],u=f.default.cloneElement(i,{aborted:!0});o=b(o),o=[].concat((0,r.default)(o),[u]),a.setState({ripples:o},function(){a.end()})}}},a.ignoreNextMouseDown=!1,a.state={hasRipples:!1,nextKey:0,ripples:[]},a}return(0,s.default)(t,e),(0,a.default)(t,[{key:"start",value:function(e,t){var n=this.context.muiTheme.ripple;if(!this.ignoreNextMouseDown||t){var o=this.state.ripples;o=[].concat((0,r.default)(o),[f.default.createElement(y.default,{key:this.state.nextKey,style:this.props.centerRipple?{}:this.getRippleStyle(e),color:this.props.color||n.color,opacity:this.props.opacity,touchGenerated:t})]),this.ignoreNextMouseDown=t,this.setState({hasRipples:!0,nextKey:this.state.nextKey+1,ripples:o})}else this.ignoreNextMouseDown=!1}},{key:"end",value:function(){var e=this.state.ripples;this.setState({ripples:b(e)}),this.props.abortOnScroll&&this.stopListeningForScrollAbort()}},{key:"startListeningForScrollAbort",value:function(e){this.firstTouchY=e.touches[0].clientY,this.firstTouchX=e.touches[0].clientX,document.body.addEventListener("touchmove",this.handleTouchMove)}},{key:"stopListeningForScrollAbort",value:function(){document.body.removeEventListener("touchmove",this.handleTouchMove)}},{key:"getRippleStyle",value:function(e){var t=h.default.findDOMNode(this),n=t.offsetHeight,r=t.offsetWidth,o=v.default.offset(t),i=e.touches&&e.touches.length,a=i?e.touches[0].pageX:e.pageX,u=i?e.touches[0].pageY:e.pageY,s=a-o.left,l=u-o.top,c=this.calcDiag(s,l),p=this.calcDiag(r-s,l),f=this.calcDiag(r-s,n-l),d=this.calcDiag(s,n-l),m=Math.max(c,p,f,d),y=2*m;return{directionInvariant:!0,height:y,width:y,top:l-m,left:s-m}}},{key:"calcDiag",value:function(e,t){return Math.sqrt(e*e+t*t)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.style,r=this.state,o=r.hasRipples,i=r.ripples,a=this.context.muiTheme.prepareStyles,u=void 0;if(o){var s=(0,c.default)({height:"100%",width:"100%",position:"absolute",top:0,left:0,overflow:"hidden",pointerEvents:"none",zIndex:1},n);u=f.default.createElement(m.default,{style:a(s)},i)}return f.default.createElement("div",{onMouseUp:this.handleMouseUp,onMouseDown:this.handleMouseDown,onMouseLeave:this.handleMouseLeave,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd},u,t)}}]),t}(p.Component);E.defaultProps={abortOnScroll:!0},E.contextTypes={muiTheme:d.default.object.isRequired},E.propTypes={},t.default=E},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(341));t.default=function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return(0,r.default)(e)}},function(e,t,n){n(334),n(462),e.exports=n(58).Array.from},function(e,t,n){"use strict";var r=n(269),o=n(103),i=n(249),a=n(463),u=n(464),s=n(331),l=n(465),c=n(466);o(o.S+o.F*!n(468)(function(e){Array.from(e)}),"Array",{from:function(e){var t,n,o,p,f=i(e),d="function"==typeof this?this:Array,h=arguments.length,m=h>1?arguments[1]:void 0,v=void 0!==m,y=0,g=c(f);if(v&&(m=r(m,h>2?arguments[2]:void 0,2)),void 0==g||d==Array&&u(g))for(n=new d(t=s(f.length));t>y;y++)l(n,y,v?m(f[y],y):f[y]);else for(p=g.call(f),n=new d;!(o=p.next()).done;y++)l(n,y,v?a(p,m,[o.value,y],!0):o.value);return n.length=y,n}})},function(e,t,n){var r=n(154);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){var r=n(183),o=n(64)("iterator"),i=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||i[o]===e)}},function(e,t,n){"use strict";var r=n(105),o=n(182);e.exports=function(e,t,n){t in e?r.f(e,t,o(0,n)):e[t]=n}},function(e,t,n){var r=n(467),o=n(64)("iterator"),i=n(183);e.exports=n(58).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||i[r(e)]}},function(e,t,n){var r=n(271),o=n(64)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(64)("iterator"),o=!1;try{var i=[7][r]();i.return=function(){o=!0},Array.from(i,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i=[7],a=i[r]();a.next=function(){return{done:n=!0}},i[r]=function(){return a},e(i)}catch(e){}return n}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(341));t.default=function(e){return Array.isArray(e)?e:(0,r.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={isDescendant:function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},offset:function(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=g(n(130)),o=g(n(133)),i=g(n(86)),a=g(n(87)),u=g(n(88)),s=g(n(89)),l=g(n(90)),c=g(n(91)),p=n(2),f=g(p),d=g(n(1)),h=g(n(21)),m=g(n(282)),v=g(n(283)),y=g(n(158));function g(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"shouldComponentUpdate",value:function(e){return!(0,m.default)(this.props,e)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.enterTimer),clearTimeout(this.leaveTimer)}},{key:"componentWillAppear",value:function(e){this.initializeAnimation(e)}},{key:"componentWillEnter",value:function(e){this.initializeAnimation(e)}},{key:"componentDidAppear",value:function(){this.animate()}},{key:"componentDidEnter",value:function(){this.animate()}},{key:"componentWillLeave",value:function(e){h.default.findDOMNode(this).style.opacity=0;var t=this.props.aborted?0:2e3;this.enterTimer=setTimeout(e,t)}},{key:"animate",value:function(){var e=h.default.findDOMNode(this).style,t=y.default.easeOut("2s","opacity")+", "+y.default.easeOut("1s","transform");v.default.set(e,"transition",t),v.default.set(e,"transform","scale(1)")}},{key:"initializeAnimation",value:function(e){var t=h.default.findDOMNode(this).style;t.opacity=this.props.opacity,v.default.set(t,"transform","scale(0)"),this.leaveTimer=setTimeout(e,0)}},{key:"render",value:function(){var e=this.props,t=(e.aborted,e.color),n=(e.opacity,e.style),i=(e.touchGenerated,(0,o.default)(e,["aborted","color","opacity","style","touchGenerated"])),a=this.context.muiTheme.prepareStyles,u=(0,c.default)({position:"absolute",top:0,left:0,height:"100%",width:"100%",borderRadius:"50%",backgroundColor:t},n);return f.default.createElement("div",(0,r.default)({},i,{style:a(u)}))}}]),t}(p.Component);b.defaultProps={opacity:.1,aborted:!1},b.contextTypes={muiTheme:d.default.object.isRequired},b.propTypes={},t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(473));t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(130)),o=m(n(133)),i=m(n(86)),a=m(n(87)),u=m(n(88)),s=m(n(89)),l=m(n(90)),c=m(n(91)),p=n(2),f=m(p),d=m(n(1)),h=(m(n(474)),m(n(158)));function m(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){return(0,a.default)(this,t),(0,s.default)(this,(t.__proto__||(0,i.default)(t)).apply(this,arguments))}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=(e.circle,e.rounded,e.style),i=(e.transitionEnabled,e.zDepth,(0,o.default)(e,["children","circle","rounded","style","transitionEnabled","zDepth"])),a=this.context.muiTheme.prepareStyles,u=function(e,t){var n=e.rounded,r=e.circle,o=e.transitionEnabled,i=e.zDepth,a=t.muiTheme,u=a.baseTheme,s=a.paper,l=a.borderRadius;return{root:{color:s.color,backgroundColor:s.backgroundColor,transition:o&&h.default.easeOut(),boxSizing:"border-box",fontFamily:u.fontFamily,WebkitTapHighlightColor:"rgba(0,0,0,0)",boxShadow:s.zDepthShadows[i-1],borderRadius:r?"50%":n?l:"0px"}}}(this.props,this.context);return f.default.createElement("div",(0,r.default)({},i,{style:a((0,c.default)(u.root,n))}),t)}}]),t}(p.Component);v.defaultProps={circle:!1,rounded:!0,transitionEnabled:!0,zDepth:1},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var o=r.default.oneOf(["left","middle","right"]),i=r.default.oneOf(["top","center","bottom"]);t.default={corners:r.default.oneOf(["bottom-left","bottom-right","top-left","top-right"]),horizontal:o,vertical:i,origin:r.default.shape({horizontal:o,vertical:i}),cornersAndCenter:r.default.oneOf(["bottom-center","bottom-left","bottom-right","top-center","top-left","top-right"]),stringOrNumber:r.default.oneOfType([r.default.string,r.default.number]),zDepth:r.default.oneOf([0,1,2,3,4,5])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(2)),o=a(n(284)),i=a(n(285));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z"}))};(u=(0,o.default)(u)).displayName="CommunicationMailOutline",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);o(n(342)),o(n(343));function o(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return function(t){var n=(0,r.createFactory)(t);return function(t){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,t.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,t),r.prototype.shouldComponentUpdate=function(t){return e(this.props,t)},r.prototype.render=function(){return n(this.props)},r}(r.Component)}}},function(e,t,n){"use strict";t.__esModule=!0;t.default=function(e,t){return function(n){return n[e]=t,n}}},function(e,t,n){"use strict";t.__esModule=!0;t.default=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":void 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=m(n(130)),o=m(n(133)),i=m(n(86)),a=m(n(87)),u=m(n(88)),s=m(n(89)),l=m(n(90)),c=m(n(91)),p=n(2),f=m(p),d=m(n(1)),h=m(n(158));function m(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function t(){var e,n,r,o;(0,a.default)(this,t);for(var u=arguments.length,l=Array(u),c=0;c<u;c++)l[c]=arguments[c];return n=r=(0,s.default)(this,(e=t.__proto__||(0,i.default)(t)).call.apply(e,[this].concat(l))),r.state={hovered:!1},r.handleMouseLeave=function(e){r.setState({hovered:!1}),r.props.onMouseLeave(e)},r.handleMouseEnter=function(e){r.setState({hovered:!0}),r.props.onMouseEnter(e)},o=n,(0,s.default)(r,o)}return(0,l.default)(t,e),(0,u.default)(t,[{key:"render",value:function(){var e=this.props,t=e.children,n=e.color,i=e.hoverColor,a=(e.onMouseEnter,e.onMouseLeave,e.style),u=e.viewBox,s=(0,o.default)(e,["children","color","hoverColor","onMouseEnter","onMouseLeave","style","viewBox"]),l=this.context.muiTheme,p=l.svgIcon,d=l.prepareStyles,m=n||"currentColor",v=i||m,y=(0,c.default)({display:"inline-block",color:p.color,fill:this.state.hovered?v:m,height:24,width:24,userSelect:"none",transition:h.default.easeOut()},a);return f.default.createElement("svg",(0,r.default)({},s,{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,style:d(y),viewBox:u}),t)}}]),t}(p.Component);v.muiName="SvgIcon",v.defaultProps={onMouseEnter:function(){},onMouseLeave:function(){},viewBox:"0 0 24 24"},v.contextTypes={muiTheme:d.default.object.isRequired},v.propTypes={},t.default=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=s(n(1)),a=s(n(268)),u=n(15);function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={currentUpload:e.value,mediaUpload:wp.media({title:n.props.translate("Choose an image"),button:{text:n.props.translate("Choose an image")},multiple:!1,library:{type:"image"}})},n.state.mediaUpload.on("select",n.selectUpload.bind(n)),n.chooseButton=(0,o.createRef)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"componentDidUpdate",value:function(e,t){var n=this.state.currentUpload!==t.currentUpload;n&&this.sendChangeEvent(),n&&""===this.state.currentUpload&&this.chooseButton.current.refs.container.button.focus()}},{key:"chooseUpload",value:function(e){e.preventDefault(),this.state.mediaUpload.open()}},{key:"selectUpload",value:function(){var e=this.state.mediaUpload.state().get("selection").first().toJSON();this.setState({currentUpload:e.url})}},{key:"removeUpload",value:function(){this.setState({currentUpload:""})}},{key:"renderRemoveButton",value:function(){return this.state.currentUpload?wp.element.createElement(a.default,{label:this.props.translate("Remove the image"),onClick:this.removeUpload.bind(this),className:"yoast-wizard-image-upload-container-buttons__remove",type:"button"}):null}},{key:"renderImage",value:function(){return this.state.currentUpload?wp.element.createElement("img",{className:"yoast-wizard-image-upload-container__image",src:this.state.currentUpload,alt:this.props.translate("image preview")}):null}},{key:"render",value:function(){return wp.element.createElement("div",{className:"yoast-wizard-image-upload-container"},wp.element.createElement("p",{className:"yoast-wizard-image-upload-container-description"},this.props.properties.label),this.renderImage(),wp.element.createElement("div",{className:"yoast-wizard-image-upload-container-buttons"},wp.element.createElement(a.default,{label:this.props.translate("Choose an image"),onClick:this.chooseUpload.bind(this),type:"button",className:"yoast-wizard-image-upload-container-buttons__choose",ref:this.chooseButton}),this.renderRemoveButton()))}},{key:"sendChangeEvent",value:function(){var e={target:{name:this.props.name,value:this.state.currentUpload}};this.props.onChange(e)}}]),t}();l.propTypes={translate:i.default.func.isRequired,name:i.default.string.isRequired,value:i.default.any,onChange:i.default.func,properties:i.default.shape({label:i.default.string})},t.default=(0,u.localize)(l)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=s(n(1)),u=s(n(482));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){return wp.element.createElement("div",null,this.props.properties.suggestions.map(function(e,t){return wp.element.createElement(u.default,r({key:t},e))}))}}]),t}();t.default=l,l.propTypes={properties:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=l(n(1)),u=l(n(483)),s=l(n(484));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){var e={};return"primary"===this.props.button.type&&(e.labelPosition="before",e.icon=wp.element.createElement(u.default,{viewBox:"0 0 28 28"})),wp.element.createElement("div",{className:"yoast-wizard--list yoast-wizard--columns yoast-wizard--suggestion"},wp.element.createElement("div",{className:"yoast-wizard--column__push_right"},wp.element.createElement("h3",{className:"yoast-wizard--heading"},this.props.title),wp.element.createElement("p",null,this.props.copy),wp.element.createElement(s.default,r({},this.props.button,e))),wp.element.createElement("div",{className:"yoast-wizard--column__push_left yoast-wizard--video-frame"},wp.element.createElement("iframe",{width:"400",height:"225",src:this.props.video.url,frameBorder:"0",allowFullScreen:!0,title:this.props.video.title})))}}]),t}();t.default=c,c.propTypes={title:a.default.string.isRequired,copy:a.default.string.isRequired,video:a.default.object.isRequired,button:a.default.object.isRequired}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(2)),o=a(n(284)),i=a(n(285));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"}))};(u=(0,o.default)(u)).displayName="NavigationArrowForward",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=s(n(1)),i=s(n(485)),a=n(6),u=s(n(486));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return wp.element.createElement(u.default,r({"aria-label":null},e))},c=(0,a.makeOutboundLink)(l);l.propTypes={href:o.default.string.isRequired,icon:o.default.object},l.defaultProps={icon:wp.element.createElement(i.default,{viewBox:"0 0 28 28"})},t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(2)),o=a(n(284)),i=a(n(285));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){return r.default.createElement(i.default,e,r.default.createElement("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"}))};(u=(0,o.default)(u)).displayName="ActionInfo",u.muiName="SvgIcon",t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=a(n(1)),i=a(n(268));function a(e){return e&&e.__esModule?e:{default:e}}var u=function(e){var t={primary:"primary"===e.type};return t["aria-label"]=e.label,wp.element.createElement(i.default,r({},t,e))};u.propTypes={type:o.default.string,label:o.default.string,disableFocusRipple:o.default.bool,disableTouchRipple:o.default.bool,disableKeyboardFocus:o.default.bool},u.defaultProps={type:"",label:"",disableFocusRipple:!1,disableTouchRipple:!0,disableKeyboardFocus:!1},t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=n(4),i=function(e){return e&&e.__esModule?e:{default:e}}(n(1));var a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,o.Component),r(t,[{key:"render",value:function(){return wp.element.createElement("div",{className:"yoast-wizard--columns"},wp.element.createElement("div",{className:"yoast-wizard--column__push_right"},wp.element.createElement("h2",{className:"yoast-wizard--heading"},this.props.properties.title),wp.element.createElement("p",null,this.props.properties.message)),wp.element.createElement("div",{className:"yoast-wizard--column__push_left"},wp.element.createElement("a",{href:this.props.properties.href,target:"_blank",id:"plugin-training-image-link"},wp.element.createElement("img",{width:"100%",height:"100%",src:this.props.properties.image.src,alt:this.props.properties.image.alt}))))}}]),t}();a.propTypes={properties:i.default.object.isRequired},t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(4),a=n(3),u=n(5),s=f(n(8)),l=f(n(489)),c=n(286),p=f(c);function f(e){return e&&e.__esModule?e:{default:e}}var d=s.default.div.withConfig({displayName:"WordPressUserSelectorOnboardingWizard__Container",componentId:"sc-8tvt0m-0"})(["max-width:250px;padding-bottom:7px;"]),h=s.default.p.withConfig({displayName:"WordPressUserSelectorOnboardingWizard__UserInformation",componentId:"sc-8tvt0m-1"})(["font-size:14px;margin-top:0;"]),m=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),o(t,[{key:"render",value:function(){return wp.element.createElement(i.Fragment,null,wp.element.createElement(d,null,wp.element.createElement(u.Label,{for:this.props.name,optionalAttributes:{className:"yoast-wizard-text-input-label"}},(0,a.__)("The name of the person","wordpress-seo")),wp.element.createElement(p.default,this.props)),wp.element.createElement(h,null,(0,a.sprintf)((0,a.__)("You can edit the details shown in meta data, like the social profiles, the name and the description of this user on their %1$s profile page.","wordpress-seo"),"WordPress")))}}]),t}();m.propTypes=r({},c.WordPressUserSelectorPropTypes),t.default=(0,l.default)(m)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&