import{k as d}from"./links.w575jfOL.js";import{R as l,a as f}from"./RequiresUpdate.C3y5Aoo9.js";import{a as h}from"./addons.CJ8lJt9v.js";import{C as g}from"./Index.BgYBArag.js";import{_ as e}from"./_plugin-vue_export-helper.BN1snXvA.js";import{o,c as n,v as x,k as _,l as $,q as v}from"./runtime-dom.esm-bundler.CWn9hmRK.js";import b from"./Redirects.D91L70N6.js";import"./default-i18n.DXRQgkn2.js";import"./helpers.CXsRrhc8.js";import"./RequiresUpdate.CTDzPdby.js";import"./upperFirst.yVnsg4QL.js";import"./_stringToArray.DnK4tKcY.js";import"./toString.zLSwYOtv.js";import"./license.BWlasdzY.js";import"./allowed.jlDmxPN2.js";/* empty css             */import"./params.B3T1WKlC.js";import"./Ellipse.Br8hAdqt.js";import"./Caret.B8YmKvEY.js";import"./Header.Dl9l7HVR.js";import"./ScrollAndHighlight.CgbfptKH.js";import"./LogoGear.DQjXqfk4.js";import"./AnimatedNumber.BelgQe_o.js";import"./numbers.BT5e8rgb.js";import"./Logo.BukaIm9R.js";import"./index.vo0_cz49.js";import"./Support.D_rtj1Hi.js";import"./Tabs.qjdtP0a-.js";import"./TruSeoScore.DmC22Awy.js";import"./ProBadge.CeTQI5Mm.js";import"./Information.DOYCSlH5.js";import"./Slide.DwUOEoDg.js";import"./Url.CJ1cXO5Z.js";import"./Date.DuGsSEmw.js";import"./constants.Ct0G2N2t.js";import"./Exclamation.SlOpu0r6.js";import"./Gear.BX0imWnw.js";import"./Redirects.CQeMuBf0.js";import"./Index.APm3Im3B.js";import"./JsonValues.D25FTfEu.js";import"./External.BpvgQygW.js";import"./escapeRegExp.D4cfHJVO.js";import"./Checkbox.dOnSakMX.js";import"./Checkmark.CZaciSER.js";import"./DatePicker.EC4dtefp.js";import"./Calendar.Ch9ZELBO.js";import"./pick.E0dwuk96.js";import"./_baseSet.rYV3oc6X.js";import"./_getTag.BWQxgJie.js";import"./debounce.CMPzYXJX.js";import"./toNumber.BAPajc32.js";import"./_baseTrim.BYZhh0MR.js";import"./isEqual.DkU1ezAe.js";import"./_baseIsEqual.MNbeg0L2.js";import"./Tooltip.u2Cos2P_.js";import"./Plus.B44fv6Ya.js";import"./Blur.DIwtbD0z.js";import"./Card.DcyLIJc9.js";import"./Table.eZ8iPnsH.js";import"./Index.BLcpDwVY.js";import"./Row.Depn1REx.js";import"./RequiredPlans.DbYABcJ7.js";import"./AddonConditions.B4IfA8sL.js";const S={};function y(t,r){return o(),n("div")}const R=e(S,[["render",y]]),A={};function k(t,r){return o(),n("div")}const w=e(A,[["render",k]]),B={};function C(t,r){return o(),n("div")}const E=e(B,[["render",C]]),L={};function T(t,r){return o(),n("div")}const q=e(L,[["render",T]]),U={};function M(t,r){return o(),n("div")}const N=e(U,[["render",M]]),D={setup(){return{redirectsStore:d()}},components:{CoreMain:g,FullSiteRedirect:R,ImportExport:w,Logs:E,Logs404:q,Redirects:b,Settings:N},mixins:[l,f],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=h.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=x("core-main");return o(),_(c,{"page-name":s.strings.pageName,"show-save-button":i.showSaveButton,"exclude-tabs":i.excludeTabs},{default:$(()=>[(o(),_(v(t.$route.name)))]),_:1},8,["page-name","show-save-button","exclude-tabs"])}const Qt=e(D,[["render",F]]);export{Qt as default};
