!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports["l3-style"]=t(require("react")):e["l3-style"]=t(e.react)}(this,(e=>(()=>{"use strict";var t={42487:(e,t,r)=>{r.r(t)},51496:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const o=r(8156);t.default=function({eventName:e,callback:t,ref:r,capture:n=!1}){(0,o.useEffect)((()=>{const o=r&&r.current;if(!o)return;const u={capture:n};return o.addEventListener(e,t,u),()=>{o.removeEventListener(e,t,u)}}),[e,r,t,n])}},1590:function(e,t,r){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const n=r(8156),u=o(r(51496));t.default=function({ref:e}){const[t,r]=(0,n.useState)(!1),o=e&&e.current,a=(0,n.useCallback)((e=>{const t=e.target===o;r(t)}),[r,o]),c=(0,n.useCallback)((e=>r(!1)),[r]);return(0,u.default)({eventName:"mouseover",callback:a,ref:e}),(0,u.default)({eventName:"mouseout",callback:c,ref:e}),t}},41921:(e,t,r)=>{r(42487)},8156:t=>{t.exports=e}},r={};function o(e){var n=r[e];if(void 0!==n)return n.exports;var u=r[e]={exports:{}};return t[e].call(u.exports,u,u.exports,o),u.exports}return o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(41921),o(1590)})()));
//# sourceMappingURL=useIsMouseOver.js.map