import{k as d}from"./links.23796d97.js";import{a as l}from"./addons.afbe11a7.js";import{o,c as n,r as f,b as _,w as h,D as g}from"./vue.runtime.esm-bundler.b39e1078.js";import{_ as e}from"./_plugin-vue_export-helper.b97bdf23.js";import"./index.0eabb636.js";import"./Caret.164d8058.js";/* empty css                                            *//* empty css                                              */import"./default-i18n.3881921e.js";import"./constants.1758f66e.js";import{R as x,a as $}from"./RequiresUpdate.f25212f7.js";/* empty css                                              */import{C as v}from"./Index.99e0e9ba.js";import b from"./Redirects.ba76498c.js";import"./isArrayLikeObject.22a096cb.js";import"./upperFirst.8df5cd57.js";import"./_stringToArray.4de3b1f3.js";import"./toString.0891eb3e.js";import"./RequiresUpdate.53920481.js";import"./license.df046522.js";import"./allowed.2026f6fd.js";/* empty css             */import"./params.f0608262.js";import"./Ellipse.1be120e0.js";import"./Header.e351d146.js";import"./LicenseKeyBar.d79b3571.js";import"./LogoGear.c42c709f.js";import"./AnimatedNumber.b765a5ab.js";import"./numbers.c7cb4085.js";import"./Logo.1077fe36.js";import"./Support.a273228a.js";import"./Tabs.8ec856a5.js";import"./TruSeoScore.29220195.js";import"./Information.70c6532e.js";import"./Slide.cdf6c622.js";import"./Date.bc1ca2da.js";import"./Exclamation.2f8bed1f.js";import"./Url.1263ccb6.js";import"./Gear.a85d4a2b.js";import"./Redirects.1f2362f6.js";import"./Index.4b06a1ea.js";import"./JsonValues.870a4901.js";import"./strings.c89d2b51.js";import"./isString.714e3ec6.js";import"./ProBadge.34da75c2.js";import"./External.8186427a.js";import"./Checkbox.17c05fc5.js";import"./Checkmark.e0bb6305.js";import"./Row.5242dafa.js";import"./Tooltip.6979830f.js";import"./Plus.3a43a085.js";import"./Blur.8cc39c73.js";import"./Card.79fe964d.js";import"./Table.1ce53c08.js";import"./Index.f7bbb33f.js";import"./RequiredPlans.77523a56.js";import"./AddonConditions.1b54da61.js";const y={};function S(t,r){return o(),n("div")}const R=e(y,[["render",S]]),w={};function A(t,r){return o(),n("div")}const B=e(w,[["render",A]]),C={};function k(t,r){return o(),n("div")}const E=e(C,[["render",k]]),L={};function T(t,r){return o(),n("div")}const M=e(L,[["render",T]]),U={};function q(t,r){return o(),n("div")}const D=e(U,[["render",q]]);const N={setup(){return{redirectsStore:d()}},components:{CoreMain:v,FullSiteRedirect:R,ImportExport:B,Logs:E,Logs404:M,Redirects:b,Settings:D},mixins:[x,$],data(){return{strings:{pageName:this.$t.__("Redirects",this.$td)}}},computed:{showSaveButton(){return this.$route.name!=="redirects"&&this.$route.name!=="groups"&&this.$route.name!=="logs-404"&&this.$route.name!=="logs"&&this.$route.name!=="import-export"},excludeTabs(){var r,m,p,s,i,c,a,u;const t=l.isActive("aioseo-redirects")?this.getExcludedUpdateTabs("aioseo-redirects"):this.getExcludedActivationTabs("aioseo-redirects");return(p=(m=(r=this.redirectsStore.options)==null?void 0:r.logs)==null?void 0:m.log404)!=null&&p.enabled||t.push("logs-404"),(!((c=(i=(s=this.redirectsStore.options)==null?void 0:s.logs)==null?void 0:i.redirects)!=null&&c.enabled)||((u=(a=this.redirectsStore.options)==null?void 0:a.main)==null?void 0:u.method)==="server")&&t.push("logs"),t}}};function F(t,r,m,p,s,i){const c=f("core-main");return o(),_(c,{"page-name":s.strings.pageName,"show-save-button":i.showSaveButton,"exclude-tabs":i.excludeTabs},{default:h(()=>[(o(),_(g(t.$route.name)))]),_:1},8,["page-name","show-save-button","exclude-tabs"])}const zt=e(N,[["render",F]]);export{zt as default};
