1(function(){try{var C=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},I=new C.Error().stack;I&&(C._sentryDebugIds=C._sentryDebugIds||{},C._sentryDebugIds[I]="a1bfdecc-a544-4e39-a88d-4b93b088e217",C._sentryDebugIdIdentifier="sentry-dbid-a1bfdecc-a544-4e39-a88d-4b93b088e217")}catch{}})(),(self.webpackChunkshuffle=self.webpackChunkshuffle||[]).push([[1584],{1584:(function(C,I,s){s.d(I,{UC:function(){return ve},Y9:function(){return fe},bL:function(){return _e},l9:function(){return pe},q7:function(){return ue}});var l=s(96540),X=s(62133),Z=s(68938),$=s(91071),q=s(32338),N=s(81351),U=s(44645),x=s(88834),ee=s(18723),oe=s(71427),t=s(74848),_="Accordion",re=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[h,ne,te]=(0,Z.N)(_),[E,xe]=(0,X.A)(_,[te,x.z3]),D=(0,x.z3)(),B=l.forwardRef((o,c)=>{const{type:e,...n}=o,a=n,r=n;return(0,t.jsx)(h.Provider,{scope:o.__scopeAccordion,children:e==="multiple"?(0,t.jsx)(se,{...r,ref:c}):(0,t.jsx)(ie,{...a,ref:c})})});B.displayName=_;var[S,ce]=E(_),[W,ae]=E(_,{collapsible:!1}),ie=l.forwardRef((o,c)=>{const{value:e,defaultValue:n,onValueChange:a=()=>{},collapsible:r=!1,...d}=o,[i,u]=(0,N.i)({prop:e,defaultProp:n??"",onChange:a,caller:_});return(0,t.jsx)(S,{scope:o.__scopeAccordion,value:l.useMemo(()=>i?[i]:[],[i]),onItemOpen:u,onItemClose:l.useCallback(()=>r&&u(""),[r,u]),children:(0,t.jsx)(W,{scope:o.__scopeAccordion,collapsible:r,children:(0,t.jsx)(V,{...d,ref:c})})})}),se=l.forwardRef((o,c)=>{const{value:e,defaultValue:n,onValueChange:a=()=>{},...r}=o,[d,i]=(0,N.i)({prop:e,defaultProp:n??[],onChange:a,caller:_}),u=l.useCallback(A=>i((p=[])=>[...p,A]),[i]),v=l.useCallback(A=>i((p=[])=>p.filter(R=>R!==A)),[i]);return(0,t.jsx)(S,{scope:o.__scopeAccordion,value:d,onItemOpen:u,onItemClose:v,children:(0,t.jsx)(W,{scope:o.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(V,{...r,ref:c})})})}),[le,g]=E(_),V=l.forwardRef((o,c)=>{const{__scopeAccordion:e,disabled:n,dir:a,orientation:r="vertical",...d}=o,i=l.useRef(null),u=(0,$.s)(i,c),v=ne(e),p=(0,oe.jH)(a)==="ltr",R=(0,q.mK)(o.onKeyDown,m=>{if(!re.includes(m.key))return;const Ae=m.target,y=v().filter(L=>!L.ref.current?.disabled),P=y.findIndex(L=>L.ref.current===Ae),Q=y.length;if(P===-1)return;m.preventDefault();let f=P;const w=0,T=Q-1,j=()=>{f=P+1,f>T&&(f=w)},K=()=>{f=P-1,f<w&&(f=T)};switch(m.key){case"Home":f=w;break;case"End":f=T;break;case"ArrowRight":r==="horizontal"&&(p?j():K());break;case"ArrowDown":r==="vertical"&&j();break;case"ArrowLeft":r==="horizontal"&&(p?K():j());break;case"ArrowUp":r==="vertical"&&K();break}const Ce=f%Q;y[Ce].ref.current?.focus()});return(0,t.jsx)(le,{scope:e,disabled:n,direction:a,orientation:r,children:(0,t.jsx)(h.Slot,{scope:e,children:(0,t.jsx)(U.sG.div,{...d,"data-orientation":r,ref:u,onKeyDown:n?void 0:R})})})}),b="AccordionItem",[de,O]=E(b),k=l.forwardRef((o,c)=>{const{__scopeAccordion:e,value:n,...a}=o,r=g(b,e),d=ce(b,e),i=D(e),u=(0,ee.B)(),v=n&&d.value.includes(n)||!1,A=r.disabled||o.disabled;return(0,t.jsx)(de,{scope:e,open:v,disabled:A,triggerId:u,children:(0,t.jsx)(x.bL,{"data-orientation":r.orientation,"data-state":J(v),...i,...a,ref:c,disabled:A,open:v,onOpenChange:p=>{p?d.onItemOpen(n):d.onItemClose(n)}})})});k.displayName=b;var H="AccordionHeader",z=l.forwardRef((o,c)=>{const{__scopeAccordion:e,...n}=o,a=g(_,e),r=O(H,e);return(0,t.jsx)(U.sG.h3,{"data-orientation":a.orientation,"data-state":J(r.open),"data-disabled":r.disabled?"":void 0,...n,ref:c})});z.displayName=H;var M="AccordionTrigger",G=l.forwardRef((o,c)=>{const{__scopeAccordion:e,...n}=o,a=g(_,e),r=O(M,e),d=ae(M,e),i=D(e);return(0,t.jsx)(h.ItemSlot,{scope:e,children:(0,t.jsx)(x.l9,{"aria-disabled":r.open&&!d.collapsible||void 0,"data-orientation":a.orientation,id:r.triggerId,...i,...n,ref:c})})});G.displayName=M;var Y="AccordionContent",F=l.forwardRef((o,c)=>{const{__scopeAccordion:e,...n}=o,a=g(_,e),r=O(Y,e),d=D(e);return(0,t.jsx)(x.UC,{role:"region","aria-labelledby":r.triggerId,"data-orientation":a.orientation,...d,...n,ref:c,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...o.style}})});F.displayName=Y;function J(o){return o?"open":"closed"}var _e=B,ue=k,fe=z,pe=G,ve=F})}]); 2 3//# sourceMappingURL=1584.a04216bc.js.map
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.