// Module ID: 5684 // Function ID: 5685 // Name: useBoundingClientRect // Dependencies: [19, 5528] // Exports: useBoundingClientRect // Module 5684 (useBoundingClientRect) import noop from "noop" /* 19 */; const useLayoutEffect = noop.useLayoutEffect; export const useBoundingClientRect = function useBoundingClientRect(arg0, arg1) { const _require = arg0; dependencyMap = arg1; if (obj.isFabricInstalled()) { useLayoutEffect(() => { if (closure_0) { if (tmp.current) { if (typeof tmp.current.unstable_getBoundingClientRect !== "function") { if (typeof tmp.current.getBoundingClientRect === "function") { const current2 = tmp.current; callback(current2.getBoundingClientRect()); } } else { const current = tmp.current; callback(current.unstable_getBoundingClientRect()); } } } }); } };