"use client"
import{l as i}from"./chunk-WIOKTCEF.mjs";import{Drawer as o}from"vaul";import{jsx as r,jsxs as c}from"react/jsx-runtime";function s({children:t,contentProps:e,nested:l=!1,...n}){let a=l?o.NestedRoot:o.Root;return r(a,{direction:"right",...n,children:c(o.Portal,{children:[r(o.Overlay,{className:"fixed inset-0 bg-black/20"}),r(o.Content,{...e,className:i("fixed bottom-2 right-2 top-2 z-10 flex w-[calc(100%-16px)] outline-none md:w-[540px]",e==null?void 0:e.className),style:{"--initial-transform":"calc(100% + 8px)",...e==null?void 0:e.style},children:r("div",{className:"scrollbar-hide flex size-full grow flex-col overflow-y-auto rounded-lg bg-white",children:t})})]})})}function m({className:t,...e}){return r(o.Title,{className:i("text-xl font-medium text-zinc-900",t),...e})}function f(t){return r(o.Description,{...t})}function p(t){return r(o.Close,{...t})}var w=Object.assign(s,{Title:m,Description:f,Close:p});export{w as a};
