PageSourceSearch

https://mcp-link.vercel.app/_next/static/chunks/530-cf9882eb55a671b3.js?dpl=dpl_B2Dahwj74vaeWww2Sr3ye9dRUNsa

js mcp-link.vercel.app collected 2026-10-03 07:17:50 UTC 39,313 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[530],{1794:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(2973).A)("Github",[["path",{d:"M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5.08-1.25-.27-2.48-1-3.5.28-1.15.28-2.35 0-3.5 0 0-1 0-3 1.5-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.403 5.403 0 0 0 4 9c0 3.5 3 5.5 6 5.5-.39.49-.68 1.05-.85 1.65-.17.6-.22 1.23-.15 1.85v4",key:"tonef"}],["path",{d:"M9 18c-4.51 2-5-2-7-2",key:"9comsn"}]])},33:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(2973).A)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},6335:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(2973).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},7613:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(2973).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},6152:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(2973).A)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},2033:(e,t,n)=>{n.d(t,{UC:()=>tE,Kq:()=>tw,bL:()=>tx,l9:()=>tb});var r,i=n(6444),o=n(7116),l=n(4606),a=n(8782),s=n(412),u=n(1041),c=n(8192),f="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=i.forwardRef((e,t)=>{var n,a;let{disableOutsidePointerEvents:p=!1,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:w,onDismiss:x,...b}=e,E=i.useContext(d),[C,R]=i.useState(null),T=null!==(a=null==C?void 0:C.ownerDocument)&&void 0!==a?a:null===(n=globalThis)||void 0===n?void 0:n.document,[,A]=i.useState({}),L=(0,l.s)(t,e=>R(e)),P=Array.from(E.layers),[k]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),O=P.indexOf(k),S=C?P.indexOf(C):-1,D=E.layersWithOutsidePointerEventsDisabled.size>0,j=S>=O,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.c)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let t=function(){m("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})},i={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);o.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:()=>o.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!j||n||(null==v||v(e),null==w||w(e),e.defaultPrevented||null==x||x())},T),H=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.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&m("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return n.addEventListener("focusin",e),()=>n.removeEventListener("focusin",e)},[n,r]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.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.c)(e);i.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==g||g(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},T),i.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]),i.useEffect(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),h())},[C,E]),i.useEffect(()=>{let e=()=>A({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,c.jsx)(s.sG.div,{...b,ref:L,style:{pointerEvents:D?j?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.m)(e.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,o.m)(e.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,o.m)(e.onPointerDownCapture,M.onPointerDownCapture)})});function h(){let e=new CustomEvent(f);document.dispatchEvent(e)}function m(e,t,n,r){let{discrete:i}=r,o=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),i?(0,s.hO)(o,l):o.dispatchEvent(l)}p.displayName="DismissableLayer",i.forwardRef((e,t)=>
1{let n=i.useContext(d),r=i.useRef(null),o=(0,l.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(s.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var g=n(9029);let v=["top","right","bottom","left"],y=Math.min,w=Math.max,x=Math.round,b=Math.floor,E=e=>({x:e,y:e}),C={left:"right",right:"left",bottom:"top",top:"bottom"},R={start:"end",end:"start"};function T(e,t){return"function"==typeof e?e(t):e}function A(e){return e.split("-")[0]}function L(e){return e.split("-")[1]}function P(e){return"x"===e?"y":"x"}function k(e){return"y"===e?"height":"width"}function O(e){return["top","bottom"].includes(A(e))?"y":"x"}function S(e){return e.replace(/start|end/g,e=>R[e])}function D(e){return e.replace(/left|right|bottom|top/g,e=>C[e])}function j(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function M(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 H(e,t,n){let r,{reference:i,floating:o}=e,l=O(t),a=P(O(t)),s=k(a),u=A(t),c="y"===l,f=i.x+i.width/2-o.width/2,d=i.y+i.height/2-o.height/2,p=i[s]/2-o[s]/2;switch(u){case"top":r={x:f,y:i.y-o.height};break;case"bottom":r={x:f,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:d};break;case"left":r={x:i.x-o.width,y:d};break;default:r={x:i.x,y:i.y}}switch(L(t)){case"start":r[a]-=p*(n&&c?-1:1);break;case"end":r[a]+=p*(n&&c?-1:1)}return r}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,a=o.filter(Boolean),s=await (null==l.isRTL?void 0:l.isRTL(t)),u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=H(u,r,s),d=r,p={},h=0;for(let n=0;n<a.length;n++){let{name:o,fn:m}=a[n],{x:g,y:v,data:y,reset:w}=await m({x:c,y:f,initialPlacement:r,placement:d,strategy:i,middlewareData:p,rects:u,platform:l,elements:{reference:e,floating:t}});c=null!=g?g:c,f=null!=v?v:f,p={...p,[o]:{...p[o],...y}},w&&h<=50&&(h++,"object"==typeof w&&(w.placement&&(d=w.placement),w.rects&&(u=!0===w.rects?await l.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:f}=H(u,d,s)),n=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:p}};async function F(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:l,elements:a,strategy:s}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=T(t,e),h=j(p),m=a[d?"floating"===f?"reference":"floating":f],g=M(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:s})),v="floating"===f?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(a.floating)),w=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},x=M(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:s}):v);return{top:(g.top-x.top+h.top)/w.y,bottom:(x.bottom-g.bottom+h.bottom)/w.y,left:(g.left-x.left+h.left)/w.x,right:(x.right-g.right+h.right)/w.x}}function W(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function B(e){return v.some(t=>e[t]>=0)}async function z(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),l=A(n),a=L(n),s="y"===O(n),u=["left","top"].includes(l)?-1:1,c=o&&s?-1:1,f=T(t,e),{mainAxis:d,crossAxis:p,alignmentAxis:h}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&"number"==typeof h&&(p="end"===a?-1*h:h),s?{x:p*c,y:d*u}:{x:d*u,y:p*c}}function _(){return"undefined"!=typeof window}function V(e){return Y(e)?(e.nodeName||"").toLowerCase():"#document"}function I(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function G(e){var t;return null==(t=(Y(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Y(e){return!!_()&&(e instanceof Node||e instanceof I(e).Node)}function q(e){return!!_()&&(e instanceof Element||e instanceof I(e).Element)}function X(e){return!!_()&&(e instanceof HTMLElement||e instanceof I(e).HTMLElement)}function $(e){return!!_()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof I(e).ShadowRoot)}function K(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=ee(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function U(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function J(e){let t=Q(),n=q(e)?ee(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function Q(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function Z(e){return["html","body","#document"].includes(V(e))}function ee(e){return I(e).getComputedStyle(e)}function et(e){return q(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function en(e){if("html"===V(e))return e;let t=e.assignedSlot||e.parentNode||$(e)&&e.host||G(e);return $(t)?t.host:t}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=en(t);return Z(n)?t.ownerDocument?t.ownerDocument.body:t.body:X(n)&&K(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),l=I(i);if(o){let e=ei(l);return t.concat(l,l.visualViewport||[],K(i)?i:[],e&&n?er(e):[])}return t.concat(i,er(i,[],n))}function ei(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eo(e){let t=ee(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=X(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,a=x(n)!==o||x(r)!==l;return a&&(n=o,r=l),{width:n,height:r,$:a}}function el(e){return q(e)?e:e.contextElement}function ea(e){let t=el(e);if(!X(t))return E(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eo(t),l=(o?x(n.width):n.width)/r,a=(o?x(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),a&&Number.isFinite(a)||(a=1),{x:l,y:a}}let es=E(0);function eu(e){let t=I(e);return Q()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:es}function ec(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),l=el(e),a=E(1);t&&(r?q(r)&&(a=ea(r)):a=ea(e));let s=(void 0===(i=n)&&(i=!1),r&&(!i||r===I(l))&&i)?eu(l):E(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,f=o.width/a.x,d=o.height/a.y;if(l){let e=I(l),t=r&&q(r)?I(r):r,n=e,i=ei(n);for(;i&&r&&t!==n;){let e=ea(i),t=i.getBoundingClientRect(),r=ee(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,f*=e.x,d*=e.y,u+=o,c+=l,i=ei(n=I(i))}}return M({width:f,height:d,x:u,y:c})}function ef(e,t){let n=et(e).scrollLeft;return t?t.left+n:ec(G(e)).left+n}function ed(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:ef(e,r)),y:r.top+t.scrollTop}}function ep(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=I(e),r=G(e),i=n.visualViewport,o=r.clientWidth,l=r.clientHeight,a=0,s=0;if(i){o=i.width,l=i.height;let e=Q();(!e||e&&"fixed"===t)&&(a=i.offsetLeft,s=i.offsetTop)}return{width:o,height:l,x:a,y:s}}(e,n);else if("document"===t)r=function(e){let t=G(e),n=et(e),r=e.ownerDocument.body,i=w(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=w(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),l=-n.scrollLeft+ef(e),a=-n.scrollTop;return"rtl"===ee(r).direction&&(l+=w(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:a}}(G(e));else if(q(t))r=function(e,t){let n=ec(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=X(e)?ea(e):E(1),l=e.clientWidth*o.x;return{width:l,height:e.clientHeight*o.y,x:i*o.x,y:r*o.y}}(t,n);else{let n=eu(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return M(r)}function eh(e){return"static"===ee(e).position}function em(e,t){if(!X(e)||"fixed"===ee(e).position)return null;if(t)return t(e);let n=e.offsetParent;return G(e)===n&&(n=n.ownerDocument.body),n}function eg(e,t){let n=I(e);if(U(e))return n;if(!X(e)){let t=en(e);for(;t&&!Z(t);){if(q(t)&&!eh(t))return t;t=en(t)}return n}let r=em(e,t);for(;r&&["table","td","th"].includes(V(r))&&eh(r);)r=em(r,t);return r&&Z(r)&&eh(r)&&!J(r)?n:r||function(e){let t=en(e);for(;X(t)&&!Z(t);){if(J(t))return t;if(U(t))break;t=en(t)}return null}(e)||n}let ev=async function(e){let t=this.getOffsetParent||eg,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=X(t),i=G(t),o="fixed"===n,l=ec(e,!0,o,t),a={scrollLeft:0,scrollTop:0},s=E(0);if(r||!r&&!o){if(("body"!==V(t)||K(i))&&(a=et(t)),r){let e=ec(t,!0,o,t);s.x=e.x+t.clientLeft,s.y=e.y+t.clientTop}else i&&(s.x=ef(i))}let u=!i||r||o?E(0):ed(i,a);
1return{x:l.left+a.scrollLeft-s.x-u.x,y:l.top+a.scrollTop-s.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}}},ey={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,l=G(r),a=!!t&&U(t.floating);if(r===l||a&&o)return n;let s={scrollLeft:0,scrollTop:0},u=E(1),c=E(0),f=X(r);if((f||!f&&!o)&&(("body"!==V(r)||K(l))&&(s=et(r)),X(r))){let e=ec(r);u=ea(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let d=!l||f||o?E(0):ed(l,s,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-s.scrollLeft*u.x+c.x+d.x,y:n.y*u.y-s.scrollTop*u.y+c.y+d.y}},getDocumentElement:G,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?U(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=er(e,[],!1).filter(e=>q(e)&&"body"!==V(e)),i=null,o="fixed"===ee(e).position,l=o?en(e):e;for(;q(l)&&!Z(l);){let t=ee(l),n=J(l);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||K(l)&&!n&&function e(t,n){let r=en(t);return!(r===n||!q(r)||Z(r))&&("fixed"===ee(r).position||e(r,n))}(e,l))?r=r.filter(e=>e!==l):i=t,l=en(l)}return t.set(e,r),r}(t,this._c):[].concat(n),r],l=o[0],a=o.reduce((e,n)=>{let r=ep(t,n,i);return e.top=w(r.top,e.top),e.right=y(r.right,e.right),e.bottom=y(r.bottom,e.bottom),e.left=w(r.left,e.left),e},ep(t,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:eg,getElementRects:ev,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eo(e);return{width:t,height:n}},getScale:ea,isElement:q,isRTL:function(e){return"rtl"===ee(e).direction}};function ew(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ex=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:l,elements:a,middlewareData:s}=t,{element:u,padding:c=0}=T(e,t)||{};if(null==u)return{};let f=j(c),d={x:n,y:r},p=P(O(i)),h=k(p),m=await l.getDimensions(u),g="y"===p,v=g?"clientHeight":"clientWidth",x=o.reference[h]+o.reference[p]-d[p]-o.floating[h],b=d[p]-o.reference[p],E=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u)),C=E?E[v]:0;C&&await (null==l.isElement?void 0:l.isElement(E))||(C=a.floating[v]||o.floating[h]);let R=C/2-m[h]/2-1,A=y(f[g?"top":"left"],R),S=y(f[g?"bottom":"right"],R),D=C-m[h]-S,M=C/2-m[h]/2+(x/2-b/2),H=w(A,y(M,D)),N=!s.arrow&&null!=L(i)&&M!==H&&o.reference[h]/2-(M<A?A:S)-m[h]/2<0,F=N?M<A?M-A:M-D:0;return{[p]:d[p]+F,data:{[p]:H,centerOffset:M-H-F,...N&&{alignmentOffset:F}},reset:N}}}),eb=(e,t,n)=>{let r=new Map,i={platform:ey,...n},o={...i.platform,_c:r};return N(e,t,{...i,platform:o})};var eE=n(9821),eC="undefined"!=typeof document?i.useLayoutEffect:i.useEffect;function eR(e,t){let n,r,i;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(!eR(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)&&!eR(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eT(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eA(e,t){let n=eT(e);return Math.round(t*n)/n}function eL(e){let t=i.useRef(e);return eC(()=>{t.current=e}),t}let eP=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?ex({element:n.current,padding:r}).fn(t):{}:n?ex({element:n,padding:r}).fn(t):{}}}),ek=(e,t)=>({...function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:o,placement:l,middlewareData:a}=t,s=await z(t,e);return l===(null==(n=a.offset)?void 0:n.placement)&&null!=(r=a.arrow)&&r.alignmentOffset?{}:{x:i+s.x,y:o+s.y,data:{...s,placement:l}}}}}(e),options:[e,t]}),eO=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=T(e,t),u={x:n,y:r},c=await F(t,s),f=O(A(i)),d=P(f),p=u[d],h=u[f];if(o){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=p+c[e],r=p-c[t];p=w(n,y(p,r))}if(l){let e="y"===f?"top":"left",t="y"===f?"bottom":"right",n=h+c[e],r=h-c[t];h=w(n,y(h,r))}let m=a.fn({...t,[d]:p,[f]:h});
1return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:o,[f]:l}}}}}}(e),options:[e,t]}),eS=(e,t)=>({...function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:a=0,mainAxis:s=!0,crossAxis:u=!0}=T(e,t),c={x:n,y:r},f=O(i),d=P(f),p=c[d],h=c[f],m=T(a,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===d?"height":"width",t=o.reference[d]-o.floating[e]+g.mainAxis,n=o.reference[d]+o.reference[e]-g.mainAxis;p<t?p=t:p>n&&(p=n)}if(u){var v,y;let e="y"===d?"width":"height",t=["top","left"].includes(A(i)),n=o.reference[f]-o.floating[e]+(t&&(null==(v=l.offset)?void 0:v[f])||0)+(t?0:g.crossAxis),r=o.reference[f]+o.reference[e]+(t?0:(null==(y=l.offset)?void 0:y[f])||0)-(t?g.crossAxis:0);h<n?h=n:h>r&&(h=r)}return{[d]:p,[f]:h}}}}(e),options:[e,t]}),eD=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,i,o,l;let{placement:a,middlewareData:s,rects:u,initialPlacement:c,platform:f,elements:d}=t,{mainAxis:p=!0,crossAxis:h=!0,fallbackPlacements:m,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:y=!0,...w}=T(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};let x=A(a),b=O(c),E=A(c)===c,C=await (null==f.isRTL?void 0:f.isRTL(d.floating)),R=m||(E||!y?[D(c)]:function(e){let t=D(e);return[S(e),t,S(t)]}(c)),j="none"!==v;!m&&j&&R.push(...function(e,t,n,r){let i=L(e),o=function(e,t,n){let r=["left","right"],i=["right","left"];switch(e){case"top":case"bottom":if(n)return t?i:r;return t?r:i;case"left":case"right":return t?["top","bottom"]:["bottom","top"];default:return[]}}(A(e),"start"===n,r);return i&&(o=o.map(e=>e+"-"+i),t&&(o=o.concat(o.map(S)))),o}(c,y,v,C));let M=[c,...R],H=await F(t,w),N=[],W=(null==(r=s.flip)?void 0:r.overflows)||[];if(p&&N.push(H[x]),h){let e=function(e,t,n){void 0===n&&(n=!1);let r=L(e),i=P(O(e)),o=k(i),l="x"===i?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=D(l)),[l,D(l)]}(a,u,C);N.push(H[e[0]],H[e[1]])}if(W=[...W,{placement:a,overflows:N}],!N.every(e=>e<=0)){let e=((null==(i=s.flip)?void 0:i.index)||0)+1,t=M[e];if(t)return{data:{index:e,overflows:W},reset:{placement:t}};let n=null==(o=W.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:o.placement;if(!n)switch(g){case"bestFit":{let e=null==(l=W.filter(e=>{if(j){let t=O(e.placement);return t===b||"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{}}}}(e),options:[e,t]}),ej=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let i,o;let{placement:l,rects:a,platform:s,elements:u}=t,{apply:c=()=>{},...f}=T(e,t),d=await F(t,f),p=A(l),h=L(l),m="y"===O(l),{width:g,height:v}=a.floating;"top"===p||"bottom"===p?(i=p,o=h===(await (null==s.isRTL?void 0:s.isRTL(u.floating))?"start":"end")?"left":"right"):(o=p,i="end"===h?"top":"bottom");let x=v-d.top-d.bottom,b=g-d.left-d.right,E=y(v-d[i],x),C=y(g-d[o],b),R=!t.middlewareData.shift,P=E,k=C;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(k=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(P=x),R&&!h){let e=w(d.left,0),t=w(d.right,0),n=w(d.top,0),r=w(d.bottom,0);m?k=g-2*(0!==e||0!==t?e+t:w(d.left,d.right)):P=v-2*(0!==n||0!==r?n+r:w(d.top,d.bottom))}await c({...t,availableWidth:k,availableHeight:P});let S=await s.getDimensions(u.floating);return g!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}}(e),options:[e,t]}),eM=(e,t)=>({...function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...i}=T(e,t);switch(r){case"referenceHidden":{let e=W(await F(t,{...i,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:B(e)}}}case"escaped":{let e=W(await F(t,{...i,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:B(e)}}}default:return{}}}}}(e),options:[e,t]}),eH=(e,t)=>({...eP(e),options:[e,t]});var eN=i.forwardRef((e,t)=>
1{let{children:n,width:r=10,height:i=5,...o}=e;return(0,c.jsx)(s.sG.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,c.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eN.displayName="Arrow";var eF=n(4485),eW="Popper",[eB,ez]=(0,a.A)(eW),[e_,eV]=eB(eW),eI=e=>{let{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return(0,c.jsx)(e_,{scope:t,anchor:r,onAnchorChange:o,children:n})};eI.displayName=eW;var eG="PopperAnchor",eY=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,a=eV(eG,n),u=i.useRef(null),f=(0,l.s)(t,u);return i.useEffect(()=>{a.onAnchorChange((null==r?void 0:r.current)||u.current)}),r?null:(0,c.jsx)(s.sG.div,{...o,ref:f})});eY.displayName=eG;var eq="PopperContent",[eX,e$]=eB(eq),eK=i.forwardRef((e,t)=>{var n,r,o,a,f,d,p,h;let{__scopePopper:m,side:g="bottom",sideOffset:v=0,align:x="center",alignOffset:E=0,arrowPadding:C=0,avoidCollisions:R=!0,collisionBoundary:T=[],collisionPadding:A=0,sticky:L="partial",hideWhenDetached:P=!1,updatePositionStrategy:k="optimized",onPlaced:O,...S}=e,D=eV(eq,m),[j,M]=i.useState(null),H=(0,l.s)(t,e=>M(e)),[N,F]=i.useState(null),W=function(e){let[t,n]=i.useState(void 0);return(0,eF.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,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;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(N),B=null!==(p=null==W?void 0:W.width)&&void 0!==p?p:0,z=null!==(h=null==W?void 0:W.height)&&void 0!==h?h:0,_="number"==typeof A?A:{top:0,right:0,bottom:0,left:0,...A},V=Array.isArray(T)?T:[T],I=V.length>0,Y={padding:_,boundary:V.filter(eZ),altBoundary:I},{refs:q,floatingStyles:X,placement:$,isPositioned:K,middlewareData:U}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:l,floating:a}={},transform:s=!0,whileElementsMounted:u,open:c}=e,[f,d]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,h]=i.useState(r);eR(p,r)||h(r);let[m,g]=i.useState(null),[v,y]=i.useState(null),w=i.useCallback(e=>{e!==C.current&&(C.current=e,g(e))},[]),x=i.useCallback(e=>{e!==R.current&&(R.current=e,y(e))},[]),b=l||m,E=a||v,C=i.useRef(null),R=i.useRef(null),T=i.useRef(f),A=null!=u,L=eL(u),P=eL(o),k=eL(c),O=i.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:t,strategy:n,middleware:p};P.current&&(e.platform=P.current),eb(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==k.current};S.current&&!eR(T.current,t)&&(T.current=t,eE.flushSync(()=>{d(t)}))})},[p,t,n,P,k]);eC(()=>{!1===c&&T.current.isPositioned&&(T.current.isPositioned=!1,d(e=>({...e,isPositioned:!1})))},[c]);let S=i.useRef(!1);eC(()=>(S.current=!0,()=>{S.current=!1}),[]),eC(()=>{if(b&&(C.current=b),E&&(R.current=E),b&&E){if(L.current)return L.current(b,E,O);O()}},[b,E,O,L,A]);let D=i.useMemo(()=>({reference:C,floating:R,setReference:w,setFloating:x}),[w,x]),j=i.useMemo(()=>({reference:b,floating:E}),[b,E]),M=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!j.floating)return e;let t=eA(j.floating,f.x),r=eA(j.floating,f.y);return s?{...e,transform:"translate("+t+"px, "+r+"px)",...eT(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,s,j.floating,f.x,f.y]);return i.useMemo(()=>({...f,update:O,refs:D,elements:j,floatingStyles:M}),[f,O,D,j,M])}({strategy:"fixed",placement:g+("center"!==x?"-"+x:""),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 i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=el(e),f=o||l?[...c?er(c):[],...er(t)]:[];f.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let d=c&&s?function(e,t){let n,r=null,i=G(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function l(a,s){void 0===a&&(a=!1),void 0===s&&(s=1),o();let u=e.getBoundingClientRect(),{left:c,top:f,width:d,height:p}=u;if(a||t(),!d||!p)return;let h=b(f),m=b(i.clientWidth-(c+d)),g={rootMargin:-h+"px "+-m+"px "+-b(i.clientHeight-(f+p))+"px "+-b(c)+"px",threshold:w(0,y(1,s))||1},v=!0;function x(t){let r=t[0].intersectionRatio;if(r!==s){if(!v)return l();r?l(!1,r):n=setTimeout(()=>{l(!1,1e-7)},1e3)}1!==r||ew(u,e.getBoundingClientRect())||l(),v=!1}try{r=new IntersectionObserver(x,{...g,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(x,g)}r.observe(e)}(!0),o}(c,n):null,p=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?ec(e):null;return u&&function t(){let r=ec(e);m&&!ew(m,r)&&n(),m=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;
1f.forEach(e=>{o&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(i)}}(...t,{animationFrame:"always"===k})},elements:{reference:D.anchor},middleware:[ek({mainAxis:v+z,alignmentAxis:E}),R&&eO({mainAxis:!0,crossAxis:!1,limiter:"partial"===L?eS():void 0,...Y}),R&&eD({...Y}),ej({...Y,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:i}=e,{width:o,height:l}=n.reference,a=t.floating.style;a.setProperty("--radix-popper-available-width","".concat(r,"px")),a.setProperty("--radix-popper-available-height","".concat(i,"px")),a.setProperty("--radix-popper-anchor-width","".concat(o,"px")),a.setProperty("--radix-popper-anchor-height","".concat(l,"px"))}}),N&&eH({element:N,padding:C}),e0({arrowWidth:B,arrowHeight:z}),P&&eM({strategy:"referenceHidden",...Y})]}),[J,Q]=e1($),Z=(0,u.c)(O);(0,eF.N)(()=>{K&&(null==Z||Z())},[K,Z]);let ee=null===(n=U.arrow)||void 0===n?void 0:n.x,et=null===(r=U.arrow)||void 0===r?void 0:r.y,en=(null===(o=U.arrow)||void 0===o?void 0:o.centerOffset)!==0,[ei,eo]=i.useState();return(0,eF.N)(()=>{j&&eo(window.getComputedStyle(j).zIndex)},[j]),(0,c.jsx)("div",{ref:q.setFloating,"data-radix-popper-content-wrapper":"",style:{...X,transform:K?X.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ei,"--radix-popper-transform-origin":[null===(a=U.transformOrigin)||void 0===a?void 0:a.x,null===(f=U.transformOrigin)||void 0===f?void 0:f.y].join(" "),...(null===(d=U.hide)||void 0===d?void 0:d.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,c.jsx)(eX,{scope:m,placedSide:J,onArrowChange:F,arrowX:ee,arrowY:et,shouldHideArrow:en,children:(0,c.jsx)(s.sG.div,{"data-side":J,"data-align":Q,...S,ref:H,style:{...S.style,animation:K?void 0:"none"}})})})});eK.displayName=eq;var eU="PopperArrow",eJ={top:"bottom",right:"left",bottom:"top",left:"right"},eQ=i.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=e$(eU,n),o=eJ[i.placedSide];return(0,c.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,c.jsx)(eN,{...r,ref:t,style:{...r.style,display:"block"}})})});function eZ(e){return null!==e}eQ.displayName=eU;var e0=e=>({name:"transformOrigin",options:e,fn(t){var n,r,i,o,l;let{placement:a,rects:s,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,f=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[p,h]=e1(a),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(o=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==o?o:0)+f/2,v=(null!==(l=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==l?l:0)+d/2,y="",w="";return"bottom"===p?(y=c?m:"".concat(g,"px"),w="".concat(-d,"px")):"top"===p?(y=c?m:"".concat(g,"px"),w="".concat(s.floating.height+d,"px")):"right"===p?(y="".concat(-d,"px"),w=c?m:"".concat(v,"px")):"left"===p&&(y="".concat(s.floating.width+d,"px"),w=c?m:"".concat(v,"px")),{data:{x:y,y:w}}}});function e1(e){let[t,n="center"]=e.split("-");return[t,n]}i.forwardRef((e,t)=>{var n,r;let{container:o,...l}=e,[a,u]=i.useState(!1);(0,eF.N)(()=>u(!0),[]);let f=o||a&&(null===(r=globalThis)||void 0===r?void 0:null===(n=r.document)||void 0===n?void 0:n.body);return f?eE.createPortal((0,c.jsx)(s.sG.div,{...l,ref:t}),f):null}).displayName="Portal";var e2=n(9914),e5=n(2203),e3=n(3801),e4=i.forwardRef((e,t)=>(0,c.jsx)(s.sG.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));e4.displayName="VisuallyHidden";var[e9,e7]=(0,a.A)("Tooltip",[ez]),e6=ez(),e8="TooltipProvider",te="tooltip.open",[tt,tn]=e9(e8),tr=e=>{let{__scopeTooltip:t,delayDuration:n=700,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:l}=e,[a,s]=i.useState(!0),u=i.useRef(!1),f=i.useRef(0);return i.useEffect(()=>{let e=f.current;return()=>window.clearTimeout(e)},[]),(0,c.jsx)(tt,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:i.useCallback(()=>{window.clearTimeout(f.current),s(!1)},[]),onClose:i.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>s(!0),r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:i.useCallback(e=>{u.current=e},[]),disableHoverableContent:o,children:l})};
1tr.displayName=e8;var ti="Tooltip",[to,tl]=e9(ti),ta=e=>{let{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:l,disableHoverableContent:a,delayDuration:s}=e,u=tn(ti,e.__scopeTooltip),f=e6(t),[d,p]=i.useState(null),h=(0,g.B)(),m=i.useRef(0),v=null!=a?a:u.disableHoverableContent,y=null!=s?s:u.delayDuration,w=i.useRef(!1),[x=!1,b]=(0,e3.i)({prop:r,defaultProp:o,onChange:e=>{e?(u.onOpen(),document.dispatchEvent(new CustomEvent(te))):u.onClose(),null==l||l(e)}}),E=i.useMemo(()=>x?w.current?"delayed-open":"instant-open":"closed",[x]),C=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,w.current=!1,b(!0)},[b]),R=i.useCallback(()=>{window.clearTimeout(m.current),m.current=0,b(!1)},[b]),T=i.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>{w.current=!0,b(!0),m.current=0},y)},[y,b]);return i.useEffect(()=>()=>{m.current&&(window.clearTimeout(m.current),m.current=0)},[]),(0,c.jsx)(eI,{...f,children:(0,c.jsx)(to,{scope:t,contentId:h,open:x,stateAttribute:E,trigger:d,onTriggerChange:p,onTriggerEnter:i.useCallback(()=>{u.isOpenDelayed?T():C()},[u.isOpenDelayed,T,C]),onTriggerLeave:i.useCallback(()=>{v?R():(window.clearTimeout(m.current),m.current=0)},[R,v]),onOpen:C,onClose:R,disableHoverableContent:v,children:n})})};ta.displayName=ti;var ts="TooltipTrigger",tu=i.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,a=tl(ts,n),u=tn(ts,n),f=e6(n),d=i.useRef(null),p=(0,l.s)(t,d,a.onTriggerChange),h=i.useRef(!1),m=i.useRef(!1),g=i.useCallback(()=>h.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,c.jsx)(eY,{asChild:!0,...f,children:(0,c.jsx)(s.sG.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:p,onPointerMove:(0,o.m)(e.onPointerMove,e=>{"touch"===e.pointerType||m.current||u.isPointerInTransitRef.current||(a.onTriggerEnter(),m.current=!0)}),onPointerLeave:(0,o.m)(e.onPointerLeave,()=>{a.onTriggerLeave(),m.current=!1}),onPointerDown:(0,o.m)(e.onPointerDown,()=>{h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,o.m)(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:(0,o.m)(e.onBlur,a.onClose),onClick:(0,o.m)(e.onClick,a.onClose)})})});tu.displayName=ts;var[tc,tf]=e9("TooltipPortal",{forceMount:void 0}),td="TooltipContent",tp=i.forwardRef((e,t)=>{let n=tf(td,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,l=tl(td,e.__scopeTooltip);return(0,c.jsx)(e2.C,{present:r||l.open,children:l.disableHoverableContent?(0,c.jsx)(tv,{side:i,...o,ref:t}):(0,c.jsx)(th,{side:i,...o,ref:t})})}),th=i.forwardRef((e,t)=>{let n=tl(td,e.__scopeTooltip),r=tn(td,e.__scopeTooltip),o=i.useRef(null),a=(0,l.s)(t,o),[s,u]=i.useState(null),{trigger:f,onClose:d}=n,p=o.current,{onPointerInTransitChange:h}=r,m=i.useCallback(()=>{u(null),h(!1)},[h]),g=i.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},i=function(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}(r,n.getBoundingClientRect());u(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,i),...function(e){let{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}(t.getBoundingClientRect())])),h(!0)}
1,[h]);return i.useEffect(()=>()=>m(),[m]),i.useEffect(()=>{if(f&&p){let e=e=>g(e,p),t=e=>g(e,f);return f.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{f.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}},[f,p,g,m]),i.useEffect(()=>{if(s){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==f?void 0:f.contains(t))||(null==p?void 0:p.contains(t)),i=!function(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,o=t.length-1;e<t.length;o=e++){let l=t[e].x,a=t[e].y,s=t[o].x,u=t[o].y;a>r!=u>r&&n<(s-l)*(r-a)/(u-a)+l&&(i=!i)}return i}(n,s);r?m():i&&(m(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[f,p,s,d,m]),(0,c.jsx)(tv,{...e,ref:a})}),[tm,tg]=e9(ti,{isInside:!1}),tv=i.forwardRef((e,t)=>{let{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:l,onPointerDownOutside:a,...s}=e,u=tl(td,n),f=e6(n),{onClose:d}=u;return i.useEffect(()=>(document.addEventListener(te,d),()=>document.removeEventListener(te,d)),[d]),i.useEffect(()=>{if(u.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(u.trigger))&&d()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[u.trigger,d]),(0,c.jsx)(p,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:a,onFocusOutside:e=>e.preventDefault(),onDismiss:d,children:(0,c.jsxs)(eK,{"data-state":u.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,c.jsx)(e5.xV,{children:r}),(0,c.jsx)(tm,{scope:n,isInside:!0,children:(0,c.jsx)(e4,{id:u.contentId,role:"tooltip",children:o||r})})]})})});tp.displayName=td;var ty="TooltipArrow";i.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,i=e6(n);return tg(ty,n).isInside?null:(0,c.jsx)(eQ,{...i,...r,ref:t})}).displayName=ty;var tw=tr,tx=ta,tb=tu,tE=tp}}]);

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.