1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2316],{38455:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(75384).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},49200:(e,t,n)=>{n.d(t,{C:()=>l});var r=n(47342),o=n(57327),i=n(50250),l=e=>{let{present:t,children:n}=e,l=function(e){var t,n;let[o,l]=r.useState(),s=r.useRef(null),u=r.useRef(e),d=r.useRef("none"),[c,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return r.useEffect(()=>{let e=a(s.current);d.current="mounted"===c?e:"none"},[c]),(0,i.N)(()=>{let t=s.current,n=u.current;if(n!==e){let r=d.current,o=a(t);e?f("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?f("UNMOUNT"):n&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,i.N)(()=>{if(o){var e;let t,n=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=a(s.current).includes(CSS.escape(e.animationName));if(e.target===o&&r&&(f("ANIMATION_END"),!u.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",t=n.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(d.current=a(s.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{n.clearTimeout(t),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:r.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(t),s="function"==typeof n?n({present:l.isPresent}):r.Children.only(n),u=(0,o.s)(l.ref,function(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}(s));return"function"==typeof n||l.isPresent?r.cloneElement(s,{ref:u}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}l.displayName="Presence"},75384:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(47342);let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ")};var l={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let a=(0,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:o=24,strokeWidth:a=2,absoluteStrokeWidth:s,className:u="",children:d,iconNode:c,...f}=e;return(0,r.createElement)("svg",{ref:t,...l,width:o,height:o,stroke:n,strokeWidth:s?24*Number(a)/Number(o):a,className:i("lucide",u),...f},[...c.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(d)?d:[d]])}),s=(e,t)=>{let n=(0,r.forwardRef)((n,l)=>{let{className:s,...u}=n;return(0,r.createElement)(a,{ref:l,iconNode:t,className:i("lucide-".concat(o(e)),s),...u})});return n.displayName="".concat(e),n}},75994:(e,t,n)=>{n.d(t,{Cf:()=>P,L3:()=>B,LC:()=>T,UC:()=>en,VY:()=>eo,ZL:()=>ee,bL:()=>Y,bm:()=>ei,hE:()=>er,hJ:()=>et,l9:()=>Q,lG:()=>R});var r=n(47342),o=n(55421),i=n(57327),l=n(60911),a=n(61410),s=n(93522),u=n(89341),d=n(66069),c=n(53523),f=n(49200),p=n(10429),m=n(55884),g=n(84523),v=n(68277),N=n(49217),h=n(41470),y="Dialog",[w,D]=(0,l.A)(y),[C,O]=w(y),R=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:l,modal:u=!0}=e,d=r.useRef(null),c=r.useRef(null),[f,p]=(0,s.i)({prop:o,defaultProp:null!=i&&i,onChange:l,caller:y});return(0,h.jsx)(C,{scope:t,triggerRef:d,contentRef:c,contentId:(0,a.B)(),titleId:(0,a.B)(),descriptionId:(0,a.B)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};R.displayName=y;var b="DialogTrigger",E=r.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,l=O(b,n),a=(0,i.s)(t,l.triggerRef);return(0,h.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":V(l.open),...r,ref:a,onClick:(0,o.mK)(e.onClick,l.onOpenToggle)})});E.displayName=b;var x="DialogPortal",[I,j]=w(x,{forceMount:void 0}),A=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:i}=e,l=O(x,t);return(0,h.jsx)(I,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,h.jsx)(f.C,{present:n||l.open,children:(0,h.jsx)(c.Z,{asChild:!0,container:i,children:e})}))})};A.displayName=x;var M="DialogOverlay",T=r.forwardRef((e,t)=>{let n=j(M,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=O(M,e.__scopeDialog);return i.modal?(0,h.jsx)(f.C,{present:r||i.open,children:(0,h.jsx)(k,{...o,ref:t})}):null});T.displayName=M;var _=(0,N.TL)("DialogOverlay.RemoveScroll"),k=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(M,n);return(0,h.jsx)(g.A,{as:_,allowPinchZoom:!0,shards:[o.contentRef],children:(0,h.jsx)(p.sG.div,{"data-state":V(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),F="DialogContent",P=r.forwardRef((e,t)=>{let n=j(F,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=O(F,e.__scopeDialog);return(0,h.jsx)(f.C,{present:r||i.open,children:i.modal?(0,h.jsx)(L,{...o,ref:t}):(0,h.jsx)(U,{...o,ref:t})})});P.displayName=F;var L=r.forwardRef((e,t)=>{let n=O(F,e.__scopeDialog),l=r.useRef(null),a=(0,i.s)(t,n.contentRef,l);return r.useEffect(()=>{let e=l.current;
1if(e)return(0,v.Eq)(e)},[]),(0,h.jsx)(S,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.mK)(e.onFocusOutside,e=>e.preventDefault())})}),U=r.forwardRef((e,t)=>{let n=O(F,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,h.jsx)(S,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,l;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(l=n.triggerRef.current)||void 0===l||l.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,l;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let a=t.target;(null===(l=n.triggerRef.current)||void 0===l?void 0:l.contains(a))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),S=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:a,...s}=e,c=O(F,n),f=r.useRef(null),p=(0,i.s)(t,f);return(0,m.Oh)(),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:l,onUnmountAutoFocus:a,children:(0,h.jsx)(u.qW,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":V(c.open),...s,ref:p,onDismiss:()=>c.onOpenChange(!1)})}),(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(J,{titleId:c.titleId}),(0,h.jsx)(X,{contentRef:f,descriptionId:c.descriptionId})]})]})}),W="DialogTitle",B=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(W,n);return(0,h.jsx)(p.sG.h2,{id:o.titleId,...r,ref:t})});B.displayName=W;var G="DialogDescription",K=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=O(G,n);return(0,h.jsx)(p.sG.p,{id:o.descriptionId,...r,ref:t})});K.displayName=G;var q="DialogClose",Z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,i=O(q,n);return(0,h.jsx)(p.sG.button,{type:"button",...r,ref:t,onClick:(0,o.mK)(e.onClick,()=>i.onOpenChange(!1))})});function V(e){return e?"open":"closed"}Z.displayName=q;var $="DialogTitleWarning",[z,H]=(0,l.q)($,{contentName:F,titleName:W,docsSlug:"dialog"}),J=e=>{let{titleId:t}=e,n=H($),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},X=e=>{let{contentRef:t,descriptionId:n}=e,o=H("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(i)},[i,t,n]),null},Y=R,Q=E,ee=A,et=T,en=P,er=B,eo=K,ei=Z}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.