import{u as v,d as h}from"./vue-router.97a610ed.js";import{a8 as A,a as R}from"./index.ed1fc0db.js";import{a as n}from"./addons.edaa5cfa.js";import{u as $,a as b}from"./RequiresUpdate.3565aa8c.js";import{C as y}from"./Index.fdf08c2d.js";import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o,c as s,X as c,g as S,m as w,a2 as T,T as u,a1 as L,a5 as M}from"./runtime-core.esm-bundler.4f558f23.js";import _ from"./Overview.e6aebbbe.js";import"./translations.d159963e.js";import{_ as B}from"./default-i18n.20001971.js";import"./helpers.2a6f0df7.js";import"./upperFirst.3f8e52b4.js";import"./RequiresUpdate.82ddc950.js";import"./license.78a670ff.js";import"./allowed.8a9179cc.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.fefb55da.js";import"./runtime-dom.esm-bundler.f6259c83.js";import"./Button.e237bb50.js";import"./ProBadge.e183057c.js";import"./Caret.b694929e.js";import"./Information.2e3d122e.js";import"./Slide.3e3dec13.js";import"./Index.504e4ac6.js";import"./Close.8fb798f7.js";import"./Header.a21e6630.js";import"./ScrollAndHighlight.1dc41d57.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.2957dfa4.js";import"./LogoGear.f647d614.js";import"./AnimatedNumber.d98413fa.js";import"./numbers.9fc174f3.js";import"./Logo.bc3c9602.js";import"./Trash.263ee9c7.js";import"./Support.9f4ef430.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.5bd27f81.js";import"./Pencil.b89246dd.js";import"./Exclamation.fb1e454f.js";import"./Gear.2de185a5.js";import"./AddonConditions.d96f5dbe.js";import"./Index.39bbd6c8.js";import"./Row.29b591ed.js";import"./Blur.0f162340.js";import"./Card.17b56f9a.js";import"./Tooltip.447e44bb.js";import"./InternalOutbound.ddd42689.js";import"./External.972b3803.js";import"./SeoSiteScore.88af9c09.js";import"./DonutChartWithLegend.c5183a2a.js";import"./DonutChart.a3a9bd2d.js";import"./Loading.39bca920.js";import"./Row.4c85d5c8.js";import"./RequiredPlans.83142173.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 X=i(P,[["render",V]]),j={};function z(e,r){return o(),s("div")}const F=i(j,[["render",z]]),G={class:"aioseo-link-assistant"},Ot={__name:"Main",setup(e){const r="all-in-one-seo-pack",t=v(),m=h(),l=c(()=>t.name==="overview"?_:t.name==="domains-report"?q:t.name==="links-report"?N:t.name==="post-report"?X:t.name==="settings"?F:_),{getExcludedActivationTabs:f}=$(),{getExcludedUpdateTabs:d}=b(),g={pageName:B("Link Assistant",r)},k=c(()=>{const p=(n.isActive("aioseo-link-assistant")?d(m,"aioseo-link-assistant"):f(m,"aioseo-link-assistant"))||[];return p.push("post-report"),p}),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()}),(p,H)=>(o(),s("div",G,[w(u(y),{"page-name":g.pageName,"exclude-tabs":k.value,showTabs:u(t).name!=="post-report"},{default:T(()=>[(o(),L(M(l.value)))]),_:1},8,["page-name","exclude-tabs","showTabs"])]))}};export{Ot as default};
