UNPKG

decocms

Version:

Deco CMS — Self-hostable MCP Gateway for managing AI connections and tools

2 lines (1 loc) • 1.88 kB
import{c as x,l as h,m as j,j as e,P as u,aV as g,O as P,n as R}from"./index-ztdGKvBm.js";import{u as b}from"./use-mobile-C_hdQY5I.js";import{R as v}from"./route-page-header-CApA0aIo.js";import{A as _}from"./plan-usage-card-Cu6N697K.js";import"./LayoutLeft-DDtN-od-.js";import"./use-sidebar-collapsed-Cy-mIzeN.js";import"./sheet-C-umRrOH.js";import"./tooltip-Bm0P1gm_.js";import"./index-CDQbtG2e.js";import"./toolbar-icon-button-Cz-oOJ1w.js";import"./use-project-scope-BwqdbGG4.js";import"./repository-binding-D_Xc1yRH.js";import"./use-mcp-client-2MG3LveS.js";import"./auth-C82OPjUx.js";import"./use-current-view-DBmQQ8uy.js";import"./use-in-settings-CFQ9B3W2.js";import"./thread-route-CfpvvkkL.js";import"./Plus-DWySsEmB.js";import"./badge-DcUertOZ.js";import"./popover-C4oz5B-L.js";import"./toggle-group-yQeAFu4u.js";import"./active-indicator-CCMhAsc_.js";import"./use-ai-providers-Ct2xvYDX.js";import"./use-entitlements-Gn1rhCN5.js";import"./plan-ladder-C3ogU-RT.js";function T(){const t=x.c(16),d=b();let n;t[0]===Symbol.for("react.memo_cache_sentinel")?(n={select:B},t[0]=n):n=t[0];const p=h(n),c=!d&&"p-1.5";let i;t[1]!==c?(i=j("flex-1 min-h-0 min-w-0",c),t[1]=c,t[2]=i):i=t[2];const f=d?"plain":"card";let o;t[3]!==p?(o=p?e.jsx(_,{}):void 0,t[3]=p,t[4]=o):o=t[4];let r;t[5]!==o?(r=e.jsx(v,{actions:o}),t[5]=o,t[6]=r):r=t[6];let a;t[7]===Symbol.for("react.memo_cache_sentinel")?(a=e.jsx(u.Content,{children:e.jsx(g,{children:e.jsx(P,{})})}),t[7]=a):a=t[7];let s;t[8]!==r?(s=e.jsxs(R.Breadcrumbs.Provider,{children:[r,a]}),t[8]=r,t[9]=s):s=t[9];let m;t[10]!==f||t[11]!==s?(m=e.jsx(u,{"data-testid":"settings-panel",variant:f,children:s}),t[10]=f,t[11]=s,t[12]=m):m=t[12];let l;return t[13]!==i||t[14]!==m?(l=e.jsx("div",{className:i,children:m}),t[13]=i,t[14]=m,t[15]=l):l=t[15],l}function B(t){return t.location.pathname.endsWith("/settings/ai-providers")}export{T as default};