import{p as s,H as t,c as e,h as a,a as i}from"./index.js";import{v as o}from"./p-BKP-F1qP.js";import{W as r,a as c,b as n}from"./p-CZr7GBEo.js";import{g as d}from"./p-DKo9A5gq.js";import{a as l}from"./p-Nvj7WFs_.js";import{c as h}from"./p-DrPpH_9c.js";import{d as m}from"./p-CQvUntGY.js";const p=s(class s extends t{constructor(){super();this.__registerHost();this.govChange=e(this,"gov-change");this.hydrated=false;this.size="m";this.h=d(this.host)}validateSize(s){o(c,s,r.root)}componentWillLoad(){this.validateSize(this.size)}componentDidLoad(){this.host.querySelectorAll(n.root).forEach((s=>{s.setAttribute("size",this.size)}))}async componentDidRender(){if(h()){await m(500);await this.validateWcag()}}connectedCallback(){this.hydrated=true}render(){return a(i,{key:"0b400b9a4f82a9477e87a314eb54928b66038912",class:this.h.classes(r.root),role:"list",size:this.size,hydrated:this.hydrated},a("slot",{key:"27f601048d97c94aca98594c98028209081b5690"}))}async validateWcag(){l(this.wcagLabel,this.wcagLabelledBy,r.root)}get host(){return this}static get watchers(){return{size:["validateSize"]}}},[4,"gov-wizard",{size:[1],wcagLabel:[1,"wcag-label"],wcagLabelledBy:[1,"wcag-labelled-by"],validateWcag:[64]},undefined,{size:["validateSize"]}]);function f(){if(typeof customElements==="undefined"){return}const s=["gov-wizard"];s.forEach((s=>{switch(s){case"gov-wizard":if(!customElements.get(s)){customElements.define(s,p)}break}}))}f();const g=p;const b=f;export{g as GovWizard,b as defineCustomElement};
//# sourceMappingURL=gov-wizard.js.map