1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7009],{37837:function(e,n,t){t.d(n,{Z:function(){return r}});let r=(0,t(67630).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},67644:function(e,n,t){var r=t(8254);t.o(r,"usePathname")&&t.d(n,{usePathname:function(){return r.usePathname}}),t.o(r,"useRouter")&&t.d(n,{useRouter:function(){return r.useRouter}}),t.o(r,"useSearchParams")&&t.d(n,{useSearchParams:function(){return r.useSearchParams}})},93661:function(e,n,t){t.d(n,{$N:function(){return L},Be:function(){return Z},Dx:function(){return er},VY:function(){return et},aV:function(){return en},dk:function(){return eo},fC:function(){return J},h_:function(){return ee},jm:function(){return K},p8:function(){return R},x8:function(){return ei},xz:function(){return Q}});var r=t(90524),o=t(69853),i=t(13721),u=t(50677),a=t(54501),l=t(79773),s=t(75161),c=t(25682),d=t(99164),f=t(27622),p=t(39001),m=t(65795),g=t(32980),v=t(91350),N=t(6026),y=t(59354),h="Dialog",[D,R]=(0,u.b)(h),[O,b]=D(h),M=e=>{let{__scopeDialog:n,children:t,open:o,defaultOpen:i,onOpenChange:u,modal:s=!0}=e,c=r.useRef(null),d=r.useRef(null),[f,p]=(0,l.T)({prop:o,defaultProp:null!=i&&i,onChange:u,caller:h});return(0,y.jsx)(O,{scope:n,triggerRef:c,contentRef:d,contentId:(0,a.M)(),titleId:(0,a.M)(),descriptionId:(0,a.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:s,children:t})};M.displayName=h;var w="DialogTrigger",x=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,u=b(w,t),a=(0,i.e)(n,u.triggerRef);return(0,y.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":u.open,"aria-controls":u.contentId,"data-state":q(u.open),...r,ref:a,onClick:(0,o.M)(e.onClick,u.onOpenToggle)})});x.displayName=w;var I="DialogPortal",[j,E]=D(I,{forceMount:void 0}),C=e=>{let{__scopeDialog:n,forceMount:t,children:o,container:i}=e,u=b(I,n);return(0,y.jsx)(j,{scope:n,forceMount:t,children:r.Children.map(o,e=>(0,y.jsx)(f.z,{present:t||u.open,children:(0,y.jsx)(d.h,{asChild:!0,container:i,children:e})}))})};C.displayName=I;var _="DialogOverlay",P=r.forwardRef((e,n)=>{let t=E(_,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=b(_,e.__scopeDialog);return i.modal?(0,y.jsx)(f.z,{present:r||i.open,children:(0,y.jsx)(A,{...o,ref:n})}):null});P.displayName=_;var T=(0,N.Z8)("DialogOverlay.RemoveScroll"),A=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=b(_,t);return(0,y.jsx)(g.Z,{as:T,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.WV.div,{"data-state":q(o.open),...r,ref:n,style:{pointerEvents:"auto",...r.style}})})}),F="DialogContent",k=r.forwardRef((e,n)=>{let t=E(F,e.__scopeDialog),{forceMount:r=t.forceMount,...o}=e,i=b(F,e.__scopeDialog);return(0,y.jsx)(f.z,{present:r||i.open,children:i.modal?(0,y.jsx)(W,{...o,ref:n}):(0,y.jsx)(U,{...o,ref:n})})});k.displayName=F;var W=r.forwardRef((e,n)=>{let t=b(F,e.__scopeDialog),u=r.useRef(null),a=(0,i.e)(n,t.contentRef,u);return r.useEffect(()=>{let e=u.current;if(e)return(0,v.Ry)(e)},[]),(0,y.jsx)(S,{...e,ref:a,trapFocus:t.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var n;e.preventDefault(),null===(n=t.triggerRef.current)||void 0===n||n.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let n=e.detail.originalEvent,t=0===n.button&&!0===n.ctrlKey;(2===n.button||t)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),U=r.forwardRef((e,n)=>{let t=b(F,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(S,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:n=>{var r,u;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,n),n.defaultPrevented||(o.current||null===(u=t.triggerRef.current)||void 0===u||u.focus(),n.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:n=>{var r,u;null===(r=e.onInteractOutside)||void 0===r||r.call(e,n),n.defaultPrevented||(o.current=!0,"pointerdown"!==n.detail.originalEvent.type||(i.current=!0));let a=n.target;(null===(u=t.triggerRef.current)||void 0===u?void 0:u.contains(a))&&n.preventDefault(),"focusin"===n.detail.originalEvent.type&&i.current&&n.preventDefault()}})}
1),S=r.forwardRef((e,n)=>{let{__scopeDialog:t,trapFocus:o,onOpenAutoFocus:u,onCloseAutoFocus:a,...l}=e,d=b(F,t),f=r.useRef(null),p=(0,i.e)(n,f);return(0,m.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:u,onUnmountAutoFocus:a,children:(0,y.jsx)(s.XB,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":q(d.open),...l,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)($,{titleId:d.titleId}),(0,y.jsx)(G,{contentRef:f,descriptionId:d.descriptionId})]})]})}),V="DialogTitle",L=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=b(V,t);return(0,y.jsx)(p.WV.h2,{id:o.titleId,...r,ref:n})});L.displayName=V;var z="DialogDescription",Z=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,o=b(z,t);return(0,y.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:n})});Z.displayName=z;var B="DialogClose",X=r.forwardRef((e,n)=>{let{__scopeDialog:t,...r}=e,i=b(B,t);return(0,y.jsx)(p.WV.button,{type:"button",...r,ref:n,onClick:(0,o.M)(e.onClick,()=>i.onOpenChange(!1))})});function q(e){return e?"open":"closed"}X.displayName=B;var H="DialogTitleWarning",[K,Y]=(0,u.k)(H,{contentName:F,titleName:V,docsSlug:"dialog"}),$=e=>{let{titleId:n}=e,t=Y(H),o="`".concat(t.contentName,"` requires a `").concat(t.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(t.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(t.docsSlug);return r.useEffect(()=>{n&&!document.getElementById(n)&&console.error(o)},[o,n]),null},G=e=>{let{contentRef:n,descriptionId:t}=e,o=Y("DialogDescriptionWarning"),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=n.current)||void 0===e?void 0:e.getAttribute("aria-describedby");t&&r&&!document.getElementById(t)&&console.warn(i)},[i,n,t]),null},J=M,Q=x,ee=C,en=P,et=k,er=L,eo=Z,ei=X},27622:function(e,n,t){t.d(n,{z:function(){return u}});var r=t(90524),o=t(13721),i=t(67658),u=e=>{var n,t;let u,l;let{present:s,children:c}=e,d=function(e){var n,t;let[o,u]=r.useState(),l=r.useRef(null),s=r.useRef(e),c=r.useRef("none"),[d,f]=(n=e?"mounted":"unmounted",t={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},n));return r.useEffect(()=>{let e=a(l.current);c.current="mounted"===d?e:"none"},[d]),(0,i.b)(()=>{let n=l.current,t=s.current;if(t!==e){let r=c.current,o=a(n);e?f("MOUNT"):"none"===o||(null==n?void 0:n.display)==="none"?f("UNMOUNT"):t&&r!==o?f("ANIMATION_OUT"):f("UNMOUNT"),s.current=e}},[e,f]),(0,i.b)(()=>{if(o){var e;let n;let t=null!==(e=o.ownerDocument.defaultView)&&void 0!==e?e:window,r=e=>{let r=a(l.current).includes(e.animationName);if(e.target===o&&r&&(f("ANIMATION_END"),!s.current)){let e=o.style.animationFillMode;o.style.animationFillMode="forwards",n=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=e)})}},i=e=>{e.target===o&&(c.current=a(l.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(n),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}f("ANIMATION_END")},[o,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,u(e)},[])}}(s),f="function"==typeof c?c({present:d.isPresent}):r.Children.only(c),p=(0,o.e)(d.ref,(u=null===(n=Object.getOwnPropertyDescriptor(f.props,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in u&&u.isReactWarning?f.ref:(u=null===(t=Object.getOwnPropertyDescriptor(f,"ref"))||void 0===t?void 0:t.get)&&"isReactWarning"in u&&u.isReactWarning?f.props.ref:f.props.ref||f.ref);return"function"==typeof c||d.isPresent?r.cloneElement(f,{ref:p}):null};function a(e){return(null==e?void 0:e.animationName)||"none"}u.displayName="Presence"}}]);
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.