/*!
 * KoliBri - The accessible HTML-Standard
 */
import{r as s,h as i}from"./index-9ca46203.js";import{r as t}from"./component-names-61247f2f.js";const e="",a=e,n=class{constructor(e){s(this,e),this._active=void 0,this._label=void 0,this._open=void 0,this._href=void 0}async focusLink(){this.element&&await this.element.focusLink()}async expand(){this.element&&await this.element.expand()}async collapse(){this.element&&await this.element.collapse()}async isOpen(){var e,t;return null!==(t=await(null===(e=this.element)||void 0===e?void 0:e.isOpen()))&&void 0!==t&&t}render(){return i(t,{key:"0e5d3a40b309446a14662830d862c9dbfd4968fb",class:"kol-tree-item",_active:this._active,_label:this._label,_open:this._open,_href:this._href,ref:e=>this.element=e},i("slot",{key:"e238c62349b04358899f4ea7fe58d4713175a3dd"}))}};n.style={default:a};export{n as kol_tree_item};