import{X as e,bt as t,vt as n}from"./xY0c-UfG.js";import{t as r}from"./ByTixK1i.js";var i={profile:{panel:`profile`},team:{panel:`workspace`,wsTab:`team`},folders:{panel:`workspace`,wsTab:`folders`},organization:{panel:`workspace`,wsTab:`organization`},mcp:{panel:`integrations`,intTab:`studiograph`},external:{panel:`integrations`,intTab:`external`},"meeting-capture":{panel:`meeting-capture`},providers:{panel:`providers`}},a={preferences:`profile`,workspace:`team`,connectors:`mcp`,storage:`providers`,secrets:`providers`,audit:`providers`},o=new Set([`team`,`organization`,`providers`,`workspace`,`storage`,`secrets`,`audit`]),s=t(`panel`),c={get value(){return e(s)},showList(){n(s,`list`)},showPanel(){n(s,`panel`)}};function l(e){let t=i[e?a[e]??e:`profile`]??i.profile;r.showSettings(t.panel,t.wsTab,t.intTab),n(s,e?`panel`:`list`,!0)}function u(){let e=r.settingsPanel;return e?e===`profile`?`profile`:e===`meeting-capture`?`meeting-capture`:e===`providers`?`providers`:e===`integrations`?r.integrationsTab===`external`?`external`:`mcp`:e===`workspace`?r.workspaceTab:null:null}export{c as a,l as i,u as n,a as r,o as t};