PageSourceSearch

https://hoocs.ai/_next/static/chunks/0eeb276880cdae6a.js

js hoocs.ai collected 2026-10-05 05:31:41 UTC 30,458 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,649618,e=>{"use strict";var t,n=e.i(664330),r=e.i(291967),i=e.i(483864),o=e.i(644340),l=e.i(775161),a=e.i(609963),s="dismissableLayer.update",f=n.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),u=n.forwardRef((e,u)=>{let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:h,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:y,onDismiss:v,...w}=e,x=n.useContext(f),[b,E]=n.useState(null),R=b?.ownerDocument??globalThis?.document,[,C]=n.useState({}),L=(0,o.useComposedRefs)(u,e=>E(e)),A=Array.from(x.layers),[P]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),O=A.indexOf(P),S=b?A.indexOf(b):-1,T=x.layersWithOutsidePointerEventsDisabled.size>0,D=S>=O,k=function(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e),i=n.useRef(!1),o=n.useRef(()=>{});return n.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let n=function(){d("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={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);i.current=!1},n=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(n),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));D&&!n&&(m?.(e),y?.(e),e.defaultPrevented||v?.())},R),H=function(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e),i=n.useRef(!1);return n.useEffect(()=>{let e=e=>{e.target&&!i.current&&d("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(g?.(e),y?.(e),e.defaultPrevented||v?.())},R);return!function(e,t=globalThis?.document){let r=(0,l.useCallbackRef)(e);n.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=>{S===x.layers.size-1&&(h?.(e),!e.defaultPrevented&&v&&(e.preventDefault(),v()))},R),n.useEffect(()=>{if(b)return p&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(t=R.body.style.pointerEvents,R.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(b)),x.layers.add(b),c(),()=>{p&&1===x.layersWithOutsidePointerEventsDisabled.size&&(R.body.style.pointerEvents=t)}},[b,R,p,x]),n.useEffect(()=>()=>{b&&(x.layers.delete(b),x.layersWithOutsidePointerEventsDisabled.delete(b),c())},[b,x]),n.useEffect(()=>{let e=()=>C({});return document.addEventListener(s,e),()=>document.removeEventListener(s,e)},[]),(0,a.jsx)(i.Primitive.div,{...w,ref:L,style:{pointerEvents:T?D?"auto":"none":void 0,...e.style},onFocusCapture:(0,r.composeEventHandlers)(e.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,r.composeEventHandlers)(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,r.composeEventHandlers)(e.onPointerDownCapture,k.onPointerDownCapture)})});function c(){let e=new CustomEvent(s);document.dispatchEvent(e)}function d(e,t,n,{discrete:r}){let o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.dispatchDiscreteCustomEvent)(o,l):o.dispatchEvent(l)}u.displayName="DismissableLayer",n.forwardRef((e,t)=>{let r=n.useContext(f),l=n.useRef(null),s=(0,o.useComposedRefs)(t,l);return n.useEffect(()=>{let e=l.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,a.jsx)(i.Primitive.div,{...e,ref:s})}).displayName="DismissableLayerBranch",e.s(["DismissableLayer",()=>u],649618)},836807,731818,e=>{"use strict";let t;
1var n=e.i(664330);let r=["top","right","bottom","left"],i=Math.min,o=Math.max,l=Math.round,a=Math.floor,s=e=>({x:e,y:e}),f={left:"right",right:"left",bottom:"top",top:"bottom"};function u(e,t){return"function"==typeof e?e(t):e}function c(e){return e.split("-")[0]}function d(e){return e.split("-")[1]}function p(e){return"x"===e?"y":"x"}function h(e){return"y"===e?"height":"width"}function m(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let y=["left","right"],v=["right","left"],w=["top","bottom"],x=["bottom","top"];function b(e){let t=c(e);return f[t]+e.slice(t.length)}function E(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function R(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function C(e,t,n){let r,{reference:i,floating:o}=e,l=m(t),a=p(m(t)),s=h(a),f=c(t),u="y"===l,g=i.x+i.width/2-o.width/2,y=i.y+i.height/2-o.height/2,v=i[s]/2-o[s]/2;switch(f){case"top":r={x:g,y:i.y-o.height};break;case"bottom":r={x:g,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:y};break;case"left":r={x:i.x-o.width,y:y};break;default:r={x:i.x,y:i.y}}switch(d(t)){case"start":r[a]-=v*(n&&u?-1:1);break;case"end":r[a]+=v*(n&&u?-1:1)}return r}async function L(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:f="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=u(t,e),m=E(h),g=a[p?"floating"===d?"reference":"floating":d],y=R(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(g)))||n?g:g.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:f,rootBoundary:c,strategy:s})),v="floating"===d?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),x=await (null==o.isElement?void 0:o.isElement(w))&&await (null==o.getScale?void 0:o.getScale(w))||{x:1,y:1},b=R(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:w,strategy:s}):v);return{top:(y.top-b.top+m.top)/x.y,bottom:(b.bottom-y.bottom+m.bottom)/x.y,left:(y.left-b.left+m.left)/x.x,right:(b.right-y.right+m.right)/x.x}}let A=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=l.detectOverflow?l:{...l,detectOverflow:L},s=await (null==l.isRTL?void 0:l.isRTL(t)),f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:c}=C(f,r,s),d=r,p=0,h={};for(let n=0;n<o.length;n++){let m=o[n];if(!m)continue;let{name:g,fn:y}=m,{x:v,y:w,data:x,reset:b}=await y({x:u,y:c,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:f,platform:a,elements:{reference:e,floating:t}});u=null!=v?v:u,c=null!=w?w:c,h[g]={...h[g],...x},b&&p<50&&(p++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(f=!0===b.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:u,y:c}=C(f,d,s)),n=-1)}return{x:u,y:c,placement:d,strategy:i,middlewareData:h}};function P(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function O(e){return r.some(t=>e[t]>=0)}let S=new Set(["left","top"]);async function T(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=c(n),a=d(n),s="y"===m(n),f=S.has(l)?-1:1,p=o&&s?-1:1,h=u(t,e),{mainAxis:g,crossAxis:y,alignmentAxis:v}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return a&&"number"==typeof v&&(y="end"===a?-1*v:v),s?{x:y*p,y:g*f}:{x:g*f,y:y*p}}function D(){return"u">typeof window}function k(e){return F(e)?(e.nodeName||"").toLowerCase():"#document"}function H(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(F(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function F(e){return!!D()&&(e instanceof Node||e instanceof H(e).Node)}function j(e){return!!D()&&(e instanceof Element||e instanceof H(e).Element)}function B(e){return!!D()&&(e instanceof HTMLElement||e instanceof H(e).HTMLElement)}function z(e){return!(!D()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof H(e).ShadowRoot)}function $(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=q(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&"inline"!==i&&"contents"!==i}function M(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let N=/transform|translate|scale|rotate|perspective|filter/,V=/paint|layout|strict|content/,_=e=>!!e&&"none"!==e;function I(e){let t=j(e)?q(e):e;return _(t.transform)||_(t.translate)||_(t.scale)||_(t.rotate)||_(t.perspective)||!Y()&&(_(t.backdropFilter)||_(t.filter))||N.test(t.willChange||"")||V.test(t.contain||"")}function Y(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function X(e){return/^(html|body|#document)$/.test(k(e))}function q(e){return H(e).getComputedStyle(e)}function K(e){return j(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function U(e){if("html"===k(e))return e;let t=e.assignedSlot||e.parentNode||z(e)&&e.host||W(e);return z(t)?t.host:t}function G(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=U(t);return X(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&$(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=H(i);if(!o)return t.concat(i,G(i,[],n));{let e=J(l);
1return t.concat(l,l.visualViewport||[],$(i)?i:[],e&&n?G(e):[])}}function J(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Q(e){let t=q(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=B(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=l(n)!==o||l(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function Z(e){return j(e)?e:e.contextElement}function ee(e){let t=Z(e);if(!B(t))return s(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=Q(t),a=(o?l(n.width):n.width)/r,f=(o?l(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),f&&Number.isFinite(f)||(f=1),{x:a,y:f}}let et=s(0);function en(e){let t=H(e);return Y()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:et}function er(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=Z(e),a=s(1);t&&(r?j(r)&&(a=ee(r)):a=ee(e));let f=(void 0===(i=n)&&(i=!1),r&&(!i||r===H(l))&&i)?en(l):s(0),u=(o.left+f.x)/a.x,c=(o.top+f.y)/a.y,d=o.width/a.x,p=o.height/a.y;if(l){let e=H(l),t=r&&j(r)?H(r):r,n=e,i=J(n);for(;i&&r&&t!==n;){let e=ee(i),t=i.getBoundingClientRect(),r=q(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,p*=e.y,u+=o,c+=l,i=J(n=H(i))}}return R({width:d,height:p,x:u,y:c})}function ei(e,t){let n=K(e).scrollLeft;return t?t.left+n:er(W(e)).left+n}function eo(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ei(e,n),y:n.top+t.scrollTop}}function el(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=H(e),r=W(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=Y();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}let f=ei(r);if(f<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,l=Math.abs(r.clientWidth-t.clientWidth-i);l<=25&&(o-=l)}else f<=25&&(o+=f);return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t){let t,n,l,a,s,f,u;r=W(e),t=W(r),n=K(r),l=r.ownerDocument.body,a=o(t.scrollWidth,t.clientWidth,l.scrollWidth,l.clientWidth),s=o(t.scrollHeight,t.clientHeight,l.scrollHeight,l.clientHeight),f=-n.scrollLeft+ei(r),u=-n.scrollTop,"rtl"===q(l).direction&&(f+=o(t.clientWidth,l.clientWidth)-a),i={width:a,height:s,x:f,y:u}}else if(j(t)){let e,r,o,l,a,f;r=(e=er(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,l=B(t)?ee(t):s(1),a=t.clientWidth*l.x,f=t.clientHeight*l.y,i={width:a,height:f,x:o*l.x,y:r*l.y}}else{let n=en(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return R(i)}function ea(e){return"static"===q(e).position}function es(e,t){if(!B(e)||"fixed"===q(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function ef(e,t){var n;let r=H(e);if(M(e))return r;if(!B(e)){let t=U(e);for(;t&&!X(t);){if(j(t)&&!ea(t))return t;t=U(t)}return r}let i=es(e,t);for(;i&&(n=i,/^(table|td|th)$/.test(k(n)))&&ea(i);)i=es(i,t);return i&&X(i)&&ea(i)&&!I(i)?r:i||function(e){let t=U(e);for(;B(t)&&!X(t);){if(I(t))return t;if(M(t))break;t=U(t)}return null}(e)||r}let eu=async function(e){let t=this.getOffsetParent||ef,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=B(t),i=W(t),o="fixed"===n,l=er(e,!0,o,t),a={scrollLeft:0,scrollTop:0},f=s(0);if(r||!r&&!o)if(("body"!==k(t)||$(i))&&(a=K(t)),r){let e=er(t,!0,o,t);f.x=e.x+t.clientLeft,f.y=e.y+t.clientTop}else i&&(f.x=ei(i));o&&!r&&i&&(f.x=ei(i));let u=!i||r||o?s(0):eo(i,a);return{x:l.left+a.scrollLeft-f.x-u.x,y:l.top+a.scrollTop-f.y-u.y,width:l.width,height:l.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},ec={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=W(r),a=!!t&&M(t.floating);if(r===l||a&&o)return n;let f={scrollLeft:0,scrollTop:0},u=s(1),c=s(0),d=B(r);if((d||!d&&!o)&&(("body"!==k(r)||$(l))&&(f=K(r)),d)){let e=er(r);u=ee(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let p=!l||d||o?s(0):eo(l,f);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-f.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-f.scrollTop*u.y+c.y+p.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:l}=e,a=[..."clippingAncestors"===n?M(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=G(e,[],!1).filter(e=>j(e)&&"body"!==k(e)),i=null,o="fixed"===q(e).position,l=o?U(e):e;for(;j(l)&&!X(l);){let t=q(l),n=I(l);n||"fixed"!==t.position||(i=null),(o?n||i:!(!n&&"static"===t.position&&i&&("absolute"===i.position||"fixed"===i.position)||$(l)&&!n&&function e(t,n){let r=U(t);return!(r===n||!j(r)||X(r))&&("fixed"===q(r).position||e(r,n))}(e,l)))?i=t:r=r.filter(e=>e!==l),l=U(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],s=el(t,a[0],l),f=s.top,u=s.right,c=s.bottom,d=s.left;for(let e=1;e<a.length;e++){let n=el(t,a[e],l);f=o(n.top,f),u=i(n.right,u),c=i(n.bottom,c),d=o(n.left,d)}return{width:u-d,height:c-f,x:d,y:f}},getOffsetParent:ef,getElementRects:eu,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=Q(e);return{width:t,height:n}},getScale:ee,isElement:j,isRTL:function(e){return"rtl"===q(e).direction}};function ed(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ep=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:l,rects:a,platform:s,elements:f,middlewareData:c}=t,{element:g,padding:y=0}=u(e,t)||{};if(null==g)return{};let v=E(y),w={x:n,y:r},x=p(m(l)),b=h(x),R=await s.getDimensions(g),C="y"===x,L=C?"clientHeight":"clientWidth",A=a.reference[b]+a.reference[x]-w[x]-a.floating[b],P=w[x]-a.reference[x],O=await (null==s.getOffsetParent?void 0:s.getOffsetParent(g)),S=O?O[L]:0;S&&await (null==s.isElement?void 0:s.isElement(O))||(S=f.floating[L]||a.floating[b]);let T=S/2-R[b]/2-1,D=i(v[C?"top":"left"],T),k=i(v[C?"bottom":"right"],T),H=S-R[b]-k,W=S/2-R[b]/2+(A/2-P/2),F=o(D,i(W,H)),j=!c.arrow&&null!=d(l)&&W!==F&&a.reference[b]/2-(W<D?D:k)-R[b]/2<0,B=j?W<D?W-D:W-H:0;return{[x]:w[x]+B,data:{[x]:F,centerOffset:W-F-B,...j&&{alignmentOffset:B}},reset:j}}});var eh=e.i(34259),em="u">typeof document?n.useLayoutEffect:function(){};function eg(e,t){let n,r,i;if(e===t)return!0;
1if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eg(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eg(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function ey(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ev(e,t){let n=ey(e);return Math.round(t*n)/n}function ew(e){let t=n.useRef(e);return em(()=>{t.current=e}),t}var ex=e.i(483864),eb=e.i(609963),eE=n.forwardRef((e,t)=>{let{children:n,width:r=10,height:i=5,...o}=e;return(0,eb.jsx)(ex.Primitive.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eb.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eE.displayName="Arrow";var eR=e.i(644340),eC=e.i(626250),eL=e.i(775161),eA=e.i(797521),eP="Popper",[eO,eS]=(0,eC.createContextScope)(eP),[eT,eD]=eO(eP),ek=e=>{let{__scopePopper:t,children:r}=e,[i,o]=n.useState(null);return(0,eb.jsx)(eT,{scope:t,anchor:i,onAnchorChange:o,children:r})};ek.displayName=eP;var eH="PopperAnchor",eW=n.forwardRef((e,t)=>{let{__scopePopper:r,virtualRef:i,...o}=e,l=eD(eH,r),a=n.useRef(null),s=(0,eR.useComposedRefs)(t,a),f=n.useRef(null);return n.useEffect(()=>{let e=f.current;f.current=i?.current||a.current,e!==f.current&&l.onAnchorChange(f.current)}),i?null:(0,eb.jsx)(ex.Primitive.div,{...o,ref:s})});eW.displayName=eH;var eF="PopperContent",[ej,eB]=eO(eF),ez=n.forwardRef((e,t)=>{var r,l,s,f,E,R,C,L,D,k,H,F,j;let B,z,$,M,N,V,{__scopePopper:_,side:I="bottom",sideOffset:Y=0,align:X="center",alignOffset:q=0,arrowPadding:K=0,avoidCollisions:U=!0,collisionBoundary:J=[],collisionPadding:Q=0,sticky:ee="partial",hideWhenDetached:et=!1,updatePositionStrategy:en="optimized",onPlaced:ei,...eo}=e,el=eD(eF,_),[ea,es]=n.useState(null),ef=(0,eR.useComposedRefs)(t,e=>es(e)),[eu,eE]=n.useState(null),eC=function(e){let[t,r]=n.useState(void 0);return(0,eA.useLayoutEffect)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let n,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,i=t.blockSize}else n=e.offsetWidth,i=e.offsetHeight;r({width:n,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}(eu),eP=eC?.width??0,eO=eC?.height??0,eS="number"==typeof Q?Q:{top:0,right:0,bottom:0,left:0,...Q},eT=Array.isArray(J)?J:[J],ek=eT.length>0,eH={padding:eS,boundary:eT.filter(eV),altBoundary:ek},{refs:eW,floatingStyles:eB,placement:ez,isPositioned:e$,middlewareData:eM}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:r="absolute",middleware:i=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:f,open:u}=e,[c,d]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=n.useState(i);eg(p,i)||h(i);let[m,g]=n.useState(null),[y,v]=n.useState(null),w=n.useCallback(e=>{e!==R.current&&(R.current=e,g(e))},[]),x=n.useCallback(e=>{e!==C.current&&(C.current=e,v(e))},[]),b=l||m,E=a||y,R=n.useRef(null),C=n.useRef(null),L=n.useRef(c),P=null!=f,O=ew(f),S=ew(o),T=ew(u),D=n.useCallback(()=>{var e,n;let i,o,l;if(!R.current||!C.current)return;let a={placement:t,strategy:r,middleware:p};S.current&&(a.platform=S.current),(e=R.current,n=C.current,i=new Map,l={...(o={platform:ec,...a}).platform,_c:i},A(e,n,{...o,platform:l})).then(e=>{let t={...e,isPositioned:!1!==T.current};k.current&&!eg(L.current,t)&&(L.current=t,eh.flushSync(()=>{d(t)}))})},[p,t,r,S,T]);em(()=>{!1===u&&L.current.isPositioned&&(L.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[u]);let k=n.useRef(!1);em(()=>(k.current=!0,()=>{k.current=!1}),[]),em(()=>{if(b&&(R.current=b),E&&(C.current=E),b&&E){if(O.current)return O.current(b,E,D);D()}},[b,E,D,O,P]);let H=n.useMemo(()=>({reference:R,floating:C,setReference:w,setFloating:x}),[w,x]),W=n.useMemo(()=>({reference:b,floating:E}),[b,E]),F=n.useMemo(()=>{let e={position:r,left:0,top:0};if(!W.floating)return e;let t=ev(W.floating,c.x),n=ev(W.floating,c.y);return s?{...e,transform:"translate("+t+"px, "+n+"px)",...ey(W.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,s,W.floating,c.x,c.y]);return n.useMemo(()=>({...c,update:D,refs:H,elements:W,floatingStyles:F}),[c,D,H,W,F])}({strategy:"fixed",placement:I+("center"!==X?"-"+X:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let l;void 0===r&&(r={});let{ancestorScroll:s=!0,ancestorResize:f=!0,elementResize:u="function"==typeof ResizeObserver,layoutShift:c="function"==typeof IntersectionObserver,animationFrame:d=!1}=r,p=Z(e),h=s||f?[...p?G(p):[],...t?G(t):[]]:[];
1h.forEach(e=>{s&&e.addEventListener("scroll",n,{passive:!0}),f&&e.addEventListener("resize",n)});let m=p&&c?function(e,t){let n,r=null,l=W(e);function s(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function f(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),s();let d=e.getBoundingClientRect(),{left:p,top:h,width:m,height:g}=d;if(u||t(),!m||!g)return;let y={rootMargin:-a(h)+"px "+-a(l.clientWidth-(p+m))+"px "+-a(l.clientHeight-(h+g))+"px "+-a(p)+"px",threshold:o(0,i(1,c))||1},v=!0;function w(t){let r=t[0].intersectionRatio;if(r!==c){if(!v)return f();r?f(!1,r):n=setTimeout(()=>{f(!1,1e-7)},1e3)}1!==r||ed(d,e.getBoundingClientRect())||f(),v=!1}try{r=new IntersectionObserver(w,{...y,root:l.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}(!0),s}(p,n):null,g=-1,y=null;u&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===p&&y&&t&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!d&&y.observe(p),t&&y.observe(t));let v=d?er(e):null;return d&&function t(){let r=er(e);v&&!ed(v,r)&&n(),v=r,l=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{s&&e.removeEventListener("scroll",n),f&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,d&&cancelAnimationFrame(l)}})(...e,{animationFrame:"always"===en}),elements:{reference:el.anchor},middleware:[{name:(B={name:"offset",options:l=r={mainAxis:Y+eO,alignmentAxis:q},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:a}=e,s=await T(e,l);return o===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:o}}}}).name,fn:B.fn,options:[r,void 0]},U&&{name:(z={name:"shift",options:E=f={mainAxis:!0,crossAxis:!1,limiter:"partial"===ee?{fn:(s=void 0,{options:s={},fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:l=0,mainAxis:a=!0,crossAxis:f=!0}=u(s,e),d={x:t,y:n},h=m(r),g=p(h),y=d[g],v=d[h],w=u(l,e),x="number"==typeof w?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(a){let e="y"===g?"height":"width",t=i.reference[g]-i.floating[e]+x.mainAxis,n=i.reference[g]+i.reference[e]-x.mainAxis;y<t?y=t:y>n&&(y=n)}if(f){var b,E;let e="y"===g?"width":"height",t=S.has(c(r)),n=i.reference[h]-i.floating[e]+(t&&(null==(b=o.offset)?void 0:b[h])||0)+(t?0:x.crossAxis),l=i.reference[h]+i.reference[e]+(t?0:(null==(E=o.offset)?void 0:E[h])||0)-(t?x.crossAxis:0);v<n?v=n:v>l&&(v=l)}return{[g]:y,[h]:v}}}).fn,options:[void 0,void 0]}:void 0,...eH},async fn(e){let{x:t,y:n,placement:r,platform:l}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:f={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...d}=u(E,e),h={x:t,y:n},g=await l.detectOverflow(e,d),y=m(c(r)),v=p(y),w=h[v],x=h[y];if(a){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=w+g[e],r=w-g[t];w=o(n,i(w,r))}if(s){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=x+g[e],r=x-g[t];x=o(n,i(x,r))}let b=f.fn({...e,[v]:w,[y]:x});return{...b,data:{x:b.x-t,y:b.y-n,enabled:{[v]:a,[y]:s}}}}}).name,fn:z.fn,options:[f,void 0]},U&&{name:($={name:"flip",options:C=R={...eH},async fn(e){var t,n,r,i,o,l,a,s;let f,E,R,{placement:L,middlewareData:A,rects:P,initialPlacement:O,platform:S,elements:T}=e,{mainAxis:D=!0,crossAxis:k=!0,fallbackPlacements:H,fallbackStrategy:W="bestFit",fallbackAxisSideDirection:F="none",flipAlignment:j=!0,...B}=u(C,e);if(null!=(t=A.arrow)&&t.alignmentOffset)return{};let z=c(L),$=m(O),M=c(O)===O,N=await (null==S.isRTL?void 0:S.isRTL(T.floating)),V=H||(M||!j?[b(O)]:(f=b(O),[g(O),f,g(f)])),_="none"!==F;!H&&_&&V.push(...(E=d(O),R=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?v:y;return t?y:v;case"left":case"right":return t?w:x;default:return[]}}(c(O),"start"===F,N),E&&(R=R.map(e=>e+"-"+E),j&&(R=R.concat(R.map(g)))),R));let I=[O,...V],Y=await S.detectOverflow(e,B),X=[],q=(null==(n=A.flip)?void 0:n.overflows)||[];if(D&&X.push(Y[z]),k){let e,t,n,r,i=(l=L,a=P,void 0===(s=N)&&(s=!1),e=d(l),n=h(t=p(m(l))),r="x"===t?e===(s?"end":"start")?"right":"left":"start"===e?"bottom":"top",a.reference[n]>a.floating[n]&&(r=b(r)),[r,b(r)]);X.push(Y[i[0]],Y[i[1]])}if(q=[...q,{placement:L,overflows:X}],!X.every(e=>e<=0)){let e=((null==(r=A.flip)?void 0:r.index)||0)+1,t=I[e];if(t&&("alignment"!==k||$===m(t)||q.every(e=>m(e.placement)!==$||e.overflows[0]>0)))return{data:{index:e,overflows:q},reset:{placement:t}};let n=null==(i=q.filter(e=>e.overflows[0]<=0).sort((e,t)=>
1e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(W){case"bestFit":{let e=null==(o=q.filter(e=>{if(_){let t=m(e.placement);return t===$||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=O}if(L!==n)return{reset:{placement:n}}}return{}}}).name,fn:$.fn,options:[R,void 0]},{name:(M={name:"size",options:D=L={...eH,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,l=e.floating.style;l.setProperty("--radix-popper-available-width",`${n}px`),l.setProperty("--radix-popper-available-height",`${r}px`),l.setProperty("--radix-popper-anchor-width",`${i}px`),l.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,n;let r,l,{placement:a,rects:s,platform:f,elements:p}=e,{apply:h=()=>{},...g}=u(D,e),y=await f.detectOverflow(e,g),v=c(a),w=d(a),x="y"===m(a),{width:b,height:E}=s.floating;"top"===v||"bottom"===v?(r=v,l=w===(await (null==f.isRTL?void 0:f.isRTL(p.floating))?"start":"end")?"left":"right"):(l=v,r="end"===w?"top":"bottom");let R=E-y.top-y.bottom,C=b-y.left-y.right,L=i(E-y[r],R),A=i(b-y[l],C),P=!e.middlewareData.shift,O=L,S=A;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(S=C),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(O=R),P&&!w){let e=o(y.left,0),t=o(y.right,0),n=o(y.top,0),r=o(y.bottom,0);x?S=b-2*(0!==e||0!==t?e+t:o(y.left,y.right)):O=E-2*(0!==n||0!==r?n+r:o(y.top,y.bottom))}await h({...e,availableWidth:S,availableHeight:O});let T=await f.getDimensions(p.floating);return b!==T.width||E!==T.height?{reset:{rects:!0}}:{}}}).name,fn:M.fn,options:[L,void 0]},eu&&{name:(N={name:"arrow",options:H=k={element:eu,padding:K},fn(e){let{element:t,padding:n}="function"==typeof H?H(e):H;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ep({element:t.current,padding:n}).fn(e):{}:t?ep({element:t,padding:n}).fn(e):{}}}).name,fn:N.fn,options:[k,void 0]},e_({arrowWidth:eP,arrowHeight:eO}),et&&{name:(V={name:"hide",options:j=F={strategy:"referenceHidden",...eH},async fn(e){let{rects:t,platform:n}=e,{strategy:r="referenceHidden",...i}=u(j,e);switch(r){case"referenceHidden":{let r=P(await n.detectOverflow(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:r,referenceHidden:O(r)}}}case"escaped":{let r=P(await n.detectOverflow(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:r,escaped:O(r)}}}default:return{}}}}).name,fn:V.fn,options:[F,void 0]}]}),[eN,eY]=eI(ez),eX=(0,eL.useCallbackRef)(ei);(0,eA.useLayoutEffect)(()=>{e$&&eX?.()},[e$,eX]);let eq=eM.arrow?.x,eK=eM.arrow?.y,eU=eM.arrow?.centerOffset!==0,[eG,eJ]=n.useState();return(0,eA.useLayoutEffect)(()=>{ea&&eJ(window.getComputedStyle(ea).zIndex)},[ea]),(0,eb.jsx)("div",{ref:eW.setFloating,"data-radix-popper-content-wrapper":"",style:{...eB,transform:e$?eB.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eG,"--radix-popper-transform-origin":[eM.transformOrigin?.x,eM.transformOrigin?.y].join(" "),...eM.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eb.jsx)(ej,{scope:_,placedSide:eN,onArrowChange:eE,arrowX:eq,arrowY:eK,shouldHideArrow:eU,children:(0,eb.jsx)(ex.Primitive.div,{"data-side":eN,"data-align":eY,...eo,ref:ef,style:{...eo.style,animation:e$?void 0:"none"}})})})});ez.displayName=eF;var e$="PopperArrow",eM={top:"bottom",right:"left",bottom:"top",left:"right"},eN=n.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=eB(e$,n),o=eM[i.placedSide];return(0,eb.jsx)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:(0,eb.jsx)(eE,{...r,ref:t,style:{...r.style,display:"block"}})})});function eV(e){return null!==e}eN.displayName=e$;var e_=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,l=o?0:e.arrowWidth,a=o?0:e.arrowHeight,[s,f]=eI(n),u={start:"0%",center:"50%",end:"100%"}[f],c=(i.arrow?.x??0)+l/2,d=(i.arrow?.y??0)+a/2,p="",h="";return"bottom"===s?(p=o?u:`${c}px`,h=`${-a}px`):"top"===s?(p=o?u:`${c}px`,h=`${r.floating.height+a}px`):"right"===s?(p=`${-a}px`,h=o?u:`${d}px`):"left"===s&&(p=`${r.floating.width+a}px`,h=o?u:`${d}px`),{data:{x:p,y:h}}}});function eI(e){let[t,n="center"]=e.split("-");return[t,n]}e.s(["Anchor",()=>eW,"Arrow",()=>eN,"Content",()=>ez,"Root",()=>ek,"createPopperScope",()=>eS],836807);var eY=n.forwardRef((e,t)=>
1{let{container:r,...i}=e,[o,l]=n.useState(!1);(0,eA.useLayoutEffect)(()=>l(!0),[]);let a=r||o&&globalThis?.document?.body;return a?eh.default.createPortal((0,eb.jsx)(ex.Primitive.div,{...i,ref:t}),a):null});eY.displayName="Portal",e.s(["Portal",()=>eY],731818)}]);

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.