import{b as l,u as r,m as u}from"./index.62477ee8.js";import{a as _}from"./addons.274d2a7a.js";import{a as p}from"./allowed.c5017e4f.js";import"./translations.d159963e.js";import{f as d}from"./runtime-dom.esm-bundler.5c3c7d72.js";import{_ as s}from"./default-i18n.20001971.js";const e="all-in-one-seo-pack",A=()=>{const i=d(()=>{const a=[{value:"webmasterTools",label:s("Webmaster Tools",e),access:"aioseo_general_settings"},{value:"rssContent",label:s("RSS Content",e),access:"aioseo_general_settings"},{value:"advanced",label:s("Advanced",e),access:"aioseo_general_settings"},{value:"searchAppearance",label:s("Search Appearance",e),access:"aioseo_search_appearance_settings"},{value:"social",label:s("Social Networks",e),access:"aioseo_social_networks_settings"},{value:"sitemap",label:s("Sitemaps",e),access:"aioseo_sitemap_settings"},{value:"robots",label:s("Robots.txt",e),access:"aioseo_tools_settings"},{value:"breadcrumbs",label:s("Breadcrumbs",e),access:"aioseo_general_settings"}];l().internalOptions.internal.deprecatedOptions.includes("badBotBlocker")&&a.push({value:"blocker",label:s("Bad Bot Blocker",e),access:"aioseo_tools_settings"}),r().isPro&&a.push({value:"accessControl",label:s("Access Control",e),access:"aioseo_admin"});const t=u();return!t.isUnlicensed&&o("aioseo-image-seo")&&a.push({value:"image",label:s("Image SEO",e),access:"aioseo_search_appearance_settings"}),!t.isUnlicensed&&o("aioseo-local-business")&&a.push({value:"localBusiness",label:s("Local Business SEO",e),access:"aioseo_local_seo_settings"}),!t.isUnlicensed&&o("aioseo-redirects")&&a.push({value:"redirects",label:s("Redirects",e),access:"aioseo_redirects_settings"}),!t.isUnlicensed&&o("aioseo-link-assistant")&&a.push({value:"linkAssistant",label:s("Link Assistant",e),access:"aioseo_link_assistant_settings"}),!t.isUnlicensed&&o("aioseo-eeat")&&a.push({value:"eeat",label:s("Author SEO (E-E-A-T)",e),access:"aioseo_search_appearance_settings"}),a.filter(c=>p(c.access))}),o=a=>{const n=_.getAddon(a);return n&&n.isActive&&!n.requiresUpgrade};return{toolsSettings:i}};export{A as u};
