"use strict";(self.webpackChunkhome_assistant_frontend=self.webpackChunkhome_assistant_frontend||[]).push([["33306"],{54706:function(e,t,s){s.d(t,{E:function(){return l}});var r=s(31432),i=s(44734),n=s(43080),o=s(69683),a=s(25460),u=s(6454),c=(s(74423),s(23792),s(18111),s(13579),s(26099),s(3362),s(21699),s(62953),s(40445)),h=s(77845),l=function(e){var t=function(e){function t(){return(0,i.A)(this,t),(0,o.A)(this,t,arguments)}return(0,u.A)(t,e),(0,n.A)(t,[{key:"connectedCallback",value:function(){(0,a.A)(t,"connectedCallback",this,3)([]),this._checkSubscribed()}},{key:"disconnectedCallback",value:function(){if((0,a.A)(t,"disconnectedCallback",this,3)([]),this.__unsubs){for(;this.__unsubs.length;){var e=this.__unsubs.pop();e instanceof Promise?e.then(function(e){return e()}):e()}this.__unsubs=void 0}}},{key:"updated",value:function(e){if((0,a.A)(t,"updated",this,3)([e]),e.has("hass"))this._checkSubscribed();else if(this.hassSubscribeRequiredHostProps){var s,i=(0,r.A)(e.keys());try{for(i.s();!(s=i.n()).done;){var n=s.value;if(this.hassSubscribeRequiredHostProps.includes(n))return void this._checkSubscribed()}}catch(o){i.e(o)}finally{i.f()}}}},{key:"hassSubscribe",value:function(){return[]}},{key:"_checkSubscribed",value:function(){var e,t=this;void 0!==this.__unsubs||!this.isConnected||void 0===this.hass||null!==(e=this.hassSubscribeRequiredHostProps)&&void 0!==e&&e.some(function(e){return void 0===t[e]})||(this.__unsubs=this.hassSubscribe())}}])}(e);return(0,c.Cg)([(0,h.MZ)({attribute:!1})],t.prototype,"hass",void 0),t}},84718:function(e,t,s){s.r(t),s.d(t,{profileSections:function(){return d}});var r=s(44734),i=s(43080),n=s(69683),o=s(6454),a=s(25460),u=(s(28706),s(23792),s(26099),s(3362),s(47764),s(62953),s(40445)),c=s(77845),h=s(324),l=s(54706),d=[{path:"/profile/general",translationKey:"ui.panel.profile.tabs.general",iconPath:"M12,4A4,4 0 0,1 16,8A4,4 0 0,1 12,12A4,4 0 0,1 8,8A4,4 0 0,1 12,4M12,14C16.42,14 20,15.79 20,18V20H4V18C4,15.79 7.58,14 12,14Z"},{path:"/profile/security",translationKey:"ui.panel.profile.tabs.security",iconPath:"M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8A2,2 0 0,1 20,10V20A2,2 0 0,1 18,22H6A2,2 0 0,1 4,20V10C4,8.89 4.9,8 6,8H7V6A5,5 0 0,1 12,1A5,5 0 0,1 17,6V8H18M12,3A3,3 0 0,0 9,6V8H15V6A3,3 0 0,0 12,3Z"}],f=function(e){function t(){var e;(0,r.A)(this,t);for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(e=(0,n.A)(this,t,[].concat(o))).narrow=!1,e.routerOptions={defaultPage:"general",routes:{general:{tag:"ha-profile-section-general",load:function(){return Promise.all([s.e("44533"),s.e("7199"),s.e("49021"),s.e("46095"),s.e("76068"),s.e("92769"),s.e("63768"),s.e("8124"),s.e("93785"),s.e("37382"),s.e("44966"),s.e("26767"),s.e("80131"),s.e("47251"),s.e("70141"),s.e("34326"),s.e("8477"),s.e("34861"),s.e("22016"),s.e("20921"),s.e("62725"),s.e("27928"),s.e("56999"),s.e("4939"),s.e("30005"),s.e("45844"),s.e("66069"),s.e("51146"),s.e("7592"),s.e("39005"),s.e("67289"),s.e("44288"),s.e("64690"),s.e("52760"),s.e("77771"),s.e("89747"),s.e("81061")]).then(s.bind(s,39517))}},security:{tag:"ha-profile-section-security",load:function(){return Promise.all([s.e("44533"),s.e("7199"),s.e("49021"),s.e("46095"),s.e("76068"),s.e("63768"),s.e("8124"),s.e("37382"),s.e("80131"),s.e("22016"),s.e("20921"),s.e("34995"),s.e("89227"),s.e("67289"),s.e("7670")]).then(s.bind(s,77867))}}}},e}return(0,o.A)(t,e),(0,i.A)(t,[{key:"updatePageEl",value:function(e){e.route=this.routeTail,e.hass=this.hass,e.narrow=this.narrow}},{key:"firstUpdated",value:function(e){(0,a.A)(t,"firstUpdated",this,3)([e]),this.style.setProperty("--app-header-background-color","var(--sidebar-background-color)"),this.style.setProperty("--app-header-text-color","var(--sidebar-text-color)"),this.style.setProperty("--app-header-border-bottom","1px solid var(--divider-color)")}}])}((0,l.E)(h.a));(0,u.Cg)([(0,c.MZ)({attribute:!1})],f.prototype,"hass",void 0),(0,u.Cg)([(0,c.MZ)({type:Boolean})],f.prototype,"narrow",void 0),f=(0,u.Cg)([(0,c.EM)("ha-panel-profile")],f)}}]);
//# sourceMappingURL=33306.872dae9ec3ebe2cc.js.map