"use strict";var e=require("@babel/runtime/helpers/defineProperty"),r=require("prop-types"),s=require("@material-ui/core"),a=require("classnames"),o=require("./ComparisonTable.css.js"),i=require("react/jsx-runtime");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=n(e),l=n(a),t=function(e){var r=e.renderStages,a=e.renderSortIcon,n=e.handleSortClick,t=e.showBar,d=s.useTheme();return i.jsxs("div",{className:l.default(o.comparisonHeader,c.default({},o.comparisonHeaderLightTheme,d.isLightTheme)),children:[i.jsxs("div",{className:o.comparisonNameCol,onClick:n&&function(){return n("key")},children:["Parameter",a&&i.jsx("div",{className:o.comparisonSortIcon,children:a("key")})]}),i.jsxs("div",{className:o.comparisonDesignCol,onClick:n&&function(){return n("design")},children:["Design",a&&i.jsx("div",{className:o.comparisonSortIcon,children:a("design")})]}),i.jsxs("div",{className:o.comparisonActualCol,onClick:n&&function(){return n("actual")},children:["Straps",a&&i.jsx("div",{className:o.comparisonSortIcon,children:a("actual")})]}),i.jsx("div",{className:o.comparisonActualCol,children:"Calc"}),i.jsx("div",{className:o.comparisonActualCol,children:"Variance %"}),i.jsx("div",{className:o.comparisonActualCol,children:"% from design"}),t&&i.jsx("div",{className:o.comparisonChartCol,children:r?r():""})]})};t.propTypes={renderStages:r.func,handleSortClick:r.func,renderSortIcon:r.func,showBar:r.bool},t.defaultProps={renderStages:void 0,handleSortClick:void 0,renderSortIcon:void 0,showBar:!0},module.exports=t;
//# sourceMappingURL=ComparisonHeader.js.map
