import"./WpTable.36ecda37.js";import{n as o}from"./vueComponentNormalizer.67c9b86e.js";import"./index.7b63dad7.js";import{R as p,a as u}from"./RequiresUpdate.5b45eaa2.js";import"./SaveChanges.68e73792.js";import{a as l,b as _,m}from"./vuex.esm.19624049.js";import{C as v}from"./Index.dedfb600.js";import d from"./Overview.00caf61c.js";import"./helpers.a2b0759e.js";import"./attachments.e5102eba.js";import"./cleanForSlug.7a45fb51.js";import"./isArrayLikeObject.5268a676.js";import"./constants.8bff9f56.js";import"./default-i18n.0e73c33c.js";import"./Caret.eeb84d06.js";import"./_commonjsHelpers.10c44588.js";import"./html.bcbe747e.js";import"./Index.cb09fd7a.js";import"./RequiresUpdate.7e7d7544.js";/* empty css             */import"./params.bea1a08d.js";import"./Header.bfe9db56.js";import"./LicenseKeyBar.570b7585.js";import"./LogoGear.24cd9dcf.js";import"./AnimatedNumber.cf2f1d52.js";import"./Logo.8bd8cd82.js";import"./index.81e35b24.js";import"./client.90beecd8.js";import"./translations.3bc9d58c.js";import"./portal-vue.esm.18ed59c3.js";import"./Support.2360c2d9.js";import"./Tabs.2c3e6ab7.js";import"./TruSeoScore.98a47fd6.js";import"./Information.be119534.js";import"./Slide.9538a421.js";import"./Exclamation.9f3b358f.js";import"./Url.781a1d48.js";import"./Gear.7c17fabe.js";import"./Blur.920c6287.js";import"./Row.2d17f2cd.js";import"./Card.efd2e18e.js";import"./Tooltip.d723c3c3.js";import"./InternalOutbound.92a32ec6.js";import"./DonutChartWithLegend.3c257624.js";import"./SeoSiteScore.48a1cf92.js";import"./Row.733aef3c.js";import"./RequiredPlans.0a20e7e8.js";import"./Index.92416e95.js";var f=function(){var t=this,n=t.$createElement,s=t._self._c||n;return s("div")},$=[];const g={},e={};var h=o(g,f,$,!1,x,null,null,null);function x(t){for(let n in e)this[n]=e[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=o(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=o(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=o(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:[p,u],data(){return{strings:{pageName:this.$t.__("Link Assistant",this.$td)}}},computed:{...l("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:{..._("linkAssistant",["toggleProcessingPopup"]),...m("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=o(V,z,O,!1,G,null,null,null);function G(t){for(let n in c)this[n]=c[n]}const Nt=function(){return B.exports}();export{Nt as default};
