import{u as v,d as h}from"./vue-router.fd2bb90e.js";import{I as A,u as R}from"./index.bb0afb15.js";import{a as n}from"./addons.9733312c.js";import{u as $,a as b}from"./RequiresUpdate.36f08c9e.js";import{C as y}from"./Index.c3d8fcfd.js";import{_ as i}from"./_plugin-vue_export-helper.eefbdd86.js";import{o,c as s,f as m,z as S,H as w,l as L,u,k as M,q as T}from"./runtime-dom.esm-bundler.baf35205.js";import _ from"./Overview.1cb8f85c.js";import"./translations.d159963e.js";import{_ as q}from"./default-i18n.20001971.js";import"./helpers.80db7619.js";import"./upperFirst.ebdcbcf5.js";import"./toString.5aade9aa.js";import"./RequiresUpdate.36853268.js";import"./license.48e46450.js";import"./allowed.f496b24d.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.9fff5d3c.js";import"./Caret.7cc96622.js";import"./ProBadge.2e262a91.js";import"./Information.8cb16b63.js";import"./Slide.1db617da.js";import"./Header.679cfe30.js";import"./LicenseKeyBar.e4f8db55.js";import"./ScrollTo.81bea8a7.js";import"./LogoGear.383c5312.js";import"./AnimatedNumber.572be72b.js";import"./numbers.9fc174f3.js";import"./Logo.a16dfa01.js";import"./index.7fee6f1a.js";import"./Support.8462f1d2.js";import"./date.a0d85d51.js";import"./datetime.f197aeae.js";import"./constants.a8a14dc3.js";import"./Url.bb544e92.js";import"./Exclamation.a4801e64.js";import"./Gear.9759526d.js";import"./AddonConditions.37007fe7.js";import"./Index.9f340035.js";import"./Row.c7b7fb90.js";import"./Blur.601d8ea8.js";import"./Card.16558ba3.js";import"./Tooltip.78b61f71.js";import"./InternalOutbound.73bb0872.js";import"./External.e551aa30.js";import"./SeoSiteScore.4c5a606b.js";import"./DonutChartWithLegend.df58f29f.js";import"./Row.8ed26877.js";import"./RequiredPlans.d562d70d.js";const B={};function C(e,r){return o(),s("div")}const U=i(B,[["render",C]]),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 z=i(P,[["render",V]]),H={};function I(e,r){return o(),s("div")}const j=i(H,[["render",I]]),F={class:"aioseo-link-assistant"},It={__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"?z:t.name==="settings"?j:_),{getExcludedActivationTabs:f}=$(),{getExcludedUpdateTabs:d}=b(),g={pageName:q("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,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{It as default};
