import{u as k,d as w}from"./vue-router.ad00dfec.js";import{t as B}from"./index.bd66e758.js";import{a as C}from"./addons.efc46fe0.js";import{u as E,a as L}from"./RequiresUpdate.71cd5072.js";import{C as T}from"./Index.306079bc.js";import{_ as n}from"./_plugin-vue_export-helper.eefbdd86.js";import{o as r,c as i,f as a,l as v,m as U,u as q,v as M}from"./runtime-dom.esm-bundler.5d5e6b71.js";import h from"./Redirects.894e75fb.js";import"./translations.d159963e.js";import{_ as N}from"./default-i18n.20001971.js";import"./helpers.bf0d86e6.js";import"./upperFirst.9b123e9b.js";import"./RequiresUpdate.43ada62f.js";import"./license.32be7976.js";import"./allowed.6a0a8b85.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.38c9ba5c.js";import"./Caret.382b7591.js";import"./ProBadge.aeac9858.js";import"./Information.3b2ed489.js";import"./Slide.a525748d.js";import"./Header.393ae426.js";import"./ScrollAndHighlight.dd46331b.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.b06d3d5d.js";import"./LogoGear.4749bc9b.js";import"./AnimatedNumber.cc7d07cd.js";import"./numbers.9fc174f3.js";import"./Logo.a44a17ba.js";import"./index.eb92a2a8.js";import"./Support.9fe5eb28.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.47c8a1c7.js";import"./Exclamation.991934cc.js";import"./Gear.de600e87.js";import"./Redirects.b19f70fe.js";import"./Index.5950d497.js";import"./JsonValues.3fcfec97.js";import"./External.4ed94f4a.js";import"./escapeRegExp.d3b8cae1.js";import"./Checkbox.28e8400d.js";import"./Checkmark.43d7168a.js";import"./DatePicker.7ee6972d.js";import"./Calendar.951abd63.js";import"./pick.ae0db3bb.js";import"./_getTag.591de94f.js";import"./debounce.516e8bfd.js";import"./toNumber.5442b1b2.js";import"./isEqual.5cc76a57.js";import"./_baseIsEqual.6ce4f4be.js";import"./Tooltip.418c677c.js";import"./Plus.5a0c4130.js";import"./Blur.4fe4b9a3.js";import"./Card.88a70537.js";import"./Table.ede098b2.js";import"./Download.cd0121de.js";import"./Index.1a358ca4.js";import"./Row.aff98451.js";import"./RequiredPlans.54d3867a.js";import"./AddonConditions.21ed0fed.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]]),mr={__name:"Main",setup(e){const o="all-in-one-seo-pack",t=k(),p=w(),$=a(()=>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=a(()=>t.name!=="redirects"&&t.name!=="groups"&&t.name!=="logs-404"&&t.name!=="logs"&&t.name!=="import-export"),m=B(),S=a(()=>{var c,u,_,l,f,d,g,x;const s=C.isActive("aioseo-redirects")?R(p,"aioseo-redirects"):b(p,"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{mr as default};
