import{r as t,h as a,H as s,g as e}from"./p-ClISz4NF.js";import{g as o}from"./p-CoD1xawt.js";import{v as i}from"./p-NOJjz9dT.js";import{B as r,a as c}from"./p-Bo1ROm5Q.js";import{p as n}from"./p-CQvUntGY.js";import{S as d}from"./p-BcQO4NH2.js";import{p as f}from"./p-GYov8gU1.js";import"./p-CgDnDrq5.js";import"./p-U40vKHrs.js";const p=n(d,["_XS","_S","_M"]);var m;(function(t){t["BOLD"]="bold";t["SUBTLE"]="subtle"})(m||(m={}));const l={root:"gov-tag"};const b=class{constructor(a){t(this,a);this.size=p._S;this.color=r.PRIMARY;this.expanded=false;this.h=o(this.host)}validateColor(t){i(r,t,l.root)}validateSize(t){i(c,t,l.root)}componentWillLoad(){this.validateColor(this.color);this.validateSize(this.size)}render(){const t=f(this.iconStart);const e=f(this.iconEnd);return a(s,{key:"bb366b85a94d134d58766604e6410e17bed07adc",class:this.h.classes(l.root),color:this.color,size:this.size,type:this.type},a("span",{key:"963aa53926b6b65bbc155c349a119f46aabe59c8",class:"element"},a("slot",{key:"3164cfa09970ac3e0f97df7265afd45a623b09aa",name:"icon-start"},t&&a("gov-icon",{key:"335c0e5db0cb5a808c553bd4c9f6893d17a8fac9",type:t.type,name:t.name})),a("slot",{key:"9be29754dcefdaa37daee39befdc6a708e36324d"}),a("slot",{key:"6dffe882089838615e9fe451fc800b728885746a",name:"icon-end"},e&&a("gov-icon",{key:"415d8c03fefdf6281ae13668fb7b3aeaa572856e",type:e.type,name:e.name}))))}get host(){return e(this)}static get watchers(){return{color:["validateColor"],size:["validateSize"]}}};export{b as gov_tag};
//# sourceMappingURL=p-617b0dbe.entry.js.map