import e from"@babel/runtime/helpers/defineProperty";import r from"@babel/runtime/helpers/objectWithoutProperties";import{jsx as o}from"react/jsx-runtime";import{Tooltip as t}from"@material-ui/core";import"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/DcFullscreenElemsCoordinatorProvider.js";import{IsInsideDcFullscreenElemProvider as n}from"../../components/DevCenter/DevCenterAppContainer/components/DcFullscreenElemsCoordinatorProvider/IsInsideDcFullscreenElemProvider.js";import{useDelayedDcFullscreenElemOpen as i}from"../../effects/useDelayedDcFullscreenElemOpen.js";var p=["onOpen","onClose","open","title","TransitionProps"];function s(e,r){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r&&(t=t.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),o.push.apply(o,t)}return o}function c(r){for(var o=1;o<arguments.length;o++){var t=null!=arguments[o]?arguments[o]:{};o%2?s(Object(t),!0).forEach((function(o){e(r,o,t[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):s(Object(t)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(t,e))}))}return r}var l=function(e){var s=e.onOpen,l=e.onClose,u=e.open,m=e.title,a=e.TransitionProps,f=void 0===a?{}:a,O=r(e,p),b=i({isOpen:!!u}),P=b.delayedIsOpen,d=b.requestOpen,j=b.requestClose,v="boolean"==typeof u;return o(t,c(c({},O),{},{open:P,onOpen:function(e){null==s||s(e),v||d()},onClose:function(e){null==l||l(e),v||j()},TransitionProps:c(c({},f),{},{timeout:0}),title:o(n,{children:m})}))};export{l as DcTooltip};
//# sourceMappingURL=DcTooltip.js.map
