import{__exports as e}from"../../../_virtual/Table.js";import r from"react";import{p as t}from"../../prop-types/index.js";import{c as a}from"../../classnames/index.js";import"./utils.js";import{__exports as s}from"../../../_virtual/utils.js";!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=u(r),l=u(t),n=u(a),d=s,i=["className","cssModule","size","bordered","borderless","striped","dark","hover","responsive","tag","responsiveTag","innerRef"];function u(e){return e&&e.__esModule?e:{default:e}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},f.apply(this,arguments)}function p(e,r){if(null==e)return{};var t,a,s=function(e,r){if(null==e)return{};var t,a,s={},o=Object.keys(e);for(a=0;a<o.length;a++)t=o[a],r.indexOf(t)>=0||(s[t]=e[t]);return s}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a<o.length;a++)t=o[a],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(s[t]=e[t])}return s}var b={bordered:l.default.bool,borderless:l.default.bool,className:l.default.string,cssModule:l.default.object,dark:l.default.bool,hover:l.default.bool,innerRef:l.default.oneOfType([l.default.func,l.default.string,l.default.object]),responsive:l.default.oneOfType([l.default.bool,l.default.string]),responsiveTag:d.tagPropType,size:l.default.string,striped:l.default.bool,tag:d.tagPropType};function c(e){var r=e.className,t=e.cssModule,a=e.size,s=e.bordered,l=e.borderless,u=e.striped,b=e.dark,c=e.hover,v=e.responsive,m=e.tag,g=e.responsiveTag,y=e.innerRef,j=p(e,i),O=(0,d.mapToCssModules)((0,n.default)(r,"table",!!a&&"table-"+a,!!s&&"table-bordered",!!l&&"table-borderless",!!u&&"table-striped",!!b&&"table-dark",!!c&&"table-hover"),t),T=o.default.createElement(m,f({},j,{ref:y,className:O}));if(v){var _=(0,d.mapToCssModules)(!0===v?"table-responsive":"table-responsive-".concat(v),t);return o.default.createElement(g,{className:_},T)}return T}c.propTypes=b,c.defaultProps={tag:"table",responsiveTag:"div"};var v=c;e.default=v}(e);
//# sourceMappingURL=Table.js.map
