"use client"
import{j as s}from"./chunk-6DIYJ56I.mjs";import*as e from"@radix-ui/react-dialog";import{X as m}from"lucide-react";import{jsx as o,jsxs as r}from"react/jsx-runtime";var v=e.Root,R=e.Trigger,y=e.Close,l=e.Portal,c=({ref:t,className:i,children:a,...n})=>o(l,{children:r(e.Content,{ref:t,className:s("fixed inset-y-0 right-0 z-50 h-full w-3/4 gap-4 border-l border-gray-200 bg-white p-6 shadow-xl transition ease-in-out sm:max-w-sm","data-[state=closed]:animate-slide-out-to-right data-[state=open]:animate-slide-in-from-right data-[state=closed]:duration-300 data-[state=open]:duration-500",i),...n,children:[r(e.Close,{className:"absolute right-4 top-4 rounded-md p-1 transition-colors hover:bg-gray-100 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100",children:[o(m,{className:"size-4"}),o("span",{className:"sr-only",children:"Close"})]}),a]})});c.displayName=e.Content.displayName;var h=({className:t,...i})=>o("div",{className:s("flex flex-col space-y-2 text-center sm:text-left",t),...i});h.displayName="SheetHeader";var p=({className:t,...i})=>o("div",{className:s("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});p.displayName="SheetFooter";var f=({ref:t,className:i,...a})=>o(e.Title,{ref:t,className:s("text-foreground text-lg font-semibold",i),...a});f.displayName=e.Title.displayName;var d=({ref:t,className:i,...a})=>o(e.Description,{ref:t,className:s("text-muted-foreground text-sm",i),...a});d.displayName=e.Description.displayName;export{v as a,R as b,y as c,l as d,c as e,h as f,p as g,f as h,d as i};
