1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7336],{87336: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(71526),o=t(38698),a=t(76204),i=t(35429),l=t(84994),c=t(80980),d=t(21892),s=t(23601),u=t(26238),f=t(94962),p=t(9135),m="Collapsible",[v,b]=(0,o.b)(m),[x,h]=v(m),w=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,open:o,defaultOpen:a,disabled:i,onOpenChange:l,...s}=e,[u=!1,m]=(0,c.T)({prop:o,defaultProp:a,onChange:l});return(0,p.jsx)(x,{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":A(u),"data-disabled":i?"":void 0,...s,ref:r})})});w.displayName=m;var g="CollapsibleTrigger",C=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,...n}=e,o=h(g,t);return(0,p.jsx)(d.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)})});C.displayName=g;var R="CollapsibleContent",y=n.forwardRef((e,r)=>{let{forceMount:t,...n}=e,o=h(R,e.__scopeCollapsible);return(0,p.jsx)(u.z,{present:t||o.open,children:e=>{let{present:t}=e;return(0,p.jsx)(j,{...n,ref:r,present:t})}})});y.displayName=R;var j=n.forwardRef((e,r)=>{let{__scopeCollapsible:t,present:o,children:a,...l}=e,c=h(R,t),[u,f]=n.useState(o),m=n.useRef(null),v=(0,i.e)(r,m),b=n.useRef(0),x=b.current,w=n.useRef(0),g=w.current,C=c.open||u,y=n.useRef(C),j=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=m.current;if(e){j.current=j.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,w.current=r.width,y.current||(e.style.transitionDuration=j.current.transitionDuration,e.style.animationName=j.current.animationName),f(o)}},[c.open,o]),(0,p.jsx)(d.WV.div,{"data-state":A(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!C,...l,ref:v,style:{"--radix-collapsible-content-height":x?"".concat(x,"px"):void 0,"--radix-collapsible-content-width":g?"".concat(g,"px"):void 0,...e.style},children:C&&a})});function A(e){return e?"open":"closed"}var k=t(97727),N="Accordion",I=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[_,M,D]=(0,a.B)(N),[O,S]=(0,o.b)(N,[D,b]),T=b(),E=n.forwardRef((e,r)=>{let{type:t,...n}=e;return(0,p.jsx)(_.Provider,{scope:e.__scopeAccordion,children:"multiple"===t?(0,p.jsx)(H,{...n,ref:r}):(0,p.jsx)(B,{...n,ref:r})})});E.displayName=N;var[P,V]=O(N),[W,z]=O(N,{collapsible:!1}),B=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},collapsible:i=!1,...l}=e,[d,s]=(0,c.T)({prop:t,defaultProp:o,onChange:a});return(0,p.jsx)(P,{scope:e.__scopeAccordion,value:d?[d]:[],onItemOpen:s,onItemClose:n.useCallback(()=>i&&s(""),[i,s]),children:(0,p.jsx)(W,{scope:e.__scopeAccordion,collapsible:i,children:(0,p.jsx)(K,{...l,ref:r})})})}),H=n.forwardRef((e,r)=>{let{value:t,defaultValue:o,onValueChange:a=()=>{},...i}=e,[l=[],d]=(0,c.T)({prop:t,defaultProp:o,onChange:a}),s=n.useCallback(e=>d(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...r,e]}),[d]),u=n.useCallback(e=>d(function(){let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return r.filter(r=>r!==e)}),[d]);return(0,p.jsx)(P,{scope:e.__scopeAccordion,value:l,onItemOpen:s,onItemClose:u,children:(0,p.jsx)(W,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(K,{...i,ref:r})})})}),[q,F]=O(N),K=n.forwardRef((e,r)=>{let{__scopeAccordion:t,disabled:o,dir:a,orientation:c="vertical",...s}=e,u=n.useRef(null),f=(0,i.e)(u,r),m=M(t),v="ltr"===(0,k.gm)(a),b=(0,l.M)(e.onKeyDown,e=>{var r;if(!I.includes(e.key))return;let t=e.target,n=m().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,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"===c&&(v?d():s());break;case"ArrowDown":"vertical"===c&&d();break;case"ArrowLeft":"horizontal"===c&&(v?s():d());break;case"ArrowUp":"vertical"===c&&s()}null===(r=n[i%a].ref.current)||void 0===r||r.focus()});return(0,p.jsx)(q,{scope:t,disabled:o,direction:a,orientation:c,children:(0,p.jsx)(_.Slot,{scope:t,children:(0,p.jsx)(d.WV.div,{...s,"data-orientation":c,ref:f,onKeyDown:o?void 0:b})})})}),L="AccordionItem",[U,Y]=O(L),G=n.forwardRef((e,r)=>{let{__scopeAccordion:t,value:n,...o}=e,a=F(L,t),i=V(L,t),l=T(t),c=(0,f.M)(),d=n&&i.value.includes(n)||!1,s=a.disabled||e.disabled;return(0,p.jsx)(U,{scope:t,open:d,disabled:s,triggerId:c,children:(0,p.jsx)(w,{"data-orientation":a.orientation,"data-state":er(d),...l,...o,ref:r,disabled:s,open:d,onOpenChange:e=>{e?i.onItemOpen(n):i.onItemClose(n)}})})});G.displayName=L;var J="AccordionHeader",Q=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=F(N,t),a=Y(J,t);return(0,p.jsx)(d.WV.h3,{"data-orientation":o.orientation,"data-state":er(a.open),"data-disabled":a.disabled?"":void 0,...n,ref:r})});Q.displayName=J;var X="AccordionTrigger",Z=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=F(N,t),a=Y(X,t),i=z(X,t),l=T(t);return(0,p.jsx)(_.ItemSlot,{scope:t,children:(0,p.jsx)(C,{"aria-disabled":a.open&&!i.collapsible||void 0,"data-orientation":o.orientation,id:a.triggerId,...l,...n,ref:r})})});Z.displayName=X;var $="AccordionContent",ee=n.forwardRef((e,r)=>{let{__scopeAccordion:t,...n}=e,o=F(N,t),a=Y($,t),i=T(t);return(0,p.jsx)(y,{role:"region","aria-labelledby":a.triggerId,"data-orientation":o.orientation,...i,...n,ref:r,
1style:{"--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=E,en=G,eo=Q,ea=Z,ei=ee},76204:function(e,r,t){t.d(r,{B:function(){return c}});var n=t(71526),o=t(38698),a=t(35429),i=t(34907),l=t(9135);function c(e){let r=e+"CollectionProvider",[t,c]=(0,o.b)(r),[d,s]=t(r,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:t}=e,o=n.useRef(null),a=n.useRef(new Map).current;return(0,l.jsx)(d,{scope:r,itemMap:a,collectionRef:o,children:t})};u.displayName=r;let f=e+"CollectionSlot",p=n.forwardRef((e,r)=>{let{scope:t,children:n}=e,o=s(f,t),c=(0,a.e)(r,o.collectionRef);return(0,l.jsx)(i.g7,{ref:c,children:n})});p.displayName=f;let m=e+"CollectionItemSlot",v="data-radix-collection-item",b=n.forwardRef((e,r)=>{let{scope:t,children:o,...c}=e,d=n.useRef(null),u=(0,a.e)(r,d),f=s(m,t);return n.useEffect(()=>(f.itemMap.set(d,{ref:d,...c}),()=>void f.itemMap.delete(d))),(0,l.jsx)(i.g7,{[v]:"",ref:u,children:o})});return b.displayName=m,[{Provider:u,Slot:p,ItemSlot:b},function(r){let t=s(e+"CollectionConsumer",r);return n.useCallback(()=>{let e=t.collectionRef.current;if(!e)return[];let r=Array.from(e.querySelectorAll("[".concat(v,"]")));return Array.from(t.itemMap.values()).sort((e,t)=>r.indexOf(e.ref.current)-r.indexOf(t.ref.current))},[t.collectionRef,t.itemMap])},c]}},97727:function(e,r,t){t.d(r,{gm:function(){return a}});var n=t(71526);t(9135);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.