Version Description
Download this release
Release Info
Developer | Yoast |
Plugin | Yoast SEO |
Version | 10.0 |
Comparing to | |
See all releases |
Code changes from version 9.7 to 10.0
- admin/class-admin-asset-analysis-worker-location.php +0 -21
- admin/class-admin.php +0 -1
- admin/class-bulk-editor-list-table.php +3 -0
- admin/class-expose-shortlinks.php +0 -1
- admin/class-gutenberg-compatibility.php +2 -2
- admin/config-ui/class-configuration-structure.php +8 -8
- admin/config-ui/components/class-component-suggestions.php +9 -14
- admin/config-ui/fields/class-field-company-logo.php +2 -0
- admin/config-ui/fields/class-field-company-name.php +2 -0
- admin/config-ui/fields/class-field-company-or-person.php +2 -0
- admin/config-ui/fields/class-field-person-name.php +2 -0
- admin/formatter/class-metabox-formatter.php +0 -1
- admin/views/sidebar.php +5 -5
- admin/views/tabs/dashboard/features.php +0 -3
- css/dist/{admin-global-970-rtl.min.css → admin-global-1000-rtl.min.css} +0 -0
- css/dist/{admin-global-970.min.css → admin-global-1000.min.css} +0 -0
- css/dist/{adminbar-970-rtl.min.css → adminbar-1000-rtl.min.css} +0 -0
- css/dist/{adminbar-970.min.css → adminbar-1000.min.css} +0 -0
- css/dist/{alerts-970-rtl.min.css → alerts-1000-rtl.min.css} +0 -0
- css/dist/{alerts-970.min.css → alerts-1000.min.css} +0 -0
- css/dist/{dashboard-970-rtl.min.css → dashboard-1000-rtl.min.css} +0 -0
- css/dist/{dashboard-970.min.css → dashboard-1000.min.css} +0 -0
- css/dist/{edit-page-970-rtl.min.css → edit-page-1000-rtl.min.css} +0 -0
- css/dist/{edit-page-970.min.css → edit-page-1000.min.css} +0 -0
- css/dist/{featured-image-970-rtl.min.css → featured-image-1000-rtl.min.css} +0 -0
- css/dist/{featured-image-970.min.css → featured-image-1000.min.css} +0 -0
- css/dist/{filter-explanation-970-rtl.min.css → filter-explanation-1000-rtl.min.css} +0 -0
- css/dist/{filter-explanation-970.min.css → filter-explanation-1000.min.css} +0 -0
- css/dist/{inside-editor-970-rtl.min.css → inside-editor-1000-rtl.min.css} +0 -0
- css/dist/{inside-editor-970.min.css → inside-editor-1000.min.css} +0 -0
- css/dist/{metabox-970-rtl.min.css → metabox-1000-rtl.min.css} +0 -0
- css/dist/{metabox-970.min.css → metabox-1000.min.css} +0 -0
- css/dist/{metabox-primary-category-970-rtl.min.css → metabox-primary-category-1000-rtl.min.css} +0 -0
- css/dist/{metabox-primary-category-970.min.css → metabox-primary-category-1000.min.css} +0 -0
- css/dist/{search-appearance-970-rtl.min.css → search-appearance-1000-rtl.min.css} +0 -0
- css/dist/{search-appearance-970.min.css → search-appearance-1000.min.css} +0 -0
- css/dist/{structured-data-blocks-970-rtl.min.css → structured-data-blocks-1000-rtl.min.css} +0 -0
- css/dist/{structured-data-blocks-970.min.css → structured-data-blocks-1000.min.css} +0 -0
- css/dist/{toggle-switch-970-rtl.min.css → toggle-switch-1000-rtl.min.css} +0 -0
- css/dist/{toggle-switch-970.min.css → toggle-switch-1000.min.css} +0 -0
- css/dist/{wpseo-dismissible-970-rtl.min.css → wpseo-dismissible-1000-rtl.min.css} +0 -0
- css/dist/{wpseo-dismissible-970.min.css → wpseo-dismissible-1000.min.css} +0 -0
- css/dist/{yoast-components-970-rtl.min.css → yoast-components-1000-rtl.min.css} +0 -0
- css/dist/{yoast-components-970.min.css → yoast-components-1000.min.css} +0 -0
- css/dist/{yoast-extensions-970-rtl.min.css → yoast-extensions-1000-rtl.min.css} +0 -0
- css/dist/{yoast-extensions-970.min.css → yoast-extensions-1000.min.css} +0 -0
- css/dist/{yst_plugin_tools-970-rtl.min.css → yst_plugin_tools-1000-rtl.min.css} +0 -0
- css/dist/{yst_plugin_tools-970.min.css → yst_plugin_tools-1000.min.css} +0 -0
- css/dist/{yst_seo_score-970-rtl.min.css → yst_seo_score-1000-rtl.min.css} +0 -0
- css/dist/{yst_seo_score-970.min.css → yst_seo_score-1000.min.css} +0 -0
- {admin → deprecated}/class-recalibration-beta.php +18 -0
- frontend/class-opengraph-image.php +29 -9
- frontend/class-twitter.php +0 -2
- images/BasicSEO.svg +0 -1
- images/all-round-SEO.svg +1 -0
- inc/class-myyoast-api-request.php +290 -0
- inc/class-upgrade.php +20 -6
- inc/class-wpseo-meta.php +14 -8
- inc/class-wpseo-replace-vars.php +15 -5
- inc/class-wpseo-utils.php +52 -0
- inc/exceptions/class-myyoast-authentication-exception.php +13 -0
- inc/exceptions/class-myyoast-bad-request-exception.php +13 -0
- inc/exceptions/class-myyoast-invalid-json-exception.php +13 -0
- inc/options/class-wpseo-option-wpseo.php +20 -1
- inc/options/class-wpseo-taxonomy-meta.php +40 -4
- js/dist/analysis-1000.min.js +21 -0
admin/class-admin-asset-analysis-worker-location.php
CHANGED
@@ -33,16 +33,6 @@ final class WPSEO_Admin_Asset_Analysis_Worker_Location implements WPSEO_Admin_As
|
|
33 |
}
|
34 |
|
35 |
$analysis_worker = 'wp-seo-' . $name . '-' . $flat_version;
|
36 |
-
if ( $name === 'analysis-worker' && WPSEO_Recalibration_Beta::is_enabled() ) {
|
37 |
-
/*
|
38 |
-
* Using a flag to determine whether the local file or the proxy is used.
|
39 |
-
* This is for the recalibration development.
|
40 |
-
*/
|
41 |
-
$analysis_worker = 'wp-seo-' . $name . '-recalibration-' . $flat_version;
|
42 |
-
if ( ! $this->use_recalibration_local_file() ) {
|
43 |
-
$analysis_worker = admin_url( 'admin.php?page=wpseo_myyoast_proxy&file=research-webworker&plugin_version=' . $flat_version );
|
44 |
-
}
|
45 |
-
}
|
46 |
|
47 |
$this->asset_location = WPSEO_Admin_Asset_Manager::create_default_location();
|
48 |
$this->asset = new WPSEO_Admin_Asset(
|
@@ -78,15 +68,4 @@ final class WPSEO_Admin_Asset_Analysis_Worker_Location implements WPSEO_Admin_As
|
|
78 |
|
79 |
return $this->asset_location->get_url( $asset, $type );
|
80 |
}
|
81 |
-
|
82 |
-
/**
|
83 |
-
* Checks if the recalibration beta should use the local file.
|
84 |
-
*
|
85 |
-
* If false, the my-yoast-proxy should be used.
|
86 |
-
*
|
87 |
-
* @return bool Whether the local file should be used.
|
88 |
-
*/
|
89 |
-
protected function use_recalibration_local_file() {
|
90 |
-
return defined( 'YOAST_SEO_RECALIBRATION_USE_LOCAL_FILE' ) && YOAST_SEO_RECALIBRATION_USE_LOCAL_FILE;
|
91 |
-
}
|
92 |
}
|
33 |
}
|
34 |
|
35 |
$analysis_worker = 'wp-seo-' . $name . '-' . $flat_version;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
$this->asset_location = WPSEO_Admin_Asset_Manager::create_default_location();
|
38 |
$this->asset = new WPSEO_Admin_Asset(
|
68 |
|
69 |
return $this->asset_location->get_url( $asset, $type );
|
70 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
}
|
admin/class-admin.php
CHANGED
@@ -109,7 +109,6 @@ class WPSEO_Admin {
|
|
109 |
$integrations[] = new WPSEO_Admin_Media_Purge_Notification();
|
110 |
$integrations[] = new WPSEO_Admin_Gutenberg_Compatibility_Notification();
|
111 |
$integrations[] = new WPSEO_Expose_Shortlinks();
|
112 |
-
$integrations[] = new WPSEO_Recalibration_Beta();
|
113 |
$integrations[] = new WPSEO_MyYoast_Proxy();
|
114 |
$integrations[] = $this->admin_features['google_search_console'];
|
115 |
$integrations = array_merge( $integrations, $this->initialize_seo_links(), $this->initialize_cornerstone_content() );
|
109 |
$integrations[] = new WPSEO_Admin_Media_Purge_Notification();
|
110 |
$integrations[] = new WPSEO_Admin_Gutenberg_Compatibility_Notification();
|
111 |
$integrations[] = new WPSEO_Expose_Shortlinks();
|
|
|
112 |
$integrations[] = new WPSEO_MyYoast_Proxy();
|
113 |
$integrations[] = $this->admin_features['google_search_console'];
|
114 |
$integrations = array_merge( $integrations, $this->initialize_seo_links(), $this->initialize_cornerstone_content() );
|
admin/class-bulk-editor-list-table.php
CHANGED
@@ -413,6 +413,9 @@ class WPSEO_Bulk_List_Table extends WP_List_Table {
|
|
413 |
}
|
414 |
|
415 |
/**
|
|
|
|
|
|
|
416 |
*
|
417 |
* @return array
|
418 |
*/
|
413 |
}
|
414 |
|
415 |
/**
|
416 |
+
* Gets a list of sortable columns.
|
417 |
+
*
|
418 |
+
* The format is: 'internal-name' => array( 'orderby', bool ).
|
419 |
*
|
420 |
* @return array
|
421 |
*/
|
admin/class-expose-shortlinks.php
CHANGED
@@ -33,7 +33,6 @@ class WPSEO_Expose_Shortlinks implements WPSEO_WordPress_Integration {
|
|
33 |
'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects',
|
34 |
'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis',
|
35 |
'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription',
|
36 |
-
'shortlinks.recalibration_beta_metabox' => 'https://yoa.st/recalibration-beta-metabox',
|
37 |
'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox',
|
38 |
'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar',
|
39 |
);
|
33 |
'shortlinks.upsell.gsc.create_redirect_button' => 'https://yoa.st/redirects',
|
34 |
'shortlinks.readability_analysis_info' => 'https://yoa.st/readability-analysis',
|
35 |
'shortlinks.activate_premium_info' => 'https://yoa.st/activate-subscription',
|
|
|
36 |
'shortlinks.upsell.sidebar.morphology_upsell_metabox' => 'https://yoa.st/morphology-upsell-metabox',
|
37 |
'shortlinks.upsell.sidebar.morphology_upsell_sidebar' => 'https://yoa.st/morphology-upsell-sidebar',
|
38 |
);
|
admin/class-gutenberg-compatibility.php
CHANGED
@@ -15,14 +15,14 @@ class WPSEO_Gutenberg_Compatibility {
|
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
-
const CURRENT_RELEASE = '5.
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
-
const MINIMUM_SUPPORTED = '5.
|
26 |
|
27 |
/**
|
28 |
* @var string
|
15 |
*
|
16 |
* @var string
|
17 |
*/
|
18 |
+
const CURRENT_RELEASE = '5.2.0';
|
19 |
|
20 |
/**
|
21 |
* The minimally supported version of Gutenberg by the plugin.
|
22 |
*
|
23 |
* @var string
|
24 |
*/
|
25 |
+
const MINIMUM_SUPPORTED = '5.2.0';
|
26 |
|
27 |
/**
|
28 |
* @var string
|
admin/config-ui/class-configuration-structure.php
CHANGED
@@ -68,14 +68,14 @@ class WPSEO_Configuration_Structure {
|
|
68 |
public function initialize() {
|
69 |
$this->add_step( 'intro', __( 'Welcome!', 'wordpress-seo' ), $this->fields['intro'], false, true );
|
70 |
|
71 |
-
$this->add_step( '
|
72 |
-
$this->add_step( '
|
73 |
$this->add_step(
|
74 |
-
'
|
75 |
__( 'Company or person', 'wordpress-seo' ),
|
76 |
$this->fields['publishingEntity']
|
77 |
);
|
78 |
-
$this->add_step( '
|
79 |
|
80 |
$fields = array( 'postTypeVisibility' );
|
81 |
|
@@ -83,19 +83,19 @@ class WPSEO_Configuration_Structure {
|
|
83 |
foreach ( $post_type_factory->get_fields() as $post_type_field ) {
|
84 |
$fields[] = $post_type_field->get_identifier();
|
85 |
}
|
86 |
-
$this->add_step( '
|
87 |
|
88 |
$this->add_step(
|
89 |
-
'
|
90 |
__( 'Multiple authors', 'wordpress-seo' ),
|
91 |
$this->fields['multipleAuthors']
|
92 |
);
|
93 |
$this->add_step(
|
94 |
-
'
|
95 |
__( 'Google Search Console', 'wordpress-seo' ),
|
96 |
$this->fields['connectGoogleSearchConsole']
|
97 |
);
|
98 |
-
$this->add_step( '
|
99 |
|
100 |
$this->add_step( 'newsletter', __( 'Newsletter', 'wordpress-seo' ), $this->fields['newsletter'], true, true );
|
101 |
$this->add_step( 'suggestions', __( 'You might like', 'wordpress-seo' ), $this->fields['suggestions'], true, true );
|
68 |
public function initialize() {
|
69 |
$this->add_step( 'intro', __( 'Welcome!', 'wordpress-seo' ), $this->fields['intro'], false, true );
|
70 |
|
71 |
+
$this->add_step( 'environment-type', __( 'Environment', 'wordpress-seo' ), $this->fields['environment_type'] );
|
72 |
+
$this->add_step( 'site-type', __( 'Site type', 'wordpress-seo' ), $this->fields['siteType'] );
|
73 |
$this->add_step(
|
74 |
+
'publishing-entity',
|
75 |
__( 'Company or person', 'wordpress-seo' ),
|
76 |
$this->fields['publishingEntity']
|
77 |
);
|
78 |
+
$this->add_step( 'profile-urls', __( 'Social profiles', 'wordpress-seo' ), $this->fields['profileUrls'] );
|
79 |
|
80 |
$fields = array( 'postTypeVisibility' );
|
81 |
|
83 |
foreach ( $post_type_factory->get_fields() as $post_type_field ) {
|
84 |
$fields[] = $post_type_field->get_identifier();
|
85 |
}
|
86 |
+
$this->add_step( 'post-type-visibility', __( 'Search engine visibility', 'wordpress-seo' ), $fields );
|
87 |
|
88 |
$this->add_step(
|
89 |
+
'multiple-authors',
|
90 |
__( 'Multiple authors', 'wordpress-seo' ),
|
91 |
$this->fields['multipleAuthors']
|
92 |
);
|
93 |
$this->add_step(
|
94 |
+
'connect-google-search-console',
|
95 |
__( 'Google Search Console', 'wordpress-seo' ),
|
96 |
$this->fields['connectGoogleSearchConsole']
|
97 |
);
|
98 |
+
$this->add_step( 'title-template', __( 'Title settings', 'wordpress-seo' ), $this->fields['titleTemplate'] );
|
99 |
|
100 |
$this->add_step( 'newsletter', __( 'Newsletter', 'wordpress-seo' ), $this->fields['newsletter'], true, true );
|
101 |
$this->add_step( 'suggestions', __( 'You might like', 'wordpress-seo' ), $this->fields['suggestions'], true, true );
|
admin/config-ui/components/class-component-suggestions.php
CHANGED
@@ -51,28 +51,23 @@ class WPSEO_Config_Component_Suggestions implements WPSEO_Config_Component {
|
|
51 |
}
|
52 |
|
53 |
$field->add_suggestion(
|
|
|
54 |
sprintf(
|
55 |
-
/* translators: %1$s resolves to
|
56 |
-
__( '
|
57 |
-
'
|
58 |
-
),
|
59 |
-
sprintf(
|
60 |
-
/* translators: %1$s resolves to Basic SEO training, 2: Yoast SEO */
|
61 |
-
__( 'Do you want to learn how you can improve your SEO yourself? In our %1$s you\'ll learn practical SEO skills from keyword research and copywriting to technical SEO and off-page SEO. Using the %2$s plugin is one thing. Doing good SEO day-to-day is another. You simply won\'t get the results you want without putting in work yourself. The %1$s teaches you how.', 'wordpress-seo' ),
|
62 |
-
'Basic SEO training',
|
63 |
-
'Yoast SEO'
|
64 |
),
|
65 |
array(
|
66 |
-
'label' => '
|
67 |
'type' => 'link',
|
68 |
-
'url' => WPSEO_Shortlinker::get( 'https://yoa.st/
|
69 |
),
|
70 |
array(
|
71 |
-
'url' => WPSEO_Shortlinker::get( 'https://yoa.st/
|
72 |
'title' => sprintf(
|
73 |
-
/* translators: %1$s expands to
|
74 |
__( '%1$s video', 'wordpress-seo' ),
|
75 |
-
'
|
76 |
),
|
77 |
)
|
78 |
);
|
51 |
}
|
52 |
|
53 |
$field->add_suggestion(
|
54 |
+
__( 'Find out what words your audience uses to find you', 'wordpress-seo' ),
|
55 |
sprintf(
|
56 |
+
/* translators: %1$s resolves to Keyword research training */
|
57 |
+
__( 'Keyword research is essential in any SEO strategy. You decide the search terms you want to be found for, and figure out what words your audience uses to find you. Great keyword research tells you what content you need to start ranking for the terms you want to rank for. Make sure your efforts go into the keywords you actually have a chance at ranking for! The %1$s walks you through this process, step by step.', 'wordpress-seo' ),
|
58 |
+
'Keyword research training'
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
),
|
60 |
array(
|
61 |
+
'label' => 'Keyword research training',
|
62 |
'type' => 'link',
|
63 |
+
'url' => WPSEO_Shortlinker::get( 'https://yoa.st/3lg' ),
|
64 |
),
|
65 |
array(
|
66 |
+
'url' => WPSEO_Shortlinker::get( 'https://yoa.st/3lf' ),
|
67 |
'title' => sprintf(
|
68 |
+
/* translators: %1$s expands to Keyword research training. */
|
69 |
__( '%1$s video', 'wordpress-seo' ),
|
70 |
+
'Keyword research training'
|
71 |
),
|
72 |
)
|
73 |
);
|
admin/config-ui/fields/class-field-company-logo.php
CHANGED
@@ -22,6 +22,8 @@ class WPSEO_Config_Field_Company_Logo extends WPSEO_Config_Field {
|
|
22 |
}
|
23 |
|
24 |
/**
|
|
|
|
|
25 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
26 |
*/
|
27 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
+
* Sets the adapter.
|
26 |
+
*
|
27 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
28 |
*/
|
29 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
admin/config-ui/fields/class-field-company-name.php
CHANGED
@@ -22,6 +22,8 @@ class WPSEO_Config_Field_Company_Name extends WPSEO_Config_Field {
|
|
22 |
}
|
23 |
|
24 |
/**
|
|
|
|
|
25 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
26 |
*/
|
27 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
+
* Sets the adapter.
|
26 |
+
*
|
27 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
28 |
*/
|
29 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
admin/config-ui/fields/class-field-company-or-person.php
CHANGED
@@ -25,6 +25,8 @@ class WPSEO_Config_Field_Company_Or_Person extends WPSEO_Config_Field_Choice {
|
|
25 |
}
|
26 |
|
27 |
/**
|
|
|
|
|
28 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
29 |
*/
|
30 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
25 |
}
|
26 |
|
27 |
/**
|
28 |
+
* Sets the adapter.
|
29 |
+
*
|
30 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
31 |
*/
|
32 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
admin/config-ui/fields/class-field-person-name.php
CHANGED
@@ -22,6 +22,8 @@ class WPSEO_Config_Field_Person_Name extends WPSEO_Config_Field {
|
|
22 |
}
|
23 |
|
24 |
/**
|
|
|
|
|
25 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
26 |
*/
|
27 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
+
* Sets the adapter.
|
26 |
+
*
|
27 |
* @param WPSEO_Configuration_Options_Adapter $adapter Adapter to register lookup on.
|
28 |
*/
|
29 |
public function set_adapter( WPSEO_Configuration_Options_Adapter $adapter ) {
|
admin/formatter/class-metabox-formatter.php
CHANGED
@@ -67,7 +67,6 @@ class WPSEO_Metabox_Formatter {
|
|
67 |
'isRtl' => is_rtl(),
|
68 |
'addKeywordUpsell' => $this->get_add_keyword_upsell_translations(),
|
69 |
'wordFormRecognitionActive' => ( WPSEO_Language_Utils::get_language( get_locale() ) === 'en' ),
|
70 |
-
'recalibrationBetaActive' => WPSEO_Recalibration_Beta::is_enabled(),
|
71 |
|
72 |
/**
|
73 |
* Filter to determine if the markers should be enabled or not.
|
67 |
'isRtl' => is_rtl(),
|
68 |
'addKeywordUpsell' => $this->get_add_keyword_upsell_translations(),
|
69 |
'wordFormRecognitionActive' => ( WPSEO_Language_Utils::get_language( get_locale() ) === 'en' ),
|
|
|
70 |
|
71 |
/**
|
72 |
* Filter to determine if the markers should be enabled or not.
|
admin/views/sidebar.php
CHANGED
@@ -49,7 +49,7 @@ $new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
|
|
49 |
<strong><?php echo esc_html_x( 'Free:', 'course', 'wordpress-seo' ); ?></strong>
|
50 |
<a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/2oi' ); ?>" target="_blank">
|
51 |
<img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/SEO_for_beginners.svg' ); ?>" alt="">
|
52 |
-
<strong><?php esc_html_e( 'SEO for Beginners
|
53 |
<?php echo $new_tab_message; ?>
|
54 |
</a><br>
|
55 |
<?php esc_html_e( 'Get quick wins to make your site rank higher in search engines.', 'wordpress-seo' ); ?>
|
@@ -62,7 +62,7 @@ $new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
|
|
62 |
<strong>
|
63 |
<?php
|
64 |
/* translators: %s expands to Yoast SEO */
|
65 |
-
printf( esc_html__( '%s for WordPress
|
66 |
?>
|
67 |
</strong>
|
68 |
<?php echo $new_tab_message; ?>
|
@@ -72,9 +72,9 @@ $new_tab_message = WPSEO_Admin_Utils::get_new_tab_message();
|
|
72 |
</div>
|
73 |
<div class="wp-clearfix">
|
74 |
<p>
|
75 |
-
<a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/
|
76 |
-
<img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/
|
77 |
-
<strong><?php esc_html_e( '
|
78 |
<?php echo $new_tab_message; ?>
|
79 |
</a><br>
|
80 |
<?php esc_html_e( 'Learn practical SEO skills to rank higher in Google.', 'wordpress-seo' ); ?>
|
49 |
<strong><?php echo esc_html_x( 'Free:', 'course', 'wordpress-seo' ); ?></strong>
|
50 |
<a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/2oi' ); ?>" target="_blank">
|
51 |
<img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/SEO_for_beginners.svg' ); ?>" alt="">
|
52 |
+
<strong><?php esc_html_e( 'SEO for Beginners training', 'wordpress-seo' ); ?></strong>
|
53 |
<?php echo $new_tab_message; ?>
|
54 |
</a><br>
|
55 |
<?php esc_html_e( 'Get quick wins to make your site rank higher in search engines.', 'wordpress-seo' ); ?>
|
62 |
<strong>
|
63 |
<?php
|
64 |
/* translators: %s expands to Yoast SEO */
|
65 |
+
printf( esc_html__( '%s for WordPress training', 'wordpress-seo' ), 'Yoast SEO' );
|
66 |
?>
|
67 |
</strong>
|
68 |
<?php echo $new_tab_message; ?>
|
72 |
</div>
|
73 |
<div class="wp-clearfix">
|
74 |
<p>
|
75 |
+
<a href="<?php WPSEO_Shortlinker::show( 'https://yoa.st/3lj' ); ?>" target="_blank">
|
76 |
+
<img src="<?php echo esc_url( $wpseo_plugin_dir_url . 'images/all-round-SEO.svg' ); ?>" alt="">
|
77 |
+
<strong><?php esc_html_e( 'All-around SEO training', 'wordpress-seo' ); ?></strong>
|
78 |
<?php echo $new_tab_message; ?>
|
79 |
</a><br>
|
80 |
<?php esc_html_e( 'Learn practical SEO skills to rank higher in Google.', 'wordpress-seo' ); ?>
|
admin/views/tabs/dashboard/features.php
CHANGED
@@ -56,9 +56,6 @@ $feature_toggles = Yoast_Feature_Toggles::instance()->get_all();
|
|
56 |
$feature_help->get_button_html() . $feature_help->get_panel_html()
|
57 |
);
|
58 |
}
|
59 |
-
|
60 |
-
$calibration_beta = new WPSEO_Recalibration_Beta();
|
61 |
-
$calibration_beta->show_feature_toggle();
|
62 |
?>
|
63 |
</div>
|
64 |
<?php
|
56 |
$feature_help->get_button_html() . $feature_help->get_panel_html()
|
57 |
);
|
58 |
}
|
|
|
|
|
|
|
59 |
?>
|
60 |
</div>
|
61 |
<?php
|
css/dist/{admin-global-970-rtl.min.css → admin-global-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{admin-global-970.min.css → admin-global-1000.min.css}
RENAMED
File without changes
|
css/dist/{adminbar-970-rtl.min.css → adminbar-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{adminbar-970.min.css → adminbar-1000.min.css}
RENAMED
File without changes
|
css/dist/{alerts-970-rtl.min.css → alerts-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{alerts-970.min.css → alerts-1000.min.css}
RENAMED
File without changes
|
css/dist/{dashboard-970-rtl.min.css → dashboard-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{dashboard-970.min.css → dashboard-1000.min.css}
RENAMED
File without changes
|
css/dist/{edit-page-970-rtl.min.css → edit-page-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{edit-page-970.min.css → edit-page-1000.min.css}
RENAMED
File without changes
|
css/dist/{featured-image-970-rtl.min.css → featured-image-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{featured-image-970.min.css → featured-image-1000.min.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-970-rtl.min.css → filter-explanation-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{filter-explanation-970.min.css → filter-explanation-1000.min.css}
RENAMED
File without changes
|
css/dist/{inside-editor-970-rtl.min.css → inside-editor-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{inside-editor-970.min.css → inside-editor-1000.min.css}
RENAMED
File without changes
|
css/dist/{metabox-970-rtl.min.css → metabox-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{metabox-970.min.css → metabox-1000.min.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-970-rtl.min.css → metabox-primary-category-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{metabox-primary-category-970.min.css → metabox-primary-category-1000.min.css}
RENAMED
File without changes
|
css/dist/{search-appearance-970-rtl.min.css → search-appearance-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{search-appearance-970.min.css → search-appearance-1000.min.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-970-rtl.min.css → structured-data-blocks-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{structured-data-blocks-970.min.css → structured-data-blocks-1000.min.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-970-rtl.min.css → toggle-switch-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{toggle-switch-970.min.css → toggle-switch-1000.min.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-970-rtl.min.css → wpseo-dismissible-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{wpseo-dismissible-970.min.css → wpseo-dismissible-1000.min.css}
RENAMED
File without changes
|
css/dist/{yoast-components-970-rtl.min.css → yoast-components-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yoast-components-970.min.css → yoast-components-1000.min.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-970-rtl.min.css → yoast-extensions-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yoast-extensions-970.min.css → yoast-extensions-1000.min.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-970-rtl.min.css → yst_plugin_tools-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yst_plugin_tools-970.min.css → yst_plugin_tools-1000.min.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-970-rtl.min.css → yst_seo_score-1000-rtl.min.css}
RENAMED
File without changes
|
css/dist/{yst_seo_score-970.min.css → yst_seo_score-1000.min.css}
RENAMED
File without changes
|
{admin → deprecated}/class-recalibration-beta.php
RENAMED
@@ -6,8 +6,15 @@
|
|
6 |
* @since 9.3.0
|
7 |
*/
|
8 |
|
|
|
|
|
|
|
9 |
/**
|
10 |
* Holds the logic for the recalibration beta.
|
|
|
|
|
|
|
|
|
11 |
*/
|
12 |
class WPSEO_Recalibration_Beta implements WPSEO_WordPress_Integration {
|
13 |
|
@@ -21,6 +28,17 @@ class WPSEO_Recalibration_Beta implements WPSEO_WordPress_Integration {
|
|
21 |
*/
|
22 |
protected $read_more_url = 'https://yoa.st/recalibration-beta-explanation';
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
/**
|
25 |
* Shows the feature toggle.
|
26 |
*
|
6 |
* @since 9.3.0
|
7 |
*/
|
8 |
|
9 |
+
// Mark this file as deprecated.
|
10 |
+
_deprecated_file( __FILE__, 'WPSEO 10.0' );
|
11 |
+
|
12 |
/**
|
13 |
* Holds the logic for the recalibration beta.
|
14 |
+
*
|
15 |
+
* @codeCoverageIgnore Ignore, because this class has been deprecated.
|
16 |
+
*
|
17 |
+
* @deprecated 10.0
|
18 |
*/
|
19 |
class WPSEO_Recalibration_Beta implements WPSEO_WordPress_Integration {
|
20 |
|
28 |
*/
|
29 |
protected $read_more_url = 'https://yoa.st/recalibration-beta-explanation';
|
30 |
|
31 |
+
/**
|
32 |
+
* The class constructor.
|
33 |
+
*
|
34 |
+
* @deprecated 10.0
|
35 |
+
*
|
36 |
+
* @codeCoverageIgnore
|
37 |
+
*/
|
38 |
+
public function __construct() {
|
39 |
+
_deprecated_constructor( 'WPSEO_Recalibration_Beta', 'WPSEO 10.0' );
|
40 |
+
}
|
41 |
+
|
42 |
/**
|
43 |
* Shows the feature toggle.
|
44 |
*
|
frontend/class-opengraph-image.php
CHANGED
@@ -29,6 +29,13 @@ class WPSEO_OpenGraph_Image {
|
|
29 |
*/
|
30 |
private $opengraph;
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
/**
|
33 |
* Image tags that we output for each image.
|
34 |
*
|
@@ -96,6 +103,19 @@ class WPSEO_OpenGraph_Image {
|
|
96 |
}
|
97 |
}
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
/**
|
100 |
* Outputs the images.
|
101 |
*
|
@@ -289,7 +309,7 @@ class WPSEO_OpenGraph_Image {
|
|
289 |
*/
|
290 |
private function set_singular_image( $post_id = null ) {
|
291 |
if ( $post_id === null ) {
|
292 |
-
$post_id = $this->
|
293 |
}
|
294 |
|
295 |
$this->set_user_defined_image( $post_id );
|
@@ -310,7 +330,7 @@ class WPSEO_OpenGraph_Image {
|
|
310 |
*/
|
311 |
private function set_user_defined_image( $post_id = null ) {
|
312 |
if ( $post_id === null ) {
|
313 |
-
$post_id = $this->
|
314 |
}
|
315 |
|
316 |
$this->set_image_post_meta( $post_id );
|
@@ -361,7 +381,7 @@ class WPSEO_OpenGraph_Image {
|
|
361 |
* @return void
|
362 |
*/
|
363 |
private function save_opengraph_image_id_meta( $attachment_id ) {
|
364 |
-
$post_id = $this->
|
365 |
|
366 |
WPSEO_Meta::set_value( 'opengraph-image-id', (string) $attachment_id, $post_id );
|
367 |
}
|
@@ -410,7 +430,7 @@ class WPSEO_OpenGraph_Image {
|
|
410 |
* @return void
|
411 |
*/
|
412 |
private function set_attachment_page_image() {
|
413 |
-
$post_id = $this->
|
414 |
if ( wp_attachment_is_image( $post_id ) ) {
|
415 |
$this->add_image_by_id( $post_id );
|
416 |
}
|
@@ -545,7 +565,7 @@ class WPSEO_OpenGraph_Image {
|
|
545 |
case is_attachment():
|
546 |
$this->set_attachment_page_image();
|
547 |
break;
|
548 |
-
case
|
549 |
$this->set_singular_image();
|
550 |
break;
|
551 |
case is_category():
|
@@ -654,12 +674,12 @@ class WPSEO_OpenGraph_Image {
|
|
654 |
}
|
655 |
|
656 |
/**
|
657 |
-
* Gets the
|
658 |
*
|
659 |
-
* @return int The
|
660 |
*/
|
661 |
-
protected function
|
662 |
-
return
|
663 |
}
|
664 |
|
665 |
/**
|
29 |
*/
|
30 |
private $opengraph;
|
31 |
|
32 |
+
/**
|
33 |
+
* Holds the WPSEO_Frontend_Page_Type instance.
|
34 |
+
*
|
35 |
+
* @var WPSEO_Frontend_Page_Type
|
36 |
+
*/
|
37 |
+
private $frontend_page_type;
|
38 |
+
|
39 |
/**
|
40 |
* Image tags that we output for each image.
|
41 |
*
|
103 |
}
|
104 |
}
|
105 |
|
106 |
+
/**
|
107 |
+
* Gets the class for determine the current page type.
|
108 |
+
*
|
109 |
+
* @return WPSEO_Frontend_Page_Type
|
110 |
+
*/
|
111 |
+
protected function get_frontend_page_type() {
|
112 |
+
if ( ! isset( $this->frontend_page_type ) ) {
|
113 |
+
$this->frontend_page_type = new WPSEO_Frontend_Page_Type();
|
114 |
+
}
|
115 |
+
|
116 |
+
return $this->frontend_page_type;
|
117 |
+
}
|
118 |
+
|
119 |
/**
|
120 |
* Outputs the images.
|
121 |
*
|
309 |
*/
|
310 |
private function set_singular_image( $post_id = null ) {
|
311 |
if ( $post_id === null ) {
|
312 |
+
$post_id = $this->get_post_id();
|
313 |
}
|
314 |
|
315 |
$this->set_user_defined_image( $post_id );
|
330 |
*/
|
331 |
private function set_user_defined_image( $post_id = null ) {
|
332 |
if ( $post_id === null ) {
|
333 |
+
$post_id = $this->get_post_id();
|
334 |
}
|
335 |
|
336 |
$this->set_image_post_meta( $post_id );
|
381 |
* @return void
|
382 |
*/
|
383 |
private function save_opengraph_image_id_meta( $attachment_id ) {
|
384 |
+
$post_id = $this->get_post_id();
|
385 |
|
386 |
WPSEO_Meta::set_value( 'opengraph-image-id', (string) $attachment_id, $post_id );
|
387 |
}
|
430 |
* @return void
|
431 |
*/
|
432 |
private function set_attachment_page_image() {
|
433 |
+
$post_id = $this->get_post_id();
|
434 |
if ( wp_attachment_is_image( $post_id ) ) {
|
435 |
$this->add_image_by_id( $post_id );
|
436 |
}
|
565 |
case is_attachment():
|
566 |
$this->set_attachment_page_image();
|
567 |
break;
|
568 |
+
case $this->get_frontend_page_type()->is_simple_page():
|
569 |
$this->set_singular_image();
|
570 |
break;
|
571 |
case is_category():
|
674 |
}
|
675 |
|
676 |
/**
|
677 |
+
* Gets the post ID.
|
678 |
*
|
679 |
+
* @return int The post ID.
|
680 |
*/
|
681 |
+
protected function get_post_id() {
|
682 |
+
return $this->get_frontend_page_type()->get_simple_page_id();
|
683 |
}
|
684 |
|
685 |
/**
|
frontend/class-twitter.php
CHANGED
@@ -437,8 +437,6 @@ class WPSEO_Twitter {
|
|
437 |
return;
|
438 |
}
|
439 |
|
440 |
-
$post_id = get_the_ID();
|
441 |
-
|
442 |
if ( $this->image_of_attachment_page_output( $post_id ) ) {
|
443 |
return;
|
444 |
}
|
437 |
return;
|
438 |
}
|
439 |
|
|
|
|
|
440 |
if ( $this->image_of_attachment_page_output( $post_id ) ) {
|
441 |
return;
|
442 |
}
|
images/BasicSEO.svg
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><path d="M80 0h340a80 80 0 0 1 80 80v420H80a80 80 0 0 1-80-80V80A80 80 0 0 1 80 0z" fill="#7276a8"/><path d="M80 500h420V136.66L13.16 463.94A79.89 79.89 0 0 0 80 500z" fill="#494a7b"/><path fill="#77b227" d="M343.54 31.46L170.23 69.67l-48.86 309.62 260.38-174.51-38.21-173.32z"/><path d="M350.79 20L161.68 61.69l-52.93 338.05 283.61-191.19zm-7.32 11.46l38.2 173.31-260.38 174.52 48.87-309.62z" fill="#fff"/><path d="M268.77 164.12l-10 .22c-3.37 31.41-5 78.77 6 130.48l8.85-5.94c-9.83-49.54-8.06-94.88-4.85-124.76z" fill="#fff"/><path d="M273.58 288.88l-8.85 5.94c14.91 70 53 148 141.34 205.18h19.11C327.7 444.39 288 362 273.58 288.88zM240.34 481.5a4.8 4.8 0 0 1-4-7.49 20.77 20.77 0 0 0-5.68-28.78c-12.38-8.64-26.44-1.73-42.71 6.28-20.21 9.94-43.12 21.21-67.84 4a45.42 45.42 0 0 1-18.81-32.56 53.67 53.67 0 0 1 14.37-42 4.81 4.81 0 1 1 7 6.54 44 44 0 0 0-11.86 34.47c1.16 10.75 6.4 19.88 14.75 25.71 20.07 14 38.54 4.91 58.1-4.71 17.41-8.56 35.41-17.42 52.45-5.54a30.32 30.32 0 0 1 8.16 42 4.81 4.81 0 0 1-3.93 2.08z" fill="#fff"/></svg>
|
|
images/all-round-SEO.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><path d="M80 0h340a80 80 0 0 1 80 80v420H80a80 80 0 0 1-80-80V80A80 80 0 0 1 80 0z" fill="#1eb0a6"/><path d="M500 500V80a79.67 79.67 0 0 0-20.1-53L27.12 480A79.65 79.65 0 0 0 80 500z" fill="#009288"/><path d="M270 390.71a1.52 1.52 0 0 1-1.82.7L141.72 348l-5.95 17.3 126.44 43.43a1.53 1.53 0 0 1 1 1.67 57.92 57.92 0 1 0 6.79-19.69z" fill="#f2f2f2"/><circle cx="320.44" cy="419.04" fill="#1eb0a6" r="45.74"/><path d="M359.24 286.28a1.53 1.53 0 0 1-1.13 1.11l-179.42 41.66 10.56 44.51 179.42-41.67a1.51 1.51 0 0 1 1.5.49c11.07 12.76 28.63 19 49.27 14.11 17.19-4.07 30.89-14.57 38.41-27.66a1.52 1.52 0 0 0-1.68-2.24l-27.74 6.58a1.63 1.63 0 0 1-.79 0l-25.75-7.71a1.55 1.55 0 0 1-1.05-1.11l-6.09-25.69a1.52 1.52 0 0 1 .43-1.46l19.55-18.46a1.58 1.58 0 0 1 .7-.37l27.74-6.58a1.53 1.53 0 0 0 1.15-1.22 1.55 1.55 0 0 0-.66-1.54c-12.6-8.32-29.55-11.54-46.74-7.46-20.64 4.87-33.51 18.34-37.68 34.71z" fill="#f2f2f2"/><rect fill="#cacaca" height="21.35" rx="9.15" transform="rotate(-13.14 294.727 324.622)" width="121.98" x="233.85" y="314.03"/><path d="M385 114.49a1.54 1.54 0 0 1 .88.78 1.51 1.51 0 0 1 .06 1.16l-8.46 24.27a1.52 1.52 0 0 1-1.94.93c-50-17.44-139.89-48.88-146.91-51.23s-11.84-2.94-17.78-4.7c-5.41-1.59-50.95-17.7-59.65-20.78a1.53 1.53 0 0 1-.93-1.94l9.37-26.86a1.63 1.63 0 0 1 2.08-1c9 3.13 54.79 19 59.49 20.75 5.23 1.92 10 4.87 16.85 7.38 6.48 2.37 132.01 46.06 146.94 51.24z" fill="#cacaca"/><path d="M383.12 119.87l-5.72 16.41S223.66 82.49 213.59 79.14s-40-6.42-40-6.42l-22.38-7.81a1.52 1.52 0 0 1-.93-1.94l9.4-26.97a1.52 1.52 0 0 1 1.94-.93L184 42.89s25.13 16.3 35.32 19.84z" fill="#f2f2f2"/><path d="M30.87 170.68c38.87 36.49 245.13 3 378.31-31.73L397.6 81.38 30.32 168.62l.2.85c.1.41.23.81.35 1.21z" fill="#cacaca"/><path d="M30.87 170.68c13.06 43.7 112 47.9 256.78 17.49L413.22 159l-4-20.07C276 173.69 69.74 207.17 30.87 170.68z" fill="#f2f2f2"/><path d="M430.35 76.08a66 66 0 0 0-93.34 0L103 310.14a66 66 0 0 0 93.34 93.34l234.01-234.06a66 66 0 0 0 0-93.34z" fill="#a4286a"/><g fill="#f2f2f2"><circle cx="385.8" cy="120.63" r="20"/><circle cx="147.51" cy="358.93" r="20"/><path d="M221.51 245.14a12.38 12.38 0 0 1-.69-1.17 12.12 12.12 0 0 1-.56-1.22q-.13-.31-.24-.63c-.11-.32-.21-.66-.31-1.05s-.16-.62-.21-.88-.08-.44-.11-.66c-.06-.44-.1-.88-.13-1.32a15.12 15.12 0 0 1 .11-2.51c0-.3.09-.56.13-.79.08-.44.19-.88.31-1.3a13.9 13.9 0 0 1 3.46-5.82l28-28a13.79 13.79 0 0 1 5.82-3.46c.43-.12.86-.23 1.3-.31a11.48 11.48 0 0 1 1.31-.19 13.91 13.91 0 0 1 4 .19c.43.08.87.19 1.29.31a13.71 13.71 0 0 1 5.83 3.46L294.94 224l3.55-1.67-25.13-25.13a17.52 17.52 0 0 0-24.74 0l-28 28a17.5 17.5 0 0 0 0 24.73l1.62 1.62 2.61-2.61-1.62-1.62a13.51 13.51 0 0 1-1.72-2.18zm91.25-6.96l-.13-.28-3.36 1.54.12.27a12.67 12.67 0 0 1 .67 1.8c.13.43.23.86.32 1.3a14.21 14.21 0 0 1 .19 4c0 .44-.11.88-.19 1.32s-.19.87-.32 1.29a13.71 13.71 0 0 1-3.45 5.82l-37.72 37.72-24.69-24.73h-.17c-1.2.33-2.38.6-3.52.81l-.56.11 28.94 28.94 40.33-40.32a17.6 17.6 0 0 0 3.54-19.59z"/><path d="M312.18 220.25L260 244.78l14.47-28-8.3-8.29-16.26 37a14.92 14.92 0 0 1-7.66 7.66c-3.59 1.57-8.45 2.86-14.32-1.19l-.26-.18-7.07 7.07.29.27a20.13 20.13 0 0 0 14.41 5.81c5.62 0 12.4-2 21.34-6.22l64-29.21.51-.23z"/></g></svg>
|
inc/class-myyoast-api-request.php
ADDED
@@ -0,0 +1,290 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Inc
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Handles requests to My Yoast.
|
10 |
+
*/
|
11 |
+
class WPSEO_MyYoast_Api_Request {
|
12 |
+
|
13 |
+
/**
|
14 |
+
* The Request URL.
|
15 |
+
*
|
16 |
+
* @var string
|
17 |
+
*/
|
18 |
+
protected $url;
|
19 |
+
|
20 |
+
/**
|
21 |
+
* The request paramaters.
|
22 |
+
*
|
23 |
+
* @var array
|
24 |
+
*/
|
25 |
+
protected $args = array(
|
26 |
+
'method' => 'GET',
|
27 |
+
'timeout' => 10,
|
28 |
+
'sslverify' => false,
|
29 |
+
'headers' => array(
|
30 |
+
'Accept-Encoding' => '*',
|
31 |
+
),
|
32 |
+
);
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Contains the fetched response.
|
36 |
+
*
|
37 |
+
* @var stdClass
|
38 |
+
*/
|
39 |
+
protected $response;
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Contains the error message when request went wrong.
|
43 |
+
*
|
44 |
+
* @var string
|
45 |
+
*/
|
46 |
+
protected $error_message = '';
|
47 |
+
|
48 |
+
/**
|
49 |
+
* Constructor
|
50 |
+
*
|
51 |
+
* @codeCoverageIgnore
|
52 |
+
*
|
53 |
+
* @param string $url The request url.
|
54 |
+
* @param array $args The request arguments.
|
55 |
+
*/
|
56 |
+
public function __construct( $url, array $args = array() ) {
|
57 |
+
$this->url = 'https://my.yoast.com/api/' . $url;
|
58 |
+
$this->args = wp_parse_args( $args, $this->args );
|
59 |
+
}
|
60 |
+
|
61 |
+
/**
|
62 |
+
* Fires the request
|
63 |
+
*
|
64 |
+
* @return bool True when request is successful.
|
65 |
+
*/
|
66 |
+
public function fire() {
|
67 |
+
try {
|
68 |
+
$response = $this->do_request( $this->url, $this->args );
|
69 |
+
$this->response = $this->decode_response( $response );
|
70 |
+
|
71 |
+
return true;
|
72 |
+
}
|
73 |
+
|
74 |
+
/**
|
75 |
+
* The Authentication exception only occurs when using Access Tokens (>= PHP 5.6).
|
76 |
+
* In other case this exception won't be thrown.
|
77 |
+
*
|
78 |
+
* When authentication failed just try to get a new access token based
|
79 |
+
* on the refresh token. If that request also has an authentication issue
|
80 |
+
* we just invalidate the access token by removing it.
|
81 |
+
*/
|
82 |
+
catch ( WPSEO_MyYoast_Authentication_Exception $authentication_exception ) {
|
83 |
+
try {
|
84 |
+
$access_token = $this->get_access_token();
|
85 |
+
|
86 |
+
if ( $access_token !== false ) {
|
87 |
+
$response = $this->do_request( $this->url, $this->args );
|
88 |
+
$this->response = $this->decode_response( $response );
|
89 |
+
}
|
90 |
+
|
91 |
+
return true;
|
92 |
+
}
|
93 |
+
catch ( WPSEO_MyYoast_Authentication_Exception $authentication_exception ) {
|
94 |
+
$this->error_message = $authentication_exception->getMessage();
|
95 |
+
|
96 |
+
// Remove the access token entirely.
|
97 |
+
$this->get_client()
|
98 |
+
->remove_access_token(
|
99 |
+
$this->get_current_user_id()
|
100 |
+
);
|
101 |
+
|
102 |
+
return false;
|
103 |
+
}
|
104 |
+
catch ( WPSEO_MyYoast_Bad_Request_Exception $bad_request_exception ) {
|
105 |
+
$this->error_message = $bad_request_exception->getMessage();
|
106 |
+
|
107 |
+
return false;
|
108 |
+
}
|
109 |
+
}
|
110 |
+
catch ( WPSEO_MyYoast_Bad_Request_Exception $bad_request_exception ) {
|
111 |
+
$this->error_message = $bad_request_exception->getMessage();
|
112 |
+
|
113 |
+
return false;
|
114 |
+
}
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Retrieves the error message.
|
119 |
+
*
|
120 |
+
* @return string The set error message.
|
121 |
+
*/
|
122 |
+
public function get_error_message() {
|
123 |
+
return $this->error_message;
|
124 |
+
}
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Retrieves the response.
|
128 |
+
*
|
129 |
+
* @return stdClass The response object.
|
130 |
+
*/
|
131 |
+
public function get_response() {
|
132 |
+
return $this->response;
|
133 |
+
}
|
134 |
+
|
135 |
+
/**
|
136 |
+
* Performs the request using WordPress internals.
|
137 |
+
*
|
138 |
+
* @codeCoverageIgnore
|
139 |
+
*
|
140 |
+
* @param string $url The request URL.
|
141 |
+
* @param array $request_arguments The request arguments.
|
142 |
+
*
|
143 |
+
* @return string The retrieved body.
|
144 |
+
* @throws WPSEO_MyYoast_Authentication_Exception When authentication has failed.
|
145 |
+
* @throws WPSEO_MyYoast_Bad_Request_Exception When request is invalid.
|
146 |
+
*/
|
147 |
+
protected function do_request( $url, $request_arguments ) {
|
148 |
+
$request_arguments = $this->enrich_request_arguments( $request_arguments );
|
149 |
+
$response = wp_remote_request( $url, $request_arguments );
|
150 |
+
|
151 |
+
if ( is_wp_error( $response ) ) {
|
152 |
+
throw new WPSEO_MyYoast_Bad_Request_Exception( $response->get_error_message(), $response->get_error_code() );
|
153 |
+
}
|
154 |
+
|
155 |
+
$response_code = wp_remote_retrieve_response_code( $response );
|
156 |
+
$response_message = wp_remote_retrieve_response_message( $response );
|
157 |
+
|
158 |
+
// Do nothing, response code is okay.
|
159 |
+
if ( strpos( $response_code, '200' ) ) {
|
160 |
+
return wp_remote_retrieve_body( $response );
|
161 |
+
}
|
162 |
+
|
163 |
+
// Authentication failed, throw an exception.
|
164 |
+
if ( strpos( $response_code, '401' ) && WPSEO_Utils::has_access_token_support() ) {
|
165 |
+
throw new WPSEO_MyYoast_Authentication_Exception( esc_html( $response_message ), 401 );
|
166 |
+
}
|
167 |
+
|
168 |
+
throw new WPSEO_MyYoast_Bad_Request_Exception( esc_html( $response_message ), $response_code );
|
169 |
+
}
|
170 |
+
|
171 |
+
/**
|
172 |
+
* Decodes the JSON encoded response.
|
173 |
+
*
|
174 |
+
* @param string $response The response to decode.
|
175 |
+
*
|
176 |
+
* @return stdClass The json decoded response.
|
177 |
+
* @throws WPSEO_MyYoast_Invalid_JSON_Exception When decoded string is not a JSON object.
|
178 |
+
*/
|
179 |
+
protected function decode_response( $response ) {
|
180 |
+
$response = json_decode( $response );
|
181 |
+
|
182 |
+
if ( ! is_object( $response ) ) {
|
183 |
+
throw new WPSEO_MyYoast_Invalid_JSON_Exception(
|
184 |
+
esc_html__( 'No JSON object was returned.', 'wordpress-seo' )
|
185 |
+
);
|
186 |
+
}
|
187 |
+
|
188 |
+
return $response;
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* Checks if MyYoast tokens are allowed and adds the token to the request body.
|
193 |
+
*
|
194 |
+
* When tokens are disallowed it will add the url to the request body.
|
195 |
+
*
|
196 |
+
* @codeCoverageIgnore
|
197 |
+
*
|
198 |
+
* @param array $request_arguments The arguments to enrich.
|
199 |
+
*
|
200 |
+
* @return array The enriched arguments
|
201 |
+
*/
|
202 |
+
protected function enrich_request_arguments( array $request_arguments ) {
|
203 |
+
if ( ! WPSEO_Utils::has_access_token_support() ) {
|
204 |
+
$request_arguments['body'] = array( 'url' => WPSEO_Utils::get_home_url() );
|
205 |
+
|
206 |
+
return $request_arguments;
|
207 |
+
}
|
208 |
+
|
209 |
+
try {
|
210 |
+
$access_token = $this->get_access_token();
|
211 |
+
if ( $access_token ) {
|
212 |
+
$request_arguments['body'] = array( 'token' => $access_token->getToken() );
|
213 |
+
}
|
214 |
+
}
|
215 |
+
// @codingStandardsIgnoreLine Generic.CodeAnalysis.EmptyStatement.DetectedCATCH -- There is nothing to do.
|
216 |
+
catch ( WPSEO_MyYoast_Bad_Request_Exception $bad_request ) {
|
217 |
+
// Do nothing.
|
218 |
+
}
|
219 |
+
|
220 |
+
return $request_arguments;
|
221 |
+
}
|
222 |
+
|
223 |
+
/**
|
224 |
+
* Retrieves the access token.
|
225 |
+
*
|
226 |
+
* @codeCoverageIgnore
|
227 |
+
*
|
228 |
+
* @return bool|WPSEO_MyYoast_AccessToken_Interface The AccessToken when valid.
|
229 |
+
* @throws WPSEO_MyYoast_Bad_Request_Exception When something went wrong in getting the access token.
|
230 |
+
*/
|
231 |
+
protected function get_access_token() {
|
232 |
+
$client = $this->get_client();
|
233 |
+
|
234 |
+
if ( ! $client ) {
|
235 |
+
return false;
|
236 |
+
}
|
237 |
+
|
238 |
+
$access_token = $client->get_access_token();
|
239 |
+
|
240 |
+
if ( $access_token && ! $access_token->hasExpired() ) {
|
241 |
+
return $access_token;
|
242 |
+
}
|
243 |
+
|
244 |
+
try {
|
245 |
+
$access_token = $client
|
246 |
+
->get_provider()
|
247 |
+
->getAccessToken(
|
248 |
+
'refresh_token',
|
249 |
+
array(
|
250 |
+
'refresh_token' => $access_token->getRefreshToken(),
|
251 |
+
)
|
252 |
+
);
|
253 |
+
|
254 |
+
$client->save_access_token( $this->get_current_user_id(), $access_token );
|
255 |
+
|
256 |
+
return $access_token;
|
257 |
+
}
|
258 |
+
catch ( Exception $e ) {
|
259 |
+
throw new WPSEO_MyYoast_Bad_Request_Exception( $e->getMessage() );
|
260 |
+
}
|
261 |
+
}
|
262 |
+
|
263 |
+
/**
|
264 |
+
* Retrieves an instance of the MyYoast client.
|
265 |
+
*
|
266 |
+
* @codeCoverageIgnore
|
267 |
+
*
|
268 |
+
* @return WPSEO_MyYoast_Client Instance of the client
|
269 |
+
*/
|
270 |
+
protected function get_client() {
|
271 |
+
static $client;
|
272 |
+
|
273 |
+
if ( ! $client ) {
|
274 |
+
$client = new WPSEO_MyYoast_Client();
|
275 |
+
}
|
276 |
+
|
277 |
+
return $client;
|
278 |
+
}
|
279 |
+
|
280 |
+
/**
|
281 |
+
* Wraps the get current user id function.
|
282 |
+
*
|
283 |
+
* @codeCoverageIgnore
|
284 |
+
*
|
285 |
+
* @return int The user id.
|
286 |
+
*/
|
287 |
+
protected function get_current_user_id() {
|
288 |
+
return get_current_user_id();
|
289 |
+
}
|
290 |
+
}
|
inc/class-upgrade.php
CHANGED
@@ -124,8 +124,8 @@ class WPSEO_Upgrade {
|
|
124 |
$this->upgrade90();
|
125 |
}
|
126 |
|
127 |
-
if ( version_compare( $version, '
|
128 |
-
$this->
|
129 |
}
|
130 |
|
131 |
// Since 3.7.
|
@@ -635,12 +635,27 @@ class WPSEO_Upgrade {
|
|
635 |
}
|
636 |
|
637 |
/**
|
638 |
-
* Performs the
|
639 |
*
|
640 |
* @return void
|
641 |
*/
|
642 |
-
private function
|
643 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
644 |
}
|
645 |
|
646 |
/**
|
@@ -652,7 +667,6 @@ class WPSEO_Upgrade {
|
|
652 |
*/
|
653 |
private function delete_post_meta( $meta_key ) {
|
654 |
global $wpdb;
|
655 |
-
|
656 |
$deleted = $wpdb->delete( $wpdb->postmeta, array( 'meta_key' => $meta_key ), array( '%s' ) );
|
657 |
|
658 |
if ( $deleted ) {
|
124 |
$this->upgrade90();
|
125 |
}
|
126 |
|
127 |
+
if ( version_compare( $version, '10.0-RC0', '<' ) ) {
|
128 |
+
$this->upgrade_100();
|
129 |
}
|
130 |
|
131 |
// Since 3.7.
|
635 |
}
|
636 |
|
637 |
/**
|
638 |
+
* Performs the 10.0 upgrade.
|
639 |
*
|
640 |
* @return void
|
641 |
*/
|
642 |
+
private function upgrade_100() {
|
643 |
+
// Removes recalibration notifications.
|
644 |
+
$this->clean_all_notifications();
|
645 |
+
|
646 |
+
// Removes recalibration options.
|
647 |
+
WPSEO_Options::clean_up( 'wpseo' );
|
648 |
+
delete_option( 'wpseo_recalibration_beta_mailinglist_subscription' );
|
649 |
+
}
|
650 |
+
|
651 |
+
/**
|
652 |
+
* Removes all notifications saved in the database under 'wp_yoast_notifications'.
|
653 |
+
*
|
654 |
+
* @return void
|
655 |
+
*/
|
656 |
+
private function clean_all_notifications() {
|
657 |
+
global $wpdb;
|
658 |
+
delete_metadata( 'user', 0, $wpdb->get_blog_prefix() . Yoast_Notification_Center::STORAGE_KEY, '', true );
|
659 |
}
|
660 |
|
661 |
/**
|
667 |
*/
|
668 |
private function delete_post_meta( $meta_key ) {
|
669 |
global $wpdb;
|
|
|
670 |
$deleted = $wpdb->delete( $wpdb->postmeta, array( 'meta_key' => $meta_key ), array( '%s' ) );
|
671 |
|
672 |
if ( $deleted ) {
|
inc/class-wpseo-meta.php
CHANGED
@@ -655,7 +655,8 @@ class WPSEO_Meta {
|
|
655 |
if ( $custom[ self::$meta_prefix . $key ][0] === $unserialized ) {
|
656 |
return $custom[ self::$meta_prefix . $key ][0];
|
657 |
}
|
658 |
-
|
|
|
659 |
$field_def = self::$meta_fields[ self::$fields_index[ self::$meta_prefix . $key ]['subset'] ][ self::$fields_index[ self::$meta_prefix . $key ]['key'] ];
|
660 |
if ( isset( $field_def['serialized'] ) && $field_def['serialized'] === true ) {
|
661 |
// Ok, serialize value expected/allowed.
|
@@ -668,13 +669,12 @@ class WPSEO_Meta {
|
|
668 |
if ( isset( self::$defaults[ self::$meta_prefix . $key ] ) ) {
|
669 |
return self::$defaults[ self::$meta_prefix . $key ];
|
670 |
}
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
}
|
678 |
}
|
679 |
|
680 |
/**
|
@@ -689,6 +689,12 @@ class WPSEO_Meta {
|
|
689 |
* @return bool whether the value was changed
|
690 |
*/
|
691 |
public static function set_value( $key, $meta_value, $post_id ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
692 |
return update_post_meta( $post_id, self::$meta_prefix . $key, $meta_value );
|
693 |
}
|
694 |
|
655 |
if ( $custom[ self::$meta_prefix . $key ][0] === $unserialized ) {
|
656 |
return $custom[ self::$meta_prefix . $key ][0];
|
657 |
}
|
658 |
+
|
659 |
+
if ( isset( self::$fields_index[ self::$meta_prefix . $key ] ) ) {
|
660 |
$field_def = self::$meta_fields[ self::$fields_index[ self::$meta_prefix . $key ]['subset'] ][ self::$fields_index[ self::$meta_prefix . $key ]['key'] ];
|
661 |
if ( isset( $field_def['serialized'] ) && $field_def['serialized'] === true ) {
|
662 |
// Ok, serialize value expected/allowed.
|
669 |
if ( isset( self::$defaults[ self::$meta_prefix . $key ] ) ) {
|
670 |
return self::$defaults[ self::$meta_prefix . $key ];
|
671 |
}
|
672 |
+
|
673 |
+
/*
|
674 |
+
* Shouldn't ever happen, means not one of our keys as there will always be a default available
|
675 |
+
* for all our keys.
|
676 |
+
*/
|
677 |
+
return '';
|
|
|
678 |
}
|
679 |
|
680 |
/**
|
689 |
* @return bool whether the value was changed
|
690 |
*/
|
691 |
public static function set_value( $key, $meta_value, $post_id ) {
|
692 |
+
/*
|
693 |
+
* Slash the data, because `update_metadata` will unslash it and we have already unslashed it.
|
694 |
+
* Related issue: https://github.com/Yoast/YoastSEO.js/issues/2158
|
695 |
+
*/
|
696 |
+
$meta_value = wp_slash( $meta_value );
|
697 |
+
|
698 |
return update_post_meta( $post_id, self::$meta_prefix . $key, $meta_value );
|
699 |
}
|
700 |
|
inc/class-wpseo-replace-vars.php
CHANGED
@@ -830,16 +830,25 @@ class WPSEO_Replace_Vars {
|
|
830 |
* @return string|null
|
831 |
*/
|
832 |
private function retrieve_focuskw() {
|
833 |
-
|
834 |
-
|
835 |
if ( ! empty( $this->args->ID ) ) {
|
836 |
$focus_kw = WPSEO_Meta::get_value( 'focuskw', $this->args->ID );
|
837 |
if ( $focus_kw !== '' ) {
|
838 |
-
|
839 |
}
|
|
|
|
|
840 |
}
|
841 |
|
842 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
843 |
}
|
844 |
|
845 |
/**
|
@@ -1424,8 +1433,9 @@ class WPSEO_Replace_Vars {
|
|
1424 |
* Allows filtering of the terms list used to replace %%category%%, %%tag%% and %%ct_<custom-tax-name>%% variables.
|
1425 |
*
|
1426 |
* @api string $output Comma-delimited string containing the terms.
|
|
|
1427 |
*/
|
1428 |
-
return apply_filters( 'wpseo_terms', $output );
|
1429 |
}
|
1430 |
} /* End of class WPSEO_Replace_Vars */
|
1431 |
|
830 |
* @return string|null
|
831 |
*/
|
832 |
private function retrieve_focuskw() {
|
833 |
+
// Retrieve focuskw from a Post.
|
|
|
834 |
if ( ! empty( $this->args->ID ) ) {
|
835 |
$focus_kw = WPSEO_Meta::get_value( 'focuskw', $this->args->ID );
|
836 |
if ( $focus_kw !== '' ) {
|
837 |
+
return $focus_kw;
|
838 |
}
|
839 |
+
|
840 |
+
return null;
|
841 |
}
|
842 |
|
843 |
+
// Retrieve focuskw from a Term.
|
844 |
+
if ( ! empty( $this->args->term_id ) ) {
|
845 |
+
$focus_kw = WPSEO_Taxonomy_Meta::get_term_meta( $this->args->term_id, $this->args->taxonomy, 'focuskw' );
|
846 |
+
if ( $focus_kw !== '' ) {
|
847 |
+
return $focus_kw;
|
848 |
+
}
|
849 |
+
}
|
850 |
+
|
851 |
+
return null;
|
852 |
}
|
853 |
|
854 |
/**
|
1433 |
* Allows filtering of the terms list used to replace %%category%%, %%tag%% and %%ct_<custom-tax-name>%% variables.
|
1434 |
*
|
1435 |
* @api string $output Comma-delimited string containing the terms.
|
1436 |
+
* @api string $taxonomy The taxonomy of the terms.
|
1437 |
*/
|
1438 |
+
return apply_filters( 'wpseo_terms', $output, $taxonomy );
|
1439 |
}
|
1440 |
} /* End of class WPSEO_Replace_Vars */
|
1441 |
|
inc/class-wpseo-utils.php
CHANGED
@@ -1131,6 +1131,58 @@ SVG;
|
|
1131 |
return 'ERROR';
|
1132 |
}
|
1133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1134 |
/* ********************* DEPRECATED METHODS ********************* */
|
1135 |
|
1136 |
/**
|
1131 |
return 'ERROR';
|
1132 |
}
|
1133 |
|
1134 |
+
/**
|
1135 |
+
* Returns the home url with the following modifications:
|
1136 |
+
*
|
1137 |
+
* In case of a multisite setup we return the network_home_url.
|
1138 |
+
* In case of no multisite setup we return the home_url while overriding the WPML filter.
|
1139 |
+
*
|
1140 |
+
* @codeCoverageIgnore
|
1141 |
+
*
|
1142 |
+
* @return string The home url.
|
1143 |
+
*/
|
1144 |
+
public static function get_home_url() {
|
1145 |
+
// Add a new filter to undo WPML's changing of home url.
|
1146 |
+
add_filter( 'wpml_get_home_url', array( 'WPSEO_Utils', 'wpml_get_home_url' ), 10, 2 );
|
1147 |
+
|
1148 |
+
$url = home_url();
|
1149 |
+
|
1150 |
+
// If the plugin is network activated, use the network home URL.
|
1151 |
+
if ( self::is_plugin_network_active() ) {
|
1152 |
+
$url = network_home_url();
|
1153 |
+
}
|
1154 |
+
|
1155 |
+
remove_filter( 'wpml_get_home_url', array( 'WPSEO_Utils', 'wpml_get_home_url' ), 10 );
|
1156 |
+
|
1157 |
+
return $url;
|
1158 |
+
}
|
1159 |
+
|
1160 |
+
/**
|
1161 |
+
* Returns the original URL instead of the language-enriched URL.
|
1162 |
+
* This method gets automatically triggered by the wpml_get_home_url filter
|
1163 |
+
*
|
1164 |
+
* @codeCoverageIgnore
|
1165 |
+
*
|
1166 |
+
* @param string $home_url The url altered by WPML. Unused.
|
1167 |
+
* @param string $url The url that isn't altered by WPML.
|
1168 |
+
*
|
1169 |
+
* @return string The original url.
|
1170 |
+
*/
|
1171 |
+
public static function wpml_get_home_url( $home_url, $url ) {
|
1172 |
+
return $url;
|
1173 |
+
}
|
1174 |
+
|
1175 |
+
/**
|
1176 |
+
* Checks if the current installation supports MyYoast access tokens.
|
1177 |
+
*
|
1178 |
+
* @codeCoverageIgnore
|
1179 |
+
*
|
1180 |
+
* @return bool True if access_tokens are supported.
|
1181 |
+
*/
|
1182 |
+
public static function has_access_token_support() {
|
1183 |
+
return class_exists( 'WPSEO_MyYoast_Client' );
|
1184 |
+
}
|
1185 |
+
|
1186 |
/* ********************* DEPRECATED METHODS ********************* */
|
1187 |
|
1188 |
/**
|
inc/exceptions/class-myyoast-authentication-exception.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Internals
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Class WPSEO_MyYoast_Authentication_Exception
|
10 |
+
*/
|
11 |
+
class WPSEO_MyYoast_Authentication_Exception extends WPSEO_MyYoast_Bad_Request_Exception {
|
12 |
+
|
13 |
+
}
|
inc/exceptions/class-myyoast-bad-request-exception.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Internals
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Class WPSEO_MyYoast_Bad_Request_Exception
|
10 |
+
*/
|
11 |
+
class WPSEO_MyYoast_Bad_Request_Exception extends Exception {
|
12 |
+
|
13 |
+
}
|
inc/exceptions/class-myyoast-invalid-json-exception.php
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* WPSEO plugin file.
|
4 |
+
*
|
5 |
+
* @package WPSEO\Internals
|
6 |
+
*/
|
7 |
+
|
8 |
+
/**
|
9 |
+
* Class WPSEO_MyYoast_Invalid_JSON_Exception
|
10 |
+
*/
|
11 |
+
class WPSEO_MyYoast_Invalid_JSON_Exception extends WPSEO_MyYoast_Bad_Request_Exception {
|
12 |
+
|
13 |
+
}
|
inc/options/class-wpseo-option-wpseo.php
CHANGED
@@ -48,7 +48,13 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
|
|
48 |
'enable_text_link_counter' => true,
|
49 |
'show_onboarding_notice' => false,
|
50 |
'first_activated_on' => false,
|
51 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
);
|
53 |
|
54 |
/**
|
@@ -273,6 +279,19 @@ class WPSEO_Option_Wpseo extends WPSEO_Option {
|
|
273 |
}
|
274 |
break;
|
275 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
/*
|
277 |
* Boolean (checkbox) fields.
|
278 |
*/
|
48 |
'enable_text_link_counter' => true,
|
49 |
'show_onboarding_notice' => false,
|
50 |
'first_activated_on' => false,
|
51 |
+
'myyoast-oauth' => array(
|
52 |
+
'config' => array(
|
53 |
+
'clientId' => null,
|
54 |
+
'secret' => null,
|
55 |
+
),
|
56 |
+
'access_tokens' => array(),
|
57 |
+
),
|
58 |
);
|
59 |
|
60 |
/**
|
279 |
}
|
280 |
break;
|
281 |
|
282 |
+
case 'myyoast-oauth':
|
283 |
+
$clean[ $key ] = $old[ $key ];
|
284 |
+
if ( isset( $dirty[ $key ]['config'], $dirty[ $key ]['access_tokens'] ) ) {
|
285 |
+
if ( isset( $dirty[ $key ]['config']['clientId'], $dirty[ $key ]['config']['secret'] ) ) {
|
286 |
+
$clean[ $key ]['config'] = $dirty[ $key ]['config'];
|
287 |
+
}
|
288 |
+
|
289 |
+
if ( is_string( $dirty[ $key ]['access_tokens'] ) ) {
|
290 |
+
$clean[ $key ]['access_tokens'] = $dirty[ $key ]['access_tokens'];
|
291 |
+
}
|
292 |
+
}
|
293 |
+
break;
|
294 |
+
|
295 |
/*
|
296 |
* Boolean (checkbox) fields.
|
297 |
*/
|
inc/options/class-wpseo-taxonomy-meta.php
CHANGED
@@ -50,6 +50,8 @@ class WPSEO_Taxonomy_Meta extends WPSEO_Option {
|
|
50 |
'wpseo_focuskw' => '',
|
51 |
'wpseo_linkdex' => '',
|
52 |
'wpseo_content_score' => '',
|
|
|
|
|
53 |
|
54 |
// Social fields.
|
55 |
'wpseo_opengraph-title' => '',
|
@@ -273,31 +275,65 @@ class WPSEO_Taxonomy_Meta extends WPSEO_Option {
|
|
273 |
|
274 |
case 'wpseo_bctitle':
|
275 |
if ( isset( $meta_data[ $key ] ) ) {
|
276 |
-
$clean[ $key ] = WPSEO_Utils::sanitize_text_field(
|
277 |
}
|
278 |
elseif ( isset( $old_meta[ $key ] ) ) {
|
279 |
// Retain old value if field currently not in use.
|
280 |
$clean[ $key ] = $old_meta[ $key ];
|
281 |
}
|
282 |
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
283 |
case 'wpseo_focuskw':
|
284 |
case 'wpseo_title':
|
285 |
case 'wpseo_desc':
|
286 |
case 'wpseo_linkdex':
|
287 |
default:
|
288 |
if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) {
|
289 |
-
$clean[ $key ] = WPSEO_Utils::sanitize_text_field(
|
290 |
}
|
291 |
|
292 |
if ( 'wpseo_focuskw' === $key ) {
|
293 |
$search = array(
|
294 |
'<',
|
295 |
'>',
|
296 |
-
'"',
|
297 |
'`',
|
298 |
'<',
|
299 |
'>',
|
300 |
-
'"',
|
301 |
'`',
|
302 |
);
|
303 |
|
50 |
'wpseo_focuskw' => '',
|
51 |
'wpseo_linkdex' => '',
|
52 |
'wpseo_content_score' => '',
|
53 |
+
'wpseo_focuskeywords' => '[]',
|
54 |
+
'wpseo_keywordsynonyms' => '[]',
|
55 |
|
56 |
// Social fields.
|
57 |
'wpseo_opengraph-title' => '',
|
275 |
|
276 |
case 'wpseo_bctitle':
|
277 |
if ( isset( $meta_data[ $key ] ) ) {
|
278 |
+
$clean[ $key ] = WPSEO_Utils::sanitize_text_field( $meta_data[ $key ] );
|
279 |
}
|
280 |
elseif ( isset( $old_meta[ $key ] ) ) {
|
281 |
// Retain old value if field currently not in use.
|
282 |
$clean[ $key ] = $old_meta[ $key ];
|
283 |
}
|
284 |
break;
|
285 |
+
|
286 |
+
case 'wpseo_keywordsynonyms':
|
287 |
+
if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) {
|
288 |
+
// The data is stringified JSON. Use `json_decode` and `json_encode` around the sanitation.
|
289 |
+
$input = json_decode( $meta_data[ $key ], true );
|
290 |
+
$sanitized = array_map( array( 'WPSEO_Utils', 'sanitize_text_field' ), $input );
|
291 |
+
$clean[ $key ] = json_encode( $sanitized );
|
292 |
+
}
|
293 |
+
elseif ( isset( $old_meta[ $key ] ) ) {
|
294 |
+
// Retain old value if field currently not in use.
|
295 |
+
$clean[ $key ] = $old_meta[ $key ];
|
296 |
+
}
|
297 |
+
break;
|
298 |
+
|
299 |
+
case 'wpseo_focuskeywords':
|
300 |
+
if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) {
|
301 |
+
// The data is stringified JSON. Use `json_decode` and `json_encode` around the sanitation.
|
302 |
+
$input = json_decode( $meta_data[ $key ], true );
|
303 |
+
|
304 |
+
// This data has two known keys: `keyword` and `score`.
|
305 |
+
$sanitized = array();
|
306 |
+
foreach ( $input as $entry ) {
|
307 |
+
$sanitized[] = array(
|
308 |
+
'keyword' => WPSEO_Utils::sanitize_text_field( $entry['keyword'] ),
|
309 |
+
'score' => WPSEO_Utils::sanitize_text_field( $entry['score'] ),
|
310 |
+
);
|
311 |
+
}
|
312 |
+
|
313 |
+
$clean[ $key ] = json_encode( $sanitized );
|
314 |
+
}
|
315 |
+
elseif ( isset( $old_meta[ $key ] ) ) {
|
316 |
+
// Retain old value if field currently not in use.
|
317 |
+
$clean[ $key ] = $old_meta[ $key ];
|
318 |
+
}
|
319 |
+
break;
|
320 |
+
|
321 |
case 'wpseo_focuskw':
|
322 |
case 'wpseo_title':
|
323 |
case 'wpseo_desc':
|
324 |
case 'wpseo_linkdex':
|
325 |
default:
|
326 |
if ( isset( $meta_data[ $key ] ) && is_string( $meta_data[ $key ] ) ) {
|
327 |
+
$clean[ $key ] = WPSEO_Utils::sanitize_text_field( $meta_data[ $key ] );
|
328 |
}
|
329 |
|
330 |
if ( 'wpseo_focuskw' === $key ) {
|
331 |
$search = array(
|
332 |
'<',
|
333 |
'>',
|
|
|
334 |
'`',
|
335 |
'<',
|
336 |
'>',
|
|
|
337 |
'`',
|
338 |
);
|
339 |
|
js/dist/analysis-1000.min.js
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
(window.yoastWebpackJsonp=window.yoastWebpackJsonp||[]).push([[28],[,,function(a,e,t){"use strict";t.r(e);var i=t(9),n=i.a.Symbol,o=Object.prototype,r=o.hasOwnProperty,s=o.toString,d=n?n.toStringTag:void 0;var l=function(a){var e=r.call(a,d),t=a[d];try{a[d]=void 0;var i=!0}catch(a){}var n=s.call(a);return i&&(e?a[d]=t:delete a[d]),n},c=Object.prototype.toString;var u=function(a){return c.call(a)},p="[object Null]",z="[object Undefined]",g=n?n.toStringTag:void 0;var m=function(a){return null==a?void 0===a?z:p:g&&g in Object(a)?l(a):u(a)};var w=function(a){return null!=a&&"object"==typeof a},y="[object Symbol]";var f=function(a){return"symbol"==typeof a||w(a)&&m(a)==y},b=NaN;var h=function(a){return"number"==typeof a?a:f(a)?b:+a};var v=function(a,e){for(var t=-1,i=null==a?0:a.length,n=Array(i);++t<i;)n[t]=e(a[t],t,a);return n},k=Array.isArray,j=1/0,_=n?n.prototype:void 0,x=_?_.toString:void 0;var q=function a(e){if("string"==typeof e)return e;if(k(e))return v(e,a)+"";if(f(e))return x?x.call(e):"";var t=e+"";return"0"==t&&1/e==-j?"-0":t};var E=function(a,e){return function(t,i){var n;if(void 0===t&&void 0===i)return e;if(void 0!==t&&(n=t),void 0!==i){if(void 0===n)return i;"string"==typeof t||"string"==typeof i?(t=q(t),i=q(i)):(t=h(t),i=h(i)),n=a(t,i)}return n}},A=E(function(a,e){return a+e},0);var T=function(a){var e=typeof a;return null!=a&&("object"==e||"function"==e)},O=NaN,P=/^\s+|\s+$/g,S=/^[-+]0x[0-9a-f]+$/i,M=/^0b[01]+$/i,C=/^0o[0-7]+$/i,R=parseInt;var D=function(a){if("number"==typeof a)return a;if(f(a))return O;if(T(a)){var e="function"==typeof a.valueOf?a.valueOf():a;a=T(e)?e+"":e}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(P,"");var t=M.test(a);return t||C.test(a)?R(a.slice(2),t?2:8):S.test(a)?O:+a},F=1/0,B=1.7976931348623157e308;var $=function(a){return a?(a=D(a))===F||a===-F?(a<0?-1:1)*B:a==a?a:0:0===a?a:0};var L=function(a){var e=$(a),t=e%1;return e==e?t?e-t:e:0},I="Expected a function";var W=function(a,e){if("function"!=typeof e)throw new TypeError(I);return a=L(a),function(){if(--a<1)return e.apply(this,arguments)}};var U=function(a){return a},N="[object AsyncFunction]",K="[object Function]",H="[object GeneratorFunction]",V="[object Proxy]";var Y=function(a){if(!T(a))return!1;var e=m(a);return e==K||e==H||e==N||e==V},G=i.a["__core-js_shared__"],Z=function(){var a=/[^.]+$/.exec(G&&G.keys&&G.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();var J=function(a){return!!Z&&Z in a},Q=Function.prototype.toString;var X=function(a){if(null!=a){try{return Q.call(a)}catch(a){}try{return a+""}catch(a){}}return""},aa=/^\[object .+?Constructor\]$/,ea=Function.prototype,ta=Object.prototype,ia=ea.toString,na=ta.hasOwnProperty,oa=RegExp("^"+ia.call(na).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var ra=function(a){return!(!T(a)||J(a))&&(Y(a)?oa:aa).test(X(a))};var sa=function(a,e){return null==a?void 0:a[e]};var da=function(a,e){var t=sa(a,e);return ra(t)?t:void 0},la=da(i.a,"WeakMap"),ca=la&&new la,ua=ca?function(a,e){return ca.set(a,e),a}:U,pa=Object.create,za=function(){function a(){}return function(e){if(!T(e))return{};if(pa)return pa(e);a.prototype=e;var t=new a;return a.prototype=void 0,t}}();var ga=function(a){return function(){var e=arguments;switch(e.length){case 0:return new a;case 1:return new a(e[0]);case 2:return new a(e[0],e[1]);case 3:return new a(e[0],e[1],e[2]);case 4:return new a(e[0],e[1],e[2],e[3]);case 5:return new a(e[0],e[1],e[2],e[3],e[4]);case 6:return new a(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new a(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var t=za(a.prototype),i=a.apply(t,e);return T(i)?i:t}},ma=1;var wa=function(a,e,t){var n=e&ma,o=ga(a);return function e(){return(this&&this!==i.a&&this instanceof e?o:a).apply(n?t:this,arguments)}};var ya=function(a,e,t){switch(t.length){case 0:return a.call(e);case 1:return a.call(e,t[0]);case 2:return a.call(e,t[0],t[1]);case 3:return a.call(e,t[0],t[1],t[2])}return a.apply(e,t)},fa=Math.max;var ba=function(a,e,t,i){for(var n=-1,o=a.length,r=t.length,s=-1,d=e.length,l=fa(o-r,0),c=Array(d+l),u=!i;++s<d;)c[s]=e[s];for(;++n<r;)(u||n<o)&&(c[t[n]]=a[n]);for(;l--;)c[s++]=a[n++];return c},ha=Math.max;var va=function(a,e,t,i){for(var n=-1,o=a.length,r=-1,s=t.length,d=-1,l=e.length,c=ha(o-s,0),u=Array(c+l),p=!i;++n<c;)u[n]=a[n];for(var z=n;++d<l;)u[z+d]=e[d];for(;++r<s;)(p||n<o)&&(u[z+t[r]]=a[n++]);return u};var ka=function(a,e){for(var t=a.length,i=0;t--;)a[t]===e&&++i;return i};var ja=function(){},_a=4294967295;function xa(a){this.__wrapped__=a,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=_a,this.__views__=[]}xa.prototype=za(ja.prototype),xa.prototype.constructor=xa;var qa=xa;var Ea=function(){},Aa=ca?function(a){return ca.get(a)}:Ea,Ta={},Oa=Object.prototype.hasOwnProperty;var Pa=function(a){for(var e=a.name+"",t=Ta[e],i=Oa.call(Ta,e)?t.length:0;i--;){var n=t[i],o=n.func;if(null==o||o==a)return n.name}return e};function Sa(a,e){this.__wrapped__=a,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=void 0}Sa.prototype=za(ja.prototype),Sa.prototype.constructor=Sa;var Ma=Sa;var Ca=function(a,e){var t=-1,i=a.length;for(e||(e=Array(i));++t<i;)e[t]=a[t];return e};var Ra=function(a){if(a instanceof qa)return a.clone();var e=new Ma(a.__wrapped__,a.__chain__);return e.__actions__=Ca(a.__actions__),e.__index__=a.__index__,e.__values__=a.__values__,e},Da=Object.prototype.hasOwnProperty;function Fa(a){if(w(a)&&!k(a)&&!(a instanceof qa)){if(a instanceof Ma)return a;if(Da.call(a,"__wrapped__"))return Ra(a)}return new Ma(a)}Fa.prototype=ja.prototype,Fa.prototype.constructor=Fa;var Ba=Fa;var $a=function(a){var e=Pa(a),t=Ba[e];if("function"!=typeof t||!(e in qa.prototype))return!1;if(a===t)return!0;var i=Aa(t);return!!i&&a===i[0]},La=800,Ia=16,Wa=Date.now;var Ua=function(a){var e=0,t=0;return function(){var i=Wa(),n=Ia-(i-t);if(t=i,n>0){if(++e>=La)return arguments[0]}else e=0;return a.apply(void 0,arguments)}},Na=Ua(ua),Ka=/\{\n\/\* \[wrapped with (.+)\] \*/,Ha=/,? & /;var Va=function(a){var e=a.match(Ka);return e?e[1].split(Ha):[]},Ya=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;var Ga=function(a,e){var t=e.length;if(!t)return a;var i=t-1;return e[i]=(t>1?"& ":"")+e[i],e=e.join(t>2?", ":" "),a.replace(Ya,"{\n/* [wrapped with "+e+"] */\n")};var Za=function(a){return function(){return a}},Ja=function(){try{var a=da(Object,"defineProperty");return a({},"",{}),a}catch(a){}}(),Qa=Ua(Ja?function(a,e){return Ja(a,"toString",{configurable:!0,enumerable:!1,value:Za(e),writable:!0})}:U);var Xa=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i&&!1!==e(a[t],t,a););return a};var ae=function(a,e,t,i){for(var n=a.length,o=t+(i?1:-1);i?o--:++o<n;)if(e(a[o],o,a))return o;return-1};var ee=function(a){return a!=a};var te=function(a,e,t){for(var i=t-1,n=a.length;++i<n;)if(a[i]===e)return i;return-1};var ie=function(a,e,t){return e==e?te(a,e,t):ae(a,ee,t)};var ne=function(a,e){return!(null==a||!a.length)&&ie(a,e,0)>-1},oe=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];var re=function(a,e){return Xa(oe,function(t){var i="_."+t[0];e&t[1]&&!ne(a,i)&&a.push(i)}),a.sort()};var se=function(a,e,t){var i=e+"";return Qa(a,Ga(i,re(Va(i),t)))},de=1,le=2,ce=4,ue=8,pe=32,ze=64;var ge=function(a,e,t,i,n,o,r,s,d,l){var c=e&ue;e|=c?pe:ze,(e&=~(c?ze:pe))&ce||(e&=~(de|le));var u=[a,e,n,c?o:void 0,c?r:void 0,c?void 0:o,c?void 0:r,s,d,l],p=t.apply(void 0,u);return $a(a)&&Na(p,u),p.placeholder=i,se(p,a,e)};var me=function(a){return a.placeholder},we=9007199254740991,ye=/^(?:0|[1-9]\d*)$/;var fe=function(a,e){var t=typeof a;return!!(e=null==e?we:e)&&("number"==t||"symbol"!=t&&ye.test(a))&&a>-1&&a%1==0&&a<e},be=Math.min;var he=function(a,e){for(var t=a.length,i=be(e.length,t),n=Ca(a);i--;){var o=e[i];a[i]=fe(o,t)?n[o]:void 0}return a},ve="__lodash_placeholder__";var ke=function(a,e){for(var t=-1,i=a.length,n=0,o=[];++t<i;){var r=a[t];r!==e&&r!==ve||(a[t]=ve,o[n++]=t)}return o},je=1,_e=2,xe=8,qe=16,Ee=128,Ae=512;var Te=function a(e,t,n,o,r,s,d,l,c,u){var p=t&Ee,z=t&je,g=t&_e,m=t&(xe|qe),w=t&Ae,y=g?void 0:ga(e);return function f(){for(var b=arguments.length,h=Array(b),v=b;v--;)h[v]=arguments[v];if(m)var k=me(f),j=ka(h,k);if(o&&(h=ba(h,o,r,m)),s&&(h=va(h,s,d,m)),b-=j,m&&b<u){var _=ke(h,k);return ge(e,t,a,f.placeholder,n,h,_,l,c,u-b)}var x=z?n:this,q=g?x[e]:e;return b=h.length,l?h=he(h,l):w&&b>1&&h.reverse(),p&&c<b&&(h.length=c),this&&this!==i.a&&this instanceof f&&(q=y||ga(q)),q.apply(x,h)}};var Oe=function(a,e,t){var n=ga(a);return function o(){for(var r=arguments.length,s=Array(r),d=r,l=me(o);d--;)s[d]=arguments[d];var c=r<3&&s[0]!==l&&s[r-1]!==l?[]:ke(s,l);if((r-=c.length)<t)return ge(a,e,Te,o.placeholder,void 0,s,c,void 0,void 0,t-r);var u=this&&this!==i.a&&this instanceof o?n:a;return ya(u,this,s)}},Pe=1;var Se=function(a,e,t,n){var o=e&Pe,r=ga(a);return function e(){for(var s=-1,d=arguments.length,l=-1,c=n.length,u=Array(c+d),p=this&&this!==i.a&&this instanceof e?r:a;++l<c;)u[l]=n[l];for(;d--;)u[l++]=arguments[++s];return ya(p,o?t:this,u)}},Me="__lodash_placeholder__",Ce=1,Re=2,De=4,Fe=8,Be=128,$e=256,Le=Math.min;var Ie=function(a,e){var t=a[1],i=e[1],n=t|i,o=n<(Ce|Re|Be),r=i==Be&&t==Fe||i==Be&&t==$e&&a[7].length<=e[8]||i==(Be|$e)&&e[7].length<=e[8]&&t==Fe;if(!o&&!r)return a;i&Ce&&(a[2]=e[2],n|=t&Ce?0:De);var s=e[3];if(s){var d=a[3];a[3]=d?ba(d,s,e[4]):s,a[4]=d?ke(a[3],Me):e[4]}return(s=e[5])&&(d=a[5],a[5]=d?va(d,s,e[6]):s,a[6]=d?ke(a[5],Me):e[6]),(s=e[7])&&(a[7]=s),i&Be&&(a[8]=null==a[8]?e[8]:Le(a[8],e[8])),null==a[9]&&(a[9]=e[9]),a[0]=e[0],a[1]=n,a},We="Expected a function",Ue=1,Ne=2,Ke=8,He=16,Ve=32,Ye=64,Ge=Math.max;var Ze=function(a,e,t,i,n,o,r,s){var d=e&Ne;if(!d&&"function"!=typeof a)throw new TypeError(We);var l=i?i.length:0;if(l||(e&=~(Ve|Ye),i=n=void 0),r=void 0===r?r:Ge(L(r),0),s=void 0===s?s:L(s),l-=n?n.length:0,e&Ye){var c=i,u=n;i=n=void 0}var p=d?void 0:Aa(a),z=[a,e,t,i,n,c,u,o,r,s];if(p&&Ie(z,p),a=z[0],e=z[1],t=z[2],i=z[3],n=z[4],!(s=z[9]=void 0===z[9]?d?0:a.length:Ge(z[9]-l,0))&&e&(Ke|He)&&(e&=~(Ke|He)),e&&e!=Ue)g=e==Ke||e==He?Oe(a,e,s):e!=Ve&&e!=(Ue|Ve)||n.length?Te.apply(void 0,z):Se(a,e,t,i);else var g=wa(a,e,t);return se((p?ua:Na)(g,z),a,e)},Je=128;var Qe=function(a,e,t){return e=t?void 0:e,e=a&&null==e?a.length:e,Ze(a,Je,void 0,void 0,void 0,void 0,e)};var Xe=function(a,e,t){"__proto__"==e&&Ja?Ja(a,e,{configurable:!0,enumerable:!0,value:t,writable:!0}):a[e]=t};var at=function(a,e){return a===e||a!=a&&e!=e},et=Object.prototype.hasOwnProperty;var tt=function(a,e,t){var i=a[e];et.call(a,e)&&at(i,t)&&(void 0!==t||e in a)||Xe(a,e,t)};var it=function(a,e,t,i){var n=!t;t||(t={});for(var o=-1,r=e.length;++o<r;){var s=e[o],d=i?i(t[s],a[s],s,t,a):void 0;void 0===d&&(d=a[s]),n?Xe(t,s,d):tt(t,s,d)}return t},nt=Math.max;var ot=function(a,e,t){return e=nt(void 0===e?a.length-1:e,0),function(){for(var i=arguments,n=-1,o=nt(i.length-e,0),r=Array(o);++n<o;)r[n]=i[e+n];n=-1;for(var s=Array(e+1);++n<e;)s[n]=i[n];return s[e]=t(r),ya(a,this,s)}};var rt=function(a,e){return Qa(ot(a,e,U),a+"")},st=9007199254740991;var dt=function(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=st};var lt=function(a){return null!=a&&dt(a.length)&&!Y(a)};var ct=function(a,e,t){if(!T(t))return!1;var i=typeof e;return!!("number"==i?lt(t)&&fe(e,t.length):"string"==i&&e in t)&&at(t[e],a)};var ut=function(a){return rt(function(e,t){var i=-1,n=t.length,o=n>1?t[n-1]:void 0,r=n>2?t[2]:void 0;for(o=a.length>3&&"function"==typeof o?(n--,o):void 0,r&&ct(t[0],t[1],r)&&(o=n<3?void 0:o,n=1),e=Object(e);++i<n;){var s=t[i];s&&a(e,s,i,o)}return e})},pt=Object.prototype;var zt=function(a){var e=a&&a.constructor;return a===("function"==typeof e&&e.prototype||pt)};var gt=function(a,e){for(var t=-1,i=Array(a);++t<a;)i[t]=e(t);return i},mt="[object Arguments]";var wt=function(a){return w(a)&&m(a)==mt},yt=Object.prototype,ft=yt.hasOwnProperty,bt=yt.propertyIsEnumerable,ht=wt(function(){return arguments}())?wt:function(a){return w(a)&&ft.call(a,"callee")&&!bt.call(a,"callee")},vt=t(36),kt={};kt["[object Float32Array]"]=kt["[object Float64Array]"]=kt["[object Int8Array]"]=kt["[object Int16Array]"]=kt["[object Int32Array]"]=kt["[object Uint8Array]"]=kt["[object Uint8ClampedArray]"]=kt["[object Uint16Array]"]=kt["[object Uint32Array]"]=!0,kt["[object Arguments]"]=kt["[object Array]"]=kt["[object ArrayBuffer]"]=kt["[object Boolean]"]=kt["[object DataView]"]=kt["[object Date]"]=kt["[object Error]"]=kt["[object Function]"]=kt["[object Map]"]=kt["[object Number]"]=kt["[object Object]"]=kt["[object RegExp]"]=kt["[object Set]"]=kt["[object String]"]=kt["[object WeakMap]"]=!1;var jt=function(a){return w(a)&&dt(a.length)&&!!kt[m(a)]};var _t=function(a){return function(e){return a(e)}},xt=t(32),qt=xt.a&&xt.a.isTypedArray,Et=qt?_t(qt):jt,At=Object.prototype.hasOwnProperty;var Tt=function(a,e){var t=k(a),i=!t&&ht(a),n=!t&&!i&&Object(vt.a)(a),o=!t&&!i&&!n&&Et(a),r=t||i||n||o,s=r?gt(a.length,String):[],d=s.length;for(var l in a)!e&&!At.call(a,l)||r&&("length"==l||n&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||fe(l,d))||s.push(l);return s};var Ot=function(a,e){return function(t){return a(e(t))}},Pt=Ot(Object.keys,Object),St=Object.prototype.hasOwnProperty;var Mt=function(a){if(!zt(a))return Pt(a);var e=[];for(var t in Object(a))St.call(a,t)&&"constructor"!=t&&e.push(t);return e};var Ct=function(a){return lt(a)?Tt(a):Mt(a)},Rt=Object.prototype.hasOwnProperty,Dt=ut(function(a,e){if(zt(e)||lt(e))it(e,Ct(e),a);else for(var t in e)Rt.call(e,t)&&tt(a,t,e[t])});var Ft=function(a){var e=[];if(null!=a)for(var t in Object(a))e.push(t);return e},Bt=Object.prototype.hasOwnProperty;var $t=function(a){if(!T(a))return Ft(a);var e=zt(a),t=[];for(var i in a)("constructor"!=i||!e&&Bt.call(a,i))&&t.push(i);return t};var Lt=function(a){return lt(a)?Tt(a,!0):$t(a)},It=ut(function(a,e){it(e,Lt(e),a)}),Wt=ut(function(a,e,t,i){it(e,Lt(e),a,i)}),Ut=ut(function(a,e,t,i){it(e,Ct(e),a,i)}),Nt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Kt=/^\w*$/;var Ht=function(a,e){if(k(a))return!1;var t=typeof a;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=a&&!f(a))||Kt.test(a)||!Nt.test(a)||null!=e&&a in Object(e)},Vt=da(Object,"create");var Yt=function(){this.__data__=Vt?Vt(null):{},this.size=0};var Gt=function(a){var e=this.has(a)&&delete this.__data__[a];return this.size-=e?1:0,e},Zt="__lodash_hash_undefined__",Jt=Object.prototype.hasOwnProperty;var Qt=function(a){var e=this.__data__;if(Vt){var t=e[a];return t===Zt?void 0:t}return Jt.call(e,a)?e[a]:void 0},Xt=Object.prototype.hasOwnProperty;var ai=function(a){var e=this.__data__;return Vt?void 0!==e[a]:Xt.call(e,a)},ei="__lodash_hash_undefined__";var ti=function(a,e){var t=this.__data__;return this.size+=this.has(a)?0:1,t[a]=Vt&&void 0===e?ei:e,this};function ii(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}ii.prototype.clear=Yt,ii.prototype.delete=Gt,ii.prototype.get=Qt,ii.prototype.has=ai,ii.prototype.set=ti;var ni=ii;var oi=function(){this.__data__=[],this.size=0};var ri=function(a,e){for(var t=a.length;t--;)if(at(a[t][0],e))return t;return-1},si=Array.prototype.splice;var di=function(a){var e=this.__data__,t=ri(e,a);return!(t<0||(t==e.length-1?e.pop():si.call(e,t,1),--this.size,0))};var li=function(a){var e=this.__data__,t=ri(e,a);return t<0?void 0:e[t][1]};var ci=function(a){return ri(this.__data__,a)>-1};var ui=function(a,e){var t=this.__data__,i=ri(t,a);return i<0?(++this.size,t.push([a,e])):t[i][1]=e,this};function pi(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}pi.prototype.clear=oi,pi.prototype.delete=di,pi.prototype.get=li,pi.prototype.has=ci,pi.prototype.set=ui;var zi=pi,gi=da(i.a,"Map");var mi=function(){this.size=0,this.__data__={hash:new ni,map:new(gi||zi),string:new ni}};var wi=function(a){var e=typeof a;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==a:null===a};var yi=function(a,e){var t=a.__data__;return wi(e)?t["string"==typeof e?"string":"hash"]:t.map};var fi=function(a){var e=yi(this,a).delete(a);return this.size-=e?1:0,e};var bi=function(a){return yi(this,a).get(a)};var hi=function(a){return yi(this,a).has(a)};var vi=function(a,e){var t=yi(this,a),i=t.size;return t.set(a,e),this.size+=t.size==i?0:1,this};function ki(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}ki.prototype.clear=mi,ki.prototype.delete=fi,ki.prototype.get=bi,ki.prototype.has=hi,ki.prototype.set=vi;var ji=ki,_i="Expected a function";function xi(a,e){if("function"!=typeof a||null!=e&&"function"!=typeof e)throw new TypeError(_i);var t=function(){var i=arguments,n=e?e.apply(this,i):i[0],o=t.cache;if(o.has(n))return o.get(n);var r=a.apply(this,i);return t.cache=o.set(n,r)||o,r};return t.cache=new(xi.Cache||ji),t}xi.Cache=ji;var qi=xi,Ei=500;var Ai=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ti=/\\(\\)?/g,Oi=function(a){var e=qi(a,function(a){return t.size===Ei&&t.clear(),a}),t=e.cache;return e}(function(a){var e=[];return 46===a.charCodeAt(0)&&e.push(""),a.replace(Ai,function(a,t,i,n){e.push(i?n.replace(Ti,"$1"):t||a)}),e});var Pi=function(a){return null==a?"":q(a)};var Si=function(a,e){return k(a)?a:Ht(a,e)?[a]:Oi(Pi(a))},Mi=1/0;var Ci=function(a){if("string"==typeof a||f(a))return a;var e=a+"";return"0"==e&&1/a==-Mi?"-0":e};var Ri=function(a,e){for(var t=0,i=(e=Si(e,a)).length;null!=a&&t<i;)a=a[Ci(e[t++])];return t&&t==i?a:void 0};var Di=function(a,e,t){var i=null==a?void 0:Ri(a,e);return void 0===i?t:i};var Fi=function(a,e){for(var t=-1,i=e.length,n=Array(i),o=null==a;++t<i;)n[t]=o?void 0:Di(a,e[t]);return n};var Bi=function(a,e){for(var t=-1,i=e.length,n=a.length;++t<i;)a[n+t]=e[t];return a},$i=n?n.isConcatSpreadable:void 0;var Li=function(a){return k(a)||ht(a)||!!($i&&a&&a[$i])};var Ii=function a(e,t,i,n,o){var r=-1,s=e.length;for(i||(i=Li),o||(o=[]);++r<s;){var d=e[r];t>0&&i(d)?t>1?a(d,t-1,i,n,o):Bi(o,d):n||(o[o.length]=d)}return o};var Wi=function(a){return null!=a&&a.length?Ii(a,1):[]};var Ui=function(a){return Qa(ot(a,void 0,Wi),a+"")},Ni=Ui(Fi),Ki=Ot(Object.getPrototypeOf,Object),Hi="[object Object]",Vi=Function.prototype,Yi=Object.prototype,Gi=Vi.toString,Zi=Yi.hasOwnProperty,Ji=Gi.call(Object);var Qi=function(a){if(!w(a)||m(a)!=Hi)return!1;var e=Ki(a);if(null===e)return!0;var t=Zi.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&Gi.call(t)==Ji},Xi="[object DOMException]",an="[object Error]";var en=function(a){if(!w(a))return!1;var e=m(a);return e==an||e==Xi||"string"==typeof a.message&&"string"==typeof a.name&&!Qi(a)},tn=rt(function(a,e){try{return ya(a,void 0,e)}catch(a){return en(a)?a:new Error(a)}}),nn="Expected a function";var on=function(a,e){var t;if("function"!=typeof e)throw new TypeError(nn);return a=L(a),function(){return--a>0&&(t=e.apply(this,arguments)),a<=1&&(e=void 0),t}},rn=rt(function(a,e,t){var i=1;if(t.length){var n=ke(t,me(rn));i|=32}return Ze(a,i,e,t,n)});rn.placeholder={};var sn=rn,dn=Ui(function(a,e){return Xa(e,function(e){e=Ci(e),Xe(a,e,sn(a[e],a))}),a}),ln=rt(function(a,e,t){var i=3;if(t.length){var n=ke(t,me(ln));i|=32}return Ze(e,i,a,t,n)});ln.placeholder={};var cn=ln;var un=function(a,e,t){var i=-1,n=a.length;e<0&&(e=-e>n?0:n+e),(t=t>n?n:t)<0&&(t+=n),n=e>t?0:t-e>>>0,e>>>=0;for(var o=Array(n);++i<n;)o[i]=a[i+e];return o};var pn=function(a,e,t){var i=a.length;return t=void 0===t?i:t,!e&&t>=i?a:un(a,e,t)},zn=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var gn=function(a){return zn.test(a)};var mn=function(a){return a.split("")},wn="[\\ud800-\\udfff]",yn="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",fn="\\ud83c[\\udffb-\\udfff]",bn="[^\\ud800-\\udfff]",hn="(?:\\ud83c[\\udde6-\\uddff]){2}",vn="[\\ud800-\\udbff][\\udc00-\\udfff]",kn="(?:"+yn+"|"+fn+")"+"?",jn="[\\ufe0e\\ufe0f]?"+kn+("(?:\\u200d(?:"+[bn,hn,vn].join("|")+")[\\ufe0e\\ufe0f]?"+kn+")*"),_n="(?:"+[bn+yn+"?",yn,hn,vn,wn].join("|")+")",xn=RegExp(fn+"(?="+fn+")|"+_n+jn,"g");var qn=function(a){return a.match(xn)||[]};var En=function(a){return gn(a)?qn(a):mn(a)};var An=function(a){return function(e){e=Pi(e);var t=gn(e)?En(e):void 0,i=t?t[0]:e.charAt(0),n=t?pn(t,1).join(""):e.slice(1);return i[a]()+n}},Tn=An("toUpperCase");var On=function(a){return Tn(Pi(a).toLowerCase())};var Pn=function(a,e,t,i){var n=-1,o=null==a?0:a.length;for(i&&o&&(t=a[++n]);++n<o;)t=e(t,a[n],n,a);return t};var Sn=function(a){return function(e){return null==a?void 0:a[e]}},Mn=Sn({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Cn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Rn=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Dn=function(a){return(a=Pi(a))&&a.replace(Cn,Mn).replace(Rn,"")},Fn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Bn=function(a){return a.match(Fn)||[]},$n=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Ln=function(a){return $n.test(a)},In="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Wn="["+In+"]",Un="\\d+",Nn="[\\u2700-\\u27bf]",Kn="[a-z\\xdf-\\xf6\\xf8-\\xff]",Hn="[^\\ud800-\\udfff"+In+Un+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",Vn="(?:\\ud83c[\\udde6-\\uddff]){2}",Yn="[\\ud800-\\udbff][\\udc00-\\udfff]",Gn="[A-Z\\xc0-\\xd6\\xd8-\\xde]",Zn="(?:"+Kn+"|"+Hn+")",Jn="(?:"+Gn+"|"+Hn+")",Qn="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Xn="[\\ufe0e\\ufe0f]?"+Qn+("(?:\\u200d(?:"+["[^\\ud800-\\udfff]",Vn,Yn].join("|")+")[\\ufe0e\\ufe0f]?"+Qn+")*"),ao="(?:"+[Nn,Vn,Yn].join("|")+")"+Xn,eo=RegExp([Gn+"?"+Kn+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[Wn,Gn,"$"].join("|")+")",Jn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[Wn,Gn+Zn,"$"].join("|")+")",Gn+"?"+Zn+"+(?:['’](?:d|ll|m|re|s|t|ve))?",Gn+"+(?:['’](?:D|LL|M|RE|S|T|VE))?","\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Un,ao].join("|"),"g");var to=function(a){return a.match(eo)||[]};var io=function(a,e,t){return a=Pi(a),void 0===(e=t?void 0:e)?Ln(a)?to(a):Bn(a):a.match(e)||[]},no=RegExp("['’]","g");var oo=function(a){return function(e){return Pn(io(Dn(e).replace(no,"")),a,"")}},ro=oo(function(a,e,t){return e=e.toLowerCase(),a+(t?On(e):e)});var so=function(){if(!arguments.length)return[];var a=arguments[0];return k(a)?a:[a]},lo=Math.min;var co=function(a){var e=Math[a];return function(a,t){if(a=D(a),t=null==t?0:lo(L(t),292)){var i=(Pi(a)+"e").split("e"),n=e(i[0]+"e"+(+i[1]+t));return+((i=(Pi(n)+"e").split("e"))[0]+"e"+(+i[1]-t))}return e(a)}},uo=co("ceil");var po=function(a){var e=Ba(a);return e.__chain__=!0,e},zo=Math.ceil,go=Math.max;var mo=function(a,e,t){e=(t?ct(a,e,t):void 0===e)?1:go(L(e),0);var i=null==a?0:a.length;if(!i||e<1)return[];for(var n=0,o=0,r=Array(zo(i/e));n<i;)r[o++]=un(a,n,n+=e);return r};var wo=function(a,e,t){return a==a&&(void 0!==t&&(a=a<=t?a:t),void 0!==e&&(a=a>=e?a:e)),a};var yo=function(a,e,t){return void 0===t&&(t=e,e=void 0),void 0!==t&&(t=(t=D(t))==t?t:0),void 0!==e&&(e=(e=D(e))==e?e:0),wo(D(a),e,t)};var fo=function(){this.__data__=new zi,this.size=0};var bo=function(a){var e=this.__data__,t=e.delete(a);return this.size=e.size,t};var ho=function(a){return this.__data__.get(a)};var vo=function(a){return this.__data__.has(a)},ko=200;var jo=function(a,e){var t=this.__data__;if(t instanceof zi){var i=t.__data__;if(!gi||i.length<ko-1)return i.push([a,e]),this.size=++t.size,this;t=this.__data__=new ji(i)}return t.set(a,e),this.size=t.size,this};function _o(a){var e=this.__data__=new zi(a);this.size=e.size}_o.prototype.clear=fo,_o.prototype.delete=bo,_o.prototype.get=ho,_o.prototype.has=vo,_o.prototype.set=jo;var xo=_o;var qo=function(a,e){return a&&it(e,Ct(e),a)};var Eo=function(a,e){return a&&it(e,Lt(e),a)},Ao=t(294);var To=function(a,e){for(var t=-1,i=null==a?0:a.length,n=0,o=[];++t<i;){var r=a[t];e(r,t,a)&&(o[n++]=r)}return o};var Oo=function(){return[]},Po=Object.prototype.propertyIsEnumerable,So=Object.getOwnPropertySymbols,Mo=So?function(a){return null==a?[]:(a=Object(a),To(So(a),function(e){return Po.call(a,e)}))}:Oo;var Co=function(a,e){return it(a,Mo(a),e)},Ro=Object.getOwnPropertySymbols?function(a){for(var e=[];a;)Bi(e,Mo(a)),a=Ki(a);return e}:Oo;var Do=function(a,e){return it(a,Ro(a),e)};var Fo=function(a,e,t){var i=e(a);return k(a)?i:Bi(i,t(a))};var Bo=function(a){return Fo(a,Ct,Mo)};var $o=function(a){return Fo(a,Lt,Ro)},Lo=da(i.a,"DataView"),Io=da(i.a,"Promise"),Wo=da(i.a,"Set"),Uo=X(Lo),No=X(gi),Ko=X(Io),Ho=X(Wo),Vo=X(la),Yo=m;(Lo&&"[object DataView]"!=Yo(new Lo(new ArrayBuffer(1)))||gi&&"[object Map]"!=Yo(new gi)||Io&&"[object Promise]"!=Yo(Io.resolve())||Wo&&"[object Set]"!=Yo(new Wo)||la&&"[object WeakMap]"!=Yo(new la))&&(Yo=function(a){var e=m(a),t="[object Object]"==e?a.constructor:void 0,i=t?X(t):"";if(i)switch(i){case Uo:return"[object DataView]";case No:return"[object Map]";case Ko:return"[object Promise]";case Ho:return"[object Set]";case Vo:return"[object WeakMap]"}return e});var Go=Yo,Zo=Object.prototype.hasOwnProperty;var Jo=function(a){var e=a.length,t=new a.constructor(e);return e&&"string"==typeof a[0]&&Zo.call(a,"index")&&(t.index=a.index,t.input=a.input),t},Qo=i.a.Uint8Array;var Xo=function(a){var e=new a.constructor(a.byteLength);return new Qo(e).set(new Qo(a)),e};var ar=function(a,e){var t=e?Xo(a.buffer):a.buffer;return new a.constructor(t,a.byteOffset,a.byteLength)},er=/\w*$/;var tr=function(a){var e=new a.constructor(a.source,er.exec(a));return e.lastIndex=a.lastIndex,e},ir=n?n.prototype:void 0,nr=ir?ir.valueOf:void 0;var or=function(a){return nr?Object(nr.call(a)):{}};var rr=function(a,e){var t=e?Xo(a.buffer):a.buffer;return new a.constructor(t,a.byteOffset,a.length)},sr="[object Boolean]",dr="[object Date]",lr="[object Map]",cr="[object Number]",ur="[object RegExp]",pr="[object Set]",zr="[object String]",gr="[object Symbol]",mr="[object ArrayBuffer]",wr="[object DataView]",yr="[object Float32Array]",fr="[object Float64Array]",br="[object Int8Array]",hr="[object Int16Array]",vr="[object Int32Array]",kr="[object Uint8Array]",jr="[object Uint8ClampedArray]",_r="[object Uint16Array]",xr="[object Uint32Array]";var qr=function(a,e,t){var i=a.constructor;switch(e){case mr:return Xo(a);case sr:case dr:return new i(+a);case wr:return ar(a,t);case yr:case fr:case br:case hr:case vr:case kr:case jr:case _r:case xr:return rr(a,t);case lr:return new i;case cr:case zr:return new i(a);case ur:return tr(a);case pr:return new i;case gr:return or(a)}};var Er=function(a){return"function"!=typeof a.constructor||zt(a)?{}:za(Ki(a))},Ar="[object Map]";var Tr=function(a){return w(a)&&Go(a)==Ar},Or=xt.a&&xt.a.isMap,Pr=Or?_t(Or):Tr,Sr="[object Set]";var Mr=function(a){return w(a)&&Go(a)==Sr},Cr=xt.a&&xt.a.isSet,Rr=Cr?_t(Cr):Mr,Dr=1,Fr=2,Br=4,$r="[object Arguments]",Lr="[object Function]",Ir="[object GeneratorFunction]",Wr="[object Object]",Ur={};Ur[$r]=Ur["[object Array]"]=Ur["[object ArrayBuffer]"]=Ur["[object DataView]"]=Ur["[object Boolean]"]=Ur["[object Date]"]=Ur["[object Float32Array]"]=Ur["[object Float64Array]"]=Ur["[object Int8Array]"]=Ur["[object Int16Array]"]=Ur["[object Int32Array]"]=Ur["[object Map]"]=Ur["[object Number]"]=Ur[Wr]=Ur["[object RegExp]"]=Ur["[object Set]"]=Ur["[object String]"]=Ur["[object Symbol]"]=Ur["[object Uint8Array]"]=Ur["[object Uint8ClampedArray]"]=Ur["[object Uint16Array]"]=Ur["[object Uint32Array]"]=!0,Ur["[object Error]"]=Ur[Lr]=Ur["[object WeakMap]"]=!1;var Nr=function a(e,t,i,n,o,r){var s,d=t&Dr,l=t&Fr,c=t&Br;if(i&&(s=o?i(e,n,o,r):i(e)),void 0!==s)return s;if(!T(e))return e;var u=k(e);if(u){if(s=Jo(e),!d)return Ca(e,s)}else{var p=Go(e),z=p==Lr||p==Ir;if(Object(vt.a)(e))return Object(Ao.a)(e,d);if(p==Wr||p==$r||z&&!o){if(s=l||z?{}:Er(e),!d)return l?Do(e,Eo(s,e)):Co(e,qo(s,e))}else{if(!Ur[p])return o?e:{};s=qr(e,p,d)}}r||(r=new xo);var g=r.get(e);if(g)return g;if(r.set(e,s),Rr(e))return e.forEach(function(n){s.add(a(n,t,i,n,e,r))}),s;if(Pr(e))return e.forEach(function(n,o){s.set(o,a(n,t,i,o,e,r))}),s;var m=c?l?$o:Bo:l?keysIn:Ct,w=u?void 0:m(e);return Xa(w||e,function(n,o){w&&(n=e[o=n]),tt(s,o,a(n,t,i,o,e,r))}),s},Kr=4;var Hr=function(a){return Nr(a,Kr)},Vr=1,Yr=4;var Gr=function(a){return Nr(a,Vr|Yr)},Zr=1,Jr=4;var Qr=function(a,e){return Nr(a,Zr|Jr,e="function"==typeof e?e:void 0)},Xr=4;var as=function(a,e){return Nr(a,Xr,e="function"==typeof e?e:void 0)};var es=function(){return new Ma(this.value(),this.__chain__)};var ts=function(a){for(var e=-1,t=null==a?0:a.length,i=0,n=[];++e<t;){var o=a[e];o&&(n[i++]=o)}return n};var is=function(){var a=arguments.length;if(!a)return[];for(var e=Array(a-1),t=arguments[0],i=a;i--;)e[i-1]=arguments[i];return Bi(k(t)?Ca(t):[t],Ii(e,1))},ns="__lodash_hash_undefined__";var os=function(a){return this.__data__.set(a,ns),this};var rs=function(a){return this.__data__.has(a)};function ss(a){var e=-1,t=null==a?0:a.length;for(this.__data__=new ji;++e<t;)this.add(a[e])}ss.prototype.add=ss.prototype.push=os,ss.prototype.has=rs;var ds=ss;var ls=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i;)if(e(a[t],t,a))return!0;return!1};var cs=function(a,e){return a.has(e)},us=1,ps=2;var zs=function(a,e,t,i,n,o){var r=t&us,s=a.length,d=e.length;if(s!=d&&!(r&&d>s))return!1;var l=o.get(a);if(l&&o.get(e))return l==e;var c=-1,u=!0,p=t&ps?new ds:void 0;for(o.set(a,e),o.set(e,a);++c<s;){var z=a[c],g=e[c];if(i)var m=r?i(g,z,c,e,a,o):i(z,g,c,a,e,o);if(void 0!==m){if(m)continue;u=!1;break}if(p){if(!ls(e,function(a,e){if(!cs(p,e)&&(z===a||n(z,a,t,i,o)))return p.push(e)})){u=!1;break}}else if(z!==g&&!n(z,g,t,i,o)){u=!1;break}}return o.delete(a),o.delete(e),u};var gs=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a,i){t[++e]=[i,a]}),t};var ms=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a){t[++e]=a}),t},ws=1,ys=2,fs="[object Boolean]",bs="[object Date]",hs="[object Error]",vs="[object Map]",ks="[object Number]",js="[object RegExp]",_s="[object Set]",xs="[object String]",qs="[object Symbol]",Es="[object ArrayBuffer]",As="[object DataView]",Ts=n?n.prototype:void 0,Os=Ts?Ts.valueOf:void 0;var Ps=function(a,e,t,i,n,o,r){switch(t){case As:if(a.byteLength!=e.byteLength||a.byteOffset!=e.byteOffset)return!1;a=a.buffer,e=e.buffer;case Es:return!(a.byteLength!=e.byteLength||!o(new Qo(a),new Qo(e)));case fs:case bs:case ks:return at(+a,+e);case hs:return a.name==e.name&&a.message==e.message;case js:case xs:return a==e+"";case vs:var s=gs;case _s:var d=i&ws;if(s||(s=ms),a.size!=e.size&&!d)return!1;var l=r.get(a);if(l)return l==e;i|=ys,r.set(a,e);var c=zs(s(a),s(e),i,n,o,r);return r.delete(a),c;case qs:if(Os)return Os.call(a)==Os.call(e)}return!1},Ss=1,Ms=Object.prototype.hasOwnProperty;var Cs=function(a,e,t,i,n,o){var r=t&Ss,s=Bo(a),d=s.length;if(d!=Bo(e).length&&!r)return!1;for(var l=d;l--;){var c=s[l];if(!(r?c in e:Ms.call(e,c)))return!1}var u=o.get(a);if(u&&o.get(e))return u==e;var p=!0;o.set(a,e),o.set(e,a);for(var z=r;++l<d;){var g=a[c=s[l]],m=e[c];if(i)var w=r?i(m,g,c,e,a,o):i(g,m,c,a,e,o);if(!(void 0===w?g===m||n(g,m,t,i,o):w)){p=!1;break}z||(z="constructor"==c)}if(p&&!z){var y=a.constructor,f=e.constructor;y!=f&&"constructor"in a&&"constructor"in e&&!("function"==typeof y&&y instanceof y&&"function"==typeof f&&f instanceof f)&&(p=!1)}return o.delete(a),o.delete(e),p},Rs=1,Ds="[object Arguments]",Fs="[object Array]",Bs="[object Object]",$s=Object.prototype.hasOwnProperty;var Ls=function(a,e,t,i,n,o){var r=k(a),s=k(e),d=r?Fs:Go(a),l=s?Fs:Go(e),c=(d=d==Ds?Bs:d)==Bs,u=(l=l==Ds?Bs:l)==Bs,p=d==l;if(p&&Object(vt.a)(a)){if(!Object(vt.a)(e))return!1;r=!0,c=!1}if(p&&!c)return o||(o=new xo),r||Et(a)?zs(a,e,t,i,n,o):Ps(a,e,d,t,i,n,o);if(!(t&Rs)){var z=c&&$s.call(a,"__wrapped__"),g=u&&$s.call(e,"__wrapped__");if(z||g){var m=z?a.value():a,w=g?e.value():e;return o||(o=new xo),n(m,w,t,i,o)}}return!!p&&(o||(o=new xo),Cs(a,e,t,i,n,o))};var Is=function a(e,t,i,n,o){return e===t||(null==e||null==t||!w(e)&&!w(t)?e!=e&&t!=t:Ls(e,t,i,n,a,o))},Ws=1,Us=2;var Ns=function(a,e,t,i){var n=t.length,o=n,r=!i;if(null==a)return!o;for(a=Object(a);n--;){var s=t[n];if(r&&s[2]?s[1]!==a[s[0]]:!(s[0]in a))return!1}for(;++n<o;){var d=(s=t[n])[0],l=a[d],c=s[1];if(r&&s[2]){if(void 0===l&&!(d in a))return!1}else{var u=new xo;if(i)var p=i(l,c,d,a,e,u);if(!(void 0===p?Is(c,l,Ws|Us,i,u):p))return!1}}return!0};var Ks=function(a){return a==a&&!T(a)};var Hs=function(a){for(var e=Ct(a),t=e.length;t--;){var i=e[t],n=a[i];e[t]=[i,n,Ks(n)]}return e};var Vs=function(a,e){return function(t){return null!=t&&t[a]===e&&(void 0!==e||a in Object(t))}};var Ys=function(a){var e=Hs(a);return 1==e.length&&e[0][2]?Vs(e[0][0],e[0][1]):function(t){return t===a||Ns(t,a,e)}};var Gs=function(a,e){return null!=a&&e in Object(a)};var Zs=function(a,e,t){for(var i=-1,n=(e=Si(e,a)).length,o=!1;++i<n;){var r=Ci(e[i]);if(!(o=null!=a&&t(a,r)))break;a=a[r]}return o||++i!=n?o:!!(n=null==a?0:a.length)&&dt(n)&&fe(r,n)&&(k(a)||ht(a))};var Js=function(a,e){return null!=a&&Zs(a,e,Gs)},Qs=1,Xs=2;var ad=function(a,e){return Ht(a)&&Ks(e)?Vs(Ci(a),e):function(t){var i=Di(t,a);return void 0===i&&i===e?Js(t,a):Is(e,i,Qs|Xs)}};var ed=function(a){return function(e){return null==e?void 0:e[a]}};var td=function(a){return function(e){return Ri(e,a)}};var id=function(a){return Ht(a)?ed(Ci(a)):td(a)};var nd=function(a){return"function"==typeof a?a:null==a?U:"object"==typeof a?k(a)?ad(a[0],a[1]):Ys(a):id(a)},od="Expected a function";var rd=function(a){var e=null==a?0:a.length,t=nd;return a=e?v(a,function(a){if("function"!=typeof a[1])throw new TypeError(od);return[t(a[0]),a[1]]}):[],rt(function(t){for(var i=-1;++i<e;){var n=a[i];if(ya(n[0],this,t))return ya(n[1],this,t)}})};var sd=function(a,e,t){var i=t.length;if(null==a)return!i;for(a=Object(a);i--;){var n=t[i],o=e[n],r=a[n];if(void 0===r&&!(n in a)||!o(r))return!1}return!0};var dd=function(a){var e=Ct(a);return function(t){return sd(t,a,e)}},ld=1;var cd=function(a){return dd(Nr(a,ld))};var ud=function(a,e){return null==e||sd(a,e,Ct(e))};var pd=function(a,e,t,i){for(var n=-1,o=null==a?0:a.length;++n<o;){var r=a[n];e(i,r,t(r),a)}return i};var zd=function(a){return function(e,t,i){for(var n=-1,o=Object(e),r=i(e),s=r.length;s--;){var d=r[a?s:++n];if(!1===t(o[d],d,o))break}return e}},gd=zd();var md=function(a,e){return a&&gd(a,e,Ct)};var wd=function(a,e){return function(t,i){if(null==t)return t;if(!lt(t))return a(t,i);for(var n=t.length,o=e?n:-1,r=Object(t);(e?o--:++o<n)&&!1!==i(r[o],o,r););return t}},yd=wd(md);var fd=function(a,e,t,i){return yd(a,function(a,n,o){e(i,a,t(a),o)}),i};var bd=function(a,e){return function(t,i){var n=k(t)?pd:fd,o=e?e():{};return n(t,a,nd(i,2),o)}},hd=Object.prototype.hasOwnProperty,vd=bd(function(a,e,t){hd.call(a,t)?++a[t]:Xe(a,t,1)});var kd=function(a,e){var t=za(a);return null==e?t:qo(t,e)},jd=8;function _d(a,e,t){var i=Ze(a,jd,void 0,void 0,void 0,void 0,void 0,e=t?void 0:e);return i.placeholder=_d.placeholder,i}_d.placeholder={};var xd=_d,qd=16;function Ed(a,e,t){var i=Ze(a,qd,void 0,void 0,void 0,void 0,void 0,e=t?void 0:e);return i.placeholder=Ed.placeholder,i}Ed.placeholder={};var Ad=Ed,Td=function(){return i.a.Date.now()},Od="Expected a function",Pd=Math.max,Sd=Math.min;var Md=function(a,e,t){var i,n,o,r,s,d,l=0,c=!1,u=!1,p=!0;if("function"!=typeof a)throw new TypeError(Od);function z(e){var t=i,o=n;return i=n=void 0,l=e,r=a.apply(o,t)}function g(a){var t=a-d;return void 0===d||t>=e||t<0||u&&a-l>=o}function m(){var a=Td();if(g(a))return w(a);s=setTimeout(m,function(a){var t=e-(a-d);return u?Sd(t,o-(a-l)):t}(a))}function w(a){return s=void 0,p&&i?z(a):(i=n=void 0,r)}function y(){var a=Td(),t=g(a);if(i=arguments,n=this,d=a,t){if(void 0===s)return function(a){return l=a,s=setTimeout(m,e),c?z(a):r}(d);if(u)return s=setTimeout(m,e),z(d)}return void 0===s&&(s=setTimeout(m,e)),r}return e=D(e)||0,T(t)&&(c=!!t.leading,o=(u="maxWait"in t)?Pd(D(t.maxWait)||0,e):o,p="trailing"in t?!!t.trailing:p),y.cancel=function(){void 0!==s&&clearTimeout(s),l=0,i=d=n=s=void 0},y.flush=function(){return void 0===s?r:w(Td())},y};var Cd=function(a,e){return null==a||a!=a?e:a},Rd=Object.prototype,Dd=Rd.hasOwnProperty,Fd=rt(function(a,e){a=Object(a);var t=-1,i=e.length,n=i>2?e[2]:void 0;for(n&&ct(e[0],e[1],n)&&(i=1);++t<i;)for(var o=e[t],r=Lt(o),s=-1,d=r.length;++s<d;){var l=r[s],c=a[l];(void 0===c||at(c,Rd[l])&&!Dd.call(a,l))&&(a[l]=o[l])}return a});var Bd=function(a,e,t){(void 0===t||at(a[e],t))&&(void 0!==t||e in a)||Xe(a,e,t)};var $d=function(a){return w(a)&<(a)};var Ld=function(a,e){if("__proto__"!=e)return a[e]};var Id=function(a){return it(a,Lt(a))};var Wd=function(a,e,t,i,n,o,r){var s=Ld(a,t),d=Ld(e,t),l=r.get(d);if(l)Bd(a,t,l);else{var c=o?o(s,d,t+"",a,e,r):void 0,u=void 0===c;if(u){var p=k(d),z=!p&&Object(vt.a)(d),g=!p&&!z&&Et(d);c=d,p||z||g?k(s)?c=s:$d(s)?c=Ca(s):z?(u=!1,c=Object(Ao.a)(d,!0)):g?(u=!1,c=rr(d,!0)):c=[]:Qi(d)||ht(d)?(c=s,ht(s)?c=Id(s):T(s)&&!Y(s)||(c=Er(d))):u=!1}u&&(r.set(d,c),n(c,d,i,o,r),r.delete(d)),Bd(a,t,c)}};var Ud=function a(e,t,i,n,o){e!==t&&gd(t,function(r,s){if(T(r))o||(o=new xo),Wd(e,t,s,i,a,n,o);else{var d=n?n(Ld(e,s),r,s+"",e,t,o):void 0;void 0===d&&(d=r),Bd(e,s,d)}},Lt)};var Nd=function a(e,t,i,n,o,r){return T(e)&&T(t)&&(r.set(t,e),Ud(e,t,void 0,a,r),r.delete(t)),e},Kd=ut(function(a,e,t,i){Ud(a,e,t,i)}),Hd=rt(function(a){return a.push(void 0,Nd),ya(Kd,void 0,a)}),Vd="Expected a function";var Yd=function(a,e,t){if("function"!=typeof a)throw new TypeError(Vd);return setTimeout(function(){a.apply(void 0,t)},e)},Gd=rt(function(a,e){return Yd(a,1,e)}),Zd=rt(function(a,e,t){return Yd(a,D(e)||0,t)});var Jd=function(a,e,t){for(var i=-1,n=null==a?0:a.length;++i<n;)if(t(e,a[i]))return!0;return!1},Qd=200;var Xd=function(a,e,t,i){var n=-1,o=ne,r=!0,s=a.length,d=[],l=e.length;if(!s)return d;t&&(e=v(e,_t(t))),i?(o=Jd,r=!1):e.length>=Qd&&(o=cs,r=!1,e=new ds(e));a:for(;++n<s;){var c=a[n],u=null==t?c:t(c);if(c=i||0!==c?c:0,r&&u==u){for(var p=l;p--;)if(e[p]===u)continue a;d.push(c)}else o(e,u,i)||d.push(c)}return d},al=rt(function(a,e){return $d(a)?Xd(a,Ii(e,1,$d,!0)):[]});var el=function(a){var e=null==a?0:a.length;return e?a[e-1]:void 0},tl=rt(function(a,e){var t=el(e);return $d(t)&&(t=void 0),$d(a)?Xd(a,Ii(e,1,$d,!0),nd(t,2)):[]}),il=rt(function(a,e){var t=el(e);return $d(t)&&(t=void 0),$d(a)?Xd(a,Ii(e,1,$d,!0),void 0,t):[]}),nl=E(function(a,e){return a/e},1);var ol=function(a,e,t){var i=null==a?0:a.length;return i?(e=t||void 0===e?1:L(e),un(a,e<0?0:e,i)):[]};var rl=function(a,e,t){var i=null==a?0:a.length;return i?(e=t||void 0===e?1:L(e),un(a,0,(e=i-e)<0?0:e)):[]};var sl=function(a,e,t,i){for(var n=a.length,o=i?n:-1;(i?o--:++o<n)&&e(a[o],o,a););return t?un(a,i?0:o,i?o+1:n):un(a,i?o+1:0,i?n:o)};var dl=function(a,e){return a&&a.length?sl(a,nd(e,3),!0,!0):[]};var ll=function(a,e){return a&&a.length?sl(a,nd(e,3),!0):[]};var cl=function(a){return"function"==typeof a?a:U};var ul=function(a,e){return(k(a)?Xa:yd)(a,cl(e))};var pl=function(a,e){for(var t=null==a?0:a.length;t--&&!1!==e(a[t],t,a););return a},zl=zd(!0);var gl=function(a,e){return a&&zl(a,e,Ct)},ml=wd(gl,!0);var wl=function(a,e){return(k(a)?pl:ml)(a,cl(e))};var yl=function(a,e,t){a=Pi(a),e=q(e);var i=a.length,n=t=void 0===t?i:wo(L(t),0,i);return(t-=e.length)>=0&&a.slice(t,n)==e};var fl=function(a,e){return v(e,function(e){return[e,a[e]]})};var bl=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a){t[++e]=[a,a]}),t},hl="[object Map]",vl="[object Set]";var kl=function(a){return function(e){var t=Go(e);return t==hl?gs(e):t==vl?bl(e):fl(e,a(e))}},jl=kl(Ct),_l=kl(Lt),xl=Sn({"&":"&","<":"<",">":">",'"':""","'":"'"}),ql=/[&<>"']/g,El=RegExp(ql.source);var Al=function(a){return(a=Pi(a))&&El.test(a)?a.replace(ql,xl):a},Tl=/[\\^$.*+?()[\]{}|]/g,Ol=RegExp(Tl.source);var Pl=function(a){return(a=Pi(a))&&Ol.test(a)?a.replace(Tl,"\\$&"):a};var Sl=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i;)if(!e(a[t],t,a))return!1;return!0};var Ml=function(a,e){var t=!0;return yd(a,function(a,i,n){return t=!!e(a,i,n)}),t};var Cl=function(a,e,t){var i=k(a)?Sl:Ml;return t&&ct(a,e,t)&&(e=void 0),i(a,nd(e,3))},Rl=4294967295;var Dl=function(a){return a?wo(L(a),0,Rl):0};var Fl=function(a,e,t,i){var n=a.length;for((t=L(t))<0&&(t=-t>n?0:n+t),(i=void 0===i||i>n?n:L(i))<0&&(i+=n),i=t>i?0:Dl(i);t<i;)a[t++]=e;return a};var Bl=function(a,e,t,i){var n=null==a?0:a.length;return n?(t&&"number"!=typeof t&&ct(a,e,t)&&(t=0,i=n),Fl(a,e,t,i)):[]};var $l=function(a,e){var t=[];return yd(a,function(a,i,n){e(a,i,n)&&t.push(a)}),t};var Ll=function(a,e){return(k(a)?To:$l)(a,nd(e,3))};var Il=function(a){return function(e,t,i){var n=Object(e);if(!lt(e)){var o=nd(t,3);e=Ct(e),t=function(a){return o(n[a],a,n)}}var r=a(e,t,i);return r>-1?n[o?e[r]:r]:void 0}},Wl=Math.max;var Ul=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=null==t?0:L(t);return n<0&&(n=Wl(i+n,0)),ae(a,nd(e,3),n)},Nl=Il(Ul);var Kl=function(a,e,t){var i;return t(a,function(a,t,n){if(e(a,t,n))return i=t,!1}),i};var Hl=function(a,e){return Kl(a,nd(e,3),md)},Vl=Math.max,Yl=Math.min;var Gl=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=i-1;return void 0!==t&&(n=L(t),n=t<0?Vl(i+n,0):Yl(n,i-1)),ae(a,nd(e,3),n,!0)},Zl=Il(Gl);var Jl=function(a,e){return Kl(a,nd(e,3),gl)};var Ql=function(a){return a&&a.length?a[0]:void 0};var Xl=function(a,e){var t=-1,i=lt(a)?Array(a.length):[];return yd(a,function(a,n,o){i[++t]=e(a,n,o)}),i};var ac=function(a,e){return(k(a)?v:Xl)(a,nd(e,3))};var ec=function(a,e){return Ii(ac(a,e),1)},tc=1/0;var ic=function(a,e){return Ii(ac(a,e),tc)};var nc=function(a,e,t){return t=void 0===t?1:L(t),Ii(ac(a,e),t)},oc=1/0;var rc=function(a){return null!=a&&a.length?Ii(a,oc):[]};var sc=function(a,e){return null!=a&&a.length?(e=void 0===e?1:L(e),Ii(a,e)):[]},dc=512;var lc=function(a){return Ze(a,dc)},cc=co("floor"),uc="Expected a function",pc=8,zc=32,gc=128,mc=256;var wc=function(a){return Ui(function(e){var t=e.length,i=t,n=Ma.prototype.thru;for(a&&e.reverse();i--;){var o=e[i];if("function"!=typeof o)throw new TypeError(uc);if(n&&!r&&"wrapper"==Pa(o))var r=new Ma([],!0)}for(i=r?i:t;++i<t;){o=e[i];var s=Pa(o),d="wrapper"==s?Aa(o):void 0;r=d&&$a(d[0])&&d[1]==(gc|pc|zc|mc)&&!d[4].length&&1==d[9]?r[Pa(d[0])].apply(r,d[3]):1==o.length&&$a(o)?r[s]():r.thru(o)}return function(){var a=arguments,i=a[0];if(r&&1==a.length&&k(i))return r.plant(i).value();for(var n=0,o=t?e[n].apply(this,a):i;++n<t;)o=e[n].call(this,o);return o}})},yc=wc(),fc=wc(!0);var bc=function(a,e){return null==a?a:gd(a,cl(e),Lt)};var hc=function(a,e){return null==a?a:zl(a,cl(e),Lt)};var vc=function(a,e){return a&&md(a,cl(e))};var kc=function(a,e){return a&&gl(a,cl(e))};var jc=function(a){for(var e=-1,t=null==a?0:a.length,i={};++e<t;){var n=a[e];i[n[0]]=n[1]}return i};var _c=function(a,e){return To(e,function(e){return Y(a[e])})};var xc=function(a){return null==a?[]:_c(a,Ct(a))};var qc=function(a){return null==a?[]:_c(a,Lt(a))},Ec=Object.prototype.hasOwnProperty,Ac=bd(function(a,e,t){Ec.call(a,t)?a[t].push(e):Xe(a,t,[e])});var Tc=function(a,e){return a>e};var Oc=function(a){return function(e,t){return"string"==typeof e&&"string"==typeof t||(e=D(e),t=D(t)),a(e,t)}},Pc=Oc(Tc),Sc=Oc(function(a,e){return a>=e}),Mc=Object.prototype.hasOwnProperty;var Cc=function(a,e){return null!=a&&Mc.call(a,e)};var Rc=function(a,e){return null!=a&&Zs(a,e,Cc)},Dc=Math.max,Fc=Math.min;var Bc=function(a,e,t){return a>=Fc(e,t)&&a<Dc(e,t)};var $c=function(a,e,t){return e=$(e),void 0===t?(t=e,e=0):t=$(t),a=D(a),Bc(a,e,t)},Lc="[object String]";var Ic=function(a){return"string"==typeof a||!k(a)&&w(a)&&m(a)==Lc};var Wc=function(a,e){return v(e,function(e){return a[e]})};var Uc=function(a){return null==a?[]:Wc(a,Ct(a))},Nc=Math.max;var Kc=function(a,e,t,i){a=lt(a)?a:Uc(a),t=t&&!i?L(t):0;var n=a.length;return t<0&&(t=Nc(n+t,0)),Ic(a)?t<=n&&a.indexOf(e,t)>-1:!!n&&ie(a,e,t)>-1},Hc=Math.max;var Vc=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=null==t?0:L(t);return n<0&&(n=Hc(i+n,0)),ie(a,e,n)};var Yc=function(a){return null!=a&&a.length?un(a,0,-1):[]},Gc=Math.min;var Zc=function(a,e,t){for(var i=t?Jd:ne,n=a[0].length,o=a.length,r=o,s=Array(o),d=1/0,l=[];r--;){var c=a[r];r&&e&&(c=v(c,_t(e))),d=Gc(c.length,d),s[r]=!t&&(e||n>=120&&c.length>=120)?new ds(r&&c):void 0}c=a[0];var u=-1,p=s[0];a:for(;++u<n&&l.length<d;){var z=c[u],g=e?e(z):z;if(z=t||0!==z?z:0,!(p?cs(p,g):i(l,g,t))){for(r=o;--r;){var m=s[r];if(!(m?cs(m,g):i(a[r],g,t)))continue a}p&&p.push(g),l.push(z)}}return l};var Jc=function(a){return $d(a)?a:[]},Qc=rt(function(a){var e=v(a,Jc);return e.length&&e[0]===a[0]?Zc(e):[]}),Xc=rt(function(a){var e=el(a),t=v(a,Jc);return e===el(t)?e=void 0:t.pop(),t.length&&t[0]===a[0]?Zc(t,nd(e,2)):[]}),au=rt(function(a){var e=el(a),t=v(a,Jc);return(e="function"==typeof e?e:void 0)&&t.pop(),t.length&&t[0]===a[0]?Zc(t,void 0,e):[]});var eu=function(a,e,t,i){return md(a,function(a,n,o){e(i,t(a),n,o)}),i};var tu=function(a,e){return function(t,i){return eu(t,a,e(i),{})}},iu=Object.prototype.toString,nu=tu(function(a,e,t){null!=e&&"function"!=typeof e.toString&&(e=iu.call(e)),a[e]=t},Za(U)),ou=Object.prototype,ru=ou.hasOwnProperty,su=ou.toString,du=tu(function(a,e,t){null!=e&&"function"!=typeof e.toString&&(e=su.call(e)),ru.call(a,e)?a[e].push(t):a[e]=[t]},nd);var lu=function(a,e){return e.length<2?a:Ri(a,un(e,0,-1))};var cu=function(a,e,t){e=Si(e,a);var i=null==(a=lu(a,e))?a:a[Ci(el(e))];return null==i?void 0:ya(i,a,t)},uu=rt(cu),pu=rt(function(a,e,t){var i=-1,n="function"==typeof e,o=lt(a)?Array(a.length):[];return yd(a,function(a){o[++i]=n?ya(e,a,t):cu(a,e,t)}),o}),zu="[object ArrayBuffer]";var gu=function(a){return w(a)&&m(a)==zu},mu=xt.a&&xt.a.isArrayBuffer,wu=mu?_t(mu):gu,yu="[object Boolean]";var fu=function(a){return!0===a||!1===a||w(a)&&m(a)==yu},bu="[object Date]";var hu=function(a){return w(a)&&m(a)==bu},vu=xt.a&&xt.a.isDate,ku=vu?_t(vu):hu;var ju=function(a){return w(a)&&1===a.nodeType&&!Qi(a)},_u="[object Map]",xu="[object Set]",qu=Object.prototype.hasOwnProperty;var Eu=function(a){if(null==a)return!0;if(lt(a)&&(k(a)||"string"==typeof a||"function"==typeof a.splice||Object(vt.a)(a)||Et(a)||ht(a)))return!a.length;var e=Go(a);if(e==_u||e==xu)return!a.size;if(zt(a))return!Mt(a).length;for(var t in a)if(qu.call(a,t))return!1;return!0};var Au=function(a,e){return Is(a,e)};var Tu=function(a,e,t){var i=(t="function"==typeof t?t:void 0)?t(a,e):void 0;return void 0===i?Is(a,e,void 0,t):!!i},Ou=i.a.isFinite;var Pu=function(a){return"number"==typeof a&&Ou(a)};var Su=function(a){return"number"==typeof a&&a==L(a)};var Mu=function(a,e){return a===e||Ns(a,e,Hs(e))};var Cu=function(a,e,t){return t="function"==typeof t?t:void 0,Ns(a,e,Hs(e),t)},Ru="[object Number]";var Du=function(a){return"number"==typeof a||w(a)&&m(a)==Ru};var Fu=function(a){return Du(a)&&a!=+a},Bu=t(140),$u=G?Y:Bu.a,Lu="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";var Iu=function(a){if($u(a))throw new Error(Lu);return ra(a)};var Wu=function(a){return null==a};var Uu=function(a){return null===a},Nu="[object RegExp]";var Ku=function(a){return w(a)&&m(a)==Nu},Hu=xt.a&&xt.a.isRegExp,Vu=Hu?_t(Hu):Ku,Yu=9007199254740991;var Gu=function(a){return Su(a)&&a>=-Yu&&a<=Yu};var Zu=function(a){return void 0===a},Ju="[object WeakMap]";var Qu=function(a){return w(a)&&Go(a)==Ju},Xu="[object WeakSet]";var ap=function(a){return w(a)&&m(a)==Xu},ep=1;var tp=function(a){return nd("function"==typeof a?a:Nr(a,ep))},ip=Array.prototype.join;var np=function(a,e){return null==a?"":ip.call(a,e)},op=oo(function(a,e,t){return a+(t?"-":"")+e.toLowerCase()}),rp=bd(function(a,e,t){Xe(a,t,e)});var sp=function(a,e,t){for(var i=t+1;i--;)if(a[i]===e)return i;return i},dp=Math.max,lp=Math.min;var cp=function(a,e,t){var i=null==a?0:a.length;if(!i)return-1;var n=i;return void 0!==t&&(n=(n=L(t))<0?dp(i+n,0):lp(n,i-1)),e==e?sp(a,e,n):ae(a,ee,n,!0)},up=oo(function(a,e,t){return a+(t?" ":"")+e.toLowerCase()}),pp=An("toLowerCase");var zp=function(a,e){return a<e},gp=Oc(zp),mp=Oc(function(a,e){return a<=e});var wp=function(a,e){var t={};return e=nd(e,3),md(a,function(a,i,n){Xe(t,e(a,i,n),a)}),t};var yp=function(a,e){var t={};return e=nd(e,3),md(a,function(a,i,n){Xe(t,i,e(a,i,n))}),t},fp=1;var bp=function(a){return Ys(Nr(a,fp))},hp=1;var vp=function(a,e){return ad(a,Nr(e,hp))};var kp=function(a,e,t){for(var i=-1,n=a.length;++i<n;){var o=a[i],r=e(o);if(null!=r&&(void 0===s?r==r&&!f(r):t(r,s)))var s=r,d=o}return d};var jp=function(a){return a&&a.length?kp(a,U,Tc):void 0};var _p=function(a,e){return a&&a.length?kp(a,nd(e,2),Tc):void 0};var xp=function(a,e){for(var t,i=-1,n=a.length;++i<n;){var o=e(a[i]);void 0!==o&&(t=void 0===t?o:t+o)}return t},qp=NaN;var Ep=function(a,e){var t=null==a?0:a.length;return t?xp(a,e)/t:qp};var Ap=function(a){return Ep(a,U)};var Tp=function(a,e){return Ep(a,nd(e,2))},Op=ut(function(a,e,t){Ud(a,e,t)}),Pp=rt(function(a,e){return function(t){return cu(t,a,e)}}),Sp=rt(function(a,e){return function(t){return cu(a,t,e)}});var Mp=function(a){return a&&a.length?kp(a,U,zp):void 0};var Cp=function(a,e){return a&&a.length?kp(a,nd(e,2),zp):void 0};var Rp=function(a,e,t){var i=Ct(e),n=_c(e,i),o=!(T(t)&&"chain"in t&&!t.chain),r=Y(a);return Xa(n,function(t){var i=e[t];a[t]=i,r&&(a.prototype[t]=function(){var e=this.__chain__;if(o||e){var t=a(this.__wrapped__);return(t.__actions__=Ca(this.__actions__)).push({func:i,args:arguments,thisArg:a}),t.__chain__=e,t}return i.apply(a,Bi([this.value()],arguments))})}),a},Dp=E(function(a,e){return a*e},1),Fp="Expected a function";var Bp=function(a){if("function"!=typeof a)throw new TypeError(Fp);return function(){var e=arguments;switch(e.length){case 0:return!a.call(this);case 1:return!a.call(this,e[0]);case 2:return!a.call(this,e[0],e[1]);case 3:return!a.call(this,e[0],e[1],e[2])}return!a.apply(this,e)}};var $p=function(a){for(var e,t=[];!(e=a.next()).done;)t.push(e.value);return t},Lp="[object Map]",Ip="[object Set]",Wp=n?n.iterator:void 0;var Up=function(a){if(!a)return[];if(lt(a))return Ic(a)?En(a):Ca(a);if(Wp&&a[Wp])return $p(a[Wp]());var e=Go(a);return(e==Lp?gs:e==Ip?ms:Uc)(a)};var Np=function(){void 0===this.__values__&&(this.__values__=Up(this.value()));var a=this.__index__>=this.__values__.length;return{done:a,value:a?void 0:this.__values__[this.__index__++]}};var Kp=function(a,e){var t=a.length;if(t)return fe(e+=e<0?t:0,t)?a[e]:void 0};var Hp=function(a,e){return a&&a.length?Kp(a,L(e)):void 0};var Vp=function(a){return a=L(a),rt(function(e){return Kp(e,a)})};var Yp=function(a,e){return e=Si(e,a),null==(a=lu(a,e))||delete a[Ci(el(e))]};var Gp=function(a){return Qi(a)?void 0:a},Zp=Ui(function(a,e){var t={};if(null==a)return t;var i=!1;e=v(e,function(e){return e=Si(e,a),i||(i=e.length>1),e}),it(a,$o(a),t),i&&(t=Nr(t,7,Gp));for(var n=e.length;n--;)Yp(t,e[n]);return t});var Jp=function(a,e,t,i){if(!T(a))return a;for(var n=-1,o=(e=Si(e,a)).length,r=o-1,s=a;null!=s&&++n<o;){var d=Ci(e[n]),l=t;if(n!=r){var c=s[d];void 0===(l=i?i(c,d,s):void 0)&&(l=T(c)?c:fe(e[n+1])?[]:{})}tt(s,d,l),s=s[d]}return a};var Qp=function(a,e,t){for(var i=-1,n=e.length,o={};++i<n;){var r=e[i],s=Ri(a,r);t(s,r)&&Jp(o,Si(r,a),s)}return o};var Xp=function(a,e){if(null==a)return{};var t=v($o(a),function(a){return[a]});return e=nd(e),Qp(a,t,function(a,t){return e(a,t[0])})};var az=function(a,e){return Xp(a,Bp(nd(e)))};var ez=function(a){return on(2,a)};var tz=function(a,e){var t=a.length;for(a.sort(e);t--;)a[t]=a[t].value;return a};var iz=function(a,e){if(a!==e){var t=void 0!==a,i=null===a,n=a==a,o=f(a),r=void 0!==e,s=null===e,d=e==e,l=f(e);if(!s&&!l&&!o&&a>e||o&&r&&d&&!s&&!l||i&&r&&d||!t&&d||!n)return 1;if(!i&&!o&&!l&&a<e||l&&t&&n&&!i&&!o||s&&t&&n||!r&&n||!d)return-1}return 0};var nz=function(a,e,t){for(var i=-1,n=a.criteria,o=e.criteria,r=n.length,s=t.length;++i<r;){var d=iz(n[i],o[i]);if(d)return i>=s?d:d*("desc"==t[i]?-1:1)}return a.index-e.index};var oz=function(a,e,t){var i=-1;e=v(e.length?e:[U],_t(nd));var n=Xl(a,function(a,t,n){return{criteria:v(e,function(e){return e(a)}),index:++i,value:a}});return tz(n,function(a,e){return nz(a,e,t)})};var rz=function(a,e,t,i){return null==a?[]:(k(e)||(e=null==e?[]:[e]),k(t=i?void 0:t)||(t=null==t?[]:[t]),oz(a,e,t))};var sz=function(a){return Ui(function(e){return e=v(e,_t(nd)),rt(function(t){var i=this;return a(e,function(a){return ya(a,i,t)})})})},dz=sz(v),lz=rt,cz=Math.min,uz=lz(function(a,e){var t=(e=1==e.length&&k(e[0])?v(e[0],_t(nd)):v(Ii(e,1),_t(nd))).length;return rt(function(i){for(var n=-1,o=cz(i.length,t);++n<o;)i[n]=e[n].call(this,i[n]);return ya(a,this,i)})}),pz=sz(Sl),zz=sz(ls),gz=9007199254740991,mz=Math.floor;var wz=function(a,e){var t="";if(!a||e<1||e>gz)return t;do{e%2&&(t+=a),(e=mz(e/2))&&(a+=a)}while(e);return t},yz=ed("length"),fz="[\\ud800-\\udfff]",bz="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",hz="[^\\ud800-\\udfff]",vz="(?:\\ud83c[\\udde6-\\uddff]){2}",kz="[\\ud800-\\udbff][\\udc00-\\udfff]",jz="(?:"+bz+"|\\ud83c[\\udffb-\\udfff])"+"?",_z="[\\ufe0e\\ufe0f]?"+jz+("(?:\\u200d(?:"+[hz,vz,kz].join("|")+")[\\ufe0e\\ufe0f]?"+jz+")*"),xz="(?:"+[hz+bz+"?",bz,vz,kz,fz].join("|")+")",qz=RegExp("\\ud83c[\\udffb-\\udfff](?=\\ud83c[\\udffb-\\udfff])|"+xz+_z,"g");var Ez=function(a){for(var e=qz.lastIndex=0;qz.test(a);)++e;return e};var Az=function(a){return gn(a)?Ez(a):yz(a)},Tz=Math.ceil;var Oz=function(a,e){var t=(e=void 0===e?" ":q(e)).length;if(t<2)return t?wz(e,a):e;var i=wz(e,Tz(a/Az(e)));return gn(e)?pn(En(i),0,a).join(""):i.slice(0,a)},Pz=Math.ceil,Sz=Math.floor;var Mz=function(a,e,t){a=Pi(a);var i=(e=L(e))?Az(a):0;if(!e||i>=e)return a;var n=(e-i)/2;return Oz(Sz(n),t)+a+Oz(Pz(n),t)};var Cz=function(a,e,t){a=Pi(a);var i=(e=L(e))?Az(a):0;return e&&i<e?a+Oz(e-i,t):a};var Rz=function(a,e,t){a=Pi(a);var i=(e=L(e))?Az(a):0;return e&&i<e?Oz(e-i,t)+a:a},Dz=/^\s+/,Fz=i.a.parseInt;var Bz=function(a,e,t){return t||null==e?e=0:e&&(e=+e),Fz(Pi(a).replace(Dz,""),e||0)},$z=rt(function(a,e){var t=ke(e,me($z));return Ze(a,32,void 0,e,t)});$z.placeholder={};var Lz=$z,Iz=rt(function(a,e){var t=ke(e,me(Iz));return Ze(a,64,void 0,e,t)});Iz.placeholder={};var Wz=Iz,Uz=bd(function(a,e,t){a[t?0:1].push(e)},function(){return[[],[]]});var Nz=function(a,e){return Qp(a,e,function(e,t){return Js(a,t)})},Kz=Ui(function(a,e){return null==a?{}:Nz(a,e)});var Hz=function(a){for(var e,t=this;t instanceof ja;){var i=Ra(t);i.__index__=0,i.__values__=void 0,e?n.__wrapped__=i:e=i;var n=i;t=t.__wrapped__}return n.__wrapped__=a,e};var Vz=function(a){return function(e){return null==a?void 0:Ri(a,e)}};var Yz=function(a,e,t,i){for(var n=t-1,o=a.length;++n<o;)if(i(a[n],e))return n;return-1},Gz=Array.prototype.splice;var Zz=function(a,e,t,i){var n=i?Yz:ie,o=-1,r=e.length,s=a;for(a===e&&(e=Ca(e)),t&&(s=v(a,_t(t)));++o<r;)for(var d=0,l=e[o],c=t?t(l):l;(d=n(s,c,d,i))>-1;)s!==a&&Gz.call(s,d,1),Gz.call(a,d,1);return a};var Jz=function(a,e){return a&&a.length&&e&&e.length?Zz(a,e):a},Qz=rt(Jz);var Xz=function(a,e,t){return a&&a.length&&e&&e.length?Zz(a,e,nd(t,2)):a};var ag=function(a,e,t){return a&&a.length&&e&&e.length?Zz(a,e,void 0,t):a},eg=Array.prototype.splice;var tg=function(a,e){for(var t=a?e.length:0,i=t-1;t--;){var n=e[t];if(t==i||n!==o){var o=n;fe(n)?eg.call(a,n,1):Yp(a,n)}}return a},ig=Ui(function(a,e){var t=null==a?0:a.length,i=Fi(a,e);return tg(a,v(e,function(a){return fe(a,t)?+a:a}).sort(iz)),i}),ng=Math.floor,og=Math.random;var rg=function(a,e){return a+ng(og()*(e-a+1))},sg=parseFloat,dg=Math.min,lg=Math.random;var cg=function(a,e,t){if(t&&"boolean"!=typeof t&&ct(a,e,t)&&(e=t=void 0),void 0===t&&("boolean"==typeof e?(t=e,e=void 0):"boolean"==typeof a&&(t=a,a=void 0)),void 0===a&&void 0===e?(a=0,e=1):(a=$(a),void 0===e?(e=a,a=0):e=$(e)),a>e){var i=a;a=e,e=i}if(t||a%1||e%1){var n=lg();return dg(a+n*(e-a+sg("1e-"+((n+"").length-1))),e)}return rg(a,e)},ug=Math.ceil,pg=Math.max;var zg=function(a,e,t,i){for(var n=-1,o=pg(ug((e-a)/(t||1)),0),r=Array(o);o--;)r[i?o:++n]=a,a+=t;return r};var gg=function(a){return function(e,t,i){return i&&"number"!=typeof i&&ct(e,t,i)&&(t=i=void 0),e=$(e),void 0===t?(t=e,e=0):t=$(t),i=void 0===i?e<t?1:-1:$(i),zg(e,t,i,a)}},mg=gg(),wg=gg(!0),yg=Ui(function(a,e){return Ze(a,256,void 0,void 0,void 0,e)});var fg=function(a,e,t,i,n){return n(a,function(a,n,o){t=i?(i=!1,a):e(t,a,n,o)}),t};var bg=function(a,e,t){var i=k(a)?Pn:fg,n=arguments.length<3;return i(a,nd(e,4),t,n,yd)};var hg=function(a,e,t,i){var n=null==a?0:a.length;for(i&&n&&(t=a[--n]);n--;)t=e(t,a[n],n,a);return t};var vg=function(a,e,t){var i=k(a)?hg:fg,n=arguments.length<3;return i(a,nd(e,4),t,n,ml)};var kg=function(a,e){return(k(a)?To:$l)(a,Bp(nd(e,3)))};var jg=function(a,e){var t=[];if(!a||!a.length)return t;var i=-1,n=[],o=a.length;for(e=nd(e,3);++i<o;){var r=a[i];e(r,i,a)&&(t.push(r),n.push(i))}return tg(a,n),t};var _g=function(a,e,t){return e=(t?ct(a,e,t):void 0===e)?1:L(e),wz(Pi(a),e)};var xg=function(){var a=arguments,e=Pi(a[0]);return a.length<3?e:e.replace(a[1],a[2])},qg="Expected a function";var Eg=function(a,e){if("function"!=typeof a)throw new TypeError(qg);return e=void 0===e?e:L(e),rt(a,e)};var Ag=function(a,e,t){var i=-1,n=(e=Si(e,a)).length;for(n||(n=1,a=void 0);++i<n;){var o=null==a?void 0:a[Ci(e[i])];void 0===o&&(i=n,o=t),a=Y(o)?o.call(a):o}return a},Tg=Array.prototype.reverse;var Og=function(a){return null==a?a:Tg.call(a)},Pg=co("round");var Sg=function(a){var e=a.length;return e?a[rg(0,e-1)]:void 0};var Mg=function(a){return Sg(Uc(a))};var Cg=function(a){return(k(a)?Sg:Mg)(a)};var Rg=function(a,e){var t=-1,i=a.length,n=i-1;for(e=void 0===e?i:e;++t<e;){var o=rg(t,n),r=a[o];a[o]=a[t],a[t]=r}return a.length=e,a};var Dg=function(a,e){return Rg(Ca(a),wo(e,0,a.length))};var Fg=function(a,e){var t=Uc(a);return Rg(t,wo(e,0,t.length))};var Bg=function(a,e,t){return e=(t?ct(a,e,t):void 0===e)?1:L(e),(k(a)?Dg:Fg)(a,e)};var $g=function(a,e,t){return null==a?a:Jp(a,e,t)};var Lg=function(a,e,t,i){return i="function"==typeof i?i:void 0,null==a?a:Jp(a,e,t,i)};var Ig=function(a){return Rg(Ca(a))};var Wg=function(a){return Rg(Uc(a))};var Ug=function(a){return(k(a)?Ig:Wg)(a)},Ng="[object Map]",Kg="[object Set]";var Hg=function(a){if(null==a)return 0;if(lt(a))return Ic(a)?Az(a):a.length;var e=Go(a);return e==Ng||e==Kg?a.size:Mt(a).length};var Vg=function(a,e,t){var i=null==a?0:a.length;return i?(t&&"number"!=typeof t&&ct(a,e,t)?(e=0,t=i):(e=null==e?0:L(e),t=void 0===t?i:L(t)),un(a,e,t)):[]},Yg=oo(function(a,e,t){return a+(t?"_":"")+e.toLowerCase()});var Gg=function(a,e){var t;return yd(a,function(a,i,n){return!(t=e(a,i,n))}),!!t};var Zg=function(a,e,t){var i=k(a)?ls:Gg;return t&&ct(a,e,t)&&(e=void 0),i(a,nd(e,3))},Jg=rt(function(a,e){if(null==a)return[];var t=e.length;return t>1&&ct(a,e[0],e[1])?e=[]:t>2&&ct(e[0],e[1],e[2])&&(e=[e[0]]),oz(a,Ii(e,1),[])}),Qg=4294967294,Xg=Math.floor,am=Math.min;var em=function(a,e,t,i){e=t(e);for(var n=0,o=null==a?0:a.length,r=e!=e,s=null===e,d=f(e),l=void 0===e;n<o;){var c=Xg((n+o)/2),u=t(a[c]),p=void 0!==u,z=null===u,g=u==u,m=f(u);if(r)var w=i||g;else w=l?g&&(i||p):s?g&&p&&(i||!z):d?g&&p&&!z&&(i||!m):!z&&!m&&(i?u<=e:u<e);w?n=c+1:o=c}return am(o,Qg)},tm=2147483647;var im=function(a,e,t){var i=0,n=null==a?i:a.length;if("number"==typeof e&&e==e&&n<=tm){for(;i<n;){var o=i+n>>>1,r=a[o];null!==r&&!f(r)&&(t?r<=e:r<e)?i=o+1:n=o}return n}return em(a,e,U,t)};var nm=function(a,e){return im(a,e)};var om=function(a,e,t){return em(a,e,nd(t,2))};var rm=function(a,e){var t=null==a?0:a.length;if(t){var i=im(a,e);if(i<t&&at(a[i],e))return i}return-1};var sm=function(a,e){return im(a,e,!0)};var dm=function(a,e,t){return em(a,e,nd(t,2),!0)};var lm=function(a,e){if(null!=a&&a.length){var t=im(a,e,!0)-1;if(at(a[t],e))return t}return-1};var cm=function(a,e){for(var t=-1,i=a.length,n=0,o=[];++t<i;){var r=a[t],s=e?e(r):r;if(!t||!at(s,d)){var d=s;o[n++]=0===r?0:r}}return o};var um=function(a){return a&&a.length?cm(a):[]};var pm=function(a,e){return a&&a.length?cm(a,nd(e,2)):[]},zm=4294967295;var gm=function(a,e,t){return t&&"number"!=typeof t&&ct(a,e,t)&&(e=t=void 0),(t=void 0===t?zm:t>>>0)?(a=Pi(a))&&("string"==typeof e||null!=e&&!Vu(e))&&!(e=q(e))&&gn(a)?pn(En(a),0,t):a.split(e,t):[]},mm="Expected a function",wm=Math.max;var ym=function(a,e){if("function"!=typeof a)throw new TypeError(mm);return e=null==e?0:wm(L(e),0),rt(function(t){var i=t[e],n=pn(t,0,e);return i&&Bi(n,i),ya(a,this,n)})},fm=oo(function(a,e,t){return a+(t?" ":"")+Tn(e)});var bm=function(a,e,t){return a=Pi(a),t=null==t?0:wo(L(t),0,a.length),e=q(e),a.slice(t,t+e.length)==e};var hm=function(){return{}};var vm=function(){return""};var km=function(){return!0},jm=E(function(a,e){return a-e},0);var _m=function(a){return a&&a.length?xp(a,U):0};var xm=function(a,e){return a&&a.length?xp(a,nd(e,2)):0};var qm=function(a){var e=null==a?0:a.length;return e?un(a,1,e):[]};var Em=function(a,e,t){return a&&a.length?(e=t||void 0===e?1:L(e),un(a,0,e<0?0:e)):[]};var Am=function(a,e,t){var i=null==a?0:a.length;return i?(e=t||void 0===e?1:L(e),un(a,(e=i-e)<0?0:e,i)):[]};var Tm=function(a,e){return a&&a.length?sl(a,nd(e,3),!1,!0):[]};var Om=function(a,e){return a&&a.length?sl(a,nd(e,3)):[]};var Pm=function(a,e){return e(a),a},Sm=Object.prototype,Mm=Sm.hasOwnProperty;var Cm=function(a,e,t,i){return void 0===a||at(a,Sm[t])&&!Mm.call(i,t)?e:a},Rm={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};var Dm=function(a){return"\\"+Rm[a]},Fm=/<%=([\s\S]+?)%>/g,Bm={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:Fm,variable:"",imports:{_:{escape:Al}}},$m=/\b__p \+= '';/g,Lm=/\b(__p \+=) '' \+/g,Im=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Wm=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Um=/($^)/,Nm=/['\n\r\u2028\u2029\\]/g;var Km=function(a,e,t){var i=Bm.imports._.templateSettings||Bm;t&&ct(a,e,t)&&(e=void 0),a=Pi(a),e=Wt({},e,i,Cm);var n,o,r=Wt({},e.imports,i.imports,Cm),s=Ct(r),d=Wc(r,s),l=0,c=e.interpolate||Um,u="__p += '",p=RegExp((e.escape||Um).source+"|"+c.source+"|"+(c===Fm?Wm:Um).source+"|"+(e.evaluate||Um).source+"|$","g"),z="sourceURL"in e?"//# sourceURL="+e.sourceURL+"\n":"";a.replace(p,function(e,t,i,r,s,d){return i||(i=r),u+=a.slice(l,d).replace(Nm,Dm),t&&(n=!0,u+="' +\n__e("+t+") +\n'"),s&&(o=!0,u+="';\n"+s+";\n__p += '"),i&&(u+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),l=d+e.length,e}),u+="';\n";var g=e.variable;g||(u="with (obj) {\n"+u+"\n}\n"),u=(o?u.replace($m,""):u).replace(Lm,"$1").replace(Im,"$1;"),u="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(n?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+u+"return __p\n}";var m=tn(function(){return Function(s,z+"return "+u).apply(void 0,d)});if(m.source=u,en(m))throw m;return m},Hm="Expected a function";var Vm=function(a,e,t){var i=!0,n=!0;if("function"!=typeof a)throw new TypeError(Hm);return T(t)&&(i="leading"in t?!!t.leading:i,n="trailing"in t?!!t.trailing:n),Md(a,e,{leading:i,maxWait:e,trailing:n})};var Ym=function(a,e){return e(a)},Gm=9007199254740991,Zm=4294967295,Jm=Math.min;var Qm=function(a,e){if((a=L(a))<1||a>Gm)return[];var t=Zm,i=Jm(a,Zm);e=cl(e),a-=Zm;for(var n=gt(i,e);++t<a;)e(t);return n};var Xm=function(){return this};var aw=function(a,e){var t=a;return t instanceof qa&&(t=t.value()),Pn(e,function(a,e){return e.func.apply(e.thisArg,Bi([a],e.args))},t)};var ew=function(){return aw(this.__wrapped__,this.__actions__)};var tw=function(a){return Pi(a).toLowerCase()};var iw=function(a){return k(a)?v(a,Ci):f(a)?[a]:Ca(Oi(Pi(a)))},nw=9007199254740991;var ow=function(a){return a?wo(L(a),-nw,nw):0===a?a:0};var rw=function(a){return Pi(a).toUpperCase()};var sw=function(a,e,t){var i=k(a),n=i||Object(vt.a)(a)||Et(a);if(e=nd(e,4),null==t){var o=a&&a.constructor;t=n?i?new o:[]:T(a)&&Y(o)?za(Ki(a)):{}}return(n?Xa:md)(a,function(a,i,n){return e(t,a,i,n)}),t};var dw=function(a,e){for(var t=a.length;t--&&ie(e,a[t],0)>-1;);return t};var lw=function(a,e){for(var t=-1,i=a.length;++t<i&&ie(e,a[t],0)>-1;);return t},cw=/^\s+|\s+$/g;var uw=function(a,e,t){if((a=Pi(a))&&(t||void 0===e))return a.replace(cw,"");if(!a||!(e=q(e)))return a;var i=En(a),n=En(e),o=lw(i,n),r=dw(i,n)+1;return pn(i,o,r).join("")},pw=/\s+$/;var zw=function(a,e,t){if((a=Pi(a))&&(t||void 0===e))return a.replace(pw,"");if(!a||!(e=q(e)))return a;var i=En(a),n=dw(i,En(e))+1;return pn(i,0,n).join("")},gw=/^\s+/;var mw=function(a,e,t){if((a=Pi(a))&&(t||void 0===e))return a.replace(gw,"");if(!a||!(e=q(e)))return a;var i=En(a),n=lw(i,En(e));return pn(i,n).join("")},ww=30,yw="...",fw=/\w*$/;var bw=function(a,e){var t=ww,i=yw;if(T(e)){var n="separator"in e?e.separator:n;t="length"in e?L(e.length):t,i="omission"in e?q(e.omission):i}var o=(a=Pi(a)).length;if(gn(a)){var r=En(a);o=r.length}if(t>=o)return a;var s=t-Az(i);if(s<1)return i;var d=r?pn(r,0,s).join(""):a.slice(0,s);if(void 0===n)return d+i;if(r&&(s+=d.length-s),Vu(n)){if(a.slice(s).search(n)){var l,c=d;for(n.global||(n=RegExp(n.source,Pi(fw.exec(n))+"g")),n.lastIndex=0;l=n.exec(c);)var u=l.index;d=d.slice(0,void 0===u?s:u)}}else if(a.indexOf(q(n),s)!=s){var p=d.lastIndexOf(n);p>-1&&(d=d.slice(0,p))}return d+i};var hw=function(a){return Qe(a,1)},vw=Sn({"&":"&","<":"<",">":">",""":'"',"'":"'"}),kw=/&(?:amp|lt|gt|quot|#39);/g,jw=RegExp(kw.source);var _w=function(a){return(a=Pi(a))&&jw.test(a)?a.replace(kw,vw):a},xw=Wo&&1/ms(new Wo([,-0]))[1]==1/0?function(a){return new Wo(a)}:Ea,qw=200;var Ew=function(a,e,t){var i=-1,n=ne,o=a.length,r=!0,s=[],d=s;if(t)r=!1,n=Jd;else if(o>=qw){var l=e?null:xw(a);if(l)return ms(l);r=!1,n=cs,d=new ds}else d=e?[]:s;a:for(;++i<o;){var c=a[i],u=e?e(c):c;if(c=t||0!==c?c:0,r&&u==u){for(var p=d.length;p--;)if(d[p]===u)continue a;e&&d.push(u),s.push(c)}else n(d,u,t)||(d!==s&&d.push(u),s.push(c))}return s},Aw=rt(function(a){return Ew(Ii(a,1,$d,!0))}),Tw=rt(function(a){var e=el(a);return $d(e)&&(e=void 0),Ew(Ii(a,1,$d,!0),nd(e,2))}),Ow=rt(function(a){var e=el(a);return e="function"==typeof e?e:void 0,Ew(Ii(a,1,$d,!0),void 0,e)});var Pw=function(a){return a&&a.length?Ew(a):[]};var Sw=function(a,e){return a&&a.length?Ew(a,nd(e,2)):[]};var Mw=function(a,e){return e="function"==typeof e?e:void 0,a&&a.length?Ew(a,void 0,e):[]},Cw=0;var Rw=function(a){var e=++Cw;return Pi(a)+e};var Dw=function(a,e){return null==a||Yp(a,e)},Fw=Math.max;var Bw=function(a){if(!a||!a.length)return[];var e=0;return a=To(a,function(a){if($d(a))return e=Fw(a.length,e),!0}),gt(e,function(e){return v(a,ed(e))})};var $w=function(a,e){if(!a||!a.length)return[];var t=Bw(a);return null==e?t:v(t,function(a){return ya(e,void 0,a)})};var Lw=function(a,e,t,i){return Jp(a,e,t(Ri(a,e)),i)};var Iw=function(a,e,t){return null==a?a:Lw(a,e,cl(t))};var Ww=function(a,e,t,i){return i="function"==typeof i?i:void 0,null==a?a:Lw(a,e,cl(t),i)},Uw=oo(function(a,e,t){return a+(t?" ":"")+e.toUpperCase()});var Nw=function(a){return null==a?[]:Wc(a,Lt(a))},Kw=rt(function(a,e){return $d(a)?Xd(a,e):[]});var Hw=function(a,e){return Lz(cl(e),a)},Vw=Ui(function(a){var e=a.length,t=e?a[0]:0,i=this.__wrapped__,n=function(e){return Fi(e,a)};return!(e>1||this.__actions__.length)&&i instanceof qa&&fe(t)?((i=i.slice(t,+t+(e?1:0))).__actions__.push({func:Ym,args:[n],thisArg:void 0}),new Ma(i,this.__chain__).thru(function(a){return e&&!a.length&&a.push(void 0),a})):this.thru(n)});var Yw=function(){return po(this)};var Gw=function(){var a=this.__wrapped__;if(a instanceof qa){var e=a;return this.__actions__.length&&(e=new qa(this)),(e=e.reverse()).__actions__.push({func:Ym,args:[Og],thisArg:void 0}),new Ma(e,this.__chain__)}return this.thru(Og)};var Zw=function(a,e,t){var i=a.length;if(i<2)return i?Ew(a[0]):[];for(var n=-1,o=Array(i);++n<i;)for(var r=a[n],s=-1;++s<i;)s!=n&&(o[n]=Xd(o[n]||r,a[s],e,t));return Ew(Ii(o,1),e,t)},Jw=rt(function(a){return Zw(To(a,$d))}),Qw=rt(function(a){var e=el(a);return $d(e)&&(e=void 0),Zw(To(a,$d),nd(e,2))}),Xw=rt(function(a){var e=el(a);return e="function"==typeof e?e:void 0,Zw(To(a,$d),void 0,e)}),ay=rt(Bw);var ey=function(a,e,t){for(var i=-1,n=a.length,o=e.length,r={};++i<n;){var s=i<o?e[i]:void 0;t(r,a[i],s)}return r};var ty=function(a,e){return ey(a||[],e||[],tt)};var iy=function(a,e){return ey(a||[],e||[],Jp)},ny=rt(function(a){var e=a.length,t=e>1?a[e-1]:void 0;return t="function"==typeof t?(a.pop(),t):void 0,$w(a,t)}),oy={chunk:mo,compact:ts,concat:is,difference:al,differenceBy:tl,differenceWith:il,drop:ol,dropRight:rl,dropRightWhile:dl,dropWhile:ll,fill:Bl,findIndex:Ul,findLastIndex:Gl,first:Ql,flatten:Wi,flattenDeep:rc,flattenDepth:sc,fromPairs:jc,head:Ql,indexOf:Vc,initial:Yc,intersection:Qc,intersectionBy:Xc,intersectionWith:au,join:np,last:el,lastIndexOf:cp,nth:Hp,pull:Qz,pullAll:Jz,pullAllBy:Xz,pullAllWith:ag,pullAt:ig,remove:jg,reverse:Og,slice:Vg,sortedIndex:nm,sortedIndexBy:om,sortedIndexOf:rm,sortedLastIndex:sm,sortedLastIndexBy:dm,sortedLastIndexOf:lm,sortedUniq:um,sortedUniqBy:pm,tail:qm,take:Em,takeRight:Am,takeRightWhile:Tm,takeWhile:Om,union:Aw,unionBy:Tw,unionWith:Ow,uniq:Pw,uniqBy:Sw,uniqWith:Mw,unzip:Bw,unzipWith:$w,without:Kw,xor:Jw,xorBy:Qw,xorWith:Xw,zip:ay,zipObject:ty,zipObjectDeep:iy,zipWith:ny},ry={countBy:vd,each:ul,eachRight:wl,every:Cl,filter:Ll,find:Nl,findLast:Zl,flatMap:ec,flatMapDeep:ic,flatMapDepth:nc,forEach:ul,forEachRight:wl,groupBy:Ac,includes:Kc,invokeMap:pu,keyBy:rp,map:ac,orderBy:rz,partition:Uz,reduce:bg,reduceRight:vg,reject:kg,sample:Cg,sampleSize:Bg,shuffle:Ug,size:Hg,some:Zg,sortBy:Jg},sy={now:Td},dy={after:W,ary:Qe,before:on,bind:sn,bindKey:cn,curry:xd,curryRight:Ad,debounce:Md,defer:Gd,delay:Zd,flip:lc,memoize:qi,negate:Bp,once:ez,overArgs:uz,partial:Lz,partialRight:Wz,rearg:yg,rest:Eg,spread:ym,throttle:Vm,unary:hw,wrap:Hw},ly={castArray:so,clone:Hr,cloneDeep:Gr,cloneDeepWith:Qr,cloneWith:as,conformsTo:ud,eq:at,gt:Pc,gte:Sc,isArguments:ht,isArray:k,isArrayBuffer:wu,isArrayLike:lt,isArrayLikeObject:$d,isBoolean:fu,isBuffer:vt.a,isDate:ku,isElement:ju,isEmpty:Eu,isEqual:Au,isEqualWith:Tu,isError:en,isFinite:Pu,isFunction:Y,isInteger:Su,isLength:dt,isMap:Pr,isMatch:Mu,isMatchWith:Cu,isNaN:Fu,isNative:Iu,isNil:Wu,isNull:Uu,isNumber:Du,isObject:T,isObjectLike:w,isPlainObject:Qi,isRegExp:Vu,isSafeInteger:Gu,isSet:Rr,isString:Ic,isSymbol:f,isTypedArray:Et,isUndefined:Zu,isWeakMap:Qu,isWeakSet:ap,lt:gp,lte:mp,toArray:Up,toFinite:$,toInteger:L,toLength:Dl,toNumber:D,toPlainObject:Id,toSafeInteger:ow,toString:Pi},cy={add:A,ceil:uo,divide:nl,floor:cc,max:jp,maxBy:_p,mean:Ap,meanBy:Tp,min:Mp,minBy:Cp,multiply:Dp,round:Pg,subtract:jm,sum:_m,sumBy:xm},uy={clamp:yo,inRange:$c,random:cg},py={assign:Dt,assignIn:It,assignInWith:Wt,assignWith:Ut,at:Ni,create:kd,defaults:Fd,defaultsDeep:Hd,entries:jl,entriesIn:_l,extend:It,extendWith:Wt,findKey:Hl,findLastKey:Jl,forIn:bc,forInRight:hc,forOwn:vc,forOwnRight:kc,functions:xc,functionsIn:qc,get:Di,has:Rc,hasIn:Js,invert:nu,invertBy:du,invoke:uu,keys:Ct,keysIn:Lt,mapKeys:wp,mapValues:yp,merge:Op,mergeWith:Kd,omit:Zp,omitBy:az,pick:Kz,pickBy:Xp,result:Ag,set:$g,setWith:Lg,toPairs:jl,toPairsIn:_l,transform:sw,unset:Dw,update:Iw,updateWith:Ww,values:Uc,valuesIn:Nw},zy={at:Vw,chain:po,commit:es,lodash:Ba,next:Np,plant:Hz,reverse:Gw,tap:Pm,thru:Ym,toIterator:Xm,toJSON:ew,value:ew,valueOf:ew,wrapperChain:Yw},gy={camelCase:ro,capitalize:On,deburr:Dn,endsWith:yl,escape:Al,escapeRegExp:Pl,kebabCase:op,lowerCase:up,lowerFirst:pp,pad:Mz,padEnd:Cz,padStart:Rz,parseInt:Bz,repeat:_g,replace:xg,snakeCase:Yg,split:gm,startCase:fm,startsWith:bm,template:Km,templateSettings:Bm,toLower:tw,toUpper:rw,trim:uw,trimEnd:zw,trimStart:mw,truncate:bw,unescape:_w,upperCase:Uw,upperFirst:Tn,words:io},my={attempt:tn,bindAll:dn,cond:rd,conforms:cd,constant:Za,defaultTo:Cd,flow:yc,flowRight:fc,identity:U,iteratee:tp,matches:bp,matchesProperty:vp,method:Pp,methodOf:Sp,mixin:Rp,noop:Ea,nthArg:Vp,over:dz,overEvery:pz,overSome:zz,property:id,propertyOf:Vz,range:mg,rangeRight:wg,stubArray:Oo,stubFalse:Bu.a,stubObject:hm,stubString:vm,stubTrue:km,times:Qm,toPath:iw,uniqueId:Rw};var wy=function(){var a=new qa(this.__wrapped__);return a.__actions__=Ca(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Ca(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__=Ca(this.__views__),a};var yy=function(){if(this.__filtered__){var a=new qa(this);a.__dir__=-1,a.__filtered__=!0}else(a=this.clone()).__dir__*=-1;return a},fy=Math.max,by=Math.min;var hy=function(a,e,t){for(var i=-1,n=t.length;++i<n;){var o=t[i],r=o.size;switch(o.type){case"drop":a+=r;break;case"dropRight":e-=r;break;case"take":e=by(e,a+r);break;case"takeRight":a=fy(a,e-r)}}return{start:a,end:e}},vy=1,ky=2,jy=Math.min;var _y=function(){var a=this.__wrapped__.value(),e=this.__dir__,t=k(a),i=e<0,n=t?a.length:0,o=hy(0,n,this.__views__),r=o.start,s=o.end,d=s-r,l=i?s:r-1,c=this.__iteratees__,u=c.length,p=0,z=jy(d,this.__takeCount__);if(!t||!i&&n==d&&z==d)return aw(a,this.__actions__);var g=[];a:for(;d--&&p<z;){for(var m=-1,w=a[l+=e];++m<u;){var y=c[m],f=y.iteratee,b=y.type,h=f(w);if(b==ky)w=h;else if(!h){if(b==vy)continue a;break a}}g[p++]=w}return g},xy=Array.prototype,qy=Object.prototype.hasOwnProperty,Ey=n?n.iterator:void 0,Ay=Math.max,Ty=Math.min,Oy=function(a){return function(e,t,i){if(null==i){var n=T(t),o=n&&Ct(t),r=o&&o.length&&_c(t,o);(r?r.length:n)||(i=t,t=e,e=this)}return a(e,t,i)}}(Rp);
|
2 |
+
/**
|
3 |
+
* @license
|
4 |
+
* Lodash (Custom Build) <https://lodash.com/>
|
5 |
+
* Build: `lodash modularize exports="es" -o ./`
|
6 |
+
* Copyright JS Foundation and other contributors <https://js.foundation/>
|
7 |
+
* Released under MIT license <https://lodash.com/license>
|
8 |
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
9 |
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
10 |
+
*/Ba.after=dy.after,Ba.ary=dy.ary,Ba.assign=py.assign,Ba.assignIn=py.assignIn,Ba.assignInWith=py.assignInWith,Ba.assignWith=py.assignWith,Ba.at=py.at,Ba.before=dy.before,Ba.bind=dy.bind,Ba.bindAll=my.bindAll,Ba.bindKey=dy.bindKey,Ba.castArray=ly.castArray,Ba.chain=zy.chain,Ba.chunk=oy.chunk,Ba.compact=oy.compact,Ba.concat=oy.concat,Ba.cond=my.cond,Ba.conforms=my.conforms,Ba.constant=my.constant,Ba.countBy=ry.countBy,Ba.create=py.create,Ba.curry=dy.curry,Ba.curryRight=dy.curryRight,Ba.debounce=dy.debounce,Ba.defaults=py.defaults,Ba.defaultsDeep=py.defaultsDeep,Ba.defer=dy.defer,Ba.delay=dy.delay,Ba.difference=oy.difference,Ba.differenceBy=oy.differenceBy,Ba.differenceWith=oy.differenceWith,Ba.drop=oy.drop,Ba.dropRight=oy.dropRight,Ba.dropRightWhile=oy.dropRightWhile,Ba.dropWhile=oy.dropWhile,Ba.fill=oy.fill,Ba.filter=ry.filter,Ba.flatMap=ry.flatMap,Ba.flatMapDeep=ry.flatMapDeep,Ba.flatMapDepth=ry.flatMapDepth,Ba.flatten=oy.flatten,Ba.flattenDeep=oy.flattenDeep,Ba.flattenDepth=oy.flattenDepth,Ba.flip=dy.flip,Ba.flow=my.flow,Ba.flowRight=my.flowRight,Ba.fromPairs=oy.fromPairs,Ba.functions=py.functions,Ba.functionsIn=py.functionsIn,Ba.groupBy=ry.groupBy,Ba.initial=oy.initial,Ba.intersection=oy.intersection,Ba.intersectionBy=oy.intersectionBy,Ba.intersectionWith=oy.intersectionWith,Ba.invert=py.invert,Ba.invertBy=py.invertBy,Ba.invokeMap=ry.invokeMap,Ba.iteratee=my.iteratee,Ba.keyBy=ry.keyBy,Ba.keys=Ct,Ba.keysIn=py.keysIn,Ba.map=ry.map,Ba.mapKeys=py.mapKeys,Ba.mapValues=py.mapValues,Ba.matches=my.matches,Ba.matchesProperty=my.matchesProperty,Ba.memoize=dy.memoize,Ba.merge=py.merge,Ba.mergeWith=py.mergeWith,Ba.method=my.method,Ba.methodOf=my.methodOf,Ba.mixin=Oy,Ba.negate=Bp,Ba.nthArg=my.nthArg,Ba.omit=py.omit,Ba.omitBy=py.omitBy,Ba.once=dy.once,Ba.orderBy=ry.orderBy,Ba.over=my.over,Ba.overArgs=dy.overArgs,Ba.overEvery=my.overEvery,Ba.overSome=my.overSome,Ba.partial=dy.partial,Ba.partialRight=dy.partialRight,Ba.partition=ry.partition,Ba.pick=py.pick,Ba.pickBy=py.pickBy,Ba.property=my.property,Ba.propertyOf=my.propertyOf,Ba.pull=oy.pull,Ba.pullAll=oy.pullAll,Ba.pullAllBy=oy.pullAllBy,Ba.pullAllWith=oy.pullAllWith,Ba.pullAt=oy.pullAt,Ba.range=my.range,Ba.rangeRight=my.rangeRight,Ba.rearg=dy.rearg,Ba.reject=ry.reject,Ba.remove=oy.remove,Ba.rest=dy.rest,Ba.reverse=oy.reverse,Ba.sampleSize=ry.sampleSize,Ba.set=py.set,Ba.setWith=py.setWith,Ba.shuffle=ry.shuffle,Ba.slice=oy.slice,Ba.sortBy=ry.sortBy,Ba.sortedUniq=oy.sortedUniq,Ba.sortedUniqBy=oy.sortedUniqBy,Ba.split=gy.split,Ba.spread=dy.spread,Ba.tail=oy.tail,Ba.take=oy.take,Ba.takeRight=oy.takeRight,Ba.takeRightWhile=oy.takeRightWhile,Ba.takeWhile=oy.takeWhile,Ba.tap=zy.tap,Ba.throttle=dy.throttle,Ba.thru=Ym,Ba.toArray=ly.toArray,Ba.toPairs=py.toPairs,Ba.toPairsIn=py.toPairsIn,Ba.toPath=my.toPath,Ba.toPlainObject=ly.toPlainObject,Ba.transform=py.transform,Ba.unary=dy.unary,Ba.union=oy.union,Ba.unionBy=oy.unionBy,Ba.unionWith=oy.unionWith,Ba.uniq=oy.uniq,Ba.uniqBy=oy.uniqBy,Ba.uniqWith=oy.uniqWith,Ba.unset=py.unset,Ba.unzip=oy.unzip,Ba.unzipWith=oy.unzipWith,Ba.update=py.update,Ba.updateWith=py.updateWith,Ba.values=py.values,Ba.valuesIn=py.valuesIn,Ba.without=oy.without,Ba.words=gy.words,Ba.wrap=dy.wrap,Ba.xor=oy.xor,Ba.xorBy=oy.xorBy,Ba.xorWith=oy.xorWith,Ba.zip=oy.zip,Ba.zipObject=oy.zipObject,Ba.zipObjectDeep=oy.zipObjectDeep,Ba.zipWith=oy.zipWith,Ba.entries=py.toPairs,Ba.entriesIn=py.toPairsIn,Ba.extend=py.assignIn,Ba.extendWith=py.assignInWith,Oy(Ba,Ba),Ba.add=cy.add,Ba.attempt=my.attempt,Ba.camelCase=gy.camelCase,Ba.capitalize=gy.capitalize,Ba.ceil=cy.ceil,Ba.clamp=uy.clamp,Ba.clone=ly.clone,Ba.cloneDeep=ly.cloneDeep,Ba.cloneDeepWith=ly.cloneDeepWith,Ba.cloneWith=ly.cloneWith,Ba.conformsTo=ly.conformsTo,Ba.deburr=gy.deburr,Ba.defaultTo=my.defaultTo,Ba.divide=cy.divide,Ba.endsWith=gy.endsWith,Ba.eq=ly.eq,Ba.escape=gy.escape,Ba.escapeRegExp=gy.escapeRegExp,Ba.every=ry.every,Ba.find=ry.find,Ba.findIndex=oy.findIndex,Ba.findKey=py.findKey,Ba.findLast=ry.findLast,Ba.findLastIndex=oy.findLastIndex,Ba.findLastKey=py.findLastKey,Ba.floor=cy.floor,Ba.forEach=ry.forEach,Ba.forEachRight=ry.forEachRight,Ba.forIn=py.forIn,Ba.forInRight=py.forInRight,Ba.forOwn=py.forOwn,Ba.forOwnRight=py.forOwnRight,Ba.get=py.get,Ba.gt=ly.gt,Ba.gte=ly.gte,Ba.has=py.has,Ba.hasIn=py.hasIn,Ba.head=oy.head,Ba.identity=U,Ba.includes=ry.includes,Ba.indexOf=oy.indexOf,Ba.inRange=uy.inRange,Ba.invoke=py.invoke,Ba.isArguments=ly.isArguments,Ba.isArray=k,Ba.isArrayBuffer=ly.isArrayBuffer,Ba.isArrayLike=ly.isArrayLike,Ba.isArrayLikeObject=ly.isArrayLikeObject,Ba.isBoolean=ly.isBoolean,Ba.isBuffer=ly.isBuffer,Ba.isDate=ly.isDate,Ba.isElement=ly.isElement,Ba.isEmpty=ly.isEmpty,Ba.isEqual=ly.isEqual,Ba.isEqualWith=ly.isEqualWith,Ba.isError=ly.isError,Ba.isFinite=ly.isFinite,Ba.isFunction=ly.isFunction,Ba.isInteger=ly.isInteger,Ba.isLength=ly.isLength,Ba.isMap=ly.isMap,Ba.isMatch=ly.isMatch,Ba.isMatchWith=ly.isMatchWith,Ba.isNaN=ly.isNaN,Ba.isNative=ly.isNative,Ba.isNil=ly.isNil,Ba.isNull=ly.isNull,Ba.isNumber=ly.isNumber,Ba.isObject=T,Ba.isObjectLike=ly.isObjectLike,Ba.isPlainObject=ly.isPlainObject,Ba.isRegExp=ly.isRegExp,Ba.isSafeInteger=ly.isSafeInteger,Ba.isSet=ly.isSet,Ba.isString=ly.isString,Ba.isSymbol=ly.isSymbol,Ba.isTypedArray=ly.isTypedArray,Ba.isUndefined=ly.isUndefined,Ba.isWeakMap=ly.isWeakMap,Ba.isWeakSet=ly.isWeakSet,Ba.join=oy.join,Ba.kebabCase=gy.kebabCase,Ba.last=el,Ba.lastIndexOf=oy.lastIndexOf,Ba.lowerCase=gy.lowerCase,Ba.lowerFirst=gy.lowerFirst,Ba.lt=ly.lt,Ba.lte=ly.lte,Ba.max=cy.max,Ba.maxBy=cy.maxBy,Ba.mean=cy.mean,Ba.meanBy=cy.meanBy,Ba.min=cy.min,Ba.minBy=cy.minBy,Ba.stubArray=my.stubArray,Ba.stubFalse=my.stubFalse,Ba.stubObject=my.stubObject,Ba.stubString=my.stubString,Ba.stubTrue=my.stubTrue,Ba.multiply=cy.multiply,Ba.nth=oy.nth,Ba.noop=my.noop,Ba.now=sy.now,Ba.pad=gy.pad,Ba.padEnd=gy.padEnd,Ba.padStart=gy.padStart,Ba.parseInt=gy.parseInt,Ba.random=uy.random,Ba.reduce=ry.reduce,Ba.reduceRight=ry.reduceRight,Ba.repeat=gy.repeat,Ba.replace=gy.replace,Ba.result=py.result,Ba.round=cy.round,Ba.sample=ry.sample,Ba.size=ry.size,Ba.snakeCase=gy.snakeCase,Ba.some=ry.some,Ba.sortedIndex=oy.sortedIndex,Ba.sortedIndexBy=oy.sortedIndexBy,Ba.sortedIndexOf=oy.sortedIndexOf,Ba.sortedLastIndex=oy.sortedLastIndex,Ba.sortedLastIndexBy=oy.sortedLastIndexBy,Ba.sortedLastIndexOf=oy.sortedLastIndexOf,Ba.startCase=gy.startCase,Ba.startsWith=gy.startsWith,Ba.subtract=cy.subtract,Ba.sum=cy.sum,Ba.sumBy=cy.sumBy,Ba.template=gy.template,Ba.times=my.times,Ba.toFinite=ly.toFinite,Ba.toInteger=L,Ba.toLength=ly.toLength,Ba.toLower=gy.toLower,Ba.toNumber=ly.toNumber,Ba.toSafeInteger=ly.toSafeInteger,Ba.toString=ly.toString,Ba.toUpper=gy.toUpper,Ba.trim=gy.trim,Ba.trimEnd=gy.trimEnd,Ba.trimStart=gy.trimStart,Ba.truncate=gy.truncate,Ba.unescape=gy.unescape,Ba.uniqueId=my.uniqueId,Ba.upperCase=gy.upperCase,Ba.upperFirst=gy.upperFirst,Ba.each=ry.forEach,Ba.eachRight=ry.forEachRight,Ba.first=oy.head,Oy(Ba,function(){var a={};return md(Ba,function(e,t){qy.call(Ba.prototype,t)||(a[t]=e)}),a}(),{chain:!1}),Ba.VERSION="4.17.11",(Ba.templateSettings=gy.templateSettings).imports._=Ba,Xa(["bind","bindKey","curry","curryRight","partial","partialRight"],function(a){Ba[a].placeholder=Ba}),Xa(["drop","take"],function(a,e){qa.prototype[a]=function(t){t=void 0===t?1:Ay(L(t),0);var i=this.__filtered__&&!e?new qa(this):this.clone();return i.__filtered__?i.__takeCount__=Ty(t,i.__takeCount__):i.__views__.push({size:Ty(t,4294967295),type:a+(i.__dir__<0?"Right":"")}),i},qa.prototype[a+"Right"]=function(e){return this.reverse()[a](e).reverse()}}),Xa(["filter","map","takeWhile"],function(a,e){var t=e+1,i=1==t||3==t;qa.prototype[a]=function(a){var e=this.clone();return e.__iteratees__.push({iteratee:nd(a,3),type:t}),e.__filtered__=e.__filtered__||i,e}}),Xa(["head","last"],function(a,e){var t="take"+(e?"Right":"");qa.prototype[a]=function(){return this[t](1).value()[0]}}),Xa(["initial","tail"],function(a,e){var t="drop"+(e?"":"Right");qa.prototype[a]=function(){return this.__filtered__?new qa(this):this[t](1)}}),qa.prototype.compact=function(){return this.filter(U)},qa.prototype.find=function(a){return this.filter(a).head()},qa.prototype.findLast=function(a){return this.reverse().find(a)},qa.prototype.invokeMap=rt(function(a,e){return"function"==typeof a?new qa(this):this.map(function(t){return cu(t,a,e)})}),qa.prototype.reject=function(a){return this.filter(Bp(nd(a)))},qa.prototype.slice=function(a,e){a=L(a);var t=this;return t.__filtered__&&(a>0||e<0)?new qa(t):(a<0?t=t.takeRight(-a):a&&(t=t.drop(a)),void 0!==e&&(t=(e=L(e))<0?t.dropRight(-e):t.take(e-a)),t)},qa.prototype.takeRightWhile=function(a){return this.reverse().takeWhile(a).reverse()},qa.prototype.toArray=function(){return this.take(4294967295)},md(qa.prototype,function(a,e){var t=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),n=Ba[i?"take"+("last"==e?"Right":""):e],o=i||/^find/.test(e);n&&(Ba.prototype[e]=function(){var e=this.__wrapped__,r=i?[1]:arguments,s=e instanceof qa,d=r[0],l=s||k(e),c=function(a){var e=n.apply(Ba,Bi([a],r));return i&&u?e[0]:e};l&&t&&"function"==typeof d&&1!=d.length&&(s=l=!1);var u=this.__chain__,p=!!this.__actions__.length,z=o&&!u,g=s&&!p;if(!o&&l){e=g?e:new qa(this);var m=a.apply(e,r);return m.__actions__.push({func:Ym,args:[c],thisArg:void 0}),new Ma(m,u)}return z&&g?a.apply(this,r):(m=this.thru(c),z?i?m.value()[0]:m.value():m)})}),Xa(["pop","push","shift","sort","splice","unshift"],function(a){var e=xy[a],t=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",i=/^(?:pop|shift)$/.test(a);Ba.prototype[a]=function(){var a=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(k(n)?n:[],a)}return this[t](function(t){return e.apply(k(t)?t:[],a)})}}),md(qa.prototype,function(a,e){var t=Ba[e];if(t){var i=t.name+"";(Ta[i]||(Ta[i]=[])).push({name:e,func:t})}}),Ta[Te(void 0,2).name]=[{name:"wrapper",func:void 0}],qa.prototype.clone=wy,qa.prototype.reverse=yy,qa.prototype.value=_y,Ba.prototype.at=zy.at,Ba.prototype.chain=zy.wrapperChain,Ba.prototype.commit=zy.commit,Ba.prototype.next=zy.next,Ba.prototype.plant=zy.plant,Ba.prototype.reverse=zy.reverse,Ba.prototype.toJSON=Ba.prototype.valueOf=Ba.prototype.value=zy.value,Ba.prototype.first=Ba.prototype.head,Ey&&(Ba.prototype[Ey]=zy.toIterator);var Py=Ba;t.d(e,"add",function(){return A}),t.d(e,"after",function(){return W}),t.d(e,"ary",function(){return Qe}),t.d(e,"assign",function(){return Dt}),t.d(e,"assignIn",function(){return It}),t.d(e,"assignInWith",function(){return Wt}),t.d(e,"assignWith",function(){return Ut}),t.d(e,"at",function(){return Ni}),t.d(e,"attempt",function(){return tn}),t.d(e,"before",function(){return on}),t.d(e,"bind",function(){return sn}),t.d(e,"bindAll",function(){return dn}),t.d(e,"bindKey",function(){return cn}),t.d(e,"camelCase",function(){return ro}),t.d(e,"capitalize",function(){return On}),t.d(e,"castArray",function(){return so}),t.d(e,"ceil",function(){return uo}),t.d(e,"chain",function(){return po}),t.d(e,"chunk",function(){return mo}),t.d(e,"clamp",function(){return yo}),t.d(e,"clone",function(){return Hr}),t.d(e,"cloneDeep",function(){return Gr}),t.d(e,"cloneDeepWith",function(){return Qr}),t.d(e,"cloneWith",function(){return as}),t.d(e,"commit",function(){return es}),t.d(e,"compact",function(){return ts}),t.d(e,"concat",function(){return is}),t.d(e,"cond",function(){return rd}),t.d(e,"conforms",function(){return cd}),t.d(e,"conformsTo",function(){return ud}),t.d(e,"constant",function(){return Za}),t.d(e,"countBy",function(){return vd}),t.d(e,"create",function(){return kd}),t.d(e,"curry",function(){return xd}),t.d(e,"curryRight",function(){return Ad}),t.d(e,"debounce",function(){return Md}),t.d(e,"deburr",function(){return Dn}),t.d(e,"defaultTo",function(){return Cd}),t.d(e,"defaults",function(){return Fd}),t.d(e,"defaultsDeep",function(){return Hd}),t.d(e,"defer",function(){return Gd}),t.d(e,"delay",function(){return Zd}),t.d(e,"difference",function(){return al}),t.d(e,"differenceBy",function(){return tl}),t.d(e,"differenceWith",function(){return il}),t.d(e,"divide",function(){return nl}),t.d(e,"drop",function(){return ol}),t.d(e,"dropRight",function(){return rl}),t.d(e,"dropRightWhile",function(){return dl}),t.d(e,"dropWhile",function(){return ll}),t.d(e,"each",function(){return ul}),t.d(e,"eachRight",function(){return wl}),t.d(e,"endsWith",function(){return yl}),t.d(e,"entries",function(){return jl}),t.d(e,"entriesIn",function(){return _l}),t.d(e,"eq",function(){return at}),t.d(e,"escape",function(){return Al}),t.d(e,"escapeRegExp",function(){return Pl}),t.d(e,"every",function(){return Cl}),t.d(e,"extend",function(){return It}),t.d(e,"extendWith",function(){return Wt}),t.d(e,"fill",function(){return Bl}),t.d(e,"filter",function(){return Ll}),t.d(e,"find",function(){return Nl}),t.d(e,"findIndex",function(){return Ul}),t.d(e,"findKey",function(){return Hl}),t.d(e,"findLast",function(){return Zl}),t.d(e,"findLastIndex",function(){return Gl}),t.d(e,"findLastKey",function(){return Jl}),t.d(e,"first",function(){return Ql}),t.d(e,"flatMap",function(){return ec}),t.d(e,"flatMapDeep",function(){return ic}),t.d(e,"flatMapDepth",function(){return nc}),t.d(e,"flatten",function(){return Wi}),t.d(e,"flattenDeep",function(){return rc}),t.d(e,"flattenDepth",function(){return sc}),t.d(e,"flip",function(){return lc}),t.d(e,"floor",function(){return cc}),t.d(e,"flow",function(){return yc}),t.d(e,"flowRight",function(){return fc}),t.d(e,"forEach",function(){return ul}),t.d(e,"forEachRight",function(){return wl}),t.d(e,"forIn",function(){return bc}),t.d(e,"forInRight",function(){return hc}),t.d(e,"forOwn",function(){return vc}),t.d(e,"forOwnRight",function(){return kc}),t.d(e,"fromPairs",function(){return jc}),t.d(e,"functions",function(){return xc}),t.d(e,"functionsIn",function(){return qc}),t.d(e,"get",function(){return Di}),t.d(e,"groupBy",function(){return Ac}),t.d(e,"gt",function(){return Pc}),t.d(e,"gte",function(){return Sc}),t.d(e,"has",function(){return Rc}),t.d(e,"hasIn",function(){return Js}),t.d(e,"head",function(){return Ql}),t.d(e,"identity",function(){return U}),t.d(e,"inRange",function(){return $c}),t.d(e,"includes",function(){return Kc}),t.d(e,"indexOf",function(){return Vc}),t.d(e,"initial",function(){return Yc}),t.d(e,"intersection",function(){return Qc}),t.d(e,"intersectionBy",function(){return Xc}),t.d(e,"intersectionWith",function(){return au}),t.d(e,"invert",function(){return nu}),t.d(e,"invertBy",function(){return du}),t.d(e,"invoke",function(){return uu}),t.d(e,"invokeMap",function(){return pu}),t.d(e,"isArguments",function(){return ht}),t.d(e,"isArray",function(){return k}),t.d(e,"isArrayBuffer",function(){return wu}),t.d(e,"isArrayLike",function(){return lt}),t.d(e,"isArrayLikeObject",function(){return $d}),t.d(e,"isBoolean",function(){return fu}),t.d(e,"isBuffer",function(){return vt.a}),t.d(e,"isDate",function(){return ku}),t.d(e,"isElement",function(){return ju}),t.d(e,"isEmpty",function(){return Eu}),t.d(e,"isEqual",function(){return Au}),t.d(e,"isEqualWith",function(){return Tu}),t.d(e,"isError",function(){return en}),t.d(e,"isFinite",function(){return Pu}),t.d(e,"isFunction",function(){return Y}),t.d(e,"isInteger",function(){return Su}),t.d(e,"isLength",function(){return dt}),t.d(e,"isMap",function(){return Pr}),t.d(e,"isMatch",function(){return Mu}),t.d(e,"isMatchWith",function(){return Cu}),t.d(e,"isNaN",function(){return Fu}),t.d(e,"isNative",function(){return Iu}),t.d(e,"isNil",function(){return Wu}),t.d(e,"isNull",function(){return Uu}),t.d(e,"isNumber",function(){return Du}),t.d(e,"isObject",function(){return T}),t.d(e,"isObjectLike",function(){return w}),t.d(e,"isPlainObject",function(){return Qi}),t.d(e,"isRegExp",function(){return Vu}),t.d(e,"isSafeInteger",function(){return Gu}),t.d(e,"isSet",function(){return Rr}),t.d(e,"isString",function(){return Ic}),t.d(e,"isSymbol",function(){return f}),t.d(e,"isTypedArray",function(){return Et}),t.d(e,"isUndefined",function(){return Zu}),t.d(e,"isWeakMap",function(){return Qu}),t.d(e,"isWeakSet",function(){return ap}),t.d(e,"iteratee",function(){return tp}),t.d(e,"join",function(){return np}),t.d(e,"kebabCase",function(){return op}),t.d(e,"keyBy",function(){return rp}),t.d(e,"keys",function(){return Ct}),t.d(e,"keysIn",function(){return Lt}),t.d(e,"last",function(){return el}),t.d(e,"lastIndexOf",function(){return cp}),t.d(e,"lodash",function(){return Ba}),t.d(e,"lowerCase",function(){return up}),t.d(e,"lowerFirst",function(){return pp}),t.d(e,"lt",function(){return gp}),t.d(e,"lte",function(){return mp}),t.d(e,"map",function(){return ac}),t.d(e,"mapKeys",function(){return wp}),t.d(e,"mapValues",function(){return yp}),t.d(e,"matches",function(){return bp}),t.d(e,"matchesProperty",function(){return vp}),t.d(e,"max",function(){return jp}),t.d(e,"maxBy",function(){return _p}),t.d(e,"mean",function(){return Ap}),t.d(e,"meanBy",function(){return Tp}),t.d(e,"memoize",function(){return qi}),t.d(e,"merge",function(){return Op}),t.d(e,"mergeWith",function(){return Kd}),t.d(e,"method",function(){return Pp}),t.d(e,"methodOf",function(){return Sp}),t.d(e,"min",function(){return Mp}),t.d(e,"minBy",function(){return Cp}),t.d(e,"mixin",function(){return Rp}),t.d(e,"multiply",function(){return Dp}),t.d(e,"negate",function(){return Bp}),t.d(e,"next",function(){return Np}),t.d(e,"noop",function(){return Ea}),t.d(e,"now",function(){return Td}),t.d(e,"nth",function(){return Hp}),t.d(e,"nthArg",function(){return Vp}),t.d(e,"omit",function(){return Zp}),t.d(e,"omitBy",function(){return az}),t.d(e,"once",function(){return ez}),t.d(e,"orderBy",function(){return rz}),t.d(e,"over",function(){return dz}),t.d(e,"overArgs",function(){return uz}),t.d(e,"overEvery",function(){return pz}),t.d(e,"overSome",function(){return zz}),t.d(e,"pad",function(){return Mz}),t.d(e,"padEnd",function(){return Cz}),t.d(e,"padStart",function(){return Rz}),t.d(e,"parseInt",function(){return Bz}),t.d(e,"partial",function(){return Lz}),t.d(e,"partialRight",function(){return Wz}),t.d(e,"partition",function(){return Uz}),t.d(e,"pick",function(){return Kz}),t.d(e,"pickBy",function(){return Xp}),t.d(e,"plant",function(){return Hz}),t.d(e,"property",function(){return id}),t.d(e,"propertyOf",function(){return Vz}),t.d(e,"pull",function(){return Qz}),t.d(e,"pullAll",function(){return Jz}),t.d(e,"pullAllBy",function(){return Xz}),t.d(e,"pullAllWith",function(){return ag}),t.d(e,"pullAt",function(){return ig}),t.d(e,"random",function(){return cg}),t.d(e,"range",function(){return mg}),t.d(e,"rangeRight",function(){return wg}),t.d(e,"rearg",function(){return yg}),t.d(e,"reduce",function(){return bg}),t.d(e,"reduceRight",function(){return vg}),t.d(e,"reject",function(){return kg}),t.d(e,"remove",function(){return jg}),t.d(e,"repeat",function(){return _g}),t.d(e,"replace",function(){return xg}),t.d(e,"rest",function(){return Eg}),t.d(e,"result",function(){return Ag}),t.d(e,"reverse",function(){return Og}),t.d(e,"round",function(){return Pg}),t.d(e,"sample",function(){return Cg}),t.d(e,"sampleSize",function(){return Bg}),t.d(e,"set",function(){return $g}),t.d(e,"setWith",function(){return Lg}),t.d(e,"shuffle",function(){return Ug}),t.d(e,"size",function(){return Hg}),t.d(e,"slice",function(){return Vg}),t.d(e,"snakeCase",function(){return Yg}),t.d(e,"some",function(){return Zg}),t.d(e,"sortBy",function(){return Jg}),t.d(e,"sortedIndex",function(){return nm}),t.d(e,"sortedIndexBy",function(){return om}),t.d(e,"sortedIndexOf",function(){return rm}),t.d(e,"sortedLastIndex",function(){return sm}),t.d(e,"sortedLastIndexBy",function(){return dm}),t.d(e,"sortedLastIndexOf",function(){return lm}),t.d(e,"sortedUniq",function(){return um}),t.d(e,"sortedUniqBy",function(){return pm}),t.d(e,"split",function(){return gm}),t.d(e,"spread",function(){return ym}),t.d(e,"startCase",function(){return fm}),t.d(e,"startsWith",function(){return bm}),t.d(e,"stubArray",function(){return Oo}),t.d(e,"stubFalse",function(){return Bu.a}),t.d(e,"stubObject",function(){return hm}),t.d(e,"stubString",function(){return vm}),t.d(e,"stubTrue",function(){return km}),t.d(e,"subtract",function(){return jm}),t.d(e,"sum",function(){return _m}),t.d(e,"sumBy",function(){return xm}),t.d(e,"tail",function(){return qm}),t.d(e,"take",function(){return Em}),t.d(e,"takeRight",function(){return Am}),t.d(e,"takeRightWhile",function(){return Tm}),t.d(e,"takeWhile",function(){return Om}),t.d(e,"tap",function(){return Pm}),t.d(e,"template",function(){return Km}),t.d(e,"templateSettings",function(){return Bm}),t.d(e,"throttle",function(){return Vm}),t.d(e,"thru",function(){return Ym}),t.d(e,"times",function(){return Qm}),t.d(e,"toArray",function(){return Up}),t.d(e,"toFinite",function(){return $}),t.d(e,"toInteger",function(){return L}),t.d(e,"toIterator",function(){return Xm}),t.d(e,"toJSON",function(){return ew}),t.d(e,"toLength",function(){return Dl}),t.d(e,"toLower",function(){return tw}),t.d(e,"toNumber",function(){return D}),t.d(e,"toPairs",function(){return jl}),t.d(e,"toPairsIn",function(){return _l}),t.d(e,"toPath",function(){return iw}),t.d(e,"toPlainObject",function(){return Id}),t.d(e,"toSafeInteger",function(){return ow}),t.d(e,"toString",function(){return Pi}),t.d(e,"toUpper",function(){return rw}),t.d(e,"transform",function(){return sw}),t.d(e,"trim",function(){return uw}),t.d(e,"trimEnd",function(){return zw}),t.d(e,"trimStart",function(){return mw}),t.d(e,"truncate",function(){return bw}),t.d(e,"unary",function(){return hw}),t.d(e,"unescape",function(){return _w}),t.d(e,"union",function(){return Aw}),t.d(e,"unionBy",function(){return Tw}),t.d(e,"unionWith",function(){return Ow}),t.d(e,"uniq",function(){return Pw}),t.d(e,"uniqBy",function(){return Sw}),t.d(e,"uniqWith",function(){return Mw}),t.d(e,"uniqueId",function(){return Rw}),t.d(e,"unset",function(){return Dw}),t.d(e,"unzip",function(){return Bw}),t.d(e,"unzipWith",function(){return $w}),t.d(e,"update",function(){return Iw}),t.d(e,"updateWith",function(){return Ww}),t.d(e,"upperCase",function(){return Uw}),t.d(e,"upperFirst",function(){return Tn}),t.d(e,"value",function(){return ew}),t.d(e,"valueOf",function(){return ew}),t.d(e,"values",function(){return Uc}),t.d(e,"valuesIn",function(){return Nw}),t.d(e,"without",function(){return Kw}),t.d(e,"words",function(){return io}),t.d(e,"wrap",function(){return Hw}),t.d(e,"wrapperAt",function(){return Vw}),t.d(e,"wrapperChain",function(){return Yw}),t.d(e,"wrapperCommit",function(){return es}),t.d(e,"wrapperLodash",function(){return Ba}),t.d(e,"wrapperNext",function(){return Np}),t.d(e,"wrapperPlant",function(){return Hz}),t.d(e,"wrapperReverse",function(){return Gw}),t.d(e,"wrapperToIterator",function(){return Xm}),t.d(e,"wrapperValue",function(){return ew}),t.d(e,"xor",function(){return Jw}),t.d(e,"xorBy",function(){return Qw}),t.d(e,"xorWith",function(){return Xw}),t.d(e,"zip",function(){return ay}),t.d(e,"zipObject",function(){return ty}),t.d(e,"zipObjectDeep",function(){return iy}),t.d(e,"zipWith",function(){return ny}),t.d(e,"default",function(){return Py})},function(a,e){var t=Array.isArray;a.exports=t},,function(a,e,t){var i=t(49),n="object"==typeof self&&self&&self.Object===Object&&self,o=i||n||Function("return this")();a.exports=o},,function(a,e){a.exports=function(a){var e=typeof a;return null!=a&&("object"==e||"function"==e)}},,function(a,e,t){"use strict";var i=t(293),n="object"==typeof self&&self&&self.Object===Object&&self,o=i.a||n||Function("return this")();e.a=o},,function(a,e,t){var i=t(14),n=t(69),o=t(70),r="[object Null]",s="[object Undefined]",d=i?i.toStringTag:void 0;a.exports=function(a){return null==a?void 0===a?s:r:d&&d in Object(a)?n(a):o(a)}},function(a,e,t){var i=t(84),n=t(87);a.exports=function(a,e){var t=n(a,e);return i(t)?t:void 0}},function(a,e){a.exports=function(a){return null!=a&&"object"==typeof a}},function(a,e,t){var i=t(5).Symbol;a.exports=i},function(a,e){var t;t=function(){return this}();try{t=t||Function("return this")()||(0,eval)("this")}catch(a){"object"==typeof window&&(t=window)}a.exports=t},function(a,e,t){var i=t(12)(Object,"create");a.exports=i},function(a,e,t){var i=t(24);a.exports=function(a,e){for(var t=a.length;t--;)if(i(a[t][0],e))return t;return-1}},function(a,e,t){var i=t(98);a.exports=function(a,e){var t=a.__data__;return i(e)?t["string"==typeof e?"string":"hash"]:t.map}},function(a,e,t){var i=t(11),n=t(13),o="[object Symbol]";a.exports=function(a){return"symbol"==typeof a||n(a)&&i(a)==o}},function(a,e,t){var i=t(19),n=1/0;a.exports=function(a){if("string"==typeof a||i(a))return a;var e=a+"";return"0"==e&&1/a==-n?"-0":e}},,function(a,e,t){var i=t(39);a.exports=function(a,e,t){var n=null==a?void 0:i(a,e);return void 0===n?t:n}},function(a,e,t){var i=t(92),n=t(93),o=t(94),r=t(95),s=t(96);function d(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}d.prototype.clear=i,d.prototype.delete=n,d.prototype.get=o,d.prototype.has=r,d.prototype.set=s,a.exports=d},function(a,e){a.exports=function(a,e){return a===e||a!=a&&e!=e}},function(a,e,t){var i=t(27),n=t(60);a.exports=function(a){return null!=a&&n(a.length)&&!i(a)}},function(a,e,t){var i=t(3),n=t(40),o=t(79),r=t(63);a.exports=function(a,e){return i(a)?a:n(a,e)?[a]:o(r(a))}},function(a,e,t){var i=t(11),n=t(7),o="[object AsyncFunction]",r="[object Function]",s="[object GeneratorFunction]",d="[object Proxy]";a.exports=function(a){if(!n(a))return!1;var e=i(a);return e==r||e==s||e==o||e==d}},function(a,e,t){var i=t(110),n=t(129),o=t(25);a.exports=function(a){return o(a)?i(a):n(a)}},,function(a,e){a.exports=function(a,e){for(var t=-1,i=null==a?0:a.length,n=Array(i);++t<i;)n[t]=e(a[t],t,a);return n}},,function(a,e,t){"use strict";(function(a){var i=t(293),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof a&&a&&!a.nodeType&&a,r=o&&o.exports===n&&i.a.process,s=function(){try{var a=o&&o.require&&o.require("util").types;return a||r&&r.binding&&r.binding("util")}catch(a){}}();e.a=s}).call(this,t(290)(a))},,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(2),n=function(a){return a&&a.__esModule?a:{default:a}}(t(241));var o=function(){return[]},r=function(a){this._hasScore=!1,this._identifier="",this._hasMarks=!1,this._marker=o,this.score=0,this.text="",this.marks=[],(0,i.isUndefined)(a)&&(a={}),(0,i.isUndefined)(a.score)||this.setScore(a.score),(0,i.isUndefined)(a.text)||this.setText(a.text),(0,i.isUndefined)(a.marks)||this.setMarks(a.marks)};r.prototype.hasScore=function(){return this._hasScore},r.prototype.getScore=function(){return this.score},r.prototype.setScore=function(a){(0,i.isNumber)(a)&&(this.score=a,this._hasScore=!0)},r.prototype.hasText=function(){return""!==this.text},r.prototype.getText=function(){return this.text},r.prototype.setText=function(a){(0,i.isUndefined)(a)&&(a=""),this.text=a},r.prototype.getMarks=function(){return this.marks},r.prototype.setMarks=function(a){(0,i.isArray)(a)&&(this.marks=a,this._hasMarks=a.length>0)},r.prototype.setIdentifier=function(a){this._identifier=a},r.prototype.getIdentifier=function(){return this._identifier},r.prototype.setMarker=function(a){this._marker=a},r.prototype.hasMarker=function(){return this._hasMarks&&this._marker!==this.emptyMarker},r.prototype.getMarker=function(){return this._marker},r.prototype.setHasMarks=function(a){this._hasMarks=a},r.prototype.hasMarks=function(){return this._hasMarks},r.prototype.serialize=function(){return{_parseClass:"AssessmentResult",identifier:this._identifier,score:this.score,text:this.text,marks:this.marks.map(function(a){return a.serialize()})}},r.parse=function(a){var e=new r({text:a.text,score:a.score,marks:a.marks.map(function(a){return n.default.parse(a)})});return e.setIdentifier(a.identifier),e},e.default=r},function(a,e,t){var i=t(12)(t(5),"Map");a.exports=i},function(a,e,t){"use strict";(function(a){var i=t(9),n=t(140),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,r=o&&"object"==typeof a&&a&&!a.nodeType&&a,s=r&&r.exports===o?i.a.Buffer:void 0,d=(s?s.isBuffer:void 0)||n.a;e.a=d}).call(this,t(290)(a))},function(a,e,t){var i=t(81),n=t(97),o=t(99),r=t(100),s=t(101);function d(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}d.prototype.clear=i,d.prototype.delete=n,d.prototype.get=o,d.prototype.has=r,d.prototype.set=s,a.exports=d},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(983);Object.keys(i).forEach(function(a){"default"!==a&&"__esModule"!==a&&Object.defineProperty(e,a,{enumerable:!0,get:function(){return i[a]}})})},function(a,e,t){var i=t(26),n=t(20);a.exports=function(a,e){for(var t=0,o=(e=i(e,a)).length;null!=a&&t<o;)a=a[n(e[t++])];return t&&t==o?a:void 0}},function(a,e,t){var i=t(3),n=t(19),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;a.exports=function(a,e){if(i(a))return!1;var t=typeof a;return!("number"!=t&&"symbol"!=t&&"boolean"!=t&&null!=a&&!n(a))||r.test(a)||!o.test(a)||null!=e&&a in Object(e)}},function(a,e){a.exports=function(a){return a.webpackPolyfill||(a.deprecate=function(){},a.paths=[],a.children||(a.children=[]),Object.defineProperty(a,"loaded",{enumerable:!0,get:function(){return a.l}}),Object.defineProperty(a,"id",{enumerable:!0,get:function(){return a.i}}),a.webpackPolyfill=1),a}},,,,,,,,function(a,e,t){(function(e){var t="object"==typeof e&&e&&e.Object===Object&&e;a.exports=t}).call(this,t(15))},function(a,e,t){var i=t(177),n=t(13),o=Object.prototype,r=o.hasOwnProperty,s=o.propertyIsEnumerable,d=i(function(){return arguments}())?i:function(a){return n(a)&&r.call(a,"callee")&&!s.call(a,"callee")};a.exports=d},function(a,e,t){(function(a){var i=t(5),n=t(178),o="object"==typeof e&&e&&!e.nodeType&&e,r=o&&"object"==typeof a&&a&&!a.nodeType&&a,s=r&&r.exports===o?i.Buffer:void 0,d=(s?s.isBuffer:void 0)||n;a.exports=d}).call(this,t(41)(a))},,function(a,e){var t=Object.prototype;a.exports=function(a){var e=a&&a.constructor;return a===("function"==typeof e&&e.prototype||t)}},,function(a,e){var t=Function.prototype.toString;a.exports=function(a){if(null!=a){try{return t.call(a)}catch(a){}try{return a+""}catch(a){}}return""}},function(a,e){a.exports=function(a){return a}},,,,function(a,e){var t=9007199254740991;a.exports=function(a){return"number"==typeof a&&a>-1&&a%1==0&&a<=t}},,,function(a,e,t){var i=t(71);a.exports=function(a){return null==a?"":i(a)}},function(a,e){var t=9007199254740991,i=/^(?:0|[1-9]\d*)$/;a.exports=function(a,e){return!!(e=null==e?t:e)&&("number"==typeof a||i.test(a))&&a>-1&&a%1==0&&a<e}},function(a,e,t){var i=t(179),n=t(142),o=t(159),r=o&&o.isTypedArray,s=r?n(r):i;a.exports=s},function(a,e,t){var i=t(23),n=t(182),o=t(183),r=t(184),s=t(185),d=t(186);function l(a){var e=this.__data__=new i(a);this.size=e.size}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=r,l.prototype.has=s,l.prototype.set=d,a.exports=l},,function(a,e,t){(function(a,i){var n=/%[sdj%]/g;e.format=function(a){if(!y(a)){for(var e=[],t=0;t<arguments.length;t++)e.push(s(arguments[t]));return e.join(" ")}t=1;for(var i=arguments,o=i.length,r=String(a).replace(n,function(a){if("%%"===a)return"%";if(t>=o)return a;switch(a){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch(a){return"[Circular]"}default:return a}}),d=i[t];t<o;d=i[++t])m(d)||!h(d)?r+=" "+d:r+=" "+s(d);return r},e.deprecate=function(t,n){if(f(a.process))return function(){return e.deprecate(t,n).apply(this,arguments)};if(!0===i.noDeprecation)return t;var o=!1;return function(){if(!o){if(i.throwDeprecation)throw new Error(n);i.traceDeprecation?console.trace(n):console.error(n),o=!0}return t.apply(this,arguments)}};var o,r={};function s(a,t){var i={seen:[],stylize:l};return arguments.length>=3&&(i.depth=arguments[2]),arguments.length>=4&&(i.colors=arguments[3]),g(t)?i.showHidden=t:t&&e._extend(i,t),f(i.showHidden)&&(i.showHidden=!1),f(i.depth)&&(i.depth=2),f(i.colors)&&(i.colors=!1),f(i.customInspect)&&(i.customInspect=!0),i.colors&&(i.stylize=d),c(i,a,i.depth)}function d(a,e){var t=s.styles[e];return t?"["+s.colors[t][0]+"m"+a+"["+s.colors[t][1]+"m":a}function l(a,e){return a}function c(a,t,i){if(a.customInspect&&t&&j(t.inspect)&&t.inspect!==e.inspect&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(i,a);return y(n)||(n=c(a,n,i)),n}var o=function(a,e){if(f(e))return a.stylize("undefined","undefined");if(y(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(t,"string")}if(w(e))return a.stylize(""+e,"number");if(g(e))return a.stylize(""+e,"boolean");if(m(e))return a.stylize("null","null")}(a,t);if(o)return o;var r=Object.keys(t),s=function(a){var e={};return a.forEach(function(a,t){e[a]=!0}),e}(r);if(a.showHidden&&(r=Object.getOwnPropertyNames(t)),k(t)&&(r.indexOf("message")>=0||r.indexOf("description")>=0))return u(t);if(0===r.length){if(j(t)){var d=t.name?": "+t.name:"";return a.stylize("[Function"+d+"]","special")}if(b(t))return a.stylize(RegExp.prototype.toString.call(t),"regexp");if(v(t))return a.stylize(Date.prototype.toString.call(t),"date");if(k(t))return u(t)}var l,h="",_=!1,x=["{","}"];(z(t)&&(_=!0,x=["[","]"]),j(t))&&(h=" [Function"+(t.name?": "+t.name:"")+"]");return b(t)&&(h=" "+RegExp.prototype.toString.call(t)),v(t)&&(h=" "+Date.prototype.toUTCString.call(t)),k(t)&&(h=" "+u(t)),0!==r.length||_&&0!=t.length?i<0?b(t)?a.stylize(RegExp.prototype.toString.call(t),"regexp"):a.stylize("[Object]","special"):(a.seen.push(t),l=_?function(a,e,t,i,n){for(var o=[],r=0,s=e.length;r<s;++r)E(e,String(r))?o.push(p(a,e,t,i,String(r),!0)):o.push("");return n.forEach(function(n){n.match(/^\d+$/)||o.push(p(a,e,t,i,n,!0))}),o}(a,t,i,s,r):r.map(function(e){return p(a,t,i,s,e,_)}),a.seen.pop(),function(a,e,t){if(a.reduce(function(a,e){return 0,e.indexOf("\n")>=0&&0,a+e.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60)return t[0]+(""===e?"":e+"\n ")+" "+a.join(",\n ")+" "+t[1];return t[0]+e+" "+a.join(", ")+" "+t[1]}(l,h,x)):x[0]+h+x[1]}function u(a){return"["+Error.prototype.toString.call(a)+"]"}function p(a,e,t,i,n,o){var r,s,d;if((d=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]}).get?s=d.set?a.stylize("[Getter/Setter]","special"):a.stylize("[Getter]","special"):d.set&&(s=a.stylize("[Setter]","special")),E(i,n)||(r="["+n+"]"),s||(a.seen.indexOf(d.value)<0?(s=m(t)?c(a,d.value,null):c(a,d.value,t-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(a){return" "+a}).join("\n").substr(2):"\n"+s.split("\n").map(function(a){return" "+a}).join("\n")):s=a.stylize("[Circular]","special")),f(r)){if(o&&n.match(/^\d+$/))return s;(r=JSON.stringify(""+n)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(r=r.substr(1,r.length-2),r=a.stylize(r,"name")):(r=r.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),r=a.stylize(r,"string"))}return r+": "+s}function z(a){return Array.isArray(a)}function g(a){return"boolean"==typeof a}function m(a){return null===a}function w(a){return"number"==typeof a}function y(a){return"string"==typeof a}function f(a){return void 0===a}function b(a){return h(a)&&"[object RegExp]"===_(a)}function h(a){return"object"==typeof a&&null!==a}function v(a){return h(a)&&"[object Date]"===_(a)}function k(a){return h(a)&&("[object Error]"===_(a)||a instanceof Error)}function j(a){return"function"==typeof a}function _(a){return Object.prototype.toString.call(a)}function x(a){return a<10?"0"+a.toString(10):a.toString(10)}e.debuglog=function(a){if(f(o)&&(o=i.env.NODE_DEBUG||""),a=a.toUpperCase(),!r[a])if(new RegExp("\\b"+a+"\\b","i").test(o)){var t=i.pid;r[a]=function(){var i=e.format.apply(e,arguments);console.error("%s %d: %s",a,t,i)}}else r[a]=function(){};return r[a]},e.inspect=s,s.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},s.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},e.isArray=z,e.isBoolean=g,e.isNull=m,e.isNullOrUndefined=function(a){return null==a},e.isNumber=w,e.isString=y,e.isSymbol=function(a){return"symbol"==typeof a},e.isUndefined=f,e.isRegExp=b,e.isObject=h,e.isDate=v,e.isError=k,e.isFunction=j,e.isPrimitive=function(a){return null===a||"boolean"==typeof a||"number"==typeof a||"string"==typeof a||"symbol"==typeof a||void 0===a},e.isBuffer=t(999);var q=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function E(a,e){return Object.prototype.hasOwnProperty.call(a,e)}e.log=function(){console.log("%s - %s",function(){var a=new Date,e=[x(a.getHours()),x(a.getMinutes()),x(a.getSeconds())].join(":");return[a.getDate(),q[a.getMonth()],e].join(" ")}(),e.format.apply(e,arguments))},e.inherits=t(243),e._extend=function(a,e){if(!e||!h(e))return a;for(var t=Object.keys(e),i=t.length;i--;)a[t[i]]=e[t[i]];return a}}).call(this,t(15),t(301))},function(a,e,t){var i=t(14),n=Object.prototype,o=n.hasOwnProperty,r=n.toString,s=i?i.toStringTag:void 0;a.exports=function(a){var e=o.call(a,s),t=a[s];try{a[s]=void 0;var i=!0}catch(a){}var n=r.call(a);return i&&(e?a[s]=t:delete a[s]),n}},function(a,e){var t=Object.prototype.toString;a.exports=function(a){return t.call(a)}},function(a,e,t){var i=t(14),n=t(30),o=t(3),r=t(19),s=1/0,d=i?i.prototype:void 0,l=d?d.toString:void 0;a.exports=function a(e){if("string"==typeof e)return e;if(o(e))return n(e,a)+"";if(r(e))return l?l.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}},function(a,e){a.exports=function(a,e){for(var t=-1,i=e.length,n=a.length;++t<i;)a[n+t]=e[t];return a}},function(a,e,t){var i=t(144),n=t(119),o=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols,s=r?function(a){return null==a?[]:(a=Object(a),i(r(a),function(e){return o.call(a,e)}))}:n;a.exports=s},,,function(a,e,t){var i=t(37),n="Expected a function";function o(a,e){if("function"!=typeof a||null!=e&&"function"!=typeof e)throw new TypeError(n);var t=function(){var i=arguments,n=e?e.apply(this,i):i[0],o=t.cache;if(o.has(n))return o.get(n);var r=a.apply(this,i);return t.cache=o.set(n,r)||o,r};return t.cache=new(o.Cache||i),t}o.Cache=i,a.exports=o},,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}();var n=function(){function a(){!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a)}return i(a,[{key:"getResult",value:function(a,e,t){throw"The method getResult is not implemented"}},{key:"isApplicable",value:function(a){return!0}}]),a}();e.default=n},function(a,e,t){var i=/^\./,n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g,r=t(80)(function(a){var e=[];return i.test(a)&&e.push(""),a.replace(n,function(a,t,i,n){e.push(i?n.replace(o,"$1"):t||a)}),e});a.exports=r},function(a,e,t){var i=t(76),n=500;a.exports=function(a){var e=i(a,function(a){return t.size===n&&t.clear(),a}),t=e.cache;return e}},function(a,e,t){var i=t(82),n=t(23),o=t(35);a.exports=function(){this.size=0,this.__data__={hash:new i,map:new(o||n),string:new i}}},function(a,e,t){var i=t(83),n=t(88),o=t(89),r=t(90),s=t(91);function d(a){var e=-1,t=null==a?0:a.length;for(this.clear();++e<t;){var i=a[e];this.set(i[0],i[1])}}d.prototype.clear=i,d.prototype.delete=n,d.prototype.get=o,d.prototype.has=r,d.prototype.set=s,a.exports=d},function(a,e,t){var i=t(16);a.exports=function(){this.__data__=i?i(null):{},this.size=0}},function(a,e,t){var i=t(27),n=t(85),o=t(7),r=t(55),s=/^\[object .+?Constructor\]$/,d=Function.prototype,l=Object.prototype,c=d.toString,u=l.hasOwnProperty,p=RegExp("^"+c.call(u).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");a.exports=function(a){return!(!o(a)||n(a))&&(i(a)?p:s).test(r(a))}},function(a,e,t){var i=t(86),n=function(){var a=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}();a.exports=function(a){return!!n&&n in a}},function(a,e,t){var i=t(5)["__core-js_shared__"];a.exports=i},function(a,e){a.exports=function(a,e){return null==a?void 0:a[e]}},function(a,e){a.exports=function(a){var e=this.has(a)&&delete this.__data__[a];return this.size-=e?1:0,e}},function(a,e,t){var i=t(16),n="__lodash_hash_undefined__",o=Object.prototype.hasOwnProperty;a.exports=function(a){var e=this.__data__;if(i){var t=e[a];return t===n?void 0:t}return o.call(e,a)?e[a]:void 0}},function(a,e,t){var i=t(16),n=Object.prototype.hasOwnProperty;a.exports=function(a){var e=this.__data__;return i?void 0!==e[a]:n.call(e,a)}},function(a,e,t){var i=t(16),n="__lodash_hash_undefined__";a.exports=function(a,e){var t=this.__data__;return this.size+=this.has(a)?0:1,t[a]=i&&void 0===e?n:e,this}},function(a,e){a.exports=function(){this.__data__=[],this.size=0}},function(a,e,t){var i=t(17),n=Array.prototype.splice;a.exports=function(a){var e=this.__data__,t=i(e,a);return!(t<0||(t==e.length-1?e.pop():n.call(e,t,1),--this.size,0))}},function(a,e,t){var i=t(17);a.exports=function(a){var e=this.__data__,t=i(e,a);return t<0?void 0:e[t][1]}},function(a,e,t){var i=t(17);a.exports=function(a){return i(this.__data__,a)>-1}},function(a,e,t){var i=t(17);a.exports=function(a,e){var t=this.__data__,n=i(t,a);return n<0?(++this.size,t.push([a,e])):t[n][1]=e,this}},function(a,e,t){var i=t(18);a.exports=function(a){var e=i(this,a).delete(a);return this.size-=e?1:0,e}},function(a,e){a.exports=function(a){var e=typeof a;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==a:null===a}},function(a,e,t){var i=t(18);a.exports=function(a){return i(this,a).get(a)}},function(a,e,t){var i=t(18);a.exports=function(a){return i(this,a).has(a)}},function(a,e,t){var i=t(18);a.exports=function(a,e){var t=i(this,a),n=t.size;return t.set(a,e),this.size+=t.size==n?0:1,this}},function(a,e){a.exports=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a){t[++e]=a}),t}},function(a,e,t){var i=t(187),n=t(35),o=t(188),r=t(152),s=t(153),d=t(11),l=t(55),c=l(i),u=l(n),p=l(o),z=l(r),g=l(s),m=d;(i&&"[object DataView]"!=m(new i(new ArrayBuffer(1)))||n&&"[object Map]"!=m(new n)||o&&"[object Promise]"!=m(o.resolve())||r&&"[object Set]"!=m(new r)||s&&"[object WeakMap]"!=m(new s))&&(m=function(a){var e=d(a),t="[object Object]"==e?a.constructor:void 0,i=t?l(t):"";if(i)switch(i){case c:return"[object DataView]";case u:return"[object Map]";case p:return"[object Promise]";case z:return"[object Set]";case g:return"[object WeakMap]"}return e}),a.exports=m},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return a.split("_")[0]}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return a=(a=(a=a.replace(/\s{2,}/g," ")).replace(/\s\./g,".")).replace(/^\s+|\s+$/g,"")}},,,,,function(a,e,t){var i=t(176),n=t(50),o=t(3),r=t(51),s=t(64),d=t(65),l=Object.prototype.hasOwnProperty;a.exports=function(a,e){var t=o(a),c=!t&&n(a),u=!t&&!c&&r(a),p=!t&&!c&&!u&&d(a),z=t||c||u||p,g=z?i(a.length,String):[],m=g.length;for(var w in a)!e&&!l.call(a,w)||z&&("length"==w||u&&("offset"==w||"parent"==w)||p&&("buffer"==w||"byteLength"==w||"byteOffset"==w)||s(w,m))||g.push(w);return g}},function(a,e,t){var i=t(217),n=t(13);a.exports=function a(e,t,o,r,s){return e===t||(null==e||null==t||!n(e)&&!n(t)?e!=e&&t!=t:i(e,t,o,r,a,s))}},,,,,,function(a,e){a.exports=function(a,e){return function(t){return a(e(t))}}},function(a,e,t){var i=t(72),n=t(3);a.exports=function(a,e,t){var o=e(a);return n(a)?o:i(o,t(a))}},function(a,e){a.exports=function(){return[]}},,,,,,,,,function(a,e,t){var i=t(210),n=t(212)(i);a.exports=n},function(a,e,t){var i=t(53),n=t(180),o=Object.prototype.hasOwnProperty;a.exports=function(a){if(!i(a))return n(a);var e=[];for(var t in Object(a))o.call(a,t)&&"constructor"!=t&&e.push(t);return e}},function(a,e,t){var i=t(150),n=t(220),o=t(151),r=1,s=2;a.exports=function(a,e,t,d,l,c){var u=t&r,p=a.length,z=e.length;if(p!=z&&!(u&&z>p))return!1;var g=c.get(a);if(g&&c.get(e))return g==e;var m=-1,w=!0,y=t&s?new i:void 0;for(c.set(a,e),c.set(e,a);++m<p;){var f=a[m],b=e[m];if(d)var h=u?d(b,f,m,e,a,c):d(f,b,m,a,e,c);if(void 0!==h){if(h)continue;w=!1;break}if(y){if(!n(e,function(a,e){if(!o(y,e)&&(f===a||l(f,a,t,d,c)))return y.push(e)})){w=!1;break}}else if(f!==b&&!l(f,b,t,d,c)){w=!1;break}}return c.delete(a),c.delete(e),w}},function(a,e,t){var i=t(5).Uint8Array;a.exports=i},function(a,e){a.exports=function(a){var e=-1,t=Array(a.size);return a.forEach(function(a,i){t[++e]=[i,a]}),t}},function(a,e,t){var i=t(118),n=t(73),o=t(28);a.exports=function(a){return i(a,o,n)}},function(a,e,t){var i=t(7);a.exports=function(a){return a==a&&!i(a)}},function(a,e){a.exports=function(a,e){return function(t){return null!=t&&t[a]===e&&(void 0!==e||a in Object(t))}}},,,,,function(a,e,t){"use strict";e.a=function(){return!1}},,function(a,e){a.exports=function(a){return function(e){return a(e)}}},function(a,e,t){var i=t(215),n=t(224),o=t(56),r=t(3),s=t(227);a.exports=function(a){return"function"==typeof a?a:null==a?o:"object"==typeof a?r(a)?n(a[0],a[1]):i(a):s(a)}},function(a,e){a.exports=function(a,e){for(var t=-1,i=null==a?0:a.length,n=0,o=[];++t<i;){var r=a[t];e(r,t,a)&&(o[n++]=r)}return o}},,,,,,function(a,e,t){var i=t(37),n=t(218),o=t(219);function r(a){var e=-1,t=null==a?0:a.length;for(this.__data__=new i;++e<t;)this.add(a[e])}r.prototype.add=r.prototype.push=n,r.prototype.has=o,a.exports=r},function(a,e){a.exports=function(a,e){return a.has(e)}},function(a,e,t){var i=t(12)(t(5),"Set");a.exports=i},function(a,e,t){var i=t(12)(t(5),"WeakMap");a.exports=i},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stripBlockTagsAtStartEnd=e.stripIncompleteTags=e.stripFullTags=void 0;var i=function(a){return a&&a.__esModule?a:{default:a}}(t(105)),n=t(375);var o=new RegExp("^<("+n.blockElements.join("|")+")[^>]*?>","i"),r=new RegExp("</("+n.blockElements.join("|")+")[^>]*?>$","i"),s=function(a){return a=(a=a.replace(/^(<\/([^>]+)>)+/i,"")).replace(/(<([^/>]+)>)+$/i,"")},d=function(a){return a=(a=a.replace(o,"")).replace(r,"")},l=function(a){return a=a.replace(/(<([^>]+)>)/gi," "),a=(0,i.default)(a)};e.stripFullTags=l,e.stripIncompleteTags=s,e.stripBlockTagsAtStartEnd=d,e.default={stripFullTags:l,stripIncompleteTags:s,stripBlockTagsAtStartEnd:d}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){if(""===(a=(0,n.default)((0,i.stripFullTags)(a))))return[];var e=a.split(/\s/g);return e=(0,r.map)(e,function(a){return(0,o.default)(a)}),(0,r.filter)(e,function(a){return""!==a.trim()})};var i=t(154),n=s(t(105)),o=s(t(696)),r=t(2);function s(a){return a&&a.__esModule?a:{default:a}}},,,,function(a,e,t){(function(a){var i=t(49),n="object"==typeof e&&e&&!e.nodeType&&e,o=n&&"object"==typeof a&&a&&!a.nodeType&&a,r=o&&o.exports===n&&i.process,s=function(){try{return r&&r.binding&&r.binding("util")}catch(a){}}();a.exports=s}).call(this,t(41)(a))},,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){a=(0,o.unifyNonBreakingSpace)(a);var e=(0,n.getBlocks)(a);e=(0,i.flatMap)(e,function(a){return a.split(s)});var t=(0,i.flatMap)(e,d);return(0,i.filter)(t,(0,i.negate)(i.isEmpty))};var i=t(2),n=t(375),o=t(762),r=function(a){return a&&a.__esModule?a:{default:a}}(t(988));var s=new RegExp("\n\r|\n|\r");var d=(0,i.memoize)(function(a){var e=new r.default,t=e.createTokenizer(),i=t.tokenizer,n=t.tokens;return e.tokenize(i,a),0===n.length?[]:e.getSentencesFromTokens(n)})},,,,,,,,,function(a,e,t){var i=t(211)();a.exports=i},function(a,e){a.exports=function(a,e){for(var t=-1,i=Array(a);++t<a;)i[t]=e(t);return i}},function(a,e,t){var i=t(11),n=t(13),o="[object Arguments]";a.exports=function(a){return n(a)&&i(a)==o}},function(a,e){a.exports=function(){return!1}},function(a,e,t){var i=t(11),n=t(60),o=t(13),r={};r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,a.exports=function(a){return o(a)&&n(a.length)&&!!r[i(a)]}},function(a,e,t){var i=t(117)(Object.keys,Object);a.exports=i},function(a,e,t){var i=t(200),n=t(213),o=t(214);a.exports=function(a,e,t){return e==e?o(a,e,t):i(a,n,t)}},function(a,e,t){var i=t(23);a.exports=function(){this.__data__=new i,this.size=0}},function(a,e){a.exports=function(a){var e=this.__data__,t=e.delete(a);return this.size=e.size,t}},function(a,e){a.exports=function(a){return this.__data__.get(a)}},function(a,e){a.exports=function(a){return this.__data__.has(a)}},function(a,e,t){var i=t(23),n=t(35),o=t(37),r=200;a.exports=function(a,e){var t=this.__data__;if(t instanceof i){var s=t.__data__;if(!n||s.length<r-1)return s.push([a,e]),this.size=++t.size,this;t=this.__data__=new o(s)}return t.set(a,e),this.size=t.size,this}},function(a,e,t){var i=t(12)(t(5),"DataView");a.exports=i},function(a,e,t){var i=t(12)(t(5),"Promise");a.exports=i},function(a,e,t){var i=t(26),n=t(50),o=t(3),r=t(64),s=t(60),d=t(20);a.exports=function(a,e,t){for(var l=-1,c=(e=i(e,a)).length,u=!1;++l<c;){var p=d(e[l]);if(!(u=null!=a&&t(a,p)))break;a=a[p]}return u||++l!=c?u:!!(c=null==a?0:a.length)&&s(c)&&r(p,c)&&(o(a)||n(a))}},,,,,,,,,,,function(a,e){a.exports=function(a,e,t,i){for(var n=a.length,o=t+(i?1:-1);i?o--:++o<n;)if(e(a[o],o,a))return o;return-1}},function(a,e,t){var i=t(7),n=t(19),o=NaN,r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;a.exports=function(a){if("number"==typeof a)return a;if(n(a))return o;if(i(a)){var e="function"==typeof a.valueOf?a.valueOf():a;a=i(e)?e+"":e}if("string"!=typeof a)return 0===a?a:+a;a=a.replace(r,"");var t=d.test(a);return t||l.test(a)?c(a.slice(2),t?2:8):s.test(a)?o:+a}},function(a,e){a.exports=function(a){return function(e){return null==e?void 0:e[a]}}},,,,,,,,function(a,e,t){var i=t(175),n=t(28);a.exports=function(a,e){return a&&i(a,e,n)}},function(a,e){a.exports=function(a){return function(e,t,i){for(var n=-1,o=Object(e),r=i(e),s=r.length;s--;){var d=r[a?s:++n];if(!1===t(o[d],d,o))break}return e}}},function(a,e,t){var i=t(25);a.exports=function(a,e){return function(t,n){if(null==t)return t;if(!i(t))return a(t,n);for(var o=t.length,r=e?o:-1,s=Object(t);(e?r--:++r<o)&&!1!==n(s[r],r,s););return t}}},function(a,e){a.exports=function(a){return a!=a}},function(a,e){a.exports=function(a,e,t){for(var i=t-1,n=a.length;++i<n;)if(a[i]===e)return i;return-1}},function(a,e,t){var i=t(216),n=t(223),o=t(135);a.exports=function(a){var e=n(a);return 1==e.length&&e[0][2]?o(e[0][0],e[0][1]):function(t){return t===a||i(t,a,e)}}},function(a,e,t){var i=t(66),n=t(111),o=1,r=2;a.exports=function(a,e,t,s){var d=t.length,l=d,c=!s;if(null==a)return!l;for(a=Object(a);d--;){var u=t[d];if(c&&u[2]?u[1]!==a[u[0]]:!(u[0]in a))return!1}for(;++d<l;){var p=(u=t[d])[0],z=a[p],g=u[1];if(c&&u[2]){if(void 0===z&&!(p in a))return!1}else{var m=new i;if(s)var w=s(z,g,p,a,e,m);if(!(void 0===w?n(g,z,o|r,s,m):w))return!1}}return!0}},function(a,e,t){var i=t(66),n=t(130),o=t(221),r=t(222),s=t(103),d=t(3),l=t(51),c=t(65),u=1,p="[object Arguments]",z="[object Array]",g="[object Object]",m=Object.prototype.hasOwnProperty;a.exports=function(a,e,t,w,y,f){var b=d(a),h=d(e),v=b?z:s(a),k=h?z:s(e),j=(v=v==p?g:v)==g,_=(k=k==p?g:k)==g,x=v==k;if(x&&l(a)){if(!l(e))return!1;b=!0,j=!1}if(x&&!j)return f||(f=new i),b||c(a)?n(a,e,t,w,y,f):o(a,e,v,t,w,y,f);if(!(t&u)){var q=j&&m.call(a,"__wrapped__"),E=_&&m.call(e,"__wrapped__");if(q||E){var A=q?a.value():a,T=E?e.value():e;return f||(f=new i),y(A,T,t,w,f)}}return!!x&&(f||(f=new i),r(a,e,t,w,y,f))}},function(a,e){var t="__lodash_hash_undefined__";a.exports=function(a){return this.__data__.set(a,t),this}},function(a,e){a.exports=function(a){return this.__data__.has(a)}},function(a,e){a.exports=function(a,e){for(var t=-1,i=null==a?0:a.length;++t<i;)if(e(a[t],t,a))return!0;return!1}},function(a,e,t){var i=t(14),n=t(131),o=t(24),r=t(130),s=t(132),d=t(102),l=1,c=2,u="[object Boolean]",p="[object Date]",z="[object Error]",g="[object Map]",m="[object Number]",w="[object RegExp]",y="[object Set]",f="[object String]",b="[object Symbol]",h="[object ArrayBuffer]",v="[object DataView]",k=i?i.prototype:void 0,j=k?k.valueOf:void 0;a.exports=function(a,e,t,i,k,_,x){switch(t){case v:if(a.byteLength!=e.byteLength||a.byteOffset!=e.byteOffset)return!1;a=a.buffer,e=e.buffer;case h:return!(a.byteLength!=e.byteLength||!_(new n(a),new n(e)));case u:case p:case m:return o(+a,+e);case z:return a.name==e.name&&a.message==e.message;case w:case f:return a==e+"";case g:var q=s;case y:var E=i&l;if(q||(q=d),a.size!=e.size&&!E)return!1;var A=x.get(a);if(A)return A==e;i|=c,x.set(a,e);var T=r(q(a),q(e),i,k,_,x);return x.delete(a),T;case b:if(j)return j.call(a)==j.call(e)}return!1}},function(a,e,t){var i=t(133),n=1,o=Object.prototype.hasOwnProperty;a.exports=function(a,e,t,r,s,d){var l=t&n,c=i(a),u=c.length;if(u!=i(e).length&&!l)return!1;for(var p=u;p--;){var z=c[p];if(!(l?z in e:o.call(e,z)))return!1}var g=d.get(a);if(g&&d.get(e))return g==e;var m=!0;d.set(a,e),d.set(e,a);for(var w=l;++p<u;){var y=a[z=c[p]],f=e[z];if(r)var b=l?r(f,y,z,e,a,d):r(y,f,z,a,e,d);if(!(void 0===b?y===f||s(y,f,t,r,d):b)){m=!1;break}w||(w="constructor"==z)}if(m&&!w){var h=a.constructor,v=e.constructor;h!=v&&"constructor"in a&&"constructor"in e&&!("function"==typeof h&&h instanceof h&&"function"==typeof v&&v instanceof v)&&(m=!1)}return d.delete(a),d.delete(e),m}},function(a,e,t){var i=t(134),n=t(28);a.exports=function(a){for(var e=n(a),t=e.length;t--;){var o=e[t],r=a[o];e[t]=[o,r,i(r)]}return e}},function(a,e,t){var i=t(111),n=t(22),o=t(225),r=t(40),s=t(134),d=t(135),l=t(20),c=1,u=2;a.exports=function(a,e){return r(a)&&s(e)?d(l(a),e):function(t){var r=n(t,a);return void 0===r&&r===e?o(t,a):i(e,r,c|u)}}},function(a,e,t){var i=t(226),n=t(189);a.exports=function(a,e){return null!=a&&n(a,e,i)}},function(a,e){a.exports=function(a,e){return null!=a&&e in Object(a)}},function(a,e,t){var i=t(202),n=t(228),o=t(40),r=t(20);a.exports=function(a){return o(a)?i(r(a)):n(a)}},function(a,e,t){var i=t(39);a.exports=function(a){return function(e){return i(e,a)}}},,,,,,,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=Object.assign||function(a){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(a[i]=t[i])}return a},n=t(2);function o(a){(0,n.defaults)(a,{original:"",marked:""}),this._properties=a}o.prototype.getOriginal=function(){return this._properties.original},o.prototype.getMarked=function(){return this._properties.marked},o.prototype.applyWithReplace=function(a){return a.split(this._properties.original).join(this._properties.marked)},o.prototype.serialize=function(){return i({_parseClass:"Mark"},this._properties)},o.parse=function(a){return delete a._parseClass,new o(a)},e.default=o},function(a,e,t){"use strict";function i(a,e,t){return a>e&&a<=t}function n(a,e,t){return a>=e&&a<t}function o(a,e,t){return a>=e&&a<=t}Object.defineProperty(e,"__esModule",{value:!0}),e.inRange=i,e.inRangeStartInclusive=n,e.inRangeEndInclusive=i,e.inRangeStartEndInclusive=o,e.default={inRange:i,inRangeStartInclusive:n,inRangeEndInclusive:i,inRangeStartEndInclusive:o}},function(a,e){"function"==typeof Object.create?a.exports=function(a,e){a.super_=e,a.prototype=Object.create(e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}})}:a.exports=function(a,e){a.super_=e;var t=function(){};t.prototype=e.prototype,a.prototype=new t,a.prototype.constructor=a}},,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=l(t(508)),n=l(t(504)),o=l(t(1159)),r=l(t(34)),s=t(1160),d=t(2);function l(a){return a&&a.__esModule?a:{default:a}}var c=function(a,e){this.type="Assessor",this.setI18n(a),this._assessments=[],this._options=e||{},(0,d.isUndefined)(this._options.researcher)||(this._researcher=this._options.researcher)};c.prototype.setI18n=function(a){if((0,d.isUndefined)(a))throw new n.default("The assessor requires an i18n object.");this.i18n=a},c.prototype.getAvailableAssessments=function(){return this._assessments},c.prototype.isApplicable=function(a,e,t){return!a.hasOwnProperty("isApplicable")&&"function"!=typeof a.isApplicable||a.isApplicable(e,t)},c.prototype.hasMarker=function(a){return(0,d.isFunction)(this._options.marker)&&(a.hasOwnProperty("getMarks")||"function"==typeof a.getMarks)},c.prototype.getSpecificMarker=function(){return this._options.marker},c.prototype.getPaper=function(){return this._lastPaper},c.prototype.getMarker=function(a,e,t){var i=this._options.marker;return function(){var n=a.getMarks(e,t);n=(0,o.default)(n),i(e,n)}},c.prototype.assess=function(a){(0,d.isUndefined)(this._researcher)?this._researcher=new i.default(a):this._researcher.setPaper(a);var e=this.getAvailableAssessments();this.results=[],e=(0,d.filter)(e,function(e){return this.isApplicable(e,a,this._researcher)}.bind(this)),this.setHasMarkers(!1),this.results=(0,d.map)(e,this.executeAssessment.bind(this,a,this._researcher)),this._lastPaper=a},c.prototype.setHasMarkers=function(a){this._hasMarkers=a},c.prototype.hasMarkers=function(){return this._hasMarkers},c.prototype.executeAssessment=function(a,e,t){var i;try{(i=t.getResult(a,e,this.i18n)).setIdentifier(t.identifier),i.hasMarks()&&(i.marks=t.getMarks(a,e),i.marks=(0,o.default)(i.marks)),i.hasMarks()&&this.hasMarker(t)&&(this.setHasMarkers(!0),i.setMarker(this.getMarker(t,a,e)))}catch(a){(0,s.showTrace)(a),(i=new r.default).setScore(-1),i.setText(this.i18n.sprintf(this.i18n.dgettext("js-text-analysis","An error occurred in the '%1$s' assessment"),t.identifier,a))}return i},c.prototype.getValidResults=function(){return(0,d.filter)(this.results,function(a){return this.isValidResult(a)}.bind(this))},c.prototype.isValidResult=function(a){return a.hasScore()&&a.hasText()},c.prototype.calculateOverallScore=function(){var a=this.getValidResults(),e=0;return(0,d.forEach)(a,function(a){e+=a.getScore()}),Math.round(e/(9*a.length)*100)||0},c.prototype.addAssessment=function(a,e){return e.hasOwnProperty("identifier")||(e.identifier=a),this._assessments.push(e),!0},c.prototype.removeAssessment=function(a){var e=(0,d.findIndex)(this._assessments,function(e){return e.hasOwnProperty("identifier")&&a===e.identifier});-1!==e&&this._assessments.splice(e,1)},c.prototype.getAssessment=function(a){return(0,d.find)(this._assessments,function(e){return e.hasOwnProperty("identifier")&&a===e.identifier})},c.prototype.getApplicableAssessments=function(){var a=this.getAvailableAssessments();return(0,d.filter)(a,function(a){return this.isApplicable(a,this.getPaper())}.bind(this))},e.default=c},,,,,,,function(a,e,t){var i=t(11),n=t(3),o=t(13),r="[object String]";a.exports=function(a){return"string"==typeof a||!n(a)&&o(a)&&i(a)==r}},function(a,e,t){var i=t(331);a.exports=function(a){var e=i(a),t=e%1;return e==e?t?e-t:e:0}},function(a,e,t){var i=t(259),n=t(28);a.exports=function(a){return null==a?[]:i(a,n(a))}},function(a,e,t){var i=t(30);a.exports=function(a,e){return i(e,function(e){return a[e]})}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(a,e){a.exports=function(a){if(!a.webpackPolyfill){var e=Object.create(a);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return(0,i.default)(a).length};var i=function(a){return a&&a.__esModule?a:{default:a}}(t(155))},,function(a,e,t){"use strict";(function(a){var t="object"==typeof a&&a&&a.Object===Object&&a;e.a=t}).call(this,t(15))},function(a,e,t){"use strict";(function(a){var i=t(9),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=n&&"object"==typeof a&&a&&!a.nodeType&&a,r=o&&o.exports===n?i.a.Buffer:void 0,s=r?r.allocUnsafe:void 0;e.a=function(a,e){if(e)return a.slice();var t=a.length,i=s?s(t):new a.constructor(t);return a.copy(i),i}}).call(this,t(290)(a))},,,,,function(a,e,t){
|
11 |
+
/**
|
12 |
+
* @preserve jed.js https://github.com/SlexAxton/Jed
|
13 |
+
*/
|
14 |
+
!function(t,i){var n=Array.prototype,o=Object.prototype,r=n.slice,s=o.hasOwnProperty,d=n.forEach,l={},c={forEach:function(a,e,t){var i,n,o;if(null!==a)if(d&&a.forEach===d)a.forEach(e,t);else if(a.length===+a.length){for(i=0,n=a.length;i<n;i++)if(i in a&&e.call(t,a[i],i,a)===l)return}else for(o in a)if(s.call(a,o)&&e.call(t,a[o],o,a)===l)return},extend:function(a){return this.forEach(r.call(arguments,1),function(e){for(var t in e)a[t]=e[t]}),a}},u=function(a){if(this.defaults={locale_data:{messages:{"":{domain:"messages",lang:"en",plural_forms:"nplurals=2; plural=(n != 1);"}}},domain:"messages",debug:!1},this.options=c.extend({},this.defaults,a),this.textdomain(this.options.domain),a.domain&&!this.options.locale_data[this.options.domain])throw new Error("Text domain set to non-existent domain: `"+a.domain+"`")};function p(a){return u.PF.compile(a||"nplurals=2; plural=(n != 1);")}function z(a,e){this._key=a,this._i18n=e}u.context_delimiter=String.fromCharCode(4),c.extend(z.prototype,{onDomain:function(a){return this._domain=a,this},withContext:function(a){return this._context=a,this},ifPlural:function(a,e){return this._val=a,this._pkey=e,this},fetch:function(a){return"[object Array]"!={}.toString.call(a)&&(a=[].slice.call(arguments,0)),(a&&a.length?u.sprintf:function(a){return a})(this._i18n.dcnpgettext(this._domain,this._context,this._key,this._pkey,this._val),a)}}),c.extend(u.prototype,{translate:function(a){return new z(a,this)},textdomain:function(a){if(!a)return this._textdomain;this._textdomain=a},gettext:function(a){return this.dcnpgettext.call(this,void 0,void 0,a)},dgettext:function(a,e){return this.dcnpgettext.call(this,a,void 0,e)},dcgettext:function(a,e){return this.dcnpgettext.call(this,a,void 0,e)},ngettext:function(a,e,t){return this.dcnpgettext.call(this,void 0,void 0,a,e,t)},dngettext:function(a,e,t,i){return this.dcnpgettext.call(this,a,void 0,e,t,i)},dcngettext:function(a,e,t,i){return this.dcnpgettext.call(this,a,void 0,e,t,i)},pgettext:function(a,e){return this.dcnpgettext.call(this,void 0,a,e)},dpgettext:function(a,e,t){return this.dcnpgettext.call(this,a,e,t)},dcpgettext:function(a,e,t){return this.dcnpgettext.call(this,a,e,t)},npgettext:function(a,e,t,i){return this.dcnpgettext.call(this,void 0,a,e,t,i)},dnpgettext:function(a,e,t,i,n){return this.dcnpgettext.call(this,a,e,t,i,n)},dcnpgettext:function(a,e,t,i,n){var o;if(i=i||t,a=a||this._textdomain,!this.options)return(o=new u).dcnpgettext.call(o,void 0,void 0,t,i,n);if(!this.options.locale_data)throw new Error("No locale data provided.");if(!this.options.locale_data[a])throw new Error("Domain `"+a+"` was not found.");if(!this.options.locale_data[a][""])throw new Error("No locale meta information provided.");if(!t)throw new Error("No translation key found.");var r,s,d,l=e?e+u.context_delimiter+t:t,c=this.options.locale_data,z=c[a],g=(c.messages||this.defaults.locale_data.messages)[""],m=z[""].plural_forms||z[""]["Plural-Forms"]||z[""]["plural-forms"]||g.plural_forms||g["Plural-Forms"]||g["plural-forms"];if(void 0===n)d=0;else{if("number"!=typeof n&&(n=parseInt(n,10),isNaN(n)))throw new Error("The number that was passed in is not a number.");d=p(m)(n)}if(!z)throw new Error("No domain named `"+a+"` could be found.");return!(r=z[l])||d>r.length?(this.options.missing_key_callback&&this.options.missing_key_callback(l,a),s=[t,i],!0===this.options.debug&&console.log(s[p(m)(n)]),s[p()(n)]):(s=r[d])||(s=[t,i])[p()(n)]}});var g=function(){function a(a){return Object.prototype.toString.call(a).slice(8,-1).toLowerCase()}function e(a,e){for(var t=[];e>0;t[--e]=a);return t.join("")}var t=function(){return t.cache.hasOwnProperty(arguments[0])||(t.cache[arguments[0]]=t.parse(arguments[0])),t.format.call(null,t.cache[arguments[0]],arguments)};return t.format=function(t,i){var n,o,r,s,d,l,c,u=1,p=t.length,z="",m=[];for(o=0;o<p;o++)if("string"===(z=a(t[o])))m.push(t[o]);else if("array"===z){if((s=t[o])[2])for(n=i[u],r=0;r<s[2].length;r++){if(!n.hasOwnProperty(s[2][r]))throw g('[sprintf] property "%s" does not exist',s[2][r]);n=n[s[2][r]]}else n=s[1]?i[s[1]]:i[u++];if(/[^s]/.test(s[8])&&"number"!=a(n))throw g("[sprintf] expecting number but found %s",a(n));switch(void 0!==n&&null!==n||(n=""),s[8]){case"b":n=n.toString(2);break;case"c":n=String.fromCharCode(n);break;case"d":n=parseInt(n,10);break;case"e":n=s[7]?n.toExponential(s[7]):n.toExponential();break;case"f":n=s[7]?parseFloat(n).toFixed(s[7]):parseFloat(n);break;case"o":n=n.toString(8);break;case"s":n=(n=String(n))&&s[7]?n.substring(0,s[7]):n;break;case"u":n=Math.abs(n);break;case"x":n=n.toString(16);break;case"X":n=n.toString(16).toUpperCase()}n=/[def]/.test(s[8])&&s[3]&&n>=0?"+"+n:n,l=s[4]?"0"==s[4]?"0":s[4].charAt(1):" ",c=s[6]-String(n).length,d=s[6]?e(l,c):"",m.push(s[5]?n+d:d+n)}return m.join("")},t.cache={},t.parse=function(a){for(var e=a,t=[],i=[],n=0;e;){if(null!==(t=/^[^\x25]+/.exec(e)))i.push(t[0]);else if(null!==(t=/^\x25{2}/.exec(e)))i.push("%");else{if(null===(t=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(e)))throw"[sprintf] huh?";if(t[2]){n|=1;var o=[],r=t[2],s=[];if(null===(s=/^([a-z_][a-z_\d]*)/i.exec(r)))throw"[sprintf] huh?";for(o.push(s[1]);""!==(r=r.substring(s[0].length));)if(null!==(s=/^\.([a-z_][a-z_\d]*)/i.exec(r)))o.push(s[1]);else{if(null===(s=/^\[(\d+)\]/.exec(r)))throw"[sprintf] huh?";o.push(s[1])}t[2]=o}else n|=2;if(3===n)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";i.push(t)}e=e.substring(t[0].length)}return i},t}();u.parse_plural=function(a,e){return a=a.replace(/n/g,e),u.parse_expression(a)},u.sprintf=function(a,e){return"[object Array]"=={}.toString.call(e)?function(a,e){return e.unshift(a),g.apply(null,e)}(a,[].slice.call(e)):g.apply(this,[].slice.call(arguments))},u.prototype.sprintf=function(){return u.sprintf.apply(this,arguments)},u.PF={},u.PF.parse=function(a){var e=u.PF.extractPluralExpr(a);return u.PF.parser.parse.call(u.PF.parser,e)},u.PF.compile=function(a){var e=u.PF.parse(a);return function(a){return function(a){return!0===a?1:a||0}(u.PF.interpreter(e)(a))}},u.PF.interpreter=function(a){return function(e){switch(a.type){case"GROUP":return u.PF.interpreter(a.expr)(e);case"TERNARY":return u.PF.interpreter(a.expr)(e)?u.PF.interpreter(a.truthy)(e):u.PF.interpreter(a.falsey)(e);case"OR":return u.PF.interpreter(a.left)(e)||u.PF.interpreter(a.right)(e);case"AND":return u.PF.interpreter(a.left)(e)&&u.PF.interpreter(a.right)(e);case"LT":return u.PF.interpreter(a.left)(e)<u.PF.interpreter(a.right)(e);case"GT":return u.PF.interpreter(a.left)(e)>u.PF.interpreter(a.right)(e);case"LTE":return u.PF.interpreter(a.left)(e)<=u.PF.interpreter(a.right)(e);case"GTE":return u.PF.interpreter(a.left)(e)>=u.PF.interpreter(a.right)(e);case"EQ":return u.PF.interpreter(a.left)(e)==u.PF.interpreter(a.right)(e);case"NEQ":return u.PF.interpreter(a.left)(e)!=u.PF.interpreter(a.right)(e);case"MOD":return u.PF.interpreter(a.left)(e)%u.PF.interpreter(a.right)(e);case"VAR":return e;case"NUM":return a.val;default:throw new Error("Invalid Token found.")}}},u.PF.extractPluralExpr=function(a){a=a.replace(/^\s\s*/,"").replace(/\s\s*$/,""),/;\s*$/.test(a)||(a=a.concat(";"));var e,t=/nplurals\=(\d+);/,i=a.match(t);if(!(i.length>1))throw new Error("nplurals not found in plural_forms string: "+a);if(i[1],!((e=(a=a.replace(t,"")).match(/plural\=(.*);/))&&e.length>1))throw new Error("`plural` expression not found: "+a);return e[1]},u.PF.parser=function(){var a={trace:function(){},yy:{},symbols_:{error:2,expressions:3,e:4,EOF:5,"?":6,":":7,"||":8,"&&":9,"<":10,"<=":11,">":12,">=":13,"!=":14,"==":15,"%":16,"(":17,")":18,n:19,NUMBER:20,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",6:"?",7:":",8:"||",9:"&&",10:"<",11:"<=",12:">",13:">=",14:"!=",15:"==",16:"%",17:"(",18:")",19:"n",20:"NUMBER"},productions_:[0,[3,2],[4,5],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,1],[4,1]],performAction:function(a,e,t,i,n,o,r){var s=o.length-1;switch(n){case 1:return{type:"GROUP",expr:o[s-1]};case 2:this.$={type:"TERNARY",expr:o[s-4],truthy:o[s-2],falsey:o[s]};break;case 3:this.$={type:"OR",left:o[s-2],right:o[s]};break;case 4:this.$={type:"AND",left:o[s-2],right:o[s]};break;case 5:this.$={type:"LT",left:o[s-2],right:o[s]};break;case 6:this.$={type:"LTE",left:o[s-2],right:o[s]};break;case 7:this.$={type:"GT",left:o[s-2],right:o[s]};break;case 8:this.$={type:"GTE",left:o[s-2],right:o[s]};break;case 9:this.$={type:"NEQ",left:o[s-2],right:o[s]};break;case 10:this.$={type:"EQ",left:o[s-2],right:o[s]};break;case 11:this.$={type:"MOD",left:o[s-2],right:o[s]};break;case 12:this.$={type:"GROUP",expr:o[s-1]};break;case 13:this.$={type:"VAR"};break;case 14:this.$={type:"NUM",val:Number(a)}}},table:[{3:1,4:2,17:[1,3],19:[1,4],20:[1,5]},{1:[3]},{5:[1,6],6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{4:17,17:[1,3],19:[1,4],20:[1,5]},{5:[2,13],6:[2,13],7:[2,13],8:[2,13],9:[2,13],10:[2,13],11:[2,13],12:[2,13],13:[2,13],14:[2,13],15:[2,13],16:[2,13],18:[2,13]},{5:[2,14],6:[2,14],7:[2,14],8:[2,14],9:[2,14],10:[2,14],11:[2,14],12:[2,14],13:[2,14],14:[2,14],15:[2,14],16:[2,14],18:[2,14]},{1:[2,1]},{4:18,17:[1,3],19:[1,4],20:[1,5]},{4:19,17:[1,3],19:[1,4],20:[1,5]},{4:20,17:[1,3],19:[1,4],20:[1,5]},{4:21,17:[1,3],19:[1,4],20:[1,5]},{4:22,17:[1,3],19:[1,4],20:[1,5]},{4:23,17:[1,3],19:[1,4],20:[1,5]},{4:24,17:[1,3],19:[1,4],20:[1,5]},{4:25,17:[1,3],19:[1,4],20:[1,5]},{4:26,17:[1,3],19:[1,4],20:[1,5]},{4:27,17:[1,3],19:[1,4],20:[1,5]},{6:[1,7],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[1,28]},{6:[1,7],7:[1,29],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16]},{5:[2,3],6:[2,3],7:[2,3],8:[2,3],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,3]},{5:[2,4],6:[2,4],7:[2,4],8:[2,4],9:[2,4],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,4]},{5:[2,5],6:[2,5],7:[2,5],8:[2,5],9:[2,5],10:[2,5],11:[2,5],12:[2,5],13:[2,5],14:[2,5],15:[2,5],16:[1,16],18:[2,5]},{5:[2,6],6:[2,6],7:[2,6],8:[2,6],9:[2,6],10:[2,6],11:[2,6],12:[2,6],13:[2,6],14:[2,6],15:[2,6],16:[1,16],18:[2,6]},{5:[2,7],6:[2,7],7:[2,7],8:[2,7],9:[2,7],10:[2,7],11:[2,7],12:[2,7],13:[2,7],14:[2,7],15:[2,7],16:[1,16],18:[2,7]},{5:[2,8],6:[2,8],7:[2,8],8:[2,8],9:[2,8],10:[2,8],11:[2,8],12:[2,8],13:[2,8],14:[2,8],15:[2,8],16:[1,16],18:[2,8]},{5:[2,9],6:[2,9],7:[2,9],8:[2,9],9:[2,9],10:[2,9],11:[2,9],12:[2,9],13:[2,9],14:[2,9],15:[2,9],16:[1,16],18:[2,9]},{5:[2,10],6:[2,10],7:[2,10],8:[2,10],9:[2,10],10:[2,10],11:[2,10],12:[2,10],13:[2,10],14:[2,10],15:[2,10],16:[1,16],18:[2,10]},{5:[2,11],6:[2,11],7:[2,11],8:[2,11],9:[2,11],10:[2,11],11:[2,11],12:[2,11],13:[2,11],14:[2,11],15:[2,11],16:[2,11],18:[2,11]},{5:[2,12],6:[2,12],7:[2,12],8:[2,12],9:[2,12],10:[2,12],11:[2,12],12:[2,12],13:[2,12],14:[2,12],15:[2,12],16:[2,12],18:[2,12]},{4:30,17:[1,3],19:[1,4],20:[1,5]},{5:[2,2],6:[1,7],7:[2,2],8:[1,8],9:[1,9],10:[1,10],11:[1,11],12:[1,12],13:[1,13],14:[1,14],15:[1,15],16:[1,16],18:[2,2]}],defaultActions:{6:[2,1]},parseError:function(a,e){throw new Error(a)},parse:function(a){var e=this,t=[0],i=[null],n=[],o=this.table,r="",s=0,d=0,l=0;this.lexer.setInput(a),this.lexer.yy=this.yy,this.yy.lexer=this.lexer,void 0===this.lexer.yylloc&&(this.lexer.yylloc={});var c=this.lexer.yylloc;function u(a){t.length=t.length-2*a,i.length=i.length-a,n.length=n.length-a}function p(){var a;return"number"!=typeof(a=e.lexer.lex()||1)&&(a=e.symbols_[a]||a),a}n.push(c),"function"==typeof this.yy.parseError&&(this.parseError=this.yy.parseError);for(var z,g,m,w,y,f,b,h,v,k={};;){if(m=t[t.length-1],this.defaultActions[m]?w=this.defaultActions[m]:(null==z&&(z=p()),w=o[m]&&o[m][z]),void 0===w||!w.length||!w[0]){if(!l){for(f in v=[],o[m])this.terminals_[f]&&f>2&&v.push("'"+this.terminals_[f]+"'");var j="";j=this.lexer.showPosition?"Parse error on line "+(s+1)+":\n"+this.lexer.showPosition()+"\nExpecting "+v.join(", ")+", got '"+this.terminals_[z]+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==z?"end of input":"'"+(this.terminals_[z]||z)+"'"),this.parseError(j,{text:this.lexer.match,token:this.terminals_[z]||z,line:this.lexer.yylineno,loc:c,expected:v})}if(3==l){if(1==z)throw new Error(j||"Parsing halted.");d=this.lexer.yyleng,r=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,z=p()}for(;!(2..toString()in o[m]);){if(0==m)throw new Error(j||"Parsing halted.");u(1),m=t[t.length-1]}g=z,z=2,w=o[m=t[t.length-1]]&&o[m][2],l=3}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+m+", token: "+z);switch(w[0]){case 1:t.push(z),i.push(this.lexer.yytext),n.push(this.lexer.yylloc),t.push(w[1]),z=null,g?(z=g,g=null):(d=this.lexer.yyleng,r=this.lexer.yytext,s=this.lexer.yylineno,c=this.lexer.yylloc,l>0&&l--);break;case 2:if(b=this.productions_[w[1]][1],k.$=i[i.length-b],k._$={first_line:n[n.length-(b||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(b||1)].first_column,last_column:n[n.length-1].last_column},void 0!==(y=this.performAction.call(k,r,d,s,this.yy,w[1],i,n)))return y;b&&(t=t.slice(0,-1*b*2),i=i.slice(0,-1*b),n=n.slice(0,-1*b)),t.push(this.productions_[w[1]][0]),i.push(k.$),n.push(k._$),h=o[t[t.length-2]][t[t.length-1]],t.push(h);break;case 3:return!0}}return!0}},e=function(){var a={EOF:1,parseError:function(a,e){if(!this.yy.parseError)throw new Error(a);this.yy.parseError(a,e)},setInput:function(a){return this._input=a,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this},input:function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.match+=a,this.matched+=a,a.match(/\n/)&&this.yylineno++,this._input=this._input.slice(1),a},unput:function(a){return this._input=a+this._input,this},more:function(){return this._more=!0,this},pastInput:function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var a=this.pastInput(),e=new Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+e+"^"},next:function(){if(this.done)return this.EOF;var a,e;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t=this._currentRules(),i=0;i<t.length;i++)if(a=this._input.match(this.rules[t[i]]))return(e=a[0].match(/\n.*/g))&&(this.yylineno+=e.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:e?e[e.length-1].length-1:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],this.performAction.call(this,this.yy,this,t[i],this.conditionStack[this.conditionStack.length-1])||void 0;if(""===this._input)return this.EOF;this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var a=this.next();return void 0!==a?a:this.lex()},begin:function(a){this.conditionStack.push(a)},popState:function(){return this.conditionStack.pop()},_currentRules:function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},topState:function(){return this.conditionStack[this.conditionStack.length-2]},pushState:function(a){this.begin(a)},performAction:function(a,e,t,i){switch(t){case 0:break;case 1:return 20;case 2:return 19;case 3:return 8;case 4:return 9;case 5:return 6;case 6:return 7;case 7:return 11;case 8:return 13;case 9:return 10;case 10:return 12;case 11:return 14;case 12:return 15;case 13:return 16;case 14:return 17;case 15:return 18;case 16:return 5;case 17:return"INVALID"}},rules:[/^\s+/,/^[0-9]+(\.[0-9]+)?\b/,/^n\b/,/^\|\|/,/^&&/,/^\?/,/^:/,/^<=/,/^>=/,/^</,/^>/,/^!=/,/^==/,/^%/,/^\(/,/^\)/,/^$/,/^./],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],inclusive:!0}}};return a}();return a.lexer=e,a}(),void 0!==a&&a.exports&&(e=a.exports=u),e.Jed=u}()},,function(a,e){var t,i,n=a.exports={};function o(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function s(a){if(t===setTimeout)return setTimeout(a,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(a,0);try{return t(a,0)}catch(e){try{return t.call(null,a,0)}catch(e){return t.call(this,a,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(a){t=o}try{i="function"==typeof clearTimeout?clearTimeout:r}catch(a){i=r}}();var d,l=[],c=!1,u=-1;function p(){c&&d&&(c=!1,d.length?l=d.concat(l):u=-1,l.length&&z())}function z(){if(!c){var a=s(p);c=!0;for(var e=l.length;e;){for(d=l,l=[];++u<e;)d&&d[u].run();u=-1,e=l.length}d=null,c=!1,function(a){if(i===clearTimeout)return clearTimeout(a);if((i===r||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(a);try{i(a)}catch(e){try{return i.call(null,a)}catch(e){return i.call(this,a)}}}(a)}}function g(a,e){this.fun=a,this.array=e}function m(){}n.nextTick=function(a){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];l.push(new g(a,e)),1!==l.length||c||s(z)},g.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=m,n.addListener=m,n.once=m,n.off=m,n.removeListener=m,n.removeAllListeners=m,n.emit=m,n.prependListener=m,n.prependOnceListener=m,n.listeners=function(a){return[]},n.binding=function(a){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(a){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findTopicFormsInString=e.findWordFormsInString=void 0;var i=function(a){return a&&a.__esModule?a:{default:a}}(t(476)),n=t(2);var o=function(a,e,t){for(var o=a.length,r=Array(o),s=0;s<o;s++){var d=(0,i.default)(e,a[s],t).count>0;r[s]=d?1:0}var l=(0,n.sum)(r),c={countWordMatches:l,percentWordMatches:0};return o>0&&(c.percentWordMatches=Math.round(l/o*100)),c};e.findWordFormsInString=o,e.findTopicFormsInString=function(a,e,t,i){var r=o(a.keyphraseForms,e,i);if(r.keyphraseOrSynonym="keyphrase",100===r.percentWordMatches||!1===t||(0,n.isEmpty)(a.synonymsForms))return r;for(var s=[],d=0;d<a.synonymsForms.length;d++){var l=a.synonymsForms[d];s[d]=o(l,e,i)}var c=s.map(function(a){return a.percentWordMatches}),u=c.indexOf(Math.max.apply(Math,function(a){if(Array.isArray(a)){for(var e=0,t=Array(a.length);e<a.length;e++)t[e]=a[e];return t}return Array.from(a)}(c)));return r.percentWordMatches>=s[u].percentWordMatches?r:((r=s[u]).keyphraseOrSynonym="synonym",r)}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]&&arguments[3],d="("+(a=(0,i.map)(a,function(a){return s&&(a=(0,o.default)(a)),a=(0,r.default)(a),e?a:(0,n.default)(a,!0,t)})).join(")|(")+")";return new RegExp(d,"ig")};var i=t(2),n=s(t(363)),o=s(t(362)),r=s(t(507));function s(a){return a&&a.__esModule?a:{default:a}}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=t(2),n=t(1104),o={auxiliaries:[],type:"",language:""},r=function(a,e,t){this.setParticiple(a),this.setSentencePart(e),this._determinesSentencePartIsPassive=!1,t=t||{},(0,i.defaults)(t,o),function(a){(0,i.forEach)(a,function(a,e){var t=(0,n.getType)(o[e]);if(!1===(0,n.isSameType)(a,t))throw Error("Attribute "+e+" has invalid type. Expected "+t+", got "+(0,n.getType)(a)+".")})}(t),this._attributes=t};r.prototype.setParticiple=function(a){if(""===a)throw Error("The participle should not be empty.");if(!(0,i.isString)(a))throw Error("The participle should be a string.");this._participle=a},r.prototype.getParticiple=function(){return this._participle},r.prototype.setSentencePart=function(a){if(""===a)throw Error("The sentence part should not be empty.");this._sentencePart=a},r.prototype.getSentencePart=function(){return this._sentencePart},r.prototype.getType=function(){return this._attributes.type},r.prototype.getAuxiliaries=function(){return this._attributes.auxiliaries},r.prototype.getLanguage=function(){return this._attributes.language},r.prototype.determinesSentencePartIsPassive=function(){return this._determinesSentencePartIsPassive},r.prototype.setSentencePartPassiveness=function(a){if(!(0,n.isSameType)(a,"boolean"))throw Error("Passiveness had invalid type. Expected boolean, got "+(0,n.getType)(a)+".");this._determinesSentencePartIsPassive=a},r.prototype.serialize=function(){return{_parseClass:"Participle",attributes:this._attributes,participle:this._participle,sentencePart:this._sentencePart,determinesSentencePartIsPassive:this._determinesSentencePartIsPassive}},r.parse=function(a){var e=new r(a.participle,a.sentencePart,a.attributes);return e.setSentencePartPassiveness(a.determinesSentencePartIsPassive),e},e.default=r},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(a,e,t){this._sentencePartText=a,this._auxiliaries=e,this._locale=t,this._isPassive=!1};i.prototype.getSentencePartText=function(){return this._sentencePartText},i.prototype.isPassive=function(){return this._isPassive},i.prototype.getAuxiliaries=function(){return this._auxiliaries},i.prototype.getLocale=function(){return this._locale},i.prototype.setPassive=function(a){this._isPassive=a},i.prototype.serialize=function(){return{_parseClass:"SentencePart",sentencePartText:this._sentencePartText,auxiliaries:this._auxiliaries,locale:this._locale,isPassive:this._isPassive}},i.parse=function(a){var e=new i(a.sentencePartText,a.auxiliaries,a.locale);return e.setPassive(a.isPassive),e},e.default=i},,,,,,,,,,,,,,,,,,,,,,,,,,function(a,e,t){var i=t(201),n=1/0,o=1.7976931348623157e308;a.exports=function(a){return a?(a=i(a))===n||a===-n?(a<0?-1:1)*o:a==a?a:0:0===a?a:0}},,,,,,,,,,,,,,,,,,,,,,,,function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(a){return"<yoastmark class='yoast-text-mark'>"+a+"</yoastmark>"}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),n=t(2),o=d(t(78)),r=t(38),s=d(t(34));function d(a){return a&&a.__esModule?a:{default:a}}var l=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),i={scores:{onlyFunctionWords:0},urlTitle:(0,r.createAnchorOpeningTag)("https://yoa.st/functionwordskeyphrase-1"),urlCallToAction:(0,r.createAnchorOpeningTag)("https://yoa.st/functionwordskeyphrase-2")};return t.identifier="functionWordsInKeyphrase",t._config=(0,n.merge)(i,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),i(e,[{key:"getResult",value:function(a,e,t){this._functionWordsInKeyphrase=e.getResearch("functionWordsInKeyphrase"),this._keyword=(0,n.escape)(a.getKeyword());var i=new s.default;return this._functionWordsInKeyphrase&&(i.setScore(this._config.scores.onlyFunctionWords),i.setText(t.sprintf(t.dgettext("js-text-analysis",'%1$sFunction words in keyphrase%3$s: Your keyphrase "%4$s" contains function words only. %2$sLearn more about what makes a good keyphrase.%3$s'),this._config.urlTitle,this._config.urlCallToAction,"</a>",this._keyword))),i}},{key:"isApplicable",value:function(a){return a.hasKeyword()}}]),e}();e.default=l},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),n=t(2),o=d(t(78)),r=t(38),s=d(t(34));function d(a){return a&&a.__esModule?a:{default:a}}var l=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),i={scores:{good:9,okay:6,bad:3},urlTitle:(0,r.createAnchorOpeningTag)("https://yoa.st/33e"),urlCallToAction:(0,r.createAnchorOpeningTag)("https://yoa.st/33f")};return t.identifier="introductionKeyword",t._config=(0,n.merge)(i,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),i(e,[{key:"getResult",value:function(a,e,t){var i=new s.default;this._firstParagraphMatches=e.getResearch("firstParagraph");var n=this.calculateResult(t);return i.setScore(n.score),i.setText(n.resultText),i}},{key:"isApplicable",value:function(a){return a.hasKeyword()&&a.hasText()}},{key:"calculateResult",value:function(a){return this._firstParagraphMatches.foundInOneSentence?{score:this._config.scores.good,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in introduction%2$s: Well done!"),this._config.urlTitle,"</a>")}:this._firstParagraphMatches.foundInParagraph?{score:this._config.scores.okay,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in introduction%3$s:Your keyphrase or its synonyms appear in the first paragraph of the copy, but not within one sentence. %2$sFix that%3$s!"),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in introduction%3$s: Your keyphrase or its synonyms do not appear in the first paragraph. %2$sMake sure the topic is clear immediately%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),e}();e.default=l},function(a,e,t){"use strict";function i(a){return a.replace(/[‘’‛`]/g,"'")}function n(a){return a.replace(/[“”〝〞〟‟„]/g,'"')}function o(a){return n(i(a))}Object.defineProperty(e,"__esModule",{value:!0}),e.normalizeSingle=i,e.normalizeDouble=n,e.normalize=o,e.default={normalizeSingle:i,normalizeDouble:n,normalize:o}},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),n=t(2),o=c(t(78)),r=c(t(763)),s=c(t(104)),d=t(38),l=c(t(34));function c(a){return a&&a.__esModule?a:{default:a}}var u=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),i={parameters:{recommendedMinimum:1,recommendedMaximum:4,acceptableMaximum:8},parametersNoFunctionWordSupport:{recommendedMaximum:6,acceptableMaximum:9},scores:{veryBad:-999,bad:3,okay:6,good:9},urlTitle:(0,d.createAnchorOpeningTag)("https://yoa.st/33i"),urlCallToAction:(0,d.createAnchorOpeningTag)("https://yoa.st/33j"),isRelatedKeyphrase:!1};return t.identifier="keyphraseLength",t._config=(0,n.merge)(i,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),i(e,[{key:"getResult",value:function(a,e,t){this._keyphraseLength=e.getResearch("keyphraseLength");var i=new l.default;this._boundaries=this._config.parameters,!1===(0,r.default)().includes((0,s.default)(a.getLocale()))&&(this._boundaries=(0,n.merge)({},this._config.parameters,this._config.parametersNoFunctionWordSupport));var o=this.calculateResult(t);return(0,n.isUndefined)(o)||(i.setScore(o.score),i.setText(o.resultText)),i}},{key:"calculateResult",value:function(a){return this._keyphraseLength<this._boundaries.recommendedMinimum?this._config.isRelatedKeyphrase?{score:this._config.scores.veryBad,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.veryBad,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase length%3$s: No focus keyphrase was set for this page. %2$sSet a keyphrase in order to calculate your SEO score%3$s."),this._config.urlTitle,this._config.urlCallToAction,"</a>")}:(0,n.inRange)(this._keyphraseLength,this._boundaries.recommendedMinimum,this._boundaries.recommendedMaximum+1)?{score:this._config.scores.good,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase length%2$s: Good job!"),this._config.urlTitle,"</a>")}:(0,n.inRange)(this._keyphraseLength,this._boundaries.recommendedMaximum+1,this._boundaries.acceptableMaximum+1)?{score:this._config.scores.okay,resultText:a.sprintf(a.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's more than the recommended maximum of %2$d words. %4$sMake it shorter%5$s!"),this._keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>")}:{score:this._config.scores.bad,resultText:a.sprintf(a.dgettext("js-text-analysis","%3$sKeyphrase length%5$s: The keyphrase is %1$d words long. That's way more than the recommended maximum of %2$d words. %4$sMake it shorter%5$s!"),this._keyphraseLength,this._boundaries.recommendedMaximum,this._config.urlTitle,this._config.urlCallToAction,"</a>")}}}]),e}();e.default=u},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),n=t(2),o=z(t(993)),r=z(t(78)),s=z(t(104)),d=z(t(34)),l=t(242),c=t(38),u=z(t(776)),p=z(t(291));function z(a){return a&&a.__esModule?a:{default:a}}var g=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),i={parameters:{noWordForms:{overMaximum:4,maximum:3,minimum:.5},multipleWordForms:{overMaximum:4,maximum:3.5,minimum:.5}},scores:{wayOverMaximum:-50,overMaximum:-10,correctDensity:9,underMinimum:4},urlTitle:(0,c.createAnchorOpeningTag)("https://yoa.st/33v"),urlCallToAction:(0,c.createAnchorOpeningTag)("https://yoa.st/33w")};return t.identifier="keywordDensity",t._config=(0,n.merge)(i,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,r.default),i(e,[{key:"setBoundaries",value:function(a,e){this._hasMorphologicalForms?this._boundaries=this._config.parameters.multipleWordForms:this._boundaries=this._config.parameters.noWordForms,this._minRecommendedKeywordCount=(0,o.default)(a,e,this._boundaries.minimum,"min"),this._maxRecommendedKeywordCount=(0,o.default)(a,e,this._boundaries.maximum,"max")}},{key:"getResult",value:function(a,e,t){this._hasMorphologicalForms=!1!==e.getData("morphology")&&"en"===(0,s.default)(a.getLocale()),this._keywordCount=e.getResearch("keywordCount");var i=this._keywordCount.length;this.setBoundaries(a.getText(),i);var n=new d.default;this._keywordDensity=e.getResearch("getKeywordDensity"),this._keywordDensity=this._keywordDensity*(0,u.default)(i);var o=this.calculateResult(t);return n.setScore(o.score),n.setText(o.resultText),n.setHasMarks(this._keywordCount.count>0),n}},{key:"hasNoMatches",value:function(){return 0===this._keywordCount.count}},{key:"hasTooFewMatches",value:function(){return(0,l.inRangeStartInclusive)(this._keywordDensity,0,this._boundaries.minimum)||1===this._keywordCount.count}},{key:"hasGoodNumberOfMatches",value:function(){return(0,l.inRangeStartEndInclusive)(this._keywordDensity,this._boundaries.minimum,this._boundaries.maximum)||2===this._keywordCount.count&&this._minRecommendedKeywordCount<=2}},{key:"hasTooManyMatches",value:function(){return(0,l.inRangeEndInclusive)(this._keywordDensity,this._boundaries.maximum,this._boundaries.overMaximum)}},{key:"calculateResult",value:function(a){return this.hasNoMatches()?{score:this._config.scores.underMinimum,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found 0 times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!"),this._config.urlTitle,"</a>",this._minRecommendedKeywordCount,this._config.urlCallToAction)}:this.hasTooFewMatches()?{score:this._config.scores.underMinimum,resultText:a.sprintf(a.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's less than the recommended minimum of %3$d times for a text of this length. %4$sFocus on your keyphrase%2$s!",this._keywordCount.count),this._config.urlTitle,"</a>",this._minRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}:this.hasGoodNumberOfMatches()?{score:this._config.scores.correctDensity,resultText:a.sprintf(a.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %3$d time. This is great!","%1$sKeyphrase density%2$s: The focus keyphrase was found %3$d times. This is great!",this._keywordCount.count),this._config.urlTitle,"</a>",this._keywordCount.count)}:this.hasTooManyMatches()?{score:this._config.scores.overMaximum,resultText:a.sprintf(a.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!",this._keywordCount.count),this._config.urlTitle,"</a>",this._maxRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}:{score:this._config.scores.wayOverMaximum,resultText:a.sprintf(a.dngettext("js-text-analysis","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d time. That's way more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!","%1$sKeyphrase density%2$s: The focus keyphrase was found %5$d times. That's way more than the recommended maximum of %3$d times for a text of this length. %4$sDon't overoptimize%2$s!",this._keywordCount.count),this._config.urlTitle,"</a>",this._maxRecommendedKeywordCount,this._config.urlCallToAction,this._keywordCount.count)}}},{key:"getMarks",value:function(){return this._keywordCount.markings}},{key:"isApplicable",value:function(a){return a.hasText()&&a.hasKeyword()&&(0,p.default)(a.getText())>=100}}]),e}();e.default=g},function(a,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=function(){function a(a,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(a,i.key,i)}}return function(e,t,i){return t&&a(e.prototype,t),i&&a(e,i),e}}(),n=t(2),o=d(t(78)),r=t(38),s=d(t(34));function d(a){return a&&a.__esModule?a:{default:a}}var l=function(a){function e(){var a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(a,e){if(!(a instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(a,e){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?a:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this)),i={parameters:{recommendedMinimum:1},scores:{good:9,ok:6,bad:3},urlTitle:(0,r.createAnchorOpeningTag)("https://yoa.st/33k"),urlCallToAction:(0,r.createAnchorOpeningTag)("https://yoa.st/33l")};return t.identifier="metaDescriptionKeyword",t._config=(0,n.merge)(i,a),t}return function(a,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);a.prototype=Object.create(e&&e.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(a,e):a.__proto__=e)}(e,o.default),i(e,[{key:"getResult",value:function(a,e,t){this._keyphraseCounts=e.getResearch("metaDescriptionKeyword");var i=new s.default,n=this.calculateResult(t);return i.setScore(n.score),i.setText(n.resultText),i}},{key:"calculateResult",value:function(a){return 1===this._keyphraseCounts||2===this._keyphraseCounts?{score:this._config.scores.good,resultText:a.sprintf(a.dgettext("js-text-analysis","%1$sKeyphrase in meta description%2$s: Keyphrase or synonym appear in the meta description. Well done!"),this._config.urlTitle,"</a>")}:this._keyphraseCounts>=3?{score:this._config.scores.bad,resultText:a |