// All material copyright Esri, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.30/esri/copyright.txt for details. //>>built define(["exports","./componentsUtils","./observers","./resources3"],function(c,b,g,d){function e(){"undefined"!==typeof customElements&&["calcite-dropdown-group"].forEach(a=>{switch(a){case "calcite-dropdown-group":customElements.get(a)||customElements.define(a,f)}})}const f=b.proxyCustomElement(class extends b.H{constructor(){super();this.__registerHost();this.__attachShadow();this.calciteInternalDropdownItemChange=b.createEvent(this,"calciteInternalDropdownItemChange",6);this.updateItems=()=>{Array.from(this.el.querySelectorAll("calcite-dropdown-item")).forEach(a=> a.selectionMode=this.selectionMode)};this.mutationObserver=g.createObserver("mutation",()=>this.updateItems());this.groupTitle=void 0;this.scale="m";this.selectionMode="single"}handlePropsChange(){this.updateItems()}connectedCallback(){this.updateItems();this.mutationObserver?.observe(this.el,{childList:!0})}componentWillLoad(){this.groupPosition=this.getGroupPosition()}disconnectedCallback(){this.mutationObserver?.disconnect()}render(){const a=this.groupTitle?b.h("span",{"aria-hidden":"true",class:"dropdown-title"}, this.groupTitle):null,h=0