var seasons = [
{'season': '2014', 'competitions': [
{'competitionId': 8140, 'competitionName': 'Serie Regular', 'default': false },
{'competitionId': 8142, 'competitionName': 'BSN 2015', 'default': false },
{'competitionId': 8143, 'competitionName': 'COPA COOPERATIVA ZENO GANDIA', 'default': false },
] },
{'season': '2015', 'competitions': [
{'competitionId': 1310, 'competitionName': 'BSN', 'default': false },
{'competitionId': 1318, 'competitionName': 'DIRECTV PRETEMPORADA BSN', 'default': false },
{'competitionId': 1783, 'competitionName': 'COPA COOPERATIVA ZENO GANDIA', 'default': false },
{'competitionId': 2157, 'competitionName': 'EQUIPO NACIONAL PUR', 'default': false },
{'competitionId': 8141, 'competitionName': 'PRESEASON', 'default': false },
{'competitionId': 20738, 'competitionName': 'Copy of PRESEASON', 'default': false },
] },
{'season': '2016', 'competitions': [
{'competitionId': 8024, 'competitionName': 'BSN', 'default': false },
{'competitionId': 8025, 'competitionName': 'TORNEO PREPARATORIO DIRECTV', 'default': false },
] },
{'season': '2017', 'competitions': [
{'competitionId': 17118, 'competitionName': 'BSN', 'default': false },
{'competitionId': 17133, 'competitionName': 'ALLSTAR BSN', 'default': false },
] },
{'season': '2018', 'competitions': [
{'competitionId': 20737, 'competitionName': 'BSN', 'default': false },
{'competitionId': 20739, 'competitionName': 'PRESEASON', 'default': false },
{'competitionId': 21441, 'competitionName': 'ALLSTAR BSN', 'default': false },
] },
{'season': '2019', 'competitions': [
{'competitionId': 23442, 'competitionName': 'BSN 2019', 'default': false },
{'competitionId': 24024, 'competitionName': 'ALL STAR BSN', 'default': false },
] },
{'season': '2020', 'competitions': [
{'competitionId': 27231, 'competitionName': 'BSN 2020', 'default': false },
] },
{'season': '2021', 'competitions': [
{'competitionId': 30290, 'competitionName': 'BSN 2021', 'default': false },
{'competitionId': 30291, 'competitionName': 'ALL STAR 2021', 'default': false },
{'competitionId': 30862, 'competitionName': 'BSNF 2021', 'default': false },
{'competitionId': 31057, 'competitionName': 'ALL STAR BSNF 2021', 'default': false },
] },
{'season': '2022', 'competitions': [
{'competitionId': 33320, 'competitionName': 'BSN 2022', 'default': false },
{'competitionId': 33737, 'competitionName': 'ALL STAR BSN 2022', 'default': false },
{'competitionId': 34748, 'competitionName': 'BSNF 2022', 'default': false },
{'competitionId': 35039, 'competitionName': 'JUEGO DE ESTRELLAS BSNF 2022', 'default': false },
] },
{'season': '2023', 'competitions': [
{'competitionId': 35601, 'competitionName': 'BSN 2023', 'default': false },
{'competitionId': 36577, 'competitionName': 'BSNF 2023', 'default': false },
{'competitionId': 36640, 'competitionName': 'Fogueo PUR-DOM', 'default': false },
{'competitionId': 36847, 'competitionName': 'All Star BSNF 2023', 'default': false },
{'competitionId': 36047, 'competitionName': 'ALL STAR BSN 2023', 'default': false },
] },
{'season': '2024', 'competitions': [
{'competitionId': 38085, 'competitionName': 'BSN 2024', 'default': false },
{'competitionId': 38689, 'competitionName': 'ALL STAR 2024', 'default': false },
{'competitionId': 39408, 'competitionName': 'BSNF 2024', 'default': false },
{'competitionId': 39744, 'competitionName': 'ALL STAR BSNF', 'default': false },
] },
{'season': '2025', 'competitions': [
{'competitionId': 40709, 'competitionName': 'BSN 2025', 'default': true },
{'competitionId': 41374, 'competitionName': '2025', 'default': false },
{'competitionId': 41375, 'competitionName': 'BSNF 2025', 'default': false },
{'competitionId': 41485, 'competitionName': 'BSN Finales 2025', 'default': false },
] },
{'season': 'Default', 'competitions': [
{'competitionId': 8139, 'competitionName': 'Baloncesto Superior Nacional 2009', 'default': false },
] },
]; console.log(seasons);
function handleChangeSeason () { var sx = document.getElementById("season_select").value;
seasons.forEach((s)=>{ if(s.season === sx){ var childSelect = document.getElementById('competition_select'); childSelect.innerHTML ='';
s.competitions.forEach(function (c) { var optionEle = document.createElement('option'); optionEle.value = c.competitionId; optionEle.label = c.competitionName; optionEle.default = c.default; childSelect.appendChild(optionEle); }) } });
var sx = document.getElementById("season_select").value; var cx = document.getElementById("competition_select").value;
var url = new URL(window.location); (url.searchParams.has('compId') ? url.searchParams.set('compId', cx) : url.searchParams.append('compId', cx)); /* (url.searchParams.has('seasonId') ? url.searchParams.set('seasonId', sx) : url.searchParams.append('seasonId', sx)); */
window.location = url;
}
function handleChangeCompetition() { var sx = document.getElementById("season_select").value; var cx = document.getElementById("competition_select").value;
var url = new URL(window.location); (url.searchParams.has('compId') ? url.searchParams.set('compId', cx) : url.searchParams.append('compId', cx)); /* (url.searchParams.has('seasonId') ? url.searchParams.set('seasonId', sx) : url.searchParams.append('seasonId', sx)); */
window.location = url; }
/* Loads combos with url parameters */ document.addEventListener("DOMContentLoaded", function() {
});
ESTADÍSTICAS POR EQUIPO
EQUIPO | GP | PPG | FG% | 3FG% | FTA | SPG | TOPG | APG | BPG | RPG |
---|---|---|---|---|---|---|---|---|---|---|
32 | 94,9 | 48,0 | 38,0 | 657 | 7,4 | 11,4 | 20,7 | 2,1 | 34,4 | |
32 | 87,1 | 47,0 | 32,0 | 686 | 6,0 | 10,6 | 18,3 | 3,2 | 34,7 | |
33 | 89,7 | 49,0 | 36,0 | 546 | 6,3 | 11,2 | 19,5 | 2,0 | 33,9 | |
34 | 91,9 | 48,0 | 36,0 | 688 | 8,3 | 10,9 | 20,9 | 3,4 | 36,2 | |
32 | 86,4 | 47,0 | 33,0 | 578 | 6,1 | 12,5 | 17,6 | 2,4 | 35,9 | |
33 | 89,4 | 48,0 | 34,0 | 619 | 5,6 | 11,8 | 20,6 | 2,8 | 36,1 | |
34 | 90,9 | 48,0 | 37,0 | 642 | 6,0 | 11,9 | 19,2 | 2,6 | 34,6 | |
33 | 90,6 | 49,0 | 36,0 | 580 | 6,0 | 10,9 | 20,9 | 2,6 | 33,8 | |
32 | 90,0 | 48,0 | 37,0 | 551 | 6,7 | 12,0 | 20,9 | 2,9 | 36,5 | |
32 | 90,5 | 46,0 | 39,0 | 662 | 5,4 | 11,6 | 20,1 | 2,1 | 34,1 | |
32 | 90,6 | 48,0 | 35,0 | 593 | 6,3 | 11,8 | 20,9 | 2,3 | 33,7 | |
33 | 91,4 | 47,0 | 37,0 | 536 | 7,2 | 11,9 | 21,9 | 2,6 | 35,3 | |
1 | 136,0 | 58,0 | 40,0 | 1 | 5,0 | 13,0 | 38,0 | 1,0 | 53,0 | |
1 | 123,0 | 47,0 | 34,0 | 2 | 11,0 | 7,0 | 22,0 | 1,0 | 40,0 | |
1 | 53,0 | 38,0 | 12,0 | 7 | 7,0 | 9,0 | 11,0 | 3,0 | 34,0 | |
1 | 41,0 | 34,0 | 7,0 | 12 | 6,0 | 13,0 | 10,0 | 1,0 | 42,0 |