1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="60529fb0-cb25-48db-ae3c-1a4fa7f8a21f",e._sentryDebugIdIdentifier="sentry-dbid-60529fb0-cb25-48db-ae3c-1a4fa7f8a21f")}catch(e){}}();import"./_sentry-release-injection-file-SYOkQ1Km.js";import{a as e}from"./rolldown-runtime-BBzOAo5_.js";import{t}from"./react-DuV36FPs.js";import{t as r}from"./throttle-BzYF08BZ.js";import{t as n}from"./useResizeListener-Do2yc6xS.js";import{r as s,t as o}from"./totalOffsetTop-CGDIKLqt.js";var i=e(t());function a(e,t,a,f=[]){const[d,l]=(0,i.useState)(!1),u=(0,i.useCallback)(r((()=>{e&&t&&e.current&&t.current&&l(o(e.current)+a>s()+window.innerHeight&&o(t.current)+60<s()+window.innerHeight)}),100,{leading:!0,trailing:!0}),[a,d,l]);return(0,i.useLayoutEffect)(u,[u,a,...f]),n(t,u),(0,i.useLayoutEffect)((()=>(window.addEventListener("scroll",u),()=>window.removeEventListener("scroll",u))),[u,a,t]),d}export{a as t}; 2//# sourceMappingURL=useFloatingButton-CttcbjlG.js.map
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.