Version Description
This update adds major improvements and bugfixes.
Download this release
Release Info
Developer | arnaudbroes |
Plugin | All in One SEO Pack |
Version | 4.2.7.1 |
Comparing to | |
See all releases |
Code changes from version 4.2.6.1 to 4.2.7.1
- all_in_one_seo_pack.php +8 -6
- app/AIOSEO.php +13 -119
- app/AIOSEOAbstract.php +537 -0
- app/Common/Admin/Admin.php +7 -10
- app/Common/Admin/Dashboard.php +2 -2
- app/Common/Admin/Notices/Notices.php +37 -1
- app/Common/Admin/PostSettings.php +15 -7
- app/Common/Admin/Usage.php +1 -1
- app/Common/Api/Sitemaps.php +1 -1
- app/Common/Api/Wizard.php +2 -2
- app/Common/Breadcrumbs/Tags.php +4 -3
- app/Common/Breadcrumbs/Widget.php +9 -0
- app/Common/Core/Core.php +63 -0
- app/Common/ImportExport/ImportExport.php +31 -4
- app/Common/ImportExport/Importer.php +54 -0
- app/Common/ImportExport/RankMath/GeneralSettings.php +9 -0
- app/Common/ImportExport/RankMath/PostMeta.php +12 -4
- app/Common/ImportExport/RankMath/Sitemap.php +9 -0
- app/Common/ImportExport/RankMath/TitleMeta.php +9 -0
- app/Common/ImportExport/SeoPress/Analytics.php +9 -0
- app/Common/ImportExport/SeoPress/Breadcrumbs.php +9 -0
- app/Common/ImportExport/SeoPress/GeneralSettings.php +18 -0
- app/Common/ImportExport/SeoPress/PostMeta.php +14 -6
- app/Common/ImportExport/SeoPress/RobotsTxt.php +9 -0
- app/Common/ImportExport/SeoPress/Rss.php +9 -0
- app/Common/ImportExport/SeoPress/Sitemap.php +9 -0
- app/Common/ImportExport/SeoPress/SocialMeta.php +9 -0
- app/Common/ImportExport/SeoPress/Titles.php +9 -0
- app/Common/ImportExport/YoastSeo/GeneralSettings.php +9 -0
- app/Common/ImportExport/YoastSeo/PostMeta.php +10 -5
- app/Common/ImportExport/YoastSeo/SearchAppearance.php +9 -0
- app/Common/ImportExport/YoastSeo/SocialMeta.php +9 -0
- app/Common/ImportExport/YoastSeo/UserMeta.php +2 -2
- app/Common/ImportExport/YoastSeo/YoastSeo.php +19 -0
- app/Common/Main/Activate.php +0 -3
- app/Common/Main/GoogleAnalytics.php +3 -5
- app/Common/Main/Head.php +46 -1
- app/Common/Main/Main.php +2 -2
- app/Common/Main/QueryArgs.php +2 -0
- app/Common/Main/Updates.php +11 -12
- app/Common/Meta/Description.php +9 -0
- app/Common/Meta/Meta.php +48 -2
- app/Common/Meta/Title.php +9 -0
- app/Common/Migration/Helpers.php +2 -2
- app/Common/Migration/Meta.php +1 -1
- app/Common/Migration/Migration.php +20 -2
- app/Common/Models/Model.php +9 -0
- app/Common/Models/Post.php +41 -16
- app/Common/Options/InternalOptions.php +0 -1
- app/Common/Options/Options.php +17 -14
- app/Common/Schema/Context.php +9 -0
- app/Common/Schema/Graphs/Article/Article.php +1 -1
- app/Common/Schema/Graphs/WebSite.php +10 -7
- app/Common/Schema/Helpers.php +27 -0
- app/Common/Schema/Schema.php +12 -12
- app/Common/Sitemap/Content.php +0 -1
- app/Common/Sitemap/File.php +1 -1
- app/Common/Sitemap/Helpers.php +1 -0
- app/Common/Sitemap/Html/Frontend.php +17 -27
- app/Common/Sitemap/Html/Widget.php +10 -1
- app/Common/Sitemap/Image/Image.php +12 -3
- app/Common/Sitemap/Output.php +3 -3
- app/Common/Sitemap/Ping.php +2 -2
- app/Common/Sitemap/Sitemap.php +120 -7
- app/Common/Sitemap/Xsl.php +1 -1
- app/Common/Social/Social.php +38 -2
- app/Common/Standalone/DetailsColumn.php +1 -2
- app/Common/Standalone/PageBuilders/Base.php +1 -1
- app/Common/Standalone/Standalone.php +48 -2
- app/Common/ThirdParty/Cache/Cache.php +14 -2
- app/Common/ThirdParty/Cache/WpFastestCache.php +18 -0
- app/Common/ThirdParty/ThirdParty.php +9 -0
- app/Common/Tools/BadBotBlocker.php +1 -1
- app/Common/Tools/RobotsTxt.php +3 -2
- app/Common/Tools/SystemStatus.php +1 -1
- app/Common/Traits/Assets.php +44 -4
- app/Common/Traits/Helpers/ActionScheduler.php +0 -146
- app/Common/Traits/Helpers/Api.php +2 -2
- app/Common/Traits/Helpers/Deprecated.php +1 -1
- app/Common/Traits/Helpers/ThirdParty.php +5 -0
- app/Common/Traits/Helpers/Wp.php +31 -0
- app/Common/Traits/Options.php +2 -2
- app/Common/Utils/Access.php +9 -0
- app/Common/Utils/ActionScheduler.php +198 -27
- app/Common/Utils/Addons.php +3 -3
- app/Common/Utils/Cache.php +3 -0
- app/Common/Utils/CachePrune.php +3 -3
- app/Common/Utils/Database.php +26 -8
- app/Common/Utils/Filesystem.php +10 -22
- app/Common/Utils/Helpers.php +0 -1
- app/Common/Utils/Tags.php +3 -3
- app/Common/Utils/VueSettings.php +2 -2
- app/Common/Views/admin/posts/columns.php +1 -1
- app/Common/Views/sitemap/xsl/default.php +1 -2
- app/Lite/Admin/Admin.php +9 -0
- app/Lite/Admin/Connect.php +0 -3
- app/Lite/Admin/PostSettings.php +1 -1
- app/init/activation.php +1 -1
- app/init/notices.php +99 -102
- dist/Lite/assets/about.008dca32.js +1 -0
- dist/Lite/assets/about.5871ddbb.js +0 -1
- dist/Lite/assets/{app.54718bc6.js → app.8f5e64b3.js} +0 -0
- dist/Lite/assets/blocks.2589e73e.js +79 -0
- dist/Lite/assets/blocks.5faa8d60.js +0 -79
- dist/Lite/assets/connect-pro.1f1d8c2d.js +0 -1
- dist/Lite/assets/connect-pro.41782a1e.js +1 -0
- dist/Lite/assets/connect.6de8dd6b.js +0 -1
- dist/Lite/assets/connect.e2d23c13.js +1 -0
- dist/Lite/assets/css/{WebmasterTools.277e82d1.css → WebmasterTools.17917145.css} +1 -1
- dist/Lite/assets/css/{main.5cb17c3b.css → main.74df67e9.css} +1 -1
- dist/Lite/assets/{dashboard-widgets.b6ab3f21.js → dashboard-widgets.569cad54.js} +1 -1
- dist/Lite/assets/dashboard.c54aaa5c.js +1 -0
- dist/Lite/assets/dashboard.edfe494a.js +0 -1
- dist/Lite/assets/{divi-admin.b3a26afe.js → divi-admin.d3a63fa3.js} +1 -1
- dist/Lite/assets/{divi.658131a0.js → divi.cc920561.js} +1 -1
- dist/Lite/assets/{elementor.d0d75e99.js → elementor.b93a47e5.js} +1 -1
- dist/Lite/assets/feature-manager.8859109b.js +1 -0
- dist/Lite/assets/feature-manager.ead67360.js +0 -1
- dist/Lite/assets/{flyout-menu.a5854133.js → flyout-menu.db7b21d1.js} +1 -1
- dist/Lite/assets/{headline-analyzer.df6e8e57.js → headline-analyzer.aac77645.js} +1 -1
- dist/Lite/assets/js/{AboutUs.afae07f2.js → AboutUs.25d9d7a8.js} +1 -1
- dist/Lite/assets/js/{AccessControl.9286ccdf.js → AccessControl.10fc4b30.js} +1 -1
- dist/Lite/assets/js/{AddPlus.a5cc22bc.js → AddPlus.f0d14d8e.js} +0 -0
- dist/Lite/assets/js/{AdditionalInformation.a1d3d08b.js → AdditionalInformation.6bba4153.js} +1 -1
- dist/Lite/assets/js/{AdditionalPages.42337985.js → AdditionalPages.b4edbaac.js} +2 -2
- dist/Lite/assets/js/Advanced.07fe14ae.js +1 -0
- dist/Lite/assets/js/Advanced.50775c74.js +0 -1
- dist/Lite/assets/js/{Advanced.8b41615f.js → Advanced.891a4241.js} +1 -1
- dist/Lite/assets/js/AnalyzeCompetitorSite.11cb56fe.js +0 -1
- dist/Lite/assets/js/AnalyzeCompetitorSite.21f831b5.js +1 -0
- dist/Lite/assets/js/{AnimatedDannie.be0eaedf.js → AnimatedDannie.32d2caa3.js} +0 -0
- dist/Lite/assets/js/{AnimatedNumber.fb66de3f.js → AnimatedNumber.1915b2fc.js} +0 -0
- dist/Lite/assets/js/{App.e67f11b2.js → App.6ca02334.js} +0 -1
all_in_one_seo_pack.php
CHANGED
@@ -2,10 +2,10 @@
|
|
2 |
/**
|
3 |
* Plugin Name: All in One SEO
|
4 |
* Plugin URI: https://aioseo.com/
|
5 |
-
* Description: SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs, business sites, ecommerce sites, and much more. More than
|
6 |
* Author: All in One SEO Team
|
7 |
* Author URI: https://aioseo.com/
|
8 |
-
* Version: 4.2.
|
9 |
* Text Domain: all-in-one-seo-pack
|
10 |
* Domain Path: /languages
|
11 |
*
|
@@ -38,15 +38,15 @@ if ( ! defined( 'AIOSEO_PHP_VERSION_DIR' ) ) {
|
|
38 |
define( 'AIOSEO_PHP_VERSION_DIR', basename( dirname( __FILE__ ) ) );
|
39 |
}
|
40 |
|
41 |
-
require_once
|
42 |
|
43 |
// Check if this plugin should be disabled.
|
44 |
if ( aioseoPluginIsDisabled() ) {
|
45 |
return;
|
46 |
}
|
47 |
|
48 |
-
require_once
|
49 |
-
require_once
|
50 |
|
51 |
// We require PHP 5.4+ for the whole plugin to work.
|
52 |
if ( version_compare( PHP_VERSION, '5.6', '<' ) ) {
|
@@ -89,6 +89,8 @@ if ( version_compare( PHP_VERSION, '7.0', '<' ) ) {
|
|
89 |
}
|
90 |
|
91 |
// Define the class and the function.
|
92 |
-
|
|
|
|
|
93 |
|
94 |
aioseo();
|
2 |
/**
|
3 |
* Plugin Name: All in One SEO
|
4 |
* Plugin URI: https://aioseo.com/
|
5 |
+
* Description: SEO for WordPress. Features like XML Sitemaps, SEO for custom post types, SEO for blogs, business sites, ecommerce sites, and much more. More than 100 million downloads since 2007.
|
6 |
* Author: All in One SEO Team
|
7 |
* Author URI: https://aioseo.com/
|
8 |
+
* Version: 4.2.7.1
|
9 |
* Text Domain: all-in-one-seo-pack
|
10 |
* Domain Path: /languages
|
11 |
*
|
38 |
define( 'AIOSEO_PHP_VERSION_DIR', basename( dirname( __FILE__ ) ) );
|
39 |
}
|
40 |
|
41 |
+
require_once dirname( __FILE__ ) . '/app/init/init.php';
|
42 |
|
43 |
// Check if this plugin should be disabled.
|
44 |
if ( aioseoPluginIsDisabled() ) {
|
45 |
return;
|
46 |
}
|
47 |
|
48 |
+
require_once dirname( __FILE__ ) . '/app/init/notices.php';
|
49 |
+
require_once dirname( __FILE__ ) . '/app/init/activation.php';
|
50 |
|
51 |
// We require PHP 5.4+ for the whole plugin to work.
|
52 |
if ( version_compare( PHP_VERSION, '5.6', '<' ) ) {
|
89 |
}
|
90 |
|
91 |
// Define the class and the function.
|
92 |
+
// The AIOSEOAbstract class is required here because it can't be autoloaded.
|
93 |
+
require_once dirname( __FILE__ ) . '/app/AIOSEOAbstract.php';
|
94 |
+
require_once dirname( __FILE__ ) . '/app/AIOSEO.php';
|
95 |
|
96 |
aioseo();
|
app/AIOSEO.php
CHANGED
@@ -7,10 +7,12 @@ namespace AIOSEO\Plugin {
|
|
7 |
|
8 |
/**
|
9 |
* Main AIOSEO class.
|
|
|
10 |
*
|
11 |
* @since 4.0.0
|
12 |
*/
|
13 |
-
final class AIOSEO {
|
|
|
14 |
/**
|
15 |
* Holds the instance of the plugin currently in use.
|
16 |
*
|
@@ -48,96 +50,6 @@ namespace AIOSEO\Plugin {
|
|
48 |
*/
|
49 |
public $versionPath = 'Lite';
|
50 |
|
51 |
-
/**
|
52 |
-
* The AIOSEO options.
|
53 |
-
*
|
54 |
-
* @since 4.0.0
|
55 |
-
*
|
56 |
-
* @var array
|
57 |
-
*/
|
58 |
-
public $options = [];
|
59 |
-
|
60 |
-
/**
|
61 |
-
* The AIOSEO dynamic options.
|
62 |
-
*
|
63 |
-
* @since 4.1.4
|
64 |
-
*
|
65 |
-
* @var DynamicOptions
|
66 |
-
*/
|
67 |
-
public $dynamicOptions = [];
|
68 |
-
|
69 |
-
/**
|
70 |
-
* The WordPress filters to run.
|
71 |
-
*
|
72 |
-
* @since 4.0.0
|
73 |
-
*
|
74 |
-
* @var Filters
|
75 |
-
*/
|
76 |
-
private $filters = null;
|
77 |
-
|
78 |
-
/**
|
79 |
-
* For usage tracking when enabled.
|
80 |
-
*
|
81 |
-
* @since 4.0.0
|
82 |
-
*
|
83 |
-
* @var Filters
|
84 |
-
*/
|
85 |
-
private $usage = null;
|
86 |
-
|
87 |
-
/**
|
88 |
-
* For WP site health.
|
89 |
-
*
|
90 |
-
* @since 4.0.0
|
91 |
-
*
|
92 |
-
* @var Filters
|
93 |
-
*/
|
94 |
-
private $siteHealth = null;
|
95 |
-
|
96 |
-
/**
|
97 |
-
* For auto updates.
|
98 |
-
*
|
99 |
-
* @since 4.0.0
|
100 |
-
*
|
101 |
-
* @var Filters
|
102 |
-
*/
|
103 |
-
private $autoUpdates = null;
|
104 |
-
|
105 |
-
/**
|
106 |
-
* Holds our addon helper and loaded addons.
|
107 |
-
*
|
108 |
-
* @since 4.0.17
|
109 |
-
*
|
110 |
-
* @var object
|
111 |
-
*/
|
112 |
-
public $addons;
|
113 |
-
|
114 |
-
/**
|
115 |
-
* Holds our template helper.
|
116 |
-
*
|
117 |
-
* @since 4.0.17
|
118 |
-
*
|
119 |
-
* @var Common\Utils\Templates
|
120 |
-
*/
|
121 |
-
public $templates;
|
122 |
-
|
123 |
-
/**
|
124 |
-
* Holds our cache helper.
|
125 |
-
*
|
126 |
-
* @since 4.1.5
|
127 |
-
*
|
128 |
-
* @var Common\Utils\Cache
|
129 |
-
*/
|
130 |
-
public $cache;
|
131 |
-
|
132 |
-
/**
|
133 |
-
* Holds our cache prune.
|
134 |
-
*
|
135 |
-
* @since 4.1.6
|
136 |
-
*
|
137 |
-
* @var Common\Utils\CachePrune
|
138 |
-
*/
|
139 |
-
public $cachePrune;
|
140 |
-
|
141 |
/**
|
142 |
* Whether we're in a dev environment.
|
143 |
*
|
@@ -228,20 +140,23 @@ namespace AIOSEO\Plugin {
|
|
228 |
*/
|
229 |
private function includes() {
|
230 |
$dependencies = [
|
231 |
-
'/vendor/autoload.php',
|
232 |
-
'/vendor/woocommerce/action-scheduler/action-scheduler.php'
|
|
|
|
|
233 |
];
|
234 |
|
235 |
-
foreach ( $dependencies as $path ) {
|
236 |
if ( ! file_exists( AIOSEO_DIR . $path ) ) {
|
237 |
// Something is not right.
|
238 |
status_header( 500 );
|
239 |
wp_die( esc_html__( 'Plugin is missing required dependencies. Please contact support for more information.', 'all-in-one-seo-pack' ) );
|
240 |
}
|
241 |
-
require AIOSEO_DIR . $path;
|
242 |
-
}
|
243 |
|
244 |
-
|
|
|
|
|
|
|
245 |
|
246 |
$this->loadVersion();
|
247 |
}
|
@@ -284,28 +199,6 @@ namespace AIOSEO\Plugin {
|
|
284 |
}
|
285 |
}
|
286 |
|
287 |
-
/**
|
288 |
-
* Ensure our action scheduler tables are always set.
|
289 |
-
*
|
290 |
-
* @since 4.0.0
|
291 |
-
*
|
292 |
-
* @return void
|
293 |
-
*/
|
294 |
-
public function actionScheduler() {
|
295 |
-
// Only need to run this check in the admin.
|
296 |
-
if ( ! is_admin() ) {
|
297 |
-
return;
|
298 |
-
}
|
299 |
-
|
300 |
-
if ( class_exists( 'ActionScheduler' ) && class_exists( 'ActionScheduler_ListTable' ) ) {
|
301 |
-
new Common\Utils\ActionScheduler(
|
302 |
-
\ActionScheduler::store(),
|
303 |
-
\ActionScheduler::logger(),
|
304 |
-
\ActionScheduler::runner()
|
305 |
-
);
|
306 |
-
}
|
307 |
-
}
|
308 |
-
|
309 |
/**
|
310 |
* Runs before we load the plugin.
|
311 |
*
|
@@ -419,6 +312,7 @@ namespace AIOSEO\Plugin {
|
|
419 |
$this->standalone = new Common\Standalone\Standalone();
|
420 |
$this->slugMonitor = new Common\Admin\SlugMonitor();
|
421 |
$this->schema = $this->pro ? new Pro\Schema\Schema() : new Common\Schema\Schema();
|
|
|
422 |
|
423 |
if ( ! wp_doing_ajax() && ! wp_doing_cron() ) {
|
424 |
$this->rss = new Common\Rss();
|
7 |
|
8 |
/**
|
9 |
* Main AIOSEO class.
|
10 |
+
* We extend the abstract class as that one holds all the class properties.
|
11 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
+
final class AIOSEO extends \AIOSEOAbstract {
|
15 |
+
|
16 |
/**
|
17 |
* Holds the instance of the plugin currently in use.
|
18 |
*
|
50 |
*/
|
51 |
public $versionPath = 'Lite';
|
52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
/**
|
54 |
* Whether we're in a dev environment.
|
55 |
*
|
140 |
*/
|
141 |
private function includes() {
|
142 |
$dependencies = [
|
143 |
+
'/vendor/autoload.php' => true,
|
144 |
+
'/vendor/woocommerce/action-scheduler/action-scheduler.php' => true,
|
145 |
+
'/vendor/jwhennessey/phpinsight/autoload.php' => false,
|
146 |
+
'/vendor_prefixed/monolog/monolog/src/Monolog/Logger.php' => false
|
147 |
];
|
148 |
|
149 |
+
foreach ( $dependencies as $path => $shouldRequire ) {
|
150 |
if ( ! file_exists( AIOSEO_DIR . $path ) ) {
|
151 |
// Something is not right.
|
152 |
status_header( 500 );
|
153 |
wp_die( esc_html__( 'Plugin is missing required dependencies. Please contact support for more information.', 'all-in-one-seo-pack' ) );
|
154 |
}
|
|
|
|
|
155 |
|
156 |
+
if ( $shouldRequire ) {
|
157 |
+
require AIOSEO_DIR . $path;
|
158 |
+
}
|
159 |
+
}
|
160 |
|
161 |
$this->loadVersion();
|
162 |
}
|
199 |
}
|
200 |
}
|
201 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
202 |
/**
|
203 |
* Runs before we load the plugin.
|
204 |
*
|
312 |
$this->standalone = new Common\Standalone\Standalone();
|
313 |
$this->slugMonitor = new Common\Admin\SlugMonitor();
|
314 |
$this->schema = $this->pro ? new Pro\Schema\Schema() : new Common\Schema\Schema();
|
315 |
+
$this->actionScheduler = new Common\Utils\ActionScheduler();
|
316 |
|
317 |
if ( ! wp_doing_ajax() && ! wp_doing_cron() ) {
|
318 |
$this->rss = new Common\Rss();
|
app/AIOSEOAbstract.php
ADDED
@@ -0,0 +1,537 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
// Exit if accessed directly.
|
3 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
4 |
+
exit;
|
5 |
+
}
|
6 |
+
|
7 |
+
/**
|
8 |
+
* Abstract class holding the class properties of our main AIOSEO class.
|
9 |
+
*
|
10 |
+
* @since 4.2.7
|
11 |
+
*/
|
12 |
+
abstract class AIOSEOAbstract {
|
13 |
+
/**
|
14 |
+
* Core class instance.
|
15 |
+
*
|
16 |
+
* @since 4.2.7
|
17 |
+
*
|
18 |
+
* @var \AIOSEO\Plugin\Common\Core\Core
|
19 |
+
*/
|
20 |
+
public $core = null;
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Helpers class instance.
|
24 |
+
*
|
25 |
+
* @since 4.2.7
|
26 |
+
*
|
27 |
+
* @var Object
|
28 |
+
*/
|
29 |
+
public $helpers = null;
|
30 |
+
|
31 |
+
/**
|
32 |
+
* InternalNetworkOptions class instance.
|
33 |
+
*
|
34 |
+
* @since 4.2.7
|
35 |
+
*
|
36 |
+
* @var \AIOSEO\Plugin\Common\Options\InternalNetworkOptions|\AIOSEO\Plugin\Pro\Options\InternalNetworkOptions
|
37 |
+
*/
|
38 |
+
public $internalNetworkOptions = null;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* InternalOptions class instance.
|
42 |
+
*
|
43 |
+
* @since 4.2.7
|
44 |
+
*
|
45 |
+
* @var \AIOSEO\Plugin\Lite\Options\InternalOptions|\AIOSEO\Plugin\Pro\Options\InternalOptions
|
46 |
+
*/
|
47 |
+
public $internalOptions = null;
|
48 |
+
|
49 |
+
/**
|
50 |
+
* PreUpdates class instance.
|
51 |
+
*
|
52 |
+
* @since 4.2.7
|
53 |
+
*
|
54 |
+
* @var \AIOSEO\Plugin\Common\Main\PreUpdates|\AIOSEO\Plugin\Pro\Main\PreUpdates
|
55 |
+
*/
|
56 |
+
public $preUpdates = null;
|
57 |
+
|
58 |
+
/**
|
59 |
+
* Db class instance.
|
60 |
+
* This prop is set for backwards compatibility.
|
61 |
+
*
|
62 |
+
* @since 4.2.7
|
63 |
+
*
|
64 |
+
* @var \AIOSEO\Plugin\Common\Core\Db
|
65 |
+
*/
|
66 |
+
public $db = null;
|
67 |
+
|
68 |
+
/**
|
69 |
+
* Transients class instance.
|
70 |
+
* This prop is set for backwards compatibility.
|
71 |
+
*
|
72 |
+
* @since 4.2.7
|
73 |
+
*
|
74 |
+
* @var \AIOSEO\Plugin\Common\Core\Cache
|
75 |
+
*/
|
76 |
+
public $transients = null;
|
77 |
+
|
78 |
+
/**
|
79 |
+
* OptionsCache class instance.
|
80 |
+
* This prop is set for backwards compatibility.
|
81 |
+
*
|
82 |
+
* @since 4.2.7
|
83 |
+
*
|
84 |
+
* @var \AIOSEO\Plugin\Common\Options\Cache
|
85 |
+
*/
|
86 |
+
public $optionsCache = null;
|
87 |
+
|
88 |
+
/**
|
89 |
+
* PostSettings class instance.
|
90 |
+
*
|
91 |
+
* @since 4.2.7
|
92 |
+
*
|
93 |
+
* @var \AIOSEO\Plugin\Lite\Admin\PostSettings|\AIOSEO\Plugin\Pro\Admin\PostSettings
|
94 |
+
*/
|
95 |
+
public $postSettings = null;
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Standalone class instance.
|
99 |
+
*
|
100 |
+
* @since 4.2.7
|
101 |
+
*
|
102 |
+
* @var \AIOSEO\Plugin\Lite\Admin\PostSettings|\AIOSEO\Plugin\Pro\Admin\PostSettings
|
103 |
+
*/
|
104 |
+
public $standalone = null;
|
105 |
+
|
106 |
+
/**
|
107 |
+
* ThirdParty class instance.
|
108 |
+
*
|
109 |
+
* @since 4.2.7
|
110 |
+
*
|
111 |
+
* @var \AIOSEO\Plugin\Common\ThirdParty\ThirdParty
|
112 |
+
*/
|
113 |
+
public $thirdParty = null;
|
114 |
+
|
115 |
+
/**
|
116 |
+
* Tags class instance.
|
117 |
+
*
|
118 |
+
* @since 4.2.7
|
119 |
+
*
|
120 |
+
* @var \AIOSEO\Plugin\Common\Utils\Addons|\AIOSEO\Plugin\Pro\Utils\Addons
|
121 |
+
*/
|
122 |
+
public $tags = null;
|
123 |
+
|
124 |
+
/**
|
125 |
+
* Addons class instance.
|
126 |
+
*
|
127 |
+
* @since 4.2.7
|
128 |
+
*
|
129 |
+
* @var \AIOSEO\Plugin\Common\Utils\Blocks
|
130 |
+
*/
|
131 |
+
public $blocks = null;
|
132 |
+
|
133 |
+
/**
|
134 |
+
* BadBotBlocker class instance.
|
135 |
+
*
|
136 |
+
* @since 4.2.7
|
137 |
+
*
|
138 |
+
* @var \AIOSEO\Plugin\Common\Tools\BadBotBlocker
|
139 |
+
*/
|
140 |
+
public $badBotBlocker = null;
|
141 |
+
|
142 |
+
/**
|
143 |
+
* Breadcrumbs class instance.
|
144 |
+
*
|
145 |
+
* @since 4.2.7
|
146 |
+
*
|
147 |
+
* @var \AIOSEO\Plugin\Common\Breadcrumbs\Breadcrumbs|\AIOSEO\Plugin\Pro\Breadcrumbs\Breadcrumbs
|
148 |
+
*/
|
149 |
+
public $breadcrumbs = null;
|
150 |
+
|
151 |
+
/**
|
152 |
+
* DynamicBackup class instance.
|
153 |
+
*
|
154 |
+
* @since 4.2.7
|
155 |
+
*
|
156 |
+
* @var \AIOSEO\Plugin\Common\Options\DynamicBackup|\AIOSEO\Plugin\Pro\Options\DynamicBackup
|
157 |
+
*/
|
158 |
+
public $dynamicBackup = null;
|
159 |
+
|
160 |
+
/**
|
161 |
+
* NetworkOptions class instance.
|
162 |
+
*
|
163 |
+
* @since 4.2.7
|
164 |
+
*
|
165 |
+
* @var \AIOSEO\Plugin\Common\Options\NetworkOptions|\AIOSEO\Plugin\Pro\Options\NetworkOptions
|
166 |
+
*/
|
167 |
+
public $networkOptions = null;
|
168 |
+
|
169 |
+
/**
|
170 |
+
* Backup class instance.
|
171 |
+
*
|
172 |
+
* @since 4.2.7
|
173 |
+
*
|
174 |
+
* @var \AIOSEO\Plugin\Common\Utils\Backup
|
175 |
+
*/
|
176 |
+
public $backup = null;
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Access class instance.
|
180 |
+
*
|
181 |
+
* @since 4.2.7
|
182 |
+
*
|
183 |
+
* @var \AIOSEO\Plugin\Common\Utils\Access|\AIOSEO\Plugin\Pro\Utils\Access
|
184 |
+
*/
|
185 |
+
public $access = null;
|
186 |
+
|
187 |
+
/**
|
188 |
+
* NetworkLicense class instance.
|
189 |
+
*
|
190 |
+
* @since 4.2.7
|
191 |
+
*
|
192 |
+
* @var null|\AIOSEO\Plugin\Pro\Admin\NetworkLicense
|
193 |
+
*/
|
194 |
+
public $networkLicense = null;
|
195 |
+
|
196 |
+
/**
|
197 |
+
* License class instance.
|
198 |
+
*
|
199 |
+
* @since 4.2.7
|
200 |
+
*
|
201 |
+
* @var null|\AIOSEO\Plugin\Pro\Admin\License
|
202 |
+
*/
|
203 |
+
public $license = null;
|
204 |
+
|
205 |
+
/**
|
206 |
+
* Updates class isntance.
|
207 |
+
*
|
208 |
+
* @since 4.2.7
|
209 |
+
*
|
210 |
+
* @var \AIOSEO\Plugin\Common\Main\Updates|\AIOSEO\Plugin\Pro\Main\Updates
|
211 |
+
*/
|
212 |
+
public $updates = null;
|
213 |
+
|
214 |
+
/**
|
215 |
+
* Meta class instance.
|
216 |
+
*
|
217 |
+
* @since 4.2.7
|
218 |
+
*
|
219 |
+
* @var \AIOSEO\Plugin\Common\Meta\Meta|\AIOSEO\Plugin\Pro\Meta\Meta
|
220 |
+
*/
|
221 |
+
public $meta = null;
|
222 |
+
|
223 |
+
/**
|
224 |
+
* Social class instance.
|
225 |
+
*
|
226 |
+
* @since 4.2.7
|
227 |
+
*
|
228 |
+
* @var \AIOSEO\Plugin\Common\Social\Social|\AIOSEO\Plugin\Pro\Social\Social
|
229 |
+
*/
|
230 |
+
public $social = null;
|
231 |
+
|
232 |
+
/**
|
233 |
+
* RobotsTxt class instance.
|
234 |
+
*
|
235 |
+
* @since 4.2.7
|
236 |
+
*
|
237 |
+
* @var \AIOSEO\Plugin\Common\Tools\RobotsTxt
|
238 |
+
*/
|
239 |
+
public $robotsTxt = null;
|
240 |
+
|
241 |
+
/**
|
242 |
+
* Htaccess class instance.
|
243 |
+
*
|
244 |
+
* @since 4.2.7
|
245 |
+
*
|
246 |
+
* @var \AIOSEO\Plugin\Common\Tools\Htaccess
|
247 |
+
*/
|
248 |
+
public $htaccess = null;
|
249 |
+
|
250 |
+
/**
|
251 |
+
* Term class instance.
|
252 |
+
*
|
253 |
+
* @since 4.2.7
|
254 |
+
*
|
255 |
+
* @var null|\AIOSEO\Plugin\Pro\Admin\Term
|
256 |
+
*/
|
257 |
+
public $term = null;
|
258 |
+
|
259 |
+
/**
|
260 |
+
* Notices class instance.
|
261 |
+
*
|
262 |
+
* @since 4.2.7
|
263 |
+
*
|
264 |
+
* @var \AIOSEO\Plugin\Lite\Admin\Notices\Notices|\AIOSEO\Plugin\Pro\Admin\Notices\Notices
|
265 |
+
*/
|
266 |
+
public $notices = null;
|
267 |
+
|
268 |
+
/**
|
269 |
+
* WpNotices class instance.
|
270 |
+
*
|
271 |
+
* @since 4.2.7
|
272 |
+
*
|
273 |
+
* @var \AIOSEO\Plugin\Common\Admin\Notices\WpNotices
|
274 |
+
*/
|
275 |
+
public $wpNotices = null;
|
276 |
+
|
277 |
+
/**
|
278 |
+
* Admin class instance.
|
279 |
+
*
|
280 |
+
* @since 4.2.7
|
281 |
+
*
|
282 |
+
* @var \AIOSEO\Plugin\Lite\Admin\Admin|\AIOSEO\Plugin\Pro\Admin\Admin
|
283 |
+
*/
|
284 |
+
public $admin = null;
|
285 |
+
|
286 |
+
/**
|
287 |
+
* NetworkAdmin class instance.
|
288 |
+
*
|
289 |
+
* @since 4.2.7
|
290 |
+
*
|
291 |
+
* @var \AIOSEO\Plugin\Common\Admin\NetworkAdmin|\AIOSEO\Plugin\Pro\Admin\NetworkAdmin
|
292 |
+
*/
|
293 |
+
public $networkAdmin = null;
|
294 |
+
|
295 |
+
/**
|
296 |
+
* Activate class instance.
|
297 |
+
*
|
298 |
+
* @since 4.2.7
|
299 |
+
*
|
300 |
+
* @var \AIOSEO\Plugin\Common\Main|Activate|\AIOSEO\Plugin\Pro\Main\Activate
|
301 |
+
*/
|
302 |
+
public $activate = null;
|
303 |
+
|
304 |
+
/**
|
305 |
+
* ConflictingPlugins class instance.
|
306 |
+
*
|
307 |
+
* @since 4.2.7
|
308 |
+
*
|
309 |
+
* @var \AIOSEO\Plugin\Common\Admin\ConflictingPlugins|\AIOSEO\Plugin\Pro\Admin\ConflictingPlugins
|
310 |
+
*/
|
311 |
+
public $conflictingPlugins = null;
|
312 |
+
|
313 |
+
/**
|
314 |
+
* Migration class instance.
|
315 |
+
*
|
316 |
+
* @since 4.2.7
|
317 |
+
*
|
318 |
+
* @var \AIOSEO\Plugin\Common\Migration\Migration|\AIOSEO\Plugin\Pro\Migration\Migration
|
319 |
+
*/
|
320 |
+
public $migration = null;
|
321 |
+
|
322 |
+
/**
|
323 |
+
* ImportExport class instance.
|
324 |
+
*
|
325 |
+
* @since 4.2.7
|
326 |
+
*
|
327 |
+
* @var \AIOSEO\Plugin\Common\ImportExport\ImportExport
|
328 |
+
*/
|
329 |
+
public $importExport = null;
|
330 |
+
|
331 |
+
/**
|
332 |
+
* Sitemap class instance.
|
333 |
+
*
|
334 |
+
* @since 4.2.7
|
335 |
+
*
|
336 |
+
* @var \AIOSEO\Plugin\Common\Sitemap\Sitemap|\AIOSEO\Plugin\Pro\Sitemap\Sitemap
|
337 |
+
*/
|
338 |
+
public $sitemap = null;
|
339 |
+
|
340 |
+
/**
|
341 |
+
* HtmlSitemap class instance.
|
342 |
+
*
|
343 |
+
* @since 4.2.7
|
344 |
+
*
|
345 |
+
* @var \AIOSEO\Plugin\Common\Sitemap\Html\Sitemap
|
346 |
+
*/
|
347 |
+
public $htmlSitemap = null;
|
348 |
+
|
349 |
+
/**
|
350 |
+
* CategoryBase class instance.
|
351 |
+
*
|
352 |
+
* @since 4.2.7
|
353 |
+
*
|
354 |
+
* @var null|\AIOSEO\Plugin\Pro\Main\CategoryBase
|
355 |
+
*/
|
356 |
+
public $categoryBase = null;
|
357 |
+
|
358 |
+
/**
|
359 |
+
* SlugMonitor class instance.
|
360 |
+
*
|
361 |
+
* @since 4.2.7
|
362 |
+
*
|
363 |
+
* @var \AIOSEO\Plugin\Common\Admin\SlugMonitor
|
364 |
+
*/
|
365 |
+
public $slugMonitor = null;
|
366 |
+
|
367 |
+
/**
|
368 |
+
* Schema class instance.
|
369 |
+
*
|
370 |
+
* @since 4.2.7
|
371 |
+
*
|
372 |
+
* @var \AIOSEO\Plugin\Common\Schema\Schema|\AIOSEO\Plugin\Pro\Schema\Schema
|
373 |
+
*/
|
374 |
+
public $schema = null;
|
375 |
+
|
376 |
+
/**
|
377 |
+
* Rss class instance.
|
378 |
+
*
|
379 |
+
* @since 4.2.7
|
380 |
+
*
|
381 |
+
* @var \AIOSEO\Plugin\Common\Rss
|
382 |
+
*/
|
383 |
+
public $rss = null;
|
384 |
+
|
385 |
+
/**
|
386 |
+
* Main class instance.
|
387 |
+
*
|
388 |
+
* @since 4.2.7
|
389 |
+
*
|
390 |
+
* @var \AIOSEO\Plugin\Common\Main\Main|\AIOSEO\Plugin\Pro\Main\Main
|
391 |
+
*/
|
392 |
+
public $main = null;
|
393 |
+
|
394 |
+
/**
|
395 |
+
* Head class instance.
|
396 |
+
*
|
397 |
+
* @since 4.2.7
|
398 |
+
*
|
399 |
+
* @var \AIOSEO\Plugin\Common\Main\Head|\AIOSEO\Plugin\Pro\Main\Head
|
400 |
+
*/
|
401 |
+
public $head = null;
|
402 |
+
|
403 |
+
/**
|
404 |
+
* Dashboard class instance.
|
405 |
+
*
|
406 |
+
* @since 4.2.7
|
407 |
+
*
|
408 |
+
* @var \AIOSEO\Plugin\Common\Admin\Dashboard|\AIOSEO\Plugin\Pro\Admin\Dashboard
|
409 |
+
*/
|
410 |
+
public $dashboard = null;
|
411 |
+
|
412 |
+
/**
|
413 |
+
* API class instance.
|
414 |
+
*
|
415 |
+
* @since 4.2.7
|
416 |
+
*
|
417 |
+
* @var \AIOSEO\Plugin\Lite\Api\Api|\AIOSEO\Plugin\Pro\Api\Api
|
418 |
+
*/
|
419 |
+
public $api = null;
|
420 |
+
|
421 |
+
/**
|
422 |
+
* Help class instance.
|
423 |
+
*
|
424 |
+
* @since 4.2.7
|
425 |
+
*
|
426 |
+
* @var \AIOSEO\Plugin\Common\Help\Help
|
427 |
+
*/
|
428 |
+
public $help = null;
|
429 |
+
|
430 |
+
/**
|
431 |
+
* Settings class instance.
|
432 |
+
*
|
433 |
+
* @since 4.2.7
|
434 |
+
*
|
435 |
+
* @var \AIOSEO\Plugin\Common\Utils\VueSettings
|
436 |
+
*/
|
437 |
+
public $settings = null;
|
438 |
+
|
439 |
+
/**
|
440 |
+
* Cache class instance.
|
441 |
+
*
|
442 |
+
* @since 4.2.7
|
443 |
+
*
|
444 |
+
* @var \AIOSEO\Plugin\Common\Core\Cache
|
445 |
+
*/
|
446 |
+
public $cache = null;
|
447 |
+
|
448 |
+
/**
|
449 |
+
* CachePrune class instance.
|
450 |
+
*
|
451 |
+
* @since 4.2.7
|
452 |
+
*
|
453 |
+
* @var \AIOSEO\Plugin\Common\Core\CachePrune
|
454 |
+
*/
|
455 |
+
public $cachePrune = null;
|
456 |
+
|
457 |
+
/**
|
458 |
+
* Addons class instance.
|
459 |
+
*
|
460 |
+
* @since 4.2.7
|
461 |
+
*
|
462 |
+
* @var \AIOSEO\Plugin\Common\Utils\Addons|\AIOSEO\Plugin\Pro\Utils\Addons
|
463 |
+
*/
|
464 |
+
public $addons = null;
|
465 |
+
|
466 |
+
/**
|
467 |
+
* Options class instance.
|
468 |
+
*
|
469 |
+
* @since 4.2.7
|
470 |
+
*
|
471 |
+
* @var \AIOSEO\Plugin\Lite\Options\Options|\AIOSEO\Plugin\Pro\Options\Options
|
472 |
+
*/
|
473 |
+
public $options = null;
|
474 |
+
|
475 |
+
/**
|
476 |
+
* DynamicOptions class instance.
|
477 |
+
*
|
478 |
+
* @since 4.2.7
|
479 |
+
*
|
480 |
+
* @var \AIOSEO\Plugin\Common\Options\DynamicOptions|\AIOSEO\Plugin\Pro\Options\DynamicOptions
|
481 |
+
*/
|
482 |
+
public $dynamicOptions = null;
|
483 |
+
|
484 |
+
/**
|
485 |
+
* Usage class instance.
|
486 |
+
*
|
487 |
+
* @since 4.2.7
|
488 |
+
*
|
489 |
+
* @var \AIOSEO\Plugin\Lite\Admin\Usage|\Admin\Plugin\Pro\Admin\Usage
|
490 |
+
*/
|
491 |
+
public $usage = null;
|
492 |
+
|
493 |
+
/**
|
494 |
+
* SiteHealth class instance.
|
495 |
+
*
|
496 |
+
* @since 4.2.7
|
497 |
+
*
|
498 |
+
* @var \AIOSEO\Plugin\Common\Admin\SiteHealth|\AIOSEO\Plugin\Pro\Admin\SiteHealth
|
499 |
+
*/
|
500 |
+
public $siteHealth = null;
|
501 |
+
|
502 |
+
/**
|
503 |
+
* AutoUpdates class instance.
|
504 |
+
*
|
505 |
+
* @since 4.2.7
|
506 |
+
*
|
507 |
+
* @var null|\AIOSEO\Plugin\Admin\AutoUpdates
|
508 |
+
*/
|
509 |
+
public $autoUpdates = null;
|
510 |
+
|
511 |
+
/**
|
512 |
+
* Templates class instance.
|
513 |
+
*
|
514 |
+
* @since 4.2.7
|
515 |
+
*
|
516 |
+
* @var \AIOSEO\Plugin\Common\Utils\Templates|\AIOSEO\Plugin\Pro\Utils\Templates
|
517 |
+
*/
|
518 |
+
public $templates = null;
|
519 |
+
|
520 |
+
/**
|
521 |
+
* Filters class instance.
|
522 |
+
*
|
523 |
+
* @since 4.2.7
|
524 |
+
*
|
525 |
+
* @var \AIOSEO\Plugin\Lite\Main\Filters|\AIOSEO\Plugin\Pro\Main\Filters
|
526 |
+
*/
|
527 |
+
public $filters = null;
|
528 |
+
|
529 |
+
/**
|
530 |
+
* ActionScheduler class instance.
|
531 |
+
*
|
532 |
+
* @since 4.2.7
|
533 |
+
*
|
534 |
+
* @var \AIOSEO\Plugin\Common\Utils\ActionScheduler
|
535 |
+
*/
|
536 |
+
public $actionScheduler = null;
|
537 |
+
}
|
app/Common/Admin/Admin.php
CHANGED
@@ -701,7 +701,6 @@ class Admin {
|
|
701 |
return;
|
702 |
}
|
703 |
}
|
704 |
-
|
705 |
}
|
706 |
|
707 |
/**
|
@@ -999,7 +998,7 @@ class Admin {
|
|
999 |
*/
|
1000 |
public function scheduleUnescapeData() {
|
1001 |
aioseo()->core->cache->update( 'unslash_escaped_data_posts', time(), WEEK_IN_SECONDS );
|
1002 |
-
aioseo()->
|
1003 |
}
|
1004 |
|
1005 |
/**
|
@@ -1027,7 +1026,7 @@ class Admin {
|
|
1027 |
return;
|
1028 |
}
|
1029 |
|
1030 |
-
aioseo()->
|
1031 |
|
1032 |
foreach ( $posts as $post ) {
|
1033 |
$aioseoPost = Models\Post::getPost( $post->post_id );
|
@@ -1135,13 +1134,11 @@ class Admin {
|
|
1135 |
$post->ID
|
1136 |
);
|
1137 |
|
1138 |
-
|
1139 |
-
$
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
];
|
1144 |
-
}
|
1145 |
}
|
1146 |
|
1147 |
if ( empty( $posts ) ) {
|
701 |
return;
|
702 |
}
|
703 |
}
|
|
|
704 |
}
|
705 |
|
706 |
/**
|
998 |
*/
|
999 |
public function scheduleUnescapeData() {
|
1000 |
aioseo()->core->cache->update( 'unslash_escaped_data_posts', time(), WEEK_IN_SECONDS );
|
1001 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_unslash_escaped_data_posts', 120 );
|
1002 |
}
|
1003 |
|
1004 |
/**
|
1026 |
return;
|
1027 |
}
|
1028 |
|
1029 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_unslash_escaped_data_posts', 120, [], true );
|
1030 |
|
1031 |
foreach ( $posts as $post ) {
|
1032 |
$aioseoPost = Models\Post::getPost( $post->post_id );
|
1134 |
$post->ID
|
1135 |
);
|
1136 |
|
1137 |
+
$posts[] = [
|
1138 |
+
'url' => str_replace( '__trashed', '', get_permalink( $post ) ),
|
1139 |
+
'target' => '/',
|
1140 |
+
'type' => 301
|
1141 |
+
];
|
|
|
|
|
1142 |
}
|
1143 |
|
1144 |
if ( empty( $posts ) ) {
|
app/Common/Admin/Dashboard.php
CHANGED
@@ -120,7 +120,7 @@ class Dashboard {
|
|
120 |
echo '<div id="' . esc_attr( $appId ) . '">';
|
121 |
|
122 |
// Loader element.
|
123 |
-
require
|
124 |
|
125 |
// Closing tag.
|
126 |
echo '</div>';
|
@@ -145,7 +145,7 @@ class Dashboard {
|
|
145 |
* @return array The RSS posts.
|
146 |
*/
|
147 |
public function getAioseoRssFeed() {
|
148 |
-
include_once
|
149 |
|
150 |
$rssItems = aioseo()->core->networkCache->get( 'rss_feed' );
|
151 |
if ( null === $rssItems ) {
|
120 |
echo '<div id="' . esc_attr( $appId ) . '">';
|
121 |
|
122 |
// Loader element.
|
123 |
+
require AIOSEO_DIR . '/app/Common/Views/parts/loader.php';
|
124 |
|
125 |
// Closing tag.
|
126 |
echo '</div>';
|
145 |
* @return array The RSS posts.
|
146 |
*/
|
147 |
public function getAioseoRssFeed() {
|
148 |
+
include_once ABSPATH . WPINC . '/feed.php';
|
149 |
|
150 |
$rssItems = aioseo()->core->networkCache->get( 'rss_feed' );
|
151 |
if ( null === $rssItems ) {
|
app/Common/Admin/Notices/Notices.php
CHANGED
@@ -23,6 +23,42 @@ class Notices {
|
|
23 |
*/
|
24 |
private $url = 'https://plugin-cdn.aioseo.com/wp-content/notifications.json';
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Class Constructor.
|
28 |
*
|
@@ -78,7 +114,7 @@ class Notices {
|
|
78 |
}
|
79 |
|
80 |
// Schedule the action.
|
81 |
-
aioseo()->
|
82 |
|
83 |
// Update the cache.
|
84 |
aioseo()->core->networkCache->update( 'admin_notifications_update', time() + DAY_IN_SECONDS );
|
23 |
*/
|
24 |
private $url = 'https://plugin-cdn.aioseo.com/wp-content/notifications.json';
|
25 |
|
26 |
+
/**
|
27 |
+
* Review class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var Review
|
32 |
+
*/
|
33 |
+
private $review = null;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Migration class instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var Migration
|
41 |
+
*/
|
42 |
+
private $migration = null;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Import class instance.
|
46 |
+
*
|
47 |
+
* @since 4.2.7
|
48 |
+
*
|
49 |
+
* @var Import
|
50 |
+
*/
|
51 |
+
private $import = null;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* DeprecatedWordPress class instance.
|
55 |
+
*
|
56 |
+
* @since 4.2.7
|
57 |
+
*
|
58 |
+
* @var DeprecatedWordPress
|
59 |
+
*/
|
60 |
+
private $deprecatedWordPress = null;
|
61 |
+
|
62 |
/**
|
63 |
* Class Constructor.
|
64 |
*
|
114 |
}
|
115 |
|
116 |
// Schedule the action.
|
117 |
+
aioseo()->actionScheduler->scheduleAsync( 'aioseo_admin_notifications_update' );
|
118 |
|
119 |
// Update the cache.
|
120 |
aioseo()->core->networkCache->update( 'admin_notifications_update', time() + DAY_IN_SECONDS );
|
app/Common/Admin/PostSettings.php
CHANGED
@@ -22,6 +22,15 @@ class PostSettings {
|
|
22 |
* @return void
|
23 |
*/
|
24 |
public function __construct() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
if ( wp_doing_ajax() || wp_doing_cron() || ! is_admin() ) {
|
26 |
return;
|
27 |
}
|
@@ -40,11 +49,6 @@ class PostSettings {
|
|
40 |
add_action( 'edit_attachment', [ $this, 'saveSettingsMetabox' ] );
|
41 |
add_action( 'add_attachment', [ $this, 'saveSettingsMetabox' ] );
|
42 |
|
43 |
-
// Clear the Post Type Overview cache.
|
44 |
-
add_action( 'save_post', [ $this, 'clearPostTypeOverviewCache' ], 100 );
|
45 |
-
add_action( 'delete_post', [ $this, 'clearPostTypeOverviewCache' ], 100 );
|
46 |
-
add_action( 'wp_trash_post', [ $this, 'clearPostTypeOverviewCache' ], 100 );
|
47 |
-
|
48 |
// Filter the sql clauses to show posts filtered by our params.
|
49 |
add_filter( 'posts_clauses', [ $this, 'changeClausesToFilterPosts' ], 10, 2 );
|
50 |
}
|
@@ -172,10 +176,13 @@ class PostSettings {
|
|
172 |
* @return void
|
173 |
*/
|
174 |
public function postSettingsHiddenField() {
|
175 |
-
|
|
|
176 |
return;
|
177 |
}
|
178 |
-
|
|
|
|
|
179 |
?>
|
180 |
<div id="aioseo-post-settings-field">
|
181 |
<input type="hidden" name="aioseo-post-settings" id="aioseo-post-settings" value=""/>
|
@@ -344,6 +351,7 @@ class PostSettings {
|
|
344 |
return $clauses;
|
345 |
}
|
346 |
|
|
|
347 |
$noKeyphrasesClause = " (aioseo_p.keyphrases = '' OR aioseo_p.keyphrases IS NULL OR aioseo_p.keyphrases LIKE '{\"focus\":[]%') ";
|
348 |
switch ( $filter ) {
|
349 |
case 'withoutFocusKeyphrase':
|
22 |
* @return void
|
23 |
*/
|
24 |
public function __construct() {
|
25 |
+
if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
|
26 |
+
return;
|
27 |
+
}
|
28 |
+
|
29 |
+
// Clear the Post Type Overview cache.
|
30 |
+
add_action( 'save_post', [ $this, 'clearPostTypeOverviewCache' ], 100 );
|
31 |
+
add_action( 'delete_post', [ $this, 'clearPostTypeOverviewCache' ], 100 );
|
32 |
+
add_action( 'wp_trash_post', [ $this, 'clearPostTypeOverviewCache' ], 100 );
|
33 |
+
|
34 |
if ( wp_doing_ajax() || wp_doing_cron() || ! is_admin() ) {
|
35 |
return;
|
36 |
}
|
49 |
add_action( 'edit_attachment', [ $this, 'saveSettingsMetabox' ] );
|
50 |
add_action( 'add_attachment', [ $this, 'saveSettingsMetabox' ] );
|
51 |
|
|
|
|
|
|
|
|
|
|
|
52 |
// Filter the sql clauses to show posts filtered by our params.
|
53 |
add_filter( 'posts_clauses', [ $this, 'changeClausesToFilterPosts' ], 10, 2 );
|
54 |
}
|
176 |
* @return void
|
177 |
*/
|
178 |
public function postSettingsHiddenField() {
|
179 |
+
static $fieldExists = false;
|
180 |
+
if ( $fieldExists ) {
|
181 |
return;
|
182 |
}
|
183 |
+
|
184 |
+
$fieldExists = true;
|
185 |
+
|
186 |
?>
|
187 |
<div id="aioseo-post-settings-field">
|
188 |
<input type="hidden" name="aioseo-post-settings" id="aioseo-post-settings" value=""/>
|
351 |
return $clauses;
|
352 |
}
|
353 |
|
354 |
+
$whereClause = '';
|
355 |
$noKeyphrasesClause = " (aioseo_p.keyphrases = '' OR aioseo_p.keyphrases IS NULL OR aioseo_p.keyphrases LIKE '{\"focus\":[]%') ";
|
356 |
switch ( $filter ) {
|
357 |
case 'withoutFocusKeyphrase':
|
app/Common/Admin/Usage.php
CHANGED
@@ -59,7 +59,7 @@ abstract class Usage {
|
|
59 |
try {
|
60 |
$action = 'aioseo_send_usage_data';
|
61 |
if ( ! $this->enabled ) {
|
62 |
-
aioseo()->
|
63 |
|
64 |
return;
|
65 |
}
|
59 |
try {
|
60 |
$action = 'aioseo_send_usage_data';
|
61 |
if ( ! $this->enabled ) {
|
62 |
+
aioseo()->actionScheduler->unschedule( $action );
|
63 |
|
64 |
return;
|
65 |
}
|
app/Common/Api/Sitemaps.php
CHANGED
@@ -22,7 +22,7 @@ class Sitemaps {
|
|
22 |
* @return \WP_REST_Response The response.
|
23 |
*/
|
24 |
public static function deleteStaticFiles() {
|
25 |
-
require_once
|
26 |
$files = list_files( get_home_path(), 1 );
|
27 |
if ( ! count( $files ) ) {
|
28 |
return;
|
22 |
* @return \WP_REST_Response The response.
|
23 |
*/
|
24 |
public static function deleteStaticFiles() {
|
25 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
26 |
$files = list_files( get_home_path(), 1 );
|
27 |
if ( ! count( $files ) ) {
|
28 |
return;
|
app/Common/Api/Wizard.php
CHANGED
@@ -229,12 +229,12 @@ class Wizard {
|
|
229 |
|
230 |
// Save the features section.
|
231 |
if ( 'features' === $section && ! empty( $wizard['features'] ) ) {
|
232 |
-
$features
|
|
|
233 |
|
234 |
// Install MI.
|
235 |
if ( in_array( 'analytics', $features, true ) ) {
|
236 |
$cantInstall = false;
|
237 |
-
$pluginData = aioseo()->helpers->getPluginData();
|
238 |
if ( ! $pluginData['miPro']['activated'] && ! $pluginData['miLite']['activated'] ) {
|
239 |
if ( $pluginData['miPro']['installed'] ) {
|
240 |
aioseo()->addons->installAddon( 'miPro', $network );
|
229 |
|
230 |
// Save the features section.
|
231 |
if ( 'features' === $section && ! empty( $wizard['features'] ) ) {
|
232 |
+
$features = $wizard['features'];
|
233 |
+
$pluginData = aioseo()->helpers->getPluginData();
|
234 |
|
235 |
// Install MI.
|
236 |
if ( in_array( 'analytics', $features, true ) ) {
|
237 |
$cantInstall = false;
|
|
|
238 |
if ( ! $pluginData['miPro']['activated'] && ! $pluginData['miLite']['activated'] ) {
|
239 |
if ( $pluginData['miPro']['installed'] ) {
|
240 |
aioseo()->addons->installAddon( 'miPro', $network );
|
app/Common/Breadcrumbs/Tags.php
CHANGED
@@ -71,6 +71,7 @@ class Tags {
|
|
71 |
* @return string The value of the tag.
|
72 |
*/
|
73 |
public function getTagValue( $tag, $item ) {
|
|
|
74 |
if ( 0 === stripos( $tag['id'], 'breadcrumb_wc_product_' ) ) {
|
75 |
$product = wc_get_product( $item['reference'] );
|
76 |
if ( ! $product ) {
|
@@ -84,11 +85,11 @@ class Tags {
|
|
84 |
case 'breadcrumb_separator':
|
85 |
return aioseo()->breadcrumbs->frontend->getSeparator();
|
86 |
case 'breadcrumb_wc_product_price':
|
87 |
-
return wc_price( $product->get_price() );
|
88 |
case 'breadcrumb_wc_product_sku':
|
89 |
-
return $product->get_sku();
|
90 |
case 'breadcrumb_wc_product_brand':
|
91 |
-
return aioseo()->helpers->getWooCommerceBrand( $product->get_id() );
|
92 |
case 'breadcrumb_author_first_name':
|
93 |
return $item['reference']->first_name;
|
94 |
case 'breadcrumb_author_last_name':
|
71 |
* @return string The value of the tag.
|
72 |
*/
|
73 |
public function getTagValue( $tag, $item ) {
|
74 |
+
$product = false;
|
75 |
if ( 0 === stripos( $tag['id'], 'breadcrumb_wc_product_' ) ) {
|
76 |
$product = wc_get_product( $item['reference'] );
|
77 |
if ( ! $product ) {
|
85 |
case 'breadcrumb_separator':
|
86 |
return aioseo()->breadcrumbs->frontend->getSeparator();
|
87 |
case 'breadcrumb_wc_product_price':
|
88 |
+
return $product ? wc_price( $product->get_price() ) : '';
|
89 |
case 'breadcrumb_wc_product_sku':
|
90 |
+
return $product ? $product->get_sku() : '';
|
91 |
case 'breadcrumb_wc_product_brand':
|
92 |
+
return $product ? aioseo()->helpers->getWooCommerceBrand( $product->get_id() ) : '';
|
93 |
case 'breadcrumb_author_first_name':
|
94 |
return $item['reference']->first_name;
|
95 |
case 'breadcrumb_author_last_name':
|
app/Common/Breadcrumbs/Widget.php
CHANGED
@@ -12,6 +12,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.1.1
|
13 |
*/
|
14 |
class Widget extends \WP_Widget {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class constructor.
|
17 |
*
|
12 |
* @since 4.1.1
|
13 |
*/
|
14 |
class Widget extends \WP_Widget {
|
15 |
+
/**
|
16 |
+
* The default attributes.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @var array
|
21 |
+
*/
|
22 |
+
private $defaults = [];
|
23 |
+
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
app/Common/Core/Core.php
CHANGED
@@ -35,6 +35,69 @@ class Core {
|
|
35 |
'aioseo_links_suggestions'
|
36 |
];
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
/**
|
39 |
* Class constructor.
|
40 |
*
|
35 |
'aioseo_links_suggestions'
|
36 |
];
|
37 |
|
38 |
+
/**
|
39 |
+
* Filesystem class instance.
|
40 |
+
*
|
41 |
+
* @since 4.2.7
|
42 |
+
*
|
43 |
+
* @var Utils\Filesystem
|
44 |
+
*/
|
45 |
+
public $fs = null;
|
46 |
+
|
47 |
+
/**
|
48 |
+
* Filesystem class instance.
|
49 |
+
*
|
50 |
+
* @since 4.2.7
|
51 |
+
*
|
52 |
+
* @var Utils\Filesystem
|
53 |
+
*/
|
54 |
+
public $assets = null;
|
55 |
+
|
56 |
+
/**
|
57 |
+
* Assets class instance.
|
58 |
+
*
|
59 |
+
* @since 4.2.7
|
60 |
+
*
|
61 |
+
* @var Utils\Database
|
62 |
+
*/
|
63 |
+
public $db = null;
|
64 |
+
|
65 |
+
/**
|
66 |
+
* Cache class instance.
|
67 |
+
*
|
68 |
+
* @since 4.2.7
|
69 |
+
*
|
70 |
+
* @var Utils\Cache
|
71 |
+
*/
|
72 |
+
public $cache = null;
|
73 |
+
|
74 |
+
/**
|
75 |
+
* NetworkCache class instance.
|
76 |
+
*
|
77 |
+
* @since 4.2.7
|
78 |
+
*
|
79 |
+
* @var Utils\NetworkCache
|
80 |
+
*/
|
81 |
+
public $networkCache = null;
|
82 |
+
|
83 |
+
/**
|
84 |
+
* CachePrune class instance.
|
85 |
+
*
|
86 |
+
* @since 4.2.7
|
87 |
+
*
|
88 |
+
* @var Utils\CachePrune
|
89 |
+
*/
|
90 |
+
public $cachePrune = null;
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Cache class instance.
|
94 |
+
*
|
95 |
+
* @since 4.2.7
|
96 |
+
*
|
97 |
+
* @var Options\Cache
|
98 |
+
*/
|
99 |
+
public $optionsCache = null;
|
100 |
+
|
101 |
/**
|
102 |
* Class constructor.
|
103 |
*
|
app/Common/ImportExport/ImportExport.php
CHANGED
@@ -15,7 +15,7 @@ use AIOSEO\Plugin\Common\Models;
|
|
15 |
*/
|
16 |
class ImportExport {
|
17 |
/**
|
18 |
-
*
|
19 |
*
|
20 |
* @since 4.0.0
|
21 |
*
|
@@ -23,6 +23,33 @@ class ImportExport {
|
|
23 |
*/
|
24 |
private $plugins = [];
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
@@ -153,7 +180,7 @@ class ImportExport {
|
|
153 |
$excludedPosts = [];
|
154 |
$sitemapExcludedPosts = [];
|
155 |
|
156 |
-
require_once
|
157 |
foreach ( $postData as $post => $values ) {
|
158 |
$postId = \post_exists( $values['post_title'], '', $values['post_date'] );
|
159 |
if ( ! $postId ) {
|
@@ -321,8 +348,8 @@ class ImportExport {
|
|
321 |
*/
|
322 |
private function cancelScans() {
|
323 |
// Figure out how to check if these addons are enabled and then get the action names that way.
|
324 |
-
aioseo()->
|
325 |
-
aioseo()->
|
326 |
}
|
327 |
|
328 |
/**
|
15 |
*/
|
16 |
class ImportExport {
|
17 |
/**
|
18 |
+
* List of plugins for importing.
|
19 |
*
|
20 |
* @since 4.0.0
|
21 |
*
|
23 |
*/
|
24 |
private $plugins = [];
|
25 |
|
26 |
+
/**
|
27 |
+
* YoastSeo class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var YoastSeo\YoastSeo
|
32 |
+
*/
|
33 |
+
public $yoastSeo = null;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* RankMath class instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var RankMath\RankMath
|
41 |
+
*/
|
42 |
+
public $rankMath = null;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* SeoPress class instance.
|
46 |
+
*
|
47 |
+
* @since 4.2.7
|
48 |
+
*
|
49 |
+
* @var SeoPress\SeoPress
|
50 |
+
*/
|
51 |
+
public $seoPress = null;
|
52 |
+
|
53 |
/**
|
54 |
* Class constructor.
|
55 |
*
|
180 |
$excludedPosts = [];
|
181 |
$sitemapExcludedPosts = [];
|
182 |
|
183 |
+
require_once ABSPATH . 'wp-admin/includes/post.php';
|
184 |
foreach ( $postData as $post => $values ) {
|
185 |
$postId = \post_exists( $values['post_title'], '', $values['post_date'] );
|
186 |
if ( ! $postId ) {
|
348 |
*/
|
349 |
private function cancelScans() {
|
350 |
// Figure out how to check if these addons are enabled and then get the action names that way.
|
351 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_video_sitemap_scan' );
|
352 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_image_sitemap_scan' );
|
353 |
}
|
354 |
|
355 |
/**
|
app/Common/ImportExport/Importer.php
CHANGED
@@ -12,6 +12,60 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
abstract class Importer {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Starts the import.
|
17 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
abstract class Importer {
|
15 |
+
/**
|
16 |
+
* Imports the settings.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @return void
|
21 |
+
*/
|
22 |
+
protected function importSettings() {}
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Imports the post meta.
|
26 |
+
*
|
27 |
+
* @since 4.2.7
|
28 |
+
*
|
29 |
+
* @return void
|
30 |
+
*/
|
31 |
+
protected function importPostMeta() {}
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Imports the term meta.
|
35 |
+
*
|
36 |
+
* @since 4.2.7
|
37 |
+
*
|
38 |
+
* @return void
|
39 |
+
*/
|
40 |
+
protected function importTermMeta() {}
|
41 |
+
|
42 |
+
/**
|
43 |
+
* PostMeta class instance.
|
44 |
+
*
|
45 |
+
* @since 4.2.7
|
46 |
+
*
|
47 |
+
* @var Object
|
48 |
+
*/
|
49 |
+
protected $postMeta = null;
|
50 |
+
|
51 |
+
/**
|
52 |
+
* TermMeta class instance.
|
53 |
+
*
|
54 |
+
* @since 4.2.7
|
55 |
+
*
|
56 |
+
* @var Object
|
57 |
+
*/
|
58 |
+
protected $termMeta = null;
|
59 |
+
|
60 |
+
/**
|
61 |
+
* Helpers class instance.
|
62 |
+
*
|
63 |
+
* @since 4.2.7
|
64 |
+
*
|
65 |
+
* @var Object
|
66 |
+
*/
|
67 |
+
public $helpers = null;
|
68 |
+
|
69 |
/**
|
70 |
* Starts the import.
|
71 |
*
|
app/Common/ImportExport/RankMath/GeneralSettings.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class GeneralSettings {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class GeneralSettings {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/RankMath/PostMeta.php
CHANGED
@@ -60,6 +60,7 @@ class PostMeta {
|
|
60 |
->whereRaw( "( p.post_type IN ( '$publicPostTypes' ) )" )
|
61 |
->whereRaw( "( ap.post_id IS NULL OR ap.updated < '$timeStarted' )" )
|
62 |
->orderBy( 'p.ID DESC' )
|
|
|
63 |
->limit( $postsPerAction )
|
64 |
->run()
|
65 |
->result();
|
@@ -96,14 +97,19 @@ class PostMeta {
|
|
96 |
->run()
|
97 |
->result();
|
98 |
|
99 |
-
if ( ! $postMeta || ! count( $postMeta ) ) {
|
100 |
-
continue;
|
101 |
-
}
|
102 |
-
|
103 |
$meta = [
|
104 |
'post_id' => $post->ID,
|
105 |
];
|
106 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
foreach ( $postMeta as $record ) {
|
108 |
$name = $record->meta_key;
|
109 |
$value = $record->meta_value;
|
@@ -190,6 +196,8 @@ class PostMeta {
|
|
190 |
$aioseoPost = Models\Post::getPost( $post->ID );
|
191 |
$aioseoPost->set( $meta );
|
192 |
$aioseoPost->save();
|
|
|
|
|
193 |
}
|
194 |
|
195 |
if ( count( $posts ) === $postsPerAction ) {
|
60 |
->whereRaw( "( p.post_type IN ( '$publicPostTypes' ) )" )
|
61 |
->whereRaw( "( ap.post_id IS NULL OR ap.updated < '$timeStarted' )" )
|
62 |
->orderBy( 'p.ID DESC' )
|
63 |
+
->groupBy( 'p.ID' )
|
64 |
->limit( $postsPerAction )
|
65 |
->run()
|
66 |
->result();
|
97 |
->run()
|
98 |
->result();
|
99 |
|
|
|
|
|
|
|
|
|
100 |
$meta = [
|
101 |
'post_id' => $post->ID,
|
102 |
];
|
103 |
|
104 |
+
if ( ! $postMeta || ! count( $postMeta ) ) {
|
105 |
+
$aioseoPost = Models\Post::getPost( (int) $post->ID );
|
106 |
+
$aioseoPost->set( $meta );
|
107 |
+
$aioseoPost->save();
|
108 |
+
|
109 |
+
aioseo()->migration->meta->migrateAdditionalPostMeta( $post->ID );
|
110 |
+
continue;
|
111 |
+
}
|
112 |
+
|
113 |
foreach ( $postMeta as $record ) {
|
114 |
$name = $record->meta_key;
|
115 |
$value = $record->meta_value;
|
196 |
$aioseoPost = Models\Post::getPost( $post->ID );
|
197 |
$aioseoPost->set( $meta );
|
198 |
$aioseoPost->save();
|
199 |
+
|
200 |
+
aioseo()->migration->meta->migrateAdditionalPostMeta( $post->ID );
|
201 |
}
|
202 |
|
203 |
if ( count( $posts ) === $postsPerAction ) {
|
app/Common/ImportExport/RankMath/Sitemap.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Sitemap {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Sitemap {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/RankMath/TitleMeta.php
CHANGED
@@ -30,6 +30,15 @@ class TitleMeta extends ImportExport\SearchAppearance {
|
|
30 |
'nosnippet'
|
31 |
];
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
/**
|
34 |
* Class constructor.
|
35 |
*
|
30 |
'nosnippet'
|
31 |
];
|
32 |
|
33 |
+
/**
|
34 |
+
* List of options.
|
35 |
+
*
|
36 |
+
* @since 4.2.7
|
37 |
+
*
|
38 |
+
* @var array
|
39 |
+
*/
|
40 |
+
private $options = [];
|
41 |
+
|
42 |
/**
|
43 |
* Class constructor.
|
44 |
*
|
app/Common/ImportExport/SeoPress/Analytics.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Analytics {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Analytics {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/SeoPress/Breadcrumbs.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Breadcrumbs {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Breadcrumbs {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/SeoPress/GeneralSettings.php
CHANGED
@@ -14,6 +14,24 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class GeneralSettings {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class GeneralSettings {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
+
/**
|
27 |
+
* List of our access control roles.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var array
|
32 |
+
*/
|
33 |
+
private $roles = [];
|
34 |
+
|
35 |
/**
|
36 |
* Class constructor.
|
37 |
*
|
app/Common/ImportExport/SeoPress/PostMeta.php
CHANGED
@@ -48,7 +48,7 @@ class PostMeta {
|
|
48 |
* @since 4.1.4
|
49 |
*/
|
50 |
public function scheduleImport() {
|
51 |
-
if ( aioseo()->
|
52 |
if ( ! aioseo()->core->cache->get( 'import_post_meta_seopress' ) ) {
|
53 |
aioseo()->core->cache->update( 'import_post_meta_seopress', time(), WEEK_IN_SECONDS );
|
54 |
}
|
@@ -95,21 +95,29 @@ class PostMeta {
|
|
95 |
->run()
|
96 |
->result();
|
97 |
|
98 |
-
if ( ! $postMeta || ! count( $postMeta ) ) {
|
99 |
-
continue;
|
100 |
-
}
|
101 |
-
|
102 |
$meta = array_merge( [
|
103 |
'post_id' => (int) $post->ID,
|
104 |
], $this->getMetaData( $postMeta, $post->ID ) );
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
$aioseoPost = Models\Post::getPost( (int) $post->ID );
|
107 |
$aioseoPost->set( $meta );
|
108 |
$aioseoPost->save();
|
|
|
|
|
109 |
}
|
110 |
|
111 |
if ( count( $posts ) === $postsPerAction ) {
|
112 |
-
aioseo()->
|
113 |
} else {
|
114 |
aioseo()->core->cache->delete( 'import_post_meta_seopress' );
|
115 |
}
|
48 |
* @since 4.1.4
|
49 |
*/
|
50 |
public function scheduleImport() {
|
51 |
+
if ( aioseo()->actionScheduler->scheduleSingle( aioseo()->importExport->seoPress->postActionName, 0 ) ) {
|
52 |
if ( ! aioseo()->core->cache->get( 'import_post_meta_seopress' ) ) {
|
53 |
aioseo()->core->cache->update( 'import_post_meta_seopress', time(), WEEK_IN_SECONDS );
|
54 |
}
|
95 |
->run()
|
96 |
->result();
|
97 |
|
|
|
|
|
|
|
|
|
98 |
$meta = array_merge( [
|
99 |
'post_id' => (int) $post->ID,
|
100 |
], $this->getMetaData( $postMeta, $post->ID ) );
|
101 |
|
102 |
+
if ( ! $postMeta || ! count( $postMeta ) ) {
|
103 |
+
$aioseoPost = Models\Post::getPost( (int) $post->ID );
|
104 |
+
$aioseoPost->set( $meta );
|
105 |
+
$aioseoPost->save();
|
106 |
+
|
107 |
+
aioseo()->migration->meta->migrateAdditionalPostMeta( $post->ID );
|
108 |
+
|
109 |
+
continue;
|
110 |
+
}
|
111 |
+
|
112 |
$aioseoPost = Models\Post::getPost( (int) $post->ID );
|
113 |
$aioseoPost->set( $meta );
|
114 |
$aioseoPost->save();
|
115 |
+
|
116 |
+
aioseo()->migration->meta->migrateAdditionalPostMeta( $post->ID );
|
117 |
}
|
118 |
|
119 |
if ( count( $posts ) === $postsPerAction ) {
|
120 |
+
aioseo()->actionScheduler->scheduleSingle( aioseo()->importExport->seoPress->postActionName, 5, [], true );
|
121 |
} else {
|
122 |
aioseo()->core->cache->delete( 'import_post_meta_seopress' );
|
123 |
}
|
app/Common/ImportExport/SeoPress/RobotsTxt.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class RobotsTxt {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class RobotsTxt {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/SeoPress/Rss.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Rss {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Rss {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/SeoPress/Sitemap.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Sitemap {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Sitemap {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/SeoPress/SocialMeta.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class SocialMeta {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class SocialMeta {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/SeoPress/Titles.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Titles {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.1.4
|
15 |
*/
|
16 |
class Titles {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/YoastSeo/GeneralSettings.php
CHANGED
@@ -14,6 +14,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class GeneralSettings {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class GeneralSettings {
|
17 |
+
/**
|
18 |
+
* List of options.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var array
|
23 |
+
*/
|
24 |
+
private $options = [];
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Common/ImportExport/YoastSeo/PostMeta.php
CHANGED
@@ -167,12 +167,17 @@ class PostMeta {
|
|
167 |
if ( in_array( $post->post_type, [ 'post', 'page', 'attachment' ], true ) ) {
|
168 |
break;
|
169 |
}
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
$options->webPage = [ 'webPageType' => $value ];
|
174 |
}
|
175 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
176 |
break;
|
177 |
case '_yoast_wpseo_schema_article_type':
|
178 |
$value = aioseo()->helpers->pregReplace( '#\s#', '', $value );
|
167 |
if ( in_array( $post->post_type, [ 'post', 'page', 'attachment' ], true ) ) {
|
168 |
break;
|
169 |
}
|
170 |
+
|
171 |
+
if ( ! in_array( $value, ImportExport\SearchAppearance::$supportedWebPageGraphs, true ) ) {
|
172 |
+
break;
|
|
|
173 |
}
|
174 |
+
|
175 |
+
$meta[ $mappedMeta[ $name ] ] = 'WebPage';
|
176 |
+
$meta['schema_type_options'] = wp_json_encode( [
|
177 |
+
'webPage' => [
|
178 |
+
'webPageType' => $value
|
179 |
+
]
|
180 |
+
] );
|
181 |
break;
|
182 |
case '_yoast_wpseo_schema_article_type':
|
183 |
$value = aioseo()->helpers->pregReplace( '#\s#', '', $value );
|
app/Common/ImportExport/YoastSeo/SearchAppearance.php
CHANGED
@@ -16,6 +16,15 @@ use AIOSEO\Plugin\Common\ImportExport;
|
|
16 |
* @since 4.0.0
|
17 |
*/
|
18 |
class SearchAppearance {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
/**
|
20 |
* Whether the homepage social settings have been imported here.
|
21 |
*
|
16 |
* @since 4.0.0
|
17 |
*/
|
18 |
class SearchAppearance {
|
19 |
+
/**
|
20 |
+
* List of options.
|
21 |
+
*
|
22 |
+
* @since 4.2.7
|
23 |
+
*
|
24 |
+
* @var array
|
25 |
+
*/
|
26 |
+
private $options = [];
|
27 |
+
|
28 |
/**
|
29 |
* Whether the homepage social settings have been imported here.
|
30 |
*
|
app/Common/ImportExport/YoastSeo/SocialMeta.php
CHANGED
@@ -16,6 +16,15 @@ use AIOSEO\Plugin\Common\Models;
|
|
16 |
* @since 4.0.0
|
17 |
*/
|
18 |
class SocialMeta {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
/**
|
20 |
* Class constructor.
|
21 |
*
|
16 |
* @since 4.0.0
|
17 |
*/
|
18 |
class SocialMeta {
|
19 |
+
/**
|
20 |
+
* List of options.
|
21 |
+
*
|
22 |
+
* @since 4.2.7
|
23 |
+
*
|
24 |
+
* @var array
|
25 |
+
*/
|
26 |
+
private $options = [];
|
27 |
+
|
28 |
/**
|
29 |
* Class constructor.
|
30 |
*
|
app/Common/ImportExport/YoastSeo/UserMeta.php
CHANGED
@@ -23,7 +23,7 @@ class UserMeta {
|
|
23 |
* @since 4.0.0
|
24 |
*/
|
25 |
public function scheduleImport() {
|
26 |
-
aioseo()->
|
27 |
|
28 |
if ( ! aioseo()->core->cache->get( 'import_user_meta_yoast_seo' ) ) {
|
29 |
aioseo()->core->cache->update( 'import_user_meta_yoast_seo', 0, WEEK_IN_SECONDS );
|
@@ -61,7 +61,7 @@ class UserMeta {
|
|
61 |
|
62 |
if ( count( $usersMeta ) === $usersPerAction ) {
|
63 |
aioseo()->core->cache->update( 'import_user_meta_yoast_seo', 100 + $offset, WEEK_IN_SECONDS );
|
64 |
-
aioseo()->
|
65 |
} else {
|
66 |
aioseo()->core->cache->delete( 'import_user_meta_yoast_seo' );
|
67 |
}
|
23 |
* @since 4.0.0
|
24 |
*/
|
25 |
public function scheduleImport() {
|
26 |
+
aioseo()->actionScheduler->scheduleSingle( aioseo()->importExport->yoastSeo->userActionName, 30 );
|
27 |
|
28 |
if ( ! aioseo()->core->cache->get( 'import_user_meta_yoast_seo' ) ) {
|
29 |
aioseo()->core->cache->update( 'import_user_meta_yoast_seo', 0, WEEK_IN_SECONDS );
|
61 |
|
62 |
if ( count( $usersMeta ) === $usersPerAction ) {
|
63 |
aioseo()->core->cache->update( 'import_user_meta_yoast_seo', 100 + $offset, WEEK_IN_SECONDS );
|
64 |
+
aioseo()->actionScheduler->scheduleSingle( aioseo()->importExport->yoastSeo->userActionName, 5, [], true );
|
65 |
} else {
|
66 |
aioseo()->core->cache->delete( 'import_user_meta_yoast_seo' );
|
67 |
}
|
app/Common/ImportExport/YoastSeo/YoastSeo.php
CHANGED
@@ -49,6 +49,24 @@ class YoastSeo extends ImportExport\Importer {
|
|
49 |
*/
|
50 |
public $userActionName = 'aioseo_import_user_meta_yoast_seo';
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
/**
|
53 |
* The post action name.
|
54 |
*
|
@@ -60,6 +78,7 @@ class YoastSeo extends ImportExport\Importer {
|
|
60 |
$this->helpers = new Helpers();
|
61 |
$this->postMeta = new PostMeta();
|
62 |
$this->userMeta = new UserMeta();
|
|
|
63 |
add_action( $this->postActionName, [ $this->postMeta, 'importPostMeta' ] );
|
64 |
add_action( $this->userActionName, [ $this->userMeta, 'importUserMeta' ] );
|
65 |
|
49 |
*/
|
50 |
public $userActionName = 'aioseo_import_user_meta_yoast_seo';
|
51 |
|
52 |
+
/**
|
53 |
+
* UserMeta class instance.
|
54 |
+
*
|
55 |
+
* @since 4.2.7
|
56 |
+
*
|
57 |
+
* @var UserMeta
|
58 |
+
*/
|
59 |
+
private $userMeta = null;
|
60 |
+
|
61 |
+
/**
|
62 |
+
* SearchAppearance class instance.
|
63 |
+
*
|
64 |
+
* @since 4.2.7
|
65 |
+
*
|
66 |
+
* @var SearchAppearance
|
67 |
+
*/
|
68 |
+
public $searchAppearance = null;
|
69 |
+
|
70 |
/**
|
71 |
* The post action name.
|
72 |
*
|
78 |
$this->helpers = new Helpers();
|
79 |
$this->postMeta = new PostMeta();
|
80 |
$this->userMeta = new UserMeta();
|
81 |
+
|
82 |
add_action( $this->postActionName, [ $this->postMeta, 'importPostMeta' ] );
|
83 |
add_action( $this->userActionName, [ $this->userMeta, 'importUserMeta' ] );
|
84 |
|
app/Common/Main/Activate.php
CHANGED
@@ -73,9 +73,6 @@ class Activate {
|
|
73 |
aioseo()->internalOptions->internal->firstActivated = $time;
|
74 |
}
|
75 |
|
76 |
-
// Bust the tableExists and columnExists cache.
|
77 |
-
aioseo()->internalOptions->database->installedTables = '';
|
78 |
-
|
79 |
aioseo()->core->cache->clear();
|
80 |
|
81 |
$this->maybeRunSetupWizard();
|
73 |
aioseo()->internalOptions->internal->firstActivated = $time;
|
74 |
}
|
75 |
|
|
|
|
|
|
|
76 |
aioseo()->core->cache->clear();
|
77 |
|
78 |
$this->maybeRunSetupWizard();
|
app/Common/Main/GoogleAnalytics.php
CHANGED
@@ -66,11 +66,9 @@ class GoogleAnalytics {
|
|
66 |
is_user_logged_in()
|
67 |
) {
|
68 |
$currentUser = wp_get_current_user();
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
return true;
|
73 |
-
}
|
74 |
}
|
75 |
}
|
76 |
|
66 |
is_user_logged_in()
|
67 |
) {
|
68 |
$currentUser = wp_get_current_user();
|
69 |
+
$intersect = array_intersect( $excludeUsers, $currentUser->roles );
|
70 |
+
if ( ! empty( $intersect ) ) {
|
71 |
+
return true;
|
|
|
|
|
72 |
}
|
73 |
}
|
74 |
|
app/Common/Main/Head.php
CHANGED
@@ -23,6 +23,51 @@ class Head {
|
|
23 |
*/
|
24 |
private static $pageTitle = null;
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
@@ -170,7 +215,7 @@ class Head {
|
|
170 |
) . " - aioseo.com -->\n";
|
171 |
|
172 |
foreach ( $views as $view ) {
|
173 |
-
require
|
174 |
}
|
175 |
|
176 |
echo "\t\t<!-- " . esc_html( AIOSEO_PLUGIN_NAME ) . " -->\n\n";
|
23 |
*/
|
24 |
private static $pageTitle = null;
|
25 |
|
26 |
+
/**
|
27 |
+
* GoogleAnalytics class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var GoogleAnalytics
|
32 |
+
*/
|
33 |
+
protected $analytics = null;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Links class instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var Meta\Links
|
41 |
+
*/
|
42 |
+
protected $links = null;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Keywords class instance.
|
46 |
+
*
|
47 |
+
* @since 4.2.7
|
48 |
+
*
|
49 |
+
* @var Meta\Keywords
|
50 |
+
*/
|
51 |
+
protected $keywords = null;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Verification class instance.
|
55 |
+
*
|
56 |
+
* @since 4.2.7
|
57 |
+
*
|
58 |
+
* @var Meta\Verification
|
59 |
+
*/
|
60 |
+
protected $verification = null;
|
61 |
+
|
62 |
+
/**
|
63 |
+
* The views to output.
|
64 |
+
*
|
65 |
+
* @since 4.2.7
|
66 |
+
*
|
67 |
+
* @var array
|
68 |
+
*/
|
69 |
+
protected $views = [];
|
70 |
+
|
71 |
/**
|
72 |
* Class constructor.
|
73 |
*
|
215 |
) . " - aioseo.com -->\n";
|
216 |
|
217 |
foreach ( $views as $view ) {
|
218 |
+
require $view;
|
219 |
}
|
220 |
|
221 |
echo "\t\t<!-- " . esc_html( AIOSEO_PLUGIN_NAME ) . " -->\n\n";
|
app/Common/Main/Main.php
CHANGED
@@ -20,8 +20,8 @@ class Main {
|
|
20 |
* @since 4.0.0
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
-
|
24 |
-
|
25 |
|
26 |
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueTranslations' ] );
|
27 |
add_action( 'wp_enqueue_scripts', [ $this, 'enqueueFrontEndAssets' ] );
|
20 |
* @since 4.0.0
|
21 |
*/
|
22 |
public function __construct() {
|
23 |
+
new Media();
|
24 |
+
new QueryArgs();
|
25 |
|
26 |
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueTranslations' ] );
|
27 |
add_action( 'wp_enqueue_scripts', [ $this, 'enqueueFrontEndAssets' ] );
|
app/Common/Main/QueryArgs.php
CHANGED
@@ -135,6 +135,7 @@ class QueryArgs {
|
|
135 |
);
|
136 |
}
|
137 |
|
|
|
138 |
$allowedQueryArgs = apply_filters( 'aioseo_unrecognized_allowed_query_args', $allowedQueryArgs );
|
139 |
$currentUrlQueryArgs = explode( '&', $currentUrlParsed['query'] );
|
140 |
$recognizedQueryArgs = [];
|
@@ -481,6 +482,7 @@ class QueryArgs {
|
|
481 |
'add-to-cart',
|
482 |
'add_coupon',
|
483 |
'item',
|
|
|
484 |
'_wcsnonce',
|
485 |
'post_type',
|
486 |
'product',
|
135 |
);
|
136 |
}
|
137 |
|
138 |
+
$allowedQueryArgs = array_unique( $allowedQueryArgs );
|
139 |
$allowedQueryArgs = apply_filters( 'aioseo_unrecognized_allowed_query_args', $allowedQueryArgs );
|
140 |
$currentUrlQueryArgs = explode( '&', $currentUrlParsed['query'] );
|
141 |
$recognizedQueryArgs = [];
|
482 |
'add-to-cart',
|
483 |
'add_coupon',
|
484 |
'item',
|
485 |
+
'key',
|
486 |
'_wcsnonce',
|
487 |
'post_type',
|
488 |
'product',
|
app/Common/Main/Updates.php
CHANGED
@@ -108,9 +108,9 @@ class Updates {
|
|
108 |
}
|
109 |
|
110 |
if ( version_compare( $lastActiveVersion, '4.1.5', '<' ) ) {
|
111 |
-
aioseo()->
|
112 |
// Schedule routine to remove our old transients from the options table.
|
113 |
-
aioseo()->
|
114 |
|
115 |
// Refresh with new Redirects capability.
|
116 |
$this->accessControlNewCapabilities();
|
@@ -123,7 +123,7 @@ class Updates {
|
|
123 |
|
124 |
if ( version_compare( $lastActiveVersion, '4.1.6', '<' ) ) {
|
125 |
// Remove the recurring scheduled action for notifications.
|
126 |
-
aioseo()->
|
127 |
|
128 |
$this->migrateOgTwitterImageColumns();
|
129 |
|
@@ -163,7 +163,7 @@ class Updates {
|
|
163 |
$this->migrateUserContactMethods();
|
164 |
|
165 |
// Unschedule any static sitemap regeneration actions to remove any that failed and are still in-progress as a result.
|
166 |
-
aioseo()->
|
167 |
}
|
168 |
|
169 |
if ( version_compare( $lastActiveVersion, '4.2.4', '<' ) ) {
|
@@ -800,7 +800,6 @@ class Updates {
|
|
800 |
$searchAppearanceTaxonomy['metaDescription']
|
801 |
);
|
802 |
}
|
803 |
-
|
804 |
}
|
805 |
|
806 |
/**
|
@@ -912,7 +911,7 @@ class Updates {
|
|
912 |
*/
|
913 |
public function migrateContactTypes() {
|
914 |
$oldValue = aioseo()->options->searchAppearance->global->schema->contactType;
|
915 |
-
$oldValueLowerCase = strtolower( $oldValue );
|
916 |
|
917 |
// Return if there is no value set or manual input is being used.
|
918 |
if ( ! $oldValue || 'manual' === $oldValueLowerCase ) {
|
@@ -984,7 +983,7 @@ class Updates {
|
|
984 |
* @return void
|
985 |
*/
|
986 |
private function schedulePostSchemaMigration() {
|
987 |
-
aioseo()->
|
988 |
}
|
989 |
|
990 |
/**
|
@@ -1011,7 +1010,7 @@ class Updates {
|
|
1011 |
}
|
1012 |
|
1013 |
// Once done, schedule the next action.
|
1014 |
-
aioseo()->
|
1015 |
}
|
1016 |
|
1017 |
/**
|
@@ -1022,7 +1021,7 @@ class Updates {
|
|
1022 |
* @return void
|
1023 |
*/
|
1024 |
private function schedulePostSchemaDefaultMigration() {
|
1025 |
-
aioseo()->
|
1026 |
|
1027 |
if ( ! aioseo()->cache->get( 'v4_migrate_post_schema_default_date' ) ) {
|
1028 |
aioseo()->cache->update( 'v4_migrate_post_schema_default_date', gmdate( 'Y-m-d H:i:s' ), 3 * MONTH_IN_SECONDS );
|
@@ -1062,7 +1061,7 @@ class Updates {
|
|
1062 |
}
|
1063 |
|
1064 |
// Once done, schedule the next action.
|
1065 |
-
aioseo()->
|
1066 |
}
|
1067 |
|
1068 |
/**
|
@@ -1158,7 +1157,7 @@ class Updates {
|
|
1158 |
'mpn' => ''
|
1159 |
],
|
1160 |
'offer' => [
|
1161 |
-
'price' => ! empty( $schemaTypeOptions->product->price ) ? $schemaTypeOptions->product->price : '',
|
1162 |
'currency' => ! empty( $schemaTypeOptions->product->currency ) ? $schemaTypeOptions->product->currency : '',
|
1163 |
'availability' => ! empty( $schemaTypeOptions->product->availability ) ? $schemaTypeOptions->product->availability : '',
|
1164 |
'validUntil' => ! empty( $schemaTypeOptions->product->priceValidUntil ) ? $schemaTypeOptions->product->priceValidUntil : ''
|
@@ -1249,7 +1248,7 @@ class Updates {
|
|
1249 |
'properties' => [
|
1250 |
'name' => ! empty( $schemaTypeOptions->software->name ) ? $schemaTypeOptions->software->name : '#post_title',
|
1251 |
'description' => '#post_excerpt',
|
1252 |
-
'price' => ! empty( $schemaTypeOptions->software->price ) ? $schemaTypeOptions->software->price : '',
|
1253 |
'currency' => ! empty( $schemaTypeOptions->software->currency ) ? $schemaTypeOptions->software->currency : '',
|
1254 |
'operatingSystem' => ! empty( $schemaTypeOptions->software->operatingSystems ) ? $schemaTypeOptions->software->operatingSystems : '',
|
1255 |
'category' => ! empty( $schemaTypeOptions->software->category ) ? $schemaTypeOptions->software->category : '',
|
108 |
}
|
109 |
|
110 |
if ( version_compare( $lastActiveVersion, '4.1.5', '<' ) ) {
|
111 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_cleanup_action_scheduler' );
|
112 |
// Schedule routine to remove our old transients from the options table.
|
113 |
+
aioseo()->actionScheduler->scheduleSingle( aioseo()->core->cachePrune->getOptionCacheCleanAction(), MINUTE_IN_SECONDS );
|
114 |
|
115 |
// Refresh with new Redirects capability.
|
116 |
$this->accessControlNewCapabilities();
|
123 |
|
124 |
if ( version_compare( $lastActiveVersion, '4.1.6', '<' ) ) {
|
125 |
// Remove the recurring scheduled action for notifications.
|
126 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_admin_notifications_update' );
|
127 |
|
128 |
$this->migrateOgTwitterImageColumns();
|
129 |
|
163 |
$this->migrateUserContactMethods();
|
164 |
|
165 |
// Unschedule any static sitemap regeneration actions to remove any that failed and are still in-progress as a result.
|
166 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_static_sitemap_regeneration' );
|
167 |
}
|
168 |
|
169 |
if ( version_compare( $lastActiveVersion, '4.2.4', '<' ) ) {
|
800 |
$searchAppearanceTaxonomy['metaDescription']
|
801 |
);
|
802 |
}
|
|
|
803 |
}
|
804 |
|
805 |
/**
|
911 |
*/
|
912 |
public function migrateContactTypes() {
|
913 |
$oldValue = aioseo()->options->searchAppearance->global->schema->contactType;
|
914 |
+
$oldValueLowerCase = strtolower( (string) $oldValue );
|
915 |
|
916 |
// Return if there is no value set or manual input is being used.
|
917 |
if ( ! $oldValue || 'manual' === $oldValueLowerCase ) {
|
983 |
* @return void
|
984 |
*/
|
985 |
private function schedulePostSchemaMigration() {
|
986 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_v4_migrate_post_schema', 10 );
|
987 |
}
|
988 |
|
989 |
/**
|
1010 |
}
|
1011 |
|
1012 |
// Once done, schedule the next action.
|
1013 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_v4_migrate_post_schema', 30 );
|
1014 |
}
|
1015 |
|
1016 |
/**
|
1021 |
* @return void
|
1022 |
*/
|
1023 |
private function schedulePostSchemaDefaultMigration() {
|
1024 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_v4_migrate_post_schema_default', 10 );
|
1025 |
|
1026 |
if ( ! aioseo()->cache->get( 'v4_migrate_post_schema_default_date' ) ) {
|
1027 |
aioseo()->cache->update( 'v4_migrate_post_schema_default_date', gmdate( 'Y-m-d H:i:s' ), 3 * MONTH_IN_SECONDS );
|
1061 |
}
|
1062 |
|
1063 |
// Once done, schedule the next action.
|
1064 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_v4_migrate_post_schema_default', 30 );
|
1065 |
}
|
1066 |
|
1067 |
/**
|
1157 |
'mpn' => ''
|
1158 |
],
|
1159 |
'offer' => [
|
1160 |
+
'price' => ! empty( $schemaTypeOptions->product->price ) ? (float) $schemaTypeOptions->product->price : '',
|
1161 |
'currency' => ! empty( $schemaTypeOptions->product->currency ) ? $schemaTypeOptions->product->currency : '',
|
1162 |
'availability' => ! empty( $schemaTypeOptions->product->availability ) ? $schemaTypeOptions->product->availability : '',
|
1163 |
'validUntil' => ! empty( $schemaTypeOptions->product->priceValidUntil ) ? $schemaTypeOptions->product->priceValidUntil : ''
|
1248 |
'properties' => [
|
1249 |
'name' => ! empty( $schemaTypeOptions->software->name ) ? $schemaTypeOptions->software->name : '#post_title',
|
1250 |
'description' => '#post_excerpt',
|
1251 |
+
'price' => ! empty( $schemaTypeOptions->software->price ) ? (float) $schemaTypeOptions->software->price : '',
|
1252 |
'currency' => ! empty( $schemaTypeOptions->software->currency ) ? $schemaTypeOptions->software->currency : '',
|
1253 |
'operatingSystem' => ! empty( $schemaTypeOptions->software->operatingSystems ) ? $schemaTypeOptions->software->operatingSystems : '',
|
1254 |
'category' => ! empty( $schemaTypeOptions->software->category ) ? $schemaTypeOptions->software->category : '',
|
app/Common/Meta/Description.php
CHANGED
@@ -12,6 +12,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
class Description {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class constructor.
|
17 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
class Description {
|
15 |
+
/**
|
16 |
+
* Helpers class instance.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @var Helpers
|
21 |
+
*/
|
22 |
+
public $helpers = null;
|
23 |
+
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
app/Common/Meta/Meta.php
CHANGED
@@ -14,6 +14,51 @@ use AIOSEO\Plugin\Common\Models;
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Meta {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
@@ -24,10 +69,11 @@ class Meta {
|
|
24 |
$this->title = new Title();
|
25 |
$this->description = new Description();
|
26 |
$this->keywords = new Keywords();
|
27 |
-
$this->amp = new Amp();
|
28 |
-
$this->links = new Links();
|
29 |
$this->robots = new Robots();
|
30 |
|
|
|
|
|
|
|
31 |
add_action( 'delete_post', [ $this, 'deletePostMeta' ], 1000, 2 );
|
32 |
}
|
33 |
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Meta {
|
17 |
+
/**
|
18 |
+
* MetaData class instance.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var MetaData
|
23 |
+
*/
|
24 |
+
public $metaData = null;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Title class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var Title
|
32 |
+
*/
|
33 |
+
public $title = null;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Description class instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var Description
|
41 |
+
*/
|
42 |
+
public $description = null;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Keywords class instance.
|
46 |
+
*
|
47 |
+
* @since 4.2.7
|
48 |
+
*
|
49 |
+
* @var Keywords
|
50 |
+
*/
|
51 |
+
public $keywords = null;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Robots class instance.
|
55 |
+
*
|
56 |
+
* @since 4.2.7
|
57 |
+
*
|
58 |
+
* @var Robots
|
59 |
+
*/
|
60 |
+
public $robots = null;
|
61 |
+
|
62 |
/**
|
63 |
* Class constructor.
|
64 |
*
|
69 |
$this->title = new Title();
|
70 |
$this->description = new Description();
|
71 |
$this->keywords = new Keywords();
|
|
|
|
|
72 |
$this->robots = new Robots();
|
73 |
|
74 |
+
new Amp();
|
75 |
+
new Links();
|
76 |
+
|
77 |
add_action( 'delete_post', [ $this, 'deletePostMeta' ], 1000, 2 );
|
78 |
}
|
79 |
|
app/Common/Meta/Title.php
CHANGED
@@ -12,6 +12,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
class Title {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class constructor.
|
17 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
class Title {
|
15 |
+
/**
|
16 |
+
* Helpers class instance.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @var Helpers
|
21 |
+
*/
|
22 |
+
public $helpers = null;
|
23 |
+
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
app/Common/Migration/Helpers.php
CHANGED
@@ -241,7 +241,7 @@ class Helpers {
|
|
241 |
aioseo()->core->cache->delete( 'v3_migration_in_progress_posts' );
|
242 |
aioseo()->core->cache->delete( 'v3_migration_in_progress_terms' );
|
243 |
|
244 |
-
aioseo()->
|
245 |
-
aioseo()->
|
246 |
}
|
247 |
}
|
241 |
aioseo()->core->cache->delete( 'v3_migration_in_progress_posts' );
|
242 |
aioseo()->core->cache->delete( 'v3_migration_in_progress_terms' );
|
243 |
|
244 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_migrate_post_meta' );
|
245 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_migrate_term_meta' );
|
246 |
}
|
247 |
}
|
app/Common/Migration/Meta.php
CHANGED
@@ -53,7 +53,7 @@ class Meta {
|
|
53 |
*/
|
54 |
public function migratePostMeta() {
|
55 |
if ( aioseo()->core->cache->get( 'v3_migration_in_progress_settings' ) ) {
|
56 |
-
aioseo()->
|
57 |
|
58 |
return;
|
59 |
}
|
53 |
*/
|
54 |
public function migratePostMeta() {
|
55 |
if ( aioseo()->core->cache->get( 'v3_migration_in_progress_settings' ) ) {
|
56 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_migrate_post_meta', 30, [], true );
|
57 |
|
58 |
return;
|
59 |
}
|
app/Common/Migration/Migration.php
CHANGED
@@ -21,6 +21,24 @@ class Migration {
|
|
21 |
*/
|
22 |
public $oldOptions = [];
|
23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
@@ -76,8 +94,8 @@ class Migration {
|
|
76 |
aioseo()->core->cache->delete( 'v3_migration_in_progress_terms' );
|
77 |
|
78 |
try {
|
79 |
-
aioseo()->
|
80 |
-
aioseo()->
|
81 |
} catch ( \Exception $e ) {
|
82 |
// Do nothing.
|
83 |
}
|
21 |
*/
|
22 |
public $oldOptions = [];
|
23 |
|
24 |
+
/**
|
25 |
+
* Meta class instance.
|
26 |
+
*
|
27 |
+
* @since 4.2.7
|
28 |
+
*
|
29 |
+
* @var Meta
|
30 |
+
*/
|
31 |
+
public $meta = null;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Helpers class instance.
|
35 |
+
*
|
36 |
+
* @since 4.2.7
|
37 |
+
*
|
38 |
+
* @var Helpers
|
39 |
+
*/
|
40 |
+
public $helpers = null;
|
41 |
+
|
42 |
/**
|
43 |
* Class constructor.
|
44 |
*
|
94 |
aioseo()->core->cache->delete( 'v3_migration_in_progress_terms' );
|
95 |
|
96 |
try {
|
97 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_migrate_post_meta' );
|
98 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_migrate_term_meta' );
|
99 |
} catch ( \Exception $e ) {
|
100 |
// Do nothing.
|
101 |
}
|
app/Common/Models/Model.php
CHANGED
@@ -75,6 +75,15 @@ class Model implements \JsonSerializable {
|
|
75 |
*/
|
76 |
protected $pk = 'id';
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
/**
|
79 |
* An array of columns from the DB that we can use.
|
80 |
*
|
75 |
*/
|
76 |
protected $pk = 'id';
|
77 |
|
78 |
+
/**
|
79 |
+
* The ID of the model.
|
80 |
+
*
|
81 |
+
* @since 4.2.7
|
82 |
+
*
|
83 |
+
* @var int
|
84 |
+
*/
|
85 |
+
public $id = 0;
|
86 |
+
|
87 |
/**
|
88 |
* An array of columns from the DB that we can use.
|
89 |
*
|
app/Common/Models/Post.php
CHANGED
@@ -294,6 +294,36 @@ class Post extends Model {
|
|
294 |
return $data;
|
295 |
}
|
296 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
297 |
/**
|
298 |
* Sanitizes the post data and sets it (or the default value) to the Post object.
|
299 |
*
|
@@ -314,7 +344,7 @@ class Post extends Model {
|
|
314 |
$thePost->pillar_content = isset( $data['pillar_content'] ) ? rest_sanitize_boolean( $data['pillar_content'] ) : 0;
|
315 |
// TruSEO
|
316 |
$thePost->keyphrases = ! empty( $data['keyphrases'] ) ? wp_json_encode( $data['keyphrases'] ) : null;
|
317 |
-
$thePost->page_analysis = ! empty( $data['page_analysis'] ) ? wp_json_encode( $data['page_analysis'] ) : null;
|
318 |
$thePost->seo_score = ! empty( $data['seo_score'] ) ? sanitize_text_field( $data['seo_score'] ) : 0;
|
319 |
// Sitemap
|
320 |
$thePost->priority = ! empty( $data['priority'] ) ? sanitize_text_field( $data['priority'] ) : null;
|
@@ -468,29 +498,23 @@ class Post extends Model {
|
|
468 |
'analysis' => [
|
469 |
'basic' => [
|
470 |
'lengthContent' => [
|
471 |
-
'error'
|
472 |
-
'maxScore'
|
473 |
-
'score'
|
474 |
-
'title' => __( 'Content', 'all-in-one-seo-pack' ),
|
475 |
-
'description' => __( 'Please add some content first.', 'all-in-one-seo-pack' )
|
476 |
],
|
477 |
],
|
478 |
'title' => [
|
479 |
'titleLength' => [
|
480 |
-
'error'
|
481 |
-
'maxScore'
|
482 |
-
'score'
|
483 |
-
'title' => __( 'Title', 'all-in-one-seo-pack' ),
|
484 |
-
'description' => __( 'Please add a title first.', 'all-in-one-seo-pack' )
|
485 |
],
|
486 |
],
|
487 |
'readability' => [
|
488 |
'contentHasAssets' => [
|
489 |
-
'error'
|
490 |
-
'maxScore'
|
491 |
-
'score'
|
492 |
-
'title' => __( 'No content yet', 'all-in-one-seo-pack' ),
|
493 |
-
'description' => __( 'Please add some content first.', 'all-in-one-seo-pack' )
|
494 |
],
|
495 |
]
|
496 |
]
|
@@ -518,6 +542,7 @@ class Post extends Model {
|
|
518 |
'Article' => [],
|
519 |
'Course' => [],
|
520 |
'Dataset' => [],
|
|
|
521 |
'Movie' => [],
|
522 |
'Person' => [],
|
523 |
'Product' => [],
|
294 |
return $data;
|
295 |
}
|
296 |
|
297 |
+
/**
|
298 |
+
* Sanitize the page_analysis posted data.
|
299 |
+
*
|
300 |
+
* @since 4.2.7
|
301 |
+
*
|
302 |
+
* @param array $data An array containing the page_analysis field data.
|
303 |
+
* @return array The sanitized data.
|
304 |
+
*/
|
305 |
+
private static function sanitizePageAnalysis( $data ) {
|
306 |
+
if (
|
307 |
+
empty( $data['analysis'] )
|
308 |
+
|| ! is_array( $data['analysis'] )
|
309 |
+
) {
|
310 |
+
return $data;
|
311 |
+
}
|
312 |
+
|
313 |
+
foreach ( $data['analysis'] as &$analysis ) {
|
314 |
+
foreach ( $analysis as $key => $result ) {
|
315 |
+
// Remove unnecessary 'title' and 'description'.
|
316 |
+
foreach ( [ 'title', 'description' ] as $keyToRemove ) {
|
317 |
+
if ( isset( $analysis[ $key ][ $keyToRemove ] ) ) {
|
318 |
+
unset( $analysis[ $key ][ $keyToRemove ] );
|
319 |
+
}
|
320 |
+
}
|
321 |
+
}
|
322 |
+
}
|
323 |
+
|
324 |
+
return $data;
|
325 |
+
}
|
326 |
+
|
327 |
/**
|
328 |
* Sanitizes the post data and sets it (or the default value) to the Post object.
|
329 |
*
|
344 |
$thePost->pillar_content = isset( $data['pillar_content'] ) ? rest_sanitize_boolean( $data['pillar_content'] ) : 0;
|
345 |
// TruSEO
|
346 |
$thePost->keyphrases = ! empty( $data['keyphrases'] ) ? wp_json_encode( $data['keyphrases'] ) : null;
|
347 |
+
$thePost->page_analysis = ! empty( $data['page_analysis'] ) ? wp_json_encode( self::sanitizePageAnalysis( $data['page_analysis'] ) ) : null;
|
348 |
$thePost->seo_score = ! empty( $data['seo_score'] ) ? sanitize_text_field( $data['seo_score'] ) : 0;
|
349 |
// Sitemap
|
350 |
$thePost->priority = ! empty( $data['priority'] ) ? sanitize_text_field( $data['priority'] ) : null;
|
498 |
'analysis' => [
|
499 |
'basic' => [
|
500 |
'lengthContent' => [
|
501 |
+
'error' => 1,
|
502 |
+
'maxScore' => 9,
|
503 |
+
'score' => 6,
|
|
|
|
|
504 |
],
|
505 |
],
|
506 |
'title' => [
|
507 |
'titleLength' => [
|
508 |
+
'error' => 1,
|
509 |
+
'maxScore' => 9,
|
510 |
+
'score' => 1,
|
|
|
|
|
511 |
],
|
512 |
],
|
513 |
'readability' => [
|
514 |
'contentHasAssets' => [
|
515 |
+
'error' => 1,
|
516 |
+
'maxScore' => 5,
|
517 |
+
'score' => 0,
|
|
|
|
|
518 |
],
|
519 |
]
|
520 |
]
|
542 |
'Article' => [],
|
543 |
'Course' => [],
|
544 |
'Dataset' => [],
|
545 |
+
'FAQPage' => [],
|
546 |
'Movie' => [],
|
547 |
'Person' => [],
|
548 |
'Product' => [],
|
app/Common/Options/InternalOptions.php
CHANGED
@@ -30,7 +30,6 @@ class InternalOptions {
|
|
30 |
'autogenerateDescriptions',
|
31 |
'descriptionFormat',
|
32 |
'badBotBlocker',
|
33 |
-
// 'runShortcodesInDescription', TODO: Remove this in a future update.
|
34 |
'staticSitemap',
|
35 |
'staticVideoSitemap',
|
36 |
'useContentForAutogeneratedDescriptions',
|
30 |
'autogenerateDescriptions',
|
31 |
'descriptionFormat',
|
32 |
'badBotBlocker',
|
|
|
33 |
'staticSitemap',
|
34 |
'staticVideoSitemap',
|
35 |
'useContentForAutogeneratedDescriptions',
|
app/Common/Options/Options.php
CHANGED
@@ -240,15 +240,17 @@ TEMPLATE
|
|
240 |
'metaDescription' => [ 'type' => 'string', 'localized' => true, 'default' => '#tagline' ],
|
241 |
'keywords' => [ 'type' => 'string', 'localized' => true ],
|
242 |
'schema' => [
|
243 |
-
'
|
244 |
-
'
|
245 |
-
'
|
246 |
-
'
|
247 |
-
'
|
248 |
-
'
|
249 |
-
'
|
250 |
-
'
|
251 |
-
'
|
|
|
|
|
252 |
]
|
253 |
],
|
254 |
'advanced' => [
|
@@ -529,6 +531,10 @@ TEMPLATE
|
|
529 |
$this->defaults['searchAppearance']['global']['schema']['organizationName']['default'] = aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) );
|
530 |
$this->defaults['deprecated']['tools']['blocker']['custom']['bots']['default'] = implode( "\n", aioseo()->badBotBlocker->getBotList() );
|
531 |
$this->defaults['deprecated']['tools']['blocker']['custom']['referer']['default'] = implode( "\n", aioseo()->badBotBlocker->getRefererList() );
|
|
|
|
|
|
|
|
|
532 |
}
|
533 |
|
534 |
/**
|
@@ -558,9 +564,6 @@ TEMPLATE
|
|
558 |
$this->defaults['breadcrumbs']['archiveFormat']['default'] = sprintf( '%1$s #breadcrumb_archive_post_type_name', __( 'Archives for', 'all-in-one-seo-pack' ) );
|
559 |
$this->defaults['breadcrumbs']['searchResultFormat']['default'] = sprintf( '%1$s \'#breadcrumb_search_string\'', __( 'Search Results for', 'all-in-one-seo-pack' ) );
|
560 |
$this->defaults['breadcrumbs']['errorFormat404']['default'] = __( '404 - Page Not Found', 'all-in-one-seo-pack' );
|
561 |
-
|
562 |
-
$this->defaults['searchAppearance']['global']['schema']['organizationName']['default'] = aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) );
|
563 |
-
$this->defaults['searchAppearance']['global']['schema']['organizationLogo']['default'] = aioseo()->helpers->getSiteLogoUrl() ? aioseo()->helpers->getSiteLogoUrl() : '';
|
564 |
}
|
565 |
|
566 |
/**
|
@@ -582,7 +585,7 @@ TEMPLATE
|
|
582 |
$phoneNumberOptions = isset( $options['searchAppearance']['global']['schema']['phone'] )
|
583 |
? $options['searchAppearance']['global']['schema']['phone']
|
584 |
: null;
|
585 |
-
$oldHtmlSitemapUrl =
|
586 |
|
587 |
$options = $this->maybeRemoveUnfilteredHtmlFields( $options );
|
588 |
|
@@ -615,7 +618,7 @@ TEMPLATE
|
|
615 |
}
|
616 |
|
617 |
$newOptions = ! empty( $options['sitemap']['html'] ) ? $options['sitemap']['html'] : null;
|
618 |
-
if ( ! empty( $newOptions ) &&
|
619 |
$newOptions = ! empty( $options['sitemap']['html'] ) ? $options['sitemap']['html'] : null;
|
620 |
|
621 |
$pageUrl = wp_parse_url( $newOptions['pageUrl'] );
|
240 |
'metaDescription' => [ 'type' => 'string', 'localized' => true, 'default' => '#tagline' ],
|
241 |
'keywords' => [ 'type' => 'string', 'localized' => true ],
|
242 |
'schema' => [
|
243 |
+
'websiteName' => [ 'type' => 'string' ],
|
244 |
+
'websiteAlternateName' => [ 'type' => 'string' ],
|
245 |
+
'siteRepresents' => [ 'type' => 'string', 'default' => 'organization' ],
|
246 |
+
'person' => [ 'type' => 'string' ],
|
247 |
+
'organizationName' => [ 'type' => 'string' ],
|
248 |
+
'organizationLogo' => [ 'type' => 'string' ],
|
249 |
+
'personName' => [ 'type' => 'string' ],
|
250 |
+
'personLogo' => [ 'type' => 'string' ],
|
251 |
+
'phone' => [ 'type' => 'string' ],
|
252 |
+
'contactType' => [ 'type' => 'string' ],
|
253 |
+
'contactTypeManual' => [ 'type' => 'string' ]
|
254 |
]
|
255 |
],
|
256 |
'advanced' => [
|
531 |
$this->defaults['searchAppearance']['global']['schema']['organizationName']['default'] = aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) );
|
532 |
$this->defaults['deprecated']['tools']['blocker']['custom']['bots']['default'] = implode( "\n", aioseo()->badBotBlocker->getBotList() );
|
533 |
$this->defaults['deprecated']['tools']['blocker']['custom']['referer']['default'] = implode( "\n", aioseo()->badBotBlocker->getRefererList() );
|
534 |
+
|
535 |
+
$this->defaults['searchAppearance']['global']['schema']['organizationName']['default'] = aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) );
|
536 |
+
$this->defaults['searchAppearance']['global']['schema']['websiteName']['default'] = aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) );
|
537 |
+
$this->defaults['searchAppearance']['global']['schema']['organizationLogo']['default'] = aioseo()->helpers->getSiteLogoUrl() ? aioseo()->helpers->getSiteLogoUrl() : '';
|
538 |
}
|
539 |
|
540 |
/**
|
564 |
$this->defaults['breadcrumbs']['archiveFormat']['default'] = sprintf( '%1$s #breadcrumb_archive_post_type_name', __( 'Archives for', 'all-in-one-seo-pack' ) );
|
565 |
$this->defaults['breadcrumbs']['searchResultFormat']['default'] = sprintf( '%1$s \'#breadcrumb_search_string\'', __( 'Search Results for', 'all-in-one-seo-pack' ) );
|
566 |
$this->defaults['breadcrumbs']['errorFormat404']['default'] = __( '404 - Page Not Found', 'all-in-one-seo-pack' );
|
|
|
|
|
|
|
567 |
}
|
568 |
|
569 |
/**
|
585 |
$phoneNumberOptions = isset( $options['searchAppearance']['global']['schema']['phone'] )
|
586 |
? $options['searchAppearance']['global']['schema']['phone']
|
587 |
: null;
|
588 |
+
$oldHtmlSitemapUrl = aioseo()->options->sitemap->html->pageUrl;
|
589 |
|
590 |
$options = $this->maybeRemoveUnfilteredHtmlFields( $options );
|
591 |
|
618 |
}
|
619 |
|
620 |
$newOptions = ! empty( $options['sitemap']['html'] ) ? $options['sitemap']['html'] : null;
|
621 |
+
if ( ! empty( $newOptions ) && aioseo()->options->sitemap->html->enable ) {
|
622 |
$newOptions = ! empty( $options['sitemap']['html'] ) ? $options['sitemap']['html'] : null;
|
623 |
|
624 |
$pageUrl = wp_parse_url( $newOptions['pageUrl'] );
|
app/Common/Schema/Context.php
CHANGED
@@ -12,6 +12,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
class Context {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class constructor.
|
17 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
class Context {
|
15 |
+
/**
|
16 |
+
* Breadcrumb class instance.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @var Breadcrumb
|
21 |
+
*/
|
22 |
+
private $breadcrumb = null;
|
23 |
+
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
app/Common/Schema/Graphs/Article/Article.php
CHANGED
@@ -46,7 +46,7 @@ class Article extends Graphs\Graph {
|
|
46 |
: mysql2date( DATE_W3C, $post->post_date_gmt, false ),
|
47 |
'dateModified' => ! empty( $graphData->properties->dates->dateModified )
|
48 |
? mysql2date( DATE_W3C, $graphData->properties->dates->dateModified, false )
|
49 |
-
: mysql2date( DATE_W3C, $post->
|
50 |
'inLanguage' => aioseo()->helpers->currentLanguageCodeBCP47(),
|
51 |
'commentCount' => get_comment_count( $post->ID )['approved'],
|
52 |
'mainEntityOfPage' => empty( $graphData ) ? [ '@id' => aioseo()->schema->context['url'] . '#webpage' ] : '',
|
46 |
: mysql2date( DATE_W3C, $post->post_date_gmt, false ),
|
47 |
'dateModified' => ! empty( $graphData->properties->dates->dateModified )
|
48 |
? mysql2date( DATE_W3C, $graphData->properties->dates->dateModified, false )
|
49 |
+
: mysql2date( DATE_W3C, $post->post_modified_gmt, false ),
|
50 |
'inLanguage' => aioseo()->helpers->currentLanguageCodeBCP47(),
|
51 |
'commentCount' => get_comment_count( $post->ID )['approved'],
|
52 |
'mainEntityOfPage' => empty( $graphData ) ? [ '@id' => aioseo()->schema->context['url'] . '#webpage' ] : '',
|
app/Common/Schema/Graphs/WebSite.php
CHANGED
@@ -22,13 +22,16 @@ class WebSite extends Graph {
|
|
22 |
public function get() {
|
23 |
$homeUrl = trailingslashit( home_url() );
|
24 |
$data = [
|
25 |
-
'@type'
|
26 |
-
'@id'
|
27 |
-
'url'
|
28 |
-
'name'
|
29 |
-
|
30 |
-
|
31 |
-
'
|
|
|
|
|
|
|
32 |
];
|
33 |
|
34 |
if ( is_front_page() && aioseo()->options->searchAppearance->advanced->sitelinks ) {
|
22 |
public function get() {
|
23 |
$homeUrl = trailingslashit( home_url() );
|
24 |
$data = [
|
25 |
+
'@type' => 'WebSite',
|
26 |
+
'@id' => $homeUrl . '#website',
|
27 |
+
'url' => $homeUrl,
|
28 |
+
'name' => aioseo()->options->searchAppearance->global->schema->websiteName
|
29 |
+
? aioseo()->options->searchAppearance->global->schema->websiteName
|
30 |
+
: aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'name' ) ),
|
31 |
+
'alternateName' => aioseo()->options->searchAppearance->global->schema->websiteAlternateName,
|
32 |
+
'description' => aioseo()->helpers->decodeHtmlEntities( get_bloginfo( 'description' ) ),
|
33 |
+
'inLanguage' => aioseo()->helpers->currentLanguageCodeBCP47(),
|
34 |
+
'publisher' => [ '@id' => $homeUrl . '#' . aioseo()->options->searchAppearance->global->schema->siteRepresents ]
|
35 |
];
|
36 |
|
37 |
if ( is_front_page() && aioseo()->options->searchAppearance->advanced->sitelinks ) {
|
app/Common/Schema/Helpers.php
CHANGED
@@ -65,4 +65,31 @@ class Helpers {
|
|
65 |
|
66 |
return $data;
|
67 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
}
|
65 |
|
66 |
return $data;
|
67 |
}
|
68 |
+
|
69 |
+
/**
|
70 |
+
* Sorts the schema data and then returns it as JSON.
|
71 |
+
* We temporarily change the floating point precision in order to prevent rounding errors.
|
72 |
+
* Otherwise e.g. 4.9 could be output as 4.90000004.
|
73 |
+
*
|
74 |
+
* @since 4.2.7
|
75 |
+
*
|
76 |
+
* @param array $schema The schema data.
|
77 |
+
* @param bool $isValidator Whether we're grabbing the output for the validator.
|
78 |
+
* @return string The schema as JSON.
|
79 |
+
*/
|
80 |
+
public function getOutput( $schema, $isValidator = false ) {
|
81 |
+
$schema['@graph'] = apply_filters( 'aioseo_schema_output', $schema['@graph'] );
|
82 |
+
$schema['@graph'] = $this->cleanAndParseData( $schema['@graph'] );
|
83 |
+
|
84 |
+
// Sort the graphs alphabetically.
|
85 |
+
usort( $schema['@graph'], function ( $a, $b ) {
|
86 |
+
return strcmp( $a['@type'], $b['@type'] );
|
87 |
+
} );
|
88 |
+
|
89 |
+
$json = isset( $_GET['aioseo-dev'] ) || $isValidator
|
90 |
+
? aioseo()->helpers->wpJsonEncode( $schema, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE )
|
91 |
+
: aioseo()->helpers->wpJsonEncode( $schema );
|
92 |
+
|
93 |
+
return $json;
|
94 |
+
}
|
95 |
}
|
app/Common/Schema/Schema.php
CHANGED
@@ -30,6 +30,15 @@ class Schema {
|
|
30 |
*/
|
31 |
public $context = [];
|
32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
/**
|
34 |
* The subdirectories that contain graph classes.
|
35 |
*
|
@@ -72,7 +81,8 @@ class Schema {
|
|
72 |
* @var array
|
73 |
*/
|
74 |
public $nullableFields = [
|
75 |
-
'price' // Needs to be 0 if free for Software Application.
|
|
|
76 |
];
|
77 |
|
78 |
/**
|
@@ -164,17 +174,7 @@ class Schema {
|
|
164 |
}
|
165 |
}
|
166 |
|
167 |
-
|
168 |
-
$schema['@graph'] = $this->helpers->cleanAndParseData( $schema['@graph'] );
|
169 |
-
|
170 |
-
// Sort the graphs alphabetically.
|
171 |
-
usort( $schema['@graph'], function ( $a, $b ) {
|
172 |
-
return strcmp( $a['@type'], $b['@type'] );
|
173 |
-
} );
|
174 |
-
|
175 |
-
return isset( $_GET['aioseo-dev'] )
|
176 |
-
? wp_json_encode( $schema, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE )
|
177 |
-
: wp_json_encode( $schema );
|
178 |
}
|
179 |
|
180 |
/**
|
30 |
*/
|
31 |
public $context = [];
|
32 |
|
33 |
+
/**
|
34 |
+
* Helpers class instance.
|
35 |
+
*
|
36 |
+
* @since 4.2.7
|
37 |
+
*
|
38 |
+
* @var Helpers
|
39 |
+
*/
|
40 |
+
public $helpers = null;
|
41 |
+
|
42 |
/**
|
43 |
* The subdirectories that contain graph classes.
|
44 |
*
|
81 |
* @var array
|
82 |
*/
|
83 |
public $nullableFields = [
|
84 |
+
'price', // Needs to be 0 if free for Software Application.
|
85 |
+
'value' // Needs to be 0 if free for product shipping details.
|
86 |
];
|
87 |
|
88 |
/**
|
174 |
}
|
175 |
}
|
176 |
|
177 |
+
return aioseo()->schema->helpers->getOutput( $schema );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
178 |
}
|
179 |
|
180 |
/**
|
app/Common/Sitemap/Content.php
CHANGED
@@ -63,7 +63,6 @@ class Content {
|
|
63 |
}
|
64 |
|
65 |
return [];
|
66 |
-
|
67 |
}
|
68 |
|
69 |
/**
|
63 |
}
|
64 |
|
65 |
return [];
|
|
|
66 |
}
|
67 |
|
68 |
/**
|
app/Common/Sitemap/File.php
CHANGED
@@ -274,7 +274,7 @@ class File {
|
|
274 |
* @return array An array of files.
|
275 |
*/
|
276 |
public function files() {
|
277 |
-
require_once
|
278 |
$files = list_files( get_home_path(), 1 );
|
279 |
if ( ! count( $files ) ) {
|
280 |
return [];
|
274 |
* @return array An array of files.
|
275 |
*/
|
276 |
public function files() {
|
277 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
278 |
$files = list_files( get_home_path(), 1 );
|
279 |
if ( ! count( $files ) ) {
|
280 |
return [];
|
app/Common/Sitemap/Helpers.php
CHANGED
@@ -132,6 +132,7 @@ class Helpers {
|
|
132 |
}
|
133 |
|
134 |
$lastModified = 0;
|
|
|
135 |
foreach ( $additionalPages as $page ) {
|
136 |
if ( empty( $page['lastmod'] ) ) {
|
137 |
continue;
|
132 |
}
|
133 |
|
134 |
$lastModified = 0;
|
135 |
+
$timestamp = time();
|
136 |
foreach ( $additionalPages as $page ) {
|
137 |
if ( empty( $page['lastmod'] ) ) {
|
138 |
continue;
|
app/Common/Sitemap/Html/Frontend.php
CHANGED
@@ -369,13 +369,7 @@ class Frontend {
|
|
369 |
|
370 |
$list = '<ul>';
|
371 |
foreach ( $objects as $object ) {
|
372 |
-
$list .= $this->generateListItem(
|
373 |
-
$object,
|
374 |
-
[
|
375 |
-
'publication_date' => $this->attributes['publication_date'],
|
376 |
-
'nofollow_links' => $this->attributes['nofollow_links']
|
377 |
-
]
|
378 |
-
);
|
379 |
|
380 |
if ( ! empty( $object['children'] ) ) {
|
381 |
$list .= $this->generateHierarchicalTree( $object );
|
@@ -402,13 +396,7 @@ class Frontend {
|
|
402 |
$tree = '<ul>';
|
403 |
foreach ( $object['children'] as $child ) {
|
404 |
$nestedLevel++;
|
405 |
-
$tree .= $this->generateListItem(
|
406 |
-
$child,
|
407 |
-
[
|
408 |
-
'publication_date' => $this->attributes['publication_date'],
|
409 |
-
'nofollow_links' => $this->attributes['nofollow_links']
|
410 |
-
]
|
411 |
-
);
|
412 |
if ( ! empty( $child['children'] ) ) {
|
413 |
$tree .= $this->generateHierarchicalTree( $child );
|
414 |
}
|
@@ -496,21 +484,23 @@ class Frontend {
|
|
496 |
return $objects;
|
497 |
}
|
498 |
|
499 |
-
|
500 |
-
|
501 |
-
$objects = array_map( function( $object ) {
|
502 |
-
return trim( $object );
|
503 |
-
}, $exploded );
|
504 |
-
|
505 |
-
$publicObjects = $arePostTypes
|
506 |
-
? aioseo()->helpers->getPublicPostTypes( true )
|
507 |
-
: aioseo()->helpers->getPublicTaxonomies( true );
|
508 |
-
|
509 |
-
$objects = array_filter( $objects, function( $object ) use ( $publicObjects ) {
|
510 |
-
return in_array( $object, $publicObjects, true );
|
511 |
-
});
|
512 |
}
|
513 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
514 |
return $objects;
|
515 |
}
|
516 |
}
|
369 |
|
370 |
$list = '<ul>';
|
371 |
foreach ( $objects as $object ) {
|
372 |
+
$list .= $this->generateListItem( $object );
|
|
|
|
|
|
|
|
|
|
|
|
|
373 |
|
374 |
if ( ! empty( $object['children'] ) ) {
|
375 |
$list .= $this->generateHierarchicalTree( $object );
|
396 |
$tree = '<ul>';
|
397 |
foreach ( $object['children'] as $child ) {
|
398 |
$nestedLevel++;
|
399 |
+
$tree .= $this->generateListItem( $child );
|
|
|
|
|
|
|
|
|
|
|
|
|
400 |
if ( ! empty( $child['children'] ) ) {
|
401 |
$tree .= $this->generateHierarchicalTree( $child );
|
402 |
}
|
484 |
return $objects;
|
485 |
}
|
486 |
|
487 |
+
if ( empty( $objects ) ) {
|
488 |
+
return [];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
}
|
490 |
|
491 |
+
$exploded = explode( ',', $objects );
|
492 |
+
$objects = array_map( function( $object ) {
|
493 |
+
return trim( $object );
|
494 |
+
}, $exploded );
|
495 |
+
|
496 |
+
$publicObjects = $arePostTypes
|
497 |
+
? aioseo()->helpers->getPublicPostTypes( true )
|
498 |
+
: aioseo()->helpers->getPublicTaxonomies( true );
|
499 |
+
|
500 |
+
$objects = array_filter( $objects, function( $object ) use ( $publicObjects ) {
|
501 |
+
return in_array( $object, $publicObjects, true );
|
502 |
+
});
|
503 |
+
|
504 |
return $objects;
|
505 |
}
|
506 |
}
|
app/Common/Sitemap/Html/Widget.php
CHANGED
@@ -12,6 +12,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.1.3
|
13 |
*/
|
14 |
class Widget extends \WP_Widget {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class constructor.
|
17 |
*
|
@@ -153,7 +162,7 @@ class Widget extends \WP_Widget {
|
|
153 |
$taxonomyObjects = aioseo()->helpers->getPublicTaxonomies();
|
154 |
// phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
155 |
|
156 |
-
include
|
157 |
}
|
158 |
|
159 |
/**
|
12 |
* @since 4.1.3
|
13 |
*/
|
14 |
class Widget extends \WP_Widget {
|
15 |
+
/**
|
16 |
+
* The default attributes.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @var array
|
21 |
+
*/
|
22 |
+
private $defaults = [];
|
23 |
+
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
162 |
$taxonomyObjects = aioseo()->helpers->getPublicTaxonomies();
|
163 |
// phpcs:enable VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
164 |
|
165 |
+
include AIOSEO_DIR . '/app/Common/Views/sitemap/html/widget-options.php';
|
166 |
}
|
167 |
|
168 |
/**
|
app/Common/Sitemap/Image/Image.php
CHANGED
@@ -39,6 +39,15 @@ class Image {
|
|
39 |
'ico'
|
40 |
];
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
/**
|
43 |
* Class constructor.
|
44 |
*
|
@@ -89,7 +98,7 @@ class Image {
|
|
89 |
return;
|
90 |
}
|
91 |
|
92 |
-
aioseo()->
|
93 |
}
|
94 |
|
95 |
/**
|
@@ -122,7 +131,7 @@ class Image {
|
|
122 |
->result();
|
123 |
|
124 |
if ( ! $posts ) {
|
125 |
-
aioseo()->
|
126 |
|
127 |
return;
|
128 |
}
|
@@ -131,7 +140,7 @@ class Image {
|
|
131 |
$this->scanPost( $post );
|
132 |
}
|
133 |
|
134 |
-
aioseo()->
|
135 |
}
|
136 |
|
137 |
/**
|
39 |
'ico'
|
40 |
];
|
41 |
|
42 |
+
/**
|
43 |
+
* The post object.
|
44 |
+
*
|
45 |
+
* @since 4.2.7
|
46 |
+
*
|
47 |
+
* @var \WP_Post
|
48 |
+
*/
|
49 |
+
private $post = null;
|
50 |
+
|
51 |
/**
|
52 |
* Class constructor.
|
53 |
*
|
98 |
return;
|
99 |
}
|
100 |
|
101 |
+
aioseo()->actionScheduler->scheduleSingle( $this->imageScanAction, 10 );
|
102 |
}
|
103 |
|
104 |
/**
|
131 |
->result();
|
132 |
|
133 |
if ( ! $posts ) {
|
134 |
+
aioseo()->actionScheduler->scheduleSingle( $this->imageScanAction, 15 * MINUTE_IN_SECONDS, [], true );
|
135 |
|
136 |
return;
|
137 |
}
|
140 |
$this->scanPost( $post );
|
141 |
}
|
142 |
|
143 |
+
aioseo()->actionScheduler->scheduleSingle( $this->imageScanAction, 30, [], true );
|
144 |
}
|
145 |
|
146 |
/**
|
app/Common/Sitemap/Output.php
CHANGED
@@ -62,7 +62,7 @@ class Output {
|
|
62 |
}
|
63 |
|
64 |
echo "\r\n\r\n<?xml-stylesheet type=\"text/xsl\" href=\"" . esc_url( $xslUrl ) . "\"?>\r\n";
|
65 |
-
include_once
|
66 |
|
67 |
return;
|
68 |
}
|
@@ -71,7 +71,7 @@ class Output {
|
|
71 |
$xslUrl = add_query_arg( 'sitemap', aioseo()->sitemap->indexName, home_url() . '/default.xsl' );
|
72 |
|
73 |
echo "\r\n\r\n<?xml-stylesheet type=\"text/xsl\" href=\"" . esc_url( $xslUrl ) . "\"?>\r\n";
|
74 |
-
include
|
75 |
|
76 |
return;
|
77 |
}
|
@@ -79,7 +79,7 @@ class Output {
|
|
79 |
$xslUrl = add_query_arg( 'sitemap', aioseo()->sitemap->indexName, home_url() . '/default.xsl' );
|
80 |
|
81 |
echo "\r\n\r\n<?xml-stylesheet type=\"text/xsl\" href=\"" . esc_url( $xslUrl ) . "\"?>\r\n";
|
82 |
-
include
|
83 |
}
|
84 |
|
85 |
/**
|
62 |
}
|
63 |
|
64 |
echo "\r\n\r\n<?xml-stylesheet type=\"text/xsl\" href=\"" . esc_url( $xslUrl ) . "\"?>\r\n";
|
65 |
+
include_once AIOSEO_DIR . '/app/Common/Views/sitemap/xml/rss.php';
|
66 |
|
67 |
return;
|
68 |
}
|
71 |
$xslUrl = add_query_arg( 'sitemap', aioseo()->sitemap->indexName, home_url() . '/default.xsl' );
|
72 |
|
73 |
echo "\r\n\r\n<?xml-stylesheet type=\"text/xsl\" href=\"" . esc_url( $xslUrl ) . "\"?>\r\n";
|
74 |
+
include AIOSEO_DIR . '/app/Common/Views/sitemap/xml/root.php';
|
75 |
|
76 |
return;
|
77 |
}
|
79 |
$xslUrl = add_query_arg( 'sitemap', aioseo()->sitemap->indexName, home_url() . '/default.xsl' );
|
80 |
|
81 |
echo "\r\n\r\n<?xml-stylesheet type=\"text/xsl\" href=\"" . esc_url( $xslUrl ) . "\"?>\r\n";
|
82 |
+
include AIOSEO_DIR . '/app/Common/Views/sitemap/xml/default.php';
|
83 |
}
|
84 |
|
85 |
/**
|
app/Common/Sitemap/Ping.php
CHANGED
@@ -56,9 +56,9 @@ class Ping {
|
|
56 |
}
|
57 |
|
58 |
// First, unschedule any ping actions that might already be enqueued.
|
59 |
-
aioseo()->
|
60 |
// Then, schedule the new ping.
|
61 |
-
aioseo()->
|
62 |
}
|
63 |
|
64 |
/**
|
56 |
}
|
57 |
|
58 |
// First, unschedule any ping actions that might already be enqueued.
|
59 |
+
aioseo()->actionScheduler->unschedule( 'aioseo_sitemap_ping' );
|
60 |
// Then, schedule the new ping.
|
61 |
+
aioseo()->actionScheduler->scheduleSingle( 'aioseo_sitemap_ping', 30 );
|
62 |
}
|
63 |
|
64 |
/**
|
app/Common/Sitemap/Sitemap.php
CHANGED
@@ -14,6 +14,114 @@ use AIOSEO\Plugin\Common\Models;
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Sitemap {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
@@ -31,7 +139,8 @@ class Sitemap {
|
|
31 |
$this->helpers = new Helpers();
|
32 |
$this->requestParser = new RequestParser();
|
33 |
$this->xsl = new Xsl();
|
34 |
-
|
|
|
35 |
|
36 |
$this->disableWpSitemap();
|
37 |
}
|
@@ -80,7 +189,7 @@ class Sitemap {
|
|
80 |
* @return void
|
81 |
*/
|
82 |
private function maybeAddHtaccessRewriteRules() {
|
83 |
-
if ( ! aioseo()->helpers->isApache() ) {
|
84 |
return;
|
85 |
}
|
86 |
|
@@ -92,7 +201,9 @@ class Sitemap {
|
|
92 |
|
93 |
$contents = aioseo()->helpers->decodeHtmlEntities( aioseo()->htaccess->getContents() );
|
94 |
if ( get_option( 'permalink_structure' ) ) {
|
95 |
-
if ( preg_match( '/All in One SEO Sitemap Rewrite Rules/i', $contents ) ) {
|
|
|
|
|
96 |
$contents = preg_replace( "/$escapedRewriteRules/i", '', $contents );
|
97 |
aioseo()->htaccess->saveContents( $contents );
|
98 |
}
|
@@ -100,10 +211,12 @@ class Sitemap {
|
|
100 |
return;
|
101 |
}
|
102 |
|
103 |
-
if ( preg_match( '/All in One SEO Sitemap Rewrite Rules/i', $contents ) ) {
|
104 |
return;
|
105 |
}
|
106 |
|
|
|
|
|
107 |
$contents .= $rewriteRules;
|
108 |
|
109 |
aioseo()->htaccess->saveContents( $contents );
|
@@ -127,7 +240,7 @@ class Sitemap {
|
|
127 |
return;
|
128 |
}
|
129 |
|
130 |
-
require_once
|
131 |
$files = list_files( get_home_path(), 1 );
|
132 |
if ( ! count( $files ) ) {
|
133 |
return;
|
@@ -332,7 +445,7 @@ class Sitemap {
|
|
332 |
return;
|
333 |
}
|
334 |
|
335 |
-
require_once
|
336 |
if ( ! aioseo()->core->fs->exists( get_home_path() . $_SERVER['REQUEST_URI'] ) ) {
|
337 |
$this->scheduleRegeneration();
|
338 |
}
|
@@ -362,7 +475,7 @@ class Sitemap {
|
|
362 |
global $wp_query;
|
363 |
$wp_query->set_404();
|
364 |
status_header( 404 );
|
365 |
-
include
|
366 |
exit;
|
367 |
}
|
368 |
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Sitemap {
|
17 |
+
/**
|
18 |
+
* Content class instance.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var Content
|
23 |
+
*/
|
24 |
+
public $content = null;
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Root class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var Root
|
32 |
+
*/
|
33 |
+
public $root = null;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Query class instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var Query
|
41 |
+
*/
|
42 |
+
public $query = null;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* File class instance.
|
46 |
+
*
|
47 |
+
* @since 4.2.7
|
48 |
+
*
|
49 |
+
* @var File
|
50 |
+
*/
|
51 |
+
public $file = null;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Image class instance.
|
55 |
+
*
|
56 |
+
* @since 4.2.7
|
57 |
+
*
|
58 |
+
* @var Image\Image
|
59 |
+
*/
|
60 |
+
public $image = null;
|
61 |
+
|
62 |
+
/**
|
63 |
+
* Ping class instance.
|
64 |
+
*
|
65 |
+
* @since 4.2.7
|
66 |
+
*
|
67 |
+
* @var Ping
|
68 |
+
*/
|
69 |
+
public $ping = null;
|
70 |
+
|
71 |
+
/**
|
72 |
+
* Priority class instance.
|
73 |
+
*
|
74 |
+
* @since 4.2.7
|
75 |
+
*
|
76 |
+
* @var Priority
|
77 |
+
*/
|
78 |
+
public $priority = null;
|
79 |
+
|
80 |
+
/**
|
81 |
+
* Output class instance.
|
82 |
+
*
|
83 |
+
* @since 4.2.7
|
84 |
+
*
|
85 |
+
* @var Output
|
86 |
+
*/
|
87 |
+
public $output = null;
|
88 |
+
|
89 |
+
/**
|
90 |
+
* Helpers class instance.
|
91 |
+
*
|
92 |
+
* @since 4.2.7
|
93 |
+
*
|
94 |
+
* @var Helpers
|
95 |
+
*/
|
96 |
+
public $helpers = null;
|
97 |
+
|
98 |
+
/**
|
99 |
+
* RequestParser class instance.
|
100 |
+
*
|
101 |
+
* @since 4.2.7
|
102 |
+
*
|
103 |
+
* @var RequestParser
|
104 |
+
*/
|
105 |
+
public $requestParser = null;
|
106 |
+
|
107 |
+
/**
|
108 |
+
* Xsl class instance.
|
109 |
+
*
|
110 |
+
* @since 4.2.7
|
111 |
+
*
|
112 |
+
* @var Xsl
|
113 |
+
*/
|
114 |
+
public $xsl = null;
|
115 |
+
|
116 |
+
/**
|
117 |
+
* The sitemap type (e.g. "general", "news", "video", "rss", etc.).
|
118 |
+
*
|
119 |
+
* @since 4.2.7
|
120 |
+
*
|
121 |
+
* @var string
|
122 |
+
*/
|
123 |
+
public $type = '';
|
124 |
+
|
125 |
/**
|
126 |
* Class constructor.
|
127 |
*
|
139 |
$this->helpers = new Helpers();
|
140 |
$this->requestParser = new RequestParser();
|
141 |
$this->xsl = new Xsl();
|
142 |
+
|
143 |
+
new Localization();
|
144 |
|
145 |
$this->disableWpSitemap();
|
146 |
}
|
189 |
* @return void
|
190 |
*/
|
191 |
private function maybeAddHtaccessRewriteRules() {
|
192 |
+
if ( ! aioseo()->helpers->isApache() || wp_doing_ajax() || wp_doing_cron() ) {
|
193 |
return;
|
194 |
}
|
195 |
|
201 |
|
202 |
$contents = aioseo()->helpers->decodeHtmlEntities( aioseo()->htaccess->getContents() );
|
203 |
if ( get_option( 'permalink_structure' ) ) {
|
204 |
+
if ( preg_match( '/All in One SEO Sitemap Rewrite Rules/i', $contents ) && ! aioseo()->core->cache->get( 'aioseo_sitemap_htaccess_rewrite_rules_remove' ) ) {
|
205 |
+
aioseo()->core->cache->update( 'aioseo_sitemap_htaccess_rewrite_rules_remove', time(), HOUR_IN_SECONDS );
|
206 |
+
|
207 |
$contents = preg_replace( "/$escapedRewriteRules/i", '', $contents );
|
208 |
aioseo()->htaccess->saveContents( $contents );
|
209 |
}
|
211 |
return;
|
212 |
}
|
213 |
|
214 |
+
if ( preg_match( '/All in One SEO Sitemap Rewrite Rules/i', $contents ) || aioseo()->core->cache->get( 'aioseo_sitemap_htaccess_rewrite_rules_add' ) ) {
|
215 |
return;
|
216 |
}
|
217 |
|
218 |
+
aioseo()->core->cache->update( 'aioseo_sitemap_htaccess_rewrite_rules_add', time(), HOUR_IN_SECONDS );
|
219 |
+
|
220 |
$contents .= $rewriteRules;
|
221 |
|
222 |
aioseo()->htaccess->saveContents( $contents );
|
240 |
return;
|
241 |
}
|
242 |
|
243 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
244 |
$files = list_files( get_home_path(), 1 );
|
245 |
if ( ! count( $files ) ) {
|
246 |
return;
|
445 |
return;
|
446 |
}
|
447 |
|
448 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
449 |
if ( ! aioseo()->core->fs->exists( get_home_path() . $_SERVER['REQUEST_URI'] ) ) {
|
450 |
$this->scheduleRegeneration();
|
451 |
}
|
475 |
global $wp_query;
|
476 |
$wp_query->set_404();
|
477 |
status_header( 404 );
|
478 |
+
include get_404_template();
|
479 |
exit;
|
480 |
}
|
481 |
|
app/Common/Sitemap/Xsl.php
CHANGED
@@ -65,7 +65,7 @@ class Xsl {
|
|
65 |
$title = trim( $title );
|
66 |
|
67 |
echo '<?xml version="1.0" encoding="' . esc_attr( $charset ) . '"?>';
|
68 |
-
include_once
|
69 |
exit;
|
70 |
}
|
71 |
|
65 |
$title = trim( $title );
|
66 |
|
67 |
echo '<?xml version="1.0" encoding="' . esc_attr( $charset ) . '"?>';
|
68 |
+
include_once AIOSEO_DIR . '/app/Common/Views/sitemap/xsl/default.php';
|
69 |
exit;
|
70 |
}
|
71 |
|
app/Common/Social/Social.php
CHANGED
@@ -23,6 +23,42 @@ class Social {
|
|
23 |
*/
|
24 |
private $bustOgCacheActionName = 'aioseo_og_cache_bust_post';
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
@@ -136,12 +172,12 @@ class Social {
|
|
136 |
return;
|
137 |
}
|
138 |
|
139 |
-
if ( aioseo()->
|
140 |
return;
|
141 |
}
|
142 |
|
143 |
// Schedule the new ping.
|
144 |
-
aioseo()->
|
145 |
}
|
146 |
|
147 |
/**
|
23 |
*/
|
24 |
private $bustOgCacheActionName = 'aioseo_og_cache_bust_post';
|
25 |
|
26 |
+
/**
|
27 |
+
* Image class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var Image
|
32 |
+
*/
|
33 |
+
public $image = null;
|
34 |
+
|
35 |
+
/**
|
36 |
+
* Facebook class instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var Facebook
|
41 |
+
*/
|
42 |
+
public $facebook = null;
|
43 |
+
|
44 |
+
/**
|
45 |
+
* Twitter class instance.
|
46 |
+
*
|
47 |
+
* @since 4.2.7
|
48 |
+
*
|
49 |
+
* @var Twitter
|
50 |
+
*/
|
51 |
+
public $twitter = null;
|
52 |
+
|
53 |
+
/**
|
54 |
+
* Output class instance.
|
55 |
+
*
|
56 |
+
* @since 4.2.7
|
57 |
+
*
|
58 |
+
* @var Output
|
59 |
+
*/
|
60 |
+
public $output = null;
|
61 |
+
|
62 |
/**
|
63 |
* Class constructor.
|
64 |
*
|
172 |
return;
|
173 |
}
|
174 |
|
175 |
+
if ( aioseo()->actionScheduler->isScheduled( $this->bustOgCacheActionName, [ 'postId' => $postId ] ) ) {
|
176 |
return;
|
177 |
}
|
178 |
|
179 |
// Schedule the new ping.
|
180 |
+
aioseo()->actionScheduler->scheduleAsync( $this->bustOgCacheActionName, [ 'postId' => $postId ] );
|
181 |
}
|
182 |
|
183 |
/**
|
app/Common/Standalone/DetailsColumn.php
CHANGED
@@ -76,7 +76,6 @@ class DetailsColumn {
|
|
76 |
|
77 |
add_filter( "manage_edit-{$screen->post_type}_columns", [ $this, 'addColumn' ] );
|
78 |
add_action( "manage_{$screen->post_type}_posts_custom_column", [ $this, 'renderColumn' ], 10, 2 );
|
79 |
-
|
80 |
}
|
81 |
|
82 |
/**
|
@@ -206,7 +205,7 @@ class DetailsColumn {
|
|
206 |
$wp_scripts->add_data( 'aioseo/js/' . $this->scriptSlug, 'data', '' );
|
207 |
wp_localize_script( 'aioseo/js/' . $this->scriptSlug, 'aioseo', $data );
|
208 |
|
209 |
-
require
|
210 |
}
|
211 |
|
212 |
/**
|
76 |
|
77 |
add_filter( "manage_edit-{$screen->post_type}_columns", [ $this, 'addColumn' ] );
|
78 |
add_action( "manage_{$screen->post_type}_posts_custom_column", [ $this, 'renderColumn' ], 10, 2 );
|
|
|
79 |
}
|
80 |
|
81 |
/**
|
205 |
$wp_scripts->add_data( 'aioseo/js/' . $this->scriptSlug, 'data', '' );
|
206 |
wp_localize_script( 'aioseo/js/' . $this->scriptSlug, 'aioseo', $data );
|
207 |
|
208 |
+
require AIOSEO_DIR . '/app/Common/Views/admin/posts/columns.php';
|
209 |
}
|
210 |
|
211 |
/**
|
app/Common/Standalone/PageBuilders/Base.php
CHANGED
@@ -94,7 +94,7 @@ abstract class Base {
|
|
94 |
* @return boolean Whether or not the plugin is active.
|
95 |
*/
|
96 |
public function isPluginActive() {
|
97 |
-
include_once
|
98 |
|
99 |
foreach ( $this->plugins as $basename ) {
|
100 |
if ( is_plugin_active( $basename ) ) {
|
94 |
* @return boolean Whether or not the plugin is active.
|
95 |
*/
|
96 |
public function isPluginActive() {
|
97 |
+
include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
98 |
|
99 |
foreach ( $this->plugins as $basename ) {
|
100 |
if ( is_plugin_active( $basename ) ) {
|
app/Common/Standalone/Standalone.php
CHANGED
@@ -9,18 +9,64 @@ use AIOSEO\Plugin\Pro\Standalone as ProStandalone;
|
|
9 |
* @since 4.2.0
|
10 |
*/
|
11 |
class Standalone {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
/**
|
13 |
* Class constructor.
|
14 |
*
|
15 |
* @since 4.2.0
|
16 |
*/
|
17 |
public function __construct() {
|
18 |
-
$this->detailsColumn = aioseo()->pro ? new ProStandalone\DetailsColumn : new DetailsColumn;
|
19 |
$this->headlineAnalyzer = new HeadlineAnalyzer;
|
20 |
$this->flyoutMenu = new FlyoutMenu;
|
21 |
-
$this->userProfileTab = new UserProfileTab;
|
22 |
$this->setupWizard = new SetupWizard;
|
23 |
|
|
|
|
|
|
|
24 |
new PublishPanel;
|
25 |
new LimitModifiedDate;
|
26 |
new Notifications;
|
9 |
* @since 4.2.0
|
10 |
*/
|
11 |
class Standalone {
|
12 |
+
/**
|
13 |
+
* HeadlineAnalyzer class instance.
|
14 |
+
*
|
15 |
+
* @since 4.2.7
|
16 |
+
*
|
17 |
+
* @var HeadlineAnalyzer
|
18 |
+
*/
|
19 |
+
public $headlineAnalyzer = null;
|
20 |
+
|
21 |
+
/**
|
22 |
+
* FlyoutMenu class instance.
|
23 |
+
*
|
24 |
+
* @since 4.2.7
|
25 |
+
*
|
26 |
+
* @var FlyoutMenu
|
27 |
+
*/
|
28 |
+
public $flyoutMenu = null;
|
29 |
+
|
30 |
+
/**
|
31 |
+
* SetupWizard class instance.
|
32 |
+
*
|
33 |
+
* @since 4.2.7
|
34 |
+
*
|
35 |
+
* @var SetupWizard
|
36 |
+
*/
|
37 |
+
public $setupWizard = null;
|
38 |
+
|
39 |
+
/**
|
40 |
+
* List of page builder integration class instances.
|
41 |
+
*
|
42 |
+
* @since 4.2.7
|
43 |
+
*
|
44 |
+
* @var array[Object]
|
45 |
+
*/
|
46 |
+
public $pageBuilderIntegrations = [];
|
47 |
+
|
48 |
+
/**
|
49 |
+
* List of block class instances.
|
50 |
+
*
|
51 |
+
* @since 4.2.7
|
52 |
+
*
|
53 |
+
* @var array[Object]
|
54 |
+
*/
|
55 |
+
public $standaloneBlocks = [];
|
56 |
+
|
57 |
/**
|
58 |
* Class constructor.
|
59 |
*
|
60 |
* @since 4.2.0
|
61 |
*/
|
62 |
public function __construct() {
|
|
|
63 |
$this->headlineAnalyzer = new HeadlineAnalyzer;
|
64 |
$this->flyoutMenu = new FlyoutMenu;
|
|
|
65 |
$this->setupWizard = new SetupWizard;
|
66 |
|
67 |
+
aioseo()->pro ? new ProStandalone\DetailsColumn : new DetailsColumn;
|
68 |
+
|
69 |
+
new UserProfileTab;
|
70 |
new PublishPanel;
|
71 |
new LimitModifiedDate;
|
72 |
new Notifications;
|
app/Common/ThirdParty/Cache/Cache.php
CHANGED
@@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
7 |
}
|
8 |
|
9 |
/**
|
10 |
-
*
|
11 |
*
|
12 |
* @since 4.2.5
|
13 |
*/
|
@@ -24,14 +24,26 @@ class Cache {
|
|
24 |
'AIOSEO\Plugin\Common\ThirdParty\Cache\WpFastestCache' => 'wp-fastest-cache/wpFastestCache.php'
|
25 |
];
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
/**
|
28 |
* Class constructor.
|
29 |
*
|
30 |
* @since 4.2.5
|
31 |
*/
|
32 |
public function __construct() {
|
33 |
-
|
|
|
|
|
34 |
|
|
|
35 |
foreach ( $this->plugins as $class => $relativeFilePath ) {
|
36 |
if ( is_plugin_active( $relativeFilePath ) ) {
|
37 |
$this->activePlugins[] = new $class( $relativeFilePath );
|
7 |
}
|
8 |
|
9 |
/**
|
10 |
+
* Handles third-party caching plugins.
|
11 |
*
|
12 |
* @since 4.2.5
|
13 |
*/
|
24 |
'AIOSEO\Plugin\Common\ThirdParty\Cache\WpFastestCache' => 'wp-fastest-cache/wpFastestCache.php'
|
25 |
];
|
26 |
|
27 |
+
/**
|
28 |
+
* List of active plugins and their instances.
|
29 |
+
*
|
30 |
+
* @since 4.2.7
|
31 |
+
*
|
32 |
+
* @var array[Object]
|
33 |
+
*/
|
34 |
+
private $activePlugins = [];
|
35 |
+
|
36 |
/**
|
37 |
* Class constructor.
|
38 |
*
|
39 |
* @since 4.2.5
|
40 |
*/
|
41 |
public function __construct() {
|
42 |
+
if ( ! function_exists( 'is_plugin_active' ) ) {
|
43 |
+
include_once ABSPATH . 'wp-admin/includes/plugin.php';
|
44 |
+
}
|
45 |
|
46 |
+
$this->activePlugins = [];
|
47 |
foreach ( $this->plugins as $class => $relativeFilePath ) {
|
48 |
if ( is_plugin_active( $relativeFilePath ) ) {
|
49 |
$this->activePlugins[] = new $class( $relativeFilePath );
|
app/Common/ThirdParty/Cache/WpFastestCache.php
CHANGED
@@ -23,6 +23,24 @@ final class WpFastestCache {
|
|
23 |
*/
|
24 |
private $exclusionRules = [];
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
23 |
*/
|
24 |
private $exclusionRules = [];
|
25 |
|
26 |
+
/**
|
27 |
+
* The relative file path.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var string
|
32 |
+
*/
|
33 |
+
private $relativeFilePath = '';
|
34 |
+
|
35 |
+
/**
|
36 |
+
* The WPFastestCache instance.
|
37 |
+
*
|
38 |
+
* @since 4.2.7
|
39 |
+
*
|
40 |
+
* @var Object
|
41 |
+
*/
|
42 |
+
private $wpFastestCache = null;
|
43 |
+
|
44 |
/**
|
45 |
* Class constructor.
|
46 |
*
|
app/Common/ThirdParty/ThirdParty.php
CHANGED
@@ -12,6 +12,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
12 |
* @since 4.2.5
|
13 |
*/
|
14 |
class ThirdParty {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class constructor.
|
17 |
*
|
12 |
* @since 4.2.5
|
13 |
*/
|
14 |
class ThirdParty {
|
15 |
+
/**
|
16 |
+
* Cache class instance.
|
17 |
+
*
|
18 |
+
* @since 4.2.7
|
19 |
+
*
|
20 |
+
* @var Cache\Cache
|
21 |
+
*/
|
22 |
+
public $cache = null;
|
23 |
+
|
24 |
/**
|
25 |
* Class constructor.
|
26 |
*
|
app/Common/Tools/BadBotBlocker.php
CHANGED
@@ -277,7 +277,7 @@ class BadBotBlocker {
|
|
277 |
$fs->putContents( $filePath, '' );
|
278 |
}
|
279 |
|
280 |
-
return $this->getLogSize(
|
281 |
}
|
282 |
|
283 |
/**
|
277 |
$fs->putContents( $filePath, '' );
|
278 |
}
|
279 |
|
280 |
+
return $this->getLogSize();
|
281 |
}
|
282 |
|
283 |
/**
|
app/Common/Tools/RobotsTxt.php
CHANGED
@@ -540,6 +540,7 @@ class RobotsTxt {
|
|
540 |
* @return array The unique array.
|
541 |
*/
|
542 |
private function robotsArrayUnique( &$s ) {
|
|
|
543 |
foreach ( $s as $i => &$e ) {
|
544 |
if ( is_array( $e ) && ! empty( $e ) ) {
|
545 |
$e = $this->robotsArrayUnique( $e );
|
@@ -547,9 +548,9 @@ class RobotsTxt {
|
|
547 |
}
|
548 |
if ( is_numeric( $i ) ) {
|
549 |
return array_unique( $s, SORT_REGULAR );
|
550 |
-
} else {
|
551 |
-
return $s;
|
552 |
}
|
|
|
|
|
553 |
}
|
554 |
|
555 |
/**
|
540 |
* @return array The unique array.
|
541 |
*/
|
542 |
private function robotsArrayUnique( &$s ) {
|
543 |
+
$i = false;
|
544 |
foreach ( $s as $i => &$e ) {
|
545 |
if ( is_array( $e ) && ! empty( $e ) ) {
|
546 |
$e = $this->robotsArrayUnique( $e );
|
548 |
}
|
549 |
if ( is_numeric( $i ) ) {
|
550 |
return array_unique( $s, SORT_REGULAR );
|
|
|
|
|
551 |
}
|
552 |
+
|
553 |
+
return $s;
|
554 |
}
|
555 |
|
556 |
/**
|
app/Common/Tools/SystemStatus.php
CHANGED
@@ -55,7 +55,7 @@ class SystemStatus {
|
|
55 |
],
|
56 |
[
|
57 |
'header' => __( 'Site Language', 'all-in-one-seo-pack' ),
|
58 |
-
'value' =>
|
59 |
],
|
60 |
[
|
61 |
'header' => __( 'User Language', 'all-in-one-seo-pack' ),
|
55 |
],
|
56 |
[
|
57 |
'header' => __( 'Site Language', 'all-in-one-seo-pack' ),
|
58 |
+
'value' => get_locale() ?: 'en_US'
|
59 |
],
|
60 |
[
|
61 |
'header' => __( 'User Language', 'all-in-one-seo-pack' ),
|
app/Common/Traits/Assets.php
CHANGED
@@ -57,6 +57,42 @@ trait Assets {
|
|
57 |
*/
|
58 |
private $noModuleTag = [];
|
59 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
/**
|
61 |
* The asset to load.
|
62 |
*
|
@@ -353,8 +389,10 @@ trait Assets {
|
|
353 |
return $file;
|
354 |
}
|
355 |
|
356 |
-
|
357 |
-
|
|
|
|
|
358 |
|
359 |
return $file;
|
360 |
}
|
@@ -380,8 +418,10 @@ trait Assets {
|
|
380 |
return $file;
|
381 |
}
|
382 |
|
383 |
-
|
384 |
-
|
|
|
|
|
385 |
|
386 |
return $file;
|
387 |
}
|
57 |
*/
|
58 |
private $noModuleTag = [];
|
59 |
|
60 |
+
/**
|
61 |
+
* Core class instance.
|
62 |
+
*
|
63 |
+
* @since 4.2.7
|
64 |
+
*
|
65 |
+
* @var \AIOSEO\Plugin\Common\Core\Core
|
66 |
+
*/
|
67 |
+
protected $core = null;
|
68 |
+
|
69 |
+
/**
|
70 |
+
* The LocalBusiness addon version.
|
71 |
+
*
|
72 |
+
* @since 4.2.7
|
73 |
+
*
|
74 |
+
* @var string
|
75 |
+
*/
|
76 |
+
protected $version = '';
|
77 |
+
|
78 |
+
/**
|
79 |
+
* The development site domain.
|
80 |
+
*
|
81 |
+
* @since 4.2.7
|
82 |
+
*
|
83 |
+
* @var string
|
84 |
+
*/
|
85 |
+
protected $domain = '';
|
86 |
+
|
87 |
+
/**
|
88 |
+
* The development server port.
|
89 |
+
*
|
90 |
+
* @since 4.2.7
|
91 |
+
*
|
92 |
+
* @var int
|
93 |
+
*/
|
94 |
+
protected $port = 0;
|
95 |
+
|
96 |
/**
|
97 |
* The asset to load.
|
98 |
*
|
389 |
return $file;
|
390 |
}
|
391 |
|
392 |
+
$manifestJson = ''; // This is set in the view.
|
393 |
+
require $this->manifestFile;
|
394 |
+
|
395 |
+
$file = json_decode( $manifestJson, true );
|
396 |
|
397 |
return $file;
|
398 |
}
|
418 |
return $file;
|
419 |
}
|
420 |
|
421 |
+
$manifestJson = ''; // This is set in the view.
|
422 |
+
require $this->assetManifestFile;
|
423 |
+
|
424 |
+
$file = json_decode( $manifestJson, true );
|
425 |
|
426 |
return $file;
|
427 |
}
|
app/Common/Traits/Helpers/ActionScheduler.php
DELETED
@@ -1,146 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\Traits\Helpers;
|
3 |
-
|
4 |
-
// Exit if accessed directly.
|
5 |
-
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
-
exit;
|
7 |
-
}
|
8 |
-
|
9 |
-
/**
|
10 |
-
* Contains Action Scheduler specific helper methods.
|
11 |
-
*
|
12 |
-
* @since 4.0.13
|
13 |
-
*/
|
14 |
-
trait ActionScheduler {
|
15 |
-
/**
|
16 |
-
* The action scheduler group.
|
17 |
-
*
|
18 |
-
* @since 4.1.5
|
19 |
-
*
|
20 |
-
* @var string
|
21 |
-
*/
|
22 |
-
private $actionSchedulerGroup = 'aioseo';
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Schedules a single action at a specific time in the future.
|
26 |
-
*
|
27 |
-
* @since 4.0.13
|
28 |
-
*
|
29 |
-
* @param string $actionName The action name.
|
30 |
-
* @param int $time The time to add to the current time.
|
31 |
-
* @param array $args Args passed down to the action.
|
32 |
-
* @param bool $forceSchedule Whether we should schedule a new action regardless of whether one is already set.
|
33 |
-
* @return boolean Whether the action was scheduled.
|
34 |
-
*/
|
35 |
-
public function scheduleSingleAction( $actionName, $time, $args = [], $forceSchedule = false ) {
|
36 |
-
try {
|
37 |
-
if ( $forceSchedule || ! $this->isScheduledAction( $actionName ) ) {
|
38 |
-
as_schedule_single_action( time() + $time, $actionName, $args, $this->actionSchedulerGroup );
|
39 |
-
|
40 |
-
return true;
|
41 |
-
}
|
42 |
-
} catch ( \RuntimeException $e ) {
|
43 |
-
// Nothing needs to happen.
|
44 |
-
}
|
45 |
-
|
46 |
-
return false;
|
47 |
-
}
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Checks if a given action is already scheduled.
|
51 |
-
*
|
52 |
-
* @since 4.0.13
|
53 |
-
*
|
54 |
-
* @param string $actionName The action name.
|
55 |
-
* @param array $args Args passed down to the action.
|
56 |
-
* @return boolean Whether the action is already scheduled.
|
57 |
-
*/
|
58 |
-
public function isScheduledAction( $actionName, $args = [] ) {
|
59 |
-
// We need to check for pending actions specifically since we otherwise cannot schedule another action while one is running (e.g. image and video sitemap scans).
|
60 |
-
$pendingArgs = [
|
61 |
-
'hook' => $actionName,
|
62 |
-
'status' => \ActionScheduler_Store::STATUS_PENDING,
|
63 |
-
'per_page' => 1
|
64 |
-
];
|
65 |
-
|
66 |
-
$runningArgs = [
|
67 |
-
'hook' => $actionName,
|
68 |
-
'status' => \ActionScheduler_Store::STATUS_RUNNING,
|
69 |
-
'per_page' => 1
|
70 |
-
];
|
71 |
-
|
72 |
-
if ( ! empty( $args ) ) {
|
73 |
-
$pendingArgs['args'] = $args;
|
74 |
-
$runningArgs['args'] = $args;
|
75 |
-
}
|
76 |
-
|
77 |
-
$actions = array_merge(
|
78 |
-
as_get_scheduled_actions( $pendingArgs ),
|
79 |
-
as_get_scheduled_actions( $runningArgs )
|
80 |
-
);
|
81 |
-
|
82 |
-
return ! empty( $actions );
|
83 |
-
}
|
84 |
-
|
85 |
-
/**
|
86 |
-
* Unschedule an action.
|
87 |
-
*
|
88 |
-
* @since 4.1.4
|
89 |
-
*
|
90 |
-
* @param string $actionName The action name to unschedule.
|
91 |
-
* @param array $args Args passed down to the action.
|
92 |
-
* @return void
|
93 |
-
*/
|
94 |
-
public function unscheduleAction( $actionName, $args = [] ) {
|
95 |
-
try {
|
96 |
-
if ( as_next_scheduled_action( $actionName ) ) {
|
97 |
-
as_unschedule_action( $actionName, $args, $this->actionSchedulerGroup );
|
98 |
-
}
|
99 |
-
} catch ( \Exception $e ) {
|
100 |
-
// Do nothing.
|
101 |
-
}
|
102 |
-
}
|
103 |
-
|
104 |
-
/**
|
105 |
-
* Schedules a recurring action.
|
106 |
-
*
|
107 |
-
* @since 4.1.5
|
108 |
-
*
|
109 |
-
* @param string $actionName The action name.
|
110 |
-
* @param int $time The seconds to add to the current time.
|
111 |
-
* @param int $interval The interval in seconds.
|
112 |
-
* @param array $args Args passed down to the action.
|
113 |
-
* @return boolean Whether the action was scheduled.
|
114 |
-
*/
|
115 |
-
public function scheduleRecurrentAction( $actionName, $time, $interval = HOUR_IN_MINUTES, $args = [] ) {
|
116 |
-
try {
|
117 |
-
if ( ! $this->isScheduledAction( $actionName ) ) {
|
118 |
-
as_schedule_recurring_action( time() + $time, $interval, $actionName, $args, $this->actionSchedulerGroup );
|
119 |
-
|
120 |
-
return true;
|
121 |
-
}
|
122 |
-
} catch ( \RuntimeException $e ) {
|
123 |
-
// Nothing needs to happen.
|
124 |
-
}
|
125 |
-
|
126 |
-
return false;
|
127 |
-
}
|
128 |
-
|
129 |
-
/**
|
130 |
-
* Schedule a single async action.
|
131 |
-
*
|
132 |
-
* @since 4.1.6
|
133 |
-
*
|
134 |
-
* @param string $actionName The name of the action.
|
135 |
-
* @param array $args Any relevant arguments.
|
136 |
-
* @return void
|
137 |
-
*/
|
138 |
-
public function scheduleAsyncAction( $actionName, $args = [] ) {
|
139 |
-
try {
|
140 |
-
// Run the task immediately using an async action.
|
141 |
-
as_enqueue_async_action( $actionName, $args, $this->actionSchedulerGroup );
|
142 |
-
} catch ( \Exception $e ) {
|
143 |
-
// Do nothing.
|
144 |
-
}
|
145 |
-
}
|
146 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/Common/Traits/Helpers/Api.php
CHANGED
@@ -19,7 +19,7 @@ trait Api {
|
|
19 |
*
|
20 |
* @param array $body The content to retrieve from the remote URL.
|
21 |
* @param array $headers The headers to send to the remote URL.
|
22 |
-
* @return string|
|
23 |
*/
|
24 |
public function sendRequest( $url, $body = [], $headers = [] ) {
|
25 |
$body = wp_json_encode( $body );
|
@@ -45,7 +45,7 @@ trait Api {
|
|
45 |
|
46 |
// Bail out early if there are any errors.
|
47 |
if ( ! $responseBody ) {
|
48 |
-
return
|
49 |
}
|
50 |
|
51 |
// Return the json decoded content.
|
19 |
*
|
20 |
* @param array $body The content to retrieve from the remote URL.
|
21 |
* @param array $headers The headers to send to the remote URL.
|
22 |
+
* @return string|null JSON decoded response on success, false on failure.
|
23 |
*/
|
24 |
public function sendRequest( $url, $body = [], $headers = [] ) {
|
25 |
$body = wp_json_encode( $body );
|
45 |
|
46 |
// Bail out early if there are any errors.
|
47 |
if ( ! $responseBody ) {
|
48 |
+
return null;
|
49 |
}
|
50 |
|
51 |
// Return the json decoded content.
|
app/Common/Traits/Helpers/Deprecated.php
CHANGED
@@ -118,7 +118,7 @@ trait Deprecated {
|
|
118 |
* @return WP_Filesystem The filesystem object.
|
119 |
*/
|
120 |
public function wpfs( $args = [] ) {
|
121 |
-
require_once
|
122 |
WP_Filesystem( $args );
|
123 |
|
124 |
global $wp_filesystem;
|
118 |
* @return WP_Filesystem The filesystem object.
|
119 |
*/
|
120 |
public function wpfs( $args = [] ) {
|
121 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
122 |
WP_Filesystem( $args );
|
123 |
|
124 |
global $wp_filesystem;
|
app/Common/Traits/Helpers/ThirdParty.php
CHANGED
@@ -529,6 +529,11 @@ trait ThirdParty {
|
|
529 |
* @return bool Whether the current page is an AMP page.
|
530 |
*/
|
531 |
private function isAmpPageHelper() {
|
|
|
|
|
|
|
|
|
|
|
532 |
global $wp;
|
533 |
|
534 |
// This URL param is set when using plain permalinks.
|
529 |
* @return bool Whether the current page is an AMP page.
|
530 |
*/
|
531 |
private function isAmpPageHelper() {
|
532 |
+
// Check if the AMP or AMP for WP plugin is active.
|
533 |
+
if ( ! function_exists( 'is_amp_endpoint' ) ) {
|
534 |
+
return false;
|
535 |
+
}
|
536 |
+
|
537 |
global $wp;
|
538 |
|
539 |
// This URL param is set when using plain permalinks.
|
app/Common/Traits/Helpers/Wp.php
CHANGED
@@ -697,4 +697,35 @@ trait Wp {
|
|
697 |
|
698 |
return $charset;
|
699 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
700 |
}
|
697 |
|
698 |
return $charset;
|
699 |
}
|
700 |
+
|
701 |
+
/**
|
702 |
+
* Returns the given data as JSON.
|
703 |
+
* We temporarily change the floating point precision in order to prevent rounding errors.
|
704 |
+
* Otherwise e.g. 4.9 could be output as 4.90000004.
|
705 |
+
*
|
706 |
+
* @since 4.2.7
|
707 |
+
*
|
708 |
+
* @param mixed $data The data.
|
709 |
+
* @param int $flags The flags.
|
710 |
+
* @return string The JSON output.
|
711 |
+
*/
|
712 |
+
public function wpJsonEncode( $data, $flags = 0 ) {
|
713 |
+
$originalPrecision = false;
|
714 |
+
$originalSerializePrecision = false;
|
715 |
+
if ( version_compare( PHP_VERSION, '7.1', '>=' ) ) {
|
716 |
+
$originalPrecision = ini_get( 'precision' );
|
717 |
+
$originalSerializePrecision = ini_get( 'serialize_precision' );
|
718 |
+
ini_set( 'precision', 17 );
|
719 |
+
ini_set( 'serialize_precision', -1 );
|
720 |
+
}
|
721 |
+
|
722 |
+
$json = wp_json_encode( $data, $flags );
|
723 |
+
|
724 |
+
if ( version_compare( PHP_VERSION, '7.1', '>=' ) ) {
|
725 |
+
ini_set( 'precision', $originalPrecision );
|
726 |
+
ini_set( 'serialize_precision', $originalSerializePrecision );
|
727 |
+
}
|
728 |
+
|
729 |
+
return $json;
|
730 |
+
}
|
731 |
}
|
app/Common/Traits/Options.php
CHANGED
@@ -615,7 +615,7 @@ trait Options {
|
|
615 |
* @since 4.0.0
|
616 |
*
|
617 |
* @param string $name The option name.
|
618 |
-
* @return
|
619 |
*/
|
620 |
public function getDefault( $name, $resetGroups = true ) {
|
621 |
$defaults = $this->defaultsMerged[ $this->groupKey ];
|
@@ -710,7 +710,7 @@ trait Options {
|
|
710 |
$this->update( $optionsName );
|
711 |
|
712 |
// First, we need to filter our options.
|
713 |
-
$options = $this->filterOptions( $defaults
|
714 |
|
715 |
// Refactor options.
|
716 |
$refactored = $this->convertOptionsToValues( $options );
|
615 |
* @since 4.0.0
|
616 |
*
|
617 |
* @param string $name The option name.
|
618 |
+
* @return mixed The default value.
|
619 |
*/
|
620 |
public function getDefault( $name, $resetGroups = true ) {
|
621 |
$defaults = $this->defaultsMerged[ $this->groupKey ];
|
710 |
$this->update( $optionsName );
|
711 |
|
712 |
// First, we need to filter our options.
|
713 |
+
$options = $this->filterOptions( $defaults );
|
714 |
|
715 |
// Refactor options.
|
716 |
$refactored = $this->convertOptionsToValues( $options );
|
app/Common/Utils/Access.php
CHANGED
@@ -40,6 +40,15 @@ class Access {
|
|
40 |
'aioseo_setup_wizard'
|
41 |
];
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
/**
|
44 |
* Roles we check capabilities against.
|
45 |
*
|
40 |
'aioseo_setup_wizard'
|
41 |
];
|
42 |
|
43 |
+
/**
|
44 |
+
* Whether we're already updating the roles during this request.
|
45 |
+
*
|
46 |
+
* @since 4.2.7
|
47 |
+
*
|
48 |
+
* @var bool
|
49 |
+
*/
|
50 |
+
protected $isUpdatingRoles = false;
|
51 |
+
|
52 |
/**
|
53 |
* Roles we check capabilities against.
|
54 |
*
|
app/Common/Utils/ActionScheduler.php
CHANGED
@@ -11,49 +11,92 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
-
class ActionScheduler
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
/**
|
16 |
* Class Constructor.
|
17 |
*
|
18 |
* @since 4.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
*
|
20 |
-
* @
|
21 |
-
*
|
22 |
-
* @
|
23 |
*/
|
24 |
-
public function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
if (
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
) {
|
33 |
-
$tableList = [
|
34 |
-
'actionscheduler_actions',
|
35 |
-
'actionscheduler_logs',
|
36 |
-
'actionscheduler_groups',
|
37 |
-
'actionscheduler_claims',
|
38 |
-
];
|
39 |
-
|
40 |
-
foreach ( $tableList as $tableName ) {
|
41 |
-
if ( ! aioseo()->core->db->tableExists( $tableName ) ) {
|
42 |
-
$this->recreate_tables();
|
43 |
-
|
44 |
-
return;
|
45 |
-
}
|
46 |
-
}
|
47 |
}
|
48 |
|
49 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
}
|
51 |
|
52 |
/**
|
53 |
* Cleans up the Action Scheduler tables after one of our actions completes.
|
|
|
54 |
*
|
55 |
* @since 4.0.10
|
56 |
*
|
|
|
|
|
57 |
* @return void
|
58 |
*/
|
59 |
public function cleanup( $actionId, $action ) {
|
@@ -104,4 +147,132 @@ class ActionScheduler extends \ActionScheduler_ListTable {
|
|
104 |
AND `aa`.`status` IN ('complete', 'failed', 'canceled');"
|
105 |
);
|
106 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
107 |
}
|
11 |
*
|
12 |
* @since 4.0.0
|
13 |
*/
|
14 |
+
class ActionScheduler {
|
15 |
+
/**
|
16 |
+
* The action scheduler group.
|
17 |
+
*
|
18 |
+
* @since 4.1.5
|
19 |
+
* @version 4.2.7
|
20 |
+
*
|
21 |
+
* @var string
|
22 |
+
*/
|
23 |
+
private $actionSchedulerGroup = 'aioseo';
|
24 |
+
|
25 |
/**
|
26 |
* Class Constructor.
|
27 |
*
|
28 |
* @since 4.0.0
|
29 |
+
*/
|
30 |
+
public function __construct() { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
31 |
+
add_action( 'action_scheduler_after_execute', [ $this, 'cleanup' ], 1000, 2 );
|
32 |
+
|
33 |
+
// Note: \ActionScheduler is first loaded on `plugins_loaded` action hook.
|
34 |
+
add_action( 'plugins_loaded', [ $this, 'maybeRecreateTables' ] );
|
35 |
+
}
|
36 |
+
|
37 |
+
/**
|
38 |
+
* Maybe register the `${table_prefix}_actionscheduler_${suffix}` tables with WordPress and create them if needed.
|
39 |
+
* Hooked into `plugins_loaded` action hook.
|
40 |
*
|
41 |
+
* @since 4.2.7
|
42 |
+
*
|
43 |
+
* @return void
|
44 |
*/
|
45 |
+
public function maybeRecreateTables() {
|
46 |
+
if ( ! is_admin() ) {
|
47 |
+
return;
|
48 |
+
}
|
49 |
+
|
50 |
+
if ( ! apply_filters( 'action_scheduler_enable_recreate_data_store', true ) ) {
|
51 |
+
return;
|
52 |
+
}
|
53 |
+
|
54 |
if (
|
55 |
+
! class_exists( 'ActionScheduler' ) ||
|
56 |
+
! class_exists( 'ActionScheduler_HybridStore' ) ||
|
57 |
+
! class_exists( 'ActionScheduler_StoreSchema' ) ||
|
58 |
+
! class_exists( 'ActionScheduler_LoggerSchema' )
|
59 |
+
) {
|
60 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
+
$store = \ActionScheduler::store();
|
64 |
+
|
65 |
+
if ( ! is_a( $store, 'ActionScheduler_HybridStore' ) ) {
|
66 |
+
$store = new \ActionScheduler_HybridStore();
|
67 |
+
}
|
68 |
+
|
69 |
+
$tableList = [
|
70 |
+
'actionscheduler_actions',
|
71 |
+
'actionscheduler_logs',
|
72 |
+
'actionscheduler_groups',
|
73 |
+
'actionscheduler_claims',
|
74 |
+
];
|
75 |
+
|
76 |
+
foreach ( $tableList as $tableName ) {
|
77 |
+
if ( ! aioseo()->core->db->tableExists( $tableName ) ) {
|
78 |
+
add_action( 'action_scheduler/created_table', [ $store, 'set_autoincrement' ], 10, 2 );
|
79 |
+
|
80 |
+
$storeSchema = new \ActionScheduler_StoreSchema();
|
81 |
+
$loggerSchema = new \ActionScheduler_LoggerSchema();
|
82 |
+
$storeSchema->register_tables( true );
|
83 |
+
$loggerSchema->register_tables( true );
|
84 |
+
|
85 |
+
remove_action( 'action_scheduler/created_table', [ $store, 'set_autoincrement' ] );
|
86 |
+
|
87 |
+
break;
|
88 |
+
}
|
89 |
+
}
|
90 |
}
|
91 |
|
92 |
/**
|
93 |
* Cleans up the Action Scheduler tables after one of our actions completes.
|
94 |
+
* Hooked into `action_scheduler_after_execute` action hook.
|
95 |
*
|
96 |
* @since 4.0.10
|
97 |
*
|
98 |
+
* @param int $actionId The action ID processed.
|
99 |
+
* @param \ActionScheduler_Action $action Class instance.
|
100 |
* @return void
|
101 |
*/
|
102 |
public function cleanup( $actionId, $action ) {
|
147 |
AND `aa`.`status` IN ('complete', 'failed', 'canceled');"
|
148 |
);
|
149 |
}
|
150 |
+
|
151 |
+
/**
|
152 |
+
* Schedules a single action at a specific time in the future.
|
153 |
+
*
|
154 |
+
* @since 4.0.13
|
155 |
+
* @version 4.2.7
|
156 |
+
*
|
157 |
+
* @param string $actionName The action name.
|
158 |
+
* @param int $time The time to add to the current time.
|
159 |
+
* @param array $args Args passed down to the action.
|
160 |
+
* @param bool $forceSchedule Whether we should schedule a new action regardless of whether one is already set.
|
161 |
+
* @return boolean Whether the action was scheduled.
|
162 |
+
*/
|
163 |
+
public function scheduleSingle( $actionName, $time, $args = [], $forceSchedule = false ) {
|
164 |
+
try {
|
165 |
+
if ( $forceSchedule || ! $this->isScheduled( $actionName ) ) {
|
166 |
+
as_schedule_single_action( time() + $time, $actionName, $args, $this->actionSchedulerGroup );
|
167 |
+
|
168 |
+
return true;
|
169 |
+
}
|
170 |
+
} catch ( \RuntimeException $e ) {
|
171 |
+
// Nothing needs to happen.
|
172 |
+
}
|
173 |
+
|
174 |
+
return false;
|
175 |
+
}
|
176 |
+
|
177 |
+
/**
|
178 |
+
* Checks if a given action is already scheduled.
|
179 |
+
*
|
180 |
+
* @since 4.0.13
|
181 |
+
* @version 4.2.7
|
182 |
+
*
|
183 |
+
* @param string $actionName The action name.
|
184 |
+
* @param array $args Args passed down to the action.
|
185 |
+
* @return boolean Whether the action is already scheduled.
|
186 |
+
*/
|
187 |
+
public function isScheduled( $actionName, $args = [] ) {
|
188 |
+
// We need to check for pending actions specifically since we otherwise cannot schedule another action while one is running (e.g. image and video sitemap scans).
|
189 |
+
$pendingArgs = [
|
190 |
+
'hook' => $actionName,
|
191 |
+
'status' => \ActionScheduler_Store::STATUS_PENDING,
|
192 |
+
'per_page' => 1
|
193 |
+
];
|
194 |
+
|
195 |
+
$runningArgs = [
|
196 |
+
'hook' => $actionName,
|
197 |
+
'status' => \ActionScheduler_Store::STATUS_RUNNING,
|
198 |
+
'per_page' => 1
|
199 |
+
];
|
200 |
+
|
201 |
+
if ( ! empty( $args ) ) {
|
202 |
+
$pendingArgs['args'] = $args;
|
203 |
+
$runningArgs['args'] = $args;
|
204 |
+
}
|
205 |
+
|
206 |
+
$actions = array_merge(
|
207 |
+
as_get_scheduled_actions( $pendingArgs ),
|
208 |
+
as_get_scheduled_actions( $runningArgs )
|
209 |
+
);
|
210 |
+
|
211 |
+
return ! empty( $actions );
|
212 |
+
}
|
213 |
+
|
214 |
+
/**
|
215 |
+
* Unschedule an action.
|
216 |
+
*
|
217 |
+
* @since 4.1.4
|
218 |
+
* @version 4.2.7
|
219 |
+
*
|
220 |
+
* @param string $actionName The action name to unschedule.
|
221 |
+
* @param array $args Args passed down to the action.
|
222 |
+
* @return void
|
223 |
+
*/
|
224 |
+
public function unschedule( $actionName, $args = [] ) {
|
225 |
+
try {
|
226 |
+
if ( as_next_scheduled_action( $actionName ) ) {
|
227 |
+
as_unschedule_action( $actionName, $args, $this->actionSchedulerGroup );
|
228 |
+
}
|
229 |
+
} catch ( \Exception $e ) {
|
230 |
+
// Do nothing.
|
231 |
+
}
|
232 |
+
}
|
233 |
+
|
234 |
+
/**
|
235 |
+
* Schedules a recurring action.
|
236 |
+
*
|
237 |
+
* @since 4.1.5
|
238 |
+
* @version 4.2.7
|
239 |
+
*
|
240 |
+
* @param string $actionName The action name.
|
241 |
+
* @param int $time The seconds to add to the current time.
|
242 |
+
* @param int $interval The interval in seconds.
|
243 |
+
* @param array $args Args passed down to the action.
|
244 |
+
* @return boolean Whether the action was scheduled.
|
245 |
+
*/
|
246 |
+
public function scheduleRecurrent( $actionName, $time, $interval = 60, $args = [] ) {
|
247 |
+
try {
|
248 |
+
if ( ! $this->isScheduled( $actionName ) ) {
|
249 |
+
as_schedule_recurring_action( time() + $time, $interval, $actionName, $args, $this->actionSchedulerGroup );
|
250 |
+
|
251 |
+
return true;
|
252 |
+
}
|
253 |
+
} catch ( \RuntimeException $e ) {
|
254 |
+
// Nothing needs to happen.
|
255 |
+
}
|
256 |
+
|
257 |
+
return false;
|
258 |
+
}
|
259 |
+
|
260 |
+
/**
|
261 |
+
* Schedule a single async action.
|
262 |
+
*
|
263 |
+
* @since 4.1.6
|
264 |
+
* @version 4.2.7
|
265 |
+
*
|
266 |
+
* @param string $actionName The name of the action.
|
267 |
+
* @param array $args Any relevant arguments.
|
268 |
+
* @return void
|
269 |
+
*/
|
270 |
+
public function scheduleAsync( $actionName, $args = [] ) {
|
271 |
+
try {
|
272 |
+
// Run the task immediately using an async action.
|
273 |
+
as_enqueue_async_action( $actionName, $args, $this->actionSchedulerGroup );
|
274 |
+
} catch ( \Exception $e ) {
|
275 |
+
// Do nothing.
|
276 |
+
}
|
277 |
+
}
|
278 |
}
|
app/Common/Utils/Addons.php
CHANGED
@@ -144,9 +144,9 @@ class Addons {
|
|
144 |
*
|
145 |
* @since 4.0.0
|
146 |
*
|
147 |
-
* @param string
|
148 |
-
* @param
|
149 |
-
* @return object
|
150 |
*/
|
151 |
public function getAddon( $sku, $flushCache = false ) {
|
152 |
$addon = null;
|
144 |
*
|
145 |
* @since 4.0.0
|
146 |
*
|
147 |
+
* @param string $sku The addon sku.
|
148 |
+
* @param bool $flushCache Whether or not to flush the cache.
|
149 |
+
* @return null|object The addon.
|
150 |
*/
|
151 |
public function getAddon( $sku, $flushCache = false ) {
|
152 |
$addon = null;
|
app/Common/Utils/Cache.php
CHANGED
@@ -200,6 +200,9 @@ class Cache {
|
|
200 |
if ( $activationRedirect ) {
|
201 |
$this->update( 'activation_redirect', $activationRedirect, 30 );
|
202 |
}
|
|
|
|
|
|
|
203 |
}
|
204 |
|
205 |
/**
|
200 |
if ( $activationRedirect ) {
|
201 |
$this->update( 'activation_redirect', $activationRedirect, 30 );
|
202 |
}
|
203 |
+
|
204 |
+
// Bust the tableExists and columnExists cache.
|
205 |
+
aioseo()->internalOptions->database->installedTables = '';
|
206 |
}
|
207 |
|
208 |
/**
|
app/Common/Utils/CachePrune.php
CHANGED
@@ -54,8 +54,8 @@ class CachePrune {
|
|
54 |
return;
|
55 |
}
|
56 |
|
57 |
-
if ( ! aioseo()->
|
58 |
-
aioseo()->
|
59 |
}
|
60 |
}
|
61 |
|
@@ -87,7 +87,7 @@ class CachePrune {
|
|
87 |
|
88 |
// Schedule a new run if we're not done cleaning.
|
89 |
if ( 0 !== $optionCache->db->rows_affected ) {
|
90 |
-
aioseo()->
|
91 |
}
|
92 |
}
|
93 |
|
54 |
return;
|
55 |
}
|
56 |
|
57 |
+
if ( ! aioseo()->actionScheduler->isScheduled( $this->pruneAction ) ) {
|
58 |
+
aioseo()->actionScheduler->scheduleRecurrent( $this->pruneAction, 0, DAY_IN_SECONDS );
|
59 |
}
|
60 |
}
|
61 |
|
87 |
|
88 |
// Schedule a new run if we're not done cleaning.
|
89 |
if ( 0 !== $optionCache->db->rows_affected ) {
|
90 |
+
aioseo()->actionScheduler->scheduleSingle( $this->optionCacheCleanAction, MINUTE_IN_SECONDS, [], true );
|
91 |
}
|
92 |
}
|
93 |
|
app/Common/Utils/Database.php
CHANGED
@@ -69,7 +69,7 @@ class Database {
|
|
69 |
private $statement = '';
|
70 |
|
71 |
/**
|
72 |
-
* The limit clause for the
|
73 |
*
|
74 |
* @since 4.0.0
|
75 |
*
|
@@ -78,7 +78,7 @@ class Database {
|
|
78 |
private $limit = '';
|
79 |
|
80 |
/**
|
81 |
-
* The group clause for the
|
82 |
*
|
83 |
* @since 4.0.0
|
84 |
*
|
@@ -87,7 +87,7 @@ class Database {
|
|
87 |
private $group = [];
|
88 |
|
89 |
/**
|
90 |
-
* The order by clause for the
|
91 |
*
|
92 |
* @since 4.0.0
|
93 |
*
|
@@ -96,7 +96,7 @@ class Database {
|
|
96 |
private $order = [];
|
97 |
|
98 |
/**
|
99 |
-
* The select clause for the
|
100 |
*
|
101 |
* @since 4.0.0
|
102 |
*
|
@@ -105,7 +105,7 @@ class Database {
|
|
105 |
private $select = [];
|
106 |
|
107 |
/**
|
108 |
-
* The set clause for the
|
109 |
*
|
110 |
* @since 4.0.0
|
111 |
*
|
@@ -132,7 +132,7 @@ class Database {
|
|
132 |
private $ignore = false;
|
133 |
|
134 |
/**
|
135 |
-
* The where clause for the
|
136 |
*
|
137 |
* @since 4.0.0
|
138 |
*
|
@@ -141,7 +141,7 @@ class Database {
|
|
141 |
private $where = [];
|
142 |
|
143 |
/**
|
144 |
-
* The union clause for the
|
145 |
*
|
146 |
* @since 4.0.0
|
147 |
*
|
@@ -149,6 +149,15 @@ class Database {
|
|
149 |
*/
|
150 |
private $union = [];
|
151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
152 |
/**
|
153 |
* Determines whether the select statement should be distinct.
|
154 |
*
|
@@ -204,7 +213,7 @@ class Database {
|
|
204 |
private $stripTags = false;
|
205 |
|
206 |
/**
|
207 |
-
* Set which option to use to escape the
|
208 |
*
|
209 |
* @since 4.0.0
|
210 |
*
|
@@ -253,6 +262,15 @@ class Database {
|
|
253 |
*/
|
254 |
const ESCAPE_QUOTE = 8;
|
255 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
256 |
/**
|
257 |
* Prepares the database class for use.
|
258 |
*
|
69 |
private $statement = '';
|
70 |
|
71 |
/**
|
72 |
+
* The limit clause for the SQL query.
|
73 |
*
|
74 |
* @since 4.0.0
|
75 |
*
|
78 |
private $limit = '';
|
79 |
|
80 |
/**
|
81 |
+
* The group clause for the SQL query.
|
82 |
*
|
83 |
* @since 4.0.0
|
84 |
*
|
87 |
private $group = [];
|
88 |
|
89 |
/**
|
90 |
+
* The order by clause for the SQL query.
|
91 |
*
|
92 |
* @since 4.0.0
|
93 |
*
|
96 |
private $order = [];
|
97 |
|
98 |
/**
|
99 |
+
* The select clause for the SQL query.
|
100 |
*
|
101 |
* @since 4.0.0
|
102 |
*
|
105 |
private $select = [];
|
106 |
|
107 |
/**
|
108 |
+
* The set clause for the SQL query.
|
109 |
*
|
110 |
* @since 4.0.0
|
111 |
*
|
132 |
private $ignore = false;
|
133 |
|
134 |
/**
|
135 |
+
* The where clause for the SQL query.
|
136 |
*
|
137 |
* @since 4.0.0
|
138 |
*
|
141 |
private $where = [];
|
142 |
|
143 |
/**
|
144 |
+
* The union clause for the SQL query.
|
145 |
*
|
146 |
* @since 4.0.0
|
147 |
*
|
149 |
*/
|
150 |
private $union = [];
|
151 |
|
152 |
+
/**
|
153 |
+
* The join clause for the SQL query.
|
154 |
+
*
|
155 |
+
* @since 4.2.7
|
156 |
+
*
|
157 |
+
* @var array
|
158 |
+
*/
|
159 |
+
private $join = [];
|
160 |
+
|
161 |
/**
|
162 |
* Determines whether the select statement should be distinct.
|
163 |
*
|
213 |
private $stripTags = false;
|
214 |
|
215 |
/**
|
216 |
+
* Set which option to use to escape the SQL query.
|
217 |
*
|
218 |
* @since 4.0.0
|
219 |
*
|
262 |
*/
|
263 |
const ESCAPE_QUOTE = 8;
|
264 |
|
265 |
+
/**
|
266 |
+
* List of model class instances.
|
267 |
+
*
|
268 |
+
* @since 4.2.7
|
269 |
+
*
|
270 |
+
* @var array
|
271 |
+
*/
|
272 |
+
private $models = [];
|
273 |
+
|
274 |
/**
|
275 |
* Prepares the database class for use.
|
276 |
*
|
app/Common/Utils/Filesystem.php
CHANGED
@@ -23,6 +23,15 @@ class Filesystem {
|
|
23 |
*/
|
24 |
public $fs = null;
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
@@ -45,28 +54,7 @@ class Filesystem {
|
|
45 |
* @return void
|
46 |
*/
|
47 |
public function init( $args = [] ) {
|
48 |
-
require_once
|
49 |
-
if ( defined( 'WP_CLI' ) && WP_CLI ) {
|
50 |
-
require_once( ABSPATH . 'wp-includes/pluggable.php' );
|
51 |
-
|
52 |
-
// Prepare variables.
|
53 |
-
$url = esc_url_raw(
|
54 |
-
add_query_arg(
|
55 |
-
[
|
56 |
-
'page' => 'aioseo-settings',
|
57 |
-
],
|
58 |
-
admin_url( 'admin.php' )
|
59 |
-
)
|
60 |
-
);
|
61 |
-
|
62 |
-
if ( empty( $args ) ) {
|
63 |
-
// Using output buffering to prevent the FTP form from being displayed in the screen.
|
64 |
-
ob_start();
|
65 |
-
$args = request_filesystem_credentials( $url, '', false, false, null );
|
66 |
-
ob_end_clean();
|
67 |
-
}
|
68 |
-
}
|
69 |
-
|
70 |
WP_Filesystem( $args );
|
71 |
|
72 |
global $wp_filesystem;
|
23 |
*/
|
24 |
public $fs = null;
|
25 |
|
26 |
+
/**
|
27 |
+
* Core class instance.
|
28 |
+
*
|
29 |
+
* @since 4.2.7
|
30 |
+
*
|
31 |
+
* @var \AIOSEO\Plugin\Common\Core\Core
|
32 |
+
*/
|
33 |
+
private $core = null;
|
34 |
+
|
35 |
/**
|
36 |
* Class constructor.
|
37 |
*
|
54 |
* @return void
|
55 |
*/
|
56 |
public function init( $args = [] ) {
|
57 |
+
require_once ABSPATH . 'wp-admin/includes/file.php';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
WP_Filesystem( $args );
|
59 |
|
60 |
global $wp_filesystem;
|
app/Common/Utils/Helpers.php
CHANGED
@@ -14,7 +14,6 @@ use AIOSEO\Plugin\Common\Traits\Helpers as TraitHelpers;
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Helpers {
|
17 |
-
use TraitHelpers\ActionScheduler;
|
18 |
use TraitHelpers\Api;
|
19 |
use TraitHelpers\Arrays;
|
20 |
use TraitHelpers\Constants;
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Helpers {
|
|
|
17 |
use TraitHelpers\Api;
|
18 |
use TraitHelpers\Arrays;
|
19 |
use TraitHelpers\Constants;
|
app/Common/Utils/Tags.php
CHANGED
@@ -805,7 +805,7 @@ class Tags {
|
|
805 |
$string = $this->parseTaxonomyNames( $string, $id );
|
806 |
|
807 |
// Custom fields are parsed separately.
|
808 |
-
$string = $this->parseCustomFields( $string
|
809 |
|
810 |
return preg_replace( '/%\|%/im', '', $string );
|
811 |
}
|
@@ -1100,9 +1100,9 @@ class Tags {
|
|
1100 |
* @return mixed The new title.
|
1101 |
*/
|
1102 |
private function parseTaxonomyNames( $string, $id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
1103 |
-
$pattern = '/' . $this->denotationChar . 'tax_name-([a-zA-Z0-9_]+)/im';
|
1104 |
$string = preg_replace_callback( $pattern, [ $this, 'replaceTaxonomyName' ], $string );
|
1105 |
-
$pattern = '/' . $this->denotationChar . 'tax_name(?![a-zA-Z0-9_])/im';
|
1106 |
|
1107 |
return preg_replace( $pattern, '', $string );
|
1108 |
}
|
805 |
$string = $this->parseTaxonomyNames( $string, $id );
|
806 |
|
807 |
// Custom fields are parsed separately.
|
808 |
+
$string = $this->parseCustomFields( $string );
|
809 |
|
810 |
return preg_replace( '/%\|%/im', '', $string );
|
811 |
}
|
1100 |
* @return mixed The new title.
|
1101 |
*/
|
1102 |
private function parseTaxonomyNames( $string, $id ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable
|
1103 |
+
$pattern = '/' . $this->denotationChar . 'tax_name-([a-zA-Z0-9_-]+)/im';
|
1104 |
$string = preg_replace_callback( $pattern, [ $this, 'replaceTaxonomyName' ], $string );
|
1105 |
+
$pattern = '/' . $this->denotationChar . 'tax_name(?![a-zA-Z0-9_-])/im';
|
1106 |
|
1107 |
return preg_replace( $pattern, '', $string );
|
1108 |
}
|
app/Common/Utils/VueSettings.php
CHANGED
@@ -271,12 +271,12 @@ class VueSettings {
|
|
271 |
}
|
272 |
|
273 |
/**
|
274 |
-
* Gets the default value for
|
275 |
*
|
276 |
* @since 4.0.0
|
277 |
*
|
278 |
* @param string $name The settings name.
|
279 |
-
* @return
|
280 |
*/
|
281 |
public function getDefault( $name ) {
|
282 |
return isset( $this->defaults[ $name ] ) ? $this->defaults[ $name ] : null;
|
271 |
}
|
272 |
|
273 |
/**
|
274 |
+
* Gets the default value for a setting.
|
275 |
*
|
276 |
* @since 4.0.0
|
277 |
*
|
278 |
* @param string $name The settings name.
|
279 |
+
* @return mixed The default value.
|
280 |
*/
|
281 |
public function getDefault( $name ) {
|
282 |
return isset( $this->defaults[ $name ] ) ? $this->defaults[ $name ] : null;
|
app/Common/Views/admin/posts/columns.php
CHANGED
@@ -14,5 +14,5 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
?>
|
15 |
|
16 |
<div id="<?php echo esc_attr( $columnName ); ?>-<?php echo esc_attr( $postId ); ?>">
|
17 |
-
<?php require
|
18 |
</div>
|
14 |
?>
|
15 |
|
16 |
<div id="<?php echo esc_attr( $columnName ); ?>-<?php echo esc_attr( $postId ); ?>">
|
17 |
+
<?php require AIOSEO_DIR . '/app/Common/Views/parts/loader.php'; ?>
|
18 |
</div>
|
app/Common/Views/sitemap/xsl/default.php
CHANGED
@@ -20,8 +20,7 @@ if ( '/sitemap.rss' === $sitemapPath ) {
|
|
20 |
version="2.0"
|
21 |
xmlns:html="http://www.w3.org/TR/html40"
|
22 |
xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
|
23 |
-
xmlns:
|
24 |
-
xmlns:image="https://www.google.com/schemas/sitemap-image/1.1"
|
25 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
26 |
>
|
27 |
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
20 |
version="2.0"
|
21 |
xmlns:html="http://www.w3.org/TR/html40"
|
22 |
xmlns:sitemap="http://www.sitemaps.org/schemas/sitemap/0.9"
|
23 |
+
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
|
|
|
24 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
25 |
>
|
26 |
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
|
app/Lite/Admin/Admin.php
CHANGED
@@ -14,6 +14,15 @@ use AIOSEO\Plugin\Common\Admin as CommonAdmin;
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Admin extends CommonAdmin\Admin {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Class constructor.
|
19 |
*
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Admin extends CommonAdmin\Admin {
|
17 |
+
/**
|
18 |
+
* Connect class instance.
|
19 |
+
*
|
20 |
+
* @since 4.2.7
|
21 |
+
*
|
22 |
+
* @var Connect
|
23 |
+
*/
|
24 |
+
public $connect = null;
|
25 |
+
|
26 |
/**
|
27 |
* Class constructor.
|
28 |
*
|
app/Lite/Admin/Connect.php
CHANGED
@@ -24,9 +24,6 @@ class Connect {
|
|
24 |
|
25 |
add_action( 'admin_menu', [ $this, 'addDashboardPage' ] );
|
26 |
add_action( 'admin_init', [ $this, 'maybeLoadConnect' ] );
|
27 |
-
|
28 |
-
// Create the plugin upgrader with our custom skin.
|
29 |
-
$this->installer = new Utils\PluginUpgraderSilentAjax( new Utils\PluginUpgraderSkin() );
|
30 |
}
|
31 |
|
32 |
/**
|
24 |
|
25 |
add_action( 'admin_menu', [ $this, 'addDashboardPage' ] );
|
26 |
add_action( 'admin_init', [ $this, 'maybeLoadConnect' ] );
|
|
|
|
|
|
|
27 |
}
|
28 |
|
29 |
/**
|
app/Lite/Admin/PostSettings.php
CHANGED
@@ -59,6 +59,6 @@ class PostSettings extends CommonAdmin\PostSettings {
|
|
59 |
return;
|
60 |
}
|
61 |
|
62 |
-
include_once
|
63 |
}
|
64 |
}
|
59 |
return;
|
60 |
}
|
61 |
|
62 |
+
include_once AIOSEO_DIR . '/app/Lite/Views/taxonomy-upsell.html';
|
63 |
}
|
64 |
}
|
app/init/activation.php
CHANGED
@@ -56,6 +56,6 @@ if ( ! function_exists( 'aioseo_pro_just_activated' ) ) {
|
|
56 |
|
57 |
// If we detect that V3 is active, let's deactivate it now.
|
58 |
if ( defined( 'AIOSEOP_VERSION' ) && defined( 'AIOSEO_PLUGIN_FILE' ) ) {
|
59 |
-
require_once
|
60 |
deactivate_plugins( plugin_basename( AIOSEO_PLUGIN_FILE ) );
|
61 |
}
|
56 |
|
57 |
// If we detect that V3 is active, let's deactivate it now.
|
58 |
if ( defined( 'AIOSEOP_VERSION' ) && defined( 'AIOSEO_PLUGIN_FILE' ) ) {
|
59 |
+
require_once ABSPATH . 'wp-admin/includes/plugin.php';
|
60 |
deactivate_plugins( plugin_basename( AIOSEO_PLUGIN_FILE ) );
|
61 |
}
|
app/init/notices.php
CHANGED
@@ -17,48 +17,46 @@ if ( ! function_exists( 'aioseo_php_notice' ) ) {
|
|
17 |
<div class="notice notice-error">
|
18 |
<p>
|
19 |
<?php
|
20 |
-
echo
|
21 |
-
|
22 |
-
sprintf(
|
23 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - Opening HTML link tag, 4 - Closing HTML link tag.
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
),
|
30 |
-
array(
|
31 |
-
|
32 |
-
|
33 |
-
'target' => array(),
|
34 |
-
'rel' => array(),
|
35 |
-
),
|
36 |
-
'strong' => array(),
|
37 |
-
)
|
38 |
-
);
|
39 |
?>
|
40 |
<br><br>
|
41 |
<?php
|
42 |
-
echo
|
43 |
-
|
44 |
-
sprintf(
|
45 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO"), 4 - Opening HTML link tag, 5 - Closing HTML link tag.
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
),
|
53 |
-
array(
|
54 |
-
|
55 |
-
|
56 |
-
'target' => array(),
|
57 |
-
'rel' => array(),
|
58 |
-
),
|
59 |
-
'strong' => array(),
|
60 |
-
)
|
61 |
-
);
|
62 |
?>
|
63 |
</p>
|
64 |
</div>
|
@@ -83,49 +81,49 @@ if ( ! function_exists( 'aioseo_php_notice_deprecated' ) ) {
|
|
83 |
<div class="notice notice-error">
|
84 |
<p>
|
85 |
<?php
|
86 |
-
echo
|
87 |
-
|
88 |
-
sprintf(
|
89 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - Opening HTML link tag, 4 - Closing HTML link tag.
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
),
|
97 |
-
array(
|
98 |
-
|
99 |
-
|
100 |
-
'target' => array(),
|
101 |
-
'rel' => array(),
|
102 |
-
),
|
103 |
-
'strong' => array(),
|
104 |
-
)
|
105 |
-
);
|
106 |
?>
|
107 |
<br><br>
|
108 |
<?php
|
109 |
-
echo
|
110 |
-
|
111 |
-
sprintf(
|
112 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO"), 4 - Opening HTML link tag, 5 - Closing HTML link tag.
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
),
|
120 |
-
array(
|
121 |
-
|
122 |
-
|
123 |
-
'target' => array(),
|
124 |
-
'rel' => array(),
|
125 |
-
),
|
126 |
-
'strong' => array(),
|
127 |
-
)
|
128 |
-
);
|
129 |
?>
|
130 |
</p>
|
131 |
</div>
|
@@ -150,42 +148,40 @@ if ( ! function_exists( 'aioseo_wordpress_notice' ) ) {
|
|
150 |
<div class="notice notice-error">
|
151 |
<p>
|
152 |
<?php
|
153 |
-
echo
|
154 |
-
|
155 |
-
sprintf(
|
156 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO").
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
?>
|
167 |
<br><br>
|
168 |
<?php
|
169 |
-
echo
|
170 |
-
|
171 |
-
sprintf(
|
172 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO"), 4 - Opening HTML link tag, 5 - Closing HTML link tag.
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
),
|
180 |
-
array(
|
181 |
-
|
182 |
-
|
183 |
-
'target' => array(),
|
184 |
-
'rel' => array(),
|
185 |
-
),
|
186 |
-
'strong' => array(),
|
187 |
-
)
|
188 |
-
);
|
189 |
?>
|
190 |
</p>
|
191 |
</div>
|
@@ -224,7 +220,8 @@ if ( ! function_exists( 'aioseo_lite_notice' ) ) {
|
|
224 |
</div>',
|
225 |
esc_html__( 'Heads up!', 'all-in-one-seo-pack' ),
|
226 |
// Translators: 1 - The plugin name ("All in One SEO"), 2 - Same as previous, 3 - Same as previous.
|
227 |
-
sprintf( esc_html__( 'Your site already has %1$s
|
|
|
228 |
|
229 |
if ( isset( $_GET['activate'] ) ) {
|
230 |
unset( $_GET['activate'] );
|
17 |
<div class="notice notice-error">
|
18 |
<p>
|
19 |
<?php
|
20 |
+
echo wp_kses(
|
21 |
+
sprintf(
|
|
|
22 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - Opening HTML link tag, 4 - Closing HTML link tag.
|
23 |
+
__( 'Your site is running an %1$sinsecure version%2$s of PHP that is no longer supported. Please contact your web hosting provider to update your PHP version or switch to a %3$srecommended WordPress hosting company%4$s.', 'all-in-one-seo-pack' ), // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
24 |
+
'<strong>',
|
25 |
+
'</strong>',
|
26 |
+
'<a href="https://www.wpbeginner.com/wordpress-hosting/" target="_blank" rel="noopener noreferrer">',
|
27 |
+
'</a>'
|
28 |
+
),
|
29 |
+
array(
|
30 |
+
'a' => array(
|
31 |
+
'href' => array(),
|
32 |
+
'target' => array(),
|
33 |
+
'rel' => array(),
|
34 |
),
|
35 |
+
'strong' => array(),
|
36 |
+
)
|
37 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
?>
|
39 |
<br><br>
|
40 |
<?php
|
41 |
+
echo wp_kses(
|
42 |
+
sprintf(
|
|
|
43 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO"), 4 - Opening HTML link tag, 5 - Closing HTML link tag.
|
44 |
+
__( '%1$sNote:%2$s %3$s plugin is disabled on your site until you fix the issue. %4$sRead more for additional information.%5$s', 'all-in-one-seo-pack' ),
|
45 |
+
'<strong>',
|
46 |
+
'</strong>',
|
47 |
+
'AIOSEO',
|
48 |
+
'<a href="https://aioseo.com/docs/supported-php-version/?utm_source=WordPress&utm_medium=' . $medium . '&utm_campaign=outdated-php-notice" target="_blank" rel="noopener noreferrer">', // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
49 |
+
'</a>'
|
50 |
+
),
|
51 |
+
array(
|
52 |
+
'a' => array(
|
53 |
+
'href' => array(),
|
54 |
+
'target' => array(),
|
55 |
+
'rel' => array(),
|
56 |
),
|
57 |
+
'strong' => array(),
|
58 |
+
)
|
59 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
?>
|
61 |
</p>
|
62 |
</div>
|
81 |
<div class="notice notice-error">
|
82 |
<p>
|
83 |
<?php
|
84 |
+
echo wp_kses(
|
85 |
+
sprintf(
|
|
|
86 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - Opening HTML link tag, 4 - Closing HTML link tag.
|
87 |
+
__( 'Your site is running an %1$soutdated version%2$s of PHP that is no longer supported and may cause issues with %3$s. Please contact your web hosting provider to update your PHP version or switch to a %4$srecommended WordPress hosting company%5$s.', 'all-in-one-seo-pack' ), // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
88 |
+
'<strong>',
|
89 |
+
'</strong>',
|
90 |
+
'<strong>AIOSEO</strong>',
|
91 |
+
'<a href="https://www.wpbeginner.com/wordpress-hosting/" target="_blank" rel="noopener noreferrer">',
|
92 |
+
'</a>'
|
93 |
+
),
|
94 |
+
array(
|
95 |
+
'a' => array(
|
96 |
+
'href' => array(),
|
97 |
+
'target' => array(),
|
98 |
+
'rel' => array(),
|
99 |
),
|
100 |
+
'strong' => array(),
|
101 |
+
)
|
102 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
?>
|
104 |
<br><br>
|
105 |
<?php
|
106 |
+
echo wp_kses(
|
107 |
+
sprintf(
|
|
|
108 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO"), 4 - Opening HTML link tag, 5 - Closing HTML link tag.
|
109 |
+
__( '%1$sNote:%2$s Support for PHP %3$s will be discontinued in %4$s. After this, if no further action is taken, %5$s functionality will be disabled. %6$sRead more for additional information.%7$s', 'all-in-one-seo-pack' ), // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
110 |
+
'<strong>',
|
111 |
+
'</strong>',
|
112 |
+
PHP_VERSION,
|
113 |
+
date( 'Y' ),
|
114 |
+
'AIOSEO',
|
115 |
+
'<a href="https://aioseo.com/docs/supported-php-version/?utm_source=WordPress&utm_medium=' . $medium . '&utm_campaign=outdated-php-notice" target="_blank" rel="noopener noreferrer">', // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
116 |
+
'</a>'
|
117 |
+
),
|
118 |
+
array(
|
119 |
+
'a' => array(
|
120 |
+
'href' => array(),
|
121 |
+
'target' => array(),
|
122 |
+
'rel' => array(),
|
123 |
),
|
124 |
+
'strong' => array(),
|
125 |
+
)
|
126 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
?>
|
128 |
</p>
|
129 |
</div>
|
148 |
<div class="notice notice-error">
|
149 |
<p>
|
150 |
<?php
|
151 |
+
echo wp_kses(
|
152 |
+
sprintf(
|
|
|
153 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO").
|
154 |
+
__( 'Your site is running an %1$sinsecure version%2$s of WordPress that is no longer supported. Please update your site to the latest version of WordPress in order to continue using %3$s.', 'all-in-one-seo-pack' ), // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
155 |
+
'<strong>',
|
156 |
+
'</strong>',
|
157 |
+
'All in One SEO'
|
158 |
+
),
|
159 |
+
array(
|
160 |
+
'strong' => array(),
|
161 |
+
)
|
162 |
+
);
|
163 |
?>
|
164 |
<br><br>
|
165 |
<?php
|
166 |
+
echo wp_kses(
|
167 |
+
sprintf(
|
|
|
168 |
// Translators: 1 - Opening HTML bold tag, 2 - Closing HTML bold tag, 3 - The plugin name ("All in One SEO"), 4 - Opening HTML link tag, 5 - Closing HTML link tag.
|
169 |
+
__( '%1$sNote:%2$s %3$s will be discontinuing support for WordPress versions older than version 5.3 by the end of 2022. %4$sRead more for additional information.%5$s', 'all-in-one-seo-pack' ), // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
170 |
+
'<strong>',
|
171 |
+
'</strong>',
|
172 |
+
'AIOSEO',
|
173 |
+
'<a href="https://aioseo.com/docs/update-wordpress/?utm_source=WordPress&utm_medium=' . $medium . '&utm_campaign=outdated-wordpress-notice" target="_blank" rel="noopener noreferrer">', // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
174 |
+
'</a>'
|
175 |
+
),
|
176 |
+
array(
|
177 |
+
'a' => array(
|
178 |
+
'href' => array(),
|
179 |
+
'target' => array(),
|
180 |
+
'rel' => array(),
|
181 |
),
|
182 |
+
'strong' => array(),
|
183 |
+
)
|
184 |
+
);
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
?>
|
186 |
</p>
|
187 |
</div>
|
220 |
</div>',
|
221 |
esc_html__( 'Heads up!', 'all-in-one-seo-pack' ),
|
222 |
// Translators: 1 - The plugin name ("All in One SEO"), 2 - Same as previous, 3 - Same as previous.
|
223 |
+
sprintf( esc_html__( 'Your site already has %1$s activated. If you want to switch to %2$s, please first go to Plugins > Installed Plugins and deactivate %1$s. Then, you can activate %2$s.', 'all-in-one-seo-pack' ), 'AIOSEO Pro', 'AIOSEO Lite' ) // phpcs:ignore Generic.Files.LineLength.MaxExceeded
|
224 |
+
);
|
225 |
|
226 |
if ( isset( $_GET['activate'] ) ) {
|
227 |
unset( $_GET['activate'] );
|
dist/Lite/assets/about.008dca32.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as p,V as c}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{s as u}from"./js/index.f16c040b.js";import{_ as m,a as o,s as l,b as v}from"./js/index.8e416a7c.js";import{_ as n}from"./js/default-i18n.0e73c33c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var f=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-app"},[s("router-view")],1)},d=[];const g={},i={};var b=p(g,f,d,!1,y,null,null,null);function y(t){for(let e in i)this[e]=i[e]}const A=function(){return b.exports}(),r="all-in-one-seo-pack",a=t=>()=>m(Object.assign({"../views/AboutUs.vue":()=>o(()=>import("./js/AboutUs.25d9d7a8.js"),["js/AboutUs.25d9d7a8.js","css/AboutUs.6e3ede22.css","js/index.f16c040b.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/em.090410fb.js","js/Row.89c6bb85.js","css/Row.576b0c57.css","js/External.051baee5.js"],import.meta.url),"../views/GettingStarted.vue":()=>o(()=>import("./js/GettingStarted.0a020576.js"),["js/GettingStarted.0a020576.js","css/GettingStarted.636bf1d9.css","js/news-sitemap.36087ff1.js","js/GettingStarted.f3a17054.js","css/GettingStarted.a24ab63f.css","js/index.f16c040b.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/Row.89c6bb85.js","css/Row.576b0c57.css","js/Book.942a8cf4.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/constants.71b051da.js","js/portal-vue.esm.272b3133.js","js/Rocket.ba4418d1.js","js/Index.28b23aca.js","css/Index.18a70921.css"],import.meta.url),"../views/Main.vue":()=>o(()=>import("./js/Main.43b1ef8d.js"),["js/Main.43b1ef8d.js","css/Main.719a876e.css","css/main.fca70088.css","js/AboutUs.25d9d7a8.js","css/AboutUs.6e3ede22.css","js/index.f16c040b.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/em.090410fb.js","js/Row.89c6bb85.js","css/Row.576b0c57.css","js/External.051baee5.js","js/Index.cbe0b14f.js","css/Index.c8d35bc1.css","js/params.bea1a08d.js","js/WpTable.078239fd.js","css/WpTable.11c3c1d3.css","js/constants.71b051da.js","js/attachments.0f69322e.js","js/cleanForSlug.41bbbaec.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/portal-vue.esm.272b3133.js","js/Header.ba91dc6e.js","css/Header.934e9974.css","js/LicenseKeyBar.ddce09ea.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.99a79064.js","js/AnimatedNumber.1915b2fc.js","js/Logo.97285076.js","js/Support.01b73fda.js","js/Tabs.6838349b.js","css/Tabs.26ed6805.css","js/TruSeoScore.98a47fd6.js","js/Information.6f7632ab.js","js/Slide.01023b2f.js","js/Exclamation.77933285.js","js/Url.781a1d48.js","js/Gear.b5f13261.js","js/GettingStarted.0a020576.js","css/GettingStarted.636bf1d9.css","js/news-sitemap.36087ff1.js","js/GettingStarted.f3a17054.js","css/GettingStarted.a24ab63f.css","js/Book.942a8cf4.js","js/Rocket.ba4418d1.js","js/Index.28b23aca.js","css/Index.18a70921.css"],import.meta.url)}),`../views/${t}.vue`),h=[{path:"*",redirect:"/about-us"},{path:"/about-us",name:"about-us",component:a("Main"),meta:{access:"aioseo_about_us_page",name:n("About Us",r)}},{path:"/getting-started",name:"getting-started",component:a("Main"),meta:{access:"aioseo_about_us_page",name:n("Getting Started",r)}},{path:"/lite-vs-pro",name:"lite-vs-pro",component:a("Main"),meta:{access:"aioseo_about_us_page",name:n("Lite vs. Pro",r),display:"lite"}}],_=l(h);v(u,_);new c({router:_,store:u,render:t=>t(A)}).$mount("#aioseo-app");
|
dist/Lite/assets/about.5871ddbb.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as p,V as c}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.4a5acef5.js";import{s as u}from"./js/index.4776f7d5.js";import{_ as m,a as o,s as l,b as v}from"./js/index.4f8167e1.js";import{_ as n}from"./js/default-i18n.0e73c33c.js";import"./js/client.d00863cc.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.9efee5f7.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var f=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-app"},[s("router-view")],1)},d=[];const g={},i={};var b=p(g,f,d,!1,y,null,null,null);function y(t){for(let e in i)this[e]=i[e]}const A=function(){return b.exports}(),r="all-in-one-seo-pack",a=t=>()=>m(Object.assign({"../views/AboutUs.vue":()=>o(()=>import("./js/AboutUs.afae07f2.js"),["js/AboutUs.afae07f2.js","css/AboutUs.6e3ede22.css","js/index.4776f7d5.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/em.090410fb.js","js/Row.dfea53f7.js","css/Row.576b0c57.css","js/External.1af3387c.js"],import.meta.url),"../views/GettingStarted.vue":()=>o(()=>import("./js/GettingStarted.41d3d6a2.js"),["js/GettingStarted.41d3d6a2.js","css/GettingStarted.636bf1d9.css","js/news-sitemap.36087ff1.js","js/GettingStarted.498d42c2.js","css/GettingStarted.a24ab63f.css","js/index.4776f7d5.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/Row.dfea53f7.js","css/Row.576b0c57.css","js/Book.7d439a03.js","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/Rocket.35b77f44.js","js/Index.7823cadd.js","css/Index.18a70921.css"],import.meta.url),"../views/Main.vue":()=>o(()=>import("./js/Main.50da564b.js"),["js/Main.50da564b.js","css/Main.719a876e.css","css/main.fca70088.css","js/AboutUs.afae07f2.js","css/AboutUs.6e3ede22.css","js/index.4776f7d5.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/em.090410fb.js","js/Row.dfea53f7.js","css/Row.576b0c57.css","js/External.1af3387c.js","js/Index.9ba8794b.js","css/Index.c8d35bc1.css","js/params.bea1a08d.js","js/WpTable.8ff25002.js","css/WpTable.11c3c1d3.css","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/attachments.52d4e34c.js","js/cleanForSlug.788b395f.js","js/Header.bd1b4a42.js","css/Header.934e9974.css","js/LicenseKeyBar.1eaa4b0d.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.fa7af154.js","js/AnimatedNumber.fb66de3f.js","js/Logo.a7c6e95c.js","js/Support.2f6740c0.js","js/Tabs.5f143cbd.js","css/Tabs.26ed6805.css","js/TruSeoScore.98a47fd6.js","js/Information.d80e4486.js","js/Slide.8aaa5049.js","js/Exclamation.c0680526.js","js/Url.781a1d48.js","js/Gear.21727cf4.js","js/GettingStarted.41d3d6a2.js","css/GettingStarted.636bf1d9.css","js/news-sitemap.36087ff1.js","js/GettingStarted.498d42c2.js","css/GettingStarted.a24ab63f.css","js/Book.7d439a03.js","js/Rocket.35b77f44.js","js/Index.7823cadd.js","css/Index.18a70921.css"],import.meta.url)}),`../views/${t}.vue`),h=[{path:"*",redirect:"/about-us"},{path:"/about-us",name:"about-us",component:a("Main"),meta:{access:"aioseo_about_us_page",name:n("About Us",r)}},{path:"/getting-started",name:"getting-started",component:a("Main"),meta:{access:"aioseo_about_us_page",name:n("Getting Started",r)}},{path:"/lite-vs-pro",name:"lite-vs-pro",component:a("Main"),meta:{access:"aioseo_about_us_page",name:n("Lite vs. Pro",r),display:"lite"}}],_=l(h);v(u,_);new c({router:_,store:u,render:t=>t(A)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/{app.54718bc6.js → app.8f5e64b3.js}
RENAMED
File without changes
|
dist/Lite/assets/blocks.2589e73e.js
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import{_ as k,s as Et}from"./js/default-i18n.0e73c33c.js";import{n as pt,V as Pt}from"./js/vueComponentNormalizer.58b0a173.js";import{m as oa,s as aa,V as Eo,a as Cn,b as To,c as Dn,d as sa}from"./js/index.f16c040b.js";import{S as Lo,l as ra}from"./js/index.c9bc1c73.js";import{o as Dt}from"./js/constants.71b051da.js";import"./js/WpTable.078239fd.js";import{J as ia}from"./js/JsonValues.08065e69.js";import{S as la}from"./js/AddPlus.f0d14d8e.js";import{S as ca}from"./js/External.051baee5.js";import{B as da}from"./js/HighlightToggle.ad3182d2.js";import{C as On}from"./js/Tooltip.a36a3967.js";import{G as ua,a as fa}from"./js/Row.89c6bb85.js";import{U as ha}from"./js/Image.2e470303.js";import{B as pa}from"./js/Img.36a4ce1e.js";import{S as ga}from"./js/Plus.d9c7f9ce.js";import{g as va,c as ma,a as ba}from"./js/_commonjsHelpers.10c44588.js";import{S as ya}from"./js/Eye.1747422d.js";import{c as bn}from"./js/cleanForSlug.41bbbaec.js";import{C as $a}from"./js/Portal.b4dc1f75.js";import{C as wa}from"./js/Index.28b23aca.js";import{d as An}from"./js/debounce.0c676f94.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/client.b661b356.js";import"./js/translations.3bc9d58c.js";import"./js/portal-vue.esm.272b3133.js";import"./js/attachments.0f69322e.js";import"./js/Checkbox.732cf0d4.js";import"./js/Checkmark.c0183939.js";import"./js/Radio.8fe23bef.js";import"./js/toNumber.a23c0fb1.js";const Oe=window.wp,ce=Oe.element.createElement,xa=Oe.element.Fragment,Sa=Oe.components.Disabled,_a=Oe.serverSideRender||Oe.components.ServerSideRender,Ca="all-in-one-seo-pack",Oa=ce("svg",{width:24,height:25,viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},ce("path",{d:"M1.7002 5.31067H10.8705L17.8705 12.5L10.8705 19.6893H1.7002V5.31067ZM10.2856 12.4999C10.2856 13.3284 9.61396 14.0001 8.7854 14.0001C7.95684 14.0001 7.28516 13.3284 7.28516 12.4999C7.28516 11.6713 7.95684 10.9996 8.7854 10.9996C9.61396 10.9996 10.2856 11.6713 10.2856 12.4999ZM6.1933 12.5001C6.1933 13.195 5.62995 13.7584 4.93503 13.7584C4.2401 13.7584 3.67676 13.195 3.67676 12.5001C3.67676 11.8052 4.2401 11.2418 4.93503 11.2418C5.62995 11.2418 6.1933 11.8052 6.1933 12.5001ZM12.6342 13.7584C13.3292 13.7584 13.8925 13.195 13.8925 12.5001C13.8925 11.8052 13.3292 11.2418 12.6342 11.2418C11.9393 11.2418 11.376 11.8052 11.376 12.5001C11.376 13.195 11.9393 13.7584 12.6342 13.7584ZM15.3002 5.31067H12.5771L19.5771 12.5L12.5771 19.6893H15.3002L22.3002 12.5L15.3002 5.31067Z"})),Do="aioseo/breadcrumbs",Ia={title:k("AIOSEO - Breadcrumbs",Ca),category:"aioseo",icon:Oa,example:{},attributes:{},edit:function(){return ce(xa,{},ce("div",{},ce(Sa,null,ce(_a,{block:Do,attributes:{}}))))},save:function(){return null}},Ea=Object.freeze(Object.defineProperty({__proto__:null,name:Do,settings:Ia},Symbol.toStringTag,{value:"Module"}));var Ta=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-exclude-posts"},[o("base-select",{attrs:{options:n.excludeOptions,"ajax-search":n.processGetObjects,size:"medium",multiple:"",value:n.getJsonValues(n.optionName),placeholder:n.strings.typeToSearch},on:{input:function(e){return n.optionName=n.setJsonValues(e)}},scopedSlots:n._u([{key:"noOptions",fn:function(){return[n._v(" "+n._s(n.noOptions)+" ")]},proxy:!0},{key:"noResult",fn:function(){return[n._v(" "+n._s(n.strings.noResult)+" ")]},proxy:!0},{key:"caret",fn:function(e){var s=e.toggle;return[o("base-button",{staticClass:"multiselect-toggle",staticStyle:{padding:"10px 13px",width:"40px",position:"absolute",height:"36px",right:"2px",top:"2px","text-align":"center",transition:"transform .2s ease"},attrs:{type:"gray"},on:{click:s}},[o("svg-add-plus",{staticStyle:{width:"14px",height:"14px",color:"black"}})],1)]}},{key:"option",fn:function(e){var s=e.option,a=e.search;return[o("div",{staticClass:"option"},[o("div",{staticClass:"option-title",domProps:{innerHTML:n._s(n.getOptionTitle(s.label,a))}}),o("div",{staticClass:"option-details"},[o("span",[n._v(n._s(n.strings.id)+": #"+n._s(s.value))]),o("span",[n._v(n._s(n.strings.type)+": "+n._s(s.type))])])]),o("a",{staticClass:"option-permalink",attrs:{href:s.link,target:"_blank"},on:{click:function(r){return r.stopPropagation(),function(){}.apply(null,arguments)}}},[o("svg-external")],1)]}},{key:"tag",fn:function(e){var s=e.option,a=e.remove;return[o("div",{staticClass:"multiselect__tag"},[o("div",{staticClass:"multiselect__tag-value"},[n._v(" "+n._s(s.label)+" - #"+n._s(s.value)+" ")]),o("div",{staticClass:"multiselect__tag-remove",on:{click:function(r){return r.stopPropagation(),a(s)}}},[o("svg-close",{nativeOn:{click:function(r){return r.stopPropagation(),a(s)}}})],1)])]}}])}),o("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(e){n.optionName=[]}}},[n._v(" "+n._s(n.strings.clear)+" ")])],1)},La=[];const Da={components:{SvgAddPlus:la,SvgClose:Lo,SvgExternal:ca},mixins:[ia],props:{type:{type:String,required:!0}},data(){return{excludeOptions:[],strings:{typeToSearch:this.$t.__("Type to search...",this.$td),noOptionsPosts:this.$t.__("Begin typing a post ID, title or slug to search...",this.$td),noOptionsTerms:this.$t.__("Begin typing a term ID or name to search...",this.$td),noResult:this.$t.__("No results found for your search. Try again!",this.$td),clear:this.$t.__("Clear",this.$td),id:this.$t.__("ID",this.$td),type:this.$t.__("Type",this.$td)}}},computed:{optionName:{get(){return this.type==="posts"?JSON.parse(this.$root.$data.excluded_posts):JSON.parse(this.$root.$data.excluded_terms)},set(n){if(n=JSON.stringify(n),this.type==="posts"){this.$root.$data.excluded_posts=n;return}this.$root.$data.excluded_terms=n}},noOptions(){return this.type==="posts"?this.strings.noOptionsPosts:this.strings.noOptionsTerms}},methods:{...oa(["getObjects"]),processGetObjects(n){return this.getObjects({query:n,type:this.type}).then(t=>{this.excludeOptions=t.body.objects})},getOptionTitle(n,t){const o=new RegExp(`(${t})`,"gi");return n.replace(o,'<span class="search-term">$1</span>')}}},Pn={};var Aa=pt(Da,Ta,La,!1,Pa,null,null,null);function Pa(n){for(let t in Pn)this[t]=Pn[t]}const Ma=function(){return Aa.exports}();var Na=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-included-objects-toggle"},[o("div",{staticClass:"included-objects-settings"},[n.type==="post_types"?o("base-toggle",{attrs:{size:"medium"},model:{value:n.$root.$data.post_types_all,callback:function(e){n.$set(n.$root.$data,"post_types_all",e)},expression:"$root.$data.post_types_all"}},[n._v(" "+n._s(n.strings.includeAllPostTypes)+" ")]):n._e(),n.type==="taxonomies"?o("base-toggle",{attrs:{size:"medium"},model:{value:n.$root.$data.taxonomies_all,callback:function(e){n.$set(n.$root.$data,"taxonomies_all",e)},expression:"$root.$data.taxonomies_all"}},[n._v(" "+n._s(n.strings.includeAllTaxonomies)+" ")]):n._e(),0<n.objects.length&&!n.includeAllSetting?o("grid-row",{staticClass:"aioseo-included-list"},n._l(n.objects,function(e,s){return o("grid-column",{key:s,attrs:{md:"6"}},[o("base-highlight-toggle",{attrs:{size:"medium",active:n.isActive(e),name:e.name,type:"checkbox",value:n.getValue(e)},on:{input:function(a){return n.updateValue(a,e)}}},[o("core-tooltip",{scopedSlots:n._u([{key:"tooltip",fn:function(){return[o("div",{staticClass:"aioseo-description"},[n._v(" "+n._s(n.strings.label)+" "),o("strong",[n._v(n._s(e.label))]),o("br"),n._v(" "+n._s(n.strings.name)+" "),o("strong",[n._v(n._s(e.name))])])]},proxy:!0}],null,!0)},[o("span",{staticClass:"icon dashicons",class:`${e.icon||"dashicons-admin-post"}`})]),n._v(" "+n._s(e.label)+" ")],1)],1)}),1):n._e()],1)])},ka=[];const Ba={components:{BaseHighlightToggle:da,CoreTooltip:On,GridColumn:ua,GridRow:fa},props:{type:{type:String,required:!0},excluded:{type:Array,default(){return[]}}},data(){return{strings:{label:this.$t.__("Label:",this.$td),name:this.$t.__("Slug:",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td)}}},computed:{includeAllSetting(){const n=this.type+"_all";return this.$root.$data[n]},objects(){const n=this.type==="taxonomies"?"taxonomies":"postTypes";return this.$aioseo.postData[n].filter(t=>!this.excluded.includes(t.name))}},methods:{getState(){return JSON.parse(this.$root.$data[this.type])},setState(n){this.$root.$data[this.type]=JSON.stringify(n)},getValue(n){return this.getState().includes(n.name)},updateValue(n,t){const o=this.getState();if(n){o.push(t.name),this.setState(o);return}const e=o.findIndex(s=>s===t.name);e!==-1&&(this.$delete(o,e),this.setState(o))},isActive(n){return this.getState().findIndex(o=>o===n.name)!==-1}}},Mn={};var ja=pt(Ba,Na,ka,!1,Ra,null,null,null);function Ra(n){for(let t in Mn)this[t]=Mn[t]}const Ha=function(){return ja.exports}();var Fa=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.default,callback:function(s){t.$set(t.$root.$data,"default",s)},expression:"$root.$data.default"}},[t._v(" "+t._s(t.strings.useDefault)+" ")])],1),t.$root.$data.default?t._e():e("div",[e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.archives,callback:function(s){t.$set(t.$root.$data,"archives",s)},expression:"$root.$data.archives"}},[t._v(" "+t._s(t.strings.archives)+" ")])],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.show_label,callback:function(s){t.$set(t.$root.$data,"show_label",s)},expression:"$root.$data.show_label"}},[t._v(" "+t._s(t.strings.showLabel)+" ")])],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.publication_date,callback:function(s){t.$set(t.$root.$data,"publication_date",s)},expression:"$root.$data.publication_date"}},[t._v(" "+t._s(t.strings.publicationDate)+" ")])],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.postTypes))]),e("html-sitemap-included-objects",{attrs:{type:"post_types",excluded:["attachment"]}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.taxonomies))]),e("html-sitemap-included-objects",{attrs:{type:"taxonomies"}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.sortOrder))]),e("base-select",{attrs:{size:"medium",options:t.sortOrders,value:t.getSortOrder(this.$root.$data.order_by),"track-by":"value"},on:{input:function(s){return n.$root.$data.order_by=s.value}}})],1),e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.sortDirection))]),e("base-select",{attrs:{size:"medium",options:t.sortDirections,value:t.getSortDirection(this.$root.$data.order),"track-by":"value"},on:{input:function(s){return n.$root.$data.order=s.value}}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.excludePostsPages))]),e("html-sitemap-exclude-objects",{attrs:{type:"posts"}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.excludeTerms))]),e("html-sitemap-exclude-objects",{attrs:{type:"terms"}})],1)])])},Va=[];const za={components:{HtmlSitemapExcludeObjects:Ma,HtmlSitemapIncludedObjects:Ha},data(){return{sortDirections:[{label:this.$t.__("Ascending",this.$td),value:"asc"},{label:this.$t.__("Descending",this.$td),value:"desc"}],sortOrders:[{label:this.$t.__("Publish Date",this.$td),value:"publish_date"},{label:this.$t.__("Last Updated",this.$td),value:"last_updated"},{label:this.$t.__("Alphabetical",this.$td),value:"alphabetical"},{label:this.$t.__("Post/Term ID",this.$td),value:"id"}],strings:{useDefault:this.$t.__("Use Default Settings",this.$td),postTypes:this.$t.__("Post Types",this.$td),taxonomies:this.$t.__("Taxonomies",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),showLabel:this.$t.__("Show Labels",this.$td),publicationDate:this.$t.__("Show Publication Date",this.$td),archives:this.$t.__("Compact Archives",this.$td),sortOrder:this.$t.__("Sort Order",this.$td),sortDirection:this.$t.__("Sort Direction",this.$td),excludePostsPages:this.$t.__("Exclude Posts / Pages",this.$td),excludeTerms:this.$t.__("Exclude Terms",this.$td)}}},methods:{getSortOrder(n){return this.sortOrders.find(t=>t.value===n)},getSortDirection(n){return this.sortDirections.find(t=>t.value===n)}}},Nn={};var Ua=pt(za,Fa,Va,!1,Wa,null,null,null);function Wa(n){for(let t in Nn)this[t]=Nn[t]}const Ga=function(){return Ua.exports}(),Yt=window.wp,Lt=Yt.element.createElement,Xa=Yt.element.Fragment,Ya=Yt.serverSideRender||Yt.components.ServerSideRender;var wo;const Za=((wo=Yt.blockEditor)==null?void 0:wo.InspectorControls)||Yt.editor.InspectorControls,Ka=Yt.components.PanelBody,Qa=Yt.components.Disabled,kn="all-in-one-seo-pack",Ja=Lt("svg",{width:25,height:25,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg"},Lt("path",{d:"M4.125 4.5H20.125V20.5H4.125V4.5ZM9.71875 6.89062H17.7188V8.49062H9.71875V6.89062ZM17.7188 10.0781H9.71875V11.6781H17.7188V10.0781ZM9.71875 13.2661H17.7188V14.8661H9.71875V13.2661ZM17.7188 16.5H9.71875V18.1H17.7188V16.5ZM6.51562 6.89062H8.11562V8.49062H6.51562V6.89062ZM8.11562 10.0781H6.51562V11.6781H8.11562V10.0781ZM6.51562 13.2661H8.11562V14.8661H6.51562V13.2661ZM8.11562 16.5H6.51562V18.1H8.11562V16.5Z",fillRule:"evenodd",clipRule:"evenodd"})),sn={},Ao="aioseo/html-sitemap",qa={title:k("AIOSEO - HTML Sitemap",kn),category:"aioseo",icon:Ja,example:{},attributes:{default:{type:"boolean",default:!0},post_types:{type:"string",default:'["post", "page"]'},post_types_all:{type:"boolean",default:!0},taxonomies:{type:"string",default:'["category", "post_tag"]'},taxonomies_all:{type:"boolean",default:!0},show_label:{type:"boolean",default:!0},archives:{type:"boolean",default:!1},publication_date:{type:"boolean",default:!0},nofollow_links:{type:"boolean",default:!1},order_by:{type:"string",default:"publish_date"},order:{type:"string",default:"asc"},excluded_posts:{type:"string",default:"[]"},excluded_terms:{type:"string",default:"[]"},is_admin:{type:"boolean",default:window.location&&window.location.pathname.startsWith("/wp-admin/")}},edit:function(n){const{setAttributes:t,attributes:o,className:e,clientId:s,isSelected:a}=n,r="aioseo-"+s;a&&(sn[s]={},Object.keys(o).forEach(function(l){sn[s][l]=o[l]}),Dt({id:r,parent:document.querySelector(".block-editor"),subtree:!0,done:function(l){new Pt({store:aa,el:l,data:function(){return sn[s]},watch:{$data:{handler:function(c){t(c)},deep:!0}},render:c=>c(Ga)})}}));const i=Lt(Za,null,Lt(Ka,{title:k("Display Settings",kn),initialOpen:!0},Lt("div",null,Lt("div",{id:r},null))));return Lt(Xa,{},i,Lt("div",{className:e},Lt(Qa,null,Lt(Ya,{block:Ao,attributes:{...o}}))))},save:function(){return null}},ts=Object.freeze(Object.defineProperty({__proto__:null,name:Ao,settings:qa},Symbol.toStringTag,{value:"Module"}));var es=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[t.locationsList.length&&!t.isLocationPostType()?e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationsList,value:t.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(s){return n.$root.$data.locationId=s.value}}})],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showLabels,callback:function(s){t.$set(t.$root.$data,"showLabels",s)},expression:"$root.$data.showLabels"}},[t._v(" "+t._s(t.strings.showLabels)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showIcons,callback:function(s){t.$set(t.$root.$data,"showIcons",s)},expression:"$root.$data.showIcons"}},[t._v(" "+t._s(t.strings.showIcons)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.businessInfo))])]),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showName,callback:function(s){t.$set(t.$root.$data,"showName",s)},expression:"$root.$data.showName"}},[t._v(" "+t._s(t.strings.showName)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showAddress,callback:function(s){t.$set(t.$root.$data,"showAddress",s)},expression:"$root.$data.showAddress"}},[t._v(" "+t._s(t.strings.address)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showPhone,callback:function(s){t.$set(t.$root.$data,"showPhone",s)},expression:"$root.$data.showPhone"}},[t._v(" "+t._s(t.strings.phoneNumber)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showFax,callback:function(s){t.$set(t.$root.$data,"showFax",s)},expression:"$root.$data.showFax"}},[t._v(" "+t._s(t.strings.faxNumber)+" ")])],1),t.$root.$data.showPhone||t.$root.$data.showFax?e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showCountryCode,callback:function(s){t.$set(t.$root.$data,"showCountryCode",s)},expression:"$root.$data.showCountryCode"}},[t._v(" "+t._s(t.strings.countryCode)+" ")])],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showEmail,callback:function(s){t.$set(t.$root.$data,"showEmail",s)},expression:"$root.$data.showEmail"}},[t._v(" "+t._s(t.strings.emailAddress)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showVat,callback:function(s){t.$set(t.$root.$data,"showVat",s)},expression:"$root.$data.showVat"}},[t._v(" "+t._s(t.strings.showVat)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showTax,callback:function(s){t.$set(t.$root.$data,"showTax",s)},expression:"$root.$data.showTax"}},[t._v(" "+t._s(t.strings.showTax)+" ")])],1),t.$root.$data.showLabels?e("div",[e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.labels))])]),e("div",{staticClass:"sidebar-row labels"},[t.$root.$data.showAddress?e("div",[e("label",[t._v(t._s(t.strings.addressLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.addressLabel,callback:function(s){t.$set(t.$root.$data,"addressLabel",s)},expression:"$root.$data.addressLabel"}})],1):t._e(),t.$root.$data.showVat?e("div",[e("label",[t._v(t._s(t.strings.vatIdLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.vatIdLabel,callback:function(s){t.$set(t.$root.$data,"vatIdLabel",s)},expression:"$root.$data.vatIdLabel"}})],1):t._e(),t.$root.$data.showTax?e("div",[e("label",[t._v(t._s(t.strings.taxIdLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.taxIdLabel,callback:function(s){t.$set(t.$root.$data,"taxIdLabel",s)},expression:"$root.$data.taxIdLabel"}})],1):t._e(),t.$root.$data.showPhone?e("div",[e("label",[t._v(t._s(t.strings.phoneLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.phoneLabel,callback:function(s){t.$set(t.$root.$data,"phoneLabel",s)},expression:"$root.$data.phoneLabel"}})],1):t._e(),t.$root.$data.showFax?e("div",[e("label",[t._v(t._s(t.strings.faxLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.faxLabel,callback:function(s){t.$set(t.$root.$data,"faxLabel",s)},expression:"$root.$data.faxLabel"}})],1):t._e(),t.$root.$data.showEmail?e("div",[e("label",[t._v(t._s(t.strings.emailLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.emailLabel,callback:function(s){t.$set(t.$root.$data,"emailLabel",s)},expression:"$root.$data.emailLabel"}})],1):t._e()])]):t._e()])},ns=[];const os={data(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showLabels:this.$t.__("Show labels",this.$td),showIcons:this.$t.__("Show icons",this.$td),businessInfo:this.$t.__("Business Info",this.$td),showName:this.$t.__("Name",this.$td),address:this.$t.__("Address",this.$td),phoneNumber:this.$t.__("Phone Number",this.$td),faxNumber:this.$t.__("Fax Number",this.$td),emailAddress:this.$t.__("Email Address",this.$td),showVat:this.$t.__("Show VAT ID",this.$td),showTax:this.$t.__("Show Tax ID",this.$td),countryCode:this.$t.__("Phone/Fax Country Code",this.$td),labels:this.$t.__("Labels",this.$td),addressLabel:this.$t.__("Address",this.$td),vatIdLabel:this.$t.__("Vat ID",this.$td),taxIdLabel:this.$t.__("Tax ID",this.$td),phoneLabel:this.$t.__("Phone",this.$td),faxLabel:this.$t.__("Fax",this.$td),emailLabel:this.$t.__("Email",this.$td)}}},methods:{getLocationOptions(n){let t=this.locationsList.find(o=>o.value===n);return!t&&!this.isLocationPostType()&&(t=this.locationsList.find(o=>!!o),t&&(this.$root.$data.locationId=t.value)),t},isLocationPostType(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created(){this.$root.$data.locations&&this.$root.$data.locations.forEach(n=>{this.locationsList.push({value:n.id,label:n.title.rendered})})}},Bn={};var as=pt(os,es,ns,!1,ss,"7b2079b4",null,null);function ss(n){for(let t in Bn)this[t]=Bn[t]}const rs=function(){return as.exports}(),Bt=window.wp,at=Bt.element.createElement,fe=Bt.element.Fragment;var xo;const is=((xo=Bt.blockEditor)==null?void 0:xo.InspectorControls)||Bt.editor.InspectorControls,ls=Bt.components.PanelBody,cs=Bt.components.Disabled,ds=Bt.serverSideRender||Bt.components.ServerSideRender,us=Bt.data.withSelect,wt="all-in-one-seo-pack",fs=at("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},at("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),Le={},Po="aioseo/businessinfo",hs={title:k("AIOSEO Local - Business Info",wt),category:"aioseo",icon:fs,example:{},attributes:{locationId:{type:"number",default:null},showLabels:{type:"boolean",default:!0},addressLabel:{type:"string",default:k("Address:",wt)},vatIdLabel:{type:"string",default:k("VAT ID:",wt)},taxIdLabel:{type:"string",default:k("Tax ID:",wt)},phoneLabel:{type:"string",default:k("Phone:",wt)},faxLabel:{type:"string",default:k("Fax:",wt)},emailLabel:{type:"string",default:k("Email:",wt)},showIcons:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showAddress:{type:"boolean",default:!0},showPhone:{type:"boolean",default:!0},showFax:{type:"boolean",default:!0},showCountryCode:{type:"boolean",default:!0},showEmail:{type:"boolean",default:!0},showVat:{type:"boolean",default:!0},showTax:{type:"boolean",default:!0},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},edit:us(function(n){return{locations:n("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100})}})(function(n){var d;const t=(d=window.aioseo.options.localBusiness)==null?void 0:d.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:r}=n;let{locations:i}=n;const l="aioseo-"+a;if(t&&i===null)return at(fe,{},at("div",{},k("Loading...",wt)));if(i=i===null?[]:i,!t&&e.locationId)return at(fe,{},at("div",{},k("Please enable multiple locations before using this block.",wt)));if(t&&i.length===0)return at(fe,{},at("div",{},Et(k("No %1$s found",wt),window.aioseo.localBusiness.postTypePluralLabel)));e.locationId=!e.locationId&&window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?window.aioseo.currentPost.id:e.locationId,r&&(Le[a]={},Object.keys(e).forEach(function(u){Le[a][u]=e[u]}),Le[a].locations=i,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return Le[a]},watch:{$data:{handler:function(f){o(f)},deep:!0}},render:f=>f(rs)})}})),window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName&&Dt({id:l+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return window.aioseo.currentPost.local_seo.locations.business},watch:{$data:{handler:function(){o({updated:Date.now()})},deep:!0}},render:f=>f(null)})}});const c=at(is,null,at(ls,{title:k("Display Settings",wt),initialOpen:!0},at("div",null,at("div",{id:l},null))));return t&&!e.locationId?at(fe,{},c,at("div",{},Et(k("Select a %1$s",wt),window.aioseo.localBusiness.postTypeSingleLabel))):at(fe,{},c,at("div",{className:s},at(cs,null,at(ds,{block:Po,attributes:{locationId:e.locationId?e.locationId:0,layout:e.layout,showLabels:e.showLabels,showIcons:e.showIcons,showName:e.showName,showAddress:e.showAddress,showPhone:e.showPhone,showFax:e.showFax,showCountryCode:e.showCountryCode,showEmail:e.showEmail,showVat:e.showVat,showTax:e.showTax,addressLabel:e.addressLabel,vatIdLabel:e.vatIdLabel,taxIdLabel:e.taxIdLabel,phoneLabel:e.phoneLabel,faxLabel:e.faxLabel,emailLabel:e.emailLabel,updated:e.updated,dataObject:window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?JSON.stringify(window.aioseo.currentPost.local_seo.locations.business):null}})),at("div",{},at("div",{id:l+"-watcher"},null))))}),save:function(){return null}},ps=Object.freeze(Object.defineProperty({__proto__:null,name:Po,settings:hs},Symbol.toStringTag,{value:"Module"}));var gs=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[t.locationsList.length&&!t.isLocationPostType()?e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationsList,value:t.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(s){return n.$root.$data.locationId=s.value}}})],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showTitle,callback:function(s){t.$set(t.$root.$data,"showTitle",s)},expression:"$root.$data.showTitle"}},[t._v(" "+t._s(t.strings.showTitle)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showIcons,callback:function(s){t.$set(t.$root.$data,"showIcons",s)},expression:"$root.$data.showIcons"}},[t._v(" "+t._s(t.strings.showIcons)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showMonday,callback:function(s){t.$set(t.$root.$data,"showMonday",s)},expression:"$root.$data.showMonday"}},[t._v(" "+t._s(t.strings.Monday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showTuesday,callback:function(s){t.$set(t.$root.$data,"showTuesday",s)},expression:"$root.$data.showTuesday"}},[t._v(" "+t._s(t.strings.Tuesday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showWednesday,callback:function(s){t.$set(t.$root.$data,"showWednesday",s)},expression:"$root.$data.showWednesday"}},[t._v(" "+t._s(t.strings.Wednesday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showThursday,callback:function(s){t.$set(t.$root.$data,"showThursday",s)},expression:"$root.$data.showThursday"}},[t._v(" "+t._s(t.strings.Thursday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showFriday,callback:function(s){t.$set(t.$root.$data,"showFriday",s)},expression:"$root.$data.showFriday"}},[t._v(" "+t._s(t.strings.Friday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showSaturday,callback:function(s){t.$set(t.$root.$data,"showSaturday",s)},expression:"$root.$data.showSaturday"}},[t._v(" "+t._s(t.strings.Saturday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showSunday,callback:function(s){t.$set(t.$root.$data,"showSunday",s)},expression:"$root.$data.showSunday"}},[t._v(" "+t._s(t.strings.Sunday)+" ")])],1),t.$root.$data.showTitle?e("div",{staticClass:"sidebar-row labels"},[e("label",[t._v(t._s(t.strings.label))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.label,callback:function(s){t.$set(t.$root.$data,"label",s)},expression:"$root.$data.label"}})],1):t._e()])},vs=[];const ms={data(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showTitle:this.$t.__("Show Title",this.$td),showIcons:this.$t.__("Show Icons",this.$td),Monday:this.$t.__("Monday",this.$td),Tuesday:this.$t.__("Tuesday",this.$td),Wednesday:this.$t.__("Wednesday",this.$td),Thursday:this.$t.__("Thursday",this.$td),Friday:this.$t.__("Friday",this.$td),Saturday:this.$t.__("Saturday",this.$td),Sunday:this.$t.__("Sunday",this.$td),label:this.$t.__("Label",this.$td)}}},methods:{getLocationOptions(n){let t=this.locationsList.find(o=>o.value===n);return!t&&!this.isLocationPostType()&&(t=this.locationsList.find(o=>!!o),t&&(this.$root.$data.locationId=t.value)),t},isLocationPostType(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created(){this.$root._data.locations&&this.$root._data.locations.forEach(n=>{this.locationsList.push({value:n.id,label:n.title.rendered})})}},jn={};var bs=pt(ms,gs,vs,!1,ys,"5fc2a0b1",null,null);function ys(n){for(let t in jn)this[t]=jn[t]}const $s=function(){return bs.exports}(),jt=window.wp,st=jt.element.createElement,he=jt.element.Fragment;var So;const ws=((So=jt.blockEditor)==null?void 0:So.InspectorControls)||jt.editor.InspectorControls,xs=jt.components.PanelBody,Ss=jt.components.Disabled,_s=jt.serverSideRender||jt.components.ServerSideRender,Cs=jt.data.withSelect,Kt="all-in-one-seo-pack",Os=st("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},st("path",{d:"M9.99999 0.400024C15.304 0.400024 19.6 4.69602 19.6 10C19.6 15.304 15.304 19.6 9.99999 19.6C4.69599 19.6 0.399994 15.304 0.399994 10C0.399994 4.69602 4.69599 0.400024 9.99999 0.400024ZM9.99999 17.2C13.972 17.2 17.2 13.972 17.2 10C17.2 6.02802 13.972 2.80002 9.99999 2.80002C6.02799 2.80002 2.79999 6.02802 2.79999 10C2.79999 13.972 6.02799 17.2 9.99999 17.2ZM9.14799 10.852C9.23199 10.912 9.31599 10.972 9.42399 11.032L9.39999 11.056L14.8 13.6L11.164 9.77202L9.99999 4.00002L8.83599 9.77202H8.84799C8.84799 9.79602 8.83599 9.83202 8.82399 9.88002C8.81199 9.92802 8.79999 9.96402 8.79999 10C8.79999 10.336 8.91999 10.624 9.14799 10.852Z"})),De={},Mo="aioseo/openinghours",Is={title:k("AIOSEO Local - Opening Hours",Kt),category:"aioseo",icon:Os,example:{},attributes:{locationId:{type:"number",default:null},layout:{type:"string",default:"classic"},showTitle:{type:"boolean",default:!0},showIcons:{type:"boolean",default:!0},showMonday:{type:"boolean",default:!0},showTuesday:{type:"boolean",default:!0},showWednesday:{type:"boolean",default:!0},showThursday:{type:"boolean",default:!0},showFriday:{type:"boolean",default:!0},showSaturday:{type:"boolean",default:!0},showSunday:{type:"boolean",default:!0},label:{type:"string",default:k("Our Opening Hours:",Kt)},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},edit:Cs(function(n){return{locations:n("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100})}})(function(n){var d;const t=(d=window.aioseo.options.localBusiness)==null?void 0:d.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:r}=n;let{locations:i}=n;const l=`aioseo-${a}-settings`;if(t&&i===null)return st(he,{},st("div",{},k("Loading...",Kt)));if(i=i===null?[]:i,!t&&e.locationId)return st(he,{},st("div",{},k("Please enable multiple locations before using this block.",Kt)));if(t&&i.length===0)return st(he,{},st("div",{},Et(k("No %1$s found",Kt),window.aioseo.localBusiness.postTypePluralLabel)));e.locationId=!e.locationId&&window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?window.aioseo.currentPost.id:e.locationId,r&&(De[a]={},Object.keys(e).forEach(function(u){De[a][u]=e[u]}),De[a].locations=i,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return De[a]},watch:{$data:{handler:function(f){o(f)},deep:!0}},render:f=>f($s)})}})),window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName&&Dt({id:l+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return window.aioseo.currentPost.local_seo.openingHours},watch:{$data:{handler:function(){o({updated:Date.now()})},deep:!0}},render:f=>f(null)})}});const c=st(ws,null,st(xs,{title:k("Display Settings",Kt),initialOpen:!0},st("div",{},st("div",{id:l},null))));return t&&!e.locationId?st(he,{},c,st("div",{},Et(k("Select a %1$s",Kt),window.aioseo.localBusiness.postTypeSingleLabel))):st(he,{},c,st("div",{className:s},st(Ss,null,st(_s,{block:Mo,attributes:{locationId:e.locationId?e.locationId:0,layout:e.layout,showTitle:e.showTitle,showIcons:e.showIcons,showMonday:e.showMonday,showTuesday:e.showTuesday,showWednesday:e.showWednesday,showThursday:e.showThursday,showFriday:e.showFriday,showSaturday:e.showSaturday,showSunday:e.showSunday,label:e.label,updated:e.updated,dataObject:window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?JSON.stringify(window.aioseo.currentPost.local_seo.openingHours):null}})),st("div",{},st("div",{id:l+"-watcher"},null))))}),save:function(){return null}},Es=Object.freeze(Object.defineProperty({__proto__:null,name:Mo,settings:Is},Symbol.toStringTag,{value:"Module"}));var Ts=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationCategories,value:t.getCategoryOptions(this.$root.$data.categoryId),"track-by":"value"},on:{input:function(s){return n.$root.$data.categoryId=s.value}}})],1)])},Ls=[];const Ds={data(){return{locationCategories:[],strings:{selectLocation:window.aioseo.localBusiness.taxonomySingleLabel}}},methods:{getCategoryOptions(n){let t=this.locationCategories.find(o=>o.value===n);return t||(t=this.locationCategories.find(o=>o.value===window.aioseo.currentPost.localBusinessCategory)||this.locationCategories.find(o=>!!o),t&&(this.$root.$data.categoryId=t.value)),t}},created(){this.$root.$data.categories&&this.$root.$data.categories.forEach(n=>{this.locationCategories.push({value:n.id,label:n.name})})}},Rn={};var As=pt(Ds,Ts,Ls,!1,Ps,null,null,null);function Ps(n){for(let t in Rn)this[t]=Rn[t]}const Ms=function(){return As.exports}(),Rt=window.wp,rt=Rt.element.createElement,ne=Rt.element.Fragment;var _o;const Ns=((_o=Rt.blockEditor)==null?void 0:_o.InspectorControls)||Rt.editor.InspectorControls,ks=Rt.components.PanelBody,Bs=Rt.components.Disabled,js=Rt.serverSideRender||Rt.components.ServerSideRender,Rs=Rt.data.withSelect,oe="all-in-one-seo-pack",Hs=rt("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},rt("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),Ae={},No="aioseo/locations",Fs={title:k("AIOSEO Local - Locations",oe),category:"aioseo",icon:Hs,example:{},attributes:{categoryId:{type:"number",default:null}},edit:Rs(function(n){return{categories:n("core").getEntityRecords("taxonomy",window.aioseo.localBusiness.taxonomyName)}})(function(n){var d;const t=(d=window.aioseo.options.localBusiness)==null?void 0:d.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:r}=n;let{categories:i}=n;const l="aioseo-"+a;if(t&&i===null)return rt(ne,{},rt("div",{},k("Loading...",oe)));if(i=i===null?[]:i,!t)return rt(ne,{},rt("div",{},k("Please enable multiple locations before using this block.",oe)));if(i.length===0)return rt(ne,{},rt("div",{},Et(k("No %1$s found",oe),window.aioseo.localBusiness.taxonomyPluralLabel)));r&&(Ae[a]={},Object.keys(e).forEach(function(u){Ae[a][u]=e[u]}),Ae[a].categories=i,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return Ae[a]},watch:{$data:{handler:function(f){o(f)},deep:!0}},render:f=>f(Ms)})}}));const c=rt(Ns,null,rt(ks,{title:window.aioseo.localBusiness.postTypePluralLabel,initialOpen:!0},rt("div",{},rt("div",{id:l},null))));return i!==null&&i.length===0?rt(ne,{},rt("div",{},Et(k("No %1$s found",oe),window.aioseo.localBusiness.taxonomyPluralLabel))):e.categoryId?rt(ne,{},c,rt("div",{className:s},rt(Bs,null,rt(js,{block:No,attributes:{categoryId:e.categoryId}})))):rt(ne,{},c,rt("div",{},Et(k("Select a %1$s",oe),window.aioseo.localBusiness.taxonomySingleLabel)))}),save:function(){return null}},Vs=Object.freeze(Object.defineProperty({__proto__:null,name:No,settings:Fs},Symbol.toStringTag,{value:"Module"})),ue=window.wp,St=ue.element.createElement,Pe=ue.element.Fragment,zs=ue.serverSideRender||ue.components.ServerSideRender,Us=ue.components.Disabled,Ws=ue.data.withSelect,Me="all-in-one-seo-pack",Gs=St("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},St("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),ko="aioseo/locationcategories",Xs={title:k("AIOSEO Local - Location Categories",Me),category:"aioseo",icon:Gs,example:{},edit:Ws(function(n){return{categories:n("core").getEntityRecords("taxonomy",window.aioseo.localBusiness.taxonomyName)}})(function(n){var s;const t=(s=window.aioseo.options.localBusiness)==null?void 0:s.locations.general.multiple,{className:o}=n;let{categories:e}=n;return t&&e===null?St(Pe,{},St("div",{},k("Loading...",Me))):(e=e===null?[]:e,t?e.length===0?St(Pe,{},St("div",{},Et(k("No %1$s found",Me),window.aioseo.localBusiness.taxonomyPluralLabel))):St(Pe,{},St("div",{className:o},St(Us,null,St(zs,{block:ko})))):St(Pe,{},St("div",{},k("Please enable multiple locations before using this block.",Me))))}),save:function(){return null}},Ys=Object.freeze(Object.defineProperty({__proto__:null,name:ko,settings:Xs},Symbol.toStringTag,{value:"Module"}));var Zs=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[t.locationsList.length&&!t.isLocationPostType()?e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationsList,value:t.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(s){return n.$root.$data.locationId=s.value}}})],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showLabel,callback:function(s){t.$set(t.$root.$data,"showLabel",s)},expression:"$root.$data.showLabel"}},[t._v(" "+t._s(t.strings.showLabel)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showIcon,callback:function(s){t.$set(t.$root.$data,"showIcon",s)},expression:"$root.$data.showIcon"}},[t._v(" "+t._s(t.strings.showIcon)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.customMarker))]),e("div",{staticClass:"image-upload"},[e("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},model:{value:t.$root.$data.customMarker,callback:function(s){t.$set(t.$root.$data,"customMarker",s)},expression:"$root.$data.customMarker"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(s){t.openUploadModal("locationMapImage",function(a){return t.$root.$data.customMarker=a})}}},[e("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),t.$root.$data.customMarker?e("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(s){t.$root.$data.customMarker=null}}},[t._v(" "+t._s(t.strings.remove)+" ")]):t._e()],1),e("div",{staticClass:"aioseo-description",domProps:{innerHTML:t._s(t.strings.minimumSize)}}),e("base-img",{attrs:{src:t.$root.$data.customMarker}})],1),e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.mapDisplay))])]),e("div",{staticClass:"sidebar-row dimensions"},[e("div",[e("label",[t._v(t._s(t.strings.width)+":")]),e("base-input",{model:{value:t.$root.$data.width,callback:function(s){t.$set(t.$root.$data,"width",s)},expression:"$root.$data.width"}})],1),e("div",[e("div",[e("label",[t._v(t._s(t.strings.height)+":")]),e("base-input",{model:{value:t.$root.$data.height,callback:function(s){t.$set(t.$root.$data,"height",s)},expression:"$root.$data.height"}})],1)])]),t.$root.$data.showLabel?e("div",{staticClass:"sidebar-row labels"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.label))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.label,callback:function(s){t.$set(t.$root.$data,"label",s)},expression:"$root.$data.label"}})],1):t._e()])},Ks=[];const Qs={components:{BaseImg:pa,SvgCirclePlus:ga},mixins:[ha],data(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showLabel:this.$t.__("Show label",this.$td),showIcon:this.$t.__("Show icon",this.$td),businessInfo:this.$t.__("Business Info",this.$td),mapDisplay:this.$t.__("Map Display",this.$td),width:this.$t.__("Width",this.$td),height:this.$t.__("Height",this.$td),customMarker:this.$t.__("Custom Marker",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.sprintf(this.$t.__("%1$sThe custom marker should be: 100x100 px.%2$s If the image exceeds those dimensions it could (partially) cover the info popup.",this.$td),"<strong>","</strong>"),remove:this.$t.__("Remove",this.$td),label:this.$t.__("Label",this.$td)}}},methods:{getLocationOptions(n){let t=this.locationsList.find(o=>o.value===n);return!t&&!this.isLocationPostType()&&(t=this.locationsList.find(o=>!!o),t&&(this.$root.$data.locationId=t.value)),t},isLocationPostType(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created(){this.$root.$data.locations&&this.$root.$data.locations.forEach(n=>{this.locationsList.push({value:n.id,label:n.title.rendered})})}},Hn={};var Js=pt(Qs,Zs,Ks,!1,qs,"40af2160",null,null);function qs(n){for(let t in Hn)this[t]=Hn[t]}const tr=function(){return Js.exports}();function er(n){let t;try{t=new URL(n,"http://example.com").search.substring(1)}catch{}if(t)return t}function nr(n){let t="";const o=Object.entries(n);let e;for(;e=o.shift();){let[s,a]=e;if(Array.isArray(a)||a&&a.constructor===Object){const i=Object.entries(a).reverse();for(const[l,c]of i)o.unshift([`${s}[${l}]`,c])}else a!==void 0&&(a===null&&(a=""),t+="&"+[s,a].map(encodeURIComponent).join("="))}return t.substr(1)}function or(n,t,o){const e=t.length,s=e-1;for(let a=0;a<e;a++){let r=t[a];!r&&Array.isArray(n)&&(r=n.length.toString()),r=["__proto__","constructor","prototype"].includes(r)?r.toUpperCase():r;const i=!isNaN(Number(t[a+1]));n[r]=a===s?o:n[r]||(i?[]:{}),Array.isArray(n[r])&&!i&&(n[r]={...n[r]}),n=n[r]}}function ar(n){return(er(n)||"").replace(/\+/g,"%20").split("&").reduce((t,o)=>{const[e,s=""]=o.split("=").filter(Boolean).map(decodeURIComponent);if(e){const a=e.replace(/\]/g,"").split("[");or(t,a,s)}return t},Object.create(null))}function sr(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return n;let o=n;const e=n.indexOf("?");return e!==-1&&(t=Object.assign(ar(n),t),o=o.substr(0,e)),o+"?"+nr(t)}const Ht=window.wp,K=Ht.element.createElement,ae=Ht.element.Fragment;var Co;const rr=((Co=Ht.blockEditor)==null?void 0:Co.InspectorControls)||Ht.editor.InspectorControls,ir=Ht.components.PanelBody,lr=Ht.components.Disabled,cr=Ht.serverSideRender||Ht.components.ServerSideRender,dr=Ht.data.withSelect,Vt="all-in-one-seo-pack",ur=K("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},K("path",{d:"M11 11.14L9.83 5.2C9.04 4.77 8.5 3.95 8.5 3C8.5 1.62 9.62 0.499999 11 0.499999C12.38 0.499999 13.5 1.62 13.5 3C13.5 3.95 12.96 4.77 12.17 5.2L11 11.14ZM11 1.5C10.17 1.5 9.5 2.17 9.5 3C9.5 3.83 10.17 4.5 11 4.5C11.83 4.5 12.5 3.83 12.5 3C12.5 2.17 11.83 1.5 11 1.5ZM12.72 6.3L11 13.68L9.27 6.38L5 4.97L2.98023e-08 6.97V15.97L5 13.97L11.12 16L16 13.97V4.97L12.72 6.3Z"})),Ne={},fr="aioseo/locationmap",hr={title:k("AIOSEO Local - Map",Vt),category:"aioseo",icon:ur,example:{},attributes:{locationId:{type:"number",default:null},showLabel:{type:"boolean",default:!0},showIcon:{type:"boolean",default:!0},customMarker:{type:"string",default:null},width:{type:"string",default:"100%"},height:{type:"string",default:"450px"},label:{type:"string",default:k("Our location:",Vt)},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},edit:dr(function(n){return{locations:n("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100})}})(function(n){var p;const t=(p=window.aioseo.options.localBusiness)==null?void 0:p.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:r}=n;let{locations:i}=n;const l="aioseo-location-map-"+a;if(t&&i===null)return K(ae,{},K("div",{},k("Loading...",Vt)));if(i=i===null?[]:i,!t&&e.locationId)return K(ae,{},K("div",{},k("Please enable multiple locations before using this block.",Vt)));if(t&&i.length===0)return K(ae,{},K("div",{},Et(k("No %1$s found",Vt),window.aioseo.localBusiness.postTypePluralLabel)));const c=window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName;e.locationId=!e.locationId&&c?window.aioseo.currentPost.id:e.locationId;const d=i.find(h=>h.id===e.locationId),u=c?window.aioseo.currentPost.local_seo.maps:d?d.maps:null;r&&(Ne[a]={},Object.keys(e).forEach(function(h){Ne[a][h]=e[h]}),Ne[a].locations=i,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(h){new Pt({el:h,data:function(){return Ne[a]},watch:{$data:{handler:function(y){o(y)},deep:!0}},render:y=>y(tr)})}})),c&&Dt({id:l+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(h){new Pt({el:h,data:function(){return window.aioseo.currentPost.local_seo.maps},watch:{$data:{handler:function(){o({updated:Date.now()})},deep:!0}},render:y=>y(null)})}});const f=K(rr,null,K(ir,{title:k("Settings",Vt),initialOpen:!0},K("div",null,K("div",{id:l},null))));if(t){if(!e.locationId)return K(ae,{},f,K("div",{},Et(k("Select a %1$s",Vt),window.aioseo.localBusiness.postTypeSingleLabel)));if(!u){const h=sr("post.php",{post:e.locationId,action:"edit"});return K(ae,{},f,K("div",{dangerouslySetInnerHTML:{__html:Et(k("Please configure the map for this location: %1$s",Vt),'<a href="'+h+'" target="_blank">'+d.title.rendered+"</a>")}}))}}const v="#"+l+"-preview .aioseo-local-map";return Dt({selector:v,parent:document.querySelector(".block-editor"),subtree:!0,done:function(){const h=u||window.aioseo.options.localBusiness.maps;setTimeout(function(){document.dispatchEvent(new CustomEvent(window.aioseo.localBusiness.mapLoadEvent,{detail:{element:v,mapOptions:h.mapOptions,customMarker:e.customMarker||h.customMarker||window.aioseo.options.localBusiness.maps.customMarker,instance:e,placeId:window.aioseo.options.localBusiness.maps.mapsEmbedApiEnabled?h.placeId:null,infoWindowContent:h.infoWindowContent?h.infoWindowContent:null}}))},2e3)}}),K(ae,{},f,K("div",{className:s,id:l+"-preview"},K(lr,null,K(cr,{block:"aioseo/locationmap",attributes:{locationId:e.locationId?e.locationId:0,showLabel:e.showLabel,showIcon:e.showIcon,customMarker:e.customMarker,width:e.width,height:e.height,label:e.label,updated:e.updated,dataObject:c?JSON.stringify(window.aioseo.currentPost.local_seo.maps):null}})),K("div",{},K("div",{id:l+"-watcher"},null))))}),save:function(){return null}},pr=Object.freeze(Object.defineProperty({__proto__:null,name:fr,settings:hr},Symbol.toStringTag,{value:"Module"})),gr="https://schemas.wp.org/wp/5.8/block.json",vr="aioseo/table-of-contents",mr="1.0.0",br="AIOSEO - Table of Contents",yr="Automatically output a table of contents (TOC) for long posts or pages (and custom post types).",$r="layout",wr=["toc","table of contents","document outline","summary","index"],xr="all-in-one-seo-pack",Sr={listStyle:{type:"string",default:"ul"},headings:{type:"array",items:{type:"object"},default:[]},reOrdered:{type:"boolean",default:!1}},_r={multiple:!1,html:!1,align:["wide","full"]},Bo={$schema:gr,name:vr,version:mr,title:br,description:yr,category:$r,keywords:wr,textdomain:xr,attributes:Sr,supports:_r},Cr={blockClientId:null,headings:[],listStyle:"ul",reOrdered:!1},Or={setHeadings(n,t){n.headings=t}};Pt.use(Eo);const bt=new Eo.Store({state:Cr,mutations:Or});var Ir=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-info",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:"currentColor"}})])},Er=[];const Tr={},Fn={};var Lr=pt(Tr,Ir,Er,!1,Dr,null,null,null);function Dr(n){for(let t in Fn)this[t]=Fn[t]}const jo=function(){return Lr.exports}();var Ar=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-drag",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"}})])},Pr=[];const Mr={},Vn={};var Nr=pt(Mr,Ar,Pr,!1,kr,null,null,null);function kr(n){for(let t in Vn)this[t]=Vn[t]}const Br=function(){return Nr.exports}();var Ro={exports:{}};/**!
|
2 |
+
* Sortable 1.10.2
|
3 |
+
* @author RubaXa <trash@rubaxa.org>
|
4 |
+
* @author owenm <owen23355@gmail.com>
|
5 |
+
* @license MIT
|
6 |
+
*/function Ue(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ue=function(t){return typeof t}:Ue=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ue(n)}function jr(n,t,o){return t in n?Object.defineProperty(n,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[t]=o,n}function _t(){return _t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},_t.apply(this,arguments)}function Zt(n){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{},e=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(e=e.concat(Object.getOwnPropertySymbols(o).filter(function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),e.forEach(function(s){jr(n,s,o[s])})}return n}function Rr(n,t){if(n==null)return{};var o={},e=Object.keys(n),s,a;for(a=0;a<e.length;a++)s=e[a],!(t.indexOf(s)>=0)&&(o[s]=n[s]);return o}function Hr(n,t){if(n==null)return{};var o=Rr(n,t),e,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(s=0;s<a.length;s++)e=a[s],!(t.indexOf(e)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,e)||(o[e]=n[e]))}return o}function Fr(n){return Vr(n)||zr(n)||Ur()}function Vr(n){if(Array.isArray(n)){for(var t=0,o=new Array(n.length);t<n.length;t++)o[t]=n[t];return o}}function zr(n){if(Symbol.iterator in Object(n)||Object.prototype.toString.call(n)==="[object Arguments]")return Array.from(n)}function Ur(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var Wr="1.10.2";function kt(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Ft=kt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ie=kt(/Edge/i),zn=kt(/firefox/i),yn=kt(/safari/i)&&!kt(/chrome/i)&&!kt(/android/i),Ho=kt(/iP(ad|od|hone)/i),Gr=kt(/chrome/i)&&kt(/android/i),Fo={capture:!1,passive:!1};function R(n,t,o){n.addEventListener(t,o,!Ft&&Fo)}function j(n,t,o){n.removeEventListener(t,o,!Ft&&Fo)}function Ke(n,t){if(!!t){if(t[0]===">"&&(t=t.substring(1)),n)try{if(n.matches)return n.matches(t);if(n.msMatchesSelector)return n.msMatchesSelector(t);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(t)}catch{return!1}return!1}}function Xr(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function It(n,t,o,e){if(n){o=o||document;do{if(t!=null&&(t[0]===">"?n.parentNode===o&&Ke(n,t):Ke(n,t))||e&&n===o)return n;if(n===o)break}while(n=Xr(n))}return null}var Un=/\s+/g;function Y(n,t,o){if(n&&t)if(n.classList)n.classList[o?"add":"remove"](t);else{var e=(" "+n.className+" ").replace(Un," ").replace(" "+t+" "," ");n.className=(e+(o?" "+t:"")).replace(Un," ")}}function w(n,t,o){var e=n&&n.style;if(e){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(o=n.currentStyle),t===void 0?o:o[t];!(t in e)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),e[t]=o+(typeof o=="string"?"":"px")}}function te(n,t){var o="";if(typeof n=="string")o=n;else do{var e=w(n,"transform");e&&e!=="none"&&(o=e+" "+o)}while(!t&&(n=n.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(o)}function Vo(n,t,o){if(n){var e=n.getElementsByTagName(t),s=0,a=e.length;if(o)for(;s<a;s++)o(e[s],s);return e}return[]}function At(){var n=document.scrollingElement;return n||document.documentElement}function q(n,t,o,e,s){if(!(!n.getBoundingClientRect&&n!==window)){var a,r,i,l,c,d,u;if(n!==window&&n!==At()?(a=n.getBoundingClientRect(),r=a.top,i=a.left,l=a.bottom,c=a.right,d=a.height,u=a.width):(r=0,i=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,u=window.innerWidth),(t||o)&&n!==window&&(s=s||n.parentNode,!Ft))do if(s&&s.getBoundingClientRect&&(w(s,"transform")!=="none"||o&&w(s,"position")!=="static")){var f=s.getBoundingClientRect();r-=f.top+parseInt(w(s,"border-top-width")),i-=f.left+parseInt(w(s,"border-left-width")),l=r+a.height,c=i+a.width;break}while(s=s.parentNode);if(e&&n!==window){var v=te(s||n),p=v&&v.a,h=v&&v.d;v&&(r/=h,i/=p,u/=p,d/=h,l=r+d,c=i+u)}return{top:r,left:i,bottom:l,right:c,width:u,height:d}}}function Wn(n,t,o){for(var e=Gt(n,!0),s=q(n)[t];e;){var a=q(e)[o],r=void 0;if(o==="top"||o==="left"?r=s>=a:r=s<=a,!r)return e;if(e===At())break;e=Gt(e,!1)}return!1}function Qe(n,t,o){for(var e=0,s=0,a=n.children;s<a.length;){if(a[s].style.display!=="none"&&a[s]!==D.ghost&&a[s]!==D.dragged&&It(a[s],o.draggable,n,!1)){if(e===t)return a[s];e++}s++}return null}function In(n,t){for(var o=n.lastElementChild;o&&(o===D.ghost||w(o,"display")==="none"||t&&!Ke(o,t));)o=o.previousElementSibling;return o||null}function J(n,t){var o=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==D.clone&&(!t||Ke(n,t))&&o++;return o}function Gn(n){var t=0,o=0,e=At();if(n)do{var s=te(n),a=s.a,r=s.d;t+=n.scrollLeft*a,o+=n.scrollTop*r}while(n!==e&&(n=n.parentNode));return[t,o]}function Yr(n,t){for(var o in n)if(!!n.hasOwnProperty(o)){for(var e in t)if(t.hasOwnProperty(e)&&t[e]===n[o][e])return Number(o)}return-1}function Gt(n,t){if(!n||!n.getBoundingClientRect)return At();var o=n,e=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var s=w(o);if(o.clientWidth<o.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return At();if(e||t)return o;e=!0}}while(o=o.parentNode);return At()}function Zr(n,t){if(n&&t)for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return n}function rn(n,t){return Math.round(n.top)===Math.round(t.top)&&Math.round(n.left)===Math.round(t.left)&&Math.round(n.height)===Math.round(t.height)&&Math.round(n.width)===Math.round(t.width)}var xe;function zo(n,t){return function(){if(!xe){var o=arguments,e=this;o.length===1?n.call(e,o[0]):n.apply(e,o),xe=setTimeout(function(){xe=void 0},t)}}}function Kr(){clearTimeout(xe),xe=void 0}function Uo(n,t,o){n.scrollLeft+=t,n.scrollTop+=o}function En(n){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(n).cloneNode(!0):o?o(n).clone(!0)[0]:n.cloneNode(!0)}function Xn(n,t){w(n,"position","absolute"),w(n,"top",t.top),w(n,"left",t.left),w(n,"width",t.width),w(n,"height",t.height)}function ln(n){w(n,"position",""),w(n,"top",""),w(n,"left",""),w(n,"width",""),w(n,"height","")}var ft="Sortable"+new Date().getTime();function Qr(){var n=[],t;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var e=[].slice.call(this.el.children);e.forEach(function(s){if(!(w(s,"display")==="none"||s===D.ghost)){n.push({target:s,rect:q(s)});var a=Zt({},n[n.length-1].rect);if(s.thisAnimationDuration){var r=te(s,!0);r&&(a.top-=r.f,a.left-=r.e)}s.fromRect=a}})}},addAnimationState:function(e){n.push(e)},removeAnimationState:function(e){n.splice(Yr(n,{target:e}),1)},animateAll:function(e){var s=this;if(!this.options.animation){clearTimeout(t),typeof e=="function"&&e();return}var a=!1,r=0;n.forEach(function(i){var l=0,c=i.target,d=c.fromRect,u=q(c),f=c.prevFromRect,v=c.prevToRect,p=i.rect,h=te(c,!0);h&&(u.top-=h.f,u.left-=h.e),c.toRect=u,c.thisAnimationDuration&&rn(f,u)&&!rn(d,u)&&(p.top-u.top)/(p.left-u.left)===(d.top-u.top)/(d.left-u.left)&&(l=qr(p,f,v,s.options)),rn(u,d)||(c.prevFromRect=d,c.prevToRect=u,l||(l=s.options.animation),s.animate(c,p,u,l)),l&&(a=!0,r=Math.max(r,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),a?t=setTimeout(function(){typeof e=="function"&&e()},r):typeof e=="function"&&e(),n=[]},animate:function(e,s,a,r){if(r){w(e,"transition",""),w(e,"transform","");var i=te(this.el),l=i&&i.a,c=i&&i.d,d=(s.left-a.left)/(l||1),u=(s.top-a.top)/(c||1);e.animatingX=!!d,e.animatingY=!!u,w(e,"transform","translate3d("+d+"px,"+u+"px,0)"),Jr(e),w(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),w(e,"transform","translate3d(0,0,0)"),typeof e.animated=="number"&&clearTimeout(e.animated),e.animated=setTimeout(function(){w(e,"transition",""),w(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},r)}}}}function Jr(n){return n.offsetWidth}function qr(n,t,o,e){return Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*e.animation}var pe=[],cn={initializeByDefault:!0},Ee={mount:function(t){for(var o in cn)cn.hasOwnProperty(o)&&!(o in t)&&(t[o]=cn[o]);pe.push(t)},pluginEvent:function(t,o,e){var s=this;this.eventCanceled=!1,e.cancel=function(){s.eventCanceled=!0};var a=t+"Global";pe.forEach(function(r){!o[r.pluginName]||(o[r.pluginName][a]&&o[r.pluginName][a](Zt({sortable:o},e)),o.options[r.pluginName]&&o[r.pluginName][t]&&o[r.pluginName][t](Zt({sortable:o},e)))})},initializePlugins:function(t,o,e,s){pe.forEach(function(i){var l=i.pluginName;if(!(!t.options[l]&&!i.initializeByDefault)){var c=new i(t,o,t.options);c.sortable=t,c.options=t.options,t[l]=c,_t(e,c.defaults)}});for(var a in t.options)if(!!t.options.hasOwnProperty(a)){var r=this.modifyOption(t,a,t.options[a]);typeof r<"u"&&(t.options[a]=r)}},getEventProperties:function(t,o){var e={};return pe.forEach(function(s){typeof s.eventProperties=="function"&&_t(e,s.eventProperties.call(o[s.pluginName],t))}),e},modifyOption:function(t,o,e){var s;return pe.forEach(function(a){!t[a.pluginName]||a.optionListeners&&typeof a.optionListeners[o]=="function"&&(s=a.optionListeners[o].call(t[a.pluginName],e))}),s}};function be(n){var t=n.sortable,o=n.rootEl,e=n.name,s=n.targetEl,a=n.cloneEl,r=n.toEl,i=n.fromEl,l=n.oldIndex,c=n.newIndex,d=n.oldDraggableIndex,u=n.newDraggableIndex,f=n.originalEvent,v=n.putSortable,p=n.extraEventProperties;if(t=t||o&&o[ft],!!t){var h,y=t.options,I="on"+e.charAt(0).toUpperCase()+e.substr(1);window.CustomEvent&&!Ft&&!Ie?h=new CustomEvent(e,{bubbles:!0,cancelable:!0}):(h=document.createEvent("Event"),h.initEvent(e,!0,!0)),h.to=r||o,h.from=i||o,h.item=s||o,h.clone=a,h.oldIndex=l,h.newIndex=c,h.oldDraggableIndex=d,h.newDraggableIndex=u,h.originalEvent=f,h.pullMode=v?v.lastPutMode:void 0;var E=Zt({},p,Ee.getEventProperties(e,t));for(var x in E)h[x]=E[x];o&&o.dispatchEvent(h),y[I]&&y[I].call(t,h)}}var gt=function(t,o){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=e.evt,a=Hr(e,["evt"]);Ee.pluginEvent.bind(D)(t,o,Zt({dragEl:$,parentEl:ot,ghostEl:M,rootEl:X,nextEl:qt,lastDownEl:We,cloneEl:Q,cloneHidden:Ut,dragStarted:ye,putSortable:ct,activeSortable:D.active,originalEvent:s,oldIndex:de,oldDraggableIndex:Se,newIndex:$t,newDraggableIndex:zt,hideGhostForTarget:Yo,unhideGhostForTarget:Zo,cloneNowHidden:function(){Ut=!0},cloneNowShown:function(){Ut=!1},dispatchSortableEvent:function(i){ht({sortable:o,name:i,originalEvent:s})}},a))};function ht(n){be(Zt({putSortable:ct,cloneEl:Q,targetEl:$,rootEl:X,oldIndex:de,oldDraggableIndex:Se,newIndex:$t,newDraggableIndex:zt},n))}var $,ot,M,X,qt,We,Q,Ut,de,$t,Se,zt,ke,ct,le=!1,Je=!1,qe=[],Qt,Ct,dn,un,Yn,Zn,ye,se,_e,Ce=!1,Be=!1,Ge,ut,fn=[],$n=!1,tn=[],on=typeof document<"u",je=Ho,Kn=Ie||Ft?"cssFloat":"float",ti=on&&!Gr&&!Ho&&"draggable"in document.createElement("div"),Wo=function(){if(!!on){if(Ft)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),Go=function(t,o){var e=w(t),s=parseInt(e.width)-parseInt(e.paddingLeft)-parseInt(e.paddingRight)-parseInt(e.borderLeftWidth)-parseInt(e.borderRightWidth),a=Qe(t,0,o),r=Qe(t,1,o),i=a&&w(a),l=r&&w(r),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+q(a).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+q(r).width;if(e.display==="flex")return e.flexDirection==="column"||e.flexDirection==="column-reverse"?"vertical":"horizontal";if(e.display==="grid")return e.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&i.float&&i.float!=="none"){var u=i.float==="left"?"left":"right";return r&&(l.clear==="both"||l.clear===u)?"vertical":"horizontal"}return a&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=s&&e[Kn]==="none"||r&&e[Kn]==="none"&&c+d>s)?"vertical":"horizontal"},ei=function(t,o,e){var s=e?t.left:t.top,a=e?t.right:t.bottom,r=e?t.width:t.height,i=e?o.left:o.top,l=e?o.right:o.bottom,c=e?o.width:o.height;return s===i||a===l||s+r/2===i+c/2},ni=function(t,o){var e;return qe.some(function(s){if(!In(s)){var a=q(s),r=s[ft].options.emptyInsertThreshold,i=t>=a.left-r&&t<=a.right+r,l=o>=a.top-r&&o<=a.bottom+r;if(r&&i&&l)return e=s}}),e},Xo=function(t){function o(a,r){return function(i,l,c,d){var u=i.options.group.name&&l.options.group.name&&i.options.group.name===l.options.group.name;if(a==null&&(r||u))return!0;if(a==null||a===!1)return!1;if(r&&a==="clone")return a;if(typeof a=="function")return o(a(i,l,c,d),r)(i,l,c,d);var f=(r?i:l).options.group.name;return a===!0||typeof a=="string"&&a===f||a.join&&a.indexOf(f)>-1}}var e={},s=t.group;(!s||Ue(s)!="object")&&(s={name:s}),e.name=s.name,e.checkPull=o(s.pull,!0),e.checkPut=o(s.put),e.revertClone=s.revertClone,t.group=e},Yo=function(){!Wo&&M&&w(M,"display","none")},Zo=function(){!Wo&&M&&w(M,"display","")};on&&document.addEventListener("click",function(n){if(Je)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),Je=!1,!1},!0);var Jt=function(t){if($){t=t.touches?t.touches[0]:t;var o=ni(t.clientX,t.clientY);if(o){var e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.target=e.rootEl=o,e.preventDefault=void 0,e.stopPropagation=void 0,o[ft]._onDragOver(e)}}},oi=function(t){$&&$.parentNode[ft]._isOutsideThisEl(t.target)};function D(n,t){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=t=_t({},t),n[ft]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Go(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(r,i){r.setData("Text",i.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:D.supportPointer!==!1&&"PointerEvent"in window,emptyInsertThreshold:5};Ee.initializePlugins(this,n,o);for(var e in o)!(e in t)&&(t[e]=o[e]);Xo(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:ti,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?R(n,"pointerdown",this._onTapStart):(R(n,"mousedown",this._onTapStart),R(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(R(n,"dragover",this),R(n,"dragenter",this)),qe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),_t(this,Qr())}D.prototype={constructor:D,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(se=null)},_getDirection:function(t,o){return typeof this.options.direction=="function"?this.options.direction.call(this,t,o,$):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var o=this,e=this.el,s=this.options,a=s.preventOnFilter,r=t.type,i=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(i||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=s.filter;if(di(e),!$&&!(/mousedown|pointerdown/.test(r)&&t.button!==0||s.disabled)&&!c.isContentEditable&&(l=It(l,s.draggable,e,!1),!(l&&l.animated)&&We!==l)){if(de=J(l),Se=J(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){ht({sortable:o,rootEl:c,name:"filter",targetEl:l,toEl:e,fromEl:e}),gt("filter",o,{evt:t}),a&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(u){if(u=It(c,u.trim(),e,!1),u)return ht({sortable:o,rootEl:u,name:"filter",targetEl:l,fromEl:e,toEl:e}),gt("filter",o,{evt:t}),!0}),d)){a&&t.cancelable&&t.preventDefault();return}s.handle&&!It(c,s.handle,e,!1)||this._prepareDragStart(t,i,l)}}},_prepareDragStart:function(t,o,e){var s=this,a=s.el,r=s.options,i=a.ownerDocument,l;if(e&&!$&&e.parentNode===a){var c=q(e);if(X=a,$=e,ot=$.parentNode,qt=$.nextSibling,We=e,ke=r.group,D.dragged=$,Qt={target:$,clientX:(o||t).clientX,clientY:(o||t).clientY},Yn=Qt.clientX-c.left,Zn=Qt.clientY-c.top,this._lastX=(o||t).clientX,this._lastY=(o||t).clientY,$.style["will-change"]="all",l=function(){if(gt("delayEnded",s,{evt:t}),D.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!zn&&s.nativeDraggable&&($.draggable=!0),s._triggerDragStart(t,o),ht({sortable:s,name:"choose",originalEvent:t}),Y($,r.chosenClass,!0)},r.ignore.split(",").forEach(function(d){Vo($,d.trim(),pn)}),R(i,"dragover",Jt),R(i,"mousemove",Jt),R(i,"touchmove",Jt),R(i,"mouseup",s._onDrop),R(i,"touchend",s._onDrop),R(i,"touchcancel",s._onDrop),zn&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),gt("delayStart",this,{evt:t}),r.delay&&(!r.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Ie||Ft))){if(D.eventCanceled){this._onDrop();return}R(i,"mouseup",s._disableDelayedDrag),R(i,"touchend",s._disableDelayedDrag),R(i,"touchcancel",s._disableDelayedDrag),R(i,"mousemove",s._delayedDragTouchMoveHandler),R(i,"touchmove",s._delayedDragTouchMoveHandler),r.supportPointer&&R(i,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(l,r.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var o=t.touches?t.touches[0]:t;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&pn($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;j(t,"mouseup",this._disableDelayedDrag),j(t,"touchend",this._disableDelayedDrag),j(t,"touchcancel",this._disableDelayedDrag),j(t,"mousemove",this._delayedDragTouchMoveHandler),j(t,"touchmove",this._delayedDragTouchMoveHandler),j(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,o){o=o||t.pointerType=="touch"&&t,!this.nativeDraggable||o?this.options.supportPointer?R(document,"pointermove",this._onTouchMove):o?R(document,"touchmove",this._onTouchMove):R(document,"mousemove",this._onTouchMove):(R($,"dragend",this),R(X,"dragstart",this._onDragStart));try{document.selection?Xe(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,o){if(le=!1,X&&$){gt("dragStarted",this,{evt:o}),this.nativeDraggable&&R(document,"dragover",oi);var e=this.options;!t&&Y($,e.dragClass,!1),Y($,e.ghostClass,!0),D.active=this,t&&this._appendGhost(),ht({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Ct){this._lastX=Ct.clientX,this._lastY=Ct.clientY,Yo();for(var t=document.elementFromPoint(Ct.clientX,Ct.clientY),o=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Ct.clientX,Ct.clientY),t!==o);)o=t;if($.parentNode[ft]._isOutsideThisEl(t),o)do{if(o[ft]){var e=void 0;if(e=o[ft]._onDragOver({clientX:Ct.clientX,clientY:Ct.clientY,target:t,rootEl:o}),e&&!this.options.dragoverBubble)break}t=o}while(o=o.parentNode);Zo()}},_onTouchMove:function(t){if(Qt){var o=this.options,e=o.fallbackTolerance,s=o.fallbackOffset,a=t.touches?t.touches[0]:t,r=M&&te(M,!0),i=M&&r&&r.a,l=M&&r&&r.d,c=je&&ut&&Gn(ut),d=(a.clientX-Qt.clientX+s.x)/(i||1)+(c?c[0]-fn[0]:0)/(i||1),u=(a.clientY-Qt.clientY+s.y)/(l||1)+(c?c[1]-fn[1]:0)/(l||1);if(!D.active&&!le){if(e&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<e)return;this._onDragStart(t,!0)}if(M){r?(r.e+=d-(dn||0),r.f+=u-(un||0)):r={a:1,b:0,c:0,d:1,e:d,f:u};var f="matrix(".concat(r.a,",").concat(r.b,",").concat(r.c,",").concat(r.d,",").concat(r.e,",").concat(r.f,")");w(M,"webkitTransform",f),w(M,"mozTransform",f),w(M,"msTransform",f),w(M,"transform",f),dn=d,un=u,Ct=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!M){var t=this.options.fallbackOnBody?document.body:X,o=q($,!0,je,!0,t),e=this.options;if(je){for(ut=t;w(ut,"position")==="static"&&w(ut,"transform")==="none"&&ut!==document;)ut=ut.parentNode;ut!==document.body&&ut!==document.documentElement?(ut===document&&(ut=At()),o.top+=ut.scrollTop,o.left+=ut.scrollLeft):ut=At(),fn=Gn(ut)}M=$.cloneNode(!0),Y(M,e.ghostClass,!1),Y(M,e.fallbackClass,!0),Y(M,e.dragClass,!0),w(M,"transition",""),w(M,"transform",""),w(M,"box-sizing","border-box"),w(M,"margin",0),w(M,"top",o.top),w(M,"left",o.left),w(M,"width",o.width),w(M,"height",o.height),w(M,"opacity","0.8"),w(M,"position",je?"absolute":"fixed"),w(M,"zIndex","100000"),w(M,"pointerEvents","none"),D.ghost=M,t.appendChild(M),w(M,"transform-origin",Yn/parseInt(M.style.width)*100+"% "+Zn/parseInt(M.style.height)*100+"%")}},_onDragStart:function(t,o){var e=this,s=t.dataTransfer,a=e.options;if(gt("dragStart",this,{evt:t}),D.eventCanceled){this._onDrop();return}gt("setupClone",this),D.eventCanceled||(Q=En($),Q.draggable=!1,Q.style["will-change"]="",this._hideClone(),Y(Q,this.options.chosenClass,!1),D.clone=Q),e.cloneId=Xe(function(){gt("clone",e),!D.eventCanceled&&(e.options.removeCloneOnHide||X.insertBefore(Q,$),e._hideClone(),ht({sortable:e,name:"clone"}))}),!o&&Y($,a.dragClass,!0),o?(Je=!0,e._loopId=setInterval(e._emulateDragOver,50)):(j(document,"mouseup",e._onDrop),j(document,"touchend",e._onDrop),j(document,"touchcancel",e._onDrop),s&&(s.effectAllowed="move",a.setData&&a.setData.call(e,s,$)),R(document,"drop",e),w($,"transform","translateZ(0)")),le=!0,e._dragStartId=Xe(e._dragStarted.bind(e,o,t)),R(document,"selectstart",e),ye=!0,yn&&w(document.body,"user-select","none")},_onDragOver:function(t){var o=this.el,e=t.target,s,a,r,i=this.options,l=i.group,c=D.active,d=ke===l,u=i.sort,f=ct||c,v,p=this,h=!1;if($n)return;function y(G,vt){gt(G,p,Zt({evt:t,isOwner:d,axis:v?"vertical":"horizontal",revert:r,dragRect:s,targetRect:a,canSort:u,fromSortable:f,target:e,completed:E,onMove:function(lt,b){return hn(X,o,$,s,lt,q(lt),t,b)},changed:x},vt))}function I(){y("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function E(G){return y("dragOverCompleted",{insertion:G}),G&&(d?c._hideClone():c._showClone(p),p!==f&&(Y($,ct?ct.options.ghostClass:c.options.ghostClass,!1),Y($,i.ghostClass,!0)),ct!==p&&p!==D.active?ct=p:p===D.active&&ct&&(ct=null),f===p&&(p._ignoreWhileAnimating=e),p.animateAll(function(){y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(e===$&&!$.animated||e===o&&!e.animated)&&(se=null),!i.dragoverBubble&&!t.rootEl&&e!==document&&($.parentNode[ft]._isOutsideThisEl(t.target),!G&&Jt(t)),!i.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),h=!0}function x(){$t=J($),zt=J($,i.draggable),ht({sortable:p,name:"change",toEl:o,newIndex:$t,newDraggableIndex:zt,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),e=It(e,i.draggable,o,!0),y("dragOver"),D.eventCanceled)return h;if($.contains(t.target)||e.animated&&e.animatingX&&e.animatingY||p._ignoreWhileAnimating===e)return E(!1);if(Je=!1,c&&!i.disabled&&(d?u||(r=!X.contains($)):ct===this||(this.lastPutMode=ke.checkPull(this,c,$,t))&&l.checkPut(this,c,$,t))){if(v=this._getDirection(t,e)==="vertical",s=q($),y("dragOverValid"),D.eventCanceled)return h;if(r)return ot=X,I(),this._hideClone(),y("revert"),D.eventCanceled||(qt?X.insertBefore($,qt):X.appendChild($)),E(!0);var S=In(o,i.draggable);if(!S||ri(t,v,this)&&!S.animated){if(S===$)return E(!1);if(S&&o===t.target&&(e=S),e&&(a=q(e)),hn(X,o,$,s,e,a,t,!!e)!==!1)return I(),o.appendChild($),ot=o,x(),E(!0)}else if(e.parentNode===o){a=q(e);var _=0,C,F=$.parentNode!==o,L=!ei($.animated&&$.toRect||s,e.animated&&e.toRect||a,v),A=v?"top":"left",T=Wn(e,"top","top")||Wn($,"top","top"),H=T?T.scrollTop:void 0;se!==e&&(C=a[A],Ce=!1,Be=!L&&i.invertSwap||F),_=ii(t,e,a,v,L?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,Be,se===e);var Z;if(_!==0){var nt=J($);do nt-=_,Z=ot.children[nt];while(Z&&(w(Z,"display")==="none"||Z===M))}if(_===0||Z===e)return E(!1);se=e,_e=_;var tt=e.nextElementSibling,U=!1;U=_===1;var V=hn(X,o,$,s,e,a,t,U);if(V!==!1)return(V===1||V===-1)&&(U=V===1),$n=!0,setTimeout(si,30),I(),U&&!tt?o.appendChild($):e.parentNode.insertBefore($,U?tt:e),T&&Uo(T,0,H-T.scrollTop),ot=$.parentNode,C!==void 0&&!Be&&(Ge=Math.abs(C-q(e)[A])),x(),E(!0)}if(o.contains($))return E(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){j(document,"mousemove",this._onTouchMove),j(document,"touchmove",this._onTouchMove),j(document,"pointermove",this._onTouchMove),j(document,"dragover",Jt),j(document,"mousemove",Jt),j(document,"touchmove",Jt)},_offUpEvents:function(){var t=this.el.ownerDocument;j(t,"mouseup",this._onDrop),j(t,"touchend",this._onDrop),j(t,"pointerup",this._onDrop),j(t,"touchcancel",this._onDrop),j(document,"selectstart",this)},_onDrop:function(t){var o=this.el,e=this.options;if($t=J($),zt=J($,e.draggable),gt("drop",this,{evt:t}),ot=$&&$.parentNode,$t=J($),zt=J($,e.draggable),D.eventCanceled){this._nulling();return}le=!1,Be=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),wn(this.cloneId),wn(this._dragStartId),this.nativeDraggable&&(j(document,"drop",this),j(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),yn&&w(document.body,"user-select",""),w($,"transform",""),t&&(ye&&(t.cancelable&&t.preventDefault(),!e.dropBubble&&t.stopPropagation()),M&&M.parentNode&&M.parentNode.removeChild(M),(X===ot||ct&&ct.lastPutMode!=="clone")&&Q&&Q.parentNode&&Q.parentNode.removeChild(Q),$&&(this.nativeDraggable&&j($,"dragend",this),pn($),$.style["will-change"]="",ye&&!le&&Y($,ct?ct.options.ghostClass:this.options.ghostClass,!1),Y($,this.options.chosenClass,!1),ht({sortable:this,name:"unchoose",toEl:ot,newIndex:null,newDraggableIndex:null,originalEvent:t}),X!==ot?($t>=0&&(ht({rootEl:ot,name:"add",toEl:ot,fromEl:X,originalEvent:t}),ht({sortable:this,name:"remove",toEl:ot,originalEvent:t}),ht({rootEl:ot,name:"sort",toEl:ot,fromEl:X,originalEvent:t}),ht({sortable:this,name:"sort",toEl:ot,originalEvent:t})),ct&&ct.save()):$t!==de&&$t>=0&&(ht({sortable:this,name:"update",toEl:ot,originalEvent:t}),ht({sortable:this,name:"sort",toEl:ot,originalEvent:t})),D.active&&(($t==null||$t===-1)&&($t=de,zt=Se),ht({sortable:this,name:"end",toEl:ot,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){gt("nulling",this),X=$=ot=M=qt=Q=We=Ut=Qt=Ct=ye=$t=zt=de=Se=se=_e=ct=ke=D.dragged=D.ghost=D.clone=D.active=null,tn.forEach(function(t){t.checked=!0}),tn.length=dn=un=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":$&&(this._onDragOver(t),ai(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],o,e=this.el.children,s=0,a=e.length,r=this.options;s<a;s++)o=e[s],It(o,r.draggable,this.el,!1)&&t.push(o.getAttribute(r.dataIdAttr)||ci(o));return t},sort:function(t){var o={},e=this.el;this.toArray().forEach(function(s,a){var r=e.children[a];It(r,this.options.draggable,e,!1)&&(o[s]=r)},this),t.forEach(function(s){o[s]&&(e.removeChild(o[s]),e.appendChild(o[s]))})},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,o){return It(t,o||this.options.draggable,this.el,!1)},option:function(t,o){var e=this.options;if(o===void 0)return e[t];var s=Ee.modifyOption(this,t,o);typeof s<"u"?e[t]=s:e[t]=o,t==="group"&&Xo(e)},destroy:function(){gt("destroy",this);var t=this.el;t[ft]=null,j(t,"mousedown",this._onTapStart),j(t,"touchstart",this._onTapStart),j(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(j(t,"dragover",this),j(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),qe.splice(qe.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Ut){if(gt("hideClone",this),D.eventCanceled)return;w(Q,"display","none"),this.options.removeCloneOnHide&&Q.parentNode&&Q.parentNode.removeChild(Q),Ut=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Ut){if(gt("showClone",this),D.eventCanceled)return;X.contains($)&&!this.options.group.revertClone?X.insertBefore(Q,$):qt?X.insertBefore(Q,qt):X.appendChild(Q),this.options.group.revertClone&&this.animate($,Q),w(Q,"display",""),Ut=!1}}};function ai(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function hn(n,t,o,e,s,a,r,i){var l,c=n[ft],d=c.options.onMove,u;return window.CustomEvent&&!Ft&&!Ie?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=n,l.dragged=o,l.draggedRect=e,l.related=s||t,l.relatedRect=a||q(t),l.willInsertAfter=i,l.originalEvent=r,n.dispatchEvent(l),d&&(u=d.call(c,l,r)),u}function pn(n){n.draggable=!1}function si(){$n=!1}function ri(n,t,o){var e=q(In(o.el,o.options.draggable)),s=10;return t?n.clientX>e.right+s||n.clientX<=e.right&&n.clientY>e.bottom&&n.clientX>=e.left:n.clientX>e.right&&n.clientY>e.top||n.clientX<=e.right&&n.clientY>e.bottom+s}function ii(n,t,o,e,s,a,r,i){var l=e?n.clientY:n.clientX,c=e?o.height:o.width,d=e?o.top:o.left,u=e?o.bottom:o.right,f=!1;if(!r){if(i&&Ge<c*s){if(!Ce&&(_e===1?l>d+c*a/2:l<u-c*a/2)&&(Ce=!0),Ce)f=!0;else if(_e===1?l<d+Ge:l>u-Ge)return-_e}else if(l>d+c*(1-s)/2&&l<u-c*(1-s)/2)return li(t)}return f=f||r,f&&(l<d+c*a/2||l>u-c*a/2)?l>d+c/2?1:-1:0}function li(n){return J($)<J(n)?1:-1}function ci(n){for(var t=n.tagName+n.className+n.src+n.href+n.textContent,o=t.length,e=0;o--;)e+=t.charCodeAt(o);return e.toString(36)}function di(n){tn.length=0;for(var t=n.getElementsByTagName("input"),o=t.length;o--;){var e=t[o];e.checked&&tn.push(e)}}function Xe(n){return setTimeout(n,0)}function wn(n){return clearTimeout(n)}on&&R(document,"touchmove",function(n){(D.active||le)&&n.cancelable&&n.preventDefault()});D.utils={on:R,off:j,css:w,find:Vo,is:function(t,o){return!!It(t,o,t,!1)},extend:Zr,throttle:zo,closest:It,toggleClass:Y,clone:En,index:J,nextTick:Xe,cancelNextTick:wn,detectDirection:Go,getChild:Qe};D.get=function(n){return n[ft]};D.mount=function(){for(var n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(D.utils=Zt({},D.utils,e.utils)),Ee.mount(e)})};D.create=function(n,t){return new D(n,t)};D.version=Wr;var it=[],$e,xn,Sn=!1,gn,vn,en,we;function ui(){function n(){this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return n.prototype={dragStarted:function(o){var e=o.originalEvent;this.sortable.nativeDraggable?R(document,"dragover",this._handleAutoScroll):this.options.supportPointer?R(document,"pointermove",this._handleFallbackAutoScroll):e.touches?R(document,"touchmove",this._handleFallbackAutoScroll):R(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var e=o.originalEvent;!this.options.dragOverBubble&&!e.rootEl&&this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?j(document,"dragover",this._handleAutoScroll):(j(document,"pointermove",this._handleFallbackAutoScroll),j(document,"touchmove",this._handleFallbackAutoScroll),j(document,"mousemove",this._handleFallbackAutoScroll)),Qn(),Ye(),Kr()},nulling:function(){en=xn=$e=Sn=we=gn=vn=null,it.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,e){var s=this,a=(o.touches?o.touches[0]:o).clientX,r=(o.touches?o.touches[0]:o).clientY,i=document.elementFromPoint(a,r);if(en=o,e||Ie||Ft||yn){mn(o,this.options,i,e);var l=Gt(i,!0);Sn&&(!we||a!==gn||r!==vn)&&(we&&Qn(),we=setInterval(function(){var c=Gt(document.elementFromPoint(a,r),!0);c!==l&&(l=c,Ye()),mn(o,s.options,c,e)},10),gn=a,vn=r)}else{if(!this.options.bubbleScroll||Gt(i,!0)===At()){Ye();return}mn(o,this.options,Gt(i,!1),!1)}}},_t(n,{pluginName:"scroll",initializeByDefault:!0})}function Ye(){it.forEach(function(n){clearInterval(n.pid)}),it=[]}function Qn(){clearInterval(we)}var mn=zo(function(n,t,o,e){if(!!t.scroll){var s=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,r=t.scrollSensitivity,i=t.scrollSpeed,l=At(),c=!1,d;xn!==o&&(xn=o,Ye(),$e=t.scroll,d=t.scrollFn,$e===!0&&($e=Gt(o,!0)));var u=0,f=$e;do{var v=f,p=q(v),h=p.top,y=p.bottom,I=p.left,E=p.right,x=p.width,S=p.height,_=void 0,C=void 0,F=v.scrollWidth,L=v.scrollHeight,A=w(v),T=v.scrollLeft,H=v.scrollTop;v===l?(_=x<F&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),C=S<L&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(_=x<F&&(A.overflowX==="auto"||A.overflowX==="scroll"),C=S<L&&(A.overflowY==="auto"||A.overflowY==="scroll"));var Z=_&&(Math.abs(E-s)<=r&&T+x<F)-(Math.abs(I-s)<=r&&!!T),nt=C&&(Math.abs(y-a)<=r&&H+S<L)-(Math.abs(h-a)<=r&&!!H);if(!it[u])for(var tt=0;tt<=u;tt++)it[tt]||(it[tt]={});(it[u].vx!=Z||it[u].vy!=nt||it[u].el!==v)&&(it[u].el=v,it[u].vx=Z,it[u].vy=nt,clearInterval(it[u].pid),(Z!=0||nt!=0)&&(c=!0,it[u].pid=setInterval(function(){e&&this.layer===0&&D.active._onTouchMove(en);var U=it[this.layer].vy?it[this.layer].vy*i:0,V=it[this.layer].vx?it[this.layer].vx*i:0;typeof d=="function"&&d.call(D.dragged.parentNode[ft],V,U,n,en,it[this.layer].el)!=="continue"||Uo(it[this.layer].el,V,U)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&f!==l&&(f=Gt(f,!1)));Sn=c}},30),Ko=function(t){var o=t.originalEvent,e=t.putSortable,s=t.dragEl,a=t.activeSortable,r=t.dispatchSortableEvent,i=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(!!o){var c=e||a;i();var d=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,u=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(u)&&(r("spill"),this.onSpill({dragEl:s,putSortable:e}))}};function Tn(){}Tn.prototype={startIndex:null,dragStart:function(t){var o=t.oldDraggableIndex;this.startIndex=o},onSpill:function(t){var o=t.dragEl,e=t.putSortable;this.sortable.captureAnimationState(),e&&e.captureAnimationState();var s=Qe(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(o,s):this.sortable.el.appendChild(o),this.sortable.animateAll(),e&&e.animateAll()},drop:Ko};_t(Tn,{pluginName:"revertOnSpill"});function Ln(){}Ln.prototype={onSpill:function(t){var o=t.dragEl,e=t.putSortable,s=e||this.sortable;s.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),s.animateAll()},drop:Ko};_t(Ln,{pluginName:"removeOnSpill"});var xt;function fi(){function n(){this.defaults={swapClass:"sortable-swap-highlight"}}return n.prototype={dragStart:function(o){var e=o.dragEl;xt=e},dragOverValid:function(o){var e=o.completed,s=o.target,a=o.onMove,r=o.activeSortable,i=o.changed,l=o.cancel;if(!!r.options.swap){var c=this.sortable.el,d=this.options;if(s&&s!==c){var u=xt;a(s)!==!1?(Y(s,d.swapClass,!0),xt=s):xt=null,u&&u!==xt&&Y(u,d.swapClass,!1)}i(),e(!0),l()}},drop:function(o){var e=o.activeSortable,s=o.putSortable,a=o.dragEl,r=s||this.sortable,i=this.options;xt&&Y(xt,i.swapClass,!1),xt&&(i.swap||s&&s.options.swap)&&a!==xt&&(r.captureAnimationState(),r!==e&&e.captureAnimationState(),hi(a,xt),r.animateAll(),r!==e&&e.animateAll())},nulling:function(){xt=null}},_t(n,{pluginName:"swap",eventProperties:function(){return{swapItem:xt}}})}function hi(n,t){var o=n.parentNode,e=t.parentNode,s,a;!o||!e||o.isEqualNode(t)||e.isEqualNode(n)||(s=J(n),a=J(t),o.isEqualNode(e)&&s<a&&a++,o.insertBefore(t,o.children[s]),e.insertBefore(n,e.children[a]))}var P=[],yt=[],ge,Ot,ve=!1,mt=!1,re=!1,W,me,Re;function pi(){function n(t){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));t.options.supportPointer?R(document,"pointerup",this._deselectMultiDrag):(R(document,"mouseup",this._deselectMultiDrag),R(document,"touchend",this._deselectMultiDrag)),R(document,"keydown",this._checkKeyDown),R(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,a){var r="";P.length&&Ot===t?P.forEach(function(i,l){r+=(l?", ":"")+i.textContent}):r=a.textContent,s.setData("Text",r)}}}return n.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var e=o.dragEl;W=e},delayEnded:function(){this.isMultiDrag=~P.indexOf(W)},setupClone:function(o){var e=o.sortable,s=o.cancel;if(!!this.isMultiDrag){for(var a=0;a<P.length;a++)yt.push(En(P[a])),yt[a].sortableIndex=P[a].sortableIndex,yt[a].draggable=!1,yt[a].style["will-change"]="",Y(yt[a],this.options.selectedClass,!1),P[a]===W&&Y(yt[a],this.options.chosenClass,!1);e._hideClone(),s()}},clone:function(o){var e=o.sortable,s=o.rootEl,a=o.dispatchSortableEvent,r=o.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||P.length&&Ot===e&&(Jn(!0,s),a("clone"),r())},showClone:function(o){var e=o.cloneNowShown,s=o.rootEl,a=o.cancel;!this.isMultiDrag||(Jn(!1,s),yt.forEach(function(r){w(r,"display","")}),e(),Re=!1,a())},hideClone:function(o){var e=this;o.sortable;var s=o.cloneNowHidden,a=o.cancel;!this.isMultiDrag||(yt.forEach(function(r){w(r,"display","none"),e.options.removeCloneOnHide&&r.parentNode&&r.parentNode.removeChild(r)}),s(),Re=!0,a())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Ot&&Ot.multiDrag._deselectMultiDrag(),P.forEach(function(e){e.sortableIndex=J(e)}),P=P.sort(function(e,s){return e.sortableIndex-s.sortableIndex}),re=!0},dragStarted:function(o){var e=this,s=o.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){P.forEach(function(r){r!==W&&w(r,"position","absolute")});var a=q(W,!1,!0,!0);P.forEach(function(r){r!==W&&Xn(r,a)}),mt=!0,ve=!0}s.animateAll(function(){mt=!1,ve=!1,e.options.animation&&P.forEach(function(r){ln(r)}),e.options.sort&&He()})}},dragOver:function(o){var e=o.target,s=o.completed,a=o.cancel;mt&&~P.indexOf(e)&&(s(!1),a())},revert:function(o){var e=o.fromSortable,s=o.rootEl,a=o.sortable,r=o.dragRect;P.length>1&&(P.forEach(function(i){a.addAnimationState({target:i,rect:mt?q(i):r}),ln(i),i.fromRect=r,e.removeAnimationState(i)}),mt=!1,gi(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(o){var e=o.sortable,s=o.isOwner,a=o.insertion,r=o.activeSortable,i=o.parentEl,l=o.putSortable,c=this.options;if(a){if(s&&r._hideClone(),ve=!1,c.animation&&P.length>1&&(mt||!s&&!r.options.sort&&!l)){var d=q(W,!1,!0,!0);P.forEach(function(f){f!==W&&(Xn(f,d),i.appendChild(f))}),mt=!0}if(!s)if(mt||He(),P.length>1){var u=Re;r._showClone(e),r.options.animation&&!Re&&u&&yt.forEach(function(f){r.addAnimationState({target:f,rect:me}),f.fromRect=me,f.thisAnimationDuration=null})}else r._showClone(e)}},dragOverAnimationCapture:function(o){var e=o.dragRect,s=o.isOwner,a=o.activeSortable;if(P.forEach(function(i){i.thisAnimationDuration=null}),a.options.animation&&!s&&a.multiDrag.isMultiDrag){me=_t({},e);var r=te(W,!0);me.top-=r.f,me.left-=r.e}},dragOverAnimationComplete:function(){mt&&(mt=!1,He())},drop:function(o){var e=o.originalEvent,s=o.rootEl,a=o.parentEl,r=o.sortable,i=o.dispatchSortableEvent,l=o.oldIndex,c=o.putSortable,d=c||this.sortable;if(!!e){var u=this.options,f=a.children;if(!re)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Y(W,u.selectedClass,!~P.indexOf(W)),~P.indexOf(W))P.splice(P.indexOf(W),1),ge=null,be({sortable:r,rootEl:s,name:"deselect",targetEl:W,originalEvt:e});else{if(P.push(W),be({sortable:r,rootEl:s,name:"select",targetEl:W,originalEvt:e}),e.shiftKey&&ge&&r.el.contains(ge)){var v=J(ge),p=J(W);if(~v&&~p&&v!==p){var h,y;for(p>v?(y=v,h=p):(y=p,h=v+1);y<h;y++)~P.indexOf(f[y])||(Y(f[y],u.selectedClass,!0),P.push(f[y]),be({sortable:r,rootEl:s,name:"select",targetEl:f[y],originalEvt:e}))}}else ge=W;Ot=d}if(re&&this.isMultiDrag){if((a[ft].options.sort||a!==s)&&P.length>1){var I=q(W),E=J(W,":not(."+this.options.selectedClass+")");if(!ve&&u.animation&&(W.thisAnimationDuration=null),d.captureAnimationState(),!ve&&(u.animation&&(W.fromRect=I,P.forEach(function(S){if(S.thisAnimationDuration=null,S!==W){var _=mt?q(S):I;S.fromRect=_,d.addAnimationState({target:S,rect:_})}})),He(),P.forEach(function(S){f[E]?a.insertBefore(S,f[E]):a.appendChild(S),E++}),l===J(W))){var x=!1;P.forEach(function(S){if(S.sortableIndex!==J(S)){x=!0;return}}),x&&i("update")}P.forEach(function(S){ln(S)}),d.animateAll()}Ot=d}(s===a||c&&c.lastPutMode!=="clone")&&yt.forEach(function(S){S.parentNode&&S.parentNode.removeChild(S)})}},nullingGlobal:function(){this.isMultiDrag=re=!1,yt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),j(document,"pointerup",this._deselectMultiDrag),j(document,"mouseup",this._deselectMultiDrag),j(document,"touchend",this._deselectMultiDrag),j(document,"keydown",this._checkKeyDown),j(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof re<"u"&&re)&&Ot===this.sortable&&!(o&&It(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;P.length;){var e=P[0];Y(e,this.options.selectedClass,!1),P.shift(),be({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:o})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_t(n,{pluginName:"multiDrag",utils:{select:function(o){var e=o.parentNode[ft];!e||!e.options.multiDrag||~P.indexOf(o)||(Ot&&Ot!==e&&(Ot.multiDrag._deselectMultiDrag(),Ot=e),Y(o,e.options.selectedClass,!0),P.push(o))},deselect:function(o){var e=o.parentNode[ft],s=P.indexOf(o);!e||!e.options.multiDrag||!~s||(Y(o,e.options.selectedClass,!1),P.splice(s,1))}},eventProperties:function(){var o=this,e=[],s=[];return P.forEach(function(a){e.push({multiDragElement:a,index:a.sortableIndex});var r;mt&&a!==W?r=-1:mt?r=J(a,":not(."+o.options.selectedClass+")"):r=J(a),s.push({multiDragElement:a,index:r})}),{items:Fr(P),clones:[].concat(yt),oldIndicies:e,newIndicies:s}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function gi(n,t){P.forEach(function(o,e){var s=t.children[o.sortableIndex+(n?Number(e):0)];s?t.insertBefore(o,s):t.appendChild(o)})}function Jn(n,t){yt.forEach(function(o,e){var s=t.children[o.sortableIndex+(n?Number(e):0)];s?t.insertBefore(o,s):t.appendChild(o)})}function He(){P.forEach(function(n){n!==W&&n.parentNode&&n.parentNode.removeChild(n)})}D.mount(new ui);D.mount(Ln,Tn);const vi=Object.freeze(Object.defineProperty({__proto__:null,default:D,MultiDrag:pi,Sortable:D,Swap:fi},Symbol.toStringTag,{value:"Module"})),mi=va(vi);(function(n,t){(function(e,s){n.exports=s(mi)})(typeof self<"u"?self:ma,function(o){return function(e){var s={};function a(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,a),i.l=!0,i.exports}return a.m=e,a.c=s,a.d=function(r,i,l){a.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:l})},a.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},a.t=function(r,i){if(i&1&&(r=a(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var c in r)a.d(l,c,function(d){return r[d]}.bind(null,c));return l},a.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return a.d(i,"a",i),i},a.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},a.p="",a(a.s="fb15")}({"01f9":function(e,s,a){var r=a("2d00"),i=a("5ca1"),l=a("2aba"),c=a("32e9"),d=a("84f2"),u=a("41a0"),f=a("7f20"),v=a("38fd"),p=a("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),y="@@iterator",I="keys",E="values",x=function(){return this};e.exports=function(S,_,C,F,L,A,T){u(C,_,F);var H=function(m){if(!h&&m in U)return U[m];switch(m){case I:return function(){return new C(this,m)};case E:return function(){return new C(this,m)}}return function(){return new C(this,m)}},Z=_+" Iterator",nt=L==E,tt=!1,U=S.prototype,V=U[p]||U[y]||L&&U[L],G=V||H(L),vt=L?nt?H("entries"):G:void 0,dt=_=="Array"&&U.entries||V,lt,b,g;if(dt&&(g=v(dt.call(new S)),g!==Object.prototype&&g.next&&(f(g,Z,!0),!r&&typeof g[p]!="function"&&c(g,p,x))),nt&&V&&V.name!==E&&(tt=!0,G=function(){return V.call(this)}),(!r||T)&&(h||tt||!U[p])&&c(U,p,G),d[_]=G,d[Z]=x,L)if(lt={values:nt?G:H(E),keys:A?G:H(I),entries:vt},T)for(b in lt)b in U||l(U,b,lt[b]);else i(i.P+i.F*(h||tt),_,lt);return lt}},"02f4":function(e,s,a){var r=a("4588"),i=a("be13");e.exports=function(l){return function(c,d){var u=String(i(c)),f=r(d),v=u.length,p,h;return f<0||f>=v?l?"":void 0:(p=u.charCodeAt(f),p<55296||p>56319||f+1===v||(h=u.charCodeAt(f+1))<56320||h>57343?l?u.charAt(f):p:l?u.slice(f,f+2):(p-55296<<10)+(h-56320)+65536)}}},"0390":function(e,s,a){var r=a("02f4")(!0);e.exports=function(i,l,c){return l+(c?r(i,l).length:1)}},"0bfb":function(e,s,a){var r=a("cb7c");e.exports=function(){var i=r(this),l="";return i.global&&(l+="g"),i.ignoreCase&&(l+="i"),i.multiline&&(l+="m"),i.unicode&&(l+="u"),i.sticky&&(l+="y"),l}},"0d58":function(e,s,a){var r=a("ce10"),i=a("e11e");e.exports=Object.keys||function(c){return r(c,i)}},1495:function(e,s,a){var r=a("86cc"),i=a("cb7c"),l=a("0d58");e.exports=a("9e1e")?Object.defineProperties:function(d,u){i(d);for(var f=l(u),v=f.length,p=0,h;v>p;)r.f(d,h=f[p++],u[h]);return d}},"214f":function(e,s,a){a("b0c5");var r=a("2aba"),i=a("32e9"),l=a("79e5"),c=a("be13"),d=a("2b4c"),u=a("520a"),f=d("species"),v=!l(function(){var h=/./;return h.exec=function(){var y=[];return y.groups={a:"7"},y},"".replace(h,"$<a>")!=="7"}),p=function(){var h=/(?:)/,y=h.exec;h.exec=function(){return y.apply(this,arguments)};var I="ab".split(h);return I.length===2&&I[0]==="a"&&I[1]==="b"}();e.exports=function(h,y,I){var E=d(h),x=!l(function(){var A={};return A[E]=function(){return 7},""[h](A)!=7}),S=x?!l(function(){var A=!1,T=/a/;return T.exec=function(){return A=!0,null},h==="split"&&(T.constructor={},T.constructor[f]=function(){return T}),T[E](""),!A}):void 0;if(!x||!S||h==="replace"&&!v||h==="split"&&!p){var _=/./[E],C=I(c,E,""[h],function(T,H,Z,nt,tt){return H.exec===u?x&&!tt?{done:!0,value:_.call(H,Z,nt)}:{done:!0,value:T.call(Z,H,nt)}:{done:!1}}),F=C[0],L=C[1];r(String.prototype,h,F),i(RegExp.prototype,E,y==2?function(A,T){return L.call(A,this,T)}:function(A){return L.call(A,this)})}}},"230e":function(e,s,a){var r=a("d3f4"),i=a("7726").document,l=r(i)&&r(i.createElement);e.exports=function(c){return l?i.createElement(c):{}}},"23c6":function(e,s,a){var r=a("2d95"),i=a("2b4c")("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(d,u){try{return d[u]}catch{}};e.exports=function(d){var u,f,v;return d===void 0?"Undefined":d===null?"Null":typeof(f=c(u=Object(d),i))=="string"?f:l?r(u):(v=r(u))=="Object"&&typeof u.callee=="function"?"Arguments":v}},2621:function(e,s){s.f=Object.getOwnPropertySymbols},"2aba":function(e,s,a){var r=a("7726"),i=a("32e9"),l=a("69a8"),c=a("ca5a")("src"),d=a("fa5b"),u="toString",f=(""+d).split(u);a("8378").inspectSource=function(v){return d.call(v)},(e.exports=function(v,p,h,y){var I=typeof h=="function";I&&(l(h,"name")||i(h,"name",p)),v[p]!==h&&(I&&(l(h,c)||i(h,c,v[p]?""+v[p]:f.join(String(p)))),v===r?v[p]=h:y?v[p]?v[p]=h:i(v,p,h):(delete v[p],i(v,p,h)))})(Function.prototype,u,function(){return typeof this=="function"&&this[c]||d.call(this)})},"2aeb":function(e,s,a){var r=a("cb7c"),i=a("1495"),l=a("e11e"),c=a("613b")("IE_PROTO"),d=function(){},u="prototype",f=function(){var v=a("230e")("iframe"),p=l.length,h="<",y=">",I;for(v.style.display="none",a("fab2").appendChild(v),v.src="javascript:",I=v.contentWindow.document,I.open(),I.write(h+"script"+y+"document.F=Object"+h+"/script"+y),I.close(),f=I.F;p--;)delete f[u][l[p]];return f()};e.exports=Object.create||function(p,h){var y;return p!==null?(d[u]=r(p),y=new d,d[u]=null,y[c]=p):y=f(),h===void 0?y:i(y,h)}},"2b4c":function(e,s,a){var r=a("5537")("wks"),i=a("ca5a"),l=a("7726").Symbol,c=typeof l=="function",d=e.exports=function(u){return r[u]||(r[u]=c&&l[u]||(c?l:i)("Symbol."+u))};d.store=r},"2d00":function(e,s){e.exports=!1},"2d95":function(e,s){var a={}.toString;e.exports=function(r){return a.call(r).slice(8,-1)}},"2fdb":function(e,s,a){var r=a("5ca1"),i=a("d2c8"),l="includes";r(r.P+r.F*a("5147")(l),"String",{includes:function(d){return!!~i(this,d,l).indexOf(d,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,s,a){var r=a("86cc"),i=a("4630");e.exports=a("9e1e")?function(l,c,d){return r.f(l,c,i(1,d))}:function(l,c,d){return l[c]=d,l}},"38fd":function(e,s,a){var r=a("69a8"),i=a("4bf8"),l=a("613b")("IE_PROTO"),c=Object.prototype;e.exports=Object.getPrototypeOf||function(d){return d=i(d),r(d,l)?d[l]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?c:null}},"41a0":function(e,s,a){var r=a("2aeb"),i=a("4630"),l=a("7f20"),c={};a("32e9")(c,a("2b4c")("iterator"),function(){return this}),e.exports=function(d,u,f){d.prototype=r(c,{next:i(1,f)}),l(d,u+" Iterator")}},"456d":function(e,s,a){var r=a("4bf8"),i=a("0d58");a("5eda")("keys",function(){return function(c){return i(r(c))}})},4588:function(e,s){var a=Math.ceil,r=Math.floor;e.exports=function(i){return isNaN(i=+i)?0:(i>0?r:a)(i)}},4630:function(e,s){e.exports=function(a,r){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:r}}},"4bf8":function(e,s,a){var r=a("be13");e.exports=function(i){return Object(r(i))}},5147:function(e,s,a){var r=a("2b4c")("match");e.exports=function(i){var l=/./;try{"/./"[i](l)}catch{try{return l[r]=!1,!"/./"[i](l)}catch{}}return!0}},"520a":function(e,s,a){var r=a("0bfb"),i=RegExp.prototype.exec,l=String.prototype.replace,c=i,d="lastIndex",u=function(){var p=/a/,h=/b*/g;return i.call(p,"a"),i.call(h,"a"),p[d]!==0||h[d]!==0}(),f=/()??/.exec("")[1]!==void 0,v=u||f;v&&(c=function(h){var y=this,I,E,x,S;return f&&(E=new RegExp("^"+y.source+"$(?!\\s)",r.call(y))),u&&(I=y[d]),x=i.call(y,h),u&&x&&(y[d]=y.global?x.index+x[0].length:I),f&&x&&x.length>1&&l.call(x[0],E,function(){for(S=1;S<arguments.length-2;S++)arguments[S]===void 0&&(x[S]=void 0)}),x}),e.exports=c},"52a7":function(e,s){s.f={}.propertyIsEnumerable},5537:function(e,s,a){var r=a("8378"),i=a("7726"),l="__core-js_shared__",c=i[l]||(i[l]={});(e.exports=function(d,u){return c[d]||(c[d]=u!==void 0?u:{})})("versions",[]).push({version:r.version,mode:a("2d00")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,s,a){var r=a("7726"),i=a("8378"),l=a("32e9"),c=a("2aba"),d=a("9b43"),u="prototype",f=function(v,p,h){var y=v&f.F,I=v&f.G,E=v&f.S,x=v&f.P,S=v&f.B,_=I?r:E?r[p]||(r[p]={}):(r[p]||{})[u],C=I?i:i[p]||(i[p]={}),F=C[u]||(C[u]={}),L,A,T,H;I&&(h=p);for(L in h)A=!y&&_&&_[L]!==void 0,T=(A?_:h)[L],H=S&&A?d(T,r):x&&typeof T=="function"?d(Function.call,T):T,_&&c(_,L,T,v&f.U),C[L]!=T&&l(C,L,H),x&&F[L]!=T&&(F[L]=T)};r.core=i,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},"5eda":function(e,s,a){var r=a("5ca1"),i=a("8378"),l=a("79e5");e.exports=function(c,d){var u=(i.Object||{})[c]||Object[c],f={};f[c]=d(u),r(r.S+r.F*l(function(){u(1)}),"Object",f)}},"5f1b":function(e,s,a){var r=a("23c6"),i=RegExp.prototype.exec;e.exports=function(l,c){var d=l.exec;if(typeof d=="function"){var u=d.call(l,c);if(typeof u!="object")throw new TypeError("RegExp exec method returned something other than an Object or null");return u}if(r(l)!=="RegExp")throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(l,c)}},"613b":function(e,s,a){var r=a("5537")("keys"),i=a("ca5a");e.exports=function(l){return r[l]||(r[l]=i(l))}},"626a":function(e,s,a){var r=a("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(i){return r(i)=="String"?i.split(""):Object(i)}},6762:function(e,s,a){var r=a("5ca1"),i=a("c366")(!0);r(r.P,"Array",{includes:function(c){return i(this,c,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")("includes")},6821:function(e,s,a){var r=a("626a"),i=a("be13");e.exports=function(l){return r(i(l))}},"69a8":function(e,s){var a={}.hasOwnProperty;e.exports=function(r,i){return a.call(r,i)}},"6a99":function(e,s,a){var r=a("d3f4");e.exports=function(i,l){if(!r(i))return i;var c,d;if(l&&typeof(c=i.toString)=="function"&&!r(d=c.call(i))||typeof(c=i.valueOf)=="function"&&!r(d=c.call(i))||!l&&typeof(c=i.toString)=="function"&&!r(d=c.call(i)))return d;throw TypeError("Can't convert object to primitive value")}},7333:function(e,s,a){var r=a("0d58"),i=a("2621"),l=a("52a7"),c=a("4bf8"),d=a("626a"),u=Object.assign;e.exports=!u||a("79e5")(function(){var f={},v={},p=Symbol(),h="abcdefghijklmnopqrst";return f[p]=7,h.split("").forEach(function(y){v[y]=y}),u({},f)[p]!=7||Object.keys(u({},v)).join("")!=h})?function(v,p){for(var h=c(v),y=arguments.length,I=1,E=i.f,x=l.f;y>I;)for(var S=d(arguments[I++]),_=E?r(S).concat(E(S)):r(S),C=_.length,F=0,L;C>F;)x.call(S,L=_[F++])&&(h[L]=S[L]);return h}:u},7726:function(e,s){var a=e.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)},"77f1":function(e,s,a){var r=a("4588"),i=Math.max,l=Math.min;e.exports=function(c,d){return c=r(c),c<0?i(c+d,0):l(c,d)}},"79e5":function(e,s){e.exports=function(a){try{return!!a()}catch{return!0}}},"7f20":function(e,s,a){var r=a("86cc").f,i=a("69a8"),l=a("2b4c")("toStringTag");e.exports=function(c,d,u){c&&!i(c=u?c:c.prototype,l)&&r(c,l,{configurable:!0,value:d})}},8378:function(e,s){var a=e.exports={version:"2.6.5"};typeof __e=="number"&&(__e=a)},"84f2":function(e,s){e.exports={}},"86cc":function(e,s,a){var r=a("cb7c"),i=a("c69a"),l=a("6a99"),c=Object.defineProperty;s.f=a("9e1e")?Object.defineProperty:function(u,f,v){if(r(u),f=l(f,!0),r(v),i)try{return c(u,f,v)}catch{}if("get"in v||"set"in v)throw TypeError("Accessors not supported!");return"value"in v&&(u[f]=v.value),u}},"9b43":function(e,s,a){var r=a("d8e8");e.exports=function(i,l,c){if(r(i),l===void 0)return i;switch(c){case 1:return function(d){return i.call(l,d)};case 2:return function(d,u){return i.call(l,d,u)};case 3:return function(d,u,f){return i.call(l,d,u,f)}}return function(){return i.apply(l,arguments)}}},"9c6c":function(e,s,a){var r=a("2b4c")("unscopables"),i=Array.prototype;i[r]==null&&a("32e9")(i,r,{}),e.exports=function(l){i[r][l]=!0}},"9def":function(e,s,a){var r=a("4588"),i=Math.min;e.exports=function(l){return l>0?i(r(l),9007199254740991):0}},"9e1e":function(e,s,a){e.exports=!a("79e5")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},a352:function(e,s){e.exports=o},a481:function(e,s,a){var r=a("cb7c"),i=a("4bf8"),l=a("9def"),c=a("4588"),d=a("0390"),u=a("5f1b"),f=Math.max,v=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,y=/\$([$&`']|\d\d?)/g,I=function(E){return E===void 0?E:String(E)};a("214f")("replace",2,function(E,x,S,_){return[function(L,A){var T=E(this),H=L==null?void 0:L[x];return H!==void 0?H.call(L,T,A):S.call(String(T),L,A)},function(F,L){var A=_(S,F,this,L);if(A.done)return A.value;var T=r(F),H=String(this),Z=typeof L=="function";Z||(L=String(L));var nt=T.global;if(nt){var tt=T.unicode;T.lastIndex=0}for(var U=[];;){var V=u(T,H);if(V===null||(U.push(V),!nt))break;var G=String(V[0]);G===""&&(T.lastIndex=d(H,l(T.lastIndex),tt))}for(var vt="",dt=0,lt=0;lt<U.length;lt++){V=U[lt];for(var b=String(V[0]),g=f(v(c(V.index),H.length),0),m=[],O=1;O<V.length;O++)m.push(I(V[O]));var N=V.groups;if(Z){var B=[b].concat(m,g,H);N!==void 0&&B.push(N);var z=String(L.apply(void 0,B))}else z=C(b,H,g,m,N,L);g>=dt&&(vt+=H.slice(dt,g)+z,dt=g+b.length)}return vt+H.slice(dt)}];function C(F,L,A,T,H,Z){var nt=A+F.length,tt=T.length,U=y;return H!==void 0&&(H=i(H),U=h),S.call(Z,U,function(V,G){var vt;switch(G.charAt(0)){case"$":return"$";case"&":return F;case"`":return L.slice(0,A);case"'":return L.slice(nt);case"<":vt=H[G.slice(1,-1)];break;default:var dt=+G;if(dt===0)return V;if(dt>tt){var lt=p(dt/10);return lt===0?V:lt<=tt?T[lt-1]===void 0?G.charAt(1):T[lt-1]+G.charAt(1):V}vt=T[dt-1]}return vt===void 0?"":vt})}})},aae3:function(e,s,a){var r=a("d3f4"),i=a("2d95"),l=a("2b4c")("match");e.exports=function(c){var d;return r(c)&&((d=c[l])!==void 0?!!d:i(c)=="RegExp")}},ac6a:function(e,s,a){for(var r=a("cadf"),i=a("0d58"),l=a("2aba"),c=a("7726"),d=a("32e9"),u=a("84f2"),f=a("2b4c"),v=f("iterator"),p=f("toStringTag"),h=u.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},I=i(y),E=0;E<I.length;E++){var x=I[E],S=y[x],_=c[x],C=_&&_.prototype,F;if(C&&(C[v]||d(C,v,h),C[p]||d(C,p,x),u[x]=h,S))for(F in r)C[F]||l(C,F,r[F],!0)}},b0c5:function(e,s,a){var r=a("520a");a("5ca1")({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},be13:function(e,s){e.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},c366:function(e,s,a){var r=a("6821"),i=a("9def"),l=a("77f1");e.exports=function(c){return function(d,u,f){var v=r(d),p=i(v.length),h=l(f,p),y;if(c&&u!=u){for(;p>h;)if(y=v[h++],y!=y)return!0}else for(;p>h;h++)if((c||h in v)&&v[h]===u)return c||h||0;return!c&&-1}}},c649:function(e,s,a){(function(r){a.d(s,"c",function(){return v}),a.d(s,"a",function(){return u}),a.d(s,"b",function(){return l}),a.d(s,"d",function(){return f}),a("a481");function i(){return typeof window<"u"?window.console:r.console}var l=i();function c(p){var h=Object.create(null);return function(I){var E=h[I];return E||(h[I]=p(I))}}var d=/-(\w)/g,u=c(function(p){return p.replace(d,function(h,y){return y?y.toUpperCase():""})});function f(p){p.parentElement!==null&&p.parentElement.removeChild(p)}function v(p,h,y){var I=y===0?p.children[0]:p.children[y-1].nextSibling;p.insertBefore(h,I)}}).call(this,a("c8ba"))},c69a:function(e,s,a){e.exports=!a("9e1e")&&!a("79e5")(function(){return Object.defineProperty(a("230e")("div"),"a",{get:function(){return 7}}).a!=7})},c8ba:function(e,s){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}e.exports=a},ca5a:function(e,s){var a=0,r=Math.random();e.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++a+r).toString(36))}},cadf:function(e,s,a){var r=a("9c6c"),i=a("d53b"),l=a("84f2"),c=a("6821");e.exports=a("01f9")(Array,"Array",function(d,u){this._t=c(d),this._i=0,this._k=u},function(){var d=this._t,u=this._k,f=this._i++;return!d||f>=d.length?(this._t=void 0,i(1)):u=="keys"?i(0,f):u=="values"?i(0,d[f]):i(0,[f,d[f]])},"values"),l.Arguments=l.Array,r("keys"),r("values"),r("entries")},cb7c:function(e,s,a){var r=a("d3f4");e.exports=function(i){if(!r(i))throw TypeError(i+" is not an object!");return i}},ce10:function(e,s,a){var r=a("69a8"),i=a("6821"),l=a("c366")(!1),c=a("613b")("IE_PROTO");e.exports=function(d,u){var f=i(d),v=0,p=[],h;for(h in f)h!=c&&r(f,h)&&p.push(h);for(;u.length>v;)r(f,h=u[v++])&&(~l(p,h)||p.push(h));return p}},d2c8:function(e,s,a){var r=a("aae3"),i=a("be13");e.exports=function(l,c,d){if(r(c))throw TypeError("String#"+d+" doesn't accept regex!");return String(i(l))}},d3f4:function(e,s){e.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},d53b:function(e,s){e.exports=function(a,r){return{value:r,done:!!a}}},d8e8:function(e,s){e.exports=function(a){if(typeof a!="function")throw TypeError(a+" is not a function!");return a}},e11e:function(e,s){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,s,a){var r=a("5ca1"),i=a("9def"),l=a("d2c8"),c="startsWith",d=""[c];r(r.P+r.F*a("5147")(c),"String",{startsWith:function(f){var v=l(this,f,c),p=i(Math.min(arguments.length>1?arguments[1]:void 0,v.length)),h=String(f);return d?d.call(v,h,p):v.slice(p,p+h.length)===h}})},f6fd:function(e,s){(function(a){var r="currentScript",i=a.getElementsByTagName("script");r in a||Object.defineProperty(a,r,{get:function(){try{throw new Error}catch(d){var l,c=(/.*at [^\(]*\((.*):.+:.+\)$/ig.exec(d.stack)||[!1])[1];for(l in i)if(i[l].src==c||i[l].readyState=="interactive")return i[l];return null}}})})(document)},f751:function(e,s,a){var r=a("5ca1");r(r.S+r.F,"Object",{assign:a("7333")})},fa5b:function(e,s,a){e.exports=a("5537")("native-function-to-string",Function.toString)},fab2:function(e,s,a){var r=a("7726").document;e.exports=r&&r.documentElement},fb15:function(e,s,a){if(a.r(s),typeof window<"u"){a("f6fd");var r;(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(a.p=r[1])}a("f751"),a("f559"),a("ac6a"),a("cadf"),a("456d");function i(b){if(Array.isArray(b))return b}function l(b,g){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(b)))){var m=[],O=!0,N=!1,B=void 0;try{for(var z=b[Symbol.iterator](),et;!(O=(et=z.next()).done)&&(m.push(et.value),!(g&&m.length===g));O=!0);}catch(Tt){N=!0,B=Tt}finally{try{!O&&z.return!=null&&z.return()}finally{if(N)throw B}}return m}}function c(b,g){(g==null||g>b.length)&&(g=b.length);for(var m=0,O=new Array(g);m<g;m++)O[m]=b[m];return O}function d(b,g){if(!!b){if(typeof b=="string")return c(b,g);var m=Object.prototype.toString.call(b).slice(8,-1);if(m==="Object"&&b.constructor&&(m=b.constructor.name),m==="Map"||m==="Set")return Array.from(b);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(b,g)}}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
7 |
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(b,g){return i(b)||l(b,g)||d(b,g)||u()}a("6762"),a("2fdb");function v(b){if(Array.isArray(b))return c(b)}function p(b){if(typeof Symbol<"u"&&Symbol.iterator in Object(b))return Array.from(b)}function h(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
8 |
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(b){return v(b)||p(b)||d(b)||h()}var I=a("a352"),E=a.n(I),x=a("c649");function S(b,g,m){return m===void 0||(b=b||{},b[g]=m),b}function _(b,g){return b.map(function(m){return m.elm}).indexOf(g)}function C(b,g,m,O){if(!b)return[];var N=b.map(function(et){return et.elm}),B=g.length-O,z=y(g).map(function(et,Tt){return Tt>=B?N.length:N.indexOf(et)});return m?z.filter(function(et){return et!==-1}):z}function F(b,g){var m=this;this.$nextTick(function(){return m.$emit(b.toLowerCase(),g)})}function L(b){var g=this;return function(m){g.realList!==null&&g["onDrag"+b](m),F.call(g,b,m)}}function A(b){return["transition-group","TransitionGroup"].includes(b)}function T(b){if(!b||b.length!==1)return!1;var g=f(b,1),m=g[0].componentOptions;return m?A(m.tag):!1}function H(b,g,m){return b[m]||(g[m]?g[m]():void 0)}function Z(b,g,m){var O=0,N=0,B=H(g,m,"header");B&&(O=B.length,b=b?[].concat(y(B),y(b)):y(B));var z=H(g,m,"footer");return z&&(N=z.length,b=b?[].concat(y(b),y(z)):y(z)),{children:b,headerOffset:O,footerOffset:N}}function nt(b,g){var m=null,O=function(Te,na){m=S(m,Te,na)},N=Object.keys(b).filter(function(Tt){return Tt==="id"||Tt.startsWith("data-")}).reduce(function(Tt,Te){return Tt[Te]=b[Te],Tt},{});if(O("attrs",N),!g)return m;var B=g.on,z=g.props,et=g.attrs;return O("on",B),O("props",z),Object.assign(m.attrs,et),m}var tt=["Start","Add","Remove","Update","End"],U=["Choose","Unchoose","Sort","Filter","Clone"],V=["Move"].concat(tt,U).map(function(b){return"on"+b}),G=null,vt={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(g){return g}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},dt={name:"draggable",inheritAttrs:!1,props:vt,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(g){var m=this.$slots.default;this.transitionMode=T(m);var O=Z(m,this.$slots,this.$scopedSlots),N=O.children,B=O.headerOffset,z=O.footerOffset;this.headerOffset=B,this.footerOffset=z;var et=nt(this.$attrs,this.componentData);return g(this.getTag(),et,N)},created:function(){this.list!==null&&this.value!==null&&x.b.error("Value and list props are mutually exclusive! Please set one or another."),this.element!=="div"&&x.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),this.options!==void 0&&x.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var g=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var m={};tt.forEach(function(B){m["on"+B]=L.call(g,B)}),U.forEach(function(B){m["on"+B]=F.bind(g,B)});var O=Object.keys(this.$attrs).reduce(function(B,z){return B[Object(x.a)(z)]=g.$attrs[z],B},{}),N=Object.assign({},this.options,O,m,{onMove:function(z,et){return g.onDragMove(z,et)}});!("draggable"in N)&&(N.draggable=">*"),this._sortable=new E.a(this.rootContainer,N),this.computeIndexes()},beforeDestroy:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(g){this.updateOptions(g)},deep:!0},$attrs:{handler:function(g){this.updateOptions(g)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var g=this._vnode.fnOptions;return g&&g.functional},getTag:function(){return this.tag||this.element},updateOptions:function(g){for(var m in g){var O=Object(x.a)(m);V.indexOf(O)===-1&&this._sortable.option(O,g[m])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var g=this.$slots.default;return this.transitionMode?g[0].child.$slots.default:g},computeIndexes:function(){var g=this;this.$nextTick(function(){g.visibleIndexes=C(g.getChildrenNodes(),g.rootContainer.children,g.transitionMode,g.footerOffset)})},getUnderlyingVm:function(g){var m=_(this.getChildrenNodes()||[],g);if(m===-1)return null;var O=this.realList[m];return{index:m,element:O}},getUnderlyingPotencialDraggableComponent:function(g){var m=g.__vue__;return!m||!m.$options||!A(m.$options._componentTag)?!("realList"in m)&&m.$children.length===1&&"realList"in m.$children[0]?m.$children[0]:m:m.$parent},emitChanges:function(g){var m=this;this.$nextTick(function(){m.$emit("change",g)})},alterList:function(g){if(this.list){g(this.list);return}var m=y(this.value);g(m),this.$emit("input",m)},spliceList:function(){var g=arguments,m=function(N){return N.splice.apply(N,y(g))};this.alterList(m)},updatePosition:function(g,m){var O=function(B){return B.splice(m,0,B.splice(g,1)[0])};this.alterList(O)},getRelatedContextFromMoveEvent:function(g){var m=g.to,O=g.related,N=this.getUnderlyingPotencialDraggableComponent(m);if(!N)return{component:N};var B=N.realList,z={list:B,component:N};if(m!==O&&B&&N.getUnderlyingVm){var et=N.getUnderlyingVm(O);if(et)return Object.assign(et,z)}return z},getVmIndex:function(g){var m=this.visibleIndexes,O=m.length;return g>O-1?O:m[g]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(g){if(!(!this.noTransitionOnDrag||!this.transitionMode)){var m=this.getChildrenNodes();m[g].data=null;var O=this.getComponent();O.children=[],O.kept=void 0}},onDragStart:function(g){this.context=this.getUnderlyingVm(g.item),g.item._underlying_vm_=this.clone(this.context.element),G=g.item},onDragAdd:function(g){var m=g.item._underlying_vm_;if(m!==void 0){Object(x.d)(g.item);var O=this.getVmIndex(g.newIndex);this.spliceList(O,0,m),this.computeIndexes();var N={element:m,newIndex:O};this.emitChanges({added:N})}},onDragRemove:function(g){if(Object(x.c)(this.rootContainer,g.item,g.oldIndex),g.pullMode==="clone"){Object(x.d)(g.clone);return}var m=this.context.index;this.spliceList(m,1);var O={element:this.context.element,oldIndex:m};this.resetTransitionData(m),this.emitChanges({removed:O})},onDragUpdate:function(g){Object(x.d)(g.item),Object(x.c)(g.from,g.item,g.oldIndex);var m=this.context.index,O=this.getVmIndex(g.newIndex);this.updatePosition(m,O);var N={element:this.context.element,oldIndex:m,newIndex:O};this.emitChanges({moved:N})},updateProperty:function(g,m){g.hasOwnProperty(m)&&(g[m]+=this.headerOffset)},computeFutureIndex:function(g,m){if(!g.element)return 0;var O=y(m.to.children).filter(function(et){return et.style.display!=="none"}),N=O.indexOf(m.related),B=g.component.getVmIndex(N),z=O.indexOf(G)!==-1;return z||!m.willInsertAfter?B:B+1},onDragMove:function(g,m){var O=this.move;if(!O||!this.realList)return!0;var N=this.getRelatedContextFromMoveEvent(g),B=this.context,z=this.computeFutureIndex(N,g);Object.assign(B,{futureIndex:z});var et=Object.assign({},g,{relatedContext:N,draggedContext:B});return O(et,m)},onDragEnd:function(){this.computeIndexes(),G=null}}};typeof window<"u"&&"Vue"in window&&window.Vue.component("draggable",dt);var lt=dt;s.default=lt}}).default})})(Ro);const bi=ba(Ro.exports);var yi=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-eye-off",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5 9.647 9.647 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68A11.738 11.738 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"}})])},$i=[];const wi={},qn={};var xi=pt(wi,yi,$i,!1,Si,null,null,null);function Si(n){for(let t in qn)this[t]=qn[t]}const _i=function(){return xi.exports}();var Ci=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-link",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2zm-3-4h8v2H8z",fill:"currentColor"}})])},Oi=[];const Ii={},to={};var Ei=pt(Ii,Ci,Oi,!1,Ti,null,null,null);function Ti(n){for(let t in to)this[t]=to[t]}const Li=function(){return Ei.exports}();var Qo=function(n,t,o,e){var s;t[0]=0;for(var a=1;a<t.length;a++){var r=t[a++],i=t[a]?(t[0]|=r?1:2,o[t[a++]]):t[++a];r===3?e[0]=i:r===4?e[1]=Object.assign(e[1]||{},i):r===5?(e[1]=e[1]||{})[t[++a]]=i:r===6?e[1][t[++a]]+=i+"":r?(s=n.apply(i,Qo(n,i,o,["",null])),e.push(s),i[0]?t[0]|=2:(t[a-2]=0,t[a]=s)):e.push(i)}return e},eo=new Map;function Di(n){var t=eo.get(this);return t||(t=new Map,eo.set(this,t)),(t=Qo(this,t.get(n)||(t.set(n,t=function(o){for(var e,s,a=1,r="",i="",l=[0],c=function(f){a===1&&(f||(r=r.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?l.push(0,f,r):a===3&&(f||r)?(l.push(3,f,r),a=2):a===2&&r==="..."&&f?l.push(4,f,0):a===2&&r&&!f?l.push(5,0,!0,r):a>=5&&((r||!f&&a===5)&&(l.push(a,0,r,s),a=6),f&&(l.push(a,f,0,s),a=6)),r=""},d=0;d<o.length;d++){d&&(a===1&&c(),c(d));for(var u=0;u<o[d].length;u++)e=o[d][u],a===1?e==="<"?(c(),l=[l],a=3):r+=e:a===4?r==="--"&&e===">"?(a=1,r=""):r=e+r[0]:i?e===i?i="":r+=e:e==='"'||e==="'"?i=e:e===">"?(c(),a=1):a&&(e==="="?(a=5,s=r,r=""):e==="/"&&(a<5||o[d][u+1]===">")?(c(),a===3&&(l=l[0]),a=l,(l=l[0]).push(2,0,a),a=0):e===" "||e===" "||e===`
|
9 |
+
`||e==="\r"?(c(),a=2):r+=e),a===3&&r==="!--"&&(a=4,l=l[0])}return c(),l}(n)),t),arguments,[])).length>1?t:t[0]}const ee=Di.bind(window.wp.element.createElement),_n=n=>Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),nn=(n,t)=>{function o(){if(n.length!==t.length)return!1;for(let i=0;i<n.length;i++)if(!nn(n[i],t[i]))return!1;return!0}function e(){if(Object.keys(n).length!==Object.keys(t).length)return!1;for(const i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&!nn(n[i],t[i]))return!1;return!0}function s(){return n.toString()===t.toString()}function a(){return n===t}const r=_n(n);return r!==_n(t)?!1:r==="array"?o():r==="object"?e():r==="function"?s():a()},Xt=n=>{const t=l=>{for(const c in n)Object.prototype.hasOwnProperty.call(n,c)&&(l[c]=Xt(n[c]))},o=()=>{const l={};return t(l),l},e=()=>n.map(function(l){return Xt(l)}),s=()=>{const l=new Map;for(const[c,d]of n)l.set(c,Xt(d));return l},a=()=>{const l=new Set;for(const c of n)l.add(Xt(c));return l},r=()=>{const l=n.bind(globalThis);return t(l),l},i=_n(n);return i==="object"?o():i==="array"?e():i==="map"?s():i==="set"?a():i==="function"?r():n},Jo=(n,t=!1)=>{const{body:o}=document.implementation.createHTMLDocument("");o.innerHTML=n;const e=o.getElementsByTagName("*");let s=e.length;for(;s--;){const a=e[s];if(a.tagName==="SCRIPT")a.parentNode.removeChild(a);else{let r=a.attributes.length;for(;r--;){const{name:i}=a.attributes[r];i.startsWith("on")&&a.removeAttribute(i)}}}return t?o.textContent.trim():o.innerHTML},Ai=()=>"aioseo-"+new Date().getTime().toString(36),Pi=n=>{const t=n.find(o=>{var e;return 0<((e=o.headings)==null?void 0:e.length)});return!!(t&&Object.keys(t).length)},Wt=n=>{var e;if(!Pi([...n]))return n;const t=[],o=[...n];for(;o.length;){const{...s}=o.shift();(e=s.headings)!=null&&e.length&&o.unshift(...s.headings),s.headings=[],t.push(s)}return t},Mi=n=>{const t=(e,s="root")=>{const a={[s]:[]};return e.forEach(r=>{a[s].push(r.blockClientId),Object.assign(a,t(r.headings,r.blockClientId))}),a},o=t([...n]);return n=Wt([...n]),Object.entries(o).forEach(([e,s])=>{!s.length||(e==="root"?s.map(a=>{const r=n.findIndex(i=>i.blockClientId===a);return n[r].editedLevel=1,a}):s.map(a=>{const r=n.findIndex(l=>l.blockClientId===e),i=n.findIndex(l=>l.blockClientId===a);return n[i].editedLevel=n[r].editedLevel+1,a}))}),n.forEach((e,s)=>{e.editedOrder=s+1}),n.sort((e,s)=>e.editedOrder-s.editedOrder)},an=n=>{const t=[];let o=[],e=-1;if(n.length===0)return[];n=Wt([...n]);const s=()=>{0<o.length&&(t[t.length-1].headings=an(o))};return n.forEach(a=>{a={...a};const r=a.editedLevel||a.level;if(e!==-1&&e<r){o.push(a);return}s(),e=r,t.push(a),o=[]}),s(),t};var Ni=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("Draggable",n._b({staticClass:"aioseo-toc-list",class:[{orderable:this.allowReorder}],attrs:{handle:".aioseo-drag-handle",list:n.headings},on:{input:function(e){return n.$emit("input",e)},change:function(e){return n.setReorder(e)}}},"Draggable",n.dragOptions,!1),n._l(n.headings,function(e,s){return o("li",{key:s,class:["aioseo-toc-list-item",{"heading-hidden":e.hidden}]},[o("div",{staticClass:"aioseo-toc-list-item__inner"},[n.allowReorder?o("button",{staticClass:"aioseo-drag-handle has-icon"},[o("Drag")],1):n._e(),o("base-input",{staticClass:"row-input row-input--content",attrs:{value:e.editedContent||e.content,placeholder:e.content},on:{input:function(a){return n.setEditedContent(a,s)}},scopedSlots:n._u([{key:"append-icon",fn:function(){return[n.allowReorder?n._e():o("div",{staticClass:"append-icon"},[o("toc-link",{nativeOn:{click:function(a){return n.handleAnchorInput.apply(null,arguments)}}})],1)]},proxy:!0}],null,!0)}),n.allowReorder?n._e():o("base-input",{staticClass:"row-input row-input--anchor",attrs:{spellcheck:!1,value:e.anchor},on:{input:function(a){return n.setAnchor(a,s)}},scopedSlots:n._u([{key:"append-icon",fn:function(){return[o("div",{staticClass:"append-icon"},[o("core-tooltip",{scopedSlots:n._u([{key:"tooltip",fn:function(){return[o("p",{staticClass:"aioseo-tooltip__header"},[n._v(n._s(n.strings.tooltipHeader))]),o("p",[n._v(n._s(n.strings.tooltipDescription))])]},proxy:!0}],null,!0)},[o("Info")],1),o("Close",{nativeOn:{click:function(a){return n.handleAnchorInput.apply(null,arguments)}}})],1)]},proxy:!0}],null,!0)}),n.allowReorder?n._e():o("button",{class:[{active:e.hidden},"aioseo-hide-heading-toggle","has-icon"],on:{click:function(a){return n.setHiddenStatus(e)}}},[e.hidden?o("EyeOff"):o("Eye")],1),e.headings?o("List",{staticClass:"aioseo-toc-list-nested",attrs:{headings:e.headings,allowReorder:n.allowReorder}}):n._e()],1)])}),0)},ki=[];const Bi={name:"List",components:{Close:Lo,CoreTooltip:On,Drag:Br,Draggable:bi,Eye:ya,EyeOff:_i,Info:jo,TocLink:Li},props:{headings:{required:!0,type:Array},allowReorder:{required:!1,type:Boolean,default(){return!1}}},data(){return{showAnchorField:-1,strings:{tooltipHeader:this.$t.__("Edit HTML Anchor:",this.$tdPro),tooltipDescription:this.$t.sprintf(this.$t.__("The HTML anchor allows %1$s to link directly to your header from this table of contents block. Feel free to edit if you want, but an anchor is required. For headings without an anchor, %1$s will automatically generate them.",this.$tdPro),"AIOSEO")}}},computed:{...Cn({listStyle:n=>n.listStyle,storeHeadings:n=>n.headings}),dragOptions(){return{tag:this.listStyle,animation:300,group:"description",disabled:!this.allowReorder,ghostClass:"aioseo-drag-ghost",dragClass:"aioseo-dragging"}}},methods:{...To(["setHeadings"]),setEditedContent(n,t){if(n===this.storeHeadings[t].content){this.storeHeadings[t].editedContent="";return}this.storeHeadings[t].editedContent=Jo(n,!0)},setReorder(){this.$store.state.reOrdered=!0;const n=Mi(Xt(this.storeHeadings));this.setHeadings(n),window.aioseoBus.$emit("updateHeadings"+this.$store.state.blockClientId,n)},setAnchor(n,t){this.storeHeadings[t].anchor=bn(n),n||(this.storeHeadings[t].anchor="aioseo-"+bn(this.storeHeadings[t].content));const o=this.storeHeadings[t].blockClientId;!window.wp.data.select("core/block-editor").getBlock(o)||window.wp.data.dispatch("core/block-editor").updateBlockAttributes(o,{anchor:this.storeHeadings[t].anchor})},setHiddenStatus(n){n.hidden=!n.hidden,n.editedLevel===9?n.editedLevel=0:n.editedLevel=9,this.setHeadings(an([...this.storeHeadings]))},handleAnchorInput(n){const t=n.target.closest(".aioseo-toc-list-item"),o=t==null?void 0:t.querySelector(".row-input--anchor input");!o||(t.classList.contains("anchor-edit")?(t.classList.add("anchor-is-animating"),t.classList.remove("anchor-edit"),t.classList.remove("done"),o.addEventListener("animationend",function e(){t.classList.remove("anchor-is-animating"),t.removeEventListener("animationend",e,!1)})):(o.focus({preventScroll:!0}),t.classList.add("anchor-edit","anchor-is-animating"),o.addEventListener("animationend",function e(){t.classList.remove("anchor-is-animating"),t.classList.add("done"),o.removeEventListener("animationend",e,!1)})))}}},no={};var ji=pt(Bi,Ni,ki,!1,Ri,null,null,null);function Ri(n){for(let t in no)this[t]=no[t]}const Hi=function(){return ji.exports}();var Fi=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o(n.listStyle,{tag:"component",staticClass:"aioseo-toc-list--rendered"},n._l(n.headings,function(e,s){return o("li",{key:s,staticClass:"aioseo-toc-list-item--rendered",class:[{hidden:e.hidden}]},[o("a",{attrs:{href:`#${e.anchor}`}},[n._v(n._s(e.editedContent||e.content))]),e.headings?o("ListRendered",{staticClass:"aioseo-toc-list-nested--rendered",attrs:{headings:e.headings}}):n._e()],1)}),0)},Vi=[];const zi={name:"ListRendered",props:{headings:{required:!0,type:Array}},computed:{...Cn(["listStyle"])}},oo={};var Ui=pt(zi,Fi,Vi,!1,Wi,null,null,null);function Wi(n){for(let t in oo)this[t]=oo[t]}const Gi=function(){return Ui.exports}();var Xi=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("core-modal-portal",{attrs:{classes:["aioseo-toc-modal-lite"]},on:{close:function(e){return n.$emit("closeModal")}},scopedSlots:n._u([{key:"body",fn:function(){return[o("cta",{attrs:{type:1,floating:!1,"cta-link":n.$links.utmUrl("toc-block"),"button-text":"Upgrade to Pro and Unlock Reordering","learn-more-link":n.$links.getUpsellUrl("toc-block",null,"reorder-modal")},scopedSlots:n._u([{key:"header-text",fn:function(){return[n._v(" "+n._s(n.strings.header)+" ")]},proxy:!0},{key:"description",fn:function(){return[n._v(" "+n._s(n.strings.description)+" ")]},proxy:!0}])})]},proxy:!0}])})},Yi=[];const{__:ao,sprintf:Zi}=window.wp.i18n,so="all-in-one-seo-pack",Ki={components:{CoreModalPortal:$a,Cta:wa},data(){return{strings:{header:Zi(ao("This feature is available only for %1$s users",so),"AIOSEO Pro"),description:ao("Reordering the headings in the Table of Contents block is a feature that can only be used by Pro users. Upgrade to Pro to unlock this advanced functionality.",so)}}}},ro={};var Qi=pt(Ki,Xi,Yi,!1,Ji,null,null,null);function Ji(n){for(let t in ro)this[t]=ro[t]}const qi=function(){return Qi.exports}(),Ze={editedContent:"",editedLevel:0,editedOrder:0,hidden:!1,headings:[]};var tl=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-toc-container"},[o("div",{class:["aioseo-toc-menu",{"aioseo-toc-placeholder":n.headings.length===0}]},[o("header",{staticClass:"aioseo-toc-header"},[o("div",{staticClass:"aioseo-toc-header-title"},[n._v(" "+n._s(n.strings.header)+" "),o("core-tooltip",{attrs:{placement:"bottom"},scopedSlots:n._u([{key:"tooltip",fn:function(){return[o("p",[n._v(n._s(n.strings.tooltipMainDescription))])]},proxy:!0}])},[o("Info")],1)],1),n.headings.length===0?o("div",{staticClass:"aioseo-toc-header-instructions"},[n._v(" "+n._s(n.strings.instructions)+" ")]):n._e(),n.headings.length!==0?o("div",{staticClass:"aioseo-toc-header-buttons"},[o("a",{staticClass:"aioseo-button-link",attrs:{href:"#"},on:{click:function(e){n.showModal=!0}}},[n._v(" "+n._s(n.strings.reorder)+" ")]),o("a",{staticClass:"aioseo-button-link",attrs:{href:"#"},on:{click:n.save}},[n._v(" "+n._s(n.strings.done)+" ")])]):n._e()]),n.headings.length!==0?o("div",{staticClass:"aioseo-toc-content"},[o("List",{attrs:{headings:n.headings}})],1):n._e(),n.showModal?o("Reorder",{attrs:{headings:n.headings},on:{closeModal:function(e){n.showModal=!1}}}):n._e()],1),n.headings.length!==0?o("ListRendered",{attrs:{headings:n.headings}}):n._e()],1)},el=[];const{__:Fe,sprintf:nl}=window.wp.i18n,Ve="all-in-one-seo-pack",ol={components:{CoreTooltip:On,Info:jo,List:Hi,ListRendered:Gi,Reorder:qi},data(){return{showModal:!1,strings:{header:nl(Fe("%1$s Table of Contents",Ve),"AIOSEO"),instructions:this.$t.__("Add a heading block below to begin generating the Table of Contents.",this.$tdPro),tooltipMainDescription:this.$t.sprintf(this.$t.__("%1$s can automatically output a table of contents based on your heading tags below. Search engines sometimes use table of contents in search results or rich snippets which can help you increase your rankings.",this.$tdPro),"AIOSEO"),reorder:Fe("Reorder",Ve),save:Fe("Save",Ve),done:Fe("Done",Ve)}}},computed:{...Cn(["blockClientId","headings","reOrdered"])},methods:{...To(["setHeadings"]),save(n){const t=n.target.closest(".wp-block");t==null||t.classList.remove("is-selected")},setDefaultHeadingProps(n){return Object.keys(Ze).forEach(t=>{n[t]=Ze[t]}),n},updateHeadings(n){const t=Wt(Xt(this.headings));let o=n.map(e=>this.setDefaultHeadingProps(e));t.forEach(e=>{const s=o.findIndex(a=>a.blockClientId===e.blockClientId);s!==-1&&(Object.keys(Ze).forEach(a=>{o[s][a]=e[a]}),o[s].editedContent===o[s].content&&(o[s].editedContent=""),o[s].hidden?o[s].editedLevel=9:o[s].editedLevel===9&&(o[s].editedLevel=0))}),this.$store.state.reOrdered?0<o.length-t.length&&(o.sort((e,s)=>e.id-s.id),o.forEach((e,s)=>{e.editedOrder||(e.editedOrder=s+1)}),o.sort((e,s)=>e.editedOrder-s.editedOrder)):o.sort((e,s)=>e.id-s.id),o=an(o),this.setHeadings(o)}},watch:{headings:{handler(n){window.aioseoBus.$emit("setAttributes"+this.blockClientId,n)},deep:!0},reOrdered:{handler(n){window.aioseoBus.$emit("setAttributes"+this.blockClientId,n)}}},mounted(){window.aioseoBus.$on("updateHeadings"+this.blockClientId,n=>{this.updateHeadings(n)})}},io={};var al=pt(ol,tl,el,!1,sl,null,null,null);function sl(n){for(let t in io)this[t]=io[t]}const rl=function(){return al.exports}(),{__:lo}=window.wp.i18n,{InspectorControls:co}=window.wp.blockEditor,{PanelBody:uo,SelectControl:il}=window.wp.components,fo="all-in-one-seo-pack",ll=n=>{const{setAttributes:t,attributes:{listStyle:o}}=n;return ee`
|
10 |
+
<${co}>
|
11 |
+
<${uo} title=${lo("Table of Contents Settings",fo)}>
|
12 |
+
<${il}
|
13 |
+
label=${lo("List Style",fo)}
|
14 |
+
options=${[{label:"Bullets",value:"ul"},{label:"Numbers",value:"ol"}]}
|
15 |
+
value=${o}
|
16 |
+
onChange=${e=>{bt.state.listStyle=e,t({listStyle:e})}}
|
17 |
+
/>
|
18 |
+
</${uo}>
|
19 |
+
</${co}>
|
20 |
+
`},{useSelect:cl}=window.wp.data,qo=window.wp.blockEditor.store,{isTyping:dl}=window.wp.data.select(qo),ho=[];let ze=[];function ul(n){const{setAttributes:t,attributes:o,clientId:e,className:s,isSelected:a}=n,r=`aioseo-${e}`;if(!ho.includes(e)&&(a||document.querySelector(`[data-block="${e}"]`))&&(ho.push(e),Dt({id:r,parent:document.querySelector(".block-editor"),subtree:!0,done:function(i){var l;if(bt.state.blockClientId=e,bt.state.headings=o.headings,bt.state.listStyle=o.listStyle,bt.state.reOrdered=o.reOrdered,new Pt({store:bt,el:i,render:c=>c(rl)}),(l=bt.state.headings)!=null&&l.length){const c=Wt(Xt(bt.state.headings));c.forEach(d=>{const u=ze.find(f=>f.content===d.content&&f.anchor===d.anchor&&f.id===d.id&&f.level===d.level);u&&(d.blockClientId=u.blockClientId)}),bt.state.headings=an(c),t(bt.state)}window.aioseoBus.$on("setAttributes"+e,()=>{t(bt.state)})}})),ze=cl(i=>{var y,I,E,x,S;const{getBlockAttributes:l,getBlockIndex:c,getBlockName:d,getClientIdsWithDescendants:u}=i(qo),f=c(e),v=[];u().forEach(_=>{if(d(_)!=="core/heading"&&d(_)!=="aioseo/faq")return;const C=l(_),F=c(_),L=typeof(C==null?void 0:C.anchor)=="string"&&C.anchor!=="",A=C.level||C.tagName.replace("h","");if(A==="div")return;let T=C.question||C.content||"";T===""||f>F||(T=Jo(T.replace(/(<br *\/?>)+/g," "),!0),!L&&!dl()&&(C.anchor="aioseo-"+bn(T)),v.push({id:F,blockClientId:_,content:T,level:Number(A),anchor:L?C.anchor:""}))}),v.forEach((_,C)=>{_.order=C});const h=(y=Wt(Xt(bt.state.headings)))==null?void 0:y.map(_=>(Object.keys(Ze).forEach(C=>{delete _[C]}),_));return!nn([...v].sort((_,C)=>_.order-C.order),[...h].sort((_,C)=>_.order-C.order))||((E=Wt([...(I=l(e))==null?void 0:I.headings]))==null?void 0:E.length)!==[...v].length||((x=l(e))==null?void 0:x.reOrdered)===!0&&!nn(Wt([...bt.state.headings]).sort((_,C)=>_.editedOrder-C.editedOrder),Wt([...(S=l(e))==null?void 0:S.headings]).sort((_,C)=>_.editedOrder-C.editedOrder))?v:null},[e]),ze!==null){const i=ze.sort((l,c)=>l.editedOrder-c.editedOrder);window.aioseoBus.$emit("updateHeadings"+e,i)}return ee`
|
21 |
+
<div className="${s}">
|
22 |
+
<div id="aioseo-${e}"></div>
|
23 |
+
${ll(n)}
|
24 |
+
</div>
|
25 |
+
`}const{RawHTML:po}=window.wp.element;function fl({attributes:{headings:n,listStyle:t}}){if(!n)return"";const o=ta(n,t);return ee`<${po}>${o}</${po}>`}const ta=(n,t)=>{let o=`<${t}>`;return n.forEach(e=>{var a;if(e.hidden)return;let s="<li>";s+=`<a href="#${e.anchor}">${e.editedContent||e.content}</a>`,(a=e.headings)!=null&&a.length&&(s+=ta(e.headings,t)),s+="</li>",o+=s}),o+=`</${t}>`,o},hl=ee`
|
26 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"/></svg>
|
27 |
+
`,{name:pl,title:gl,description:vl,keywords:ml,category:bl,supports:yl,attributes:$l}=Bo,wl={title:gl,description:vl,keywords:ml,category:bl,attributes:$l,icon:hl,supports:yl,edit:ul,save:fl},xl=Object.freeze(Object.defineProperty({__proto__:null,metadata:Bo,name:pl,settings:wl},Symbol.toStringTag,{value:"Module"})),Sl="https://schemas.wp.org/wp/5.8/block.json",_l="aioseo/faq",Cl="AIOSEO - FAQ",Ol="Easily add an SEO-friendly Frequently Asked Question (FAQ) to your content.",Il="text",El=["accordion","answer","faq","frequently asked questions","knowledge base","question","schema","seo"],Tl="all-in-one-seo-pack",Ll={hidden:{type:"boolean",default:!1},question:{type:"string",selector:".aioseo-faq-block-question"},schemaBlockId:{type:"string",default:""},tagName:{type:"string",default:"h3"}},Dl={html:!1,anchor:!0,align:["wide","full"],color:{link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0},spacing:{margin:!0,padding:!0,blockGap:!0}},ea={$schema:Sl,name:_l,title:Cl,description:Ol,category:Il,keywords:El,textdomain:Tl,attributes:Ll,supports:Dl},{RichText:Al,InnerBlocks:Pl}=window.wp.blockEditor,{PanelBody:go,SelectControl:Ml,ToggleControl:Nl}=window.wp.components,vo=window.wp.blockEditor.InspectorControls||window.wp.editor.InspectorControls,{__:Mt}=window.wp.i18n,Nt="all-in-one-seo-pack",kl=[["core/paragraph",{placeholder:Mt("Write an answer...",Nt)}]],Bl=["core/paragraph","core/heading","core/list","core/image","core/media-text"],jl=(n,t,o)=>{const{hidden:e,question:s,tagName:a}=t,r=ra.getUpsellLink("faq-block",Mt("Click here to get",Nt)+" AIOSEO Pro","sidebar",!0);return ee`
|
28 |
+
<div data-schema-only="${e}" className="${n}">
|
29 |
+
<${vo}>
|
30 |
+
<${go} title=${Mt("FAQ Options",Nt)}>
|
31 |
+
<${Ml}
|
32 |
+
label=${Mt("Title Wrapper",Nt)}
|
33 |
+
options=${[{label:"DIV",value:"div"},{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"}]}
|
34 |
+
value=${a}
|
35 |
+
onChange=${i=>o({tagName:i})}
|
36 |
+
/>
|
37 |
+
|
38 |
+
<p className="aioseo-visibility-label">${Mt("Visibility",Nt)}</p>
|
39 |
+
<${Nl}
|
40 |
+
className="aioseo-faq-visibility"
|
41 |
+
label=${Mt("Display Block",Nt)}
|
42 |
+
help=${Mt("You can choose to hide this block on the front-end of your site so that visitors won't see it but search engines will still see it.",Nt)}
|
43 |
+
checked=${!e}
|
44 |
+
onChange=${()=>o({hidden:!e})}
|
45 |
+
disabled
|
46 |
+
/>
|
47 |
+
<div className="aioseo-alert aioseo-alert inline-upsell blue medium">
|
48 |
+
<div dangerouslySetInnerHTML=${{__html:Mt("FAQPage schema is a Pro feature.",Nt)+" "+r}}></div>
|
49 |
+
</div>
|
50 |
+
</${go}>
|
51 |
+
</${vo}>
|
52 |
+
<${Al}
|
53 |
+
tagName=${a}
|
54 |
+
placeholder=${Mt("Write a question...",Nt)}
|
55 |
+
className='aioseo-faq-block-question'
|
56 |
+
value=${s}
|
57 |
+
onChange=${i=>o({question:i})}
|
58 |
+
/>
|
59 |
+
<div className="aioseo-faq-block-answer">
|
60 |
+
<${Pl}
|
61 |
+
template=${kl}
|
62 |
+
allowedBlocks=${Bl}
|
63 |
+
/>
|
64 |
+
</div>
|
65 |
+
</div>
|
66 |
+
`},{useSelect:mo}=window.wp.data,bo=window.wp.blockEditor.store,{serialize:Rl}=window.wp.blocks,ie=[],Hl=n=>{const{body:t}=document.implementation.createHTMLDocument("");t.innerHTML=n;function o(e){var a;const s=e.childNodes;for(const r of s){if((a=r.nodeName)!=null&&a.toLowerCase().includes("comment")&&r.parentNode.removeChild(r),r.attributes)for(const{name:i,value:l}of r.attributes){const c=l.replace(/\s+/g,"").toLowerCase();(!["src","href"].includes(i)||i.startsWith("on")||c.includes("javascript:")||c.includes("data:"))&&r.removeAttribute(i)}o(r)}}return o(t),t.innerHTML.trim().replace(/\s+/g," ")};function Fl(n){const{attributes:t,className:o,clientId:e,setAttributes:s,isSelected:a}=n,{schemaBlockId:r}=t;!ie.includes(e)&&!a&&ie.push(e);const i=d=>{window.requestAnimationFrame(()=>{s(d)}),window.aioseoBus.$emit("schemaBlockUpdated")};r||i({schemaBlockId:Ai()});const l=mo(d=>{const{getAdjacentBlockClientId:u,getBlockAttributes:f,getBlockName:v,getClientIdsWithDescendants:p,getGlobalBlockCount:h}=d(bo);if(ie.includes(e)||2>h("aioseo/faq"))return null;const y=u(e,-1);if(v(y)==="aioseo/faq")return f(y);const I=u(e,1);if(v(I)==="aioseo/faq")return f(I);const x=p().filter(C=>v(C)==="aioseo/faq"),S=x.indexOf(e),_=x[S-1]||x[S+1];return v(_)==="aioseo/faq"?f(_):null},[e,ie]);a&&!ie.includes(e)&&!t.question&&l&&(ie.push(e),window.requestAnimationFrame(()=>{s({backgroundColor:l.backgroundColor,textColor:l.textColor,tagName:l.tagName,hidden:l.hidden,fontSize:l.fontSize,style:l.style})}));const c=mo(d=>{const{getBlocks:u}=d(bo);return(v=>{const p=u(v),h=Rl(p);return Hl(h)})(e)},[e]);return i({answer:c}),jl(o,t,i)}const{RichText:Vl,InnerBlocks:zl}=window.wp.blockEditor;function Ul({attributes:n,className:t}){const{question:o,hidden:e,tagName:s}=n;return ee`
|
67 |
+
<div data-schema-only="${e}" className=${t}>
|
68 |
+
<${Vl.Content}
|
69 |
+
tagName=${s}
|
70 |
+
className="aioseo-faq-block-question"
|
71 |
+
value=${o}
|
72 |
+
/>
|
73 |
+
<div className="aioseo-faq-block-answer">
|
74 |
+
<${zl.Content} />
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
+
`}const Wl=ee`
|
78 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 15q.425 0 .738-.312.312-.313.312-.738t-.312-.738Q14.425 12.9 14 12.9t-.737.312q-.313.313-.313.738t.313.738Q13.575 15 14 15Zm-.75-3.2h1.5q0-.725.15-1.063.15-.337.7-.887.75-.75 1-1.213.25-.462.25-1.087 0-1.125-.788-1.837Q15.275 5 14 5q-1.025 0-1.787.575-.763.575-1.063 1.525l1.35.55q.225-.625.613-.938Q13.5 6.4 14 6.4q.6 0 .975.337.375.338.375.913 0 .35-.2.662-.2.313-.7.788-.825.725-1.012 1.137-.188.413-.188 1.563ZM8 18q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm-4 4q-.825 0-1.412-.587Q2 20.825 2 20V6h2v14h14v2Z"/></svg>
|
79 |
+
`,{__:yo}=window.wp.i18n,$o="all-in-one-seo-pack",{name:Gl,title:Xl,description:Yl,category:Zl,supports:Kl,attributes:Ql}=ea,Jl={title:Xl,description:Yl,category:Zl,attributes:Ql,icon:Wl,example:{attributes:{question:yo("Who should use AIOSEO?",$o)},innerBlocks:[{name:"core/paragraph",attributes:{content:yo("All in One SEO is perfect for business owners, bloggers, designers, developers, photographers, and basically everyone else. If you want to optimize your WordPress SEO, then you need to use All in One SEO Pack.",$o)}}]},supports:Kl,edit:Fl,save:Ul},ql=Object.freeze(Object.defineProperty({__proto__:null,metadata:ea,name:Gl,settings:Jl},Symbol.toStringTag,{value:"Module"}));var Oo,Io;if(((Io=(Oo=window.aioseo)==null?void 0:Oo.currentPost)==null?void 0:Io.context)==="post"){let n=[];window.wp.data.subscribe(()=>{t()});const t=An(()=>{const e=window.wp.data.select("core/block-editor").getBlocks();e.length<n.length&&o(),n=e},200);window.aioseoBus.$on("schemaBlockUpdated",()=>{o()});const o=An(()=>{var a;let e=window.wp.data.select("core/block-editor").getBlocks().filter(r=>{var i;return(i=r==null?void 0:r.attributes)==null?void 0:i.schemaBlockId});e=e.map(r=>(r.attributes.type=r.name,r));const s=((a=Dn.currentPost.schema)==null?void 0:a.blockGraphs)||[];s.forEach((r,i)=>{const l=e.findIndex(u=>{var f;return((f=u==null?void 0:u.attributes)==null?void 0:f.schemaBlockId)===(r==null?void 0:r.schemaBlockId)});if(l===-1){s.splice(i,1);return}const c={...e[l].attributes};["backgroundColor","textColor","fontSize","style"].forEach(u=>{delete c[u]}),s[i]=c}),e.forEach(r=>{s.findIndex(l=>{var c;return(l==null?void 0:l.schemaBlockId)===((c=r==null?void 0:r.attributes)==null?void 0:c.schemaBlockId)})===-1&&(r==null?void 0:r.attributes)&&s.push(r.attributes)}),Dn.currentPost.schema.blockGraphs=s},200)}if(sa()){const n=window.wp.element.createElement,t=n("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#434960",d:"M12.434 24c6.627 0 12-5.373 12-12s-5.373-12-12-12c-6.628 0-12 5.373-12 12s5.372 12 12 12zM10.523 4.392a.635.635 0 00-.74-.266 8.07 8.07 0 00-.92.391.659.659 0 00-.337.723l.206 1.041a.746.746 0 01-.264.713 6.293 6.293 0 00-.903.924.717.717 0 01-.698.272l-1.02-.206a.638.638 0 00-.708.346 8.493 8.493 0 00-.38.94.66.66 0 00.263.754l.867.588a.745.745 0 01.307.694 6.54 6.54 0 00.003 1.305.744.744 0 01-.305.695l-.865.591a.661.661 0 00-.26.755c.108.321.236.635.383.94a.638.638 0 00.708.343l1.02-.21a.716.716 0 01.7.27c.267.334.57.643.905.92a.746.746 0 01.266.712L8.55 18.67a.659.659 0 00.34.722 8.045 8.045 0 00.92.388c.458.16 1.097-.413 1.57-.836a1.12 1.12 0 00.379-.82v-1.748c0-.018 0-.036.002-.055-1.397-.34-2.435-1.622-2.435-3.152v-1.85c0-.14.111-.254.25-.254h.864v-1.82c0-.251.2-.455.446-.455a.45.45 0 01.446.455v1.82h2.34v-1.82c0-.251.2-.455.446-.455a.45.45 0 01.446.455v1.82h.865c.138 0 .25.114.25.254v1.85c0 1.578-1.105 2.893-2.569 3.182v1.76c0 .322.149.623.389.832.481.42 1.132.988 1.586.827a8.08 8.08 0 00.921-.391.659.659 0 00.336-.723l-.205-1.042a.746.746 0 01.264-.712c.328-.273.63-.582.902-.924a.717.717 0 01.698-.272l1.02.206a.638.638 0 00.708-.346 8.575 8.575 0 00.38-.94.661.661 0 00-.263-.754l-.867-.588a.745.745 0 01-.307-.694 6.481 6.481 0 00-.003-1.305.745.745 0 01.305-.695l.865-.591a.662.662 0 00.26-.755 8.435 8.435 0 00-.383-.94.638.638 0 00-.708-.343l-1.02.21a.716.716 0 01-.7-.27 6.297 6.297 0 00-.904-.92.747.747 0 01-.267-.712l.202-1.042a.659.659 0 00-.339-.722 8.164 8.164 0 00-.921-.388.635.635 0 00-.74.269l-.575.884a.718.718 0 01-.681.314 6.105 6.105 0 00-1.278.003.718.718 0 01-.682-.311l-.58-.883z"})),{getCategories:o,setCategories:e,registerBlockCollection:s,registerBlockType:a}=window.wp.blocks,r=[...o()];typeof s=="function"?s("aioseo",{title:"AIOSEO",icon:t}):(r.unshift({slug:"aioseo",title:"AIOSEO",icon:t}),e(r));const i=c=>{if(!c)return;const{name:d,settings:u}=c;if(u.icon&&!u.icon.foreground){const f={foreground:"#141B38",src:u.icon};u.icon=f}typeof s=="function"&&u.category==="aioseo"&&(u.category="widgets"),typeof s!="function"&&u.category!=="aioseo"&&(u.category="aioseo"),a(d,u)};(()=>{[Ea,ts,xl,ql].forEach(i),window.aioseo.localBusiness&&[ps,Es,Vs,Ys,pr].forEach(i)})()}
|
dist/Lite/assets/blocks.5faa8d60.js
DELETED
@@ -1,79 +0,0 @@
|
|
1 |
-
import{_ as k,s as Et}from"./js/default-i18n.0e73c33c.js";import{n as pt,V as Pt}from"./js/vueComponentNormalizer.58b0a173.js";import{m as oa,s as aa,V as Eo,a as Cn,b as To,c as Dn,d as sa}from"./js/index.4776f7d5.js";import{S as Lo,o as Dt,l as ia}from"./js/index.4a5acef5.js";import"./js/WpTable.8ff25002.js";import{J as ra}from"./js/JsonValues.08065e69.js";import{S as la}from"./js/AddPlus.a5cc22bc.js";import{S as ca}from"./js/External.1af3387c.js";import{B as da}from"./js/HighlightToggle.af16c79b.js";import{C as On}from"./js/Tooltip.060399ab.js";import{G as ua,a as fa}from"./js/Row.dfea53f7.js";import{U as ha}from"./js/Image.03ee6721.js";import{B as pa}from"./js/Img.b806c655.js";import{S as ga}from"./js/Plus.6ec3819c.js";import{g as va,c as ma,a as ba}from"./js/_commonjsHelpers.10c44588.js";import{S as ya}from"./js/Eye.a1ab72cf.js";import{c as bn}from"./js/cleanForSlug.788b395f.js";import{C as $a}from"./js/Portal.de907673.js";import{C as wa}from"./js/Index.7823cadd.js";import{d as An}from"./js/debounce.2609a25d.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/client.d00863cc.js";import"./js/translations.3bc9d58c.js";import"./js/constants.9efee5f7.js";import"./js/portal-vue.esm.272b3133.js";import"./js/attachments.52d4e34c.js";import"./js/Checkbox.93944087.js";import"./js/Checkmark.627d69a4.js";import"./js/Radio.fa2678ef.js";import"./js/toNumber.2817b5ea.js";const Oe=window.wp,ce=Oe.element.createElement,xa=Oe.element.Fragment,Sa=Oe.components.Disabled,_a=Oe.serverSideRender||Oe.components.ServerSideRender,Ca="all-in-one-seo-pack",Oa=ce("svg",{width:24,height:25,viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},ce("path",{d:"M1.7002 5.31067H10.8705L17.8705 12.5L10.8705 19.6893H1.7002V5.31067ZM10.2856 12.4999C10.2856 13.3284 9.61396 14.0001 8.7854 14.0001C7.95684 14.0001 7.28516 13.3284 7.28516 12.4999C7.28516 11.6713 7.95684 10.9996 8.7854 10.9996C9.61396 10.9996 10.2856 11.6713 10.2856 12.4999ZM6.1933 12.5001C6.1933 13.195 5.62995 13.7584 4.93503 13.7584C4.2401 13.7584 3.67676 13.195 3.67676 12.5001C3.67676 11.8052 4.2401 11.2418 4.93503 11.2418C5.62995 11.2418 6.1933 11.8052 6.1933 12.5001ZM12.6342 13.7584C13.3292 13.7584 13.8925 13.195 13.8925 12.5001C13.8925 11.8052 13.3292 11.2418 12.6342 11.2418C11.9393 11.2418 11.376 11.8052 11.376 12.5001C11.376 13.195 11.9393 13.7584 12.6342 13.7584ZM15.3002 5.31067H12.5771L19.5771 12.5L12.5771 19.6893H15.3002L22.3002 12.5L15.3002 5.31067Z"})),Do="aioseo/breadcrumbs",Ia={title:k("AIOSEO - Breadcrumbs",Ca),category:"aioseo",icon:Oa,example:{},attributes:{},edit:function(){return ce(xa,{},ce("div",{},ce(Sa,null,ce(_a,{block:Do,attributes:{}}))))},save:function(){return null}},Ea=Object.freeze(Object.defineProperty({__proto__:null,name:Do,settings:Ia},Symbol.toStringTag,{value:"Module"}));var Ta=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-exclude-posts"},[o("base-select",{attrs:{options:n.excludeOptions,"ajax-search":n.processGetObjects,size:"medium",multiple:"",value:n.getJsonValues(n.optionName),placeholder:n.strings.typeToSearch},on:{input:function(e){return n.optionName=n.setJsonValues(e)}},scopedSlots:n._u([{key:"noOptions",fn:function(){return[n._v(" "+n._s(n.noOptions)+" ")]},proxy:!0},{key:"noResult",fn:function(){return[n._v(" "+n._s(n.strings.noResult)+" ")]},proxy:!0},{key:"caret",fn:function(e){var s=e.toggle;return[o("base-button",{staticClass:"multiselect-toggle",staticStyle:{padding:"10px 13px",width:"40px",position:"absolute",height:"36px",right:"2px",top:"2px","text-align":"center",transition:"transform .2s ease"},attrs:{type:"gray"},on:{click:s}},[o("svg-add-plus",{staticStyle:{width:"14px",height:"14px",color:"black"}})],1)]}},{key:"option",fn:function(e){var s=e.option,a=e.search;return[o("div",{staticClass:"option"},[o("div",{staticClass:"option-title",domProps:{innerHTML:n._s(n.getOptionTitle(s.label,a))}}),o("div",{staticClass:"option-details"},[o("span",[n._v(n._s(n.strings.id)+": #"+n._s(s.value))]),o("span",[n._v(n._s(n.strings.type)+": "+n._s(s.type))])])]),o("a",{staticClass:"option-permalink",attrs:{href:s.link,target:"_blank"},on:{click:function(i){return i.stopPropagation(),function(){}.apply(null,arguments)}}},[o("svg-external")],1)]}},{key:"tag",fn:function(e){var s=e.option,a=e.remove;return[o("div",{staticClass:"multiselect__tag"},[o("div",{staticClass:"multiselect__tag-value"},[n._v(" "+n._s(s.label)+" - #"+n._s(s.value)+" ")]),o("div",{staticClass:"multiselect__tag-remove",on:{click:function(i){return i.stopPropagation(),a(s)}}},[o("svg-close",{nativeOn:{click:function(i){return i.stopPropagation(),a(s)}}})],1)])]}}])}),o("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(e){n.optionName=[]}}},[n._v(" "+n._s(n.strings.clear)+" ")])],1)},La=[];const Da={components:{SvgAddPlus:la,SvgClose:Lo,SvgExternal:ca},mixins:[ra],props:{type:{type:String,required:!0}},data(){return{excludeOptions:[],strings:{typeToSearch:this.$t.__("Type to search...",this.$td),noOptionsPosts:this.$t.__("Begin typing a post ID, title or slug to search...",this.$td),noOptionsTerms:this.$t.__("Begin typing a term ID or name to search...",this.$td),noResult:this.$t.__("No results found for your search. Try again!",this.$td),clear:this.$t.__("Clear",this.$td),id:this.$t.__("ID",this.$td),type:this.$t.__("Type",this.$td)}}},computed:{optionName:{get(){return this.type==="posts"?JSON.parse(this.$root.$data.excluded_posts):JSON.parse(this.$root.$data.excluded_terms)},set(n){if(n=JSON.stringify(n),this.type==="posts"){this.$root.$data.excluded_posts=n;return}this.$root.$data.excluded_terms=n}},noOptions(){return this.type==="posts"?this.strings.noOptionsPosts:this.strings.noOptionsTerms}},methods:{...oa(["getObjects"]),processGetObjects(n){return this.getObjects({query:n,type:this.type}).then(t=>{this.excludeOptions=t.body.objects})},getOptionTitle(n,t){const o=new RegExp(`(${t})`,"gi");return n.replace(o,'<span class="search-term">$1</span>')}}},Pn={};var Aa=pt(Da,Ta,La,!1,Pa,null,null,null);function Pa(n){for(let t in Pn)this[t]=Pn[t]}const Ma=function(){return Aa.exports}();var Na=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-included-objects-toggle"},[o("div",{staticClass:"included-objects-settings"},[n.type==="post_types"?o("base-toggle",{attrs:{size:"medium"},model:{value:n.$root.$data.post_types_all,callback:function(e){n.$set(n.$root.$data,"post_types_all",e)},expression:"$root.$data.post_types_all"}},[n._v(" "+n._s(n.strings.includeAllPostTypes)+" ")]):n._e(),n.type==="taxonomies"?o("base-toggle",{attrs:{size:"medium"},model:{value:n.$root.$data.taxonomies_all,callback:function(e){n.$set(n.$root.$data,"taxonomies_all",e)},expression:"$root.$data.taxonomies_all"}},[n._v(" "+n._s(n.strings.includeAllTaxonomies)+" ")]):n._e(),0<n.objects.length&&!n.includeAllSetting?o("grid-row",{staticClass:"aioseo-included-list"},n._l(n.objects,function(e,s){return o("grid-column",{key:s,attrs:{md:"6"}},[o("base-highlight-toggle",{attrs:{size:"medium",active:n.isActive(e),name:e.name,type:"checkbox",value:n.getValue(e)},on:{input:function(a){return n.updateValue(a,e)}}},[o("core-tooltip",{scopedSlots:n._u([{key:"tooltip",fn:function(){return[o("div",{staticClass:"aioseo-description"},[n._v(" "+n._s(n.strings.label)+" "),o("strong",[n._v(n._s(e.label))]),o("br"),n._v(" "+n._s(n.strings.name)+" "),o("strong",[n._v(n._s(e.name))])])]},proxy:!0}],null,!0)},[o("span",{staticClass:"icon dashicons",class:`${e.icon||"dashicons-admin-post"}`})]),n._v(" "+n._s(e.label)+" ")],1)],1)}),1):n._e()],1)])},ka=[];const Ba={components:{BaseHighlightToggle:da,CoreTooltip:On,GridColumn:ua,GridRow:fa},props:{type:{type:String,required:!0},excluded:{type:Array,default(){return[]}}},data(){return{strings:{label:this.$t.__("Label:",this.$td),name:this.$t.__("Slug:",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td)}}},computed:{includeAllSetting(){const n=this.type+"_all";return this.$root.$data[n]},objects(){const n=this.type==="taxonomies"?"taxonomies":"postTypes";return this.$aioseo.postData[n].filter(t=>!this.excluded.includes(t.name))}},methods:{getState(){return JSON.parse(this.$root.$data[this.type])},setState(n){this.$root.$data[this.type]=JSON.stringify(n)},getValue(n){return this.getState().includes(n.name)},updateValue(n,t){const o=this.getState();if(n){o.push(t.name),this.setState(o);return}const e=o.findIndex(s=>s===t.name);e!==-1&&(this.$delete(o,e),this.setState(o))},isActive(n){return this.getState().findIndex(o=>o===n.name)!==-1}}},Mn={};var ja=pt(Ba,Na,ka,!1,Ra,null,null,null);function Ra(n){for(let t in Mn)this[t]=Mn[t]}const Ha=function(){return ja.exports}();var Fa=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.default,callback:function(s){t.$set(t.$root.$data,"default",s)},expression:"$root.$data.default"}},[t._v(" "+t._s(t.strings.useDefault)+" ")])],1),t.$root.$data.default?t._e():e("div",[e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.archives,callback:function(s){t.$set(t.$root.$data,"archives",s)},expression:"$root.$data.archives"}},[t._v(" "+t._s(t.strings.archives)+" ")])],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.show_label,callback:function(s){t.$set(t.$root.$data,"show_label",s)},expression:"$root.$data.show_label"}},[t._v(" "+t._s(t.strings.showLabel)+" ")])],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.publication_date,callback:function(s){t.$set(t.$root.$data,"publication_date",s)},expression:"$root.$data.publication_date"}},[t._v(" "+t._s(t.strings.publicationDate)+" ")])],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.postTypes))]),e("html-sitemap-included-objects",{attrs:{type:"post_types",excluded:["attachment"]}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.taxonomies))]),e("html-sitemap-included-objects",{attrs:{type:"taxonomies"}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.sortOrder))]),e("base-select",{attrs:{size:"medium",options:t.sortOrders,value:t.getSortOrder(this.$root.$data.order_by),"track-by":"value"},on:{input:function(s){return n.$root.$data.order_by=s.value}}})],1),e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.sortDirection))]),e("base-select",{attrs:{size:"medium",options:t.sortDirections,value:t.getSortDirection(this.$root.$data.order),"track-by":"value"},on:{input:function(s){return n.$root.$data.order=s.value}}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.excludePostsPages))]),e("html-sitemap-exclude-objects",{attrs:{type:"posts"}})],1),t.$root.$data.archives?t._e():e("div",{staticClass:"aioseo-sidebar-row"},[e("p",{staticClass:"aioseo-sidebar-title"},[t._v(t._s(t.strings.excludeTerms))]),e("html-sitemap-exclude-objects",{attrs:{type:"terms"}})],1)])])},Va=[];const za={components:{HtmlSitemapExcludeObjects:Ma,HtmlSitemapIncludedObjects:Ha},data(){return{sortDirections:[{label:this.$t.__("Ascending",this.$td),value:"asc"},{label:this.$t.__("Descending",this.$td),value:"desc"}],sortOrders:[{label:this.$t.__("Publish Date",this.$td),value:"publish_date"},{label:this.$t.__("Last Updated",this.$td),value:"last_updated"},{label:this.$t.__("Alphabetical",this.$td),value:"alphabetical"},{label:this.$t.__("Post/Term ID",this.$td),value:"id"}],strings:{useDefault:this.$t.__("Use Default Settings",this.$td),postTypes:this.$t.__("Post Types",this.$td),taxonomies:this.$t.__("Taxonomies",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),showLabel:this.$t.__("Show Labels",this.$td),publicationDate:this.$t.__("Show Publication Date",this.$td),archives:this.$t.__("Compact Archives",this.$td),sortOrder:this.$t.__("Sort Order",this.$td),sortDirection:this.$t.__("Sort Direction",this.$td),excludePostsPages:this.$t.__("Exclude Posts / Pages",this.$td),excludeTerms:this.$t.__("Exclude Terms",this.$td)}}},methods:{getSortOrder(n){return this.sortOrders.find(t=>t.value===n)},getSortDirection(n){return this.sortDirections.find(t=>t.value===n)}}},Nn={};var Ua=pt(za,Fa,Va,!1,Wa,null,null,null);function Wa(n){for(let t in Nn)this[t]=Nn[t]}const Ga=function(){return Ua.exports}(),Yt=window.wp,Lt=Yt.element.createElement,Xa=Yt.element.Fragment,Ya=Yt.serverSideRender||Yt.components.ServerSideRender;var wo;const Za=((wo=Yt.blockEditor)==null?void 0:wo.InspectorControls)||Yt.editor.InspectorControls,Ka=Yt.components.PanelBody,Qa=Yt.components.Disabled,kn="all-in-one-seo-pack",Ja=Lt("svg",{width:25,height:25,viewBox:"0 0 25 25",xmlns:"http://www.w3.org/2000/svg"},Lt("path",{d:"M4.125 4.5H20.125V20.5H4.125V4.5ZM9.71875 6.89062H17.7188V8.49062H9.71875V6.89062ZM17.7188 10.0781H9.71875V11.6781H17.7188V10.0781ZM9.71875 13.2661H17.7188V14.8661H9.71875V13.2661ZM17.7188 16.5H9.71875V18.1H17.7188V16.5ZM6.51562 6.89062H8.11562V8.49062H6.51562V6.89062ZM8.11562 10.0781H6.51562V11.6781H8.11562V10.0781ZM6.51562 13.2661H8.11562V14.8661H6.51562V13.2661ZM8.11562 16.5H6.51562V18.1H8.11562V16.5Z",fillRule:"evenodd",clipRule:"evenodd"})),sn={},Ao="aioseo/html-sitemap",qa={title:k("AIOSEO - HTML Sitemap",kn),category:"aioseo",icon:Ja,example:{},attributes:{default:{type:"boolean",default:!0},post_types:{type:"string",default:'["post", "page"]'},post_types_all:{type:"boolean",default:!0},taxonomies:{type:"string",default:'["category", "post_tag"]'},taxonomies_all:{type:"boolean",default:!0},show_label:{type:"boolean",default:!0},archives:{type:"boolean",default:!1},publication_date:{type:"boolean",default:!0},nofollow_links:{type:"boolean",default:!1},order_by:{type:"string",default:"publish_date"},order:{type:"string",default:"asc"},excluded_posts:{type:"string",default:"[]"},excluded_terms:{type:"string",default:"[]"},is_admin:{type:"boolean",default:window.location&&window.location.pathname.startsWith("/wp-admin/")}},edit:function(n){const{setAttributes:t,attributes:o,className:e,clientId:s,isSelected:a}=n,i="aioseo-"+s;a&&(sn[s]={},Object.keys(o).forEach(function(l){sn[s][l]=o[l]}),Dt({id:i,parent:document.querySelector(".block-editor"),subtree:!0,done:function(l){new Pt({store:aa,el:l,data:function(){return sn[s]},watch:{$data:{handler:function(c){t(c)},deep:!0}},render:c=>c(Ga)})}}));const r=Lt(Za,null,Lt(Ka,{title:k("Display Settings",kn),initialOpen:!0},Lt("div",null,Lt("div",{id:i},null))));return Lt(Xa,{},r,Lt("div",{className:e},Lt(Qa,null,Lt(Ya,{block:Ao,attributes:{...o}}))))},save:function(){return null}},ts=Object.freeze(Object.defineProperty({__proto__:null,name:Ao,settings:qa},Symbol.toStringTag,{value:"Module"}));var es=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[t.locationsList.length&&!t.isLocationPostType()?e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationsList,value:t.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(s){return n.$root.$data.locationId=s.value}}})],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showLabels,callback:function(s){t.$set(t.$root.$data,"showLabels",s)},expression:"$root.$data.showLabels"}},[t._v(" "+t._s(t.strings.showLabels)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showIcons,callback:function(s){t.$set(t.$root.$data,"showIcons",s)},expression:"$root.$data.showIcons"}},[t._v(" "+t._s(t.strings.showIcons)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.businessInfo))])]),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showName,callback:function(s){t.$set(t.$root.$data,"showName",s)},expression:"$root.$data.showName"}},[t._v(" "+t._s(t.strings.showName)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showAddress,callback:function(s){t.$set(t.$root.$data,"showAddress",s)},expression:"$root.$data.showAddress"}},[t._v(" "+t._s(t.strings.address)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showPhone,callback:function(s){t.$set(t.$root.$data,"showPhone",s)},expression:"$root.$data.showPhone"}},[t._v(" "+t._s(t.strings.phoneNumber)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showFax,callback:function(s){t.$set(t.$root.$data,"showFax",s)},expression:"$root.$data.showFax"}},[t._v(" "+t._s(t.strings.faxNumber)+" ")])],1),t.$root.$data.showPhone||t.$root.$data.showFax?e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showCountryCode,callback:function(s){t.$set(t.$root.$data,"showCountryCode",s)},expression:"$root.$data.showCountryCode"}},[t._v(" "+t._s(t.strings.countryCode)+" ")])],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showEmail,callback:function(s){t.$set(t.$root.$data,"showEmail",s)},expression:"$root.$data.showEmail"}},[t._v(" "+t._s(t.strings.emailAddress)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showVat,callback:function(s){t.$set(t.$root.$data,"showVat",s)},expression:"$root.$data.showVat"}},[t._v(" "+t._s(t.strings.showVat)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showTax,callback:function(s){t.$set(t.$root.$data,"showTax",s)},expression:"$root.$data.showTax"}},[t._v(" "+t._s(t.strings.showTax)+" ")])],1),t.$root.$data.showLabels?e("div",[e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.labels))])]),e("div",{staticClass:"sidebar-row labels"},[t.$root.$data.showAddress?e("div",[e("label",[t._v(t._s(t.strings.addressLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.addressLabel,callback:function(s){t.$set(t.$root.$data,"addressLabel",s)},expression:"$root.$data.addressLabel"}})],1):t._e(),t.$root.$data.showVat?e("div",[e("label",[t._v(t._s(t.strings.vatIdLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.vatIdLabel,callback:function(s){t.$set(t.$root.$data,"vatIdLabel",s)},expression:"$root.$data.vatIdLabel"}})],1):t._e(),t.$root.$data.showTax?e("div",[e("label",[t._v(t._s(t.strings.taxIdLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.taxIdLabel,callback:function(s){t.$set(t.$root.$data,"taxIdLabel",s)},expression:"$root.$data.taxIdLabel"}})],1):t._e(),t.$root.$data.showPhone?e("div",[e("label",[t._v(t._s(t.strings.phoneLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.phoneLabel,callback:function(s){t.$set(t.$root.$data,"phoneLabel",s)},expression:"$root.$data.phoneLabel"}})],1):t._e(),t.$root.$data.showFax?e("div",[e("label",[t._v(t._s(t.strings.faxLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.faxLabel,callback:function(s){t.$set(t.$root.$data,"faxLabel",s)},expression:"$root.$data.faxLabel"}})],1):t._e(),t.$root.$data.showEmail?e("div",[e("label",[t._v(t._s(t.strings.emailLabel))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.emailLabel,callback:function(s){t.$set(t.$root.$data,"emailLabel",s)},expression:"$root.$data.emailLabel"}})],1):t._e()])]):t._e()])},ns=[];const os={data(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showLabels:this.$t.__("Show labels",this.$td),showIcons:this.$t.__("Show icons",this.$td),businessInfo:this.$t.__("Business Info",this.$td),showName:this.$t.__("Name",this.$td),address:this.$t.__("Address",this.$td),phoneNumber:this.$t.__("Phone Number",this.$td),faxNumber:this.$t.__("Fax Number",this.$td),emailAddress:this.$t.__("Email Address",this.$td),showVat:this.$t.__("Show VAT ID",this.$td),showTax:this.$t.__("Show Tax ID",this.$td),countryCode:this.$t.__("Phone/Fax Country Code",this.$td),labels:this.$t.__("Labels",this.$td),addressLabel:this.$t.__("Address",this.$td),vatIdLabel:this.$t.__("Vat ID",this.$td),taxIdLabel:this.$t.__("Tax ID",this.$td),phoneLabel:this.$t.__("Phone",this.$td),faxLabel:this.$t.__("Fax",this.$td),emailLabel:this.$t.__("Email",this.$td)}}},methods:{getLocationOptions(n){let t=this.locationsList.find(o=>o.value===n);return!t&&!this.isLocationPostType()&&(t=this.locationsList.find(o=>!!o),t&&(this.$root.$data.locationId=t.value)),t},isLocationPostType(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created(){this.$root.$data.locations&&this.$root.$data.locations.forEach(n=>{this.locationsList.push({value:n.id,label:n.title.rendered})})}},Bn={};var as=pt(os,es,ns,!1,ss,"7b2079b4",null,null);function ss(n){for(let t in Bn)this[t]=Bn[t]}const is=function(){return as.exports}(),Bt=window.wp,at=Bt.element.createElement,fe=Bt.element.Fragment;var xo;const rs=((xo=Bt.blockEditor)==null?void 0:xo.InspectorControls)||Bt.editor.InspectorControls,ls=Bt.components.PanelBody,cs=Bt.components.Disabled,ds=Bt.serverSideRender||Bt.components.ServerSideRender,us=Bt.data.withSelect,wt="all-in-one-seo-pack",fs=at("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},at("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),Le={},Po="aioseo/businessinfo",hs={title:k("AIOSEO Local - Business Info",wt),category:"aioseo",icon:fs,example:{},attributes:{locationId:{type:"number",default:null},showLabels:{type:"boolean",default:!0},addressLabel:{type:"string",default:k("Address:",wt)},vatIdLabel:{type:"string",default:k("VAT ID:",wt)},taxIdLabel:{type:"string",default:k("Tax ID:",wt)},phoneLabel:{type:"string",default:k("Phone:",wt)},faxLabel:{type:"string",default:k("Fax:",wt)},emailLabel:{type:"string",default:k("Email:",wt)},showIcons:{type:"boolean",default:!0},showName:{type:"boolean",default:!0},showAddress:{type:"boolean",default:!0},showPhone:{type:"boolean",default:!0},showFax:{type:"boolean",default:!0},showCountryCode:{type:"boolean",default:!0},showEmail:{type:"boolean",default:!0},showVat:{type:"boolean",default:!0},showTax:{type:"boolean",default:!0},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},edit:us(function(n){return{locations:n("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100})}})(function(n){var d;const t=(d=window.aioseo.options.localBusiness)==null?void 0:d.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:i}=n;let{locations:r}=n;const l="aioseo-"+a;if(t&&r===null)return at(fe,{},at("div",{},k("Loading...",wt)));if(r=r===null?[]:r,!t&&e.locationId)return at(fe,{},at("div",{},k("Please enable multiple locations before using this block.",wt)));if(t&&r.length===0)return at(fe,{},at("div",{},Et(k("No %1$s found",wt),window.aioseo.localBusiness.postTypePluralLabel)));e.locationId=!e.locationId&&window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?window.aioseo.currentPost.id:e.locationId,i&&(Le[a]={},Object.keys(e).forEach(function(u){Le[a][u]=e[u]}),Le[a].locations=r,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return Le[a]},watch:{$data:{handler:function(f){o(f)},deep:!0}},render:f=>f(is)})}})),window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName&&Dt({id:l+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return window.aioseo.currentPost.local_seo.locations.business},watch:{$data:{handler:function(){o({updated:Date.now()})},deep:!0}},render:f=>f(null)})}});const c=at(rs,null,at(ls,{title:k("Display Settings",wt),initialOpen:!0},at("div",null,at("div",{id:l},null))));return t&&!e.locationId?at(fe,{},c,at("div",{},Et(k("Select a %1$s",wt),window.aioseo.localBusiness.postTypeSingleLabel))):at(fe,{},c,at("div",{className:s},at(cs,null,at(ds,{block:Po,attributes:{locationId:e.locationId?e.locationId:0,layout:e.layout,showLabels:e.showLabels,showIcons:e.showIcons,showName:e.showName,showAddress:e.showAddress,showPhone:e.showPhone,showFax:e.showFax,showCountryCode:e.showCountryCode,showEmail:e.showEmail,showVat:e.showVat,showTax:e.showTax,addressLabel:e.addressLabel,vatIdLabel:e.vatIdLabel,taxIdLabel:e.taxIdLabel,phoneLabel:e.phoneLabel,faxLabel:e.faxLabel,emailLabel:e.emailLabel,updated:e.updated,dataObject:window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?JSON.stringify(window.aioseo.currentPost.local_seo.locations.business):null}})),at("div",{},at("div",{id:l+"-watcher"},null))))}),save:function(){return null}},ps=Object.freeze(Object.defineProperty({__proto__:null,name:Po,settings:hs},Symbol.toStringTag,{value:"Module"}));var gs=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[t.locationsList.length&&!t.isLocationPostType()?e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationsList,value:t.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(s){return n.$root.$data.locationId=s.value}}})],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showTitle,callback:function(s){t.$set(t.$root.$data,"showTitle",s)},expression:"$root.$data.showTitle"}},[t._v(" "+t._s(t.strings.showTitle)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showIcons,callback:function(s){t.$set(t.$root.$data,"showIcons",s)},expression:"$root.$data.showIcons"}},[t._v(" "+t._s(t.strings.showIcons)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showMonday,callback:function(s){t.$set(t.$root.$data,"showMonday",s)},expression:"$root.$data.showMonday"}},[t._v(" "+t._s(t.strings.Monday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showTuesday,callback:function(s){t.$set(t.$root.$data,"showTuesday",s)},expression:"$root.$data.showTuesday"}},[t._v(" "+t._s(t.strings.Tuesday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showWednesday,callback:function(s){t.$set(t.$root.$data,"showWednesday",s)},expression:"$root.$data.showWednesday"}},[t._v(" "+t._s(t.strings.Wednesday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showThursday,callback:function(s){t.$set(t.$root.$data,"showThursday",s)},expression:"$root.$data.showThursday"}},[t._v(" "+t._s(t.strings.Thursday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showFriday,callback:function(s){t.$set(t.$root.$data,"showFriday",s)},expression:"$root.$data.showFriday"}},[t._v(" "+t._s(t.strings.Friday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showSaturday,callback:function(s){t.$set(t.$root.$data,"showSaturday",s)},expression:"$root.$data.showSaturday"}},[t._v(" "+t._s(t.strings.Saturday)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showSunday,callback:function(s){t.$set(t.$root.$data,"showSunday",s)},expression:"$root.$data.showSunday"}},[t._v(" "+t._s(t.strings.Sunday)+" ")])],1),t.$root.$data.showTitle?e("div",{staticClass:"sidebar-row labels"},[e("label",[t._v(t._s(t.strings.label))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.label,callback:function(s){t.$set(t.$root.$data,"label",s)},expression:"$root.$data.label"}})],1):t._e()])},vs=[];const ms={data(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showTitle:this.$t.__("Show Title",this.$td),showIcons:this.$t.__("Show Icons",this.$td),Monday:this.$t.__("Monday",this.$td),Tuesday:this.$t.__("Tuesday",this.$td),Wednesday:this.$t.__("Wednesday",this.$td),Thursday:this.$t.__("Thursday",this.$td),Friday:this.$t.__("Friday",this.$td),Saturday:this.$t.__("Saturday",this.$td),Sunday:this.$t.__("Sunday",this.$td),label:this.$t.__("Label",this.$td)}}},methods:{getLocationOptions(n){let t=this.locationsList.find(o=>o.value===n);return!t&&!this.isLocationPostType()&&(t=this.locationsList.find(o=>!!o),t&&(this.$root.$data.locationId=t.value)),t},isLocationPostType(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created(){this.$root._data.locations&&this.$root._data.locations.forEach(n=>{this.locationsList.push({value:n.id,label:n.title.rendered})})}},jn={};var bs=pt(ms,gs,vs,!1,ys,"5fc2a0b1",null,null);function ys(n){for(let t in jn)this[t]=jn[t]}const $s=function(){return bs.exports}(),jt=window.wp,st=jt.element.createElement,he=jt.element.Fragment;var So;const ws=((So=jt.blockEditor)==null?void 0:So.InspectorControls)||jt.editor.InspectorControls,xs=jt.components.PanelBody,Ss=jt.components.Disabled,_s=jt.serverSideRender||jt.components.ServerSideRender,Cs=jt.data.withSelect,Kt="all-in-one-seo-pack",Os=st("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},st("path",{d:"M9.99999 0.400024C15.304 0.400024 19.6 4.69602 19.6 10C19.6 15.304 15.304 19.6 9.99999 19.6C4.69599 19.6 0.399994 15.304 0.399994 10C0.399994 4.69602 4.69599 0.400024 9.99999 0.400024ZM9.99999 17.2C13.972 17.2 17.2 13.972 17.2 10C17.2 6.02802 13.972 2.80002 9.99999 2.80002C6.02799 2.80002 2.79999 6.02802 2.79999 10C2.79999 13.972 6.02799 17.2 9.99999 17.2ZM9.14799 10.852C9.23199 10.912 9.31599 10.972 9.42399 11.032L9.39999 11.056L14.8 13.6L11.164 9.77202L9.99999 4.00002L8.83599 9.77202H8.84799C8.84799 9.79602 8.83599 9.83202 8.82399 9.88002C8.81199 9.92802 8.79999 9.96402 8.79999 10C8.79999 10.336 8.91999 10.624 9.14799 10.852Z"})),De={},Mo="aioseo/openinghours",Is={title:k("AIOSEO Local - Opening Hours",Kt),category:"aioseo",icon:Os,example:{},attributes:{locationId:{type:"number",default:null},layout:{type:"string",default:"classic"},showTitle:{type:"boolean",default:!0},showIcons:{type:"boolean",default:!0},showMonday:{type:"boolean",default:!0},showTuesday:{type:"boolean",default:!0},showWednesday:{type:"boolean",default:!0},showThursday:{type:"boolean",default:!0},showFriday:{type:"boolean",default:!0},showSaturday:{type:"boolean",default:!0},showSunday:{type:"boolean",default:!0},label:{type:"string",default:k("Our Opening Hours:",Kt)},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},edit:Cs(function(n){return{locations:n("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100})}})(function(n){var d;const t=(d=window.aioseo.options.localBusiness)==null?void 0:d.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:i}=n;let{locations:r}=n;const l=`aioseo-${a}-settings`;if(t&&r===null)return st(he,{},st("div",{},k("Loading...",Kt)));if(r=r===null?[]:r,!t&&e.locationId)return st(he,{},st("div",{},k("Please enable multiple locations before using this block.",Kt)));if(t&&r.length===0)return st(he,{},st("div",{},Et(k("No %1$s found",Kt),window.aioseo.localBusiness.postTypePluralLabel)));e.locationId=!e.locationId&&window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?window.aioseo.currentPost.id:e.locationId,i&&(De[a]={},Object.keys(e).forEach(function(u){De[a][u]=e[u]}),De[a].locations=r,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return De[a]},watch:{$data:{handler:function(f){o(f)},deep:!0}},render:f=>f($s)})}})),window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName&&Dt({id:l+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return window.aioseo.currentPost.local_seo.openingHours},watch:{$data:{handler:function(){o({updated:Date.now()})},deep:!0}},render:f=>f(null)})}});const c=st(ws,null,st(xs,{title:k("Display Settings",Kt),initialOpen:!0},st("div",{},st("div",{id:l},null))));return t&&!e.locationId?st(he,{},c,st("div",{},Et(k("Select a %1$s",Kt),window.aioseo.localBusiness.postTypeSingleLabel))):st(he,{},c,st("div",{className:s},st(Ss,null,st(_s,{block:Mo,attributes:{locationId:e.locationId?e.locationId:0,layout:e.layout,showTitle:e.showTitle,showIcons:e.showIcons,showMonday:e.showMonday,showTuesday:e.showTuesday,showWednesday:e.showWednesday,showThursday:e.showThursday,showFriday:e.showFriday,showSaturday:e.showSaturday,showSunday:e.showSunday,label:e.label,updated:e.updated,dataObject:window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName?JSON.stringify(window.aioseo.currentPost.local_seo.openingHours):null}})),st("div",{},st("div",{id:l+"-watcher"},null))))}),save:function(){return null}},Es=Object.freeze(Object.defineProperty({__proto__:null,name:Mo,settings:Is},Symbol.toStringTag,{value:"Module"}));var Ts=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationCategories,value:t.getCategoryOptions(this.$root.$data.categoryId),"track-by":"value"},on:{input:function(s){return n.$root.$data.categoryId=s.value}}})],1)])},Ls=[];const Ds={data(){return{locationCategories:[],strings:{selectLocation:window.aioseo.localBusiness.taxonomySingleLabel}}},methods:{getCategoryOptions(n){let t=this.locationCategories.find(o=>o.value===n);return t||(t=this.locationCategories.find(o=>o.value===window.aioseo.currentPost.localBusinessCategory)||this.locationCategories.find(o=>!!o),t&&(this.$root.$data.categoryId=t.value)),t}},created(){this.$root.$data.categories&&this.$root.$data.categories.forEach(n=>{this.locationCategories.push({value:n.id,label:n.name})})}},Rn={};var As=pt(Ds,Ts,Ls,!1,Ps,null,null,null);function Ps(n){for(let t in Rn)this[t]=Rn[t]}const Ms=function(){return As.exports}(),Rt=window.wp,it=Rt.element.createElement,ne=Rt.element.Fragment;var _o;const Ns=((_o=Rt.blockEditor)==null?void 0:_o.InspectorControls)||Rt.editor.InspectorControls,ks=Rt.components.PanelBody,Bs=Rt.components.Disabled,js=Rt.serverSideRender||Rt.components.ServerSideRender,Rs=Rt.data.withSelect,oe="all-in-one-seo-pack",Hs=it("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},it("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),Ae={},No="aioseo/locations",Fs={title:k("AIOSEO Local - Locations",oe),category:"aioseo",icon:Hs,example:{},attributes:{categoryId:{type:"number",default:null}},edit:Rs(function(n){return{categories:n("core").getEntityRecords("taxonomy",window.aioseo.localBusiness.taxonomyName)}})(function(n){var d;const t=(d=window.aioseo.options.localBusiness)==null?void 0:d.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:i}=n;let{categories:r}=n;const l="aioseo-"+a;if(t&&r===null)return it(ne,{},it("div",{},k("Loading...",oe)));if(r=r===null?[]:r,!t)return it(ne,{},it("div",{},k("Please enable multiple locations before using this block.",oe)));if(r.length===0)return it(ne,{},it("div",{},Et(k("No %1$s found",oe),window.aioseo.localBusiness.taxonomyPluralLabel)));i&&(Ae[a]={},Object.keys(e).forEach(function(u){Ae[a][u]=e[u]}),Ae[a].categories=r,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(u){new Pt({el:u,data:function(){return Ae[a]},watch:{$data:{handler:function(f){o(f)},deep:!0}},render:f=>f(Ms)})}}));const c=it(Ns,null,it(ks,{title:window.aioseo.localBusiness.postTypePluralLabel,initialOpen:!0},it("div",{},it("div",{id:l},null))));return r!==null&&r.length===0?it(ne,{},it("div",{},Et(k("No %1$s found",oe),window.aioseo.localBusiness.taxonomyPluralLabel))):e.categoryId?it(ne,{},c,it("div",{className:s},it(Bs,null,it(js,{block:No,attributes:{categoryId:e.categoryId}})))):it(ne,{},c,it("div",{},Et(k("Select a %1$s",oe),window.aioseo.localBusiness.taxonomySingleLabel)))}),save:function(){return null}},Vs=Object.freeze(Object.defineProperty({__proto__:null,name:No,settings:Fs},Symbol.toStringTag,{value:"Module"})),ue=window.wp,St=ue.element.createElement,Pe=ue.element.Fragment,zs=ue.serverSideRender||ue.components.ServerSideRender,Us=ue.components.Disabled,Ws=ue.data.withSelect,Me="all-in-one-seo-pack",Gs=St("svg",{width:20,height:19,viewBox:"0 0 20 19",xmlns:"http://www.w3.org/2000/svg"},St("path",{d:"M17.2001 7.2L19.0361 9.036L17.7641 10.308L10.0001 2.544L2.23611 10.308L0.964111 9.036L10.0001 0L14.8001 4.8V2.4H17.2001V7.2ZM10.0001 4.248L17.2001 11.436V18.6H2.80011V11.436L10.0001 4.248ZM12.4001 17.4V11.4H7.60011V17.4H12.4001Z"})),ko="aioseo/locationcategories",Xs={title:k("AIOSEO Local - Location Categories",Me),category:"aioseo",icon:Gs,example:{},edit:Ws(function(n){return{categories:n("core").getEntityRecords("taxonomy",window.aioseo.localBusiness.taxonomyName)}})(function(n){var s;const t=(s=window.aioseo.options.localBusiness)==null?void 0:s.locations.general.multiple,{className:o}=n;let{categories:e}=n;return t&&e===null?St(Pe,{},St("div",{},k("Loading...",Me))):(e=e===null?[]:e,t?e.length===0?St(Pe,{},St("div",{},Et(k("No %1$s found",Me),window.aioseo.localBusiness.taxonomyPluralLabel))):St(Pe,{},St("div",{className:o},St(Us,null,St(zs,{block:ko})))):St(Pe,{},St("div",{},k("Please enable multiple locations before using this block.",Me))))}),save:function(){return null}},Ys=Object.freeze(Object.defineProperty({__proto__:null,name:ko,settings:Xs},Symbol.toStringTag,{value:"Module"}));var Zs=function(){var n=this,t=this,o=t.$createElement,e=t._self._c||o;return e("div",[t.locationsList.length&&!t.isLocationPostType()?e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.selectLocation))]),e("base-select",{attrs:{size:"medium",options:t.locationsList,value:t.getLocationOptions(this.$root.$data.locationId),"track-by":"value"},on:{input:function(s){return n.$root.$data.locationId=s.value}}})],1):t._e(),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showLabel,callback:function(s){t.$set(t.$root.$data,"showLabel",s)},expression:"$root.$data.showLabel"}},[t._v(" "+t._s(t.strings.showLabel)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("base-toggle",{model:{value:t.$root.$data.showIcon,callback:function(s){t.$set(t.$root.$data,"showIcon",s)},expression:"$root.$data.showIcon"}},[t._v(" "+t._s(t.strings.showIcon)+" ")])],1),e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.customMarker))]),e("div",{staticClass:"image-upload"},[e("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},model:{value:t.$root.$data.customMarker,callback:function(s){t.$set(t.$root.$data,"customMarker",s)},expression:"$root.$data.customMarker"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(s){t.openUploadModal("locationMapImage",function(a){return t.$root.$data.customMarker=a})}}},[e("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),t.$root.$data.customMarker?e("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(s){t.$root.$data.customMarker=null}}},[t._v(" "+t._s(t.strings.remove)+" ")]):t._e()],1),e("div",{staticClass:"aioseo-description",domProps:{innerHTML:t._s(t.strings.minimumSize)}}),e("base-img",{attrs:{src:t.$root.$data.customMarker}})],1),e("div",{staticClass:"sidebar-row"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.mapDisplay))])]),e("div",{staticClass:"sidebar-row dimensions"},[e("div",[e("label",[t._v(t._s(t.strings.width)+":")]),e("base-input",{model:{value:t.$root.$data.width,callback:function(s){t.$set(t.$root.$data,"width",s)},expression:"$root.$data.width"}})],1),e("div",[e("div",[e("label",[t._v(t._s(t.strings.height)+":")]),e("base-input",{model:{value:t.$root.$data.height,callback:function(s){t.$set(t.$root.$data,"height",s)},expression:"$root.$data.height"}})],1)])]),t.$root.$data.showLabel?e("div",{staticClass:"sidebar-row labels"},[e("p",{staticClass:"title"},[t._v(t._s(t.strings.label))]),e("base-input",{attrs:{size:"small"},model:{value:t.$root.$data.label,callback:function(s){t.$set(t.$root.$data,"label",s)},expression:"$root.$data.label"}})],1):t._e()])},Ks=[];const Qs={components:{BaseImg:pa,SvgCirclePlus:ga},mixins:[ha],data(){return{locationsList:[],strings:{selectLocation:window.aioseo.localBusiness.postTypeSingleLabel,showLabel:this.$t.__("Show label",this.$td),showIcon:this.$t.__("Show icon",this.$td),businessInfo:this.$t.__("Business Info",this.$td),mapDisplay:this.$t.__("Map Display",this.$td),width:this.$t.__("Width",this.$td),height:this.$t.__("Height",this.$td),customMarker:this.$t.__("Custom Marker",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.sprintf(this.$t.__("%1$sThe custom marker should be: 100x100 px.%2$s If the image exceeds those dimensions it could (partially) cover the info popup.",this.$td),"<strong>","</strong>"),remove:this.$t.__("Remove",this.$td),label:this.$t.__("Label",this.$td)}}},methods:{getLocationOptions(n){let t=this.locationsList.find(o=>o.value===n);return!t&&!this.isLocationPostType()&&(t=this.locationsList.find(o=>!!o),t&&(this.$root.$data.locationId=t.value)),t},isLocationPostType(){return window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName}},created(){this.$root.$data.locations&&this.$root.$data.locations.forEach(n=>{this.locationsList.push({value:n.id,label:n.title.rendered})})}},Hn={};var Js=pt(Qs,Zs,Ks,!1,qs,"40af2160",null,null);function qs(n){for(let t in Hn)this[t]=Hn[t]}const ti=function(){return Js.exports}();function ei(n){let t;try{t=new URL(n,"http://example.com").search.substring(1)}catch{}if(t)return t}function ni(n){let t="";const o=Object.entries(n);let e;for(;e=o.shift();){let[s,a]=e;if(Array.isArray(a)||a&&a.constructor===Object){const r=Object.entries(a).reverse();for(const[l,c]of r)o.unshift([`${s}[${l}]`,c])}else a!==void 0&&(a===null&&(a=""),t+="&"+[s,a].map(encodeURIComponent).join("="))}return t.substr(1)}function oi(n,t,o){const e=t.length,s=e-1;for(let a=0;a<e;a++){let i=t[a];!i&&Array.isArray(n)&&(i=n.length.toString()),i=["__proto__","constructor","prototype"].includes(i)?i.toUpperCase():i;const r=!isNaN(Number(t[a+1]));n[i]=a===s?o:n[i]||(r?[]:{}),Array.isArray(n[i])&&!r&&(n[i]={...n[i]}),n=n[i]}}function ai(n){return(ei(n)||"").replace(/\+/g,"%20").split("&").reduce((t,o)=>{const[e,s=""]=o.split("=").filter(Boolean).map(decodeURIComponent);if(e){const a=e.replace(/\]/g,"").split("[");oi(t,a,s)}return t},Object.create(null))}function si(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return n;let o=n;const e=n.indexOf("?");return e!==-1&&(t=Object.assign(ai(n),t),o=o.substr(0,e)),o+"?"+ni(t)}const Ht=window.wp,K=Ht.element.createElement,ae=Ht.element.Fragment;var Co;const ii=((Co=Ht.blockEditor)==null?void 0:Co.InspectorControls)||Ht.editor.InspectorControls,ri=Ht.components.PanelBody,li=Ht.components.Disabled,ci=Ht.serverSideRender||Ht.components.ServerSideRender,di=Ht.data.withSelect,Vt="all-in-one-seo-pack",ui=K("svg",{width:20,height:20,viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},K("path",{d:"M11 11.14L9.83 5.2C9.04 4.77 8.5 3.95 8.5 3C8.5 1.62 9.62 0.499999 11 0.499999C12.38 0.499999 13.5 1.62 13.5 3C13.5 3.95 12.96 4.77 12.17 5.2L11 11.14ZM11 1.5C10.17 1.5 9.5 2.17 9.5 3C9.5 3.83 10.17 4.5 11 4.5C11.83 4.5 12.5 3.83 12.5 3C12.5 2.17 11.83 1.5 11 1.5ZM12.72 6.3L11 13.68L9.27 6.38L5 4.97L2.98023e-08 6.97V15.97L5 13.97L11.12 16L16 13.97V4.97L12.72 6.3Z"})),Ne={},fi="aioseo/locationmap",hi={title:k("AIOSEO Local - Map",Vt),category:"aioseo",icon:ui,example:{},attributes:{locationId:{type:"number",default:null},showLabel:{type:"boolean",default:!0},showIcon:{type:"boolean",default:!0},customMarker:{type:"string",default:null},width:{type:"string",default:"100%"},height:{type:"string",default:"450px"},label:{type:"string",default:k("Our location:",Vt)},dataObject:{type:"string",default:null},updated:{type:"string",default:Date.now()}},edit:di(function(n){return{locations:n("core").getEntityRecords("postType",window.aioseo.localBusiness.postTypeName,{per_page:100})}})(function(n){var p;const t=(p=window.aioseo.options.localBusiness)==null?void 0:p.locations.general.multiple,{setAttributes:o,attributes:e,className:s,clientId:a,isSelected:i}=n;let{locations:r}=n;const l="aioseo-location-map-"+a;if(t&&r===null)return K(ae,{},K("div",{},k("Loading...",Vt)));if(r=r===null?[]:r,!t&&e.locationId)return K(ae,{},K("div",{},k("Please enable multiple locations before using this block.",Vt)));if(t&&r.length===0)return K(ae,{},K("div",{},Et(k("No %1$s found",Vt),window.aioseo.localBusiness.postTypePluralLabel)));const c=window.aioseo.currentPost.postType===window.aioseo.localBusiness.postTypeName;e.locationId=!e.locationId&&c?window.aioseo.currentPost.id:e.locationId;const d=r.find(h=>h.id===e.locationId),u=c?window.aioseo.currentPost.local_seo.maps:d?d.maps:null;i&&(Ne[a]={},Object.keys(e).forEach(function(h){Ne[a][h]=e[h]}),Ne[a].locations=r,Dt({id:l,parent:document.querySelector(".block-editor"),subtree:!0,done:function(h){new Pt({el:h,data:function(){return Ne[a]},watch:{$data:{handler:function(y){o(y)},deep:!0}},render:y=>y(ti)})}})),c&&Dt({id:l+"-watcher",parent:document.querySelector(".block-editor"),subtree:!0,done:function(h){new Pt({el:h,data:function(){return window.aioseo.currentPost.local_seo.maps},watch:{$data:{handler:function(){o({updated:Date.now()})},deep:!0}},render:y=>y(null)})}});const f=K(ii,null,K(ri,{title:k("Settings",Vt),initialOpen:!0},K("div",null,K("div",{id:l},null))));if(t){if(!e.locationId)return K(ae,{},f,K("div",{},Et(k("Select a %1$s",Vt),window.aioseo.localBusiness.postTypeSingleLabel)));if(!u){const h=si("post.php",{post:e.locationId,action:"edit"});return K(ae,{},f,K("div",{dangerouslySetInnerHTML:{__html:Et(k("Please configure the map for this location: %1$s",Vt),'<a href="'+h+'" target="_blank">'+d.title.rendered+"</a>")}}))}}const v="#"+l+"-preview .aioseo-local-map";return Dt({selector:v,parent:document.querySelector(".block-editor"),subtree:!0,done:function(){const h=u||window.aioseo.options.localBusiness.maps;setTimeout(function(){document.dispatchEvent(new CustomEvent(window.aioseo.localBusiness.mapLoadEvent,{detail:{element:v,mapOptions:h.mapOptions,customMarker:e.customMarker||h.customMarker||window.aioseo.options.localBusiness.maps.customMarker,instance:e,placeId:window.aioseo.options.localBusiness.maps.mapsEmbedApiEnabled?h.placeId:null,infoWindowContent:h.infoWindowContent?h.infoWindowContent:null}}))},2e3)}}),K(ae,{},f,K("div",{className:s,id:l+"-preview"},K(li,null,K(ci,{block:"aioseo/locationmap",attributes:{locationId:e.locationId?e.locationId:0,showLabel:e.showLabel,showIcon:e.showIcon,customMarker:e.customMarker,width:e.width,height:e.height,label:e.label,updated:e.updated,dataObject:c?JSON.stringify(window.aioseo.currentPost.local_seo.maps):null}})),K("div",{},K("div",{id:l+"-watcher"},null))))}),save:function(){return null}},pi=Object.freeze(Object.defineProperty({__proto__:null,name:fi,settings:hi},Symbol.toStringTag,{value:"Module"})),gi="https://schemas.wp.org/wp/5.8/block.json",vi="aioseo/table-of-contents",mi="1.0.0",bi="AIOSEO - Table of Contents",yi="Automatically output a table of contents (TOC) for long posts or pages (and custom post types).",$i="layout",wi=["toc","table of contents","document outline","summary","index"],xi="all-in-one-seo-pack",Si={listStyle:{type:"string",default:"ul"},headings:{type:"array",items:{type:"object"},default:[]},reOrdered:{type:"boolean",default:!1}},_i={multiple:!1,html:!1,align:["wide","full"]},Bo={$schema:gi,name:vi,version:mi,title:bi,description:yi,category:$i,keywords:wi,textdomain:xi,attributes:Si,supports:_i},Ci={blockClientId:null,headings:[],listStyle:"ul",reOrdered:!1},Oi={setHeadings(n,t){n.headings=t}};Pt.use(Eo);const bt=new Eo.Store({state:Ci,mutations:Oi});var Ii=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-info",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z",fill:"currentColor"}})])},Ei=[];const Ti={},Fn={};var Li=pt(Ti,Ii,Ei,!1,Di,null,null,null);function Di(n){for(let t in Fn)this[t]=Fn[t]}const jo=function(){return Li.exports}();var Ai=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-drag",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M11 18c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zm-2-8c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm6 4c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",fill:"currentColor"}})])},Pi=[];const Mi={},Vn={};var Ni=pt(Mi,Ai,Pi,!1,ki,null,null,null);function ki(n){for(let t in Vn)this[t]=Vn[t]}const Bi=function(){return Ni.exports}();var Ro={exports:{}};/**!
|
2 |
-
* Sortable 1.10.2
|
3 |
-
* @author RubaXa <trash@rubaxa.org>
|
4 |
-
* @author owenm <owen23355@gmail.com>
|
5 |
-
* @license MIT
|
6 |
-
*/function Ue(n){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ue=function(t){return typeof t}:Ue=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ue(n)}function ji(n,t,o){return t in n?Object.defineProperty(n,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[t]=o,n}function _t(){return _t=Object.assign||function(n){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var e in o)Object.prototype.hasOwnProperty.call(o,e)&&(n[e]=o[e])}return n},_t.apply(this,arguments)}function Zt(n){for(var t=1;t<arguments.length;t++){var o=arguments[t]!=null?arguments[t]:{},e=Object.keys(o);typeof Object.getOwnPropertySymbols=="function"&&(e=e.concat(Object.getOwnPropertySymbols(o).filter(function(s){return Object.getOwnPropertyDescriptor(o,s).enumerable}))),e.forEach(function(s){ji(n,s,o[s])})}return n}function Ri(n,t){if(n==null)return{};var o={},e=Object.keys(n),s,a;for(a=0;a<e.length;a++)s=e[a],!(t.indexOf(s)>=0)&&(o[s]=n[s]);return o}function Hi(n,t){if(n==null)return{};var o=Ri(n,t),e,s;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(s=0;s<a.length;s++)e=a[s],!(t.indexOf(e)>=0)&&(!Object.prototype.propertyIsEnumerable.call(n,e)||(o[e]=n[e]))}return o}function Fi(n){return Vi(n)||zi(n)||Ui()}function Vi(n){if(Array.isArray(n)){for(var t=0,o=new Array(n.length);t<n.length;t++)o[t]=n[t];return o}}function zi(n){if(Symbol.iterator in Object(n)||Object.prototype.toString.call(n)==="[object Arguments]")return Array.from(n)}function Ui(){throw new TypeError("Invalid attempt to spread non-iterable instance")}var Wi="1.10.2";function kt(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var Ft=kt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ie=kt(/Edge/i),zn=kt(/firefox/i),yn=kt(/safari/i)&&!kt(/chrome/i)&&!kt(/android/i),Ho=kt(/iP(ad|od|hone)/i),Gi=kt(/chrome/i)&&kt(/android/i),Fo={capture:!1,passive:!1};function R(n,t,o){n.addEventListener(t,o,!Ft&&Fo)}function j(n,t,o){n.removeEventListener(t,o,!Ft&&Fo)}function Ke(n,t){if(!!t){if(t[0]===">"&&(t=t.substring(1)),n)try{if(n.matches)return n.matches(t);if(n.msMatchesSelector)return n.msMatchesSelector(t);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(t)}catch{return!1}return!1}}function Xi(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function It(n,t,o,e){if(n){o=o||document;do{if(t!=null&&(t[0]===">"?n.parentNode===o&&Ke(n,t):Ke(n,t))||e&&n===o)return n;if(n===o)break}while(n=Xi(n))}return null}var Un=/\s+/g;function Y(n,t,o){if(n&&t)if(n.classList)n.classList[o?"add":"remove"](t);else{var e=(" "+n.className+" ").replace(Un," ").replace(" "+t+" "," ");n.className=(e+(o?" "+t:"")).replace(Un," ")}}function w(n,t,o){var e=n&&n.style;if(e){if(o===void 0)return document.defaultView&&document.defaultView.getComputedStyle?o=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(o=n.currentStyle),t===void 0?o:o[t];!(t in e)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),e[t]=o+(typeof o=="string"?"":"px")}}function te(n,t){var o="";if(typeof n=="string")o=n;else do{var e=w(n,"transform");e&&e!=="none"&&(o=e+" "+o)}while(!t&&(n=n.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(o)}function Vo(n,t,o){if(n){var e=n.getElementsByTagName(t),s=0,a=e.length;if(o)for(;s<a;s++)o(e[s],s);return e}return[]}function At(){var n=document.scrollingElement;return n||document.documentElement}function q(n,t,o,e,s){if(!(!n.getBoundingClientRect&&n!==window)){var a,i,r,l,c,d,u;if(n!==window&&n!==At()?(a=n.getBoundingClientRect(),i=a.top,r=a.left,l=a.bottom,c=a.right,d=a.height,u=a.width):(i=0,r=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,u=window.innerWidth),(t||o)&&n!==window&&(s=s||n.parentNode,!Ft))do if(s&&s.getBoundingClientRect&&(w(s,"transform")!=="none"||o&&w(s,"position")!=="static")){var f=s.getBoundingClientRect();i-=f.top+parseInt(w(s,"border-top-width")),r-=f.left+parseInt(w(s,"border-left-width")),l=i+a.height,c=r+a.width;break}while(s=s.parentNode);if(e&&n!==window){var v=te(s||n),p=v&&v.a,h=v&&v.d;v&&(i/=h,r/=p,u/=p,d/=h,l=i+d,c=r+u)}return{top:i,left:r,bottom:l,right:c,width:u,height:d}}}function Wn(n,t,o){for(var e=Gt(n,!0),s=q(n)[t];e;){var a=q(e)[o],i=void 0;if(o==="top"||o==="left"?i=s>=a:i=s<=a,!i)return e;if(e===At())break;e=Gt(e,!1)}return!1}function Qe(n,t,o){for(var e=0,s=0,a=n.children;s<a.length;){if(a[s].style.display!=="none"&&a[s]!==D.ghost&&a[s]!==D.dragged&&It(a[s],o.draggable,n,!1)){if(e===t)return a[s];e++}s++}return null}function In(n,t){for(var o=n.lastElementChild;o&&(o===D.ghost||w(o,"display")==="none"||t&&!Ke(o,t));)o=o.previousElementSibling;return o||null}function J(n,t){var o=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==D.clone&&(!t||Ke(n,t))&&o++;return o}function Gn(n){var t=0,o=0,e=At();if(n)do{var s=te(n),a=s.a,i=s.d;t+=n.scrollLeft*a,o+=n.scrollTop*i}while(n!==e&&(n=n.parentNode));return[t,o]}function Yi(n,t){for(var o in n)if(!!n.hasOwnProperty(o)){for(var e in t)if(t.hasOwnProperty(e)&&t[e]===n[o][e])return Number(o)}return-1}function Gt(n,t){if(!n||!n.getBoundingClientRect)return At();var o=n,e=!1;do if(o.clientWidth<o.scrollWidth||o.clientHeight<o.scrollHeight){var s=w(o);if(o.clientWidth<o.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||o.clientHeight<o.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!o.getBoundingClientRect||o===document.body)return At();if(e||t)return o;e=!0}}while(o=o.parentNode);return At()}function Zi(n,t){if(n&&t)for(var o in t)t.hasOwnProperty(o)&&(n[o]=t[o]);return n}function rn(n,t){return Math.round(n.top)===Math.round(t.top)&&Math.round(n.left)===Math.round(t.left)&&Math.round(n.height)===Math.round(t.height)&&Math.round(n.width)===Math.round(t.width)}var xe;function zo(n,t){return function(){if(!xe){var o=arguments,e=this;o.length===1?n.call(e,o[0]):n.apply(e,o),xe=setTimeout(function(){xe=void 0},t)}}}function Ki(){clearTimeout(xe),xe=void 0}function Uo(n,t,o){n.scrollLeft+=t,n.scrollTop+=o}function En(n){var t=window.Polymer,o=window.jQuery||window.Zepto;return t&&t.dom?t.dom(n).cloneNode(!0):o?o(n).clone(!0)[0]:n.cloneNode(!0)}function Xn(n,t){w(n,"position","absolute"),w(n,"top",t.top),w(n,"left",t.left),w(n,"width",t.width),w(n,"height",t.height)}function ln(n){w(n,"position",""),w(n,"top",""),w(n,"left",""),w(n,"width",""),w(n,"height","")}var ft="Sortable"+new Date().getTime();function Qi(){var n=[],t;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var e=[].slice.call(this.el.children);e.forEach(function(s){if(!(w(s,"display")==="none"||s===D.ghost)){n.push({target:s,rect:q(s)});var a=Zt({},n[n.length-1].rect);if(s.thisAnimationDuration){var i=te(s,!0);i&&(a.top-=i.f,a.left-=i.e)}s.fromRect=a}})}},addAnimationState:function(e){n.push(e)},removeAnimationState:function(e){n.splice(Yi(n,{target:e}),1)},animateAll:function(e){var s=this;if(!this.options.animation){clearTimeout(t),typeof e=="function"&&e();return}var a=!1,i=0;n.forEach(function(r){var l=0,c=r.target,d=c.fromRect,u=q(c),f=c.prevFromRect,v=c.prevToRect,p=r.rect,h=te(c,!0);h&&(u.top-=h.f,u.left-=h.e),c.toRect=u,c.thisAnimationDuration&&rn(f,u)&&!rn(d,u)&&(p.top-u.top)/(p.left-u.left)===(d.top-u.top)/(d.left-u.left)&&(l=qi(p,f,v,s.options)),rn(u,d)||(c.prevFromRect=d,c.prevToRect=u,l||(l=s.options.animation),s.animate(c,p,u,l)),l&&(a=!0,i=Math.max(i,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),a?t=setTimeout(function(){typeof e=="function"&&e()},i):typeof e=="function"&&e(),n=[]},animate:function(e,s,a,i){if(i){w(e,"transition",""),w(e,"transform","");var r=te(this.el),l=r&&r.a,c=r&&r.d,d=(s.left-a.left)/(l||1),u=(s.top-a.top)/(c||1);e.animatingX=!!d,e.animatingY=!!u,w(e,"transform","translate3d("+d+"px,"+u+"px,0)"),Ji(e),w(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),w(e,"transform","translate3d(0,0,0)"),typeof e.animated=="number"&&clearTimeout(e.animated),e.animated=setTimeout(function(){w(e,"transition",""),w(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},i)}}}}function Ji(n){return n.offsetWidth}function qi(n,t,o,e){return Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))/Math.sqrt(Math.pow(t.top-o.top,2)+Math.pow(t.left-o.left,2))*e.animation}var pe=[],cn={initializeByDefault:!0},Ee={mount:function(t){for(var o in cn)cn.hasOwnProperty(o)&&!(o in t)&&(t[o]=cn[o]);pe.push(t)},pluginEvent:function(t,o,e){var s=this;this.eventCanceled=!1,e.cancel=function(){s.eventCanceled=!0};var a=t+"Global";pe.forEach(function(i){!o[i.pluginName]||(o[i.pluginName][a]&&o[i.pluginName][a](Zt({sortable:o},e)),o.options[i.pluginName]&&o[i.pluginName][t]&&o[i.pluginName][t](Zt({sortable:o},e)))})},initializePlugins:function(t,o,e,s){pe.forEach(function(r){var l=r.pluginName;if(!(!t.options[l]&&!r.initializeByDefault)){var c=new r(t,o,t.options);c.sortable=t,c.options=t.options,t[l]=c,_t(e,c.defaults)}});for(var a in t.options)if(!!t.options.hasOwnProperty(a)){var i=this.modifyOption(t,a,t.options[a]);typeof i<"u"&&(t.options[a]=i)}},getEventProperties:function(t,o){var e={};return pe.forEach(function(s){typeof s.eventProperties=="function"&&_t(e,s.eventProperties.call(o[s.pluginName],t))}),e},modifyOption:function(t,o,e){var s;return pe.forEach(function(a){!t[a.pluginName]||a.optionListeners&&typeof a.optionListeners[o]=="function"&&(s=a.optionListeners[o].call(t[a.pluginName],e))}),s}};function be(n){var t=n.sortable,o=n.rootEl,e=n.name,s=n.targetEl,a=n.cloneEl,i=n.toEl,r=n.fromEl,l=n.oldIndex,c=n.newIndex,d=n.oldDraggableIndex,u=n.newDraggableIndex,f=n.originalEvent,v=n.putSortable,p=n.extraEventProperties;if(t=t||o&&o[ft],!!t){var h,y=t.options,I="on"+e.charAt(0).toUpperCase()+e.substr(1);window.CustomEvent&&!Ft&&!Ie?h=new CustomEvent(e,{bubbles:!0,cancelable:!0}):(h=document.createEvent("Event"),h.initEvent(e,!0,!0)),h.to=i||o,h.from=r||o,h.item=s||o,h.clone=a,h.oldIndex=l,h.newIndex=c,h.oldDraggableIndex=d,h.newDraggableIndex=u,h.originalEvent=f,h.pullMode=v?v.lastPutMode:void 0;var E=Zt({},p,Ee.getEventProperties(e,t));for(var x in E)h[x]=E[x];o&&o.dispatchEvent(h),y[I]&&y[I].call(t,h)}}var gt=function(t,o){var e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=e.evt,a=Hi(e,["evt"]);Ee.pluginEvent.bind(D)(t,o,Zt({dragEl:$,parentEl:ot,ghostEl:M,rootEl:X,nextEl:qt,lastDownEl:We,cloneEl:Q,cloneHidden:Ut,dragStarted:ye,putSortable:ct,activeSortable:D.active,originalEvent:s,oldIndex:de,oldDraggableIndex:Se,newIndex:$t,newDraggableIndex:zt,hideGhostForTarget:Yo,unhideGhostForTarget:Zo,cloneNowHidden:function(){Ut=!0},cloneNowShown:function(){Ut=!1},dispatchSortableEvent:function(r){ht({sortable:o,name:r,originalEvent:s})}},a))};function ht(n){be(Zt({putSortable:ct,cloneEl:Q,targetEl:$,rootEl:X,oldIndex:de,oldDraggableIndex:Se,newIndex:$t,newDraggableIndex:zt},n))}var $,ot,M,X,qt,We,Q,Ut,de,$t,Se,zt,ke,ct,le=!1,Je=!1,qe=[],Qt,Ct,dn,un,Yn,Zn,ye,se,_e,Ce=!1,Be=!1,Ge,ut,fn=[],$n=!1,tn=[],on=typeof document<"u",je=Ho,Kn=Ie||Ft?"cssFloat":"float",tr=on&&!Gi&&!Ho&&"draggable"in document.createElement("div"),Wo=function(){if(!!on){if(Ft)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),Go=function(t,o){var e=w(t),s=parseInt(e.width)-parseInt(e.paddingLeft)-parseInt(e.paddingRight)-parseInt(e.borderLeftWidth)-parseInt(e.borderRightWidth),a=Qe(t,0,o),i=Qe(t,1,o),r=a&&w(a),l=i&&w(i),c=r&&parseInt(r.marginLeft)+parseInt(r.marginRight)+q(a).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+q(i).width;if(e.display==="flex")return e.flexDirection==="column"||e.flexDirection==="column-reverse"?"vertical":"horizontal";if(e.display==="grid")return e.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(a&&r.float&&r.float!=="none"){var u=r.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===u)?"vertical":"horizontal"}return a&&(r.display==="block"||r.display==="flex"||r.display==="table"||r.display==="grid"||c>=s&&e[Kn]==="none"||i&&e[Kn]==="none"&&c+d>s)?"vertical":"horizontal"},er=function(t,o,e){var s=e?t.left:t.top,a=e?t.right:t.bottom,i=e?t.width:t.height,r=e?o.left:o.top,l=e?o.right:o.bottom,c=e?o.width:o.height;return s===r||a===l||s+i/2===r+c/2},nr=function(t,o){var e;return qe.some(function(s){if(!In(s)){var a=q(s),i=s[ft].options.emptyInsertThreshold,r=t>=a.left-i&&t<=a.right+i,l=o>=a.top-i&&o<=a.bottom+i;if(i&&r&&l)return e=s}}),e},Xo=function(t){function o(a,i){return function(r,l,c,d){var u=r.options.group.name&&l.options.group.name&&r.options.group.name===l.options.group.name;if(a==null&&(i||u))return!0;if(a==null||a===!1)return!1;if(i&&a==="clone")return a;if(typeof a=="function")return o(a(r,l,c,d),i)(r,l,c,d);var f=(i?r:l).options.group.name;return a===!0||typeof a=="string"&&a===f||a.join&&a.indexOf(f)>-1}}var e={},s=t.group;(!s||Ue(s)!="object")&&(s={name:s}),e.name=s.name,e.checkPull=o(s.pull,!0),e.checkPut=o(s.put),e.revertClone=s.revertClone,t.group=e},Yo=function(){!Wo&&M&&w(M,"display","none")},Zo=function(){!Wo&&M&&w(M,"display","")};on&&document.addEventListener("click",function(n){if(Je)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),Je=!1,!1},!0);var Jt=function(t){if($){t=t.touches?t.touches[0]:t;var o=nr(t.clientX,t.clientY);if(o){var e={};for(var s in t)t.hasOwnProperty(s)&&(e[s]=t[s]);e.target=e.rootEl=o,e.preventDefault=void 0,e.stopPropagation=void 0,o[ft]._onDragOver(e)}}},or=function(t){$&&$.parentNode[ft]._isOutsideThisEl(t.target)};function D(n,t){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=t=_t({},t),n[ft]=this;var o={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Go(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,r){i.setData("Text",r.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:D.supportPointer!==!1&&"PointerEvent"in window,emptyInsertThreshold:5};Ee.initializePlugins(this,n,o);for(var e in o)!(e in t)&&(t[e]=o[e]);Xo(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:tr,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?R(n,"pointerdown",this._onTapStart):(R(n,"mousedown",this._onTapStart),R(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(R(n,"dragover",this),R(n,"dragenter",this)),qe.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),_t(this,Qi())}D.prototype={constructor:D,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(se=null)},_getDirection:function(t,o){return typeof this.options.direction=="function"?this.options.direction.call(this,t,o,$):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var o=this,e=this.el,s=this.options,a=s.preventOnFilter,i=t.type,r=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(r||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=s.filter;if(dr(e),!$&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&(l=It(l,s.draggable,e,!1),!(l&&l.animated)&&We!==l)){if(de=J(l),Se=J(l,s.draggable),typeof d=="function"){if(d.call(this,t,l,this)){ht({sortable:o,rootEl:c,name:"filter",targetEl:l,toEl:e,fromEl:e}),gt("filter",o,{evt:t}),a&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(u){if(u=It(c,u.trim(),e,!1),u)return ht({sortable:o,rootEl:u,name:"filter",targetEl:l,fromEl:e,toEl:e}),gt("filter",o,{evt:t}),!0}),d)){a&&t.cancelable&&t.preventDefault();return}s.handle&&!It(c,s.handle,e,!1)||this._prepareDragStart(t,r,l)}}},_prepareDragStart:function(t,o,e){var s=this,a=s.el,i=s.options,r=a.ownerDocument,l;if(e&&!$&&e.parentNode===a){var c=q(e);if(X=a,$=e,ot=$.parentNode,qt=$.nextSibling,We=e,ke=i.group,D.dragged=$,Qt={target:$,clientX:(o||t).clientX,clientY:(o||t).clientY},Yn=Qt.clientX-c.left,Zn=Qt.clientY-c.top,this._lastX=(o||t).clientX,this._lastY=(o||t).clientY,$.style["will-change"]="all",l=function(){if(gt("delayEnded",s,{evt:t}),D.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!zn&&s.nativeDraggable&&($.draggable=!0),s._triggerDragStart(t,o),ht({sortable:s,name:"choose",originalEvent:t}),Y($,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){Vo($,d.trim(),pn)}),R(r,"dragover",Jt),R(r,"mousemove",Jt),R(r,"touchmove",Jt),R(r,"mouseup",s._onDrop),R(r,"touchend",s._onDrop),R(r,"touchcancel",s._onDrop),zn&&this.nativeDraggable&&(this.options.touchStartThreshold=4,$.draggable=!0),gt("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||o)&&(!this.nativeDraggable||!(Ie||Ft))){if(D.eventCanceled){this._onDrop();return}R(r,"mouseup",s._disableDelayedDrag),R(r,"touchend",s._disableDelayedDrag),R(r,"touchcancel",s._disableDelayedDrag),R(r,"mousemove",s._delayedDragTouchMoveHandler),R(r,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&&R(r,"pointermove",s._delayedDragTouchMoveHandler),s._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var o=t.touches?t.touches[0]:t;Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){$&&pn($),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;j(t,"mouseup",this._disableDelayedDrag),j(t,"touchend",this._disableDelayedDrag),j(t,"touchcancel",this._disableDelayedDrag),j(t,"mousemove",this._delayedDragTouchMoveHandler),j(t,"touchmove",this._delayedDragTouchMoveHandler),j(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,o){o=o||t.pointerType=="touch"&&t,!this.nativeDraggable||o?this.options.supportPointer?R(document,"pointermove",this._onTouchMove):o?R(document,"touchmove",this._onTouchMove):R(document,"mousemove",this._onTouchMove):(R($,"dragend",this),R(X,"dragstart",this._onDragStart));try{document.selection?Xe(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,o){if(le=!1,X&&$){gt("dragStarted",this,{evt:o}),this.nativeDraggable&&R(document,"dragover",or);var e=this.options;!t&&Y($,e.dragClass,!1),Y($,e.ghostClass,!0),D.active=this,t&&this._appendGhost(),ht({sortable:this,name:"start",originalEvent:o})}else this._nulling()},_emulateDragOver:function(){if(Ct){this._lastX=Ct.clientX,this._lastY=Ct.clientY,Yo();for(var t=document.elementFromPoint(Ct.clientX,Ct.clientY),o=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Ct.clientX,Ct.clientY),t!==o);)o=t;if($.parentNode[ft]._isOutsideThisEl(t),o)do{if(o[ft]){var e=void 0;if(e=o[ft]._onDragOver({clientX:Ct.clientX,clientY:Ct.clientY,target:t,rootEl:o}),e&&!this.options.dragoverBubble)break}t=o}while(o=o.parentNode);Zo()}},_onTouchMove:function(t){if(Qt){var o=this.options,e=o.fallbackTolerance,s=o.fallbackOffset,a=t.touches?t.touches[0]:t,i=M&&te(M,!0),r=M&&i&&i.a,l=M&&i&&i.d,c=je&&ut&&Gn(ut),d=(a.clientX-Qt.clientX+s.x)/(r||1)+(c?c[0]-fn[0]:0)/(r||1),u=(a.clientY-Qt.clientY+s.y)/(l||1)+(c?c[1]-fn[1]:0)/(l||1);if(!D.active&&!le){if(e&&Math.max(Math.abs(a.clientX-this._lastX),Math.abs(a.clientY-this._lastY))<e)return;this._onDragStart(t,!0)}if(M){i?(i.e+=d-(dn||0),i.f+=u-(un||0)):i={a:1,b:0,c:0,d:1,e:d,f:u};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");w(M,"webkitTransform",f),w(M,"mozTransform",f),w(M,"msTransform",f),w(M,"transform",f),dn=d,un=u,Ct=a}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!M){var t=this.options.fallbackOnBody?document.body:X,o=q($,!0,je,!0,t),e=this.options;if(je){for(ut=t;w(ut,"position")==="static"&&w(ut,"transform")==="none"&&ut!==document;)ut=ut.parentNode;ut!==document.body&&ut!==document.documentElement?(ut===document&&(ut=At()),o.top+=ut.scrollTop,o.left+=ut.scrollLeft):ut=At(),fn=Gn(ut)}M=$.cloneNode(!0),Y(M,e.ghostClass,!1),Y(M,e.fallbackClass,!0),Y(M,e.dragClass,!0),w(M,"transition",""),w(M,"transform",""),w(M,"box-sizing","border-box"),w(M,"margin",0),w(M,"top",o.top),w(M,"left",o.left),w(M,"width",o.width),w(M,"height",o.height),w(M,"opacity","0.8"),w(M,"position",je?"absolute":"fixed"),w(M,"zIndex","100000"),w(M,"pointerEvents","none"),D.ghost=M,t.appendChild(M),w(M,"transform-origin",Yn/parseInt(M.style.width)*100+"% "+Zn/parseInt(M.style.height)*100+"%")}},_onDragStart:function(t,o){var e=this,s=t.dataTransfer,a=e.options;if(gt("dragStart",this,{evt:t}),D.eventCanceled){this._onDrop();return}gt("setupClone",this),D.eventCanceled||(Q=En($),Q.draggable=!1,Q.style["will-change"]="",this._hideClone(),Y(Q,this.options.chosenClass,!1),D.clone=Q),e.cloneId=Xe(function(){gt("clone",e),!D.eventCanceled&&(e.options.removeCloneOnHide||X.insertBefore(Q,$),e._hideClone(),ht({sortable:e,name:"clone"}))}),!o&&Y($,a.dragClass,!0),o?(Je=!0,e._loopId=setInterval(e._emulateDragOver,50)):(j(document,"mouseup",e._onDrop),j(document,"touchend",e._onDrop),j(document,"touchcancel",e._onDrop),s&&(s.effectAllowed="move",a.setData&&a.setData.call(e,s,$)),R(document,"drop",e),w($,"transform","translateZ(0)")),le=!0,e._dragStartId=Xe(e._dragStarted.bind(e,o,t)),R(document,"selectstart",e),ye=!0,yn&&w(document.body,"user-select","none")},_onDragOver:function(t){var o=this.el,e=t.target,s,a,i,r=this.options,l=r.group,c=D.active,d=ke===l,u=r.sort,f=ct||c,v,p=this,h=!1;if($n)return;function y(G,vt){gt(G,p,Zt({evt:t,isOwner:d,axis:v?"vertical":"horizontal",revert:i,dragRect:s,targetRect:a,canSort:u,fromSortable:f,target:e,completed:E,onMove:function(lt,b){return hn(X,o,$,s,lt,q(lt),t,b)},changed:x},vt))}function I(){y("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function E(G){return y("dragOverCompleted",{insertion:G}),G&&(d?c._hideClone():c._showClone(p),p!==f&&(Y($,ct?ct.options.ghostClass:c.options.ghostClass,!1),Y($,r.ghostClass,!0)),ct!==p&&p!==D.active?ct=p:p===D.active&&ct&&(ct=null),f===p&&(p._ignoreWhileAnimating=e),p.animateAll(function(){y("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(e===$&&!$.animated||e===o&&!e.animated)&&(se=null),!r.dragoverBubble&&!t.rootEl&&e!==document&&($.parentNode[ft]._isOutsideThisEl(t.target),!G&&Jt(t)),!r.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),h=!0}function x(){$t=J($),zt=J($,r.draggable),ht({sortable:p,name:"change",toEl:o,newIndex:$t,newDraggableIndex:zt,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),e=It(e,r.draggable,o,!0),y("dragOver"),D.eventCanceled)return h;if($.contains(t.target)||e.animated&&e.animatingX&&e.animatingY||p._ignoreWhileAnimating===e)return E(!1);if(Je=!1,c&&!r.disabled&&(d?u||(i=!X.contains($)):ct===this||(this.lastPutMode=ke.checkPull(this,c,$,t))&&l.checkPut(this,c,$,t))){if(v=this._getDirection(t,e)==="vertical",s=q($),y("dragOverValid"),D.eventCanceled)return h;if(i)return ot=X,I(),this._hideClone(),y("revert"),D.eventCanceled||(qt?X.insertBefore($,qt):X.appendChild($)),E(!0);var S=In(o,r.draggable);if(!S||ir(t,v,this)&&!S.animated){if(S===$)return E(!1);if(S&&o===t.target&&(e=S),e&&(a=q(e)),hn(X,o,$,s,e,a,t,!!e)!==!1)return I(),o.appendChild($),ot=o,x(),E(!0)}else if(e.parentNode===o){a=q(e);var _=0,C,F=$.parentNode!==o,L=!er($.animated&&$.toRect||s,e.animated&&e.toRect||a,v),A=v?"top":"left",T=Wn(e,"top","top")||Wn($,"top","top"),H=T?T.scrollTop:void 0;se!==e&&(C=a[A],Ce=!1,Be=!L&&r.invertSwap||F),_=rr(t,e,a,v,L?1:r.swapThreshold,r.invertedSwapThreshold==null?r.swapThreshold:r.invertedSwapThreshold,Be,se===e);var Z;if(_!==0){var nt=J($);do nt-=_,Z=ot.children[nt];while(Z&&(w(Z,"display")==="none"||Z===M))}if(_===0||Z===e)return E(!1);se=e,_e=_;var tt=e.nextElementSibling,U=!1;U=_===1;var V=hn(X,o,$,s,e,a,t,U);if(V!==!1)return(V===1||V===-1)&&(U=V===1),$n=!0,setTimeout(sr,30),I(),U&&!tt?o.appendChild($):e.parentNode.insertBefore($,U?tt:e),T&&Uo(T,0,H-T.scrollTop),ot=$.parentNode,C!==void 0&&!Be&&(Ge=Math.abs(C-q(e)[A])),x(),E(!0)}if(o.contains($))return E(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){j(document,"mousemove",this._onTouchMove),j(document,"touchmove",this._onTouchMove),j(document,"pointermove",this._onTouchMove),j(document,"dragover",Jt),j(document,"mousemove",Jt),j(document,"touchmove",Jt)},_offUpEvents:function(){var t=this.el.ownerDocument;j(t,"mouseup",this._onDrop),j(t,"touchend",this._onDrop),j(t,"pointerup",this._onDrop),j(t,"touchcancel",this._onDrop),j(document,"selectstart",this)},_onDrop:function(t){var o=this.el,e=this.options;if($t=J($),zt=J($,e.draggable),gt("drop",this,{evt:t}),ot=$&&$.parentNode,$t=J($),zt=J($,e.draggable),D.eventCanceled){this._nulling();return}le=!1,Be=!1,Ce=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),wn(this.cloneId),wn(this._dragStartId),this.nativeDraggable&&(j(document,"drop",this),j(o,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),yn&&w(document.body,"user-select",""),w($,"transform",""),t&&(ye&&(t.cancelable&&t.preventDefault(),!e.dropBubble&&t.stopPropagation()),M&&M.parentNode&&M.parentNode.removeChild(M),(X===ot||ct&&ct.lastPutMode!=="clone")&&Q&&Q.parentNode&&Q.parentNode.removeChild(Q),$&&(this.nativeDraggable&&j($,"dragend",this),pn($),$.style["will-change"]="",ye&&!le&&Y($,ct?ct.options.ghostClass:this.options.ghostClass,!1),Y($,this.options.chosenClass,!1),ht({sortable:this,name:"unchoose",toEl:ot,newIndex:null,newDraggableIndex:null,originalEvent:t}),X!==ot?($t>=0&&(ht({rootEl:ot,name:"add",toEl:ot,fromEl:X,originalEvent:t}),ht({sortable:this,name:"remove",toEl:ot,originalEvent:t}),ht({rootEl:ot,name:"sort",toEl:ot,fromEl:X,originalEvent:t}),ht({sortable:this,name:"sort",toEl:ot,originalEvent:t})),ct&&ct.save()):$t!==de&&$t>=0&&(ht({sortable:this,name:"update",toEl:ot,originalEvent:t}),ht({sortable:this,name:"sort",toEl:ot,originalEvent:t})),D.active&&(($t==null||$t===-1)&&($t=de,zt=Se),ht({sortable:this,name:"end",toEl:ot,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){gt("nulling",this),X=$=ot=M=qt=Q=We=Ut=Qt=Ct=ye=$t=zt=de=Se=se=_e=ct=ke=D.dragged=D.ghost=D.clone=D.active=null,tn.forEach(function(t){t.checked=!0}),tn.length=dn=un=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":$&&(this._onDragOver(t),ar(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],o,e=this.el.children,s=0,a=e.length,i=this.options;s<a;s++)o=e[s],It(o,i.draggable,this.el,!1)&&t.push(o.getAttribute(i.dataIdAttr)||cr(o));return t},sort:function(t){var o={},e=this.el;this.toArray().forEach(function(s,a){var i=e.children[a];It(i,this.options.draggable,e,!1)&&(o[s]=i)},this),t.forEach(function(s){o[s]&&(e.removeChild(o[s]),e.appendChild(o[s]))})},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,o){return It(t,o||this.options.draggable,this.el,!1)},option:function(t,o){var e=this.options;if(o===void 0)return e[t];var s=Ee.modifyOption(this,t,o);typeof s<"u"?e[t]=s:e[t]=o,t==="group"&&Xo(e)},destroy:function(){gt("destroy",this);var t=this.el;t[ft]=null,j(t,"mousedown",this._onTapStart),j(t,"touchstart",this._onTapStart),j(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(j(t,"dragover",this),j(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(o){o.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),qe.splice(qe.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Ut){if(gt("hideClone",this),D.eventCanceled)return;w(Q,"display","none"),this.options.removeCloneOnHide&&Q.parentNode&&Q.parentNode.removeChild(Q),Ut=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Ut){if(gt("showClone",this),D.eventCanceled)return;X.contains($)&&!this.options.group.revertClone?X.insertBefore(Q,$):qt?X.insertBefore(Q,qt):X.appendChild(Q),this.options.group.revertClone&&this.animate($,Q),w(Q,"display",""),Ut=!1}}};function ar(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function hn(n,t,o,e,s,a,i,r){var l,c=n[ft],d=c.options.onMove,u;return window.CustomEvent&&!Ft&&!Ie?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=n,l.dragged=o,l.draggedRect=e,l.related=s||t,l.relatedRect=a||q(t),l.willInsertAfter=r,l.originalEvent=i,n.dispatchEvent(l),d&&(u=d.call(c,l,i)),u}function pn(n){n.draggable=!1}function sr(){$n=!1}function ir(n,t,o){var e=q(In(o.el,o.options.draggable)),s=10;return t?n.clientX>e.right+s||n.clientX<=e.right&&n.clientY>e.bottom&&n.clientX>=e.left:n.clientX>e.right&&n.clientY>e.top||n.clientX<=e.right&&n.clientY>e.bottom+s}function rr(n,t,o,e,s,a,i,r){var l=e?n.clientY:n.clientX,c=e?o.height:o.width,d=e?o.top:o.left,u=e?o.bottom:o.right,f=!1;if(!i){if(r&&Ge<c*s){if(!Ce&&(_e===1?l>d+c*a/2:l<u-c*a/2)&&(Ce=!0),Ce)f=!0;else if(_e===1?l<d+Ge:l>u-Ge)return-_e}else if(l>d+c*(1-s)/2&&l<u-c*(1-s)/2)return lr(t)}return f=f||i,f&&(l<d+c*a/2||l>u-c*a/2)?l>d+c/2?1:-1:0}function lr(n){return J($)<J(n)?1:-1}function cr(n){for(var t=n.tagName+n.className+n.src+n.href+n.textContent,o=t.length,e=0;o--;)e+=t.charCodeAt(o);return e.toString(36)}function dr(n){tn.length=0;for(var t=n.getElementsByTagName("input"),o=t.length;o--;){var e=t[o];e.checked&&tn.push(e)}}function Xe(n){return setTimeout(n,0)}function wn(n){return clearTimeout(n)}on&&R(document,"touchmove",function(n){(D.active||le)&&n.cancelable&&n.preventDefault()});D.utils={on:R,off:j,css:w,find:Vo,is:function(t,o){return!!It(t,o,t,!1)},extend:Zi,throttle:zo,closest:It,toggleClass:Y,clone:En,index:J,nextTick:Xe,cancelNextTick:wn,detectDirection:Go,getChild:Qe};D.get=function(n){return n[ft]};D.mount=function(){for(var n=arguments.length,t=new Array(n),o=0;o<n;o++)t[o]=arguments[o];t[0].constructor===Array&&(t=t[0]),t.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(D.utils=Zt({},D.utils,e.utils)),Ee.mount(e)})};D.create=function(n,t){return new D(n,t)};D.version=Wi;var rt=[],$e,xn,Sn=!1,gn,vn,en,we;function ur(){function n(){this.defaults={scroll:!0,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return n.prototype={dragStarted:function(o){var e=o.originalEvent;this.sortable.nativeDraggable?R(document,"dragover",this._handleAutoScroll):this.options.supportPointer?R(document,"pointermove",this._handleFallbackAutoScroll):e.touches?R(document,"touchmove",this._handleFallbackAutoScroll):R(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(o){var e=o.originalEvent;!this.options.dragOverBubble&&!e.rootEl&&this._handleAutoScroll(e)},drop:function(){this.sortable.nativeDraggable?j(document,"dragover",this._handleAutoScroll):(j(document,"pointermove",this._handleFallbackAutoScroll),j(document,"touchmove",this._handleFallbackAutoScroll),j(document,"mousemove",this._handleFallbackAutoScroll)),Qn(),Ye(),Ki()},nulling:function(){en=xn=$e=Sn=we=gn=vn=null,rt.length=0},_handleFallbackAutoScroll:function(o){this._handleAutoScroll(o,!0)},_handleAutoScroll:function(o,e){var s=this,a=(o.touches?o.touches[0]:o).clientX,i=(o.touches?o.touches[0]:o).clientY,r=document.elementFromPoint(a,i);if(en=o,e||Ie||Ft||yn){mn(o,this.options,r,e);var l=Gt(r,!0);Sn&&(!we||a!==gn||i!==vn)&&(we&&Qn(),we=setInterval(function(){var c=Gt(document.elementFromPoint(a,i),!0);c!==l&&(l=c,Ye()),mn(o,s.options,c,e)},10),gn=a,vn=i)}else{if(!this.options.bubbleScroll||Gt(r,!0)===At()){Ye();return}mn(o,this.options,Gt(r,!1),!1)}}},_t(n,{pluginName:"scroll",initializeByDefault:!0})}function Ye(){rt.forEach(function(n){clearInterval(n.pid)}),rt=[]}function Qn(){clearInterval(we)}var mn=zo(function(n,t,o,e){if(!!t.scroll){var s=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,i=t.scrollSensitivity,r=t.scrollSpeed,l=At(),c=!1,d;xn!==o&&(xn=o,Ye(),$e=t.scroll,d=t.scrollFn,$e===!0&&($e=Gt(o,!0)));var u=0,f=$e;do{var v=f,p=q(v),h=p.top,y=p.bottom,I=p.left,E=p.right,x=p.width,S=p.height,_=void 0,C=void 0,F=v.scrollWidth,L=v.scrollHeight,A=w(v),T=v.scrollLeft,H=v.scrollTop;v===l?(_=x<F&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),C=S<L&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(_=x<F&&(A.overflowX==="auto"||A.overflowX==="scroll"),C=S<L&&(A.overflowY==="auto"||A.overflowY==="scroll"));var Z=_&&(Math.abs(E-s)<=i&&T+x<F)-(Math.abs(I-s)<=i&&!!T),nt=C&&(Math.abs(y-a)<=i&&H+S<L)-(Math.abs(h-a)<=i&&!!H);if(!rt[u])for(var tt=0;tt<=u;tt++)rt[tt]||(rt[tt]={});(rt[u].vx!=Z||rt[u].vy!=nt||rt[u].el!==v)&&(rt[u].el=v,rt[u].vx=Z,rt[u].vy=nt,clearInterval(rt[u].pid),(Z!=0||nt!=0)&&(c=!0,rt[u].pid=setInterval(function(){e&&this.layer===0&&D.active._onTouchMove(en);var U=rt[this.layer].vy?rt[this.layer].vy*r:0,V=rt[this.layer].vx?rt[this.layer].vx*r:0;typeof d=="function"&&d.call(D.dragged.parentNode[ft],V,U,n,en,rt[this.layer].el)!=="continue"||Uo(rt[this.layer].el,V,U)}.bind({layer:u}),24))),u++}while(t.bubbleScroll&&f!==l&&(f=Gt(f,!1)));Sn=c}},30),Ko=function(t){var o=t.originalEvent,e=t.putSortable,s=t.dragEl,a=t.activeSortable,i=t.dispatchSortableEvent,r=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(!!o){var c=e||a;r();var d=o.changedTouches&&o.changedTouches.length?o.changedTouches[0]:o,u=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(u)&&(i("spill"),this.onSpill({dragEl:s,putSortable:e}))}};function Tn(){}Tn.prototype={startIndex:null,dragStart:function(t){var o=t.oldDraggableIndex;this.startIndex=o},onSpill:function(t){var o=t.dragEl,e=t.putSortable;this.sortable.captureAnimationState(),e&&e.captureAnimationState();var s=Qe(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(o,s):this.sortable.el.appendChild(o),this.sortable.animateAll(),e&&e.animateAll()},drop:Ko};_t(Tn,{pluginName:"revertOnSpill"});function Ln(){}Ln.prototype={onSpill:function(t){var o=t.dragEl,e=t.putSortable,s=e||this.sortable;s.captureAnimationState(),o.parentNode&&o.parentNode.removeChild(o),s.animateAll()},drop:Ko};_t(Ln,{pluginName:"removeOnSpill"});var xt;function fr(){function n(){this.defaults={swapClass:"sortable-swap-highlight"}}return n.prototype={dragStart:function(o){var e=o.dragEl;xt=e},dragOverValid:function(o){var e=o.completed,s=o.target,a=o.onMove,i=o.activeSortable,r=o.changed,l=o.cancel;if(!!i.options.swap){var c=this.sortable.el,d=this.options;if(s&&s!==c){var u=xt;a(s)!==!1?(Y(s,d.swapClass,!0),xt=s):xt=null,u&&u!==xt&&Y(u,d.swapClass,!1)}r(),e(!0),l()}},drop:function(o){var e=o.activeSortable,s=o.putSortable,a=o.dragEl,i=s||this.sortable,r=this.options;xt&&Y(xt,r.swapClass,!1),xt&&(r.swap||s&&s.options.swap)&&a!==xt&&(i.captureAnimationState(),i!==e&&e.captureAnimationState(),hr(a,xt),i.animateAll(),i!==e&&e.animateAll())},nulling:function(){xt=null}},_t(n,{pluginName:"swap",eventProperties:function(){return{swapItem:xt}}})}function hr(n,t){var o=n.parentNode,e=t.parentNode,s,a;!o||!e||o.isEqualNode(t)||e.isEqualNode(n)||(s=J(n),a=J(t),o.isEqualNode(e)&&s<a&&a++,o.insertBefore(t,o.children[s]),e.insertBefore(n,e.children[a]))}var P=[],yt=[],ge,Ot,ve=!1,mt=!1,ie=!1,W,me,Re;function pr(){function n(t){for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));t.options.supportPointer?R(document,"pointerup",this._deselectMultiDrag):(R(document,"mouseup",this._deselectMultiDrag),R(document,"touchend",this._deselectMultiDrag)),R(document,"keydown",this._checkKeyDown),R(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,a){var i="";P.length&&Ot===t?P.forEach(function(r,l){i+=(l?", ":"")+r.textContent}):i=a.textContent,s.setData("Text",i)}}}return n.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(o){var e=o.dragEl;W=e},delayEnded:function(){this.isMultiDrag=~P.indexOf(W)},setupClone:function(o){var e=o.sortable,s=o.cancel;if(!!this.isMultiDrag){for(var a=0;a<P.length;a++)yt.push(En(P[a])),yt[a].sortableIndex=P[a].sortableIndex,yt[a].draggable=!1,yt[a].style["will-change"]="",Y(yt[a],this.options.selectedClass,!1),P[a]===W&&Y(yt[a],this.options.chosenClass,!1);e._hideClone(),s()}},clone:function(o){var e=o.sortable,s=o.rootEl,a=o.dispatchSortableEvent,i=o.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||P.length&&Ot===e&&(Jn(!0,s),a("clone"),i())},showClone:function(o){var e=o.cloneNowShown,s=o.rootEl,a=o.cancel;!this.isMultiDrag||(Jn(!1,s),yt.forEach(function(i){w(i,"display","")}),e(),Re=!1,a())},hideClone:function(o){var e=this;o.sortable;var s=o.cloneNowHidden,a=o.cancel;!this.isMultiDrag||(yt.forEach(function(i){w(i,"display","none"),e.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),Re=!0,a())},dragStartGlobal:function(o){o.sortable,!this.isMultiDrag&&Ot&&Ot.multiDrag._deselectMultiDrag(),P.forEach(function(e){e.sortableIndex=J(e)}),P=P.sort(function(e,s){return e.sortableIndex-s.sortableIndex}),ie=!0},dragStarted:function(o){var e=this,s=o.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){P.forEach(function(i){i!==W&&w(i,"position","absolute")});var a=q(W,!1,!0,!0);P.forEach(function(i){i!==W&&Xn(i,a)}),mt=!0,ve=!0}s.animateAll(function(){mt=!1,ve=!1,e.options.animation&&P.forEach(function(i){ln(i)}),e.options.sort&&He()})}},dragOver:function(o){var e=o.target,s=o.completed,a=o.cancel;mt&&~P.indexOf(e)&&(s(!1),a())},revert:function(o){var e=o.fromSortable,s=o.rootEl,a=o.sortable,i=o.dragRect;P.length>1&&(P.forEach(function(r){a.addAnimationState({target:r,rect:mt?q(r):i}),ln(r),r.fromRect=i,e.removeAnimationState(r)}),mt=!1,gr(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(o){var e=o.sortable,s=o.isOwner,a=o.insertion,i=o.activeSortable,r=o.parentEl,l=o.putSortable,c=this.options;if(a){if(s&&i._hideClone(),ve=!1,c.animation&&P.length>1&&(mt||!s&&!i.options.sort&&!l)){var d=q(W,!1,!0,!0);P.forEach(function(f){f!==W&&(Xn(f,d),r.appendChild(f))}),mt=!0}if(!s)if(mt||He(),P.length>1){var u=Re;i._showClone(e),i.options.animation&&!Re&&u&&yt.forEach(function(f){i.addAnimationState({target:f,rect:me}),f.fromRect=me,f.thisAnimationDuration=null})}else i._showClone(e)}},dragOverAnimationCapture:function(o){var e=o.dragRect,s=o.isOwner,a=o.activeSortable;if(P.forEach(function(r){r.thisAnimationDuration=null}),a.options.animation&&!s&&a.multiDrag.isMultiDrag){me=_t({},e);var i=te(W,!0);me.top-=i.f,me.left-=i.e}},dragOverAnimationComplete:function(){mt&&(mt=!1,He())},drop:function(o){var e=o.originalEvent,s=o.rootEl,a=o.parentEl,i=o.sortable,r=o.dispatchSortableEvent,l=o.oldIndex,c=o.putSortable,d=c||this.sortable;if(!!e){var u=this.options,f=a.children;if(!ie)if(u.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Y(W,u.selectedClass,!~P.indexOf(W)),~P.indexOf(W))P.splice(P.indexOf(W),1),ge=null,be({sortable:i,rootEl:s,name:"deselect",targetEl:W,originalEvt:e});else{if(P.push(W),be({sortable:i,rootEl:s,name:"select",targetEl:W,originalEvt:e}),e.shiftKey&&ge&&i.el.contains(ge)){var v=J(ge),p=J(W);if(~v&&~p&&v!==p){var h,y;for(p>v?(y=v,h=p):(y=p,h=v+1);y<h;y++)~P.indexOf(f[y])||(Y(f[y],u.selectedClass,!0),P.push(f[y]),be({sortable:i,rootEl:s,name:"select",targetEl:f[y],originalEvt:e}))}}else ge=W;Ot=d}if(ie&&this.isMultiDrag){if((a[ft].options.sort||a!==s)&&P.length>1){var I=q(W),E=J(W,":not(."+this.options.selectedClass+")");if(!ve&&u.animation&&(W.thisAnimationDuration=null),d.captureAnimationState(),!ve&&(u.animation&&(W.fromRect=I,P.forEach(function(S){if(S.thisAnimationDuration=null,S!==W){var _=mt?q(S):I;S.fromRect=_,d.addAnimationState({target:S,rect:_})}})),He(),P.forEach(function(S){f[E]?a.insertBefore(S,f[E]):a.appendChild(S),E++}),l===J(W))){var x=!1;P.forEach(function(S){if(S.sortableIndex!==J(S)){x=!0;return}}),x&&r("update")}P.forEach(function(S){ln(S)}),d.animateAll()}Ot=d}(s===a||c&&c.lastPutMode!=="clone")&&yt.forEach(function(S){S.parentNode&&S.parentNode.removeChild(S)})}},nullingGlobal:function(){this.isMultiDrag=ie=!1,yt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),j(document,"pointerup",this._deselectMultiDrag),j(document,"mouseup",this._deselectMultiDrag),j(document,"touchend",this._deselectMultiDrag),j(document,"keydown",this._checkKeyDown),j(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(o){if(!(typeof ie<"u"&&ie)&&Ot===this.sortable&&!(o&&It(o.target,this.options.draggable,this.sortable.el,!1))&&!(o&&o.button!==0))for(;P.length;){var e=P[0];Y(e,this.options.selectedClass,!1),P.shift(),be({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:e,originalEvt:o})}},_checkKeyDown:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(o){o.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},_t(n,{pluginName:"multiDrag",utils:{select:function(o){var e=o.parentNode[ft];!e||!e.options.multiDrag||~P.indexOf(o)||(Ot&&Ot!==e&&(Ot.multiDrag._deselectMultiDrag(),Ot=e),Y(o,e.options.selectedClass,!0),P.push(o))},deselect:function(o){var e=o.parentNode[ft],s=P.indexOf(o);!e||!e.options.multiDrag||!~s||(Y(o,e.options.selectedClass,!1),P.splice(s,1))}},eventProperties:function(){var o=this,e=[],s=[];return P.forEach(function(a){e.push({multiDragElement:a,index:a.sortableIndex});var i;mt&&a!==W?i=-1:mt?i=J(a,":not(."+o.options.selectedClass+")"):i=J(a),s.push({multiDragElement:a,index:i})}),{items:Fi(P),clones:[].concat(yt),oldIndicies:e,newIndicies:s}},optionListeners:{multiDragKey:function(o){return o=o.toLowerCase(),o==="ctrl"?o="Control":o.length>1&&(o=o.charAt(0).toUpperCase()+o.substr(1)),o}}})}function gr(n,t){P.forEach(function(o,e){var s=t.children[o.sortableIndex+(n?Number(e):0)];s?t.insertBefore(o,s):t.appendChild(o)})}function Jn(n,t){yt.forEach(function(o,e){var s=t.children[o.sortableIndex+(n?Number(e):0)];s?t.insertBefore(o,s):t.appendChild(o)})}function He(){P.forEach(function(n){n!==W&&n.parentNode&&n.parentNode.removeChild(n)})}D.mount(new ur);D.mount(Ln,Tn);const vr=Object.freeze(Object.defineProperty({__proto__:null,default:D,MultiDrag:pr,Sortable:D,Swap:fr},Symbol.toStringTag,{value:"Module"})),mr=va(vr);(function(n,t){(function(e,s){n.exports=s(mr)})(typeof self<"u"?self:ma,function(o){return function(e){var s={};function a(i){if(s[i])return s[i].exports;var r=s[i]={i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,a),r.l=!0,r.exports}return a.m=e,a.c=s,a.d=function(i,r,l){a.o(i,r)||Object.defineProperty(i,r,{enumerable:!0,get:l})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,r){if(r&1&&(i=a(i)),r&8||r&4&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(a.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),r&2&&typeof i!="string")for(var c in i)a.d(l,c,function(d){return i[d]}.bind(null,c));return l},a.n=function(i){var r=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(r,"a",r),r},a.o=function(i,r){return Object.prototype.hasOwnProperty.call(i,r)},a.p="",a(a.s="fb15")}({"01f9":function(e,s,a){var i=a("2d00"),r=a("5ca1"),l=a("2aba"),c=a("32e9"),d=a("84f2"),u=a("41a0"),f=a("7f20"),v=a("38fd"),p=a("2b4c")("iterator"),h=!([].keys&&"next"in[].keys()),y="@@iterator",I="keys",E="values",x=function(){return this};e.exports=function(S,_,C,F,L,A,T){u(C,_,F);var H=function(m){if(!h&&m in U)return U[m];switch(m){case I:return function(){return new C(this,m)};case E:return function(){return new C(this,m)}}return function(){return new C(this,m)}},Z=_+" Iterator",nt=L==E,tt=!1,U=S.prototype,V=U[p]||U[y]||L&&U[L],G=V||H(L),vt=L?nt?H("entries"):G:void 0,dt=_=="Array"&&U.entries||V,lt,b,g;if(dt&&(g=v(dt.call(new S)),g!==Object.prototype&&g.next&&(f(g,Z,!0),!i&&typeof g[p]!="function"&&c(g,p,x))),nt&&V&&V.name!==E&&(tt=!0,G=function(){return V.call(this)}),(!i||T)&&(h||tt||!U[p])&&c(U,p,G),d[_]=G,d[Z]=x,L)if(lt={values:nt?G:H(E),keys:A?G:H(I),entries:vt},T)for(b in lt)b in U||l(U,b,lt[b]);else r(r.P+r.F*(h||tt),_,lt);return lt}},"02f4":function(e,s,a){var i=a("4588"),r=a("be13");e.exports=function(l){return function(c,d){var u=String(r(c)),f=i(d),v=u.length,p,h;return f<0||f>=v?l?"":void 0:(p=u.charCodeAt(f),p<55296||p>56319||f+1===v||(h=u.charCodeAt(f+1))<56320||h>57343?l?u.charAt(f):p:l?u.slice(f,f+2):(p-55296<<10)+(h-56320)+65536)}}},"0390":function(e,s,a){var i=a("02f4")(!0);e.exports=function(r,l,c){return l+(c?i(r,l).length:1)}},"0bfb":function(e,s,a){var i=a("cb7c");e.exports=function(){var r=i(this),l="";return r.global&&(l+="g"),r.ignoreCase&&(l+="i"),r.multiline&&(l+="m"),r.unicode&&(l+="u"),r.sticky&&(l+="y"),l}},"0d58":function(e,s,a){var i=a("ce10"),r=a("e11e");e.exports=Object.keys||function(c){return i(c,r)}},1495:function(e,s,a){var i=a("86cc"),r=a("cb7c"),l=a("0d58");e.exports=a("9e1e")?Object.defineProperties:function(d,u){r(d);for(var f=l(u),v=f.length,p=0,h;v>p;)i.f(d,h=f[p++],u[h]);return d}},"214f":function(e,s,a){a("b0c5");var i=a("2aba"),r=a("32e9"),l=a("79e5"),c=a("be13"),d=a("2b4c"),u=a("520a"),f=d("species"),v=!l(function(){var h=/./;return h.exec=function(){var y=[];return y.groups={a:"7"},y},"".replace(h,"$<a>")!=="7"}),p=function(){var h=/(?:)/,y=h.exec;h.exec=function(){return y.apply(this,arguments)};var I="ab".split(h);return I.length===2&&I[0]==="a"&&I[1]==="b"}();e.exports=function(h,y,I){var E=d(h),x=!l(function(){var A={};return A[E]=function(){return 7},""[h](A)!=7}),S=x?!l(function(){var A=!1,T=/a/;return T.exec=function(){return A=!0,null},h==="split"&&(T.constructor={},T.constructor[f]=function(){return T}),T[E](""),!A}):void 0;if(!x||!S||h==="replace"&&!v||h==="split"&&!p){var _=/./[E],C=I(c,E,""[h],function(T,H,Z,nt,tt){return H.exec===u?x&&!tt?{done:!0,value:_.call(H,Z,nt)}:{done:!0,value:T.call(Z,H,nt)}:{done:!1}}),F=C[0],L=C[1];i(String.prototype,h,F),r(RegExp.prototype,E,y==2?function(A,T){return L.call(A,this,T)}:function(A){return L.call(A,this)})}}},"230e":function(e,s,a){var i=a("d3f4"),r=a("7726").document,l=i(r)&&i(r.createElement);e.exports=function(c){return l?r.createElement(c):{}}},"23c6":function(e,s,a){var i=a("2d95"),r=a("2b4c")("toStringTag"),l=i(function(){return arguments}())=="Arguments",c=function(d,u){try{return d[u]}catch{}};e.exports=function(d){var u,f,v;return d===void 0?"Undefined":d===null?"Null":typeof(f=c(u=Object(d),r))=="string"?f:l?i(u):(v=i(u))=="Object"&&typeof u.callee=="function"?"Arguments":v}},2621:function(e,s){s.f=Object.getOwnPropertySymbols},"2aba":function(e,s,a){var i=a("7726"),r=a("32e9"),l=a("69a8"),c=a("ca5a")("src"),d=a("fa5b"),u="toString",f=(""+d).split(u);a("8378").inspectSource=function(v){return d.call(v)},(e.exports=function(v,p,h,y){var I=typeof h=="function";I&&(l(h,"name")||r(h,"name",p)),v[p]!==h&&(I&&(l(h,c)||r(h,c,v[p]?""+v[p]:f.join(String(p)))),v===i?v[p]=h:y?v[p]?v[p]=h:r(v,p,h):(delete v[p],r(v,p,h)))})(Function.prototype,u,function(){return typeof this=="function"&&this[c]||d.call(this)})},"2aeb":function(e,s,a){var i=a("cb7c"),r=a("1495"),l=a("e11e"),c=a("613b")("IE_PROTO"),d=function(){},u="prototype",f=function(){var v=a("230e")("iframe"),p=l.length,h="<",y=">",I;for(v.style.display="none",a("fab2").appendChild(v),v.src="javascript:",I=v.contentWindow.document,I.open(),I.write(h+"script"+y+"document.F=Object"+h+"/script"+y),I.close(),f=I.F;p--;)delete f[u][l[p]];return f()};e.exports=Object.create||function(p,h){var y;return p!==null?(d[u]=i(p),y=new d,d[u]=null,y[c]=p):y=f(),h===void 0?y:r(y,h)}},"2b4c":function(e,s,a){var i=a("5537")("wks"),r=a("ca5a"),l=a("7726").Symbol,c=typeof l=="function",d=e.exports=function(u){return i[u]||(i[u]=c&&l[u]||(c?l:r)("Symbol."+u))};d.store=i},"2d00":function(e,s){e.exports=!1},"2d95":function(e,s){var a={}.toString;e.exports=function(i){return a.call(i).slice(8,-1)}},"2fdb":function(e,s,a){var i=a("5ca1"),r=a("d2c8"),l="includes";i(i.P+i.F*a("5147")(l),"String",{includes:function(d){return!!~r(this,d,l).indexOf(d,arguments.length>1?arguments[1]:void 0)}})},"32e9":function(e,s,a){var i=a("86cc"),r=a("4630");e.exports=a("9e1e")?function(l,c,d){return i.f(l,c,r(1,d))}:function(l,c,d){return l[c]=d,l}},"38fd":function(e,s,a){var i=a("69a8"),r=a("4bf8"),l=a("613b")("IE_PROTO"),c=Object.prototype;e.exports=Object.getPrototypeOf||function(d){return d=r(d),i(d,l)?d[l]:typeof d.constructor=="function"&&d instanceof d.constructor?d.constructor.prototype:d instanceof Object?c:null}},"41a0":function(e,s,a){var i=a("2aeb"),r=a("4630"),l=a("7f20"),c={};a("32e9")(c,a("2b4c")("iterator"),function(){return this}),e.exports=function(d,u,f){d.prototype=i(c,{next:r(1,f)}),l(d,u+" Iterator")}},"456d":function(e,s,a){var i=a("4bf8"),r=a("0d58");a("5eda")("keys",function(){return function(c){return r(i(c))}})},4588:function(e,s){var a=Math.ceil,i=Math.floor;e.exports=function(r){return isNaN(r=+r)?0:(r>0?i:a)(r)}},4630:function(e,s){e.exports=function(a,i){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:i}}},"4bf8":function(e,s,a){var i=a("be13");e.exports=function(r){return Object(i(r))}},5147:function(e,s,a){var i=a("2b4c")("match");e.exports=function(r){var l=/./;try{"/./"[r](l)}catch{try{return l[i]=!1,!"/./"[r](l)}catch{}}return!0}},"520a":function(e,s,a){var i=a("0bfb"),r=RegExp.prototype.exec,l=String.prototype.replace,c=r,d="lastIndex",u=function(){var p=/a/,h=/b*/g;return r.call(p,"a"),r.call(h,"a"),p[d]!==0||h[d]!==0}(),f=/()??/.exec("")[1]!==void 0,v=u||f;v&&(c=function(h){var y=this,I,E,x,S;return f&&(E=new RegExp("^"+y.source+"$(?!\\s)",i.call(y))),u&&(I=y[d]),x=r.call(y,h),u&&x&&(y[d]=y.global?x.index+x[0].length:I),f&&x&&x.length>1&&l.call(x[0],E,function(){for(S=1;S<arguments.length-2;S++)arguments[S]===void 0&&(x[S]=void 0)}),x}),e.exports=c},"52a7":function(e,s){s.f={}.propertyIsEnumerable},5537:function(e,s,a){var i=a("8378"),r=a("7726"),l="__core-js_shared__",c=r[l]||(r[l]={});(e.exports=function(d,u){return c[d]||(c[d]=u!==void 0?u:{})})("versions",[]).push({version:i.version,mode:a("2d00")?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},"5ca1":function(e,s,a){var i=a("7726"),r=a("8378"),l=a("32e9"),c=a("2aba"),d=a("9b43"),u="prototype",f=function(v,p,h){var y=v&f.F,I=v&f.G,E=v&f.S,x=v&f.P,S=v&f.B,_=I?i:E?i[p]||(i[p]={}):(i[p]||{})[u],C=I?r:r[p]||(r[p]={}),F=C[u]||(C[u]={}),L,A,T,H;I&&(h=p);for(L in h)A=!y&&_&&_[L]!==void 0,T=(A?_:h)[L],H=S&&A?d(T,i):x&&typeof T=="function"?d(Function.call,T):T,_&&c(_,L,T,v&f.U),C[L]!=T&&l(C,L,H),x&&F[L]!=T&&(F[L]=T)};i.core=r,f.F=1,f.G=2,f.S=4,f.P=8,f.B=16,f.W=32,f.U=64,f.R=128,e.exports=f},"5eda":function(e,s,a){var i=a("5ca1"),r=a("8378"),l=a("79e5");e.exports=function(c,d){var u=(r.Object||{})[c]||Object[c],f={};f[c]=d(u),i(i.S+i.F*l(function(){u(1)}),"Object",f)}},"5f1b":function(e,s,a){var i=a("23c6"),r=RegExp.prototype.exec;e.exports=function(l,c){var d=l.exec;if(typeof d=="function"){var u=d.call(l,c);if(typeof u!="object")throw new TypeError("RegExp exec method returned something other than an Object or null");return u}if(i(l)!=="RegExp")throw new TypeError("RegExp#exec called on incompatible receiver");return r.call(l,c)}},"613b":function(e,s,a){var i=a("5537")("keys"),r=a("ca5a");e.exports=function(l){return i[l]||(i[l]=r(l))}},"626a":function(e,s,a){var i=a("2d95");e.exports=Object("z").propertyIsEnumerable(0)?Object:function(r){return i(r)=="String"?r.split(""):Object(r)}},6762:function(e,s,a){var i=a("5ca1"),r=a("c366")(!0);i(i.P,"Array",{includes:function(c){return r(this,c,arguments.length>1?arguments[1]:void 0)}}),a("9c6c")("includes")},6821:function(e,s,a){var i=a("626a"),r=a("be13");e.exports=function(l){return i(r(l))}},"69a8":function(e,s){var a={}.hasOwnProperty;e.exports=function(i,r){return a.call(i,r)}},"6a99":function(e,s,a){var i=a("d3f4");e.exports=function(r,l){if(!i(r))return r;var c,d;if(l&&typeof(c=r.toString)=="function"&&!i(d=c.call(r))||typeof(c=r.valueOf)=="function"&&!i(d=c.call(r))||!l&&typeof(c=r.toString)=="function"&&!i(d=c.call(r)))return d;throw TypeError("Can't convert object to primitive value")}},7333:function(e,s,a){var i=a("0d58"),r=a("2621"),l=a("52a7"),c=a("4bf8"),d=a("626a"),u=Object.assign;e.exports=!u||a("79e5")(function(){var f={},v={},p=Symbol(),h="abcdefghijklmnopqrst";return f[p]=7,h.split("").forEach(function(y){v[y]=y}),u({},f)[p]!=7||Object.keys(u({},v)).join("")!=h})?function(v,p){for(var h=c(v),y=arguments.length,I=1,E=r.f,x=l.f;y>I;)for(var S=d(arguments[I++]),_=E?i(S).concat(E(S)):i(S),C=_.length,F=0,L;C>F;)x.call(S,L=_[F++])&&(h[L]=S[L]);return h}:u},7726:function(e,s){var a=e.exports=typeof window<"u"&&window.Math==Math?window:typeof self<"u"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=a)},"77f1":function(e,s,a){var i=a("4588"),r=Math.max,l=Math.min;e.exports=function(c,d){return c=i(c),c<0?r(c+d,0):l(c,d)}},"79e5":function(e,s){e.exports=function(a){try{return!!a()}catch{return!0}}},"7f20":function(e,s,a){var i=a("86cc").f,r=a("69a8"),l=a("2b4c")("toStringTag");e.exports=function(c,d,u){c&&!r(c=u?c:c.prototype,l)&&i(c,l,{configurable:!0,value:d})}},8378:function(e,s){var a=e.exports={version:"2.6.5"};typeof __e=="number"&&(__e=a)},"84f2":function(e,s){e.exports={}},"86cc":function(e,s,a){var i=a("cb7c"),r=a("c69a"),l=a("6a99"),c=Object.defineProperty;s.f=a("9e1e")?Object.defineProperty:function(u,f,v){if(i(u),f=l(f,!0),i(v),r)try{return c(u,f,v)}catch{}if("get"in v||"set"in v)throw TypeError("Accessors not supported!");return"value"in v&&(u[f]=v.value),u}},"9b43":function(e,s,a){var i=a("d8e8");e.exports=function(r,l,c){if(i(r),l===void 0)return r;switch(c){case 1:return function(d){return r.call(l,d)};case 2:return function(d,u){return r.call(l,d,u)};case 3:return function(d,u,f){return r.call(l,d,u,f)}}return function(){return r.apply(l,arguments)}}},"9c6c":function(e,s,a){var i=a("2b4c")("unscopables"),r=Array.prototype;r[i]==null&&a("32e9")(r,i,{}),e.exports=function(l){r[i][l]=!0}},"9def":function(e,s,a){var i=a("4588"),r=Math.min;e.exports=function(l){return l>0?r(i(l),9007199254740991):0}},"9e1e":function(e,s,a){e.exports=!a("79e5")(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},a352:function(e,s){e.exports=o},a481:function(e,s,a){var i=a("cb7c"),r=a("4bf8"),l=a("9def"),c=a("4588"),d=a("0390"),u=a("5f1b"),f=Math.max,v=Math.min,p=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,y=/\$([$&`']|\d\d?)/g,I=function(E){return E===void 0?E:String(E)};a("214f")("replace",2,function(E,x,S,_){return[function(L,A){var T=E(this),H=L==null?void 0:L[x];return H!==void 0?H.call(L,T,A):S.call(String(T),L,A)},function(F,L){var A=_(S,F,this,L);if(A.done)return A.value;var T=i(F),H=String(this),Z=typeof L=="function";Z||(L=String(L));var nt=T.global;if(nt){var tt=T.unicode;T.lastIndex=0}for(var U=[];;){var V=u(T,H);if(V===null||(U.push(V),!nt))break;var G=String(V[0]);G===""&&(T.lastIndex=d(H,l(T.lastIndex),tt))}for(var vt="",dt=0,lt=0;lt<U.length;lt++){V=U[lt];for(var b=String(V[0]),g=f(v(c(V.index),H.length),0),m=[],O=1;O<V.length;O++)m.push(I(V[O]));var N=V.groups;if(Z){var B=[b].concat(m,g,H);N!==void 0&&B.push(N);var z=String(L.apply(void 0,B))}else z=C(b,H,g,m,N,L);g>=dt&&(vt+=H.slice(dt,g)+z,dt=g+b.length)}return vt+H.slice(dt)}];function C(F,L,A,T,H,Z){var nt=A+F.length,tt=T.length,U=y;return H!==void 0&&(H=r(H),U=h),S.call(Z,U,function(V,G){var vt;switch(G.charAt(0)){case"$":return"$";case"&":return F;case"`":return L.slice(0,A);case"'":return L.slice(nt);case"<":vt=H[G.slice(1,-1)];break;default:var dt=+G;if(dt===0)return V;if(dt>tt){var lt=p(dt/10);return lt===0?V:lt<=tt?T[lt-1]===void 0?G.charAt(1):T[lt-1]+G.charAt(1):V}vt=T[dt-1]}return vt===void 0?"":vt})}})},aae3:function(e,s,a){var i=a("d3f4"),r=a("2d95"),l=a("2b4c")("match");e.exports=function(c){var d;return i(c)&&((d=c[l])!==void 0?!!d:r(c)=="RegExp")}},ac6a:function(e,s,a){for(var i=a("cadf"),r=a("0d58"),l=a("2aba"),c=a("7726"),d=a("32e9"),u=a("84f2"),f=a("2b4c"),v=f("iterator"),p=f("toStringTag"),h=u.Array,y={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},I=r(y),E=0;E<I.length;E++){var x=I[E],S=y[x],_=c[x],C=_&&_.prototype,F;if(C&&(C[v]||d(C,v,h),C[p]||d(C,p,x),u[x]=h,S))for(F in i)C[F]||l(C,F,i[F],!0)}},b0c5:function(e,s,a){var i=a("520a");a("5ca1")({target:"RegExp",proto:!0,forced:i!==/./.exec},{exec:i})},be13:function(e,s){e.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},c366:function(e,s,a){var i=a("6821"),r=a("9def"),l=a("77f1");e.exports=function(c){return function(d,u,f){var v=i(d),p=r(v.length),h=l(f,p),y;if(c&&u!=u){for(;p>h;)if(y=v[h++],y!=y)return!0}else for(;p>h;h++)if((c||h in v)&&v[h]===u)return c||h||0;return!c&&-1}}},c649:function(e,s,a){(function(i){a.d(s,"c",function(){return v}),a.d(s,"a",function(){return u}),a.d(s,"b",function(){return l}),a.d(s,"d",function(){return f}),a("a481");function r(){return typeof window<"u"?window.console:i.console}var l=r();function c(p){var h=Object.create(null);return function(I){var E=h[I];return E||(h[I]=p(I))}}var d=/-(\w)/g,u=c(function(p){return p.replace(d,function(h,y){return y?y.toUpperCase():""})});function f(p){p.parentElement!==null&&p.parentElement.removeChild(p)}function v(p,h,y){var I=y===0?p.children[0]:p.children[y-1].nextSibling;p.insertBefore(h,I)}}).call(this,a("c8ba"))},c69a:function(e,s,a){e.exports=!a("9e1e")&&!a("79e5")(function(){return Object.defineProperty(a("230e")("div"),"a",{get:function(){return 7}}).a!=7})},c8ba:function(e,s){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}e.exports=a},ca5a:function(e,s){var a=0,i=Math.random();e.exports=function(r){return"Symbol(".concat(r===void 0?"":r,")_",(++a+i).toString(36))}},cadf:function(e,s,a){var i=a("9c6c"),r=a("d53b"),l=a("84f2"),c=a("6821");e.exports=a("01f9")(Array,"Array",function(d,u){this._t=c(d),this._i=0,this._k=u},function(){var d=this._t,u=this._k,f=this._i++;return!d||f>=d.length?(this._t=void 0,r(1)):u=="keys"?r(0,f):u=="values"?r(0,d[f]):r(0,[f,d[f]])},"values"),l.Arguments=l.Array,i("keys"),i("values"),i("entries")},cb7c:function(e,s,a){var i=a("d3f4");e.exports=function(r){if(!i(r))throw TypeError(r+" is not an object!");return r}},ce10:function(e,s,a){var i=a("69a8"),r=a("6821"),l=a("c366")(!1),c=a("613b")("IE_PROTO");e.exports=function(d,u){var f=r(d),v=0,p=[],h;for(h in f)h!=c&&i(f,h)&&p.push(h);for(;u.length>v;)i(f,h=u[v++])&&(~l(p,h)||p.push(h));return p}},d2c8:function(e,s,a){var i=a("aae3"),r=a("be13");e.exports=function(l,c,d){if(i(c))throw TypeError("String#"+d+" doesn't accept regex!");return String(r(l))}},d3f4:function(e,s){e.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},d53b:function(e,s){e.exports=function(a,i){return{value:i,done:!!a}}},d8e8:function(e,s){e.exports=function(a){if(typeof a!="function")throw TypeError(a+" is not a function!");return a}},e11e:function(e,s){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},f559:function(e,s,a){var i=a("5ca1"),r=a("9def"),l=a("d2c8"),c="startsWith",d=""[c];i(i.P+i.F*a("5147")(c),"String",{startsWith:function(f){var v=l(this,f,c),p=r(Math.min(arguments.length>1?arguments[1]:void 0,v.length)),h=String(f);return d?d.call(v,h,p):v.slice(p,p+h.length)===h}})},f6fd:function(e,s){(function(a){var i="currentScript",r=a.getElementsByTagName("script");i in a||Object.defineProperty(a,i,{get:function(){try{throw new Error}catch(d){var l,c=(/.*at [^\(]*\((.*):.+:.+\)$/ig.exec(d.stack)||[!1])[1];for(l in r)if(r[l].src==c||r[l].readyState=="interactive")return r[l];return null}}})})(document)},f751:function(e,s,a){var i=a("5ca1");i(i.S+i.F,"Object",{assign:a("7333")})},fa5b:function(e,s,a){e.exports=a("5537")("native-function-to-string",Function.toString)},fab2:function(e,s,a){var i=a("7726").document;e.exports=i&&i.documentElement},fb15:function(e,s,a){if(a.r(s),typeof window<"u"){a("f6fd");var i;(i=window.document.currentScript)&&(i=i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(a.p=i[1])}a("f751"),a("f559"),a("ac6a"),a("cadf"),a("456d");function r(b){if(Array.isArray(b))return b}function l(b,g){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(b)))){var m=[],O=!0,N=!1,B=void 0;try{for(var z=b[Symbol.iterator](),et;!(O=(et=z.next()).done)&&(m.push(et.value),!(g&&m.length===g));O=!0);}catch(Tt){N=!0,B=Tt}finally{try{!O&&z.return!=null&&z.return()}finally{if(N)throw B}}return m}}function c(b,g){(g==null||g>b.length)&&(g=b.length);for(var m=0,O=new Array(g);m<g;m++)O[m]=b[m];return O}function d(b,g){if(!!b){if(typeof b=="string")return c(b,g);var m=Object.prototype.toString.call(b).slice(8,-1);if(m==="Object"&&b.constructor&&(m=b.constructor.name),m==="Map"||m==="Set")return Array.from(b);if(m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m))return c(b,g)}}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
7 |
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(b,g){return r(b)||l(b,g)||d(b,g)||u()}a("6762"),a("2fdb");function v(b){if(Array.isArray(b))return c(b)}function p(b){if(typeof Symbol<"u"&&Symbol.iterator in Object(b))return Array.from(b)}function h(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
8 |
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y(b){return v(b)||p(b)||d(b)||h()}var I=a("a352"),E=a.n(I),x=a("c649");function S(b,g,m){return m===void 0||(b=b||{},b[g]=m),b}function _(b,g){return b.map(function(m){return m.elm}).indexOf(g)}function C(b,g,m,O){if(!b)return[];var N=b.map(function(et){return et.elm}),B=g.length-O,z=y(g).map(function(et,Tt){return Tt>=B?N.length:N.indexOf(et)});return m?z.filter(function(et){return et!==-1}):z}function F(b,g){var m=this;this.$nextTick(function(){return m.$emit(b.toLowerCase(),g)})}function L(b){var g=this;return function(m){g.realList!==null&&g["onDrag"+b](m),F.call(g,b,m)}}function A(b){return["transition-group","TransitionGroup"].includes(b)}function T(b){if(!b||b.length!==1)return!1;var g=f(b,1),m=g[0].componentOptions;return m?A(m.tag):!1}function H(b,g,m){return b[m]||(g[m]?g[m]():void 0)}function Z(b,g,m){var O=0,N=0,B=H(g,m,"header");B&&(O=B.length,b=b?[].concat(y(B),y(b)):y(B));var z=H(g,m,"footer");return z&&(N=z.length,b=b?[].concat(y(b),y(z)):y(z)),{children:b,headerOffset:O,footerOffset:N}}function nt(b,g){var m=null,O=function(Te,na){m=S(m,Te,na)},N=Object.keys(b).filter(function(Tt){return Tt==="id"||Tt.startsWith("data-")}).reduce(function(Tt,Te){return Tt[Te]=b[Te],Tt},{});if(O("attrs",N),!g)return m;var B=g.on,z=g.props,et=g.attrs;return O("on",B),O("props",z),Object.assign(m.attrs,et),m}var tt=["Start","Add","Remove","Update","End"],U=["Choose","Unchoose","Sort","Filter","Clone"],V=["Move"].concat(tt,U).map(function(b){return"on"+b}),G=null,vt={options:Object,list:{type:Array,required:!1,default:null},value:{type:Array,required:!1,default:null},noTransitionOnDrag:{type:Boolean,default:!1},clone:{type:Function,default:function(g){return g}},element:{type:String,default:"div"},tag:{type:String,default:null},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},dt={name:"draggable",inheritAttrs:!1,props:vt,data:function(){return{transitionMode:!1,noneFunctionalComponentMode:!1}},render:function(g){var m=this.$slots.default;this.transitionMode=T(m);var O=Z(m,this.$slots,this.$scopedSlots),N=O.children,B=O.headerOffset,z=O.footerOffset;this.headerOffset=B,this.footerOffset=z;var et=nt(this.$attrs,this.componentData);return g(this.getTag(),et,N)},created:function(){this.list!==null&&this.value!==null&&x.b.error("Value and list props are mutually exclusive! Please set one or another."),this.element!=="div"&&x.b.warn("Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props"),this.options!==void 0&&x.b.warn("Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props")},mounted:function(){var g=this;if(this.noneFunctionalComponentMode=this.getTag().toLowerCase()!==this.$el.nodeName.toLowerCase()&&!this.getIsFunctional(),this.noneFunctionalComponentMode&&this.transitionMode)throw new Error("Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: ".concat(this.getTag()));var m={};tt.forEach(function(B){m["on"+B]=L.call(g,B)}),U.forEach(function(B){m["on"+B]=F.bind(g,B)});var O=Object.keys(this.$attrs).reduce(function(B,z){return B[Object(x.a)(z)]=g.$attrs[z],B},{}),N=Object.assign({},this.options,O,m,{onMove:function(z,et){return g.onDragMove(z,et)}});!("draggable"in N)&&(N.draggable=">*"),this._sortable=new E.a(this.rootContainer,N),this.computeIndexes()},beforeDestroy:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{rootContainer:function(){return this.transitionMode?this.$el.children[0]:this.$el},realList:function(){return this.list?this.list:this.value}},watch:{options:{handler:function(g){this.updateOptions(g)},deep:!0},$attrs:{handler:function(g){this.updateOptions(g)},deep:!0},realList:function(){this.computeIndexes()}},methods:{getIsFunctional:function(){var g=this._vnode.fnOptions;return g&&g.functional},getTag:function(){return this.tag||this.element},updateOptions:function(g){for(var m in g){var O=Object(x.a)(m);V.indexOf(O)===-1&&this._sortable.option(O,g[m])}},getChildrenNodes:function(){if(this.noneFunctionalComponentMode)return this.$children[0].$slots.default;var g=this.$slots.default;return this.transitionMode?g[0].child.$slots.default:g},computeIndexes:function(){var g=this;this.$nextTick(function(){g.visibleIndexes=C(g.getChildrenNodes(),g.rootContainer.children,g.transitionMode,g.footerOffset)})},getUnderlyingVm:function(g){var m=_(this.getChildrenNodes()||[],g);if(m===-1)return null;var O=this.realList[m];return{index:m,element:O}},getUnderlyingPotencialDraggableComponent:function(g){var m=g.__vue__;return!m||!m.$options||!A(m.$options._componentTag)?!("realList"in m)&&m.$children.length===1&&"realList"in m.$children[0]?m.$children[0]:m:m.$parent},emitChanges:function(g){var m=this;this.$nextTick(function(){m.$emit("change",g)})},alterList:function(g){if(this.list){g(this.list);return}var m=y(this.value);g(m),this.$emit("input",m)},spliceList:function(){var g=arguments,m=function(N){return N.splice.apply(N,y(g))};this.alterList(m)},updatePosition:function(g,m){var O=function(B){return B.splice(m,0,B.splice(g,1)[0])};this.alterList(O)},getRelatedContextFromMoveEvent:function(g){var m=g.to,O=g.related,N=this.getUnderlyingPotencialDraggableComponent(m);if(!N)return{component:N};var B=N.realList,z={list:B,component:N};if(m!==O&&B&&N.getUnderlyingVm){var et=N.getUnderlyingVm(O);if(et)return Object.assign(et,z)}return z},getVmIndex:function(g){var m=this.visibleIndexes,O=m.length;return g>O-1?O:m[g]},getComponent:function(){return this.$slots.default[0].componentInstance},resetTransitionData:function(g){if(!(!this.noTransitionOnDrag||!this.transitionMode)){var m=this.getChildrenNodes();m[g].data=null;var O=this.getComponent();O.children=[],O.kept=void 0}},onDragStart:function(g){this.context=this.getUnderlyingVm(g.item),g.item._underlying_vm_=this.clone(this.context.element),G=g.item},onDragAdd:function(g){var m=g.item._underlying_vm_;if(m!==void 0){Object(x.d)(g.item);var O=this.getVmIndex(g.newIndex);this.spliceList(O,0,m),this.computeIndexes();var N={element:m,newIndex:O};this.emitChanges({added:N})}},onDragRemove:function(g){if(Object(x.c)(this.rootContainer,g.item,g.oldIndex),g.pullMode==="clone"){Object(x.d)(g.clone);return}var m=this.context.index;this.spliceList(m,1);var O={element:this.context.element,oldIndex:m};this.resetTransitionData(m),this.emitChanges({removed:O})},onDragUpdate:function(g){Object(x.d)(g.item),Object(x.c)(g.from,g.item,g.oldIndex);var m=this.context.index,O=this.getVmIndex(g.newIndex);this.updatePosition(m,O);var N={element:this.context.element,oldIndex:m,newIndex:O};this.emitChanges({moved:N})},updateProperty:function(g,m){g.hasOwnProperty(m)&&(g[m]+=this.headerOffset)},computeFutureIndex:function(g,m){if(!g.element)return 0;var O=y(m.to.children).filter(function(et){return et.style.display!=="none"}),N=O.indexOf(m.related),B=g.component.getVmIndex(N),z=O.indexOf(G)!==-1;return z||!m.willInsertAfter?B:B+1},onDragMove:function(g,m){var O=this.move;if(!O||!this.realList)return!0;var N=this.getRelatedContextFromMoveEvent(g),B=this.context,z=this.computeFutureIndex(N,g);Object.assign(B,{futureIndex:z});var et=Object.assign({},g,{relatedContext:N,draggedContext:B});return O(et,m)},onDragEnd:function(){this.computeIndexes(),G=null}}};typeof window<"u"&&"Vue"in window&&window.Vue.component("draggable",dt);var lt=dt;s.default=lt}}).default})})(Ro);const br=ba(Ro.exports);var yr=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-eye-off",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M12 6a9.77 9.77 0 0 1 8.82 5.5 9.647 9.647 0 0 1-2.41 3.12l1.41 1.41c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l1.65 1.65C10.66 6.09 11.32 6 12 6zm-1.07 1.14L13 9.21c.57.25 1.03.71 1.28 1.28l2.07 2.07c.08-.34.14-.7.14-1.07C16.5 9.01 14.48 7 12 7c-.37 0-.72.05-1.07.14zM2.01 3.87l2.68 2.68A11.738 11.738 0 0 0 1 11.5C2.73 15.89 7 19 12 19c1.52 0 2.98-.29 4.32-.82l3.42 3.42 1.41-1.41L3.42 2.45 2.01 3.87zm7.5 7.5 2.61 2.61c-.04.01-.08.02-.12.02a2.5 2.5 0 0 1-2.5-2.5c0-.05.01-.08.01-.13zm-3.4-3.4 1.75 1.75a4.6 4.6 0 0 0-.36 1.78 4.507 4.507 0 0 0 6.27 4.14l.98.98c-.88.24-1.8.38-2.75.38a9.77 9.77 0 0 1-8.82-5.5c.7-1.43 1.72-2.61 2.93-3.53z",fill:"currentColor"}})])},$r=[];const wr={},qn={};var xr=pt(wr,yr,$r,!1,Sr,null,null,null);function Sr(n){for(let t in qn)this[t]=qn[t]}const _r=function(){return xr.exports}();var Cr=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("svg",{staticClass:"aioseo-link",attrs:{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M17 7h-4v2h4c1.65 0 3 1.35 3 3s-1.35 3-3 3h-4v2h4c2.76 0 5-2.24 5-5s-2.24-5-5-5zm-6 8H7c-1.65 0-3-1.35-3-3s1.35-3 3-3h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-2zm-3-4h8v2H8z",fill:"currentColor"}})])},Or=[];const Ir={},to={};var Er=pt(Ir,Cr,Or,!1,Tr,null,null,null);function Tr(n){for(let t in to)this[t]=to[t]}const Lr=function(){return Er.exports}();var Qo=function(n,t,o,e){var s;t[0]=0;for(var a=1;a<t.length;a++){var i=t[a++],r=t[a]?(t[0]|=i?1:2,o[t[a++]]):t[++a];i===3?e[0]=r:i===4?e[1]=Object.assign(e[1]||{},r):i===5?(e[1]=e[1]||{})[t[++a]]=r:i===6?e[1][t[++a]]+=r+"":i?(s=n.apply(r,Qo(n,r,o,["",null])),e.push(s),r[0]?t[0]|=2:(t[a-2]=0,t[a]=s)):e.push(r)}return e},eo=new Map;function Dr(n){var t=eo.get(this);return t||(t=new Map,eo.set(this,t)),(t=Qo(this,t.get(n)||(t.set(n,t=function(o){for(var e,s,a=1,i="",r="",l=[0],c=function(f){a===1&&(f||(i=i.replace(/^\s*\n\s*|\s*\n\s*$/g,"")))?l.push(0,f,i):a===3&&(f||i)?(l.push(3,f,i),a=2):a===2&&i==="..."&&f?l.push(4,f,0):a===2&&i&&!f?l.push(5,0,!0,i):a>=5&&((i||!f&&a===5)&&(l.push(a,0,i,s),a=6),f&&(l.push(a,f,0,s),a=6)),i=""},d=0;d<o.length;d++){d&&(a===1&&c(),c(d));for(var u=0;u<o[d].length;u++)e=o[d][u],a===1?e==="<"?(c(),l=[l],a=3):i+=e:a===4?i==="--"&&e===">"?(a=1,i=""):i=e+i[0]:r?e===r?r="":i+=e:e==='"'||e==="'"?r=e:e===">"?(c(),a=1):a&&(e==="="?(a=5,s=i,i=""):e==="/"&&(a<5||o[d][u+1]===">")?(c(),a===3&&(l=l[0]),a=l,(l=l[0]).push(2,0,a),a=0):e===" "||e===" "||e===`
|
9 |
-
`||e==="\r"?(c(),a=2):i+=e),a===3&&i==="!--"&&(a=4,l=l[0])}return c(),l}(n)),t),arguments,[])).length>1?t:t[0]}const ee=Dr.bind(window.wp.element.createElement),_n=n=>Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),nn=(n,t)=>{function o(){if(n.length!==t.length)return!1;for(let r=0;r<n.length;r++)if(!nn(n[r],t[r]))return!1;return!0}function e(){if(Object.keys(n).length!==Object.keys(t).length)return!1;for(const r in n)if(Object.prototype.hasOwnProperty.call(n,r)&&!nn(n[r],t[r]))return!1;return!0}function s(){return n.toString()===t.toString()}function a(){return n===t}const i=_n(n);return i!==_n(t)?!1:i==="array"?o():i==="object"?e():i==="function"?s():a()},Xt=n=>{const t=l=>{for(const c in n)Object.prototype.hasOwnProperty.call(n,c)&&(l[c]=Xt(n[c]))},o=()=>{const l={};return t(l),l},e=()=>n.map(function(l){return Xt(l)}),s=()=>{const l=new Map;for(const[c,d]of n)l.set(c,Xt(d));return l},a=()=>{const l=new Set;for(const c of n)l.add(Xt(c));return l},i=()=>{const l=n.bind(globalThis);return t(l),l},r=_n(n);return r==="object"?o():r==="array"?e():r==="map"?s():r==="set"?a():r==="function"?i():n},Jo=(n,t=!1)=>{const{body:o}=document.implementation.createHTMLDocument("");o.innerHTML=n;const e=o.getElementsByTagName("*");let s=e.length;for(;s--;){const a=e[s];if(a.tagName==="SCRIPT")a.parentNode.removeChild(a);else{let i=a.attributes.length;for(;i--;){const{name:r}=a.attributes[i];r.startsWith("on")&&a.removeAttribute(r)}}}return t?o.textContent.trim():o.innerHTML},Ar=()=>"aioseo-"+new Date().getTime().toString(36),Wt=n=>{var e;const t=[],o=[...n];for(;o.length;){const{...s}=o.shift();(e=s.headings)!=null&&e.length&&o.unshift(...s.headings),s.headings=[],t.push(s)}return t},Pr=n=>{const t=(e,s="root")=>{const a={[s]:[]};return e.forEach(i=>{a[s].push(i.blockClientId),Object.assign(a,t(i.headings,i.blockClientId))}),a},o=t([...n]);return n=Wt([...n]),Object.entries(o).forEach(([e,s])=>{!s.length||(e==="root"?s.map(a=>{const i=n.findIndex(r=>r.blockClientId===a);return n[i].editedLevel=1,a}):s.map(a=>{const i=n.findIndex(l=>l.blockClientId===e),r=n.findIndex(l=>l.blockClientId===a);return n[r].editedLevel=n[i].editedLevel+1,a}))}),n.forEach((e,s)=>{e.editedOrder=s+1}),n.sort((e,s)=>e.editedOrder-s.editedOrder)},an=n=>{const t=[];let o=[],e=-1;if(n.length===0)return[];n=Wt([...n]);const s=()=>{0<o.length&&(t[t.length-1].headings=an(o))};return n.forEach(a=>{a={...a};const i=a.editedLevel||a.level;if(e!==-1&&e<i){o.push(a);return}s(),e=i,t.push(a),o=[]}),s(),t};var Mr=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("Draggable",n._b({staticClass:"aioseo-toc-list",class:[{orderable:this.allowReorder}],attrs:{handle:".aioseo-drag-handle",list:n.headings},on:{input:function(e){return n.$emit("input",e)},change:function(e){return n.setReorder(e)}}},"Draggable",n.dragOptions,!1),n._l(n.headings,function(e,s){return o("li",{key:s,class:["aioseo-toc-list-item",{"heading-hidden":e.hidden}]},[o("div",{staticClass:"aioseo-toc-list-item__inner"},[n.allowReorder?o("button",{staticClass:"aioseo-drag-handle has-icon"},[o("Drag")],1):n._e(),o("base-input",{staticClass:"row-input row-input--content",attrs:{value:e.editedContent||e.content,placeholder:e.content},on:{input:function(a){return n.setEditedContent(a,s)}},scopedSlots:n._u([{key:"append-icon",fn:function(){return[n.allowReorder?n._e():o("div",{staticClass:"append-icon"},[o("toc-link",{nativeOn:{click:function(a){return n.handleAnchorInput.apply(null,arguments)}}})],1)]},proxy:!0}],null,!0)}),n.allowReorder?n._e():o("base-input",{staticClass:"row-input row-input--anchor",attrs:{spellcheck:!1,value:e.anchor},on:{input:function(a){return n.setAnchor(a,s)}},scopedSlots:n._u([{key:"append-icon",fn:function(){return[o("div",{staticClass:"append-icon"},[o("core-tooltip",{scopedSlots:n._u([{key:"tooltip",fn:function(){return[o("p",{staticClass:"aioseo-tooltip__header"},[n._v(n._s(n.strings.tooltipHeader))]),o("p",[n._v(n._s(n.strings.tooltipDescription))])]},proxy:!0}],null,!0)},[o("Info")],1),o("Close",{nativeOn:{click:function(a){return n.handleAnchorInput.apply(null,arguments)}}})],1)]},proxy:!0}],null,!0)}),n.allowReorder?n._e():o("button",{class:[{active:e.hidden},"aioseo-hide-heading-toggle","has-icon"],on:{click:function(a){return n.setHiddenStatus(e)}}},[e.hidden?o("EyeOff"):o("Eye")],1),e.headings?o("List",{staticClass:"aioseo-toc-list-nested",attrs:{headings:e.headings,allowReorder:n.allowReorder}}):n._e()],1)])}),0)},Nr=[];const kr={name:"List",components:{Close:Lo,CoreTooltip:On,Drag:Bi,Draggable:br,Eye:ya,EyeOff:_r,Info:jo,TocLink:Lr},props:{headings:{required:!0,type:Array},allowReorder:{required:!1,type:Boolean,default(){return!1}}},data(){return{showAnchorField:-1,strings:{tooltipHeader:this.$t.__("Edit HTML Anchor:",this.$tdPro),tooltipDescription:this.$t.sprintf(this.$t.__("The HTML anchor allows %1$s to link directly to your header from this table of contents block. Feel free to edit if you want, but an anchor is required. For headings without an anchor, %1$s will automatically generate them.",this.$tdPro),"AIOSEO")}}},computed:{...Cn(["listStyle"]),dragOptions(){return{tag:this.listStyle,animation:300,group:"description",disabled:!this.allowReorder,ghostClass:"aioseo-drag-ghost",dragClass:"aioseo-dragging"}}},methods:{...To(["setHeadings"]),setEditedContent(n,t){if(n===this.headings[t].content){this.headings[t].editedContent="";return}this.headings[t].editedContent=Jo(n,!0)},setReorder(){this.$store.state.reOrdered=!0;const n=Pr(Xt(this.$store.state.headings));window.aioseoBus.$emit("updateHeadings"+this.$store.state.blockClientId,n)},setAnchor(n,t){this.headings[t].anchor=bn(n),n||(this.headings[t].anchor="aioseo-"+bn(this.headings[t].content));const o=this.headings[t].blockClientId;!window.wp.data.select("core/block-editor").getBlock(o)||window.wp.data.dispatch("core/block-editor").updateBlockAttributes(o,{anchor:this.headings[t].anchor})},setHiddenStatus(n){n.hidden=!n.hidden,n.editedLevel===9?n.editedLevel=0:n.editedLevel=9,this.setHeadings(an([...this.$store.state.headings]))},handleAnchorInput(n){const t=n.target.closest(".aioseo-toc-list-item"),o=t==null?void 0:t.querySelector(".row-input--anchor input");!o||(t.classList.contains("anchor-edit")?(t.classList.add("anchor-is-animating"),t.classList.remove("anchor-edit"),t.classList.remove("done"),o.addEventListener("animationend",function e(){t.classList.remove("anchor-is-animating"),t.removeEventListener("animationend",e,!1)})):(o.focus({preventScroll:!0}),t.classList.add("anchor-edit","anchor-is-animating"),o.addEventListener("animationend",function e(){t.classList.remove("anchor-is-animating"),t.classList.add("done"),o.removeEventListener("animationend",e,!1)})))}}},no={};var Br=pt(kr,Mr,Nr,!1,jr,null,null,null);function jr(n){for(let t in no)this[t]=no[t]}const Rr=function(){return Br.exports}();var Hr=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o(n.listStyle,{tag:"component",staticClass:"aioseo-toc-list--rendered"},n._l(n.headings,function(e,s){return o("li",{key:s,staticClass:"aioseo-toc-list-item--rendered",class:[{hidden:e.hidden}]},[o("a",{attrs:{href:`#${e.anchor}`}},[n._v(n._s(e.editedContent||e.content))]),e.headings?o("ListRendered",{staticClass:"aioseo-toc-list-nested--rendered",attrs:{headings:e.headings}}):n._e()],1)}),0)},Fr=[];const Vr={name:"ListRendered",props:{headings:{required:!0,type:Array}},computed:{...Cn(["listStyle"])}},oo={};var zr=pt(Vr,Hr,Fr,!1,Ur,null,null,null);function Ur(n){for(let t in oo)this[t]=oo[t]}const Wr=function(){return zr.exports}();var Gr=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("core-modal-portal",{attrs:{classes:["aioseo-toc-modal-lite"]},on:{close:function(e){return n.$emit("closeModal")}},scopedSlots:n._u([{key:"body",fn:function(){return[o("cta",{attrs:{type:1,floating:!1,"cta-link":n.$links.utmUrl("toc-block"),"button-text":"Upgrade to Pro and Unlock Reordering","learn-more-link":n.$links.getUpsellUrl("toc-block",null,"reorder-modal")},scopedSlots:n._u([{key:"header-text",fn:function(){return[n._v(" "+n._s(n.strings.header)+" ")]},proxy:!0},{key:"description",fn:function(){return[n._v(" "+n._s(n.strings.description)+" ")]},proxy:!0}])})]},proxy:!0}])})},Xr=[];const{__:ao,sprintf:Yr}=window.wp.i18n,so="all-in-one-seo-pack",Zr={components:{CoreModalPortal:$a,Cta:wa},data(){return{strings:{header:Yr(ao("This feature is available only for %1$s users",so),"AIOSEO Pro"),description:ao("Reordering the headings in the Table of Contents block is a feature that can only be used by Pro users. Upgrade to Pro to unlock this advanced functionality.",so)}}}},io={};var Kr=pt(Zr,Gr,Xr,!1,Qr,null,null,null);function Qr(n){for(let t in io)this[t]=io[t]}const Jr=function(){return Kr.exports}(),Ze={editedContent:"",editedLevel:0,editedOrder:0,hidden:!1,headings:[]};var qr=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-toc-container"},[o("div",{class:["aioseo-toc-menu",{"aioseo-toc-placeholder":n.headings.length===0}]},[o("header",{staticClass:"aioseo-toc-header"},[o("div",{staticClass:"aioseo-toc-header-title"},[n._v(" "+n._s(n.strings.header)+" "),o("core-tooltip",{attrs:{placement:"bottom"},scopedSlots:n._u([{key:"tooltip",fn:function(){return[o("p",[n._v(n._s(n.strings.tooltipMainDescription))])]},proxy:!0}])},[o("Info")],1)],1),n.headings.length===0?o("div",{staticClass:"aioseo-toc-header-instructions"},[n._v(" "+n._s(n.strings.instructions)+" ")]):n._e(),n.headings.length!==0?o("div",{staticClass:"aioseo-toc-header-buttons"},[o("a",{staticClass:"aioseo-button-link",attrs:{href:"#"},on:{click:function(e){n.showModal=!0}}},[n._v(" "+n._s(n.strings.reorder)+" ")]),o("a",{staticClass:"aioseo-button-link",attrs:{href:"#"},on:{click:n.save}},[n._v(" "+n._s(n.strings.done)+" ")])]):n._e()]),n.headings.length!==0?o("div",{staticClass:"aioseo-toc-content"},[o("List",{attrs:{headings:n.headings}})],1):n._e(),n.showModal?o("Reorder",{attrs:{headings:n.headings},on:{closeModal:function(e){n.showModal=!1}}}):n._e()],1),n.headings.length!==0?o("ListRendered",{attrs:{headings:n.headings}}):n._e()],1)},tl=[];const{__:Fe,sprintf:el}=window.wp.i18n,Ve="all-in-one-seo-pack",nl={components:{CoreTooltip:On,Info:jo,List:Rr,ListRendered:Wr,Reorder:Jr},data(){return{showModal:!1,strings:{header:el(Fe("%1$s Table of Contents",Ve),"AIOSEO"),instructions:this.$t.__("Add a heading block below to begin generating the Table of Contents.",this.$tdPro),tooltipMainDescription:this.$t.sprintf(this.$t.__("%1$s can automatically output a table of contents based on your heading tags below. Search engines sometimes use table of contents in search results or rich snippets which can help you increase your rankings.",this.$tdPro),"AIOSEO"),reorder:Fe("Reorder",Ve),save:Fe("Save",Ve),done:Fe("Done",Ve)}}},computed:{...Cn(["blockClientId","headings","reOrdered"])},methods:{...To(["setHeadings"]),save(n){const t=n.target.closest(".wp-block");t==null||t.classList.remove("is-selected")},setDefaultHeadingProps(n){return Object.keys(Ze).forEach(t=>{n[t]=Ze[t]}),n},updateHeadings(n){const t=Wt(Xt(this.headings));let o=n.map(e=>this.setDefaultHeadingProps(e));t.forEach(e=>{const s=o.findIndex(a=>a.blockClientId===e.blockClientId);s!==-1&&(Object.keys(Ze).forEach(a=>{o[s][a]=e[a]}),o[s].editedContent===o[s].content&&(o[s].editedContent=""),o[s].hidden?o[s].editedLevel=9:o[s].editedLevel===9&&(o[s].editedLevel=0))}),this.$store.state.reOrdered?0<o.length-t.length&&(o.sort((e,s)=>e.id-s.id),o.forEach((e,s)=>{e.editedOrder||(e.editedOrder=s+1)}),o.sort((e,s)=>e.editedOrder-s.editedOrder)):o.sort((e,s)=>e.id-s.id),o=an(o),this.setHeadings(o)}},watch:{headings:{handler(n){window.aioseoBus.$emit("setAttributes"+this.blockClientId,n)},deep:!0},reOrdered:{handler(n){window.aioseoBus.$emit("setAttributes"+this.blockClientId,n)}}},mounted(){window.aioseoBus.$on("updateHeadings"+this.blockClientId,n=>{this.updateHeadings(n)})}},ro={};var ol=pt(nl,qr,tl,!1,al,null,null,null);function al(n){for(let t in ro)this[t]=ro[t]}const sl=function(){return ol.exports}(),{__:lo}=window.wp.i18n,{InspectorControls:co}=window.wp.blockEditor,{PanelBody:uo,SelectControl:il}=window.wp.components,fo="all-in-one-seo-pack",rl=n=>{const{setAttributes:t,attributes:{listStyle:o}}=n;return ee`
|
10 |
-
<${co}>
|
11 |
-
<${uo} title=${lo("Table of Contents Settings",fo)}>
|
12 |
-
<${il}
|
13 |
-
label=${lo("List Style",fo)}
|
14 |
-
options=${[{label:"Bullets",value:"ul"},{label:"Numbers",value:"ol"}]}
|
15 |
-
value=${o}
|
16 |
-
onChange=${e=>{bt.state.listStyle=e,t({listStyle:e})}}
|
17 |
-
/>
|
18 |
-
</${uo}>
|
19 |
-
</${co}>
|
20 |
-
`},{useSelect:ll}=window.wp.data,qo=window.wp.blockEditor.store,{isTyping:cl}=window.wp.data.select(qo),ho=[];let ze=[];function dl(n){const{setAttributes:t,attributes:o,clientId:e,className:s,isSelected:a}=n,i=`aioseo-${e}`;if(!ho.includes(e)&&(a||document.querySelector(`[data-block="${e}"]`))&&(ho.push(e),Dt({id:i,parent:document.querySelector(".block-editor"),subtree:!0,done:function(r){var l;if(bt.state.blockClientId=e,bt.state.headings=o.headings,bt.state.listStyle=o.listStyle,bt.state.reOrdered=o.reOrdered,new Pt({store:bt,el:r,render:c=>c(sl)}),(l=bt.state.headings)!=null&&l.length){const c=Wt(Xt(bt.state.headings));c.forEach(d=>{const u=ze.find(f=>f.content===d.content&&f.anchor===d.anchor&&f.id===d.id&&f.level===d.level);u&&(d.blockClientId=u.blockClientId)}),bt.state.headings=an(c),t(bt.state)}window.aioseoBus.$on("setAttributes"+e,()=>{t(bt.state)})}})),ze=ll(r=>{var y,I,E,x,S;const{getBlockAttributes:l,getBlockIndex:c,getBlockName:d,getClientIdsWithDescendants:u}=r(qo),f=c(e),v=[];u().forEach(_=>{if(d(_)!=="core/heading"&&d(_)!=="aioseo/faq")return;const C=l(_),F=c(_),L=typeof(C==null?void 0:C.anchor)=="string"&&C.anchor!=="",A=C.level||C.tagName.replace("h","");if(A==="div")return;let T=C.question||C.content||"";T===""||f>F||(T=Jo(T.replace(/(<br *\/?>)+/g," "),!0),!L&&!cl()&&(C.anchor="aioseo-"+bn(T)),v.push({id:F,blockClientId:_,content:T,level:Number(A),anchor:L?C.anchor:""}))}),v.forEach((_,C)=>{_.order=C});const h=(y=Wt(Xt(bt.state.headings)))==null?void 0:y.map(_=>(Object.keys(Ze).forEach(C=>{delete _[C]}),_));return!nn([...v].sort((_,C)=>_.order-C.order),[...h].sort((_,C)=>_.order-C.order))||((E=Wt([...(I=l(e))==null?void 0:I.headings]))==null?void 0:E.length)!==[...v].length||((x=l(e))==null?void 0:x.reOrdered)===!0&&!nn(Wt([...bt.state.headings]).sort((_,C)=>_.editedOrder-C.editedOrder),Wt([...(S=l(e))==null?void 0:S.headings]).sort((_,C)=>_.editedOrder-C.editedOrder))?v:null},[e]),ze!==null){const r=ze.sort((l,c)=>l.editedOrder-c.editedOrder);window.aioseoBus.$emit("updateHeadings"+e,r)}return ee`
|
21 |
-
<div className="${s}">
|
22 |
-
<div id="aioseo-${e}"></div>
|
23 |
-
${rl(n)}
|
24 |
-
</div>
|
25 |
-
`}const{RawHTML:po}=window.wp.element;function ul({attributes:{headings:n,listStyle:t}}){if(!n)return"";const o=ta(n,t);return ee`<${po}>${o}</${po}>`}const ta=(n,t)=>{let o=`<${t}>`;return n.forEach(e=>{var a;if(e.hidden)return;let s="<li>";s+=`<a href="#${e.anchor}">${e.editedContent||e.content}</a>`,(a=e.headings)!=null&&a.length&&(s+=ta(e.headings,t)),s+="</li>",o+=s}),o+=`</${t}>`,o},fl=ee`
|
26 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none"/><path d="M3 9h14V7H3v2zm0 4h14v-2H3v2zm0 4h14v-2H3v2zm16 0h2v-2h-2v2zm0-10v2h2V7h-2zm0 6h2v-2h-2v2z"/></svg>
|
27 |
-
`,{name:hl,title:pl,description:gl,keywords:vl,category:ml,supports:bl,attributes:yl}=Bo,$l={title:pl,description:gl,keywords:vl,category:ml,attributes:yl,icon:fl,supports:bl,edit:dl,save:ul},wl=Object.freeze(Object.defineProperty({__proto__:null,metadata:Bo,name:hl,settings:$l},Symbol.toStringTag,{value:"Module"})),xl="https://schemas.wp.org/wp/5.8/block.json",Sl="aioseo/faq",_l="AIOSEO - FAQ",Cl="Easily add an SEO-friendly Frequently Asked Question (FAQ) to your content.",Ol="text",Il=["accordion","answer","faq","frequently asked questions","knowledge base","question","schema","seo"],El="all-in-one-seo-pack",Tl={hidden:{type:"boolean",default:!1},question:{type:"string",selector:".aioseo-faq-block-question"},schemaBlockId:{type:"string",default:""},tagName:{type:"string",default:"h3"}},Ll={html:!1,anchor:!0,align:["wide","full"],color:{link:!0,__experimentalDefaultControls:{background:!0,text:!0}},typography:{fontSize:!0,lineHeight:!0},spacing:{margin:!0,padding:!0,blockGap:!0}},ea={$schema:xl,name:Sl,title:_l,description:Cl,category:Ol,keywords:Il,textdomain:El,attributes:Tl,supports:Ll},{RichText:Dl,InnerBlocks:Al}=window.wp.blockEditor,{PanelBody:go,SelectControl:Pl,ToggleControl:Ml}=window.wp.components,vo=window.wp.blockEditor.InspectorControls||window.wp.editor.InspectorControls,{__:Mt}=window.wp.i18n,Nt="all-in-one-seo-pack",Nl=[["core/paragraph",{placeholder:Mt("Write an answer...",Nt)}]],kl=["core/paragraph","core/heading","core/list","core/image","core/media-text"],Bl=(n,t,o)=>{const{hidden:e,question:s,tagName:a}=t,i=ia.getUpsellLink("faq-block",Mt("Click here to get",Nt)+" AIOSEO Pro","sidebar",!0);return ee`
|
28 |
-
<div data-schema-only="${e}" className="${n}">
|
29 |
-
<${vo}>
|
30 |
-
<${go} title=${Mt("FAQ Options",Nt)}>
|
31 |
-
<${Pl}
|
32 |
-
label=${Mt("Title Wrapper",Nt)}
|
33 |
-
options=${[{label:"DIV",value:"div"},{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"}]}
|
34 |
-
value=${a}
|
35 |
-
onChange=${r=>o({tagName:r})}
|
36 |
-
/>
|
37 |
-
|
38 |
-
<p className="aioseo-visibility-label">${Mt("Visibility",Nt)}</p>
|
39 |
-
<${Ml}
|
40 |
-
className="aioseo-faq-visibility"
|
41 |
-
label=${Mt("Display Block",Nt)}
|
42 |
-
help=${Mt("You can choose to hide this block on the front-end of your site so that visitors won't see it but search engines will still see it.",Nt)}
|
43 |
-
checked=${!e}
|
44 |
-
onChange=${()=>o({hidden:!e})}
|
45 |
-
disabled
|
46 |
-
/>
|
47 |
-
<div className="aioseo-alert aioseo-alert inline-upsell blue medium">
|
48 |
-
<div dangerouslySetInnerHTML=${{__html:Mt("FAQPage schema is a Pro feature.",Nt)+" "+i}}></div>
|
49 |
-
</div>
|
50 |
-
</${go}>
|
51 |
-
</${vo}>
|
52 |
-
<${Dl}
|
53 |
-
tagName=${a}
|
54 |
-
placeholder=${Mt("Write a question...",Nt)}
|
55 |
-
className='aioseo-faq-block-question'
|
56 |
-
value=${s}
|
57 |
-
onChange=${r=>o({question:r})}
|
58 |
-
/>
|
59 |
-
<div className="aioseo-faq-block-answer">
|
60 |
-
<${Al}
|
61 |
-
template=${Nl}
|
62 |
-
allowedBlocks=${kl}
|
63 |
-
/>
|
64 |
-
</div>
|
65 |
-
</div>
|
66 |
-
`},{useSelect:mo}=window.wp.data,bo=window.wp.blockEditor.store,{serialize:jl}=window.wp.blocks,re=[],Rl=n=>{const{body:t}=document.implementation.createHTMLDocument("");t.innerHTML=n;function o(e){var a;const s=e.childNodes;for(const i of s){if((a=i.nodeName)!=null&&a.toLowerCase().includes("comment")&&i.parentNode.removeChild(i),i.attributes)for(const{name:r,value:l}of i.attributes){const c=l.replace(/\s+/g,"").toLowerCase();(!["src","href"].includes(r)||r.startsWith("on")||c.includes("javascript:")||c.includes("data:"))&&i.removeAttribute(r)}o(i)}}return o(t),t.innerHTML.trim().replace(/\s+/g," ")};function Hl(n){const{attributes:t,className:o,clientId:e,setAttributes:s,isSelected:a}=n,{schemaBlockId:i}=t;!re.includes(e)&&!a&&re.push(e);const r=d=>{window.requestAnimationFrame(()=>{s(d)}),window.aioseoBus.$emit("schemaBlockUpdated")};i||r({schemaBlockId:Ar()});const l=mo(d=>{const{getAdjacentBlockClientId:u,getBlockAttributes:f,getBlockName:v,getClientIdsWithDescendants:p,getGlobalBlockCount:h}=d(bo);if(re.includes(e)||2>h("aioseo/faq"))return null;const y=u(e,-1);if(v(y)==="aioseo/faq")return f(y);const I=u(e,1);if(v(I)==="aioseo/faq")return f(I);const x=p().filter(C=>v(C)==="aioseo/faq"),S=x.indexOf(e),_=x[S-1]||x[S+1];return v(_)==="aioseo/faq"?f(_):null},[e,re]);a&&!re.includes(e)&&!t.question&&l&&(re.push(e),window.requestAnimationFrame(()=>{s({backgroundColor:l.backgroundColor,textColor:l.textColor,tagName:l.tagName,hidden:l.hidden,fontSize:l.fontSize,style:l.style})}));const c=mo(d=>{const{getBlocks:u}=d(bo);return(v=>{const p=u(v),h=jl(p);return Rl(h)})(e)},[e]);return r({answer:c}),Bl(o,t,r)}const{RichText:Fl,InnerBlocks:Vl}=window.wp.blockEditor;function zl({attributes:n,className:t}){const{question:o,hidden:e,tagName:s}=n;return ee`
|
67 |
-
<div data-schema-only="${e}" className=${t}>
|
68 |
-
<${Fl.Content}
|
69 |
-
tagName=${s}
|
70 |
-
className="aioseo-faq-block-question"
|
71 |
-
value=${o}
|
72 |
-
/>
|
73 |
-
<div className="aioseo-faq-block-answer">
|
74 |
-
<${Vl.Content} />
|
75 |
-
</div>
|
76 |
-
</div>
|
77 |
-
`}const Ul=ee`
|
78 |
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 15q.425 0 .738-.312.312-.313.312-.738t-.312-.738Q14.425 12.9 14 12.9t-.737.312q-.313.313-.313.738t.313.738Q13.575 15 14 15Zm-.75-3.2h1.5q0-.725.15-1.063.15-.337.7-.887.75-.75 1-1.213.25-.462.25-1.087 0-1.125-.788-1.837Q15.275 5 14 5q-1.025 0-1.787.575-.763.575-1.063 1.525l1.35.55q.225-.625.613-.938Q13.5 6.4 14 6.4q.6 0 .975.337.375.338.375.913 0 .35-.2.662-.2.313-.7.788-.825.725-1.012 1.137-.188.413-.188 1.563ZM8 18q-.825 0-1.412-.587Q6 16.825 6 16V4q0-.825.588-1.413Q7.175 2 8 2h12q.825 0 1.413.587Q22 3.175 22 4v12q0 .825-.587 1.413Q20.825 18 20 18Zm-4 4q-.825 0-1.412-.587Q2 20.825 2 20V6h2v14h14v2Z"/></svg>
|
79 |
-
`,{__:yo}=window.wp.i18n,$o="all-in-one-seo-pack",{name:Wl,title:Gl,description:Xl,category:Yl,supports:Zl,attributes:Kl}=ea,Ql={title:Gl,description:Xl,category:Yl,attributes:Kl,icon:Ul,example:{attributes:{question:yo("Who should use AIOSEO?",$o)},innerBlocks:[{name:"core/paragraph",attributes:{content:yo("All in One SEO is perfect for business owners, bloggers, designers, developers, photographers, and basically everyone else. If you want to optimize your WordPress SEO, then you need to use All in One SEO Pack.",$o)}}]},supports:Zl,edit:Hl,save:zl},Jl=Object.freeze(Object.defineProperty({__proto__:null,metadata:ea,name:Wl,settings:Ql},Symbol.toStringTag,{value:"Module"}));var Oo,Io;if(((Io=(Oo=window.aioseo)==null?void 0:Oo.currentPost)==null?void 0:Io.context)==="post"){let n=[];window.wp.data.subscribe(()=>{t()});const t=An(()=>{const e=window.wp.data.select("core/block-editor").getBlocks();e.length<n.length&&o(),n=e},200);window.aioseoBus.$on("schemaBlockUpdated",()=>{o()});const o=An(()=>{var a;let e=window.wp.data.select("core/block-editor").getBlocks().filter(i=>{var r;return(r=i==null?void 0:i.attributes)==null?void 0:r.schemaBlockId});e=e.map(i=>(i.attributes.type=i.name,i));const s=((a=Dn.currentPost.schema)==null?void 0:a.blockGraphs)||[];s.forEach((i,r)=>{const l=e.findIndex(u=>{var f;return((f=u==null?void 0:u.attributes)==null?void 0:f.schemaBlockId)===(i==null?void 0:i.schemaBlockId)});if(l===-1){s.splice(r,1);return}const c={...e[l].attributes};["backgroundColor","textColor","fontSize","style"].forEach(u=>{delete c[u]}),s[r]=c}),e.forEach(i=>{s.findIndex(l=>{var c;return(l==null?void 0:l.schemaBlockId)===((c=i==null?void 0:i.attributes)==null?void 0:c.schemaBlockId)})===-1&&(i==null?void 0:i.attributes)&&s.push(i.attributes)}),Dn.currentPost.schema.blockGraphs=s},200)}if(sa()){const n=window.wp.element.createElement,t=n("svg",{width:25,height:25,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#434960",d:"M12.434 24c6.627 0 12-5.373 12-12s-5.373-12-12-12c-6.628 0-12 5.373-12 12s5.372 12 12 12zM10.523 4.392a.635.635 0 00-.74-.266 8.07 8.07 0 00-.92.391.659.659 0 00-.337.723l.206 1.041a.746.746 0 01-.264.713 6.293 6.293 0 00-.903.924.717.717 0 01-.698.272l-1.02-.206a.638.638 0 00-.708.346 8.493 8.493 0 00-.38.94.66.66 0 00.263.754l.867.588a.745.745 0 01.307.694 6.54 6.54 0 00.003 1.305.744.744 0 01-.305.695l-.865.591a.661.661 0 00-.26.755c.108.321.236.635.383.94a.638.638 0 00.708.343l1.02-.21a.716.716 0 01.7.27c.267.334.57.643.905.92a.746.746 0 01.266.712L8.55 18.67a.659.659 0 00.34.722 8.045 8.045 0 00.92.388c.458.16 1.097-.413 1.57-.836a1.12 1.12 0 00.379-.82v-1.748c0-.018 0-.036.002-.055-1.397-.34-2.435-1.622-2.435-3.152v-1.85c0-.14.111-.254.25-.254h.864v-1.82c0-.251.2-.455.446-.455a.45.45 0 01.446.455v1.82h2.34v-1.82c0-.251.2-.455.446-.455a.45.45 0 01.446.455v1.82h.865c.138 0 .25.114.25.254v1.85c0 1.578-1.105 2.893-2.569 3.182v1.76c0 .322.149.623.389.832.481.42 1.132.988 1.586.827a8.08 8.08 0 00.921-.391.659.659 0 00.336-.723l-.205-1.042a.746.746 0 01.264-.712c.328-.273.63-.582.902-.924a.717.717 0 01.698-.272l1.02.206a.638.638 0 00.708-.346 8.575 8.575 0 00.38-.94.661.661 0 00-.263-.754l-.867-.588a.745.745 0 01-.307-.694 6.481 6.481 0 00-.003-1.305.745.745 0 01.305-.695l.865-.591a.662.662 0 00.26-.755 8.435 8.435 0 00-.383-.94.638.638 0 00-.708-.343l-1.02.21a.716.716 0 01-.7-.27 6.297 6.297 0 00-.904-.92.747.747 0 01-.267-.712l.202-1.042a.659.659 0 00-.339-.722 8.164 8.164 0 00-.921-.388.635.635 0 00-.74.269l-.575.884a.718.718 0 01-.681.314 6.105 6.105 0 00-1.278.003.718.718 0 01-.682-.311l-.58-.883z"})),{getCategories:o,setCategories:e,registerBlockCollection:s,registerBlockType:a}=window.wp.blocks,i=[...o()];typeof s=="function"?s("aioseo",{title:"AIOSEO",icon:t}):(i.unshift({slug:"aioseo",title:"AIOSEO",icon:t}),e(i));const r=c=>{if(!c)return;const{name:d,settings:u}=c;if(u.icon&&!u.icon.foreground){const f={foreground:"#141B38",src:u.icon};u.icon=f}typeof s=="function"&&u.category==="aioseo"&&(u.category="widgets"),typeof s!="function"&&u.category!=="aioseo"&&(u.category="aioseo"),a(d,u)};(()=>{[Ea,ts,wl,Jl].forEach(r),window.aioseo.localBusiness&&[ps,Es,Vs,Ys,pi].forEach(r)})()}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dist/Lite/assets/connect-pro.1f1d8c2d.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as a,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.4a5acef5.js";import{s as e}from"./js/index.4776f7d5.js";import{_ as c,a as u,s as p,b as _}from"./js/index.4f8167e1.js";import{s as l,_ as m}from"./js/default-i18n.0e73c33c.js";import"./js/client.d00863cc.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.9efee5f7.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var f=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-app"},[o("router-view")],1)},v=[];const d={},r={};var y=a(d,f,v,!1,h,null,null,null);function h(n){for(let t in r)this[t]=r[t]}const g=function(){return y.exports}(),w="all-in-one-seo-pack",A=n=>()=>c(Object.assign({"../views/Main.vue":()=>u(()=>import("./js/Main.37557abd.js"),["js/Main.37557abd.js","css/Main.26919e37.css","js/AnimatedDannie.be0eaedf.js","css/AnimatedDannie.c822644d.css","js/vueComponentNormalizer.58b0a173.js","js/Card.a455f6aa.js","css/Card.1dc33bd1.css","js/index.4776f7d5.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/Tooltip.060399ab.js","css/Tooltip.bd3175b4.css","js/_commonjsHelpers.10c44588.js","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/Slide.8aaa5049.js","js/Header.bd1b4a42.js","css/Header.934e9974.css","js/WpTable.8ff25002.js","css/WpTable.11c3c1d3.css","js/attachments.52d4e34c.js","js/cleanForSlug.788b395f.js","js/params.bea1a08d.js","js/LicenseKeyBar.1eaa4b0d.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.fa7af154.js","js/AnimatedNumber.fb66de3f.js","js/Logo.a7c6e95c.js"],import.meta.url)}),`../views/${n}.vue`),x=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:l(m("Connect with %1$s",w),"AIOSEO")}}],s=p(x);_(e,s);new i({router:s,store:e,render:n=>n(g)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/connect-pro.41782a1e.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as a,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{s as e}from"./js/index.f16c040b.js";import{_ as c,a as u,s as p,b as _}from"./js/index.8e416a7c.js";import{s as l,_ as m}from"./js/default-i18n.0e73c33c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var f=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-app"},[o("router-view")],1)},v=[];const d={},r={};var y=a(d,f,v,!1,h,null,null,null);function h(n){for(let t in r)this[t]=r[t]}const g=function(){return y.exports}(),w="all-in-one-seo-pack",A=n=>()=>c(Object.assign({"../views/Main.vue":()=>u(()=>import("./js/Main.751f1dec.js"),["js/Main.751f1dec.js","css/Main.26919e37.css","js/AnimatedDannie.32d2caa3.js","css/AnimatedDannie.c822644d.css","js/vueComponentNormalizer.58b0a173.js","js/Card.1a6f5bab.js","css/Card.1dc33bd1.css","js/index.f16c040b.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/Tooltip.a36a3967.js","css/Tooltip.bd3175b4.css","js/_commonjsHelpers.10c44588.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/translations.3bc9d58c.js","js/constants.71b051da.js","js/portal-vue.esm.272b3133.js","js/Slide.01023b2f.js","js/Header.ba91dc6e.js","css/Header.934e9974.css","js/WpTable.078239fd.js","css/WpTable.11c3c1d3.css","js/attachments.0f69322e.js","js/cleanForSlug.41bbbaec.js","js/params.bea1a08d.js","js/LicenseKeyBar.ddce09ea.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.99a79064.js","js/AnimatedNumber.1915b2fc.js","js/Logo.97285076.js"],import.meta.url)}),`../views/${n}.vue`),x=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:l(m("Connect with %1$s",w),"AIOSEO")}}],s=p(x);_(e,s);new i({router:s,store:e,render:n=>n(g)}).$mount("#aioseo-app");
|
dist/Lite/assets/connect.6de8dd6b.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as a,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.4a5acef5.js";import{s as e}from"./js/index.4776f7d5.js";import{_ as c,a as u,s as p,b as _}from"./js/index.4f8167e1.js";import{s as l,_ as m}from"./js/default-i18n.0e73c33c.js";import"./js/client.d00863cc.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.9efee5f7.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var f=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-app"},[o("router-view")],1)},v=[];const d={},r={};var y=a(d,f,v,!1,h,null,null,null);function h(n){for(let t in r)this[t]=r[t]}const g=function(){return y.exports}(),w="all-in-one-seo-pack",A=n=>()=>c(Object.assign({"../views/Main.vue":()=>u(()=>import("./js/Main.6003446f.js"),["js/Main.6003446f.js","css/Main.26919e37.css","js/AnimatedDannie.be0eaedf.js","css/AnimatedDannie.c822644d.css","js/vueComponentNormalizer.58b0a173.js","js/Card.a455f6aa.js","css/Card.1dc33bd1.css","js/index.4776f7d5.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/Tooltip.060399ab.js","css/Tooltip.bd3175b4.css","js/_commonjsHelpers.10c44588.js","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/Slide.8aaa5049.js","js/Header.bd1b4a42.js","css/Header.934e9974.css","js/WpTable.8ff25002.js","css/WpTable.11c3c1d3.css","js/attachments.52d4e34c.js","js/cleanForSlug.788b395f.js","js/params.bea1a08d.js","js/LicenseKeyBar.1eaa4b0d.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.fa7af154.js","js/AnimatedNumber.fb66de3f.js","js/Logo.a7c6e95c.js"],import.meta.url)}),`../views/${n}.vue`),x=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:l(m("Connect with %1$s",w),"AIOSEO")}}],s=p(x);_(e,s);new i({router:s,store:e,render:n=>n(g)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/connect.e2d23c13.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as a,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{s as e}from"./js/index.f16c040b.js";import{_ as c,a as u,s as p,b as _}from"./js/index.8e416a7c.js";import{s as l,_ as m}from"./js/default-i18n.0e73c33c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var f=function(){var n=this,t=n.$createElement,o=n._self._c||t;return o("div",{staticClass:"aioseo-app"},[o("router-view")],1)},v=[];const d={},r={};var y=a(d,f,v,!1,h,null,null,null);function h(n){for(let t in r)this[t]=r[t]}const g=function(){return y.exports}(),w="all-in-one-seo-pack",A=n=>()=>c(Object.assign({"../views/Main.vue":()=>u(()=>import("./js/Main.c796ae2d.js"),["js/Main.c796ae2d.js","css/Main.26919e37.css","js/AnimatedDannie.32d2caa3.js","css/AnimatedDannie.c822644d.css","js/vueComponentNormalizer.58b0a173.js","js/Card.1a6f5bab.js","css/Card.1dc33bd1.css","js/index.f16c040b.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/Tooltip.a36a3967.js","css/Tooltip.bd3175b4.css","js/_commonjsHelpers.10c44588.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/translations.3bc9d58c.js","js/constants.71b051da.js","js/portal-vue.esm.272b3133.js","js/Slide.01023b2f.js","js/Header.ba91dc6e.js","css/Header.934e9974.css","js/WpTable.078239fd.js","css/WpTable.11c3c1d3.css","js/attachments.0f69322e.js","js/cleanForSlug.41bbbaec.js","js/params.bea1a08d.js","js/LicenseKeyBar.ddce09ea.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.99a79064.js","js/AnimatedNumber.1915b2fc.js","js/Logo.97285076.js"],import.meta.url)}),`../views/${n}.vue`),x=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:l(m("Connect with %1$s",w),"AIOSEO")}}],s=p(x);_(e,s);new i({router:s,store:e,render:n=>n(g)}).$mount("#aioseo-app");
|
dist/Lite/assets/css/{WebmasterTools.277e82d1.css → WebmasterTools.17917145.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
.tool-settings-google-analytics .mi-alert{font-size:16px}.tool-settings-google-analytics .mi-alert .aioseo-alert{display:flex;align-items:center;min-width:100%;max-width:100%}.tool-settings-google-analytics .mi-alert .aioseo-alert>div:first-child{flex:1 0 auto}.tool-settings-index-now .inline-upsell{display:inline-block;margin-top:20px}.tool-settings-index-now .aioseo-index-now-key{display:flex}.aioseo-webmaster-tools .webmaster-tools-description{font-size:16px;margin-bottom:30px}.aioseo-webmaster-tools .webmaster-tools-spacer .aioseo-col div{margin:30px 0;border-bottom:1px solid #E8E8EB}.aioseo-webmaster-tools .tool-toggle{font-size:16px;user-select:none}.aioseo-webmaster-tools .tool-toggle>div{cursor:pointer;height:165px;border:1px solid #E8E8EB;border-radius:3px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#141b38;text-align:center;position:relative}.aioseo-webmaster-tools .tool-toggle>div .logo{flex:1;padding:10px;display:flex;align-items:center}.aioseo-webmaster-tools .tool-toggle>div .logo .logo-svg{max-width:100%;max-height:85px;width:
|
1 |
+
.tool-settings-google-analytics .mi-alert{font-size:16px}.tool-settings-google-analytics .mi-alert .aioseo-alert{display:flex;align-items:center;min-width:100%;max-width:100%}.tool-settings-google-analytics .mi-alert .aioseo-alert>div:first-child{flex:1 0 auto}.tool-settings-index-now .inline-upsell{display:inline-block;margin-top:20px}.tool-settings-index-now .aioseo-index-now-key{display:flex}.aioseo-webmaster-tools .webmaster-tools-description{font-size:16px;margin-bottom:30px}.aioseo-webmaster-tools .webmaster-tools-spacer .aioseo-col div{margin:30px 0;border-bottom:1px solid #E8E8EB}.aioseo-webmaster-tools .tool-toggle{font-size:16px;user-select:none}.aioseo-webmaster-tools .tool-toggle>div{cursor:pointer;height:165px;border:1px solid #E8E8EB;border-radius:3px;padding:20px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#141b38;text-align:center;position:relative}.aioseo-webmaster-tools .tool-toggle>div .logo{flex:1;padding:10px;display:flex;align-items:center}.aioseo-webmaster-tools .tool-toggle>div .logo .logo-svg{max-width:100%;max-height:85px;width:100%;height:100%}.aioseo-webmaster-tools .tool-toggle>div .logo .logo-svg.aioseo-logo-microsoft-clarity{max-height:70px}.aioseo-webmaster-tools .tool-toggle>div.connected svg.aioseo-circle-check-solid{width:21px;height:21px;color:#00aa63;position:absolute;top:10px}[dir=ltr] .aioseo-webmaster-tools .tool-toggle>div.connected svg.aioseo-circle-check-solid{right:10px}[dir=rtl] .aioseo-webmaster-tools .tool-toggle>div.connected svg.aioseo-circle-check-solid{left:10px}.aioseo-webmaster-tools .tool-toggle>div.connected.active svg.aioseo-circle-check-solid{top:9px}[dir=ltr] .aioseo-webmaster-tools .tool-toggle>div.connected.active svg.aioseo-circle-check-solid{right:9px}[dir=rtl] .aioseo-webmaster-tools .tool-toggle>div.connected.active svg.aioseo-circle-check-solid{left:9px}.aioseo-webmaster-tools .tool-toggle>div.active{padding:19px;font-weight:600;border:2px solid #005AE0;box-shadow:0 5px 10px #005ae01a}.aioseo-webmaster-tools .tool-toggle>div.active.connected{border-color:#00aa63}.aioseo-webmaster-tools .tool-settings-slide{width:100%}.aioseo-webmaster-tools .tool-settings-slide .tool-settings>div{padding:15px;background-color:#f9f9fa;border-radius:3px;border-bottom:1px solid #E8E8EB}.aioseo-webmaster-tools .tool-settings-slide .tool-settings>div:last-child{border-bottom:none}.aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-input{max-width:440px}[dir=ltr] .aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-input{margin-right:10px}[dir=rtl] .aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-input{margin-left:10px}.aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-textarea-autosize{max-width:400px}.aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-button svg.aioseo-external{width:14px;height:14px}[dir=ltr] .aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-button svg.aioseo-external{margin-right:10px}[dir=rtl] .aioseo-webmaster-tools .tool-settings-slide .tool-settings .aioseo-button svg.aioseo-external{margin-left:10px}
|
dist/Lite/assets/css/{main.5cb17c3b.css → main.74df67e9.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
.aioseo-exclude-posts{display:block}.aioseo-exclude-posts .aioseo-select{max-width:600px;display:inline-block}[dir=ltr] .aioseo-exclude-posts .aioseo-select{margin-right:10px}[dir=rtl] .aioseo-exclude-posts .aioseo-select{margin-left:10px}.aioseo-exclude-posts .aioseo-select button{display:none}.aioseo-exclude-posts .aioseo-select .multiselect__option{display:flex}.aioseo-exclude-posts .aioseo-select .multiselect__option--highlight .option-title{color:#005ae0}.aioseo-exclude-posts .aioseo-button.gray{margin-top:10px}.aioseo-exclude-posts .option{flex:1 0 auto}.aioseo-exclude-posts .option .option-title{font-weight:500;font-size:16px;color:#141b38}.aioseo-exclude-posts .option .option-title .search-term{font-weight:700}.aioseo-exclude-posts .option .option-details{display:flex;align-items:center;font-size:14px;color:#8c8f9a}[dir=ltr] .aioseo-exclude-posts .option .option-details span{margin-right:15px}[dir=rtl] .aioseo-exclude-posts .option .option-details span{margin-left:15px}.aioseo-exclude-posts .option-permalink{display:flex;align-items:center}.aioseo-exclude-posts .option-permalink svg.aioseo-external{width:15px;height:15px;color:#434960}.aioseo-exclude-posts .multiselect-toggle{padding:10px 13px;width:40px;position:absolute;height:36px;top:2px;text-align:center;z-index:1}[dir=ltr] .aioseo-exclude-posts .multiselect-toggle{right:2px}[dir=rtl] .aioseo-exclude-posts .multiselect-toggle{left:2px}.aioseo-exclude-posts .multiselect-toggle svg.aioseo-add-plus{width:14px;height:14px;color:#000}.aioseo-sidebar-row .aioseo-included-objects-toggle{margin-top:5px}.aioseo-sidebar-row .aioseo-included-objects-toggle .aioseo-included-list{margin-top:8px}.block-editor-block-card{align-items:center}.block-editor-block-card__title.block-editor-block-card__title{margin:0}.aioseo-sidebar-row{margin-bottom:16px}.aioseo-sidebar-row .aioseo-sidebar-title{font-weight:500}.sidebar-row[data-v-7b2079b4]{margin-bottom:16px}.sidebar-row .title[data-v-7b2079b4]{font-weight:700}.sidebar-row.labels .aioseo-input[data-v-7b2079b4]{margin:2px 0 10px}.sidebar-row[data-v-5fc2a0b1]{margin-bottom:16px}.sidebar-row .title[data-v-5fc2a0b1]{font-weight:700}.sidebar-row .aioseo-input[data-v-5fc2a0b1]{margin:3px 0 10px}.sidebar-row{margin-bottom:16px}.sidebar-row .title{font-weight:700}.sidebar-row[data-v-40af2160]{margin-bottom:16px}.sidebar-row .title[data-v-40af2160]{font-weight:700}.sidebar-row.dimensions[data-v-40af2160]{display:flex;flex-direction:row;justify-content:space-between;margin-left:-10px;margin-right:-10px}.sidebar-row.dimensions>div[data-v-40af2160]{padding:0 10px}.sidebar-row.dimensions label[data-v-40af2160]{display:block;padding-bottom:8px}.image-upload .aioseo-input[data-v-40af2160],.image-upload .aioseo-button[data-v-40af2160],.image-upload img[data-v-40af2160]{margin-bottom:8px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list,.aioseo-toc-modal .aioseo-toc-list{margin:0;padding:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list li.aioseo-toc-list-item,.aioseo-toc-modal .aioseo-toc-list li.aioseo-toc-list-item{margin:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list li.aioseo-toc-list-item.heading-hidden,.aioseo-toc-modal .aioseo-toc-list li.aioseo-toc-list-item.heading-hidden{display:block}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol),.aioseo-toc-modal .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol){width:100%}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol),[dir=ltr] .aioseo-toc-modal .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol){padding-left:30px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol),[dir=rtl] .aioseo-toc-modal .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol){padding-right:30px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu svg,.aioseo-toc-modal svg{width:24px;height:24px;fill:currentColor}.wp-block-aioseo-table-of-contents .aioseo-toc-menu button.has-icon,.aioseo-toc-modal button.has-icon{display:inline-flex;align-items:center;justify-content:center;height:48px;width:40px;cursor:pointer;text-decoration:none;text-shadow:none;outline:1px solid transparent;border-width:0;color:#8c8f9a;padding:0;background:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu button.aioseo-hide-heading-toggle,.aioseo-toc-modal button.aioseo-hide-heading-toggle{background-color:#f3f4f5}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .aioseo-toc-list-item__inner,.aioseo-toc-modal .aioseo-toc-list-item .aioseo-toc-list-item__inner{display:flex;flex-wrap:wrap;position:relative}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item>.aioseo-toc-list-item__inner>:not(.aioseo-toc-list),.aioseo-toc-modal .aioseo-toc-list-item>.aioseo-toc-list-item__inner>:not(.aioseo-toc-list){margin-block:4px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input,.aioseo-toc-modal .aioseo-toc-list-item .row-input{position:relative;width:100%;max-width:calc(100% - 40px);transition:opacity .2s}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input:not(:hover,:focus-within),.aioseo-toc-modal .aioseo-toc-list-item .row-input:not(:hover,:focus-within){overflow:hidden}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input input,.aioseo-toc-modal .aioseo-toc-list-item .row-input input{color:#141b38;font-size:16px;line-height:1.25;padding:15px;transition:background-color,border-color,opacity .3s}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor,.aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor{position:absolute;z-index:-1}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor{right:40px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor{left:40px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor input,.aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor input{animation:anchorInputOut .3s ease-out}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon,.aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon{display:flex;align-content:center;justify-content:end;position:absolute;top:1px;width:fit-content;max-height:calc(100% - 2px);opacity:1}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon{right:1px;padding-left:14px;padding-right:16px;border-radius:0 3px 3px 0;background-image:linear-gradient(to right,transparent,rgb(255,255,255) 8px)}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon{left:1px;padding-right:14px;padding-left:16px;border-radius:3px 0 0 3px;background-image:linear-gradient(to left,transparent,rgb(255,255,255) 8px)}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip{margin-left:0}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip{margin-right:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg,.aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg{color:#8c8f9a;width:24px;height:24px;cursor:pointer}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close,.aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close{width:14px;height:14px}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close{margin-right:5px;margin-left:12px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close{margin-left:5px;margin-right:12px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--content,.aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--content{z-index:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor,.aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor{z-index:1}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input{animation:anchorInputIn .3s ease-in}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input{padding-right:78px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input{padding-left:78px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input{overflow:hidden}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input .append-icon,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input .append-icon{opacity:0;transition:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input--anchor,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input--anchor{z-index:1}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating.anchor-edit>.aioseo-toc-list-item__inner>.row-input--content input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating.anchor-edit>.aioseo-toc-list-item__inner>.row-input--content input{animation:contentInputOut .3s ease-out}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating:not(.anchor-edit)>.aioseo-toc-list-item__inner>.row-input--content input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating:not(.anchor-edit)>.aioseo-toc-list-item__inner>.row-input--content input{animation:contentInputIn .3s ease-in}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .heading-hidden>.aioseo-toc-list-item__inner>.row-input,.aioseo-toc-modal .heading-hidden>.aioseo-toc-list-item__inner>.row-input{pointer-events:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .heading-hidden>.aioseo-toc-list-item__inner>.row-input input,.aioseo-toc-modal .heading-hidden>.aioseo-toc-list-item__inner>.row-input input{opacity:.5}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .heading-hidden>.aioseo-toc-list-item__inner>.row-input .append-icon,.aioseo-toc-modal .heading-hidden>.aioseo-toc-list-item__inner>.row-input .append-icon{display:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper,.aioseo-toc-modal .aioseo-tooltip .popper{z-index:100;width:300px;padding:20px;line-height:1.3;font-size:13px;background-color:#fff;border-width:0;box-shadow:0 3px 4.8px #20476645}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper,[dir=ltr] .aioseo-toc-modal .aioseo-tooltip .popper{text-align:left}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper,[dir=rtl] .aioseo-toc-modal .aioseo-tooltip .popper{text-align:right}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper p,.aioseo-toc-modal .aioseo-tooltip .popper p{margin:0;line-height:1.3;font-size:13px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper .aioseo-tooltip__header,.aioseo-toc-modal .aioseo-tooltip .popper .aioseo-tooltip__header{font-weight:700;margin:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper .aioseo-tooltip__header+p,.aioseo-toc-modal .aioseo-tooltip .popper .aioseo-tooltip__header+p{margin-top:1em}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip svg,.aioseo-toc-modal .aioseo-tooltip svg{color:#8c8f9a;cursor:pointer}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input,[dir=ltr] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input{padding-right:48px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input,[dir=rtl] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input{padding-left:48px}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested),[dir=ltr] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested){margin-left:24px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested),[dir=rtl] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested){margin-right:24px}.is-highlighted>.wp-block-aioseo-table-of-contents .aioseo-toc-list-item>.aioseo-toc-list-item__inner>.row-input input,.wp-block-aioseo-table-of-contents .aioseo-toc-list-item.anchor-edit.done:not(:focus-within)>.aioseo-toc-list-item__inner>.row-input input{animation-duration:0s!important}.aioseo-toc-modal .modal-body .heading-hidden{display:none}.aioseo-toc-modal .modal-body li.aioseo-toc-list-item{list-style:none}.aioseo-toc-modal .modal-body li.aioseo-toc-list-item .row-input input{pointer-events:none}.aioseo-toc-modal .modal-body .aioseo-drag-ghost input{color:#004f9d!important;background:#F9F9FA;border-color:transparent;outline-color:transparent;overflow:hidden}.aioseo-toc-modal .modal-body .aioseo-drag-ghost .aioseo-drag{opacity:0}.aioseo-toc-modal .modal-body .aioseo-drag-ghost .aioseo-drag-handle{color:#004f9d!important;opacity:1!important}.aioseo-toc-modal .modal-body .aioseo-dragging input{display:none}.aioseo-toc-modal .modal-body .aioseo-drag-handle{cursor:grab!important}@keyframes anchorInputIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes anchorInputOut{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes contentInputIn{0%{transform:scale(.95);opacity:.3}to{transform:scale(1);opacity:1}}@keyframes contentInputOut{0%{transform:scale(1);opacity:1}to{transform:scale(.95);opacity:.3}}.aioseo-toc-modal-lite .aioseo-cta{border:none;box-shadow:none}.aioseo-toc-modal-lite .modal-mask .modal-wrapper .modal-container .modal-header{height:0;border:none}.modal-mask .modal-wrapper .modal-container{border-radius:4px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu,.aioseo-toc-modal .modal-body{font-family:system-ui,Helvetica,Arial,sans-serif;background-color:#f3f4f5;padding:20px;min-height:70px;border-radius:2px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu a,.wp-block-aioseo-table-of-contents .aioseo-toc-menu p,.wp-block-aioseo-table-of-contents .aioseo-toc-menu li,.wp-block-aioseo-table-of-contents .aioseo-toc-menu button,.wp-block-aioseo-table-of-contents .aioseo-toc-menu input,.wp-block-aioseo-table-of-contents .aioseo-toc-menu header,.aioseo-toc-modal .modal-body a,.aioseo-toc-modal .modal-body p,.aioseo-toc-modal .modal-body li,.aioseo-toc-modal .modal-body button,.aioseo-toc-modal .modal-body input,.aioseo-toc-modal .modal-body header{font-family:inherit;padding:unset;margin:unset;font-size:inherit}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header,.aioseo-toc-modal .modal-body .aioseo-toc-header{display:flex;align-items:center;margin-bottom:25px;flex-wrap:wrap}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header .aioseo-toc-header-title,.aioseo-toc-modal .modal-body .aioseo-toc-header .aioseo-toc-header-title{display:flex;align-items:center;flex:1 0 auto;font-weight:700;font-size:24px;line-height:125%;color:#434960}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header .aioseo-toc-header-instructions,.aioseo-toc-modal .modal-body .aioseo-toc-header .aioseo-toc-header-instructions{color:#2c324c;font-size:16px;margin-bottom:0;margin-top:16px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header .aioseo-toc-header-buttons,.aioseo-toc-modal .modal-body .aioseo-toc-header .aioseo-toc-header-buttons{flex:0 1 auto}.wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link,.aioseo-toc-modal .modal-body a.aioseo-button-link{display:inline-block;padding:8px 12px;border:1px solid #DCDDE1;background-color:#f9f9fa;font-weight:700;text-decoration:none;font-size:12px;color:#2c324c!important;border-radius:4px}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link+.aioseo-button-link,[dir=ltr] .aioseo-toc-modal .modal-body a.aioseo-button-link+.aioseo-button-link{margin-left:10px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link+.aioseo-button-link,[dir=rtl] .aioseo-toc-modal .modal-body a.aioseo-button-link+.aioseo-button-link{margin-right:10px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link:hover,.aioseo-toc-modal .modal-body a.aioseo-button-link:hover{background-color:#fbfbfb}.aioseo-toc-modal .modal-mask .modal-wrapper{font-family:inherit}[dir=ltr] .aioseo-toc-modal .modal-body{padding:20px 28px 20px 10px}[dir=rtl] .aioseo-toc-modal .modal-body{padding:20px 10px 20px 28px}[dir=ltr] .aioseo-toc-modal .modal-body>header{padding-left:10px}[dir=rtl] .aioseo-toc-modal .modal-body>header{padding-right:10px}
|
1 |
+
.aioseo-exclude-posts{display:block}.aioseo-exclude-posts .aioseo-select{max-width:600px;display:inline-block}[dir=ltr] .aioseo-exclude-posts .aioseo-select{margin-right:10px}[dir=rtl] .aioseo-exclude-posts .aioseo-select{margin-left:10px}.aioseo-exclude-posts .aioseo-select button{display:none}.aioseo-exclude-posts .aioseo-select .multiselect__option{display:flex}.aioseo-exclude-posts .aioseo-select .multiselect__option--highlight .option-title{color:#005ae0}.aioseo-exclude-posts .aioseo-button.gray{margin-top:10px}.aioseo-exclude-posts .option{flex:1 0 auto}.aioseo-exclude-posts .option .option-title{font-weight:500;font-size:16px;color:#141b38}.aioseo-exclude-posts .option .option-title .search-term{font-weight:700}.aioseo-exclude-posts .option .option-details{display:flex;align-items:center;font-size:14px;color:#8c8f9a}[dir=ltr] .aioseo-exclude-posts .option .option-details span{margin-right:15px}[dir=rtl] .aioseo-exclude-posts .option .option-details span{margin-left:15px}.aioseo-exclude-posts .option-permalink{display:flex;align-items:center}.aioseo-exclude-posts .option-permalink svg.aioseo-external{width:15px;height:15px;color:#434960}.aioseo-exclude-posts .multiselect-toggle{padding:10px 13px;width:40px;position:absolute;height:36px;top:2px;text-align:center;z-index:1}[dir=ltr] .aioseo-exclude-posts .multiselect-toggle{right:2px}[dir=rtl] .aioseo-exclude-posts .multiselect-toggle{left:2px}.aioseo-exclude-posts .multiselect-toggle svg.aioseo-add-plus{width:14px;height:14px;color:#000}.aioseo-sidebar-row .aioseo-included-objects-toggle{margin-top:5px}.aioseo-sidebar-row .aioseo-included-objects-toggle .aioseo-included-list{margin-top:8px}.block-editor-block-card{align-items:center}.block-editor-block-card__title.block-editor-block-card__title{margin:0}.aioseo-sidebar-row{margin-bottom:16px}.aioseo-sidebar-row .aioseo-sidebar-title{font-weight:500}.sidebar-row[data-v-7b2079b4]{margin-bottom:16px}.sidebar-row .title[data-v-7b2079b4]{font-weight:700}.sidebar-row.labels .aioseo-input[data-v-7b2079b4]{margin:2px 0 10px}.sidebar-row[data-v-5fc2a0b1]{margin-bottom:16px}.sidebar-row .title[data-v-5fc2a0b1]{font-weight:700}.sidebar-row .aioseo-input[data-v-5fc2a0b1]{margin:3px 0 10px}.sidebar-row{margin-bottom:16px}.sidebar-row .title{font-weight:700}.sidebar-row[data-v-40af2160]{margin-bottom:16px}.sidebar-row .title[data-v-40af2160]{font-weight:700}.sidebar-row.dimensions[data-v-40af2160]{display:flex;flex-direction:row;justify-content:space-between;margin-left:-10px;margin-right:-10px}.sidebar-row.dimensions>div[data-v-40af2160]{padding:0 10px}.sidebar-row.dimensions label[data-v-40af2160]{display:block;padding-bottom:8px}.image-upload .aioseo-input[data-v-40af2160],.image-upload .aioseo-button[data-v-40af2160],.image-upload img[data-v-40af2160]{margin-bottom:8px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list,.aioseo-toc-modal .aioseo-toc-list{margin:0;padding:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list li.aioseo-toc-list-item,.aioseo-toc-modal .aioseo-toc-list li.aioseo-toc-list-item{margin:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list li.aioseo-toc-list-item.heading-hidden,.aioseo-toc-modal .aioseo-toc-list li.aioseo-toc-list-item.heading-hidden{display:block}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol),.aioseo-toc-modal .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol){width:100%}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol),[dir=ltr] .aioseo-toc-modal .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol){padding-left:30px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol),[dir=rtl] .aioseo-toc-modal .aioseo-toc-list .aioseo-toc-list-nested:is(ul,ol){padding-right:30px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu svg,.aioseo-toc-modal svg{width:24px;height:24px;fill:currentColor}.wp-block-aioseo-table-of-contents .aioseo-toc-menu button.has-icon,.aioseo-toc-modal button.has-icon{display:inline-flex;align-items:center;justify-content:center;height:48px;width:40px;cursor:pointer;text-decoration:none;text-shadow:none;outline:1px solid transparent;border-width:0;color:#8c8f9a;padding:0;background:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu button.aioseo-hide-heading-toggle,.aioseo-toc-modal button.aioseo-hide-heading-toggle{background-color:#f3f4f5}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .aioseo-toc-list-item__inner,.aioseo-toc-modal .aioseo-toc-list-item .aioseo-toc-list-item__inner{display:flex;flex-wrap:wrap;position:relative}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item>.aioseo-toc-list-item__inner>:not(.aioseo-toc-list),.aioseo-toc-modal .aioseo-toc-list-item>.aioseo-toc-list-item__inner>:not(.aioseo-toc-list){margin-block:4px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input,.aioseo-toc-modal .aioseo-toc-list-item .row-input{position:relative;width:100%;max-width:calc(100% - 40px);transition:opacity .2s}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input:not(:hover,:focus-within),.aioseo-toc-modal .aioseo-toc-list-item .row-input:not(:hover,:focus-within){overflow:hidden}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input input,.aioseo-toc-modal .aioseo-toc-list-item .row-input input{color:#141b38;font-size:16px;line-height:1.25;padding:15px;transition:background-color,border-color,opacity .3s}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor,.aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor{position:absolute;z-index:-1}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor{right:40px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor{left:40px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input.row-input--anchor input,.aioseo-toc-modal .aioseo-toc-list-item .row-input.row-input--anchor input{animation:anchorInputOut .3s ease-out}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon,.aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon{display:flex;align-content:center;justify-content:end;position:absolute;top:1px;width:fit-content;max-height:calc(100% - 2px);opacity:1}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon{right:1px;padding-left:14px;padding-right:16px;border-radius:0 3px 3px 0;background-image:linear-gradient(to right,transparent,rgb(255,255,255) 8px)}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon{left:1px;padding-right:14px;padding-left:16px;border-radius:3px 0 0 3px;background-image:linear-gradient(to left,transparent,rgb(255,255,255) 8px)}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip{margin-left:0}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon .aioseo-tooltip{margin-right:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg,.aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg{color:#8c8f9a;width:24px;height:24px;cursor:pointer}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close,.aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close{width:14px;height:14px}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close{margin-right:5px;margin-left:12px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item .row-input .append-icon svg.aioseo-close{margin-left:5px;margin-right:12px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--content,.aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--content{z-index:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor,.aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor{z-index:1}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input{animation:anchorInputIn .3s ease-in}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input,[dir=ltr] .aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input{padding-right:78px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input,[dir=rtl] .aioseo-toc-modal .aioseo-toc-list-item.anchor-edit>.aioseo-toc-list-item__inner>.row-input.row-input--anchor input{padding-left:78px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input{overflow:hidden}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input .append-icon,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input .append-icon{opacity:0;transition:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input--anchor,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating>.aioseo-toc-list-item__inner>.row-input--anchor{z-index:1}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating.anchor-edit>.aioseo-toc-list-item__inner>.row-input--content input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating.anchor-edit>.aioseo-toc-list-item__inner>.row-input--content input{animation:contentInputOut .3s ease-out}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-list-item.anchor-is-animating:not(.anchor-edit)>.aioseo-toc-list-item__inner>.row-input--content input,.aioseo-toc-modal .aioseo-toc-list-item.anchor-is-animating:not(.anchor-edit)>.aioseo-toc-list-item__inner>.row-input--content input{animation:contentInputIn .3s ease-in}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .heading-hidden>.aioseo-toc-list-item__inner>.row-input,.aioseo-toc-modal .heading-hidden>.aioseo-toc-list-item__inner>.row-input{pointer-events:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .heading-hidden>.aioseo-toc-list-item__inner>.row-input input,.aioseo-toc-modal .heading-hidden>.aioseo-toc-list-item__inner>.row-input input{opacity:.5}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .heading-hidden>.aioseo-toc-list-item__inner>.row-input .append-icon,.aioseo-toc-modal .heading-hidden>.aioseo-toc-list-item__inner>.row-input .append-icon{display:none}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper,.aioseo-toc-modal .aioseo-tooltip .popper{z-index:100;width:300px;padding:20px;line-height:1.3;font-size:13px;background-color:#fff;border-width:0;box-shadow:0 3px 4.8px #20476645}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper,[dir=ltr] .aioseo-toc-modal .aioseo-tooltip .popper{text-align:left}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper,[dir=rtl] .aioseo-toc-modal .aioseo-tooltip .popper{text-align:right}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper p,.aioseo-toc-modal .aioseo-tooltip .popper p{margin:0;line-height:1.3;font-size:13px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper .aioseo-tooltip__header,.aioseo-toc-modal .aioseo-tooltip .popper .aioseo-tooltip__header{font-weight:700;margin:0}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip .popper .aioseo-tooltip__header+p,.aioseo-toc-modal .aioseo-tooltip .popper .aioseo-tooltip__header+p{margin-top:1em}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-tooltip svg,.aioseo-toc-modal .aioseo-tooltip svg{color:#8c8f9a;cursor:pointer}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input,[dir=ltr] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input{padding-right:48px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input,[dir=rtl] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable) .row-input--content input{padding-left:48px}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested),[dir=ltr] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested){margin-left:24px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested),[dir=rtl] .aioseo-toc-modal .aioseo-toc-content>.aioseo-toc-list:not(.orderable):not(.aioseo-toc-list-nested){margin-right:24px}.is-highlighted>.wp-block-aioseo-table-of-contents .aioseo-toc-list-item>.aioseo-toc-list-item__inner>.row-input input,.wp-block-aioseo-table-of-contents .aioseo-toc-list-item.anchor-edit.done:not(:focus-within)>.aioseo-toc-list-item__inner>.row-input input{animation-duration:0s!important}.aioseo-toc-modal .modal-body .heading-hidden{display:none}.aioseo-toc-modal .modal-body li.aioseo-toc-list-item{list-style:none}.aioseo-toc-modal .modal-body li.aioseo-toc-list-item .row-input input{pointer-events:none}.aioseo-toc-modal .modal-body .aioseo-drag-ghost input{color:#004f9d!important;background:#F9F9FA;border-color:transparent;outline-color:transparent;overflow:hidden}.aioseo-toc-modal .modal-body .aioseo-drag-ghost .aioseo-drag{opacity:0}.aioseo-toc-modal .modal-body .aioseo-drag-ghost .aioseo-drag-handle{color:#004f9d!important;opacity:1!important}.aioseo-toc-modal .modal-body .aioseo-dragging input{display:none}.aioseo-toc-modal .modal-body .aioseo-drag-handle{cursor:grab!important}@keyframes anchorInputIn{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes anchorInputOut{0%{transform:translate(0)}to{transform:translate(100%)}}@keyframes contentInputIn{0%{transform:scale(.95);opacity:.3}to{transform:scale(1);opacity:1}}@keyframes contentInputOut{0%{transform:scale(1);opacity:1}to{transform:scale(.95);opacity:.3}}.aioseo-toc-modal-lite .aioseo-cta{border:none;box-shadow:none}.aioseo-toc-modal-lite .modal-mask .modal-wrapper .modal-container .modal-header{height:0;border:none}.modal-mask .modal-wrapper .modal-container{border-radius:4px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu,.aioseo-toc-modal .modal-body{font-family:system-ui,Helvetica,Arial,sans-serif;background-color:#f3f4f5;padding:20px;min-height:70px;border-radius:2px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu a,.wp-block-aioseo-table-of-contents .aioseo-toc-menu p,.wp-block-aioseo-table-of-contents .aioseo-toc-menu li,.wp-block-aioseo-table-of-contents .aioseo-toc-menu button,.wp-block-aioseo-table-of-contents .aioseo-toc-menu input,.wp-block-aioseo-table-of-contents .aioseo-toc-menu header,.aioseo-toc-modal .modal-body a,.aioseo-toc-modal .modal-body p,.aioseo-toc-modal .modal-body li,.aioseo-toc-modal .modal-body button,.aioseo-toc-modal .modal-body input,.aioseo-toc-modal .modal-body header{font-family:inherit;padding:unset;margin:unset;font-size:inherit}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header,.aioseo-toc-modal .modal-body .aioseo-toc-header{display:flex;align-items:center;margin-bottom:25px;flex-wrap:wrap}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header .aioseo-toc-header-title,.aioseo-toc-modal .modal-body .aioseo-toc-header .aioseo-toc-header-title{align-items:center;color:#434960;display:flex;flex:1 0 auto;font-size:24px;font-weight:700;line-height:125%;max-width:100%}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header .aioseo-toc-header-instructions,.aioseo-toc-modal .modal-body .aioseo-toc-header .aioseo-toc-header-instructions{color:#2c324c;font-size:16px;margin-bottom:0;margin-top:16px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu .aioseo-toc-header .aioseo-toc-header-buttons,.aioseo-toc-modal .modal-body .aioseo-toc-header .aioseo-toc-header-buttons{flex:0 1 auto}.wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link,.aioseo-toc-modal .modal-body a.aioseo-button-link{display:inline-block;padding:8px 12px;border:1px solid #DCDDE1;background-color:#f9f9fa;font-weight:700;text-decoration:none;font-size:12px;color:#2c324c!important;border-radius:4px}[dir=ltr] .wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link+.aioseo-button-link,[dir=ltr] .aioseo-toc-modal .modal-body a.aioseo-button-link+.aioseo-button-link{margin-left:10px}[dir=rtl] .wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link+.aioseo-button-link,[dir=rtl] .aioseo-toc-modal .modal-body a.aioseo-button-link+.aioseo-button-link{margin-right:10px}.wp-block-aioseo-table-of-contents .aioseo-toc-menu a.aioseo-button-link:hover,.aioseo-toc-modal .modal-body a.aioseo-button-link:hover{background-color:#fbfbfb}.aioseo-toc-modal .modal-mask .modal-wrapper{font-family:inherit}[dir=ltr] .aioseo-toc-modal .modal-body{padding:20px 28px 20px 10px}[dir=rtl] .aioseo-toc-modal .modal-body{padding:20px 10px 20px 28px}[dir=ltr] .aioseo-toc-modal .modal-body>header{padding-left:10px}[dir=rtl] .aioseo-toc-modal .modal-body>header{padding-right:10px}
|
dist/Lite/assets/{dashboard-widgets.b6ab3f21.js → dashboard-widgets.569cad54.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as O,V as T}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.
|
1 |
+
import{n as O,V as T}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{a as Q,s as X}from"./js/index.f16c040b.js";import{S as j}from"./js/Standalone.c24a3819.js";import{C as rr,a as er}from"./js/Overview.118e93ea.js";import{e as or}from"./js/elemLoaded.b1f6e29c.js";import{c as s}from"./js/_commonjsHelpers.10c44588.js";import"./js/client.b661b356.js";import"./js/translations.3bc9d58c.js";import"./js/default-i18n.0e73c33c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";import"./js/Rocket.ba4418d1.js";import"./js/External.051baee5.js";import"./js/DonutChartWithLegend.44df5353.js";import"./js/AnimatedNumber.1915b2fc.js";var ur=function(){var r=this,e=r.$createElement,o=r._self._c||e;return r.internalOptions.internal?o("div",[o("core-seo-setup",{attrs:{isWpDashboard:!0}})],1):r._e()},nr=[];const ar={mixins:[j],components:{CoreSeoSetup:rr},computed:{...Q(["internalOptions"])}},p={};var tr=O(ar,ur,nr,!1,ir,null,null,null);function ir(r){for(let e in p)this[e]=p[e]}const sr=function(){return tr.exports}();var cr=function(){var r=this,e=r.$createElement,o=r._self._c||e;return o("div",{staticClass:"aioseo-app",staticStyle:{"background-color":"transparent"}},[o("core-overview",{attrs:{isWpDashboard:!0}})],1)},fr=[];const dr={components:{CoreOverview:er},mixins:[j]},b={};var lr=O(dr,cr,fr,!1,pr,null,null,null);function pr(r){for(let e in b)this[e]=b[e]}const br=function(){return lr.exports}();var xr=typeof s=="object"&&s&&s.Object===Object&&s,vr=xr,mr=vr,gr=typeof self=="object"&&self&&self.Object===Object&&self,$r=mr||gr||Function("return this")(),_r=$r,Sr=_r,yr=Sr.Symbol,l=yr;function Rr(r,e){for(var o=-1,n=r==null?0:r.length,u=Array(n);++o<n;)u[o]=e(r[o],o,r);return u}var Ar=Rr,hr=Array.isArray,Cr=hr,x=l,U=Object.prototype,Or=U.hasOwnProperty,Tr=U.toString,i=x?x.toStringTag:void 0;function jr(r){var e=Or.call(r,i),o=r[i];try{r[i]=void 0;var n=!0}catch{}var u=Tr.call(r);return n&&(e?r[i]=o:delete r[i]),u}var Ur=jr,Lr=Object.prototype,Mr=Lr.toString;function Er(r){return Mr.call(r)}var Wr=Er,v=l,kr=Ur,wr=Wr,zr="[object Null]",Ir="[object Undefined]",m=v?v.toStringTag:void 0;function Nr(r){return r==null?r===void 0?Ir:zr:m&&m in Object(r)?kr(r):wr(r)}var Zr=Nr;function Dr(r){return r!=null&&typeof r=="object"}var Fr=Dr,Pr=Zr,Gr=Fr,Hr="[object Symbol]";function Vr(r){return typeof r=="symbol"||Gr(r)&&Pr(r)==Hr}var Jr=Vr,g=l,Yr=Ar,Br=Cr,qr=Jr,Kr=1/0,$=g?g.prototype:void 0,_=$?$.toString:void 0;function L(r){if(typeof r=="string")return r;if(Br(r))return Yr(r,L)+"";if(qr(r))return _?_.call(r):"";var e=r+"";return e=="0"&&1/r==-Kr?"-0":e}var Qr=L,Xr=Qr;function re(r){return r==null?"":Xr(r)}var c=re;function ee(r,e,o){var n=-1,u=r.length;e<0&&(e=-e>u?0:u+e),o=o>u?u:o,o<0&&(o+=u),u=e>o?0:o-e>>>0,e>>>=0;for(var a=Array(u);++n<u;)a[n]=r[n+e];return a}var oe=ee,ue=oe;function ne(r,e,o){var n=r.length;return o=o===void 0?n:o,!e&&o>=n?r:ue(r,e,o)}var ae=ne,te="\\ud800-\\udfff",ie="\\u0300-\\u036f",se="\\ufe20-\\ufe2f",ce="\\u20d0-\\u20ff",fe=ie+se+ce,de="\\ufe0e\\ufe0f",le="\\u200d",pe=RegExp("["+le+te+fe+de+"]");function be(r){return pe.test(r)}var M=be;function xe(r){return r.split("")}var ve=xe,E="\\ud800-\\udfff",me="\\u0300-\\u036f",ge="\\ufe20-\\ufe2f",$e="\\u20d0-\\u20ff",_e=me+ge+$e,Se="\\ufe0e\\ufe0f",ye="["+E+"]",f="["+_e+"]",d="\\ud83c[\\udffb-\\udfff]",Re="(?:"+f+"|"+d+")",W="[^"+E+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",w="[\\ud800-\\udbff][\\udc00-\\udfff]",Ae="\\u200d",z=Re+"?",I="["+Se+"]?",he="(?:"+Ae+"(?:"+[W,k,w].join("|")+")"+I+z+")*",Ce=I+z+he,Oe="(?:"+[W+f+"?",f,k,w,ye].join("|")+")",Te=RegExp(d+"(?="+d+")|"+Oe+Ce,"g");function je(r){return r.match(Te)||[]}var Ue=je,Le=ve,Me=M,Ee=Ue;function We(r){return Me(r)?Ee(r):Le(r)}var ke=We,we=ae,ze=M,Ie=ke,Ne=c;function Ze(r){return function(e){e=Ne(e);var o=ze(e)?Ie(e):void 0,n=o?o[0]:e.charAt(0),u=o?we(o,1).join(""):e.slice(1);return n[r]()+u}}var De=Ze,Fe=De,Pe=Fe("toUpperCase"),Ge=Pe,He=c,Ve=Ge;function Je(r){return Ve(He(r).toLowerCase())}var Ye=Je;function Be(r,e,o,n){var u=-1,a=r==null?0:r.length;for(n&&a&&(o=r[++u]);++u<a;)o=e(o,r[u],u,r);return o}var qe=Be;function Ke(r){return function(e){return r==null?void 0:r[e]}}var Qe=Ke,Xe=Qe,ro={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},eo=Xe(ro),oo=eo,uo=oo,no=c,ao=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,to="\\u0300-\\u036f",io="\\ufe20-\\ufe2f",so="\\u20d0-\\u20ff",co=to+io+so,fo="["+co+"]",lo=RegExp(fo,"g");function po(r){return r=no(r),r&&r.replace(ao,uo).replace(lo,"")}var bo=po,xo=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function vo(r){return r.match(xo)||[]}var mo=vo,go=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function $o(r){return go.test(r)}var _o=$o,N="\\ud800-\\udfff",So="\\u0300-\\u036f",yo="\\ufe20-\\ufe2f",Ro="\\u20d0-\\u20ff",Ao=So+yo+Ro,Z="\\u2700-\\u27bf",D="a-z\\xdf-\\xf6\\xf8-\\xff",ho="\\xac\\xb1\\xd7\\xf7",Co="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Oo="\\u2000-\\u206f",To=" \\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",F="A-Z\\xc0-\\xd6\\xd8-\\xde",jo="\\ufe0e\\ufe0f",P=ho+Co+Oo+To,G="['\u2019]",S="["+P+"]",Uo="["+Ao+"]",H="\\d+",Lo="["+Z+"]",V="["+D+"]",J="[^"+N+P+H+Z+D+F+"]",Mo="\\ud83c[\\udffb-\\udfff]",Eo="(?:"+Uo+"|"+Mo+")",Wo="[^"+N+"]",Y="(?:\\ud83c[\\udde6-\\uddff]){2}",B="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+F+"]",ko="\\u200d",y="(?:"+V+"|"+J+")",wo="(?:"+t+"|"+J+")",R="(?:"+G+"(?:d|ll|m|re|s|t|ve))?",A="(?:"+G+"(?:D|LL|M|RE|S|T|VE))?",q=Eo+"?",K="["+jo+"]?",zo="(?:"+ko+"(?:"+[Wo,Y,B].join("|")+")"+K+q+")*",Io="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",No="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Zo=K+q+zo,Do="(?:"+[Lo,Y,B].join("|")+")"+Zo,Fo=RegExp([t+"?"+V+"+"+R+"(?="+[S,t,"$"].join("|")+")",wo+"+"+A+"(?="+[S,t+y,"$"].join("|")+")",t+"?"+y+"+"+R,t+"+"+A,No,Io,H,Do].join("|"),"g");function Po(r){return r.match(Fo)||[]}var Go=Po,Ho=mo,Vo=_o,Jo=c,Yo=Go;function Bo(r,e,o){return r=Jo(r),e=o?void 0:e,e===void 0?Vo(r)?Yo(r):Ho(r):r.match(e)||[]}var qo=Bo,Ko=qe,Qo=bo,Xo=qo,ru="['\u2019]",eu=RegExp(ru,"g");function ou(r){return function(e){return Ko(Xo(Qo(e).replace(eu,"")),r,"")}}var uu=ou,nu=Ye,au=uu,tu=au(function(r,e,o){return e=e.toLowerCase(),r+(o?nu(e):e)}),h=tu;T.config.productionTip=!1;const iu=[{id:"aioseo-seo-setup-app",component:sr},{id:"aioseo-overview-app",component:br}],C=r=>{new T({store:X,render:e=>e(r.component)}).$mount("#"+r.id)};iu.forEach(r=>{document.getElementById(r.id)?C(r):(or("#"+r.id,h(r.id)),document.addEventListener("animationstart",function(e){h(r.id)===e.animationName&&C(r)},{passive:!0}))});
|
dist/Lite/assets/dashboard.c54aaa5c.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as s,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{s as e}from"./js/index.f16c040b.js";import{_ as c,a as u,s as p,b as _}from"./js/index.8e416a7c.js";import{_ as l}from"./js/default-i18n.0e73c33c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var m=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("div",{staticClass:"aioseo-app"},[o("router-view")],1)},f=[];const v={},r={};var d=s(v,m,f,!1,y,null,null,null);function y(t){for(let n in r)this[n]=r[n]}const h=function(){return d.exports}(),b="all-in-one-seo-pack",g=t=>()=>c(Object.assign({"../views/Main.vue":()=>u(()=>import("./js/Main.a24793a8.js"),["js/Main.a24793a8.js","css/Main.bf481f2b.css","css/main.fca70088.css","js/WpTable.078239fd.js","css/WpTable.11c3c1d3.css","js/index.f16c040b.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/constants.71b051da.js","js/attachments.0f69322e.js","js/cleanForSlug.41bbbaec.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/portal-vue.esm.272b3133.js","js/Card.1a6f5bab.js","css/Card.1dc33bd1.css","js/Tooltip.a36a3967.js","css/Tooltip.bd3175b4.css","js/Slide.01023b2f.js","js/SitemapsPro.a311a6ea.js","css/SitemapsPro.f80c14a5.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/GettingStarted.f3a17054.js","css/GettingStarted.a24ab63f.css","js/Row.89c6bb85.js","css/Row.576b0c57.css","js/Book.942a8cf4.js","js/Rocket.ba4418d1.js","js/Index.cbe0b14f.js","css/Index.c8d35bc1.css","js/Header.ba91dc6e.js","css/Header.934e9974.css","js/LicenseKeyBar.ddce09ea.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.99a79064.js","js/AnimatedNumber.1915b2fc.js","js/Logo.97285076.js","js/Support.01b73fda.js","js/Tabs.6838349b.js","css/Tabs.26ed6805.css","js/TruSeoScore.98a47fd6.js","js/Information.6f7632ab.js","js/Exclamation.77933285.js","js/Gear.b5f13261.js","js/Overview.118e93ea.js","css/Overview.88d90f15.css","js/External.051baee5.js","js/DonutChartWithLegend.44df5353.js","css/DonutChartWithLegend.23d5f7fe.css","js/popup.25df8419.js","js/SeoSiteScore.48a1cf92.js","js/Blur.945b1b3e.js","css/Blur.6e77dae4.css","js/Index.c6dbed41.js","css/Index.7469f851.css","js/Index.28b23aca.js","css/Index.18a70921.css","js/Build.f76e2a34.js","js/History.7b816b2f.js","js/Message.53dadd92.js","js/VideoCamera.fa20d595.js"],import.meta.url)}),`../views/${t}.vue`),w=[{path:"*",redirect:"/"},{path:"/",name:"dashboard",component:g("Main"),meta:{access:"aioseo_dashboard",name:l("Dashboard",b)}}],a=p(w);_(e,a);new i({router:a,store:e,render:t=>t(h)}).$mount("#aioseo-app");
|
dist/Lite/assets/dashboard.edfe494a.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as s,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.4a5acef5.js";import{s as e}from"./js/index.4776f7d5.js";import{_ as c,a as u,s as p,b as _}from"./js/index.4f8167e1.js";import{_ as l}from"./js/default-i18n.0e73c33c.js";import"./js/client.d00863cc.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.9efee5f7.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var m=function(){var t=this,n=t.$createElement,o=t._self._c||n;return o("div",{staticClass:"aioseo-app"},[o("router-view")],1)},f=[];const v={},r={};var d=s(v,m,f,!1,y,null,null,null);function y(t){for(let n in r)this[n]=r[n]}const h=function(){return d.exports}(),b="all-in-one-seo-pack",g=t=>()=>c(Object.assign({"../views/Main.vue":()=>u(()=>import("./js/Main.815b7b45.js"),["js/Main.815b7b45.js","css/Main.bf481f2b.css","css/main.fca70088.css","js/WpTable.8ff25002.js","css/WpTable.11c3c1d3.css","js/index.4776f7d5.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/attachments.52d4e34c.js","js/cleanForSlug.788b395f.js","js/Card.a455f6aa.js","css/Card.1dc33bd1.css","js/Tooltip.060399ab.js","css/Tooltip.bd3175b4.css","js/Slide.8aaa5049.js","js/SitemapsPro.4e368ad5.js","css/SitemapsPro.f80c14a5.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/GettingStarted.498d42c2.js","css/GettingStarted.a24ab63f.css","js/Row.dfea53f7.js","css/Row.576b0c57.css","js/Book.7d439a03.js","js/Rocket.35b77f44.js","js/Index.9ba8794b.js","css/Index.c8d35bc1.css","js/Header.bd1b4a42.js","css/Header.934e9974.css","js/LicenseKeyBar.1eaa4b0d.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.fa7af154.js","js/AnimatedNumber.fb66de3f.js","js/Logo.a7c6e95c.js","js/Support.2f6740c0.js","js/Tabs.5f143cbd.js","css/Tabs.26ed6805.css","js/TruSeoScore.98a47fd6.js","js/Information.d80e4486.js","js/Exclamation.c0680526.js","js/Gear.21727cf4.js","js/Overview.5413cab8.js","css/Overview.88d90f15.css","js/External.1af3387c.js","js/DonutChartWithLegend.2807983e.js","css/DonutChartWithLegend.23d5f7fe.css","js/popup.25df8419.js","js/SeoSiteScore.48a1cf92.js","js/Blur.404d53ce.js","css/Blur.6e77dae4.css","js/Index.41844c79.js","css/Index.7469f851.css","js/Index.7823cadd.js","css/Index.18a70921.css","js/Build.dc549300.js","js/History.fc348d40.js","js/Message.a1cd585f.js","js/VideoCamera.a80825c5.js"],import.meta.url)}),`../views/${t}.vue`),w=[{path:"*",redirect:"/"},{path:"/",name:"dashboard",component:g("Main"),meta:{access:"aioseo_dashboard",name:l("Dashboard",b)}}],a=p(w);_(e,a);new i({router:a,store:e,render:t=>t(h)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/{divi-admin.b3a26afe.js → divi-admin.d3a63fa3.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as s,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import{C as a}from"./js/index.
|
1 |
+
import{n as s,V as i}from"./js/vueComponentNormalizer.58b0a173.js";import{C as a}from"./js/index.c9bc1c73.js";import{S as l}from"./js/Standalone.c24a3819.js";import{s as c}from"./js/index.f16c040b.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/default-i18n.0e73c33c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var u=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-divi-seo-admin-notice-container"},[o("core-alert",{domProps:{innerHTML:t._s(t.strings.alert)}})],1)},p=[];const m=window.aioseo.urls.aio.searchAppearance,d={components:{CoreAlert:a},mixins:[l],data(){return{strings:{alert:this.$t.sprintf(this.$t.__("The options below are disabled because you are using %1$s to manage your SEO. They can be changed in the %2$sSearch Appearance menu%3$s.",this.$td),"All in One SEO",`<a href="${m}" target="_blank">`,"</a>")}}}},r={};var _=s(d,u,p,!1,f,null,null,null);function f(t){for(let e in r)this[e]=r[e]}const h=function(){return _.exports}(),y=()=>{const t=document.querySelectorAll("#wrap-seo .et-tab-content");for(let e=0;e<t.length;e++){const o=document.createElement("div");o.setAttribute("id",`aioseo-divi-seo-admin-notice-container-${e}`),t[e].insertBefore(o,t[e].firstChild),new i({store:c,render:n=>n(h)}).$mount(`#${o.getAttribute("id")}`)}},A=()=>{const t=document.querySelectorAll('#wrap-seo input[type="text"], #wrap-seo textarea');for(let n=0;n<t.length;n++)t[n].style.pointerEvents="none",t[n].setAttribute("readonly",!0);const e=document.querySelectorAll("#wrap-seo select");for(let n=0;n<e.length;n++)e[n].style.pointerEvents="none",e[n].setAttribute("disabled",!0);const o=document.querySelectorAll("#wrap-seo .et-checkbox");for(let n=0;n<o.length;n++)o[n].setAttribute("disabled",!0),o[n].nextElementSibling.style.pointerEvents="none"},b=()=>{const t=window.aioseo.urls.aio.searchAppearance,e=document.querySelector('a[href="#wrap-seo"]');if(!t||!e)return;const o=e.cloneNode(!0);o.setAttribute("href",t),e.parentNode.replaceChild(o,e)};window.addEventListener("load",()=>{y(),A(),b()});
|
dist/Lite/assets/{divi.658131a0.js → divi.cc920561.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as y,V as l}from"./js/vueComponentNormalizer.58b0a173.js";import{d as m,S as B}from"./js/index.
|
1 |
+
import{n as y,V as l}from"./js/vueComponentNormalizer.58b0a173.js";import{d as m,S as B}from"./js/index.c9bc1c73.js";import{T as L}from"./js/index.4595ee58.js";import{s as c}from"./js/index.f16c040b.js";import{j as C,m as D}from"./js/attachments.0f69322e.js";import{b as M}from"./js/_baseSet.23e11822.js";import{i as x}from"./js/isEqual.90be431f.js";import{A as k}from"./js/App.6ca02334.js";import{i as P}from"./js/portal-vue.esm.272b3133.js";import{P as q}from"./js/App.c80f8e8c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/default-i18n.0e73c33c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/cleanForSlug.41bbbaec.js";import"./js/_baseIsEqual.4e44c7e9.js";import"./js/_getTag.e79f4b6e.js";/* empty css */import"./js/params.bea1a08d.js";import"./js/WpTable.078239fd.js";import"./js/JsonValues.08065e69.js";import"./js/SettingsRow.0d51ff21.js";import"./js/Row.89c6bb85.js";import"./js/Checkbox.732cf0d4.js";import"./js/Checkmark.c0183939.js";import"./js/LicenseKeyBar.ddce09ea.js";import"./js/LogoGear.99a79064.js";import"./js/Tabs.6838349b.js";import"./js/TruSeoScore.98a47fd6.js";import"./js/Information.6f7632ab.js";import"./js/Slide.01023b2f.js";import"./js/Portal.b4dc1f75.js";import"./js/MaxCounts.5a7ca2fd.js";import"./js/RadioToggle.d0794ab7.js";import"./js/GoogleSearchPreview.3cec5179.js";import"./js/HtmlTagsEditor.b55f3dc8.js";import"./js/Editor.f11f5d3a.js";import"./js/UnfilteredHtml.155f6b63.js";import"./js/Tooltip.a36a3967.js";import"./js/Plus.d9c7f9ce.js";import"./js/popup.25df8419.js";import"./js/Blur.945b1b3e.js";import"./js/Index.28b23aca.js";import"./js/Table.19b80c85.js";import"./js/InternalOutbound.f78ca25f.js";import"./js/RequiredPlans.42f58662.js";import"./js/Image.2e470303.js";import"./js/Img.36a4ce1e.js";import"./js/FacebookPreview.544d6945.js";import"./js/dannie-profile.e0152a9f.js";import"./js/TwitterPreview.c96a3703.js";import"./js/Book.942a8cf4.js";import"./js/Build.f76e2a34.js";import"./js/Redirects.dba9839b.js";import"./js/Index.ddc421f3.js";import"./js/ProBadge.6745e7cb.js";import"./js/External.051baee5.js";import"./js/Exclamation.77933285.js";import"./js/Gear.b5f13261.js";import"./js/Card.1a6f5bab.js";import"./js/Eye.1747422d.js";function b(t,e,o){return t==null?t:M(t,e,o)}const S=t=>t.parentElement.removeChild(t),$=()=>{const t=f();document.body.classList.toggle("aioseo-settings-bar-is-active",t),document.body.classList.toggle("aioseo-settings-bar-is-inactive",!t)},A=()=>{const t=u();r(document.body,"aioseo-settings-bar-is"),document.body.classList.add(`aioseo-settings-bar-is-${t}`),g(t)},O=()=>{p.addEventListener("change",()=>{E(),g(u())}),X.observe(document.querySelector(".et-fb-page-settings-bar"),{attributeFilter:["class"]}),document.body.addEventListener("click",F),s.addEventListener("click",()=>{const t=new Event("aioseo-divi-toggle-modal");document.dispatchEvent(t)})},T=()=>{const t=u();r(document.body,"aioseo-settings-bar-is"),document.body.classList.add(`aioseo-settings-bar-is-${t}`),$(),E(),N()||g(t)},E=()=>{!w()||(s=S(s))},g=t=>{if(w())return;const e=document.querySelector(".et-fb-page-settings-bar"),o=e.querySelector(".et-fb-page-settings-bar__toggle-button"),n=e.querySelectorAll(".et-fb-page-settings-bar__column");if(R(t),f())if(p.matches){const i=[...n].filter(d=>d.classList.contains("et-fb-page-settings-bar__column--main"));i.length&&i[0].appendChild(s)}else{const i=[...n].filter(d=>d.classList.contains("et-fb-page-settings-bar__column--left"));i.length&&i[0].insertBefore(s)}else o.insertAdjacentElement("afterend",s)},R=t=>{r(s,"aioseo-settings-bar-root"),s.classList.add(`aioseo-settings-bar-root-${t}`),r(s,"aioseo-settings-bar-root-is-mobile"),["aioseo-settings-bar-root-is-mobile",`aioseo-settings-bar-root-is-mobile-${t}`].forEach(n=>{s.classList.toggle(n,!p.matches)}),r(s,"aioseo-settings-bar-root-is-desktop"),["aioseo-settings-bar-root-is-desktop",`aioseo-settings-bar-root-is-desktop-${t}`].forEach(n=>{s.classList.toggle(n,p.matches)})},r=(t,e)=>{const o=[`${e}-left`,`${e}-right`,`${e}-top`,`${e}-top-left`,`${e}-top-right`,`${e}-bottom`,`${e}-bottom-left`,`${e}-bottom-right`];t.classList.remove(...o)},u=()=>{const t=document.querySelector(".et-fb-page-settings-bar").classList;return t.contains("et-fb-page-settings-bar--horizontal")&&!t.contains("et-fb-page-settings-bar--top")?"bottom":t.contains("et-fb-page-settings-bar--top")&&!t.contains("et-fb-page-settings-bar--corner")?"top":t.contains("et-fb-page-settings-bar--bottom-corner")?t.contains("et-fb-page-settings-bar--left-corner")?"bottom-left":"bottom-right":t.contains("et-fb-page-settings-bar--top-corner")?t.contains("et-fb-page-settings-bar--left-corner")?"top-left":"top-right":t.contains("et-fb-page-settings-bar--vertical--right")?"right":t.contains("et-fb-page-settings-bar--vertical--left")?"left":""},F=t=>{if(!U())return;const e=t.target,o=".aioseo-modal",n=".aioseo-app.post-settings-modal";if(!e.closest(o)&&!e.closest(n)&&!(e!==document.querySelector(o)&&e.contains(document.querySelector(o)))&&e!==s){const i=new Event("aioseo-divi-toggle-modal",{open:!1});document.dispatchEvent(i)}},U=()=>!document.querySelector(".aioseo-modal").classList.contains("aioseo-modal-is-closed"),w=()=>document.documentElement!==s&&document.documentElement.contains(s),f=()=>document.querySelector(".et-fb-page-settings-bar").classList.contains("et-fb-page-settings-bar--active"),N=()=>document.querySelector(".et-fb-page-settings-bar").classList.contains("et-fb-page-settings-bar--dragged")&&!f(),p=window.matchMedia("(min-width: 768px)"),X=new MutationObserver(T),Y="#aioseo-settings";let s=document.querySelector(Y);s=S(s);const j=()=>{$(),A(),O()};let _={};const a=()=>{const t={..._},e=C();x(t,e)||(_=e,D())},z=()=>{c.dispatch("saveCurrentPost",c.state.currentPost)},V=()=>{a(),window.addEventListener("message",t=>{t.data.eventType==="et_fb_section_content_change"&&m(a,1e3)}),window.wp&&window.wp.hooks.addFilter("et.builder.store.setting.update","aioseo",(t,e)=>{if(t)switch(e){case"et_pb_post_settings_title":b(ETBuilderBackendDynamic,"postTitle",t),m(a,1e3);break;case"et_pb_post_settings_excerpt":b(ETBuilderBackendDynamic,"postMeta.post_excerpt",t),m(a,1e3);break}return t}),document.querySelector(".et-fb-button--save-draft, .et-fb-button--publish").addEventListener("click",z)};var Q=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-draggable"},[t.completelyDraggable?o("div",{on:{dragMouseDown:t.dragMouseDown}},[t._t("default")],2):t._e(),t.completelyDraggable?t._e():o("div",[t._t("default")],2)])},W=[];const G={props:{completelyDraggable:{type:Boolean,default(){return!0}}},data(){return{position1:0,position2:0,position3:0,position4:0}},methods:{dragMouseDown(t){t=t||window.event,t.preventDefault(),this.position3=t.clientX,this.position4=t.clientY,document.onmousemove=this.elementDrag,document.onmouseup=this.closeDragElement},elementDrag(t){t=t||window.event,t.preventDefault(),this.position1=this.position3-t.clientX,this.position2=this.position4-t.clientY,this.position3=t.clientX,this.position4=t.clientY,this.$el.style.top=this.$el.offsetTop-this.position2+"px",this.$el.style.left=this.$el.offsetLeft-this.position1+"px"},closeDragElement(){document.onmouseup=null,document.onmousemove=null}}},v={};var H=y(G,Q,W,!1,I,null,null,null);function I(t){for(let e in v)this[e]=v[e]}const J=function(){return H.exports}();var K=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("util-draggable",{ref:"modal-container",attrs:{completelyDraggable:!1}},[o("div",{staticClass:"aioseo-modal",class:{"aioseo-modal-is-closed":!t.isOpen}},[o("div",{staticClass:"aioseo-modal-header",on:{mousedown:function(n){return n.preventDefault(),function(i){return t.$refs["modal-container"].dragMouseDown(i)}.apply(null,arguments)}}},[o("div",{staticClass:"aioseo-modal-header-title"},[t._v(t._s(t.strings.header))]),o("div",{staticClass:"aioseo-modal-header-close",on:{click:function(n){t.isOpen=!1}}},[o("svg-close")],1)]),o("div",{staticClass:"aioseo-modal-body edit-post-sidebar"},[o("PostSettings")],1)])])},Z=[];const tt={components:{PostSettings:k,SvgClose:B,UtilDraggable:J},data(){return{isOpen:!1,strings:{header:this.$t.sprintf(this.$t.__("%1$s settings",this.$td),"All in One SEO")}}},methods:{toggleModal(){this.isOpen=!this.isOpen}},beforeUnmount(){document.removeEventListener("aioseo-divi-toggle-modal",this.toggleModal)},mounted(){this.$nextTick(function(){document.addEventListener("aioseo-divi-toggle-modal",this.toggleModal)})}},h={};var et=y(tt,K,Z,!1,ot,null,null,null);function ot(t){for(let e in h)this[e]=h[e]}const st=function(){return et.exports}();l.prototype.$truSeo=new L;const nt=()=>{new l({store:c,data:{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"},render:t=>t(st)}).$mount("#aioseo-app-modal > div")},it=()=>{l.use(P),document.querySelector("#aioseo-modal-portal")&&new l({store:c,render:e=>e(q)}).$mount("#aioseo-modal-portal")},rt=()=>{j(),nt(),it(),V()};window.addEventListener("message",function(t){t.data.eventType==="et_builder_api_ready"&&rt()});
|
dist/Lite/assets/{elementor.d0d75e99.js → elementor.b93a47e5.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{V as c}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.
|
1 |
+
import{V as c}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{T as w}from"./js/index.4595ee58.js";import{s as n}from"./js/index.f16c040b.js";import{k as f,m as u}from"./js/attachments.0f69322e.js";import{i as g}from"./js/isEqual.90be431f.js";import{i as h}from"./js/isEmpty.a9afd21a.js";import{s,_ as r}from"./js/default-i18n.0e73c33c.js";import{A as y}from"./js/App.6ca02334.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";import"./js/cleanForSlug.41bbbaec.js";import"./js/_baseIsEqual.4e44c7e9.js";import"./js/_getTag.e79f4b6e.js";/* empty css */import"./js/params.bea1a08d.js";import"./js/WpTable.078239fd.js";import"./js/JsonValues.08065e69.js";import"./js/SettingsRow.0d51ff21.js";import"./js/Row.89c6bb85.js";import"./js/Checkbox.732cf0d4.js";import"./js/Checkmark.c0183939.js";import"./js/LicenseKeyBar.ddce09ea.js";import"./js/LogoGear.99a79064.js";import"./js/Tabs.6838349b.js";import"./js/TruSeoScore.98a47fd6.js";import"./js/Information.6f7632ab.js";import"./js/Slide.01023b2f.js";import"./js/Portal.b4dc1f75.js";import"./js/MaxCounts.5a7ca2fd.js";import"./js/RadioToggle.d0794ab7.js";import"./js/GoogleSearchPreview.3cec5179.js";import"./js/HtmlTagsEditor.b55f3dc8.js";import"./js/Editor.f11f5d3a.js";import"./js/UnfilteredHtml.155f6b63.js";import"./js/Tooltip.a36a3967.js";import"./js/Plus.d9c7f9ce.js";import"./js/popup.25df8419.js";import"./js/Blur.945b1b3e.js";import"./js/Index.28b23aca.js";import"./js/Table.19b80c85.js";import"./js/InternalOutbound.f78ca25f.js";import"./js/RequiredPlans.42f58662.js";import"./js/Image.2e470303.js";import"./js/Img.36a4ce1e.js";import"./js/FacebookPreview.544d6945.js";import"./js/dannie-profile.e0152a9f.js";import"./js/TwitterPreview.c96a3703.js";import"./js/Book.942a8cf4.js";import"./js/Build.f76e2a34.js";import"./js/Redirects.dba9839b.js";import"./js/Index.ddc421f3.js";import"./js/ProBadge.6745e7cb.js";import"./js/External.051baee5.js";import"./js/Exclamation.77933285.js";import"./js/Gear.b5f13261.js";import"./js/Card.1a6f5bab.js";import"./js/Eye.1747422d.js";class k extends window.$e.modules.hookUI.Base{constructor(o,e,i){super(),this.hook=o,this.id=e,this.callback=i}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class _ extends window.$e.modules.hookData.Base{constructor(o,e,i){super(),this.hook=o,this.id=e,this.callback=i}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function a(t,o,e){window.$e.hooks.registerUIAfter(new k(t,o,e))}function E(t,o,e){window.$e.hooks.registerDataAfter(new _(t,o,e))}let m={};const p=()=>{const t=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(t.config.type))return;const o={...m},e=f();g(o,e)||(m=e,u())},$=()=>{h(n.state.currentPost)||window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&n.dispatch("saveCurrentPost",n.state.currentPost)},b=()=>{window.$e.internal("document/save/set-is-modified",{status:!0})},v=()=>{a("editor/documents/attach-preview","aioseo-content-scraper-attach-preview",p),a("document/save/set-is-modified","aioseo-content-scraper-on-modified",p),E("document/save/save","aioseo-save",$),window.aioseoBus.$on("postSettingsUpdated",b)},A=()=>{if(window.elementor.config.user.introduction["aioseo-introduction"]===!0)return;const t=new window.elementorModules.editor.utils.Introduction({introductionKey:"aioseo-introduction",dialogType:"alert",dialogOptions:{id:"aioseo-introduction",headerMessage:s(r("New: %1$s %2$s integration","all-in-one-seo-pack"),"AIOSEO","Elementor"),message:s(r("You can now manage your SEO settings inside of %1$s via %2$s before you publish your post!","all-in-one-seo-pack"),"Elementor","All in One SEO"),position:{my:"center center",at:"center center"},strings:{confirm:r("Got It!","all-in-one-seo-pack")},hide:{onButtonClick:!1},onConfirm:()=>{t.setViewed(),t.getDialog().hide()}}});t.show()};c.prototype.$truSeo=new w;const I=()=>{let t=window.elementor.getPreferences("ui_theme")||"auto";t==="auto"&&(t=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),document.body.classList.forEach(o=>{o.startsWith("aioseo-elementor-")&&document.body.classList.remove(o)}),document.body.classList.add("aioseo-elementor-"+t)},C=()=>{window.$e.routes.on("run:after",function(t,o){I(),o==="panel/page-settings/aioseo"&&(new c({store:n,data:{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"},render:e=>e(y)}).$mount("#elementor-panel-page-settings-controls"),document.getElementById("elementor-panel-page-settings").classList.add("edit-post-sidebar","aioseo-elementor-panel"),u())})},S=()=>{const t=window.elementor.modules.layouts.panel.pages.menu.Menu,o=window.elementor.getPreferences("ui_theme");t.addItem({name:"aioseo",icon:"aioseo aioseo-element-menu-icon aioseo-element-menu-icon-"+o,title:"All in One SEO",type:"page",callback:()=>{try{window.$e.routes.run("panel/page-settings/aioseo")}catch{window.$e.routes.run("panel/page-settings/settings"),window.$e.routes.run("panel/page-settings/aioseo")}}},"more")},d=()=>{S(),C(),A(),v()};let l=!1;window.elementor&&(setTimeout(d),l=!0);(function(t){l||t(window).on("elementor:init",()=>{window.elementor.on("panel:init",()=>{setTimeout(d)})})})(window.jQuery);
|
dist/Lite/assets/feature-manager.8859109b.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as i,V as u}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{s as a}from"./js/index.f16c040b.js";import{_,a as r,s as c,b as p}from"./js/index.8e416a7c.js";import{_ as m}from"./js/default-i18n.0e73c33c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-app"},[n("router-view")],1)},v=[];const f={},o={};var d=i(f,l,v,!1,g,null,null,null);function g(t){for(let e in o)this[e]=o[e]}const y=function(){return d.exports}(),h="all-in-one-seo-pack",w=t=>()=>_(Object.assign({"../views/FeatureManager.vue":()=>r(()=>import("./js/FeatureManager.6a5d2696.js"),["js/FeatureManager.6a5d2696.js","css/FeatureManager.e660135d.css","js/WpTable.078239fd.js","css/WpTable.11c3c1d3.css","js/index.f16c040b.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/constants.71b051da.js","js/attachments.0f69322e.js","js/cleanForSlug.41bbbaec.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/portal-vue.esm.272b3133.js","js/news-sitemap.36087ff1.js","js/SitemapsPro.a311a6ea.js","css/SitemapsPro.f80c14a5.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/Tooltip.a36a3967.js","css/Tooltip.bd3175b4.css","js/Index.28b23aca.js","css/Index.18a70921.css","js/Row.89c6bb85.js","css/Row.576b0c57.css","js/ImageSeo.8572f954.js"],import.meta.url),"../views/Main.vue":()=>r(()=>import("./js/Main.05758db4.js"),["js/Main.05758db4.js","css/main.fca70088.css","js/Index.cbe0b14f.js","css/Index.c8d35bc1.css","js/params.bea1a08d.js","js/WpTable.078239fd.js","css/WpTable.11c3c1d3.css","js/index.f16c040b.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/constants.71b051da.js","js/attachments.0f69322e.js","js/cleanForSlug.41bbbaec.js","js/index.c9bc1c73.js","css/index.8a18f252.css","js/client.b661b356.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/portal-vue.esm.272b3133.js","js/Header.ba91dc6e.js","css/Header.934e9974.css","js/LicenseKeyBar.ddce09ea.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.99a79064.js","js/AnimatedNumber.1915b2fc.js","js/Logo.97285076.js","js/Support.01b73fda.js","js/Tabs.6838349b.js","css/Tabs.26ed6805.css","js/TruSeoScore.98a47fd6.js","js/Information.6f7632ab.js","js/Slide.01023b2f.js","js/Exclamation.77933285.js","js/Url.781a1d48.js","js/Gear.b5f13261.js","js/FeatureManager.6a5d2696.js","css/FeatureManager.e660135d.css","js/news-sitemap.36087ff1.js","js/SitemapsPro.a311a6ea.js","css/SitemapsPro.f80c14a5.css","js/Tooltip.a36a3967.js","css/Tooltip.bd3175b4.css","js/Index.28b23aca.js","css/Index.18a70921.css","js/Row.89c6bb85.js","css/Row.576b0c57.css","js/ImageSeo.8572f954.js"],import.meta.url)}),`../views/${t}.vue`),A=[{path:"*",redirect:"/"},{path:"/",name:"feature-manager",component:w("Main"),meta:{access:"aioseo_feature_manager_settings",name:m("Feature Manager",h)}}],s=c(A);p(a,s);new u({router:s,store:a,render:t=>t(y)}).$mount("#aioseo-app");
|
dist/Lite/assets/feature-manager.ead67360.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as i,V as u}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.4a5acef5.js";import{s as a}from"./js/index.4776f7d5.js";import{_,a as r,s as c,b as p}from"./js/index.4f8167e1.js";import{_ as m}from"./js/default-i18n.0e73c33c.js";import"./js/client.d00863cc.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/translations.3bc9d58c.js";import"./js/constants.9efee5f7.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var l=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-app"},[n("router-view")],1)},v=[];const f={},o={};var d=i(f,l,v,!1,g,null,null,null);function g(t){for(let e in o)this[e]=o[e]}const y=function(){return d.exports}(),h="all-in-one-seo-pack",w=t=>()=>_(Object.assign({"../views/FeatureManager.vue":()=>r(()=>import("./js/FeatureManager.dcd48987.js"),["js/FeatureManager.dcd48987.js","css/FeatureManager.e660135d.css","js/WpTable.8ff25002.js","css/WpTable.11c3c1d3.css","js/index.4776f7d5.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/attachments.52d4e34c.js","js/cleanForSlug.788b395f.js","js/news-sitemap.36087ff1.js","js/SitemapsPro.4e368ad5.js","css/SitemapsPro.f80c14a5.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/Tooltip.060399ab.js","css/Tooltip.bd3175b4.css","js/Index.7823cadd.js","css/Index.18a70921.css","js/Row.dfea53f7.js","css/Row.576b0c57.css","js/ImageSeo.d7572c7a.js"],import.meta.url),"../views/Main.vue":()=>r(()=>import("./js/Main.20e57c54.js"),["js/Main.20e57c54.js","css/main.fca70088.css","js/Index.9ba8794b.js","css/Index.c8d35bc1.css","js/params.bea1a08d.js","js/WpTable.8ff25002.js","css/WpTable.11c3c1d3.css","js/index.4776f7d5.js","js/vueComponentNormalizer.58b0a173.js","js/isArrayLikeObject.5268a676.js","js/default-i18n.0e73c33c.js","js/index.4a5acef5.js","css/index.8a18f252.css","js/client.d00863cc.js","js/_commonjsHelpers.10c44588.js","js/translations.3bc9d58c.js","js/constants.9efee5f7.js","js/portal-vue.esm.272b3133.js","js/attachments.52d4e34c.js","js/cleanForSlug.788b395f.js","js/Header.bd1b4a42.js","css/Header.934e9974.css","js/LicenseKeyBar.1eaa4b0d.js","css/LicenseKeyBar.9dee709b.css","js/LogoGear.fa7af154.js","js/AnimatedNumber.fb66de3f.js","js/Logo.a7c6e95c.js","js/Support.2f6740c0.js","js/Tabs.5f143cbd.js","css/Tabs.26ed6805.css","js/TruSeoScore.98a47fd6.js","js/Information.d80e4486.js","js/Slide.8aaa5049.js","js/Exclamation.c0680526.js","js/Url.781a1d48.js","js/Gear.21727cf4.js","js/FeatureManager.dcd48987.js","css/FeatureManager.e660135d.css","js/news-sitemap.36087ff1.js","js/SitemapsPro.4e368ad5.js","css/SitemapsPro.f80c14a5.css","js/Tooltip.060399ab.js","css/Tooltip.bd3175b4.css","js/Index.7823cadd.js","css/Index.18a70921.css","js/Row.dfea53f7.js","css/Row.576b0c57.css","js/ImageSeo.d7572c7a.js"],import.meta.url)}),`../views/${t}.vue`),A=[{path:"*",redirect:"/"},{path:"/",name:"feature-manager",component:w("Main"),meta:{access:"aioseo_feature_manager_settings",name:m("Feature Manager",h)}}],s=c(A);p(a,s);new u({router:s,store:a,render:t=>t(y)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/{flyout-menu.a5854133.js → flyout-menu.db7b21d1.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as s,V as r}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.4a5acef5.js";import{S as d}from"./js/Standalone.8b8c1fe5.js";import{a as z,s as u}from"./js/index.4776f7d5.js";import{S as M}from"./js/Message.a1cd585f.js";import{S as v}from"./js/Support.2f6740c0.js";import{t as m}from"./js/translations.3bc9d58c.js";import"./js/client.d00863cc.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/default-i18n.0e73c33c.js";import"./js/constants.9efee5f7.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var _=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[t("path",{attrs:{d:"M17.683 56.907l3.04-8.826-1.17-2.133c-5.016.175-8.424 3.67-8.634 7.026l6.764 3.933z",fill:"#004BCE"}}),t("path",{attrs:{d:"M17.124 51.122a5.182 5.182 0 011.678 7.13 5.165 5.165 0 01-7.114 1.679 5.165 5.165 0 01-1.678-7.114c1.486-2.43 4.667-3.18 7.114-1.695z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.792 51.664c-2.133-1.329-4.929-.647-6.24 1.468-1.328 2.132-.664 4.928 1.468 6.257 2.133 1.328 4.929.646 6.257-1.486 1.294-2.115.647-4.929-1.485-6.24z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.791 51.664c-2.132-1.329-4.928-.647-6.239 1.468-.157.244-.28.49-.384.734 2.411 2.184 5.907 3.25 8.511 3.163.7-1.957-.052-4.212-1.887-5.365z",fill:"#338FFF"}}),t("path",{attrs:{d:"M18.382 52.485a4.455 4.455 0 011.45 6.135 4.455 4.455 0 01-6.134 1.45 4.451 4.451 0 01-1.45-6.134 4.477 4.477 0 016.134-1.45z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.085 52.957a3.89 3.89 0 00-5.365 1.276 3.89 3.89 0 001.275 5.366c1.836 1.153 4.248.559 5.366-1.276 1.154-1.836.577-4.23-1.276-5.366z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.085 52.957a3.89 3.89 0 00-5.366 1.276c-.122.21-.244.42-.332.63 2.08 1.87 5.086 2.813 7.34 2.726a3.882 3.882 0 00-1.642-4.632z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M16.634 59.04l-1.887 6.221c1.538 1.154 3.758 2.045 5.802 1.958.612-1.136 1.469-3.758 1.923-5.051 1.678 3.04 2.761 4.02 3.793 5.086 3.303.262 9.577-1.084 11.185-2.517l-3.757-6.502.157-1.503 3.932-8.11-2.656-4.23-16.184.263c-2.78 1.888-4.353 5.4-4.248 7.061.088.909 1.241 4.981 1.94 7.323z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.259 1.206-3.234 1.678-4.562l.56-1.573c.89 1.625 1.695 3.198 2.866 4.65.437.541.926 1.03 1.398 1.537 1.468.07 3.164-.14 4.58-.384 1.467-.263 3.914-.84 5.26-1.608l-3.53-6.117.21-1.888 3.81-7.847-2.203-3.514-15.503.245c-1.153.84-2.097 1.993-2.779 3.216-.419.786-1.013 2.115-.943 3.041.07 1.066 1.94 7.34 1.94 7.393l-1.783 5.908c1.276.839 2.901 1.45 4.44 1.503z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.259 1.206-3.234 1.678-4.562l.56-1.573c.89 1.625 1.695 3.198 2.866 4.65.437.541.926 1.03 1.398 1.537 1.468.07 3.164-.14 4.58-.384.436-.088.96-.193 1.52-.332l-3.164-7.044 4.108-13.598-14.42.245c-1.153.84-2.097 1.993-2.779 3.216-.419.786-1.013 2.115-.943 3.041.07 1.066 1.94 7.34 1.94 7.393l-1.783 5.908c1.276.839 2.901 1.45 4.44 1.503z",fill:"#1763E8"}}),t("path",{attrs:{d:"M34.007 58.725l.122-1.643-.262-.332c-4.474 1.608-11.954 1.87-16.534.35-.646-.21-1.223-.543-1.59-1.154l-.14.35c.245.89.56 1.73.944 2.481 4.771 1.923 11.71 1.87 17.46-.052z",fill:"#003694"}}),t("path",{attrs:{d:"M33.308 52.066c2.272 2.097 6.135 2.814 9.106 2.97l2.045-7.777c-2.796.088-6.275.175-8.791-.472-2.447-.611-4.597 3.234-2.36 5.279z",fill:"#004BCE"}}),t("path",{attrs:{d:"M34.601 47.277c2.85.629 6.572 1.1 8.862.769l-1.049 3.67c-2.779.245-7.306-.804-9.875-2.447.262-1.38 1.45-2.132 2.062-1.992z",fill:"#1763E8"}}),t("path",{attrs:{d:"M28.187 50.947l7.043.612c.385.017.682.402.647.786l-.367 4.212a.714.714 0 01-.769.682l-7.043-.612c-.402-.035-.682-.402-.647-.804l.367-4.212a.712.712 0 01.769-.664z",fill:"#004BCE"}}),t("path",{attrs:{d:"M28.152 51.332l7.044.611a.328.328 0 01.297.385l-.367 4.212c-.018.21-.175.332-.367.332l-7.044-.612c-.175-.017-.314-.192-.297-.384l.367-4.212c.017-.21.192-.367.367-.332z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M29.777 51.471l1.888.158-.42 4.928-3.53-.297c-.175-.017-.314-.192-.297-.384l.175-2.063a9.69 9.69 0 002.184-2.342z",fill:"#fff"}}),t("path",{attrs:{d:"M30.372 52.293c0-.018-.018-.035-.035-.035l-1.084-.088c-.017-.017-.035.018-.052.035l-.665 3.077c-.017.017-.017.017 0 .035.018.017.018.017.035.017l.7.07c.017 0 .052-.018.052-.035l.087-.542.402.018-.017.559c0 .017.017.052.052.052l.682.07c.018 0 .018-.017.035-.017 0-.018.017-.018.017-.035l-.21-3.181zm-.542.612c0 .471 0 .926.017 1.398v.052l-.402-.017.018-.053c.07-.472.175-.926.28-1.38l.017-.035.087.017v.018h-.017zm4.422 1.59l.052-.56c.018-.226.053-.489.035-.716 0-.122-.052-.245-.105-.367a.72.72 0 00-.297-.262 1.367 1.367 0 00-.437-.122c-.157-.018-.332 0-.472.052a.607.607 0 00-.332.21.643.643 0 00-.157.35c-.053.21-.07.471-.087.699l-.053.559a9.347 9.347 0 00-.035.699c.018.14.053.245.105.367.07.122.175.21.297.28.14.07.297.104.455.122.157.017.332 0 .472-.052.122-.053.244-.105.332-.228.087-.105.157-.21.174-.332l.053-.699zm-.664-1.153l-.123 1.52c-.017.105-.017.297-.07.385-.017.07-.087.105-.157.105a.254.254 0 01-.157-.105c-.018-.088 0-.297.017-.385l.123-1.538c.017-.07.017-.262.07-.332.034-.052.087-.07.157-.07s.105.035.14.105c.017.07 0 .245 0 .315zm-1.556-.892c0-.017-.017-.052-.052-.052l-.665-.053c-.017-.017-.052.018-.052.035l-.262 3.111c0 .018.017.053.035.053l.681.07c.018 0 .053-.018.053-.053l.262-3.11z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M30.284 52.293c0-.018-.017-.035-.052-.035l-1.154-.105c-.035 0-.052.018-.07.035l-.734 3.303c0 .018 0 .035.018.053.017.017.017.017.035.017l.734.07c.017 0 .052-.017.052-.035l.105-.594.42.035v.594c0 .035.017.053.035.053l.734.07c.017.017.035 0 .035-.018.017-.017.017-.017.017-.035l-.175-3.408zm-.594.664c0 .49 0 .996.018 1.503v.053l-.42-.018v-.07c.087-.49.21-.996.297-1.468l.018-.052.087.017v.035zm4.754 1.713l.052-.612c.018-.245.053-.524.035-.751 0-.14-.052-.28-.122-.385a.735.735 0 00-.315-.297 1.57 1.57 0 00-.471-.122c-.175-.018-.35 0-.525.052a.85.85 0 00-.367.245.718.718 0 00-.175.367c-.052.244-.07.507-.087.751l-.052.612c-.018.245-.053.524-.035.752 0 .157.035.28.105.402.087.122.192.21.332.297.157.07.314.105.471.122.175.017.35 0 .525-.052a.71.71 0 00.35-.245.747.747 0 00.192-.367c.052-.262.07-.542.087-.77zm-.717-1.259l-.14 1.643c0 .105-.017.315-.07.402-.017.07-.087.105-.174.105a.222.222 0 01-.157-.122c-.018-.087 0-.297.017-.402l.14-1.643c0-.087.017-.297.07-.35.035-.052.105-.07.157-.07.07 0 .123.036.14.105.035.088.017.263.017.332zm-1.66-.943c.018-.018-.017-.053-.035-.053l-.716-.07c-.035 0-.07.018-.07.053l-.297 3.338c0 .018.017.053.052.053l.716.07c.018 0 .053-.018.07-.053l.28-3.338z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M21.808 56.994c-2.71-1.573-4.58-4.928-5.313-7.34.909-.525 1.293-.542 2.639-.734-.437-.507-.84-.734-1.66-1.014.506-1.119 1.59-2.552 2.83-3.74l6.328-.158c1.083 1.329 2.15 2.674 3.233 4.02-.979.018-2.027.402-2.779.962 1.468.367 2.377.769 3.076 1.328-2.29 2.831-4.963 5.086-8.354 6.676z",fill:"#003694"}}),t("path",{attrs:{d:"M19.99 45.372l6.8.07c-.525 3.198-1.556 5.96-3.042 8.092l-3.059-.018c-.873-2.167-1.118-4.963-.699-8.144z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M20.602 45.372l2.796.017 2.78.018c-.787 1.555-1.73 2.97-2.815 4.194.158 1.014.298 2.465.385 3.898a12.311 12.311 0 01-1.835 2.08 8.916 8.916 0 01-1.224-2.098c.49-1.433 1.05-2.884 1.503-3.88-.733-1.24-1.24-2.656-1.59-4.23z",fill:"#D95C09"}}),t("path",{attrs:{d:"M22.857 49.007l-.962 6.59a8.915 8.915 0 01-1.223-2.098c.49-1.433 1.049-2.884 1.503-3.88-.105-.21-.227-.42-.332-.647.332.018.664.035 1.014.035z",fill:"#F66F10"}}),t("path",{attrs:{d:"M25.286 50.143c-.542-1.066-1.293-2.115-1.992-3.093h-.56c-.978.96-1.73 1.992-2.586 3.04-.158-1.467-.088-2.97.087-4.456l6.257.07c-.262 1.468-.647 2.989-1.206 4.44z",fill:"#fff"}}),t("path",{attrs:{d:"M18.085 26.67l6.973.28c2.465-6.764 2.954-15.607 1.853-19.156-.21-.646-.717-.524-1.189-.28-5.138 2.745-8.773 10.557-7.637 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M19.343 25.133l4.44.174C25.25 20.973 26.455 14 25.722 9.35c0-.07-.07-.052-.105-.017-4.93 3.233-6.992 10.504-6.275 15.8z",fill:"#5E3011"}}),t("path",{attrs:{d:"M22.087 25.237c1.608-4.666 2.517-10.26 2.15-13.073-2.779 1.818-4.44 8.214-4.072 13.003l1.922.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M36.558 21.322l-1.1-5.89c-.298-1.643-2.343.07-3.619-.874-1.153-.873-3.792-2.08-4.736-.96-1.503 1.747-2.832 3.652-3.758 5.959l13.213 1.765z",fill:"#004BCE"}}),t("path",{attrs:{d:"M35.737 20.553l-.926-4.98c0-.036-.035-.193-.07-.21-.088-.053-.35-.018-.437-.018-.35.035-.7.105-1.049.14-.664.07-1.276-.018-1.818-.42a7.703 7.703 0 00-1.625-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.556-2.447 3.164-3.303 4.999l11.448 1.555z",fill:"#004BCE"}}),t("path",{attrs:{d:"M32.032 15.397a1.835 1.835 0 01-.594-.332 7.703 7.703 0 00-1.626-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.556-2.447 3.164-3.303 4.999l7.27.996c.28-1.556.42-3.111.473-4.597z",fill:"#1763E8"}}),t("path",{attrs:{d:"M36.559 21.322l-.35-1.87c-.839-1.87-9.508-4.264-11.36-2.814a17.895 17.895 0 00-1.486 2.884l13.196 1.8z",fill:"#EBA100"}}),t("path",{attrs:{d:"M35.387 18.613c-2.062-1.415-7.096-2.744-9.542-2.342a18.968 18.968 0 00-1.556 2.727l11.448 1.555-.35-1.94z",fill:"#EBA100"}}),t("path",{attrs:{d:"M31.927 17.093c-2.15-.664-4.614-1.066-6.082-.822a18.963 18.963 0 00-1.556 2.727l7.27.996c.176-.979.298-1.94.368-2.901z",fill:"#FC0"}}),t("path",{attrs:{d:"M40.404 26.496l-19.96-4.667c-1.94-1.555-1.992-1.188-4.981-3.32-7.009-5.034 17.548-3.758 24.94 7.987z",fill:"#003694"}}),t("path",{attrs:{d:"M40.405 26.496l-1.329-.297c-6.467-8.372-21.812-10.784-24.836-9.07-.681-3.27 19.575-1.12 26.165 9.367z",fill:"#004BCE"}}),t("path",{attrs:{d:"M33.57 25.919l6.974.28c2.464-6.764 2.936-15.608 1.852-19.156-.21-.647-.716-.524-1.188-.28-5.139 2.744-8.774 10.557-7.638 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M34.81 24.363l4.44.193c1.468-4.335 2.674-11.308 1.94-15.958 0-.07-.07-.052-.105-.017-4.928 3.233-6.99 10.504-6.274 15.782z",fill:"#5E3011"}}),t("path",{attrs:{d:"M37.573 24.468c1.608-4.666 2.517-10.26 2.15-13.073-2.78 1.818-4.44 8.214-4.073 13.003l1.923.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M41.12 31.791c1.417.787 3.392 2.744 3.287 4.23l-4.02 2.167-28.367-3.915c.402-4.072 1.539-7.97 3.146-11.727.612-1.398 1.783-2.202 3.321-2.412 3.706-.56 9.124.087 12.811.751 3.094.56 6.38 1.364 9.281 2.57.892.367 1.433 1.223 1.328 2.15l-.786 6.186z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M44.406 36.021c-.14 1.294-.437 2.43-.996 3.758-.77 1.835-2.71 5.4-4.614 6.292-6.24 2.971-18.334.734-24.207-2.71l-2.587-8.895.035-.28.385-2.779 16.586 6.694 13.86-2.779c.594.21 1.276.524 1.538.7z",fill:"#A19075"}}),t("path",{attrs:{d:"M18.767 21.445c4.893-.734 15.188.699 21.253 3.216.227.087.367.28.332.524l-.961 7.48c1.94.7 3.145 1.8 3.477 2.657-.14 3.845-3.39 8.879-4.823 9.595-5.086 2.482-16.761.91-22.145-2.307l-2.29-8.18c.42-4.299 1.644-8.144 3.06-11.447.331-.804.96-1.381 2.097-1.538z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M37.1 26.688l-.646 5.051c1.468.384 2.133.612 2.937.909 1.94.699 3.145 1.8 3.477 2.656-.14 3.846-3.39 8.88-4.823 9.596-5.086 2.482-16.761.909-22.145-2.307l-2.29-8.162c.42-4.3 1.644-8.145 3.06-11.448.331-.787.96-1.364 2.097-1.538 3.723-.56 10.574.14 16.289 1.608 1.031.262 2.272 1.922 2.045 3.635z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M26.631 21.532H26.684l.157.017H26.893l.07.018h.035l.245.035.035.017H27.33l.035.018c.07 0 .14.017.21.017h.07l.017.018H27.715c.087.017.157.017.245.035h.034l.035.017h.07l.175.018.035.017H28.362l.035.018h.035l.174.017.035.018h.035l.07.017c-1.922 1.87-2.622 6.502-2.691 8.879-.07 2.5 2.411 3.827 4.788 3.985 3.845.244 7.324-1.45 11.973.629-.14 3.845-3.391 8.879-4.824 9.595-5.086 2.482-16.761.909-22.144-2.307l-2.238-8.18c.088-.926.21-1.835.385-2.726 1.992.77 4.684 1.468 6.274 1.626 1.87.192 3.426-1.241 3.566-2.902.262-3.286 1.066-7.603 2.726-8.913l.07.017z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M26.631 21.532H26.684l.157.018H26.894l.07.017h.035l.244.035.035.017H27.331l.035.018c.07 0 .14.017.21.017h.069l.018.018H27.715c.087.017.157.017.245.035h.035l.035.017h.07l.174.018.035.017H28.362l.035.018h.035l.174.017.035.018h.035l.07.017c-1.922 1.87-2.621 6.502-2.691 8.879-.07 2.5 2.412 3.828 4.789 3.985 3.845.245 7.323-1.45 11.972.629-3.723 5.872-19.208 6.31-27.79 2.447l-1.468-3.32c.088-.927.21-1.836.385-2.727 1.992.769 4.684 1.468 6.274 1.625 1.87.192 3.426-1.24 3.566-2.901.262-3.286 1.066-7.603 2.726-8.914h.122z",fill:"#fff"}}),t("path",{attrs:{d:"M32.836 28.488l-.297 2.325c-.333 2.639-4.877 2.097-4.545-.56l.297-2.324c.333-2.64 4.877-2.098 4.545.56z",fill:"#fff"}}),t("path",{attrs:{d:"M32.748 29.065l-.244 2.01c-.297 2.29-3.688 1.853-3.39-.437l.121-.996 1.696-.437-1.573-.577c.314-2.29 3.705-1.853 3.39.437z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M29.602 32.735l3.444-.28c-.437-1.205-2.814-1.065-3.444.28z",fill:"#FFD696"}}),t("path",{attrs:{d:"M29.602 32.735c.612.612 2.744.77 3.444-.28-1.468-.541-2.657-.21-3.444.28z",fill:"#E37E4F"}}),t("path",{attrs:{d:"M23.573 27.3l-.297 2.324c-.332 2.64-4.65 2.098-4.317-.56l.297-2.324c.332-2.656 4.649-2.08 4.317.56z",fill:"#fff"}}),t("path",{attrs:{d:"M23.485 27.876l-.262 2.01c-.297 2.29-3.67 1.87-3.39-.42l.14-1.013 1.695-.437-1.573-.559c.297-2.307 3.687-1.87 3.39.42z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M27.942 43.956c1.556-.175 2.762.315 3.548.647.612.262 1.171.332 1.643.244l1.94-3.215v-.21c-.035-.822-.524-1.381-.961-2.325-.21-.472-.385-.926-.594-1.8l-5.576 6.659z",fill:"#4F2800"}}),t("path",{attrs:{d:"M35.073 41.649c-1.31.157-2.447 1.59-1.94 3.216 1.241-.227 1.94-1.556 1.94-3.216z",fill:"#AD6151"}}),t("path",{attrs:{d:"M35.126 44.498c1.66.21 1.782-1.328.873-2.587.018 1.224-.105 1.94-.873 2.587z",fill:"#D6B887"}}),t("path",{attrs:{d:"M9.433 27.859l12.741 1.643c.665.087 2.238.961 2.36 1.573l-2.5 2.045.56 3.408 6.134 5.034 4.947-4.597c.734 3.216-3.46 8.861-4.964 9.595-3.233 1.608-8.424 1.503-11.972.56-3.426-.927-6.66-2.797-8.6-5.96-.663-1.084-1.03-2.675-1.223-3.915-.42-2.762-.28-5.925.787-8.442a1.653 1.653 0 011.73-.944z",fill:"#A19075"}}),t("path",{attrs:{d:"M9.416 29.117l14.629 1.888c-.647 5.226 3.845 6.31 9.63 5.96-.175 3.705-4.02 7.813-5.506 8.564-3.932 1.975-14.768 1.748-18.893-4.946-1.101-1.765-1.992-7.306-.332-11.186.07-.21.262-.297.472-.28z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M9.416 29.117l14.629 1.888.489.07c-.647 5.226 3.356 6.257 9.14 5.907-.017.647-.174 1.311-.401 1.958-.926 2.884-2.727 4.072-4.422 4.929-3.793 1.905-8.599.192-13.947-3.234-1.678-1.083-5.33-1.992-5.628-.017-1.101-1.766-1.992-7.306-.332-11.186.07-.245.262-.332.472-.315z",fill:"#fff"}}),t("path",{attrs:{d:"M8 27.352l7.813 1.014c.96.122 1.415.647 1.345 1.678-.786 9.14-13.894 7.97-9.84-2.325A.612.612 0 018 27.352z",fill:"#19133B"}}),t("path",{attrs:{d:"M8 27.352l3.077.385c-.734 1.555-1.259 3.408-1.329 4.317-.087 1.223-.052 2.656.245 4.02-2.64-.647-4.597-3.479-2.674-8.372a.621.621 0 01.682-.35z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M8.472 28.139l5.383.699a.694.694 0 01.577.384.53.53 0 01-.105.63c-1.608 1.677-6.834.978-6.606-1.207.035-.314.367-.541.751-.506z",fill:"#687095"}}),t("path",{attrs:{d:"M23.765 22.161c.699 0 1.24.262 1.188.612-.052.332-.646.612-1.345.612-.7 0-1.241-.263-1.189-.612.052-.332.664-.612 1.346-.612zM31.123 23.053c-.682-.175-1.258-.053-1.31.28-.036.331.471.768 1.153.943.681.175 1.276.052 1.31-.28.018-.332-.471-.769-1.153-.943z",fill:"#FFD696"}}),t("path",{attrs:{d:"M41.68 46.123a5.173 5.173 0 015.173 5.174 5.162 5.162 0 01-5.173 5.173 5.162 5.162 0 01-5.174-5.173 5.173 5.173 0 015.174-5.174z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.68 46.752a4.546 4.546 0 00-4.544 4.544c0 2.5 2.045 4.545 4.544 4.545 2.5 0 4.544-2.045 4.544-4.544a4.535 4.535 0 00-4.544-4.545z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.68 46.752a4.546 4.546 0 00-4.544 4.544c0 .28.017.56.07.822 3.198.594 6.729-.332 8.913-1.783a4.52 4.52 0 00-4.439-3.583z",fill:"#338FFF"}}),t("path",{attrs:{d:"M43.48 46.612a4.453 4.453 0 014.457 4.457c0 2.447-1.993 4.44-4.457 4.44a4.446 4.446 0 01-4.44-4.44 4.438 4.438 0 014.44-4.457z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.897 3.915 3.901 3.901 0 003.897 3.898 3.905 3.905 0 003.915-3.898 3.909 3.909 0 00-3.915-3.915z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.897 3.915c0 .245.017.472.07.7 2.743.506 5.785-.28 7.655-1.538a3.917 3.917 0 00-3.828-3.077z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M45.648 44.306c.244-.752.786-1.329 1.625-1.469.874-.122 1.748.018 2.447.56a2.74 2.74 0 011.049 1.94 2.483 2.483 0 01-.717 1.957c.472.402.786.961.839 1.643.07.647-.157 1.276-.612 1.765-.507.577-1.24.874-1.975.98-.384.051-.751 0-1.1-.176-.787-.384-1.242-1.328-1.277-2.29-.21.14-.437.228-.699.245-1.101.123-2.132-.297-2.709-1.276a2.866 2.866 0 01-.384-1.415c-.018-1.45.943-2.622 2.411-2.78.21-.017.42-.017.647.053.157.07.315.158.455.263z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M46.853 54.495c2.535-.017 4.51-2.412 4.457-5.33-.07-2.937-2.15-5.297-4.684-5.279-2.517.017-4.509 2.394-4.456 5.33.052 2.937 2.15 5.279 4.683 5.279z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M46.836 53.673c2.133 0 3.828-2.027 3.775-4.509-.052-2.482-1.817-4.492-3.984-4.474-2.133.017-3.828 2.027-3.776 4.51.053 2.463 1.853 4.491 3.985 4.473z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M48.601 53.167c1.241-.752 2.045-2.273 2.01-4.02-.052-2.482-1.817-4.492-3.985-4.474-.332 0-.646.052-.96.157-.647 3.32.786 6.799 2.935 8.337z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M46.137 52.415c1.52-.017 2.744-1.468 2.709-3.233-.035-1.783-1.328-3.216-2.85-3.216-1.537 0-2.743 1.45-2.708 3.233.052 1.783 1.328 3.216 2.849 3.216z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M44.441 39.989l1.294-.158 1.014 7.778c.07.594-1.224.769-1.294.157l-1.014-7.777z",fill:"#5A6D74"}}),t("path",{attrs:{d:"M44.511 42.68l1.87-.245a.641.641 0 01.7.56l1.118 8.564c.157 1.153-3.024 1.346-3.128.402l-1.119-8.547a.642.642 0 01.56-.734z",fill:"#19133B"}}),t("path",{attrs:{d:"M45.438 42.558l.943-.123a.641.641 0 01.7.56l1.118 8.564c.07.577-.682.926-1.468.996l-1.294-9.997z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M44.636 44.777c1.52-.157 2.062 3.776.524 3.95-2.761.297-3.024-3.67-.524-3.95zm2.761-1.17c-1.66.244-1.398 3.6.088 3.932-1.329.577-.857 3.635.734 3.408 2.744-.42 2.36-3.303.21-3.496 2.656-.821 1.765-4.264-1.032-3.845z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M48.34 43.624c-1.102.7-.84 3.216.366 3.706 1.993-.84 1.573-3.339-.367-3.706zm-3.706 5.104c-2.045-.193-2.307-3.024-.63-3.775 1.172.262 1.609 3.076.63 3.775zm4.072-1.241c-.944.646-.716 2.761.315 3.233 1.713-.769 1.346-2.866-.315-3.233z",fill:"#FAD395"}}),t("path",{attrs:{d:"M43.463 25.01c4.125-.542 7.9 2.36 8.442 6.502.524 4.107-2.36 7.9-6.502 8.424-4.125.542-7.9-2.36-8.442-6.502-.524-4.107 2.377-7.9 6.502-8.424z",fill:"#fff","fill-opacity":".2"}}),t("path",{attrs:{d:"M43.305 23.717c4.824-.63 9.246 2.779 9.875 7.603.63 4.824-2.761 9.263-7.602 9.892-4.824.63-9.246-2.779-9.875-7.603-.63-4.824 2.761-9.263 7.602-9.892zm.263 2.202a6.593 6.593 0 00-5.68 7.393 6.592 6.592 0 007.392 5.68c3.618-.472 6.17-3.792 5.68-7.393-.454-3.6-3.757-6.134-7.392-5.68z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M43.323 23.979a8.568 8.568 0 019.612 7.393c.612 4.702-2.709 9.001-7.393 9.595a8.568 8.568 0 01-9.612-7.393c-.612-4.701 2.709-9 7.393-9.595zm.227 1.713a6.837 6.837 0 017.673 5.907 6.843 6.843 0 01-5.908 7.655 6.837 6.837 0 01-7.673-5.907c-.489-3.74 2.15-7.166 5.908-7.655z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M43.358 24.206c-4.335.56-7.463 4.387-7.236 8.67.035.82 1.276.75 1.24-.07a7.098 7.098 0 016.153-7.394c3.705-.472 7.096 1.975 7.847 5.558.175.787 1.381.542 1.224-.245-.891-4.194-4.876-7.078-9.228-6.519z",fill:"#D3E8EF"}}),t("path",{attrs:{d:"M43.672 26.566a5.94 5.94 0 015.855 2.814c-1.223-.962-2.814-1.469-4.474-1.241a5.938 5.938 0 00-5.121 6.676 5.61 5.61 0 00.821 2.325 5.827 5.827 0 01-2.184-3.88 5.908 5.908 0 015.103-6.694z",fill:"#fff","fill-opacity":".6"}})])])},E=[];const C={},e={};var g=s(C,_,E,!1,$,null,null,null);function $(l){for(let a in e)this[a]=e[a]}const B=function(){return g.exports}();var F=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[t("path",{attrs:{d:"M17.682 56.907l3.042-8.826-1.172-2.133c-5.016.175-8.424 3.67-8.633 7.026l6.763 3.933z",fill:"#004BCE"}}),t("path",{attrs:{d:"M17.123 51.122a5.182 5.182 0 011.678 7.13 5.165 5.165 0 01-7.113 1.678 5.165 5.165 0 01-1.678-7.113c1.485-2.43 4.666-3.18 7.113-1.695z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.79 51.663c-2.131-1.328-4.928-.646-6.239 1.468-1.328 2.133-.664 4.93 1.468 6.257 2.133 1.329 4.929.647 6.257-1.485 1.294-2.115.647-4.929-1.485-6.24z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.791 51.663c-2.132-1.328-4.929-.646-6.24 1.468-.157.245-.28.49-.384.734 2.412 2.185 5.908 3.251 8.512 3.164.699-1.958-.053-4.212-1.888-5.366z",fill:"#338FFF"}}),t("path",{attrs:{d:"M18.381 52.485a4.455 4.455 0 011.451 6.135 4.455 4.455 0 01-6.135 1.45 4.451 4.451 0 01-1.45-6.134 4.477 4.477 0 016.134-1.45z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.084 52.957a3.89 3.89 0 00-5.365 1.276 3.89 3.89 0 001.276 5.366c1.835 1.153 4.247.559 5.365-1.276 1.154-1.836.577-4.23-1.276-5.366z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.084 52.957a3.89 3.89 0 00-5.365 1.276c-.122.21-.245.42-.332.629 2.08 1.87 5.086 2.814 7.34 2.727a3.882 3.882 0 00-1.643-4.632z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M16.634 59.04l-1.888 6.222c1.538 1.153 3.758 2.045 5.803 1.957.612-1.136 1.468-3.757 1.922-5.05 1.678 3.04 2.762 4.02 3.793 5.085 3.303.262 9.578-1.083 11.186-2.517l-3.758-6.501.157-1.503 3.933-8.11-2.657-4.23-16.184.263c-2.779 1.887-4.352 5.4-4.247 7.06.087.91 1.24 4.982 1.94 7.324z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.258 1.206-3.233 1.678-4.561l.559-1.573c.891 1.625 1.695 3.198 2.866 4.649.437.542.927 1.031 1.399 1.538 1.468.07 3.163-.14 4.579-.385 1.468-.262 3.915-.839 5.26-1.608l-3.53-6.117.21-1.887 3.81-7.848-2.202-3.513-15.503.245c-1.154.839-2.097 1.992-2.779 3.216-.42.786-1.014 2.114-.944 3.04.07 1.067 1.94 7.341 1.94 7.394l-1.782 5.907c1.275.84 2.9 1.451 4.439 1.503z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.258 1.206-3.233 1.678-4.561l.559-1.573c.891 1.625 1.695 3.198 2.866 4.649.437.542.927 1.031 1.399 1.538 1.468.07 3.163-.14 4.579-.385.437-.087.961-.192 1.52-.332l-3.163-7.043 4.107-13.598-14.419.245c-1.154.839-2.097 1.992-2.779 3.216-.42.786-1.014 2.114-.944 3.04.07 1.067 1.94 7.341 1.94 7.394l-1.782 5.907c1.275.84 2.9 1.451 4.439 1.503z",fill:"#1763E8"}}),t("path",{attrs:{d:"M34.007 58.725l.122-1.643-.262-.332c-4.474 1.608-11.955 1.87-16.534.35-.647-.21-1.224-.542-1.59-1.154l-.14.35c.244.891.559 1.73.943 2.482 4.772 1.922 11.71 1.87 17.46-.053z",fill:"#003694"}}),t("path",{attrs:{d:"M33.308 52.066c2.272 2.097 6.134 2.814 9.106 2.971l2.044-7.777c-2.796.087-6.274.174-8.79-.472-2.448-.612-4.597 3.233-2.36 5.278z",fill:"#004BCE"}}),t("path",{attrs:{d:"M34.6 47.277c2.85.63 6.573 1.101 8.862.77l-1.049 3.67c-2.778.244-7.305-.804-9.874-2.447.262-1.381 1.45-2.133 2.062-1.993z",fill:"#1763E8"}}),t("path",{attrs:{d:"M28.187 50.947l7.043.612c.385.017.682.402.647.787l-.367 4.212a.714.714 0 01-.769.681l-7.043-.611c-.402-.035-.682-.403-.647-.804l.367-4.213a.712.712 0 01.769-.664z",fill:"#004BCE"}}),t("path",{attrs:{d:"M28.152 51.332l7.044.611a.328.328 0 01.297.385l-.367 4.212c-.018.21-.175.332-.367.332l-7.044-.611c-.175-.018-.314-.193-.297-.385l.367-4.212c.017-.21.192-.367.367-.332z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M29.777 51.472l1.888.157-.42 4.929-3.53-.297c-.175-.018-.314-.193-.297-.385l.175-2.062a9.69 9.69 0 002.184-2.342z",fill:"#fff"}}),t("path",{attrs:{d:"M30.372 52.293c0-.017-.018-.035-.035-.035l-1.084-.087c-.017-.018-.035.017-.052.035l-.665 3.076c-.017.017-.017.017 0 .035.018.017.018.017.035.017l.7.07c.017 0 .052-.017.052-.035l.087-.542.402.018-.017.559c0 .017.017.052.052.052l.682.07c.018 0 .018-.017.035-.017 0-.018.017-.018.017-.035l-.21-3.181zm-.542.612c0 .472 0 .926.017 1.398v.052l-.402-.017.018-.053c.07-.471.175-.926.28-1.38l.017-.035.087.017v.018h-.017zm4.422 1.59l.052-.56c.018-.226.053-.489.035-.716 0-.122-.052-.244-.105-.367a.721.721 0 00-.297-.262 1.37 1.37 0 00-.437-.122c-.157-.018-.332 0-.472.052a.607.607 0 00-.332.21.643.643 0 00-.157.35c-.053.21-.07.471-.087.699l-.053.559a9.347 9.347 0 00-.035.699c.018.14.053.245.105.367.07.122.175.21.297.28.14.07.297.105.455.122.157.018.332 0 .472-.052.122-.053.244-.105.332-.228.087-.105.157-.21.174-.332l.053-.699zm-.664-1.153l-.123 1.52c-.017.105-.017.297-.07.385-.017.07-.087.105-.157.105a.254.254 0 01-.157-.105c-.018-.088 0-.297.017-.385l.123-1.538c.017-.07.017-.262.07-.332.034-.052.087-.07.157-.07s.105.035.14.105c.017.07 0 .245 0 .315zm-1.556-.892c0-.017-.017-.052-.052-.052l-.665-.053c-.017-.017-.052.018-.052.035l-.262 3.111c0 .018.017.053.035.053l.681.07c.018 0 .053-.018.053-.053l.262-3.11z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M30.284 52.293c0-.017-.018-.035-.053-.035l-1.153-.105c-.035 0-.052.018-.07.035l-.734 3.303c0 .018 0 .035.017.053.018.017.018.017.035.017l.734.07c.018 0 .053-.017.053-.035l.105-.594.42.035v.594c0 .035.017.053.034.053l.734.07c.018.017.035 0 .035-.018.018-.017.018-.017.018-.035l-.175-3.408zm-.594.664c0 .49 0 .996.017 1.503v.053l-.42-.018v-.07c.088-.49.21-.996.298-1.468l.017-.052.088.017v.035zm4.754 1.713l.052-.612c.017-.244.052-.524.035-.751 0-.14-.053-.28-.122-.385a.735.735 0 00-.315-.297 1.568 1.568 0 00-.472-.122c-.175-.018-.35 0-.524.052a.85.85 0 00-.367.245.72.72 0 00-.175.367c-.052.245-.07.507-.087.752l-.053.611c-.017.245-.052.524-.035.752 0 .157.035.28.105.402.087.122.192.21.332.297.157.07.315.105.472.122.175.018.35 0 .524-.052a.711.711 0 00.35-.245.748.748 0 00.192-.367c.053-.262.07-.542.088-.769zm-.717-1.258l-.14 1.642c0 .105-.017.315-.07.402-.017.07-.087.105-.175.105a.222.222 0 01-.157-.122c-.017-.087 0-.297.018-.402l.14-1.643c0-.087.017-.297.07-.35.034-.052.104-.07.157-.07.07 0 .122.036.14.106.035.087.017.262.017.332zm-1.66-.944c.017-.018-.018-.053-.035-.053l-.717-.07c-.035 0-.07.018-.07.053l-.297 3.338c0 .018.017.053.052.053l.717.07c.018 0 .053-.018.07-.053l.28-3.338z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M21.807 56.995c-2.709-1.573-4.579-4.93-5.313-7.341.909-.525 1.294-.542 2.64-.734-.438-.507-.84-.734-1.661-1.014.507-1.118 1.59-2.552 2.831-3.74l6.327-.157c1.084 1.328 2.15 2.674 3.234 4.02-.98.017-2.028.401-2.78.96 1.469.368 2.378.77 3.077 1.329-2.29 2.831-4.964 5.086-8.355 6.677z",fill:"#003694"}}),t("path",{attrs:{d:"M19.99 45.373l6.799.07c-.525 3.198-1.556 5.96-3.041 8.092l-3.059-.018c-.874-2.167-1.119-4.964-.7-8.144z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M20.602 45.372l2.796.017 2.779.018c-.787 1.556-1.73 2.971-2.814 4.195.157 1.013.297 2.464.385 3.897a12.324 12.324 0 01-1.836 2.08 8.914 8.914 0 01-1.223-2.097c.49-1.433 1.049-2.884 1.503-3.88-.734-1.241-1.24-2.657-1.59-4.23z",fill:"#D95C09"}}),t("path",{attrs:{d:"M22.856 49.008l-.962 6.589a8.919 8.919 0 01-1.223-2.098c.49-1.433 1.049-2.883 1.503-3.88-.105-.21-.227-.42-.332-.646.332.017.664.035 1.014.035z",fill:"#F66F10"}}),t("path",{attrs:{d:"M25.286 50.144c-.542-1.067-1.294-2.115-1.993-3.094h-.56c-.978.961-1.73 1.992-2.586 3.041-.157-1.468-.087-2.971.088-4.457l6.257.07c-.263 1.468-.647 2.989-1.206 4.44z",fill:"#fff"}}),t("path",{attrs:{d:"M18.085 26.67l6.973.28c2.465-6.763 2.954-15.607 1.853-19.155-.21-.647-.717-.524-1.189-.28-5.138 2.744-8.773 10.557-7.637 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M19.343 25.133l4.44.175C25.25 20.974 26.457 14 25.723 9.351c0-.07-.07-.053-.105-.018-4.929 3.234-6.991 10.504-6.274 15.8z",fill:"#5E3011"}}),t("path",{attrs:{d:"M22.087 25.238c1.608-4.667 2.517-10.26 2.15-13.073-2.779 1.817-4.44 8.214-4.072 13.003l1.922.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M36.559 21.323l-1.101-5.89c-.297-1.643-2.342.07-3.618-.874-1.154-.874-3.793-2.08-4.737-.961-1.503 1.747-2.831 3.653-3.757 5.96l13.213 1.765z",fill:"#004BCE"}}),t("path",{attrs:{d:"M35.737 20.554l-.926-4.981c0-.035-.035-.192-.07-.21-.087-.052-.35-.017-.437-.017-.35.035-.699.105-1.048.14-.664.07-1.276-.018-1.818-.42a7.698 7.698 0 00-1.625-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.555-2.447 3.163-3.303 4.999l11.447 1.555z",fill:"#004BCE"}}),t("path",{attrs:{d:"M32.032 15.398a1.836 1.836 0 01-.594-.332 7.698 7.698 0 00-1.625-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.555-2.447 3.163-3.303 4.999l7.27.996c.28-1.556.42-3.111.472-4.597z",fill:"#1763E8"}}),t("path",{attrs:{d:"M36.559 21.323l-.35-1.87c-.839-1.87-9.508-4.265-11.36-2.814a17.895 17.895 0 00-1.486 2.884l13.196 1.8z",fill:"#EBA100"}}),t("path",{attrs:{d:"M35.388 18.614c-2.063-1.416-7.096-2.744-9.543-2.342a18.964 18.964 0 00-1.555 2.726l11.447 1.556-.35-1.94z",fill:"#EBA100"}}),t("path",{attrs:{d:"M31.927 17.093c-2.15-.664-4.614-1.066-6.082-.821a18.964 18.964 0 00-1.555 2.726l7.27.996a28 28 0 00.367-2.9z",fill:"#FC0"}}),t("path",{attrs:{d:"M40.404 26.496l-19.96-4.666c-1.94-1.556-1.992-1.189-4.981-3.321-7.009-5.034 17.548-3.758 24.94 7.987z",fill:"#003694"}}),t("path",{attrs:{d:"M40.404 26.496l-1.328-.297c-6.467-8.372-21.812-10.784-24.836-9.07-.682-3.27 19.575-1.12 26.164 9.367z",fill:"#004BCE"}}),t("path",{attrs:{d:"M33.57 25.92l6.974.279c2.464-6.764 2.936-15.608 1.852-19.156-.21-.646-.716-.524-1.188-.28-5.139 2.745-8.774 10.557-7.638 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M34.81 24.364l4.44.192c1.468-4.334 2.674-11.308 1.94-15.957 0-.07-.07-.052-.105-.017-4.928 3.233-6.99 10.504-6.274 15.782z",fill:"#5E3011"}}),t("path",{attrs:{d:"M37.573 24.469c1.608-4.667 2.517-10.26 2.15-13.074-2.78 1.818-4.44 8.215-4.073 13.004l1.923.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M41.12 31.792c1.417.786 3.392 2.744 3.287 4.23l-4.02 2.167-28.367-3.915c.402-4.073 1.539-7.97 3.146-11.728.612-1.398 1.783-2.202 3.321-2.412 3.706-.559 9.124.088 12.811.752 3.094.56 6.38 1.363 9.281 2.57.892.366 1.433 1.223 1.328 2.149l-.786 6.187z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M44.406 36.022c-.14 1.293-.437 2.429-.996 3.757-.77 1.835-2.71 5.4-4.614 6.292-6.24 2.971-18.334.734-24.207-2.709l-2.587-8.896.035-.28.385-2.779 16.586 6.694 13.86-2.779c.594.21 1.276.525 1.538.7z",fill:"#A19075"}}),t("path",{attrs:{d:"M18.766 21.445c4.894-.734 15.188.7 21.253 3.216.227.088.367.28.332.524l-.961 7.481c1.94.7 3.146 1.8 3.478 2.657-.14 3.845-3.39 8.878-4.824 9.595-5.086 2.482-16.76.909-22.144-2.307l-2.29-8.18c.42-4.3 1.643-8.144 3.059-11.448.332-.804.961-1.38 2.097-1.538z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M37.1 26.689l-.646 5.05c1.468.385 2.132.613 2.936.91 1.94.699 3.146 1.8 3.478 2.656-.14 3.845-3.39 8.879-4.824 9.596-5.086 2.481-16.76.908-22.144-2.308l-2.29-8.162c.42-4.3 1.643-8.144 3.059-11.448.332-.786.961-1.363 2.097-1.538 3.723-.559 10.574.14 16.29 1.608 1.03.262 2.272 1.923 2.044 3.636z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M26.63 21.533h.053l.157.017H26.893l.07.018h.035l.244.035.035.017H27.33l.035.018c.07 0 .14.017.21.017h.07l.017.018H27.714c.088.017.158.017.245.035h.035l.035.017h.07l.175.018.035.017H28.36l.035.017h.035l.175.018.035.017h.035l.07.018c-1.923 1.87-2.622 6.502-2.692 8.879-.07 2.499 2.412 3.827 4.789 3.985 3.845.244 7.323-1.451 11.972.629-.14 3.845-3.39 8.879-4.824 9.595-5.086 2.482-16.76.909-22.144-2.307l-2.237-8.18c.087-.926.21-1.835.384-2.726 1.993.769 4.684 1.468 6.275 1.625 1.87.193 3.426-1.24 3.565-2.901.262-3.286 1.067-7.603 2.727-8.914l.07.018z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M26.631 21.533H26.683l.158.017H26.893l.07.018h.035l.245.035.035.017H27.33l.035.018c.07 0 .14.017.21.017h.07l.017.018H27.715c.087.017.157.017.244.035h.035l.035.017h.07l.175.018.035.017H28.36l.035.018h.035l.175.017.035.018h.035l.07.017c-1.923 1.87-2.622 6.502-2.692 8.879-.07 2.5 2.412 3.827 4.79 3.985 3.844.244 7.322-1.451 11.971.629-3.722 5.872-19.208 6.31-27.79 2.447l-1.467-3.321c.087-.926.21-1.835.384-2.726 1.993.769 4.684 1.468 6.275 1.625 1.87.192 3.425-1.241 3.565-2.901.262-3.286 1.066-7.603 2.727-8.914h.122z",fill:"#fff"}}),t("path",{attrs:{d:"M32.836 28.489l-.297 2.324c-.332 2.64-4.876 2.098-4.544-.559l.297-2.325c.332-2.639 4.876-2.097 4.544.56z",fill:"#fff"}}),t("path",{attrs:{d:"M32.257 27.995l-.079.56c-.297 2.098-3.67 1.714-3.39-.384l.08-.53 1.656-.139-1.567-.4c.418-1.415 3.597-1.204 3.3.893z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M29.602 32.736l3.444-.28c-.437-1.206-2.814-1.066-3.444.28z",fill:"#FFD696"}}),t("path",{attrs:{d:"M29.602 32.736c.612.611 2.744.769 3.444-.28-1.468-.542-2.657-.21-3.444.28z",fill:"#E37E4F"}}),t("path",{attrs:{d:"M23.573 27.3l-.297 2.325c-.332 2.639-4.65 2.097-4.317-.56l.297-2.324c.332-2.657 4.649-2.08 4.317.56z",fill:"#fff"}}),t("path",{attrs:{d:"M23.159 26.816l-.079.56c-.297 2.098-3.67 1.713-3.39-.384l.08-.53 1.655-.139-1.566-.4c.418-1.414 3.597-1.204 3.3.893z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M27.942 43.956c1.556-.175 2.762.315 3.548.647.612.262 1.171.332 1.643.245l1.94-3.216v-.21c-.035-.822-.524-1.38-.961-2.325-.21-.471-.385-.926-.594-1.8l-5.576 6.66z",fill:"#4F2800"}}),t("path",{attrs:{d:"M35.073 41.65c-1.31.157-2.447 1.59-1.94 3.215 1.241-.227 1.94-1.555 1.94-3.216z",fill:"#AD6151"}}),t("path",{attrs:{d:"M35.126 44.498c1.66.21 1.782-1.328.873-2.586.018 1.223-.105 1.94-.873 2.586z",fill:"#D6B887"}}),t("path",{attrs:{d:"M9.434 27.86l12.74 1.643c.665.087 2.238.96 2.36 1.573l-2.499 2.044.56 3.409 6.134 5.033 4.946-4.596c.734 3.215-3.46 8.86-4.963 9.595-3.234 1.608-8.425 1.503-11.973.559-3.425-.926-6.659-2.796-8.599-5.96-.664-1.083-1.031-2.674-1.223-3.915-.42-2.761-.28-5.925.786-8.442a1.653 1.653 0 011.73-.943z",fill:"#A19075"}}),t("path",{attrs:{d:"M9.416 29.118l14.629 1.888c-.647 5.226 3.845 6.31 9.63 5.96-.175 3.705-4.02 7.812-5.506 8.564-3.932 1.975-14.768 1.748-18.893-4.946-1.101-1.766-1.992-7.306-.332-11.186.07-.21.262-.297.472-.28z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M9.416 29.118l14.629 1.888.489.07c-.647 5.226 3.356 6.257 9.14 5.907-.017.647-.174 1.311-.401 1.958-.926 2.883-2.727 4.072-4.422 4.928-3.793 1.906-8.599.193-13.947-3.233-1.678-1.084-5.33-1.992-5.628-.017-1.101-1.766-1.992-7.306-.332-11.186.07-.245.262-.332.472-.315z",fill:"#fff"}}),t("path",{attrs:{d:"M8 27.353l7.813 1.013c.96.123 1.415.647 1.345 1.678-.786 9.141-13.894 7.97-9.84-2.324A.612.612 0 018 27.353z",fill:"#19133B"}}),t("path",{attrs:{d:"M8 27.353l3.076.384c-.734 1.556-1.258 3.409-1.328 4.317-.088 1.224-.053 2.657.245 4.02-2.64-.646-4.597-3.478-2.675-8.372a.62.62 0 01.682-.35z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M8.472 28.139l5.383.7a.694.694 0 01.577.384.53.53 0 01-.105.629c-1.608 1.678-6.834.979-6.606-1.206.035-.315.367-.542.751-.507z",fill:"#687095"}}),t("path",{attrs:{d:"M23.765 21.108c.7 0 1.241.262 1.189.611-.053.332-.647.612-1.346.612-.7 0-1.24-.262-1.189-.612.053-.332.665-.611 1.346-.611zM31.27 22c-.682-.175-1.259-.053-1.311.279-.035.332.472.769 1.153.944.682.175 1.276.052 1.311-.28.018-.332-.472-.769-1.153-.944z",fill:"#FFD696"}}),t("path",{attrs:{d:"M41.68 46.123a5.173 5.173 0 015.173 5.174 5.162 5.162 0 01-5.174 5.173 5.162 5.162 0 01-5.173-5.173 5.173 5.173 0 015.173-5.174z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.679 46.753a4.546 4.546 0 00-4.544 4.544c0 2.5 2.045 4.544 4.544 4.544 2.5 0 4.544-2.045 4.544-4.544a4.535 4.535 0 00-4.544-4.544z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.679 46.753a4.546 4.546 0 00-4.544 4.544c0 .28.017.56.07.821 3.198.595 6.729-.332 8.913-1.782a4.52 4.52 0 00-4.439-3.583z",fill:"#338FFF"}}),t("path",{attrs:{d:"M43.48 46.612a4.453 4.453 0 014.456 4.457c0 2.447-1.992 4.44-4.457 4.44a4.446 4.446 0 01-4.439-4.44 4.438 4.438 0 014.44-4.457z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.898 3.916 3.901 3.901 0 003.898 3.897 3.905 3.905 0 003.915-3.897 3.909 3.909 0 00-3.915-3.916z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.898 3.916c0 .244.017.471.07.699 2.744.507 5.785-.28 7.655-1.538a3.917 3.917 0 00-3.827-3.077z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M46.01 44.209c.191-.767.691-1.38 1.519-1.578.863-.183 1.744-.105 2.48.387a2.74 2.74 0 011.18 1.862 2.483 2.483 0 01-.578 2.003c.5.368.852.904.952 1.58.115.64-.068 1.284-.487 1.804-.465.61-1.177.958-1.902 1.114-.38.08-.75.052-1.11-.098-.812-.328-1.331-1.238-1.433-2.194-.2.154-.42.257-.68.292-1.09.2-2.148-.147-2.792-1.084a2.867 2.867 0 01-.482-1.385c-.119-1.446.758-2.681 2.212-2.94.208-.032.417-.047.649.007.162.059.325.135.471.23z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M47.923 54.289c2.527-.194 4.33-2.72 4.074-5.629-.275-2.924-2.514-5.132-5.04-4.938-2.51.193-4.332 2.703-4.075 5.628.257 2.926 2.513 5.116 5.041 4.939z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M47.848 53.47c2.127-.148 3.677-2.289 3.452-4.761-.226-2.472-2.127-4.354-4.288-4.185-2.126.166-3.677 2.289-3.451 4.761.224 2.455 2.161 4.352 4.287 4.186z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M49.574 52.842c1.186-.836 1.882-2.409 1.725-4.15-.226-2.472-2.127-4.354-4.288-4.185a2.995 2.995 0 00-.948.224c-.413 3.357 1.26 6.727 3.511 8.111z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M47.063 52.264c1.516-.123 2.635-1.656 2.477-3.414-.16-1.776-1.55-3.115-3.066-3.01-1.535.108-2.636 1.64-2.477 3.415.176 1.775 1.55 3.115 3.066 3.01z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M44.505 39.986l1.28-.247 1.553 7.688c.111.588-1.167.853-1.28.247l-1.553-7.688z",fill:"#5A6D74"}}),t("path",{attrs:{d:"M44.763 42.667l1.848-.375a.641.641 0 01.736.51l1.714 8.465c.237 1.14-2.923 1.553-3.093.619l-1.712-8.448a.642.642 0 01.507-.771z",fill:"#19133B"}}),t("path",{attrs:{d:"M45.678 42.48l.933-.188a.641.641 0 01.737.51l1.713 8.465c.11.57-.615.971-1.395 1.096l-1.988-9.883z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M42.484 25.113c4.076-.828 8.045 1.803 8.874 5.897.81 4.06-1.802 8.045-5.898 8.857-4.077.828-8.045-1.803-8.875-5.897-.81-4.06 1.82-8.046 5.899-8.857z",fill:"#fff","fill-opacity":".2"}}),t("path",{attrs:{d:"M42.237 23.833c4.768-.964 9.417 2.128 10.38 6.896.965 4.768-2.108 9.433-6.893 10.398-4.768.965-9.417-2.127-10.381-6.895-.965-4.768 2.108-9.433 6.894-10.399zm.415 2.179a6.592 6.592 0 00-5.15 7.771 6.592 6.592 0 007.77 5.15c3.577-.722 5.89-4.213 5.151-7.77-.704-3.56-4.176-5.858-7.771-5.151z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M42.272 24.094a8.568 8.568 0 0110.105 6.704c.939 4.648-2.074 9.168-6.705 10.088a8.568 8.568 0 01-10.105-6.705c-.938-4.647 2.074-9.168 6.705-10.087zm.347 1.693a6.837 6.837 0 018.066 5.358 6.843 6.843 0 01-5.36 8.048 6.837 6.837 0 01-8.066-5.358c-.749-3.697 1.645-7.298 5.36-8.048z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M42.323 24.318c-4.285.86-7.139 4.897-6.614 9.152.093.818 1.326.661 1.233-.156a7.098 7.098 0 015.622-7.804c3.663-.73 7.216 1.475 8.216 4.997.23.772 1.415.444 1.203-.33-1.181-4.122-5.358-6.72-9.66-5.86z",fill:"#D3E8EF"}}),t("path",{attrs:{d:"M42.801 26.65a5.939 5.939 0 016.037 2.399c-1.287-.874-2.909-1.269-4.55-.926a5.938 5.938 0 00-4.642 7.017 5.61 5.61 0 00.981 2.262 5.827 5.827 0 01-2.45-3.718 5.908 5.908 0 014.624-7.034z",fill:"#fff","fill-opacity":".6"}}),t("path",{attrs:{d:"M45.033 44.75c1.506-.263 2.32 3.622.799 3.904-2.734.489-3.273-3.45-.799-3.904zm2.673-1.36c-1.64.36-1.144 3.689.362 3.916-1.285.668-.601 3.687.97 3.349 2.708-.61 2.123-3.46-.035-3.502 2.593-1.005 1.464-4.377-1.297-3.764z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M48.647 43.341c-1.05.775-.613 3.267.624 3.671 1.93-.976 1.337-3.44-.624-3.67zm-3.34 5.35c-2.054-.05-2.513-2.855-.892-3.722 1.187.18 1.82 2.956.892 3.722zm3.975-1.522c-.896.71-.522 2.805.54 3.204 1.655-.887 1.142-2.954-.54-3.204z",fill:"#FAD395"}})])])},D=[];const y={},n={};var A=s(y,F,D,!1,w,null,null,null);function w(l){for(let a in n)this[a]=n[a]}const k=function(){return A.exports}();var x=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{staticClass:"aioseo-light-bulb",attrs:{viewBox:"0 0 29 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{fill:"currentColor",d:"M 10.3477 27.595 c 0 0.6655 0.5445 1.21 1.21 1.21 h 4.84 c 0.6655 0 1.21 -0.5445 1.21 -1.21 v -1.21 h -7.26 v 1.21 z m 3.63 -22.99 c -4.6706 0 -8.47 3.7994 -8.47 8.47 c 0 2.8798 1.4399 5.4087 3.63 6.9454 V 22.755 c 0 0.6655 0.5445 1.21 1.21 1.21 h 7.26 c 0.6655 0 1.21 -0.5445 1.21 -1.21 v -2.7346 c 2.1901 -1.5367 3.63 -4.0656 3.63 -6.9454 c 0 -4.6706 -3.7994 -8.47 -8.47 -8.47 z m 3.4485 13.431 l -1.0285 0.726 V 21.545 h -4.84 v -2.783 l -1.0285 -0.726 A 6.0464 6.0464 90 0 1 7.9277 13.075 c 0 -3.3396 2.7104 -6.05 6.05 -6.05 s 6.05 2.7104 6.05 6.05 c 0 1.9723 -0.968 3.8236 -2.6015 4.961 z"}}),t("path",{style:{opacity:l.active?1:0},attrs:{fill:"currentColor",d:"M 13.041 3.717 h 2.334 V 0.799 h -2.334 v 2.918 z M 24.127 14.219 h 2.917 v -2.334 h -2.917 v 2.334 z M 1.956 14.219 h 2.917 v -2.334 H 1.956 v 2.334 z M 23.133 7.52 l 2.062 -2.063 l -1.642 -1.642 l -2.062 2.063 l 1.642 1.642 z M 6.56 7.52 L 4.499 5.457 L 6.14 3.815 l 2.063 2.063 L 6.56 7.52 z"}})])},L=[];const S={props:{active:{type:Boolean,default(){return!1}}}},f={};var H=s(S,x,L,!1,b,null,null,null);function b(l){for(let a in f)this[a]=f[a]}const O=function(){return H.exports}();var U=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{staticClass:"aioseo-star",attrs:{viewBox:"0 0 21 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{fill:"currentColor",d:"M10.5 5.13l.97 2.29.47 1.11 1.2.1 2.47.21-1.88 1.63-.91.79.27 1.18.56 2.41-2.12-1.28-1.03-.64-1.03.62-2.12 1.28.56-2.41.27-1.18-.91-.79-1.88-1.63 2.47-.21 1.2-.1.47-1.11.97-2.27zm0-5.13L7.69 6.63.5 7.24l5.46 4.73L4.32 19l6.18-3.73L16.68 19l-1.64-7.03 5.46-4.73-7.19-.61L10.5 0z"}}),t("path",{style:{opacity:l.active?1:0},attrs:{fill:"currentColor",d:"M 10.5 5.13 m 0 -5.13 L 7.69 6.63 L 0.5 7.24 l 5.46 4.73 L 4.32 19 l 6.18 -3.73 L 16.68 19 l -1.64 -7.03 l 5.46 -4.73 l -7.19 -0.61 L 10.5 0 z"}})])},j=[];const R={props:{active:{type:Boolean,default(){return!1}}}},o={};var V=s(R,U,j,!1,P,null,null,null);function P(l){for(let a in o)this[a]=o[a]}const q=function(){return V.exports}();var N=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("div",{ref:"aioseo-flyout-menu",staticClass:"aioseo-flyout-menu",class:[{"is-open":l.isOpen},{"will-open":l.willOpen}]},[t("div",{staticClass:"aioseo-flyout-menu-items"},l._l(l.items,function(c,i){return t("a",{key:i,style:{transitionDelay:`${l.items.length-i}00ms`},attrs:{href:c.url,target:"_blank"},on:{mouseover:function(h){l.hovering=i},mouseleave:function(h){l.hovering=null}}},[t("span",{staticClass:"aioseo-flyout-menu-label"},[l._v(l._s(c.label))]),t("div",{staticClass:"aioseo-flyout-menu-label icon"},[t(c.icon,{tag:"component",attrs:{active:i===l.hovering}})],1)])}),0),t("div",{staticClass:"aioseo-flyout-menu-button",on:{click:function(c){l.isOpen=!l.isOpen},mouseover:function(c){l.willOpen=!0},mouseleave:function(c){l.willOpen=!1}}},[t("span",{staticClass:"aioseo-flyout-menu-label"},[l._v(l._s(l.strings.quickLinks))]),t("svg-flyout-dannie-up",{directives:[{name:"show",rawName:"v-show",value:l.isOpen,expression:"isOpen"}]}),t("svg-flyout-dannie",{directives:[{name:"show",rawName:"v-show",value:!l.isOpen,expression:"!isOpen"}]})],1)])},I=[];const J={components:{SvgFlyoutDannie:B,SvgFlyoutDannieUp:k,SvgLightBulb:O,SvgMessage:M,SvgStar:q,SvgSupport:v},mixins:[d],data(){return{isOpen:!1,willOpen:!1,hovering:null,strings:{quickLinks:this.$t.__("Quick Links",this.$td)}}},computed:{...z(["pong"]),items(){const l=[{label:this.$t.__("Support & Docs",this.$td),url:this.$links.utmUrl("flyout-menu","support-docs",this.$links.docLinks.home),icon:"svg-support"},{label:this.$t.__("Join Our Community",this.$td),url:this.$links.utmUrl("flyout-menu","join-our-community","plugin/facebook/"),icon:"svg-message"},{label:this.$t.__("Suggest a Feature",this.$td),url:this.$links.utmUrl("flyout-menu","suggest-a-feature","suggest-a-feature/"),icon:"svg-light-bulb"}];return!this.$isPro&&this.pong&&l.unshift({label:this.$t.sprintf(this.$t.__("Upgrade to %1$s %2$s",this.$td),"AIOSEO","Pro"),url:this.$links.utmUrl("flyout-menu","upgrade-to-pro"),icon:"svg-star"}),l}},methods:{documentClick(l){if(!this.isOpen)return;const a=this.$refs["aioseo-flyout-menu"];a&&(a===l.target||a.contains(l.target))||(this.isOpen=!1)}},mounted(){this.$nextTick(function(){document.addEventListener("click",this.documentClick)})},beforeUnmount(){document.removeEventListener("click",this.documentClick)}},p={};var Q=s(J,N,I,!1,T,null,null,null);function T(l){for(let a in p)this[a]=p[a]}const G=function(){return Q.exports}();r.prototype.$t=m;r.prototype.$td="all-in-one-seo-pack";r.prototype.$tdPro="aioseo-pro";new r({store:u,render:l=>l(G)}).$mount("#aioseo-flyout-menu");
|
1 |
+
import{n as s,V as r}from"./js/vueComponentNormalizer.58b0a173.js";import"./js/index.c9bc1c73.js";import{S as d}from"./js/Standalone.c24a3819.js";import{a as z,s as u}from"./js/index.f16c040b.js";import{S as M}from"./js/Message.53dadd92.js";import{S as v}from"./js/Support.01b73fda.js";import{t as m}from"./js/translations.3bc9d58c.js";import"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";import"./js/default-i18n.0e73c33c.js";import"./js/constants.71b051da.js";import"./js/isArrayLikeObject.5268a676.js";import"./js/portal-vue.esm.272b3133.js";var _=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[t("path",{attrs:{d:"M17.683 56.907l3.04-8.826-1.17-2.133c-5.016.175-8.424 3.67-8.634 7.026l6.764 3.933z",fill:"#004BCE"}}),t("path",{attrs:{d:"M17.124 51.122a5.182 5.182 0 011.678 7.13 5.165 5.165 0 01-7.114 1.679 5.165 5.165 0 01-1.678-7.114c1.486-2.43 4.667-3.18 7.114-1.695z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.792 51.664c-2.133-1.329-4.929-.647-6.24 1.468-1.328 2.132-.664 4.928 1.468 6.257 2.133 1.328 4.929.646 6.257-1.486 1.294-2.115.647-4.929-1.485-6.24z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.791 51.664c-2.132-1.329-4.928-.647-6.239 1.468-.157.244-.28.49-.384.734 2.411 2.184 5.907 3.25 8.511 3.163.7-1.957-.052-4.212-1.887-5.365z",fill:"#338FFF"}}),t("path",{attrs:{d:"M18.382 52.485a4.455 4.455 0 011.45 6.135 4.455 4.455 0 01-6.134 1.45 4.451 4.451 0 01-1.45-6.134 4.477 4.477 0 016.134-1.45z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.085 52.957a3.89 3.89 0 00-5.365 1.276 3.89 3.89 0 001.275 5.366c1.836 1.153 4.248.559 5.366-1.276 1.154-1.836.577-4.23-1.276-5.366z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.085 52.957a3.89 3.89 0 00-5.366 1.276c-.122.21-.244.42-.332.63 2.08 1.87 5.086 2.813 7.34 2.726a3.882 3.882 0 00-1.642-4.632z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M16.634 59.04l-1.887 6.221c1.538 1.154 3.758 2.045 5.802 1.958.612-1.136 1.469-3.758 1.923-5.051 1.678 3.04 2.761 4.02 3.793 5.086 3.303.262 9.577-1.084 11.185-2.517l-3.757-6.502.157-1.503 3.932-8.11-2.656-4.23-16.184.263c-2.78 1.888-4.353 5.4-4.248 7.061.088.909 1.241 4.981 1.94 7.323z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.259 1.206-3.234 1.678-4.562l.56-1.573c.89 1.625 1.695 3.198 2.866 4.65.437.541.926 1.03 1.398 1.537 1.468.07 3.164-.14 4.58-.384 1.467-.263 3.914-.84 5.26-1.608l-3.53-6.117.21-1.888 3.81-7.847-2.203-3.514-15.503.245c-1.153.84-2.097 1.993-2.779 3.216-.419.786-1.013 2.115-.943 3.041.07 1.066 1.94 7.34 1.94 7.393l-1.783 5.908c1.276.839 2.901 1.45 4.44 1.503z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.259 1.206-3.234 1.678-4.562l.56-1.573c.89 1.625 1.695 3.198 2.866 4.65.437.541.926 1.03 1.398 1.537 1.468.07 3.164-.14 4.58-.384.436-.088.96-.193 1.52-.332l-3.164-7.044 4.108-13.598-14.42.245c-1.153.84-2.097 1.993-2.779 3.216-.419.786-1.013 2.115-.943 3.041.07 1.066 1.94 7.34 1.94 7.393l-1.783 5.908c1.276.839 2.901 1.45 4.44 1.503z",fill:"#1763E8"}}),t("path",{attrs:{d:"M34.007 58.725l.122-1.643-.262-.332c-4.474 1.608-11.954 1.87-16.534.35-.646-.21-1.223-.543-1.59-1.154l-.14.35c.245.89.56 1.73.944 2.481 4.771 1.923 11.71 1.87 17.46-.052z",fill:"#003694"}}),t("path",{attrs:{d:"M33.308 52.066c2.272 2.097 6.135 2.814 9.106 2.97l2.045-7.777c-2.796.088-6.275.175-8.791-.472-2.447-.611-4.597 3.234-2.36 5.279z",fill:"#004BCE"}}),t("path",{attrs:{d:"M34.601 47.277c2.85.629 6.572 1.1 8.862.769l-1.049 3.67c-2.779.245-7.306-.804-9.875-2.447.262-1.38 1.45-2.132 2.062-1.992z",fill:"#1763E8"}}),t("path",{attrs:{d:"M28.187 50.947l7.043.612c.385.017.682.402.647.786l-.367 4.212a.714.714 0 01-.769.682l-7.043-.612c-.402-.035-.682-.402-.647-.804l.367-4.212a.712.712 0 01.769-.664z",fill:"#004BCE"}}),t("path",{attrs:{d:"M28.152 51.332l7.044.611a.328.328 0 01.297.385l-.367 4.212c-.018.21-.175.332-.367.332l-7.044-.612c-.175-.017-.314-.192-.297-.384l.367-4.212c.017-.21.192-.367.367-.332z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M29.777 51.471l1.888.158-.42 4.928-3.53-.297c-.175-.017-.314-.192-.297-.384l.175-2.063a9.69 9.69 0 002.184-2.342z",fill:"#fff"}}),t("path",{attrs:{d:"M30.372 52.293c0-.018-.018-.035-.035-.035l-1.084-.088c-.017-.017-.035.018-.052.035l-.665 3.077c-.017.017-.017.017 0 .035.018.017.018.017.035.017l.7.07c.017 0 .052-.018.052-.035l.087-.542.402.018-.017.559c0 .017.017.052.052.052l.682.07c.018 0 .018-.017.035-.017 0-.018.017-.018.017-.035l-.21-3.181zm-.542.612c0 .471 0 .926.017 1.398v.052l-.402-.017.018-.053c.07-.472.175-.926.28-1.38l.017-.035.087.017v.018h-.017zm4.422 1.59l.052-.56c.018-.226.053-.489.035-.716 0-.122-.052-.245-.105-.367a.72.72 0 00-.297-.262 1.367 1.367 0 00-.437-.122c-.157-.018-.332 0-.472.052a.607.607 0 00-.332.21.643.643 0 00-.157.35c-.053.21-.07.471-.087.699l-.053.559a9.347 9.347 0 00-.035.699c.018.14.053.245.105.367.07.122.175.21.297.28.14.07.297.104.455.122.157.017.332 0 .472-.052.122-.053.244-.105.332-.228.087-.105.157-.21.174-.332l.053-.699zm-.664-1.153l-.123 1.52c-.017.105-.017.297-.07.385-.017.07-.087.105-.157.105a.254.254 0 01-.157-.105c-.018-.088 0-.297.017-.385l.123-1.538c.017-.07.017-.262.07-.332.034-.052.087-.07.157-.07s.105.035.14.105c.017.07 0 .245 0 .315zm-1.556-.892c0-.017-.017-.052-.052-.052l-.665-.053c-.017-.017-.052.018-.052.035l-.262 3.111c0 .018.017.053.035.053l.681.07c.018 0 .053-.018.053-.053l.262-3.11z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M30.284 52.293c0-.018-.017-.035-.052-.035l-1.154-.105c-.035 0-.052.018-.07.035l-.734 3.303c0 .018 0 .035.018.053.017.017.017.017.035.017l.734.07c.017 0 .052-.017.052-.035l.105-.594.42.035v.594c0 .035.017.053.035.053l.734.07c.017.017.035 0 .035-.018.017-.017.017-.017.017-.035l-.175-3.408zm-.594.664c0 .49 0 .996.018 1.503v.053l-.42-.018v-.07c.087-.49.21-.996.297-1.468l.018-.052.087.017v.035zm4.754 1.713l.052-.612c.018-.245.053-.524.035-.751 0-.14-.052-.28-.122-.385a.735.735 0 00-.315-.297 1.57 1.57 0 00-.471-.122c-.175-.018-.35 0-.525.052a.85.85 0 00-.367.245.718.718 0 00-.175.367c-.052.244-.07.507-.087.751l-.052.612c-.018.245-.053.524-.035.752 0 .157.035.28.105.402.087.122.192.21.332.297.157.07.314.105.471.122.175.017.35 0 .525-.052a.71.71 0 00.35-.245.747.747 0 00.192-.367c.052-.262.07-.542.087-.77zm-.717-1.259l-.14 1.643c0 .105-.017.315-.07.402-.017.07-.087.105-.174.105a.222.222 0 01-.157-.122c-.018-.087 0-.297.017-.402l.14-1.643c0-.087.017-.297.07-.35.035-.052.105-.07.157-.07.07 0 .123.036.14.105.035.088.017.263.017.332zm-1.66-.943c.018-.018-.017-.053-.035-.053l-.716-.07c-.035 0-.07.018-.07.053l-.297 3.338c0 .018.017.053.052.053l.716.07c.018 0 .053-.018.07-.053l.28-3.338z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M21.808 56.994c-2.71-1.573-4.58-4.928-5.313-7.34.909-.525 1.293-.542 2.639-.734-.437-.507-.84-.734-1.66-1.014.506-1.119 1.59-2.552 2.83-3.74l6.328-.158c1.083 1.329 2.15 2.674 3.233 4.02-.979.018-2.027.402-2.779.962 1.468.367 2.377.769 3.076 1.328-2.29 2.831-4.963 5.086-8.354 6.676z",fill:"#003694"}}),t("path",{attrs:{d:"M19.99 45.372l6.8.07c-.525 3.198-1.556 5.96-3.042 8.092l-3.059-.018c-.873-2.167-1.118-4.963-.699-8.144z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M20.602 45.372l2.796.017 2.78.018c-.787 1.555-1.73 2.97-2.815 4.194.158 1.014.298 2.465.385 3.898a12.311 12.311 0 01-1.835 2.08 8.916 8.916 0 01-1.224-2.098c.49-1.433 1.05-2.884 1.503-3.88-.733-1.24-1.24-2.656-1.59-4.23z",fill:"#D95C09"}}),t("path",{attrs:{d:"M22.857 49.007l-.962 6.59a8.915 8.915 0 01-1.223-2.098c.49-1.433 1.049-2.884 1.503-3.88-.105-.21-.227-.42-.332-.647.332.018.664.035 1.014.035z",fill:"#F66F10"}}),t("path",{attrs:{d:"M25.286 50.143c-.542-1.066-1.293-2.115-1.992-3.093h-.56c-.978.96-1.73 1.992-2.586 3.04-.158-1.467-.088-2.97.087-4.456l6.257.07c-.262 1.468-.647 2.989-1.206 4.44z",fill:"#fff"}}),t("path",{attrs:{d:"M18.085 26.67l6.973.28c2.465-6.764 2.954-15.607 1.853-19.156-.21-.646-.717-.524-1.189-.28-5.138 2.745-8.773 10.557-7.637 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M19.343 25.133l4.44.174C25.25 20.973 26.455 14 25.722 9.35c0-.07-.07-.052-.105-.017-4.93 3.233-6.992 10.504-6.275 15.8z",fill:"#5E3011"}}),t("path",{attrs:{d:"M22.087 25.237c1.608-4.666 2.517-10.26 2.15-13.073-2.779 1.818-4.44 8.214-4.072 13.003l1.922.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M36.558 21.322l-1.1-5.89c-.298-1.643-2.343.07-3.619-.874-1.153-.873-3.792-2.08-4.736-.96-1.503 1.747-2.832 3.652-3.758 5.959l13.213 1.765z",fill:"#004BCE"}}),t("path",{attrs:{d:"M35.737 20.553l-.926-4.98c0-.036-.035-.193-.07-.21-.088-.053-.35-.018-.437-.018-.35.035-.7.105-1.049.14-.664.07-1.276-.018-1.818-.42a7.703 7.703 0 00-1.625-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.556-2.447 3.164-3.303 4.999l11.448 1.555z",fill:"#004BCE"}}),t("path",{attrs:{d:"M32.032 15.397a1.835 1.835 0 01-.594-.332 7.703 7.703 0 00-1.626-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.556-2.447 3.164-3.303 4.999l7.27.996c.28-1.556.42-3.111.473-4.597z",fill:"#1763E8"}}),t("path",{attrs:{d:"M36.559 21.322l-.35-1.87c-.839-1.87-9.508-4.264-11.36-2.814a17.895 17.895 0 00-1.486 2.884l13.196 1.8z",fill:"#EBA100"}}),t("path",{attrs:{d:"M35.387 18.613c-2.062-1.415-7.096-2.744-9.542-2.342a18.968 18.968 0 00-1.556 2.727l11.448 1.555-.35-1.94z",fill:"#EBA100"}}),t("path",{attrs:{d:"M31.927 17.093c-2.15-.664-4.614-1.066-6.082-.822a18.963 18.963 0 00-1.556 2.727l7.27.996c.176-.979.298-1.94.368-2.901z",fill:"#FC0"}}),t("path",{attrs:{d:"M40.404 26.496l-19.96-4.667c-1.94-1.555-1.992-1.188-4.981-3.32-7.009-5.034 17.548-3.758 24.94 7.987z",fill:"#003694"}}),t("path",{attrs:{d:"M40.405 26.496l-1.329-.297c-6.467-8.372-21.812-10.784-24.836-9.07-.681-3.27 19.575-1.12 26.165 9.367z",fill:"#004BCE"}}),t("path",{attrs:{d:"M33.57 25.919l6.974.28c2.464-6.764 2.936-15.608 1.852-19.156-.21-.647-.716-.524-1.188-.28-5.139 2.744-8.774 10.557-7.638 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M34.81 24.363l4.44.193c1.468-4.335 2.674-11.308 1.94-15.958 0-.07-.07-.052-.105-.017-4.928 3.233-6.99 10.504-6.274 15.782z",fill:"#5E3011"}}),t("path",{attrs:{d:"M37.573 24.468c1.608-4.666 2.517-10.26 2.15-13.073-2.78 1.818-4.44 8.214-4.073 13.003l1.923.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M41.12 31.791c1.417.787 3.392 2.744 3.287 4.23l-4.02 2.167-28.367-3.915c.402-4.072 1.539-7.97 3.146-11.727.612-1.398 1.783-2.202 3.321-2.412 3.706-.56 9.124.087 12.811.751 3.094.56 6.38 1.364 9.281 2.57.892.367 1.433 1.223 1.328 2.15l-.786 6.186z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M44.406 36.021c-.14 1.294-.437 2.43-.996 3.758-.77 1.835-2.71 5.4-4.614 6.292-6.24 2.971-18.334.734-24.207-2.71l-2.587-8.895.035-.28.385-2.779 16.586 6.694 13.86-2.779c.594.21 1.276.524 1.538.7z",fill:"#A19075"}}),t("path",{attrs:{d:"M18.767 21.445c4.893-.734 15.188.699 21.253 3.216.227.087.367.28.332.524l-.961 7.48c1.94.7 3.145 1.8 3.477 2.657-.14 3.845-3.39 8.879-4.823 9.595-5.086 2.482-16.761.91-22.145-2.307l-2.29-8.18c.42-4.299 1.644-8.144 3.06-11.447.331-.804.96-1.381 2.097-1.538z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M37.1 26.688l-.646 5.051c1.468.384 2.133.612 2.937.909 1.94.699 3.145 1.8 3.477 2.656-.14 3.846-3.39 8.88-4.823 9.596-5.086 2.482-16.761.909-22.145-2.307l-2.29-8.162c.42-4.3 1.644-8.145 3.06-11.448.331-.787.96-1.364 2.097-1.538 3.723-.56 10.574.14 16.289 1.608 1.031.262 2.272 1.922 2.045 3.635z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M26.631 21.532H26.684l.157.017H26.893l.07.018h.035l.245.035.035.017H27.33l.035.018c.07 0 .14.017.21.017h.07l.017.018H27.715c.087.017.157.017.245.035h.034l.035.017h.07l.175.018.035.017H28.362l.035.018h.035l.174.017.035.018h.035l.07.017c-1.922 1.87-2.622 6.502-2.691 8.879-.07 2.5 2.411 3.827 4.788 3.985 3.845.244 7.324-1.45 11.973.629-.14 3.845-3.391 8.879-4.824 9.595-5.086 2.482-16.761.909-22.144-2.307l-2.238-8.18c.088-.926.21-1.835.385-2.726 1.992.77 4.684 1.468 6.274 1.626 1.87.192 3.426-1.241 3.566-2.902.262-3.286 1.066-7.603 2.726-8.913l.07.017z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M26.631 21.532H26.684l.157.018H26.894l.07.017h.035l.244.035.035.017H27.331l.035.018c.07 0 .14.017.21.017h.069l.018.018H27.715c.087.017.157.017.245.035h.035l.035.017h.07l.174.018.035.017H28.362l.035.018h.035l.174.017.035.018h.035l.07.017c-1.922 1.87-2.621 6.502-2.691 8.879-.07 2.5 2.412 3.828 4.789 3.985 3.845.245 7.323-1.45 11.972.629-3.723 5.872-19.208 6.31-27.79 2.447l-1.468-3.32c.088-.927.21-1.836.385-2.727 1.992.769 4.684 1.468 6.274 1.625 1.87.192 3.426-1.24 3.566-2.901.262-3.286 1.066-7.603 2.726-8.914h.122z",fill:"#fff"}}),t("path",{attrs:{d:"M32.836 28.488l-.297 2.325c-.333 2.639-4.877 2.097-4.545-.56l.297-2.324c.333-2.64 4.877-2.098 4.545.56z",fill:"#fff"}}),t("path",{attrs:{d:"M32.748 29.065l-.244 2.01c-.297 2.29-3.688 1.853-3.39-.437l.121-.996 1.696-.437-1.573-.577c.314-2.29 3.705-1.853 3.39.437z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M29.602 32.735l3.444-.28c-.437-1.205-2.814-1.065-3.444.28z",fill:"#FFD696"}}),t("path",{attrs:{d:"M29.602 32.735c.612.612 2.744.77 3.444-.28-1.468-.541-2.657-.21-3.444.28z",fill:"#E37E4F"}}),t("path",{attrs:{d:"M23.573 27.3l-.297 2.324c-.332 2.64-4.65 2.098-4.317-.56l.297-2.324c.332-2.656 4.649-2.08 4.317.56z",fill:"#fff"}}),t("path",{attrs:{d:"M23.485 27.876l-.262 2.01c-.297 2.29-3.67 1.87-3.39-.42l.14-1.013 1.695-.437-1.573-.559c.297-2.307 3.687-1.87 3.39.42z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M27.942 43.956c1.556-.175 2.762.315 3.548.647.612.262 1.171.332 1.643.244l1.94-3.215v-.21c-.035-.822-.524-1.381-.961-2.325-.21-.472-.385-.926-.594-1.8l-5.576 6.659z",fill:"#4F2800"}}),t("path",{attrs:{d:"M35.073 41.649c-1.31.157-2.447 1.59-1.94 3.216 1.241-.227 1.94-1.556 1.94-3.216z",fill:"#AD6151"}}),t("path",{attrs:{d:"M35.126 44.498c1.66.21 1.782-1.328.873-2.587.018 1.224-.105 1.94-.873 2.587z",fill:"#D6B887"}}),t("path",{attrs:{d:"M9.433 27.859l12.741 1.643c.665.087 2.238.961 2.36 1.573l-2.5 2.045.56 3.408 6.134 5.034 4.947-4.597c.734 3.216-3.46 8.861-4.964 9.595-3.233 1.608-8.424 1.503-11.972.56-3.426-.927-6.66-2.797-8.6-5.96-.663-1.084-1.03-2.675-1.223-3.915-.42-2.762-.28-5.925.787-8.442a1.653 1.653 0 011.73-.944z",fill:"#A19075"}}),t("path",{attrs:{d:"M9.416 29.117l14.629 1.888c-.647 5.226 3.845 6.31 9.63 5.96-.175 3.705-4.02 7.813-5.506 8.564-3.932 1.975-14.768 1.748-18.893-4.946-1.101-1.765-1.992-7.306-.332-11.186.07-.21.262-.297.472-.28z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M9.416 29.117l14.629 1.888.489.07c-.647 5.226 3.356 6.257 9.14 5.907-.017.647-.174 1.311-.401 1.958-.926 2.884-2.727 4.072-4.422 4.929-3.793 1.905-8.599.192-13.947-3.234-1.678-1.083-5.33-1.992-5.628-.017-1.101-1.766-1.992-7.306-.332-11.186.07-.245.262-.332.472-.315z",fill:"#fff"}}),t("path",{attrs:{d:"M8 27.352l7.813 1.014c.96.122 1.415.647 1.345 1.678-.786 9.14-13.894 7.97-9.84-2.325A.612.612 0 018 27.352z",fill:"#19133B"}}),t("path",{attrs:{d:"M8 27.352l3.077.385c-.734 1.555-1.259 3.408-1.329 4.317-.087 1.223-.052 2.656.245 4.02-2.64-.647-4.597-3.479-2.674-8.372a.621.621 0 01.682-.35z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M8.472 28.139l5.383.699a.694.694 0 01.577.384.53.53 0 01-.105.63c-1.608 1.677-6.834.978-6.606-1.207.035-.314.367-.541.751-.506z",fill:"#687095"}}),t("path",{attrs:{d:"M23.765 22.161c.699 0 1.24.262 1.188.612-.052.332-.646.612-1.345.612-.7 0-1.241-.263-1.189-.612.052-.332.664-.612 1.346-.612zM31.123 23.053c-.682-.175-1.258-.053-1.31.28-.036.331.471.768 1.153.943.681.175 1.276.052 1.31-.28.018-.332-.471-.769-1.153-.943z",fill:"#FFD696"}}),t("path",{attrs:{d:"M41.68 46.123a5.173 5.173 0 015.173 5.174 5.162 5.162 0 01-5.173 5.173 5.162 5.162 0 01-5.174-5.173 5.173 5.173 0 015.174-5.174z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.68 46.752a4.546 4.546 0 00-4.544 4.544c0 2.5 2.045 4.545 4.544 4.545 2.5 0 4.544-2.045 4.544-4.544a4.535 4.535 0 00-4.544-4.545z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.68 46.752a4.546 4.546 0 00-4.544 4.544c0 .28.017.56.07.822 3.198.594 6.729-.332 8.913-1.783a4.52 4.52 0 00-4.439-3.583z",fill:"#338FFF"}}),t("path",{attrs:{d:"M43.48 46.612a4.453 4.453 0 014.457 4.457c0 2.447-1.993 4.44-4.457 4.44a4.446 4.446 0 01-4.44-4.44 4.438 4.438 0 014.44-4.457z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.897 3.915 3.901 3.901 0 003.897 3.898 3.905 3.905 0 003.915-3.898 3.909 3.909 0 00-3.915-3.915z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.897 3.915c0 .245.017.472.07.7 2.743.506 5.785-.28 7.655-1.538a3.917 3.917 0 00-3.828-3.077z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M45.648 44.306c.244-.752.786-1.329 1.625-1.469.874-.122 1.748.018 2.447.56a2.74 2.74 0 011.049 1.94 2.483 2.483 0 01-.717 1.957c.472.402.786.961.839 1.643.07.647-.157 1.276-.612 1.765-.507.577-1.24.874-1.975.98-.384.051-.751 0-1.1-.176-.787-.384-1.242-1.328-1.277-2.29-.21.14-.437.228-.699.245-1.101.123-2.132-.297-2.709-1.276a2.866 2.866 0 01-.384-1.415c-.018-1.45.943-2.622 2.411-2.78.21-.017.42-.017.647.053.157.07.315.158.455.263z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M46.853 54.495c2.535-.017 4.51-2.412 4.457-5.33-.07-2.937-2.15-5.297-4.684-5.279-2.517.017-4.509 2.394-4.456 5.33.052 2.937 2.15 5.279 4.683 5.279z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M46.836 53.673c2.133 0 3.828-2.027 3.775-4.509-.052-2.482-1.817-4.492-3.984-4.474-2.133.017-3.828 2.027-3.776 4.51.053 2.463 1.853 4.491 3.985 4.473z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M48.601 53.167c1.241-.752 2.045-2.273 2.01-4.02-.052-2.482-1.817-4.492-3.985-4.474-.332 0-.646.052-.96.157-.647 3.32.786 6.799 2.935 8.337z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M46.137 52.415c1.52-.017 2.744-1.468 2.709-3.233-.035-1.783-1.328-3.216-2.85-3.216-1.537 0-2.743 1.45-2.708 3.233.052 1.783 1.328 3.216 2.849 3.216z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M44.441 39.989l1.294-.158 1.014 7.778c.07.594-1.224.769-1.294.157l-1.014-7.777z",fill:"#5A6D74"}}),t("path",{attrs:{d:"M44.511 42.68l1.87-.245a.641.641 0 01.7.56l1.118 8.564c.157 1.153-3.024 1.346-3.128.402l-1.119-8.547a.642.642 0 01.56-.734z",fill:"#19133B"}}),t("path",{attrs:{d:"M45.438 42.558l.943-.123a.641.641 0 01.7.56l1.118 8.564c.07.577-.682.926-1.468.996l-1.294-9.997z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M44.636 44.777c1.52-.157 2.062 3.776.524 3.95-2.761.297-3.024-3.67-.524-3.95zm2.761-1.17c-1.66.244-1.398 3.6.088 3.932-1.329.577-.857 3.635.734 3.408 2.744-.42 2.36-3.303.21-3.496 2.656-.821 1.765-4.264-1.032-3.845z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M48.34 43.624c-1.102.7-.84 3.216.366 3.706 1.993-.84 1.573-3.339-.367-3.706zm-3.706 5.104c-2.045-.193-2.307-3.024-.63-3.775 1.172.262 1.609 3.076.63 3.775zm4.072-1.241c-.944.646-.716 2.761.315 3.233 1.713-.769 1.346-2.866-.315-3.233z",fill:"#FAD395"}}),t("path",{attrs:{d:"M43.463 25.01c4.125-.542 7.9 2.36 8.442 6.502.524 4.107-2.36 7.9-6.502 8.424-4.125.542-7.9-2.36-8.442-6.502-.524-4.107 2.377-7.9 6.502-8.424z",fill:"#fff","fill-opacity":".2"}}),t("path",{attrs:{d:"M43.305 23.717c4.824-.63 9.246 2.779 9.875 7.603.63 4.824-2.761 9.263-7.602 9.892-4.824.63-9.246-2.779-9.875-7.603-.63-4.824 2.761-9.263 7.602-9.892zm.263 2.202a6.593 6.593 0 00-5.68 7.393 6.592 6.592 0 007.392 5.68c3.618-.472 6.17-3.792 5.68-7.393-.454-3.6-3.757-6.134-7.392-5.68z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M43.323 23.979a8.568 8.568 0 019.612 7.393c.612 4.702-2.709 9.001-7.393 9.595a8.568 8.568 0 01-9.612-7.393c-.612-4.701 2.709-9 7.393-9.595zm.227 1.713a6.837 6.837 0 017.673 5.907 6.843 6.843 0 01-5.908 7.655 6.837 6.837 0 01-7.673-5.907c-.489-3.74 2.15-7.166 5.908-7.655z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M43.358 24.206c-4.335.56-7.463 4.387-7.236 8.67.035.82 1.276.75 1.24-.07a7.098 7.098 0 016.153-7.394c3.705-.472 7.096 1.975 7.847 5.558.175.787 1.381.542 1.224-.245-.891-4.194-4.876-7.078-9.228-6.519z",fill:"#D3E8EF"}}),t("path",{attrs:{d:"M43.672 26.566a5.94 5.94 0 015.855 2.814c-1.223-.962-2.814-1.469-4.474-1.241a5.938 5.938 0 00-5.121 6.676 5.61 5.61 0 00.821 2.325 5.827 5.827 0 01-2.184-3.88 5.908 5.908 0 015.103-6.694z",fill:"#fff","fill-opacity":".6"}})])])},E=[];const C={},e={};var g=s(C,_,E,!1,$,null,null,null);function $(l){for(let a in e)this[a]=e[a]}const B=function(){return g.exports}();var F=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[t("path",{attrs:{d:"M17.682 56.907l3.042-8.826-1.172-2.133c-5.016.175-8.424 3.67-8.633 7.026l6.763 3.933z",fill:"#004BCE"}}),t("path",{attrs:{d:"M17.123 51.122a5.182 5.182 0 011.678 7.13 5.165 5.165 0 01-7.113 1.678 5.165 5.165 0 01-1.678-7.113c1.485-2.43 4.666-3.18 7.113-1.695z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.79 51.663c-2.131-1.328-4.928-.646-6.239 1.468-1.328 2.133-.664 4.93 1.468 6.257 2.133 1.329 4.929.647 6.257-1.485 1.294-2.115.647-4.929-1.485-6.24z",fill:"#1763E8"}}),t("path",{attrs:{d:"M16.791 51.663c-2.132-1.328-4.929-.646-6.24 1.468-.157.245-.28.49-.384.734 2.412 2.185 5.908 3.251 8.512 3.164.699-1.958-.053-4.212-1.888-5.366z",fill:"#338FFF"}}),t("path",{attrs:{d:"M18.381 52.485a4.455 4.455 0 011.451 6.135 4.455 4.455 0 01-6.135 1.45 4.451 4.451 0 01-1.45-6.134 4.477 4.477 0 016.134-1.45z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.084 52.957a3.89 3.89 0 00-5.365 1.276 3.89 3.89 0 001.276 5.366c1.835 1.153 4.247.559 5.365-1.276 1.154-1.836.577-4.23-1.276-5.366z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M18.084 52.957a3.89 3.89 0 00-5.365 1.276c-.122.21-.245.42-.332.629 2.08 1.87 5.086 2.814 7.34 2.727a3.882 3.882 0 00-1.643-4.632z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M16.634 59.04l-1.888 6.222c1.538 1.153 3.758 2.045 5.803 1.957.612-1.136 1.468-3.757 1.922-5.05 1.678 3.04 2.762 4.02 3.793 5.085 3.303.262 9.578-1.083 11.186-2.517l-3.758-6.501.157-1.503 3.933-8.11-2.657-4.23-16.184.263c-2.779 1.887-4.352 5.4-4.247 7.06.087.91 1.24 4.982 1.94 7.324z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.258 1.206-3.233 1.678-4.561l.559-1.573c.891 1.625 1.695 3.198 2.866 4.649.437.542.927 1.031 1.399 1.538 1.468.07 3.163-.14 4.579-.385 1.468-.262 3.915-.839 5.26-1.608l-3.53-6.117.21-1.887 3.81-7.848-2.202-3.513-15.503.245c-1.154.839-2.097 1.992-2.779 3.216-.42.786-1.014 2.114-.944 3.04.07 1.067 1.94 7.341 1.94 7.394l-1.782 5.907c1.275.84 2.9 1.451 4.439 1.503z",fill:"#004BCE"}}),t("path",{attrs:{d:"M20.077 66.485c.577-1.258 1.206-3.233 1.678-4.561l.559-1.573c.891 1.625 1.695 3.198 2.866 4.649.437.542.927 1.031 1.399 1.538 1.468.07 3.163-.14 4.579-.385.437-.087.961-.192 1.52-.332l-3.163-7.043 4.107-13.598-14.419.245c-1.154.839-2.097 1.992-2.779 3.216-.42.786-1.014 2.114-.944 3.04.07 1.067 1.94 7.341 1.94 7.394l-1.782 5.907c1.275.84 2.9 1.451 4.439 1.503z",fill:"#1763E8"}}),t("path",{attrs:{d:"M34.007 58.725l.122-1.643-.262-.332c-4.474 1.608-11.955 1.87-16.534.35-.647-.21-1.224-.542-1.59-1.154l-.14.35c.244.891.559 1.73.943 2.482 4.772 1.922 11.71 1.87 17.46-.053z",fill:"#003694"}}),t("path",{attrs:{d:"M33.308 52.066c2.272 2.097 6.134 2.814 9.106 2.971l2.044-7.777c-2.796.087-6.274.174-8.79-.472-2.448-.612-4.597 3.233-2.36 5.278z",fill:"#004BCE"}}),t("path",{attrs:{d:"M34.6 47.277c2.85.63 6.573 1.101 8.862.77l-1.049 3.67c-2.778.244-7.305-.804-9.874-2.447.262-1.381 1.45-2.133 2.062-1.993z",fill:"#1763E8"}}),t("path",{attrs:{d:"M28.187 50.947l7.043.612c.385.017.682.402.647.787l-.367 4.212a.714.714 0 01-.769.681l-7.043-.611c-.402-.035-.682-.403-.647-.804l.367-4.213a.712.712 0 01.769-.664z",fill:"#004BCE"}}),t("path",{attrs:{d:"M28.152 51.332l7.044.611a.328.328 0 01.297.385l-.367 4.212c-.018.21-.175.332-.367.332l-7.044-.611c-.175-.018-.314-.193-.297-.385l.367-4.212c.017-.21.192-.367.367-.332z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M29.777 51.472l1.888.157-.42 4.929-3.53-.297c-.175-.018-.314-.193-.297-.385l.175-2.062a9.69 9.69 0 002.184-2.342z",fill:"#fff"}}),t("path",{attrs:{d:"M30.372 52.293c0-.017-.018-.035-.035-.035l-1.084-.087c-.017-.018-.035.017-.052.035l-.665 3.076c-.017.017-.017.017 0 .035.018.017.018.017.035.017l.7.07c.017 0 .052-.017.052-.035l.087-.542.402.018-.017.559c0 .017.017.052.052.052l.682.07c.018 0 .018-.017.035-.017 0-.018.017-.018.017-.035l-.21-3.181zm-.542.612c0 .472 0 .926.017 1.398v.052l-.402-.017.018-.053c.07-.471.175-.926.28-1.38l.017-.035.087.017v.018h-.017zm4.422 1.59l.052-.56c.018-.226.053-.489.035-.716 0-.122-.052-.244-.105-.367a.721.721 0 00-.297-.262 1.37 1.37 0 00-.437-.122c-.157-.018-.332 0-.472.052a.607.607 0 00-.332.21.643.643 0 00-.157.35c-.053.21-.07.471-.087.699l-.053.559a9.347 9.347 0 00-.035.699c.018.14.053.245.105.367.07.122.175.21.297.28.14.07.297.105.455.122.157.018.332 0 .472-.052.122-.053.244-.105.332-.228.087-.105.157-.21.174-.332l.053-.699zm-.664-1.153l-.123 1.52c-.017.105-.017.297-.07.385-.017.07-.087.105-.157.105a.254.254 0 01-.157-.105c-.018-.088 0-.297.017-.385l.123-1.538c.017-.07.017-.262.07-.332.034-.052.087-.07.157-.07s.105.035.14.105c.017.07 0 .245 0 .315zm-1.556-.892c0-.017-.017-.052-.052-.052l-.665-.053c-.017-.017-.052.018-.052.035l-.262 3.111c0 .018.017.053.035.053l.681.07c.018 0 .053-.018.053-.053l.262-3.11z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M30.284 52.293c0-.017-.018-.035-.053-.035l-1.153-.105c-.035 0-.052.018-.07.035l-.734 3.303c0 .018 0 .035.017.053.018.017.018.017.035.017l.734.07c.018 0 .053-.017.053-.035l.105-.594.42.035v.594c0 .035.017.053.034.053l.734.07c.018.017.035 0 .035-.018.018-.017.018-.017.018-.035l-.175-3.408zm-.594.664c0 .49 0 .996.017 1.503v.053l-.42-.018v-.07c.088-.49.21-.996.298-1.468l.017-.052.088.017v.035zm4.754 1.713l.052-.612c.017-.244.052-.524.035-.751 0-.14-.053-.28-.122-.385a.735.735 0 00-.315-.297 1.568 1.568 0 00-.472-.122c-.175-.018-.35 0-.524.052a.85.85 0 00-.367.245.72.72 0 00-.175.367c-.052.245-.07.507-.087.752l-.053.611c-.017.245-.052.524-.035.752 0 .157.035.28.105.402.087.122.192.21.332.297.157.07.315.105.472.122.175.018.35 0 .524-.052a.711.711 0 00.35-.245.748.748 0 00.192-.367c.053-.262.07-.542.088-.769zm-.717-1.258l-.14 1.642c0 .105-.017.315-.07.402-.017.07-.087.105-.175.105a.222.222 0 01-.157-.122c-.017-.087 0-.297.018-.402l.14-1.643c0-.087.017-.297.07-.35.034-.052.104-.07.157-.07.07 0 .122.036.14.106.035.087.017.262.017.332zm-1.66-.944c.017-.018-.018-.053-.035-.053l-.717-.07c-.035 0-.07.018-.07.053l-.297 3.338c0 .018.017.053.052.053l.717.07c.018 0 .053-.018.07-.053l.28-3.338z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M21.807 56.995c-2.709-1.573-4.579-4.93-5.313-7.341.909-.525 1.294-.542 2.64-.734-.438-.507-.84-.734-1.661-1.014.507-1.118 1.59-2.552 2.831-3.74l6.327-.157c1.084 1.328 2.15 2.674 3.234 4.02-.98.017-2.028.401-2.78.96 1.469.368 2.378.77 3.077 1.329-2.29 2.831-4.964 5.086-8.355 6.677z",fill:"#003694"}}),t("path",{attrs:{d:"M19.99 45.373l6.799.07c-.525 3.198-1.556 5.96-3.041 8.092l-3.059-.018c-.874-2.167-1.119-4.964-.7-8.144z",fill:"#BDD6DE"}}),t("path",{attrs:{d:"M20.602 45.372l2.796.017 2.779.018c-.787 1.556-1.73 2.971-2.814 4.195.157 1.013.297 2.464.385 3.897a12.324 12.324 0 01-1.836 2.08 8.914 8.914 0 01-1.223-2.097c.49-1.433 1.049-2.884 1.503-3.88-.734-1.241-1.24-2.657-1.59-4.23z",fill:"#D95C09"}}),t("path",{attrs:{d:"M22.856 49.008l-.962 6.589a8.919 8.919 0 01-1.223-2.098c.49-1.433 1.049-2.883 1.503-3.88-.105-.21-.227-.42-.332-.646.332.017.664.035 1.014.035z",fill:"#F66F10"}}),t("path",{attrs:{d:"M25.286 50.144c-.542-1.067-1.294-2.115-1.993-3.094h-.56c-.978.961-1.73 1.992-2.586 3.041-.157-1.468-.087-2.971.088-4.457l6.257.07c-.263 1.468-.647 2.989-1.206 4.44z",fill:"#fff"}}),t("path",{attrs:{d:"M18.085 26.67l6.973.28c2.465-6.763 2.954-15.607 1.853-19.155-.21-.647-.717-.524-1.189-.28-5.138 2.744-8.773 10.557-7.637 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M19.343 25.133l4.44.175C25.25 20.974 26.457 14 25.723 9.351c0-.07-.07-.053-.105-.018-4.929 3.234-6.991 10.504-6.274 15.8z",fill:"#5E3011"}}),t("path",{attrs:{d:"M22.087 25.238c1.608-4.667 2.517-10.26 2.15-13.073-2.779 1.817-4.44 8.214-4.072 13.003l1.922.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M36.559 21.323l-1.101-5.89c-.297-1.643-2.342.07-3.618-.874-1.154-.874-3.793-2.08-4.737-.961-1.503 1.747-2.831 3.653-3.757 5.96l13.213 1.765z",fill:"#004BCE"}}),t("path",{attrs:{d:"M35.737 20.554l-.926-4.981c0-.035-.035-.192-.07-.21-.087-.052-.35-.017-.437-.017-.35.035-.699.105-1.048.14-.664.07-1.276-.018-1.818-.42a7.698 7.698 0 00-1.625-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.555-2.447 3.163-3.303 4.999l11.447 1.555z",fill:"#004BCE"}}),t("path",{attrs:{d:"M32.032 15.398a1.836 1.836 0 01-.594-.332 7.698 7.698 0 00-1.625-.891c-.437-.175-1.818-.647-2.22-.175-1.328 1.555-2.447 3.163-3.303 4.999l7.27.996c.28-1.556.42-3.111.472-4.597z",fill:"#1763E8"}}),t("path",{attrs:{d:"M36.559 21.323l-.35-1.87c-.839-1.87-9.508-4.265-11.36-2.814a17.895 17.895 0 00-1.486 2.884l13.196 1.8z",fill:"#EBA100"}}),t("path",{attrs:{d:"M35.388 18.614c-2.063-1.416-7.096-2.744-9.543-2.342a18.964 18.964 0 00-1.555 2.726l11.447 1.556-.35-1.94z",fill:"#EBA100"}}),t("path",{attrs:{d:"M31.927 17.093c-2.15-.664-4.614-1.066-6.082-.821a18.964 18.964 0 00-1.555 2.726l7.27.996a28 28 0 00.367-2.9z",fill:"#FC0"}}),t("path",{attrs:{d:"M40.404 26.496l-19.96-4.666c-1.94-1.556-1.992-1.189-4.981-3.321-7.009-5.034 17.548-3.758 24.94 7.987z",fill:"#003694"}}),t("path",{attrs:{d:"M40.404 26.496l-1.328-.297c-6.467-8.372-21.812-10.784-24.836-9.07-.682-3.27 19.575-1.12 26.164 9.367z",fill:"#004BCE"}}),t("path",{attrs:{d:"M33.57 25.92l6.974.279c2.464-6.764 2.936-15.608 1.852-19.156-.21-.646-.716-.524-1.188-.28-5.139 2.745-8.774 10.557-7.638 19.156z",fill:"#4A2913"}}),t("path",{attrs:{d:"M34.81 24.364l4.44.192c1.468-4.334 2.674-11.308 1.94-15.957 0-.07-.07-.052-.105-.017-4.928 3.233-6.99 10.504-6.274 15.782z",fill:"#5E3011"}}),t("path",{attrs:{d:"M37.573 24.469c1.608-4.667 2.517-10.26 2.15-13.074-2.78 1.818-4.44 8.215-4.073 13.004l1.923.07z",fill:"#7F3E13"}}),t("path",{attrs:{d:"M41.12 31.792c1.417.786 3.392 2.744 3.287 4.23l-4.02 2.167-28.367-3.915c.402-4.073 1.539-7.97 3.146-11.728.612-1.398 1.783-2.202 3.321-2.412 3.706-.559 9.124.088 12.811.752 3.094.56 6.38 1.363 9.281 2.57.892.366 1.433 1.223 1.328 2.149l-.786 6.187z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M44.406 36.022c-.14 1.293-.437 2.429-.996 3.757-.77 1.835-2.71 5.4-4.614 6.292-6.24 2.971-18.334.734-24.207-2.709l-2.587-8.896.035-.28.385-2.779 16.586 6.694 13.86-2.779c.594.21 1.276.525 1.538.7z",fill:"#A19075"}}),t("path",{attrs:{d:"M18.766 21.445c4.894-.734 15.188.7 21.253 3.216.227.088.367.28.332.524l-.961 7.481c1.94.7 3.146 1.8 3.478 2.657-.14 3.845-3.39 8.878-4.824 9.595-5.086 2.482-16.76.909-22.144-2.307l-2.29-8.18c.42-4.3 1.643-8.144 3.059-11.448.332-.804.961-1.38 2.097-1.538z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M37.1 26.689l-.646 5.05c1.468.385 2.132.613 2.936.91 1.94.699 3.146 1.8 3.478 2.656-.14 3.845-3.39 8.879-4.824 9.596-5.086 2.481-16.76.908-22.144-2.308l-2.29-8.162c.42-4.3 1.643-8.144 3.059-11.448.332-.786.961-1.363 2.097-1.538 3.723-.559 10.574.14 16.29 1.608 1.03.262 2.272 1.923 2.044 3.636z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M26.63 21.533h.053l.157.017H26.893l.07.018h.035l.244.035.035.017H27.33l.035.018c.07 0 .14.017.21.017h.07l.017.018H27.714c.088.017.158.017.245.035h.035l.035.017h.07l.175.018.035.017H28.36l.035.017h.035l.175.018.035.017h.035l.07.018c-1.923 1.87-2.622 6.502-2.692 8.879-.07 2.499 2.412 3.827 4.789 3.985 3.845.244 7.323-1.451 11.972.629-.14 3.845-3.39 8.879-4.824 9.595-5.086 2.482-16.76.909-22.144-2.307l-2.237-8.18c.087-.926.21-1.835.384-2.726 1.993.769 4.684 1.468 6.275 1.625 1.87.193 3.426-1.24 3.565-2.901.262-3.286 1.067-7.603 2.727-8.914l.07.018z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M26.631 21.533H26.683l.158.017H26.893l.07.018h.035l.245.035.035.017H27.33l.035.018c.07 0 .14.017.21.017h.07l.017.018H27.715c.087.017.157.017.244.035h.035l.035.017h.07l.175.018.035.017H28.36l.035.018h.035l.175.017.035.018h.035l.07.017c-1.923 1.87-2.622 6.502-2.692 8.879-.07 2.5 2.412 3.827 4.79 3.985 3.844.244 7.322-1.451 11.971.629-3.722 5.872-19.208 6.31-27.79 2.447l-1.467-3.321c.087-.926.21-1.835.384-2.726 1.993.769 4.684 1.468 6.275 1.625 1.87.192 3.425-1.241 3.565-2.901.262-3.286 1.066-7.603 2.727-8.914h.122z",fill:"#fff"}}),t("path",{attrs:{d:"M32.836 28.489l-.297 2.324c-.332 2.64-4.876 2.098-4.544-.559l.297-2.325c.332-2.639 4.876-2.097 4.544.56z",fill:"#fff"}}),t("path",{attrs:{d:"M32.257 27.995l-.079.56c-.297 2.098-3.67 1.714-3.39-.384l.08-.53 1.656-.139-1.567-.4c.418-1.415 3.597-1.204 3.3.893z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M29.602 32.736l3.444-.28c-.437-1.206-2.814-1.066-3.444.28z",fill:"#FFD696"}}),t("path",{attrs:{d:"M29.602 32.736c.612.611 2.744.769 3.444-.28-1.468-.542-2.657-.21-3.444.28z",fill:"#E37E4F"}}),t("path",{attrs:{d:"M23.573 27.3l-.297 2.325c-.332 2.639-4.65 2.097-4.317-.56l.297-2.324c.332-2.657 4.649-2.08 4.317.56z",fill:"#fff"}}),t("path",{attrs:{d:"M23.159 26.816l-.079.56c-.297 2.098-3.67 1.713-3.39-.384l.08-.53 1.655-.139-1.566-.4c.418-1.414 3.597-1.204 3.3.893z",fill:"#1B1D23"}}),t("path",{attrs:{d:"M27.942 43.956c1.556-.175 2.762.315 3.548.647.612.262 1.171.332 1.643.245l1.94-3.216v-.21c-.035-.822-.524-1.38-.961-2.325-.21-.471-.385-.926-.594-1.8l-5.576 6.66z",fill:"#4F2800"}}),t("path",{attrs:{d:"M35.073 41.65c-1.31.157-2.447 1.59-1.94 3.215 1.241-.227 1.94-1.555 1.94-3.216z",fill:"#AD6151"}}),t("path",{attrs:{d:"M35.126 44.498c1.66.21 1.782-1.328.873-2.586.018 1.223-.105 1.94-.873 2.586z",fill:"#D6B887"}}),t("path",{attrs:{d:"M9.434 27.86l12.74 1.643c.665.087 2.238.96 2.36 1.573l-2.499 2.044.56 3.409 6.134 5.033 4.946-4.596c.734 3.215-3.46 8.86-4.963 9.595-3.234 1.608-8.425 1.503-11.973.559-3.425-.926-6.659-2.796-8.599-5.96-.664-1.083-1.031-2.674-1.223-3.915-.42-2.761-.28-5.925.786-8.442a1.653 1.653 0 011.73-.943z",fill:"#A19075"}}),t("path",{attrs:{d:"M9.416 29.118l14.629 1.888c-.647 5.226 3.845 6.31 9.63 5.96-.175 3.705-4.02 7.812-5.506 8.564-3.932 1.975-14.768 1.748-18.893-4.946-1.101-1.766-1.992-7.306-.332-11.186.07-.21.262-.297.472-.28z",fill:"#F0DFC3"}}),t("path",{attrs:{d:"M9.416 29.118l14.629 1.888.489.07c-.647 5.226 3.356 6.257 9.14 5.907-.017.647-.174 1.311-.401 1.958-.926 2.883-2.727 4.072-4.422 4.928-3.793 1.906-8.599.193-13.947-3.233-1.678-1.084-5.33-1.992-5.628-.017-1.101-1.766-1.992-7.306-.332-11.186.07-.245.262-.332.472-.315z",fill:"#fff"}}),t("path",{attrs:{d:"M8 27.353l7.813 1.013c.96.123 1.415.647 1.345 1.678-.786 9.141-13.894 7.97-9.84-2.324A.612.612 0 018 27.353z",fill:"#19133B"}}),t("path",{attrs:{d:"M8 27.353l3.076.384c-.734 1.556-1.258 3.409-1.328 4.317-.088 1.224-.053 2.657.245 4.02-2.64-.646-4.597-3.478-2.675-8.372a.62.62 0 01.682-.35z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M8.472 28.139l5.383.7a.694.694 0 01.577.384.53.53 0 01-.105.629c-1.608 1.678-6.834.979-6.606-1.206.035-.315.367-.542.751-.507z",fill:"#687095"}}),t("path",{attrs:{d:"M23.765 21.108c.7 0 1.241.262 1.189.611-.053.332-.647.612-1.346.612-.7 0-1.24-.262-1.189-.612.053-.332.665-.611 1.346-.611zM31.27 22c-.682-.175-1.259-.053-1.311.279-.035.332.472.769 1.153.944.682.175 1.276.052 1.311-.28.018-.332-.472-.769-1.153-.944z",fill:"#FFD696"}}),t("path",{attrs:{d:"M41.68 46.123a5.173 5.173 0 015.173 5.174 5.162 5.162 0 01-5.174 5.173 5.162 5.162 0 01-5.173-5.173 5.173 5.173 0 015.173-5.174z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.679 46.753a4.546 4.546 0 00-4.544 4.544c0 2.5 2.045 4.544 4.544 4.544 2.5 0 4.544-2.045 4.544-4.544a4.535 4.535 0 00-4.544-4.544z",fill:"#1763E8"}}),t("path",{attrs:{d:"M41.679 46.753a4.546 4.546 0 00-4.544 4.544c0 .28.017.56.07.821 3.198.595 6.729-.332 8.913-1.782a4.52 4.52 0 00-4.439-3.583z",fill:"#338FFF"}}),t("path",{attrs:{d:"M43.48 46.612a4.453 4.453 0 014.456 4.457c0 2.447-1.992 4.44-4.457 4.44a4.446 4.446 0 01-4.439-4.44 4.438 4.438 0 014.44-4.457z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.898 3.916 3.901 3.901 0 003.898 3.897 3.905 3.905 0 003.915-3.897 3.909 3.909 0 00-3.915-3.916z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M43.48 47.154a3.905 3.905 0 00-3.898 3.916c0 .244.017.471.07.699 2.744.507 5.785-.28 7.655-1.538a3.917 3.917 0 00-3.827-3.077z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M46.01 44.209c.191-.767.691-1.38 1.519-1.578.863-.183 1.744-.105 2.48.387a2.74 2.74 0 011.18 1.862 2.483 2.483 0 01-.578 2.003c.5.368.852.904.952 1.58.115.64-.068 1.284-.487 1.804-.465.61-1.177.958-1.902 1.114-.38.08-.75.052-1.11-.098-.812-.328-1.331-1.238-1.433-2.194-.2.154-.42.257-.68.292-1.09.2-2.148-.147-2.792-1.084a2.867 2.867 0 01-.482-1.385c-.119-1.446.758-2.681 2.212-2.94.208-.032.417-.047.649.007.162.059.325.135.471.23z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M47.923 54.289c2.527-.194 4.33-2.72 4.074-5.629-.275-2.924-2.514-5.132-5.04-4.938-2.51.193-4.332 2.703-4.075 5.628.257 2.926 2.513 5.116 5.041 4.939z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M47.848 53.47c2.127-.148 3.677-2.289 3.452-4.761-.226-2.472-2.127-4.354-4.288-4.185-2.126.166-3.677 2.289-3.451 4.761.224 2.455 2.161 4.352 4.287 4.186z",fill:"#C95E2C"}}),t("path",{attrs:{d:"M49.574 52.842c1.186-.836 1.882-2.409 1.725-4.15-.226-2.472-2.127-4.354-4.288-4.185a2.995 2.995 0 00-.948.224c-.413 3.357 1.26 6.727 3.511 8.111z",fill:"#ED7B47"}}),t("path",{attrs:{d:"M47.063 52.264c1.516-.123 2.635-1.656 2.477-3.414-.16-1.776-1.55-3.115-3.066-3.01-1.535.108-2.636 1.64-2.477 3.415.176 1.775 1.55 3.115 3.066 3.01z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M44.505 39.986l1.28-.247 1.553 7.688c.111.588-1.167.853-1.28.247l-1.553-7.688z",fill:"#5A6D74"}}),t("path",{attrs:{d:"M44.763 42.667l1.848-.375a.641.641 0 01.736.51l1.714 8.465c.237 1.14-2.923 1.553-3.093.619l-1.712-8.448a.642.642 0 01.507-.771z",fill:"#19133B"}}),t("path",{attrs:{d:"M45.678 42.48l.933-.188a.641.641 0 01.737.51l1.713 8.465c.11.57-.615.971-1.395 1.096l-1.988-9.883z",fill:"#2C2B57"}}),t("path",{attrs:{d:"M42.484 25.113c4.076-.828 8.045 1.803 8.874 5.897.81 4.06-1.802 8.045-5.898 8.857-4.077.828-8.045-1.803-8.875-5.897-.81-4.06 1.82-8.046 5.899-8.857z",fill:"#fff","fill-opacity":".2"}}),t("path",{attrs:{d:"M42.237 23.833c4.768-.964 9.417 2.128 10.38 6.896.965 4.768-2.108 9.433-6.893 10.398-4.768.965-9.417-2.127-10.381-6.895-.965-4.768 2.108-9.433 6.894-10.399zm.415 2.179a6.592 6.592 0 00-5.15 7.771 6.592 6.592 0 007.77 5.15c3.577-.722 5.89-4.213 5.151-7.77-.704-3.56-4.176-5.858-7.771-5.151z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M42.272 24.094a8.568 8.568 0 0110.105 6.704c.939 4.648-2.074 9.168-6.705 10.088a8.568 8.568 0 01-10.105-6.705c-.938-4.647 2.074-9.168 6.705-10.087zm.347 1.693a6.837 6.837 0 018.066 5.358 6.843 6.843 0 01-5.36 8.048 6.837 6.837 0 01-8.066-5.358c-.749-3.697 1.645-7.298 5.36-8.048z",fill:"#7EAABA"}}),t("path",{attrs:{d:"M42.323 24.318c-4.285.86-7.139 4.897-6.614 9.152.093.818 1.326.661 1.233-.156a7.098 7.098 0 015.622-7.804c3.663-.73 7.216 1.475 8.216 4.997.23.772 1.415.444 1.203-.33-1.181-4.122-5.358-6.72-9.66-5.86z",fill:"#D3E8EF"}}),t("path",{attrs:{d:"M42.801 26.65a5.939 5.939 0 016.037 2.399c-1.287-.874-2.909-1.269-4.55-.926a5.938 5.938 0 00-4.642 7.017 5.61 5.61 0 00.981 2.262 5.827 5.827 0 01-2.45-3.718 5.908 5.908 0 014.624-7.034z",fill:"#fff","fill-opacity":".6"}}),t("path",{attrs:{d:"M45.033 44.75c1.506-.263 2.32 3.622.799 3.904-2.734.489-3.273-3.45-.799-3.904zm2.673-1.36c-1.64.36-1.144 3.689.362 3.916-1.285.668-.601 3.687.97 3.349 2.708-.61 2.123-3.46-.035-3.502 2.593-1.005 1.464-4.377-1.297-3.764z",fill:"#EFAD77"}}),t("path",{attrs:{d:"M48.647 43.341c-1.05.775-.613 3.267.624 3.671 1.93-.976 1.337-3.44-.624-3.67zm-3.34 5.35c-2.054-.05-2.513-2.855-.892-3.722 1.187.18 1.82 2.956.892 3.722zm3.975-1.522c-.896.71-.522 2.805.54 3.204 1.655-.887 1.142-2.954-.54-3.204z",fill:"#FAD395"}})])])},D=[];const y={},n={};var A=s(y,F,D,!1,w,null,null,null);function w(l){for(let a in n)this[a]=n[a]}const k=function(){return A.exports}();var x=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{staticClass:"aioseo-light-bulb",attrs:{viewBox:"0 0 29 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{fill:"currentColor",d:"M 10.3477 27.595 c 0 0.6655 0.5445 1.21 1.21 1.21 h 4.84 c 0.6655 0 1.21 -0.5445 1.21 -1.21 v -1.21 h -7.26 v 1.21 z m 3.63 -22.99 c -4.6706 0 -8.47 3.7994 -8.47 8.47 c 0 2.8798 1.4399 5.4087 3.63 6.9454 V 22.755 c 0 0.6655 0.5445 1.21 1.21 1.21 h 7.26 c 0.6655 0 1.21 -0.5445 1.21 -1.21 v -2.7346 c 2.1901 -1.5367 3.63 -4.0656 3.63 -6.9454 c 0 -4.6706 -3.7994 -8.47 -8.47 -8.47 z m 3.4485 13.431 l -1.0285 0.726 V 21.545 h -4.84 v -2.783 l -1.0285 -0.726 A 6.0464 6.0464 90 0 1 7.9277 13.075 c 0 -3.3396 2.7104 -6.05 6.05 -6.05 s 6.05 2.7104 6.05 6.05 c 0 1.9723 -0.968 3.8236 -2.6015 4.961 z"}}),t("path",{style:{opacity:l.active?1:0},attrs:{fill:"currentColor",d:"M 13.041 3.717 h 2.334 V 0.799 h -2.334 v 2.918 z M 24.127 14.219 h 2.917 v -2.334 h -2.917 v 2.334 z M 1.956 14.219 h 2.917 v -2.334 H 1.956 v 2.334 z M 23.133 7.52 l 2.062 -2.063 l -1.642 -1.642 l -2.062 2.063 l 1.642 1.642 z M 6.56 7.52 L 4.499 5.457 L 6.14 3.815 l 2.063 2.063 L 6.56 7.52 z"}})])},L=[];const S={props:{active:{type:Boolean,default(){return!1}}}},f={};var H=s(S,x,L,!1,b,null,null,null);function b(l){for(let a in f)this[a]=f[a]}const O=function(){return H.exports}();var U=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("svg",{staticClass:"aioseo-star",attrs:{viewBox:"0 0 21 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{fill:"currentColor",d:"M10.5 5.13l.97 2.29.47 1.11 1.2.1 2.47.21-1.88 1.63-.91.79.27 1.18.56 2.41-2.12-1.28-1.03-.64-1.03.62-2.12 1.28.56-2.41.27-1.18-.91-.79-1.88-1.63 2.47-.21 1.2-.1.47-1.11.97-2.27zm0-5.13L7.69 6.63.5 7.24l5.46 4.73L4.32 19l6.18-3.73L16.68 19l-1.64-7.03 5.46-4.73-7.19-.61L10.5 0z"}}),t("path",{style:{opacity:l.active?1:0},attrs:{fill:"currentColor",d:"M 10.5 5.13 m 0 -5.13 L 7.69 6.63 L 0.5 7.24 l 5.46 4.73 L 4.32 19 l 6.18 -3.73 L 16.68 19 l -1.64 -7.03 l 5.46 -4.73 l -7.19 -0.61 L 10.5 0 z"}})])},j=[];const R={props:{active:{type:Boolean,default(){return!1}}}},o={};var V=s(R,U,j,!1,P,null,null,null);function P(l){for(let a in o)this[a]=o[a]}const q=function(){return V.exports}();var N=function(){var l=this,a=l.$createElement,t=l._self._c||a;return t("div",{ref:"aioseo-flyout-menu",staticClass:"aioseo-flyout-menu",class:[{"is-open":l.isOpen},{"will-open":l.willOpen}]},[t("div",{staticClass:"aioseo-flyout-menu-items"},l._l(l.items,function(c,i){return t("a",{key:i,style:{transitionDelay:`${l.items.length-i}00ms`},attrs:{href:c.url,target:"_blank"},on:{mouseover:function(h){l.hovering=i},mouseleave:function(h){l.hovering=null}}},[t("span",{staticClass:"aioseo-flyout-menu-label"},[l._v(l._s(c.label))]),t("div",{staticClass:"aioseo-flyout-menu-label icon"},[t(c.icon,{tag:"component",attrs:{active:i===l.hovering}})],1)])}),0),t("div",{staticClass:"aioseo-flyout-menu-button",on:{click:function(c){l.isOpen=!l.isOpen},mouseover:function(c){l.willOpen=!0},mouseleave:function(c){l.willOpen=!1}}},[t("span",{staticClass:"aioseo-flyout-menu-label"},[l._v(l._s(l.strings.quickLinks))]),t("svg-flyout-dannie-up",{directives:[{name:"show",rawName:"v-show",value:l.isOpen,expression:"isOpen"}]}),t("svg-flyout-dannie",{directives:[{name:"show",rawName:"v-show",value:!l.isOpen,expression:"!isOpen"}]})],1)])},I=[];const J={components:{SvgFlyoutDannie:B,SvgFlyoutDannieUp:k,SvgLightBulb:O,SvgMessage:M,SvgStar:q,SvgSupport:v},mixins:[d],data(){return{isOpen:!1,willOpen:!1,hovering:null,strings:{quickLinks:this.$t.__("Quick Links",this.$td)}}},computed:{...z(["pong"]),items(){const l=[{label:this.$t.__("Support & Docs",this.$td),url:this.$links.utmUrl("flyout-menu","support-docs",this.$links.docLinks.home),icon:"svg-support"},{label:this.$t.__("Join Our Community",this.$td),url:this.$links.utmUrl("flyout-menu","join-our-community","plugin/facebook/"),icon:"svg-message"},{label:this.$t.__("Suggest a Feature",this.$td),url:this.$links.utmUrl("flyout-menu","suggest-a-feature","suggest-a-feature/"),icon:"svg-light-bulb"}];return!this.$isPro&&this.pong&&l.unshift({label:this.$t.sprintf(this.$t.__("Upgrade to %1$s %2$s",this.$td),"AIOSEO","Pro"),url:this.$links.utmUrl("flyout-menu","upgrade-to-pro"),icon:"svg-star"}),l}},methods:{documentClick(l){if(!this.isOpen)return;const a=this.$refs["aioseo-flyout-menu"];a&&(a===l.target||a.contains(l.target))||(this.isOpen=!1)}},mounted(){this.$nextTick(function(){document.addEventListener("click",this.documentClick)})},beforeUnmount(){document.removeEventListener("click",this.documentClick)}},p={};var Q=s(J,N,I,!1,T,null,null,null);function T(l){for(let a in p)this[a]=p[a]}const G=function(){return Q.exports}();r.prototype.$t=m;r.prototype.$td="all-in-one-seo-pack";r.prototype.$tdPro="aioseo-pro";new r({store:u,render:l=>l(G)}).$mount("#aioseo-flyout-menu");
|
dist/Lite/assets/{headline-analyzer.df6e8e57.js → headline-analyzer.aac77645.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
import{s as Ue}from"./js/client.
|
2 |
object-assign
|
3 |
(c) Sindre Sorhus
|
4 |
@license MIT
|
1 |
+
import{s as Ue}from"./js/client.b661b356.js";import"./js/_commonjsHelpers.10c44588.js";var V={exports:{}},R={};/*
|
2 |
object-assign
|
3 |
(c) Sindre Sorhus
|
4 |
@license MIT
|
dist/Lite/assets/js/{AboutUs.afae07f2.js → AboutUs.25d9d7a8.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{m as o}from"./index.4776f7d5.js";import{e as r}from"./em.090410fb.js";import{G as d,a as c}from"./Row.dfea53f7.js";import{S as g}from"./External.1af3387c.js";import{n as f}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";const u=""+window.__aioseoDynamicImportPreload__("images/team.3ed1e959.jpg"),m=""+window.__aioseoDynamicImportPreload__("images/om.0afa29dd.png"),h=""+window.__aioseoDynamicImportPreload__("images/wpforms.e4bb2893.png"),p=""+window.__aioseoDynamicImportPreload__("images/mi.b3a4b48a.png"),_=""+window.__aioseoDynamicImportPreload__("images/smtp.90e4ffc1.png"),w=""+window.__aioseoDynamicImportPreload__("images/sp.d75c9a95.png"),v=""+window.__aioseoDynamicImportPreload__("images/tp.cb8065a4.png"),y=""+window.__aioseoDynamicImportPreload__("images/rafflepress.cda6b4e0.png"),P=""+window.__aioseoDynamicImportPreload__("images/ff.4f882f43.png"),b=""+window.__aioseoDynamicImportPreload__("images/if.4735a5da.png"),$=""+window.__aioseoDynamicImportPreload__("images/tf.75d64979.png"),I=""+window.__aioseoDynamicImportPreload__("images/yf.28cad2d7.png"),A=""+window.__aioseoDynamicImportPreload__("images/pe.3e9da367.png"),C=""+window.__aioseoDynamicImportPreload__("svg/swp.10222930.svg"),D=""+window.__aioseoDynamicImportPreload__("images/afwp.57d92ab4.png"),S=""+window.__aioseoDynamicImportPreload__("images/wpsp.100012d1.png"),W=""+window.__aioseoDynamicImportPreload__("images/edd.c2984766.png"),U=""+window.__aioseoDynamicImportPreload__("images/sc.5c5e705b.png");var T=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"aioseo-about-us"},[s("div",{staticClass:"aioseo-about-us-welcome"},[s("div",{staticClass:"welcome-intro"},[s("div",[t._v(t._s(t.strings.welcome.p1))]),s("div",[t._v(t._s(t.strings.welcome.p2))]),s("div",[t._v(t._s(t.strings.welcome.p3))]),s("div",[t._v(t._s(t.strings.welcome.p4))]),s("div",[t._v(t._s(t.strings.welcome.p5))])]),s("div",{staticClass:"welcome-image"},[s("figure",[s("img",{attrs:{src:t.$getAssetUrl(t.teamImg),alt:t.strings.welcome.imageCaption}}),s("figcaption",[t._v(t._s(t.strings.welcome.imageCaption))])])])]),s("div",{staticClass:"aioseo-about-us-plugins"},[s("grid-row",t._l(t.localPlugins,function(i,e){return s("grid-column",{key:e,staticClass:"plugin",attrs:{sm:"12",md:"6",id:e}},[s("div",{staticClass:"plugin-main"},[s("div",[s("img",{attrs:{alt:t.plugins[e].name+" Plugin image",src:t.plugins[e].icon}})]),s("div",[s("div",{staticClass:"main-name"},[t._v(t._s(t.plugins[e].name))]),s("div",[t._v(t._s(t.plugins[e].description))])])]),s("div",{staticClass:"plugin-footer"},[s("div",{staticClass:"footer-status"},[s("div",{staticClass:"footer-status-label"},[t._v(t._s(t.strings.plugins.status))]),t.plugins[e].installed?t._e():s("div",{staticClass:"footer-status footer-status-not-installed"},[t._v(" "+t._s(t.strings.plugins.statuses.notInstalled)+" ")]),t.plugins[e].installed&&!t.plugins[e].activated?s("div",{staticClass:"footer-status footer-status-deactivated"},[t._v(" "+t._s(t.strings.plugins.statuses.deactivated)+" ")]):t._e(),t.plugins[e].installed&&t.plugins[e].activated?s("div",{staticClass:"footer-status footer-status-activated"},[t._v(" "+t._s(t.strings.plugins.statuses.activated)+" ")]):t._e()]),s("div",{staticClass:"footer-action"},[!t.plugins[e].installed&&t.plugins[e].canInstall?s("base-button",{attrs:{type:"blue",loading:t.plugins[e].loading},on:{click:function(l){return t.activate(e)}}},[t._v(" "+t._s(t.strings.plugins.actions.install)+" ")]):t._e(),!t.plugins[e].installed&&!t.plugins[e].canInstall?s("base-button",{attrs:{type:"blue",tag:"a",target:"_blank",href:i.wpLink}},[s("svg-external"),t._v(" "+t._s(t.strings.plugins.actions.install)+" ")],1):t._e(),t.plugins[e].installed&&!t.plugins[e].activated?s("base-button",{attrs:{type:"green",disabled:!t.plugins[e].canActivate,loading:t.plugins[e].loading},on:{click:function(l){return t.activate(e)}}},[t._v(" "+t._s(t.strings.plugins.actions.activate)+" ")]):t._e(),t.plugins[e].installed&&t.plugins[e].activated&&i.adminUrl.length!==0?s("base-button",{attrs:{type:"gray",tag:"a",href:i.adminUrl}},[t._v(" "+t._s(t.strings.plugins.actions.manage)+" ")]):t._e()],1)])])}),1)],1)])},k=[];const F={components:{GridColumn:d,GridRow:c,SvgExternal:g},data(){return{teamImg:u,localPlugins:[],strings:{welcome:{p1:this.$t.sprintf(this.$t.__("Welcome to %1$s, the original SEO plugin for WordPress. At %2$s, we build software that helps you rank your website in search results and gain organic traffic.",this.$td),"All in One SEO","All in One SEO"),p2:this.$t.__("Over the years, we found that most other WordPress SEO plugins were bloated, buggy, slow, and very hard to use. So we designed our plugin as an easy and powerful tool.",this.$td),p3:this.$t.__("Our goal is to take the pain out of optimizing your website for search engines.",this.$td),p4:this.$t.sprintf(this.$t.__("%1$s is brought to you by %2$s, the same team that\u2019s behind the largest WordPress resource site, WPBeginner, the most popular lead-generation software, OptinMonster, the best WordPress analytics plugin, MonsterInsights and many more.",this.$td),"All in One SEO","Awesome Motive"),p5:this.$t.__("Yup, we know a thing or two about building awesome products that customers love.",this.$td),imageCaption:this.$t.sprintf(this.$t.__("The %1$s Team",this.$td),"Awesome Motive")},plugins:{actions:{install:this.$t.__("Install Plugin",this.$td),activate:this.$t.__("Activate",this.$td),manage:this.$t.__("Manage",this.$td)},status:this.$t.__("Status:",this.$td),statuses:{activated:this.$t.__("Activated",this.$td),deactivated:this.$t.__("Deactivated",this.$td),notInstalled:this.$t.__("Not Installed",this.$td)}}},pluginData:{optinMonster:{name:"OptinMonster",description:this.$t.__("Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization.",this.$td),icon:this.$getAssetUrl(m),installed:!1,canInstall:!1,activated:!1,loading:!1},wpForms:{name:"WPForms",description:this.$t.__("The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin.",this.$td),icon:this.$getAssetUrl(h),installed:!1,canInstall:!1,activated:!1,loading:!1},wpFormsPro:{name:"WPForms Pro",free:"wpForms",installed:!1,canInstall:!1,activated:!1,loading:!1},miLite:{name:"MonsterInsights",description:this.$t.__("The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.",this.$td),icon:this.$getAssetUrl(p),installed:!1,canInstall:!1,activated:!1,loading:!1},miPro:{name:"MonsterInsights Pro",free:"miLite",installed:!1,canInstall:!1,activated:!1,loading:!1},emLite:{name:"ExactMetrics",description:this.$t.__("The ExactMetrics Google Analytics for WordPress plugin helps you properly setup all the powerful Google Analytics tracking features without writing any code or hiring a developer.",this.$td),icon:this.$getAssetUrl(r),installed:!1,canInstall:!1,activated:!1,loading:!1},emPro:{name:"ExactMetrics Pro",free:"emLite",installed:!1,canInstall:!1,activated:!1,loading:!1},wpMail:{name:"WP Mail SMTP",description:this.$t.__("Improve your WordPress email deliverability and make sure that your website emails reach user\u2019s inbox with the #1 SMTP plugin for WordPress. Over 2 million websites use it to fix WordPress email issues.",this.$td),icon:this.$getAssetUrl(_),installed:!1,canInstall:!1,activated:!1,loading:!1},wpMailPro:{name:"WP Mail SMTP Pro",free:"wpMail",installed:!1,canInstall:!1,activated:!1,loading:!1},seedProd:{name:"SeedProd Coming Soon",description:this.$t.__("The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.",this.$td),icon:this.$getAssetUrl(w),installed:!1,canInstall:!1,activated:!1,loading:!1},seedProdPro:{name:"SeedProd Coming Soon Pro",free:"seedProd",installed:!1,canInstall:!1,activated:!1,loading:!1},trustPulse:{name:"TrustPulse",description:this.$t.__("Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase.",this.$td),icon:this.$getAssetUrl(v),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePress:{name:"RafflePress",description:this.$t.__("Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.",this.$td),icon:this.$getAssetUrl(y),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePressPro:{name:"RafflePress Pro",free:"rafflePress",installed:!1,canInstall:!1,activated:!1,loading:!1},facebookFeed:{name:"Smash Balloon Facebook Feeds",description:this.$t.__("Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.",this.$td),icon:this.$getAssetUrl(P),installed:!1,canInstall:!1,activated:!1,loading:!1},facebookFeedPro:{name:"Smash Balloon Facebook Feeds Pro",free:"facebookFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},instagramFeed:{name:"Smash Balloon Instagram Feeds",description:this.$t.__("Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.",this.$td),icon:this.$getAssetUrl(b),installed:!1,canInstall:!1,activated:!1,loading:!1},instagramFeedPro:{name:"Smash Balloon Instagram Feeds Pro",free:"instagramFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},twitterFeed:{name:"Smash Balloon Twitter Feeds",description:this.$t.__("Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.",this.$td),icon:this.$getAssetUrl($),installed:!1,canInstall:!1,activated:!1,loading:!1},twitterFeedPro:{name:"Smash Balloon Twitter Feeds Pro",free:"twitterFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},youTubeFeed:{name:"Smash Balloon YouTube Feeds",description:this.$t.__("Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.",this.$td),icon:this.$getAssetUrl(I),installed:!1,canInstall:!1,activated:!1,loading:!1},youTubeFeedPro:{name:"Smash Balloon YouTube Feeds Pro",free:"youTubeFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},pushEngage:{name:"PushEngage",description:this.$t.__("Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.",this.$td),icon:this.$getAssetUrl(A),installed:!1,canInstall:!1,activated:!1,loading:!1},searchWp:{name:"SearchWP",description:this.$t.__("The most advanced WordPress search plugin. Customize your WordPress search algorithm, reorder search results, track search metrics, and everything you need to leverage search to grow your business.",this.$td),icon:this.$getAssetUrl(C),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://searchwp.com/")},affiliateWp:{name:"AffiliateWP",description:this.$t.__("The #1 affiliate management plugin for WordPress. Easily create an affiliate program for your eCommerce store or membership site within minutes and start growing your sales with the power of referral marketing.",this.$td),icon:this.$getAssetUrl(D),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://affiliatewp.com/")},wpSimplePay:{name:"WP Simple Pay",description:this.$t.__("The #1 Stripe payments plugin for WordPress. Start accepting one-time and recurring payments on your WordPress site without setting up a shopping cart. No code required.",this.$td),icon:this.$getAssetUrl(S),installed:!1,canInstall:!1,activated:!1,loading:!1},wpSimplePayPro:{name:"WP Simple Pay Pro",free:"wpSimplePay",installed:!1,canInstall:!1,activated:!1,loading:!1},easyDigitalDownloads:{name:"Easy Digital Downloads",description:this.$t.__("The best WordPress eCommerce plugin for selling digital downloads. Start selling eBooks, software, music, digital art, and more within minutes. Accept payments, manage subscriptions, advanced access control, and more.",this.$td),icon:this.$getAssetUrl(W),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendar:{name:"Sugar Calendar",description:this.$t.__("A simple & powerful event calendar plugin for WordPress that comes with all the event management features including payments, scheduling, timezones, ticketing, recurring events, and more.",this.$td),icon:this.$getAssetUrl(U),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendarPro:{name:"Sugar Calendar Pro",free:"sugarCalendar",installed:!1,canInstall:!1,activated:!1,loading:!1}}}},methods:{...o(["installPlugins"]),activate(t){if(!this.plugins[t].installed&&this.plugins[t].installUrl){window.open(this.plugins[t].installUrl,"_blank").focus();return}this.plugins[t].loading=!0,this.installPlugins([{plugin:t,type:"plugin"}]).then(a=>{if(this.plugins[t].loading=!1,Object.keys(a.body.completed).length)this.plugins[t].installed=!0,this.plugins[t].activated=!0;else if(Object.keys(a.body.failed).length)throw new Error(a.body.failed)}).catch(a=>{this.plugins[t].loading=!1,console.error(`Unable to install ${t}: ${a}`)})}},computed:{plugins(){return Object.keys(this.localPlugins).forEach(t=>{this.pluginData[t].free&&(this.pluginData[t].description=this.pluginData[this.pluginData[t].free].description,this.pluginData[t].icon=this.pluginData[this.pluginData[t].free].icon)}),this.pluginData}},mounted(){this.localPlugins={...this.$aioseo.plugins},Object.keys(this.localPlugins).forEach(t=>{this.pluginData[t].installed=this.localPlugins[t].installed,this.pluginData[t].canInstall=this.localPlugins[t].canInstall,this.pluginData[t].canActivate=this.localPlugins[t].canActivate,this.pluginData[t].activated=this.localPlugins[t].activated,this.plugins[t].free&&(this.localPlugins[t].installed?delete this.localPlugins[this.plugins[t].free]:delete this.localPlugins[t])})}},n={};var E=f(F,T,k,!1,M,null,null,null);function M(t){for(let a in n)this[a]=n[a]}const R=function(){return E.exports}();export{R as default};
|
1 |
+
import{m as o}from"./index.f16c040b.js";import{e as r}from"./em.090410fb.js";import{G as d,a as c}from"./Row.89c6bb85.js";import{S as g}from"./External.051baee5.js";import{n as f}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";const u=""+window.__aioseoDynamicImportPreload__("images/team.3ed1e959.jpg"),m=""+window.__aioseoDynamicImportPreload__("images/om.0afa29dd.png"),h=""+window.__aioseoDynamicImportPreload__("images/wpforms.e4bb2893.png"),p=""+window.__aioseoDynamicImportPreload__("images/mi.b3a4b48a.png"),_=""+window.__aioseoDynamicImportPreload__("images/smtp.90e4ffc1.png"),w=""+window.__aioseoDynamicImportPreload__("images/sp.d75c9a95.png"),v=""+window.__aioseoDynamicImportPreload__("images/tp.cb8065a4.png"),y=""+window.__aioseoDynamicImportPreload__("images/rafflepress.cda6b4e0.png"),P=""+window.__aioseoDynamicImportPreload__("images/ff.4f882f43.png"),b=""+window.__aioseoDynamicImportPreload__("images/if.4735a5da.png"),$=""+window.__aioseoDynamicImportPreload__("images/tf.75d64979.png"),I=""+window.__aioseoDynamicImportPreload__("images/yf.28cad2d7.png"),A=""+window.__aioseoDynamicImportPreload__("images/pe.3e9da367.png"),C=""+window.__aioseoDynamicImportPreload__("svg/swp.10222930.svg"),D=""+window.__aioseoDynamicImportPreload__("images/afwp.57d92ab4.png"),S=""+window.__aioseoDynamicImportPreload__("images/wpsp.100012d1.png"),W=""+window.__aioseoDynamicImportPreload__("images/edd.c2984766.png"),U=""+window.__aioseoDynamicImportPreload__("images/sc.5c5e705b.png");var T=function(){var t=this,a=t.$createElement,s=t._self._c||a;return s("div",{staticClass:"aioseo-about-us"},[s("div",{staticClass:"aioseo-about-us-welcome"},[s("div",{staticClass:"welcome-intro"},[s("div",[t._v(t._s(t.strings.welcome.p1))]),s("div",[t._v(t._s(t.strings.welcome.p2))]),s("div",[t._v(t._s(t.strings.welcome.p3))]),s("div",[t._v(t._s(t.strings.welcome.p4))]),s("div",[t._v(t._s(t.strings.welcome.p5))])]),s("div",{staticClass:"welcome-image"},[s("figure",[s("img",{attrs:{src:t.$getAssetUrl(t.teamImg),alt:t.strings.welcome.imageCaption}}),s("figcaption",[t._v(t._s(t.strings.welcome.imageCaption))])])])]),s("div",{staticClass:"aioseo-about-us-plugins"},[s("grid-row",t._l(t.localPlugins,function(i,e){return s("grid-column",{key:e,staticClass:"plugin",attrs:{sm:"12",md:"6",id:e}},[s("div",{staticClass:"plugin-main"},[s("div",[s("img",{attrs:{alt:t.plugins[e].name+" Plugin image",src:t.plugins[e].icon}})]),s("div",[s("div",{staticClass:"main-name"},[t._v(t._s(t.plugins[e].name))]),s("div",[t._v(t._s(t.plugins[e].description))])])]),s("div",{staticClass:"plugin-footer"},[s("div",{staticClass:"footer-status"},[s("div",{staticClass:"footer-status-label"},[t._v(t._s(t.strings.plugins.status))]),t.plugins[e].installed?t._e():s("div",{staticClass:"footer-status footer-status-not-installed"},[t._v(" "+t._s(t.strings.plugins.statuses.notInstalled)+" ")]),t.plugins[e].installed&&!t.plugins[e].activated?s("div",{staticClass:"footer-status footer-status-deactivated"},[t._v(" "+t._s(t.strings.plugins.statuses.deactivated)+" ")]):t._e(),t.plugins[e].installed&&t.plugins[e].activated?s("div",{staticClass:"footer-status footer-status-activated"},[t._v(" "+t._s(t.strings.plugins.statuses.activated)+" ")]):t._e()]),s("div",{staticClass:"footer-action"},[!t.plugins[e].installed&&t.plugins[e].canInstall?s("base-button",{attrs:{type:"blue",loading:t.plugins[e].loading},on:{click:function(l){return t.activate(e)}}},[t._v(" "+t._s(t.strings.plugins.actions.install)+" ")]):t._e(),!t.plugins[e].installed&&!t.plugins[e].canInstall?s("base-button",{attrs:{type:"blue",tag:"a",target:"_blank",href:i.wpLink}},[s("svg-external"),t._v(" "+t._s(t.strings.plugins.actions.install)+" ")],1):t._e(),t.plugins[e].installed&&!t.plugins[e].activated?s("base-button",{attrs:{type:"green",disabled:!t.plugins[e].canActivate,loading:t.plugins[e].loading},on:{click:function(l){return t.activate(e)}}},[t._v(" "+t._s(t.strings.plugins.actions.activate)+" ")]):t._e(),t.plugins[e].installed&&t.plugins[e].activated&&i.adminUrl.length!==0?s("base-button",{attrs:{type:"gray",tag:"a",href:i.adminUrl}},[t._v(" "+t._s(t.strings.plugins.actions.manage)+" ")]):t._e()],1)])])}),1)],1)])},k=[];const F={components:{GridColumn:d,GridRow:c,SvgExternal:g},data(){return{teamImg:u,localPlugins:[],strings:{welcome:{p1:this.$t.sprintf(this.$t.__("Welcome to %1$s, the original SEO plugin for WordPress. At %2$s, we build software that helps you rank your website in search results and gain organic traffic.",this.$td),"All in One SEO","All in One SEO"),p2:this.$t.__("Over the years, we found that most other WordPress SEO plugins were bloated, buggy, slow, and very hard to use. So we designed our plugin as an easy and powerful tool.",this.$td),p3:this.$t.__("Our goal is to take the pain out of optimizing your website for search engines.",this.$td),p4:this.$t.sprintf(this.$t.__("%1$s is brought to you by %2$s, the same team that\u2019s behind the largest WordPress resource site, WPBeginner, the most popular lead-generation software, OptinMonster, the best WordPress analytics plugin, MonsterInsights and many more.",this.$td),"All in One SEO","Awesome Motive"),p5:this.$t.__("Yup, we know a thing or two about building awesome products that customers love.",this.$td),imageCaption:this.$t.sprintf(this.$t.__("The %1$s Team",this.$td),"Awesome Motive")},plugins:{actions:{install:this.$t.__("Install Plugin",this.$td),activate:this.$t.__("Activate",this.$td),manage:this.$t.__("Manage",this.$td)},status:this.$t.__("Status:",this.$td),statuses:{activated:this.$t.__("Activated",this.$td),deactivated:this.$t.__("Deactivated",this.$td),notInstalled:this.$t.__("Not Installed",this.$td)}}},pluginData:{optinMonster:{name:"OptinMonster",description:this.$t.__("Instantly get more subscribers, leads, and sales with the #1 conversion optimization toolkit. Create high converting popups, announcement bars, spin a wheel, and more with smart targeting and personalization.",this.$td),icon:this.$getAssetUrl(m),installed:!1,canInstall:!1,activated:!1,loading:!1},wpForms:{name:"WPForms",description:this.$t.__("The best drag & drop WordPress form builder. Easily create beautiful contact forms, surveys, payment forms, and more with our 100+ form templates. Trusted by over 4 million websites as the best forms plugin.",this.$td),icon:this.$getAssetUrl(h),installed:!1,canInstall:!1,activated:!1,loading:!1},wpFormsPro:{name:"WPForms Pro",free:"wpForms",installed:!1,canInstall:!1,activated:!1,loading:!1},miLite:{name:"MonsterInsights",description:this.$t.__("The leading WordPress analytics plugin that shows you how people find and use your website, so you can make data driven decisions to grow your business. Properly set up Google Analytics without writing code.",this.$td),icon:this.$getAssetUrl(p),installed:!1,canInstall:!1,activated:!1,loading:!1},miPro:{name:"MonsterInsights Pro",free:"miLite",installed:!1,canInstall:!1,activated:!1,loading:!1},emLite:{name:"ExactMetrics",description:this.$t.__("The ExactMetrics Google Analytics for WordPress plugin helps you properly setup all the powerful Google Analytics tracking features without writing any code or hiring a developer.",this.$td),icon:this.$getAssetUrl(r),installed:!1,canInstall:!1,activated:!1,loading:!1},emPro:{name:"ExactMetrics Pro",free:"emLite",installed:!1,canInstall:!1,activated:!1,loading:!1},wpMail:{name:"WP Mail SMTP",description:this.$t.__("Improve your WordPress email deliverability and make sure that your website emails reach user\u2019s inbox with the #1 SMTP plugin for WordPress. Over 2 million websites use it to fix WordPress email issues.",this.$td),icon:this.$getAssetUrl(_),installed:!1,canInstall:!1,activated:!1,loading:!1},wpMailPro:{name:"WP Mail SMTP Pro",free:"wpMail",installed:!1,canInstall:!1,activated:!1,loading:!1},seedProd:{name:"SeedProd Coming Soon",description:this.$t.__("The fastest drag & drop landing page builder for WordPress. Create custom landing pages without writing code, connect them with your CRM, collect subscribers, and grow your audience. Trusted by 1 million sites.",this.$td),icon:this.$getAssetUrl(w),installed:!1,canInstall:!1,activated:!1,loading:!1},seedProdPro:{name:"SeedProd Coming Soon Pro",free:"seedProd",installed:!1,canInstall:!1,activated:!1,loading:!1},trustPulse:{name:"TrustPulse",description:this.$t.__("Boost your sales and conversions by up to 15% with real-time social proof notifications. TrustPulse helps you show live user activity and purchases to help convince other users to purchase.",this.$td),icon:this.$getAssetUrl(v),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePress:{name:"RafflePress",description:this.$t.__("Turn your website visitors into brand ambassadors! Easily grow your email list, website traffic, and social media followers with the most powerful giveaways & contests plugin for WordPress.",this.$td),icon:this.$getAssetUrl(y),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePressPro:{name:"RafflePress Pro",free:"rafflePress",installed:!1,canInstall:!1,activated:!1,loading:!1},facebookFeed:{name:"Smash Balloon Facebook Feeds",description:this.$t.__("Easily display Facebook content on your WordPress site without writing any code. Comes with multiple templates, ability to embed albums, group content, reviews, live videos, comments, and reactions.",this.$td),icon:this.$getAssetUrl(P),installed:!1,canInstall:!1,activated:!1,loading:!1},facebookFeedPro:{name:"Smash Balloon Facebook Feeds Pro",free:"facebookFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},instagramFeed:{name:"Smash Balloon Instagram Feeds",description:this.$t.__("Easily display Instagram content on your WordPress site without writing any code. Comes with multiple templates, ability to show content from multiple accounts, hashtags, and more. Trusted by 1 million websites.",this.$td),icon:this.$getAssetUrl(b),installed:!1,canInstall:!1,activated:!1,loading:!1},instagramFeedPro:{name:"Smash Balloon Instagram Feeds Pro",free:"instagramFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},twitterFeed:{name:"Smash Balloon Twitter Feeds",description:this.$t.__("Easily display Twitter content in WordPress without writing any code. Comes with multiple layouts, ability to combine multiple Twitter feeds, Twitter card support, tweet moderation, and more.",this.$td),icon:this.$getAssetUrl($),installed:!1,canInstall:!1,activated:!1,loading:!1},twitterFeedPro:{name:"Smash Balloon Twitter Feeds Pro",free:"twitterFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},youTubeFeed:{name:"Smash Balloon YouTube Feeds",description:this.$t.__("Easily display YouTube videos on your WordPress site without writing any code. Comes with multiple layouts, ability to embed live streams, video filtering, ability to combine multiple channel videos, and more.",this.$td),icon:this.$getAssetUrl(I),installed:!1,canInstall:!1,activated:!1,loading:!1},youTubeFeedPro:{name:"Smash Balloon YouTube Feeds Pro",free:"youTubeFeed",installed:!1,canInstall:!1,activated:!1,loading:!1},pushEngage:{name:"PushEngage",description:this.$t.__("Connect with your visitors after they leave your website with the leading web push notification software. Over 10,000+ businesses worldwide use PushEngage to send 9 billion notifications each month.",this.$td),icon:this.$getAssetUrl(A),installed:!1,canInstall:!1,activated:!1,loading:!1},searchWp:{name:"SearchWP",description:this.$t.__("The most advanced WordPress search plugin. Customize your WordPress search algorithm, reorder search results, track search metrics, and everything you need to leverage search to grow your business.",this.$td),icon:this.$getAssetUrl(C),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://searchwp.com/")},affiliateWp:{name:"AffiliateWP",description:this.$t.__("The #1 affiliate management plugin for WordPress. Easily create an affiliate program for your eCommerce store or membership site within minutes and start growing your sales with the power of referral marketing.",this.$td),icon:this.$getAssetUrl(D),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://affiliatewp.com/")},wpSimplePay:{name:"WP Simple Pay",description:this.$t.__("The #1 Stripe payments plugin for WordPress. Start accepting one-time and recurring payments on your WordPress site without setting up a shopping cart. No code required.",this.$td),icon:this.$getAssetUrl(S),installed:!1,canInstall:!1,activated:!1,loading:!1},wpSimplePayPro:{name:"WP Simple Pay Pro",free:"wpSimplePay",installed:!1,canInstall:!1,activated:!1,loading:!1},easyDigitalDownloads:{name:"Easy Digital Downloads",description:this.$t.__("The best WordPress eCommerce plugin for selling digital downloads. Start selling eBooks, software, music, digital art, and more within minutes. Accept payments, manage subscriptions, advanced access control, and more.",this.$td),icon:this.$getAssetUrl(W),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendar:{name:"Sugar Calendar",description:this.$t.__("A simple & powerful event calendar plugin for WordPress that comes with all the event management features including payments, scheduling, timezones, ticketing, recurring events, and more.",this.$td),icon:this.$getAssetUrl(U),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendarPro:{name:"Sugar Calendar Pro",free:"sugarCalendar",installed:!1,canInstall:!1,activated:!1,loading:!1}}}},methods:{...o(["installPlugins"]),activate(t){if(!this.plugins[t].installed&&this.plugins[t].installUrl){window.open(this.plugins[t].installUrl,"_blank").focus();return}this.plugins[t].loading=!0,this.installPlugins([{plugin:t,type:"plugin"}]).then(a=>{if(this.plugins[t].loading=!1,Object.keys(a.body.completed).length)this.plugins[t].installed=!0,this.plugins[t].activated=!0;else if(Object.keys(a.body.failed).length)throw new Error(a.body.failed)}).catch(a=>{this.plugins[t].loading=!1,console.error(`Unable to install ${t}: ${a}`)})}},computed:{plugins(){return Object.keys(this.localPlugins).forEach(t=>{this.pluginData[t].free&&(this.pluginData[t].description=this.pluginData[this.pluginData[t].free].description,this.pluginData[t].icon=this.pluginData[this.pluginData[t].free].icon)}),this.pluginData}},mounted(){this.localPlugins={...this.$aioseo.plugins},Object.keys(this.localPlugins).forEach(t=>{this.pluginData[t].installed=this.localPlugins[t].installed,this.pluginData[t].canInstall=this.localPlugins[t].canInstall,this.pluginData[t].canActivate=this.localPlugins[t].canActivate,this.pluginData[t].activated=this.localPlugins[t].activated,this.plugins[t].free&&(this.localPlugins[t].installed?delete this.localPlugins[this.plugins[t].free]:delete this.localPlugins[t])})}},n={};var E=f(F,T,k,!1,M,null,null,null);function M(t){for(let a in n)this[a]=n[a]}const R=function(){return E.exports}();export{R as default};
|
dist/Lite/assets/js/{AccessControl.9286ccdf.js → AccessControl.10fc4b30.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{e as c}from"./index.
|
1 |
+
import{e as c}from"./index.f16c040b.js";import{A as a}from"./WebmasterTools.7d67efd1.js";import{C as u}from"./Blur.945b1b3e.js";import{C as _}from"./Card.1a6f5bab.js";import{C as p}from"./ProBadge.6745e7cb.js";import{C as m}from"./SettingsRow.0d51ff21.js";import{C as d}from"./Index.28b23aca.js";import{n as l}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./WpTable.078239fd.js";import"./constants.71b051da.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./index.c9bc1c73.js";import"./client.b661b356.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./MetaTag.ceacc375.js";import"./Tooltip.a36a3967.js";import"./Slide.01023b2f.js";import"./Row.89c6bb85.js";var f=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-access-control-lite"},[o("core-card",{attrs:{slug:"accessControl"},scopedSlots:t._u([{key:"header",fn:function(){return[o("span",[t._v(t._s(t.strings.accessControl))]),o("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.tooltip)+" ")]},proxy:!0}])},[o("core-blur",[t._l(t.getLiteRoles,function(s){return[o("core-settings-row",{key:s.name,attrs:{name:s.label},scopedSlots:t._u([{key:"content",fn:function(){return[o("div",{staticClass:"toggle"},[o("base-toggle",{attrs:{disabled:!0,value:!0}},[t._v(" "+t._s(t.strings.useDefaultSettings)+" ")])],1)]},proxy:!0}],null,!0)})]})],2),o("cta",{attrs:{"feature-list":[t.strings.granularControl,t.strings.wpRoles,t.strings.seoManagerRole,t.strings.seoEditorRole],"cta-link":t.$links.getPricingUrl("access-control","access-control-upsell"),"button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getUpsellUrl("access-control",null,"home"),"align-top":""},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t._v(" "+t._s(t.strings.tooltip)+" ")]},proxy:!0}])})],1)],1)},g=[];const h={components:{CoreBlur:u,CoreCard:_,CoreProBadge:p,CoreSettingsRow:m,Cta:d},mixins:[a],data(){return{strings:{wpRoles:this.$t.__("WP Roles (Editor, Author)",this.$td),seoManagerRole:this.$t.__("SEO Manager Role",this.$td),seoEditorRole:this.$t.__("SEO Editor Role",this.$td),defaultSettings:this.$t.__("Default settings that just work",this.$td),granularControl:this.$t.__("Granular controls per role",this.$td),ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Access Control",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Access Control is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro")}}},computed:{getLiteRoles(){const t=this.getRoles;let e=1;for(;8>t.length;)t.push({label:this.$t.__("Custom Role",this.$td)+" "+e,name:"customRole"+e}),e++;return t}}},r={};var v=l(h,f,g,!1,$,null,null,null);function $(t){for(let e in r)this[e]=r[e]}const n=function(){return v.exports}();var C=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"aioseo-access-control"},[t.isUnlicensed?t._e():o("access-control"),t.isUnlicensed?o("access-control-lite"):t._e()],1)},y=[];const x={components:{AccessControl:n,AccessControlLite:n},computed:{...c(["isUnlicensed"])}},i={};var R=l(x,C,y,!1,A,null,null,null);function A(t){for(let e in i)this[e]=i[e]}const K=function(){return R.exports}();export{K as default};
|
dist/Lite/assets/js/{AddPlus.a5cc22bc.js → AddPlus.f0d14d8e.js}
RENAMED
File without changes
|
dist/Lite/assets/js/{AdditionalInformation.a1d3d08b.js → AdditionalInformation.6bba4153.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{a as r}from"./WpTable.8ff25002.js";import{n as l}from"./vueComponentNormalizer.58b0a173.js";import{U as d}from"./Image.03ee6721.js";import{M as m}from"./MaxCounts.5a7ca2fd.js";import{a as n,m as c}from"./index.4776f7d5.js";import{B as p}from"./Img.b806c655.js";import{B as g}from"./Phone.a2cc842a.js";import{B as u}from"./RadioToggle.18d51233.js";import{C as f}from"./SocialProfiles.37445a89.js";import{S as _}from"./Plus.6ec3819c.js";import{W as h,a as v,b as I}from"./Header.f423cc81.js";import{W as C,a as b}from"./Steps.ac72f7ea.js";import"./index.4a5acef5.js";import"./client.d00863cc.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./default-i18n.0e73c33c.js";import"./constants.9efee5f7.js";import"./isArrayLikeObject.5268a676.js";import"./portal-vue.esm.272b3133.js";import"./attachments.52d4e34c.js";import"./cleanForSlug.788b395f.js";import"./Checkbox.93944087.js";import"./Checkmark.627d69a4.js";import"./Textarea.2db5f910.js";import"./SettingsRow.8a127375.js";import"./Row.dfea53f7.js";import"./Logo.a7c6e95c.js";var z=function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("div",{staticClass:"aioseo-wizard-additional-information"},[t("wizard-header"),t("wizard-container",[t("wizard-body",{scopedSlots:a._u([{key:"footer",fn:function(){return[t("div",{staticClass:"go-back"},[t("router-link",{staticClass:"no-underline",attrs:{to:a.getPrevLink}},[a._v("\u2190")]),a._v(" \xA0 "),t("router-link",{attrs:{to:a.getPrevLink}},[a._v(a._s(a.strings.goBack))])],1),t("div",{staticClass:"spacer"}),t("base-button",{attrs:{type:"blue",loading:a.loading},on:{click:a.saveAndContinue}},[a._v(a._s(a.strings.saveAndContinue)+" \u2192")])]},proxy:!0}])},[t("wizard-steps"),t("div",{staticClass:"header"},[a._v(" "+a._s(a.strings.additionalSiteInformation)+" ")]),t("div",{staticClass:"person-or-organization aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.personOrOrganization))])]),t("base-radio-toggle",{attrs:{name:"siteRepresents",options:[{label:a.strings.person,value:"person"},{label:a.strings.organization,value:"organization"}]},model:{value:a.additionalInformation.siteRepresents,callback:function(i){a.$set(a.additionalInformation,"siteRepresents",i)},expression:"additionalInformation.siteRepresents"}}),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.personOrOrganizationDescription)+" ")])],1),a.additionalInformation.siteRepresents==="person"?t("div",{staticClass:"aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.choosePerson))])]),t("base-select",{staticClass:"person-chooser",attrs:{options:a.users,value:a.getPersonOptions(a.additionalInformation.person)},on:{input:function(i){return a.additionalInformation.person=i.value}},scopedSlots:a._u([{key:"singleLabel",fn:function(i){var o=i.option;return[t("div",{staticClass:"person-label"},[o.gravatar?t("div",{staticClass:"person-avatar"},[t("img",{attrs:{alt:"User Gravatar",src:o.gravatar}})]):a._e(),t("div",{staticClass:"person-name"},[a._v(" "+a._s(o.label)+" ")])])]}},{key:"option",fn:function(i){var o=i.option;return[t("div",{staticClass:"person-label"},[o.gravatar?t("div",{staticClass:"person-avatar"},[t("img",{attrs:{alt:"User Gravatar",src:o.gravatar}})]):a._e(),t("div",{staticClass:"person-name"},[a._v(" "+a._s(o.label)+" ")])])]}}],null,!1,48911446)})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.organizationName))])]),t("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.organizationName,callback:function(i){a.$set(a.additionalInformation,"organizationName",i)},expression:"additionalInformation.organizationName"}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?t("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.name))])]),t("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.personName,callback:function(i){a.$set(a.additionalInformation,"personName",i)},expression:"additionalInformation.personName"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-phone aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.phone))])]),t("base-phone",{model:{value:a.additionalInformation.phone,callback:function(i){a.$set(a.additionalInformation,"phone",i)},expression:"additionalInformation.phone"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-contact-type aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),t("base-select",{attrs:{size:"medium",options:a.$constants.CONTACT_TYPES,placeholder:a.strings.chooseContactType,value:a.getContactTypeOptions(a.additionalInformation.contactType)},on:{input:function(i){return a.additionalInformation.contactType=i.value}}}),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.contactTypeDescription)+" ")])],1):a._e(),a.additionalInformation.siteRepresents==="organization"&&a.additionalInformation.contactType==="manual"?t("div",{staticClass:"schema-graph-contact-type-manual aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),t("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.contactTypeManual,callback:function(i){a.$set(a.additionalInformation,"contactTypeManual",i)},expression:"additionalInformation.contactTypeManual"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),t("div",{staticClass:"image-upload"},[t("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.organizationLogo,callback:function(i){a.$set(a.additionalInformation,"organizationLogo",i)},expression:"additionalInformation.organizationLogo"}}),t("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(i){a.openUploadModal("organizationLogo",function(o){return a.additionalInformation.organizationLogo=o})}}},[t("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),t("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(i){a.additionalInformation.organizationLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),t("base-img",{attrs:{src:a.additionalInformation.organizationLogo}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?t("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),t("div",{staticClass:"image-upload"},[t("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.personLogo,callback:function(i){a.$set(a.additionalInformation,"personLogo",i)},expression:"additionalInformation.personLogo"}}),t("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(i){a.openUploadModal("personLogo",function(o){return a.additionalInformation.personLogo=o})}}},[t("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),t("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(i){a.additionalInformation.personLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),t("base-img",{attrs:{src:a.additionalInformation.personLogo}})],1):a._e(),t("div",{staticClass:"schema-graph-image aioseo-settings-row"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.defaultSocialShareImage))])]),t("div",{staticClass:"image-upload"},[t("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.socialShareImage,callback:function(i){a.$set(a.additionalInformation,"socialShareImage",i)},expression:"additionalInformation.socialShareImage"}}),t("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(i){a.openUploadModal("socialShareImage",function(o){return a.additionalInformation.socialShareImage=o})}}},[t("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),t("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(i){a.additionalInformation.socialShareImage=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),t("base-img",{attrs:{src:a.additionalInformation.socialShareImage}})],1),t("div",{staticClass:"header social"},[a._v(" "+a._s(a.strings.yourSocialProfiles)+" ")]),a.loaded?t("div",{staticClass:"social-profiles"},[t("core-social-profiles",{attrs:{options:a.additionalInformation,leftSize:"4",rightSize:"8",sameUsernameWidth:"4",hideAdditionalProfiles:""}})],1):a._e()],1),t("wizard-close-and-exit")],1)],1)},$=[];const y={components:{BaseImg:p,BasePhone:g,BaseRadioToggle:u,CoreSocialProfiles:f,SvgCirclePlus:_,WizardBody:h,WizardCloseAndExit:C,WizardContainer:v,WizardHeader:I,WizardSteps:b},mixins:[m,d,r],data(){return{loaded:!1,loading:!1,stage:"additional-information",strings:{additionalSiteInformation:this.$t.__("Additional Site Information",this.$td),personOrOrganization:this.$t.__("Person or Organization",this.$td),choosePerson:this.$t.__("Choose a Person",this.$td),person:this.$t.__("Person",this.$td),organization:this.$t.__("Organization",this.$td),personOrOrganizationDescription:this.$t.__("Choose whether the site represents a person or an organization.",this.$td),name:this.$t.__("Name",this.$td),organizationName:this.$t.__("Organization Name",this.$td),phone:this.$t.__("Phone Number",this.$td),chooseContactType:this.$t.__("Choose a Contact Type",this.$td),contactType:this.$t.__("Contact Type",this.$td),contactTypeDescription:this.$t.__("Select which team or department the phone number belongs to.",this.$td),logo:this.$t.__("Logo",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.__("Minimum size: 112px x 112px, The image must be in JPG, PNG, GIF, SVG, or WEBP format.",this.$td),remove:this.$t.__("Remove",this.$td),defaultSocialShareImage:this.$t.__("Default Social Share Image",this.$td),yourSocialProfiles:this.$t.__("Your Social Profiles",this.$td)}}},watch:{"options.social.profiles":{deep:!0,handler(a){this.additionalInformation.social.profiles=a}}},computed:{...n(["options"]),...n("wizard",["additionalInformation"]),users(){return[{label:this.$t.__("Manually Enter Person",this.$td),value:"manual"}].concat(this.$aioseo.users.map(a=>({label:`${a.displayName} (${a.email})`,gravatar:a.gravatar,value:a.id})))}},methods:{...c("wizard",["saveWizard"]),getPersonOptions(a){return this.users.find(s=>s.value===a)},getContactTypeOptions(a){return this.$constants.CONTACT_TYPES.find(s=>s.value===a)},saveAndContinue(){this.loading=!0,this.saveWizard("additionalInformation").then(()=>{this.$router.push(this.getNextLink)})}},mounted(){this.$nextTick(()=>{const a=JSON.parse(JSON.stringify(this.options.searchAppearance)),s=JSON.parse(JSON.stringify(this.options.social));this.additionalInformation.social.profiles=JSON.parse(JSON.stringify(s.profiles)),this.additionalInformation.socialShareImage=s.facebook.general.defaultImagePosts,this.additionalInformation.siteRepresents=a.global.schema.siteRepresents,this.additionalInformation.person=a.global.schema.person,this.additionalInformation.organizationName=a.global.schema.organizationName,this.additionalInformation.organizationLogo=a.global.schema.organizationLogo,this.additionalInformation.personName=a.global.schema.personName,this.additionalInformation.personLogo=a.global.schema.personLogo,this.additionalInformation.phone=a.global.schema.phone,this.additionalInformation.contactType=a.global.schema.contactType,this.additionalInformation.contactTypeManual=a.global.schema.contactTypeManual,this.loaded=!0})}},e={};var S=l(y,z,$,!1,k,null,null,null);function k(a){for(let s in e)this[s]=e[s]}const ta=function(){return S.exports}();export{ta as default};
|
1 |
+
import{a as r}from"./WpTable.078239fd.js";import{n as l}from"./vueComponentNormalizer.58b0a173.js";import{U as d}from"./Image.2e470303.js";import{M as m}from"./MaxCounts.5a7ca2fd.js";import{a as n,m as c}from"./index.f16c040b.js";import{B as p}from"./Img.36a4ce1e.js";import{B as g}from"./Phone.7552a536.js";import{B as u}from"./RadioToggle.d0794ab7.js";import{C as f}from"./SocialProfiles.689c5eee.js";import{S as _}from"./Plus.d9c7f9ce.js";import{W as h,a as v,b as I}from"./Header.14f73c87.js";import{W as C,a as b}from"./Steps.cb35f9cf.js";import"./constants.71b051da.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./index.c9bc1c73.js";import"./client.b661b356.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./Checkbox.732cf0d4.js";import"./Checkmark.c0183939.js";import"./Textarea.92b32df4.js";import"./SettingsRow.0d51ff21.js";import"./Row.89c6bb85.js";import"./Logo.97285076.js";var z=function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("div",{staticClass:"aioseo-wizard-additional-information"},[t("wizard-header"),t("wizard-container",[t("wizard-body",{scopedSlots:a._u([{key:"footer",fn:function(){return[t("div",{staticClass:"go-back"},[t("router-link",{staticClass:"no-underline",attrs:{to:a.getPrevLink}},[a._v("\u2190")]),a._v(" \xA0 "),t("router-link",{attrs:{to:a.getPrevLink}},[a._v(a._s(a.strings.goBack))])],1),t("div",{staticClass:"spacer"}),t("base-button",{attrs:{type:"blue",loading:a.loading},on:{click:a.saveAndContinue}},[a._v(a._s(a.strings.saveAndContinue)+" \u2192")])]},proxy:!0}])},[t("wizard-steps"),t("div",{staticClass:"header"},[a._v(" "+a._s(a.strings.additionalSiteInformation)+" ")]),t("div",{staticClass:"person-or-organization aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.personOrOrganization))])]),t("base-radio-toggle",{attrs:{name:"siteRepresents",options:[{label:a.strings.person,value:"person"},{label:a.strings.organization,value:"organization"}]},model:{value:a.additionalInformation.siteRepresents,callback:function(i){a.$set(a.additionalInformation,"siteRepresents",i)},expression:"additionalInformation.siteRepresents"}}),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.personOrOrganizationDescription)+" ")])],1),a.additionalInformation.siteRepresents==="person"?t("div",{staticClass:"aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.choosePerson))])]),t("base-select",{staticClass:"person-chooser",attrs:{options:a.users,value:a.getPersonOptions(a.additionalInformation.person)},on:{input:function(i){return a.additionalInformation.person=i.value}},scopedSlots:a._u([{key:"singleLabel",fn:function(i){var o=i.option;return[t("div",{staticClass:"person-label"},[o.gravatar?t("div",{staticClass:"person-avatar"},[t("img",{attrs:{alt:"User Gravatar",src:o.gravatar}})]):a._e(),t("div",{staticClass:"person-name"},[a._v(" "+a._s(o.label)+" ")])])]}},{key:"option",fn:function(i){var o=i.option;return[t("div",{staticClass:"person-label"},[o.gravatar?t("div",{staticClass:"person-avatar"},[t("img",{attrs:{alt:"User Gravatar",src:o.gravatar}})]):a._e(),t("div",{staticClass:"person-name"},[a._v(" "+a._s(o.label)+" ")])])]}}],null,!1,48911446)})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.organizationName))])]),t("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.organizationName,callback:function(i){a.$set(a.additionalInformation,"organizationName",i)},expression:"additionalInformation.organizationName"}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?t("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.name))])]),t("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.personName,callback:function(i){a.$set(a.additionalInformation,"personName",i)},expression:"additionalInformation.personName"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-phone aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.phone))])]),t("base-phone",{model:{value:a.additionalInformation.phone,callback:function(i){a.$set(a.additionalInformation,"phone",i)},expression:"additionalInformation.phone"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-contact-type aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),t("base-select",{attrs:{size:"medium",options:a.$constants.CONTACT_TYPES,placeholder:a.strings.chooseContactType,value:a.getContactTypeOptions(a.additionalInformation.contactType)},on:{input:function(i){return a.additionalInformation.contactType=i.value}}}),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.contactTypeDescription)+" ")])],1):a._e(),a.additionalInformation.siteRepresents==="organization"&&a.additionalInformation.contactType==="manual"?t("div",{staticClass:"schema-graph-contact-type-manual aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),t("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.contactTypeManual,callback:function(i){a.$set(a.additionalInformation,"contactTypeManual",i)},expression:"additionalInformation.contactTypeManual"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?t("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),t("div",{staticClass:"image-upload"},[t("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.organizationLogo,callback:function(i){a.$set(a.additionalInformation,"organizationLogo",i)},expression:"additionalInformation.organizationLogo"}}),t("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(i){a.openUploadModal("organizationLogo",function(o){return a.additionalInformation.organizationLogo=o})}}},[t("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),t("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(i){a.additionalInformation.organizationLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),t("base-img",{attrs:{src:a.additionalInformation.organizationLogo}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?t("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),t("div",{staticClass:"image-upload"},[t("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.personLogo,callback:function(i){a.$set(a.additionalInformation,"personLogo",i)},expression:"additionalInformation.personLogo"}}),t("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(i){a.openUploadModal("personLogo",function(o){return a.additionalInformation.personLogo=o})}}},[t("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),t("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(i){a.additionalInformation.personLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),t("base-img",{attrs:{src:a.additionalInformation.personLogo}})],1):a._e(),t("div",{staticClass:"schema-graph-image aioseo-settings-row"},[t("div",{staticClass:"settings-name"},[t("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.defaultSocialShareImage))])]),t("div",{staticClass:"image-upload"},[t("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.socialShareImage,callback:function(i){a.$set(a.additionalInformation,"socialShareImage",i)},expression:"additionalInformation.socialShareImage"}}),t("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(i){a.openUploadModal("socialShareImage",function(o){return a.additionalInformation.socialShareImage=o})}}},[t("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),t("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(i){a.additionalInformation.socialShareImage=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),t("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),t("base-img",{attrs:{src:a.additionalInformation.socialShareImage}})],1),t("div",{staticClass:"header social"},[a._v(" "+a._s(a.strings.yourSocialProfiles)+" ")]),a.loaded?t("div",{staticClass:"social-profiles"},[t("core-social-profiles",{attrs:{options:a.additionalInformation,leftSize:"4",rightSize:"8",sameUsernameWidth:"4",hideAdditionalProfiles:""}})],1):a._e()],1),t("wizard-close-and-exit")],1)],1)},$=[];const y={components:{BaseImg:p,BasePhone:g,BaseRadioToggle:u,CoreSocialProfiles:f,SvgCirclePlus:_,WizardBody:h,WizardCloseAndExit:C,WizardContainer:v,WizardHeader:I,WizardSteps:b},mixins:[m,d,r],data(){return{loaded:!1,loading:!1,stage:"additional-information",strings:{additionalSiteInformation:this.$t.__("Additional Site Information",this.$td),personOrOrganization:this.$t.__("Person or Organization",this.$td),choosePerson:this.$t.__("Choose a Person",this.$td),person:this.$t.__("Person",this.$td),organization:this.$t.__("Organization",this.$td),personOrOrganizationDescription:this.$t.__("Choose whether the site represents a person or an organization.",this.$td),name:this.$t.__("Name",this.$td),organizationName:this.$t.__("Organization Name",this.$td),phone:this.$t.__("Phone Number",this.$td),chooseContactType:this.$t.__("Choose a Contact Type",this.$td),contactType:this.$t.__("Contact Type",this.$td),contactTypeDescription:this.$t.__("Select which team or department the phone number belongs to.",this.$td),logo:this.$t.__("Logo",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.__("Minimum size: 112px x 112px, The image must be in JPG, PNG, GIF, SVG, or WEBP format.",this.$td),remove:this.$t.__("Remove",this.$td),defaultSocialShareImage:this.$t.__("Default Social Share Image",this.$td),yourSocialProfiles:this.$t.__("Your Social Profiles",this.$td)}}},watch:{"options.social.profiles":{deep:!0,handler(a){this.additionalInformation.social.profiles=a}}},computed:{...n(["options"]),...n("wizard",["additionalInformation"]),users(){return[{label:this.$t.__("Manually Enter Person",this.$td),value:"manual"}].concat(this.$aioseo.users.map(a=>({label:`${a.displayName} (${a.email})`,gravatar:a.gravatar,value:a.id})))}},methods:{...c("wizard",["saveWizard"]),getPersonOptions(a){return this.users.find(s=>s.value===a)},getContactTypeOptions(a){return this.$constants.CONTACT_TYPES.find(s=>s.value===a)},saveAndContinue(){this.loading=!0,this.saveWizard("additionalInformation").then(()=>{this.$router.push(this.getNextLink)})}},mounted(){this.$nextTick(()=>{const a=JSON.parse(JSON.stringify(this.options.searchAppearance)),s=JSON.parse(JSON.stringify(this.options.social));this.additionalInformation.social.profiles=JSON.parse(JSON.stringify(s.profiles)),this.additionalInformation.socialShareImage=s.facebook.general.defaultImagePosts,this.additionalInformation.siteRepresents=a.global.schema.siteRepresents,this.additionalInformation.person=a.global.schema.person,this.additionalInformation.organizationName=a.global.schema.organizationName,this.additionalInformation.organizationLogo=a.global.schema.organizationLogo,this.additionalInformation.personName=a.global.schema.personName,this.additionalInformation.personLogo=a.global.schema.personLogo,this.additionalInformation.phone=a.global.schema.phone,this.additionalInformation.contactType=a.global.schema.contactType,this.additionalInformation.contactTypeManual=a.global.schema.contactTypeManual,this.loaded=!0})}},e={};var S=l(y,z,$,!1,k,null,null,null);function k(a){for(let s in e)this[s]=e[s]}const ta=function(){return S.exports}();export{ta as default};
|
dist/Lite/assets/js/{AdditionalPages.42337985.js → AdditionalPages.b4edbaac.js}
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
-
import{b as Oe,a as be}from"./index.4776f7d5.js";import{C as Te,W as Ue}from"./WpTable.8ff25002.js";import{n as _e}from"./vueComponentNormalizer.58b0a173.js";import{j as Ae,Q as Fe,C as Ie,b as He,R as ue,O as Se,i as Ye}from"./index.4a5acef5.js";import{_ as Ve}from"./default-i18n.0e73c33c.js";import{c as Be,a as We}from"./_commonjsHelpers.10c44588.js";import{S as ze}from"./NewsChannel.e4dcf289.js";import{S as qe}from"./Exclamation.c0680526.js";import{C as Ge}from"./Table.64065090.js";import{C as Je}from"./Card.a455f6aa.js";import{C as Ze}from"./Tooltip.060399ab.js";import"./isArrayLikeObject.5268a676.js";import"./attachments.52d4e34c.js";import"./cleanForSlug.788b395f.js";import"./constants.9efee5f7.js";import"./client.d00863cc.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./Slide.8aaa5049.js";const Xe=""+window.__aioseoDynamicImportPreload__("images/import-from-csv.fa7a7c61.png");var Re={exports:{}};(function(s,C){(function(r,c){s.exports=c()})(typeof self<"u"?self:Be,function(){return function(r){var c={};function e(n){if(c[n])return c[n].exports;var a=c[n]={i:n,l:!1,exports:{}};return r[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}return e.m=r,e.c=c,e.d=function(n,a,i){e.o(n,a)||Object.defineProperty(n,a,{enumerable:!0,get:i})},e.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,a){if(1&a&&(n=e(n)),8&a||4&a&&typeof n=="object"&&n&&n.__esModule)return n;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&a&&typeof n!="string")for(var o in n)e.d(i,o,function(l){return n[l]}.bind(null,o));return i},e.n=function(n){var a=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(a,"a",a),a},e.o=function(n,a){return Object.prototype.hasOwnProperty.call(n,a)},e.p="",e(e.s="fb15")}({"00ee":function(r,c,e){var n=e("b622"),a=n("toStringTag"),i={};i[a]="z",r.exports=String(i)==="[object z]"},"057f":function(r,c,e){var n=e("fc6a"),a=e("241c").f,i={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(d){try{return a(d)}catch{return o.slice()}};r.exports.f=function(d){return o&&i.call(d)=="[object Window]"?l(d):a(n(d))}},"06cf":function(r,c,e){var n=e("83ab"),a=e("d1e7"),i=e("5c6c"),o=e("fc6a"),l=e("c04e"),d=e("5135"),u=e("0cfb"),y=Object.getOwnPropertyDescriptor;c.f=n?y:function(h,g){if(h=o(h),g=l(g,!0),u)try{return y(h,g)}catch{}if(d(h,g))return i(!a.f.call(h,g),h[g])}},"0cfb":function(r,c,e){var n=e("83ab"),a=e("d039"),i=e("cc12");r.exports=!n&&!a(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},"0e58":function(r,c,e){var n=e("beb7"),a=e.n(n);a.a},"14c3":function(r,c,e){var n=e("c6b6"),a=e("9263");r.exports=function(i,o){var l=i.exec;if(typeof l=="function"){var d=l.call(i,o);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(n(i)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return a.call(i,o)}},"159b":function(r,c,e){var n=e("da84"),a=e("fdbc"),i=e("17c2"),o=e("9112");for(var l in a){var d=n[l],u=d&&d.prototype;if(u&&u.forEach!==i)try{o(u,"forEach",i)}catch{u.forEach=i}}},"17c2":function(r,c,e){var n=e("b727").forEach,a=e("b301");r.exports=a("forEach")?function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}:[].forEach},"18e6":function(r,c,e){},"1be4":function(r,c,e){var n=e("d066");r.exports=n("document","documentElement")},"1c0b":function(r,c){r.exports=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(r,c,e){var n=e("b622"),a=n("iterator"),i=!1;try{var o=0,l={next:function(){return{done:!!o++}},return:function(){i=!0}};l[a]=function(){return this},Array.from(l,function(){throw 2})}catch{}r.exports=function(d,u){if(!u&&!i)return!1;var y=!1;try{var h={};h[a]=function(){return{next:function(){return{done:y=!0}}}},d(h)}catch{}return y}},"1d80":function(r,c){r.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},"1dde":function(r,c,e){var n=e("d039"),a=e("b622"),i=e("60ae"),o=a("species");r.exports=function(l){return i>=51||!n(function(){var d=[],u=d.constructor={};return u[o]=function(){return{foo:1}},d[l](Boolean).foo!==1})}},"23cb":function(r,c,e){var n=e("a691"),a=Math.max,i=Math.min;r.exports=function(o,l){var d=n(o);return d<0?a(d+l,0):i(d,l)}},"23e7":function(r,c,e){var n=e("da84"),a=e("06cf").f,i=e("9112"),o=e("6eeb"),l=e("ce4e"),d=e("e893"),u=e("94ca");r.exports=function(y,h){var g,f,p,_,b,w,$=y.target,T=y.global,R=y.stat;if(f=T?n:R?n[$]||l($,{}):(n[$]||{}).prototype,f)for(p in h){if(b=h[p],y.noTargetGet?(w=a(f,p),_=w&&w.value):_=f[p],g=u(T?p:$+(R?".":"#")+p,y.forced),!g&&_!==void 0){if(typeof b==typeof _)continue;d(b,_)}(y.sham||_&&_.sham)&&i(b,"sham",!0),o(f,p,b,y)}}},"241c":function(r,c,e){var n=e("ca84"),a=e("7839"),i=a.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(o){return n(o,i)}},"25f0":function(r,c,e){var n=e("6eeb"),a=e("825a"),i=e("d039"),o=e("ad6d"),l="toString",d=RegExp.prototype,u=d[l],y=i(function(){return u.call({source:"a",flags:"b"})!="/a/b"}),h=u.name!=l;(y||h)&&n(RegExp.prototype,l,function(){var g=a(this),f=String(g.source),p=g.flags,_=String(p===void 0&&g instanceof RegExp&&!("flags"in d)?o.call(g):p);return"/"+f+"/"+_},{unsafe:!0})},"35a1":function(r,c,e){var n=e("f5df"),a=e("3f8c"),i=e("b622"),o=i("iterator");r.exports=function(l){if(l!=null)return l[o]||l["@@iterator"]||a[n(l)]}},"37e8":function(r,c,e){var n=e("83ab"),a=e("9bf2"),i=e("825a"),o=e("df75");r.exports=n?Object.defineProperties:function(l,d){i(l);for(var u,y=o(d),h=y.length,g=0;h>g;)a.f(l,u=y[g++],d[u]);return l}},"3bbe":function(r,c,e){var n=e("861d");r.exports=function(a){if(!n(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype");return a}},"3ca3":function(r,c,e){var n=e("6547").charAt,a=e("69f3"),i=e("7dd0"),o="String Iterator",l=a.set,d=a.getterFor(o);i(String,"String",function(u){l(this,{type:o,string:String(u),index:0})},function(){var u,y=d(this),h=y.string,g=y.index;return g>=h.length?{value:void 0,done:!0}:(u=n(h,g),y.index+=u.length,{value:u,done:!1})})},"3f8c":function(r,c){r.exports={}},"428f":function(r,c,e){var n=e("da84");r.exports=n},"44ad":function(r,c,e){var n=e("d039"),a=e("c6b6"),i="".split;r.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return a(o)=="String"?i.call(o,""):Object(o)}:Object},"44d2":function(r,c,e){var n=e("b622"),a=e("7c73"),i=e("9112"),o=n("unscopables"),l=Array.prototype;l[o]==null&&i(l,o,a(null)),r.exports=function(d){l[o][d]=!0}},"466d":function(r,c,e){var n=e("d784"),a=e("825a"),i=e("50c4"),o=e("1d80"),l=e("8aa5"),d=e("14c3");n("match",1,function(u,y,h){return[function(g){var f=o(this),p=g==null?void 0:g[u];return p!==void 0?p.call(g,f):new RegExp(g)[u](String(f))},function(g){var f=h(y,g,this);if(f.done)return f.value;var p=a(g),_=String(this);if(!p.global)return d(p,_);var b=p.unicode;p.lastIndex=0;for(var w,$=[],T=0;(w=d(p,_))!==null;){var R=String(w[0]);$[T]=R,R===""&&(p.lastIndex=l(_,i(p.lastIndex),b)),T++}return T===0?null:$}]})},4930:function(r,c,e){var n=e("d039");r.exports=!!Object.getOwnPropertySymbols&&!n(function(){return!String(Symbol())})},"4d64":function(r,c,e){var n=e("fc6a"),a=e("50c4"),i=e("23cb"),o=function(l){return function(d,u,y){var h,g=n(d),f=a(g.length),p=i(y,f);if(l&&u!=u){for(;f>p;)if(h=g[p++],h!=h)return!0}else for(;f>p;p++)if((l||p in g)&&g[p]===u)return l||p||0;return!l&&-1}};r.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(r,c,e){var n=e("23e7"),a=e("b727").filter,i=e("d039"),o=e("1dde"),l=o("filter"),d=l&&!i(function(){[].filter.call({length:-1,0:1},function(u){throw u})});n({target:"Array",proto:!0,forced:!l||!d},{filter:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(r,c,e){var n=e("f8c2"),a=e("7b0b"),i=e("9bdd"),o=e("e95a"),l=e("50c4"),d=e("8418"),u=e("35a1");r.exports=function(y){var h,g,f,p,_,b=a(y),w=typeof this=="function"?this:Array,$=arguments.length,T=$>1?arguments[1]:void 0,R=T!==void 0,x=0,k=u(b);if(R&&(T=n(T,$>2?arguments[2]:void 0,2)),k==null||w==Array&&o(k))for(h=l(b.length),g=new w(h);h>x;x++)d(g,x,R?T(b[x],x):b[x]);else for(p=k.call(b),_=p.next,g=new w;!(f=_.call(p)).done;x++)d(g,x,R?i(p,T,[f.value,x],!0):f.value);return g.length=x,g}},"50c4":function(r,c,e){var n=e("a691"),a=Math.min;r.exports=function(i){return i>0?a(n(i),9007199254740991):0}},5135:function(r,c){var e={}.hasOwnProperty;r.exports=function(n,a){return e.call(n,a)}},5319:function(r,c,e){var n=e("d784"),a=e("825a"),i=e("7b0b"),o=e("50c4"),l=e("a691"),d=e("1d80"),u=e("8aa5"),y=e("14c3"),h=Math.max,g=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g,b=function(w){return w===void 0?w:String(w)};n("replace",2,function(w,$,T){return[function(x,k){var O=d(this),N=x==null?void 0:x[w];return N!==void 0?N.call(x,O,k):$.call(String(O),x,k)},function(x,k){var O=T($,x,this,k);if(O.done)return O.value;var N=a(x),E=String(this),V=typeof k=="function";V||(k=String(k));var H=N.global;if(H){var U=N.unicode;N.lastIndex=0}for(var I=[];;){var Y=y(N,E);if(Y===null||(I.push(Y),!H))break;var z=String(Y[0]);z===""&&(N.lastIndex=u(E,o(N.lastIndex),U))}for(var Q="",W=0,L=0;L<I.length;L++){Y=I[L];for(var q=String(Y[0]),ee=h(g(l(Y.index),E.length),0),ae=[],K=1;K<Y.length;K++)ae.push(b(Y[K]));var X=Y.groups;if(V){var ie=[q].concat(ae,ee,E);X!==void 0&&ie.push(X);var t=String(k.apply(void 0,ie))}else t=R(q,E,ee,ae,X,k);ee>=W&&(Q+=E.slice(W,ee)+t,W=ee+q.length)}return Q+E.slice(W)}];function R(x,k,O,N,E,V){var H=O+x.length,U=N.length,I=_;return E!==void 0&&(E=i(E),I=p),$.call(V,I,function(Y,z){var Q;switch(z.charAt(0)){case"$":return"$";case"&":return x;case"`":return k.slice(0,O);case"'":return k.slice(H);case"<":Q=E[z.slice(1,-1)];break;default:var W=+z;if(W===0)return Y;if(W>U){var L=f(W/10);return L===0?Y:L<=U?N[L-1]===void 0?z.charAt(1):N[L-1]+z.charAt(1):Y}Q=N[W-1]}return Q===void 0?"":Q})}})},"53ca":function(r,c,e){e.d(c,"a",function(){return a}),e("a4d3"),e("e01a"),e("d28b"),e("e260"),e("d3b7"),e("3ca3"),e("ddb0");function n(i){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},n(i)}function a(i){return a=typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"?function(o){return n(o)}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":n(o)},a(i)}},5692:function(r,c,e){var n=e("c430"),a=e("c6cd");(r.exports=function(i,o){return a[i]||(a[i]=o!==void 0?o:{})})("versions",[]).push({version:"3.5.0",mode:n?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,c,e){var n=e("d066"),a=e("241c"),i=e("7418"),o=e("825a");r.exports=n("Reflect","ownKeys")||function(l){var d=a.f(o(l)),u=i.f;return u?d.concat(u(l)):d}},5899:function(r,c){r.exports=`
|
2 |
-
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"58a8":function(r,c,e){var n=e("1d80"),a=e("5899"),i="["+a+"]",o=RegExp("^"+i+i+"*"),l=RegExp(i+i+"*$"),d=function(u){return function(y){var h=String(n(y));return 1&u&&(h=h.replace(o,"")),2&u&&(h=h.replace(l,"")),h}};r.exports={start:d(1),end:d(2),trim:d(3)}},"5c6c":function(r,c){r.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"60ae":function(r,c,e){var n,a,i=e("da84"),o=e("b39a"),l=i.process,d=l&&l.versions,u=d&&d.v8;u?(n=u.split("."),a=n[0]+n[1]):o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(a=n[1]))),r.exports=a&&+a},6547:function(r,c,e){var n=e("a691"),a=e("1d80"),i=function(o){return function(l,d){var u,y,h=String(a(l)),g=n(d),f=h.length;return g<0||g>=f?o?"":void 0:(u=h.charCodeAt(g),u<55296||u>56319||g+1===f||(y=h.charCodeAt(g+1))<56320||y>57343?o?h.charAt(g):u:o?h.slice(g,g+2):y-56320+(u-55296<<10)+65536)}};r.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(r,c,e){var n=e("861d"),a=e("e8b5"),i=e("b622"),o=i("species");r.exports=function(l,d){var u;return a(l)&&(u=l.constructor,typeof u!="function"||u!==Array&&!a(u.prototype)?n(u)&&(u=u[o],u===null&&(u=void 0)):u=void 0),new(u===void 0?Array:u)(d===0?0:d)}},"69f3":function(r,c,e){var n,a,i,o=e("7f9a"),l=e("da84"),d=e("861d"),u=e("9112"),y=e("5135"),h=e("f772"),g=e("d012"),f=l.WeakMap,p=function(x){return i(x)?a(x):n(x,{})},_=function(x){return function(k){var O;if(!d(k)||(O=a(k)).type!==x)throw TypeError("Incompatible receiver, "+x+" required");return O}};if(o){var b=new f,w=b.get,$=b.has,T=b.set;n=function(x,k){return T.call(b,x,k),k},a=function(x){return w.call(b,x)||{}},i=function(x){return $.call(b,x)}}else{var R=h("state");g[R]=!0,n=function(x,k){return u(x,R,k),k},a=function(x){return y(x,R)?x[R]:{}},i=function(x){return y(x,R)}}r.exports={set:n,get:a,has:i,enforce:p,getterFor:_}},"6eeb":function(r,c,e){var n=e("da84"),a=e("9112"),i=e("5135"),o=e("ce4e"),l=e("8925"),d=e("69f3"),u=d.get,y=d.enforce,h=String(String).split("String");(r.exports=function(g,f,p,_){var b=!!_&&!!_.unsafe,w=!!_&&!!_.enumerable,$=!!_&&!!_.noTargetGet;typeof p=="function"&&(typeof f!="string"||i(p,"name")||a(p,"name",f),y(p).source=h.join(typeof f=="string"?f:"")),g!==n?(b?!$&&g[f]&&(w=!0):delete g[f],w?g[f]=p:a(g,f,p)):w?g[f]=p:o(f,p)})(Function.prototype,"toString",function(){return typeof this=="function"&&u(this).source||l(this)})},7156:function(r,c,e){var n=e("861d"),a=e("d2bb");r.exports=function(i,o,l){var d,u;return a&&typeof(d=o.constructor)=="function"&&d!==l&&n(u=d.prototype)&&u!==l.prototype&&a(i,u),i}},7418:function(r,c){c.f=Object.getOwnPropertySymbols},"746f":function(r,c,e){var n=e("428f"),a=e("5135"),i=e("c032"),o=e("9bf2").f;r.exports=function(l){var d=n.Symbol||(n.Symbol={});a(d,l)||o(d,l,{value:i.f(l)})}},7839:function(r,c){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a50":function(r,c,e){e.r(c),e("a4d3"),e("4de4"),e("d81d"),e("fb6a"),e("e439"),e("dbb4"),e("b64b"),e("159b");var n=e("ade3"),a=(e("d3b7"),e("466d"),e("5319"),e("53ca")),i=function(){var f=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,p=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,_=/[^-+\dA-Z]/g;return function(b,w,$,T){if(arguments.length!==1||u(b)!=="string"||/\d/.test(b)||(w=b,b=void 0),b=b||new Date,b instanceof Date||(b=new Date(b)),isNaN(b))throw TypeError("Invalid date");w=String(i.masks[w]||w||i.masks.default);var R=w.slice(0,4);R!=="UTC:"&&R!=="GMT:"||(w=w.slice(4),$=!0,R==="GMT:"&&(T=!0));var x=$?"getUTC":"get",k=b[x+"Date"](),O=b[x+"Day"](),N=b[x+"Month"](),E=b[x+"FullYear"](),V=b[x+"Hours"](),H=b[x+"Minutes"](),U=b[x+"Seconds"](),I=b[x+"Milliseconds"](),Y=$?0:b.getTimezoneOffset(),z=l(b),Q=d(b),W={d:k,dd:o(k),ddd:i.i18n.dayNames[O],dddd:i.i18n.dayNames[O+7],m:N+1,mm:o(N+1),mmm:i.i18n.monthNames[N],mmmm:i.i18n.monthNames[N+12],yy:String(E).slice(2),yyyy:E,h:V%12||12,hh:o(V%12||12),H:V,HH:o(V),M:H,MM:o(H),s:U,ss:o(U),l:o(I,3),L:o(Math.round(I/10)),t:V<12?i.i18n.timeNames[0]:i.i18n.timeNames[1],tt:V<12?i.i18n.timeNames[2]:i.i18n.timeNames[3],T:V<12?i.i18n.timeNames[4]:i.i18n.timeNames[5],TT:V<12?i.i18n.timeNames[6]:i.i18n.timeNames[7],Z:T?"GMT":$?"UTC":(String(b).match(p)||[""]).pop().replace(_,""),o:(Y>0?"-":"+")+o(100*Math.floor(Math.abs(Y)/60)+Math.abs(Y)%60,4),S:["th","st","nd","rd"][k%10>3?0:(k%100-k%10!=10)*k%10],W:z,N:Q};return w.replace(f,function(L){return L in W?W[L]:L.slice(1,L.length-1)})}}();function o(f,p){for(f=String(f),p=p||2;f.length<p;)f="0"+f;return f}function l(f){var p=new Date(f.getFullYear(),f.getMonth(),f.getDate());p.setDate(p.getDate()-(p.getDay()+6)%7+3);var _=new Date(p.getFullYear(),0,4);_.setDate(_.getDate()-(_.getDay()+6)%7+3);var b=p.getTimezoneOffset()-_.getTimezoneOffset();p.setHours(p.getHours()-b);var w=(p-_)/6048e5;return 1+Math.floor(w)}function d(f){var p=f.getDay();return p===0&&(p=7),p}function u(f){return f===null?"null":f===void 0?"undefined":Object(a.a)(f)!=="object"?Object(a.a)(f):Array.isArray(f)?"array":{}.toString.call(f).slice(8,-1).toLowerCase()}function y(f,p){var _=Object.keys(f);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(f);p&&(b=b.filter(function(w){return Object.getOwnPropertyDescriptor(f,w).enumerable})),_.push.apply(_,b)}return _}function h(f){for(var p=1;p<arguments.length;p++){var _=arguments[p]!=null?arguments[p]:{};p%2?y(Object(_),!0).forEach(function(b){Object(n.a)(f,b,_[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(_)):y(Object(_)).forEach(function(b){Object.defineProperty(f,b,Object.getOwnPropertyDescriptor(_,b))})}return f}i.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},i.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var g={isSame:function(f,p,_){var b=new Date(f),w=new Date(p);return _==="date"&&(b.setHours(0,0,0,0),w.setHours(0,0,0,0)),b.getTime()===w.getTime()},daysInMonth:function(f,p){return new Date(f,p,0).getDate()},weekNumber:function(f){return l(f)},format:function(f,p){return i(f,p)},nextMonth:function(f){var p=new Date(f.getTime());return p.setDate(1),p.setMonth(p.getMonth()+1),p},prevMonth:function(f){var p=new Date(f.getTime());return p.setDate(1),p.setMonth(p.getMonth()-1),p},validateDateRange:function(f,p,_){var b=new Date(_),w=new Date(p);return _&&f.getTime()>b.getTime()?b:p&&f.getTime()<w.getTime()?w:f},localeData:function(f){var p={direction:"ltr",format:"mm/dd/yyyy",separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:i.i18n.dayNames.slice(0,7).map(function(_){return _.substring(0,2)}),monthNames:i.i18n.monthNames.slice(0,12),firstDay:0};return h({},p,{},f)},yearMonth:function(f){var p=f.getMonth()+1;return f.getFullYear()+(p<10?"0":"")+p},isValidDate:function(f){return f instanceof Date&&!isNaN(f)}};c.default=g},"7b0b":function(r,c,e){var n=e("1d80");r.exports=function(a){return Object(n(a))}},"7c73":function(r,c,e){var n=e("825a"),a=e("37e8"),i=e("7839"),o=e("d012"),l=e("1be4"),d=e("cc12"),u=e("f772"),y=u("IE_PROTO"),h="prototype",g=function(){},f=function(){var p,_=d("iframe"),b=i.length,w="<",$="script",T=">",R="java"+$+":";for(_.style.display="none",l.appendChild(_),_.src=String(R),p=_.contentWindow.document,p.open(),p.write(w+$+T+"document.F=Object"+w+"/"+$+T),p.close(),f=p.F;b--;)delete f[h][i[b]];return f()};r.exports=Object.create||function(p,_){var b;return p!==null?(g[h]=n(p),b=new g,g[h]=null,b[y]=p):b=f(),_===void 0?b:a(b,_)},o[y]=!0},"7db0":function(r,c,e){var n=e("23e7"),a=e("b727").find,i=e("44d2"),o="find",l=!0;o in[]&&Array(1)[o](function(){l=!1}),n({target:"Array",proto:!0,forced:l},{find:function(d){return a(this,d,arguments.length>1?arguments[1]:void 0)}}),i(o)},"7dd0":function(r,c,e){var n=e("23e7"),a=e("9ed3"),i=e("e163"),o=e("d2bb"),l=e("d44e"),d=e("9112"),u=e("6eeb"),y=e("b622"),h=e("c430"),g=e("3f8c"),f=e("ae93"),p=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,b=y("iterator"),w="keys",$="values",T="entries",R=function(){return this};r.exports=function(x,k,O,N,E,V,H){a(O,k,N);var U,I,Y,z=function(K){if(K===E&&ee)return ee;if(!_&&K in L)return L[K];switch(K){case w:return function(){return new O(this,K)};case $:return function(){return new O(this,K)};case T:return function(){return new O(this,K)}}return function(){return new O(this)}},Q=k+" Iterator",W=!1,L=x.prototype,q=L[b]||L["@@iterator"]||E&&L[E],ee=!_&&q||z(E),ae=k=="Array"&&L.entries||q;if(ae&&(U=i(ae.call(new x)),p!==Object.prototype&&U.next&&(h||i(U)===p||(o?o(U,p):typeof U[b]!="function"&&d(U,b,R)),l(U,Q,!0,!0),h&&(g[Q]=R))),E==$&&q&&q.name!==$&&(W=!0,ee=function(){return q.call(this)}),h&&!H||L[b]===ee||d(L,b,ee),g[k]=ee,E)if(I={values:z($),keys:V?ee:z(w),entries:z(T)},H)for(Y in I)!_&&!W&&Y in L||u(L,Y,I[Y]);else n({target:k,proto:!0,forced:_||W},I);return I}},"7f9a":function(r,c,e){var n=e("da84"),a=e("8925"),i=n.WeakMap;r.exports=typeof i=="function"&&/native code/.test(a(i))},"825a":function(r,c,e){var n=e("861d");r.exports=function(a){if(!n(a))throw TypeError(String(a)+" is not an object");return a}},"83ab":function(r,c,e){var n=e("d039");r.exports=!n(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},8418:function(r,c,e){var n=e("c04e"),a=e("9bf2"),i=e("5c6c");r.exports=function(o,l,d){var u=n(l);u in o?a.f(o,u,i(0,d)):o[u]=d}},"861d":function(r,c){r.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}},8925:function(r,c,e){var n=e("c6cd"),a=Function.toString;typeof n.inspectSource!="function"&&(n.inspectSource=function(i){return a.call(i)}),r.exports=n.inspectSource},"8aa5":function(r,c,e){var n=e("6547").charAt;r.exports=function(a,i,o){return i+(o?n(a,i).length:1)}},"8b2e":function(r,c,e){},"90e3":function(r,c){var e=0,n=Math.random();r.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++e+n).toString(36)}},9112:function(r,c,e){var n=e("83ab"),a=e("9bf2"),i=e("5c6c");r.exports=n?function(o,l,d){return a.f(o,l,i(1,d))}:function(o,l,d){return o[l]=d,o}},9263:function(r,c,e){var n=e("ad6d"),a=RegExp.prototype.exec,i=String.prototype.replace,o=a,l=function(){var y=/a/,h=/b*/g;return a.call(y,"a"),a.call(h,"a"),y.lastIndex!==0||h.lastIndex!==0}(),d=/()??/.exec("")[1]!==void 0,u=l||d;u&&(o=function(y){var h,g,f,p,_=this;return d&&(g=new RegExp("^"+_.source+"$(?!\\s)",n.call(_))),l&&(h=_.lastIndex),f=a.call(_,y),l&&f&&(_.lastIndex=_.global?f.index+f[0].length:h),d&&f&&f.length>1&&i.call(f[0],g,function(){for(p=1;p<arguments.length-2;p++)arguments[p]===void 0&&(f[p]=void 0)}),f}),r.exports=o},"94ca":function(r,c,e){var n=e("d039"),a=/#|\.prototype\./,i=function(y,h){var g=l[o(y)];return g==u||g!=d&&(typeof h=="function"?n(h):!!h)},o=i.normalize=function(y){return String(y).replace(a,".").toLowerCase()},l=i.data={},d=i.NATIVE="N",u=i.POLYFILL="P";r.exports=i},"9bdd":function(r,c,e){var n=e("825a");r.exports=function(a,i,o,l){try{return l?i(n(o)[0],o[1]):i(o)}catch(u){var d=a.return;throw d!==void 0&&n(d.call(a)),u}}},"9bf2":function(r,c,e){var n=e("83ab"),a=e("0cfb"),i=e("825a"),o=e("c04e"),l=Object.defineProperty;c.f=n?l:function(d,u,y){if(i(d),u=o(u,!0),i(y),a)try{return l(d,u,y)}catch{}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(d[u]=y.value),d}},"9d0d":function(r,c,e){var n=e("8b2e"),a=e.n(n);a.a},"9ed3":function(r,c,e){var n=e("ae93").IteratorPrototype,a=e("7c73"),i=e("5c6c"),o=e("d44e"),l=e("3f8c"),d=function(){return this};r.exports=function(u,y,h){var g=y+" Iterator";return u.prototype=a(n,{next:i(1,h)}),o(u,g,!1,!0),l[g]=d,u}},a4d3:function(r,c,e){var n=e("23e7"),a=e("da84"),i=e("d066"),o=e("c430"),l=e("83ab"),d=e("4930"),u=e("fdbf"),y=e("d039"),h=e("5135"),g=e("e8b5"),f=e("861d"),p=e("825a"),_=e("7b0b"),b=e("fc6a"),w=e("c04e"),$=e("5c6c"),T=e("7c73"),R=e("df75"),x=e("241c"),k=e("057f"),O=e("7418"),N=e("06cf"),E=e("9bf2"),V=e("d1e7"),H=e("9112"),U=e("6eeb"),I=e("5692"),Y=e("f772"),z=e("d012"),Q=e("90e3"),W=e("b622"),L=e("c032"),q=e("746f"),ee=e("d44e"),ae=e("69f3"),K=e("b727").forEach,X=Y("hidden"),ie="Symbol",t="prototype",m=W("toPrimitive"),v=ae.set,D=ae.getterFor(ie),S=Object[t],P=a.Symbol,B=i("JSON","stringify"),ne=N.f,G=E.f,J=k.f,oe=V.f,te=I("symbols"),Z=I("op-symbols"),se=I("string-to-symbol-registry"),fe=I("symbol-to-string-registry"),je=I("wks"),he=a.QObject,pe=!he||!he[t]||!he[t].findChild,ge=l&&y(function(){return T(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a!=7})?function(M,A,j){var F=ne(S,A);F&&delete S[A],G(M,A,j),F&&M!==S&&G(S,A,F)}:G,De=function(M,A){var j=te[M]=T(P[t]);return v(j,{type:ie,tag:M,description:A}),l||(j.description=A),j},me=d&&typeof P.iterator=="symbol"?function(M){return typeof M=="symbol"}:function(M){return Object(M)instanceof P},le=function(M,A,j){M===S&&le(Z,A,j),p(M);var F=w(A,!0);return p(j),h(te,F)?(j.enumerable?(h(M,X)&&M[X][F]&&(M[X][F]=!1),j=T(j,{enumerable:$(0,!1)})):(h(M,X)||G(M,X,$(1,{})),M[X][F]=!0),ge(M,F,j)):G(M,F,j)},we=function(M,A){p(M);var j=b(A),F=R(j).concat(ye(j));return K(F,function(re){l&&!ve.call(j,re)||le(M,re,j[re])}),M},Ne=function(M,A){return A===void 0?T(M):we(T(M),A)},ve=function(M){var A=w(M,!0),j=oe.call(this,A);return!(this===S&&h(te,A)&&!h(Z,A))&&(!(j||!h(this,A)||!h(te,A)||h(this,X)&&this[X][A])||j)},xe=function(M,A){var j=b(M),F=w(A,!0);if(j!==S||!h(te,F)||h(Z,F)){var re=ne(j,F);return!re||!h(te,F)||h(j,X)&&j[X][F]||(re.enumerable=!0),re}},Pe=function(M){var A=J(b(M)),j=[];return K(A,function(F){h(te,F)||h(z,F)||j.push(F)}),j},ye=function(M){var A=M===S,j=J(A?Z:b(M)),F=[];return K(j,function(re){!h(te,re)||A&&!h(S,re)||F.push(te[re])}),F};if(d||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var M=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,A=Q(M),j=function(F){this===S&&j.call(Z,F),h(this,X)&&h(this[X],A)&&(this[X][A]=!1),ge(this,A,$(1,F))};return l&&pe&&ge(S,A,{configurable:!0,set:j}),De(A,M)},U(P[t],"toString",function(){return D(this).tag}),V.f=ve,E.f=le,N.f=xe,x.f=k.f=Pe,O.f=ye,l&&(G(P[t],"description",{configurable:!0,get:function(){return D(this).description}}),o||U(S,"propertyIsEnumerable",ve,{unsafe:!0}))),u||(L.f=function(M){return De(W(M),M)}),n({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:P}),K(R(je),function(M){q(M)}),n({target:ie,stat:!0,forced:!d},{for:function(M){var A=String(M);if(h(se,A))return se[A];var j=P(A);return se[A]=j,fe[j]=A,j},keyFor:function(M){if(!me(M))throw TypeError(M+" is not a symbol");if(h(fe,M))return fe[M]},useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),n({target:"Object",stat:!0,forced:!d,sham:!l},{create:Ne,defineProperty:le,defineProperties:we,getOwnPropertyDescriptor:xe}),n({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Pe,getOwnPropertySymbols:ye}),n({target:"Object",stat:!0,forced:y(function(){O.f(1)})},{getOwnPropertySymbols:function(M){return O.f(_(M))}}),B){var Ee=!d||y(function(){var M=P();return B([M])!="[null]"||B({a:M})!="{}"||B(Object(M))!="{}"});n({target:"JSON",stat:!0,forced:Ee},{stringify:function(M,A,j){for(var F,re=[M],ke=1;arguments.length>ke;)re.push(arguments[ke++]);if(F=A,(f(A)||M!==void 0)&&!me(M))return g(A)||(A=function(Le,ce){if(typeof F=="function"&&(ce=F.call(this,Le,ce)),!me(ce))return ce}),re[1]=A,B.apply(null,re)}})}P[t][m]||H(P[t],m,P[t].valueOf),ee(P,ie),z[X]=!0},a630:function(r,c,e){var n=e("23e7"),a=e("4df4"),i=e("1c7e"),o=!i(function(l){Array.from(l)});n({target:"Array",stat:!0,forced:o},{from:a})},a691:function(r,c){var e=Math.ceil,n=Math.floor;r.exports=function(a){return isNaN(a=+a)?0:(a>0?n:e)(a)}},a6da:function(r,c,e){var n={"./native":"7a50","./native.js":"7a50"};function a(o){var l=i(o);return e(l)}function i(o){if(!e.o(n,o)){var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}return n[o]}a.keys=function(){return Object.keys(n)},a.resolve=i,r.exports=a,a.id="a6da"},a9e3:function(r,c,e){var n=e("83ab"),a=e("da84"),i=e("94ca"),o=e("6eeb"),l=e("5135"),d=e("c6b6"),u=e("7156"),y=e("c04e"),h=e("d039"),g=e("7c73"),f=e("241c").f,p=e("06cf").f,_=e("9bf2").f,b=e("58a8").trim,w="Number",$=a[w],T=$.prototype,R=d(g(T))==w,x=function(V){var H,U,I,Y,z,Q,W,L,q=y(V,!1);if(typeof q=="string"&&q.length>2){if(q=b(q),H=q.charCodeAt(0),H===43||H===45){if(U=q.charCodeAt(2),U===88||U===120)return NaN}else if(H===48){switch(q.charCodeAt(1)){case 66:case 98:I=2,Y=49;break;case 79:case 111:I=8,Y=55;break;default:return+q}for(z=q.slice(2),Q=z.length,W=0;W<Q;W++)if(L=z.charCodeAt(W),L<48||L>Y)return NaN;return parseInt(z,I)}}return+q};if(i(w,!$(" 0o1")||!$("0b1")||$("+0x1"))){for(var k,O=function(V){var H=arguments.length<1?0:V,U=this;return U instanceof O&&(R?h(function(){T.valueOf.call(U)}):d(U)!=w)?u(new $(x(H)),U,O):x(H)},N=n?f($):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;N.length>E;E++)l($,k=N[E])&&!l(O,k)&&_(O,k,p($,k));O.prototype=T,T.constructor=O,o(a,w,O)}},ad6d:function(r,c,e){var n=e("825a");r.exports=function(){var a=n(this),i="";return a.global&&(i+="g"),a.ignoreCase&&(i+="i"),a.multiline&&(i+="m"),a.dotAll&&(i+="s"),a.unicode&&(i+="u"),a.sticky&&(i+="y"),i}},ade3:function(r,c,e){function n(a,i,o){return i in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}e.d(c,"a",function(){return n})},ae93:function(r,c,e){var n,a,i,o=e("e163"),l=e("9112"),d=e("5135"),u=e("b622"),y=e("c430"),h=u("iterator"),g=!1,f=function(){return this};[].keys&&(i=[].keys(),"next"in i?(a=o(o(i)),a!==Object.prototype&&(n=a)):g=!0),n==null&&(n={}),y||d(n,h)||l(n,h,f),r.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},b041:function(r,c,e){var n=e("00ee"),a=e("f5df");r.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},b301:function(r,c,e){var n=e("d039");r.exports=function(a,i){var o=[][a];return!o||!n(function(){o.call(null,i||function(){throw 1},1)})}},b39a:function(r,c,e){var n=e("d066");r.exports=n("navigator","userAgent")||""},b622:function(r,c,e){var n=e("da84"),a=e("5692"),i=e("5135"),o=e("90e3"),l=e("4930"),d=e("fdbf"),u=a("wks"),y=n.Symbol,h=d?y:o;r.exports=function(g){return i(u,g)||(l&&i(y,g)?u[g]=y[g]:u[g]=h("Symbol."+g)),u[g]}},b64b:function(r,c,e){var n=e("23e7"),a=e("7b0b"),i=e("df75"),o=e("d039"),l=o(function(){i(1)});n({target:"Object",stat:!0,forced:l},{keys:function(d){return i(a(d))}})},b727:function(r,c,e){var n=e("f8c2"),a=e("44ad"),i=e("7b0b"),o=e("50c4"),l=e("65f0"),d=[].push,u=function(y){var h=y==1,g=y==2,f=y==3,p=y==4,_=y==6,b=y==5||_;return function(w,$,T,R){for(var x,k,O=i(w),N=a(O),E=n($,T,3),V=o(N.length),H=0,U=R||l,I=h?U(w,V):g?U(w,0):void 0;V>H;H++)if((b||H in N)&&(x=N[H],k=E(x,H,O),y)){if(h)I[H]=k;else if(k)switch(y){case 3:return!0;case 5:return x;case 6:return H;case 2:d.call(I,x)}else if(p)return!1}return _?-1:f||p?p:I}};r.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},beb7:function(r,c,e){},c032:function(r,c,e){var n=e("b622");c.f=n},c04e:function(r,c,e){var n=e("861d");r.exports=function(a,i){if(!n(a))return a;var o,l;if(i&&typeof(o=a.toString)=="function"&&!n(l=o.call(a))||typeof(o=a.valueOf)=="function"&&!n(l=o.call(a))||!i&&typeof(o=a.toString)=="function"&&!n(l=o.call(a)))return l;throw TypeError("Can't convert object to primitive value")}},c430:function(r,c){r.exports=!1},c6b6:function(r,c){var e={}.toString;r.exports=function(n){return e.call(n).slice(8,-1)}},c6cd:function(r,c,e){var n=e("da84"),a=e("ce4e"),i="__core-js_shared__",o=n[i]||a(i,{});r.exports=o},c8ba:function(r,c){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}r.exports=e},ca84:function(r,c,e){var n=e("5135"),a=e("fc6a"),i=e("4d64").indexOf,o=e("d012");r.exports=function(l,d){var u,y=a(l),h=0,g=[];for(u in y)!n(o,u)&&n(y,u)&&g.push(u);for(;d.length>h;)n(y,u=d[h++])&&(~i(g,u)||g.push(u));return g}},cc12:function(r,c,e){var n=e("da84"),a=e("861d"),i=n.document,o=a(i)&&a(i.createElement);r.exports=function(l){return o?i.createElement(l):{}}},ce4e:function(r,c,e){var n=e("da84"),a=e("9112");r.exports=function(i,o){try{a(n,i,o)}catch{n[i]=o}return o}},ce5f:function(r,c,e){var n=e("18e6"),a=e.n(n);a.a},d012:function(r,c){r.exports={}},d039:function(r,c){r.exports=function(e){try{return!!e()}catch{return!0}}},d066:function(r,c,e){var n=e("428f"),a=e("da84"),i=function(o){return typeof o=="function"?o:void 0};r.exports=function(o,l){return arguments.length<2?i(n[o])||i(a[o]):n[o]&&n[o][l]||a[o]&&a[o][l]}},d1e7:function(r,c,e){var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,i=a&&!n.call({1:2},1);c.f=i?function(o){var l=a(this,o);return!!l&&l.enumerable}:n},d28b:function(r,c,e){var n=e("746f");n("iterator")},d2bb:function(r,c,e){var n=e("825a"),a=e("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,l={};try{i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,i.call(l,[]),o=l instanceof Array}catch{}return function(d,u){return n(d),a(u),o?i.call(d,u):d.__proto__=u,d}}():void 0)},d3b7:function(r,c,e){var n=e("00ee"),a=e("6eeb"),i=e("b041");n||a(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(r,c,e){var n=e("9bf2").f,a=e("5135"),i=e("b622"),o=i("toStringTag");r.exports=function(l,d,u){l&&!a(l=u?l:l.prototype,o)&&n(l,o,{configurable:!0,value:d})}},d784:function(r,c,e){var n=e("9112"),a=e("6eeb"),i=e("d039"),o=e("b622"),l=e("9263"),d=o("species"),u=!i(function(){var h=/./;return h.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(h,"$<a>")!=="7"}),y=!i(function(){var h=/(?:)/,g=h.exec;h.exec=function(){return g.apply(this,arguments)};var f="ab".split(h);return f.length!==2||f[0]!=="a"||f[1]!=="b"});r.exports=function(h,g,f,p){var _=o(h),b=!i(function(){var k={};return k[_]=function(){return 7},""[h](k)!=7}),w=b&&!i(function(){var k=!1,O=/a/;return h==="split"&&(O={},O.constructor={},O.constructor[d]=function(){return O},O.flags="",O[_]=/./[_]),O.exec=function(){return k=!0,null},O[_](""),!k});if(!b||!w||h==="replace"&&!u||h==="split"&&!y){var $=/./[_],T=f(_,""[h],function(k,O,N,E,V){return O.exec===l?b&&!V?{done:!0,value:$.call(O,N,E)}:{done:!0,value:k.call(N,O,E)}:{done:!1}}),R=T[0],x=T[1];a(String.prototype,h,R),a(RegExp.prototype,_,g==2?function(k,O){return x.call(k,this,O)}:function(k){return x.call(k,this)}),p&&n(RegExp.prototype[_],"sham",!0)}}},d81d:function(r,c,e){var n=e("23e7"),a=e("b727").map,i=e("d039"),o=e("1dde"),l=o("map"),d=l&&!i(function(){[].map.call({length:-1,0:1},function(u){throw u})});n({target:"Array",proto:!0,forced:!l||!d},{map:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}})},da84:function(r,c,e){(function(n){var a=function(i){return i&&i.Math==Math&&i};r.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof n=="object"&&n)||Function("return this")()}).call(this,e("c8ba"))},dbb4:function(r,c,e){var n=e("23e7"),a=e("83ab"),i=e("56ef"),o=e("fc6a"),l=e("06cf"),d=e("8418");n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(u){for(var y,h,g=o(u),f=l.f,p=i(g),_={},b=0;p.length>b;)h=f(g,y=p[b++]),h!==void 0&&d(_,y,h);return _}})},ddb0:function(r,c,e){var n=e("da84"),a=e("fdbc"),i=e("e260"),o=e("9112"),l=e("b622"),d=l("iterator"),u=l("toStringTag"),y=i.values;for(var h in a){var g=n[h],f=g&&g.prototype;if(f){if(f[d]!==y)try{o(f,d,y)}catch{f[d]=y}if(f[u]||o(f,u,h),a[h]){for(var p in i)if(f[p]!==i[p])try{o(f,p,i[p])}catch{f[p]=i[p]}}}}},df75:function(r,c,e){var n=e("ca84"),a=e("7839");r.exports=Object.keys||function(i){return n(i,a)}},e01a:function(r,c,e){var n=e("23e7"),a=e("83ab"),i=e("da84"),o=e("5135"),l=e("861d"),d=e("9bf2").f,u=e("e893"),y=i.Symbol;if(a&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var h={},g=function(){var w=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),$=this instanceof g?new y(w):w===void 0?y():y(w);return w===""&&(h[$]=!0),$};u(g,y);var f=g.prototype=y.prototype;f.constructor=g;var p=f.toString,_=String(y("test"))=="Symbol(test)",b=/^Symbol\((.*)\)[^)]+$/;d(f,"description",{configurable:!0,get:function(){var w=l(this)?this.valueOf():this,$=p.call(w);if(o(h,w))return"";var T=_?$.slice(7,-1):$.replace(b,"$1");return T===""?void 0:T}}),n({global:!0,forced:!0},{Symbol:g})}},e163:function(r,c,e){var n=e("5135"),a=e("7b0b"),i=e("f772"),o=e("e177"),l=i("IE_PROTO"),d=Object.prototype;r.exports=o?Object.getPrototypeOf:function(u){return u=a(u),n(u,l)?u[l]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?d:null}},e177:function(r,c,e){var n=e("d039");r.exports=!n(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},e260:function(r,c,e){var n=e("fc6a"),a=e("44d2"),i=e("3f8c"),o=e("69f3"),l=e("7dd0"),d="Array Iterator",u=o.set,y=o.getterFor(d);r.exports=l(Array,"Array",function(h,g){u(this,{type:d,target:n(h),index:0,kind:g})},function(){var h=y(this),g=h.target,f=h.kind,p=h.index++;return!g||p>=g.length?(h.target=void 0,{value:void 0,done:!0}):f=="keys"?{value:p,done:!1}:f=="values"?{value:g[p],done:!1}:{value:[p,g[p]],done:!1}},"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},e439:function(r,c,e){var n=e("23e7"),a=e("d039"),i=e("fc6a"),o=e("06cf").f,l=e("83ab"),d=a(function(){o(1)}),u=!l||d;n({target:"Object",stat:!0,forced:u,sham:!l},{getOwnPropertyDescriptor:function(y,h){return o(i(y),h)}})},e893:function(r,c,e){var n=e("5135"),a=e("56ef"),i=e("06cf"),o=e("9bf2");r.exports=function(l,d){for(var u=a(d),y=o.f,h=i.f,g=0;g<u.length;g++){var f=u[g];n(l,f)||y(l,f,h(d,f))}}},e8b5:function(r,c,e){var n=e("c6b6");r.exports=Array.isArray||function(a){return n(a)=="Array"}},e95a:function(r,c,e){var n=e("b622"),a=e("3f8c"),i=n("iterator"),o=Array.prototype;r.exports=function(l){return l!==void 0&&(a.Array===l||o[i]===l)}},f5df:function(r,c,e){var n=e("00ee"),a=e("c6b6"),i=e("b622"),o=i("toStringTag"),l=a(function(){return arguments}())=="Arguments",d=function(u,y){try{return u[y]}catch{}};r.exports=n?a:function(u){var y,h,g;return u===void 0?"Undefined":u===null?"Null":typeof(h=d(y=Object(u),o))=="string"?h:l?a(y):(g=a(y))=="Object"&&typeof y.callee=="function"?"Arguments":g}},f6fd:function(r,c){(function(e){var n="currentScript",a=e.getElementsByTagName("script");n in e||Object.defineProperty(e,n,{get:function(){try{throw new Error}catch(l){var i,o=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(l.stack)||[!1])[1];for(i in a)if(a[i].src==o||a[i].readyState=="interactive")return a[i];return null}}})})(document)},f772:function(r,c,e){var n=e("5692"),a=e("90e3"),i=n("keys");r.exports=function(o){return i[o]||(i[o]=a(o))}},f8c2:function(r,c,e){var n=e("1c0b");r.exports=function(a,i,o){if(n(a),i===void 0)return a;switch(o){case 0:return function(){return a.call(i)};case 1:return function(l){return a.call(i,l)};case 2:return function(l,d){return a.call(i,l,d)};case 3:return function(l,d,u){return a.call(i,l,d,u)}}return function(){return a.apply(i,arguments)}}},fb15:function(r,c,e){var n;e.r(c),typeof window<"u"&&(e("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(e.p=n[1]));var a=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("div",{staticClass:"vue-daterange-picker",class:{inline:t.opens==="inline"}},[v("div",{ref:"toggle",class:t.controlContainerClass,on:{click:t.onClickPicker}},[t._t("input",[v("i",{staticClass:"glyphicon glyphicon-calendar fa fa-calendar"}),t._v(" "),v("span",[t._v(t._s(t.rangeText))]),v("b",{staticClass:"caret"})],{startDate:t.start,endDate:t.end,ranges:t.ranges,rangeText:t.rangeText})],2),v("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[t.open||t.opens==="inline"?v("div",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],ref:"dropdown",staticClass:"daterangepicker ltr",class:t.pickerStyles},[t._t("header",null,{rangeText:t.rangeText,locale:t.locale,clickCancel:t.clickCancel,clickApply:t.clickedApply,in_selection:t.in_selection,autoApply:t.autoApply}),v("div",{staticClass:"calendars"},[t.showRanges?t._t("ranges",[v("calendar-ranges",{attrs:{"always-show-calendars":t.alwaysShowCalendars,"locale-data":t.locale,ranges:t.ranges,selected:{startDate:t.start,endDate:t.end}},on:{"click-range":t.clickRange,"show-custom-range":function(D){t.showCustomRangeCalendars=!0}}})],{startDate:t.start,endDate:t.end,ranges:t.ranges,clickRange:t.clickRange}):t._e(),t.showCalendars?v("div",{staticClass:"calendars-container"},[v("div",{staticClass:"drp-calendar col left",class:{single:t.singleDatePicker}},[t._e(),v("div",{staticClass:"calendar-table"},[v("calendar",{attrs:{monthDate:t.monthDate,"locale-data":t.locale,start:t.start,end:t.end,minDate:t.min,maxDate:t.max,"show-dropdowns":t.showDropdowns,"date-format":t.dateFormatFn,showWeekNumbers:t.showWeekNumbers},on:{"change-month":t.changeLeftMonth,"date-click":t.dateClick,"hover-date":t.hoverDate},scopedSlots:t._u([{key:"date-slot",fn:function(D){return t._t("date",null,null,D)}}],null,!0)})],1),t.timePicker&&t.start?v("calendar-time",{attrs:{"miniute-increment":t.timePickerIncrement,hour24:t.timePicker24Hour,"second-picker":t.timePickerSeconds,"current-time":t.start,readonly:t.readonly},on:{update:t.onUpdateStartTime}}):t._e()],1),t.singleDatePicker?t._e():v("div",{staticClass:"drp-calendar col right"},[t._e(),v("div",{staticClass:"calendar-table"},[v("calendar",{attrs:{monthDate:t.nextMonthDate,"locale-data":t.locale,start:t.start,end:t.end,minDate:t.min,maxDate:t.max,"show-dropdowns":t.showDropdowns,"date-format":t.dateFormatFn,showWeekNumbers:t.showWeekNumbers},on:{"change-month":t.changeRightMonth,"date-click":t.dateClick,"hover-date":t.hoverDate},scopedSlots:t._u([{key:"date-slot",fn:function(D){return t._t("date",null,null,D)}}],null,!0)})],1),t.timePicker&&t.end?v("calendar-time",{attrs:{"miniute-increment":t.timePickerIncrement,hour24:t.timePicker24Hour,"second-picker":t.timePickerSeconds,"current-time":t.end,readonly:t.readonly},on:{update:t.onUpdateEndTime}}):t._e()],1)]):t._e()],2),t._t("footer",[t.autoApply?t._e():v("div",{staticClass:"drp-buttons"},[t.showCalendars?v("span",{staticClass:"drp-selected"},[t._v(t._s(t.rangeText))]):t._e(),t.readonly?t._e():v("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:t.clickCancel}},[t._v(t._s(t.locale.cancelLabel)+" ")]),t.readonly?t._e():v("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{disabled:t.in_selection,type:"button"},on:{click:t.clickedApply}},[t._v(t._s(t.locale.applyLabel)+" ")])])],{rangeText:t.rangeText,locale:t.locale,clickCancel:t.clickCancel,clickApply:t.clickedApply,in_selection:t.in_selection,autoApply:t.autoApply})],2):t._e()])],1)},i=[],o=(e("a4d3"),e("4de4"),e("7db0"),e("a9e3"),e("e439"),e("dbb4"),e("b64b"),e("159b"),e("53ca"));function l(t){if(Array.isArray(t)){for(var m=0,v=new Array(t.length);m<t.length;m++)v[m]=t[m];return v}}e("e01a"),e("d28b"),e("a630"),e("e260"),e("d3b7"),e("25f0"),e("3ca3"),e("ddb0");function d(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function y(t){return l(t)||d(t)||u()}var h=e("ade3"),g=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"native";return t instanceof Object?t:typeof t=="string"||t instanceof String?e("a6da")("./"+t).default:void 0},f={props:{dateUtil:{type:[Object,String],default:"native"}},beforeCreate:function(){this.$dateUtil=g("native")}},p=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("table",{staticClass:"table-condensed"},[v("thead",[v("tr",[v("th",{staticClass:"prev available",attrs:{tabindex:"0"},on:{click:t.prevMonthClick}},[v("span")]),t.showDropdowns?v("th",{staticClass:"month",attrs:{colspan:t.showWeekNumbers?6:5}},[v("div",{staticClass:"row mx-1"},[v("select",{directives:[{name:"model",rawName:"v-model",value:t.month,expression:"month"}],staticClass:"monthselect col",on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.month=D.target.multiple?S:S[0]}}},t._l(t.months,function(D,S){return v("option",{key:S,attrs:{disabled:!D.enabled},domProps:{value:D.value+1}},[t._v(t._s(D.label))])}),0),v("input",{directives:[{name:"model",rawName:"v-model",value:t.year,expression:"year"}],ref:"yearSelect",staticClass:"yearselect col",attrs:{type:"number"},domProps:{value:t.year},on:{blur:t.checkYear,input:function(D){D.target.composing||(t.year=D.target.value)}}})])]):v("th",{staticClass:"month",attrs:{colspan:t.showWeekNumbers?6:5}},[t._v(t._s(t.monthName)+" "+t._s(t.year))]),v("th",{staticClass:"next available",attrs:{tabindex:"0"},on:{click:t.nextMonthClick}},[v("span")])])]),v("tbody",[v("tr",[t.showWeekNumbers?v("th",{staticClass:"week"},[t._v(t._s(t.locale.weekLabel))]):t._e(),t._l(t.locale.daysOfWeek,function(D,S){return v("th",{key:S},[t._v(t._s(D))])})],2),t._l(t.calendar,function(D,S){return v("tr",{key:S},[t.showWeekNumbers&&(S%7||S===0)?v("td",{staticClass:"week"},[t._v(" "+t._s(t.$dateUtil.weekNumber(D[0]))+" ")]):t._e(),t._l(D,function(P,B){return v("td",{key:B,class:t.dayClass(P),attrs:{"data-date":P.toISOString().substring(0,10)},on:{click:function(ne){return t.$emit("date-click",P)},mouseover:function(ne){return t.$emit("hover-date",P)}}},[t._t("date-slot",[t._v(" "+t._s(P.getDate())+" ")],{date:P})],2)})],2)})],2)])},_=[],b=(e("d81d"),{mixins:[f],name:"calendar",props:{monthDate:Date,localeData:Object,start:Date,end:Date,minDate:Date,maxDate:Date,showDropdowns:{type:Boolean,default:!1},showWeekNumbers:{type:Boolean,default:!1},dateFormat:{type:Function,default:null}},data:function(){var t=this.monthDate||this.start||new Date;return{currentMonthDate:t,year_text:t.getFullYear()}},methods:{prevMonthClick:function(){this.changeMonthDate(this.$dateUtil.prevMonth(this.currentMonthDate))},nextMonthClick:function(){this.changeMonthDate(this.$dateUtil.nextMonth(this.currentMonthDate))},changeMonthDate:function(t){var m=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],v=this.$dateUtil.yearMonth(this.currentMonthDate);this.currentMonthDate=this.$dateUtil.validateDateRange(t,this.minDate,this.maxDate),m&&v!==this.$dateUtil.yearMonth(this.currentMonthDate)&&this.$emit("change-month",{month:this.currentMonthDate.getMonth()+1,year:this.currentMonthDate.getFullYear()}),this.checkYear()},dayClass:function(t){var m=new Date(t);m.setHours(0,0,0,0);var v=new Date(this.start);v.setHours(0,0,0,0);var D=new Date(this.end);D.setHours(0,0,0,0);var S=new Date(m);S.setHours(23,59,59,999);var P={off:t.getMonth()+1!==this.month,weekend:t.getDay()===6||t.getDay()===0,today:m.setHours(0,0,0,0)==new Date().setHours(0,0,0,0),active:m.setHours(0,0,0,0)==new Date(this.start).setHours(0,0,0,0)||m.setHours(0,0,0,0)==new Date(this.end).setHours(0,0,0,0),"in-range":m>=v&&m<=D,"start-date":m.getTime()===v.getTime(),"end-date":m.getTime()===D.getTime(),disabled:this.minDate&&S.getTime()<this.minDate.getTime()||this.maxDate&&m.getTime()>this.maxDate.getTime()};return this.dateFormat?this.dateFormat(P,t):P},checkYear:function(){var t=this;this.$refs.yearSelect!==document.activeElement&&this.$nextTick(function(){t.year_text=t.monthDate.getFullYear()})}},computed:{monthName:function(){return this.locale.monthNames[this.currentMonthDate.getMonth()]},year:{get:function(){return this.year_text},set:function(t){this.year_text=t;var m=this.$dateUtil.validateDateRange(new Date(t,this.month,1),this.minDate,this.maxDate);this.$dateUtil.isValidDate(m)&&this.$emit("change-month",{month:m.getMonth(),year:m.getFullYear()})}},month:{get:function(){return this.currentMonthDate.getMonth()+1},set:function(t){var m=this.$dateUtil.validateDateRange(new Date(this.year,t-1,1),this.minDate,this.maxDate);this.$emit("change-month",{month:m.getMonth()+1,year:m.getFullYear()})}},calendar:function(){for(var t=this.month,m=this.currentMonthDate.getFullYear(),v=new Date(m,t-1,1),D=this.$dateUtil.prevMonth(v).getMonth()+1,S=this.$dateUtil.prevMonth(v).getFullYear(),P=new Date(S,t-1,0).getDate(),B=v.getDay(),ne=[],G=0;G<6;G++)ne[G]=[];var J=P-B+this.locale.firstDay+1;J>P&&(J-=7),B===this.locale.firstDay&&(J=P-6);for(var oe=new Date(S,D-1,J,12,0,0),te=0,Z=0,se=0;te<42;te++,Z++,oe.setDate(oe.getDate()+1))te>0&&Z%7===0&&(Z=0,se++),ne[se][Z]=new Date(oe.getTime());return ne},months:function(){var t=this;return this.locale.monthNames.map(function(m,v){return{label:m,value:v,enabled:(!t.maxDate||t.maxDate>=new Date(t.year,v,1))&&(!t.minDate||t.minDate<=new Date(t.year,v+1,0))}})},locale:function(){return this.$dateUtil.localeData(this.localeData)}},watch:{monthDate:function(t){this.currentMonthDate.getTime()!==t.getTime()&&this.changeMonthDate(t,!1)}}}),w=b;e("9d0d");function $(t,m,v,D,S,P,B,ne){var G,J=typeof t=="function"?t.options:t;if(m&&(J.render=m,J.staticRenderFns=v,J._compiled=!0),D&&(J.functional=!0),P&&(J._scopeId="data-v-"+P),B?(G=function(Z){Z=Z||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,Z||typeof __VUE_SSR_CONTEXT__>"u"||(Z=__VUE_SSR_CONTEXT__),S&&S.call(this,Z),Z&&Z._registeredComponents&&Z._registeredComponents.add(B)},J._ssrRegister=G):S&&(G=ne?function(){S.call(this,this.$root.$options.shadowRoot)}:S),G)if(J.functional){J._injectStyles=G;var oe=J.render;J.render=function(Z,se){return G.call(se),oe(Z,se)}}else{var te=J.beforeCreate;J.beforeCreate=te?[].concat(te,G):[G]}return{exports:t,options:J}}var T=$(w,p,_,!1,null,"98ac2448",null),R=T.exports,x=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("div",{staticClass:"calendar-time"},[v("select",{directives:[{name:"model",rawName:"v-model",value:t.hour,expression:"hour"}],staticClass:"hourselect form-control mr-1",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.hour=D.target.multiple?S:S[0]}}},t._l(t.hours,function(D){return v("option",{key:D,domProps:{value:D}},[t._v(t._s(t._f("formatNumber")(D)))])}),0),t._v(" :"),v("select",{directives:[{name:"model",rawName:"v-model",value:t.minute,expression:"minute"}],staticClass:"minuteselect form-control ml-1",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.minute=D.target.multiple?S:S[0]}}},t._l(t.minutes,function(D){return v("option",{key:D,domProps:{value:D}},[t._v(t._s(t._f("formatNumber")(D)))])}),0),t.secondPicker?[t._v(" :"),v("select",{directives:[{name:"model",rawName:"v-model",value:t.second,expression:"second"}],staticClass:"secondselect form-control ml-1",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.second=D.target.multiple?S:S[0]}}},t._l(60,function(D){return v("option",{key:D-1,domProps:{value:D-1}},[t._v(t._s(t._f("formatNumber")(D-1)))])}),0)]:t._e(),t.hour24?t._e():v("select",{directives:[{name:"model",rawName:"v-model",value:t.ampm,expression:"ampm"}],staticClass:"ampmselect",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.ampm=D.target.multiple?S:S[0]}}},[v("option",{attrs:{value:"AM"}},[t._v("AM")]),v("option",{attrs:{value:"PM"}},[t._v("PM")])])],2)},k=[],O={filters:{formatNumber:function(t){return t<10?"0"+t.toString():t.toString()}},props:{miniuteIncrement:{type:Number,default:5},hour24:{type:Boolean,default:!0},secondPicker:{type:Boolean,default:!1},currentTime:{default:function(){return new Date}},readonly:{type:Boolean,default:!1}},data:function(){var t=this.currentTime?this.currentTime:new Date,m=t.getHours();return{hour:this.hour24?m:m%12||12,minute:t.getMinutes()-t.getMinutes()%this.miniuteIncrement,second:t.getSeconds(),ampm:m<12?"AM":"PM"}},computed:{hours:function(){for(var t=[],m=this.hour24?24:12,v=0;v<m;v++)t.push(this.hour24?v:v+1);return t},minutes:function(){for(var t=[],m=60,v=0;v<m;v+=this.miniuteIncrement)t.push(v);return t}},watch:{hour:function(){this.onChange()},minute:function(){this.onChange()},second:function(){this.onChange()},ampm:function(){this.onChange()}},methods:{getHour:function(){return this.hour24?this.hour:this.hour===12?this.ampm==="AM"?0:12:this.hour+(this.ampm==="PM"?12:0)},onChange:function(){this.$emit("update",{hours:this.getHour(),minutes:this.minute,seconds:this.second})}}},N=O,E=$(N,x,k,!1,null,null,null),V=E.exports,H=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("div",{staticClass:"ranges"},[t.ranges?v("ul",[t._l(t.listedRanges,function(D){return v("li",{key:D.label,class:t.range_class(D),attrs:{"data-range-key":D.label,tabindex:"0"},on:{click:function(S){return t.clickRange(D.value)}}},[t._v(t._s(D.label)+" ")])}),t.showCustomRangeLabel?v("li",{class:{active:t.customRangeActive||!t.selectedRange},attrs:{tabindex:"0"},on:{click:t.clickCustomRange}},[t._v(" "+t._s(t.localeData.customRangeLabel)+" ")]):t._e()],2):t._e()])},U=[],I={mixins:[f],props:{ranges:Object,selected:Object,localeData:Object,alwaysShowCalendars:Boolean},data:function(){return{customRangeActive:!1}},methods:{clickRange:function(t){this.customRangeActive=!1,this.$emit("click-range",t)},clickCustomRange:function(){this.customRangeActive=!0,this.$emit("show-custom-range")},range_class:function(t){return{active:t.selected===!0}}},computed:{listedRanges:function(){var t=this;return!!this.ranges&&Object.keys(this.ranges).map(function(m){return{label:m,value:t.ranges[m],selected:t.$dateUtil.isSame(t.selected.startDate,t.ranges[m][0])&&t.$dateUtil.isSame(t.selected.endDate,t.ranges[m][1])}})},selectedRange:function(){return this.listedRanges.find(function(t){return t.selected===!0})},showCustomRangeLabel:function(){return!this.alwaysShowCalendars}}},Y=I,z=$(Y,H,U,!1,null,null,null),Q=z.exports,W={inserted:function(t,m,v){var D=v.context;if(D.appendToBody){var S=D.$refs.toggle.getBoundingClientRect(),P=S.height,B=S.top,ne=S.left,G=S.width,J=S.right;t.unbindPosition=D.calculatePosition(t,D,{width:G,top:window.scrollY+B+P,left:window.scrollX+ne,right:J}),document.body.appendChild(t)}else D.$el.appendChild(t)},unbind:function(t,m,v){var D=v.context;D.appendToBody&&(t.unbindPosition&&typeof t.unbindPosition=="function"&&t.unbindPosition(),t.parentNode&&t.parentNode.removeChild(t))}};function L(t,m){var v=Object.keys(t);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(t);m&&(D=D.filter(function(S){return Object.getOwnPropertyDescriptor(t,S).enumerable})),v.push.apply(v,D)}return v}function q(t){for(var m=1;m<arguments.length;m++){var v=arguments[m]!=null?arguments[m]:{};m%2?L(Object(v),!0).forEach(function(D){Object(h.a)(t,D,v[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(v)):L(Object(v)).forEach(function(D){Object.defineProperty(t,D,Object.getOwnPropertyDescriptor(v,D))})}return t}var ee={inheritAttrs:!1,components:{Calendar:R,CalendarTime:V,CalendarRanges:Q},mixins:[f],directives:{appendToBody:W},model:{prop:"dateRange",event:"update"},props:{minDate:{type:[String,Date],default:function(){return null}},maxDate:{type:[String,Date],default:function(){return null}},showWeekNumbers:{type:Boolean,default:!1},linkedCalendars:{type:Boolean,default:!0},singleDatePicker:{type:[Boolean,String],default:!1},showDropdowns:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},timePickerIncrement:{type:Number,default:5},timePicker24Hour:{type:Boolean,default:!0},timePickerSeconds:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},localeData:{type:Object,default:function(){return{}}},dateRange:{type:[Object],default:null,required:!0},ranges:{type:[Object,Boolean],default:function(){var t=new Date;t.setHours(0,0,0,0);var m=new Date;m.setHours(11,59,59,999);var v=new Date;v.setDate(t.getDate()-1),v.setHours(0,0,0,0);var D=new Date;D.setDate(t.getDate()-1),D.setHours(11,59,59,999);var S=new Date(t.getFullYear(),t.getMonth(),1),P=new Date(t.getFullYear(),t.getMonth()+1,0,11,59,59,999);return{Today:[t,m],Yesterday:[v,D],"This month":[S,P],"This year":[new Date(t.getFullYear(),0,1),new Date(t.getFullYear(),11,31,11,59,59,999)],"Last month":[new Date(t.getFullYear(),t.getMonth()-1,1),new Date(t.getFullYear(),t.getMonth(),0,11,59,59,999)]}}},opens:{type:String,default:"center"},dateFormat:Function,alwaysShowCalendars:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},controlContainerClass:{type:[Object,String],default:"form-control reportrange-text"},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(t,m,v){var D=v.width,S=v.top,P=v.left,B=v.right;m.opens==="center"?t.style.left=P+D/2+"px":m.opens==="left"?t.style.right=window.innerWidth-B+"px":m.opens==="right"&&(t.style.left=P+"px"),t.style.top=S+"px"}},closeOnEsc:{type:Boolean,default:!0},readonly:{type:Boolean}},data:function(){var t=g(),m={locale:t.localeData(q({},this.localeData))},v=this.dateRange.startDate||null,D=this.dateRange.endDate||null;if(m.monthDate=v?new Date(v):new Date,m.nextMonthDate=t.nextMonth(m.monthDate),m.start=v?new Date(v):null,this.singleDatePicker&&this.singleDatePicker!=="range"?m.end=m.start:m.end=D?new Date(D):null,m.in_selection=!1,m.open=!1,m.showCustomRangeCalendars=!1,m.locale.firstDay!==0){for(var S=m.locale.firstDay,P=y(m.locale.daysOfWeek);S>0;)P.push(P.shift()),S--;m.locale.daysOfWeek=P}return m},methods:{selectMonthDate:function(){var t=this.end||new Date;this.singleDatePicker!==!1?this.changeLeftMonth({year:t.getFullYear(),month:t.getMonth()+1}):this.changeRightMonth({year:t.getFullYear(),month:t.getMonth()+1})},dateFormatFn:function(t,m){var v=new Date(m);v.setHours(0,0,0,0);var D=new Date(this.start);D.setHours(0,0,0,0);var S=new Date(this.end);return S.setHours(0,0,0,0),t["in-range"]=v>=D&&v<=S,this.dateFormat?this.dateFormat(t,m):t},changeLeftMonth:function(t){var m=new Date(t.year,t.month-1,1);this.monthDate=m,(this.linkedCalendars||this.$dateUtil.yearMonth(this.monthDate)>=this.$dateUtil.yearMonth(this.nextMonthDate))&&(this.nextMonthDate=this.$dateUtil.validateDateRange(this.$dateUtil.nextMonth(m),this.minDate,this.maxDate),this.singleDatePicker||this.$dateUtil.yearMonth(this.monthDate)!==this.$dateUtil.yearMonth(this.nextMonthDate)||(this.monthDate=this.$dateUtil.validateDateRange(this.$dateUtil.prevMonth(this.monthDate),this.minDate,this.maxDate))),this.$emit("change-month",this.monthDate,0)},changeRightMonth:function(t){var m=new Date(t.year,t.month-1,1);this.nextMonthDate=m,(this.linkedCalendars||this.$dateUtil.yearMonth(this.nextMonthDate)<=this.$dateUtil.yearMonth(this.monthDate))&&(this.monthDate=this.$dateUtil.validateDateRange(this.$dateUtil.prevMonth(m),this.minDate,this.maxDate),this.$dateUtil.yearMonth(this.monthDate)===this.$dateUtil.yearMonth(this.nextMonthDate)&&(this.nextMonthDate=this.$dateUtil.validateDateRange(this.$dateUtil.nextMonth(this.nextMonthDate),this.minDate,this.maxDate))),this.$dateUtil.yearMonth(this.monthDate)===this.$dateUtil.yearMonth(this.nextMonthDate)&&(this.nextMonthDate=this.$dateUtil.nextMonth(this.nextMonthDate)),this.$emit("change-month",this.nextMonthDate,1)},normalizeDatetime:function(t,m){var v=new Date(t);return this.timePicker&&m&&(v.setHours(m.getHours()),v.setMinutes(m.getMinutes()),v.setSeconds(m.getSeconds()),v.setMilliseconds(m.getMilliseconds())),v},dateClick:function(t){if(this.readonly)return!1;this.in_selection?(this.in_selection=!1,this.$emit("finish-selection",t),this.onSelect(),this.autoApply&&this.clickedApply()):(this.start=this.normalizeDatetime(t,this.start),this.end=this.normalizeDatetime(t,this.end),this.singleDatePicker&&this.singleDatePicker!=="range"?(this.onSelect(),this.autoApply&&this.clickedApply()):(this.in_selection=this.end,this.$emit("start-selection",this.start)))},hoverDate:function(t){if(this.readonly)return!1;var m=this.normalizeDatetime(t,this.end),v=this.normalizeDatetime(t,this.start);this.in_selection&&(this.in_selection<=m&&(this.end=m),this.in_selection>=v&&(this.start=v)),this.$emit("hover-date",t)},onClickPicker:function(){this.disabled||this.togglePicker(null,!0)},togglePicker:function(t,m){this.open=typeof t=="boolean"?t:!this.open,m===!0&&this.$emit("toggle",this.open,this.togglePicker)},clickedApply:function(){this.togglePicker(!1,!0),this.$emit("update",{startDate:this.start,endDate:this.singleDatePicker&&this.singleDatePicker!=="range"?this.start:this.end})},clickCancel:function(){if(this.open){var t=this.dateRange.startDate,m=this.dateRange.endDate;this.start=t?new Date(t):null,this.end=m?new Date(m):null,this.in_selection=!1,this.togglePicker(!1,!0)}},onSelect:function(){this.$emit("select",{startDate:this.start,endDate:this.end})},clickAway:function(t){t&&t.target&&!this.$el.contains(t.target)&&this.$refs.dropdown&&!this.$refs.dropdown.contains(t.target)&&this.clickCancel()},clickRange:function(t){this.in_selection=!1,this.$dateUtil.isValidDate(t[0])&&this.$dateUtil.isValidDate(t[1])?(this.start=this.$dateUtil.validateDateRange(new Date(t[0]),this.minDate,this.maxDate),this.end=this.$dateUtil.validateDateRange(new Date(t[1]),this.minDate,this.maxDate),this.changeLeftMonth({month:this.start.getMonth()+1,year:this.start.getFullYear()}),this.linkedCalendars===!1&&this.changeRightMonth({month:this.end.getMonth()+1,year:this.end.getFullYear()})):(this.start=null,this.end=null),this.onSelect(),this.autoApply&&this.clickedApply()},onUpdateStartTime:function(t){var m=new Date(this.start);m.setHours(t.hours),m.setMinutes(t.minutes),m.setSeconds(t.seconds),this.start=this.$dateUtil.validateDateRange(m,this.minDate,this.maxDate),this.autoApply&&this.$emit("update",{startDate:this.start,endDate:this.singleDatePicker&&this.singleDatePicker!=="range"?this.start:this.end})},onUpdateEndTime:function(t){var m=new Date(this.end);m.setHours(t.hours),m.setMinutes(t.minutes),m.setSeconds(t.seconds),this.end=this.$dateUtil.validateDateRange(m,this.minDate,this.maxDate),this.autoApply&&this.$emit("update",{startDate:this.start,endDate:this.end})},handleEscape:function(t){this.open&&t.keyCode===27&&this.closeOnEsc&&this.clickCancel()}},computed:{showRanges:function(){return this.ranges!==!1&&!this.readonly},showCalendars:function(){return this.alwaysShowCalendars||this.showCustomRangeCalendars},startText:function(){return this.start===null?"":this.$dateUtil.format(this.start,this.locale.format)},endText:function(){return this.end===null?"":this.$dateUtil.format(this.end,this.locale.format)},rangeText:function(){var t=this.startText;return this.singleDatePicker&&this.singleDatePicker!=="range"||(t+=this.locale.separator+this.endText),t},min:function(){return this.minDate?new Date(this.minDate):null},max:function(){return this.maxDate?new Date(this.maxDate):null},pickerStyles:function(){var t;return t={"show-calendar":this.open||this.opens==="inline","show-ranges":this.showRanges,"show-weeknumbers":this.showWeekNumbers,single:this.singleDatePicker},Object(h.a)(t,"opens"+this.opens,!0),Object(h.a)(t,"linked",this.linkedCalendars),Object(h.a)(t,"hide-calendars",!this.showCalendars),t},isClear:function(){return!this.dateRange.startDate||!this.dateRange.endDate},isDirty:function(){var t=new Date(this.dateRange.startDate),m=new Date(this.dateRange.endDate);return!this.isClear&&(this.start.getTime()!==t.getTime()||this.end.getTime()!==m.getTime())}},watch:{minDate:function(){this.selectMonthDate()},maxDate:function(){this.selectMonthDate()},"dateRange.startDate":function(t){this.$dateUtil.isValidDate(new Date(t))&&(this.start=t&&!this.isClear&&this.$dateUtil.isValidDate(new Date(t))?new Date(t):null,this.isClear?(this.start=null,this.end=null):(this.start=new Date(this.dateRange.startDate),this.end=new Date(this.dateRange.endDate)))},"dateRange.endDate":function(t){this.$dateUtil.isValidDate(new Date(t))&&(this.end=t&&!this.isClear?new Date(t):null,this.isClear?(this.start=null,this.end=null):(this.start=new Date(this.dateRange.startDate),this.end=new Date(this.dateRange.endDate)))},open:{handler:function(t){var m=this;(typeof document>"u"?"undefined":Object(o.a)(document))==="object"&&(this.selectMonthDate(),this.$nextTick(function(){t?document.body.addEventListener("click",m.clickAway):document.body.removeEventListener("click",m.clickAway),t?document.addEventListener("keydown",m.handleEscape):document.removeEventListener("keydown",m.handleEscape),!m.alwaysShowCalendars&&m.ranges&&(m.showCustomRangeCalendars=!Object.keys(m.ranges).find(function(v){return m.$dateUtil.isSame(m.start,m.ranges[v][0],"date")&&m.$dateUtil.isSame(m.end,m.ranges[v][1],"date")}))}))},immediate:!0}}},ae=ee,K=(e("0e58"),e("ce5f"),$(ae,a,i,!1,null,"1ebd09d2",null)),X=K.exports,ie=X;c.default=ie},fb6a:function(r,c,e){var n=e("23e7"),a=e("861d"),i=e("e8b5"),o=e("23cb"),l=e("50c4"),d=e("fc6a"),u=e("8418"),y=e("1dde"),h=e("b622"),g=h("species"),f=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!y("slice")},{slice:function(_,b){var w,$,T,R=d(this),x=l(R.length),k=o(_,x),O=o(b===void 0?x:b,x);if(i(R)&&(w=R.constructor,typeof w!="function"||w!==Array&&!i(w.prototype)?a(w)&&(w=w[g],w===null&&(w=void 0)):w=void 0,w===Array||w===void 0))return f.call(R,k,O);for($=new(w===void 0?Array:w)(p(O-k,0)),T=0;k<O;k++,T++)k in R&&u($,T,R[k]);return $.length=T,$}})},fc6a:function(r,c,e){var n=e("44ad"),a=e("1d80");r.exports=function(i){return n(a(i))}},fdbc:function(r,c){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(r,c,e){var n=e("4930");r.exports=n&&!Symbol.sham&&typeof Symbol()=="symbol"}})})})(Re);const Qe=We(Re.exports);var Ke=function(){var s,C=this,r=C.$createElement,c=C._self._c||r;return c("date-range-picker",{ref:"picker",staticClass:"aioseo-date-picker",class:(s={},s[C.size]=C.size,s),attrs:{opens:"center","locale-data":{firstDay:1,format:"DD-MM-YYYY HH:mm:ss"},singleDatePicker:"",timePicker:!1,timePicker24Hour:!1,showWeekNumbers:!1,showDropdowns:"",autoApply:"",ranges:!1,appendToBody:""},scopedSlots:C._u([{key:"input",fn:function(e){return[c("span",[C._v(C._s(C.formatDate(e.startDate)))]),e.startDate||e.endDate?c("svg-circle-close",{nativeOn:{click:function(n){return C.clearDates(n)}}}):C._e(),!e.startDate&&!e.endDate?c("svg-news-channel"):C._e()]}}]),model:{value:C.dateRange,callback:function(e){C.dateRange=e},expression:"dateRange"}})},et=[];const tt={components:{DateRangePicker:Qe,SvgCircleClose:Ae,SvgNewsChannel:ze},props:{value:String,size:{type:String,default:"",description:"Button size (small|medium|large)"}},data(){return{dateRange:{startDate:null,endDate:null,ranges:!1}}},watch:{dateRange:{deep:!0,handler(){this.$emit("input",this.formatDate(this.dateRange.startDate))}},value(){this.dateRange.startDate=this.value?new Date(this.value):null,this.dateRange.endDate=this.value?new Date(this.value):null}},methods:{clearDates(s){s.stopPropagation(),this.dateRange.startDate=null,this.dateRange.endDate=null},formatDate(s){return s&&s.getMonth()+1+"/"+s.getDate()+"/"+s.getFullYear()}},mounted(){this.value&&(this.dateRange.startDate=new Date(this.value),this.dateRange.endDate=new Date(this.value))}},$e={};var rt=_e(tt,Ke,et,!1,nt,null,null,null);function nt(s){for(let C in $e)this[C]=$e[C]}const at=function(){return rt.exports}();var it=function(){var s=this,C=s.$createElement,r=s._self._c||C;return r("div",{staticClass:"additional-pages-input",class:{"in-table":s.inTable}},[s.inTable?s._e():r("div",{staticClass:"page-input-header"},[r("div",{staticClass:"page-url"},[s._v(s._s(s.strings.pageUrl))]),r("div",{staticClass:"page-priority"},[s._v(s._s(s.strings.priority))]),r("div",{staticClass:"page-frequency"},[s._v(s._s(s.strings.frequency))]),r("div",{staticClass:"page-last-modified"},[s._v(s._s(s.strings.lastModified))])]),r("div",{staticClass:"page-row"},[r("div",{staticClass:"page-url"},[r("base-input",{class:this.errors.url.invalid&&"aioseo-error"||this.page.url&&this.errors.url.exists&&"aioseo-warning"||this.page.url&&"aioseo-active",attrs:{value:s.page.url,size:"medium",placeholder:s.strings.placeholder},on:{keyup:function(c){return s.editPage("url",c.target.value)}},scopedSlots:s._u([{key:"append-icon",fn:function(){return[r("div",{staticClass:"append-icon"},[s.isLoading?s._e():[s.errors.url.invalid?r("svg-circle-close"):s._e(),!s.errors.url.invalid&&!s.errors.url.exists&&s.page.url?r("svg-circle-check"):s._e(),s.errors.url.exists&&s.page.url?r("svg-circle-exclamation"):s._e()]],2)]},proxy:!0}])}),this.errors.url.invalid?r("core-alert",{attrs:{type:"red",size:"small"}},[s._v(" "+s._s(s.strings.errors.url.invalid)+" ")]):s._e(),this.errors.url.exists?r("core-alert",{attrs:{type:"yellow",size:"small"}},[s._v(" "+s._s(s.strings.errors.url.exists)+" ")]):s._e()],1),r("div",{staticClass:"page-priority"},[r("base-select",{attrs:{size:"medium",value:s.page.priority,options:s.$constants.PRIORITY_OPTIONS},on:{input:function(c){return s.editPage("priority",c)}}})],1),r("div",{staticClass:"page-frequency"},[r("base-select",{attrs:{size:"medium",value:s.page.frequency,options:s.$constants.FREQUENCY_OPTIONS},on:{input:function(c){return s.editPage("frequency",c)}}})],1),r("div",{staticClass:"page-last-modified"},[r("base-datepicker",{attrs:{size:"medium",value:s.page.lastModified},on:{input:function(c){return s.editPage("lastModified",c)}}})],1)]),r("div",{staticClass:"page-input-footer"},[s.inTable?r("div",[r("base-button",{attrs:{type:"blue",size:"medium",disabled:s.errors.url.invalid||s.errors.url.exists||!s.page.url},on:{click:function(c){return s.updatePage(s.index)}}},[s._v(" "+s._s(s.strings.saveChanges)+" ")]),r("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(c){return s.$emit("cancel",!0)}}},[s._v(" "+s._s(s.strings.cancel)+" ")])],1):s._e(),s.inTable?s._e():r("div",[r("base-button",{attrs:{type:"blue",size:"small-table",disabled:s.errors.url.invalid||s.errors.url.exists||!s.page.url},on:{click:s.addPage}},[s._v(" "+s._s(s.strings.addPage)+" ")]),r("base-button",{attrs:{type:"black",size:"small-table"},on:{click:function(c){s.showImportModal=!0}}},[s._v(" "+s._s(s.strings.importFromCSV)+" ")])],1)]),s.showImportModal?r("core-modal",{on:{close:s.closeImportModal},scopedSlots:s._u([{key:"headerTitle",fn:function(){return[s._v(" "+s._s(s.strings.importAdditionalPages)+" ")]},proxy:!0},{key:"body",fn:function(){return[r("div",{staticClass:"aioseo-modal-body import-additional-pages"},[r("div",{staticClass:"alert"},[r("p",{domProps:{innerHTML:s._s(s.strings.modalDescription)}}),r("a",{attrs:{download:"aioseo-additional-pages-sample.csv",href:"data:text/csv;charset=utf-8,"+s.sampleCSVData}},[s._v(" "+s._s(s.strings.downloadSampleFile)+" ")])]),r("img",{attrs:{src:s.$getAssetUrl(s.csvFileImage),alt:s.strings.imgAltText}}),s.errors.upload?r("core-alert",{staticClass:"import-error",attrs:{type:"red"}},[r("svg-circle-close"),s._v(" "+s._s(s.errors.upload)+" ")],1):s._e(),r("div",{staticClass:"file-upload"},[r("base-input",{class:{"aioseo-error":s.errors.upload},attrs:{size:"medium",placeholder:s.strings.fileUploadPlaceholder},on:{focus:s.triggerFileUpload},model:{value:s.filename,callback:function(c){s.filename=c},expression:"filename"}}),r("base-button",{attrs:{type:"black",size:"medium"}},[s._v(" "+s._s(s.strings.chooseAFile)+" "),r("base-input",{ref:"file",attrs:{type:"file"},on:{click:s.reset,change:s.handleFileUpload},model:{value:s.inputFile,callback:function(c){s.inputFile=c},expression:"inputFile"}})],1)],1),r("base-button",{staticClass:"import",attrs:{type:"blue",size:"medium",disabled:!s.file||!s.importValidated,loading:s.loading},on:{click:s.submitFile}},[s._v(" "+s._s(s.strings.import)+" ")])],1)]},proxy:!0}],null,!1,2709596361)}):s._e()],1)},st=[];const de={page:{url:null,priority:{label:"0.7",value:"0.7"},frequency:{label:Ve("weekly","all-in-one-seo-pack"),value:"weekly"},lastModified:Fe().format("MM/DD/YYYY")}},ot={components:{BaseDatepicker:at,CoreAlert:Ie,CoreModal:Te,SvgCircleCheck:He,SvgCircleClose:Ae,SvgCircleExclamation:qe},data(){return{csvFileImage:Xe,priorityOptionsValues:[],frequencyOptionsValues:[],inputFile:null,filename:null,file:null,loading:!1,showImportModal:!1,page:ue(de.page),errors:{url:{invalid:null,exists:null},upload:!1},isLoading:!1,strings:{placeholder:this.$t.sprintf(this.$t.__("Enter a page URL, e.g. %1$s",this.$td),`${this.$aioseo.urls.home}/new-page`),pageUrl:this.$t.__("Page URL",this.$td),priority:this.$t.__("Priority",this.$td),frequency:this.$t.__("Frequency",this.$td),lastModified:this.$t.__("Last Modified",this.$td),addPage:this.$t.__("Add Page",this.$td),importFromCSV:this.$t.__("Import from CSV",this.$td),saveChanges:this.$t.__("Save Changes",this.$td),cancel:this.$t.__("Cancel",this.$td),importAdditionalPages:this.$t.__("Import Additional Pages",this.$td),modalDescription:this.$t.sprintf(this.$t.__("You can import additional page URL's to your sitemap using a CSV file. The following 4 columns are required: %1$sPage URL, Priority, Frequency, Date Modified.%2$s",this.$td),"<strong>","</strong>"),downloadSampleFile:this.$t.__("Download Sample CSV File",this.$td),imgAltText:this.$t.__("CSV example file",this.$td),fileUploadPlaceholder:this.$t.__("Import from CSV file...",this.$td),chooseAFile:this.$t.__("Choose a File",this.$td),import:this.$t.__("Import",this.$td),csvFileTypeRequired:this.$t.__("The file that you've currently selected is not a CSV file.",this.$td),invalidCSV:this.$t.__("Unable to read CSV file. Please check if the file is valid and try again.",this.$td),errors:{url:{invalid:this.$t.__("Please enter a valid URL.",this.$td),exists:this.$t.__("URL already exists.",this.$td)}}},sampleCSVData:`Page URL,Priority,Frequency,Date Modified\r
|
3 |
https://aioseo.com/pricing/,0.0,weekly,01/30/2022`}},methods:{...Oe(["updateAdditionalPages"]),addPage(){const s=[...this.pages];s.unshift(JSON.stringify(this.page)),this.updateAdditionalPages(s),this.page=ue(de.page),this.errors.url.invalid=null,this.$emit("process-page-add-and-update")},editPage(s,C){if(this.$set(this.page,s,C),!Se(this.page.url)&&this.page.url){this.errors.url.invalid=!0;return}if(this.pageExists(this.page.url)&&!this.inTable){this.errors.url.invalid=!1,this.errors.url.exists=!0;return}this.errors.url.invalid=!1,this.errors.url.exists=!1,this.inTable&&this.$emit("process-page-edit",this.page)},updatePage(s){const C=[...this.pages];C[this.getPaginatedIndex(s)]=JSON.stringify(this.page),this.updateAdditionalPages(C),this.$emit("process-page-add-and-update"),this.$emit("cancel",!0)},pageExists(s){return this.getParsedPages().some(({url:C})=>C===s)},reset(){this.errors.upload=!1,this.filename=null,this.file=null,this.inputFile=null},triggerFileUpload(){this.reset(),this.$refs.file.$el.querySelector("input").focus(),this.$refs.file.$el.querySelector("input").click()},async submitFile(){this.loading=!0;try{const s=await this.parseFile(),C=this.pages;s.forEach(r=>{const c=this.prepareAdditionalPage(r);c&&C.unshift(JSON.stringify(c))}),this.updateAdditionalPages(C)}catch{this.errors.upload=this.strings.invalidCSV}this.reset(),this.page=ue(de.page),this.showImportModal=!1,this.loading=!1},prepareAdditionalPage(s){const C=ue(de.page);return s.forEach(r=>{if(Se(r)&&!this.pageExists(r)){C.url=r;return}if(this.priorityOptionsValues.includes(r)){C.priority.label=C.priority.value=r;return}if(this.frequencyOptionsValues.includes(r.toLowerCase())){C.frequency.label=C.frequency.value=r.toLowerCase();return}isNaN(Date.parse(r))||(C.lastModified=r)}),C.url!==null?C:!1},parseFile(){const s=new FileReader;return s.readAsText(this.file),new Promise((C,r)=>{s.onerror=()=>{s.abort(),r(new DOMException)},s.onload=()=>{const e=s.result.split(/[\r\n]/).map(n=>n.split(","));C(e)}})},handleFileUpload(){this.reset(),this.file=this.$refs.file.$el.querySelector("input").files[0],this.file&&(this.filename=this.file.name,this.file.type!=="text/csv"&&(this.errors.upload=this.strings.csvFileTypeRequired))},closeImportModal(){this.reset(),this.showImportModal=!1}},computed:{...be({pages:s=>s.options.sitemap.general.additionalPages.pages}),importValidated(){return this.file.type==="text/csv"}},props:{inTable:Boolean,row:Object,index:Number,getPaginatedIndex:Function,getParsedPages:Function,rowPage:{type:Object,default(){return{}}},editedPage:{type:Object,default(){return{}}}},mounted(){this.priorityOptionsValues=this.$constants.PRIORITY_OPTIONS.map(s=>s.value),this.frequencyOptionsValues=this.$constants.FREQUENCY_OPTIONS.map(s=>s.value),this.inTable&&(this.page=this.rowPage!==this.editedPage?this.rowPage:this.editedPage)}},Me={};var lt=_e(ot,it,st,!1,ct,null,null,null);function ct(s){for(let C in Me)this[C]=Me[C]}const ut=function(){return lt.exports}();var dt=function(){var s=this,C=s.$createElement,r=s._self._c||C;return s.options.sitemap.general.enable?r("core-card",{attrs:{slug:"additionalPages",toggles:s.options.sitemap.general.additionalPages.enable},scopedSlots:s._u([{key:"header",fn:function(){return[r("base-toggle",{model:{value:s.options.sitemap.general.additionalPages.enable,callback:function(c){s.$set(s.options.sitemap.general.additionalPages,"enable",c)},expression:"options.sitemap.general.additionalPages.enable"}}),r("span",[s._v(s._s(s.strings.additionalPages))])]},proxy:!0},{key:"tooltip",fn:function(){return[s._v(" "+s._s(s.strings.additionalPagesTooltip)+" ")]},proxy:!0}],null,!1,1670858465)},[r("div",{staticClass:"aioseo-additional-pages"},[r("add-additional-page",{attrs:{getPaginatedIndex:s.getPaginatedIndex,getParsedPages:s.getParsedPages},on:{"process-page-add-and-update":s.processPageAddAndUpdate}}),r("core-wp-table",{key:s.wpTableKey,ref:"table",staticClass:"additional-pages-table",attrs:{id:s.tableId,"bulk-options":s.bulkOptions,columns:s.columns,"initial-items-per-page":s.$aioseo.settings.tablePagination.sitemapAdditionalPages,"initial-page-number":s.pageNumber,loading:s.wpTableLoading,rows:s.rows,"search-label":s.strings.searchUrls,"show-search":!0,totals:s.totals,"show-items-per-page":""},on:{paginate:s.processPagination,"process-bulk-action":s.processBulkAction,"process-change-items-per-page":s.processChangeItemsPerPage,search:s.processSearch,"sort-column":s.processSort},scopedSlots:s._u([{key:"url",fn:function(c){var e=c.row,n=c.index,a=c.editRow;return[r("a",{staticClass:"post-title",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),i.stopPropagation(),a(n)}}},[s._v(" "+s._s(e.url)+" ")]),r("div",{staticClass:"row-actions"},[r("span",[r("a",{staticClass:"edit",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),i.stopPropagation(),a(n)}}},[r("span",[s._v(s._s(s.strings.edit))])]),s._v(" | ")]),r("span",[r("a",{staticClass:"delete",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),i.stopPropagation(),s.maybeProcessDelete(e.url)}}},[r("span",[s._v(s._s(s.strings.delete))])])])])]}},{key:"edit-row",fn:function(c){var e=c.index,n=c.editRow;return[r("add-additional-page",{attrs:{index:e,rowPage:s.rowPage(e),editedPage:s.editedPage,getPaginatedIndex:s.getPaginatedIndex,getParsedPages:s.getParsedPages,inTable:""},on:{cancel:function(a){return n(null)},"process-page-add-and-update":s.processPageAddAndUpdate,"process-page-edit":s.processPageEdit}})]}},{key:"page-actions",fn:function(c){var e=c.row;return[r("div",{staticClass:"page-actions"},[r("core-tooltip",{attrs:{type:"action"},scopedSlots:s._u([{key:"tooltip",fn:function(){return[s._v(" "+s._s(s.strings.delete)+" ")]},proxy:!0}],null,!0)},[r("svg-trash",{nativeOn:{click:function(n){return s.maybeProcessDelete(e.url)}}})],1)],1)]}}],null,!1,3880771216)}),s.showDeleteModal?r("core-modal",{attrs:{"no-header":""},scopedSlots:s._u([{key:"body",fn:function(){return[r("div",{staticClass:"aioseo-modal-body delete"},[r("button",{staticClass:"close",on:{click:function(c){c.stopPropagation(),s.showDeleteModal=!1}}}),r("h3",[s._v(s._s(s.areYouSureDeleteLink))]),r("div",{staticClass:"reset-description"},[s._v(" "+s._s(s.strings.thisWillRemoveLink)+" ")]),r("base-button",{attrs:{type:"blue",size:"medium",loading:s.deletingRow},on:{click:s.processPageDelete}},[s._v(" "+s._s(s.yesDeleteLink)+" ")]),r("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(c){s.showDeleteModal=!1}}},[s._v(" "+s._s(s.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,3154880166)}):s._e()],1)]):s._e()},ft=[];const ht={mixins:[Ue],components:{AddAdditionalPage:ut,CoreWpTable:Ge,CoreCard:Je,CoreTooltip:Ze,CoreModal:Te,SvgTrash:Ye},data(){return{tableId:"sitemap-additional-pages",changeItemsPerPageSlug:"sitemapAdditionalPages",page:{},editedPage:{},resultsPerPage:10,searchResults:null,deletingRow:!1,activeRow:-1,showDeleteModal:!1,shouldDeleteURL:null,selectedRows:null,bulkOptions:[{label:this.$t.__("Delete",this.$tdPro),value:"delete"}],strings:{placeholder:this.$t.sprintf(this.$t.__("Enter a page URL, e.g. %1$s",this.$td),`${this.$aioseo.urls.home}/new-page`),pageUrl:this.$t.__("Page URL",this.$td),priority:this.$t.__("Priority",this.$td),frequency:this.$t.__("Frequency",this.$td),lastModified:this.$t.__("Last Modified",this.$td),searchUrls:this.$t.__("Search URLs",this.$td),edit:this.$t.__("Edit",this.$td),delete:this.$t.__("Delete",this.$td),addPage:this.$t.__("Add Page",this.$td),importFromCSV:this.$t.__("Import from CSV",this.$td),always:this.$t.__("always",this.$td),additionalPages:this.$t.__("Additional Pages",this.$td),additionalPagesTooltip:this.$t.__("You can use this section to add any URLs to your sitemap which aren't a part of your WordPress installation. For example, if you have a contact form that you would like to be included on your sitemap you can enter the information manually.",this.$td),areYouSureDeleteLink:this.$t.__("Are you sure you want to delete this page?",this.$td),areYouSureDeleteLinks:this.$t.__("Are you sure you want to delete these pages?",this.$td),thisWillRemoveLink:this.$t.__("This will permanently remove this page from the additional pages sitemap.",this.$td),thisWillRemoveLinks:this.$t.__("This will permanently remove the selected pages from the additional pages sitemap.",this.$td),yesDeleteLink:this.$t.__("Delete Page",this.$td),yesDeleteLinks:this.$t.__("Delete Selected Pages",this.$td),noChangedMind:this.$t.__("No, I changed my mind",this.$td)}}},computed:{...be(["options","additionalPages"]),...be({pages:s=>s.options.sitemap.general.additionalPages.pages}),currentPages(){return this.searchResults||this.getParsedPages()},rows(){const s=this.currentPages.map(r=>({url:r.url,priority:r.priority&&r.priority.label?r.priority.label:"",frequency:r.frequency&&r.frequency.label?r.frequency.label:"",lastModified:r.lastModified})),C=this.pageNumber===1?0:(this.pageNumber-1)*this.resultsPerPage;return s.slice(C,C+this.resultsPerPage)},totals(){return{page:1,pages:Math.ceil(this.currentPages.length/this.resultsPerPage),total:this.currentPages.length}},columns(){return[{slug:"url",label:this.$t.__("Page URL",this.$td)},{slug:"priority",label:this.$t.__("Priority",this.$td),width:"90px"},{slug:"frequency",label:this.$t.__("Frequency",this.$td),width:"90px"},{slug:"lastModified",label:this.$t.__("Last Modified",this.$td),width:"110px"},{slug:"page-actions",label:"",width:"40px"}]},areYouSureDeleteLink(){return Array.isArray(this.shouldDeleteURL)?this.strings.areYouSureDeleteLinks:this.strings.areYouSureDeleteLink},yesDeleteLink(){return Array.isArray(this.shouldDeleteURL)?this.strings.yesDeleteLinks:this.strings.yesDeleteLink},thisWillRemoveLink(){return Array.isArray(this.shouldDeleteURL)?this.strings.thisWillRemoveLinks:this.strings.thisWillRemoveLink}},methods:{...Oe(["updateAdditionalPages"]),fetchData(){return Promise.resolve()},processSearch(s){if(this.$refs.table.editRow(null),this.pageNumber=1,s===""){this.searchResults=null,this.searchTerm=null;return}s||(s=this.searchTerm),this.wpTableLoading=!0,this.searchResults=this.getParsedPages().filter(C=>C.url.includes(s)),this.searchTerm=s,this.wpTableLoading=!1},processBulkAction({action:s,selectedRows:C}){!C.length||s==="delete"&&(this.showDeleteModal=!0,this.shouldDeleteURL=C)},processPageDelete(){this.wpTableLoading=!0,Array.isArray(this.shouldDeleteURL)?this.shouldDeleteURL.forEach(s=>{this.deletePage(s)}):this.deletePage(this.shouldDeleteURL),this.showDeleteModal=!1,this.wpTableLoading=!1},deletePage(s){const C=[];this.getParsedPages().forEach(r=>{r.url!==s&&C.push(JSON.stringify(r))}),this.updateAdditionalPages(C),this.searchResults&&this.processSearch()},maybeProcessDelete(s){this.showDeleteModal=!0,this.shouldDeleteURL=s},processPageEdit(s){this.editedPage=s},processPageAddAndUpdate(){this.searchTerm&&this.processSearch(this.searchTerm)},rowPage(s){return this.searchResults?this.searchResults[this.getPaginatedIndex(s)]:this.getParsedPages()[this.getPaginatedIndex(s)]},getPaginatedIndex(s){return(this.pageNumber-1)*this.resultsPerPage+s},getParsedPages(){return this.pages.map(s=>JSON.parse(s))}}},Ce={};var pt=_e(ht,dt,ft,!1,gt,null,null,null);function gt(s){for(let C in Ce)this[C]=Ce[C]}const Nt=function(){return pt.exports}();export{Nt as default};
|
1 |
+
import{b as Oe,a as be}from"./index.f16c040b.js";import{C as Te,W as Ue}from"./WpTable.078239fd.js";import{n as _e}from"./vueComponentNormalizer.58b0a173.js";import{g as Ae,K as Fe,C as Ie,a as He,f as Ye}from"./index.c9bc1c73.js";import{_ as Ve}from"./default-i18n.0e73c33c.js";import{n as ue,m as Se}from"./constants.71b051da.js";import{c as Be,a as We}from"./_commonjsHelpers.10c44588.js";import{S as ze}from"./NewsChannel.32f1527e.js";import{S as qe}from"./Exclamation.77933285.js";import{C as Ge}from"./Table.19b80c85.js";import{C as Je}from"./Card.1a6f5bab.js";import{C as Ze}from"./Tooltip.a36a3967.js";import"./isArrayLikeObject.5268a676.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./client.b661b356.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./Slide.01023b2f.js";const Xe=""+window.__aioseoDynamicImportPreload__("images/import-from-csv.fa7a7c61.png");var Re={exports:{}};(function(s,C){(function(r,c){s.exports=c()})(typeof self<"u"?self:Be,function(){return function(r){var c={};function e(n){if(c[n])return c[n].exports;var a=c[n]={i:n,l:!1,exports:{}};return r[n].call(a.exports,a,a.exports,e),a.l=!0,a.exports}return e.m=r,e.c=c,e.d=function(n,a,i){e.o(n,a)||Object.defineProperty(n,a,{enumerable:!0,get:i})},e.r=function(n){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},e.t=function(n,a){if(1&a&&(n=e(n)),8&a||4&a&&typeof n=="object"&&n&&n.__esModule)return n;var i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:n}),2&a&&typeof n!="string")for(var o in n)e.d(i,o,function(l){return n[l]}.bind(null,o));return i},e.n=function(n){var a=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(a,"a",a),a},e.o=function(n,a){return Object.prototype.hasOwnProperty.call(n,a)},e.p="",e(e.s="fb15")}({"00ee":function(r,c,e){var n=e("b622"),a=n("toStringTag"),i={};i[a]="z",r.exports=String(i)==="[object z]"},"057f":function(r,c,e){var n=e("fc6a"),a=e("241c").f,i={}.toString,o=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(d){try{return a(d)}catch{return o.slice()}};r.exports.f=function(d){return o&&i.call(d)=="[object Window]"?l(d):a(n(d))}},"06cf":function(r,c,e){var n=e("83ab"),a=e("d1e7"),i=e("5c6c"),o=e("fc6a"),l=e("c04e"),d=e("5135"),u=e("0cfb"),y=Object.getOwnPropertyDescriptor;c.f=n?y:function(h,g){if(h=o(h),g=l(g,!0),u)try{return y(h,g)}catch{}if(d(h,g))return i(!a.f.call(h,g),h[g])}},"0cfb":function(r,c,e){var n=e("83ab"),a=e("d039"),i=e("cc12");r.exports=!n&&!a(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},"0e58":function(r,c,e){var n=e("beb7"),a=e.n(n);a.a},"14c3":function(r,c,e){var n=e("c6b6"),a=e("9263");r.exports=function(i,o){var l=i.exec;if(typeof l=="function"){var d=l.call(i,o);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(n(i)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return a.call(i,o)}},"159b":function(r,c,e){var n=e("da84"),a=e("fdbc"),i=e("17c2"),o=e("9112");for(var l in a){var d=n[l],u=d&&d.prototype;if(u&&u.forEach!==i)try{o(u,"forEach",i)}catch{u.forEach=i}}},"17c2":function(r,c,e){var n=e("b727").forEach,a=e("b301");r.exports=a("forEach")?function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}:[].forEach},"18e6":function(r,c,e){},"1be4":function(r,c,e){var n=e("d066");r.exports=n("document","documentElement")},"1c0b":function(r,c){r.exports=function(e){if(typeof e!="function")throw TypeError(String(e)+" is not a function");return e}},"1c7e":function(r,c,e){var n=e("b622"),a=n("iterator"),i=!1;try{var o=0,l={next:function(){return{done:!!o++}},return:function(){i=!0}};l[a]=function(){return this},Array.from(l,function(){throw 2})}catch{}r.exports=function(d,u){if(!u&&!i)return!1;var y=!1;try{var h={};h[a]=function(){return{next:function(){return{done:y=!0}}}},d(h)}catch{}return y}},"1d80":function(r,c){r.exports=function(e){if(e==null)throw TypeError("Can't call method on "+e);return e}},"1dde":function(r,c,e){var n=e("d039"),a=e("b622"),i=e("60ae"),o=a("species");r.exports=function(l){return i>=51||!n(function(){var d=[],u=d.constructor={};return u[o]=function(){return{foo:1}},d[l](Boolean).foo!==1})}},"23cb":function(r,c,e){var n=e("a691"),a=Math.max,i=Math.min;r.exports=function(o,l){var d=n(o);return d<0?a(d+l,0):i(d,l)}},"23e7":function(r,c,e){var n=e("da84"),a=e("06cf").f,i=e("9112"),o=e("6eeb"),l=e("ce4e"),d=e("e893"),u=e("94ca");r.exports=function(y,h){var g,f,p,_,b,w,$=y.target,T=y.global,R=y.stat;if(f=T?n:R?n[$]||l($,{}):(n[$]||{}).prototype,f)for(p in h){if(b=h[p],y.noTargetGet?(w=a(f,p),_=w&&w.value):_=f[p],g=u(T?p:$+(R?".":"#")+p,y.forced),!g&&_!==void 0){if(typeof b==typeof _)continue;d(b,_)}(y.sham||_&&_.sham)&&i(b,"sham",!0),o(f,p,b,y)}}},"241c":function(r,c,e){var n=e("ca84"),a=e("7839"),i=a.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(o){return n(o,i)}},"25f0":function(r,c,e){var n=e("6eeb"),a=e("825a"),i=e("d039"),o=e("ad6d"),l="toString",d=RegExp.prototype,u=d[l],y=i(function(){return u.call({source:"a",flags:"b"})!="/a/b"}),h=u.name!=l;(y||h)&&n(RegExp.prototype,l,function(){var g=a(this),f=String(g.source),p=g.flags,_=String(p===void 0&&g instanceof RegExp&&!("flags"in d)?o.call(g):p);return"/"+f+"/"+_},{unsafe:!0})},"35a1":function(r,c,e){var n=e("f5df"),a=e("3f8c"),i=e("b622"),o=i("iterator");r.exports=function(l){if(l!=null)return l[o]||l["@@iterator"]||a[n(l)]}},"37e8":function(r,c,e){var n=e("83ab"),a=e("9bf2"),i=e("825a"),o=e("df75");r.exports=n?Object.defineProperties:function(l,d){i(l);for(var u,y=o(d),h=y.length,g=0;h>g;)a.f(l,u=y[g++],d[u]);return l}},"3bbe":function(r,c,e){var n=e("861d");r.exports=function(a){if(!n(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype");return a}},"3ca3":function(r,c,e){var n=e("6547").charAt,a=e("69f3"),i=e("7dd0"),o="String Iterator",l=a.set,d=a.getterFor(o);i(String,"String",function(u){l(this,{type:o,string:String(u),index:0})},function(){var u,y=d(this),h=y.string,g=y.index;return g>=h.length?{value:void 0,done:!0}:(u=n(h,g),y.index+=u.length,{value:u,done:!1})})},"3f8c":function(r,c){r.exports={}},"428f":function(r,c,e){var n=e("da84");r.exports=n},"44ad":function(r,c,e){var n=e("d039"),a=e("c6b6"),i="".split;r.exports=n(function(){return!Object("z").propertyIsEnumerable(0)})?function(o){return a(o)=="String"?i.call(o,""):Object(o)}:Object},"44d2":function(r,c,e){var n=e("b622"),a=e("7c73"),i=e("9112"),o=n("unscopables"),l=Array.prototype;l[o]==null&&i(l,o,a(null)),r.exports=function(d){l[o][d]=!0}},"466d":function(r,c,e){var n=e("d784"),a=e("825a"),i=e("50c4"),o=e("1d80"),l=e("8aa5"),d=e("14c3");n("match",1,function(u,y,h){return[function(g){var f=o(this),p=g==null?void 0:g[u];return p!==void 0?p.call(g,f):new RegExp(g)[u](String(f))},function(g){var f=h(y,g,this);if(f.done)return f.value;var p=a(g),_=String(this);if(!p.global)return d(p,_);var b=p.unicode;p.lastIndex=0;for(var w,$=[],T=0;(w=d(p,_))!==null;){var R=String(w[0]);$[T]=R,R===""&&(p.lastIndex=l(_,i(p.lastIndex),b)),T++}return T===0?null:$}]})},4930:function(r,c,e){var n=e("d039");r.exports=!!Object.getOwnPropertySymbols&&!n(function(){return!String(Symbol())})},"4d64":function(r,c,e){var n=e("fc6a"),a=e("50c4"),i=e("23cb"),o=function(l){return function(d,u,y){var h,g=n(d),f=a(g.length),p=i(y,f);if(l&&u!=u){for(;f>p;)if(h=g[p++],h!=h)return!0}else for(;f>p;p++)if((l||p in g)&&g[p]===u)return l||p||0;return!l&&-1}};r.exports={includes:o(!0),indexOf:o(!1)}},"4de4":function(r,c,e){var n=e("23e7"),a=e("b727").filter,i=e("d039"),o=e("1dde"),l=o("filter"),d=l&&!i(function(){[].filter.call({length:-1,0:1},function(u){throw u})});n({target:"Array",proto:!0,forced:!l||!d},{filter:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(r,c,e){var n=e("f8c2"),a=e("7b0b"),i=e("9bdd"),o=e("e95a"),l=e("50c4"),d=e("8418"),u=e("35a1");r.exports=function(y){var h,g,f,p,_,b=a(y),w=typeof this=="function"?this:Array,$=arguments.length,T=$>1?arguments[1]:void 0,R=T!==void 0,x=0,k=u(b);if(R&&(T=n(T,$>2?arguments[2]:void 0,2)),k==null||w==Array&&o(k))for(h=l(b.length),g=new w(h);h>x;x++)d(g,x,R?T(b[x],x):b[x]);else for(p=k.call(b),_=p.next,g=new w;!(f=_.call(p)).done;x++)d(g,x,R?i(p,T,[f.value,x],!0):f.value);return g.length=x,g}},"50c4":function(r,c,e){var n=e("a691"),a=Math.min;r.exports=function(i){return i>0?a(n(i),9007199254740991):0}},5135:function(r,c){var e={}.hasOwnProperty;r.exports=function(n,a){return e.call(n,a)}},5319:function(r,c,e){var n=e("d784"),a=e("825a"),i=e("7b0b"),o=e("50c4"),l=e("a691"),d=e("1d80"),u=e("8aa5"),y=e("14c3"),h=Math.max,g=Math.min,f=Math.floor,p=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g,b=function(w){return w===void 0?w:String(w)};n("replace",2,function(w,$,T){return[function(x,k){var O=d(this),N=x==null?void 0:x[w];return N!==void 0?N.call(x,O,k):$.call(String(O),x,k)},function(x,k){var O=T($,x,this,k);if(O.done)return O.value;var N=a(x),E=String(this),V=typeof k=="function";V||(k=String(k));var H=N.global;if(H){var U=N.unicode;N.lastIndex=0}for(var I=[];;){var Y=y(N,E);if(Y===null||(I.push(Y),!H))break;var z=String(Y[0]);z===""&&(N.lastIndex=u(E,o(N.lastIndex),U))}for(var K="",W=0,L=0;L<I.length;L++){Y=I[L];for(var q=String(Y[0]),ee=h(g(l(Y.index),E.length),0),ae=[],Q=1;Q<Y.length;Q++)ae.push(b(Y[Q]));var X=Y.groups;if(V){var ie=[q].concat(ae,ee,E);X!==void 0&&ie.push(X);var t=String(k.apply(void 0,ie))}else t=R(q,E,ee,ae,X,k);ee>=W&&(K+=E.slice(W,ee)+t,W=ee+q.length)}return K+E.slice(W)}];function R(x,k,O,N,E,V){var H=O+x.length,U=N.length,I=_;return E!==void 0&&(E=i(E),I=p),$.call(V,I,function(Y,z){var K;switch(z.charAt(0)){case"$":return"$";case"&":return x;case"`":return k.slice(0,O);case"'":return k.slice(H);case"<":K=E[z.slice(1,-1)];break;default:var W=+z;if(W===0)return Y;if(W>U){var L=f(W/10);return L===0?Y:L<=U?N[L-1]===void 0?z.charAt(1):N[L-1]+z.charAt(1):Y}K=N[W-1]}return K===void 0?"":K})}})},"53ca":function(r,c,e){e.d(c,"a",function(){return a}),e("a4d3"),e("e01a"),e("d28b"),e("e260"),e("d3b7"),e("3ca3"),e("ddb0");function n(i){return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},n(i)}function a(i){return a=typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"?function(o){return n(o)}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":n(o)},a(i)}},5692:function(r,c,e){var n=e("c430"),a=e("c6cd");(r.exports=function(i,o){return a[i]||(a[i]=o!==void 0?o:{})})("versions",[]).push({version:"3.5.0",mode:n?"pure":"global",copyright:"\xA9 2019 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,c,e){var n=e("d066"),a=e("241c"),i=e("7418"),o=e("825a");r.exports=n("Reflect","ownKeys")||function(l){var d=a.f(o(l)),u=i.f;return u?d.concat(u(l)):d}},5899:function(r,c){r.exports=`
|
2 |
+
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"58a8":function(r,c,e){var n=e("1d80"),a=e("5899"),i="["+a+"]",o=RegExp("^"+i+i+"*"),l=RegExp(i+i+"*$"),d=function(u){return function(y){var h=String(n(y));return 1&u&&(h=h.replace(o,"")),2&u&&(h=h.replace(l,"")),h}};r.exports={start:d(1),end:d(2),trim:d(3)}},"5c6c":function(r,c){r.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},"60ae":function(r,c,e){var n,a,i=e("da84"),o=e("b39a"),l=i.process,d=l&&l.versions,u=d&&d.v8;u?(n=u.split("."),a=n[0]+n[1]):o&&(n=o.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/),n&&(a=n[1]))),r.exports=a&&+a},6547:function(r,c,e){var n=e("a691"),a=e("1d80"),i=function(o){return function(l,d){var u,y,h=String(a(l)),g=n(d),f=h.length;return g<0||g>=f?o?"":void 0:(u=h.charCodeAt(g),u<55296||u>56319||g+1===f||(y=h.charCodeAt(g+1))<56320||y>57343?o?h.charAt(g):u:o?h.slice(g,g+2):y-56320+(u-55296<<10)+65536)}};r.exports={codeAt:i(!1),charAt:i(!0)}},"65f0":function(r,c,e){var n=e("861d"),a=e("e8b5"),i=e("b622"),o=i("species");r.exports=function(l,d){var u;return a(l)&&(u=l.constructor,typeof u!="function"||u!==Array&&!a(u.prototype)?n(u)&&(u=u[o],u===null&&(u=void 0)):u=void 0),new(u===void 0?Array:u)(d===0?0:d)}},"69f3":function(r,c,e){var n,a,i,o=e("7f9a"),l=e("da84"),d=e("861d"),u=e("9112"),y=e("5135"),h=e("f772"),g=e("d012"),f=l.WeakMap,p=function(x){return i(x)?a(x):n(x,{})},_=function(x){return function(k){var O;if(!d(k)||(O=a(k)).type!==x)throw TypeError("Incompatible receiver, "+x+" required");return O}};if(o){var b=new f,w=b.get,$=b.has,T=b.set;n=function(x,k){return T.call(b,x,k),k},a=function(x){return w.call(b,x)||{}},i=function(x){return $.call(b,x)}}else{var R=h("state");g[R]=!0,n=function(x,k){return u(x,R,k),k},a=function(x){return y(x,R)?x[R]:{}},i=function(x){return y(x,R)}}r.exports={set:n,get:a,has:i,enforce:p,getterFor:_}},"6eeb":function(r,c,e){var n=e("da84"),a=e("9112"),i=e("5135"),o=e("ce4e"),l=e("8925"),d=e("69f3"),u=d.get,y=d.enforce,h=String(String).split("String");(r.exports=function(g,f,p,_){var b=!!_&&!!_.unsafe,w=!!_&&!!_.enumerable,$=!!_&&!!_.noTargetGet;typeof p=="function"&&(typeof f!="string"||i(p,"name")||a(p,"name",f),y(p).source=h.join(typeof f=="string"?f:"")),g!==n?(b?!$&&g[f]&&(w=!0):delete g[f],w?g[f]=p:a(g,f,p)):w?g[f]=p:o(f,p)})(Function.prototype,"toString",function(){return typeof this=="function"&&u(this).source||l(this)})},7156:function(r,c,e){var n=e("861d"),a=e("d2bb");r.exports=function(i,o,l){var d,u;return a&&typeof(d=o.constructor)=="function"&&d!==l&&n(u=d.prototype)&&u!==l.prototype&&a(i,u),i}},7418:function(r,c){c.f=Object.getOwnPropertySymbols},"746f":function(r,c,e){var n=e("428f"),a=e("5135"),i=e("c032"),o=e("9bf2").f;r.exports=function(l){var d=n.Symbol||(n.Symbol={});a(d,l)||o(d,l,{value:i.f(l)})}},7839:function(r,c){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7a50":function(r,c,e){e.r(c),e("a4d3"),e("4de4"),e("d81d"),e("fb6a"),e("e439"),e("dbb4"),e("b64b"),e("159b");var n=e("ade3"),a=(e("d3b7"),e("466d"),e("5319"),e("53ca")),i=function(){var f=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|"[^"]*"|'[^']*'/g,p=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,_=/[^-+\dA-Z]/g;return function(b,w,$,T){if(arguments.length!==1||u(b)!=="string"||/\d/.test(b)||(w=b,b=void 0),b=b||new Date,b instanceof Date||(b=new Date(b)),isNaN(b))throw TypeError("Invalid date");w=String(i.masks[w]||w||i.masks.default);var R=w.slice(0,4);R!=="UTC:"&&R!=="GMT:"||(w=w.slice(4),$=!0,R==="GMT:"&&(T=!0));var x=$?"getUTC":"get",k=b[x+"Date"](),O=b[x+"Day"](),N=b[x+"Month"](),E=b[x+"FullYear"](),V=b[x+"Hours"](),H=b[x+"Minutes"](),U=b[x+"Seconds"](),I=b[x+"Milliseconds"](),Y=$?0:b.getTimezoneOffset(),z=l(b),K=d(b),W={d:k,dd:o(k),ddd:i.i18n.dayNames[O],dddd:i.i18n.dayNames[O+7],m:N+1,mm:o(N+1),mmm:i.i18n.monthNames[N],mmmm:i.i18n.monthNames[N+12],yy:String(E).slice(2),yyyy:E,h:V%12||12,hh:o(V%12||12),H:V,HH:o(V),M:H,MM:o(H),s:U,ss:o(U),l:o(I,3),L:o(Math.round(I/10)),t:V<12?i.i18n.timeNames[0]:i.i18n.timeNames[1],tt:V<12?i.i18n.timeNames[2]:i.i18n.timeNames[3],T:V<12?i.i18n.timeNames[4]:i.i18n.timeNames[5],TT:V<12?i.i18n.timeNames[6]:i.i18n.timeNames[7],Z:T?"GMT":$?"UTC":(String(b).match(p)||[""]).pop().replace(_,""),o:(Y>0?"-":"+")+o(100*Math.floor(Math.abs(Y)/60)+Math.abs(Y)%60,4),S:["th","st","nd","rd"][k%10>3?0:(k%100-k%10!=10)*k%10],W:z,N:K};return w.replace(f,function(L){return L in W?W[L]:L.slice(1,L.length-1)})}}();function o(f,p){for(f=String(f),p=p||2;f.length<p;)f="0"+f;return f}function l(f){var p=new Date(f.getFullYear(),f.getMonth(),f.getDate());p.setDate(p.getDate()-(p.getDay()+6)%7+3);var _=new Date(p.getFullYear(),0,4);_.setDate(_.getDate()-(_.getDay()+6)%7+3);var b=p.getTimezoneOffset()-_.getTimezoneOffset();p.setHours(p.getHours()-b);var w=(p-_)/6048e5;return 1+Math.floor(w)}function d(f){var p=f.getDay();return p===0&&(p=7),p}function u(f){return f===null?"null":f===void 0?"undefined":Object(a.a)(f)!=="object"?Object(a.a)(f):Array.isArray(f)?"array":{}.toString.call(f).slice(8,-1).toLowerCase()}function y(f,p){var _=Object.keys(f);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(f);p&&(b=b.filter(function(w){return Object.getOwnPropertyDescriptor(f,w).enumerable})),_.push.apply(_,b)}return _}function h(f){for(var p=1;p<arguments.length;p++){var _=arguments[p]!=null?arguments[p]:{};p%2?y(Object(_),!0).forEach(function(b){Object(n.a)(f,b,_[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(_)):y(Object(_)).forEach(function(b){Object.defineProperty(f,b,Object.getOwnPropertyDescriptor(_,b))})}return f}i.masks={default:"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:sso",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'",expiresHeaderFormat:"ddd, dd mmm yyyy HH:MM:ss Z"},i.i18n={dayNames:["Sun","Mon","Tue","Wed","Thu","Fri","Sat","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],timeNames:["a","p","am","pm","A","P","AM","PM"]};var g={isSame:function(f,p,_){var b=new Date(f),w=new Date(p);return _==="date"&&(b.setHours(0,0,0,0),w.setHours(0,0,0,0)),b.getTime()===w.getTime()},daysInMonth:function(f,p){return new Date(f,p,0).getDate()},weekNumber:function(f){return l(f)},format:function(f,p){return i(f,p)},nextMonth:function(f){var p=new Date(f.getTime());return p.setDate(1),p.setMonth(p.getMonth()+1),p},prevMonth:function(f){var p=new Date(f.getTime());return p.setDate(1),p.setMonth(p.getMonth()-1),p},validateDateRange:function(f,p,_){var b=new Date(_),w=new Date(p);return _&&f.getTime()>b.getTime()?b:p&&f.getTime()<w.getTime()?w:f},localeData:function(f){var p={direction:"ltr",format:"mm/dd/yyyy",separator:" - ",applyLabel:"Apply",cancelLabel:"Cancel",weekLabel:"W",customRangeLabel:"Custom Range",daysOfWeek:i.i18n.dayNames.slice(0,7).map(function(_){return _.substring(0,2)}),monthNames:i.i18n.monthNames.slice(0,12),firstDay:0};return h({},p,{},f)},yearMonth:function(f){var p=f.getMonth()+1;return f.getFullYear()+(p<10?"0":"")+p},isValidDate:function(f){return f instanceof Date&&!isNaN(f)}};c.default=g},"7b0b":function(r,c,e){var n=e("1d80");r.exports=function(a){return Object(n(a))}},"7c73":function(r,c,e){var n=e("825a"),a=e("37e8"),i=e("7839"),o=e("d012"),l=e("1be4"),d=e("cc12"),u=e("f772"),y=u("IE_PROTO"),h="prototype",g=function(){},f=function(){var p,_=d("iframe"),b=i.length,w="<",$="script",T=">",R="java"+$+":";for(_.style.display="none",l.appendChild(_),_.src=String(R),p=_.contentWindow.document,p.open(),p.write(w+$+T+"document.F=Object"+w+"/"+$+T),p.close(),f=p.F;b--;)delete f[h][i[b]];return f()};r.exports=Object.create||function(p,_){var b;return p!==null?(g[h]=n(p),b=new g,g[h]=null,b[y]=p):b=f(),_===void 0?b:a(b,_)},o[y]=!0},"7db0":function(r,c,e){var n=e("23e7"),a=e("b727").find,i=e("44d2"),o="find",l=!0;o in[]&&Array(1)[o](function(){l=!1}),n({target:"Array",proto:!0,forced:l},{find:function(d){return a(this,d,arguments.length>1?arguments[1]:void 0)}}),i(o)},"7dd0":function(r,c,e){var n=e("23e7"),a=e("9ed3"),i=e("e163"),o=e("d2bb"),l=e("d44e"),d=e("9112"),u=e("6eeb"),y=e("b622"),h=e("c430"),g=e("3f8c"),f=e("ae93"),p=f.IteratorPrototype,_=f.BUGGY_SAFARI_ITERATORS,b=y("iterator"),w="keys",$="values",T="entries",R=function(){return this};r.exports=function(x,k,O,N,E,V,H){a(O,k,N);var U,I,Y,z=function(Q){if(Q===E&&ee)return ee;if(!_&&Q in L)return L[Q];switch(Q){case w:return function(){return new O(this,Q)};case $:return function(){return new O(this,Q)};case T:return function(){return new O(this,Q)}}return function(){return new O(this)}},K=k+" Iterator",W=!1,L=x.prototype,q=L[b]||L["@@iterator"]||E&&L[E],ee=!_&&q||z(E),ae=k=="Array"&&L.entries||q;if(ae&&(U=i(ae.call(new x)),p!==Object.prototype&&U.next&&(h||i(U)===p||(o?o(U,p):typeof U[b]!="function"&&d(U,b,R)),l(U,K,!0,!0),h&&(g[K]=R))),E==$&&q&&q.name!==$&&(W=!0,ee=function(){return q.call(this)}),h&&!H||L[b]===ee||d(L,b,ee),g[k]=ee,E)if(I={values:z($),keys:V?ee:z(w),entries:z(T)},H)for(Y in I)!_&&!W&&Y in L||u(L,Y,I[Y]);else n({target:k,proto:!0,forced:_||W},I);return I}},"7f9a":function(r,c,e){var n=e("da84"),a=e("8925"),i=n.WeakMap;r.exports=typeof i=="function"&&/native code/.test(a(i))},"825a":function(r,c,e){var n=e("861d");r.exports=function(a){if(!n(a))throw TypeError(String(a)+" is not an object");return a}},"83ab":function(r,c,e){var n=e("d039");r.exports=!n(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},8418:function(r,c,e){var n=e("c04e"),a=e("9bf2"),i=e("5c6c");r.exports=function(o,l,d){var u=n(l);u in o?a.f(o,u,i(0,d)):o[u]=d}},"861d":function(r,c){r.exports=function(e){return typeof e=="object"?e!==null:typeof e=="function"}},8925:function(r,c,e){var n=e("c6cd"),a=Function.toString;typeof n.inspectSource!="function"&&(n.inspectSource=function(i){return a.call(i)}),r.exports=n.inspectSource},"8aa5":function(r,c,e){var n=e("6547").charAt;r.exports=function(a,i,o){return i+(o?n(a,i).length:1)}},"8b2e":function(r,c,e){},"90e3":function(r,c){var e=0,n=Math.random();r.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++e+n).toString(36)}},9112:function(r,c,e){var n=e("83ab"),a=e("9bf2"),i=e("5c6c");r.exports=n?function(o,l,d){return a.f(o,l,i(1,d))}:function(o,l,d){return o[l]=d,o}},9263:function(r,c,e){var n=e("ad6d"),a=RegExp.prototype.exec,i=String.prototype.replace,o=a,l=function(){var y=/a/,h=/b*/g;return a.call(y,"a"),a.call(h,"a"),y.lastIndex!==0||h.lastIndex!==0}(),d=/()??/.exec("")[1]!==void 0,u=l||d;u&&(o=function(y){var h,g,f,p,_=this;return d&&(g=new RegExp("^"+_.source+"$(?!\\s)",n.call(_))),l&&(h=_.lastIndex),f=a.call(_,y),l&&f&&(_.lastIndex=_.global?f.index+f[0].length:h),d&&f&&f.length>1&&i.call(f[0],g,function(){for(p=1;p<arguments.length-2;p++)arguments[p]===void 0&&(f[p]=void 0)}),f}),r.exports=o},"94ca":function(r,c,e){var n=e("d039"),a=/#|\.prototype\./,i=function(y,h){var g=l[o(y)];return g==u||g!=d&&(typeof h=="function"?n(h):!!h)},o=i.normalize=function(y){return String(y).replace(a,".").toLowerCase()},l=i.data={},d=i.NATIVE="N",u=i.POLYFILL="P";r.exports=i},"9bdd":function(r,c,e){var n=e("825a");r.exports=function(a,i,o,l){try{return l?i(n(o)[0],o[1]):i(o)}catch(u){var d=a.return;throw d!==void 0&&n(d.call(a)),u}}},"9bf2":function(r,c,e){var n=e("83ab"),a=e("0cfb"),i=e("825a"),o=e("c04e"),l=Object.defineProperty;c.f=n?l:function(d,u,y){if(i(d),u=o(u,!0),i(y),a)try{return l(d,u,y)}catch{}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(d[u]=y.value),d}},"9d0d":function(r,c,e){var n=e("8b2e"),a=e.n(n);a.a},"9ed3":function(r,c,e){var n=e("ae93").IteratorPrototype,a=e("7c73"),i=e("5c6c"),o=e("d44e"),l=e("3f8c"),d=function(){return this};r.exports=function(u,y,h){var g=y+" Iterator";return u.prototype=a(n,{next:i(1,h)}),o(u,g,!1,!0),l[g]=d,u}},a4d3:function(r,c,e){var n=e("23e7"),a=e("da84"),i=e("d066"),o=e("c430"),l=e("83ab"),d=e("4930"),u=e("fdbf"),y=e("d039"),h=e("5135"),g=e("e8b5"),f=e("861d"),p=e("825a"),_=e("7b0b"),b=e("fc6a"),w=e("c04e"),$=e("5c6c"),T=e("7c73"),R=e("df75"),x=e("241c"),k=e("057f"),O=e("7418"),N=e("06cf"),E=e("9bf2"),V=e("d1e7"),H=e("9112"),U=e("6eeb"),I=e("5692"),Y=e("f772"),z=e("d012"),K=e("90e3"),W=e("b622"),L=e("c032"),q=e("746f"),ee=e("d44e"),ae=e("69f3"),Q=e("b727").forEach,X=Y("hidden"),ie="Symbol",t="prototype",m=W("toPrimitive"),v=ae.set,D=ae.getterFor(ie),S=Object[t],P=a.Symbol,B=i("JSON","stringify"),ne=N.f,G=E.f,J=k.f,oe=V.f,te=I("symbols"),Z=I("op-symbols"),se=I("string-to-symbol-registry"),fe=I("symbol-to-string-registry"),je=I("wks"),he=a.QObject,pe=!he||!he[t]||!he[t].findChild,ge=l&&y(function(){return T(G({},"a",{get:function(){return G(this,"a",{value:7}).a}})).a!=7})?function(M,A,j){var F=ne(S,A);F&&delete S[A],G(M,A,j),F&&M!==S&&G(S,A,F)}:G,De=function(M,A){var j=te[M]=T(P[t]);return v(j,{type:ie,tag:M,description:A}),l||(j.description=A),j},me=d&&typeof P.iterator=="symbol"?function(M){return typeof M=="symbol"}:function(M){return Object(M)instanceof P},le=function(M,A,j){M===S&&le(Z,A,j),p(M);var F=w(A,!0);return p(j),h(te,F)?(j.enumerable?(h(M,X)&&M[X][F]&&(M[X][F]=!1),j=T(j,{enumerable:$(0,!1)})):(h(M,X)||G(M,X,$(1,{})),M[X][F]=!0),ge(M,F,j)):G(M,F,j)},we=function(M,A){p(M);var j=b(A),F=R(j).concat(ye(j));return Q(F,function(re){l&&!ve.call(j,re)||le(M,re,j[re])}),M},Ne=function(M,A){return A===void 0?T(M):we(T(M),A)},ve=function(M){var A=w(M,!0),j=oe.call(this,A);return!(this===S&&h(te,A)&&!h(Z,A))&&(!(j||!h(this,A)||!h(te,A)||h(this,X)&&this[X][A])||j)},xe=function(M,A){var j=b(M),F=w(A,!0);if(j!==S||!h(te,F)||h(Z,F)){var re=ne(j,F);return!re||!h(te,F)||h(j,X)&&j[X][F]||(re.enumerable=!0),re}},Pe=function(M){var A=J(b(M)),j=[];return Q(A,function(F){h(te,F)||h(z,F)||j.push(F)}),j},ye=function(M){var A=M===S,j=J(A?Z:b(M)),F=[];return Q(j,function(re){!h(te,re)||A&&!h(S,re)||F.push(te[re])}),F};if(d||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var M=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,A=K(M),j=function(F){this===S&&j.call(Z,F),h(this,X)&&h(this[X],A)&&(this[X][A]=!1),ge(this,A,$(1,F))};return l&&pe&&ge(S,A,{configurable:!0,set:j}),De(A,M)},U(P[t],"toString",function(){return D(this).tag}),V.f=ve,E.f=le,N.f=xe,x.f=k.f=Pe,O.f=ye,l&&(G(P[t],"description",{configurable:!0,get:function(){return D(this).description}}),o||U(S,"propertyIsEnumerable",ve,{unsafe:!0}))),u||(L.f=function(M){return De(W(M),M)}),n({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:P}),Q(R(je),function(M){q(M)}),n({target:ie,stat:!0,forced:!d},{for:function(M){var A=String(M);if(h(se,A))return se[A];var j=P(A);return se[A]=j,fe[j]=A,j},keyFor:function(M){if(!me(M))throw TypeError(M+" is not a symbol");if(h(fe,M))return fe[M]},useSetter:function(){pe=!0},useSimple:function(){pe=!1}}),n({target:"Object",stat:!0,forced:!d,sham:!l},{create:Ne,defineProperty:le,defineProperties:we,getOwnPropertyDescriptor:xe}),n({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Pe,getOwnPropertySymbols:ye}),n({target:"Object",stat:!0,forced:y(function(){O.f(1)})},{getOwnPropertySymbols:function(M){return O.f(_(M))}}),B){var Ee=!d||y(function(){var M=P();return B([M])!="[null]"||B({a:M})!="{}"||B(Object(M))!="{}"});n({target:"JSON",stat:!0,forced:Ee},{stringify:function(M,A,j){for(var F,re=[M],ke=1;arguments.length>ke;)re.push(arguments[ke++]);if(F=A,(f(A)||M!==void 0)&&!me(M))return g(A)||(A=function(Le,ce){if(typeof F=="function"&&(ce=F.call(this,Le,ce)),!me(ce))return ce}),re[1]=A,B.apply(null,re)}})}P[t][m]||H(P[t],m,P[t].valueOf),ee(P,ie),z[X]=!0},a630:function(r,c,e){var n=e("23e7"),a=e("4df4"),i=e("1c7e"),o=!i(function(l){Array.from(l)});n({target:"Array",stat:!0,forced:o},{from:a})},a691:function(r,c){var e=Math.ceil,n=Math.floor;r.exports=function(a){return isNaN(a=+a)?0:(a>0?n:e)(a)}},a6da:function(r,c,e){var n={"./native":"7a50","./native.js":"7a50"};function a(o){var l=i(o);return e(l)}function i(o){if(!e.o(n,o)){var l=new Error("Cannot find module '"+o+"'");throw l.code="MODULE_NOT_FOUND",l}return n[o]}a.keys=function(){return Object.keys(n)},a.resolve=i,r.exports=a,a.id="a6da"},a9e3:function(r,c,e){var n=e("83ab"),a=e("da84"),i=e("94ca"),o=e("6eeb"),l=e("5135"),d=e("c6b6"),u=e("7156"),y=e("c04e"),h=e("d039"),g=e("7c73"),f=e("241c").f,p=e("06cf").f,_=e("9bf2").f,b=e("58a8").trim,w="Number",$=a[w],T=$.prototype,R=d(g(T))==w,x=function(V){var H,U,I,Y,z,K,W,L,q=y(V,!1);if(typeof q=="string"&&q.length>2){if(q=b(q),H=q.charCodeAt(0),H===43||H===45){if(U=q.charCodeAt(2),U===88||U===120)return NaN}else if(H===48){switch(q.charCodeAt(1)){case 66:case 98:I=2,Y=49;break;case 79:case 111:I=8,Y=55;break;default:return+q}for(z=q.slice(2),K=z.length,W=0;W<K;W++)if(L=z.charCodeAt(W),L<48||L>Y)return NaN;return parseInt(z,I)}}return+q};if(i(w,!$(" 0o1")||!$("0b1")||$("+0x1"))){for(var k,O=function(V){var H=arguments.length<1?0:V,U=this;return U instanceof O&&(R?h(function(){T.valueOf.call(U)}):d(U)!=w)?u(new $(x(H)),U,O):x(H)},N=n?f($):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),E=0;N.length>E;E++)l($,k=N[E])&&!l(O,k)&&_(O,k,p($,k));O.prototype=T,T.constructor=O,o(a,w,O)}},ad6d:function(r,c,e){var n=e("825a");r.exports=function(){var a=n(this),i="";return a.global&&(i+="g"),a.ignoreCase&&(i+="i"),a.multiline&&(i+="m"),a.dotAll&&(i+="s"),a.unicode&&(i+="u"),a.sticky&&(i+="y"),i}},ade3:function(r,c,e){function n(a,i,o){return i in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}e.d(c,"a",function(){return n})},ae93:function(r,c,e){var n,a,i,o=e("e163"),l=e("9112"),d=e("5135"),u=e("b622"),y=e("c430"),h=u("iterator"),g=!1,f=function(){return this};[].keys&&(i=[].keys(),"next"in i?(a=o(o(i)),a!==Object.prototype&&(n=a)):g=!0),n==null&&(n={}),y||d(n,h)||l(n,h,f),r.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},b041:function(r,c,e){var n=e("00ee"),a=e("f5df");r.exports=n?{}.toString:function(){return"[object "+a(this)+"]"}},b301:function(r,c,e){var n=e("d039");r.exports=function(a,i){var o=[][a];return!o||!n(function(){o.call(null,i||function(){throw 1},1)})}},b39a:function(r,c,e){var n=e("d066");r.exports=n("navigator","userAgent")||""},b622:function(r,c,e){var n=e("da84"),a=e("5692"),i=e("5135"),o=e("90e3"),l=e("4930"),d=e("fdbf"),u=a("wks"),y=n.Symbol,h=d?y:o;r.exports=function(g){return i(u,g)||(l&&i(y,g)?u[g]=y[g]:u[g]=h("Symbol."+g)),u[g]}},b64b:function(r,c,e){var n=e("23e7"),a=e("7b0b"),i=e("df75"),o=e("d039"),l=o(function(){i(1)});n({target:"Object",stat:!0,forced:l},{keys:function(d){return i(a(d))}})},b727:function(r,c,e){var n=e("f8c2"),a=e("44ad"),i=e("7b0b"),o=e("50c4"),l=e("65f0"),d=[].push,u=function(y){var h=y==1,g=y==2,f=y==3,p=y==4,_=y==6,b=y==5||_;return function(w,$,T,R){for(var x,k,O=i(w),N=a(O),E=n($,T,3),V=o(N.length),H=0,U=R||l,I=h?U(w,V):g?U(w,0):void 0;V>H;H++)if((b||H in N)&&(x=N[H],k=E(x,H,O),y)){if(h)I[H]=k;else if(k)switch(y){case 3:return!0;case 5:return x;case 6:return H;case 2:d.call(I,x)}else if(p)return!1}return _?-1:f||p?p:I}};r.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},beb7:function(r,c,e){},c032:function(r,c,e){var n=e("b622");c.f=n},c04e:function(r,c,e){var n=e("861d");r.exports=function(a,i){if(!n(a))return a;var o,l;if(i&&typeof(o=a.toString)=="function"&&!n(l=o.call(a))||typeof(o=a.valueOf)=="function"&&!n(l=o.call(a))||!i&&typeof(o=a.toString)=="function"&&!n(l=o.call(a)))return l;throw TypeError("Can't convert object to primitive value")}},c430:function(r,c){r.exports=!1},c6b6:function(r,c){var e={}.toString;r.exports=function(n){return e.call(n).slice(8,-1)}},c6cd:function(r,c,e){var n=e("da84"),a=e("ce4e"),i="__core-js_shared__",o=n[i]||a(i,{});r.exports=o},c8ba:function(r,c){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch{typeof window=="object"&&(e=window)}r.exports=e},ca84:function(r,c,e){var n=e("5135"),a=e("fc6a"),i=e("4d64").indexOf,o=e("d012");r.exports=function(l,d){var u,y=a(l),h=0,g=[];for(u in y)!n(o,u)&&n(y,u)&&g.push(u);for(;d.length>h;)n(y,u=d[h++])&&(~i(g,u)||g.push(u));return g}},cc12:function(r,c,e){var n=e("da84"),a=e("861d"),i=n.document,o=a(i)&&a(i.createElement);r.exports=function(l){return o?i.createElement(l):{}}},ce4e:function(r,c,e){var n=e("da84"),a=e("9112");r.exports=function(i,o){try{a(n,i,o)}catch{n[i]=o}return o}},ce5f:function(r,c,e){var n=e("18e6"),a=e.n(n);a.a},d012:function(r,c){r.exports={}},d039:function(r,c){r.exports=function(e){try{return!!e()}catch{return!0}}},d066:function(r,c,e){var n=e("428f"),a=e("da84"),i=function(o){return typeof o=="function"?o:void 0};r.exports=function(o,l){return arguments.length<2?i(n[o])||i(a[o]):n[o]&&n[o][l]||a[o]&&a[o][l]}},d1e7:function(r,c,e){var n={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,i=a&&!n.call({1:2},1);c.f=i?function(o){var l=a(this,o);return!!l&&l.enumerable}:n},d28b:function(r,c,e){var n=e("746f");n("iterator")},d2bb:function(r,c,e){var n=e("825a"),a=e("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i,o=!1,l={};try{i=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,i.call(l,[]),o=l instanceof Array}catch{}return function(d,u){return n(d),a(u),o?i.call(d,u):d.__proto__=u,d}}():void 0)},d3b7:function(r,c,e){var n=e("00ee"),a=e("6eeb"),i=e("b041");n||a(Object.prototype,"toString",i,{unsafe:!0})},d44e:function(r,c,e){var n=e("9bf2").f,a=e("5135"),i=e("b622"),o=i("toStringTag");r.exports=function(l,d,u){l&&!a(l=u?l:l.prototype,o)&&n(l,o,{configurable:!0,value:d})}},d784:function(r,c,e){var n=e("9112"),a=e("6eeb"),i=e("d039"),o=e("b622"),l=e("9263"),d=o("species"),u=!i(function(){var h=/./;return h.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(h,"$<a>")!=="7"}),y=!i(function(){var h=/(?:)/,g=h.exec;h.exec=function(){return g.apply(this,arguments)};var f="ab".split(h);return f.length!==2||f[0]!=="a"||f[1]!=="b"});r.exports=function(h,g,f,p){var _=o(h),b=!i(function(){var k={};return k[_]=function(){return 7},""[h](k)!=7}),w=b&&!i(function(){var k=!1,O=/a/;return h==="split"&&(O={},O.constructor={},O.constructor[d]=function(){return O},O.flags="",O[_]=/./[_]),O.exec=function(){return k=!0,null},O[_](""),!k});if(!b||!w||h==="replace"&&!u||h==="split"&&!y){var $=/./[_],T=f(_,""[h],function(k,O,N,E,V){return O.exec===l?b&&!V?{done:!0,value:$.call(O,N,E)}:{done:!0,value:k.call(N,O,E)}:{done:!1}}),R=T[0],x=T[1];a(String.prototype,h,R),a(RegExp.prototype,_,g==2?function(k,O){return x.call(k,this,O)}:function(k){return x.call(k,this)}),p&&n(RegExp.prototype[_],"sham",!0)}}},d81d:function(r,c,e){var n=e("23e7"),a=e("b727").map,i=e("d039"),o=e("1dde"),l=o("map"),d=l&&!i(function(){[].map.call({length:-1,0:1},function(u){throw u})});n({target:"Array",proto:!0,forced:!l||!d},{map:function(u){return a(this,u,arguments.length>1?arguments[1]:void 0)}})},da84:function(r,c,e){(function(n){var a=function(i){return i&&i.Math==Math&&i};r.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof n=="object"&&n)||Function("return this")()}).call(this,e("c8ba"))},dbb4:function(r,c,e){var n=e("23e7"),a=e("83ab"),i=e("56ef"),o=e("fc6a"),l=e("06cf"),d=e("8418");n({target:"Object",stat:!0,sham:!a},{getOwnPropertyDescriptors:function(u){for(var y,h,g=o(u),f=l.f,p=i(g),_={},b=0;p.length>b;)h=f(g,y=p[b++]),h!==void 0&&d(_,y,h);return _}})},ddb0:function(r,c,e){var n=e("da84"),a=e("fdbc"),i=e("e260"),o=e("9112"),l=e("b622"),d=l("iterator"),u=l("toStringTag"),y=i.values;for(var h in a){var g=n[h],f=g&&g.prototype;if(f){if(f[d]!==y)try{o(f,d,y)}catch{f[d]=y}if(f[u]||o(f,u,h),a[h]){for(var p in i)if(f[p]!==i[p])try{o(f,p,i[p])}catch{f[p]=i[p]}}}}},df75:function(r,c,e){var n=e("ca84"),a=e("7839");r.exports=Object.keys||function(i){return n(i,a)}},e01a:function(r,c,e){var n=e("23e7"),a=e("83ab"),i=e("da84"),o=e("5135"),l=e("861d"),d=e("9bf2").f,u=e("e893"),y=i.Symbol;if(a&&typeof y=="function"&&(!("description"in y.prototype)||y().description!==void 0)){var h={},g=function(){var w=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),$=this instanceof g?new y(w):w===void 0?y():y(w);return w===""&&(h[$]=!0),$};u(g,y);var f=g.prototype=y.prototype;f.constructor=g;var p=f.toString,_=String(y("test"))=="Symbol(test)",b=/^Symbol\((.*)\)[^)]+$/;d(f,"description",{configurable:!0,get:function(){var w=l(this)?this.valueOf():this,$=p.call(w);if(o(h,w))return"";var T=_?$.slice(7,-1):$.replace(b,"$1");return T===""?void 0:T}}),n({global:!0,forced:!0},{Symbol:g})}},e163:function(r,c,e){var n=e("5135"),a=e("7b0b"),i=e("f772"),o=e("e177"),l=i("IE_PROTO"),d=Object.prototype;r.exports=o?Object.getPrototypeOf:function(u){return u=a(u),n(u,l)?u[l]:typeof u.constructor=="function"&&u instanceof u.constructor?u.constructor.prototype:u instanceof Object?d:null}},e177:function(r,c,e){var n=e("d039");r.exports=!n(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},e260:function(r,c,e){var n=e("fc6a"),a=e("44d2"),i=e("3f8c"),o=e("69f3"),l=e("7dd0"),d="Array Iterator",u=o.set,y=o.getterFor(d);r.exports=l(Array,"Array",function(h,g){u(this,{type:d,target:n(h),index:0,kind:g})},function(){var h=y(this),g=h.target,f=h.kind,p=h.index++;return!g||p>=g.length?(h.target=void 0,{value:void 0,done:!0}):f=="keys"?{value:p,done:!1}:f=="values"?{value:g[p],done:!1}:{value:[p,g[p]],done:!1}},"values"),i.Arguments=i.Array,a("keys"),a("values"),a("entries")},e439:function(r,c,e){var n=e("23e7"),a=e("d039"),i=e("fc6a"),o=e("06cf").f,l=e("83ab"),d=a(function(){o(1)}),u=!l||d;n({target:"Object",stat:!0,forced:u,sham:!l},{getOwnPropertyDescriptor:function(y,h){return o(i(y),h)}})},e893:function(r,c,e){var n=e("5135"),a=e("56ef"),i=e("06cf"),o=e("9bf2");r.exports=function(l,d){for(var u=a(d),y=o.f,h=i.f,g=0;g<u.length;g++){var f=u[g];n(l,f)||y(l,f,h(d,f))}}},e8b5:function(r,c,e){var n=e("c6b6");r.exports=Array.isArray||function(a){return n(a)=="Array"}},e95a:function(r,c,e){var n=e("b622"),a=e("3f8c"),i=n("iterator"),o=Array.prototype;r.exports=function(l){return l!==void 0&&(a.Array===l||o[i]===l)}},f5df:function(r,c,e){var n=e("00ee"),a=e("c6b6"),i=e("b622"),o=i("toStringTag"),l=a(function(){return arguments}())=="Arguments",d=function(u,y){try{return u[y]}catch{}};r.exports=n?a:function(u){var y,h,g;return u===void 0?"Undefined":u===null?"Null":typeof(h=d(y=Object(u),o))=="string"?h:l?a(y):(g=a(y))=="Object"&&typeof y.callee=="function"?"Arguments":g}},f6fd:function(r,c){(function(e){var n="currentScript",a=e.getElementsByTagName("script");n in e||Object.defineProperty(e,n,{get:function(){try{throw new Error}catch(l){var i,o=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(l.stack)||[!1])[1];for(i in a)if(a[i].src==o||a[i].readyState=="interactive")return a[i];return null}}})})(document)},f772:function(r,c,e){var n=e("5692"),a=e("90e3"),i=n("keys");r.exports=function(o){return i[o]||(i[o]=a(o))}},f8c2:function(r,c,e){var n=e("1c0b");r.exports=function(a,i,o){if(n(a),i===void 0)return a;switch(o){case 0:return function(){return a.call(i)};case 1:return function(l){return a.call(i,l)};case 2:return function(l,d){return a.call(i,l,d)};case 3:return function(l,d,u){return a.call(i,l,d,u)}}return function(){return a.apply(i,arguments)}}},fb15:function(r,c,e){var n;e.r(c),typeof window<"u"&&(e("f6fd"),(n=window.document.currentScript)&&(n=n.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(e.p=n[1]));var a=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("div",{staticClass:"vue-daterange-picker",class:{inline:t.opens==="inline"}},[v("div",{ref:"toggle",class:t.controlContainerClass,on:{click:t.onClickPicker}},[t._t("input",[v("i",{staticClass:"glyphicon glyphicon-calendar fa fa-calendar"}),t._v(" "),v("span",[t._v(t._s(t.rangeText))]),v("b",{staticClass:"caret"})],{startDate:t.start,endDate:t.end,ranges:t.ranges,rangeText:t.rangeText})],2),v("transition",{attrs:{name:"slide-fade",mode:"out-in"}},[t.open||t.opens==="inline"?v("div",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],ref:"dropdown",staticClass:"daterangepicker ltr",class:t.pickerStyles},[t._t("header",null,{rangeText:t.rangeText,locale:t.locale,clickCancel:t.clickCancel,clickApply:t.clickedApply,in_selection:t.in_selection,autoApply:t.autoApply}),v("div",{staticClass:"calendars"},[t.showRanges?t._t("ranges",[v("calendar-ranges",{attrs:{"always-show-calendars":t.alwaysShowCalendars,"locale-data":t.locale,ranges:t.ranges,selected:{startDate:t.start,endDate:t.end}},on:{"click-range":t.clickRange,"show-custom-range":function(D){t.showCustomRangeCalendars=!0}}})],{startDate:t.start,endDate:t.end,ranges:t.ranges,clickRange:t.clickRange}):t._e(),t.showCalendars?v("div",{staticClass:"calendars-container"},[v("div",{staticClass:"drp-calendar col left",class:{single:t.singleDatePicker}},[t._e(),v("div",{staticClass:"calendar-table"},[v("calendar",{attrs:{monthDate:t.monthDate,"locale-data":t.locale,start:t.start,end:t.end,minDate:t.min,maxDate:t.max,"show-dropdowns":t.showDropdowns,"date-format":t.dateFormatFn,showWeekNumbers:t.showWeekNumbers},on:{"change-month":t.changeLeftMonth,"date-click":t.dateClick,"hover-date":t.hoverDate},scopedSlots:t._u([{key:"date-slot",fn:function(D){return t._t("date",null,null,D)}}],null,!0)})],1),t.timePicker&&t.start?v("calendar-time",{attrs:{"miniute-increment":t.timePickerIncrement,hour24:t.timePicker24Hour,"second-picker":t.timePickerSeconds,"current-time":t.start,readonly:t.readonly},on:{update:t.onUpdateStartTime}}):t._e()],1),t.singleDatePicker?t._e():v("div",{staticClass:"drp-calendar col right"},[t._e(),v("div",{staticClass:"calendar-table"},[v("calendar",{attrs:{monthDate:t.nextMonthDate,"locale-data":t.locale,start:t.start,end:t.end,minDate:t.min,maxDate:t.max,"show-dropdowns":t.showDropdowns,"date-format":t.dateFormatFn,showWeekNumbers:t.showWeekNumbers},on:{"change-month":t.changeRightMonth,"date-click":t.dateClick,"hover-date":t.hoverDate},scopedSlots:t._u([{key:"date-slot",fn:function(D){return t._t("date",null,null,D)}}],null,!0)})],1),t.timePicker&&t.end?v("calendar-time",{attrs:{"miniute-increment":t.timePickerIncrement,hour24:t.timePicker24Hour,"second-picker":t.timePickerSeconds,"current-time":t.end,readonly:t.readonly},on:{update:t.onUpdateEndTime}}):t._e()],1)]):t._e()],2),t._t("footer",[t.autoApply?t._e():v("div",{staticClass:"drp-buttons"},[t.showCalendars?v("span",{staticClass:"drp-selected"},[t._v(t._s(t.rangeText))]):t._e(),t.readonly?t._e():v("button",{staticClass:"cancelBtn btn btn-sm btn-secondary",attrs:{type:"button"},on:{click:t.clickCancel}},[t._v(t._s(t.locale.cancelLabel)+" ")]),t.readonly?t._e():v("button",{staticClass:"applyBtn btn btn-sm btn-success",attrs:{disabled:t.in_selection,type:"button"},on:{click:t.clickedApply}},[t._v(t._s(t.locale.applyLabel)+" ")])])],{rangeText:t.rangeText,locale:t.locale,clickCancel:t.clickCancel,clickApply:t.clickedApply,in_selection:t.in_selection,autoApply:t.autoApply})],2):t._e()])],1)},i=[],o=(e("a4d3"),e("4de4"),e("7db0"),e("a9e3"),e("e439"),e("dbb4"),e("b64b"),e("159b"),e("53ca"));function l(t){if(Array.isArray(t)){for(var m=0,v=new Array(t.length);m<t.length;m++)v[m]=t[m];return v}}e("e01a"),e("d28b"),e("a630"),e("e260"),e("d3b7"),e("25f0"),e("3ca3"),e("ddb0");function d(t){if(Symbol.iterator in Object(t)||Object.prototype.toString.call(t)==="[object Arguments]")return Array.from(t)}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function y(t){return l(t)||d(t)||u()}var h=e("ade3"),g=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"native";return t instanceof Object?t:typeof t=="string"||t instanceof String?e("a6da")("./"+t).default:void 0},f={props:{dateUtil:{type:[Object,String],default:"native"}},beforeCreate:function(){this.$dateUtil=g("native")}},p=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("table",{staticClass:"table-condensed"},[v("thead",[v("tr",[v("th",{staticClass:"prev available",attrs:{tabindex:"0"},on:{click:t.prevMonthClick}},[v("span")]),t.showDropdowns?v("th",{staticClass:"month",attrs:{colspan:t.showWeekNumbers?6:5}},[v("div",{staticClass:"row mx-1"},[v("select",{directives:[{name:"model",rawName:"v-model",value:t.month,expression:"month"}],staticClass:"monthselect col",on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.month=D.target.multiple?S:S[0]}}},t._l(t.months,function(D,S){return v("option",{key:S,attrs:{disabled:!D.enabled},domProps:{value:D.value+1}},[t._v(t._s(D.label))])}),0),v("input",{directives:[{name:"model",rawName:"v-model",value:t.year,expression:"year"}],ref:"yearSelect",staticClass:"yearselect col",attrs:{type:"number"},domProps:{value:t.year},on:{blur:t.checkYear,input:function(D){D.target.composing||(t.year=D.target.value)}}})])]):v("th",{staticClass:"month",attrs:{colspan:t.showWeekNumbers?6:5}},[t._v(t._s(t.monthName)+" "+t._s(t.year))]),v("th",{staticClass:"next available",attrs:{tabindex:"0"},on:{click:t.nextMonthClick}},[v("span")])])]),v("tbody",[v("tr",[t.showWeekNumbers?v("th",{staticClass:"week"},[t._v(t._s(t.locale.weekLabel))]):t._e(),t._l(t.locale.daysOfWeek,function(D,S){return v("th",{key:S},[t._v(t._s(D))])})],2),t._l(t.calendar,function(D,S){return v("tr",{key:S},[t.showWeekNumbers&&(S%7||S===0)?v("td",{staticClass:"week"},[t._v(" "+t._s(t.$dateUtil.weekNumber(D[0]))+" ")]):t._e(),t._l(D,function(P,B){return v("td",{key:B,class:t.dayClass(P),attrs:{"data-date":P.toISOString().substring(0,10)},on:{click:function(ne){return t.$emit("date-click",P)},mouseover:function(ne){return t.$emit("hover-date",P)}}},[t._t("date-slot",[t._v(" "+t._s(P.getDate())+" ")],{date:P})],2)})],2)})],2)])},_=[],b=(e("d81d"),{mixins:[f],name:"calendar",props:{monthDate:Date,localeData:Object,start:Date,end:Date,minDate:Date,maxDate:Date,showDropdowns:{type:Boolean,default:!1},showWeekNumbers:{type:Boolean,default:!1},dateFormat:{type:Function,default:null}},data:function(){var t=this.monthDate||this.start||new Date;return{currentMonthDate:t,year_text:t.getFullYear()}},methods:{prevMonthClick:function(){this.changeMonthDate(this.$dateUtil.prevMonth(this.currentMonthDate))},nextMonthClick:function(){this.changeMonthDate(this.$dateUtil.nextMonth(this.currentMonthDate))},changeMonthDate:function(t){var m=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],v=this.$dateUtil.yearMonth(this.currentMonthDate);this.currentMonthDate=this.$dateUtil.validateDateRange(t,this.minDate,this.maxDate),m&&v!==this.$dateUtil.yearMonth(this.currentMonthDate)&&this.$emit("change-month",{month:this.currentMonthDate.getMonth()+1,year:this.currentMonthDate.getFullYear()}),this.checkYear()},dayClass:function(t){var m=new Date(t);m.setHours(0,0,0,0);var v=new Date(this.start);v.setHours(0,0,0,0);var D=new Date(this.end);D.setHours(0,0,0,0);var S=new Date(m);S.setHours(23,59,59,999);var P={off:t.getMonth()+1!==this.month,weekend:t.getDay()===6||t.getDay()===0,today:m.setHours(0,0,0,0)==new Date().setHours(0,0,0,0),active:m.setHours(0,0,0,0)==new Date(this.start).setHours(0,0,0,0)||m.setHours(0,0,0,0)==new Date(this.end).setHours(0,0,0,0),"in-range":m>=v&&m<=D,"start-date":m.getTime()===v.getTime(),"end-date":m.getTime()===D.getTime(),disabled:this.minDate&&S.getTime()<this.minDate.getTime()||this.maxDate&&m.getTime()>this.maxDate.getTime()};return this.dateFormat?this.dateFormat(P,t):P},checkYear:function(){var t=this;this.$refs.yearSelect!==document.activeElement&&this.$nextTick(function(){t.year_text=t.monthDate.getFullYear()})}},computed:{monthName:function(){return this.locale.monthNames[this.currentMonthDate.getMonth()]},year:{get:function(){return this.year_text},set:function(t){this.year_text=t;var m=this.$dateUtil.validateDateRange(new Date(t,this.month,1),this.minDate,this.maxDate);this.$dateUtil.isValidDate(m)&&this.$emit("change-month",{month:m.getMonth(),year:m.getFullYear()})}},month:{get:function(){return this.currentMonthDate.getMonth()+1},set:function(t){var m=this.$dateUtil.validateDateRange(new Date(this.year,t-1,1),this.minDate,this.maxDate);this.$emit("change-month",{month:m.getMonth()+1,year:m.getFullYear()})}},calendar:function(){for(var t=this.month,m=this.currentMonthDate.getFullYear(),v=new Date(m,t-1,1),D=this.$dateUtil.prevMonth(v).getMonth()+1,S=this.$dateUtil.prevMonth(v).getFullYear(),P=new Date(S,t-1,0).getDate(),B=v.getDay(),ne=[],G=0;G<6;G++)ne[G]=[];var J=P-B+this.locale.firstDay+1;J>P&&(J-=7),B===this.locale.firstDay&&(J=P-6);for(var oe=new Date(S,D-1,J,12,0,0),te=0,Z=0,se=0;te<42;te++,Z++,oe.setDate(oe.getDate()+1))te>0&&Z%7===0&&(Z=0,se++),ne[se][Z]=new Date(oe.getTime());return ne},months:function(){var t=this;return this.locale.monthNames.map(function(m,v){return{label:m,value:v,enabled:(!t.maxDate||t.maxDate>=new Date(t.year,v,1))&&(!t.minDate||t.minDate<=new Date(t.year,v+1,0))}})},locale:function(){return this.$dateUtil.localeData(this.localeData)}},watch:{monthDate:function(t){this.currentMonthDate.getTime()!==t.getTime()&&this.changeMonthDate(t,!1)}}}),w=b;e("9d0d");function $(t,m,v,D,S,P,B,ne){var G,J=typeof t=="function"?t.options:t;if(m&&(J.render=m,J.staticRenderFns=v,J._compiled=!0),D&&(J.functional=!0),P&&(J._scopeId="data-v-"+P),B?(G=function(Z){Z=Z||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,Z||typeof __VUE_SSR_CONTEXT__>"u"||(Z=__VUE_SSR_CONTEXT__),S&&S.call(this,Z),Z&&Z._registeredComponents&&Z._registeredComponents.add(B)},J._ssrRegister=G):S&&(G=ne?function(){S.call(this,this.$root.$options.shadowRoot)}:S),G)if(J.functional){J._injectStyles=G;var oe=J.render;J.render=function(Z,se){return G.call(se),oe(Z,se)}}else{var te=J.beforeCreate;J.beforeCreate=te?[].concat(te,G):[G]}return{exports:t,options:J}}var T=$(w,p,_,!1,null,"98ac2448",null),R=T.exports,x=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("div",{staticClass:"calendar-time"},[v("select",{directives:[{name:"model",rawName:"v-model",value:t.hour,expression:"hour"}],staticClass:"hourselect form-control mr-1",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.hour=D.target.multiple?S:S[0]}}},t._l(t.hours,function(D){return v("option",{key:D,domProps:{value:D}},[t._v(t._s(t._f("formatNumber")(D)))])}),0),t._v(" :"),v("select",{directives:[{name:"model",rawName:"v-model",value:t.minute,expression:"minute"}],staticClass:"minuteselect form-control ml-1",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.minute=D.target.multiple?S:S[0]}}},t._l(t.minutes,function(D){return v("option",{key:D,domProps:{value:D}},[t._v(t._s(t._f("formatNumber")(D)))])}),0),t.secondPicker?[t._v(" :"),v("select",{directives:[{name:"model",rawName:"v-model",value:t.second,expression:"second"}],staticClass:"secondselect form-control ml-1",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.second=D.target.multiple?S:S[0]}}},t._l(60,function(D){return v("option",{key:D-1,domProps:{value:D-1}},[t._v(t._s(t._f("formatNumber")(D-1)))])}),0)]:t._e(),t.hour24?t._e():v("select",{directives:[{name:"model",rawName:"v-model",value:t.ampm,expression:"ampm"}],staticClass:"ampmselect",attrs:{disabled:t.readonly},on:{change:function(D){var S=Array.prototype.filter.call(D.target.options,function(P){return P.selected}).map(function(P){var B="_value"in P?P._value:P.value;return B});t.ampm=D.target.multiple?S:S[0]}}},[v("option",{attrs:{value:"AM"}},[t._v("AM")]),v("option",{attrs:{value:"PM"}},[t._v("PM")])])],2)},k=[],O={filters:{formatNumber:function(t){return t<10?"0"+t.toString():t.toString()}},props:{miniuteIncrement:{type:Number,default:5},hour24:{type:Boolean,default:!0},secondPicker:{type:Boolean,default:!1},currentTime:{default:function(){return new Date}},readonly:{type:Boolean,default:!1}},data:function(){var t=this.currentTime?this.currentTime:new Date,m=t.getHours();return{hour:this.hour24?m:m%12||12,minute:t.getMinutes()-t.getMinutes()%this.miniuteIncrement,second:t.getSeconds(),ampm:m<12?"AM":"PM"}},computed:{hours:function(){for(var t=[],m=this.hour24?24:12,v=0;v<m;v++)t.push(this.hour24?v:v+1);return t},minutes:function(){for(var t=[],m=60,v=0;v<m;v+=this.miniuteIncrement)t.push(v);return t}},watch:{hour:function(){this.onChange()},minute:function(){this.onChange()},second:function(){this.onChange()},ampm:function(){this.onChange()}},methods:{getHour:function(){return this.hour24?this.hour:this.hour===12?this.ampm==="AM"?0:12:this.hour+(this.ampm==="PM"?12:0)},onChange:function(){this.$emit("update",{hours:this.getHour(),minutes:this.minute,seconds:this.second})}}},N=O,E=$(N,x,k,!1,null,null,null),V=E.exports,H=function(){var t=this,m=t.$createElement,v=t._self._c||m;return v("div",{staticClass:"ranges"},[t.ranges?v("ul",[t._l(t.listedRanges,function(D){return v("li",{key:D.label,class:t.range_class(D),attrs:{"data-range-key":D.label,tabindex:"0"},on:{click:function(S){return t.clickRange(D.value)}}},[t._v(t._s(D.label)+" ")])}),t.showCustomRangeLabel?v("li",{class:{active:t.customRangeActive||!t.selectedRange},attrs:{tabindex:"0"},on:{click:t.clickCustomRange}},[t._v(" "+t._s(t.localeData.customRangeLabel)+" ")]):t._e()],2):t._e()])},U=[],I={mixins:[f],props:{ranges:Object,selected:Object,localeData:Object,alwaysShowCalendars:Boolean},data:function(){return{customRangeActive:!1}},methods:{clickRange:function(t){this.customRangeActive=!1,this.$emit("click-range",t)},clickCustomRange:function(){this.customRangeActive=!0,this.$emit("show-custom-range")},range_class:function(t){return{active:t.selected===!0}}},computed:{listedRanges:function(){var t=this;return!!this.ranges&&Object.keys(this.ranges).map(function(m){return{label:m,value:t.ranges[m],selected:t.$dateUtil.isSame(t.selected.startDate,t.ranges[m][0])&&t.$dateUtil.isSame(t.selected.endDate,t.ranges[m][1])}})},selectedRange:function(){return this.listedRanges.find(function(t){return t.selected===!0})},showCustomRangeLabel:function(){return!this.alwaysShowCalendars}}},Y=I,z=$(Y,H,U,!1,null,null,null),K=z.exports,W={inserted:function(t,m,v){var D=v.context;if(D.appendToBody){var S=D.$refs.toggle.getBoundingClientRect(),P=S.height,B=S.top,ne=S.left,G=S.width,J=S.right;t.unbindPosition=D.calculatePosition(t,D,{width:G,top:window.scrollY+B+P,left:window.scrollX+ne,right:J}),document.body.appendChild(t)}else D.$el.appendChild(t)},unbind:function(t,m,v){var D=v.context;D.appendToBody&&(t.unbindPosition&&typeof t.unbindPosition=="function"&&t.unbindPosition(),t.parentNode&&t.parentNode.removeChild(t))}};function L(t,m){var v=Object.keys(t);if(Object.getOwnPropertySymbols){var D=Object.getOwnPropertySymbols(t);m&&(D=D.filter(function(S){return Object.getOwnPropertyDescriptor(t,S).enumerable})),v.push.apply(v,D)}return v}function q(t){for(var m=1;m<arguments.length;m++){var v=arguments[m]!=null?arguments[m]:{};m%2?L(Object(v),!0).forEach(function(D){Object(h.a)(t,D,v[D])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(v)):L(Object(v)).forEach(function(D){Object.defineProperty(t,D,Object.getOwnPropertyDescriptor(v,D))})}return t}var ee={inheritAttrs:!1,components:{Calendar:R,CalendarTime:V,CalendarRanges:K},mixins:[f],directives:{appendToBody:W},model:{prop:"dateRange",event:"update"},props:{minDate:{type:[String,Date],default:function(){return null}},maxDate:{type:[String,Date],default:function(){return null}},showWeekNumbers:{type:Boolean,default:!1},linkedCalendars:{type:Boolean,default:!0},singleDatePicker:{type:[Boolean,String],default:!1},showDropdowns:{type:Boolean,default:!1},timePicker:{type:Boolean,default:!1},timePickerIncrement:{type:Number,default:5},timePicker24Hour:{type:Boolean,default:!0},timePickerSeconds:{type:Boolean,default:!1},autoApply:{type:Boolean,default:!1},localeData:{type:Object,default:function(){return{}}},dateRange:{type:[Object],default:null,required:!0},ranges:{type:[Object,Boolean],default:function(){var t=new Date;t.setHours(0,0,0,0);var m=new Date;m.setHours(11,59,59,999);var v=new Date;v.setDate(t.getDate()-1),v.setHours(0,0,0,0);var D=new Date;D.setDate(t.getDate()-1),D.setHours(11,59,59,999);var S=new Date(t.getFullYear(),t.getMonth(),1),P=new Date(t.getFullYear(),t.getMonth()+1,0,11,59,59,999);return{Today:[t,m],Yesterday:[v,D],"This month":[S,P],"This year":[new Date(t.getFullYear(),0,1),new Date(t.getFullYear(),11,31,11,59,59,999)],"Last month":[new Date(t.getFullYear(),t.getMonth()-1,1),new Date(t.getFullYear(),t.getMonth(),0,11,59,59,999)]}}},opens:{type:String,default:"center"},dateFormat:Function,alwaysShowCalendars:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},controlContainerClass:{type:[Object,String],default:"form-control reportrange-text"},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(t,m,v){var D=v.width,S=v.top,P=v.left,B=v.right;m.opens==="center"?t.style.left=P+D/2+"px":m.opens==="left"?t.style.right=window.innerWidth-B+"px":m.opens==="right"&&(t.style.left=P+"px"),t.style.top=S+"px"}},closeOnEsc:{type:Boolean,default:!0},readonly:{type:Boolean}},data:function(){var t=g(),m={locale:t.localeData(q({},this.localeData))},v=this.dateRange.startDate||null,D=this.dateRange.endDate||null;if(m.monthDate=v?new Date(v):new Date,m.nextMonthDate=t.nextMonth(m.monthDate),m.start=v?new Date(v):null,this.singleDatePicker&&this.singleDatePicker!=="range"?m.end=m.start:m.end=D?new Date(D):null,m.in_selection=!1,m.open=!1,m.showCustomRangeCalendars=!1,m.locale.firstDay!==0){for(var S=m.locale.firstDay,P=y(m.locale.daysOfWeek);S>0;)P.push(P.shift()),S--;m.locale.daysOfWeek=P}return m},methods:{selectMonthDate:function(){var t=this.end||new Date;this.singleDatePicker!==!1?this.changeLeftMonth({year:t.getFullYear(),month:t.getMonth()+1}):this.changeRightMonth({year:t.getFullYear(),month:t.getMonth()+1})},dateFormatFn:function(t,m){var v=new Date(m);v.setHours(0,0,0,0);var D=new Date(this.start);D.setHours(0,0,0,0);var S=new Date(this.end);return S.setHours(0,0,0,0),t["in-range"]=v>=D&&v<=S,this.dateFormat?this.dateFormat(t,m):t},changeLeftMonth:function(t){var m=new Date(t.year,t.month-1,1);this.monthDate=m,(this.linkedCalendars||this.$dateUtil.yearMonth(this.monthDate)>=this.$dateUtil.yearMonth(this.nextMonthDate))&&(this.nextMonthDate=this.$dateUtil.validateDateRange(this.$dateUtil.nextMonth(m),this.minDate,this.maxDate),this.singleDatePicker||this.$dateUtil.yearMonth(this.monthDate)!==this.$dateUtil.yearMonth(this.nextMonthDate)||(this.monthDate=this.$dateUtil.validateDateRange(this.$dateUtil.prevMonth(this.monthDate),this.minDate,this.maxDate))),this.$emit("change-month",this.monthDate,0)},changeRightMonth:function(t){var m=new Date(t.year,t.month-1,1);this.nextMonthDate=m,(this.linkedCalendars||this.$dateUtil.yearMonth(this.nextMonthDate)<=this.$dateUtil.yearMonth(this.monthDate))&&(this.monthDate=this.$dateUtil.validateDateRange(this.$dateUtil.prevMonth(m),this.minDate,this.maxDate),this.$dateUtil.yearMonth(this.monthDate)===this.$dateUtil.yearMonth(this.nextMonthDate)&&(this.nextMonthDate=this.$dateUtil.validateDateRange(this.$dateUtil.nextMonth(this.nextMonthDate),this.minDate,this.maxDate))),this.$dateUtil.yearMonth(this.monthDate)===this.$dateUtil.yearMonth(this.nextMonthDate)&&(this.nextMonthDate=this.$dateUtil.nextMonth(this.nextMonthDate)),this.$emit("change-month",this.nextMonthDate,1)},normalizeDatetime:function(t,m){var v=new Date(t);return this.timePicker&&m&&(v.setHours(m.getHours()),v.setMinutes(m.getMinutes()),v.setSeconds(m.getSeconds()),v.setMilliseconds(m.getMilliseconds())),v},dateClick:function(t){if(this.readonly)return!1;this.in_selection?(this.in_selection=!1,this.$emit("finish-selection",t),this.onSelect(),this.autoApply&&this.clickedApply()):(this.start=this.normalizeDatetime(t,this.start),this.end=this.normalizeDatetime(t,this.end),this.singleDatePicker&&this.singleDatePicker!=="range"?(this.onSelect(),this.autoApply&&this.clickedApply()):(this.in_selection=this.end,this.$emit("start-selection",this.start)))},hoverDate:function(t){if(this.readonly)return!1;var m=this.normalizeDatetime(t,this.end),v=this.normalizeDatetime(t,this.start);this.in_selection&&(this.in_selection<=m&&(this.end=m),this.in_selection>=v&&(this.start=v)),this.$emit("hover-date",t)},onClickPicker:function(){this.disabled||this.togglePicker(null,!0)},togglePicker:function(t,m){this.open=typeof t=="boolean"?t:!this.open,m===!0&&this.$emit("toggle",this.open,this.togglePicker)},clickedApply:function(){this.togglePicker(!1,!0),this.$emit("update",{startDate:this.start,endDate:this.singleDatePicker&&this.singleDatePicker!=="range"?this.start:this.end})},clickCancel:function(){if(this.open){var t=this.dateRange.startDate,m=this.dateRange.endDate;this.start=t?new Date(t):null,this.end=m?new Date(m):null,this.in_selection=!1,this.togglePicker(!1,!0)}},onSelect:function(){this.$emit("select",{startDate:this.start,endDate:this.end})},clickAway:function(t){t&&t.target&&!this.$el.contains(t.target)&&this.$refs.dropdown&&!this.$refs.dropdown.contains(t.target)&&this.clickCancel()},clickRange:function(t){this.in_selection=!1,this.$dateUtil.isValidDate(t[0])&&this.$dateUtil.isValidDate(t[1])?(this.start=this.$dateUtil.validateDateRange(new Date(t[0]),this.minDate,this.maxDate),this.end=this.$dateUtil.validateDateRange(new Date(t[1]),this.minDate,this.maxDate),this.changeLeftMonth({month:this.start.getMonth()+1,year:this.start.getFullYear()}),this.linkedCalendars===!1&&this.changeRightMonth({month:this.end.getMonth()+1,year:this.end.getFullYear()})):(this.start=null,this.end=null),this.onSelect(),this.autoApply&&this.clickedApply()},onUpdateStartTime:function(t){var m=new Date(this.start);m.setHours(t.hours),m.setMinutes(t.minutes),m.setSeconds(t.seconds),this.start=this.$dateUtil.validateDateRange(m,this.minDate,this.maxDate),this.autoApply&&this.$emit("update",{startDate:this.start,endDate:this.singleDatePicker&&this.singleDatePicker!=="range"?this.start:this.end})},onUpdateEndTime:function(t){var m=new Date(this.end);m.setHours(t.hours),m.setMinutes(t.minutes),m.setSeconds(t.seconds),this.end=this.$dateUtil.validateDateRange(m,this.minDate,this.maxDate),this.autoApply&&this.$emit("update",{startDate:this.start,endDate:this.end})},handleEscape:function(t){this.open&&t.keyCode===27&&this.closeOnEsc&&this.clickCancel()}},computed:{showRanges:function(){return this.ranges!==!1&&!this.readonly},showCalendars:function(){return this.alwaysShowCalendars||this.showCustomRangeCalendars},startText:function(){return this.start===null?"":this.$dateUtil.format(this.start,this.locale.format)},endText:function(){return this.end===null?"":this.$dateUtil.format(this.end,this.locale.format)},rangeText:function(){var t=this.startText;return this.singleDatePicker&&this.singleDatePicker!=="range"||(t+=this.locale.separator+this.endText),t},min:function(){return this.minDate?new Date(this.minDate):null},max:function(){return this.maxDate?new Date(this.maxDate):null},pickerStyles:function(){var t;return t={"show-calendar":this.open||this.opens==="inline","show-ranges":this.showRanges,"show-weeknumbers":this.showWeekNumbers,single:this.singleDatePicker},Object(h.a)(t,"opens"+this.opens,!0),Object(h.a)(t,"linked",this.linkedCalendars),Object(h.a)(t,"hide-calendars",!this.showCalendars),t},isClear:function(){return!this.dateRange.startDate||!this.dateRange.endDate},isDirty:function(){var t=new Date(this.dateRange.startDate),m=new Date(this.dateRange.endDate);return!this.isClear&&(this.start.getTime()!==t.getTime()||this.end.getTime()!==m.getTime())}},watch:{minDate:function(){this.selectMonthDate()},maxDate:function(){this.selectMonthDate()},"dateRange.startDate":function(t){this.$dateUtil.isValidDate(new Date(t))&&(this.start=t&&!this.isClear&&this.$dateUtil.isValidDate(new Date(t))?new Date(t):null,this.isClear?(this.start=null,this.end=null):(this.start=new Date(this.dateRange.startDate),this.end=new Date(this.dateRange.endDate)))},"dateRange.endDate":function(t){this.$dateUtil.isValidDate(new Date(t))&&(this.end=t&&!this.isClear?new Date(t):null,this.isClear?(this.start=null,this.end=null):(this.start=new Date(this.dateRange.startDate),this.end=new Date(this.dateRange.endDate)))},open:{handler:function(t){var m=this;(typeof document>"u"?"undefined":Object(o.a)(document))==="object"&&(this.selectMonthDate(),this.$nextTick(function(){t?document.body.addEventListener("click",m.clickAway):document.body.removeEventListener("click",m.clickAway),t?document.addEventListener("keydown",m.handleEscape):document.removeEventListener("keydown",m.handleEscape),!m.alwaysShowCalendars&&m.ranges&&(m.showCustomRangeCalendars=!Object.keys(m.ranges).find(function(v){return m.$dateUtil.isSame(m.start,m.ranges[v][0],"date")&&m.$dateUtil.isSame(m.end,m.ranges[v][1],"date")}))}))},immediate:!0}}},ae=ee,Q=(e("0e58"),e("ce5f"),$(ae,a,i,!1,null,"1ebd09d2",null)),X=Q.exports,ie=X;c.default=ie},fb6a:function(r,c,e){var n=e("23e7"),a=e("861d"),i=e("e8b5"),o=e("23cb"),l=e("50c4"),d=e("fc6a"),u=e("8418"),y=e("1dde"),h=e("b622"),g=h("species"),f=[].slice,p=Math.max;n({target:"Array",proto:!0,forced:!y("slice")},{slice:function(_,b){var w,$,T,R=d(this),x=l(R.length),k=o(_,x),O=o(b===void 0?x:b,x);if(i(R)&&(w=R.constructor,typeof w!="function"||w!==Array&&!i(w.prototype)?a(w)&&(w=w[g],w===null&&(w=void 0)):w=void 0,w===Array||w===void 0))return f.call(R,k,O);for($=new(w===void 0?Array:w)(p(O-k,0)),T=0;k<O;k++,T++)k in R&&u($,T,R[k]);return $.length=T,$}})},fc6a:function(r,c,e){var n=e("44ad"),a=e("1d80");r.exports=function(i){return n(a(i))}},fdbc:function(r,c){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(r,c,e){var n=e("4930");r.exports=n&&!Symbol.sham&&typeof Symbol()=="symbol"}})})})(Re);const Ke=We(Re.exports);var Qe=function(){var s,C=this,r=C.$createElement,c=C._self._c||r;return c("date-range-picker",{ref:"picker",staticClass:"aioseo-date-picker",class:(s={},s[C.size]=C.size,s),attrs:{opens:"center","locale-data":{firstDay:1,format:"DD-MM-YYYY HH:mm:ss"},singleDatePicker:"",timePicker:!1,timePicker24Hour:!1,showWeekNumbers:!1,showDropdowns:"",autoApply:"",ranges:!1,appendToBody:""},scopedSlots:C._u([{key:"input",fn:function(e){return[c("span",[C._v(C._s(C.formatDate(e.startDate)))]),e.startDate||e.endDate?c("svg-circle-close",{nativeOn:{click:function(n){return C.clearDates(n)}}}):C._e(),!e.startDate&&!e.endDate?c("svg-news-channel"):C._e()]}}]),model:{value:C.dateRange,callback:function(e){C.dateRange=e},expression:"dateRange"}})},et=[];const tt={components:{DateRangePicker:Ke,SvgCircleClose:Ae,SvgNewsChannel:ze},props:{value:String,size:{type:String,default:"",description:"Button size (small|medium|large)"}},data(){return{dateRange:{startDate:null,endDate:null,ranges:!1}}},watch:{dateRange:{deep:!0,handler(){this.$emit("input",this.formatDate(this.dateRange.startDate))}},value(){this.dateRange.startDate=this.value?new Date(this.value):null,this.dateRange.endDate=this.value?new Date(this.value):null}},methods:{clearDates(s){s.stopPropagation(),this.dateRange.startDate=null,this.dateRange.endDate=null},formatDate(s){return s&&s.getMonth()+1+"/"+s.getDate()+"/"+s.getFullYear()}},mounted(){this.value&&(this.dateRange.startDate=new Date(this.value),this.dateRange.endDate=new Date(this.value))}},$e={};var rt=_e(tt,Qe,et,!1,nt,null,null,null);function nt(s){for(let C in $e)this[C]=$e[C]}const at=function(){return rt.exports}();var it=function(){var s=this,C=s.$createElement,r=s._self._c||C;return r("div",{staticClass:"additional-pages-input",class:{"in-table":s.inTable}},[s.inTable?s._e():r("div",{staticClass:"page-input-header"},[r("div",{staticClass:"page-url"},[s._v(s._s(s.strings.pageUrl))]),r("div",{staticClass:"page-priority"},[s._v(s._s(s.strings.priority))]),r("div",{staticClass:"page-frequency"},[s._v(s._s(s.strings.frequency))]),r("div",{staticClass:"page-last-modified"},[s._v(s._s(s.strings.lastModified))])]),r("div",{staticClass:"page-row"},[r("div",{staticClass:"page-url"},[r("base-input",{class:this.errors.url.invalid&&"aioseo-error"||this.page.url&&this.errors.url.exists&&"aioseo-warning"||this.page.url&&"aioseo-active",attrs:{value:s.page.url,size:"medium",placeholder:s.strings.placeholder},on:{keyup:function(c){return s.editPage("url",c.target.value)}},scopedSlots:s._u([{key:"append-icon",fn:function(){return[r("div",{staticClass:"append-icon"},[s.isLoading?s._e():[s.errors.url.invalid?r("svg-circle-close"):s._e(),!s.errors.url.invalid&&!s.errors.url.exists&&s.page.url?r("svg-circle-check"):s._e(),s.errors.url.exists&&s.page.url?r("svg-circle-exclamation"):s._e()]],2)]},proxy:!0}])}),this.errors.url.invalid?r("core-alert",{attrs:{type:"red",size:"small"}},[s._v(" "+s._s(s.strings.errors.url.invalid)+" ")]):s._e(),this.errors.url.exists?r("core-alert",{attrs:{type:"yellow",size:"small"}},[s._v(" "+s._s(s.strings.errors.url.exists)+" ")]):s._e()],1),r("div",{staticClass:"page-priority"},[r("base-select",{attrs:{size:"medium",value:s.page.priority,options:s.$constants.PRIORITY_OPTIONS},on:{input:function(c){return s.editPage("priority",c)}}})],1),r("div",{staticClass:"page-frequency"},[r("base-select",{attrs:{size:"medium",value:s.page.frequency,options:s.$constants.FREQUENCY_OPTIONS},on:{input:function(c){return s.editPage("frequency",c)}}})],1),r("div",{staticClass:"page-last-modified"},[r("base-datepicker",{attrs:{size:"medium",value:s.page.lastModified},on:{input:function(c){return s.editPage("lastModified",c)}}})],1)]),r("div",{staticClass:"page-input-footer"},[s.inTable?r("div",[r("base-button",{attrs:{type:"blue",size:"medium",disabled:s.errors.url.invalid||s.errors.url.exists||!s.page.url},on:{click:function(c){return s.updatePage(s.index)}}},[s._v(" "+s._s(s.strings.saveChanges)+" ")]),r("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(c){return s.$emit("cancel",!0)}}},[s._v(" "+s._s(s.strings.cancel)+" ")])],1):s._e(),s.inTable?s._e():r("div",[r("base-button",{attrs:{type:"blue",size:"small-table",disabled:s.errors.url.invalid||s.errors.url.exists||!s.page.url},on:{click:s.addPage}},[s._v(" "+s._s(s.strings.addPage)+" ")]),r("base-button",{attrs:{type:"black",size:"small-table"},on:{click:function(c){s.showImportModal=!0}}},[s._v(" "+s._s(s.strings.importFromCSV)+" ")])],1)]),s.showImportModal?r("core-modal",{on:{close:s.closeImportModal},scopedSlots:s._u([{key:"headerTitle",fn:function(){return[s._v(" "+s._s(s.strings.importAdditionalPages)+" ")]},proxy:!0},{key:"body",fn:function(){return[r("div",{staticClass:"aioseo-modal-body import-additional-pages"},[r("div",{staticClass:"alert"},[r("p",{domProps:{innerHTML:s._s(s.strings.modalDescription)}}),r("a",{attrs:{download:"aioseo-additional-pages-sample.csv",href:"data:text/csv;charset=utf-8,"+s.sampleCSVData}},[s._v(" "+s._s(s.strings.downloadSampleFile)+" ")])]),r("img",{attrs:{src:s.$getAssetUrl(s.csvFileImage),alt:s.strings.imgAltText}}),s.errors.upload?r("core-alert",{staticClass:"import-error",attrs:{type:"red"}},[r("svg-circle-close"),s._v(" "+s._s(s.errors.upload)+" ")],1):s._e(),r("div",{staticClass:"file-upload"},[r("base-input",{class:{"aioseo-error":s.errors.upload},attrs:{size:"medium",placeholder:s.strings.fileUploadPlaceholder},on:{focus:s.triggerFileUpload},model:{value:s.filename,callback:function(c){s.filename=c},expression:"filename"}}),r("base-button",{attrs:{type:"black",size:"medium"}},[s._v(" "+s._s(s.strings.chooseAFile)+" "),r("base-input",{ref:"file",attrs:{type:"file"},on:{click:s.reset,change:s.handleFileUpload},model:{value:s.inputFile,callback:function(c){s.inputFile=c},expression:"inputFile"}})],1)],1),r("base-button",{staticClass:"import",attrs:{type:"blue",size:"medium",disabled:!s.file||!s.importValidated,loading:s.loading},on:{click:s.submitFile}},[s._v(" "+s._s(s.strings.import)+" ")])],1)]},proxy:!0}],null,!1,2709596361)}):s._e()],1)},st=[];const de={page:{url:null,priority:{label:"0.7",value:"0.7"},frequency:{label:Ve("weekly","all-in-one-seo-pack"),value:"weekly"},lastModified:Fe().format("MM/DD/YYYY")}},ot={components:{BaseDatepicker:at,CoreAlert:Ie,CoreModal:Te,SvgCircleCheck:He,SvgCircleClose:Ae,SvgCircleExclamation:qe},data(){return{csvFileImage:Xe,priorityOptionsValues:[],frequencyOptionsValues:[],inputFile:null,filename:null,file:null,loading:!1,showImportModal:!1,page:ue(de.page),errors:{url:{invalid:null,exists:null},upload:!1},isLoading:!1,strings:{placeholder:this.$t.sprintf(this.$t.__("Enter a page URL, e.g. %1$s",this.$td),`${this.$aioseo.urls.home}/new-page`),pageUrl:this.$t.__("Page URL",this.$td),priority:this.$t.__("Priority",this.$td),frequency:this.$t.__("Frequency",this.$td),lastModified:this.$t.__("Last Modified",this.$td),addPage:this.$t.__("Add Page",this.$td),importFromCSV:this.$t.__("Import from CSV",this.$td),saveChanges:this.$t.__("Save Changes",this.$td),cancel:this.$t.__("Cancel",this.$td),importAdditionalPages:this.$t.__("Import Additional Pages",this.$td),modalDescription:this.$t.sprintf(this.$t.__("You can import additional page URL's to your sitemap using a CSV file. The following 4 columns are required: %1$sPage URL, Priority, Frequency, Date Modified.%2$s",this.$td),"<strong>","</strong>"),downloadSampleFile:this.$t.__("Download Sample CSV File",this.$td),imgAltText:this.$t.__("CSV example file",this.$td),fileUploadPlaceholder:this.$t.__("Import from CSV file...",this.$td),chooseAFile:this.$t.__("Choose a File",this.$td),import:this.$t.__("Import",this.$td),csvFileTypeRequired:this.$t.__("The file that you've currently selected is not a CSV file.",this.$td),invalidCSV:this.$t.__("Unable to read CSV file. Please check if the file is valid and try again.",this.$td),errors:{url:{invalid:this.$t.__("Please enter a valid URL.",this.$td),exists:this.$t.__("URL already exists.",this.$td)}}},sampleCSVData:`Page URL,Priority,Frequency,Date Modified\r
|
3 |
https://aioseo.com/pricing/,0.0,weekly,01/30/2022`}},methods:{...Oe(["updateAdditionalPages"]),addPage(){const s=[...this.pages];s.unshift(JSON.stringify(this.page)),this.updateAdditionalPages(s),this.page=ue(de.page),this.errors.url.invalid=null,this.$emit("process-page-add-and-update")},editPage(s,C){if(this.$set(this.page,s,C),!Se(this.page.url)&&this.page.url){this.errors.url.invalid=!0;return}if(this.pageExists(this.page.url)&&!this.inTable){this.errors.url.invalid=!1,this.errors.url.exists=!0;return}this.errors.url.invalid=!1,this.errors.url.exists=!1,this.inTable&&this.$emit("process-page-edit",this.page)},updatePage(s){const C=[...this.pages];C[this.getPaginatedIndex(s)]=JSON.stringify(this.page),this.updateAdditionalPages(C),this.$emit("process-page-add-and-update"),this.$emit("cancel",!0)},pageExists(s){return this.getParsedPages().some(({url:C})=>C===s)},reset(){this.errors.upload=!1,this.filename=null,this.file=null,this.inputFile=null},triggerFileUpload(){this.reset(),this.$refs.file.$el.querySelector("input").focus(),this.$refs.file.$el.querySelector("input").click()},async submitFile(){this.loading=!0;try{const s=await this.parseFile(),C=this.pages;s.forEach(r=>{const c=this.prepareAdditionalPage(r);c&&C.unshift(JSON.stringify(c))}),this.updateAdditionalPages(C)}catch{this.errors.upload=this.strings.invalidCSV}this.reset(),this.page=ue(de.page),this.showImportModal=!1,this.loading=!1},prepareAdditionalPage(s){const C=ue(de.page);return s.forEach(r=>{if(Se(r)&&!this.pageExists(r)){C.url=r;return}if(this.priorityOptionsValues.includes(r)){C.priority.label=C.priority.value=r;return}if(this.frequencyOptionsValues.includes(r.toLowerCase())){C.frequency.label=C.frequency.value=r.toLowerCase();return}isNaN(Date.parse(r))||(C.lastModified=r)}),C.url!==null?C:!1},parseFile(){const s=new FileReader;return s.readAsText(this.file),new Promise((C,r)=>{s.onerror=()=>{s.abort(),r(new DOMException)},s.onload=()=>{const e=s.result.split(/[\r\n]/).map(n=>n.split(","));C(e)}})},handleFileUpload(){this.reset(),this.file=this.$refs.file.$el.querySelector("input").files[0],this.file&&(this.filename=this.file.name,this.file.type!=="text/csv"&&(this.errors.upload=this.strings.csvFileTypeRequired))},closeImportModal(){this.reset(),this.showImportModal=!1}},computed:{...be({pages:s=>s.options.sitemap.general.additionalPages.pages}),importValidated(){return this.file.type==="text/csv"}},props:{inTable:Boolean,row:Object,index:Number,getPaginatedIndex:Function,getParsedPages:Function,rowPage:{type:Object,default(){return{}}},editedPage:{type:Object,default(){return{}}}},mounted(){this.priorityOptionsValues=this.$constants.PRIORITY_OPTIONS.map(s=>s.value),this.frequencyOptionsValues=this.$constants.FREQUENCY_OPTIONS.map(s=>s.value),this.inTable&&(this.page=this.rowPage!==this.editedPage?this.rowPage:this.editedPage)}},Me={};var lt=_e(ot,it,st,!1,ct,null,null,null);function ct(s){for(let C in Me)this[C]=Me[C]}const ut=function(){return lt.exports}();var dt=function(){var s=this,C=s.$createElement,r=s._self._c||C;return s.options.sitemap.general.enable?r("core-card",{attrs:{slug:"additionalPages",toggles:s.options.sitemap.general.additionalPages.enable},scopedSlots:s._u([{key:"header",fn:function(){return[r("base-toggle",{model:{value:s.options.sitemap.general.additionalPages.enable,callback:function(c){s.$set(s.options.sitemap.general.additionalPages,"enable",c)},expression:"options.sitemap.general.additionalPages.enable"}}),r("span",[s._v(s._s(s.strings.additionalPages))])]},proxy:!0},{key:"tooltip",fn:function(){return[s._v(" "+s._s(s.strings.additionalPagesTooltip)+" ")]},proxy:!0}],null,!1,1670858465)},[r("div",{staticClass:"aioseo-additional-pages"},[r("add-additional-page",{attrs:{getPaginatedIndex:s.getPaginatedIndex,getParsedPages:s.getParsedPages},on:{"process-page-add-and-update":s.processPageAddAndUpdate}}),r("core-wp-table",{key:s.wpTableKey,ref:"table",staticClass:"additional-pages-table",attrs:{id:s.tableId,"bulk-options":s.bulkOptions,columns:s.columns,"initial-items-per-page":s.$aioseo.settings.tablePagination.sitemapAdditionalPages,"initial-page-number":s.pageNumber,loading:s.wpTableLoading,rows:s.rows,"search-label":s.strings.searchUrls,"show-search":!0,totals:s.totals,"show-items-per-page":""},on:{paginate:s.processPagination,"process-bulk-action":s.processBulkAction,"process-change-items-per-page":s.processChangeItemsPerPage,search:s.processSearch,"sort-column":s.processSort},scopedSlots:s._u([{key:"url",fn:function(c){var e=c.row,n=c.index,a=c.editRow;return[r("a",{staticClass:"post-title",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),i.stopPropagation(),a(n)}}},[s._v(" "+s._s(e.url)+" ")]),r("div",{staticClass:"row-actions"},[r("span",[r("a",{staticClass:"edit",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),i.stopPropagation(),a(n)}}},[r("span",[s._v(s._s(s.strings.edit))])]),s._v(" | ")]),r("span",[r("a",{staticClass:"delete",attrs:{href:"#"},on:{click:function(i){return i.preventDefault(),i.stopPropagation(),s.maybeProcessDelete(e.url)}}},[r("span",[s._v(s._s(s.strings.delete))])])])])]}},{key:"edit-row",fn:function(c){var e=c.index,n=c.editRow;return[r("add-additional-page",{attrs:{index:e,rowPage:s.rowPage(e),editedPage:s.editedPage,getPaginatedIndex:s.getPaginatedIndex,getParsedPages:s.getParsedPages,inTable:""},on:{cancel:function(a){return n(null)},"process-page-add-and-update":s.processPageAddAndUpdate,"process-page-edit":s.processPageEdit}})]}},{key:"page-actions",fn:function(c){var e=c.row;return[r("div",{staticClass:"page-actions"},[r("core-tooltip",{attrs:{type:"action"},scopedSlots:s._u([{key:"tooltip",fn:function(){return[s._v(" "+s._s(s.strings.delete)+" ")]},proxy:!0}],null,!0)},[r("svg-trash",{nativeOn:{click:function(n){return s.maybeProcessDelete(e.url)}}})],1)],1)]}}],null,!1,3880771216)}),s.showDeleteModal?r("core-modal",{attrs:{"no-header":""},scopedSlots:s._u([{key:"body",fn:function(){return[r("div",{staticClass:"aioseo-modal-body delete"},[r("button",{staticClass:"close",on:{click:function(c){c.stopPropagation(),s.showDeleteModal=!1}}}),r("h3",[s._v(s._s(s.areYouSureDeleteLink))]),r("div",{staticClass:"reset-description"},[s._v(" "+s._s(s.strings.thisWillRemoveLink)+" ")]),r("base-button",{attrs:{type:"blue",size:"medium",loading:s.deletingRow},on:{click:s.processPageDelete}},[s._v(" "+s._s(s.yesDeleteLink)+" ")]),r("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(c){s.showDeleteModal=!1}}},[s._v(" "+s._s(s.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,3154880166)}):s._e()],1)]):s._e()},ft=[];const ht={mixins:[Ue],components:{AddAdditionalPage:ut,CoreWpTable:Ge,CoreCard:Je,CoreTooltip:Ze,CoreModal:Te,SvgTrash:Ye},data(){return{tableId:"sitemap-additional-pages",changeItemsPerPageSlug:"sitemapAdditionalPages",page:{},editedPage:{},resultsPerPage:10,searchResults:null,deletingRow:!1,activeRow:-1,showDeleteModal:!1,shouldDeleteURL:null,selectedRows:null,bulkOptions:[{label:this.$t.__("Delete",this.$tdPro),value:"delete"}],strings:{placeholder:this.$t.sprintf(this.$t.__("Enter a page URL, e.g. %1$s",this.$td),`${this.$aioseo.urls.home}/new-page`),pageUrl:this.$t.__("Page URL",this.$td),priority:this.$t.__("Priority",this.$td),frequency:this.$t.__("Frequency",this.$td),lastModified:this.$t.__("Last Modified",this.$td),searchUrls:this.$t.__("Search URLs",this.$td),edit:this.$t.__("Edit",this.$td),delete:this.$t.__("Delete",this.$td),addPage:this.$t.__("Add Page",this.$td),importFromCSV:this.$t.__("Import from CSV",this.$td),always:this.$t.__("always",this.$td),additionalPages:this.$t.__("Additional Pages",this.$td),additionalPagesTooltip:this.$t.__("You can use this section to add any URLs to your sitemap which aren't a part of your WordPress installation. For example, if you have a contact form that you would like to be included on your sitemap you can enter the information manually.",this.$td),areYouSureDeleteLink:this.$t.__("Are you sure you want to delete this page?",this.$td),areYouSureDeleteLinks:this.$t.__("Are you sure you want to delete these pages?",this.$td),thisWillRemoveLink:this.$t.__("This will permanently remove this page from the additional pages sitemap.",this.$td),thisWillRemoveLinks:this.$t.__("This will permanently remove the selected pages from the additional pages sitemap.",this.$td),yesDeleteLink:this.$t.__("Delete Page",this.$td),yesDeleteLinks:this.$t.__("Delete Selected Pages",this.$td),noChangedMind:this.$t.__("No, I changed my mind",this.$td)}}},computed:{...be(["options","additionalPages"]),...be({pages:s=>s.options.sitemap.general.additionalPages.pages}),currentPages(){return this.searchResults||this.getParsedPages()},rows(){const s=this.currentPages.map(r=>({url:r.url,priority:r.priority&&r.priority.label?r.priority.label:"",frequency:r.frequency&&r.frequency.label?r.frequency.label:"",lastModified:r.lastModified})),C=this.pageNumber===1?0:(this.pageNumber-1)*this.resultsPerPage;return s.slice(C,C+this.resultsPerPage)},totals(){return{page:1,pages:Math.ceil(this.currentPages.length/this.resultsPerPage),total:this.currentPages.length}},columns(){return[{slug:"url",label:this.$t.__("Page URL",this.$td)},{slug:"priority",label:this.$t.__("Priority",this.$td),width:"90px"},{slug:"frequency",label:this.$t.__("Frequency",this.$td),width:"90px"},{slug:"lastModified",label:this.$t.__("Last Modified",this.$td),width:"110px"},{slug:"page-actions",label:"",width:"40px"}]},areYouSureDeleteLink(){return Array.isArray(this.shouldDeleteURL)?this.strings.areYouSureDeleteLinks:this.strings.areYouSureDeleteLink},yesDeleteLink(){return Array.isArray(this.shouldDeleteURL)?this.strings.yesDeleteLinks:this.strings.yesDeleteLink},thisWillRemoveLink(){return Array.isArray(this.shouldDeleteURL)?this.strings.thisWillRemoveLinks:this.strings.thisWillRemoveLink}},methods:{...Oe(["updateAdditionalPages"]),fetchData(){return Promise.resolve()},processSearch(s){if(this.$refs.table.editRow(null),this.pageNumber=1,s===""){this.searchResults=null,this.searchTerm=null;return}s||(s=this.searchTerm),this.wpTableLoading=!0,this.searchResults=this.getParsedPages().filter(C=>C.url.includes(s)),this.searchTerm=s,this.wpTableLoading=!1},processBulkAction({action:s,selectedRows:C}){!C.length||s==="delete"&&(this.showDeleteModal=!0,this.shouldDeleteURL=C)},processPageDelete(){this.wpTableLoading=!0,Array.isArray(this.shouldDeleteURL)?this.shouldDeleteURL.forEach(s=>{this.deletePage(s)}):this.deletePage(this.shouldDeleteURL),this.showDeleteModal=!1,this.wpTableLoading=!1},deletePage(s){const C=[];this.getParsedPages().forEach(r=>{r.url!==s&&C.push(JSON.stringify(r))}),this.updateAdditionalPages(C),this.searchResults&&this.processSearch()},maybeProcessDelete(s){this.showDeleteModal=!0,this.shouldDeleteURL=s},processPageEdit(s){this.editedPage=s},processPageAddAndUpdate(){this.searchTerm&&this.processSearch(this.searchTerm)},rowPage(s){return this.searchResults?this.searchResults[this.getPaginatedIndex(s)]:this.getParsedPages()[this.getPaginatedIndex(s)]},getPaginatedIndex(s){return(this.pageNumber-1)*this.resultsPerPage+s},getParsedPages(){return this.pages.map(s=>JSON.parse(s))}}},Ce={};var pt=_e(ht,dt,ft,!1,gt,null,null,null);function gt(s){for(let C in Ce)this[C]=Ce[C]}const Nt=function(){return pt.exports}();export{Nt as default};
|
dist/Lite/assets/js/Advanced.07fe14ae.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{e as i,a}from"./index.f16c040b.js";import{v as r}from"./constants.71b051da.js";import{B as l}from"./Checkbox.732cf0d4.js";import{B as d}from"./RadioToggle.d0794ab7.js";import{C as c,c as u}from"./index.c9bc1c73.js";import{C as p}from"./Card.1a6f5bab.js";import{C as _}from"./PostTypeOptions.b45e7911.js";import{C as h}from"./ProBadge.6745e7cb.js";import{C as m}from"./SettingsRow.0d51ff21.js";import{C as g}from"./Tooltip.a36a3967.js";import{n as $}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./Checkmark.c0183939.js";import"./client.b661b356.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./Slide.01023b2f.js";import"./HighlightToggle.ad3182d2.js";import"./Radio.8fe23bef.js";import"./Row.89c6bb85.js";var v=function(){var s=this,n=s.$createElement,t=s._self._c||n;return t("div",{staticClass:"aioseo-advanced"},[t("core-card",{attrs:{slug:"advanced","header-text":s.strings.advanced}},[t("core-settings-row",{attrs:{name:s.strings.truSeo},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-toggle",{model:{value:s.options.advanced.truSeo,callback:function(e){s.$set(s.options.advanced,"truSeo",e)},expression:"options.advanced.truSeo"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.truSeoDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:s.strings.headlineAnalyzer},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-toggle",{attrs:{disabled:s.versionCompare(s.$aioseo.wpVersion,"5.2","<")},model:{value:s.options.advanced.headlineAnalyzer,callback:function(e){s.$set(s.options.advanced,"headlineAnalyzer",e)},expression:"options.advanced.headlineAnalyzer"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.headlineAnalyzerDescription)+" ")]),s.versionCompare(s.$aioseo.wpVersion,"5.2","<")?t("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[t("div",{domProps:{innerHTML:s._s(s.strings.headlineAnalyzerWarning)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{name:s.strings.postTypeColumns},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-checkbox",{attrs:{size:"medium"},model:{value:s.options.advanced.postTypes.all,callback:function(e){s.$set(s.options.advanced.postTypes,"all",e)},expression:"options.advanced.postTypes.all"}},[s._v(" "+s._s(s.strings.includeAllPostTypes)+" ")]),s.options.advanced.postTypes.all?s._e():t("core-post-type-options",{attrs:{options:s.options.advanced,type:"postTypes"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.selectPostTypes)+" "),t("span",{domProps:{innerHTML:s._s(s.$links.getDocLink(s.$constants.GLOBAL_STRINGS.learnMore,"selectPostTypesColumns",!0))}})])]},proxy:!0}])}),t("core-settings-row",{scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.taxonomyColumns)+" "),s.isUnlicensed?t("core-pro-badge"):s._e()]},proxy:!0},{key:"content",fn:function(){return[s.isUnlicensed?t("base-checkbox",{attrs:{disabled:"",size:"medium",value:!0}},[s._v(" "+s._s(s.strings.includeAllTaxonomies)+" ")]):s._e(),s.isUnlicensed?s._e():t("base-checkbox",{attrs:{size:"medium"},model:{value:s.options.advanced.taxonomies.all,callback:function(e){s.$set(s.options.advanced.taxonomies,"all",e)},expression:"options.advanced.taxonomies.all"}},[s._v(" "+s._s(s.strings.includeAllTaxonomies)+" ")]),!s.options.advanced.taxonomies.all&&!s.isUnlicensed?t("core-post-type-options",{attrs:{options:s.options.advanced,type:"taxonomies"}}):s._e(),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.selectTaxonomies)+" "),t("span",{domProps:{innerHTML:s._s(s.$links.getDocLink(s.$constants.GLOBAL_STRINGS.learnMore,"selectTaxonomiesColumns",!0))}})]),s.isUnlicensed?t("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[t("div",{domProps:{innerHTML:s._s(s.strings.taxonomyColumnsUpsell)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{align:""},scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.adminBarMenu)+" "),s.isUnlicensed?t("core-pro-badge"):s._e()]},proxy:!0},{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{disabled:s.isUnlicensed,name:"adminBarMenu",options:[{label:s.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:s.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:s.adminBarMenu,callback:function(e){s.adminBarMenu=e},expression:"adminBarMenu"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.adminBarMenuDescription)+" ")]),s.isUnlicensed?t("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[t("div",{domProps:{innerHTML:s._s(s.strings.adminBarMenuUpsell)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{align:""},scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.dashboardWidgets)+" "),s.isUnlicensed?t("core-pro-badge"):s._e()]},proxy:!0},{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{disabled:s.isUnlicensed,name:"dashboardWidgets",options:[{label:s.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:s.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:s.dashboardWidgets,callback:function(e){s.dashboardWidgets=e},expression:"dashboardWidgets"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.dashboardWidgetsDescription)+" ")]),s.isUnlicensed?t("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[t("div",{domProps:{innerHTML:s._s(s.strings.dashboardWidgetsUpsell)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{name:s.strings.announcements,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"announcements",options:[{label:s.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:s.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:s.options.advanced.announcements,callback:function(e){s.$set(s.options.advanced,"announcements",e)},expression:"options.advanced.announcements"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.announcementsDescription)+" ")])]},proxy:!0}])}),s.$isPro?t("core-settings-row",{attrs:{align:""},scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.automaticUpdates)+" ")]},proxy:!0},{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"autoUpdates",options:[{label:s.strings.all,value:"all"},{label:s.strings.minor,value:"minor"},{label:s.strings.none,value:"none",activeClass:"dark"}]},model:{value:s.options.advanced.autoUpdates,callback:function(e){s.$set(s.options.advanced,"autoUpdates",e)},expression:"options.advanced.autoUpdates"}}),t("div",{staticClass:"aioseo-description"},[s.options.advanced.autoUpdates==="all"?t("span",[s._v(s._s(s.strings.allDescription))]):s._e(),s.options.advanced.autoUpdates==="minor"?t("span",[s._v(s._s(s.strings.minorDescription))]):s._e(),s.options.advanced.autoUpdates==="none"?t("span",[s._v(s._s(s.strings.noneDescription))]):s._e()])]},proxy:!0}],null,!1,89936591)}):s._e(),s.$isPro?s._e():t("core-settings-row",{scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.usageTracking)+" "),t("core-tooltip",{scopedSlots:s._u([{key:"tooltip",fn:function(){return[t("div",{domProps:{innerHTML:s._s(s.strings.usageTrackingTooltip)}})]},proxy:!0}],null,!1,1886299547)},[t("svg-circle-question-mark")],1)]},proxy:!0},{key:"content",fn:function(){return[t("base-toggle",{model:{value:s.options.advanced.usageTracking,callback:function(e){s.$set(s.options.advanced,"usageTracking",e)},expression:"options.advanced.usageTracking"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.usageTrackingDescription)+" ")])]},proxy:!0}],null,!1,309685458)}),t("core-settings-row",{attrs:{name:s.strings.uninstallAioseo},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-toggle",{model:{value:s.options.advanced.uninstall,callback:function(e){s.$set(s.options.advanced,"uninstall",e)},expression:"options.advanced.uninstall"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.uninstallAioseoDescription)+" ")])]},proxy:!0}])})],1)],1)},y=[];const f={components:{BaseCheckbox:l,BaseRadioToggle:d,CoreAlert:c,CoreCard:p,CorePostTypeOptions:_,CoreProBadge:h,CoreSettingsRow:m,CoreTooltip:g,SvgCircleQuestionMark:u},data(){return{strings:{advanced:this.$t.__("Advanced Settings",this.$td),truSeo:this.$t.__("TruSEO Score & Content",this.$td),truSeoDescription:this.$t.__("Enable our TruSEO score to help you optimize your content for maximum traffic.",this.$td),headlineAnalyzer:this.$t.__("Headline Analyzer",this.$td),headlineAnalyzerDescription:this.$t.__("Enable our Headline Analyzer to help you write irresistible headlines and rank better in search results.",this.$td),seoAnalysis:this.$t.__("SEO Analysis",this.$td),postTypeColumns:this.$t.__("Post Type Columns",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),selectPostTypes:this.$t.sprintf(this.$t.__("Select which Post Types you want to use the %1$s columns with.",this.$td),"AIOSEO"),usageTracking:this.$t.__("Usage Tracking",this.$td),adminBarMenu:this.$t.__("Admin Bar Menu",this.$td),adminBarMenuDescription:this.$t.sprintf(this.$t.__("This adds %1$s to the admin toolbar for easy access to your SEO settings.",this.$td),"AIOSEO"),dashboardWidgets:this.$t.__("Dashboard Widgets",this.$td),dashboardWidgetsDescription:this.$t.sprintf(this.$t.__("This displays %1$s widgets on the dashboard.",this.$td),"AIOSEO"),announcements:this.$t.__("Announcements",this.$td),announcementsDescription:this.$t.__("This allows you to hide plugin announcements and update details.",this.$td),automaticUpdates:this.$t.__("Automatic Updates",this.$td),all:this.$t.__("All (recommended)",this.$td),allDescription:this.$t.__("You are getting the latest features, bugfixes, and security updates as they are released.",this.$td),minor:this.$t.__("Minor Only",this.$td),minorDescription:this.$t.__("You are getting bugfixes and security updates, but not major features.",this.$td),none:this.$t.__("None",this.$td),noneDescription:this.$t.__("You will need to manually update everything.",this.$td),usageTrackingDescription:this.$t.__("By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test.",this.$td),usageTrackingTooltip:this.$t.sprintf(this.$t.__("Complete documentation on usage tracking is available %1$shere%2$s.",this.$td),this.$t.sprintf('<strong><a href="%1$s" target="_blank">',this.$links.getDocUrl("usageTracking")),"</a></strong>"),adminBarMenuUpsell:this.$t.sprintf(this.$t.__("This Admin Bar feature is only available for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"admin-bar-menu",!0)),dashboardWidgetsUpsell:this.$t.sprintf(this.$t.__("The Dashboard Widget feature is only available for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"dashboard-widget",!0)),taxonomyColumns:this.$t.__("Taxonomy Columns",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),selectTaxonomies:this.$t.sprintf(this.$t.__("Select which Taxonomies you want to use the %1$s columns with.",this.$td),"AIOSEO"),taxonomyColumnsUpsell:this.$t.sprintf(this.$t.__("This feature is only for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"taxonomy-columns",!0)),uninstallAioseo:this.$t.sprintf(this.$t.__("Uninstall %1$s",this.$td),"AIOSEO"),uninstallAioseoDescription:this.$t.sprintf(this.$t.__("Check this if you would like to remove ALL %1$s data upon plugin deletion. All settings and SEO data will be unrecoverable.",this.$td),"AIOSEO"),headlineAnalyzerWarning:this.$t.sprintf(this.$t.__("The Headline Analyzer is only available in %1$s and up. %2$s",this.$td),"WordPress 5.2",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"updateWordPress",!0))}}},computed:{...i(["settings","isUnlicensed"]),...a(["options"]),adminBarMenu:{get(){return this.isUnlicensed?!0:this.options.advanced.adminBarMenu},set(s){this.options.advanced.adminBarMenu=s}},dashboardWidgets:{get(){return this.isUnlicensed?!0:this.options.advanced.dashboardWidgets},set(s){this.options.advanced.dashboardWidgets=s}}},methods:{versionCompare:r}},o={};var b=$(f,v,y,!1,T,null,null,null);function T(s){for(let n in o)this[n]=o[n]}const j=function(){return b.exports}();export{j as default};
|
dist/Lite/assets/js/Advanced.50775c74.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{e as i,a}from"./index.4776f7d5.js";import{C as r,g as l,P as d}from"./index.4a5acef5.js";import{B as c}from"./Checkbox.93944087.js";import{B as u}from"./RadioToggle.18d51233.js";import{C as p}from"./Card.a455f6aa.js";import{C as _}from"./PostTypeOptions.2133d15e.js";import{C as h}from"./ProBadge.d6147ee5.js";import{C as m}from"./SettingsRow.8a127375.js";import{C as g}from"./Tooltip.060399ab.js";import{n as $}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./client.d00863cc.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./constants.9efee5f7.js";import"./portal-vue.esm.272b3133.js";import"./Checkmark.627d69a4.js";import"./Slide.8aaa5049.js";import"./HighlightToggle.af16c79b.js";import"./Radio.fa2678ef.js";import"./Row.dfea53f7.js";var v=function(){var s=this,n=s.$createElement,t=s._self._c||n;return t("div",{staticClass:"aioseo-advanced"},[t("core-card",{attrs:{slug:"advanced","header-text":s.strings.advanced}},[t("core-settings-row",{attrs:{name:s.strings.truSeo},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-toggle",{model:{value:s.options.advanced.truSeo,callback:function(e){s.$set(s.options.advanced,"truSeo",e)},expression:"options.advanced.truSeo"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.truSeoDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:s.strings.headlineAnalyzer},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-toggle",{attrs:{disabled:s.versionCompare(s.$aioseo.wpVersion,"5.2","<")},model:{value:s.options.advanced.headlineAnalyzer,callback:function(e){s.$set(s.options.advanced,"headlineAnalyzer",e)},expression:"options.advanced.headlineAnalyzer"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.headlineAnalyzerDescription)+" ")]),s.versionCompare(s.$aioseo.wpVersion,"5.2","<")?t("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[t("div",{domProps:{innerHTML:s._s(s.strings.headlineAnalyzerWarning)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{name:s.strings.postTypeColumns},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-checkbox",{attrs:{size:"medium"},model:{value:s.options.advanced.postTypes.all,callback:function(e){s.$set(s.options.advanced.postTypes,"all",e)},expression:"options.advanced.postTypes.all"}},[s._v(" "+s._s(s.strings.includeAllPostTypes)+" ")]),s.options.advanced.postTypes.all?s._e():t("core-post-type-options",{attrs:{options:s.options.advanced,type:"postTypes"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.selectPostTypes)+" "),t("span",{domProps:{innerHTML:s._s(s.$links.getDocLink(s.$constants.GLOBAL_STRINGS.learnMore,"selectPostTypesColumns",!0))}})])]},proxy:!0}])}),t("core-settings-row",{scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.taxonomyColumns)+" "),s.isUnlicensed?t("core-pro-badge"):s._e()]},proxy:!0},{key:"content",fn:function(){return[s.isUnlicensed?t("base-checkbox",{attrs:{disabled:"",size:"medium",value:!0}},[s._v(" "+s._s(s.strings.includeAllTaxonomies)+" ")]):s._e(),s.isUnlicensed?s._e():t("base-checkbox",{attrs:{size:"medium"},model:{value:s.options.advanced.taxonomies.all,callback:function(e){s.$set(s.options.advanced.taxonomies,"all",e)},expression:"options.advanced.taxonomies.all"}},[s._v(" "+s._s(s.strings.includeAllTaxonomies)+" ")]),!s.options.advanced.taxonomies.all&&!s.isUnlicensed?t("core-post-type-options",{attrs:{options:s.options.advanced,type:"taxonomies"}}):s._e(),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.selectTaxonomies)+" "),t("span",{domProps:{innerHTML:s._s(s.$links.getDocLink(s.$constants.GLOBAL_STRINGS.learnMore,"selectTaxonomiesColumns",!0))}})]),s.isUnlicensed?t("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[t("div",{domProps:{innerHTML:s._s(s.strings.taxonomyColumnsUpsell)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{align:""},scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.adminBarMenu)+" "),s.isUnlicensed?t("core-pro-badge"):s._e()]},proxy:!0},{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{disabled:s.isUnlicensed,name:"adminBarMenu",options:[{label:s.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:s.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:s.adminBarMenu,callback:function(e){s.adminBarMenu=e},expression:"adminBarMenu"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.adminBarMenuDescription)+" ")]),s.isUnlicensed?t("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[t("div",{domProps:{innerHTML:s._s(s.strings.adminBarMenuUpsell)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{align:""},scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.dashboardWidgets)+" "),s.isUnlicensed?t("core-pro-badge"):s._e()]},proxy:!0},{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{disabled:s.isUnlicensed,name:"dashboardWidgets",options:[{label:s.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:s.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:s.dashboardWidgets,callback:function(e){s.dashboardWidgets=e},expression:"dashboardWidgets"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.dashboardWidgetsDescription)+" ")]),s.isUnlicensed?t("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[t("div",{domProps:{innerHTML:s._s(s.strings.dashboardWidgetsUpsell)}})]):s._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{name:s.strings.announcements,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"announcements",options:[{label:s.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:s.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:s.options.advanced.announcements,callback:function(e){s.$set(s.options.advanced,"announcements",e)},expression:"options.advanced.announcements"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.announcementsDescription)+" ")])]},proxy:!0}])}),s.$isPro?t("core-settings-row",{attrs:{align:""},scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.automaticUpdates)+" ")]},proxy:!0},{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"autoUpdates",options:[{label:s.strings.all,value:"all"},{label:s.strings.minor,value:"minor"},{label:s.strings.none,value:"none",activeClass:"dark"}]},model:{value:s.options.advanced.autoUpdates,callback:function(e){s.$set(s.options.advanced,"autoUpdates",e)},expression:"options.advanced.autoUpdates"}}),t("div",{staticClass:"aioseo-description"},[s.options.advanced.autoUpdates==="all"?t("span",[s._v(s._s(s.strings.allDescription))]):s._e(),s.options.advanced.autoUpdates==="minor"?t("span",[s._v(s._s(s.strings.minorDescription))]):s._e(),s.options.advanced.autoUpdates==="none"?t("span",[s._v(s._s(s.strings.noneDescription))]):s._e()])]},proxy:!0}],null,!1,89936591)}):s._e(),s.$isPro?s._e():t("core-settings-row",{scopedSlots:s._u([{key:"name",fn:function(){return[s._v(" "+s._s(s.strings.usageTracking)+" "),t("core-tooltip",{scopedSlots:s._u([{key:"tooltip",fn:function(){return[t("div",{domProps:{innerHTML:s._s(s.strings.usageTrackingTooltip)}})]},proxy:!0}],null,!1,1886299547)},[t("svg-circle-question-mark")],1)]},proxy:!0},{key:"content",fn:function(){return[t("base-toggle",{model:{value:s.options.advanced.usageTracking,callback:function(e){s.$set(s.options.advanced,"usageTracking",e)},expression:"options.advanced.usageTracking"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.usageTrackingDescription)+" ")])]},proxy:!0}],null,!1,309685458)}),t("core-settings-row",{attrs:{name:s.strings.uninstallAioseo},scopedSlots:s._u([{key:"content",fn:function(){return[t("base-toggle",{model:{value:s.options.advanced.uninstall,callback:function(e){s.$set(s.options.advanced,"uninstall",e)},expression:"options.advanced.uninstall"}}),t("div",{staticClass:"aioseo-description"},[s._v(" "+s._s(s.strings.uninstallAioseoDescription)+" ")])]},proxy:!0}])})],1)],1)},y=[];const f={components:{BaseCheckbox:c,BaseRadioToggle:u,CoreAlert:r,CoreCard:p,CorePostTypeOptions:_,CoreProBadge:h,CoreSettingsRow:m,CoreTooltip:g,SvgCircleQuestionMark:l},data(){return{strings:{advanced:this.$t.__("Advanced Settings",this.$td),truSeo:this.$t.__("TruSEO Score & Content",this.$td),truSeoDescription:this.$t.__("Enable our TruSEO score to help you optimize your content for maximum traffic.",this.$td),headlineAnalyzer:this.$t.__("Headline Analyzer",this.$td),headlineAnalyzerDescription:this.$t.__("Enable our Headline Analyzer to help you write irresistible headlines and rank better in search results.",this.$td),seoAnalysis:this.$t.__("SEO Analysis",this.$td),postTypeColumns:this.$t.__("Post Type Columns",this.$td),includeAllPostTypes:this.$t.__("Include All Post Types",this.$td),selectPostTypes:this.$t.sprintf(this.$t.__("Select which Post Types you want to use the %1$s columns with.",this.$td),"AIOSEO"),usageTracking:this.$t.__("Usage Tracking",this.$td),adminBarMenu:this.$t.__("Admin Bar Menu",this.$td),adminBarMenuDescription:this.$t.sprintf(this.$t.__("This adds %1$s to the admin toolbar for easy access to your SEO settings.",this.$td),"AIOSEO"),dashboardWidgets:this.$t.__("Dashboard Widgets",this.$td),dashboardWidgetsDescription:this.$t.sprintf(this.$t.__("This displays %1$s widgets on the dashboard.",this.$td),"AIOSEO"),announcements:this.$t.__("Announcements",this.$td),announcementsDescription:this.$t.__("This allows you to hide plugin announcements and update details.",this.$td),automaticUpdates:this.$t.__("Automatic Updates",this.$td),all:this.$t.__("All (recommended)",this.$td),allDescription:this.$t.__("You are getting the latest features, bugfixes, and security updates as they are released.",this.$td),minor:this.$t.__("Minor Only",this.$td),minorDescription:this.$t.__("You are getting bugfixes and security updates, but not major features.",this.$td),none:this.$t.__("None",this.$td),noneDescription:this.$t.__("You will need to manually update everything.",this.$td),usageTrackingDescription:this.$t.__("By allowing us to track usage data we can better help you because we know with which WordPress configurations, themes and plugins we should test.",this.$td),usageTrackingTooltip:this.$t.sprintf(this.$t.__("Complete documentation on usage tracking is available %1$shere%2$s.",this.$td),this.$t.sprintf('<strong><a href="%1$s" target="_blank">',this.$links.getDocUrl("usageTracking")),"</a></strong>"),adminBarMenuUpsell:this.$t.sprintf(this.$t.__("This Admin Bar feature is only available for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"admin-bar-menu",!0)),dashboardWidgetsUpsell:this.$t.sprintf(this.$t.__("The Dashboard Widget feature is only available for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"dashboard-widget",!0)),taxonomyColumns:this.$t.__("Taxonomy Columns",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),selectTaxonomies:this.$t.sprintf(this.$t.__("Select which Taxonomies you want to use the %1$s columns with.",this.$td),"AIOSEO"),taxonomyColumnsUpsell:this.$t.sprintf(this.$t.__("This feature is only for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"taxonomy-columns",!0)),uninstallAioseo:this.$t.sprintf(this.$t.__("Uninstall %1$s",this.$td),"AIOSEO"),uninstallAioseoDescription:this.$t.sprintf(this.$t.__("Check this if you would like to remove ALL %1$s data upon plugin deletion. All settings and SEO data will be unrecoverable.",this.$td),"AIOSEO"),headlineAnalyzerWarning:this.$t.sprintf(this.$t.__("The Headline Analyzer is only available in %1$s and up. %2$s",this.$td),"WordPress 5.2",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"updateWordPress",!0))}}},computed:{...i(["settings","isUnlicensed"]),...a(["options"]),adminBarMenu:{get(){return this.isUnlicensed?!0:this.options.advanced.adminBarMenu},set(s){this.options.advanced.adminBarMenu=s}},dashboardWidgets:{get(){return this.isUnlicensed?!0:this.options.advanced.dashboardWidgets},set(s){this.options.advanced.dashboardWidgets=s}}},methods:{versionCompare:d}},o={};var b=$(f,v,y,!1,T,null,null,null);function T(s){for(let n in o)this[n]=o[n]}const j=function(){return b.exports}();export{j as default};
|
|
dist/Lite/assets/js/{Advanced.8b41615f.js → Advanced.891a4241.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{a as o}from"./index.4776f7d5.js";import{B as r}from"./Checkbox.93944087.js";import{B as i}from"./RadioToggle.18d51233.js";import{B as c}from"./Textarea.2db5f910.js";import{C as l,g as d}from"./index.4a5acef5.js";import{C as p}from"./Card.a455f6aa.js";import{C as u}from"./ExcludePosts.055c1d78.js";import{C as g}from"./HtmlTagsEditor.c1435120.js";import{C as h}from"./PostTypeOptions.2133d15e.js";import{C as _}from"./RobotsMeta.43a238ee.js";import{C as m}from"./SettingsRow.8a127375.js";import{C as v}from"./Tooltip.060399ab.js";import{S as f}from"./External.1af3387c.js";import{n as y}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./Checkmark.627d69a4.js";import"./client.d00863cc.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./constants.9efee5f7.js";import"./portal-vue.esm.272b3133.js";import"./Slide.8aaa5049.js";import"./WpTable.8ff25002.js";import"./attachments.52d4e34c.js";import"./cleanForSlug.788b395f.js";import"./JsonValues.08065e69.js";import"./AddPlus.a5cc22bc.js";import"./Editor.5a52a16a.js";import"./UnfilteredHtml.b3886c4e.js";import"./HighlightToggle.af16c79b.js";import"./Radio.fa2678ef.js";import"./Row.dfea53f7.js";var $=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"aioseo-search-appearance-advanced"},[t("core-card",{attrs:{slug:"searchAdvanced","header-text":e.strings.advanced}},[t("core-settings-row",{attrs:{name:e.strings.globalRobotsMeta},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-robots-meta",{attrs:{options:e.options.searchAppearance.advanced.globalRobotsMeta,global:""}})]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.sitelinks,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:e.strings.sitelinks,options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.searchAppearance.advanced.sitelinks,callback:function(s){e.$set(e.options.searchAppearance.advanced,"sitelinks",s)},expression:"options.searchAppearance.advanced.sitelinks"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.sitelinksDescription)+" ")])]},proxy:!0}])}),e.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")?t("core-settings-row",{attrs:{name:e.strings.autogenerateDescriptions,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"autogenerateDescriptions",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.deprecated.searchAppearance.advanced.autogenerateDescriptions,callback:function(s){e.$set(e.options.deprecated.searchAppearance.advanced,"autogenerateDescriptions",s)},expression:"options.deprecated.searchAppearance.advanced.autogenerateDescriptions"}})]},proxy:!0}],null,!1,3425659337)}):e._e(),e.internalOptions.internal.deprecatedOptions.includes("useContentForAutogeneratedDescriptions")&&(!e.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")||e.options.deprecated.searchAppearance.advanced.autogenerateDescriptions)?t("core-settings-row",{attrs:{name:e.strings.useContentForAutogeneratedDescriptions,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useContentForAutogeneratedDescriptions",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.deprecated.searchAppearance.advanced.useContentForAutogeneratedDescriptions,callback:function(s){e.$set(e.options.deprecated.searchAppearance.advanced,"useContentForAutogeneratedDescriptions",s)},expression:"options.deprecated.searchAppearance.advanced.useContentForAutogeneratedDescriptions"}})]},proxy:!0}],null,!1,1103360809)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.noPaginationForCanonical,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"noPaginationForCanonical",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.searchAppearance.advanced.noPaginationForCanonical,callback:function(s){e.$set(e.options.searchAppearance.advanced,"noPaginationForCanonical",s)},expression:"options.searchAppearance.advanced.noPaginationForCanonical"}})]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.useKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.useKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"useKeywords",s)},expression:"options.searchAppearance.advanced.useKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.useKeywordsDescription)+" ")])]},proxy:!0}])}),e.options.searchAppearance.advanced.useKeywords?t("core-settings-row",{attrs:{name:e.strings.useCategoriesForMetaKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useCategoriesForMetaKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.useCategoriesForMetaKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"useCategoriesForMetaKeywords",s)},expression:"options.searchAppearance.advanced.useCategoriesForMetaKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.useCategoriesDescription)+" ")])]},proxy:!0}],null,!1,1182210491)}):e._e(),e.options.searchAppearance.advanced.useKeywords?t("core-settings-row",{attrs:{name:e.strings.useTagsForMetaKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useTagsForMetaKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.useTagsForMetaKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"useTagsForMetaKeywords",s)},expression:"options.searchAppearance.advanced.useTagsForMetaKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.useTagsDescription)+" ")])]},proxy:!0}],null,!1,980507244)}):e._e(),e.options.searchAppearance.advanced.useKeywords?t("core-settings-row",{attrs:{name:e.strings.dynamicallyGenerateKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"dynamicallyGenerateKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.dynamicallyGenerateKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"dynamicallyGenerateKeywords",s)},expression:"options.searchAppearance.advanced.dynamicallyGenerateKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.dynamicallyGenerateDescription)+" ")])]},proxy:!0}],null,!1,3269411336)}):e._e(),e.internalOptions.internal.deprecatedOptions.includes("descriptionFormat")?t("core-settings-row",{attrs:{id:"description-format",name:e.strings.descriptionFormat,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{staticClass:"description-format",attrs:{"line-numbers":!1,single:"","show-tags-description":!1,"tags-context":"descriptionFormat","default-tags":["description","site_title","tagline"],"show-all-tags-link":!0},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.emptyString)+" ")]},proxy:!0}],null,!1,115256282),model:{value:e.options.deprecated.searchAppearance.global.descriptionFormat,callback:function(s){e.$set(e.options.deprecated.searchAppearance.global,"descriptionFormat",s)},expression:"options.deprecated.searchAppearance.global.descriptionFormat"}}),e.options.deprecated.searchAppearance.global.descriptionFormat.includes("#description")?e._e():t("core-alert",{staticClass:"description-notice",attrs:{type:"red"}},[e._v(" "+e._s(e.strings.descriptionTagRequired)+" ")])]},proxy:!0}],null,!1,3789774672)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.runShortcodes,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"runShortcodes",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.searchAppearance.advanced.runShortcodes,callback:function(s){e.$set(e.options.searchAppearance.advanced,"runShortcodes",s)},expression:"options.searchAppearance.advanced.runShortcodes"}}),e.options.searchAppearance.advanced.runShortcodes?t("core-alert",{staticClass:"run-shortcodes-alert",attrs:{type:"yellow"},domProps:{innerHTML:e._s(e.strings.runShortcodesWarning)}}):e._e(),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.runShortcodesDescription)}})]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.pagedFormat,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{staticClass:"paged-format",attrs:{"line-numbers":!1,single:"","tags-context":"pagedFormat","default-tags":["page_number"],"show-all-tags-link":!1},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.emptyString)+" ")]},proxy:!0}]),model:{value:e.options.searchAppearance.advanced.pagedFormat,callback:function(s){e.$set(e.options.searchAppearance.advanced,"pagedFormat",s)},expression:"options.searchAppearance.advanced.pagedFormat"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.pagedFormatDescription)+" ")])]},proxy:!0}])}),e.internalOptions.internal.deprecatedOptions.includes("excludePosts")?t("core-settings-row",{staticClass:"aioseo-exclude-pages-posts",attrs:{name:e.strings.excludePostsPages,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-exclude-posts",{attrs:{options:e.options.deprecated.searchAppearance.advanced,type:"posts"}})]},proxy:!0}],null,!1,4134150415)}):e._e(),e.internalOptions.internal.deprecatedOptions.includes("excludeTerms")?t("core-settings-row",{staticClass:"aioseo-exclude-terms",attrs:{name:e.strings.excludeTerms,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-exclude-posts",{attrs:{options:e.options.deprecated.searchAppearance.advanced,type:"terms"}})]},proxy:!0}],null,!1,1691116537)}):e._e()],1),t("core-card",{staticClass:"aioseo-rss-content-advanced",attrs:{slug:"searchAdvancedCrawlCleanup",toggles:e.options.searchAppearance.advanced.crawlCleanup.enable},scopedSlots:e._u([{key:"header",fn:function(){return[t("base-toggle",{model:{value:e.options.searchAppearance.advanced.crawlCleanup.enable,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup,"enable",s)},expression:"options.searchAppearance.advanced.crawlCleanup.enable"}}),t("span",[e._v(e._s(e.strings.crawlCleanup))]),e.options.searchAppearance.advanced.crawlCleanup.enable?e._e():t("core-tooltip",{scopedSlots:e._u([{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.crawlCleanupDescription)+" "),t("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0))}})]},proxy:!0}],null,!1,3235161590)},[t("svg-circle-question-mark")],1)]},proxy:!0}])},[t("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[e._v(" "+e._s(e.strings.crawlCleanupDescription)+" "),t("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0))}})]),t("core-settings-row",{attrs:{name:e.strings.removeUnrecognizedQueryArgs,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"removeUnrecognizedQueryArgs",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup,"removeUnrecognizedQueryArgs",s)},expression:"options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs"}}),e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs?e._e():t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.removeUnrecognizedQueryArgsDescription)+" "+e._s(e.strings.removeUnrecognizedQueryArgsAlert)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs?t("core-alert",{attrs:{type:"yellow"}},[e._v(" "+e._s(e.strings.removeUnrecognizedQueryArgsAlert)+" ")]):e._e()]},proxy:!0}])}),e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs?t("core-settings-row",{attrs:{name:e.strings.allowedQueryArgs},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-textarea",{attrs:{minHeight:200,maxHeight:200},model:{value:e.options.searchAppearance.advanced.crawlCleanup.allowedQueryArgs,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup,"allowedQueryArgs",s)},expression:"options.searchAppearance.advanced.crawlCleanup.allowedQueryArgs"}}),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.allowedQueryArgsDescription)}})]},proxy:!0}],null,!1,4112819009)}):e._e(),t("core-settings-row",{attrs:{id:"crawl-content-global-feed",name:e.strings.globalFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"global",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.global,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"global",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.global"}}),e.options.searchAppearance.advanced.crawlCleanup.feeds.global?t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.globalFeedDescription)+" "+e._s(e.strings.disableGlobalFeedAlert)+" "),t("div",{staticClass:"rss-link"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.global,target:"_blank"}},[e._v(e._s(e.strings.openYourRssFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.global,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)])]):e._e(),e.options.searchAppearance.advanced.crawlCleanup.feeds.global?e._e():t("core-alert",{attrs:{type:"red"}},[e._v(" "+e._s(e.strings.disableGlobalFeedAlert)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.globalCommentsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"globalComments",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"globalComments",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.globalComments"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.globalCommentsFeedDescription)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.globalComments,target:"_blank"}},[e._v(e._s(e.strings.openYourCommentsRssFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.globalComments,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}])}),e.$aioseo.data.staticBlogPage?t("core-settings-row",{attrs:{name:e.strings.staticBlogPageFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"staticBlogPage",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"staticBlogPage",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.staticBlogPageFeedDescription)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.staticBlogPage,target:"_blank"}},[e._v(e._s(e.strings.openYourStaticBlogPageFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.staticBlogPage,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}],null,!1,2073575804)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.authorsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"authors",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.authors,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"authors",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.authors"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.authorsFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.postCommentsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"postComments",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.postComments,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"postComments",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.postComments"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.postCommentsFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.searchFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"search",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.search,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"search",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.search"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.searchFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.attachmentsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"attachments",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.attachments,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"attachments",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.attachments"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.attachmentsFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.paginatedFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"paginated",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.paginated,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"paginated",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.paginated"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.paginatedFeedDescription)+" ")])]},proxy:!0}])}),e.$aioseo.postData.archives.length?t("core-settings-row",{attrs:{name:e.strings.postTypesFeed},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds.archives,"all",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.archives.all"}},[e._v(" "+e._s(e.strings.includeAllPostTypes)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all?e._e():t("core-post-type-options",{attrs:{options:e.options.searchAppearance.advanced.crawlCleanup.feeds,type:"archives"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectPostTypes)+" ")])]},proxy:!0}],null,!1,1023774212)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.taxonomiesFeed},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies,"all",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all"}},[e._v(" "+e._s(e.strings.includeAllTaxonomies)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all?e._e():t("core-post-type-options",{attrs:{options:e.options.searchAppearance.advanced.crawlCleanup.feeds,type:"taxonomies"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectTaxonomies)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.atomFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"atom",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.atom,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"atom",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.atom"}}),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.atomFeedDescription)}}),e.options.searchAppearance.advanced.crawlCleanup.feeds.atom?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.atom,target:"_blank"}},[e._v(e._s(e.strings.openYourAtomFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.atom,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.rdfFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"rdf",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.rdf,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"rdf",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.rdf"}}),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.rdfFeedDescription)}}),e.options.searchAppearance.advanced.crawlCleanup.feeds.rdf?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.rdf,target:"_blank"}},[e._v(e._s(e.strings.openYourRdfFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.rdf,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}])})],1)],1)},b=[];const A={components:{BaseCheckbox:r,BaseRadioToggle:i,BaseTextarea:c,CoreAlert:l,CoreCard:p,CoreExcludePosts:u,CoreHtmlTagsEditor:g,CorePostTypeOptions:h,CoreRobotsMeta:_,CoreSettingsRow:m,CoreTooltip:v,SvgCircleQuestionMark:d,SvgExternal:f},data(){return{emptyString:"",strings:{advanced:this.$t.__("Advanced Settings",this.$td),globalRobotsMeta:this.$t.__("Global Robots Meta",this.$td),noIndexEmptyCat:this.$t.__("Noindex Empty Category and Tag Archives",this.$td),removeStopWords:this.$t.__("Remove Stopwords from Permalinks",this.$td),autogenerateDescriptions:this.$t.__("Autogenerate Descriptions",this.$td),useContentForAutogeneratedDescriptions:this.$t.__("Use Content for Autogenerated Descriptions",this.$td),runShortcodes:this.$t.__("Run Shortcodes",this.$td),runShortcodesDescription:this.$t.sprintf(this.$t.__("This option allows you to control whether %1$s should parse shortcodes when generating data such as the SEO title/meta description. Enabling this setting may cause conflicts with third-party plugins/themes. %2$s",this.$td),"AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"runningShortcodes",!0)),runShortcodesWarning:this.$t.sprintf(this.$t.__("NOTE: Enabling this setting may cause conflicts with third-party plugins/themes. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"runningShortcodes",!0)),noPaginationForCanonical:this.$t.__("No Pagination for Canonical URLs",this.$td),useKeywords:this.$t.__("Use Meta Keywords",this.$td),useKeywordsDescription:this.$t.__("This option allows you to toggle the use of Meta Keywords throughout the whole of the site.",this.$td),useCategoriesForMetaKeywords:this.$t.__("Use Categories for Meta Keywords",this.$td),useCategoriesDescription:this.$t.__("Check this if you want your categories for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen).",this.$td),useTagsForMetaKeywords:this.$t.__("Use Tags for Meta Keywords",this.$td),removeUnrecognizedQueryArgs:this.$t.__("Remove Query Args",this.$td),removeUnrecognizedQueryArgsDescription:this.$t.__("Enable this option to remove any unrecognized query args from your site.",this.$td),removeUnrecognizedQueryArgsAlert:this.$t.__("This will help prevent search engines from crawling every variation of your pages with all the unrecognized query arguments. Only enable this if you understand exactly what it does as it can have a significant impact on your site.",this.$td),allowedQueryArgs:this.$t.__("Allowed Query Args",this.$td),allowedQueryArgsDescription:this.$t.sprintf(this.$t.__('Add any query args that you want to allow, one per line. You can also use regular expressions here for advanced use. All query args that are used by WordPress Core (e.g. "s" for search pages) are automatically whitelisted by default. %1$s',this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0)),useTagsDescription:this.$t.__("Check this if you want your tags for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen).",this.$td),dynamicallyGenerateKeywords:this.$t.__("Dynamically Generate Meta Keywords",this.$td),dynamicallyGenerateDescription:this.$t.__("Check this if you want your keywords on your Posts page (set in WordPress under Settings, Reading, Front Page Displays) and your archive pages to be dynamically generated from the keywords of the posts showing on that page. If unchecked, it will use the keywords set in the edit page screen for the posts page.",this.$td),pagedFormat:this.$t.__("Paged Format",this.$td),pagedFormatDescription:this.$t.__("This string gets appended to the titles and descriptions of paginated pages (like term or archive pages).",this.$td),descriptionFormat:this.$t.__("Description Format",this.$td),excludePostsPages:this.$t.__("Exclude Posts / Pages",this.$td),excludeTerms:this.$t.__("Exclude Terms",this.$td),sitelinks:this.$t.__("Enable Sitelinks Search Box",this.$td),sitelinksDescription:this.$t.sprintf(this.$t.__("Choose whether %1$s should output the required schema markup that Google needs to generate a sitelinks search box.",this.$td),"AIOSEO"),descriptionTagRequired:this.$t.__("A Description tag is required in order to properly display your meta descriptions on your site.",this.$td),crawlCleanup:this.$t.__("Crawl Cleanup",this.$td),crawlCleanupDescription:this.$t.__("Removing unrecognized query arguments from URLs and disabling unnecessary RSS feeds can help save search engine crawl quota and speed up content indexing for larger sites. If you choose to disable any feeds, those feed links will automatically redirect to your homepage or applicable archive page.",this.$td),globalFeed:this.$t.__("Global RSS Feed",this.$td),globalFeedDescription:this.$t.__("The global RSS feed is how users subscribe to any new content that has been created on your site.",this.$td),openYourRssFeed:this.$t.__("Open Your RSS Feed",this.$td),disableGlobalFeedAlert:this.$t.__("Disabling the global RSS feed is NOT recommended. This will prevent users from subscribing to your content and can hurt your SEO rankings.",this.$td),globalCommentsFeed:this.$t.__("Global Comments RSS Feed",this.$td),globalCommentsFeedDescription:this.$t.__("The global comments feed allows users to subscribe to any new comments added to your site.",this.$td),openYourCommentsRssFeed:this.$t.__("Open Your Comments RSS Feed",this.$td),staticBlogPageFeed:this.$t.__("Static Posts Page Feed",this.$td),staticBlogPageFeedDescription:this.$t.__("The static posts page feed allows users to subscribe to any new content added to your blog page.",this.$td),openYourStaticBlogPageFeed:this.$t.__("Open Your Static Posts Page RSS Feed",this.$td),authorsFeed:this.$t.__("Author Feeds",this.$td),authorsFeedDescription:this.$t.__("The authors feed allows your users to subscribe to any new content written by a specific author.",this.$td),postCommentsFeed:this.$t.__("Post Comment Feeds",this.$td),postCommentsFeedDescription:this.$t.__("The post comments feed allows your users to subscribe to any new comments on a specific page or post.",this.$td),searchFeed:this.$t.__("Search Feed",this.$td),searchFeedDescription:this.$t.__("The search feed description allows visitors to subscribe to your content based on a specific search term.",this.$td),attachmentsFeed:this.$t.__("Attachments Feed",this.$td),attachmentsFeedDescription:this.$t.__("The attachments feed allows users to subscribe to any changes to your site made to media file categories.",this.$td),postTypesFeed:this.$t.__("Post Type Archive Feeds",this.$td),includeAllPostTypes:this.$t.__("Include All Post Type Archives",this.$td),selectPostTypes:this.$t.__("Select which post type archives should include an RSS feed. This only applies to post types that include an archive page.",this.$td),taxonomiesFeed:this.$t.__("Taxonomy Feeds",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),selectTaxonomies:this.$t.__("Select which Taxonomies should include an RSS feed.",this.$td),atomFeed:this.$t.__("Atom Feed",this.$td),atomFeedDescription:this.$t.sprintf(this.$t.__("This is a global feed of your site output in the Atom format. %1$s",this.$td),this.$links.getPlainLink(this.$constants.GLOBAL_STRINGS.learnMore,"http://www.atomenabled.org/",!0)),openYourAtomFeed:this.$t.__("Open Your Atom Feed",this.$td),rdfFeed:this.$t.__("RDF/RSS 1.0 Feed",this.$td),rdfFeedDescription:this.$t.sprintf(this.$t.__("This is a global feed of your site output in the RDF/RSS 1.0 format. %1$s",this.$td),this.$links.getPlainLink(this.$constants.GLOBAL_STRINGS.learnMore,"https://web.resource.org/rss/1.0/",!0)),openYourRdfFeed:this.$t.__("Open Your RDF Feed",this.$td),paginatedFeed:this.$t.__("Paginated RSS Feeds",this.$td),paginatedFeedDescription:this.$t.__("The paginated RSS feeds are for any posts or pages that are paginated.",this.$td)}}},computed:{...o(["options","internalOptions"])}},n={};var C=y(A,$,b,!1,w,null,null,null);function w(e){for(let a in n)this[a]=n[a]}const ne=function(){return C.exports}();export{ne as default};
|
1 |
+
import{a as o}from"./index.f16c040b.js";import{B as r}from"./Checkbox.732cf0d4.js";import{B as i}from"./RadioToggle.d0794ab7.js";import{B as c}from"./Textarea.92b32df4.js";import{C as l,c as d}from"./index.c9bc1c73.js";import{C as p}from"./Card.1a6f5bab.js";import{C as u}from"./ExcludePosts.7b23f56f.js";import{C as g}from"./HtmlTagsEditor.b55f3dc8.js";import{C as h}from"./PostTypeOptions.b45e7911.js";import{C as _}from"./RobotsMeta.e1358fdf.js";import{C as m}from"./SettingsRow.0d51ff21.js";import{C as v}from"./Tooltip.a36a3967.js";import{S as f}from"./External.051baee5.js";import{n as y}from"./vueComponentNormalizer.58b0a173.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./Checkmark.c0183939.js";import"./client.b661b356.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./constants.71b051da.js";import"./portal-vue.esm.272b3133.js";import"./Slide.01023b2f.js";import"./WpTable.078239fd.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./JsonValues.08065e69.js";import"./AddPlus.f0d14d8e.js";import"./Editor.f11f5d3a.js";import"./UnfilteredHtml.155f6b63.js";import"./HighlightToggle.ad3182d2.js";import"./Radio.8fe23bef.js";import"./Row.89c6bb85.js";var $=function(){var e=this,a=e.$createElement,t=e._self._c||a;return t("div",{staticClass:"aioseo-search-appearance-advanced"},[t("core-card",{attrs:{slug:"searchAdvanced","header-text":e.strings.advanced}},[t("core-settings-row",{attrs:{name:e.strings.globalRobotsMeta},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-robots-meta",{attrs:{options:e.options.searchAppearance.advanced.globalRobotsMeta,global:""}})]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.sitelinks,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:e.strings.sitelinks,options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.searchAppearance.advanced.sitelinks,callback:function(s){e.$set(e.options.searchAppearance.advanced,"sitelinks",s)},expression:"options.searchAppearance.advanced.sitelinks"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.sitelinksDescription)+" ")])]},proxy:!0}])}),e.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")?t("core-settings-row",{attrs:{name:e.strings.autogenerateDescriptions,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"autogenerateDescriptions",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.deprecated.searchAppearance.advanced.autogenerateDescriptions,callback:function(s){e.$set(e.options.deprecated.searchAppearance.advanced,"autogenerateDescriptions",s)},expression:"options.deprecated.searchAppearance.advanced.autogenerateDescriptions"}})]},proxy:!0}],null,!1,3425659337)}):e._e(),e.internalOptions.internal.deprecatedOptions.includes("useContentForAutogeneratedDescriptions")&&(!e.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")||e.options.deprecated.searchAppearance.advanced.autogenerateDescriptions)?t("core-settings-row",{attrs:{name:e.strings.useContentForAutogeneratedDescriptions,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useContentForAutogeneratedDescriptions",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.deprecated.searchAppearance.advanced.useContentForAutogeneratedDescriptions,callback:function(s){e.$set(e.options.deprecated.searchAppearance.advanced,"useContentForAutogeneratedDescriptions",s)},expression:"options.deprecated.searchAppearance.advanced.useContentForAutogeneratedDescriptions"}})]},proxy:!0}],null,!1,1103360809)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.noPaginationForCanonical,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"noPaginationForCanonical",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.searchAppearance.advanced.noPaginationForCanonical,callback:function(s){e.$set(e.options.searchAppearance.advanced,"noPaginationForCanonical",s)},expression:"options.searchAppearance.advanced.noPaginationForCanonical"}})]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.useKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.useKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"useKeywords",s)},expression:"options.searchAppearance.advanced.useKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.useKeywordsDescription)+" ")])]},proxy:!0}])}),e.options.searchAppearance.advanced.useKeywords?t("core-settings-row",{attrs:{name:e.strings.useCategoriesForMetaKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useCategoriesForMetaKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.useCategoriesForMetaKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"useCategoriesForMetaKeywords",s)},expression:"options.searchAppearance.advanced.useCategoriesForMetaKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.useCategoriesDescription)+" ")])]},proxy:!0}],null,!1,1182210491)}):e._e(),e.options.searchAppearance.advanced.useKeywords?t("core-settings-row",{attrs:{name:e.strings.useTagsForMetaKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"useTagsForMetaKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.useTagsForMetaKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"useTagsForMetaKeywords",s)},expression:"options.searchAppearance.advanced.useTagsForMetaKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.useTagsDescription)+" ")])]},proxy:!0}],null,!1,980507244)}):e._e(),e.options.searchAppearance.advanced.useKeywords?t("core-settings-row",{attrs:{name:e.strings.dynamicallyGenerateKeywords,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"dynamicallyGenerateKeywords",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.dynamicallyGenerateKeywords,callback:function(s){e.$set(e.options.searchAppearance.advanced,"dynamicallyGenerateKeywords",s)},expression:"options.searchAppearance.advanced.dynamicallyGenerateKeywords"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.dynamicallyGenerateDescription)+" ")])]},proxy:!0}],null,!1,3269411336)}):e._e(),e.internalOptions.internal.deprecatedOptions.includes("descriptionFormat")?t("core-settings-row",{attrs:{id:"description-format",name:e.strings.descriptionFormat,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{staticClass:"description-format",attrs:{"line-numbers":!1,single:"","show-tags-description":!1,"tags-context":"descriptionFormat","default-tags":["description","site_title","tagline"],"show-all-tags-link":!0},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.emptyString)+" ")]},proxy:!0}],null,!1,115256282),model:{value:e.options.deprecated.searchAppearance.global.descriptionFormat,callback:function(s){e.$set(e.options.deprecated.searchAppearance.global,"descriptionFormat",s)},expression:"options.deprecated.searchAppearance.global.descriptionFormat"}}),e.options.deprecated.searchAppearance.global.descriptionFormat.includes("#description")?e._e():t("core-alert",{staticClass:"description-notice",attrs:{type:"red"}},[e._v(" "+e._s(e.strings.descriptionTagRequired)+" ")])]},proxy:!0}],null,!1,3789774672)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.runShortcodes,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"runShortcodes",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.searchAppearance.advanced.runShortcodes,callback:function(s){e.$set(e.options.searchAppearance.advanced,"runShortcodes",s)},expression:"options.searchAppearance.advanced.runShortcodes"}}),e.options.searchAppearance.advanced.runShortcodes?t("core-alert",{staticClass:"run-shortcodes-alert",attrs:{type:"yellow"},domProps:{innerHTML:e._s(e.strings.runShortcodesWarning)}}):e._e(),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.runShortcodesDescription)}})]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.pagedFormat,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{staticClass:"paged-format",attrs:{"line-numbers":!1,single:"","tags-context":"pagedFormat","default-tags":["page_number"],"show-all-tags-link":!1},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.emptyString)+" ")]},proxy:!0}]),model:{value:e.options.searchAppearance.advanced.pagedFormat,callback:function(s){e.$set(e.options.searchAppearance.advanced,"pagedFormat",s)},expression:"options.searchAppearance.advanced.pagedFormat"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.pagedFormatDescription)+" ")])]},proxy:!0}])}),e.internalOptions.internal.deprecatedOptions.includes("excludePosts")?t("core-settings-row",{staticClass:"aioseo-exclude-pages-posts",attrs:{name:e.strings.excludePostsPages,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-exclude-posts",{attrs:{options:e.options.deprecated.searchAppearance.advanced,type:"posts"}})]},proxy:!0}],null,!1,4134150415)}):e._e(),e.internalOptions.internal.deprecatedOptions.includes("excludeTerms")?t("core-settings-row",{staticClass:"aioseo-exclude-terms",attrs:{name:e.strings.excludeTerms,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-exclude-posts",{attrs:{options:e.options.deprecated.searchAppearance.advanced,type:"terms"}})]},proxy:!0}],null,!1,1691116537)}):e._e()],1),t("core-card",{staticClass:"aioseo-rss-content-advanced",attrs:{slug:"searchAdvancedCrawlCleanup",toggles:e.options.searchAppearance.advanced.crawlCleanup.enable},scopedSlots:e._u([{key:"header",fn:function(){return[t("base-toggle",{model:{value:e.options.searchAppearance.advanced.crawlCleanup.enable,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup,"enable",s)},expression:"options.searchAppearance.advanced.crawlCleanup.enable"}}),t("span",[e._v(e._s(e.strings.crawlCleanup))]),e.options.searchAppearance.advanced.crawlCleanup.enable?e._e():t("core-tooltip",{scopedSlots:e._u([{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.crawlCleanupDescription)+" "),t("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0))}})]},proxy:!0}],null,!1,3235161590)},[t("svg-circle-question-mark")],1)]},proxy:!0}])},[t("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[e._v(" "+e._s(e.strings.crawlCleanupDescription)+" "),t("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0))}})]),t("core-settings-row",{attrs:{name:e.strings.removeUnrecognizedQueryArgs,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"removeUnrecognizedQueryArgs",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup,"removeUnrecognizedQueryArgs",s)},expression:"options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs"}}),e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs?e._e():t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.removeUnrecognizedQueryArgsDescription)+" "+e._s(e.strings.removeUnrecognizedQueryArgsAlert)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs?t("core-alert",{attrs:{type:"yellow"}},[e._v(" "+e._s(e.strings.removeUnrecognizedQueryArgsAlert)+" ")]):e._e()]},proxy:!0}])}),e.options.searchAppearance.advanced.crawlCleanup.removeUnrecognizedQueryArgs?t("core-settings-row",{attrs:{name:e.strings.allowedQueryArgs},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-textarea",{attrs:{minHeight:200,maxHeight:200},model:{value:e.options.searchAppearance.advanced.crawlCleanup.allowedQueryArgs,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup,"allowedQueryArgs",s)},expression:"options.searchAppearance.advanced.crawlCleanup.allowedQueryArgs"}}),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.allowedQueryArgsDescription)}})]},proxy:!0}],null,!1,4112819009)}):e._e(),t("core-settings-row",{attrs:{id:"crawl-content-global-feed",name:e.strings.globalFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"global",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.global,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"global",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.global"}}),e.options.searchAppearance.advanced.crawlCleanup.feeds.global?t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.globalFeedDescription)+" "+e._s(e.strings.disableGlobalFeedAlert)+" "),t("div",{staticClass:"rss-link"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.global,target:"_blank"}},[e._v(e._s(e.strings.openYourRssFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.global,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)])]):e._e(),e.options.searchAppearance.advanced.crawlCleanup.feeds.global?e._e():t("core-alert",{attrs:{type:"red"}},[e._v(" "+e._s(e.strings.disableGlobalFeedAlert)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.globalCommentsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"globalComments",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"globalComments",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.globalComments"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.globalCommentsFeedDescription)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.globalComments?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.globalComments,target:"_blank"}},[e._v(e._s(e.strings.openYourCommentsRssFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.globalComments,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}])}),e.$aioseo.data.staticBlogPage?t("core-settings-row",{attrs:{name:e.strings.staticBlogPageFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"staticBlogPage",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"staticBlogPage",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.staticBlogPageFeedDescription)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.staticBlogPage?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.staticBlogPage,target:"_blank"}},[e._v(e._s(e.strings.openYourStaticBlogPageFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.staticBlogPage,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}],null,!1,2073575804)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.authorsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"authors",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.authors,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"authors",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.authors"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.authorsFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.postCommentsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"postComments",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.postComments,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"postComments",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.postComments"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.postCommentsFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.searchFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"search",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.search,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"search",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.search"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.searchFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.attachmentsFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"attachments",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.attachments,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"attachments",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.attachments"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.attachmentsFeedDescription)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.paginatedFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"paginated",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.paginated,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"paginated",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.paginated"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.paginatedFeedDescription)+" ")])]},proxy:!0}])}),e.$aioseo.postData.archives.length?t("core-settings-row",{attrs:{name:e.strings.postTypesFeed},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds.archives,"all",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.archives.all"}},[e._v(" "+e._s(e.strings.includeAllPostTypes)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.archives.all?e._e():t("core-post-type-options",{attrs:{options:e.options.searchAppearance.advanced.crawlCleanup.feeds,type:"archives"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectPostTypes)+" ")])]},proxy:!0}],null,!1,1023774212)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.taxonomiesFeed},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies,"all",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all"}},[e._v(" "+e._s(e.strings.includeAllTaxonomies)+" ")]),e.options.searchAppearance.advanced.crawlCleanup.feeds.taxonomies.all?e._e():t("core-post-type-options",{attrs:{options:e.options.searchAppearance.advanced.crawlCleanup.feeds,type:"taxonomies"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectTaxonomies)+" ")])]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.atomFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"atom",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.atom,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"atom",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.atom"}}),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.atomFeedDescription)}}),e.options.searchAppearance.advanced.crawlCleanup.feeds.atom?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.atom,target:"_blank"}},[e._v(e._s(e.strings.openYourAtomFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.atom,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}])}),t("core-settings-row",{attrs:{name:e.strings.rdfFeed,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"rdf",options:[{label:e.$constants.GLOBAL_STRINGS.disabled,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.enabled,value:!0}]},model:{value:e.options.searchAppearance.advanced.crawlCleanup.feeds.rdf,callback:function(s){e.$set(e.options.searchAppearance.advanced.crawlCleanup.feeds,"rdf",s)},expression:"options.searchAppearance.advanced.crawlCleanup.feeds.rdf"}}),t("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.rdfFeedDescription)}}),e.options.searchAppearance.advanced.crawlCleanup.feeds.rdf?t("div",{staticClass:"aioseo-description"},[t("a",{attrs:{href:e.$aioseo.urls.feeds.rdf,target:"_blank"}},[e._v(e._s(e.strings.openYourRdfFeed))]),t("a",{staticClass:"no-underline",attrs:{href:e.$aioseo.urls.feeds.rdf,target:"_blank"}},[e._v("\xA0"),t("svg-external")],1)]):e._e()]},proxy:!0}])})],1)],1)},b=[];const A={components:{BaseCheckbox:r,BaseRadioToggle:i,BaseTextarea:c,CoreAlert:l,CoreCard:p,CoreExcludePosts:u,CoreHtmlTagsEditor:g,CorePostTypeOptions:h,CoreRobotsMeta:_,CoreSettingsRow:m,CoreTooltip:v,SvgCircleQuestionMark:d,SvgExternal:f},data(){return{emptyString:"",strings:{advanced:this.$t.__("Advanced Settings",this.$td),globalRobotsMeta:this.$t.__("Global Robots Meta",this.$td),noIndexEmptyCat:this.$t.__("Noindex Empty Category and Tag Archives",this.$td),removeStopWords:this.$t.__("Remove Stopwords from Permalinks",this.$td),autogenerateDescriptions:this.$t.__("Autogenerate Descriptions",this.$td),useContentForAutogeneratedDescriptions:this.$t.__("Use Content for Autogenerated Descriptions",this.$td),runShortcodes:this.$t.__("Run Shortcodes",this.$td),runShortcodesDescription:this.$t.sprintf(this.$t.__("This option allows you to control whether %1$s should parse shortcodes when generating data such as the SEO title/meta description. Enabling this setting may cause conflicts with third-party plugins/themes. %2$s",this.$td),"AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"runningShortcodes",!0)),runShortcodesWarning:this.$t.sprintf(this.$t.__("NOTE: Enabling this setting may cause conflicts with third-party plugins/themes. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"runningShortcodes",!0)),noPaginationForCanonical:this.$t.__("No Pagination for Canonical URLs",this.$td),useKeywords:this.$t.__("Use Meta Keywords",this.$td),useKeywordsDescription:this.$t.__("This option allows you to toggle the use of Meta Keywords throughout the whole of the site.",this.$td),useCategoriesForMetaKeywords:this.$t.__("Use Categories for Meta Keywords",this.$td),useCategoriesDescription:this.$t.__("Check this if you want your categories for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen).",this.$td),useTagsForMetaKeywords:this.$t.__("Use Tags for Meta Keywords",this.$td),removeUnrecognizedQueryArgs:this.$t.__("Remove Query Args",this.$td),removeUnrecognizedQueryArgsDescription:this.$t.__("Enable this option to remove any unrecognized query args from your site.",this.$td),removeUnrecognizedQueryArgsAlert:this.$t.__("This will help prevent search engines from crawling every variation of your pages with all the unrecognized query arguments. Only enable this if you understand exactly what it does as it can have a significant impact on your site.",this.$td),allowedQueryArgs:this.$t.__("Allowed Query Args",this.$td),allowedQueryArgsDescription:this.$t.sprintf(this.$t.__('Add any query args that you want to allow, one per line. You can also use regular expressions here for advanced use. All query args that are used by WordPress Core (e.g. "s" for search pages) are automatically whitelisted by default. %1$s',this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"crawlCleanup",!0)),useTagsDescription:this.$t.__("Check this if you want your tags for a given post used as the Meta Keywords for this post (in addition to any keywords you specify on the Edit Post screen).",this.$td),dynamicallyGenerateKeywords:this.$t.__("Dynamically Generate Meta Keywords",this.$td),dynamicallyGenerateDescription:this.$t.__("Check this if you want your keywords on your Posts page (set in WordPress under Settings, Reading, Front Page Displays) and your archive pages to be dynamically generated from the keywords of the posts showing on that page. If unchecked, it will use the keywords set in the edit page screen for the posts page.",this.$td),pagedFormat:this.$t.__("Paged Format",this.$td),pagedFormatDescription:this.$t.__("This string gets appended to the titles and descriptions of paginated pages (like term or archive pages).",this.$td),descriptionFormat:this.$t.__("Description Format",this.$td),excludePostsPages:this.$t.__("Exclude Posts / Pages",this.$td),excludeTerms:this.$t.__("Exclude Terms",this.$td),sitelinks:this.$t.__("Enable Sitelinks Search Box",this.$td),sitelinksDescription:this.$t.sprintf(this.$t.__("Choose whether %1$s should output the required schema markup that Google needs to generate a sitelinks search box.",this.$td),"AIOSEO"),descriptionTagRequired:this.$t.__("A Description tag is required in order to properly display your meta descriptions on your site.",this.$td),crawlCleanup:this.$t.__("Crawl Cleanup",this.$td),crawlCleanupDescription:this.$t.__("Removing unrecognized query arguments from URLs and disabling unnecessary RSS feeds can help save search engine crawl quota and speed up content indexing for larger sites. If you choose to disable any feeds, those feed links will automatically redirect to your homepage or applicable archive page.",this.$td),globalFeed:this.$t.__("Global RSS Feed",this.$td),globalFeedDescription:this.$t.__("The global RSS feed is how users subscribe to any new content that has been created on your site.",this.$td),openYourRssFeed:this.$t.__("Open Your RSS Feed",this.$td),disableGlobalFeedAlert:this.$t.__("Disabling the global RSS feed is NOT recommended. This will prevent users from subscribing to your content and can hurt your SEO rankings.",this.$td),globalCommentsFeed:this.$t.__("Global Comments RSS Feed",this.$td),globalCommentsFeedDescription:this.$t.__("The global comments feed allows users to subscribe to any new comments added to your site.",this.$td),openYourCommentsRssFeed:this.$t.__("Open Your Comments RSS Feed",this.$td),staticBlogPageFeed:this.$t.__("Static Posts Page Feed",this.$td),staticBlogPageFeedDescription:this.$t.__("The static posts page feed allows users to subscribe to any new content added to your blog page.",this.$td),openYourStaticBlogPageFeed:this.$t.__("Open Your Static Posts Page RSS Feed",this.$td),authorsFeed:this.$t.__("Author Feeds",this.$td),authorsFeedDescription:this.$t.__("The authors feed allows your users to subscribe to any new content written by a specific author.",this.$td),postCommentsFeed:this.$t.__("Post Comment Feeds",this.$td),postCommentsFeedDescription:this.$t.__("The post comments feed allows your users to subscribe to any new comments on a specific page or post.",this.$td),searchFeed:this.$t.__("Search Feed",this.$td),searchFeedDescription:this.$t.__("The search feed description allows visitors to subscribe to your content based on a specific search term.",this.$td),attachmentsFeed:this.$t.__("Attachments Feed",this.$td),attachmentsFeedDescription:this.$t.__("The attachments feed allows users to subscribe to any changes to your site made to media file categories.",this.$td),postTypesFeed:this.$t.__("Post Type Archive Feeds",this.$td),includeAllPostTypes:this.$t.__("Include All Post Type Archives",this.$td),selectPostTypes:this.$t.__("Select which post type archives should include an RSS feed. This only applies to post types that include an archive page.",this.$td),taxonomiesFeed:this.$t.__("Taxonomy Feeds",this.$td),includeAllTaxonomies:this.$t.__("Include All Taxonomies",this.$td),selectTaxonomies:this.$t.__("Select which Taxonomies should include an RSS feed.",this.$td),atomFeed:this.$t.__("Atom Feed",this.$td),atomFeedDescription:this.$t.sprintf(this.$t.__("This is a global feed of your site output in the Atom format. %1$s",this.$td),this.$links.getPlainLink(this.$constants.GLOBAL_STRINGS.learnMore,"http://www.atomenabled.org/",!0)),openYourAtomFeed:this.$t.__("Open Your Atom Feed",this.$td),rdfFeed:this.$t.__("RDF/RSS 1.0 Feed",this.$td),rdfFeedDescription:this.$t.sprintf(this.$t.__("This is a global feed of your site output in the RDF/RSS 1.0 format. %1$s",this.$td),this.$links.getPlainLink(this.$constants.GLOBAL_STRINGS.learnMore,"https://web.resource.org/rss/1.0/",!0)),openYourRdfFeed:this.$t.__("Open Your RDF Feed",this.$td),paginatedFeed:this.$t.__("Paginated RSS Feeds",this.$td),paginatedFeedDescription:this.$t.__("The paginated RSS feeds are for any posts or pages that are paginated.",this.$td)}}},computed:{...o(["options","internalOptions"])}},n={};var C=y(A,$,b,!1,w,null,null,null);function w(e){for(let a in n)this[a]=n[a]}const ne=function(){return C.exports}();export{ne as default};
|
dist/Lite/assets/js/AnalyzeCompetitorSite.11cb56fe.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{a as m,m as i,e as h,b as d}from"./index.4776f7d5.js";import"./WpTable.8ff25002.js";import{n}from"./vueComponentNormalizer.58b0a173.js";import{i as _,O as y}from"./index.4a5acef5.js";import{S as a}from"./SeoSiteScore.48a1cf92.js";import{C as f,a as g}from"./Score.8de07f5e.js";import{p as v}from"./popup.25df8419.js";import{C}from"./Blur.404d53ce.js";import{C as p}from"./Card.a455f6aa.js";import{C as S}from"./SeoSiteAnalysisResults.bb468cfc.js";import{C as z}from"./Index.41844c79.js";import{S as $}from"./Refresh.89be8ab6.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./attachments.52d4e34c.js";import"./cleanForSlug.788b395f.js";import"./constants.9efee5f7.js";import"./client.d00863cc.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./params.bea1a08d.js";import"./Tooltip.060399ab.js";import"./Slide.8aaa5049.js";import"./GoogleSearchPreview.153cd296.js";import"./Information.d80e4486.js";import"./Gear.21727cf4.js";var A=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("core-card",{attrs:{slug:"analyzeNewCompetitor","hide-header":"","no-slide":"",toggles:!1}},[e(t.internalOptions.internal.siteAnalysis.connectToken?"div":"core-blur",{tag:"component"},[t._t("default")],2),t.internalOptions.internal.siteAnalysis.connectToken?t._e():e("div",{staticClass:"aioseo-seo-site-score-cta"},[e("a",{attrs:{href:"#"},on:{click:function(r){return t.openPopup(t.$aioseo.urls.connect)}}},[t._v(t._s(t.connectWithAioseo))]),t._v(" "+t._s(t.strings.toAnalyzeCompetitorSite)+" ")])],1),t.internalOptions.internal.siteAnalysis.connectToken?[t._t("competitor-results")]:t._e()],2)},R=[];const k={components:{CoreBlur:C,CoreCard:p},mixins:[a],computed:{...m(["internalOptions"])},methods:{...i(["saveConnectToken"]),openPopup(t){v(t,this.connectWithAioseo,600,630,!0,["token"],this.completedCallback,()=>{})},completedCallback(t){return this.saveConnectToken(t.token)}}},l={};var b=n(k,A,R,!1,T,null,null,null);function T(t){for(let s in l)this[s]=l[s]}const E=function(){return b.exports}();var x=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-site-score-competitor"},[e("div",{staticClass:"aioseo-seo-site-score-score"},[e("core-site-score",{attrs:{loading:t.isAnalyzing||t.loading,score:t.score,description:t.description}})],1),e("div",{staticClass:"aioseo-seo-site-score-recommendations"},[e("div",{staticClass:"critical"},[e("span",{staticClass:"round red"},[t._v(t._s(t.summary.critical||0))]),t._v(" "+t._s(t.strings.criticalIssues)+" ")]),e("div",{staticClass:"recommended"},[e("span",{staticClass:"round blue"},[t._v(t._s(t.summary.recommended||0))]),t._v(" "+t._s(t.strings.recommendedImprovements)+" ")]),e("div",{staticClass:"good"},[e("span",{staticClass:"round green"},[t._v(t._s(t.summary.good||0))]),t._v(" "+t._s(t.strings.goodResults)+" ")])]),e("base-button",{staticClass:"refresh-results",attrs:{type:"gray",size:"small",loading:t.isAnalyzing},on:{click:t.refresh}},[e("svg-refresh"),t._v(" "+t._s(t.strings.refreshResults)+" ")],1),t.mobileSnapshot?e("div",{staticClass:"mobile-snapshot"},[e("div",[t._v(t._s(t.strings.mobileSnapshot))]),e("img",{attrs:{alt:"Mobile Snapshot",src:t.mobileSnapshot}})]):t._e()],1)},U=[];const O={components:{CoreSiteScore:z,SvgRefresh:$},mixins:[a],props:{score:Number,loading:Boolean,site:{type:String,required:!0},summary:{type:Object,default(){return{}}},mobileSnapshot:String},data(){return{isAnalyzing:!1,strings:{criticalIssues:this.$t.__("Important Issues",this.$td),warnings:this.$t.__("Warnings",this.$td),recommendedImprovements:this.$t.__("Recommended Improvements",this.$td),goodResults:this.$t.__("Good Results",this.$td),completeSiteAuditChecklist:this.$t.__("Complete Site Audit Checklist",this.$td),refreshResults:this.$t.__("Refresh Results",this.$td),mobileSnapshot:this.$t.__("Mobile Snapshot",this.$td)}}},methods:{...i(["runSiteAnalyzer","deleteCompetitorSite"]),refresh(){this.isAnalyzing=!0,this.runSiteAnalyzer({url:this.site,refresh:!0}).then(()=>this.isAnalyzing=!1)}}},c={};var I=n(O,x,U,!1,w,null,null,null);function w(t){for(let s in c)this[s]=c[s]}const L=function(){return I.exports}();var M=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-analyze-competitor-site"},[e("core-analyze-competitor-site-header",{scopedSlots:t._u([{key:"competitor-results",fn:function(){return t._l(t.competitorResults,function(r,o){return e("core-card",{key:o,attrs:{id:"aioseo-competitor-results"+t.hashCode(o),slug:"analyzeCompetitorSite"+o,"save-toggle-status":!1},scopedSlots:t._u([{key:"header",fn:function(){return[e("core-analyze-score",{attrs:{score:t.parseResults(r).score}}),e("span",[t._v(t._s(o))]),e("svg-trash",{nativeOn:{click:function(W){return t.startDeleteSite(o)}}})]},proxy:!0}],null,!0)},[e("div",{staticClass:"competitor-results-main"},[e("core-site-score-competitor",{attrs:{site:o,score:t.parseResults(r).score,loading:t.analyzing,summary:t.getSummary(t.parseResults(r).results),"mobile-snapshot":t.parseResults(r).results.advanced.mobileSnapshot}}),e("div",{staticClass:"competitor-results-body"},[e("core-seo-site-analysis-results",{attrs:{section:"all-items","all-results":t.parseResults(r).results,"show-google-preview":""}})],1)],1)])})},proxy:!0}])},[e("core-analyze",{attrs:{header:t.strings.enterCompetitorUrl,description:t.strings.performInDepthAnalysis,inputError:t.inputError,isAnalyzing:t.isAnalyzing,analyzeTime:t.analyzeTime,placeholder:"https://competitorwebsite.com"},on:{startAnalyzing:t.startAnalyzing},scopedSlots:t._u([{key:"errors",fn:function(){return[t.inputError?e("div",{staticClass:"aioseo-description aioseo-error"},[t._v(" "+t._s(t.strings.pleaseEnterValidUrl)+" ")]):t._e(),t.analyzer==="competitor-site"&&t.analyzeError?e("div",{staticClass:"analyze-errors aioseo-description aioseo-error",domProps:{innerHTML:t._s(t.analyzeError)}}):t._e()]},proxy:!0}])})],1)],1)},j=[];const P={components:{CoreAnalyze:f,CoreAnalyzeScore:g,CoreAnalyzeCompetitorSiteHeader:E,CoreCard:p,CoreSeoSiteAnalysisResults:S,CoreSiteScoreCompetitor:L,SvgTrash:_},mixins:[a],data(){return{competitorUrl:null,isAnalyzing:!1,inputError:!1,competitorResults:{},analyzeTime:8,strings:{enterCompetitorUrl:this.$t.__("Enter Competitor URL",this.$td),performInDepthAnalysis:this.$t.__("Perform in-depth SEO Analysis of your competitor's website.",this.$td),analyze:this.$t.__("Analyze",this.$td),pleaseEnterValidUrl:this.$t.__("Please enter a valid URL.",this.$td)}}},watch:{analyzeError(t){t&&(this.isAnalyzing=!1)}},computed:{...m(["options","analyzer","analyzing","analyzeError"]),...h(["getCompetitorSiteAnalysisResults","goodCount","recommendedCount","criticalCount"]),getError(){switch(this.analyzeError){case"invalid-url":return this.$t.__("The URL provided is invalid.",this.$td);case"missing-content":return this.$t.sprintf("%1$s %2$s",this.$t.__("We were unable to parse the content for this site.",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"seoAnalyzerIssues",!0));case"invalid-token":return this.$t.sprintf(this.$t.__("Your site is not connected. Please connect to %1$s, then try again.",this.$td),"AIOSEO")}return this.analyzeError}},methods:{...i(["runSiteAnalyzer","deleteCompetitorSite","saveConnectToken"]),...d(["toggleCard","closeCard"]),parseResults(t){return JSON.parse(t)},getSummary(t){return{recommended:this.recommendedCount(t),critical:this.criticalCount(t),good:this.goodCount(t)}},startAnalyzing(t){if(this.inputError=!1,this.competitorUrl=t.replace("http://","https://"),this.competitorUrl.startsWith("https://")||(this.competitorUrl="https://"+this.competitorUrl),!y(this.competitorUrl)){this.inputError=!0;return}this.$store.commit("analyzing",!0),this.$store.commit("analyzeError",!1),this.runSiteAnalyzer({url:this.competitorUrl}),this.isAnalyzing=!0,setTimeout(this.checkStatus,this.analyzeTime*1e3),this.closeAllCards()},checkStatus(){if(this.isAnalyzing=!1,this.analyzing){this.$nextTick(()=>{this.isAnalyzing=!0,2>this.analyzeTime&&(this.analyzeTime=8),this.analyzeTime=this.analyzeTime/2,setTimeout(this.checkStatus,this.analyzeTime*1e3)});return}this.competitorUrl=null,this.competitorResults=this.getCompetitorSiteAnalysisResults,this.toggleFirstCard(),this.$nextTick(()=>{const t=Object.keys(this.competitorResults),s=document.querySelector(".aioseo-header"),e=s.offsetHeight+s.offsetTop+30;this.$scrollTo("#aioseo-competitor-results"+this.hashCode(t[0]),{offset:-e})})},startDeleteSite(t){this.closeAllCards(),this.$delete(this.competitorResults,t),this.deleteCompetitorSite(t).then(()=>{this.competitorResults=this.getCompetitorSiteAnalysisResults})},closeAllCards(){Object.keys(this.competitorResults).forEach(s=>{this.closeCard("analyzeCompetitorSite"+s)})},toggleFirstCard(){const t=Object.keys(this.competitorResults);this.toggleCard("analyzeCompetitorSite"+t[0])},hashCode(t){if(!t)return;let s=0,e,r;for(e=0;e<t.length;e++)r=t.charCodeAt(e),s=(s<<5)-s+r,s|=0;return s}},mounted(){this.$store.commit("analyzeError",!1),this.competitorResults=this.getCompetitorSiteAnalysisResults,this.toggleFirstCard()}},u={};var F=n(P,M,j,!1,D,null,null,null);function D(t){for(let s in u)this[s]=u[s]}const _t=function(){return F.exports}();export{_t as default};
|
|
dist/Lite/assets/js/AnalyzeCompetitorSite.21f831b5.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{a as u,m as i,e as h,b as d}from"./index.f16c040b.js";import"./WpTable.078239fd.js";import{n}from"./vueComponentNormalizer.58b0a173.js";import{m as _}from"./constants.71b051da.js";import{S as a}from"./SeoSiteScore.48a1cf92.js";import{C as y,a as f}from"./Score.13f0dff9.js";import{p as g}from"./popup.25df8419.js";import{C as v}from"./Blur.945b1b3e.js";import{C as p}from"./Card.1a6f5bab.js";import{C}from"./SeoSiteAnalysisResults.f112fc77.js";import{C as S}from"./Index.c6dbed41.js";import{S as z}from"./Refresh.c8d03328.js";import{f as $}from"./index.c9bc1c73.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./params.bea1a08d.js";import"./Tooltip.a36a3967.js";import"./_commonjsHelpers.10c44588.js";import"./Slide.01023b2f.js";import"./GoogleSearchPreview.3cec5179.js";import"./Information.6f7632ab.js";import"./Gear.b5f13261.js";import"./client.b661b356.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";var A=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("core-card",{attrs:{slug:"analyzeNewCompetitor","hide-header":"","no-slide":"",toggles:!1}},[e(t.internalOptions.internal.siteAnalysis.connectToken?"div":"core-blur",{tag:"component"},[t._t("default")],2),t.internalOptions.internal.siteAnalysis.connectToken?t._e():e("div",{staticClass:"aioseo-seo-site-score-cta"},[e("a",{attrs:{href:"#"},on:{click:function(r){return t.openPopup(t.$aioseo.urls.connect)}}},[t._v(t._s(t.connectWithAioseo))]),t._v(" "+t._s(t.strings.toAnalyzeCompetitorSite)+" ")])],1),t.internalOptions.internal.siteAnalysis.connectToken?[t._t("competitor-results")]:t._e()],2)},R=[];const k={components:{CoreBlur:v,CoreCard:p},mixins:[a],computed:{...u(["internalOptions"])},methods:{...i(["saveConnectToken"]),openPopup(t){g(t,this.connectWithAioseo,600,630,!0,["token"],this.completedCallback,()=>{})},completedCallback(t){return this.saveConnectToken(t.token)}}},l={};var b=n(k,A,R,!1,T,null,null,null);function T(t){for(let s in l)this[s]=l[s]}const E=function(){return b.exports}();var x=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-site-score-competitor"},[e("div",{staticClass:"aioseo-seo-site-score-score"},[e("core-site-score",{attrs:{loading:t.isAnalyzing||t.loading,score:t.score,description:t.description}})],1),e("div",{staticClass:"aioseo-seo-site-score-recommendations"},[e("div",{staticClass:"critical"},[e("span",{staticClass:"round red"},[t._v(t._s(t.summary.critical||0))]),t._v(" "+t._s(t.strings.criticalIssues)+" ")]),e("div",{staticClass:"recommended"},[e("span",{staticClass:"round blue"},[t._v(t._s(t.summary.recommended||0))]),t._v(" "+t._s(t.strings.recommendedImprovements)+" ")]),e("div",{staticClass:"good"},[e("span",{staticClass:"round green"},[t._v(t._s(t.summary.good||0))]),t._v(" "+t._s(t.strings.goodResults)+" ")])]),e("base-button",{staticClass:"refresh-results",attrs:{type:"gray",size:"small",loading:t.isAnalyzing},on:{click:t.refresh}},[e("svg-refresh"),t._v(" "+t._s(t.strings.refreshResults)+" ")],1),t.mobileSnapshot?e("div",{staticClass:"mobile-snapshot"},[e("div",[t._v(t._s(t.strings.mobileSnapshot))]),e("img",{attrs:{alt:"Mobile Snapshot",src:t.mobileSnapshot}})]):t._e()],1)},U=[];const O={components:{CoreSiteScore:S,SvgRefresh:z},mixins:[a],props:{score:Number,loading:Boolean,site:{type:String,required:!0},summary:{type:Object,default(){return{}}},mobileSnapshot:String},data(){return{isAnalyzing:!1,strings:{criticalIssues:this.$t.__("Important Issues",this.$td),warnings:this.$t.__("Warnings",this.$td),recommendedImprovements:this.$t.__("Recommended Improvements",this.$td),goodResults:this.$t.__("Good Results",this.$td),completeSiteAuditChecklist:this.$t.__("Complete Site Audit Checklist",this.$td),refreshResults:this.$t.__("Refresh Results",this.$td),mobileSnapshot:this.$t.__("Mobile Snapshot",this.$td)}}},methods:{...i(["runSiteAnalyzer","deleteCompetitorSite"]),refresh(){this.isAnalyzing=!0,this.runSiteAnalyzer({url:this.site,refresh:!0}).then(()=>this.isAnalyzing=!1)}}},c={};var I=n(O,x,U,!1,w,null,null,null);function w(t){for(let s in c)this[s]=c[s]}const L=function(){return I.exports}();var M=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-analyze-competitor-site"},[e("core-analyze-competitor-site-header",{scopedSlots:t._u([{key:"competitor-results",fn:function(){return t._l(t.competitorResults,function(r,o){return e("core-card",{key:o,attrs:{id:"aioseo-competitor-results"+t.hashCode(o),slug:"analyzeCompetitorSite"+o,"save-toggle-status":!1},scopedSlots:t._u([{key:"header",fn:function(){return[e("core-analyze-score",{attrs:{score:t.parseResults(r).score}}),e("span",[t._v(t._s(o))]),e("svg-trash",{nativeOn:{click:function(W){return t.startDeleteSite(o)}}})]},proxy:!0}],null,!0)},[e("div",{staticClass:"competitor-results-main"},[e("core-site-score-competitor",{attrs:{site:o,score:t.parseResults(r).score,loading:t.analyzing,summary:t.getSummary(t.parseResults(r).results),"mobile-snapshot":t.parseResults(r).results.advanced.mobileSnapshot}}),e("div",{staticClass:"competitor-results-body"},[e("core-seo-site-analysis-results",{attrs:{section:"all-items","all-results":t.parseResults(r).results,"show-google-preview":""}})],1)],1)])})},proxy:!0}])},[e("core-analyze",{attrs:{header:t.strings.enterCompetitorUrl,description:t.strings.performInDepthAnalysis,inputError:t.inputError,isAnalyzing:t.isAnalyzing,analyzeTime:t.analyzeTime,placeholder:"https://competitorwebsite.com"},on:{startAnalyzing:t.startAnalyzing},scopedSlots:t._u([{key:"errors",fn:function(){return[t.inputError?e("div",{staticClass:"aioseo-description aioseo-error"},[t._v(" "+t._s(t.strings.pleaseEnterValidUrl)+" ")]):t._e(),t.analyzer==="competitor-site"&&t.analyzeError?e("div",{staticClass:"analyze-errors aioseo-description aioseo-error",domProps:{innerHTML:t._s(t.analyzeError)}}):t._e()]},proxy:!0}])})],1)],1)},j=[];const P={components:{CoreAnalyze:y,CoreAnalyzeScore:f,CoreAnalyzeCompetitorSiteHeader:E,CoreCard:p,CoreSeoSiteAnalysisResults:C,CoreSiteScoreCompetitor:L,SvgTrash:$},mixins:[a],data(){return{competitorUrl:null,isAnalyzing:!1,inputError:!1,competitorResults:{},analyzeTime:8,strings:{enterCompetitorUrl:this.$t.__("Enter Competitor URL",this.$td),performInDepthAnalysis:this.$t.__("Perform in-depth SEO Analysis of your competitor's website.",this.$td),analyze:this.$t.__("Analyze",this.$td),pleaseEnterValidUrl:this.$t.__("Please enter a valid URL.",this.$td)}}},watch:{analyzeError(t){t&&(this.isAnalyzing=!1)}},computed:{...u(["options","analyzer","analyzing","analyzeError"]),...h(["getCompetitorSiteAnalysisResults","goodCount","recommendedCount","criticalCount"]),getError(){switch(this.analyzeError){case"invalid-url":return this.$t.__("The URL provided is invalid.",this.$td);case"missing-content":return this.$t.sprintf("%1$s %2$s",this.$t.__("We were unable to parse the content for this site.",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"seoAnalyzerIssues",!0));case"invalid-token":return this.$t.sprintf(this.$t.__("Your site is not connected. Please connect to %1$s, then try again.",this.$td),"AIOSEO")}return this.analyzeError}},methods:{...i(["runSiteAnalyzer","deleteCompetitorSite","saveConnectToken"]),...d(["toggleCard","closeCard"]),parseResults(t){return JSON.parse(t)},getSummary(t){return{recommended:this.recommendedCount(t),critical:this.criticalCount(t),good:this.goodCount(t)}},startAnalyzing(t){if(this.inputError=!1,this.competitorUrl=t.replace("http://","https://"),this.competitorUrl.startsWith("https://")||(this.competitorUrl="https://"+this.competitorUrl),!_(this.competitorUrl)){this.inputError=!0;return}this.$store.commit("analyzing",!0),this.$store.commit("analyzeError",!1),this.runSiteAnalyzer({url:this.competitorUrl}),this.isAnalyzing=!0,setTimeout(this.checkStatus,this.analyzeTime*1e3),this.closeAllCards()},checkStatus(){if(this.isAnalyzing=!1,this.analyzing){this.$nextTick(()=>{this.isAnalyzing=!0,2>this.analyzeTime&&(this.analyzeTime=8),this.analyzeTime=this.analyzeTime/2,setTimeout(this.checkStatus,this.analyzeTime*1e3)});return}this.competitorUrl=null,this.competitorResults=this.getCompetitorSiteAnalysisResults,this.toggleFirstCard(),this.$nextTick(()=>{const t=Object.keys(this.competitorResults),s=document.querySelector(".aioseo-header"),e=s.offsetHeight+s.offsetTop+30;this.$scrollTo("#aioseo-competitor-results"+this.hashCode(t[0]),{offset:-e})})},startDeleteSite(t){this.closeAllCards(),this.$delete(this.competitorResults,t),this.deleteCompetitorSite(t).then(()=>{this.competitorResults=this.getCompetitorSiteAnalysisResults})},closeAllCards(){Object.keys(this.competitorResults).forEach(s=>{this.closeCard("analyzeCompetitorSite"+s)})},toggleFirstCard(){const t=Object.keys(this.competitorResults);this.toggleCard("analyzeCompetitorSite"+t[0])},hashCode(t){if(!t)return;let s=0,e,r;for(e=0;e<t.length;e++)r=t.charCodeAt(e),s=(s<<5)-s+r,s|=0;return s}},mounted(){this.$store.commit("analyzeError",!1),this.competitorResults=this.getCompetitorSiteAnalysisResults,this.toggleFirstCard()}},m={};var F=n(P,M,j,!1,D,null,null,null);function D(t){for(let s in m)this[s]=m[s]}const _t=function(){return F.exports}();export{_t as default};
|
dist/Lite/assets/js/{AnimatedDannie.be0eaedf.js → AnimatedDannie.32d2caa3.js}
RENAMED
File without changes
|
dist/Lite/assets/js/{AnimatedNumber.fb66de3f.js → AnimatedNumber.1915b2fc.js}
RENAMED
File without changes
|
dist/Lite/assets/js/{App.e67f11b2.js → App.6ca02334.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
/* empty css */import{a,e as m,m as d,b as h,g as ye,i as be,l as ke,n as u}from"./index.4776f7d5.js";import{g as k,r as O}from"./params.bea1a08d.js";import{C as g,e as L,b as A,g as M,h as x,i as I,j as Ce,k as Yt,d as F,S as Zt,m as Pe,n as xe,p as Se,q as we,r as Te,s as Le,t as Ae,u as Me,v as Ie,w as Re,x as Ee,y as De,z as Oe,A as Fe,B as Ke,D as Be,E as He,F as Ne,G as Ge,H as Ue,I as je,J as Ve,K as qe,L as ze}from"./index.4a5acef5.js";import{S as We,C as Ye,W as Ze,T as Jt}from"./WpTable.8ff25002.js";import{n as i}from"./vueComponentNormalizer.58b0a173.js";import{J as Qt}from"./JsonValues.08065e69.js";import{C as p}from"./SettingsRow.8a127375.js";import{B as Je}from"./Checkbox.93944087.js";import{G as Qe,a as Xe}from"./Row.dfea53f7.js";import{C as ts,a as es}from"./LicenseKeyBar.1eaa4b0d.js";import{S as ss,C as y}from"./Tabs.5f143cbd.js";import{C}from"./Portal.de907673.js";import{t as T}from"./attachments.52d4e34c.js";import{M as R}from"./MaxCounts.5a7ca2fd.js";import{T as Xt}from"./TruSeoScore.98a47fd6.js";import{B as te}from"./RadioToggle.18d51233.js";import{C as ns}from"./GoogleSearchPreview.153cd296.js";import{C as E}from"./HtmlTagsEditor.c1435120.js";import{C as v}from"./Tooltip.060399ab.js";import{T as rs}from"./Slide.8aaa5049.js";import{S as P}from"./Plus.6ec3819c.js";import{p as K}from"./popup.25df8419.js";import{C as ee}from"./Blur.404d53ce.js";import{C as se}from"./Index.7823cadd.js";import{C as is}from"./Table.64065090.js";import{S as ne,a as os,b as as,c as ls}from"./InternalOutbound.fed0cdcc.js";import{R as cs}from"./RequiredPlans.c312629f.js";import{I as re,a as ie,U as oe}from"./Image.03ee6721.js";import{B as ae}from"./Img.b806c655.js";import{C as us}from"./FacebookPreview.b0ae02b6.js";import{C as ds}from"./TwitterPreview.af1ce378.js";import{S as le,a as ps}from"./Build.dc549300.js";import{R as _s}from"./Redirects.56f64bd7.js";import{S as hs}from"./Eye.a1ab72cf.js";const f={methods:{setIsDirty(){this.$store.commit("isDirty",!0)},clearIsDirty(){this.$store.commit("isDirty",!1)}}};var ms=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-robots-meta"},[e("base-toggle",{on:{input:t.setIsDirty},model:{value:t.currentPost.default,callback:function(n){t.$set(t.currentPost,"default",n)},expression:"currentPost.default"}},[t._v(" "+t._s(t.strings.useDefaultSettings)+" ")]),t.currentPost.default?t._e():e("div",{staticClass:"global-robots-settings aioseo-description"},[e("span",{staticClass:"robots-meta-title"},[t._v(t._s(t.strings.robotsMeta))]),e("grid-row",{staticClass:"settings"},[this.$aioseo.currentPost.isHomePage?t._e():e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.noindex,callback:function(n){t.$set(t.currentPost,"noindex",n)},expression:"currentPost.noindex"}},[t._v(" "+t._s(t.strings.noindex)+" ")])],1),e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.nofollow,callback:function(n){t.$set(t.currentPost,"nofollow",n)},expression:"currentPost.nofollow"}},[t._v(" "+t._s(t.strings.nofollow)+" ")])],1),e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.noarchive,callback:function(n){t.$set(t.currentPost,"noarchive",n)},expression:"currentPost.noarchive"}},[t._v(" "+t._s(t.strings.noarchive)+" ")])],1),e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.notranslate,callback:function(n){t.$set(t.currentPost,"notranslate",n)},expression:"currentPost.notranslate"}},[t._v(" "+t._s(t.strings.notranslate)+" ")])],1),e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.noimageindex,callback:function(n){t.$set(t.currentPost,"noimageindex",n)},expression:"currentPost.noimageindex"}},[t._v(" "+t._s(t.strings.noimageindex)+" ")])],1),e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.nosnippet,callback:function(n){t.$set(t.currentPost,"nosnippet",n)},expression:"currentPost.nosnippet"}},[t._v(" "+t._s(t.strings.nosnippet)+" ")])],1),e("grid-column",{attrs:{xl:"3",md:"4",sm:"6"}},[e("base-checkbox",{attrs:{size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.noodp,callback:function(n){t.$set(t.currentPost,"noodp",n)},expression:"currentPost.noodp"}},[t._v(" "+t._s(t.strings.noodp)+" ")])],1)],1),e("div",{staticClass:"global-robots-settings-options"},[t.currentPost.nosnippet?t._e():e("div",{staticClass:"aioseo-description max-snippet"},[e("span",[t._v(t._s(t.strings.maxSnippet))]),e("base-input",{attrs:{type:"number",size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.maxSnippet,callback:function(n){t.$set(t.currentPost,"maxSnippet",n)},expression:"currentPost.maxSnippet"}})],1),e("div",{staticClass:"aioseo-description max-video-preview"},[e("span",[t._v(t._s(t.strings.maxVideoPreview))]),e("base-input",{attrs:{type:"number",size:"medium"},on:{input:t.setIsDirty},model:{value:t.currentPost.maxVideoPreview,callback:function(n){t.$set(t.currentPost,"maxVideoPreview",n)},expression:"currentPost.maxVideoPreview"}})],1),t.currentPost.noimageindex?t._e():e("div",{staticClass:"aioseo-description max-image-preview"},[e("span",[t._v(t._s(t.strings.maxImagePreview))]),e("base-select",{attrs:{size:"medium",options:t.imagePreviewOptions,value:t.getImagePreview(t.currentPost.maxImagePreview)},on:{input:function(n){return t.saveImagePreview(n.value)}}})],1)])],1)],1)},gs=[];const vs={components:{BaseCheckbox:Je,GridColumn:Qe,GridRow:Xe},mixins:[f],data(){return{strings:{useDefaultSettings:this.$t.__("Use Default Settings",this.$td),robotsMeta:this.$t.__("Robots meta:",this.$td),maxSnippet:this.$t.__("Max Snippet",this.$td),maxVideoPreview:this.$t.__("Max Video Preview",this.$td),maxImagePreview:this.$t.__("Max Image Preview",this.$td),standard:this.$t.__("Standard",this.$td),none:this.$t.__("None",this.$td),large:this.$t.__("Large",this.$td),noindex:this.$t.__("No Index",this.$td),nofollow:this.$t.__("No Follow",this.$td),noarchive:this.$t.__("No Archive",this.$td),notranslate:this.$t.__("No Translate",this.$td),noimageindex:this.$t.__("No Image Index",this.$td),nosnippet:this.$t.__("No Snippet",this.$td),noodp:this.$t.__("No ODP",this.$td)}}},computed:{...a(["currentPost"]),imagePreviewOptions(){return[{label:this.strings.none,value:"none"},{label:this.strings.standard,value:"standard"},{label:this.strings.large,value:"large"}]}},methods:{getImagePreview(t){return this.imagePreviewOptions.find(s=>s.value===t)},saveImagePreview(t){this.$set(this.currentPost,"maxImagePreview",t),this.$store.commit("isDirty",!0)}}},B={};var fs=i(vs,ms,gs,!1,$s,null,null,null);function $s(t){for(let s in B)this[s]=B[s]}const ys=function(){return fs.exports}();var bs=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-post-advanced"},[e("core-settings-row",{attrs:{name:t.strings.robotsSetting,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-single-robots-meta")]},proxy:!0}])}),e("core-settings-row",{attrs:{name:t.strings.canonicalURL,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-input",{attrs:{type:"text",size:"medium",placeholder:t.strings.placeholder},on:{input:t.setIsDirty},model:{value:t.currentPost.canonicalUrl,callback:function(n){t.$set(t.currentPost,"canonicalUrl",n)},expression:"currentPost.canonicalUrl"}})]},proxy:!0}])}),e("core-settings-row",{attrs:{name:t.strings.priorityScore,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"selectbox-row"},[e("div",{staticClass:"select"},[e("span",[t._v(t._s(t.strings.priority))]),e("base-select",{attrs:{disabled:t.isUnlicensed,size:"medium",options:t.getPriorityOptions,value:t.isUnlicensed?t.getPriority("default"):t.getPriority(t.currentPost.priority)},on:{input:function(n){return t.isUnlicensed?null:t.savePriority(n.value)}}})],1),e("div",{staticClass:"separator"},[e("span"),t._v(" - ")]),e("div",{staticClass:"select"},[e("span",[t._v(t._s(t.strings.frequency))]),e("base-select",{attrs:{disabled:t.isUnlicensed,size:"medium",options:t.getFrequencyOptions,value:t.isUnlicensed?t.getFrequency("default"):t.getFrequency(t.currentPost.frequency)},on:{input:function(n){return t.isUnlicensed?null:t.saveFrequency(n.value)}}})],1)]),t.isUnlicensed?e("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[e("div",{domProps:{innerHTML:t._s(t.strings.priorityFrequencyUpsell)}})]):t._e()]},proxy:!0}])}),t.options.searchAppearance.advanced.useKeywords?e("core-settings-row",{attrs:{name:t.strings.keywords,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.keywords)||[],value:t.getJsonValue(t.currentPost.keywords)||[],"tag-placeholder":t.strings.tagPlaceholder},on:{input:function(n){return t.currentPost.keywords=t.setJsonValue(n)}}})]},proxy:!0}],null,!1,2312666634)}):t._e()],1)},ks=[];const Cs={components:{CoreAlert:g,CoreSettingsRow:p,CoreSingleRobotsMeta:ys},mixins:[f,Qt],props:{disabled:{type:Boolean,default(){return!1}},type:{type:String,required:!1},object:{type:Object,required:!1}},data(){return{strings:{pageName:this.$t.__("Advanced",this.$td),robotsSetting:this.$t.__("Robots Setting",this.$td),robotsToggle:this.$t.__("Use Default Settings",this.$td),canonicalURL:this.$t.__("Canonical URL",this.$td),placeholder:this.$t.__("Enter a URL to change the default Canonical URL",this.$td),priorityScore:this.$t.__("Priority Score",this.$td),priority:this.$t.__("Priority",this.$td),frequency:this.$t.__("Frequency",this.$td),priorityFrequencyUpsell:this.$t.sprintf(this.$t.__("This feature is only for licensed %1$s users. %2$s",this.$td),"<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("post-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"priority-frequency",!0)),keywords:this.$t.__("Keywords",this.$td),tagPlaceholder:this.$t.__("Press enter to create a keyword",this.$td)}}},computed:{...m(["isUnlicensed"]),...a(["currentPost","options"]),getPriorityOptions(){return[{label:this.$t.__("default",this.$td),value:"default"}].concat(this.$constants.PRIORITY_OPTIONS)},getFrequencyOptions(){return[{label:this.$t.__("default",this.$td),value:"default"}].concat(this.$constants.FREQUENCY_OPTIONS)}},methods:{getPriority(t){return this.getPriorityOptions.find(s=>s.value===t)},savePriority(t){this.$set(this.currentPost,"priority",t),this.$store.commit("isDirty",!0)},getFrequency(t){return this.getFrequencyOptions.find(s=>s.value===t)},saveFrequency(t){this.$set(this.currentPost,"frequency",t),this.$store.commit("isDirty",!0)}}},H={};var Ps=i(Cs,bs,ks,!1,xs,null,null,null);function xs(t){for(let s in H)this[s]=H[s]}const Ss=function(){return Ps.exports}();var ws=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t.pong?t._e():e("core-api-bar"),t.$isPro&&t.isUnlicensed&&t.pong?e("core-license-key-bar"):t._e()],1)},Ts=[];const Ls={components:{CoreApiBar:ts,CoreLicenseKeyBar:es},computed:{...m(["isUnlicensed"]),...a(["pong"])}},N={};var As=i(Ls,ws,Ts,!1,Ms,null,null,null);function Ms(t){for(let s in N)this[s]=N[s]}const ce=function(){return As.exports}();var Is=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-card aioseo-sidebar-card"},[t.hideHeader?t._e():e("div",{staticClass:"header",on:{click:function(n){return t.toggleCard({slug:t.slug,shouldSave:t.saveToggleStatus})}}},[e("div",{staticClass:"text"},[t._t("header",function(){return[t._v(" "+t._s(t.headerText)+" ")]}),t.focusScore>=0?t._t("alt",function(){return[t.focusScore!==null?e("span",{staticClass:"card-score",class:t.getScoreClass(t.focusScore)},[t._v(" "+t._s(t.focusScore)+"/100 ")]):t._e()]}):t._e(),t.trueSeoScore>=0?t._t("alt",function(){return[e("span",{staticClass:"card-score",class:t.getErrorClass(t.trueSeoScore)},[0<t.trueSeoScore?e("svg-ellipse",{attrs:{width:"6"}}):t._e(),t.trueSeoScore===0?e("svg-circle-check",{attrs:{width:"12"}}):t._e(),t._v(" "+t._s(t.getErrorDisplay(t.trueSeoScore))+" ")],1)]}):t._e(),t.$slots.tooltip?e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[t._t("tooltip")]},proxy:!0}],null,!0)},[e("svg-circle-question-mark")],1):t._e()],2),t.toggles&&t.settings.toggledCards?e("svg-caret",{class:{rotated:!t.settings.toggledCards[t.slug]}}):t._e()],1),t.settings.toggledCards||t.noSlide?e("transition-slide",{attrs:{active:t.settings.toggledCards[t.slug]&&t.toggles||t.noSlide}},[t.$slots["before-tabs"]?e("div",{staticClass:"content"},[t._t("before-tabs")],2):t._e(),t._t("tabs"),t.$slots.default?e("div",{staticClass:"content"},[t._t("default")],2):t._e()],2):t._e()],1)},Rs=[];const Es={components:{CoreTooltip:v,SvgCaret:L,SvgCircleCheck:A,SvgCircleQuestionMark:M,SvgEllipse:ss,TransitionSlide:rs},mixins:[Xt],props:{slug:{type:String,required:!0},headerText:String,focusScore:Number,trueSeoScore:Number,toggles:{type:Boolean,default(){return!0}},hideHeader:Boolean,noSlide:Boolean,saveToggleStatus:{type:Boolean,default(){return!0}}},computed:{...m(["settings"])},methods:{...d(["toggleCard"])},created(){this.$bus.$on("open-post-settings",t=>{for(const s in this.settings.toggledCards)this.settings.toggledCards[s]&&this.toggleCard({slug:s});this.toggleCard({slug:t.card})})}},G={};var Ds=i(Es,Is,Rs,!1,Os,null,null,null);function Os(t){for(let s in G)this[s]=G[s]}const Fs=function(){return Ds.exports}();var Ks=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-desktop",attrs:{width:"20",height:"18",viewBox:"0 0 20 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M2.50004 0.666504H17.5C18.4167 0.666504 19.1667 1.4165 19.1667 2.33317V12.3332C19.1667 13.2498 18.4167 13.9998 17.5 13.9998H11.6667V15.6665H13.3334V17.3332H6.66671V15.6665H8.33337V13.9998H2.50004C1.58337 13.9998 0.833374 13.2498 0.833374 12.3332V2.33317C0.833374 1.4165 1.58337 0.666504 2.50004 0.666504ZM2.50004 12.3332H17.5V2.33317H2.50004V12.3332Z",fill:"currentColor"}})])},Bs=[];const Hs={},U={};var Ns=i(Hs,Ks,Bs,!1,Gs,null,null,null);function Gs(t){for(let s in U)this[s]=U[s]}const ue=function(){return Ns.exports}();var Us=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-mobile",attrs:{width:"12",height:"20",viewBox:"0 0 12 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M1.72767 0.833496L10.061 0.841829C10.9777 0.841829 11.7277 1.5835 11.7277 2.50016V17.5002C11.7277 18.4168 10.9777 19.1668 10.061 19.1668H1.72767C0.811003 19.1668 0.0693359 18.4168 0.0693359 17.5002V2.50016C0.0693359 1.5835 0.811003 0.833496 1.72767 0.833496ZM1.72763 15.8335H10.061V4.16683H1.72763V15.8335Z",fill:"currentColor"}})])},js=[];const Vs={},j={};var qs=i(Vs,Us,js,!1,zs,null,null,null);function zs(t){for(let s in j)this[s]=j[s]}const de=function(){return qs.exports}();var Ws=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-keyphrase-tag"},[e("span",{staticClass:"aioseo-add-keyphrase-tag",class:t.edit?"hidden":""},[e("span",{staticClass:"keyphrase-name",on:{click:function(n){return t.toggleKeyphrasesPanel(t.index)}}},[t._v(" "+t._s(t.keyphrase)+" ")]),e("span",{staticClass:"keyphrase-edit",on:{click:function(n){return t.editKeyphraseEv(t.index)}}},[e("svg-pencil")],1),e("span",{staticClass:"keyphrase-score",class:t.scoreClass,on:{click:function(n){return t.toggleKeyphrasesPanel(t.index)}}},[t._v(t._s(t.score)+"/100")])]),t.edit?e("span",{staticClass:"aioseo-edit-keyphrase-tag"},[e("input",{attrs:{size:"medium"},domProps:{value:t.keyphrase},on:{blur:t.closeEdit,keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}),e("span",{staticClass:"keyphrase-delete",on:{click:function(n){return t.deleteKeyphraseEv(t.index)}}},[e("svg-trash"),e("md-tooltip",{attrs:{"md-direction":"top"}},[t._v(t._s(t.strings.delete))])],1)]):t._e()])},Ys=[];const Zs={components:{SvgPencil:x,SvgTrash:I},props:{index:{type:Number},keyphrase:{type:String},score:{type:Number}},data(){return{edit:!1,strings:{delete:this.$t.__("Delete",this.$td)}}},computed:{scoreClass(){return 80<this.score?"score-green":50<this.score?"score-orange":1<this.score?"score-red":"score-none"}},methods:{editKeyphraseEv(t){this.edit=!0,this.$emit("selectedKeyphrase",t)},deleteKeyphraseEv(t){this.edit=!1,this.$emit("deleted",t)},toggleKeyphrasesPanel(t){this.$emit("selectedKeyphrase",t)},closeEdit(t){const s=t.target.value,e=this.index;this.$emit("saved",{index:e,value:s}),this.edit=!1},pressEnter(t){t.preventDefault(),t.target.blur(),this.edit=!1}}},V={};var Js=i(Zs,Ws,Ys,!1,Qs,null,null,null);function Qs(t){for(let s in V)this[s]=V[s]}const pe=function(){return Js.exports}();var Xs=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"aioseo-analysis-detail"},[t._l(t.analysisItems,function(n,r){return[n.title?e("li",{key:r},[e("p",{staticClass:"title",class:n.error===0?"toggled":""},[n.error===0?e("svg-circle-check",{attrs:{width:"12"}}):t._e(),n.error===1?e("svg-circle-close",{attrs:{width:"12"}}):t._e(),t._v(" "+t._s(n.title)+" "),e("svg-caret",{attrs:{width:"16"},on:{click:t.toggleDescriptionEv}})],1),e("p",{staticClass:"description"},[t._v(t._s(n.description))])]):t._e()]})],2)},tn=[];const en={components:{SvgCaret:L,SvgCircleCheck:A,SvgCircleClose:Ce},props:{analysisItems:{type:Object}},data(){return{strings:{delete:this.$t.__("Delete",this.$td)}}},methods:{toggleDescriptionEv(t){t.target.parentElement.classList.toggle("toggled")}}},q={};var sn=i(en,Xs,tn,!1,nn,null,null,null);function nn(t){for(let s in q)this[s]=q[s]}const S=function(){return sn.exports}();var rn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"additional-keyphrases-panel"},[t.currentPost.keyphrases.additional&&t.currentPost.keyphrases.additional.length&&t.$isPro&&t.$aioseo.license.isActive?e("div",[t._l(t.currentPost.keyphrases.additional,function(n,r){return e("core-keyphrase",{key:r,staticClass:"aioseo-keyphrase-tag additional-keyphrase",class:t.selectedKeyphrase===r?"selected":null,attrs:{index:r,keyphrase:n.keyphrase,score:n.score},on:{saved:t.onSaved,deleted:t.onDeleted,selectedKeyphrase:t.onSelectedKeyphrase}})}),e("div",{staticClass:"analysis-wrapper"},[t.currentPost.loading.additional[this.selectedKeyphrase]&&t.currentPost.keyphrases.additional[this.selectedKeyphrase]&&t.currentPost.keyphrases.additional[this.selectedKeyphrase].keyphrase?e("core-loader",{staticClass:"analysis-loading",attrs:{dark:""}}):t._e(),!t.currentPost.loading.additional[this.selectedKeyphrase]&&t.currentPost.keyphrases.additional[this.selectedKeyphrase]&&t.currentPost.keyphrases.additional[this.selectedKeyphrase].keyphrase?e("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.keyphrases.additional[this.selectedKeyphrase].analysis}}):t._e()],1)],2):t._e(),t.$isPro&&t.$aioseo.license.isActive?e("base-input",{class:`add-keyphrase-${this.$root._data.screenContext}-input`,attrs:{size:"medium"},on:{keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}):t._e(),t.$isPro&&t.$aioseo.license.isActive?e("base-button",{staticClass:"add-keyphrase gray small",attrs:{id:"add-additional-keyphrase"},on:{click:t.addKeyphraseEv}},[e("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.addKeyphrase)+" ")],1):t._e(),!t.$isPro||!t.$aioseo.license.isActive?[e("div",{staticClass:"aioseo-description additional-keyphrases-description"},[t._v(" "+t._s(t.strings.keyphraseDocumentation)+" ")]),e("core-alert",{staticClass:"inline-upsell",attrs:{type:"yellow"}},[e("div",{domProps:{innerHTML:t._s(t.strings.upSell)}})])]:t._e()],2)},on=[];const an={components:{CoreAlert:g,CoreKeyphrase:pe,CoreLoader:Yt,SvgCirclePlus:P,metaboxAnalysisDetail:S},mixins:[f],data(){return{selectedKeyphrase:0,strings:{additional:this.$t.__("Additional Keyphrases",this.$td),addKeyphrase:this.$t.__("Add Additional Keyphrases",this.$td),keyphraseDocumentation:this.$t.__("Improve your SEO rankings with additional keyphrases.",this.$td),upSell:this.$t.sprintf(this.$t.__("Multiple Keyphrases is a %1$s feature. %2$s",this.$td),"Pro",this.$links.getUpsellLink("seo-settings",this.$t.__("Click here to get",this.$td)+" AIOSEO Pro","additional-keyphrases",!0))}}},watch:{"currentPost.keyphrases.additional"(){this.currentPost.keyphrases.additional&&!this.currentPost.keyphrases.additional[this.selectedKeyphrase]&&(this.selectedKeyphrase=0)}},computed:{...a(["currentPost"])},methods:{onSelectedKeyphrase(t){this.selectedKeyphrase=t},onSaved(t){const{index:s,value:e}=t;this.currentPost.keyphrases.additional[s].keyphrase=e,this.currentPost.keyphrases.additional[s].score=0,this.currentPost.loading.additional[s]=!0,this.setIsDirty(),this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.selectedKeyphrase=s},onDeleted(t){const s=[...this.currentPost.keyphrases.additional];s.splice(t,1),this.currentPost.keyphrases.additional=null,setTimeout(()=>{this.currentPost.keyphrases.additional=s,this.setIsDirty(),this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost})},300)},addKeyphraseEv(){var e;const s=document.getElementsByClassName(`add-keyphrase-${this.$root._data.screenContext}-input`)[0].querySelector(".medium");if(s.value){const n={keyphrase:s.value,score:0},r=this.currentPost.keyphrases.additional.push(n),o=document.getElementsByClassName("keyphrase-name");this.currentPost.loading.additional[0]=!0,s.value="",s.blur(),this.setIsDirty(),(e=o[r])==null||e.click(),this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost})}},pressEnter(t){const s=document.getElementById("add-additional-keyphrase");t.preventDefault(),s.click()},created(){this.currentPost.keyphrases.forEach((t,s)=>{this.currentPost.loading.additional[s]=!1})}}},z={};var ln=i(an,rn,on,!1,cn,"333a221b",null,null);function cn(t){for(let s in z)this[s]=z[s]}const un=function(){return ln.exports}();var dn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{attrs:{width:t.width,height:t.height,viewBox:t.getViewBox,role:"img","aria-hidden":"true",focusable:"false"}},[e("polygon",{attrs:{fill:t.fillColor,points:t.polylinePoints}}),e("polyline",{attrs:{fill:"none",stroke:t.strokeColor,strokeWidth:t.strokeWidth,strokeLinejoin:"round",strokeLinecap:"round",points:t.polylinePoints}})])},pn=[];const _n={props:{width:Number,height:Number,fillColor:String,strokeColor:String,strokeWidth:Number,data:Array},computed:{getViewBox(){return"0 0 "+this.width+" "+this.height},polylinePoints(){const t=Math.max(...this.data.map(r=>r.x)),s=Math.max(...this.data.map(r=>r.y)),e=this.height-this.strokeWidth,n=this.data.map(r=>{const o=r.x===0?0:r.x/t,l=r.y===0?0:r.y/s,c=o*this.width,_=e-l*e+this.strokeWidth;return`${c},${_}`}).join(" ");return`0,${e+this.strokeWidth} `+n+` ${this.width},${e+this.strokeWidth}`}}},W={};var hn=i(_n,dn,pn,!1,mn,null,null,null);function mn(t){for(let s in W)this[s]=W[s]}const gn=function(){return hn.exports}();var vn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-focus-keyphrase-panel"},[!t.currentPost.keyphrases.focus||!t.currentPost.keyphrases.focus.keyphrase?e("base-input",{class:`add-focus-keyphrase-${this.$root._data.screenContext}-input`,attrs:{size:"medium"},on:{keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}):t._e(),e("div",{staticStyle:{display:"flex"}},[!t.currentPost.keyphrases.focus||!t.currentPost.keyphrases.focus.keyphrase?e("base-button",{staticClass:"add-keyphrase gray small",attrs:{id:"add-focus-keyphrase"},on:{click:t.addKeyphraseEv}},[e("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.addKeyphrase)+" ")],1):t._e(),!t.currentPost.keyphrases.focus||!t.currentPost.keyphrases.focus.keyphrase?e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",[t._v(" "+t._s(t.strings.semrushGetAdditionalKeyphrases)+" "+t._s(t.strings.pleaseAddFocusKeyphrase)+" ")])]},proxy:!0}],null,!1,76107531)},[e("div",{staticClass:"disabled-button gray"},[e("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.getAdditionalKeyphrases)+" ")],1)]):t._e()],1),t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase?e("core-keyphrase",{staticClass:"aioseo-keyphrase-tag",attrs:{index:0,keyphrase:t.currentPost.keyphrases.focus.keyphrase,score:t.currentPost.keyphrases.focus.score},on:{saved:t.onSaved,deleted:t.onDeleted}}):t._e(),t.currentPost.loading.focus&&t.currentPost.keyphrases.focus?e("core-loader",{staticClass:"analysis-loading",attrs:{dark:""}}):t._e(),!t.currentPost.loading.focus&&t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase?e("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.keyphrases.focus.analysis}}):t._e(),!t.currentPost.loading.focus&&t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase&&t.$isPro&&t.isUnlicensed?e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.strings.semrushTooltipLicenseKey)}})]},proxy:!0}],null,!1,1529238061)},[e("div",{staticClass:"disabled-button gray"},[e("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.getAdditionalKeyphrases)+" ")],1)]):t._e(),!t.currentPost.loading.focus&&t.currentPost.keyphrases.focus&&t.currentPost.keyphrases.focus.keyphrase&&(!t.$isPro||!t.isUnlicensed)?e("core-tooltip",{attrs:{disabled:!t.showSemrushTooltip||t.$isPro,"force-show":t.showSemrushTooltip&&!t.$isPro},scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",[t._v(" "+t._s(t.strings.semrushTooltip)+" ")])]},proxy:!0}],null,!1,248438756)},[e("base-button",{staticClass:"add-keyphrase gray small",on:{click:t.getAdditionalKeyphrases}},[e("svg-circle-plus",{attrs:{width:"14",height:"14"}}),t._v(" "+t._s(t.strings.getAdditionalKeyphrases)+" ")],1)],1):t._e(),t.semrushShowModal?e("core-modal-portal",{attrs:{classes:["aioseo-focus-keyphrase-panel-modal"]},on:{close:function(n){t.semrushShowModal=!1}}},[e("div",{attrs:{slot:"headerTitle"},slot:"headerTitle"},[t._v(" "+t._s(t.strings.modalTitle)+" ")]),e("div",{attrs:{slot:"body"},slot:"body"},[e("div",{staticClass:"aioseo-modal-content has-padding"},[t.isUnlicensed?e("core-alert",{attrs:{type:"blue"},domProps:{innerHTML:t._s(t.strings.upsell)}}):t._e(),e("div",{staticClass:"aioseo-settings-row"},[e("div",{staticClass:"settings-name"},[e("div",{staticClass:"name"},[t._v(" "+t._s(t.strings.showResultsFor)+" ")])]),e("base-select",{staticClass:"semrush-country-selector",attrs:{size:"medium",options:t.semrushDatabase,placeholder:t.strings.selectPriceIndicator},model:{value:t.semrushCountry,callback:function(n){t.semrushCountry=n},expression:"semrushCountry"}})],1),e("div",{staticClass:"results"},[e("table",{staticClass:"additional-keyphrases-table",attrs:{"aria-label":"Additional Keyphrases",cellpadding:"0",cellspacing:"0"}},[e("thead",[e("tr",{staticClass:"keyphrases-header"},[e("th",{staticClass:"keyphrase"},[t._v(t._s(t.strings.keyphrase))]),e("th",{staticClass:"keyphrase-volume"},[t._v(t._s(t.strings.volume))]),e("th",{staticClass:"keyphrase-trend"},[t._v(t._s(t.strings.trend))]),t.isUnlicensed?t._e():e("th",{staticClass:"keyphrase-actions"})])]),e("tbody",{staticClass:"keyphrases-rows"},[t.semrush.results.length&&!t.loadingResults?t._l(t.semrush.results,function(n,r){return e("tr",{key:r,staticClass:"keyphrase-row",class:{even:r%2===0}},[e("td",{staticClass:"keyphrase"},[t._v(" "+t._s(n[0])+" ")]),e("td",{staticClass:"keyphrase-volume"},[t._v(" "+t._s(n[1])+" ")]),e("td",{staticClass:"keyphrase-trend"},[e("svg-area-chart",{attrs:{width:66,height:24,data:t.transformTrendDataToChartPoints(n[2]),strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc"}})],1),t.isUnlicensed?t._e():e("td",{staticClass:"keyphrase-actions"},[n[0]===t.currentPost.keyphrases.focus.keyphrase.toLowerCase()?e("div",{staticClass:"focus-keyphrase"},[e("svg-circle-check"),t._v(" "+t._s(t.strings.focusKeyphrase)+" ")],1):t._e(),n[0]!==t.currentPost.keyphrases.focus.keyphrase.toLowerCase()?e("div",[r!==t.removingAdditionalKeyphrase&&(r===t.addingAdditionalKeyphrase||!t.hasAdditionalKeyphrase(n[0]))?e("base-button",{attrs:{type:"gray",size:"small",loading:r===t.addingAdditionalKeyphrase},on:{click:function(o){return t.addAdditionalKeyphrase(n[0],r)}}},[t._v(" "+t._s(t.strings.addAdditionalKeyphrase)+" ")]):t._e(),t.getAdditionalKeyphrase(n[0])&&r!==t.addingAdditionalKeyphrase&&(r===t.removingAdditionalKeyphrase||t.hasAdditionalKeyphrase(n[0]))?e("div",{staticClass:"remove-keyphrase"},[e("span",{staticClass:"keyphrase-score",class:t.scoreClass(t.getAdditionalKeyphrase(n[0]).score),on:{click:function(o){return t.goToAdditionalKeyphrase(n[0])}}},[t._v(t._s(t.getAdditionalKeyphrase(n[0]).score)+"/100")]),e("core-tooltip",{attrs:{type:"action"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.delete)+" ")]},proxy:!0}],null,!0)},[e("svg-trash",{nativeOn:{click:function(o){return t.removeAdditionalKeyphrase(n[0],r)}}})],1)],1):t._e()],1):t._e()])])}):t._e(),!t.semrush.results.length||t.loadingResults?[e("tr",{staticClass:"keyphrase-row"},[e("td",{staticClass:"no-results",attrs:{colspan:t.isUnlicensed?3:4}},[e("div",[t.loadingResults?e("core-loader",{attrs:{dark:""}}):t._e(),!t.loadingResults&&!t.semrush.error?e("span",[t._v(" "+t._s(t.strings.noResults)+" ")]):t._e(),t.semrush.error&&!t.semrush.error.includes("TOTAL LIMIT EXCEEDED")?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.semrushError)+" ")]):t._e(),t.semrush.error&&t.semrush.error.includes("TOTAL LIMIT EXCEEDED")?[e("div",{staticClass:"semrush-logo"},[e("svg-logo-semrush")],1),e("div",{staticClass:"semrush-upsell"},[e("span",[e("strong",{domProps:{innerHTML:t._s(t.strings.youHaveExceededSemrush)}})]),t._v(t._s(" ")+" "),e("span",{domProps:{innerHTML:t._s(t.strings.inOrderToUpgradeSemrush)}})])]:t._e()],2)])])]:t._e()],2)])])],1)])]):t._e()],1)},fn=[];const $n={components:{CoreAlert:g,CoreKeyphrase:pe,CoreLoader:Yt,CoreModalPortal:C,CoreTooltip:v,SvgAreaChart:gn,SvgCircleCheck:A,SvgCirclePlus:P,SvgTrash:I,metaboxAnalysisDetail:S},mixins:[f],data(){return{showSemrushTooltip:!1,loadingResults:!1,semrushShowModal:!1,addingAdditionalKeyphrase:!1,removingAdditionalKeyphrase:!1,semrushCountry:{value:"US",label:"United States of America - US"},strings:{modalTitle:this.$t.sprintf(this.$t.__("Additional Keyphrases by %1$s",this.$td),"Semrush"),addKeyphrase:this.$t.__("Add Focus Keyphrase",this.$td),getAdditionalKeyphrases:this.$t.__("Get Additional Keyphrases",this.$td),showResultsFor:this.$t.__("Show Results For:",this.$td),keyphrase:this.$t.__("Keyphrase",this.$td),volume:this.$t.__("Volume",this.$td),trend:this.$t.__("Trend",this.$td),addAdditionalKeyphrase:this.$t.__("Add Keyphrase",this.$td),removeAdditionalKeyphrase:this.$t.__("Remove Keyphrase",this.$td),noResults:this.$t.__("No results",this.$td),upsell:this.$t.sprintf(this.$t.__("Analyzing your content with %1$s keywords is only available to licensed %2$s users. %3$s",this.$td),"Semrush","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("semrush-keywords",this.$constants.GLOBAL_STRINGS.learnMore,null,!0)),semrushGetAdditionalKeyphrases:this.$t.sprintf(this.$t.__("%1$s integrates directly with %2$s to provide you with actionable keyphrases to help you write better content.",this.$td),"AIOSEO","Semrush"),pleaseAddFocusKeyphrase:this.$t.__("To use this feature, first add a focus keyphrase.",this.$td),focusKeyphrase:this.$t.__("Focus Keyphrase",this.$td),delete:this.$t.__("Delete",this.$td),semrushTooltip:this.$t.sprintf(this.$t.__("Get Additional Keyphrases with %1$s!",this.$td),"Semrush"),semrushTooltipLicenseKey:this.$t.sprintf(this.$t.__("%1$sA valid license key is required%2$s in order to connect with %3$s.",this.$td),'<a href="'+this.$aioseo.urls.aio.settings+'">',"</a>","Semrush"),youHaveExceededSemrush:this.$t.sprintf(this.$t.__("You have exceeded the number of requests allowed by your %1$s plan.",this.$td),"Semrush"),inOrderToUpgradeSemrush:this.$t.sprintf(this.$t.__("In order to continue searching for additional keyphrases, you'll need to upgrade. %1$s",this.$td),this.$links.getUpsellLink("semrush-pricing",this.$constants.GLOBAL_STRINGS.learnMore,"semrushPricing",!0))}}},watch:{semrushCountry:{deep:!0,handler(){this.getKeyphrases()}}},computed:{...m("integrations",["semrushExpired","semrushHasValidTokens"]),...m(["isUnlicensed","isConnected"]),...a(["currentPost","internalOptions"]),...a("integrations",["semrush"]),semrushError(){return this.semrush.error.includes("TOTAL LIMIT EXCEEDED")?this.$t.__("You have exceeded the limit for requests. Please try again later.",this.$td):this.$t.__("An error occurred while fetching keyphrases. Please try again later.",this.$td)},semrushDatabase(){return this.$constants.COUNTRY_LIST.map(t=>(t.value==="GB"&&(t.value="UK",t.label="United Kingdom"),t.value==="KR"&&(t.label="South Korea"),t)).filter(t=>this.$constants.SEMRUSH_DATABASE.includes(t.value.toLowerCase())).map(t=>(t.label=t.label+" - "+t.value.toUpperCase(),t))}},methods:{...d("integrations",["semrushAuthenticate","semrushRefresh","semrushGetKeyphrases"]),...d(["saveConnectToken"]),getAdditionalKeyphrases(){if(this.showSemrushTooltip=!1,!this.isConnected){this.openConnectPopup(this.$aioseo.urls.connect+"&semrush=true");return}if(!this.semrushHasValidTokens){this.openPopup("https://oauth.semrush.com/auth/login?client_id=aioseo&redirect_uri=https%3A%2F%2Foauth.semrush.com%2Foauth2%2Faioseo%2Fsuccess&ref=2190331110&response_type=code&scope=user.id");return}this.openModal()},transformTrendDataToChartPoints(t){return t.split(",").map((e,n)=>({x:n,y:parseFloat(e)}))},openConnectPopup(t){K(t,this.connectWithAioseo,600,630,!0,["token"],this.completedConnectCallback,this.closedConnectCallback)},openPopup(t){K(t,"Semrush Oauth",450,570,!0,["code"],this.completedCallback,this.closedCallback,this.postMessageCallback)},async completedCallback(t){return this.semrushAuthenticate(t.code)},completedConnectCallback(t){return this.saveConnectToken(t.token)},openModal(){this.semrushShowModal=!0,!this.semrush.error&&this.getKeyphrases()},getKeyphrases(){this.loadingResults=!0,this.semrushGetKeyphrases(this.semrushCountry.value).then(()=>{this.loadingResults=!1}).catch(t=>{this.semrushShowModal=!1,this.loadingResults=!1,console.error(t.message)})},closedCallback(t){t&&this.openModal()},closedConnectCallback(t){if(!!t){if(this.semrushHasValidTokens){this.$nextTick(this.getAdditionalKeyphrases);return}this.showSemrushTooltip=!0}},async postMessageCallback(t,s,e){const{data:n,source:r,origin:o}=t;if(!(o!=="https://oauth.semrush.com"||s!==r)){if(n.type==="semrush:oauth:success"){window.removeEventListener("message",e,!1);let l={};try{const c=new URL(n.url);l=k(c.search)}catch{}this.completedCallback(l).then(()=>{s.close(),s=null,this.closedCallback(!0)})}n.type==="semrush:oauth:denied"&&(s.close(),window.removeEventListener("message",e,!1),s=null,this.closedCallback())}},onSaved(t){const{value:s}=t;this.currentPost.keyphrases.focus.keyphrase=s,this.currentPost.loading.focus=!0,this.setIsDirty(),this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost})},onDeleted(){this.currentPost.keyphrases.focus.keyphrase=null,this.setIsDirty(),this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost})},addKeyphraseEv(){const s=document.getElementsByClassName(`add-focus-keyphrase-${this.$root._data.screenContext}-input`)[0].querySelector(".medium");if(s.value){const e={keyphrase:s.value,score:0,analysis:{}};this.$set(this.currentPost.keyphrases,"focus",e),this.currentPost.loading.focus=!0,s.value="",s.blur(),this.setIsDirty(),this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost})}},hasAdditionalKeyphrase(t){const{additional:s}=this.currentPost.keyphrases;return s.filter(e=>e.keyphrase.toLowerCase()===t).length},getAdditionalKeyphrase(t){const{additional:s}=this.currentPost.keyphrases;return s.find(e=>e.keyphrase.toLowerCase()===t)},scoreClass(t){return 80<t?"score-green":50<t?"score-orange":1<t?"score-red":"score-none"},async addAdditionalKeyphrase(t,s){this.addingAdditionalKeyphrase=s;const{additional:e}=this.currentPost.keyphrases,n=e.push({keyphrase:t,score:0}),r=document.getElementsByClassName("keyphrase-name");this.$set(this.currentPost.keyphrases,"additional",e),this.setIsDirty(),await this.$truSeo.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),await this.$nextTick(),r[n]&&r[n].click(),this.addingAdditionalKeyphrase=!1},goToAdditionalKeyphrase(t){const{additional:s}=this.currentPost.keyphrases,e=s.findIndex(n=>n.keyphrase.toLowerCase()===t);if(e!==-1){const n=document.getElementsByClassName("keyphrase-name");n[e+1]&&n[e+1].click(),this.semrushShowModal=!1}},removeAdditionalKeyphrase(t,s){this.removingAdditionalKeyphrase=s;const{additional:e}=this.currentPost.keyphrases,n=e.findIndex(r=>r.keyphrase.toLowerCase()===t);if(n!==-1){e.splice(n,1),this.$set(this.currentPost.keyphrases,"additional",e);const r=document.getElementsByClassName("keyphrase-name");r[0]&&r[0].click()}this.$nextTick(()=>{this.removingAdditionalKeyphrase=!1})},toggleDescriptionEv(t){t.target.parentElement.classList.toggle("toggled")},pressEnter(t){const s=document.getElementById("add-focus-keyphrase");t.preventDefault(),s.click()}},mounted(){const t=[];this.internalOptions.integrations.semrush.accessToken&&this.semrushExpired&&t.push(this.semrushRefresh())}},Y={};var yn=i($n,vn,fn,!1,bn,null,null,null);function bn(t){for(let s in Y)this[s]=Y[s]}const kn=function(){return yn.exports}();var Cn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"page-analysis-panel"},[e("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:this.initTab,internal:""},on:{changed:function(n){return t.processChangeTab(n)}}}),e("transition",{attrs:{mode:"out-in"}},[t.currentPost.page_analysis?e("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis[this.initTab]}}):t._e()],1)],1)},Pn=[];const xn={components:{CoreMainTabs:y,metaboxAnalysisDetail:S},data(){return{initTab:"basic",tabs:[{slug:"basic",name:this.$t.__("Basic SEO",this.$td)},{slug:"title",name:this.$t.__("Title",this.$td)},{slug:"readability",name:this.$t.__("Readability",this.$td)}]}},computed:{...a(["currentPost"])},methods:{processChangeTab(t){this.initTab=t}},mounted(){this.tabs.map(t=>(t.errorCount=this.currentPost.page_analysis.analysis[t.slug].errors,t))}},Z={};var Sn=i(xn,Cn,Pn,!1,wn,null,null,null);function wn(t){for(let s in Z)this[s]=Z[s]}const Tn=function(){return Sn.exports}();var Ln=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-post-general"},[this.$allowed("aioseo_page_general_settings")?e("core-settings-row",{staticClass:"mobile-radio-buttons",scopedSlots:t._u([{key:"content",fn:function(){return[t.$root._data.screenContext==="metabox"||t.parentComponentContext==="modal"?e("base-radio-toggle",{staticClass:"circle",attrs:{value:t.currentPost.generalMobilePrev,name:"previewGeneralIsMobile",options:[{label:"desktop",value:!1,activeClass:"dark",slot:"desktop"},{label:"mobile",value:!0,slot:"mobile"}]},on:{input:t.isMobilePreviewEv},scopedSlots:t._u([{key:"desktop",fn:function(){return[e("svg-desktop")]},proxy:!0},{key:"mobile",fn:function(){return[e("svg-mobile")]},proxy:!0}],null,!1,3417581673)}):t._e()]},proxy:!0}],null,!1,1896340531)}):t._e(),this.$allowed("aioseo_page_general_settings")?e("core-settings-row",{staticClass:"snippet-preview-row",attrs:{name:t.strings.snippetPreview},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-google-search-preview",{class:{ismobile:t.currentPost.generalMobilePrev},attrs:{title:t.currentPost.title||t.currentPost.tags.title||"#post_title #separator_sa #site_title",separator:t.options.searchAppearance.global.separator,description:t.currentPost.description||t.currentPost.tags.description||"#post_content"},scopedSlots:t._u([{key:"domain",fn:function(){return[t._v(" "+t._s(t.liveTags.permalink)+" ")]},proxy:!0}],null,!1,3436692130)}),t.$root._data.screenContext==="sidebar"&&t.parentComponentContext!=="modal"?e("base-button",{staticClass:"edit-snippet gray small",on:{click:t.editSnippetEv}},[e("svg-pencil"),t._v(" "+t._s(t.strings.editSnippet)+" ")],1):t._e()]},proxy:!0}],null,!1,3824536476)}):t._e(),(t.$root._data.screenContext==="metabox"||t.parentComponentContext==="modal")&&this.$allowed("aioseo_page_general_settings")?e("core-settings-row",{staticClass:"snippet-title-row",attrs:{name:t.title},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"","tags-context":`${t.currentPost.postType||t.currentPost.termType}Title`,defaultMenuOrientation:t.parentComponentContext==="modal"?"top":"bottom","default-tags":t.getDefaultTags("title")},on:{counter:function(n){return t.updateCount(n,"titleCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddTitle)+" ")]},proxy:!0}],null,!1,3106947238),model:{value:t.currentPost.title,callback:function(n){t.$set(t.currentPost,"title",n)},expression:"currentPost.title"}}),e("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.titleCount,60))}})]},proxy:!0}],null,!1,3812002899)}):t._e(),(t.$root._data.screenContext==="metabox"||t.parentComponentContext==="modal")&&this.$allowed("aioseo_page_general_settings")?e("core-settings-row",{staticClass:"snippet-description-row",attrs:{name:t.strings.metaDescription},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-html-tags-editor",{attrs:{"line-numbers":!1,description:"","tags-context":`${t.currentPost.postType||t.currentPost.termType}Description`,defaultMenuOrientation:t.parentComponentContext==="modal"?"top":"bottom","default-tags":t.getDefaultTags("description")},on:{counter:function(n){return t.updateCount(n,"descriptionCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddDescription)+" ")]},proxy:!0}],null,!1,1726597184),model:{value:t.currentPost.description,callback:function(n){t.$set(t.currentPost,"description",n)},expression:"currentPost.description"}}),e("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.descriptionCount,160))}})]},proxy:!0}],null,!1,2056721821)}):t._e(),t.displayTruSeoMetaboxCard&&t.options.searchAppearance.advanced.useKeywords&&t.options.searchAppearance.advanced.keywordsLooking?e("div",[e("core-alert",{attrs:{type:"blue","show-close":""},on:{"close-alert":t.hideKeywordsLooking}},[t._v(" "+t._s(t.strings.lookingForMetaKeywords)+" "),e("a",{attrs:{href:"#"},on:{click:function(n){return t.$emit("changeTab","advanced")}}},[t._v(" "+t._s(t.strings.goToAdvancedTab)+" ")]),e("a",{staticClass:"no-underline",attrs:{href:"#"},on:{click:function(n){return t.$emit("changeTab","advanced")}}},[t._v(" \u2192 ")])])],1):t._e(),t.displayTruSeoMetaboxCard?e("core-settings-row",{staticClass:"snippet-focus-keyphrase-row",attrs:{align:""},scopedSlots:t._u([{key:"name",fn:function(){return[t._v(" "+t._s(t.strings.focusKeyphrase)+" "),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("div",{domProps:{innerHTML:t._s(t.strings.keyphraseDocumentation)}})]},proxy:!0}],null,!1,3089343708)},[e("svg-circle-question-mark")],1)]},proxy:!0},{key:"content",fn:function(){return[e("focusKeyphrase")]},proxy:!0}],null,!1,2373612567)}):t._e(),t.displayTruSeoMetaboxCard?e("core-settings-row",{staticClass:"snippet-additional-keyphrases-row",attrs:{name:t.strings.additionalKeyphrases},scopedSlots:t._u([{key:"content",fn:function(){return[e("additionalKeyphrases")]},proxy:!0}],null,!1,3781583425)}):t._e(),t.displayTruSeoMetaboxCard&&t.currentPost.page_analysis?e("core-settings-row",{staticClass:"snippet-page-analysis-row",attrs:{name:t.strings.pageAnalysis,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("pageAnalysis")]},proxy:!0}],null,!1,1626229952)}):t._e(),t.displayTruSeoSidebarKeyphraseCard?e("core-sidebar-card",{staticClass:"card-focus-keyphrase",attrs:{slug:"focus",focusScore:t.focusKeyphraseScore},scopedSlots:t._u([{key:"header",fn:function(){return[e("span",[t._v(t._s(t.strings.focusKeyphrase))]),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("div",{domProps:{innerHTML:t._s(t.strings.keyphraseDocumentation)}})]},proxy:!0}],null,!1,3089343708)},[e("svg-circle-question-mark")],1)]},proxy:!0}],null,!1,2192376698)},[e("focusKeyphrase")],1):t._e(),t.displayTruSeoSidebarKeyphraseCard?e("core-sidebar-card",{staticClass:"card-additional-keyphrase",attrs:{slug:"additional","header-text":t.strings.additionalKeyphrases}},[e("additionalKeyphrases")],1):t._e(),t.displayTruSeoSidebarAnalysisCard?e("core-sidebar-card",{staticClass:"card-basic-seo",attrs:{slug:"basicseo","header-text":t.strings.basicSeo,trueSeoScore:t.currentPost.page_analysis.analysis.basic.errors}},[e("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis.basic}})],1):t._e(),t.displayTruSeoSidebarAnalysisCard?e("core-sidebar-card",{staticClass:"card-title-seo",attrs:{slug:"title","header-text":t.strings.title,trueSeoScore:t.currentPost.page_analysis.analysis.title.errors}},[e("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis.title}})],1):t._e(),t.displayTruSeoSidebarAnalysisCard?e("core-sidebar-card",{staticClass:"card-readability-seo",attrs:{slug:"readability","header-text":t.strings.readability,trueSeoScore:t.currentPost.page_analysis.analysis.readability.errors}},[e("metaboxAnalysisDetail",{attrs:{analysisItems:t.currentPost.page_analysis.analysis.readability}})],1):t._e()],1)},An=[];const Mn={mixins:[R,We,Xt,f],components:{BaseRadioToggle:te,CoreAlert:g,CoreGoogleSearchPreview:ns,CoreHtmlTagsEditor:E,CoreSettingsRow:p,CoreSidebarCard:Fs,CoreTooltip:v,SvgCircleQuestionMark:M,SvgDesktop:ue,SvgMobile:de,SvgPencil:x,additionalKeyphrases:un,focusKeyphrase:kn,metaboxAnalysisDetail:S,pageAnalysis:Tn},props:{disabled:{type:Boolean,default(){return!1}},parentComponentContext:String},data(){return{titleCount:0,descriptionCount:0,keywords:null,keyphrases:null,selectedKeyphrase:0,editSnippet:!1,truSeo:null,strings:{pageName:this.$t.__("General",this.$td),snippetPreview:this.$t.__("Snippet Preview",this.$td),snippetPreviewContent:this.$t.__("Snippet Preview content here.",this.$td),editSnippet:this.$t.__("Edit Snippet",this.$td),clickToAddTitle:this.$t.__("Click on the tags below to insert variables into your title.",this.$td),metaDescription:this.$t.__("Meta Description",this.$td),clickToAddDescription:this.$t.__("Click on the tags below to insert variables into your meta description.",this.$td),pillarContent:this.$t.__("Pillar Content",this.$td),pillarContentCopy:this.$t.__("Cornerstone content should be the most important and extensive articles on your site.",this.$td),focusKeyphrase:this.$t.__("Focus Keyphrase",this.$td),additionalKeyphrases:this.$t.__("Additional Keyphrases",this.$td),pageAnalysis:this.$t.__("Page Analysis",this.$td),basicSeo:this.$t.__("Basic SEO",this.$td),title:this.$t.__("Title",this.$td),readability:this.$t.__("Readability",this.$td),lookingForMetaKeywords:this.$t.__("Looking for meta keywords?",this.$td),goToAdvancedTab:this.$t.__("Go to the Advanced tab to add/edit meta keywords",this.$td),keyphraseDocumentation:this.$t.sprintf(this.$t.__("Not sure what keyphrases are used for? Check out our documentation for more information. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"useKeyphrasesTooltip",!0))}}},watch:{"currentPost.title"(){F(()=>this.runAnalysis({postId:this.currentPost.id}),500)},"currentPost.description"(){F(()=>this.runAnalysis({postId:this.currentPost.id}),500)}},computed:{...a(["currentPost","options"]),...a("live-tags",["liveTags"]),title(){return this.$t.sprintf(this.$t.__("%1$s Title",this.$td),this.currentPost.type)},toggled:function(){return this.currentPost.pillar_content===1},displayTruSeoMetaboxCard(){return T()&&this.$root._data.screenContext==="metabox"&&this.currentPost.context==="post"&&this.currentPost.postType!=="attachment"&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarKeyphraseCard(){return T()&&this.$root._data.screenContext==="sidebar"&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarAnalysisCard(){return T()&&this.$root._data.screenContext==="sidebar"&&this.currentPost.page_analysis&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},isForum(){return!!((this.currentPost.postType==="forum"||this.currentPost.postType==="topic"||this.currentPost.postType==="reply")&&window.aioseo.data.isBBPressActive)},focusKeyphraseScore(){return this.currentPost.keyphrases.focus.keyphrase?this.currentPost.keyphrases.focus.score:null}},methods:{...d(["changeGeneralPreview","openModal","savePostState"]),...h(["changeTabSettings"]),hideKeywordsLooking(){this.options.searchAppearance.advanced.keywordsLooking=!1,this.saveChanges()},isMobilePreviewEv(t){this.changeGeneralPreview(t)},editSnippetEv(){this.editSnippet=!this.editSnippet,this.changeTabSettings({setting:"modal",value:"general"}),this.openModal(!0)},getDefaultTags(t){switch(t){case"title":return this.currentPost.context==="post"?["post_title","separator_sa","site_title"]:["taxonomy_title","separator_sa","site_title"];case"description":return this.currentPost.context==="post"?this.currentPost.postType==="attachment"?["attachment_caption","separator_sa","site_title"]:this.currentPost.postType==="product"?["post_excerpt","post_content"]:["post_excerpt","post_content","separator_sa"]:["taxonomy_title","separator_sa","taxonomy_description"]}}},mounted(){this.keyphrases=this.currentPost.keyphrases,this.currentPost.context==="post"&&!this.currentPost.keyphrases.length&&(this.selectedKeyphrase=-1)}},J={};var In=i(Mn,Ln,An,!1,Rn,null,null,null);function Rn(t){for(let s in J)this[s]=J[s]}const _e=function(){return In.exports}();var En=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-right-arrow-short",attrs:{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M8 0L6.59 1.41L12.17 7H0V9H12.17L6.59 14.59L8 16L16 8L8 0Z",fill:"currentColor"}})])},Dn=[];const On={},Q={};var Fn=i(On,En,Dn,!1,Kn,null,null,null);function Kn(t){for(let s in Q)this[s]=Q[s]}const he=function(){return Fn.exports}();var Bn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-link-assistant-sidebar"},[t.$root._data.screenContext==="sidebar"?e("core-settings-row",{staticClass:"snippet-description-row open-link-assistant-copy",scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"aioseo-sidebar-content-title"},[t._v(t._s(t.strings.title))]),e("p",[t._v(t._s(t.strings.description))]),e("base-button",{staticClass:"open-link-assistant-modal gray small",on:{click:t.toggleLinkAssistantModal}},[e("svg-right-arrow-short"),t._v(" "+t._s(t.strings.button)+" ")],1)]},proxy:!0}],null,!1,797682359)}):t._e()],1)},Hn=[];const Nn={components:{CoreSettingsRow:p,SvgRightArrowShort:he},data(){return{strings:{title:this.$t.__("Link Assistant",this.$td),description:this.$t.__("Here you can view an overview of your existing links as well as find suggestions for new internal links. Click on the button below to view the Link Assistant panel.",this.$td),button:this.$t.__("Open Link Assistant",this.$td)}}},methods:{...h(["toggleLinkAssistantModal"])}},X={};var Gn=i(Nn,Bn,Hn,!1,Un,null,null,null);function Un(t){for(let s in X)this[s]=X[s]}const jn=function(){return Gn.exports}(),$=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),Vn={methods:{findTargetBlock(t,s){const e=$(s);let n=null;return t.forEach(r=>{if(n||!r.attributes)return;if(r.attributes.content&&r.attributes.content.search(e)!==-1){n=r.clientId;return}if(!r.innerBlocks)return;const o=this.findTargetBlock(r.innerBlocks,s);o&&(n=o)}),n}}},qn={mixins:[Vn],props:{post:{type:Object,required:!0},postIndex:{type:Number,required:!1},postId:{type:Number,required:!1},linksReport:{type:Boolean,default(){return!1}},postReport:{type:Boolean,default(){return!1}},metabox:{type:Boolean,default(){return!1}}},beforeMount(){this.$bus.$on("updatingLinks",t=>{this.wpTableLoading=t}),this.pageNumber=this.linkType?this.linkAssistant.postReport[this.linkType].totals.page:1},data(){return{changeItemsPerPageSlug:"linkAssistantPostsReport",action:"",showModal:!1,selectedRows:[],bulkOptions:[{label:this.$t.__("Delete",this.$td),value:"delete"}],strings:{frontPage:this.$t.__("Front Page",this.$tdPro),deleteLink:this.$t.__("Delete Link",this.$tdPro)},modalStrings:{areYouSureSingle:this.$t.__("Are you sure you want to delete this link?",this.$tdPro),areYouSureMultiple:this.$t.__("Are you sure you want to delete these links?",this.$tdPro),areYouSureAll:this.$t.__("Are you sure you want to delete all links?",this.$tdPro),actionCannotBeUndone:this.$t.__("This action cannot be undone.",this.$tdPro),yesSingle:this.$t.__("Yes, I want to delete this link",this.$tdPro),yesMultiple:this.$t.__("Yes, I want to delete these links",this.$tdPro),yesAll:this.$t.__("Yes, I want to delete all links",this.$tdPro),noChangedMind:this.$t.__("No, I changed my mind",this.$tdPro)}}},computed:{...a(["linkAssistant","currentPost"]),rows(){if(!this.metabox)return this.post.links[this.linkType].rows;const t=this.pageNumber===1?0:(this.pageNumber-1)*10;return this.post.links[this.linkType].rows.slice(t,t+10)}},methods:{...d("linkAssistant",["linkDelete","linksBulk","fetchPostReport","fetchLinksReportInner","postSettingsUpdate"]),fetchData(t){this.$bus.$emit("updatingLinks",!0);const s={...t,additionalFilters:{postId:this.post.ID,postIndex:this.postIndex,type:this.linkType}},e=this.postReport?"fetchPostReport":"fetchLinksReportInner";return this[e](s).finally(()=>{this.$bus.$emit("updatingLinks",!1)})},openPostReport(t){window.location.href=`#/post-report?postId=${this.postId}&postIndex=${this.postIndex}&initialTab=${t}`},maybeDoBulkAction({action:t,selectedRows:s}){s===!1||!t||(this.action=t,this.selectedRows=s,this.showModal=!0)},doBulkAction(){if(this.showModal=!1,!(this.selectedRows===!1||typeof this.selectedRows>"u")){if(typeof this.selectedRows=="number"){this.doDeleteLink(this.selectedRows);return}if(this.metabox&&this.linkType!=="inboundInternal"){this.idsToIndexes(this.selectedRows).forEach(s=>{this.editorRemoveLink(s)});return}this.$bus.$emit("updatingLinks",!0),this.linksBulk({postIndex:this.postIndex,postId:this.post.ID||this.currentPost.id,action:this.action,linkType:this.linkType,linkIds:this.selectedRows,linksReport:this.linksReport,postReport:this.postReport}).finally(()=>{this.$bus.$emit("updatingLinks",!1),this.$emit("linksUpdated"),this.refreshTable()})}},doDeleteLink(t){const s=this.post.links[this.linkType].rows[t].id;if(!!s){if(this.metabox&&this.linkType!=="inboundInternal"){this.editorRemoveLink(t);return}this.$bus.$emit("updatingLinks",!0),this.linkDelete({postIndex:this.postIndex,postId:this.post.ID||this.currentPost.id,linkId:s,linksReport:this.linksReport,postReport:this.postReport}).finally(()=>{this.$bus.$emit("updatingLinks",!1),this.$emit("linksUpdated"),this.refreshTable()})}},editorRemoveLink(t){ye()&&(this.$bus.$emit("updatingLinks",!1),this.blockEditorRemoveLink(t),this.$bus.$emit("updatingLinks",!1)),be()&&this.classicEditorRemoveLink(t)},blockEditorRemoveLink(t){const s=this.currentPost.linkAssistant.links[this.linkType].rows[t];if(!s)return;this.$bus.$emit("updatingLinks",!0);const e=$(s.anchor.trim()),n=s.phrase_html.trim(),r=$(n),o=window.wp.data.select("core/block-editor").getBlocks(),l=this.findTargetBlock(o,n);if(!l){this.$bus.$emit("updatingLinks",!1);return}const c=window.wp.data.select("core/block-editor").getBlock(l);if(!c){this.$bus.$emit("updatingLinks",!1);return}let _=new RegExp(`(<t?a[^<>]*>)(.*)?(${e})(.*)?(</t?a[^<>]*>)`,"i");const b=n.replace(_,"$2$3$4");_=new RegExp(`${r}`,"i"),window.wp.data.dispatch("core/block-editor").updateBlockAttributes(l,{content:c.attributes.content.replace(_,b)}).then(()=>{this.$delete(this.post.links[this.linkType].rows,t)}).catch(w=>{console.error(`Couldn delete link with type "${this.linkType}" and index ${t}:`,w)}).finally(()=>{this.$bus.$emit("updatingLinks",!1),this.$emit("linksUpdated")})},classicEditorRemoveLink(t){const s=this.currentPost.linkAssistant.links[this.linkType].rows[t];if(!s||!window.tinyMCE)return;this.$bus.$emit("updatingLinks",!0);let e="",n=null,r=null;if(document.querySelector("#wp-content-wrap.tmce-active")?(n=window.tinyMCE.get("content"),e=n.getContent({format:"raw"})):(r=document.querySelector("textarea#content"),e=r?r.value:""),!e){this.$bus.$emit("updatingLinks",!1);return}let o=s.phrase_html.trim();n||(o=o.replace(/(\sdata-mce-href=".*")/gi,""));const l=$(s.anchor.trim());let c=new RegExp(`(<t?a[^<>]*>)(.*)?(${l})(.*)?(</t?a[^<>]*>)`,"i");const _=o.replace(c,"$2$3$4"),b=$(o);c=new RegExp(`${b}`,"i"),e=e.replace(c,_),n?n.setContent(e):r.value=e,this.$delete(this.post.links[this.linkType].rows,t),this.postSettingsUpdate({postContent:e}).finally(()=>{this.$bus.$emit("updatingLinks",!1),this.$emit("linksUpdated")})},idsToIndexes(t){let s,e=[];return Array.isArray(t)&&(s=t.map(Number)),s&&this.post.links[this.linkType].rows.forEach((n,r)=>{s.includes(n.id)&&e.push(r)}),t==="all"&&(e=this.post.links[this.linkType].rows.map((n,r)=>r)),e.sort(function(n,r){return r-n})}}},zn={methods:{viewPost(t){return this.$t.sprintf(this.$t.__("View %1$s",this.$td),t)},editPost(t){return this.$t.sprintf(this.$t.__("Edit %1$s",this.$td),t)}}};var Wn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("core-modal",{staticClass:"aioseo-confirmation-modal",attrs:{"no-header":""},scopedSlots:t._u([{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body"},[e("button",{staticClass:"close",on:{click:function(n){return n.stopPropagation(),t.$emit("closeModal",!0)}}},[e("svg-close",{on:{click:function(n){return t.$emit("closeModal",!0)}}})],1),e("h3",[t._v(t._s(t.areYouSure))]),e("div",{staticClass:"reset-description",domProps:{innerHTML:t._s(t.strings.actionCannotBeUndone)}}),e("base-button",{attrs:{type:"blue",size:"medium"},on:{click:function(n){return t.$emit("doBulkAction",n)}}},[t._v(" "+t._s(t.confirmation)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(n){return t.$emit("closeModal",!0)}}},[t._v(" "+t._s(t.strings.noChangedMind)+" ")])],1)]},proxy:!0}])})},Yn=[];const Zn={components:{CoreModal:Ye,SvgClose:Zt},props:{selectedRows:{required:!0},strings:{type:Object,required:!0}},computed:{areYouSure(){return this.selectedRows==="all"?this.strings.areYouSureAll:Array.isArray(this.selectedRows)&&1<this.selectedRows.length?this.strings.areYouSureMultiple:this.strings.areYouSureSingle},confirmation(){return this.selectedRows==="all"?this.strings.yesAll:Array.isArray(this.selectedRows)&&1<this.selectedRows.length?this.strings.yesMultiple:this.strings.yesSingle}}},tt={};var Jn=i(Zn,Wn,Yn,!1,Qn,null,null,null);function Qn(t){for(let s in tt)this[s]=tt[s]}const Xn=function(){return Jn.exports}();var tr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-link-assistant-phrase",on:{mouseover:function(n){return t.$emit("mouseOver")},mouseleave:function(n){return t.$emit("mouseLeave")}}},[e("span",{staticClass:"phrase"},[e("span",{staticClass:"first"},[t._v(t._s(t.firstPart))]),t.tooltip?e("core-tooltip",{attrs:{type:"action"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("a",{staticClass:"tooltip-url",attrs:{href:t.url,target:"_blank"}},[t._v(t._s(t.url))])]},proxy:!0}],null,!1,3985851943)},[e("span",{staticClass:"anchor",on:{click:t.maybeOpenLink}},[t._v(t._s(t.linkAnchor))])]):t._e(),t.tooltip?t._e():e("div",[e("span",{staticClass:"anchor"},[t._v(t._s(t.linkAnchor))])]),e("span",{staticClass:"last"},[t._v(t._s(t.lastPart))])],1),t._t("icons")],2)},er=[];const sr={components:{CoreTooltip:v},props:{phrase:{type:String,required:!0},phraseHtml:{type:String,required:!0},anchor:{type:String,required:!0},url:{type:String,required:!0},tooltip:{type:Boolean,required:!1,default:!0},clickableAnchor:{type:Boolean,default(){return!1}}},computed:{partPattern(){const t=$(this.anchor);return new RegExp(`(.*)(<t?a[^>]*>.*${t}.*</t?a>)(.*)`,"i")},firstPart(){return this.stripTags(this.getPart(1))},linkAnchor(){return this.stripTags(this.getPart(2))},lastPart(){return this.stripTags(this.getPart(3))}},methods:{getPart(t){const s=this.phraseHtml.match(this.partPattern);return s?s[t]:""},stripTags(t){return t.replace(/(<([^>]+)>)/gi,"")},maybeOpenLink(){this.clickableAnchor&&window.open(this.url,"_blank").focus()}}},et={};var nr=i(sr,tr,er,!1,rr,null,null,null);function rr(t){for(let s in et)this[s]=et[s]}const ir=function(){return nr.exports}();var or=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-link-suggestion",attrs:{viewBox:"0 0 17 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.66699 7.43742H4.33366C2.95866 7.43742 1.83366 6.31242 1.83366 4.93742C1.83366 3.56242 2.95866 2.43742 4.33366 2.43742H7.66699V0.770752H4.33366C2.03366 0.770752 0.166992 2.63742 0.166992 4.93742C0.166992 7.23742 2.03366 9.10408 4.33366 9.10408H7.66699V7.43742ZM12.667 0.770752H9.33366V2.43742H12.667C14.042 2.43742 15.167 3.56242 15.167 4.93742C15.167 6.31242 14.042 7.43742 12.667 7.43742H9.33366V9.10408H12.667C14.967 9.10408 16.8337 7.23742 16.8337 4.93742C16.8337 2.63742 14.967 0.770752 12.667 0.770752ZM11.8337 4.10409H5.16699V5.77075H11.8337V4.10409Z",fill:"currentColor"}})])},ar=[];const lr={},st={};var cr=i(lr,or,ar,!1,ur,null,null,null);function ur(t){for(let s in st)this[s]=st[s]}const D=function(){return cr.exports}();var dr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("core-wp-table",{key:t.wpTableKey,class:{"link-assistant-inner-table":!t.postReport},attrs:{"bulk-options":t.bulkOptions,columns:t.columns,id:t.tableId,"initial-items-per-page":t.$aioseo.settings.tablePagination.linkAssistantPostsReport,"initial-page-number":t.pageNumber,loading:t.wpTableLoading,rows:t.rows,"show-pagination":!t.linksReport,"show-search":!1,"show-table-footer":t.postReport,totals:t.post.links.inboundInternal.totals,"show-items-per-page":""},on:{paginate:t.processPagination,"process-bulk-action":t.maybeDoBulkAction,"process-change-items-per-page":t.processChangeItemsPerPage},scopedSlots:t._u([{key:"post_title",fn:function(n){var r=n.row;return[e("span",[t._v(" "+t._s(r.context.postTitle)+" "),r.context.permalink.replace(/\/$/,"")===t.$aioseo.urls.home?e("span",[t._v("("+t._s(t.strings.frontPage)+")")]):t._e()]),r.context?e("div",{staticClass:"row-actions"},[e("span",{staticClass:"view"},[e("a",{attrs:{href:r.context.permalink,target:"_blank"}},[t._v(t._s(t.maybeViewPost(r)))]),t._v(" | ")]),e("span",{staticClass:"edit"},[e("a",{attrs:{href:r.context.editLink,target:"_blank"}},[t._v(t._s(t.maybeEditPost(r)))])])]):t._e()]}},{key:"phrase",fn:function(n){var r=n.row;return[e("link-assistant-phrase",{attrs:{phrase:r.phrase,phraseHtml:r.phrase_html||"",anchor:r.anchor,url:r.url,clickableAnchor:!0}})]}},{key:"delete",fn:function(n){var r=n.index;return[e("core-tooltip",{attrs:{type:"action"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.deleteLink)+" ")]},proxy:!0}],null,!0)},[e("svg-trash",{nativeOn:{click:function(o){return t.maybeDoBulkAction({action:"delete",selectedRows:r})}}})],1)]}}])}),t.postReport?t._e():e("div",{staticClass:"links-bottom"},[e("div",{staticClass:"links-bottom-left"},[t.post.links.inboundInternal.rows.length?e("base-button",{attrs:{type:"blue",tag:"button"},nativeOn:{click:function(n){return t.$emit("openSuggestions")}}},[e("svg-link-suggestion"),t._v(" "+t._s(t.strings.outboundSuggestions)+" ")],1):t._e(),t.post.links.inboundInternal.totals.total>5&&t.linksReport?e("div",[e("svg-link-external"),e("a",{staticClass:"link-view",attrs:{href:"#"},on:{click:function(n){return n.preventDefault(),t.openPostReport("inbound-internal")}}},[t._v(" "+t._s(t.seeAllLinks)+" ")])],1):t._e()],1),e("div",{staticClass:"links-bottom-right"},[t.post.links.inboundInternal.rows.length?e("a",{staticClass:"link-delete",on:{click:function(n){return n.preventDefault(),t.maybeDoBulkAction({action:"delete",selectedRows:"all"})}}},[t._v(" "+t._s(t.strings.deleteAllLinks)+" ")]):t._e()])]),t.showModal?e("link-assistant-confirmation-modal",{attrs:{selectedRows:t.selectedRows,strings:t.modalStrings},on:{doBulkAction:t.doBulkAction,closeModal:function(n){t.showModal=!1}}}):t._e()],1)},pr=[];const _r={components:{CoreTooltip:v,CoreWpTable:is,LinkAssistantConfirmationModal:Xn,LinkAssistantPhrase:ir,SvgLinkExternal:ne,SvgLinkSuggestion:D,SvgTrash:I},mixins:[qn,zn,Ze],data(){return{tableId:"aioseo-post-report-inbound-internal",linkType:"inboundInternal",strings:{deleteAllLinks:this.$t.sprintf(this.$t.__("Delete All %1$s Links",this.$td),this.$t.__("Inbound Internal",this.$td)),outboundSuggestions:this.$t.sprintf(this.$t.__("%1$s Link Suggestions",this.$td),this.$t.__("Inbound",this.$td))}}},computed:{columns(){return[{slug:"post_title",label:this.$t.__("Post Title",this.$td)},{slug:"phrase",label:this.$t.__("Phrase",this.$td)},{slug:"delete",width:"50px"}]},seeAllLinks(){return this.$t.sprintf(this.$t.__("See All %1$s %2$s Links",this.$td),this.post.links.inboundInternal.totals.total,this.$t.__("Inbound Internal",this.$td))}},methods:{maybeViewPost(t){var s,e;this.viewPost(((e=(s=t.context)==null?void 0:s.postType)==null?void 0:e.singular)||"Post")},maybeEditPost(t){var s,e;this.editPost(((e=(s=t.context)==null?void 0:s.postType)==null?void 0:e.singular)||"Post")},processPagination(t){this.pageNumber=t,!this.metabox&&(this.wpTableLoading=!0,this.processFetchTableData().then(()=>this.wpTableLoading=!1))}}},nt={};var hr=i(_r,dr,pr,!1,mr,null,null,null);function mr(t){for(let s in nt)this[s]=nt[s]}const gr=function(){return hr.exports}();var vr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-link-assistant"},[t.$root._data.screenContext==="metabox"?e("div",[e("core-blur",[e("core-main-tabs",{staticClass:"link-tabs",attrs:{internal:"",tabs:t.tabs,active:t.initialTab,showSaveButton:!1},scopedSlots:t._u([{key:"md-tab-icon",fn:function(n){var r=n.tab;return[e(r.icon,{tag:"component",class:[{warning:r.data.warning}]})]}}],null,!1,158741971)}),t.activeTab==="inbound-internal"?e("link-assistant-inbound-internal",{attrs:{post:t.mockedPostData,metabox:""}}):t._e()],1),e("cta",{attrs:{"cta-link":t.$links.getPricingUrl("link-assistant","link-assistant-upsell","metabox"),"button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getUpsellUrl("link-assistant","metabox","home"),"feature-list":[t.strings.linkOpportunities,t.strings.domainReports,t.strings.orphanedPosts,t.strings.affiliateLinks]},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[e("required-plans",{attrs:{addon:"aioseo-link-assistant"}}),t._v(" "+t._s(t.strings.linkAssistantDescription)+" ")]},proxy:!0}],null,!1,2592559336)})],1):t._e(),t.currentPost.linkAssistant.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal-portal",{attrs:{classes:["aioseo-link-assistant-modal"]},on:{close:t.toggleLinkAssistantModal}},[e("div",{attrs:{slot:"headerTitle"},slot:"headerTitle"},[t._v(" "+t._s(t.modalHeader)+" ")]),e("div",{attrs:{slot:"body"},slot:"body"},[e("core-blur",[e("core-main-tabs",{staticClass:"link-tabs",attrs:{internal:"",tabs:t.tabs,active:t.initialTab,showSaveButton:!1},scopedSlots:t._u([{key:"md-tab-icon",fn:function(n){var r=n.tab;return[e(r.icon,{tag:"component",class:[{warning:r.data.warning}]})]}}],null,!1,2019150867)}),t.activeTab==="inbound-internal"?e("link-assistant-inbound-internal",{attrs:{post:t.mockedPostData,metabox:""}}):t._e()],1),e("cta",{attrs:{"cta-link":t.$links.getPricingUrl("link-assistant","link-assistant-upsell","metabox"),"button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getUpsellUrl("link-assistant","metabox","home"),"feature-list":[t.strings.linkOpportunities,t.strings.domainReports,t.strings.orphanedPosts,t.strings.affiliateLinks]},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[e("required-plans",{attrs:{addon:"aioseo-link-assistant"}}),t._v(" "+t._s(t.strings.linkAssistantDescription)+" ")]},proxy:!0}],null,!1,2592559336)})],1)]):t._e(),this.parentComponentContext!=="modal"?e("links-side-bar"):t._e()],1)},fr=[];const $r={components:{CoreAlert:g,CoreBlur:ee,CoreMainTabs:y,CoreModalPortal:C,Cta:se,LinkAssistantInboundInternal:gr,LinksSideBar:jn,SvgLinkAffiliate:os,SvgLinkExternal:ne,SvgLinkInternalInbound:as,SvgLinkInternalOutbound:ls,SvgLinkSuggestion:D,RequiredPlans:cs},props:{parentComponentContext:String},data(){return{activeTab:"inbound-internal",activeSuggestionTab:"suggestions-inbound",mockedPostData:{links:{inboundInternal:{rows:[{phrase:"Are you looking for an easy way to do an SEO analysis for your website?",anchor:"SEO analysis",url:"#",context:{postTitle:"How to Perform an SEO Analysis on Your WordPress Website",permalink:"#",editLink:"#"}},{phrase:"AIOSEO also allows you to create video sitemaps and comes with tons of different SEO tools.",anchor:"video sitemaps",url:"#",context:{postTitle:"How to Create WordPress Image Sitemap",permalink:"#",editLink:"#"}},{phrase:"You may also want to check out how to name your image files for SEO in WordPress and write alt text for images.",anchor:"how to name your image files for SEO in WordPress",url:"#",context:{postTitle:"What\u2019s the Best Image Format for Your Website?",permalink:"#",editLink:"#"}},{phrase:"Are you looking for an easy way to do an SEO analysis for your website?",anchor:"SEO analysis",url:"#",context:{postTitle:"How to Perform an SEO Analysis on Your WordPress Website",permalink:"#",editLink:"#"}},{phrase:"To learn more, please check out our post on image SEO: how to best optimize your images in WordPress. ",anchor:"image SEO",url:"#",context:{postTitle:"How to Write Alt Text for Images for SEO",permalink:"#",editLink:"#"}},{phrase:"So let\u2019s now move on to showing you exactly how easy it is to import and export redirects using the best redirect plugin for WordPress.",anchor:"best redirect plugin for WordPress",url:"#",context:{postTitle:"How to Easily Import and Export Redirects in WordPress",permalink:"#",editLink:"#"}}],totals:{total:6}},outboundInternal:{totals:{total:12}},affiliate:{totals:{total:8}},external:{totals:{total:24}},suggestionsInbound:{totals:{total:9}},suggestionsOutbound:{totals:{total:9}}}},strings:{ctaButtonText:this.$t.sprintf(this.$t.__("Upgrade to %1$s and Unlock Link Assistant",this.$td),"Pro"),ctaHeader:this.$t.sprintf(this.$t.__("Link Assistant is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro"),linkAssistantDescription:this.$t.__("Get relevant suggestions for adding internal links to all your content as well as finding any orphaned posts that have no internal links.",this.$td),thisFeatureRequires:this.$t.__("This feature requires one of the following plans:",this.$td),linkOpportunities:this.$t.__("Actionable Link Suggestions",this.$td),orphanedPosts:this.$t.__("See Orphaned Posts",this.$td),affiliateLinks:this.$t.__("See Affiliate Links",this.$td),domainReports:this.$t.__("Top Domain Reports",this.$td)}}},computed:{...a(["currentPost"]),initialTab(){return"inbound-internal"},tabs(){return[{slug:"inbound-internal",icon:"svg-link-internal-inbound",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.inboundInternal.totals.total,this.$t.__("Inbound Internal",this.$tdPro))},{slug:"outbound-internal",icon:"svg-link-internal-outbound",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.outboundInternal.totals.total,this.$t.__("Outbound Internal",this.$tdPro))},{slug:"affiliate",icon:"svg-link-affiliate",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.affiliate.totals.total,this.$t.__("Affiliate",this.$tdPro))},{slug:"external",icon:"svg-link-external",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.external.totals.total,this.$t.__("External",this.$tdPro))},{slug:"link-suggestions",icon:"svg-link-suggestion",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.suggestionsOutbound.totals.total+this.mockedPostData.links.suggestionsInbound.totals.total,this.$t.__("Link Suggestions",this.$tdPro))}]},modalHeader(){return this.$t.sprintf(this.$t.__('Links & Suggestions for "%1$s"',this.$tdPro),window.wp.data.select("core/editor").getEditedPostAttribute("title"))}},methods:{...h(["toggleLinkAssistantModal"])}},rt={};var yr=i($r,vr,fr,!1,br,null,null,null);function br(t){for(let s in rt)this[s]=rt[s]}const it=function(){return yr.exports}();var kr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Cr=[];const Pr={},ot={};var xr=i(Pr,kr,Cr,!1,Sr,null,null,null);function Sr(t){for(let s in ot)this[s]=ot[s]}const wr=function(){return xr.exports}();var Tr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-link-assistant"},[!t.isUnlicensed&&t.$addons.isActive("aioseo-link-assistant")&&!t.$addons.requiresUpgrade("aioseo-link-assistant")?e("Links",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e(),t.isUnlicensed||t.$addons.requiresUpgrade("aioseo-link-assistant")?e("LinksLite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e(),!t.isUnlicensed&&!t.$addons.isActive("aioseo-link-assistant")&&t.$addons.canActivate("aioseo-link-assistant")&&!t.$addons.requiresUpgrade("aioseo-link-assistant")?e("LinksActivate",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},Lr=[];const Ar={components:{Links:it,LinksActivate:wr,LinksLite:it},props:{parentComponentContext:String},computed:{...m(["isUnlicensed"])}},at={};var Mr=i(Ar,Tr,Lr,!1,Ir,null,null,null);function Ir(t){for(let s in at)this[s]=at[s]}const Rr=function(){return Mr.exports}();var Er=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"tab-facebook"},[e("core-settings-row",{attrs:{noBorder:"",noVerticalMargin:""},scopedSlots:t._u([{key:"content",fn:function(){return[t.options.social.facebook.general.enable?t._e():e("core-alert",{staticClass:"facebook-disabled-warning",attrs:{type:"red"},domProps:{innerHTML:t._s(t.strings.facebookDisabled)}})]},proxy:!0}])}),e("core-settings-row",{attrs:{name:t.strings.tabName},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-facebook-preview",{class:{ismobilecard:t.currentPost.socialMobilePreview},attrs:{image:t.imageUrl,loading:t.loading},scopedSlots:t._u([{key:"site-url",fn:function(){return[e("span",[t._v(t._s(t.permalink))])]},proxy:!0},{key:"site-title",fn:function(){return[e("span",[t._v(t._s(t.truncate(t.parseTags(t.currentPost.og_title||t.currentPost.title||t.currentPost.tags.title||"#post_title #separator_sa #site_title"),100)))])]},proxy:!0},{key:"site-description",fn:function(){return[e("span",[t._v(t._s(t.truncate(t.parseTags(t.currentPost.og_description||t.currentPost.description||t.currentPost.tags.description||"#post_content"))))])]},proxy:!0}])})]},proxy:!0}])}),e("core-settings-row",{staticClass:"facebook-title-settings",attrs:{name:t.strings.facebookTitle,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":`${t.currentPost.postType||t.currentPost.termType}Title`,"default-tags":t.$tags.getDefaultTags(t.currentPost.context==="term"?"taxonomies":null,null,"title")},on:{counter:function(n){return t.updateCount(n,"titleCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddSiteName)+" ")]},proxy:!0}]),model:{value:t.currentPost.og_title,callback:function(n){t.$set(t.currentPost,"og_title",n)},expression:"currentPost.og_title"}}),e("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.titleCount,95))}})]},proxy:!0}])}),e("core-settings-row",{staticClass:"facebook-description-settings",attrs:{name:t.strings.facebookDescription,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,description:"","tags-context":`${t.currentPost.postType||t.currentPost.termType}Description`,"default-tags":t.$tags.getDefaultTags(t.currentPost.context==="term"?"taxonomies":null,null,"description")},on:{counter:function(n){return t.updateCount(n,"descriptionCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddHomePageDescription)+" ")]},proxy:!0}]),model:{value:t.currentPost.og_description,callback:function(n){t.$set(t.currentPost,"og_description",n)},expression:"currentPost.og_description"}}),e("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.descriptionCount,200))}})]},proxy:!0}])}),e("core-settings-row",{staticClass:"facebook-image-source",attrs:{name:t.strings.imageSource,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{size:"medium",options:t.imageSourceOptionsFiltered,value:t.getImageSourceOptionFiltered(t.currentPost.og_image_type)},on:{input:function(n){return t.saveImageType(n.value)}}})]},proxy:!0}])}),t.currentPost.og_image_type==="custom"?e("core-settings-row",{attrs:{name:t.strings.customFieldsName,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-input",{attrs:{type:"text",size:"medium",placeholder:t.strings.placeholder},on:{input:t.setIsDirty},model:{value:t.currentPost.og_image_custom_fields,callback:function(n){t.$set(t.currentPost,"og_image_custom_fields",n)},expression:"currentPost.og_image_custom_fields"}})]},proxy:!0}],null,!1,1200630708)}):t._e(),t.currentPost.og_image_type==="custom_image"?e("core-settings-row",{staticClass:"facebook-image",attrs:{name:t.strings.facebookImage},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"facebook-image-upload"},[e("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},on:{input:t.setIsDirty},model:{value:t.currentPost.og_image_custom_url,callback:function(n){t.$set(t.currentPost,"og_image_custom_url",n)},expression:"currentPost.og_image_custom_url"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(n){return t.openUploadModal("facebookImage",t.updateImage)}}},[e("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),e("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(n){t.currentPost.og_image_custom_url=null}}},[t._v(" "+t._s(t.strings.remove)+" ")])],1),e("div",{staticClass:"aioseo-description"},[t._v(" "+t._s(t.strings.minimumSize)+" ")]),e("base-img",{attrs:{src:t.currentPost.og_image_custom_url}})]},proxy:!0}],null,!1,3927397516)}):t._e(),e("core-settings-row",{staticClass:"facebook-video",attrs:{name:t.strings.video,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-input",{attrs:{type:"text",size:"medium"},model:{value:t.currentPost.og_video,callback:function(n){t.$set(t.currentPost,"og_video",n)},expression:"currentPost.og_video"}})]},proxy:!0}])}),e("core-settings-row",{staticClass:"facebook-object-type",attrs:{name:t.strings.facebookObjectType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{size:"medium","open-direction":"top",options:t.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:t.getObjectTypeOptions(t.currentPost.og_object_type)},on:{input:function(n){return t.setObjectType(n.value)}}})]},proxy:!0}])}),t.shouldShowArticleSection?e("core-settings-row",{attrs:{name:t.strings.articleSection,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-input",{attrs:{type:"text",size:"medium"},model:{value:t.currentPost.og_article_section,callback:function(n){t.$set(t.currentPost,"og_article_section",n)},expression:"currentPost.og_article_section"}})]},proxy:!0}],null,!1,1205905290)}):t._e(),t.shouldShowArticleSection?e("core-settings-row",{attrs:{name:t.strings.articleTags,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{multiple:"",taggable:"",options:t.getJsonValue(t.currentPost.og_article_tags)||[],value:t.getJsonValue(t.currentPost.og_article_tags)||[],"tag-placeholder":t.strings.tagPlaceholder},on:{input:function(n){return t.currentPost.og_article_tags=t.setJsonValue(n)}}})]},proxy:!0}],null,!1,2497302637)}):t._e()],1)},Dr=[];const Or={components:{BaseImg:ae,CoreAlert:g,CoreFacebookPreview:us,CoreHtmlTagsEditor:E,CoreSettingsRow:p,SvgCirclePlus:P},mixins:[re,ie,Qt,R,Jt,oe,f],props:{isMobilePreview:{type:Boolean,default(){return!1}}},data(){return{titleCount:0,descriptionCount:0,strings:{tabName:this.$t.__("Facebook Preview",this.$td),imageSource:this.$t.__("Image Source",this.$td),customFieldsName:this.$t.__("Custom Field Name",this.$td),video:this.$t.__("Video URL",this.$td),width:this.$t.__("Width",this.$td),height:this.$t.__("Height",this.$td),facebookObjectType:this.$t.__("Object Type",this.$td),facebookImage:this.$t.__("Facebook Image",this.$td),facebookTitle:this.$t.__("Facebook Title",this.$td),facebookDescription:this.$t.__("Facebook Description",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),minimumSize:this.$t.__("Minimum size: 200px x 200px, ideal ratio 1.91:1, 5MB max. (eg: 1640px x 856px or 3280px x 1712px for retina screens). JPG, PNG, WEBP and GIF formats only.",this.$td),remove:this.$t.__("Remove",this.$td),clickToAddSiteName:this.$t.__("Click on the tags below to insert variables into your site name.",this.$td),clickToAddHomePageDescription:this.$t.__("Click on the tags below to insert variables into your meta description.",this.$td),articleSection:this.$t.__("Article Section",this.$td),articleTags:this.$t.__("Article Tags",this.$td),tagPlaceholder:this.$t.__("Press enter to create an article tag",this.$td),facebookDisabled:this.$t.sprintf(this.$t.__("No %1$s markup will be output for your post because it is currently disabled. You can enable %1$s markup in the Social Networks settings. %2$s",this.$td),this.$t.__("Open Graph",this.$td),this.$t.sprintf('<a href="%1$s" target="_blank">%2$s<span class="link-right-arrow"> →</span></a>',this.$aioseo.urls.aio.socialNetworks+"#facebook",this.$t.__("Go to Social Networks",this.$td)))}}},computed:{...a("live-tags",["liveTags"]),...a(["currentPost","metaBoxTabs","options","dynamicOptions"]),objectTypeOptions(){return[{groupLabel:this.$t.__("Default",this.$td),options:[{label:this.$t.__("Default Object Type (Set in Social Networks)",this.$td),value:"default"}]}].concat(this.$constants.OG_TYPE_OPTIONS)},shouldShowArticleSection(){const t=this.currentPost.context==="term"?"taxonomies":"postTypes";return this.currentPost.og_object_type==="article"||this.currentPost.og_object_type==="default"&&this.dynamicOptions.social.facebook.general[t][this.currentPost.postType||this.currentPost.termType].objectType==="article"},permalink(){const t=this.liveTags.permalink;return t.substr(t.indexOf("://")+3)}},methods:{...d(["savePostState"]),scrollToElement(){const t=document.getElementsByClassName("component-wrapper")[0];setTimeout(()=>{t&&(t.firstChild.scrollTop=0)},10)},saveImageType(t){this.$set(this.currentPost,"og_image_type",t),this.$store.commit("isDirty",!0)},getObjectTypeOptions(t){let s=null;return this.objectTypeOptions.forEach(e=>{const n=e.options.find(r=>r.value===t);n&&(s=n)}),s},setObjectType(t){this.$set(this.currentPost,"og_object_type",t),this.$store.commit("isDirty",!0)},updateImage(t){this.currentPost.og_image_custom_url=t,this.savePostState()}},watch:{"currentPost.og_image_type"(){this.setImageUrl()},"currentPost.og_image_custom_url"(){this.setImageUrl()}},mounted(){this.scrollToElement()}},lt={};var Fr=i(Or,Er,Dr,!1,Kr,null,null,null);function Kr(t){for(let s in lt)this[s]=lt[s]}const Br=function(){return Fr.exports}();var Hr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"tab-twitter"},[e("core-settings-row",{attrs:{noBorder:"",noVerticalMargin:""},scopedSlots:t._u([{key:"content",fn:function(){return[t.options.social.twitter.general.enable?t._e():e("core-alert",{staticClass:"twitter-disabled-warning",attrs:{type:"red"},domProps:{innerHTML:t._s(t.strings.twitterDisabled)}})]},proxy:!0}])}),e("core-settings-row",{attrs:{name:t.strings.twitterPreview},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-twitter-preview",{class:{ismobilecard:t.currentPost.socialMobilePreview},attrs:{image:t.imageUrl,loading:t.loading,card:t.currentPost.twitter_card},scopedSlots:t._u([{key:"site-title",fn:function(){return[e("span",[t._v(t._s(t.previewTitle))])]},proxy:!0},{key:"site-description",fn:function(){return[e("span",[t._v(t._s(t.previewDescription))])]},proxy:!0}])})]},proxy:!0}])}),e("core-settings-row",{staticClass:"use-facebook",attrs:{name:t.strings.useFB},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-toggle",{on:{input:t.setIsDirty},model:{value:t.currentPost.twitter_use_og,callback:function(n){t.$set(t.currentPost,"twitter_use_og",n)},expression:"currentPost.twitter_use_og"}})]},proxy:!0}])}),t.currentPost.twitter_use_og?t._e():e("core-settings-row",{staticClass:"twitter-title-settings",attrs:{name:t.strings.twitterTitle,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-html-tags-editor",{staticClass:"twitter-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":`${t.currentPost.postType||t.currentPost.termType}Title`,"default-tags":t.$tags.getDefaultTags(t.currentPost.context==="term"?"taxonomies":null,null,"title")},on:{counter:function(n){return t.updateCount(n,"titleCount")},input:t.setIsDirty},model:{value:t.currentPost.twitter_title,callback:function(n){t.$set(t.currentPost,"twitter_title",n)},expression:"currentPost.twitter_title"}}),e("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.titleCount,70))}})]},proxy:!0}],null,!1,4187010693)}),t.currentPost.twitter_use_og?t._e():e("core-settings-row",{staticClass:"twitter-description-settings",attrs:{name:t.strings.twitterDescription,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("core-html-tags-editor",{staticClass:"twitter-meta-input",attrs:{"line-numbers":!1,description:"","tags-context":`${t.currentPost.postType||t.currentPost.termType}Description`,"default-tags":t.$tags.getDefaultTags(t.currentPost.context==="term"?"taxonomies":null,null,"description")},on:{counter:function(n){return t.updateCount(n,"descriptionCount")},input:t.setIsDirty},scopedSlots:t._u([{key:"tags-description",fn:function(){return[t._v(" "+t._s(t.strings.clickToAddHomePageDescription)+" ")]},proxy:!0}],null,!1,3376949532),model:{value:t.currentPost.twitter_description,callback:function(n){t.$set(t.currentPost,"twitter_description",n)},expression:"currentPost.twitter_description"}}),e("div",{staticClass:"max-recommended-count",domProps:{innerHTML:t._s(t.maxRecommendedCount(t.descriptionCount,200))}})]},proxy:!0}],null,!1,577802586)}),t.currentPost.twitter_use_og?t._e():e("core-settings-row",{staticClass:"twitter-image-source",attrs:{name:t.strings.imageSource,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{size:"medium",options:t.imageSourceOptionsFiltered,value:t.getImageSourceOptionFiltered(t.currentPost.twitter_image_type)},on:{input:function(n){return t.saveTwitterImageType(n.value)}}})]},proxy:!0}],null,!1,45254494)}),!t.currentPost.twitter_use_og&&t.currentPost.twitter_image_type==="custom"?e("core-settings-row",{staticClass:"twitter-custom-field",attrs:{name:t.strings.customFieldsName,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-input",{attrs:{type:"text",size:"medium",placeholder:t.strings.placeholder},on:{input:t.setIsDirty},model:{value:t.currentPost.twitter_image_custom_fields,callback:function(n){t.$set(t.currentPost,"twitter_image_custom_fields",n)},expression:"currentPost.twitter_image_custom_fields"}})]},proxy:!0}],null,!1,2513842721)}):t._e(),!t.currentPost.twitter_use_og&&t.currentPost.twitter_image_type==="custom_image"?e("core-settings-row",{staticClass:"twitter-image",attrs:{name:t.strings.twitterImage},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"twitter-image-upload"},[e("base-input",{attrs:{size:"medium",placeholder:t.strings.pasteYourImageUrl},on:{input:t.setIsDirty},model:{value:t.currentPost.twitter_image_custom_url,callback:function(n){t.$set(t.currentPost,"twitter_image_custom_url",n)},expression:"currentPost.twitter_image_custom_url"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(n){return t.openUploadModal("twitterImage",t.updateImage)}}},[e("svg-circle-plus"),t._v(" "+t._s(t.strings.uploadOrSelectImage)+" ")],1),e("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(n){t.currentPost.twitter_image_custom_url=null}}},[t._v(" "+t._s(t.strings.remove)+" ")])],1),e("div",{staticClass:"aioseo-description"},[t.currentPost.twitter_card==="summary"||t.currentPost.twitter_card==="default"&&t.options.social.twitter.general.defaultCardType==="summary"?e("span",[t._v(t._s(t.strings.minimumSizeSummary))]):t._e(),t.currentPost.twitter_card==="summary_large_image"||t.currentPost.twitter_card==="default"&&t.options.social.twitter.general.defaultCardType==="summary_large_image"?e("span",[t._v(t._s(t.strings.minimumSizeSummaryWithLarge))]):t._e()]),e("base-img",{attrs:{src:t.currentPost.twitter_image_custom_url}})]},proxy:!0}],null,!1,887651572)}):t._e(),e("core-settings-row",{staticClass:"twitter-card-type",attrs:{name:t.strings.twitterCardType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{attrs:{size:"medium","open-direction":"top",options:t.twitterCards,value:t.getCardOptions(t.currentPost.twitter_card)},on:{input:function(n){return t.cardSelect(n.value)}}})]},proxy:!0}])})],1)},Nr=[];const Gr={components:{BaseImg:ae,CoreAlert:g,CoreHtmlTagsEditor:E,CoreSettingsRow:p,CoreTwitterPreview:ds,SvgCirclePlus:P},mixins:[re,ie,R,Jt,oe,f],props:{isMobilePreview:{type:Boolean,default(){return!1}}},data(){return{titleCount:0,descriptionCount:0,strings:{twitterPreview:this.$t.__("Twitter Preview",this.$td),useFB:this.$t.__("Use Data from Facebook Tab",this.$td),imageSource:this.$t.__("Image Source",this.$td),customFieldsName:this.$t.__("Custom Field Name",this.$td),twitterImage:this.$t.__("Twitter Image",this.$td),twitterTitle:this.$t.__("Twitter Title",this.$td),twitterDescription:this.$t.__("Twitter Description",this.$td),twitterCardType:this.$t.__("Twitter Card Type",this.$td),pasteYourImageUrl:this.$t.__("Paste your image URL or select a new image",this.$td),uploadOrSelectImage:this.$t.__("Upload or Select Image",this.$td),remove:this.$t.__("Remove",this.$td),minimumSizeSummary:this.$t.__("Minimum size: 144px x 144px, ideal ratio 1:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",this.$td),minimumSizeSummaryWithLarge:this.$t.__("Minimum size: 300px x 157px, ideal ratio 2:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",this.$td),twitterDisabled:this.$t.sprintf(this.$t.__("No %1$s markup will be output for your post because it is currently disabled. You can enable %1$s markup in the Social Networks settings. %2$s",this.$td),this.$t.__("Twitter",this.$td),this.$t.sprintf('<a href="%1$s" target="_blank">%2$s<span class="link-right-arrow"> →</span></a>',this.$aioseo.urls.aio.socialNetworks+"#twitter",this.$t.__("Go to Social Networks",this.$td)))}}},computed:{...a(["currentPost","metaBoxTabs","options"]),twitterCards(){return[{label:this.$t.__("Default (Set under Social Networks)",this.$td),value:"default"},{label:this.$t.__("Summary",this.$td),value:"summary"},{label:this.$t.__("Summary with Large Image",this.$td),value:"summary_large_image"}]},previewTitle(){const t=this.currentPost.twitter_use_og?this.currentPost.og_title:this.currentPost.twitter_title;return this.truncate(this.parseTags(t||this.currentPost.title||this.currentPost.tags.title||"#post_title #separator_sa #site_title"),100)},previewDescription(){const t=this.currentPost.twitter_use_og?this.currentPost.og_description:this.currentPost.twitter_description;return this.truncate(this.parseTags(t||this.currentPost.description||this.currentPost.tags.description||"#post_content"))}},methods:{...d(["savePostState"]),getCardOptions(t){return this.twitterCards.find(s=>s.value===t)},cardSelect(t){this.$set(this.currentPost,"twitter_card",t),this.$store.commit("isDirty",!0)},scrollToElement(){const t=document.getElementsByClassName("component-wrapper")[0];setTimeout(()=>{t&&(t.firstChild.scrollTop=0)},10)},saveTwitterImageType(t){this.$set(this.currentPost,"twitter_image_type",t),this.$store.commit("isDirty",!0)},updateImage(t){this.currentPost.twitter_image_custom_url=t,this.savePostState()}},watch:{"currentPost.twitter_image_type"(){this.setImageUrl()},"currentPost.twitter_image_custom_url"(){this.setImageUrl()}},mounted(){this.scrollToElement()}},ct={};var Ur=i(Gr,Hr,Nr,!1,jr,null,null,null);function jr(t){for(let s in ct)this[s]=ct[s]}const Vr=function(){return Ur.exports}();var qr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.$root._data.screenContext==="sidebar"?e("core-settings-row",{staticClass:"snippet-description-row open-social-copy",attrs:{name:t.strings.metaDescription},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"aioseo-sidebar-content-title"},[t._v(t._s(t.strings.title))]),e("p",[t._v(t._s(t.strings.sidebarCopy))]),e("base-button",{staticClass:"open-social-modal gray small",on:{click:t.openModalEv}},[e("svg-pencil"),t._v(" "+t._s(t.strings.editSnippet)+" ")],1)]},proxy:!0}],null,!1,610604356)}):t._e()},zr=[];const Wr={components:{CoreSettingsRow:p,SvgPencil:x},data(){return{strings:{title:this.$t.__("Social Media",this.$td),sidebarCopy:this.$t.__("Here you can view and edit the thumbnail, title and description that will be displayed when your site is shared on social media. Click on the button below to view and edit the preview.",this.$td),editSnippet:this.$t.__("Preview & Edit",this.$td)}}},methods:{...d(["openModal"]),...h(["changeTabSettings"]),openModalEv(){this.changeTabSettings({setting:"modal",value:"social"}),this.openModal(!0)}}},ut={};var Yr=i(Wr,qr,zr,!1,Zr,null,null,null);function Zr(t){for(let s in ut)this[s]=ut[s]}const Jr=function(){return Yr.exports}();var Qr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-post-social"},[e("core-settings-row",{staticClass:"mobile-radio-buttons",scopedSlots:t._u([{key:"content",fn:function(){return[e("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.initTab,internal:""},on:{changed:function(n){return t.processChangeTab(n)}}}),t.$root._data.screenContext==="metabox"||t.parentComponentContext==="modal"?e("base-radio-toggle",{staticClass:"circle",attrs:{value:t.currentPost.socialMobilePreview,name:"previewSocialIsMobile",options:[{label:"desktop",value:!1,activeClass:"dark",slot:"desktop"},{label:"mobile",value:!0,slot:"mobile"}]},on:{input:t.isMobilePreviewEv},scopedSlots:t._u([{key:"desktop",fn:function(){return[e("svg-desktop")]},proxy:!0},{key:"mobile",fn:function(){return[e("svg-mobile")]},proxy:!0}],null,!1,3417581673)}):t._e()]},proxy:!0}])}),e("transition",{attrs:{name:"route-fade",mode:"out-in"}},[e(t.initTab,{tag:"component"})],1),this.parentComponentContext!=="modal"?e("social-side-bar"):t._e()],1)},Xr=[];const ti={components:{BaseRadioToggle:te,CoreMainTabs:y,CoreSettingsRow:p,Facebook:Br,Twitter:Vr,SocialSideBar:Jr,SvgDesktop:ue,SvgMobile:de},props:{parentComponentContext:String},data(){return{strings:{pageName:this.$t.__("Social",this.$td)},tabs:[{slug:"facebook",name:this.$t.__("Facebook",this.$td)},{slug:"twitter",name:this.$t.__("Twitter",this.$td)}]}},computed:{...a(["currentPost","metaBoxTabs","options"]),initTab:function(){return k()["social-tab"]?k()["social-tab"]:this.parentComponentContext==="modal"?this.metaBoxTabs.socialModal:this.metaBoxTabs.social}},methods:{...d(["changeSocialPreview"]),...h(["changeTabSettings"]),isMobilePreviewEv(t){this.changeSocialPreview(t)},processChangeTab(t){this.parentComponentContext==="modal"?this.changeTabSettings({setting:"socialModal",value:t}):this.changeTabSettings({setting:"social",value:t})}}},dt={};var ei=i(ti,Qr,Xr,!1,si,null,null,null);function si(t){for(let s in dt)this[s]=dt[s]}const me=function(){return ei.exports}();var ni=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-settings",attrs:{viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M12.0016 7.49992C12.0016 7.72659 11.9816 7.93992 11.9549 8.15325L13.3616 9.25325C13.4883 9.35325 13.5216 9.53325 13.4416 9.67992L12.1083 11.9866C12.0483 12.0933 11.9349 12.1533 11.8216 12.1533C11.7816 12.1533 11.7416 12.1466 11.7016 12.1333L10.0416 11.4666C9.69494 11.7266 9.3216 11.9533 8.91494 12.1199L8.6616 13.8866C8.6416 14.0466 8.5016 14.1666 8.33494 14.1666H5.66827C5.5016 14.1666 5.3616 14.0466 5.3416 13.8866L5.08827 12.1199C4.6816 11.9533 4.30827 11.7333 3.9616 11.4666L2.3016 12.1333C2.26827 12.1466 2.22827 12.1533 2.18827 12.1533C2.06827 12.1533 1.95494 12.0933 1.89494 11.9866L0.561602 9.67992C0.481602 9.53325 0.514935 9.35325 0.641602 9.25325L2.04827 8.15325C2.0216 7.93992 2.0016 7.71992 2.0016 7.49992C2.0016 7.27992 2.0216 7.05992 2.04827 6.84659L0.641602 5.74659C0.514935 5.64659 0.474935 5.46659 0.561602 5.31992L1.89494 3.01325C1.95494 2.90659 2.06827 2.84659 2.1816 2.84659C2.2216 2.84659 2.2616 2.85325 2.3016 2.86659L3.9616 3.53325C4.30827 3.27325 4.6816 3.04659 5.08827 2.87992L5.3416 1.11325C5.3616 0.953252 5.5016 0.833252 5.66827 0.833252H8.33494C8.5016 0.833252 8.6416 0.953252 8.6616 1.11325L8.91494 2.87992C9.3216 3.04659 9.69494 3.26659 10.0416 3.53325L11.7016 2.86659C11.7349 2.85325 11.7749 2.84659 11.8149 2.84659C11.9349 2.84659 12.0483 2.90659 12.1083 3.01325L13.4416 5.31992C13.5216 5.46659 13.4883 5.64659 13.3616 5.74659L11.9549 6.84659C11.9816 7.05992 12.0016 7.27325 12.0016 7.49992ZM10.6683 7.49992C10.6683 7.35992 10.6616 7.21992 10.635 7.01325L10.5416 6.25992L11.135 5.79325L11.8483 5.22659L11.3816 4.41992L10.535 4.75992L9.82831 5.04659L9.22164 4.57992C8.95497 4.37992 8.68831 4.22659 8.40164 4.10659L7.69497 3.81992L7.58831 3.06659L7.46164 2.16659H6.53497L6.40164 3.06659L6.29497 3.81992L5.58831 4.10659C5.31497 4.21992 5.04164 4.37992 4.75497 4.59325L4.15497 5.04659L3.46164 4.76659L2.61497 4.42659L2.14831 5.23325L2.86831 5.79325L3.46164 6.25992L3.36831 7.01325C3.34831 7.21325 3.33497 7.36658 3.33497 7.49992C3.33497 7.63325 3.34831 7.78658 3.36831 7.99325L3.46164 8.74658L2.86831 9.21325L2.14831 9.77325L2.61497 10.5799L3.46164 10.2399L4.16831 9.95325L4.77497 10.4199C5.04164 10.6199 5.30831 10.7733 5.59497 10.8933L6.30164 11.1799L6.40831 11.9333L6.53497 12.8333H7.46831L7.60164 11.9333L7.70831 11.1799L8.41497 10.8933C8.68831 10.7799 8.96164 10.6199 9.24831 10.4066L9.84831 9.95325L10.5416 10.2333L11.3883 10.5733L11.855 9.76658L11.135 9.20658L10.5416 8.73992L10.635 7.98658C10.655 7.78658 10.6683 7.63992 10.6683 7.49992ZM7.00155 4.83325C5.52821 4.83325 4.33488 6.02659 4.33488 7.49992C4.33488 8.97325 5.52821 10.1666 7.00155 10.1666C8.47488 10.1666 9.66821 8.97325 9.66821 7.49992C9.66821 6.02659 8.47488 4.83325 7.00155 4.83325ZM5.66821 7.49992C5.66821 8.23325 6.26821 8.83325 7.00155 8.83325C7.73488 8.83325 8.33488 8.23325 8.33488 7.49992C8.33488 6.76658 7.73488 6.16658 7.00155 6.16658C6.26821 6.16658 5.66821 6.76658 5.66821 7.49992Z",fill:"currentColor"}})])},ri=[];const ii={},pt={};var oi=i(ii,ni,ri,!1,ai,null,null,null);function ai(t){for(let s in pt)this[s]=pt[s]}const ge=function(){return oi.exports}();var li=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-modal-content"},[e("core-settings-row",{staticClass:"mobile-radio-buttons",scopedSlots:t._u([{key:"content",fn:function(){return[e("core-main-tabs",{attrs:{tabs:t.getTabs,showSaveButton:!1,active:t.metaBoxTabs.modal,internal:""},on:{changed:function(n){return t.processChangeTab(n)}}})]},proxy:!0}])}),e("div",{staticClass:"component-wrapper"},[e("transition",{attrs:{name:"route-fade",mode:"out-in"}},[e(this.activeTab,{tag:"component",attrs:{parentComponentContext:"modal"}})],1)],1)],1)},ci=[];const ui={components:{CoreMainTabs:y,CoreSettingsRow:p,General:_e,Social:me,SvgSettings:ge,SvgShare:le},data(){return{activeTab:"general",strings:{pageName:this.$t.__("Modal Content",this.$td)},tabs:[{slug:"general",icon:"svg-settings",name:"General"},{slug:"social",icon:"svg-share",name:"Social"}]}},computed:{...a(["metaBoxTabs"]),getTabs(){return this.tabs.filter(t=>this.$allowed(`aioseo_page_${t.slug}_settings`))}},methods:{...h(["changeTabSettings"]),processChangeTab(t){this.activeTab=t,this.changeTabSettings({setting:"modal",value:t})}}},_t={};var di=i(ui,li,ci,!1,pi,null,null,null);function pi(t){for(let s in _t)this[s]=_t[s]}const _i=function(){return di.exports}();var hi=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-redirects-sidebar"},[t.$root._data.screenContext==="sidebar"?e("core-settings-row",{staticClass:"snippet-description-row open-redirects-copy",scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"aioseo-sidebar-content-title"},[t._v(t._s(t.strings.title))]),e("p",[t._v(t._s(t.strings.description))]),e("base-button",{staticClass:"open-redirects-modal gray small",on:{click:t.toggleRedirectsModal}},[e("svg-right-arrow-short"),t._v(" "+t._s(t.strings.button)+" ")],1)]},proxy:!0}],null,!1,2798976986)}):t._e()],1)},mi=[];const gi={components:{CoreSettingsRow:p,SvgRightArrowShort:he},data(){return{strings:{title:this.$t.__("Redirects",this.$td),description:this.$t.__("Here you can add a redirect or view your existing redirects from this page. Click on the button below to view the Redirects panel.",this.$td),button:this.$t.__("Open Redirects",this.$td)}}},methods:{...h(["toggleRedirectsModal"])}},ht={};var vi=i(gi,hi,mi,!1,fi,"11818a4c",null,null);function fi(t){for(let s in ht)this[s]=ht[s]}const $i=function(){return vi.exports}();var yi=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t.$root._data.screenContext==="metabox"?e("RedirectsLite",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}}):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal-portal",{attrs:{classes:["aioseo-redirects-modal"]},on:{close:t.toggleRedirectsModal}},[e("div",{attrs:{slot:"headerTitle"},slot:"headerTitle"},[t._v(" "+t._s(t.strings.modalHeader)+" ")]),e("div",{attrs:{slot:"body"},slot:"body"},[e("div",{staticClass:"bd"},[e("RedirectsLite",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1)])]):t._e(),this.parentComponentContext!=="modal"?e("redirects-side-bar"):t._e()],1)},bi=[];const ki={components:{CoreModalPortal:C,RedirectsSideBar:$i,RedirectsLite:_s},props:{parentComponentContext:String},data(){return{strings:{modalHeader:this.$t.__("Redirects",this.$tdPro)}}},computed:{...a(["currentPost"])},methods:{...h(["toggleRedirectsModal"])}},mt={};var Ci=i(ki,yi,bi,!1,Pi,null,null,null);function Pi(t){for(let s in mt)this[s]=mt[s]}const gt=function(){return Ci.exports}();var xi=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Si=[];const wi={},vt={};var Ti=i(wi,xi,Si,!1,Li,null,null,null);function Li(t){for(let s in vt)this[s]=vt[s]}const Ai=function(){return Ti.exports}();var Mi=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content"},[!t.isUnlicensed&&t.$addons.isActive("aioseo-redirects")&&!t.$addons.requiresUpgrade("aioseo-redirects")?e("Redirects",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e(),t.isUnlicensed||t.$addons.requiresUpgrade("aioseo-redirects")?e("RedirectsLite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e(),!t.isUnlicensed&&!t.$addons.isActive("aioseo-redirects")&&t.$addons.canActivate("aioseo-redirects")&&!t.$addons.requiresUpgrade("aioseo-redirects")?e("RedirectsActivate",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},Ii=[];const Ri={props:{parentComponentContext:String},components:{Redirects:gt,RedirectsActivate:Ai,RedirectsLite:gt},computed:{...m(["isUnlicensed"])}},ft={};var Ei=i(Ri,Mi,Ii,!1,Di,null,null,null);function Di(t){for(let s in ft)this[s]=ft[s]}const Oi=function(){return Ei.exports}();var Fi=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Ki=[];const Bi={},$t={};var Hi=i(Bi,Fi,Ki,!1,Ni,null,null,null);function Ni(t){for(let s in $t)this[s]=$t[s]}const Gi=function(){return Hi.exports}();var Ui=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},ji=[];const Vi={},yt={};var qi=i(Vi,Ui,ji,!1,zi,null,null,null);function zi(t){for(let s in yt)this[s]=yt[s]}const Wi=function(){return qi.exports}();var Yi=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Zi=[];const Ji={},bt={};var Qi=i(Ji,Yi,Zi,!1,Xi,null,null,null);function Xi(t){for(let s in bt)this[s]=bt[s]}const to=function(){return Qi.exports}();var eo=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},so=[];const no={},kt={};var ro=i(no,eo,so,!1,io,null,null,null);function io(t){for(let s in kt)this[s]=kt[s]}const oo=function(){return ro.exports}();var ao=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},lo=[];const co={},Ct={};var uo=i(co,ao,lo,!1,po,null,null,null);function po(t){for(let s in Ct)this[s]=Ct[s]}const _o=function(){return uo.exports}();var ho=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},mo=[];const go={},Pt={};var vo=i(go,ho,mo,!1,fo,null,null,null);function fo(t){for(let s in Pt)this[s]=Pt[s]}const $o=function(){return vo.exports}();var yo=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},bo=[];const ko={},xt={};var Co=i(ko,yo,bo,!1,Po,null,null,null);function Po(t){for(let s in xt)this[s]=xt[s]}const xo=function(){return Co.exports}();var So=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},wo=[];const To={},St={};var Lo=i(To,So,wo,!1,Ao,null,null,null);function Ao(t){for(let s in St)this[s]=St[s]}const Mo=function(){return Lo.exports}();var Io=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Ro=[];const Eo={},wt={};var Do=i(Eo,Io,Ro,!1,Oo,null,null,null);function Oo(t){for(let s in wt)this[s]=wt[s]}const Fo=function(){return Do.exports}();var Ko=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Bo=[];const Ho={},Tt={};var No=i(Ho,Ko,Bo,!1,Go,null,null,null);function Go(t){for(let s in Tt)this[s]=Tt[s]}const Uo=function(){return No.exports}();var jo=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Vo=[];const qo={},Lt={};var zo=i(qo,jo,Vo,!1,Wo,null,null,null);function Wo(t){for(let s in Lt)this[s]=Lt[s]}const Yo=function(){return zo.exports}();var Zo=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Jo=[];const Qo={},At={};var Xo=i(Qo,Zo,Jo,!1,ta,null,null,null);function ta(t){for(let s in At)this[s]=At[s]}const ea=function(){return Xo.exports}();var sa=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},na=[];const ra={},Mt={};var ia=i(ra,sa,na,!1,oa,null,null,null);function oa(t){for(let s in Mt)this[s]=Mt[s]}const aa=function(){return ia.exports}();var la=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},ca=[];const ua={},It={};var da=i(ua,la,ca,!1,pa,null,null,null);function pa(t){for(let s in It)this[s]=It[s]}const _a=function(){return da.exports}();var ha=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},ma=[];const ga={},Rt={};var va=i(ga,ha,ma,!1,fa,null,null,null);function fa(t){for(let s in Rt)this[s]=Rt[s]}const $a=function(){return va.exports}();var ya=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},ba=[];const ka={},Et={};var Ca=i(ka,ya,ba,!1,Pa,null,null,null);function Pa(t){for(let s in Et)this[s]=Et[s]}const xa=function(){return Ca.exports}();var Sa=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},wa=[];const Ta={},Dt={};var La=i(Ta,Sa,wa,!1,Aa,null,null,null);function Aa(t){for(let s in Dt)this[s]=Dt[s]}const Ma=function(){return La.exports}();var Ia=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div")},Ra=[];const Ea={},Ot={};var Da=i(Ea,Ia,Ra,!1,Oa,null,null,null);function Oa(t){for(let s in Ot)this[s]=Ot[s]}const Fa=function(){return Da.exports}();var Ka=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-trash",attrs:{viewBox:"0 0 11 12",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M8.0013 4V10.6667H2.66797V4H8.0013ZM7.0013 0H3.66797L3.0013 0.666667H0.667969V2H10.0013V0.666667H7.66797L7.0013 0ZM9.33463 2.66667H1.33464V10.6667C1.33464 11.4 1.93464 12 2.66797 12H8.0013C8.73464 12 9.33463 11.4 9.33463 10.6667V2.66667Z",fill:"currentColor"}})])},Ba=[];const Ha={},Ft={};var Na=i(Ha,Ka,Ba,!1,Ga,null,null,null);function Ga(t){for(let s in Ft)this[s]=Ft[s]}const Ua=function(){return Na.exports}();var ja=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-web-page",attrs:{viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M3.6666 10.3H8.24994V9.3H3.6666V10.3ZM3.6666 7.5H10.3499V6.5H3.6666V7.5ZM3.6666 4.68333H10.3499V3.68333H3.6666V4.68333ZM2.08327 13.2333C1.72771 13.2333 1.41938 13.1028 1.15827 12.8417C0.897157 12.5806 0.766602 12.2722 0.766602 11.9167V2.08333C0.766602 1.71667 0.897157 1.40278 1.15827 1.14167C1.41938 0.880556 1.72771 0.75 2.08327 0.75H11.9166C12.2833 0.75 12.5972 0.880556 12.8583 1.14167C13.1194 1.40278 13.2499 1.71667 13.2499 2.08333V11.9167C13.2499 12.2722 13.1194 12.5806 12.8583 12.8417C12.5972 13.1028 12.2833 13.2333 11.9166 13.2333H2.08327ZM2.08327 11.9167H11.9166V2.08333H2.08327V11.9167ZM2.08327 2.08333V11.9167V2.08333Z",fill:"currentColor"}})])},Va=[];const qa={},Kt={};var za=i(qa,ja,Va,!1,Wa,null,null,null);function Wa(t){for(let s in Kt)this[s]=Kt[s]}const Ya=function(){return za.exports}(),ve={components:{Article:Gi,Book:Wi,Course:to,Dataset:oo,Event:_o,FAQPage:$o,FactCheck:xo,HowTo:Mo,JobPosting:Fo,Movie:Uo,Music:Yo,Person:ea,Product:aa,Recipe:_a,Service:$a,SoftwareApplication:xa,Video:Ma,WebPage:Fa,SvgArticle:Pe,SvgBook:xe,SvgCircleQuestionMark:M,SvgCustomSchema:Se,SvgCopy:we,SvgCourse:Te,SvgDataset:Le,SvgEvent:Ae,SvgFaqPage:Me,SvgFactCheck:Ie,SvgFile:Re,SvgFileEdit:Ee,SvgGoogleSmall:De,SvgHowTo:Oe,SvgJobPosting:Fe,SvgMovie:Ke,SvgMusic:Be,SvgPencil:x,SvgPerson:He,SvgProduct:Ne,SvgRecipe:Ge,SvgService:Ue,SvgSoftwareApplication:je,SvgTerminal:Ve,SvgTrash:Ua,SvgVideo:qe,SvgWebPage:Ya},data(){return{graphs:[{slug:"article",graphName:"Article",label:this.$t.__("Article",this.$td)},{slug:"book",graphName:"Book",label:this.$t.__("Book",this.$td)},{slug:"course",graphName:"Course",label:this.$t.__("Course",this.$td)},{slug:"dataset",graphName:"Dataset",label:this.$t.__("Dataset",this.$td)},{slug:"event",graphName:"Event",label:this.$t.__("Event",this.$td)},{slug:"faq-page",graphName:"FAQPage",label:this.$t.__("FAQ",this.$td)},{slug:"fact-check",graphName:"FactCheck",label:this.$t.__("Fact Check",this.$td)},{slug:"how-to",graphName:"HowTo",label:this.$t.__("How To",this.$td)},{slug:"job-posting",graphName:"JobPosting",label:this.$t.__("Job Posting",this.$td)},{slug:"movie",graphName:"Movie",label:this.$t.__("Movie",this.$td)},{slug:"music",graphName:"Music",label:this.$t.__("Music",this.$td)},{slug:"person",graphName:"Person",label:this.$t.__("Person",this.$td)},{slug:"product",graphName:"Product",label:this.$t.__("Product",this.$td)},{slug:"recipe",graphName:"Recipe",label:this.$t.__("Recipe",this.$td)},{slug:"service",graphName:"Service",label:this.$t.__("Service",this.$td)},{slug:"software-application",graphName:"SoftwareApplication",label:this.$t.__("Software",this.$td)},{slug:"video",graphName:"Video",label:this.$t.__("Video",this.$td)},{slug:"web-page",graphName:"WebPage",label:this.$t.__("Web Page",this.$td)}],childGraphs:{Article:[{childGraphName:"BlogPosting",label:this.$t.__("Blog Post",this.$td)},{childGraphName:"NewsArticle",label:this.$t.__("News Article",this.$td)}],Music:[{childGraphName:"MusicAlbum",label:this.$t.__("Music Album",this.$td)},{childGraphName:"MusicGroup",label:this.$t.__("Music Group",this.$td)}],WebPage:[{childGraphName:"WebPage",label:this.$t.__("Web Page",this.$td)},{childGraphName:"AboutPage",label:this.$t.__("About Page",this.$td)},{childGraphName:"CheckoutPage",label:this.$t.__("Checkout Page",this.$td)},{childGraphName:"CollectionPage",label:this.$t.__("Collection Page",this.$td)},{childGraphName:"ContactPage",label:this.$t.__("Contact Page",this.$td)},{childGraphName:"ItemPage",label:this.$t.__("Item Page",this.$td)},{childGraphName:"MedicalPage",label:this.$t.__("Medical Page",this.$td)},{childGraphName:"ProfilePage",label:this.$t.__("Profile Page",this.$td)},{childGraphName:"RealEstateListing",label:this.$t.__("Real Estate Listing",this.$td)},{childGraphName:"SearchResultsPage",label:this.$t.__("Search Results Page",this.$td)}]}}},methods:{getParentGraphName(t){let s="";return Object.entries(this.childGraphs).forEach(e=>{const n=e[0];e[1].forEach(r=>{s||t===r.childGraphName&&(s=n)})}),s||t}}};var Za=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"graph-container"},[e("div",{staticClass:"graph"},[e("div",{staticClass:"left"},[e(t.graphIcon,{tag:"component"}),e("span",{attrs:{title:t.graphLabel}},[t._v(t._s(t.graphLabel))])],1),e("div",{staticClass:"right action-buttons"},[t._t("buttons")],2)])])},Ja=[];const Qa={mixins:[ve],props:{graph:Object,customGraph:Boolean,defaultGraph:String},computed:{graphLabel(){if(this.customGraph)return this.$t.__("Custom Schema",this.$tdPro)+" - "+this.graph.graphName;if(this.defaultGraph)return this.formatDefaultGraphName(this.defaultGraph);if(this.graph.label)return this.graph.label;const t=this.graph.slug.toLowerCase();return this.graphs.find(s=>s.slug===t).label},graphIcon(){if(this.customGraph)return"svg-custom-schema";if(this.defaultGraph){const t=this.getParentGraphSlug(this.defaultGraph);return t?"svg-"+t:"svg-custom-schema"}return"svg-"+this.graph.slug}},methods:{getParentGraphSlug(t){Object.entries(this.childGraphs).forEach(e=>{const n=e[0];e[1].forEach(r=>{t===r.childGraphName&&(t=n)})});let s="";return this.graphs.forEach(e=>{e.graphName===t&&(s=e.slug)}),s},formatDefaultGraphName(t){let s="",e=t;return Object.entries(this.childGraphs).forEach(n=>{const r=n[0];n[1].forEach(o=>{s||t===o.childGraphName&&(s=r,e=o.label,this.graphs.forEach(l=>{l.graphName===r&&(s=l.label)}))})}),s?s+" - "+e+" "+this.$t.__("(Default)",this.$td):t+" "+this.$t.__("(Default)",this.$td)}}},Bt={};var Xa=i(Qa,Za,Ja,!1,tl,null,null,null);function tl(t){for(let s in Bt)this[s]=Bt[s]}const fe=function(){return Xa.exports}();var el=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("core-modal-portal",{attrs:{classes:["aioseo-post-schema-modal-cta"]},on:{close:function(n){return t.$emit("close")}},scopedSlots:t._u([{key:"headerTitle",fn:function(){return[e("div",{staticClass:"title"},[t._v(t._s(t.strings.schemaGenerator))]),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.strings.headerTooltip)}})]},proxy:!0}])},[e("svg-circle-question-mark")],1)]},proxy:!0},{key:"body",fn:function(){return[e("core-blur",[e("core-main-tabs",{attrs:{tabs:t.tabs,active:"schema-templates",showSaveButton:!1},scopedSlots:t._u([{key:"md-tab-icon",fn:function(n){var r=n.tab;return[e(r.icon,{tag:"component"})]}}])}),e("div",{staticClass:"schema-templates"},[e("core-main-tabs",{attrs:{tabs:t.templatesTabs,active:"schema-catalog",showSaveButton:!1},scopedSlots:t._u([{key:"md-tab-icon",fn:function(n){var r=n.tab;return[e(r.icon,{tag:"component"})]}}])}),e("div",{staticClass:"main"},[e("base-input",{staticClass:"search",attrs:{size:"medium",prependIcon:"search",placeholder:t.strings.searchSchema}}),e("div",{staticClass:"schema-catalog"},[e("div",{staticClass:"graphs"},t._l(t.graphs,function(n,r){return e("graph-card",{key:n.graphName+r,attrs:{graph:n},scopedSlots:t._u([{key:"buttons",fn:function(){return[e("base-button",{staticClass:"small",attrs:{type:"gray"}},[e("svg-circle-plus")],1)]},proxy:!0}],null,!0)})}),1)])],1)],1)],1),e("cta",{attrs:{"cta-link":t.$links.getPricingUrl("schema-generator","schema-generator-upsell"),"button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getUpsellUrl("schema-generator",null,"home"),"feature-list":t.features},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0}])})]},proxy:!0}])})},sl=[];const nl={mixins:[ve],components:{CoreBlur:ee,CoreMainTabs:y,CoreModalPortal:C,CoreTooltip:v,Cta:se,GraphCard:fe,SvgCirclePlus:P},data(){return{strings:{schemaGenerator:this.$t.__("Schema Generator",this.$td),headerTooltip:this.$t.sprintf(this.$t.__("Use our powerful Schema Generator to configure Schema Markup for your content. Search Engines use structured data to better understand what your site is about as well as to display rich snippets in search results. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"schema",!0)),searchSchema:this.$t.__("Search Schema",this.$tdPro),ctaDescription:this.$t.__("Easily generate unlimited schema markup for your content to help you rank higher in search results. Our schema validator ensures your schema works out of the box.",this.$tdPro),ctaButtonText:this.$t.__("Upgrade to Pro and Unlock Schema Generator",this.$td),ctaHeader:this.$t.sprintf(this.$t.__("Schema Generator is only available for licensed %1$s %2$s users.",this.$td),"AIOSEO","Pro")},features:[this.$t.__("Unlimited Schema",this.$td),this.$t.__("Validate with Google",this.$td),this.$t.__("Increase Rankings",this.$td),this.$t.__("Additional Schema Types",this.$td)],tabs:[{slug:"schema-templates",icon:"svg-file",name:this.$t.__("Schema Templates",this.$td),component:"templates"},{slug:"custom-schema",icon:"svg-file-edit",name:this.$t.__("Custom Schema",this.$td),component:"custom"},{slug:"schema-validation",icon:"svg-terminal",name:this.$t.__("Schema Validation",this.$td),component:"validation"}],templatesTabs:[{slug:"schema-catalog",name:this.$t.__("Schema Catalog",this.$td)},{slug:"your-templates",name:this.$t.__("Your Templates",this.$td)}]}}},Ht={};var rl=i(nl,el,sl,!1,il,null,null,null);function il(t){for(let s in Ht)this[s]=Ht[s]}const ol=function(){return rl.exports}();var al=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-post-schema",class:[{sidebar:t.isSidebar}]},[e("core-settings-row",{attrs:{name:t.strings.schemaInUse},scopedSlots:t._u([{key:"content",fn:function(){return[e("div",{staticClass:"graphs"},[t.isSidebar?e("div",{staticClass:"sidebar-description"},[e("p",{staticClass:"description"},[t._v(t._s(t.strings.sidebarDescription))]),e("p",{staticClass:"description",domProps:{innerHTML:t._s(t.$links.getDocLink(t.$constants.GLOBAL_STRINGS.learnMore,"schema",!0))}})]):t._e(),t.currentPost.schema.defaultGraph&&t.currentPost.schema.defaultGraph!=="none"?e("graph-card",{attrs:{defaultGraph:t.currentPost.schema.defaultGraph},scopedSlots:t._u([{key:"buttons",fn:function(){return[e("core-tooltip",{attrs:{offset:t.isSidebar?"-70px,0":"0,0"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.strings.defaultGraphTooltip)}})]},proxy:!0}],null,!1,2088100193)},[e("base-button",{staticClass:"small no-hover",attrs:{type:"gray"}},[e("svg-eye")],1)],1)]},proxy:!0}],null,!1,1435612472)}):t._e()],1),e("div",{staticClass:"buttons"},[!t.currentPost.schema.defaultGraph||t.currentPost.schema.defaultGraph==="none"?e("core-alert",{staticClass:"no-graphs",attrs:{type:"yellow"}},[t._v(" "+t._s(t.strings.noGraphs)+" ")]):t._e(),e("base-button",{staticClass:"medium",attrs:{type:"blue"},on:{click:function(n){t.modalOpenMetabox=!0,t.modalOpenSidebar=!0}}},[t._v(" "+t._s(t.strings.generateSchema)+" ")]),e("base-button",{staticClass:"medium",attrs:{type:"gray"},on:{click:function(n){t.modalOpenMetabox=!0,t.modalOpenSidebar=!0}}},[t._v(" "+t._s(t.strings.validateSchema)+" ")])],1),!t.isSidebar&&t.modalOpenMetabox?e("cta-modal",{on:{close:function(n){t.modalOpenMetabox=!1}}}):t._e(),t.isSidebar&&t.modalOpenSidebar?e("cta-modal",{on:{close:function(n){t.modalOpenSidebar=!1}}}):t._e()]},proxy:!0}])})],1)},ll=[];const cl={components:{CoreAlert:g,CoreSettingsRow:p,CoreTooltip:v,CtaModal:ol,GraphCard:fe,SvgEye:hs},props:{parentComponentContext:String},data(){return{modalOpenMetabox:!1,modalOpenSidebar:!1,strings:{sidebarDescription:this.$t.__("Configure Schema Markup for your content. Search engines use structured data to display rich results in SERPs.",this.$td),noGraphs:this.$t.__("You have not added any schema yet. You can add any schema graphs you like via the Schema Generator below.",this.$td),schemaInUse:this.$t.__("Schema In Use",this.$td),generateSchema:this.$t.__("Generate Schema",this.$td),validateSchema:this.$t.__("Validate Schema",this.$td),defaultGraphTooltip:this.$t.__("This is the default graph for this post type. All data for this graph will be automatically generated.",this.$td)}}},computed:{...a(["currentPost","schema"]),isSidebar(){return this.$root._data.screenContext==="sidebar"}}},Nt={};var ul=i(cl,al,ll,!1,dl,null,null,null);function dl(t){for(let s in Nt)this[s]=Nt[s]}const Gt=function(){return ul.exports}();var pl=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-post-schema-view"},[t.isUnlicensed?t._e():e("schema",{attrs:{parentComponentContext:t.parentComponentContext}}),t.isUnlicensed?e("schema-lite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},_l=[];const hl={props:{parentComponentContext:String},components:{Schema:Gt,SchemaLite:Gt},computed:{...m(["isUnlicensed"])}},Ut={};var ml=i(hl,pl,_l,!1,gl,null,null,null);function gl(t){for(let s in Ut)this[s]=Ut[s]}const vl=function(){return ml.exports}();var fl=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-circle-information-solid",attrs:{viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M7.00016 0.833334C3.32016 0.833334 0.333496 3.82 0.333496 7.5C0.333496 11.18 3.32016 14.1667 7.00016 14.1667C10.6802 14.1667 13.6668 11.18 13.6668 7.5C13.6668 3.82 10.6802 0.833334 7.00016 0.833334ZM7.66683 10.8333H6.3335V9.5H7.66683V10.8333ZM7.66683 8.16667H6.3335V4.16667H7.66683V8.16667Z",fill:"currentColor"}})])},$l=[];const yl={},jt={};var bl=i(yl,fl,$l,!1,kl,null,null,null);function kl(t){for(let s in jt)this[s]=jt[s]}const Cl=function(){return bl.exports}();var Pl=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-receipt",attrs:{viewBox:"0 0 12 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M11 1.83325L10 0.833252L9 1.83325L8 0.833252L7 1.83325L6 0.833252L5 1.83325L4 0.833252L3 1.83325L2 0.833252L1 1.83325L0 0.833252V14.1666L1 13.1666L2 14.1666L3 13.1666L4 14.1666L5 13.1666L6 14.1666L7 13.1666L8 14.1666L9 13.1666L10 14.1666L11 13.1666L12 14.1666V0.833252L11 1.83325ZM1.33333 12.2266V2.77328H10.6667V12.2266H1.33333ZM10 10.8333V9.49992H2V10.8333H10ZM10 6.83325V8.16659H2V6.83325H10ZM10 5.49992V4.16658H2V5.49992H10Z",fill:"currentColor"}})])},xl=[];const Sl={},Vt={};var wl=i(Sl,Pl,xl,!1,Tl,null,null,null);function Tl(t){for(let s in Vt)this[s]=Vt[s]}const Ll=function(){return wl.exports}();var Al=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("svg",{staticClass:"aioseo-crossed-arrows",attrs:{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.26625 4.7737L1.73375 0.249954L0.5 1.4837L5.02375 6.00745L6.26625 4.7737ZM9.6875 0.249954L11.4725 2.03495L0.5 13.0162L1.73375 14.25L12.715 3.27745L14.5 5.06245V0.249954H9.6875ZM8.74251 9.71747L9.97626 8.48372L12.715 11.2225L14.5 9.43746V14.25H9.68751L11.4813 12.4562L8.74251 9.71747Z",fill:"currentColor"}})])},Ml=[];const Il={},qt={};var Rl=i(Il,Al,Ml,!1,El,null,null,null);function El(t){for(let s in qt)this[s]=qt[s]}const Dl=function(){return Rl.exports}();var Ol=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-app aioseo-post-settings"},[t.$root._data.screenContext!=="sidebar"?e("core-main-tabs",{attrs:{tabs:t.getTabs,showSaveButton:!1,active:t.activeTab,internal:"",disableMobile:""},on:{changed:function(n){return t.processChangeTab(n)}},scopedSlots:t._u([{key:"md-tab-icon",fn:function(n){var r=n.tab;return[e(r.icon,{tag:"component",class:[{warning:r.data.warning}]})]}}],null,!1,1941963731)}):t._e(),e("transition",{attrs:{name:"route-fade",mode:"out-in"}},[t.$root._data.screenContext==="sidebar"&&t.activeTab===null?e("div",{staticClass:"aioseo-sidepanel"},t._l(t.getTabs,function(n,r){return e("a",{key:r,staticClass:"aioseo-sidepanel-button",attrs:{href:"#"},on:{click:function(o){return o.preventDefault(),t.processChangeTab(n.slug)}}},[e(n.icon,{tag:"component",staticClass:"icon"}),e("div",{staticClass:"name"},[t._v(t._s(n.name))]),n.warning?e("svg-circle-information-solid",{attrs:{width:"15",height:"15"}}):t._e(),e("svg-caret")],1)}),0):t._e()]),e("transition",{attrs:{name:"route-fade",mode:"out-in"}},[t.activeTab?e("div",{key:t.activeTab,staticClass:"aioseo-tab",class:{"is-page-builder":!!t.$aioseo.integration}},[t.$root._data.screenContext==="sidebar"?e("div",{staticClass:"aioseo-tab-title"},[e("span",[t._v(t._s(t.getTabName(t.activeTab)))]),e("svg-close",{on:{click:function(n){return t.processChangeTab(null)}}})],1):t._e(),this.$root._data.screenContext==="sidebar"?e("alert"):t._e(),e(t.activeTab,{tag:"component",attrs:{parentComponentContext:"metabox"},on:{changeTab:function(n){return t.processChangeTab(n)}}})],1):t._e()]),t.currentPost.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal-portal",{attrs:{classes:["aioseo-post-settings-modal"]},on:{close:t.closeModal}},[e("div",{attrs:{slot:"headerTitle"},slot:"headerTitle"},[t._v(" "+t._s(t.strings.modalTitle)+" ")]),e("div",{attrs:{slot:"body"},slot:"body"},[e("modal-content")],1)]):t._e()],1)},Fl=[];const Kl={components:{Advanced:Ss,Alert:ce,CoreMainTabs:y,CoreModalPortal:C,General:_e,LinkAssistant:Rr,ModalContent:_i,Redirects:Oi,Schema:vl,Social:me,SvgBuild:ps,SvgCaret:L,SvgCircleInformationSolid:Cl,SvgClose:Zt,SvgLinkSuggestion:D,SvgReceipt:Ll,SvgRedirectCrossedArrows:Dl,SvgSettings:ge,SvgShare:le},data(){return{activeTab:"general",modal:!1,strings:{pageName:"General",modalTitle:this.$t.__("Preview Snippet Editor",this.$td)},sidebarFirstOpen:!1}},watch:{currentPost:{deep:!0,handler(){ze(this.savePostState,250)}},"currentPost.modalOpen"(t){this.activeTab!=="general"&&this.maybeResetActiveTab(t)},"currentPost.linkAssistant.modalOpen"(t){this.maybeResetActiveTab(t)},"currentPost.redirects.modalOpen"(t){this.maybeResetActiveTab(t)}},computed:{...a(["currentPost","redirects"]),tabs(){var s,e;const t=[{slug:"general",icon:"svg-settings",name:"General"},{slug:"social",icon:"svg-share",name:"Social"},{slug:"schema",icon:"svg-receipt",name:"Schema"},{slug:"redirects",icon:"svg-redirect-crossed-arrows",nam
|
|