1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6767],{26767:(An,A,c)=>{c.r(A),c.d(A,{AgendaModule:()=>Tn});var p=c(36895),w=c(24006),I=c(76188),Q=c(44466),_=c(6420),u=c(4258),n=c(94650),M=c(71745),F=c(71884),L=c(4128),l=c(89653),r=c(78294),b=c(39300),C=c(18505),x=c(63900),f=c(54004),$=c(4326),y=c(95698),B=c(82587),O=c(10493),v=c(55374),J=c(98443),N=c(59234),U=c(18942),S=c(67194),E=c(17660),P=c(50024),z=c(87819),k=c(6397),T=c(293),H=c(62230),R=c(81801),j=c(21428);const D=["tabsContainer"];function G(e,i){if(1&e&&n._UZ(0,"div",11),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",t.title,n.oJD)}}function K(e,i){if(1&e&&(n._UZ(0,"div",12),n.ALo(1,"dateFormat")),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",n.xi3(1,1,t.date,"shortDate"),n.oJD)}}function W(e,i){if(1&e&&n._UZ(0,"div",13),2&e){const t=n.oxw().$implicit;n.Q6J("innerHTML",t.description,n.oJD)}}function X(e,i){if(1&e){const t=n.EpF();n.TgZ(0,"div",14),n.NdJ("click",function(a){n.CHM(t);const s=n.oxw().$implicit,d=n.oxw(2);return n.KtG(d.openLive(a,s.live[0]))}),n._UZ(1,"ion-icon",15),n.TgZ(2,"span"),n._uU(3),n.qZA()()}if(2&e){const t=n.oxw().$implicit;n.xp6(3),n.Oqu(t.liveButtonSection)}}function V(e,i){if(1&e){const t=n.EpF();n.ynx(0),n.TgZ(1,"div",5),n.NdJ("click",function(){const s=n.CHM(t).$implicit,d=n.oxw(2);return n.KtG(d.selectTab(s))}),n.TgZ(2,"div",6),n.YNc(3,G,1,1,"div",7),n.YNc(4,K,2,4,"div",8),n.YNc(5,W,1,1,"div",9),n.qZA(),n.YNc(6,X,4,1,"div",10),n.qZA(),n.BQk()}if(2&e){const t=i.$implicit,o=n.oxw().ngIf;n.xp6(1),n.ekj("ended",t.ended)("current",t._id===o),n.uIk("id",t._id),n.xp6(2),n.Q6J("ngIf",t.title),n.xp6(1),n.Q6J("ngIf",t.date),n.xp6(1),n.Q6J("ngIf",t.description),n.xp6(1),n.Q6J("ngIf",t.live.length>0&&t.liveButtonSection)}}function q(e,i){if(1&e&&(n.ynx(0),n.TgZ(1,"div",3),n.YNc(2,V,7,9,"ng-container",4),n.qZA(),n.BQk()),2&e){const t=n.oxw();n.xp6(2),n.Q6J("ngForOf",t.tabs)}}function nn(e,i){1&e&&n._UZ(0,"ui-loader")}let tn=(()=>{class e extends M.C{constructor(t,o,a){super(),this.activatedRoute=t,this.router=o,this.store=a}ngOnInit(){this.selectedTabId$=this.store.pipe((0,l.Ys)(r.fn.selectedTabId(this.reference)))}selectTab(t){this.router.navigate(["./",{...this.reference===r.AJ.Child?this.activatedRoute.snapshot.params:{},[this.reference]:t._id}],{relativeTo:this.activatedRoute}),(0,H.zT)(this.tabsContainer.nativeElement,document.getElementById(t._id),null,"center")}openLive(t,o){t.stopPropagation(),this.router.navigate(["./live",{tab:o}])}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(u.gz),n.Y36(u.F0),n.Y36(l.yh))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-agenda-tabs"]],viewQuery:function(t,o){if(1&t&&n.Gf(D,5),2&t){let a;n.iGM(a=n.CRH())&&(o.tabsContainer=a.first)}},inputs:{reference:"reference",tabs:"tabs"},features:[n.qOj],decls:6,vars:7,consts:[["tabsContainer",""],[4,"ngIf","ngIfElse"],["loading",""],[1,"tabs"],[4,"ngFor","ngForOf"],[1,"tab",3,"click"],[1,"info"],["class","title","appSpoiler","",3,"innerHTML",4,"ngIf"],["class","date","appSpoiler","",3,"innerHTML",4,"ngIf"],["class","description","appSpoiler","",3,"innerHTML",4,"ngIf"],["class","live",3,"click",4,"ngIf"],["appSpoiler","",1,"title",3,"innerHTML"],["appSpoiler","",1,"date",3,"innerHTML"],["appSpoiler","",1,"description",3,"innerHTML"],[1,"live",3,"click"],["name","play"]],template:function(t,o){if(1&t&&(n.TgZ(0,"div",null,0),n.YNc(2,q,3,1,"ng-container",1),n.ALo(3,"async"),n.qZA(),n.YNc(4,nn,1,0,"ng-template",null,2,n.W1O)),2&t){const a=n.MAs(5);n.Gre("tabs-container tabs-",o.reference,""),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,5,o.selectedTabId$))("ngIfElse",a)}},dependencies:[p.sg,p.O5,_.gu,R.z,T.R,p.Ov,j.E],styles:["[_nghost-%COMP%]{--agenda-tabs-scrollbar-track-background-d: var(--agenda-tabs-scrollbar-track-background, #dde9ff);--agenda-tabs-scrollbar-thumb-background-d: var(--agenda-tabs-scrollbar-thumb-background, var(--ion-color-primary));--agenda-tab-border-radius-d: var(--agenda-tab-border-radius, 10px);--agenda-tab-border-color-d: var(--agenda-tab-border-color, var(--ion-color-primary));--agenda-tab-border-width-d: var(--agenda-tab-border-width, 0);--agenda-tab-color-d: var(--agenda-tab-color, #222222);--agenda-tab-parent-background-d: var(--agenda-tab-parent-background, #dde9ff);--agenda-tab-child-background-d: var(--agenda-tab-child-background, #dde9ff);--agenda-tab-current-border-color-d: var(--agenda-tab-current-border-color, var(--ion-color-primary));--agenda-tab-current-color-d: var(--agenda-tab-current-color, #ffffff);--agenda-tab-current-background-d: var(--agenda-tab-background-current, var(--ion-color-primary));--agenda-tab-live-color-d: var(--agenda-tab-live-color, #ffffff);--agenda-tab-live-background-d: var(--agenda-tab-live-background, var(--ion-color-danger))}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%]{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px;height:5px}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:var(--agenda-tabs-scrollbar-track-background-d)}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{border-radius:20px;background-color:var(--agenda-tabs-scrollbar-thumb-background-d)}
1[_nghost-%COMP%] .tabs-container.tabs-parent[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{background:var(--agenda-tab-parent-background-d)}[_nghost-%COMP%] .tabs-container.tabs-child[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{background:var(--agenda-tab-child-background-d)}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%]{width:max-content;padding:8px 0;display:flex;justify-content:flex-start;align-items:stretch;overflow:hidden}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]{margin-right:8px;color:var(--agenda-tab-color-d);cursor:pointer;overflow:hidden;-webkit-user-select:none;user-select:none;display:grid;grid-template-rows:1fr min-content;align-items:start;transition:transform .2s;border-radius:var(--agenda-tab-border-radius-d);border-width:var(--agenda-tab-border-width-d);border-style:solid;border-color:var(--agenda-tab-border-color-d)}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]:last-child{margin-right:0}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab.ended[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab.current[_ngcontent-%COMP%]{opacity:1;color:var(--agenda-tab-current-color-d);border-color:var(--agenda-tab-current-border-color-d);background:var(--agenda-tab-current-background-d)}@media (hover: hover){[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%]:hover{transform:translateY(-2px)}}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{padding:12px;display:grid;grid-template-columns:max-content min-content;grid-template-rows:1fr max-content;align-items:end}@media (max-width: 480px){[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .info[_ngcontent-%COMP%]{padding:8px}}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:16px;font-weight:500}@media (max-width: 480px){[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{font-size:14px}}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .date[_ngcontent-%COMP%]{padding-left:24px;font-size:14px;opacity:.8}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .info[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{grid-column:span 2;padding-top:8px;font-size:12px}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .live[_ngcontent-%COMP%]{padding:8px 12px;display:flex;justify-content:flex-start;align-items:center;color:var(--agenda-tab-live-color-d);background:var(--agenda-tab-live-background-d)}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .live[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{font-size:12px}[_nghost-%COMP%] .tabs-container[_ngcontent-%COMP%] .tabs[_ngcontent-%COMP%] .tab[_ngcontent-%COMP%] .live[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:8px;font-size:12px}"],changeDetection:0}),e})();function en(e,i){if(1&e&&(n.TgZ(0,"ion-select-option",8),n._uU(1),n.qZA()),2&e){const t=i.$implicit;n.Q6J("value",t),n.xp6(1),n.Oqu(t)}}const on=function(){return{alignment:"end",cssClass:"popover-context-menu"}};function an(e,i){if(1&e){const t=n.EpF();n.TgZ(0,"ion-item",6)(1,"ion-label"),n._uU(2),n.qZA(),n.TgZ(3,"ion-select",7),n.NdJ("ionChange",function(a){n.CHM(t);const s=n.oxw(2).ngIf,d=n.oxw();return n.KtG(d.toggleLocationFilter(s._id,a))}),n.TgZ(4,"ion-select-option",8),n._uU(5),n.ALo(6,"translate"),n.qZA(),n.YNc(7,en,2,2,"ion-select-option",9),n.qZA()()}if(2&e){const t=n.oxw().ngIf,o=n.oxw(2);n.xp6(2),n.hij(" ",o.config.locations.text," "),n.xp6(1),n.Q6J("interface","popover")("interfaceOptions",n.DdM(9,on))("value",null),n.xp6(1),n.Q6J("value",null),n.xp6(1),n.Oqu(n.lcZ(6,7,"phrases.notSelected")),n.xp6(2),n.Q6J("ngForOf",t)}}function cn(e,i){if(1&e&&(n.ynx(0),n.YNc(1,an,8,10,"ion-item",5),n.BQk()),2&e){const t=i.ngIf,o=n.oxw(2);n.xp6(1),n.Q6J("ngIf",t.length>1&&o.config.locations.available)}}function rn(e,i){if(1&e){const t=n.EpF();n.TgZ(0,"ui-button",10),n.NdJ("onClick",function(){n.CHM(t);const a=n.oxw().ngIf,s=n.oxw();return n.KtG(s.downloadAgenda(a.pdf,a.title))}),n.TgZ(1,"span"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n._UZ(4,"ion-icon",11),n.qZA()}2&e&&(n.Q6J("clear",!0)("size","small"),n.xp6(2),n.Oqu(n.lcZ(3,3,"phrases.downloadAgenda")))}function sn(e,i){1&e&&n._UZ(0,"ion-icon",14)}function dn(e,i){1&e&&n._UZ(0,"ion-icon",15)}function ln(e,i){if(1&e){const t=n.EpF();n.TgZ(0,"ui-button",10),n.NdJ("onClick",function(){n.CHM(t);const a=n.oxw().ngIf,s=n.oxw();return n.KtG(s.toggleFavoritesFilter(a._id))}),n.TgZ(1,"span"),n._uU(2),n.ALo(3,"translate"),n.qZA(),n.YNc(4,sn,1,0,"ion-icon",12),n.YNc(5,dn,1,0,"ion-icon",13),n.qZA()}if(2&e){const t=n.oxw().ngIf;
1n.Q6J("clear",!0)("size","small"),n.xp6(2),n.Oqu(n.lcZ(3,5,"words.favorites")),n.xp6(2),n.Q6J("ngIf",t.favoritesFilter),n.xp6(1),n.Q6J("ngIf",!t.favoritesFilter)}}function gn(e,i){if(1&e&&(n.ynx(0),n.TgZ(1,"div",2),n.YNc(2,cn,2,1,"ng-container",3),n.ALo(3,"async"),n.YNc(4,rn,5,5,"ui-button",4),n.YNc(5,ln,6,7,"ui-button",4),n.qZA(),n.BQk()),2&e){const t=i.ngIf,o=n.oxw();n.xp6(2),n.Q6J("ngIf",n.lcZ(3,3,o.locationList$)),n.xp6(2),n.Q6J("ngIf",t.pdf),n.xp6(1),n.Q6J("ngIf",o.config.favorites.available)}}function pn(e,i){1&e&&n._UZ(0,"ui-loader")}let _n=(()=>{class e extends M.C{constructor(t,o){super(),this._fileService=t,this._store=o}ngOnInit(){this.locationList$=this.selectedTab$.pipe((0,f.U)(t=>t.content),(0,x.w)(t=>this._store.pipe((0,l.Ys)(v.i_.contents(t)))),(0,O.IC)(()=>[this._store.pipe((0,l.Ys)(v.i_.componentElementsById(J.d.Sessions)))]),(0,f.U)(([t,o])=>{const a=new Set;return t.forEach(s=>s.sessions.forEach(d=>{const g=o[d].location.trim();g&&a.add(g)})),[...a]}))}downloadAgenda(t,o){this._fileService.downloadFile(t,o)}toggleFavoritesFilter(t){this._store.dispatch(r.bu.favoritesFilterToggle({id:t}))}toggleLocationFilter(t,o){this._store.dispatch(r.bu.locationFilterSet({id:t,location:o.detail.value}))}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(P.Ip),n.Y36(l.yh))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-agenda-tools"]],inputs:{config:"config",selectedTab$:"selectedTab$"},features:[n.qOj],decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["loading",""],[1,"tools-container"],[4,"ngIf"],["class","button",3,"clear","size","onClick",4,"ngIf"],["class","default location","lines","none","aria-label","",4,"ngIf"],["lines","none","aria-label","",1,"default","location"],[3,"interface","interfaceOptions","value","ionChange"],[3,"value"],[3,"value",4,"ngFor","ngForOf"],[1,"button",3,"clear","size","onClick"],["name","download-outline"],["name","bookmark",4,"ngIf"],["name","bookmark-outline",4,"ngIf"],["name","bookmark"],["name","bookmark-outline"]],template:function(t,o){if(1&t&&(n.YNc(0,gn,6,5,"ng-container",0),n.ALo(1,"async"),n.YNc(2,pn,1,0,"ng-template",null,1,n.W1O)),2&t){const a=n.MAs(3);n.Q6J("ngIf",n.lcZ(1,2,o.selectedTab$))("ngIfElse",a)}},dependencies:[p.sg,p.O5,_.gu,_.Ie,_.Q$,_.t9,_.n0,_.QI,k.r,T.R,p.Ov,I.X$],styles:["[_nghost-%COMP%]{--agenda-tools-select-border-radius-d: var(--agenda-tools-select-border-radius, 10px);--agenda-tools-select-border-color-d: var(--agenda-tools-select-border-color, var(--ion-color-primary));--agenda-tools-select-color-d: var(--agenda-tools-select-color, var(--ion-color-primary));--agenda-tools-select-background-d: var(--agenda-tools-select-background, #ffffff);--agenda-tools-button-color-d: var(--agenda-tools-button-color, var(--ion-color-primary))}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .location[_ngcontent-%COMP%]{--min-height: 42px;--max-height: 42px;--border-radius: var(--agenda-tools-select-border-radius-d);--border-color: var(--agenda-tools-select-border-color-d);--color: var(--agenda-tools-select-color-d);--background: var(--agenda-tools-select-background-d);margin:8px 0;flex-grow:1;font-size:14px}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .location.item-has-focus[_ngcontent-%COMP%], [_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .location.item-has-value[_ngcontent-%COMP%]{--border-color: var(--agenda-tools-select-border-color-d)}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .location[_ngcontent-%COMP%] ion-select[_ngcontent-%COMP%]{width:auto}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .button[_ngcontent-%COMP%]{--button-color: var(--agenda-tools-button-color-d);margin:8px 0 8px 16px;padding:5px}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}@media (max-width: 480px){[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{margin-left:8px;font-size:20px}@media (max-width: 720px){[_nghost-%COMP%] .tools-container[_ngcontent-%COMP%] .button[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{margin-left:0}}"],changeDetection:0}),e})();const bn=["liveButton"];function fn(e,i){if(1&e){const t=n.EpF();
1n.TgZ(0,"div",7),n.NdJ("click",function(){n.CHM(t);const a=n.oxw(2);return n.KtG(a.open())}),n._UZ(1,"img",8),n.qZA()}if(2&e){const t=n.oxw(2);n.xp6(1),n.Q6J("src",t.banner.image,n.LSH)}}function un(e,i){if(1&e&&n._UZ(0,"app-agenda-tabs",10),2&e){const t=n.oxw().ngIf,o=n.oxw().ngIf,a=n.oxw();n.ekj("hidden",1===t.length&&o.parent.hideWhenTabAlone),n.Q6J("reference",a.EAgendaTabsType.Parent)("tabs",t)}}function Cn(e,i){if(1&e&&(n.ynx(0),n.YNc(1,un,1,4,"app-agenda-tabs",9),n.BQk()),2&e){const t=i.ngIf;n.xp6(1),n.Q6J("ngIf",t.length>0)}}function hn(e,i){if(1&e&&n._UZ(0,"app-agenda-tabs",10),2&e){const t=n.oxw().ngIf,o=n.oxw().ngIf,a=n.oxw();n.ekj("hidden",1===t.length&&o.child.hideWhenTabAlone),n.Q6J("reference",a.EAgendaTabsType.Child)("tabs",t)}}function vn(e,i){if(1&e&&(n.ynx(0),n.YNc(1,hn,1,4,"app-agenda-tabs",9),n.BQk()),2&e){const t=i.ngIf;n.xp6(1),n.Q6J("ngIf",t.length>0)}}function mn(e,i){if(1&e&&(n.ynx(0),n.TgZ(1,"div",3),n.YNc(2,fn,2,1,"div",4),n.YNc(3,Cn,2,1,"ng-container",1),n.ALo(4,"async"),n.YNc(5,vn,2,1,"ng-container",1),n.ALo(6,"async"),n._UZ(7,"app-agenda-tools",5)(8,"app-constructor",6),n.qZA(),n.BQk()),2&e){const t=i.ngIf,o=n.oxw();n.xp6(2),n.Q6J("ngIf",o.banner),n.xp6(1),n.Q6J("ngIf",n.lcZ(4,8,o.parentTabs$)),n.xp6(2),n.Q6J("ngIf",n.lcZ(6,10,o.childTabs$)),n.xp6(2),n.Q6J("config",t.tools)("selectedTab$",o.selectedChildTab$),n.xp6(1),n.Q6J("contentIds$",o.contentIds$)("contentConfig",t.ui)("topLevel",!0)}}function xn(e,i){if(1&e){const t=n.EpF();n.ynx(0),n.TgZ(1,"ui-button",11,12),n.NdJ("onClick",function(a){const d=n.CHM(t).ngIf,g=n.oxw();return n.KtG(g.openLive(a,d.live[0]))}),n._uU(3),n.qZA(),n.BQk()}if(2&e){const t=i.ngIf;n.xp6(3),n.hij(" ",t.liveButtonFixed," ")}}function Mn(e,i){1&e&&n._UZ(0,"ui-loader")}
1const On=[{path:"",component:(()=>{class e extends M.C{constructor(t,o,a,s,d,g,h){super(),this.activatedRoute=t,this.feedService=o,this.gamingService=a,this.router=s,this.store=d,this.tableService=g,this.loggerService=h,this.EAgendaTabsType=r.AJ}ngOnInit(){this.loggerService.createLog("enter","agenda","").subscribe(),this.initConfig(),this.initTabs(),this.initContent(),this.initLiveButton(),this.initRoutingWatcher(),this.gamingService.addPointsIfAvailable(U.P.PageAgenda).subscribe(),this.tableService.getTable("banner-agenda").subscribe(t=>{this.banner=t.rows[0]})}open(){window.open(this.banner.file)}ngOnDestroy(){super.ngOnDestroy(),this.feedService.resetFeed()}initConfig(){this.config$=this.store.pipe((0,l.Ys)(B.wy.agendaPage),(0,b.h)(t=>!!t&&!!t.source),(0,C.b)(t=>{this.store.dispatch(v.mz.contentLoad({ids:null,reference:t.source}))}))}initContent(){this.contentIds$=this.selectedChildTab$.pipe((0,b.h)(t=>!!t),(0,x.w)(t=>this.store.pipe((0,l.Ys)(v.i_.contents(t.content)),(0,f.U)(o=>({selectedTab:t,contents:o})))),(0,O.IC)(()=>
1[this.store.pipe((0,l.Ys)(N.um.N5)),this.store.pipe((0,l.Ys)(v.i_.componentElementsById(J.d.Sessions)))]),(0,f.U)(([{selectedTab:t,contents:o},a,s])=>o.filter(d=>0===d.sessions.length||!!d.sessions.find(g=>(t.favoritesFilter&&s[g].favorites.includes(a?._id)||!t.favoritesFilter)&&(t.locationFilter&&s[g].location===t.locationFilter||!t.locationFilter))).map(d=>d._id)))}initLiveButton(){this.liveButton$=this.selectedParentTab$.pipe((0,x.w)(t=>this.selectedChildTab$.pipe((0,b.h)(o=>!!o),(0,f.U)(o=>o.live&&o.liveButtonFixed?o:t.live&&t.liveButtonFixed?t:null),(0,F.x)((o,a)=>o?.live[0]===a?.live[0]),(0,C.b)(o=>{this.liveButtonContainer&&this.liveButtonContainer.nativeElement.classList.add("hide")}),(0,$.g)(200),(0,C.b)(o=>{o&&this.liveButtonContainer&&this.liveButtonContainer.nativeElement.classList.remove("hide")}))))}initTabs(){this.store.dispatch(r.bu.tabsLoad({kind:r.AJ.Child})),this.store.dispatch(r.bu.tabsLoad({kind:r.AJ.Parent})),this.selectedParentTab$=this.store.pipe((0,l.Ys)(r.fn.selectedTab(r.AJ.Parent))),this.selectedChildTab$=this.store.pipe((0,l.Ys)(r.fn.selectedTab(r.AJ.Child)),(0,C.b)(t=>{this.feedService.setFeed(t?.feedId)})),this.parentTabs$=this.store.pipe((0,l.Ys)(r.fn.tabs(r.AJ.Parent))),this.childTabs$=this.store.pipe((0,l.Ys)(r.fn.tabs(r.AJ.Child)),(0,O.IC)(()=>[this.selectedParentTab$]),(0,b.h)(([t,o])=>!!o),(0,f.U)(([t,o])=>t.filter(a=>o.tabs.includes(a._id))))}initRoutingWatcher(){this.activatedRoute.params.pipe((0,x.w)(t=>(0,L.D)({childTabs:this.store.pipe((0,l.Ys)(r.fn.tabs(r.AJ.Child)),(0,b.h)(o=>o.length>0),(0,y.q)(1)),parentTabs:this.store.pipe((0,l.Ys)(r.fn.tabs(r.AJ.Parent)),(0,b.h)(o=>o.length>0),(0,y.q)(1))}).pipe((0,f.U)(({childTabs:o,parentTabs:a})=>({params:t,childTabs:o,parentTabs:a})))),(0,C.b)(({params:t,childTabs:o,parentTabs:a})=>this.selectParentTab(t,o,a)),(0,b.h)(({params:t})=>!!t[r.AJ.Parent]),(0,C.b)(({params:t,childTabs:o,parentTabs:a})=>this.selectChildTab(t,o,a)),(0,b.h)(({params:t})=>!!t[r.AJ.Child]),this.untilDestroyed()).subscribe()}openLive(t,o){t.stopPropagation(),this.router.navigate(["./live",{tab:o}])}selectChildTab(t,o,a){const s=t[r.AJ.Parent],d=t[r.AJ.Child]||null;if(d)this.store.dispatch(r.bu.tabSelect({id:d,kind:r.AJ.Child}));else{const g=a.find(m=>m._id===s),h=o.filter(m=>g.tabs.includes(m._id)),Z=h.find(m=>m.current)?._id,Y=h[0]?._id;(Z||Y)&&this.router.navigate(["./",{...this.activatedRoute.snapshot.params,[r.AJ.Child]:Z||Y}],{relativeTo:this.activatedRoute,replaceUrl:!0})}}selectParentTab(t,o,a){const s=t[r.AJ.Parent]||null;if(s)this.store.dispatch(r.bu.tabSelect({id:s,kind:r.AJ.Parent}));else{const d=a.find(h=>h.current)?._id,g=a[0]._id;this.router.navigate(["./",{[r.AJ.Parent]:d||g}],{relativeTo:this.activatedRoute,replaceUrl:!0})}}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(u.gz),n.Y36(S.q),n.Y36(E.h),n.Y36(u.F0),n.Y36(l.yh),n.Y36(P.wm),n.Y36(P.mQ))},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-agenda"]],viewQuery:function(t,o){if(1&t&&n.Gf(bn,5,n.SBq),2&t){let a;n.iGM(a=n.CRH())&&(o.liveButtonContainer=a.first)}},hostAttrs:[1,"scroll"],features:[n.qOj],decls:6,vars:7,consts:[[4,"ngIf","ngIfElse"],[4,"ngIf"],["loading",""],[1,"agenda","scroll"],["class","banner",3,"click",4,"ngIf"],[3,"config","selectedTab$"],[3,"contentIds$","contentConfig","topLevel"],[1,"banner",3,"click"],[3,"src"],[3,"hidden","reference","tabs",4,"ngIf"],[3,"reference","tabs"],[1,"live-button-fixed",3,"onClick"],["liveButton",""]],template:function(t,o){if(1&t&&(n.YNc(0,mn,9,12,"ng-container",0),n.ALo(1,"async"),n.YNc(2,xn,4,1,"ng-container",1),n.ALo(3,"async"),n.YNc(4,Mn,1,0,"ng-template",null,2,n.W1O)),2&t){const a=n.MAs(5);n.Q6J("ngIf",n.lcZ(1,3,o.config$))("ngIfElse",a),n.xp6(2),n.Q6J("ngIf",n.lcZ(3,5,o.liveButton$))}},dependencies:[p.O5,z.y,k.r,T.R,tn,_n,p.Ov],styles:["[_nghost-%COMP%]{--agenda-live-fixed-button-color-d: var(--agenda-live-fixed-button-color, #ffffff);--agenda-live-fixed-button-background-d: var(--agenda-live-fixed-button-background, var(--ion-color-primary));position:relative}[_nghost-%COMP%] .agenda[_ngcontent-%COMP%]{height:100%;padding-right:var(--app-padding);padding-bottom:calc(44px + var(--app-padding) * 2);padding-left:var(--app-padding);display:block;overflow:auto}[_nghost-%COMP%] .agenda[_ngcontent-%COMP%] .banner[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .agenda[_ngcontent-%COMP%] app-agenda-tabs.hidden[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .live-button-fixed[_ngcontent-%COMP%]{--button-color: var(--agenda-live-fixed-button-color-d);--button-background: var(--agenda-live-fixed-button-background-d);position:absolute;bottom:var(--app-padding);left:var(--app-padding);transition:bottom .2s}[_nghost-%COMP%] .live-button-fixed.hide[_ngcontent-%COMP%]{bottom:calc(-44px - var(--app-padding))}@media (max-width: 480px){[_nghost-%COMP%] .live-button-fixed[_ngcontent-%COMP%]{right:var(--app-padding);width:auto}}"],changeDetection:0}),e})()}];let Pn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[u.Bz.forChild(On),u.Bz]}),e})(),Tn=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[p.ez,w.u5,I.aw,_.Pc,Q.m,Pn]}),e})()}}]);
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.