1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,783222,433336,394487,992704,e=>{"use strict";let t;e.i(247167);let n=e=>e?.ownerDocument??document,r=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window;function o(e,t){return!!t&&!!e&&e.contains(t)}function i(e){return e.target}let l=null;"u">typeof Element&&Element.prototype;let u=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"];u.join(":not([hidden]),"),u.push('[tabindex]:not([tabindex="-1"]):not([disabled])'),u.join(':not([hidden]):not([tabindex="-1"]),');var s=e.i(271645);let a="u">typeof document?s.default.useLayoutEffect:()=>{};function c(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function f(e){let t=(0,s.useRef)({isFocused:!1,observer:null});return a(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,s.useCallback)(n=>{let r=i(n);(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement)&&(t.current.isFocused=!0,r.addEventListener("focusout",n=>{if(t.current.isFocused=!1,r.disabled){let t=c(n);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&r.disabled){t.current.observer?.disconnect();let e=r===((e=document)=>e.activeElement)()?null:((e=document)=>e.activeElement)();r.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]}))},[e])}function d(e){if("u"<typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function p(e){return"u">typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function m(e){let t=null;return()=>(null==t&&(t=e()),t)}let v=m(function(){return p(/^Mac/i)}),g=m(function(){return p(/^iPhone/i)}),h=m(function(){return p(/^iPad/i)||v()&&navigator.maxTouchPoints>1}),b=m(function(){return g()||h()});m(function(){return v()||b()});let y=m(function(){return d(/AppleWebKit/i)&&!E()}),E=m(function(){return d(/Chrome/i)}),T=m(function(){return d(/Android/i)}),w=m(function(){return d(/Firefox/i)});function L(e,t,n=!0){let{metaKey:r,ctrlKey:o,altKey:i,shiftKey:u}=t;w()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&(v()?r=!0:o=!0);let s=y()&&v()&&!h()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:r,ctrlKey:o,altKey:i,shiftKey:u}):new MouseEvent("click",{metaKey:r,ctrlKey:o,altKey:i,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});L.isOpening=n;if(function(){if(null==l){l=!1;try{document.createElement("div").focus({get preventScroll(){return l=!0,!0}})}catch{}}return l}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}e.dispatchEvent(s),L.isOpening=!1}L.isOpening=!1;let M={prefix:String(Math.round(1e10*Math.random())),current:0};s.default.createContext(M),s.default.createContext(!1),"u">typeof window&&window.document&&window.document.createElement,new WeakMap;s.default.useId;let C=null,F=new Set,x=new Map,H=!1,P=!1,R={Tab:!0,Escape:!0};function k(e,t){for(let n of F)n(e,t)}function S(e){H=!0,L.isOpening||e.metaKey||!v()&&e.altKey||e.ctrlKey||"Control"
1===e.key||"Shift"===e.key||"Meta"===e.key||(C="keyboard",k("keyboard",e))}function A(e){C="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(H=!0,k("pointer",e))}function O(e){L.isOpening||(""!==e.pointerType||!e.isTrusted)&&(T()&&e.pointerType?"click"!==e.type||1!==e.buttons:0!==e.detail||e.pointerType)||(H=!0,C="virtual")}function K(e){let t=r(i(e)),o=n(i(e));i(e)!==t&&i(e)!==o&&e.isTrusted&&(H||P||(C="virtual",k("virtual",e)),H=!1,P=!1)}function W(){H=!1,P=!0}function D(e){if("u"<typeof window||"u"<typeof document)return;let t=r(e),o=n(e);if(x.get(t))return;let i=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){H=!0,i.apply(this,arguments)},o.addEventListener("keydown",S,!0),o.addEventListener("keyup",S,!0),o.addEventListener("click",O,!0),t.addEventListener("focus",K,!0),t.addEventListener("blur",W,!1),"u">typeof PointerEvent&&(o.addEventListener("pointerdown",A,!0),o.addEventListener("pointermove",A,!0),o.addEventListener("pointerup",A,!0)),t.addEventListener("beforeunload",()=>{I(e)},{once:!0}),x.set(t,{focus:i})}let I=(e,t)=>{let o=r(e),i=n(e);t&&i.removeEventListener("DOMContentLoaded",t),x.has(o)&&(o.HTMLElement.prototype.focus=x.get(o).focus,i.removeEventListener("keydown",S,!0),i.removeEventListener("keyup",S,!0),i.removeEventListener("click",O,!0),o.removeEventListener("focus",K,!0),o.removeEventListener("blur",W,!1),"u">typeof PointerEvent&&(i.removeEventListener("pointerdown",A,!0),i.removeEventListener("pointermove",A,!0),i.removeEventListener("pointerup",A,!0)),x.delete(o))};function B(){return"pointer"!==C}"u">typeof document&&("loading"!==(t=n(void 0)).readyState?D(void 0):t.addEventListener("DOMContentLoaded",()=>{D(void 0)}));let N=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function j(){let e=(0,s.useRef)(new Map),t=(0,s.useCallback)((t,n,r,o)=>{let i=o?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,i,o)},[]),n=(0,s.useCallback)((t,n,r,o)=>{let i=e.current.get(r)?.fn||r;t.removeEventListener(n,i,o),e.current.delete(r)},[]),r=(0,s.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,s.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}e.s(["useFocusRing",0,function(e={}){var t;let{autoFocus:l=!1,isTextInput:u,within:a}=e,d=(0,s.useRef)({isFocused:!1,isFocusVisible:l||B()}),[p,m]=(0,s.useState)(!1),[v,g]=(0,s.useState)(()=>d.current.isFocused&&d.current.isFocusVisible),h=(0,s.useCallback)(()=>g(d.current.isFocused&&d.current.isFocusVisible),[]),b=(0,s.useCallback)(e=>{d.current.isFocused=e,d.current.isFocusVisible=B(),m(e),h()},[h]);t={enabled:p,isTextInput:u},D(),(0,s.useEffect)(()=>{if(t?.enabled===!1)return;let e=(e,o)=>{var l;let u,s,a,c,f,p,m,v;l=!!t?.isTextInput,s=n(u=o?i(o):void 0),c=void 0!==(a=r(u))?a.HTMLInputElement:HTMLInputElement,f=void 0!==a?a.HTMLTextAreaElement:HTMLTextAreaElement,p=void 0!==a?a.HTMLElement:HTMLElement,m=void 0!==a?a.KeyboardEvent:KeyboardEvent,v=((e=document)=>e.activeElement)(s),(l=l||v instanceof c&&!N.has(v.type)||v instanceof f||v instanceof p&&v.isContentEditable)&&"keyboard"===e&&o instanceof m&&!R[o.key]||(e=>{d.current.isFocusVisible=e,h()})(B())};return F.add(e),()=>{F.delete(e)}},[u,p]);let{focusProps:y}=function(e){let{isDisabled:t,onFocus:r,onBlur:o,onFocusChange:l}=e,u=(0,s.useCallback)(e=>{if(i(e)===e.currentTarget)return o&&o(e),l&&l(!1),!0},[o,l]),a=f(u),c=(0,s.useCallback)(e=>{let t=i(e),o=n(t),u=o?((e=document)=>e.activeElement)(o):((e=document)=>e.activeElement)();t===e.currentTarget&&t===u&&(r&&r(e),l&&l(!0),a(e))},[l,r,a]);return{focusProps:{onFocus:!t&&(r||l||o)?c:void 0,onBlur:!t&&(o||l)?u:void 0}}}({isDisabled:a,onFocusChange:b}),{focusWithinProps:E}=function(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:l,onFocusWithinChange:u}=e,a=(0,s.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:p}=j(),m=(0,s.useCallback)(e=>{o(e.currentTarget,i(e))&&a.current.isFocusWithin&&!o(e.currentTarget,e.relatedTarget)&&(a.current.isFocusWithin=!1,p(),r&&r(e),u&&u(!1))},[r,u,a,p]),v=f(m),g=(0,s.useCallback)(e=>{if(!o(e.currentTarget,i(e)))return;let t=i(e),r=n(t),s=((e=document)=>e.activeElement)(r);if(!a.current.isFocusWithin&&s===t){l&&l(e),u&&u(!0),a.current.isFocusWithin=!0,v(e);let t=e.currentTarget;d(r,"focus",e=>{let n=i(e);if(a.current.isFocusWithin&&!o(t,n)){let e=new r.defaultView.FocusEvent("blur",{relatedTarget:n});Object.defineProperty(e,"target",{value:t}
1),Object.defineProperty(e,"currentTarget",{value:t}),m(c(e))}},{capture:!0})}},[l,u,v,d,m]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:g,onBlur:m}}}({isDisabled:!a,onFocusWithinChange:b});return{isFocused:p,isFocusVisible:v,focusProps:a?E:y}}],783222);let V=!1,$=0;function G(e){"touch"===e.pointerType&&(V=!0,setTimeout(()=>{V=!1},500))}function q(){let e=n(null);if(void 0!==e)return 0===$&&"u">typeof PointerEvent&&e.addEventListener("pointerup",G),$++,()=>{!(--$>0)&&"u">typeof PointerEvent&&e.removeEventListener("pointerup",G)}}e.s(["useHover",0,function(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:l,isDisabled:u}=e,[a,c]=(0,s.useState)(!1),f=(0,s.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,s.useEffect)(q,[]);let{addGlobalListener:d,removeAllGlobalListeners:p}=j(),{hoverProps:m,triggerHoverEnd:v}=(0,s.useMemo)(()=>{let e=(e,t)=>{let n=f.target;f.pointerType="",f.target=null,"touch"!==t&&f.isHovered&&n&&(f.isHovered=!1,p(),l&&l({type:"hoverend",target:n,pointerType:t}),r&&r(!1),c(!1))},s={};return"u">typeof PointerEvent&&(s.onPointerEnter=l=>{V&&"mouse"===l.pointerType||((l,s)=>{if(f.pointerType=s,u||"touch"===s||f.isHovered||!o(l.currentTarget,i(l)))return;f.isHovered=!0;let a=l.currentTarget;f.target=a,d(n(i(l)),"pointerover",t=>{f.isHovered&&f.target&&!o(f.target,i(t))&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:a,pointerType:s}),r&&r(!0),c(!0)})(l,l.pointerType)},s.onPointerLeave=t=>{!u&&o(t.currentTarget,i(t))&&e(t,t.pointerType)}),{hoverProps:s,triggerHoverEnd:e}},[t,r,l,u,f,d,p]);return(0,s.useEffect)(()=>{u&&v({currentTarget:f.target},f.pointerType)},[u]),{hoverProps:m,isHovered:a}}],433336);var U=e.i(402155),Y=e.i(746725),z=e.i(914189);e.s(["useActivePress",0,function({disabled:e=!1}={}){let t=(0,s.useRef)(null),[n,r]=(0,s.useState)(!1),o=(0,Y.useDisposables)(),i=(0,z.useEvent)(()=>{t.current=null,r(!1),o.dispose()}),l=(0,z.useEvent)(e=>{if(o.dispose(),null===t.current){t.current=e.currentTarget,r(!0);{let n=(0,U.getOwnerDocument)(e.currentTarget);o.addEventListener(n,"pointerup",i,!1),o.addEventListener(n,"pointermove",e=>{if(t.current){var n,o;let i,l;r((i=e.width/2,l=e.height/2,n={top:e.clientY-l,right:e.clientX+i,bottom:e.clientY+l,left:e.clientX-i},o=t.current.getBoundingClientRect(),!(!n||!o||n.right<o.left||n.left>o.right||n.bottom<o.top||n.top>o.bottom)))}},!1),o.addEventListener(n,"pointercancel",i,!1)}}});return{pressed:n,pressProps:e?{}:{onPointerDown:l,onPointerUp:i,onClick:i}}}],394487);var X=e.i(544508),J=e.i(835696);function _(e){if(null===e)return{width:0,height:0};let{width:t,height:n}=e.getBoundingClientRect();return{width:t,height:n}}
1e.s(["useElementSize",0,function(e,t,n=!1){let[r,o]=(0,s.useState)(()=>_(t));return(0,J.useIsoMorphicEffect)(()=>{if(!t||!e)return;let n=(0,X.disposables)();return n.requestAnimationFrame(function e(){n.requestAnimationFrame(e),o(e=>{let n=_(t);return n.width===e.width&&n.height===e.height?e:n})}),()=>{n.dispose()}},[t,e]),n?{width:`${r.width}px`,height:`${r.height}px`}:r}],992704)},233538,e=>{"use strict";var t=e.i(813581);e.s(["isDisabledReactIssue7711",0,function(e){let n=e.parentElement,r=null;for(;n&&!t.isHTMLFieldSetElement(n);)t.isHTMLLegendElement(n)&&(r=n),n=n.parentElement;let o=(null==n?void 0:n.getAttribute("disabled"))==="";return!(o&&function(e){if(!e)return!1;let n=e.previousElementSibling;for(;null!==n;){if(t.isHTMLLegendElement(n))return!1;n=n.previousElementSibling}return!0}(r))&&o}])},144279,919751,e=>{"use strict";var t=e.i(271645);e.s(["useResolveButtonType",0,function(e,n){return(0,t.useMemo)(()=>{var t;if(e.type)return e.type;let r=null!=(t=e.as)?t:"button";if("string"==typeof r&&"button"===r.toLowerCase()||(null==n?void 0:n.tagName)==="BUTTON"&&!n.hasAttribute("type"))return"button"},[e.type,e.as,n])}],144279);var n=e.i(953760),r=e.i(258950);e.i(247167);var o=e.i(229315),i=e.i(343084),l="u"<typeof Element;l||Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l||Element.prototype.getRootNode;var u=e.i(174080);let s={...t},a=s.useInsertionEffect||(e=>e());function c(e){let n=t.useRef(()=>{});return a(()=>{n.current=e}),t.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return null==n.current?void 0:n.current(...t)},[])}var f="u">typeof document?t.useLayoutEffect:t.useEffect;let d=!1,p=0,m=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+p++,v=s.useId||function(){let[e,n]=t.useState(()=>d?m():void 0);return f(()=>{null==e&&n(m())},[]),t.useEffect(()=>{d=!0},[]),e},g=t.createContext(null),h=t.createContext(null),b="active",y="selected";function E(e,t,n){let r=new Map,o="item"===n,i=e;if(o&&e){let{[b]:t,[y]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,"data-floating-ui-focusable":""},...i,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,i]=t;if(!(o&&[b,y].includes(n)))if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof i){var l;null==(l=r.get(n))||l.push(i),e[n]=function(){for(var e,t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map(e=>e(...o)).find(e=>void 0!==e)}}}else e[n]=i}),e),{})}}function T(e,t){return{...e,rects:{...e.rects,floating:{...e.rects.floating,height:t}}}}var w=e.i(746725),L=e.i(914189),M=e.i(835696),C=e.i(813581);let F=(0,t.createContext)({styles:void 0,setReference:()=>{},setFloating:()=>{},getReferenceProps:()=>({}),getFloatingProps:()=>({}),slot:{}});F.displayName="FloatingContext";let x=(0,t.createContext)(null);function H(e,n,r){let o=(0,w.useDisposables)(),i=(0,L.useEvent)((e,t)=>{if(null==e)return[r,null];if("number"==typeof e)return[e,null];if("string"==typeof e){if(!t)return[r,null];let n=P(e,t);return[n,r=>{let i=function e(t){let n=/var\((.*)\)/.exec(t);if(n){let t=n[1].indexOf(",");if(-1===t)return[n[1]];let r=n[1].slice(0,t).trim(),o=n[1].slice(t+1).trim();return o?[r,...e(o)]:[r]}return[]}(e);{let l=i.map(e=>window.getComputedStyle(t).getPropertyValue(e));o.requestAnimationFrame(function u(){o.nextFrame(u);let s=!1;for(let[e,n]of i.entries()){let r=window.getComputedStyle(t).getPropertyValue(n);if(l[e]!==r){l[e]=r,s=!0;break}}if(!s)return;let a=P(e,t);n!==a&&(r(a),n=a)})}return o.dispose}]}return[r,null]}),l=(0,t.useMemo)(()=>i(e,n)[0],[e,n]),[u=l,s]=(0,t.useState)();return(0,M.useIsoMorphicEffect)(()=>{let[t,r]=i(e,n);if(s(t),r)return r(s)},[e,n]),u}function P(e,t){let n=document.createElement("div");t.appendChild(n),n.style.setProperty("margin-top","0px","important"),n.style.setProperty("margin-top",e,"important");let r=parseFloat(window.getComputedStyle(n).marginTop)||0;return t.removeChild(n),r}x.displayName="PlacementContext",e.s(["FloatingProvider",0,function({children:e,enabled:l=!0}){var s,a,d,p,m,b,y;let w,P,R,k,S,A,O,K,W,D,[I,B]=(0,t.useState)(null),[N,j]=(0,t.useState)(0),V=(0,t.useRef)(null),[$,G]=(0,t.useState)(null);a=$,(0,M.useIsoMorphicEffect)(()=>
1{if(!a)return;let e=new MutationObserver(()=>{let e=window.getComputedStyle(a).maxHeight,t=parseFloat(e);if(isNaN(t))return;let n=parseInt(e);isNaN(n)||t!==n&&(a.style.maxHeight=`${Math.ceil(t)}px`)});return e.observe(a,{attributes:!0,attributeFilter:["style"]}),()=>{e.disconnect()}},[a]);let q=l&&null!==I&&null!==$,{to:U="bottom",gap:Y=0,offset:z=0,padding:X=0,inner:J}=(d=I,p=$,w=H(null!=(m=null==d?void 0:d.gap)?m:"var(--anchor-gap, 0)",p),P=H(null!=(b=null==d?void 0:d.offset)?b:"var(--anchor-offset, 0)",p),R=H(null!=(y=null==d?void 0:d.padding)?y:"var(--anchor-padding, 0)",p),{...d,gap:w,offset:P,padding:R}),[_,Q="center"]=U.split(" ");(0,M.useIsoMorphicEffect)(()=>{q&&j(0)},[q]);let{refs:Z,floatingStyles:ee,context:et}=function(e){void 0===e&&(e={});let{nodeId:n}=e,i=function(e){var n;let{open:r=!1,onOpenChange:o,elements:i}=e,l=v(),u=t.useRef({}),[s]=t.useState(()=>{let e;return e=new Map,{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}}),a=null!=((null==(n=t.useContext(g))?void 0:n.id)||null),[f,d]=t.useState(i.reference),p=c((e,t,n)=>{u.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:a}),null==o||o(e,t,n)}),m=t.useMemo(()=>({setPositionReference:d}),[]),h=t.useMemo(()=>({reference:f||i.reference||null,floating:i.floating||null,domReference:i.reference}),[f,i.reference,i.floating]);return t.useMemo(()=>({dataRef:u,open:r,onOpenChange:p,elements:h,events:s,floatingId:l,refs:m}),[r,p,h,s,l,m])}({...e,elements:{reference:null,floating:null,...e.elements}}),l=e.rootContext||i,u=l.elements,[s,a]=t.useState(null),[d,p]=t.useState(null),m=(null==u?void 0:u.domReference)||s,b=t.useRef(null),y=t.useContext(h);f(()=>{m&&(b.current=m)},[m]);let E=(0,r.useFloating)({...e,elements:{...u,...d&&{reference:d}}}),T=t.useCallback(e=>{let t=(0,o.isElement)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;p(t),E.refs.setReference(t)},[E.refs]),w=t.useCallback(e=>{((0,o.isElement)(e)||null===e)&&(b.current=e,a(e)),((0,o.isElement)(E.refs.reference.current)||null===E.refs.reference.current||null!==e&&!(0,o.isElement)(e))&&E.refs.setReference(e)},[E.refs]),L=t.useMemo(()=>({...E.refs,setReference:w,setPositionReference:T,domReference:b}),[E.refs,w,T]),M=t.useMemo(()=>({...E.elements,domReference:m}),[E.elements,m]),C=t.useMemo(()=>({...E,...l,refs:L,elements:M,nodeId:n}),[E,L,M,n,l]);return f(()=>{l.dataRef.current.floatingContext=C;let e=null==y?void 0:y.nodesRef.current.find(e=>e.id===n);e&&(e.context=C)}),t.useMemo(()=>({...E,context:C,refs:L,elements:M}),[E,L,M,C])}({open:q,placement:"selection"===_?"center"===Q?"bottom":`bottom-${Q}`:"center"===Q?`${_}`:`${_}-${Q}`,strategy:"absolute",transform:!1,middleware:[(0,r.offset)({mainAxis:"selection"===_?0:Y,crossAxis:z}),(0,r.shift)({padding:X}),"selection"!==_&&(0,r.flip)({padding:X}),"selection"===_&&J?{name:"inner",options:k={...J,padding:X,overflowRef:V,offset:N,minItemsVisible:4,referenceOverflowThreshold:X,onFallbackChange(e){var t,n;if(!e)return;let r=et.elements.floating;if(!r)return;let o=parseFloat(getComputedStyle(r).scrollPaddingBottom)||0,i=Math.min(4,r.childElementCount),l=0,u=0;for(let e of null!=(n=null==(t=et.elements.floating)?void 0:t.childNodes)?n:[])if(C.isHTMLElement(e)){let t=e.offsetTop,n=t+e.clientHeight+o,s=r.scrollTop,a=s+r.clientHeight;if(t>=s&&n<=a)i--;else{u=Math.max(0,Math.min(n,a)-Math.max(t,s)),l=e.clientHeight;break}}i>=1&&j(e=>{let t=l*i-u+o;return e>=t?e:t})}},async fn(e){let{listRef:t,overflowRef:o,onFallbackChange:l,offset:s=0,index:a=0,minItemsVisible:c=4,referenceOverflowThreshold:f=0,scrollRef:d,...p}=(0,i.evaluate)(k,e),{rects:m,elements:{floating:v}}=e,g=t.current[a],h=(null==d?void 0:d.current)||v,b=v.clientTop||h.clientTop,y=0!==v.clientTop,E=0!==h.clientTop,w=v===h;if(!g)return{};let L={...e,...await (0,r.offset)(-g.offsetTop-v.clientTop-m.reference.height/2-g.offsetHeight/2-s).fn(e)},M=await (0,n.detectOverflow)(T(L,h.scrollHeight+b+v.clientTop),p),C=await (0,n.detectOverflow)(L,{...p,elementContext:"reference"}),F=(0,i.max)(0,M.top),x=L.y+F,H=(h.scrollHeight>h.clientHeight?e=>e:i.round)((0,i.max)(0,h.scrollHeight+(y&&w||E?2*b:0)-F-(0,i.max)(0,M.bottom)));if(h.style.maxHeight=H+"px",h.scrollTop=F,l){let e=h.offsetHeight<g.offsetHeight*(0,i.min)(c,t.current.length)-1||C.top>=-f||C.bottom>=-f;u.flushSync(()=>l(e))}return o&&(o.current=await (0,n.detectOverflow)(T({...L,y:x},h.offsetHeight+b+v.clientTop),p)),{y:x}}}:null,(0,r.size)({padding:X,apply({availableWidth:e,availableHeight:t,elements:n}){Object.assign(n.floating.style,{overflow:"auto",maxWidth:`${e}px`,maxHeight:`min(var(--anchor-max-height, 100vh), ${t}px)`})}}
1)].filter(Boolean),whileElementsMounted:n.autoUpdate}),[en=_,er=Q]=et.placement.split("-");"selection"===_&&(en="selection");let eo=(0,t.useMemo)(()=>({anchor:[en,er].filter(Boolean).join(" ")}),[en,er]),{getReferenceProps:ei,getFloatingProps:el}=(S=(s=[function(e,n){let{open:r,elements:o}=e,{enabled:i=!0,overflowRef:l,scrollRef:s,onChange:a}=n,f=c(a),d=t.useRef(!1),p=t.useRef(null),m=t.useRef(null);t.useEffect(()=>{if(!i)return;function e(e){if(e.ctrlKey||!t||null==l.current)return;let n=e.deltaY,r=l.current.top>=-.5,o=l.current.bottom>=-.5,i=t.scrollHeight-t.clientHeight,s=n<0?-1:1,a=n<0?"max":"min";if(!(t.scrollHeight<=t.clientHeight))if(!r&&n>0||!o&&n<0)e.preventDefault(),u.flushSync(()=>{f(e=>e+Math[a](n,i*s))});else{let e;/firefox/i.test((e=navigator.userAgentData)&&Array.isArray(e.brands)?e.brands.map(e=>{let{brand:t,version:n}=e;return t+"/"+n}).join(" "):navigator.userAgent)&&(t.scrollTop+=n)}}let t=(null==s?void 0:s.current)||o.floating;if(r&&t)return t.addEventListener("wheel",e),requestAnimationFrame(()=>{p.current=t.scrollTop,null!=l.current&&(m.current={...l.current})}),()=>{p.current=null,m.current=null,t.removeEventListener("wheel",e)}},[i,r,o.floating,l,s,f]);let v=t.useMemo(()=>({onKeyDown(){d.current=!0},onWheel(){d.current=!1},onPointerMove(){d.current=!1},onScroll(){let e=(null==s?void 0:s.current)||o.floating;if(l.current&&e&&d.current){if(null!==p.current){let t=e.scrollTop-p.current;(l.current.bottom<-.5&&t<-1||l.current.top<-.5&&t>1)&&u.flushSync(()=>f(e=>e+t))}requestAnimationFrame(()=>{p.current=e.scrollTop})}}}),[o.floating,f,l,s]);return t.useMemo(()=>i?{floating:v}:{},[i,v])}(et,{overflowRef:V,onChange:j})]).map(e=>null==e?void 0:e.reference),A=s.map(e=>null==e?void 0:e.floating),O=s.map(e=>null==e?void 0:e.item),K=t.useCallback(e=>E(e,s,"reference"),S),W=t.useCallback(e=>E(e,s,"floating"),A),D=t.useCallback(e=>E(e,s,"item"),O),t.useMemo(()=>({getReferenceProps:K,getFloatingProps:W,getItemProps:D}),[K,W,D])),eu=(0,L.useEvent)(e=>{G(e),Z.setFloating(e)});return t.createElement(x.Provider,{value:B},t.createElement(F.Provider,{value:{setFloating:eu,setReference:Z.setReference,styles:ee,getReferenceProps:ei,getFloatingProps:el,slot:eo}},e))},"useFloatingPanel",0,function(e=null){!1===e&&(e=null),"string"==typeof e&&(e={to:e});let n=(0,t.useContext)(x),r=(0,t.useMemo)(()=>e,[JSON.stringify(e,(e,t)=>{var n;return null!=(n=null==t?void 0:t.outerHTML)?n:t})]);(0,M.useIsoMorphicEffect)(()=>{null==n||n(null!=r?r:null)},[n,r]);let o=(0,t.useContext)(F);return(0,t.useMemo)(()=>[o.setFloating,e?o.styles:{}],[o.setFloating,e,o.styles])},"useFloatingPanelProps",0,function(){let{getFloatingProps:e,slot:n}=(0,t.useContext)(F);return(0,t.useCallback)((...t)=>Object.assign({},e(...t),{"data-anchor":n.anchor}),[e,n])},"useFloatingReference",0,function(){return(0,t.useContext)(F).setReference},"useFloatingReferenceProps",0,function(){return(0,t.useContext)(F).getReferenceProps},"useResolvedAnchor",0,function(e){return(0,t.useMemo)(()=>e?"string"==typeof e?{to:e}:e:null,[e])}],919751)}]);
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.