import*as e from"react";var r=e.createContext(),t=e.createContext();function n(n){var u=n.children,a=e.useState(null),c=a[0],o=a[1],l=e.useRef(!1);e.useEffect((function(){return function(){l.current=!0}}),[]);var f=e.useCallback((function(e){l.current||o(e)}),[]);return e.createElement(r.Provider,{value:c},e.createElement(t.Provider,{value:f},u))}export{n as Manager,r as ManagerReferenceNodeContext,t as ManagerReferenceNodeSetterContext};
//# sourceMappingURL=Manager.js.map
