PageSourceSearch

https://www.brightcap.vc/_next/static/chunks/d6c0bb33a7c2d9ed.js?dpl=dpl_Dh1FSLTwYH6fo4gchpfrA3Jn9vNp

js brightcap.vc collected 2026-10-04 14:40:57 UTC 29,490 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,470152,e=>{"use strict";function t(e,[t,r]){return Math.min(r,Math.max(t,e))}e.s(["clamp",()=>t])},75830,e=>{"use strict";var t=e.i(271645),r=e.i(30030),n=e.i(820783),l=e.i(843476);function o(e){var r;let o,i=(r=e,(o=t.forwardRef((e,r)=>{let{children:l,...o}=e;if(t.isValidElement(l)){var i;let e,s,a=(i=l,(s=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(s=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),d=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(o,l.props);return l.type!==t.Fragment&&(d.ref=r?(0,n.composeRefs)(r,a):a),t.cloneElement(l,d)}return t.Children.count(l)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,o),a=t.forwardRef((e,r)=>{let{children:n,...o}=e,a=t.Children.toArray(n),d=a.find(s);if(d){let e=d.props.children,n=a.map(r=>r!==d?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,l.jsx)(i,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,l.jsx)(i,{...o,ref:r,children:n})});return a.displayName=`${e}.Slot`,a}var i=Symbol("radix.slottable");function s(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===i}function a(e){let i=e+"CollectionProvider",[s,a]=(0,r.createContextScope)(i),[d,c]=s(i,{collectionRef:{current:null},itemMap:new Map}),u=e=>{let{scope:r,children:n}=e,o=t.default.useRef(null),i=t.default.useRef(new Map).current;return(0,l.jsx)(d,{scope:r,itemMap:i,collectionRef:o,children:n})};u.displayName=i;let p=e+"CollectionSlot",f=o(p),h=t.default.forwardRef((e,t)=>{let{scope:r,children:o}=e,i=c(p,r),s=(0,n.useComposedRefs)(t,i.collectionRef);return(0,l.jsx)(f,{ref:s,children:o})});h.displayName=p;let m=e+"CollectionItemSlot",v="data-radix-collection-item",y=o(m),x=t.default.forwardRef((e,r)=>{let{scope:o,children:i,...s}=e,a=t.default.useRef(null),d=(0,n.useComposedRefs)(r,a),u=c(m,o);return t.default.useEffect(()=>(u.itemMap.set(a,{ref:a,...s}),()=>void u.itemMap.delete(a))),(0,l.jsx)(y,{...{[v]:""},ref:d,children:i})});return x.displayName=m,[{Provider:u,Slot:h,ItemSlot:x},function(r){let n=c(e+"CollectionConsumer",r);return t.default.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])},a]}var d=new WeakMap;function c(e,t){var r,n;let l,o,i;if("at"in Array.prototype)return Array.prototype.at.call(e,t);let s=(r=e,n=t,l=r.length,(i=(o=u(n))>=0?o:l+o)<0||i>=l?-1:i);return -1===s?void 0:e[s]}function u(e){return e!=e||0===e?0:Math.trunc(e)}(class e extends Map{#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,r){let n,l=this.has(t),o=this.#e.length,i=u(e),s=i>=0?i:o+i,a=s<0||s>=o?-1:s;if(a===this.size||l&&a===this.size-1||-1===a)return this.set(t,r),this;let d=this.size+ +!l;i<0&&s++;let c=[...this.#e],p=!1;for(let e=s;e<d;e++)if(s===e){let o=c[e];c[e]===t&&(o=c[e+1]),l&&this.delete(t),n=this.get(o),this.set(t,r)}else{p||c[e-1]!==t||(p=!0);let r=c[p?e:e-1],l=n;n=this.get(r),this.delete(r),this.set(r,l)}return this}with(t,r,n){let l=new e(this);return l.insert(t,r,n),l}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=c(this.#e,e);if(void 0!==t)return this.get(t)}entryAt(e){let t=c(this.#e,e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return this.#e.indexOf(e)}keyAt(e){return c(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=[],l=0;for(let e of this)Reflect.apply(t,r,[e,l,this])&&n.push(e),l++;return new e(n)}map(t,r){let n=[],l=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,l,this])]),l++;return new e(n)}reduce(...e){let[t,r]=e,n=0,l=r??this.at(0);for(let r of this)l=0===n&&1===e.length?r:Reflect.apply(t,this,[l,r,n,this]),n++;return l}reduceRight(...e){let[t,r]=e,n=r??this.at(-1);for(let r=this.size-1;r>=0;r--){let l=this.at(r);n=r===this.size-1&&1===e.length?l:Reflect.apply(t,this,[n,l,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,l=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(l=r-1);for(let e=t;e<=l;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",()=>a],75830)},586318,e=>{"use strict";var t=e.i(271645);e.i(843476);var r=t.createContext(void 0);function n(e){let n=t.useContext(r);return e||n||"ltr"}e.s(["useDirection",()=>n])},62870,e=>{"use strict";let t,r,n;var l=e.i(843476),o=e.i(271645),i=e.i(174080),s=e.i(470152),a=e.i(981140),d=e.i(75830),c=e.i(820783),u=e.i(30030),p=e.i(586318),f=e.i(726330),h=e.i(303536),m=e.i(765491),v=e.i(610772),y=e.i(853660),x=e.i(774606),g=e.i(248425),w=Symbol("radix.slottable");function C(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===w}var S=e.i(30207),b=e.i(369340),R=e.i(934620),j=e.i(999682),E=e.i(959411),k=e.i(186312),N=e.i(985369),P=[" ","Enter","ArrowUp","ArrowDown"],I=[" ","Enter"],T="Select",[A,D,H
1]=(0,d.createCollection)(T),[L,M]=(0,u.createContextScope)(T,[H,y.createPopperScope]),O=(0,y.createPopperScope)(),[_,V]=L(T),[z,B]=L(T),W=e=>{let{__scopeSelect:t,children:r,open:n,defaultOpen:i,onOpenChange:s,value:a,defaultValue:d,onValueChange:c,dir:u,name:f,autoComplete:h,disabled:m,required:x,form:g}=e,w=O(t),[C,S]=o.useState(null),[R,j]=o.useState(null),[E,k]=o.useState(!1),N=(0,p.useDirection)(u),[P,I]=(0,b.useControllableState)({prop:n,defaultProp:i??!1,onChange:s,caller:T}),[D,H]=(0,b.useControllableState)({prop:a,defaultProp:d,onChange:c,caller:T}),L=o.useRef(null),M=!C||g||!!C.closest("form"),[V,B]=o.useState(new Set),W=Array.from(V).map(e=>e.props.value).join(";");return(0,l.jsx)(y.Root,{...w,children:(0,l.jsxs)(_,{required:x,scope:t,trigger:C,onTriggerChange:S,valueNode:R,onValueNodeChange:j,valueNodeHasChildren:E,onValueNodeHasChildrenChange:k,contentId:(0,v.useId)(),value:D,onValueChange:H,open:P,onOpenChange:I,dir:N,triggerPointerDownPosRef:L,disabled:m,children:[(0,l.jsx)(A.Provider,{scope:t,children:(0,l.jsx)(z,{scope:e.__scopeSelect,onNativeOptionAdd:o.useCallback(e=>{B(t=>new Set(t).add(e))},[]),onNativeOptionRemove:o.useCallback(e=>{B(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),M?(0,l.jsxs)(eN,{"aria-hidden":!0,required:x,tabIndex:-1,name:f,autoComplete:h,value:D,onChange:e=>H(e.target.value),disabled:m,form:g,children:[void 0===D?(0,l.jsx)("option",{value:""}):null,Array.from(V)]},W):null]})})};W.displayName=T;var F="SelectTrigger",K=o.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...i}=e,s=O(r),d=V(F,r),u=d.disabled||n,p=(0,c.useComposedRefs)(t,d.onTriggerChange),f=D(r),h=o.useRef("touch"),[m,v,x]=eI(e=>{let t=f().filter(e=>!e.disabled),r=t.find(e=>e.value===d.value),n=eT(t,e,r);void 0!==n&&d.onValueChange(n.value)}),w=e=>{u||(d.onOpenChange(!0),x()),e&&(d.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,l.jsx)(y.Anchor,{asChild:!0,...s,children:(0,l.jsx)(g.Primitive.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":eP(d.value)?"":void 0,...i,ref:p,onClick:(0,a.composeEventHandlers)(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==h.current&&w(e)}),onPointerDown:(0,a.composeEventHandlers)(i.onPointerDown,e=>{h.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(w(e),e.preventDefault())}),onKeyDown:(0,a.composeEventHandlers)(i.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&P.includes(e.key)&&(w(),e.preventDefault())})})})});K.displayName=F;var U="SelectValue",q=o.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:o,children:i,placeholder:s="",...a}=e,d=V(U,r),{onValueNodeHasChildrenChange:u}=d,p=void 0!==i,f=(0,c.useComposedRefs)(t,d.onValueNodeChange);return(0,R.useLayoutEffect)(()=>{u(p)},[u,p]),(0,l.jsx)(g.Primitive.span,{...a,ref:f,style:{pointerEvents:"none"},children:eP(d.value)?(0,l.jsx)(l.Fragment,{children:s}):i})});q.displayName=U;var Y=o.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...o}=e;return(0,l.jsx)(g.Primitive.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});Y.displayName="SelectIcon";var G=e=>(0,l.jsx)(x.Portal,{asChild:!0,...e});G.displayName="SelectPortal";var Z="SelectContent",$=o.forwardRef((e,t)=>{let r=V(Z,e.__scopeSelect),[n,s]=o.useState();return((0,R.useLayoutEffect)(()=>{s(new DocumentFragment)},[]),r.open)?(0,l.jsx)(ee,{...e,ref:t}):n?i.createPortal((0,l.jsx)(X,{scope:e.__scopeSelect,children:(0,l.jsx)(A.Slot,{scope:e.__scopeSelect,children:(0,l.jsx)("div",{children:e.children})})}),n):null});$.displayName=Z;var[X,J]=L(Z),Q=((n=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(o.isValidElement(r)){var l;let e,i,s=(l=r,(i=(e=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?l.ref:(i=(e=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?l.props.ref:l.props.ref||l.ref),a=function(e,t){let r={...t};for(let n in t){let l=e[n],o=t[n];/^on[A-Z]/.test(n)?l&&o?r[n]=(...e)=>{let t=o(...e);return l(...e),t}:l&&(r[n]=l):"style"===n?r[n]={...l,...o}:"className"===n&&(r[n]=[l,o].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?(0,c.composeRefs)(t,s):s),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null})).displayName="SelectContent.RemoveScroll.SlotClone",t=n,(r=o.forwardRef((e,r)=>{let{children:n,...i}=e,s=o.Children.toArray(n),a=s.find(C);if(a){let e=a.props.children,n=s.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null);return(0,l.jsx)(t,{...i,ref:r,children:o.isValidElement(e)?o.cloneElement(e,void 0,n):null})}return(0,l.jsx)(t,{...i,ref:r,children:n})})).displayName="SelectContent.RemoveScroll.Slot",r),ee=o.forwardRef((e,t)=>{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:d,side:u,sideOffset:p,align:v,alignOffset:y,arrowPadding:x,collisionBoundary:g,collisionPadding:w,sticky:C,hideWhenDetached:S,avoidCollisions:b,...R}=e,j=V(Z,r),[E,P]=o.useState(null),[I,T]=o.useState(null),A=(0,c.useComposedRefs)(t,e=>P(e)),[H,L]=o.useState(null),[M,O]=o.useState(null),_=D(r),[z,B]=o.useState(!1),W=o.useRef(!1);o.useEffect(()=>{if(E)return(0,k.hideOthers)(E)},[E]),(0,h.useFocusGuards)();let F=o.useCallback(e=>{let[t,...r]=_().map(e=>e.ref.current),[n]=r.slice(-1),l=document.activeElement;for(let r of e)if(r===l||(r?.scrollIntoView({block:"nearest"}),r===t&&I&&(I.scrollTop=0),r===n&&I&&(I.scrollTop=I.scrollHeight),r?.focus(),document.activeElement!==l))return},[_,I]),K=o.useCallback(()=>F([H,E]),[F,H,E]);o.useEffect(()=>{z&&K()},[z,K]);let{onOpenChange:U,triggerPointerDownPosRef:q}=j;o.useEffect(()=>{if(E){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(q.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(q.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():E.contains(r.target)||U(!1),document.removeEventListener("pointermove",t),q.current=null};return null!==q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[E,U,q]),o.useEffect(()=>{let e=()=>U(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[U]);let[Y,G]=eI(e=>{let t=_().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=eT(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),$=o.useCallback((e,t,r)=>{let n=!W.current&&!r;(void 0!==j.value&&j.value===t||n)&&(L(e),n&&(W.current=!0))},[j.value]),J=o.useCallback(()=>E?.focus(),[E]),ee=o.useCallback((e,t,r)=>{let n=!W.current&&!r;(void 0!==j.value&&j.value===t||n)&&O(e)},[j.value]),en="popper"===n?er:et,el=en===er?{side:u,sideOffset:p,align:v,alignOffset:y,arrowPadding:x,collisionBoundary:g,collisionPadding:w,sticky:C,hideWhenDetached:S,avoidCollisions:b}:{};return(0,l.jsx)(X,{scope:r,content:E,viewport:I,onViewportChange:T,itemRefCallback:$,selectedItem:H,onItemLeave:J,itemTextRefCallback:ee,focusSelectedItem:K,selectedItemText:M,position:n,isPositioned:z,searchRef:Y,children:(0,l.jsx)(N.RemoveScroll,{as:Q,allowPinchZoom:!0,children:(0,l.jsx)(m.FocusScope,{asChild:!0,trapped:j.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.composeEventHandlers)(i,e=>{j.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,l.jsx)(f.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>j.onOpenChange(!1),children:(0,l.jsx)(en,{role:"listbox",id:j.contentId,"data-state":j.open?"open":"closed",dir:j.dir,onContextMenu:e=>e.preventDefault(),...R,...el,onPlaced:()=>B(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...R.style},onKeyDown:(0,a.composeEventHandlers)(R.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||G(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=_().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});ee.displayName="SelectContentImpl";var et=o.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...i}=e,a=V(Z,r),d=J(Z,r),[u,p]=o.useState(null),[f,h]=o.useState(null),m=(0,c.useComposedRefs)(t,e=>h(e)),v=D(r),y=o.useRef(!1),x=o.useRef(!0),{viewport:w,selectedItem:C,selectedItemText:S,focusSelectedItem:b}=d,j=o.useCallback(()=>{if(a.trigger&&a.valueNode&&u&&f&&w&&C&&S){let e=a.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),r=a.valueNode.getBoundingClientRect(),l=S.getBoundingClientRect();if("rtl"!==a.dir){let n=l.left-t.left,o=r.left-n,i=e.left-o,a=e.width+i,d=Math.max(a,t.width),c=window.innerWidth-10,p=(0,s.clamp)(o,[10,Math.max(10,c-d)]);u.style.minWidth=a+"px",u.style.left=p+"px"}else{let n=t.right-l.right,o=window.innerWidth-r.right-n,i=window.innerWidth-e.right-o,a=e.width+i,d=Math.max(a,t.width),c=window.innerWidth-10,p=(0,s.clamp)(o,[10,Math.max(10,c-d)]);u.style.minWidth=a+"px",u.style.right=p+"px"}let o=v(),i=window.innerHeight-20,d=w.scrollHeight,c=window.getComputedStyle(f),p=parseInt(c.borderTopWidth,10),h=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),x=p+h+d+parseInt(c.paddingBottom,10)+m,g=Math.min(5*C.offsetHeight,x),b=window.getComputedStyle(w),R=parseInt(b.paddingTop,10),j=parseInt(b.paddingBottom,10),E=e.top+e.height/2-10,k=C.offsetHeight/2,N=p+h+(C.offsetTop+k);if(N<=E){let e=o.length>0&&C===o[o.length-1].ref.current;u.style.bottom="0px";let t=Math.max(i-E,k+(e?j:0)+(f.clientHeight-w.offsetTop-w.offsetHeight)+m);u.style.height=N+t+"px"}else{let e=o.length>0&&C===o[0].ref.current;u.style.top="0px";let t=Math.max(E,p+w.offsetTop+(e?R:0)+k);u.style.height=t+(x-N)+"px",w.scrollTop=N-E+w.offsetTop}u.style.margin="10px 0",u.style.minHeight=g+"px",u.style.maxHeight=i+"px",n?.(),requestAnimationFrame(()=>y.current=!0)}},[v,a.trigger,a.valueNode,u,f,w,C,S,a.dir,n]);(0,R.useLayoutEffect)(()=>j(),[j]);let[E,k]=o.useState();(0,R.useLayoutEffect)(()=>{f&&k(window.getComputedStyle(f).zIndex)},[f]);let N=o.useCallback(e=>{e&&!0===x.current&&(j(),b?.(),x.current=!1)},[j,b]);return(0,l.jsx)(en,{scope:r,contentWrapper:u,shouldExpandOnScrollRef:y,onScrollButtonChange:N,children:(0,l.jsx)("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:(0,l.jsx)(g.Primitive.div,{...i,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});et.displayName="SelectItemAlignedPosition";var er=o.forwardRef((e,t)=>{let{__scopeSelect:r,align:n="start",collisionPadding:o=10,...i}=e,s=O(r);return(0,l.jsx)(y.Content,{...s,...i,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});er.displayName="SelectPopperPosition";var[en,el]=L(Z,{}),eo="SelectViewport",ei=o.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...i}=e,s=J(eo,r),d=el(eo,r),u=(0,c.useComposedRefs)(t,s.onViewportChange),p=o.useRef(0);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:n}),(0,l.jsx)(A.Slot,{scope:r,children:(0,l.jsx)(g.Primitive.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,a.composeEventHandlers)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=d;if(n?.current&&r){let e=Math.abs(p.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,l=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(l<n){let o=l+e,i=Math.min(n,o),s=o-i;r.style.height=i+"px","0px"===r.style.bottom&&(t.scrollTop=s>0?s:0,r.style.justifyContent="flex-end")}}}p.current=t.scrollTop})})})]})});ei.displayName=eo;var es="SelectGroup",[ea,ed]=L(es),ec=o.forwardRef((e,t)=>
1{let{__scopeSelect:r,...n}=e,o=(0,v.useId)();return(0,l.jsx)(ea,{scope:r,id:o,children:(0,l.jsx)(g.Primitive.div,{role:"group","aria-labelledby":o,...n,ref:t})})});ec.displayName=es;var eu="SelectLabel",ep=o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=ed(eu,r);return(0,l.jsx)(g.Primitive.div,{id:o.id,...n,ref:t})});ep.displayName=eu;var ef="SelectItem",[eh,em]=L(ef),ev=o.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:i=!1,textValue:s,...d}=e,u=V(ef,r),p=J(ef,r),f=u.value===n,[h,m]=o.useState(s??""),[y,x]=o.useState(!1),w=(0,c.useComposedRefs)(t,e=>p.itemRefCallback?.(e,n,i)),C=(0,v.useId)(),S=o.useRef("touch"),b=()=>{i||(u.onValueChange(n),u.onOpenChange(!1))};if(""===n)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,l.jsx)(eh,{scope:r,value:n,disabled:i,textId:C,isSelected:f,onItemTextChange:o.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,l.jsx)(A.ItemSlot,{scope:r,value:n,disabled:i,textValue:h,children:(0,l.jsx)(g.Primitive.div,{role:"option","aria-labelledby":C,"data-highlighted":y?"":void 0,"aria-selected":f&&y,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...d,ref:w,onFocus:(0,a.composeEventHandlers)(d.onFocus,()=>x(!0)),onBlur:(0,a.composeEventHandlers)(d.onBlur,()=>x(!1)),onClick:(0,a.composeEventHandlers)(d.onClick,()=>{"mouse"!==S.current&&b()}),onPointerUp:(0,a.composeEventHandlers)(d.onPointerUp,()=>{"mouse"===S.current&&b()}),onPointerDown:(0,a.composeEventHandlers)(d.onPointerDown,e=>{S.current=e.pointerType}),onPointerMove:(0,a.composeEventHandlers)(d.onPointerMove,e=>{S.current=e.pointerType,i?p.onItemLeave?.():"mouse"===S.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.composeEventHandlers)(d.onPointerLeave,e=>{e.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:(0,a.composeEventHandlers)(d.onKeyDown,e=>{(p.searchRef?.current===""||" "!==e.key)&&(I.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});ev.displayName=ef;var ey="SelectItemText",ex=o.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:s,...a}=e,d=V(ey,r),u=J(ey,r),p=em(ey,r),f=B(ey,r),[h,m]=o.useState(null),v=(0,c.useComposedRefs)(t,e=>m(e),p.onItemTextChange,e=>u.itemTextRefCallback?.(e,p.value,p.disabled)),y=h?.textContent,x=o.useMemo(()=>(0,l.jsx)("option",{value:p.value,disabled:p.disabled,children:y},p.value),[p.disabled,p.value,y]),{onNativeOptionAdd:w,onNativeOptionRemove:C}=f;return(0,R.useLayoutEffect)(()=>(w(x),()=>C(x)),[w,C,x]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(g.Primitive.span,{id:p.textId,...a,ref:v}),p.isSelected&&d.valueNode&&!d.valueNodeHasChildren?i.createPortal(a.children,d.valueNode):null]})});ex.displayName=ey;var eg="SelectItemIndicator",ew=o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return em(eg,r).isSelected?(0,l.jsx)(g.Primitive.span,{"aria-hidden":!0,...n,ref:t}):null});ew.displayName=eg;var eC="SelectScrollUpButton",eS=o.forwardRef((e,t)=>{let r=J(eC,e.__scopeSelect),n=el(eC,e.__scopeSelect),[i,s]=o.useState(!1),a=(0,c.useComposedRefs)(t,n.onScrollButtonChange);return(0,R.useLayoutEffect)(()=>{if(r.viewport&&r.isPositioned){let e=function(){s(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,l.jsx)(ej,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eS.displayName=eC;var eb="SelectScrollDownButton",eR=o.forwardRef((e,t)=>{let r=J(eb,e.__scopeSelect),n=el(eb,e.__scopeSelect),[i,s]=o.useState(!1),a=(0,c.useComposedRefs)(t,n.onScrollButtonChange);return(0,R.useLayoutEffect)(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),i?(0,l.jsx)(ej,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});eR.displayName=eb;var ej=o.forwardRef((e,t)=>
1{let{__scopeSelect:r,onAutoScroll:n,...i}=e,s=J("SelectScrollButton",r),d=o.useRef(null),c=D(r),u=o.useCallback(()=>{null!==d.current&&(window.clearInterval(d.current),d.current=null)},[]);return o.useEffect(()=>()=>u(),[u]),(0,R.useLayoutEffect)(()=>{let e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,l.jsx)(g.Primitive.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,a.composeEventHandlers)(i.onPointerDown,()=>{null===d.current&&(d.current=window.setInterval(n,50))}),onPointerMove:(0,a.composeEventHandlers)(i.onPointerMove,()=>{s.onItemLeave?.(),null===d.current&&(d.current=window.setInterval(n,50))}),onPointerLeave:(0,a.composeEventHandlers)(i.onPointerLeave,()=>{u()})})}),eE=o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,l.jsx)(g.Primitive.div,{"aria-hidden":!0,...n,ref:t})});eE.displayName="SelectSeparator";var ek="SelectArrow";o.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=O(r),i=V(ek,r),s=J(ek,r);return i.open&&"popper"===s.position?(0,l.jsx)(y.Arrow,{...o,...n,ref:t}):null}).displayName=ek;var eN=o.forwardRef(({__scopeSelect:e,value:t,...r},n)=>{let i=o.useRef(null),s=(0,c.useComposedRefs)(n,i),a=(0,j.usePrevious)(t);return o.useEffect(()=>{let e=i.current;if(!e)return;let r=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(a!==t&&r){let n=new Event("change",{bubbles:!0});r.call(e,t),e.dispatchEvent(n)}},[a,t]),(0,l.jsx)(g.Primitive.select,{...r,style:{...E.VISUALLY_HIDDEN_STYLES,...r.style},ref:s,defaultValue:t})});function eP(e){return""===e||void 0===e}function eI(e){let t=(0,S.useCallbackRef)(e),r=o.useRef(""),n=o.useRef(0),l=o.useCallback(e=>{let l=r.current+e;t(l),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(l)},[t]),i=o.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,l,i]}function eT(e,t,r){var n,l;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=r?e.indexOf(r):-1,s=(n=e,l=Math.max(i,0),n.map((e,t)=>n[(l+t)%n.length]));1===o.length&&(s=s.filter(e=>e!==r));let a=s.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return a!==r?a:void 0}eN.displayName="SelectBubbleInput";var eA=e.i(643531),eD=e.i(664659),eH=e.i(655900),eL=e.i(647163);let eM=o.forwardRef(({className:e,children:t,...r},n)=>(0,l.jsxs)(K,{ref:n,className:(0,eL.cn)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",e),...r,children:[t,(0,l.jsx)(Y,{asChild:!0,children:(0,l.jsx)(eD.ChevronDown,{className:"h-4 w-4 opacity-50"})})]}));eM.displayName=K.displayName;let eO=o.forwardRef(({className:e,...t},r)=>(0,l.jsx)(eS,{ref:r,className:(0,eL.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,l.jsx)(eH.ChevronUp,{className:"h-4 w-4"})}));eO.displayName=eS.displayName;let e_=o.forwardRef(({className:e,...t},r)=>(0,l.jsx)(eR,{ref:r,className:(0,eL.cn)("flex cursor-default items-center justify-center py-1",e),...t,children:(0,l.jsx)(eD.ChevronDown,{className:"h-4 w-4"})}));e_.displayName=eR.displayName;let eV=o.forwardRef(({className:e,children:t,position:r="popper",...n},o)=>(0,l.jsx)(G,{children:(0,l.jsxs)($,{ref:o,className:(0,eL.cn)("relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===r&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:r,...n,children:[(0,l.jsx)(eO,{}),(0,l.jsx)(ei,{className:(0,eL.cn)("p-1","popper"===r&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),(0,l.jsx)(e_,{})]})}));eV.displayName=$.displayName;let ez=o.forwardRef(({className:e,...t},r)=>(0,l.jsx)(ep,{ref:r,className:(0,eL.cn)("py-1.5 pl-8 pr-2 text-sm font-semibold",e),...t}));ez.displayName=ep.displayName;let eB=o.forwardRef(({className:e,children:t,...r},n)=>(0,l.jsxs)(ev,{ref:n,className:(0,eL.cn)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e),...r,children:[(0,l.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,l.jsx)(ew,{children:(0,l.jsx)(eA.Check,{className:"h-4 w-4"})})}),(0,l.jsx)(ex,{children:t})]}));eB.displayName=ev.displayName,o.forwardRef(({className:e,...t},r)=>(0,l.jsx)(eE,{ref:r,className:(0,eL.cn)("-mx-1 my-1 h-px bg-muted",e),...t})).displayName=eE.displayName,e.s(["Select",()=>W,"SelectContent",()=>eV,"SelectGroup",()=>ec,"SelectItem",()=>eB,"SelectLabel",()=>ez,"SelectTrigger",()=>eM,"SelectValue",()=>q],62870)}]);

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.