import{t as e}from"./vue.runtime.esm-BkFIT5TI.js";import{l as t,n,s as r,t as i}from"./_plugin-vue2_normalizer-agX0mVFg.js";import{bt as a,t as o}from"./lib-DPUqMlxa.js";o();var s=class extends e{color;fab;icon;outlined;text;plain;get colorToApply(){return this.color==null?this.fab||this.icon||this.plain?void 0:`btncolor`:this.color}get primaryColorIsLight(){if(this.fab||this.icon||this.outlined||this.text||this.color!==`primary`)return!1;let e=this.$vuetify.theme.currentTheme.primary?.toString()??``;return!this.$filters.isColorDark(e)}};n([r({type:String})],s.prototype,`color`,void 0),n([r({type:Boolean})],s.prototype,`fab`,void 0),n([r({type:Boolean})],s.prototype,`icon`,void 0),n([r({type:Boolean})],s.prototype,`outlined`,void 0),n([r({type:Boolean})],s.prototype,`text`,void 0),n([r({type:Boolean})],s.prototype,`plain`,void 0),s=n([t({inheritAttrs:!1})],s);var c=i(s,function(){var e=this,t=e._self._c;return e._self._setupProxy,t(a,e._g(e._b({class:{"grey--text text--darken-3":e.primaryColorIsLight},attrs:{color:e.colorToApply,fab:e.fab,icon:e.icon,outlined:e.outlined,text:e.text,plain:e.plain}},`v-btn`,e.$attrs,!1),e.$listeners),[e._t(`default`)],2)},[],!1,null,null,null,null).exports;export{c as t};