import{u as v,d as h}from"./vue-router.fd2bb90e.js";import{I as A,u as R}from"./index.a13799ab.js";import{a as n}from"./addons.90aa6c58.js";import{u as $,a as b}from"./RequiresUpdate.097c81df.js";import{C as y}from"./Index.42018947.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.f754699e.js";import"./translations.d159963e.js";import{_ as q}from"./default-i18n.20001971.js";import"./helpers.a0b389be.js";import"./upperFirst.9d3c89a3.js";import"./toString.1e64e8a6.js";import"./RequiresUpdate.f2abeaa7.js";import"./license.61cecabd.js";import"./allowed.b3be0973.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.4788ba43.js";import"./Caret.7cc96622.js";import"./ProBadge.2e262a91.js";import"./Information.8cb16b63.js";import"./Slide.1db617da.js";import"./Header.ea82deea.js";import"./LicenseKeyBar.790f77f2.js";import"./ScrollTo.81bea8a7.js";import"./LogoGear.383c5312.js";import"./AnimatedNumber.572be72b.js";import"./numbers.9fc174f3.js";import"./Logo.a16dfa01.js";import"./index.d63536bd.js";import"./Support.8462f1d2.js";import"./date.a0d85d51.js";import"./datetime.f197aeae.js";import"./constants.a8a14dc3.js";import"./Url.772412e1.js";import"./Exclamation.a4801e64.js";import"./Gear.9759526d.js";import"./AddonConditions.dc25092e.js";import"./Index.9f340035.js";import"./Row.c7b7fb90.js";import"./Blur.601d8ea8.js";import"./Card.b4864217.js";import"./Tooltip.78b61f71.js";import"./InternalOutbound.73bb0872.js";import"./External.e551aa30.js";import"./SeoSiteScore.b9cddfde.js";import"./DonutChartWithLegend.df58f29f.js";import"./Row.8ed26877.js";import"./RequiredPlans.545990bc.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};
