1import{_ as ne}from"./BnQl3AiP.js";import{d as re,a3 as ie,b as L,c as M,w as N,o as a,h as j,f as e,l as ue,k as y,g as o,e as l,F as i,r as u,t as r,n as D,i as w,j as de,x as P}from"./BwyAsQDK.js";import{_ as ce}from"./AFqOt-4-.js";import{a as A}from"./_wfcnxBl.js";import"./BJ2ClxiI.js";import"./D4q4B1xX.js";import"./DDtm-tid.js";const pe={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},be={class:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-8"},me={class:"text-xs text-gray-400 mb-1"},xe={class:"text-2xl font-bold text-gray-900 tabular-nums"},ye={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},ve={class:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-8"},ge={class:"text-xs text-gray-400 mb-1"},fe={class:"text-2xl font-bold text-gray-900 tabular-nums"},he={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},_e={class:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-8"},ke={class:"text-xs text-gray-400 mb-1"},we={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},Pe={class:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-8"},$e={class:"text-xs text-gray-400 mb-1"},De={class:"text-2xl font-bold text-gray-900 tabular-nums"},Ce={key:0,class:"text-xs text-gray-400 mt-1"},Fe={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},je={class:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-8"},Ue={class:"text-xs text-gray-400 mb-1"},Ae={class:"text-2xl font-bold text-gray-900 tabular-nums"},Ge={key:0,class:"text-xs text-gray-400 mt-1"},Be={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},ze={class:"grid grid-cols-2 sm:grid-cols-3 gap-4 mb-8"},Le={class:"text-xs text-gray-400 mb-1"},Se={class:"flex items-center gap-1.5 text-xs font-semibold text-gray-400 uppercase tracking-widest mb-3"},Te={class:"grid grid-cols-1 sm:grid-cols-2 gap-4"},qe={class:"bg-white border rounded-xl p-5"},Me={class:"flex items-start justify-between mb-1"},Ne={class:"text-right"},Re={class:"text-xl font-bold text-gray-900 tabular-nums leading-tight"},Ve={key:0,class:"text-xs text-gray-400 mb-3"},Oe={class:"font-medium text-gray-600 tabular-nums"},We={class:"relative"},Ye=["viewBox"],Ee=["y1","x2","y2"],He=["d"],Ie=["d"],Qe={class:"absolute inset-0 pointer-events-none"},Je={class:"relative h-4 mt-1"},Ke={class:"bg-white border rounded-xl p-5"},Xe={class:"flex items-start justify-between mb-1"},Ze={class:"text-right"},et={class:"text-xl font-bold text-gray-900 tabular-nums leading-tight"},tt={class:"relative"},st=["viewBox"],at=["y1","x2","y2"],lt=["d"],ot=["d"],nt={class:"absolute inset-0 pointer-events-none"},rt={class:"relative h-4 mt-1"},it={class:"bg-white border rounded-xl p-5"},ut={class:"flex items-start justify-between mb-1"},dt={class:"text-right"},ct={class:"text-xl font-bold text-gray-900 tabular-nums leading-tight"},pt={class:"relative"},bt=["viewBox"],mt=["y1","x2","y2"],xt=["d"],yt=["d"],vt={class:"absolute inset-0 pointer-events-none"},gt={class:"relative h-4 mt-1"},ft={class:"bg-white border rounded-xl p-5"},ht={class:"flex items-start justify-between mb-1"},_t={class:"text-right"},kt={class:"text-xl font-bold text-gray-900 tabular-nums leading-tight"},wt={key:0,class:"text-xs text-gray-400 mb-3"},Pt={class:"font-medium text-gray-600 tabular-nums"},$t={class:"relative"},Dt=["viewBox"],Ct=["y1","x2","y2"],Ft=["d"],jt=["d"],Ut={class:"absolute inset-0 pointer-events-none"},At={class:"relative h-4 mt-1"},Gt={class:"bg-white border rounded-xl p-5"},Bt={class:"flex items-start justify-between mb-1"},zt={class:"text-right"},Lt={class:"text-xl font-bold text-gray-900 tabular-nums leading-tight"},St={key:0,class:"text-xs text-gray-400 mb-3"},Tt={class:"font-medium text-gray-600 tabular-nums"},qt={class:"relative"},Mt=["viewBox"],Nt=["y1","x2","y2"],Rt=["d"],Vt=["d"],Ot={class:"absolute inset-0 pointer-events-none"},Wt={class:"relative h-4 mt-1"},Yt={class:"bg-white border rounded-xl p-5"},Et={class:"flex items-start justify-between mb-1"},Ht={class:"text-right"},It={class:"text-xl font-bold text-gray-900 tabular-nums leading-tight"},Qt={key:0,class:"text-xs text-gray-400 mb-3"},Jt={class:"font-medium text-gray-600 tabular-nums"},Kt={class:"relative"},Xt=["viewBox"],Zt=["y1","x2","y2"],es=["d"],ts=["d"],ss={class:"absolute inset-0 pointer-events-none"},as={class:"relative h-4 mt-1"},b=520,f=96,$=32,U=6,T=8,R=8,ps=re({__name:"stats",setup(ls){ie({title:"Statistiques | Admin"});const{data:c,pending:Y}=A("/api/admin/stats/community","$KoAd2zJ63N"),{data:h,pending:E}=A("/api/admin/stats/multiplayer","$LIgOWuwhuX"),{data:m,pending:H}=A("/api/admin/stats/learning","$WM2EChr3MG"),{data:x,pending:I}=A("/api/admin/stats/annuaire","$L5EwIxp9ou"),{data:q,pending:Q}=A("/api/admin/stats/terrain","$Fcci5n-dDz"),{data:C,pending:J}=A("/api/admin/stats/moderation","$Yw9HjVgVk8"),{data:n,pending:K}=A("/api/admin/stats/charts","$KUao5jEG6q");function V(d){const s=d.map(t=>t.count),p=Math.max(...s,1),v=d.length,g=b-$-U,F=f-T-R;return s.map((t,oe)=>({x:$+oe/(v-1)*g,y:T+(1-t/p)*F}))}function O(d){if(!d.length)return"";let s=`M ${d[0].x.toFixed(1)} ${d[0].y.toFixed(1)}`;for(let p=1;p<d.length;p++){const v=d[p-1],g=d[p],F=((v.x+g.x)/2).toFixed(1);s+=` C ${F} ${v.y.toFixed(1)}, ${F} ${g.y.toFixed(1)}, ${g.x.toFixed(1)} ${g.y.toFixed(1)}`}return s}function G(d){return O(V(d))}function B(d){const s=V(d);if(!s.length)return"";const p=f-R;return`${O(s)} L ${s[s.length-1].x.toFixed(1)} ${p} L ${s[0].x.toFixed(1)} ${p} Z`}function z(d){return[0,7,14,21,29].map(s=>({x:$+s/(d.length-1)*(b-$-U),label:new Date((d[s]?.date??"")+"T12:00:00").toLocaleDateString("fr-FR",{day:"numeric",month:"short"})}))}function _(d){const s=Math.max(...d.map(g=>g.count),1),p=f-T-R;return(s<=4?Array.from({length:s+1},(g,F)=>F):[0,Math.round(s/2),s]).map(g=>({y:(T+(1-g/s)*p).toFixed(1),label:g}))}function S(d){return d.reduce((s,p)=>s+p.count,0)}function W(d){return d.slice(-7).reduce((s,p)=>s+p.count,0)}function k(d){const s=d.reduce((p,v)=>v.count>p.count?v:p,d[0]??{date:"",count:0});return!s.date||s.count===0?null:{count:s.count,label:new Date(s.date+"T12:00:00").toLocaleDateString("fr-FR",{day:"numeric",month:"short"})}}function X(d){const s=new Date(d);return`${s.toLocaleDateString("fr-FR",{weekday:"short",day:"numeric",month:"short"})} à ${s.toLocaleTimeString("fr-FR",{hour:"2-digit",minute:"2-digit"}).replace(":"," h ")}`}const Z=L(()=>[{label:"Utilisateurs",value:c.value?.users??"â",sub:n.value?`+${W(n.value.usersPerDay)} cette semaine`:void 0,subClass:"text-violet-500"},{label:"En ligne maintenant",value:n.value?.onlineNow??"â",sub:"onglet ouvert dans les 2 dernières minutes",subClass:"text-emerald-600"},{label:"Pic de connexions simultanées",value:n.value?n.value.peakOnlineWeek?.count??0:"â",sub:n.value?.peakOnlineWeek?`sur 7 jours, le ${X(n.value.peakOnlineWeek.at)}`:"sur 7 jours (relevé toutes les 5 minutes)"},{label:"Contributeurs",value:c.value?.contributors??"â",sub:c.value?`${c.value.contributorsPct}% des utilisateurs`:void 0},{label:"Admins",value:c.value?.admins??"â",sub:c.value?`${c.value.adminsPct}% des utilisateurs`:void 0},{label:"Comptes bannis",value:c.value?.bannedUsers??"â",sub:c.value?`${c.value.bannedUsersPct}% des utilisateurs`:void 0},{label:"Joueurs quiz",value:c.value?.quizPlayers??"â",sub:c.value?`${c.value.quizPlayersPct}% des utilisateurs`:void 0},{label:"Joueurs arena",value:c.value?.arenaPlayers??"â",sub:c.value?`${c.value.arenaPlayersPct}% des utilisateurs`:void 0},{label:"Bio renseignée",value:c.value?`${c.value.bioFilledPct}%`:"â",sub:"des utilisateurs"},{label:"Avatar renseigné",value:c.value?`${c.value.avatarFilledPct}%`:"â",sub:"des utilisateurs"},{label:"Bannière personnalisée",value:c.value?`${c.value.bannerFilledPct}%`:"â",sub:"des utilisateurs, pas celle de base"},{label:"Réseaux sociaux renseignés",value:c.value?`${c.value.socialsFilledPct}%`:"â",sub:"des utilisateurs"}]),ee=L(()=>[{label:"Questions actives",value:h.value?.questionsActive??"â",sub:h.value?`${h.value.questionsActivePct}% de ${h.value.questionsAll} au total`:void 0},{label:"Salles de quiz actives",value:h.value?.activeQuizRooms??"â",sub:h.value?`${h.value.quizRoomsActivePct}% du total`:void 0},{label:"Parties arena",value:h.value?.arenaGames??"â",sub:n.value?`+${W(n.value.arenaGamesPerDay)} cette semaine`:void 0,subClass:"text-green-500"},{label:"Contextes arena actifs",value:h.value?.arenaContextsActive??"â",sub:h.value?`${h.value.arenaContextsActivePct}% du total`:void 0},{label:"Sujets arena",value:h.value?.arenaSubjects??"â"}
1,{label:"Types de contexte",value:h.value?.arenaTypes??"â"}]),te=L(()=>[{label:"Formations publiées",value:m.value?.parcoursPublished??"â"},{label:"Formations à relire",value:m.value?.parcoursPendingReview??"â",to:"/admin/parcours/proposals",highlight:(m.value?.parcoursPendingReview??0)>0},{label:"Formations enregistrées",value:m.value?.parcoursFavoris??"â",sub:m.value?`${m.value.parcoursFavorisUserPct}% des utilisateurs`:void 0},{label:"Formations commencées",value:m.value?.parcoursStarted??"â",sub:m.value?`${m.value.parcoursStartedUserPct}% des utilisateurs`:void 0},{label:"Formations complétées",value:m.value?.parcoursCompletions??"â",sub:m.value?`${m.value.parcoursCompletionsUserPct}% des utilisateurs · ${m.value.parcoursCompletionsOfStartedPct}% des commencées`:void 0},{label:"Défis actifs",value:m.value?.defisActive??"â"},{label:"Défis complétés",value:m.value?.defiCompletions??"â",sub:m.value?`${m.value.defiCompletionsUserPct}% des utilisateurs`:void 0,subClass:"text-blue-500"},{label:"Arguments actifs",value:m.value?.arguments??"â"}]),se=L(()=>[{label:"Groupes locaux",value:x.value?.localGroups??"â",sub:x.value?`${x.value.localGroupsCompletenessPct}% de complétude moyenne`:void 0},{label:"Créateurs de contenu",value:x.value?.contentCreators??"â",sub:x.value?`${x.value.contentCreatorsCompletenessPct}% de complétude moyenne`:void 0},{label:"Ãlus & camarades",value:x.value?.camarades??"â",sub:x.value?`${x.value.camaradesCompletenessPct}% de complétude moyenne`:void 0},{label:"Médias",value:x.value?.media??"â",sub:"dans la médiathèque"},{label:"Suivi annuaire (moyenne)",value:x.value?`${x.value.annuaireFollowedUserAvgPct}%`:"â",sub:"des utilisateurs, tous types confondus"},{label:"Ont suivi un groupe local",value:x.value?`${x.value.localGroupsFollowedUserPct}%`:"â",sub:"des utilisateurs"},{label:"Ont suivi un créateur",value:x.value?`${x.value.contentCreatorsFollowedUserPct}%`:"â",sub:"des utilisateurs"},{label:"Ont suivi un élu",value:x.value?`${x.value.camaradesFollowedUserPct}%`:"â",sub:"des utilisateurs"}]),ae=L(()=>[{label:"Mobilisations actives",value:q.value?.mobilisationsActive??"â"},{label:"Panneaux d'affichage",value:q.value?.panneaux??"â"}]),le=L(()=>[{label:"Total à traiter",value:C.value?.totalPending??"â",highlight:(C.value?.totalPending??0)>0},{label:"Questions signalées",value:C.value?.pendingQuestionReports??"â",to:"/admin/reports"},{label:"Utilisateurs signalés",value:C.value?.pendingUserReports??"â",to:"/admin/user-reports"},{label:"Médias proposés",value:C.value?.pendingMediaProposals??"â",to:"/admin/mediatheque/proposals"},{label:"Groupes locaux proposés",value:C.value?.pendingLocalGroupProposals??"â",to:"/admin/camarades/groupes-locaux/proposals"},{label:"Actions militantes proposées",value:C.value?.pendingMilitantProposals??"â",to:"/admin/militant/proposals"}]);return(d,s)=>{const p=ne,v=ue,g=de,F=ce;return a(),M(F,null,{default:N(()=>[j(p,{crumbs:[{label:"Accueil",to:"/"},{label:"Admin",to:"/admin"},{label:"Statistiques"}]}),s[39]||(s[39]=e("h1",{class:"text-2xl font-bold mb-8"},"Statistiques",-1)),e("h2",pe,[j(v,{name:"profile-2user",size:14}),s[0]||(s[0]=y(" Communauté ",-1))]),e("div",be,[o(Y)&&!o(c)?(a(),l(i,{key:0},u(9,t=>e("div",{key:t,class:"bg-white border rounded-xl p-4"},[...s[1]||(s[1]=[e("div",{class:"h-3 w-20 bg-gray-200 rounded-full animate-pulse mb-2"},null,-1),e("div",{class:"h-6 w-12 bg-gray-200 rounded-full animate-pulse mb-1.5"},null,-1),e("div",{class:"h-3 w-24 bg-gray-200 rounded-full animate-pulse"},null,-1)])])),64)):(a(!0),l(i,{key:1},u(o(Z),t=>(a(),l("div",{key:t.label,class:"bg-white border rounded-xl p-4"},[e("p",me,r(t.label),1),e("p",xe,r(t.value),1),t.sub?(a(),l("p",{key:0,class:D(["text-xs mt-1 tabular-nums",t.subClass??"text-gray-400"])},r(t.sub),3)):w("",!0)]))),128))]),e("h2",ye,[j(v,{name:"game",size:14}),s[2]||(s[2]=y(" Multijoueur ",-1))]),e("div",ve,[o(E)&&!o(h)?(a(),l(i,{key:0},u(6,t=>e("div",{key:t,class:"bg-white border rounded-xl p-4"},[...s[3]||(s[3]=[e("div",{class:"h-3 w-20 bg-gray-200 rounded-full animate-pulse mb-2"},null,-1),e("div",{class:"h-6 w-12 bg-gray-200 rounded-full animate-pulse mb-1.5"},null,-1),e("div",{class:"h-3 w-24 bg-gray-200 rounded-full animate-pulse"},null,-1)])])),64)):(a(!0),l(i,{key:1},u(o(ee),t=>(a(),l("div",{key:t.label,class:"bg-white border rounded-xl p-4"},[e("p",ge,r(t.label),1),e("p",fe,r(t.value),1),t.sub?(a(),l("p",{key:0,class:D(["text-xs mt-1 tabular-nums",t.subClass??"text-gray-400"])},r(t.sub),3)):w("",!0)]))),128))]),e("h2",he,[j(v,{name:"teacher",size:14}),s[4]||(s[4]=y(" Apprentissage ",-1))]),e("div",_e,[o(H)&&!o(m)?(a(),l(i,{key:0},u(8,t=>e("div",{key:t,class:"bg-white border rounded-xl p-4"},[...s[5]||(s[5]=[e("div",{class:"h-3 w-20 bg-gray-200 rounded-full animate-pulse mb-2"},null,-1),e("div",{class:"h-6 w-12 bg-gray-200 rounded-full animate-pulse mb-1.5"},null,-1),e("div",{class:"h-3 w-24 bg-gray-200 rounded-full animate-pulse"},null,-1)])])),64)):(a(!0),l(i,{key:1},u(o(te),t=>(a(),l("div",{key:t.label,class:D(["bg-white border rounded-xl p-4",t.highlight?"border-orange-200 bg-orange-50":""])},[e("p",ke,r(t.label),1),e("p",{class:D(["text-2xl font-bold tabular-nums",t.highlight?"text-orange-600":"text-gray-900"])},r(t.value),3),t.sub?(a(),l("p",{key:0,class:D(["text-xs mt-1 tabular-nums",t.subClass??"text-gray-400"])},r(t.sub),3)):w("",!0),t.to?(a(),M(g,{key:1,to:t.to,class:D(["text-xs mt-1 inline-block hover:underline",t.highlight?"text-orange-500":"text-gray-400 hover:text-gray-600"])},{default:N(()=>[y(r(t.linkLabel??"Voir"),1)]),_:2},1032,["to","class"])):w("",!0)],2))),128))]),e("h2",we,[j(v,{name:"personalcard",size:14}),s[6]||(s[6]=y(" Annuaire ",-1))]),e("div",Pe,[o(I)&&!o(x)?(a(),l(i,{key:0},u(8,t=>e("div",{key:t,class:"bg-white border rounded-xl p-4"},[...s[7]||(s[7]=[e("div",{class:"h-3 w-20 bg-gray-200 rounded-full animate-pulse mb-2"},null,-1),e("div",{class:"h-6 w-12 bg-gray-200 rounded-full animate-pulse mb-1.5"},null,-1),e("div",{class:"h-3 w-24 bg-gray-200 rounded-full animate-pulse"},null,-1)])])),64)):(a(!0),l(i,{key:1},u(o(se),t=>(a(),l("div",{key:t.label,class:"bg-white border rounded-xl p-4"},[e("p",$e,r(t.label),1),e("p",De,r(t.value),1),t.sub?(a(),l("p",Ce,r(t.sub),1)):w("",!0)]))),128))]),e("h2",Fe,[j(v,{name:"location",size:14}),s[8]||(s[8]=y(" Terrain ",-1))]),e("div",je,[o(Q)&&!o(q)?(a(),l(i,{key:0},u(2,t=>e("div",{key:t,class:"bg-white border rounded-xl p-4"},[...s[9]||(s[9]=[e("div",{class:"h-3 w-20 bg-gray-200 rounded-full animate-pulse mb-2"},null,-1),e("div",{class:"h-6 w-12 bg-gray-200 rounded-full animate-pulse"},null,-1)])])),64)):(a(!0),l(i,{key:1},u(o(ae),t=>(a(),l("div",{key:t.label,class:"bg-white border rounded-xl p-4"},[e("p",Ue,r(t.label),1),e("p",Ae,r(t.value),1),t.sub?(a(),l("p",Ge,r(t.sub),1)):w("",!0)]))),128))]),e("h2",Be,[j(v,{name:"shield-tick",size:14}),s[10]||(s[10]=y(" Modération â à traiter ",-1))]),e("div",ze,[o(J)&&!o(C)?(a(),l(i,{key:0},u(6,t=>e("div",{key:t,class:"bg-white border rounded-xl p-4"},[...s[11]||(s[11]=[e("div",{class:"h-3 w-20 bg-gray-200 rounded-full animate-pulse mb-2"},null,-1),e("div",{class:"h-6 w-12 bg-gray-200 rounded-full animate-pulse"},null,-1)])])),64)):(a(!0),l(i,{key:1},u(o(le),t=>(a(),l("div",{key:t.label,class:D(["bg-white border rounded-xl p-4 transition-colors",t.highlight?"border-orange-200 bg-orange-50":""])},[e("p",Le,r(t.label),1),e("p",{class:D(["text-2xl font-bold tabular-nums",t.highlight?"text-orange-600":"text-gray-900"])},r(t.value),3),t.to?(a(),M(g,{key:0,to:t.to,class:D(["text-xs mt-1 inline-block hover:underline",t.highlight?"text-orange-500":"text-gray-400 hover:text-gray-600"])},{default:N(()=>
1[...s[12]||(s[12]=[y(" Voir ",-1)])]),_:1},8,["to","class"])):w("",!0)],2))),128))]),e("h2",Se,[j(v,{name:"chart-2",size:14}),s[13]||(s[13]=y(" Activité â 30 jours ",-1))]),e("div",Te,[o(K)&&!o(n)?(a(),l(i,{key:0},u(6,t=>e("div",{key:t,class:"bg-white border rounded-xl p-5"},[...s[14]||(s[14]=[e("div",{class:"flex items-start justify-between mb-3"},[e("div",{class:"h-4 w-28 bg-gray-200 rounded-full animate-pulse"}),e("div",{class:"h-5 w-10 bg-gray-200 rounded-full animate-pulse"})],-1),e("div",{class:"h-24 w-full bg-gray-100 rounded-lg animate-pulse"},null,-1)])])),64)):o(n)?(a(),l(i,{key:1},[e("div",qe,[e("div",Me,[s[16]||(s[16]=e("p",{class:"text-sm font-semibold text-gray-700"},"Inscriptions",-1)),e("div",Ne,[e("p",Re,r(S(o(n).usersPerDay)),1),s[15]||(s[15]=e("p",{class:"text-xs text-gray-400"},"sur 30 jours",-1))])]),k(o(n).usersPerDay)?(a(),l("p",Ve,[s[17]||(s[17]=y(" Pic : ",-1)),e("span",Oe,r(k(o(n).usersPerDay).count),1),y(" le "+r(k(o(n).usersPerDay).label),1)])):w("",!0),e("div",We,[(a(),l("svg",{viewBox:`0 0 ${b} ${f}`,class:"w-full"},[s[18]||(s[18]=e("defs",null,[e("linearGradient",{id:"grad-purple",x1:"0",y1:"0",x2:"0",y2:"1"},[e("stop",{offset:"0%","stop-color":"#7c3aed","stop-opacity":"0.15"}),e("stop",{offset:"100%","stop-color":"#7c3aed","stop-opacity":"0"})])],-1)),(a(!0),l(i,null,u(_(o(n).usersPerDay),t=>(a(),l("line",{key:t.y,x1:$,y1:t.y,x2:b-U,y2:t.y,stroke:"#f3f4f6","stroke-width":"1"},null,8,Ee))),128)),e("path",{d:B(o(n).usersPerDay),fill:"url(#grad-purple)"},null,8,He),e("path",{d:G(o(n).usersPerDay),fill:"none",stroke:"#7c3aed","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Ie)],8,Ye)),e("div",Qe,[(a(!0),l(i,null,u(_(o(n).usersPerDay),t=>(a(),l("span",{key:t.y,class:"absolute left-0 text-xs text-gray-400 tabular-nums leading-none",style:P({top:`${Number(t.y)/f*100}%`,transform:"translateY(-50%)"})},r(t.label),5))),128))])]),e("div",Je,[(a(!0),l(i,null,u(z(o(n).usersPerDay),t=>(a(),l("span",{key:t.label,class:"absolute text-xs text-gray-400 -translate-x-1/2 whitespace-nowrap",style:P({left:`${t.x/b*100}%`})},r(t.label),5))),128))])]),e("div",Ke,[e("div",Xe,[s[20]||(s[20]=e("p",{class:"text-sm font-semibold text-gray-700"},"Utilisateurs connectés",-1)),e("div",Ze,[e("p",et,r(o(n).connectedUsers30),1),s[19]||(s[19]=e("p",{class:"text-xs text-gray-400"},"différents sur 30 jours",-1))])]),s[22]||(s[22]=e("p",{class:"text-xs text-gray-400 mb-3"}," Venus sur le site, même sans rien faire (relevé depuis le 30 sept.) ",-1)),e("div",tt,[(a(),l("svg",{viewBox:`0 0 ${b} ${f}`,class:"w-full"},[s[21]||(s[21]=e("defs",null,[e("linearGradient",{id:"grad-sky",x1:"0",y1:"0",x2:"0",y2:"1"},[e("stop",{offset:"0%","stop-color":"#0284c7","stop-opacity":"0.15"}),e("stop",{offset:"100%","stop-color":"#0284c7","stop-opacity":"0"})])],-1)),(a(!0),l(i,null,u(_(o(n).connectedUsersPerDay),t=>(a(),l("line",{key:t.y,x1:$,y1:t.y,x2:b-U,y2:t.y,stroke:"#f3f4f6","stroke-width":"1"},null,8,at))),128)),e("path",{d:B(o(n).connectedUsersPerDay),fill:"url(#grad-sky)"},null,8,lt),e("path",{d:G(o(n).connectedUsersPerDay),fill:"none",stroke:"#0284c7","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ot)],8,st)),e("div",nt,[(a(!0),l(i,null,u(_(o(n).connectedUsersPerDay),t=>(a(),l("span",{key:t.y,class:"absolute left-0 text-xs text-gray-400 tabular-nums leading-none",style:P({top:`${Number(t.y)/f*100}%`,transform:"translateY(-50%)"})},r(t.label),5))),128))])]),e("div",rt,[(a(!0),l(i,null,u(z(o(n).connectedUsersPerDay),t=>(a(),l("span",{key:t.label,class:"absolute text-xs text-gray-400 -translate-x-1/2 whitespace-nowrap",style:P({left:`${t.x/b*100}%`})},r(t.label),5))),128))])]),e("div",it,[e("div",ut,[s[24]||(s[24]=e("p",{class:"text-sm font-semibold text-gray-700"},"Utilisateurs actifs",-1)),e("div",dt,[e("p",ct,r(o(n).activeUsers30),1),s[23]||(s[23]=e("p",{class:"text-xs text-gray-400"},"différents sur 30 jours",-1))])]),s[26]||(s[26]=e("p",{class:"text-xs text-gray-400 mb-3"}," Inscription, défi, formation ou partie arena ",-1)),e("div",pt,[(a(),l("svg",{viewBox:`0 0 ${b} ${f}`,class:"w-full"},[s[25]||(s[25]=e("defs",null,[e("linearGradient",{id:"grad-pink",x1:"0",y1:"0",x2:"0",y2:"1"},[e("stop",{offset:"0%","stop-color":"#db2777","stop-opacity":"0.15"}),e("stop",{offset:"100%","stop-color":"#db2777","stop-opacity":"0"})])],-1)),(a(!0),l(i,null,u(_(o(n).activeUsersPerDay),t=>(a(),l("line",{key:t.y,x1:$,y1:t.y,x2:b-U,y2:t.y,stroke:"#f3f4f6","stroke-width":"1"},null,8,mt))),128)),e("path",{d:B(o(n).activeUsersPerDay),fill:"url(#grad-pink)"},null,8,xt),e("path",{d:G(o(n).activeUsersPerDay),fill:"none",stroke:"#db2777","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,yt)],8,bt)),e("div",vt,[(a(!0),l(i,null,u(_(o(n).activeUsersPerDay),t=>(a(),l("span",{key:t.y,class:"absolute left-0 text-xs text-gray-400 tabular-nums leading-none",style:P({top:`${Number(t.y)
1/f*100}%`,transform:"translateY(-50%)"})},r(t.label),5))),128))])]),e("div",gt,[(a(!0),l(i,null,u(z(o(n).activeUsersPerDay),t=>(a(),l("span",{key:t.label,class:"absolute text-xs text-gray-400 -translate-x-1/2 whitespace-nowrap",style:P({left:`${t.x/b*100}%`})},r(t.label),5))),128))])]),e("div",ft,[e("div",ht,[s[28]||(s[28]=e("p",{class:"text-sm font-semibold text-gray-700"},"Parties arena",-1)),e("div",_t,[e("p",kt,r(S(o(n).arenaGamesPerDay)),1),s[27]||(s[27]=e("p",{class:"text-xs text-gray-400"},"sur 30 jours",-1))])]),k(o(n).arenaGamesPerDay)?(a(),l("p",wt,[s[29]||(s[29]=y(" Pic : ",-1)),e("span",Pt,r(k(o(n).arenaGamesPerDay).count),1),y(" le "+r(k(o(n).arenaGamesPerDay).label),1)])):w("",!0),e("div",$t,[(a(),l("svg",{viewBox:`0 0 ${b} ${f}`,class:"w-full"},[s[30]||(s[30]=e("defs",null,[e("linearGradient",{id:"grad-green",x1:"0",y1:"0",x2:"0",y2:"1"},[e("stop",{offset:"0%","stop-color":"#16a34a","stop-opacity":"0.15"}),e("stop",{offset:"100%","stop-color":"#16a34a","stop-opacity":"0"})])],-1)),(a(!0),l(i,null,u(_(o(n).arenaGamesPerDay),t=>(a(),l("line",{key:t.y,x1:$,y1:t.y,x2:b-U,y2:t.y,stroke:"#f3f4f6","stroke-width":"1"},null,8,Ct))),128)),e("path",{d:B(o(n).arenaGamesPerDay),fill:"url(#grad-green)"},null,8,Ft),e("path",{d:G(o(n).arenaGamesPerDay),fill:"none",stroke:"#16a34a","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,jt)],8,Dt)),e("div",Ut,[(a(!0),l(i,null,u(_(o(n).arenaGamesPerDay),t=>(a(),l("span",{key:t.y,class:"absolute left-0 text-xs text-gray-400 tabular-nums leading-none",style:P({top:`${Number(t.y)/f*100}%`,transform:"translateY(-50%)"})},r(t.label),5))),128))])]),e("div",At,[(a(!0),l(i,null,u(z(o(n).arenaGamesPerDay),t=>(a(),l("span",{key:t.label,class:"absolute text-xs text-gray-400 -translate-x-1/2 whitespace-nowrap",style:P({left:`${t.x/b*100}%`})},r(t.label),5))),128))])]),e("div",Gt,[e("div",Bt,[s[32]||(s[32]=e("p",{class:"text-sm font-semibold text-gray-700"},"Défis complétés",-1)),e("div",zt,[e("p",Lt,r(S(o(n).defiCompletionsPerDay)),1),s[31]||(s[31]=e("p",{class:"text-xs text-gray-400"},"sur 30 jours",-1))])]),k(o(n).defiCompletionsPerDay)?(a(),l("p",St,[s[33]||(s[33]=y(" Pic : ",-1)),e("span",Tt,r(k(o(n).defiCompletionsPerDay).count),1),y(" le "+r(k(o(n).defiCompletionsPerDay).label),1)])):w("",!0),e("div",qt,[(a(),l("svg",{viewBox:`0 0 ${b} ${f}`,class:"w-full"},[s[34]||(s[34]=e("defs",null,[e("linearGradient",{id:"grad-blue",x1:"0",y1:"0",x2:"0",y2:"1"},[e("stop",{offset:"0%","stop-color":"#2563eb","stop-opacity":"0.15"}),e("stop",{offset:"100%","stop-color":"#2563eb","stop-opacity":"0"})])],-1)),(a(!0),l(i,null,u(_(o(n).defiCompletionsPerDay),t=>(a(),l("line",{key:t.y,x1:$,y1:t.y,x2:b-U,y2:t.y,stroke:"#f3f4f6","stroke-width":"1"},null,8,Nt))),128)),e("path",{d:B(o(n).defiCompletionsPerDay),fill:"url(#grad-blue)"},null,8,Rt),e("path",{d:G(o(n).defiCompletionsPerDay),fill:"none",stroke:"#2563eb","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Vt)],8,Mt)),e("div",Ot,[(a(!0),l(i,null,u(_(o(n).defiCompletionsPerDay),t=>(a(),l("span",{key:t.y,class:"absolute left-0 text-xs text-gray-400 tabular-nums leading-none",style:P({top:`${Number(t.y)/f*100}%`,transform:"translateY(-50%)"})},r(t.label),5))),128))])]),e("div",Wt,[(a(!0),l(i,null,u(z(o(n).defiCompletionsPerDay),t=>(a(),l("span",{key:t.label,class:"absolute text-xs text-gray-400 -translate-x-1/2 whitespace-nowrap",style:P({left:`${t.x/b*100}%`})},r(t.label),5))),128))])]),e("div",Yt,[e("div",Et,[s[36]||(s[36]=e("p",{class:"text-sm font-semibold text-gray-700"},"Formations terminées",-1)),e("div",Ht,[e("p",It,r(S(o(n).parcoursCompletionsPerDay)),1),s[35]||(s[35]=e("p",{class:"text-xs text-gray-400"},"sur 30 jours",-1))])]),k(o(n).parcoursCompletionsPerDay)?(a(),l("p",Qt,[s[37]||(s[37]=y(" Pic : ",-1)),e("span",Jt,r(k(o(n).parcoursCompletionsPerDay).count),1),y(" le "+r(k(o(n).parcoursCompletionsPerDay).label),1)])):w("",!0),e("div",Kt,[(a(),l("svg",{viewBox:`0 0 ${b} ${f}`,class:"w-full"},[s[38]||(s[38]=e("defs",null,[e("linearGradient",{id:"grad-teal",x1:"0",y1:"0",x2:"0",y2:"1"},[e("stop",{offset:"0%","stop-color":"#0d9488","stop-opacity":"0.15"}),e("stop",{offset:"100%","stop-color":"#0d9488","stop-opacity":"0"})])],-1)),(a(!0),l(i,null,u(_(o(n).parcoursCompletionsPerDay),t=>(a(),l("line",{key:t.y,x1:$,y1:t.y,x2:b-U,y2:t.y,stroke:"#f3f4f6","stroke-width":"1"},null,8,Zt))),128)),e("path",{d:B(o(n).parcoursCompletionsPerDay),fill:"url(#grad-teal)"},null,8,es),e("path",{d:G(o(n).parcoursCompletionsPerDay),fill:"none",stroke:"#0d9488","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,8,ts)],8,Xt)),e("div",ss,[(a(!0),l(i,null,u(_(o(n).parcoursCompletionsPerDay),t=>(a(),l("span",{key:t.y,class:"absolute left-0 text-xs text-gray-400 tabular-nums leading-none",style:P({top:`${Number(t.y)
1/f*100}%`,transform:"translateY(-50%)"})},r(t.label),5))),128))])]),e("div",as,[(a(!0),l(i,null,u(z(o(n).parcoursCompletionsPerDay),t=>(a(),l("span",{key:t.label,class:"absolute text-xs text-gray-400 -translate-x-1/2 whitespace-nowrap",style:P({left:`${t.x/b*100}%`})},r(t.label),5))),128))])])],64)):w("",!0)])]),_:1})}}});export{ps 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.