import"./WpTable.078239fd.js";import{n as e}from"./vueComponentNormalizer.58b0a173.js";import{a as u,b as p,m as l}from"./index.f16c040b.js";import{R as _,a as m}from"./RequiresUpdate.a4bb1066.js";import{C as v}from"./Index.cbe0b14f.js";import d from"./Overview.295e0e73.js";import"./constants.71b051da.js";import"./isArrayLikeObject.5268a676.js";import"./default-i18n.0e73c33c.js";import"./attachments.0f69322e.js";import"./cleanForSlug.41bbbaec.js";import"./index.c9bc1c73.js";import"./client.b661b356.js";import"./_commonjsHelpers.10c44588.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.272b3133.js";import"./RequiresUpdate.bccd25de.js";/* empty css             */import"./params.bea1a08d.js";import"./Header.ba91dc6e.js";import"./LicenseKeyBar.ddce09ea.js";import"./LogoGear.99a79064.js";import"./AnimatedNumber.1915b2fc.js";import"./Logo.97285076.js";import"./Support.01b73fda.js";import"./Tabs.6838349b.js";import"./TruSeoScore.98a47fd6.js";import"./Information.6f7632ab.js";import"./Slide.01023b2f.js";import"./Exclamation.77933285.js";import"./Url.781a1d48.js";import"./Gear.b5f13261.js";import"./Blur.945b1b3e.js";import"./Row.89c6bb85.js";import"./Card.1a6f5bab.js";import"./Tooltip.a36a3967.js";import"./InternalOutbound.f78ca25f.js";import"./DonutChartWithLegend.44df5353.js";import"./SeoSiteScore.48a1cf92.js";import"./Row.be7ba429.js";import"./RequiredPlans.42f58662.js";import"./Index.28b23aca.js";var f=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div")},$=[];const g={},o={};var h=e(g,f,$,!1,x,null,null,null);function x(t){for(let n in o)this[n]=o[n]}const S=function(){return h.exports}();var y=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div")},k=[];const A={},r={};var M=e(A,y,k,!1,R,null,null,null);function R(t){for(let n in r)this[n]=r[n]}const b=function(){return M.exports}();var P=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div")},E=[];const T={},i={};var j=e(T,P,E,!1,F,null,null,null);function F(t){for(let n in i)this[n]=i[n]}const w=function(){return j.exports}();var C=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div")},L=[];const U={},a={};var q=e(U,C,L,!1,D,null,null,null);function D(t){for(let n in a)this[n]=a[n]}const N=function(){return q.exports}();var z=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div",{staticClass:"aioseo-link-assistant"},[s("core-main",{attrs:{"page-name":t.strings.pageName,"exclude-tabs":t.excludedTabs,showTabs:t.$route.name!=="post-report"}},[s(t.$route.name,{tag:"component"})],1),s("transition",{attrs:{name:"fade-processing-popup"}},[t.suggestionsScan.showProcessingPopup&&(t.$route.name==="links-report"||t.$route.name==="overview")&&t.suggestionsScan.percent!==100?s("core-processing-popup",{on:{"close-processing-popup":t.toggleProcessingPopup}}):t._e()],1)],1)},O=[];const V={components:{CoreMain:v,DomainsReport:S,LinksReport:b,Overview:d,PostReport:w,Settings:N},mixins:[_,m],data(){return{strings:{pageName:this.$t.__("Link Assistant",this.$td)}}},computed:{...u("linkAssistant",["suggestionsScan"]),excludedTabs(){const t=(this.$addons.isActive("aioseo-link-assistant")?this.getExcludedUpdateTabs("aioseo-link-assistant"):this.getExcludedActivationTabs("aioseo-link-assistant"))||[];return t.push("post-report"),t}},methods:{...p("linkAssistant",["toggleProcessingPopup"]),...l("linkAssistant",["pollSuggestionsScan","getMenuData"])},mounted(){this.$bus.$on("changes-saved",()=>{this.getMenuData()}),this.$isPro&&this.suggestionsScan.percent!==100&&this.$addons.isActive("aioseo-link-assistant")&&!this.$addons.requiresUpgrade("aioseo-link-assistant")&&this.$addons.hasMinimumVersion("aioseo-link-assistant")&&this.pollSuggestionsScan()}},c={};var B=e(V,z,O,!1,G,null,null,null);function G(t){for(let n in c)this[n]=c[n]}const wt=function(){return B.exports}();export{wt as default};
