import{u as v,d as h}from"./vue-router.eypfdvl5.js";import{a2 as A,u as R}from"./index.lqcu3hi3.js";import{a as n}from"./addons.ds3c4v6r.js";import{u as y,a as $}from"./RequiresUpdate.b3dqi7l9.js";import{C as b}from"./Index.n6mrumm5.js";import{_ as i}from"./_plugin-vue_export-helper.oebm7xum.js";import{o,c as s,f as m,y as S,C as w,l as C,u,k as L,q as M}from"./runtime-dom.esm-bundler.h3clfjuw.js";import _ from"./Overview.oijn05nc.js";import"./translations.e22mvhfh.js";import{_ as T}from"./default-i18n.bz7purh4.js";import"./cleanForSlug.etvx808q.js";import"./upperFirst.d9alxexs.js";import"./RequiresUpdate.jn7m0m8d.js";import"./license.md0nmssw.js";import"./allowed.cnz2h8ma.js";/* empty css             */import"./params.k8e95b6q.js";import"./Tabs.nyi4b4w1.js";import"./Caret.g6s6s7gs.js";import"./ProBadge.e32os6n3.js";import"./Information.djrr3pec.js";import"./Slide.dop8j51m.js";import"./Header.caiwury0.js";import"./LicenseKeyBar.hoq3y8n1.js";import"./ScrollTo.ntqtkazp.js";import"./LogoGear.gxsz2m6s.js";import"./AnimatedNumber.halltd8n.js";import"./numbers.oc93q9ut.js";import"./Logo.nueehhao.js";import"./index.cw7tfyil.js";import"./Support.eets7z2w.js";import"./date.cp76fgkd.js";import"./constants.dnzd2kuo.js";import"./Url.mx7n0tnd.js";import"./Exclamation.f0pmbpi9.js";import"./Gear.dx9icaxx.js";import"./AddonConditions.e99yh1v3.js";import"./Index.bojstwek.js";import"./Row.h4gujlzc.js";import"./Blur.mu93d3e2.js";import"./Card.nubn9etl.js";import"./Tooltip.i4md1nj9.js";import"./InternalOutbound.gq4sspcu.js";import"./External.lyui8nzf.js";import"./SeoSiteScore.b9jx09ef.js";import"./DonutChartWithLegend.b89pd2eq.js";import"./Row.ld0va2bo.js";import"./RequiredPlans.l7pjpdqj.js";const q={};function B(e,r){return o(),s("div")}const U=i(q,[["render",B]]),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 j=i(P,[["render",V]]),z={};function F(e,r){return o(),s("div")}const G=i(z,[["render",F]]),H={class:"aioseo-link-assistant"},jt={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=v(),p=h(),l=m(()=>t.name==="overview"?_:t.name==="domains-report"?U:t.name==="links-report"?N:t.name==="post-report"?j:t.name==="settings"?G:_),{getExcludedActivationTabs:f}=y(),{getExcludedUpdateTabs:d}=$(),g={pageName:T("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(),x=R();return S(()=>{window.aioseoBus.$on("changes-saved",()=>{a.getMenuData()}),x.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",H,[w(u(b),{"page-name":g.pageName,"exclude-tabs":k.value,showTabs:u(t).name!=="post-report"},{default:C(()=>[(o(),L(M(l.value)))]),_:1},8,["page-name","exclude-tabs","showTabs"])]))}};export{jt as default};
