"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[3825],{67259:function(t,n,s){var e=s(97058),i=s(73010);s(16280),s(23792),s(18111),s(7588),s(36033),s(45367),s(92731),s(83851),s(26099),s(31415),s(17642),s(58004),s(33853),s(45876),s(32475),s(15024),s(31698),s(47764),s(23500),s(62953);function r(t){return function(n,s){if("object"===(0,i.A)(s))throw new Error("This decorator does not support this compilation type.");var r=String(s),o=n;if(o._transformers){if(!o.hasOwnProperty("_transformers")){var a=o._transformers;o._transformers=new Map,a.forEach(function(t,n){return o._transformers.set(n,t)})}}else{o._transformers=new Map,o._watching=new Map;var c=o.willUpdate;o.willUpdate=function(t){var n=this;c.call(this,t);var s=new Set;t.forEach(function(t,e){var i=n._watching.get(e);void 0!==i&&i.forEach(function(t){return s.add(t)})}),s.forEach(function(t){n[t]=n["__original_".concat(String(t))]})}}o._transformers.set(s,t.transformer),t.watch&&t.watch.forEach(function(t){var n=o._watching.get(t);n||(n=new Set,o._watching.set(t,n)),n.add(s)});var u,f=Object.getOwnPropertyDescriptor(n,s);if(void 0===f)u={get:function(){return this["__transform_".concat(r)]},set:function(t){var n=this["__transform_".concat(r)],s=this._transformers.get(r);this["__transform_".concat(r)]=s?s.call(this,t):t,this["__original_".concat(r)]=t,this.requestUpdate(r,n)},configurable:!0,enumerable:!0};else{var h=f.set;u=(0,e.A)((0,e.A)({},f),{},{set:function(t){var n=this["__transform_".concat(r)],s=this._transformers.get(r);this["__transform_".concat(r)]=s?s.call(this,t):t,this["__original_".concat(r)]=t,this.requestUpdate(r,n),null==h||h.call(this,t)}})}Object.defineProperty(n,s,u)}}s.d(n,{p:function(){return r}})},75608:function(t,n,s){var e=s(97058),i=s(57567),r=s(25979),o=(s(23792),s(16034),s(47764),s(62953),function(t,n){var s=new a,e=t.subscribeMessage(function(t){return n(s.processMessage(t))},{type:"persistent_notification/subscribe"});return function(){e.then(function(t){return null==t?void 0:t()})}}),a=function(){return(0,r.A)(function t(){(0,i.A)(this,t),this.notifications={}},[{key:"processMessage",value:function(t){if("removed"===t.type)for(var n=0,s=Object.keys(t.notifications);n<s.length;n++){var i=s[n];delete this.notifications[i]}else this.notifications=(0,e.A)((0,e.A)({},this.notifications),t.notifications);return Object.values(this.notifications)}}])}();s.d(n,{V:function(){return o}})},39559:function(t,n,s){var e=s(61051),i=s(57567),r=s(25979),o=s(12463),a=s(16472),c=s(92297),u=(s(74423),s(23792),s(18111),s(13579),s(26099),s(3362),s(21699),s(47764),s(62953),s(15697)),f=s(51209),h=function(t){var n=function(t){function n(){return(0,i.A)(this,n),(0,a.A)(this,n,arguments)}return(0,o.A)(n,t),(0,r.A)(n,[{key:"connectedCallback",value:function(){(0,c.A)(n,"connectedCallback",this,3)([]),this._checkSubscribed()}},{key:"disconnectedCallback",value:function(){if((0,c.A)(n,"disconnectedCallback",this,3)([]),this.__unsubs){for(;this.__unsubs.length;){var t=this.__unsubs.pop();t instanceof Promise?t.then(function(t){return t()}):t()}this.__unsubs=void 0}}},{key:"updated",value:function(t){if((0,c.A)(n,"updated",this,3)([t]),t.has("hass"))this._checkSubscribed();else if(this.hassSubscribeRequiredHostProps){var s,i=(0,e.A)(t.keys());try{for(i.s();!(s=i.n()).done;){var r=s.value;if(this.hassSubscribeRequiredHostProps.includes(r))return void this._checkSubscribed()}}catch(o){i.e(o)}finally{i.f()}}}},{key:"hassSubscribe",value:function(){return[]}},{key:"_checkSubscribed",value:function(){var t,n=this;void 0!==this.__unsubs||!this.isConnected||void 0===this.hass||null!==(t=this.hassSubscribeRequiredHostProps)&&void 0!==t&&t.some(function(t){return void 0===n[t]})||(this.__unsubs=this.hassSubscribe())}}])}(t);return(0,u.Cg)([(0,f.MZ)({attribute:!1})],n.prototype,"hass",void 0),n};s.d(n,{E:function(){return h}})}}]);
//# sourceMappingURL=3825.ab663816b6ee018f.js.map