"use strict";var v=Object.create;var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var B=Object.getPrototypeOf;var C=Object.prototype.hasOwnProperty;var n=(e,s)=>o(e,"name",{value:s,configurable:true});var I=(e,s)=>{for(var r in s)o(e,r,{get:s[r],enumerable:true})};var l=(e,s,r,a)=>{if(s&&typeof s==="object"||typeof s==="function"){for(let t of u(s))if(!C.call(e,t)&&t!==r)o(e,t,{get:()=>s[t],enumerable:!(a=h(s,t))||a.enumerable})}return e};var i=(e,s,r)=>(r=e!=null?v(B(e)):{},l(s||!e||!e.__esModule?o(r,"default",{value:e,enumerable:true}):r,e));var P=e=>l(o({},"__esModule",{value:true}),e);var x={};I(x,{ProBadge:()=>N});module.exports=P(x);var c=require("react/jsx-runtime");var m=require("@mdi/js");var p=i(require("classnames"));var y=require("react");var g=i(require("react-jss"));var f=i(require("../icon"));var b=i(require("./index"));const S=n(e=>({badge:{height:"auto",padding:[4,6,2,7],borderRadius:e.borderRadiusSmall},invertedBadge:{background:e.styleTypes.primary.contrast,color:e.styleTypes.primary.accent},icon:{fill:e.styleTypes.primary.contrast},invertedIcon:{fill:e.styleTypes.primary.accent}}),"styles");class d extends y.Component{render(){const{classes:s,badgeClasses:r,iconClasses:a,inverted:t,className:T}=this.props;return(0,c.jsx)(b.default,{type:"primary",className:(0,p.default)([s.badge,t&&s.invertedBadge,r,T]),children:(0,c.jsx)(f.default,{icon:m.mdiStar,className:(0,p.default)([s.icon,t&&s.invertedIcon,a])})})}}n(d,"ProBadgeComponent");const N=(0,g.default)(S,{injectTheme:true})(d);
