vendor: 4,879 bytes, line 1
1import{r as l,j as s,aa as f}from"./index-DL151FI2.js";import{t as ue,h as k,g as P,k as V,P as w,j as q,l as z,m as fe,f as me,o as L,C as Ce}from"./SiteFooter-COPnZoCw.js";function K(e){const t=xe(e),o=l.forwardRef((n,r)=>{const{children:c,...a}=n,i=l.Children.toArray(c),p=i.find(ge);if(p){const u=p.props.children,C=i.map(x=>x===p?l.Children.count(u)>1?l.Children.only(null):l.isValidElement(u)?u.props.children:null:x);return s.jsx(t,{...a,ref:r,children:l.isValidElement(u)?l.cloneElement(u,void 0,C):null})}return s.jsx(t,{...a,ref:r,children:c})});return o.displayName=`${e}.Slot`,o}function xe(e){const t=l.forwardRef((o,n)=>{const{children:r,...c}=o;if(l.isValidElement(r)){const a=Ae(r),i=be(c,r.props);return r.type!==l.Fragment&&(i.ref=n?ue(n,a):a),l.cloneElement(r,i)}return l.Children.count(r)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ve=Symbol("radix.slottable");function ge(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ve}function be(e,t){const o={...t};for(const n in t){const r=e[n],c=t[n];/^on[A-Z]/.test(n)?r&&c?o[n]=(...i)=>{const p=c(...i);return r(...i),p}:r&&(o[n]=r):n==="style"?o[n]={...r,...c}:n==="className"&&(o[n]=[r,c].filter(Boolean).join(" "))}return{...e,...o}}function Ae(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning;return o?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,o=t&&"isReactWarning"in t&&t.isReactWarning,o?e.props.ref:e.props.ref||e.ref)}function he(e){const t=e+"CollectionProvider",[o,n]=k(t),[r,c]=o(t,{collectionRef:{current:null},itemMap:new Map}),a=v=>{const{scope:m,children:b}=v,d=f.useRef(null),g=f.useRef(new Map).current;return s.jsx(r,{scope:m,itemMap:g,collectionRef:d,children:b})};a.displayName=t;const i=e+"CollectionSlot",p=K(i),u=f.forwardRef((v,m)=>{const{scope:b,children:d}=v,g=c(i,b),A=P(m,g.collectionRef);return s.jsx(p,{ref:A,children:d})});u.displayName=i;const C=e+"CollectionItemSlot",x="data-radix-collection-item",I=K(C),R=f.forwardRef((v,m)=>{const{scope:b,children:d,...g}=v,A=f.useRef(null),_=P(m,A),y=c(C,b);return f.useEffect(()=>(y.itemMap.set(A,{ref:A,...g}),()=>{y.itemMap.delete(A)})),s.jsx(I,{[x]:"",ref:_,children:d})});R.displayName=C;function N(v){const m=c(e+"CollectionConsumer",v);return f.useCallback(()=>{const d=m.collectionRef.current;if(!d)return[];const g=Array.from(d.querySelectorAll(`[${x}]`));return Array.from(m.itemMap.values()).sort((y,T)=>g.indexOf(y.ref.current)-g.indexOf(T.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:a,Slot:u,ItemSlot:R},N,n]}var j="Collapsible",[Re,U]=k(j),[Ie,$]=Re(j),Y=l.forwardRef((e,t)=>{const{__scopeCollapsible:o,open:n,defaultOpen:r,disabled:c,onOpenChange:a,...i}=e,[p,u]=V({prop:n,defaultProp:r??!1,onChange:a,caller:j});return s.jsx(Ie,{scope:o,disabled:c,contentId:q(),open:p,onOpenToggle:l.useCallback(()=>u(C=>!C),[u]),children:s.jsx(w.div,{"data-state":F(p),"data-disabled":c?"":void 0,...i,ref:t})})});Y.displayName=j;var Z="CollapsibleTrigger",J=l.forwardRef((e,t)=>{const{__scopeCollapsible:o,...n}=e,r=$(Z,o);return s.jsx(w.button,{type:"button","aria-controls":r.contentId,"aria-expanded":r.open||!1,"data-state":F(r.open),"data-disabled":r.disabled?"":void 0,disabled:r.disabled,...n,ref:t,onClick:z(e.onClick,r.onOpenToggle)})});J.displayName=Z;var H="CollapsibleContent",Q=l.forwardRef((e,t)=>{const{forceMount:o,...n}=e,r=$(H,e.__scopeCollapsible);return s.jsx(fe,{present:o||r.open,children:({present:c})=>s.jsx(ye,{...n,ref:t,present:c})})});Q.displayName=H;var ye=l.forwardRef((e,t)=>{const{__scopeCollapsible:o,present:n,children:r,...c}=e,a=$(H,o),[i,p]=l.useState(n),u=l.useRef(null),C=P(t,u),x=l.useRef(0),I=x.current,R=l.useRef(0),N=R.current,v=a.open||i,m=l.useRef(v),b=l.useRef(void 0);return l.useEffect(()=>{const d=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(d)},[]),me(()=>{const d=u.current;if(d){b.current=b.current||{transitionDuration:d.style.transitionDuration,animationName:d.style.animationName},d.style.transitionDuration="0s",d.style.animationName="none";const g=d.getBoundingClientRect();x.current=g.height,R.current=g.width,m.current||(d.style.transitionDuration=b.current.transitionDuration,d.style.animationName=b.current.animationName),p(n)}},[a.open,n]),s.jsx(w.div,{"data-state":F(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!v,...c,ref:C,style:{"--radix-collapsible-content-height":I?`${I}px`:void 0,"--radix-collapsible-content-width":N?`${N}px`:void 0,...e.style},children:v&&r})});function F(e){return e?"open":"closed"}var Ne=Y,_e=J,we=Q,Pe=l.createContext(void 0);function Ee(e){const t=l.useContext(Pe);return e||t||"ltr"}var h="Accordion",je=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[W,Se,Oe]=he(h),[S]=k(h,[Oe,U]),B=U(),X=f.forwardRef((e,t)=>
1{const{type:o,...n}=e,r=n,c=n;return s.jsx(W.Provider,{scope:e.__scopeAccordion,children:o==="multiple"?s.jsx(ke,{...c,ref:t}):s.jsx(De,{...r,ref:t})})});X.displayName=h;var[ee,Te]=S(h),[oe,Me]=S(h,{collapsible:!1}),De=f.forwardRef((e,t)=>{const{value:o,defaultValue:n,onValueChange:r=()=>{},collapsible:c=!1,...a}=e,[i,p]=V({prop:o,defaultProp:n??"",onChange:r,caller:h});return s.jsx(ee,{scope:e.__scopeAccordion,value:f.useMemo(()=>i?[i]:[],[i]),onItemOpen:p,onItemClose:f.useCallback(()=>c&&p(""),[c,p]),children:s.jsx(oe,{scope:e.__scopeAccordion,collapsible:c,children:s.jsx(te,{...a,ref:t})})})}),ke=f.forwardRef((e,t)=>{const{value:o,defaultValue:n,onValueChange:r=()=>{},...c}=e,[a,i]=V({prop:o,defaultProp:n??[],onChange:r,caller:h}),p=f.useCallback(C=>i((x=[])=>[...x,C]),[i]),u=f.useCallback(C=>i((x=[])=>x.filter(I=>I!==C)),[i]);return s.jsx(ee,{scope:e.__scopeAccordion,value:a,onItemOpen:p,onItemClose:u,children:s.jsx(oe,{scope:e.__scopeAccordion,collapsible:!0,children:s.jsx(te,{...c,ref:t})})})}),[Ve,O]=S(h),te=f.forwardRef((e,t)=>{const{__scopeAccordion:o,disabled:n,dir:r,orientation:c="vertical",...a}=e,i=f.useRef(null),p=P(i,t),u=Se(o),x=Ee(r)==="ltr",I=z(e.onKeyDown,R=>{if(!je.includes(R.key))return;const N=R.target,v=u().filter(M=>!M.ref.current?.disabled),m=v.findIndex(M=>M.ref.current===N),b=v.length;if(m===-1)return;R.preventDefault();let d=m;const g=0,A=b-1,_=()=>{d=m+1,d>A&&(d=g)},y=()=>{d=m-1,d<g&&(d=A)};switch(R.key){case"Home":d=g;break;case"End":d=A;break;case"ArrowRight":c==="horizontal"&&(x?_():y());break;case"ArrowDown":c==="vertical"&&_();break;case"ArrowLeft":c==="horizontal"&&(x?y():_());break;case"ArrowUp":c==="vertical"&&y();break}const T=d%b;v[T].ref.current?.focus()});return s.jsx(Ve,{scope:o,disabled:n,direction:r,orientation:c,children:s.jsx(W.Slot,{scope:o,children:s.jsx(w.div,{...a,"data-orientation":c,ref:p,onKeyDown:n?void 0:I})})})}),E="AccordionItem",[Le,G]=S(E),ne=f.forwardRef((e,t)=>{const{__scopeAccordion:o,value:n,...r}=e,c=O(E,o),a=Te(E,o),i=B(o),p=q(),u=n&&a.value.includes(n)||!1,C=c.disabled||e.disabled;return s.jsx(Le,{scope:o,open:u,disabled:C,triggerId:p,children:s.jsx(Ne,{"data-orientation":c.orientation,"data-state":le(u),...i,...r,ref:t,disabled:C,open:u,onOpenChange:x=>{x?a.onItemOpen(n):a.onItemClose(n)}})})});ne.displayName=E;var re="AccordionHeader",ce=f.forwardRef((e,t)=>{const{__scopeAccordion:o,...n}=e,r=O(h,o),c=G(re,o);return s.jsx(w.h3,{"data-orientation":r.orientation,"data-state":le(c.open),"data-disabled":c.disabled?"":void 0,...n,ref:t})});ce.displayName=re;var D="AccordionTrigger",se=f.forwardRef((e,t)=>{const{__scopeAccordion:o,...n}=e,r=O(h,o),c=G(D,o),a=Me(D,o),i=B(o);return s.jsx(W.ItemSlot,{scope:o,children:s.jsx(_e,{"aria-disabled":c.open&&!a.collapsible||void 0,"data-orientation":r.orientation,id:c.triggerId,...i,...n,ref:t})})});se.displayName=D;var ae="AccordionContent",ie=f.forwardRef((e,t)=>{const{__scopeAccordion:o,...n}=e,r=O(h,o),c=G(ae,o),a=B(o);return s.jsx(we,{role:"region","aria-labelledby":c.triggerId,"data-orientation":r.orientation,...a,...n,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});ie.displayName=ae;function le(e){return e?"open":"closed"}var $e=X,He=ne,Fe=ce,de=se,pe=ie;const ze=$e,We=l.forwardRef(({className:e,...t},o)=>s.jsx(He,{ref:o,className:L("border-b",e),...t}));We.displayName="AccordionItem";const Be=l.forwardRef(({className:e,children:t,...o},n)=>s.jsx(Fe,{className:"flex",children:s.jsxs(de,{ref:n,className:L("flex flex-1 items-center justify-between py-4 text-sm font-medium cursor-pointer transition-all hover:underline text-left [&[data-state=open]>svg]:rotate-180",e),...o,children:[t,s.jsx(Ce,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200"})]})}));Be.displayName=de.displayName;const Ge=l.forwardRef(({className:e,children:t,...o},n)=>s.jsx(pe,{ref:n,className:"overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...o,children:s.jsx("div",{className:L("pb-4 pt-0",e),children:t})}));Ge.displayName=pe.displayName;export{ze as A,We as a,Be as b,Ge as c};
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.