var e={},o={};function n(r){var a=o[r];if(void 0!==a)return a.exports;var t=o[r]={exports:{}};return e[r](t,t.exports,n),t.exports}n.rv=function(){return"1.1.8"},n.ruid="bundler=rspack@1.1.8";const r="ha-main-window",a=(()=>{try{return window.name===r?window:parent.name===r?parent:top}catch{return window}})(),t=(e,o)=>((e,o,n,r)=>{r=r||{},n=null==n?{}:n;const a=new Event(o,{bubbles:void 0===r.bubbles||r.bubbles,cancelable:Boolean(r.cancelable),composed:void 0===r.composed||r.composed});return a.detail=n,e.dispatchEvent(a),a})(e,"hass-notification",o);(()=>{const e=a?.document?.querySelector("home-assistant"),o=e?.hass;e.___hacs_reload_handler_active||(o?(e.___hacs_reload_handler_active=!0,o.connection.subscribeEvents((()=>{t(e,{duration:3e5,dismissable:!1,message:"[HACS] You need to reload your browser",action:{action:()=>{a.location.href=a.location.href},text:"reload"}})}),"hacs_resources_updated")):console.error("[HACS/extra/reload_handler] hass not found"))})();
//# sourceMappingURL=extra.fb9760592efef202.js.map