1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0d02e-bd7d-7121-8335-459b601f4786")}catch(e){}}();import{b as be}from"./chunk-FSOLQ42Q.js";import{b as we}from"./chunk-7ARIBDDV.js";import{d as he}from"./chunk-NQGZWA5L.js";import{a as xe}from"./chunk-GRCZHGJF.js";import{v as J}from"./chunk-V4LHTRRU.js";import{ra as _e,zb as Ce}from"./chunk-FEZGUWWB.js";import"./chunk-2TRQBJF6.js";import{a as fe}from"./chunk-TB4AP4ZN.js";import"./chunk-IT3Z7C26.js";import"./chunk-HKTIGB6S.js";import"./chunk-EHQB5OA5.js";import"./chunk-OQTLGTWY.js";import"./chunk-D7BKBA37.js";import"./chunk-BWXPOGYY.js";import"./chunk-MRXXE4GK.js";import"./chunk-CWJDLBMJ.js";import"./chunk-XSYVJ57M.js";import"./chunk-IRAUIRH5.js";import"./chunk-3S6XJ53G.js";import"./chunk-KV2WK5P3.js";import"./chunk-S43MJC6G.js";import"./chunk-CQTV66PB.js";import"./chunk-3LM2FQ7E.js";import"./chunk-5ETPMFZR.js";import"./chunk-DHLIZG3S.js";import{Jc as b,Lc as I,O as w,Tc as q,Uc as E,Vc as ge,bd as H,cd as Q,gd as ve,pa as de}from"./chunk-EEDLHDRX.js";import{Fm as x,Gm as me,Im as ue,Q as R,lb as oe,nd as se,q as N,rb as re,sb as G,ub as U,wb as ae}from"./chunk-RRAO5YYC.js";import{$ as V,Ba as z,Kd as ce,L as c,La as D,Md as le,Nd as pe,Pa as $,Qd as W,R as r,Sb as ie,V as k,W as L,_b as S,d as P,e as O,eb as te,g as s,ic as ne,mb as C,na as a,nb as h,oa as l,pa as m,qa as u,sb as F,ua as f,va as _}from"./chunk-MGWJEQIP.js";import{$b as p,Ca as Z,I as j,V as M,Za as ee,pa as v}from"./chunk-IQNHE7HV.js";import"./chunk-XONARSLP.js";import"./chunk-ALKJ4AUH.js";var X={course:"course"};var Re=()=>["/live"];function Ge(e,g){e&1&&(f(0),l(1,"section",5)(2,"mat-card")(3,"p",6),$(4," Sorry, nothing here.\xA0 "),l(5,"u")(6,"a",7),$(7,"Go to Live Meetups"),m()()()()(),_()),e&2&&(c(6),a("routerLink",te(1,Re)))}function Ue(e,g){if(e&1&&(f(0),u(1,"ws-video",8),_()),e&2){let t=z().ngIf;c(),a("live",!0)("liveEventId",t.liveEventId)("liveEventType",t.liveEventType)}}function We(e,g){e&1&&(l(0,"section",9),u(1,"img",10),m()),e&2&&a("@fade",void 0)}function qe(e,g){if(e&1&&(f(0),u(1,"ws-chatroom",11),_()),e&2){let t=g.ngIf;c(),a("user",t)("clickableLogo",!1)("popoutButton",!1)("showChatroomTabs",!1)("disableChatroomSelect",!0)}}function He(e,g){if(e&1&&(f(0),V(1,Ge,8,2,"ng-container",4)(2,Ue,2,3,"ng-template",null,0,F)(4,We,2,1,"ng-template",null,1,F)(6,qe,2,5,"ng-container",4),C(7,"async"),_()),e&2){let t=D(3),i=D(5),n=z();c(),a("ngIf",!n.canWatchCourse)("ngIfElse",t),c(5),a("ngIf",h(7,4,n.user$))("ngIfElse",i)}}var Y=(()=>{class e{constructor(t,i,n,B,A,Se,Ie,Ee,Te){this.router=t,this.gate=i,this.route=n,this.appService=B,this.userService=A,this.videoService=Se,this.courseService=Ie,this.chatroomService=Ee,this.cachedCourseService=Te,this.user$=this.userService.authenticated$,this.course$=this.courseService.course$,this.mobile$=this.appService.mobile$,this.canWatchCourse=!0,this.selectChatroom$=this.course$.pipe(v(o=>!!o),ee((o,Be)=>o.id===Be.id),p(o=>{o&&o.permission&&(this.canWatchCourse=this.gate.can("course",N(o.permission),o.permission)),o&&o.chatroom&&o.chatroom.id&&this.chatroomService.setChatroomId(o.chatroom.id)})),this.name$=this.course$.pipe(v(o=>!!o),M(o=>o.name)),this.fetch$=this.cachedCourseService.fetchFromApi(this.route.snapshot.params.course),this.subscriptions=[this.fetch$.subscribe(),this.selectChatroom$.subscribe()]}ngOnInit(){this.appService.SetGlobaLiveBroadcastDisabled(!0)}ngOnDestroy(){this.appService.SetGlobaLiveBroadcastDisabled(!1),this.subscriptions.forEach(t=>t.unsubscribe())}onPopOutGlobalPlayer(t){this.appService.SetGlobalVideoPlayerCourseActive(!0),this.appService.SetGlobalVideoPlayerLiveVideoCourse(t),t&&t.chatroom&&t.chatroom.id&&this.chatroomService.setChatroomId(t.chatroom.id),this.router.navigate(["/stocks"])}static{this.\u0275fac=function(i){return new(i||e)(r(le),r(x),r(ce),r(b),r(I),r(ve),r(H),r(q),r(Q))}}static{this.\u0275cmp=k({type:e,selectors:[["ws-live-course-page"]],standalone:!1,decls:3,vars:4,consts:[["liveVideoContainer",""],["welcome",""],[3,"pageTitle"],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"ws-live-course-no-permission"],[1,"mat-caption"],[3,"routerLink"],[3,"live","liveEventId","liveEventType"],[1,"ws-chat-page-welcome"],["src","assets/svg/brand/logo/display-2/light.svg"],[1,"full",3,"user","clickableLogo","popoutButton","showChatroomTabs","disableChatroomSelect"]],template:function(i,n){i&1&&(l(0,"ws-page",2),V(1,He,8,6,"ng-container",3),C(2,"async"),m()),i&2&&(a("pageTitle",n.name$),c(),a("ngIf",h(2,2,n.course$)))},dependencies:[ie,se,w,fe,pe,J,S],styles:["[_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{overflow:hidden;height:100%;max-height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] ws-page[_ngcontent-%COMP%] mat-sidenav-content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] .ws-course-live-page-share[_ngcontent-%COMP%]{text-align:center;margin-top:48px;margin-bottom:32px}[_nghost-%COMP%] .ws-live-course-no-permission[_ngcontent-%COMP%]{display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;-webkit-align-items:center;-moz-align-items:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;
1-webkit-justify-content:center;-moz-justify-content:center;justify-content:center;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}[_nghost-%COMP%] ws-content[_ngcontent-%COMP%]{height:calc(100% - 48px)}[_nghost-%COMP%] mat-toolbar[_ngcontent-%COMP%]{-webkit-flex-shrink:0;-moz-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}@media(min-width:20em)and (max-width:50.865em){[_nghost-%COMP%] .ws-course-toolbar-right[_ngcontent-%COMP%]{opacity:0}[_nghost-%COMP%] .ws-course-live-page-share-caption[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .ws-course-live-page-share[_ngcontent-%COMP%]{margin-top:32px;margin-bottom:32px}}.light [_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{background:#e0e0e0}.dark [_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{background:#303030}.black [_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{background:#212121}.charcoal [_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{background:#26252f}"],changeDetection:0})}}return e})();var d=(()=>{class e{constructor(t,i,n,B,A){this.auth=t,this.authToken=i,this.gate=n,this.store=B,this.userService=A}resolve(t,i){let n={expiresIn:-1,tokenType:"",accessToken:t.params.key};return this.authToken.set(n),this.userService.authUser()}static{this.\u0275fac=function(i){return new(i||e)(s(ue),s(me),s(x),s(de),s(I))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})();var T=(()=>{class e{constructor(t,i,n){this.localStorage=t,this.stockService=i,this.cachedStockService=n}resolve(t){return t.paramMap.get("stock")?this.cachedStockService.fetch(t.params.stock).pipe(p(i=>this.stockService.select(i.id)),M(()=>!0),Z(i=>j(!0))):j(!0)}static{this.\u0275fac=function(i){return new(i||e)(s(oe),s(E),s(ge))}}static{this.\u0275prov=P({token:e,factory:e.\u0275fac})}}return e})();var ke=(()=>{class e{constructor(t,i){this.appService=t,this.stockService=i,this.mobile$=this.appService.mobile$,this.stock$=this.stockService.stock$,this.theme$=this.appService.theme$.pipe(v(n=>!!n&&n!==R.black),p(()=>this.appService.setTheme(R.black))),this.mobileNative=!0,this.subscriptions=[this.theme$.subscribe()]}ngOnInit(){}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}static{this.\u0275fac=function(i){return new(i||e)(r(b),r(E))}}static{this.\u0275cmp=k({type:e,selectors:[["ws-mobile-app-chart-page"]],standalone:!1,decls:4,vars:4,consts:[["chartContainerComponent",""],["pageTitle","Live Charts"],[3,"stock","mobileNative"]],template:function(i,n){i&1&&(l(0,"ws-page",1),u(1,"ws-chart-container",2,0),C(3,"async"),m()),i&2&&(c(),a("stock",h(3,2,n.stock$))("mobileNative",n.mobileNative))},dependencies:[w,_e,S],styles:["[_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{overflow:hidden;height:100%;max-height:100%;display:-webkit-box;display:-webkit-flex;display:-moz-flex;display:-ms-flexbox;display:flex;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-flex-direction:column;-moz-flex-direction:column;-ms-flex-direction:column;flex-direction:column}[_nghost-%COMP%] ws-page[_ngcontent-%COMP%] mat-sidenav-content[_ngcontent-%COMP%]{-webkit-box-flex:1;-webkit-flex:1;-moz-box-flex:1;-moz-flex:1;-ms-flex:1;flex:1}[_nghost-%COMP%] ws-page[_ngcontent-%COMP%] ws-chart-container[_ngcontent-%COMP%]{height:100%;width:100%}.black [_nghost-%COMP%] ws-page[_ngcontent-%COMP%]{background:#212121}"],data:{animation:[re("openClose",[ae("* => *",[G("10ms ease-out",U({opacity:0})),G("600ms ease-in",U({opacity:1}))])])]},changeDetection:0})}}return e})();var Qe=[{path:"chart/:stock/:key",component:ke,resolve:{auth:d,stock:T}},{path:`live/:${X.course}/:key`,component:Y,resolve:{auth:d}},{path:`:${X.course}/:key`,component:Y,resolve:{auth:d}}],Le=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=L({type:e})}static{this.\u0275inj=O({imports:[W.forChild(Qe),W]})}}return e})();var mi=(()=>{class e{static{this.\u0275fac=function(i){return new(i||e)}}static{this.\u0275mod=L({type:e})}static{this.\u0275inj=O({providers:[d,T],imports:[ne,Ce,he,Le,we,be,xe]})}}return e})();export{mi as MobileEmbedModule}; 2 3//# chunkId=01a0d02e-bd7d-7121-8335-459b601f4786
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.