(self.webpackChunkplex_web_client=self.webpackChunkplex_web_client||[]).push([[160],{88612:(e,s,a)=>{const t=a(2636).c,r=a(20104);e.exports=r(t)},50160:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>c});var t=a(11504),r=a(52180),p=a(44060),n=a(8844),l=a(69384),o=a.n(l);const i=p.c.ItemView.extend({template:o(),initialize:function(){const e=r.WI("appModel");this.listenTo(e,"change:primaryServer",this.render),this.listenTo(e.get("user"),"change:signedIn",this.render)},serializeData:function(){const e=r.WI("appModel"),s=e.get("user"),a=s.isNinja()?"4.125.1-c17e55e":"4.125.1",t=e.get("primaryServer"),p={host:window.location.host,userAgent:window.navigator.userAgent,browser:n.c,version:a,user:s.toJSON(),hasPlexPass:s.get("hasPlexSubscription"),cloudServer:s.server.toJSON(),cloudServerUrl:s.server.url()};return t&&(p.primaryServer=t.toJSON(),p.primaryServerUrl=t.url()),p}});var u=a(71572);function c(){return t.createElement(u.c,{key:"InfoView",view:i})}},69384:(e,s,a)=>{var t=a(13624);function r(e){return e&&(e.__esModule?e.default:e)}e.exports=(t.default||t).template((function(e,s,t,p,n){this.compilerInfo=[4,">= 1.0.0"],t=this.merge(t,e.helpers),n=n||{};var l,o="",i="function",u=this.escapeExpression,c=this;return o+=' <h3>Plex Web</h3> <p><span class="text-muted">Version:</span> '+u(typeof(l=s&&s.version)===i?l.apply(s):l)+"</p> <h3>Plex Media Server</h3> ",l=t.if.call(s,s&&s.primaryServer,{hash:{},inverse:c.program(3,(function(e,s){return' <p><span class="text-muted">none</span></p> '}),n),fn:c.program(1,(function(e,s){var a;return""+' <p><span class="text-muted">Name:</span> '+u(typeof(a=null==(a=e&&e.primaryServer)||!1===a?a:a.friendlyName)===i?a.apply(e):a)+'</p> <p><span class="text-muted">Version:</span> '+u(typeof(a=null==(a=e&&e.primaryServer)||!1===a?a:a.version)===i?a.apply(e):a)+"</p> "}),n),data:n}),(l||0===l)&&(o+=l),o+=' <h3>Browser</h3> <p><span class="text-muted">Host:</span> '+u(typeof(l=s&&s.host)===i?l.apply(s):l)+'</p> <p><span class="text-muted">User Agent:</span> '+u(typeof(l=s&&s.userAgent)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Name:</span> '+u(typeof(l=null==(l=s&&s.browser)||!1===l?l:l.name)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Version:</span> '+u(typeof(l=null==(l=s&&s.browser)||!1===l?l:l.version)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Platform:</span> '+u(typeof(l=null==(l=s&&s.browser)||!1===l?l:l.platform)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Mobile:</span> '+u(r(a(88612)).call(s,null==(l=s&&s.browser)||!1===l?l:l.mobile,{hash:{},data:n}))+'</p> <h3>User</h3> <p><span class="text-muted">Username:</span> '+u(typeof(l=null==(l=s&&s.user)||!1===l?l:l.username)===i?l.apply(s):l)+" ",((l=t.if.call(s,s&&s.hasPlexPass,{hash:{},inverse:c.noop,fn:c.program(5,(function(e,s){return"(Plex Pass)"}),n),data:n}))||0===l)&&(o+=l),o+'</p> <h3>plex.tv</h3> <p><span class="text-muted">URL:</span> '+u(typeof(l=s&&s.cloudServerUrl)===i?l.apply(s):l)+'</p> <p><span class="text-muted">Available:</span> '+u(r(a(88612)).call(s,null==(l=s&&s.cloudServer)||!1===l?l:l.available,{hash:{},data:n}))+'</p> <p><span class="text-muted">Authorized:</span> '+u(r(a(88612)).call(s,null==(l=s&&s.cloudServer)||!1===l?l:l.authorized,{hash:{},data:n}))+"</p> "}))}}]);