PageSourceSearch

https://internetnearme.ai/_next/static/chunks/2696-97a26ee73a60d719.js

js internetnearme.ai collected 2026-10-05 12:05:06 UTC 39,279 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2696],{15278:function(e,t,n){n.d(t,{I0:function(){return g},XB:function(){return d},fC:function(){return m}});var r,o=n(2265),i=n(6741),l=n(66840),a=n(98575),u=n(26606),s=n(57437),c="dismissableLayer.update",f=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),d=o.forwardRef((e,t)=>{var n,d;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=o.useContext(f),[C,R]=o.useState(null),T=null!==(d=null==C?void 0:C.ownerDocument)&&void 0!==d?d:null===(n=globalThis)||void 0===n?void 0:n.document,[,L]=o.useState({}),A=(0,a.e)(t,e=>R(e)),P=Array.from(E.layers),[O]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),k=P.indexOf(O),S=C?P.indexOf(C):-1,D=E.layersWithOutsidePointerEventsDisabled.size>0,j=S>=k,W=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1),l=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!i.current){let t=function(){v("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(n.removeEventListener("click",l.current),l.current=t,n.addEventListener("click",l.current,{once:!0})):t()}else n.removeEventListener("click",l.current);i.current=!1},t=window.setTimeout(()=>{n.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(t),n.removeEventListener("pointerdown",e),n.removeEventListener("click",l.current)}},[n,r]),{onPointerDownCapture:()=>i.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!j||n||(null==g||g(e),null==w||w(e),e.defaultPrevented||null==x||x())},T),M=function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===(t=globalThis)||void 0===t?void 0:t.document,r=(0,u.W)(e),i=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!i.current&&v("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>i.current=!0,onBlurCapture:()=>i.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==w||w(e),e.defaultPrevented||null==x||x())},T);return!function(e,t=globalThis?.document){let n=(0,u.W)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{S!==E.layers.size-1||(null==m||m(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},T),o.useEffect(()=>{if(C)return p&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(C)),E.layers.add(C),h(),()=>{p&&1===E.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r)}},[C,T,p,E]),o.useEffect(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),h())},[C,E]),o.useEffect(()=>{let e=()=>L({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,s.jsx)(l.WV.div,{...b,ref:A,style:{pointerEvents:D?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,W.onPointerDownCapture)})});d.displayName="DismissableLayer";var p=o.forwardRef((e,t)=>{let n=o.useContext(f),r=o.useRef(null),i=(0,a.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,s.jsx)(l.WV.div,{...e,ref:i})});function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function v(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,l.jH)(i,a):i.dispatchEvent(a)}p.displayName="DismissableLayerBranch";var m=d,g=p},83832:function(e,t,n){n.d(t,{h:function(){return u}});var r=n(2265),o=n(54887),i=n(66840),l=n(61188),a=n(57437),u=r.forwardRef((e,t)=>
1{var n,u;let{container:s,...c}=e,[f,d]=r.useState(!1);(0,l.b)(()=>d(!0),[]);let p=s||f&&(null===(u=globalThis)||void 0===u?void 0:null===(n=u.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,a.jsx)(i.WV.div,{...c,ref:t}),p):null});u.displayName="Portal"},32696:function(e,t,n){n.d(t,{VY:function(){return tD},zt:function(){return tO},fC:function(){return tk},xz:function(){return tS}});var r=n(2265),o=n(6741),i=n(98575),l=n(73966),a=n(15278),u=n(99255);let s=["top","right","bottom","left"],c=Math.min,f=Math.max,d=Math.round,p=Math.floor,h=e=>({x:e,y:e}),v={left:"right",right:"left",bottom:"top",top:"bottom"},m={start:"end",end:"start"};function g(e,t){return"function"==typeof e?e(t):e}function y(e){return e.split("-")[0]}function w(e){return e.split("-")[1]}function x(e){return"x"===e?"y":"x"}function b(e){return"y"===e?"height":"width"}let E=new Set(["top","bottom"]);function C(e){return E.has(y(e))?"y":"x"}function R(e){return e.replace(/start|end/g,e=>m[e])}let T=["left","right"],L=["right","left"],A=["top","bottom"],P=["bottom","top"];function O(e){return e.replace(/left|right|bottom|top/g,e=>v[e])}function k(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function S(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function D(e,t,n){let r,{reference:o,floating:i}=e,l=C(t),a=x(C(t)),u=b(a),s=y(t),c="y"===l,f=o.x+o.width/2-i.width/2,d=o.y+o.height/2-i.height/2,p=o[u]/2-i[u]/2;switch(s){case"top":r={x:f,y:o.y-i.height};break;case"bottom":r={x:f,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:d};break;case"left":r={x:o.x-i.width,y:d};break;default:r={x:o.x,y:o.y}}switch(w(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let j=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:l}=n,a=i.filter(Boolean),u=await (null==l.isRTL?void 0:l.isRTL(t)),s=await l.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=D(s,r,u),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:i,fn:v}=a[n],{x:m,y:g,data:y,reset:w}=await v({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:l,elements:{reference:e,floating:t}});c=null!=m?m:c,f=null!=g?g:f,p={...p,[i]:{...p[i],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(s=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:o}):w.rects),{x:c,y:f}=D(s,d,u)),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}};async function W(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:l,elements:a,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=g(t,e),h=k(p),v=a[d?"floating"===f?"reference":"floating":f],m=S(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(v)))||n?v:v.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(a.floating)),boundary:s,rootBoundary:c,strategy:u})),y="floating"===f?{x:r,y:o,width:l.floating.width,height:l.floating.height}:l.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(a.floating)),x=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},b=S(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:y,offsetParent:w,strategy:u}):y);return{top:(m.top-b.top+h.top)/x.y,bottom:(b.bottom-m.bottom+h.bottom)/x.y,left:(m.left-b.left+h.left)/x.x,right:(b.right-m.right+h.right)/x.x}}function M(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function H(e){return s.some(t=>e[t]>=0)}let B=new Set(["left","top"]);async function F(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),l=y(n),a=w(n),u="y"===C(n),s=B.has(l)?-1:1,c=i&&u?-1:1,f=g(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}
1:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),u?{x:p*c,y:d*s}:{x:d*s,y:p*c}}function N(){return"undefined"!=typeof window}function z(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function _(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!N()&&(e instanceof Node||e instanceof V(e).Node)}function X(e){return!!N()&&(e instanceof Element||e instanceof V(e).Element)}function Y(e){return!!N()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function $(e){return!!N()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}let q=new Set(["inline","contents"]);function G(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=ei(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!q.has(o)}let J=new Set(["table","td","th"]),K=[":popover-open",":modal"];function Q(e){return K.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let U=["transform","translate","scale","rotate","perspective"],Z=["transform","translate","scale","rotate","perspective","filter"],ee=["paint","layout","strict","content"];function et(e){let t=en(),n=X(e)?ei(e):e;return U.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Z.some(e=>(n.willChange||"").includes(e))||ee.some(e=>(n.contain||"").includes(e))}function en(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let er=new Set(["html","body","#document"]);function eo(e){return er.has(z(e))}function ei(e){return V(e).getComputedStyle(e)}function el(e){return X(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ea(e){if("html"===z(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||_(e);return $(t)?t.host:t}function eu(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=function e(t){let n=ea(t);return eo(n)?t.ownerDocument?t.ownerDocument.body:t.body:Y(n)&&G(n)?n:e(n)}(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),l=V(o);if(i){let e=es(l);return t.concat(l,l.visualViewport||[],G(o)?o:[],e&&n?eu(e):[])}return t.concat(o,eu(o,[],n))}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function ec(e){let t=ei(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=Y(e),i=o?e.offsetWidth:n,l=o?e.offsetHeight:r,a=d(n)!==i||d(r)!==l;return a&&(n=i,r=l),{width:n,height:r,$:a}}function ef(e){return X(e)?e:e.contextElement}function ed(e){let t=ef(e);if(!Y(t))return h(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=ec(t),l=(i?d(n.width):n.width)/r,a=(i?d(n.height):n.height)/o;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let ep=h(0);function eh(e){let t=V(e);return en()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ep}function ev(e,t,n,r){var o;void 0===t&&(t=!1),void 0===n&&(n=!1);let i=e.getBoundingClientRect(),l=ef(e),a=h(1);t&&(r?X(r)&&(a=ed(r)):a=ed(e));let u=(void 0===(o=n)&&(o=!1),r&&(!o||r===V(l))&&o)?eh(l):h(0),s=(i.left+u.x)/a.x,c=(i.top+u.y)/a.y,f=i.width/a.x,d=i.height/a.y;if(l){let e=V(l),t=r&&X(r)?V(r):r,n=e,o=es(n);for(;o&&r&&t!==n;){let e=ed(o),t=o.getBoundingClientRect(),r=ei(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,l=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;s*=e.x,c*=e.y,f*=e.x,d*=e.y,s+=i,c+=l,o=es(n=V(o))}}return S({width:f,height:d,x:s,y:c})}function em(e,t){let n=el(e).scrollLeft;return t?t.left+n:ev(_(e)).left+n}function eg(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:em(e,r)),y:r.top+t.scrollTop}}let ey=new Set(["absolute","fixed"]);function ew(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=V(e),r=_(e),o=n.visualViewport,i=r.clientWidth,l=r.clientHeight,a=0,u=0;if(o){i=o.width,l=o.height;let e=en();
1(!e||e&&"fixed"===t)&&(a=o.offsetLeft,u=o.offsetTop)}return{width:i,height:l,x:a,y:u}}(e,n);else if("document"===t)r=function(e){let t=_(e),n=el(e),r=e.ownerDocument.body,o=f(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=f(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+em(e),a=-n.scrollTop;return"rtl"===ei(r).direction&&(l+=f(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:l,y:a}}(_(e));else if(X(t))r=function(e,t){let n=ev(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Y(e)?ed(e):h(1),l=e.clientWidth*i.x;return{width:l,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{let n=eh(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return S(r)}function ex(e){return"static"===ei(e).position}function eb(e,t){if(!Y(e)||"fixed"===ei(e).position)return null;if(t)return t(e);let n=e.offsetParent;return _(e)===n&&(n=n.ownerDocument.body),n}function eE(e,t){var n;let r=V(e);if(Q(e))return r;if(!Y(e)){let t=ea(e);for(;t&&!eo(t);){if(X(t)&&!ex(t))return t;t=ea(t)}return r}let o=eb(e,t);for(;o&&(n=o,J.has(z(n)))&&ex(o);)o=eb(o,t);return o&&eo(o)&&ex(o)&&!et(o)?r:o||function(e){let t=ea(e);for(;Y(t)&&!eo(t);){if(et(t))return t;if(Q(t))break;t=ea(t)}return null}(e)||r}let eC=async function(e){let t=this.getOffsetParent||eE,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=Y(t),o=_(t),i="fixed"===n,l=ev(e,!0,i,t),a={scrollLeft:0,scrollTop:0},u=h(0);if(r||!r&&!i){if(("body"!==z(t)||G(o))&&(a=el(t)),r){let e=ev(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=em(o))}i&&!r&&o&&(u.x=em(o));let s=!o||r||i?h(0):eg(o,a);return{x:l.left+a.scrollLeft-u.x-s.x,y:l.top+a.scrollTop-u.y-s.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}}},eR={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,l=_(r),a=!!t&&Q(t.floating);if(r===l||a&&i)return n;let u={scrollLeft:0,scrollTop:0},s=h(1),c=h(0),f=Y(r);if((f||!f&&!i)&&(("body"!==z(r)||G(l))&&(u=el(r)),Y(r))){let e=ev(r);s=ed(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let d=!l||f||i?h(0):eg(l,u,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-u.scrollLeft*s.x+c.x+d.x,y:n.y*s.y-u.scrollTop*s.y+c.y+d.y}},getDocumentElement:_,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e,i=[..."clippingAncestors"===n?Q(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=eu(e,[],!1).filter(e=>X(e)&&"body"!==z(e)),o=null,i="fixed"===ei(e).position,l=i?ea(e):e;for(;X(l)&&!eo(l);){let t=ei(l),n=et(l);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&ey.has(o.position)||G(l)&&!n&&function e(t,n){let r=ea(t);return!(r===n||!X(r)||eo(r))&&("fixed"===ei(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):o=t,l=ea(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=i[0],a=i.reduce((e,n)=>{let r=ew(t,n,o);return e.top=f(r.top,e.top),e.right=c(r.right,e.right),e.bottom=c(r.bottom,e.bottom),e.left=f(r.left,e.left),e},ew(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eE,getElementRects:eC,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=ec(e);return{width:t,height:n}},getScale:ed,isElement:X,isRTL:function(e){return"rtl"===ei(e).direction}};function eT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let eL=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:o,rects:i,platform:l,elements:a,middlewareData:u}=t,{element:s,padding:d=0}=g(e,t)||{};if(null==s)return{};let p=k(d),h={x:n,y:r},v=x(C(o)),m=b(v),y=await l.getDimensions(s),E="y"===v,R=E?"clientHeight":"clientWidth",T=i.reference[m]+i.reference[v]-h[v]-i.floating[m],L=h[v]-i.reference[v],A=await (null==l.getOffsetParent?void 0:l.getOffsetParent(s)),P=A?A[R]:0;P&&await (null==l.isElement?void 0:l.isElement(A))||(P=a.floating[R]||i.floating[m]);let O=P/2-y[m]/2-1,S=c(p[E?"top":"left"],O),D=c(p[E?"bottom":"right"],O),j=P-y[m]-D,W=P/2-y[m]/2+(T/2-L/2),M=f(S,c(W,j)),H=!u.arrow&&null!=w(o)&&W!==M&&i.reference[m]/2-(W<S?S:D)-y[m]/2<0,B=H?W<S?W-S:W-j:0;return{[v]:h[v]+B,data:{[v]:M,centerOffset:W-M-B,...H&&{alignmentOffset:B}},reset:H}}}
1),eA=(e,t,n)=>{let r=new Map,o={platform:eR,...n},i={...o.platform,_c:r};return j(e,t,{...o,platform:i})};var eP=n(54887),eO="undefined"!=typeof document?r.useLayoutEffect:function(){};function ek(e,t){let n,r,o;if(e===t)return!0;if(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(!ek(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!ek(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eS(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eD(e,t){let n=eS(e);return Math.round(t*n)/n}function ej(e){let t=r.useRef(e);return eO(()=>{t.current=e}),t}let eW=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:r}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?eL({element:n.current,padding:r}).fn(t):{}:n?eL({element:n,padding:r}).fn(t):{}}}),eM=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,r;let{x:o,y:i,placement:l,middlewareData:a}=e,u=await F(e,n);return l===(null==(t=a.offset)?void 0:t.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:o+u.x,y:i+u.y,data:{...u,placement:l}}}}),options:[e,t]}},eH=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=g(n,e),s={x:t,y:r},d=await W(e,u),p=C(y(o)),h=x(p),v=s[h],m=s[p];if(i){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=v+d[e],r=v-d[t];v=f(n,c(v,r))}
1if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+d[e],r=m-d[t];m=f(n,c(m,r))}let w=a.fn({...e,[h]:v,[p]:m});return{...w,data:{x:w.x-t,y:w.y-r,enabled:{[h]:i,[p]:l}}}}}),options:[e,t]}},eB=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:r,placement:o,rects:i,middlewareData:l}=e,{offset:a=0,mainAxis:u=!0,crossAxis:s=!0}=g(n,e),c={x:t,y:r},f=C(o),d=x(f),p=c[d],h=c[f],v=g(a,e),m="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(u){let e="y"===d?"height":"width",t=i.reference[d]-i.floating[e]+m.mainAxis,n=i.reference[d]+i.reference[e]-m.mainAxis;p<t?p=t:p>n&&(p=n)}if(s){var w,b;let e="y"===d?"width":"height",t=B.has(y(o)),n=i.reference[f]-i.floating[e]+(t&&(null==(w=l.offset)?void 0:w[f])||0)+(t?0:m.crossAxis),r=i.reference[f]+i.reference[e]+(t?0:(null==(b=l.offset)?void 0:b[f])||0)-(t?m.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}),options:[e,t]}},eF=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,r,o,i,l;let{placement:a,middlewareData:u,rects:s,initialPlacement:c,platform:f,elements:d}=e,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:v,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:k=!0,...S}=g(n,e);if(null!=(t=u.arrow)&&t.alignmentOffset)return{};let D=y(a),j=C(c),M=y(c)===c,H=await (null==f.isRTL?void 0:f.isRTL(d.floating)),B=v||(M||!k?[O(c)]:function(e){let t=O(e);return[R(e),t,R(t)]}(c)),F="none"!==E;!v&&F&&B.push(...function(e,t,n,r){let o=w(e),i=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?L:T;return t?T:L;case"left":case"right":return t?A:P;default:return[]}}(y(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(R)))),i}(c,k,E,H));let N=[c,...B],z=await W(e,S),V=[],_=(null==(r=u.flip)?void 0:r.overflows)||[];if(p&&V.push(z[D]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=w(e),o=x(C(e)),i=b(o),l="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(l=O(l)),[l,O(l)]}(a,s,H);V.push(z[e[0]],z[e[1]])}if(_=[..._,{placement:a,overflows:V}],!V.every(e=>e<=0)){let e=((null==(o=u.flip)?void 0:o.index)||0)+1,t=N[e];if(t&&(!("alignment"===h&&j!==C(t))||_.every(e=>e.overflows[0]>0&&C(e.placement)===j)))return{data:{index:e,overflows:_},reset:{placement:t}};let n=null==(i=_.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(m){case"bestFit":{let e=null==(l=_.filter(e=>{if(F){let t=C(e.placement);return t===j||"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:l[0];e&&(n=e);break}case"initialPlacement":n=c}if(a!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},eN=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,r;let o,i;let{placement:l,rects:a,platform:u,elements:s}=e,{apply:d=()=>{},...p}=g(n,e),h=await W(e,p),v=y(l),m=w(l),x="y"===C(l),{width:b,height:E}=a.floating;"top"===v||"bottom"===v?(o=v,i=m===(await (null==u.isRTL?void 0:u.isRTL(s.floating))?"start":"end")?"left":"right"):(i=v,o="end"===m?"top":"bottom");let R=E-h.top-h.bottom,T=b-h.left-h.right,L=c(E-h[o],R),A=c(b-h[i],T),P=!e.middlewareData.shift,O=L,k=A;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(k=T),null!=(r=e.middlewareData.shift)&&r.enabled.y&&(O=R),P&&!m){let e=f(h.left,0),t=f(h.right,0),n=f(h.top,0),r=f(h.bottom,0);x?k=b-2*(0!==e||0!==t?e+t:f(h.left,h.right)):O=E-2*(0!==n||0!==r?n+r:f(h.top,h.bottom))}await d({...e,availableWidth:k,availableHeight:O});let S=await u.getDimensions(s.floating);return b!==S.width||E!==S.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},ez=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:r="referenceHidden",...o}=g(n,e);switch(r){case"referenceHidden":{let n=M(await W(e,{...o,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:H(n)}}}case"escaped":{let n=M(await W(e,{...o,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:H(n)}}}default:return{}}}}),options:[e,t]}},eV=(e,t)=>({...eW(e),options:[e,t]});var e_=n(66840),eI=n(57437),eX=r.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:o=5,...i}=e;return(0,eI.jsx)(e_.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,eI.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eX.displayName="Arrow";var eY=n(26606),e$=n(61188),eq="Popper",[eG,eJ]=(0,l.b)(eq),[eK,eQ]=eG(eq),eU=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,eI.jsx)(eK,{scope:t,anchor:o,onAnchorChange:i,children:n})};eU.displayName=eq;var eZ="PopperAnchor",e0=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...l}=e,a=eQ(eZ,n),u=r.useRef(null),s=(0,i.e)(t,u);return r.useEffect(()=>{a.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,eI.jsx)(e_.WV.div,{...l,ref:s})});e0.displayName=eZ;var e1="PopperContent",[e2,e5]=eG(e1),e6=r.forwardRef((e,t)=>{var n,o,l,a,u,s,d,h;let{__scopePopper:v,side:m="bottom",sideOffset:g=0,align:y="center",alignOffset:w=0,arrowPadding:x=0,avoidCollisions:b=!0,collisionBoundary:E=[],collisionPadding:C=0,sticky:R="partial",hideWhenDetached:T=!1,updatePositionStrategy:L="optimized",onPlaced:A,...P}=e,O=eQ(e1,v),[k,S]=r.useState(null),D=(0,i.e)(t,e=>S(e)),[j,W]=r.useState(null),M=function(e){let[t,n]=r.useState(void 0);return(0,e$.b)(()=>
1{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(j),H=null!==(d=null==M?void 0:M.width)&&void 0!==d?d:0,B=null!==(h=null==M?void 0:M.height)&&void 0!==h?h:0,F="number"==typeof C?C:{top:0,right:0,bottom:0,left:0,...C},N=Array.isArray(E)?E:[E],z=N.length>0,V={padding:F,boundary:N.filter(e9),altBoundary:z},{refs:I,floatingStyles:X,placement:Y,isPositioned:$,middlewareData:q}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:a}={},transform:u=!0,whileElementsMounted:s,open:c}=e,[f,d]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=r.useState(o);ek(p,o)||h(o);let[v,m]=r.useState(null),[g,y]=r.useState(null),w=r.useCallback(e=>{e!==C.current&&(C.current=e,m(e))},[]),x=r.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),b=l||v,E=a||g,C=r.useRef(null),R=r.useRef(null),T=r.useRef(f),L=null!=s,A=ej(s),P=ej(i),O=ej(c),k=r.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:t,strategy:n,middleware:p};P.current&&(e.platform=P.current),eA(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==O.current};S.current&&!ek(T.current,t)&&(T.current=t,eP.flushSync(()=>{d(t)}))})},[p,t,n,P,O]);eO(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let S=r.useRef(!1);eO(()=>(S.current=!0,()=>{S.current=!1}),[]),eO(()=>{if(b&&(C.current=b),E&&(R.current=E),b&&E){if(A.current)return A.current(b,E,k);k()}},[b,E,k,A,L]);let D=r.useMemo(()=>({reference:C,floating:R,setReference:w,setFloating:x}),[w,x]),j=r.useMemo(()=>({reference:b,floating:E}),[b,E]),W=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=eD(j.floating,f.x),r=eD(j.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+r+"px)",...eS(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,u,j.floating,f.x,f.y]);return r.useMemo(()=>({...f,update:k,refs:D,elements:j,floatingStyles:W}),[f,k,D,j,W])}({strategy:"fixed",placement:m+("center"!==y?"-"+y:""),whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:s=!1}=r,d=ef(e),h=i||l?[...d?eu(d):[],...eu(t)]:[];h.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let v=d&&u?function(e,t){let n,r=null,o=_(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,u){void 0===a&&(a=!1),void 0===u&&(u=1),i();let s=e.getBoundingClientRect(),{left:d,top:h,width:v,height:m}=s;if(a||t(),!v||!m)return;let g=p(h),y=p(o.clientWidth-(d+v)),w={rootMargin:-g+"px "+-y+"px "+-p(o.clientHeight-(h+m))+"px "+-p(d)+"px",threshold:f(0,c(1,u))||1},x=!0;function b(t){let r=t[0].intersectionRatio;if(r!==u){if(!x)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||eT(s,e.getBoundingClientRect())||l(),x=!1}try{r=new IntersectionObserver(b,{...w,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(b,w)}r.observe(e)}(!0),i}(d,n):null,m=-1,g=null;a&&(g=new ResizeObserver(e=>{let[r]=e;r&&r.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),n()}),d&&!s&&g.observe(d),g.observe(t));let y=s?ev(e):null;return s&&function t(){let r=ev(e);y&&!eT(y,r)&&n(),y=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==v||v(),null==(e=g)||e.disconnect(),g=null,s&&cancelAnimationFrame(o)}}(...t,{animationFrame:"always"===L})},elements:{reference:O.anchor},middleware:[eM({mainAxis:g+B,alignmentAxis:w}),b&&eH({mainAxis:!0,crossAxis:!1,limiter:"partial"===R?eB():void 0,...V}),b&&eF({...V}),eN({...V,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(o,"px")),a.setProperty("--radix-popper-anchor-width","".concat(i,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),j&&eV({element:j,padding:x}),e4({arrowWidth:H,arrowHeight:B}),T&&ez({strategy:"referenceHidden",...V})]}),[G,J]=te(Y),K=(0,eY.W)(A);(0,e$.b)(()=>{$&&(null==K||K())},[$,K]);let Q=null===(n=q.arrow)||void 0===n?void 0:n.x,U=null===(o=q.arrow)||void 0===o?void 0:o.y,Z=(null===(l=q.arrow)||void 0===l?void 0:l.centerOffset)!==0,[ee,et]=r.useState();return(0,e$.b)(()=>{k&&et(window.getComputedStyle(k).zIndex)},[k]),(0,eI.jsx)("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:$?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[null===(a=q.transformOrigin)||void 0===a?void 0:a.x,null===(u=q.transformOrigin)||void 0===u?void 0:u.y].join(" "),...(null===(s=q.hide)||void 0===s?void 0:s.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,eI.jsx)(e2,{scope:v,placedSide:G,onArrowChange:W,arrowX:Q,arrowY:U,shouldHideArrow:Z,children:(0,eI.jsx)(e_.WV.div,{"data-side":G,"data-align":J,...P,ref:D,style:{...P.style,animation:$?void 0:"none"}})})})});e6.displayName=e1;var e8="PopperArrow",e7={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},e3=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=e5(e8,n),i=e7[o.placedSide];return(0,eI.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]: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,eI.jsx)(eX,{...r,ref:t,style:{...r.style,display:"block"}})})});function e9(e){return null!==e}e3.displayName=e8;var e4=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,l;let{placement:a,rects:u,middlewareData:s}=t,c=(null===(n=s.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=te(a),v={start:"0%",center:"50%",end:"100%"}[h],m=(null!==(i=null===(r=s.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+f/2,g=(null!==(l=null===(o=s.arrow)||void 0===o?void 0:o.y)&&void 0!==l?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?v:"".concat(m,"px"),w="".concat(-d,"px")):"top"===p?(y=c?v:"".concat(m,"px"),w="".concat(u.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?v:"".concat(g,"px")):"left"===p&&(y="".concat(u.floating.width+d,"px"),w=c?v:"".concat(g,"px")),{data:{x:y,y:w}}}});function te(e){let[t,n="center"]=e.split("-");return[t,n]}n(83832);var tt=n(71599),tn=n(37053),tr=n(80886),to=n(95098),[ti,tl]=(0,l.b)("Tooltip",[eJ]),ta=eJ(),tu="TooltipProvider",ts="tooltip.open",[tc,tf]=ti(tu),td=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:l}=e,a=r.useRef(!0),u=r.useRef(!1),s=r.useRef(0);return r.useEffect(()=>{let e=s.current;return()=>window.clearTimeout(e)},[]),(0,eI.jsx)(tc,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(s.current),a.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.current=!0,o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:r.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:l})};td.displayName=tu;var tp="Tooltip",[th,tv]=ti(tp),tm=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i,onOpenChange:l,disableHoverableContent:a,delayDuration:s}=e,c=tf(tp,e.__scopeTooltip),f=ta(t),[d,p]=r.useState(null),h=(0,u.M)(),v=r.useRef(0),m=null!=a?a:c.disableHoverableContent,g=null!=s?s:c.delayDuration,y=r.useRef(!1),[w,x]=(0,tr.T)({prop:o,defaultProp:null!=i&&i,onChange:e=>{e?(c.onOpen(),document.dispatchEvent(new CustomEvent(ts))):c.onClose(),null==l||l(e)},caller:tp}
1),b=r.useMemo(()=>w?y.current?"delayed-open":"instant-open":"closed",[w]),E=r.useCallback(()=>{window.clearTimeout(v.current),v.current=0,y.current=!1,x(!0)},[x]),C=r.useCallback(()=>{window.clearTimeout(v.current),v.current=0,x(!1)},[x]),R=r.useCallback(()=>{window.clearTimeout(v.current),v.current=window.setTimeout(()=>{y.current=!0,x(!0),v.current=0},g)},[g,x]);return r.useEffect(()=>()=>{v.current&&(window.clearTimeout(v.current),v.current=0)},[]),(0,eI.jsx)(eU,{...f,children:(0,eI.jsx)(th,{scope:t,contentId:h,open:w,stateAttribute:b,trigger:d,onTriggerChange:p,onTriggerEnter:r.useCallback(()=>{c.isOpenDelayedRef.current?R():E()},[c.isOpenDelayedRef,R,E]),onTriggerLeave:r.useCallback(()=>{m?C():(window.clearTimeout(v.current),v.current=0)},[C,m]),onOpen:E,onClose:C,disableHoverableContent:m,children:n})})};tm.displayName=tp;var tg="TooltipTrigger",ty=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...l}=e,a=tv(tg,n),u=tf(tg,n),s=ta(n),c=r.useRef(null),f=(0,i.e)(t,c,a.onTriggerChange),d=r.useRef(!1),p=r.useRef(!1),h=r.useCallback(()=>d.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",h),[h]),(0,eI.jsx)(e0,{asChild:!0,...s,children:(0,eI.jsx)(e_.WV.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...l,ref:f,onPointerMove:(0,o.M)(e.onPointerMove,e=>{"touch"===e.pointerType||p.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:(0,o.M)(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:(0,o.M)(e.onPointerDown,()=>{a.open&&a.onClose(),d.current=!0,document.addEventListener("pointerup",h,{once:!0})}),onFocus:(0,o.M)(e.onFocus,()=>{d.current||a.onOpen()}),onBlur:(0,o.M)(e.onBlur,a.onClose),onClick:(0,o.M)(e.onClick,a.onClose)})})});ty.displayName=tg;var[tw,tx]=ti("TooltipPortal",{forceMount:void 0}),tb="TooltipContent",tE=r.forwardRef((e,t)=>{let n=tx(tb,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,l=tv(tb,e.__scopeTooltip);return(0,eI.jsx)(tt.z,{present:r||l.open,children:l.disableHoverableContent?(0,eI.jsx)(tA,{side:o,...i,ref:t}):(0,eI.jsx)(tC,{side:o,...i,ref:t})})}),tC=r.forwardRef((e,t)=>{let n=tv(tb,e.__scopeTooltip),o=tf(tb,e.__scopeTooltip),l=r.useRef(null),a=(0,i.e)(t,l),[u,s]=r.useState(null),{trigger:c,onClose:f}=n,d=l.current,{onPointerInTransitChange:p}=o,h=r.useCallback(()=>{s(null),p(!1)},[p]),v=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());s(function(e){let t=e.slice();return t.sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),function(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}(t)}([...function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,o),...function(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())])),p(!0)},[p]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(c&&d){let e=e=>v(e,d),t=e=>v(e,c);return c.addEventListener("pointerleave",e),d.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),d.removeEventListener("pointerleave",t)}}},[c,d,v,h]),r.useEffect(()=>{if(u){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==d?void 0:d.contains(t)),o=!function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;
1i=e++){let l=t[e],a=t[i],u=l.x,s=l.y,c=a.x,f=a.y;s>r!=f>r&&n<(c-u)*(r-s)/(f-s)+u&&(o=!o)}return o}(n,u);r?h():o&&(h(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,d,u,f,h]),(0,eI.jsx)(tA,{...e,ref:a})}),[tR,tT]=ti(tp,{isInside:!1}),tL=(0,tn.sA)("TooltipContent"),tA=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:u,...s}=e,c=tv(tb,n),f=ta(n),{onClose:d}=c;return r.useEffect(()=>(document.addEventListener(ts,d),()=>document.removeEventListener(ts,d)),[d]),r.useEffect(()=>{if(c.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(c.trigger))&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[c.trigger,d]),(0,eI.jsx)(a.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,eI.jsxs)(e6,{"data-state":c.stateAttribute,...f,...s,ref:t,style:{...s.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,eI.jsx)(tL,{children:o}),(0,eI.jsx)(tR,{scope:n,isInside:!0,children:(0,eI.jsx)(to.fC,{id:c.contentId,role:"tooltip",children:i||o})})]})})});tE.displayName=tb;var tP="TooltipArrow";r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=ta(n);return tT(tP,n).isInside?null:(0,eI.jsx)(e3,{...o,...r,ref:t})}).displayName=tP;var tO=td,tk=tm,tS=ty,tD=tE},26606:function(e,t,n){n.d(t,{W:function(){return o}});var r=n(2265);function o(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},95098:function(e,t,n){n.d(t,{TX:function(){return a},fC:function(){return u}});var r=n(2265),o=n(66840),i=n(57437),l=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),a=r.forwardRef((e,t)=>(0,i.jsx)(o.WV.span,{...e,ref:t,style:{...l,...e.style}}));a.displayName="VisuallyHidden";var u=a}}]);

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.