import{__exports as e}from"../../../_virtual/Badge.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 l}from"../../../_virtual/utils.js";!function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(r),n=i(t),s=i(a),u=l,f=["className","cssModule","color","innerRef","pill","tag"];function i(e){return e&&e.__esModule?e:{default:e}}function p(){return p=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},p.apply(this,arguments)}function c(e,r){if(null==e)return{};var t,a,l=function(e,r){if(null==e)return{};var t,a,l={},o=Object.keys(e);for(a=0;a<o.length;a++)t=o[a],r.indexOf(t)>=0||(l[t]=e[t]);return l}(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)&&(l[t]=e[t])}return l}var d={children:n.default.node,className:n.default.string,color:n.default.string,cssModule:n.default.object,innerRef:n.default.oneOfType([n.default.object,n.default.func,n.default.string]),pill:n.default.bool,tag:u.tagPropType};function m(e){var r=e.className,t=e.cssModule,a=e.color,l=e.innerRef,n=e.pill,i=e.tag,d=c(e,f),m=(0,u.mapToCssModules)((0,s.default)(r,"badge","bg-"+a,!!n&&"rounded-pill"),t);return d.href&&"span"===i&&(i="a"),o.default.createElement(i,p({},d,{className:m,ref:l}))}m.propTypes=d,m.defaultProps={color:"secondary",pill:!1,tag:"span"};var g=m;e.default=g}(e);
//# sourceMappingURL=Badge.js.map
