export const __webpack_esm_id__=7582;export const __webpack_esm_ids__=[5201,7582];export const __webpack_esm_modules__={5201(e,n,s){s.d(n,{U:()=>i}),s(2927);var r=s(2364);const i=e=>{if((0,r.V)(i,e))return e;class n extends e{_initResizeObserver(){null==n._resizeObserver&&(n._resizeObserver=new ResizeObserver(e=>{n._animationFrameID&&cancelAnimationFrame(n._animationFrameID),n._animationFrameID=requestAnimationFrame(()=>{Array.isArray(e)&&e.length&&e.forEach(e=>{const{target:n,contentRect:s}=e,r=n;if(r.isConnected&&"function"==typeof r.handleResize)try{r.handleResize.call(r,s)}catch(e){console.warn("ResizeObserver handleResize error:",e)}}),n._animationFrameID=void 0})}))}handleResize(e){super.handleResize&&super.handleResize(e),this.dispatchEvent(new CustomEvent("md-resize",{detail:{contentRect:e},bubbles:!0,composed:!0}))}unobserveAll(){super.unobserveAll&&super.unobserveAll();const e=n._resizeObserver;e&&e.disconnect()}connectedCallback(){super.connectedCallback(),this._initResizeObserver();const e=n._resizeObserver;e&&this.isConnected&&e.observe(this)}disconnectedCallback(){super.disconnectedCallback();const e=n._resizeObserver,s=n._animationFrameID;e&&e.unobserve(this),s&&cancelAnimationFrame(s)}}return(0,r.B)(i,n),n}}};