import{u as k,d as w}from"./vue-router.ad00dfec.js";import{p as B}from"./index.681f720c.js";import{a as C}from"./addons.f0fb0b6d.js";import{u as E,a as L}from"./RequiresUpdate.14b42be3.js";import{C as T}from"./Index.4f41faeb.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.5d5e6b71.js";import h from"./Redirects.b505d5b9.js";import"./translations.d159963e.js";import{_ as N}from"./default-i18n.20001971.js";import"./helpers.e8ba8937.js";import"./upperFirst.555c1a56.js";import"./toString.6346a2b4.js";import"./RequiresUpdate.48f9783d.js";import"./license.85061030.js";import"./allowed.980a2e7b.js";/* empty css             */import"./params.af7ed354.js";import"./Tabs.6e7f902f.js";import"./Caret.202f7c21.js";import"./ProBadge.aeac9858.js";import"./Information.3b2ed489.js";import"./Slide.a525748d.js";import"./Header.3435b07a.js";import"./ScrollAndHighlight.a4f2cc11.js";import"./ScrollTo.81bea8a7.js";import"./LicenseKeyBar.fef34a92.js";import"./LogoGear.4749bc9b.js";import"./AnimatedNumber.cc7d07cd.js";import"./numbers.9fc174f3.js";import"./Logo.a44a17ba.js";import"./index.e5bcd650.js";import"./Support.9fe5eb28.js";import"./date.b84c8300.js";import"./datetime.f197aeae.js";import"./constants.fe8bda37.js";import"./Url.b0b6e9e3.js";import"./Exclamation.991934cc.js";import"./Gear.de600e87.js";import"./Redirects.46897844.js";import"./Index.1f85f823.js";import"./JsonValues.3fcfec97.js";import"./External.4ed94f4a.js";import"./escapeRegExp.84741e17.js";import"./Checkbox.28e8400d.js";import"./Checkmark.43d7168a.js";import"./DatePicker.e22ce7ce.js";import"./Calendar.951abd63.js";import"./pick.9f90ab80.js";import"./_baseSet.4599153a.js";import"./_getTag.dfa26aea.js";import"./debounce.bcf1e2f3.js";import"./toNumber.e0ae5bf1.js";import"./isEqual.1eea7163.js";import"./_baseIsEqual.654f234d.js";import"./Tooltip.418c677c.js";import"./Plus.5a0c4130.js";import"./Blur.4fe4b9a3.js";import"./Card.9816f16f.js";import"./Table.b2328bf4.js";import"./Download.cd0121de.js";import"./Index.755a5d26.js";import"./Row.aff98451.js";import"./RequiredPlans.91265b27.js";import"./AddonConditions.1eda5567.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};
