import{c as a,r as u,j as o}from"./index-DkVMZPZp.js";import{c as f}from"./button-CWzK0IXA.js";function x(n,e){const s=u.Children.toArray(n);for(const l of s)if(u.isValidElement(l)&&l.type===e)return l;return null}function b(n){const e=a.c(5),{children:s,className:l}=n;let t;e[0]!==l?(t=f("flex flex-col h-full bg-background overflow-hidden",l),e[0]=l,e[1]=t):t=e[1];let r;return e[2]!==s||e[3]!==t?(r=o.jsx("div",{className:t,children:s}),e[2]=s,e[3]=t,e[4]=r):r=e[4],r}function j(n){const e=a.c(12),{children:s,className:l}=n;let t;e[0]!==s?(t=x(s,g),e[0]=s,e[1]=t):t=e[1];const r=t;let d;e[2]!==s?(d=x(s,p),e[2]=s,e[3]=d):d=e[3];const h=d;let i;e[4]!==l?(i=f("shrink-0 w-full border-b border-border h-12 overflow-x-auto",l),e[4]=l,e[5]=i):i=e[5];let c;e[6]!==r||e[7]!==h?(c=o.jsxs("div",{className:"flex items-center justify-between gap-3 h-12 px-4 min-w-max",children:[r,h]}),e[6]=r,e[7]=h,e[8]=c):c=e[8];let m;return e[9]!==i||e[10]!==c?(m=o.jsx("div",{className:i,children:c}),e[9]=i,e[10]=c,e[11]=m):m=e[11],m}function g(n){const e=a.c(5),{children:s,className:l}=n;let t;e[0]!==l?(t=f("flex items-center gap-2 flex-shrink-0 overflow-hidden",l),e[0]=l,e[1]=t):t=e[1];let r;return e[2]!==s||e[3]!==t?(r=o.jsx("div",{className:t,children:s}),e[2]=s,e[3]=t,e[4]=r):r=e[4],r}function p(n){const e=a.c(5),{children:s,className:l}=n;let t;e[0]!==l?(t=f("flex items-center gap-2 flex-shrink-0 overflow-hidden border-l border-border pl-3",l),e[0]=l,e[1]=t):t=e[1];let r;return e[2]!==s||e[3]!==t?(r=o.jsx("div",{className:t,children:s}),e[2]=s,e[3]=t,e[4]=r):r=e[4],r}function v(n){const e=a.c(5),{children:s,className:l}=n;let t;e[0]!==l?(t=f("flex-1 overflow-auto",l),e[0]=l,e[1]=t):t=e[1];let r;return e[2]!==s||e[3]!==t?(r=o.jsx("div",{className:t,children:s}),e[2]=s,e[3]=t,e[4]=r):r=e[4],r}const P=Object.assign(b,{Header:Object.assign(j,{Left:g,Right:p}),Content:v});export{P};
