1import{a as Te,b as vt}from"./chunk-LNR7EQ32.js";import{c as De,g as Ct,i as ft}from"./chunk-QIETH6AN.js";import{k as xt}from"./chunk-O3BD2LYL.js";import{a as ht}from"./chunk-ZB44PIZA.js";import"./chunk-YBFQQSLW.js";import{a as y}from"./chunk-XDUT5FQR.js";import{ec as Se,jb as ut,qc as gt}from"./chunk-PXZNPNHI.js";import"./chunk-KWNDGQWR.js";import"./chunk-2ZFY6MCW.js";import"./chunk-KQ7PEKEE.js";import"./chunk-KVMIYEBS.js";import"./chunk-DLHY2JKF.js";import"./chunk-WLMRFXCZ.js";import"./chunk-WN3UI2QV.js";import"./chunk-YVLOHBDK.js";import"./chunk-Z3AXU4EF.js";import"./chunk-TP3A6IN2.js";import"./chunk-XNFXA3ZT.js";import"./chunk-QLTRNXEK.js";import"./chunk-TEFEWVO6.js";import"./chunk-ZB64W4XA.js";import"./chunk-SVABVB5X.js";import"./chunk-CMY6WAF3.js";import"./chunk-FUY7HSJY.js";import"./chunk-JTYXZXFU.js";import"./chunk-7MK6I7GJ.js";import"./chunk-3HFTO6XY.js";import"./chunk-XNSH6ILV.js";import"./chunk-IZKA562T.js";import"./chunk-BROSYERN.js";import"./chunk-Y2KCFOCP.js";import"./chunk-Z52L74DH.js";import{b as Z}from"./chunk-4D5SN44G.js";import"./chunk-FSUBAQYH.js";import{a as pt}from"./chunk-7CVCGK4Q.js";import"./chunk-B6LCWWQX.js";import"./chunk-HYGNXZJR.js";import"./chunk-B6XXRKU5.js";import"./chunk-6Q5DDO7R.js";import"./chunk-RW2MVE4O.js";import"./chunk-3ZVRFUA4.js";import"./chunk-H4PCL6BZ.js";import"./chunk-NXTJBJRP.js";import"./chunk-U22BTVEZ.js";import{$f as lt,Cc as Xe,Ec as fe,Gb as Je,Gc as Ze,Hc as et,Ia as qe,Ig as mt,Kg as dt,Mb as Ce,Sc as tt,Ve as ot,Wc as nt,Xf as at,_f as rt,ag as st,bg as ct,d as pe,jc as Qe,k as ue,kh as _t,le as ve,qg as be,va as Ke,ve as it,xb as he}from"./chunk-X5J6QTCG.js";import{$ as se,$a as _,$e as We,Ad as Pe,Db as j,Fa as c,Fb as z,Ib as e,Jb as R,Ka as g,Kb as D,Lb as H,Lc as me,Lh as Ye,Ma as k,Na as ce,Pi as T,Qb as M,Rb as O,Sa as S,Sb as F,Sc as de,U as le,Ve as Re,Wc as _e,Xa as ee,Ye as Ee,Yi as Ue,Ze as $e,Zi as Ge,_e as Ne,ad as Be,af as ie,bb as p,be as xe,bg as He,cc as te,cf as je,d as G,db as P,dc as L,df as ze,eb as E,ec as ne,fa as v,fb as I,fc as ke,ga as b,gb as d,hb as i,ib as o,jb as u,k as W,lc as $,nb as ye,nc as N,ob as we,pb as K,pf as Y,pj as B,qb as w,qc as q,ri as X,sb as f,tb as m,u as A,vd as V,wd as ge,xd as J,ya as Ve,yd as Q,zd as Ae}from"./chunk-SMW7PHYX.js";import{a as Fe,b as Le}from"./chunk-BMIYOSOG.js";function Mt(t,r){if(t&1&&(e(0,` 2 `),u(1,"app-team-banner",2),e(2,` 3`)),t&2){let n=m();c(),d("eyebrowText",n.clubName)("headerText",n.programName)}}var bt=(()=>{let r=class r{constructor(l,a,s,x,h){this.siteDataService=l,this.route=a,this.router=s,this.programService=x,this.leagueService=h,this.unsubscribe$=new G,this.loading=!0}ngOnInit(){this.route.params.subscribe(l=>{this.programID=+l.programID,this.programID!==this.leagueService.programID&&(this.leagueService.programID=this.programID,this.leagueService.leagueSettings=void 0),A({settings:this.leagueService.getLeagueSettings(this.programID),program:this.programService.getProgram(this.programID),clubSettings:this.siteDataService.getClubSettings()}).subscribe({next:a=>{this.leagueService.leagueSettings=a.settings,this.programName=a.program.name,this.siteDataService.hideSiteLoader(),this.clubName=a.clubSettings?.club?.name}})})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};r.\u0275fac=function(a){return new(a||r)(g(B),g(V),g(J),g(Se),g(y))},r.\u0275cmp=k({type:r,selectors:[["ng-component"]],standalone:!1,decls:12,vars:1,consts:[[1,"container-fluid"],[1,"ml-0","pl-0"],[3,"eyebrowText","headerText"]],template:function(a,s){a&1&&(_(0,Mt,3,2),i(1,"main"),e(2,` 4 `),i(3,"div",0),e(4,` 5 `),i(5,"div",1),e(6,` 6 `),u(7,"router-outlet"),e(8,` 7 `),o(),e(9,` 8 `),o(),e(10,` 9`),o(),e(11,` 10`)),a&2&&p(s.clubName||s.programName?0:-1)},dependencies:[ge,at],styles:[".team-toggle[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:var(--blue-1000);padding:0}.team-toggle[_ngcontent-%COMP%]:after{color:var(--primary-link)}.tab-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{min-width:7rem;display:inline-block;text-align:center}.alt-color[_ngcontent-%COMP%]{color:var(--theme-banner-background-contrast);
10opacity:70%}.alt-colora[_ngcontent-%COMP%]:hover{color:var(--theme-banner-background-contrast);opacity:100%}.back-btn[_ngcontent-%COMP%]{position:absolute;top:1rem}.back-btn[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--theme-banner-background-contrast)}"]});let t=r;return t})();var Rt=()=>({"max-height":"400px","max-width":"250px"}),St=(t,r)=>["/team",t,"program",r,"overview"],Dt=t=>({navigationTeamID:t}),$t=t=>({"border-bottom":t});function Nt(t,r){if(t&1){let n=w();e(0,` 11 `),i(1,"div"),e(2,` 12 `),i(3,"a",28),f("click",function(){v(n);let a=m();return b(a.showSubscribeModal=!0)}),e(4,` 13 `),u(5,"i",29),e(6,` 14 Subscribe`),o(),e(7,` 15 `),o(),e(8,` 16 `)}}function Wt(t,r){t&1&&(e(0,` 17 `),i(1,"div",30),e(2,"\xA0"),o(),e(3,` 18 `))}function jt(t,r){if(t&1&&(e(0,` 19 `),i(1,"span",34),e(2),o(),e(3,` 20 `)),t&2){let n=r.$implicit;c(2),R(n.name)}}function zt(t,r){if(t&1){let n=w();e(0,` 21 `),i(1,"div",5),e(2,` 22 TEAMS 23 `),o(),e(3,` 24 `),i(4,"div",31),e(5,` 25 `),i(6,"p-listbox",32),F("ngModelChange",function(a){v(n);let s=m();return O(s.selectedTeams,a)||(s.selectedTeams=a),b(a)}),f("onChange",function(){v(n);let a=m();return b(a.getEvents())}),e(7,` 26 `),S(8,jt,4,1,"ng-template",33),e(9,` 27 `),o(),e(10,` 28 `),o(),e(11,` 29 `)}if(t&2){let n=m();c(6),d("options",n.selectedPool==null?null:n.selectedPool.teams),M("ngModel",n.selectedTeams),d("multiple",!0)("checkbox",!0)("showToggleAll",!0)("filter",!1)("listStyle",te(7,Rt))}}function Ht(t,r){if(t&1){let n=w();e(0,` 30 `),i(1,"p-datepicker",35),F("ngModelChange",function(a){v(n);let s=m();return O(s.currentDate,a)||(s.currentDate=a),b(a)}),f("onSelect",function(a){v(n);let s=m(),x=j(51);return s.goToDate(a),b(x.hide())}),o(),e(2,` 31 `)}if(t&2){let n=m();c(),M("ngModel",n.currentDate),d("inline",!0)}}function Yt(t,r){if(t&1&&(e(0),$(1,"date")),t&2){let n=m();D(` 32 `,N(1,1,n.currentDate,"EEEE, MMMM d"),` 33 `)}}function Ut(t,r){if(t&1&&(e(0),$(1,"date"),$(2,"date")),t&2){let n=m();H(` 34 `,N(1,2,n.currentStartDate,"E, MMM d")," - ",N(2,5,n.currentEndDate,"E, MMM d"),` 35 `)}}function Gt(t,r){if(t&1&&(e(0),$(1,"date"),$(2,"date")),t&2){let n=m();H(` 36 `,N(1,2,n.currentStartDate,"E, MMM d")," - ",N(2,5,n.currentEndDate,"E, MMM d"),` 37 `)}}function Kt(t,r){if(t&1&&(e(0,` 38 `),i(1,"tr"),e(2,` 39 `),i(3,"th",36),e(4,` 40 Time `),u(5,"p-sortIcon",37),e(6,` 41 `),o(),e(7,` 42 `),i(8,"th",38),e(9,` 43 Home Team `),u(10,"p-sortIcon",37),e(11,` 44 `),o(),e(12,` 45 `),i(13,"th",39),e(14,` 46 Result 47 `),o(),e(15,` 48 `),i(16,"th",36),e(17,` 49 Away Team `),u(18,"p-sortIcon",37),e(19,` 50 `),o(),e(20,` 51 `),i(21,"th",36),e(22,` 52 Location `),u(23,"p-sortIcon",37),e(24,` 53 `),o(),e(25,` 54 `),o(),e(26,` 55 `)),t&2){let n=m();c(3),d("pSortableColumn","startDate"),ee("aria-label",n.AriaLabels.ACTIVATE_SORT),c(2),d("field","startDate"),c(3),d("pSortableColumn","team.name"),ee("aria-label",n.AriaLabels.ACTIVATE_SORT),c(2),d("field","team.name"),c(6),d("pSortableColumn","opponentTeam.name"),ee("aria-label",n.AriaLabels.ACTIVATE_SORT),c(2),d("field","opponentTeam.name"),c(3),d("pSortableColumn","location.name"),ee("aria-label",n.AriaLabels.ACTIVATE_SORT),c(2),d("field","location.name")}}function qt(t,r){if(t&1&&(e(0,` 56 `),i(1,"span"),e(2),$(3,"date"),o(),e(4,` 57 `)),t&2){let n=m().$implicit;c(2),R(N(3,1,n.startDate,"E M/d h:mm a"))}}function Jt(t,r){if(t&1&&(e(0,` 58 `),u(1,"app-score-display",46),e(2,` 59 `)),t&2){let n=r.$implicit;c(),d("gameResult",n)}}function Qt(t,r){if(t&1&&(e(0,` 60 `),i(1,"div"),e(2,` 61 `),E(3,Jt,3,1,null,null,P),o(),e(5,` 62 `)),t&2){let n=m().$implicit;c(3),I(n.gameResults)}}function Xt(t,r){if(t&1&&(e(0,` 63 `),i(1,"tr"),e(2,` 64 `),i(3,"td"),_(4,qt,5,4),o(),e(5,` 65 `),i(6,"td",40),e(7,` 66 `),i(8,"a",41),e(9,` 67 `),i(10,"span",42),e(11),o(),e(12,` 68 `),u(13,"app-team-logo",43),e(14,` 69 `),o(),e(15,` 70 `),o(),e(16,` 71 `),i(17,"td",39),e(18,` 72 `),_(19,Qt,6,0),o(),e(20,` 73 `),i(21,"td"),e(22,` 74 `),i(23,"a",44),e(24,` 75 `),u(25,"app-team-logo",43),e(26,` 76 `),i(27,"span",45),e(28),o(),e(29,` 77 `),o(),e(30,` 78 `),o(),e(31,` 79 `),i(32,"td"),e(33),o(),e(34,` 80 `),o(),e(35,` 81 `)),t&2){let n=r.$implicit;c(4),p(n.startDate?4:-1),c(4),d("routerLink",ne(12,St,n==null?null:n.teamID,n==null?null:n.programID))("queryParams",L(15,Dt,n.teamID)),c(3),D(` 82 `,n.team==null?null:n.team.name,` 83 `),c(2),d("logo",n.team==null?null:n.team.logo),c(6),p(n.gameResults.length>0?19:-1),c(4),d("routerLink",ne(17,St,n==null?null:n.opponentTeamID,n==null?null:n.programID))("queryParams",L(20,Dt,n.opponentTeamID)),c(2),d("logo",n==null||n.opponentTeam==null?null:n.opponentTeam.logo),c(3),D(` 84 `,n==null||n.opponentTeam==null?null:n.opponentTeam.name,` 85 `),c(5),H("",n.location==null?null:n.location.name,"",n.facilityField!=null&&n.facilityField.fieldName?", "+(n.facilityField==null?null:n.facilityField.fieldName):"")}}function Zt(t,r){if(t&1){let n=w();e(0,` 86 `),i(1,"div",47),e(2,` 87 `),i(3,"div",48)(4,"strong"),e(5),o()(),e(6,` 88 `),i(7,"div",49),e(8,` 89 `),i(9,"button",50),f("cdkCopyToClipboardCopied",function(){v(n);let a=m();return b(a.copyToClipboardSuccess())}),e(10,"Copy Link to Clipboard"),o(),e(11,` 90 `),i(12,"button",51),f("click",function(){let a=v(n).$implicit,s=m();return b(s.subscribeCalendar(a))}),e(13,"Subscribe"),o(),e(14,` 91 `),o(),e(15,` 92 `),o(),e(16,` 93 `)}if(t&2){let n=r.$implicit,l=r.$index,a=r.$count,s=m();c(),d("ngClass",L(3,$t,l!==a-1)),c(4),R(n.name),c(4),d("cdkCopyToClipboard",s.getCalendarURL(n))}}function en(t,r){if(t&1){let n=w();e(0,` 94 `),i(1,"app-dialog-footer"),e(2,` 95 `),ye(3,52),e(4,` 96 `),i(5,"button",53),f("click",function(){v(n);let a=m();return b(a.showSubscribeModal=!1)}),e(6,"Close"),o(),e(7,` 97 `),we(),e(8,` 98 `),ye(9,54),e(10,` 99 `),we(),e(11,` 100 `),o(),e(12,` 101 `)}}var Me=(()=>
101{let r=class r{constructor(l,a,s,x,h){this.siteDataService=l,this.route=a,this.router=s,this.leagueService=x,this.clubCalendarService=h,this.loading=!0,this.CalendarEventType=X,this.selectAllTeams=!1,this.AriaLabels=He,this.isToday=!0,this.today=new Date,this.CalendarView=T,this.currentView=T.MONTH,this.selectedCalendarView=T.MONTH,this.calendarViewOptions=[{label:"Month",value:T.MONTH},{label:"Week",value:T.WEEK},{label:"Day",value:T.DAY}],this.showSubscribeModal=!1;let C=this.router.getCurrentNavigation()??this.router.lastSuccessfulNavigation();C?.extras.state?.teamID&&(this.teamID=+C?.extras.state.teamID),C?.extras.state?.selectAllTeams&&(this.selectAllTeams=!0)}ngOnInit(){this.route.parent.params.subscribe(l=>{this.programID=+this.route.snapshot.parent.parent.params.programID,this.selectedDivisionID=+l.divisionID,this.selectedSeriesID=+l.seriesID,this.selectedPoolID=+l.poolID,A({divisions:this.leagueService.getDivisions(this.programID),divisionsTree:this.leagueService.getDivisionsTree(this.programID),firstDate:this.leagueService.getLeagueFirstGameDate(this.programID),series:this.selectedDivisionID?this.leagueService.getSeries(this.selectedDivisionID):W(null),pools:this.selectedSeriesID?this.leagueService.getPools(this.selectedSeriesID):W(null),club:this.siteDataService.getClub()}).subscribe(a=>{this.divisions=a.divisions,this.divisionsTree=a.divisionsTree,a.firstDate&&new Date(a.firstDate)>new Date?this.setDates(new Date(a.firstDate)):this.setDates(new Date),this.divisions.unshift({label:"All Divisions",value:null}),a.series&&(this.series=a.series,this.series.unshift({label:"Select a Season",value:null})),a.pools&&(this.pools=a.pools,this.poolsDropdown=a.pools.map(s=>({label:s.name,value:s.poolID})),this.poolsDropdown.unshift({label:"Select a Pool",value:null}),this.selectedPool=this.pools.find(s=>s.poolID===this.selectedPoolID),this.teamID?this.selectedTeams=this.selectedPool.teams.filter(s=>s.teamID===this.teamID):this.selectedTeams=void 0,this.selectAllTeams&&(this.selectedTeams=this.selectedPool.teams.filter(s=>s.teamID))),a.club&&(this.clubID=a.club.clubID),a.club&&(this.clubID=a.club.clubID),this.getEvents(),this.siteDataService.hideSiteLoader()})}),this.siteDataService.getEnvironment().subscribe(l=>{this.environment=l})}getEvents(){let l=this.selectedTeams?.length?this.selectedTeams.map(a=>a.teamID):this.getDivisionOrSeriesTeamIDs();this.clubCalendarService.getCalendarEvents({start:this.currentStartDate,end:this.currentEndDate,programID:[this.programID],teamID:l,poolID:this.selectedPoolID||void 0,allTeams:!this.selectedDivisionID&&!this.selectedPoolID&&!this.selectedTeams?.length}).subscribe(a=>{this.events=a.events.map(s=>s.clubCalendarEvent),this.loading=!1,this.siteDataService.hideSiteLoader()})}getDivisionOrSeriesTeamIDs(){if(!this.selectedPoolID){if(this.selectedSeriesID)return(this.pools??[]).flatMap(l=>l.teams?.map(a=>a.teamID)??[]);if(this.selectedDivisionID)return(this.divisionsTree?.find(a=>a.divisionID===this.selectedDivisionID)?.series??[]).flatMap(a=>(a.pools??[]).flatMap(s=>s.teams?.map(x=>x.teamID)??[]))}}goToday(){this.setDates(new Date),this.getEvents(),this.checkToday()}getCurrentViewDays(){if(this.currentView===T.DAY)return 1;if(this.currentView===T.WEEK)return 7;Ne(this.currentDate)}goNext(){this.currentView===T.DAY||this.currentView===T.WEEK?this.setDates(ie(this.currentDate,this.currentView===1?7:1)):this.setDates(je(this.currentDate,1)),this.getEvents(),this.checkToday()}goPrevious(){this.currentView===T.DAY||this.currentView===T.WEEK?this.setDates(We(this.currentDate,this.currentView===1?7:1)):this.setDates(ze(this.currentDate,1)),this.getEvents(),this.checkToday()}goToDate(l){this.setDates(Y(new Date(l))),this.getEvents(),this.checkToday()}setDates(l){this.currentView===T.DAY?(this.currentDate=l,this.currentStartDate=l,this.currentEndDate=l):this.currentView===T.WEEK?(this.currentDate=Y(l),this.currentStartDate=Y(this.currentDate),this.currentEndDate=new Date(ie(this.currentDate,6))):(this.currentDate=Ee(l),this.currentStartDate=Ee(this.currentDate),this.currentEndDate=$e(this.currentDate))}checkToday(){this.isToday=!!Re(this.currentDate,this.today)}toggleView(l){this.currentView=l,this.selectedCalendarView=l,this.setDates(this.currentStartDate),this.getEvents(),this.checkToday()}updateSeries(){this.series=null,this.pools=null,this.poolsDropdown=null,this.selectedSeriesID=null,this.selectedPoolID=null,this.selectedPool=null,this.selectedTeam
101s=void 0,this.events=null,this.selectedDivisionID&&this.leagueService.getSeries(this.selectedDivisionID).subscribe({next:l=>{this.series=l,this.series.unshift({label:"Select a Season",value:null})}}),this.getEvents()}updatePools(){this.pools=null,this.poolsDropdown=null,this.selectedPoolID=null,this.selectedPool=null,this.selectedTeams=void 0,this.events=null,this.selectedSeriesID?this.leagueService.getPools(this.selectedSeriesID).subscribe({next:l=>{this.pools=l,this.poolsDropdown=l.map(a=>({label:a.name,value:a.poolID})),this.poolsDropdown.unshift({label:"Select a Pool",value:null}),this.getEvents()}}):this.getEvents()}updateTeams(){this.selectedPool=this.pools.find(l=>l.poolID===this.selectedPoolID),this.selectedTeams=void 0,this.events=null,this.getEvents()}get subscribeTeams(){return this.selectedTeams?.length>0?this.selectedTeams:this.selectedPool?.teams}subscribeCalendar(l){window.location.href=this.getCalendarURL(l).replace("https://","webcal://")}getCalendarURL(l){return Ye(Le(Fe({},l),{clubID:l.clubID??this.clubID}),this.environment===Ke.PROD)}copyToClipboardSuccess(){this.siteDataService.showSiteSuccessAlert("Link copied!")}};r.\u0275fac=function(a){return new(a||r)(g(B),g(V),g(J),g(y),g(ve))},r.\u0275cmp=k({type:r,selectors:[["ng-component"]],standalone:!1,decls:98,vars:23,consts:[["calendarPanel",""],["content",""],[1,"row","mb-3"],[1,"filter-column","col-12","col-md-3","mb-3","max-w-275"],[1,"p-3","border-all","border-radius-sm"],[1,"text-header-5","mb-2"],[1,"mb-3"],["styleClass","full-width","optionLabel","label","optionValue","value","appendTo","body",3,"ngModelChange","onChange","ngModel","options"],["optionLabel","label","styleClass","full-width","optionValue","value","appendTo","body",3,"ngModelChange","onChange","ngModel","options","placeholder"],["optionLabel","label","optionValue","value","appendTo","body","styleClass","full-width",3,"ngModelChange","onChange","ngModel","options","placeholder"],[1,"col-12","mb-3","max-w-rest","zebra-rows"],[1,"row","d-flex","justify-content-between","top-buttons","mb-3","no-gutters","align-items-center"],[1,"col-auto"],[1,"btn-group--legacy"],[1,"btn","btn-tertiary","btn-sm","text-uppercase","px-2","line-height-3","py-1",3,"click"],[1,"btn","btn-tertiary","btn-sm","text-uppercase","px-3","line-height-3","py-1",3,"click"],[1,"fa-regular","fa-calendar"],[1,"col","d-flex","align-items-center","justify-content-center"],[1,"btn","btn-naked--with-hover","btn-sm","btn-tertiary",3,"click"],[1,"fa-regular","fa-arrow-left"],[1,"text-default","d-inline","mx-3","my-0","fw-700"],[1,"fa-regular","fa-arrow-right"],["optionLabel","label","optionValue","value","size","small",1,"text-small","line-height-3","text-uppercase",3,"ngModelChange","onChange","options","allowEmpty","ngModel"],["sortField","startDate",1,"table","table-striped","table-sm",3,"value","alwaysShowPaginator","responsiveLayout"],["pTemplate","header"],["pTemplate","body"],["header","Subscribe","styleClass","standardWidthDialog",3,"visibleChange","visible","modal"],["pTemplate","footer"],[1,"btn","team-calendar-subscribe-link","d-block",3,"click"],[1,"fa-light","fa-calendar-arrow-down","mr-1"],["aria-hidden","true",2,"height","60px"],[1,"border-all","border-radius-sm","p-2","mb-3"],["optionLabel","label","styleClass","border-none",3,"ngModelChange","onChange","options","ngModel","multiple","checkbox","showToggleAll","filter","listStyle"],["pTemplate","teams"],[1,"text-small","line-height-1"],["styleClass","border-none",3,"ngModelChange","onSelect","ngModel","inline"],[3,"pSortableColumn"],[3,"field"],[1,"align-right",3,"pSortableColumn"],[1,"resultsCell","text-center"],[1,"align-right"],[1,"d-flex","align-items-center","justify-content-end","text-primary-link",3,"routerLink","queryParams"],[1,"d-inline-block","mr-2"],[3,"logo"],[1,"d-flex","align-items-center","text-primary-link",3,"routerLink","queryParams"],[1,"d-inline-block","ml-2"],[3,"gameResult"],[1,"row","mb-2","pb-2",3,"ngClass"],[1,"col"],[1,"col-auto","right"],[1,"btn","btn-sm","mr-2",3,"cdkCopyToClipboardCopied","cdkCopyToClipboard"],[1,"btn","btn-sm",3,"click"],["slot","secondary"],[1,"btn",3,"click"],["slot","primary"]],template:function(a,s){if(a&1){let x=w();i(0,"div",2),e(1,` 102 `),i(2,"div",3),e(3,`
103 `),_(4,Nt,9,0)(5,Wt,4,0),i(6,"div",4),e(7,` 104 `),i(8,"div",5),e(9,` 105 DIVISION 106 `),o(),e(10,` 107 `),i(11,"div",6),e(12,` 108 `),i(13,"p-select",7),F("ngModelChange",function(C){return v(x),O(s.selectedDivisionID,C)||(s.selectedDivisionID=C),b(C)}),f("onChange",function(){return s.updateSeries()}),o(),e(14,` 109 `),o(),e(15,` 110 111 `),i(16,"div",5),e(17,` 112 SEASON/ROUND 113 `),o(),e(18,` 114 `),i(19,"div",6),e(20,` 115 `),i(21,"p-select",8),F("ngModelChange",function(C){return v(x),O(s.selectedSeriesID,C)||(s.selectedSeriesID=C),b(C)}),f("onChange",function(){return s.updatePools()}),o(),e(22,` 116 `),o(),e(23,` 117 `),i(24,"div",5),e(25,` 118 POOL 119 `),o(),e(26,` 120 `),i(27,"div",6),e(28,` 121 `),i(29,"p-select",9),F("ngModelChange",function(C){return v(x),O(s.selectedPoolID,C)||(s.selectedPoolID=C),b(C)}),f("onChange",function(){return s.updateTeams()}),o(),e(30,` 122 `),o(),e(31,` 123 `),_(32,zt,12,8),o(),e(33,` 124 `),o(),e(34,` 125 126 127 `),i(35,"div",10),e(36,` 128 `),i(37,"div",11),e(38,` 129 `),i(39,"div",12),e(40,` 130 `),i(41,"div",13),e(42,` 131 `),i(43,"button",14),f("click",function(){return s.goToday()}),e(44,"Today"),o(),e(45,` 132 `),i(46,"button",15),f("click",function(C){v(x);let It=j(51);return b(It.toggle(C))}),u(47,"i",16),o(),e(48,` 133 `),o(),e(49,` 134 `),i(50,"p-popover",null,0),e(52,` 135 `),S(53,Ht,3,2,"ng-template",null,1,q),e(55,` 136 `),o(),e(56,` 137 `),o(),e(57,` 138 `),i(58,"div",17),e(59,` 139 `),i(60,"button",18),f("click",function(){return s.goPrevious()}),u(61,"i",19),o(),e(62,` 140 `),i(63,"span",20),e(64,` 141 `),_(65,Yt,2,4),_(66,Ut,3,8),_(67,Gt,3,8),o(),e(68,` 142 143 `),i(69,"button",18),f("click",function(){return s.goNext()}),u(70,"i",21),o(),e(71,` 144 `),o(),e(72,` 145 `),i(73,"div",12),e(74,` 146 `),i(75,"p-selectButton",22),F("ngModelChange",function(C){return v(x),O(s.selectedCalendarView,C)||(s.selectedCalendarView=C),b(C)}),f("onChange",function(C){return s.toggleView(C.value)}),e(76,` 147 `),o(),e(77,` 148 `),o(),e(78,` 149 `),o(),e(79,` 150 151 `),i(80,"p-table",23),e(81,` 152 153 `),S(82,Kt,27,12,"ng-template",24),e(83,` 154 `),S(84,Xt,36,22,"ng-template",25),e(85,` 155 `),o(),e(86,` 156 `),o(),e(87,` 157 `),o(),e(88,` 158 159 `),i(89,"p-dialog",26),F("visibleChange",function(C){return v(x),O(s.showSubscribeModal,C)||(s.showSubscribeModal=C),b(C)}),e(90,` 160 `),i(91,"p"),e(92,`Click the "Subscribe" button to subscribe with iPhone, iPad, Apple iCal or Microsoft Outlook. Alternatively, 161 copy a link to subscribe using your preferred calendar client`),o(),e(93,` 162 163 164 `),E(94,Zt,17,5,null,null,P),S(96,en,13,0,"ng-template",27),e(97,` 165 `),o()}a&2&&(c(4),p((s.selectedPool==null||s.selectedPool.teams==null?null:s.selectedPool.teams.length)>0?4:5),c(9),M("ngModel",s.selectedDivisionID),d("options",s.divisions),c(8),M("ngModel",s.selectedSeriesID),d("options",s.series)("placeholder",s.selectedDivisionID?"Select a Season/Round":"Select a Division"),c(8),M("ngModel",s.selectedPoolID),d("options",s.poolsDropdown)("placeholder",s.selectedDivisionID?"Select a Pool":"Select a Division"),c(3),p(s.selectedPoolID?32:-1),c(11),z("active",s.isToday),c(22),p(s.currentView===s.CalendarView.DAY?65:-1),c(),p(s.currentView===s.CalendarView.WEEK?66:-1),c(),p(s.currentView===s.CalendarView.MONTH?67:-1),c(8),d("options",s.calendarViewOptions)("allowEmpty",!1),M("ngModel",s.selectedCalendarView),c(5),d("value",s.events)("alwaysShowPaginator",!1)("responsiveLayout","scroll"),c(9),M("visible",s.showSubscribeModal),d("modal",!0),c(5),I(s.subscribeTeams))},dependencies:[me,Q,pe,ue,xe,ot,tt,be,fe,Ze,et,Qe,Je,he,mt,dt,Xe,Ue,_e],styles:["[_nghost-%COMP%]{--menu-w: 275px}.team-toggle[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:var(--blue-1000);padding:0}.team-toggle[_ngcontent-%COMP%]:after{color:var(--primary-link)}.tab-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{min-width:7rem;display:inline-block;text-align:center}.filter-column[_ngcontent-%COMP%] p-select>.p-select-label{font-size:var(--text-medium)}@media(min-width:768px){.max-w-275[_ngcontent-%COMP%]{max-width:var(--menu-w)}.max-w-rest[_ngcontent-%COMP%]{max-width:calc(100% - var(--menu-w))}}.input-short[_ngcontent-%COMP%]{width:50px;max-width:unset;text-align:center;font-weight:700}","[_nghost-%COMP%] .filter-column .p-listbox .p-listbox-list .p-listbox-option{dis
165play:flex;align-items:flex-start}[_nghost-%COMP%] .filter-column .p-listbox .p-listbox-list .p-listbox-option span{line-height:1.05rem!important}"]});let t=r;return t})();var Oe=t=>({$implicit:t});function on(t,r){t&1&&K(0)}function an(t,r){if(t&1&&(e(0,` 166 `),i(1,"div",12),e(2,` 167 `),i(3,"span",13),e(4,"Primary"),o(),e(5,` 168 `),S(6,on,1,0,"ng-container",14),e(7,` 169 `),o(),e(8,` 170 `)),t&2){m();let n=j(10),l=m();c(6),d("ngTemplateOutlet",n)("ngTemplateOutletContext",L(2,Oe,l.settings.tiebreak1ID))}}function rn(t,r){t&1&&K(0)}function ln(t,r){if(t&1&&(e(0,` 171 `),i(1,"div",12),e(2,` 172 `),i(3,"span",13),e(4,"Secondary"),o(),e(5,` 173 `),S(6,rn,1,0,"ng-container",14),e(7,` 174 `),o(),e(8,` 175 `)),t&2){m();let n=j(10),l=m();c(6),d("ngTemplateOutlet",n)("ngTemplateOutletContext",L(2,Oe,l.settings.tiebreak2ID))}}function sn(t,r){t&1&&K(0)}function cn(t,r){if(t&1&&(e(0,` 176 `),i(1,"div",12),e(2,` 177 `),i(3,"span",13),e(4,"Fallback"),o(),e(5,` 178 `),S(6,sn,1,0,"ng-container",14),e(7,` 179 `),o(),e(8,` 180 `)),t&2){m();let n=j(10),l=m();c(6),d("ngTemplateOutlet",n)("ngTemplateOutletContext",L(2,Oe,l.settings.tiebreak3ID))}}function mn(t,r){t&1&&(e(0,` 181 `),i(1,"span"),e(2,"Head to Head"),o(),e(3,` 182 `))}function dn(t,r){t&1&&(e(0,` 183 `),i(1,"span"),e(2,"Most Wins"),o(),e(3,` 184 `))}function _n(t,r){t&1&&(e(0,` 185 `),i(1,"span"),e(2,"Fewest Goals Allowed"),o(),e(3,` 186 `))}function pn(t,r){t&1&&(e(0,` 187 `),i(1,"span"),e(2,"Total Goals Scored"),o(),e(3,` 188 `))}function un(t,r){t&1&&(e(0,` 189 `),i(1,"span"),e(2,"Least Losses"),o(),e(3,` 190 `))}function gn(t,r){t&1&&(e(0,` 191 `),i(1,"span"),e(2,"Goal Differential"),o(),e(3,` 192 `))}function xn(t,r){if(t&1&&(e(0,` 193 `),_(1,mn,4,0)(2,dn,4,0)(3,_n,4,0)(4,pn,4,0)(5,un,4,0)(6,gn,4,0),e(7,` 194 `)),t&2){let n,l=r.$implicit,a=m(2);c(),p((n=l)===a.LeagueStandingsTiebreakType.HEAD_TO_HEAD?1:n===a.LeagueStandingsTiebreakType.MOST_WINS?2:n===a.LeagueStandingsTiebreakType.FEWEST_GOALS_ALLOWED?3:n===a.LeagueStandingsTiebreakType.TOTAL_GOALS_SCORED?4:n===a.LeagueStandingsTiebreakType.LEAST_LOSSES?5:n===a.LeagueStandingsTiebreakType.GOAL_DIFFERENTIAL?6:-1)}}function hn(t,r){if(t&1&&(e(0,` 195 `),i(1,"div",10),e(2,` 196 `),i(3,"div",11),e(4,` 197 Tiebreaker Rules 198 `),o(),e(5,` 199 `),_(6,an,9,4),_(7,ln,9,4),_(8,cn,9,4),S(9,xn,8,1,"ng-template",null,0,q),e(11,` 200 `),o(),e(12,` 201 `)),t&2){let n=m();c(6),p(n.settings.tiebreak1ID?6:-1),c(),p(n.settings.tiebreak2ID?7:-1),c(),p(n.settings.tiebreak3ID?8:-1)}}function Cn(t,r){if(t&1&&(e(0,` 202 `),i(1,"div"),e(2,` 203 `),i(3,"app-standings-table",15),e(4,` 204 `),o(),e(5,` 205 `),o(),e(6,` 206 `)),t&2){let n=m(2);c(3),d("standings",n.standings)("settings",n.settings)("programID",n.programID)("clubLeagueSettings",n.clubLeagueSettings)}}function fn(t,r){t&1&&(e(0,` 207 `),i(1,"app-inline-alert",16),e(2,`No standings matching your filters. Try changing your filters to see 208 results.`),o(),e(3,` 209 `)),t&2&&(c(),d("isInline",!0))}function vn(t,r){if(t&1&&(e(0,` 210 `),_(1,Cn,7,4)(2,fn,4,1)),t&2){let n=m();c(),p(n.standings?1:2)}}function bn(t,r){t&1&&(e(0,` 211 `),u(1,"app-skeleton-template",17),e(2,` 212 `)),t&2&&(c(),d("skeletonType","table"))}var Tt=(()=>{let r=class r{constructor(l,a,s){this.siteDataService=l,this.route=a,this.leagueService=s,this.loading=!0,this.CalendarEventType=X,this.LeagueStandingsType=Ct,this.LeagueStandingsTiebreakType=ft}ngOnInit(){this.route.parent.params.subscribe(l=>{this.programID=+this.route.snapshot.parent.parent.params.programID,this.selectedDivisionID=+l.divisionID,this.selectedSeriesID=+l.seriesID,this.selectedPoolID=+l.poolID,A({settings:this.leagueService.getLeagueSettings(this.programID),clubLeagueSettings:this.leagueService.getClubLeagueSettings(),divisions:this.leagueService.getDivisions(this.programID),series:this.selectedDivisionID?this.leagueService.getSeries(this.selectedDivisionID):W(null),pools:this.selectedSeriesID?this.leagueService.getPools(this.selectedSeriesID):W(null),standings:this.selectedPoolID?this.leagueService.getPoolStandings(this.selectedPoolID):W(null)}).subscribe({next:a=>{this.settings=a.settings,this.clubLeagueSettings=a.clubLeagueSettings,this.divisions=a.divisions,this.series=a.series,this.pools=a.pools?.map(s=>({label:s.name,value:s.poolID})),this.standings=a.standings,this.divisions.unshift({label:"Select a Division",value:null}),a.series&&this.series.unshift({label:"Select a Season",value:null}),a.pools&&this.pools.unshift({label:"Select a Pool",value:null}
212),this.loading=!1,this.siteDataService.hideSiteLoader()}})})}updateSeries(){this.series=null,this.pools=null,this.selectedSeriesID=null,this.selectedPoolID=null,this.standings=null,this.selectedDivisionID&&this.leagueService.getSeries(this.selectedDivisionID).subscribe({next:l=>{this.series=l,this.series.unshift({label:"Select a Season",value:null})}})}updatePools(){this.pools=null,this.selectedPoolID=null,this.standings=null,this.selectedSeriesID&&this.leagueService.getPools(this.selectedSeriesID).subscribe({next:l=>{this.pools=l.map(a=>({label:a.name,value:a.poolID})),this.pools.unshift({label:"Select a Pool",value:null})}})}getStandings(){this.standings=null,this.selectedPoolID&&this.leagueService.getPoolStandings(this.selectedPoolID).subscribe({next:l=>{this.standings=l}})}};r.\u0275fac=function(a){return new(a||r)(g(B),g(V),g(y))},r.\u0275cmp=k({type:r,selectors:[["ng-component"]],standalone:!1,decls:37,vars:8,consts:[["tiebreakType",""],[1,"row","full-width","my-4","mb-3"],[1,"filter-column","col-12","col-md-3","mb-3","max-w-275"],[1,"p-3","border-all","border-radius-sm","mb-3"],[1,"text-header-5","mb-2"],[1,"mb-3"],["optionLabel","label","optionValue","value","appendTo","body","styleClass","full-width","placeholder","Select a Division",3,"ngModelChange","onChange","ngModel","options"],["optionLabel","label","optionValue","value","appendTo","body","styleClass","full-width","placeholder","Select a Season/Round",3,"ngModelChange","onChange","ngModel","options"],["optionLabel","label","optionValue","value","appendTo","body","styleClass","full-width","placeholder","Select a Pool",3,"ngModelChange","onChange","ngModel","options"],[1,"col-12","mb-3","max-w-rest","zebra-rows"],[1,"p-3","border-all","border-radius-sm"],[1,"text-header-5","mb-3"],[1,"mb-3","d-flex","justify-content-between","text-small","text-grey","border-top"],[1,"text-uppercase"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"standings","settings","programID","clubLeagueSettings"],[3,"isInline"],[3,"skeletonType"]],template:function(a,s){a&1&&(i(0,"div",1),e(1,` 213 `),i(2,"div",2),e(3,` 214 `),i(4,"div",3),e(5,` 215 `),i(6,"div",4),e(7,` 216 DIVISION 217 `),o(),e(8,` 218 `),i(9,"div",5),e(10,` 219 `),i(11,"p-select",6),F("ngModelChange",function(h){return O(s.selectedDivisionID,h)||(s.selectedDivisionID=h),h}),f("onChange",function(){return s.updateSeries()}),o(),e(12,` 220 `),o(),e(13,` 221 222 `),i(14,"div",4),e(15,` 223 SEASON/ROUND 224 `),o(),e(16,` 225 `),i(17,"div",5),e(18,` 226 `),i(19,"p-select",7),F("ngModelChange",function(h){return O(s.selectedSeriesID,h)||(s.selectedSeriesID=h),h}),f("onChange",function(){return s.updatePools()}),o(),e(20,` 227 `),o(),e(21,` 228 `),i(22,"div",4),e(23,` 229 POOL 230 `),o(),e(24,` 231 `),i(25,"div",5),e(26,` 232 `),i(27,"p-select",8),F("ngModelChange",function(h){return O(s.selectedPoolID,h)||(s.selectedPoolID=h),h}),f("onChange",function(){return s.getStandings()}),o(),e(28,` 233 `),o(),e(29,` 234 `),o(),e(30,` 235 `),_(31,hn,13,3),o(),e(32,` 236 `),i(33,"div",9),e(34,` 237 `),_(35,vn,3,1)(36,bn,3,1),o()()),a&2&&(c(11),M("ngModel",s.selectedDivisionID),d("options",s.divisions),c(8),M("ngModel",s.selectedSeriesID),d("options",s.series),c(8),M("ngModel",s.selectedPoolID),d("options",s.pools),c(4),p(s.settings!=null&&s.settings.tiebreak1ID||s.settings!=null&&s.settings.tiebreak2ID||s.settings!=null&&s.settings.tiebreak3ID?31:-1),c(4),p(s.loading?36:35))},dependencies:[de,pe,ue,nt,Ce,he,Te],styles:["[_nghost-%COMP%]{--menu-w: 275px}.team-toggle[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:var(--blue-1000);padding:0}.team-toggle[_ngcontent-%COMP%]:after{color:var(--primary-link)}.tab-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{min-width:7rem;display:inline-block;text-align:center}.filter-column[_ngcontent-%COMP%] p-select>.p-select-label{font-size:var(--text-medium)}@media(min-width:768px){.max-w-275[_ngcontent-%COMP%]{max-width:var(--menu-w)}.max-w-rest[_ngcontent-%COMP%]{max-width:calc(100% - var(--menu-w))}}.input-short[_ngcontent-%COMP%]{width:50px;max-width:unset;text-align:center;font-weight:700}"]});let t=r;return t})();var Sn=(t,r,n)=>["../divisions",t,"series",r,"pools",n,"schedule"],yt=()=>({selectAllTeams:!0}),Dn=(t,r,n)=>["../divisions",t,"series",r,"pools",n,"bracket"],Tn=(t,r)=>["/team",t,"program",r,"overview"],yn=t=>({navigationTeamID:t});function wn(t,r){if(t&1&&(e(0,` 238 `),i(1,"a",13),e(2,` 239 `),u(3,"i",17),e(4,` 240 Bracket 241 `),o(),e(5,` 242 `)),t&2){let n=m(2).$implicit,l=m(2).$implicit;c(),d("routerLink",ke(2,Dn,l.divisionID,n.seriesID,n.pools[0].poolID))("state",te(6,yt))}}function kn(t,r){if(t&1&&(e(0,` 243 `),i(1,"tr"),e(2,` 244 `),i(3,"td"),e(4,` 245 `),i(5,"span",20),e(6,` 246 `),i(7,"a",21),e(8,` 247 `),u(9,"app-team-logo",22),e(10),o(),e(11,` 248 `),o(),e(12,` 249 `),o(),e(13,` 250 `),o(),e(14,` 251 `)),t&2){let n=r.$implicit,l=m(10);c(7),d("routerLink",ne(4,Tn,n==null?null:n.teamID,(n==null?null:n.programID)??l.programID??(n==null?null:n.programID)))("queryParams",L(7,yn,n==null?null:n.teamID)),c(2),d("logo",n==null?null:n.logo),c(),D(" ",n.name,` 252 `)}}function Pn(t,r){if(t&1&&(e(0,` 253 `),i(1,"table",19),e(2,` 254 `),i(3,"tbody"),e(4,` 255 `),E(5,kn,15,9,null,null,P),o(),e(7,` 256 `),o(),e(8,` 257 `)),t&2){let n=m(2).$implicit;c(5),I(n.teams)}}function En(t,r){if(t&1){let n=w();e(0,` 258 `),i(1,"div",23),e(2,` 259 `),i(3,"app-standings-table",24),f("teamSelected",function(a){v(n);let s=m(10);return b(s.router.navigate(["/team",a.teamID,"program",s.programID,"overview"],{queryParams:{navigationTeamID:a.navigationTeamID}}))}),o(),e(4,` 260 `),o(),e(5,` 261 `)}if(t&2){let n=m(3).$implicit,l=m(7);c(3),d("standings",l.standings[n.poolID])("selectableTeamName",!0)("settings",l.leagueService.leagueSettings)("programID",l.programID)("clubLeagueSettings",l.clubLeagueSettings)}}function In(t,r){if(t&1&&(e(0,` 262 `),_(1,En,6,5)),t&2){let n=m(2).$implicit,l=m(7);c(),p(l.showOrHideTeamRow(n.poolID)?1:-1)}}function Mn(t,r){if(t&1&&(e(0,` 263 `),i(1,"tr"),e(2,` 264 `),i(3,"td",18),e(4,` 265 `),_(5,Pn,9,0)(6,In,2,1),o(),e(7,` 266 `),o(),e(8,` 267 `)),t&2){let n=m(8);c(5),p(n.leagueService.leagueSettings.disableStandings?5:6)}}function On(t,r){if(t&1&&(e(0,` 268 `),_(1,Mn,9,1)),t&2){let n=r.$implicit,l=m(7);c(),p(l.showOrHideTeamRow(n.poolID)?1:-1)}}function Fn(t,r){if(t&1){let n=w();e(0,` 269 `),i(1,"div",8),e(2),o(),e(3,` 270 `),i(4,"div",9),e(5,` 271 `),i(6,"div"),e(7,` 272 `),i(8,"button",10),f("click",function(){v(n);let a=m().$implicit,s=m(5);return b(s.toggleTeamRow(a.pools[0].poolID))}),e(9,` 273 `),e(10,` 274 `),u(11,"i",11),e(12,` 275 `),i(13,"span",12),e(14,"Expand"),o(),e(15,` 276 `),i(16,"span",6),e(17),o(),e(18,` 277 `),o(),e(19,` 278 `),o(),e(20,` 279 `),i(21,"div"),e(22,` 280 `),i(23,"div"),e(24,` 281 `),_(25,wn,6,7),i(26,"a",13),e(27,` 282 `),u(28,"i",14),e(29,` 283 Schedule 284 `),o(),e(30,` 285 `),o(),e(31,` 286 `),o(),e(32,` 287 `),o(),e(33,` 288 `),i(34,"p-table",15),e(35,` 289 `),e(36,` 290 `),S(37,On,2,1,"ng-template",16),e(38,` 291 `),e(39,` 292 `),o(),e(40,` 293 `)}if(t&2){let n=m(),l=n.$implicit,a=n.$index,s=m(2).$implicit,x=m(3);c(),z("mt-3",a!==0),c(),R(l.name),c(4),z("border-bottom-none",!0),c(5),d("ngClass",x.showOrHideTeamRow(l.pools[0].poolID)?"":"fa-rotate-180"),c(6),R(l.pools[0].name),c(4),z("border-bottom-none",!0),c(4),p(l.seriesTypeID===x.SeriesType.Playoff?25:-1),c(),d("routerLink",ke(16,Sn,s.divisionID,l.seriesID,l.pools[0].poolID))("state",te(2
2930,yt)),c(8),d("value",l.pools)("loading",x.loading)("dataKey","poolID")("styleClass","left-border-table")}}function Ln(t,r){if(t&1&&(e(0,` 294 `),_(1,Fn,41,21)),t&2){let n=r.$implicit;c(),p((n.pools==null?null:n.pools.length)>0?1:-1)}}function Vn(t,r){if(t&1&&(e(0,` 295 `),i(1,"p-accordion-panel",3),e(2,` 296 `),i(3,"div",4),e(4,` 297 `),i(5,"p-accordion-header",5),e(6,` 298 `),i(7,"span",6),e(8),o(),e(9,` 299 `),o(),e(10,` 300 `),i(11,"p-accordion-content"),e(12,` 301 `),i(13,"div",7),e(14,` 302 `),E(15,Ln,2,1,null,null,P),o(),e(17,` 303 `),o(),e(18,` 304 `),o(),e(19,` 305 `),o(),e(20,` 306 `)),t&2){let n=m(),l=n.$implicit,a=n.$index;c(),d("value",a),c(7),D(` 307 `,l.name,` 308 `),c(7),I(l.series)}}function Bn(t,r){if(t&1&&(e(0,` 309 `),i(1,"p-accordion",2),e(2,` 310 `),_(3,Vn,21,2),o(),e(4,` 311 `)),t&2){let n=r.$implicit,l=r.$index,a=m(3);c(),d("multiple",!0)("value",l===0?l:null),c(2),p((n.series==null?null:n.series.length)>0&&a.shouldShow(n)?3:-1)}}function An(t,r){if(t&1&&(e(0,` 312 `),i(1,"div",1),e(2,` 313 `),E(3,Bn,5,3,null,null,P),o(),e(5,` 314 `)),t&2){let n=m(2);c(3),I(n.divisions)}}function Rn(t,r){t&1&&(e(0,` 315 `),i(1,"div",25),e(2,` 316 `),u(3,"img",26),e(4,` 317 `),i(5,"p",27),e(6,"League coming soon. Check back later for updates."),o(),e(7,` 318 `),o(),e(8,` 319 `))}function $n(t,r){if(t&1&&(e(0,` 320 `),_(1,An,6,0)(2,Rn,9,0)),t&2){let n=m();c(),p(n.divisions?1:2)}}var wt=(()=>{let r=class r{constructor(l,a,s,x){this.siteDataService=l,this.leagueService=a,this.route=s,this.router=x,this.loading=!0,this.hiddenTeamsRows=[],this.SeriesType=De,this.standings={}}ngOnInit(){this.route.parent.params.subscribe(l=>{this.programID=+l.programID,A({divisions:this.leagueService.getDivisionsTree(this.programID),settings:this.leagueService.getLeagueSettings(this.programID),clubLeagueSettings:this.leagueService.getClubLeagueSettings()}).subscribe({next:a=>{this.leagueService.leagueSettings=a.settings,this.divisions=a.divisions,this.clubLeagueSettings=a.clubLeagueSettings,this.divisions[0]?.series[0]?.pools?.length>0&&this.toggleTeamRow(this.divisions[0].series[0].pools[0].poolID),this.siteDataService.hideSiteLoader(),this.loading=!1}}),this.siteDataService.hideSiteLoader()})}shouldShow(l){return l.series.some(a=>a.pools.some(s=>s.teams.length!==0))}toggleTeamRow(l){(!this.leagueService.leagueSettings.disableStandings&&!this.standings[l]?this.leagueService.getPoolStandings(l):W(null)).subscribe(a=>{a&&(this.standings[l]=a);let s=this.hiddenTeamsRows.indexOf(l);s>=0?this.hiddenTeamsRows.splice(s,1):this.hiddenTeamsRows.push(l)})}showOrHideTeamRow(l){return this.hiddenTeamsRows.some(a=>a===l)}};r.\u0275fac=function(a){return new(a||r)(g(B),g(y),g(V),g(J))},r.\u0275cmp=k({type:r,selectors:[["app-overview"]],standalone:!1,decls:5,vars:1,consts:[[1,"row"],[1,"col-xl-12"],["styleClass","p-accordion-naked",3,"multiple","value"],[1,"accordion-toggle-first","p-0",3,"value"],[1,"card"],[1,"border-all"],[1,"text-header-4"],[1,"league-accordion-content"],[1,"text-header-4","border-bottom","pb-2"],[1,"d-flex","justify-content-between","align-items-start","py-2"],["type","button",1,"btn-a11y","py-1","text-header-4",3,"click"],[1,"fa-solid","fa-chevron-up","ml-1",3,"ngClass"],[1,"sr-only"],[1,"btn","mr-1",3,"routerLink","state"],[1,"fa-solid","fa-calendar"],["responsiveLayout","scroll",1,"table","table-striped","table-sm",3,"value","loading","dataKey","styleClass"],["pTemplate","body"],[1,"fa-solid","fa-sitemap"],["colspan","2",1,"border-none","zebra-rows","pt-0"],[1,"text-small","table"],[1,"d-flex","align-items-center"],[3,"routerLink","queryParams"],[3,"logo"],[1,"full-width"],[3,"teamSelected","standings","selectableTeamName","settings","programID","clubLeagueSettings"],[1,"n
320o-content","align-center","full-width"],["src","/assets/img/icon-empty-programs.png",1,"mt-2","mb-2"],[1,"mb-4","text-medium"]],template:function(a,s){a&1&&(e(0,` 321`),i(1,"div",0),e(2,` 322 `),_(3,$n,3,1),o(),e(4,` 323`)),a&2&&(c(3),p(s.loading?-1:3))},dependencies:[me,Q,xe,be,fe,ct,rt,lt,st,Te],styles:[":root{--light-blue-background: var(--blue-25)} .league-accordion-content{border-left:1px solid var(--grey-400);padding-left:1rem;margin-left:.5rem}@media(min-width:576px){.team-row[_ngcontent-%COMP%]{transition:all .1s linear}.team-row[_ngcontent-%COMP%] .team-row--buttons[_ngcontent-%COMP%]{opacity:0;transition:all .1s linear}.team-row[_ngcontent-%COMP%]:hover .team-row--buttons[_ngcontent-%COMP%]{opacity:1}}"]});let t=r;return t})();function Nn(t,r){if(t&1&&(e(0,` 324 `),i(1,"div",5),e(2,` 325 `),i(3,"app-admin-header",6),e(4,` 326 `),o(),e(5,` 327 `),o(),e(6,` 328`)),t&2){let n=m();c(3),d("hideBorder",!0)("showBackButton",!0)("pageTitle",n.activeTab==="schedule"?"Schedule":"Standings")("parentLinkUrl","/leagues/"+n.programID+"/overview")}}function Wn(t,r){if(t&1){let n=w();e(0,` 329 `),i(1,"li",2),e(2,` 330 `),i(3,"a",7),f("click",function(){v(n);let a=m();return b(a.goToTab("bracket"))}),e(4,"Bracket"),o(),e(5,` 331 `),o(),e(6,` 332 `)}}function jn(t,r){if(t&1){let n=w();e(0,` 333 `),i(1,"li",2),e(2,` 334 `),i(3,"a",8),f("click",function(){v(n);let a=m();return b(a.goToTab("standings"))}),e(4,"Standings"),o(),e(5,` 335 `),o(),e(6,` 336 `)}}var kt=(()=>{let r=class r{constructor(l,a,s){this.siteDataService=l,this.route=a,this.leagueService=s,this.unsubscribe$=new G,this.loading=!0,this.showTabs=!0,this.activeTab="schedule",this.isPlayoffSeries=!1}ngOnInit(){this.route.params.subscribe(l=>{this.programID=+this.route.parent.snapshot.params.programID,A({settings:this.leagueService.getLeagueSettings(this.programID),series:this.leagueService.getDivisionSeries(+l.divisionID,+l.seriesID)}).subscribe({next:a=>{this.settings=a.settings,this.isPlayoffSeries=a.series.seriesTypeID===De.Playoff,this.siteDataService.hideSiteLoader()}})})}goToTab(l){this.activeTab=l}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}};r.\u0275fac=function(a){return new(a||r)(g(B),g(V),g(y))},r.\u0275cmp=k({type:r,selectors:[["ng-component"]],standalone:!1,decls:19,vars:3,consts:[[1,"tabs"],["role","tablist",1,"tab-nav","no-bullets","inline-list"],["routerLinkActive","active",1,"nav-item"],["routerLink","schedule","role","tab","aria-controls","Schedule","aria-selected","true",1,"nav-link",3,"click"],[1,"ml-0","pl-0"],[1,"container"],["parentLinkText","Overview",3,"hideBorder","showBackButton","pageTitle","parentLinkUrl"],["routerLink","bracket","role","tab","aria-controls","Bracket","aria-selected","true",1,"nav-link",3,"click"],["routerLink","standings","role","tab","aria-controls","Standings","aria-selected","true",1,"nav-link",3,"click"]],template:function(a,s){a&1&&(_(0,Nn,7,4),i(1,"div",0),e(2,` 337 `),i(3,"ul",1),e(4,` 338 `),_(5,Wn,7,0),i(6,"li",2),e(7,` 339 `),i(8,"a",3),f("click",function(){return s.goToTab("schedule")}),e(9,"Schedule"),o(),e(10,` 340 `),o(),e(11,` 341 `),_(12,jn,7,0),o(),e(13,` 342`),o(),e(14,` 343`),i(15,"div",4),e(16,` 344 `),u(17,"router-outlet"),e(18,` 345`),o()),a&2&&(p(s.programID?0:-1),c(5),p(s.isPlayoffSeries?5:-1),c(7),p(s.settings!=null&&s.settings.disableStandings?-1:12))},dependencies:[ge,Q,Ae,it],styles:["[_nghost-%COMP%]{--menu-w: 275px}.team-toggle[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:var(--blue-1000);padding:0}.team-toggle[_ngcontent-%COMP%]:after{color:var(--primary-link)}.tab-nav[_ngcontent-%COMP%] .nav-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{min-width:7rem;display:inline-block;text-align:center}.filter-column[_ngcontent-%COMP%] p-select>.p-select-label{font-size:var(--text-medium)}@media(min-width:768px){.max-w-275[_ngcontent-%COMP%]{max-width:var(--menu-w)}.max-w-rest[_ngcontent-%COMP%]{max-width:calc(100% - var(--menu-w))}}.input-short[_ngcontent-%COMP%]{width:50px;max-width:unset;text-align:center;font-weight:700}"]});let t=r;return t})();var zn=t=>({$implicit:t});function Hn(t,r){t&1&&(e(0,` 346 `),i(1,"app-loader"),e(2,"Loading Bracket..."),o(),e(3,` 347 `))}function Yn(t,r){t&1&&(e(0,` 348 `),i(1,"app-inline-alert",2),e(2,"Unable to load the bracket. Please try again later."),o(),e(3,` 349 `)),t&2&&(c(),d("isInline",!0))}function Un(t,r){t&1&&(e(0,` 350 `),i(1,"app-inline-alert",3),e(2,"No bracket data is available yet."),o(),e(3,` 351 `)),t&2&&(c(),d("isInline",!0))}function Gn(t,r){t&1&&e(0,` 352 Finals 353 `)}function Kn(t,r){t&1&&e(0,` 354 Semi-Finals 355 `)}function qn(t,r){if(t&1&&e(0),t&2){let n=m().$implicit;D(` 356 Round `,n.key,` 357 `)}}function Jn(t,r){t&1&&K(0)}function Qn(t,r){if(t&1&&(e(0,` 358 `),i(1,"span"),e(2),o(),e(3,` 359 `)),t&2){let n=r.$implicit;c(),z("winner",n.teamScore>n.opponentTeamScore),c(),D(` 360 `,n.teamScore)}}function Xn(t,r){if(t&1&&(e(0,` 361 `),E(1,Qn,4,3,null,null,P)),t&2){let n=m(3).$implicit;c(),I(n.gameResults)}}function Zn(t,r){if(t&1&&(e(0,` 362 `),_(1,Xn,3,0)),t&2){let n=m(2).$implicit;c(),p(n.gameResults.length>0?1:-1)}}function ei(t,r){if(t&1&&(e(0,` 363 `),i(1,"div"),e(2),$(3,"date"),o(),e(4,` 364 `)),t&2){let n=m(3).$implicit;c(2),D(` 365 `,N(3,1,n.startDate,"E M/d h:mm a"),` 366 `)}}function ti(t,r){t&1&&(e(0,` 367 `),i(1,"div"),e(2,"Time TBD"),o(),e(3,` 368 `))}function ni(t,r){if(t&1&&(e(0,` 369 `),i(1,"div"),e(2),o(),e(3,` 370 `)),t&2){let n=m(3).$implicit;c(2),H(` 371 `,n.location==null?null:n.location.name,"",n.facilityField!=null&&n.facilityField.fieldName?", "+(n.facilityField==null?null:n.facilityField.fieldName):"",`\xA0 372 `)}}function ii(t,r){t&1&&e(0,` 373 Location TBD 374 `)}function oi(t,r){if(t&1&&(e(0,` 375 `),i(1,"div",15),e(2,` 376 `),i(3,"div",16),e(4,` 377 `),_(5,ei,5,4)(6,ti,4,0),_(7,ni,4,2)(8,ii,1,0),o(),e(9,` 378 `),e(10,` 379 `),o(),e(11,` 380 `)),t&2){let n=m(2).$implicit;c(5),p(n.startDate&&!n.showTimeTBD?5:6),c(2),p(n.location?7:8)}}function ai(t,r){if(t&1&&e(0),t&2){let n=m(2).$implicit,l=m(2).$index,a=m(2);D(` 381 `,a.getOpponentSeed(l,n.id),` 382 `)}}function ri(t,r){if(t&1&&e(0),t&2){let n=m(2).$implicit;D(` 383 `,n.opponentTeam.name,` 384 `)}}function li(t,r){t&1&&e(0,` 385 BYE 386 `)}function si(t,r){t&1&&e(0,` 387 \xA0 388 `)}function ci(t,r){if(t&1&&(e(0,` 389 `),i(1,"span"),e(2,` 390 `),_(3,li,1,0)(4,si,1,0),o(),e(5,` 391 `)),t&2){let n=m(5).$implicit;c(3),p(n.key===1?3:4)}}function mi(t,r){if(t&1&&(e(0,` 392 `),_(1,ci,6,1)),t&2){let n=m(2).$implicit;c(),p(n.opponentTeam?-1:1)}}function di(t,r){if(t&1&&(e(0,` 393 `),i(1,"span"),e(2),o(),e(3,` 394 `)),t&2){let n=r.$implicit;c(),z("winner",n.teamScore<n.opponentTeamScore),c(),D(` 395 `,n.opponentTeamScore)}}function _i(t,r){if(t&1&&(e(0,` 396 `),E(1,di,4,3,null,null,P)),t&2){let n=m(3).$implicit;c(),I(n.gameResults)}}function pi(t,r){if(t&1&&(e(0,` 397 `),_(1,_i,3,0)),t&2){let n=m(2).$implicit;c(),p(n.gameResults.length>0?1:-1)}}function ui(t,r){if(t&1&&(e(0,` 398 `),i(1,"li",9),e(2,` 399 `),i(3,"div",10),e(4,` 400 `),i(5,"div",11),e(6,` 401 `),i(7,"div",12),e(8),o(),e(9,` 402 `),i(10,"div",13),e(11),o(),e(12,` 403 `),o(),e(13,` 404 `),i(14,"div",14),e(15,` 405 `),_(16,Zn,2,1),o(),e(17,` 406 `),o(),e(18,` 407 `),_(19,oi,12,2),o(),e(20,` 408 `),i(21,"li",9),e(22,` 409 `),i(23,"div",10),e(24,` 410 `),i(25,"div",11),e(26,` 411 `),i(27,"div",12),e(28,` 412 `),_(29,ai,1,1),o(),e(30,` 413 `),i(31,"div",13),e(32,` 414 `),_(33,ri,1,1),_(34,mi,2,1),o(),e(35,` 415 `),o(),e(36,` 416 `),i(37,"div",14),e(38,` 417 `),_(39,pi,2,1),o(),e(40,` 418 `),o(),e(41,` 419 `),o(),e(42,` 420 `)),t&2){let n=m().$implicit,l=m(2).$index,a=m(2);c(8),R(a.getTeamSeed(l,n.id)),c(3),R(n==null||n.team==null?null:n.team.name),c(5),p(n.opponentTeam?16:-1),c(3),p(n.location||n.startDate?19:-1),c(10),p(n.opponentTeam?29:-1),c(4),p(n.opponentTeam?33:-1),c(),p(n.opponentTeam?-1:34),c(5),p(n.opponentTeam?39:-1)}}function gi(t,r){if(t&1&&(e(0,` 421 `),i(1,"div"),e(2),$(3,"date"),o(),e(4,` 422 `)),t&2){let n=m(3).$implicit;c(2),D(` 423 `,N(3,1,n.startDate,"E M/d h:mm a"),` 424 `)}}function xi(t,r){t&1&&(e(0,` 425 `),i(1,"div"),e(2,"Time TBD"),o(),e(3,` 426 `))}function hi(t,r){if(t&1&&(e(0,` 427 `),i(1,"div"),e(2),o(),e(3,` 428 `)),t&2){let n=m(3).$implicit;c(2),H(` 429 `,n.location==null?null:n.location.name,"",n.facilityField!=null&&n.facilityField.fieldName?", "+(n.facilityField==null?null:n.facilityField.fieldName):"",`\xA0 430 `)}}function Ci(t,r){t&1&&e(0,` 431 Location TBD 432 `)}function fi(t,r){if(t&1&&(e(0,` 433 `),i(1,"div",15),e(2,` 434 `),i(3,"div",16),e(4,` 435 `),_(5,gi,5,4)(6,xi,4,0),_(7,hi,4,2)(8,Ci,1,0),o(),e(9,` 436 `),e(10,` 437 `),o(),e(11,` 438 `)),t&2){let n=m(2).$implicit;c(5),p(n.startDate&&!n.showTimeTBD?5:6),c(2),p(n.location?7:8)}}function vi(t,r){if(t&1&&(e(0,` 439 `),i(1,"li",9),e(2,` 440 `),i(3,"div",10),e(4,` 441 `),i(5,"div",11),e(6,` 442 `),u(7,"div",12),e(8,` 443 `),i(9,"div",13),e(10,"\xA0"),o(),e(11,` 444 `),o(),e(12,` 445 `),u(13,"div",14),e(14,` 446 `),o(),e(15,` 447 `),_(16,fi,12,2),o(),e(17,` 448 `),i(18,"li",9),e(19,` 449 `),i(20,"div",10),e(21,` 450 `),i(22,"div",11),e(23,` 451 `),u(24,"div",12),e(25,` 452 `),i(26,"div",13),e(27,"\xA0"),o(),e(28,` 453 `),o(),e(29,` 454 `),u(30,"div",14),e(31,` 455 `),o(),e(32,` 456 `),o(),e(33,` 457 `)),t&2){let n=m().$implicit;c(16),p(n.location||n.startDate?16:-1)}}function bi(t,r){if(t&1&&(e(0,` 458 `),_(1,ui,43,8)(2,vi,34,1)),t&2){let n=r.$implicit;c(),p(n.teamID||n.opponentTeamID?1:2)}}function Si(t,r){if(t&1&&(e(0,` 459 `),i(1,"ul",8),e(2,` 460 `),E(3,bi,3,1,null,null,P),o(),e(5,` 461 `)),t&2){let n=r.$implicit;c(3),I(n)}}function Di(t,r){if(t&1&&(e(0,` 462 `),i(1,"div",5),e(2,` 463 `),i(3,"span",6),e(4,` 464 `),_(5,Gn,1,0),_(6,Kn,1,0),_(7,qn,1,1),o(),e(8,` 465 `),S(9,Jn,1,0,"ng-container",7),e(10,` 466 `),S(11,Si,6,0,"ng-template",null,0,q),e(13,` 467 `),o(),e(14,` 468`)),t&2){let n=r.$index,l=j(12),a=m(2);c(5),p(n===a.eventRounds.length-1?5:-1),c(),p(n===a.eventRounds.length-2?6:-1),c(),p(n<a.eventRounds.length-2?7:-1),c(2),d("ngTemplateOutlet",l)("ngTemplateOutletContext",L(5,zn,a.getEventsForRound(n)))}}function Ti(t,r){if(t&1&&(e(0,` 469 `),i(1,"div",5),e(2,` 470 `),i(3,"span",17),e(4,` 471 \xA0`),i(5,"span",18),e(6,"Champion"),o(),e(7,` 472 `),o(),e(8,` 473 `),i(9,"ul",8),e(10,` 474 `),i(11,"li",9),e(12,` 475 `),u(13,"div",19),e(14,` 476 `),o(),e(15,` 477 `),o(),e(16,` 478 `),o(),e(17,` 479`)),t&2){let n=m(2);c(13),d("innerHTML",n.champion.name,Ve)}}function yi(t,r){if(t&1&&(e(0,` 480 `),i(1,"div",4),e(2,` 481 `),E(3,Di,15,7,null,null,P),_(5,Ti,18,1),o(),e(6,` 482 `)),t&2){let n=m();c(3),I(n.eventRounds),c(2),p(n.champion!=null&&n.champion.name?5:-1)}}var Pt=(()=>
482{let r=class r{constructor(l,a,s,x){this.siteDataService=l,this.route=a,this.clubCalendarService=s,this.leagueService=x,this.unsubscribe$=new G,this.loading=!0,this.error=!1,this.currentView=1,this.showEvent=!1,this.CalendarEventType=X}ngOnInit(){let l=+this.route.parent.parent.snapshot.params.programID;this.route.parent.params.pipe(le(this.unsubscribe$)).subscribe({next:a=>{this.seriesID=+a.seriesID,this.poolID=+a.poolID,this.leagueService.getLeagueSettings(l).pipe(le(this.unsubscribe$)).subscribe({next:s=>{this.settings=s,this.setDates(new Date),this.getEvents()},error:()=>{this.error=!0,this.loading=!1,this.siteDataService.hideSiteLoader()}})},error:()=>{this.error=!0,this.loading=!1,this.siteDataService.hideSiteLoader()}})}ngOnDestroy(){this.unsubscribe$.next(),this.unsubscribe$.complete()}getEvents(){this.clubCalendarService.getPlayoffCalendarEvents(this.seriesID).pipe(le(this.unsubscribe$)).subscribe({next:l=>{this.eventRounds=l,this.setChampion(),this.loading=!1,this.siteDataService.hideSiteLoader()},error:()=>{this.error=!0,this.loading=!1,this.siteDataService.hideSiteLoader()}})}getEventsForRound(l){return this.eventRounds[l].values.map(a=>a.calendarEventClubAssignment.clubCalendarEvent)}setDates(l){this.currentView===1?(this.currentDate=Y(l),this.currentStartDate=Y(this.currentDate),this.currentEndDate=new Date(ie(this.currentDate,6))):(this.currentDate=l,this.currentStartDate=l,this.currentEndDate=l)}getTeamSeed(l,a){return this.eventRounds[l].values.find(s=>s.calendarEventClubAssignment.clubCalendarEventId===a).seed1}getOpponentSeed(l,a){return this.eventRounds[l].values.find(s=>s.calendarEventClubAssignment.clubCalendarEventId===a).seed2}setChampion(){let l=this.eventRounds[this.eventRounds.length-1].values.find(s=>s),a=l.calendarEventClubAssignment?.clubCalendarEvent?.gameResults;console.log(a),a.length>0?a[0]?.teamScore>a[0]?.opponentTeamScore?this.champion={name:l.calendarEventClubAssignment?.clubCalendarEvent?.team?.name}:this.champion={name:l.calendarEventClubAssignment?.clubCalendarEvent?.opponentTeam?.name}:this.champion={name:" "}}updateCalendarEvents(){this.getEvents(),this.showEvent=!1}};r.\u0275fac=function(a){return new(a||r)(g(B),g(V),g(ve),g(y))},r.\u0275cmp=k({type:r,selectors:[["app-bracket"]],standalone:!1,decls:7,vars:1,consts:[["bracket",""],[1,""],["alertType","error",3,"isInline"],[3,"isInline"],[1,"tournament-bracket"],[1,"tournament-bracket__round"],[1,"tournament-bracket__round-title"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"tournament-bracket__list"],[1,"tournament-bracket__item"],["tabindex","0",1,"tournament-bracket__match"],[1,"tournament-bracket__match--name"],[1,"tournament-bracket__match--seed"],[1,"tournament-bracket__match--name-team-name"],[1,"tournament-bracket__match--score"],[1,"tournament-bracket__match--location"],[1,"line-height-1","text-grey-lt"],[1,"tournament-bracket__round-title","tournament-bracket__round-title--champion"],[1,"sr-only"],["tabindex","0",1,"tournament-bracket__match","tournament-bracket__match--champion",3,"innerHTML"]],template:function(a,s){a&1&&(i(0,"div",1),e(1,` 483 `),_(2,Hn,4,0)(3,Yn,4,1)(4,Un,4,1)(5,yi,7,1),o(),e(6,` 484 485`)),a&2&&(c(2),p(s.loading?2:s.error?3:s.eventRounds!=null&&s.eventRounds.length?5:4))},dependencies:[de,qe,Ce,_e],styles:['*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{box-sizing:border-box}html[_ngcontent-%COMP%]{font-size:var(--text-medium)}@media(min-width:38rem){html[_ngcontent-%COMP%]{font-size:var(--text-medium)}}@media(min-width:52rem){html[_ngcontent-%COMP%]{font-size:var(--text-medium)}}@media(min-width:72rem){html[_ngcontent-%COMP%]{font-size:var(--text-default)}}.tournament-bracket[_ngcontent-%COMP%]{display:flex;flex-direction:column}@media(min-width:38rem){.tournament-bracket[_ngcontent-%COMP%]{flex-direction:row}}.tournament-bracket__round[_ngcontent-%COMP%]{display:block;margin-left:-3px;flex:1}.tournament-bracket__round-title[_ngcontent-%COMP%]{color:var(--blue-75);font-weight:400;text-align:left;background-color:var(--blue-900);border-left:1px solid var(--color-white);width:100%;display:inline-block;font-size:var(--text-default);line-height:1.625rem;padding-left:.25rem;text-transform:uppercase;letter-spacing:1.5px}
485.tournament-bracket__round-title--champion[_ngcontent-%COMP%], .tournament-bracket__round[_ngcontent-%COMP%]:first-child .tournament-bracket__round-title[_ngcontent-%COMP%]{border-left:none}.tournament-bracket__list[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex-flow:row wrap;justify-content:center;height:100%;min-height:100%;padding-bottom:2rem;margin-bottom:2rem;transition:padding .2s ease-in-out,margin .2s ease-in-out;margin-left:0;padding-left:0}@media(max-width:24rem){.tournament-bracket__list[_ngcontent-%COMP%]{padding-bottom:1rem;margin-bottom:1rem}}@media(min-width:38rem){.tournament-bracket__list[_ngcontent-%COMP%]{margin-bottom:0;padding-bottom:0;border-bottom:0}}.tournament-bracket__round[_ngcontent-%COMP%]:last-child .tournament-bracket__list[_ngcontent-%COMP%]{border:0}.tournament-bracket__item[_ngcontent-%COMP%]{display:flex;flex:0 1 auto;justify-content:center;flex-direction:column;align-items:flex-start;padding:2% 0;width:48%;transition:padding .2s linear;position:relative}.tournament-bracket__item[_ngcontent-%COMP%]:nth-child(odd){margin-right:2%}.tournament-bracket__item[_ngcontent-%COMP%]:nth-child(2n){margin-left:2%}.tournament-bracket__item[_ngcontent-%COMP%]:after{transition:width .2s linear}@media(max-width:24rem){.tournament-bracket__item[_ngcontent-%COMP%]{width:100%}.tournament-bracket__item[_ngcontent-%COMP%]:nth-child(odd), .tournament-bracket__item[_ngcontent-%COMP%]:nth-child(2n){margin-left:0;margin-right:0}}@media(min-width:38rem){.tournament-bracket__item[_ngcontent-%COMP%]{padding:.5em 1rem;width:100%}.tournament-bracket__item[_ngcontent-%COMP%]:nth-child(odd), .tournament-bracket__item[_ngcontent-%COMP%]:nth-child(2n){margin:0;padding-top:1.5rem;padding-bottom:1.5rem}.tournament-bracket__item[_ngcontent-%COMP%]:after{position:absolute;right:0;content:"";display:block;width:1rem;height:45%;border-right:1px solid var(--grey-400)}.tournament-bracket__item[_ngcontent-%COMP%]:nth-child(odd):after{top:50%;border-top:1px solid var(--grey-400);transform:translateY(-1px)}.tournament-bracket--rounded[_ngcontent-%COMP%] .tournament-bracket__item[_ngcontent-%COMP%]:nth-child(odd):after{border-top-right-radius:.6rem}.tournament-bracket__item[_ngcontent-%COMP%]:nth-child(2n):after{bottom:50%;border-bottom:1px solid var(--grey-400);transform:translateY(1px)}.tournament-bracket--rounded[_ngcontent-%COMP%] .tournament-bracket__item[_ngcontent-%COMP%]:nth-child(2n):after{border-bottom-right-radius:.6rem}.tournament-bracket__round[_ngcontent-%COMP%]:first-child .tournament-bracket__item[_ngcontent-%COMP%]{padding-left:0}.tournament-bracket__round[_ngcontent-%COMP%]:last-child .tournament-bracket__item[_ngcontent-%COMP%]{padding-right:0}.tournament-bracket__round[_ngcontent-%COMP%]:last-child .tournament-bracket__item[_ngcontent-%COMP%]:after{display:none}.tournament-bracket__round[_ngcontent-%COMP%]:nth-last-child(2) .tournament-bracket__item[_ngcontent-%COMP%]:after{border-radius:0;border-right:0}.tournament-bracket__item[_ngcontent-%COMP%] .tournament-bracket__match--location[_ngcontent-%COMP%]{position:absolute;top:calc(100% - 1.1rem);display:flex;width:calc(100% - 3rem);background-color:var(--color-white);padding:.25rem .5rem;border:var(--border);border-radius:var(--border-radius);outline:none;margin-right:3rem;font-size:var(--text-small);justify-content:space-between;z-index:1}.tournament-bracket__round[_ngcontent-%COMP%]:first-child .tournament-bracket__item[_ngcontent-%COMP%] .tournament-bracket__match--location[_ngcontent-%COMP%], .tournament-bracket__round[_ngcontent-%COMP%]:last-child .tournament-bracket__item[_ngcontent-%COMP%] .tournament-bracket__match--location[_ngcontent-%COMP%]{width:calc(100% - 1.5rem)}}@media(min-width:72rem){.tournament-bracket__item[_ngcontent-%COMP%]{padding:0rem 1.5rem}.tournament-bracket__item[_ngcontent-%COMP%]:after{width:1.5rem}}.tournament-bracket__match[_ngcontent-%COMP%]{display:flex;width:100%;background-color:var(--color-white);background-color:var(--grey-75);outline:none}.tournament-bracket__match--champion[_ngcontent-%COMP%]{background:var(--green-300);border:1px solid var(--pgreen-500);opacity:.5;padding:.5rem}.tournament-bracket__match[_ngcontent-%COMP%] .tournament-bracket__match--name[_ng
485content-%COMP%]{border:var(--border);flex-grow:1;display:flex;align-items:center;padding:.5rem 0;font-size:var(--text-medium);font-weight:700;overflow:hidden;text-overflow:ellipsis}.tournament-bracket__match[_ngcontent-%COMP%] .tournament-bracket__match--name-team-name[_ngcontent-%COMP%]{white-space:nowrap}.tournament-bracket__match[_ngcontent-%COMP%] .tournament-bracket__match--seed[_ngcontent-%COMP%]{font-size:var(--text-small);width:29px;text-align:center;font-weight:400}.tournament-bracket__match[_ngcontent-%COMP%] .tournament-bracket__match--score[_ngcontent-%COMP%]{width:29px}.tournament-bracket__match[_ngcontent-%COMP%] .tournament-bracket__match--score[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{width:29px;text-align:center;padding:.5rem 0;display:block}.tournament-bracket__match[_ngcontent-%COMP%] .tournament-bracket__match--score[_ngcontent-%COMP%] span.winner[_ngcontent-%COMP%]{background-color:var(--blue-900);color:var(--color-white)}@media(max-width:24rem){.tournament-bracket__match[_ngcontent-%COMP%]{padding:.75rem .5rem}}@media(min-width:38rem){.tournament-bracket__match[_ngcontent-%COMP%]:before, .tournament-bracket__match[_ngcontent-%COMP%]:after{position:absolute;left:2px;z-index:1;content:"";display:block;width:1rem;height:25%;border-left:1px solid var(--grey-400)}.tournament-bracket__match[_ngcontent-%COMP%]:before{bottom:50%;border-bottom:1px solid var(--grey-400);transform:translateY(1px)}.tournament-bracket--rounded[_ngcontent-%COMP%] .tournament-bracket__match[_ngcontent-%COMP%]:before{border-bottom-left-radius:.6rem}.tournament-bracket__match[_ngcontent-%COMP%]:after{top:50%;border-top:1px solid var(--grey-400);transform:translateY(-1px)}.tournament-bracket--rounded[_ngcontent-%COMP%] .tournament-bracket__match[_ngcontent-%COMP%]:after{border-top-left-radius:.6rem}}@media(min-width:72rem){.tournament-bracket__match[_ngcontent-%COMP%]:before, .tournament-bracket__match[_ngcontent-%COMP%]:after{width:1.5rem}.tournament-bracket__match[_ngcontent-%COMP%]:before{transform:translateY(1px)}.tournament-bracket__match[_ngcontent-%COMP%]:after{transform:translateY(-1px)}}.tournament-bracket__round[_ngcontent-%COMP%]:first-child .tournament-bracket__match[_ngcontent-%COMP%]:before, .tournament-bracket__round[_ngcontent-%COMP%]:first-child .tournament-bracket__match[_ngcontent-%COMP%]:after{display:none}']});let t=r;return t})();var Et=(()=>{let r=class r{};r.\u0275fac=function(a){return new(a||r)},r.\u0275mod=ce({type:r}),r.\u0275inj=se({imports:[Pe.forChild([{path:":programID",component:bt,children:[{path:"overview",component:wt,canActivate:[Z],data:{metaTitle:"Overview"}},{path:"divisions/:divisionID/series/:seriesID/pools/:poolID",component:kt,children:[{path:"teams/:teamID/schedule",component:Me,canActivate:[Z],data:{metaTitle:"Schedule"}},{path:"schedule",component:Me,canActivate:[Z],data:{metaTitle:"Schedule"}},{path:"standings",component:Tt,canActivate:[Z],data:{metaTitle:"Standings"}},{path:"bracket",component:Pt,canActivate:[Z],data:{metaTitle:"Bracket"}}]}]}]),Pe]});let t=r;return t})();var va=(()=>{let r=class r{};r.\u0275fac=function(a){return new(a||r)},r.\u0275mod=ce({type:r}),r.\u0275inj=se({providers:[xt,pt,ht,y,Se,ut],imports:[Be,Et,_t,gt,Ge,vt]});let t=r;return t})();export{va as LeagueModule};
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.