"use strict";(globalThis.webpackChunk_plex_client_qt=globalThis.webpackChunk_plex_client_qt||[]).push([["packages_app_screens_viewMoreModal_ViewMoreModal_tsx"],{91481:(t,e,i)=>{i.r(e),i.d(e,{default:()=>g});var n=i(3493),s=i(63810),l=i(4322),a=i(44399),r=i(8604),o=i(12367),c=i(99346);class g extends r.Z{constructor(){super(...arguments),this.allowSidebar=!1,this._screenType=o.Z.ItemModal,this._speechContent=""}static _template(){const{screenWidth:t}=c.default;return{Container:{type:n.sg,fixedWidth:t,align:"center",gap:"xxl",y:96,TitleContainer:{type:n.sg,gap:"s",fixedWidth:t,align:"center",Title:{type:n.ij,textAlign:"center",fontName:"heading1",colorName:"textPrimary"},Subtitle:{type:n.ij,textAlign:"center",fontName:"heading2",colorName:"textMuted"}},ScrollContainer:{type:a.Z,clipping:!0,ScrollContent:{type:n.sg,Message:{type:l.Z,fontName:"body1",colorName:"textDefault"}}}}}}async getSpeechText(t){return this._speechContent}_init(){var t;if(null===(t=this.initialData)||void 0===t||!t.message)return;const{title:e,subtitle:i,message:n,fontName:l,textAlign:a,wordWrapWidth:r}=this.initialData,{size:o}=(0,s.rS)();this._container.fixedHeight=c.default.screenHeight-96,this._scrollContainer.w=null!=r?r:1304,this._message.w=null!=r?r:1304,this._title.content=e,this._subtitle.content=i,this._subtitle.visible=!!i,this._message.fontName=null!=l?l:"body1",this._message.textAlign=null!=a?a:"center",this._message.label=n,this._scrollContainer.h=this._subtitle.visible?854-o.s-o.xxl:854}_getFocused(){return this._scrollContainer}get _container(){return this.tag("Container")}get _scrollContainer(){return this.tag("Container.ScrollContainer")}get _title(){return this.tag("Container.TitleContainer.Title")}get _subtitle(){return this.tag("Container.TitleContainer.Subtitle")}get _message(){return this.tag("Container.ScrollContainer.ScrollContent.Message")}}}}]);