import{p as e,H as a,c as r,h as n,t as i}from"./p-Bpcl2TqF.js";import{d as t}from"./p-KvSIaMXJ.js";const c=()=>`.breadcrumb-item-label-container{display:flex;align-items:center;gap:8px;text-decoration:none;color:#1D1D1D}.breadcrumb-item-label-container.margin{margin-left:16px}.breadcrumb-item-label-container ifx-icon:empty{display:none}.breadcrumb-item-label-container .label-icon-wrapper{display:inline-flex}.breadcrumb-item-label-container .menu-icon-wrapper{display:flex;justify-content:center;align-items:center;width:16px;height:16px}.breadcrumb-item-label-container .menu-icon-wrapper.hide{display:none}.breadcrumb-item-label-container .menu-icon-wrapper ifx-icon{transition:0.3s}.breadcrumb-item-label-container .menu-icon-wrapper.show ifx-icon{transition:0.3s;transform:rotate(180deg)}`;const o=e(class e extends a{constructor(e){super();if(e!==false){this.__registerHost()}this.__attachShadow();this.breadcrumbMenuIconWrapper=r(this,"breadcrumbMenuIconWrapper",7)}icon;href;target="_self";get el(){return this}breadcrumbMenuIconWrapper;componentDidLoad(){const e=this.el.shadowRoot.querySelector(".breadcrumb-item-label-container");const a=e?.querySelector(".menu-icon-wrapper");if(a){this.breadcrumbMenuIconWrapper.emit(a)}}render(){return n("a",{key:"6571ff2efff0c585a2932583d914df7684630db0",href:this.href,target:this.target,class:"breadcrumb-item-label-container",role:"link"},n("ifx-icon",{key:"75aa1ea3bc21203154fcdd2b6bfa15189f16c065",icon:this.icon,"aria-hidden":"true"}),n("span",{key:"1163f1bc60267f26dc8b838058278ac2367c9ca8",class:"label-wrapper"},n("slot",{key:"30d1672a6aa9a9380d8934663a215a3ef0014be4"})),n("span",{key:"c131a318510e99b33086d8fd660a78a68a6f8a86",class:"menu-icon-wrapper","aria-hiden":"true"},n("ifx-icon",{key:"9f0dbe849a587e7d395388afbc782136969e6025",icon:"chevron-down-16"})))}static get style(){return c()}},[769,"ifx-breadcrumb-item-label",{icon:[1],href:[1],target:[1]}]);function s(){if(typeof customElements==="undefined"){return}const e=["ifx-breadcrumb-item-label","ifx-icon"];e.forEach((e=>{switch(e){case"ifx-breadcrumb-item-label":if(!customElements.get(i(e))){customElements.define(i(e),o)}break;case"ifx-icon":if(!customElements.get(i(e))){t()}break}}))}const l=o;const b=s;export{l as IfxBreadcrumbItemLabel,b as defineCustomElement};
//# sourceMappingURL=ifx-breadcrumb-item-label.js.map