import{p as e,H as t,h as s,a as i}from"./index.js";import{c as r}from"./p-vN03FcXN.js";import{g as a,c as n}from"./p-DKo9A5gq.js";import{T as d,d as c}from"./p-BTwdrNoS.js";const o=e(class e extends t{constructor(){super();this.__registerHost();this.disabled=false;this.default=false;this.isActive=false;this.h=a(this.host);this.contentId=r("GovTabContent");this.triggerId=r("GovTabTrigger")}rerenderParent(){const e=this.h.getParent(d.root);if(e){e.rerender().catch()}}render(){return s(i,{key:"7de42fde0ca4e787967c76a14aa2498367f66a1c",class:this.h.classes(c.root),default:this.default},s("div",{key:"89f6bf8f5505ed17e5a9c46f60dfbf34353a75e6",class:c.inner,role:"tabpanel",id:this.identifier||this.contentId,hidden:!this.isActive,"aria-labelledby":this.triggerIdentifier||this.triggerId,"aria-hidden":n(!this.isActive)},s("slot",{key:"690b06566e645ce22ec34c47c56852a75ac1069b"})))}async getIdentifier(){return this.identifier||this.contentId}async getTriggerIdentifier(){return this.triggerIdentifier||this.triggerId}async getDisableState(){return this.disabled}async setActiveStatus(e){this.isActive=e}get host(){return this}static get watchers(){return{label:["rerenderParent"],disabled:["rerenderParent"]}}},[4,"gov-tabs-item",{identifier:[1],triggerIdentifier:[1,"trigger-identifier"],label:[513],disabled:[516],iconStart:[513,"icon-start"],iconEnd:[513,"icon-end"],default:[4],isActive:[32],getIdentifier:[64],getTriggerIdentifier:[64],getDisableState:[64],setActiveStatus:[64]},undefined,{label:["rerenderParent"],disabled:["rerenderParent"]}]);function f(){if(typeof customElements==="undefined"){return}const e=["gov-tabs-item"];e.forEach((e=>{switch(e){case"gov-tabs-item":if(!customElements.get(e)){customElements.define(e,o)}break}}))}f();const h=o;const l=f;export{h as GovTabsItem,l as defineCustomElement};
//# sourceMappingURL=gov-tabs-item.js.map