"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("@babel/runtime/helpers/objectWithoutProperties"),t=require("react"),o=require("@material-ui/core"),i=require("prop-types"),p=require("react/jsx-runtime");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(e),n=a(r),s=a(i),u=["DisabledTooltipProps"];function c(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function b(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?c(Object(t),!0).forEach((function(r){l.default(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):c(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var d=function(e){var r=e.DisabledTooltipProps,t=n.default(e,u);return t.disabled?p.jsx(o.Tooltip,b(b({title:"Disabled",placement:"top"},r),{},{children:p.jsx("span",{children:p.jsx(o.Tab,b({},t))})})):p.jsx(o.Tab,b({},t))};d.propTypes={disabled:s.default.bool,DisabledTooltipProps:s.default.shape({})},d.defaultProps={disabled:!1,DisabledTooltipProps:{}};var f=t.memo(d);module.exports=f;
