1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3070],{8971:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(91373);let a=(0,n.Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},95999:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(91373);let a=(0,n.Z)("ellipsis-vertical",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]])},90470:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(91373);let a=(0,n.Z)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},13718:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(91373);let a=(0,n.Z)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},47398:function(e,r,t){t.d(r,{VY:function(){return ea},h4:function(){return et},ck:function(){return er},fC:function(){return ee},xz:function(){return en}});var n=t(67294),a=t(25360),o=t(65936),i=t(28771),l=t(36206),s=t(77342),d=t(75320),c=t(9981),u=t(29115),f=t(91276),p=t(85893),v="Collapsible",[m,h]=(0,a.b)(v),[g,x]=m(v),y=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:a,defaultOpen:o,disabled:i,onOpenChange:l,...c}=e,[u,m]=(0,s.T)({prop:a,defaultProp:o??!1,onChange:l,caller:v});return(0,p.jsx)(g,{scope:t,disabled:i,contentId:(0,f.M)(),open:u,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),children:(0,p.jsx)(d.WV.div,{"data-state":getState(u),"data-disabled":i?"":void 0,...c,ref:r})})});y.displayName=v;var b="CollapsibleTrigger",w=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,...n}=e,a=x(b,t);return(0,p.jsx)(d.WV.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":getState(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...n,ref:r,onClick:(0,l.M)(e.onClick,a.onOpenToggle)})});w.displayName=b;var A="CollapsibleContent",j=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,a=x(A,e.__scopeCollapsible);return(0,p.jsx)(u.z,{present:t||a.open,children:({present:e})=>(0,p.jsx)(D,{...n,ref:r,present:e})})});j.displayName=A;var D=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:a,children:o,...l}=e,s=x(A,t),[u,f]=n.useState(a),v=n.useRef(null),m=(0,i.e)(r,v),h=n.useRef(0),g=h.current,y=n.useRef(0),b=y.current,w=s.open||u,j=n.useRef(w),D=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.b)(()=>{let e=v.current;if(e){D.current=D.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();h.current=r.height,y.current=r.width,j.current||(e.style.transitionDuration=D.current.transitionDuration,e.style.animationName=
1D.current.animationName),f(a)}},[s.open,a]),(0,p.jsx)(d.WV.div,{"data-state":getState(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!w,...l,ref:m,style:{"--radix-collapsible-content-height":g?`${g}px`:void 0,"--radix-collapsible-content-width":b?`${b}px`:void 0,...e.style},children:w&&o})});function getState(e){return e?"open":"closed"}var k=t(78990),N="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[C,_,I]=(0,o.B)(N),[P,M]=(0,a.b)(N,[I,h]),S=h(),V=n.forwardRef((e,r)=>{let{type:t,...n}=e;return(0,p.jsx)(C.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(W,{...n,ref:r}):(0,p.jsx)(E,{...n,ref:r})})});V.displayName=N;var[O,T]=P(N),[z,Z]=P(N,{collapsible:!1}),E=n.forwardRef((e,r)=>{let{value:t,defaultValue:a,onValueChange:o=()=>{},collapsible:i=!1,...l}=e,[d,c]=(0,s.T)({prop:t,defaultProp:a??"",onChange:o,caller:N});return(0,p.jsx)(O,{scope:e.__scopeAccordion,value:n.useMemo(()=>d?[d]:[],[d]),onItemOpen:c,onItemClose:n.useCallback(()=>i&&c(""),[i,c]),children:(0,p.jsx)(z,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(H,{...l,ref:r})})})}),W=n.forwardRef((e,r)=>{let{value:t,defaultValue:a,onValueChange:o=()=>{},...i}=e,[l,d]=(0,s.T)({prop:t,defaultProp:a??[],onChange:o,caller:N}),c=n.useCallback(e=>d((r=[])=>[...r,e]),[d]),u=n.useCallback(e=>d((r=[])=>r.filter(r=>r!==e)),[d]);return(0,p.jsx)(O,{scope:e.__scopeAccordion,value:l,onItemOpen:c,onItemClose:u,children:(0,p.jsx)(z,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(H,{...i,ref:r})})})}),[$,F]=P(N),H=n.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:a,dir:o,orientation:s="vertical",...c}=e,u=n.useRef(null),f=(0,i.e)(u,r),v=_(t),m=(0,k.gm)(o),h="ltr"===m,g=(0,l.M)(e.onKeyDown,e=>{if(!R.includes(e.key))return;let r=e.target,t=v().filter(e=>!e.ref.current?.disabled),n=t.findIndex(e=>e.ref.current===r),a=t.length;if(-1===n)return;e.preventDefault();let o=n,i=a-1,moveNext=()=>{(o=n+1)>i&&(o=0)},movePrev=()=>{(o=n-1)<0&&(o=i)};switch(e.key){case"Home":o=0;break;case"End":o=i;break;case"ArrowRight":"horizontal"===s&&(h?moveNext():movePrev());break;case"ArrowDown":"vertical"===s&&moveNext();break;case"ArrowLeft":"horizontal"===s&&(h?movePrev():moveNext());break;case"ArrowUp":"vertical"===s&&movePrev()}let l=o%a;t[l].ref.current?.focus()});return(0,p.jsx)($,{scope:t,disabled:a,direction:o,orientation:s,children:(0,p.jsx)(C.Slot,{scope:t,children:(0,p.jsx)(d.WV.div,{...c,"data-orientation":s,ref:f,onKeyDown:a?void 0:g})})})}),Y="AccordionItem",[q,B]=P(Y),L=n.forwardRef((e,r)=>{let{__scopeAccordion:t,value:n,...a}=e,o=F(Y,t),i=T(Y,t),l=S(t),s=(0,f.M)(),d=n&&i.value.includes(n)||!1,c=o.disabled||e.disabled;return(0,p.jsx)(q,{scope:t,open:d,disabled:c,triggerId:s,children:(0,p.jsx)(y,{"data-orientation":o.orientation,"data-state":dist_getState(d),...l,...a,ref:r,disabled:c,open:d,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});L.displayName=Y;var U="AccordionHeader",K=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,a=F(N,t),o=B(U,t);return(0,p.jsx)(d.WV.h3,{"data-orientation":a.orientation,"data-state":dist_getState(o.open),"data-disabled":o.disabled?"":void 0,...n,ref:r})});K.displayName=U;var G="AccordionTrigger",J=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,a=F(N,t),o=B(G,t),i=Z(G,t),l=S(t);return(0,p.jsx)(C.ItemSlot,{scope:t,children:(0,p.jsx)(w,{"aria-disabled":o.open&&!i.collapsible||void 0,"data-orientation":a.orientation,id:o.triggerId,...l,...n,ref:r})})});J.displayName=G;var Q="AccordionContent",X=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,a=F(N,t),o=B(Q,t),i=S(t);return(0,p.jsx)(j,{role:"region","aria-labelledby":o.triggerId,"data-orientation":a.orientation,...i,...n,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function dist_getState(e){return e?"open":"closed"}X.displayName=Q;var ee=V,er=L,et=K,en=J,ea=X},89532:function(e,r,t){t.d(r,{$j:function(){return V},Dx:function(){return O},VY:function(){return M},aU:function(){return S},aV:function(){return P},dk:function(){return T},fC:function(){return C},h_:function(){return I},xz:function(){return _}});var n=t(67294),a=t(25360),o=t(28771),i=t(12854),l=t(36206),s=t(88426),d=t(85893),c="AlertDialog",[u,f]=(0,a.b)(c,[i.p8]),p=(0,i.p8)(),AlertDialog=e=>{let{__scopeAlertDialog:r,...t}=e,n=p(r);return(0,d.jsx)(i.fC,{...n,...t,modal:!0})};AlertDialog.displayName=c;var v=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...n}=e,a=p(t);return(0,d.jsx)(i.xz,{...a,...n,ref:r})});v.displayName="AlertDialogTrigger";var AlertDialogPortal=e=>{let{__scopeAlertDialog:r,...t}=e,n=p(r);return(0,d.jsx)(i.h_,{...n,...t})};AlertDialogPortal.displayName="AlertDialogPortal";var m=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...n}=e,a=p(t);return(0,d.jsx)(i.aV,{...a,...n,ref:r})});m.displayName="AlertDialogOverlay";var h="AlertDialogContent",[g,x]=u(h),y=(0,s.sA)("AlertDialogContent"),b=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,children:a,...s}=e,c=p(t),u=n.useRef(null),f=(0,o.e)(r,u),v=n.useRef(null);return(0,d.jsx)(i.jm,{contentName:h,titleName:w,docsSlug:"alert-dialog",children:(0,d.jsx)(g,{scope:t,cancelRef:v,children:(0,d.jsxs)(i.VY,{role:"alertdialog",...c,...s,ref:f,onOpenAutoFocus:(0,l.M)(s.onOpenAutoFocus,e=>{e.preventDefault(),v.current?.focus({preventScroll:!0})}),onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),children:[(0,d.jsx)(y,{children:a}),(0,d.jsx)(DescriptionWarning,{contentRef:u})]})})})});b.displayName=h;var w="AlertDialogTitle",A=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...n}=e,a=p(t);return(0,d.jsx)(i.Dx,{...a,...n,ref:r})});A.displayName=w;var j="AlertDialogDescription",D=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...n}=e,a=p(t);return(0,d.jsx)(i.dk,{...a,...n,ref:r})});D.displayName=j;var k=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...n}=e,a=p(t);return(0,d.jsx)(i.x8,{...a,...n,ref:r})});k.displayName="AlertDialogAction";var N="AlertDialogCancel",R=n.forwardRef((e,r)=>{let{__scopeAlertDialog:t,...n}=e,{cancelRef:a}=x(N,t),l=p(t),s=(0,o.e)(r,a);return(0,d.jsx)(i.x8,{...l,...n,ref:s})});R.displayName=N;var DescriptionWarning=({contentRef:e})=>{let r=`\`${h}\` requires a description for the component to be accessible for screen reader users. 2
3You can add a description to the \`${h}\` by passing a \`${j}\` component as a child, which also benefits sighted users by adding visible context to the dialog. 4 5Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${h}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. 6 7For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return n.useEffect(()=>{let t=document.getElementById(e.current?.getAttribute("aria-describedby"));t||console.warn(r)},[r,e]),null},C=AlertDialog,_=v,I=AlertDialogPortal,P=m,M=b,S=k,V=R,O=A,T=D}}]);
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.