"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1964],{1964:(t,a,e)=>{e.r(a),e.d(a,{Dialog:()=>i,DialogClose:()=>c,DialogContent:()=>u,DialogDescription:()=>p,DialogFooter:()=>x,DialogHeader:()=>f,DialogOverlay:()=>g,DialogPortal:()=>r,DialogTitle:()=>m,DialogTrigger:()=>d});var o=e(53891),s=e(18526),n=e(49727);e(73987);var l=e(61971);function i(t){let{...a}=t;return(0,o.jsx)(s.bL,{"data-slot":"dialog",...a})}function d(t){let{...a}=t;return(0,o.jsx)(s.l9,{"data-slot":"dialog-trigger",...a})}function r(t){let{...a}=t;return(0,o.jsx)(s.ZL,{"data-slot":"dialog-portal",...a})}function c(t){let{...a}=t;return(0,o.jsx)(s.bm,{"data-slot":"dialog-close",...a})}function g(t){let{className:a,...e}=t;return(0,o.jsx)(s.hJ,{"data-slot":"dialog-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",a),...e})}function u(t){let{className:a,children:e,...i}=t;return(0,o.jsxs)(r,{"data-slot":"dialog-portal",children:[(0,o.jsx)(g,{}),(0,o.jsxs)(s.UC,{"data-slot":"dialog-content",className:(0,l.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",a),...i,children:[e,(0,o.jsxs)(s.bm,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground 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 [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",children:[(0,o.jsx)(n.A,{}),(0,o.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function f(t){let{className:a,...e}=t;return(0,o.jsx)("div",{"data-slot":"dialog-header",className:(0,l.cn)("flex flex-col gap-2 text-center sm:text-left",a),...e})}function x(t){let{className:a,...e}=t;return(0,o.jsx)("div",{"data-slot":"dialog-footer",className:(0,l.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...e})}function m(t){let{className:a,...e}=t;return(0,o.jsx)(s.hE,{"data-slot":"dialog-title",className:(0,l.cn)("text-lg font-semibold leading-none",a),...e})}function p(t){let{className:a,...e}=t;return(0,o.jsx)(s.VY,{"data-slot":"dialog-description",className:(0,l.cn)("text-muted-foreground text-sm",a),...e})}}}]);