"use strict";const $=require("./useEffectEvent-DH-2wVX0.cjs.js"),t=require("react");function o(u,r){const e=t.useRef(!0),c=t.useRef(null);let s=$.$8ae05eaa5c114e9c$export$7f54fc3180508a52(u);t.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.useEffect(()=>{let f=c.current;e.current?e.current=!1:(!f||r.some((n,a)=>!Object.is(n,f[a])))&&s(),c.current=r},r)}exports.$4f58c5f72bcf79f7$export$496315a1608d9602=o;
//# sourceMappingURL=useUpdateEffect-BKrABGNa.cjs.js.map
