PageSourceSearch

https://continue.dev/_next/static/chunks/720df4aaef0e47b7.js?dpl=dpl_HADioUbaheJdoapgZThYmTuiUphQ

js continue.dev collected 2026-10-02 02:54:54 UTC 21,710 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,687607,e=>{"use strict";var t=e.i(271645);"undefined"!=typeof window&&window.document&&window.document.createElement;var r=e.i(843476),n=globalThis?.document?t.useLayoutEffect:()=>{};e.i(683986);var i=t[" useInsertionEffect ".trim().toString()]||n;function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}function s(...e){return t.useCallback(l(...e),e)}Symbol("RADIX:SYNC_STATE"),e.i(174080);var a=Symbol("radix.slottable");function u(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{var i,o;let s,a,c,d=(o=i=`Primitive.${n}`,(s=t.forwardRef((e,r)=>{let{children:n,...i}=e;if(t.isValidElement(n)){var o;let e,s,a=(o=n,(s=(e=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.ref:(s=(e=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?o.props.ref:o.props.ref||o.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(i,n.props);return n.type!==t.Fragment&&(u.ref=r?l(r,a):a),t.cloneElement(n,u)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${o}.SlotClone`,a=s,(c=t.forwardRef((e,n)=>{let{children:i,...o}=e,l=t.Children.toArray(i),s=l.find(u);if(s){let e=s.props.children,i=l.map(r=>r!==s?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(a,{...o,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,r.jsx)(a,{...o,ref:n,children:i})})).displayName=`${i}.Slot`,c),f=t.forwardRef((e,t)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(i?d:n,{...o,ref:t})});return f.displayName=`Primitive.${n}`,{...e,[n]:f}},{}),d=e=>{var r;let i,o,{present:l,children:a}=e,u=function(e){var r,i;let[o,l]=t.useState(),s=t.useRef(null),a=t.useRef(e),u=t.useRef("none"),[c,d]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=f(s.current);u.current="mounted"===c?e:"none"},[c]),n(()=>{let t=s.current,r=a.current;if(r!==e){let n=u.current,i=f(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),n(()=>{if(o){let e,t=o.ownerDocument.defaultView??window,r=r=>{let n=f(s.current).includes(CSS.escape(r.animationName));if(r.target===o&&n&&(d("ANIMATION_END"),!a.current)){let r=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=r)})}},n=e=>{e.target===o&&(u.current=f(s.current))};return o.addEventListener("animationstart",n),o.addEventListener("animationcancel",r),o.addEventListener("animationend",r),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",n),o.removeEventListener("animationcancel",r),o.removeEventListener("animationend",r)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(l),c="function"==typeof a?a({present:u.isPresent}):t.Children.only(a),d=s(u.ref,(r=c,(o=(i=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?r.ref:(o=(i=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in i&&i.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof a||u.isPresent?t.cloneElement(c,{ref:d}):null};function f(e){return e?.animationName||"none"}d.displayName="Presence";var p=t[" useId ".trim().toString()]||(()=>void 0),m=0,h="Collapsible",[y,v]=function(e,n=[]){let i=[],o=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(n,o){let l=t.createContext(o),s=i.length;i=[...i,o];let a=n=>{let{scope:i,children:o,...a}=n,u=i?.[e]?.[s]||l,c=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(u.Provider,{value:c,children:o})};return a.displayName=n+"Provider",[a,function(r,i){let a=i?.[e]?.[s]||l,u=t.useContext(a);if(u)return u;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(o,...n)]}(h),[g,w]=y(h),x=t.forwardRef((e,o)=>{let{__scopeCollapsible:l,open:s,defaultOpen:a,disabled:u,onOpenChange:d,...f}=e,[y,v]=function({prop:e,defaultProp:r,onChange:n=()=>{},caller:o}){let[l,s,a]=function({defaultProp:e,onChange:r}){let[n,o]=t.useState(e),l=t.useRef(n),s=t.useRef(r);return i(()=>{s.current=r},[r]),t.useEffect(()=>{l.current!==n&&(s.current?.(n),l.current=n)},[n,l]),[n,o,s]}({defaultProp:r,onChange:n}),u=void 0!==e,c=u?e:l;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=u},[u,o])}return[c,t.useCallback(t=>{if(u){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else s(t)},[u,e,s,a])]}({prop:s,defaultProp:a??!1,onChange:d,caller:h});return(0,r.jsx)(g,{scope:l,disabled:u,contentId:function(e){let[r,i]=t.useState(p());return n(()=>{i(e=>e??String(m++))},[void 0]),r?`radix-${r}`:""}(),open:y,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,r.jsx)(c.div,{"data-state":j(y),"data-disabled":u?"":void 0,...f,ref:o})})});x.displayName=h;
1var b="CollapsibleTrigger",R=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...i}=e,o=w(b,n);return(0,r.jsx)(c.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":j(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...i,ref:t,onClick:function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}(e.onClick,o.onOpenToggle)})});R.displayName=b;var N="CollapsibleContent",C=t.forwardRef((e,t)=>{let{forceMount:n,...i}=e,o=w(N,e.__scopeCollapsible);return(0,r.jsx)(d,{present:n||o.open,children:({present:e})=>(0,r.jsx)(A,{...i,ref:t,present:e})})});C.displayName=N;var A=t.forwardRef((e,i)=>{let{__scopeCollapsible:o,present:l,children:a,...u}=e,d=w(N,o),[f,p]=t.useState(l),m=t.useRef(null),h=s(i,m),y=t.useRef(0),v=y.current,g=t.useRef(0),x=g.current,b=d.open||f,R=t.useRef(b),C=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),n(()=>{let e=m.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();y.current=t.height,g.current=t.width,R.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(l)}},[d.open,l]),(0,r.jsx)(c.div,{"data-state":j(d.open),"data-disabled":d.disabled?"":void 0,id:d.contentId,hidden:!b,...u,ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":x?`${x}px`:void 0,...e.style},children:b&&a})});function j(e){return e?"open":"closed"}e.s(["CollapsibleContent",()=>C,"CollapsibleTrigger",()=>R,"Content",()=>C,"Root",()=>x,"Trigger",()=>R,"createCollapsibleScope",()=>v],687607)},25050,e=>{"use strict";var t=e.i(843476),r=e.i(271645);function n(e,i=[]){let o=[],l=()=>{let t=o.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return l.scopeName=e,[function(n,i){let l=r.createContext(i),s=o.length;o=[...o,i];let a=n=>{let{scope:i,children:o,...a}=n,u=i?.[e]?.[s]||l,c=r.useMemo(()=>a,Object.values(a));return(0,t.jsx)(u.Provider,{value:c,children:o})};return a.displayName=n+"Provider",[a,function(t,o){let a=o?.[e]?.[s]||l,u=r.useContext(a);if(u)return u;if(void 0!==i)return i;throw Error(`\`${t}\` must be used within \`${n}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(l,...i)]}function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():i(e[t],null)}}}}function l(...e){return r.useCallback(o(...e),e)}function s(e){var n;let i,l=(n=e,(i=r.forwardRef((e,t)=>{let{children:n,...i}=e;if(r.isValidElement(n)){var l;let e,s,a=(l=n,(s=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(s=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.props.ref:l.props.ref||l.ref),u=function(e,t){let r={...t};for(let n in t){let i=e[n],o=t[n];/^on[A-Z]/.test(n)?i&&o?r[n]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...o}:"className"===n&&(r[n]=[i,o].filter(Boolean).join(" "))}return{...e,...r}}(i,n.props);return n.type!==r.Fragment&&(u.ref=t?o(t,a):a),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${n}.SlotClone`,i),s=r.forwardRef((e,n)=>{let{children:i,...o}=e,s=r.Children.toArray(i),a=s.find(u);if(a){let e=a.props.children,i=s.map(t=>t!==a?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(l,{...o,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(l,{...o,ref:n,children:i})});return s.displayName=`${e}.Slot`,s}var a=Symbol("radix.slottable");function u(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}var c=new WeakMap;function d(e,t){var r,n;let i,o,l;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,i=r.length,(l=(o=f(n))>=0?o:i+o)<0||l>=i?-1:l);return -1===s?void 0:e[s]}function f(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#e;constructor(e){super(e),this.#e=[...super.keys()],c.set(this,!0)}set(e,t){return c.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,r){let n,i=this.has(t),o=this.#e.length,l=f(e),s=l>=0?l:o+l,a=s<0||s>=o?-1:s;if(a===this.size||i&&a===this.size-1||-1===a)return this.set(t,r),this;let u=this.size+ +!i;l<0&&s++;let c=[...this.#e],d=!1;for(let e=s;e<u;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),i&&this.delete(t),n=this.get(o),this.set(t,r)}else{d||c[e-1]!==t||(d=!0);let r=c[d?e:e-1],i=n;n=this.get(r),this.delete(r),this.set(r,i)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n,t,r)}after(e){let t=this.#e.indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,r){let n=this.#e.indexOf(e);return -1===n?this:this.insert(n+1,t,r)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return this.#e=[],super.clear()}delete(e){let t=super.delete(e);return t&&this.#e.splice(this.#e.indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return d(this.#e,e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(...e){let[t,r]=e,n=0,i=r??this.at(0);for(let r of this)i=0===n&&1===e.length?r:Reflect.apply(t,this,[i,r,n,this]),n++;return i}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let i=this.at(r);
1n=r===this.size-1&&1===e.length?i:Reflect.apply(t,this,[n,i,r,this])}return n}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(...t){let r=[...this.entries()];return r.splice(...t),new e(r)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}}),"undefined"!=typeof window&&window.document&&window.document.createElement;var p=globalThis?.document?r.useLayoutEffect:()=>{};e.i(683986);var m=r[" useInsertionEffect ".trim().toString()]||p;function h({prop:e,defaultProp:t,onChange:n=()=>{},caller:i}){let[o,l,s]=function({defaultProp:e,onChange:t}){let[n,i]=r.useState(e),o=r.useRef(n),l=r.useRef(t);return m(()=>{l.current=t},[t]),r.useEffect(()=>{o.current!==n&&(l.current?.(n),o.current=n)},[n,o]),[n,i,l]}({defaultProp:t,onChange:n}),a=void 0!==e,u=a?e:o;{let t=r.useRef(void 0!==e);r.useEffect(()=>{let e=t.current;if(e!==a){let t=a?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,i])}return[u,r.useCallback(t=>{if(a){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else l(t)},[a,e,l,s])]}Symbol("RADIX:SYNC_STATE"),e.i(174080);var y=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=s(`Primitive.${n}`),o=r.forwardRef((e,r)=>{let{asChild:o,...l}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(o?i:n,{...l,ref:r})});return o.displayName=`Primitive.${n}`,{...e,[n]:o}},{}),v=e.i(687607),g=r[" useId ".trim().toString()]||(()=>void 0),w=0,x=r.createContext(void 0),b="Accordion",R=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[N,C,A]=function(e){let i=e+"CollectionProvider",[o,a]=n(i),[u,c]=o(i,{collectionRef:{current:null},itemMap:new Map}),d=e=>{let{scope:n,children:i}=e,o=r.default.useRef(null),l=r.default.useRef(new Map).current;return(0,t.jsx)(u,{scope:n,itemMap:l,collectionRef:o,children:i})};d.displayName=i;let f=e+"CollectionSlot",p=s(f),m=r.default.forwardRef((e,r)=>{let{scope:n,children:i}=e,o=l(r,c(f,n).collectionRef);return(0,t.jsx)(p,{ref:o,children:i})});m.displayName=f;let h=e+"CollectionItemSlot",y="data-radix-collection-item",v=s(h),g=r.default.forwardRef((e,n)=>{let{scope:i,children:o,...s}=e,a=r.default.useRef(null),u=l(n,a),d=c(h,i);return r.default.useEffect(()=>(d.itemMap.set(a,{ref:a,...s}),()=>void d.itemMap.delete(a))),(0,t.jsx)(v,{...{[y]:""},ref:u,children:o})});return g.displayName=h,[{Provider:d,Slot:m,ItemSlot:g},function(t){let n=c(e+"CollectionConsumer",t);return r.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},a]}(b),[j,O]=n(b,[A,v.createCollapsibleScope]),S=(0,v.createCollapsibleScope)(),k=r.default.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(N.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)($,{...i,ref:r}):(0,t.jsx)(M,{...i,ref:r})})});k.displayName=b;var[E,I]=j(b),[_,T]=j(b,{collapsible:!1}),M=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:o,onValueChange:l=()=>{},collapsible:s=!1,...a}=e,[u,c]=h({prop:i,defaultProp:o??"",onChange:l,caller:b});return(0,t.jsx)(E,{scope:e.__scopeAccordion,value:r.default.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:r.default.useCallback(()=>s&&c(""),[s,c]),children:(0,t.jsx)(_,{scope:e.__scopeAccordion,collapsible:s,children:(0,t.jsx)(z,{...a,ref:n})})})}
1),$=r.default.forwardRef((e,n)=>{let{value:i,defaultValue:o,onValueChange:l=()=>{},...s}=e,[a,u]=h({prop:i,defaultProp:o??[],onChange:l,caller:b}),c=r.default.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=r.default.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,t.jsx)(E,{scope:e.__scopeAccordion,value:a,onItemOpen:c,onItemClose:d,children:(0,t.jsx)(_,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(z,{...s,ref:n})})})}),[P,D]=j(b),z=r.default.forwardRef((e,n)=>{let i,{__scopeAccordion:o,disabled:s,dir:a,orientation:u="vertical",...c}=e,d=l(r.default.useRef(null),n),f=C(o),p="ltr"===(i=r.useContext(x),a||i||"ltr"),m=function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}(e.onKeyDown,e=>{if(!R.includes(e.key))return;let t=e.target,r=f().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let o=n,l=i-1,s=()=>{(o=n+1)>l&&(o=0)},a=()=>{(o=n-1)<0&&(o=l)};switch(e.key){case"Home":o=0;break;case"End":o=l;break;case"ArrowRight":"horizontal"===u&&(p?s():a());break;case"ArrowDown":"vertical"===u&&s();break;case"ArrowLeft":"horizontal"===u&&(p?a():s());break;case"ArrowUp":"vertical"===u&&a()}let c=o%i;r[c].ref.current?.focus()});return(0,t.jsx)(P,{scope:o,disabled:s,direction:a,orientation:u,children:(0,t.jsx)(N.Slot,{scope:o,children:(0,t.jsx)(y.div,{...c,"data-orientation":u,ref:d,onKeyDown:s?void 0:m})})})}),U="AccordionItem",[W,L]=j(U),F=r.default.forwardRef((e,n)=>{let{__scopeAccordion:i,value:o,...l}=e,s=D(U,i),a=I(U,i),u=S(i),c=function(e){let[t,n]=r.useState(g());return p(()=>{n(e=>e??String(w++))},[void 0]),t?`radix-${t}`:""}(),d=o&&a.value.includes(o)||!1,f=s.disabled||e.disabled;return(0,t.jsx)(W,{scope:i,open:d,disabled:f,triggerId:c,children:(0,t.jsx)(v.Root,{"data-orientation":s.orientation,"data-state":Y(d),...u,...l,ref:n,disabled:f,open:d,onOpenChange:e=>{e?a.onItemOpen(o):a.onItemClose(o)}})})});F.displayName=U;var V="AccordionHeader",B=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=D(b,n),l=L(V,n);return(0,t.jsx)(y.h3,{"data-orientation":o.orientation,"data-state":Y(l.open),"data-disabled":l.disabled?"":void 0,...i,ref:r})});B.displayName=V;var K="AccordionTrigger",H=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=D(b,n),l=L(K,n),s=T(K,n),a=S(n);return(0,t.jsx)(N.ItemSlot,{scope:n,children:(0,t.jsx)(v.Trigger,{"aria-disabled":l.open&&!s.collapsible||void 0,"data-orientation":o.orientation,id:l.triggerId,...a,...i,ref:r})})});H.displayName=K;var q="AccordionContent",X=r.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,o=D(b,n),l=L(q,n),s=S(n);return(0,t.jsx)(v.Content,{role:"region","aria-labelledby":l.triggerId,"data-orientation":o.orientation,...s,...i,ref:r,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function Y(e){return e?"open":"closed"}X.displayName=q;var Z=e.i(664659),G=e.i(448020);let J=r.forwardRef(({className:e,...r},n)=>(0,t.jsx)(F,{ref:n,className:(0,G.cn)("border-b",e),...r}));J.displayName="AccordionItem";let Q=r.forwardRef(({className:e,children:r,...n},i)=>(0,t.jsx)(B,{className:"flex",children:(0,t.jsxs)(H,{ref:i,className:(0,G.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...n,children:[r,(0,t.jsx)(Z.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));Q.displayName=H.displayName;let ee=r.forwardRef(({className:e,children:r,...n},i)=>(0,t.jsx)(X,{ref:i,className:"overflow-hidden text-sm transition-all data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",...n,children:(0,t.jsx)("div",{className:(0,G.cn)("pb-4 pt-0",e),children:r})}));ee.displayName=X.displayName,e.s(["Accordion",()=>k,"AccordionContent",()=>ee,"AccordionItem",()=>J,"AccordionTrigger",()=>Q],25050)}]);

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.