export const __rspack_esm_id="70861";export const __rspack_esm_ids=["70861"];export const __webpack_modules__={63708(t,a,i){i.d(a,{fW:()=>n});i(18111),i(13579);var o=i(44537),e=i(36312);const n=(t,a)=>(l(a)||r(t,a))&&!h(t,a)&&s(t,a),r=(t,a)=>!a.component||(0,o.e)(a.component).some(a=>(0,e.x)(t,a)),s=(t,a)=>!a.not_component||!(0,o.e)(a.not_component).some(a=>(0,e.x)(t,a)),l=t=>t.core,h=(t,a)=>(t=>t.advancedOnly)(a)&&!(t=>t.userData?.showAdvanced)(t)},29006(t,a,i){i.d(a,{F:()=>e});i(18111),i(22489);var o=i(63708);const e=(t,a,i={})=>a.filter(a=>"#external-app-configuration"===a.path?t.auth.external?.config.hasSettingsScreen:"bluetooth"===a.component?i.hasBluetoothConfigEntries??!1:(0,o.fW)(t,a))},34296(t,a,i){var o=i(62826),e=i(96229),n=i(26069),r=i(91735),s=i(42034),l=i(96196),h=i(97735);class c extends e.k{renderOutline(){return this.filled?l.qy`<span class="filled"></span>`:super.renderOutline()}getContainerClasses(){return{...super.getContainerClasses(),active:this.active}}renderPrimaryContent(){return l.qy` <span class="leading icon" aria-hidden="true"> ${this.renderLeadingIcon()} </span> <span class="label">${this.label}</span> <span class="touch"></span> <span class="trailing leading icon" aria-hidden="true"> ${this.renderTrailingIcon()} </span> `}renderTrailingIcon(){return l.qy`<slot name="trailing-icon"></slot>`}constructor(...t){super(...t),this.filled=!1,this.active=!1}}c.styles=[r.R,s.R,n.R,l.AH`: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,o.Cg)([(0,h.MZ)({type:Boolean,reflect:!0})],c.prototype,"filled",void 0),(0,o.Cg)([(0,h.MZ)({type:Boolean})],c.prototype,"active",void 0),c=(0,o.Cg)([(0,h.EM)("ha-assist-chip")],c)},59397(t,a,i){i(18111),i(61701);var o=i(62826),e=i(96196),n=i(97735),r=i(32288);i(43661),i(17308),i(2846),i(67094);class s extends e.WF{render(){return e.qy` <ha-md-list innerRole="menu" itemRoles="menuitem" innerAriaLabel="${(0,r.J)(this.label)}"> ${this.pages.map(t=>{const a=t.path.endsWith("#external-app-configuration");return e.qy` <ha-md-list-item .type="${a?"button":"link"}" .href="${a?void 0:t.path}" @click="${a?this._handleExternalApp:void 0}"> <div slot="start" class="${t.iconColor?"icon-background":""}" .style="background-color: ${t.iconColor||"undefined"}"> <ha-svg-icon .path="${t.iconPath}" .secondaryPath="${t.iconSecondaryPath}" .viewBox="${t.iconViewBox}"></ha-svg-icon> </div> <span slot="headline">${t.name}</span> ${this.hasSecondary?e.qy`<span slot="supporting-text">${t.description}</span>`:""} ${this.narrow?"":e.qy`<ha-icon-next slot="end"></ha-icon-next>`} </ha-md-list-item> `})} </ha-md-list> `}_handleExternalApp(){this.hass.auth.external.fireMessage({type:"config_screen/show"})}constructor(...t){super(...t),this.narrow=!1,this.hasSecondary=!1}}s.styles=e.AH`ha-icon-next,ha-svg-icon{color:var(--secondary-text-color);height:24px;width:24px;display:block}ha-svg-icon{padding:8px}.icon-background{border-radius:var(--ha-border-radius-circle)}.icon-background ha-svg-icon{color:#fff}ha-md-list-item{font-size:var(--navigation-list-item-title-font-size)}`,(0,o.Cg)([(0,n.MZ)({attribute:!1})],s.prototype,"hass",void 0),(0,o.Cg)([(0,n.MZ)({type:Boolean})],s.prototype,"narrow",void 0),(0,o.Cg)([(0,n.MZ)({attribute:!1})],s.prototype,"pages",void 0),(0,o.Cg)([(0,n.MZ)({attribute:"has-secondary",type:Boolean})],s.prototype,"hasSecondary",void 0),(0,o.Cg)([(0,n.MZ)()],s.prototype,"label",void 0),s=(0,o.Cg)([(0,n.EM)("ha-navigation-list")],s)},67505(t,a,i){var o=i(62826),e=i(96196),n=i(97735);i(67094);class r extends e.WF{render(){return this.hass?e.qy` <ha-svg-icon .path="${"M12,2A7,7 0 0,1 19,9C19,11.38 17.81,13.47 16,14.74V17A1,1 0 0,1 15,18H9A1,1 0 0,1 8,17V14.74C6.19,13.47 5,11.38 5,9A7,7 0 0,1 12,2M9,21V20H15V21A1,1 0 0,1 14,22H10A1,1 0 0,1 9,21M12,4A5,5 0 0,0 7,9C7,11.05 8.23,12.81 10,13.58V16H14V13.58C15.77,12.81 17,11.05 17,9A5,5 0 0,0 12,4Z"}"></ha-svg-icon> <span class="prefix">${this.hass.localize("ui.panel.config.tips.tip")}</span> <span class="text"><slot></slot></span> `:e.s6}}r.styles=e.AH`:host{display:block;text-align:center}.text{direction:var(--direction);margin-left:2px;margin-inline-start:2px;margin-inline-end:initial;color:var(--secondary-text-color)}.prefix{font-weight:var(--ha-font-weight-medium)}`,(0,o.Cg)([(0,n.MZ)({attribute:!1})],r.prototype,"hass",void 0),r=(0,o.Cg)([(0,n.EM)("ha-tip")],r)},34127(t,a,i){i.a(t,async function(t,a){try{var o=i(62826),e=i(52630),n=i(96196),r=i(97735),s=t([e]);e=(s.then?(await s)():s)[0];class l extends e.A{static get styles(){return[e.A.styles,n.AH`:host{--wa-tooltip-background-color:var(
            --ha-tooltip-background-color,
            var(--secondary-background-color)
          );--wa-tooltip-content-color:var(
            --ha-tooltip-text-color,
            var(--primary-text-color)
          );--wa-tooltip-font-family:var(
            --ha-tooltip-font-family,
            var(--ha-font-family-body)
          );--wa-tooltip-font-size:var(
            --ha-tooltip-font-size,
            var(--ha-font-size-s)
          );--wa-tooltip-font-weight:var(
            --ha-tooltip-font-weight,
            var(--ha-font-weight-normal)
          );--wa-tooltip-line-height:var(
            --ha-tooltip-line-height,
            var(--ha-line-height-condensed)
          );--wa-tooltip-padding:var(--ha-tooltip-padding, var(--ha-space-2));--wa-tooltip-border-radius:var(
            --ha-tooltip-border-radius,
            var(--ha-border-radius-sm)
          );--wa-tooltip-arrow-size:var(--ha-tooltip-arrow-size, 8px);--wa-tooltip-border-width:0px;--wa-z-index-tooltip:1000}`]}constructor(...t){super(...t),this.showDelay=150,this.hideDelay=150}}(0,o.Cg)([(0,r.MZ)({attribute:"show-delay",type:Number})],l.prototype,"showDelay",void 0),(0,o.Cg)([(0,r.MZ)({attribute:"hide-delay",type:Number})],l.prototype,"hideDelay",void 0),l=(0,o.Cg)([(0,r.EM)("ha-tooltip")],l),a()}catch(t){a(t)}})},27330(t,a,i){var o=i(62826),e=i(29781),n=i(71467),r=i(96196),s=i(97735);class l extends e.${constructor(...t){super(...t),this.narrow=!1}}l.styles=[n.R,r.AH`header{padding-top:var(--safe-area-inset-top)}.mdc-top-app-bar__row{height:var(--header-height);border-bottom:var(--app-header-border-bottom)}.mdc-top-app-bar--fixed-adjust{padding-top:calc(var(--header-height,0px) + var(--safe-area-inset-top,0px));padding-bottom:var(--safe-area-inset-bottom);padding-right:var(--safe-area-inset-right)}:host([narrow]) .mdc-top-app-bar--fixed-adjust{padding-left:var(--safe-area-inset-left)}.mdc-top-app-bar{--mdc-typography-headline6-font-weight:var(--ha-font-weight-normal);color:var(--app-header-text-color,var(--mdc-theme-on-primary,#fff));background-color:var(--app-header-background-color,var(--mdc-theme-primary));padding-top:var(--safe-area-inset-top);padding-right:var(--safe-area-inset-right);transition:width var(--ha-animation-duration-normal) ease,padding-left var(--ha-animation-duration-normal) ease,padding-right var(--ha-animation-duration-normal) ease}:host([narrow]) .mdc-top-app-bar{padding-left:var(--safe-area-inset-left)}@media (prefers-reduced-motion:reduce){.mdc-top-app-bar{transition:1ms}}.mdc-top-app-bar__title{font-size:var(--ha-font-size-xl);padding-inline-start:var(--ha-space-6);padding-inline-end:initial}:host([narrow]) .mdc-top-app-bar__title{padding-inline-start:var(--ha-space-2)}`],(0,o.Cg)([(0,s.MZ)({type:Boolean,reflect:!0})],l.prototype,"narrow",void 0),l=(0,o.Cg)([(0,s.EM)("ha-top-app-bar-fixed")],l)},34779(t,a,i){i.d(a,{uq:()=>r,xP:()=>s});var o=i(1087),e=i(22444);const n=()=>Promise.all([i.e("4801"),i.e("33212"),i.e("46095"),i.e("46995"),i.e("92769"),i.e("51308"),i.e("16147"),i.e("85170"),i.e("95468"),i.e("8851"),i.e("43001")]).then(i.bind(i,89704)),r=(t,a)=>{(0,o.r)(t,"show-dialog",{dialogTag:"ha-quick-bar",dialogImport:n,dialogParams:a,addHistory:!1})},s=()=>{(0,e.zU)("ha-quick-bar")}},9835(t,a,i){i.d(a,{eb:()=>s,lD:()=>r});var o=i(1087);const e=()=>Promise.all([i.e("4801"),i.e("46095"),i.e("46995"),i.e("79996"),i.e("78453"),i.e("28980")]).then(i.bind(i,15903)),n=()=>Promise.all([i.e("56683"),i.e("78590")]).then(i.bind(i,25069)),r=t=>{(0,o.r)(t,"show-dialog",{dialogTag:"dialog-restart",dialogImport:e,dialogParams:{}})},s=(t,a)=>{(0,o.r)(t,"show-dialog",{dialogTag:"dialog-restart-wait",dialogImport:n,dialogParams:a})}},41631(t,a,i){i.d(a,{H:()=>e});var o=i(1087);const e=t=>(0,o.r)(t,"show-dialog",{dialogTag:"dialog-shortcuts",dialogImport:()=>Promise.all([i.e("79064"),i.e("72432")]).then(i.bind(i,9555))})},19612(t,a,i){i.a(t,async function(t,o){try{i.r(a);i(44114),i(18111),i(22489),i(7588),i(61701),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var e=i(62826),n=i(96196),r=i(97735),s=i(22786),l=i(36312),h=(i(34296),i(76776),i(29823)),c=(i(70947),i(26300)),d=(i(43661),i(2054)),p=(i(67094),i(67505),i(27330),i(34127)),g=i(55782),u=i(24247),f=i(34779),m=i(9835),v=i(41631),y=i(54706),b=i(14503),w=i(36918),x=i(41570),_=i(84187),$=(i(20820),i(25635)),C=i(98712),k=(i(73524),i(87842)),z=t([h,c,d,p,C,k,u]);[h,c,d,p,C,k,u]=z.then?(await z)():z;const A="M14.2 14.5V14.74C13.5 15.34 13 16.24 13 17.2V20H6.5C5 20 3.69 19.5 2.61 18.43C1.54 17.38 1 16.09 1 14.58C1 13.28 1.39 12.12 2.17 11.1S4 9.43 5.25 9.15C5.67 7.62 6.5 6.38 7.75 5.43S10.42 4 12 4C13.95 4 15.6 4.68 16.96 6.04C18.08 7.16 18.73 8.5 18.93 10C16.36 10.04 14.2 12.08 14.2 14.5M23 17.3V20.8C23 21.4 22.4 22 21.7 22H16.2C15.6 22 15 21.4 15 20.7V17.2C15 16.6 15.6 16 16.2 16V14.5C16.2 13.1 17.6 12 19 12S21.8 13.1 21.8 14.5V16C22.4 16 23 16.6 23 17.3M20.5 14.5C20.5 13.7 19.8 13.2 19 13.2S17.5 13.7 17.5 14.5V16H20.5V14.5Z",M="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",q="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",H="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",S="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",Z=(t,a,i)=>{const o=[];let e=[{content:a.localize("ui.panel.config.tips.join",{forums:n.qy`<a href="https://community.home-assistant.io" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_forums")}</a>`,twitter:n.qy`<a href="${(0,w.o)(a,"/twitter")}" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_x")}</a>`,mastodon:n.qy`<a href="${(0,w.o)(a,"/mastodon")}" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_mastodon")}</a>`,bluesky:n.qy`<a href="${(0,w.o)(a,"/bluesky")}" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_bluesky")}</a>`,discord:n.qy`<a href="${(0,w.o)(a,"/join-chat")}" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_chat")}</a>`,blog:n.qy`<a href="${(0,w.o)(a,"/blog")}" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_blog")}</a>`,newsletter:n.qy`<span class="keep-together"><a href="https://newsletter.openhomefoundation.org/" target="_blank" rel="noreferrer">${a.localize("ui.panel.config.tips.join_newsletter")}</a> </span>`}),weight:2,narrow:!0}];if(a?.enableShortcuts&&!_.M){const i={keyboard_shortcut:n.qy`<a href="#" @click="${t}">${a.localize("ui.tips.keyboard_shortcut")}</a>`};e.push({content:a.localize("ui.tips.key_c_tip",i),weight:1,narrow:!1},{content:a.localize("ui.tips.key_m_tip",i),weight:1,narrow:!1},{content:a.localize("ui.tips.key_a_tip",i),weight:1,narrow:!1},{content:a.localize("ui.tips.key_shortcut_quick_search",{...i,modifier:x.c?"⌘":"Ctrl"}),weight:1,narrow:!1})}return i&&(e=e.filter(t=>t.narrow)),e.forEach(t=>{for(let a=0;a<t.weight;a++)o.push(t.content)}),o[Math.floor(Math.random()*o.length)]};class B extends((0,y.E)(n.WF)){hassSubscribe(){return[(0,g.TP)(this.hass.connection,t=>{const a=t.issues.filter(t=>!t.ignored);this._repairsIssues={issues:a.sort((t,a)=>g.Qk[t.severity]-g.Qk[a.severity]).slice(0,3===a.length?a.length:2),total:a.length};const i=new Set;for(const t of this._repairsIssues.issues)i.add(t.domain);this.hass.loadBackendTranslation("issues",[...i])})]}render(){const t=[this.hass.localize("ui.dialogs.quick-bar.title"),this.hass.enableShortcuts&&!_.M?x.c?"(⌘ + K)":"(Ctrl + K)":void 0].filter(Boolean).join(" "),{updates:a,total:i}=this._filterUpdateEntitiesParameterized(this.hass.states,this.hass.entities),{issues:o,total:e}=this._repairsIssues;return n.qy` <ha-top-app-bar-fixed .narrow="${this.narrow}"> <ha-menu-button slot="navigationIcon" .hass="${this.hass}" .narrow="${this.narrow}"></ha-menu-button> <div slot="title">${this.hass.localize("panel.config")}</div> <ha-icon-button slot="actionItems" id="button-quick-bar" .label="${t}" .path="${q}" hide-title @click="${this._showQuickBar}"></ha-icon-button> <ha-tooltip placement="bottom" for="button-quick-bar">${t}</ha-tooltip> <ha-dropdown slot="actionItems" @wa-select="${this._handleMenuAction}"> <ha-icon-button slot="trigger" .label="${this.hass.localize("ui.common.menu")}" .path="${M}"></ha-icon-button> <ha-dropdown-item value="check-updates"> ${this.hass.localize("ui.panel.config.updates.check_updates")} <ha-svg-icon slot="icon" .path="${S}"></ha-svg-icon> </ha-dropdown-item> <ha-dropdown-item value="restart"> ${this.hass.localize("ui.panel.config.system_dashboard.restart_homeassistant")} <ha-svg-icon slot="icon" .path="${H}"></ha-svg-icon> </ha-dropdown-item> </ha-dropdown> <ha-config-section .narrow="${this.narrow}" .isWide="${this.isWide}" full-width> ${o.length||a.length?n.qy`<ha-card outlined> ${o.length?n.qy` <ha-config-repairs .hass="${this.hass}" .narrow="${this.narrow}" .total="${e}" .repairsIssues="${o}"></ha-config-repairs> ${e>o.length?n.qy` <ha-assist-chip href="/config/repairs" .label="${this.hass.localize("ui.panel.config.repairs.more_repairs",{count:e-o.length})}"> </ha-assist-chip> `:""} `:""} ${o.length&&a.length?n.qy`<hr>`:""} ${a.length?n.qy` <ha-config-updates .hass="${this.hass}" .narrow="${this.narrow}" .total="${i}" .updateEntities="${a}" .isInstallable="${!0}"></ha-config-updates> ${i>a.length?n.qy` <ha-assist-chip href="/config/updates" label="${this.hass.localize("ui.panel.config.updates.more_updates",{count:i-a.length})}"> </ha-assist-chip> `:""} `:""} </ha-card>`:""} ${this._pages(this.cloudStatus,(0,l.x)(this.hass,"cloud"),this.hass.auth.external?.config.hasSettingsScreen).map(t=>0===t.length?n.s6:n.qy` <ha-card outlined> <ha-config-navigation .hass="${this.hass}" .narrow="${this.narrow}" .pages="${t}"></ha-config-navigation> </ha-card> `)} <ha-tip .hass="${this.hass}">${this._tip}</ha-tip> </ha-config-section> </ha-top-app-bar-fixed> `}updated(t){super.updated(t),!this._tip&&t.has("hass")&&(this._tip=Z(this._openShortcutDialog,this.hass,this.narrow))}_openShortcutDialog(t){t.preventDefault(),(0,v.H)(this)}_showQuickBar(){(0,f.uq)(this,{showHint:this.hass.enableShortcuts})}async _handleMenuAction(t){switch(t.detail.item.value){case"check-updates":(0,u.nD)(this,this.hass);break;case"restart":(0,m.lD)(this)}}static get styles(){return[b.RF,n.AH`:host(:not([narrow])) ha-card:last-child{margin-bottom:24px}ha-config-section{margin:auto;margin-top:-32px;max-width:600px}ha-card{overflow:hidden}ha-card a{text-decoration:none;color:var(--primary-text-color)}ha-assist-chip{margin:8px 16px 16px 16px}.title{font-size:var(--ha-font-size-l);padding:16px;padding-bottom:0}@media all and (max-width:600px){ha-card{border-width:1px 0;border-radius:var(--ha-border-radius-square);box-shadow:unset}ha-config-section{margin-top:-42px}}ha-tip{margin-bottom:8px}.new{color:var(--primary-color)}.keep-together{display:inline-block}hr{height:1px;background-color:var(--ha-card-border-color,var(--divider-color,#e0e0e0));border:none;margin-top:0}`]}constructor(...t){super(...t),this.narrow=!1,this.isWide=!1,this._repairsIssues={issues:[],total:0},this._pages=(0,s.A)((t,a,i)=>[a?[{component:"cloud",path:"/config/cloud",name:"Home Assistant Cloud",info:t,iconPath:A,iconColor:"#3B808E",translationKey:"cloud"},...$.configSections.dashboard]:$.configSections.dashboard,i?$.configSections.dashboard_external_settings:[],$.configSections.dashboard_2,$.configSections.dashboard_3]),this._filterUpdateEntitiesParameterized=(0,s.A)((t,a)=>{const i=(0,u.id)(t,!1,!1).filter(t=>!a[t.entity_id]?.hidden);return{updates:i.slice(0,3===i.length?i.length:2),total:i.length}})}}(0,e.Cg)([(0,r.MZ)({attribute:!1})],B.prototype,"hass",void 0),(0,e.Cg)([(0,r.MZ)({type:Boolean,reflect:!0})],B.prototype,"narrow",void 0),(0,e.Cg)([(0,r.MZ)({attribute:"is-wide",type:Boolean})],B.prototype,"isWide",void 0),(0,e.Cg)([(0,r.MZ)({attribute:!1})],B.prototype,"cloudStatus",void 0),(0,e.Cg)([(0,r.wk)()],B.prototype,"_tip",void 0),(0,e.Cg)([(0,r.wk)()],B.prototype,"_repairsIssues",void 0),B=(0,e.Cg)([(0,r.EM)("ha-config-dashboard")],B),o()}catch(t){o(t)}})},73524(t,a,i){i(18111),i(61701);var o=i(62826),e=i(96196),n=i(97735),r=i(29006),s=(i(76776),i(43661),i(59397),i(77423));class l extends e.WF{firstUpdated(t){super.firstUpdated(t),(0,s.VN)(this.hass,{domain:"bluetooth"}).then(t=>{this._hasBluetoothConfigEntries=t.length>0})}render(){const t=(0,r.F)(this.hass,this.pages,{hasBluetoothConfigEntries:this._hasBluetoothConfigEntries}).map(t=>({...t,name:t.name||this.hass.localize(`ui.panel.config.dashboard.${t.translationKey}.main`),description:"cloud"===t.component&&t.info?t.info.logged_in?`\n                  ${this.hass.localize("ui.panel.config.cloud.description_login")}\n                `:`\n                  ${this.hass.localize("ui.panel.config.cloud.description_features")}\n                `:`\n                ${t.description||this.hass.localize(`ui.panel.config.dashboard.${t.translationKey}.secondary`)}\n              `}));return e.qy` <div class="visually-hidden" role="heading" aria-level="2"> ${this.hass.localize("panel.config")} </div> <ha-navigation-list has-secondary .hass="${this.hass}" .narrow="${this.narrow}" .pages="${t}" .label="${this.hass.localize("panel.config")}"></ha-navigation-list> `}constructor(...t){super(...t),this.narrow=!1,this._hasBluetoothConfigEntries=!1}}l.styles=e.AH`ha-navigation-list{--navigation-list-item-title-font-size:var(--ha-font-size-l)}.visually-hidden{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0}`,(0,o.Cg)([(0,n.MZ)({attribute:!1})],l.prototype,"hass",void 0),(0,o.Cg)([(0,n.MZ)({type:Boolean})],l.prototype,"narrow",void 0),(0,o.Cg)([(0,n.MZ)({attribute:!1})],l.prototype,"pages",void 0),(0,o.Cg)([(0,n.wk)()],l.prototype,"_hasBluetoothConfigEntries",void 0),l=(0,o.Cg)([(0,n.EM)("ha-config-navigation")],l)},20820(t,a,i){var o=i(62826),e=i(96196),n=i(97735),r=i(94333);class s extends e.WF{render(){return e.qy` <div class="content ${(0,r.H)({narrow:!this.isWide,"full-width":this.fullWidth})}"> <div class="header"><slot name="header"></slot></div> <div class="together layout ${(0,r.H)({narrow:!this.isWide,vertical:this.vertical||!this.isWide,horizontal:!this.vertical&&this.isWide})}"> <div class="intro"><slot name="introduction"></slot></div> <div class="panel flex-auto"><slot></slot></div> </div> </div> `}constructor(...t){super(...t),this.isWide=!1,this.vertical=!1,this.fullWidth=!1}}s.styles=e.AH`:host{display:block}.content{padding:28px 20px 0;max-width:1040px;margin:0 auto}.layout{display:flex}.horizontal{flex-direction:row}.vertical{flex-direction:column}.flex-auto{flex:1 1 auto}.header{font-family:var(--ha-font-family-body);-webkit-font-smoothing:var(--ha-font-smoothing);-moz-osx-font-smoothing:var(--ha-moz-osx-font-smoothing);font-size:var(--ha-font-size-2xl);font-weight:var(--ha-font-weight-normal);line-height:var(--ha-line-height-condensed);opacity:var(--dark-primary-opacity)}.together{margin-top:var(--config-section-content-together-margin-top,32px)}.intro{font-family:var(--ha-font-family-body);-webkit-font-smoothing:var(--ha-font-smoothing);-moz-osx-font-smoothing:var(--ha-moz-osx-font-smoothing);font-weight:var(--ha-font-weight-normal);line-height:var(--ha-line-height-normal);width:100%;opacity:var(--dark-primary-opacity);font-size:var(--ha-font-size-m);padding-bottom:20px}.horizontal .intro{max-width:400px;margin-right:40px;margin-inline-end:40px;margin-inline-start:initial}.panel{margin-top:-24px}.panel ::slotted(*){margin-top:24px;display:block}.narrow.content{max-width:640px}.narrow .together{margin-top:var(--config-section-narrow-content-together-margin-top,var(--config-section-content-together-margin-top,20px))}.narrow .intro{padding-bottom:20px;margin-right:0;margin-inline-end:0;margin-inline-start:initial;max-width:500px}.full-width{padding:0}.full-width .layout{flex-direction:column}`,(0,o.Cg)([(0,n.MZ)({attribute:"is-wide",type:Boolean})],s.prototype,"isWide",void 0),(0,o.Cg)([(0,n.MZ)({type:Boolean})],s.prototype,"vertical",void 0),(0,o.Cg)([(0,n.MZ)({type:Boolean,attribute:"full-width"})],s.prototype,"fullWidth",void 0),s=(0,o.Cg)([(0,n.EM)("ha-config-section")],s)},41570(t,a,i){i.d(a,{c:()=>o});const o=/Mac/i.test(navigator.userAgent)},84187(t,a,i){i.d(a,{M:()=>o});const o=/(?:iphone|android|ipad)/i.test(navigator.userAgent)}};
//# sourceMappingURL=70861.956ea2a6c6e71190.js.map