import{u as x,d as h}from"./vue-router.ad00dfec.js";import{a7 as A,u as R}from"./index.bd66e758.js";import{a as n}from"./addons.efc46fe0.js";import{u as $,a as b}from"./RequiresUpdate.71cd5072.js";import{C as y}from"./Index.306079bc.js";import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o,c as s,f as m,k as S,H as w,m as L,u,l as M,v as T}from"./runtime-dom.esm-bundler.5d5e6b71.js";import _ from"./Overview.9fd8d3f7.js";import"./translations.d159963e.js";import{_ as B}from"./default-i18n.20001971.js";import"./helpers.bf0d86e6.js";import"./upperFirst.9b123e9b.js";import"./RequiresUpdate.43ada62f.js";import"./license.32be7976.js";import"./allowed.6a0a8b85.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.38c9ba5c.js";import"./Caret.382b7591.js";import"./ProBadge.aeac9858.js";import"./Information.3b2ed489.js";import"./Slide.a525748d.js";import"./Header.393ae426.js";import"./ScrollAndHighlight.dd46331b.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.b06d3d5d.js";import"./LogoGear.4749bc9b.js";import"./AnimatedNumber.cc7d07cd.js";import"./numbers.9fc174f3.js";import"./Logo.a44a17ba.js";import"./index.eb92a2a8.js";import"./Support.9fe5eb28.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.47c8a1c7.js";import"./Exclamation.991934cc.js";import"./Gear.de600e87.js";import"./AddonConditions.21ed0fed.js";import"./Index.1a358ca4.js";import"./Row.aff98451.js";import"./Blur.4fe4b9a3.js";import"./Card.88a70537.js";import"./Tooltip.418c677c.js";import"./InternalOutbound.649b4901.js";import"./External.10aa7540.js";import"./SeoSiteScore.12437843.js";import"./DonutChartWithLegend.e59b7f95.js";import"./DonutChart.d528c6ed.js";import"./Loading.28c36947.js";import"./Row.e2b90b2a.js";import"./RequiredPlans.54d3867a.js";const C={};function U(e,r){return o(),s("div")}const q=i(C,[["render",U]]),D={};function E(e,r){return o(),s("div")}const N=i(D,[["render",E]]),P={};function V(e,r){return o(),s("div")}const H=i(P,[["render",V]]),j={};function z(e,r){return o(),s("div")}const F=i(j,[["render",z]]),G={class:"aioseo-link-assistant"},Gt={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=x(),p=h(),l=m(()=>t.name==="overview"?_:t.name==="domains-report"?q:t.name==="links-report"?N:t.name==="post-report"?H:t.name==="settings"?F:_),{getExcludedActivationTabs:f}=$(),{getExcludedUpdateTabs:d}=b(),g={pageName:B("Link Assistant",r)},k=m(()=>{const c=(n.isActive("aioseo-link-assistant")?d(p,"aioseo-link-assistant"):f(p,"aioseo-link-assistant"))||[];return c.push("post-report"),c}),a=A(),v=R();return S(()=>{window.aioseoBus.$on("changes-saved",()=>{a.getMenuData()}),v.isPro&&a.suggestionsScan.percent!==100&&n.isActive("aioseo-link-assistant")&&!n.requiresUpgrade("aioseo-link-assistant")&&n.hasMinimumVersion("aioseo-link-assistant")&&a.pollSuggestionsScan()}),(c,I)=>(o(),s("div",G,[w(u(y),{"page-name":g.pageName,"exclude-tabs":k.value,showTabs:u(t).name!=="post-report"},{default:L(()=>[(o(),M(T(l.value)))]),_:1},8,["page-name","exclude-tabs","showTabs"])]))}};export{Gt as default};
