PageSourceSearch

https://monclub.fftt.com/assets/all-DPwYTDmk.js

js fftt.com collected 2026-09-24 09:37:43 UTC 2,721 bytes, 1 lines download raw bytes

1import{S as h}from"./table-DWb-vgzJ.js";import{_ as f,b,e as i,w as l,r as d,a as u,o as y,g}from"./index-DcN32Kdt.js";const S={name:"ClubStatisticsAll",components:{StatisticsTable:h},data:()=>({allStatisticsData:null,ageGenderStatisticsData:null,seasonStatisticsData:null,pendingCalls:0}),computed:{loading(){return this.pendingCalls>0}},methods:{splitGenders(a,s){const o={body:{},footer:[{value:"Total"}]},n={body:{},footer:[{value:"Total"}]};let t,e;for(e in s.body)for(o.body[e]=[],n.body[e]=[],t=0;t<s.body[e].length;++t)a[t].name.indexOf("Femme")!==-1?o.body[e].push(s.body[e][t]):a[t].name.indexOf("Homme")!==-1?n.body[e].push(s.body[e][t]):a[t].name!=="Total"&&(o.body[e].push(s.body[e][t]),n.body[e].push(s.body[e][t]));for(t=1;t<s.footer.length;++t)a[t].name.indexOf("Femme")!==-1?o.footer.push(s.footer[t]):a[t].name.indexOf("Homme")!==-1&&n.footer.push(s.footer[t]);return{womenTable:o,menTable:n}},getStatisticsData(){++this.pendingCalls,u.get("/licences/history",{scope:"club",ids:[this.$route.params.clubId],byCategory:"true",byLicenceType:"true",licenceTypeIds:[1,2,4,6],bySeason:"true",byGender:"true"}).then(a=>{this.allStatisticsData=a,--this.pendingCalls}).catch(()=>{--this.pendingCalls})},getAgeGenderStatisticsData(){++this.pendingCalls,u.get("/licences/history",{scope:"club",ids:[this.$route.params.clubId],byCategory:"true",bySeason:"true",byGender:"true"}).then(a=>{this.ageGenderStatisticsData=a,--this.pendingCalls}).catch(()=>{--this.pendingCalls})},getSeasonStatisticsData(){++this.pendingCalls,u.get("/licences/history",{scope:"club",ids:[this.$route.params.clubId],byCategory:"true",bySeason:"true"}).then(a=>{this.seasonStatisticsData=a,--this.pendingCalls}).catch(()=>{--this.pendingCalls})}},created(){this.getStatisticsData(),this.getAgeGenderStatisticsData(),this.get
1SeasonStatisticsData()}};function _(a,s,o,n,t,e){const p=d("md-icon"),m=d("router-button"),r=d("statistics-table"),c=d("content-block");return y(),b("div",null,[i(m,{to:{name:"statistics"},class:"mbl"},{default:l(()=>[i(p,null,{default:l(()=>[...s[0]||(s[0]=[g("keyboard_arrow_left",-1)])]),_:1}),s[1]||(s[1]=g(" Statistiques de la saison ",-1))]),_:1}),i(c,{title:"Par type de licence, age et sexe",loading:e.loading},{default:l(()=>[i(r,{value:a.allStatisticsData,"hide-footer":""},null,8,["value"])]),_:1},8,["loading"]),i(c,{title:"Par age sexe",loading:e.loading},{default:l(()=>[i(r,{value:a.ageGenderStatisticsData,"hide-title":"","hide-footer":""},null,8,["value"])]),_:1},8,["loading"]),i(c,{title:"Par saison",loading:e.loading},{default:l(()=>[i(r,{value:a.seasonStatisticsData,"hide-title":"","hide-footer":""},null,8,["value"])]),_:1},8,["loading"])])}const v=f(S,[["render",_]]);export{v as default};

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.