PageSourceSearch

https://www.sol.dk/_next/static/chunks/3ks4ia75_7l3h.js

js sol.dk collected 2026-10-02 07:19:14 UTC 24,263 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,81140,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function l(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(l(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(l,"isFrame"),e.s(["composeEventHandlers",0,o])},5844,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},75830,30030,e=>{"use strict";var t=e.i(71645),n=e.i(43476),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,r=[]){let s=[];function a(r,i){let l=t.createContext(i);l.displayName=r+"Context";let a=s.length;s=[...s,i];let c=o(r=>{let{scope:o,children:i,...s}=r,c=o?.[e]?.[a]||l,u=t.useMemo(()=>s,Object.values(s));return(0,n.jsx)(c.Provider,{value:u,children:i})},"Provider");function u(n,o,s={}){let{optional:c=!1}=s,f=o?.[e]?.[a]||l,d=t.useContext(f);if(d)return d;if(void 0!==i)return i;if(!c)throw Error(`\`${n}\` must be used within \`${r}\``)}return c.displayName=r+"Provider",o(u,"useContext"),[c,u]}o(a,"createContext");let c=o(()=>{let n=s.map(e=>t.createContext(e));return o(function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return c.scopeName=e,[a,l(c,...r)]}function l(...e){let n=e[0];if(1===e.length)return n;let r=o(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}o(function(e,r){let i=t.createContext(r);i.displayName=e+"Context";let l=o(e=>{let{children:r,...o}=e,l=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(i.Provider,{value:l,children:r})},"Provider");function s(n,o={}){let{optional:l=!1}=o,a=t.useContext(i);if(a)return a;if(void 0!==r)return r;if(!l)throw Error(`\`${n}\` must be used within \`${e}\``)}return l.displayName=e+"Provider",o(s,"useContext"),[l,s]},"createContext"),o(i,"createContextScope"),o(l,"composeContextScopes"),e.s(["createContextScope",0,i],30030);var s=e.i(20783),a=e.i(91918),c=Object.defineProperty,u=(e,t)=>c(e,"name",{value:t,configurable:!0});function f(e){let r=e+"CollectionProvider",[o,l]=i(r),[c,f]=o(r,{collectionRef:{current:null},itemMap:new Map}),d=u(e=>{let{scope:r,children:o}=e,i=t.useRef(null),l=t.useRef(new Map).current;return(0,n.jsx)(c,{scope:r,itemMap:l,collectionRef:i,children:o})},"CollectionProvider");d.displayName=r;let p=e+"CollectionSlot",m=(0,a.createSlot)(p),h=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=f(p,r),l=(0,s.useComposedRefs)(t,i.collectionRef);return(0,n.jsx)(m,{ref:l,children:o})});h.displayName=p;let v=e+"CollectionItemSlot",y="data-radix-collection-item",b=(0,a.createSlot)(v),g=t.forwardRef((e,r)=>{let{scope:o,children:i,...l}=e,a=t.useRef(null),c=(0,s.useComposedRefs)(r,a),u=f(v,o);return t.useEffect(()=>(u.itemMap.set(a,{ref:a,...l}),()=>void u.itemMap.delete(a))),(0,n.jsx)(b,{...{[y]:""},ref:c,children:i})});function C(n){let r=f(e+"CollectionConsumer",n);return t.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(r.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[r.collectionRef,r.itemMap])}return g.displayName=v,u(C,"useCollection"),[{Provider:d,Slot:h,ItemSlot:g},C,l]}u(f,"createCollection");var d=new WeakMap,p=class e extends Map{static{u(this,"OrderedDict")}#e;constructor(e){super(e),this.#e=[...super.keys()],d.set(this,!0)}set(e,t){return d.get(this)&&(this.has(e)?this.#e[this.#e.indexOf(e)]=e:this.#e.push(e)),super.set(e,t),this}insert(e,t,n){let r,o=this.has(t),i=this.#e.length,l=v(e),s=l>=0?l:i+l,a=s<0||s>=i?-1:s;if(a===this.size||o&&a===this.size-1||-1===a)return this.set(t,n),this;let c=this.size+ +!o;l<0&&s++;let u=[...this.#e],f=!1;for(let e=s;e<c;e++)if(s===e){let i=u[e];u[e]===t&&(i=u[e+1]),o&&this.delete(t),r=this.get(i),this.set(t,n)}else{f||u[e-1]!==t||(f=!0);let n=u[f?e:e-1],o=r;r=this.get(n),this.delete(n),this.set(n,o)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=this.#e.indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r,t,n)}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,n){let r=this.#e.indexOf(e);return -1===r?this:this.insert(r+1,t,n)}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=m(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=m(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return m(this.#e,e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}
1}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(...e){let[t,n]=e,r=0,o=n??this.at(0);for(let n of this)o=0===r&&1===e.length?n:Reflect.apply(t,this,[o,n,r,this]),r++;return o}reduceRight(...e){let[t,n]=e,r=n??this.at(-1);for(let n=this.size-1;n>=0;n--){let o=this.at(n);r=n===this.size-1&&1===e.length?o:Reflect.apply(t,this,[r,o,n,this])}return r}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(...t){let n=[...this.entries()];return n.splice(...t),new e(n)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}};function m(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=h(e,t);return -1===n?void 0:e[n]}function h(e,t){let n=e.length,r=v(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}function v(e){return e!=e||0===e?0:Math.trunc(e)}function y(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function b(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function g(e,t){return e[1].element&&t[1].element?b(e[1].element,t[1].element)?-1:1:0}function C(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type)return void e()})}u(m,"at"),u(h,"toSafeIndex"),u(v,"toSafeInteger"),u(function(e){let r=e+"CollectionProvider",[o,l]=i(r),[c,f]=o(r,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new p,setItemMap:u(()=>void 0,"setItemMap")}),d=u(({state:e,...t})=>e?(0,n.jsx)(h,{...t,state:e}):(0,n.jsx)(m,{...t}),"CollectionProvider");d.displayName=r;let m=u(e=>{let t=E();return(0,n.jsx)(h,{...e,state:t})},"CollectionInit");m.displayName=r+"Init";let h=u(e=>{let{scope:r,children:o,state:i}=e,l=t.useRef(null),[a,u]=t.useState(null),f=(0,s.useComposedRefs)(l,u),[d,p]=i;return t.useEffect(()=>{if(!a)return;let e=C(()=>{});return e.observe(a,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[a]),(0,n.jsx)(c,{scope:r,itemMap:d,setItemMap:p,collectionRef:f,collectionRefObject:l,collectionElement:a,children:o})},"CollectionProviderImpl");h.displayName=r+"Impl";let v=e+"CollectionSlot",b=(0,a.createSlot)(v),w=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=f(v,r),l=(0,s.useComposedRefs)(t,i.collectionRef);return(0,n.jsx)(b,{ref:l,children:o})});w.displayName=v;let x=e+"CollectionItemSlot",R=(0,a.createSlot)(x),S=t.forwardRef((e,r)=>{let{scope:o,children:i,...l}=e,a=t.useRef(null),[c,u]=t.useState(null),d=(0,s.useComposedRefs)(r,a,u),{setItemMap:m}=f(x,o),h=t.useRef(l);y(h.current,l)||(h.current=l);let v=h.current;return t.useEffect(()=>(m(e=>c?e.has(c)?e.set(c,{...v,element:c}).toSorted(g):(e.set(c,{...v,element:c}),e.toSorted(g)):e),()=>{m(e=>c&&e.has(c)?(e.delete(c),new p(e)):e)}),[c,v,m]),(0,n.jsx)(R,{"data-radix-collection-item":"",ref:d,children:i})});function E(){return t.useState(new p)}function N(t){let{itemMap:n}=f(e+"CollectionConsumer",t);return n}return S.displayName=x,u(E,"useInitCollection"),u(N,"useCollection"),[{Provider:d,Slot:w,ItemSlot:S},{createCollectionScope:l,useCollection:N,useInitCollection:E}]},"createCollection"),u(y,"shallowEqual"),u(b,"isElementPreceding"),u(g,"sortByDocumentPosition"),u(C,"getChildListObserver"),e.s(["createCollection",0,f],75830)},86318,e=>{"use strict";var t=e.i(71645),n=(e.i(43476),Object.defineProperty),r=t.createContext(void 0);function o(e){let n=t.useContext(r);return e||n||"ltr"}n(o,"name",{value:"useDirection",configurable:!0}
1),e.s(["useDirection",0,o])},10772,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function l(e){let[r,l]=t.useState(o());return(0,n.useLayoutEffect)(()=>{e||l(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(l,"name",{value:"useId",configurable:!0}),e.s(["useId",0,l])},96626,e=>{"use strict";var t=e.i(71645),n=e.i(34620),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}o(i,"useStateMachine");var l=o(e=>{let{present:n,children:r}=e,o=s(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),l=c(o.ref,f(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:l}):null},"Presence");function s(e){let[r,l]=t.useState(),s=t.useRef(null),a=t.useRef(e),c=t.useRef("none"),f=t.useRef(void 0),[d,p]=i(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(c.current=f.current??u(s.current),f.current=void 0):c.current="none"},[d]),(0,n.useLayoutEffect)(()=>{let t=s.current,n=a.current;if(n!==e){let r=c.current,o=u(t);e?(f.current=o,p("MOUNT")):"none"===o||t?.display==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),a.current=e}},[e,p]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=o(n=>{let o=u(s.current).includes(CSS.escape(n.animationName));if(n.target===r&&o&&(p("ANIMATION_END"),!a.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),i=o(e=>{e.target===r&&(c.current=u(s.current))},"handleAnimationStart");return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}p("ANIMATION_END")},[r,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,f.current=u(t)}else s.current=null;l(e)},[])}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=a(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():a(t[e],null)}}},[])}function u(e){return e?.animationName||"none"}function f(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}o(s,"usePresence"),o(a,"setRef"),o(c,"useStableComposedRefs"),o(u,"getAnimationName"),o(f,"getElementRef"),e.s(["Presence",0,l])},48425,e=>{"use strict";var t=e.i(71645),n=e.i(74080),r=e.i(91918),o=e.i(43476),i=Object.defineProperty,l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),l=t.forwardRef((e,t)=>{let{asChild:r,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...l,ref:t})});return l.displayName=`Primitive.${n}`,{...e,[n]:l}},{});function s(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}i(s,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,l,"dispatchDiscreteCustomEvent",0,s])},69340,e=>{"use strict";var t=e.i(71645),n=e.i(5844),r=e.i(34620),o=Object.defineProperty,i=t[" useEffectEvent ".trim().toString()],l=t[" useInsertionEffect ".trim().toString()];function s(e){if("function"==typeof i)return i(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof l?l(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}o(s,"name",{value:"useEffectEvent",configurable:!0});var a=Object.defineProperty,c=(e,t)=>a(e,"name",{value:t,configurable:!0}),u=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function f({prop:e,defaultProp:r,onChange:o=c(()=>{},"onChange"),caller:i}){let[l,s,a]=d({defaultProp:r,onChange:o}),u=void 0!==e,m=u?e:l;if(n.IS_DEVELOPMENT){let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==u){let t=u?"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.`)}n.current=u},[u,i])}return[m,t.useCallback(t=>{if(u){let n=p(t)?t(e):t;n!==e&&a.current?.(n)}else s(t)},[u,e,s,a])]}function d({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),l=t.useRef(n);return u(()=>{l.current=n},[n]),t.useEffect(()=>{i.current!==r&&(l.current?.(r),i.current=r)},[r,i]),[r,o,l]}function p(e){return"function"==typeof e}c(f,"useControllableState"),c(d,"useUncontrolledState"),c(p,"isFunction");var m=Symbol("RADIX:SYNC_STATE");c(function(e,r,o,i){let{prop:l,defaultProp:a,onChange:c,caller:u}=r,f=void 0!==l,d=s(c);if(n.IS_DEVELOPMENT){let e=t.useRef(void 0!==l);t.useEffect(()=>{let t=e.current;if(t!==f){let e=f?"controlled":"uncontrolled";console.warn(`${u} is changing from ${t?"controlled":"uncontrolled"} to ${e}. 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.`)}e.current=f},[f,u])}let p=[{...o,state:a}];i&&p.push(i);let[h,v]=t.useReducer((t,n)=>{if(n.type===m)return{...t,state:n.state};let r=e(t,n);return f&&!Object.is(r.state,t.state)&&d(r.state),r},...p),y=h.state,b=t.useRef(y);t.useEffect(()=>{b.current!==y&&(b.current=y,f||d(y))},[y,b,f]);let g=t.useMemo(()=>void 0!==l?{...h,state:l}:h,[h,l]);return t.useEffect(()=>{f&&!Object.is(l,h.state)&&v({type:m,state:l})},[l,h.state,f]),[g,v]},"useControllableStateReducer"),e.s(["useControllableState",0,f],69340)},34620,e=>{"use strict";var t=e.i(71645),n=globalThis?.document?t.useLayoutEffect:()=>{};
1e.s(["useLayoutEffect",0,n])},16327,e=>{"use strict";var t=e.i(56420);let n={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};n.node;let r=(0,t.default)(n);e.s(["ChevronDown",0,r],16327)},73443,e=>{"use strict";var t=e.i(43476),n=e.i(71645),r=e.i(30030),o=e.i(75830),i=e.i(20783),l=e.i(81140),s=e.i(69340),a=e.i(48425),c=e.i(34620),u=e.i(96626),f=e.i(10772),d=Object.defineProperty,p=(e,t)=>d(e,"name",{value:t,configurable:!0}),m="Collapsible",[h,v]=(0,r.createContextScope)(m),[y,b]=h(m),g=n.forwardRef(p(function(e,r){let{__scopeCollapsible:o,open:i,defaultOpen:l,disabled:c,onOpenChange:u,...d}=e,[p,h]=(0,s.useControllableState)({prop:i,defaultProp:l??!1,onChange:u,caller:m});return(0,t.jsx)(y,{scope:o,disabled:c,contentId:(0,f.useId)(),open:p,onOpenToggle:n.useCallback(()=>h(e=>!e),[h]),children:(0,t.jsx)(a.Primitive.div,{"data-state":S(p),"data-disabled":c?"":void 0,...d,ref:r})})},"Collapsible")),C=n.forwardRef(p(function(e,n){let{__scopeCollapsible:r,...o}=e,i=b("CollapsibleTrigger",r);return(0,t.jsx)(a.Primitive.button,{type:"button","aria-controls":i.open?i.contentId:void 0,"aria-expanded":i.open||!1,"data-state":S(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...o,ref:n,onClick:(0,l.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"CollapsibleTrigger")),w="CollapsibleContent",x=n.forwardRef(p(function(e,n){let{forceMount:r,...o}=e,i=b(w,e.__scopeCollapsible);return(0,t.jsx)(u.Presence,{present:r||i.open,children:({present:e})=>(0,t.jsx)(R,{...o,ref:n,present:e})})},"CollapsibleContent")),R=n.forwardRef(p(function(e,r){let{__scopeCollapsible:o,present:l,children:s,...u}=e,f=b(w,o),[d,p]=n.useState(l),m=n.useRef(null),h=(0,i.useComposedRefs)(r,m),v=n.useRef(0),y=v.current,g=n.useRef(0),C=g.current,x=f.open||d,R=n.useRef(x),E=n.useRef(void 0);return n.useEffect(()=>{let e=requestAnimationFrame(()=>R.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,c.useLayoutEffect)(()=>{let e=m.current;if(e){E.current=E.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,g.current=t.width,R.current||(e.style.transitionDuration=E.current.transitionDuration,e.style.animationName=E.current.animationName),p(l)}},[f.open,l]),(0,t.jsx)(a.Primitive.div,{"data-state":S(f.open),"data-disabled":f.disabled?"":void 0,id:f.contentId,hidden:!x,...u,ref:h,style:{"--radix-collapsible-content-height":y?`${y}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:x&&s})},"CollapsibleContentImpl"));function S(e){return e?"open":"closed"}p(S,"getState");var E=e.i(86318),N=Object.defineProperty,O=(e,t)=>N(e,"name",{value:t,configurable:!0}),A="Accordion",j=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[I,P,k]=(0,o.createCollection)(A),[M,D]=(0,r.createContextScope)(A,[k,v]),T=v(),_=n.forwardRef(O(function(e,n){let{type:r,...o}=e;return(0,t.jsx)(I.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,t.jsx)(H,{...o,ref:n}):(0,t.jsx)(F,{...o,ref:n})})},"Accordion")),[L,$]=M(A),[U,z]=M(A,{collapsible:!1}),F=n.forwardRef(O(function(e,r){let{value:o,defaultValue:i,onValueChange:l=O(()=>{},"onValueChange"),collapsible:a=!1,...c}=e,[u,f]=(0,s.useControllableState)({prop:o,defaultProp:i??"",onChange:l,caller:A});return(0,t.jsx)(L,{scope:e.__scopeAccordion,value:n.useMemo(()=>u?[u]:[],[u]),onItemOpen:f,onItemClose:n.useCallback(()=>a&&f(""),[a,f]),children:(0,t.jsx)(U,{scope:e.__scopeAccordion,collapsible:a,children:(0,t.jsx)(W,{...c,ref:r})})})},"AccordionImplSingle")),H=n.forwardRef(O(function(e,r){let{value:o,defaultValue:i,onValueChange:l=O(()=>{},"onValueChange"),...a}=e,[c,u]=(0,s.useControllableState)({prop:o,defaultProp:i??[],onChange:l,caller:A}),f=n.useCallback(e=>u((t=[])=>[...t,e]),[u]),d=n.useCallback(e=>u((t=[])=>t.filter(t=>t!==e)),[u]);return(0,t.jsx)(L,{scope:e.__scopeAccordion,value:c,onItemOpen:f,onItemClose:d,children:(0,t.jsx)(U,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(W,{...a,ref:r})})})},"AccordionImplMultiple")),[V,B]=M(A),W=n.forwardRef(O(function(e,r){let{__scopeAccordion:o,disabled:s,dir:c,orientation:u="vertical",...f}=e,d=n.useRef(null),p=(0,i.useComposedRefs)(d,r),m=P(o),h="ltr"===(0,E.useDirection)(c),v=(0,l.composeEventHandlers)(e.onKeyDown,e=>
1{if(!j.includes(e.key))return;let t=e.target,n=m().filter(e=>!e.ref.current?.disabled),r=n.findIndex(e=>e.ref.current===t),o=n.length;if(-1===r)return;e.preventDefault();let i=r,l=o-1,s=O(()=>{(i=r+1)>l&&(i=0)},"moveNext"),a=O(()=>{(i=r-1)<0&&(i=l)},"movePrev");switch(e.key){case"Home":i=0;break;case"End":i=l;break;case"ArrowRight":"horizontal"===u&&(h?s():a());break;case"ArrowDown":"vertical"===u&&s();break;case"ArrowLeft":"horizontal"===u&&(h?a():s());break;case"ArrowUp":"vertical"===u&&a()}let c=i%o;n[c].ref.current?.focus()});return(0,t.jsx)(V,{scope:o,disabled:s,direction:c,orientation:u,children:(0,t.jsx)(I.Slot,{scope:o,children:(0,t.jsx)(a.Primitive.div,{...f,"data-orientation":u,ref:p,onKeyDown:s?void 0:v})})})},"AccordionImpl")),q="AccordionItem",[K,G]=M(q),X=n.forwardRef(O(function(e,n){let{__scopeAccordion:r,value:o,...i}=e,l=B(q,r),s=$(q,r),a=T(r),c=(0,f.useId)(),u=o&&s.value.includes(o)||!1,d=l.disabled||e.disabled;return(0,t.jsx)(K,{scope:r,open:u,disabled:d,triggerId:c,children:(0,t.jsx)(g,{"data-orientation":l.orientation,"data-state":ee(u),...a,...i,ref:n,disabled:d,open:u,onOpenChange:e=>{e?s.onItemOpen(o):s.onItemClose(o)}})})},"AccordionItem")),Y=n.forwardRef(O(function(e,n){let{__scopeAccordion:r,...o}=e,i=B(A,r),l=G("AccordionHeader",r);return(0,t.jsx)(a.Primitive.h3,{"data-orientation":i.orientation,"data-state":ee(l.open),"data-disabled":l.disabled?"":void 0,...o,ref:n})},"AccordionHeader")),J="AccordionTrigger",Q=n.forwardRef(O(function(e,n){let{__scopeAccordion:r,...o}=e,i=B(A,r),l=G(J,r),s=z(J,r),a=T(r);return(0,t.jsx)(I.ItemSlot,{scope:r,children:(0,t.jsx)(C,{"aria-disabled":l.open&&!s.collapsible||void 0,"data-orientation":i.orientation,id:l.triggerId,...a,...o,ref:n})})},"AccordionTrigger")),Z=n.forwardRef(O(function(e,n){let{__scopeAccordion:r,...o}=e,i=B(A,r),l=G("AccordionContent",r),s=T(r);return(0,t.jsx)(x,{role:"region","aria-labelledby":l.triggerId,"data-orientation":i.orientation,...s,...o,ref:n,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})},"AccordionContent"));function ee(e){return e?"open":"closed"}O(ee,"getState");var et=e.i(16327),en=e.i(73240);let er=n.forwardRef(({className:e,...n},r)=>(0,t.jsx)(X,{ref:r,className:(0,en.cn)("border-b",e),...n}));er.displayName="AccordionItem";let eo=n.forwardRef(({className:e,children:n,...r},o)=>(0,t.jsx)(Y,{className:"flex",children:(0,t.jsxs)(Q,{ref:o,className:(0,en.cn)("flex flex-1 items-center justify-between py-4 font-medium transition-all hover:underline [&[data-state=open]>svg]:rotate-180",e),...r,children:[n,(0,t.jsx)(et.ChevronDown,{className:"h-4 w-4 shrink-0 transition-transform duration-200"})]})}));eo.displayName=Q.displayName;let ei=n.forwardRef(({className:e,children:n,...r},o)=>(0,t.jsx)(Z,{ref:o,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all",...r,children:(0,t.jsx)("div",{className:(0,en.cn)("pt-0 pb-4",e),children:n})}));ei.displayName=Z.displayName,e.s(["Accordion",0,_,"AccordionContent",0,ei,"AccordionItem",0,er,"AccordionTrigger",0,eo],73443)}]);

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.