"use strict";(globalThis.webpackChunk_plex_client_qt=globalThis.webpackChunk_plex_client_qt||[]).push([["packages_app_screens_signInScreen_AnonymousUserSignInModal_tsx"],{52331:(e,t,n)=>{n.r(t),n.d(t,{default:()=>m});var i=n(3493),a=n(96363),o=n(88271),r=n(36725),s=n(82357),c=n(63810),l=n(18049),g=n(11381),d=n(99346),u=n(84367);const p=4294394726,h=[{get title(){return(0,r.ZP)("Save items to your Watchlist for future viewing")},icon:o.eG.Bookmark},{get title(){return(0,r.ZP)("Save your viewing progress from screen to screen")},icon:o.eG.Tv},{get title(){return(0,r.ZP)("Favorite Live TV channels for quick and easy access")},icon:o.eG.Heart}];class m extends g.Z{constructor(){super(...arguments),this.allowSidebar=!1,this._onSignInPressed=async()=>{(0,l.Z)(a.pe.GateContinueWatchingExperiment,{properties:{action:s.Kl.SignUp,page:s.GJ.ContinueWatchingSoftGate}}),this._appController.goToLinkScreen(),this.close()},this._onDismissPressed=()=>{var e;(0,l.Z)(a.pe.GateContinueWatchingExperiment,{properties:{action:s.Kl.Skip,page:s.GJ.ContinueWatchingSoftGate}}),null===(e=this.initialData)||void 0===e||e.onDismiss(),this.close()}}static _template(){return{Container:{w:d.default.screenWidth,h:d.default.screenHeight,Background:{w:d.default.screenWidth,h:d.default.screenHeight,src:u},Content:{type:i.sg,fixedWidth:d.default.screenWidth,fixedHeight:d.default.screenHeight,verticalAlign:"middle",align:"center",TitleRow:{type:i.X2,gap:"m",verticalAlign:"middle",TitleText:{type:i.ij,fontName:"heading1",colorName:"surfaceForeground100",useFontFamilyDefaultLineHeight:!0,content:(0,r.ZP)("Create your free Plex account")},UnnamedChild0:{type:o.JO,icon:o.eG.PlexChevron,colorName:"brandAccent",sizeName:"xxl"}},MessageText:{type:i.ij,w:d.default.screenWidth-2*d.default.screenHorizontalMargin,fontName:"heading3",textColor:p,textAlign:"center",content:(0,r.ZP)("No subscription required"),flexItem:{marginBottom:64}},Features:{type:i.X2,gap:"xxxl",fixedHeight:320,flexItem:{marginBottom:80}},Buttons:{type:i.X2,gap:"xxxl",flexItem:{marginBottom:46},SignInButton:{type:i.zx,label:(0,r.ZP)("Sign In")},DismissButton:{type:i.zx,label:(0,r.ZP)("Maybe Later")}},DisclaimerText:{type:i.ij,w:1200,fontName:"caption",colorName:"primaryForeground30",textAlign:"center",content:(0,r.ZP)("By creating an account or continuing to use a Plex application, website, or software, you acknowledge and agree that you have accepted the Terms of Service and have reviewed the Privacy Policy. See settings for more information.")}}}}}_init(){const{size:e}=(0,c.rS)(),t=h.map((t=>({type:i.sg,fixedWidth:400,fixedHeight:320,colorName:"backgroundCard",radius:"l",paddingHorizontal:"xxl",paddingVertical:"xxl",UnnamedChild1:{type:o.JO,color:p,size:e.xxxl,icon:t.icon,flexItem:{marginBottom:24}},UnnamedChild2:{type:i.ij,fontName:"heading2",w:400-2*e.xxl,colorName:"surfaceForeground100",content:t.title}})));this.patch({Container:{Content:{type:i.sg,Features:{type:i.X2,UnnamedChild3:t},Buttons:{type:i.X2,SignInButton:{type:i.zx,onPress:this._onSignInPressed},DismissButton:{type:i.zx,onPress:this._onDismissPressed}}}}}),this.tag("Content.Features").childrenChanged()}_getFocused(){return this.tag("Content").tag("Buttons")}_handleBack(){return(0,l.Z)(a.pe.GateContinueWatchingExperiment,{properties:{action:s.Kl.Dismiss,page:s.GJ.ContinueWatchingSoftGate}}),!1}}m.canRestore=!1},84367:(e,t,n)=>{e.exports=n.p+"images/sign-in-modal-background.9f566cda1932e43cb11b.jpg"}}]);