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