"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7161],{17161:(t,e,a)=>{a.r(e),a.d(e,{Sheet:()=>r,SheetClose:()=>d,SheetContent:()=>f,SheetDescription:()=>p,SheetFooter:()=>m,SheetHeader:()=>h,SheetTitle:()=>x,SheetTrigger:()=>i});var s=a(53891),o=a(18526),n=a(49727);a(73987);var l=a(61971);function r(t){let{...e}=t;return(0,s.jsx)(o.bL,{"data-slot":"sheet",...e})}function i(t){let{...e}=t;return(0,s.jsx)(o.l9,{"data-slot":"sheet-trigger",...e})}function d(t){let{...e}=t;return(0,s.jsx)(o.bm,{"data-slot":"sheet-close",...e})}function c(t){let{...e}=t;return(0,s.jsx)(o.ZL,{"data-slot":"sheet-portal",...e})}function u(t){let{className:e,...a}=t;return(0,s.jsx)(o.hJ,{"data-slot":"sheet-overlay",className:(0,l.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...a})}function f(t){let{className:e,children:a,side:r="right",...i}=t;return(0,s.jsxs)(c,{children:[(0,s.jsx)(u,{}),(0,s.jsxs)(o.UC,{"data-slot":"sheet-content",className:(0,l.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===r&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===r&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===r&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===r&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",e),...i,children:[a,(0,s.jsxs)(o.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary rounded-xs focus:outline-hidden absolute right-4 top-4 opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 disabled:pointer-events-none",children:[(0,s.jsx)(n.A,{className:"size-4"}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function h(t){let{className:e,...a}=t;return(0,s.jsx)("div",{"data-slot":"sheet-header",className:(0,l.cn)("flex flex-col gap-1.5 p-4",e),...a})}function m(t){let{className:e,...a}=t;return(0,s.jsx)("div",{"data-slot":"sheet-footer",className:(0,l.cn)("mt-auto flex flex-col gap-2 p-4",e),...a})}function x(t){let{className:e,...a}=t;return(0,s.jsx)(o.hE,{"data-slot":"sheet-title",className:(0,l.cn)("text-foreground font-semibold",e),...a})}function p(t){let{className:e,...a}=t;return(0,s.jsx)(o.VY,{"data-slot":"sheet-description",className:(0,l.cn)("text-muted-foreground text-sm",e),...a})}}}]);