iobroker.lovelace
Version:
With this adapter you can build visualization for ioBroker with Home Assistant Lovelace UI
7 lines • 39.1 kB
JavaScript
"use strict";(self.rspackChunkhome_assistant_frontend=self.rspackChunkhome_assistant_frontend||[]).push([[69207],{90433:function(t,e,o){o.d(e,{Vy:function(){return r},fI:function(){return s},ux:function(){return l}});var a=o(22786),i=o(79468);const n=54;function r(t,e){const o=t%n+1;return e.getPropertyValue(`--color-${o}`)}function s(t,e){const o=e.getPropertyValue(`--graph-color-${t+1}`)||r(t,e);return(0,i.RQ)(o)}const l=(0,a.A)(t=>Array.from({length:n},(e,o)=>s(o,t)),(t,e)=>t[0].getPropertyValue("--graph-color-1")===e[0].getPropertyValue("--graph-color-1")&&t[0].getPropertyValue("--color-1")===e[0].getPropertyValue("--color-1"))},93421:function(t,e,o){o.d(e,{IW:function(){return d},dH:function(){return c},fI:function(){return l}});o(44114),o(62953);var a=o(35211),i=o(22792),n=o(32172);const r=(t,e)=>{let o=t;for(const a of e){if(null==o)return;o=o[a]}return o},s=(t,e,o)=>{const i=(0,n.p)({transformer:function(t){return o.call(this,t)},watch:e?[e]:[]}),r=(0,a.Fg)({context:t,subscribe:!0});return(t,e)=>{i(t,e),r(t,e)}},l=t=>s(i.iN,t.entityIdPath[0],function(e){const o=r(this,t.entityIdPath);return"string"==typeof o?null==e?void 0:e[o]:void 0}),c=t=>s(i.X1,t.entityIdPath[0],function(e){const o=r(this,t.entityIdPath);return"string"==typeof o?null==e?void 0:e[o]:void 0}),d=()=>s(i.D5,void 0,({localize:t})=>t)},32172:function(t,e,o){o.d(e,{p:function(){return a}});o(16280),o(18111),o(7588),o(45367),o(92731),o(17642),o(58004),o(33853),o(45876),o(32475),o(15024),o(31698),o(62953);function a(t){return(e,o)=>{if("object"==typeof o)throw new Error("This decorator does not support this compilation type.");const a=String(o),i=e;if(i._transformers){if(!i.hasOwnProperty("_transformers")){const t=i._transformers;i._transformers=new Map,t.forEach((t,e)=>i._transformers.set(e,t))}}else{i._transformers=new Map,i._watching=new Map;const t=i.willUpdate;i.willUpdate=function(e){t.call(this,e);const o=new Set;e.forEach((t,e)=>{const a=this._watching.get(e);void 0!==a&&a.forEach(t=>o.add(t))}),o.forEach(t=>{this[t]=this[`__original_${String(t)}`]})}}i._transformers.set(o,t.transformer),t.watch&&t.watch.forEach(t=>{let e=i._watching.get(t);e||(e=new Set,i._watching.set(t,e)),e.add(o)});const n=Object.getOwnPropertyDescriptor(e,o);let r;if(void 0===n)r={get(){return this[`__transform_${a}`]},set(t){const e=this[`__transform_${a}`],o=this._transformers.get(a);this[`__transform_${a}`]=o?o.call(this,t):t,this[`__original_${a}`]=t,this.requestUpdate(a,e)},configurable:!0,enumerable:!0};else{const t=n.set;r=Object.assign(Object.assign({},n),{},{set(e){const o=this[`__transform_${a}`],i=this._transformers.get(a);this[`__transform_${a}`]=i?i.call(this,e):e,this[`__original_${a}`]=e,this.requestUpdate(a,o),null==t||t.call(this,e)}})}Object.defineProperty(e,o,r)}}},76830:function(t,e,o){o.d(e,{d:function(){return a}});o(18111),o(20116);const a=(t,e=!0)=>{if(t.defaultPrevented||0!==t.button||t.metaKey||t.ctrlKey||t.shiftKey)return;const o=t.composedPath().find(t=>"A"===t.tagName);if(!o||o.target||o.hasAttribute("download")||"external"===o.getAttribute("rel"))return;let a=o.href;if(!a||-1!==a.indexOf("mailto:"))return;const i=window.location,n=i.origin||i.protocol+"//"+i.host;return a.startsWith(n)&&(a=a.slice(n.length),"#"!==a)?(e&&t.preventDefault(),a):void 0}},79791:function(t,e,o){o.d(e,{L:function(){return a}});const a=(t,e=2)=>Math.round(t*10**e)/10**e},3109:function(t,e,o){var a=o(40445),i=o(86137),n=o(67576);class r extends i.A{constructor(){super(),this.play=!0,this.iterations=1,this.fill="both",this.name="fadeIn"}}(0,a.Cg)([(0,n.MZ)({type:Boolean})],r.prototype,"play",void 0),r=(0,a.Cg)([(0,n.EM)("ha-fade-in")],r)},29961:function(t,e,o){o.a(t,async function(t,a){try{o.d(e,{d:function(){return l},n:function(){return c}});var i=o(72487),n=o(30162),r=t([i,n]);function l(t,e,o){return"month"===t?{formatter:t=>{const a=new Date(t);return 0===a.getMonth()?`{bold|${(0,i.fr)(a,e,o)}}`:(0,i.Wq)(a,e,o)}}:"year"===t?{formatter:t=>(0,i.Pm)(new Date(t),e,o)}:void 0}function c(t,e,o,a){const r=a/60/24,s=new Date(t);if(r>88)return 0===s.getMonth()?`{bold|${(0,i.fr)(s,e,o)}}`:(0,i.Wq)(s,e,o);if(r>35)return 1===s.getDate()?`{bold|${(0,i.sl)(s,e,o)}}`:(0,i.sl)(s,e,o);if(r>7){const t=(0,i.sl)(s,e,o);return 1===s.getDate()?`{bold|${t}}`:t}return r>2?(0,i.gu)(s,e,o):a&&a<5?(0,n.ie)(s,e,o):0===s.getHours()&&0===s.getMinutes()&&0===s.getSeconds()?`{bold|${(0,i.sl)(s,e,o)}}`:(0,n.fU)(s,e,o)}[i,n]=r.then?(await r)():r,a()}catch(s){a(s)}})},34218:function(t,e,o){o.d(e,{P:function(){return a}});o(44114),o(72712),o(18111),o(18237),o(45367),o(92731),o(62953);function a(t,e,o,a,n=!1){if(!t)return[];if(t.length<=e)return t;const r=null!=o?o:i(t[0])[0],s=null!=a?a:i(t[t.length-1])[0],l=Math.ceil((s-r)/Math.floor(e)),c=new Map;for(const h of t){const t=i(h);if(!Array.isArray(t))continue;const e=Number(t[0]),o=Number(t[1]);if(isNaN(e)||isNaN(o))continue;const a=Math.floor((e-r)/l),n=c.get(a);n?n.push({point:h,x:e,y:o}):c.set(a,[{point:h,x:e,y:o}])}const d=[];if(n)for(const[h,p]of c){const t=p.reduce((t,e)=>t+e.y,0)/p.length,e=p.reduce((t,e)=>t+e.x,0)/p.length,o=i(p[0].point),a=Array.isArray(o)?[e,t]:{value:[e,t]};d.push(a)}else for(const[i,h]of c){let t=h[0],e=h[0];for(const o of h)o.y<t.y&&(t=o),o.y>e.y&&(e=o);t.x>e.x&&d.push(e.point),d.push(t.point),t.x<e.x&&d.push(e.point)}return d}function i(t){return t&&"object"==typeof t&&"value"in t?t.value:t}},34296:function(t,e,o){o(62953);var a=o(40445),i=o(96229),n=o(26069),r=o(91735),s=o(42034),l=o(5124),c=o(67576);let d,h,p,u,f=t=>t;class m extends i.k{renderOutline(){return this.filled?(0,l.qy)(d||(d=f`<span class="filled"></span>`)):super.renderOutline()}getContainerClasses(){return Object.assign(Object.assign({},super.getContainerClasses()),{},{active:this.active})}renderPrimaryContent(){return(0,l.qy)(h||(h=f` <span class="leading icon" aria-hidden="true"> ${0} </span> <span class="label">${0}</span> <span class="touch"></span> <span class="trailing leading icon" aria-hidden="true"> ${0} </span> `),this.renderLeadingIcon(),this.label,this.renderTrailingIcon())}renderTrailingIcon(){return(0,l.qy)(p||(p=f`<slot name="trailing-icon"></slot>`))}constructor(...t){super(...t),this.filled=!1,this.active=!1}}m.styles=[r.R,s.R,n.R,(0,l.AH)(u||(u=f`:host{--md-sys-color-primary:var(--primary-text-color);--md-sys-color-on-surface:var(--primary-text-color);--md-assist-chip-container-shape:var(
--ha-assist-chip-container-shape,
16px
);--md-assist-chip-outline-color:var(--outline-color);--md-assist-chip-label-text-weight:400}.filled{display:flex;pointer-events:none;border-radius:inherit;inset:0;position:absolute;background-color:var(--ha-assist-chip-filled-container-color)}::slotted([slot=icon]),::slotted([slot=trailing-icon]){display:flex;--mdc-icon-size:var(--md-input-chip-icon-size, 18px);font-size:var(--_label-text-size)!important}.trailing.icon ::slotted(*),.trailing.icon svg{margin-inline-end:unset;margin-inline-start:var(--_icon-label-space)}::before{background:var(--ha-assist-chip-container-color,transparent);opacity:var(--ha-assist-chip-container-opacity, 1)}:where(.active)::before{background:var(--ha-assist-chip-active-container-color);opacity:var(--ha-assist-chip-active-container-opacity)}.label{font-family:var(--ha-font-family-body)}`))],(0,a.Cg)([(0,c.MZ)({type:Boolean,reflect:!0})],m.prototype,"filled",void 0),(0,a.Cg)([(0,c.MZ)({type:Boolean})],m.prototype,"active",void 0),m=(0,a.Cg)([(0,c.EM)("ha-assist-chip")],m)},38962:function(t,e,o){o.a(t,async function(t,a){try{o.r(e);o(62953);var i=o(40445),n=o(5124),r=o(67576),s=o(6412),l=o(93421),c=o(1087),d=o(26300),h=(o(67094),t([d]));d=(h.then?(await h)():h)[0];let p,u,f,m,g=t=>t;const b="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",v={info:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20,12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M11,17H13V11H11V17Z",warning:"M12,2L1,21H23M12,6L19.53,19H4.47M11,10V14H13V10M11,16V18H13V16",error:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z",success:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2,4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"};class y extends n.WF{render(){var t;return(0,n.qy)(p||(p=g` <div class="issue-type ${0}" role="alert"> <div class="icon ${0}"> <slot name="icon"> <ha-svg-icon .path="${0}"></ha-svg-icon> </slot> </div> <div class="${0}"> <div class="main-content"> ${0} <slot></slot> </div> <div class="action"> <slot name="action"> ${0} </slot> </div> </div> </div> `),(0,s.H)({[this.alertType]:!0}),this.title?"":"no-title",v[this.alertType],(0,s.H)({content:!0,narrow:this.narrow}),this.title?(0,n.qy)(u||(u=g`<div class="title">${0}</div>`),this.title):n.s6,this.dismissable?(0,n.qy)(f||(f=g`<ha-icon-button ="${0}" .label="${0}" .path="${0}"></ha-icon-button>`),this._dismissClicked,null===(t=this._localize)||void 0===t?void 0:t.call(this,"ui.common.dismiss_alert"),b):n.s6)}_dismissClicked(){(0,c.r)(this,"alert-dismissed-clicked")}constructor(...t){super(...t),this.title="",this.alertType="info",this.dismissable=!1,this.narrow=!1}}y.styles=(0,n.AH)(m||(m=g`.issue-type{position:relative;padding:8px;display:flex}.icon{height:var(--ha-alert-icon-size,24px);width:var(--ha-alert-icon-size,24px)}.issue-type::after{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.12;pointer-events:none;content:"";border-radius:var(--ha-border-radius-sm)}.icon.no-title{align-self:center}.content{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:var(--float-start)}.content.narrow{flex-direction:column;align-items:flex-end}.action{z-index:1;width:min-content;--mdc-theme-primary:var(--primary-text-color)}.main-content{overflow-wrap:anywhere;word-break:break-word;line-height:normal;margin-left:8px;margin-right:0;margin-inline-start:8px;margin-inline-end:8px}.title{margin-top:2px;font-weight:var(--ha-font-weight-bold)}.action ha-icon-button{--mdc-theme-primary:var(--primary-text-color);--ha-icon-button-size:36px}.issue-type.info>.icon{color:var(--info-color)}.issue-type.info::after{background-color:var(--info-color)}.issue-type.warning>.icon{color:var(--warning-color)}.issue-type.warning::after{background-color:var(--warning-color)}.issue-type.error>.icon{color:var(--error-color)}.issue-type.error::after{background-color:var(--error-color)}.issue-type.success>.icon{color:var(--success-color)}.issue-type.success::after{background-color:var(--success-color)}:host ::slotted(ul){margin:0;padding-inline-start:20px}`)),(0,i.Cg)([(0,r.MZ)()],y.prototype,"title",void 0),(0,i.Cg)([(0,r.MZ)({attribute:"alert-type"})],y.prototype,"alertType",void 0),(0,i.Cg)([(0,r.MZ)({type:Boolean})],y.prototype,"dismissable",void 0),(0,i.Cg)([(0,r.wk)(),(0,l.IW)()],y.prototype,"_localize",void 0),(0,i.Cg)([(0,r.MZ)({type:Boolean})],y.prototype,"narrow",void 0),y=(0,i.Cg)([(0,r.EM)("ha-alert")],y),a()}catch(p){a(p)}})},2846:function(t,e,o){o.d(e,{G:function(){return p},J:function(){return h}});var a=o(40445),i=o(58168),n=o(82553),r=o(5124),s=o(67576);o(54276);let l,c,d=t=>t;const h=[n.R,(0,r.AH)(l||(l=d`:host{--ha-icon-display:block;--md-sys-color-primary:var(--primary-text-color);--md-sys-color-secondary:var(--secondary-text-color);--md-sys-color-surface:var(--card-background-color);--md-sys-color-on-surface:var(--primary-text-color);--md-sys-color-on-surface-variant:var(--secondary-text-color)}md-item{overflow:var(--md-item-overflow,hidden);align-items:var(--md-item-align-items,center);gap:var(--ha-md-list-item-gap,16px)}`))];class p extends i.n{renderRipple(){return"text"===this.type?r.s6:(0,r.qy)(c||(c=d`<ha-ripple part="ripple" for="item" ?disabled="${0}"></ha-ripple>`),this.disabled&&"link"!==this.type)}}p.styles=h,p=(0,a.Cg)([(0,s.EM)("ha-md-list-item")],p)},65829:function(t,e,o){o.a(t,async function(t,a){try{o.r(e),o.d(e,{HaSpinner:function(){return h}});var i=o(40445),n=o(55262),r=o(5124),s=o(67576),l=t([n]);n=(l.then?(await l)():l)[0];let c,d=t=>t;class h extends n.A{updated(t){if(super.updated(t),t.has("size"))switch(this.size){case"tiny":this.style.setProperty("--ha-spinner-size","16px");break;case"small":this.style.setProperty("--ha-spinner-size","28px");break;case"medium":this.style.setProperty("--ha-spinner-size","48px");break;case"large":this.style.setProperty("--ha-spinner-size","68px");break;case void 0:this.style.removeProperty("--ha-progress-ring-size")}}static get styles(){return[n.A.styles,(0,r.AH)(c||(c=d`:host{--indicator-color:var(
--ha-spinner-indicator-color,
var(--primary-color)
);--track-color:var(--ha-spinner-divider-color, var(--divider-color));--track-width:4px;--speed:3.5s;font-size:var(--ha-spinner-size, 48px)}`))]}}(0,i.Cg)([(0,s.MZ)()],h.prototype,"size",void 0),h=(0,i.Cg)([(0,s.EM)("ha-spinner")],h),a()}catch(c){a(c)}})},43831:function(t,e,o){o(62953);var a=o(40445),i=o(5124),n=o(67576),r=o(63672);o(54276);let s,l,c=t=>t;class d extends i.WF{render(){return(0,i.qy)(s||(s=c` <div tabindex="0" role="tab" aria-selected="${0}" aria-label="${0}" ="${0}"> <slot name="icon"></slot> <span class="name">${0}</span> <ha-ripple></ha-ripple> </div> `),this.active,(0,r.J)(this.name),this._handleKeyDown,this.name)}_handleKeyDown(t){"Enter"===t.key&&t.target.click()}constructor(...t){super(...t),this.active=!1,this.narrow=!1}}d.styles=(0,i.AH)(l||(l=c`div{padding:0 32px;display:flex;flex-direction:column;text-align:center;box-sizing:border-box;align-items:center;justify-content:center;width:100%;height:var(--header-height);cursor:pointer;position:relative;outline:0}:host(:not([narrow])) div{flex-direction:row;gap:var(--ha-space-2)}.name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}:host([active]){color:var(--primary-color)}:host(:not([narrow])[active]) div{border-bottom:2px solid var(--primary-color)}:host([narrow]){min-width:0;display:flex;justify-content:center;overflow:hidden}:host([narrow]) div{padding:0 4px}::slotted([slot=icon]){margin-bottom:var(--ha-space-1)}:host(:not([narrow])) ::slotted([slot=icon]){margin-bottom:0}div:focus-visible:before{position:absolute;display:block;content:"";inset:0;background-color:var(--secondary-text-color);opacity:.08}`)),(0,a.Cg)([(0,n.MZ)({type:Boolean,reflect:!0})],d.prototype,"active",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean,reflect:!0})],d.prototype,"narrow",void 0),(0,a.Cg)([(0,n.MZ)()],d.prototype,"name",void 0),d=(0,a.Cg)([(0,n.EM)("ha-tab")],d)},7749:function(t,e,o){o.d(e,{HH:function(){return a},TY:function(){return i},lu:function(){return n},mu:function(){return r}});const a=(t,e)=>t.callApi("POST","config/config_entries/options/flow",{handler:e}),i=(t,e)=>t.callApi("GET",`config/config_entries/options/flow/${e}`),n=(t,e,o)=>t.callApi("POST",`config/config_entries/options/flow/${e}`,o),r=(t,e)=>t.callApi("DELETE",`config/config_entries/options/flow/${e}`)},42262:function(t,e,o){o.d(e,{$:function(){return a},l:function(){return i}});const a=t=>t.callWS({type:"usb/scan"}),i=t=>t.callWS({type:"usb/list_serial_ports"})},29094:function(t,e,o){o.d(e,{g:function(){return n}});o(3362),o(62953);var a=o(1087);const i=()=>Promise.all([o.e(72850),o.e(39763),o.e(32450),o.e(46095),o.e(7305),o.e(92769),o.e(3283),o.e(80131),o.e(98470),o.e(54066),o.e(84038),o.e(62364),o.e(62574),o.e(26092),o.e(39005),o.e(28501),o.e(29792)]).then(o.bind(o,78314)),n=(t,e,o)=>{(0,a.r)(t,"show-dialog",{dialogTag:"dialog-data-entry-flow",dialogImport:i,dialogParams:Object.assign(Object.assign({},e),{},{flowConfig:o,dialogParentElement:t})})}},70241:function(t,e,o){o.d(e,{Q:function(){return f}});o(3362),o(62953);var a=o(5124),i=o(95350),n=o(7749),r=o(29094);let s,l,c,d,h,p,u=t=>t;const f=(t,e,o)=>(0,r.g)(t,Object.assign({startFlowHandler:e.entry_id,domain:e.domain},o),{flowType:"options_flow",showDevices:!1,createFlow:async(t,o)=>{const[a]=await Promise.all([(0,n.HH)(t,o),t.loadFragmentTranslation("config"),t.loadBackendTranslation("options",e.domain),t.loadBackendTranslation("selector",e.domain)]);return a},fetchFlow:async(t,o)=>{const[a]=await Promise.all([(0,n.TY)(t,o),t.loadFragmentTranslation("config"),t.loadBackendTranslation("options",e.domain),t.loadBackendTranslation("selector",e.domain)]);return a},handleFlowStep:n.lu,deleteFlow:n.mu,renderAbortDescription(t,o){const i=t.localize(`component.${o.translation_domain||e.domain}.options.abort.${o.reason}`,o.description_placeholders);return i?(0,a.qy)(s||(s=u` <ha-markdown breaks allow-svg .content="${0}"></ha-markdown> `),i):o.reason},renderShowFormStepHeader(t,o){return t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.title`,o.description_placeholders)||t.localize("ui.dialogs.options_flow.form.header")},renderShowFormStepDescription(t,o){const i=t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.description`,o.description_placeholders);return i?(0,a.qy)(l||(l=u` <ha-markdown allow-svg breaks .content="${0}"></ha-markdown> `),i):""},renderShowFormStepFieldLabel(t,o,a,i){var n;if("expandable"===a.type)return t.localize(`component.${e.domain}.options.step.${o.step_id}.sections.${a.name}.name`,o.description_placeholders)||a.name;const r=null!=i&&null!==(n=i.path)&&void 0!==n&&n[0]?`sections.${i.path[0]}.`:"";return t.localize(`component.${e.domain}.options.step.${o.step_id}.${r}data.${a.name}`,o.description_placeholders)||a.name},renderShowFormStepFieldHelper(t,o,i,n){var r;if("expandable"===i.type)return t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.sections.${i.name}.description`,o.description_placeholders);const s=null!=n&&null!==(r=n.path)&&void 0!==r&&r[0]?`sections.${n.path[0]}.`:"",l=t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.${s}data_description.${i.name}`,o.description_placeholders);return l?(0,a.qy)(c||(c=u`<ha-markdown breaks .content="${0}"></ha-markdown>`),l):""},renderShowFormStepFieldError(t,o,a){return t.localize(`component.${o.translation_domain||e.domain}.options.error.${a}`,o.description_placeholders)||a},renderShowFormStepFieldLocalizeValue(t,o,a){return t.localize(`component.${e.domain}.selector.${a}`)},renderShowFormStepSubmitButton(t,o){return t.localize(`component.${e.domain}.options.step.${o.step_id}.submit`)||t.localize("ui.panel.config.integrations.config_flow."+(!1===o.last_step?"next":"submit"))},renderExternalStepHeader(t,e){return""},renderExternalStepDescription(t,e){return""},renderCreateEntryDescription(t,e){return(0,a.qy)(d||(d=u` <p>${0}</p> `),t.localize("ui.dialogs.options_flow.success.description"))},renderShowFormProgressHeader(t,o){return t.localize(`component.${e.domain}.options.step.${o.step_id}.title`)||t.localize(`component.${e.domain}.title`)},renderShowFormProgressDescription(t,o){const i=t.localize(`component.${o.translation_domain||e.domain}.options.progress.${o.progress_action}`,o.description_placeholders);return i?(0,a.qy)(h||(h=u` <ha-markdown allow-svg breaks .content="${0}"></ha-markdown> `),i):""},renderMenuHeader(t,o){return t.localize(`component.${e.domain}.options.step.${o.step_id}.title`)||t.localize(`component.${e.domain}.title`)},renderMenuDescription(t,o){const i=t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.description`,o.description_placeholders);return i?(0,a.qy)(p||(p=u` <ha-markdown allow-svg breaks .content="${0}"></ha-markdown> `),i):""},renderMenuOption(t,o,a){return t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.menu_options.${a}`,o.description_placeholders)},renderMenuOptionDescription(t,o,a){return t.localize(`component.${o.translation_domain||e.domain}.options.step.${o.step_id}.menu_option_descriptions.${a}`,o.description_placeholders)},renderLoadingDescription(t,o){return t.localize(`component.${e.domain}.options.loading`)||("loading_flow"===o||"loading_step"===o?t.localize(`ui.dialogs.options_flow.loading.${o}`,{integration:(0,i.p$)(t.localize,e.domain)}):"")}})},40511:function(t,e,o){o.a(t,async function(t,e){try{o(18111),o(22489),o(20116),o(61701),o(3362),o(62953),o(3296),o(27208),o(48408),o(14603),o(47566),o(98721);var a=o(40445),i=o(5124),n=o(67576),r=o(6412),s=o(22786),l=o(63708),c=o(26218),d=o(76830),h=o(91926),p=o(90248),u=o(2054),f=(o(67094),o(43831),o(14503)),m=t([p,u]);[p,u]=m.then?(await m)():m;let g,b,v,y,w,_,x,$,k,z,C,S,M=t=>t;const P=t=>t.endsWith("/")&&t.length>1?t.slice(0,-1):t;class A extends i.WF{willUpdate(t){if(t.has("route")){const t=`${this.route.prefix}${this.route.path}`;this._activeTab=this.tabs.find(e=>this._isActiveTabPath(e.path,t))}super.willUpdate(t)}render(){var t;const e=this._getTabs(this.tabs,this._activeTab,this.hass.config.components,this.hass.language,this.hass.userData,this.narrow,this.localizeFunc||this.hass.localize);return(0,i.qy)(g||(g=M` <div class="toolbar ${0}"> <slot name="toolbar"> <div class="toolbar-content"> ${0} ${0} ${0} <div id="toolbar-icon"> <slot name="toolbar-icon"></slot> </div> </div> </slot> ${0} </div> <div class="container"> ${0} <div class="content ha-scrollbar" ="${0}"> <slot></slot> ${0} </div> </div> <div id="fab"> <slot name="fab"></slot> </div> `),(0,r.H)({narrow:this.narrow}),this.mainPage||!this.backPath&&null!==(t=history.state)&&void 0!==t&&t.root?(0,i.qy)(b||(b=M` <ha-menu-button .hass="${0}" .narrow="${0}"></ha-menu-button> `),this.hass,this.narrow):this.backPath?(0,i.qy)(v||(v=M` <ha-icon-button-arrow-prev .href="${0}" .hass="${0}"></ha-icon-button-arrow-prev> `),this.backPath,this.hass):(0,i.qy)(y||(y=M` <ha-icon-button-arrow-prev .hass="${0}" ="${0}"></ha-icon-button-arrow-prev> `),this.hass,this._backTapped),this.narrow||!this.showTabs?(0,i.qy)(w||(w=M`<div class="main-title"> <slot name="header">${0}</slot> </div>`),this.showTabs?"":e[0]):"",this.showTabs&&!this.narrow?(0,i.qy)(_||(_=M`<div id="tabbar">${0}</div>`),e):"",this.showTabs&&this.narrow?(0,i.qy)(x||(x=M`<div id="tabbar" class="bottom-bar">${0}</div>`),e):"",this.pane?(0,i.qy)($||($=M`<div class="pane"> <div class="shadow-container"></div> <div class="ha-scrollbar"> <slot name="pane"></slot> </div> </div>`)):i.s6,this._saveScrollPos,this.hasFab?(0,i.qy)(k||(k=M`<div class="fab-bottom-space"></div>`)):i.s6)}_saveScrollPos(t){this._savedScrollPos=t.target.scrollTop}focusContentScroller(){this._content&&(this._content.style.outline="none",this._content.focus({preventScroll:!0}))}_backTapped(){this.backCallback?this.backCallback():(0,h.OE)()}_isActiveTabPath(t,e){try{const o=new URL(t,window.location.origin),a=new URL(e,window.location.origin),i=P(o.pathname),n=P(a.pathname);return!(n!==i&&!n.startsWith(`${i}/`))}catch(o){return e===t||e.startsWith(`${t}/`)}}async _tabClicked(t){const e=(0,d.d)(t);e&&await(0,h.oo)(e,{replace:!0})}static get styles(){return[f.dp,(0,i.AH)(z||(z=M`:host{display:block;height:100%;background-color:var(--primary-background-color)}:host([narrow]){width:100%;position:fixed}.container{display:flex;height:calc(100% - var(--header-height,0px) - var(--safe-area-inset-top,0px))}ha-menu-button{margin-right:24px;margin-inline-end:24px;margin-inline-start:initial}.toolbar{font-size:var(--ha-font-size-xl);height:calc(var(--header-height,0px) + var(--safe-area-inset-top,0px));padding-top:var(--safe-area-inset-top);padding-right:var(--safe-area-inset-right);background-color:var(--sidebar-background-color);font-weight:var(--ha-font-weight-normal);border-bottom:1px solid var(--divider-color);box-sizing:border-box}:host([narrow]) .toolbar{padding-left:var(--safe-area-inset-left)}.toolbar-content{padding:8px 12px;display:flex;align-items:center;height:100%;box-sizing:border-box}:host([narrow]) .toolbar-content{padding:4px}.toolbar a{color:var(--sidebar-text-color);text-decoration:none}.bottom-bar a{width:25%}#tabbar{display:flex;font-size:var(--ha-font-size-m);overflow:hidden}#tabbar>a{overflow:hidden;max-width:45%}#tabbar.bottom-bar{position:absolute;bottom:0;left:0;padding:0 16px;box-sizing:border-box;background-color:var(--sidebar-background-color);border-top:1px solid var(--divider-color);justify-content:space-around;z-index:2;font-size:var(--ha-font-size-s);width:100%;padding-bottom:var(--safe-area-inset-bottom)}#tabbar:not(.bottom-bar){flex:1;justify-content:center}:host(:not([narrow])) #toolbar-icon{min-width:40px}::slotted([slot=toolbar-icon]),ha-icon-button-arrow-prev,ha-menu-button{display:flex;flex-shrink:0;pointer-events:auto;color:var(--sidebar-icon-color)}.main-title{min-width:0;flex:1;max-height:var(--header-height);line-height:var(--ha-line-height-normal);color:var(--sidebar-text-color);margin-inline-start:var(--main-title-margin,var(--ha-space-6))}.narrow .main-title{margin-inline-start:var(--main-title-margin,var(--ha-space-2))}.content{position:relative;width:100%;margin-right:var(--safe-area-inset-right);margin-inline-end:var(--safe-area-inset-right);overflow:auto;-webkit-overflow-scrolling:touch}:host([narrow]) .content{margin-left:var(--safe-area-inset-left);margin-inline-start:var(--safe-area-inset-left)}:host([narrow][show-tabs]) .content{margin-bottom:calc(var(--header-height,0px) + var(--safe-area-inset-bottom,0px))}.content .fab-bottom-space{height:calc(64px + var(--safe-area-inset-bottom,0px))}:host([narrow][show-tabs]) .content .fab-bottom-space{height:calc(80px + var(--safe-area-inset-bottom,0px))}#fab{position:fixed;right:calc(16px + var(--safe-area-inset-right,0px));inset-inline-end:calc(16px + var(--safe-area-inset-right));inset-inline-start:initial;bottom:calc(16px + var(--safe-area-inset-bottom,0px));z-index:1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:var(--ha-space-2);--ha-button-box-shadow:var(--ha-box-shadow-l)}:host([narrow][show-tabs]) #fab{bottom:calc(84px + var(--safe-area-inset-bottom,0px))}#fab[is-wide]{bottom:24px;right:24px;inset-inline-end:24px;inset-inline-start:initial}.pane{border-right:1px solid var(--divider-color);border-inline-end:1px solid var(--divider-color);border-inline-start:initial;box-sizing:border-box;display:flex;flex:0 0 var(--sidepane-width,250px);width:var(--sidepane-width,250px);flex-direction:column;position:relative}.pane .ha-scrollbar{flex:1}`))]}constructor(...t){super(...t),this.mainPage=!1,this.narrow=!1,this.isWide=!1,this.pane=!1,this.hasFab=!1,this.showTabs=!1,this._getTabs=(0,s.A)((t,e,o,a,n,r,s)=>{const c=t.filter(t=>(0,l.fW)(this.hass,t));if(c.length<2){if(this.showTabs=!1,1===c.length){const t=c[0];return[t.translationKey?s(t.translationKey):t.name]}return[""]}return this.showTabs=!0,c.map(t=>(0,i.qy)(C||(C=M` <a href="${0}" ="${0}"> <ha-tab .active="${0}" .narrow="${0}" .name="${0}"> ${0} </ha-tab> </a> `),t.path,this._tabClicked,t.path===(null==e?void 0:e.path),this.narrow,t.translationKey?s(t.translationKey):t.name,t.iconPath?(0,i.qy)(S||(S=M`<ha-svg-icon slot="icon" .path="${0}"></ha-svg-icon>`),t.iconPath):""))})}}(0,a.Cg)([(0,n.MZ)({attribute:!1})],A.prototype,"hass",void 0),(0,a.Cg)([(0,n.MZ)({attribute:!1})],A.prototype,"localizeFunc",void 0),(0,a.Cg)([(0,n.MZ)({type:String,attribute:"back-path"})],A.prototype,"backPath",void 0),(0,a.Cg)([(0,n.MZ)({attribute:!1})],A.prototype,"backCallback",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean,attribute:"main-page"})],A.prototype,"mainPage",void 0),(0,a.Cg)([(0,n.MZ)({attribute:!1})],A.prototype,"route",void 0),(0,a.Cg)([(0,n.MZ)({attribute:!1})],A.prototype,"tabs",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean,reflect:!0})],A.prototype,"narrow",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean,reflect:!0,attribute:"is-wide"})],A.prototype,"isWide",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean})],A.prototype,"pane",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean,attribute:"has-fab"})],A.prototype,"hasFab",void 0),(0,a.Cg)([(0,n.MZ)({type:Boolean,attribute:"show-tabs",reflect:!0})],A.prototype,"showTabs",void 0),(0,a.Cg)([(0,n.wk)()],A.prototype,"_activeTab",void 0),(0,a.Cg)([(0,n.P)(".content")],A.prototype,"_content",void 0),(0,a.Cg)([(0,c.a)(".content")],A.prototype,"_savedScrollPos",void 0),(0,a.Cg)([(0,n.Ls)({passive:!0})],A.prototype,"_saveScrollPos",null),A=(0,a.Cg)([(0,n.EM)("hass-tabs-subpage")],A),e()}catch(g){e(g)}})},54706:function(t,e,o){o.d(e,{E:function(){return n}});o(74423),o(18111),o(13579),o(3362),o(62953);var a=o(40445),i=o(67576);const n=t=>{class e extends t{connectedCallback(){super.connectedCallback(),this._checkSubscribed()}disconnectedCallback(){if(super.disconnectedCallback(),this.__unsubs){for(;this.__unsubs.length;){const t=this.__unsubs.pop();t instanceof Promise?t.then(t=>t()):t()}this.__unsubs=void 0}}updated(t){if(super.updated(t),t.has("hass"))this._checkSubscribed();else if(this.hassSubscribeRequiredHostProps)for(const e of t.keys())if(this.hassSubscribeRequiredHostProps.includes(e))return void this._checkSubscribed()}hassSubscribe(){return[]}_checkSubscribed(){var t;void 0!==this.__unsubs||!this.isConnected||void 0===this.hass||null!==(t=this.hassSubscribeRequiredHostProps)&&void 0!==t&&t.some(t=>void 0===this[t])||(this.__unsubs=this.hassSubscribe())}}return(0,a.Cg)([(0,i.MZ)({attribute:!1})],e.prototype,"hass",void 0),e}},28078:function(t,e,o){o.a(t,async function(t,a){try{o.r(e);o(44114),o(18111),o(22489),o(20116),o(7588),o(61701),o(13579),o(3362),o(62953);var i=o(40445),n=o(5124),r=o(67576),s=o(22786),l=o(36312),c=o(79791),d=o(67258),h=o(44439),p=o(38962),u=o(18350),f=(o(76776),o(3109),o(26300)),m=(o(43661),o(2846),o(65829)),g=o(77423),b=o(31462),v=o(47351),y=o(15336),w=o(42262),_=o(70241),x=o(9835),$=o(40511),k=o(54706),z=o(14503),C=o(25806),S=o(44144),M=o(89176),P=t([h,p,u,f,m,$]);[h,p,u,f,m,$]=P.then?(await P)():P;let A,E,q,D,T,H,L,O,F,Z,j,B,V,I,R,W,U,N=t=>t;const K="M16.56,5.44L15.11,6.89C16.84,7.94 18,9.83 18,12A6,6 0 0,1 12,18A6,6 0 0,1 6,12C6,9.83 7.16,7.94 8.88,6.88L7.44,5.44C5.36,6.88 4,9.28 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12C20,9.28 18.64,6.88 16.56,5.44M13,3H11V13H13",G=60,Q={type:"line",color:C.BN,areaStyle:{color:C.BN+"2B"},symbolSize:0,lineStyle:{width:1},smooth:.25};class J extends((0,k.E)(n.WF)){hassSubscribe(){const t=[(0,g.TC)(this.hass,t=>{let e=!1;const o=[];if(t.forEach(t=>{if(null===t.type||"added"===t.type)o.push(t.entry),null===t.type&&(e=!0);else if("removed"===t.type)this._configEntries&&delete this._configEntries[t.entry.entry_id];else if("updated"===t.type&&this._configEntries){const e=t.entry;this._configEntries[t.entry.entry_id]=e}}),!o.length&&!e)return;const a=[...e?[]:Object.values(this._configEntries||{}),...o],i={};for(const n of a)i[n.entry_id]=n;this._configEntries=i},{type:["hardware"]})];return(0,l.x)(this.hass.config,"hardware")&&t.push(this.hass.connection.subscribeMessage(t=>{this._memoryEntries.shift(),this._cpuEntries.shift(),this._memoryEntries.push([new Date(t.timestamp).getTime(),t.memory_used_percent]),this._cpuEntries.push([new Date(t.timestamp).getTime(),t.cpu_percent]),this._systemStatusData=t},{type:"hardware/subscribe_system_status"})),t}willUpdate(){this.hasUpdated||this._chartOptions||(this._chartOptions={xAxis:{type:"time"},yAxis:{type:"value",min:0,max:100,splitLine:{show:!0},axisLabel:{formatter:t=>t+(0,d.d)(this.hass.locale)+"%"},axisLine:{show:!1},scale:!0},grid:{top:10,bottom:10,left:10,right:10,containLabel:!0},tooltip:{trigger:"axis",valueFormatter:t=>t+(0,d.d)(this.hass.locale)+"%"}})}firstUpdated(t){super.firstUpdated(t),this._load();const e=new Date;for(let o=0;o<G;o++){const t=new Date(e);t.setSeconds(t.getSeconds()-5*(G-o)),this._memoryEntries.push([t.getTime(),null]),this._cpuEntries.push([t.getTime(),null])}}render(){var t,e,o;let a,i,r,s,h=[];const p=null===(t=this._hardwareInfo)||void 0===t?void 0:t.hardware.find(t=>null!==t.board),u=null===(e=this._hardwareInfo)||void 0===e?void 0:e.hardware.filter(t=>null!==t.dongle&&(!t.config_entries.length||t.config_entries.some(t=>{var e;return(null===(e=this._configEntries)||void 0===e?void 0:e[t])&&!this._configEntries[t].disabled_by})));var f;p?(h=p.config_entries.map(t=>{var e;return null===(e=this._configEntries)||void 0===e?void 0:e[t]}).filter(t=>(null==t?void 0:t.supports_options)&&!t.disabled_by),a=p.board.hassio_board_id,i=p.name,s=p.url,r=(0,S.QR)({category:"boards",manufacturer:p.board.manufacturer,model:p.board.model,darkOptimized:null===(f=this.hass.themes)||void 0===f?void 0:f.darkMode},this.hass.auth.data.hassUrl)):null!==(o=this._OSData)&&void 0!==o&&o.board&&(a=this._OSData.board,i=b.S[this._OSData.board]);return(0,n.qy)(A||(A=N` <hass-tabs-subpage back-path="/config/system" .hass="${0}" .narrow="${0}" .route="${0}" .tabs="${0}"> ${0} ${0} <div class="content"> ${0} ${0} ${0} </div> </hass-tabs-subpage> `),this.hass,this.narrow,this.route,(0,M.hardwareTabs)(this.hass),(0,l.x)(this.hass.config,"hassio")?(0,n.qy)(E||(E=N` <ha-icon-button slot="toolbar-icon" .path="${0}" .label="${0}" ="${0}"></ha-icon-button> `),K,this.hass.localize("ui.panel.config.hardware.restart_homeassistant"),this._showRestartDialog):n.s6,this._error?(0,n.qy)(q||(q=N`<ha-alert alert-type="error">${0}</ha-alert>`),this._error):n.s6,i||(0,l.x)(this.hass.config,"hassio")?(0,n.qy)(D||(D=N` <ha-card outlined> <div class="card-content"> ${0} <div class="board-info"> <p class="primary-text"> ${0} </p> ${0} </div> </div> ${0} ${0} </ha-card> `),r?(0,n.qy)(T||(T=N`<img alt="" src="${0}" crossorigin="anonymous" referrerpolicy="no-referrer">`),r):n.s6,i||this.hass.localize("ui.panel.config.hardware.generic_hardware"),a?(0,n.qy)(H||(H=N`<p class="secondary-text">${0}</p>`),a):n.s6,s?(0,n.qy)(L||(L=N` <ha-md-list-item .href="${0}" type="link" target="_blank" rel="noopener noreferrer"> <span>${0}</span> <span slot="supporting-text">${0}</span> <ha-icon-next slot="end"></ha-icon-next> </ha-md-list-item> `),s,this.hass.localize("ui.panel.config.hardware.documentation"),this.hass.localize("ui.panel.config.hardware.documentation_description")):n.s6,h.length?(0,n.qy)(O||(O=N`<div class="card-actions"> <ha-button .entry="${0}" ="${0}" appearance="plain"> ${0} </ha-button> </div>`),h[0],this._openOptionsFlow,this.hass.localize("ui.panel.config.hardware.configure")):n.s6):n.s6,null!=u&&u.length?(0,n.qy)(F||(F=N`<ha-card outlined> ${0} </ha-card>`),u.map(t=>{const e=t.config_entries.map(t=>{var e;return null===(e=this._configEntries)||void 0===e?void 0:e[t]}).filter(t=>(null==t?void 0:t.supports_options)&&!t.disabled_by)[0];return(0,n.qy)(Z||(Z=N`<div class="row"> ${0}${0} </div>`),t.name,e?(0,n.qy)(j||(j=N`<ha-button .entry="${0}" ="${0}" appearance="filled"> ${0} </ha-button>`),e,this._openOptionsFlow,this.hass.localize("ui.panel.config.hardware.configure")):n.s6)})):n.s6,(0,l.x)(this.hass.config,"hardware")?(0,n.qy)(B||(B=N`<ha-card outlined> <div class="header"> <div class="title"> ${0} </div> <div class="value"> ${0} </div> </div> <div class="card-content loading-container"> <ha-chart-base .hass="${0}" .data="${0}" .options="${0}"></ha-chart-base> ${0} </div> </ha-card> <ha-card outlined> <div class="header"> <div class="title"> ${0} </div> <div class="value"> ${0} </div> </div> <div class="card-content loading-container"> <ha-chart-base .hass="${0}" .data="${0}" .options="${0}"></ha-chart-base> ${0} </div> </ha-card>`),this.hass.localize("ui.panel.config.hardware.processor"),this._systemStatusData?(0,n.qy)(V||(V=N`${0}${0}%`),this._systemStatusData.cpu_percent,(0,d.d)(this.hass.locale)):"-",this.hass,this._getChartData(this._cpuEntries),this._chartOptions,this._systemStatusData?n.s6:(0,n.qy)(I||(I=N` <ha-fade-in delay="1000" class="loading-overlay"> <ha-spinner size="large"></ha-spinner> </ha-fade-in>`)),this.hass.localize("ui.panel.config.hardware.memory"),this._systemStatusData?(0,n.qy)(R||(R=N`${0} GB / ${0} GB`),(0,c.L)(this._systemStatusData.memory_used_mb/1024,1),(0,c.L)((this._systemStatusData.memory_used_mb+this._systemStatusData.memory_free_mb)/1024,0)):"-",this.hass,this._getChartData(this._memoryEntries),this._chartOptions,this._systemStatusData?n.s6:(0,n.qy)(W||(W=N` <ha-fade-in delay="1000" class="loading-overlay"> <ha-spinner size="large"></ha-spinner> </ha-fade-in> `))):n.s6)}async _load(){(0,l.x)(this.hass.config,"usb")&&await(0,w.$)(this.hass);const t=(0,l.x)(this.hass.config,"hassio");try{var e;(0,l.x)(this.hass.config,"hardware")&&(this._hardwareInfo=await this.hass.callWS({type:"hardware/info"})),!t||null!==(e=this._hardwareInfo)&&void 0!==e&&e.hardware.length||(this._OSData=await(0,y.PB)(this.hass))}catch(o){this._error=(0,v.VR)(o)}}async _openOptionsFlow(t){const e=t.currentTarget.entry;e&&(0,_.Q)(this,e)}async _showRestartDialog(){(0,x.lD)(this)}constructor(...t){super(...t),this.narrow=!1,this._memoryEntries=[],this._cpuEntries=[],this._getChartData=(0,s.A)(t=>[Object.assign(Object.assign({},Q),{},{id:t===this._cpuEntries?"cpu":"memory",name:t===this._cpuEntries?this.hass.localize("ui.panel.config.hardware.processor"):this.hass.localize("ui.panel.config.hardware.memory"),data:t})])}}J.styles=[z.RF,(0,n.AH)(U||(U=N`.content{padding:28px 20px 0;max-width:1040px;margin:0 auto;--mdc-list-side-padding:24px;--mdc-list-vertical-padding:0}ha-card{max-width:600px;margin:0 auto;height:100%;justify-content:space-between;flex-direction:column;display:flex;margin-bottom:16px}.card-content{display:flex;justify-content:space-between;flex-direction:column;padding:16px}.loading-container{position:relative}.loading-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background-color:rgba(var(--rgb-card-background-color),.75);display:flex;justify-content:center;align-items:center}.card-content img{max-width:300px;margin:auto}.board-info{text-align:center}.primary-text{font-size:var(--ha-font-size-l);margin:0}.secondary-text{font-size:var(--ha-font-size-m);margin-bottom:0;color:var(--secondary-text-color)}.header{padding:16px;display:flex;justify-content:space-between}.header .title{color:var(--secondary-text-color);font-size:var(--ha-font-size-l)}.header .value{font-size:var(--ha-font-size-l)}.row{display:flex;justify-content:space-between;align-items:center;height:48px;padding:8px 16px}.card-actions{display:flex;justify-content:space-between}ha-alert{--ha-alert-icon-size:24px}`))],(0,i.Cg)([(0,r.MZ)({attribute:!1})],J.prototype,"hass",void 0),(0,i.Cg)([(0,r.MZ)({type:Boolean})],J.prototype,"narrow",void 0),(0,i.Cg)([(0,r.MZ)({attribute:!1})],J.prototype,"route",void 0),(0,i.Cg)([(0,r.wk)()],J.prototype,"_error",void 0),(0,i.Cg)([(0,r.wk)()],J.prototype,"_OSData",void 0),(0,i.Cg)([(0,r.wk)()],J.prototype,"_hardwareInfo",void 0),(0,i.Cg)([(0,r.wk)()],J.prototype,"_chartOptions",void 0),(0,i.Cg)([(0,r.wk)()],J.prototype,"_systemStatusData",void 0),(0,i.Cg)([(0,r.wk)()],J.prototype,"_configEntries",void 0),J=(0,i.Cg)([(0,r.EM)("ha-config-hardware-overview")],J),a()}catch(A){a(A)}})},69235:function(t,e,o){o.a(t,async function(t,e){try{o(3362),o(62953);"function"!=typeof window.ResizeObserver&&(window.ResizeObserver=(await o.e(71055).then(o.bind(o,52370))).default),e()}catch(a){e(a)}},1)}}]);