import{a as l,o as r}from"./index.684c656d.js";import{a as u}from"./addons.20532c13.js";import{a as _}from"./allowed.d1f2b87f.js";import"./translations.d159963e.js";import{j as p}from"./runtime-dom.esm-bundler.d8b05b6d.js";import{_ as s}from"./default-i18n.20001971.js";const e="all-in-one-seo-pack",S=()=>{const i=p(()=>{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().isPro&&a.push({value:"accessControl",label:s("Access Control",e),access:"aioseo_admin"});const t=r();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=>_(c.access))}),o=a=>{const n=u.getAddon(a);return n&&n.isActive&&!n.requiresUpgrade};return{toolsSettings:i}};export{S as u};
