1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56078,70059,92440],{56078:(e,r,a)=>{a.d(r,{$m:()=>B,As:()=>K,UC:()=>Q,Y9:()=>$,bL:()=>M,l9:()=>J,nD:()=>y,q7:()=>Y,ub:()=>q});var n=a(46045),o=a(16690),t=a(68946),i=a(14232),l=a(91844),d=a(22045),s=a(10714),c=a(33716),u=a(58162),p=a(14646),_=a(92440),f=a(70294),v=a(14966),b=a(37876),h="Accordion",m=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[x,g,C]=(0,d.N)(h),[w,A]=(0,l.A)(h,[C,_.z3]),j=(0,_.z3)(),y=i.forwardRef((e,r)=>{var{type:a}=e,i=(0,t._)(e,["type"]);return(0,b.jsx)(x.Provider,{scope:e.__scopeAccordion,children:"multiple"===a?(0,b.jsx)(O,(0,o._)((0,n._)({},i),{ref:r})):(0,b.jsx)(D,(0,o._)((0,n._)({},i),{ref:r}))})});y.displayName=h;var[R,k]=w(h),[N,I]=w(h,{collapsible:!1}),D=i.forwardRef((e,r)=>{var{value:a,defaultValue:l,onValueChange:d=()=>{},collapsible:s=!1}=e,c=(0,t._)(e,["value","defaultValue","onValueChange","collapsible"]),[p,_]=(0,u.i)({prop:a,defaultProp:null!=l?l:"",onChange:d,caller:h});return(0,b.jsx)(R,{scope:e.__scopeAccordion,value:i.useMemo(()=>p?[p]:[],[p]),onItemOpen:_,onItemClose:i.useCallback(()=>s&&_(""),[s,_]),children:(0,b.jsx)(N,{scope:e.__scopeAccordion,collapsible:s,children:(0,b.jsx)(G,(0,o._)((0,n._)({},c),{ref:r}))})})}),O=i.forwardRef((e,r)=>{var{value:a,defaultValue:l,onValueChange:d=()=>{}}=e,s=(0,t._)(e,["value","defaultValue","onValueChange"]),[c,p]=(0,u.i)({prop:a,defaultProp:null!=l?l:[],onChange:d,caller:h}),_=i.useCallback(e=>p(function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[p]),f=i.useCallback(e=>p(function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[p]);return(0,b.jsx)(R,{scope:e.__scopeAccordion,value:c,onItemOpen:_,onItemClose:f,children:(0,b.jsx)(N,{scope:e.__scopeAccordion,collapsible:!0,children:(0,b.jsx)(G,(0,o._)((0,n._)({},s),{ref:r}))})})}),[z,E]=w(h),G=i.forwardRef((e,r)=>{var{__scopeAccordion:a,disabled:l,dir:d,orientation:u="vertical"}=e,_=(0,t._)(e,["__scopeAccordion","disabled","dir","orientation"]),f=i.useRef(null),h=(0,s.s)(f,r),C=g(a),w="ltr"===(0,v.jH)(d),A=(0,c.mK)(e.onKeyDown,e=>{if(m.includes(e.key)){var r,a=e.target,n=C().filter(e=>{var r;return!(null==(r=e.ref.current)?void 0:r.disabled)}),o=n.findIndex(e=>e.ref.current===a),t=n.length;if(-1!==o){e.preventDefault();var i=o,l=t-1,d=()=>{(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"===u&&(w?d():s());break;case"ArrowDown":"vertical"===u&&d();break;case"ArrowLeft":"horizontal"===u&&(w?s():d());break;case"ArrowUp":"vertical"===u&&s()}null==(r=n[i%t].ref.current)||r.focus()}}});return(0,b.jsx)(z,{scope:a,disabled:l,direction:d,orientation:u,children:(0,b.jsx)(x.Slot,{scope:a,children:(0,b.jsx)(p.sG.div,(0,o._)((0,n._)({},_),{"data-orientation":u,ref:h,onKeyDown:l?void 0:A}))})})}),L="AccordionItem",[U,H]=w(L),K=i.forwardRef((e,r)=>{var{__scopeAccordion:a,value:i}=e,l=(0,t._)(e,["__scopeAccordion","value"]),d=E(L,a),s=k(L,a),c=j(a),u=(0,f.B)(),p=i&&s.value.includes(i)||!1,v=d.disabled||e.disabled;return(0,b.jsx)(U,{scope:a,open:p,disabled:v,triggerId:u,children:(0,b.jsx)(_.bL,(0,o._)((0,n._)({"data-orientation":d.orientation,"data-state":F(p)},c,l),{ref:r,disabled:v,open:p,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}}))})});K.displayName=L;var P="AccordionHeader",T=i.forwardRef((e,r)=>{var{__scopeAccordion:a}=e,i=(0,t._)(e,["__scopeAccordion"]),l=E(h,a),d=H(P,a);return(0,b.jsx)(p.sG.h3,(0,o._)((0,n._)({"data-orientation":l.orientation,"data-state":F(d.open),"data-disabled":d.disabled?"":void 0},i),{ref:r}))});T.displayName=P;var V="AccordionTrigger",B=i.forwardRef((e,r)=>{var{__scopeAccordion:a}=e,i=(0,t._)(e,["__scopeAccordion"]),l=E(h,a),d=H(V,a),s=I(V,a),c=j(a);return(0,b.jsx)(x.ItemSlot,{scope:a,children:(0,b.jsx)(_.l9,(0,o._)((0,n._)({"aria-disabled":d.open&&!s.collapsible||void 0,"data-orientation":l.orientation,id:d.triggerId},c,i),{ref:r}))})});B.displayName=V;var S="AccordionContent",q=i.forwardRef((e,r)=>{var{__scopeAccordion:a}=e,i=(0,t._)(e,["__scopeAccordion"]),l=E(h,a),d=H(S,a),s=j(a);return(0,b.jsx)(_.UC,(0,o._)((0,n._)({role:"region","aria-labelledby":d.triggerId,"data-orientation":l.orientation},s,i),{ref:r,style:(0,n._)({"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)"},e.style)}))});function F(e){return e?"open":"closed"}q.displayName=S;var M=y,Y=K,$=T,J=B,Q=q},92440:(e,r,a)=>{a.d(r,{UC:()=>D,bL:()=>N,l9:()=>I,z3:()=>m});var n=a(46045),o=a(16690),t=a(68946),i=a(14232),l=a(33716),d=a(91844),s=a(58162),c=a(81285),u=a(10714),p=a(14646),_=a(96822),f=a(70294),v=a(37876),b="Collapsible",[h,m]=(0,d.A)(b),[x,g]=h(b),C=i.forwardRef((e,r)=>{var{__scopeCollapsible:a,open:l,defaultOpen:d,disabled:c,onOpenChange:u}=e,_=(0,t._)(e,["__scopeCollapsible","open","defaultOpen","disabled","onOpenChange"]),[h,m]=(0,s.i)({prop:l,defaultProp:null!=d&&d,onChange:u,caller:b});
1return(0,v.jsx)(x,{scope:a,disabled:c,contentId:(0,f.B)(),open:h,onOpenToggle:i.useCallback(()=>m(e=>!e),[m]),children:(0,v.jsx)(p.sG.div,(0,o._)((0,n._)({"data-state":k(h),"data-disabled":c?"":void 0},_),{ref:r}))})});C.displayName=b;var w="CollapsibleTrigger",A=i.forwardRef((e,r)=>{var{__scopeCollapsible:a}=e,i=(0,t._)(e,["__scopeCollapsible"]),d=g(w,a);return(0,v.jsx)(p.sG.button,(0,o._)((0,n._)({type:"button","aria-controls":d.contentId,"aria-expanded":d.open||!1,"data-state":k(d.open),"data-disabled":d.disabled?"":void 0,disabled:d.disabled},i),{ref:r,onClick:(0,l.mK)(e.onClick,d.onOpenToggle)}))});A.displayName=w;var j="CollapsibleContent",y=i.forwardRef((e,r)=>{var{forceMount:a}=e,i=(0,t._)(e,["forceMount"]),l=g(j,e.__scopeCollapsible);return(0,v.jsx)(_.C,{present:a||l.open,children:e=>{var{present:a}=e;return(0,v.jsx)(R,(0,o._)((0,n._)({},i),{ref:r,present:a}))}})});y.displayName=j;var R=i.forwardRef((e,r)=>{var{__scopeCollapsible:a,present:l,children:d}=e,s=(0,t._)(e,["__scopeCollapsible","present","children"]),_=g(j,a),[f,b]=i.useState(l),h=i.useRef(null),m=(0,u.s)(r,h),x=i.useRef(0),C=x.current,w=i.useRef(0),A=w.current,y=_.open||f,R=i.useRef(y),N=i.useRef(void 0);return i.useEffect(()=>{var e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.N)(()=>{var e=h.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";var r=e.getBoundingClientRect();x.current=r.height,w.current=r.width,R.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),b(l)}},[_.open,l]),(0,v.jsx)(p.sG.div,(0,o._)((0,n._)({"data-state":k(_.open),"data-disabled":_.disabled?"":void 0,id:_.contentId,hidden:!y},s),{ref:m,style:(0,n._)({"--radix-collapsible-content-height":C?"".concat(C,"px"):void 0,"--radix-collapsible-content-width":A?"".concat(A,"px"):void 0},e.style),children:y&&d}))});function k(e){return e?"open":"closed"}var N=C,I=A,D=y}}]);
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.