{"version":3,"sources":["context/AssociationContext.js","containers/AssociationSetter.js","components/Header.js","containers/AssociationContainer.js","containers/AssociationListContainer.js","components/LadderRow.js","components/Ladder.js","components/PoolFilter.js","containers/LadderContainer.js","components/ResultsItem.js","components/Results.js","components/MatchRoundFilter.js","containers/ResultsContainer.js","components/FixturesItem.js","components/FixturesExclusionTimeItem.js","components/Fixtures.js","containers/FixturesContainer.js","components/CompetitionTabs.js","containers/CompetitionListContainer.js","containers/SchoolList.js","containers/App.js","reportWebVitals.js","index.js"],"names":["AssociationContext","createContext","AssociationSetter","Component","constructor","props","super","match","association","setAssociation","this","state","url_association_id","parseInt","params","association_id","componentDidMount","headers","undefined","id","axios","get","then","response","setState","data","catch","error","render","Header","image","alt","height","headerStyle","name","backgroundColor","_jsx","className","style","children","Grid","divided","verticalAlign","Row","columns","Container","src","AssociationContainer","useContext","AssociationListContainer","associations","setAssociations","useState","schools","setSchools","selectedAssociation","setSelectedAssociation","loading","setLoading","setError","useEffect","List","celled","relaxed","size","map","item","index","Item","as","Link","to","length","ladderrow","_ref","fields","row","order","Table","Cell","ladder","rows","fieldOrder","_Fragment","overflowX","_jsxs","unstackable","striped","HeaderCell","Body","LadderRow","PoolFilter","Dropdown","selection","placeholder","options","pushed_pools","choices","forEach","pool_id","includes","push","pool_name","getPoolsChoices","onChange","poolHandler","event","onSelectedPool","value","clearable","LadderContainer","setRows","setHeaders","setFields","setFieldOrder","filteredRows","setFilteredRows","competition","ladder_rows","ladder_config","rowPools","reduce","pools","find","pool","sort","a","b","localeCompare","textAlign","poolRows","Ladder","ResultsItem","score","team1_final_score_display","team2_final_score_display","is_bye_match","team1_name","team1_secondary_score_display","team_result_display_short","team2_secondary_score_display","team2_name","date_day_2","date_display","time_display","venue_name","sub_venue_name","date_day_2_display","time_day_2_display","venue_day_2_name","match_status","results","MatchRoundFilter","pushed_round_numbers","competition_round_number","is_exclusion_time","getRoundsChoices","roundHandler","onSelectedRound","ResultsContainer","setResults","fixturesResults","setFixturesResults","filteredFixturesResults","setFilteredFixturesResults","matchRounds","rounds","competition_round_id","resultPools","result","round_number","roundFixturesResults","matches","poolResults","Results","FixturesItem","FixtureExclusionTimeItem","start_time","finish_time","fixtures","fixtureItem","FixturesExclusionTimeItem","getDisplayFixtureItem","FixtureContainer","setFixtures","filteredFixtures","setFilteredFixtures","matchPools","roundFixtures","poolFixtures","Fixtures","CompetitionTabs","publicFixtures","selectedCompetition","fixtures_public","publicResults","results_public","publicLadder","ladder_public","list","menuItem","Tab","Pane","FixturesContainer","menu","secondary","pointing","panes","CompetitionListContainer","hasSubAssociation","setHasSubAssociation","console","log","sports","setSports","selectedSport","setSelectedSport","sportsLoading","setSportsLoading","sportsError","setSportsError","competitionsLoading","setCompetitionsLoading","competitionsError","setCompetitionsError","competitions","setCompetitions","setSelectedCompetition","searchTerm","setSearchTerm","Array","isArray","filteredSchools","filter","school","toLowerCase","Segment","padded","Search","onSearchChange","e","showNoResults","Column","fluid","handleSelectedSport","x","handleSelectedCompetition","SchoolList","school_id","App","BrowserRouter","Route","exact","path","component","Home","Provider","Switch","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","Sentry","dsn","integrations","BrowserTracing","tracesSampleRate","ReactDOM","React","StrictMode","document","getElementById"],"mappings":"4OAIeA,MAFYC,0B,iBCE3B,MAAMC,UAA0BC,YAE/BC,YAAYC,GACXC,MAAMD,GACN,MAAM,MAACE,EAAK,YAAEC,EAAW,eAAEC,GAAkBC,KAAKL,MAChDK,KAAKC,MAAQ,CACdC,mBAAoBC,SAASN,EAAMO,OAAOC,gBAC1CP,YAAaA,EACbC,eAAgBA,EAElB,CAEAO,oBACE,MAAMC,EAAU,CAAC,cAAkB,0DACXC,IAArBR,KAAKF,aAA6BE,KAAKC,MAAMH,YAAYW,KAAOT,KAAKC,MAAMC,oBAC9EQ,IAAMC,IAAI,iDAAiDX,KAAKC,MAAMC,sBAAuB,CAACK,YAC7FK,MAAMC,IACNb,KAAKc,SAAS,CAA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AACuN,IAAK,CAACE,KAAK,+BAA+BjO,OAASvB,GAAU+B,cAAC4K,EAAwB,IAAK3M,QAE9F+B,cAAC6N,IAAM,CAAA1N,SACLH,cAACuN,IAAK,CAACE,KAAK,qBAAqBjO,OAASvB,GAAU+B,cAACmN,EAAU,IAAKlP,UAI3E,CAEA,MAAM0P,EAAOA,IACX1K,eAAA,OAAA9C,SAAA,CACCH,cAACP,EAAM,IAEPO,cAACS,IAAS,CAAAN,SACRH,cAACwM,IAAO,CAACC,QAAM,EAAAtM,SACbH,cAACa,EAAwB,WC3BlBiN,MAZSC,IAClBA,GAAeA,aAAuBC,UACxC,8BAAqB9O,MAAKoD,IAAkD,IAAjD,OAAE2L,EAAM,OAAEC,EAAM,OAAEC,EAAM,OAAEC,EAAM,QAAEC,GAAS/L,EACpE2L,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,EAAY,GAExB,E,kBCAFO,IAAY,CACVC,IAAK,6EACLC,aAAc,CAAC,IAAIC,KAKnBC,iBAAkB,IAGpBC,IAASnP,OACPQ,cAAC4O,IAAMC,WAAU,CAAA1O,SACfH,cAACqN,EAAG,MAENyB,SAASC,eAAe,SAM1BjB,G","file":"static/js/main.781c67e7.chunk.js","sourcesContent":["import {createContext} from 'react';\n\nconst AssociationContext = createContext();\n\nexport default AssociationContext;\n\n","import {Component} from 'react';\nimport axios from 'axios';\n\n\nclass AssociationSetter extends Component {\n\n\tconstructor(props) {\n\t\tsuper(props);\n\t\tconst {match, association, setAssociation} = this.props;\n this.state = {\n\t\t\turl_association_id: parseInt(match.params.association_id),\n\t\t\tassociation: association,\n\t\t\tsetAssociation: setAssociation\n\t\t}\n\t}\n\n\tcomponentDidMount(){\n\t const headers = {'Authorization': 'Api-Key ' + process.env.REACT_APP_API_KEY};\n\t\tif (this.association === undefined || this.state.association.id !== this.state.url_association_id) {\n\t\t\taxios.get(`${process.env.REACT_APP_API_HOST}/association/${this.state.url_association_id}/`, {headers})\n\t\t\t.then((response) => {\n\t\t\t\tthis.setState({'association': response.data})\n\t\t\t\tthis.state.setAssociation(response.data);\n\t\t\t})\n\t\t\t.catch((error) => {\n\t\t\t\t\n\t\t\t});\n\t\t}\n }\n\n render(){\n\t return (\n\t\t null\n\t )\n }\n\n}\n\nexport default AssociationSetter\n","import React from 'react';\nimport { Grid, Container} from 'semantic-ui-react';\n\nconst Header = (props) => {\n\t\n\tlet image = \"/logo-white.svg\";\n\tlet alt = \"SportsDash\";\n\tlet height = \"30px\";\n\tlet headerStyle = {}\n\tconst nswCorporateGamesId = 111;\n\tconst australianCorporateGamesId = 109;\n\tconst catholicGirlsSportsAssocationVictoriaId=110\n\n\n\tif(props.data){\n\t\tif(props.data.id === nswCorporateGamesId){\n\t\t\timage = `/association_logos/${props.data.id}.svg` \n\t\t\talt = props.data.name;\n\t\t\theaderStyle.backgroundColor = \"#454545\";\n\t\t\theight=\"50px\";\n\t\t}else if(props.data.id === australianCorporateGamesId){\n\t\t\timage = `/association_logos/${props.data.id}.svg`\n\t\t\talt = props.data.name;\n\t\t\theaderStyle.backgroundColor = \"#454545\";\n\t\t\theight=\"50px\";\n\t\t}\n\t\telse if(props.data.id === catholicGirlsSportsAssocationVictoriaId){\n\t\t\timage = `/association_logos/${props.data.id}.svg`\n\t\t\talt = props.data.name;\n\t\t\theaderStyle.backgroundColor = \"#254282\";\n\t\t\theight=\"70px\";\n\t\t}\n\n\t}\n\treturn (\n\t\t
Loading...
\n\t}\n\n\tif(loading) {\n\t\treturnThere was an error. Please let the SportsDash team know.
\t\n\t}\n\n\tif(selectedAssociation) {\n\t\treturn (\n\t\t\tThere was an error. Please lets the SportsDash team know.
\t\n\t\t\tLadder not available
\n\t\t\t:\n\t\t\tLoading...
\n\t}\n\n\tif(error) {\n\t\treturnThere was an error. Please try again
\n\t}\n\n\tconst selectedPool = (pool_id) => {\n\t\tconst poolRows = rows.reduce((rows, row) => {\n\t\t\tif(row.pool_id === pool_id) {\n\t\t\t\trows.push(row)\n\t\t\t}\n\t\t\treturn rows\n\t\t},[]);\n\n\t\tsetFilteredRows(poolRows)\n\n\t}\n\n\tconst rowPools = rows.reduce((pools, row) => {\n\t\tif(row.pool_id){\n\t\t\tconst existing = pools.find(pool => pool.pool_id === row.pool_id);\n\t\t\tif(!existing){\n\t\t\t\tpools.push({'pool_id': row.pool_id, 'pool_name': row.pool_name})\n\t\t\t}\n\t\t}\n\t\tconst sorted_pools = pools.sort((a,b) => a.pool_name.localeCompare(b.pool_name))\n\t\treturn sorted_pools;\n\t},[]);\n\n\n\treturn (\n\t\t<>\n\t\t\t{item.team1_final_score_display} -- {item.team2_final_score_display}
;\n } else if (item.is_bye_match) {\n\t\tscore =Bye
;\n\t} else {\n \tscore =Still to be played
;\n }\n\n\treturn (\n\t\t\t{item.team1_final_score_display}
\n\t\t\t\t\t\t\t{item.team1_secondary_score_display}
\n\t\t\t\t\t\t{item.team2_final_score_display}
\n\t\t\t\t\t\t\t{item.team2_secondary_score_display}
\n\t\t\t\t\t\tDay 1: {item.date_display} at {item.time_display}, {item.venue_name} {item.sub_venue_name ? `- ${item.sub_venue_name}` : ''}
\n\t\t\t\t\t\t\tDay 2: {item.date_day_2_display} at {item.time_day_2_display}, {item.venue_day_2_name}
\n\t\t\t\t\t\t>\n\t\t\t\t\t:\n\t\t\t\t\t\t{item.date_display} at {item.time_display}, {item.venue_name} {item.sub_venue_name ? `- ${item.sub_venue_name}` : ''}
\n\t\t\t\t\t}\n\t\t\t\t{item.match_status}
\nLoading...
\n\t}\n\n\tif(error) {\n\t\treturnThere was an error. Please try again
\n\t}\n\n\treturn (\n\t\t<>\n\t\t{ matchRounds.length === 0 \n\t\t?\n\t\t\tResults are not available
\n\t\t:\n\t\t<>\n\t\t\tDay 1: {item.date_display} at {item.time_display}, {item.venue_name} {item.sub_venue_name ? `- ${item.sub_venue_name}` : ''}
\n\t\t\t\t\t\t\tDay 2: {item.date_day_2_display} at {item.time_day_2_display}, {item.venue_day_2_name}
\n\t\t\t\t\t\t{item.date_display} at {item.time_display}, {item.venue_name} {item.sub_venue_name ? `- ${item.sub_venue_name}` : ''}
\n\t\t\t\t\t}\n\t\t\t\t{item.match_status}
\nLoading...
\n\t}\n\n\tif(error) {\n\t\treturnThere was an error. Please try again
\n\t}\n\n\treturn (\n\t\t<>\n\t\t\t{ matchRounds.length === 0\n\t\t\t?\n\t\t\t\tFixtures not available
\n\t\t\t:\n\t\t\t<>\n\t\t\t\tLoading Schools.
\n\t// }\n\tif(schools.length > 0) {\n\t\tconst filteredSchools = schools.filter(school =>\n\t\t\tschool.name.toLowerCase().includes(searchTerm.toLowerCase())\n\t\t);\n\t\treturn (\n\t\t\tPlease select your School.
\n\t\t\tSorry, there was an error.
Please contact the SportsDash team.
Select a sport then a competition...
\n\t\t\t\t\t\t\tLoading Sports...
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{ sports.length > 0 \n\t\t\t\t\t\t\t\t?\n\t\t\t\t\t\t\t\tThere are no sports at this time...
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tLoading...
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{ competitions.length > 0 && competitionsLoading == false &&\n\t\t\t\t\t\t\t\t\tNo competitions available
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSorry, there was an error.
Please contact the SportsDash team.
Select a sport then a competition...
\n\t\t\t\t\t\t\tLoading Sports...
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{ sports.length > 0 \n\t\t\t\t\t\t\t\t?\n\t\t\t\t\t\t\t\tThere are no sports at this time...
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tLoading...
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t{ competitions.length > 0 && competitionsLoading == false &&\n\t\t\t\t\t\t\t\t\tNo competitions available
\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t