PageSourceSearch

https://www.1x.tech/_next/static/chunks/9432-d3b1e48495819053.js

js 1x.tech collected 2026-10-02 03:14:14 UTC 40,985 bytes, 31 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="aec3f8b9-c5b2-4a03-9c39-1ac62425a193",e._sentryDebugIdIdentifier="sentry-dbid-aec3f8b9-c5b2-4a03-9c39-1ac62425a193")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9432],{91373:function(e,t,r){r.d(t,{Z:function(){return u}});var n=r(67294);/**
2 * @license lucide-react v0.469.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */let o=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();/**
7 * @license lucide-react v0.469.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12 * @license lucide-react v0.469.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */let a=(0,n.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:a="",children:u,iconNode:s,...c},d)=>(0,n.createElement)("svg",{ref:d,...i,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:l("lucide",a),...c},[...s.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(u)?u:[u]])),u=(e,t)=>{let r=(0,n.forwardRef)(({className:r,...i},u)=>(0,n.createElement)(a,{ref:u,iconNode:t,className:l(`lucide-${o(e)}`,r),...i}));return r.displayName=`${e}`,r}},13742:function(e,t,r){r.d(t,{Z:function(){return n}});/**
17 * @license lucide-react v0.469.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */let n=(0,r(91373).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},8971:function(e,t,r){r.d(t,{Z:function(){return n}});/**
22 * @license lucide-react v0.469.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */let n=(0,r(91373).Z)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},84979:function(e,t,r){r.d(t,{Z:function(){return n}});/**
27 * @license lucide-react v0.469.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */let n=(0,r(91373).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},75320:function(e,t,r){r.d(t,{WV:function(){return a},jH:function(){return u}});var n=r(67294),o=r(73935),l=r(4222),i=r(85893),a=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let r=n.forwardRef((e,r)=>{let{asChild:n,...o}=e,a=n?l.g7:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a,{...o,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function u(e,t){e&&o.flushSync(()=>e.dispatchEvent(t))}},34184:function(e,t,r){let n;r.d(t,{VY:function(){return tp},ZA:function(){return tv},JO:function(){return td},ck:function(){return ty},wU:function(){return tw},eT:function(){return tg},__:function(){return th},h_:function(){return tf},fC:function(){return tu},$G:function(){return tb},u_:function(){return tx},Z0:function(){return tE},xz:function(){return ts},B4:function(){return tc},l_:function(){return tm}});var o,l=r(67294),i=r.t(l,2),a=r(73935);function u(e,[t,r]){return Math.min(r,Math.max(t,e))}function s(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}var c=r(85893);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function f(...e){return l.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(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():d(e[t],null)}}}}(...e),e)}var p=r(4222);function m(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function v(...e){return l.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=m(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():m(e[t],null)}}}}(...e),e)}var h=l.createContext(void 0),y=r(75320),g=r(79698),w="dismissableLayer.update",x=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),b=l.forwardRef((e,t)=>
31{let{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:u,onDismiss:d,...f}=e,p=l.useContext(x),[m,h]=l.useState(null),b=m?.ownerDocument??globalThis?.document,[,S]=l.useState({}),N=v(t,e=>h(e)),j=Array.from(p.layers),[R]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),P=j.indexOf(R),k=m?j.indexOf(m):-1,T=p.layersWithOutsidePointerEventsDisabled.size>0,L=k>=P,D=function(e,t=globalThis?.document){let r=(0,g.W)(e),n=l.useRef(!1),o=l.useRef(()=>{});return l.useEffect(()=>{let e=e=>{if(e.target&&!n.current){let n=function(){C("dismissableLayer.pointerDownOutside",r,l,{discrete:!0})},l={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{let t=e.target,r=[...p.branches].some(e=>e.contains(t));!L||r||(i?.(e),u?.(e),e.defaultPrevented||d?.())},b),W=function(e,t=globalThis?.document){let r=(0,g.W)(e),n=l.useRef(!1);return l.useEffect(()=>{let e=e=>{e.target&&!n.current&&C("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{let t=e.target;[...p.branches].some(e=>e.contains(t))||(a?.(e),u?.(e),e.defaultPrevented||d?.())},b);return!function(e,t=globalThis?.document){let r=(0,g.W)(e);l.useEffect(()=>{let e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{k!==p.layers.size-1||(n?.(e),!e.defaultPrevented&&d&&(e.preventDefault(),d()))},b),l.useEffect(()=>{if(m)return r&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(o=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(m)),p.layers.add(m),E(),()=>{r&&1===p.layersWithOutsidePointerEventsDisabled.size&&(b.body.style.pointerEvents=o)}},[m,b,r,p]),l.useEffect(()=>()=>{m&&(p.layers.delete(m),p.layersWithOutsidePointerEventsDisabled.delete(m),E())},[m,p]),l.useEffect(()=>{let e=()=>S({});return document.addEventListener(w,e),()=>document.removeEventListener(w,e)},[]),(0,c.jsx)(y.WV.div,{...f,ref:N,style:{pointerEvents:T?L?"auto":"none":void 0,...e.style},onFocusCapture:s(e.onFocusCapture,W.onFocusCapture),onBlurCapture:s(e.onBlurCapture,W.onBlurCapture),onPointerDownCapture:s(e.onPointerDownCapture,D.onPointerDownCapture)})});function E(){let e=new CustomEvent(w);document.dispatchEvent(e)}function C(e,t,r,{discrete:n}){let o=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?(0,y.jH)(o,l):o.dispatchEvent(l)}b.displayName="DismissableLayer",l.forwardRef((e,t)=>{let r=l.useContext(x),n=l.useRef(null),o=v(t,n);return l.useEffect(()=>{let e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,c.jsx)(y.WV.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var S=0;function N(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var j="focusScope.autoFocusOnMount",R="focusScope.autoFocusOnUnmount",P={bubbles:!1,cancelable:!0},k=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[u,s]=l.useState(null),d=(0,g.W)(o),f=(0,g.W)(i),p=l.useRef(null),m=v(t,e=>s(e)),h=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let e=function(e){if(h.paused||!u)return;let t=e.target;u.contains(t)?p.current=t:D(p.current,{select:!0})},t=function(e){if(h.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||D(p.current,{select:!0})};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&D(u)});return u&&r.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[n,u,h.paused]),l.useEffect(()=>{if(u){W.add(h);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(j,P);u.addEventListener(j,d),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(D(n,{select:t}),document.activeElement!==r)return}(T(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&D(u))}return()=>{u.removeEventListener(j,d),setTimeout(()=>{let t=new CustomEvent(R,P);u.addEventListener(R,f),u.dispatchEvent(t),t.defaultPrevented||D(e??document.body,{select:!0}),u.removeEventListener(R,f),W.remove(h)}
31,0)}}},[u,d,f,h]);let w=l.useCallback(e=>{if(!r&&!n||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[n,l]=function(e){let t=T(e);return[L(t,e),L(t.reverse(),e)]}(t);n&&l?e.shiftKey||o!==l?e.shiftKey&&o===n&&(e.preventDefault(),r&&D(l,{select:!0})):(e.preventDefault(),r&&D(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,h.paused]);return(0,c.jsx)(y.WV.div,{tabIndex:-1,...a,ref:m,onKeyDown:w})});function T(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function L(e,t){for(let r of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(r,{upTo:t}))return r}function D(e,{select:t=!1}={}){if(e&&e.focus){var r;let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&(r=e)instanceof HTMLInputElement&&"select"in r&&t&&e.select()}}k.displayName="FocusScope";var W=(n=[],{add(e){let t=n[0];e!==t&&t?.pause(),(n=A(n,e)).unshift(e)},remove(e){n=A(n,e),n[0]?.resume()}});function A(e,t){let r=[...e],n=r.indexOf(t);return -1!==n&&r.splice(n,1),r}var I=globalThis?.document?l.useLayoutEffect:()=>{},M=i["useId".toString()]||(()=>void 0),_=0;function O(e){let[t,r]=l.useState(M());return I(()=>{e||r(e=>e??String(_++))},[e]),e||(t?`radix-${t}`:"")}var V=r(1371),$=r(18573),H=l.forwardRef((e,t)=>{let{children:r,width:n=10,height:o=5,...l}=e;return(0,c.jsx)(y.WV.svg,{...l,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});function F(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function B(...e){return l.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=F(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():F(e[t],null)}}}}(...e),e)}H.displayName="Arrow";var z=globalThis?.document?l.useLayoutEffect:()=>{},K=r(56060),U="Popper",[Z,Y]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>l.createContext(e));return function(r){let n=r?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=l.createContext(n),i=r.length;r=[...r,n];let a=t=>{let{scope:r,children:n,...a}=t,u=r?.[e]?.[i]||o,s=l.useMemo(()=>a,Object.values(a));return(0,c.jsx)(u.Provider,{value:s,children:n})};return a.displayName=t+"Provider",[a,function(r,a){let u=a?.[e]?.[i]||o,s=l.useContext(u);if(s)return s;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(U),[q,X]=Z(U),G=e=>{let{__scopePopper:t,children:r}=e,[n,o]=l.useState(null);return(0,c.jsx)(q,{scope:t,anchor:n,onAnchorChange:o,children:r})};G.displayName=U;var J="PopperAnchor",Q=l.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:n,...o}=e,i=X(J,r),a=l.useRef(null),u=B(t,a);return l.useEffect(()=>{i.onAnchorChange(n?.current||a.current)}),n?null:(0,c.jsx)(y.WV.div,{...o,ref:u})});Q.displayName=J;var ee="PopperContent",[et,er]=Z(ee),en=l.forwardRef((e,t)=>{let{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:u=0,avoidCollisions:s=!0,collisionBoundary:d=[],collisionPadding:f=0,sticky:p="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:h,...w}=e,x=X(ee,r),[b,E]=l.useState(null),C=B(t,e=>E(e)),[S,N]=l.useState(null),j=(0,K.t)(S),R=j?.width??0,P=j?.height??0,k="number"==typeof f?f:{top:0,right:0,bottom:0,left:0,...f},T=Array.isArray(d)?d:[d],L=T.length>0,D={padding:k,boundary:T.filter(ea),altBoundary:L},{refs:W,floatingStyles:A,placement:I,isPositioned:M,middlewareData:_}=(0,V.YF)({strategy:"fixed",placement:n+("center"!==i?"-"+i:""),whileElementsMounted:(...e)=>(0,$.Me)(...e,{animationFrame:"always"===v}),elements:{reference:x.anchor},middleware:[(0,V.cv)({mainAxis:o+P,alignmentAxis:a}),s&&(0,V.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===p?(0,V.dr)():void 0,...D}),s&&(0,V.RR)({...D}),(0,V.dp)({...D,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{let{width:o,height:l}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${r}px`),i.setProperty("--radix-popper-available-height",`${n}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${l}px`)}}),S&&(0,V.x7)({element:S,padding:u}),eu({arrowWidth:R,arrowHeight:P}),m&&(0,V.Cp)({strategy:"referenceHidden",...D})]}),[O,H]=es(I),F=(0,g.W)(h);z(()=>{M&&F?.()},[M,F]);let U=_.arrow?.x,Z=_.arrow?.y,Y=_.arrow?.centerOffset!==0,[q,G]=l.useState();return z(()=>{b&&G(window.getComputedStyle(b).zIndex)},[b]),(0,c.jsx)("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...A,transform:M?A.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:q,"--radix-popper-transform-origin":[_.transformOrigin?.x,_.transformOrigin?.y].join(" "),..._.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(et,{scope:r,placedSide:O,onArrowChange:N,arrowX:U,arrowY:Z,shouldHideArrow:Y,children:(0,c.jsx)(y.WV.div,{"data-side":O,"data-align":H,...w,ref:C,style:{...w.style,animation:M?void 0:"none"}})})})});en.displayName=ee;var eo="PopperArrow",el={top:"bottom",right:"left",bottom:"top",left:"r
31ight"},ei=l.forwardRef(function(e,t){let{__scopePopper:r,...n}=e,o=er(eo,r),l=el[o.placedSide];return(0,c.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,c.jsx)(H,{...n,ref:t,style:{...n.style,display:"block"}})})});function ea(e){return null!==e}ei.displayName=eo;var eu=e=>({name:"transformOrigin",options:e,fn(t){let{placement:r,rects:n,middlewareData:o}=t,l=o.arrow?.centerOffset!==0,i=l?0:e.arrowWidth,a=l?0:e.arrowHeight,[u,s]=es(r),c={start:"0%",center:"50%",end:"100%"}[s],d=(o.arrow?.x??0)+i/2,f=(o.arrow?.y??0)+a/2,p="",m="";return"bottom"===u?(p=l?c:`${d}px`,m=`${-a}px`):"top"===u?(p=l?c:`${d}px`,m=`${n.floating.height+a}px`):"right"===u?(p=`${-a}px`,m=l?c:`${f}px`):"left"===u&&(p=`${n.floating.width+a}px`,m=l?c:`${f}px`),{data:{x:p,y:m}}}});function es(e){let[t,r="center"]=e.split("-");return[t,r]}var ec=l.forwardRef((e,t)=>{let{container:r,...n}=e,[o,i]=l.useState(!1);I(()=>i(!0),[]);let u=r||o&&globalThis?.document?.body;return u?a.createPortal((0,c.jsx)(y.WV.div,{...n,ref:t}),u):null});function ed({prop:e,defaultProp:t,onChange:r=()=>{}}){let[n,o]=function({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,o=l.useRef(n),i=(0,g.W)(t);return l.useEffect(()=>{o.current!==n&&(i(n),o.current=n)},[n,o,i]),r}({defaultProp:t,onChange:r}),i=void 0!==e,a=i?e:n,u=(0,g.W)(r);return[a,l.useCallback(t=>{if(i){let r="function"==typeof t?t(e):t;r!==e&&u(r)}else o(t)},[i,e,o,u])]}ec.displayName="Portal";var ef=r(57898),ep=l.forwardRef((e,t)=>(0,c.jsx)(y.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));ep.displayName="VisuallyHidden";var em=r(23541),ev=r(71930),eh=[" ","Enter","ArrowUp","ArrowDown"],ey=[" ","Enter"],eg="Select",[ew,ex,eb]=function(e){let t=e+"CollectionProvider",[r,n]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>l.createContext(e));return function(r){let n=r?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=l.createContext(n),i=r.length;r=[...r,n];let a=t=>{let{scope:r,children:n,...a}=t,u=r?.[e]?.[i]||o,s=l.useMemo(()=>a,Object.values(a));return(0,c.jsx)(u.Provider,{value:s,children:n})};return a.displayName=t+"Provider",[a,function(r,a){let u=a?.[e]?.[i]||o,s=l.useContext(u);if(s)return s;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(t),[o,i]=r(t,{collectionRef:{current:null},itemMap:new Map}),a=e=>{let{scope:t,children:r}=e,n=l.useRef(null),i=l.useRef(new Map).current;return(0,c.jsx)(o,{scope:t,itemMap:i,collectionRef:n,children:r})};a.displayName=t;let u=e+"CollectionSlot",s=l.forwardRef((e,t)=>{let{scope:r,children:n}=e,o=f(t,i(u,r).collectionRef);return(0,c.jsx)(p.g7,{ref:o,children:n})});s.displayName=u;let d=e+"CollectionItemSlot",m="data-radix-collection-item",v=l.forwardRef((e,t)=>{let{scope:r,children:n,...o}=e,a=l.useRef(null),u=f(t,a),s=i(d,r);return l.useEffect(()=>(s.itemMap.set(a,{ref:a,...o}),()=>void s.itemMap.delete(a))),(0,c.jsx)(p.g7,{[m]:"",ref:u,children:n})});return v.displayName=d,[{Provider:a,Slot:s,ItemSlot:v},function(t){let r=i(e+"CollectionConsumer",t);return l.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${m}]`));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}(eg),[eE,eC]=function(e,t=[]){let r=[],n=()=>{let t=r.map(e=>l.createContext(e));return function(r){let n=r?.[e]||t;return l.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){let o=l.createContext(n),i=r.length;r=[...r,n];let a=t=>{let{scope:r,children:n,...a}=t,u=r?.[e]?.[i]||o,s=l.useMemo(()=>a,Object.values(a));return(0,c.jsx)(u.Provider,{value:s,children:n})};return a.displayName=t+"Provider",[a,function(r,a){let u=a?.[e]?.[i]||o,s=l.useContext(u);if(s)return s;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:n})=>
31{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(n,...t)]}(eg,[eb,Y]),eS=Y(),[eN,ej]=eE(eg),[eR,eP]=eE(eg),ek=e=>{let{__scopeSelect:t,children:r,open:n,defaultOpen:o,onOpenChange:i,value:a,defaultValue:u,onValueChange:s,dir:d,name:f,autoComplete:p,disabled:m,required:v,form:y}=e,g=eS(t),[w,x]=l.useState(null),[b,E]=l.useState(null),[C,S]=l.useState(!1),N=function(e){let t=l.useContext(h);return e||t||"ltr"}(d),[j=!1,R]=ed({prop:n,defaultProp:o,onChange:i}),[P,k]=ed({prop:a,defaultProp:u,onChange:s}),T=l.useRef(null),L=!w||y||!!w.closest("form"),[D,W]=l.useState(new Set),A=Array.from(D).map(e=>e.props.value).join(";");return(0,c.jsx)(G,{...g,children:(0,c.jsxs)(eN,{required:v,scope:t,trigger:w,onTriggerChange:x,valueNode:b,onValueNodeChange:E,valueNodeHasChildren:C,onValueNodeHasChildrenChange:S,contentId:O(),value:P,onValueChange:k,open:j,onOpenChange:R,dir:N,triggerPointerDownPosRef:T,disabled:m,children:[(0,c.jsx)(ew.Provider,{scope:t,children:(0,c.jsx)(eR,{scope:e.__scopeSelect,onNativeOptionAdd:l.useCallback(e=>{W(t=>new Set(t).add(e))},[]),onNativeOptionRemove:l.useCallback(e=>{W(t=>{let r=new Set(t);return r.delete(e),r})},[]),children:r})}),L?(0,c.jsxs)(tl,{"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:p,value:P,onChange:e=>k(e.target.value),disabled:m,form:y,children:[void 0===P?(0,c.jsx)("option",{value:""}):null,Array.from(D)]},A):null]})})};ek.displayName=eg;var eT="SelectTrigger",eL=l.forwardRef((e,t)=>{let{__scopeSelect:r,disabled:n=!1,...o}=e,i=eS(r),a=ej(eT,r),u=a.disabled||n,d=v(t,a.onTriggerChange),f=ex(r),p=l.useRef("touch"),[m,h,g]=ti(e=>{let t=f().filter(e=>!e.disabled),r=t.find(e=>e.value===a.value),n=ta(t,e,r);void 0!==n&&a.onValueChange(n.value)}),w=e=>{u||(a.onOpenChange(!0),g()),e&&(a.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,c.jsx)(Q,{asChild:!0,...i,children:(0,c.jsx)(y.WV.button,{type:"button",role:"combobox","aria-controls":a.contentId,"aria-expanded":a.open,"aria-required":a.required,"aria-autocomplete":"none",dir:a.dir,"data-state":a.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":to(a.value)?"":void 0,...o,ref:d,onClick:s(o.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&w(e)}),onPointerDown:s(o.onPointerDown,e=>{p.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:s(o.onKeyDown,e=>{let t=""!==m.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||h(e.key),(!t||" "!==e.key)&&eh.includes(e.key)&&(w(),e.preventDefault())})})})});eL.displayName=eT;var eD="SelectValue",eW=l.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:o,children:l,placeholder:i="",...a}=e,u=ej(eD,r),{onValueNodeHasChildrenChange:s}=u,d=void 0!==l,f=v(t,u.onValueNodeChange);return I(()=>{s(d)},[s,d]),(0,c.jsx)(y.WV.span,{...a,ref:f,style:{pointerEvents:"none"},children:to(u.value)?(0,c.jsx)(c.Fragment,{children:i}):l})});eW.displayName=eD;var eA=l.forwardRef((e,t)=>{let{__scopeSelect:r,children:n,...o}=e;return(0,c.jsx)(y.WV.span,{"aria-hidden":!0,...o,ref:t,children:n||"▼"})});eA.displayName="SelectIcon";var eI=e=>(0,c.jsx)(ec,{asChild:!0,...e});eI.displayName="SelectPortal";var eM="SelectContent",e_=l.forwardRef((e,t)=>{let r=ej(eM,e.__scopeSelect),[n,o]=l.useState();return(I(()=>{o(new DocumentFragment)},[]),r.open)?(0,c.jsx)(e$,{...e,ref:t}):n?a.createPortal((0,c.jsx)(eO,{scope:e.__scopeSelect,children:(0,c.jsx)(ew.Slot,{scope:e.__scopeSelect,children:(0,c.jsx)("div",{children:e.children})})}),n):null});e_.displayName=eM;var[eO,eV]=eE(eM),e$=l.forwardRef((e,t)=>{let{__scopeSelect:r,position:n="item-aligned",onCloseAutoFocus:o,onEscapeKeyDown:i,onPointerDownOutside:a,side:u,sideOffset:d,align:f,alignOffset:m,arrowPadding:h,collisionBoundary:y,collisionPadding:g,sticky:w,hideWhenDetached:x,avoidCollisions:E,...C}=e,j=ej(eM,r),[R,P]=l.useState(null),[T,L]=l.useState(null),D=v(t,e=>P(e)),[W,A]=l.useState(null),[I,M]=l.useState(null),_=ex(r),[O,V]=l.useState(!1),$=l.useRef(!1);l.useEffect(()=>{if(R)return(0,em.Ry)(R)},[R]),l.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??N()),document.body.insertAdjacentElement("beforeend",e[1]??N()),S++,()=>{1===S&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e
31=>e.remove()),S--}},[]);let H=l.useCallback(e=>{let[t,...r]=_().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(let r of e)if(r===o||(r?.scrollIntoView({block:"nearest"}),r===t&&T&&(T.scrollTop=0),r===n&&T&&(T.scrollTop=T.scrollHeight),r?.focus(),document.activeElement!==o))return},[_,T]),F=l.useCallback(()=>H([W,R]),[H,W,R]);l.useEffect(()=>{O&&F()},[O,F]);let{onOpenChange:B,triggerPointerDownPosRef:z}=j;l.useEffect(()=>{if(R){let e={x:0,y:0},t=t=>{e={x:Math.abs(Math.round(t.pageX)-(z.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(z.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():R.contains(r.target)||B(!1),document.removeEventListener("pointermove",t),z.current=null};return null!==z.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[R,B,z]),l.useEffect(()=>{let e=()=>B(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[B]);let[K,U]=ti(e=>{let t=_().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=ta(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),Z=l.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==j.value&&j.value===t||n)&&(A(e),n&&($.current=!0))},[j.value]),Y=l.useCallback(()=>R?.focus(),[R]),q=l.useCallback((e,t,r)=>{let n=!$.current&&!r;(void 0!==j.value&&j.value===t||n)&&M(e)},[j.value]),X="popper"===n?eF:eH,G=X===eF?{side:u,sideOffset:d,align:f,alignOffset:m,arrowPadding:h,collisionBoundary:y,collisionPadding:g,sticky:w,hideWhenDetached:x,avoidCollisions:E}:{};return(0,c.jsx)(eO,{scope:r,content:R,viewport:T,onViewportChange:L,itemRefCallback:Z,selectedItem:W,onItemLeave:Y,itemTextRefCallback:q,focusSelectedItem:F,selectedItemText:I,position:n,isPositioned:O,searchRef:K,children:(0,c.jsx)(ev.Z,{as:p.g7,allowPinchZoom:!0,children:(0,c.jsx)(k,{asChild:!0,trapped:j.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:s(o,e=>{j.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,c.jsx)(b,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>j.onOpenChange(!1),children:(0,c.jsx)(X,{role:"listbox",id:j.contentId,"data-state":j.open?"open":"closed",dir:j.dir,onContextMenu:e=>e.preventDefault(),...C,...G,onPlaced:()=>V(!0),ref:D,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:s(C.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||U(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(()=>H(t)),e.preventDefault()}})})})})})})});e$.displayName="SelectContentImpl";var eH=l.forwardRef((e,t)=>{let{__scopeSelect:r,onPlaced:n,...o}=e,i=ej(eM,r),a=eV(eM,r),[s,d]=l.useState(null),[f,p]=l.useState(null),m=v(t,e=>p(e)),h=ex(r),g=l.useRef(!1),w=l.useRef(!0),{viewport:x,selectedItem:b,selectedItemText:E,focusSelectedItem:C}=a,S=l.useCallback(()=>{if(i.trigger&&i.valueNode&&s&&f&&x&&b&&E){let e=i.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),r=i.valueNode.getBoundingClientRect(),o=E.getBoundingClientRect();if("rtl"!==i.dir){let n=o.left-t.left,l=r.left-n,i=e.left-l,a=e.width+i,c=Math.max(a,t.width),d=u(l,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=a+"px",s.style.left=d+"px"}else{let n=t.right-o.right,l=window.innerWidth-r.right-n,i=window.innerWidth-e.right-l,a=e.width+i,c=Math.max(a,t.width),d=u(l,[10,Math.max(10,window.innerWidth-10-c)]);s.style.minWidth=a+"px",s.style.right=d+"px"}let l=h(),a=window.innerHeight-20,c=x.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),m=parseInt(d.paddingTop,10),v=parseInt(d.borderBottomWidth,10),y=p+m+c+parseInt(d.paddingBottom,10)+v,w=Math.min(5*b.offsetHeight,y),C=window.getComputedStyle(x),S=parseInt(C.paddingTop,10),N=parseInt(C.paddingBottom,10),j=e.top+e.height/2-10,R=b.offsetHeight/2,P=p+m+(b.offsetTop+R);if(P<=j){let e=l.length>0&&b===l[l.length-1].ref.current;s.style.bottom="0px";let t=f.clientHeight-x.offsetTop-x.offsetHeight;s.style.height=P+Math.max(a-j,R+(e?N:0)+t+v)+"px"}else{let e=l.length>0&&b===l[0].ref.current;s.style.top="0px";let t=Math.max(j,p+x.offsetTop+(e?S:0)+R);s.style.height=t+(y-P)+"px",x.scrollTop=P-j+x.offsetTop}s.style.margin="10px 0",s.style.minHeight=w+"px",s.style.maxHeight=a+"px",n?.(),requestAnimationFrame(()=>g.current=!0)}},[h,i.trigger,i.valueNode,s,f,x,b,E,i.dir,n]);I(()=>S(),[S]);let[N,j]=l.useState();I(()=>{f&&j(window.getComputedStyle(f).zIndex)},[f]);let R=l.useCallback(e=>{e&&!0===w.current&&(S(),C?.(),w.current=!1)},[S,C]);return(0,c.jsx)(eB,{scope:r,contentWrapper:s,shouldExpandOnScrollRef:g,onScrollButtonChange:R,children:(0,c.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:N},children:(0,c.jsx)(y.WV.div,{...o,ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...o.style}})})})});eH.displayName="SelectItemAlignedPosition";var eF=l.forwardRef((e,t)=>
31{let{__scopeSelect:r,align:n="start",collisionPadding:o=10,...l}=e,i=eS(r);return(0,c.jsx)(en,{...i,...l,ref:t,align:n,collisionPadding:o,style:{boxSizing:"border-box",...l.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)"}})});eF.displayName="SelectPopperPosition";var[eB,ez]=eE(eM,{}),eK="SelectViewport",eU=l.forwardRef((e,t)=>{let{__scopeSelect:r,nonce:n,...o}=e,i=eV(eK,r),a=ez(eK,r),u=v(t,i.onViewportChange),d=l.useRef(0);return(0,c.jsxs)(c.Fragment,{children:[(0,c.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,c.jsx)(ew.Slot,{scope:r,children:(0,c.jsx)(y.WV.div,{"data-radix-select-viewport":"",role:"presentation",...o,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...o.style},onScroll:s(o.onScroll,e=>{let t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=a;if(n?.current&&r){let e=Math.abs(d.current-t.scrollTop);if(e>0){let n=window.innerHeight-20,o=Math.max(parseFloat(r.style.minHeight),parseFloat(r.style.height));if(o<n){let l=o+e,i=Math.min(n,l),a=l-i;r.style.height=i+"px","0px"===r.style.bottom&&(t.scrollTop=a>0?a:0,r.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});eU.displayName=eK;var eZ="SelectGroup",[eY,eq]=eE(eZ),eX=l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=O();return(0,c.jsx)(eY,{scope:r,id:o,children:(0,c.jsx)(y.WV.div,{role:"group","aria-labelledby":o,...n,ref:t})})});eX.displayName=eZ;var eG="SelectLabel",eJ=l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=eq(eG,r);return(0,c.jsx)(y.WV.div,{id:o.id,...n,ref:t})});eJ.displayName=eG;var eQ="SelectItem",[e0,e1]=eE(eQ),e2=l.forwardRef((e,t)=>{let{__scopeSelect:r,value:n,disabled:o=!1,textValue:i,...a}=e,u=ej(eQ,r),d=eV(eQ,r),f=u.value===n,[p,m]=l.useState(i??""),[h,g]=l.useState(!1),w=v(t,e=>d.itemRefCallback?.(e,n,o)),x=O(),b=l.useRef("touch"),E=()=>{o||(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,c.jsx)(e0,{scope:r,value:n,disabled:o,textId:x,isSelected:f,onItemTextChange:l.useCallback(e=>{m(t=>t||(e?.textContent??"").trim())},[]),children:(0,c.jsx)(ew.ItemSlot,{scope:r,value:n,disabled:o,textValue:p,children:(0,c.jsx)(y.WV.div,{role:"option","aria-labelledby":x,"data-highlighted":h?"":void 0,"aria-selected":f&&h,"data-state":f?"checked":"unchecked","aria-disabled":o||void 0,"data-disabled":o?"":void 0,tabIndex:o?void 0:-1,...a,ref:w,onFocus:s(a.onFocus,()=>g(!0)),onBlur:s(a.onBlur,()=>g(!1)),onClick:s(a.onClick,()=>{"mouse"!==b.current&&E()}),onPointerUp:s(a.onPointerUp,()=>{"mouse"===b.current&&E()}),onPointerDown:s(a.onPointerDown,e=>{b.current=e.pointerType}),onPointerMove:s(a.onPointerMove,e=>{b.current=e.pointerType,o?d.onItemLeave?.():"mouse"===b.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:s(a.onPointerLeave,e=>{e.currentTarget===document.activeElement&&d.onItemLeave?.()}),onKeyDown:s(a.onKeyDown,e=>{d.searchRef?.current!==""&&" "===e.key||(ey.includes(e.key)&&E()," "===e.key&&e.preventDefault())})})})})});e2.displayName=eQ;var e9="SelectItemText",e3=l.forwardRef((e,t)=>{let{__scopeSelect:r,className:n,style:o,...i}=e,u=ej(e9,r),s=eV(e9,r),d=e1(e9,r),f=eP(e9,r),[p,m]=l.useState(null),h=v(t,e=>m(e),d.onItemTextChange,e=>s.itemTextRefCallback?.(e,d.value,d.disabled)),g=p?.textContent,w=l.useMemo(()=>(0,c.jsx)("option",{value:d.value,disabled:d.disabled,children:g},d.value),[d.disabled,d.value,g]),{onNativeOptionAdd:x,onNativeOptionRemove:b}=f;return I(()=>(x(w),()=>b(w)),[x,b,w]),(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(y.WV.span,{id:d.textId,...i,ref:h}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?a.createPortal(i.children,u.valueNode):null]})});e3.displayName=e9;var e7="SelectItemIndicator",e5=l.forwardRef((e,t)=>
31{let{__scopeSelect:r,...n}=e;return e1(e7,r).isSelected?(0,c.jsx)(y.WV.span,{"aria-hidden":!0,...n,ref:t}):null});e5.displayName=e7;var e4="SelectScrollUpButton",e6=l.forwardRef((e,t)=>{let r=eV(e4,e.__scopeSelect),n=ez(e4,e.__scopeSelect),[o,i]=l.useState(!1),a=v(t,n.onScrollButtonChange);return I(()=>{if(r.viewport&&r.isPositioned){let e=function(){i(t.scrollTop>0)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,c.jsx)(tt,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});e6.displayName=e4;var e8="SelectScrollDownButton",te=l.forwardRef((e,t)=>{let r=eV(e8,e.__scopeSelect),n=ez(e8,e.__scopeSelect),[o,i]=l.useState(!1),a=v(t,n.onScrollButtonChange);return I(()=>{if(r.viewport&&r.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;i(Math.ceil(t.scrollTop)<e)},t=r.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[r.viewport,r.isPositioned]),o?(0,c.jsx)(tt,{...e,ref:a,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=r;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});te.displayName=e8;var tt=l.forwardRef((e,t)=>{let{__scopeSelect:r,onAutoScroll:n,...o}=e,i=eV("SelectScrollButton",r),a=l.useRef(null),u=ex(r),d=l.useCallback(()=>{null!==a.current&&(window.clearInterval(a.current),a.current=null)},[]);return l.useEffect(()=>()=>d(),[d]),I(()=>{let e=u().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[u]),(0,c.jsx)(y.WV.div,{"aria-hidden":!0,...o,ref:t,style:{flexShrink:0,...o.style},onPointerDown:s(o.onPointerDown,()=>{null===a.current&&(a.current=window.setInterval(n,50))}),onPointerMove:s(o.onPointerMove,()=>{i.onItemLeave?.(),null===a.current&&(a.current=window.setInterval(n,50))}),onPointerLeave:s(o.onPointerLeave,()=>{d()})})}),tr=l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e;return(0,c.jsx)(y.WV.div,{"aria-hidden":!0,...n,ref:t})});tr.displayName="SelectSeparator";var tn="SelectArrow";function to(e){return""===e||void 0===e}l.forwardRef((e,t)=>{let{__scopeSelect:r,...n}=e,o=eS(r),l=ej(tn,r),i=eV(tn,r);return l.open&&"popper"===i.position?(0,c.jsx)(ei,{...o,...n,ref:t}):null}).displayName=tn;var tl=l.forwardRef((e,t)=>{let{value:r,...n}=e,o=l.useRef(null),i=v(t,o),a=(0,ef.D)(r);return l.useEffect(()=>{let e=o.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(a!==r&&t){let n=new Event("change",{bubbles:!0});t.call(e,r),e.dispatchEvent(n)}},[a,r]),(0,c.jsx)(ep,{asChild:!0,children:(0,c.jsx)("select",{...n,ref:i,defaultValue:r})})});function ti(e){let t=(0,g.W)(e),r=l.useRef(""),n=l.useRef(0),o=l.useCallback(e=>{let o=r.current+e;t(o),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),i=l.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return l.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,o,i]}function ta(e,t,r){var n;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=(n=Math.max(r?e.indexOf(r):-1,0),e.map((t,r)=>e[(n+r)%e.length]));1===o.length&&(l=l.filter(e=>e!==r));let i=l.find(e=>e.textValue.toLowerCase().startsWith(o.toLowerCase()));return i!==r?i:void 0}tl.displayName="BubbleSelect";var tu=ek,ts=eL,tc=eW,td=eA,tf=eI,tp=e_,tm=eU,tv=eX,th=eJ,ty=e2,tg=e3,tw=e5,tx=e6,tb=te,tE=tr},4222:function(e,t,r){r.d(t,{g7:function(){return i}});var n=r(67294);function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var l=r(85893),i=n.forwardRef((e,t)=>{let{children:r,...o}=e,i=n.Children.toArray(r),u=i.find(s);if(u){let e=u.props.children,r=i.map(t=>t!==u?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,l.jsx)(a,{...o,ref:t,children:n.isValidElement(e)?n.cloneElement(e,void 0,r):null})}return(0,l.jsx)(a,{...o,ref:t,children:r})});i.displayName="Slot";var a=n.forwardRef((e,t)=>{let{children:r,...l}=e;if(n.isValidElement(r)){let e,i;let a=(e=Object.getOwnPropertyDescriptor(r.props,"ref")?.get)&&"isReactWarning"in e&&e.
31isReactWarning?r.ref:(e=Object.getOwnPropertyDescriptor(r,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?r.props.ref:r.props.ref||r.ref;return n.cloneElement(r,{...function(e,t){let r={...t};for(let n in t){let o=e[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...e)=>{l(...e),o(...e)}:o&&(r[n]=o):"style"===n?r[n]={...o,...l}:"className"===n&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...e,...r}}(l,r.props),ref:t?function(...e){return t=>{let r=!1,n=e.map(e=>{let n=o(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():o(e[t],null)}}}}(t,a):a})}return n.Children.count(r)>1?n.Children.only(null):null});a.displayName="SlotClone";var u=({children:e})=>(0,l.jsx)(l.Fragment,{children:e});function s(e){return n.isValidElement(e)&&e.type===u}},79698:function(e,t,r){r.d(t,{W:function(){return o}});var n=r(67294);function o(e){let t=n.useRef(e);return n.useEffect(()=>{t.current=e}),n.useMemo(()=>(...e)=>t.current?.(...e),[])}},57898:function(e,t,r){r.d(t,{D:function(){return o}});var n=r(67294);function o(e){let t=n.useRef({value:e,previous:e});return n.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}},56060:function(e,t,r){r.d(t,{t:function(){return l}});var n=r(67294),o=globalThis?.document?n.useLayoutEffect:()=>{};function l(e){let[t,r]=n.useState(void 0);return o(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,o;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,o=t.blockSize}else n=e.offsetWidth,o=e.offsetHeight;r({width:n,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}}}]);

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.