PageSourceSearch

https://app.claron.dev/_next/static/chunks/f1ccc9049dde22dc.js

js claron.dev collected 2026-10-02 01:53:27 UTC 24,503 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,296626,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(e,r){return t.useReducer((e,t)=>r[e][t]??e,e)}o(i,"useStateMachine");var l=o(e=>{let{present:r,children:n}=e,o=s(r),i="function"==typeof n?n({present:o.isPresent}):t.Children.only(n),l=c(o.ref,f(i));return"function"==typeof n||o.isPresent?t.cloneElement(i,{ref:l}):null},"Presence");function s(e){let[n,l]=t.useState(),s=t.useRef(null),u=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??a(s.current),f.current=void 0):c.current="none"},[d]),(0,r.useLayoutEffect)(()=>{let t=s.current,r=u.current;if(r!==e){let n=c.current,o=a(t);e?(f.current=o,p("MOUNT")):"none"===o||t?.display==="none"?p("UNMOUNT"):r&&n!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,r.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=o(r=>{let o=a(s.current).includes(CSS.escape(r.animationName));if(r.target===n&&o&&(p("ANIMATION_END"),!u.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},"handleAnimationEnd"),i=o(e=>{e.target===n&&(c.current=a(s.current))},"handleAnimationStart");return n.addEventListener("animationstart",i),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",i),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,f.current=a(t)}else s.current=null;l(e)},[])}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){let r=t.useRef(e);return r.current=e,t.useCallback(e=>{let t=r.current,n=!1,o=t.map(t=>{let r=u(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<o.length;e++){let r=o[e];"function"==typeof r?r():u(t[e],null)}}},[])}function a(e){return e?.animationName||"none"}function f(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}o(s,"usePresence"),o(u,"setRef"),o(c,"useStableComposedRefs"),o(a,"getAnimationName"),o(f,"getElementRef"),e.s(["Presence",()=>l])},248425,820783,991918,e=>{"use strict";var t=e.i(271645),r=e.i(174080),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(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=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 s(...e){return t.useCallback(l(...e),e)}o(i,"setRef"),o(l,"composeRefs"),o(s,"useComposedRefs"),e.s(["composeRefs",()=>l,"useComposedRefs",()=>s],820783);var u=Object.defineProperty,c=(e,t)=>u(e,"name",{value:t,configurable:!0});function a(e){let r=t.forwardRef((r,n)=>{let{children:o,...i}=r,l=null,u=!1,c=[];g(o)&&"function"==typeof S&&(o=S(o._payload)),t.Children.forEach(o,e=>{if(y(e)){u=!0;let t="child"in e.props?e.props.child:e.props.children;g(t)&&"function"==typeof S&&(t=S(t._payload)),l=p(e,t),c.push(l?.props?.children)}else c.push(e)}),l?l=t.cloneElement(l,void 0,c):!u&&1===t.Children.count(o)&&t.isValidElement(o)&&(l=o);let a=l?h(l):void 0,f=s(n,a);if(!l){if(o||0===o)throw Error(u?R(e):E(e));return o}let d=m(i,l.props??{});return l.type!==t.Fragment&&(d.ref=n?f:a),t.cloneElement(l,d)});return r.displayName=`${e}.Slot`,r}c(a,"createSlot");var f=Symbol.for("radix.slottable");function d(e){let t=c(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=f,t}c(d,"createSlottable");var p=c((e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},"getSlottableElementFromSlottable");function m(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}
1:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function h(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(r=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function y(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===f}c(m,"mergeProps"),c(h,"getElementRef"),c(y,"isSlottable");var v=Symbol.for("react.lazy");function g(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===v&&"_payload"in e&&b(e._payload)}function b(e){return"object"==typeof e&&null!==e&&"then"in e}c(g,"isLazyComponent"),c(b,"isPromiseLike");var E=c(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),R=c(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),S=t[" use ".trim().toString()];e.s(["createSlot",()=>a,"createSlottable",()=>d],991918);var w=e.i(843476),C=Object.defineProperty,O=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=a(`Primitive.${r}`),o=t.forwardRef((e,t)=>{let{asChild:o,...i}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,w.jsx)(o?n:r,{...i,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function x(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}C(x,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",()=>O,"dispatchDiscreteCustomEvent",()=>x],248425)},30030,e=>{"use strict";var t=e.i(271645),r=e.i(843476),n=Object.defineProperty,o=(e,t)=>n(e,"name",{value:t,configurable:!0});function i(e,n=[]){let s=[];function u(n,i){let l=t.createContext(i);l.displayName=n+"Context";let u=s.length;s=[...s,i];let c=o(n=>{let{scope:o,children:i,...s}=n,c=o?.[e]?.[u]||l,a=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(c.Provider,{value:a,children:i})},"Provider");function a(r,o,s={}){let{optional:c=!1}=s,f=o?.[e]?.[u]||l,d=t.useContext(f);if(d)return d;if(void 0!==i)return i;if(!c)throw Error(`\`${r}\` must be used within \`${n}\``)}return c.displayName=n+"Provider",o(a,"useContext"),[c,a]}o(u,"createContext");let c=o(()=>{let r=s.map(e=>t.createContext(e));return o(function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])},"useScope")},"createScope");return c.scopeName=e,[u,l(c,...n)]}function l(...e){let r=e[0];if(1===e.length)return r;let n=o(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return n.scopeName=r.scopeName,n}o(function(e,n){let i=t.createContext(n);i.displayName=e+"Context";let l=o(e=>{let{children:n,...o}=e,l=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(i.Provider,{value:l,children:n})},"Provider");function s(r,o={}){let{optional:l=!1}=o,u=t.useContext(i);if(u)return u;if(void 0!==n)return n;if(!l)throw Error(`\`${r}\` 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",()=>i])},934620,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>r])},705844,e=>{"use strict";e.s(["IS_DEVELOPMENT",()=>!1])},30207,e=>{"use strict";var t=e.i(271645);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}(0,Object.defineProperty)(r,"name",{value:"useCallbackRef",configurable:!0}),e.s(["useCallbackRef",()=>r])},981140,369340,e=>{"use strict";var t=Object.defineProperty,r=(e,r)=>t(e,"name",{value:r,configurable:!0}),n=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:n=!0}={}){return r(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function i(e){if(!n)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function l(e){return"IFRAME"===e.tagName}r(o,"composeEventHandlers"),r(function(e){if(!n)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),r(i,"getOwnerDocument"),r(function e(t,r=!1){let{activeElement:n}=i(t);if(!n?.nodeName)return null;if(l(n)&&n.contentDocument)return e(n.contentDocument.body,r);if(r){let e=n.getAttribute("aria-activedescendant");if(e){let t=i(n).getElementById(e);if(t)return t}}return n},"getActiveElement"),r(l,"isFrame"),e.s(["composeEventHandlers",()=>o],981140);var s=e.i(271645),u=e.i(705844),c=e.i(934620),a=Object.defineProperty,f=s[" useEffectEvent ".trim().toString()],d=s[" useInsertionEffect ".trim().toString()];function p(e){if("function"==typeof f)return f(e);let t=s.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof d?d(()=>{t.current=e}):(0,c.useLayoutEffect)(()=>{t.current=e}),s.useMemo(()=>(...e)=>t.current?.(...e),[])}a(p,"name",{value:"useEffectEvent",configurable:!0});var m=Object.defineProperty,h=(e,t)=>m(e,"name",{value:t,configurable:!0}),y=s[" useInsertionEffect ".trim().toString()]||c.useLayoutEffect;function v({prop:e,defaultProp:t,onChange:r=h(()=>{},"onChange"),caller:n}){let[o,i,l]=g({defaultProp:t,onChange:r}),c=void 0!==e,a=c?e:o;if(u.IS_DEVELOPMENT){let t=s.useRef(void 0!==e);s.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${n} 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=c},[c,n])}return[a,s.useCallback(t=>
1{if(c){let r=b(t)?t(e):t;r!==e&&l.current?.(r)}else i(t)},[c,e,i,l])]}function g({defaultProp:e,onChange:t}){let[r,n]=s.useState(e),o=s.useRef(r),i=s.useRef(t);return y(()=>{i.current=t},[t]),s.useEffect(()=>{o.current!==r&&(i.current?.(r),o.current=r)},[r,o]),[r,n,i]}function b(e){return"function"==typeof e}h(v,"useControllableState"),h(g,"useUncontrolledState"),h(b,"isFunction");var E=Symbol("RADIX:SYNC_STATE");h(function(e,t,r,n){let{prop:o,defaultProp:i,onChange:l,caller:c}=t,a=void 0!==o,f=p(l);if(u.IS_DEVELOPMENT){let e=s.useRef(void 0!==o);s.useEffect(()=>{let t=e.current;if(t!==a){let e=a?"controlled":"uncontrolled";console.warn(`${c} 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=a},[a,c])}let d=[{...r,state:i}];n&&d.push(n);let[m,h]=s.useReducer((t,r)=>{if(r.type===E)return{...t,state:r.state};let n=e(t,r);return a&&!Object.is(n.state,t.state)&&f(n.state),n},...d),y=m.state,v=s.useRef(y);s.useEffect(()=>{v.current!==y&&(v.current=y,a||f(y))},[y,v,a]);let g=s.useMemo(()=>void 0!==o?{...m,state:o}:m,[m,o]);return s.useEffect(()=>{a&&!Object.is(o,m.state)&&h({type:E,state:o})},[o,m.state,a]),[g,h]},"useControllableStateReducer"),e.s(["useControllableState",()=>v],369340)},610772,e=>{"use strict";var t=e.i(271645),r=e.i(934620),n=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function l(e){let[n,l]=t.useState(o());return(0,r.useLayoutEffect)(()=>{e||l(e=>e??String(i++))},[e]),e||(n?`radix-${n}`:"")}n(l,"name",{value:"useId",configurable:!0}),e.s(["useId",()=>l])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),o=e.i(991918),i=e.i(843476),l=Object.defineProperty,s=(e,t)=>l(e,"name",{value:t,configurable:!0});function u(e){let l=e+"CollectionProvider",[u,c]=(0,r.createContextScope)(l),[a,f]=u(l,{collectionRef:{current:null},itemMap:new Map}),d=s(e=>{let{scope:r,children:n}=e,o=t.useRef(null),l=t.useRef(new Map).current;return(0,i.jsx)(a,{scope:r,itemMap:l,collectionRef:o,children:n})},"CollectionProvider");d.displayName=l;let p=e+"CollectionSlot",m=(0,o.createSlot)(p),h=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,l=f(p,r),s=(0,n.useComposedRefs)(t,l.collectionRef);return(0,i.jsx)(m,{ref:s,children:o})});h.displayName=p;let y=e+"CollectionItemSlot",v="data-radix-collection-item",g=(0,o.createSlot)(y),b=t.forwardRef((e,r)=>{let{scope:o,children:l,...s}=e,u=t.useRef(null),c=(0,n.useComposedRefs)(r,u),a=f(y,o);return t.useEffect(()=>(a.itemMap.set(u,{ref:u,...s}),()=>void a.itemMap.delete(u))),(0,i.jsx)(g,{...{[v]:""},ref:c,children:l})});function E(r){let n=f(e+"CollectionConsumer",r);return t.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${v}]`));return Array.from(n.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[n.collectionRef,n.itemMap])}return b.displayName=y,s(E,"useCollection"),[{Provider:d,Slot:h,ItemSlot:b},E,c]}s(u,"createCollection");var c=new WeakMap,a=class e extends Map{static{s(this,"OrderedDict")}#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,o=this.has(t),i=this.#e.length,l=p(e),s=l>=0?l:i+l,u=s<0||s>=i?-1:s;if(u===this.size||o&&u===this.size-1||-1===u)return this.set(t,r),this;let c=this.size+ +!o;l<0&&s++;let a=[...this.#e],f=!1;for(let e=s;e<c;e++)if(s===e){let i=a[e];a[e]===t&&(i=a[e+1]),o&&this.delete(t),n=this.get(i),this.set(t,r)}else{f||a[e-1]!==t||(f=!0);let r=a[f?e:e-1],o=n;n=this.get(r),this.delete(r),this.set(r,o)}return this}with(t,r,n){let o=new e(this);return o.insert(t,r,n),o}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=f(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=f(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return f(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=[],o=0;for(let e of this)Reflect.apply(t,r,[e,o,this])&&n.push(e),o++;return new e(n)}map(t,r){let n=[],o=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,o,this])]),o++;return new e(n)}reduce(...e){let[t,r]=e,n=0,o=r??this.at(0);for(let r of this)o=0===n&&1===e.length?r:Reflect.apply(t,this,[o,r,n,this]),n++;return o}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let o=this.at(r);n=r===this.size-1&&1===e.length?o:Reflect.apply(t,this,[n,o,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,o=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(o=r-1);for(let e=t;e<=o;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}};function f(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=d(e,t);return -1===r?void 0:e[r]}function d(e,t){let r=e.length,n=p(t),o=n>=0?n:r+n;return o<0||o>=r?-1:o}function p(e){return e!=e||0===e?0:Math.trunc(e)}function m(e,t){if(e===t)return!0;
1if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let n of r)if(!Object.prototype.hasOwnProperty.call(t,n)||e[n]!==t[n])return!1;return!0}function h(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function y(e,t){return e[1].element&&t[1].element?h(e[1].element,t[1].element)?-1:1:0}function v(e){return new MutationObserver(t=>{for(let r of t)if("childList"===r.type)return void e()})}s(f,"at"),s(d,"toSafeIndex"),s(p,"toSafeInteger"),s(function(e){let l=e+"CollectionProvider",[u,c]=(0,r.createContextScope)(l),[f,d]=u(l,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new a,setItemMap:s(()=>void 0,"setItemMap")}),p=s(({state:e,...t})=>e?(0,i.jsx)(g,{...t,state:e}):(0,i.jsx)(h,{...t}),"CollectionProvider");p.displayName=l;let h=s(e=>{let t=O();return(0,i.jsx)(g,{...e,state:t})},"CollectionInit");h.displayName=l+"Init";let g=s(e=>{let{scope:r,children:o,state:l}=e,s=t.useRef(null),[u,c]=t.useState(null),a=(0,n.useComposedRefs)(s,c),[d,p]=l;return t.useEffect(()=>{if(!u)return;let e=v(()=>{});return e.observe(u,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[u]),(0,i.jsx)(f,{scope:r,itemMap:d,setItemMap:p,collectionRef:a,collectionRefObject:s,collectionElement:u,children:o})},"CollectionProviderImpl");g.displayName=l+"Impl";let b=e+"CollectionSlot",E=(0,o.createSlot)(b),R=t.forwardRef((e,t)=>{let{scope:r,children:o}=e,l=d(b,r),s=(0,n.useComposedRefs)(t,l.collectionRef);return(0,i.jsx)(E,{ref:s,children:o})});R.displayName=b;let S=e+"CollectionItemSlot",w=(0,o.createSlot)(S),C=t.forwardRef((e,r)=>{let{scope:o,children:l,...s}=e,u=t.useRef(null),[c,f]=t.useState(null),p=(0,n.useComposedRefs)(r,u,f),{setItemMap:h}=d(S,o),v=t.useRef(s);m(v.current,s)||(v.current=s);let g=v.current;return t.useEffect(()=>(h(e=>c?e.has(c)?e.set(c,{...g,element:c}).toSorted(y):(e.set(c,{...g,element:c}),e.toSorted(y)):e),()=>{h(e=>c&&e.has(c)?(e.delete(c),new a(e)):e)}),[c,g,h]),(0,i.jsx)(w,{"data-radix-collection-item":"",ref:p,children:l})});function O(){return t.useState(new a)}function x(t){let{itemMap:r}=d(e+"CollectionConsumer",t);return r}return C.displayName=S,s(O,"useInitCollection"),s(x,"useCollection"),[{Provider:p,Slot:R,ItemSlot:C},{createCollectionScope:c,useCollection:x,useInitCollection:O}]},"createCollection"),s(m,"shallowEqual"),s(h,"isElementPreceding"),s(y,"sortByDocumentPosition"),s(v,"getChildListObserver"),e.s(["createCollection",()=>u])},586318,e=>{"use strict";var t=e.i(271645),r=(e.i(843476),Object.defineProperty),n=t.createContext(void 0);function o(e){let r=t.useContext(n);return e||r||"ltr"}r(o,"name",{value:"useDirection",configurable:!0}),e.s(["useDirection",()=>o])},842727,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(75830),o=e.i(820783),i=e.i(30030),l=e.i(610772),s=e.i(248425),u=e.i(30207),c=e.i(369340),a=e.i(586318),f=e.i(934620),d=Object.defineProperty,p=(e,t)=>d(e,"name",{value:t,configurable:!0}),m=!1;function h(){let[e,r]=t.useState(m);return t.useEffect(()=>{m||(m=!0,r(!0))},[]),e}p(h,"useIsHydrated");var y=t[" useSyncExternalStore ".trim().toString()];function v(){return()=>{}}function g(){return y(v,()=>!0,()=>!1)}p(v,"subscribe"),p(g,"useIsHydratedModern");var b="function"==typeof y?g:h,E=e.i(843476),R=Object.defineProperty,S=(e,t)=>R(e,"name",{value:t,configurable:!0}),w="rovingFocusGroup.onEntryFocus",C={bubbles:!1,cancelable:!0},O="RovingFocusGroup",[x,I,P]=(0,n.createCollection)(O),[N,A]=(0,i.createContextScope)(O,[P]),[j,M]=N(O),k=t.forwardRef(S(function(e,t){return(0,E.jsx)(x.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,E.jsx)(x.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,E.jsx)(D,{...e,ref:t})})})},"RovingFocusGroup")),D=t.forwardRef(S(function(e,n){let{__scopeRovingFocusGroup:i,orientation:l,loop:f=!1,dir:d,currentTabStopId:p,defaultCurrentTabStopId:m,onCurrentTabStopIdChange:h,onEntryFocus:y,preventScrollOnEntryFocus:v=!1,...g}=e,b=t.useRef(null),R=(0,o.useComposedRefs)(n,b),S=(0,a.useDirection)(d),[x,P]=(0,c.useControllableState)({prop:p,defaultProp:m??null,onChange:h,caller:O}),[N,A]=t.useState(!1),M=(0,u.useCallbackRef)(y),k=I(i),D=t.useRef(!1),[T,F]=t.useState(0);return t.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(w,M),()=>e.removeEventListener(w,M)},[M]),(0,E.jsx)(j,{scope:i,orientation:l,dir:S,loop:f,currentTabStopId:x,onItemFocus:t.useCallback(e=>P(e),[P]),onItemShiftTab:t.useCallback(()=>A(!0),[]),onFocusableItemAdd:t.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>F(e=>e-1),[]),children:(0,E.jsx)(s.Primitive.div,{tabIndex:N||0===T?-1:0,"data-orientation":l,...g,ref:R,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!N){let t=new CustomEvent(w,C);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>
1e.focusable);$([e.find(e=>e.active),e.find(e=>e.id===x),...e].filter(Boolean).map(e=>e.ref.current),v)}}D.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>A(!1))})})},"RovingFocusGroupImpl")),T=t.forwardRef(S(function(e,n){let{__scopeRovingFocusGroup:o,focusable:i=!0,active:u=!1,tabStopId:c,children:a,...d}=e,p=(0,l.useId)(),m=c||p,h=M("RovingFocusGroupItem",o),y=h.currentTabStopId===m,v=I(o),{onFocusableItemAdd:g,onFocusableItemRemove:R,currentTabStopId:S}=h,w=b();return(0,f.useLayoutEffect)(()=>{if(w&&i)return g(),()=>R()},[w,i,g,R]),t.useEffect(()=>{if(!w&&i)return g(),()=>R()},[w,i,g,R]),(0,E.jsx)(x.ItemSlot,{scope:o,id:m,focusable:i,active:u,children:(0,E.jsx)(s.Primitive.span,{tabIndex:y?0:-1,"data-orientation":h.orientation,...d,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{i?h.onItemFocus(m):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>h.onItemFocus(m)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=L(e,h.orientation,h.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=h.loop?U(r,n+1):r.slice(n+1)}setTimeout(()=>$(r))}}),children:"function"==typeof a?a({isCurrentTabStop:y,hasTabStop:null!=S}):a})})},"RovingFocusGroupItem")),F={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function _(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function L(e,t,r){let n=_(e.key,r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(n))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(n)))return F[n]}function $(e,t=!1){let r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function U(e,t){return e.map((r,n)=>e[(t+n)%e.length])}S(_,"getDirectionAwareKey"),S(L,"getFocusIntent"),S($,"focusFirst"),S(U,"wrapArray"),e.s(["Item",()=>T,"Root",()=>k,"createRovingFocusGroupScope",()=>A],842727)}]);

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.