1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,572070,e=>{"use strict";var t=e.i(787883);let r=({size:e=20,accent:r="var(--ic-green)",stroke:n="currentColor",strokeWidth:i=1.5,...l},s)=>(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round",style:{color:n},...l,children:[(0,t.jsx)("g",{style:{color:r}}),s]}),n=e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("rect",{x:"3",y:"12",width:"4",height:"9",rx:"1",fill:e.accent??"var(--ic-green)",fillOpacity:"0.25"}),(0,t.jsx)("rect",{x:"10",y:"8",width:"4",height:"13",rx:"1",fill:e.accent??"var(--ic-green)",fillOpacity:"0.18"}),(0,t.jsx)("rect",{x:"17",y:"4",width:"4",height:"17",rx:"1",fill:e.accent??"var(--ic-green)",fillOpacity:"0.12"}),(0,t.jsx)("rect",{x:"3",y:"12",width:"4",height:"9",rx:"1"}),(0,t.jsx)("rect",{x:"10",y:"8",width:"4",height:"13",rx:"1"}),(0,t.jsx)("rect",{x:"17",y:"4",width:"4",height:"17",rx:"1"})]})),i=e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M6 3h8l5 5v13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.18"}),(0,t.jsx)("path",{d:"M6 3h8l5 5v13a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1z"}),(0,t.jsx)("path",{d:"M14 3v5h5M8 13h8M8 17h5"})]})),l=e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M4 5a2 2 0 0 1 2-2h14v17H6a2 2 0 0 0-2 2V5z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.18"}),(0,t.jsx)("path",{d:"M4 5a2 2 0 0 1 2-2h14v17H6a2 2 0 0 0-2 2V5z"}),(0,t.jsx)("path",{d:"M4 22a2 2 0 0 1 2-2h14"})]})),s=e=>r({...e,accent:"transparent"},(0,t.jsx)("path",{d:"M5 12h14M13 6l6 6-6 6"})),a=e=>r({...e,accent:"transparent"},(0,t.jsx)("path",{d:"M5 12l5 5 9-10"})),o=e=>r({...e,accent:"transparent"},(0,t.jsx)("path",{d:"M12 5v14M5 12h14"})),c=e=>r({...e,accent:"transparent"},(0,t.jsx)("path",{d:"M5 12h14"})),d=e=>r({...e,accent:"transparent"},(0,t.jsx)("path",{d:"M4 7h16M4 12h16M4 17h16"}));e.s(["ICONS",0,{inbox:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 13l3-8h12l3 8",fill:e.accent??"var(--ic-green)",fillOpacity:"0.2"}),(0,t.jsx)("path",{d:"M3 13v6a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-6"}),(0,t.jsx)("path",{d:"M3 13h5l1 2h6l1-2h5"}),(0,t.jsx)("path",{d:"M6 5h12l3 8"})]})),shop:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M5 7h14l-1 4H6L5 7z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.22"}),(0,t.jsx)("path",{d:"M4 4h16l1 3H3l1-3z"}),(0,t.jsx)("path",{d:"M5 7l1 13a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1l1-13"}),(0,t.jsx)("path",{d:"M9 11v3a3 3 0 0 0 6 0v-3"})]})),brain:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M9 5a3 3 0 0 0-3 3 3 3 0 0 0-2 5 3 3 0 0 0 2 5 3 3 0 0 0 3 3c0-3 3-5 3-5V5z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.22"}),(0,t.jsx)("path",{d:"M9 5a3 3 0 0 0-3 3 3 3 0 0 0-2 5 3 3 0 0 0 2 5 3 3 0 0 0 3 3"}),(0,t.jsx)("path",{d:"M15 5a3 3 0 0 1 3 3 3 3 0 0 1 2 5 3 3 0 0 1-2 5 3 3 0 0 1-3 3"}),(0,t.jsx)("path",{d:"M12 5v16M8 10h4M8 14h4M16 10h-4M16 14h-4"})]})),spark:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2 2-6z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.24"}),(0,t.jsx)("path",{d:"M12 3l2 6 6 2-6 2-2 6-2-6-6-2 6-2 2-6z"})]})),ticket:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M3 7h18v3a2 2 0 0 0 0 4v3H3v-3a2 2 0 0 0 0-4V7z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.18"}),(0,t.jsx)("path",{d:"M3 7h18v3a2 2 0 0 0 0 4v3H3v-3a2 2 0 0 0 0-4V7z"}),(0,t.jsx)("path",{d:"M14 7v10",strokeDasharray:"2 3"})]})),timer:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"12",cy:"13",r:"7",fill:e.accent??"var(--ic-green)",fillOpacity:"0.2"}),(0,t.jsx)("circle",{cx:"12",cy:"13",r:"7"}),(0,t.jsx)("path",{d:"M12 13V9M9 3h6M5 6l1.5 1.5"})]})),route:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"6",cy:"6",r:"2.5",fill:e.accent??"var(--ic-green)",fillOpacity:"0.3"}),(0,t.jsx)("circle",{cx:"18",cy:"18",r:"2.5",fill:e.accent??"var(--ic-green)",fillOpacity:"0.3"}),(0,t.jsx)("circle",{cx:"6",cy:"6",r:"2.5"}),(0,t.jsx)("circle",{cx:"18",cy:"18",r:"2.5"}),(0,t.jsx)("path",{d:"M8 6h6a4 4 0 0 1 4 4v4"})]})),shield:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M12 3l8 3v5c0 5-3.5 8-8 10-4.5-2-8-5-8-10V6l8-3z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.2"}),(0,t.jsx)("path",{d:"M12 3l8 3v5c0 5-3.5 8-8 10-4.5-2-8-5-8-10V6l8-3z"}),(0,t.jsx)("path",{d:"M9 12l2 2 4-4"})]})),chart:n,doc:i,book:l,users:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"9",cy:"8",r:"3.5",fill:e.accent??"var(--ic-green)",fillOpacity:"0.22"}),(0,t.jsx)("circle",{cx:"9",cy:"8",r:"3.5"}),(0,t.jsx)("circle",{cx:"17",cy:"10",r:"2.5"}),(0,t.jsx)("path",{d:"M3 20c0-3 2.5-5 6-5s6 2 6 5M16 20c0-2.5 2-4 5-4"})]})),message:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M4 5h16v11H9l-5 4V5z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.2"}),(0,t.jsx)("path",{d:"M4 5h16v11H9l-5 4V5z"})]})),globe:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("circle",{cx:"12",cy:"12",r:"9",fill:e.accent??"var(--ic-green)",fillOpacity:"0.14"}),(0,t.jsx)("circle",{cx:"12",cy:"12",r:"9"}
1),(0,t.jsx)("path",{d:"M3 12h18M12 3c3 4 3 14 0 18M12 3c-3 4-3 14 0 18"})]})),api:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M8 7l-5 5 5 5M16 7l5 5-5 5M14 4l-4 16",stroke:e.stroke??"currentColor"}),(0,t.jsx)("path",{d:"M8 7l-5 5 5 5",fill:e.accent??"var(--ic-green)",fillOpacity:"0.16"})]})),cart:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M5 5h2l2 10h9l2-7H8",fill:e.accent??"var(--ic-green)",fillOpacity:"0.2"}),(0,t.jsx)("path",{d:"M5 5h2l2 10h9l2-7H8"}),(0,t.jsx)("circle",{cx:"10",cy:"19",r:"1.5"}),(0,t.jsx)("circle",{cx:"17",cy:"19",r:"1.5"})]})),lightning:e=>r(e,(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("path",{d:"M13 3L5 14h6l-1 7 8-11h-6l1-7z",fill:e.accent??"var(--ic-green)",fillOpacity:"0.25"}),(0,t.jsx)("path",{d:"M13 3L5 14h6l-1 7 8-11h-6l1-7z"})]})),arrow:s,check:a,plus:o,minus:c,close:e=>r({...e,accent:"transparent"},(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})),menu:d},"IcArrow",0,s,"IcBook",0,l,"IcChart",0,n,"IcCheck",0,a,"IcDoc",0,i,"IcMenu",0,d,"IcMinus",0,c,"IcPlus",0,o])},363914,922528,786874,978279,291967,305192,936589,738411,311823,713123,566033,e=>{"use strict";var t=e.i(970026),r=e.i(787883);function n(e,i=[]){let l=[],s=()=>{let r=l.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(n,i){let s=t.createContext(i),a=l.length;l=[...l,i];let o=n=>{let{scope:i,children:l,...o}=n,c=i?.[e]?.[a]||s,d=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(c.Provider,{value:d,children:l})};return o.displayName=n+"Provider",[o,function(r,l){let o=l?.[e]?.[a]||s,c=t.useContext(o);if(c)return c;if(void 0!==i)return i;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}(s,...i)]}e.s(["createContext",0,function(e,n){let i=t.createContext(n),l=e=>{let{children:n,...l}=e,s=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(i.Provider,{value:s,children:n})};return l.displayName=e+"Provider",[l,function(r){let l=t.useContext(i);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,n],922528);var i=e.i(205978);function l(e){var n;let l,s=(n=e,(l=t.forwardRef((e,r)=>{let{children:n,...l}=e;if(t.isValidElement(n)){var s;let e,a,o=(s=n,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(l,n.props);return n.type!==t.Fragment&&(c.ref=r?(0,i.composeRefs)(r,o):o),t.cloneElement(n,c)}return t.Children.count(n)>1?t.Children.only(null):null})).displayName=`${n}.SlotClone`,l),o=t.forwardRef((e,n)=>{let{children:i,...l}=e,o=t.Children.toArray(i),c=o.find(a);if(c){let e=c.props.children,i=o.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,r.jsx)(s,{...l,ref:n,children:t.isValidElement(e)?t.cloneElement(e,void 0,i):null})}return(0,r.jsx)(s,{...l,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}var s=Symbol("radix.slottable");function a(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}function o(e){let s=e+"CollectionProvider",[a,o]=n(s),[c,d]=a(s,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:n,children:i}=e,l=t.default.useRef(null),s=t.default.useRef(new Map).current;return(0,r.jsx)(c,{scope:n,itemMap:s,collectionRef:l,children:i})};u.displayName=s;let f=e+"CollectionSlot",h=l(f),p=t.default.forwardRef((e,t)=>
1{let{scope:n,children:l}=e,s=d(f,n),a=(0,i.useComposedRefs)(t,s.collectionRef);return(0,r.jsx)(h,{ref:a,children:l})});p.displayName=f;let x=e+"CollectionItemSlot",m="data-radix-collection-item",y=l(x),v=t.default.forwardRef((e,n)=>{let{scope:l,children:s,...a}=e,o=t.default.useRef(null),c=(0,i.useComposedRefs)(n,o),u=d(x,l);return t.default.useEffect(()=>(u.itemMap.set(o,{ref:o,...a}),()=>void u.itemMap.delete(o))),(0,r.jsx)(y,{...{[m]:""},ref:c,children:s})});return v.displayName=x,[{Provider:u,Slot:p,ItemSlot:v},function(r){let n=d(e+"CollectionConsumer",r);return t.default.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])},o]}e.s(["createSlot",0,l],786874);var c=new WeakMap;function d(e,t){var r,n;let i,l,s;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let a=(r=e,n=t,i=r.length,(s=(l=u(n))>=0?l:i+l)<0||s>=i?-1:s);return -1===a?void 0:e[a]}function u(e){return e!=e||0===e?0:Math.trunc(e)}function f(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}(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),l=this.#e.length,s=u(e),a=s>=0?s:l+s,o=a<0||a>=l?-1:a;if(o===this.size||i&&o===this.size-1||-1===o)return this.set(t,r),this;let c=this.size+ +!i;s<0&&a++;let d=[...this.#e],f=!1;for(let e=a;e<c;e++)if(a===e){let l=d[e];d[e]===t&&(l=d[e+1]),i&&this.delete(t),n=this.get(l),this.set(t,r)}else{f||d[e-1]!==t||(f=!0);let r=d[f?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);n=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}}),e.s(["createCollection",0,o],978279),"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,f],291967);var h=globalThis?.document?t.useLayoutEffect:()=>{};
1e.s(["useLayoutEffect",0,h],305192),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var p=t[" useInsertionEffect ".trim().toString()]||h;function x({prop:e,defaultProp:r,onChange:n=()=>{},caller:i}){let[l,s,a]=function({defaultProp:e,onChange:r}){let[n,i]=t.useState(e),l=t.useRef(n),s=t.useRef(r);return p(()=>{s.current=r},[r]),t.useEffect(()=>{l.current!==n&&(s.current?.(n),l.current=n)},[n,l]),[n,i,s]}({defaultProp:r,onChange:n}),o=void 0!==e,c=o?e:l;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==o){let t=o?"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.`)}r.current=o},[o,i])}return[c,t.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&a.current?.(r)}else s(t)},[o,e,s,a])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,x],936589);var m=e.i(981246),y=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=l(`Primitive.${n}`),s=t.forwardRef((e,t)=>{let{asChild:l,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,r.jsx)(l?i:n,{...s,ref:t})});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{});e.s(["Primitive",0,y,"dispatchDiscreteCustomEvent",0,function(e,t){e&&m.flushSync(()=>e.dispatchEvent(t))}],738411);var v=e=>{var r;let n,l,{present:s,children:a}=e,o=function(e){var r,n;let[i,l]=t.useState(),s=t.useRef(null),a=t.useRef(e),o=t.useRef("none"),[c,d]=(r=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>n[e][t]??e,r));return t.useEffect(()=>{let e=g(s.current);o.current="mounted"===c?e:"none"},[c]),h(()=>{let t=s.current,r=a.current;if(r!==e){let n=o.current,i=g(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),h(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,r=r=>{let n=g(s.current).includes(CSS.escape(r.animationName));if(r.target===i&&n&&(d("ANIMATION_END"),!a.current)){let r=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=r)})}},n=e=>{e.target===i&&(o.current=g(s.current))};return i.addEventListener("animationstart",n),i.addEventListener("animationcancel",r),i.addEventListener("animationend",r),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",n),i.removeEventListener("animationcancel",r),i.removeEventListener("animationend",r)}}d("ANIMATION_END")},[i,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,l(e)},[])}}(s),c="function"==typeof a?a({present:o.isPresent}):t.Children.only(a),d=(0,i.useComposedRefs)(o.ref,(r=c,(l=(n=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?r.ref:(l=(n=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?r.props.ref:r.props.ref||r.ref));return"function"==typeof a||o.isPresent?t.cloneElement(c,{ref:d}):null};function g(e){return e?.animationName||"none"}v.displayName="Presence",e.s(["Presence",0,v],311823);var j=t[" useId ".trim().toString()]||(()=>void 0),M=0;function w(e){let[r,n]=t.useState(j());return h(()=>{e||n(e=>e??String(M++))},[e]),e||(r?`radix-${r}`:"")}e.s(["useId",0,w],713123);var R="Collapsible",[b,C]=n(R),[O,k]=b(R),N=t.forwardRef((e,n)=>{let{__scopeCollapsible:i,open:l,defaultOpen:s,disabled:a,onOpenChange:o,...c}=e,[d,u]=x({prop:l,defaultProp:s??!1,onChange:o,caller:R});return(0,r.jsx)(O,{scope:i,disabled:a,contentId:w(),open:d,onOpenToggle:t.useCallback(()=>u(e=>!e),[u]),children:(0,r.jsx)(y.div,{"data-state":_(d),"data-disabled":a?"":void 0,...c,ref:n})})});N.displayName=R;var A="CollapsibleTrigger",I=t.forwardRef((e,t)=>
1{let{__scopeCollapsible:n,...i}=e,l=k(A,n);return(0,r.jsx)(y.button,{type:"button","aria-controls":l.contentId,"aria-expanded":l.open||!1,"data-state":_(l.open),"data-disabled":l.disabled?"":void 0,disabled:l.disabled,...i,ref:t,onClick:f(e.onClick,l.onOpenToggle)})});I.displayName=A;var S="CollapsibleContent",E=t.forwardRef((e,t)=>{let{forceMount:n,...i}=e,l=k(S,e.__scopeCollapsible);return(0,r.jsx)(v,{present:n||l.open,children:({present:e})=>(0,r.jsx)(z,{...i,ref:t,present:e})})});E.displayName=S;var z=t.forwardRef((e,n)=>{let{__scopeCollapsible:l,present:s,children:a,...o}=e,c=k(S,l),[d,u]=t.useState(s),f=t.useRef(null),p=(0,i.useComposedRefs)(n,f),x=t.useRef(0),m=x.current,v=t.useRef(0),g=v.current,j=c.open||d,M=t.useRef(j),w=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>M.current=!1);return()=>cancelAnimationFrame(e)},[]),h(()=>{let e=f.current;if(e){w.current=w.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,v.current=t.width,M.current||(e.style.transitionDuration=w.current.transitionDuration,e.style.animationName=w.current.animationName),u(s)}},[c.open,s]),(0,r.jsx)(y.div,{"data-state":_(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!j,...o,ref:p,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":g?`${g}px`:void 0,...e.style},children:j&&a})});function _(e){return e?"open":"closed"}var T=t.createContext(void 0);function P(e){let r=t.useContext(T);return e||r||"ltr"}e.s(["useDirection",0,P],566033);var F="Accordion",D=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[$,H,V]=o(F),[L,U]=n(F,[V,C]),W=C(),B=t.default.forwardRef((e,t)=>{let{type:n,...i}=e;return(0,r.jsx)($.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,r.jsx)(G,{...i,ref:t}):(0,r.jsx)(Z,{...i,ref:t})})});B.displayName=F;var[K,q]=L(F),[X,Y]=L(F,{collapsible:!1}),Z=t.default.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:s=()=>{},collapsible:a=!1,...o}=e,[c,d]=x({prop:i,defaultProp:l??"",onChange:s,caller:F});return(0,r.jsx)(K,{scope:e.__scopeAccordion,value:t.default.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:t.default.useCallback(()=>a&&d(""),[a,d]),children:(0,r.jsx)(X,{scope:e.__scopeAccordion,collapsible:a,children:(0,r.jsx)(ee,{...o,ref:n})})})}),G=t.default.forwardRef((e,n)=>{let{value:i,defaultValue:l,onValueChange:s=()=>{},...a}=e,[o,c]=x({prop:i,defaultProp:l??[],onChange:s,caller:F}),d=t.default.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=t.default.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,r.jsx)(K,{scope:e.__scopeAccordion,value:o,onItemOpen:d,onItemClose:u,children:(0,r.jsx)(X,{scope:e.__scopeAccordion,collapsible:!0,children:(0,r.jsx)(ee,{...a,ref:n})})})}),[J,Q]=L(F),ee=t.default.forwardRef((e,n)=>{let{__scopeAccordion:l,disabled:s,dir:a,orientation:o="vertical",...c}=e,d=t.default.useRef(null),u=(0,i.useComposedRefs)(d,n),h=H(l),p="ltr"===P(a),x=f(e.onKeyDown,e=>{if(!D.includes(e.key))return;let t=e.target,r=h().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let l=n,s=i-1,a=()=>{(l=n+1)>s&&(l=0)},c=()=>{(l=n-1)<0&&(l=s)};switch(e.key){case"Home":l=0;break;case"End":l=s;break;case"ArrowRight":"horizontal"===o&&(p?a():c());break;case"ArrowDown":"vertical"===o&&a();break;case"ArrowLeft":"horizontal"===o&&(p?c():a());break;case"ArrowUp":"vertical"===o&&c()}let d=l%i;r[d].ref.current?.focus()});return(0,r.jsx)(J,{scope:l,disabled:s,direction:a,orientation:o,children:(0,r.jsx)($.Slot,{scope:l,children:(0,r.jsx)(y.div,{...c,"data-orientation":o,ref:u,onKeyDown:s?void 0:x})})})}),et="AccordionItem",[er,en]=L(et),ei=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,value:i,...l}=e,s=Q(et,n),a=q(et,n),o=W(n),c=w(),d=i&&a.value.includes(i)||!1,u=s.disabled||e.disabled;return(0,r.jsx)(er,{scope:n,open:d,disabled:u,triggerId:c,children:(0,r.jsx)(N,{"data-orientation":s.orientation,"data-state":eu(d),...o,...l,ref:t,disabled:u,open:d,onOpenChange:e=>{e?a.onItemOpen(i):a.onItemClose(i)}})})});ei.displayName=et;var el="AccordionHeader",es=t.default.forwardRef((e,t)=>
1{let{__scopeAccordion:n,...i}=e,l=Q(F,n),s=en(el,n);return(0,r.jsx)(y.h3,{"data-orientation":l.orientation,"data-state":eu(s.open),"data-disabled":s.disabled?"":void 0,...i,ref:t})});es.displayName=el;var ea="AccordionTrigger",eo=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...i}=e,l=Q(F,n),s=en(ea,n),a=Y(ea,n),o=W(n);return(0,r.jsx)($.ItemSlot,{scope:n,children:(0,r.jsx)(I,{"aria-disabled":s.open&&!a.collapsible||void 0,"data-orientation":l.orientation,id:s.triggerId,...o,...i,ref:t})})});eo.displayName=ea;var ec="AccordionContent",ed=t.default.forwardRef((e,t)=>{let{__scopeAccordion:n,...i}=e,l=Q(F,n),s=en(ec,n),a=W(n);return(0,r.jsx)(E,{role:"region","aria-labelledby":s.triggerId,"data-orientation":l.orientation,...a,...i,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function eu(e){return e?"open":"closed"}ed.displayName=ec,e.s(["Content",0,ed,"Header",0,es,"Item",0,ei,"Root",0,B,"Trigger",0,eo],363914)}]);
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.