import{p as e,H as s,h as t,a as o}from"./index.js";import{F as a,a as i}from"./p-EeKNA85D.js";import{g as r}from"./p-DKo9A5gq.js";import{v as c}from"./p-BKP-F1qP.js";import{c as n}from"./p-vN03FcXN.js";const f=e(class e extends s{constructor(){super();this.__registerHost();this.color="neutral";this.size="m";this.h=r(this.host);this.messageId=n("GovFormMessage")}validateColor(e){c(i,e,a.root)}componentWillLoad(){this.validateColor(this.color)}render(){return t(o,{key:"f23989a9ea8f6c47ae43cbc8655a9c7d281d36e6",class:this.h.classes(a.root),color:this.color,size:this.size},this.h.hasSlot("icon")&&t("slot",{key:"0cfae3a030761bbd352411054f2a89a13da07bee",name:"icon"}),t("span",{key:"f2d7c7a835f38b3bfe006c75fae9f8a25db7e5e1",id:this.messageId,class:a.content},t("slot",{key:"c6e752c2143d5002a50c233a1ea6cd73ef5e61b9"})))}async identifier(){return this.messageId}get host(){return this}static get watchers(){return{color:["validateColor"]}}},[4,"gov-form-message",{color:[1],size:[1],identifier:[64]},undefined,{color:["validateColor"]}]);function m(){if(typeof customElements==="undefined"){return}const e=["gov-form-message"];e.forEach((e=>{switch(e){case"gov-form-message":if(!customElements.get(e)){customElements.define(e,f)}break}}))}m();export{f as G,m as d};
//# sourceMappingURL=p-CJnwyVlG.js.map