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