import{d as y,e as v,w as c,q as b,n as P,x as a,l as e,u as t}from"../../../../common/index.CPcBO1Os.js";import{g as i}from"../index.CjI1uML7.js";import{u as C,a as w}from"../../../../common/vue-router.jJOaD9p9.js";import{T as n,a as A}from"../../../../common/index.DCsueDE4.js";import{_ as h}from"../../../../common/_plugin-vue_export-helper.DlAUqK2U.js";import"../../../../common/index.TkDYtvUB.js";import"../../../../common/index.BA7kDUNA.js";import"../../../../common/_getTag.5j88QV3u.js";import"../../../../common/KeyCode.D63Tfrq7.js";import"../../../../common/index.CApVEAs_.js";import"../../../../common/index.hZKuveGx.js";import"../../../../common/zoom.DosRZx44.js";import"../../../../common/Portal.B2TrUL41.js";import"../../../../common/devWarning.DpJYEIzv.js";import"../../../../common/useState.DXwtWea_.js";import"../../../../common/_arrayIncludes.BXKtlcwP.js";import"../../../../common/collapseMotion.PLgfPpML.js";import"../../../../common/slide.B35vT7ib.js";import"../../../../common/index.Zb3sbx9p.js";import"../../../../common/hasIn.DnK4nlor.js";import"../../../../common/_flatRest.CRlGMFOI.js";import"../../../../common/isMobile.BbN7I0i_.js";import"../../../../common/useMergedState.B2De2-37.js";import"../../../../common/CloseOutlined.gy8y5blQ.js";import"../../../../common/omit.ddwJ_9WE.js";const k=y({__name:"SettingsPage",setup(q){const g=i("pages/AiAgentsPage.vue"),u=i("pages/ConnectPage.vue"),f=i("pages/ChatWidgetSettingsPage.vue"),d=i("pages/ToolsPage.vue"),{__:r}=window.wp.i18n,m=C(),_=w(),s=v(m.query.tab||"ai-agents");return c(s,o=>{_.push({query:{...m.query,tab:o}})}),c(()=>m.query.tab,o=>{o&&typeof o=="string"&&(s.value=o)}),(o,p)=>(P(),b(t(A),{activeKey:s.value,"onUpdate:activeKey":p[0]||(p[0]=l=>s.value=l)},{default:a(()=>[e(t(n),{key:"ai-agents",tab:t(r)("AI Content Tools","storeagent-ai-for-woocommerce")},{default:a(()=>[e(t(g))]),_:1},8,["tab"]),e(t(n),{key:"chat-widget",tab:t(r)("AI Chat","storeagent-ai-for-woocommerce")},{default:a(()=>[e(t(f))]),_:1},8,["tab"]),e(t(n),{key:"connection",tab:t(r)("Connection","storeagent-ai-for-woocommerce")},{default:a(()=>[e(t(u))]),_:1},8,["tab"]),e(t(n),{key:"tools",tab:t(r)("Tools","storeagent-ai-for-woocommerce")},{default:a(()=>[e(t(d))]),_:1},8,["tab"])]),_:1},8,["activeKey"]))}}),Z=h(k,[["__scopeId","data-v-55d12d45"]]);export{Z as default};
