${this._error?i`
${this._renderError(this._error)}
`:(d=t.media_content_id,d.startsWith("media-source://tts/")?i`
`:a.length||t.not_shown?"grid"===r.layout?i`
${t.not_shown?i`
${this.hass.localize("ui.components.media-browser.not_shown",{count:t.not_shown})}
`:""}
`:i`
${t.not_shown?i`
${this.hass.localize("ui.components.media-browser.not_shown",{count:t.not_shown})}
`:""}
`:i`
${"media-source://media_source/local/."===t.media_content_id?i`
${this.hass.localize("ui.components.media-browser.file_management.highlight_button")}
`:this.hass.localize("ui.components.media-browser.no_items")}
`)}
`;var n,d}},{kind:"field",key:"_renderGridItem",value(){return t=>{const e=t.thumbnail?this._getThumbnailURLorBase64(t.thumbnail).then((t=>`url(${t})`)):"none";return i`
${this.hass.localize("ui.components.media-browser.no_media_folder")}
${this.hass.localize("ui.components.media-browser.setup_local_help","documentation",i`${this.hass.localize("ui.components.media-browser.documentation")}`)}
${this.hass.localize("ui.components.media-browser.local_media_files")}
`:i`