const a=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"];const i=(a,i=[])=>{const r={};i.forEach((i=>{if(a.hasAttribute(i)){const e=a.getAttribute(i);if(e!==null){r[i]=a.getAttribute(i)}a.removeAttribute(i)}}));return r};class r{constructor(a,i){this.element=a;this.callback=i}startObserving(a){this.mutationObserver=new MutationObserver((a=>{for(const i of a){if(i.type==="attributes"&&i.attributeName){const a=this.element.getAttribute(i.attributeName);if(a!==null){this.callback(i.attributeName,a)}}}}));this.mutationObserver.observe(this.element,{attributes:true,attributeFilter:a})}stopObserving(){if(this.mutationObserver){this.mutationObserver.disconnect()}}}const e=(r,e)=>{let t=a;return i(r,t)};export{r as A,a,e as i};
//# sourceMappingURL=p-CXgom82_.js.map