1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2681],{76858:function(e,r,t){t.d(r,{Z:function(){return n}});let n=(0,t(79205).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},13134:function(e,r,t){t.d(r,{VY:function(){return ei},h4:function(){return eo},ck:function(){return en},fC:function(){return et},xz:function(){return ea}});var n=t(2265),o=t(73966),a=t(68398),i=t(98575),l=t(6741),d=t(80886),c=t(66840),s=t(61188),u=t(71599),f=t(99255),p=t(57437),h="Collapsible",[v,b]=(0,o.b)(h),[x,m]=v(h),g=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:i,onOpenChange:l,...s}=e,[u,v]=(0,d.T)({prop:o,defaultProp:null!=a&&a,onChange:l,caller:h});return(0,p.jsx)(x,{scope:t,disabled:i,contentId:(0,f.M)(),open:u,onOpenToggle:n.useCallback(()=>v(e=>!e),[v]),children:(0,p.jsx)(c.WV.div,{"data-state":A(u),"data-disabled":i?"":void 0,...s,ref:r})})});g.displayName=h;var w="CollapsibleTrigger",y=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,...n}=e,o=m(w,t);return(0,p.jsx)(c.WV.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":A(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...n,ref:r,onClick:(0,l.M)(e.onClick,o.onOpenToggle)})});y.displayName=w;var C="CollapsibleContent",j=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=m(C,e.__scopeCollapsible);return(0,p.jsx)(u.z,{present:t||o.open,children:e=>{let{present:t}=e;return(0,p.jsx)(R,{...n,ref:r,present:t})}})});j.displayName=C;var R=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,d=m(C,t),[u,f]=n.useState(o),h=n.useRef(null),v=(0,i.e)(r,h),b=n.useRef(0),x=b.current,g=n.useRef(0),w=g.current,y=d.open||u,j=n.useRef(y),R=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>j.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=h.current;if(e){R.current=R.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let r=e.getBoundingClientRect();b.current=r.height,g.current=r.width,j.current||(e.style.transitionDuration=R.current.transitionDuration,e.style.animationName=R.current.animationName),f(o)}},[d.open,o]),(0,p.jsx)(c.WV.div,{"data-state":A(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!y,...l,ref:v,style:{"--radix-collapsible-content-height":x?"".concat(x,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:y&&a})});function A(e){return e?"open":"closed"}var k=t(29114),_="Accordion",N=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[I,D,T]=(0,a.B)(_),[M,O]=(0,o.b)(_,[T,b]),V=b(),z=n.forwardRef((e,r)=>{let{type:t,...n}=e;return(0,p.jsx)(I.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(q,{...n,ref:r}):(0,p.jsx)(S,{...n,ref:r})})});z.displayName=_;var[E,W]=M(_),[P,H]=M(_,{collapsible:!1}),S=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...l}=e,[c,s]=(0,d.T)({prop:t,defaultProp:null!=o?o:"",onChange:a,caller:_});return(0,p.jsx)(E,{scope:e.__scopeAccordion,value:n.useMemo(()=>c?[c]:[],[c]),onItemOpen:s,onItemClose:n.useCallback(()=>i&&s(""),[i,s]),children:(0,p.jsx)(P,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(K,{...l,ref:r})})})}),q=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},...i}=e,[l,c]=(0,d.T)({prop:t,defaultProp:null!=o?o:[],onChange:a,caller:_}),s=n.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[c]),u=n.useCallback(e=>c(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[c]);return(0,p.jsx)(E,{scope:e.__scopeAccordion,value:l,onItemOpen:s,onItemClose:u,children:(0,p.jsx)(P,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(K,{...i,ref:r})})})}),[B,F]=M(_),K=n.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:o,dir:a,orientation:d="vertical",...s}=e,u=n.useRef(null),f=(0,i.e)(u,r),h=D(t),v="ltr"===(0,k.gm)(a),b=(0,l.M)(e.onKeyDown,e=>{var r;
1if(!N.includes(e.key))return;let t=e.target,n=h().filter(e=>{var r;return!(null===(r=e.ref.current)||void 0===r?void 0:r.disabled)}),o=n.findIndex(e=>e.ref.current===t),a=n.length;if(-1===o)return;e.preventDefault();let i=o,l=a-1,c=()=>{(i=o+1)>l&&(i=0)},s=()=>{(i=o-1)<0&&(i=l)};switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===d&&(v?c():s());break;case"ArrowDown":"vertical"===d&&c();break;case"ArrowLeft":"horizontal"===d&&(v?s():c());break;case"ArrowUp":"vertical"===d&&s()}null===(r=n[i%a].ref.current)||void 0===r||r.focus()});return(0,p.jsx)(B,{scope:t,disabled:o,direction:a,orientation:d,children:(0,p.jsx)(I.Slot,{scope:t,children:(0,p.jsx)(c.WV.div,{...s,"data-orientation":d,ref:f,onKeyDown:o?void 0:b})})})}),L="AccordionItem",[U,Z]=M(L),Y=n.forwardRef((e,r)=>{let{__scopeAccordion:t,value:n,...o}=e,a=F(L,t),i=W(L,t),l=V(t),d=(0,f.M)(),c=n&&i.value.includes(n)||!1,s=a.disabled||e.disabled;return(0,p.jsx)(U,{scope:t,open:c,disabled:s,triggerId:d,children:(0,p.jsx)(g,{"data-orientation":a.orientation,"data-state":er(c),...l,...o,ref:r,disabled:s,open:c,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});Y.displayName=L;var G="AccordionHeader",J=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=F(_,t),a=Z(G,t);return(0,p.jsx)(c.WV.h3,{"data-orientation":o.orientation,"data-state":er(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:r})});J.displayName=G;var Q="AccordionTrigger",X=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=F(_,t),a=Z(Q,t),i=H(Q,t),l=V(t);return(0,p.jsx)(I.ItemSlot,{scope:t,children:(0,p.jsx)(y,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...n,ref:r})})});X.displayName=Q;var $="AccordionContent",ee=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=F(_,t),a=Z($,t),i=V(t);return(0,p.jsx)(j,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.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 er(e){return e?"open":"closed"}ee.displayName=$;var et=z,en=Y,eo=J,ea=X,ei=ee},29114:function(e,r,t){t.d(r,{gm:function(){return a}});var n=t(2265);t(57437);var o=n.createContext(void 0);function a(e){let r=n.useContext(o);return e||r||"ltr"}}}]);
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.