import{u as v,d as h}from"./vue-router.fc4966b9.js";import{I as A,u as R}from"./index.20192476.js";import{a as n}from"./addons.9d0af6ad.js";import{u as y,a as $}from"./RequiresUpdate.b297801c.js";import{C as b}from"./Index.86e580cc.js";import{_ as i}from"./_plugin-vue_export-helper.249dac1d.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.6789c400.js";import _ from"./Overview.94fd0b5a.js";import"./translations.12335a6a.js";import{_ as T}from"./default-i18n.54b5d8cd.js";import"./helpers.f95d5840.js";import"./upperFirst.96c04516.js";import"./_stringToArray.08127ca9.js";import"./toString.1401d490.js";import"./RequiresUpdate.597e1ef8.js";import"./license.37048367.js";import"./allowed.f428d9c9.js";/* empty css             */import"./params.764403f6.js";import"./Tabs.2fd33524.js";import"./Caret.662da1f3.js";import"./ProBadge.7733ac87.js";import"./Information.82968754.js";import"./Slide.d0517fb0.js";import"./Header.b89e033a.js";import"./LicenseKeyBar.4ba21094.js";import"./ScrollTo.97c9805f.js";import"./LogoGear.29bd352d.js";import"./AnimatedNumber.66005608.js";import"./numbers.b55b32c5.js";import"./Logo.f6ea28bf.js";import"./index.ee8124c6.js";import"./Support.9384b810.js";import"./date.839db266.js";import"./datetime.cb3980ce.js";import"./constants.2019bcb3.js";import"./Url.0ccd8549.js";import"./Exclamation.bf79561a.js";import"./Gear.1433c8c3.js";import"./AddonConditions.3ce0de6d.js";import"./Index.c0a0a208.js";import"./Row.f01f32cd.js";import"./Blur.31bfcf06.js";import"./Card.46af096e.js";import"./Tooltip.b6b45c85.js";import"./InternalOutbound.b4a71286.js";import"./External.b3b0805d.js";import"./SeoSiteScore.cd765b43.js";import"./AnalyzerStore.bc71b50e.js";import"./DonutChartWithLegend.6a15c88c.js";import"./Row.2d496066.js";import"./RequiredPlans.7629fd28.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 I=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=v(),p=h(),l=m(()=>t.name==="overview"?_:t.name==="domains-report"?U:t.name==="links-report"?N:t.name==="post-report"?I:t.name==="settings"?F:_),{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,H)=>(o(),s("div",G,[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{Gt as default};
