import{u as k,d as w}from"./vue-router.8d7f8ad9.js";import{p as B}from"./index.21ff19c6.js";import{a as C}from"./addons.c91345f3.js";import{u as E,a as L}from"./RequiresUpdate.874b857c.js";import{C as T}from"./Index.875a1bf9.js";import{_ as n}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as r,c as i,f as p,l as v,m as U,u as q,v as M}from"./runtime-dom.esm-bundler.c4caba60.js";import h from"./Redirects.965fa1f1.js";import"./translations.d159963e.js";import{_ as N}from"./default-i18n.20001971.js";import"./helpers.a0b389be.js";import"./upperFirst.9d3c89a3.js";import"./toString.1e64e8a6.js";import"./RequiresUpdate.fdd53652.js";import"./license.9ca44136.js";import"./allowed.de48db46.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.646b9550.js";import"./Caret.cc16468c.js";import"./ProBadge.6c04ecdd.js";import"./Information.efebd14c.js";import"./Slide.9bb3b45e.js";import"./Header.56ca1098.js";import"./ScrollAndHighlight.79421688.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.46760d8a.js";import"./LogoGear.a15cc3e7.js";import"./AnimatedNumber.f40bef48.js";import"./numbers.9fc174f3.js";import"./Logo.b10fde65.js";import"./index.f3c7a985.js";import"./Support.a74e1db4.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.58e6efcb.js";import"./Exclamation.2ee51cca.js";import"./Gear.2f512b03.js";import"./Redirects.442916a0.js";import"./Index.4d03f318.js";import"./JsonValues.3fcfec97.js";import"./External.6e60bbfb.js";import"./escapeRegExp.8deca77d.js";import"./Checkbox.475ec1e7.js";import"./Checkmark.34fb32e2.js";import"./DatePicker.2fe181f7.js";import"./Calendar.322e89db.js";import"./pick.f3b96ebd.js";import"./_baseSet.ca702273.js";import"./_getTag.69d3a807.js";import"./debounce.f2bce338.js";import"./toNumber.89dbadc6.js";import"./isEqual.34cebf90.js";import"./_baseIsEqual.e5574158.js";import"./Tooltip.e12834fc.js";import"./Plus.5c071d29.js";import"./Blur.63f260fa.js";import"./Card.ca14447d.js";import"./Table.75b83b5a.js";import"./Download.f06882d0.js";import"./Index.e357517d.js";import"./Row.d49feaf0.js";import"./RequiredPlans.b4401e93.js";import"./AddonConditions.ff65d638.js";const D={};function F(e,o){return r(),i("div")}const I=n(D,[["render",F]]),P={};function j(e,o){return r(),i("div")}const z=n(P,[["render",j]]),G={};function H(e,o){return r(),i("div")}const J=n(G,[["render",H]]),K={};function O(e,o){return r(),i("div")}const Q=n(K,[["render",O]]),V={};function W(e,o){return r(),i("div")}const X=n(V,[["render",W]]),pr={__name:"Main",setup(e){const o="all-in-one-seo-pack",t=k(),a=w(),$=p(()=>t.name==="full-site-redirect"?I:t.name==="import-export"?z:t.name==="logs"?J:t.name==="logs-404"?Q:t.name==="redirects"?h:t.name==="settings"?X:h),{getExcludedActivationTabs:b}=E(),{getExcludedUpdateTabs:R}=L(),y={pageName:N("Redirects",o)},A=p(()=>t.name!=="redirects"&&t.name!=="groups"&&t.name!=="logs-404"&&t.name!=="logs"&&t.name!=="import-export"),m=B(),S=p(()=>{var c,u,_,l,f,d,g,x;const s=C.isActive("aioseo-redirects")?R(a,"aioseo-redirects"):b(a,"aioseo-redirects");return(_=(u=(c=m.options)==null?void 0:c.logs)==null?void 0:u.log404)!=null&&_.enabled||s.push("logs-404"),(!((d=(f=(l=m.options)==null?void 0:l.logs)==null?void 0:f.redirects)!=null&&d.enabled)||((x=(g=m.options)==null?void 0:g.main)==null?void 0:x.method)==="server")&&s.push("logs"),s});return(s,c)=>(r(),v(q(T),{"page-name":y.pageName,"show-save-button":A.value,"exclude-tabs":S.value},{default:U(()=>[(r(),v(M($.value)))]),_:1},8,["page-name","show-save-button","exclude-tabs"]))}};export{pr as default};
