import{p as s,H as e,h as t,a as o}from"./index.js";import{v as a}from"./p-BKP-F1qP.js";import{C as c}from"./p-U40vKHrs.js";import{p as r}from"./p-CQvUntGY.js";import{g as n}from"./p-DKo9A5gq.js";r(c,["PRIMARY","NEUTRAL","ERROR","SUCCESS","WARNING"]);var i;(function(s){s["BOLD"]="bold";s["SUBTLE"]="subtle"})(i||(i={}));const d={root:"gov-message",content:"gov-message__content"};const b=s(class s extends e{constructor(){super();this.__registerHost();this.color=c.PRIMARY;this.type="subtle";this.h=n(this.host)}validateColor(s){a(c,s,d.root)}render(){return t(o,{key:"646b418ce94ae2c4a0e68ae7662b6a0cdcb5abdf",class:this.h.classes(d.root),color:this.color,type:this.type,role:"status"},this.h.hasSlot("icon")&&t("span",{key:"c628baa7a9302fd2422418f6cb643ab188630d19"},t("slot",{key:"3e06254836e945da56d642ca358730c59da0575d",name:"icon"})),t("div",{key:"e9732388652c00c5bb4292d61ba71a62b3a6ca07",class:d.content},t("slot",{key:"71b74db9ecbfa2fcd0bbb102e6d77accbcd1d3f0"})))}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-message",{color:[1],type:[1]},undefined,{color:["validateColor"]}]);function l(){if(typeof customElements==="undefined"){return}const s=["gov-message"];s.forEach((s=>{switch(s){case"gov-message":if(!customElements.get(s)){customElements.define(s,b)}break}}))}l();const m=b;const f=l;export{m as GovMessage,f as defineCustomElement};
//# sourceMappingURL=gov-message.js.map