import{j as a}from"./vendor-react-wBh_31cN.js";import{G as r,d as s}from"./index-dNe6i2rS.js";import{Y as l}from"./vendor-icons-BUUmD6ht.js";import{R as n,C as m,a as c,T as f,D as h,P as u,O as p}from"./vendor-radix-BRyWS4bQ.js";function y({...t}){return a.jsx(n,{"data-slot":"sheet",...t})}function x({...t}){return a.jsx(u,{"data-slot":"sheet-portal",...t})}function b({className:t,...e}){return a.jsx(p,{"data-slot":"sheet-overlay",className:s("fixed inset-0 z-50 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs data-open:animate-in data-open:fade-in-0 data-closed:animate-out data-closed:fade-out-0",t),...e})}function C({className:t,children:e,side:d="right",showCloseButton:o=!0,...i}){return a.jsxs(x,{children:[a.jsx(b,{}),a.jsxs(m,{"data-slot":"sheet-content","data-side":d,className:s("fixed z-50 flex flex-col gap-4 bg-background bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm data-open:animate-in data-open:fade-in-0 data-[side=bottom]:data-open:slide-in-from-bottom-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:animate-out data-closed:fade-out-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=right]:data-closed:slide-out-to-right-10 data-[side=top]:data-closed:slide-out-to-top-10",t),...i,children:[e,o&&a.jsx(c,{"data-slot":"sheet-close",asChild:!0,children:a.jsxs(r,{variant:"ghost",className:"absolute top-3 right-3",size:"icon-sm",children:[a.jsx(l,{}),a.jsx("span",{className:"sr-only",children:"Close"})]})})]})]})}function v({className:t,...e}){return a.jsx("div",{"data-slot":"sheet-header",className:s("flex flex-col gap-0.5 p-4",t),...e})}function w({className:t,...e}){return a.jsx(f,{"data-slot":"sheet-title",className:s("text-base font-medium text-foreground",t),...e})}function k({className:t,...e}){return a.jsx(h,{"data-slot":"sheet-description",className:s("text-sm text-muted-foreground",t),...e})}export{y as S,C as a,v as b,w as c,k as d};
