"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("react"),n=require("@material-ui/core"),o=require("classnames"),i=require("../ChartWrapperContext.js"),c=require("react/jsx-runtime");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=a(e),l=a(r),s=a(o),p=["children","className"];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 b(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?f(Object(t),!0).forEach((function(r){u.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):f(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var m=n.makeStyles({container:{position:"absolute",right:"8px",display:"flex",flexDirection:"column",bottom:function(e){return e.marginBottom+3}}});module.exports=function(e){var r=e.children,n=e.className,o=void 0===n?null:n,a=l.default(e,p),u=t.useContext(i).chartStyles,f=m({marginBottom:u.marginBottom});return c.jsx("div",b(b({className:s.default(f.container,o)},a),{},{children:r}))};
