PageSourceSearch

https://te-nok-ebm-assistant-v2-dev.hf.space/static/js/Tooltip.CcubhKj6.js

js te-nok-ebm-assistant-v2-dev.hf.space collected 2026-10-04 17:26:43 UTC 38,361 bytes, 1 lines download raw bytes

1import{o as e}from"./rolldown-runtime.C0FnF6B9.js";import{r as t}from"./emotion-is-prop-valid.esm.CuYlOKOk.js";import{a as n,i as r,t as i}from"./emotion-styled.browser.esm.BYv_Qzcq.js";import{t as a}from"./react-dom.BzV73oHg.js";import{i as o}from"./emotion-react.browser.esm.CnqdHrzD.js";import{f as s}from"./getColors.DtAxY2Hd.js";import{i as c,t as l}from"./useFloatingOverlay.Cpeg7fG2.js";var u=e(t(),1),d=e(a(),1);function f(...e){return(...t)=>{for(let n of e)typeof n==`function`&&n(...t)}}var p=typeof document<`u`?u.useLayoutEffect:()=>{},m={prefix:String(Math.round(Math.random()*1e10)),current:0},h=u.createContext(m),g=u.createContext(!1);typeof window<`u`&&window.document&&window.document.createElement;var _=new WeakMap;function v(e=!1){let t=(0,u.useContext)(h),n=(0,u.useRef)(null);if(n.current===null&&!e){let e=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let n=_.get(e);n==null?_.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,_.delete(e))}n.current=++t.current}return n.current}function y(e){let t=(0,u.useContext)(h),n=v(!!e),r=`react-aria${t.prefix}`;return e||`${r}-${n}`}function b(e){let t=u.useId(),[n]=(0,u.useState)(T()),r=n?`react-aria`:`react-aria${m.prefix}`;return e||`${r}-${t}`}var x=typeof u.useId==`function`?b:y;function S(){return!1}function C(){return!0}function w(e){return()=>{}}function T(){return typeof u.useSyncExternalStore==`function`?u.useSyncExternalStore(w,S,C):(0,u.useContext)(g)}function E(e){let[t,n]=(0,u.useState)(e),r=(0,u.useRef)(t),i=(0,u.useRef)(null),a=(0,u.useRef)(()=>{if(!i.current)return;let e=i.current.next();if(e.done){i.current=null;return}r.current===e.value?a.current():n(e.value)});return p(()=>{r.current=t,i.current&&a.current()}),[t,(0,u.useCallback)(e=>{i.current=e(r.current),a.current()},[a])]}var D=!!(typeof window<`u`&&window.document&&window.document.createElement),O=new Map,k;typeof FinalizationRegistry<`u`&&(k=new FinalizationRegistry(e=>{O.delete(e)}));var A=new WeakMap;function j(e){let[t,n]=(0,u.useState)(e),r=(0,u.useRef)(null),i=x(t),a=(0,u.useRef)(null),o=A.get(a);if(k&&o!==i&&(o!=null&&k.unregister(a),k.register(a,i,a),A.set(a,i)),D){let e=O.get(i);e&&!e.includes(r)?e.push(r):O.set(i,[r])}return p(()=>{let e=i;return()=>{k&&(k.unregister(a),A.delete(a)),O.delete(e)}},[i]),(0,u.useEffect)(()=>{let e=r.current;return e&&n(e),()=>{e&&(r.current=null)}}),i}function ee(e,t){if(e===t)return e;let n=O.get(e);if(n)return n.forEach(e=>e.current=t),t;let r=O.get(t);return r?(r.forEach(t=>t.current=e),e):t}function te(e=[]){let t=j(),[n,r]=E(t),i=(0,u.useCallback)(()=>{r(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,r]);return p(i,[t,i,...e]),n}function M(...e){return e.length===1&&e[0]?e[0]:t=>{let n=!1,r=e.map(e=>{let r=ne(e,t);return n||=typeof r==`function`,r});if(n)return()=>{r.forEach((t,n)=>{typeof t==`function`?t():ne(e[n],null)})}}}function ne(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function N(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`){if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=N(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n)}return r}function re(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=N(e))&&(r&&(r+=` `),r+=t);return r}function P(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let r=e[n];for(let e in r){let n=t[e],i=r[e];typeof n==`function`&&typeof i==`function`&&e[0]===`o`&&e[1]===`n`&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=f(n,i):(e===`className`||e===`UNSAFE_className`)&&typeof n==`string`&&typeof i==`string`?t[e]=re(n,i):e===`id`&&n&&i?t.id=ee(n,i):e===`ref`&&n&&i?t.ref=M(n,i):t[e]=i===void 0?n:i}}return t}function ie(e){let t=(0,u.useRef)(null),n=(0,u.useRef)(void 0),r=(0,u.useCallback)(t=>{if(typeof e==`function`){let n=e,r=n(t);return()=>{typeof r==`function`?r():n(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,u.useMemo)(()=>({get current(){return t.current},set current(e){t.current=e,n.current&&=(n.current(),void 0),e!=null&&(n.current=r(e))}}),[r])}var ae=Symbol(`default`);function oe({values:e,children:t}){for(let[n,r]of e)t=u.createElement(n.Provider,{value:r},t);return t}function se(e){let{className:t,style:n,children:r,defaultClassName:i,defaultChildren:a,defaultStyle:o,values:s,render:c}=e;return(0,u.useMemo)(()=>{let e,l,u;return e=typeof t==`function`?t({...s,defaultClassName:i}):t,l=typeof n==`function`?n({...s,defaultStyle:o||{}}):n,u=typeof r==`function`?r({...s,defaultChildren:a}):r??a,{className:e??i,style:l||o?{...o,...l}:void 0,children:u??a,"data-rac":``,render:c?e=>c(e,s):void 0}},[t,n,r,i,a,o,s,c])}function ce(e,t){let n=(0,u.useContext)(e);if(t===null)return null;if(n&&typeof n==`object`&&`slots`in n&&n.slots){let e=t||ae;if(!n.slots[e]){let e=new Intl.ListFormat().format(Object.keys(n.slots).map(e=>`"${e}"`)),r=t?`Invalid slot "${t}".`:`A slot prop is required.`;throw Error(`${r} Valid slot names are ${e}.`)}return n.slots[e]}return n}function le(e,t,n){let{ref:r,...i}=ce(n,e.slot)||{},a=ie((0,u.useMemo)(()=>M(t,r),[t,r])),o=P(i,e);return`style`in i&&i.style&&`style`in e&&e.style&&(o.style=typeof i.style==`function`||typeof e.style==`function`?t=>{let n=typeof i.style==`function`?i.style(t):i.style,r={...t.defaultStyle,...n},a=typeof e.style==`function`?e.style({...t,defaultStyle:r}):e.style;return{...r,...a}}:{...i.style,...e.style}),[o,a]}function ue(e=!0){let[t,n]=(0,u.useState)(e),r=(0,u.useRef)(!1),i=(0,u.useCallback)(e=>{r.current=!0,n(!!e)},[]);return p(()=>{r.current||n(!1)},[]),[i,t]}function de(e){let t=/^(data-.*)$/,n={};for(let r in e)t.test(r)||(n[r]=e[r]);return n}function fe(e,t,n){let{render:r,...i}=t,a=(0,u.useRef)(null),o=(0,u.useMemo)(()=>M(n,a),[n,a]);p(()=>{},[e,r]);let s={...i,ref:o};return r?r(s,void 0):u.createElement(e,s)}var pe={},me=new Proxy({},{get(e,t){if(typeof t!=`string`)return;let n=pe[t];return n||(n=(0,u.forwardRef)(fe.bind(null,t)),pe[t]=n),n}}),F=e=>ge(e)?e.document:_e(e)?e:e?.ownerDocument??(typeof document<`u`?document:void 0),I=e=>F(e)?.defaultView??(typeof window<`u`?window:void 0);function he(e){return typeof e==`object`&&!!e&&`nodeType`in e&&typeof e.nodeType==`number`}function ge(e){return typeof e==`object`&&!!e&&`window`in e&&e.window===e}function _e(e){return he(e)&&e.nodeType===9}function ve(e){return he(e)&&e.nodeType===11&&`host`in e}function ye(e,t,n,r){if(n==null||e==null)return()=>{};let i=Array.isArray(e)?e:[e];for(let e of i)e.addEventListener(t,n,r);return()=>{for(let e of i)e.removeEventListener(t,n,r)}}var be=!1;function L(){return be}function R(e,t){if(!L())return t&&e?e.contains(t):!1;if(!e||!t)return!1;let n=t;for(;n!==null;){if(n===e)return!0;n=typeof n.assignedElements!=`function`&&n.assignedSlot?.parentNode?n.assignedSlot.parentNode:ve(n)?n.host:n.parentNode}return!1}var z=(e=document)=>{if(!L())return e.activeElement;let t=e.activeElement;for(;t&&`shadowRoot`in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function B(e){if(L()&&e.target instanceof Element&&e.target.shadowRoot){if(`composedPath`in e)return e.composedPath()[0]??null;if(`composedPath`in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function xe(e,t){if(t===null)return[];t??=I(e);let n=[t];if(!L()||!e||e===t)return n;let r=`getRootNode`in t?t.getRootNode():null,i=e.getRootNode()??null;for(;ve(i)&&i!==r;)n.push(i),i=i.host.getRootNode();return n}function Se(e){if(!e)return!1;let t=e.getRootNode(),n=I(e);if(!(t instanceof n.Document||t instanceof n.ShadowRoot))return!1;let r=t.activeElement;return r!=null&&e.contains(r)}function Ce(e){if(Te())e.focus({preventScroll:!0});else{let t=Ee(e);e.focus(),De(t)}}var we=null;function Te(){if(we==null){we=!1;try{document.createElement(`div`).focus({get preventScroll(){return we=!0,!0}})}catch{}}return we}function Ee(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}function De(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}var Oe=typeof Element<`u`&&`checkVisibility`in Element.prototype;function ke(e){let t=I(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:n,visibility:r}=e.style,i=n!==`none`&&r!==`hidden`&&r!==`collapse`;if(i){let{getComputedStyle:t}=I(e),{display:n,visibility:r}=t(e);i=n!==`none`&&r!==`hidden`&&r!==`collapse`}return i}function Ae(e,t){return!e.hasAttribute(`hidden`)&&!e.hasAttribute(`data-react-aria-prevent-focus`)&&(e.nodeName===`DETAILS`&&t&&t.nodeName!==`SUMMARY`?e.hasAttribute(`open`):!0)}function je(e,t){return Oe?e.checkVisibility({visibilityProperty:!0})&&!e.closest(`[data-react-aria-prevent-focus]`):e.nodeName!==`#comment`&&ke(e)&&Ae(e,t)&&(!e.parentElement||je(e.parentElement,e))}
1var Me=[`input:not([disabled]):not([type=hidden])`,`select:not([disabled])`,`textarea:not([disabled])`,`button:not([disabled])`,`a[href]`,`area[href]`,`summary`,`iframe`,`object`,`embed`,`audio[controls]`,`video[controls]`,`[contenteditable]:not([contenteditable^="false"])`,`permission`],Ne=Me.join(`:not([hidden]),`)+`,[tabindex]:not([disabled]):not([hidden])`;Me.push(`[tabindex]:not([tabindex="-1"]):not([disabled])`);var Pe=Me.join(`:not([hidden]):not([tabindex="-1"]),`);function Fe(e,t){return e.matches(Ne)&&!Le(e)&&(t?.skipVisibilityCheck||je(e))}function Ie(e){return e.matches(Pe)&&je(e)&&!Le(e)}function Le(e){let t=e;for(;t!=null;){if(t instanceof I(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}function Re(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function ze(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function Be(e){let t=(0,u.useRef)({isFocused:!1,observer:null});return p(()=>{let e=t.current;return()=>{e.observer&&=(e.observer.disconnect(),null)}},[]),(0,u.useCallback)(n=>{let r=B(n);if(r instanceof HTMLButtonElement||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement||r instanceof HTMLSelectElement){t.current.isFocused=!0;let n=r;n.addEventListener(`focusout`,r=>{if(t.current.isFocused=!1,n.disabled){let t=Re(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===z()?null:z();n.dispatchEvent(new FocusEvent(`blur`,{relatedTarget:e})),n.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:[`disabled`]})}},[e])}var Ve=!1;function He(e){for(;e&&!Fe(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=I(e),n=t.document.activeElement;if(!n||n===e)return;Ve=!0;let r=!1,i=e=>{(B(e)===n||r)&&e.stopImmediatePropagation()},a=t=>{(B(t)===n||r)&&(t.stopImmediatePropagation(),!e&&!r&&(r=!0,Ce(n),c()))},o=t=>{(B(t)===e||r)&&t.stopImmediatePropagation()},s=t=>{(B(t)===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,Ce(n),c()))};t.addEventListener(`blur`,i,!0),t.addEventListener(`focusout`,a,!0),t.addEventListener(`focusin`,s,!0),t.addEventListener(`focus`,o,!0);let c=()=>{cancelAnimationFrame(l),t.removeEventListener(`blur`,i,!0),t.removeEventListener(`focusout`,a,!0),t.removeEventListener(`focusin`,s,!0),t.removeEventListener(`focus`,o,!0),Ve=!1,r=!1},l=requestAnimationFrame(c);return c}function Ue(e){if(typeof window>`u`||window.navigator==null)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function We(e){return typeof window<`u`&&window.navigator!=null&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function V(e){let t=null;return()=>(t??=e(),t)}var Ge=V(function(){return We(/^Mac/i)}),Ke=V(function(){return We(/^iPhone/i)}),qe=V(function(){return We(/^iPad/i)||Ge()&&navigator.maxTouchPoints>1}),Je=V(function(){return Ke()||qe()}),Ye=V(function(){return Ge()||Je()}),Xe=V(function(){return Ue(/AppleWebKit/i)&&(Je()||!Ze())}),Ze=V(function(){return Ue(/Chrome|CriOS|CrMo/i)}),Qe=V(function(){return Ue(/Android/i)}),$e=V(function(){return Ue(/(Firefox|FxiOS)/i)}),et=u.useInsertionEffect??p;function tt(e){let t=(0,u.useRef)(null);return et(()=>{t.current=e},[e]),(0,u.useCallback)((...e)=>{let n=t.current;return n?.(...e)},[])}var nt=new Set([`Arab`,`Syrc`,`Samr`,`Mand`,`Thaa`,`Mend`,`Nkoo`,`Adlm`,`Rohg`,`Hebr`]),rt=new Set([`ae`,`ar`,`arc`,`bcc`,`bqi`,`ckb`,`dv`,`fa`,`glk`,`he`,`ku`,`mzn`,`nqo`,`pnb`,`ps`,`sd`,`ug`,`ur`,`yi`]);function it(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n=typeof t.getTextInfo==`function`?t.getTextInfo():t.textInfo;if(n)return n.direction===`rtl`;if(t.script)return nt.has(t.script)}let t=e.split(`-`)[0];return rt.has(t)}var at=Symbol.for(`react-aria.i18n.locale`);function ot(){let e=typeof window<`u`&&window[at]||typeof navigator<`u`&&(navigator.language||navigator.userLanguage)||`en-US`;try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e=`en-US`}return{locale:e,direction:it(e)?`rtl`:`ltr`}}var st=ot(),H=new Set;function ct(){st=ot();for(let e of H)e(st)}function lt(){let e=T(),[t,n]=(0,u.useState)(st);return(0,u.useEffect)(()=>(H.size===0&&window.addEventListener(`languagechange`,ct),H.add(n),()=>{H.delete(n),H.size===0&&window.removeEventListener(`languagechange`,ct)}),[]),e?{locale:typeof window<`u`&&window[at]||`en-US`,direction:`ltr`}:t}var ut=u.createContext(null);function dt(e){let{locale:t,children:n}=e,r=u.useMemo(()=>({locale:t,direction:it(t)?`rtl`:`ltr`}),[t]);return u.createElement(ut.Provider,{value:r},n)}function ft(e){let{children:t}=e,n=lt();return u.createElement(ut.Provider,{value:n},t)}function pt(e){let{locale:t,children:n}=e;return t?u.createElement(dt,{locale:t,children:n}):u.createElement(ft,{children:n})}function mt(){let e=lt();return(0,u.useContext)(ut)||e}var ht=typeof document<`u`?u.useInsertionEffect??u.useLayoutEffect:()=>{};function gt(e,t,n){let[r,i]=(0,u.useState)(e||t),a=(0,u.useRef)(r),o=(0,u.useRef)(e!==void 0),s=e!==void 0;(0,u.useEffect)(()=>{o.current,o.current=s},[s]);let c=s?e:r;ht(()=>{a.current=c});let[,l]=(0,u.useReducer)(()=>({}),{});return[c,(0,u.useCallback)((e,...t)=>{let r=typeof e==`function`?e(a.current):e;Object.is(a.current,r)||(a.current=r,i(r),l(),n?.(r,...t))},[n])]}var _t=new Set([`id`]),vt=new Set([`aria-label`,`aria-labelledby`,`aria-describedby`,`aria-details`]),yt=new Set([`href`,`hrefLang`,`target`,`rel`,`download`,`ping`,`referrerPolicy`]),bt=new Set([`dir`,`lang`,`hidden`,`inert`,`translate`]),xt=new Set(`onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart`.split(`.`)),St=/^(data-.*)$/;function Ct(e,t={}){let{labelable:n,isLink:r,global:i,events:a=i,propNames:o}=t,s={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(_t.has(t)||n&&vt.has(t)||r&&yt.has(t)||i&&bt.has(t)||a&&(xt.has(t)||t.endsWith(`Capture`)&&xt.has(t.slice(0,-7)))||o?.has(t)||St.test(t))&&(s[t]=e[t]);return s}function wt(){let e=(0,u.useRef)(new Map),t=(0,u.useCallback)((t,n,r,i)=>{let a=i?.once?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:i}),t.addEventListener(n,a,i)},[]),n=(0,u.useCallback)((t,n,r,i)=>{let a=e.current.get(r)?.fn||r;t.removeEventListener(n,a,i),e.current.delete(r)},[]),r=(0,u.useCallback)(()=>{e.current.forEach((e,t)=>{n(e.eventTarget,e.type,t,e.options)})},[n]);return(0,u.useEffect)(()=>r,[r]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:r}}function Tt(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:i}=e,a=(0,u.useRef)({isFocusWithin:!1}),{addGlobalListener:o,removeAllGlobalListeners:s}=wt(),c=(0,u.useCallback)(e=>{R(e.currentTarget,B(e))&&a.current.isFocusWithin&&!R(e.currentTarget,e.relatedTarget)&&(a.current.isFocusWithin=!1,s(),n&&n(e),i&&i(!1))},[n,i,a,s]),l=Be(c),d=(0,u.useCallback)(e=>{if(!R(e.currentTarget,B(e)))return;let t=B(e),n=F(t),s=z(n);if(!a.current.isFocusWithin&&s===t){r&&r(e),i&&i(!0),a.current.isFocusWithin=!0,l(e);let t=e.currentTarget;o(n,`focus`,e=>{let r=B(e);if(a.current.isFocusWithin&&!R(t,r)){let e=new n.defaultView.FocusEvent(`blur`,{relatedTarget:r});ze(e,t);let i=Re(e);c(i)}},{capture:!0})}},[r,i,l,o,c]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}
1:{focusWithinProps:{onFocus:d,onBlur:c}}}var Et=!1,U=0;function Dt(){Et=!0,setTimeout(()=>{Et=!1},500)}function Ot(e){e.pointerType===`touch`&&Dt()}function kt(){let e=F(null);if(e!==void 0)return U===0&&typeof PointerEvent<`u`&&e.addEventListener(`pointerup`,Ot),U++,()=>{U--,!(U>0)&&typeof PointerEvent<`u`&&e.removeEventListener(`pointerup`,Ot)}}function At(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:r,isDisabled:i}=e,[a,o]=(0,u.useState)(!1),s=(0,u.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:``,target:null}).current;(0,u.useEffect)(kt,[]);let{addGlobalListener:c,removeAllGlobalListeners:l}=wt(),{hoverProps:d,triggerHoverEnd:f}=(0,u.useMemo)(()=>{let e=(e,r)=>{if(s.pointerType=r,i||r===`touch`||s.isHovered||!R(e.currentTarget,B(e)))return;s.isHovered=!0;let l=e.currentTarget;s.target=l,c(F(B(e)),`pointerover`,e=>{s.isHovered&&s.target&&!R(s.target,B(e))&&a(e,e.pointerType)},{capture:!0}),t&&t({type:`hoverstart`,target:l,pointerType:r}),n&&n(!0),o(!0)},a=(e,t)=>{let i=s.target;s.pointerType=``,s.target=null,!(t===`touch`||!s.isHovered||!i)&&(s.isHovered=!1,l(),r&&r({type:`hoverend`,target:i,pointerType:t}),n&&n(!1),o(!1))},u={};return typeof PointerEvent<`u`&&(u.onPointerEnter=t=>{Et&&t.pointerType===`mouse`||e(t,t.pointerType)},u.onPointerLeave=e=>{!i&&R(e.currentTarget,B(e))&&a(e,e.pointerType)}),{hoverProps:u,triggerHoverEnd:a}},[t,n,r,i,s,c,l]);return(0,u.useEffect)(()=>{i&&f({currentTarget:s.target},s.pointerType)},[i]),{hoverProps:d,isHovered:a}}function W(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}function G(e,t){let n=e,r=0,i=t.toString(),a=i.toLowerCase().indexOf(`e-`);if(a>0)r=Math.abs(Math.floor(Math.log10(Math.abs(t))))+a;else{let e=i.indexOf(`.`);e>=0&&(r=i.length-e)}if(r>0){let e=10**r;n=Math.round(n*e)/e}return n}function jt(e,t,n,r){t=Number(t),n=Number(n);let i=(e-(isNaN(t)?0:t))%r,a=G(Math.abs(i)*2>=r?e+Math.sign(i)*(r-Math.abs(i)):e-i,r);return isNaN(t)?!isNaN(n)&&a>n&&(a=Math.floor(G(n/r,r))*r):a<t?a=t:!isNaN(n)&&a>n&&(a=t+Math.floor(G((n-t)/r,r))*r),a=G(a,r),a}var Mt=(0,u.createContext)({placement:`bottom`}),K={top:`top`,bottom:`top`,left:`left`,right:`left`},Nt={top:`bottom`,bottom:`top`,left:`right`,right:`left`},Pt={top:`left`,left:`top`},Ft={top:`height`,left:`width`},It={width:`totalWidth`,height:`totalHeight`},Lt={},Rt=()=>typeof document<`u`?window.visualViewport:null;function zt(e,t){let n=0,r=0,i=0,a=0,o=0,s=0,c={},l=(t?.scale??1)>1;if(e.tagName===`BODY`||e.tagName===`HTML`){let l=document.documentElement;i=l.clientWidth,a=l.clientHeight,n=t?.width??i,r=t?.height??a,c.top=l.scrollTop||e.scrollTop,c.left=l.scrollLeft||e.scrollLeft,t&&(o=t.offsetTop,s=t.offsetLeft)}else({width:n,height:r,top:o,left:s}=q(e,!1)),c.top=e.scrollTop,c.left=e.scrollLeft,i=n,a=r;return Xe()&&(e.tagName===`BODY`||e.tagName===`HTML`)&&l&&(c.top=0,c.left=0,o=t?.pageTop??0,s=t?.pageLeft??0),{width:n,height:r,totalWidth:i,totalHeight:a,scroll:c,top:o,left:s}}function Bt(e){return{top:e.scrollTop,left:e.scrollLeft,width:e.scrollWidth,height:e.scrollHeight}}function Vt(e,t,n,r,i,a,o){let s=i.scroll[e]??0,c=r[Ft[e]],l=o[e]+r.scroll[K[e]]+a,u=o[e]+r.scroll[K[e]]+c-a,d=t-s+r.scroll[K[e]]+o[e]-r[K[e]],f=t-s+n+r.scroll[K[e]]+o[e]-r[K[e]];return d<l?l-d:f>u?Math.max(u-f,l-d):0}function Ht(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}function Ut(e){if(Lt[e])return Lt[e];let[t,n]=e.split(` `),r=K[t]||`right`,i=Pt[r];K[n]||(n=`center`);let a=Ft[r],o=Ft[i];return Lt[e]={placement:t,crossPlacement:n,axis:r,crossAxis:i,size:a,crossSize:o},Lt[e]}function Wt(e,t,n,r,i,a,o,s,c,l,u){let{placement:d,crossPlacement:f,axis:p,crossAxis:m,size:h,crossSize:g}=r,_={};_[m]=e[m]??0,f===`center`?_[m]+=((e[g]??0)-(n[g]??0))/2:f!==m&&(_[m]+=(e[g]??0)-(n[g]??0)),_[m]+=a;let v=e[m]-n[g]+c+l,y=e[m]+e[g]-c-l;if(_[m]=W(_[m],v,y),d===p){let t=s?u[h]:u[It[h]];_[Nt[p]]=Math.floor(t-e[p]+i)}else _[p]=Math.floor(e[p]+e[h]+i);return _}function Gt(e,t,n,r,i,a,o,s,c,l,u){let d=(e.top==null?c[It.height]-(e.bottom??0)-o:e.top)-(c.scroll.top??0),f=l?n.top:0,p={top:Math.max(t.top+f,(u?.offsetTop??t.top)+f),bottom:Math.min(t.top+t.height+f,(u?.offsetTop??0)+(u?.height??0))};return s===`top`?Math.max(0,d+o-p.top-((i.top??0)+(i.bottom??0)+a)):Math.max(0,p.bottom-d-((i.top??0)+(i.bottom??0)+a))}function Kt(e,t,n,r,i,a,o,s){let{placement:c,axis:l,size:u}=a;return c===l?Math.max(0,n[l]-(o.scroll[l]??0)-(e[l]+(s?t[l]:0))-(r[l]??0)-r[Nt[l]]-i):Math.max(0,e[u]+e[l]+(s?t[l]:0)-n[l]-n[u]+(o.scroll[l]??0)-(r[l]??0)-r[Nt[l]]-i)}function qt(e,t,n,r,i,a,o,s,c,l,u,d,f,p,m,h,g,_){let v=Ut(e),{size:y,crossAxis:b,crossSize:x,placement:S,crossPlacement:C}=v,w=Wt(t,s,n,v,u,d,l,f,m,h,c),T=u,E=Kt(s,l,t,i,a+u,v,c,g);if(o&&n[y]>E){let e=Ut(`${Nt[S]} ${C}`),r=Wt(t,s,n,e,u,d,l,f,m,h,c);Kt(s,l,t,i,a+u,e,c,g)>E&&(v=e,w=r,T=u)}let D=`bottom`;v.axis===`top`?v.placement===`top`?D=`top`:v.placement===`bottom`&&(D=`bottom`):v.crossAxis===`top`&&(v.crossPlacement===`top`?D=`bottom`:v.crossPlacement===`bottom`&&(D=`top`));let O=Vt(b,w[b],n[x],s,c,a,l);w[b]+=O;let k=Gt(w,s,l,f,i,a,n.height,D,c,g,_);p&&p<k&&(k=p),n.height=Math.min(n.height,k),w=Wt(t,s,n,v,T,d,l,f,m,h,c),O=Vt(b,w[b],n[x],s,c,a,l),w[b]+=O;let A={},j=t[b]-w[b]-i[K[b]],ee=j+.5*t[x],te=m/2+h,M=K[b]===`left`?(i.left??0)+(i.right??0):(i.top??0)+(i.bottom??0),ne=n[x]-M-m/2-h;A[b]=W(W(ee,t[b]+m/2-(w[b]+i[K[b]]),t[b]+t[x]-m/2-(w[b]+i[K[b]])),te,ne),{placement:S,crossPlacement:C}=v,m?j=A[b]:C===`right`?j+=t[x]:C===`center`&&(j+=t[x]/2);let N=S===`left`||S===`top`?n[y]:0,re={x:S===`top`||S===`bottom`?j:N,y:S===`left`||S===`right`?j:N};return{position:w,maxHeight:k,arrowOffsetLeft:A.left,arrowOffsetTop:A.top,placement:S,triggerAnchorPoint:re}}function Jt(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:i,padding:a,shouldFlip:o,boundaryElement:s,offset:c,crossOffset:l,maxHeight:u,arrowSize:d=0,arrowBoundaryOffset:f=0,targetRect:p}=e,m=Rt(),h=r instanceof HTMLElement?Zt(r):document.documentElement,g=h===document.documentElement,_=window.getComputedStyle(h).position,v=!!_&&_!==`static`,y=g?q(n,!1,p):Xt(n,h,!1,p);if(!g){let{marginTop:e,marginLeft:t}=window.getComputedStyle(n);y.top+=parseInt(e,10)||0,y.left+=parseInt(t,10)||0}let b=q(r,!0),x=Ht(r);b.width+=(x.left??0)+(x.right??0),b.height+=(x.top??0)+(x.bottom??0);
vendor: 4,880 bytes, line 1
1let S=Bt(i),C=zt(s,m),w=zt(h,m),T;if((s.tagName===`BODY`||s.tagName===`HTML`)&&!g){let e=Yt(h,!1);T={top:-(e.top-C.top),left:-(e.left-C.left),width:0,height:0}}else T=(s.tagName===`BODY`||s.tagName===`HTML`)&&g?{top:0,left:0,width:0,height:0}:Xt(s,h,!1);let E=R(s,h);return qt(t,y,b,S,x,a,o,C,w,T,c,l,v,u,d,f,E,m)}function Yt(e,t){let{top:n,left:r,width:i,height:a}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,a=e.offsetHeight),{top:n,left:r,width:i,height:a}}function q(e,t,n){let{top:r,left:i,width:a,height:o}=n||Yt(e,t),{scrollTop:s,scrollLeft:c,clientTop:l,clientLeft:u}=document.documentElement;return{top:r+s-l,left:i+c-u,width:a,height:o}}function Xt(e,t,n,r){let i=window.getComputedStyle(e),a;if(i.position===`fixed`)a=r||Yt(e,n);else{a=q(e,n,r);let i=q(t,n),o=window.getComputedStyle(t);i.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,i.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,a.top-=i.top,a.left-=i.left}return a.top-=parseInt(i.marginTop,10)||0,a.left-=parseInt(i.marginLeft,10)||0,a}function Zt(e){let t=e.offsetParent;if(t&&t===document.body&&window.getComputedStyle(t).position===`static`&&!Qt(t)&&(t=document.documentElement),t==null)for(t=e.parentElement;t&&!Qt(t);)t=t.parentElement;return t||document.documentElement}function Qt(e){let t=window.getComputedStyle(e);return t.transform!==`none`||/transform|perspective/.test(t.willChange)||t.filter!==`none`||t.contain===`paint`||`backdropFilter`in t&&t.backdropFilter!==`none`||`WebkitBackdropFilter`in t&&t.WebkitBackdropFilter!==`none`}var $t=new WeakMap;function en(e){let{triggerRef:t,isOpen:n,onClose:r}=e;(0,u.useEffect)(()=>!n||r===null?void 0:ye(xe(t.current),`scroll`,e=>{let n=B(e);if(!t.current||n instanceof Node&&!R(n,t.current)||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement)return;let i=r||$t.get(t.current);i&&i()},!0),[n,r,t])}function tn(){return window.ResizeObserver!==void 0}function nn(e){let{ref:t,box:n,onResize:r}=e,i=tt(r);(0,u.useEffect)(()=>{let e=t?.current;if(e){if(tn()){let t=new window.ResizeObserver(e=>{e.length&&i()});return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}return window.addEventListener(`resize`,i,!1),()=>{window.removeEventListener(`resize`,i,!1)}}},[t,n])}var J=typeof document<`u`?window.visualViewport:null;function rn(e){let{direction:t}=mt(),{arrowSize:n,targetRef:r,overlayRef:i,arrowRef:a,scrollRef:o=i,placement:s=`bottom`,containerPadding:c=12,shouldFlip:l=!0,boundaryElement:d=typeof document<`u`?document.body:null,offset:f=0,crossOffset:m=0,shouldUpdatePosition:h=!0,isOpen:g=!0,onClose:_,maxHeight:v,arrowBoundaryOffset:y=0,getTargetRect:b}=e,[x,S]=(0,u.useState)(null),C=[h,s,i.current,r.current,a?.current,o.current,c,l,d,f,m,g,t,v,y,n],w=(0,u.useRef)(J?.scale);(0,u.useEffect)(()=>{g&&(w.current=J?.scale)},[g]);let T=(0,u.useCallback)(()=>{if(h===!1||!g||!i.current||!r.current||!d||J?.scale!==w.current)return;let e=null;if(o.current&&Se(o.current)){let t=z()?.getBoundingClientRect(),n=o.current.getBoundingClientRect();e={type:`top`,offset:(t?.top??0)-n.top},e.offset>n.height/2&&(e.type=`bottom`,e.offset=(t?.bottom??0)-n.bottom)}let u=i.current;!v&&i.current&&(u.style.top=`0px`,u.style.bottom=``,u.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+`px`);let p=Jt({placement:on(s,t),overlayNode:i.current,targetNode:r.current,scrollNode:o.current||i.current,padding:c,shouldFlip:l,boundaryElement:d,offset:f,crossOffset:m,maxHeight:v,arrowSize:n??(a?.current?Yt(a.current,!0).width:0),arrowBoundaryOffset:y,targetRect:b?.(r.current)});if(!p.position)return;u.style.top=``,u.style.bottom=``,u.style.left=``,u.style.right=``,Object.keys(p.position).forEach(e=>u.style[e]=p.position[e]+`px`),u.style.maxHeight=p.maxHeight==null?``:p.maxHeight+`px`;let _=z();if(e&&_&&o.current){let t=_.getBoundingClientRect(),n=o.current.getBoundingClientRect(),r=t[e.type]-n[e.type];o.current.scrollTop+=r-e.offset}S(p)},C);p(T,C),an(T),nn({ref:i,onResize:T}),nn({ref:r,onResize:T});let E=(0,u.useRef)(!1);p(()=>{let e,t=()=>{E.current=!0,clearTimeout(e),e=setTimeout(()=>{E.current=!1},500),T()},n=()=>{E.current&&t()};return J?.addEventListener(`resize`,t),J?.addEventListener(`scroll`,n),()=>{J?.removeEventListener(`resize`,t),J?.removeEventListener(`scroll`,n)}},[T]);let D=(0,u.useCallback)(()=>{E.current||_?.()},[_,E]);return en({triggerRef:r,isOpen:g,onClose:_&&D}),{overlayProps:{style:{position:x?`absolute`:`fixed`,top:x?void 0:0,left:x?void 0:0,zIndex:1e5,...x?.position,maxHeight:x?.maxHeight??`100vh`}},placement:x?.placement??null,triggerAnchorPoint:x?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":`true`,role:`presentation`,style:{left:x?.arrowOffsetLeft,top:x?.arrowOffsetTop}},updatePosition:T}}function an(e){p(()=>(window.addEventListener(`resize`,e,!1),()=>{window.removeEventListener(`resize`,e,!1)}),[e])}
1function on(e,t){return t===`rtl`?e.replace(`start`,`right`).replace(`end`,`left`):e.replace(`start`,`left`).replace(`end`,`right`)}var sn=(0,u.createContext)({});function cn(){return(0,u.useContext)(sn)??{}}function ln(e){let[t,n]=gt(e.isOpen,e.defaultOpen||!1,e.onOpenChange),[r,i]=(0,u.useState)(null);return{isOpen:t,setOpen:n,open:(0,u.useCallback)(()=>{n(!0)},[n]),close:(0,u.useCallback)(()=>{n(!1)},[n]),toggle:(0,u.useCallback)(()=>{n(!t)},[n,t]),point:r,setPoint:i}}function un(e,t=!0){let[n,r]=(0,u.useState)(!0),i=n&&t;return p(()=>{if(i&&e.current&&`getAnimations`in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,i]),fn(e,i,(0,u.useCallback)(()=>r(!1),[])),i}function dn(e,t){let[n,r]=(0,u.useState)(t?`open`:`closed`);switch(n){case`open`:t||r(`exiting`);break;case`closed`:case`exiting`:t&&r(`open`)}let i=n===`exiting`;return fn(e,i,(0,u.useCallback)(()=>{r(e=>e===`exiting`?`closed`:e)},[])),i}function fn(e,t,n){p(()=>{if(t&&e.current){if(!(`getAnimations`in e.current)){n();return}let t=e.current.getAnimations();if(t.length===0){n();return}let r=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{r||(0,d.flushSync)(()=>{n()})}),()=>{r=!0}}},[e,t,n])}var pn=1500,mn=500,Y={},hn=0,X=!1,Z=null,Q=null;function gn(e={}){let{delay:t=pn,closeDelay:n=mn}=e,{isOpen:r,open:i,close:a}=ln(e),[o,s]=(0,u.useState)(!1),c=(0,u.useMemo)(()=>`${++hn}`,[]),l=(0,u.useRef)(null),d=(0,u.useRef)(a),f=()=>{Y[c]=h},p=()=>{for(let e in Y)e!==c&&(Y[e](!0,!0),delete Y[e])},m=e=>{l.current&&clearTimeout(l.current),l.current=null,p(),f(),s(!!e),X=!0,i(),Z&&=(clearTimeout(Z),null),Q&&=(clearTimeout(Q),null)},h=(e,t)=>{s(!!t),e||n<=0?(l.current&&clearTimeout(l.current),l.current=null,d.current()):l.current||=setTimeout(()=>{l.current=null,d.current()},n),Z&&=(clearTimeout(Z),null),X&&(Q&&clearTimeout(Q),Q=setTimeout(()=>{delete Y[c],Q=null,X=!1},Math.max(mn,n)))},g=()=>{p(),f(),!r&&!X?(Z&&clearTimeout(Z),Z=setTimeout(()=>{Z=null,X=!0,m(!1)},t)):r||m(!0)};return(0,u.useEffect)(()=>{d.current=a},[a]),(0,u.useEffect)(()=>()=>{l.current&&clearTimeout(l.current),Y[c]&&delete Y[c]},[c]),{isOpen:r,shouldSkipAnimation:o,open:e=>{!e&&t>0&&!l.current?g():m(X)},close:h}}var _n=u.createContext(null);function vn(e){let{children:t}=e,n=(0,u.useContext)(_n),[r,i]=(0,u.useState)(0),a=(0,u.useMemo)(()=>({parent:n,modalCount:r,addModal(){i(e=>e+1),n&&n.addModal()},removeModal(){i(e=>e-1),n&&n.removeModal()}}),[n,r]);return u.createElement(_n.Provider,{value:a},t)}function yn(){let e=(0,u.useContext)(_n);return{modalProviderProps:{"aria-hidden":e&&e.modalCount>0?!0:void 0}}}function bn(e){let{modalProviderProps:t}=yn();return u.createElement(`div`,{"data-overlay-container":!0,...e,...t})}function xn(e){return u.createElement(vn,null,u.createElement(bn,e))}function Sn(e){let t=T(),{portalContainer:n=t?null:document.body,...r}=e,{getContainer:i}=cn();if(!e.portalContainer&&i&&(n=i()),u.useEffect(()=>{if(n?.closest(`[data-overlay-container]`))throw Error(`An OverlayContainer must not be inside another container. Please change the portalContainer prop.`)},[n]),!n)return null;let a=u.createElement(xn,r);return d.createPortal(a,n)}function Cn(e,t){let n=Ct(e,{labelable:!0}),{hoverProps:r}=At({onHoverStart:()=>t?.open(!0),onHoverEnd:()=>t?.close()});return{tooltipProps:P(n,r,{role:`tooltip`})}}var $=(0,u.createContext)(null),wn=(0,u.createContext)(null),Tn=(0,u.forwardRef)(function({UNSTABLE_portalContainer:e,...t},n){[t,n]=le(t,n,wn);let r=(0,u.useContext)($),i=gn(t),a=t.isOpen!=null||t.defaultOpen!=null||!r?i:r,o=dn(n,a.isOpen),s=t.isExiting||!a.shouldSkipAnimation&&o||!1;return!a.isOpen&&!s?null:u.createElement(Sn,{portalContainer:e},u.createElement(En,{...t,tooltipRef:n,isExiting:s}))});function En(e){let t=(0,u.useContext)($),n=(0,u.useRef)(null),{overlayProps:r,arrowProps:i,placement:a,triggerAnchorPoint:o}=rn({placement:e.placement||`top`,targetRef:e.triggerRef,overlayRef:e.tooltipRef,arrowRef:n,offset:e.offset,crossOffset:e.crossOffset,isOpen:t.isOpen,arrowBoundaryOffset:e.arrowBoundaryOffset,shouldFlip:e.shouldFlip,containerPadding:e.containerPadding,onClose:()=>t.close(!0)}),s=un(e.tooltipRef,!!a),c=e.isEntering||!t.shouldSkipAnimation&&s||!1,l=se({...e,defaultClassName:`react-aria-Tooltip`,values:{placement:a,isEntering:c,isExiting:e.isExiting,state:t}});
1e=P(e,r);let{tooltipProps:d}=Cn(e,t),f=Ct(e,{global:!0});return u.createElement(me.div,{...P(f,l,d),ref:e.tooltipRef,style:{...r.style,"--trigger-anchor-point":o?`${o.x}px ${o.y}px`:void 0,...l.style},"data-placement":a??void 0,"data-entering":c||void 0,"data-exiting":e.isExiting||void 0},u.createElement(Mt.Provider,{value:{...i,placement:a,ref:n}},l.children))}var Dn=i(`div`,{target:`e1zj3zg0`})(({width:e=`100%`,height:t})=>({width:e,height:t})),On=e=>`${e.zIndices.popup} !important`,kn=e=>{let t=s(e);return{boxSizing:`border-box`,borderTopLeftRadius:e.radii.default,borderTopRightRadius:e.radii.default,borderBottomRightRadius:e.radii.default,borderBottomLeftRadius:e.radii.default,borderWidth:e.sizes.borderWidth,borderStyle:`solid`,borderColor:t?e.colors.bgColor:e.colors.borderColor,boxShadow:t?e.shadows.popover:e.shadows.none}},An=(e,t)=>{let n=e.widgetBorderColor??e.secondaryBg;return t&&(n=e.primary),n},jn=o(`from{opacity:0}to{opacity:1}`),Mn=i(Tn,{target:`e1wa7l460`})(({theme:e})=>({position:`fixed !important`,left:`0 !important`,top:`0 !important`,width:`max-content`,zIndex:On(e),pointerEvents:`none`})),Nn=i(`div`,{target:`e1wa7l463`})(({theme:e})=>({boxSizing:`border-box`,pointerEvents:`auto`,backgroundColor:s(e)?e.colors.bgColor:e.colors.secondaryBg,color:e.colors.bodyText,fontSize:e.fontSizes.sm,fontWeight:e.fontWeights.normal,borderRadius:e.radii.default,boxShadow:e.shadows.tooltip,maxWidth:`calc(${e.sizes.contentMaxWidth} - 2 * ${e.spacing.threeXL})`,maxHeight:e.sizes.maxTooltipHeight,overflow:`auto`,padding:`${e.spacing.xs} ${e.spacing.md}`,animation:`${jn} 120ms ease-in 50ms both`,[`@media (max-width: ${e.breakpoints.sm})`]:{maxWidth:`calc(100% - ${e.spacing.threeXL})`},img:{maxWidth:`100%`},"*":{fontSize:e.fontSizes.sm}})),Pn=function(e){return e.AUTO=`auto`,e.TOP_LEFT=`topLeft`,e.TOP=`top`,e.TOP_RIGHT=`topRight`,e.RIGHT_TOP=`rightTop`,e.RIGHT=`right`,e.RIGHT_BOTTOM=`rightBottom`,e.BOTTOM_RIGHT=`bottomRight`,e.BOTTOM=`bottom`,e.BOTTOM_LEFT=`bottomLeft`,e.LEFT_BOTTOM=`leftBottom`,e.LEFT=`left`,e.LEFT_TOP=`leftTop`,e}({}
1),Fn={auto:`top`,top:`top`,topLeft:`top start`,topRight:`top end`,bottom:`bottom`,bottomLeft:`bottom left`,bottomRight:`bottom right`,left:`left`,leftTop:`left top`,leftBottom:`left bottom`,right:`right`,rightTop:`right top`,rightBottom:`right bottom`},In={auto:`top`,top:`top`,topLeft:`top-start`,topRight:`top-end`,bottom:`bottom`,bottomLeft:`bottom-start`,bottomRight:`bottom-end`,left:`left`,leftTop:`left-start`,leftBottom:`left-end`,right:`right`,rightTop:`right-start`,rightBottom:`right-end`},Ln=(0,u.createContext)({current:null});Ln.displayName=`TriggerRefContext`;var Rn=(0,u.createContext)(null);Rn.displayName=`SetTriggerRefContext`;var zn=[c({strategy:`referenceHidden`})];function Bn({tag:e,style:t,testId:n,className:i,ariaDescribedBy:a,disabled:o,dismissOnClick:s,closeImmediatelyOnPointerLeave:c,children:l}){let d=(0,u.useContext)($),f=(0,u.useContext)(Ln),p=(0,u.useContext)(Rn),m=(0,u.useRef)(!1),h=(0,u.useCallback)(e=>{f.current=e,p?.(e)},[f,p]),{focusWithinProps:g}=Tt({onFocusWithin(){m.current=!0,o||d?.open(!0)},onBlurWithin(){m.current=!1,d?.close(!0)}});return r(e,{ref:h,style:t,"data-testid":n,className:i,"aria-describedby":a,onPointerEnter:()=>{o||d?.open(!1)},onPointerLeave:()=>{m.current||d?.close(c)},onClickCapture:()=>{s&&d?.close(!0)},...g,children:l})}function Vn({content:e,placement:t,children:i,inline:a,style:o,onMouseEnterDelay:s,closeDelay:c,containerWidth:d,error:f,dismissOnClick:p=!1,interactive:m=!0}){let h=(0,u.useRef)(null),g=(0,u.useRef)(null),_=Fn[t],v=(0,u.useId)(),y=gn({delay:s??200,closeDelay:c??300}),b=!e,x=(0,u.useRef)(y);x.current=y,(0,u.useEffect)(()=>{b&&x.current.close(!0)},[b]);let{refs:S,floatingStyles:C,middlewareData:w}=l({open:y.isOpen,placement:In[t],offsetPx:10,extraMiddleware:zn}),T=w.hide?.referenceHidden??!1;(0,u.useEffect)(()=>{if(T&&h.current){let e=h.current.getBoundingClientRect();(e.width>0||e.height>0)&&x.current.close(!0)}},[T]);let E=(0,u.useCallback)(e=>{S.setReference(e),h.current=e},[S]),D=(0,u.useMemo)(()=>({triggerRef:g}),[g]);return(0,u.useEffect)(()=>{if(!y.isOpen)return;let e=e=>{e.key===`Escape`&&x.current.close(!0)};return document.addEventListener(`keydown`,e,!0),()=>document.removeEventListener(`keydown`,e,!0)},[y.isOpen]),r($.Provider,{value:y,children:r(Ln.Provider,{value:h,children:r(Rn.Provider,{value:E,children:n(wn.Provider,{value:D,children:[r(Bn,{tag:a?`span`:`div`,style:{display:`flex`,flexDirection:`row`,justifyContent:a?`flex-end`:``,width:d?`100%`:`auto`,...o},testId:f?`stTooltipErrorHoverTarget`:`stTooltipHoverTarget`,className:f?`stTooltipErrorHoverTarget`:`stTooltipHoverTarget`,ariaDescribedBy:!b&&y.isOpen?v:void 0,disabled:b,dismissOnClick:p,closeImmediatelyOnPointerLeave:c===0,children:i}),b?null:r(Mn,{ref:S.setFloating,id:v,placement:_,style:C,children:r(Nn,{className:f?`stTooltipErrorContent`:`stTooltipContent`,"data-testid":f?`stTooltipErrorContent`:`stTooltipContent`,onPointerEnter:()=>{m&&y?.open(!0)},onPointerLeave:()=>y?.close(!m),children:e})})]})})})})}var Hn=(0,u.memo)(Vn);export{oe as $,Qe as A,Ie as B,mt as C,Xe as D,Ze as E,Be as F,z as G,Ce as H,ze as I,L as J,xe as K,He as L,Ye as M,Je as N,qe as O,Re as P,ye as Q,Ve as R,gt as S,tt as T,R as U,je as V,Se as W,F as X,ve as Y,I as Z,jt as _,An as a,de as at,wt as b,dn as c,P as ct,cn as d,j as dt,le as et,rn as f,T as ft,W as g,Mt as h,Dn as i,me as it,$e as j,Ge as k,un as l,M as lt,$t as m,f as mt,Hn as n,ue as nt,On as o,ce as ot,nn as p,p as pt,B as q,Nn as r,ae as rt,kn as s,ie as st,Pn as t,se as tt,ln as u,te as ut,At as v,pt as w,Ct as x,Tt as y,Fe as z};

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.