import{u as x,d as h}from"./vue-router.8d7f8ad9.js";import{J as A,u as R}from"./index.21ff19c6.js";import{a as n}from"./addons.c91345f3.js";import{u as $,a as b}from"./RequiresUpdate.874b857c.js";import{C as y}from"./Index.875a1bf9.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.c4caba60.js";import _ from"./Overview.1eb215ae.js";import"./translations.d159963e.js";import{_ as B}from"./default-i18n.20001971.js";import"./helpers.a0b389be.js";import"./upperFirst.9d3c89a3.js";import"./toString.1e64e8a6.js";import"./RequiresUpdate.fdd53652.js";import"./license.9ca44136.js";import"./allowed.de48db46.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.646b9550.js";import"./Caret.cc16468c.js";import"./ProBadge.6c04ecdd.js";import"./Information.efebd14c.js";import"./Slide.9bb3b45e.js";import"./Header.56ca1098.js";import"./ScrollAndHighlight.79421688.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.46760d8a.js";import"./LogoGear.a15cc3e7.js";import"./AnimatedNumber.f40bef48.js";import"./numbers.9fc174f3.js";import"./Logo.b10fde65.js";import"./index.f3c7a985.js";import"./Support.a74e1db4.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.58e6efcb.js";import"./Exclamation.2ee51cca.js";import"./Gear.2f512b03.js";import"./AddonConditions.ff65d638.js";import"./Index.e357517d.js";import"./Row.d49feaf0.js";import"./Blur.63f260fa.js";import"./Card.ca14447d.js";import"./Tooltip.e12834fc.js";import"./InternalOutbound.19042b04.js";import"./External.8dc923a2.js";import"./SeoSiteScore.27f85b41.js";import"./DonutChartWithLegend.9312ebff.js";import"./DonutChart.36f89ed8.js";import"./Loading.62cbc7c3.js";import"./Row.a16292d4.js";import"./RequiredPlans.b4401e93.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 j(e,r){return o(),s("div")}const z=i(J,[["render",j]]),F={class:"aioseo-link-assistant"},Gt={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=x(),c=h(),l=m(()=>t.name==="overview"?_:t.name==="domains-report"?q:t.name==="links-report"?N:t.name==="post-report"?H:t.name==="settings"?z:_),{getExcludedActivationTabs:f}=$(),{getExcludedUpdateTabs:d}=b(),g={pageName:B("Link Assistant",r)},k=m(()=>{const p=(n.isActive("aioseo-link-assistant")?d(c,"aioseo-link-assistant"):f(c,"aioseo-link-assistant"))||[];return p.push("post-report"),p}),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()}),(p,G)=>(o(),s("div",F,[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};
