Version Description
This update adds major improvements and bugfixes.
Download this release
Release Info
Developer | cristianrossi |
Plugin | All in One SEO Pack |
Version | 4.2.0 |
Comparing to | |
See all releases |
Code changes from version 4.1.10 to 4.2.0
- all_in_one_seo_pack.php +1 -1
- app/AIOSEO.php +19 -2
- app/Common/Admin/Admin.php +31 -222
- app/Common/Admin/Dashboard.php +101 -57
- app/Common/Admin/Notices/Notices.php +3 -0
- app/Common/Admin/PostSettings.php +153 -43
- app/Common/Api/Analyze.php +1 -1
- app/Common/ImportExport/RankMath/GeneralSettings.php +14 -0
- app/Common/ImportExport/YoastSeo/SearchAppearance.php +12 -0
- app/Common/Main/Filters.php +2 -2
- app/Common/Main/Main.php +1 -16
- app/Common/Main/Updates.php +22 -0
- app/Common/Meta/Helpers.php +1 -4
- app/Common/Migration/GeneralSettings.php +1 -6
- app/Common/Options/InternalOptions.php +1 -1
- app/Common/Options/Options.php +4 -3
- app/Common/Sitemap/Content.php +38 -4
- app/Common/Sitemap/Image.php +1 -21
- app/Common/Sitemap/Query.php +40 -1
- app/Common/Social/Image.php +1 -1
- app/Common/Social/Social.php +74 -17
- app/Common/Standalone/DetailsColumn.php +209 -0
- app/Common/Standalone/FlyoutMenu.php +91 -0
- app/Common/{HeadlineAnalyzer → Standalone}/HeadlineAnalyzer.php +5 -1
- app/Common/{Admin → Standalone}/LimitModifiedDate.php +1 -1
- app/Common/Standalone/Notifications.php +42 -0
- app/Common/{Admin/Integrations/Integration.php → Standalone/PageBuilders/Base.php} +3 -3
- app/Common/{Admin/Integrations → Standalone/PageBuilders}/Divi.php +2 -2
- app/Common/{Admin/Integrations → Standalone/PageBuilders}/Elementor.php +2 -2
- app/Common/{Admin/Integrations → Standalone/PageBuilders}/SeedProd.php +2 -2
- app/Common/Standalone/PublishPanel.php +44 -0
- app/Common/{Admin → Standalone}/SetupWizard.php +31 -2
- app/Common/Standalone/Standalone.php +33 -0
- app/Common/Traits/Assets.php +11 -5
- app/Common/Traits/Helpers/Shortcodes.php +68 -53
- app/Common/Traits/Helpers/ThirdParty.php +50 -0
- app/Common/Traits/Helpers/Vue.php +25 -1
- app/Common/Traits/Helpers/Wp.php +1 -1
- app/Common/Traits/Helpers/WpContext.php +21 -13
- app/Common/Traits/Helpers/WpUri.php +7 -2
- app/Common/Utils/Assets.php +2 -2
- app/Common/Utils/VueSettings.php +2 -0
- dist/Lite/assets/about.d0f28ff0.js +1 -0
- dist/Lite/assets/about.f9dc73ed.js +0 -1
- dist/Lite/assets/{connect-pro.3482f8f2.js → connect-pro.ac443566.js} +1 -1
- dist/Lite/assets/connect.1c695e2c.js +1 -0
- dist/Lite/assets/connect.53c8c5c6.js +0 -1
- dist/Lite/assets/css/Advanced.311f50db.css +1 -0
- dist/Lite/assets/css/Advanced.d50d6d55.css +0 -1
- dist/Lite/assets/css/{App.64b88139.css → App.0168e3ed.css} +1 -1
- dist/Lite/assets/css/DonutChartWithLegend.52621063.css +1 -0
- dist/Lite/assets/css/Overview.1aa1aa7a.css +1 -0
- dist/Lite/assets/css/Overview.74c8be87.css +1 -0
- dist/Lite/assets/css/Overview.9196a13b.css +0 -1
- dist/Lite/assets/css/TitleDescription.66c1d902.css +0 -1
- dist/Lite/assets/css/TitleDescription.685d5e65.css +1 -0
- dist/Lite/assets/dashboard-widgets.1fa202ae.js +1 -0
- dist/Lite/assets/dashboard.221c4644.js +0 -1
- dist/Lite/assets/dashboard.9841d195.js +1 -0
- dist/Lite/assets/{divi-admin.62e71046.js → divi-admin.48e0fa48.js} +1 -1
- dist/Lite/assets/divi.d12d6e9a.js +0 -1
- dist/Lite/assets/divi.ebdf7df9.js +1 -0
- dist/Lite/assets/{elementor.c1b51f6a.js → elementor.0dc18eac.js} +1 -1
- dist/Lite/assets/{feature-manager.eafa3fa4.js → feature-manager.4c35d412.js} +1 -1
- dist/Lite/assets/{flyout-menu.ecef29f8.js → flyout-menu.8ee80267.js} +1 -1
- dist/Lite/assets/js/{AboutUs.839bd17c.js → AboutUs.e6e58a9a.js} +1 -1
- dist/Lite/assets/js/{AccessControl.9ccf3d87.js → AccessControl.0214d28d.js} +1 -1
- dist/Lite/assets/js/{AdditionalInformation.9b9bc0c6.js → AdditionalInformation.6f8e6463.js} +1 -1
- dist/Lite/assets/js/Advanced.46e11f7b.js +0 -1
- dist/Lite/assets/js/Advanced.9969ad84.js +1 -0
- dist/Lite/assets/js/Advanced.a7e31b8e.js +1 -0
- dist/Lite/assets/js/Advanced.dbdc4628.js +0 -1
- dist/Lite/assets/js/{AnalyzeCompetitorSite.8b77b9eb.js → AnalyzeCompetitorSite.f3f28920.js} +1 -1
- dist/Lite/assets/js/{App.cedbc415.js → App.6591515e.js} +1 -1
- dist/Lite/assets/js/{Archives.ec49ff3f.js → Archives.c52f04aa.js} +1 -1
- dist/Lite/assets/js/{BadBotBlocker.a6c5f496.js → BadBotBlocker.df8b0d35.js} +1 -1
- dist/Lite/assets/js/{Breadcrumbs.15970cf5.js → Breadcrumbs.32ab0824.js} +1 -1
- dist/Lite/assets/js/{Card.86b7d3cc.js → Card.5e3c0ad5.js} +1 -1
- dist/Lite/assets/js/Category.06b3c5e2.js +0 -1
- dist/Lite/assets/js/Category.93b6abce.js +1 -0
- dist/Lite/assets/js/{ContentTypes.aa6fdf69.js → ContentTypes.3ff99877.js} +1 -1
- dist/Lite/assets/js/DatabaseTools.3ec55aa1.js +0 -1
- dist/Lite/assets/js/DatabaseTools.9b49e639.js +1 -0
- dist/Lite/assets/js/{Debug.2221e3ea.js → Debug.68b0d402.js} +1 -1
- dist/Lite/assets/js/DonutChartWithLegend.fe87aad2.js +1 -0
- dist/Lite/assets/js/{Editor.b716a1f9.js → Editor.2fd4385f.js} +1 -1
- dist/Lite/assets/js/{ExcludePosts.5da80c61.js → ExcludePosts.b6a2264b.js} +1 -1
- dist/Lite/assets/js/{Facebook.f0c5c238.js → Facebook.79647ff1.js} +1 -1
- dist/Lite/assets/js/{FacebookPreview.acf3b29f.js → FacebookPreview.b8f332ab.js} +1 -1
- dist/Lite/assets/js/{FeatureManager.cee34e9a.js → FeatureManager.e07f79e7.js} +0 -1
all_in_one_seo_pack.php
CHANGED
@@ -5,7 +5,7 @@
|
|
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 80 million downloads since 2007.
|
6 |
* Author: All in One SEO Team
|
7 |
* Author URI: https://aioseo.com/
|
8 |
-
* Version: 4.
|
9 |
* Text Domain: all-in-one-seo-pack
|
10 |
* Domain Path: /languages
|
11 |
*
|
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 80 million downloads since 2007.
|
6 |
* Author: All in One SEO Team
|
7 |
* Author URI: https://aioseo.com/
|
8 |
+
* Version: 4.2.0
|
9 |
* Text Domain: all-in-one-seo-pack
|
10 |
* Domain Path: /languages
|
11 |
*
|
app/AIOSEO.php
CHANGED
@@ -272,6 +272,9 @@ namespace AIOSEO\Plugin {
|
|
272 |
$version = strtolower( getenv( 'VITE_VERSION' ) );
|
273 |
if ( ! empty( $version ) ) {
|
274 |
$this->isDev = true;
|
|
|
|
|
|
|
275 |
}
|
276 |
|
277 |
if ( $proDir && 'pro' === $version ) {
|
@@ -337,6 +340,18 @@ namespace AIOSEO\Plugin {
|
|
337 |
$this->optionsCache = $this->core->optionsCache;
|
338 |
}
|
339 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
/**
|
341 |
* Load our classes.
|
342 |
*
|
@@ -366,7 +381,6 @@ namespace AIOSEO\Plugin {
|
|
366 |
$this->addons = $this->pro ? new Pro\Utils\Addons() : new Common\Utils\Addons();
|
367 |
$this->tags = $this->pro ? new Pro\Utils\Tags() : new Common\Utils\Tags();
|
368 |
$this->badBotBlocker = new Common\Tools\BadBotBlocker();
|
369 |
-
$this->headlineAnalyzer = new Common\HeadlineAnalyzer\HeadlineAnalyzer();
|
370 |
$this->breadcrumbs = $this->pro ? new Pro\Breadcrumbs\Breadcrumbs() : new Common\Breadcrumbs\Breadcrumbs();
|
371 |
$this->dynamicBackup = $this->pro ? new Pro\Options\DynamicBackup() : new Common\Options\DynamicBackup();
|
372 |
$this->options = $this->pro ? new Pro\Options\Options() : new Lite\Options\Options();
|
@@ -387,13 +401,14 @@ namespace AIOSEO\Plugin {
|
|
387 |
$this->admin = $this->pro ? new Pro\Admin\Admin() : new Lite\Admin\Admin();
|
388 |
$this->activate = $this->pro ? new Pro\Main\Activate() : new Common\Main\Activate();
|
389 |
$this->conflictingPlugins = $this->pro ? new Pro\Admin\ConflictingPlugins() : new Common\Admin\ConflictingPlugins();
|
390 |
-
$this->limitModifiedDate = new Common\Admin\LimitModifiedDate();
|
391 |
$this->migration = $this->pro ? new Pro\Migration\Migration() : new Common\Migration\Migration();
|
392 |
$this->importExport = $this->pro ? new Pro\ImportExport\ImportExport() : new Common\ImportExport\ImportExport();
|
393 |
$this->sitemap = $this->pro ? new Pro\Sitemap\Sitemap() : new Common\Sitemap\Sitemap();
|
394 |
$this->htmlSitemap = new Common\Sitemap\Html\Sitemap();
|
395 |
$this->templates = new Common\Utils\Templates();
|
|
|
396 |
$this->postSettings = $this->pro ? new Pro\Admin\PostSettings() : new Lite\Admin\PostSettings();
|
|
|
397 |
|
398 |
if ( ! wp_doing_ajax() && ! wp_doing_cron() ) {
|
399 |
$this->rss = new Common\Rss();
|
@@ -407,6 +422,8 @@ namespace AIOSEO\Plugin {
|
|
407 |
$this->help = new Common\Help\Help();
|
408 |
}
|
409 |
|
|
|
|
|
410 |
if ( wp_doing_ajax() || wp_doing_cron() ) {
|
411 |
return;
|
412 |
}
|
272 |
$version = strtolower( getenv( 'VITE_VERSION' ) );
|
273 |
if ( ! empty( $version ) ) {
|
274 |
$this->isDev = true;
|
275 |
+
|
276 |
+
// Fix SSL certificate invalid in our local environments.
|
277 |
+
add_filter( 'https_ssl_verify', '__return_false' );
|
278 |
}
|
279 |
|
280 |
if ( $proDir && 'pro' === $version ) {
|
340 |
$this->optionsCache = $this->core->optionsCache;
|
341 |
}
|
342 |
|
343 |
+
/**
|
344 |
+
* To prevent errors and bugs from popping up,
|
345 |
+
* we will run this backwards compatibility method.
|
346 |
+
*
|
347 |
+
* @since 4.2.0
|
348 |
+
*
|
349 |
+
* @return void
|
350 |
+
*/
|
351 |
+
private function backwardsCompatibilityLoad() {
|
352 |
+
$this->postSettings->integrations = $this->standalone->pageBuilderIntegrations;
|
353 |
+
}
|
354 |
+
|
355 |
/**
|
356 |
* Load our classes.
|
357 |
*
|
381 |
$this->addons = $this->pro ? new Pro\Utils\Addons() : new Common\Utils\Addons();
|
382 |
$this->tags = $this->pro ? new Pro\Utils\Tags() : new Common\Utils\Tags();
|
383 |
$this->badBotBlocker = new Common\Tools\BadBotBlocker();
|
|
|
384 |
$this->breadcrumbs = $this->pro ? new Pro\Breadcrumbs\Breadcrumbs() : new Common\Breadcrumbs\Breadcrumbs();
|
385 |
$this->dynamicBackup = $this->pro ? new Pro\Options\DynamicBackup() : new Common\Options\DynamicBackup();
|
386 |
$this->options = $this->pro ? new Pro\Options\Options() : new Lite\Options\Options();
|
401 |
$this->admin = $this->pro ? new Pro\Admin\Admin() : new Lite\Admin\Admin();
|
402 |
$this->activate = $this->pro ? new Pro\Main\Activate() : new Common\Main\Activate();
|
403 |
$this->conflictingPlugins = $this->pro ? new Pro\Admin\ConflictingPlugins() : new Common\Admin\ConflictingPlugins();
|
|
|
404 |
$this->migration = $this->pro ? new Pro\Migration\Migration() : new Common\Migration\Migration();
|
405 |
$this->importExport = $this->pro ? new Pro\ImportExport\ImportExport() : new Common\ImportExport\ImportExport();
|
406 |
$this->sitemap = $this->pro ? new Pro\Sitemap\Sitemap() : new Common\Sitemap\Sitemap();
|
407 |
$this->htmlSitemap = new Common\Sitemap\Html\Sitemap();
|
408 |
$this->templates = new Common\Utils\Templates();
|
409 |
+
$this->categoryBase = $this->pro ? new Pro\Main\CategoryBase() : null;
|
410 |
$this->postSettings = $this->pro ? new Pro\Admin\PostSettings() : new Lite\Admin\PostSettings();
|
411 |
+
$this->standalone = new Common\Standalone\Standalone;
|
412 |
|
413 |
if ( ! wp_doing_ajax() && ! wp_doing_cron() ) {
|
414 |
$this->rss = new Common\Rss();
|
422 |
$this->help = new Common\Help\Help();
|
423 |
}
|
424 |
|
425 |
+
$this->backwardsCompatibilityLoad();
|
426 |
+
|
427 |
if ( wp_doing_ajax() || wp_doing_cron() ) {
|
428 |
return;
|
429 |
}
|
app/Common/Admin/Admin.php
CHANGED
@@ -68,10 +68,8 @@ class Admin {
|
|
68 |
* @var array
|
69 |
*/
|
70 |
protected $assetSlugs = [
|
71 |
-
'
|
72 |
-
'
|
73 |
-
'flyout-menu' => 'src/vue/standalone/flyout-menu/main.js',
|
74 |
-
'pages' => 'src/vue/pages/{page}/main.js'
|
75 |
];
|
76 |
|
77 |
/**
|
@@ -89,10 +87,6 @@ class Admin {
|
|
89 |
add_filter( 'language_attributes', [ $this, 'alwaysAddHtmlDirAttribute' ], 3000 );
|
90 |
|
91 |
add_action( 'sanitize_comment_cookies', [ $this, 'init' ], 20 );
|
92 |
-
|
93 |
-
add_filter( 'admin_body_class', [ $this, 'bodyClass' ] );
|
94 |
-
|
95 |
-
$this->setupWizard = new SetupWizard();
|
96 |
}
|
97 |
|
98 |
/**
|
@@ -132,9 +126,6 @@ class Admin {
|
|
132 |
add_action( 'network_admin_menu', [ $this, 'addRobotsMenu' ] );
|
133 |
}
|
134 |
|
135 |
-
// Add the columns to page/posts.
|
136 |
-
add_action( 'current_screen', [ $this, 'addPostColumns' ], 1 );
|
137 |
-
|
138 |
// Add Score to Publish metabox.
|
139 |
add_action( 'post_submitbox_misc_actions', [ $this, 'addPublishScore' ] );
|
140 |
|
@@ -764,22 +755,11 @@ class Admin {
|
|
764 |
aioseo()->templates->getTemplate( 'admin/settings-page.php' );
|
765 |
echo '</div>';
|
766 |
|
767 |
-
if (
|
768 |
echo '<div id="aioseo-flyout-menu"></div>';
|
769 |
}
|
770 |
}
|
771 |
|
772 |
-
/**
|
773 |
-
* Returns if the Flyout menu is enabled or not.
|
774 |
-
*
|
775 |
-
* @since 4.1.5
|
776 |
-
*
|
777 |
-
* @return bool Whether or not the Flyout menu is enabled.
|
778 |
-
*/
|
779 |
-
public function isFlyoutMenuEnabled() {
|
780 |
-
return apply_filters( 'aioseo_flyout_menu_enable', true );
|
781 |
-
}
|
782 |
-
|
783 |
/**
|
784 |
* Hooks for loading our pages.
|
785 |
*
|
@@ -891,6 +871,32 @@ class Admin {
|
|
891 |
}
|
892 |
}
|
893 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
894 |
/**
|
895 |
* Enqueue admin assets for the current page.
|
896 |
*
|
@@ -901,10 +907,6 @@ class Admin {
|
|
901 |
public function enqueueAssets() {
|
902 |
$page = str_replace( '{page}', $this->currentPage, $this->assetSlugs['pages'] );
|
903 |
aioseo()->core->assets->load( $page, [], aioseo()->helpers->getVueData( $this->currentPage ) );
|
904 |
-
|
905 |
-
if ( $this->isFlyoutMenuEnabled() ) {
|
906 |
-
aioseo()->core->assets->load( $this->assetSlugs['flyout-menu'] );
|
907 |
-
}
|
908 |
}
|
909 |
|
910 |
/**
|
@@ -939,181 +941,6 @@ class Admin {
|
|
939 |
);
|
940 |
}
|
941 |
|
942 |
-
/**
|
943 |
-
* Check to get if the screen should be shown.
|
944 |
-
*
|
945 |
-
* @since 4.0.0
|
946 |
-
*
|
947 |
-
* @return bool
|
948 |
-
*/
|
949 |
-
public function isAllowedScreen( $screen, $postType ) {
|
950 |
-
if ( 'type' === $postType ) {
|
951 |
-
$postType = '_aioseo_type';
|
952 |
-
}
|
953 |
-
if ( 'edit' === $screen || 'upload' === $screen ) {
|
954 |
-
if ( aioseo()->options->advanced->postTypes->all && in_array( $postType, aioseo()->helpers->getPublicPostTypes( true ), true ) ) {
|
955 |
-
return true;
|
956 |
-
}
|
957 |
-
|
958 |
-
$postTypes = aioseo()->options->advanced->postTypes->included;
|
959 |
-
if ( in_array( $postType, $postTypes, true ) ) {
|
960 |
-
return true;
|
961 |
-
}
|
962 |
-
}
|
963 |
-
|
964 |
-
return false;
|
965 |
-
}
|
966 |
-
|
967 |
-
/**
|
968 |
-
* Adds the columns to the page/post types.
|
969 |
-
*
|
970 |
-
* @since 4.0.0
|
971 |
-
*
|
972 |
-
* @return void
|
973 |
-
*/
|
974 |
-
public function addPostColumns() {
|
975 |
-
$screen = get_current_screen();
|
976 |
-
if ( $this->isAllowedScreen( $screen->base, $screen->post_type ) ) {
|
977 |
-
add_action( 'admin_enqueue_scripts', [ $this, 'enqueuePostsScripts' ] );
|
978 |
-
|
979 |
-
if ( 'product' === $screen->post_type ) {
|
980 |
-
add_filter( 'manage_edit-product_columns', [ $this, 'postColumns' ] );
|
981 |
-
add_action( 'manage_posts_custom_column', [ $this, 'renderColumn' ], 10, 2 );
|
982 |
-
} elseif ( 'attachment' === $screen->post_type ) {
|
983 |
-
$enabled = apply_filters( 'aioseo_image_seo_media_columns', true );
|
984 |
-
|
985 |
-
if ( ! $enabled ) {
|
986 |
-
return;
|
987 |
-
}
|
988 |
-
|
989 |
-
add_filter( 'manage_media_columns', [ $this, 'postColumns' ] );
|
990 |
-
add_action( 'manage_media_custom_column', [ $this, 'renderColumn' ], 10, 2 );
|
991 |
-
} else {
|
992 |
-
add_filter( "manage_edit-{$screen->post_type}_columns", [ $this, 'postColumns' ] );
|
993 |
-
add_action( "manage_{$screen->post_type}_posts_custom_column", [ $this, 'renderColumn' ], 10, 2 );
|
994 |
-
}
|
995 |
-
}
|
996 |
-
}
|
997 |
-
|
998 |
-
/**
|
999 |
-
* Enqueues the JS/CSS for the page/posts table page.
|
1000 |
-
*
|
1001 |
-
* @since 4.0.0
|
1002 |
-
*
|
1003 |
-
* @return void
|
1004 |
-
*/
|
1005 |
-
public function enqueuePostsScripts() {
|
1006 |
-
$data = aioseo()->helpers->getVueData();
|
1007 |
-
$data['posts'] = [];
|
1008 |
-
$data['terms'] = [];
|
1009 |
-
|
1010 |
-
aioseo()->core->assets->load( $this->assetSlugs['posts-table'], [], $data );
|
1011 |
-
}
|
1012 |
-
|
1013 |
-
/**
|
1014 |
-
* Adds columns to the page/post tables in the admin.
|
1015 |
-
*
|
1016 |
-
* @since 4.0.0
|
1017 |
-
*
|
1018 |
-
* @param array $columns The columns we are adding ours onto.
|
1019 |
-
* @return array The modified columns.
|
1020 |
-
*/
|
1021 |
-
public function postColumns( $columns ) {
|
1022 |
-
$canManageSeo = apply_filters( 'aioseo_manage_seo', 'aioseo_manage_seo' );
|
1023 |
-
if (
|
1024 |
-
! current_user_can( $canManageSeo ) &&
|
1025 |
-
(
|
1026 |
-
! current_user_can( 'aioseo_page_general_settings' ) &&
|
1027 |
-
! current_user_can( 'aioseo_page_analysis' )
|
1028 |
-
)
|
1029 |
-
) {
|
1030 |
-
return $columns;
|
1031 |
-
}
|
1032 |
-
|
1033 |
-
// Translators: 1 - The short plugin name ("AIOSEO").
|
1034 |
-
$columns['aioseo-details'] = sprintf( esc_html__( '%1$s Details', 'all-in-one-seo-pack' ), AIOSEO_PLUGIN_SHORT_NAME );
|
1035 |
-
|
1036 |
-
return $columns;
|
1037 |
-
}
|
1038 |
-
|
1039 |
-
/**
|
1040 |
-
* Renders the column in the page/post table.
|
1041 |
-
*
|
1042 |
-
* @since 4.0.0
|
1043 |
-
*
|
1044 |
-
* @param string $columnName The column name.
|
1045 |
-
* @param int $postId The current rows, post id.
|
1046 |
-
* @return void
|
1047 |
-
*/
|
1048 |
-
public function renderColumn( $columnName, $postId ) {
|
1049 |
-
if ( ! current_user_can( 'edit_post', $postId ) && ! current_user_can( 'aioseo_manage_seo' ) ) {
|
1050 |
-
return;
|
1051 |
-
}
|
1052 |
-
|
1053 |
-
if ( 'aioseo-details' === $columnName ) {
|
1054 |
-
// Add this column/post to the localized array.
|
1055 |
-
global $wp_scripts;
|
1056 |
-
|
1057 |
-
$data = $wp_scripts->get_data( 'aioseo/js/' . $this->assetSlugs['posts-table'], 'data' );
|
1058 |
-
|
1059 |
-
if ( ! is_array( $data ) ) {
|
1060 |
-
$data = json_decode( str_replace( 'var aioseo = ', '', substr( $data, 0, -1 ) ), true );
|
1061 |
-
}
|
1062 |
-
|
1063 |
-
$nonce = wp_create_nonce( "aioseo_meta_{$columnName}_{$postId}" );
|
1064 |
-
$posts = $data['posts'];
|
1065 |
-
$thePost = Models\Post::getPost( $postId );
|
1066 |
-
$postType = get_post_type( $postId );
|
1067 |
-
$postData = [
|
1068 |
-
'id' => $postId,
|
1069 |
-
'columnName' => $columnName,
|
1070 |
-
'nonce' => $nonce,
|
1071 |
-
'title' => $thePost->title,
|
1072 |
-
'titleParsed' => aioseo()->meta->title->getPostTitle( $postId ),
|
1073 |
-
'defaultTitle' => aioseo()->meta->title->getPostTypeTitle( $postType ),
|
1074 |
-
'description' => $thePost->description,
|
1075 |
-
'descriptionParsed' => aioseo()->meta->description->getPostDescription( $postId ),
|
1076 |
-
'defaultDescription' => aioseo()->meta->description->getPostTypeDescription( $postType ),
|
1077 |
-
'value' => (int) $thePost->seo_score,
|
1078 |
-
'showMedia' => false,
|
1079 |
-
'isSpecialPage' => aioseo()->helpers->isSpecialPage( $postId ),
|
1080 |
-
'postType' => $postType
|
1081 |
-
];
|
1082 |
-
|
1083 |
-
foreach ( aioseo()->addons->getLoadedAddons() as $loadedAddon ) {
|
1084 |
-
if ( isset( $loadedAddon->admin ) && method_exists( $loadedAddon->admin, 'renderColumnData' ) ) {
|
1085 |
-
$postData = array_merge( $postData, $loadedAddon->admin->renderColumnData( $columnName, $postId, $postData ) );
|
1086 |
-
}
|
1087 |
-
}
|
1088 |
-
|
1089 |
-
$posts[] = $postData;
|
1090 |
-
$data['posts'] = $posts;
|
1091 |
-
|
1092 |
-
$wp_scripts->add_data( 'aioseo/js/' . $this->assetSlugs['posts-table'], 'data', '' );
|
1093 |
-
wp_localize_script( 'aioseo/js/' . $this->assetSlugs['posts-table'], 'aioseo', $data );
|
1094 |
-
|
1095 |
-
require( AIOSEO_DIR . '/app/Common/Views/admin/posts/columns.php' );
|
1096 |
-
}
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
/**
|
1100 |
-
* Renders the column in the media/attachment table.
|
1101 |
-
*
|
1102 |
-
* @since 4.0.0
|
1103 |
-
*
|
1104 |
-
* @param string $columnName The column name.
|
1105 |
-
* @param int $postId The current rows, post id.
|
1106 |
-
* @return void
|
1107 |
-
*/
|
1108 |
-
public function renderMediaColumn( $columnName, $postId ) {
|
1109 |
-
$screen = get_current_screen();
|
1110 |
-
if ( $this->isAllowedScreen( $screen->base, $screen->post_type ) ) {
|
1111 |
-
$this->renderColumn( $columnName, $postId );
|
1112 |
-
}
|
1113 |
-
|
1114 |
-
return null;
|
1115 |
-
}
|
1116 |
-
|
1117 |
/**
|
1118 |
* Renders the SEO Score button in the Publish metabox.
|
1119 |
*
|
@@ -1425,9 +1252,8 @@ class Admin {
|
|
1425 |
*
|
1426 |
* @since 4.0.0
|
1427 |
*
|
1428 |
-
* @param
|
1429 |
-
*
|
1430 |
-
* @return string The class name for Score button.
|
1431 |
*/
|
1432 |
private function getScoreClass( $score ) {
|
1433 |
$scoreClass = 50 < $score ? 'score-orange' : 'score-red';
|
@@ -1452,23 +1278,6 @@ class Admin {
|
|
1452 |
aioseo()->helpers->loadTextDomain( 'all-in-one-seo-pack' );
|
1453 |
}
|
1454 |
|
1455 |
-
/**
|
1456 |
-
* Filters the CSS classes for the body tag in the admin.
|
1457 |
-
*
|
1458 |
-
* @since 4.1.5
|
1459 |
-
*
|
1460 |
-
* @param string $classes Space-separated list of CSS classes.
|
1461 |
-
* @return string Space-separated list of CSS classes.
|
1462 |
-
*/
|
1463 |
-
public function bodyClass( $classes ) {
|
1464 |
-
if ( $this->isFlyoutMenuEnabled() ) {
|
1465 |
-
// This adds a bottom margin to our menu so that we push the footer down and prevent the flyout menu from overlapping the "Save Changes" button.
|
1466 |
-
$classes .= ' aioseo-flyout-menu-enabled ';
|
1467 |
-
}
|
1468 |
-
|
1469 |
-
return $classes;
|
1470 |
-
}
|
1471 |
-
|
1472 |
/**
|
1473 |
* Dequeues a script from the tagDiv Opt-in Builder plugin that, accompanied by the Newspaper theme, crashes our menu pages.
|
1474 |
*
|
68 |
* @var array
|
69 |
*/
|
70 |
protected $assetSlugs = [
|
71 |
+
'plugins' => 'src/app/plugins/main.js',
|
72 |
+
'pages' => 'src/vue/pages/{page}/main.js'
|
|
|
|
|
73 |
];
|
74 |
|
75 |
/**
|
87 |
add_filter( 'language_attributes', [ $this, 'alwaysAddHtmlDirAttribute' ], 3000 );
|
88 |
|
89 |
add_action( 'sanitize_comment_cookies', [ $this, 'init' ], 20 );
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
|
92 |
/**
|
126 |
add_action( 'network_admin_menu', [ $this, 'addRobotsMenu' ] );
|
127 |
}
|
128 |
|
|
|
|
|
|
|
129 |
// Add Score to Publish metabox.
|
130 |
add_action( 'post_submitbox_misc_actions', [ $this, 'addPublishScore' ] );
|
131 |
|
755 |
aioseo()->templates->getTemplate( 'admin/settings-page.php' );
|
756 |
echo '</div>';
|
757 |
|
758 |
+
if ( aioseo()->standalone->flyoutMenu->isEnabled() ) {
|
759 |
echo '<div id="aioseo-flyout-menu"></div>';
|
760 |
}
|
761 |
}
|
762 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
763 |
/**
|
764 |
* Hooks for loading our pages.
|
765 |
*
|
871 |
}
|
872 |
}
|
873 |
|
874 |
+
/**
|
875 |
+
* Checks whether the current page is an AIOSEO menu page.
|
876 |
+
*
|
877 |
+
* @since 4.2.0
|
878 |
+
*
|
879 |
+
* @return bool Whether the current page is an AIOSEO menu page.
|
880 |
+
*/
|
881 |
+
public function isAioseoScreen() {
|
882 |
+
if ( ! function_exists( 'get_current_screen' ) ) {
|
883 |
+
return false;
|
884 |
+
}
|
885 |
+
|
886 |
+
$adminPages = array_keys( $this->pages );
|
887 |
+
$adminPages = array_map( function( $slug ) {
|
888 |
+
if ( 'aioseo' === $slug ) {
|
889 |
+
return 'toplevel_page_aioseo';
|
890 |
+
}
|
891 |
+
|
892 |
+
return 'all-in-one-seo_page_' . $slug;
|
893 |
+
}, $adminPages );
|
894 |
+
|
895 |
+
$currentScreen = get_current_screen();
|
896 |
+
|
897 |
+
return in_array( $currentScreen->id, $adminPages, true );
|
898 |
+
}
|
899 |
+
|
900 |
/**
|
901 |
* Enqueue admin assets for the current page.
|
902 |
*
|
907 |
public function enqueueAssets() {
|
908 |
$page = str_replace( '{page}', $this->currentPage, $this->assetSlugs['pages'] );
|
909 |
aioseo()->core->assets->load( $page, [], aioseo()->helpers->getVueData( $this->currentPage ) );
|
|
|
|
|
|
|
|
|
910 |
}
|
911 |
|
912 |
/**
|
941 |
);
|
942 |
}
|
943 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
944 |
/**
|
945 |
* Renders the SEO Score button in the Publish metabox.
|
946 |
*
|
1252 |
*
|
1253 |
* @since 4.0.0
|
1254 |
*
|
1255 |
+
* @param int $score The content to retrieve from the remote URL.
|
1256 |
+
* @return string The class name for Score button.
|
|
|
1257 |
*/
|
1258 |
private function getScoreClass( $score ) {
|
1259 |
$scoreClass = 50 < $score ? 'score-orange' : 'score-red';
|
1278 |
aioseo()->helpers->loadTextDomain( 'all-in-one-seo-pack' );
|
1279 |
}
|
1280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1281 |
/**
|
1282 |
* Dequeues a script from the tagDiv Opt-in Builder plugin that, accompanied by the Newspaper theme, crashes our menu pages.
|
1283 |
*
|
app/Common/Admin/Dashboard.php
CHANGED
@@ -18,22 +18,50 @@ class Dashboard {
|
|
18 |
* @since 4.0.0
|
19 |
*/
|
20 |
public function __construct() {
|
21 |
-
add_action( 'wp_dashboard_setup', [ $this, '
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
-
*
|
26 |
*
|
27 |
-
* @since 2.
|
|
|
|
|
28 |
*/
|
29 |
-
public function
|
30 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
wp_add_dashboard_widget(
|
32 |
-
'aioseo-
|
33 |
-
|
|
|
34 |
[
|
35 |
$this,
|
36 |
-
'
|
37 |
]
|
38 |
);
|
39 |
}
|
@@ -46,83 +74,99 @@ class Dashboard {
|
|
46 |
*
|
47 |
* @return boolean True if yes, false otherwise.
|
48 |
*/
|
49 |
-
protected function
|
50 |
-
// API filter hook to disable showing SEO News dashboard widget.
|
51 |
-
if ( false === apply_filters( 'aioseo_show_seo_news', true ) ) {
|
52 |
-
return false;
|
53 |
-
}
|
54 |
-
|
55 |
return true;
|
56 |
}
|
57 |
|
58 |
/**
|
59 |
-
*
|
60 |
*
|
61 |
-
* @since 4.
|
|
|
|
|
62 |
*/
|
63 |
-
public function
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
include_once( ABSPATH . WPINC . '/feed.php' );
|
72 |
|
73 |
$rssItems = aioseo()->core->cache->get( 'rss_feed' );
|
74 |
if ( null === $rssItems ) {
|
75 |
-
|
76 |
$rss = fetch_feed( 'https://aioseo.com/feed/' );
|
77 |
if ( is_wp_error( $rss ) ) {
|
78 |
esc_html_e( 'Temporarily unable to load feed.', 'all-in-one-seo-pack' );
|
79 |
|
80 |
return;
|
81 |
}
|
82 |
-
|
|
|
83 |
$cached = [];
|
84 |
foreach ( $rssItems as $item ) {
|
85 |
$cached[] = [
|
86 |
'url' => $item->get_permalink(),
|
87 |
-
'title' => $item->get_title(),
|
88 |
-
'date' => $item->get_date(
|
89 |
'content' => substr( wp_strip_all_tags( $item->get_content() ), 0, 128 ) . '...',
|
90 |
];
|
91 |
}
|
92 |
$rssItems = $cached;
|
93 |
|
94 |
aioseo()->core->cache->update( 'rss_feed', $cached, 12 * HOUR_IN_SECONDS );
|
95 |
-
|
96 |
}
|
97 |
|
98 |
-
|
99 |
-
|
100 |
-
<ul>
|
101 |
-
<?php
|
102 |
-
if ( false === $rssItems ) {
|
103 |
-
echo '<li>No items</li>';
|
104 |
-
|
105 |
-
return;
|
106 |
-
}
|
107 |
-
|
108 |
-
foreach ( $rssItems as $item ) {
|
109 |
-
?>
|
110 |
-
<li>
|
111 |
-
<a target="_blank" href="<?php echo esc_url( $item['url'] ); ?>">
|
112 |
-
<?php echo esc_html( $item['title'] ); ?>
|
113 |
-
</a>
|
114 |
-
<span class="aioseop-rss-date"><?php echo esc_html( $item['date'] ); ?></span>
|
115 |
-
<div class="aioseop_news">
|
116 |
-
<?php echo esc_html( wp_strip_all_tags( $item['content'] ) ) . '...'; ?>
|
117 |
-
</div>
|
118 |
-
</li>
|
119 |
-
<?php
|
120 |
-
}
|
121 |
-
|
122 |
-
?>
|
123 |
-
</ul>
|
124 |
-
|
125 |
-
<?php
|
126 |
-
|
127 |
}
|
128 |
}
|
18 |
* @since 4.0.0
|
19 |
*/
|
20 |
public function __construct() {
|
21 |
+
add_action( 'wp_dashboard_setup', [ $this, 'addDashboardWidgets' ] );
|
22 |
}
|
23 |
|
24 |
/**
|
25 |
+
* Registers our dashboard widgets.
|
26 |
*
|
27 |
+
* @since 4.2.0
|
28 |
+
*
|
29 |
+
* @return void
|
30 |
*/
|
31 |
+
public function addDashboardWidgets() {
|
32 |
+
if ( ! $this->canShowWidgets() ) {
|
33 |
+
return;
|
34 |
+
}
|
35 |
+
|
36 |
+
// Add the SEO Setup widget.
|
37 |
+
if (
|
38 |
+
apply_filters( 'aioseo_show_seo_setup', true ) &&
|
39 |
+
( aioseo()->access->isAdmin() || aioseo()->access->hasCapability( 'aioseo_setup_wizard' ) ) &&
|
40 |
+
! aioseo()->standalone->setupWizard->isCompleted()
|
41 |
+
) {
|
42 |
+
wp_add_dashboard_widget(
|
43 |
+
'aioseo-seo-setup',
|
44 |
+
// Translators: 1 - The plugin short name ("AIOSEO").
|
45 |
+
sprintf( esc_html__( '%s Setup', 'all-in-one-seo-pack' ), AIOSEO_PLUGIN_SHORT_NAME ),
|
46 |
+
[
|
47 |
+
$this,
|
48 |
+
'outputSeoSetup',
|
49 |
+
]
|
50 |
+
);
|
51 |
+
}
|
52 |
+
|
53 |
+
// Add the Overview widget.
|
54 |
+
if (
|
55 |
+
apply_filters( 'aioseo_show_seo_overview', true ) &&
|
56 |
+
( aioseo()->access->isAdmin() || aioseo()->access->hasCapability( 'aioseo_page_analysis' ) )
|
57 |
+
) {
|
58 |
wp_add_dashboard_widget(
|
59 |
+
'aioseo-overview',
|
60 |
+
// Translators: 1 - The plugin short name ("AIOSEO").
|
61 |
+
sprintf( esc_html__( '%s Overview', 'all-in-one-seo-pack' ), AIOSEO_PLUGIN_SHORT_NAME ),
|
62 |
[
|
63 |
$this,
|
64 |
+
'outputSeoOverview',
|
65 |
]
|
66 |
);
|
67 |
}
|
74 |
*
|
75 |
* @return boolean True if yes, false otherwise.
|
76 |
*/
|
77 |
+
protected function canShowWidgets() {
|
|
|
|
|
|
|
|
|
|
|
78 |
return true;
|
79 |
}
|
80 |
|
81 |
/**
|
82 |
+
* Output the SEO Setup widget.
|
83 |
*
|
84 |
+
* @since 4.2.0
|
85 |
+
*
|
86 |
+
* @return void
|
87 |
*/
|
88 |
+
public function outputSeoSetup() {
|
89 |
+
$this->output( 'aioseo-seo-setup-app' );
|
90 |
+
}
|
91 |
+
|
92 |
+
/**
|
93 |
+
* Output the SEO Overview widget.
|
94 |
+
*
|
95 |
+
* @since 4.2.0
|
96 |
+
*
|
97 |
+
* @return void
|
98 |
+
*/
|
99 |
+
public function outputSeoOverview() {
|
100 |
+
$this->output( 'aioseo-overview-app' );
|
101 |
+
}
|
102 |
+
|
103 |
+
/**
|
104 |
+
* Output the widget wrapper for the Vue App.
|
105 |
+
*
|
106 |
+
* @since 4.2.0
|
107 |
+
*
|
108 |
+
* @param string $appId The App ID to print out.
|
109 |
+
* @return void
|
110 |
+
*/
|
111 |
+
private function output( $appId ) {
|
112 |
+
// Enqueue the scripts for the widget.
|
113 |
+
$this->enqueue();
|
114 |
+
|
115 |
+
// Opening tag.
|
116 |
+
echo '<div id="' . esc_attr( $appId ) . '">';
|
117 |
+
|
118 |
+
// Loader element.
|
119 |
+
require( AIOSEO_DIR . '/app/Common/Views/parts/loader.php' );
|
120 |
+
|
121 |
+
// Closing tag.
|
122 |
+
echo '</div>';
|
123 |
+
}
|
124 |
+
|
125 |
+
/**
|
126 |
+
* Enqueue the scripts and styles.
|
127 |
+
*
|
128 |
+
* @since 4.2.0
|
129 |
+
*
|
130 |
+
* @return void
|
131 |
+
*/
|
132 |
+
private function enqueue() {
|
133 |
+
aioseo()->core->assets->load( 'src/vue/standalone/dashboard-widgets/main.js', [], aioseo()->helpers->getVueData( 'dashboard' ) );
|
134 |
+
}
|
135 |
|
136 |
+
/**
|
137 |
+
* Get the RSS posts.
|
138 |
+
*
|
139 |
+
* @since 4.2.0
|
140 |
+
*
|
141 |
+
* @return array The RSS posts.
|
142 |
+
*/
|
143 |
+
public function getAioseoRssFeed() {
|
144 |
include_once( ABSPATH . WPINC . '/feed.php' );
|
145 |
|
146 |
$rssItems = aioseo()->core->cache->get( 'rss_feed' );
|
147 |
if ( null === $rssItems ) {
|
|
|
148 |
$rss = fetch_feed( 'https://aioseo.com/feed/' );
|
149 |
if ( is_wp_error( $rss ) ) {
|
150 |
esc_html_e( 'Temporarily unable to load feed.', 'all-in-one-seo-pack' );
|
151 |
|
152 |
return;
|
153 |
}
|
154 |
+
|
155 |
+
$rssItems = $rss->get_items( 0, 3 ); // Show three items.
|
156 |
$cached = [];
|
157 |
foreach ( $rssItems as $item ) {
|
158 |
$cached[] = [
|
159 |
'url' => $item->get_permalink(),
|
160 |
+
'title' => aioseo()->helpers->decodeHtmlEntities( $item->get_title() ),
|
161 |
+
'date' => $item->get_date( get_option( 'date_format' ) ),
|
162 |
'content' => substr( wp_strip_all_tags( $item->get_content() ), 0, 128 ) . '...',
|
163 |
];
|
164 |
}
|
165 |
$rssItems = $cached;
|
166 |
|
167 |
aioseo()->core->cache->update( 'rss_feed', $cached, 12 * HOUR_IN_SECONDS );
|
|
|
168 |
}
|
169 |
|
170 |
+
return $rssItems;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
171 |
}
|
172 |
}
|
app/Common/Admin/Notices/Notices.php
CHANGED
@@ -143,6 +143,9 @@ class Notices {
|
|
143 |
$n->button2_action = $buttons['button2']['url'];
|
144 |
$n->dismissed = 0;
|
145 |
$n->save();
|
|
|
|
|
|
|
146 |
}
|
147 |
}
|
148 |
|
143 |
$n->button2_action = $buttons['button2']['url'];
|
144 |
$n->dismissed = 0;
|
145 |
$n->save();
|
146 |
+
|
147 |
+
// Since we've added a new remote notification, let's show the notification drawer.
|
148 |
+
aioseo()->core->cache->update( 'show_notifications_drawer', true );
|
149 |
}
|
150 |
}
|
151 |
|
app/Common/Admin/PostSettings.php
CHANGED
@@ -14,15 +14,6 @@ use AIOSEO\Plugin\Common\Models;
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class PostSettings {
|
17 |
-
/**
|
18 |
-
* The integration objects for our PostSettings.
|
19 |
-
*
|
20 |
-
* @since 4.1.7
|
21 |
-
*
|
22 |
-
* @var array
|
23 |
-
*/
|
24 |
-
public $integrations = [];
|
25 |
-
|
26 |
/**
|
27 |
* Initialize the admin.
|
28 |
*
|
@@ -31,9 +22,6 @@ class PostSettings {
|
|
31 |
* @return void
|
32 |
*/
|
33 |
public function __construct() {
|
34 |
-
// This needs to run here before page builders use AJAX to save.
|
35 |
-
$this->loadIntegrations();
|
36 |
-
|
37 |
if ( wp_doing_ajax() || wp_doing_cron() || ! is_admin() ) {
|
38 |
return;
|
39 |
}
|
@@ -51,21 +39,14 @@ class PostSettings {
|
|
51 |
add_action( 'save_post', [ $this, 'saveSettingsMetabox' ] );
|
52 |
add_action( 'edit_attachment', [ $this, 'saveSettingsMetabox' ] );
|
53 |
add_action( 'add_attachment', [ $this, 'saveSettingsMetabox' ] );
|
54 |
-
}
|
55 |
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
public function loadIntegrations() {
|
64 |
-
$this->integrations = [
|
65 |
-
'elementor' => new Integrations\Elementor(),
|
66 |
-
'divi' => new Integrations\Divi(),
|
67 |
-
'seedprod' => new Integrations\SeedProd()
|
68 |
-
];
|
69 |
}
|
70 |
|
71 |
/**
|
@@ -91,10 +72,6 @@ class PostSettings {
|
|
91 |
}
|
92 |
|
93 |
aioseo()->core->assets->load( 'src/vue/standalone/post-settings/main.js', [], aioseo()->helpers->getVueData( $page ) );
|
94 |
-
|
95 |
-
if ( 'post' === $page ) {
|
96 |
-
$this->enqueuePublishPanelAssets();
|
97 |
-
}
|
98 |
}
|
99 |
|
100 |
$screen = get_current_screen();
|
@@ -103,17 +80,6 @@ class PostSettings {
|
|
103 |
}
|
104 |
}
|
105 |
|
106 |
-
/**
|
107 |
-
* Enqueues the JS/CSS for the Block Editor integrations.
|
108 |
-
*
|
109 |
-
* @since 4.1.4
|
110 |
-
*
|
111 |
-
* @return void
|
112 |
-
*/
|
113 |
-
private function enqueuePublishPanelAssets() {
|
114 |
-
aioseo()->core->assets->load( 'src/vue/standalone/publish-panel/main.js' );
|
115 |
-
}
|
116 |
-
|
117 |
/**
|
118 |
* Check whether or not we can add the metabox.
|
119 |
*
|
@@ -224,8 +190,7 @@ class PostSettings {
|
|
224 |
* @return void
|
225 |
*/
|
226 |
public function saveSettingsMetabox( $postId ) {
|
227 |
-
|
228 |
-
if ( ! aioseo()->helpers->isValidPost( $postId, $publicPostStatuses ) ) {
|
229 |
return;
|
230 |
}
|
231 |
|
@@ -254,4 +219,149 @@ class PostSettings {
|
|
254 |
|
255 |
Models\Post::savePost( $postId, $currentPost );
|
256 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
257 |
}
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class PostSettings {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
/**
|
18 |
* Initialize the admin.
|
19 |
*
|
22 |
* @return void
|
23 |
*/
|
24 |
public function __construct() {
|
|
|
|
|
|
|
25 |
if ( wp_doing_ajax() || wp_doing_cron() || ! is_admin() ) {
|
26 |
return;
|
27 |
}
|
39 |
add_action( 'save_post', [ $this, 'saveSettingsMetabox' ] );
|
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 |
}
|
51 |
|
52 |
/**
|
72 |
}
|
73 |
|
74 |
aioseo()->core->assets->load( 'src/vue/standalone/post-settings/main.js', [], aioseo()->helpers->getVueData( $page ) );
|
|
|
|
|
|
|
|
|
75 |
}
|
76 |
|
77 |
$screen = get_current_screen();
|
80 |
}
|
81 |
}
|
82 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
/**
|
84 |
* Check whether or not we can add the metabox.
|
85 |
*
|
190 |
* @return void
|
191 |
*/
|
192 |
public function saveSettingsMetabox( $postId ) {
|
193 |
+
if ( ! aioseo()->helpers->isValidPost( $postId, [ 'all' ] ) ) {
|
|
|
194 |
return;
|
195 |
}
|
196 |
|
219 |
|
220 |
Models\Post::savePost( $postId, $currentPost );
|
221 |
}
|
222 |
+
|
223 |
+
/**
|
224 |
+
* Clear the Post Type Overview cache from our cache table.
|
225 |
+
*
|
226 |
+
* @since 4.2.0
|
227 |
+
*
|
228 |
+
* @param int $postId The Post ID being updated/deleted.
|
229 |
+
* @return void
|
230 |
+
*/
|
231 |
+
public function clearPostTypeOverviewCache( $postId ) {
|
232 |
+
$postType = get_post_type( $postId );
|
233 |
+
if ( empty( $postType ) ) {
|
234 |
+
return;
|
235 |
+
}
|
236 |
+
|
237 |
+
aioseo()->cache->delete( $postType . '_overview_data' );
|
238 |
+
}
|
239 |
+
|
240 |
+
/**
|
241 |
+
* Get a list of post types with an overview showing how many posts are good, okay and so on.
|
242 |
+
*
|
243 |
+
* @since 4.2.0
|
244 |
+
*
|
245 |
+
* @return array The list of post types with the overview.
|
246 |
+
*/
|
247 |
+
public function getPostTypesOverview() {
|
248 |
+
$postTypes = [];
|
249 |
+
$dynamicOptions = aioseo()->dynamicOptions->noConflict();
|
250 |
+
|
251 |
+
foreach ( aioseo()->helpers->getPublicPostTypes( true ) as $postType ) {
|
252 |
+
if (
|
253 |
+
! $dynamicOptions->searchAppearance->postTypes->has( $postType ) ||
|
254 |
+
! $dynamicOptions->searchAppearance->postTypes->$postType->show ||
|
255 |
+
! $dynamicOptions->searchAppearance->postTypes->$postType->advanced->showMetaBox ||
|
256 |
+
'attachment' === $postType
|
257 |
+
) {
|
258 |
+
continue;
|
259 |
+
}
|
260 |
+
|
261 |
+
$postTypes[ $postType ] = $this->getPostTypeOverview( $postType );
|
262 |
+
}
|
263 |
+
|
264 |
+
return $postTypes;
|
265 |
+
}
|
266 |
+
|
267 |
+
/**
|
268 |
+
* Get how many posts are good, okay, needs improvement or are missing the focus keyphrase for the given post type.
|
269 |
+
*
|
270 |
+
* @since 4.2.0
|
271 |
+
*
|
272 |
+
* @param string $postType The post type name.
|
273 |
+
* @return array The overview for the given post type.
|
274 |
+
*/
|
275 |
+
public function getPostTypeOverview( $postType ) {
|
276 |
+
$overview = aioseo()->cache->get( $postType . '_overview_data' );
|
277 |
+
if ( null !== $overview ) {
|
278 |
+
return $overview;
|
279 |
+
}
|
280 |
+
|
281 |
+
$posts = aioseo()->core->db->start( 'posts as p' )
|
282 |
+
->select( 'ap.seo_score, ap.keyphrases' )
|
283 |
+
->leftJoin( 'aioseo_posts as ap', 'ap.post_id = p.ID' )
|
284 |
+
->where( 'p.post_status', 'publish' )
|
285 |
+
->where( 'p.post_type', $postType )
|
286 |
+
->run()
|
287 |
+
->result();
|
288 |
+
|
289 |
+
$overview = [
|
290 |
+
'total' => count( $posts ),
|
291 |
+
'needsImprovement' => 0,
|
292 |
+
'okay' => 0,
|
293 |
+
'good' => 0,
|
294 |
+
'withoutFocusKeyphrase' => 0,
|
295 |
+
];
|
296 |
+
|
297 |
+
foreach ( $posts as $post ) {
|
298 |
+
if ( empty( $post->keyphrases ) || strpos( $post->keyphrases, '{"focus":[]' ) === 0 ) {
|
299 |
+
$overview['withoutFocusKeyphrase']++;
|
300 |
+
|
301 |
+
// We skip to the next since we will just consider posts with focus keyphrase in the counts.
|
302 |
+
continue;
|
303 |
+
}
|
304 |
+
|
305 |
+
if ( 50 > $post->seo_score ) {
|
306 |
+
$overview['needsImprovement']++;
|
307 |
+
continue;
|
308 |
+
}
|
309 |
+
|
310 |
+
if ( 50 <= $post->seo_score && 80 >= $post->seo_score ) {
|
311 |
+
$overview['okay']++;
|
312 |
+
continue;
|
313 |
+
}
|
314 |
+
|
315 |
+
if ( 80 < $post->seo_score ) {
|
316 |
+
$overview['good']++;
|
317 |
+
}
|
318 |
+
}
|
319 |
+
|
320 |
+
aioseo()->cache->update( $postType . '_overview_data', $overview, WEEK_IN_SECONDS );
|
321 |
+
|
322 |
+
return $overview;
|
323 |
+
}
|
324 |
+
|
325 |
+
/**
|
326 |
+
* Change the JOIN and WHERE clause to filter just the posts we need to show depending on the query string.
|
327 |
+
*
|
328 |
+
* @since 4.2.0
|
329 |
+
*
|
330 |
+
* @param array $clauses Associative array of the clauses for the query.
|
331 |
+
* @param WP_Query $query The WP_Query instance (passed by reference).
|
332 |
+
* @return array The clauses array updated.
|
333 |
+
*/
|
334 |
+
public function changeClausesToFilterPosts( $clauses, $query ) {
|
335 |
+
if ( ! is_admin() || ! $query->is_main_query() ) {
|
336 |
+
return $clauses;
|
337 |
+
}
|
338 |
+
|
339 |
+
$filter = filter_input( INPUT_GET, 'aioseo-filter' );
|
340 |
+
if ( empty( $filter ) ) {
|
341 |
+
return $clauses;
|
342 |
+
}
|
343 |
+
|
344 |
+
$noKeyphrasesClause = " (aioseo_p.keyphrases = '' OR aioseo_p.keyphrases IS NULL OR aioseo_p.keyphrases LIKE '{\"focus\":[]%') ";
|
345 |
+
switch ( $filter ) {
|
346 |
+
case 'withoutFocusKeyphrase':
|
347 |
+
$whereClause = " AND $noKeyphrasesClause ";
|
348 |
+
break;
|
349 |
+
case 'needsImprovement':
|
350 |
+
$whereClause = " AND aioseo_p.seo_score < 50 AND NOT $noKeyphrasesClause ";
|
351 |
+
break;
|
352 |
+
case 'okay':
|
353 |
+
$whereClause = " AND aioseo_p.seo_score BETWEEN 50 AND 80 AND NOT $noKeyphrasesClause ";
|
354 |
+
break;
|
355 |
+
case 'good':
|
356 |
+
$whereClause = " AND aioseo_p.seo_score > 80 AND NOT $noKeyphrasesClause ";
|
357 |
+
break;
|
358 |
+
}
|
359 |
+
|
360 |
+
$prefix = aioseo()->db->prefix;
|
361 |
+
$postsTable = aioseo()->db->db->posts;
|
362 |
+
$clauses['join'] .= " LEFT JOIN {$prefix}aioseo_posts AS aioseo_p ON ({$postsTable}.ID = aioseo_p.post_id) ";
|
363 |
+
$clauses['where'] .= $whereClause;
|
364 |
+
|
365 |
+
return $clauses;
|
366 |
+
}
|
367 |
}
|
app/Common/Api/Analyze.php
CHANGED
@@ -131,7 +131,7 @@ class Analyze {
|
|
131 |
], 400 );
|
132 |
}
|
133 |
|
134 |
-
$result = aioseo()->headlineAnalyzer->getResult( $headline );
|
135 |
|
136 |
$headlines = aioseo()->internalOptions->internal->headlineAnalysis->headlines;
|
137 |
$headlines = array_reverse( $headlines, true );
|
131 |
], 400 );
|
132 |
}
|
133 |
|
134 |
+
$result = aioseo()->standalone->headlineAnalyzer->getResult( $headline );
|
135 |
|
136 |
$headlines = aioseo()->internalOptions->internal->headlineAnalysis->headlines;
|
137 |
$headlines = array_reverse( $headlines, true );
|
app/Common/ImportExport/RankMath/GeneralSettings.php
CHANGED
@@ -27,6 +27,7 @@ class GeneralSettings {
|
|
27 |
|
28 |
$this->isTruSeoDisabled();
|
29 |
$this->migrateRedirectAttachments();
|
|
|
30 |
$this->migrateRssContentSettings();
|
31 |
|
32 |
$settings = [
|
@@ -70,6 +71,19 @@ class GeneralSettings {
|
|
70 |
}
|
71 |
}
|
72 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
/**
|
74 |
* Migrates the RSS content settings.
|
75 |
*
|
27 |
|
28 |
$this->isTruSeoDisabled();
|
29 |
$this->migrateRedirectAttachments();
|
30 |
+
$this->migrateStripCategoryBase();
|
31 |
$this->migrateRssContentSettings();
|
32 |
|
33 |
$settings = [
|
71 |
}
|
72 |
}
|
73 |
|
74 |
+
/**
|
75 |
+
* Migrates the Strip Category Base setting.
|
76 |
+
*
|
77 |
+
* @since 4.2.0
|
78 |
+
*
|
79 |
+
* @return void
|
80 |
+
*/
|
81 |
+
private function migrateStripCategoryBase() {
|
82 |
+
if ( isset( $this->options['strip_category_base'] ) ) {
|
83 |
+
aioseo()->options->searchAppearance->advanced->removeCatBase = 'on' === $this->options['strip_category_base'] ? true : false;
|
84 |
+
}
|
85 |
+
}
|
86 |
+
|
87 |
/**
|
88 |
* Migrates the RSS content settings.
|
89 |
*
|
app/Common/ImportExport/YoastSeo/SearchAppearance.php
CHANGED
@@ -36,6 +36,7 @@ class SearchAppearance {
|
|
36 |
$this->migrateRedirectAttachments();
|
37 |
$this->migrateKnowledgeGraphSettings();
|
38 |
$this->migrateRssContentSettings();
|
|
|
39 |
}
|
40 |
|
41 |
/**
|
@@ -307,4 +308,15 @@ class SearchAppearance {
|
|
307 |
private function migrateRedirectAttachments() {
|
308 |
aioseo()->dynamicOptions->searchAppearance->postTypes->attachment->redirectAttachmentUrls = empty( $this->options['disable-attachment'] ) ? 'disabled' : 'attachment';
|
309 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
}
|
36 |
$this->migrateRedirectAttachments();
|
37 |
$this->migrateKnowledgeGraphSettings();
|
38 |
$this->migrateRssContentSettings();
|
39 |
+
$this->migrateStripCategoryBase();
|
40 |
}
|
41 |
|
42 |
/**
|
308 |
private function migrateRedirectAttachments() {
|
309 |
aioseo()->dynamicOptions->searchAppearance->postTypes->attachment->redirectAttachmentUrls = empty( $this->options['disable-attachment'] ) ? 'disabled' : 'attachment';
|
310 |
}
|
311 |
+
|
312 |
+
/**
|
313 |
+
* Migrates the strip category base option.
|
314 |
+
*
|
315 |
+
* @since 4.2.0
|
316 |
+
*
|
317 |
+
* @return void
|
318 |
+
*/
|
319 |
+
private function migrateStripCategoryBase() {
|
320 |
+
aioseo()->options->searchAppearance->advanced->removeCatBase = empty( $this->options['stripcategorybase'] ) ? false : true;
|
321 |
+
}
|
322 |
}
|
app/Common/Main/Filters.php
CHANGED
@@ -281,8 +281,8 @@ abstract class Filters {
|
|
281 |
* @return array[Object]|array[string] The filtered post types.
|
282 |
*/
|
283 |
public function removeFalsePublicPostTypes( $postTypes ) {
|
284 |
-
$elementorEnabled = isset( aioseo()->
|
285 |
-
aioseo()->
|
286 |
|
287 |
if ( ! $elementorEnabled ) {
|
288 |
return $postTypes;
|
281 |
* @return array[Object]|array[string] The filtered post types.
|
282 |
*/
|
283 |
public function removeFalsePublicPostTypes( $postTypes ) {
|
284 |
+
$elementorEnabled = isset( aioseo()->standalone->pageBuilderIntegrations['elementor'] ) &&
|
285 |
+
aioseo()->standalone->pageBuilderIntegrations['elementor']->isPluginActive();
|
286 |
|
287 |
if ( ! $elementorEnabled ) {
|
288 |
return $postTypes;
|
app/Common/Main/Main.php
CHANGED
@@ -22,26 +22,11 @@ class Main {
|
|
22 |
public function __construct() {
|
23 |
$this->media = new Media();
|
24 |
|
25 |
-
add_action( 'admin_enqueue_scripts', [ $this, '
|
26 |
add_action( 'wp_enqueue_scripts', [ $this, 'enqueueFrontEndAssets' ] );
|
27 |
add_action( 'admin_footer', [ $this, 'adminFooter' ] );
|
28 |
}
|
29 |
|
30 |
-
/**
|
31 |
-
* Enqueue styles.
|
32 |
-
*
|
33 |
-
* @since 4.0.0
|
34 |
-
*
|
35 |
-
* @return void
|
36 |
-
*/
|
37 |
-
public function enqueueAssets() {
|
38 |
-
$this->enqueueTranslations();
|
39 |
-
|
40 |
-
aioseo()->core->assets->load( 'src/vue/standalone/notifications/main.js', [], [
|
41 |
-
'newNotifications' => count( Models\Notification::getNewNotifications() )
|
42 |
-
], 'aioseoNotifications' );
|
43 |
-
}
|
44 |
-
|
45 |
/**
|
46 |
* Enqueues the translations seperately so it can be called from anywhere.
|
47 |
*
|
22 |
public function __construct() {
|
23 |
$this->media = new Media();
|
24 |
|
25 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueTranslations' ] );
|
26 |
add_action( 'wp_enqueue_scripts', [ $this, 'enqueueFrontEndAssets' ] );
|
27 |
add_action( 'admin_footer', [ $this, 'adminFooter' ] );
|
28 |
}
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
/**
|
31 |
* Enqueues the translations seperately so it can be called from anywhere.
|
32 |
*
|
app/Common/Main/Updates.php
CHANGED
@@ -148,6 +148,10 @@ class Updates {
|
|
148 |
$this->removeRevisionRecords();
|
149 |
}
|
150 |
|
|
|
|
|
|
|
|
|
151 |
do_action( 'aioseo_run_updates', $lastActiveVersion );
|
152 |
}
|
153 |
|
@@ -786,4 +790,22 @@ class Updates {
|
|
786 |
)"
|
787 |
);
|
788 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
789 |
}
|
148 |
$this->removeRevisionRecords();
|
149 |
}
|
150 |
|
151 |
+
if ( version_compare( $lastActiveVersion, '4.0.0', '>=' ) && version_compare( $lastActiveVersion, '4.2.0', '<' ) ) {
|
152 |
+
$this->migrateDeprecatedRunShortcodesSetting();
|
153 |
+
}
|
154 |
+
|
155 |
do_action( 'aioseo_run_updates', $lastActiveVersion );
|
156 |
}
|
157 |
|
790 |
)"
|
791 |
);
|
792 |
}
|
793 |
+
|
794 |
+
/**
|
795 |
+
* Enables the new shortcodes parsing setting if it was already enabled before as a deprecated setting.
|
796 |
+
*
|
797 |
+
* @since 4.2.0
|
798 |
+
*
|
799 |
+
* @return void
|
800 |
+
*/
|
801 |
+
private function migrateDeprecatedRunShortcodesSetting() {
|
802 |
+
if (
|
803 |
+
in_array( 'runShortcodesInDescription', aioseo()->internalOptions->deprecatedOptions, true ) &&
|
804 |
+
! aioseo()->options->deprecated->searchAppearance->advanced->runShortcodesInDescription
|
805 |
+
) {
|
806 |
+
return;
|
807 |
+
}
|
808 |
+
|
809 |
+
aioseo()->options->searchAppearance->advanced->runShortcodes = true;
|
810 |
+
}
|
811 |
}
|
app/Common/Meta/Helpers.php
CHANGED
@@ -55,10 +55,7 @@ class Helpers {
|
|
55 |
*/
|
56 |
public function sanitize( $value, $objectId = false, $replaceTags = false ) {
|
57 |
$value = $replaceTags ? $value : aioseo()->tags->replaceTags( $value, $objectId );
|
58 |
-
|
59 |
-
if ( apply_filters( "aioseo_{$this->name}_do_shortcodes", true ) ) {
|
60 |
-
$value = aioseo()->helpers->doShortcodes( $value );
|
61 |
-
}
|
62 |
|
63 |
$value = aioseo()->helpers->decodeHtmlEntities( $value );
|
64 |
$value = $this->encodeExceptions( $value );
|
55 |
*/
|
56 |
public function sanitize( $value, $objectId = false, $replaceTags = false ) {
|
57 |
$value = $replaceTags ? $value : aioseo()->tags->replaceTags( $value, $objectId );
|
58 |
+
$value = aioseo()->helpers->doShortcodes( $value );
|
|
|
|
|
|
|
59 |
|
60 |
$value = aioseo()->helpers->decodeHtmlEntities( $value );
|
61 |
$value = $this->encodeExceptions( $value );
|
app/Common/Migration/GeneralSettings.php
CHANGED
@@ -52,7 +52,6 @@ class GeneralSettings {
|
|
52 |
|
53 |
$settings = [
|
54 |
'aiosp_no_paged_canonical_links' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'noPaginationForCanonical' ] ],
|
55 |
-
'aiosp_showseonews' => [ 'type' => 'boolean', 'newOption' => [ 'advanced', 'dashboardWidget' ] ],
|
56 |
'aiosp_admin_bar' => [ 'type' => 'boolean', 'newOption' => [ 'advanced', 'adminBarMenu' ] ],
|
57 |
'aiosp_google_verify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'google' ] ],
|
58 |
'aiosp_bing_verify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'bing' ] ],
|
@@ -80,6 +79,7 @@ class GeneralSettings {
|
|
80 |
'aiosp_use_categories' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'useCategoriesForMetaKeywords' ] ],
|
81 |
'aiosp_use_tags_as_keywords' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'useTagsForMetaKeywords' ] ],
|
82 |
'aiosp_dynamic_postspage_keywords' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'dynamicallyGenerateKeywords' ] ],
|
|
|
83 |
];
|
84 |
|
85 |
aioseo()->migration->helpers->mapOldToNew( $settings, aioseo()->migration->oldOptions );
|
@@ -781,11 +781,6 @@ class GeneralSettings {
|
|
781 |
array_push( $deprecatedOptions, 'autogenerateDescriptions' );
|
782 |
aioseo()->options->deprecated->searchAppearance->advanced->autogenerateDescriptions = false;
|
783 |
} else {
|
784 |
-
if ( empty( $this->oldOptions['aiosp_run_shortcodes'] ) ) {
|
785 |
-
array_push( $deprecatedOptions, 'runShortcodesInDescription' );
|
786 |
-
aioseo()->options->deprecated->searchAppearance->advanced->runShortcodesInDescription = false;
|
787 |
-
}
|
788 |
-
|
789 |
if ( ! empty( $this->oldOptions['aiosp_skip_excerpt'] ) ) {
|
790 |
array_push( $deprecatedOptions, 'useContentForAutogeneratedDescriptions' );
|
791 |
aioseo()->options->deprecated->searchAppearance->advanced->useContentForAutogeneratedDescriptions = true;
|
52 |
|
53 |
$settings = [
|
54 |
'aiosp_no_paged_canonical_links' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'noPaginationForCanonical' ] ],
|
|
|
55 |
'aiosp_admin_bar' => [ 'type' => 'boolean', 'newOption' => [ 'advanced', 'adminBarMenu' ] ],
|
56 |
'aiosp_google_verify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'google' ] ],
|
57 |
'aiosp_bing_verify' => [ 'type' => 'string', 'newOption' => [ 'webmasterTools', 'bing' ] ],
|
79 |
'aiosp_use_categories' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'useCategoriesForMetaKeywords' ] ],
|
80 |
'aiosp_use_tags_as_keywords' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'useTagsForMetaKeywords' ] ],
|
81 |
'aiosp_dynamic_postspage_keywords' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'dynamicallyGenerateKeywords' ] ],
|
82 |
+
'aiosp_run_shortcodes' => [ 'type' => 'boolean', 'newOption' => [ 'searchAppearance', 'advanced', 'runShortcodes' ] ]
|
83 |
];
|
84 |
|
85 |
aioseo()->migration->helpers->mapOldToNew( $settings, aioseo()->migration->oldOptions );
|
781 |
array_push( $deprecatedOptions, 'autogenerateDescriptions' );
|
782 |
aioseo()->options->deprecated->searchAppearance->advanced->autogenerateDescriptions = false;
|
783 |
} else {
|
|
|
|
|
|
|
|
|
|
|
784 |
if ( ! empty( $this->oldOptions['aiosp_skip_excerpt'] ) ) {
|
785 |
array_push( $deprecatedOptions, 'useContentForAutogeneratedDescriptions' );
|
786 |
aioseo()->options->deprecated->searchAppearance->advanced->useContentForAutogeneratedDescriptions = true;
|
app/Common/Options/InternalOptions.php
CHANGED
@@ -30,7 +30,7 @@ class InternalOptions {
|
|
30 |
'autogenerateDescriptions',
|
31 |
'descriptionFormat',
|
32 |
'badBotBlocker',
|
33 |
-
'runShortcodesInDescription',
|
34 |
'staticSitemap',
|
35 |
'staticVideoSitemap',
|
36 |
'useContentForAutogeneratedDescriptions',
|
30 |
'autogenerateDescriptions',
|
31 |
'descriptionFormat',
|
32 |
'badBotBlocker',
|
33 |
+
// 'runShortcodesInDescription', TODO: Remove this in a future update.
|
34 |
'staticSitemap',
|
35 |
'staticVideoSitemap',
|
36 |
'useContentForAutogeneratedDescriptions',
|
app/Common/Options/Options.php
CHANGED
@@ -65,7 +65,7 @@ TEMPLATE
|
|
65 |
'truSeo' => [ 'type' => 'boolean', 'default' => true ],
|
66 |
'headlineAnalyzer' => [ 'type' => 'boolean', 'default' => true ],
|
67 |
'seoAnalysis' => [ 'type' => 'boolean', 'default' => true ],
|
68 |
-
'
|
69 |
'announcements' => [ 'type' => 'boolean', 'default' => true ],
|
70 |
'postTypes' => [
|
71 |
'all' => [ 'type' => 'boolean', 'default' => true ],
|
@@ -278,7 +278,8 @@ TEMPLATE
|
|
278 |
'useCategoriesForMetaKeywords' => [ 'type' => 'boolean', 'default' => false ],
|
279 |
'useTagsForMetaKeywords' => [ 'type' => 'boolean', 'default' => false ],
|
280 |
'dynamicallyGenerateKeywords' => [ 'type' => 'boolean', 'default' => false ],
|
281 |
-
'pagedFormat' => [ 'type' => 'string', 'default' => '- Page #page_number', 'localized' => true ]
|
|
|
282 |
],
|
283 |
'archives' => [
|
284 |
'author' => [
|
@@ -393,7 +394,7 @@ TEMPLATE
|
|
393 |
],
|
394 |
'advanced' => [
|
395 |
'autogenerateDescriptions' => [ 'type' => 'boolean', 'default' => true ],
|
396 |
-
'runShortcodesInDescription' => [ 'type' => 'boolean', 'default' => true ],
|
397 |
'useContentForAutogeneratedDescriptions' => [ 'type' => 'boolean', 'default' => false ],
|
398 |
'excludePosts' => [ 'type' => 'array', 'default' => [] ],
|
399 |
'excludeTerms' => [ 'type' => 'array', 'default' => [] ],
|
65 |
'truSeo' => [ 'type' => 'boolean', 'default' => true ],
|
66 |
'headlineAnalyzer' => [ 'type' => 'boolean', 'default' => true ],
|
67 |
'seoAnalysis' => [ 'type' => 'boolean', 'default' => true ],
|
68 |
+
'dashboardWidgets' => [ 'type' => 'boolean', 'default' => true ],
|
69 |
'announcements' => [ 'type' => 'boolean', 'default' => true ],
|
70 |
'postTypes' => [
|
71 |
'all' => [ 'type' => 'boolean', 'default' => true ],
|
278 |
'useCategoriesForMetaKeywords' => [ 'type' => 'boolean', 'default' => false ],
|
279 |
'useTagsForMetaKeywords' => [ 'type' => 'boolean', 'default' => false ],
|
280 |
'dynamicallyGenerateKeywords' => [ 'type' => 'boolean', 'default' => false ],
|
281 |
+
'pagedFormat' => [ 'type' => 'string', 'default' => '- Page #page_number', 'localized' => true ],
|
282 |
+
'runShortcodes' => [ 'type' => 'boolean', 'default' => false ]
|
283 |
],
|
284 |
'archives' => [
|
285 |
'author' => [
|
394 |
],
|
395 |
'advanced' => [
|
396 |
'autogenerateDescriptions' => [ 'type' => 'boolean', 'default' => true ],
|
397 |
+
'runShortcodesInDescription' => [ 'type' => 'boolean', 'default' => true ], // TODO: Remove this in a future update.
|
398 |
'useContentForAutogeneratedDescriptions' => [ 'type' => 'boolean', 'default' => false ],
|
399 |
'excludePosts' => [ 'type' => 'array', 'default' => [] ],
|
400 |
'excludeTerms' => [ 'type' => 'array', 'default' => [] ],
|
app/Common/Sitemap/Content.php
CHANGED
@@ -149,12 +149,35 @@ class Content {
|
|
149 |
* @return array $entries The sitemap entries.
|
150 |
*/
|
151 |
private function nonIndexed() {
|
152 |
-
$
|
|
|
|
|
|
|
|
|
|
|
153 |
|
154 |
-
$postTypes = aioseo()->sitemap->helpers->includedPostTypes();
|
155 |
if ( $postTypes ) {
|
156 |
foreach ( $postTypes as $postType ) {
|
157 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
}
|
159 |
}
|
160 |
|
@@ -165,7 +188,18 @@ class Content {
|
|
165 |
}
|
166 |
}
|
167 |
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
}
|
170 |
|
171 |
/**
|
149 |
* @return array $entries The sitemap entries.
|
150 |
*/
|
151 |
private function nonIndexed() {
|
152 |
+
$additional = $this->addl();
|
153 |
+
$postTypes = aioseo()->sitemap->helpers->includedPostTypes();
|
154 |
+
$isStaticHomepage = 'page' === get_option( 'show_on_front' );
|
155 |
+
$blogPageEntry = [];
|
156 |
+
$homePageEntry = ! $isStaticHomepage ? [ array_shift( $additional ) ] : [];
|
157 |
+
$entries = array_merge( $additional, $this->author(), $this->date(), $this->postArchive() );
|
158 |
|
|
|
159 |
if ( $postTypes ) {
|
160 |
foreach ( $postTypes as $postType ) {
|
161 |
+
$postTypeEntries = $this->posts( $postType );
|
162 |
+
|
163 |
+
// If we don't have a static homepage, it's business as usual.
|
164 |
+
if ( ! $isStaticHomepage ) {
|
165 |
+
$entries = array_merge( $entries, $postTypeEntries );
|
166 |
+
continue;
|
167 |
+
}
|
168 |
+
|
169 |
+
$homePageId = (int) get_option( 'page_on_front' );
|
170 |
+
$blogPageId = (int) get_option( 'page_for_posts' );
|
171 |
+
|
172 |
+
if ( 'post' === $postType && $blogPageId ) {
|
173 |
+
$blogPageEntry[] = array_shift( $postTypeEntries );
|
174 |
+
}
|
175 |
+
|
176 |
+
if ( 'page' === $postType && $homePageId ) {
|
177 |
+
$homePageEntry[] = array_shift( $postTypeEntries );
|
178 |
+
}
|
179 |
+
|
180 |
+
$entries = array_merge( $entries, $postTypeEntries );
|
181 |
}
|
182 |
}
|
183 |
|
188 |
}
|
189 |
}
|
190 |
|
191 |
+
// Sort first by priority, then by last modified date.
|
192 |
+
usort( $entries, function ( $a, $b ) {
|
193 |
+
// If the priorities are equal, sort by last modified date.
|
194 |
+
if ( $a['priority'] === $b['priority'] ) {
|
195 |
+
return $a['lastmod'] > $b['lastmod'] ? -1 : 1;
|
196 |
+
}
|
197 |
+
|
198 |
+
return $a['priority'] > $b['priority'] ? -1 : 1;
|
199 |
+
} );
|
200 |
+
|
201 |
+
// Merge the arrays with the home page always first.
|
202 |
+
return array_merge( $homePageEntry, $blogPageEntry, $entries );
|
203 |
}
|
204 |
|
205 |
/**
|
app/Common/Sitemap/Image.php
CHANGED
@@ -288,7 +288,7 @@ class Image {
|
|
288 |
$urls = array_merge( $urls, $this->extractDiviImages( $postContent ) );
|
289 |
|
290 |
// Now, get the remaining images from image tags in the post content.
|
291 |
-
$postContent =
|
292 |
$postContent = preg_replace( '/\s\s+/u', ' ', trim( $postContent ) ); // Trim both internal and external whitespace.
|
293 |
|
294 |
preg_match_all( '#<img[^>]+src="([^">]+)"#', $postContent, $matches );
|
@@ -349,26 +349,6 @@ class Image {
|
|
349 |
return array_filter( $preparedUrls );
|
350 |
}
|
351 |
|
352 |
-
/**
|
353 |
-
* Runs all allowed shortcodes so that we can extract images from embedded galleries.
|
354 |
-
*
|
355 |
-
* @since 4.0.0
|
356 |
-
*
|
357 |
-
* @param string $content The post content.
|
358 |
-
* @param int $postId The post ID.
|
359 |
-
* @return string The parsed post content.
|
360 |
-
*/
|
361 |
-
private function doShortcodes( $content, $postId = null ) {
|
362 |
-
$shortcodes = apply_filters( 'aioseo_image_sitemap_allowed_shortcodes', [
|
363 |
-
'WordPress Core' => 'gallery',
|
364 |
-
'NextGen #1' => 'ngg',
|
365 |
-
'NextGen #2' => 'ngg_images'
|
366 |
-
] );
|
367 |
-
$wildcards = apply_filters( 'aioseo_image_sitemap_allowed_wildcards', [ 'image', 'img', 'gallery' ] );
|
368 |
-
|
369 |
-
return aioseo()->helpers->doAllowedShortcodes( $content, $shortcodes, $wildcards, $postId );
|
370 |
-
}
|
371 |
-
|
372 |
/**
|
373 |
* Stores the image data for a given post in our DB table.
|
374 |
*
|
288 |
$urls = array_merge( $urls, $this->extractDiviImages( $postContent ) );
|
289 |
|
290 |
// Now, get the remaining images from image tags in the post content.
|
291 |
+
$postContent = aioseo()->helpers->doShortcodes( $postContent, true, $post->ID );
|
292 |
$postContent = preg_replace( '/\s\s+/u', ' ', trim( $postContent ) ); // Trim both internal and external whitespace.
|
293 |
|
294 |
preg_match_all( '#<img[^>]+src="([^">]+)"#', $postContent, $matches );
|
349 |
return array_filter( $preparedUrls );
|
350 |
}
|
351 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
352 |
/**
|
353 |
* Stores the image data for a given post in our DB table.
|
354 |
*
|
app/Common/Sitemap/Query.php
CHANGED
@@ -25,6 +25,7 @@ class Query {
|
|
25 |
*/
|
26 |
public function posts( $postTypes, $additionalArgs = [] ) {
|
27 |
$includedPostTypes = $postTypes;
|
|
|
28 |
if ( is_array( $postTypes ) ) {
|
29 |
$includedPostTypes = implode( "', '", $postTypes );
|
30 |
}
|
@@ -40,7 +41,10 @@ class Query {
|
|
40 |
$fields = '`p`.`ID`, `p`.`post_title`, `p`.`post_content`, `p`.`post_excerpt`, `p`.`post_type`, `p`.`post_password`, ';
|
41 |
$fields .= '`p`.`post_parent`, `p`.`post_date_gmt`, `p`.`post_modified_gmt`, `ap`.`priority`, `ap`.`frequency`';
|
42 |
$maxAge = '';
|
43 |
-
|
|
|
|
|
|
|
44 |
|
45 |
// Override defaults if passed as additional arg.
|
46 |
foreach ( $additionalArgs as $name => $value ) {
|
@@ -80,6 +84,41 @@ class Query {
|
|
80 |
}
|
81 |
|
82 |
$excludedPosts = aioseo()->sitemap->helpers->excludedPosts();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
if ( $excludedPosts ) {
|
84 |
$query->whereRaw( "( `p`.`ID` NOT IN ( $excludedPosts ) )" );
|
85 |
}
|
25 |
*/
|
26 |
public function posts( $postTypes, $additionalArgs = [] ) {
|
27 |
$includedPostTypes = $postTypes;
|
28 |
+
$postTypesArray = ! is_array( $postTypes ) ? [ $postTypes ] : $postTypes;
|
29 |
if ( is_array( $postTypes ) ) {
|
30 |
$includedPostTypes = implode( "', '", $postTypes );
|
31 |
}
|
41 |
$fields = '`p`.`ID`, `p`.`post_title`, `p`.`post_content`, `p`.`post_excerpt`, `p`.`post_type`, `p`.`post_password`, ';
|
42 |
$fields .= '`p`.`post_parent`, `p`.`post_date_gmt`, `p`.`post_modified_gmt`, `ap`.`priority`, `ap`.`frequency`';
|
43 |
$maxAge = '';
|
44 |
+
|
45 |
+
// Order by highest priority first (highest priority at the top),
|
46 |
+
// then by post modified date (most recently updated at the top).
|
47 |
+
$orderBy = '`ap`.`priority` DESC, `p`.`post_modified_gmt` DESC';
|
48 |
|
49 |
// Override defaults if passed as additional arg.
|
50 |
foreach ( $additionalArgs as $name => $value ) {
|
84 |
}
|
85 |
|
86 |
$excludedPosts = aioseo()->sitemap->helpers->excludedPosts();
|
87 |
+
|
88 |
+
$isStaticHomepage = 'page' === get_option( 'show_on_front' );
|
89 |
+
if ( $isStaticHomepage ) {
|
90 |
+
$excludedPostIds = explode( ',', $excludedPosts );
|
91 |
+
$homePageId = (int) get_option( 'page_on_front' );
|
92 |
+
$blogPageId = (int) get_option( 'page_for_posts' );
|
93 |
+
|
94 |
+
if ( in_array( 'page', $postTypesArray, true ) ) {
|
95 |
+
// Exclude the blog page from the pages post type.
|
96 |
+
if ( $blogPageId ) {
|
97 |
+
$query->whereRaw( "`p`.`ID` != $blogPageId" );
|
98 |
+
}
|
99 |
+
|
100 |
+
// Custom order by statement to always move the home page to the top.
|
101 |
+
if ( $homePageId ) {
|
102 |
+
$orderBy = "case when `p`.`ID` = $homePageId then 0 else 1 end, $orderBy";
|
103 |
+
}
|
104 |
+
}
|
105 |
+
|
106 |
+
// Include the blog page in the posts post type unless manually excluded.
|
107 |
+
if (
|
108 |
+
$blogPageId &&
|
109 |
+
! in_array( $blogPageId, $excludedPostIds, true ) &&
|
110 |
+
in_array( 'post', $postTypesArray, true )
|
111 |
+
) {
|
112 |
+
// We are using a database class hack to get in an OR clause to
|
113 |
+
// bypass all the other WHERE statements and just include the
|
114 |
+
// blog page ID manually.
|
115 |
+
$query->whereRaw( "1=1 OR `p`.`ID` = $blogPageId" );
|
116 |
+
|
117 |
+
// Custom order by statement to always move the blog posts page to the top.
|
118 |
+
$orderBy = "case when `p`.`ID` = $blogPageId then 0 else 1 end, $orderBy";
|
119 |
+
}
|
120 |
+
}
|
121 |
+
|
122 |
if ( $excludedPosts ) {
|
123 |
$query->whereRaw( "( `p`.`ID` NOT IN ( $excludedPosts ) )" );
|
124 |
}
|
app/Common/Social/Image.php
CHANGED
@@ -186,7 +186,7 @@ class Image {
|
|
186 |
return $cachedImage;
|
187 |
}
|
188 |
|
189 |
-
$postContent = aioseo()->helpers->
|
190 |
preg_match_all( '|<img.*?src=[\'"](.*?)[\'"].*?>|i', $postContent, $matches );
|
191 |
|
192 |
// Ignore cover block background image - WP >= 5.7.
|
186 |
return $cachedImage;
|
187 |
}
|
188 |
|
189 |
+
$postContent = aioseo()->helpers->getPostContent( $this->post );
|
190 |
preg_match_all( '|<img.*?src=[\'"](.*?)[\'"].*?>|i', $postContent, $matches );
|
191 |
|
192 |
// Ignore cover block background image - WP >= 5.7.
|
app/Common/Social/Social.php
CHANGED
@@ -14,6 +14,14 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Social {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
|
18 |
/**
|
19 |
* Class constructor.
|
@@ -40,18 +48,22 @@ class Social {
|
|
40 |
* @since 4.0.0
|
41 |
*/
|
42 |
protected function hooks() {
|
43 |
-
|
44 |
-
add_filter( 'language_attributes', [ $this, 'addAttributes' ] );
|
45 |
-
}
|
46 |
|
47 |
// To avoid duplicate sets of meta tags.
|
48 |
add_filter( 'jetpack_enable_open_graph', '__return_false' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
// Adds special filters.
|
50 |
add_filter( 'user_contactmethods', [ $this, 'addContactMethods' ] );
|
51 |
|
52 |
-
// @TODO: [V4+] Needs access token for authentication.
|
53 |
// Forces a refresh of the Facebook cache.
|
54 |
-
|
55 |
}
|
56 |
|
57 |
/**
|
@@ -138,33 +150,78 @@ class Social {
|
|
138 |
}
|
139 |
|
140 |
/**
|
141 |
-
*
|
142 |
*
|
143 |
-
* @since 4.
|
144 |
-
*
|
145 |
-
* @see https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
|
146 |
*
|
147 |
* @param int $postId The post ID.
|
148 |
* @param WP_Post $post The post object.
|
149 |
* @return void
|
150 |
*/
|
151 |
-
public function
|
152 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
return;
|
154 |
}
|
155 |
|
156 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
-
|
159 |
-
$endpoint = sprintf(
|
160 |
'https://graph.facebook.com/?%s',
|
161 |
http_build_query(
|
162 |
[
|
163 |
-
'id'
|
164 |
-
'scrape'
|
|
|
165 |
]
|
166 |
)
|
167 |
);
|
168 |
-
|
|
|
169 |
}
|
170 |
}
|
14 |
* @since 4.0.0
|
15 |
*/
|
16 |
class Social {
|
17 |
+
/**
|
18 |
+
* The name of the action to bust the OG cache.
|
19 |
+
*
|
20 |
+
* @since 4.2.0
|
21 |
+
*
|
22 |
+
* @var string
|
23 |
+
*/
|
24 |
+
private $bustOgCacheActionName = 'aioseo_og_cache_bust_post';
|
25 |
|
26 |
/**
|
27 |
* Class constructor.
|
48 |
* @since 4.0.0
|
49 |
*/
|
50 |
protected function hooks() {
|
51 |
+
add_action( $this->bustOgCacheActionName, [ $this, 'bustOgCachePost' ] );
|
|
|
|
|
52 |
|
53 |
// To avoid duplicate sets of meta tags.
|
54 |
add_filter( 'jetpack_enable_open_graph', '__return_false' );
|
55 |
+
|
56 |
+
if ( ! is_admin() ) {
|
57 |
+
add_filter( 'language_attributes', [ $this, 'addAttributes' ] );
|
58 |
+
|
59 |
+
return;
|
60 |
+
}
|
61 |
+
|
62 |
// Adds special filters.
|
63 |
add_filter( 'user_contactmethods', [ $this, 'addContactMethods' ] );
|
64 |
|
|
|
65 |
// Forces a refresh of the Facebook cache.
|
66 |
+
add_action( 'post_updated', [ $this, 'scheduleBustOgCachePost' ], 10, 2 );
|
67 |
}
|
68 |
|
69 |
/**
|
150 |
}
|
151 |
|
152 |
/**
|
153 |
+
* Schedule a ping to bust the OG cache.
|
154 |
*
|
155 |
+
* @since 4.2.0
|
|
|
|
|
156 |
*
|
157 |
* @param int $postId The post ID.
|
158 |
* @param WP_Post $post The post object.
|
159 |
* @return void
|
160 |
*/
|
161 |
+
public function scheduleBustOgCachePost( $postId, $post ) {
|
162 |
+
if ( ! aioseo()->helpers->isSbCustomFacebookFeedActive() || ! aioseo()->helpers->isValidPost( $post ) ) {
|
163 |
+
return;
|
164 |
+
}
|
165 |
+
|
166 |
+
if ( aioseo()->helpers->isScheduledAction( $this->bustOgCacheActionName, [ 'postId' => $postId ] ) ) {
|
167 |
+
return;
|
168 |
+
}
|
169 |
+
|
170 |
+
// Schedule the new ping.
|
171 |
+
aioseo()->helpers->scheduleAsyncAction( $this->bustOgCacheActionName, [ 'postId' => $postId ] );
|
172 |
+
}
|
173 |
+
|
174 |
+
/**
|
175 |
+
* Pings Facebook and asks them to bust the OG cache for a particular post.
|
176 |
+
*
|
177 |
+
* @since 4.2.0
|
178 |
+
*
|
179 |
+
* @see https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
|
180 |
+
*
|
181 |
+
* @param int $postId The post ID.
|
182 |
+
* @return void
|
183 |
+
*/
|
184 |
+
public function bustOgCachePost( $postId ) {
|
185 |
+
$post = get_post( $postId );
|
186 |
+
$customAccessToken = apply_filters( 'aioseo_facebook_access_token', '' );
|
187 |
+
|
188 |
+
if (
|
189 |
+
! aioseo()->helpers->isValidPost( $post ) ||
|
190 |
+
( ! aioseo()->helpers->isSbCustomFacebookFeedActive() && ! $customAccessToken )
|
191 |
+
) {
|
192 |
return;
|
193 |
}
|
194 |
|
195 |
+
$permalink = get_permalink( $postId );
|
196 |
+
$this->bustOgCacheHelper( $permalink );
|
197 |
+
}
|
198 |
+
|
199 |
+
/**
|
200 |
+
* Helper function for bustOgCache().
|
201 |
+
*
|
202 |
+
* @since 4.2.0
|
203 |
+
*
|
204 |
+
* @param string $permalink The permalink.
|
205 |
+
* @return void
|
206 |
+
*/
|
207 |
+
protected function bustOgCacheHelper( $permalink ) {
|
208 |
+
$accessToken = aioseo()->helpers->getSbAccessToken();
|
209 |
+
$accessToken = apply_filters( 'aioseo_facebook_access_token', $accessToken );
|
210 |
+
if ( ! $accessToken ) {
|
211 |
+
return;
|
212 |
+
}
|
213 |
|
214 |
+
$url = sprintf(
|
|
|
215 |
'https://graph.facebook.com/?%s',
|
216 |
http_build_query(
|
217 |
[
|
218 |
+
'id' => $permalink,
|
219 |
+
'scrape' => true,
|
220 |
+
'access_token' => $accessToken
|
221 |
]
|
222 |
)
|
223 |
);
|
224 |
+
|
225 |
+
wp_remote_post( $url, [ 'blocking' => false ] );
|
226 |
}
|
227 |
}
|
app/Common/Standalone/DetailsColumn.php
ADDED
@@ -0,0 +1,209 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
+
|
4 |
+
// Exit if accessed directly.
|
5 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
+
exit;
|
7 |
+
}
|
8 |
+
|
9 |
+
use AIOSEO\Plugin\Common\Models;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Handles the AIOSEO Details post column.
|
13 |
+
*
|
14 |
+
* @since 4.2.0
|
15 |
+
*/
|
16 |
+
class DetailsColumn {
|
17 |
+
/**
|
18 |
+
* The slug for the script.
|
19 |
+
*
|
20 |
+
* @since 4.2.0
|
21 |
+
*
|
22 |
+
* @var string
|
23 |
+
*/
|
24 |
+
protected $scriptSlug = 'src/vue/standalone/posts-table/main.js';
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Class constructor.
|
28 |
+
*
|
29 |
+
* @since 4.2.0
|
30 |
+
*/
|
31 |
+
public function __construct() {
|
32 |
+
if ( ! is_admin() || wp_doing_cron() ) {
|
33 |
+
return;
|
34 |
+
}
|
35 |
+
|
36 |
+
add_action( 'current_screen', [ $this, 'registerColumnHooks' ], 1 );
|
37 |
+
}
|
38 |
+
|
39 |
+
/**
|
40 |
+
* Adds the columns to the page/post types.
|
41 |
+
*
|
42 |
+
* @since 4.0.0
|
43 |
+
*
|
44 |
+
* @return void
|
45 |
+
*/
|
46 |
+
public function registerColumnHooks() {
|
47 |
+
$screen = get_current_screen();
|
48 |
+
if ( ! $this->shouldRegisterColumn( $screen->base, $screen->post_type ) ) {
|
49 |
+
return;
|
50 |
+
}
|
51 |
+
|
52 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueScripts' ] );
|
53 |
+
|
54 |
+
if ( 'product' === $screen->post_type ) {
|
55 |
+
add_filter( 'manage_edit-product_columns', [ $this, 'addColumn' ] );
|
56 |
+
add_action( 'manage_posts_custom_column', [ $this, 'renderColumn' ], 10, 2 );
|
57 |
+
|
58 |
+
return;
|
59 |
+
}
|
60 |
+
|
61 |
+
if ( 'attachment' === $screen->post_type ) {
|
62 |
+
$enabled = apply_filters( 'aioseo_image_seo_media_columns', true );
|
63 |
+
if ( ! $enabled ) {
|
64 |
+
return;
|
65 |
+
}
|
66 |
+
|
67 |
+
add_filter( 'manage_media_columns', [ $this, 'addColumn' ] );
|
68 |
+
add_action( 'manage_media_custom_column', [ $this, 'renderColumn' ], 10, 2 );
|
69 |
+
|
70 |
+
return;
|
71 |
+
}
|
72 |
+
|
73 |
+
add_filter( "manage_edit-{$screen->post_type}_columns", [ $this, 'addColumn' ] );
|
74 |
+
add_action( "manage_{$screen->post_type}_posts_custom_column", [ $this, 'renderColumn' ], 10, 2 );
|
75 |
+
|
76 |
+
}
|
77 |
+
|
78 |
+
/**
|
79 |
+
* Enqueues the JS/CSS for the page/posts table page.
|
80 |
+
*
|
81 |
+
* @since 4.0.0
|
82 |
+
*
|
83 |
+
* @return void
|
84 |
+
*/
|
85 |
+
public function enqueueScripts() {
|
86 |
+
$data = aioseo()->helpers->getVueData();
|
87 |
+
$data['posts'] = [];
|
88 |
+
$data['terms'] = [];
|
89 |
+
|
90 |
+
aioseo()->core->assets->load( $this->scriptSlug, [], $data );
|
91 |
+
}
|
92 |
+
|
93 |
+
/**
|
94 |
+
* Adds the AIOSEO Details column to the page/post tables in the admin.
|
95 |
+
*
|
96 |
+
* @since 4.0.0
|
97 |
+
*
|
98 |
+
* @param array $columns The columns we are adding ours onto.
|
99 |
+
* @return array The modified columns.
|
100 |
+
*/
|
101 |
+
public function addColumn( $columns ) {
|
102 |
+
$canManageSeo = apply_filters( 'aioseo_manage_seo', 'aioseo_manage_seo' );
|
103 |
+
if (
|
104 |
+
! current_user_can( $canManageSeo ) &&
|
105 |
+
(
|
106 |
+
! current_user_can( 'aioseo_page_general_settings' ) &&
|
107 |
+
! current_user_can( 'aioseo_page_analysis' )
|
108 |
+
)
|
109 |
+
) {
|
110 |
+
return $columns;
|
111 |
+
}
|
112 |
+
|
113 |
+
// Translators: 1 - The short plugin name ("AIOSEO").
|
114 |
+
$columns['aioseo-details'] = sprintf( esc_html__( '%1$s Details', 'all-in-one-seo-pack' ), AIOSEO_PLUGIN_SHORT_NAME );
|
115 |
+
|
116 |
+
return $columns;
|
117 |
+
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Renders the column in the page/post table.
|
121 |
+
*
|
122 |
+
* @since 4.0.0
|
123 |
+
*
|
124 |
+
* @param string $columnName The column name.
|
125 |
+
* @param int $postId The current rows, post id.
|
126 |
+
* @return void
|
127 |
+
*/
|
128 |
+
public function renderColumn( $columnName, $postId ) {
|
129 |
+
if ( ! current_user_can( 'edit_post', $postId ) && ! current_user_can( 'aioseo_manage_seo' ) ) {
|
130 |
+
return;
|
131 |
+
}
|
132 |
+
|
133 |
+
if ( 'aioseo-details' !== $columnName ) {
|
134 |
+
return;
|
135 |
+
}
|
136 |
+
|
137 |
+
// Add this column/post to the localized array.
|
138 |
+
global $wp_scripts;
|
139 |
+
|
140 |
+
$data = $wp_scripts->get_data( 'aioseo/js/' . $this->scriptSlug, 'data' );
|
141 |
+
|
142 |
+
if ( ! is_array( $data ) ) {
|
143 |
+
$data = json_decode( str_replace( 'var aioseo = ', '', substr( $data, 0, -1 ) ), true );
|
144 |
+
}
|
145 |
+
|
146 |
+
$nonce = wp_create_nonce( "aioseo_meta_{$columnName}_{$postId}" );
|
147 |
+
$posts = $data['posts'];
|
148 |
+
$thePost = Models\Post::getPost( $postId );
|
149 |
+
$postType = get_post_type( $postId );
|
150 |
+
$postData = [
|
151 |
+
'id' => $postId,
|
152 |
+
'columnName' => $columnName,
|
153 |
+
'nonce' => $nonce,
|
154 |
+
'title' => $thePost->title,
|
155 |
+
'titleParsed' => aioseo()->meta->title->getPostTitle( $postId ),
|
156 |
+
'defaultTitle' => aioseo()->meta->title->getPostTypeTitle( $postType ),
|
157 |
+
'description' => $thePost->description,
|
158 |
+
'descriptionParsed' => aioseo()->meta->description->getPostDescription( $postId ),
|
159 |
+
'defaultDescription' => aioseo()->meta->description->getPostTypeDescription( $postType ),
|
160 |
+
'value' => (int) $thePost->seo_score,
|
161 |
+
'showMedia' => false,
|
162 |
+
'isSpecialPage' => aioseo()->helpers->isSpecialPage( $postId ),
|
163 |
+
'postType' => $postType
|
164 |
+
];
|
165 |
+
|
166 |
+
foreach ( aioseo()->addons->getLoadedAddons() as $loadedAddon ) {
|
167 |
+
if ( isset( $loadedAddon->admin ) && method_exists( $loadedAddon->admin, 'renderColumnData' ) ) {
|
168 |
+
$postData = array_merge( $postData, $loadedAddon->admin->renderColumnData( $columnName, $postId, $postData ) );
|
169 |
+
}
|
170 |
+
}
|
171 |
+
|
172 |
+
$posts[] = $postData;
|
173 |
+
$data['posts'] = $posts;
|
174 |
+
|
175 |
+
$wp_scripts->add_data( 'aioseo/js/' . $this->scriptSlug, 'data', '' );
|
176 |
+
wp_localize_script( 'aioseo/js/' . $this->scriptSlug, 'aioseo', $data );
|
177 |
+
|
178 |
+
require( AIOSEO_DIR . '/app/Common/Views/admin/posts/columns.php' );
|
179 |
+
}
|
180 |
+
|
181 |
+
/**
|
182 |
+
* Checks whether the AIOSEO Details column should be registered.
|
183 |
+
*
|
184 |
+
* @since 4.0.0
|
185 |
+
*
|
186 |
+
* @return bool Whether the column should be registered.
|
187 |
+
*/
|
188 |
+
public function shouldRegisterColumn( $screen, $postType ) {
|
189 |
+
if ( 'type' === $postType ) {
|
190 |
+
$postType = '_aioseo_type';
|
191 |
+
}
|
192 |
+
|
193 |
+
if ( 'edit' === $screen || 'upload' === $screen ) {
|
194 |
+
if (
|
195 |
+
aioseo()->options->advanced->postTypes->all &&
|
196 |
+
in_array( $postType, aioseo()->helpers->getPublicPostTypes( true ), true )
|
197 |
+
) {
|
198 |
+
return true;
|
199 |
+
}
|
200 |
+
|
201 |
+
$postTypes = aioseo()->options->advanced->postTypes->included;
|
202 |
+
if ( in_array( $postType, $postTypes, true ) ) {
|
203 |
+
return true;
|
204 |
+
}
|
205 |
+
}
|
206 |
+
|
207 |
+
return false;
|
208 |
+
}
|
209 |
+
}
|
app/Common/Standalone/FlyoutMenu.php
ADDED
@@ -0,0 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
+
|
4 |
+
// Exit if accessed directly.
|
5 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
+
exit;
|
7 |
+
}
|
8 |
+
|
9 |
+
/**
|
10 |
+
* Handles the flyout menu.
|
11 |
+
*
|
12 |
+
* @since 4.2.0
|
13 |
+
*/
|
14 |
+
class FlyoutMenu {
|
15 |
+
/**
|
16 |
+
* Class constructor.
|
17 |
+
*
|
18 |
+
* @since 4.2.0
|
19 |
+
*/
|
20 |
+
public function __construct() {
|
21 |
+
if (
|
22 |
+
! is_admin() ||
|
23 |
+
wp_doing_ajax() ||
|
24 |
+
wp_doing_cron() ||
|
25 |
+
! $this->isEnabled()
|
26 |
+
) {
|
27 |
+
return;
|
28 |
+
}
|
29 |
+
|
30 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueAssets' ], 11 );
|
31 |
+
add_filter( 'admin_body_class', [ $this, 'addBodyClass' ] );
|
32 |
+
}
|
33 |
+
|
34 |
+
/**
|
35 |
+
* Enqueues the required assets.
|
36 |
+
*
|
37 |
+
* @since 4.2.0
|
38 |
+
*
|
39 |
+
* @return void
|
40 |
+
*/
|
41 |
+
public function enqueueAssets() {
|
42 |
+
if ( ! $this->shouldEnqueue() ) {
|
43 |
+
return;
|
44 |
+
}
|
45 |
+
|
46 |
+
aioseo()->core->assets->load( 'src/vue/standalone/flyout-menu/main.js' );
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Filters the CSS classes for the body tag in the admin.
|
51 |
+
*
|
52 |
+
* @since 4.2.0
|
53 |
+
*
|
54 |
+
* @param string $classes Space-separated list of CSS classes.
|
55 |
+
* @return string Space-separated list of CSS classes.
|
56 |
+
*/
|
57 |
+
public function addBodyClass( $classes ) {
|
58 |
+
if ( $this->shouldEnqueue() ) {
|
59 |
+
// This adds a bottom margin to our menu so that we push the footer down and prevent the flyout menu from overlapping the "Save Changes" button.
|
60 |
+
$classes .= ' aioseo-flyout-menu-enabled ';
|
61 |
+
}
|
62 |
+
|
63 |
+
return $classes;
|
64 |
+
}
|
65 |
+
|
66 |
+
/**
|
67 |
+
* Checks whether the flyout menu script should be enqueued.
|
68 |
+
*
|
69 |
+
* @since 4.2.0
|
70 |
+
*
|
71 |
+
* @return bool Whether the flyout menu script should be enqueued.
|
72 |
+
*/
|
73 |
+
private function shouldEnqueue() {
|
74 |
+
if ( aioseo()->admin->isAioseoScreen() ) {
|
75 |
+
return true;
|
76 |
+
}
|
77 |
+
|
78 |
+
return false;
|
79 |
+
}
|
80 |
+
|
81 |
+
/**
|
82 |
+
* Checks whether the flyout menu is enabled.
|
83 |
+
*
|
84 |
+
* @since 4.2.0
|
85 |
+
*
|
86 |
+
* @return bool Whether the flyout menu is enabled.
|
87 |
+
*/
|
88 |
+
public function isEnabled() {
|
89 |
+
return apply_filters( 'aioseo_flyout_menu_enable', true );
|
90 |
+
}
|
91 |
+
}
|
app/Common/{HeadlineAnalyzer → Standalone}/HeadlineAnalyzer.php
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -18,6 +18,10 @@ class HeadlineAnalyzer {
|
|
18 |
* @since 4.1.2
|
19 |
*/
|
20 |
public function __construct() {
|
|
|
|
|
|
|
|
|
21 |
add_action( 'enqueue_block_editor_assets', [ $this, 'enqueue' ] );
|
22 |
}
|
23 |
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
18 |
* @since 4.1.2
|
19 |
*/
|
20 |
public function __construct() {
|
21 |
+
if ( ! is_admin() || wp_doing_cron() ) {
|
22 |
+
return;
|
23 |
+
}
|
24 |
+
|
25 |
add_action( 'enqueue_block_editor_assets', [ $this, 'enqueue' ] );
|
26 |
}
|
27 |
|
app/Common/{Admin → Standalone}/LimitModifiedDate.php
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
app/Common/Standalone/Notifications.php
ADDED
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
+
|
4 |
+
// Exit if accessed directly.
|
5 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
+
exit;
|
7 |
+
}
|
8 |
+
|
9 |
+
use AIOSEO\Plugin\Common\Models;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Handles the notifications standalone.
|
13 |
+
*
|
14 |
+
* @since 4.2.0
|
15 |
+
*/
|
16 |
+
class Notifications {
|
17 |
+
/**
|
18 |
+
* Class constructor.
|
19 |
+
*
|
20 |
+
* @since 4.2.0
|
21 |
+
*/
|
22 |
+
public function __construct() {
|
23 |
+
if ( ! is_admin() ) {
|
24 |
+
return;
|
25 |
+
}
|
26 |
+
|
27 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueScript' ] );
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Enqueues the script.
|
32 |
+
*
|
33 |
+
* @since 4.2.0
|
34 |
+
*
|
35 |
+
* @return void
|
36 |
+
*/
|
37 |
+
public function enqueueScript() {
|
38 |
+
aioseo()->core->assets->load( 'src/vue/standalone/notifications/main.js', [], [
|
39 |
+
'newNotifications' => count( Models\Notification::getNewNotifications() )
|
40 |
+
], 'aioseoNotifications' );
|
41 |
+
}
|
42 |
+
}
|
app/Common/{Admin/Integrations/Integration.php → Standalone/PageBuilders/Base.php}
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -7,11 +7,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
7 |
}
|
8 |
|
9 |
/**
|
10 |
-
*
|
11 |
*
|
12 |
* @since 4.1.7
|
13 |
*/
|
14 |
-
abstract class
|
15 |
/**
|
16 |
* The plugin files we can integrate with.
|
17 |
*
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone\PageBuilders;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
7 |
}
|
8 |
|
9 |
/**
|
10 |
+
* Base class for each of our page builder integrations.
|
11 |
*
|
12 |
* @since 4.1.7
|
13 |
*/
|
14 |
+
abstract class Base {
|
15 |
/**
|
16 |
* The plugin files we can integrate with.
|
17 |
*
|
app/Common/{Admin/Integrations → Standalone/PageBuilders}/Divi.php
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
*
|
12 |
* @since 4.1.7
|
13 |
*/
|
14 |
-
class Divi extends
|
15 |
/**
|
16 |
* The theme name.
|
17 |
*
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone\PageBuilders;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
*
|
12 |
* @since 4.1.7
|
13 |
*/
|
14 |
+
class Divi extends Base {
|
15 |
/**
|
16 |
* The theme name.
|
17 |
*
|
app/Common/{Admin/Integrations → Standalone/PageBuilders}/Elementor.php
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -15,7 +15,7 @@ use Elementor\Core\DocumentTypes\PageBase;
|
|
15 |
*
|
16 |
* @since 4.1.7
|
17 |
*/
|
18 |
-
class Elementor extends
|
19 |
/**
|
20 |
* The plugin files.
|
21 |
*
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone\PageBuilders;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
15 |
*
|
16 |
* @since 4.1.7
|
17 |
*/
|
18 |
+
class Elementor extends Base {
|
19 |
/**
|
20 |
* The plugin files.
|
21 |
*
|
app/Common/{Admin/Integrations → Standalone/PageBuilders}/SeedProd.php
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -11,7 +11,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
11 |
*
|
12 |
* @since 4.1.7
|
13 |
*/
|
14 |
-
class SeedProd extends
|
15 |
/**
|
16 |
* The plugin files.
|
17 |
*
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone\PageBuilders;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
11 |
*
|
12 |
* @since 4.1.7
|
13 |
*/
|
14 |
+
class SeedProd extends Base {
|
15 |
/**
|
16 |
* The plugin files.
|
17 |
*
|
app/Common/Standalone/PublishPanel.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
+
|
4 |
+
// Exit if accessed directly.
|
5 |
+
if ( ! defined( 'ABSPATH' ) ) {
|
6 |
+
exit;
|
7 |
+
}
|
8 |
+
|
9 |
+
use AIOSEO\Plugin\Common\Models;
|
10 |
+
|
11 |
+
/**
|
12 |
+
* Handles the Publish Panel in the Block Editor.
|
13 |
+
*
|
14 |
+
* @since 4.2.0
|
15 |
+
*/
|
16 |
+
class PublishPanel {
|
17 |
+
/**
|
18 |
+
* Class constructor.
|
19 |
+
*
|
20 |
+
* @since 4.2.0
|
21 |
+
*/
|
22 |
+
public function __construct() {
|
23 |
+
if ( ! is_admin() || wp_doing_ajax() || wp_doing_cron() ) {
|
24 |
+
return;
|
25 |
+
}
|
26 |
+
|
27 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'enqueueScript' ] );
|
28 |
+
}
|
29 |
+
|
30 |
+
/**
|
31 |
+
* Enqueues the script.
|
32 |
+
*
|
33 |
+
* @since 4.2.0
|
34 |
+
*
|
35 |
+
* @return void
|
36 |
+
*/
|
37 |
+
public function enqueueScript() {
|
38 |
+
if ( ! aioseo()->helpers->isScreenBase( 'post' ) ) {
|
39 |
+
return;
|
40 |
+
}
|
41 |
+
|
42 |
+
aioseo()->core->assets->load( 'src/vue/standalone/publish-panel/main.js' );
|
43 |
+
}
|
44 |
+
}
|
app/Common/{Admin → Standalone}/SetupWizard.php
RENAMED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
namespace AIOSEO\Plugin\Common\
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
@@ -13,11 +13,15 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
13 |
*/
|
14 |
class SetupWizard {
|
15 |
/**
|
16 |
-
* Class
|
17 |
*
|
18 |
* @since 4.0.0
|
19 |
*/
|
20 |
public function __construct() {
|
|
|
|
|
|
|
|
|
21 |
add_action( 'admin_menu', [ $this, 'addDashboardPage' ] );
|
22 |
add_action( 'admin_head', [ $this, 'hideDashboardPageFromMenu' ] );
|
23 |
add_action( 'admin_init', [ $this, 'maybeLoadOnboardingWizard' ] );
|
@@ -211,4 +215,29 @@ class SetupWizard {
|
|
211 |
</html>
|
212 |
<?php
|
213 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
}
|
1 |
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
|
4 |
// Exit if accessed directly.
|
5 |
if ( ! defined( 'ABSPATH' ) ) {
|
13 |
*/
|
14 |
class SetupWizard {
|
15 |
/**
|
16 |
+
* Class constructor.
|
17 |
*
|
18 |
* @since 4.0.0
|
19 |
*/
|
20 |
public function __construct() {
|
21 |
+
if ( ! is_admin() || wp_doing_cron() || wp_doing_ajax() ) {
|
22 |
+
return;
|
23 |
+
}
|
24 |
+
|
25 |
add_action( 'admin_menu', [ $this, 'addDashboardPage' ] );
|
26 |
add_action( 'admin_head', [ $this, 'hideDashboardPageFromMenu' ] );
|
27 |
add_action( 'admin_init', [ $this, 'maybeLoadOnboardingWizard' ] );
|
215 |
</html>
|
216 |
<?php
|
217 |
}
|
218 |
+
|
219 |
+
/**
|
220 |
+
* Check whether or not the Setup Wizard is completed.
|
221 |
+
*
|
222 |
+
* @since 4.2.0
|
223 |
+
*
|
224 |
+
* @return boolean Whether or not the Setup Wizard is completed.
|
225 |
+
*/
|
226 |
+
public function isCompleted() {
|
227 |
+
$wizard = aioseo()->internalOptions->internal->wizard;
|
228 |
+
$wizard = json_decode( $wizard );
|
229 |
+
if ( ! $wizard ) {
|
230 |
+
return false;
|
231 |
+
}
|
232 |
+
|
233 |
+
$totalStageCount = count( $wizard->stages );
|
234 |
+
$currentStageCount = array_search( $wizard->currentStage, $wizard->stages, true );
|
235 |
+
|
236 |
+
// If not found, let's assume it's completed.
|
237 |
+
if ( false === $currentStageCount ) {
|
238 |
+
return true;
|
239 |
+
}
|
240 |
+
|
241 |
+
return $currentStageCount + 1 === $totalStageCount;
|
242 |
+
}
|
243 |
}
|
app/Common/Standalone/Standalone.php
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
namespace AIOSEO\Plugin\Common\Standalone;
|
3 |
+
|
4 |
+
use AIOSEO\Plugin\Pro\Standalone as ProStandalone;
|
5 |
+
|
6 |
+
/**
|
7 |
+
* Registers the standalone components.
|
8 |
+
*
|
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->setupWizard = new SetupWizard;
|
22 |
+
|
23 |
+
new PublishPanel;
|
24 |
+
new LimitModifiedDate;
|
25 |
+
new Notifications;
|
26 |
+
|
27 |
+
$this->pageBuilderIntegrations = [
|
28 |
+
'elementor' => new PageBuilders\Elementor,
|
29 |
+
'divi' => new PageBuilders\Divi,
|
30 |
+
'seedprod' => new PageBuilders\SeedProd
|
31 |
+
];
|
32 |
+
}
|
33 |
+
}
|
app/Common/Traits/Assets.php
CHANGED
@@ -345,8 +345,8 @@ trait Assets {
|
|
345 |
return $file;
|
346 |
}
|
347 |
|
348 |
-
|
349 |
-
$file
|
350 |
|
351 |
return $file;
|
352 |
}
|
@@ -364,8 +364,8 @@ trait Assets {
|
|
364 |
return $file;
|
365 |
}
|
366 |
|
367 |
-
|
368 |
-
$file
|
369 |
|
370 |
return $file;
|
371 |
}
|
@@ -443,7 +443,13 @@ trait Assets {
|
|
443 |
return $this->shouldLoadDevScripts;
|
444 |
}
|
445 |
|
446 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
447 |
$this->shouldLoadDevScripts = false;
|
448 |
|
449 |
return $this->shouldLoadDevScripts;
|
345 |
return $file;
|
346 |
}
|
347 |
|
348 |
+
require( $this->manifestFile );
|
349 |
+
$file = json_decode( $manifestJson, true ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
|
350 |
|
351 |
return $file;
|
352 |
}
|
364 |
return $file;
|
365 |
}
|
366 |
|
367 |
+
require( $this->assetManifestFile );
|
368 |
+
$file = json_decode( $manifestJson, true ); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UndefinedVariable
|
369 |
|
370 |
return $file;
|
371 |
}
|
443 |
return $this->shouldLoadDevScripts;
|
444 |
}
|
445 |
|
446 |
+
if (
|
447 |
+
! $this->isDev ||
|
448 |
+
(
|
449 |
+
defined( 'AIOSEO_LOAD_DEV_SCRIPTS' ) &&
|
450 |
+
false === AIOSEO_LOAD_DEV_SCRIPTS
|
451 |
+
)
|
452 |
+
) {
|
453 |
$this->shouldLoadDevScripts = false;
|
454 |
|
455 |
return $this->shouldLoadDevScripts;
|
app/Common/Traits/Helpers/Shortcodes.php
CHANGED
@@ -14,6 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
14 |
trait Shortcodes {
|
15 |
/**
|
16 |
* Shortcodes known to conflict with AIOSEO.
|
|
|
17 |
*
|
18 |
* @since 4.1.2
|
19 |
*
|
@@ -45,26 +46,72 @@ trait Shortcodes {
|
|
45 |
*
|
46 |
* @since 4.0.5
|
47 |
*
|
48 |
-
* @param string $content
|
49 |
-
* @param
|
50 |
-
* @param
|
51 |
-
* @
|
52 |
-
* @return string $content The post content with shortcodes replaced.
|
53 |
*/
|
54 |
-
public function doShortcodes( $content, $
|
55 |
-
|
56 |
-
|
57 |
-
(
|
58 |
-
( is_admin() && ! wp_doing_ajax() && ! wp_doing_cron() ) ||
|
59 |
-
apply_filters( 'aioseo_disable_shortcode_parsing', false )
|
60 |
-
)
|
61 |
-
) {
|
62 |
return $content;
|
63 |
}
|
64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
global $shortcode_tags;
|
66 |
-
$conflictingShortcodes =
|
|
|
67 |
|
|
|
68 |
foreach ( $conflictingShortcodes as $shortcode ) {
|
69 |
$shortcodeTag = str_replace( [ '[', ']' ], '', $shortcode );
|
70 |
if ( array_key_exists( $shortcodeTag, $shortcode_tags ) ) {
|
@@ -77,17 +124,18 @@ trait Shortcodes {
|
|
77 |
remove_shortcode( $shortcodeTag );
|
78 |
}
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
// Add the current post to the loop so that shortcodes can use it if needed.
|
83 |
$post = get_post( $postId );
|
84 |
-
|
|
|
|
|
|
|
85 |
}
|
86 |
|
87 |
$content = do_shortcode( $content );
|
88 |
|
89 |
-
if (
|
90 |
-
// Reset the main query again.
|
91 |
wp_reset_postdata();
|
92 |
}
|
93 |
|
@@ -99,39 +147,6 @@ trait Shortcodes {
|
|
99 |
return $content;
|
100 |
}
|
101 |
|
102 |
-
/**
|
103 |
-
* Returns the content with only the allowed shortcodes and wildcards replaced.
|
104 |
-
* This function should be used in Action Scheduler action callbacks only as it runs shortcodes everywhere, regardless of the context.
|
105 |
-
*
|
106 |
-
* @since 4.1.2
|
107 |
-
*
|
108 |
-
* @param string $content The content.
|
109 |
-
* @param array $allowedTags The allowed shortcode tags.
|
110 |
-
* @param array $wildcards The wildcards.
|
111 |
-
* @param int $postId The post ID.
|
112 |
-
* @return string The content with shortcodes replaced.
|
113 |
-
*/
|
114 |
-
public function doAllowedShortcodes( $content, $allowedTags = [], $wildcards = [], $postId = null ) {
|
115 |
-
// Extract list of shortcodes from the post content.
|
116 |
-
$tags = $this->getShortcodeTags( $content );
|
117 |
-
if ( ! count( $tags ) ) {
|
118 |
-
return $content;
|
119 |
-
}
|
120 |
-
|
121 |
-
// Include shortcodes that match wildcards with allowed shortcodes.
|
122 |
-
foreach ( $tags as $tag ) {
|
123 |
-
foreach ( $wildcards as $wildcard ) {
|
124 |
-
if ( preg_match( "/$wildcard/", $tag ) ) {
|
125 |
-
$allowedTags[] = $tag;
|
126 |
-
}
|
127 |
-
}
|
128 |
-
}
|
129 |
-
|
130 |
-
$tagsToRemove = array_diff( $tags, $allowedTags );
|
131 |
-
|
132 |
-
return $this->doShortcodes( $content, $tagsToRemove, true, $postId );
|
133 |
-
}
|
134 |
-
|
135 |
/**
|
136 |
* Extracts the shortcode tags from the content.
|
137 |
*
|
14 |
trait Shortcodes {
|
15 |
/**
|
16 |
* Shortcodes known to conflict with AIOSEO.
|
17 |
+
* NOTE: This is deprecated and only there for users who already were using the aioseo_conflicting_shortcodes_hook before 4.2.0.
|
18 |
*
|
19 |
* @since 4.1.2
|
20 |
*
|
46 |
*
|
47 |
* @since 4.0.5
|
48 |
*
|
49 |
+
* @param string $content The post content.
|
50 |
+
* @param bool $override Whether shortcodes should be parsed regardless of the context. Needed for ActionScheduler actions.
|
51 |
+
* @param int $postId The post ID (optional).
|
52 |
+
* @return string $content The post content with shortcodes replaced.
|
|
|
53 |
*/
|
54 |
+
public function doShortcodes( $content, $override = false, $postId = 0 ) {
|
55 |
+
// NOTE: This is_admin() check can never be removed because themes like Avada will otherwise load the wrong post.
|
56 |
+
if ( ! $override && is_admin() ) {
|
|
|
|
|
|
|
|
|
|
|
57 |
return $content;
|
58 |
}
|
59 |
|
60 |
+
if ( ! wp_doing_cron() && ! wp_doing_ajax() ) {
|
61 |
+
if ( ! $override && apply_filters( 'aioseo_disable_shortcode_parsing', false ) ) {
|
62 |
+
return $content;
|
63 |
+
}
|
64 |
+
|
65 |
+
if ( ! $override && ! aioseo()->options->searchAppearance->advanced->runShortcodes ) {
|
66 |
+
return $this->doAllowedShortcodes( $content, $postId );
|
67 |
+
}
|
68 |
+
}
|
69 |
+
|
70 |
+
$content = $this->doShortcodesHelper( $content, [], $postId );
|
71 |
+
|
72 |
+
return $content;
|
73 |
+
}
|
74 |
+
|
75 |
+
/**
|
76 |
+
* Returns the content with only the allowed shortcodes and wildcards replaced.
|
77 |
+
*
|
78 |
+
* @since 4.1.2
|
79 |
+
*
|
80 |
+
* @param string $content The content.
|
81 |
+
* @param int $postId The post ID (optional).
|
82 |
+
* @return string The content with shortcodes replaced.
|
83 |
+
*/
|
84 |
+
public function doAllowedShortcodes( $content, $postId = null ) {
|
85 |
+
// Extract list of shortcodes from the post content.
|
86 |
+
$tags = $this->getShortcodeTags( $content );
|
87 |
+
if ( ! count( $tags ) ) {
|
88 |
+
return $content;
|
89 |
+
}
|
90 |
+
|
91 |
+
$allowedTags = apply_filters( 'aioseo_allowed_shortcode_tags', [] );
|
92 |
+
$tagsToRemove = array_diff( $tags, $allowedTags );
|
93 |
+
|
94 |
+
$content = $this->doShortcodesHelper( $content, $tagsToRemove, $postId );
|
95 |
+
|
96 |
+
return $content;
|
97 |
+
}
|
98 |
+
|
99 |
+
/**
|
100 |
+
* Returns the content with only the allowed shortcodes and wildcards replaced.
|
101 |
+
*
|
102 |
+
* @since 4.1.2
|
103 |
+
*
|
104 |
+
* @param string $content The content.
|
105 |
+
* @param array $tagsToRemove The shortcode tags to remove (optional).
|
106 |
+
* @param int $postId The post ID (optional).
|
107 |
+
* @return string The content with shortcodes replaced.
|
108 |
+
*/
|
109 |
+
private function doShortcodesHelper( $content, $tagsToRemove = [], $postId = 0 ) {
|
110 |
global $shortcode_tags;
|
111 |
+
$conflictingShortcodes = array_merge( $tagsToRemove, $this->conflictingShortcodes );
|
112 |
+
$conflictingShortcodes = apply_filters( 'aioseo_conflicting_shortcodes', $conflictingShortcodes );
|
113 |
|
114 |
+
$tagsToRemove = [];
|
115 |
foreach ( $conflictingShortcodes as $shortcode ) {
|
116 |
$shortcodeTag = str_replace( [ '[', ']' ], '', $shortcode );
|
117 |
if ( array_key_exists( $shortcodeTag, $shortcode_tags ) ) {
|
124 |
remove_shortcode( $shortcodeTag );
|
125 |
}
|
126 |
|
127 |
+
if ( $postId ) {
|
128 |
+
global $post;
|
|
|
129 |
$post = get_post( $postId );
|
130 |
+
if ( is_a( $post, 'WP_Post' ) ) {
|
131 |
+
// Add the current post to the loop so that shortcodes can use it if needed.
|
132 |
+
setup_postdata( $post );
|
133 |
+
}
|
134 |
}
|
135 |
|
136 |
$content = do_shortcode( $content );
|
137 |
|
138 |
+
if ( $postId ) {
|
|
|
139 |
wp_reset_postdata();
|
140 |
}
|
141 |
|
147 |
return $content;
|
148 |
}
|
149 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
/**
|
151 |
* Extracts the shortcode tags from the content.
|
152 |
*
|
app/Common/Traits/Helpers/ThirdParty.php
CHANGED
@@ -362,4 +362,54 @@ trait ThirdParty {
|
|
362 |
|
363 |
return $acfFields;
|
364 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
}
|
362 |
|
363 |
return $acfFields;
|
364 |
}
|
365 |
+
|
366 |
+
/**
|
367 |
+
* Checks whether the Smash Balloon Custom Facebook Feed plugin is active.
|
368 |
+
*
|
369 |
+
* @since 4.2.0
|
370 |
+
*
|
371 |
+
* @return bool Whether the SB CFF plugin is active.
|
372 |
+
*/
|
373 |
+
public function isSbCustomFacebookFeedActive() {
|
374 |
+
static $isActive = null;
|
375 |
+
if ( null !== $isActive ) {
|
376 |
+
return $isActive;
|
377 |
+
}
|
378 |
+
|
379 |
+
$isActive = defined( 'CFFVER' ) || is_plugin_active( 'custom-facebook-feed/custom-facebook-feed.php' );
|
380 |
+
|
381 |
+
return $isActive;
|
382 |
+
}
|
383 |
+
|
384 |
+
/**
|
385 |
+
* Returns the access token for Facebook from Smash Balloon if there is one.
|
386 |
+
*
|
387 |
+
* @since 4.2.0
|
388 |
+
*
|
389 |
+
* @return string|false The access token or false if there is none.
|
390 |
+
*/
|
391 |
+
public function getSbAccessToken() {
|
392 |
+
static $accessToken = null;
|
393 |
+
if ( null !== $accessToken ) {
|
394 |
+
return $accessToken;
|
395 |
+
}
|
396 |
+
|
397 |
+
if ( ! $this->isSbCustomFacebookFeedActive() ) {
|
398 |
+
$accessToken = false;
|
399 |
+
|
400 |
+
return $accessToken;
|
401 |
+
}
|
402 |
+
|
403 |
+
$oembedTokenData = get_option( 'cff_oembed_token', [] );
|
404 |
+
if ( ! $oembedTokenData || empty( $oembedTokenData['access_token'] ) ) {
|
405 |
+
$accessToken = false;
|
406 |
+
|
407 |
+
return $accessToken;
|
408 |
+
}
|
409 |
+
|
410 |
+
$sbFacebookDataEncryptionInstance = new \CustomFacebookFeed\SB_Facebook_Data_Encryption;
|
411 |
+
$accessToken = $sbFacebookDataEncryptionInstance->maybe_decrypt( $oembedTokenData['access_token'] );
|
412 |
+
|
413 |
+
return $accessToken;
|
414 |
+
}
|
415 |
}
|
app/Common/Traits/Helpers/Vue.php
CHANGED
@@ -26,6 +26,16 @@ trait Vue {
|
|
26 |
* @return array The data.
|
27 |
*/
|
28 |
public function getVueData( $page = null, $staticPostId = null, $integration = null ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
global $wp_version;
|
30 |
$screen = aioseo()->helpers->getCurrentScreen();
|
31 |
|
@@ -50,6 +60,7 @@ trait Vue {
|
|
50 |
'mainSiteUrl' => $this->getSiteUrl(),
|
51 |
'home' => home_url(),
|
52 |
'restUrl' => rest_url(),
|
|
|
53 |
'publicPath' => aioseo()->core->assets->normalizeAssetsHost( plugin_dir_url( AIOSEO_FILE ) ),
|
54 |
'assetsPath' => aioseo()->core->assets->getAssetsPath(),
|
55 |
'rssFeedUrl' => get_bloginfo( 'rss2_url' ),
|
@@ -133,7 +144,9 @@ trait Vue {
|
|
133 |
'archives' => $this->getPublicPostTypes( false, true, true ),
|
134 |
'postStatuses' => $this->getPublicPostStatuses()
|
135 |
],
|
136 |
-
'notifications' => Models\Notification::getNotifications( false ),
|
|
|
|
|
137 |
'addons' => aioseo()->addons->getAddons(),
|
138 |
'version' => AIOSEO_VERSION,
|
139 |
'wpVersion' => $wp_version,
|
@@ -257,6 +270,13 @@ trait Vue {
|
|
257 |
}
|
258 |
}
|
259 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
260 |
if ( 'sitemaps' === $page ) {
|
261 |
try {
|
262 |
if ( as_next_scheduled_action( 'aioseo_static_sitemap_regeneration' ) ) {
|
@@ -270,6 +290,10 @@ trait Vue {
|
|
270 |
if ( 'setup-wizard' === $page ) {
|
271 |
$data['users'] = $this->getSiteUsers( [ 'administrator', 'editor', 'author' ] );
|
272 |
$data['importers'] = aioseo()->importExport->plugins();
|
|
|
|
|
|
|
|
|
273 |
}
|
274 |
|
275 |
if ( 'search-appearance' === $page ) {
|
26 |
* @return array The data.
|
27 |
*/
|
28 |
public function getVueData( $page = null, $staticPostId = null, $integration = null ) {
|
29 |
+
static $showNotificationsDrawer = null;
|
30 |
+
if ( null === $showNotificationsDrawer ) {
|
31 |
+
$showNotificationsDrawer = aioseo()->core->cache->get( 'show_notifications_drawer' ) ? true : false;
|
32 |
+
|
33 |
+
// IF this is set to true, let's disable it now so it doesn't pop up again.
|
34 |
+
if ( $showNotificationsDrawer ) {
|
35 |
+
aioseo()->core->cache->delete( 'show_notifications_drawer' );
|
36 |
+
}
|
37 |
+
}
|
38 |
+
|
39 |
global $wp_version;
|
40 |
$screen = aioseo()->helpers->getCurrentScreen();
|
41 |
|
60 |
'mainSiteUrl' => $this->getSiteUrl(),
|
61 |
'home' => home_url(),
|
62 |
'restUrl' => rest_url(),
|
63 |
+
'editScreen' => admin_url( 'edit.php' ),
|
64 |
'publicPath' => aioseo()->core->assets->normalizeAssetsHost( plugin_dir_url( AIOSEO_FILE ) ),
|
65 |
'assetsPath' => aioseo()->core->assets->getAssetsPath(),
|
66 |
'rssFeedUrl' => get_bloginfo( 'rss2_url' ),
|
144 |
'archives' => $this->getPublicPostTypes( false, true, true ),
|
145 |
'postStatuses' => $this->getPublicPostStatuses()
|
146 |
],
|
147 |
+
'notifications' => array_merge( Models\Notification::getNotifications( false ), [
|
148 |
+
'force' => $showNotificationsDrawer ? true : false
|
149 |
+
] ),
|
150 |
'addons' => aioseo()->addons->getAddons(),
|
151 |
'version' => AIOSEO_VERSION,
|
152 |
'wpVersion' => $wp_version,
|
270 |
}
|
271 |
}
|
272 |
|
273 |
+
if ( 'dashboard' === $page ) {
|
274 |
+
$data['setupWizard']['isCompleted'] = aioseo()->standalone->setupWizard->isCompleted();
|
275 |
+
$data['rssFeed'] = aioseo()->dashboard->getAioseoRssFeed();
|
276 |
+
$data['seoOverview'] = aioseo()->postSettings->getPostTypesOverview();
|
277 |
+
$data['importers'] = aioseo()->importExport->plugins();
|
278 |
+
}
|
279 |
+
|
280 |
if ( 'sitemaps' === $page ) {
|
281 |
try {
|
282 |
if ( as_next_scheduled_action( 'aioseo_static_sitemap_regeneration' ) ) {
|
290 |
if ( 'setup-wizard' === $page ) {
|
291 |
$data['users'] = $this->getSiteUsers( [ 'administrator', 'editor', 'author' ] );
|
292 |
$data['importers'] = aioseo()->importExport->plugins();
|
293 |
+
$data['data'] += [
|
294 |
+
'staticHomePageTitle' => $isStaticHomePage ? aioseo()->meta->title->getTitle( $staticHomePage ) : '',
|
295 |
+
'staticHomePageDescription' => $isStaticHomePage ? aioseo()->meta->description->getDescription( $staticHomePage ) : '',
|
296 |
+
];
|
297 |
}
|
298 |
|
299 |
if ( 'search-appearance' === $page ) {
|
app/Common/Traits/Helpers/Wp.php
CHANGED
@@ -526,7 +526,7 @@ trait Wp {
|
|
526 |
* @return bool|string The page builder or false if not built with page builders.
|
527 |
*/
|
528 |
public function getPostPageBuilderName( $postId ) {
|
529 |
-
foreach ( aioseo()->
|
530 |
if ( $pageBuilder->isBuiltWith( $postId ) ) {
|
531 |
return $integration;
|
532 |
}
|
526 |
* @return bool|string The page builder or false if not built with page builders.
|
527 |
*/
|
528 |
public function getPostPageBuilderName( $postId ) {
|
529 |
+
foreach ( aioseo()->standalone->pageBuilderIntegrations as $integration => $pageBuilder ) {
|
530 |
if ( $pageBuilder->isBuiltWith( $postId ) ) {
|
531 |
return $integration;
|
532 |
}
|
app/Common/Traits/Helpers/WpContext.php
CHANGED
@@ -197,7 +197,7 @@ trait WpContext {
|
|
197 |
* @param WP_Post|int $post The post (optional).
|
198 |
* @return string The post content.
|
199 |
*/
|
200 |
-
public function
|
201 |
$post = ( $post && is_object( $post ) ) ? $post : $post = $this->getPost( $post );
|
202 |
|
203 |
static $content = [];
|
@@ -225,6 +225,10 @@ trait WpContext {
|
|
225 |
* @return string The parsed post content.
|
226 |
*/
|
227 |
public function theContent( $postContent ) {
|
|
|
|
|
|
|
|
|
228 |
// The order of the function calls below is intentional and should NOT change.
|
229 |
$postContent = function_exists( 'do_blocks' ) ? do_blocks( $postContent ) : $postContent; // phpcs:ignore AIOSEO.WpFunctionUse.NewFunctions.do_blocksFound
|
230 |
$postContent = wpautop( $postContent );
|
@@ -253,14 +257,7 @@ trait WpContext {
|
|
253 |
return $post->post_content;
|
254 |
}
|
255 |
|
256 |
-
$postContent
|
257 |
-
if (
|
258 |
-
! in_array( 'runShortcodesInDescription', aioseo()->internalOptions->deprecatedOptions, true ) ||
|
259 |
-
aioseo()->options->deprecated->searchAppearance->advanced->runShortcodesInDescription
|
260 |
-
) {
|
261 |
-
$postContent = $this->theContent( $postContent );
|
262 |
-
}
|
263 |
-
|
264 |
$postContent = wp_trim_words( $postContent, 55, '' );
|
265 |
$postContent = str_replace( ']]>', ']]>', $postContent );
|
266 |
$postContent = preg_replace( '#(<figure.*\/figure>|<img.*\/>)#', '', $postContent );
|
@@ -375,12 +372,23 @@ trait WpContext {
|
|
375 |
$post = get_post( $post );
|
376 |
}
|
377 |
|
378 |
-
//
|
|
|
|
|
|
|
|
|
|
|
379 |
if (
|
380 |
-
empty( $post ) ||
|
381 |
'scheduled-action' === $post->post_type ||
|
382 |
-
'revision' === $post->post_type
|
383 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
) {
|
385 |
return false;
|
386 |
}
|
197 |
* @param WP_Post|int $post The post (optional).
|
198 |
* @return string The post content.
|
199 |
*/
|
200 |
+
public function getPostContent( $post = null ) {
|
201 |
$post = ( $post && is_object( $post ) ) ? $post : $post = $this->getPost( $post );
|
202 |
|
203 |
static $content = [];
|
225 |
* @return string The parsed post content.
|
226 |
*/
|
227 |
public function theContent( $postContent ) {
|
228 |
+
if ( ! aioseo()->options->searchAppearance->advanced->runShortcodes ) {
|
229 |
+
return $postContent;
|
230 |
+
}
|
231 |
+
|
232 |
// The order of the function calls below is intentional and should NOT change.
|
233 |
$postContent = function_exists( 'do_blocks' ) ? do_blocks( $postContent ) : $postContent; // phpcs:ignore AIOSEO.WpFunctionUse.NewFunctions.do_blocksFound
|
234 |
$postContent = wpautop( $postContent );
|
257 |
return $post->post_content;
|
258 |
}
|
259 |
|
260 |
+
$postContent = $this->getPostContent( $post );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
261 |
$postContent = wp_trim_words( $postContent, 55, '' );
|
262 |
$postContent = str_replace( ']]>', ']]>', $postContent );
|
263 |
$postContent = preg_replace( '#(<figure.*\/figure>|<img.*\/>)#', '', $postContent );
|
372 |
$post = get_post( $post );
|
373 |
}
|
374 |
|
375 |
+
// No post, no go.
|
376 |
+
if ( empty( $post ) ) {
|
377 |
+
return false;
|
378 |
+
}
|
379 |
+
|
380 |
+
// In order to prevent recursion, we are skipping scheduled-action posts and revisions.
|
381 |
if (
|
|
|
382 |
'scheduled-action' === $post->post_type ||
|
383 |
+
'revision' === $post->post_type
|
384 |
+
) {
|
385 |
+
return false;
|
386 |
+
}
|
387 |
+
|
388 |
+
// Ensure this post has the proper post status.
|
389 |
+
if (
|
390 |
+
! in_array( $post->post_status, $allowedPostStatuses, true ) &&
|
391 |
+
! in_array( 'all', $allowedPostStatuses, true )
|
392 |
) {
|
393 |
return false;
|
394 |
}
|
app/Common/Traits/Helpers/WpUri.php
CHANGED
@@ -114,8 +114,13 @@ trait WpUri {
|
|
114 |
$url = $this->getUrl( true );
|
115 |
$noPaginationForCanonical = aioseo()->options->searchAppearance->advanced->noPaginationForCanonical;
|
116 |
$pageNumber = $this->getPageNumber();
|
117 |
-
if ( $noPaginationForCanonical
|
118 |
-
|
|
|
|
|
|
|
|
|
|
|
119 |
}
|
120 |
|
121 |
$url = $this->maybeRemoveTrailingSlash( $url );
|
114 |
$url = $this->getUrl( true );
|
115 |
$noPaginationForCanonical = aioseo()->options->searchAppearance->advanced->noPaginationForCanonical;
|
116 |
$pageNumber = $this->getPageNumber();
|
117 |
+
if ( $noPaginationForCanonical ) {
|
118 |
+
if ( 1 < $pageNumber ) {
|
119 |
+
$url = preg_replace( '/(\d+\/|(?<=\/)page\/\d+\/)$/', '', $url );
|
120 |
+
}
|
121 |
+
|
122 |
+
// Comment pages.
|
123 |
+
$url = preg_replace( '/((?<=\/)comment-page-\d+\/*(#comments)*)$/', '', $url );
|
124 |
}
|
125 |
|
126 |
$url = $this->maybeRemoveTrailingSlash( $url );
|
app/Common/Utils/Assets.php
CHANGED
@@ -35,8 +35,8 @@ class Assets {
|
|
35 |
public function __construct( $core ) {
|
36 |
$this->core = $core;
|
37 |
$this->version = aioseo()->version;
|
38 |
-
$this->manifestFile = AIOSEO_DIR . '/dist/' . aioseo()->versionPath . '/manifest.
|
39 |
-
$this->assetManifestFile = AIOSEO_DIR . '/dist/' . aioseo()->versionPath . '/manifest-assets.
|
40 |
$this->isDev = aioseo()->isDev;
|
41 |
|
42 |
if ( $this->isDev ) {
|
35 |
public function __construct( $core ) {
|
36 |
$this->core = $core;
|
37 |
$this->version = aioseo()->version;
|
38 |
+
$this->manifestFile = AIOSEO_DIR . '/dist/' . aioseo()->versionPath . '/manifest.php';
|
39 |
+
$this->assetManifestFile = AIOSEO_DIR . '/dist/' . aioseo()->versionPath . '/manifest-assets.php';
|
40 |
$this->isDev = aioseo()->isDev;
|
41 |
|
42 |
if ( $this->isDev ) {
|
app/Common/Utils/VueSettings.php
CHANGED
@@ -41,6 +41,8 @@ class VueSettings {
|
|
41 |
'showUpgradeBar' => true,
|
42 |
'showSetupWizard' => true,
|
43 |
'toggledCards' => [
|
|
|
|
|
44 |
'dashboardSeoSiteScore' => true,
|
45 |
'dashboardNotifications' => true,
|
46 |
'dashboardSupport' => true,
|
41 |
'showUpgradeBar' => true,
|
42 |
'showSetupWizard' => true,
|
43 |
'toggledCards' => [
|
44 |
+
'dashboardOverview' => true,
|
45 |
+
'dashboardSeoSetup' => true,
|
46 |
'dashboardSeoSiteScore' => true,
|
47 |
'dashboardNotifications' => true,
|
48 |
'dashboardSupport' => true,
|
dist/Lite/assets/about.d0f28ff0.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as i,V as u}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{a as r}from"./js/index.0f8634bc.js";import{_ as o,s as c,a as l}from"./js/index.fa3590f5.js";import"./js/client.93f15631.js";var p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aioseo-app"},[n("router-view")],1)},m=[];const v={},a={};var d=i(v,p,m,!1,f,null,null,null);function f(e){for(let t in a)this[t]=a[t]}var A=function(){return d.exports}();function P(e){switch(e){case"../views/AboutUs.vue":return o(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/AboutUs.e6e58a9a.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/AboutUs.e6e58a9a.js","css/AboutUs.da7c9669.css","js/index.0f8634bc.js","js/vueComponentNormalizer.87056a83.js","js/em.e81bf4a7.js","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/External.8868c638.js"]));case"../views/GettingStarted.vue":return o(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/GettingStarted.d4a9f34e.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/GettingStarted.d4a9f34e.js","css/GettingStarted.d79900fa.css","js/news-sitemap.e595aa53.js","js/GettingStarted.b43e0d53.js","css/GettingStarted.bc96f39d.css","js/index.0f8634bc.js","js/vueComponentNormalizer.87056a83.js","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/Book.b6a9040c.js","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/client.93f15631.js","js/Rocket.8cc34606.js","js/Index.92c3733f.js","css/Index.a7e59161.css","js/Index.6d59ffe7.js","css/Index.98642cc9.css"]));case"../views/Main.vue":return o(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/Main.b527c814.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.b527c814.js","css/Main.8b20edfb.css","css/main.545fcad0.css","js/AboutUs.e6e58a9a.js","css/AboutUs.da7c9669.css","js/index.0f8634bc.js","js/vueComponentNormalizer.87056a83.js","js/em.e81bf4a7.js","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/External.8868c638.js","js/Index.70adae54.js","css/Index.9deb9019.css","js/params.bea1a08d.js","js/ToolsSettings.4a14c135.js","js/Header.ea8bf0f4.js","css/Header.811b035e.css","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/client.93f15631.js","js/Logo.1a5e022a.js","js/QuestionMark.83ebd18e.js","js/Support.b1f25bbd.js","js/Tabs.e6c401d8.js","css/Tabs.0c23c7ca.css","js/TruSeoScore.a520926e.js","js/Information.f4b75b56.js","js/Slide.f5d21606.js","js/Close.5e7bcb70.js","js/Exclamation.356738ce.js","js/Url.781a1d48.js","js/Gear.c974e953.js","js/GettingStarted.d4a9f34e.js","css/GettingStarted.d79900fa.css","js/news-sitemap.e595aa53.js","js/GettingStarted.b43e0d53.js","css/GettingStarted.bc96f39d.css","js/Book.b6a9040c.js","js/Rocket.8cc34606.js","js/Index.92c3733f.js","css/Index.a7e59161.css","js/Index.6d59ffe7.js","css/Index.98642cc9.css"]));default:return new Promise(function(t,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const _=e=>()=>P("../views/"+e+".vue");var R=[{path:"*",redirect:"/about-us"},{path:"/about-us",name:"about-us",component:_("Main"),meta:{access:"aioseo_about_us_page",name:"About Us"}},{path:"/getting-started",name:"getting-started",component:_("Main"),meta:{access:"aioseo_about_us_page",name:"Getting Started"}},{path:"/lite-vs-pro",name:"lite-vs-pro",component:_("Main"),meta:{access:"aioseo_about_us_page",name:"Lite vs. Pro",display:"lite"}}];const s=c(R);l(r,s);new u({router:s,store:r,render:e=>e(A)}).$mount("#aioseo-app");
|
dist/Lite/assets/about.f9dc73ed.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as i,V as u}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.4ee805df.js";import{a as r}from"./js/index.aff2f9f0.js";import{_ as o,s as c,a as l}from"./js/index.b77935e0.js";import"./js/client.93f15631.js";var p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aioseo-app"},[n("router-view")],1)},m=[];const d={},a={};var v=i(d,p,m,!1,f,null,null,null);function f(e){for(let t in a)this[t]=a[t]}var A=function(){return v.exports}();function P(e){switch(e){case"../views/AboutUs.vue":return o(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/AboutUs.839bd17c.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/AboutUs.839bd17c.js","css/AboutUs.da7c9669.css","js/index.aff2f9f0.js","js/vueComponentNormalizer.87056a83.js","js/em.e81bf4a7.js","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/External.8868c638.js"]));case"../views/GettingStarted.vue":return o(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/GettingStarted.6fa2230b.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/GettingStarted.6fa2230b.js","css/GettingStarted.d79900fa.css","js/news-sitemap.e595aa53.js","js/GettingStarted.91405cf9.js","css/GettingStarted.bc96f39d.css","js/index.aff2f9f0.js","js/vueComponentNormalizer.87056a83.js","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/Book.b6a9040c.js","js/index.4ee805df.js","css/index.c71c0ac6.css","js/client.93f15631.js","js/Index.bc7bb735.js","css/Index.a7e59161.css","js/Index.05d0e847.js","css/Index.98642cc9.css"]));case"../views/Main.vue":return o(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/Main.7fa4cd74.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.7fa4cd74.js","css/Main.8b20edfb.css","css/main.545fcad0.css","js/AboutUs.839bd17c.js","css/AboutUs.da7c9669.css","js/index.aff2f9f0.js","js/vueComponentNormalizer.87056a83.js","js/em.e81bf4a7.js","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/External.8868c638.js","js/Index.270770c3.js","css/Index.9deb9019.css","js/params.bea1a08d.js","js/ToolsSettings.60cea1aa.js","js/Header.861bbba4.js","css/Header.811b035e.css","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/index.4ee805df.js","css/index.c71c0ac6.css","js/client.93f15631.js","js/Logo.1a5e022a.js","js/QuestionMark.83ebd18e.js","js/Support.b1f25bbd.js","js/Tabs.3955e0b8.js","css/Tabs.0c23c7ca.css","js/TruSeoScore.a520926e.js","js/Information.f4b75b56.js","js/Slide.f5d21606.js","js/Close.5e7bcb70.js","js/Exclamation.356738ce.js","js/Url.781a1d48.js","js/Gear.c974e953.js","js/GettingStarted.6fa2230b.js","css/GettingStarted.d79900fa.css","js/news-sitemap.e595aa53.js","js/GettingStarted.91405cf9.js","css/GettingStarted.bc96f39d.css","js/Book.b6a9040c.js","js/Index.bc7bb735.js","css/Index.a7e59161.css","js/Index.05d0e847.js","css/Index.98642cc9.css"]));default:return new Promise(function(t,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const _=e=>()=>P("../views/"+e+".vue");var R=[{path:"*",redirect:"/about-us"},{path:"/about-us",name:"about-us",component:_("Main"),meta:{access:"aioseo_about_us_page",name:"About Us"}},{path:"/getting-started",name:"getting-started",component:_("Main"),meta:{access:"aioseo_about_us_page",name:"Getting Started"}},{path:"/lite-vs-pro",name:"lite-vs-pro",component:_("Main"),meta:{access:"aioseo_about_us_page",name:"Lite vs. Pro",display:"lite"}}];const s=c(R);l(r,s);new u({router:s,store:r,render:e=>e(A)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/{connect-pro.3482f8f2.js → connect-pro.ac443566.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.
|
1 |
+
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{s as _,a as o}from"./js/index.0f8634bc.js";import{_ as u,s as c,a as l}from"./js/index.fa3590f5.js";import"./js/client.93f15631.js";var p=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"aioseo-app"},[t("router-view")],1)},m=[];const f={},r={};var v=s(f,p,m,!1,d,null,null,null);function d(n){for(let e in r)this[e]=r[e]}var y=function(){return v.exports}();function w(n){switch(n){case"../views/Main.vue":return u(()=>import(""+(window.__aioseo_dynamic_handler__||function(e){return e})("./js/Main.e81721eb.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.e81721eb.js","css/Main.73ddf534.css","js/AnimatedDannie.02bd3d10.js","css/AnimatedDannie.c13e074e.css","js/vueComponentNormalizer.87056a83.js","js/Card.5e3c0ad5.js","css/Card.a8f40856.css","js/index.0f8634bc.js","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/client.93f15631.js","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/QuestionMark.83ebd18e.js","js/Slide.f5d21606.js","js/Header.ea8bf0f4.js","css/Header.811b035e.css","js/ToolsSettings.4a14c135.js","js/params.bea1a08d.js","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/Logo.1a5e022a.js"]));default:return new Promise(function(e,t){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}const A=n=>()=>w("../views/"+n+".vue");var R=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:_("Connect with %1$s","AIOSEO")}}];const a=c(R);l(o,a);new i({router:a,store:o,render:n=>n(y)}).$mount("#aioseo-app");
|
dist/Lite/assets/connect.1c695e2c.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{s as _,a as o}from"./js/index.0f8634bc.js";import{_ as u,s as c,a as l}from"./js/index.fa3590f5.js";import"./js/client.93f15631.js";var p=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"aioseo-app"},[e("router-view")],1)},m=[];const f={},r={};var v=s(f,p,m,!1,d,null,null,null);function d(n){for(let t in r)this[t]=r[t]}var y=function(){return v.exports}();function w(n){switch(n){case"../views/Main.vue":return u(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/Main.cd662934.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.cd662934.js","css/Main.73ddf534.css","js/AnimatedDannie.02bd3d10.js","css/AnimatedDannie.c13e074e.css","js/vueComponentNormalizer.87056a83.js","js/Card.5e3c0ad5.js","css/Card.a8f40856.css","js/index.0f8634bc.js","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/client.93f15631.js","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/QuestionMark.83ebd18e.js","js/Slide.f5d21606.js","js/Header.ea8bf0f4.js","css/Header.811b035e.css","js/ToolsSettings.4a14c135.js","js/params.bea1a08d.js","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/Logo.1a5e022a.js"]));default:return new Promise(function(t,e){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(e.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}const A=n=>()=>w("../views/"+n+".vue");var R=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:_("Connect with %1$s","AIOSEO")}}];const a=c(R);l(o,a);new i({router:a,store:o,render:n=>n(y)}).$mount("#aioseo-app");
|
dist/Lite/assets/connect.53c8c5c6.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.4ee805df.js";import{s as _,a as o}from"./js/index.aff2f9f0.js";import{_ as u,s as c,a as l}from"./js/index.b77935e0.js";import"./js/client.93f15631.js";var p=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"aioseo-app"},[t("router-view")],1)},m=[];const f={},r={};var v=s(f,p,m,!1,d,null,null,null);function d(n){for(let e in r)this[e]=r[e]}var y=function(){return v.exports}();function w(n){switch(n){case"../views/Main.vue":return u(()=>import(""+(window.__aioseo_dynamic_handler__||function(e){return e})("./js/Main.fdc4ae4f.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.fdc4ae4f.js","css/Main.73ddf534.css","js/AnimatedDannie.02bd3d10.js","css/AnimatedDannie.c13e074e.css","js/vueComponentNormalizer.87056a83.js","js/Card.86b7d3cc.js","css/Card.a8f40856.css","js/index.aff2f9f0.js","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/client.93f15631.js","js/index.4ee805df.js","css/index.c71c0ac6.css","js/QuestionMark.83ebd18e.js","js/Slide.f5d21606.js","js/Header.861bbba4.js","css/Header.811b035e.css","js/ToolsSettings.60cea1aa.js","js/params.bea1a08d.js","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/Logo.1a5e022a.js"]));default:return new Promise(function(e,t){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}const A=n=>()=>w("../views/"+n+".vue");var R=[{path:"*",redirect:"/"},{path:"/",name:"main",component:A("Main"),meta:{access:"aioseo_manage_seo",name:_("Connect with %1$s","AIOSEO")}}];const a=c(R);l(o,a);new i({router:a,store:o,render:n=>n(y)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/css/Advanced.311f50db.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.aioseo-search-appearance-advanced .description-format .add-tags,.aioseo-search-appearance-advanced .paged-format .add-tags{margin-top:0}.aioseo-search-appearance-advanced .description-notice{margin-top:10px}.aioseo-search-appearance-advanced .run-shortcodes-alert{margin-top:12px}
|
dist/Lite/assets/css/Advanced.d50d6d55.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.aioseo-search-appearance-advanced .inline-upsell{display:inline-flex;margin-top:20px}.aioseo-search-appearance-advanced .description-format .add-tags,.aioseo-search-appearance-advanced .paged-format .add-tags{margin-top:0}.aioseo-search-appearance-advanced .description-notice{margin-top:10px}
|
|
dist/Lite/assets/css/{App.64b88139.css → App.0168e3ed.css}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
.aioseo-robots-meta .global-robots-settings{margin:0;padding-top:24px}.aioseo-robots-meta .global-robots-settings>.settings{padding:8px 0 16px}.aioseo-robots-meta .global-robots-settings-options{display:flex}[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-snippet{margin-right:30px}[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-snippet{margin-left:30px}.aioseo-robots-meta .global-robots-settings-options .max-snippet .aioseo-input{max-width:90px}[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-right:30px}[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-left:30px}.aioseo-robots-meta .global-robots-settings-options .max-video-preview .aioseo-input{max-width:90px}.aioseo-robots-meta .global-robots-settings-options .max-image-preview .aioseo-select{min-width:155px}.aioseo-robots-meta .global-robots-settings-options>span{display:inline-block;margin-bottom:4px}@media screen and (max-width: 782px){.aioseo-robots-meta .global-robots-settings-options{display:block}.aioseo-robots-meta .global-robots-settings-options .max-snippet,.aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-bottom:20px}[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-snippet,[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-right:0}[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-snippet,[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-left:0}.aioseo-robots-meta .global-robots-settings-options>div .aioseo-input,.aioseo-robots-meta .global-robots-settings-options>div .aioseo-select{min-width:100%}}.edit-post-sidebar .global-robots-settings{padding-top:12px}.edit-post-sidebar .global-robots-settings>.settings{padding:4px 0 12px}.edit-post-sidebar .global-robots-settings>.settings label{font-size:16px}.edit-post-sidebar .global-robots-settings .robots-meta-title{padding-top:4px;display:inline-block}.edit-post-sidebar .global-robots-settings-options{flex-wrap:wrap}[dir=ltr] .edit-post-sidebar .max-snippet{margin-right:30px!important}[dir=rtl] .edit-post-sidebar .max-snippet{margin-left:30px!important}[dir=ltr] .edit-post-sidebar .max-video-preview{margin-right:0!important}[dir=rtl] .edit-post-sidebar .max-video-preview{margin-left:0!important}.edit-post-sidebar .max-image-preview{margin-top:20px!important}.aioseo-post-advanced .inline-upsell{display:inline-flex;margin-top:20px}.aioseo-post-advanced .selectbox-row{display:flex;align-items:center}.aioseo-post-advanced .selectbox-row .separator{display:inline-block;margin:0 20px;padding-bottom:10px;align-self:flex-end}.aioseo-post-advanced .selectbox-row .select{display:inline-block;width:100%;max-width:125px}.aioseo-post-advanced .selectbox-row .select>span{display:inline-block;font-size:14px;margin-bottom:10px}.aioseo-card.aioseo-sidebar-card .header{height:46px}.aioseo-card.aioseo-sidebar-card .header:hover{cursor:pointer}.aioseo-card.aioseo-sidebar-card .content{padding-bottom:8px!important}.aioseo-card.aioseo-sidebar-card ul{margin-bottom:0}.aioseo-card.aioseo-sidebar-card ul li{margin-bottom:16px}[dir=ltr] .aioseo-card.aioseo-sidebar-card ul li{padding-left:25px}[dir=rtl] .aioseo-card.aioseo-sidebar-card ul li{padding-right:25px}.aioseo-card.aioseo-sidebar-card ul .description{margin:0}.aioseo-analysis-detail{margin:0 0 35px}.aioseo-analysis-detail li{position:relative;margin-bottom:24px}[dir=ltr] .aioseo-analysis-detail li{padding-left:24px}[dir=rtl] .aioseo-analysis-detail li{padding-right:24px}.aioseo-analysis-detail li svg{position:relative;top:3px}[dir=ltr] .aioseo-analysis-detail li svg{left:0}[dir=rtl] .aioseo-analysis-detail li svg{right:0}.aioseo-analysis-detail li svg.aioseo-circle-check{color:#00aa63}.aioseo-analysis-detail li svg.aioseo-circle-close{color:#df2a4a}.aioseo-analysis-detail li svg.aioseo-circle-check,.aioseo-analysis-detail li svg.aioseo-circle-close{position:absolute;top:5px}[dir=ltr] .aioseo-analysis-detail li svg.aioseo-circle-check,[dir=ltr] .aioseo-analysis-detail li svg.aioseo-circle-close{left:0}[dir=rtl] .aioseo-analysis-detail li svg.aioseo-circle-check,[dir=rtl] .aioseo-analysis-detail li svg.aioseo-circle-close{right:0}.aioseo-analysis-detail li svg.aioseo-caret{cursor:pointer;transition:transform .3s}[dir=ltr] .aioseo-analysis-detail li svg.aioseo-caret{transform:rotate(-180deg)}[dir=rtl] .aioseo-analysis-detail li svg.aioseo-caret{transform:rotate(180deg)}.aioseo-analysis-detail li .title{margin-bottom:6px!important}[dir=ltr] .aioseo-analysis-detail li .title.toggled .aioseo-caret{transform:rotate(-90deg)}[dir=rtl] .aioseo-analysis-detail li .title.toggled .aioseo-caret{transform:rotate(90deg)}.aioseo-analysis-detail li .title.toggled+.description{opacity:0;height:0;margin:0}.aioseo-analysis-detail li .description{font-size:14px;font-style:normal;opacity:1;height:auto;transition:all .3s}.edit-post-sidebar .aioseo-analysis-detail .title{font-size:14px}.edit-post-sidebar .aioseo-analysis-detail .description{font-size:13px;line-height:1.5;color:#555d66}.aioseo-description.additional-keyphrases-description[data-v-56bb2387],.edit-post-sidebar .aioseo-app .aioseo-description.additional-keyphrases-description[data-v-56bb2387]{margin:0 0 20px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .modal-body{max-height:calc(90vh - 70px);overflow:auto}.aioseo-app.aioseo-focus-keyphrase-panel-modal .modal-body .aioseo-modal-content .aioseo-alert{margin-bottom:20px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .semrush-country-selector{max-width:350px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table{width:100%;border:1px solid #D0D1D7;border-radius:3px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-volume,.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-trend{text-align:center}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions>div{display:flex;align-items:center;justify-content:flex-end}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase{display:flex;align-items:center;justify-content:flex-end;color:#00aa63;min-width:135px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase svg{width:16px;height:16px;color:#00aa63}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase svg{margin-right:5px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase svg{margin-left:5px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score{border-radius:3px;padding:5px;font-weight:700;font-size:13px;cursor:pointer;border:1px solid #005AE0}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score.score-green{color:#00aa63;border-color:#00aa63}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score.score-orange{color:#f18200;border-color:#f18200}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score.score-red{color:#df2a4a;border-color:#df2a4a}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover{background-color:#005ae0;color:#fff}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover.score-green{background-color:#00aa63}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover.score-orange{background-color:#f18200}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover.score-red{background-color:#df2a4a}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .remove-keyphrase{display:flex;align-items:center;justify-content:flex-end}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .remove-keyphrase svg{width:16px;height:16px;cursor:pointer}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .remove-keyphrase svg:hover{color:#df2a4a}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header{height:50px;font-size:14px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th{border-bottom:1px solid #D0D1D7;padding:15px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:first-of-type{padding-left:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:first-of-type{padding-right:30px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:last-of-type{padding-right:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:last-of-type{padding-left:30px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows{font-size:14px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row{background-color:#fff;height:70px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:first-of-type{border-radius:0 0 0 3px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:first-of-type{border-radius:0 0 3px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:last-of-type{border-radius:0 0 3px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:last-of-type{border-radius:0 0 0 3px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row.even{background-color:#f9f9fa}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td{padding:15px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:first-of-type{padding-left:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:first-of-type{padding-right:30px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:last-of-type{padding-right:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:last-of-type{padding-left:30px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results>*{display:flex;align-items:center;justify-content:center}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results .semrush-logo{min-width:150px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results .semrush-logo{padding:0 30px 0 0}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results .semrush-logo{padding:0 0 0 30px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row.loading{display:flex;align-items:center;justify-content:center}.aioseo-app .aioseo-post-general .page-analysis-panel .aioseo-tabs{background:#fff}.aioseo-app .aioseo-post-general .page-analysis-panel .aioseo-tabs .md-button-content{display:flex}.aioseo-app .aioseo-post-general .page-analysis-panel .aioseo-tabs .md-button{font-weight:700}.aioseo-post-general svg.aioseo-circle-question-mark{width:17px;height:17px;color:#8c8f99;transition:background-color .2s ease}.aioseo-post-general svg.aioseo-circle-question-mark:hover{color:#5a5c65}.aioseo-post-general .mobile-radio-buttons{margin:0!important;padding:0!important;border:0}.aioseo-post-general .mobile-radio-buttons>.aioseo-col{padding:0}.aioseo-post-general .mobile-radio-buttons .aioseo-radio-toggle{justify-content:flex-end}[dir=ltr] .aioseo-post-general .mobile-radio-buttons .aioseo-radio-toggle>div{margin-left:10px}[dir=rtl] .aioseo-post-general .mobile-radio-buttons .aioseo-radio-toggle>div{margin-right:10px}.aioseo-post-general .ismobile{max-width:375px}.aioseo-post-general .edit-snippet,.aioseo-post-general .add-keyphrase{margin-top:12px;border:1px solid #DCDDE1}[dir=ltr] .aioseo-post-general .edit-snippet svg,[dir=ltr] .aioseo-post-general .add-keyphrase svg{margin-right:5px}[dir=rtl] .aioseo-post-general .edit-snippet svg,[dir=rtl] .aioseo-post-general .add-keyphrase svg{margin-left:5px}.aioseo-post-general .disabled-button{margin-top:12px;border:1px solid #dcdde1;color:#8c8f9a;background-color:#f3f4f5;cursor:default;height:30px;font-size:14px;padding:0 12px;flex-shrink:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;font-weight:600;border-radius:4px;-webkit-appearance:none;transition:background-color .2s ease;position:relative;overflow:hidden;text-decoration:none;white-space:nowrap}[dir=ltr] .aioseo-post-general .disabled-button svg{margin-right:5px}[dir=rtl] .aioseo-post-general .disabled-button svg{margin-left:5px}.aioseo-post-general .aioseo-toggle{display:block}.aioseo-post-general .aioseo-toggle .toggle-content input:checked+.toggle-switch{border:1px solid #00AA63;background-color:#00aa63}.aioseo-post-general .aioseo-keyphrase-tag{display:inline-block;margin-bottom:16px;border-radius:3px;font-size:14px;font-weight:700}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag{margin-right:10px}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag{margin-left:10px}.aioseo-post-general .aioseo-keyphrase-tag.selected{position:relative}.aioseo-post-general .aioseo-keyphrase-tag.selected:before,.aioseo-post-general .aioseo-keyphrase-tag.selected:after{content:"";position:absolute;display:block;z-index:10;bottom:-17px;border-style:solid}.aioseo-post-general .aioseo-keyphrase-tag.selected:before{border-width:0 10px 10px 10px;border-color:transparent transparent #E8E8EB transparent}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag.selected:before{left:calc(50% - 6px)}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag.selected:before{right:calc(50% - 6px)}.aioseo-post-general .aioseo-keyphrase-tag.selected:after{border-width:0 8px 8px 8px;border-color:transparent transparent #fff transparent}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag.selected:after{left:calc(50% - 4px)}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag.selected:after{right:calc(50% - 4px)}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag{display:block;padding:9px 10px;border:1px solid #F3F4F5;border-radius:3px;background:#F3F4F5;cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag.hidden{opacity:0;height:0;padding:0}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-name{cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-edit{opacity:0;margin:0 8px;cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score{cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score.score-green{color:#00aa63}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score.score-orange{color:#f18200}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score.score-red{color:#df2a4a}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag{position:relative}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag>input{width:100%;padding:8px 10px;border:1px solid #E8E8EB;border-radius:3px}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete{position:absolute;top:2px;width:16px;height:16px;display:block;cursor:pointer}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete{right:10px}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete{left:10px}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete:hover{color:#df2a4a}.aioseo-post-general .aioseo-keyphrase-tag:hover .keyphrase-edit{opacity:1}.aioseo-post-general .focus-keyphrase-panel .aioseo-analysis-detail{margin-bottom:0}.aioseo-post-general .analysis-wrapper{border-top:1px solid #E8E8EB}.aioseo-post-general .analysis-loading{position:relative;margin-top:16px}.edit-post-sidebar .aioseo-google-search-preview{padding:10px}.edit-post-sidebar .aioseo-button.edit-snippet{display:inline-flex}.edit-post-sidebar .snippet-focus-keyphrases-row{border-bottom:none;margin-bottom:0!important}.edit-post-sidebar .snippet-preview-row{padding-bottom:0!important;border-bottom:none}.edit-post-sidebar .card-focus-keyphrase,.edit-post-sidebar .card-additional-keyphrase,.edit-post-sidebar .card-basic-seo,.edit-post-sidebar .card-title-seo,.edit-post-sidebar .card-readability-seo{margin:0 -1rem;box-shadow:none;border:none;border-top:1px solid #E8E8EB}.edit-post-sidebar .card-focus-keyphrase .header,.edit-post-sidebar .card-additional-keyphrase .header,.edit-post-sidebar .card-basic-seo .header,.edit-post-sidebar .card-title-seo .header,.edit-post-sidebar .card-readability-seo .header{padding:1rem;border-bottom:none;font-size:14px;font-weight:700}.edit-post-sidebar .card-focus-keyphrase .content,.edit-post-sidebar .card-additional-keyphrase .content,.edit-post-sidebar .card-basic-seo .content,.edit-post-sidebar .card-title-seo .content,.edit-post-sidebar .card-readability-seo .content{padding:24px 16px;font-size:14px;border-top:1px solid #E8E8EB}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-additional-keyphrase .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-basic-seo .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-title-seo .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-readability-seo .aioseo-analysis-detail:last-of-type{margin-bottom:0}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-additional-keyphrase .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-basic-seo .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-title-seo .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-readability-seo .aioseo-analysis-detail:last-of-type .title{margin-bottom:0}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail{margin:16px 0!important}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail:empty{margin:16px}.edit-post-sidebar .card-focus-keyphrase .add-keyphrase{width:100%}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail,.edit-post-sidebar .card-additional-keyphrase .aioseo-analysis-detail{margin:0 0 16px!important}.edit-post-sidebar .card-focus-keyphrase .add-keyphrase,.edit-post-sidebar .card-additional-keyphrase .add-keyphrase{width:100%;margin-bottom:16px}.edit-post-sidebar .card-readability-seo{border-bottom:1px solid #E8E8EB}.edit-post-sidebar .aioseo-keyphrase-tag{display:block;margin-bottom:10px}[dir=ltr] .edit-post-sidebar .aioseo-keyphrase-tag{margin-right:0}[dir=rtl] .edit-post-sidebar .aioseo-keyphrase-tag{margin-left:0}.edit-post-sidebar .aioseo-keyphrase-tag:after{content:none!important}.edit-post-sidebar .aioseo-keyphrase-tag.selected{border:2px solid #E8E8EB}.edit-post-sidebar .aioseo-keyphrase-tag.selected:before,.edit-post-sidebar .aioseo-keyphrase-tag.selected:after{content:none}.edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag{display:flex;width:100%}.edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag .keyphrase-score{flex:1}[dir=ltr] .edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag .keyphrase-score{text-align:right}[dir=rtl] .edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag .keyphrase-score{text-align:left}.edit-post-sidebar .card-basic-seo .aioseo-analysis-detail,.edit-post-sidebar .card-title-seo .aioseo-analysis-detail,.edit-post-sidebar .card-readability-seo .aioseo-analysis-detail{margin-top:0}.edit-post-sidebar .analysis-wrapper{border-top:none}.aioseo-modal-content>.aioseo-settings-row{border:none;margin-bottom:0!important}.aioseo-modal-content .aioseo-post-general>.mobile-radio-buttons{position:absolute;top:18px;margin-bottom:0;padding-bottom:0}[dir=ltr] .aioseo-modal-content .aioseo-post-general>.mobile-radio-buttons{right:40px}[dir=rtl] .aioseo-modal-content .aioseo-post-general>.mobile-radio-buttons{left:40px}.aioseo-modal-content .settings-name .name{font-size:16px!important;margin-bottom:6px!important}.aioseo-modal-content .snippet-title-row,.aioseo-modal-content .snippet-description-row{position:relative;display:block;margin-top:32px}.aioseo-modal-content .snippet-title-row .settings-name,.aioseo-modal-content .snippet-description-row .settings-name{margin-bottom:8px}.aioseo-modal-content .snippet-title-row .aioseo-description,.aioseo-modal-content .snippet-description-row .aioseo-description{display:none}.aioseo-modal-content .snippet-title-row .add-tags,.aioseo-modal-content .snippet-description-row .add-tags{position:absolute;top:0;margin:0}[dir=ltr] .aioseo-modal-content .snippet-title-row .add-tags,[dir=ltr] .aioseo-modal-content .snippet-description-row .add-tags{right:8px}[dir=rtl] .aioseo-modal-content .snippet-title-row .add-tags,[dir=rtl] .aioseo-modal-content .snippet-description-row .add-tags{left:8px}@media screen and (max-width: 520px){.aioseo-modal-content .snippet-title-row .add-tags .aioseo-add-template-tag,.aioseo-modal-content .snippet-description-row .add-tags .aioseo-add-template-tag{display:none}}.aioseo-modal-content .snippet-title-row{margin-top:24px;padding-bottom:24px!important}.aioseo-modal-content .snippet-preview-row,.aioseo-modal-content .snippet-description-row{border:none;margin-bottom:0!important;padding-bottom:0!important}.aioseo-modal-content .snippet-pillar-row{display:none}.aioseo-modal-content .component-wrapper .aioseo-settings-row>.aioseo-col{padding-top:.5rem!important}.aioseo-modal-content .component-wrapper .aioseo-google-search-preview{padding:32px 28px!important}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button:not(.md-active){min-width:72px!important;margin:0!important}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button:hover{background-color:#e2e3e6}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button:before{border-radius:100%!important;display:none}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button .label{display:inline!important}.aioseo-modal-content .mobile-radio-buttons .aioseo-tabs .md-button:not(.md-active){margin:0!important}.aioseo-modal-content .mobile-radio-buttons .aioseo-tabs .md-button:not(.md-active):before{top:0!important}.aioseo-link-assistant-sidebar{padding:20px 16px}.aioseo-link-assistant-sidebar .open-link-assistant-modal{margin-top:12px;border:1px solid #DCDDE1;align-items:center}.aioseo-link-assistant-sidebar .open-link-assistant-modal svg{width:10px;height:10px}[dir=ltr] .aioseo-link-assistant-sidebar .open-link-assistant-modal svg{margin-right:8px}[dir=rtl] .aioseo-link-assistant-sidebar .open-link-assistant-modal svg{margin-left:8px}.aioseo-link-assistant-sidebar .open-link-assistant-copy>.col-md-3{display:none}.aioseo-app .aioseo-confirmation-modal .modal-container{max-width:650px!important}.aioseo-app .aioseo-confirmation-modal .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center!important;justify-content:center;flex-direction:column;position:relative}.aioseo-app .aioseo-confirmation-modal .aioseo-button:not(.close){margin-top:16px}.aioseo-app .aioseo-confirmation-modal .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.aioseo-app .aioseo-confirmation-modal h3{font-size:20px;margin-bottom:16px;text-align:center}.aioseo-app .aioseo-confirmation-modal .reset-description{font-size:16px;color:#141b38;margin-bottom:16px;text-align:center;max-width:515px}.aioseo-app .aioseo-confirmation-modal button.close{position:absolute;top:11px;width:24px;height:24px;background-color:#fff;border:none;display:flex;align-items:center}[dir=ltr] .aioseo-app .aioseo-confirmation-modal button.close{right:11px}[dir=rtl] .aioseo-app .aioseo-confirmation-modal button.close{left:11px}.aioseo-app .aioseo-confirmation-modal button.close svg.aioseo-close{cursor:pointer;width:14px;height:14px}.aioseo-app .aioseo-confirmation-modal .aioseo-description{max-width:510px;text-align:center}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip{display:inline!important;margin:0;font-size:0px;line-height:100%}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip span{font-size:14px}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip .anchor{text-decoration:underline;color:#005ae0;white-space:normal}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip .anchor:hover{cursor:pointer}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip a.tooltip-url{text-decoration:underline;color:#fff}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip a.tooltip-url:hover{text-decoration:none}[dir=ltr] .aioseo-app .aioseo-link-assistant-phrase .icons{margin-left:10px}[dir=rtl] .aioseo-app .aioseo-link-assistant-phrase .icons{margin-right:10px}.aioseo-link-assistant,.aioseo-link-assistant-modal{padding:0!important}.aioseo-link-assistant .aioseo-wp-table tbody th.check-column,.aioseo-link-assistant .aioseo-wp-table tbody td,.aioseo-link-assistant-modal .aioseo-wp-table tbody th.check-column,.aioseo-link-assistant-modal .aioseo-wp-table tbody td{font-size:14px}.aioseo-link-assistant .aioseo-wp-table tbody .date,.aioseo-link-assistant-modal .aioseo-wp-table tbody .date{font-size:13px}.aioseo-link-assistant .aioseo-wp-table tr.edit-row .edit-row-content,.aioseo-link-assistant-modal .aioseo-wp-table tr.edit-row .edit-row-content,.aioseo-link-assistant .aioseo-wp-table tr.edit-row .edit-row-content .wrapper .border,.aioseo-link-assistant-modal .aioseo-wp-table tr.edit-row .edit-row-content .wrapper .border{padding:0}.aioseo-link-assistant .aioseo-wp-table .tablenav,.aioseo-link-assistant-modal .aioseo-wp-table .tablenav{font-size:13px!important}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button{display:flex;width:30px;height:26px;padding:0;justify-content:center;align-items:center;background-color:#fff;border:1px solid #DCDDE1;border-radius:3px}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button:hover,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button:hover{cursor:pointer;background-color:#f9f9fa}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active{background-color:#005ae0;border:1px solid #005AE0}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active:hover,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active:hover{background-color:#1a82ea}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret{color:#fff}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret{transform:rotate(-180deg)}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret{transform:rotate(180deg)}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button svg.aioseo-caret,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button svg.aioseo-caret{margin:0;height:20px;width:20px;color:#8c8f9a;transition:transform .3s}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button svg.aioseo-caret,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button svg.aioseo-caret{transform:rotate(-90deg)}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button svg.aioseo-caret,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button svg.aioseo-caret{transform:rotate(90deg)}.aioseo-link-assistant .aioseo-wp-table .row-actions a,.aioseo-link-assistant-modal .aioseo-wp-table .row-actions a{font-size:13px;line-height:150%}.aioseo-link-assistant .aioseo-wp-table .row-actions a.delete-all-links,.aioseo-link-assistant-modal .aioseo-wp-table .row-actions a.delete-all-links{color:#df2a4a}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table svg,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table svg{margin-right:11.22px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table svg,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table svg{margin-left:11.22px}.aioseo-link-assistant .aioseo-wp-table svg.aioseo-link-external,.aioseo-link-assistant-modal .aioseo-wp-table svg.aioseo-link-external{color:#005ae0;width:10.5px;height:10.5px}.aioseo-link-assistant .aioseo-wp-table svg.aioseo-new-page,.aioseo-link-assistant-modal .aioseo-wp-table svg.aioseo-new-page{color:#434960;width:9.33px;height:11.67px}.aioseo-link-assistant .aioseo-tooltip .popper.action a.tooltip-url,.aioseo-link-assistant-modal .aioseo-tooltip .popper.action a.tooltip-url{white-space:normal!important}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav{height:auto}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions{margin:10px 0 16px 16px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions,[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination{margin:10px 16px 16px 0}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination{margin:10px 0 16px 16px}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table{border:0;padding:0}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th.manage-column,.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td.manage-column,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th.manage-column,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td.manage-column{border-bottom:1px solid #c3c4c7!important}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th{padding:8px 10px!important}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type{padding-left:15px!important}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type{padding-right:15px!important}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td{padding:4px 0 0 8px!important}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td{padding:4px 8px 0 0!important}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr .row-actions,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr .row-actions{position:relative}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr:hover .row-actions,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr:hover .row-actions{position:static}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th{padding:11px 0 0 8px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th{padding:11px 8px 0 0}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type{padding-left:15px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type{padding-right:15px}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip{display:inline-block}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip{margin-left:0}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip{margin-right:0}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash{width:18px;height:22px;color:#8c8f9a;cursor:pointer;transition:color .1s ease;margin-top:2px}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash:hover,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash:hover{color:#df2a4a}.aioseo-link-assistant .aioseo-tabs.link-tabs,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs{border-bottom:1px solid #E8E8EB;background-color:#fff}[dir=ltr] .aioseo-link-assistant .aioseo-tabs.link-tabs .aioseo-mobile-tabs,[dir=ltr] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs .aioseo-mobile-tabs{margin-left:10px}[dir=rtl] .aioseo-link-assistant .aioseo-tabs.link-tabs .aioseo-mobile-tabs,[dir=rtl] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs .aioseo-mobile-tabs{margin-right:10px}.aioseo-link-assistant .aioseo-tabs.link-tabs .md-tabs-navigation,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs .md-tabs-navigation{margin-top:0}.aioseo-link-assistant .aioseo-tabs.link-tabs .md-button-content,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs .md-button-content{display:flex;align-items:center;column-gap:11.75px}.aioseo-link-assistant .aioseo-tabs.link-tabs svg,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg{width:11px;height:11px;margin-top:3px}[dir=ltr] .aioseo-link-assistant .aioseo-tabs.link-tabs svg,[dir=ltr] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg{margin-right:0}[dir=rtl] .aioseo-link-assistant .aioseo-tabs.link-tabs svg,[dir=rtl] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg{margin-left:0}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-internal-inbound,.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-internal-outbound,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-internal-inbound,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-internal-outbound{color:#00aa63}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-external,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-external{color:#005ae0}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-affiliate,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-affiliate{color:#f18200;width:12px;height:12px;margin-top:2px}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-suggestion,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-suggestion{color:#2c324c;width:16.67px;height:8.33px}.aioseo-link-assistant .aioseo-tabs svg,.aioseo-link-assistant-modal .aioseo-tabs svg{display:inline-block!important}.aioseo-link-assistant div.links-bottom,.aioseo-link-assistant-modal div.links-bottom{display:flex;flex-direction:row;padding:17px 17px 24px}.aioseo-link-assistant div.links-bottom a,.aioseo-link-assistant-modal div.links-bottom a{text-decoration:underline}.aioseo-link-assistant div.links-bottom a.link-delete,.aioseo-link-assistant-modal div.links-bottom a.link-delete{color:#df2a4a!important}.aioseo-link-assistant div.links-bottom a:hover,.aioseo-link-assistant-modal div.links-bottom a:hover{text-decoration:none;cursor:pointer}.aioseo-link-assistant div.links-bottom .links-bottom-left,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left{display:flex;flex:1 1 auto;column-gap:28px;align-items:center}.aioseo-link-assistant div.links-bottom .links-bottom-left div,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left div{display:flex;align-items:center}[dir=ltr] .aioseo-link-assistant div.links-bottom .links-bottom-left div svg,[dir=ltr] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left div svg{margin-right:10px}[dir=rtl] .aioseo-link-assistant div.links-bottom .links-bottom-left div svg,[dir=rtl] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left div svg{margin-left:10px}.aioseo-link-assistant div.links-bottom .links-bottom-left button svg,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left button svg{margin-top:2.5px;width:14px;height:14px;color:#fff}[dir=ltr] .aioseo-link-assistant div.links-bottom .links-bottom-left button svg,[dir=ltr] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left button svg{margin-right:10px}[dir=rtl] .aioseo-link-assistant div.links-bottom .links-bottom-left button svg,[dir=rtl] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left button svg{margin-left:10px}.aioseo-link-assistant div.links-bottom .links-bottom-left svg.aioseo-link-external,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left svg.aioseo-link-external{margin-top:3.5px;width:11px;height:11px;color:#005ae0}.aioseo-link-assistant div.links-bottom .links-bottom-right,.aioseo-link-assistant-modal div.links-bottom .links-bottom-right{display:flex;align-items:center}.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container{max-width:1300px}.aioseo-link-assistant-modal .modal-body{align-items:start;padding:20px 50px 50px}.aioseo-link-assistant-modal .modal-body .title-header{margin:45px 0 0;align-self:start}.aioseo-link-assistant-modal .modal-body .title-header span{font-weight:700;font-size:20px;line-height:140%;color:#141b38}@media (max-width: 1500px){.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container{max-width:1000px}}@media (max-width: 1150px){.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container{max-width:750px}.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container .modal-body{padding:0 50px 50px}}.tab-facebook .facebook-image-upload{display:flex}.tab-facebook .facebook-image-upload .aioseo-input{max-width:445px}[dir=ltr] .tab-facebook .facebook-image-upload .aioseo-input{margin-right:10px}[dir=rtl] .tab-facebook .facebook-image-upload .aioseo-input{margin-left:10px}.tab-facebook .facebook-image-upload .insert-image{min-width:214px}[dir=ltr] .tab-facebook .facebook-image-upload .insert-image{margin-right:10px}[dir=rtl] .tab-facebook .facebook-image-upload .insert-image{margin-left:10px}.tab-facebook .facebook-image-upload .insert-image svg.aioseo-circle-plus{width:13px;height:13px}[dir=ltr] .tab-facebook .facebook-image-upload .insert-image svg.aioseo-circle-plus{margin-right:10px}[dir=rtl] .tab-facebook .facebook-image-upload .insert-image svg.aioseo-circle-plus{margin-left:10px}.tab-facebook .facebook-image img{margin-top:20px;width:auto;max-width:525px;max-height:525px;height:auto}.tab-facebook .facebook-image.vertical img{max-width:158px;max-height:158px}.tab-facebook .facebook-meta-input{margin-top:10px}.tab-twitter .twitter-image-upload{display:flex}.tab-twitter .twitter-image-upload .aioseo-input{max-width:445px}[dir=ltr] .tab-twitter .twitter-image-upload .aioseo-input{margin-right:10px}[dir=rtl] .tab-twitter .twitter-image-upload .aioseo-input{margin-left:10px}.tab-twitter .twitter-image-upload .insert-image{min-width:214px}[dir=ltr] .tab-twitter .twitter-image-upload .insert-image{margin-right:10px}[dir=rtl] .tab-twitter .twitter-image-upload .insert-image{margin-left:10px}.tab-twitter .twitter-image-upload .insert-image svg.aioseo-circle-plus{width:13px;height:13px}[dir=ltr] .tab-twitter .twitter-image-upload .insert-image svg.aioseo-circle-plus{margin-right:10px}[dir=rtl] .tab-twitter .twitter-image-upload .insert-image svg.aioseo-circle-plus{margin-left:10px}.tab-twitter .twitter-image img{margin-top:20px;width:auto;max-width:525px;max-height:525px;height:auto}.tab-twitter .twitter-image.vertical img{max-width:158px;max-height:158px}.tab-twitter .twitter-image-source,.tab-twitter .twitter-custom-field{padding-top:8px!important;padding-bottom:24px!important}.tab-twitter .twitter-image,.tab-twitter .twitter-card-type{padding-top:8px!important}.tab-twitter .use-facebook{margin-bottom:32px!important;padding-bottom:32px!important}.tab-twitter .aioseo-settings-row:last-of-type{margin-bottom:32px!important;padding-bottom:32px!important}.open-social-modal{margin:12px 0;border:1px solid #DCDDE1}[dir=ltr] .open-social-modal svg{margin-right:5px}[dir=rtl] .open-social-modal svg{margin-left:5px}.open-social-copy>.col-md-3{display:none}.aioseo-post-social .aioseo-col.col-md-9{position:relative}.aioseo-post-social .mobile-radio-buttons{margin:0;padding:0;border:0}.aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle{justify-content:flex-end;position:absolute;top:12px}[dir=ltr] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle{right:20px}[dir=rtl] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle{left:20px}[dir=ltr] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle>div{margin-left:10px}[dir=rtl] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle>div{margin-right:10px}[dir=ltr] .aioseo-post-social .mobile-radio-buttons .col-md-9{padding-left:4px;padding-right:0}[dir=rtl] .aioseo-post-social .mobile-radio-buttons .col-md-9{padding-right:4px;padding-left:0}.aioseo-post-social .ismobile,.aioseo-post-social .ismobilecard .facebook-post,.aioseo-post-social .ismobilecard .twitter-post{max-width:375px}.aioseo-post-social .aioseo-tabs{background:#fff!important;border:none!important;border-bottom:2px solid #E8E8EB!important}.edit-post-sidebar .tab-facebook,.edit-post-sidebar .tab-twitter,.edit-post-sidebar .mobile-radio-buttons{display:none}.aioseo-modal-content .mobile-radio-buttons{padding-bottom:0!important}.aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{top:8px!important}[dir=ltr] .aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{right:0!important}[dir=rtl] .aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{left:0!important}@media screen and (max-width: 520px){.aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{display:none}}.aioseo-modal-content .tab-facebook,.aioseo-modal-content .tab-twitter{display:block}.aioseo-modal-content .tab-facebook .aioseo-settings-row:first-of-type,.aioseo-modal-content .tab-twitter .aioseo-settings-row:first-of-type{border-bottom:0;padding-bottom:0}.aioseo-modal-content .tab-facebook .aioseo-settings-row:first-of-type .aioseo-col:first-of-type,.aioseo-modal-content .tab-twitter .aioseo-settings-row:first-of-type .aioseo-col:first-of-type{display:none}.aioseo-modal-content .tab-facebook .aioseo-html-tags-editor,.aioseo-modal-content .tab-twitter .aioseo-html-tags-editor{margin-top:0}.aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .aioseo-description,.aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .aioseo-description{display:none}.aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .add-tags,.aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .add-tags{position:absolute;top:-40px;margin:0}[dir=ltr] .aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .add-tags,[dir=ltr] .aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .add-tags{right:8px}[dir=rtl] .aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .add-tags,[dir=rtl] .aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .add-tags{left:8px}.aioseo-modal-content .tab-facebook .facebook-title-settings,.aioseo-modal-content .tab-facebook .facebook-description-settings,.aioseo-modal-content .tab-facebook .twitter-title-settings,.aioseo-modal-content .tab-facebook .twitter-description-settings,.aioseo-modal-content .tab-twitter .facebook-title-settings,.aioseo-modal-content .tab-twitter .facebook-description-settings,.aioseo-modal-content .tab-twitter .twitter-title-settings,.aioseo-modal-content .tab-twitter .twitter-description-settings{padding-bottom:24px}.aioseo-modal-content .tab-facebook .facebook-title-settings .col-md-9,.aioseo-modal-content .tab-facebook .facebook-description-settings .col-md-9,.aioseo-modal-content .tab-facebook .twitter-title-settings .col-md-9,.aioseo-modal-content .tab-facebook .twitter-description-settings .col-md-9,.aioseo-modal-content .tab-twitter .facebook-title-settings .col-md-9,.aioseo-modal-content .tab-twitter .facebook-description-settings .col-md-9,.aioseo-modal-content .tab-twitter .twitter-title-settings .col-md-9,.aioseo-modal-content .tab-twitter .twitter-description-settings .col-md-9{padding-top:0!important;margin-top:0}.aioseo-modal-content .mobile-radio-buttons{display:block!important}.aioseo-modal-content .mobile-radio-buttons>.col-md-3{display:none}.aioseo-modal-content .mobile-radio-buttons>.col-md-9{padding:0;flex-basis:100%!important;max-width:100%!important}.aioseo-modal-content .aioseo-settings-row>.col-md-3{padding-bottom:0}.aioseo-modal-content .aioseo-settings-row>.col-md-3,.aioseo-modal-content .aioseo-settings-row>.col-md-9{flex-basis:100%;max-width:100%}[dir=ltr] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs.internal{padding-left:40px}[dir=rtl] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs.internal{padding-right:40px}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button-content{display:flex;align-items:center}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button-content svg{display:inline;width:16px;height:16px}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button:before{height:auto!important;border-radius:0!important}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button .label{display:inline!important}[dir=ltr] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button .label{margin-left:10px}[dir=rtl] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button .label{margin-right:10px}.aioseo-modal-content>.aioseo-settings-row.mobile-radio-buttons .md-button{max-height:46px}.aioseo-modal-content .aioseo-tab-content{position:relative;padding:30px 40px!important}.aioseo-modal-content .aioseo-tab-content.aioseo-post-social{padding:22px 40px!important}.open-redirects-modal[data-v-11818a4c]{margin:12px 0}.open-redirects-modal svg[data-v-11818a4c]{width:10px;height:10px}[dir=ltr] .open-redirects-modal svg[data-v-11818a4c]{margin-right:8px}[dir=rtl] .open-redirects-modal svg[data-v-11818a4c]{margin-left:8px}.aioseo-redirects .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.aioseo-redirects .aioseo-modal-body h3{font-size:20px;margin-bottom:16px}.aioseo-redirects .aioseo-modal-body .label{padding-bottom:5px;color:#141b38;font-size:14px;font-weight:700}.aioseo-redirects .aioseo-modal-body .reset-description{font-size:16px;color:#141b38;margin-bottom:16px;text-align:center;max-width:515px}.aioseo-redirects .aioseo-modal-body button.close{position:absolute;top:11px;width:24px;height:24px;background-color:#fff;border:none;display:flex;align-items:center}[dir=ltr] .aioseo-redirects .aioseo-modal-body button.close{right:11px}[dir=rtl] .aioseo-redirects .aioseo-modal-body button.close{left:11px}.aioseo-redirects .aioseo-modal-body button.close svg.aioseo-close{cursor:pointer;width:14px;height:14px}.aioseo-redirects .aioseo-modal-body .aioseo-description{max-width:510px;text-align:center}.aioseo-redirects .aioseo-modal-body .aioseo-button:not(.close){margin-top:16px}.aioseo-redirects .aioseo-modal-body.custom-rule-info{align-items:initial;padding:50px}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div{padding-bottom:10px;margin-bottom:15px;border-bottom:1px solid #E8E8EB;display:flex;flex-direction:row}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div .rule{flex:1 0}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div .rule ul{list-style:disc inside;margin-bottom:0}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div:last-of-type{border-bottom:none;padding-bottom:0;margin-bottom:0}.aioseo-redirects .aioseo-modal-body .custom-url{width:100%;padding-bottom:24px}.aioseo-redirects .aioseo-modal-body .custom-url .custom-url-input{display:flex;flex-direction:row}[dir=ltr] .aioseo-redirects .aioseo-modal-body .custom-url .aioseo-button{margin:0 0 0 8px!important}[dir=rtl] .aioseo-redirects .aioseo-modal-body .custom-url .aioseo-button{margin:0 8px 0 0!important}.aioseo-redirects .aioseo-modal-body .custom-url .label{font-weight:700;min-width:90px;display:flex;align-content:center}[dir=ltr] .aioseo-redirects .aioseo-modal-body .custom-url .label{padding-right:8px}[dir=rtl] .aioseo-redirects .aioseo-modal-body .custom-url .label{padding-left:8px}.aioseo-redirects .redirect-test .aioseo-modal-body{padding:30px}.aioseo-redirects .redirect-test .alert-regex{font-weight:400;margin-bottom:24px}.aioseo-redirects .redirect-test .modal-container{overflow-x:inherit;overflow-y:inherit}[dir=ltr] .aioseo-redirects .redirect-test .modal-header{padding-right:40px!important}[dir=rtl] .aioseo-redirects .redirect-test .modal-header{padding-left:40px!important}.aioseo-redirects .redirect-test .source{padding:8px 16px;color:#141b38;background:#E8E8EB;border-radius:4px;font-size:14px;font-weight:700;max-width:458px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[dir=ltr] .aioseo-redirects .redirect-test .source{margin-left:8px}[dir=rtl] .aioseo-redirects .redirect-test .source{margin-right:8px}.aioseo-redirects .redirect-test h3{margin-top:0}.aioseo-redirects .redirect-test .redirect-results{width:100%}.aioseo-redirects .redirect-test .redirect-results .label{padding-bottom:12px}.aioseo-redirects .redirect-test .redirect-results .result{padding-bottom:24px}.aioseo-redirects .redirect-test .redirect-results .redirects-options-table tbody td:first-child{font-weight:700;width:200px}.aioseo-redirects .redirect-test .redirect-results .errors{padding-top:24px}.aioseo-redirects .redirect-test .redirect-results .errors .aioseo-alert{padding:8px}.aioseo-redirects .redirect-test .redirect-results .errors ul{margin:0;list-style-type:disc}[dir=ltr] .aioseo-redirects .redirect-test .redirect-results .errors ul{padding-left:24px}[dir=rtl] .aioseo-redirects .redirect-test .redirect-results .errors ul{padding-right:24px}.aioseo-redirects .redirect-test .redirect-results .errors ul li{margin:0;font-weight:400;padding-bottom:8px}.aioseo-redirects .redirect-test .redirect-results .errors ul li:last-child{padding-bottom:0}.aioseo-redirects .redirect-test .aioseo-alert{display:flex;align-items:center}.aioseo-redirects .redirect-test .aioseo-alert svg{width:20px;height:20px}[dir=ltr] .aioseo-redirects .redirect-test .aioseo-alert svg{margin-right:12px}[dir=rtl] .aioseo-redirects .redirect-test .aioseo-alert svg{margin-left:12px}.aioseo-redirects .redirect-test .aioseo-alert.green svg{color:#00aa63}.aioseo-redirects .redirect-test .aioseo-alert.red svg{color:#df2a4a}.aioseo-redirects .redirect-test .aioseo-alert.blue svg{color:#005ae0}.aioseo-redirects .redirect-test .aioseo-tooltip{display:inline-flex}[dir=ltr] .aioseo-redirects .redirect-test .aioseo-tooltip{margin-left:8px}[dir=rtl] .aioseo-redirects .redirect-test .aioseo-tooltip{margin-right:8px}.aioseo-redirects .redirect-test .loading:after{content:""}.aioseo-redirects .aioseo-tooltip{display:flex;margin:0;color:#dadada}.aioseo-redirects .aioseo-tooltip:hover{color:#005ae0}.aioseo-redirects .aioseo-tooltip svg{width:20px;height:20px;cursor:pointer}.aioseo-redirects.metabox{padding:0!important}.aioseo-redirects.metabox .aioseo-wp-table .wp-table tr.edit-row td{padding:0 20px}.aioseo-redirects.metabox .aioseo-add-redirection.edit-url{margin-bottom:0}.aioseo-redirects .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.aioseo-redirects .aioseo-modal-body h3{font-size:20px;margin-bottom:16px}.aioseo-redirects .aioseo-modal-body .reset-description{font-size:16px;color:#141b38;margin-bottom:16px;text-align:center;max-width:515px}.aioseo-redirects .aioseo-modal-body button.close{position:absolute;top:11px;width:24px;height:24px;background-color:#fff;border:none;display:flex;align-items:center}[dir=ltr] .aioseo-redirects .aioseo-modal-body button.close{right:11px}[dir=rtl] .aioseo-redirects .aioseo-modal-body button.close{left:11px}.aioseo-redirects .aioseo-modal-body button.close svg.aioseo-close{cursor:pointer;width:14px;height:14px}.aioseo-redirects .aioseo-modal-body .aioseo-description{max-width:510px;text-align:center}.aioseo-redirects .aioseo-modal-body .aioseo-button:not(.close){margin-top:16px}.aioseo-redirects-modal .bd .col-xs-12{flex-basis:50%!important}.redirects-options-table{margin:0;border:1px solid #D0D1D7;border-radius:3px;width:100%;border-spacing:0;border-collapse:separate;font-family:Helvetica;font-size:14px;font-style:normal;font-weight:400;line-height:21px;letter-spacing:0px}[dir=ltr] .redirects-options-table{text-align:left}[dir=rtl] .redirects-options-table{text-align:right}.redirects-options-table tr td{padding:16px 8px!important;background:#FFFFFF;vertical-align:middle!important}[dir=ltr] .redirects-options-table tr td:first-child{padding-left:16px!important}[dir=rtl] .redirects-options-table tr td:first-child{padding-right:16px!important}[dir=ltr] .redirects-options-table tr td:last-child{padding-right:16px!important}[dir=rtl] .redirects-options-table tr td:last-child{padding-left:16px!important}.redirects-options-table tr td.arrow-col,.redirects-options-table tr td.actions{text-align:center}.redirects-options-table tr td.arrow-col div{display:flex;height:100%;justify-content:center;align-items:center}.redirects-options-table tr td.actions{width:20px}.redirects-options-table tr td.aliased-domain{width:100%}.redirects-options-table tr.even td{background-color:#f9f9fa}.redirects-options-table thead td{height:50px;padding:0 8px!important;border-bottom:1px solid #D0D1D7;color:#434960!important}[dir=ltr] .redirects-options-table thead td:first-child{border-radius:3px 0 0}[dir=rtl] .redirects-options-table thead td:first-child{border-radius:0 3px 0 0}[dir=ltr] .redirects-options-table thead td:last-child{border-radius:0 3px 0 0}[dir=rtl] .redirects-options-table thead td:last-child{border-radius:3px 0 0}.redirects-options-table thead td:first-child:last-child{border-radius:3px 3px 0 0}[dir=ltr] .redirects-options-table tbody tr:last-child td:first-child{border-radius:0 0 0 3px}[dir=rtl] .redirects-options-table tbody tr:last-child td:first-child{border-radius:0 0 3px}[dir=ltr] .redirects-options-table tbody tr:last-child td:last-child{border-radius:0 0 3px}[dir=rtl] .redirects-options-table tbody tr:last-child td:last-child{border-radius:0 0 0 3px}.redirects-options-table tfoot td{height:50px;padding:0 8px!important;border-top:1px solid #D0D1D7}[dir=ltr] .redirects-options-table tfoot td:first-child{border-radius:0 0 0 3px}[dir=rtl] .redirects-options-table tfoot td:first-child{border-radius:0 0 3px}[dir=ltr] .redirects-options-table tfoot td:last-child{border-radius:0 0 3px}[dir=rtl] .redirects-options-table tfoot td:last-child{border-radius:0 0 0 3px}.redirects-options-table tfoot td:first-child:last-child{border-radius:0 0 3px 3px}[dir=ltr] .redirects-options-table tfoot td .aioseo-button+.aioseo-button{margin:0 0 0 16px}[dir=rtl] .redirects-options-table tfoot td .aioseo-button+.aioseo-button{margin:0 16px 0 0}.redirects-options-table.small tr td{padding:8px!important}.redirects-options-table.small thead td{height:30px;padding:0 8px!important}.redirects-options-table svg{color:#dadada}.redirects-options-table svg.aioseo-trash{width:20px;height:20px;cursor:pointer}.redirects-options-table svg.aioseo-trash:hover{color:#df2a4a}.redirects-options-table svg.aioseo-right-arrow{width:26px;color:#8c8f9a}.redirects-options-table .aioseo-tooltip{display:flex}[dir=ltr] .redirects-options-table .aioseo-tooltip{margin-left:0}[dir=rtl] .redirects-options-table .aioseo-tooltip{margin-right:0}.aioseo-post-schema-lite{position:relative;min-height:450px}.aioseo-post-schema-lite .schema-type{max-width:350px}.aioseo-post-schema-lite .aioseo-description{font-size:14px;line-height:1.8;margin:8px 0 0;color:#141b38}.aioseo-post-schema-lite .field-description{font-size:14px}.aioseo-post-schema-lite .block{display:block}.aioseo-post-schema-lite .aioseo-settings-row:last-of-type{margin-bottom:30px!important;padding-bottom:30px!important}.aioseo-post-schema-lite .schema-book-rating-options{display:flex}.aioseo-post-schema-lite .schema-book-rating-options .rating,.aioseo-post-schema-lite .schema-book-rating-options .rating-min{flex:1}[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-right:30px}[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-left:30px}.aioseo-post-schema-lite .schema-book-rating-options .rating-max{flex:1}@media screen and (max-width: 782px){.aioseo-post-schema-lite .schema-book-rating-options{display:block}.aioseo-post-schema-lite .schema-book-rating-options .rating,.aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-bottom:30px}[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-right:0}[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-left:0}}.aioseo-post-schema-lite .schema-person-options{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap}@media screen and (max-width: 782px){.aioseo-post-schema-lite .schema-person-options{display:block}}.aioseo-post-schema-lite .aioseo-alert.schema-upsell{max-width:560px}.edit-post-sidebar .aioseo-post-schema .aioseo-settings-row.aioseo-row .col-md-9 .settings-content .aioseo-col{padding-left:0;padding-right:0}.edit-post-sidebar .schema-book-rating-options{display:block}.edit-post-sidebar .schema-book-rating-options .rating,.edit-post-sidebar .schema-book-rating-options .rating-min{margin:0 0 20px}.edit-post-sidebar .schema-upsell{margin-top:20px}.aioseo-post-settings,.aioseo-metabox .aioseo-post-settings{background:#fff;color:#141b38}.aioseo-post-settings .aioseo-tabs,.aioseo-metabox .aioseo-post-settings .aioseo-tabs{border-bottom-width:2px;background:#F3F4F5}.aioseo-post-settings .aioseo-tabs .md-tabs-navigation,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-tabs-navigation{margin-top:0!important}.aioseo-post-settings .aioseo-tabs .md-button,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-button{height:50px!important;font-size:14px!important;color:#434960!important}.aioseo-post-settings .aioseo-tabs .md-button.md-active,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-button.md-active{color:#141b38!important;-webkit-text-stroke-width:.2px;-webkit-text-stroke-color:#141B38}.aioseo-post-settings .aioseo-tabs .md-button .icon,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-button .icon{display:none}.aioseo-post-settings .aioseo-tabs svg,.aioseo-metabox .aioseo-post-settings .aioseo-tabs svg{display:none}@media screen and (max-width: 785px){.aioseo-post-settings .aioseo-tabs svg.aioseo-caret,.aioseo-metabox .aioseo-post-settings .aioseo-tabs svg.aioseo-caret{display:inline}}.aioseo-post-settings .aioseo-tab-content,.aioseo-metabox .aioseo-post-settings .aioseo-tab-content{background:#fff;border-top:0;padding:30px;font-size:13px}.aioseo-post-settings .aioseo-settings-row,.aioseo-metabox .aioseo-post-settings .aioseo-settings-row{margin-bottom:16px;padding-bottom:16px}.aioseo-post-settings .aioseo-sidebar-content-title,.aioseo-metabox .aioseo-post-settings .aioseo-sidebar-content-title{font-weight:700;font-size:14px;padding-bottom:5px}.edit-post-sidebar .col-xs-12,.edit-post-sidebar .col-sm-6,.edit-post-sidebar .col-md-4,.edit-post-sidebar .col-md-3{width:100%;flex-basis:100%!important;max-width:100%!important}.edit-post-sidebar .components-panel{border-bottom:none}.edit-post-sidebar .aioseo-mobile-tabs{display:none}.edit-post-sidebar .tabs-scroller{display:block!important;width:100%}.edit-post-sidebar .aioseo-tabs{background:#FAFAFA}.edit-post-sidebar .aioseo-tabs .md-button{height:51px!important;color:#141b38!important}.edit-post-sidebar .aioseo-tabs .md-button .md-ripple{padding:0 10px!important}.edit-post-sidebar .aioseo-tabs .md-button .icon{display:inline;line-height:1.3rem}.edit-post-sidebar .aioseo-tabs .md-button .icon:before{line-height:inherit}.edit-post-sidebar .aioseo-tabs .md-button .label{display:none}.edit-post-sidebar .aioseo-tabs .md-button.md-active{color:#141b38!important}.edit-post-sidebar .aioseo-tabs .md-button svg{display:inline;width:16px;height:16px;margin-top:4px;color:#8c8f9a}.edit-post-sidebar .aioseo-tabs .md-button svg.aioseo-crossed-arrows{width:14px;height:14px}.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active){min-width:36px!important;margin:0 3px!important}.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active):before{top:8px!important;border-radius:50%;height:36px;color:#141b38}.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active):hover svg,.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active):focus svg{color:#141b38}.edit-post-sidebar .aioseo-app input{border:1px solid #D0D1D7}.edit-post-sidebar .aioseo-app input:focus{border-color:#005ae0;box-shadow:0 0 0 1px #005ae0}.edit-post-sidebar .aioseo-app input::placeholder{color:#8c8f9a}.edit-post-sidebar .aioseo-app .aioseo-textarea-autosize{border:1px solid #D0D1D7}.edit-post-sidebar .aioseo-app .aioseo-tab-content{padding:20px 16px;border:none}.edit-post-sidebar .aioseo-app .aioseo-description{margin:0}.edit-post-sidebar .aioseo-settings-row{margin-bottom:16px;padding-bottom:16px}.edit-post-sidebar .aioseo-settings-row:last-of-type{border-bottom:0;margin-bottom:0!important;padding-bottom:0!important}.edit-post-sidebar .aioseo-settings-row>.aioseo-col{padding-top:0}.edit-post-sidebar .aioseo-settings-row .settings-name .name{font-size:14px;font-weight:700;margin-bottom:0}.aioseo-app.post-settings-modal .aioseo-modal-content .aioseo-tabs.internal{border-bottom-width:1px!important}@media screen and (max-width: 520px){[dir=ltr] .aioseo-app.post-settings-modal .aioseo-modal-content .aioseo-tabs.internal{padding-left:20px!important}[dir=rtl] .aioseo-app.post-settings-modal .aioseo-modal-content .aioseo-tabs.internal{padding-right:20px!important}}.aioseo-app.post-settings-modal .aioseo-modal-content .md-tabs-navigation .md-tabs-indicator{bottom:-1px!important}@media only screen and (min-width: 782px){.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}}.aioseo-redirects-modal .bd{padding:20px}.aioseo-redirects-modal .modal-mask .modal-wrapper .modal-container{max-width:1000px}.aioseo-post-settings-sidebar-vue{display:flex;justify-content:center}.aioseo-post-settings-sidebar-vue .aioseo-loading-spinner{margin-top:30px}
|
1 |
+
.aioseo-robots-meta .global-robots-settings{margin:0;padding-top:24px}.aioseo-robots-meta .global-robots-settings>.settings{padding:8px 0 16px}.aioseo-robots-meta .global-robots-settings-options{display:flex}[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-snippet{margin-right:30px}[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-snippet{margin-left:30px}.aioseo-robots-meta .global-robots-settings-options .max-snippet .aioseo-input{max-width:90px}[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-right:30px}[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-left:30px}.aioseo-robots-meta .global-robots-settings-options .max-video-preview .aioseo-input{max-width:90px}.aioseo-robots-meta .global-robots-settings-options .max-image-preview .aioseo-select{min-width:155px}.aioseo-robots-meta .global-robots-settings-options>span{display:inline-block;margin-bottom:4px}@media screen and (max-width: 782px){.aioseo-robots-meta .global-robots-settings-options{display:block}.aioseo-robots-meta .global-robots-settings-options .max-snippet,.aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-bottom:20px}[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-snippet,[dir=ltr] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-right:0}[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-snippet,[dir=rtl] .aioseo-robots-meta .global-robots-settings-options .max-video-preview{margin-left:0}.aioseo-robots-meta .global-robots-settings-options>div .aioseo-input,.aioseo-robots-meta .global-robots-settings-options>div .aioseo-select{min-width:100%}}.edit-post-sidebar .global-robots-settings{padding-top:12px}.edit-post-sidebar .global-robots-settings>.settings{padding:4px 0 12px}.edit-post-sidebar .global-robots-settings>.settings label{font-size:16px}.edit-post-sidebar .global-robots-settings .robots-meta-title{padding-top:4px;display:inline-block}.edit-post-sidebar .global-robots-settings-options{flex-wrap:wrap}[dir=ltr] .edit-post-sidebar .max-snippet{margin-right:30px!important}[dir=rtl] .edit-post-sidebar .max-snippet{margin-left:30px!important}[dir=ltr] .edit-post-sidebar .max-video-preview{margin-right:0!important}[dir=rtl] .edit-post-sidebar .max-video-preview{margin-left:0!important}.edit-post-sidebar .max-image-preview{margin-top:20px!important}.aioseo-post-advanced .inline-upsell{display:inline-flex;margin-top:20px}.aioseo-post-advanced .selectbox-row{display:flex;align-items:center}.aioseo-post-advanced .selectbox-row .separator{display:inline-block;margin:0 20px;padding-bottom:10px;align-self:flex-end}.aioseo-post-advanced .selectbox-row .select{display:inline-block;width:100%;max-width:125px}.aioseo-post-advanced .selectbox-row .select>span{display:inline-block;font-size:14px;margin-bottom:10px}.aioseo-card.aioseo-sidebar-card .header{height:46px}.aioseo-card.aioseo-sidebar-card .header:hover{cursor:pointer}.aioseo-card.aioseo-sidebar-card .content{padding-bottom:8px!important}.aioseo-card.aioseo-sidebar-card ul{margin-bottom:0}.aioseo-card.aioseo-sidebar-card ul li{margin-bottom:16px}[dir=ltr] .aioseo-card.aioseo-sidebar-card ul li{padding-left:25px}[dir=rtl] .aioseo-card.aioseo-sidebar-card ul li{padding-right:25px}.aioseo-card.aioseo-sidebar-card ul .description{margin:0}.aioseo-analysis-detail{margin:0 0 35px}.aioseo-analysis-detail li{position:relative;margin-bottom:24px}[dir=ltr] .aioseo-analysis-detail li{padding-left:24px}[dir=rtl] .aioseo-analysis-detail li{padding-right:24px}.aioseo-analysis-detail li svg{position:relative;top:3px}[dir=ltr] .aioseo-analysis-detail li svg{left:0}[dir=rtl] .aioseo-analysis-detail li svg{right:0}.aioseo-analysis-detail li svg.aioseo-circle-check{color:#00aa63}.aioseo-analysis-detail li svg.aioseo-circle-close{color:#df2a4a}.aioseo-analysis-detail li svg.aioseo-circle-check,.aioseo-analysis-detail li svg.aioseo-circle-close{position:absolute;top:5px}[dir=ltr] .aioseo-analysis-detail li svg.aioseo-circle-check,[dir=ltr] .aioseo-analysis-detail li svg.aioseo-circle-close{left:0}[dir=rtl] .aioseo-analysis-detail li svg.aioseo-circle-check,[dir=rtl] .aioseo-analysis-detail li svg.aioseo-circle-close{right:0}.aioseo-analysis-detail li svg.aioseo-caret{cursor:pointer;transition:transform .3s}[dir=ltr] .aioseo-analysis-detail li svg.aioseo-caret{transform:rotate(-180deg)}[dir=rtl] .aioseo-analysis-detail li svg.aioseo-caret{transform:rotate(180deg)}.aioseo-analysis-detail li .title{margin-bottom:6px!important}[dir=ltr] .aioseo-analysis-detail li .title.toggled .aioseo-caret{transform:rotate(-90deg)}[dir=rtl] .aioseo-analysis-detail li .title.toggled .aioseo-caret{transform:rotate(90deg)}.aioseo-analysis-detail li .title.toggled+.description{opacity:0;height:0;margin:0}.aioseo-analysis-detail li .description{font-size:14px;font-style:normal;opacity:1;height:auto;transition:all .3s}.edit-post-sidebar .aioseo-analysis-detail .title{font-size:14px}.edit-post-sidebar .aioseo-analysis-detail .description{font-size:13px;line-height:1.5;color:#555d66}.aioseo-description.additional-keyphrases-description[data-v-56bb2387],.edit-post-sidebar .aioseo-app .aioseo-description.additional-keyphrases-description[data-v-56bb2387]{margin:0 0 20px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .modal-body{max-height:calc(90vh - 70px);overflow:auto}.aioseo-app.aioseo-focus-keyphrase-panel-modal .modal-body .aioseo-modal-content .aioseo-alert{margin-bottom:20px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .semrush-country-selector{max-width:350px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table{width:100%;border:1px solid #D0D1D7;border-radius:3px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-volume,.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-trend{text-align:center}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions>div{display:flex;align-items:center;justify-content:flex-end}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase{display:flex;align-items:center;justify-content:flex-end;color:#00aa63;min-width:135px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase svg{width:16px;height:16px;color:#00aa63}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase svg{margin-right:5px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .focus-keyphrase svg{margin-left:5px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score{border-radius:3px;padding:5px;font-weight:700;font-size:13px;cursor:pointer;border:1px solid #005AE0}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score.score-green{color:#00aa63;border-color:#00aa63}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score.score-orange{color:#f18200;border-color:#f18200}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score.score-red{color:#df2a4a;border-color:#df2a4a}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover{background-color:#005ae0;color:#fff}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover.score-green{background-color:#00aa63}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover.score-orange{background-color:#f18200}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .keyphrase-score:hover.score-red{background-color:#df2a4a}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .remove-keyphrase{display:flex;align-items:center;justify-content:flex-end}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .remove-keyphrase svg{width:16px;height:16px;cursor:pointer}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrase-actions .remove-keyphrase svg:hover{color:#df2a4a}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header{height:50px;font-size:14px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th{border-bottom:1px solid #D0D1D7;padding:15px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:first-of-type{padding-left:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:first-of-type{padding-right:30px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:last-of-type{padding-right:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-header th:last-of-type{padding-left:30px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows{font-size:14px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row{background-color:#fff;height:70px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:first-of-type{border-radius:0 0 0 3px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:first-of-type{border-radius:0 0 3px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:last-of-type{border-radius:0 0 3px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row:last-of-type td:last-of-type{border-radius:0 0 0 3px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row.even{background-color:#f9f9fa}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td{padding:15px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:first-of-type{padding-left:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:first-of-type{padding-right:30px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:last-of-type{padding-right:30px}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td:last-of-type{padding-left:30px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results>*{display:flex;align-items:center;justify-content:center}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results .semrush-logo{min-width:150px}[dir=ltr] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results .semrush-logo{padding:0 30px 0 0}[dir=rtl] .aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row td.no-results .semrush-logo{padding:0 0 0 30px}.aioseo-app.aioseo-focus-keyphrase-panel-modal .additional-keyphrases-table .keyphrases-rows tr.keyphrase-row.loading{display:flex;align-items:center;justify-content:center}.aioseo-app .aioseo-post-general .page-analysis-panel .aioseo-tabs{background:#fff}.aioseo-app .aioseo-post-general .page-analysis-panel .aioseo-tabs .md-button-content{display:flex}.aioseo-app .aioseo-post-general .page-analysis-panel .aioseo-tabs .md-button{font-weight:700}.aioseo-post-general svg.aioseo-circle-question-mark{width:17px;height:17px;color:#8c8f99;transition:background-color .2s ease}.aioseo-post-general svg.aioseo-circle-question-mark:hover{color:#5a5c65}.aioseo-post-general .mobile-radio-buttons{margin:0!important;padding:0!important;border:0}.aioseo-post-general .mobile-radio-buttons>.aioseo-col{padding:0}.aioseo-post-general .mobile-radio-buttons .aioseo-radio-toggle{justify-content:flex-end}[dir=ltr] .aioseo-post-general .mobile-radio-buttons .aioseo-radio-toggle>div{margin-left:10px}[dir=rtl] .aioseo-post-general .mobile-radio-buttons .aioseo-radio-toggle>div{margin-right:10px}.aioseo-post-general .ismobile{max-width:375px}.aioseo-post-general .edit-snippet,.aioseo-post-general .add-keyphrase{margin-top:12px;border:1px solid #DCDDE1}[dir=ltr] .aioseo-post-general .edit-snippet svg,[dir=ltr] .aioseo-post-general .add-keyphrase svg{margin-right:5px}[dir=rtl] .aioseo-post-general .edit-snippet svg,[dir=rtl] .aioseo-post-general .add-keyphrase svg{margin-left:5px}.aioseo-post-general .disabled-button{margin-top:12px;border:1px solid #dcdde1;color:#8c8f9a;background-color:#f3f4f5;cursor:default;height:30px;font-size:14px;padding:0 12px;flex-shrink:0;line-height:1;display:inline-flex;align-items:center;justify-content:center;font-weight:600;border-radius:4px;-webkit-appearance:none;transition:background-color .2s ease;position:relative;overflow:hidden;text-decoration:none;white-space:nowrap}[dir=ltr] .aioseo-post-general .disabled-button svg{margin-right:5px}[dir=rtl] .aioseo-post-general .disabled-button svg{margin-left:5px}.aioseo-post-general .aioseo-toggle{display:block}.aioseo-post-general .aioseo-toggle .toggle-content input:checked+.toggle-switch{border:1px solid #00AA63;background-color:#00aa63}.aioseo-post-general .aioseo-keyphrase-tag{display:inline-block;margin-bottom:16px;border-radius:3px;font-size:14px;font-weight:700}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag{margin-right:10px}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag{margin-left:10px}.aioseo-post-general .aioseo-keyphrase-tag.selected{position:relative}.aioseo-post-general .aioseo-keyphrase-tag.selected:before,.aioseo-post-general .aioseo-keyphrase-tag.selected:after{content:"";position:absolute;display:block;z-index:10;bottom:-17px;border-style:solid}.aioseo-post-general .aioseo-keyphrase-tag.selected:before{border-width:0 10px 10px 10px;border-color:transparent transparent #E8E8EB transparent}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag.selected:before{left:calc(50% - 6px)}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag.selected:before{right:calc(50% - 6px)}.aioseo-post-general .aioseo-keyphrase-tag.selected:after{border-width:0 8px 8px 8px;border-color:transparent transparent #fff transparent}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag.selected:after{left:calc(50% - 4px)}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag.selected:after{right:calc(50% - 4px)}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag{display:block;padding:9px 10px;border:1px solid #F3F4F5;border-radius:3px;background:#F3F4F5;cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag.hidden{opacity:0;height:0;padding:0}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-name{cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-edit{opacity:0;margin:0 8px;cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score{cursor:pointer}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score.score-green{color:#00aa63}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score.score-orange{color:#f18200}.aioseo-post-general .aioseo-keyphrase-tag .keyphrase-score.score-red{color:#df2a4a}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag{position:relative}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag>input{width:100%;padding:8px 10px;border:1px solid #E8E8EB;border-radius:3px}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete{position:absolute;top:2px;width:16px;height:16px;display:block;cursor:pointer}[dir=ltr] .aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete{right:10px}[dir=rtl] .aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete{left:10px}.aioseo-post-general .aioseo-keyphrase-tag .aioseo-edit-keyphrase-tag .keyphrase-delete:hover{color:#df2a4a}.aioseo-post-general .aioseo-keyphrase-tag:hover .keyphrase-edit{opacity:1}.aioseo-post-general .focus-keyphrase-panel .aioseo-analysis-detail{margin-bottom:0}.aioseo-post-general .analysis-wrapper{border-top:1px solid #E8E8EB}.aioseo-post-general .analysis-loading{position:relative;margin-top:16px}.edit-post-sidebar .aioseo-google-search-preview{padding:10px}.edit-post-sidebar .aioseo-button.edit-snippet{display:inline-flex}.edit-post-sidebar .snippet-focus-keyphrases-row{border-bottom:none;margin-bottom:0!important}.edit-post-sidebar .snippet-preview-row{padding-bottom:0!important;border-bottom:none}.edit-post-sidebar .card-focus-keyphrase,.edit-post-sidebar .card-additional-keyphrase,.edit-post-sidebar .card-basic-seo,.edit-post-sidebar .card-title-seo,.edit-post-sidebar .card-readability-seo{margin:0 -1rem;box-shadow:none;border:none;border-top:1px solid #E8E8EB}.edit-post-sidebar .card-focus-keyphrase .header,.edit-post-sidebar .card-additional-keyphrase .header,.edit-post-sidebar .card-basic-seo .header,.edit-post-sidebar .card-title-seo .header,.edit-post-sidebar .card-readability-seo .header{padding:1rem;border-bottom:none;font-size:14px;font-weight:700}.edit-post-sidebar .card-focus-keyphrase .content,.edit-post-sidebar .card-additional-keyphrase .content,.edit-post-sidebar .card-basic-seo .content,.edit-post-sidebar .card-title-seo .content,.edit-post-sidebar .card-readability-seo .content{padding:24px 16px;font-size:14px;border-top:1px solid #E8E8EB}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-additional-keyphrase .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-basic-seo .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-title-seo .aioseo-analysis-detail:last-of-type,.edit-post-sidebar .card-readability-seo .aioseo-analysis-detail:last-of-type{margin-bottom:0}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-additional-keyphrase .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-basic-seo .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-title-seo .aioseo-analysis-detail:last-of-type .title,.edit-post-sidebar .card-readability-seo .aioseo-analysis-detail:last-of-type .title{margin-bottom:0}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail{margin:16px 0!important}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail:empty{margin:16px}.edit-post-sidebar .card-focus-keyphrase .add-keyphrase{width:100%}.edit-post-sidebar .card-focus-keyphrase .aioseo-analysis-detail,.edit-post-sidebar .card-additional-keyphrase .aioseo-analysis-detail{margin:0 0 16px!important}.edit-post-sidebar .card-focus-keyphrase .add-keyphrase,.edit-post-sidebar .card-additional-keyphrase .add-keyphrase{width:100%;margin-bottom:16px}.edit-post-sidebar .card-readability-seo{border-bottom:1px solid #E8E8EB}.edit-post-sidebar .aioseo-keyphrase-tag{display:block;margin-bottom:10px}[dir=ltr] .edit-post-sidebar .aioseo-keyphrase-tag{margin-right:0}[dir=rtl] .edit-post-sidebar .aioseo-keyphrase-tag{margin-left:0}.edit-post-sidebar .aioseo-keyphrase-tag:after{content:none!important}.edit-post-sidebar .aioseo-keyphrase-tag.selected{border:2px solid #E8E8EB}.edit-post-sidebar .aioseo-keyphrase-tag.selected:before,.edit-post-sidebar .aioseo-keyphrase-tag.selected:after{content:none}.edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag{display:flex;width:100%}.edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag .keyphrase-score{flex:1}[dir=ltr] .edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag .keyphrase-score{text-align:right}[dir=rtl] .edit-post-sidebar .aioseo-keyphrase-tag .aioseo-add-keyphrase-tag .keyphrase-score{text-align:left}.edit-post-sidebar .card-basic-seo .aioseo-analysis-detail,.edit-post-sidebar .card-title-seo .aioseo-analysis-detail,.edit-post-sidebar .card-readability-seo .aioseo-analysis-detail{margin-top:0}.edit-post-sidebar .analysis-wrapper{border-top:none}.aioseo-modal-content>.aioseo-settings-row{border:none;margin-bottom:0!important}.aioseo-modal-content .aioseo-post-general>.mobile-radio-buttons{position:absolute;top:18px;margin-bottom:0;padding-bottom:0}[dir=ltr] .aioseo-modal-content .aioseo-post-general>.mobile-radio-buttons{right:40px}[dir=rtl] .aioseo-modal-content .aioseo-post-general>.mobile-radio-buttons{left:40px}.aioseo-modal-content .settings-name .name{font-size:16px!important;margin-bottom:6px!important}.aioseo-modal-content .snippet-title-row,.aioseo-modal-content .snippet-description-row{position:relative;display:block;margin-top:32px}.aioseo-modal-content .snippet-title-row .settings-name,.aioseo-modal-content .snippet-description-row .settings-name{margin-bottom:8px}.aioseo-modal-content .snippet-title-row .aioseo-description,.aioseo-modal-content .snippet-description-row .aioseo-description{display:none}.aioseo-modal-content .snippet-title-row .add-tags,.aioseo-modal-content .snippet-description-row .add-tags{position:absolute;top:0;margin:0}[dir=ltr] .aioseo-modal-content .snippet-title-row .add-tags,[dir=ltr] .aioseo-modal-content .snippet-description-row .add-tags{right:8px}[dir=rtl] .aioseo-modal-content .snippet-title-row .add-tags,[dir=rtl] .aioseo-modal-content .snippet-description-row .add-tags{left:8px}@media screen and (max-width: 520px){.aioseo-modal-content .snippet-title-row .add-tags .aioseo-add-template-tag,.aioseo-modal-content .snippet-description-row .add-tags .aioseo-add-template-tag{display:none}}.aioseo-modal-content .snippet-title-row{margin-top:24px;padding-bottom:24px!important}.aioseo-modal-content .snippet-preview-row,.aioseo-modal-content .snippet-description-row{border:none;margin-bottom:0!important;padding-bottom:0!important}.aioseo-modal-content .snippet-pillar-row{display:none}.aioseo-modal-content .component-wrapper .aioseo-settings-row>.aioseo-col{padding-top:.5rem!important}.aioseo-modal-content .component-wrapper .aioseo-google-search-preview{padding:32px 28px!important}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button:not(.md-active){min-width:72px!important;margin:0!important}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button:hover{background-color:#e2e3e6}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button:before{border-radius:100%!important;display:none}.aioseo-modal-content .component-wrapper .aioseo-tabs .md-button .label{display:inline!important}.aioseo-modal-content .mobile-radio-buttons .aioseo-tabs .md-button:not(.md-active){margin:0!important}.aioseo-modal-content .mobile-radio-buttons .aioseo-tabs .md-button:not(.md-active):before{top:0!important}.aioseo-link-assistant-sidebar{padding:20px 16px}.aioseo-link-assistant-sidebar .open-link-assistant-modal{margin-top:12px;border:1px solid #DCDDE1;align-items:center}.aioseo-link-assistant-sidebar .open-link-assistant-modal svg{width:10px;height:10px}[dir=ltr] .aioseo-link-assistant-sidebar .open-link-assistant-modal svg{margin-right:8px}[dir=rtl] .aioseo-link-assistant-sidebar .open-link-assistant-modal svg{margin-left:8px}.aioseo-link-assistant-sidebar .open-link-assistant-copy>.col-md-3{display:none}.aioseo-app .aioseo-confirmation-modal .modal-container{max-width:650px!important}.aioseo-app .aioseo-confirmation-modal .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center!important;justify-content:center;flex-direction:column;position:relative}.aioseo-app .aioseo-confirmation-modal .aioseo-button:not(.close){margin-top:16px}.aioseo-app .aioseo-confirmation-modal .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.aioseo-app .aioseo-confirmation-modal h3{font-size:20px;margin-bottom:16px;text-align:center}.aioseo-app .aioseo-confirmation-modal .reset-description{font-size:16px;color:#141b38;margin-bottom:16px;text-align:center;max-width:515px}.aioseo-app .aioseo-confirmation-modal button.close{position:absolute;top:11px;width:24px;height:24px;background-color:#fff;border:none;display:flex;align-items:center}[dir=ltr] .aioseo-app .aioseo-confirmation-modal button.close{right:11px}[dir=rtl] .aioseo-app .aioseo-confirmation-modal button.close{left:11px}.aioseo-app .aioseo-confirmation-modal button.close svg.aioseo-close{cursor:pointer;width:14px;height:14px}.aioseo-app .aioseo-confirmation-modal .aioseo-description{max-width:510px;text-align:center}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip{display:inline!important;margin:0;font-size:0px;line-height:100%}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip span{font-size:14px}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip .anchor{text-decoration:underline;color:#005ae0;white-space:normal}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip .anchor:hover{cursor:pointer}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip a.tooltip-url{text-decoration:underline;color:#fff}.aioseo-app .aioseo-link-assistant-phrase .aioseo-tooltip a.tooltip-url:hover{text-decoration:none}[dir=ltr] .aioseo-app .aioseo-link-assistant-phrase .icons{margin-left:10px}[dir=rtl] .aioseo-app .aioseo-link-assistant-phrase .icons{margin-right:10px}.aioseo-link-assistant,.aioseo-link-assistant-modal{padding:0!important}.aioseo-link-assistant .aioseo-wp-table tbody th.check-column,.aioseo-link-assistant .aioseo-wp-table tbody td,.aioseo-link-assistant-modal .aioseo-wp-table tbody th.check-column,.aioseo-link-assistant-modal .aioseo-wp-table tbody td{font-size:14px}.aioseo-link-assistant .aioseo-wp-table tbody .date,.aioseo-link-assistant-modal .aioseo-wp-table tbody .date{font-size:13px}.aioseo-link-assistant .aioseo-wp-table tr.edit-row .edit-row-content,.aioseo-link-assistant-modal .aioseo-wp-table tr.edit-row .edit-row-content,.aioseo-link-assistant .aioseo-wp-table tr.edit-row .edit-row-content .wrapper .border,.aioseo-link-assistant-modal .aioseo-wp-table tr.edit-row .edit-row-content .wrapper .border{padding:0}.aioseo-link-assistant .aioseo-wp-table .tablenav,.aioseo-link-assistant-modal .aioseo-wp-table .tablenav{font-size:13px!important}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button{display:flex;width:30px;height:26px;padding:0;justify-content:center;align-items:center;background-color:#fff;border:1px solid #DCDDE1;border-radius:3px}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button:hover,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button:hover{cursor:pointer;background-color:#f9f9fa}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active{background-color:#005ae0;border:1px solid #005AE0}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active:hover,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active:hover{background-color:#1a82ea}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret{color:#fff}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret{transform:rotate(-180deg)}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button.active svg.aioseo-caret{transform:rotate(180deg)}.aioseo-link-assistant .aioseo-wp-table button.toggle-row-button svg.aioseo-caret,.aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button svg.aioseo-caret{margin:0;height:20px;width:20px;color:#8c8f9a;transition:transform .3s}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button svg.aioseo-caret,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button svg.aioseo-caret{transform:rotate(-90deg)}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table button.toggle-row-button svg.aioseo-caret,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table button.toggle-row-button svg.aioseo-caret{transform:rotate(90deg)}.aioseo-link-assistant .aioseo-wp-table .row-actions a,.aioseo-link-assistant-modal .aioseo-wp-table .row-actions a{font-size:13px;line-height:150%}.aioseo-link-assistant .aioseo-wp-table .row-actions a.delete-all-links,.aioseo-link-assistant-modal .aioseo-wp-table .row-actions a.delete-all-links{color:#df2a4a}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table svg,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table svg{margin-right:11.22px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table svg,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table svg{margin-left:11.22px}.aioseo-link-assistant .aioseo-wp-table svg.aioseo-link-external,.aioseo-link-assistant-modal .aioseo-wp-table svg.aioseo-link-external{color:#005ae0;width:10.5px;height:10.5px}.aioseo-link-assistant .aioseo-wp-table svg.aioseo-new-page,.aioseo-link-assistant-modal .aioseo-wp-table svg.aioseo-new-page{color:#434960;width:9.33px;height:11.67px}.aioseo-link-assistant .aioseo-tooltip .popper.action a.tooltip-url,.aioseo-link-assistant-modal .aioseo-tooltip .popper.action a.tooltip-url{white-space:normal!important}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav{height:auto}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions{margin:10px 0 16px 16px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .aioseo-wp-bulk-actions,[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination{margin:10px 16px 16px 0}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .tablenav .pagination{margin:10px 0 16px 16px}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table{border:0;padding:0}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th.manage-column,.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td.manage-column,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th.manage-column,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td.manage-column{border-bottom:1px solid #c3c4c7!important}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th{padding:8px 10px!important}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type{padding-left:15px!important}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child th:first-of-type{padding-right:15px!important}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td{padding:4px 0 0 8px!important}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table thead tr:last-child td{padding:4px 8px 0 0!important}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr .row-actions,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr .row-actions{position:relative}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr:hover .row-actions,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr:hover .row-actions{position:static}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th{padding:11px 0 0 8px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr th{padding:11px 8px 0 0}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type{padding-left:15px}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody tr td:first-of-type{padding-right:15px}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip{display:inline-block}[dir=ltr] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip,[dir=ltr] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip{margin-left:0}[dir=rtl] .aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip,[dir=rtl] .aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody .aioseo-tooltip{margin-right:0}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash{width:18px;height:22px;color:#8c8f9a;cursor:pointer;transition:color .1s ease;margin-top:2px}.aioseo-link-assistant .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash:hover,.aioseo-link-assistant-modal .aioseo-wp-table.link-assistant-inner-table .wp-table table tbody svg.aioseo-trash:hover{color:#df2a4a}.aioseo-link-assistant .aioseo-tabs.link-tabs,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs{border-bottom:1px solid #E8E8EB;background-color:#fff}[dir=ltr] .aioseo-link-assistant .aioseo-tabs.link-tabs .aioseo-mobile-tabs,[dir=ltr] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs .aioseo-mobile-tabs{margin-left:10px}[dir=rtl] .aioseo-link-assistant .aioseo-tabs.link-tabs .aioseo-mobile-tabs,[dir=rtl] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs .aioseo-mobile-tabs{margin-right:10px}.aioseo-link-assistant .aioseo-tabs.link-tabs .md-tabs-navigation,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs .md-tabs-navigation{margin-top:0}.aioseo-link-assistant .aioseo-tabs.link-tabs .md-button-content,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs .md-button-content{display:flex;align-items:center;column-gap:11.75px}.aioseo-link-assistant .aioseo-tabs.link-tabs svg,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg{width:11px;height:11px;margin-top:3px}[dir=ltr] .aioseo-link-assistant .aioseo-tabs.link-tabs svg,[dir=ltr] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg{margin-right:0}[dir=rtl] .aioseo-link-assistant .aioseo-tabs.link-tabs svg,[dir=rtl] .aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg{margin-left:0}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-internal-inbound,.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-internal-outbound,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-internal-inbound,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-internal-outbound{color:#00aa63}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-external,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-external{color:#005ae0}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-affiliate,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-affiliate{color:#f18200;width:12px;height:12px;margin-top:2px}.aioseo-link-assistant .aioseo-tabs.link-tabs svg.aioseo-link-suggestion,.aioseo-link-assistant-modal .aioseo-tabs.link-tabs svg.aioseo-link-suggestion{color:#2c324c;width:16.67px;height:8.33px}.aioseo-link-assistant .aioseo-tabs svg,.aioseo-link-assistant-modal .aioseo-tabs svg{display:inline-block!important}.aioseo-link-assistant div.links-bottom,.aioseo-link-assistant-modal div.links-bottom{display:flex;flex-direction:row;padding:17px 17px 24px}.aioseo-link-assistant div.links-bottom a,.aioseo-link-assistant-modal div.links-bottom a{text-decoration:underline}.aioseo-link-assistant div.links-bottom a.link-delete,.aioseo-link-assistant-modal div.links-bottom a.link-delete{color:#df2a4a!important}.aioseo-link-assistant div.links-bottom a:hover,.aioseo-link-assistant-modal div.links-bottom a:hover{text-decoration:none;cursor:pointer}.aioseo-link-assistant div.links-bottom .links-bottom-left,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left{display:flex;flex:1 1 auto;column-gap:28px;align-items:center}.aioseo-link-assistant div.links-bottom .links-bottom-left div,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left div{display:flex;align-items:center}[dir=ltr] .aioseo-link-assistant div.links-bottom .links-bottom-left div svg,[dir=ltr] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left div svg{margin-right:10px}[dir=rtl] .aioseo-link-assistant div.links-bottom .links-bottom-left div svg,[dir=rtl] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left div svg{margin-left:10px}.aioseo-link-assistant div.links-bottom .links-bottom-left button svg,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left button svg{margin-top:2.5px;width:14px;height:14px;color:#fff}[dir=ltr] .aioseo-link-assistant div.links-bottom .links-bottom-left button svg,[dir=ltr] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left button svg{margin-right:10px}[dir=rtl] .aioseo-link-assistant div.links-bottom .links-bottom-left button svg,[dir=rtl] .aioseo-link-assistant-modal div.links-bottom .links-bottom-left button svg{margin-left:10px}.aioseo-link-assistant div.links-bottom .links-bottom-left svg.aioseo-link-external,.aioseo-link-assistant-modal div.links-bottom .links-bottom-left svg.aioseo-link-external{margin-top:3.5px;width:11px;height:11px;color:#005ae0}.aioseo-link-assistant div.links-bottom .links-bottom-right,.aioseo-link-assistant-modal div.links-bottom .links-bottom-right{display:flex;align-items:center}.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container{max-width:1300px}.aioseo-link-assistant-modal .modal-body{align-items:start;padding:20px 50px 50px}.aioseo-link-assistant-modal .modal-body .title-header{margin:45px 0 0;align-self:start}.aioseo-link-assistant-modal .modal-body .title-header span{font-weight:700;font-size:20px;line-height:140%;color:#141b38}@media (max-width: 1500px){.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container{max-width:1000px}}@media (max-width: 1150px){.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container{max-width:750px}.aioseo-link-assistant-modal .modal-mask .modal-wrapper .modal-container .modal-body{padding:0 50px 50px}}.tab-facebook .facebook-image-upload{display:flex}.tab-facebook .facebook-image-upload .aioseo-input{max-width:445px}[dir=ltr] .tab-facebook .facebook-image-upload .aioseo-input{margin-right:10px}[dir=rtl] .tab-facebook .facebook-image-upload .aioseo-input{margin-left:10px}.tab-facebook .facebook-image-upload .insert-image{min-width:214px}[dir=ltr] .tab-facebook .facebook-image-upload .insert-image{margin-right:10px}[dir=rtl] .tab-facebook .facebook-image-upload .insert-image{margin-left:10px}.tab-facebook .facebook-image-upload .insert-image svg.aioseo-circle-plus{width:13px;height:13px}[dir=ltr] .tab-facebook .facebook-image-upload .insert-image svg.aioseo-circle-plus{margin-right:10px}[dir=rtl] .tab-facebook .facebook-image-upload .insert-image svg.aioseo-circle-plus{margin-left:10px}.tab-facebook .facebook-image img{margin-top:20px;width:auto;max-width:525px;max-height:525px;height:auto}.tab-facebook .facebook-image.vertical img{max-width:158px;max-height:158px}.tab-facebook .facebook-meta-input{margin-top:10px}.tab-twitter .twitter-image-upload{display:flex}.tab-twitter .twitter-image-upload .aioseo-input{max-width:445px}[dir=ltr] .tab-twitter .twitter-image-upload .aioseo-input{margin-right:10px}[dir=rtl] .tab-twitter .twitter-image-upload .aioseo-input{margin-left:10px}.tab-twitter .twitter-image-upload .insert-image{min-width:214px}[dir=ltr] .tab-twitter .twitter-image-upload .insert-image{margin-right:10px}[dir=rtl] .tab-twitter .twitter-image-upload .insert-image{margin-left:10px}.tab-twitter .twitter-image-upload .insert-image svg.aioseo-circle-plus{width:13px;height:13px}[dir=ltr] .tab-twitter .twitter-image-upload .insert-image svg.aioseo-circle-plus{margin-right:10px}[dir=rtl] .tab-twitter .twitter-image-upload .insert-image svg.aioseo-circle-plus{margin-left:10px}.tab-twitter .twitter-image img{margin-top:20px;width:auto;max-width:525px;max-height:525px;height:auto}.tab-twitter .twitter-image.vertical img{max-width:158px;max-height:158px}.tab-twitter .twitter-image-source,.tab-twitter .twitter-custom-field{padding-top:8px!important;padding-bottom:24px!important}.tab-twitter .twitter-image,.tab-twitter .twitter-card-type{padding-top:8px!important}.tab-twitter .use-facebook{margin-bottom:32px!important;padding-bottom:32px!important}.tab-twitter .aioseo-settings-row:last-of-type{margin-bottom:32px!important;padding-bottom:32px!important}.open-social-modal{margin:12px 0;border:1px solid #DCDDE1}[dir=ltr] .open-social-modal svg{margin-right:5px}[dir=rtl] .open-social-modal svg{margin-left:5px}.open-social-copy>.col-md-3{display:none}.aioseo-post-social .aioseo-col.col-md-9{position:relative}.aioseo-post-social .mobile-radio-buttons{margin:0;padding:0;border:0}.aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle{justify-content:flex-end;position:absolute;top:12px}[dir=ltr] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle{right:20px}[dir=rtl] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle{left:20px}[dir=ltr] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle>div{margin-left:10px}[dir=rtl] .aioseo-post-social .mobile-radio-buttons .aioseo-radio-toggle>div{margin-right:10px}[dir=ltr] .aioseo-post-social .mobile-radio-buttons .col-md-9{padding-left:4px;padding-right:0}[dir=rtl] .aioseo-post-social .mobile-radio-buttons .col-md-9{padding-right:4px;padding-left:0}.aioseo-post-social .ismobile,.aioseo-post-social .ismobilecard .facebook-post,.aioseo-post-social .ismobilecard .twitter-post{max-width:375px}.aioseo-post-social .aioseo-tabs{background:#fff!important;border:none!important;border-bottom:2px solid #E8E8EB!important}.edit-post-sidebar .tab-facebook,.edit-post-sidebar .tab-twitter,.edit-post-sidebar .mobile-radio-buttons{display:none}.aioseo-modal-content .mobile-radio-buttons{padding-bottom:0!important}.aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{top:8px!important}[dir=ltr] .aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{right:0!important}[dir=rtl] .aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{left:0!important}@media screen and (max-width: 520px){.aioseo-modal-content .mobile-radio-buttons .aioseo-radio-toggle{display:none}}.aioseo-modal-content .tab-facebook,.aioseo-modal-content .tab-twitter{display:block}.aioseo-modal-content .tab-facebook .aioseo-settings-row:first-of-type,.aioseo-modal-content .tab-twitter .aioseo-settings-row:first-of-type{border-bottom:0;padding-bottom:0}.aioseo-modal-content .tab-facebook .aioseo-settings-row:first-of-type .aioseo-col:first-of-type,.aioseo-modal-content .tab-twitter .aioseo-settings-row:first-of-type .aioseo-col:first-of-type{display:none}.aioseo-modal-content .tab-facebook .aioseo-html-tags-editor,.aioseo-modal-content .tab-twitter .aioseo-html-tags-editor{margin-top:0}.aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .aioseo-description,.aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .aioseo-description{display:none}.aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .add-tags,.aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .add-tags{position:absolute;top:-40px;margin:0}[dir=ltr] .aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .add-tags,[dir=ltr] .aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .add-tags{right:8px}[dir=rtl] .aioseo-modal-content .tab-facebook .aioseo-html-tags-editor .add-tags,[dir=rtl] .aioseo-modal-content .tab-twitter .aioseo-html-tags-editor .add-tags{left:8px}.aioseo-modal-content .tab-facebook .facebook-title-settings,.aioseo-modal-content .tab-facebook .facebook-description-settings,.aioseo-modal-content .tab-facebook .twitter-title-settings,.aioseo-modal-content .tab-facebook .twitter-description-settings,.aioseo-modal-content .tab-twitter .facebook-title-settings,.aioseo-modal-content .tab-twitter .facebook-description-settings,.aioseo-modal-content .tab-twitter .twitter-title-settings,.aioseo-modal-content .tab-twitter .twitter-description-settings{padding-bottom:24px}.aioseo-modal-content .tab-facebook .facebook-title-settings .col-md-9,.aioseo-modal-content .tab-facebook .facebook-description-settings .col-md-9,.aioseo-modal-content .tab-facebook .twitter-title-settings .col-md-9,.aioseo-modal-content .tab-facebook .twitter-description-settings .col-md-9,.aioseo-modal-content .tab-twitter .facebook-title-settings .col-md-9,.aioseo-modal-content .tab-twitter .facebook-description-settings .col-md-9,.aioseo-modal-content .tab-twitter .twitter-title-settings .col-md-9,.aioseo-modal-content .tab-twitter .twitter-description-settings .col-md-9{padding-top:0!important;margin-top:0}.aioseo-modal-content .mobile-radio-buttons{display:block!important}.aioseo-modal-content .mobile-radio-buttons>.col-md-3{display:none}.aioseo-modal-content .mobile-radio-buttons>.col-md-9{padding:0;flex-basis:100%!important;max-width:100%!important}.aioseo-modal-content .aioseo-settings-row>.col-md-3{padding-bottom:0}.aioseo-modal-content .aioseo-settings-row>.col-md-3,.aioseo-modal-content .aioseo-settings-row>.col-md-9{flex-basis:100%;max-width:100%}[dir=ltr] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs.internal{padding-left:40px}[dir=rtl] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs.internal{padding-right:40px}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button-content{display:flex;align-items:center}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button-content svg{display:inline;width:16px;height:16px}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button:before{height:auto!important;border-radius:0!important}.aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button .label{display:inline!important}[dir=ltr] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button .label{margin-left:10px}[dir=rtl] .aioseo-modal-content>.aioseo-settings-row .aioseo-tabs .md-button .label{margin-right:10px}.aioseo-modal-content>.aioseo-settings-row.mobile-radio-buttons .md-button{max-height:46px}.aioseo-modal-content .aioseo-tab-content{position:relative;padding:30px 40px!important}.aioseo-modal-content .aioseo-tab-content.aioseo-post-social{padding:22px 40px!important}.open-redirects-modal[data-v-11818a4c]{margin:12px 0}.open-redirects-modal svg[data-v-11818a4c]{width:10px;height:10px}[dir=ltr] .open-redirects-modal svg[data-v-11818a4c]{margin-right:8px}[dir=rtl] .open-redirects-modal svg[data-v-11818a4c]{margin-left:8px}.aioseo-redirects .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.aioseo-redirects .aioseo-modal-body h3{font-size:20px;margin-bottom:16px}.aioseo-redirects .aioseo-modal-body .label{padding-bottom:5px;color:#141b38;font-size:14px;font-weight:700}.aioseo-redirects .aioseo-modal-body .reset-description{font-size:16px;color:#141b38;margin-bottom:16px;text-align:center;max-width:515px}.aioseo-redirects .aioseo-modal-body button.close{position:absolute;top:11px;width:24px;height:24px;background-color:#fff;border:none;display:flex;align-items:center}[dir=ltr] .aioseo-redirects .aioseo-modal-body button.close{right:11px}[dir=rtl] .aioseo-redirects .aioseo-modal-body button.close{left:11px}.aioseo-redirects .aioseo-modal-body button.close svg.aioseo-close{cursor:pointer;width:14px;height:14px}.aioseo-redirects .aioseo-modal-body .aioseo-description{max-width:510px;text-align:center}.aioseo-redirects .aioseo-modal-body .aioseo-button:not(.close){margin-top:16px}.aioseo-redirects .aioseo-modal-body.custom-rule-info{align-items:initial;padding:50px}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div{padding-bottom:10px;margin-bottom:15px;border-bottom:1px solid #E8E8EB;display:flex;flex-direction:row}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div .rule{flex:1 0}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div .rule ul{list-style:disc inside;margin-bottom:0}.aioseo-redirects .aioseo-modal-body.custom-rule-info>div:last-of-type{border-bottom:none;padding-bottom:0;margin-bottom:0}.aioseo-redirects .aioseo-modal-body .custom-url{width:100%;padding-bottom:24px}.aioseo-redirects .aioseo-modal-body .custom-url .custom-url-input{display:flex;flex-direction:row}[dir=ltr] .aioseo-redirects .aioseo-modal-body .custom-url .aioseo-button{margin:0 0 0 8px!important}[dir=rtl] .aioseo-redirects .aioseo-modal-body .custom-url .aioseo-button{margin:0 8px 0 0!important}.aioseo-redirects .aioseo-modal-body .custom-url .label{font-weight:700;min-width:90px;display:flex;align-content:center}[dir=ltr] .aioseo-redirects .aioseo-modal-body .custom-url .label{padding-right:8px}[dir=rtl] .aioseo-redirects .aioseo-modal-body .custom-url .label{padding-left:8px}.aioseo-redirects.redirect-test .aioseo-modal-body{padding:30px}.aioseo-redirects.redirect-test .alert-regex{font-weight:400;margin-bottom:24px}.aioseo-redirects.redirect-test .modal-container{overflow-x:inherit;overflow-y:inherit}[dir=ltr] .aioseo-redirects.redirect-test .modal-header{padding-right:40px!important}[dir=rtl] .aioseo-redirects.redirect-test .modal-header{padding-left:40px!important}.aioseo-redirects.redirect-test .source{padding:8px 16px;color:#141b38;background:#E8E8EB;border-radius:4px;font-size:14px;font-weight:700;max-width:458px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[dir=ltr] .aioseo-redirects.redirect-test .source{margin-left:8px}[dir=rtl] .aioseo-redirects.redirect-test .source{margin-right:8px}.aioseo-redirects.redirect-test h3{margin-top:0}.aioseo-redirects.redirect-test .redirect-results{width:100%}.aioseo-redirects.redirect-test .redirect-results .label{padding-bottom:12px}.aioseo-redirects.redirect-test .redirect-results .result{padding-bottom:24px}.aioseo-redirects.redirect-test .redirect-results .redirects-options-table tbody td:first-child{font-weight:700;width:200px}.aioseo-redirects.redirect-test .redirect-results .errors{padding-top:24px}.aioseo-redirects.redirect-test .redirect-results .errors .aioseo-alert{padding:8px}.aioseo-redirects.redirect-test .redirect-results .errors ul{margin:0;list-style-type:disc}[dir=ltr] .aioseo-redirects.redirect-test .redirect-results .errors ul{padding-left:24px}[dir=rtl] .aioseo-redirects.redirect-test .redirect-results .errors ul{padding-right:24px}.aioseo-redirects.redirect-test .redirect-results .errors ul li{margin:0;font-weight:400;padding-bottom:8px}.aioseo-redirects.redirect-test .redirect-results .errors ul li:last-child{padding-bottom:0}.aioseo-redirects.redirect-test .aioseo-alert{display:flex;align-items:center}.aioseo-redirects.redirect-test .aioseo-alert svg{width:20px;height:20px}[dir=ltr] .aioseo-redirects.redirect-test .aioseo-alert svg{margin-right:12px}[dir=rtl] .aioseo-redirects.redirect-test .aioseo-alert svg{margin-left:12px}.aioseo-redirects.redirect-test .aioseo-alert.green svg{color:#00aa63}.aioseo-redirects.redirect-test .aioseo-alert.red svg{color:#df2a4a}.aioseo-redirects.redirect-test .aioseo-alert.blue svg{color:#005ae0}.aioseo-redirects.redirect-test .aioseo-tooltip{display:inline-flex}[dir=ltr] .aioseo-redirects.redirect-test .aioseo-tooltip{margin-left:8px}[dir=rtl] .aioseo-redirects.redirect-test .aioseo-tooltip{margin-right:8px}.aioseo-redirects.redirect-test .loading:after{content:""}.aioseo-redirects .aioseo-tooltip{display:flex;margin:0;color:#dadada}.aioseo-redirects .aioseo-tooltip:hover{color:#005ae0}.aioseo-redirects .aioseo-tooltip svg{width:20px;height:20px;cursor:pointer}.aioseo-redirects.metabox{padding:0!important}.aioseo-redirects.metabox .aioseo-wp-table .wp-table tr.edit-row td{padding:0 20px}.aioseo-redirects.metabox .aioseo-add-redirection.edit-url{margin-bottom:0}.aioseo-redirects.modal .modal-body{padding:20px}.aioseo-redirects .aioseo-modal-body{padding:20px 50px 50px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative}.aioseo-redirects .aioseo-modal-body h3{font-size:20px;margin-bottom:16px}.aioseo-redirects .aioseo-modal-body .reset-description{font-size:16px;color:#141b38;margin-bottom:16px;text-align:center;max-width:515px}.aioseo-redirects .aioseo-modal-body button.close{position:absolute;top:11px;width:24px;height:24px;background-color:#fff;border:none;display:flex;align-items:center}[dir=ltr] .aioseo-redirects .aioseo-modal-body button.close{right:11px}[dir=rtl] .aioseo-redirects .aioseo-modal-body button.close{left:11px}.aioseo-redirects .aioseo-modal-body button.close svg.aioseo-close{cursor:pointer;width:14px;height:14px}.aioseo-redirects .aioseo-modal-body .aioseo-description{max-width:510px;text-align:center}.aioseo-redirects .aioseo-modal-body .aioseo-button:not(.close){margin-top:16px}.aioseo-redirects-modal .bd .col-xs-12{flex-basis:50%!important}.redirects-options-table{margin:0;border:1px solid #D0D1D7;border-radius:3px;width:100%;border-spacing:0;border-collapse:separate;font-family:Helvetica;font-size:14px;font-style:normal;font-weight:400;line-height:21px;letter-spacing:0px}[dir=ltr] .redirects-options-table{text-align:left}[dir=rtl] .redirects-options-table{text-align:right}.redirects-options-table tr td{padding:16px 8px!important;background:#FFFFFF;vertical-align:middle!important}[dir=ltr] .redirects-options-table tr td:first-child{padding-left:16px!important}[dir=rtl] .redirects-options-table tr td:first-child{padding-right:16px!important}[dir=ltr] .redirects-options-table tr td:last-child{padding-right:16px!important}[dir=rtl] .redirects-options-table tr td:last-child{padding-left:16px!important}.redirects-options-table tr td.arrow-col,.redirects-options-table tr td.actions{text-align:center}.redirects-options-table tr td.arrow-col div{display:flex;height:100%;justify-content:center;align-items:center}.redirects-options-table tr td.actions{width:20px}.redirects-options-table tr td.aliased-domain{width:100%}.redirects-options-table tr.even td{background-color:#f9f9fa}.redirects-options-table thead td{height:50px;padding:0 8px!important;border-bottom:1px solid #D0D1D7;color:#434960!important}[dir=ltr] .redirects-options-table thead td:first-child{border-radius:3px 0 0}[dir=rtl] .redirects-options-table thead td:first-child{border-radius:0 3px 0 0}[dir=ltr] .redirects-options-table thead td:last-child{border-radius:0 3px 0 0}[dir=rtl] .redirects-options-table thead td:last-child{border-radius:3px 0 0}.redirects-options-table thead td:first-child:last-child{border-radius:3px 3px 0 0}[dir=ltr] .redirects-options-table tbody tr:last-child td:first-child{border-radius:0 0 0 3px}[dir=rtl] .redirects-options-table tbody tr:last-child td:first-child{border-radius:0 0 3px}[dir=ltr] .redirects-options-table tbody tr:last-child td:last-child{border-radius:0 0 3px}[dir=rtl] .redirects-options-table tbody tr:last-child td:last-child{border-radius:0 0 0 3px}.redirects-options-table tfoot td{height:50px;padding:0 8px!important;border-top:1px solid #D0D1D7}[dir=ltr] .redirects-options-table tfoot td:first-child{border-radius:0 0 0 3px}[dir=rtl] .redirects-options-table tfoot td:first-child{border-radius:0 0 3px}[dir=ltr] .redirects-options-table tfoot td:last-child{border-radius:0 0 3px}[dir=rtl] .redirects-options-table tfoot td:last-child{border-radius:0 0 0 3px}.redirects-options-table tfoot td:first-child:last-child{border-radius:0 0 3px 3px}[dir=ltr] .redirects-options-table tfoot td .aioseo-button+.aioseo-button{margin:0 0 0 16px}[dir=rtl] .redirects-options-table tfoot td .aioseo-button+.aioseo-button{margin:0 16px 0 0}.redirects-options-table.small tr td{padding:8px!important}.redirects-options-table.small thead td{height:30px;padding:0 8px!important}.redirects-options-table svg{color:#dadada}.redirects-options-table svg.aioseo-trash{width:20px;height:20px;cursor:pointer}.redirects-options-table svg.aioseo-trash:hover{color:#df2a4a}.redirects-options-table svg.aioseo-right-arrow{width:26px;color:#8c8f9a}.redirects-options-table .aioseo-tooltip{display:flex}[dir=ltr] .redirects-options-table .aioseo-tooltip{margin-left:0}[dir=rtl] .redirects-options-table .aioseo-tooltip{margin-right:0}.aioseo-post-schema-lite{position:relative;min-height:450px}.aioseo-post-schema-lite .schema-type{max-width:350px}.aioseo-post-schema-lite .aioseo-description{font-size:14px;line-height:1.8;margin:8px 0 0;color:#141b38}.aioseo-post-schema-lite .field-description{font-size:14px}.aioseo-post-schema-lite .block{display:block}.aioseo-post-schema-lite .aioseo-settings-row:last-of-type{margin-bottom:30px!important;padding-bottom:30px!important}.aioseo-post-schema-lite .schema-book-rating-options{display:flex}.aioseo-post-schema-lite .schema-book-rating-options .rating,.aioseo-post-schema-lite .schema-book-rating-options .rating-min{flex:1}[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-right:30px}[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-left:30px}.aioseo-post-schema-lite .schema-book-rating-options .rating-max{flex:1}@media screen and (max-width: 782px){.aioseo-post-schema-lite .schema-book-rating-options{display:block}.aioseo-post-schema-lite .schema-book-rating-options .rating,.aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-bottom:30px}[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=ltr] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-right:0}[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating,[dir=rtl] .aioseo-post-schema-lite .schema-book-rating-options .rating-min{margin-left:0}}.aioseo-post-schema-lite .schema-person-options{display:flex;flex:0 1 auto;flex-direction:row;flex-wrap:wrap}@media screen and (max-width: 782px){.aioseo-post-schema-lite .schema-person-options{display:block}}.aioseo-post-schema-lite .aioseo-alert.schema-upsell{max-width:560px}.edit-post-sidebar .aioseo-post-schema .aioseo-settings-row.aioseo-row .col-md-9 .settings-content .aioseo-col{padding-left:0;padding-right:0}.edit-post-sidebar .schema-book-rating-options{display:block}.edit-post-sidebar .schema-book-rating-options .rating,.edit-post-sidebar .schema-book-rating-options .rating-min{margin:0 0 20px}.edit-post-sidebar .schema-upsell{margin-top:20px}.aioseo-post-settings,.aioseo-metabox .aioseo-post-settings{background:#fff;color:#141b38}.aioseo-post-settings .aioseo-tabs,.aioseo-metabox .aioseo-post-settings .aioseo-tabs{border-bottom-width:2px;background:#F3F4F5}.aioseo-post-settings .aioseo-tabs .md-tabs-navigation,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-tabs-navigation{margin-top:0!important}.aioseo-post-settings .aioseo-tabs .md-button,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-button{height:50px!important;font-size:14px!important;color:#434960!important}.aioseo-post-settings .aioseo-tabs .md-button.md-active,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-button.md-active{color:#141b38!important;-webkit-text-stroke-width:.2px;-webkit-text-stroke-color:#141B38}.aioseo-post-settings .aioseo-tabs .md-button .icon,.aioseo-metabox .aioseo-post-settings .aioseo-tabs .md-button .icon{display:none}.aioseo-post-settings .aioseo-tabs svg,.aioseo-metabox .aioseo-post-settings .aioseo-tabs svg{display:none}@media screen and (max-width: 785px){.aioseo-post-settings .aioseo-tabs svg.aioseo-caret,.aioseo-metabox .aioseo-post-settings .aioseo-tabs svg.aioseo-caret{display:inline}}.aioseo-post-settings .aioseo-tab-content,.aioseo-metabox .aioseo-post-settings .aioseo-tab-content{background:#fff;border-top:0;padding:30px;font-size:13px}.aioseo-post-settings .aioseo-settings-row,.aioseo-metabox .aioseo-post-settings .aioseo-settings-row{margin-bottom:16px;padding-bottom:16px}.aioseo-post-settings .aioseo-sidebar-content-title,.aioseo-metabox .aioseo-post-settings .aioseo-sidebar-content-title{font-weight:700;font-size:14px;padding-bottom:5px}.edit-post-sidebar .col-xs-12,.edit-post-sidebar .col-sm-6,.edit-post-sidebar .col-md-4,.edit-post-sidebar .col-md-3{width:100%;flex-basis:100%!important;max-width:100%!important}.edit-post-sidebar .components-panel{border-bottom:none}.edit-post-sidebar .aioseo-mobile-tabs{display:none}.edit-post-sidebar .tabs-scroller{display:block!important;width:100%}.edit-post-sidebar .aioseo-tabs{background:#FAFAFA}.edit-post-sidebar .aioseo-tabs .md-button{height:51px!important;color:#141b38!important}.edit-post-sidebar .aioseo-tabs .md-button .md-ripple{padding:0 10px!important}.edit-post-sidebar .aioseo-tabs .md-button .icon{display:inline;line-height:1.3rem}.edit-post-sidebar .aioseo-tabs .md-button .icon:before{line-height:inherit}.edit-post-sidebar .aioseo-tabs .md-button .label{display:none}.edit-post-sidebar .aioseo-tabs .md-button.md-active{color:#141b38!important}.edit-post-sidebar .aioseo-tabs .md-button svg{display:inline;width:16px;height:16px;margin-top:4px;color:#8c8f9a}.edit-post-sidebar .aioseo-tabs .md-button svg.aioseo-crossed-arrows{width:14px;height:14px}.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active){min-width:36px!important;margin:0 3px!important}.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active):before{top:8px!important;border-radius:50%;height:36px;color:#141b38}.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active):hover svg,.edit-post-sidebar .aioseo-tabs .md-button:not(.md-active):focus svg{color:#141b38}.edit-post-sidebar .aioseo-app input{border:1px solid #D0D1D7}.edit-post-sidebar .aioseo-app input:focus{border-color:#005ae0;box-shadow:0 0 0 1px #005ae0}.edit-post-sidebar .aioseo-app input::placeholder{color:#8c8f9a}.edit-post-sidebar .aioseo-app .aioseo-textarea-autosize{border:1px solid #D0D1D7}.edit-post-sidebar .aioseo-app .aioseo-tab-content{padding:20px 16px;border:none}.edit-post-sidebar .aioseo-app .aioseo-description{margin:0}.edit-post-sidebar .aioseo-settings-row{margin-bottom:16px;padding-bottom:16px}.edit-post-sidebar .aioseo-settings-row:last-of-type{border-bottom:0;margin-bottom:0!important;padding-bottom:0!important}.edit-post-sidebar .aioseo-settings-row>.aioseo-col{padding-top:0}.edit-post-sidebar .aioseo-settings-row .settings-name .name{font-size:14px;font-weight:700;margin-bottom:0}.aioseo-app.post-settings-modal .aioseo-modal-content .aioseo-tabs.internal{border-bottom-width:1px!important}@media screen and (max-width: 520px){[dir=ltr] .aioseo-app.post-settings-modal .aioseo-modal-content .aioseo-tabs.internal{padding-left:20px!important}[dir=rtl] .aioseo-app.post-settings-modal .aioseo-modal-content .aioseo-tabs.internal{padding-right:20px!important}}.aioseo-app.post-settings-modal .aioseo-modal-content .md-tabs-navigation .md-tabs-indicator{bottom:-1px!important}@media only screen and (min-width: 782px){.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-4{-ms-flex-preferred-size:33.33333333%!important;flex-basis:33.33333333%!important;max-width:33.33333333%!important}.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-5{-ms-flex-preferred-size:41.66666667%!important;flex-basis:41.66666667%!important;max-width:41.66666667%!important}.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-7{-ms-flex-preferred-size:58.33333333%!important;flex-basis:58.33333333%!important;max-width:58.33333333%!important}.aioseo-app.post-settings-modal .aioseo-modal-content .col-md-8{-ms-flex-preferred-size:66.66666667%!important;flex-basis:66.66666667%!important;max-width:66.66666667%!important}}.aioseo-redirects-modal .bd{padding:20px}.aioseo-redirects-modal .modal-mask .modal-wrapper .modal-container{max-width:1000px}.aioseo-post-settings-sidebar-vue{display:flex;justify-content:center}.aioseo-post-settings-sidebar-vue .aioseo-loading-spinner{margin-top:30px}
|
dist/Lite/assets/css/DonutChartWithLegend.52621063.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.aioseo-app .aioseo-donut-chart{position:relative}.aioseo-app .aioseo-donut-chart svg{width:100%}.aioseo-app .aioseo-donut-chart svg circle{transform-origin:center}[dir=ltr] .aioseo-app .aioseo-donut-chart svg circle{transform:rotate(270deg)}[dir=rtl] .aioseo-app .aioseo-donut-chart svg circle{transform:rotate(-270deg)}.aioseo-app .aioseo-donut-chart .total-amount-wrapper{position:absolute;left:0;top:0;right:0;bottom:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#141b38;margin:20px}.aioseo-app .aioseo-donut-chart .total-amount-wrapper .total-amount{text-align:center}.aioseo-app .aioseo-donut-chart .total-amount-wrapper .total-amount .total{font-size:40px;font-weight:700;line-height:1}.aioseo-app .aioseo-donut-chart .total-amount-wrapper .total-amount .label{margin-top:5px;line-height:150%}.aioseo-app .aioseo-donut-chart-with-legend{display:flex;font-size:14px;color:#141b38}.aioseo-app .aioseo-donut-chart-with-legend .chart-left{max-width:217px;position:relative}.aioseo-app .aioseo-donut-chart-with-legend .chart-right{flex:1 1 80%;font-size:14px;line-height:130%;margin-top:auto;margin-bottom:auto}[dir=ltr] .aioseo-app .aioseo-donut-chart-with-legend .chart-right{margin-left:50px}[dir=rtl] .aioseo-app .aioseo-donut-chart-with-legend .chart-right{margin-right:50px}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend{display:flex;align-items:center;padding:6px}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend span{display:inline-block}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-bullet{width:12px;height:12px;min-width:12px;border-radius:50%}[dir=ltr] .aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-bullet{margin-right:9px}[dir=rtl] .aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-bullet{margin-left:9px}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-amount{font-weight:700;min-width:30px}[dir=ltr] .aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-amount{margin-right:12px;text-align:left}[dir=rtl] .aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-amount{margin-left:12px;text-align:right}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-label{line-height:130%}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-label.is-link{text-decoration:none}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .legend .legend-label.is-link:hover{text-decoration:underline}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .chart-more{margin-top:21px;color:#005ae0;font-weight:700;cursor:pointer}[dir=ltr] .aioseo-app .aioseo-donut-chart-with-legend .chart-right .chart-more{margin-left:6px}[dir=rtl] .aioseo-app .aioseo-donut-chart-with-legend .chart-right .chart-more{margin-right:6px}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .chart-more a{text-decoration:underline}.aioseo-app .aioseo-donut-chart-with-legend .chart-right .chart-more a:not(:first-of-type),.aioseo-app .aioseo-donut-chart-with-legend .chart-right .chart-more a:hover{text-decoration:none}@media screen and (max-width: 1200px){.aioseo-app .aioseo-donut-chart-with-legend{display:block!important}.aioseo-app .aioseo-donut-chart-with-legend .chart-left{margin-left:auto;margin-right:auto}.aioseo-app .aioseo-donut-chart-with-legend .chart-right{margin-left:auto;margin-right:auto;margin-top:20px;display:flex;flex-direction:column}}
|
dist/Lite/assets/css/Overview.1aa1aa7a.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.aioseo-app .aioseo-link-count{display:flex;padding:5px 20px;flex-direction:column;align-items:center;justify-content:center;text-decoration:none}.aioseo-app .aioseo-link-count .aioseo-link-count-top{display:flex;align-items:center;height:20px}.aioseo-app .aioseo-link-count .aioseo-link-count-top span{color:#141b38;font-size:28px;font-weight:700}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg{width:15.75px;height:15.75px}[dir=ltr] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg{margin-right:12px}[dir=rtl] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg{margin-left:12px}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-external{color:#005ae0}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-internal-inbound{color:#00aa63}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-affiliate{max-width:17.5px;max-height:17.5px;color:#f18200}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-orphaned{max-width:17.5px;color:#df2a4a}[dir=ltr] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-orphaned{margin-right:10px}[dir=rtl] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-orphaned{margin-left:10px}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom{display:flex;margin-top:15px}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom span{font-size:14px;line-height:120%;color:#434960}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip{display:inline-block;margin-top:1.5px}[dir=ltr] .aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip{margin-left:8px}[dir=rtl] .aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip{margin-right:8px}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip svg.aioseo-circle-question-mark{display:inline-flex;width:15px;height:15px}@media screen and (max-width: 912px){.aioseo-app .aioseo-link-count .aioseo-row{justify-content:center;row-gap:15px}.aioseo-app .aioseo-link-count .aioseo-row .counter{display:inline-flex}.aioseo-app .aioseo-link-count .aioseo-row .counter.aioseo-col{flex-basis:auto;padding:5px 20px}}.aioseo-app .aioseo-link-assistant-statistics .counter{display:flex;justify-content:center}[dir=ltr] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-right:2px solid #DCDDE1}[dir=rtl] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-left:2px solid #DCDDE1}@media screen and (max-width: 912px){.aioseo-app .aioseo-link-assistant-statistics .aioseo-row{justify-content:center;row-gap:15px}.aioseo-app .aioseo-link-assistant-statistics .aioseo-row .counter{display:inline-flex}.aioseo-app .aioseo-link-assistant-statistics .aioseo-row .counter.aioseo-col{flex-basis:auto}}@media screen and (max-width: 340px){.aioseo-app .aioseo-link-assistant-statistics .aioseo-row{justify-content:flex-start!important;margin:0 auto}[dir=ltr] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-right:0}[dir=rtl] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-left:0}.aioseo-app .aioseo-link-assistant-statistics .aioseo-tooltip{display:none!important}}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .row{display:flex;align-items:center}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row.even{background-color:#f9f9fa}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column{padding:14px;font-size:14px}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title{min-width:0}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title a{color:#141b38;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title a:hover{color:#005ae0}[dir=ltr] .aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip{margin-left:0}[dir=rtl] .aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip{margin-right:0}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip .popper a{color:#fff;text-decoration:underline}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip .popper a:hover{text-decoration:none}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-inbound,.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-outbound{min-width:60px;flex:0;text-align:center}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-inbound .row,.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-outbound .row{align-self:center}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column .aioseo-tooltip-wrapper{display:flex}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column .aioseo-tooltip-wrapper .aioseo-tooltip{margin:0}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column svg.aioseo-link-internal-outbound,.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column svg.aioseo-link-internal-inbound{height:15.75px;width:15.75px;color:#00aa63}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link{margin-top:34.5px;color:#005ae0;cursor:pointer;font-weight:700;font-size:14px}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link a{text-decoration:underline}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link a:not(:first-of-type),.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link a:hover{text-decoration:none}.aioseo-app .aioseo-link-assistant-overview .domains-table{margin-top:40px}.aioseo-app .aioseo-link-assistant-overview .domains-table .row{display:flex;align-items:center}.aioseo-app .aioseo-link-assistant-overview .domains-table .row .favicon{width:15px}[dir=ltr] .aioseo-app .aioseo-link-assistant-overview .domains-table .row .favicon{margin:0 10px 0 0}[dir=rtl] .aioseo-app .aioseo-link-assistant-overview .domains-table .row .favicon{margin:0 0 0 10px}.aioseo-app .aioseo-link-assistant-overview .domains-table .row .domain-name{color:#141b38}.aioseo-app .aioseo-link-assistant-overview .domains-table .row .domain-name:hover{color:#005ae0}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row.even{background-color:#f9f9fa}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column{padding:14px;font-size:14px}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain{min-width:0}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain a{text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain a:hover{color:#005ae0}[dir=ltr] .aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip{margin-left:0}[dir=rtl] .aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip{margin-right:0}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip .popper a{color:#fff;text-decoration:underline}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip .popper a:hover{text-decoration:none}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.count{min-width:100px;flex:0;align-items:flex-end}.aioseo-link-assistant-cta.aioseo-cta.floating{top:200px}[dir=ltr] .aioseo-link-assistant-cta.aioseo-cta.floating{transform:translate(-50%)}[dir=rtl] .aioseo-link-assistant-cta.aioseo-cta.floating{transform:translate(50%)}
|
dist/Lite/assets/css/Overview.74c8be87.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.aioseo-progress-circle__circle{transform-origin:center;stroke:#005ae0}[dir=ltr] .aioseo-progress-circle__circle{transform:rotate(270deg)}[dir=rtl] .aioseo-progress-circle__circle{transform:rotate(-270deg)}.aioseo-progress-circle__background{stroke:#005ae040}.aioseo-seo-setup{display:flex;flex-direction:row;align-items:center}.aioseo-seo-setup .progress{display:inline-flex;align-items:center;line-height:1;border:1px solid #C3C4C7;border-radius:100px;margin-bottom:20px;color:#141b38}[dir=ltr] .aioseo-seo-setup .progress{padding:8px 14px 8px 8px}[dir=rtl] .aioseo-seo-setup .progress{padding:8px 8px 8px 14px}.aioseo-seo-setup .progress .aioseo-progress-circle{width:18px}[dir=ltr] .aioseo-seo-setup .progress .aioseo-progress-circle{margin-right:8px}[dir=rtl] .aioseo-seo-setup .progress .aioseo-progress-circle{margin-left:8px}.aioseo-seo-setup .aioseo-button svg{width:14px;height:14px}[dir=ltr] .aioseo-seo-setup .aioseo-button svg{margin-right:10px}[dir=rtl] .aioseo-seo-setup .aioseo-button svg{margin-left:10px}.aioseo-seo-setup .description{font-size:14px;margin-bottom:20px;color:#434960}.aioseo-seo-setup .aioseo-seo{max-width:300px;min-width:275px;width:100%;height:auto}@media screen and (max-width: 1280px){.aioseo-seo-setup .aioseo-seo{min-width:0}}@media screen and (max-width: 912px){.aioseo-seo-setup{flex-direction:column}}.aioseo-seo-setup--wp-styles .progress{margin-bottom:12px}.aioseo-seo-setup--wp-styles .description{color:#3c434a;margin-bottom:12px}.aioseo-seo-setup--wp-styles .button svg{vertical-align:text-bottom;width:14px;height:14px}[dir=ltr] .aioseo-seo-setup--wp-styles .button svg{margin-right:10px}[dir=rtl] .aioseo-seo-setup--wp-styles .button svg{margin-left:10px}.aioseo-seo-setup--wp-styles .aioseo-seo{max-width:225px;min-width:0}@media screen and (max-width: 520px){.aioseo-seo-setup--wp-styles{flex-direction:column}}.aioseo-blog{position:relative}.aioseo-blog-list{margin-bottom:24px;border-bottom:2px solid #E8E8EB}.aioseo-blog-list-item{display:flex;justify-content:space-between;margin-bottom:16px;color:#434960}.aioseo-blog-list-item a{text-decoration:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;font-size:14px}.aioseo-blog-list-item a:hover{text-decoration:underline!important}.aioseo-blog-list-item span{white-space:nowrap}[dir=ltr] .aioseo-blog-list-item span{padding-left:10px}[dir=rtl] .aioseo-blog-list-item span{padding-right:10px}.aioseo-blog-read-more{font-weight:700;font-size:14px}.aioseo-blog-read-more svg{display:inline-block;width:16px;height:16px;vertical-align:sub}[dir=ltr] .aioseo-blog-read-more svg{margin-left:8px}[dir=rtl] .aioseo-blog-read-more svg{margin-right:8px}.aioseo-blog:before{position:absolute;top:0}[dir=ltr] .aioseo-blog:before{left:0}[dir=rtl] .aioseo-blog:before{right:0}.aioseo-overview-description{color:#434960;font-size:14px!important;margin:0 0 16px}.aioseo-overview-selector{margin:0 0 16px}.aioseo-overview-selector strong{font-size:14px;display:inline-block;margin-bottom:4px;font-weight:700}.aioseo-overview .aioseo-donut-chart-with-legend{margin:0 0 16px}.aioseo-overview .aioseo-donut-chart-with-legend .chart-left{max-width:145px}[dir=ltr] .aioseo-overview .aioseo-donut-chart-with-legend .chart-right{margin-left:32px}[dir=rtl] .aioseo-overview .aioseo-donut-chart-with-legend .chart-right{margin-right:32px}@media screen and (max-width: 600px){[dir=ltr] .aioseo-overview .aioseo-donut-chart-with-legend .chart-right{margin-left:auto}[dir=rtl] .aioseo-overview .aioseo-donut-chart-with-legend .chart-right{margin-right:auto}}@media screen and (max-width: 911px) and (min-width: 601px){.aioseo-overview .aioseo-donut-chart-with-legend .chart-right{max-width:50%}[dir=ltr] .aioseo-overview .aioseo-donut-chart-with-legend .chart-right{margin-left:auto}[dir=rtl] .aioseo-overview .aioseo-donut-chart-with-legend .chart-right{margin-right:auto}}.aioseo-overview .aioseo-alert{margin:0 0 24px}.aioseo-overview .aioseo-alert a{color:#2c324c!important}.aioseo-overview .aioseo-separator{width:100%;width:calc(100% + 60px);margin:24px 0;border-color:#e8e8eb}[dir=ltr] .aioseo-overview .aioseo-separator{margin-left:-30px}[dir=rtl] .aioseo-overview .aioseo-separator{margin-right:-30px}.aioseo-overview--wp-styles .aioseo-overview-description{color:#434960}.aioseo-overview--wp-styles .aioseo-overview-selector select{width:100%}.aioseo-overview--wp-styles .aioseo-overview-selector strong{font-weight:400}.aioseo-overview--wp-styles a{color:#2271b1!important}.aioseo-overview--wp-styles .aioseo-alert{font-weight:400!important}.aioseo-overview--wp-styles .aioseo-separator{width:calc(100% + 24px);margin:12px 0;border-color:#c3c4c7;border-top:0}[dir=ltr] .aioseo-overview--wp-styles .aioseo-separator{margin-left:-12px}[dir=rtl] .aioseo-overview--wp-styles .aioseo-separator{margin-right:-12px}.aioseo-overview--wp-styles .aioseo-blog-list{border-width:1px;border-color:#c3c4c7;margin-bottom:12px}.aioseo-overview--wp-styles .aioseo-blog-list-item{margin-bottom:12px}.aioseo-overview--wp-styles .aioseo-blog-read-more{text-decoration:none;font-weight:400;font-size:13px}.aioseo-overview--wp-styles .aioseo-blog-read-more:hover{text-decoration:underline!important}
|
dist/Lite/assets/css/Overview.9196a13b.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.aioseo-app .aioseo-link-count{display:flex;padding:5px 20px;flex-direction:column;align-items:center;justify-content:center;text-decoration:none}.aioseo-app .aioseo-link-count .aioseo-link-count-top{display:flex;align-items:center;height:20px}.aioseo-app .aioseo-link-count .aioseo-link-count-top span{color:#141b38;font-size:28px;font-weight:700}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg{width:15.75px;height:15.75px}[dir=ltr] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg{margin-right:12px}[dir=rtl] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg{margin-left:12px}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-external{color:#005ae0}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-internal-inbound{color:#00aa63}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-affiliate{max-width:17.5px;max-height:17.5px;color:#f18200}.aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-orphaned{max-width:17.5px;color:#df2a4a}[dir=ltr] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-orphaned{margin-right:10px}[dir=rtl] .aioseo-app .aioseo-link-count .aioseo-link-count-top svg.aioseo-link-orphaned{margin-left:10px}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom{display:flex;margin-top:15px}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom span{font-size:14px;line-height:120%;color:#434960}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip{display:inline-block;margin-top:1.5px}[dir=ltr] .aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip{margin-left:8px}[dir=rtl] .aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip{margin-right:8px}.aioseo-app .aioseo-link-count .aioseo-link-count-bottom .aioseo-tooltip svg.aioseo-circle-question-mark{display:inline-flex;width:15px;height:15px}@media screen and (max-width: 912px){.aioseo-app .aioseo-link-count .aioseo-row{justify-content:center;row-gap:15px}.aioseo-app .aioseo-link-count .aioseo-row .counter{display:inline-flex}.aioseo-app .aioseo-link-count .aioseo-row .counter.aioseo-col{flex-basis:auto;padding:5px 20px}}.aioseo-app .aioseo-link-assistant-statistics .counter{display:flex;justify-content:center}[dir=ltr] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-right:2px solid #DCDDE1}[dir=rtl] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-left:2px solid #DCDDE1}@media screen and (max-width: 912px){.aioseo-app .aioseo-link-assistant-statistics .aioseo-row{justify-content:center;row-gap:15px}.aioseo-app .aioseo-link-assistant-statistics .aioseo-row .counter{display:inline-flex}.aioseo-app .aioseo-link-assistant-statistics .aioseo-row .counter.aioseo-col{flex-basis:auto}}@media screen and (max-width: 340px){.aioseo-app .aioseo-link-assistant-statistics .aioseo-row{justify-content:flex-start!important;margin:0 auto}[dir=ltr] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-right:0}[dir=rtl] .aioseo-app .aioseo-link-assistant-statistics .divider-right{border-left:0}.aioseo-app .aioseo-link-assistant-statistics .aioseo-tooltip{display:none!important}}.aioseo-app .aioseo-link-chart{position:relative}.aioseo-app .aioseo-link-chart svg{width:100%}.aioseo-app .aioseo-link-chart svg circle{transform-origin:center}[dir=ltr] .aioseo-app .aioseo-link-chart svg circle{transform:rotate(270deg)}[dir=rtl] .aioseo-app .aioseo-link-chart svg circle{transform:rotate(-270deg)}.aioseo-app .aioseo-link-chart .total-amount-wrapper{position:absolute;left:0;top:20px;right:0;bottom:0;display:flex;align-items:center;justify-content:center;flex-direction:column;color:#141b38;margin:20px}.aioseo-app .aioseo-link-chart .total-amount-wrapper .total-amount{text-align:center}.aioseo-app .aioseo-link-chart .total-amount-wrapper .total-amount .total{font-size:40px;font-weight:700}.aioseo-app .aioseo-link-chart .total-amount-wrapper .total-amount .label{margin-top:15px;line-height:150%}.aioseo-app .aioseo-link-chart-with-legend{display:flex;font-size:14px;color:#141b38}.aioseo-app .aioseo-link-chart-with-legend .chart-left{max-width:217px;position:relative}.aioseo-app .aioseo-link-chart-with-legend .chart-right{flex:1 1 80%;font-size:14px;line-height:130%;margin-top:auto;margin-bottom:auto}[dir=ltr] .aioseo-app .aioseo-link-chart-with-legend .chart-right{margin-left:50px}[dir=rtl] .aioseo-app .aioseo-link-chart-with-legend .chart-right{margin-right:50px}.aioseo-app .aioseo-link-chart-with-legend .chart-right .legend{display:flex;align-items:center;padding:6px}.aioseo-app .aioseo-link-chart-with-legend .chart-right .legend span{display:inline-block}.aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-bullet{width:12px;height:12px;min-width:12px;border-radius:50%}[dir=ltr] .aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-bullet{margin-right:9px}[dir=rtl] .aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-bullet{margin-left:9px}.aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-amount{font-weight:700;min-width:30px}[dir=ltr] .aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-amount{margin-right:12px;text-align:left}[dir=rtl] .aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-amount{margin-left:12px;text-align:right}.aioseo-app .aioseo-link-chart-with-legend .chart-right .legend .legend-label{line-height:130%}.aioseo-app .aioseo-link-chart-with-legend .chart-right .chart-link{margin-top:21px;color:#005ae0;cursor:pointer;font-weight:700}[dir=ltr] .aioseo-app .aioseo-link-chart-with-legend .chart-right .chart-link{margin-left:6px}[dir=rtl] .aioseo-app .aioseo-link-chart-with-legend .chart-right .chart-link{margin-right:6px}.aioseo-app .aioseo-link-chart-with-legend .chart-right .chart-link a{text-decoration:underline}.aioseo-app .aioseo-link-chart-with-legend .chart-right .chart-link a:not(:first-of-type),.aioseo-app .aioseo-link-chart-with-legend .chart-right .chart-link a:hover{text-decoration:none}@media screen and (max-width: 1200px){.aioseo-app .aioseo-link-chart-with-legend{display:block!important}.aioseo-app .aioseo-link-chart-with-legend .chart-left{margin-left:auto;margin-right:auto}.aioseo-app .aioseo-link-chart-with-legend .chart-right{margin-left:auto;margin-right:auto;margin-top:20px;display:flex;flex-direction:column;align-items:center}}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .row{display:flex;align-items:center}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row.even{background-color:#f9f9fa}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column{padding:14px;font-size:14px}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title{min-width:0}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title a{color:#141b38;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title a:hover{color:#005ae0}[dir=ltr] .aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip{margin-left:0}[dir=rtl] .aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip{margin-right:0}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip .popper a{color:#fff;text-decoration:underline}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.post-title .aioseo-tooltip .popper a:hover{text-decoration:none}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-inbound,.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-outbound{min-width:60px;flex:0;text-align:center}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-inbound .row,.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column.internal-outbound .row{align-self:center}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column .aioseo-tooltip-wrapper{display:flex}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column .aioseo-tooltip-wrapper .aioseo-tooltip{margin:0}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column svg.aioseo-link-internal-outbound,.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .linking-opportunities-table .aioseo-table-row .aioseo-table-column svg.aioseo-link-internal-inbound{height:15.75px;width:15.75px;color:#00aa63}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link{margin-top:34.5px;color:#005ae0;cursor:pointer;font-weight:700;font-size:14px}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link a{text-decoration:underline}.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link a:not(:first-of-type),.aioseo-app .aioseo-link-assistant-overview .aioseo-link-assistant-linking-opportunities .links-report-link a:hover{text-decoration:none}.aioseo-app .aioseo-link-assistant-overview .domains-table{margin-top:40px}.aioseo-app .aioseo-link-assistant-overview .domains-table .row{display:flex;align-items:center}.aioseo-app .aioseo-link-assistant-overview .domains-table .row .favicon{width:15px}[dir=ltr] .aioseo-app .aioseo-link-assistant-overview .domains-table .row .favicon{margin:0 10px 0 0}[dir=rtl] .aioseo-app .aioseo-link-assistant-overview .domains-table .row .favicon{margin:0 0 0 10px}.aioseo-app .aioseo-link-assistant-overview .domains-table .row .domain-name{color:#141b38}.aioseo-app .aioseo-link-assistant-overview .domains-table .row .domain-name:hover{color:#005ae0}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row.even{background-color:#f9f9fa}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column{padding:14px;font-size:14px}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain{min-width:0}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain a{text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain a:hover{color:#005ae0}[dir=ltr] .aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip{margin-left:0}[dir=rtl] .aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip{margin-right:0}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip .popper a{color:#fff;text-decoration:underline}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.domain .aioseo-tooltip .popper a:hover{text-decoration:none}.aioseo-app .aioseo-link-assistant-overview .domains-table .aioseo-table-row .aioseo-table-column.count{min-width:100px;flex:0;align-items:flex-end}.aioseo-link-assistant-cta.aioseo-cta.floating{top:200px}[dir=ltr] .aioseo-link-assistant-cta.aioseo-cta.floating{transform:translate(-50%)}[dir=rtl] .aioseo-link-assistant-cta.aioseo-cta.floating{transform:translate(50%)}
|
|
dist/Lite/assets/css/TitleDescription.66c1d902.css
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
.aioseo-sa-ct-advanced .other-options{margin-top:10px}.aioseo-sa-ct-advanced .other-options:first-child{margin-top:0}
|
|
dist/Lite/assets/css/TitleDescription.685d5e65.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
.aioseo-sa-ct-advanced .inline-upsell{display:inline-flex;margin-top:20px}.aioseo-sa-ct-advanced .other-options{margin-top:10px}.aioseo-sa-ct-advanced .other-options:first-child{margin-top:0}
|
dist/Lite/assets/dashboard-widgets.1fa202ae.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var er=Object.defineProperty;var p=Object.getOwnPropertySymbols;var ur=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable;var b=(r,e,u)=>e in r?er(r,e,{enumerable:!0,configurable:!0,writable:!0,value:u}):r[e]=u,x=(r,e)=>{for(var u in e||(e={}))ur.call(e,u)&&b(r,u,e[u]);if(p)for(var u of p(e))or.call(e,u)&&b(r,u,e[u]);return r};import{n as U,V as L}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{d as ar,a as nr}from"./js/index.0f8634bc.js";import{S as M}from"./js/Standalone.13c0aa99.js";import{C as tr,a as sr}from"./js/Overview.4f0f89d4.js";import{e as ir}from"./js/elemLoaded.b1f6e29c.js";import{c as i}from"./js/client.93f15631.js";import"./js/Rocket.8cc34606.js";import"./js/Index.6d59ffe7.js";import"./js/External.8868c638.js";import"./js/DonutChartWithLegend.fe87aad2.js";import"./js/AnimatedNumber.b6059bfd.js";var cr=function(){var r=this,e=r.$createElement,u=r._self._c||e;return r.internalOptions.internal?u("div",[u("core-seo-setup",{attrs:{isWpDashboard:!0}})],1):r._e()},fr=[];const dr={mixins:[M],components:{CoreSeoSetup:tr},computed:x({},ar(["internalOptions"]))},v={};var lr=U(dr,cr,fr,!1,pr,null,null,null);function pr(r){for(let e in v)this[e]=v[e]}var br=function(){return lr.exports}(),xr=function(){var r=this,e=r.$createElement,u=r._self._c||e;return u("div",{staticClass:"aioseo-app",staticStyle:{"background-color":"transparent"}},[u("core-overview",{attrs:{isWpDashboard:!0}})],1)},vr=[];const mr={components:{CoreOverview:sr},mixins:[M]},m={};var gr=U(mr,xr,vr,!1,$r,null,null,null);function $r(r){for(let e in m)this[e]=m[e]}var _r=function(){return gr.exports}(),Sr=typeof i=="object"&&i&&i.Object===Object&&i,yr=Sr,Rr=yr,Ar=typeof self=="object"&&self&&self.Object===Object&&self,hr=Rr||Ar||Function("return this")(),Cr=hr,Or=Cr,Tr=Or.Symbol,l=Tr;function jr(r,e){for(var u=-1,a=r==null?0:r.length,o=Array(a);++u<a;)o[u]=e(r[u],u,r);return o}var Ur=jr,Lr=Array.isArray,Mr=Lr,g=l,E=Object.prototype,Er=E.hasOwnProperty,Wr=E.toString,s=g?g.toStringTag:void 0;function kr(r){var e=Er.call(r,s),u=r[s];try{r[s]=void 0;var a=!0}catch{}var o=Wr.call(r);return a&&(e?r[s]=u:delete r[s]),o}var wr=kr,zr=Object.prototype,Ir=zr.toString;function Nr(r){return Ir.call(r)}var Zr=Nr,$=l,Dr=wr,Fr=Zr,Pr="[object Null]",Gr="[object Undefined]",_=$?$.toStringTag:void 0;function Hr(r){return r==null?r===void 0?Gr:Pr:_&&_ in Object(r)?Dr(r):Fr(r)}var Vr=Hr;function Jr(r){return r!=null&&typeof r=="object"}var Yr=Jr,Br=Vr,qr=Yr,Kr="[object Symbol]";function Qr(r){return typeof r=="symbol"||qr(r)&&Br(r)==Kr}var Xr=Qr,S=l,re=Ur,ee=Mr,ue=Xr,oe=1/0,y=S?S.prototype:void 0,R=y?y.toString:void 0;function W(r){if(typeof r=="string")return r;if(ee(r))return re(r,W)+"";if(ue(r))return R?R.call(r):"";var e=r+"";return e=="0"&&1/r==-oe?"-0":e}var ae=W,ne=ae;function te(r){return r==null?"":ne(r)}var c=te;function se(r,e,u){var a=-1,o=r.length;e<0&&(e=-e>o?0:o+e),u=u>o?o:u,u<0&&(u+=o),o=e>u?0:u-e>>>0,e>>>=0;for(var n=Array(o);++a<o;)n[a]=r[a+e];return n}var ie=se,ce=ie;function fe(r,e,u){var a=r.length;return u=u===void 0?a:u,!e&&u>=a?r:ce(r,e,u)}var de=fe,le="\\ud800-\\udfff",pe="\\u0300-\\u036f",be="\\ufe20-\\ufe2f",xe="\\u20d0-\\u20ff",ve=pe+be+xe,me="\\ufe0e\\ufe0f",ge="\\u200d",$e=RegExp("["+ge+le+ve+me+"]");function _e(r){return $e.test(r)}var k=_e;function Se(r){return r.split("")}var ye=Se,w="\\ud800-\\udfff",Re="\\u0300-\\u036f",Ae="\\ufe20-\\ufe2f",he="\\u20d0-\\u20ff",Ce=Re+Ae+he,Oe="\\ufe0e\\ufe0f",Te="["+w+"]",f="["+Ce+"]",d="\\ud83c[\\udffb-\\udfff]",je="(?:"+f+"|"+d+")",z="[^"+w+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",N="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="\\u200d",Z=je+"?",D="["+Oe+"]?",Le="(?:"+Ue+"(?:"+[z,I,N].join("|")+")"+D+Z+")*",Me=D+Z+Le,Ee="(?:"+[z+f+"?",f,I,N,Te].join("|")+")",We=RegExp(d+"(?="+d+")|"+Ee+Me,"g");function ke(r){return r.match(We)||[]}var we=ke,ze=ye,Ie=k,Ne=we;function Ze(r){return Ie(r)?Ne(r):ze(r)}var De=Ze,Fe=de,Pe=k,Ge=De,He=c;function Ve(r){return function(e){e=He(e);var u=Pe(e)?Ge(e):void 0,a=u?u[0]:e.charAt(0),o=u?Fe(u,1).join(""):e.slice(1);return a[r]()+o}}var Je=Ve,Ye=Je,Be=Ye("toUpperCase"),qe=Be,Ke=c,Qe=qe;function Xe(r){return Qe(Ke(r).toLowerCase())}var ru=Xe;function eu(r,e,u,a){var o=-1,n=r==null?0:r.length;for(a&&n&&(u=r[++o]);++o<n;)u=e(u,r[o],o,r);return u}var uu=eu;function ou(r){return function(e){return r==null?void 0:r[e]}}var au=ou,nu=au,tu={\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"},su=nu(tu),iu=su,cu=iu,fu=c,du=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,lu="\\u0300-\\u036f",pu="\\ufe20-\\ufe2f",bu="\\u20d0-\\u20ff",xu=lu+pu+bu,vu="["+xu+"]",mu=RegExp(vu,"g");function gu(r){return r=fu(r),r&&r.replace(du,cu).replace(mu,"")}var $u=gu,_u=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Su(r){return r.match(_u)||[]}var yu=Su,Ru=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Au(r){return Ru.test(r)}var hu=Au,F="\\ud800-\\udfff",Cu="\\u0300-\\u036f",Ou="\\ufe20-\\ufe2f",Tu="\\u20d0-\\u20ff",ju=Cu+Ou+Tu,P="\\u2700-\\u27bf",G="a-z\\xdf-\\xf6\\xf8-\\xff",Uu="\\xac\\xb1\\xd7\\xf7",Lu="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Mu="\\u2000-\\u206f",Eu=" \\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",H="A-Z\\xc0-\\xd6\\xd8-\\xde",Wu="\\ufe0e\\ufe0f",V=Uu+Lu+Mu+Eu,J="['\u2019]",A="["+V+"]",ku="["+ju+"]",Y="\\d+",wu="["+P+"]",B="["+G+"]",q="[^"+F+V+Y+P+G+H+"]",zu="\\ud83c[\\udffb-\\udfff]",Iu="(?:"+ku+"|"+zu+")",Nu="[^"+F+"]",K="(?:\\ud83c[\\udde6-\\uddff]){2}",Q="[\\ud800-\\udbff][\\udc00-\\udfff]",t="["+H+"]",Zu="\\u200d",h="(?:"+B+"|"+q+")",Du="(?:"+t+"|"+q+")",C="(?:"+J+"(?:d|ll|m|re|s|t|ve))?",O="(?:"+J+"(?:D|LL|M|RE|S|T|VE))?",X=Iu+"?",rr="["+Wu+"]?",Fu="(?:"+Zu+"(?:"+[Nu,K,Q].join("|")+")"+rr+X+")*",Pu="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Gu="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Hu=rr+X+Fu,Vu="(?:"+[wu,K,Q].join("|")+")"+Hu,Ju=RegExp([t+"?"+B+"+"+C+"(?="+[A,t,"$"].join("|")+")",Du+"+"+O+"(?="+[A,t+h,"$"].join("|")+")",t+"?"+h+"+"+C,t+"+"+O,Gu,Pu,Y,Vu].join("|"),"g");function Yu(r){return r.match(Ju)||[]}var Bu=Yu,qu=yu,Ku=hu,Qu=c,Xu=Bu;function ro(r,e,u){return r=Qu(r),e=u?void 0:e,e===void 0?Ku(r)?Xu(r):qu(r):r.match(e)||[]}var eo=ro,uo=uu,oo=$u,ao=eo,no="['\u2019]",to=RegExp(no,"g");function so(r){return function(e){return uo(ao(oo(e).replace(to,"")),r,"")}}var io=so,co=ru,fo=io,lo=fo(function(r,e,u){return e=e.toLowerCase(),r+(u?co(e):e)}),T=lo;L.config.productionTip=!1;const po=[{id:"aioseo-seo-setup-app",component:br},{id:"aioseo-overview-app",component:_r}],j=r=>{new L({store:nr,render:e=>e(r.component)}).$mount("#"+r.id)};po.forEach(r=>{document.getElementById(r.id)?j(r):(ir("#"+r.id,T(r.id)),document.addEventListener("animationstart",function(e){T(r.id)===e.animationName&&j(r)},{passive:!0}))});
|
dist/Lite/assets/dashboard.221c4644.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.4ee805df.js";import{a as o}from"./js/index.aff2f9f0.js";import{_,s as u,a as c}from"./js/index.b77935e0.js";import"./js/client.93f15631.js";var l=function(){var n=this,t=n.$createElement,e=n._self._c||t;return e("div",{staticClass:"aioseo-app"},[e("router-view")],1)},p=[];const m={},r={};var f=s(m,l,p,!1,v,null,null,null);function v(n){for(let t in r)this[t]=r[t]}var d=function(){return f.exports}();function y(n){switch(n){case"../views/Main.vue":return _(()=>import(""+(window.__aioseo_dynamic_handler__||function(t){return t})("./js/Main.7240b1b8.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.7240b1b8.js","css/Main.554bc46c.css","css/main.545fcad0.css","js/ToolsSettings.60cea1aa.js","js/index.aff2f9f0.js","js/vueComponentNormalizer.87056a83.js","js/Card.86b7d3cc.js","css/Card.a8f40856.css","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/client.93f15631.js","js/index.4ee805df.js","css/index.c71c0ac6.css","js/QuestionMark.83ebd18e.js","js/Slide.f5d21606.js","js/SitemapsPro.2f41f8a0.js","css/SitemapsPro.0794556f.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/Index.05d0e847.js","css/Index.98642cc9.css","js/GettingStarted.91405cf9.js","css/GettingStarted.bc96f39d.css","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/Book.b6a9040c.js","js/Index.270770c3.js","css/Index.9deb9019.css","js/Header.861bbba4.js","css/Header.811b035e.css","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/Logo.1a5e022a.js","js/Support.b1f25bbd.js","js/Tabs.3955e0b8.js","css/Tabs.0c23c7ca.css","js/TruSeoScore.a520926e.js","js/Information.f4b75b56.js","js/Close.5e7bcb70.js","js/Exclamation.356738ce.js","js/Gear.c974e953.js","js/popup.25df8419.js","js/SeoSiteScore.8753b911.js","js/Blur.8490ecd2.js","css/Blur.9d7ed682.css","js/Index.8ed62ab8.js","css/Index.71418ed8.css","js/Index.bc7bb735.js","css/Index.a7e59161.css","js/Build.1297b1bd.js","js/History.99f81129.js","js/Message.ec85dd4f.js","js/VideoCamera.896ed18d.js"]));default:return new Promise(function(t,e){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(e.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}const w=n=>()=>y("../views/"+n+".vue");var h=[{path:"*",redirect:"/"},{path:"/",name:"dashboard",component:w("Main"),meta:{access:"aioseo_dashboard",name:"Dashboard"}}];const a=u(h);c(o,a);new i({router:a,store:o,render:n=>n(d)}).$mount("#aioseo-app");
|
|
dist/Lite/assets/dashboard.9841d195.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{a as o}from"./js/index.0f8634bc.js";import{_,s as u,a as c}from"./js/index.fa3590f5.js";import"./js/client.93f15631.js";var l=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("div",{staticClass:"aioseo-app"},[t("router-view")],1)},p=[];const m={},r={};var f=s(m,l,p,!1,v,null,null,null);function v(n){for(let e in r)this[e]=r[e]}var d=function(){return f.exports}();function y(n){switch(n){case"../views/Main.vue":return _(()=>import(""+(window.__aioseo_dynamic_handler__||function(e){return e})("./js/Main.23937e41.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.23937e41.js","css/Main.554bc46c.css","css/main.545fcad0.css","js/ToolsSettings.4a14c135.js","js/index.0f8634bc.js","js/vueComponentNormalizer.87056a83.js","js/Card.5e3c0ad5.js","css/Card.a8f40856.css","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/client.93f15631.js","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/QuestionMark.83ebd18e.js","js/Slide.f5d21606.js","js/SitemapsPro.b5bece00.js","css/SitemapsPro.0794556f.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/Index.6d59ffe7.js","css/Index.98642cc9.css","js/GettingStarted.b43e0d53.js","css/GettingStarted.bc96f39d.css","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/Book.b6a9040c.js","js/Rocket.8cc34606.js","js/Index.70adae54.js","css/Index.9deb9019.css","js/Header.ea8bf0f4.js","css/Header.811b035e.css","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/Logo.1a5e022a.js","js/Support.b1f25bbd.js","js/Tabs.e6c401d8.js","css/Tabs.0c23c7ca.css","js/TruSeoScore.a520926e.js","js/Information.f4b75b56.js","js/Close.5e7bcb70.js","js/Exclamation.356738ce.js","js/Gear.c974e953.js","js/Overview.4f0f89d4.js","css/Overview.74c8be87.css","js/External.8868c638.js","js/DonutChartWithLegend.fe87aad2.js","css/DonutChartWithLegend.52621063.css","js/popup.25df8419.js","js/SeoSiteScore.8753b911.js","js/Blur.8490ecd2.js","css/Blur.9d7ed682.css","js/Index.8ed62ab8.js","css/Index.71418ed8.css","js/Index.92c3733f.js","css/Index.a7e59161.css","js/Build.1297b1bd.js","js/History.99f81129.js","js/Message.ec85dd4f.js","js/VideoCamera.896ed18d.js"]));default:return new Promise(function(e,t){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(t.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}const w=n=>()=>y("../views/"+n+".vue");var h=[{path:"*",redirect:"/"},{path:"/",name:"dashboard",component:w("Main"),meta:{access:"aioseo_dashboard",name:"Dashboard"}}];const a=u(h);c(o,a);new i({router:a,store:o,render:n=>n(d)}).$mount("#aioseo-app");
|
dist/Lite/assets/{divi-admin.62e71046.js → divi-admin.48e0fa48.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as s,V as a}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.
|
1 |
+
import{n as s,V as a}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{S as i}from"./js/Standalone.13c0aa99.js";import{C as l}from"./js/Index.6d59ffe7.js";import{a as c}from"./js/index.0f8634bc.js";import"./js/client.93f15631.js";var u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"aioseo-divi-seo-admin-notice-container"},[r("core-alert",{domProps:{innerHTML:t._s(t.strings.alert)}})],1)},p=[];const d=window.aioseo.urls.aio.searchAppearance,m={components:{CoreAlert:l},mixins:[i],data(){return{strings:{alert:this.$t.sprintf("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.","All in One SEO",`<a href="${d}" target="_blank">`,"</a>")}}}},o={};var _=s(m,u,p,!1,f,null,null,null);function f(t){for(let e in o)this[e]=o[e]}var h=function(){return _.exports}();const y=()=>{const t=document.querySelectorAll("#wrap-seo .et-tab-content");for(let e=0;e<t.length;e++){const r=document.createElement("div");r.setAttribute("id",`aioseo-divi-seo-admin-notice-container-${e}`),t[e].insertBefore(r,t[e].firstChild),new a({store:c,render:n=>n(h)}).$mount(`#${r.getAttribute("id")}`)}},v=()=>{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 r=document.querySelectorAll("#wrap-seo .et-checkbox");for(let n=0;n<r.length;n++)r[n].setAttribute("disabled",!0),r[n].nextElementSibling.style.pointerEvents="none"},A=()=>{const t=window.aioseo.urls.aio.searchAppearance,e=document.querySelector('a[href="#wrap-seo"]');if(!t||!e)return;const r=e.cloneNode(!0);r.setAttribute("href",t),e.parentNode.replaceChild(r,e)};window.addEventListener("load",()=>{y(),v(),A()});
|
dist/Lite/assets/divi.d12d6e9a.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var D=Object.defineProperty;var f=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var b=(t,e,o)=>e in t?D(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,v=(t,e)=>{for(var o in e||(e={}))M.call(e,o)&&b(t,o,e[o]);if(f)for(var o of f(e))x.call(e,o)&&b(t,o,e[o]);return t};import{n as E,V as $}from"./js/vueComponentNormalizer.87056a83.js";import{d,S as k}from"./js/index.4ee805df.js";import{b as q,T as O}from"./js/index.55c3d597.js";import{a as p}from"./js/index.aff2f9f0.js";import{A,u as T}from"./js/helpers.339e6cce.js";import{i as P}from"./js/isEqual.bd291bba.js";import{A as R}from"./js/App.cedbc415.js";import"./js/client.93f15631.js";/* empty css */import"./js/params.bea1a08d.js";import"./js/ToolsSettings.60cea1aa.js";import"./js/JsonValues.08065e69.js";import"./js/Index.05d0e847.js";import"./js/SettingsRow.eb71f07b.js";import"./js/Row.13b6f3f1.js";import"./js/Checkbox.5873a8d2.js";import"./js/Checkmark.e7547654.js";import"./js/Tabs.3955e0b8.js";import"./js/TruSeoScore.a520926e.js";import"./js/Information.f4b75b56.js";import"./js/Slide.f5d21606.js";import"./js/Modal.6e29e2c8.js";import"./js/MaxCounts.3eed5286.js";import"./js/RadioToggle.98e1e7ec.js";import"./js/GoogleSearchPreview.5ecd923f.js";import"./js/HtmlTagsEditor.36c18a9a.js";import"./js/Editor.b716a1f9.js";import"./js/UnfilteredHtml.8691e3d4.js";import"./js/Tooltip.674a9fb4.js";import"./js/QuestionMark.83ebd18e.js";import"./js/Pencil.d547ebca.js";import"./js/Trash.214b5744.js";import"./js/Plus.a9b9ba75.js";import"./js/Close.5e7bcb70.js";import"./js/popup.25df8419.js";import"./js/Blur.8490ecd2.js";import"./js/Index.bc7bb735.js";import"./js/Redirects.161b8d6f.js";import"./js/ProBadge.7c0de2f7.js";import"./js/External.8868c638.js";import"./js/Exclamation.356738ce.js";import"./js/Gear.c974e953.js";import"./js/Card.86b7d3cc.js";import"./js/InternalOutbound.0e3ee7df.js";import"./js/Img.2534398f.js";import"./js/FacebookPreview.acf3b29f.js";import"./js/dannie-profile.41545edf.js";import"./js/TwitterPreview.fdffdc19.js";import"./js/Book.b6a9040c.js";import"./js/Build.1297b1bd.js";import"./js/LicenseKeyBar.0d9de81d.js";import"./js/LogoGear.0c3dd5e3.js";function _(t,e,o){return t==null?t:q(t,e,o)}const w=t=>t.parentElement.removeChild(t),B=()=>{const t=u();document.body.classList.toggle("aioseo-settings-bar-is-active",t),document.body.classList.toggle("aioseo-settings-bar-is-inactive",!t)},F=()=>{const t=g();r(document.body,"aioseo-settings-bar-is"),document.body.classList.add(`aioseo-settings-bar-is-${t}`),m(t)},U=()=>{c.addEventListener("change",()=>{C(),m(g())}),j.observe(document.querySelector(".et-fb-page-settings-bar"),{attributeFilter:["class"]}),document.body.addEventListener("click",Y),s.addEventListener("click",()=>{const t=new Event("aioseo-divi-toggle-modal");document.dispatchEvent(t)})},N=()=>{const t=g();r(document.body,"aioseo-settings-bar-is"),document.body.classList.add(`aioseo-settings-bar-is-${t}`),B(),C(),V()||m(t)},C=()=>{!L()||(s=w(s))},m=t=>{if(L())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(X(t),u())if(c.matches){const i=[...n].filter(l=>l.classList.contains("et-fb-page-settings-bar__column--main"));i.length&&i[0].appendChild(s)}else{const i=[...n].filter(l=>l.classList.contains("et-fb-page-settings-bar__column--left"));i.length&&i[0].insertBefore(s)}else o.insertAdjacentElement("afterend",s)},X=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,!c.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,c.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)},g=()=>{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":""},Y=t=>{if(!z())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)}},z=()=>!document.querySelector(".aioseo-modal").classList.contains("aioseo-modal-is-closed"),L=()=>document.documentElement!==s&&document.documentElement.contains(s),u=()=>document.querySelector(".et-fb-page-settings-bar").classList.contains("et-fb-page-settings-bar--active"),V=()=>document.querySelector(".et-fb-page-settings-bar").classList.contains("et-fb-page-settings-bar--dragged")&&!u(),c=window.matchMedia("(min-width: 768px)"),j=new MutationObserver(N),Q="#aioseo-settings";let s=document.querySelector(Q);s=w(s);var W=()=>{B(),F(),U()};let h={};const a=()=>{const t=v({},h),e=A();P(t,e)||(h=e,T())},G=()=>{p.dispatch("saveCurrentPost",p.state.currentPost)};var H=()=>{a(),window.addEventListener("message",t=>{t.data.eventType==="et_fb_section_content_change"&&d(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":_(ETBuilderBackendDynamic,"postTitle",t),d(a,1e3);break;case"et_pb_post_settings_excerpt":_(ETBuilderBackendDynamic,"postMeta.post_excerpt",t),d(a,1e3);break}return t}),document.querySelector(".et-fb-button--save-draft, .et-fb-button--publish").addEventListener("click",G)},I=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)])},J=[];const K={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}}},y={};var Z=E(K,I,J,!1,tt,null,null,null);function tt(t){for(let e in y)this[e]=y[e]}var et=function(){return Z.exports}(),ot=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)])])},st=[];const nt={components:{PostSettings:R,SvgClose:k,UtilDraggable:et},data(){return{isOpen:!1,strings:{header:this.$t.sprintf("%1$s settings","All in One SEO")}}},methods:{openModal(){this.isOpen=!0}},beforeUnmount(){document.removeEventListener("aioseo-divi-toggle-modal",this.openModal)},mounted(){this.$nextTick(function(){document.addEventListener("aioseo-divi-toggle-modal",this.openModal)})}},S={};var it=E(nt,ot,st,!1,rt,null,null,null);function rt(t){for(let e in S)this[e]=S[e]}var at=function(){return it.exports}();$.prototype.$truSEO=new O;const ct=()=>{new $({store:p,data:{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"},render:t=>t(at)}).$mount("#aioseo-app-modal > div")},lt=()=>{W(),ct(),H()};window.addEventListener("message",function(t){t.data.eventType==="et_builder_api_ready"&<()});
|
|
dist/Lite/assets/divi.ebdf7df9.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var D=Object.defineProperty;var f=Object.getOwnPropertySymbols;var M=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable;var b=(t,e,o)=>e in t?D(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,v=(t,e)=>{for(var o in e||(e={}))M.call(e,o)&&b(t,o,e[o]);if(f)for(var o of f(e))x.call(e,o)&&b(t,o,e[o]);return t};import{n as E,V as $}from"./js/vueComponentNormalizer.87056a83.js";import{d,S as k}from"./js/index.02c35f2a.js";import{b as O,T as q}from"./js/index.6f34a84c.js";import{a as p}from"./js/index.0f8634bc.js";import{B as A,v as T}from"./js/helpers.a4115088.js";import{i as P}from"./js/isEqual.6e409958.js";import{A as R}from"./js/App.6591515e.js";import"./js/client.93f15631.js";/* empty css */import"./js/params.bea1a08d.js";import"./js/ToolsSettings.4a14c135.js";import"./js/JsonValues.08065e69.js";import"./js/Index.6d59ffe7.js";import"./js/SettingsRow.eb71f07b.js";import"./js/Row.13b6f3f1.js";import"./js/Checkbox.5873a8d2.js";import"./js/Checkmark.e7547654.js";import"./js/Tabs.e6c401d8.js";import"./js/TruSeoScore.a520926e.js";import"./js/Information.f4b75b56.js";import"./js/Slide.f5d21606.js";import"./js/Modal.9868073f.js";import"./js/MaxCounts.3eed5286.js";import"./js/RadioToggle.98e1e7ec.js";import"./js/GoogleSearchPreview.308b89da.js";import"./js/HtmlTagsEditor.aa4d89fe.js";import"./js/Editor.2fd4385f.js";import"./js/UnfilteredHtml.f98679bb.js";import"./js/Tooltip.674a9fb4.js";import"./js/QuestionMark.83ebd18e.js";import"./js/Pencil.d547ebca.js";import"./js/Trash.214b5744.js";import"./js/Plus.a9b9ba75.js";import"./js/Close.5e7bcb70.js";import"./js/popup.25df8419.js";import"./js/Blur.8490ecd2.js";import"./js/Index.92c3733f.js";import"./js/Redirects.f7db0efc.js";import"./js/ProBadge.7c0de2f7.js";import"./js/External.8868c638.js";import"./js/Exclamation.356738ce.js";import"./js/Gear.c974e953.js";import"./js/Card.5e3c0ad5.js";import"./js/InternalOutbound.0e3ee7df.js";import"./js/Img.6b4e05d5.js";import"./js/FacebookPreview.b8f332ab.js";import"./js/dannie-profile.41545edf.js";import"./js/TwitterPreview.8a5ce87b.js";import"./js/Book.b6a9040c.js";import"./js/Build.1297b1bd.js";import"./js/LicenseKeyBar.0d9de81d.js";import"./js/LogoGear.0c3dd5e3.js";function _(t,e,o){return t==null?t:O(t,e,o)}const w=t=>t.parentElement.removeChild(t),B=()=>{const t=u();document.body.classList.toggle("aioseo-settings-bar-is-active",t),document.body.classList.toggle("aioseo-settings-bar-is-inactive",!t)},F=()=>{const t=m();r(document.body,"aioseo-settings-bar-is"),document.body.classList.add(`aioseo-settings-bar-is-${t}`),g(t)},U=()=>{l.addEventListener("change",()=>{C(),g(m())}),j.observe(document.querySelector(".et-fb-page-settings-bar"),{attributeFilter:["class"]}),document.body.addEventListener("click",Y),s.addEventListener("click",()=>{const t=new Event("aioseo-divi-toggle-modal");document.dispatchEvent(t)})},N=()=>{const t=m();r(document.body,"aioseo-settings-bar-is"),document.body.classList.add(`aioseo-settings-bar-is-${t}`),B(),C(),V()||g(t)},C=()=>{!L()||(s=w(s))},g=t=>{if(L())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(X(t),u())if(l.matches){const i=[...n].filter(c=>c.classList.contains("et-fb-page-settings-bar__column--main"));i.length&&i[0].appendChild(s)}else{const i=[...n].filter(c=>c.classList.contains("et-fb-page-settings-bar__column--left"));i.length&&i[0].insertBefore(s)}else o.insertAdjacentElement("afterend",s)},X=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,!l.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,l.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)},m=()=>{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":""},Y=t=>{if(!z())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)}},z=()=>!document.querySelector(".aioseo-modal").classList.contains("aioseo-modal-is-closed"),L=()=>document.documentElement!==s&&document.documentElement.contains(s),u=()=>document.querySelector(".et-fb-page-settings-bar").classList.contains("et-fb-page-settings-bar--active"),V=()=>document.querySelector(".et-fb-page-settings-bar").classList.contains("et-fb-page-settings-bar--dragged")&&!u(),l=window.matchMedia("(min-width: 768px)"),j=new MutationObserver(N),Q="#aioseo-settings";let s=document.querySelector(Q);s=w(s);var W=()=>{B(),F(),U()};let h={};const a=()=>{const t=v({},h),e=A();P(t,e)||(h=e,T())},G=()=>{p.dispatch("saveCurrentPost",p.state.currentPost)};var H=()=>{a(),window.addEventListener("message",t=>{t.data.eventType==="et_fb_section_content_change"&&d(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":_(ETBuilderBackendDynamic,"postTitle",t),d(a,1e3);break;case"et_pb_post_settings_excerpt":_(ETBuilderBackendDynamic,"postMeta.post_excerpt",t),d(a,1e3);break}return t}),document.querySelector(".et-fb-button--save-draft, .et-fb-button--publish").addEventListener("click",G)},I=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)])},J=[];const K={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}}},y={};var Z=E(K,I,J,!1,tt,null,null,null);function tt(t){for(let e in y)this[e]=y[e]}var et=function(){return Z.exports}(),ot=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)])])},st=[];const nt={components:{PostSettings:R,SvgClose:k,UtilDraggable:et},data(){return{isOpen:!1,strings:{header:this.$t.sprintf("%1$s settings","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)})}},S={};var it=E(nt,ot,st,!1,rt,null,null,null);function rt(t){for(let e in S)this[e]=S[e]}var at=function(){return it.exports}();$.prototype.$truSEO=new q;const lt=()=>{new $({store:p,data:{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"},render:t=>t(at)}).$mount("#aioseo-app-modal > div")},ct=()=>{W(),lt(),H()};window.addEventListener("message",function(t){t.data.eventType==="et_builder_api_ready"&&ct()});
|
dist/Lite/assets/{elementor.c1b51f6a.js → elementor.0dc18eac.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var
|
1 |
+
var g=Object.defineProperty;var r=Object.getOwnPropertySymbols;var h=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var s=(t,e,o)=>e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o,a=(t,e)=>{for(var o in e||(e={}))h.call(e,o)&&s(t,o,e[o]);if(r)for(var o of r(e))y.call(e,o)&&s(t,o,e[o]);return t};import{V as d}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{i as k,T as E}from"./js/index.6f34a84c.js";import{a as n,s as m}from"./js/index.0f8634bc.js";import{C as v,v as l}from"./js/helpers.a4115088.js";import{i as $}from"./js/isEqual.6e409958.js";import{A as b}from"./js/App.6591515e.js";import"./js/client.93f15631.js";/* empty css */import"./js/params.bea1a08d.js";import"./js/ToolsSettings.4a14c135.js";import"./js/JsonValues.08065e69.js";import"./js/Index.6d59ffe7.js";import"./js/SettingsRow.eb71f07b.js";import"./js/Row.13b6f3f1.js";import"./js/Checkbox.5873a8d2.js";import"./js/Checkmark.e7547654.js";import"./js/Tabs.e6c401d8.js";import"./js/TruSeoScore.a520926e.js";import"./js/Information.f4b75b56.js";import"./js/Slide.f5d21606.js";import"./js/Modal.9868073f.js";import"./js/MaxCounts.3eed5286.js";import"./js/RadioToggle.98e1e7ec.js";import"./js/GoogleSearchPreview.308b89da.js";import"./js/HtmlTagsEditor.aa4d89fe.js";import"./js/Editor.2fd4385f.js";import"./js/UnfilteredHtml.f98679bb.js";import"./js/Tooltip.674a9fb4.js";import"./js/QuestionMark.83ebd18e.js";import"./js/Pencil.d547ebca.js";import"./js/Trash.214b5744.js";import"./js/Plus.a9b9ba75.js";import"./js/Close.5e7bcb70.js";import"./js/popup.25df8419.js";import"./js/Blur.8490ecd2.js";import"./js/Index.92c3733f.js";import"./js/Redirects.f7db0efc.js";import"./js/ProBadge.7c0de2f7.js";import"./js/External.8868c638.js";import"./js/Exclamation.356738ce.js";import"./js/Gear.c974e953.js";import"./js/Card.5e3c0ad5.js";import"./js/InternalOutbound.0e3ee7df.js";import"./js/Img.6b4e05d5.js";import"./js/FacebookPreview.b8f332ab.js";import"./js/dannie-profile.41545edf.js";import"./js/TwitterPreview.8a5ce87b.js";import"./js/Book.b6a9040c.js";import"./js/Build.1297b1bd.js";import"./js/LicenseKeyBar.0d9de81d.js";import"./js/LogoGear.0c3dd5e3.js";class _ extends window.$e.modules.hookUI.Base{constructor(e,o,i){super(),this.hook=e,this.id=o,this.callback=i}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}class A extends window.$e.modules.hookData.Base{constructor(e,o,i){super(),this.hook=e,this.id=o,this.callback=i}getCommand(){return this.hook}getId(){return this.id}apply(){return this.callback()}}function c(t,e,o){window.$e.hooks.registerUIAfter(new _(t,e,o))}function C(t,e,o){window.$e.hooks.registerDataAfter(new A(t,e,o))}let p={};const u=()=>{const t=window.elementor.documents.getCurrent();if(!["wp-post","wp-page"].includes(t.config.type))return;const e=a({},p),o=v();$(e,o)||(p=o,l())},I=()=>{k(n.state.currentPost)||window.elementor.config.document.id===window.elementor.config.document.revisions.current_id&&n.dispatch("saveCurrentPost",n.state.currentPost)},O=()=>{window.$e.internal("document/save/set-is-modified",{status:!0})};var S=()=>{c("editor/documents/attach-preview","aioseo-content-scraper-attach-preview",u),c("document/save/set-is-modified","aioseo-content-scraper-on-modified",u),C("document/save/save","aioseo-save",I),window.aioseoBus.$on("postSettingsUpdated",O)},D=()=>{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:m("New: %1$s %2$s integration","AIOSEO","Elementor"),message:m("You can now manage your SEO settings inside of %1$s via %2$s before you publish your post!","Elementor","All in One SEO"),position:{my:"center center",at:"center center"},strings:{confirm:"Got It!"},hide:{onButtonClick:!1},onConfirm:()=>{t.setViewed(),t.getDialog().hide()}}});t.show()};d.prototype.$truSEO=new E;const x=()=>{let t=window.elementor.getPreferences("ui_theme")||"auto";t==="auto"&&(t=matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),document.body.classList.forEach(e=>{e.startsWith("aioseo-elementor-")&&document.body.classList.remove(e)}),document.body.classList.add("aioseo-elementor-"+t)},P=()=>{window.$e.routes.on("run:after",function(t,e){x(),e==="panel/page-settings/aioseo"&&(new d({store:n,data:{tableContext:window.aioseo.currentPost.context,screenContext:"sidebar"},render:o=>o(b)}).$mount("#elementor-panel-page-settings-controls"),document.getElementById("elementor-panel-page-settings").classList.add("edit-post-sidebar","aioseo-elementor-panel"),l())})},B=()=>{const t=window.elementor.modules.layouts.panel.pages.menu.Menu,e=window.elementor.getPreferences("ui_theme");t.addItem({name:"aioseo",icon:"aioseo aioseo-element-menu-icon aioseo-element-menu-icon-"+e,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")},w=()=>{B(),P(),D(),S()};let f=!1;window.elementor&&(setTimeout(w),f=!0);(function(t){f||t(window).on("elementor:init",()=>{window.elementor.on("panel:init",()=>{setTimeout(w)})})})(window.jQuery);
|
dist/Lite/assets/{feature-manager.eafa3fa4.js → feature-manager.4c35d412.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.
|
1 |
+
import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{a}from"./js/index.0f8634bc.js";import{_ as t,s as u,a as c}from"./js/index.fa3590f5.js";import"./js/client.93f15631.js";var l=function(){var n=this,e=n.$createElement,r=n._self._c||e;return r("div",{staticClass:"aioseo-app"},[r("router-view")],1)},m=[];const p={},o={};var f=s(p,l,m,!1,v,null,null,null);function v(n){for(let e in o)this[e]=o[e]}var d=function(){return f.exports}();function w(n){switch(n){case"../views/FeatureManager.vue":return t(()=>import(""+(window.__aioseo_dynamic_handler__||function(e){return e})("./js/FeatureManager.e07f79e7.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/FeatureManager.e07f79e7.js","css/FeatureManager.3cf5cd1a.css","js/ToolsSettings.4a14c135.js","js/index.0f8634bc.js","js/vueComponentNormalizer.87056a83.js","js/news-sitemap.e595aa53.js","js/Index.6d59ffe7.js","css/Index.98642cc9.css","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/client.93f15631.js","js/SitemapsPro.b5bece00.js","css/SitemapsPro.0794556f.css","js/params.bea1a08d.js","js/Url.781a1d48.js","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/Index.92c3733f.js","css/Index.a7e59161.css","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/ImageSeo.0ea16b4e.js"]));case"../views/Main.vue":return t(()=>import(""+(window.__aioseo_dynamic_handler__||function(e){return e})("./js/Main.23705658.js")+""),(window.__aioseo_dynamic_preload__ || function(importer) { return importer; })(["js/Main.23705658.js","css/main.545fcad0.css","js/Index.70adae54.js","css/Index.9deb9019.css","js/params.bea1a08d.js","js/ToolsSettings.4a14c135.js","js/index.0f8634bc.js","js/vueComponentNormalizer.87056a83.js","js/Header.ea8bf0f4.js","css/Header.811b035e.css","js/LicenseKeyBar.0d9de81d.js","css/LicenseKeyBar.c92a8196.css","js/LogoGear.0c3dd5e3.js","js/AnimatedNumber.b6059bfd.js","js/index.02c35f2a.js","css/index.c71c0ac6.css","js/client.93f15631.js","js/Logo.1a5e022a.js","js/QuestionMark.83ebd18e.js","js/Support.b1f25bbd.js","js/Tabs.e6c401d8.js","css/Tabs.0c23c7ca.css","js/TruSeoScore.a520926e.js","js/Information.f4b75b56.js","js/Slide.f5d21606.js","js/Close.5e7bcb70.js","js/Exclamation.356738ce.js","js/Url.781a1d48.js","js/Gear.c974e953.js","js/FeatureManager.e07f79e7.js","css/FeatureManager.3cf5cd1a.css","js/news-sitemap.e595aa53.js","js/Index.6d59ffe7.js","css/Index.98642cc9.css","js/SitemapsPro.b5bece00.js","css/SitemapsPro.0794556f.css","js/Tooltip.674a9fb4.js","css/Tooltip.986bbe63.css","js/Index.92c3733f.js","css/Index.a7e59161.css","js/Row.13b6f3f1.js","css/Row.4f91f34d.css","js/ImageSeo.0ea16b4e.js"]));default:return new Promise(function(e,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+n)))})}}const y=n=>()=>w("../views/"+n+".vue");var A=[{path:"*",redirect:"/"},{path:"/",name:"feature-manager",component:y("Main"),meta:{access:"aioseo_feature_manager_settings",name:"Feature Manager"}}];const _=u(A);c(a,_);new i({router:_,store:a,render:n=>n(d)}).$mount("#aioseo-app");
|
dist/Lite/assets/{flyout-menu.ecef29f8.js → flyout-menu.8ee80267.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var v=Object.defineProperty,m=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var n=(t,a,l)=>a in t?v(t,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[a]=l,f=(t,a)=>{for(var l in a||(a={}))E.call(a,l)&&n(t,l,a[l]);if(e)for(var l of e(a))C.call(a,l)&&n(t,l,a[l]);return t},p=(t,a)=>m(t,_(a));import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.4ee805df.js";import{S as g}from"./js/Standalone.d96c1b02.js";import{d as B,t as F,a as D}from"./js/index.aff2f9f0.js";import{S as y}from"./js/Message.ec85dd4f.js";import{S as A}from"./js/Support.b1f25bbd.js";import"./js/client.93f15631.js";var $=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("path",{attrs:{d:"M29.602 32.735l3.444-.28c-.437-1.205-2.814-1.065-3.444.28z",fill:"#FFD696"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}})])])},w=[];const k={},o={};var x=s(k,$,w,!1,L,null,null,null);function L(t){for(let a in o)this[a]=o[a]}var S=function(){return x.exports}(),H=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("path",{attrs:{d:"M29.602 32.736l3.444-.28c-.437-1.206-2.814-1.066-3.444.28z",fill:"#FFD696"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}})])])},b=[];const O={},h={};var U=s(O,H,b,!1,j,null,null,null);function j(t){for(let a in h)this[a]=h[a]}var R=function(){return U.exports}(),V=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{staticClass:"aioseo-light-bulb",attrs:{viewBox:"0 0 29 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("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"}}),l("path",{style:{opacity:t.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"}})])},P=[];const q={props:{active:{type:Boolean,default(){return!1}}}},d={};var N=s(q,V,P,!1,I,null,null,null);function I(t){for(let a in d)this[a]=d[a]}var J=function(){return N.exports}(),Q=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{staticClass:"aioseo-star",attrs:{viewBox:"0 0 21 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("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"}}),l("path",{style:{opacity:t.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"}})])},T=[];const G={props:{active:{type:Boolean,default(){return!1}}}},z={};var K=s(G,Q,T,!1,W,null,null,null);function W(t){for(let a in z)this[a]=z[a]}var X=function(){return K.exports}(),Y=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("div",{ref:"aioseo-flyout-menu",staticClass:"aioseo-flyout-menu",class:[{"is-open":t.isOpen},{"will-open":t.willOpen}]},[l("div",{staticClass:"aioseo-flyout-menu-items"},t._l(t.items,function(c,r){return l("a",{key:r,style:{transitionDelay:t.items.length-r+"00ms"},attrs:{href:c.url,target:"_blank"},on:{mouseover:function(M){t.hovering=r},mouseleave:function(M){t.hovering=null}}},[l("span",{staticClass:"aioseo-flyout-menu-label"},[t._v(t._s(c.label))]),l("div",{staticClass:"aioseo-flyout-menu-label icon"},[l(c.icon,{tag:"component",attrs:{active:r===t.hovering}})],1)])}),0),l("div",{staticClass:"aioseo-flyout-menu-button",on:{click:function(c){t.isOpen=!t.isOpen},mouseover:function(c){t.willOpen=!0},mouseleave:function(c){t.willOpen=!1}}},[l("span",{staticClass:"aioseo-flyout-menu-label"},[t._v(t._s(t.strings.quickLinks))]),l("svg-flyout-dannie-up",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}]}),l("svg-flyout-dannie",{directives:[{name:"show",rawName:"v-show",value:!t.isOpen,expression:"!isOpen"}]})],1)])},Z=[];const l1={components:{SvgFlyoutDannie:S,SvgFlyoutDannieUp:R,SvgLightBulb:J,SvgMessage:y,SvgStar:X,SvgSupport:A},mixins:[g],data(){return{isOpen:!1,willOpen:!1,hovering:null,strings:{quickLinks:"Quick Links"}}},computed:p(f({},B(["pong"])),{items(){const t=[{label:"Support & Docs",url:this.$links.utmUrl("flyout-menu","support-docs",this.$links.docLinks.home),icon:"svg-support"},{label:"Join Our Community",url:this.$links.utmUrl("flyout-menu","join-our-community","plugin/facebook/"),icon:"svg-message"},{label:"Suggest a Feature",url:this.$links.utmUrl("flyout-menu","suggest-a-feature","suggest-a-feature/"),icon:"svg-light-bulb"}];return!this.$isPro&&this.pong&&t.unshift({label:this.$t.sprintf("Upgrade to %1$s %2$s","AIOSEO","Pro"),url:this.$links.utmUrl("flyout-menu","upgrade-to-pro"),icon:"svg-star"}),t}}),methods:{documentClick(t){if(!this.isOpen)return;const a=this.$refs["aioseo-flyout-menu"];a&&(a===t.target||a.contains(t.target))||(this.isOpen=!1)}},mounted(){this.$nextTick(function(){document.addEventListener("click",this.documentClick)})},beforeUnmount(){document.removeEventListener("click",this.documentClick)}},u={};var t1=s(l1,Y,Z,!1,a1,null,null,null);function a1(t){for(let a in u)this[a]=u[a]}var c1=function(){return t1.exports}();i.prototype.$t=F;i.prototype.$td="all-in-one-seo-pack";i.prototype.$tdPro="aioseo-pro";new i({store:D,render:t=>t(c1)}).$mount("#aioseo-flyout-menu");
|
1 |
+
var v=Object.defineProperty,m=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var e=Object.getOwnPropertySymbols;var E=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var n=(t,a,l)=>a in t?v(t,a,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[a]=l,f=(t,a)=>{for(var l in a||(a={}))E.call(a,l)&&n(t,l,a[l]);if(e)for(var l of e(a))C.call(a,l)&&n(t,l,a[l]);return t},p=(t,a)=>m(t,_(a));import{n as s,V as i}from"./js/vueComponentNormalizer.87056a83.js";import"./js/index.02c35f2a.js";import{S as g}from"./js/Standalone.13c0aa99.js";import{d as B,t as F,a as D}from"./js/index.0f8634bc.js";import{S as y}from"./js/Message.ec85dd4f.js";import{S as A}from"./js/Support.b1f25bbd.js";import"./js/client.93f15631.js";var $=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("path",{attrs:{d:"M29.602 32.735l3.444-.28c-.437-1.205-2.814-1.065-3.444.28z",fill:"#FFD696"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}})])])},w=[];const k={},o={};var x=s(k,$,w,!1,L,null,null,null);function L(t){for(let a in o)this[a]=o[a]}var S=function(){return x.exports}(),H=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{attrs:{width:"57",height:"56",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("g",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd"}},[l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("path",{attrs:{d:"M29.602 32.736l3.444-.28c-.437-1.206-2.814-1.066-3.444.28z",fill:"#FFD696"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}}),l("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"}})])])},b=[];const O={},h={};var U=s(O,H,b,!1,j,null,null,null);function j(t){for(let a in h)this[a]=h[a]}var R=function(){return U.exports}(),V=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{staticClass:"aioseo-light-bulb",attrs:{viewBox:"0 0 29 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("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"}}),l("path",{style:{opacity:t.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"}})])},P=[];const q={props:{active:{type:Boolean,default(){return!1}}}},d={};var N=s(q,V,P,!1,I,null,null,null);function I(t){for(let a in d)this[a]=d[a]}var J=function(){return N.exports}(),Q=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("svg",{staticClass:"aioseo-star",attrs:{viewBox:"0 0 21 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[l("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"}}),l("path",{style:{opacity:t.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"}})])},T=[];const G={props:{active:{type:Boolean,default(){return!1}}}},z={};var K=s(G,Q,T,!1,W,null,null,null);function W(t){for(let a in z)this[a]=z[a]}var X=function(){return K.exports}(),Y=function(){var t=this,a=t.$createElement,l=t._self._c||a;return l("div",{ref:"aioseo-flyout-menu",staticClass:"aioseo-flyout-menu",class:[{"is-open":t.isOpen},{"will-open":t.willOpen}]},[l("div",{staticClass:"aioseo-flyout-menu-items"},t._l(t.items,function(c,r){return l("a",{key:r,style:{transitionDelay:t.items.length-r+"00ms"},attrs:{href:c.url,target:"_blank"},on:{mouseover:function(M){t.hovering=r},mouseleave:function(M){t.hovering=null}}},[l("span",{staticClass:"aioseo-flyout-menu-label"},[t._v(t._s(c.label))]),l("div",{staticClass:"aioseo-flyout-menu-label icon"},[l(c.icon,{tag:"component",attrs:{active:r===t.hovering}})],1)])}),0),l("div",{staticClass:"aioseo-flyout-menu-button",on:{click:function(c){t.isOpen=!t.isOpen},mouseover:function(c){t.willOpen=!0},mouseleave:function(c){t.willOpen=!1}}},[l("span",{staticClass:"aioseo-flyout-menu-label"},[t._v(t._s(t.strings.quickLinks))]),l("svg-flyout-dannie-up",{directives:[{name:"show",rawName:"v-show",value:t.isOpen,expression:"isOpen"}]}),l("svg-flyout-dannie",{directives:[{name:"show",rawName:"v-show",value:!t.isOpen,expression:"!isOpen"}]})],1)])},Z=[];const l1={components:{SvgFlyoutDannie:S,SvgFlyoutDannieUp:R,SvgLightBulb:J,SvgMessage:y,SvgStar:X,SvgSupport:A},mixins:[g],data(){return{isOpen:!1,willOpen:!1,hovering:null,strings:{quickLinks:"Quick Links"}}},computed:p(f({},B(["pong"])),{items(){const t=[{label:"Support & Docs",url:this.$links.utmUrl("flyout-menu","support-docs",this.$links.docLinks.home),icon:"svg-support"},{label:"Join Our Community",url:this.$links.utmUrl("flyout-menu","join-our-community","plugin/facebook/"),icon:"svg-message"},{label:"Suggest a Feature",url:this.$links.utmUrl("flyout-menu","suggest-a-feature","suggest-a-feature/"),icon:"svg-light-bulb"}];return!this.$isPro&&this.pong&&t.unshift({label:this.$t.sprintf("Upgrade to %1$s %2$s","AIOSEO","Pro"),url:this.$links.utmUrl("flyout-menu","upgrade-to-pro"),icon:"svg-star"}),t}}),methods:{documentClick(t){if(!this.isOpen)return;const a=this.$refs["aioseo-flyout-menu"];a&&(a===t.target||a.contains(t.target))||(this.isOpen=!1)}},mounted(){this.$nextTick(function(){document.addEventListener("click",this.documentClick)})},beforeUnmount(){document.removeEventListener("click",this.documentClick)}},u={};var t1=s(l1,Y,Z,!1,a1,null,null,null);function a1(t){for(let a in u)this[a]=u[a]}var c1=function(){return t1.exports}();i.prototype.$t=F;i.prototype.$td="all-in-one-seo-pack";i.prototype.$tdPro="aioseo-pro";new i({store:D,render:t=>t(c1)}).$mount("#aioseo-flyout-menu");
|
dist/Lite/assets/js/{AboutUs.839bd17c.js → AboutUs.e6e58a9a.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var g=Object.defineProperty,f=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var o=(e,a,s)=>a in e?g(e,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[a]=s,l=(e,a)=>{for(var s in a||(a={}))m.call(a,s)&&o(e,s,a[s]);if(n)for(var s of n(a))p.call(a,s)&&o(e,s,a[s]);return e},r=(e,a)=>f(e,u(a));import{f as h}from"./index.aff2f9f0.js";import{e as v}from"./em.e81bf4a7.js";import{G as w,a as y}from"./Row.13b6f3f1.js";import{S as b}from"./External.8868c638.js";import{n as P}from"./vueComponentNormalizer.87056a83.js";var I="images/team.3ed1e959.jpg",_="images/om.0afa29dd.png",C="images/wpforms.e4bb2893.png",S="images/mi.b3a4b48a.png",W="images/smtp.90e4ffc1.png",$="images/sp.d75c9a95.png",U="images/tp.cb8065a4.png",T="images/rafflepress.cda6b4e0.png",k="images/ff.4f882f43.png",F="images/if.4735a5da.png",E="images/tf.75d64979.png",A="images/yf.28cad2d7.png",M="images/pe.3e9da367.png",D="svg/swp.10222930.svg",O="images/afwp.57d92ab4.png",x="images/wpsp.100012d1.png",B="images/edd.c2984766.png",L="images/sc.5c5e705b.png",j=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"aioseo-about-us"},[s("div",{staticClass:"aioseo-about-us-welcome"},[s("div",{staticClass:"welcome-intro"},[s("div",[e._v(e._s(e.strings.welcome.p1))]),s("div",[e._v(e._s(e.strings.welcome.p2))]),s("div",[e._v(e._s(e.strings.welcome.p3))]),s("div",[e._v(e._s(e.strings.welcome.p4))]),s("div",[e._v(e._s(e.strings.welcome.p5))])]),s("div",{staticClass:"welcome-image"},[s("figure",[s("img",{attrs:{src:e.$getImgUrl(e.teamImg),alt:e.strings.welcome.imageCaption}}),s("figcaption",[e._v(e._s(e.strings.welcome.imageCaption))])])])]),s("div",{staticClass:"aioseo-about-us-plugins"},[s("grid-row",e._l(e.localPlugins,function(i,t){return s("grid-column",{key:t,staticClass:"plugin",attrs:{sm:"12",md:"6",id:t}},[s("div",{staticClass:"plugin-main"},[s("div",[s("img",{attrs:{src:e.plugins[t].icon}})]),s("div",[s("div",{staticClass:"main-name"},[e._v(e._s(e.plugins[t].name))]),s("div",[e._v(e._s(e.plugins[t].description))])])]),s("div",{staticClass:"plugin-footer"},[s("div",{staticClass:"footer-status"},[s("div",{staticClass:"footer-status-label"},[e._v(e._s(e.strings.plugins.status))]),e.plugins[t].installed?e._e():s("div",{staticClass:"footer-status footer-status-not-installed"},[e._v(" "+e._s(e.strings.plugins.statuses.notInstalled)+" ")]),e.plugins[t].installed&&!e.plugins[t].activated?s("div",{staticClass:"footer-status footer-status-deactivated"},[e._v(" "+e._s(e.strings.plugins.statuses.deactivated)+" ")]):e._e(),e.plugins[t].installed&&e.plugins[t].activated?s("div",{staticClass:"footer-status footer-status-activated"},[e._v(" "+e._s(e.strings.plugins.statuses.activated)+" ")]):e._e()]),s("div",{staticClass:"footer-action"},[!e.plugins[t].installed&&e.plugins[t].canInstall?s("base-button",{attrs:{type:"blue",loading:e.plugins[t].loading},on:{click:function(c){return e.activate(t)}}},[e._v(" "+e._s(e.strings.plugins.actions.install)+" ")]):e._e(),!e.plugins[t].installed&&!e.plugins[t].canInstall?s("base-button",{attrs:{type:"blue",tag:"a",target:"_blank",href:i.wpLink}},[s("svg-external"),e._v(" "+e._s(e.strings.plugins.actions.install)+" ")],1):e._e(),e.plugins[t].installed&&!e.plugins[t].activated?s("base-button",{attrs:{type:"green",disabled:!e.plugins[t].canActivate,loading:e.plugins[t].loading},on:{click:function(c){return e.activate(t)}}},[e._v(" "+e._s(e.strings.plugins.actions.activate)+" ")]):e._e(),e.plugins[t].installed&&e.plugins[t].activated&&i.adminUrl.length!==0?s("base-button",{attrs:{type:"gray",tag:"a",href:i.adminUrl}},[e._v(" "+e._s(e.strings.plugins.actions.manage)+" ")]):e._e()],1)])])}),1)],1)])},z=[];const G={components:{GridColumn:w,GridRow:y,SvgExternal:b},data(){return{teamImg:I,localPlugins:[],strings:{welcome:{p1:this.$t.sprintf("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.","All in One SEO","All in One SEO"),p2:"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.",p3:"Our goal is to take the pain out of optimizing your website for search engines.",p4:this.$t.sprintf("%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.","All in One SEO","Awesome Motive"),p5:"Yup, we know a thing or two about building awesome products that customers love.",imageCaption:this.$t.sprintf("The %1$s Team","Awesome Motive")},plugins:{actions:{install:"Install Plugin",activate:"Activate",manage:"Manage"},status:"Status:",statuses:{activated:"Activated",deactivated:"Deactivated",notInstalled:"Not Installed"}}},pluginData:{optinMonster:{name:"OptinMonster",description:"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.",icon:this.$getImgUrl(_),installed:!1,canInstall:!1,activated:!1,loading:!1},wpForms:{name:"WPForms",description:"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.",icon:this.$getImgUrl(C),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:"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.",icon:this.$getImgUrl(S),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:"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.",icon:this.$getImgUrl(v),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:"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.",icon:this.$getImgUrl(W),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:"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.",icon:this.$getImgUrl($),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:"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.",icon:this.$getImgUrl(U),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePress:{name:"RafflePress",description:"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.",icon:this.$getImgUrl(T),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:"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.",icon:this.$getImgUrl(k),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:"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.",icon:this.$getImgUrl(F),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:"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.",icon:this.$getImgUrl(E),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:"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.",icon:this.$getImgUrl(A),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:"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.",icon:this.$getImgUrl(M),installed:!1,canInstall:!1,activated:!1,loading:!1},searchWp:{name:"SearchWP",description:"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.",icon:this.$getImgUrl(D),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://searchwp.com/")},affiliateWp:{name:"AffiliateWP",description:"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.",icon:this.$getImgUrl(O),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://affiliatewp.com/")},wpSimplePay:{name:"WP Simple Pay",description:"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.",icon:this.$getImgUrl(x),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:"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.",icon:this.$getImgUrl(B),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendar:{name:"Sugar Calendar",description:"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.",icon:this.$getImgUrl(L),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendarPro:{name:"Sugar Calendar Pro",free:"sugarCalendar",installed:!1,canInstall:!1,activated:!1,loading:!1}}}},methods:r(l({},h(["installPlugins"])),{activate(e){if(!this.plugins[e].installed&&this.plugins[e].installUrl){window.open(this.plugins[e].installUrl,"_blank").focus();return}this.plugins[e].loading=!0,this.installPlugins([{plugin:e,type:"plugin"}]).then(a=>{if(this.plugins[e].loading=!1,Object.keys(a.body.completed).length)this.plugins[e].installed=!0,this.plugins[e].activated=!0;else if(Object.keys(a.body.failed).length)throw new Error(a.body.failed)}).catch(a=>{this.plugins[e].loading=!1,console.error(`Unable to install ${e}: ${a}`)})}}),computed:{plugins(){return Object.keys(this.localPlugins).forEach(e=>{this.pluginData[e].free&&(this.pluginData[e].description=this.pluginData[this.pluginData[e].free].description,this.pluginData[e].icon=this.pluginData[this.pluginData[e].free].icon)}),this.pluginData}},mounted(){this.localPlugins=l({},this.$aioseo.plugins),Object.keys(this.localPlugins).forEach(e=>{this.pluginData[e].installed=this.localPlugins[e].installed,this.pluginData[e].canInstall=this.localPlugins[e].canInstall,this.pluginData[e].canActivate=this.localPlugins[e].canActivate,this.pluginData[e].activated=this.localPlugins[e].activated,this.plugins[e].free&&(this.localPlugins[e].installed?delete this.localPlugins[this.plugins[e].free]:delete this.localPlugins[e])})}},d={};var R=P(G,j,z,!1,Y,null,null,null);function Y(e){for(let a in d)this[a]=d[a]}var X=function(){return R.exports}();export{X as default};
|
1 |
+
var g=Object.defineProperty,f=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var o=(e,a,s)=>a in e?g(e,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[a]=s,l=(e,a)=>{for(var s in a||(a={}))m.call(a,s)&&o(e,s,a[s]);if(n)for(var s of n(a))p.call(a,s)&&o(e,s,a[s]);return e},r=(e,a)=>f(e,u(a));import{j as h}from"./index.0f8634bc.js";import{e as v}from"./em.e81bf4a7.js";import{G as w,a as y}from"./Row.13b6f3f1.js";import{S as b}from"./External.8868c638.js";import{n as P}from"./vueComponentNormalizer.87056a83.js";var I="images/team.3ed1e959.jpg",_="images/om.0afa29dd.png",C="images/wpforms.e4bb2893.png",S="images/mi.b3a4b48a.png",W="images/smtp.90e4ffc1.png",$="images/sp.d75c9a95.png",U="images/tp.cb8065a4.png",T="images/rafflepress.cda6b4e0.png",k="images/ff.4f882f43.png",F="images/if.4735a5da.png",E="images/tf.75d64979.png",A="images/yf.28cad2d7.png",M="images/pe.3e9da367.png",D="svg/swp.10222930.svg",O="images/afwp.57d92ab4.png",x="images/wpsp.100012d1.png",B="images/edd.c2984766.png",L="images/sc.5c5e705b.png",j=function(){var e=this,a=e.$createElement,s=e._self._c||a;return s("div",{staticClass:"aioseo-about-us"},[s("div",{staticClass:"aioseo-about-us-welcome"},[s("div",{staticClass:"welcome-intro"},[s("div",[e._v(e._s(e.strings.welcome.p1))]),s("div",[e._v(e._s(e.strings.welcome.p2))]),s("div",[e._v(e._s(e.strings.welcome.p3))]),s("div",[e._v(e._s(e.strings.welcome.p4))]),s("div",[e._v(e._s(e.strings.welcome.p5))])]),s("div",{staticClass:"welcome-image"},[s("figure",[s("img",{attrs:{src:e.$getImgUrl(e.teamImg),alt:e.strings.welcome.imageCaption}}),s("figcaption",[e._v(e._s(e.strings.welcome.imageCaption))])])])]),s("div",{staticClass:"aioseo-about-us-plugins"},[s("grid-row",e._l(e.localPlugins,function(i,t){return s("grid-column",{key:t,staticClass:"plugin",attrs:{sm:"12",md:"6",id:t}},[s("div",{staticClass:"plugin-main"},[s("div",[s("img",{attrs:{src:e.plugins[t].icon}})]),s("div",[s("div",{staticClass:"main-name"},[e._v(e._s(e.plugins[t].name))]),s("div",[e._v(e._s(e.plugins[t].description))])])]),s("div",{staticClass:"plugin-footer"},[s("div",{staticClass:"footer-status"},[s("div",{staticClass:"footer-status-label"},[e._v(e._s(e.strings.plugins.status))]),e.plugins[t].installed?e._e():s("div",{staticClass:"footer-status footer-status-not-installed"},[e._v(" "+e._s(e.strings.plugins.statuses.notInstalled)+" ")]),e.plugins[t].installed&&!e.plugins[t].activated?s("div",{staticClass:"footer-status footer-status-deactivated"},[e._v(" "+e._s(e.strings.plugins.statuses.deactivated)+" ")]):e._e(),e.plugins[t].installed&&e.plugins[t].activated?s("div",{staticClass:"footer-status footer-status-activated"},[e._v(" "+e._s(e.strings.plugins.statuses.activated)+" ")]):e._e()]),s("div",{staticClass:"footer-action"},[!e.plugins[t].installed&&e.plugins[t].canInstall?s("base-button",{attrs:{type:"blue",loading:e.plugins[t].loading},on:{click:function(c){return e.activate(t)}}},[e._v(" "+e._s(e.strings.plugins.actions.install)+" ")]):e._e(),!e.plugins[t].installed&&!e.plugins[t].canInstall?s("base-button",{attrs:{type:"blue",tag:"a",target:"_blank",href:i.wpLink}},[s("svg-external"),e._v(" "+e._s(e.strings.plugins.actions.install)+" ")],1):e._e(),e.plugins[t].installed&&!e.plugins[t].activated?s("base-button",{attrs:{type:"green",disabled:!e.plugins[t].canActivate,loading:e.plugins[t].loading},on:{click:function(c){return e.activate(t)}}},[e._v(" "+e._s(e.strings.plugins.actions.activate)+" ")]):e._e(),e.plugins[t].installed&&e.plugins[t].activated&&i.adminUrl.length!==0?s("base-button",{attrs:{type:"gray",tag:"a",href:i.adminUrl}},[e._v(" "+e._s(e.strings.plugins.actions.manage)+" ")]):e._e()],1)])])}),1)],1)])},z=[];const G={components:{GridColumn:w,GridRow:y,SvgExternal:b},data(){return{teamImg:I,localPlugins:[],strings:{welcome:{p1:this.$t.sprintf("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.","All in One SEO","All in One SEO"),p2:"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.",p3:"Our goal is to take the pain out of optimizing your website for search engines.",p4:this.$t.sprintf("%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.","All in One SEO","Awesome Motive"),p5:"Yup, we know a thing or two about building awesome products that customers love.",imageCaption:this.$t.sprintf("The %1$s Team","Awesome Motive")},plugins:{actions:{install:"Install Plugin",activate:"Activate",manage:"Manage"},status:"Status:",statuses:{activated:"Activated",deactivated:"Deactivated",notInstalled:"Not Installed"}}},pluginData:{optinMonster:{name:"OptinMonster",description:"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.",icon:this.$getImgUrl(_),installed:!1,canInstall:!1,activated:!1,loading:!1},wpForms:{name:"WPForms",description:"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.",icon:this.$getImgUrl(C),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:"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.",icon:this.$getImgUrl(S),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:"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.",icon:this.$getImgUrl(v),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:"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.",icon:this.$getImgUrl(W),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:"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.",icon:this.$getImgUrl($),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:"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.",icon:this.$getImgUrl(U),installed:!1,canInstall:!1,activated:!1,loading:!1},rafflePress:{name:"RafflePress",description:"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.",icon:this.$getImgUrl(T),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:"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.",icon:this.$getImgUrl(k),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:"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.",icon:this.$getImgUrl(F),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:"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.",icon:this.$getImgUrl(E),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:"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.",icon:this.$getImgUrl(A),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:"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.",icon:this.$getImgUrl(M),installed:!1,canInstall:!1,activated:!1,loading:!1},searchWp:{name:"SearchWP",description:"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.",icon:this.$getImgUrl(D),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://searchwp.com/")},affiliateWp:{name:"AffiliateWP",description:"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.",icon:this.$getImgUrl(O),installed:!1,canInstall:!1,activated:!1,loading:!1,installUrl:this.$links.utmUrl("aioseo","about-us","https://affiliatewp.com/")},wpSimplePay:{name:"WP Simple Pay",description:"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.",icon:this.$getImgUrl(x),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:"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.",icon:this.$getImgUrl(B),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendar:{name:"Sugar Calendar",description:"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.",icon:this.$getImgUrl(L),installed:!1,canInstall:!1,activated:!1,loading:!1},sugarCalendarPro:{name:"Sugar Calendar Pro",free:"sugarCalendar",installed:!1,canInstall:!1,activated:!1,loading:!1}}}},methods:r(l({},h(["installPlugins"])),{activate(e){if(!this.plugins[e].installed&&this.plugins[e].installUrl){window.open(this.plugins[e].installUrl,"_blank").focus();return}this.plugins[e].loading=!0,this.installPlugins([{plugin:e,type:"plugin"}]).then(a=>{if(this.plugins[e].loading=!1,Object.keys(a.body.completed).length)this.plugins[e].installed=!0,this.plugins[e].activated=!0;else if(Object.keys(a.body.failed).length)throw new Error(a.body.failed)}).catch(a=>{this.plugins[e].loading=!1,console.error(`Unable to install ${e}: ${a}`)})}}),computed:{plugins(){return Object.keys(this.localPlugins).forEach(e=>{this.pluginData[e].free&&(this.pluginData[e].description=this.pluginData[this.pluginData[e].free].description,this.pluginData[e].icon=this.pluginData[this.pluginData[e].free].icon)}),this.pluginData}},mounted(){this.localPlugins=l({},this.$aioseo.plugins),Object.keys(this.localPlugins).forEach(e=>{this.pluginData[e].installed=this.localPlugins[e].installed,this.pluginData[e].canInstall=this.localPlugins[e].canInstall,this.pluginData[e].canActivate=this.localPlugins[e].canActivate,this.pluginData[e].activated=this.localPlugins[e].activated,this.plugins[e].free&&(this.localPlugins[e].installed?delete this.localPlugins[this.plugins[e].free]:delete this.localPlugins[e])})}},d={};var R=P(G,j,z,!1,Y,null,null,null);function Y(e){for(let a in d)this[a]=d[a]}var X=function(){return R.exports}();export{X as default};
|
dist/Lite/assets/js/{AccessControl.9ccf3d87.js → AccessControl.0214d28d.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var g=Object.defineProperty,f=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var a=(t,e,s)=>e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,o=(t,e)=>{for(var s in e||(e={}))m.call(e,s)&&a(t,s,e[s]);if(n)for(var s of n(e))h.call(e,s)&&a(t,s,e[s]);return t},i=(t,e)=>f(t,_(e));import{
|
1 |
+
var g=Object.defineProperty,f=Object.defineProperties;var _=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var m=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;var a=(t,e,s)=>e in t?g(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s,o=(t,e)=>{for(var s in e||(e={}))m.call(e,s)&&a(t,s,e[s]);if(n)for(var s of n(e))h.call(e,s)&&a(t,s,e[s]);return t},i=(t,e)=>f(t,_(e));import{e as p}from"./index.0f8634bc.js";import{C as v}from"./Blur.8490ecd2.js";import{C as $}from"./Card.5e3c0ad5.js";import{C as y}from"./ProBadge.7c0de2f7.js";import{C}from"./SettingsRow.eb71f07b.js";import{C as S}from"./Index.92c3733f.js";import{n as d}from"./vueComponentNormalizer.87056a83.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./index.02c35f2a.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./Row.13b6f3f1.js";import"./Index.6d59ffe7.js";const E={data(){return{roles:[{label:"Administrator",name:"administrator",description:this.$t.sprintf("By default Admins have access to %1$sall SEO site settings%2$s","<strong>","</strong>")},{label:"Editor",name:"editor",description:this.$t.sprintf("By default Editors have access to %1$sSEO settings for General Settings, Search Appearance and Social Networks, as well as all settings for individual pages and posts.%2$s","<strong>","</strong>")},{label:"Author",name:"author",description:this.$t.sprintf("By default Authors have access to %1$sSEO settings for individual pages and posts that they already have permission to edit.%2$s","<strong>","</strong>")},{label:"Contributor",name:"contributor",description:this.$t.sprintf("By default Contributors have access to %1$sSEO settings for individual pages and posts that they already have permission to edit.%2$s","<strong>","</strong>")},{label:"SEO Manager",name:"seoManager",description:this.$t.sprintf("By default SEO Managers have access to %1$sSEO settings for General Settings, Redirections, and individual pages and posts.%2$s","<strong>","</strong>")},{label:"SEO Editor",name:"seoEditor",description:this.$t.sprintf("By default SEO Editors have access to %1$sSEO settings for individual pages and posts.%2$s","<strong>","</strong>")}],strings:{tooltip:this.$t.sprintf("By default, only users with an Administrator role have permission to manage %1$s within your WordPress admin area. With Access Controls, though, you can easily extend specific access permissions to other user roles.","All in One SEO"),accessControl:"Access Control Settings",useDefaultSettings:"Use Default Settings"}}},computed:i(o({},p(["settings"])),{getRoles(){return this.roles.concat(Object.keys(this.$aioseo.user.customRoles).map(t=>({label:this.$aioseo.user.roles[t],name:t,description:this.$t.sprintf("By default the %1$s role %2$shas no access%3$s to %4$s settings.",this.$aioseo.user.roles[t],"<strong>","</strong>","All in One SEO"),dynamic:!0})))}})};var A=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-access-control-lite"},[s("core-card",{attrs:{slug:"accessControl"},scopedSlots:t._u([{key:"header",fn:function(){return[t._v(" "+t._s(t.strings.accessControl)+" "),s("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.tooltip)+" ")]},proxy:!0}])},[s("core-blur",[t._l(t.getRoles,function(r){return[s("core-settings-row",{key:r.name,attrs:{name:r.label},scopedSlots:t._u([{key:"content",fn:function(){return[s("div",{staticClass:"toggle"},[s("base-toggle",{attrs:{disabled:!0,value:!0}},[t._v(" "+t._s(t.strings.useDefaultSettings)+" ")])],1)]},proxy:!0}],null,!0)})]})],2),s("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")},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)},x=[];const O={components:{CoreBlur:v,CoreCard:$,CoreProBadge:y,CoreSettingsRow:C,Cta:S},mixins:[E],data(){return{strings:{wpRoles:"WP Roles (Editor, Author)",seoManagerRole:"SEO Manager Role",seoEditorRole:"SEO Editor Role",defaultSettings:"Default settings that just work",granularControl:"Granular controls per role",ctaButtonText:"Upgrade to Pro and Unlock Access Control",ctaHeader:this.$t.sprintf("Access Control is only available for licensed %1$s %2$s users.","AIOSEO","Pro")}}}},l={};var b=d(O,A,x,!1,R,null,null,null);function R(t){for(let e in l)this[e]=l[e]}var c=function(){return b.exports}(),k=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"aioseo-access-control"},[t.isUnlicensed?t._e():s("access-control"),t.isUnlicensed?s("access-control-lite"):t._e()],1)},B=[];const U={components:{AccessControl:c,AccessControlLite:c},computed:o({},p(["isUnlicensed"]))},u={};var w=d(U,k,B,!1,M,null,null,null);function M(t){for(let e in u)this[e]=u[e]}var Q=function(){return w.exports}();export{Q as default};
|
dist/Lite/assets/js/{AdditionalInformation.9b9bc0c6.js → AdditionalInformation.6f8e6463.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var c=Object.defineProperty,p=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var l=(a,t,i)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,s=(a,t)=>{for(var i in t||(t={}))u.call(t,i)&&l(a,i,t[i]);if(r)for(var i of r(t))f.call(t,i)&&l(a,i,t[i]);return a},e=(a,t)=>p(a,g(t));import{W as v}from"./ToolsSettings.60cea1aa.js";import{B as _,U as h}from"./Img.2534398f.js";import{M as I}from"./MaxCounts.3eed5286.js";import{n as C}from"./vueComponentNormalizer.87056a83.js";import{d as m,f as b}from"./index.aff2f9f0.js";import{B as z}from"./Phone.2b07efde.js";import{B as y}from"./RadioToggle.98e1e7ec.js";import{C as S}from"./SocialProfiles.594ede57.js";import{S as k}from"./Plus.a9b9ba75.js";import{W as T,a as O,b as L}from"./Header.c7257c5d.js";import{W as N,a as P}from"./Steps.3e82fc6b.js";import"./helpers.339e6cce.js";import"./index.4ee805df.js";import"./client.93f15631.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Index.05d0e847.js";import"./SettingsRow.eb71f07b.js";import"./Row.13b6f3f1.js";import"./Logo.1a5e022a.js";var x=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("div",{staticClass:"aioseo-wizard-additional-information"},[i("wizard-header"),i("wizard-container",[i("wizard-body",{scopedSlots:a._u([{key:"footer",fn:function(){return[i("div",{staticClass:"go-back"},[i("router-link",{staticClass:"no-underline",attrs:{to:a.getPrevLink}},[a._v("\u2190")]),a._v(" \xA0 "),i("router-link",{attrs:{to:a.getPrevLink}},[a._v(a._s(a.strings.goBack))])],1),i("div",{staticClass:"spacer"}),i("base-button",{attrs:{type:"blue",loading:a.loading},on:{click:a.saveAndContinue}},[a._v(a._s(a.strings.saveAndContinue)+" \u2192")])]},proxy:!0}])},[i("wizard-steps"),i("div",{staticClass:"header"},[a._v(" "+a._s(a.strings.additionalSiteInformation)+" ")]),i("div",{staticClass:"person-or-organization aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.personOrOrganization))])]),i("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(o){a.$set(a.additionalInformation,"siteRepresents",o)},expression:"additionalInformation.siteRepresents"}}),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.personOrOrganizationDescription)+" ")])],1),a.additionalInformation.siteRepresents==="person"?i("div",{staticClass:"aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.choosePerson))])]),i("base-select",{staticClass:"person-chooser",attrs:{options:a.users,value:a.getPersonOptions(a.additionalInformation.person)},on:{input:function(o){return a.additionalInformation.person=o.value}},scopedSlots:a._u([{key:"singleLabel",fn:function(o){var n=o.option;return[i("div",{staticClass:"person-label"},[n.gravatar?i("div",{staticClass:"person-avatar"},[i("img",{attrs:{src:n.gravatar}})]):a._e(),i("div",{staticClass:"person-name"},[a._v(" "+a._s(n.label)+" ")])])]}},{key:"option",fn:function(o){var n=o.option;return[i("div",{staticClass:"person-label"},[n.gravatar?i("div",{staticClass:"person-avatar"},[i("img",{attrs:{src:n.gravatar}})]):a._e(),i("div",{staticClass:"person-name"},[a._v(" "+a._s(n.label)+" ")])])]}}],null,!1,1262403990)})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.organizationName))])]),i("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.organizationName,callback:function(o){a.$set(a.additionalInformation,"organizationName",o)},expression:"additionalInformation.organizationName"}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?i("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.name))])]),i("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.personName,callback:function(o){a.$set(a.additionalInformation,"personName",o)},expression:"additionalInformation.personName"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-phone aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.phone))])]),i("base-phone",{model:{value:a.additionalInformation.phone,callback:function(o){a.$set(a.additionalInformation,"phone",o)},expression:"additionalInformation.phone"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-contact-type aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),i("base-select",{attrs:{size:"medium",options:a.$constants.CONTACT_TYPES,placeholder:a.strings.chooseContactType,value:a.getContactTypeOptions(a.additionalInformation.contactType)},on:{input:function(o){return a.additionalInformation.contactType=o.value}}}),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.contactTypeDescription)+" ")])],1):a._e(),a.additionalInformation.siteRepresents==="organization"&&a.additionalInformation.contactType==="manual"?i("div",{staticClass:"schema-graph-contact-type-manual aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),i("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.contactTypeManual,callback:function(o){a.$set(a.additionalInformation,"contactTypeManual",o)},expression:"additionalInformation.contactTypeManual"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),i("div",{staticClass:"image-upload"},[i("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.organizationLogo,callback:function(o){a.$set(a.additionalInformation,"organizationLogo",o)},expression:"additionalInformation.organizationLogo"}}),i("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(o){a.openUploadModal("organizationLogo",function(n){return a.additionalInformation.organizationLogo=n})}}},[i("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),i("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(o){a.additionalInformation.organizationLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),i("base-img",{attrs:{src:a.additionalInformation.organizationLogo}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?i("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),i("div",{staticClass:"image-upload"},[i("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.personLogo,callback:function(o){a.$set(a.additionalInformation,"personLogo",o)},expression:"additionalInformation.personLogo"}}),i("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(o){a.openUploadModal("personLogo",function(n){return a.additionalInformation.personLogo=n})}}},[i("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),i("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(o){a.additionalInformation.personLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),i("base-img",{attrs:{src:a.additionalInformation.personLogo}})],1):a._e(),i("div",{staticClass:"schema-graph-image aioseo-settings-row"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.defaultSocialShareImage))])]),i("div",{staticClass:"image-upload"},[i("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.socialShareImage,callback:function(o){a.$set(a.additionalInformation,"socialShareImage",o)},expression:"additionalInformation.socialShareImage"}}),i("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(o){a.openUploadModal("socialShareImage",function(n){return a.additionalInformation.socialShareImage=n})}}},[i("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),i("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(o){a.additionalInformation.socialShareImage=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),i("base-img",{attrs:{src:a.additionalInformation.socialShareImage}})],1),i("div",{staticClass:"header social"},[a._v(" "+a._s(a.strings.yourSocialProfiles)+" ")]),a.loaded?i("div",{staticClass:"social-profiles"},[i("core-social-profiles",{attrs:{options:a.additionalInformation,leftSize:"4",rightSize:"8",sameUsernameWidth:"4"}})],1):a._e()],1),i("wizard-close-and-exit")],1)],1)},w=[];const $={components:{BaseImg:_,BasePhone:z,BaseRadioToggle:y,CoreSocialProfiles:S,SvgCirclePlus:k,WizardBody:T,WizardCloseAndExit:N,WizardContainer:O,WizardHeader:L,WizardSteps:P},mixins:[I,h,v],data(){return{loaded:!1,loading:!1,stage:"additional-information",strings:{additionalSiteInformation:"Additional Site Information",personOrOrganization:"Person or Organization",choosePerson:"Choose a Person",person:"Person",organization:"Organization",personOrOrganizationDescription:"Choose whether the site represents a person or an organization.",name:"Name",organizationName:"Organization Name",phone:"Phone Number",chooseContactType:"Choose a Contact Type",contactType:"Contact Type",contactTypeDescription:"Select which team or department the phone number belongs to.",logo:"Logo",uploadOrSelectImage:"Upload or Select Image",pasteYourImageUrl:"Paste your image URL or select a new image",minimumSize:"Minimum size: 112px x 112px, The image must be in JPG, PNG, GIF, SVG, or WEBP format.",remove:"Remove",defaultSocialShareImage:"Default Social Share Image",yourSocialProfiles:"Your Social Profiles"}}},computed:e(s(s({},m(["options"])),m("wizard",["additionalInformation"])),{users(){return[{label:"Manually Enter Person",value:"manual"}].concat(this.$aioseo.users.map(a=>({label:`${a.displayName} (${a.email})`,gravatar:a.gravatar,value:a.id})))}}),methods:e(s({},b("wizard",["saveWizard"])),{getPersonOptions(a){return this.users.find(t=>parseInt(t.value)===parseInt(a))},getContactTypeOptions(a){return this.$constants.CONTACT_TYPES.find(t=>t.value===a)},saveAndContinue(){this.loading=!0,this.saveWizard("additionalInformation").then(()=>{this.$router.push(this.getNextLink)})}}),mounted(){const a=JSON.parse(JSON.stringify(this.options.searchAppearance)),t=JSON.parse(JSON.stringify(this.options.social));this.additionalInformation.social.profiles=JSON.parse(JSON.stringify(t.profiles)),this.additionalInformation.socialShareImage=t.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}},d={};var R=C($,x,w,!1,A,null,null,null);function A(a){for(let t in d)this[t]=d[t]}var ta=function(){return R.exports}();export{ta as default};
|
1 |
+
var c=Object.defineProperty,p=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var l=(a,t,i)=>t in a?c(a,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):a[t]=i,s=(a,t)=>{for(var i in t||(t={}))u.call(t,i)&&l(a,i,t[i]);if(r)for(var i of r(t))v.call(t,i)&&l(a,i,t[i]);return a},e=(a,t)=>p(a,g(t));import{W as f}from"./ToolsSettings.4a14c135.js";import{B as _,U as h}from"./Img.6b4e05d5.js";import{M as I}from"./MaxCounts.3eed5286.js";import{n as C}from"./vueComponentNormalizer.87056a83.js";import{d as m,j as b}from"./index.0f8634bc.js";import{B as z}from"./Phone.2b07efde.js";import{B as y}from"./RadioToggle.98e1e7ec.js";import{C as S}from"./SocialProfiles.4f1c06a7.js";import{S as k}from"./Plus.a9b9ba75.js";import{W as T,a as O,b as L}from"./Header.66600464.js";import{W as N,a as x}from"./Steps.21e4aced.js";import"./helpers.a4115088.js";import"./index.02c35f2a.js";import"./client.93f15631.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Index.6d59ffe7.js";import"./SettingsRow.eb71f07b.js";import"./Row.13b6f3f1.js";import"./Logo.1a5e022a.js";var P=function(){var a=this,t=a.$createElement,i=a._self._c||t;return i("div",{staticClass:"aioseo-wizard-additional-information"},[i("wizard-header"),i("wizard-container",[i("wizard-body",{scopedSlots:a._u([{key:"footer",fn:function(){return[i("div",{staticClass:"go-back"},[i("router-link",{staticClass:"no-underline",attrs:{to:a.getPrevLink}},[a._v("\u2190")]),a._v(" \xA0 "),i("router-link",{attrs:{to:a.getPrevLink}},[a._v(a._s(a.strings.goBack))])],1),i("div",{staticClass:"spacer"}),i("base-button",{attrs:{type:"blue",loading:a.loading},on:{click:a.saveAndContinue}},[a._v(a._s(a.strings.saveAndContinue)+" \u2192")])]},proxy:!0}])},[i("wizard-steps"),i("div",{staticClass:"header"},[a._v(" "+a._s(a.strings.additionalSiteInformation)+" ")]),i("div",{staticClass:"person-or-organization aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.personOrOrganization))])]),i("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(o){a.$set(a.additionalInformation,"siteRepresents",o)},expression:"additionalInformation.siteRepresents"}}),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.personOrOrganizationDescription)+" ")])],1),a.additionalInformation.siteRepresents==="person"?i("div",{staticClass:"aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.choosePerson))])]),i("base-select",{staticClass:"person-chooser",attrs:{options:a.users,value:a.getPersonOptions(a.additionalInformation.person)},on:{input:function(o){return a.additionalInformation.person=o.value}},scopedSlots:a._u([{key:"singleLabel",fn:function(o){var n=o.option;return[i("div",{staticClass:"person-label"},[n.gravatar?i("div",{staticClass:"person-avatar"},[i("img",{attrs:{src:n.gravatar}})]):a._e(),i("div",{staticClass:"person-name"},[a._v(" "+a._s(n.label)+" ")])])]}},{key:"option",fn:function(o){var n=o.option;return[i("div",{staticClass:"person-label"},[n.gravatar?i("div",{staticClass:"person-avatar"},[i("img",{attrs:{src:n.gravatar}})]):a._e(),i("div",{staticClass:"person-name"},[a._v(" "+a._s(n.label)+" ")])])]}}],null,!1,1262403990)})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.organizationName))])]),i("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.organizationName,callback:function(o){a.$set(a.additionalInformation,"organizationName",o)},expression:"additionalInformation.organizationName"}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?i("div",{staticClass:"schema-graph-name aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.name))])]),i("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.personName,callback:function(o){a.$set(a.additionalInformation,"personName",o)},expression:"additionalInformation.personName"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-phone aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.phone))])]),i("base-phone",{model:{value:a.additionalInformation.phone,callback:function(o){a.$set(a.additionalInformation,"phone",o)},expression:"additionalInformation.phone"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-contact-type aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),i("base-select",{attrs:{size:"medium",options:a.$constants.CONTACT_TYPES,placeholder:a.strings.chooseContactType,value:a.getContactTypeOptions(a.additionalInformation.contactType)},on:{input:function(o){return a.additionalInformation.contactType=o.value}}}),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.contactTypeDescription)+" ")])],1):a._e(),a.additionalInformation.siteRepresents==="organization"&&a.additionalInformation.contactType==="manual"?i("div",{staticClass:"schema-graph-contact-type-manual aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.contactType))])]),i("base-input",{attrs:{size:"medium"},model:{value:a.additionalInformation.contactTypeManual,callback:function(o){a.$set(a.additionalInformation,"contactTypeManual",o)},expression:"additionalInformation.contactTypeManual"}})],1):a._e(),a.additionalInformation.siteRepresents==="organization"?i("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),i("div",{staticClass:"image-upload"},[i("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.organizationLogo,callback:function(o){a.$set(a.additionalInformation,"organizationLogo",o)},expression:"additionalInformation.organizationLogo"}}),i("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(o){a.openUploadModal("organizationLogo",function(n){return a.additionalInformation.organizationLogo=n})}}},[i("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),i("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(o){a.additionalInformation.organizationLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),i("base-img",{attrs:{src:a.additionalInformation.organizationLogo}})],1):a._e(),a.additionalInformation.siteRepresents!=="organization"&&a.additionalInformation.person==="manual"?i("div",{staticClass:"schema-graph-image aioseo-settings-row no-border no-margin"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.logo))])]),i("div",{staticClass:"image-upload"},[i("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.personLogo,callback:function(o){a.$set(a.additionalInformation,"personLogo",o)},expression:"additionalInformation.personLogo"}}),i("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(o){a.openUploadModal("personLogo",function(n){return a.additionalInformation.personLogo=n})}}},[i("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),i("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(o){a.additionalInformation.personLogo=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),i("base-img",{attrs:{src:a.additionalInformation.personLogo}})],1):a._e(),i("div",{staticClass:"schema-graph-image aioseo-settings-row"},[i("div",{staticClass:"settings-name"},[i("div",{staticClass:"name small-margin"},[a._v(a._s(a.strings.defaultSocialShareImage))])]),i("div",{staticClass:"image-upload"},[i("base-input",{attrs:{size:"medium",placeholder:a.strings.pasteYourImageUrl},model:{value:a.additionalInformation.socialShareImage,callback:function(o){a.$set(a.additionalInformation,"socialShareImage",o)},expression:"additionalInformation.socialShareImage"}}),i("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(o){a.openUploadModal("socialShareImage",function(n){return a.additionalInformation.socialShareImage=n})}}},[i("svg-circle-plus"),a._v(" "+a._s(a.strings.uploadOrSelectImage)+" ")],1),i("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(o){a.additionalInformation.socialShareImage=null}}},[a._v(" "+a._s(a.strings.remove)+" ")])],1),i("div",{staticClass:"aioseo-description"},[a._v(" "+a._s(a.strings.minimumSize)+" ")]),i("base-img",{attrs:{src:a.additionalInformation.socialShareImage}})],1),i("div",{staticClass:"header social"},[a._v(" "+a._s(a.strings.yourSocialProfiles)+" ")]),a.loaded?i("div",{staticClass:"social-profiles"},[i("core-social-profiles",{attrs:{options:a.additionalInformation,leftSize:"4",rightSize:"8",sameUsernameWidth:"4"}})],1):a._e()],1),i("wizard-close-and-exit")],1)],1)},$=[];const w={components:{BaseImg:_,BasePhone:z,BaseRadioToggle:y,CoreSocialProfiles:S,SvgCirclePlus:k,WizardBody:T,WizardCloseAndExit:N,WizardContainer:O,WizardHeader:L,WizardSteps:x},mixins:[I,h,f],data(){return{loaded:!1,loading:!1,stage:"additional-information",strings:{additionalSiteInformation:"Additional Site Information",personOrOrganization:"Person or Organization",choosePerson:"Choose a Person",person:"Person",organization:"Organization",personOrOrganizationDescription:"Choose whether the site represents a person or an organization.",name:"Name",organizationName:"Organization Name",phone:"Phone Number",chooseContactType:"Choose a Contact Type",contactType:"Contact Type",contactTypeDescription:"Select which team or department the phone number belongs to.",logo:"Logo",uploadOrSelectImage:"Upload or Select Image",pasteYourImageUrl:"Paste your image URL or select a new image",minimumSize:"Minimum size: 112px x 112px, The image must be in JPG, PNG, GIF, SVG, or WEBP format.",remove:"Remove",defaultSocialShareImage:"Default Social Share Image",yourSocialProfiles:"Your Social Profiles"}}},computed:e(s(s({},m(["options"])),m("wizard",["additionalInformation"])),{users(){return[{label:"Manually Enter Person",value:"manual"}].concat(this.$aioseo.users.map(a=>({label:`${a.displayName} (${a.email})`,gravatar:a.gravatar,value:a.id})))}}),methods:e(s({},b("wizard",["saveWizard"])),{getPersonOptions(a){return this.users.find(t=>t.value===a)},getContactTypeOptions(a){return this.$constants.CONTACT_TYPES.find(t=>t.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)),t=JSON.parse(JSON.stringify(this.options.social));this.additionalInformation.social.profiles=JSON.parse(JSON.stringify(t.profiles)),this.additionalInformation.socialShareImage=t.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})}},d={};var R=C(w,P,$,!1,A,null,null,null);function A(a){for(let t in d)this[t]=d[t]}var ta=function(){return R.exports}();export{ta as default};
|
dist/Lite/assets/js/Advanced.46e11f7b.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var d=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var i=(e,t,s)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,o=(e,t)=>{for(var s in t||(t={}))p.call(t,s)&&i(e,s,t[s]);if(a)for(var s of a(t))m.call(t,s)&&i(e,s,t[s]);return e},r=(e,t)=>c(e,u(t));import{Q as g,d as v}from"./index.aff2f9f0.js";import{v as _}from"./index.4ee805df.js";import{B as y}from"./Checkbox.5873a8d2.js";import{B as f}from"./RadioToggle.98e1e7ec.js";import{C as h}from"./Index.05d0e847.js";import{C as b}from"./Card.86b7d3cc.js";import{C as T}from"./PostTypeOptions.b8df4143.js";import{C as k}from"./ProBadge.7c0de2f7.js";import{C as S}from"./SettingsRow.eb71f07b.js";import{C as $}from"./Tooltip.674a9fb4.js";import{S as x}from"./QuestionMark.83ebd18e.js";import{n as A}from"./vueComponentNormalizer.87056a83.js";import"./client.93f15631.js";import"./Checkmark.e7547654.js";import"./Slide.f5d21606.js";import"./HighlightToggle.47bdd2a8.js";import"./Radio.99a9886d.js";import"./Row.13b6f3f1.js";var C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-advanced"},[s("core-card",{attrs:{slug:"advanced","header-text":e.strings.advanced}},[s("core-settings-row",{attrs:{name:e.strings.truSeo},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-toggle",{model:{value:e.options.advanced.truSeo,callback:function(n){e.$set(e.options.advanced,"truSeo",n)},expression:"options.advanced.truSeo"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.truSeoDescription)+" ")])]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.headlineAnalyzer},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-toggle",{attrs:{disabled:e.versionCompare(e.$aioseo.wpVersion,"5.2","<")},model:{value:e.options.advanced.headlineAnalyzer,callback:function(n){e.$set(e.options.advanced,"headlineAnalyzer",n)},expression:"options.advanced.headlineAnalyzer"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.headlineAnalyzerDescription)+" ")]),e.versionCompare(e.$aioseo.wpVersion,"5.2","<")?s("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[s("div",{domProps:{innerHTML:e._s(e.strings.headlineAnalyzerWarning)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.postTypeColumns},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.advanced.postTypes.all,callback:function(n){e.$set(e.options.advanced.postTypes,"all",n)},expression:"options.advanced.postTypes.all"}},[e._v(" "+e._s(e.strings.includeAllPostTypes)+" ")]),e.options.advanced.postTypes.all?e._e():s("core-post-type-options",{attrs:{options:e.options.advanced,type:"postTypes"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectPostTypes)+" "),s("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"selectPostTypesColumns",!0))}})])]},proxy:!0}])}),s("core-settings-row",{scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.taxonomyColumns)+" "),e.isUnlicensed?s("core-pro-badge"):e._e()]},proxy:!0},{key:"content",fn:function(){return[e.isUnlicensed?s("base-checkbox",{attrs:{disabled:"",size:"medium",value:!0}},[e._v(" "+e._s(e.strings.includeAllTaxonomies)+" ")]):e._e(),e.isUnlicensed?e._e():s("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.advanced.taxonomies.all,callback:function(n){e.$set(e.options.advanced.taxonomies,"all",n)},expression:"options.advanced.taxonomies.all"}},[e._v(" "+e._s(e.strings.includeAllTaxonomies)+" ")]),!e.options.advanced.taxonomies.all&&!e.isUnlicensed?s("core-post-type-options",{attrs:{options:e.options.advanced,type:"taxonomies"}}):e._e(),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectTaxonomies)+" "),s("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"selectTaxonomiesColumns",!0))}})]),e.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:e._s(e.strings.taxonomyColumnsUpsell)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{align:""},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.adminBarMenu)+" "),e.isUnlicensed?s("core-pro-badge"):e._e()]},proxy:!0},{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{disabled:e.isUnlicensed,name:"adminBarMenu",options:[{label:e.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:e.adminBarMenu,callback:function(n){e.adminBarMenu=n},expression:"adminBarMenu"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.adminBarMenuDescription)+" ")]),e.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:e._s(e.strings.adminBarMenuUpsell)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{align:""},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.dashboardWidget)+" "),e.isUnlicensed?s("core-pro-badge"):e._e()]},proxy:!0},{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{disabled:e.isUnlicensed,name:"dashboardWidget",options:[{label:e.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:e.dashboardWidget,callback:function(n){e.dashboardWidget=n},expression:"dashboardWidget"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.dashboardWidgetDescription)+" ")]),e.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:e._s(e.strings.dashboardWidgetUpsell)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.announcements,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{name:"announcements",options:[{label:e.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:e.options.advanced.announcements,callback:function(n){e.$set(e.options.advanced,"announcements",n)},expression:"options.advanced.announcements"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.announcementsDescription)+" ")])]},proxy:!0}])}),e.$isPro?s("core-settings-row",{attrs:{align:""},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.automaticUpdates)+" ")]},proxy:!0},{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{name:"autoUpdates",options:[{label:e.strings.all,value:"all"},{label:e.strings.minor,value:"minor"},{label:e.strings.none,value:"none",activeClass:"dark"}]},model:{value:e.options.advanced.autoUpdates,callback:function(n){e.$set(e.options.advanced,"autoUpdates",n)},expression:"options.advanced.autoUpdates"}}),s("div",{staticClass:"aioseo-description"},[e.options.advanced.autoUpdates==="all"?s("span",[e._v(e._s(e.strings.allDescription))]):e._e(),e.options.advanced.autoUpdates==="minor"?s("span",[e._v(e._s(e.strings.minorDescription))]):e._e(),e.options.advanced.autoUpdates==="none"?s("span",[e._v(e._s(e.strings.noneDescription))]):e._e()])]},proxy:!0}],null,!1,89936591)}):e._e(),e.$isPro?e._e():s("core-settings-row",{scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.usageTracking)+" "),s("core-tooltip",{scopedSlots:e._u([{key:"tooltip",fn:function(){return[s("div",{domProps:{innerHTML:e._s(e.strings.usageTrackingTooltip)}})]},proxy:!0}],null,!1,1886299547)},[s("svg-circle-question-mark")],1)]},proxy:!0},{key:"content",fn:function(){return[s("base-toggle",{model:{value:e.options.advanced.usageTracking,callback:function(n){e.$set(e.options.advanced,"usageTracking",n)},expression:"options.advanced.usageTracking"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.usageTrackingDescription)+" ")])]},proxy:!0}],null,!1,309685458)}),s("core-settings-row",{attrs:{name:e.strings.uninstallAioseo},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-toggle",{model:{value:e.options.advanced.uninstall,callback:function(n){e.$set(e.options.advanced,"uninstall",n)},expression:"options.advanced.uninstall"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.uninstallAioseoDescription)+" ")])]},proxy:!0}])})],1)],1)},L=[];const w={components:{BaseCheckbox:y,BaseRadioToggle:f,CoreAlert:h,CoreCard:b,CorePostTypeOptions:T,CoreProBadge:k,CoreSettingsRow:S,CoreTooltip:$,SvgCircleQuestionMark:x},data(){return{strings:{advanced:"Advanced Settings",truSeo:"TruSEO Score & Content",truSeoDescription:"Enable our TruSEO score to help you optimize your content for maximum traffic.",headlineAnalyzer:"Headline Analyzer",headlineAnalyzerDescription:"Enable our Headline Analyzer to help you write irresistible headlines and rank better in search results.",seoAnalysis:"SEO Analysis",postTypeColumns:"Post Type Columns",includeAllPostTypes:"Include All Post Types",selectPostTypes:this.$t.sprintf("Select which Post Types you want to use the %1$s columns with.","AIOSEO"),usageTracking:"Usage Tracking",adminBarMenu:"Admin Bar Menu",adminBarMenuDescription:this.$t.sprintf("This adds %1$s to the admin toolbar for easy access to your SEO settings.","AIOSEO"),dashboardWidget:"Dashboard Widget",dashboardWidgetDescription:"This displays an SEO News widget on the dashboard.",announcements:"Announcements",announcementsDescription:"This allows you to hide plugin announcements and update details.",automaticUpdates:"Automatic Updates",all:"All (recommended)",allDescription:"You are getting the latest features, bugfixes, and security updates as they are released.",minor:"Minor Only",minorDescription:"You are getting bugfixes and security updates, but not major features.",none:"None",noneDescription:"You will need to manually update everything.",usageTrackingDescription:"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.",usageTrackingTooltip:this.$t.sprintf("Complete documentation on usage tracking is available %1$shere%2$s.",this.$t.sprintf('<strong><a href="%1$s" target="_blank">',this.$links.getDocUrl("usageTracking")),"</a></strong>"),adminBarMenuUpsell:this.$t.sprintf("This Admin Bar feature is only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"admin-bar-menu",!0)),dashboardWidgetUpsell:this.$t.sprintf("The Dashboard Widget feature is only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"dashboard-widget",!0)),taxonomyColumns:"Taxonomy Columns",includeAllTaxonomies:"Include All Taxonomies",selectTaxonomies:this.$t.sprintf("Select which Taxonomies you want to use the %1$s columns with.","AIOSEO"),taxonomyColumnsUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"taxonomy-columns",!0)),uninstallAioseo:this.$t.sprintf("Uninstall %1$s","AIOSEO"),uninstallAioseoDescription:this.$t.sprintf("Check this if you would like to remove ALL %1$s data upon plugin deletion. All settings and SEO data will be unrecoverable.","AIOSEO"),headlineAnalyzerWarning:this.$t.sprintf("The Headline Analyzer is only available in %1$s and up. %2$s","WordPress 5.2",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"updateWordPress",!0))}}},computed:r(o(o({},g(["settings","isUnlicensed"])),v(["options"])),{adminBarMenu:{get(){return this.isUnlicensed?!0:this.options.advanced.adminBarMenu},set(e){this.options.advanced.adminBarMenu=e}},dashboardWidget:{get(){return this.isUnlicensed?!0:this.options.advanced.dashboardWidget},set(e){this.options.advanced.dashboardWidget=e}}}),methods:{versionCompare:_}},l={};var U=A(w,C,L,!1,O,null,null,null);function O(e){for(let t in l)this[t]=l[t]}var K=function(){return U.exports}();export{K as default};
|
|
dist/Lite/assets/js/Advanced.9969ad84.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var d=Object.defineProperty,c=Object.defineProperties;var u=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var i=(e,t,s)=>t in e?d(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,o=(e,t)=>{for(var s in t||(t={}))p.call(t,s)&&i(e,s,t[s]);if(a)for(var s of a(t))m.call(t,s)&&i(e,s,t[s]);return e},r=(e,t)=>c(e,u(t));import{e as g,d as v}from"./index.0f8634bc.js";import{v as _}from"./index.02c35f2a.js";import{B as y}from"./Checkbox.5873a8d2.js";import{B as f}from"./RadioToggle.98e1e7ec.js";import{C as h}from"./Index.6d59ffe7.js";import{C as b}from"./Card.5e3c0ad5.js";import{C as T}from"./PostTypeOptions.b0d414db.js";import{C as k}from"./ProBadge.7c0de2f7.js";import{C as S}from"./SettingsRow.eb71f07b.js";import{C as $}from"./Tooltip.674a9fb4.js";import{S as x}from"./QuestionMark.83ebd18e.js";import{n as A}from"./vueComponentNormalizer.87056a83.js";import"./client.93f15631.js";import"./Checkmark.e7547654.js";import"./Slide.f5d21606.js";import"./HighlightToggle.47bdd2a8.js";import"./Radio.99a9886d.js";import"./Row.13b6f3f1.js";var C=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-advanced"},[s("core-card",{attrs:{slug:"advanced","header-text":e.strings.advanced}},[s("core-settings-row",{attrs:{name:e.strings.truSeo},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-toggle",{model:{value:e.options.advanced.truSeo,callback:function(n){e.$set(e.options.advanced,"truSeo",n)},expression:"options.advanced.truSeo"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.truSeoDescription)+" ")])]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.headlineAnalyzer},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-toggle",{attrs:{disabled:e.versionCompare(e.$aioseo.wpVersion,"5.2","<")},model:{value:e.options.advanced.headlineAnalyzer,callback:function(n){e.$set(e.options.advanced,"headlineAnalyzer",n)},expression:"options.advanced.headlineAnalyzer"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.headlineAnalyzerDescription)+" ")]),e.versionCompare(e.$aioseo.wpVersion,"5.2","<")?s("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[s("div",{domProps:{innerHTML:e._s(e.strings.headlineAnalyzerWarning)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.postTypeColumns},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.advanced.postTypes.all,callback:function(n){e.$set(e.options.advanced.postTypes,"all",n)},expression:"options.advanced.postTypes.all"}},[e._v(" "+e._s(e.strings.includeAllPostTypes)+" ")]),e.options.advanced.postTypes.all?e._e():s("core-post-type-options",{attrs:{options:e.options.advanced,type:"postTypes"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectPostTypes)+" "),s("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"selectPostTypesColumns",!0))}})])]},proxy:!0}])}),s("core-settings-row",{scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.taxonomyColumns)+" "),e.isUnlicensed?s("core-pro-badge"):e._e()]},proxy:!0},{key:"content",fn:function(){return[e.isUnlicensed?s("base-checkbox",{attrs:{disabled:"",size:"medium",value:!0}},[e._v(" "+e._s(e.strings.includeAllTaxonomies)+" ")]):e._e(),e.isUnlicensed?e._e():s("base-checkbox",{attrs:{size:"medium"},model:{value:e.options.advanced.taxonomies.all,callback:function(n){e.$set(e.options.advanced.taxonomies,"all",n)},expression:"options.advanced.taxonomies.all"}},[e._v(" "+e._s(e.strings.includeAllTaxonomies)+" ")]),!e.options.advanced.taxonomies.all&&!e.isUnlicensed?s("core-post-type-options",{attrs:{options:e.options.advanced,type:"taxonomies"}}):e._e(),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.selectTaxonomies)+" "),s("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"selectTaxonomiesColumns",!0))}})]),e.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:e._s(e.strings.taxonomyColumnsUpsell)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{align:""},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.adminBarMenu)+" "),e.isUnlicensed?s("core-pro-badge"):e._e()]},proxy:!0},{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{disabled:e.isUnlicensed,name:"adminBarMenu",options:[{label:e.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:e.adminBarMenu,callback:function(n){e.adminBarMenu=n},expression:"adminBarMenu"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.adminBarMenuDescription)+" ")]),e.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:e._s(e.strings.adminBarMenuUpsell)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{align:""},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.dashboardWidgets)+" "),e.isUnlicensed?s("core-pro-badge"):e._e()]},proxy:!0},{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{disabled:e.isUnlicensed,name:"dashboardWidgets",options:[{label:e.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:e.dashboardWidgets,callback:function(n){e.dashboardWidgets=n},expression:"dashboardWidgets"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.dashboardWidgetsDescription)+" ")]),e.isUnlicensed?s("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[s("div",{domProps:{innerHTML:e._s(e.strings.dashboardWidgetsUpsell)}})]):e._e()]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.announcements,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{name:"announcements",options:[{label:e.$constants.GLOBAL_STRINGS.hide,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.show,value:!0}]},model:{value:e.options.advanced.announcements,callback:function(n){e.$set(e.options.advanced,"announcements",n)},expression:"options.advanced.announcements"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.announcementsDescription)+" ")])]},proxy:!0}])}),e.$isPro?s("core-settings-row",{attrs:{align:""},scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.automaticUpdates)+" ")]},proxy:!0},{key:"content",fn:function(){return[s("base-radio-toggle",{attrs:{name:"autoUpdates",options:[{label:e.strings.all,value:"all"},{label:e.strings.minor,value:"minor"},{label:e.strings.none,value:"none",activeClass:"dark"}]},model:{value:e.options.advanced.autoUpdates,callback:function(n){e.$set(e.options.advanced,"autoUpdates",n)},expression:"options.advanced.autoUpdates"}}),s("div",{staticClass:"aioseo-description"},[e.options.advanced.autoUpdates==="all"?s("span",[e._v(e._s(e.strings.allDescription))]):e._e(),e.options.advanced.autoUpdates==="minor"?s("span",[e._v(e._s(e.strings.minorDescription))]):e._e(),e.options.advanced.autoUpdates==="none"?s("span",[e._v(e._s(e.strings.noneDescription))]):e._e()])]},proxy:!0}],null,!1,89936591)}):e._e(),e.$isPro?e._e():s("core-settings-row",{scopedSlots:e._u([{key:"name",fn:function(){return[e._v(" "+e._s(e.strings.usageTracking)+" "),s("core-tooltip",{scopedSlots:e._u([{key:"tooltip",fn:function(){return[s("div",{domProps:{innerHTML:e._s(e.strings.usageTrackingTooltip)}})]},proxy:!0}],null,!1,1886299547)},[s("svg-circle-question-mark")],1)]},proxy:!0},{key:"content",fn:function(){return[s("base-toggle",{model:{value:e.options.advanced.usageTracking,callback:function(n){e.$set(e.options.advanced,"usageTracking",n)},expression:"options.advanced.usageTracking"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.usageTrackingDescription)+" ")])]},proxy:!0}],null,!1,309685458)}),s("core-settings-row",{attrs:{name:e.strings.uninstallAioseo},scopedSlots:e._u([{key:"content",fn:function(){return[s("base-toggle",{model:{value:e.options.advanced.uninstall,callback:function(n){e.$set(e.options.advanced,"uninstall",n)},expression:"options.advanced.uninstall"}}),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.uninstallAioseoDescription)+" ")])]},proxy:!0}])})],1)],1)},L=[];const w={components:{BaseCheckbox:y,BaseRadioToggle:f,CoreAlert:h,CoreCard:b,CorePostTypeOptions:T,CoreProBadge:k,CoreSettingsRow:S,CoreTooltip:$,SvgCircleQuestionMark:x},data(){return{strings:{advanced:"Advanced Settings",truSeo:"TruSEO Score & Content",truSeoDescription:"Enable our TruSEO score to help you optimize your content for maximum traffic.",headlineAnalyzer:"Headline Analyzer",headlineAnalyzerDescription:"Enable our Headline Analyzer to help you write irresistible headlines and rank better in search results.",seoAnalysis:"SEO Analysis",postTypeColumns:"Post Type Columns",includeAllPostTypes:"Include All Post Types",selectPostTypes:this.$t.sprintf("Select which Post Types you want to use the %1$s columns with.","AIOSEO"),usageTracking:"Usage Tracking",adminBarMenu:"Admin Bar Menu",adminBarMenuDescription:this.$t.sprintf("This adds %1$s to the admin toolbar for easy access to your SEO settings.","AIOSEO"),dashboardWidgets:"Dashboard Widgets",dashboardWidgetsDescription:this.$t.sprintf("This displays %1$s widgets on the dashboard.","AIOSEO"),announcements:"Announcements",announcementsDescription:"This allows you to hide plugin announcements and update details.",automaticUpdates:"Automatic Updates",all:"All (recommended)",allDescription:"You are getting the latest features, bugfixes, and security updates as they are released.",minor:"Minor Only",minorDescription:"You are getting bugfixes and security updates, but not major features.",none:"None",noneDescription:"You will need to manually update everything.",usageTrackingDescription:"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.",usageTrackingTooltip:this.$t.sprintf("Complete documentation on usage tracking is available %1$shere%2$s.",this.$t.sprintf('<strong><a href="%1$s" target="_blank">',this.$links.getDocUrl("usageTracking")),"</a></strong>"),adminBarMenuUpsell:this.$t.sprintf("This Admin Bar feature is only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"admin-bar-menu",!0)),dashboardWidgetsUpsell:this.$t.sprintf("The Dashboard Widget feature is only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"dashboard-widget",!0)),taxonomyColumns:"Taxonomy Columns",includeAllTaxonomies:"Include All Taxonomies",selectTaxonomies:this.$t.sprintf("Select which Taxonomies you want to use the %1$s columns with.","AIOSEO"),taxonomyColumnsUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-settings-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"taxonomy-columns",!0)),uninstallAioseo:this.$t.sprintf("Uninstall %1$s","AIOSEO"),uninstallAioseoDescription:this.$t.sprintf("Check this if you would like to remove ALL %1$s data upon plugin deletion. All settings and SEO data will be unrecoverable.","AIOSEO"),headlineAnalyzerWarning:this.$t.sprintf("The Headline Analyzer is only available in %1$s and up. %2$s","WordPress 5.2",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"updateWordPress",!0))}}},computed:r(o(o({},g(["settings","isUnlicensed"])),v(["options"])),{adminBarMenu:{get(){return this.isUnlicensed?!0:this.options.advanced.adminBarMenu},set(e){this.options.advanced.adminBarMenu=e}},dashboardWidgets:{get(){return this.isUnlicensed?!0:this.options.advanced.dashboardWidgets},set(e){this.options.advanced.dashboardWidgets=e}}}),methods:{versionCompare:_}},l={};var O=A(w,C,L,!1,U,null,null,null);function U(e){for(let t in l)this[t]=l[t]}var K=function(){return O.exports}();export{K as default};
|
dist/Lite/assets/js/Advanced.a7e31b8e.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var c=Object.defineProperty;var o=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable;var n=(e,a,t)=>a in e?c(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,r=(e,a)=>{for(var t in a||(a={}))p.call(a,t)&&n(e,t,a[t]);if(o)for(var t of o(a))l.call(a,t)&&n(e,t,a[t]);return e};import{d}from"./index.0f8634bc.js";import{B as u}from"./RadioToggle.98e1e7ec.js";import{C as g}from"./Index.6d59ffe7.js";import{C as m}from"./Card.5e3c0ad5.js";import{C as y}from"./ExcludePosts.b6a2264b.js";import{C as h}from"./HtmlTagsEditor.aa4d89fe.js";import{C as f}from"./RobotsMeta.2bc11dc9.js";import{C as v}from"./SettingsRow.eb71f07b.js";import{n as _}from"./vueComponentNormalizer.87056a83.js";import"./index.02c35f2a.js";import"./client.93f15631.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./ToolsSettings.4a14c135.js";import"./JsonValues.08065e69.js";import"./AddPlus.f69ce757.js";import"./External.8868c638.js";import"./Editor.2fd4385f.js";import"./UnfilteredHtml.f98679bb.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Row.13b6f3f1.js";var S=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)],1)},A=[];const w={components:{BaseRadioToggle:u,CoreAlert:g,CoreCard:m,CoreExcludePosts:y,CoreHtmlTagsEditor:h,CoreRobotsMeta:f,CoreSettingsRow:v},data(){return{emptyString:"",strings:{advanced:"Advanced Settings",globalRobotsMeta:"Global Robots Meta",noIndexEmptyCat:"Noindex Empty Category and Tag Archives",removeStopWords:"Remove Stopwords from Permalinks",autogenerateDescriptions:"Autogenerate Descriptions",useContentForAutogeneratedDescriptions:"Use Content for Autogenerated Descriptions",runShortcodes:"Run Shortcodes",runShortcodesDescription:this.$t.sprintf("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","AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"runningShortcodes",!0)),runShortcodesWarning:this.$t.sprintf("NOTE: Enabling this setting may cause conflicts with third-party plugins/themes. %2$s","AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"runningShortcodes",!0)),noPaginationForCanonical:"No Pagination for Canonical URLs",useKeywords:"Use Meta Keywords",useKeywordsDescription:"This option allows you to toggle the use of Meta Keywords throughout the whole of the site.",useCategoriesForMetaKeywords:"Use Categories for Meta Keywords",useCategoriesDescription:"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).",useTagsForMetaKeywords:"Use Tags for Meta Keywords",useTagsDescription:"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).",dynamicallyGenerateKeywords:"Dynamically Generate Meta Keywords",dynamicallyGenerateDescription:"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.",pagedFormat:"Paged Format",pagedFormatDescription:"This string gets appended to the titles and descriptions of paginated pages (like term or archive pages).",descriptionFormat:"Description Format",excludePostsPages:"Exclude Posts / Pages",excludeTerms:"Exclude Terms",sitelinks:"Enable Sitelinks Search Box",sitelinksDescription:this.$t.sprintf("Choose whether %1$s should output the required schema markup that Google needs to generate a sitelinks search box.","AIOSEO"),descriptionTagRequired:"A Description tag is required in order to properly display your meta descriptions on your site."}}},computed:r({},d(["options","internalOptions"]))},i={};var C=_(w,S,A,!1,k,null,null,null);function k(e){for(let a in i)this[a]=i[a]}var Q=function(){return C.exports}();export{Q as default};
|
dist/Lite/assets/js/Advanced.dbdc4628.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var p=Object.defineProperty,d=Object.defineProperties;var l=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var u=Object.prototype.hasOwnProperty,g=Object.prototype.propertyIsEnumerable;var r=(e,a,t)=>a in e?p(e,a,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[a]=t,n=(e,a)=>{for(var t in a||(a={}))u.call(a,t)&&r(e,t,a[t]);if(o)for(var t of o(a))g.call(a,t)&&r(e,t,a[t]);return e},i=(e,a)=>d(e,l(a));import{Q as m,d as y}from"./index.aff2f9f0.js";import{B as f}from"./RadioToggle.98e1e7ec.js";import{C as v}from"./Index.05d0e847.js";import{C as h}from"./Card.86b7d3cc.js";import{C as _}from"./ExcludePosts.5da80c61.js";import{C as A}from"./HtmlTagsEditor.36c18a9a.js";import{C as S}from"./RobotsMeta.2bc11dc9.js";import{C}from"./SettingsRow.eb71f07b.js";import{n as w}from"./vueComponentNormalizer.87056a83.js";import"./index.4ee805df.js";import"./client.93f15631.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./ToolsSettings.60cea1aa.js";import"./JsonValues.08065e69.js";import"./AddPlus.f69ce757.js";import"./External.8868c638.js";import"./Editor.b716a1f9.js";import"./UnfilteredHtml.8691e3d4.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Row.13b6f3f1.js";var k=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(),e.internalOptions.internal.deprecatedOptions.includes("runShortcodesInDescription")&&(!e.internalOptions.internal.deprecatedOptions.includes("autogenerateDescriptions")||e.options.deprecated.searchAppearance.advanced.autogenerateDescriptions)?t("core-settings-row",{attrs:{name:e.strings.runShortcodesInDescription,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"runShortcodesInDescription",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.runShortcodesInDescription,callback:function(s){e.$set(e.options.deprecated.searchAppearance.advanced,"runShortcodesInDescription",s)},expression:"options.deprecated.searchAppearance.advanced.runShortcodesInDescription"}})]},proxy:!0}],null,!1,2120810537)}):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.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)],1)},b=[];const x={components:{BaseRadioToggle:f,CoreAlert:v,CoreCard:h,CoreExcludePosts:_,CoreHtmlTagsEditor:A,CoreRobotsMeta:S,CoreSettingsRow:C},data(){return{emptyString:"",strings:{advanced:"Advanced Settings",globalRobotsMeta:"Global Robots Meta",noIndexEmptyCat:"Noindex Empty Category and Tag Archives",removeStopWords:"Remove Stopwords from Permalinks",removeCatBase:"Remove Category Base Prefix",removeCatBaseUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("search-appearance-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"remove-category-base-prefix",!0)),autoAddImageAltTags:"Automatically Add Missing Image Alt / Title Tags",autoAddImageAltTagsUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("search-appearance-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"automatically-add-missing-image-tags",!0)),autogenerateDescriptions:"Autogenerate Descriptions",useContentForAutogeneratedDescriptions:"Use Content for Autogenerated Descriptions",runShortcodesInDescription:"Run Shortcodes in Description",noPaginationForCanonical:"No Pagination for Canonical URLs",useKeywords:"Use Meta Keywords",useKeywordsDescription:"This option allows you to toggle the use of Meta Keywords throughout the whole of the site.",useCategoriesForMetaKeywords:"Use Categories for Meta Keywords",useCategoriesDescription:"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).",useTagsForMetaKeywords:"Use Tags for Meta Keywords",useTagsDescription:"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).",dynamicallyGenerateKeywords:"Dynamically Generate Meta Keywords",dynamicallyGenerateDescription:"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.",pagedFormat:"Paged Format",pagedFormatDescription:"This string gets appended to the titles and descriptions of paginated pages (like term or archive pages).",descriptionFormat:"Description Format",excludePostsPages:"Exclude Posts / Pages",excludeTerms:"Exclude Terms",sitelinks:"Enable Sitelinks Search Box",sitelinksDescription:this.$t.sprintf("Choose whether %1$s should output the required schema markup that Google needs to generate a sitelinks search box.","AIOSEO"),descriptionTagRequired:"A Description tag is required in order to properly display your meta descriptions on your site."}}},computed:i(n(n({},m(["settings","isUnlicensed"])),y(["options","internalOptions"])),{removeCatBase:{get(){return this.$isPro?this.options.searchAppearance.advanced.removeCatBase:!1},set(e){this.options.searchAppearance.advanced.removeCatBase=e}},autoAddImageAltTags:{get(){return this.isUnlicensed?!1:this.options.searchAppearance.advanced.autoAddImageAltTags},set(e){this.options.searchAppearance.advanced.autoAddImageAltTags=e}}})},c={};var G=w(x,k,b,!1,T,null,null,null);function T(e){for(let a in c)this[a]=c[a]}var Z=function(){return G.exports}();export{Z as default};
|
|
dist/Lite/assets/js/{AnalyzeCompetitorSite.8b77b9eb.js → AnalyzeCompetitorSite.f3f28920.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var f=Object.defineProperty,g=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var m=(t,s,e)=>s in t?f(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,o=(t,s)=>{for(var e in s||(s={}))C.call(s,e)&&m(t,e,s[e]);if(u)for(var e of u(s))S.call(s,e)&&m(t,e,s[e]);return t},n=(t,s)=>g(t,v(s));import{d as y,
|
1 |
+
var f=Object.defineProperty,g=Object.defineProperties;var v=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,S=Object.prototype.propertyIsEnumerable;var m=(t,s,e)=>s in t?f(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,o=(t,s)=>{for(var e in s||(s={}))C.call(s,e)&&m(t,e,s[e]);if(u)for(var e of u(s))S.call(s,e)&&m(t,e,s[e]);return t},n=(t,s)=>g(t,v(s));import{d as y,j as a,e as z,f as A}from"./index.0f8634bc.js";import"./ToolsSettings.4a14c135.js";import{S as l}from"./SeoSiteScore.8753b911.js";import{n as c}from"./vueComponentNormalizer.87056a83.js";import{k as R}from"./index.02c35f2a.js";import{C as k,a as $}from"./Score.0ebb8955.js";import{p as T}from"./popup.25df8419.js";import{C as b}from"./Blur.8490ecd2.js";import{C as _}from"./Card.5e3c0ad5.js";import{C as E}from"./SeoSiteAnalysisResults.424ab2a8.js";import{C as x}from"./Index.8ed62ab8.js";import{S as U}from"./Refresh.c697ed05.js";import{S as O}from"./Trash.214b5744.js";import"./client.93f15631.js";import"./params.bea1a08d.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./GoogleSearchPreview.308b89da.js";import"./Close.5e7bcb70.js";import"./Information.f4b75b56.js";import"./Gear.c974e953.js";var I=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)},w=[];const L={components:{CoreBlur:b,CoreCard:_},mixins:[l],computed:o({},y(["internalOptions"])),methods:n(o({},a(["saveConnectToken"])),{openPopup(t){T(t,this.connectWithAioseo,600,630,!0,["token"],this.completedCallback,()=>{})},completedCallback(t){return this.saveConnectToken(t.token)}})},p={};var j=c(L,I,w,!1,M,null,null,null);function M(t){for(let s in p)this[s]=p[s]}var P=function(){return j.exports}(),F=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:{src:t.mobileSnapshot}})]):t._e()],1)},D=[];const W={components:{CoreSiteScore:x,SvgRefresh:U},mixins:[l],props:{score:Number,loading:Boolean,site:{type:String,required:!0},summary:{type:Object,default(){return{}}},mobileSnapshot:String},data(){return{isAnalyzing:!1,strings:{criticalIssues:"Important Issues",warnings:"Warnings",recommendedImprovements:"Recommended Improvements",goodResults:"Good Results",completeSiteAuditChecklist:"Complete Site Audit Checklist",refreshResults:"Refresh Results",mobileSnapshot:"Mobile Snapshot"}}},methods:n(o({},a(["runSiteAnalyzer","deleteCompetitorSite"])),{refresh(){this.isAnalyzing=!0,this.runSiteAnalyzer({url:this.site,refresh:!0}).then(()=>this.isAnalyzing=!1)}})},h={};var G=c(W,F,D,!1,N,null,null,null);function N(t){for(let s in h)this[s]=h[s]}var B=function(){return G.exports}(),H=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,i){return e("core-card",{key:i,attrs:{id:"aioseo-competitor-results"+t.hashCode(i),slug:"analyzeCompetitorSite"+i,"save-toggle-status":!1},scopedSlots:t._u([{key:"header",fn:function(){return[e("core-analyze-score",{attrs:{score:t.parseResults(r).score}}),t._v(" "+t._s(i)+" "),e("svg-trash",{nativeOn:{click:function(K){return t.startDeleteSite(i)}}})]},proxy:!0}],null,!0)},[e("div",{staticClass:"competitor-results-main"},[e("core-site-score-competitor",{attrs:{site:i,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)},q=[];const V={components:{CoreAnalyze:k,CoreAnalyzeScore:$,CoreAnalyzeCompetitorSiteHeader:P,CoreCard:_,CoreSeoSiteAnalysisResults:E,CoreSiteScoreCompetitor:B,SvgTrash:O},mixins:[l],data(){return{competitorUrl:null,isAnalyzing:!1,inputError:!1,competitorResults:{},analyzeTime:8,strings:{enterCompetitorUrl:"Enter Competitor URL",performInDepthAnalysis:"Perform in-depth SEO Analysis of your competitor's website.",analyze:"Analyze",pleaseEnterValidUrl:"Please enter a valid URL."}}},watch:{analyzeError(t){t&&(this.isAnalyzing=!1)}},computed:n(o(o({},y(["options","analyzer","analyzing","analyzeError"])),z(["getCompetitorSiteAnalysisResults","goodCount","recommendedCount","criticalCount"])),{getError(){switch(this.analyzeError){case"invalid-url":return"The URL provided is invalid.";case"missing-content":return this.$t.sprintf("%1$s %2$s","We were unable to parse the content for this site.",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"seoAnalyzerIssues",!0));case"invalid-token":return this.$t.sprintf("Your site is not connected. Please connect to %1$s, then try again.","AIOSEO")}return this.analyzeError}}),methods:n(o(o({},a(["runSiteAnalyzer","deleteCompetitorSite","saveConnectToken"])),A(["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),!R(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()}},d={};var J=c(V,H,q,!1,Y,null,null,null);function Y(t){for(let s in d)this[s]=d[s]}var Ct=function(){return J.exports}();export{Ct as default};
|
dist/Lite/assets/js/{App.cedbc415.js → App.6591515e.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var le=Object.defineProperty,ce=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable;var z=(t,s,e)=>s in t?le(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,o=(t,s)=>{for(var e in s||(s={}))de.call(s,e)&&z(t,e,s[e]);if(j)for(var e of j(s))pe.call(s,e)&&z(t,e,s[e]);return t},l=(t,s)=>ce(t,ue(s));/* empty css */import{d as c,Q as g,f as p,R as v,g as he,m as _}from"./index.aff2f9f0.js";import{g as $,r as A}from"./params.bea1a08d.js";import{g as Et,h as P,C as Ot,d as q,S as Ut,a as _e}from"./index.4ee805df.js";import{S as me,T as Bt}from"./ToolsSettings.60cea1aa.js";import{J as M}from"./JsonValues.08065e69.js";import{n as i}from"./vueComponentNormalizer.87056a83.js";import{C as m}from"./Index.05d0e847.js";import{C as f}from"./SettingsRow.eb71f07b.js";import{B as ge}from"./Checkbox.5873a8d2.js";import{G as ve,a as fe}from"./Row.13b6f3f1.js";import{S as ye,C}from"./Tabs.3955e0b8.js";import{C as y}from"./Modal.6e29e2c8.js";import{r as I,i as be,b as ke}from"./helpers.339e6cce.js";import{M as D}from"./MaxCounts.3eed5286.js";import{T as Kt}from"./TruSeoScore.a520926e.js";import{B as E}from"./RadioToggle.98e1e7ec.js";import{C as $e}from"./GoogleSearchPreview.5ecd923f.js";import{C as O}from"./HtmlTagsEditor.36c18a9a.js";import{C as w}from"./Tooltip.674a9fb4.js";import{S as U}from"./QuestionMark.83ebd18e.js";import{T as Ce}from"./Slide.f5d21606.js";import{S as B}from"./Pencil.d547ebca.js";import{S as K}from"./Trash.214b5744.js";import{S}from"./Plus.a9b9ba75.js";import{S as Ft}from"./Close.5e7bcb70.js";import{p as V}from"./popup.25df8419.js";import{C as Ht}from"./Blur.8490ecd2.js";import{C as F}from"./Index.bc7bb735.js";import{C as Nt,a as jt,B as we,R as xe}from"./Redirects.161b8d6f.js";import{S as H,a as zt,b as qt,c as Vt}from"./InternalOutbound.0e3ee7df.js";import{B as Gt,I as Wt,a as Yt,U as Zt}from"./Img.2534398f.js";import{C as Pe}from"./FacebookPreview.acf3b29f.js";import{C as Se}from"./TwitterPreview.fdffdc19.js";import{S as Jt,a as Te}from"./Build.1297b1bd.js";import{S as Le}from"./Information.f4b75b56.js";import{C as Re,a as Ae}from"./LicenseKeyBar.0d9de81d.js";const b={methods:{setIsDirty(){this.$store.commit("isDirty",!0)},clearIsDirty(){this.$store.commit("isDirty",!1)}}};var Ie=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(r){t.$set(t.currentPost,"default",r)},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"},[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(r){t.$set(t.currentPost,"noindex",r)},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(r){t.$set(t.currentPost,"nofollow",r)},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(r){t.$set(t.currentPost,"noarchive",r)},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(r){t.$set(t.currentPost,"notranslate",r)},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(r){t.$set(t.currentPost,"noimageindex",r)},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(r){t.$set(t.currentPost,"nosnippet",r)},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(r){t.$set(t.currentPost,"noodp",r)},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(r){t.$set(t.currentPost,"maxSnippet",r)},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(r){t.$set(t.currentPost,"maxVideoPreview",r)},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(r){return t.saveImagePreview(r.value)}}})],1)])],1)],1)},Me=[];const De={components:{BaseCheckbox:ge,GridColumn:ve,GridRow:fe},mixins:[b],data(){return{strings:{useDefaultSettings:"Use Default Settings",robotsMeta:"Robots meta:",maxSnippet:"Max Snippet",maxVideoPreview:"Max Video Preview",maxImagePreview:"Max Image Preview",standard:"Standard",none:"None",large:"Large",noindex:"No Index",nofollow:"No Follow",noarchive:"No Archive",notranslate:"No Translate",noimageindex:"No Image Index",nosnippet:"No Snippet",noodp:"No ODP"}}},computed:l(o({},c(["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)}}},G={};var Ee=i(De,Ie,Me,!1,Oe,null,null,null);function Oe(t){for(let s in G)this[s]=G[s]}var Ue=function(){return Ee.exports}(),Be=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(r){t.$set(t.currentPost,"canonicalUrl",r)},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(r){return t.isUnlicensed?null:t.savePriority(r.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(r){return t.isUnlicensed?null:t.saveFrequency(r.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(r){return t.currentPost.keywords=t.setJsonValue(r)}}})]},proxy:!0}],null,!1,2312666634)}):t._e()],1)},Ke=[];const Fe={components:{CoreAlert:m,CoreSettingsRow:f,CoreSingleRobotsMeta:Ue},mixins:[b,M],props:{disabled:{type:Boolean,default(){return!1}},type:{type:String,required:!1},object:{type:Object,required:!1}},data(){return{strings:{pageName:"Advanced",robotsSetting:"Robots Setting",robotsToggle:"Use Default Settings",canonicalURL:"Canonical URL",placeholder:"Enter a URL to change the default Canonical URL",priorityScore:"Priority Score",priority:"Priority",frequency:"Frequency",priorityFrequencyUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("post-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"priority-frequency",!0)),keywords:"Keywords",tagPlaceholder:"Press enter to create a keyword"}}},computed:l(o(o({},g(["isUnlicensed"])),c(["currentPost","options"])),{getPriorityOptions(){return[{label:"default",value:"default"}].concat(this.$constants.PRIORITY_OPTIONS)},getFrequencyOptions(){return[{label:"default",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)}}},W={};var He=i(Fe,Be,Ke,!1,Ne,null,null,null);function Ne(t){for(let s in W)this[s]=W[s]}var je=function(){return He.exports}(),ze=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(r){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)},qe=[];const Ve={components:{CoreTooltip:w,SvgCaret:Et,SvgCircleCheck:P,SvgCircleQuestionMark:U,SvgEllipse:ye,TransitionSlide:Ce},mixins:[Kt],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:o({},g(["settings"])),methods:o({},p(["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})})}},Y={};var Ge=i(Ve,ze,qe,!1,We,null,null,null);function We(t){for(let s in Y)this[s]=Y[s]}var Ye=function(){return Ge.exports}(),Ze=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"}})])},Je=[];const Xe={},Z={};var Qe=i(Xe,Ze,Je,!1,ts,null,null,null);function ts(t){for(let s in Z)this[s]=Z[s]}var Xt=function(){return Qe.exports}(),es=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"}})])},ss=[];const rs={},J={};var ns=i(rs,es,ss,!1,os,null,null,null);function os(t){for(let s in J)this[s]=J[s]}var Qt=function(){return ns.exports}(),is=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(r){return t.toggleKeyphrasesPanel(t.index)}}},[t._v(" "+t._s(t.keyphrase)+" ")]),e("span",{staticClass:"keyphrase-edit",on:{click:function(r){return t.editKeyphraseEv(t.index)}}},[e("svg-pencil")],1),e("span",{staticClass:"keyphrase-score",class:t.scoreClass,on:{click:function(r){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(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}),e("span",{staticClass:"keyphrase-delete",on:{click:function(r){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()])},as=[];const ls={components:{SvgPencil:B,SvgTrash:K},props:{index:{type:Number},keyphrase:{type:String},score:{type:Number}},data(){return{edit:!1,strings:{delete:"Delete"}}},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}}},X={};var cs=i(ls,is,as,!1,us,null,null,null);function us(t){for(let s in X)this[s]=X[s]}var te=function(){return cs.exports}(),ds=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"aioseo-analysis-detail"},t._l(t.analysisItems,function(r,n){return e("li",{key:n},[r.title?e("p",{staticClass:"title",class:r.error===0?"toggled":""},[r.error===0?e("svg-circle-check",{attrs:{width:"12"}}):t._e(),r.error===1?e("svg-circle-close",{attrs:{width:"12"}}):t._e(),t._v(" "+t._s(r.title)+" "),e("svg-caret",{attrs:{width:"16"},on:{click:t.toggleDescriptionEv}})],1):t._e(),e("p",{staticClass:"description"},[t._v(t._s(r.description))])])}),0)},ps=[];const hs={components:{SvgCaret:Et,SvgCircleCheck:P,SvgCircleClose:Ft},props:{analysisItems:{type:Object}},data(){return{strings:{delete:"Delete"}}},methods:{toggleDescriptionEv(t){t.target.parentElement.classList.toggle("toggled")}}},Q={};var _s=i(hs,ds,ps,!1,ms,null,null,null);function ms(t){for(let s in Q)this[s]=Q[s]}var T=function(){return _s.exports}(),gs=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(r,n){return e("core-keyphrase",{key:n,staticClass:"aioseo-keyphrase-tag additional-keyphrase",class:t.selectedKeyphrase===n?"selected":null,attrs:{index:n,keyphrase:r.keyphrase,score:r.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].keyphrase?e("core-loader",{staticClass:"analysis-loading",attrs:{dark:""}}):t._e(),!t.currentPost.loading.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(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.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)},vs=[];const fs={components:{CoreAlert:m,CoreKeyphrase:te,CoreLoader:Ot,SvgCirclePlus:S,metaboxAnalysisDetail:T},mixins:[b],data(){return{selectedKeyphrase:0,strings:{additional:"Additional Keyphrases",addKeyphrase:"Add Additional Keyphrases",keyphraseDocumentation:"Improve your SEO rankings with additional keyphrases.",upSell:this.$t.sprintf("Multiple Keyphrases is a %1$s feature. %2$s","Pro",this.$links.getUpsellLink("seo-settings","Click here to get AIOSEO Pro","additional-keyphrases",!0))}}},watch:{"currentPost.keyphrases.additional"(){this.currentPost.keyphrases.additional[this.selectedKeyphrase]||(this.selectedKeyphrase=0)}},computed:o({},c(["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,setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.additional[s]=!1,this.selectedKeyphrase=s,this.setIsDirty()},2e3)},onDeleted(t){this.currentPost.keyphrases.additional.splice(t,1),this.selectedKeyphrase=0,this.setIsDirty()},addKeyphraseEv(){const s=document.getElementsByClassName(`add-keyphrase-${this.$root._data.screenContext}-input`)[0].querySelector(".medium");if(s.value){const e={keyphrase:s.value,score:0},r=this.currentPost.keyphrases.additional.push(e),n=document.getElementsByClassName("keyphrase-name");this.currentPost.loading.additional[0]=!0,s.value="",s.blur(),setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),n[r].click(),this.setIsDirty()},2e3)}},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})}}},tt={};var ys=i(fs,gs,vs,!1,bs,"56bb2387",null,null);function bs(t){for(let s in tt)this[s]=tt[s]}var ks=function(){return ys.exports}(),$s=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}})])},Cs=[];const ws={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(n=>n.x)),s=Math.max(...this.data.map(n=>n.y)),e=this.height-this.strokeWidth,r=this.data.map(n=>{const a=n.x===0?0:n.x/t,u=n.y===0?0:n.y/s,h=a*this.width,d=e-u*e+this.strokeWidth;return`${h},${d}`}).join(" ");return`0,${e+this.strokeWidth} `+r+` ${this.width},${e+this.strokeWidth}`}}},et={};var xs=i(ws,$s,Cs,!1,Ps,null,null,null);function Ps(t){for(let s in et)this[s]=et[s]}var Ss=function(){return xs.exports}(),Ts=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(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.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",{attrs:{isolate:"",classes:["aioseo-focus-keyphrase-panel-modal"]},on:{close:function(r){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(r){t.semrushCountry=r},expression:"semrushCountry"}})],1),e("div",{staticClass:"results"},[e("table",{staticClass:"additional-keyphrases-table",attrs:{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(r,n){return e("tr",{key:n,staticClass:"keyphrase-row",class:{even:n%2===0}},[e("td",{staticClass:"keyphrase"},[t._v(" "+t._s(r[0])+" ")]),e("td",{staticClass:"keyphrase-volume"},[t._v(" "+t._s(r[1])+" ")]),e("td",{staticClass:"keyphrase-trend"},[e("svg-area-chart",{attrs:{width:66,height:24,data:t.transformTrendDataToChartPoints(r[2]),strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc"}})],1),t.isUnlicensed?t._e():e("td",{staticClass:"keyphrase-actions"},[r[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(),r[0]!==t.currentPost.keyphrases.focus.keyphrase.toLowerCase()?e("div",[n!==t.removingAdditionalKeyphrase&&(n===t.addingAdditionalKeyphrase||!t.hasAdditionalKeyphrase(r[0]))?e("base-button",{attrs:{type:"gray",size:"small",loading:n===t.addingAdditionalKeyphrase},on:{click:function(a){return t.addAdditionalKeyphrase(r[0],n)}}},[t._v(" "+t._s(t.strings.addAdditionalKeyphrase)+" ")]):t._e(),t.getAdditionalKeyphrase(r[0])&&n!==t.addingAdditionalKeyphrase&&(n===t.removingAdditionalKeyphrase||t.hasAdditionalKeyphrase(r[0]))?e("div",{staticClass:"remove-keyphrase"},[e("span",{staticClass:"keyphrase-score",class:t.scoreClass(t.getAdditionalKeyphrase(r[0]).score),on:{click:function(a){return t.goToAdditionalKeyphrase(r[0])}}},[t._v(t._s(t.getAdditionalKeyphrase(r[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(a){return t.removeAdditionalKeyphrase(r[0],n)}}})],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)},Ls=[];const Rs={components:{CoreAlert:m,CoreKeyphrase:te,CoreLoader:Ot,CoreModal:y,CoreTooltip:w,SvgAreaChart:Ss,SvgCircleCheck:P,SvgCirclePlus:S,SvgTrash:K,metaboxAnalysisDetail:T},mixins:[b],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("Additional Keyphrases by %1$s","Semrush"),addKeyphrase:"Add Focus Keyphrase",getAdditionalKeyphrases:"Get Additional Keyphrases",showResultsFor:"Show Results For:",keyphrase:"Keyphrase",volume:"Volume",trend:"Trend",addAdditionalKeyphrase:"Add Keyphrase",removeAdditionalKeyphrase:"Remove Keyphrase",noResults:"No results",upsell:this.$t.sprintf("Analyzing your content with %1$s keywords is only available to licensed %2$s users. %3$s","Semrush","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("semrush-keywords",this.$constants.GLOBAL_STRINGS.learnMore,null,!0)),semrushGetAdditionalKeyphrases:this.$t.sprintf("%1$s integrates directly with %2$s to provide you with actionable keyphrases to help you write better content.","AIOSEO","Semrush"),pleaseAddFocusKeyphrase:"To use this feature, first add a focus keyphrase.",focusKeyphrase:"Focus Keyphrase",delete:"Delete",semrushTooltip:this.$t.sprintf("Get Additional Keyphrases with %1$s!","Semrush"),semrushTooltipLicenseKey:this.$t.sprintf("%1$sA valid license key is required%2$s in order to connect with %3$s.",'<a href="'+this.$aioseo.urls.aio.settings+'">',"</a>","Semrush"),youHaveExceededSemrush:this.$t.sprintf("You have exceeded the number of requests allowed by your %1$s plan.","Semrush"),inOrderToUpgradeSemrush:this.$t.sprintf("In order to continue searching for additional keyphrases, you'll need to upgrade. %1$s",this.$links.getUpsellLink("semrush-pricing",this.$constants.GLOBAL_STRINGS.learnMore,"semrushPricing",!0))}}},watch:{semrushCountry:{deep:!0,handler(){this.getKeyphrases()}}},computed:l(o(o(o(o({},g("integrations",["semrushExpired","semrushHasValidTokens"])),g(["isUnlicensed","isConnected"])),c(["currentPost","internalOptions"])),c("integrations",["semrush"])),{semrushError(){return this.semrush.error.includes("TOTAL LIMIT EXCEEDED")?"You have exceeded the limit for requests. Please try again later.":"An error occurred while fetching keyphrases. Please try again later."},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:l(o(o({},p("integrations",["semrushAuthenticate","semrushRefresh","semrushGetKeyphrases"])),p(["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,r)=>({x:r,y:parseFloat(e)}))},openConnectPopup(t){V(t,this.connectWithAioseo,600,630,!0,["token"],this.completedConnectCallback,this.closedConnectCallback)},openPopup(t){V(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:r,source:n,origin:a}=t;if(!(a!=="https://oauth.semrush.com"||s!==n)){if(r.type==="semrush:oauth:success"){window.removeEventListener("message",e,!1);let u={};try{const h=new URL(r.url);u=$(h.search)}catch{}this.completedCallback(u).then(()=>{s.close(),s=null,this.closedCallback(!0)})}r.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,setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.focus=!1,this.setIsDirty()},2e3)},onDeleted(){this.currentPost.keyphrases.focus.keyphrase=null,this.currentPost.loading.focus=!0,setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.focus=!1,this.setIsDirty()},2e3)},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(),setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.focus=!1,this.setIsDirty()},2e3)}},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"},addAdditionalKeyphrase(t,s){this.addingAdditionalKeyphrase=s;const{additional:e}=this.currentPost.keyphrases,r=e.push({keyphrase:t,score:0}),n=document.getElementsByClassName("keyphrase-name");this.$set(this.currentPost.keyphrases,"additional",e),this.$nextTick(()=>{setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),n[r]&&n[r].click(),this.setIsDirty(),this.addingAdditionalKeyphrase=!1},2e3)})},goToAdditionalKeyphrase(t){const{additional:s}=this.currentPost.keyphrases,e=s.findIndex(r=>r.keyphrase.toLowerCase()===t);if(e!==-1){const r=document.getElementsByClassName("keyphrase-name");r[e+1]&&r[e+1].click(),this.semrushShowModal=!1}},removeAdditionalKeyphrase(t,s){this.removingAdditionalKeyphrase=s;const{additional:e}=this.currentPost.keyphrases,r=e.findIndex(n=>n.keyphrase.toLowerCase()===t);if(r!==-1){e.splice(r,1),this.$set(this.currentPost.keyphrases,"additional",e);const n=document.getElementsByClassName("keyphrase-name");n[0]&&n[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())}},st={};var As=i(Rs,Ts,Ls,!1,Is,null,null,null);function Is(t){for(let s in st)this[s]=st[s]}var Ms=function(){return As.exports}(),Ds=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(r){return t.processChangeTab(r)}}}),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)},Es=[];const Os={components:{CoreMainTabs:C,metaboxAnalysisDetail:T},data(){return{initTab:"basic",tabs:[{slug:"basic",name:"Basic SEO"},{slug:"title",name:"Title"},{slug:"readability",name:"Readability"}]}},computed:o({},c(["currentPost"])),methods:{processChangeTab(t){this.initTab=t}},mounted(){this.tabs.map(t=>(t.errorCount=this.currentPost.page_analysis.analysis[t.slug].errors,t))}},rt={};var Us=i(Os,Ds,Es,!1,Bs,null,null,null);function Bs(t){for(let s in rt)this[s]=rt[s]}var Ks=function(){return Us.exports}(),Fs=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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"title",r)},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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"description",r)},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)+" ")])],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[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,557225409)},[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)},Hs=[];const Ns={mixins:[D,me,Kt,b],components:{BaseRadioToggle:E,CoreAlert:m,CoreGoogleSearchPreview:$e,CoreHtmlTagsEditor:O,CoreSettingsRow:f,CoreSidebarCard:Ye,CoreTooltip:w,SvgCircleQuestionMark:U,SvgDesktop:Xt,SvgMobile:Qt,SvgPencil:B,additionalKeyphrases:ks,focusKeyphrase:Ms,metaboxAnalysisDetail:T,pageAnalysis:Ks},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:"General",snippetPreview:"Snippet Preview",snippetPreviewContent:"Snippet Preview content here.",editSnippet:"Edit Snippet",clickToAddTitle:"Click on the tags below to insert variables into your title.",metaDescription:"Meta Description",clickToAddDescription:"Click on the tags below to insert variables into your meta description.",pillarContent:"Pillar Content",pillarContentCopy:"Cornerstone content should be the most important and extensive articles on your site.",focusKeyphrase:"Focus Keyphrase",additionalKeyphrases:"Additional Keyphrases",pageAnalysis:"Page Analysis",basicSeo:"Basic SEO",title:"Title",readability:"Readability",lookingForMetaKeywords:"Looking for meta keywords? Click on the advanced tab above to add/edit meta keywords.",keyphraseDocumentation:this.$t.sprintf("Not sure what keyphrases are used for? Check out our documentation for more information. %1$s",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"useKeyphrasesTooltip",!0))}}},watch:{"currentPost.title"(){q(()=>this.runAnalysis({postId:this.currentPost.id}),2e3)},"currentPost.description"(){q(()=>this.runAnalysis({postId:this.currentPost.id}),2e3)}},computed:l(o(o({},c(["currentPost","options"])),c("live-tags",["liveTags"])),{title(){return this.$t.sprintf("%1$s Title",this.currentPost.type)},toggled:function(){return this.currentPost.pillar_content===1},displayTruSeoMetaboxCard(){return I()&&this.$root._data.screenContext==="metabox"&&this.currentPost.context==="post"&&this.currentPost.postType!=="attachment"&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.isWooCommerceProduct&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarKeyphraseCard(){return I()&&this.$root._data.screenContext==="sidebar"&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarAnalysisCard(){return I()&&this.$root._data.screenContext==="sidebar"&&this.currentPost.page_analysis&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},isWooCommerceProduct(){return!!(window.aioseo.data.isWooCommerceActive&&this.currentPost.postType==="product")},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:l(o({},p(["changeGeneralPreview","openModal","savePostState"])),{hideKeywordsLooking(){this.options.searchAppearance.advanced.keywordsLooking=!1,this.saveChanges()},isMobilePreviewEv(t){this.changeGeneralPreview(t)},editSnippetEv(){this.editSnippet=!this.editSnippet,this.$set(this.currentPost.tabs,"tab_modal","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)}},nt={};var js=i(Ns,Fs,Hs,!1,zs,null,null,null);function zs(t){for(let s in nt)this[s]=nt[s]}var ee=function(){return js.exports}(),qs=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"}})])},Vs=[];const Gs={},ot={};var Ws=i(Gs,qs,Vs,!1,Ys,null,null,null);function Ys(t){for(let s in ot)this[s]=ot[s]}var se=function(){return Ws.exports}(),Zs=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)},Js=[];const Xs={components:{CoreSettingsRow:f,SvgRightArrowShort:se},data(){return{strings:{title:"Link Assistant",description:"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.",button:"Open Link Assistant"}}},methods:o({},v(["toggleLinkAssistantModal"]))},it={};var Qs=i(Xs,Zs,Js,!1,tr,null,null,null);function tr(t){for(let s in it)this[s]=it[s]}var re=function(){return Qs.exports}();const k=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var er={methods:{findTargetBlock(t,s){const e=k(s);let r=null;return t.forEach(n=>{if(r||!n.attributes)return;if(n.attributes.content&&n.attributes.content.search(e)!==-1){r=n.clientId;return}if(!n.innerBlocks)return;const a=this.findTargetBlock(n.innerBlocks,s);a&&(r=a)}),r}}},sr={mixins:[er],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{tableKey:0,pageNumber:1,action:"",wpTableLoading:!1,showModal:!1,selectedRows:[],bulkOptions:[{label:"Delete",value:"delete"}],strings:{frontPage:"Front Page",viewPost:"View Post",editPost:"Edit Post",deleteLink:"Delete Link"},modalStrings:{areYouSureSingle:"Are you sure you want to delete this link?",areYouSureMultiple:"Are you sure you want to delete these links?",areYouSureAll:"Are you sure you want to delete all links?",actionCannotBeUndone:"This action cannot be undone.",yesSingle:"Yes, I want to delete this link",yesMultiple:"Yes, I want to delete these links",yesAll:"Yes, I want to delete all links",noChangedMind:"No, I changed my mind"}}},computed:l(o({},c(["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:l(o({},p("linkAssistant",["linkDelete","linksBulk","postReportPaginate","postSettingsUpdate"])),{openPostReport(t){window.location.href=`#/post-report?postId=${this.postId}&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=="undefined")){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")})}},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")})}},processPagination(t){this.tableKey++,this.pageNumber=t,!this.metabox&&(this.$bus.$emit("updatingLinks",!0),this.postReportPaginate({page:t,postId:this.post.ID,postIndex:this.postIndex,type:this.linkType}).finally(()=>{this.$bus.$emit("updatingLinks",!1)}))},editorRemoveLink(t){be()&&(this.$bus.$emit("updatingLinks",!1),this.blockEditorRemoveLink(t),this.$bus.$emit("updatingLinks",!1)),ke()&&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=k(s.anchor.trim()),r=s.phrase_html.trim(),n=k(r),a=window.wp.data.select("core/block-editor").getBlocks(),u=this.findTargetBlock(a,r);if(!u){this.$bus.$emit("updatingLinks",!1);return}const h=window.wp.data.select("core/block-editor").getBlock(u);if(!h){this.$bus.$emit("updatingLinks",!1);return}let d=new RegExp(`(<t?a[^<>]*>)(.*)?(${e})(.*)?(</t?a[^<>]*>)`,"i");const x=r.replace(d,"$2$3$4");d=new RegExp(`${n}`,"i"),window.wp.data.dispatch("core/block-editor").updateBlockAttributes(u,{content:h.attributes.content.replace(d,x)}).then(()=>{this.$delete(this.post.links[this.linkType].rows,t)}).catch(R=>{console.error(`Couldn delete link with type "${this.linkType}" and index ${t}:`,R)}).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="",r=null,n=null;if(document.querySelector("#wp-content-wrap.tmce-active")?(r=window.tinyMCE.get("content"),e=r.getContent({format:"raw"})):(n=document.querySelector("textarea#content"),e=n?n.value:""),!e){this.$bus.$emit("updatingLinks",!1);return}let a=s.phrase_html.trim();r||(a=a.replace(/(\sdata-mce-href=".*")/gi,""));const u=k(s.anchor.trim());let h=new RegExp(`(<t?a[^<>]*>)(.*)?(${u})(.*)?(</t?a[^<>]*>)`,"i");const d=a.replace(h,"$2$3$4"),x=k(a);h=new RegExp(`${x}`,"i"),e=e.replace(h,d),r?r.setContent(e):n.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((r,n)=>{s.includes(r.id)&&e.push(n)}),t==="all"&&(e=this.post.links[this.linkType].rows.map((r,n)=>n)),e.sort(function(r,n){return n-r})}})},rr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.showModal?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(r){return r.stopPropagation(),t.$emit("closeModal",!0)}}},[e("svg-close",{on:{click:function(r){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(r){return t.$emit("doBulkAction",r)}}},[t._v(" "+t._s(t.confirmation)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(r){return t.$emit("closeModal",!0)}}},[t._v(" "+t._s(t.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,3343467816)}):t._e()},nr=[];const or={components:{CoreModal:y,SvgClose:Ut},props:{showModal:{type:Boolean,required:!0},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}}},at={};var ir=i(or,rr,nr,!1,ar,null,null,null);function ar(t){for(let s in at)this[s]=at[s]}var lr=function(){return ir.exports}(),cr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-link-assistant-phrase",on:{mouseover:function(r){return t.$emit("mouseOver")},mouseleave:function(r){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)},ur=[];const dr={components:{CoreTooltip:w},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=k(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()}}},lt={};var pr=i(dr,cr,ur,!1,hr,null,null,null);function hr(t){for(let s in lt)this[s]=lt[s]}var _r=function(){return pr.exports}(),mr=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"}})])},gr=[];const vr={},ct={};var fr=i(vr,mr,gr,!1,yr,null,null,null);function yr(t){for(let s in ct)this[s]=ct[s]}var L=function(){return fr.exports}(),br=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("core-wp-table",{class:{"link-assistant-inner-table":!t.postReport},attrs:{columns:t.columns,rows:t.rows,totals:t.post.links.inboundInternal.totals,"bulk-options":t.bulkOptions,showSearch:!1,showPagination:!t.linksReport,showTableFooter:t.postReport,loading:t.wpTableLoading},on:{"process-bulk-action":t.maybeDoBulkAction,paginate:t.processPagination},scopedSlots:t._u([{key:"post_title",fn:function(r){var n=r.row;return[e("span",[t._v(" "+t._s(n.context.postTitle)+" "),n.context.permalink.replace(/\/$/,"")===t.$aioseo.urls.home?e("span",[t._v("("+t._s(t.strings.frontPage)+")")]):t._e()]),n.context?e("div",{staticClass:"row-actions"},[e("span",{staticClass:"view"},[e("a",{attrs:{href:n.context.permalink,target:"_blank"}},[t._v(t._s(t.strings.viewPost))]),t._v(" | ")]),e("span",{staticClass:"edit"},[e("a",{attrs:{href:n.context.editLink,target:"_blank"}},[t._v(t._s(t.strings.editPost))])])]):t._e()]}},{key:"phrase",fn:function(r){var n=r.row;return[e("link-assistant-phrase",{attrs:{phrase:n.phrase,phraseHtml:n.phrase_html,anchor:n.anchor,url:n.url,clickableAnchor:!0}})]}},{key:"delete",fn:function(r){var n=r.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(a){return t.maybeDoBulkAction({action:"delete",selectedRows:n})}}})],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(r){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(r){return r.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(r){return r.preventDefault(),t.maybeDoBulkAction({action:"delete",selectedRows:"all"})}}},[t._v(" "+t._s(t.strings.deleteAllLinks)+" ")]):t._e()])]),e("link-assistant-confirmation-modal",{attrs:{showModal:t.showModal,selectedRows:t.selectedRows,strings:t.modalStrings},on:{doBulkAction:t.doBulkAction,closeModal:function(r){t.showModal=!1}}})],1)},kr=[];const $r={components:{CoreTooltip:w,CoreWpTable:Nt,LinkAssistantConfirmationModal:lr,LinkAssistantPhrase:_r,SvgLinkExternal:H,SvgLinkSuggestion:L,SvgTrash:K},mixins:[sr],data(){return{linkType:"inboundInternal",strings:{deleteAllLinks:this.$t.sprintf("Delete All %1$s Links","Inbound Internal"),outboundSuggestions:this.$t.sprintf("%1$s Link Suggestions","Inbound")}}},computed:{columns(){return[{slug:"post_title",label:"Post Title"},{slug:"phrase",label:"Phrase"},{slug:"delete",width:"50px"}]},seeAllLinks(){return this.$t.sprintf("See All %1$s %2$s Links",this.post.links.inboundInternal.totals.total,"Inbound Internal")}}},ut={};var Cr=i($r,br,kr,!1,wr,null,null,null);function wr(t){for(let s in ut)this[s]=ut[s]}var ne=function(){return Cr.exports}(),xr=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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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[t.$isPro&&t.$addons.requiresUpgrade("aioseo-link-assistant")&&t.$addons.currentPlans("aioseo-link-assistant")?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.thisFeatureRequires)+" "),e("strong",[t._v(t._s(t.$addons.currentPlans("aioseo-link-assistant")))])]):t._e(),t._v(" "+t._s(t.strings.linkAssistantDescription)+" ")]},proxy:!0}],null,!1,719893283)})],1):t._e(),t.currentPost.linkAssistant.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-link-assistant-modal",attrs:{isolate:""},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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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[t.$isPro&&t.$addons.requiresUpgrade("aioseo-link-assistant")&&t.$addons.currentPlans("aioseo-link-assistant")?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.thisFeatureRequires)+" "),e("strong",[t._v(t._s(t.$addons.currentPlans("aioseo-link-assistant")))])]):t._e(),t._v(" "+t._s(t.strings.linkAssistantDescription)+" ")]},proxy:!0}],null,!1,719893283)})],1)]):t._e(),this.parentComponentContext!=="modal"?e("links-side-bar"):t._e()],1)},Pr=[];const Sr={components:{CoreAlert:m,CoreBlur:Ht,CoreMainTabs:C,CoreModal:y,Cta:F,LinkAssistantInboundInternal:ne,LinksSideBar:re,SvgLinkAffiliate:zt,SvgLinkExternal:H,SvgLinkInternalInbound:qt,SvgLinkInternalOutbound:Vt,SvgLinkSuggestion:L},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("Upgrade to %1$s and Unlock Link Assistant","Pro"),ctaHeader:this.$t.sprintf("Link Assistant is only available for licensed %1$s %2$s users.","AIOSEO","Pro"),linkAssistantDescription:"Get relevant suggestions for adding internal links to all your content as well as finding any orphaned posts that have no internal links.",thisFeatureRequires:"This feature requires one of the following plans:",linkOpportunities:"Actionable Link Suggestions",orphanedPosts:"See Orphaned Posts",affiliateLinks:"See Affiliate Links",domainReports:"Top Domain Reports"}}},computed:l(o({},c(["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,"Inbound Internal")},{slug:"outbound-internal",icon:"svg-link-internal-outbound",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.outboundInternal.totals.total,"Outbound Internal")},{slug:"affiliate",icon:"svg-link-affiliate",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.affiliate.totals.total,"Affiliate")},{slug:"external",icon:"svg-link-external",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.external.totals.total,"External")},{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,"Link Suggestions")}]},modalHeader(){return this.$t.sprintf('Links & Suggestions for "%1$s"',window.wp.data.select("core/editor").getEditedPostAttribute("title"))}}),methods:o({},v(["toggleLinkAssistantModal"]))},dt={};var Tr=i(Sr,xr,Pr,!1,Lr,null,null,null);function Lr(t){for(let s in dt)this[s]=dt[s]}var pt=function(){return Tr.exports}(),Rr=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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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.$aioseo.urls.aio.featureManager+"&aioseo-activate=aioseo-link-assistant","cta-button-action":"","cta-button-loading":t.activationLoading,"same-tab":"","button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getDocUrl("link-assistant"),"feature-list":[t.strings.linkOpportunities,t.strings.domainReports,t.strings.orphanedPosts,t.strings.affiliateLinks]},on:{"cta-button-click":t.activateAddon},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t.failed?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.activateError)+" ")]):t._e(),t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0},{key:"learn-more-text",fn:function(){return[t._v(" "+t._s(t.strings.learnMoreText)+" ")]},proxy:!0}],null,!1,2680951548)})],1):t._e(),t.currentPost.linkAssistant.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-link-assistant-modal",attrs:{isolate:""},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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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.$aioseo.urls.aio.featureManager+"&aioseo-activate=aioseo-link-assistant","cta-button-action":"","cta-button-loading":t.activationLoading,"same-tab":"","button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getDocUrl("link-assistant"),"feature-list":[t.strings.linkOpportunities,t.strings.domainReports,t.strings.orphanedPosts,t.strings.affiliateLinks]},on:{"cta-button-click":t.activateAddon},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t.failed?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.activateError)+" ")]):t._e(),t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0},{key:"learn-more-text",fn:function(){return[t._v(" "+t._s(t.strings.learnMoreText)+" ")]},proxy:!0}],null,!1,2680951548)})],1)]):t._e(),this.parentComponentContext!=="modal"?e("links-side-bar"):t._e()],1)},Ar=[];const Ir={components:{CoreAlert:m,CoreBlur:Ht,CoreMainTabs:C,CoreModal:y,Cta:F,LinkAssistantInboundInternal:ne,LinksSideBar:re,SvgLinkAffiliate:zt,SvgLinkExternal:H,SvgLinkInternalInbound:qt,SvgLinkInternalOutbound:Vt,SvgLinkSuggestion:L},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:"Activate Link Assistant",ctaHeader:"Enable Link Assistant on your Site",ctaDescription:"Get relevant suggestions for adding internal links to all your content as well as finding any orphaned posts that have no internal links.",linkOpportunities:"Actionable Link Suggestions",orphanedPosts:"See Orphaned Posts",affiliateLinks:"See Affiliate Links",domainReports:"Top Domain Reports",activateError:"An error occurred while activating the addon. Please upload it manually or contact support for more information.",permissionWarning:"You currently don't have permission to activate this addon. Please ask a site administrator to activate first."},failed:!1,activationLoading:!1}},computed:l(o({},c(["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,"Inbound Internal")},{slug:"outbound-internal",icon:"svg-link-internal-outbound",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.outboundInternal.totals.total,"Outbound Internal")},{slug:"affiliate",icon:"svg-link-affiliate",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.affiliate.totals.total,"Affiliate")},{slug:"external",icon:"svg-link-external",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.external.totals.total,"External")},{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,"Link Suggestions")}]},modalHeader(){return this.$t.sprintf('Links & Suggestions for "%1$s"',window.wp.data.select("core/editor").getEditedPostAttribute("title"))}}),methods:l(o(o(o({},v(["toggleLinkAssistantModal","updateAddon"])),p("linkAssistant",["getPostData"])),p(["installPlugins"])),{activateAddon(){this.failed=!1,this.activationLoading=!0;const t=this.$addons.getAddon("aioseo-link-assistant");this.installPlugins([{plugin:t.basename}]).then(s=>{if(s.body.failed.length){this.activationLoading=!1,this.failed=!0;return}const e=[this.getPostData()];Promise.all(e).then(()=>{this.activationLoading=!1,t.hasMinimumVersion=!0,t.isActive=!0,this.updateAddon(t)})}).catch(()=>{this.activationLoading=!1})}})},ht={};var Mr=i(Ir,Rr,Ar,!1,Dr,null,null,null);function Dr(t){for(let s in ht)this[s]=ht[s]}var Er=function(){return Mr.exports}(),Or=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.isActive("aioseo-link-assistant")&&t.$addons.canActivate("aioseo-link-assistant")&&!t.$addons.requiresUpgrade("aioseo-link-assistant")?e("LinksActivate",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e(),t.isUnlicensed||t.$addons.requiresUpgrade("aioseo-link-assistant")?e("LinksLite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},Ur=[];const Br={components:{Links:pt,LinksActivate:Er,LinksLite:pt},props:{parentComponentContext:String},computed:o({},g(["isUnlicensed"]))},_t={};var Kr=i(Br,Or,Ur,!1,Fr,null,null,null);function Fr(t){for(let s in _t)this[s]=_t[s]}var Hr=function(){return Kr.exports}(),Nr=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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"og_title",r)},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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"og_description",r)},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(r){return t.saveImageType(r.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(r){t.$set(t.currentPost,"og_image_custom_fields",r)},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(r){t.$set(t.currentPost,"og_image_custom_url",r)},expression:"currentPost.og_image_custom_url"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(r){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(r){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(r){t.$set(t.currentPost,"og_video",r)},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(r){return t.setObjectType(r.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(r){t.$set(t.currentPost,"og_article_section",r)},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(r){return t.currentPost.og_article_tags=t.setJsonValue(r)}}})]},proxy:!0}],null,!1,2497302637)}):t._e()],1)},jr=[];const zr={components:{BaseImg:Gt,CoreAlert:m,CoreFacebookPreview:Pe,CoreHtmlTagsEditor:O,CoreSettingsRow:f,SvgCirclePlus:S},mixins:[Wt,Yt,M,D,Bt,Zt,b],props:{isMobilePreview:{type:Boolean,default(){return!1}}},data(){return{titleCount:0,descriptionCount:0,strings:{tabName:"Facebook Preview",imageSource:"Image Source",customFieldsName:"Custom Field Name",video:"Video URL",width:"Width",height:"Height",facebookObjectType:"Object Type",facebookImage:"Facebook Image",facebookTitle:"Facebook Title",facebookDescription:"Facebook Description",uploadOrSelectImage:"Upload or Select Image",pasteYourImageUrl:"Paste your image URL or select a new image",minimumSize:"Minimum size: 200px x 200px, ideal ratio 1.91:1, 5MB max. (eg: 1640px x 856px or 3280px x 1712px for retina screens)",remove:"Remove",clickToAddSiteName:"Click on the tags below to insert variables into your site name.",clickToAddHomePageDescription:"Click on the tags below to insert variables into your meta description.",articleSection:"Article Section",articleTags:"Article Tags",tagPlaceholder:"Press enter to create an article tag",facebookDisabled:this.$t.sprintf("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","Open Graph",this.$t.sprintf('<a href="%1$s" target="_blank">%2$s<span class="link-right-arrow"> →</span></a>',this.$aioseo.urls.aio.socialNetworks+"#facebook","Go to Social Networks"))}}},computed:l(o(o({},c("live-tags",["liveTags"])),c(["currentPost","options","dynamicOptions"])),{objectTypeOptions(){return[{groupLabel:"Default",options:[{label:"Default Object Type (Set in Social Networks)",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:l(o({},p(["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 r=e.options.find(n=>n.value===t);r&&(s=r)}),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()}},mt={};var qr=i(zr,Nr,jr,!1,Vr,null,null,null);function Vr(t){for(let s in mt)this[s]=mt[s]}var Gr=function(){return qr.exports}(),Wr=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(r){t.$set(t.currentPost,"twitter_use_og",r)},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(r){return t.updateCount(r,"titleCount")},input:t.setIsDirty},model:{value:t.currentPost.twitter_title,callback:function(r){t.$set(t.currentPost,"twitter_title",r)},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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"twitter_description",r)},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(r){return t.saveTwitterImageType(r.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(r){t.$set(t.currentPost,"twitter_image_custom_fields",r)},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(r){t.$set(t.currentPost,"twitter_image_custom_url",r)},expression:"currentPost.twitter_image_custom_url"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(r){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(r){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"?e("span",[t._v(t._s(t.strings.minimumSizeSummary))]):t._e(),t.currentPost.twitter_card==="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,1819066734)}):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(r){return t.cardSelect(r.value)}}})]},proxy:!0}])})],1)},Yr=[];const Zr={components:{BaseImg:Gt,CoreAlert:m,CoreHtmlTagsEditor:O,CoreSettingsRow:f,CoreTwitterPreview:Se,SvgCirclePlus:S},mixins:[Wt,Yt,D,Bt,Zt,b],props:{isMobilePreview:{type:Boolean,default(){return!1}}},data(){return{titleCount:0,descriptionCount:0,strings:{twitterPreview:"Twitter Preview",useFB:"Use Data from Facebook Tab",imageSource:"Image Source",customFieldsName:"Custom Field Name",twitterImage:"Twitter Image",twitterTitle:"Twitter Title",twitterDescription:"Twitter Description",twitterCardType:"Twitter Card Type",pasteYourImageUrl:"Paste your image URL or select a new image",uploadOrSelectImage:"Upload or Select Image",remove:"Remove",minimumSizeSummary:"Minimum size: 144px x 144px, ideal ratio 1:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",minimumSizeSummaryWithLarge:"Minimum size: 300px x 157px, ideal ratio 2:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",twitterDisabled:this.$t.sprintf("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","Twitter",this.$t.sprintf('<a href="%1$s" target="_blank">%2$s<span class="link-right-arrow"> →</span></a>',this.$aioseo.urls.aio.socialNetworks+"#twitter","Go to Social Networks"))}}},computed:l(o({},c(["currentPost","options"])),{twitterCards(){return[{label:"Default (Set under Social Networks)",value:"default"},{label:"Summary",value:"summary"},{label:"Summary with Large Image",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:l(o({},p(["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()}},gt={};var Jr=i(Zr,Wr,Yr,!1,Xr,null,null,null);function Xr(t){for(let s in gt)this[s]=gt[s]}var Qr=function(){return Jr.exports}(),tn=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()},en=[];const sn={components:{CoreSettingsRow:f,SvgPencil:B},data(){return{strings:{title:"Social Media",sidebarCopy:"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.",editSnippet:"Preview & Edit"}}},methods:l(o({},p(["openModal"])),{openModalEv(){this.$store.commit("changeTabSettings",{setting:"tab_modal",value:"social"}),this.openModal(!0)}})},vt={};var rn=i(sn,tn,en,!1,nn,null,null,null);function nn(t){for(let s in vt)this[s]=vt[s]}var on=function(){return rn.exports}(),an=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(r){return t.processChangeTab(r)}}}),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)},ln=[];const cn={components:{BaseRadioToggle:E,CoreMainTabs:C,CoreSettingsRow:f,Facebook:Gr,Twitter:Qr,SocialSideBar:on,SvgDesktop:Xt,SvgMobile:Qt},props:{parentComponentContext:String},data(){return{strings:{pageName:"Social"},tabs:[{slug:"facebook",name:"Facebook"},{slug:"twitter",name:"Twitter"}]}},computed:l(o({},c(["currentPost","options"])),{initTab:function(){return $()["social-tab"]?$()["social-tab"]:this.parentComponentContext==="modal"?this.currentPost.tabs.tab_modal_social:this.currentPost.tabs.tab_social}}),methods:l(o({},p(["changeSocialPreview"])),{isMobilePreviewEv(t){this.changeSocialPreview(t)},processChangeTab(t){this.parentComponentContext==="modal"?this.$set(this.currentPost.tabs,"tab_modal_social",t):this.$set(this.currentPost.tabs,"tab_social",t)}})},ft={};var un=i(cn,an,ln,!1,dn,null,null,null);function dn(t){for(let s in ft)this[s]=ft[s]}var oe=function(){return un.exports}(),pn=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"}})])},hn=[];const _n={},yt={};var mn=i(_n,pn,hn,!1,gn,null,null,null);function gn(t){for(let s in yt)this[s]=yt[s]}var ie=function(){return mn.exports}(),vn=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.currentPost.tabs.tab_modal,internal:""},on:{changed:function(r){return t.processChangeTab(r)}}})]},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)},fn=[];const yn={components:{CoreMainTabs:C,CoreSettingsRow:f,General:ee,Social:oe,SvgSettings:ie,SvgShare:Jt},data(){return{activeTab:"general",strings:{pageName:"Modal Content"},tabs:[{slug:"general",icon:"svg-settings",name:"General"},{slug:"social",icon:"svg-share",name:"Social"}]}},computed:l(o({},c(["currentPost"])),{getTabs(){return this.tabs.filter(t=>this.$allowed(`aioseo_page_${t.slug}_settings`))}}),methods:l(o({},p(["changeTabSettings"])),{processChangeTab(t){this.activeTab=t,this.changeTabSettings({setting:"tab_modal",value:t})}})},bt={};var bn=i(yn,vn,fn,!1,kn,null,null,null);function kn(t){for(let s in bt)this[s]=bt[s]}var $n=function(){return bn.exports}(),Cn=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)},wn=[];const xn={components:{CoreSettingsRow:f,SvgRightArrowShort:se},data(){return{strings:{title:"Redirects",description:"Here you can add a redirect or view your existing redirects from this page. Click on the button below to view the Redirects panel.",button:"Open Redirects"}}},methods:o({},v(["toggleRedirectsModal"]))},kt={};var Pn=i(xn,Cn,wn,!1,Sn,"11818a4c",null,null);function Sn(t){for(let s in kt)this[s]=kt[s]}var N=function(){return Pn.exports}(),Tn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-redirects-table"},[e("core-wp-table",{key:t.wpTableKey,ref:"table",attrs:{filters:t.filters,totals:t.totals.main,columns:t.columns,rows:t.getRows,initialPageNumber:t.tableFields.main.paginatedPage,initialSearchTerm:t.tableFields.main.searchTerm,loading:t.wpTableLoading,"search-label":t.strings.searchUrls,"bulk-options":t.bulkOptions,"additional-filters":t.additionalFilters,showBulkActions:t.showBulkActions,showTableFooter:t.showTableFooter,showHeader:t.showHeader},on:{"filter-table":t.filterTable,"process-bulk-action":t.processBulkAction,"process-additional-filters":t.processAdditionalFilters,paginate:t.processPagination,search:t.processSearch},scopedSlots:t._u([{key:"source_url",fn:function(r){var n=r.row,a=r.index,u=r.column,h=r.editRow;return[e("strong",[e("a",{staticClass:"edit-link",attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),h(a)}}},[t._v(t._s(u))])]),e("div",{staticClass:"row-actions"},[e("span",{staticClass:"edit"},[e("a",{attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),h(a)}}},[t._v(t._s(t.strings.edit))]),t._v(" | ")]),n.enabled?e("span",{staticClass:"test"},[e("a",{attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),t.showRedirectTest(n)}}},[t._v(t._s(t.strings.checkRedirect))]),t._v(" | ")]):t._e(),e("span",{staticClass:"trash"},[e("a",{staticClass:"submitdelete",attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),t.maybeDeleteRow(a)}}},[t._v(t._s(t.strings.delete))])])])]}},{key:"type",fn:function(r){var n=r.column;return[t._v(" "+t._s(t.getColumnLabel(n))+" ")]}},{key:"enabled",fn:function(r){var n=r.column,a=r.row;return[e("div",{staticStyle:{"text-align":"right"}},[e("base-toggle",{attrs:{value:n},on:{input:function(u){return t.toggleInput(a,n)}}})],1)]}},{key:"edit-row",fn:function(r){var n=r.row,a=r.editRow;return[e("core-add-redirection",{attrs:{edit:"",url:{id:n.id,url:n.source_url,regex:n.regex,ignoreSlash:n.ignore_slash,ignoreCase:n.ignore_case,showOptions:!0,errors:[],warnings:[]},target:n.target_url,type:n.type,query:n.query_param,rules:n.custom_rules,disableSource:t.disableSource},on:{cancel:function(u){return a(null)}}})]}},{key:"actions",fn:function(r){var n=r.row;return[n.custom_rules&&0<n.custom_rules.length?e("span",[e("core-tooltip",{attrs:{type:"action"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.rules)+" ")]},proxy:!0}],null,!0)},[e("svg-circle-information",{staticClass:"log-info",nativeOn:{click:function(a){return t.showCustomRuleInfo(n)}}})],1)],1):t._e()]}}])}),t.showDeleteModal?e("core-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(r){r.stopPropagation(),t.showDeleteModal=!1}}},[e("svg-close",{on:{click:function(r){t.showDeleteModal=!1}}})],1),e("h3",[t._v(t._s(t.areYouSureDeleteRedirect))]),e("div",{staticClass:"reset-description",domProps:{innerHTML:t._s(t.strings.actionCannotBeUndone)}}),e("base-button",{attrs:{type:"blue",size:"medium",loading:t.deletingRow},on:{click:t.processDeleteRow}},[t._v(" "+t._s(t.yesDeleteRedirect)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(r){t.showDeleteModal=!1}}},[t._v(" "+t._s(t.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,1995483884)}):t._e(),t.customRuleInfo?e("core-modal",{on:{close:function(r){t.customRuleInfo=null}},scopedSlots:t._u([{key:"headerTitle",fn:function(){return[t._v(" "+t._s(t.strings.customRules)+" ")]},proxy:!0},{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body custom-rule-info"},t._l(t.customRuleInfo,function(r,n){return e("div",{key:n},[e("div",{staticClass:"rule"},[e("strong",[t._v(t._s(t.$constants.REDIRECTS_CUSTOM_RULES_LABELS[r.type])+":")]),t._v(" "+t._s(typeof r.value!="object"&&!r.key?t.$constants.REDIRECTS_CUSTOM_RULES_LABELS[r.value]||r.value:"")+" "),t.isObject(r.value)?e("ul",t._l(r.value,function(a,u){return e("li",{key:u},[t._v(t._s(t.$constants.REDIRECTS_CUSTOM_RULES_LABELS[a]||a)+" ")])}),0):t._e(),r.key?e("ul",[e("li",[e("strong",[t._v(t._s(r.key)+":")]),t._v(" "+t._s(r.value))])]):t._e()]),r.regex?e("div",{staticClass:"regex"},[e("base-toggle",{attrs:{value:r.regex,disabled:!0}},[t._v(" "+t._s(t.strings.regex)+" ")])],1):t._e()])}),0)]},proxy:!0}],null,!1,2065651901)}):t._e(),t.redirectTestInfo?e("core-modal",{staticClass:"redirect-test",on:{close:function(r){t.redirectTestInfo=null}},scopedSlots:t._u([{key:"headerTitle",fn:function(){return[e("div",{staticClass:"title"},[t._v(t._s(t.strings.redirectTest)+":")]),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("div",[t._v(" "+t._s(t.redirectTestInfo.source_url)+" ")])]},proxy:!0}],null,!1,1774762636)},[e("div",{staticClass:"source"},[t._v(t._s(t.redirectTestInfo.source_url))])])]},proxy:!0},{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body"},[e("div",{staticClass:"custom-url"},[t.redirectTestInfo.regex?e("core-alert",{staticClass:"alert-regex",attrs:{type:"blue",size:"medium"}},[e("svg-circle-information"),e("span",{domProps:{innerHTML:t._s(t.strings.regexNeedsUrl)}})],1):t._e(),e("div",{staticClass:"label"},[t._v(" "+t._s(t.strings.customUrl)+" "),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.customUrlDescription(t.redirectTestInfo))}})]},proxy:!0}],null,!1,2322812326)},[e("svg-circle-question-mark")],1)],1),e("div",{staticClass:"custom-url-input"},[e("base-input",{attrs:{size:"medium",value:t.redirectTestUrl,disabled:t.redirectTestLoading},on:{input:function(r){return t.redirectTestUrl=r}}}),e("base-button",{attrs:{type:"green",size:"medium",loading:t.redirectTestLoading},on:{click:function(r){return r.preventDefault(),t.redirectTest(t.redirectTestInfo.id)}}},[t._v(" "+t._s(t.strings.testUrl)+" ")])],1)],1),t.redirectTestResult?e("div",{staticClass:"redirect-results"},[e("div",{staticClass:"result"},[t.redirectTestResult.errors.length===0?e("core-alert",{attrs:{type:"green",size:"medium"}},[e("svg-circle-check"),t._v(" "+t._s(t.strings.redirectResultOk)+" ")],1):t._e(),0<t.redirectTestResult.errors.length?e("core-alert",{attrs:{type:"red",size:"medium"}},[e("svg-circle-close"),t._v(" "+t._s(t.strings.redirectResultError)+" ")],1):t._e()],1),e("div",{staticClass:"summary"},[e("div",{staticClass:"label"},[t._v(t._s(t.strings.summary))]),e("table",{staticClass:"redirects-options-table small"},[e("thead",[e("tr",[e("td"),e("td",[t._v(t._s(t.strings.expected))]),e("td",[t._v(t._s(t.strings.result))])])]),e("tbody",[e("tr",{staticClass:"even"},[e("td",[t._v(t._s(t.strings.responseCode)+":")]),e("td",[t._v(t._s(t.redirectTestInfo.type))]),e("td",[t._v(t._s(t.redirectTestResult.redirect.responseCode))])]),t.redirectTestResult.redirect.location?e("tr",[e("td",[t._v(t._s(t.strings.targetUrl)+":")]),e("td",[t._v(t._s(t.redirectTestResult.redirect.targetUrl))]),e("td",[t._v(t._s(t.redirectTestResult.redirect.location))])]):t._e(),t.redirectTestResult.redirect.xRedirectBy?e("tr",{staticClass:"even"},[e("td",[t._v(t._s(t.strings.xRedirectBy)+":")]),e("td",[t._v("AIOSEO")]),e("td",[t._v(t._s(t.redirectTestResult.redirect.xRedirectBy))])]):t._e()])])]),0<t.redirectTestResult.errors.length?e("div",{staticClass:"errors"},[e("div",{staticClass:"label"},[t._v(t._s(t.strings.errors))]),e("core-alert",{attrs:{type:"red",size:"medium"}},[e("ul",t._l(t.redirectTestResult.errors,function(r,n){return e("li",{key:n},[e("span",{domProps:{innerHTML:t._s(r)}})])}),0)])],1):t._e()]):t._e()])]},proxy:!0}],null,!1,1483869538)}):t._e()],1)},Ln=[];const Rn={components:{CoreAddRedirection:jt,CoreAlert:m,CoreModal:y,CoreTooltip:w,CoreWpTable:Nt,SvgCircleCheck:P,SvgCircleClose:Ft,SvgCircleInformation:Le,SvgCircleQuestionMark:U,SvgClose:Ut},mixins:[M],props:{showBulkActions:{type:Boolean,default(){return!0}},showTableFooter:{type:Boolean,default(){return!0}},showHeader:{type:Boolean,default(){return!0}},disableSource:{type:Boolean,default(){return!1}},excludeColumns:Array},data(){return{queryUrls:[],deletingRow:!1,showDeleteModal:!1,shouldDeleteRow:null,wpTableKey:0,wpTableLoading:!1,strings:{searchUrls:"Search URLs",edit:"Edit",checkRedirect:"Check Redirect",delete:"Delete",areYouSureDeleteRedirect:"Are you sure you want to delete this redirect?",areYouSureDeleteRedirects:"Are you sure you want to delete these redirects?",actionCannotBeUndone:"This action cannot be undone.",yesDeleteRedirect:"Yes, I want to delete this redirect",yesDeleteRedirects:"Yes, I want to delete these redirects",noChangedMind:"No, I changed my mind",rules:"Rules",customRules:"Custom Rules",regex:"Regex",redirectTest:"Check redirect for",summary:"Summary",errors:"Errors",responseCode:"Response Code",sourceUrl:"Source URL",targetUrl:"Target URL",xRedirectBy:"Redirected By",customUrl:"Custom URL",testUrl:"Test Redirect",redirectResultOk:"Woohoo! Your redirect worked perfectly! \u{1F389}",redirectResultError:"Whoops! Your URL failed to redirect properly. \u{1F914}",expected:"Expected",result:"Result",regexNeedsUrl:this.$t.sprintf("You are using %1$sRegex%2$s for this redirect so you will need to manually add a URL to test.","<strong>","</strong>")},bulkOptions:[{label:"Enable",value:"enable"},{label:"Disable",value:"disable"},{label:"Reset Hits",value:"reset-hits"},{label:"Delete",value:"delete"}],customRuleInfo:null,redirectTestInfo:null,redirectTestResult:!1,redirectTestLoading:!1,redirectTestUrl:""}},watch:{rows:{deep:!0,handler(){this.wpTableKey+=1}}},computed:l(o(o({},g("redirects",["rows","getCurrentFilter"])),c("redirects",["filters","totals","tableFields","options","selectedFilters"])),{areYouSureDeleteRedirect(){return Array.isArray(this.shouldDeleteRow)?this.strings.areYouSureDeleteRedirects:this.strings.areYouSureDeleteRedirect},yesDeleteRedirect(){return Array.isArray(this.shouldDeleteRow)?this.strings.yesDeleteRedirects:this.strings.yesDeleteRedirect},columns(){const t=[{slug:"source_url",label:"Source URL"},{slug:"target_url",label:"Target URL"},{slug:"hits",label:"Hits",width:"97px"},{slug:"type",label:"Type",width:"100px"},{slug:"group",label:"Group",width:"150px"},{slug:"enabled",label:this.$constants.GLOBAL_STRINGS.enabled,width:"80px"},{slug:"actions",label:"",width:"40px"}];if(this.options.main.method==="server"){const s=t.findIndex(e=>e.slug==="hits");s!==-1&&this.$delete(t,s)}return this.excludeColumns&&this.excludeColumns.length?t.filter(s=>!this.excludeColumns.find(e=>e===s.slug)):t},additionalFilters(){return[{label:"Filter by Group",name:"group",options:[{label:"All Groups",value:"all"}].concat(this.$constants.REDIRECT_GROUPS)}]},getRows(){return this.rows.map(t=>(t.target_url=t.target_url||"-",t))}}),methods:l(o(o({},p("redirects",["filter","bulk","paginate","search","delete","test"])),v("redirects",["setPaginatedPage"])),{filterTable(t){this.wpTableLoading=!0,this.tableFields.main.searchTerm="",this.filter(t).then(()=>{this.wpTableLoading=!1})},refreshTable(){this.filterTable({slug:"all",page:this.$refs.table.pageNumber})},toggleInput(t,s){this.wpTableLoading=!0,this.bulk({action:s?"disable":"enable",rowIds:[t.id]}).then(()=>{this.wpTableLoading=!1})},processBulkAction({action:t,selectedRows:s}){if(!!s.length){if(t==="delete"){this.shouldDeleteRow=s,this.showDeleteModal=!0;return}this.wpTableLoading=!0,this.bulk({action:t,rowIds:s}).then(()=>{this.wpTableLoading=!1})}},processAdditionalFilters({filters:t}){const s=this.getCurrentFilter||{slug:"all"};this.filterTable({slug:s.slug,additional:t,page:this.$refs.table.pageNumber})},processPagination(t,s){this.setPaginatedPage({group:"main",page:t}),this.wpTableLoading=!0,this[s?"search":"paginate"]({searchTerm:s,page:t,additional:this.selectedFilters}).then(()=>{this.wpTableLoading=!1})},processSearch(t){this.wpTableLoading=!0,this.tableFields.main.searchTerm=t,this.search({searchTerm:t,page:1}).then(()=>{this.wpTableLoading=!1})},getColumnLabel(t){return t===0?"Pass through":t},maybeDeleteRow(t){const s=this.rows.find((e,r)=>r===t);s&&(this.showDeleteModal=!0,this.shouldDeleteRow=s.id)},processDeleteRow(){if(this.deletingRow=!0,Array.isArray(this.shouldDeleteRow))return this.bulk({action:"delete",rowIds:this.shouldDeleteRow}).then(()=>{this.deletingRow=!1,this.showDeleteModal=!1,this.shouldDeleteRow=null,this.refreshTable()});this.delete(this.shouldDeleteRow).then(()=>{this.deletingRow=!1,this.showDeleteModal=!1,this.shouldDeleteRow=null,this.refreshTable()})},showCustomRuleInfo(t){this.customRuleInfo=t.custom_rules.map(s=>{switch(s.type){case"role":s.value=s.value.map(e=>e.charAt(0).toUpperCase()+e.slice(1));break}return s})},isObject(t){return typeof t=="object"},showRedirectTest(t){this.redirectTestResult=!1,this.redirectTestUrl=t.regex?"":t.source_url,t.regex||this.redirectTest(t.id),this.redirectTestInfo=t},redirectTest(t){this.redirectTestLoading=!0,this.test({id:t,payload:{sourceUrl:this.redirectTestUrl}}).then(s=>{this.redirectTestLoading=!1,this.redirectTestResult=s.body}).catch(()=>{this.redirectTestLoading=!1})},customUrlDescription(t){const s=t.source_url.replace(this.$aioseo.urls.mainSiteUrl,"");return this.$t.sprintf("You can test redirects with a URL that includes your domain name ( %1$s ) or just the path ( %2$s )",this.$aioseo.urls.mainSiteUrl+s,s)}}),mounted(){this.$bus.$on("added-redirect",this.refreshTable)},beforeDestroy(){this.$bus.$off("added-redirect",this.refreshTable)}},$t={};var An=i(Rn,Tn,Ln,!1,In,null,null,null);function In(t){for(let s in $t)this[s]=$t[s]}var Mn=function(){return An.exports}(),Dn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t.showRedirects?e("div",[t.$root._data.screenContext==="metabox"?e("div",{staticClass:"aioseo-tab-content aioseo-redirects metabox"},[t.hasRedirects?t._e():e("core-add-redirection",{key:t.permalinkPath,attrs:{url:t.getUrl,disableSource:!0},on:{"added-redirect":function(r){return t.reload()}}}),t.hasRedirects?e("div",[e("Table",{attrs:{showHeader:!1,showBulkActions:!1,showTableFooter:!1,disableSource:!0,excludeColumns:["group"]}})],1):t._e()],1):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-redirects modal",attrs:{isolate:""},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"},[t.hasRedirects?t._e():e("core-add-redirection",{key:t.permalinkPath,attrs:{url:t.getUrl,disableSource:!0},on:{"added-redirect":function(r){return t.reload()}}}),t.hasRedirects?e("div",[e("Table",{attrs:{showHeader:!1,showBulkActions:!1,showTableFooter:!1,disableSource:!0,excludeColumns:["group"]}})],1):t._e()],1)])]):t._e(),this.parentComponentContext!=="modal"?e("redirects-side-bar"):t._e()],1):t._e(),t.showRedirects?t._e():e("core-alert",{attrs:{type:"blue"}},[t._v(" "+t._s(t.alertPostStatus)+" ")])],1)},En=[];const On={components:{CoreAddRedirection:jt,CoreAlert:m,CoreModal:y,RedirectsSideBar:N,Table:Mn},props:{parentComponentContext:String},data(){return{strings:{modalHeader:"Redirects"}}},computed:l(o(o({},c(["currentPost"])),g("redirects",["rows","permalinkPath"])),{getUrl(){return{url:this.permalinkPath,showOptions:!0}},hasRedirects(){return this.rows&&this.rows.length},alertPostStatus(){return this.$t.sprintf("The %1$s needs to be published before you can create a redirect here.",this.currentPost.type)},showRedirects(){return this.hasRedirects||this.currentPost.context!=="post"||typeof this.currentPost.postStatus!="undefined"&&this.currentPost.postStatus==="publish"}}),methods:l(o(o({},p("redirects",["getPostRedirects"])),v(["toggleRedirectsModal"])),{reload(){this.getPostRedirects()}})},Ct={};var Un=i(On,Dn,En,!1,Bn,null,null,null);function Bn(t){for(let s in Ct)this[s]=Ct[s]}var Kn=function(){return Un.exports}(),Fn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-redirects"},[e("blur",{attrs:{noCoreCard:t.noCoreCard}}),e("cta",{attrs:{"cta-button-visible":t.$addons.userCanInstallOrActivate("aioseo-redirects"),"cta-button-visible-warning":t.strings.permissionWarning,"cta-link":t.$aioseo.urls.aio.featureManager+"&aioseo-activate=aioseo-redirects","cta-button-action":"","cta-button-loading":t.activationLoading,"same-tab":"","button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getDocUrl("redirects"),"feature-list":[t.strings.serverRedirects,t.strings.automaticRedirects,t.strings.redirectMonitoring,t.strings.monitoring404,t.strings.fullSiteRedirects,t.strings.siteAliases]},on:{"cta-button-click":t.activateAddon},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t.failed?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.activateError)+" ")]):t._e(),t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0},{key:"learn-more-text",fn:function(){return[t._v(" "+t._s(t.strings.learnMoreText)+" ")]},proxy:!0}])})],1)},Hn=[];const Nn={components:{Blur:we,CoreAlert:m,Cta:F},props:{noCoreCard:Boolean},data(){return{strings:{ctaButtonText:"Activate Redirects",ctaHeader:"Enable Redirects on your Site",serverRedirects:"Fast Server Redirects",automaticRedirects:"Automatic Redirects",redirectMonitoring:"Redirect Monitoring",monitoring404:"404 Monitoring",fullSiteRedirects:"Full Site Redirects",siteAliases:"Site Aliases",ctaDescription:"Our Redirection Manager allows you to easily create and manage redirects for your broken links to avoid confusing search engines and users, as well as losing valuable backlinks. It even automatically sends users and search engines from your old URLs to your new ones.",activateError:"An error occurred while activating the addon. Please upload it manually or contact support for more information.",permissionWarning:"You currently don't have permission to activate this addon. Please ask a site administrator to activate first."},failed:!1,activationLoading:!1}},computed:o({},c("redirects",["filters","totals","options"])),methods:l(o(o(o({},p("redirects",["filter","getRedirectOptions"])),p(["installPlugins"])),v(["updateAddon"])),{activateAddon(){this.failed=!1,this.activationLoading=!0;const t=this.$addons.getAddon("aioseo-redirects");this.installPlugins([{plugin:t.basename}]).then(s=>{if(s.body.failed.length){this.activationLoading=!1,this.failed=!0;return}const e=[this.filter({slug:"all",page:1}),this.filter({slug:"logs",page:1}),this.filter({slug:"404",page:1}),this.getRedirectOptions()];Promise.all(e).then(()=>{this.activationLoading=!1,t.hasMinimumVersion=!0,t.isActive=!0,this.updateAddon(t),this.$bus.$emit("redirects-activated")})}).catch(()=>{this.activationLoading=!1})}})},wt={};var jn=i(Nn,Fn,Hn,!1,zn,null,null,null);function zn(t){for(let s in wt)this[s]=wt[s]}var qn=function(){return jn.exports}(),Vn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-redirects"},[t.$root._data.screenContext==="metabox"?e("div",[e("RedirectsActivate",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"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("RedirectsActivate",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1)])]):t._e(),this.parentComponentContext!=="modal"?e("redirects-side-bar"):t._e()],1)},Gn=[];const Wn={components:{CoreModal:y,RedirectsActivate:qn,RedirectsSideBar:N},props:{parentComponentContext:String},data(){return{strings:{modalHeader:"Redirects"}}},computed:o({},c(["currentPost"])),methods:o({},v(["toggleRedirectsModal"]))},xt={};var Yn=i(Wn,Vn,Gn,!1,Zn,null,null,null);function Zn(t){for(let s in xt)this[s]=xt[s]}var Jn=function(){return Yn.exports}(),Xn=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("RedirectsLite",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-redirects-modal",attrs:{isolate:""},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)},Qn=[];const to={components:{CoreModal:y,RedirectsSideBar:N,RedirectsLite:xe},props:{parentComponentContext:String},data(){return{strings:{modalHeader:"Redirects"}}},computed:o({},c(["currentPost"])),methods:o({},v(["toggleRedirectsModal"]))},Pt={};var eo=i(to,Xn,Qn,!1,so,null,null,null);function so(t){for(let s in Pt)this[s]=Pt[s]}var ro=function(){return eo.exports}(),no=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-redirects"},[!t.isUnlicensed&&t.$addons.isActive("aioseo-redirects")&&!t.$addons.requiresUpgrade("aioseo-redirects")?e("Redirects",{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(),t.isUnlicensed||t.$addons.requiresUpgrade("aioseo-redirects")?e("RedirectsLite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},oo=[];const io={props:{parentComponentContext:String},components:{Redirects:Kn,RedirectsActivate:Jn,RedirectsLite:ro},computed:o({},g(["isUnlicensed"]))},St={};var ao=i(io,no,oo,!1,lo,null,null,null);function lo(t){for(let s in St)this[s]=St[s]}var co=function(){return ao.exports}(),uo=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-post-schema-lite"},[e("core-settings-row",{attrs:{name:t.strings.schemaType},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{staticClass:"schema-type",attrs:{disabled:"",size:"medium",options:[{value:"default",label:"Default (Set in Search Appearance)"},{value:"none",label:"None"},{value:"Article",label:"Article"}],value:{value:"Article",label:"Article"}}})]},proxy:!0}])}),e("core-settings-row",{attrs:{name:t.strings.articleType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-radio-toggle",{attrs:{disabled:"",name:"articleType",value:"BlogPosting",options:[{label:t.strings.article,value:"Article"},{label:t.strings.blogPost,value:"BlogPosting"},{label:t.strings.newsArticle,value:"NewsArticle"}]}})]},proxy:!0}])}),!t.$isPro||!t.$aioseo.license.isActive?e("core-alert",{staticClass:"schema-upsell inline-upsell",attrs:{type:"blue"}},[e("div",{domProps:{innerHTML:t._s(t.strings.schemaUpsell)}})]):t._e()],1)},po=[];const ho={components:{BaseRadioToggle:E,CoreAlert:m,CoreSettingsRow:f},data(){return{strings:{schemaType:"Schema Type",articleType:"Article Type",article:"Article",blogPost:"Blog Post",newsArticle:"News Article",schemaUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("post-schema",this.$constants.GLOBAL_STRINGS.learnMore,null,!0))}}},computed:o({},c(["currentPost"]))},Tt={};var _o=i(ho,uo,po,!1,mo,null,null,null);function mo(t){for(let s in Tt)this[s]=Tt[s]}var Lt=function(){return _o.exports}(),go=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"),t.isUnlicensed?e("schema-lite"):t._e()],1)},vo=[];const fo={components:{Schema:Lt,SchemaLite:Lt},computed:o({},g(["isUnlicensed"]))},Rt={};var yo=i(fo,go,vo,!1,bo,null,null,null);function bo(t){for(let s in Rt)this[s]=Rt[s]}var ko=function(){return yo.exports}(),$o=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"}})])},Co=[];const wo={},At={};var xo=i(wo,$o,Co,!1,Po,null,null,null);function Po(t){for(let s in At)this[s]=At[s]}var So=function(){return xo.exports}(),To=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"}})])},Lo=[];const Ro={},It={};var Ao=i(Ro,To,Lo,!1,Io,null,null,null);function Io(t){for(let s in It)this[s]=It[s]}var Mo=function(){return Ao.exports}(),Do=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-app aioseo-post-settings"},[e("core-main-tabs",{attrs:{tabs:t.getTabs,showSaveButton:!1,active:t.activeTab,internal:"",disableMobile:""},on:{changed:function(r){return t.processChangeTab(r)}},scopedSlots:t._u([{key:"md-tab-icon",fn:function(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.data.warning}]})]}}])}),e("transition",{attrs:{name:"route-fade",mode:"out-in"}},[e(t.activeTab,{tag:"component",attrs:{parentComponentContext:"metabox"}})],1),t.currentPost.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{attrs:{isolate:"",classes:["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("ModalContent")],1)]):t._e()],1)},Eo=[];const Oo={components:{Advanced:je,CoreMainTabs:C,CoreModal:y,General:ee,LinkAssistant:Hr,ModalContent:$n,Redirects:co,Schema:ko,Social:oe,SvgBuild:Te,SvgLinkSuggestion:L,SvgReceipt:So,SvgRedirectCrossedArrows:Mo,SvgSettings:ie,SvgShare:Jt},data(){return{activeTab:"general",modal:!1,strings:{pageName:"General",modalTitle:"Preview Snippet Editor"},sidebarFirstOpen:!1}},watch:{currentPost:{deep:!0,handler(){_e(this.savePostState,250)}}},computed:l(o({},c(["currentPost","redirects"])),{tabs(){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",name:"Redirects",warning:typeof this.redirects!="undefined"&&0<this.redirects.rows.filter(s=>!!s.enabled).length,permission:"aioseo_page_redirects_manage"},{slug:"advanced",icon:"svg-build",name:"Advanced"}];return!this.$aioseo.integration&&this.currentPost.context==="post"&&(!this.currentPost.linkAssistant||!this.currentPost.linkAssistant.isExcludedPost)&&t.splice(3,0,{slug:"linkAssistant",icon:"svg-link-suggestion",name:"Link Assistant"}),t},initTab:function(){let t=this.getTabPermission(this.currentPost.tabs.tab);return this.$root._data.screenContext==="sidebar"?(t=this.getTabPermission(this.currentPost.tabs.tab_sidebar),this.currentPost.tabs.tab_sidebar&&this.$allowed(t,!0)?this.currentPost.tabs.tab_sidebar:this.$allowed("aioseo_page_general_settings")?"general":this.$allowed("aioseo_page_social_settings")?"social":this.$allowed("aioseo_page_schema_settings")?"schema":"advanced"):this.currentPost.tabs.tab&&this.$allowed(t,!0)?this.currentPost.tabs.tab:this.$allowed("aioseo_page_general_settings")?"general":this.$allowed("aioseo_page_social_settings")?"social":this.$allowed("aioseo_page_schema_settings")?"schema":"advanced"},getTabs(){return this.currentPost.context==="term"||this.currentPost.isWooCommercePageWithoutSchema?this.tabs.filter(t=>t.slug!=="schema"&&this.$allowed(this.getTabPermission(t.slug),!0)):this.tabs.filter(t=>this.$allowed(this.getTabPermission(t.slug),!0)?!0:t.slug==="general"&&(this.$allowed("aioseo_page_analysis")||this.$allowed(this.getTabPermission(t.slug),!0)))}}),methods:l(o(o({},v(["toggleLinkAssistantModal","toggleRedirectsModal"])),p(["openModal","updateState","savePostState"])),{processChangeTab(t){switch(this.activeTab=t,this.$root._data.screenContext){case"sidebar":this.$set(this.currentPost.tabs,"tab_sidebar",t);break;default:this.$set(this.currentPost.tabs,"tab",t);break}if(this.sidebarFirstOpen){this.sidebarFirstOpen=!1;return}if(this.$root._data.screenContext==="sidebar")switch(t){case"social":this.currentPost.modalOpen||(this.$store.commit("changeTabSettings",{setting:"tab_modal",value:"social"}),this.openModal(!0));break;case"linkAssistant":this.currentPost.linkAssistant&&!this.currentPost.linkAssistant.modalOpen&&this.toggleLinkAssistantModal();break;case"redirects":this.currentPost.redirects&&!this.currentPost.redirects.modalOpen&&this.toggleRedirectsModal();break}},closeModal(){this.openModal(!1)},getTabPermission(t){const s=this.tabs.find(e=>e.slug===t);return typeof s.permission!="undefined"?s.permission:`aioseo_page_${s.slug}_settings`}}),created(){switch(this.sidebarFirstOpen=!0,this.modal=$()["aioseo-modaltab"]||this.modal,this.modal&&(this.$set(this.currentPost.tabs,"tab_modal",this.modal),this.openModal(!0),setTimeout(()=>{A("aioseo-modaltab")},500)),this.$bus.$on("open-post-settings",t=>{this.processChangeTab(t.tab)}),this.$bus.$on("standalone-update-post",t=>{Object.keys(t).forEach(s=>{this.$set(this.currentPost,s,t[s])})}),this.$root._data.screenContext){case"sidebar":this.activeTab=$()["aioseo-sidebartab"]||this.initTab,this.$set(this.currentPost.tabs,"tab_sidebar",this.activeTab),setTimeout(()=>{A("aioseo-sidebartab")},500);break;default:this.activeTab=$()["aioseo-tab"]||this.initTab,this.$set(this.currentPost.tabs,"tab",this.activeTab),setTimeout(()=>{A("aioseo-tab")},500);break}}},Mt={};var Uo=i(Oo,Do,Eo,!1,Bo,null,null,null);function Bo(t){for(let s in Mt)this[s]=Mt[s]}var Ko=function(){return Uo.exports}(),Fo=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(),t.currentPost.id?e("main-view"):t._e()],1)},Ho=[];const No={components:{CoreApiBar:Re,CoreLicenseKeyBar:Ae,MainView:Ko},computed:o(o({},g(["isUnlicensed"])),c(["currentPost","pong"])),async created(){const{internalOptions:t,options:s,dynamicOptions:e,networkOptions:r,settings:n,notifications:a,addons:u,license:h,currentPost:d,tags:x,linkAssistant:R,redirects:ae}=await he(this.$http);this.$set(this.$store.state,"internalOptions",_(o({},this.$store.state.internalOptions),o({},t))),this.$set(this.$store.state,"options",_(o({},this.$store.state.options),o({},s))),this.$set(this.$store.state,"dynamicOptions",_(o({},this.$store.state.dynamicOptions),o({},e))),this.$set(this.$store.state,"networkOptions",_(o({},this.$store.state.networkOptions),o({},r))),this.$set(this.$store.state,"settings",_(o({},this.$store.state.settings),o({},n))),this.$set(this.$store.state,"notifications",_(o({},this.$store.state.notifications),o({},a))),this.$set(this.$store.state,"addons",_([...this.$store.state.addons],[...u])),this.$set(this.$store.state,"license",_(o({},this.$store.state.license),o({},h))),this.$set(this.$store.state,"currentPost",_(o({},this.$store.state.currentPost),o({},d))),this.$set(this.$store.state,"tags",_(o({},this.$store.state.tags),o({},x))),this.$set(this.$store.state,"linkAssistant",_(o({},this.$store.state.linkAssistant),o({},R))),this.$set(this.$store.state,"redirects",_(o({},this.$store.state.redirects),o({},ae)))}},Dt={};var jo=i(No,Fo,Ho,!1,zo,null,null,null);function zo(t){for(let s in Dt)this[s]=Dt[s]}var Li=function(){return jo.exports}();export{Li as A,ie as S};
|
1 |
+
var le=Object.defineProperty,ce=Object.defineProperties;var ue=Object.getOwnPropertyDescriptors;var j=Object.getOwnPropertySymbols;var de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable;var z=(t,s,e)=>s in t?le(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,o=(t,s)=>{for(var e in s||(s={}))de.call(s,e)&&z(t,e,s[e]);if(j)for(var e of j(s))pe.call(s,e)&&z(t,e,s[e]);return t},l=(t,s)=>ce(t,ue(s));/* empty css */import{d as c,e as g,j as p,f as v,g as he,m as _}from"./index.0f8634bc.js";import{g as $,r as A}from"./params.bea1a08d.js";import{g as Et,h as P,C as Ot,d as q,S as Ut,a as _e}from"./index.02c35f2a.js";import{S as me,T as Bt}from"./ToolsSettings.4a14c135.js";import{J as M}from"./JsonValues.08065e69.js";import{n as i}from"./vueComponentNormalizer.87056a83.js";import{C as m}from"./Index.6d59ffe7.js";import{C as f}from"./SettingsRow.eb71f07b.js";import{B as ge}from"./Checkbox.5873a8d2.js";import{G as ve,a as fe}from"./Row.13b6f3f1.js";import{S as ye,C}from"./Tabs.e6c401d8.js";import{C as y}from"./Modal.9868073f.js";import{u as I,i as be,b as ke}from"./helpers.a4115088.js";import{M as D}from"./MaxCounts.3eed5286.js";import{T as Kt}from"./TruSeoScore.a520926e.js";import{B as E}from"./RadioToggle.98e1e7ec.js";import{C as $e}from"./GoogleSearchPreview.308b89da.js";import{C as O}from"./HtmlTagsEditor.aa4d89fe.js";import{C as w}from"./Tooltip.674a9fb4.js";import{S as U}from"./QuestionMark.83ebd18e.js";import{T as Ce}from"./Slide.f5d21606.js";import{S as B}from"./Pencil.d547ebca.js";import{S as K}from"./Trash.214b5744.js";import{S}from"./Plus.a9b9ba75.js";import{S as Ft}from"./Close.5e7bcb70.js";import{p as V}from"./popup.25df8419.js";import{C as Ht}from"./Blur.8490ecd2.js";import{C as F}from"./Index.92c3733f.js";import{C as Nt,a as jt,B as we,R as xe}from"./Redirects.f7db0efc.js";import{S as H,a as zt,b as qt,c as Vt}from"./InternalOutbound.0e3ee7df.js";import{B as Gt,I as Wt,a as Yt,U as Zt}from"./Img.6b4e05d5.js";import{C as Pe}from"./FacebookPreview.b8f332ab.js";import{C as Se}from"./TwitterPreview.8a5ce87b.js";import{S as Jt,a as Te}from"./Build.1297b1bd.js";import{S as Le}from"./Information.f4b75b56.js";import{C as Re,a as Ae}from"./LicenseKeyBar.0d9de81d.js";const b={methods:{setIsDirty(){this.$store.commit("isDirty",!0)},clearIsDirty(){this.$store.commit("isDirty",!1)}}};var Ie=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(r){t.$set(t.currentPost,"default",r)},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"},[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(r){t.$set(t.currentPost,"noindex",r)},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(r){t.$set(t.currentPost,"nofollow",r)},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(r){t.$set(t.currentPost,"noarchive",r)},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(r){t.$set(t.currentPost,"notranslate",r)},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(r){t.$set(t.currentPost,"noimageindex",r)},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(r){t.$set(t.currentPost,"nosnippet",r)},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(r){t.$set(t.currentPost,"noodp",r)},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(r){t.$set(t.currentPost,"maxSnippet",r)},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(r){t.$set(t.currentPost,"maxVideoPreview",r)},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(r){return t.saveImagePreview(r.value)}}})],1)])],1)],1)},Me=[];const De={components:{BaseCheckbox:ge,GridColumn:ve,GridRow:fe},mixins:[b],data(){return{strings:{useDefaultSettings:"Use Default Settings",robotsMeta:"Robots meta:",maxSnippet:"Max Snippet",maxVideoPreview:"Max Video Preview",maxImagePreview:"Max Image Preview",standard:"Standard",none:"None",large:"Large",noindex:"No Index",nofollow:"No Follow",noarchive:"No Archive",notranslate:"No Translate",noimageindex:"No Image Index",nosnippet:"No Snippet",noodp:"No ODP"}}},computed:l(o({},c(["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)}}},G={};var Ee=i(De,Ie,Me,!1,Oe,null,null,null);function Oe(t){for(let s in G)this[s]=G[s]}var Ue=function(){return Ee.exports}(),Be=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(r){t.$set(t.currentPost,"canonicalUrl",r)},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(r){return t.isUnlicensed?null:t.savePriority(r.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(r){return t.isUnlicensed?null:t.saveFrequency(r.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(r){return t.currentPost.keywords=t.setJsonValue(r)}}})]},proxy:!0}],null,!1,2312666634)}):t._e()],1)},Ke=[];const Fe={components:{CoreAlert:m,CoreSettingsRow:f,CoreSingleRobotsMeta:Ue},mixins:[b,M],props:{disabled:{type:Boolean,default(){return!1}},type:{type:String,required:!1},object:{type:Object,required:!1}},data(){return{strings:{pageName:"Advanced",robotsSetting:"Robots Setting",robotsToggle:"Use Default Settings",canonicalURL:"Canonical URL",placeholder:"Enter a URL to change the default Canonical URL",priorityScore:"Priority Score",priority:"Priority",frequency:"Frequency",priorityFrequencyUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("post-advanced",this.$constants.GLOBAL_STRINGS.learnMore,"priority-frequency",!0)),keywords:"Keywords",tagPlaceholder:"Press enter to create a keyword"}}},computed:l(o(o({},g(["isUnlicensed"])),c(["currentPost","options"])),{getPriorityOptions(){return[{label:"default",value:"default"}].concat(this.$constants.PRIORITY_OPTIONS)},getFrequencyOptions(){return[{label:"default",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)}}},W={};var He=i(Fe,Be,Ke,!1,Ne,null,null,null);function Ne(t){for(let s in W)this[s]=W[s]}var je=function(){return He.exports}(),ze=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(r){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)},qe=[];const Ve={components:{CoreTooltip:w,SvgCaret:Et,SvgCircleCheck:P,SvgCircleQuestionMark:U,SvgEllipse:ye,TransitionSlide:Ce},mixins:[Kt],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:o({},g(["settings"])),methods:o({},p(["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})})}},Y={};var Ge=i(Ve,ze,qe,!1,We,null,null,null);function We(t){for(let s in Y)this[s]=Y[s]}var Ye=function(){return Ge.exports}(),Ze=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"}})])},Je=[];const Xe={},Z={};var Qe=i(Xe,Ze,Je,!1,ts,null,null,null);function ts(t){for(let s in Z)this[s]=Z[s]}var Xt=function(){return Qe.exports}(),es=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"}})])},ss=[];const rs={},J={};var ns=i(rs,es,ss,!1,os,null,null,null);function os(t){for(let s in J)this[s]=J[s]}var Qt=function(){return ns.exports}(),is=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(r){return t.toggleKeyphrasesPanel(t.index)}}},[t._v(" "+t._s(t.keyphrase)+" ")]),e("span",{staticClass:"keyphrase-edit",on:{click:function(r){return t.editKeyphraseEv(t.index)}}},[e("svg-pencil")],1),e("span",{staticClass:"keyphrase-score",class:t.scoreClass,on:{click:function(r){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(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.key,"Enter")?null:t.pressEnter.apply(null,arguments)}}}),e("span",{staticClass:"keyphrase-delete",on:{click:function(r){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()])},as=[];const ls={components:{SvgPencil:B,SvgTrash:K},props:{index:{type:Number},keyphrase:{type:String},score:{type:Number}},data(){return{edit:!1,strings:{delete:"Delete"}}},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}}},X={};var cs=i(ls,is,as,!1,us,null,null,null);function us(t){for(let s in X)this[s]=X[s]}var te=function(){return cs.exports}(),ds=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ul",{staticClass:"aioseo-analysis-detail"},t._l(t.analysisItems,function(r,n){return e("li",{key:n},[r.title?e("p",{staticClass:"title",class:r.error===0?"toggled":""},[r.error===0?e("svg-circle-check",{attrs:{width:"12"}}):t._e(),r.error===1?e("svg-circle-close",{attrs:{width:"12"}}):t._e(),t._v(" "+t._s(r.title)+" "),e("svg-caret",{attrs:{width:"16"},on:{click:t.toggleDescriptionEv}})],1):t._e(),e("p",{staticClass:"description"},[t._v(t._s(r.description))])])}),0)},ps=[];const hs={components:{SvgCaret:Et,SvgCircleCheck:P,SvgCircleClose:Ft},props:{analysisItems:{type:Object}},data(){return{strings:{delete:"Delete"}}},methods:{toggleDescriptionEv(t){t.target.parentElement.classList.toggle("toggled")}}},Q={};var _s=i(hs,ds,ps,!1,ms,null,null,null);function ms(t){for(let s in Q)this[s]=Q[s]}var T=function(){return _s.exports}(),gs=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(r,n){return e("core-keyphrase",{key:n,staticClass:"aioseo-keyphrase-tag additional-keyphrase",class:t.selectedKeyphrase===n?"selected":null,attrs:{index:n,keyphrase:r.keyphrase,score:r.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].keyphrase?e("core-loader",{staticClass:"analysis-loading",attrs:{dark:""}}):t._e(),!t.currentPost.loading.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(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.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)},vs=[];const fs={components:{CoreAlert:m,CoreKeyphrase:te,CoreLoader:Ot,SvgCirclePlus:S,metaboxAnalysisDetail:T},mixins:[b],data(){return{selectedKeyphrase:0,strings:{additional:"Additional Keyphrases",addKeyphrase:"Add Additional Keyphrases",keyphraseDocumentation:"Improve your SEO rankings with additional keyphrases.",upSell:this.$t.sprintf("Multiple Keyphrases is a %1$s feature. %2$s","Pro",this.$links.getUpsellLink("seo-settings","Click here to get AIOSEO Pro","additional-keyphrases",!0))}}},watch:{"currentPost.keyphrases.additional"(){this.currentPost.keyphrases.additional[this.selectedKeyphrase]||(this.selectedKeyphrase=0)}},computed:o({},c(["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,setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.additional[s]=!1,this.selectedKeyphrase=s,this.setIsDirty()},2e3)},onDeleted(t){this.currentPost.keyphrases.additional.splice(t,1),this.selectedKeyphrase=0,this.setIsDirty()},addKeyphraseEv(){const s=document.getElementsByClassName(`add-keyphrase-${this.$root._data.screenContext}-input`)[0].querySelector(".medium");if(s.value){const e={keyphrase:s.value,score:0},r=this.currentPost.keyphrases.additional.push(e),n=document.getElementsByClassName("keyphrase-name");this.currentPost.loading.additional[0]=!0,s.value="",s.blur(),setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),n[r].click(),this.setIsDirty()},2e3)}},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})}}},tt={};var ys=i(fs,gs,vs,!1,bs,"56bb2387",null,null);function bs(t){for(let s in tt)this[s]=tt[s]}var ks=function(){return ys.exports}(),$s=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}})])},Cs=[];const ws={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(n=>n.x)),s=Math.max(...this.data.map(n=>n.y)),e=this.height-this.strokeWidth,r=this.data.map(n=>{const a=n.x===0?0:n.x/t,u=n.y===0?0:n.y/s,h=a*this.width,d=e-u*e+this.strokeWidth;return`${h},${d}`}).join(" ");return`0,${e+this.strokeWidth} `+r+` ${this.width},${e+this.strokeWidth}`}}},et={};var xs=i(ws,$s,Cs,!1,Ps,null,null,null);function Ps(t){for(let s in et)this[s]=et[s]}var Ss=function(){return xs.exports}(),Ts=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(r){return!r.type.indexOf("key")&&t._k(r.keyCode,"enter",13,r.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",{attrs:{isolate:"",classes:["aioseo-focus-keyphrase-panel-modal"]},on:{close:function(r){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(r){t.semrushCountry=r},expression:"semrushCountry"}})],1),e("div",{staticClass:"results"},[e("table",{staticClass:"additional-keyphrases-table",attrs:{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(r,n){return e("tr",{key:n,staticClass:"keyphrase-row",class:{even:n%2===0}},[e("td",{staticClass:"keyphrase"},[t._v(" "+t._s(r[0])+" ")]),e("td",{staticClass:"keyphrase-volume"},[t._v(" "+t._s(r[1])+" ")]),e("td",{staticClass:"keyphrase-trend"},[e("svg-area-chart",{attrs:{width:66,height:24,data:t.transformTrendDataToChartPoints(r[2]),strokeWidth:1.8,strokeColor:"#498afc",fillColor:"#ade3fc"}})],1),t.isUnlicensed?t._e():e("td",{staticClass:"keyphrase-actions"},[r[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(),r[0]!==t.currentPost.keyphrases.focus.keyphrase.toLowerCase()?e("div",[n!==t.removingAdditionalKeyphrase&&(n===t.addingAdditionalKeyphrase||!t.hasAdditionalKeyphrase(r[0]))?e("base-button",{attrs:{type:"gray",size:"small",loading:n===t.addingAdditionalKeyphrase},on:{click:function(a){return t.addAdditionalKeyphrase(r[0],n)}}},[t._v(" "+t._s(t.strings.addAdditionalKeyphrase)+" ")]):t._e(),t.getAdditionalKeyphrase(r[0])&&n!==t.addingAdditionalKeyphrase&&(n===t.removingAdditionalKeyphrase||t.hasAdditionalKeyphrase(r[0]))?e("div",{staticClass:"remove-keyphrase"},[e("span",{staticClass:"keyphrase-score",class:t.scoreClass(t.getAdditionalKeyphrase(r[0]).score),on:{click:function(a){return t.goToAdditionalKeyphrase(r[0])}}},[t._v(t._s(t.getAdditionalKeyphrase(r[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(a){return t.removeAdditionalKeyphrase(r[0],n)}}})],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)},Ls=[];const Rs={components:{CoreAlert:m,CoreKeyphrase:te,CoreLoader:Ot,CoreModal:y,CoreTooltip:w,SvgAreaChart:Ss,SvgCircleCheck:P,SvgCirclePlus:S,SvgTrash:K,metaboxAnalysisDetail:T},mixins:[b],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("Additional Keyphrases by %1$s","Semrush"),addKeyphrase:"Add Focus Keyphrase",getAdditionalKeyphrases:"Get Additional Keyphrases",showResultsFor:"Show Results For:",keyphrase:"Keyphrase",volume:"Volume",trend:"Trend",addAdditionalKeyphrase:"Add Keyphrase",removeAdditionalKeyphrase:"Remove Keyphrase",noResults:"No results",upsell:this.$t.sprintf("Analyzing your content with %1$s keywords is only available to licensed %2$s users. %3$s","Semrush","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("semrush-keywords",this.$constants.GLOBAL_STRINGS.learnMore,null,!0)),semrushGetAdditionalKeyphrases:this.$t.sprintf("%1$s integrates directly with %2$s to provide you with actionable keyphrases to help you write better content.","AIOSEO","Semrush"),pleaseAddFocusKeyphrase:"To use this feature, first add a focus keyphrase.",focusKeyphrase:"Focus Keyphrase",delete:"Delete",semrushTooltip:this.$t.sprintf("Get Additional Keyphrases with %1$s!","Semrush"),semrushTooltipLicenseKey:this.$t.sprintf("%1$sA valid license key is required%2$s in order to connect with %3$s.",'<a href="'+this.$aioseo.urls.aio.settings+'">',"</a>","Semrush"),youHaveExceededSemrush:this.$t.sprintf("You have exceeded the number of requests allowed by your %1$s plan.","Semrush"),inOrderToUpgradeSemrush:this.$t.sprintf("In order to continue searching for additional keyphrases, you'll need to upgrade. %1$s",this.$links.getUpsellLink("semrush-pricing",this.$constants.GLOBAL_STRINGS.learnMore,"semrushPricing",!0))}}},watch:{semrushCountry:{deep:!0,handler(){this.getKeyphrases()}}},computed:l(o(o(o(o({},g("integrations",["semrushExpired","semrushHasValidTokens"])),g(["isUnlicensed","isConnected"])),c(["currentPost","internalOptions"])),c("integrations",["semrush"])),{semrushError(){return this.semrush.error.includes("TOTAL LIMIT EXCEEDED")?"You have exceeded the limit for requests. Please try again later.":"An error occurred while fetching keyphrases. Please try again later."},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:l(o(o({},p("integrations",["semrushAuthenticate","semrushRefresh","semrushGetKeyphrases"])),p(["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,r)=>({x:r,y:parseFloat(e)}))},openConnectPopup(t){V(t,this.connectWithAioseo,600,630,!0,["token"],this.completedConnectCallback,this.closedConnectCallback)},openPopup(t){V(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:r,source:n,origin:a}=t;if(!(a!=="https://oauth.semrush.com"||s!==n)){if(r.type==="semrush:oauth:success"){window.removeEventListener("message",e,!1);let u={};try{const h=new URL(r.url);u=$(h.search)}catch{}this.completedCallback(u).then(()=>{s.close(),s=null,this.closedCallback(!0)})}r.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,setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.focus=!1,this.setIsDirty()},2e3)},onDeleted(){this.currentPost.keyphrases.focus.keyphrase=null,this.currentPost.loading.focus=!0,setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.focus=!1,this.setIsDirty()},2e3)},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(),setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),this.currentPost.loading.focus=!1,this.setIsDirty()},2e3)}},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"},addAdditionalKeyphrase(t,s){this.addingAdditionalKeyphrase=s;const{additional:e}=this.currentPost.keyphrases,r=e.push({keyphrase:t,score:0}),n=document.getElementsByClassName("keyphrase-name");this.$set(this.currentPost.keyphrases,"additional",e),this.$nextTick(()=>{setTimeout(()=>{this.$truSEO.runAnalysis({postId:this.currentPost.id,postData:this.currentPost}),n[r]&&n[r].click(),this.setIsDirty(),this.addingAdditionalKeyphrase=!1},2e3)})},goToAdditionalKeyphrase(t){const{additional:s}=this.currentPost.keyphrases,e=s.findIndex(r=>r.keyphrase.toLowerCase()===t);if(e!==-1){const r=document.getElementsByClassName("keyphrase-name");r[e+1]&&r[e+1].click(),this.semrushShowModal=!1}},removeAdditionalKeyphrase(t,s){this.removingAdditionalKeyphrase=s;const{additional:e}=this.currentPost.keyphrases,r=e.findIndex(n=>n.keyphrase.toLowerCase()===t);if(r!==-1){e.splice(r,1),this.$set(this.currentPost.keyphrases,"additional",e);const n=document.getElementsByClassName("keyphrase-name");n[0]&&n[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())}},st={};var As=i(Rs,Ts,Ls,!1,Is,null,null,null);function Is(t){for(let s in st)this[s]=st[s]}var Ms=function(){return As.exports}(),Ds=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(r){return t.processChangeTab(r)}}}),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)},Es=[];const Os={components:{CoreMainTabs:C,metaboxAnalysisDetail:T},data(){return{initTab:"basic",tabs:[{slug:"basic",name:"Basic SEO"},{slug:"title",name:"Title"},{slug:"readability",name:"Readability"}]}},computed:o({},c(["currentPost"])),methods:{processChangeTab(t){this.initTab=t}},mounted(){this.tabs.map(t=>(t.errorCount=this.currentPost.page_analysis.analysis[t.slug].errors,t))}},rt={};var Us=i(Os,Ds,Es,!1,Bs,null,null,null);function Bs(t){for(let s in rt)this[s]=rt[s]}var Ks=function(){return Us.exports}(),Fs=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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"title",r)},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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"description",r)},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)+" ")])],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[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,557225409)},[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)},Hs=[];const Ns={mixins:[D,me,Kt,b],components:{BaseRadioToggle:E,CoreAlert:m,CoreGoogleSearchPreview:$e,CoreHtmlTagsEditor:O,CoreSettingsRow:f,CoreSidebarCard:Ye,CoreTooltip:w,SvgCircleQuestionMark:U,SvgDesktop:Xt,SvgMobile:Qt,SvgPencil:B,additionalKeyphrases:ks,focusKeyphrase:Ms,metaboxAnalysisDetail:T,pageAnalysis:Ks},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:"General",snippetPreview:"Snippet Preview",snippetPreviewContent:"Snippet Preview content here.",editSnippet:"Edit Snippet",clickToAddTitle:"Click on the tags below to insert variables into your title.",metaDescription:"Meta Description",clickToAddDescription:"Click on the tags below to insert variables into your meta description.",pillarContent:"Pillar Content",pillarContentCopy:"Cornerstone content should be the most important and extensive articles on your site.",focusKeyphrase:"Focus Keyphrase",additionalKeyphrases:"Additional Keyphrases",pageAnalysis:"Page Analysis",basicSeo:"Basic SEO",title:"Title",readability:"Readability",lookingForMetaKeywords:"Looking for meta keywords? Click on the advanced tab above to add/edit meta keywords.",keyphraseDocumentation:this.$t.sprintf("Not sure what keyphrases are used for? Check out our documentation for more information. %1$s",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"useKeyphrasesTooltip",!0))}}},watch:{"currentPost.title"(){q(()=>this.runAnalysis({postId:this.currentPost.id}),2e3)},"currentPost.description"(){q(()=>this.runAnalysis({postId:this.currentPost.id}),2e3)}},computed:l(o(o({},c(["currentPost","options"])),c("live-tags",["liveTags"])),{title(){return this.$t.sprintf("%1$s Title",this.currentPost.type)},toggled:function(){return this.currentPost.pillar_content===1},displayTruSeoMetaboxCard(){return I()&&this.$root._data.screenContext==="metabox"&&this.currentPost.context==="post"&&this.currentPost.postType!=="attachment"&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.isWooCommerceProduct&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarKeyphraseCard(){return I()&&this.$root._data.screenContext==="sidebar"&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},displayTruSeoSidebarAnalysisCard(){return I()&&this.$root._data.screenContext==="sidebar"&&this.currentPost.page_analysis&&this.parentComponentContext!=="modal"&&this.$allowed("aioseo_page_analysis")&&!this.currentPost.isSpecialPage&&!this.isForum},isWooCommerceProduct(){return!!(window.aioseo.data.isWooCommerceActive&&this.currentPost.postType==="product")},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:l(o({},p(["changeGeneralPreview","openModal","savePostState"])),{hideKeywordsLooking(){this.options.searchAppearance.advanced.keywordsLooking=!1,this.saveChanges()},isMobilePreviewEv(t){this.changeGeneralPreview(t)},editSnippetEv(){this.editSnippet=!this.editSnippet,this.$set(this.currentPost.tabs,"tab_modal","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)}},nt={};var js=i(Ns,Fs,Hs,!1,zs,null,null,null);function zs(t){for(let s in nt)this[s]=nt[s]}var ee=function(){return js.exports}(),qs=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"}})])},Vs=[];const Gs={},ot={};var Ws=i(Gs,qs,Vs,!1,Ys,null,null,null);function Ys(t){for(let s in ot)this[s]=ot[s]}var se=function(){return Ws.exports}(),Zs=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)},Js=[];const Xs={components:{CoreSettingsRow:f,SvgRightArrowShort:se},data(){return{strings:{title:"Link Assistant",description:"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.",button:"Open Link Assistant"}}},methods:o({},v(["toggleLinkAssistantModal"]))},it={};var Qs=i(Xs,Zs,Js,!1,tr,null,null,null);function tr(t){for(let s in it)this[s]=it[s]}var re=function(){return Qs.exports}();const k=t=>t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");var er={methods:{findTargetBlock(t,s){const e=k(s);let r=null;return t.forEach(n=>{if(r||!n.attributes)return;if(n.attributes.content&&n.attributes.content.search(e)!==-1){r=n.clientId;return}if(!n.innerBlocks)return;const a=this.findTargetBlock(n.innerBlocks,s);a&&(r=a)}),r}}},sr={mixins:[er],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{tableKey:0,pageNumber:1,action:"",wpTableLoading:!1,showModal:!1,selectedRows:[],bulkOptions:[{label:"Delete",value:"delete"}],strings:{frontPage:"Front Page",viewPost:"View Post",editPost:"Edit Post",deleteLink:"Delete Link"},modalStrings:{areYouSureSingle:"Are you sure you want to delete this link?",areYouSureMultiple:"Are you sure you want to delete these links?",areYouSureAll:"Are you sure you want to delete all links?",actionCannotBeUndone:"This action cannot be undone.",yesSingle:"Yes, I want to delete this link",yesMultiple:"Yes, I want to delete these links",yesAll:"Yes, I want to delete all links",noChangedMind:"No, I changed my mind"}}},computed:l(o({},c(["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:l(o({},p("linkAssistant",["linkDelete","linksBulk","postReportPaginate","postSettingsUpdate"])),{openPostReport(t){window.location.href=`#/post-report?postId=${this.postId}&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=="undefined")){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")})}},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")})}},processPagination(t){this.tableKey++,this.pageNumber=t,!this.metabox&&(this.$bus.$emit("updatingLinks",!0),this.postReportPaginate({page:t,postId:this.post.ID,postIndex:this.postIndex,type:this.linkType}).finally(()=>{this.$bus.$emit("updatingLinks",!1)}))},editorRemoveLink(t){be()&&(this.$bus.$emit("updatingLinks",!1),this.blockEditorRemoveLink(t),this.$bus.$emit("updatingLinks",!1)),ke()&&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=k(s.anchor.trim()),r=s.phrase_html.trim(),n=k(r),a=window.wp.data.select("core/block-editor").getBlocks(),u=this.findTargetBlock(a,r);if(!u){this.$bus.$emit("updatingLinks",!1);return}const h=window.wp.data.select("core/block-editor").getBlock(u);if(!h){this.$bus.$emit("updatingLinks",!1);return}let d=new RegExp(`(<t?a[^<>]*>)(.*)?(${e})(.*)?(</t?a[^<>]*>)`,"i");const x=r.replace(d,"$2$3$4");d=new RegExp(`${n}`,"i"),window.wp.data.dispatch("core/block-editor").updateBlockAttributes(u,{content:h.attributes.content.replace(d,x)}).then(()=>{this.$delete(this.post.links[this.linkType].rows,t)}).catch(R=>{console.error(`Couldn delete link with type "${this.linkType}" and index ${t}:`,R)}).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="",r=null,n=null;if(document.querySelector("#wp-content-wrap.tmce-active")?(r=window.tinyMCE.get("content"),e=r.getContent({format:"raw"})):(n=document.querySelector("textarea#content"),e=n?n.value:""),!e){this.$bus.$emit("updatingLinks",!1);return}let a=s.phrase_html.trim();r||(a=a.replace(/(\sdata-mce-href=".*")/gi,""));const u=k(s.anchor.trim());let h=new RegExp(`(<t?a[^<>]*>)(.*)?(${u})(.*)?(</t?a[^<>]*>)`,"i");const d=a.replace(h,"$2$3$4"),x=k(a);h=new RegExp(`${x}`,"i"),e=e.replace(h,d),r?r.setContent(e):n.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((r,n)=>{s.includes(r.id)&&e.push(n)}),t==="all"&&(e=this.post.links[this.linkType].rows.map((r,n)=>n)),e.sort(function(r,n){return n-r})}})},rr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return t.showModal?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(r){return r.stopPropagation(),t.$emit("closeModal",!0)}}},[e("svg-close",{on:{click:function(r){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(r){return t.$emit("doBulkAction",r)}}},[t._v(" "+t._s(t.confirmation)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(r){return t.$emit("closeModal",!0)}}},[t._v(" "+t._s(t.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,3343467816)}):t._e()},nr=[];const or={components:{CoreModal:y,SvgClose:Ut},props:{showModal:{type:Boolean,required:!0},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}}},at={};var ir=i(or,rr,nr,!1,ar,null,null,null);function ar(t){for(let s in at)this[s]=at[s]}var lr=function(){return ir.exports}(),cr=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-link-assistant-phrase",on:{mouseover:function(r){return t.$emit("mouseOver")},mouseleave:function(r){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)},ur=[];const dr={components:{CoreTooltip:w},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=k(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()}}},lt={};var pr=i(dr,cr,ur,!1,hr,null,null,null);function hr(t){for(let s in lt)this[s]=lt[s]}var _r=function(){return pr.exports}(),mr=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"}})])},gr=[];const vr={},ct={};var fr=i(vr,mr,gr,!1,yr,null,null,null);function yr(t){for(let s in ct)this[s]=ct[s]}var L=function(){return fr.exports}(),br=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[e("core-wp-table",{class:{"link-assistant-inner-table":!t.postReport},attrs:{columns:t.columns,rows:t.rows,totals:t.post.links.inboundInternal.totals,"bulk-options":t.bulkOptions,showSearch:!1,showPagination:!t.linksReport,showTableFooter:t.postReport,loading:t.wpTableLoading},on:{"process-bulk-action":t.maybeDoBulkAction,paginate:t.processPagination},scopedSlots:t._u([{key:"post_title",fn:function(r){var n=r.row;return[e("span",[t._v(" "+t._s(n.context.postTitle)+" "),n.context.permalink.replace(/\/$/,"")===t.$aioseo.urls.home?e("span",[t._v("("+t._s(t.strings.frontPage)+")")]):t._e()]),n.context?e("div",{staticClass:"row-actions"},[e("span",{staticClass:"view"},[e("a",{attrs:{href:n.context.permalink,target:"_blank"}},[t._v(t._s(t.strings.viewPost))]),t._v(" | ")]),e("span",{staticClass:"edit"},[e("a",{attrs:{href:n.context.editLink,target:"_blank"}},[t._v(t._s(t.strings.editPost))])])]):t._e()]}},{key:"phrase",fn:function(r){var n=r.row;return[e("link-assistant-phrase",{attrs:{phrase:n.phrase,phraseHtml:n.phrase_html,anchor:n.anchor,url:n.url,clickableAnchor:!0}})]}},{key:"delete",fn:function(r){var n=r.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(a){return t.maybeDoBulkAction({action:"delete",selectedRows:n})}}})],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(r){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(r){return r.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(r){return r.preventDefault(),t.maybeDoBulkAction({action:"delete",selectedRows:"all"})}}},[t._v(" "+t._s(t.strings.deleteAllLinks)+" ")]):t._e()])]),e("link-assistant-confirmation-modal",{attrs:{showModal:t.showModal,selectedRows:t.selectedRows,strings:t.modalStrings},on:{doBulkAction:t.doBulkAction,closeModal:function(r){t.showModal=!1}}})],1)},kr=[];const $r={components:{CoreTooltip:w,CoreWpTable:Nt,LinkAssistantConfirmationModal:lr,LinkAssistantPhrase:_r,SvgLinkExternal:H,SvgLinkSuggestion:L,SvgTrash:K},mixins:[sr],data(){return{linkType:"inboundInternal",strings:{deleteAllLinks:this.$t.sprintf("Delete All %1$s Links","Inbound Internal"),outboundSuggestions:this.$t.sprintf("%1$s Link Suggestions","Inbound")}}},computed:{columns(){return[{slug:"post_title",label:"Post Title"},{slug:"phrase",label:"Phrase"},{slug:"delete",width:"50px"}]},seeAllLinks(){return this.$t.sprintf("See All %1$s %2$s Links",this.post.links.inboundInternal.totals.total,"Inbound Internal")}}},ut={};var Cr=i($r,br,kr,!1,wr,null,null,null);function wr(t){for(let s in ut)this[s]=ut[s]}var ne=function(){return Cr.exports}(),xr=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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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[t.$isPro&&t.$addons.requiresUpgrade("aioseo-link-assistant")&&t.$addons.currentPlans("aioseo-link-assistant")?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.thisFeatureRequires)+" "),e("strong",[t._v(t._s(t.$addons.currentPlans("aioseo-link-assistant")))])]):t._e(),t._v(" "+t._s(t.strings.linkAssistantDescription)+" ")]},proxy:!0}],null,!1,719893283)})],1):t._e(),t.currentPost.linkAssistant.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-link-assistant-modal",attrs:{isolate:""},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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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[t.$isPro&&t.$addons.requiresUpgrade("aioseo-link-assistant")&&t.$addons.currentPlans("aioseo-link-assistant")?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.thisFeatureRequires)+" "),e("strong",[t._v(t._s(t.$addons.currentPlans("aioseo-link-assistant")))])]):t._e(),t._v(" "+t._s(t.strings.linkAssistantDescription)+" ")]},proxy:!0}],null,!1,719893283)})],1)]):t._e(),this.parentComponentContext!=="modal"?e("links-side-bar"):t._e()],1)},Pr=[];const Sr={components:{CoreAlert:m,CoreBlur:Ht,CoreMainTabs:C,CoreModal:y,Cta:F,LinkAssistantInboundInternal:ne,LinksSideBar:re,SvgLinkAffiliate:zt,SvgLinkExternal:H,SvgLinkInternalInbound:qt,SvgLinkInternalOutbound:Vt,SvgLinkSuggestion:L},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("Upgrade to %1$s and Unlock Link Assistant","Pro"),ctaHeader:this.$t.sprintf("Link Assistant is only available for licensed %1$s %2$s users.","AIOSEO","Pro"),linkAssistantDescription:"Get relevant suggestions for adding internal links to all your content as well as finding any orphaned posts that have no internal links.",thisFeatureRequires:"This feature requires one of the following plans:",linkOpportunities:"Actionable Link Suggestions",orphanedPosts:"See Orphaned Posts",affiliateLinks:"See Affiliate Links",domainReports:"Top Domain Reports"}}},computed:l(o({},c(["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,"Inbound Internal")},{slug:"outbound-internal",icon:"svg-link-internal-outbound",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.outboundInternal.totals.total,"Outbound Internal")},{slug:"affiliate",icon:"svg-link-affiliate",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.affiliate.totals.total,"Affiliate")},{slug:"external",icon:"svg-link-external",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.external.totals.total,"External")},{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,"Link Suggestions")}]},modalHeader(){return this.$t.sprintf('Links & Suggestions for "%1$s"',window.wp.data.select("core/editor").getEditedPostAttribute("title"))}}),methods:o({},v(["toggleLinkAssistantModal"]))},dt={};var Tr=i(Sr,xr,Pr,!1,Lr,null,null,null);function Lr(t){for(let s in dt)this[s]=dt[s]}var pt=function(){return Tr.exports}(),Rr=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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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.$aioseo.urls.aio.featureManager+"&aioseo-activate=aioseo-link-assistant","cta-button-action":"","cta-button-loading":t.activationLoading,"same-tab":"","button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getDocUrl("link-assistant"),"feature-list":[t.strings.linkOpportunities,t.strings.domainReports,t.strings.orphanedPosts,t.strings.affiliateLinks]},on:{"cta-button-click":t.activateAddon},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t.failed?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.activateError)+" ")]):t._e(),t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0},{key:"learn-more-text",fn:function(){return[t._v(" "+t._s(t.strings.learnMoreText)+" ")]},proxy:!0}],null,!1,2680951548)})],1):t._e(),t.currentPost.linkAssistant.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-link-assistant-modal",attrs:{isolate:""},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(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.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.$aioseo.urls.aio.featureManager+"&aioseo-activate=aioseo-link-assistant","cta-button-action":"","cta-button-loading":t.activationLoading,"same-tab":"","button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getDocUrl("link-assistant"),"feature-list":[t.strings.linkOpportunities,t.strings.domainReports,t.strings.orphanedPosts,t.strings.affiliateLinks]},on:{"cta-button-click":t.activateAddon},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t.failed?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.activateError)+" ")]):t._e(),t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0},{key:"learn-more-text",fn:function(){return[t._v(" "+t._s(t.strings.learnMoreText)+" ")]},proxy:!0}],null,!1,2680951548)})],1)]):t._e(),this.parentComponentContext!=="modal"?e("links-side-bar"):t._e()],1)},Ar=[];const Ir={components:{CoreAlert:m,CoreBlur:Ht,CoreMainTabs:C,CoreModal:y,Cta:F,LinkAssistantInboundInternal:ne,LinksSideBar:re,SvgLinkAffiliate:zt,SvgLinkExternal:H,SvgLinkInternalInbound:qt,SvgLinkInternalOutbound:Vt,SvgLinkSuggestion:L},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:"Activate Link Assistant",ctaHeader:"Enable Link Assistant on your Site",ctaDescription:"Get relevant suggestions for adding internal links to all your content as well as finding any orphaned posts that have no internal links.",linkOpportunities:"Actionable Link Suggestions",orphanedPosts:"See Orphaned Posts",affiliateLinks:"See Affiliate Links",domainReports:"Top Domain Reports",activateError:"An error occurred while activating the addon. Please upload it manually or contact support for more information.",permissionWarning:"You currently don't have permission to activate this addon. Please ask a site administrator to activate first."},failed:!1,activationLoading:!1}},computed:l(o({},c(["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,"Inbound Internal")},{slug:"outbound-internal",icon:"svg-link-internal-outbound",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.outboundInternal.totals.total,"Outbound Internal")},{slug:"affiliate",icon:"svg-link-affiliate",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.affiliate.totals.total,"Affiliate")},{slug:"external",icon:"svg-link-external",name:this.$t.sprintf("%1$s %2$s",this.mockedPostData.links.external.totals.total,"External")},{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,"Link Suggestions")}]},modalHeader(){return this.$t.sprintf('Links & Suggestions for "%1$s"',window.wp.data.select("core/editor").getEditedPostAttribute("title"))}}),methods:l(o(o(o({},v(["toggleLinkAssistantModal","updateAddon"])),p("linkAssistant",["getPostData"])),p(["installPlugins"])),{activateAddon(){this.failed=!1,this.activationLoading=!0;const t=this.$addons.getAddon("aioseo-link-assistant");this.installPlugins([{plugin:t.basename}]).then(s=>{if(s.body.failed.length){this.activationLoading=!1,this.failed=!0;return}const e=[this.getPostData()];Promise.all(e).then(()=>{this.activationLoading=!1,t.hasMinimumVersion=!0,t.isActive=!0,this.updateAddon(t)})}).catch(()=>{this.activationLoading=!1})}})},ht={};var Mr=i(Ir,Rr,Ar,!1,Dr,null,null,null);function Dr(t){for(let s in ht)this[s]=ht[s]}var Er=function(){return Mr.exports}(),Or=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.isActive("aioseo-link-assistant")&&t.$addons.canActivate("aioseo-link-assistant")&&!t.$addons.requiresUpgrade("aioseo-link-assistant")?e("LinksActivate",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e(),t.isUnlicensed||t.$addons.requiresUpgrade("aioseo-link-assistant")?e("LinksLite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},Ur=[];const Br={components:{Links:pt,LinksActivate:Er,LinksLite:pt},props:{parentComponentContext:String},computed:o({},g(["isUnlicensed"]))},_t={};var Kr=i(Br,Or,Ur,!1,Fr,null,null,null);function Fr(t){for(let s in _t)this[s]=_t[s]}var Hr=function(){return Kr.exports}(),Nr=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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"og_title",r)},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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"og_description",r)},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(r){return t.saveImageType(r.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(r){t.$set(t.currentPost,"og_image_custom_fields",r)},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(r){t.$set(t.currentPost,"og_image_custom_url",r)},expression:"currentPost.og_image_custom_url"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(r){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(r){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(r){t.$set(t.currentPost,"og_video",r)},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(r){return t.setObjectType(r.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(r){t.$set(t.currentPost,"og_article_section",r)},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(r){return t.currentPost.og_article_tags=t.setJsonValue(r)}}})]},proxy:!0}],null,!1,2497302637)}):t._e()],1)},jr=[];const zr={components:{BaseImg:Gt,CoreAlert:m,CoreFacebookPreview:Pe,CoreHtmlTagsEditor:O,CoreSettingsRow:f,SvgCirclePlus:S},mixins:[Wt,Yt,M,D,Bt,Zt,b],props:{isMobilePreview:{type:Boolean,default(){return!1}}},data(){return{titleCount:0,descriptionCount:0,strings:{tabName:"Facebook Preview",imageSource:"Image Source",customFieldsName:"Custom Field Name",video:"Video URL",width:"Width",height:"Height",facebookObjectType:"Object Type",facebookImage:"Facebook Image",facebookTitle:"Facebook Title",facebookDescription:"Facebook Description",uploadOrSelectImage:"Upload or Select Image",pasteYourImageUrl:"Paste your image URL or select a new image",minimumSize:"Minimum size: 200px x 200px, ideal ratio 1.91:1, 5MB max. (eg: 1640px x 856px or 3280px x 1712px for retina screens)",remove:"Remove",clickToAddSiteName:"Click on the tags below to insert variables into your site name.",clickToAddHomePageDescription:"Click on the tags below to insert variables into your meta description.",articleSection:"Article Section",articleTags:"Article Tags",tagPlaceholder:"Press enter to create an article tag",facebookDisabled:this.$t.sprintf("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","Open Graph",this.$t.sprintf('<a href="%1$s" target="_blank">%2$s<span class="link-right-arrow"> →</span></a>',this.$aioseo.urls.aio.socialNetworks+"#facebook","Go to Social Networks"))}}},computed:l(o(o({},c("live-tags",["liveTags"])),c(["currentPost","options","dynamicOptions"])),{objectTypeOptions(){return[{groupLabel:"Default",options:[{label:"Default Object Type (Set in Social Networks)",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:l(o({},p(["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 r=e.options.find(n=>n.value===t);r&&(s=r)}),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()}},mt={};var qr=i(zr,Nr,jr,!1,Vr,null,null,null);function Vr(t){for(let s in mt)this[s]=mt[s]}var Gr=function(){return qr.exports}(),Wr=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(r){t.$set(t.currentPost,"twitter_use_og",r)},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(r){return t.updateCount(r,"titleCount")},input:t.setIsDirty},model:{value:t.currentPost.twitter_title,callback:function(r){t.$set(t.currentPost,"twitter_title",r)},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(r){return t.updateCount(r,"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(r){t.$set(t.currentPost,"twitter_description",r)},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(r){return t.saveTwitterImageType(r.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(r){t.$set(t.currentPost,"twitter_image_custom_fields",r)},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(r){t.$set(t.currentPost,"twitter_image_custom_url",r)},expression:"currentPost.twitter_image_custom_url"}}),e("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(r){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(r){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"?e("span",[t._v(t._s(t.strings.minimumSizeSummary))]):t._e(),t.currentPost.twitter_card==="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,1819066734)}):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(r){return t.cardSelect(r.value)}}})]},proxy:!0}])})],1)},Yr=[];const Zr={components:{BaseImg:Gt,CoreAlert:m,CoreHtmlTagsEditor:O,CoreSettingsRow:f,CoreTwitterPreview:Se,SvgCirclePlus:S},mixins:[Wt,Yt,D,Bt,Zt,b],props:{isMobilePreview:{type:Boolean,default(){return!1}}},data(){return{titleCount:0,descriptionCount:0,strings:{twitterPreview:"Twitter Preview",useFB:"Use Data from Facebook Tab",imageSource:"Image Source",customFieldsName:"Custom Field Name",twitterImage:"Twitter Image",twitterTitle:"Twitter Title",twitterDescription:"Twitter Description",twitterCardType:"Twitter Card Type",pasteYourImageUrl:"Paste your image URL or select a new image",uploadOrSelectImage:"Upload or Select Image",remove:"Remove",minimumSizeSummary:"Minimum size: 144px x 144px, ideal ratio 1:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",minimumSizeSummaryWithLarge:"Minimum size: 300px x 157px, ideal ratio 2:1, 5MB max. JPG, PNG, WEBP and GIF formats only.",twitterDisabled:this.$t.sprintf("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","Twitter",this.$t.sprintf('<a href="%1$s" target="_blank">%2$s<span class="link-right-arrow"> →</span></a>',this.$aioseo.urls.aio.socialNetworks+"#twitter","Go to Social Networks"))}}},computed:l(o({},c(["currentPost","options"])),{twitterCards(){return[{label:"Default (Set under Social Networks)",value:"default"},{label:"Summary",value:"summary"},{label:"Summary with Large Image",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:l(o({},p(["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()}},gt={};var Jr=i(Zr,Wr,Yr,!1,Xr,null,null,null);function Xr(t){for(let s in gt)this[s]=gt[s]}var Qr=function(){return Jr.exports}(),tn=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()},en=[];const sn={components:{CoreSettingsRow:f,SvgPencil:B},data(){return{strings:{title:"Social Media",sidebarCopy:"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.",editSnippet:"Preview & Edit"}}},methods:l(o({},p(["openModal"])),{openModalEv(){this.$store.commit("changeTabSettings",{setting:"tab_modal",value:"social"}),this.openModal(!0)}})},vt={};var rn=i(sn,tn,en,!1,nn,null,null,null);function nn(t){for(let s in vt)this[s]=vt[s]}var on=function(){return rn.exports}(),an=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(r){return t.processChangeTab(r)}}}),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)},ln=[];const cn={components:{BaseRadioToggle:E,CoreMainTabs:C,CoreSettingsRow:f,Facebook:Gr,Twitter:Qr,SocialSideBar:on,SvgDesktop:Xt,SvgMobile:Qt},props:{parentComponentContext:String},data(){return{strings:{pageName:"Social"},tabs:[{slug:"facebook",name:"Facebook"},{slug:"twitter",name:"Twitter"}]}},computed:l(o({},c(["currentPost","options"])),{initTab:function(){return $()["social-tab"]?$()["social-tab"]:this.parentComponentContext==="modal"?this.currentPost.tabs.tab_modal_social:this.currentPost.tabs.tab_social}}),methods:l(o({},p(["changeSocialPreview"])),{isMobilePreviewEv(t){this.changeSocialPreview(t)},processChangeTab(t){this.parentComponentContext==="modal"?this.$set(this.currentPost.tabs,"tab_modal_social",t):this.$set(this.currentPost.tabs,"tab_social",t)}})},ft={};var un=i(cn,an,ln,!1,dn,null,null,null);function dn(t){for(let s in ft)this[s]=ft[s]}var oe=function(){return un.exports}(),pn=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"}})])},hn=[];const _n={},yt={};var mn=i(_n,pn,hn,!1,gn,null,null,null);function gn(t){for(let s in yt)this[s]=yt[s]}var ie=function(){return mn.exports}(),vn=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.currentPost.tabs.tab_modal,internal:""},on:{changed:function(r){return t.processChangeTab(r)}}})]},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)},fn=[];const yn={components:{CoreMainTabs:C,CoreSettingsRow:f,General:ee,Social:oe,SvgSettings:ie,SvgShare:Jt},data(){return{activeTab:"general",strings:{pageName:"Modal Content"},tabs:[{slug:"general",icon:"svg-settings",name:"General"},{slug:"social",icon:"svg-share",name:"Social"}]}},computed:l(o({},c(["currentPost"])),{getTabs(){return this.tabs.filter(t=>this.$allowed(`aioseo_page_${t.slug}_settings`))}}),methods:l(o({},p(["changeTabSettings"])),{processChangeTab(t){this.activeTab=t,this.changeTabSettings({setting:"tab_modal",value:t})}})},bt={};var bn=i(yn,vn,fn,!1,kn,null,null,null);function kn(t){for(let s in bt)this[s]=bt[s]}var $n=function(){return bn.exports}(),Cn=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)},wn=[];const xn={components:{CoreSettingsRow:f,SvgRightArrowShort:se},data(){return{strings:{title:"Redirects",description:"Here you can add a redirect or view your existing redirects from this page. Click on the button below to view the Redirects panel.",button:"Open Redirects"}}},methods:o({},v(["toggleRedirectsModal"]))},kt={};var Pn=i(xn,Cn,wn,!1,Sn,"11818a4c",null,null);function Sn(t){for(let s in kt)this[s]=kt[s]}var N=function(){return Pn.exports}(),Tn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-redirects-table"},[e("core-wp-table",{key:t.wpTableKey,ref:"table",attrs:{filters:t.filters,totals:t.totals.main,columns:t.columns,rows:t.getRows,initialPageNumber:t.tableFields.main.paginatedPage,initialSearchTerm:t.tableFields.main.searchTerm,loading:t.wpTableLoading,"search-label":t.strings.searchUrls,"bulk-options":t.bulkOptions,"additional-filters":t.additionalFilters,showBulkActions:t.showBulkActions,showTableFooter:t.showTableFooter,showHeader:t.showHeader},on:{"filter-table":t.filterTable,"process-bulk-action":t.processBulkAction,"process-additional-filters":t.processAdditionalFilters,paginate:t.processPagination,search:t.processSearch},scopedSlots:t._u([{key:"source_url",fn:function(r){var n=r.row,a=r.index,u=r.column,h=r.editRow;return[e("strong",[e("a",{staticClass:"edit-link",attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),h(a)}}},[t._v(t._s(u))])]),e("div",{staticClass:"row-actions"},[e("span",{staticClass:"edit"},[e("a",{attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),h(a)}}},[t._v(t._s(t.strings.edit))]),t._v(" | ")]),n.enabled?e("span",{staticClass:"test"},[e("a",{attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),t.showRedirectTest(n)}}},[t._v(t._s(t.strings.checkRedirect))]),t._v(" | ")]):t._e(),e("span",{staticClass:"trash"},[e("a",{staticClass:"submitdelete",attrs:{href:"#"},on:{click:function(d){return d.preventDefault(),t.maybeDeleteRow(a)}}},[t._v(t._s(t.strings.delete))])])])]}},{key:"type",fn:function(r){var n=r.column;return[t._v(" "+t._s(t.getColumnLabel(n))+" ")]}},{key:"enabled",fn:function(r){var n=r.column,a=r.row;return[e("div",{staticStyle:{"text-align":"right"}},[e("base-toggle",{attrs:{value:n},on:{input:function(u){return t.toggleInput(a,n)}}})],1)]}},{key:"edit-row",fn:function(r){var n=r.row,a=r.editRow;return[e("core-add-redirection",{attrs:{edit:"",url:{id:n.id,url:n.source_url,regex:n.regex,ignoreSlash:n.ignore_slash,ignoreCase:n.ignore_case,showOptions:!0,errors:[],warnings:[]},target:n.target_url,type:n.type,query:n.query_param,rules:n.custom_rules,disableSource:t.disableSource},on:{cancel:function(u){return a(null)}}})]}},{key:"actions",fn:function(r){var n=r.row;return[n.custom_rules&&0<n.custom_rules.length?e("span",[e("core-tooltip",{attrs:{type:"action"},scopedSlots:t._u([{key:"tooltip",fn:function(){return[t._v(" "+t._s(t.strings.rules)+" ")]},proxy:!0}],null,!0)},[e("svg-circle-information",{staticClass:"log-info",nativeOn:{click:function(a){return t.showCustomRuleInfo(n)}}})],1)],1):t._e()]}}])}),t.showDeleteModal?e("core-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(r){r.stopPropagation(),t.showDeleteModal=!1}}},[e("svg-close",{on:{click:function(r){t.showDeleteModal=!1}}})],1),e("h3",[t._v(t._s(t.areYouSureDeleteRedirect))]),e("div",{staticClass:"reset-description",domProps:{innerHTML:t._s(t.strings.actionCannotBeUndone)}}),e("base-button",{attrs:{type:"blue",size:"medium",loading:t.deletingRow},on:{click:t.processDeleteRow}},[t._v(" "+t._s(t.yesDeleteRedirect)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(r){t.showDeleteModal=!1}}},[t._v(" "+t._s(t.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,1995483884)}):t._e(),t.customRuleInfo?e("core-modal",{on:{close:function(r){t.customRuleInfo=null}},scopedSlots:t._u([{key:"headerTitle",fn:function(){return[t._v(" "+t._s(t.strings.customRules)+" ")]},proxy:!0},{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body custom-rule-info"},t._l(t.customRuleInfo,function(r,n){return e("div",{key:n},[e("div",{staticClass:"rule"},[e("strong",[t._v(t._s(t.$constants.REDIRECTS_CUSTOM_RULES_LABELS[r.type])+":")]),t._v(" "+t._s(typeof r.value!="object"&&!r.key?t.$constants.REDIRECTS_CUSTOM_RULES_LABELS[r.value]||r.value:"")+" "),t.isObject(r.value)?e("ul",t._l(r.value,function(a,u){return e("li",{key:u},[t._v(t._s(t.$constants.REDIRECTS_CUSTOM_RULES_LABELS[a]||a)+" ")])}),0):t._e(),r.key?e("ul",[e("li",[e("strong",[t._v(t._s(r.key)+":")]),t._v(" "+t._s(r.value))])]):t._e()]),r.regex?e("div",{staticClass:"regex"},[e("base-toggle",{attrs:{value:r.regex,disabled:!0}},[t._v(" "+t._s(t.strings.regex)+" ")])],1):t._e()])}),0)]},proxy:!0}],null,!1,2065651901)}):t._e(),t.redirectTestInfo?e("core-modal",{staticClass:"aioseo-redirects redirect-test",attrs:{isolate:""},on:{close:function(r){t.redirectTestInfo=null}},scopedSlots:t._u([{key:"headerTitle",fn:function(){return[e("div",{staticClass:"title"},[t._v(t._s(t.strings.redirectTest)+":")]),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("div",[t._v(" "+t._s(t.redirectTestInfo.source_url)+" ")])]},proxy:!0}],null,!1,1774762636)},[e("div",{staticClass:"source"},[t._v(t._s(t.redirectTestInfo.source_url))])])]},proxy:!0},{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body"},[e("div",{staticClass:"custom-url"},[t.redirectTestInfo.regex?e("core-alert",{staticClass:"alert-regex",attrs:{type:"blue",size:"medium"}},[e("svg-circle-information"),e("span",{domProps:{innerHTML:t._s(t.strings.regexNeedsUrl)}})],1):t._e(),e("div",{staticClass:"label"},[t._v(" "+t._s(t.strings.customUrl)+" "),e("core-tooltip",{scopedSlots:t._u([{key:"tooltip",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.customUrlDescription(t.redirectTestInfo))}})]},proxy:!0}],null,!1,2322812326)},[e("svg-circle-question-mark")],1)],1),e("div",{staticClass:"custom-url-input"},[e("base-input",{attrs:{size:"medium",value:t.redirectTestUrl,disabled:t.redirectTestLoading},on:{input:function(r){return t.redirectTestUrl=r}}}),e("base-button",{attrs:{type:"green",size:"medium",loading:t.redirectTestLoading},on:{click:function(r){return r.preventDefault(),t.redirectTest(t.redirectTestInfo.id)}}},[t._v(" "+t._s(t.strings.testUrl)+" ")])],1)],1),t.redirectTestResult?e("div",{staticClass:"redirect-results"},[e("div",{staticClass:"result"},[t.redirectTestResult.errors.length===0?e("core-alert",{attrs:{type:"green",size:"medium"}},[e("svg-circle-check"),t._v(" "+t._s(t.strings.redirectResultOk)+" ")],1):t._e(),0<t.redirectTestResult.errors.length?e("core-alert",{attrs:{type:"red",size:"medium"}},[e("svg-circle-close"),t._v(" "+t._s(t.strings.redirectResultError)+" ")],1):t._e()],1),e("div",{staticClass:"summary"},[e("div",{staticClass:"label"},[t._v(t._s(t.strings.summary))]),e("table",{staticClass:"redirects-options-table small"},[e("thead",[e("tr",[e("td"),e("td",[t._v(t._s(t.strings.expected))]),e("td",[t._v(t._s(t.strings.result))])])]),e("tbody",[e("tr",{staticClass:"even"},[e("td",[t._v(t._s(t.strings.responseCode)+":")]),e("td",[t._v(t._s(t.redirectTestInfo.type))]),e("td",[t._v(t._s(t.redirectTestResult.redirect.responseCode))])]),t.redirectTestResult.redirect.location?e("tr",[e("td",[t._v(t._s(t.strings.targetUrl)+":")]),e("td",[t._v(t._s(t.redirectTestResult.redirect.targetUrl))]),e("td",[t._v(t._s(t.redirectTestResult.redirect.location))])]):t._e(),t.redirectTestResult.redirect.xRedirectBy?e("tr",{staticClass:"even"},[e("td",[t._v(t._s(t.strings.xRedirectBy)+":")]),e("td",[t._v("AIOSEO")]),e("td",[t._v(t._s(t.redirectTestResult.redirect.xRedirectBy))])]):t._e()])])]),0<t.redirectTestResult.errors.length?e("div",{staticClass:"errors"},[e("div",{staticClass:"label"},[t._v(t._s(t.strings.errors))]),e("core-alert",{attrs:{type:"red",size:"medium"}},[e("ul",t._l(t.redirectTestResult.errors,function(r,n){return e("li",{key:n},[e("span",{domProps:{innerHTML:t._s(r)}})])}),0)])],1):t._e()]):t._e()])]},proxy:!0}],null,!1,1483869538)}):t._e()],1)},Ln=[];const Rn={components:{CoreAddRedirection:jt,CoreAlert:m,CoreModal:y,CoreTooltip:w,CoreWpTable:Nt,SvgCircleCheck:P,SvgCircleClose:Ft,SvgCircleInformation:Le,SvgCircleQuestionMark:U,SvgClose:Ut},mixins:[M],props:{showBulkActions:{type:Boolean,default(){return!0}},showTableFooter:{type:Boolean,default(){return!0}},showHeader:{type:Boolean,default(){return!0}},disableSource:{type:Boolean,default(){return!1}},excludeColumns:Array},data(){return{queryUrls:[],deletingRow:!1,showDeleteModal:!1,shouldDeleteRow:null,wpTableKey:0,wpTableLoading:!1,strings:{searchUrls:"Search URLs",edit:"Edit",checkRedirect:"Check Redirect",delete:"Delete",areYouSureDeleteRedirect:"Are you sure you want to delete this redirect?",areYouSureDeleteRedirects:"Are you sure you want to delete these redirects?",actionCannotBeUndone:"This action cannot be undone.",yesDeleteRedirect:"Yes, I want to delete this redirect",yesDeleteRedirects:"Yes, I want to delete these redirects",noChangedMind:"No, I changed my mind",rules:"Rules",customRules:"Custom Rules",regex:"Regex",redirectTest:"Check redirect for",summary:"Summary",errors:"Errors",responseCode:"Response Code",sourceUrl:"Source URL",targetUrl:"Target URL",xRedirectBy:"Redirected By",customUrl:"Custom URL",testUrl:"Test Redirect",redirectResultOk:"Woohoo! Your redirect worked perfectly! \u{1F389}",redirectResultError:"Whoops! Your URL failed to redirect properly. \u{1F914}",expected:"Expected",result:"Result",regexNeedsUrl:this.$t.sprintf("You are using %1$sRegex%2$s for this redirect so you will need to manually add a URL to test.","<strong>","</strong>")},bulkOptions:[{label:"Enable",value:"enable"},{label:"Disable",value:"disable"},{label:"Reset Hits",value:"reset-hits"},{label:"Delete",value:"delete"}],customRuleInfo:null,redirectTestInfo:null,redirectTestResult:!1,redirectTestLoading:!1,redirectTestUrl:""}},watch:{rows:{deep:!0,handler(){this.wpTableKey+=1}}},computed:l(o(o({},g("redirects",["rows","getCurrentFilter"])),c("redirects",["filters","totals","tableFields","options","selectedFilters"])),{areYouSureDeleteRedirect(){return Array.isArray(this.shouldDeleteRow)?this.strings.areYouSureDeleteRedirects:this.strings.areYouSureDeleteRedirect},yesDeleteRedirect(){return Array.isArray(this.shouldDeleteRow)?this.strings.yesDeleteRedirects:this.strings.yesDeleteRedirect},columns(){const t=[{slug:"source_url",label:"Source URL"},{slug:"target_url",label:"Target URL"},{slug:"hits",label:"Hits",width:"97px"},{slug:"type",label:"Type",width:"100px"},{slug:"group",label:"Group",width:"150px"},{slug:"enabled",label:this.$constants.GLOBAL_STRINGS.enabled,width:"80px"},{slug:"actions",label:"",width:"40px"}];if(this.options.main.method==="server"){const s=t.findIndex(e=>e.slug==="hits");s!==-1&&this.$delete(t,s)}return this.excludeColumns&&this.excludeColumns.length?t.filter(s=>!this.excludeColumns.find(e=>e===s.slug)):t},additionalFilters(){return[{label:"Filter by Group",name:"group",options:[{label:"All Groups",value:"all"}].concat(this.$constants.REDIRECT_GROUPS)}]},getRows(){return this.rows.map(t=>(t.target_url=t.target_url||"-",t))}}),methods:l(o(o({},p("redirects",["filter","bulk","paginate","search","delete","test"])),v("redirects",["setPaginatedPage"])),{filterTable(t){this.wpTableLoading=!0,this.tableFields.main.searchTerm="",this.filter(t).then(()=>{this.wpTableLoading=!1})},refreshTable(){this.filterTable({slug:"all",page:this.$refs.table.pageNumber})},toggleInput(t,s){this.wpTableLoading=!0,this.bulk({action:s?"disable":"enable",rowIds:[t.id]}).then(()=>{this.wpTableLoading=!1})},processBulkAction({action:t,selectedRows:s}){if(!!s.length){if(t==="delete"){this.shouldDeleteRow=s,this.showDeleteModal=!0;return}this.wpTableLoading=!0,this.bulk({action:t,rowIds:s}).then(()=>{this.wpTableLoading=!1})}},processAdditionalFilters({filters:t}){const s=this.getCurrentFilter||{slug:"all"};this.filterTable({slug:s.slug,additional:t,page:this.$refs.table.pageNumber})},processPagination(t,s){this.setPaginatedPage({group:"main",page:t}),this.wpTableLoading=!0,this[s?"search":"paginate"]({searchTerm:s,page:t,additional:this.selectedFilters}).then(()=>{this.wpTableLoading=!1})},processSearch(t){this.wpTableLoading=!0,this.tableFields.main.searchTerm=t,this.search({searchTerm:t,page:1}).then(()=>{this.wpTableLoading=!1})},getColumnLabel(t){return t===0?"Pass through":t},maybeDeleteRow(t){const s=this.rows.find((e,r)=>r===t);s&&(this.showDeleteModal=!0,this.shouldDeleteRow=s.id)},processDeleteRow(){if(this.deletingRow=!0,Array.isArray(this.shouldDeleteRow))return this.bulk({action:"delete",rowIds:this.shouldDeleteRow}).then(()=>{this.deletingRow=!1,this.showDeleteModal=!1,this.shouldDeleteRow=null,this.refreshTable()});this.delete(this.shouldDeleteRow).then(()=>{this.deletingRow=!1,this.showDeleteModal=!1,this.shouldDeleteRow=null,this.refreshTable()})},showCustomRuleInfo(t){this.customRuleInfo=t.custom_rules.map(s=>{switch(s.type){case"role":s.value=s.value.map(e=>e.charAt(0).toUpperCase()+e.slice(1));break}return s})},isObject(t){return typeof t=="object"},showRedirectTest(t){this.redirectTestResult=!1,this.redirectTestUrl=t.regex?"":t.source_url,t.regex||this.redirectTest(t.id),this.redirectTestInfo=t},redirectTest(t){this.redirectTestLoading=!0,this.test({id:t,payload:{sourceUrl:this.redirectTestUrl}}).then(s=>{this.redirectTestLoading=!1,this.redirectTestResult=s.body}).catch(()=>{this.redirectTestLoading=!1})},customUrlDescription(t){const s=t.source_url.replace(this.$aioseo.urls.mainSiteUrl,"");return this.$t.sprintf("You can test redirects with a URL that includes your domain name ( %1$s ) or just the path ( %2$s )",this.$aioseo.urls.mainSiteUrl+s,s)}}),mounted(){this.$bus.$on("added-redirect",this.refreshTable)},beforeDestroy(){this.$bus.$off("added-redirect",this.refreshTable)}},$t={};var An=i(Rn,Tn,Ln,!1,In,null,null,null);function In(t){for(let s in $t)this[s]=$t[s]}var Mn=function(){return An.exports}(),Dn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",[t.showRedirects?e("div",[t.$root._data.screenContext==="metabox"?e("div",{staticClass:"aioseo-tab-content aioseo-redirects metabox"},[t.hasRedirects?t._e():e("core-add-redirection",{key:t.permalinkPath,attrs:{url:t.getUrl,disableSource:!0},on:{"added-redirect":function(r){return t.reload()}}}),t.hasRedirects?e("div",[e("Table",{attrs:{showHeader:!1,showBulkActions:!1,showTableFooter:!1,disableSource:!0,excludeColumns:["group"]}})],1):t._e()],1):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-redirects modal",attrs:{isolate:""},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"},[t.hasRedirects?t._e():e("core-add-redirection",{key:t.permalinkPath,attrs:{url:t.getUrl,disableSource:!0},on:{"added-redirect":function(r){return t.reload()}}}),t.hasRedirects?e("div",[e("Table",{attrs:{showHeader:!1,showBulkActions:!1,showTableFooter:!1,disableSource:!0,excludeColumns:["group"]}})],1):t._e()],1)])]):t._e(),this.parentComponentContext!=="modal"?e("redirects-side-bar"):t._e()],1):t._e(),t.showRedirects?t._e():e("core-alert",{attrs:{type:"blue"}},[t._v(" "+t._s(t.alertPostStatus)+" ")])],1)},En=[];const On={components:{CoreAddRedirection:jt,CoreAlert:m,CoreModal:y,RedirectsSideBar:N,Table:Mn},props:{parentComponentContext:String},data(){return{strings:{modalHeader:"Redirects"}}},computed:l(o(o({},c(["currentPost"])),g("redirects",["rows","permalinkPath"])),{getUrl(){return{url:this.permalinkPath,showOptions:!0}},hasRedirects(){return this.rows&&this.rows.length},alertPostStatus(){return this.$t.sprintf("The %1$s needs to be published before you can create a redirect here.",this.currentPost.type)},showRedirects(){return this.hasRedirects||this.currentPost.context!=="post"||typeof this.currentPost.postStatus!="undefined"&&this.currentPost.postStatus==="publish"}}),methods:l(o(o({},p("redirects",["getPostRedirects"])),v(["toggleRedirectsModal"])),{reload(){this.getPostRedirects()}})},Ct={};var Un=i(On,Dn,En,!1,Bn,null,null,null);function Bn(t){for(let s in Ct)this[s]=Ct[s]}var Kn=function(){return Un.exports}(),Fn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-redirects"},[e("blur",{attrs:{noCoreCard:t.noCoreCard}}),e("cta",{attrs:{"cta-button-visible":t.$addons.userCanInstallOrActivate("aioseo-redirects"),"cta-button-visible-warning":t.strings.permissionWarning,"cta-link":t.$aioseo.urls.aio.featureManager+"&aioseo-activate=aioseo-redirects","cta-button-action":"","cta-button-loading":t.activationLoading,"same-tab":"","button-text":t.strings.ctaButtonText,"learn-more-link":t.$links.getDocUrl("redirects"),"feature-list":[t.strings.serverRedirects,t.strings.automaticRedirects,t.strings.redirectMonitoring,t.strings.monitoring404,t.strings.fullSiteRedirects,t.strings.siteAliases]},on:{"cta-button-click":t.activateAddon},scopedSlots:t._u([{key:"header-text",fn:function(){return[t._v(" "+t._s(t.strings.ctaHeader)+" ")]},proxy:!0},{key:"description",fn:function(){return[t.failed?e("core-alert",{attrs:{type:"red"}},[t._v(" "+t._s(t.strings.activateError)+" ")]):t._e(),t._v(" "+t._s(t.strings.ctaDescription)+" ")]},proxy:!0},{key:"learn-more-text",fn:function(){return[t._v(" "+t._s(t.strings.learnMoreText)+" ")]},proxy:!0}])})],1)},Hn=[];const Nn={components:{Blur:we,CoreAlert:m,Cta:F},props:{noCoreCard:Boolean},data(){return{strings:{ctaButtonText:"Activate Redirects",ctaHeader:"Enable Redirects on your Site",serverRedirects:"Fast Server Redirects",automaticRedirects:"Automatic Redirects",redirectMonitoring:"Redirect Monitoring",monitoring404:"404 Monitoring",fullSiteRedirects:"Full Site Redirects",siteAliases:"Site Aliases",ctaDescription:"Our Redirection Manager allows you to easily create and manage redirects for your broken links to avoid confusing search engines and users, as well as losing valuable backlinks. It even automatically sends users and search engines from your old URLs to your new ones.",activateError:"An error occurred while activating the addon. Please upload it manually or contact support for more information.",permissionWarning:"You currently don't have permission to activate this addon. Please ask a site administrator to activate first."},failed:!1,activationLoading:!1}},computed:o({},c("redirects",["filters","totals","options"])),methods:l(o(o(o({},p("redirects",["filter","getRedirectOptions"])),p(["installPlugins"])),v(["updateAddon"])),{activateAddon(){this.failed=!1,this.activationLoading=!0;const t=this.$addons.getAddon("aioseo-redirects");this.installPlugins([{plugin:t.basename}]).then(s=>{if(s.body.failed.length){this.activationLoading=!1,this.failed=!0;return}const e=[this.filter({slug:"all",page:1}),this.filter({slug:"logs",page:1}),this.filter({slug:"404",page:1}),this.getRedirectOptions()];Promise.all(e).then(()=>{this.activationLoading=!1,t.hasMinimumVersion=!0,t.isActive=!0,this.updateAddon(t),this.$bus.$emit("redirects-activated")})}).catch(()=>{this.activationLoading=!1})}})},wt={};var jn=i(Nn,Fn,Hn,!1,zn,null,null,null);function zn(t){for(let s in wt)this[s]=wt[s]}var qn=function(){return jn.exports}(),Vn=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-redirects"},[t.$root._data.screenContext==="metabox"?e("div",[e("RedirectsActivate",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"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("RedirectsActivate",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1)])]):t._e(),this.parentComponentContext!=="modal"?e("redirects-side-bar"):t._e()],1)},Gn=[];const Wn={components:{CoreModal:y,RedirectsActivate:qn,RedirectsSideBar:N},props:{parentComponentContext:String},data(){return{strings:{modalHeader:"Redirects"}}},computed:o({},c(["currentPost"])),methods:o({},v(["toggleRedirectsModal"]))},xt={};var Yn=i(Wn,Vn,Gn,!1,Zn,null,null,null);function Zn(t){for(let s in xt)this[s]=xt[s]}var Jn=function(){return Yn.exports}(),Xn=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("RedirectsLite",{attrs:{noCoreCard:!0,parentComponentContext:t.parentComponentContext}})],1):t._e(),t.currentPost.redirects.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{staticClass:"aioseo-redirects-modal",attrs:{isolate:""},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)},Qn=[];const to={components:{CoreModal:y,RedirectsSideBar:N,RedirectsLite:xe},props:{parentComponentContext:String},data(){return{strings:{modalHeader:"Redirects"}}},computed:o({},c(["currentPost"])),methods:o({},v(["toggleRedirectsModal"]))},Pt={};var eo=i(to,Xn,Qn,!1,so,null,null,null);function so(t){for(let s in Pt)this[s]=Pt[s]}var ro=function(){return eo.exports}(),no=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-redirects"},[!t.isUnlicensed&&t.$addons.isActive("aioseo-redirects")&&!t.$addons.requiresUpgrade("aioseo-redirects")?e("Redirects",{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(),t.isUnlicensed||t.$addons.requiresUpgrade("aioseo-redirects")?e("RedirectsLite",{attrs:{parentComponentContext:t.parentComponentContext}}):t._e()],1)},oo=[];const io={props:{parentComponentContext:String},components:{Redirects:Kn,RedirectsActivate:Jn,RedirectsLite:ro},computed:o({},g(["isUnlicensed"]))},St={};var ao=i(io,no,oo,!1,lo,null,null,null);function lo(t){for(let s in St)this[s]=St[s]}var co=function(){return ao.exports}(),uo=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-tab-content aioseo-post-schema-lite"},[e("core-settings-row",{attrs:{name:t.strings.schemaType},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-select",{staticClass:"schema-type",attrs:{disabled:"",size:"medium",options:[{value:"default",label:"Default (Set in Search Appearance)"},{value:"none",label:"None"},{value:"Article",label:"Article"}],value:{value:"Article",label:"Article"}}})]},proxy:!0}])}),e("core-settings-row",{attrs:{name:t.strings.articleType,align:""},scopedSlots:t._u([{key:"content",fn:function(){return[e("base-radio-toggle",{attrs:{disabled:"",name:"articleType",value:"BlogPosting",options:[{label:t.strings.article,value:"Article"},{label:t.strings.blogPost,value:"BlogPosting"},{label:t.strings.newsArticle,value:"NewsArticle"}]}})]},proxy:!0}])}),!t.$isPro||!t.$aioseo.license.isActive?e("core-alert",{staticClass:"schema-upsell inline-upsell",attrs:{type:"blue"}},[e("div",{domProps:{innerHTML:t._s(t.strings.schemaUpsell)}})]):t._e()],1)},po=[];const ho={components:{BaseRadioToggle:E,CoreAlert:m,CoreSettingsRow:f},data(){return{strings:{schemaType:"Schema Type",articleType:"Article Type",article:"Article",blogPost:"Blog Post",newsArticle:"News Article",schemaUpsell:this.$t.sprintf("This feature is only for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("post-schema",this.$constants.GLOBAL_STRINGS.learnMore,null,!0))}}},computed:o({},c(["currentPost"]))},Tt={};var _o=i(ho,uo,po,!1,mo,null,null,null);function mo(t){for(let s in Tt)this[s]=Tt[s]}var Lt=function(){return _o.exports}(),go=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"),t.isUnlicensed?e("schema-lite"):t._e()],1)},vo=[];const fo={components:{Schema:Lt,SchemaLite:Lt},computed:o({},g(["isUnlicensed"]))},Rt={};var yo=i(fo,go,vo,!1,bo,null,null,null);function bo(t){for(let s in Rt)this[s]=Rt[s]}var ko=function(){return yo.exports}(),$o=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"}})])},Co=[];const wo={},At={};var xo=i(wo,$o,Co,!1,Po,null,null,null);function Po(t){for(let s in At)this[s]=At[s]}var So=function(){return xo.exports}(),To=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"}})])},Lo=[];const Ro={},It={};var Ao=i(Ro,To,Lo,!1,Io,null,null,null);function Io(t){for(let s in It)this[s]=It[s]}var Mo=function(){return Ao.exports}(),Do=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-app aioseo-post-settings"},[e("core-main-tabs",{attrs:{tabs:t.getTabs,showSaveButton:!1,active:t.activeTab,internal:"",disableMobile:""},on:{changed:function(r){return t.processChangeTab(r)}},scopedSlots:t._u([{key:"md-tab-icon",fn:function(r){var n=r.tab;return[e(n.icon,{tag:"component",class:[{warning:n.data.warning}]})]}}])}),e("transition",{attrs:{name:"route-fade",mode:"out-in"}},[e(t.activeTab,{tag:"component",attrs:{parentComponentContext:"metabox"}})],1),t.currentPost.modalOpen&&t.$root._data.screenContext==="sidebar"?e("core-modal",{attrs:{isolate:"",classes:["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("ModalContent")],1)]):t._e()],1)},Eo=[];const Oo={components:{Advanced:je,CoreMainTabs:C,CoreModal:y,General:ee,LinkAssistant:Hr,ModalContent:$n,Redirects:co,Schema:ko,Social:oe,SvgBuild:Te,SvgLinkSuggestion:L,SvgReceipt:So,SvgRedirectCrossedArrows:Mo,SvgSettings:ie,SvgShare:Jt},data(){return{activeTab:"general",modal:!1,strings:{pageName:"General",modalTitle:"Preview Snippet Editor"},sidebarFirstOpen:!1}},watch:{currentPost:{deep:!0,handler(){_e(this.savePostState,250)}}},computed:l(o({},c(["currentPost","redirects"])),{tabs(){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",name:"Redirects",warning:typeof this.redirects!="undefined"&&0<this.redirects.rows.filter(s=>!!s.enabled).length,permission:"aioseo_page_redirects_manage"},{slug:"advanced",icon:"svg-build",name:"Advanced"}];return!this.$aioseo.integration&&this.currentPost.context==="post"&&(!this.currentPost.linkAssistant||!this.currentPost.linkAssistant.isExcludedPost)&&t.splice(3,0,{slug:"linkAssistant",icon:"svg-link-suggestion",name:"Link Assistant"}),t},initTab:function(){let t=this.getTabPermission(this.currentPost.tabs.tab);return this.$root._data.screenContext==="sidebar"?(t=this.getTabPermission(this.currentPost.tabs.tab_sidebar),this.currentPost.tabs.tab_sidebar&&this.$allowed(t,!0)?this.currentPost.tabs.tab_sidebar:this.$allowed("aioseo_page_general_settings")?"general":this.$allowed("aioseo_page_social_settings")?"social":this.$allowed("aioseo_page_schema_settings")?"schema":"advanced"):this.currentPost.tabs.tab&&this.$allowed(t,!0)?this.currentPost.tabs.tab:this.$allowed("aioseo_page_general_settings")?"general":this.$allowed("aioseo_page_social_settings")?"social":this.$allowed("aioseo_page_schema_settings")?"schema":"advanced"},getTabs(){return this.currentPost.context==="term"||this.currentPost.isWooCommercePageWithoutSchema?this.tabs.filter(t=>t.slug!=="schema"&&this.$allowed(this.getTabPermission(t.slug),!0)):this.tabs.filter(t=>this.$allowed(this.getTabPermission(t.slug),!0)?!0:t.slug==="general"&&(this.$allowed("aioseo_page_analysis")||this.$allowed(this.getTabPermission(t.slug),!0)))}}),methods:l(o(o({},v(["toggleLinkAssistantModal","toggleRedirectsModal"])),p(["openModal","updateState","savePostState"])),{processChangeTab(t){switch(this.activeTab=t,this.$root._data.screenContext){case"sidebar":this.$set(this.currentPost.tabs,"tab_sidebar",t);break;default:this.$set(this.currentPost.tabs,"tab",t);break}if(this.sidebarFirstOpen){this.sidebarFirstOpen=!1;return}if(this.$root._data.screenContext==="sidebar")switch(t){case"social":this.currentPost.modalOpen||(this.$store.commit("changeTabSettings",{setting:"tab_modal",value:"social"}),this.openModal(!0));break;case"linkAssistant":this.currentPost.linkAssistant&&!this.currentPost.linkAssistant.modalOpen&&this.toggleLinkAssistantModal();break;case"redirects":this.currentPost.redirects&&!this.currentPost.redirects.modalOpen&&this.toggleRedirectsModal();break}},closeModal(){this.openModal(!1)},getTabPermission(t){const s=this.tabs.find(e=>e.slug===t);return typeof s.permission!="undefined"?s.permission:`aioseo_page_${s.slug}_settings`}}),created(){switch(this.sidebarFirstOpen=!0,this.modal=$()["aioseo-modaltab"]||this.modal,this.modal&&(this.$set(this.currentPost.tabs,"tab_modal",this.modal),this.openModal(!0),setTimeout(()=>{A("aioseo-modaltab")},500)),this.$bus.$on("open-post-settings",t=>{this.processChangeTab(t.tab)}),this.$bus.$on("standalone-update-post",t=>{Object.keys(t).forEach(s=>{this.$set(this.currentPost,s,t[s])})}),this.$root._data.screenContext){case"sidebar":this.activeTab=$()["aioseo-sidebartab"]||this.initTab,this.$set(this.currentPost.tabs,"tab_sidebar",this.activeTab),setTimeout(()=>{A("aioseo-sidebartab")},500);break;default:this.activeTab=$()["aioseo-tab"]||this.initTab,this.$set(this.currentPost.tabs,"tab",this.activeTab),setTimeout(()=>{A("aioseo-tab")},500);break}}},Mt={};var Uo=i(Oo,Do,Eo,!1,Bo,null,null,null);function Bo(t){for(let s in Mt)this[s]=Mt[s]}var Ko=function(){return Uo.exports}(),Fo=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(),t.currentPost.id?e("main-view"):t._e()],1)},Ho=[];const No={components:{CoreApiBar:Re,CoreLicenseKeyBar:Ae,MainView:Ko},computed:o(o({},g(["isUnlicensed"])),c(["currentPost","pong"])),async created(){const{internalOptions:t,options:s,dynamicOptions:e,networkOptions:r,settings:n,notifications:a,addons:u,license:h,currentPost:d,tags:x,linkAssistant:R,redirects:ae}=await he(this.$http);this.$set(this.$store.state,"internalOptions",_(o({},this.$store.state.internalOptions),o({},t))),this.$set(this.$store.state,"options",_(o({},this.$store.state.options),o({},s))),this.$set(this.$store.state,"dynamicOptions",_(o({},this.$store.state.dynamicOptions),o({},e))),this.$set(this.$store.state,"networkOptions",_(o({},this.$store.state.networkOptions),o({},r))),this.$set(this.$store.state,"settings",_(o({},this.$store.state.settings),o({},n))),this.$set(this.$store.state,"notifications",_(o({},this.$store.state.notifications),o({},a))),this.$set(this.$store.state,"addons",_([...this.$store.state.addons],[...u])),this.$set(this.$store.state,"license",_(o({},this.$store.state.license),o({},h))),this.$set(this.$store.state,"currentPost",_(o({},this.$store.state.currentPost),o({},d))),this.$set(this.$store.state,"tags",_(o({},this.$store.state.tags),o({},x))),this.$set(this.$store.state,"linkAssistant",_(o({},this.$store.state.linkAssistant),o({},R))),this.$set(this.$store.state,"redirects",_(o({},this.$store.state.redirects),o({},ae)))}},Dt={};var jo=i(No,Fo,Ho,!1,zo,null,null,null);function zo(t){for(let s in Dt)this[s]=Dt[s]}var Li=function(){return jo.exports}();export{Li as A,ie as S};
|
dist/Lite/assets/js/{Archives.ec49ff3f.js → Archives.c52f04aa.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var u=Object.defineProperty,m=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r=(e,t)=>{for(var n in t||(t={}))_.call(t,n)&&i(e,n,t[n]);if(o)for(var n of o(t))d.call(t,n)&&i(e,n,t[n]);return e},s=(e,t)=>m(e,h(t));import{d as f,
|
1 |
+
var u=Object.defineProperty,m=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var o=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,d=Object.prototype.propertyIsEnumerable;var i=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,r=(e,t)=>{for(var n in t||(t={}))_.call(t,n)&&i(e,n,t[n]);if(o)for(var n of o(t))d.call(t,n)&&i(e,n,t[n]);return e},s=(e,t)=>m(e,h(t));import{d as f,j as g}from"./index.0f8634bc.js";import{A as v,T as b}from"./TitleDescription.24f9c8bd.js";import{C as A}from"./Card.5e3c0ad5.js";import{C as y}from"./Tabs.e6c401d8.js";import{n as T}from"./vueComponentNormalizer.87056a83.js";import"./ToolsSettings.4a14c135.js";import"./JsonValues.08065e69.js";import"./MaxCounts.3eed5286.js";import"./RadioToggle.98e1e7ec.js";import"./RobotsMeta.2bc11dc9.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Row.13b6f3f1.js";import"./SettingsRow.eb71f07b.js";import"./GoogleSearchPreview.308b89da.js";import"./HtmlTagsEditor.aa4d89fe.js";import"./Editor.2fd4385f.js";import"./client.93f15631.js";import"./index.02c35f2a.js";import"./UnfilteredHtml.f98679bb.js";import"./Index.6d59ffe7.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./TruSeoScore.a520926e.js";import"./Information.f4b75b56.js";var x=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"aioseo-search-appearance-archives"},e._l(e.getArchives,function(a,p){return n("core-card",{key:p,attrs:{slug:a.name+"Archives"},scopedSlots:e._u([{key:"header",fn:function(){return[n("div",{staticClass:"icon dashicons",class:""+(a.icon||"dashicons-admin-post")}),n("div",[e._v(" "+e._s(a.label)+" ")])]},proxy:!0},{key:"tabs",fn:function(){return[n("core-main-tabs",{attrs:{tabs:e.tabs,showSaveButton:!1,active:e.settings.internalTabs[a.name+"Archives"],internal:""},on:{changed:function(l){return e.processChangeTab(a.name,l)}}})]},proxy:!0}],null,!0)},[n("transition",{attrs:{name:"route-fade",mode:"out-in"}},[n(e.settings.internalTabs[a.name+"Archives"],{tag:"component",attrs:{object:a,separator:e.options.searchAppearance.global.separator,options:e.getOptions(a),type:"archives","show-bulk":!1,"no-meta-box":"","include-keywords":""}})],1)],1)}),1)},C=[];const D={components:{Advanced:v,CoreCard:A,CoreMainTabs:y,TitleDescription:b},data(){return{internalDebounce:null,tabs:[{slug:"title-description",name:"Title & Description",access:"aioseo_search_appearance_settings",pro:!1},{slug:"advanced",name:"Advanced",access:"aioseo_search_appearance_settings",pro:!1}],archives:[{label:"Author Archives",name:"author",singular:"Author",icon:"dashicons-admin-users"},{label:"Date Archives",name:"date",singular:"Date",icon:"dashicons-calendar-alt"},{label:"Search Page",name:"search",singular:"Search Page",icon:"dashicons-search"}]}},computed:s(r({},f(["options","dynamicOptions","settings"])),{getArchives(){return this.archives.concat(this.$aioseo.postData.archives.map(e=>({label:`${e.label} Archives`,name:`${e.name}Archive`,icon:"dashicons-category",singular:e.singular,dynamic:!0})))}}),methods:s(r({},g(["changeTab"])),{processChangeTab(e,t){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${e}Archives`,value:t}),setTimeout(()=>{this.internalDebounce=!1},50))},getOptions(e){return e.dynamic?this.dynamicOptions.searchAppearance.archives[e.name.replace("Archive","")]:this.options.searchAppearance.archives[e.name]}})},c={};var S=T(D,x,C,!1,k,null,null,null);function k(e){for(let t in c)this[t]=c[t]}var te=function(){return S.exports}();export{te as default};
|
dist/Lite/assets/js/{BadBotBlocker.a6c5f496.js → BadBotBlocker.df8b0d35.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var a=Object.defineProperty;var s=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var l=(o,t,e)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,n=(o,t)=>{for(var e in t||(t={}))i.call(t,e)&&l(o,e,t[e]);if(s)for(var e of s(t))p.call(t,e)&&l(o,e,t[e]);return o};import{d as u}from"./index.
|
1 |
+
var a=Object.defineProperty;var s=Object.getOwnPropertySymbols;var i=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable;var l=(o,t,e)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e,n=(o,t)=>{for(var e in t||(t={}))i.call(t,e)&&l(o,e,t[e]);if(s)for(var e of s(t))p.call(t,e)&&l(o,e,t[e]);return o};import{d as u}from"./index.0f8634bc.js";import{B as d}from"./Textarea.d161fc2e.js";import{C as k}from"./Index.6d59ffe7.js";import{C as b}from"./Card.5e3c0ad5.js";import{C as m}from"./SettingsRow.eb71f07b.js";import{n as f}from"./vueComponentNormalizer.87056a83.js";import"./index.02c35f2a.js";import"./client.93f15631.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./Row.13b6f3f1.js";var B=function(){var o=this,t=o.$createElement,e=o._self._c||t;return e("div",{staticClass:"aioseo-tools-bad-bot-blocker"},[e("core-card",{attrs:{slug:"badBotBlocker","header-text":o.strings.badBotBlocker}},[e("core-settings-row",{attrs:{name:o.strings.blockBadBotsHttp},scopedSlots:o._u([{key:"content",fn:function(){return[e("base-toggle",{model:{value:o.options.deprecated.tools.blocker.blockBots,callback:function(r){o.$set(o.options.deprecated.tools.blocker,"blockBots",r)},expression:"options.deprecated.tools.blocker.blockBots"}})]},proxy:!0}])}),e("core-settings-row",{attrs:{name:o.strings.blockReferralSpamHttp},scopedSlots:o._u([{key:"content",fn:function(){return[e("base-toggle",{model:{value:o.options.deprecated.tools.blocker.blockReferer,callback:function(r){o.$set(o.options.deprecated.tools.blocker,"blockReferer",r)},expression:"options.deprecated.tools.blocker.blockReferer"}})]},proxy:!0}])}),o.options.deprecated.tools.blocker.blockBots||o.options.deprecated.tools.blocker.blockReferer?e("core-settings-row",{attrs:{name:o.strings.useCustomBlocklists},scopedSlots:o._u([{key:"content",fn:function(){return[e("base-toggle",{model:{value:o.options.deprecated.tools.blocker.custom.enable,callback:function(r){o.$set(o.options.deprecated.tools.blocker.custom,"enable",r)},expression:"options.deprecated.tools.blocker.custom.enable"}})]},proxy:!0}],null,!1,2813344989)}):o._e(),o.options.deprecated.tools.blocker.blockBots&&o.options.deprecated.tools.blocker.custom.enable?e("core-settings-row",{attrs:{name:o.strings.userAgentBlocklist},scopedSlots:o._u([{key:"content",fn:function(){return[e("base-textarea",{attrs:{minHeight:200,maxHeight:200},model:{value:o.options.deprecated.tools.blocker.custom.bots,callback:function(r){o.$set(o.options.deprecated.tools.blocker.custom,"bots",r)},expression:"options.deprecated.tools.blocker.custom.bots"}})]},proxy:!0}],null,!1,2333962956)}):o._e(),o.options.deprecated.tools.blocker.blockReferer&&o.options.deprecated.tools.blocker.custom.enable?e("core-settings-row",{attrs:{name:o.strings.refererBlockList},scopedSlots:o._u([{key:"content",fn:function(){return[e("base-textarea",{attrs:{minHeight:200,maxHeight:200},model:{value:o.options.deprecated.tools.blocker.custom.referer,callback:function(r){o.$set(o.options.deprecated.tools.blocker.custom,"referer",r)},expression:"options.deprecated.tools.blocker.custom.referer"}})]},proxy:!0}],null,!1,3362070519)}):o._e(),o.options.deprecated.tools.blocker.blockBots||o.options.deprecated.tools.blocker.blockReferer?e("core-settings-row",{attrs:{name:o.strings.trackBlockedBots},scopedSlots:o._u([{key:"content",fn:function(){return[e("base-toggle",{model:{value:o.options.deprecated.tools.blocker.track,callback:function(r){o.$set(o.options.deprecated.tools.blocker,"track",r)},expression:"options.deprecated.tools.blocker.track"}}),e("core-alert",{attrs:{type:"blue"},domProps:{innerHTML:o._s(o.strings.logLocation)}})]},proxy:!0}],null,!1,3972286096)}):o._e()],1)],1)},_=[];const g={components:{BaseTextarea:d,CoreAlert:k,CoreCard:b,CoreSettingsRow:m},data(){return{strings:{badBotBlocker:"Bad Bot Blocker",blockBadBotsHttp:"Block Bad Bots using HTTP",blockReferralSpamHttp:"Block Referral Spam using HTTP",trackBlockedBots:"Track Blocked Bots",useCustomBlocklists:"Use Custom Blocklists",userAgentBlocklist:"User Agent Blocklist",refererBlockList:"Referer Blocklist",blockedBotsLog:"Blocked Bots Log",logLocation:this.$t.sprintf("The log for the blocked bots is located here: %1$s",'<br><a href="'+this.$aioseo.urls.blockedBotsLogUrl+'" target="_blank">'+this.$aioseo.urls.blockedBotsLogUrl+"</a>")}}},computed:n({},u(["options"]))},c={};var x=f(g,B,_,!1,y,null,null,null);function y(o){for(let t in c)this[t]=c[t]}var M=function(){return x.exports}();export{M as default};
|
dist/Lite/assets/js/{Breadcrumbs.15970cf5.js → Breadcrumbs.32ab0824.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var v=Object.defineProperty,y=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var u=(e,r,t)=>r in e?v(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,o=(e,r)=>{for(var t in r||(r={}))k.call(r,t)&&u(e,t,r[t]);if(l)for(var t of l(r))$.call(r,t)&&u(e,t,r[t]);return e},n=(e,r)=>y(e,w(r));import{d as i,Q as x}from"./index.aff2f9f0.js";import{B as T}from"./RadioToggle.98e1e7ec.js";import{C as h}from"./SettingsRow.eb71f07b.js";import{G as L,a as C}from"./Row.13b6f3f1.js";import{n as c}from"./vueComponentNormalizer.87056a83.js";import{C as S}from"./Blur.8490ecd2.js";import{C as _}from"./Card.86b7d3cc.js";import{C as P}from"./Tabs.3955e0b8.js";import{C as B}from"./ProBadge.7c0de2f7.js";import{C as H}from"./Index.bc7bb735.js";import{C as D}from"./DisplayInfo.abf25ff0.js";import{C as F}from"./HtmlTagsEditor.36c18a9a.js";import{C as I}from"./SettingsSeparator.9e34f7b1.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./index.4ee805df.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./ToolsSettings.60cea1aa.js";import"./TruSeoScore.a520926e.js";import"./Information.f4b75b56.js";import"./Index.05d0e847.js";import"./CheckSolid.99652043.js";import"./Copy.a07db25e.js";import"./Editor.b716a1f9.js";import"./UnfilteredHtml.8691e3d4.js";var R=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"aioseo-preview-box"},[e.label?t("span",{staticClass:"label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._l(this.getPreviewData(),function(s,a){return[1<e.previewLength&&a>0&&a<e.previewLength?t("span",{key:a+"sep",staticClass:"aioseo-breadcrumb-separator",domProps:{innerHTML:e._s(e.options.breadcrumbs.separator)}}):e._e(),a<e.previewLength-1?t("span",{key:a+"crumb",class:{"aioseo-breadcrumb":!s.match(/aioseo-breadcrumb/),link:s!==e.options.breadcrumbs.breadcrumbPrefix&&!s.match(/<a /)},domProps:{innerHTML:e._s(s)}}):e._e(),a===e.previewLength-1?t("span",{key:a+"crumbLast",class:{last:!0,link:e.options.breadcrumbs.linkCurrentItem&&e.useDefaultTemplate&&!s.match(/<a /),noLink:!e.options.breadcrumbs.linkCurrentItem&&e.useDefaultTemplate,"aioseo-breadcrumb":!s.match(/aioseo-breadcrumb/)},domProps:{innerHTML:e._s(s)}}):e._e()]})],2)},A=[];const O={props:{previewData:{type:Array,default:null},useDefaultTemplate:{type:Boolean,default:!0},label:String},computed:n(o({},i(["options"])),{previewLength(){return this.getPreviewData()?this.getPreviewData().length:0}}),methods:{getPreviewData(){let e=this.previewData.filter(r=>!!r).map(r=>this.$tags.decodeHTMLEntities(r).replace(/#breadcrumb_separator/g,'<span class="aioseo-breadcrumb-separator">'+this.options.breadcrumbs.separator+"</span>").replace(/#breadcrumb_link/g,"Permalink"));return this.useDefaultTemplate&&!this.options.breadcrumbs.showCurrentItem&&(e=e.slice(0,e.length-1)),e}}},m={};var E=c(O,R,A,!1,G,null,null,null);function G(e){for(let r in m)this[r]=m[r]}var f=function(){return E.exports}(),M=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"content"},e._l(e.postTypes,function(s){return t("core-settings-row",{key:s.name,staticClass:"aioseo-breadcrumbs-post-type",attrs:{name:s.label},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",[t("preview",{attrs:{"preview-data":e.getPreview(s)}}),t("grid-row",[t("grid-column",[t("base-toggle",{staticClass:"current-item"}),e._v(" "+e._s(e.strings.useDefaultTemplate)+" ")],1)],1)],1)]},proxy:!0}],null,!0)})}),1)},U=[];const N={components:{CoreSettingsRow:h,GridColumn:L,GridRow:C,Preview:f},data(){return{strings:{useDefaultTemplate:"Use a default template"}}},methods:{getPreview(e){const r=this.options.breadcrumbs;return[r.breadcrumbPrefix?r.breadcrumbPrefix:"",r.homepageLink?r.homepageLabel?r.homepageLabel:"Home":"",r.showBlogHome&&e.name==="post"?"Blog Home":"",["post","page","attachment"].includes(e.name)?"":e.label,this.getPostTypeTaxonomy(e).singular,this.postTypeIsHierarchical(e)?"Post Parent":"",this.getPostTypeTemplate(e)]},postTypeIsHierarchical(e){return 0<this.$aioseo.postData.postTypes.filter(r=>r.name===e.name&&r.hierarchical).length},postTypeHasArchive(e){return 0<this.$aioseo.postData.postTypes.filter(r=>r.name===e.name&&r.hasArchive).length},getPostTypeTemplate(e,r=!0){let t=this.$aioseo.breadcrumbs.defaultTemplate;return r?t=t.replace(new RegExp("#breadcrumb_label","g"),e.singular):t=t.replace(new RegExp("#breadcrumb_label","g"),"#breadcrumb_post_title_"+e.name),t},getPostTaxonomyOptions(e){return this.$aioseo.postData.taxonomies.filter(r=>e.taxonomies.includes(r.name)).map(r=>({value:r.name,label:r.label}))},getPostTypeTaxonomy(e){const r=this.$aioseo.postData.taxonomies.filter(t=>e.taxonomies.includes(t.name));return 0<r.length?r[0]:[]}},computed:n(o({},i(["options"])),{postTypes(){return this.$aioseo.postData.postTypes.filter(e=>["post","page"].includes(e.name))}})},p={};var z=c(N,M,U,!1,j,null,null,null);function j(e){for(let r in p)this[r]=p[r]}var W=function(){return z.exports}(),Y=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"aioseo-breadcrumbs"},[t("core-card",{attrs:{slug:"breadcrumbTemplates"},scopedSlots:e._u([{key:"header",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTemplates)+" "),t("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTemplatesTooltip)+" ")]},proxy:!0},{key:"tabs",fn:function(){return[t("div",{staticClass:"content"},[t("core-blur",[t("core-main-tabs",{attrs:{tabs:e.tabs,showSaveButton:!1,active:e.tab,internal:""}}),t("transition",{attrs:{name:"route-fade",mode:"out-in"}},[t(e.tab,{tag:"component",attrs:{active:e.tab}})],1)],1),t("cta",{attrs:{"cta-link":e.$links.getPricingUrl("breadcrumb-templates","breadcrumb-templates-upsell"),"button-text":e.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("breadcrumb-templates",null,"home"),"feature-list":e.features},scopedSlots:e._u([{key:"header-text",fn:function(){return[e._v(" "+e._s(e.strings.ctaHeader1)),t("br"),e._v(" "+e._s(e.strings.ctaHeader2)+" ")]},proxy:!0},{key:"description",fn:function(){return[e._v(" "+e._s(e.strings.ctaDescription)+" ")]},proxy:!0}])})],1)]},proxy:!0}])})],1)},K=[];const Q={components:{ContentTypesLite:W,CoreBlur:S,CoreCard:_,CoreMainTabs:P,CoreProBadge:B,Cta:H},data(){return{strings:{breadcrumbTemplates:"Breadcrumb Templates",breadcrumbTemplatesTooltip:"Override the default template for breadcrumbs on your site using our easy-to-use template editor.",ctaButtonText:"Upgrade to Pro and Unlock Breadcrumb Templates",ctaHeader1:"Breadcrumb Templates are only available",ctaHeader2:this.$t.sprintf("for licensed %1$s %2$s users.","AIOSEO","Pro"),ctaDescription:"Our template editor will allow you to easily customize how breadcrumbs are displayed on your site based on each post type or taxonomy."},features:["Custom HTML templates","Content Types","Taxonomies","Archives"],tab:"ContentTypesLite",tabs:[{slug:"ContentTypesLite",name:"Content Types",access:"aioseo_general_settings",pro:!0},{slug:"Taxonomies",name:"Taxonomies",access:"aioseo_general_settings",pro:!0},{slug:"Archives",name:"Archives",access:"aioseo_general_settings",pro:!0},{slug:"Advanced",name:"Advanced",access:"aioseo_general_settings",pro:!0}]}},computed:o({},i(["options"])),methods:{}},b={};var q=c(Q,Y,K,!1,J,"d0725eda",null,null);function J(e){for(let r in b)this[r]=b[r]}var d=function(){return q.exports}(),V=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"aioseo-breadcrumbs"},[t("core-card",{attrs:{slug:"enableBreadcrumbs","header-text":e.strings.enableBreadcrumbs},scopedSlots:e._u([{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.descriptionTooltip)+" ")]},proxy:!0}])},[t("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[e._v(" "+e._s(e.strings.description)+" "),t("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))}})]),t("core-settings-row",{attrs:{name:e.strings.enableBreadcrumbs},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-toggle",{model:{value:e.options.breadcrumbs.enable,callback:function(s){e.$set(e.options.breadcrumbs,"enable",s)},expression:"options.breadcrumbs.enable"}})]},proxy:!0}])}),e.options.breadcrumbs.enable?t("core-display-info",{attrs:{label:e.strings.showBreadcrumbsOnYourWebsite,options:e.displayInfo}}):e._e()],1),e.options.breadcrumbs.enable?t("core-card",{attrs:{slug:"breadcrumbSettings","header-text":e.strings.breadcrumbSettings},scopedSlots:e._u([{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTooltip)+" ")]},proxy:!0}],null,!1,3544047555)},[t("core-settings-row",{attrs:{name:e.$constants.GLOBAL_STRINGS.preview},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"previews-box main-preview"},[e._l(e.previews,function(s,a){return[t("preview",{key:a,attrs:{"preview-data":s.preview,label:s.label}})]})],2)]},proxy:!0}],null,!1,147102216)}),t("core-settings-row",{attrs:{name:e.strings.separator,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-settings-separator",{attrs:{"options-separator":e.options.breadcrumbs.separator,"show-more-slug":"breadcrumbsShowMoreSeparators"},on:{change:function(s){return e.options.breadcrumbs.separator=s}}})]},proxy:!0}],null,!1,3895120608)}),t("core-settings-row",{attrs:{name:e.strings.homepageLink,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"homepage-link"},[t("base-radio-toggle",{attrs:{name:"homepageLink",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.breadcrumbs.homepageLink,callback:function(s){e.$set(e.options.breadcrumbs,"homepageLink",s)},expression:"options.breadcrumbs.homepageLink"}}),t("div",{staticClass:"homepage-link-label"},[e._v(" "+e._s(e.strings.homepageLabel)+" "),t("base-input",{attrs:{size:"medium"},model:{value:e.options.breadcrumbs.homepageLabel,callback:function(s){e.$set(e.options.breadcrumbs,"homepageLabel",s)},expression:"options.breadcrumbs.homepageLabel"}})],1)],1),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.homepageDescription)+" ")])]},proxy:!0}],null,!1,494866130)}),t("core-settings-row",{attrs:{name:e.strings.breadcrumbPrefix,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-input",{attrs:{size:"medium"},model:{value:e.options.breadcrumbs.breadcrumbPrefix,callback:function(s){e.$set(e.options.breadcrumbs,"breadcrumbPrefix",s)},expression:"options.breadcrumbs.breadcrumbPrefix"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.breadcrumbPrefixDescription)+" ")])]},proxy:!0}],null,!1,3154111139)}),0<e.$aioseo.data.staticBlogPage?t("core-settings-row",{attrs:{name:e.strings.showBlogHome},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"showBlogHome",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.breadcrumbs.showBlogHome,callback:function(s){e.$set(e.options.breadcrumbs,"showBlogHome",s)},expression:"options.breadcrumbs.showBlogHome"}})]},proxy:!0}],null,!1,2858337911)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.archiveFormat},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"",checkUnfilteredHtml:"","tags-context":"breadcrumbs-format-archive","minimum-line-numbers":3,showAllTagsLink:!1,"default-tags":["breadcrumb_archive_post_type_name"],tagsDescription:""},model:{value:e.options.breadcrumbs.archiveFormat,callback:function(s){e.$set(e.options.breadcrumbs,"archiveFormat",s)},expression:"options.breadcrumbs.archiveFormat"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.archiveFormatDescription)+" ")])]},proxy:!0}],null,!1,4098193983)}),t("core-settings-row",{attrs:{name:e.strings.searchResultFormat},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"",checkUnfilteredHtml:"","tags-context":"breadcrumbs-format-search","minimum-line-numbers":3,showAllTagsLink:!1,"default-tags":["breadcrumb_search_string"],tagsDescription:""},model:{value:e.options.breadcrumbs.searchResultFormat,callback:function(s){e.$set(e.options.breadcrumbs,"searchResultFormat",s)},expression:"options.breadcrumbs.searchResultFormat"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.searchResultFormatDescription)+" ")])]},proxy:!0}],null,!1,151217485)}),t("core-settings-row",{attrs:{name:e.strings.errorFormat404,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-input",{attrs:{size:"medium"},model:{value:e.options.breadcrumbs.errorFormat404,callback:function(s){e.$set(e.options.breadcrumbs,"errorFormat404",s)},expression:"options.breadcrumbs.errorFormat404"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.errorFormat404Description)+" ")])]},proxy:!0}],null,!1,3947316067)}),t("core-settings-row",{attrs:{name:e.strings.currentItem,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"aioseo-description first"},[t("base-toggle",{staticClass:"current-item",model:{value:e.options.breadcrumbs.showCurrentItem,callback:function(s){e.$set(e.options.breadcrumbs,"showCurrentItem",s)},expression:"options.breadcrumbs.showCurrentItem"}}),e._v(" "+e._s(e.strings.showCurrentItem)+" ")],1),e.options.breadcrumbs.showCurrentItem?t("div",{staticClass:"aioseo-description"},[t("base-toggle",{staticClass:"current-item",model:{value:e.options.breadcrumbs.linkCurrentItem,callback:function(s){e.$set(e.options.breadcrumbs,"linkCurrentItem",s)},expression:"options.breadcrumbs.linkCurrentItem"}}),e._v(" "+e._s(e.strings.linkCurrentItem)+" ")],1):e._e()]},proxy:!0}],null,!1,1588116914)})],1):e._e(),e.isUnlicensed?t("breadcrumbs-lite"):e._e(),e.options.breadcrumbs.enable&&!e.isUnlicensed?t("breadcrumbs"):e._e()],1)},X=[];const Z={components:{BaseRadioToggle:T,Breadcrumbs:d,BreadcrumbsLite:d,CoreCard:_,CoreDisplayInfo:D,CoreHtmlTagsEditor:F,CoreSettingsRow:h,CoreSettingsSeparator:I,Preview:f},data(){return{displayInfo:{block:{copy:"",desc:this.$t.sprintf('To add this block, edit a page or post and search for the "%1$s - Breadcrumbs" block. %2$s',"AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))},shortcode:{copy:"[aioseo_breadcrumbs]",desc:this.$t.sprintf("Use the following shortcode to display the current breadcrumbs. %1$s",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsShortcode",!0))},widget:{copy:"",desc:this.$t.sprintf('To add this widget, visit the %1$swidgets page%2$s and look for the "%3$s - Breadcrumbs" widget. %4$s',`<a href="${this.$aioseo.urls.admin.widgets}" target="_blank">`,"</a>","AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))},php:{copy:"<?php if( function_exists( 'aioseo_breadcrumbs' ) ) aioseo_breadcrumbs(); ?>",desc:this.$t.sprintf("Use the following PHP code anywhere in your theme (in the loop) to display the breadcrumbs. %1$s",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsFunction",!0))}},strings:{description:this.$t.sprintf("Breadcrumbs are an essential part of SEO. By default %1$s will automatically add breadcrumbs to the schema markup that we add to your site and you don't need to make any changes for that to work. Breadcrumbs can also be used as a secondary navigation system that tells users where they are on a website relative to the homepage.","AIOSEO"),descriptionTooltip:"The purpose of breadcrumb navigation is to help users navigate around your website. It also helps search engines understand the structure and hierarchy of links on a web page.",enableBreadcrumbs:"Enable Breadcrumbs",showBreadcrumbsOnYourWebsite:"Show Breadcrumbs on Your Website",breadcrumbSettings:"Breadcrumb Settings",breadcrumbTooltip:this.$t.sprintf("These settings will affect all the breadcrumbs displayed by %1$s throughout your site.","AIOSEO"),separator:"Separator",homepageLink:"Homepage Link",homepageLabel:"Homepage label",homepageDescription:"Label used for homepage link (first item) in breadcrumbs.",breadcrumbPrefix:"Breadcrumb Prefix",breadcrumbPrefixDescription:"Prefix for breadcrumb path.",archiveFormat:"Archive Format",archiveFormatDescription:"Format the label used for archives page.",searchResultFormat:"Search Result Format",searchResultFormatDescription:"Format the label used for the search results page.",errorFormat404:"404 Error Format",errorFormat404Description:"Format the label used for the 404 error page.",currentItem:"Current Item",showCurrentItem:"Show current item",linkCurrentItem:"Link current item",home:"Home",category:"Category",subcategory:"Subcategory",articleTitle:"Article Title",searchKeyword:"search key word goes here",categoryName:"Category Name",breadcrumbTemplates:"Breadcrumb Templates",categoryHierarchy:"Category Hierarchy",categoryHierarchyDescription:"Display complete category hierarchy even if not selected on each individual post.",blog:"Blog",blogCrumb:"Blog Page Title",showBlogHome:"Show Blog Home"}}},methods:{getRootPreview(){return[this.options.breadcrumbs.breadcrumbPrefix?this.options.breadcrumbs.breadcrumbPrefix:"",this.options.breadcrumbs.homepageLink?this.options.breadcrumbs.homepageLabel?this.options.breadcrumbs.homepageLabel:"Home":""].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},getPostPreview(){return[...this.getRootPreview(),this.options.breadcrumbs.showBlogHome?"Blog Home":"",this.strings.category,this.strings.subcategory,this.strings.articleTitle].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},getArchivePreview(){return[...this.getRootPreview(),this.getArchivesOfText].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},getSearchPreview(){return[...this.getRootPreview(),this.getSearchForText].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},get404Preview(){return[...this.getRootPreview(),this.options.breadcrumbs.errorFormat404].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))}},computed:n(o(o({},i(["options"])),x(["isUnlicensed"])),{getSearchForText(){return this.options.breadcrumbs.searchResultFormat.replace(new RegExp("#breadcrumb_search_string","g"),`<strong>${this.strings.searchKeyword}</strong>`)},getArchivesOfText(){return this.options.breadcrumbs.archiveFormat.replace(new RegExp("#breadcrumb_archive_post_type_name","g"),`<strong>${this.strings.categoryName}</strong>`)},getPagedText(){return this.options.breadcrumbs.pagedFormat.replace(new RegExp("#breadcrumb_format_page_number","g"),"<strong>2</strong>")},previews(){return[{label:"Post",preview:this.getPostPreview()},{label:"Archive",preview:this.getArchivePreview()},{label:"Search",preview:this.getSearchPreview()},{label:"404",preview:this.get404Preview()}]}})},g={};var ee=c(Z,V,X,!1,te,null,null,null);function te(e){for(let r in g)this[r]=g[r]}var Pe=function(){return ee.exports}();export{Pe as default};
|
1 |
+
var v=Object.defineProperty,y=Object.defineProperties;var w=Object.getOwnPropertyDescriptors;var l=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,$=Object.prototype.propertyIsEnumerable;var u=(e,r,t)=>r in e?v(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,o=(e,r)=>{for(var t in r||(r={}))k.call(r,t)&&u(e,t,r[t]);if(l)for(var t of l(r))$.call(r,t)&&u(e,t,r[t]);return e},n=(e,r)=>y(e,w(r));import{d as i,e as x}from"./index.0f8634bc.js";import{B as T}from"./RadioToggle.98e1e7ec.js";import{C as h}from"./SettingsRow.eb71f07b.js";import{G as L,a as C}from"./Row.13b6f3f1.js";import{n as c}from"./vueComponentNormalizer.87056a83.js";import{C as S}from"./Blur.8490ecd2.js";import{C as _}from"./Card.5e3c0ad5.js";import{C as P}from"./Tabs.e6c401d8.js";import{C as B}from"./ProBadge.7c0de2f7.js";import{C as H}from"./Index.92c3733f.js";import{C as D}from"./DisplayInfo.abf25ff0.js";import{C as F}from"./HtmlTagsEditor.aa4d89fe.js";import{C as I}from"./SettingsSeparator.4ec9e669.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./index.02c35f2a.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./ToolsSettings.4a14c135.js";import"./TruSeoScore.a520926e.js";import"./Information.f4b75b56.js";import"./Index.6d59ffe7.js";import"./CheckSolid.99652043.js";import"./Copy.a07db25e.js";import"./Editor.2fd4385f.js";import"./UnfilteredHtml.f98679bb.js";var R=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"aioseo-preview-box"},[e.label?t("span",{staticClass:"label"},[e._v(" "+e._s(e.label)+": ")]):e._e(),e._l(this.getPreviewData(),function(s,a){return[1<e.previewLength&&a>0&&a<e.previewLength?t("span",{key:a+"sep",staticClass:"aioseo-breadcrumb-separator",domProps:{innerHTML:e._s(e.options.breadcrumbs.separator)}}):e._e(),a<e.previewLength-1?t("span",{key:a+"crumb",class:{"aioseo-breadcrumb":!s.match(/aioseo-breadcrumb/),link:s!==e.options.breadcrumbs.breadcrumbPrefix&&!s.match(/<a /)},domProps:{innerHTML:e._s(s)}}):e._e(),a===e.previewLength-1?t("span",{key:a+"crumbLast",class:{last:!0,link:e.options.breadcrumbs.linkCurrentItem&&e.useDefaultTemplate&&!s.match(/<a /),noLink:!e.options.breadcrumbs.linkCurrentItem&&e.useDefaultTemplate,"aioseo-breadcrumb":!s.match(/aioseo-breadcrumb/)},domProps:{innerHTML:e._s(s)}}):e._e()]})],2)},A=[];const O={props:{previewData:{type:Array,default:null},useDefaultTemplate:{type:Boolean,default:!0},label:String},computed:n(o({},i(["options"])),{previewLength(){return this.getPreviewData()?this.getPreviewData().length:0}}),methods:{getPreviewData(){let e=this.previewData.filter(r=>!!r).map(r=>this.$tags.decodeHTMLEntities(r).replace(/#breadcrumb_separator/g,'<span class="aioseo-breadcrumb-separator">'+this.options.breadcrumbs.separator+"</span>").replace(/#breadcrumb_link/g,"Permalink"));return this.useDefaultTemplate&&!this.options.breadcrumbs.showCurrentItem&&(e=e.slice(0,e.length-1)),e}}},m={};var E=c(O,R,A,!1,G,null,null,null);function G(e){for(let r in m)this[r]=m[r]}var f=function(){return E.exports}(),M=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"content"},e._l(e.postTypes,function(s){return t("core-settings-row",{key:s.name,staticClass:"aioseo-breadcrumbs-post-type",attrs:{name:s.label},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",[t("preview",{attrs:{"preview-data":e.getPreview(s)}}),t("grid-row",[t("grid-column",[t("base-toggle",{staticClass:"current-item"}),e._v(" "+e._s(e.strings.useDefaultTemplate)+" ")],1)],1)],1)]},proxy:!0}],null,!0)})}),1)},U=[];const N={components:{CoreSettingsRow:h,GridColumn:L,GridRow:C,Preview:f},data(){return{strings:{useDefaultTemplate:"Use a default template"}}},methods:{getPreview(e){const r=this.options.breadcrumbs;return[r.breadcrumbPrefix?r.breadcrumbPrefix:"",r.homepageLink?r.homepageLabel?r.homepageLabel:"Home":"",r.showBlogHome&&e.name==="post"?"Blog Home":"",["post","page","attachment"].includes(e.name)?"":e.label,this.getPostTypeTaxonomy(e).singular,this.postTypeIsHierarchical(e)?"Post Parent":"",this.getPostTypeTemplate(e)]},postTypeIsHierarchical(e){return 0<this.$aioseo.postData.postTypes.filter(r=>r.name===e.name&&r.hierarchical).length},postTypeHasArchive(e){return 0<this.$aioseo.postData.postTypes.filter(r=>r.name===e.name&&r.hasArchive).length},getPostTypeTemplate(e,r=!0){let t=this.$aioseo.breadcrumbs.defaultTemplate;return r?t=t.replace(new RegExp("#breadcrumb_label","g"),e.singular):t=t.replace(new RegExp("#breadcrumb_label","g"),"#breadcrumb_post_title_"+e.name),t},getPostTaxonomyOptions(e){return this.$aioseo.postData.taxonomies.filter(r=>e.taxonomies.includes(r.name)).map(r=>({value:r.name,label:r.label}))},getPostTypeTaxonomy(e){const r=this.$aioseo.postData.taxonomies.filter(t=>e.taxonomies.includes(t.name));return 0<r.length?r[0]:[]}},computed:n(o({},i(["options"])),{postTypes(){return this.$aioseo.postData.postTypes.filter(e=>["post","page"].includes(e.name))}})},p={};var z=c(N,M,U,!1,j,null,null,null);function j(e){for(let r in p)this[r]=p[r]}var W=function(){return z.exports}(),Y=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"aioseo-breadcrumbs"},[t("core-card",{attrs:{slug:"breadcrumbTemplates"},scopedSlots:e._u([{key:"header",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTemplates)+" "),t("core-pro-badge")]},proxy:!0},{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTemplatesTooltip)+" ")]},proxy:!0},{key:"tabs",fn:function(){return[t("div",{staticClass:"content"},[t("core-blur",[t("core-main-tabs",{attrs:{tabs:e.tabs,showSaveButton:!1,active:e.tab,internal:""}}),t("transition",{attrs:{name:"route-fade",mode:"out-in"}},[t(e.tab,{tag:"component",attrs:{active:e.tab}})],1)],1),t("cta",{attrs:{"cta-link":e.$links.getPricingUrl("breadcrumb-templates","breadcrumb-templates-upsell"),"button-text":e.strings.ctaButtonText,"learn-more-link":e.$links.getUpsellUrl("breadcrumb-templates",null,"home"),"feature-list":e.features},scopedSlots:e._u([{key:"header-text",fn:function(){return[e._v(" "+e._s(e.strings.ctaHeader1)),t("br"),e._v(" "+e._s(e.strings.ctaHeader2)+" ")]},proxy:!0},{key:"description",fn:function(){return[e._v(" "+e._s(e.strings.ctaDescription)+" ")]},proxy:!0}])})],1)]},proxy:!0}])})],1)},K=[];const q={components:{ContentTypesLite:W,CoreBlur:S,CoreCard:_,CoreMainTabs:P,CoreProBadge:B,Cta:H},data(){return{strings:{breadcrumbTemplates:"Breadcrumb Templates",breadcrumbTemplatesTooltip:"Override the default template for breadcrumbs on your site using our easy-to-use template editor.",ctaButtonText:"Upgrade to Pro and Unlock Breadcrumb Templates",ctaHeader1:"Breadcrumb Templates are only available",ctaHeader2:this.$t.sprintf("for licensed %1$s %2$s users.","AIOSEO","Pro"),ctaDescription:"Our template editor will allow you to easily customize how breadcrumbs are displayed on your site based on each post type or taxonomy."},features:["Custom HTML templates","Content Types","Taxonomies","Archives"],tab:"ContentTypesLite",tabs:[{slug:"ContentTypesLite",name:"Content Types",access:"aioseo_general_settings",pro:!0},{slug:"Taxonomies",name:"Taxonomies",access:"aioseo_general_settings",pro:!0},{slug:"Archives",name:"Archives",access:"aioseo_general_settings",pro:!0},{slug:"Advanced",name:"Advanced",access:"aioseo_general_settings",pro:!0}]}},computed:o({},i(["options"])),methods:{}},b={};var J=c(q,Y,K,!1,Q,"d0725eda",null,null);function Q(e){for(let r in b)this[r]=b[r]}var d=function(){return J.exports}(),V=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"aioseo-breadcrumbs"},[t("core-card",{attrs:{slug:"enableBreadcrumbs","header-text":e.strings.enableBreadcrumbs},scopedSlots:e._u([{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.descriptionTooltip)+" ")]},proxy:!0}])},[t("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[e._v(" "+e._s(e.strings.description)+" "),t("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))}})]),t("core-settings-row",{attrs:{name:e.strings.enableBreadcrumbs},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-toggle",{model:{value:e.options.breadcrumbs.enable,callback:function(s){e.$set(e.options.breadcrumbs,"enable",s)},expression:"options.breadcrumbs.enable"}})]},proxy:!0}])}),e.options.breadcrumbs.enable?t("core-display-info",{attrs:{label:e.strings.showBreadcrumbsOnYourWebsite,options:e.displayInfo}}):e._e()],1),e.options.breadcrumbs.enable?t("core-card",{attrs:{slug:"breadcrumbSettings","header-text":e.strings.breadcrumbSettings},scopedSlots:e._u([{key:"tooltip",fn:function(){return[e._v(" "+e._s(e.strings.breadcrumbTooltip)+" ")]},proxy:!0}],null,!1,3544047555)},[t("core-settings-row",{attrs:{name:e.$constants.GLOBAL_STRINGS.preview},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"previews-box main-preview"},[e._l(e.previews,function(s,a){return[t("preview",{key:a,attrs:{"preview-data":s.preview,label:s.label}})]})],2)]},proxy:!0}],null,!1,147102216)}),t("core-settings-row",{attrs:{name:e.strings.separator,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-settings-separator",{attrs:{"options-separator":e.options.breadcrumbs.separator,"show-more-slug":"breadcrumbsShowMoreSeparators"},on:{change:function(s){return e.options.breadcrumbs.separator=s}}})]},proxy:!0}],null,!1,3895120608)}),t("core-settings-row",{attrs:{name:e.strings.homepageLink,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"homepage-link"},[t("base-radio-toggle",{attrs:{name:"homepageLink",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.breadcrumbs.homepageLink,callback:function(s){e.$set(e.options.breadcrumbs,"homepageLink",s)},expression:"options.breadcrumbs.homepageLink"}}),t("div",{staticClass:"homepage-link-label"},[e._v(" "+e._s(e.strings.homepageLabel)+" "),t("base-input",{attrs:{size:"medium"},model:{value:e.options.breadcrumbs.homepageLabel,callback:function(s){e.$set(e.options.breadcrumbs,"homepageLabel",s)},expression:"options.breadcrumbs.homepageLabel"}})],1)],1),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.homepageDescription)+" ")])]},proxy:!0}],null,!1,494866130)}),t("core-settings-row",{attrs:{name:e.strings.breadcrumbPrefix,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-input",{attrs:{size:"medium"},model:{value:e.options.breadcrumbs.breadcrumbPrefix,callback:function(s){e.$set(e.options.breadcrumbs,"breadcrumbPrefix",s)},expression:"options.breadcrumbs.breadcrumbPrefix"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.breadcrumbPrefixDescription)+" ")])]},proxy:!0}],null,!1,3154111139)}),0<e.$aioseo.data.staticBlogPage?t("core-settings-row",{attrs:{name:e.strings.showBlogHome},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-radio-toggle",{attrs:{name:"showBlogHome",options:[{label:e.$constants.GLOBAL_STRINGS.off,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.on,value:!0}]},model:{value:e.options.breadcrumbs.showBlogHome,callback:function(s){e.$set(e.options.breadcrumbs,"showBlogHome",s)},expression:"options.breadcrumbs.showBlogHome"}})]},proxy:!0}],null,!1,2858337911)}):e._e(),t("core-settings-row",{attrs:{name:e.strings.archiveFormat},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"",checkUnfilteredHtml:"","tags-context":"breadcrumbs-format-archive","minimum-line-numbers":3,showAllTagsLink:!1,"default-tags":["breadcrumb_archive_post_type_name"],tagsDescription:""},model:{value:e.options.breadcrumbs.archiveFormat,callback:function(s){e.$set(e.options.breadcrumbs,"archiveFormat",s)},expression:"options.breadcrumbs.archiveFormat"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.archiveFormatDescription)+" ")])]},proxy:!0}],null,!1,4098193983)}),t("core-settings-row",{attrs:{name:e.strings.searchResultFormat},scopedSlots:e._u([{key:"content",fn:function(){return[t("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"",checkUnfilteredHtml:"","tags-context":"breadcrumbs-format-search","minimum-line-numbers":3,showAllTagsLink:!1,"default-tags":["breadcrumb_search_string"],tagsDescription:""},model:{value:e.options.breadcrumbs.searchResultFormat,callback:function(s){e.$set(e.options.breadcrumbs,"searchResultFormat",s)},expression:"options.breadcrumbs.searchResultFormat"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.searchResultFormatDescription)+" ")])]},proxy:!0}],null,!1,151217485)}),t("core-settings-row",{attrs:{name:e.strings.errorFormat404,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("base-input",{attrs:{size:"medium"},model:{value:e.options.breadcrumbs.errorFormat404,callback:function(s){e.$set(e.options.breadcrumbs,"errorFormat404",s)},expression:"options.breadcrumbs.errorFormat404"}}),t("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.errorFormat404Description)+" ")])]},proxy:!0}],null,!1,3947316067)}),t("core-settings-row",{attrs:{name:e.strings.currentItem,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"aioseo-description first"},[t("base-toggle",{staticClass:"current-item",model:{value:e.options.breadcrumbs.showCurrentItem,callback:function(s){e.$set(e.options.breadcrumbs,"showCurrentItem",s)},expression:"options.breadcrumbs.showCurrentItem"}}),e._v(" "+e._s(e.strings.showCurrentItem)+" ")],1),e.options.breadcrumbs.showCurrentItem?t("div",{staticClass:"aioseo-description"},[t("base-toggle",{staticClass:"current-item",model:{value:e.options.breadcrumbs.linkCurrentItem,callback:function(s){e.$set(e.options.breadcrumbs,"linkCurrentItem",s)},expression:"options.breadcrumbs.linkCurrentItem"}}),e._v(" "+e._s(e.strings.linkCurrentItem)+" ")],1):e._e()]},proxy:!0}],null,!1,1588116914)})],1):e._e(),e.isUnlicensed?t("breadcrumbs-lite"):e._e(),e.options.breadcrumbs.enable&&!e.isUnlicensed?t("breadcrumbs"):e._e()],1)},X=[];const Z={components:{BaseRadioToggle:T,Breadcrumbs:d,BreadcrumbsLite:d,CoreCard:_,CoreDisplayInfo:D,CoreHtmlTagsEditor:F,CoreSettingsRow:h,CoreSettingsSeparator:I,Preview:f},data(){return{displayInfo:{block:{copy:"",desc:this.$t.sprintf('To add this block, edit a page or post and search for the "%1$s - Breadcrumbs" block. %2$s',"AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))},shortcode:{copy:"[aioseo_breadcrumbs]",desc:this.$t.sprintf("Use the following shortcode to display the current breadcrumbs. %1$s",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsShortcode",!0))},widget:{copy:"",desc:this.$t.sprintf('To add this widget, visit the %1$swidgets page%2$s and look for the "%3$s - Breadcrumbs" widget. %4$s',`<a href="${this.$aioseo.urls.admin.widgets}" target="_blank">`,"</a>","AIOSEO",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsDisplay",!0))},php:{copy:"<?php if( function_exists( 'aioseo_breadcrumbs' ) ) aioseo_breadcrumbs(); ?>",desc:this.$t.sprintf("Use the following PHP code anywhere in your theme (in the loop) to display the breadcrumbs. %1$s",this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"breadcrumbsFunction",!0))}},strings:{description:this.$t.sprintf("Breadcrumbs are an essential part of SEO. By default %1$s will automatically add breadcrumbs to the schema markup that we add to your site and you don't need to make any changes for that to work. Breadcrumbs can also be used as a secondary navigation system that tells users where they are on a website relative to the homepage.","AIOSEO"),descriptionTooltip:"The purpose of breadcrumb navigation is to help users navigate around your website. It also helps search engines understand the structure and hierarchy of links on a web page.",enableBreadcrumbs:"Enable Breadcrumbs",showBreadcrumbsOnYourWebsite:"Show Breadcrumbs on Your Website",breadcrumbSettings:"Breadcrumb Settings",breadcrumbTooltip:this.$t.sprintf("These settings will affect all the breadcrumbs displayed by %1$s throughout your site.","AIOSEO"),separator:"Separator",homepageLink:"Homepage Link",homepageLabel:"Homepage label",homepageDescription:"Label used for homepage link (first item) in breadcrumbs.",breadcrumbPrefix:"Breadcrumb Prefix",breadcrumbPrefixDescription:"Prefix for breadcrumb path.",archiveFormat:"Archive Format",archiveFormatDescription:"Format the label used for archives page.",searchResultFormat:"Search Result Format",searchResultFormatDescription:"Format the label used for the search results page.",errorFormat404:"404 Error Format",errorFormat404Description:"Format the label used for the 404 error page.",currentItem:"Current Item",showCurrentItem:"Show current item",linkCurrentItem:"Link current item",home:"Home",category:"Category",subcategory:"Subcategory",articleTitle:"Article Title",searchKeyword:"search key word goes here",categoryName:"Category Name",breadcrumbTemplates:"Breadcrumb Templates",categoryHierarchy:"Category Hierarchy",categoryHierarchyDescription:"Display complete category hierarchy even if not selected on each individual post.",blog:"Blog",blogCrumb:"Blog Page Title",showBlogHome:"Show Blog Home"}}},methods:{getRootPreview(){return[this.options.breadcrumbs.breadcrumbPrefix?this.options.breadcrumbs.breadcrumbPrefix:"",this.options.breadcrumbs.homepageLink?this.options.breadcrumbs.homepageLabel?this.options.breadcrumbs.homepageLabel:"Home":""].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},getPostPreview(){return[...this.getRootPreview(),this.options.breadcrumbs.showBlogHome?"Blog Home":"",this.strings.category,this.strings.subcategory,this.strings.articleTitle].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},getArchivePreview(){return[...this.getRootPreview(),this.getArchivesOfText].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},getSearchPreview(){return[...this.getRootPreview(),this.getSearchForText].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))},get404Preview(){return[...this.getRootPreview(),this.options.breadcrumbs.errorFormat404].filter(e=>!!e).map(e=>this.$tags.decodeHTMLEntities(e))}},computed:n(o(o({},i(["options"])),x(["isUnlicensed"])),{getSearchForText(){return this.options.breadcrumbs.searchResultFormat.replace(new RegExp("#breadcrumb_search_string","g"),`<strong>${this.strings.searchKeyword}</strong>`)},getArchivesOfText(){return this.options.breadcrumbs.archiveFormat.replace(new RegExp("#breadcrumb_archive_post_type_name","g"),`<strong>${this.strings.categoryName}</strong>`)},getPagedText(){return this.options.breadcrumbs.pagedFormat.replace(new RegExp("#breadcrumb_format_page_number","g"),"<strong>2</strong>")},previews(){return[{label:"Post",preview:this.getPostPreview()},{label:"Archive",preview:this.getArchivePreview()},{label:"Search",preview:this.getSearchPreview()},{label:"404",preview:this.get404Preview()}]}})},g={};var ee=c(Z,V,X,!1,te,null,null,null);function te(e){for(let r in g)this[r]=g[r]}var Pe=function(){return ee.exports}();export{Pe as default};
|
dist/Lite/assets/js/{Card.86b7d3cc.js → Card.5e3c0ad5.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var i=Object.defineProperty;var n=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(t,s,e)=>s in t?i(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,o=(t,s)=>{for(var e in s||(s={}))c.call(s,e)&&r(t,e,s[e]);if(n)for(var e of n(s))u.call(s,e)&&r(t,e,s[e]);return t};import{
|
1 |
+
var i=Object.defineProperty;var n=Object.getOwnPropertySymbols;var c=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var r=(t,s,e)=>s in t?i(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,o=(t,s)=>{for(var e in s||(s={}))c.call(s,e)&&r(t,e,s[e]);if(n)for(var e of n(s))u.call(s,e)&&r(t,e,s[e]);return t};import{e as d,j as g}from"./index.0f8634bc.js";import{C as _}from"./Tooltip.674a9fb4.js";import{g as p,S as v}from"./index.02c35f2a.js";import{S as f}from"./QuestionMark.83ebd18e.js";import{T as m}from"./Slide.f5d21606.js";import{n as C}from"./vueComponentNormalizer.87056a83.js";var h=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-card",class:Object.assign({},{disabled:t.disabled},t.cardClass)},[t.hideHeader?t._e():e("div",{staticClass:"header"},[e("div",{staticClass:"text"},[e("div",{staticClass:"header-icon"},[t._t("header-icon")],2),t._t("header",function(){return[t._v(" "+t._s(t.headerText)+" ")]}),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.closes&&t.toggles&&t.settings.toggledCards&&!t.noSlide&&!t.disabled?e("svg-caret",{class:{rotated:!t.settings.toggledCards[t.slug]},on:{click:function(l){return t.toggleCard({slug:t.slug,shouldSave:t.saveToggleStatus})}}}):t._e(),t.closes?e("svg-close",{on:{click:function(l){return t.$emit("close-card",!0)}}}):t._e()],1),t.$slots.disabled&&t.disabled?e("div",{staticClass:"content"},[t._t("disabled")],2):t._e(),(t.settings.toggledCards||t.noSlide)&&!t.disabled?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)},S=[];const y={components:{CoreTooltip:_,SvgCaret:p,SvgCircleQuestionMark:f,SvgClose:v,TransitionSlide:m},props:{slug:{type:String,required:!0},headerText:String,toggles:{type:Boolean,default(){return!0}},hideHeader:Boolean,noSlide:Boolean,closes:Boolean,saveToggleStatus:{type:Boolean,default(){return!0}},disabled:Boolean,cardClass:{type:Object,default(){return{}}}},watch:{toggles(t){const s=this.slug;t&&!this.settings.toggledCards[s]&&this.toggleCard({slug:s,shouldSave:!0})}},computed:o({},d(["settings"])),methods:o({},g(["toggleCard"]))},a={};var b=C(y,h,S,!1,x,null,null,null);function x(t){for(let s in a)this[s]=a[s]}var H=function(){return b.exports}();export{H as C};
|
dist/Lite/assets/js/Category.06b3c5e2.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var h=Object.defineProperty,f=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var i=(e,t,s)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,o=(e,t)=>{for(var s in t||(t={}))H.call(t,s)&&i(e,s,t[s]);if(r)for(var s of r(t))y.call(t,s)&&i(e,s,t[s]);return e},l=(e,t)=>f(e,C(t));import{W as V}from"./ToolsSettings.60cea1aa.js";import{d as c,R as w,f as x}from"./index.aff2f9f0.js";import{n}from"./vueComponentNormalizer.87056a83.js";import{B as b}from"./HighlightToggle.47bdd2a8.js";import{C as $}from"./HtmlTagsEditor.36c18a9a.js";import{G as M,a as Z}from"./Row.13b6f3f1.js";import{S as k,a as S}from"./ImageSeo.0ea16b4e.js";import{S as z}from"./Pencil.d547ebca.js";import{W as A,a as L,b as T}from"./Header.c7257c5d.js";import{W as B,a as W}from"./Steps.3e82fc6b.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Radio.99a9886d.js";import"./Editor.b716a1f9.js";import"./client.93f15631.js";import"./index.4ee805df.js";import"./UnfilteredHtml.8691e3d4.js";import"./Index.05d0e847.js";import"./Logo.1a5e022a.js";var D=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-blog",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.6667 1.66667H5.00001C4.08334 1.66667 3.33334 2.41667 3.33334 3.33333V16.6667C3.33334 17.5833 4.07501 18.3333 4.99168 18.3333H15C15.9167 18.3333 16.6667 17.5833 16.6667 16.6667V6.66667L11.6667 1.66667ZM13.3333 10H6.66668V11.6667H13.3333V10ZM13.3333 13.3333H6.66668V15H13.3333V13.3333ZM5.00001 16.6667H15V7.5H10.8333V3.33333H5.00001V16.6667Z",fill:"currentColor"}})])},E=[];const P={},u={};var O=n(P,D,E,!1,R,null,null,null);function R(e){for(let t in u)this[t]=u[t]}var F=function(){return O.exports}(),j=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-corporation",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99999 5.83333H18.3333V17.5H1.66666V2.5H9.99999V5.83333ZM3.33332 15.8333H4.99999V14.1667H3.33332V15.8333ZM4.99999 12.5H3.33332V10.8333H4.99999V12.5ZM3.33332 9.16667H4.99999V7.5H3.33332V9.16667ZM4.99999 5.83333H3.33332V4.16667H4.99999V5.83333ZM6.66666 15.8333H8.33332V14.1667H6.66666V15.8333ZM8.33332 12.5H6.66666V10.8333H8.33332V12.5ZM6.66666 9.16667H8.33332V7.5H6.66666V9.16667ZM8.33332 5.83333H6.66666V4.16667H8.33332V5.83333ZM9.99999 15.8333H16.6667V7.5H9.99999V9.16667H11.6667V10.8333H9.99999V12.5H11.6667V14.1667H9.99999V15.8333ZM15 9.16667H13.3333V10.8333H15V9.16667ZM13.3333 12.5H15V14.1667H13.3333V12.5Z",fill:"currentColor"}})])},G=[];const I={},p={};var N=n(I,j,G,!1,Y,null,null,null);function Y(e){for(let t in p)this[t]=p[t]}var q=function(){return N.exports}(),U=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-news-channel",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.8333 3.33333H15V1.66667H13.3333V3.33333H6.66667V1.66667H5V3.33333H4.16667C3.25 3.33333 2.5 4.08333 2.5 5V16.6667C2.5 17.5833 3.25 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5C17.5 4.08333 16.75 3.33333 15.8333 3.33333ZM15.8333 16.6667H4.16667V8.33333H15.8333V16.6667ZM4.16667 5V6.66667H15.8333V5H4.16667ZM5.83333 10H14.1667V11.6667H5.83333V10ZM11.6667 13.3333H5.83333V15H11.6667V13.3333Z",fill:"currentColor"}})])},J=[];const K={},d={};var Q=n(K,U,J,!1,X,null,null,null);function X(e){for(let t in d)this[t]=d[t]}var ee=function(){return Q.exports}(),te=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-online-store",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.2469 9.975C14.9636 10.4917 14.4136 10.8333 13.7886 10.8333H7.58027L6.6636 12.5H16.6636V14.1667H6.6636C5.39694 14.1667 4.59694 12.8083 5.20527 11.6917L6.33027 9.65833L3.33027 3.33333H1.6636V1.66666H4.3886L5.17194 3.33333H17.5053C18.1386 3.33333 18.5386 4.01666 18.2303 4.56666L15.2469 9.975ZM16.0886 5H5.96358L7.93858 9.16666H13.7886L16.0886 5ZM6.66364 15C5.74698 15 5.00531 15.75 5.00531 16.6667C5.00531 17.5833 5.74698 18.3333 6.66364 18.3333C7.58031 18.3333 8.33031 17.5833 8.33031 16.6667C8.33031 15.75 7.58031 15 6.66364 15ZM13.3386 16.6667C13.3386 15.75 14.0803 15 14.997 15C15.9136 15 16.6636 15.75 16.6636 16.6667C16.6636 17.5833 15.9136 18.3333 14.997 18.3333C14.0803 18.3333 13.3386 17.5833 13.3386 16.6667Z",fill:"currentColor"}})])},se=[];const ae={},v={};var oe=n(ae,te,se,!1,ne,null,null,null);function ne(e){for(let t in v)this[t]=v[t]}var re=function(){return oe.exports}(),ie=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-wizard-category"},[s("wizard-header"),s("wizard-container",[s("wizard-body",{scopedSlots:e._u([{key:"footer",fn:function(){return[s("div",{staticClass:"go-back"},[s("router-link",{staticClass:"no-underline",attrs:{to:e.getPrevLink}},[e._v("\u2190")]),e._v(" \xA0 "),s("router-link",{attrs:{to:e.getPrevLink}},[e._v(e._s(e.strings.goBack))])],1),s("div",{staticClass:"spacer"}),s("base-button",{attrs:{type:"blue",loading:e.loading},on:{click:e.saveAndContinue}},[e._v(e._s(e.strings.saveAndContinue)+" \u2192")])]},proxy:!0}])},[s("wizard-steps"),s("div",{staticClass:"header"},[e._v(" "+e._s(e.strings.category)+" ")]),s("div",{staticClass:"description"},[e._v(e._s(e.strings.selectCategory))]),s("div",{staticClass:"categories"},[s("grid-row",e._l(e.categories,function(a,_){return s("grid-column",{key:_,attrs:{md:"6"}},[s("base-highlight-toggle",{attrs:{type:"radio",active:e.isActive(a),name:"category",value:e.getValue(a)},on:{input:function(m){return e.updateValue(m,a)}}},[a.icon?s(a.icon,{tag:"component",staticClass:"icon"}):e._e(),e._v(" "+e._s(a.name)+" ")],1)],1)}),1),s("base-highlight-toggle",{staticClass:"other-category",attrs:{type:"radio",active:e.isActive(e.otherCategory),name:"category",value:e.getValue(e.otherCategory)},on:{input:function(a){return e.updateValue(a,e.otherCategory)}}},[e.otherCategory.icon?s(e.otherCategory.icon,{tag:"component",staticClass:"icon"}):e._e(),e._v(" "+e._s(e.otherCategory.name)+" "),e.selected.length?s("base-input",{ref:"other-category",attrs:{disabled:e.selected[0].value!=="other",size:"medium",placeholder:e.strings.enterYourAnswer},model:{value:e.category.categoryOther,callback:function(a){e.$set(e.category,"categoryOther",a)},expression:"category.categoryOther"}}):e._e()],1)],1),e.loaded?s("div",{staticClass:"site-info"},[s("div",{staticClass:"site-title aioseo-settings-row no-border"},[s("div",{staticClass:"settings-name"},[s("div",{staticClass:"name small-margin"},[e._v(e._s(e.strings.siteTitle))])]),s("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","separator_sa","tagline"]},model:{value:e.category.siteTitle,callback:function(a){e.$set(e.category,"siteTitle",a)},expression:"category.siteTitle"}})],1),s("div",{staticClass:"site-description aioseo-settings-row no-border no-margin small-padding"},[s("div",{staticClass:"settings-name"},[s("div",{staticClass:"name small-margin"},[e._v(e._s(e.strings.metaDescription))])]),s("core-html-tags-editor",{attrs:{"line-numbers":!1,description:"","tags-context":"homePage","default-tags":["site_title","separator_sa","tagline"]},model:{value:e.category.metaDescription,callback:function(a){e.$set(e.category,"metaDescription",a)},expression:"category.metaDescription"}})],1)]):e._e()],1),s("wizard-close-and-exit")],1)],1)},le=[];const ce={components:{BaseHighlightToggle:b,CoreHtmlTagsEditor:$,GridColumn:M,GridRow:Z,SvgBlog:F,SvgCorporation:q,SvgLocalBusiness:k,SvgImageSeo:S,SvgNewsChannel:ee,SvgOnlineStore:re,SvgPencil:z,WizardBody:A,WizardCloseAndExit:B,WizardContainer:L,WizardHeader:T,WizardSteps:W},mixins:[V],data(){return{loaded:!1,titleCount:0,descriptionCount:0,loading:!1,stage:"category",strings:{category:"Which category best describes your website?",selectCategory:"Select a category to help us narrow down the SEO options that work best for you and your site.",enterYourAnswer:"Enter your answer",siteTitle:"Home Page Title",metaDescription:"Home Page Meta Description"},categories:[{value:"blog",name:"Blog",icon:"svg-blog"},{value:"news-channel",name:"News Channel",icon:"svg-news-channel"},{value:"online-store",name:"Online Store",icon:"svg-online-store"},{value:"small-offline-business",name:"Small Offline Business",icon:"svg-local-business"},{value:"corporation",name:"Corporation",icon:"svg-corporation"},{value:"portfolio",name:"Portfolio",icon:"svg-image-seo"}],otherCategory:{value:"other",name:"Other:",icon:"svg-pencil",valueInput:null},selected:[]}},watch:{selected(e){this.category.category=e[0].value;const t=["optimized-search-appearance","analytics","image-seo","sitemaps","redirects"];switch(e[0].value){case"blog":case"portfolio":case"other":t.push("index-now"),t.push("link-assistant");break;case"news-channel":t.push("news-sitemap"),t.push("video-sitemap"),t.push("index-now"),t.push("link-assistant"),t.push("rest-api");break;case"online-store":t.push("video-sitemap"),t.push("index-now"),t.push("link-assistant"),t.push("rest-api");break;case"small-offline-business":t.push("local-seo"),t.push("video-sitemap"),t.push("rest-api");break;case"corporation":t.push("index-now"),t.push("link-assistant"),t.push("local-seo"),t.push("news-sitemap"),t.push("video-sitemap"),t.push("rest-api");break}this.updateFeatures(t)}},computed:o(o({},c(["options"])),c("wizard",["category"])),methods:l(o(o({},w("wizard",["updateFeatures"])),x("wizard",["saveWizard"])),{updateValue(e,t){this.selected=[],e&&(this.selected.push(t),t.value==="other"&&this.$nextTick(()=>{this.$refs["other-category"].$el.querySelector("input").focus()}))},getValue(e){return this.selected.includes(e)},isActive(e){return this.selected.findIndex(s=>s.value===e.value)!==-1},saveAndContinue(){this.loading=!0,this.saveWizard("category").then(()=>{this.$router.push(this.getNextLink)})}}),mounted(){this.selected.push(this.categories[0]),!this.category.siteTitle&&this.options.searchAppearance.global.siteTitle&&(this.category.siteTitle=this.options.searchAppearance.global.siteTitle),!this.category.metaDescription&&this.options.searchAppearance.global.metaDescription&&(this.category.metaDescription=this.options.searchAppearance.global.metaDescription),this.loaded=!0}},g={};var ue=n(ce,ie,le,!1,pe,null,null,null);function pe(e){for(let t in g)this[t]=g[t]}var Ae=function(){return ue.exports}();export{Ae as default};
|
|
dist/Lite/assets/js/Category.93b6abce.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var h=Object.defineProperty,f=Object.defineProperties;var C=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var H=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var r=(e,t,s)=>t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,o=(e,t)=>{for(var s in t||(t={}))H.call(t,s)&&r(e,s,t[s]);if(n)for(var s of n(t))y.call(t,s)&&r(e,s,t[s]);return e},l=(e,t)=>f(e,C(t));import{W as V}from"./ToolsSettings.4a14c135.js";import{d as c,f as w,j as $}from"./index.0f8634bc.js";import{n as i}from"./vueComponentNormalizer.87056a83.js";import{B as x}from"./HighlightToggle.47bdd2a8.js";import{C as b}from"./HtmlTagsEditor.aa4d89fe.js";import{G as M,a as k}from"./Row.13b6f3f1.js";import{S as Z,a as S}from"./ImageSeo.0ea16b4e.js";import{S as z}from"./Pencil.d547ebca.js";import{W as A,a as T,b as L}from"./Header.66600464.js";import{W as P,a as B}from"./Steps.21e4aced.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Radio.99a9886d.js";import"./Editor.2fd4385f.js";import"./client.93f15631.js";import"./index.02c35f2a.js";import"./UnfilteredHtml.f98679bb.js";import"./Index.6d59ffe7.js";import"./Logo.1a5e022a.js";var W=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-blog",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.6667 1.66667H5.00001C4.08334 1.66667 3.33334 2.41667 3.33334 3.33333V16.6667C3.33334 17.5833 4.07501 18.3333 4.99168 18.3333H15C15.9167 18.3333 16.6667 17.5833 16.6667 16.6667V6.66667L11.6667 1.66667ZM13.3333 10H6.66668V11.6667H13.3333V10ZM13.3333 13.3333H6.66668V15H13.3333V13.3333ZM5.00001 16.6667H15V7.5H10.8333V3.33333H5.00001V16.6667Z",fill:"currentColor"}})])},D=[];const E={},u={};var O=i(E,W,D,!1,F,null,null,null);function F(e){for(let t in u)this[t]=u[t]}var R=function(){return O.exports}(),j=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-corporation",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99999 5.83333H18.3333V17.5H1.66666V2.5H9.99999V5.83333ZM3.33332 15.8333H4.99999V14.1667H3.33332V15.8333ZM4.99999 12.5H3.33332V10.8333H4.99999V12.5ZM3.33332 9.16667H4.99999V7.5H3.33332V9.16667ZM4.99999 5.83333H3.33332V4.16667H4.99999V5.83333ZM6.66666 15.8333H8.33332V14.1667H6.66666V15.8333ZM8.33332 12.5H6.66666V10.8333H8.33332V12.5ZM6.66666 9.16667H8.33332V7.5H6.66666V9.16667ZM8.33332 5.83333H6.66666V4.16667H8.33332V5.83333ZM9.99999 15.8333H16.6667V7.5H9.99999V9.16667H11.6667V10.8333H9.99999V12.5H11.6667V14.1667H9.99999V15.8333ZM15 9.16667H13.3333V10.8333H15V9.16667ZM13.3333 12.5H15V14.1667H13.3333V12.5Z",fill:"currentColor"}})])},G=[];const I={},p={};var N=i(I,j,G,!1,Y,null,null,null);function Y(e){for(let t in p)this[t]=p[t]}var q=function(){return N.exports}(),U=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-news-channel",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.8333 3.33333H15V1.66667H13.3333V3.33333H6.66667V1.66667H5V3.33333H4.16667C3.25 3.33333 2.5 4.08333 2.5 5V16.6667C2.5 17.5833 3.25 18.3333 4.16667 18.3333H15.8333C16.75 18.3333 17.5 17.5833 17.5 16.6667V5C17.5 4.08333 16.75 3.33333 15.8333 3.33333ZM15.8333 16.6667H4.16667V8.33333H15.8333V16.6667ZM4.16667 5V6.66667H15.8333V5H4.16667ZM5.83333 10H14.1667V11.6667H5.83333V10ZM11.6667 13.3333H5.83333V15H11.6667V13.3333Z",fill:"currentColor"}})])},J=[];const K={},d={};var Q=i(K,U,J,!1,X,null,null,null);function X(e){for(let t in d)this[t]=d[t]}var ee=function(){return Q.exports}(),te=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-online-store",attrs:{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[s("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M15.2469 9.975C14.9636 10.4917 14.4136 10.8333 13.7886 10.8333H7.58027L6.6636 12.5H16.6636V14.1667H6.6636C5.39694 14.1667 4.59694 12.8083 5.20527 11.6917L6.33027 9.65833L3.33027 3.33333H1.6636V1.66666H4.3886L5.17194 3.33333H17.5053C18.1386 3.33333 18.5386 4.01666 18.2303 4.56666L15.2469 9.975ZM16.0886 5H5.96358L7.93858 9.16666H13.7886L16.0886 5ZM6.66364 15C5.74698 15 5.00531 15.75 5.00531 16.6667C5.00531 17.5833 5.74698 18.3333 6.66364 18.3333C7.58031 18.3333 8.33031 17.5833 8.33031 16.6667C8.33031 15.75 7.58031 15 6.66364 15ZM13.3386 16.6667C13.3386 15.75 14.0803 15 14.997 15C15.9136 15 16.6636 15.75 16.6636 16.6667C16.6636 17.5833 15.9136 18.3333 14.997 18.3333C14.0803 18.3333 13.3386 17.5833 13.3386 16.6667Z",fill:"currentColor"}})])},se=[];const ae={},g={};var oe=i(ae,te,se,!1,ie,null,null,null);function ie(e){for(let t in g)this[t]=g[t]}var ne=function(){return oe.exports}(),re=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-wizard-category"},[s("wizard-header"),s("wizard-container",[s("wizard-body",{scopedSlots:e._u([{key:"footer",fn:function(){return[s("div",{staticClass:"go-back"},[s("router-link",{staticClass:"no-underline",attrs:{to:e.getPrevLink}},[e._v("\u2190")]),e._v(" \xA0 "),s("router-link",{attrs:{to:e.getPrevLink}},[e._v(e._s(e.strings.goBack))])],1),s("div",{staticClass:"spacer"}),s("base-button",{attrs:{type:"blue",loading:e.loading},on:{click:e.saveAndContinue}},[e._v(e._s(e.strings.saveAndContinue)+" \u2192")])]},proxy:!0}])},[s("wizard-steps"),s("div",{staticClass:"header"},[e._v(" "+e._s(e.strings.category)+" ")]),s("div",{staticClass:"description"},[e._v(e._s(e.strings.selectCategory))]),s("div",{staticClass:"categories"},[s("grid-row",e._l(e.categories,function(a,_){return s("grid-column",{key:_,attrs:{md:"6"}},[s("base-highlight-toggle",{attrs:{type:"radio",active:e.isActive(a),name:"category",value:e.getValue(a)},on:{input:function(m){return e.updateValue(m,a)}}},[a.icon?s(a.icon,{tag:"component",staticClass:"icon"}):e._e(),e._v(" "+e._s(a.name)+" ")],1)],1)}),1),s("base-highlight-toggle",{staticClass:"other-category",attrs:{type:"radio",active:e.isActive(e.otherCategory),name:"category",value:e.getValue(e.otherCategory)},on:{input:function(a){return e.updateValue(a,e.otherCategory)}}},[e.otherCategory.icon?s(e.otherCategory.icon,{tag:"component",staticClass:"icon"}):e._e(),e._v(" "+e._s(e.otherCategory.name)+" "),e.selected.length?s("base-input",{ref:"other-category",attrs:{disabled:e.selected[0].value!=="other",size:"medium",placeholder:e.strings.enterYourAnswer},model:{value:e.category.categoryOther,callback:function(a){e.$set(e.category,"categoryOther",a)},expression:"category.categoryOther"}}):e._e()],1)],1),e.loaded?s("div",{staticClass:"site-info"},[s("div",{staticClass:"site-title aioseo-settings-row no-border"},[s("div",{staticClass:"settings-name"},[s("div",{staticClass:"name small-margin"},[e._v(e._s(e.strings.siteTitle))])]),s("core-html-tags-editor",{attrs:{"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","separator_sa","tagline"]},model:{value:e.category.siteTitle,callback:function(a){e.$set(e.category,"siteTitle",a)},expression:"category.siteTitle"}})],1),s("div",{staticClass:"site-description aioseo-settings-row no-border no-margin small-padding"},[s("div",{staticClass:"settings-name"},[s("div",{staticClass:"name small-margin"},[e._v(e._s(e.strings.metaDescription))])]),s("core-html-tags-editor",{attrs:{"line-numbers":!1,description:"","tags-context":"homePage","default-tags":["site_title","separator_sa","tagline"]},model:{value:e.category.metaDescription,callback:function(a){e.$set(e.category,"metaDescription",a)},expression:"category.metaDescription"}})],1)]):e._e()],1),s("wizard-close-and-exit")],1)],1)},le=[];const ce={components:{BaseHighlightToggle:x,CoreHtmlTagsEditor:b,GridColumn:M,GridRow:k,SvgBlog:R,SvgCorporation:q,SvgLocalBusiness:Z,SvgImageSeo:S,SvgNewsChannel:ee,SvgOnlineStore:ne,SvgPencil:z,WizardBody:A,WizardCloseAndExit:P,WizardContainer:T,WizardHeader:L,WizardSteps:B},mixins:[V],data(){return{loaded:!1,titleCount:0,descriptionCount:0,loading:!1,stage:"category",strings:{category:"Which category best describes your website?",selectCategory:"Select a category to help us narrow down the SEO options that work best for you and your site.",enterYourAnswer:"Enter your answer",siteTitle:"Home Page Title",metaDescription:"Home Page Meta Description"},categories:[{value:"blog",name:"Blog",icon:"svg-blog"},{value:"news-channel",name:"News Channel",icon:"svg-news-channel"},{value:"online-store",name:"Online Store",icon:"svg-online-store"},{value:"small-offline-business",name:"Small Offline Business",icon:"svg-local-business"},{value:"corporation",name:"Corporation",icon:"svg-corporation"},{value:"portfolio",name:"Portfolio",icon:"svg-image-seo"}],otherCategory:{value:"other",name:"Other:",icon:"svg-pencil",valueInput:null},selected:[]}},watch:{selected(e){this.category.category=e[0].value;const t=["optimized-search-appearance","analytics","image-seo","sitemaps","redirects"];switch(e[0].value){case"blog":case"portfolio":case"other":t.push("index-now"),t.push("link-assistant");break;case"news-channel":t.push("news-sitemap"),t.push("video-sitemap"),t.push("index-now"),t.push("link-assistant"),t.push("rest-api");break;case"online-store":t.push("video-sitemap"),t.push("index-now"),t.push("link-assistant"),t.push("rest-api");break;case"small-offline-business":t.push("local-seo"),t.push("video-sitemap"),t.push("rest-api");break;case"corporation":t.push("index-now"),t.push("link-assistant"),t.push("local-seo"),t.push("news-sitemap"),t.push("video-sitemap"),t.push("rest-api");break}this.updateFeatures(t)}},computed:o(o({},c(["options"])),c("wizard",["category"])),methods:l(o(o({},w("wizard",["updateFeatures"])),$("wizard",["saveWizard"])),{updateValue(e,t){this.selected=[],e&&(this.selected.push(t),t.value==="other"&&this.$nextTick(()=>{this.$refs["other-category"].$el.querySelector("input").focus()}))},getValue(e){return this.selected.includes(e)},isActive(e){return this.selected.findIndex(s=>s.value===e.value)!==-1},saveAndContinue(){this.loading=!0,this.saveWizard("category").then(()=>{this.$router.push(this.getNextLink)})}}),mounted(){this.$nextTick(()=>{this.selected.push(this.categories[0]);const e=this.$aioseo.data.staticHomePage?this.$aioseo.data.staticHomePageTitle:this.options.searchAppearance.global.siteTitle;e&&this.category.siteTitle!==e&&this.$set(this.category,"siteTitle",e);const t=this.$aioseo.data.staticHomePage?this.$aioseo.data.staticHomePageDescription:this.options.searchAppearance.global.metaDescription;t&&this.category.metaDescription!==t&&this.$set(this.category,"metaDescription",t),this.loaded=!0})}},v={};var ue=i(ce,re,le,!1,pe,null,null,null);function pe(e){for(let t in v)this[t]=v[t]}var Ae=function(){return ue.exports}();export{Ae as default};
|
dist/Lite/assets/js/{ContentTypes.aa6fdf69.js → ContentTypes.3ff99877.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var d=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(t,e,n)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,o=(t,e)=>{for(var n in e||(e={}))v.call(e,n)&&i(t,n,e[n]);if(a)for(var n of a(e))b.call(e,n)&&i(t,n,e[n]);return t},r=(t,e)=>f(t,h(e));import{
|
1 |
+
var d=Object.defineProperty,f=Object.defineProperties;var h=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,b=Object.prototype.propertyIsEnumerable;var i=(t,e,n)=>e in t?d(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,o=(t,e)=>{for(var n in e||(e={}))v.call(e,n)&&i(t,n,e[n]);if(a)for(var n of a(e))b.call(e,n)&&i(t,n,e[n]);return t},r=(t,e)=>f(t,h(e));import{e as y,d as g,j as C}from"./index.0f8634bc.js";import{A,T as S}from"./TitleDescription.24f9c8bd.js";import{C as T}from"./Card.5e3c0ad5.js";import{C as j}from"./Tabs.e6c401d8.js";import{C as c,S as x}from"./Schema.b9169800.js";import{n as l}from"./vueComponentNormalizer.87056a83.js";import"./ToolsSettings.4a14c135.js";import"./JsonValues.08065e69.js";import"./MaxCounts.3eed5286.js";import"./RadioToggle.98e1e7ec.js";import"./RobotsMeta.2bc11dc9.js";import"./Checkbox.5873a8d2.js";import"./Checkmark.e7547654.js";import"./Row.13b6f3f1.js";import"./SettingsRow.eb71f07b.js";import"./GoogleSearchPreview.308b89da.js";import"./HtmlTagsEditor.aa4d89fe.js";import"./Editor.2fd4385f.js";import"./client.93f15631.js";import"./index.02c35f2a.js";import"./UnfilteredHtml.f98679bb.js";import"./Index.6d59ffe7.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./TruSeoScore.a520926e.js";import"./Information.f4b75b56.js";import"./Textarea.d161fc2e.js";import"./Blur.8490ecd2.js";import"./Index.92c3733f.js";var $=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-sa-ct-custom-fields-view"},[t.isUnlicensed?t._e():n("custom-fields",{attrs:{type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk}}),t.isUnlicensed?n("custom-fields-lite",{attrs:{type:t.type,object:t.object,options:t.options,"show-bulk":t.showBulk}}):t._e()],1)},k=[];const w={components:{CustomFields:c,CustomFieldsLite:c},props:{type:{type:String,required:!0},object:{type:Object,required:!0},options:{type:Object,required:!0},showBulk:Boolean},computed:o({},y(["isUnlicensed"]))},p={};var D=l(w,$,k,!1,F,null,null,null);function F(t){for(let e in p)this[e]=p[e]}var B=function(){return D.exports}(),M=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"aioseo-search-appearance-content-types"},t._l(t.postTypes,function(s,m){return n("core-card",{key:m,attrs:{slug:s.name+"SA"},scopedSlots:t._u([{key:"header",fn:function(){return[n("div",{staticClass:"icon dashicons",class:""+(s.icon||"dashicons-admin-post")}),n("div",{domProps:{innerHTML:t._s(s.label)}})]},proxy:!0},{key:"tabs",fn:function(){return[n("core-main-tabs",{attrs:{tabs:t.tabs,showSaveButton:!1,active:t.settings.internalTabs[s.name+"SA"],internal:""},on:{changed:function(_){return t.processChangeTab(s.name,_)}}})]},proxy:!0}],null,!0)},[n("transition",{attrs:{name:"route-fade",mode:"out-in"}},[n(t.settings.internalTabs[s.name+"SA"],{tag:"component",attrs:{object:s,separator:t.options.searchAppearance.global.separator,options:t.dynamicOptions.searchAppearance.postTypes[s.name],type:"postTypes"}})],1)],1)}),1)},L=[];const O={components:{Advanced:A,CoreCard:T,CoreMainTabs:j,CustomFields:B,Schema:x,TitleDescription:S},data(){return{internalDebounce:null,tabs:[{slug:"title-description",name:"Title & Description",access:"aioseo_search_appearance_settings",pro:!1},{slug:"schema",name:"Schema Markup",access:"aioseo_search_appearance_settings",pro:!0},{slug:"custom-fields",name:"Custom Fields",access:"aioseo_search_appearance_settings",pro:!0},{slug:"advanced",name:"Advanced",access:"aioseo_search_appearance_settings",pro:!1}]}},computed:r(o({},g(["options","dynamicOptions","settings"])),{postTypes(){return this.$aioseo.postData.postTypes.filter(t=>t.name!=="attachment")}}),methods:r(o({},C(["changeTab"])),{processChangeTab(t,e){this.internalDebounce||(this.internalDebounce=!0,this.changeTab({slug:`${t}SA`,value:e}),setTimeout(()=>{this.internalDebounce=!1},50))}})},u={};var U=l(O,M,L,!1,q,null,null,null);function q(t){for(let e in u)this[e]=u[e]}var ft=function(){return U.exports}();export{ft as default};
|
dist/Lite/assets/js/DatabaseTools.3ec55aa1.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
var d=Object.defineProperty,u=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var r=(s,t,e)=>t in s?d(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,i=(s,t)=>{for(var e in t||(t={}))_.call(t,e)&&r(s,e,t[e]);if(a)for(var e of a(t))m.call(t,e)&&r(s,e,t[e]);return s},n=(s,t)=>u(s,p(t));import{f}from"./index.aff2f9f0.js";import{a as h}from"./ToolsSettings.60cea1aa.js";import{n as b}from"./vueComponentNormalizer.87056a83.js";import{B as L}from"./Checkbox.5873a8d2.js";import{C as v}from"./Index.05d0e847.js";import{C as S}from"./Card.86b7d3cc.js";import{C as k}from"./Modal.6e29e2c8.js";import{C as B}from"./SettingsRow.eb71f07b.js";import{G as y,a as C}from"./Row.13b6f3f1.js";import{S as w}from"./Checkmark.e7547654.js";import{S as z}from"./index.4ee805df.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";var $=function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{staticClass:"aioseo-tools-database-tools"},[e("core-card",{attrs:{slug:"databaseTools","header-text":s.strings.resetRestoreSettings}},[e("core-settings-row",{attrs:{name:s.strings.selectSettings},scopedSlots:s._u([{key:"content",fn:function(){return[s.showSuccess?e("core-alert",{staticClass:"reset-success",attrs:{type:"green"}},[s._v(" "+s._s(s.strings.resetSuccess)+" ")]):s._e(),e("div",{staticClass:"reset-settings"},[s._v(" "+s._s(s.strings.selectSettingsToReset)+" "),e("br"),e("br"),e("grid-row",{staticClass:"settings"},[e("grid-column",[e("base-checkbox",{attrs:{size:"medium"},model:{value:s.options.all,callback:function(o){s.$set(s.options,"all",o)},expression:"options.all"}},[s._v(" "+s._s(s.strings.allSettings)+" ")])],1),s._l(s.toolsSettings,function(o,c){return e("grid-column",{key:c,attrs:{xl:"3",md:"4",sm:"6"}},[s.options.all?s._e():e("base-checkbox",{attrs:{size:"medium"},model:{value:s.options[o.value],callback:function(g){s.$set(s.options,o.value,g)},expression:"options[setting.value]"}},[s._v(" "+s._s(o.label)+" ")]),o.value!=="all"&&s.options.all?e("base-checkbox",{attrs:{size:"medium",value:!0,disabled:""}},[s._v(" "+s._s(o.label)+" ")]):s._e()],1)})],2),e("base-button",{attrs:{type:"gray",size:"medium",disabled:s.canReset},on:{click:function(o){s.showModal=!0}}},[s._v(" "+s._s(s.strings.resetSelectedSettings)+" ")])],1)]},proxy:!0}])})],1),s.showLogs?e("core-card",{attrs:{slug:"databaseToolsLogs","header-text":s.strings.logs},scopedSlots:s._u([{key:"tooltip",fn:function(){return[s._v(" "+s._s(s.strings.logsTooltip)+" ")]},proxy:!0}],null,!1,3934548655)},[s.$aioseo.data.logSizes.logs404?e("core-settings-row",{attrs:{name:s.strings.logs404,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[e("base-button",{staticClass:"clear-log",attrs:{type:"gray",size:"medium",loading:s.loadingLog==="logs404",disabled:s.disabledLog("logs404")},on:{click:function(o){return s.processClearLog("logs404")}}},[s.disabledLog("logs404")?e("span",[e("svg-checkmark"),s._v(" "+s._s(s.strings.cleared)+" ")],1):s._e(),s.disabledLog("logs404")?s._e():e("span",[s._v(" "+s._s(s.strings.clear404Logs)+" ")])]),e("div",{staticClass:"log-size"},[e("span",{staticClass:"size-dot",class:s.getSizeClass(s.$aioseo.data.logSizes.logs404.original)}),s._v(" "+s._s(s.$aioseo.data.logSizes.logs404.readable)+" ")])]},proxy:!0}],null,!1,1716809233)}):s._e(),s.$aioseo.data.logSizes.redirectLogs?e("core-settings-row",{attrs:{name:s.strings.redirectLogs,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[e("base-button",{staticClass:"clear-log",attrs:{type:"gray",size:"medium",loading:s.loadingLog==="redirectLogs",disabled:s.disabledLog("redirectLogs")},on:{click:function(o){return s.processClearLog("redirectLogs")}}},[s.disabledLog("redirectLogs")?e("span",[e("svg-checkmark"),s._v(" "+s._s(s.strings.cleared)+" ")],1):s._e(),s.disabledLog("redirectLogs")?s._e():e("span",[s._v(" "+s._s(s.strings.clearRedirectLogs)+" ")])]),e("div",{staticClass:"log-size"},[e("span",{staticClass:"size-dot",class:s.getSizeClass(s.$aioseo.data.logSizes.redirectLogs.original)}),s._v(" "+s._s(s.$aioseo.data.logSizes.redirectLogs.readable)+" ")])]},proxy:!0}],null,!1,4167017073)}):s._e(),s.showBadBotBlockerLogs?e("core-settings-row",{attrs:{name:s.strings.badBotBlockerLogs,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[e("base-button",{staticClass:"clear-log",attrs:{type:"gray",size:"medium",loading:s.loadingLog==="badBotBlockerLog",disabled:s.disabledLog("badBotBlockerLog")},on:{click:function(o){return s.processClearLog("badBotBlockerLog")}}},[s.disabledLog("badBotBlockerLog")?e("span",[e("svg-checkmark"),s._v(" "+s._s(s.strings.cleared)+" ")],1):s._e(),s.disabledLog("badBotBlockerLog")?s._e():e("span",[s._v(" "+s._s(s.strings.clearBadBotBlockerLogs)+" ")])]),e("div",{staticClass:"log-size"},[e("span",{staticClass:"size-dot",class:s.getSizeClass(s.$aioseo.data.logSizes.badBotBlockerLog.original)}),s._v(" "+s._s(s.$aioseo.data.logSizes.badBotBlockerLog.readable)+" ")])]},proxy:!0}],null,!1,649968002)}):s._e()],1):s._e(),s.showModal?e("core-modal",{attrs:{"no-header":""},scopedSlots:s._u([{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body"},[e("button",{staticClass:"close",on:{click:function(o){o.stopPropagation(),s.showModal=!1}}},[e("svg-close",{on:{click:function(o){s.showModal=!1}}})],1),e("h3",[s._v(s._s(s.strings.areYouSureReset))]),e("div",{staticClass:"reset-description",domProps:{innerHTML:s._s(s.strings.actionCannotBeUndone)}}),e("base-button",{attrs:{type:"blue",size:"medium",loading:s.loading},on:{click:s.processResetSettings}},[s._v(" "+s._s(s.strings.yesIHaveBackup)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(o){s.showModal=!1}}},[s._v(" "+s._s(s.strings.noBackup)+" ")])],1)]},proxy:!0}],null,!1,2298756748)}):s._e()],1)},x=[];const R={components:{BaseCheckbox:L,CoreAlert:v,CoreCard:S,CoreModal:k,CoreSettingsRow:B,GridColumn:y,GridRow:C,SvgCheckmark:w,SvgClose:z},mixins:[h],data(){return{clearedLogs:{badBotBlockerLogs:!1,redirectLogs:!1,logs404:!1},showModal:!1,loading:!1,loadingLog:null,showSuccess:!1,options:{},strings:{resetRestoreSettings:"Reset / Restore Settings",selectSettings:"Select Settings",selectSettingsToReset:"Select settings that you would like to reset:",resetSelectedSettings:"Reset Selected Settings to Default",resetSuccess:"Your settings have been reset successfully!",areYouSureReset:"Are you sure you want to reset the selected settings to default?",actionCannotBeUndone:this.$t.sprintf("This action cannot be undone. Before taking this action, we recommend that you make a %1$sfull website backup first%2$s.","<strong>","</strong>"),yesIHaveBackup:"Yes, I have a backup and want to reset the settings",noBackup:"No, I need to make a backup",logs:"Logs",badBotBlockerLogs:"Bad Bot Blocker Logs",cleared:"Cleared",clearBadBotBlockerLogs:"Clear Bad Bot Blocker Logs",logs404:"404 Logs",clear404Logs:"Clear 404 Logs",redirectLogs:"Redirect Logs",clearRedirectLogs:"Clear Redirect Logs",allSettings:this.$t.sprintf("All %1$s Settings","AIOSEO"),logsTooltip:`Log sizes may fluctuate and not always be 100% accurate since the results can be cached. Also after clearing a log, it may not show as "0" since database tables also include additional information such as indexes that we don't clear.`}}},computed:{canReset(){const s=[];return Object.keys(this.options).forEach(t=>{s.push(this.options[t])}),!s.some(t=>t)},showLogs(){return this.showBadBotBlockerLogs||this.$aioseo.data.logSizes.redirectLogs||this.$aioseo.data.logSizes.logs404},showBadBotBlockerLogs(){return window.aioseo.internalOptions.internal.deprecatedOptions.includes("badBotBlocker")}},methods:n(i({},f(["resetSettings","clearLog"])),{processResetSettings(){const s=[];this.options.all?this.toolsSettings.filter(t=>t.value!=="all").forEach(t=>{s.push(t.value)}):Object.keys(this.options).forEach(t=>{this.options[t]&&s.push(t)}),this.loading=!0,this.resetSettings(s).then(()=>{this.showModal=!1,this.loading=!1,this.showSuccess=!0,this.options={},setTimeout(()=>{this.showSuccess=!1},5e3)})},getSizeClass(s){let t="green";return 262144e3<s?t="orange":1073741274<s&&(t="red"),t},processClearLog(s){this.loadingLog=s,this.clearLog(s).then(()=>{this.loadingLog=null,this.clearedLogs[s]=!0})},disabledLog(s){return!this.$aioseo.data.logSizes[s].original||this.clearedLogs[s]}})},l={};var T=b(R,$,x,!1,M,null,null,null);function M(s){for(let t in l)this[t]=l[t]}var Q=function(){return T.exports}();export{Q as default};
|
|
dist/Lite/assets/js/DatabaseTools.9b49e639.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
var d=Object.defineProperty,u=Object.defineProperties;var p=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var _=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var r=(s,t,e)=>t in s?d(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,i=(s,t)=>{for(var e in t||(t={}))_.call(t,e)&&r(s,e,t[e]);if(a)for(var e of a(t))m.call(t,e)&&r(s,e,t[e]);return s},n=(s,t)=>u(s,p(t));import{j as f}from"./index.0f8634bc.js";import{a as h}from"./ToolsSettings.4a14c135.js";import{n as b}from"./vueComponentNormalizer.87056a83.js";import{B as L}from"./Checkbox.5873a8d2.js";import{C as v}from"./Index.6d59ffe7.js";import{C as S}from"./Card.5e3c0ad5.js";import{C as k}from"./Modal.9868073f.js";import{C as B}from"./SettingsRow.eb71f07b.js";import{G as y,a as C}from"./Row.13b6f3f1.js";import{S as w}from"./Checkmark.e7547654.js";import{S as z}from"./index.02c35f2a.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";var $=function(){var s=this,t=s.$createElement,e=s._self._c||t;return e("div",{staticClass:"aioseo-tools-database-tools"},[e("core-card",{attrs:{slug:"databaseTools","header-text":s.strings.resetRestoreSettings}},[e("core-settings-row",{attrs:{name:s.strings.selectSettings},scopedSlots:s._u([{key:"content",fn:function(){return[s.showSuccess?e("core-alert",{staticClass:"reset-success",attrs:{type:"green"}},[s._v(" "+s._s(s.strings.resetSuccess)+" ")]):s._e(),e("div",{staticClass:"reset-settings"},[s._v(" "+s._s(s.strings.selectSettingsToReset)+" "),e("br"),e("br"),e("grid-row",{staticClass:"settings"},[e("grid-column",[e("base-checkbox",{attrs:{size:"medium"},model:{value:s.options.all,callback:function(o){s.$set(s.options,"all",o)},expression:"options.all"}},[s._v(" "+s._s(s.strings.allSettings)+" ")])],1),s._l(s.toolsSettings,function(o,c){return e("grid-column",{key:c,attrs:{xl:"3",md:"4",sm:"6"}},[s.options.all?s._e():e("base-checkbox",{attrs:{size:"medium"},model:{value:s.options[o.value],callback:function(g){s.$set(s.options,o.value,g)},expression:"options[setting.value]"}},[s._v(" "+s._s(o.label)+" ")]),o.value!=="all"&&s.options.all?e("base-checkbox",{attrs:{size:"medium",value:!0,disabled:""}},[s._v(" "+s._s(o.label)+" ")]):s._e()],1)})],2),e("base-button",{attrs:{type:"gray",size:"medium",disabled:s.canReset},on:{click:function(o){s.showModal=!0}}},[s._v(" "+s._s(s.strings.resetSelectedSettings)+" ")])],1)]},proxy:!0}])})],1),s.showLogs?e("core-card",{attrs:{slug:"databaseToolsLogs","header-text":s.strings.logs},scopedSlots:s._u([{key:"tooltip",fn:function(){return[s._v(" "+s._s(s.strings.logsTooltip)+" ")]},proxy:!0}],null,!1,3934548655)},[s.$aioseo.data.logSizes.logs404?e("core-settings-row",{attrs:{name:s.strings.logs404,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[e("base-button",{staticClass:"clear-log",attrs:{type:"gray",size:"medium",loading:s.loadingLog==="logs404",disabled:s.disabledLog("logs404")},on:{click:function(o){return s.processClearLog("logs404")}}},[s.disabledLog("logs404")?e("span",[e("svg-checkmark"),s._v(" "+s._s(s.strings.cleared)+" ")],1):s._e(),s.disabledLog("logs404")?s._e():e("span",[s._v(" "+s._s(s.strings.clear404Logs)+" ")])]),e("div",{staticClass:"log-size"},[e("span",{staticClass:"size-dot",class:s.getSizeClass(s.$aioseo.data.logSizes.logs404.original)}),s._v(" "+s._s(s.$aioseo.data.logSizes.logs404.readable)+" ")])]},proxy:!0}],null,!1,1716809233)}):s._e(),s.$aioseo.data.logSizes.redirectLogs?e("core-settings-row",{attrs:{name:s.strings.redirectLogs,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[e("base-button",{staticClass:"clear-log",attrs:{type:"gray",size:"medium",loading:s.loadingLog==="redirectLogs",disabled:s.disabledLog("redirectLogs")},on:{click:function(o){return s.processClearLog("redirectLogs")}}},[s.disabledLog("redirectLogs")?e("span",[e("svg-checkmark"),s._v(" "+s._s(s.strings.cleared)+" ")],1):s._e(),s.disabledLog("redirectLogs")?s._e():e("span",[s._v(" "+s._s(s.strings.clearRedirectLogs)+" ")])]),e("div",{staticClass:"log-size"},[e("span",{staticClass:"size-dot",class:s.getSizeClass(s.$aioseo.data.logSizes.redirectLogs.original)}),s._v(" "+s._s(s.$aioseo.data.logSizes.redirectLogs.readable)+" ")])]},proxy:!0}],null,!1,4167017073)}):s._e(),s.showBadBotBlockerLogs?e("core-settings-row",{attrs:{name:s.strings.badBotBlockerLogs,align:""},scopedSlots:s._u([{key:"content",fn:function(){return[e("base-button",{staticClass:"clear-log",attrs:{type:"gray",size:"medium",loading:s.loadingLog==="badBotBlockerLog",disabled:s.disabledLog("badBotBlockerLog")},on:{click:function(o){return s.processClearLog("badBotBlockerLog")}}},[s.disabledLog("badBotBlockerLog")?e("span",[e("svg-checkmark"),s._v(" "+s._s(s.strings.cleared)+" ")],1):s._e(),s.disabledLog("badBotBlockerLog")?s._e():e("span",[s._v(" "+s._s(s.strings.clearBadBotBlockerLogs)+" ")])]),e("div",{staticClass:"log-size"},[e("span",{staticClass:"size-dot",class:s.getSizeClass(s.$aioseo.data.logSizes.badBotBlockerLog.original)}),s._v(" "+s._s(s.$aioseo.data.logSizes.badBotBlockerLog.readable)+" ")])]},proxy:!0}],null,!1,649968002)}):s._e()],1):s._e(),s.showModal?e("core-modal",{attrs:{"no-header":""},scopedSlots:s._u([{key:"body",fn:function(){return[e("div",{staticClass:"aioseo-modal-body"},[e("button",{staticClass:"close",on:{click:function(o){o.stopPropagation(),s.showModal=!1}}},[e("svg-close",{on:{click:function(o){s.showModal=!1}}})],1),e("h3",[s._v(s._s(s.strings.areYouSureReset))]),e("div",{staticClass:"reset-description",domProps:{innerHTML:s._s(s.strings.actionCannotBeUndone)}}),e("base-button",{attrs:{type:"blue",size:"medium",loading:s.loading},on:{click:s.processResetSettings}},[s._v(" "+s._s(s.strings.yesIHaveBackup)+" ")]),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(o){s.showModal=!1}}},[s._v(" "+s._s(s.strings.noBackup)+" ")])],1)]},proxy:!0}],null,!1,2298756748)}):s._e()],1)},x=[];const R={components:{BaseCheckbox:L,CoreAlert:v,CoreCard:S,CoreModal:k,CoreSettingsRow:B,GridColumn:y,GridRow:C,SvgCheckmark:w,SvgClose:z},mixins:[h],data(){return{clearedLogs:{badBotBlockerLogs:!1,redirectLogs:!1,logs404:!1},showModal:!1,loading:!1,loadingLog:null,showSuccess:!1,options:{},strings:{resetRestoreSettings:"Reset / Restore Settings",selectSettings:"Select Settings",selectSettingsToReset:"Select settings that you would like to reset:",resetSelectedSettings:"Reset Selected Settings to Default",resetSuccess:"Your settings have been reset successfully!",areYouSureReset:"Are you sure you want to reset the selected settings to default?",actionCannotBeUndone:this.$t.sprintf("This action cannot be undone. Before taking this action, we recommend that you make a %1$sfull website backup first%2$s.","<strong>","</strong>"),yesIHaveBackup:"Yes, I have a backup and want to reset the settings",noBackup:"No, I need to make a backup",logs:"Logs",badBotBlockerLogs:"Bad Bot Blocker Logs",cleared:"Cleared",clearBadBotBlockerLogs:"Clear Bad Bot Blocker Logs",logs404:"404 Logs",clear404Logs:"Clear 404 Logs",redirectLogs:"Redirect Logs",clearRedirectLogs:"Clear Redirect Logs",allSettings:this.$t.sprintf("All %1$s Settings","AIOSEO"),logsTooltip:`Log sizes may fluctuate and not always be 100% accurate since the results can be cached. Also after clearing a log, it may not show as "0" since database tables also include additional information such as indexes that we don't clear.`}}},computed:{canReset(){const s=[];return Object.keys(this.options).forEach(t=>{s.push(this.options[t])}),!s.some(t=>t)},showLogs(){return this.showBadBotBlockerLogs||this.$aioseo.data.logSizes.redirectLogs||this.$aioseo.data.logSizes.logs404},showBadBotBlockerLogs(){return window.aioseo.internalOptions.internal.deprecatedOptions.includes("badBotBlocker")}},methods:n(i({},f(["resetSettings","clearLog"])),{processResetSettings(){const s=[];this.options.all?this.toolsSettings.filter(t=>t.value!=="all").forEach(t=>{s.push(t.value)}):Object.keys(this.options).forEach(t=>{this.options[t]&&s.push(t)}),this.loading=!0,this.resetSettings(s).then(()=>{this.showModal=!1,this.loading=!1,this.showSuccess=!0,this.options={},setTimeout(()=>{this.showSuccess=!1},5e3)})},getSizeClass(s){let t="green";return 262144e3<s?t="orange":1073741274<s&&(t="red"),t},processClearLog(s){this.loadingLog=s,this.clearLog(s).then(()=>{this.loadingLog=null,this.clearedLogs[s]=!0})},disabledLog(s){return!this.$aioseo.data.logSizes[s].original||this.clearedLogs[s]}})},l={};var T=b(R,$,x,!1,M,null,null,null);function M(s){for(let t in l)this[t]=l[t]}var Q=function(){return T.exports}();export{Q as default};
|
dist/Lite/assets/js/{Debug.2221e3ea.js → Debug.68b0d402.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var b=Object.defineProperty,C=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var r=(e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,i=(e,t)=>{for(var s in t||(t={}))D.call(t,s)&&r(e,s,t[s]);if(n)for(var s of n(t))M.call(t,s)&&r(e,s,t[s]);return e},c=(e,t)=>C(e,f(t));import{f as y,Q as k}from"./index.aff2f9f0.js";import{C as g}from"./Index.05d0e847.js";import{C as p}from"./Card.86b7d3cc.js";import{C as m}from"./Modal.6e29e2c8.js";import{C as _}from"./SettingsRow.eb71f07b.js";import{S as h}from"./index.4ee805df.js";import{n as o}from"./vueComponentNormalizer.87056a83.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./Row.13b6f3f1.js";var v={data(){const e=this.$t.sprintf('<a href="%1$s" target="_blank">Scheduled Actions</a>',this.$aioseo.urls.admin.scheduledActions);return{showAreYouSureModal:!1,loading:{clearCache:!1,readdCapabilities:!1,rerunMigrations:!1,removeDuplicates:!1,unescapeData:!1,clearImageData:!1,clearVideoData:!1,restartMigration:!1,undismissSuggestions:!1,clearLinkAssistantData:!1},strings:{debug:"Debug",warning:"Before you run any of these actions, make sure that you have fully read the description and understand the consequences as these cannot be reverted.",general:"General",clearCache:"Clear Cache",clearCacheDescription:"This action deletes all cache records in the database.",rerunMigrations:"Rerun Migrations",rerunMigrationsDescription:"This action will rerun all update migrations since 4.0.0, excluding the V3 migration (which can be retriggered below).",readdCapabilities:"Readd Capabilities",readdCapabilitiesDescription:"This action will readd our capabilities (permissions) for all users.",removeDuplicates:"Remove Duplicates",removeDuplicatesDescription:"This action will remove any duplicate records that are found in the <code>aioseo_posts</code> or <code>aioseo_terms</code> table.",unescapeData:"Unescape Data",unescapeDataDescription:this.$t.sprintf("This action will clean posts/terms whose data is corrupted via Action Scheduler. To speed up this process, go to %1$s and run the <code>aioseo_unslash_escaped_data_posts</code> or <code>aioseo_unslash_escaped_data_terms</code> action.",e),sitemap:"Sitemap",clearImageData:"Clear Image Data",clearImageDataDescription:this.$t.sprintf("This action removes all image data from the database, forcing a site-wide rescan via Action Scheduler. To speed up the image scan, go to %1$s and run the <code>aioseo_video_sitemap_scan</code> action.",e),clearVideoData:"Clear Video Data",clearVideoDataDescription:this.$t.sprintf("This action removes all video data from the database, forcing a site-wide rescan via Action Scheduler. To speed up the video scan, go to %1$s and run the <code>aioseo_video_sitemap_scan</code> action.",e),linkAssistant:"Link Assistant",undismissSuggestions:"Undismiss Suggestions",undismissSuggestionsDescription:this.$t.sprintf("This action removes the dismissed state from all suggestions, which makes them appear in the UI again.",e),clearLinkAssistantData:"Clear Data",clearLinkAssistantDataDescription:this.$t.sprintf("This action removes all Link Assistant data from the database, forcing a site-wide rescan via Action Scheduler. The various Link Assistant scans can be sped up through the %1$s",e),restartMigration:"Restart v3 Migration",restartMigrationDescriptionPart1:"This action restarts the migration from v3 to v4. All settings are overidden immediately; the post/term meta will gradually be updated via Action Scheduler.",restartMigrationDescriptionPart2:this.$t.sprintf("To speed up the post/term meta migration, go to %1$s and run the <code>aioseo_migrate_post_meta</code> or <code>aioseo_migrate_term_meta action</code>.",e),areYouSureTitle:"Are you sure you want to restart the migration?",cannotBeUndone:"This action cannot be undone.",startMigration:"Yes, restart the migration",noChangedMind:"No, I changed my mind",migration:"Migration"}}},methods:c(i({},y(["doTask"])),{clearCache(){this.loading.clearingCache=!0,this.doTask("clear-cache").then(()=>{this.loading.clearingCache=!1,console.log("Cache has been cleared.")},e=>console.error("Cache could not be cleared:",e))},readdCapabilities(){this.loading.readdCapabilities=!0,this.doTask("readd-capabilities").then(()=>{this.loading.readdCapabilities=!1,console.log("Capabilities have been readded.")},e=>console.error("Capabilities could not be readded:",e))},rerunMigrations(){this.loading.rerunMigrations=!0,this.doTask("rerun-migrations").then(()=>{this.loading.rerunMigrations=!1,console.log("Migrations have been restarted.")},e=>console.error("Migrations could not be restarted:",e))},removeDuplicates(){this.loading.removeDuplicates=!0,this.doTask("remove-duplicates").then(()=>{this.loading.removeDuplicates=!1,console.log("Duplicates have been removed.")},e=>console.error("Duplicates could not be removed:",e))},unescapeData(){this.loading.unescapeData=!0,this.doTask("unescape-data").then(()=>{this.loading.unescapeData=!1,console.log("Cleaning procedure for escaped data has been scheduled.")},e=>console.error("Cleaning procedure for escaped data could not be scheduled:",e))},clearImageData(){this.loading.clearImageData=!0,this.doTask("clear-image-data").then(()=>{this.loading.clearImageData=!1,console.log("Image data has been wiped.")},e=>console.error("Image data could not be wiped:",e))},clearVideoData(){this.loading.clearVideoData=!0,this.doTask("clear-video-data").then(()=>{this.loading.clearVideoData=!1,console.log("Video data has been cleared.")},e=>console.error("Video data could not be cleared:",e))},undismissSuggestions(){this.loading.undismissSuggestions=!0,this.doTask("undismiss-suggestions").then(()=>{this.loading.undismissSuggestions=!1,console.log("Suggestions have been undismissed.")},e=>console.error("Suggestions could not be undismissed:",e))},clearLinkAssistantData(){this.loading.clearLinkAssistantData=!0,this.doTask("clear-link-assistant-data").then(()=>{this.loading.clearLinkAssistantData=!1,console.log("Link Assistant data has been cleared.")},e=>console.error("Link data Assistant could not be cleared:",e))},maybeRestartMigration(){this.showAreYouSureModal=!0},restartMigration(){this.showAreYouSureModal=!1,this.loading.restartMigration=!0,this.doTask("restart-v3-migration").then(()=>{this.loading.restartMigration=!1,console.log("Migration has been restarted.")},e=>console.error("Migration could not be restarted:",e))}})},w=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-tools-debug"},[s("core-card",{attrs:{slug:"debug","header-text":e.strings.debug}},[s("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[e._v(" "+e._s(e.strings.warning)+" ")]),s("core-settings-row",{staticClass:"first-row",attrs:{name:e.strings.general,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-cache",attrs:{type:"blue",size:"medium",loading:e.loading.clearCache},on:{click:e.clearCache}},[e._v(" "+e._s(e.strings.clearCache)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.clearCacheDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"readd-capabilities",attrs:{type:"blue",size:"medium",loading:e.loading.readdCapabilities},on:{click:e.readdCapabilities}},[e._v(" "+e._s(e.strings.readdCapabilities)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.readdCapabilitiesDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"rerun-migrations",attrs:{type:"blue",size:"medium",loading:e.loading.rerunMigrations},on:{click:e.rerunMigrations}},[e._v(" "+e._s(e.strings.rerunMigrations)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.rerunMigrationsDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"remove-duplicates",attrs:{type:"blue",size:"medium",loading:e.loading.removeDuplicates},on:{click:e.removeDuplicates}},[e._v(" "+e._s(e.strings.removeDuplicates)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.removeDuplicatesDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"unescape-data",attrs:{type:"blue",size:"medium",loading:e.loading.unescapeData},on:{click:e.unescapeData}},[e._v(" "+e._s(e.strings.unescapeData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.unescapeDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.sitemap,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-image-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearImageData},on:{click:e.clearImageData}},[e._v(" "+e._s(e.strings.clearImageData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearImageDataDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-video-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearVideoData},on:{click:e.clearVideoData}},[e._v(" "+e._s(e.strings.clearVideoData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearVideoDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.linkAssistant,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"undismiss-suggestions",attrs:{type:"blue",size:"medium",loading:e.loading.undismissSuggestions},on:{click:e.undismissSuggestions}},[e._v(" "+e._s(e.strings.undismissSuggestions)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.undismissSuggestionsDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-link-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearLinkAssistantData},on:{click:e.clearLinkAssistantData}},[e._v(" "+e._s(e.strings.clearLinkAssistantData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearLinkAssistantDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.migration,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e.$aioseo.data.isDev?s("base-button",{staticClass:"redo-v3-migration",attrs:{type:"blue",size:"medium",loading:e.loading.restartMigration},on:{click:e.maybeRestartMigration}},[e._v(" "+e._s(e.strings.restartMigration)+" ")]):e._e(),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.restartMigrationDescriptionPart1)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.restartMigrationDescriptionPart2)}})]},proxy:!0}])}),e.showAreYouSureModal?s("core-modal",{attrs:{"no-header":""},scopedSlots:e._u([{key:"body",fn:function(){return[s("div",{staticClass:"aioseo-modal-body"},[s("button",{staticClass:"close",on:{click:function(a){a.stopPropagation(),e.showAreYouSureModal=!1}}},[s("svg-close",{on:{click:function(a){e.showDeleteModal=!1}}})],1),s("h3",[e._v(e._s(e.strings.areYouSureTitle))]),s("div",{staticClass:"reset-description",domProps:{innerHTML:e._s(e.strings.cannotBeUndone)}}),s("base-button",{attrs:{type:"blue",size:"medium"},on:{click:e.restartMigration}},[e._v(" "+e._s(e.strings.startMigration)+" ")]),s("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(a){e.showAreYouSureModal=!1}}},[e._v(" "+e._s(e.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,14870036)}):e._e()],1)],1)},S=[];const T={components:{CoreAlert:g,CoreCard:p,CoreModal:m,CoreSettingsRow:_,SvgClose:h},mixins:[v]},l={};var A=o(T,w,S,!1,$,null,null,null);function $(e){for(let t in l)this[t]=l[t]}var L=function(){return A.exports}(),x=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-tools-debug"},[s("core-card",{attrs:{slug:"debug","header-text":e.strings.debug}},[s("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[e._v(" "+e._s(e.strings.warning)+" ")]),s("core-settings-row",{staticClass:"first-row",attrs:{name:e.strings.general,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-cache",attrs:{type:"blue",size:"medium",loading:e.loading.clearCache},on:{click:e.clearCache}},[e._v(" "+e._s(e.strings.clearCache)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.clearCacheDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"readd-capabilities",attrs:{type:"blue",size:"medium",loading:e.loading.readdCapabilities},on:{click:e.readdCapabilities}},[e._v(" "+e._s(e.strings.readdCapabilities)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.readdCapabilitiesDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"rerun-migrations",attrs:{type:"blue",size:"medium",loading:e.loading.rerunMigrations},on:{click:e.rerunMigrations}},[e._v(" "+e._s(e.strings.rerunMigrations)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.rerunMigrationsDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"remove-duplicates",attrs:{type:"blue",size:"medium",loading:e.loading.removeDuplicates},on:{click:e.removeDuplicates}},[e._v(" "+e._s(e.strings.removeDuplicates)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.removeDuplicatesDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"unescape-data",attrs:{type:"blue",size:"medium",loading:e.loading.unescapeData},on:{click:e.unescapeData}},[e._v(" "+e._s(e.strings.unescapeData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.unescapeDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:"Sitemap",align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-image-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearImageData},on:{click:e.clearImageData}},[e._v(" "+e._s(e.strings.clearImageData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearImageDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.migration,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e.$aioseo.data.isDev?s("base-button",{staticClass:"redo-v3-migration",attrs:{type:"blue",size:"medium",loading:e.loading.restartMigration},on:{click:e.maybeRestartMigration}},[e._v(" "+e._s(e.strings.restartMigration)+" ")]):e._e(),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.restartMigrationDescriptionPart1)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.restartMigrationDescriptionPart2)}})]},proxy:!0}])}),e.showAreYouSureModal?s("core-modal",{attrs:{"no-header":""},scopedSlots:e._u([{key:"body",fn:function(){return[s("div",{staticClass:"aioseo-modal-body"},[s("button",{staticClass:"close",on:{click:function(a){a.stopPropagation(),e.showAreYouSureModal=!1}}},[s("svg-close",{on:{click:function(a){e.showDeleteModal=!1}}})],1),s("h3",[e._v(e._s(e.strings.areYouSureTitle))]),s("div",{staticClass:"reset-description",domProps:{innerHTML:e._s(e.strings.cannotBeUndone)}}),s("base-button",{attrs:{type:"blue",size:"medium"},on:{click:e.restartMigration}},[e._v(" "+e._s(e.strings.startMigration)+" ")]),s("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(a){e.showAreYouSureModal=!1}}},[e._v(" "+e._s(e.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,14870036)}):e._e()],1)],1)},P=[];const z={components:{CoreAlert:g,CoreCard:p,CoreModal:m,CoreSettingsRow:_,SvgClose:h},mixins:[v]},d={};var I=o(z,x,P,!1,V,null,null,null);function V(e){for(let t in d)this[t]=d[t]}var H=function(){return I.exports}(),Y=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-tools-debug"},[e.$isPro&&e.$aioseo.data.isDev?s("Debug"):e._e(),!e.$isPro&&e.$aioseo.data.isDev?s("DebugLite"):e._e()],1)},R=[];const U={components:{Debug:L,DebugLite:H},computed:i({},k(["isUnlicensed"]))},u={};var B=o(U,Y,R,!1,j,null,null,null);function j(e){for(let t in u)this[t]=u[t]}var se=function(){return B.exports}();export{se as default};
|
1 |
+
var b=Object.defineProperty,C=Object.defineProperties;var D=Object.getOwnPropertyDescriptors;var n=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,M=Object.prototype.propertyIsEnumerable;var r=(e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,i=(e,t)=>{for(var s in t||(t={}))f.call(t,s)&&r(e,s,t[s]);if(n)for(var s of n(t))M.call(t,s)&&r(e,s,t[s]);return e},c=(e,t)=>C(e,D(t));import{j as y,e as k}from"./index.0f8634bc.js";import{C as g}from"./Index.6d59ffe7.js";import{C as p}from"./Card.5e3c0ad5.js";import{C as m}from"./Modal.9868073f.js";import{C as _}from"./SettingsRow.eb71f07b.js";import{S as h}from"./index.02c35f2a.js";import{n as o}from"./vueComponentNormalizer.87056a83.js";import"./Tooltip.674a9fb4.js";import"./client.93f15631.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./Row.13b6f3f1.js";var v={data(){const e=this.$t.sprintf('<a href="%1$s" target="_blank">Scheduled Actions</a>',this.$aioseo.urls.admin.scheduledActions);return{showAreYouSureModal:!1,loading:{clearCache:!1,readdCapabilities:!1,rerunMigrations:!1,removeDuplicates:!1,unescapeData:!1,clearImageData:!1,clearVideoData:!1,restartMigration:!1,undismissSuggestions:!1,clearLinkAssistantData:!1},strings:{debug:"Debug",warning:"Before you run any of these actions, make sure that you have fully read the description and understand the consequences as these cannot be reverted.",general:"General",clearCache:"Clear Cache",clearCacheDescription:"This action deletes all cache records in the database.",rerunMigrations:"Rerun Migrations",rerunMigrationsDescription:"This action will rerun all update migrations since 4.0.0, excluding the V3 migration (which can be retriggered below).",readdCapabilities:"Readd Capabilities",readdCapabilitiesDescription:"This action will readd our capabilities (permissions) for all users.",removeDuplicates:"Remove Duplicates",removeDuplicatesDescription:"This action will remove any duplicate records that are found in the <code>aioseo_posts</code> or <code>aioseo_terms</code> table.",unescapeData:"Unescape Data",unescapeDataDescription:this.$t.sprintf("This action will clean posts/terms whose data is corrupted via Action Scheduler. To speed up this process, go to %1$s and run the <code>aioseo_unslash_escaped_data_posts</code> or <code>aioseo_unslash_escaped_data_terms</code> action.",e),sitemap:"Sitemap",clearImageData:"Clear Image Data",clearImageDataDescription:this.$t.sprintf("This action removes all image data from the database, forcing a site-wide rescan via Action Scheduler. To speed up the image scan, go to %1$s and run the <code>aioseo_video_sitemap_scan</code> action.",e),clearVideoData:"Clear Video Data",clearVideoDataDescription:this.$t.sprintf("This action removes all video data from the database, forcing a site-wide rescan via Action Scheduler. To speed up the video scan, go to %1$s and run the <code>aioseo_video_sitemap_scan</code> action.",e),linkAssistant:"Link Assistant",undismissSuggestions:"Undismiss Suggestions",undismissSuggestionsDescription:this.$t.sprintf("This action removes the dismissed state from all suggestions, which makes them appear in the UI again.",e),clearLinkAssistantData:"Clear Data",clearLinkAssistantDataDescription:this.$t.sprintf("This action removes all Link Assistant data from the database, forcing a site-wide rescan via Action Scheduler. The various Link Assistant scans can be sped up through the %1$s",e),restartMigration:"Restart v3 Migration",restartMigrationDescriptionPart1:"This action restarts the migration from v3 to v4. All settings are overidden immediately; the post/term meta will gradually be updated via Action Scheduler.",restartMigrationDescriptionPart2:this.$t.sprintf("To speed up the post/term meta migration, go to %1$s and run the <code>aioseo_migrate_post_meta</code> or <code>aioseo_migrate_term_meta action</code>.",e),areYouSureTitle:"Are you sure you want to restart the migration?",cannotBeUndone:"This action cannot be undone.",startMigration:"Yes, restart the migration",noChangedMind:"No, I changed my mind",migration:"Migration"}}},methods:c(i({},y(["doTask"])),{clearCache(){this.loading.clearingCache=!0,this.doTask("clear-cache").then(()=>{this.loading.clearingCache=!1,console.log("Cache has been cleared.")},e=>console.error("Cache could not be cleared:",e))},readdCapabilities(){this.loading.readdCapabilities=!0,this.doTask("readd-capabilities").then(()=>{this.loading.readdCapabilities=!1,console.log("Capabilities have been readded.")},e=>console.error("Capabilities could not be readded:",e))},rerunMigrations(){this.loading.rerunMigrations=!0,this.doTask("rerun-migrations").then(()=>{this.loading.rerunMigrations=!1,console.log("Migrations have been restarted.")},e=>console.error("Migrations could not be restarted:",e))},removeDuplicates(){this.loading.removeDuplicates=!0,this.doTask("remove-duplicates").then(()=>{this.loading.removeDuplicates=!1,console.log("Duplicates have been removed.")},e=>console.error("Duplicates could not be removed:",e))},unescapeData(){this.loading.unescapeData=!0,this.doTask("unescape-data").then(()=>{this.loading.unescapeData=!1,console.log("Cleaning procedure for escaped data has been scheduled.")},e=>console.error("Cleaning procedure for escaped data could not be scheduled:",e))},clearImageData(){this.loading.clearImageData=!0,this.doTask("clear-image-data").then(()=>{this.loading.clearImageData=!1,console.log("Image data has been wiped.")},e=>console.error("Image data could not be wiped:",e))},clearVideoData(){this.loading.clearVideoData=!0,this.doTask("clear-video-data").then(()=>{this.loading.clearVideoData=!1,console.log("Video data has been cleared.")},e=>console.error("Video data could not be cleared:",e))},undismissSuggestions(){this.loading.undismissSuggestions=!0,this.doTask("undismiss-suggestions").then(()=>{this.loading.undismissSuggestions=!1,console.log("Suggestions have been undismissed.")},e=>console.error("Suggestions could not be undismissed:",e))},clearLinkAssistantData(){this.loading.clearLinkAssistantData=!0,this.doTask("clear-link-assistant-data").then(()=>{this.loading.clearLinkAssistantData=!1,console.log("Link Assistant data has been cleared.")},e=>console.error("Link data Assistant could not be cleared:",e))},maybeRestartMigration(){this.showAreYouSureModal=!0},restartMigration(){this.showAreYouSureModal=!1,this.loading.restartMigration=!0,this.doTask("restart-v3-migration").then(()=>{this.loading.restartMigration=!1,console.log("Migration has been restarted.")},e=>console.error("Migration could not be restarted:",e))}})},w=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-tools-debug"},[s("core-card",{attrs:{slug:"debug","header-text":e.strings.debug}},[s("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[e._v(" "+e._s(e.strings.warning)+" ")]),s("core-settings-row",{staticClass:"first-row",attrs:{name:e.strings.general,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-cache",attrs:{type:"blue",size:"medium",loading:e.loading.clearCache},on:{click:e.clearCache}},[e._v(" "+e._s(e.strings.clearCache)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.clearCacheDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"readd-capabilities",attrs:{type:"blue",size:"medium",loading:e.loading.readdCapabilities},on:{click:e.readdCapabilities}},[e._v(" "+e._s(e.strings.readdCapabilities)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.readdCapabilitiesDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"rerun-migrations",attrs:{type:"blue",size:"medium",loading:e.loading.rerunMigrations},on:{click:e.rerunMigrations}},[e._v(" "+e._s(e.strings.rerunMigrations)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.rerunMigrationsDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"remove-duplicates",attrs:{type:"blue",size:"medium",loading:e.loading.removeDuplicates},on:{click:e.removeDuplicates}},[e._v(" "+e._s(e.strings.removeDuplicates)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.removeDuplicatesDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"unescape-data",attrs:{type:"blue",size:"medium",loading:e.loading.unescapeData},on:{click:e.unescapeData}},[e._v(" "+e._s(e.strings.unescapeData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.unescapeDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.sitemap,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-image-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearImageData},on:{click:e.clearImageData}},[e._v(" "+e._s(e.strings.clearImageData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearImageDataDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-video-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearVideoData},on:{click:e.clearVideoData}},[e._v(" "+e._s(e.strings.clearVideoData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearVideoDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.linkAssistant,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"undismiss-suggestions",attrs:{type:"blue",size:"medium",loading:e.loading.undismissSuggestions},on:{click:e.undismissSuggestions}},[e._v(" "+e._s(e.strings.undismissSuggestions)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.undismissSuggestionsDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-link-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearLinkAssistantData},on:{click:e.clearLinkAssistantData}},[e._v(" "+e._s(e.strings.clearLinkAssistantData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearLinkAssistantDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.migration,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e.$aioseo.data.isDev?s("base-button",{staticClass:"redo-v3-migration",attrs:{type:"blue",size:"medium",loading:e.loading.restartMigration},on:{click:e.maybeRestartMigration}},[e._v(" "+e._s(e.strings.restartMigration)+" ")]):e._e(),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.restartMigrationDescriptionPart1)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.restartMigrationDescriptionPart2)}})]},proxy:!0}])}),e.showAreYouSureModal?s("core-modal",{attrs:{"no-header":""},scopedSlots:e._u([{key:"body",fn:function(){return[s("div",{staticClass:"aioseo-modal-body"},[s("button",{staticClass:"close",on:{click:function(a){a.stopPropagation(),e.showAreYouSureModal=!1}}},[s("svg-close",{on:{click:function(a){e.showDeleteModal=!1}}})],1),s("h3",[e._v(e._s(e.strings.areYouSureTitle))]),s("div",{staticClass:"reset-description",domProps:{innerHTML:e._s(e.strings.cannotBeUndone)}}),s("base-button",{attrs:{type:"blue",size:"medium"},on:{click:e.restartMigration}},[e._v(" "+e._s(e.strings.startMigration)+" ")]),s("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(a){e.showAreYouSureModal=!1}}},[e._v(" "+e._s(e.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,14870036)}):e._e()],1)],1)},S=[];const T={components:{CoreAlert:g,CoreCard:p,CoreModal:m,CoreSettingsRow:_,SvgClose:h},mixins:[v]},l={};var A=o(T,w,S,!1,$,null,null,null);function $(e){for(let t in l)this[t]=l[t]}var L=function(){return A.exports}(),x=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-tools-debug"},[s("core-card",{attrs:{slug:"debug","header-text":e.strings.debug}},[s("core-alert",{staticClass:"warning",attrs:{type:"yellow"}},[e._v(" "+e._s(e.strings.warning)+" ")]),s("core-settings-row",{staticClass:"first-row",attrs:{name:e.strings.general,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-cache",attrs:{type:"blue",size:"medium",loading:e.loading.clearCache},on:{click:e.clearCache}},[e._v(" "+e._s(e.strings.clearCache)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.clearCacheDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"readd-capabilities",attrs:{type:"blue",size:"medium",loading:e.loading.readdCapabilities},on:{click:e.readdCapabilities}},[e._v(" "+e._s(e.strings.readdCapabilities)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.readdCapabilitiesDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"rerun-migrations",attrs:{type:"blue",size:"medium",loading:e.loading.rerunMigrations},on:{click:e.rerunMigrations}},[e._v(" "+e._s(e.strings.rerunMigrations)+" ")]),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.rerunMigrationsDescription)+" ")])],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"remove-duplicates",attrs:{type:"blue",size:"medium",loading:e.loading.removeDuplicates},on:{click:e.removeDuplicates}},[e._v(" "+e._s(e.strings.removeDuplicates)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.removeDuplicatesDescription)}})],1),s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"unescape-data",attrs:{type:"blue",size:"medium",loading:e.loading.unescapeData},on:{click:e.unescapeData}},[e._v(" "+e._s(e.strings.unescapeData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.unescapeDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:"Sitemap",align:""},scopedSlots:e._u([{key:"content",fn:function(){return[s("div",{staticClass:"action-row"},[s("base-button",{staticClass:"clear-image-data",attrs:{type:"blue",size:"medium",loading:e.loading.clearImageData},on:{click:e.clearImageData}},[e._v(" "+e._s(e.strings.clearImageData)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.clearImageDataDescription)}})],1)]},proxy:!0}])}),s("core-settings-row",{attrs:{name:e.strings.migration,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e.$aioseo.data.isDev?s("base-button",{staticClass:"redo-v3-migration",attrs:{type:"blue",size:"medium",loading:e.loading.restartMigration},on:{click:e.maybeRestartMigration}},[e._v(" "+e._s(e.strings.restartMigration)+" ")]):e._e(),s("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.restartMigrationDescriptionPart1)+" ")]),s("div",{staticClass:"aioseo-description",domProps:{innerHTML:e._s(e.strings.restartMigrationDescriptionPart2)}})]},proxy:!0}])}),e.showAreYouSureModal?s("core-modal",{attrs:{"no-header":""},scopedSlots:e._u([{key:"body",fn:function(){return[s("div",{staticClass:"aioseo-modal-body"},[s("button",{staticClass:"close",on:{click:function(a){a.stopPropagation(),e.showAreYouSureModal=!1}}},[s("svg-close",{on:{click:function(a){e.showDeleteModal=!1}}})],1),s("h3",[e._v(e._s(e.strings.areYouSureTitle))]),s("div",{staticClass:"reset-description",domProps:{innerHTML:e._s(e.strings.cannotBeUndone)}}),s("base-button",{attrs:{type:"blue",size:"medium"},on:{click:e.restartMigration}},[e._v(" "+e._s(e.strings.startMigration)+" ")]),s("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(a){e.showAreYouSureModal=!1}}},[e._v(" "+e._s(e.strings.noChangedMind)+" ")])],1)]},proxy:!0}],null,!1,14870036)}):e._e()],1)],1)},P=[];const z={components:{CoreAlert:g,CoreCard:p,CoreModal:m,CoreSettingsRow:_,SvgClose:h},mixins:[v]},d={};var I=o(z,x,P,!1,V,null,null,null);function V(e){for(let t in d)this[t]=d[t]}var H=function(){return I.exports}(),Y=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-tools-debug"},[e.$isPro&&e.$aioseo.data.isDev?s("Debug"):e._e(),!e.$isPro&&e.$aioseo.data.isDev?s("DebugLite"):e._e()],1)},R=[];const U={components:{Debug:L,DebugLite:H},computed:i({},k(["isUnlicensed"]))},u={};var j=o(U,Y,R,!1,B,null,null,null);function B(e){for(let t in u)this[t]=u[t]}var se=function(){return j.exports}();export{se as default};
|
dist/Lite/assets/js/DonutChartWithLegend.fe87aad2.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
import{U as u}from"./AnimatedNumber.b6059bfd.js";import{n as a}from"./vueComponentNormalizer.87056a83.js";var c=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("span",[t._t("default")],2)},d=[];const _={props:{targetLineCount:{default:1,type:Number},unit:{default:"px",type:String},min:{default:12,type:Number},max:{default:36,type:Number},constrainToElement:{type:[Boolean,Element],default(){return!1}},elementPadding:{type:Number,default(){return 0}}},data(){return{observer:null}},methods:{calculate(){const t=this.$el,n=this.unit==="px"?1:.05;let e=this.max;if(t.style.display="inline-block",t.style.lineHeight="1px",t.style.fontSize=e+this.unit,this.constrainToElement)for(;t.offsetWidth>this.constrainToElement.offsetWidth-this.elementPadding&&e>this.min;)e-=n,t.style.fontSize=e+this.unit;else for(;t.offsetHeight>this.targetLineCount&&e>this.min;)e-=n,t.style.fontSize=e+this.unit;this.$emit("resize",{size:e,unit:this.unit}),t.style.display=null,t.style.lineHeight=null}},mounted(){this.calculate(),"MutationObserver"in window&&this.observer===null&&(this.observer=new MutationObserver(this.calculate),this.observer.observe(this.$el,{subtree:!0,characterData:!0})),window.addEventListener("resize",this.calculate)},beforeDestroy:function(){this.observer.disconnect(),window.removeEventListener("resize",this.calculate)}},o={};var m=a(_,c,d,!1,h,null,null,null);function h(t){for(let n in o)this[n]=o[n]}var p=function(){return m.exports}(),v=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"aioseo-donut-chart"},[t.total===0?e("svg",{attrs:{viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{staticClass:"aioseo-donut-chart-score__circle",attrs:{stroke:"#e8e8eb","stroke-dasharray":"100","stroke-linecap":"round","stroke-width":2,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}})]):t._e(),0<t.total?e("svg",{attrs:{viewBox:"0 0 33.83098862 33.83098862",xmlns:"http://www.w3.org/2000/svg"}},[t._l(t.parts,function(r,s){return[Math.round(r.ratio)&&s!==0?e("circle",{key:s+"_border",staticClass:"aioseo-donut-chart-score__circle",attrs:{stroke:"#FFFFFF","stroke-dasharray":Math.round(r.ratio)+" "+parseFloat(99-Math.round(r.ratio)),"stroke-linecap":"round","stroke-width":2.5,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}}):t._e(),Math.round(r.ratio)?e("circle",{key:s+"_stroke",staticClass:"aioseo-donut-chart-score__circle",attrs:{stroke:r.color,"stroke-dasharray":(Math.round(r.ratio)===100?100:Math.round(r.ratio)-1)+" 100","stroke-linecap":"round","stroke-width":2,fill:"none",cx:"16.91549431",cy:"16.91549431",r:"15.91549431"}}):t._e()]})],2):t._e(),e("div",{staticClass:"total-amount-wrapper"},[e("div",{staticClass:"total-amount"},[e("div",{staticClass:"total"},[e("util-fit-text",{attrs:{max:40,"constrain-to-element":t.$el,"element-padding":30}},[t.animatedNumber?e("util-animated-number",{attrs:{number:parseInt(t.total)}}):e("div",{domProps:{innerHTML:t._s(parseInt(t.total))}})],1)],1),e("div",{staticClass:"label"},[t._v(t._s(t.label))])])])])},f=[];const y={components:{UtilAnimatedNumber:u,UtilFitText:p},props:{parts:{type:Array,required:!0},label:{type:String,required:!0},total:{type:Number,required:!0},animatedNumber:{type:Boolean,default(){return!0}}}},i={};var b=a(y,v,f,!1,g,null,null,null);function g(t){for(let n in i)this[n]=i[n]}var C=function(){return b.exports}(),k=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"aioseo-donut-chart-with-legend"},[e("div",{staticClass:"chart-left"},[e("core-donut-chart",{attrs:{parts:t.parts,total:t.total,label:t.label,animatedNumber:t.animatedNumber}})],1),e("div",{staticClass:"chart-right"},[t._l(t.sortedParts,function(r,s){return e("div",{key:s,staticClass:"legend"},[e("div",{staticClass:"legend-bullet",style:"background-color: "+r.color}),e("span",{staticClass:"legend-amount"},[t.animatedNumber?e("util-animated-number",{attrs:{number:parseInt(r.count)}}):e("div",{domProps:{innerHTML:t._s(parseInt(r.count))}})],1),e(r.link?"a":"span",{tag:"component",staticClass:"legend-label",class:{"is-link":r.link},attrs:{href:r.link||null}},[t._v(" "+t._s(r.name)+" ")])],1)}),t.link&&t.total>0?e("div",{staticClass:"chart-more"},[e("span",{domProps:{innerHTML:t._s(t.link)}})]):t._e()],2)])},w=[];const x={components:{CoreDonutChart:C,UtilAnimatedNumber:u},props:{parts:{type:Array,required:!0},total:{type:Number,required:!0},label:{type:String,required:!0},link:{type:String,required:!1},animatedNumber:{type:Boolean,default(){return!0}}},computed:{sortedParts(){const t=this.parts.map(n=>n);return t.forEach(function(n,e){n.last&&(t.push(t[e]),t.splice(e,1))}),t}}},l={};var $=a(x,k,w,!1,M,null,null,null);function M(t){for(let n in l)this[n]=l[n]}var F=function(){return $.exports}();export{F as C};
|
dist/Lite/assets/js/{Editor.b716a1f9.js → Editor.2fd4385f.js}
RENAMED
@@ -1,4 +1,4 @@
|
|
1 |
-
var Ht=Object.defineProperty,Ut=Object.defineProperties;var zt=Object.getOwnPropertyDescriptors;var wt=Object.getOwnPropertySymbols;var $t=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable;var _t=(U,P,y)=>P in U?Ht(U,P,{enumerable:!0,configurable:!0,writable:!0,value:y}):U[P]=y,yt=(U,P)=>{for(var y in P||(P={}))$t.call(P,y)&&_t(U,y,P[y]);if(wt)for(var y of wt(P))Vt.call(P,y)&&_t(U,y,P[y]);return U},At=(U,P)=>Ut(U,zt(P));var xt=(U,P,y)=>(_t(U,typeof P!="symbol"?P+"":P,y),y);import{d as St}from"./index.
|
2 |
* Quill Editor v1.3.7
|
3 |
* https://quilljs.com/
|
4 |
* Copyright (c) 2014, Jason Chen
|
1 |
+
var Ht=Object.defineProperty,Ut=Object.defineProperties;var zt=Object.getOwnPropertyDescriptors;var wt=Object.getOwnPropertySymbols;var $t=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable;var _t=(U,P,y)=>P in U?Ht(U,P,{enumerable:!0,configurable:!0,writable:!0,value:y}):U[P]=y,yt=(U,P)=>{for(var y in P||(P={}))$t.call(P,y)&&_t(U,y,P[y]);if(wt)for(var y of wt(P))Vt.call(P,y)&&_t(U,y,P[y]);return U},At=(U,P)=>Ut(U,zt(P));var xt=(U,P,y)=>(_t(U,typeof P!="symbol"?P+"":P,y),y);import{d as St}from"./index.0f8634bc.js";import{c as Kt,a as Wt}from"./client.93f15631.js";import{g as Zt}from"./index.02c35f2a.js";import{n as It}from"./vueComponentNormalizer.87056a83.js";const Gt=U=>{const{invalidClosingTags:P,invalidOpeningTags:y,tagNamePattern:c}=Rt(U);let s=U;return P.forEach(N=>{s=`<${N.match(c)[1]}>`+s}),y.forEach(N=>{const g=N.match(c)[1];s=s+`</${g}>`}),s},Yt=(U,P)=>{const{invalidClosingTags:y,invalidOpeningTags:c,tagNamePattern:s}=Rt(U);return y.forEach(N=>{const g=N.match(s)[1],O=new RegExp(`^<${g}>`);P=P.replace(O,"")}),c.forEach(N=>{const g=N.match(s)[1],O=new RegExp(`<\\/${g}>$`);P=P.replace(O,"")}),P},Rt=U=>{const P=new RegExp(/(<[^<>]*>)/),y=new RegExp(/<\s?\/[^<>]*>/),c=new RegExp(/<\s?\/?([^<\s>]*).*>/),s=U.split(P),N=[];s.forEach(v=>{v.match(P)&&N.push(v)});const g=[];N.forEach((v,d)=>{if(!v)return;if(v.match(y)){g.push(v),N[d]="";return}const o=v.match(c)[1];let t=!1;N.forEach((e,u)=>{if(d===u||!e||t||!e.match(y))return;const l=e.match(c)[1];if(o===l){N[d]="",N[u]="",t=!0;return}g.push(v),N[d]=""})});const O=[],m=[];return g.forEach(v=>{if(!!v.match(P)){if(v.match(y)){m.push(v);return}O.push(v)}}),{invalidClosingTags:m,invalidOpeningTags:O,tagNamePattern:c}};var Mt={exports:{}};/*!
|
2 |
* Quill Editor v1.3.7
|
3 |
* https://quilljs.com/
|
4 |
* Copyright (c) 2014, Jason Chen
|
dist/Lite/assets/js/{ExcludePosts.5da80c61.js → ExcludePosts.b6a2264b.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var _=Object.defineProperty,g=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var l=(t,s,e)=>s in t?_(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,p=(t,s)=>{for(var e in s||(s={}))v.call(s,e)&&l(t,e,s[e]);if(a)for(var e of a(s))y.call(s,e)&&l(t,e,s[e]);return t},c=(t,s)=>g(t,m(s));import"./ToolsSettings.
|
1 |
+
var _=Object.defineProperty,g=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var a=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable;var l=(t,s,e)=>s in t?_(t,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[s]=e,p=(t,s)=>{for(var e in s||(s={}))v.call(s,e)&&l(t,e,s[e]);if(a)for(var e of a(s))y.call(s,e)&&l(t,e,s[e]);return t},c=(t,s)=>g(t,m(s));import"./ToolsSettings.4a14c135.js";import{j as d}from"./index.0f8634bc.js";import{J as f}from"./JsonValues.08065e69.js";import{n as h}from"./vueComponentNormalizer.87056a83.js";import{S as x}from"./AddPlus.f69ce757.js";import{S as b}from"./index.02c35f2a.js";import{S as O}from"./External.8868c638.js";var k=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-exclude-posts"},[e("base-select",{attrs:{options:t.excludeOptions,"ajax-search":t.processGetObjects,customLabel:t.searchableLabel,size:"medium",multiple:"",value:t.getJsonValues(t.optionName),placeholder:t.strings.typeToSearch},on:{input:function(o){return t.optionName=t.setJsonValues(o)}},scopedSlots:t._u([{key:"noOptions",fn:function(){return[t._v(" "+t._s(t.noOptions)+" ")]},proxy:!0},{key:"noResult",fn:function(){return[t._v(" "+t._s(t.strings.noResult)+" ")]},proxy:!0},{key:"caret",fn:function(o){var n=o.toggle;return[e("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:n}},[e("svg-add-plus",{staticStyle:{width:"14px",height:"14px",color:"black"}})],1)]}},{key:"option",fn:function(o){var n=o.option,i=o.search;return[e("div",{staticClass:"option"},[e("div",{staticClass:"option-title",domProps:{innerHTML:t._s(t.getOptionTitle(n.label,i))}}),e("div",{staticClass:"option-details"},[e("span",[t._v(t._s(t.strings.id)+": #"+t._s(n.value))]),e("span",[t._v(t._s(t.strings.type)+": "+t._s(n.type))])])]),e("a",{staticClass:"option-permalink",attrs:{href:n.link,target:"_blank"},on:{click:function(r){return r.stopPropagation(),function(){}.apply(null,arguments)}}},[e("svg-external")],1)]}},{key:"tag",fn:function(o){var n=o.option,i=o.remove;return[e("div",{staticClass:"multiselect__tag"},[e("div",{staticClass:"multiselect__tag-value"},[t._v(" "+t._s(n.label)+" - #"+t._s(n.value)+" ")]),e("div",{staticClass:"multiselect__tag-remove",on:{click:function(r){return r.stopPropagation(),i(n)}}},[e("svg-close",{nativeOn:{click:function(r){return r.stopPropagation(),i(n)}}})],1)])]}}])}),e("base-button",{attrs:{type:"gray",size:"medium"},on:{click:function(o){t.optionName=[]}}},[t._v(" "+t._s(t.strings.clear)+" ")])],1)},C=[];const S={components:{SvgAddPlus:x,SvgClose:b,SvgExternal:O},mixins:[f],props:{options:{type:Object,required:!0},type:{type:String,required:!0}},data(){return{excludeOptions:[],strings:{typeToSearch:"Type to search...",noOptionsPosts:"Begin typing a post ID, title or slug to search...",noOptionsTerms:"Begin typing a term ID or name to search...",noResult:"No results found for your search. Try again!",clear:"Clear",id:"ID",type:"Type"}}},computed:{optionName:{get(){return this.type==="posts"?this.options.excludePosts:this.options.excludeTerms},set(t){if(this.type==="posts"){this.options.excludePosts=t;return}this.options.excludeTerms=t}},noOptions(){return this.type==="posts"?this.strings.noOptionsPosts:this.strings.noOptionsTerms}},methods:c(p({},d(["getObjects"])),{processGetObjects(t){return this.getObjects({query:t,type:this.type}).then(s=>{this.excludeOptions=s.body.objects})},getOptionTitle(t,s){const e=new RegExp(`(${s})`,"gi");return t.replace(e,'<span class="search-term">$1</span>')},searchableLabel({value:t,label:s,slug:e}){return`${t} ${s} ${e}`}})},u={};var P=h(S,k,C,!1,T,null,null,null);function T(t){for(let s in u)this[s]=u[s]}var q=function(){return P.exports}();export{q as C};
|
dist/Lite/assets/js/{Facebook.f0c5c238.js → Facebook.79647ff1.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var p=Object.defineProperty,g=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var l=(e,a,o)=>a in e?p(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,i=(e,a)=>{for(var o in a||(a={}))d.call(a,o)&&l(e,o,a[o]);if(r)for(var o of r(a))f.call(a,o)&&l(e,o,a[o]);return e},c=(e,a)=>g(e,m(a));import{T as b}from"./ToolsSettings.60cea1aa.js";import{B as k,I as _,U as v}from"./Img.2534398f.js";import{M as y}from"./MaxCounts.3eed5286.js";import{n as T}from"./vueComponentNormalizer.87056a83.js";import{Q as h,d as I}from"./index.aff2f9f0.js";import{B as S}from"./RadioToggle.98e1e7ec.js";import{C as P}from"./Index.05d0e847.js";import{C}from"./Card.86b7d3cc.js";import{C as x}from"./FacebookPreview.acf3b29f.js";import{C as A}from"./HtmlTagsEditor.36c18a9a.js";import{C as $}from"./SettingsRow.eb71f07b.js";import{S as w}from"./Book.b6a9040c.js";import{S as O}from"./Plus.a9b9ba75.js";import{T as L,a as U}from"./Row.b5e5f12f.js";import"./helpers.339e6cce.js";import"./index.4ee805df.js";import"./client.93f15631.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./dannie-profile.41545edf.js";import"./Editor.b716a1f9.js";import"./UnfilteredHtml.8691e3d4.js";import"./Row.13b6f3f1.js";var D=function(){var e=this,a=e.$createElement,o=e._self._c||a;return o("div",{staticClass:"aioseo-facebook"},[o("core-card",{attrs:{slug:"facebook","header-text":e.strings.generalFacebookSettings}},[o("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[e._v(" "+e._s(e.strings.description)+" "),o("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"facebook",!0))}})]),o("core-settings-row",{attrs:{name:e.strings.enableOpenGraph},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-toggle",{model:{value:e.options.social.facebook.general.enable,callback:function(t){e.$set(e.options.social.facebook.general,"enable",t)},expression:"options.social.facebook.general.enable"}})]},proxy:!0}])}),e.options.social.facebook.general.enable?o("core-settings-row",{staticClass:"facebook-default-image-source",attrs:{name:e.strings.defaultImageSourcePosts,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-select",{attrs:{size:"medium",options:e.imageSourceOptions,value:e.getImageSourceOption(e.options.social.facebook.general.defaultImageSourcePosts)},on:{input:function(t){return e.options.social.facebook.general.defaultImageSourcePosts=t.value}}})]},proxy:!0}],null,!1,3972235420)}):e._e(),e.options.social.facebook.general.enable&&e.options.social.facebook.general.defaultImageSourcePosts==="custom"?o("core-settings-row",{attrs:{name:e.strings.postCustomFieldName,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.general.customFieldImagePosts,callback:function(t){e.$set(e.options.social.facebook.general,"customFieldImagePosts",t)},expression:"options.social.facebook.general.customFieldImagePosts"}})]},proxy:!0}],null,!1,3287317387)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{staticClass:"facebook-image",attrs:{name:e.strings.defaultFacebookImagePosts,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("div",{staticClass:"facebook-image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.options.social.facebook.general.defaultImagePosts,callback:function(t){e.$set(e.options.social.facebook.general,"defaultImagePosts",t)},expression:"options.social.facebook.general.defaultImagePosts"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){e.openUploadModal("defaultImagePosts",function(s){return e.options.social.facebook.general.defaultImagePosts=s})}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.options.social.facebook.general.defaultImagePosts=null}}},[e._v(" "+e._s(e.strings.remove)+" ")])],1),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.minimumSize)+" ")]),o("base-img",{attrs:{src:e.options.social.facebook.general.defaultImagePosts}})]},proxy:!0}],null,!1,1742393159)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{staticClass:"facebook-default-image-source",attrs:{name:e.strings.defaultImageSourceTerms,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e.isUnlicensed?e._e():o("base-select",{attrs:{size:"medium",options:e.getTermImageSourceOptions(),value:e.getImageSourceOption(e.options.social.facebook.general.defaultImageSourceTerms)},on:{input:function(t){return e.options.social.facebook.general.defaultImageSourceTerms=t.value}}}),e.isUnlicensed?o("base-select",{attrs:{size:"medium",options:e.getTermImageSourceOptions(),value:e.getImageSourceOption("default"),disabled:""}}):e._e(),e.isUnlicensed?o("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[o("div",{domProps:{innerHTML:e._s(e.strings.defaultTermImageSourceUpsell)}})]):e._e()]},proxy:!0}],null,!1,987495405)}):e._e(),e.options.social.facebook.general.enable&&e.options.social.facebook.general.defaultImageSourceTerms==="custom"&&!e.isUnlicensed?o("core-settings-row",{attrs:{name:e.strings.termsCustomFieldName,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.general.customFieldImageTerms,callback:function(t){e.$set(e.options.social.facebook.general,"customFieldImageTerms",t)},expression:"options.social.facebook.general.customFieldImageTerms"}})]},proxy:!0}],null,!1,1628198397)}):e._e(),e.options.social.facebook.general.enable&&!e.isUnlicensed?o("core-settings-row",{staticClass:"facebook-image",attrs:{name:e.strings.defaultFacebookImageTerms,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("div",{staticClass:"facebook-image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.options.social.facebook.general.defaultImageTerms,callback:function(t){e.$set(e.options.social.facebook.general,"defaultImageTerms",t)},expression:"options.social.facebook.general.defaultImageTerms"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){e.openUploadModal("defaultImageTerms",function(s){return e.options.social.facebook.general.defaultImageTerms=s})}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.options.social.facebook.general.defaultImageTerms=null}}},[e._v(" "+e._s(e.strings.remove)+" ")])],1),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.minimumSize)+" ")]),o("base-img",{attrs:{src:e.options.social.facebook.general.defaultImageTerms}})]},proxy:!0}],null,!1,3862772785)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.postTypeObjectTypes,align:""},scopedSlots:e._u([{key:"content",fn:function(){return e._l(e.$aioseo.postData.postTypes,function(t,s){return o("table-row",{key:s,staticClass:"facebook-object-types"},[o("table-column",{domProps:{innerHTML:e._s(t.label)}},[e._v(" ("+e._s(t.name)+") ")]),o("table-column",[o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions(e.dynamicOptions.social.facebook.general.postTypes[t.name].objectType)},on:{input:function(n){return e.dynamicOptions.social.facebook.general.postTypes[t.name].objectType=n.value}}})],1)],1)})},proxy:!0}],null,!1,3932838815)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.taxonomyObjectTypes,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e._l(e.$aioseo.postData.taxonomies,function(t,s){return o("table-row",{key:s,staticClass:"facebook-object-types"},[o("table-column",[e._v(" "+e._s(t.label)+" ("+e._s(t.name)+") ")]),o("table-column",[e.isUnlicensed?e._e():o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions(e.dynamicOptions.social.facebook.general.taxonomies[t.name].objectType)},on:{input:function(n){return e.dynamicOptions.social.facebook.general.taxonomies[t.name].objectType=n.value}}}),e.isUnlicensed?o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions("article"),disabled:""}}):e._e()],1)],1)}),e.isUnlicensed?o("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[o("div",{domProps:{innerHTML:e._s(e.strings.taxonomyObjectTypesUpsell)}})]):e._e()]},proxy:!0}],null,!1,2973730503)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.showFacebookAuthor,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"showFacebookAuthor",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.general.showAuthor,callback:function(t){e.$set(e.options.social.facebook.general,"showAuthor",t)},expression:"options.social.facebook.general.showAuthor"}})]},proxy:!0}],null,!1,4045631323)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.siteName,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","tagline","separator_sa"]},on:{counter:function(t){return e.updateCount(t,"siteNameCount")}},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.strings.clickToAddSiteName)+" ")]},proxy:!0}],null,!1,1737386538),model:{value:e.options.social.facebook.general.siteName,callback:function(t){e.$set(e.options.social.facebook.general,"siteName",t)},expression:"options.social.facebook.general.siteName"}}),o("div",{staticClass:"max-recommended-count",domProps:{innerHTML:e._s(e.maxRecommendedCount(e.siteNameCount,95))}})]},proxy:!0}],null,!1,3823092701)}):e._e()],1),e.options.social.facebook.general.enable?o("core-card",{attrs:{slug:"facebookHomePageSettings","header-text":e.strings.homePageSettings}},[e.$aioseo.data.staticHomePage?o("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[o("span",{domProps:{innerHTML:e._s(e.strings.homePageDisabledDescription)}}),e._v(" \xA0 "),o("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"staticHomePageFacebook",!0))}})]):e._e(),o("br"),o("core-settings-row",{attrs:{name:e.$constants.GLOBAL_STRINGS.preview},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-facebook-preview",{attrs:{image:e.options.social.facebook.homePage.image},scopedSlots:e._u([{key:"site-title",fn:function(){return[e.$aioseo.data.staticHomePage?o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.$aioseo.data.staticHomePageOgTitle||"#site_title"),100))}}):e._e(),e.$aioseo.data.staticHomePage?e._e():o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.options.social.facebook.homePage.title||"#site_title"),100))}})]},proxy:!0},{key:"site-description",fn:function(){return[e.$aioseo.data.staticHomePage?o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.$aioseo.data.staticHomePageOgDescription||"#tagline")))}}):e._e(),e.$aioseo.data.staticHomePage?e._e():o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.options.social.facebook.homePage.description||"#tagline")))}})]},proxy:!0}],null,!1,2307549679)})]},proxy:!0}],null,!1,2999179343)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{staticClass:"facebook-image",attrs:{name:e.strings.homePageImage},scopedSlots:e._u([{key:"content",fn:function(){return[o("div",{staticClass:"facebook-image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.options.social.facebook.homePage.image,callback:function(t){e.$set(e.options.social.facebook.homePage,"image",t)},expression:"options.social.facebook.homePage.image"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){e.openUploadModal("homePageImage",function(s){return e.options.social.facebook.homePage.image=s})}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.options.social.facebook.homePage.image=null}}},[e._v(" "+e._s(e.strings.remove)+" ")])],1),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.minimumSize)+" ")]),o("base-img",{attrs:{src:e.options.social.facebook.homePage.image}})]},proxy:!0}],null,!1,2812326779)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{attrs:{name:e.strings.homePageTitle,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","tagline","separator_sa"]},on:{counter:function(t){return e.updateCount(t,"titleCount")}},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.strings.clickToAddHomePageTitle)+" ")]},proxy:!0}],null,!1,4162175994),model:{value:e.options.social.facebook.homePage.title,callback:function(t){e.$set(e.options.social.facebook.homePage,"title",t)},expression:"options.social.facebook.homePage.title"}}),o("div",{staticClass:"max-recommended-count",domProps:{innerHTML:e._s(e.maxRecommendedCount(e.titleCount,95))}})]},proxy:!0}],null,!1,3782128428)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{attrs:{name:e.strings.homePageDescription,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,"tags-context":"homePage","default-tags":["site_title","tagline","separator_sa"]},on:{counter:function(t){return e.updateCount(t,"descriptionCount")}},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.strings.clickToAddHomePageDescription)+" ")]},proxy:!0}],null,!1,3376949532),model:{value:e.options.social.facebook.homePage.description,callback:function(t){e.$set(e.options.social.facebook.homePage,"description",t)},expression:"options.social.facebook.homePage.description"}}),o("div",{staticClass:"max-recommended-count",domProps:{innerHTML:e._s(e.maxRecommendedCount(e.descriptionCount,200))}})]},proxy:!0}],null,!1,1114306425)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{staticClass:"facebook-home-page-object-type",attrs:{name:e.strings.objectType,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions(e.options.social.facebook.homePage.objectType)},on:{input:function(t){return e.options.social.facebook.homePage.objectType=t.value}}})]},proxy:!0}],null,!1,1638031576)})],1):e._e(),e.options.social.facebook.general.enable?o("core-card",{attrs:{slug:"facebookAdvancedSettings",toggles:e.options.social.facebook.advanced.enable},scopedSlots:e._u([{key:"header",fn:function(){return[o("base-toggle",{model:{value:e.options.social.facebook.advanced.enable,callback:function(t){e.$set(e.options.social.facebook.advanced,"enable",t)},expression:"options.social.facebook.advanced.enable"}}),e._v(" "+e._s(e.strings.advancedSettings)+" ")]},proxy:!0}],null,!1,1726484805)},[o("core-settings-row",{attrs:{name:e.strings.facebookAdminId,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.advanced.adminId,callback:function(t){e.$set(e.options.social.facebook.advanced,"adminId",t)},expression:"options.social.facebook.advanced.adminId"}}),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.facebookAdminIdDescription)+" ")]),o("div",{staticClass:"aioseo-description how-to"},[o("a",{staticClass:"no-underline",attrs:{href:e.$links.getDocUrl("facebookAdminId"),target:"_blank"}},[o("svg-book")],1),o("a",{attrs:{href:e.$links.getDocUrl("facebookAdminId"),target:"_blank"}},[e._v(" "+e._s(e.strings.howToGetAdminId)+" ")])])]},proxy:!0}],null,!1,3444247401)}),o("core-settings-row",{attrs:{name:e.strings.facebookAppId,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.advanced.appId,callback:function(t){e.$set(e.options.social.facebook.advanced,"appId",t)},expression:"options.social.facebook.advanced.appId"}}),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.facebookAppIdDescription)+" ")]),o("div",{staticClass:"aioseo-description how-to"},[o("a",{staticClass:"no-underline",attrs:{href:e.$links.getDocUrl("facebookAppId"),target:"_blank"}},[o("svg-book")],1),o("a",{attrs:{href:e.$links.getDocUrl("facebookAppId"),target:"_blank"}},[e._v(" "+e._s(e.strings.howToGetAppId)+" ")])])]},proxy:!0}],null,!1,1473509127)}),o("core-settings-row",{attrs:{name:e.strings.facebookAuthorUrl,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.advanced.authorUrl,callback:function(t){e.$set(e.options.social.facebook.advanced,"authorUrl",t)},expression:"options.social.facebook.advanced.authorUrl"}}),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.facebookAuthorUrlDescription)+" ")]),o("div",{staticClass:"aioseo-description how-to"},[o("a",{staticClass:"no-underline",attrs:{href:e.$links.getDocUrl("facebookAuthorUrl"),target:"_blank"}},[o("svg-book")],1),o("a",{attrs:{href:e.$links.getDocUrl("facebookAuthorUrl"),target:"_blank"}},[e._v(" "+e._s(e.strings.howToGetAuthorUrl)+" ")])])]},proxy:!0}],null,!1,1382072789)}),o("core-settings-row",{attrs:{name:e.strings.generateArticleTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"generateArticleTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.generateArticleTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"generateArticleTags",t)},expression:"options.social.facebook.advanced.generateArticleTags"}})]},proxy:!0}],null,!1,1394259835)}),e.options.social.facebook.advanced.generateArticleTags?o("core-settings-row",{attrs:{name:e.strings.useKeywordsInTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"useKeywordsInTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.useKeywordsInTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"useKeywordsInTags",t)},expression:"options.social.facebook.advanced.useKeywordsInTags"}})]},proxy:!0}],null,!1,1270941531)}):e._e(),e.options.social.facebook.advanced.generateArticleTags?o("core-settings-row",{attrs:{name:e.strings.useCategoriesInTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"useCategoriesInTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.useCategoriesInTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"useCategoriesInTags",t)},expression:"options.social.facebook.advanced.useCategoriesInTags"}})]},proxy:!0}],null,!1,2964773339)}):e._e(),e.options.social.facebook.advanced.generateArticleTags?o("core-settings-row",{attrs:{name:e.strings.usePostTagsInTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"usePostTagsInTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.usePostTagsInTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"usePostTagsInTags",t)},expression:"options.social.facebook.advanced.usePostTagsInTags"}})]},proxy:!0}],null,!1,1056069563)}):e._e()],1):e._e()],1)},F=[];const G={components:{BaseImg:k,BaseRadioToggle:S,CoreAlert:P,CoreCard:C,CoreFacebookPreview:x,CoreHtmlTagsEditor:A,CoreSettingsRow:$,SvgBook:w,SvgCirclePlus:O,TableColumn:L,TableRow:U},mixins:[_,y,b,v],data(){return{siteNameCount:0,titleCount:0,descriptionCount:0,option:null,pagePostOptions:[],strings:{generalFacebookSettings:"General Facebook Settings",description:"Enable this feature if you want Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared.",enableOpenGraph:"Enable Open Graph Markup",defaultImageSourcePosts:"Default Post Image Source",defaultImageSourceTerms:"Default Term Image Source",width:"Width",height:"Height",postCustomFieldName:"Post Custom Field Name",termsCustomFieldName:"Term Custom Field Name",defaultFacebookImagePosts:"Default Post Facebook Image",defaultFacebookImageTerms:"Default Term Facebook Image",uploadOrSelectImage:"Upload or Select Image",pasteYourImageUrl:"Paste your image URL or select a new image",minimumSize:"Minimum size: 200px x 200px, ideal ratio 1.91:1, 8MB max. (eg: 1640px x 856px or 3280px x 1712px for retina screens)",homePageSettings:"Home Page Settings",exampleSiteTitle:"The Title of the Page or Site you are Sharing",exampleSiteDescription:this.$t.sprintf("This is what your page configured with %1$s will look like when shared via Facebook. The site title and description will be automatically added.","AIOSEO"),homePageImage:"Image",siteName:"Site Name",homePageTitle:"Title",useHomePageTitle:"Use the home page title",clickToAddSiteName:"Click on the tags below to insert variables into your site name.",clickToAddHomePageTitle:"Click on the tags below to insert variables into your home page title.",homePageDescription:"Description",useHomePageDescription:"Use the home page description",clickToAddHomePageDescription:"Click on the tags below to insert variables into your description.",remove:"Remove",advancedSettings:"Advanced Settings",facebookAdminId:"Facebook Admin ID",facebookAppId:"Facebook App ID",facebookAuthorUrl:"Facebook Author URL",facebookAdminIdDescription:"Enter your Facebook Admin ID here. You can enter multiple Facebook Admin IDs by separating them with a comma.",facebookAppIdDescription:"The Facebook App ID of the site's app. In order to use Facebook Insights, you must add the App ID to your page. Insights lets you view analytics for traffic to your site from Facebook. Find the App ID in your App Dashboard.",facebookAuthorUrlDescription:"Will be overriden if the Facebook author URL is present in the individual User Profile.",howToGetAdminId:"How to get your Facebook Admin ID",howToGetAppId:"How to get your Facebook App ID",howToGetAuthorUrl:"How to get your Facebook Author URL",showFacebookAuthor:"Show Facebook Author",postTypeObjectTypes:"Default Post Type Object Types",taxonomyObjectTypes:"Default Taxonomy Object Types",taxonomyObjectTypesUpsell:this.$t.sprintf("Default Taxonomy Object Types are only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-facebook-settings",this.$constants.GLOBAL_STRINGS.learnMore,"default-taxonomy-object-types",!0)),defaultTermImageSourceUpsell:this.$t.sprintf("Default Term Image Source is only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-facebook-settings",this.$constants.GLOBAL_STRINGS.learnMore,"default-term-image-soruce",!0)),generateArticleTags:"Automatically Generate Article Tags",useKeywordsInTags:"Use Keywords in Article Tags",useCategoriesInTags:"Use Categories in Article Tags",usePostTagsInTags:"Use Post Tags in Article Tags",homePageDisabledDescription:this.$t.sprintf("The home page settings below have been disabled because you are using a static home page. You can %1$sedit your home page settings%2$s directly to change the title, meta and image.",`<a href="${this.$aioseo.urls.staticHomePage}">`,"</a>"),objectType:"Object Type"}}},computed:c(i(i({},h(["isUnlicensed"])),I(["options","dynamicOptions"])),{objectTypeOptions(){return this.$constants.OG_TYPE_OPTIONS}}),methods:{getObjectTypeOptions(e){let a=null;return this.objectTypeOptions.forEach(o=>{const t=o.options.find(s=>s.value===e);t&&(a=t)}),a}}},u={};var H=T(G,D,F,!1,j,null,null,null);function j(e){for(let a in u)this[a]=u[a]}var ue=function(){return H.exports}();export{ue as default};
|
1 |
+
var p=Object.defineProperty,g=Object.defineProperties;var m=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var l=(e,a,o)=>a in e?p(e,a,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[a]=o,i=(e,a)=>{for(var o in a||(a={}))d.call(a,o)&&l(e,o,a[o]);if(r)for(var o of r(a))f.call(a,o)&&l(e,o,a[o]);return e},c=(e,a)=>g(e,m(a));import{T as b}from"./ToolsSettings.4a14c135.js";import{B as k,I as _,U as v}from"./Img.6b4e05d5.js";import{M as y}from"./MaxCounts.3eed5286.js";import{n as T}from"./vueComponentNormalizer.87056a83.js";import{e as h,d as I}from"./index.0f8634bc.js";import{B as S}from"./RadioToggle.98e1e7ec.js";import{C as P}from"./Index.6d59ffe7.js";import{C}from"./Card.5e3c0ad5.js";import{C as x}from"./FacebookPreview.b8f332ab.js";import{C as A}from"./HtmlTagsEditor.aa4d89fe.js";import{C as $}from"./SettingsRow.eb71f07b.js";import{S as w}from"./Book.b6a9040c.js";import{S as O}from"./Plus.a9b9ba75.js";import{T as L,a as U}from"./Row.b5e5f12f.js";import"./helpers.a4115088.js";import"./index.02c35f2a.js";import"./client.93f15631.js";import"./Tooltip.674a9fb4.js";import"./QuestionMark.83ebd18e.js";import"./Slide.f5d21606.js";import"./dannie-profile.41545edf.js";import"./Editor.2fd4385f.js";import"./UnfilteredHtml.f98679bb.js";import"./Row.13b6f3f1.js";var D=function(){var e=this,a=e.$createElement,o=e._self._c||a;return o("div",{staticClass:"aioseo-facebook"},[o("core-card",{attrs:{slug:"facebook","header-text":e.strings.generalFacebookSettings}},[o("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[e._v(" "+e._s(e.strings.description)+" "),o("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"facebook",!0))}})]),o("core-settings-row",{attrs:{name:e.strings.enableOpenGraph},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-toggle",{model:{value:e.options.social.facebook.general.enable,callback:function(t){e.$set(e.options.social.facebook.general,"enable",t)},expression:"options.social.facebook.general.enable"}})]},proxy:!0}])}),e.options.social.facebook.general.enable?o("core-settings-row",{staticClass:"facebook-default-image-source",attrs:{name:e.strings.defaultImageSourcePosts,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-select",{attrs:{size:"medium",options:e.imageSourceOptions,value:e.getImageSourceOption(e.options.social.facebook.general.defaultImageSourcePosts)},on:{input:function(t){return e.options.social.facebook.general.defaultImageSourcePosts=t.value}}})]},proxy:!0}],null,!1,3972235420)}):e._e(),e.options.social.facebook.general.enable&&e.options.social.facebook.general.defaultImageSourcePosts==="custom"?o("core-settings-row",{attrs:{name:e.strings.postCustomFieldName,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.general.customFieldImagePosts,callback:function(t){e.$set(e.options.social.facebook.general,"customFieldImagePosts",t)},expression:"options.social.facebook.general.customFieldImagePosts"}})]},proxy:!0}],null,!1,3287317387)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{staticClass:"facebook-image",attrs:{name:e.strings.defaultFacebookImagePosts,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("div",{staticClass:"facebook-image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.options.social.facebook.general.defaultImagePosts,callback:function(t){e.$set(e.options.social.facebook.general,"defaultImagePosts",t)},expression:"options.social.facebook.general.defaultImagePosts"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){e.openUploadModal("defaultImagePosts",function(s){return e.options.social.facebook.general.defaultImagePosts=s})}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.options.social.facebook.general.defaultImagePosts=null}}},[e._v(" "+e._s(e.strings.remove)+" ")])],1),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.minimumSize)+" ")]),o("base-img",{attrs:{src:e.options.social.facebook.general.defaultImagePosts}})]},proxy:!0}],null,!1,1742393159)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{staticClass:"facebook-default-image-source",attrs:{name:e.strings.defaultImageSourceTerms,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e.isUnlicensed?e._e():o("base-select",{attrs:{size:"medium",options:e.getTermImageSourceOptions(),value:e.getImageSourceOption(e.options.social.facebook.general.defaultImageSourceTerms)},on:{input:function(t){return e.options.social.facebook.general.defaultImageSourceTerms=t.value}}}),e.isUnlicensed?o("base-select",{attrs:{size:"medium",options:e.getTermImageSourceOptions(),value:e.getImageSourceOption("default"),disabled:""}}):e._e(),e.isUnlicensed?o("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[o("div",{domProps:{innerHTML:e._s(e.strings.defaultTermImageSourceUpsell)}})]):e._e()]},proxy:!0}],null,!1,987495405)}):e._e(),e.options.social.facebook.general.enable&&e.options.social.facebook.general.defaultImageSourceTerms==="custom"&&!e.isUnlicensed?o("core-settings-row",{attrs:{name:e.strings.termsCustomFieldName,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.general.customFieldImageTerms,callback:function(t){e.$set(e.options.social.facebook.general,"customFieldImageTerms",t)},expression:"options.social.facebook.general.customFieldImageTerms"}})]},proxy:!0}],null,!1,1628198397)}):e._e(),e.options.social.facebook.general.enable&&!e.isUnlicensed?o("core-settings-row",{staticClass:"facebook-image",attrs:{name:e.strings.defaultFacebookImageTerms,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("div",{staticClass:"facebook-image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.options.social.facebook.general.defaultImageTerms,callback:function(t){e.$set(e.options.social.facebook.general,"defaultImageTerms",t)},expression:"options.social.facebook.general.defaultImageTerms"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){e.openUploadModal("defaultImageTerms",function(s){return e.options.social.facebook.general.defaultImageTerms=s})}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.options.social.facebook.general.defaultImageTerms=null}}},[e._v(" "+e._s(e.strings.remove)+" ")])],1),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.minimumSize)+" ")]),o("base-img",{attrs:{src:e.options.social.facebook.general.defaultImageTerms}})]},proxy:!0}],null,!1,3862772785)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.postTypeObjectTypes,align:""},scopedSlots:e._u([{key:"content",fn:function(){return e._l(e.$aioseo.postData.postTypes,function(t,s){return o("table-row",{key:s,staticClass:"facebook-object-types"},[o("table-column",{domProps:{innerHTML:e._s(t.label)}},[e._v(" ("+e._s(t.name)+") ")]),o("table-column",[o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions(e.dynamicOptions.social.facebook.general.postTypes[t.name].objectType)},on:{input:function(n){return e.dynamicOptions.social.facebook.general.postTypes[t.name].objectType=n.value}}})],1)],1)})},proxy:!0}],null,!1,3932838815)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.taxonomyObjectTypes,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[e._l(e.$aioseo.postData.taxonomies,function(t,s){return o("table-row",{key:s,staticClass:"facebook-object-types"},[o("table-column",[e._v(" "+e._s(t.label)+" ("+e._s(t.name)+") ")]),o("table-column",[e.isUnlicensed?e._e():o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions(e.dynamicOptions.social.facebook.general.taxonomies[t.name].objectType)},on:{input:function(n){return e.dynamicOptions.social.facebook.general.taxonomies[t.name].objectType=n.value}}}),e.isUnlicensed?o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions("article"),disabled:""}}):e._e()],1)],1)}),e.isUnlicensed?o("core-alert",{staticClass:"inline-upsell",attrs:{type:"blue"}},[o("div",{domProps:{innerHTML:e._s(e.strings.taxonomyObjectTypesUpsell)}})]):e._e()]},proxy:!0}],null,!1,2973730503)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.showFacebookAuthor,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"showFacebookAuthor",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.general.showAuthor,callback:function(t){e.$set(e.options.social.facebook.general,"showAuthor",t)},expression:"options.social.facebook.general.showAuthor"}})]},proxy:!0}],null,!1,4045631323)}):e._e(),e.options.social.facebook.general.enable?o("core-settings-row",{attrs:{name:e.strings.siteName,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","tagline","separator_sa"]},on:{counter:function(t){return e.updateCount(t,"siteNameCount")}},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.strings.clickToAddSiteName)+" ")]},proxy:!0}],null,!1,1737386538),model:{value:e.options.social.facebook.general.siteName,callback:function(t){e.$set(e.options.social.facebook.general,"siteName",t)},expression:"options.social.facebook.general.siteName"}}),o("div",{staticClass:"max-recommended-count",domProps:{innerHTML:e._s(e.maxRecommendedCount(e.siteNameCount,95))}})]},proxy:!0}],null,!1,3823092701)}):e._e()],1),e.options.social.facebook.general.enable?o("core-card",{attrs:{slug:"facebookHomePageSettings","header-text":e.strings.homePageSettings}},[e.$aioseo.data.staticHomePage?o("div",{staticClass:"aioseo-settings-row aioseo-section-description"},[o("span",{domProps:{innerHTML:e._s(e.strings.homePageDisabledDescription)}}),e._v(" \xA0 "),o("span",{domProps:{innerHTML:e._s(e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"staticHomePageFacebook",!0))}})]):e._e(),o("br"),o("core-settings-row",{attrs:{name:e.$constants.GLOBAL_STRINGS.preview},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-facebook-preview",{attrs:{image:e.options.social.facebook.homePage.image},scopedSlots:e._u([{key:"site-title",fn:function(){return[e.$aioseo.data.staticHomePage?o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.$aioseo.data.staticHomePageOgTitle||"#site_title"),100))}}):e._e(),e.$aioseo.data.staticHomePage?e._e():o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.options.social.facebook.homePage.title||"#site_title"),100))}})]},proxy:!0},{key:"site-description",fn:function(){return[e.$aioseo.data.staticHomePage?o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.$aioseo.data.staticHomePageOgDescription||"#tagline")))}}):e._e(),e.$aioseo.data.staticHomePage?e._e():o("span",{domProps:{innerHTML:e._s(e.truncate(e.parseTags(e.options.social.facebook.homePage.description||"#tagline")))}})]},proxy:!0}],null,!1,2307549679)})]},proxy:!0}],null,!1,2999179343)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{staticClass:"facebook-image",attrs:{name:e.strings.homePageImage},scopedSlots:e._u([{key:"content",fn:function(){return[o("div",{staticClass:"facebook-image-upload"},[o("base-input",{attrs:{size:"medium",placeholder:e.strings.pasteYourImageUrl},model:{value:e.options.social.facebook.homePage.image,callback:function(t){e.$set(e.options.social.facebook.homePage,"image",t)},expression:"options.social.facebook.homePage.image"}}),o("base-button",{staticClass:"insert-image",attrs:{size:"medium",type:"black"},on:{click:function(t){e.openUploadModal("homePageImage",function(s){return e.options.social.facebook.homePage.image=s})}}},[o("svg-circle-plus"),e._v(" "+e._s(e.strings.uploadOrSelectImage)+" ")],1),o("base-button",{staticClass:"remove-image",attrs:{size:"medium",type:"gray"},on:{click:function(t){e.options.social.facebook.homePage.image=null}}},[e._v(" "+e._s(e.strings.remove)+" ")])],1),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.minimumSize)+" ")]),o("base-img",{attrs:{src:e.options.social.facebook.homePage.image}})]},proxy:!0}],null,!1,2812326779)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{attrs:{name:e.strings.homePageTitle,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,single:"","tags-context":"homePage","default-tags":["site_title","tagline","separator_sa"]},on:{counter:function(t){return e.updateCount(t,"titleCount")}},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.strings.clickToAddHomePageTitle)+" ")]},proxy:!0}],null,!1,4162175994),model:{value:e.options.social.facebook.homePage.title,callback:function(t){e.$set(e.options.social.facebook.homePage,"title",t)},expression:"options.social.facebook.homePage.title"}}),o("div",{staticClass:"max-recommended-count",domProps:{innerHTML:e._s(e.maxRecommendedCount(e.titleCount,95))}})]},proxy:!0}],null,!1,3782128428)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{attrs:{name:e.strings.homePageDescription,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("core-html-tags-editor",{staticClass:"facebook-meta-input",attrs:{"line-numbers":!1,"tags-context":"homePage","default-tags":["site_title","tagline","separator_sa"]},on:{counter:function(t){return e.updateCount(t,"descriptionCount")}},scopedSlots:e._u([{key:"tags-description",fn:function(){return[e._v(" "+e._s(e.strings.clickToAddHomePageDescription)+" ")]},proxy:!0}],null,!1,3376949532),model:{value:e.options.social.facebook.homePage.description,callback:function(t){e.$set(e.options.social.facebook.homePage,"description",t)},expression:"options.social.facebook.homePage.description"}}),o("div",{staticClass:"max-recommended-count",domProps:{innerHTML:e._s(e.maxRecommendedCount(e.descriptionCount,200))}})]},proxy:!0}],null,!1,1114306425)}),e.$aioseo.data.staticHomePage?e._e():o("core-settings-row",{staticClass:"facebook-home-page-object-type",attrs:{name:e.strings.objectType,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-select",{attrs:{size:"medium",options:e.objectTypeOptions,"group-label":"groupLabel","group-values":"options",value:e.getObjectTypeOptions(e.options.social.facebook.homePage.objectType)},on:{input:function(t){return e.options.social.facebook.homePage.objectType=t.value}}})]},proxy:!0}],null,!1,1638031576)})],1):e._e(),e.options.social.facebook.general.enable?o("core-card",{attrs:{slug:"facebookAdvancedSettings",toggles:e.options.social.facebook.advanced.enable},scopedSlots:e._u([{key:"header",fn:function(){return[o("base-toggle",{model:{value:e.options.social.facebook.advanced.enable,callback:function(t){e.$set(e.options.social.facebook.advanced,"enable",t)},expression:"options.social.facebook.advanced.enable"}}),e._v(" "+e._s(e.strings.advancedSettings)+" ")]},proxy:!0}],null,!1,1726484805)},[o("core-settings-row",{attrs:{name:e.strings.facebookAdminId,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.advanced.adminId,callback:function(t){e.$set(e.options.social.facebook.advanced,"adminId",t)},expression:"options.social.facebook.advanced.adminId"}}),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.facebookAdminIdDescription)+" ")]),o("div",{staticClass:"aioseo-description how-to"},[o("a",{staticClass:"no-underline",attrs:{href:e.$links.getDocUrl("facebookAdminId"),target:"_blank"}},[o("svg-book")],1),o("a",{attrs:{href:e.$links.getDocUrl("facebookAdminId"),target:"_blank"}},[e._v(" "+e._s(e.strings.howToGetAdminId)+" ")])])]},proxy:!0}],null,!1,3444247401)}),o("core-settings-row",{attrs:{name:e.strings.facebookAppId,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.advanced.appId,callback:function(t){e.$set(e.options.social.facebook.advanced,"appId",t)},expression:"options.social.facebook.advanced.appId"}}),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.facebookAppIdDescription)+" ")]),o("div",{staticClass:"aioseo-description how-to"},[o("a",{staticClass:"no-underline",attrs:{href:e.$links.getDocUrl("facebookAppId"),target:"_blank"}},[o("svg-book")],1),o("a",{attrs:{href:e.$links.getDocUrl("facebookAppId"),target:"_blank"}},[e._v(" "+e._s(e.strings.howToGetAppId)+" ")])])]},proxy:!0}],null,!1,1473509127)}),o("core-settings-row",{attrs:{name:e.strings.facebookAuthorUrl,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-input",{attrs:{size:"medium"},model:{value:e.options.social.facebook.advanced.authorUrl,callback:function(t){e.$set(e.options.social.facebook.advanced,"authorUrl",t)},expression:"options.social.facebook.advanced.authorUrl"}}),o("div",{staticClass:"aioseo-description"},[e._v(" "+e._s(e.strings.facebookAuthorUrlDescription)+" ")]),o("div",{staticClass:"aioseo-description how-to"},[o("a",{staticClass:"no-underline",attrs:{href:e.$links.getDocUrl("facebookAuthorUrl"),target:"_blank"}},[o("svg-book")],1),o("a",{attrs:{href:e.$links.getDocUrl("facebookAuthorUrl"),target:"_blank"}},[e._v(" "+e._s(e.strings.howToGetAuthorUrl)+" ")])])]},proxy:!0}],null,!1,1382072789)}),o("core-settings-row",{attrs:{name:e.strings.generateArticleTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"generateArticleTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.generateArticleTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"generateArticleTags",t)},expression:"options.social.facebook.advanced.generateArticleTags"}})]},proxy:!0}],null,!1,1394259835)}),e.options.social.facebook.advanced.generateArticleTags?o("core-settings-row",{attrs:{name:e.strings.useKeywordsInTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"useKeywordsInTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.useKeywordsInTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"useKeywordsInTags",t)},expression:"options.social.facebook.advanced.useKeywordsInTags"}})]},proxy:!0}],null,!1,1270941531)}):e._e(),e.options.social.facebook.advanced.generateArticleTags?o("core-settings-row",{attrs:{name:e.strings.useCategoriesInTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"useCategoriesInTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.useCategoriesInTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"useCategoriesInTags",t)},expression:"options.social.facebook.advanced.useCategoriesInTags"}})]},proxy:!0}],null,!1,2964773339)}):e._e(),e.options.social.facebook.advanced.generateArticleTags?o("core-settings-row",{attrs:{name:e.strings.usePostTagsInTags,align:""},scopedSlots:e._u([{key:"content",fn:function(){return[o("base-radio-toggle",{attrs:{name:"usePostTagsInTags",options:[{label:e.$constants.GLOBAL_STRINGS.no,value:!1,activeClass:"dark"},{label:e.$constants.GLOBAL_STRINGS.yes,value:!0}]},model:{value:e.options.social.facebook.advanced.usePostTagsInTags,callback:function(t){e.$set(e.options.social.facebook.advanced,"usePostTagsInTags",t)},expression:"options.social.facebook.advanced.usePostTagsInTags"}})]},proxy:!0}],null,!1,1056069563)}):e._e()],1):e._e()],1)},F=[];const G={components:{BaseImg:k,BaseRadioToggle:S,CoreAlert:P,CoreCard:C,CoreFacebookPreview:x,CoreHtmlTagsEditor:A,CoreSettingsRow:$,SvgBook:w,SvgCirclePlus:O,TableColumn:L,TableRow:U},mixins:[_,y,b,v],data(){return{siteNameCount:0,titleCount:0,descriptionCount:0,option:null,pagePostOptions:[],strings:{generalFacebookSettings:"General Facebook Settings",description:"Enable this feature if you want Facebook and other social media to display a preview with images and a text excerpt when a link to your site is shared.",enableOpenGraph:"Enable Open Graph Markup",defaultImageSourcePosts:"Default Post Image Source",defaultImageSourceTerms:"Default Term Image Source",width:"Width",height:"Height",postCustomFieldName:"Post Custom Field Name",termsCustomFieldName:"Term Custom Field Name",defaultFacebookImagePosts:"Default Post Facebook Image",defaultFacebookImageTerms:"Default Term Facebook Image",uploadOrSelectImage:"Upload or Select Image",pasteYourImageUrl:"Paste your image URL or select a new image",minimumSize:"Minimum size: 200px x 200px, ideal ratio 1.91:1, 8MB max. (eg: 1640px x 856px or 3280px x 1712px for retina screens)",homePageSettings:"Home Page Settings",exampleSiteTitle:"The Title of the Page or Site you are Sharing",exampleSiteDescription:this.$t.sprintf("This is what your page configured with %1$s will look like when shared via Facebook. The site title and description will be automatically added.","AIOSEO"),homePageImage:"Image",siteName:"Site Name",homePageTitle:"Title",useHomePageTitle:"Use the home page title",clickToAddSiteName:"Click on the tags below to insert variables into your site name.",clickToAddHomePageTitle:"Click on the tags below to insert variables into your home page title.",homePageDescription:"Description",useHomePageDescription:"Use the home page description",clickToAddHomePageDescription:"Click on the tags below to insert variables into your description.",remove:"Remove",advancedSettings:"Advanced Settings",facebookAdminId:"Facebook Admin ID",facebookAppId:"Facebook App ID",facebookAuthorUrl:"Facebook Author URL",facebookAdminIdDescription:"Enter your Facebook Admin ID here. You can enter multiple Facebook Admin IDs by separating them with a comma.",facebookAppIdDescription:"The Facebook App ID of the site's app. In order to use Facebook Insights, you must add the App ID to your page. Insights lets you view analytics for traffic to your site from Facebook. Find the App ID in your App Dashboard.",facebookAuthorUrlDescription:"Will be overriden if the Facebook author URL is present in the individual User Profile.",howToGetAdminId:"How to get your Facebook Admin ID",howToGetAppId:"How to get your Facebook App ID",howToGetAuthorUrl:"How to get your Facebook Author URL",showFacebookAuthor:"Show Facebook Author",postTypeObjectTypes:"Default Post Type Object Types",taxonomyObjectTypes:"Default Taxonomy Object Types",taxonomyObjectTypesUpsell:this.$t.sprintf("Default Taxonomy Object Types are only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-facebook-settings",this.$constants.GLOBAL_STRINGS.learnMore,"default-taxonomy-object-types",!0)),defaultTermImageSourceUpsell:this.$t.sprintf("Default Term Image Source is only available for licensed %1$s users. %2$s","<strong>AIOSEO Pro</strong>",this.$links.getUpsellLink("general-facebook-settings",this.$constants.GLOBAL_STRINGS.learnMore,"default-term-image-soruce",!0)),generateArticleTags:"Automatically Generate Article Tags",useKeywordsInTags:"Use Keywords in Article Tags",useCategoriesInTags:"Use Categories in Article Tags",usePostTagsInTags:"Use Post Tags in Article Tags",homePageDisabledDescription:this.$t.sprintf("You are using a static home page which is found under Pages. You can %1$sedit your home page settings%2$s directly to change the title, meta and image.",`<a href="${this.$aioseo.urls.staticHomePage}">`,"</a>"),objectType:"Object Type"}}},computed:c(i(i({},h(["isUnlicensed"])),I(["options","dynamicOptions"])),{objectTypeOptions(){return this.$constants.OG_TYPE_OPTIONS}}),methods:{getObjectTypeOptions(e){let a=null;return this.objectTypeOptions.forEach(o=>{const t=o.options.find(s=>s.value===e);t&&(a=t)}),a}}},u={};var H=T(G,D,F,!1,j,null,null,null);function j(e){for(let a in u)this[a]=u[a]}var ue=function(){return H.exports}();export{ue as default};
|
dist/Lite/assets/js/{FacebookPreview.acf3b29f.js → FacebookPreview.b8f332ab.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
import{d as o}from"./dannie-profile.41545edf.js";import{B as n}from"./Img.
|
1 |
+
import{d as o}from"./dannie-profile.41545edf.js";import{B as n}from"./Img.6b4e05d5.js";import{C as r}from"./index.02c35f2a.js";import{n as c}from"./vueComponentNormalizer.87056a83.js";var l=function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"aioseo-facebook-preview"},[e("div",{staticClass:"facebook-post"},[e("div",{staticClass:"facebook-header"},[e("div",{staticClass:"profile-photo"},[e("img",{attrs:{src:t.$getImgUrl(t.dannieProfileImg)}})]),e("div",{staticClass:"poster"},[e("div",{staticClass:"poster-name"},[t._v(" "+t._s(t.appName)+" ")]),e("div",{staticClass:"poster-date"},[t._v(" "+t._s(t.date)+" ")])]),t._m(0)]),e("div",{staticClass:"facebook-content",class:{vertical:t.images[t.image]&&t.images[t.image].vertical}},[e("base-img",{attrs:{debounce:!1,src:t.image},on:{images:function(i){return t.images=i}}}),t.loading?e("div",{staticClass:"loader"},[e("core-loader")],1):t._e(),e("div",{staticClass:"facebook-site-description"},[e("div",{staticClass:"site-domain"},[t._t("site-url",function(){return[t._v(" "+t._s(t.$aioseo.urls.domain)+" ")]})],2),e("div",{staticClass:"site-title"},[t._t("site-title")],2),e("div",{staticClass:"site-description"},[t._t("site-description")],2)])],1),e("div",{staticClass:"facebook-footer"})])])},u=[function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("div",{staticClass:"ellipsis"},[e("div"),e("div"),e("div")])}];const _={components:{BaseImg:n,CoreLoader:r},props:{image:String,loading:{type:Boolean,default(){return!1}}},data(){return{dannieProfileImg:o,images:{}}},computed:{appName(){return"All in One SEO"},date(){const t=new Date;return t.toLocaleString("default",{month:"long"})+" "+t.getDay()}}},a={};var d=c(_,l,u,!1,m,null,null,null);function m(t){for(let s in a)this[s]=a[s]}var C=function(){return d.exports}();export{C};
|
dist/Lite/assets/js/{FeatureManager.cee34e9a.js → FeatureManager.e07f79e7.js}
RENAMED
@@ -1 +1 @@
|
|
1 |
-
var p=Object.defineProperty,m=Object.defineProperties;var g=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var f=Object.prototype.hasOwnProperty,v=Object.prototype.propertyIsEnumerable;var o=(e,t,s)=>t in e?p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,i=(e,t)=>{for(var s in t||(t={}))f.call(t,s)&&o(e,s,t[s]);if(r)for(var s of r(t))v.call(t,s)&&o(e,s,t[s]);return e},n=(e,t)=>m(e,g(t));import"./ToolsSettings.60cea1aa.js";import{Q as h,d as _,f as y}from"./index.aff2f9f0.js";import{n as u}from"./vueComponentNormalizer.87056a83.js";import{c as b}from"./news-sitemap.e595aa53.js";import{C as S}from"./Index.05d0e847.js";import{C as A,S as x,a as C,b as k}from"./SitemapsPro.2f41f8a0.js";import{C as $}from"./Index.bc7bb735.js";import{G as L,a as w}from"./Row.13b6f3f1.js";import{a as F,S as I}from"./ImageSeo.0ea16b4e.js";import"./index.4ee805df.js";import"./client.93f15631.js";import"./params.bea1a08d.js";import"./Url.781a1d48.js";import"./Tooltip.674a9fb4.js";const U={computed:{yourLicenseIsText(){let e="You have not yet added a license key.";return this.$aioseo.license.isExpired&&(e="Your license has expired."),this.$aioseo.license.isDisabled&&(e="Your license has been disabled."),this.$aioseo.license.isInvalid&&(e="Your license key is invalid."),e}}};var T=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("svg",{staticClass:"aioseo-code",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[s("path",{attrs:{d:"M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z",fill:"currentColor"}})])},O=[];const E={},l={};var P=u(E,T,O,!1,z,null,null,null);function z(e){for(let t in l)this[t]=l[t]}var G=function(){return P.exports}(),M=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"aioseo-feature-manager"},[s("div",{staticClass:"aioseo-feature-manager-header"},[e.getAddons.filter(function(a){return a.canActivate===!0}).length>0?s("div",{staticClass:"buttons"},[s("div",{staticClass:"button-content"},[s("base-button",{attrs:{size:"medium",type:"blue",loading:e.loading.activateAll},on:{click:e.activateAllFeatures}},[e._v(e._s(e.strings.activateAllFeatures))]),e.isUnlicensed?e._e():s("base-button",{attrs:{size:"medium",type:"gray",loading:e.loading.deactivateAll},on:{click:e.deactivateAllFeatures}},[e._v(e._s(e.strings.deactivateAllFeatures))])],1)]):e._e(),s("div",{staticClass:"search"},[s("base-input",{attrs:{size:"medium",placeholder:e.strings.searchForFeatures,"prepend-icon":"search"},model:{value:e.search,callback:function(a){e.search=a},expression:"search"}})],1)]),s("div",{staticClass:"aioseo-feature-manager-addons"},[e.isUnlicensed?s("core-alert",{attrs:{type:"red"}},[s("strong",[e._v(e._s(e.yourLicenseIsText))]),e._v(" "+e._s(e.strings.aValidLicenseIsRequired)+" "),s("div",{staticClass:"buttons"},[s("base-button",{attrs:{type:"blue",size:"small",tag:"a",href:e.$aioseo.urls.aio.settings}},[e._v(" "+e._s(e.strings.enterLicenseKey)+" ")]),s("base-button",{attrs:{type:"green",size:"small",tag:"a",target:"_blank",href:e.$links.getUpsellUrl("feature-manager-upgrade","no-license-key","pricing")}},[e._v(" "+e._s(e.strings.purchaseLicense)+" ")])],1)]):e._e(),s("grid-row",e._l(e.getAddons,function(a,d){return s("grid-column",{key:d,attrs:{sm:"6",lg:"4"}},[s("core-feature-card",{ref:"addons",refInFor:!0,attrs:{"can-activate":a.canActivate,"can-manage":e.$allowed(a.capability),feature:a},scopedSlots:e._u([{key:"title",fn:function(){return[s(e.getIconComponent(a.icon),{tag:"component",attrs:{src:e.getIconSrc(a.icon,a.image)}}),e._v(" "+e._s(a.name)+" ")]},proxy:!0},{key:"description",fn:function(){return[s("div",{domProps:{innerHTML:e._s(e.getAddonDescription(a))}})]},proxy:!0}],null,!0)})],1)}),1)],1),e.isUnlicensed?s("cta",{staticClass:"feature-manager-upsell",attrs:{type:2,"button-text":e.strings.ctaButtonText,floating:!1,"cta-link":e.$links.utmUrl("feature-manager","main-cta"),"learn-more-link":e.$links.getUpsellUrl("feature-manager","main-cta","home"),"feature-list":[e.strings.videoNewsSitemaps,e.strings.imageSeoOptimization,e.strings.localBusinessSeo,e.strings.advancedWooCommerce,e.strings.customTaxonomies,e.strings.andMore]},scopedSlots:e._u([{key:"header-text",fn:function(){return[s("span",{staticClass:"large"},[e._v(e._s(e.strings.ctaHeaderText))])]},proxy:!0},{key:"description",fn:function(){return[e._v(" "+e._s(e.upgradeToday)+" ")]},proxy:!0},{key:"featured-image",fn:function(){return[s("img",{attrs:{src:e.$getImgUrl(e.ctaImg)}})]},proxy:!0}],null,!1,462631475)}):e._e()],1)},B=[];const N={components:{CoreAlert:S,CoreFeatureCard:A,Cta:$,GridColumn:L,GridRow:w,SvgCode:G,SvgImageSeo:F,SvgLinkAssistant:x,SvgLocalBusiness:I,SvgRedirect:C,SvgSitemapsPro:k},mixins:[U],data(){return{ctaImg:b,search:null,loading:{activateAll:!1,deactivateAll:!1},strings:{videoNewsSitemaps:"Video and News Sitemaps",imageSeoOptimization:"Image SEO Optimization",localBusinessSeo:"Local Business SEO",advancedWooCommerce:"Advanced WooCommerce",customTaxonomies:"SEO for Categories, Tags and Custom Taxonomies",andMore:"And many more...",activateAllFeatures:"Activate All Features",deactivateAllFeatures:"Deactivate All Features",searchForFeatures:"Search for Features...",ctaHeaderText:this.$t.sprintf("Upgrade %1$s to Pro and Unlock all Features!","AIOSEO"),ctaButtonText:"Upgrade to Pro and Unlock All Features",aValidLicenseIsRequired:"A valid
|
|