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