PageSourceSearch

https://enc.hauts-de-seine.fr/en/chunk-DSXI2CYK.js

js hauts-de-seine.fr collected 2026-09-24 17:34:41 UTC 167,120 bytes, 2 lines download raw bytes

1import{b as ln}from"./chunk-LCUH5FHK.js";import{a as mi,b as ui}from"./chunk-ETTBMZB4.js";import"./chunk-UUQ7DCMT.js";import{a as wi}from"./chunk-QES5R7GA.js";import{a as Pt}from"./chunk-ZZ5T3GSC.js";import{a as Oi}from"./chunk-EEG55S2V.js";import{a as ft}from"./chunk-WQX5KLGL.js";import"./chunk-IU4PSJPC.js";import{a as Gt}from"./chunk-NOPZ65TO.js";import"./chunk-IJDNGRJN.js";import{a as Ei}from"./chunk-6EY4AFTZ.js";import{a as ee}from"./chunk-OXVJEXIL.js";import"./chunk-6MY545DX.js";import"./chunk-NCPRAU4C.js";import{a as Pi}from"./chunk-4M6EL2CS.js";import{a as Ai}from"./chunk-DAVWUX5B.js";import"./chunk-CPBHA3ZN.js";import"./chunk-KHH3NEBE.js";import"./chunk-NP6Z4VNU.js";import"./chunk-LIQ3D25S.js";import{a as di}from"./chunk-THPBMCV2.js";import"./chunk-BHXYHHEW.js";import"./chunk-T53XOZTX.js";import{a as yi,b as $i}from"./chunk-ZFRXZXNW.js";import{a as Ri}from"./chunk-VURVT2N7.js";import{e as pi}from"./chunk-J4CHHRBO.js";import{a as Ui}from"./chunk-RPFGY4SH.js";import{e as Ci}from"./chunk-PJ5YJAG6.js";import{a as sn}from"./chunk-ESQUMCQM.js";import{Ca as Di,Cc as Li,Da as hi,Ja as xi,hc as bi,kc as Ni,qc as vi,sa as Mi,za as Ii}from"./chunk-DXFTSFAB.js";import"./chunk-Z47DQBEN.js";import{d as Fi}from"./chunk-SBAGQ62G.js";import{a as On}from"./chunk-MTNVXSQT.js";import"./chunk-7YCRACS6.js";import"./chunk-4N25HCQJ.js";import"./chunk-IV6D3MD6.js";import{a as St,b as gi,c as At,d as Ti}from"./chunk-GCRQWMSH.js";import"./chunk-FZY6IQMO.js";import{a as ci}from"./chunk-L2LKYEF3.js";import"./chunk-K5GOHQVT.js";import"./chunk-DX67HTUS.js";import{a as Si}from"./chunk-FA2OGHVP.js";import{a as fi}from"./chunk-G33DTPCI.js";import"./chunk-VH5K2CIS.js";import{Kb as fe,Ob as Pn,Sb as ri,Yb as li,pc as si,sc as Ke}from"./chunk-ZHWEFV6F.js";import{k as An,l as fn}from"./chunk-3ZXI66IH.js";import{a as me,b as he,l as xe,o as Xe,p as Zn,s as ei,t as ze,u as ti}from"./chunk-JGOU25BT.js";import{b as de,d as ae,j as pe}from"./chunk-NB4OEQC7.js";import{a as K,e as We,f as He,j as gt,l as an,m as _n,o as Eo}from"./chunk-CVRUICUM.js";import{a as ni,b as ii,f as rn,la as Ae,t as Tt}from"./chunk-XKYAXNFE.js";import{Aa as oi,Eb as _i,H as Te,I as ut,K as on,L as Bt,M as k,Xa as ai,xa as je}from"./chunk-3IVA5JX7.js";import{a as v}from"./chunk-CTEXTQCJ.js";import{h as De,i as mt}from"./chunk-775YJCP7.js";import{A as Ct,E as nn,H as Et,h as Jn,m as Yn,n as Qn,r as tn,v as ce}from"./chunk-BXBU4EVG.js";import{Aa as jt,Ac as u,B as Xt,Ba as m,Bb as l,Bc as Ge,C as vn,Cc as it,Cd as ge,Dc as kn,Dd as ke,Ed as Qt,G as ue,Hc as D,Ia as g,Ic as Wn,J as yt,Ja as T,Jb as $n,Ld as Sn,M as zt,Mc as qt,Md as M,Nc as Jt,Nd as ot,Oa as Fn,Oc as A,Pc as le,Q as q,Qc as se,Sa as x,Sc as P,Sd as y,Tc as Hn,Td as Zt,Ub as L,Uc as s,Ud as qn,Vb as wn,Vc as Xn,Wb as Vn,Wc as zn,Wd as en,Yb as Be,Za as Ve,_b as Bn,ad as $t,bd as Yt,ed as J,gd as Y,hd as S,id as Ie,ja as tt,jd as R,kd as wt,ma as Ln,nd as ct,o as Nn,oc as Le,od as dt,p as we,pd as pt,qc as c,qd as gn,rd as Tn,sc as d,sd as Vt,tc as nt,uc as Gn,v as H,vb as Un,vc as X,wa as j,wb as Kt,wc as z,wd as jn,x as un,xa as Rn,xb as yn,xc as E,xd as N,yc as _,zb as st,zc as r,zd as Kn}from"./chunk-URAJCVFL.js";import{a as Se}from"./chunk-5LG52DZN.js";import{a as F,b as V,g as Ee}from"./chunk-VSLG5BUT.js";var mo=e=>[e,"global_libelle_text"];function uo(e,o){e&1&&(_(0,"div",2),u(1,"app-enej-loader"),r());}function go(e,o){if(e&1&&(_(0,"span",5),S(1),r(),_(2,"div",6)(3,"span",7),S(4),r(),_(5,"span",8),S(6),r()()),e&2){let t=o;l(),Ie(t.matiere),l(3),Ie(t.date),l(2),Ie(t.note);}}function To(e,o){if(e&1&&(_(0,"p",9),A(1,0),r()),e&2){let t=s(2);Y(N(3,mo,t.isMobile()?"global_widget-empty-txt-style-mobile":"global_widget-empty-txt-style")),l(),le(t.emptyLabel()),se(1);}}function So(e,o){e&1&&(_(0,"span",4),S(1),r()),e&2&&(l(),R(" ",o," "));}function Ao(e,o){if(e&1&&(c(0,go,7,3)(1,To,2,5,"p",3),c(2,So,2,1,"span",4)),e&2){let t,n,i=s();d((t=i.items()[0])?0:1,t),l(2),d((n=i.additionalItems())?2:-1,n);}}var Ot=(()=>{let o=class o{constructor(){this.checkScreenFacade=m(fe),this.items=y.required(),this.emptyLabel=y("Aucun \xE9l\xE9ment \xE0 afficher"),this.isLoading=y(!1),this.additionalItems=M(()=>{let n=this.items();if(n.length<=1)return"";let i=n[0].date.toLowerCase(),a=n.slice(1),p=a.length,C=p>1?"autres":"autre",f=a.filter(h=>h.date.toLowerCase()===i).length;return f===p?`+${p} ${C} ${i}`:f>0?`+${p} ${C} dont ${f} ${i}`:`+${p} ${C} sur 14 jours`;}),this.isMobile=this.checkScreenFacade.isMobile;}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget-content-note"]],inputs:{items:[1,"items"],emptyLabel:[1,"emptyLabel"],isLoading:[1,"isLoading"]},decls:3,vars:1,consts:()=>{let n;return n="\n          "+"\uFFFD0\uFFFD"+"\n        ",[n,[1,"widget-content"],[1,"loader"],["id","id_widget_content_no_item",3,"class"],[1,"more-items"],[1,"global_txt-style-default"],[1,"note-content"],[1,"date"],[1,"note"],["id","id_widget_content_no_item"]];},template:function(i,a){i&1&&(_(0,"div",1),c(1,uo,2,0,"div",2)(2,Ao,3,2),r()),i&2&&(l(),d(a.isLoading()?1:2));},dependencies:[ee],styles:[".widget-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:6px}.widget-content[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{overflow:hidden;color:var(--text-medium);text-overflow:ellipsis;font-family:Inter;font-size:12px;font-style:normal;font-weight:400;line-height:16px;letter-spacing:-.06px}.widget-content[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{color:var(--additional-yellow);text-align:center;font-family:Inter;font-size:12px;font-style:normal;font-weight:600;line-height:normal;letter-spacing:-.12px;background-color:var(--text-white);padding:4px 2px;border-radius:4px;box-shadow:0 1.6px 3.6px #00000021,0 .3px .9px #0000001c}.widget-content[_ngcontent-%COMP%]   .more-items[_ngcontent-%COMP%]{overflow:hidden;color:var(--text-alternative-1-darker);text-overflow:ellipsis;white-space:nowrap;font-family:Inter;font-size:12px;font-style:normal;font-weight:500;line-height:normal;letter-spacing:-.06px}.widget-content[_ngcontent-%COMP%]   .note-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center}.loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%}"]});let e=o;return e;})();var fo=e=>[e,"header"],Mt=(()=>{let o=class o{constructor(){this.metierContexte=m(v),this.is1DInterface=k(this.metierContexte.is1DInterface$,{initialValue:!1});}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-dashboard-news-header"]],decls:3,vars:4,consts:()=>{let n;return n="\xC0 la une",[n,["id","id_acces_TitreText",1,"title"]];},template:function(i,a){i&1&&(Ge(0,"div")(1,"h2",1),A(2,0),it()()),i&2&&Y(N(2,fo,a.is1DInterface()?"header_1d":"header_2d"));},styles:['[_nghost-%COMP%]{display:contents}.header[_ngcontent-%COMP%]{width:100%;height:220px;background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;align-items:flex-end;border-radius:10px}.header_1d[_ngcontent-%COMP%]{background-image:url("./media/actualities-1d-NTOYIBFD.webp")}.header_2d[_ngcontent-%COMP%]{background:linear-gradient(0deg,#0000004d 0% 100%),url("./media/actualities-2d-TJDWBI23.webp");background-size:cover;background-position:center;border-radius:10px}.header[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--text-white)}.title[_ngcontent-%COMP%]{font-size:28px;padding-left:12px;padding-bottom:36px}@media screen and (max-width:767px){.header[_ngcontent-%COMP%]{background-image:none;height:auto}.title[_ngcontent-%COMP%]{color:var(--text-strong)!important;font-size:20px;padding:0 0 32px}}']});let e=o;return e;})();var Mn=Ee(Se());var Oo=(e,o,t)=>({oneCard:e,manyCards:o,expired:t});
1function Mo(e,o){if(e&1&&(_(0,"span",6),S(1),r()),e&2){let t=s();l(),R(" ",t.information().libelleEtab," ");}}function Io(e,o){e&1&&(_(0,"span",7),A(1,0),r());}function Do(e,o){e&1&&(_(0,"span",8),A(1,1),r());}function ho(e,o){if(e&1&&(_(0,"div",10),u(1,"img",13),_(2,"span",14),S(3),ge(4,"date"),r()()),e&2){let t=s();l(3),R(" ",Qt(4,1,t.information().openedDate,"mediumDate")," ");}}function xo(e,o){e&1&&(_(0,"div",12),u(1,"img",15),r());}function bo(e,o){if(e&1&&(_(0,"div",12),u(1,"img",16),r()),e&2){let t=s();l(),E("src",t.urlCoverImage(),Kt);}}var Vi=(()=>{let o=class o{constructor(){this.router=m(De),this.apiInformation=m(sn),this.metierContexte=m(v),this.dnmaService=m(de),this.xpiService=m(ae),this.metierRights=m(pe),this.previewService=m(ci),this.destroyRef=m(Fn),this.COVER_LABEL="CoverImage_",this.information=y.required(),this.hasMoreThanOne=y(!1),this.urlCoverImage=x(""),this.rightDeleteAndModify=x(!1),this.is1DInterface=k(this.metierContexte.is1DInterface$,{initialValue:!1});}ngOnInit(){let n=this.information().items;if(n&&n.filter(p=>p.libelle?.startsWith(this.COVER_LABEL)).length>0){let p=n.filter(C=>C.libelle?.startsWith(this.COVER_LABEL))[0];this.previewService.getCovertImageUrl$(p._id).pipe(q(1)).subscribe(C=>this.urlCoverImage.set(C));}this.information().isExpired=(0,Mn.default)(this.information().expiredDate).isBefore((0,Mn.default)(),"day");let i=this.metierRights.whereCanI("TABAFF_DROIT_MODIFIER_INFOS_PERSETAB_ETAB"),a=this.information()._createdBy?._id===this.metierContexte.userCourant$.value.id;this.rightDeleteAndModify.set(a||i.includes(this.information().uai??""));}ngOnDestroy(){let n=this.urlCoverImage();n&&URL.revokeObjectURL(n);}openActu(){this.information().read?this.router.navigate(["actualites",this.information()._id],{state:{backPath:"dashboard"}}):this.apiInformation.readInfo({aId:this.information()._id,aRead:!0}).pipe(on(this.destroyRef)).subscribe(()=>{this.router.navigate(["actualites",this.information()._id],{state:{backPath:"dashboard"}});}),this.dnmaService.onClickAcces("actualites","Accueil","Actualit\xE9s","Consultation_actualit\xE9").pipe(q(1)).subscribe(),this.xpiService.onClickAcces("actualites").pipe(q(1)).subscribe();}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-actuality"]],inputs:{information:[1,"information"],hasMoreThanOne:[1,"hasMoreThanOne"]},decls:13,vars:12,consts:()=>{let n;n=" Community ";let i;return i=" Expir\xE9e ",[n,i,["role","article","tabindex","0",1,"content_card","pointer",3,"click","ngClass"],[1,"content"],[1,"content-left"],[1,"row_title_buttons"],[1,"libelle_tag","global_txt-style-default"],[1,"libelle_collectivite","global_txt-style-default"],[1,"libelle_exp"],["id","card-title",1,"global_libelle_text","title","libelle_title"],[1,"footer"],[1,"content-right"],[1,"bloc_image"],["ngSrc","assets/1d/icons/icon_date_1d.svg","width","16","height","16","alt","Date icon"],[1,"libelle_calendar","global_subtxt-style"],["ngSrc","assets/ressources/illus_actu.jpg","width","282","height","100","alt","",1,"tile_image"],["alt","",1,"tile_image",3,"src"]];},template:function(i,a){i&1&&(_(0,"mat-card",2),P("click",function(){return a.openActu();}),_(1,"div",3)(2,"div",4)(3,"div",5),c(4,Mo,2,1,"span",6),c(5,Io,2,0,"span",7),c(6,Do,2,0,"span",8),_(7,"div",9),S(8),r()(),c(9,ho,5,4,"div",10),r(),_(10,"div",11),c(11,xo,2,0,"div",12)(12,bo,2,1,"div",12),r()()()),i&2&&(E("ngClass",Kn(8,Oo,!a.hasMoreThanOne,a.hasMoreThanOne,a.information().isExpired)),Le("aria-labelledby",`actuBloc-titre${a.information()._id}`),l(4),d(!a.information().isFromCollectivity&&!a.information().isExpired?4:-1),l(),d(a.information().isFromCollectivity&&!a.information().isExpired?5:-1),l(),d(a.information().isExpired?6:-1),l(2),R("",a.information().libelle," "),l(),d(a.information().hasDestinataires?9:-1),l(2),d(a.urlCoverImage()?12:11));},dependencies:[rn,Ke,ce,Jn,Ct,tn],styles:[".content_card[_ngcontent-%COMP%]{display:flex;padding:12px;align-items:flex-start;gap:var(--number-spacing-small);border:2px solid transparent;margin-bottom:12px}.content_card[_ngcontent-%COMP%]:hover{background-color:var(--button-secondary-active-background);border:2px solid var(--button-secondary-active-color)}.content_card[_ngcontent-%COMP%]:hover   .libelle_title[_ngcontent-%COMP%], .content_card[_ngcontent-%COMP%]:hover   .libelle_c
1alendar[_ngcontent-%COMP%]{color:var(--button-secondary-active-color)}.content_card[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{display:flex;gap:12px;width:100%}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]{display:flex;width:240px;min-width:240px;flex-shrink:0;flex-direction:column;justify-content:space-between}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .row_title_buttons[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:6px}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .libelle_tag[_ngcontent-%COMP%]{padding:2px 6px;border-radius:6px;color:var(--additional-yellow);background-color:var(--additional-yellow-background);font-weight:600;-webkit-line-clamp:1!important;line-clamp:1!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-height:20px;font-size:14px}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .libelle_collectivite[_ngcontent-%COMP%]{background-color:#ddf0f8;color:#1d7296;padding:2px 6px;border-radius:6px;font-weight:600;-webkit-line-clamp:1!important;line-clamp:1!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-height:20px;font-size:14px}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .libelle_exp[_ngcontent-%COMP%]{background-color:var(--status-error-background);color:var(--status-error-text);padding:2px 6px;border-radius:6px;font-weight:600;-webkit-line-clamp:1!important;line-clamp:1!important;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;line-height:20px;font-size:14px}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{-webkit-line-clamp:2!important;line-clamp:2!important;margin:8px 0;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;font-weight:700}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]{display:flex;gap:4px;align-items:center}.content_card[_ngcontent-%COMP%]   .content-left[_ngcontent-%COMP%]   .footer[_ngcontent-%COMP%]   .libelle_calendar[_ngcontent-%COMP%]{color:var(--text-medium)}.content_card[_ngcontent-%COMP%]   .content-right[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;min-width:0;flex:1}.content_card[_ngcontent-%COMP%]   .bloc_image[_ngcontent-%COMP%]{min-width:0;max-width:282px;width:100%;height:100px;overflow:hidden;border-radius:8px}.content_card[_ngcontent-%COMP%]   .tile_image[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;object-position:center center}"]});let e=o;return e;})();var No=(e,o)=>o._id;function vo(e,o){if(e&1){let t=D();_(0,"div",4)(1,"h3",7),A(2,0),r(),_(3,"button",8),P("click",function(){g(t);let i=s();return T(i.createNewActu());}),_(4,"mat-icon",9),S(5,"ic-plus"),r(),_(6,"span"),A(7,1),r()()();}}function Lo(e,o){if(e&1&&u(0,"app-actuality",11),e&2){let t=o.$implicit;E("information",t);}}function Ro(e,o){e&1&&(_(0,"div"),A(1,2),r());}function Fo(e,o){if(e&1&&(_(0,"div",5)(1,"div",10),X(2,Lo,1,1,"app-actuality",11,No,!1,Ro,2,0,"div"),r()()),e&2){let t=s();l(2),z(t.informations());}}function Uo(e,o){e&1&&(_(0,"div",6),u(1,"app-enej-loader"),r());}var Bi=(()=>{let o=class o{constructor(){this.contexteService=m(v),this.apiInformations=m(sn),this.metierRights=m(pe),this.dnmaService=m(de),this.router=m(De),this.is1DInterface=k(this.contexteService.is1DInterface$,{initialValue:!1}),this.filArianne=[{libelle:"Back",url:["dashboard"]}],this.informations=x([]),this.start=x(0),this.limit=10,this.rightCreateActu=M(()=>this.metierRights.canIAny("TABAFF_DROIT_CREER_INFOS_ETAB")||this.metierRights.canIAny("TABAFF_DROIT_CREER_INFOS_COLLECTIVITE")),this.actuLoaded=x(!1),this.disabledShowMoreButton=x(!1),this.displayShowMore=x(!1);}ngOnInit(){this.showMore(!0);}showMore(n=!1){let i=this.metierRights.canIAny("TABAFF_DROIT_CREER_INFOS_ETAB")||this.metierRights.canIAny("TABAFF_DROIT_CREER_INFOS_COLLECTIVITE");n||this.disabledShowMoreButton.set(!0),this.apiInformations.getInfosByLecteurId({aLecteurId:this.contexteService.userCourant$.value.id,start:this.start(),limit:this.limit,activeState:+Oi.ALLME,allInformations:i,aFromEnej:!0}).subscribe(a=>{this.informations.update(p=>[...p,...a]),this.actuLoaded.set(!0),this.displayShowMore.set(a.length===this.limit),this.start.update(p=>p+this.limit),this.disabledShowMoreButton.set(!0);});}track(){let n=window.pageYOffset,i=window.innerHeight,a=document.body.scrollHeight;this.displayShowMore()&&n+i===a&&this.showMore();}createNewActu(){this.dnmaService.onClickAcces("actualites","Accueil","Actualit\xE9s","Cr\xE9ation_actualit\xE9").pipe(q(1)).subscribe(),this.router.navigate(["actualites","new","edit"]);}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-actuality-list"]],hostBindings:function(i,a){i&1&&P("scroll",function(){return a.track();},st);},decls:4,vars:3,consts:()=>{let n;n="Nouvelle actualit\xE9";let i;i="News";let a;a="Nouvelle actualit\xE9";let p;return p=" Aucune publication. ",[i,a,p,["tabindex","-1","aria-describedby","id_actualites_list",1,"section"],[1,"rubrique_actualite_title"],[1,"main_bloc"],[1,"bloc_loader"],["id","id_actualites_TitreText"],["mat-stroked-button","","color","primary","aria-label",n,"type","button",3,"click"],["fontSet","enej",1,"global_icon_button"],["role","presentation"],[3,"information"]];},template:function(i,a){i&1&&(_(0,"section",3),c(1,vo,8,0,"div",4),c(2,Fo,5,1,"div",5),r(),c(3,Uo,2,0,"div",6)),i&2&&(l(),d(a.rightCreateActu()?1:-1),l(),d(a.actuLoaded()?2:-1),l(),d(a.actuLoaded()?-1:3));},dependencies:[Vi,ee,Te,je],styles:[".section[_ngcontent-%COMP%]{margin-top:12px}.bloc_loader[_ngcontent-%COMP%]{margin:12px 0;display:flex;justify-content:center}.rubrique_actualite_title[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;margin:8px 0}"]});let e=o;return e;})();var yo=["loadMoreMarker"],$o=["description"],wo=()=>({});
1function Vo(e,o){if(e&1&&(_(0,"span",18),S(1),r()),e&2){let t=s();l(),R(" ",t.actu().libelleEspace," - ");}}function Bo(e,o){if(e&1&&(_(0,"div",20),S(1),r()),e&2){let t=s();l(),R(" ",t.actu().libelle," ");}}function Go(e,o){e&1&&(_(0,"div",22),A(1,4),r());}function ko(e,o){if(e&1&&(_(0,"div",23),u(1,"app-enej-image-grid",32),r()),e&2){let t=s();l(),E("attachment",t.items());}}function Wo(e,o){if(e&1&&u(0,"img",24),e&2){let t=s();E("ngSrc",t.actu().vignette);}}function Ho(e,o){e&1&&(u(0,"img",40),_(1,"span",41),A(2,5),r());}function Xo(e,o){e&1&&(_(0,"mat-icon",42),S(1," ic-thumbs-up "),r(),_(2,"span",43),A(3,6),r());}function zo(e,o){if(e&1){let t=D();_(0,"div",39),P("click",function(i){g(t);let a=s(2);return a.onLikeActu(a.actu()),T(i.stopPropagation());})("keyup.enter",function(i){g(t);let a=s(2);return a.onLikeActu(a.actu()),T(i.stopPropagation());}),c(1,Ho,3,0)(2,Xo,4,0),r();}if(e&2){let t=s(2);Le("aria-label",t.actu().jaimeByMe?"J'aime":"Je n'aime pas"),l(),d(t.actu().jaimeByMe?1:2);}}function jo(e,o){e&1&&(_(0,"mat-icon",44),S(1,"ic-keep-fill"),r(),_(2,"span",45),A(3,7),r());}function Ko(e,o){e&1&&(_(0,"mat-icon",46),S(1,"ic-keep"),r(),_(2,"span",43),A(3,8),r());}function qo(e,o){if(e&1){let t=D();_(0,"div",39),P("click",function(i){g(t);let a=s(3);return a.onPinActu(a.actu()),T(i.stopPropagation());})("keyup.enter",function(i){g(t);let a=s(3);return a.onPinActu(a.actu()),T(i.stopPropagation());}),c(1,jo,4,0)(2,Ko,4,0),r();}if(e&2){let t=s(3);Le("aria-label",t.canPinActu()?"\xC9pingler":"D\xE9tacher"),l(),d(t.actu().epingle?1:2);}}function Jo(e,o){e&1&&(_(0,"div",35)(1,"mat-icon",47),S(2,"ic-keep-fill"),r(),_(3,"span",45),A(4,9),r()());}function Yo(e,o){if(e&1&&c(0,qo,3,2,"div",34)(1,Jo,5,0,"div",35),e&2){let t=s(2);d(t.canPinActu()?0:t.actu().epingle?1:-1);}}function Qo(e,o){e&1&&S(0,"commentaire");}function Zo(e,o){e&1&&S(0,"commentaire");}function ea(e,o){e&1&&S(0,"commentaires");}function ta(e,o){if(e&1&&(_(0,"div",35)(1,"mat-icon",46),S(2," ic-message-circle "),r(),_(3,"span",48),S(4),Bn(5,Qo,1,0,"ng-template",49)(6,Zo,1,0,"ng-template",50)(7,ea,1,0,"ng-template",51),r()()),e&2){let t=s(2);l(3),E("ngPlural",t.actu().nbCommentaires),l(),R(" ",t.actu().nbCommentaires," ");}}function na(e,o){if(e&1&&(_(0,"div",37)(1,"mat-icon",52),S(2," ic-paper-clip "),r(),_(3,"span",53),S(4),r(),_(5,"span",54),S(6),_(7,"span"),A(8,10),r()()()),e&2){let t=s(2);l(4),R(" ",t.PJCount()," "),l(2),R(" ",t.PJCount()," ");}}function ia(e,o){if(e&1&&(_(0,"div",38),u(1,"img",55),_(2,"span",56),S(3),r()()),e&2){let t=s(2);E("matTooltip",t.getTooltipLike(t.actu())),l(3),R(" ",t.libelleLikes()," ");}}function oa(e,o){if(e&1&&(_(0,"div",33),c(1,zo,3,2,"div",34),c(2,Yo,2,1),c(3,ta,8,2,"div",35),_(4,"div",36),c(5,na,9,2,"div",37),c(6,ia,4,2,"div",38),r()()),e&2){let t,n=s();J("global_fullscreen",(n.actu().nbCommentaires??0)===0&&(((t=n.actu().items)==null?null:t.length)??0)===0&&!n.enableEspace()),l(),d(n.enableEspace()?1:-1),l(),d(n.enableEspace()?2:-1),l(),d(n.actu().nbCommentaires&&n.actu().nbCommentaires>0?3:-1),l(2),d(n.PJCount()?5:-1),l(),d(n.actu().jaimeBy&&n.actu().jaimeBy.length>0?6:-1);}}function aa(e,o){if(e&1&&(_(0,"div",57),u(1,"img",55),_(2,"span",56),S(3),r()()),e&2){let t,n=s();J("border_likes_mobile",n.enableEspace()||(n.actu().nbCommentaires??0)>0||(((t=n.actu().items)==null?null:t.length)??0)>0),l(3),R(" ",n.libelleLikes()," ");}}function _a(e,o){e&1&&u(0,"div",30,1);}var ra=183,Gi=(()=>{let o=class o{constructor(){this.router=m(De),this.store=m(xe),this.dnmaService=m(de),this.metierContexte=m(v),this.fileLib=m(an),this.xApiService=m(ae),this.actu=y.required(),this.espace=y(),this.enableEspace=y(!1),this.index=y(0),this.loadMoreMarkers=qn("loadMoreMarker"),this.description=Zt("description"),this.lastLoadedIndex=x(-1),this.showVoirPlus=x(!1),this.libelleLikes=x(""),this.items=x([]),this.PJCount=x(0),this.canPinActu=this.store.selectSignal(vi),$n(()=>{(this.description()?.nativeElement.scrollHeight??0)>=ra&&this.showVoirPlus.set(!0);});}ngOnInit(){this.libelleLikes.set(Li(this.actu(),this.metierContexte.userCourant$.value.id??"")),this.PJC
1ount.set(this.actu().items?.filter(i=>!i.isMedia)?.length??0);let n=this.actu().items?.filter(i=>i.isMedia&&an.listeExtensionsMediaImages.includes(this.fileLib.getExtensionFichier(i.libelle??"")));this.items.set(an.normalizeAttachments({existingItems:n}));}checkForLoadMore(){this.loadMoreMarkers().forEach((n,i)=>{let a=i*5+4;n.nativeElement.getBoundingClientRect().top<window.innerHeight&&this.lastLoadedIndex()<a&&(this.lastLoadedIndex.set(a),this.store.dispatch(Ii()));});}openActu(n){this.enableEspace()||(this.dnmaService.onClickAcces("espaces","Accueil","Espaces collaboratifs","Consultation_publications").pipe(q(1)).subscribe(),this.xApiService.onClickAcces("espaces").pipe(q(1)).subscribe());let i=n.idEspace??this.espace()?._id;this.router.navigate(["espaces",i??"","publications",n._id??""],{state:{backPath:"dashboard"}});}onLikeActu(n){if(this.enableEspace())this.espace()&&this.canLike(this.espace())&&this.store.dispatch(hi({aActualite:n}));else{let i=n.idEspace??this.espace()?._id;this.router.navigate(["espaces",i,"publications",n._id],{state:{backPath:"dashboard"}});}}onPinActu(n){this.store.dispatch(xi({aActualite:n}));}getTooltipLike(n){let i="";return n.jaimeBy&&n.jaimeBy.length>0&&n.jaimeBy.forEach(a=>{i+=a.nomaffiche+`
2`;}),i;}canLike(n){return n.isAdmin||n.isModerateur||n.isContributeurLibre?!0:((n.services?.find(p=>p.type===Ri.ACTU)??{}).options?.find(p=>p.id==="autoriseLike")??{}).checkDefault;}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-recent-space-actualities"]],viewQuery:function(i,a){i&1&&($t(a.loadM
2oreMarkers,yo,5),$t(a.description,$o,5)),i&2&&Yt(2);},hostBindings:function(i,a){i&1&&P("scroll",function(){return a.checkForLoadMore();},st);},inputs:{actu:[1,"actu"],espace:[1,"espace"],enableEspace:[1,"enableEspace"],index:[1,"index"]},decls:33,vars:22,consts:()=>{let n;n="Ouvrir l'actualit\xE9";let i;i="Lire plus";let a;a=""+"\uFFFD0\uFFFD"+", et 5 autres \xE9l\xE9ments";let p;p="Voir plus";let C;C=" J'aime ";let f;f=" J'aime ";let h;h=" \xC9pingl\xE9e ";let O;O=" \xC9pingler ";let b;b=" \xC9pingl\xE9e ";let U;return U="pi\xE8ces jointes",[["description",""],["loadMoreMarker",""],i,a,p,C,f,h,O,b,U,["tabindex","0","role","article",1,"card","card_actu","pointer",3,"click"],[1,"bloc_left"],["aria-hidden","true",1,"global_round_avatar","avatar"],[1,"bloc_right"],[1,"bloc_infos"],[1,"global_subtitle_1","libelle_auteur"],[1,"libelle_espace_date"],[1,"global_subtitle_2","libelle_espace"],[1,"global_subtitle_2_medium","libelle_espace"],[1,"bloc_title_actu","global_standard_bold"],[1,"bloc_description","global_standard_regular",3,"innerHTML"],[1,"see_more","global_standard_regular"],[1,"bloc_image"],["alt","",1,"tile_image",3,"ngSrc"],[1,"bloc_icons",3,"global_fullscreen"],[1,"bloc_likes_mobile","global_mobile",3,"border_likes_mobile"],["role","link","aria-label",n,1,"global_hide_label",3,"keyup.enter"],[1,"global_libelle_text_action_500","libelle_show_more"],["fontSet","enej",1,"icon_arrow"],[1,"load-more-trigger"],["aria-hidden","true",1,"global_hide_label"],[3,"attachment"],[1,"bloc_icons"],["tabindex","0","role","button",1,"bloc_add_like"],[1,"bloc_comments"],[1,"bloc_pj_likes"],[1,"bloc_pj"],["matTooltipPosition","above","matTooltipClass","above global_tooltip_list",1,"bloc_likes","global_fullscreen",3,"matTooltip"],["tabindex","0","role","button",1,"bloc_add_like",3,"click","keyup.enter"],["width","14","height","14","ngSrc","assets/icons/icon_like.svg","alt","",1,"icon_liked"],["ci18n","",1,"global_small_bold","libelle_liked"],["fontSet","enej",1,"icon_not_liked"],["ci18n","",1,"global_small_regular","libelle_not_liked"],["fontSet","enej",1,"icon_liked"],["ci18n","",1,"global_small_bold","libelle_epinglee"],["fontSet","enej",1,"icon_comment"],["fontSet","enej",1,"icon_epinglee_lecteur"],["ci18n","",1,"global_small_regular","libelle_comment",3,"ngPlural"],["ngPluralCase","0"],["ngPluralCase","1"],["ngPluralCase","other"],["fontSet","enej",1,"icon_pj"],["aria-hidden","true",1,"global_small_regular","libelle_pj"],[1,"global_hide_label"],["width","14","height","14","ngSrc","assets/icons/icon_like.svg","alt",""],["aria-hidden","true",1,"global_small_regular","libelle_likes"],[1,"bloc_likes_mobile","global_mobile"]];},template:function(i,a){if(i&1){let p=D();_(0,"mat-card",11),P("click",function(){return g(p),T(a.openActu(a.actu()));}),_(1,"div",12)(2,"div",13),S(3),ge(4,"initiales"),r()(),_(5,"div",14)(6,"div",15)(7,"div",16),S(8),r(),_(9,"div",17),c(10,Vo,2,1,"span",18),_(11,"span",19),S(12),ge(13,"dateRelative"),r()()(),c(14,Bo,2,1,"div",20),_(15,"div"),u(16,"div",21,0),ge(18,"cleanHtml"),c(19,Go,2,0,"div",22),r(),c(20,ko,2,1,"div",23)(21,Wo,1,1,"img",24),c(22,oa,7,7,"div",25),c(23,aa,4,3,"div",26),_(24,"div",27),P("keyup.enter",function(){return g(p),T(a.openActu(a.actu()));}),_(25,"span",28),A(26,2),r(),_(27,"mat-icon",29),S(28,"ic-arrow-right"),r()()(),c(29,_a,2,0,"div",30),_(30,"div",31)(31,"span"),A(32,3),r()()();}if(i&2){let p,C;Le("aria-labelledby",`actuBloc-${a.actu()._id}`),l(3),R(" ",ke(4,15,a.actu()._createdBy??jn(21,wo))," "),l(5),wt(" ",(p=a.actu()._createdBy)==null?null:p.prenom," ",(p=a.actu()._createdBy)==null?null:p.nom," "),l(2),d(a.actu().libelleEspace?10:-1),l(2),R(" ",ke(13,17,a.actu()._createdDate)," "),l(2),d(a.actu().libelle?14:-1),l(2),E("innerHTML",ke(18,19,a.actu().description??""),Un),l(3),d(a.showVoirPlus()?19:-1),l(),d(a.items()&&a.items().length>0?20:a.actu().vignette&&a.actu().vignette!==""?21:-1),l(2),d(a.enableEspace()||(a.actu().nbCommentaires??0)>0||(((C=a.actu().jaimeBy)==null?null:C.length)??0)>0||(((C=a.actu().items)==null?null:C.length)??0)>0?22:-1),l(),d(a.actu().jaimeBy&&a.actu().jaimeBy.length>0?23:-1),l(6),d(!a.enableEspace()&&a.index()!==void 0&&a.index()%5===4?29:-1),l(),Le("id",`actuBloc-${a.actu()._id}`),l(2),le(a.actu().libelle),se(32);}},dependencies:[rn,Te,_i,Pi,ce,Yn,Qn,Ke,Ct,ri,si,li],styles:['.card_actu[_ngcontent-%COMP%]{padding:12px;width:100%;height:100%;margin-bottom:12px;border-radius:8px;flex-direction:row;box-shadow:none!important;display:flex;align-items:flex-start;border:2px solid transparent;gap:8px}.card_actu[_ngcontent-%COMP%]:hover{background-color:var(--button-secondary-active-background);border:2px solid var(--button-secondary-active-color)}
2.card_actu[_ngcontent-%COMP%]   .avatar[_ngcontent-%COMP%]{margin-right:0}.card_actu[_ngcontent-%COMP%]   .liked[_ngcontent-%COMP%]{color:var(--action-primary-default)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch;width:100%}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_infos[_ngcontent-%COMP%]{display:flex;flex-direction:column}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_infos[_ngcontent-%COMP%]   .libelle_espace[_ngcontent-%COMP%]{font-weight:400}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_title_actu[_ngcontent-%COMP%]{margin-top:8px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_image[_ngcontent-%COMP%]{width:100%}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_description[_ngcontent-%COMP%]{color:var(--text-medium)!important;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:9;-webkit-box-orient:vertical;line-height:20.02px!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_description[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]:after{content:"";display:block;height:10px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .see_more[_ngcontent-%COMP%]{color:var(--action-primary-default)!important;cursor:pointer}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]{display:flex;height:40px;gap:12px;align-items:center;align-self:stretch;flex-wrap:wrap}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;cursor:pointer;padding:6px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]   .icon_liked[_ngcontent-%COMP%]{min-width:14px;font-size:14px;color:var(--text-alternative)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]   .libelle_liked[_ngcontent-%COMP%]{color:#d5520d!important;line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]   .icon_not_liked[_ngcontent-%COMP%]{font-size:14px;min-width:14px;height:14px;color:var(--text-medium)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]   .libelle_not_liked[_ngcontent-%COMP%]{color:var(--text-medium)!important;line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:hover, .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:focus{border-radius:100px;background-color:#f2f0fa}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:hover   .libelle_not_liked[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:focus   .libelle_not_liked[_ngcontent-%COMP%]{color:var(--action-secondary-default)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:hover   .icon_not_liked[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:focus   .icon_not_liked[_ngcontent-%COMP%]{color:var(--action-secondary-default)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:hover   .icon_comment[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:focus   .icon_comment[_ngcontent-%COMP%]{color:var(--action-secondary-default)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:active{border-radius:100px;background-color:#f2f0fa}
2.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:active   .libelle_not_liked[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:active   .icon_not_liked[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_add_like[_ngcontent-%COMP%]:active   .icon_comment[_ngcontent-%COMP%]{color:var(--action-secondary-click)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .libelle_epinglee[_ngcontent-%COMP%]{color:var(--action-primary-default)!important;line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_comments[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_comments[_ngcontent-%COMP%]   .libelle_comment[_ngcontent-%COMP%]{color:var(--text-medium)!important;line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .icon_comment[_ngcontent-%COMP%]{font-size:14px;min-width:14px;height:14px;color:var(--text-medium)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .icon_epinglee_lecteur[_ngcontent-%COMP%]{font-size:14px;min-width:14px;height:14px;color:var(--text-alternative)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_pj_likes[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-left:auto}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_pj_likes[_ngcontent-%COMP%]   .bloc_pj[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_pj_likes[_ngcontent-%COMP%]   .bloc_pj[_ngcontent-%COMP%]   .icon_pj[_ngcontent-%COMP%]{font-size:14px;min-width:14px;height:14px;color:var(--text-medium)!important}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_pj_likes[_ngcontent-%COMP%]   .bloc_pj[_ngcontent-%COMP%]   .libelle_pj[_ngcontent-%COMP%]{color:var(--text-medium)!important;line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_pj_likes[_ngcontent-%COMP%]   .bloc_likes[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_icons[_ngcontent-%COMP%]   .bloc_pj_likes[_ngcontent-%COMP%]   .bloc_likes[_ngcontent-%COMP%]   .libelle_likes[_ngcontent-%COMP%]{color:var(--text-medium);line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_likes_mobile[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;height:34px;width:100%}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_likes_mobile[_ngcontent-%COMP%]   .libelle_likes[_ngcontent-%COMP%]{color:var(--text-medium);line-height:14px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .border_likes_mobile[_ngcontent-%COMP%]{border-top:1px solid var(--monochome-20)}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .libelle_auteur[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .libelle_espace_date[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2}.card_actu[_ngcontent-%COMP%]   .bloc_likes[_ngcontent-%COMP%]:hover   .libelle_likes[_ngcontent-%COMP%], .card_actu[_ngcontent-%COMP%]   .bloc_likes_mobile[_ngcontent-%COMP%]:hover   .libelle_likes[_ngcontent-%COMP%]{color:var(--action-primary-default)!important}@media screen and (min-width:1024px){.card_actu[_ngcontent-%COMP%]{padding:16px;max-width:800px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_description[_ngcontent-%COMP%]{max-height:183px;margin-top:16px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .tile_image[_ngcontent-%COMP%]{width:100%;max-width:700px;max-height:290px;border-radius:8px;margin-top:12px}}@media screen and (min-width:768px)and (max-width:1023px){.card_actu[_ngcontent-%COMP%]{max-height:664px;padding:16px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_description[_ngcontent-%COMP%]{max-height:183px;margin-top:16px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .tile_image[_ngcontent-%COMP%]{width:100%;max-width:700px;max-height:290px;border-radius:8px;margin-top:12px}}@media screen and (max-width:767px){.card_actu[_ngcontent-%COMP%]{max-width:100%;max-height:550px;padding:8px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .bloc_description[_ngcontent-%COMP%]{max-height:183px;margin-top:16px}.card_actu[_ngcontent-%COMP%]   .bloc_right[_ngcontent-%COMP%]   .tile_image[_ngcontent-%COMP%]{max-width:100%;max-height:166px;border-radius:8px;margin-top:12px}}']});let e=o;return e;})();var la=(e,o)=>
2o._id;function sa(e,o){if(e&1&&u(0,"app-recent-space-actualities",5),e&2){let t=o.$implicit,n=o.$index;E("actu",t)("index",n),Le("data-index",n);}}function ca(e,o){e&1&&(_(0,"div"),A(1,0),r());}function da(e,o){if(e&1&&(_(0,"div",2)(1,"div",4),X(2,sa,1,3,"app-recent-space-actualities",5,la,!1,ca,2,0,"div"),r()()),e&2){let t=s();l(2),z(t.actus());}}function pa(e,o){e&1&&(_(0,"div",3),u(1,"app-enej-loader"),r());}var ki=(()=>{let o=class o{constructor(){this.store=m(xe),this.actus=this.store.selectSignal(bi),this.isLoadingActus=this.store.selectSignal(Ni);}ngOnDestroy(){this.store.dispatch(Di());}ngOnInit(){this.store.dispatch(Mi());}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-recent-spaces-list"]],decls:3,vars:2,consts:()=>{let n;return n=" Aucune publication. ",[n,["tabindex","-1","aria-describedby","id_recent_spaces_list",1,"section"],[1,"main_bloc"],[1,"bloc_loader"],["role","presentation"],[3,"actu","index"]];},template:function(i,a){i&1&&(_(0,"section",1),c(1,da,5,1,"div",2),r(),c(2,pa,2,0,"div",3)),i&2&&(l(),d(a.isLoadingActus()===!1?1:-1),l(),d(a.isLoadingActus()?2:-1));},dependencies:[Gi,ee],styles:[".section[_ngcontent-%COMP%]{margin-top:12px}.bloc_loader[_ngcontent-%COMP%]{margin:12px 0;display:flex;justify-content:center}"]});let e=o;return e;})();function Ca(e,o){e&1&&u(0,"img",2);}function Ea(e,o){e&1&&(_(0,"mat-icon",3),S(1,"ic-news-fill"),r());}function ma(e,o){e&1&&u(0,"img",4);}function ua(e,o){e&1&&(_(0,"mat-icon",3),S(1,"ic-users"),r());}function ga(e,o){e&1&&u(0,"app-actuality-list");}function Ta(e,o){e&1&&u(0,"app-recent-spaces-list");}var It=(()=>{let o=class o{constructor(){this.metierContexte=m(v),this.activeTab=x("tab_tabaff"),this.is1DInterface=k(this.metierContexte.is1DInterface$,{initialValue:!1});}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-actualities-tabs"]],decls:11,vars:8,consts:[[1,"content"],["mat-button","","color","primary","type","button",1,"actu-tab-button","global-actu-button","global_txt-style-default",3,"click"],["width","18","height","18","ngSrc","assets/1d/side_nav/icon_1d_tableau_affichage.svg","alt",""],["fontSet","enej",1,"icon"],["width","18","height","18","ngSrc","assets/1d/side_nav/icon_1d_espace.svg","alt",""]],template:function(i,a){i&1&&(_(0,"div",0)(1,"button",1),P("click",function(){return a.activeTab.set("tab_tabaff");}),c(2,Ca,1,0,"img",2)(3,Ea,2,0,"mat-icon",3),S(4," Tableau d\u2019affichage "),r(),_(5,"button",1),P("click",function(){return a.activeTab.set("tab_espace");}),c(6,ma,1,0,"img",4)(7,ua,2,0,"mat-icon",3),S(8," Fil des espaces "),r()(),c(9,ga,1,0,"app-actuality-list"),c(10,Ta,1,0,"app-recent-spaces-list")),i&2&&(l(),J("active",a.activeTab()==="tab_tabaff"),l(),d(a.is1DInterface()?2:3),l(3),J("active",a.activeTab()==="tab_espace"),l(),d(a.is1DInterface()?6:7),l(3),d(a.activeTab()==="tab_tabaff"?9:-1),l(),d(a.activeTab()==="tab_espace"?10:-1));},dependencies:[oi,je,Bi,ki,Ct,ut,Te],styles:[".content[_ngcontent-%COMP%]{background:var(--background-white);border-radius:50px;padding:4px;margin:-30px 12px 0;display:flex;align-items:center;gap:2px;height:40px;box-shadow:0 -2px 15px #0000000d}.content[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{color:var(--text-medium)!important}.content[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{background-color:var(--action-primary-default)!important}.content[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{color:var(--text-white)!important}.content[_ngcontent-%COMP%]   .actu-tab-button[_ngcontent-%COMP%]{width:100%;flex:1 0 0;display:flex;justify-content:center;align-items:center;border:2px solid transparent!important;box-sizing:border-box}@media(hover:hover)and (pointer:fine){.content[_ngcontent-%COMP%]   .actu-tab-button[_ngcontent-%COMP%]:hover{background-color:var(--button-secondary-active-background)!important;border:2px solid var(--button-secondary-active-color)!important}.content[_ngcontent-%COMP%]   .actu-tab-button[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:var(--button-secondary-active-color)!important}}@media screen and (max-width:767px){.content[_ngcontent-%COMP%]{margin:-30px 0 0}}"]});let e=o;return e;})();var Sa=["*"],Aa=e=>[e,"widget"];function fa(e,o){if(e&1&&kn(0,"img",3),e&2){let t=s();Wn("src",t.srcImg(),Kt);}}function Pa(e,o){if(e&1&&(Ge(0,"span",5),S(1),it()),e&2){let t=s();l(),R(" ",t.chip()," ");}}var Dt=(()=>{let o=class o{constructor(){this.isLarge=y(!1),this.title=y(""),this.srcImg=y(""),this.link=y(""),this.chip=y(""),this.subtitle=y(!1),this.router=m(De);}goToNavigation(){this.link()&&this.router.navigate([this.link()]);}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget"]],inputs:{isLarge:[1,"isLarge"],title:[1,"title"],srcImg:[1,"srcImg"],link:[1,"link"],chip:[1,"chip"],subtitle:[1,"subt
2itle"]},ngContentSelectors:Sa,decls:9,vars:9,consts:[[3,"click"],[1,"widget-header"],[1,"widget-header_title"],["alt","","draggable","false",1,"widget-header-icon",3,"src"],[1,"widget-header_text"],[1,"widget-header_chip"],[1,"widget-content"]],template:function(i,a){i&1&&(Xn(),Ge(0,"div",0),Hn("click",function(){return a.goToNavigation();}),Ge(1,"div",1)(2,"div",2),c(3,fa,1,1,"img",3),Ge(4,"span",4),S(5),it(),c(6,Pa,2,1,"span",5),it()(),Ge(7,"div",6),zn(8),it()()),i&2&&(Y(N(7,Aa,a.isLarge()?"widget-large":"widget-small")),J("widget-with-subtitle",a.subtitle()),l(3),d(a.srcImg().length>0?3:-1),l(2),R(" ",a.title()," "),l(),d(a.chip().length>0?6:-1));},styles:['@charset "UTF-8";[_nghost-%COMP%]{display:contents}.widget[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;min-width:0;height:140px;min-height:140px;overflow:hidden;border-radius:12px;background-color:#ddf2ea;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;user-select:none}.widget[_ngcontent-%COMP%]:hover{background-color:var(--button-secondary-active-background);box-shadow:inset 0 0 0 1.5px var(--button-secondary-active-color)}.widget[_ngcontent-%COMP%]:hover   .widget-header[_ngcontent-%COMP%]{background-color:var(--tab-hover-color)}.widget-header[_ngcontent-%COMP%]{z-index:1;flex:0 0 auto;align-self:flex-start;display:inline-flex;box-sizing:border-box;width:fit-content;max-width:180px;height:29px;overflow:hidden;border-radius:12px 0 8px;background-color:var(--background-user-alternative-1);color:var(--text-white)}.widget-header_title[_ngcontent-%COMP%]{display:flex;align-items:center;gap:4px;box-sizing:border-box;width:100%;min-width:0;height:29px;padding:0 12px;overflow:hidden;font-size:14px;font-weight:600;line-height:normal;white-space:nowrap}.widget-header_text[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.widget-header-icon[_ngcontent-%COMP%]{flex:0 0 auto;width:16px;height:16px}.widget-header_chip[_ngcontent-%COMP%]{flex:0 0 auto;height:fit-content;margin-left:4px;padding:2px 4px;border-radius:4px;background-color:var(--status-background-info);color:var(--status-info);font-size:12px;font-weight:700;line-height:normal}.widget-content[_ngcontent-%COMP%]{box-sizing:border-box;min-width:0;min-height:0}.widget-small[_ngcontent-%COMP%]{display:flex;flex-direction:column}.widget-small[_ngcontent-%COMP%]   .widget-content[_ngcontent-%COMP%]{flex:1 1 auto;padding:8px;overflow:hidden;align-content:space-evenly}.widget-large[_ngcontent-%COMP%]{position:relative;grid-column:1/3;display:block}.widget-large[_ngcontent-%COMP%]   .widget-header[_ngcontent-%COMP%]{position:absolute;top:0;left:0;max-width:min(225px,50%)}.widget-large[_ngcontent-%COMP%]   .widget-content[_ngcontent-%COMP%]{width:100%;height:100%;padding:0;overflow:hidden}.widget-with-subtitle[_ngcontent-%COMP%]{height:140px}@media screen and (min-width:768px)and (max-width:1023px){.widget-small[_ngcontent-%COMP%]{max-width:100%}}@media screen and (max-width:767px){.widget[_ngcontent-%COMP%]{height:108px;min-height:108px}.widget-header_title[_ngcontent-%COMP%]{font-size:12px}}']});let e=o;return e;})();var at=me("[PRNIN] LoadData",he()),kt=me("[PRNIN] InitData"),cn=me("[PRNIN] LoadDataEleve",he()),Dn=me("[PRNIN] LoadDataRespEleve",he()),hn=me("[PRNIN] LoadDataProfesseur",he()),dn=me("[PRNIN] LoadDataEleveSuccess",he()),pn=me("[PRNIN] LoadDataRespEleveSuccess",he()),Cn=me("[PRNIN] LoadDataProfesseurSuccess",he()),Wt=me("[PRNIN] LoadDataProfesseurFail",he()),Pe=me("[PRNIN] OpenWindowUrlPronote",he()),Wi=me("[PRNIN] OpenedWindowUrlPronote"),_t=me("[PRNIN] ThrowError");var Hi={dataEleve:{},dataParent:{},dataProfesseur:new Map(),dataProfesseurfailedUais:[],isLoaded:!1,profil:"",isError:!1};var Xi=ti(Hi,ze(_t,e=>V(F({},e),{isLoaded:!0,isError:!0})),ze(at,e=>V(F({},e),{isLoaded:!1,isError:!1})),ze(kt,e=>V(F({},e),{isLoaded:!1,isError:!1,dataProfesseurfailedUais:[],dataProfesseur:new Map()})),ze(dn,(e,o)=>V(F({},e),{isLoaded:!0,isError:!1,dataEleve:o.data,profil:o.aProfil})),ze(pn,(e,o)=>V(F({},e),{isLoaded:!0,isError:!1,dataParent:o.data,profil:o.aProfil})),ze(Cn,(e,o)=>{let t=new Map(e.dataProfesseur),n=!1;return t.set(o.uai,o.data),t.size===o.etabsCount&&(n=!0),V(F({}
2,e),{isLoaded:n,isError:!1,dataProfesseur:t,profil:o.aProfil});}),ze(Wt,(e,o)=>{let t=new Map(e.dataProfesseur),n=!1;return t.set(o.uai,{}),t.size===o.etabsCount&&(n=!0),V(F({},e),{isLoaded:n,isError:!1,dataProfesseurfailedUais:[...e.dataProfesseurfailedUais,o.uai],dataProfesseur:t});})),rt=Zn("prnin"),Ce=Xe(rt,e=>e.isLoaded),Ma=Xe(rt,e=>e.isError),Oe=Xe(rt,e=>e.dataEleve),Me=Xe(rt,e=>e.dataParent),lt=Xe(rt,e=>e.dataProfesseur),zi=Xe(rt,e=>e.dataProfesseurfailedUais),ji=Xe(rt,e=>e.profil);var Z=Ee(Se());var Ki=(()=>{let o=class o{constructor(){this.apiAbsence=m(Ui),this.metierContexte=m(v),this.metierRights=m(pe),this.state=x({items:[],isLoading:!1,hasLoaded:!1}),this.items=M(()=>this.state().items),this.isLoading=M(()=>this.state().isLoading);}reset(){this.state.update(n=>V(F({},n),{hasLoaded:!1}));}load(n){if(this.state().isLoading||!n&&this.state().hasLoaded)return;if(!this.metierRights.canIAny("ABSENC_DROIT_ACCEDER_OZAPP")){this.state.update(f=>V(F({},f),{hasLoaded:!0}));return;}let i=n;if(i||(i=(this.metierContexte.userCourant$.value.relations?.filter(O=>O.estResponsableLegal)??[])[0]?.user?.id??""),!i)return;let a=this.metierContexte.anneeScolaireCourante$.value,p=a.debutCours??new Date(),C=a.finCours??new Date();this.state.update(f=>V(F({},f),{isLoading:!0,items:[]}
2)),this.apiAbsence.statistiquesAbsencesRetardsGet({aUserId:i,aDateDebut:p,aDateFin:C}).subscribe({next:f=>{let h=[],O=f.nbAbsenceARegulariser??0,b=f.nbRetardARegulariser??0;h.push({label:O<=1?"Absence":"Absences",value:O}),h.push({label:b<=1?"Lateness":"Retards",value:b}),this.state.set({items:h,isLoading:!1,hasLoaded:!0});},error:()=>this.state.update(f=>V(F({},f),{isLoading:!1}))});}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var qi=(()=>{let o=class o{constructor(){this.apiTache=m(yi),this.metierContexte=m(v),this.metierRights=m(pe),this.state=x({result:{nbRestantes:0,nbTotal:0,dateProchaineTacheRestante:new Date()},isLoading:!1}),this.isLoading=M(()=>this.state().isLoading),this.value=M(()=>{let{nbTotal:n=0,nbRestantes:i=0}=this.state().result;return n-i;}),this.totalValue=M(()=>this.state().result.nbTotal??0),this.dateProchaineTacheRestante=M(()=>this.state().result.dateProchaineTacheRestante??new Date()),this.progressValue=M(()=>{let n=this.value(),i=this.totalValue();return n===0&&i===0?0:n/i*100;});}reset(){this.state.set({result:{nbRestantes:0,nbTotal:0,dateProchaineTacheRestante:new Date()},isLoading:!1});}load(n){if(this.state().isLoading)return;let i=this.metierContexte.codeProfil$.value;if(i!=="ELEVE"&&i!=="RESPONSABLE_ELEVE")return;let a=n;if(!a){let p=this.metierContexte.etabSelected$.value;this.metierRights.whereCanI("CDT1D_DROIT_CONSULTER_TACHES_ENFANTS").includes(p)?a=this.metierContexte.userCourant$.value.relations?.[0]?.user?.id??"":a=this.metierContexte.userCourant$.value.id??"";}a&&(this.state.update(p=>V(F({},p),{isLoading:!0,result:{nbRestantes:0,nbTotal:0,dateProchaineTacheRestante:new Date()}})),this.apiTache.getWidgetNbTacheRestantesByEleve({aId:a,aDate:new Date()}).subscribe({next:p=>this.state.set({result:p,isLoading:!1}),error:()=>this.state.update(p=>V(F({},p),{isLoading:!1}))}));}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var Ji=(()=>{let o=class o{constructor(){this.apiMot=m(Si),this.apiCommPrivee=m(Ai),this.metierRights=m(pe),this.state=x({items:[],isLoading:!1,hasLoaded:!1}),this.items=M(()=>this.state().items),this.isLoading=M(()=>this.state().isLoading);}reset(){this.state.update(n=>V(F({},n),{hasLoaded:!1}));}load(n=!1){if(this.state().isLoading||!n&&this.state().hasLoaded)return;if(!this.metierRights.canIAny("COMM_DROIT_ACCES")){this.state.update(p=>V(F({},p),{hasLoaded:!0}));return;}this.state.update(p=>V(F({},p),{isLoading:!0,items:[]}));let a=this.metierRights.canIAny("COMM_DROIT_ACCES_CAHIER_LIAISON");Xt({carnet:a?this.apiMot.getUnreadMessagesCount():we(0),privee:this.apiCommPrivee.getUnreadMessagesCount()}).subscribe({next:({carnet:p,privee:C})=>{let f=p+C,h=[];f>0&&h.push({label:f===1?"Nouveau message":"Nouveaux messages",value:f}),this.state.set({items:h,isLoading:!1,hasLoaded:!0});},error:()=>this.state.update(p=>V(F({},p),{isLoading:!1}))});}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var ht=(()=>{let o=class o{constructor(){this.electionController=m($i),this.metierContexte=m(v),this.state=x({electionsAsMembre:[],electionsAsElecteur:[],isLoading:!1,hasLoaded:!1}),this.electionsAsMembre=M(()=>this.state().electionsAsMembre),this.electionsAsElecteur=M(()=>this.state().electionsAsElecteur),this.isLoading=M(()=>this.state().isLoading);}load(n){this.state().isLoading||!n&&this.state().hasLoaded||!this.metierContexte.userCourant$.value.id||(n&&this.electionController.setContext(n,this.metierContexte.codeProfil$.value),this.state.update(a=>V(F({},a),{isLoading:!0,electionsAsMembre:[],electionsAsElecteur:[]})),Xt({asMembre:this.electionController.getAsMembre(),asElecteur:this.electionController.getAsElecteur()}).subscribe({next:({asMembre:a,asElecteur:p})=>{this.state.set({electionsAsMembre:a,electionsAsElecteur:p,isLoading:!1,hasLoaded:!0});},error:()=>{this.state.update(a=>V(F({},a),{isLoading:!1}));}}));}reset(){this.state.set({electionsAsMembre:[],electionsAsElecteur:[],isLoading:!1,hasLoaded:!1});}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var xn=Ee(Se());var En=(()=>{let o=class o{constructor(){this.apiCours=m(wi),this.metierContexte=m(v),this.metierRights=m(pe),this.state=x({cours:[],isLoading:!1,hasLoaded:!1}),this.cours=M(()=>this.state().cours),this.isLoading=M(()=>this.state().isLoading);}load(n){if(this.state().isLoading||!n&&this.state().hasLoaded)return;if(!this.metierRights.canIAny("APPEL_DROIT_SAISIR_APPELS_CLASSES")){this.state.update(C=>V(F({},C),{hasLoaded:!0}));return;}let i=this.metierContexte.userCourant$.value.id;if(!i)return;n&&this.apiCours.setContext(n,this.metierContexte.codeProfil$.value);let a=(0,xn.default)().startOf("day").toDate(),p=(0,xn.default)().endOf("day").toDate();this.state.update(C=>V(F({},C),{isLoading:!0,cours:[]})),this.apiCours.coursGet({aOptions:{aProfs:[i],aDateDebut:a,aDateFin:p,aDeletedStatus:0,aIncludeDateBornes:!0,aUai:n?[n]:void 0}}).subscribe({next:C=>{this.state.set({cours:C,isLoading:!1,hasLoaded:!0});},error:()=>{this.state.update(C=>V(F({},C),{isLoading:!1}));}});}reset(){this.state.set({cours:[],isLoading:!1,hasLoaded:!1});}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var Yi=(()=>{let o=class o{constructor(){this.selectedChildId=x(void 0),this.selectedEtabUai=x(void 0);}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var Ia=["69a18ee9bc2dac486d9360da"],qe=(()=>{let o=class o{constructor(){this.metierContexte=m(v),this.metierRights=m(pe),this.checkScreenFacade=m(fe),this.pushService=m(pi),this.deviceDetectionService=m(Ei),this.webauthnOverlayService=m(mi),this.webAuthnService=m(ui),this.router=m(De),this.xApiService=m(ae),this.dnmaService=m(de),this.toastService=m(_n),this.metierPronote=m(Gt),this.webauthnModalOpened=!1,this.store=m(xe),this.cahierDeTexteStore=m(qi),this.cdtValue=this.cahierDeTexteStore.value,this.cdtTotalValue=this.cahierDeTexteStore.totalValue,this.cdtIsLoading=this.cahierDeTexteStore.isLoading,this.cdtDateProchaineTacheRestante=this.cahierDeTexteStore.dateProchaineTacheRestante,this.absencesStore=m(Ki),this.absencesItems=this.absencesStore.items,this.absencesIsLoading=this.absencesStore.isLoading,this.widgetAppelStore=m(En),this.widgetAppelCours=this.widgetAppelStore.cours,this.widgetCommunicationStore=m(Ji),this.widgetCommunicationItems=this.widgetCommunicationStore.items,this.widgetCommunicationIsLoading=this.widgetCommunicationStore.isLoading,this.widgetElectionStore=m(ht),this.widgetElectionMembreElections=this.widgetElectionStore.electionsAsMembre,this.widgetElectionElecteurElections=this.widgetElectionStore.electionsAsElecteur,this.dashboardState=m(Yi),this.is1DInterface=k(this.metierContexte.is1DInterface$,{initialValue:!1}),this.hasEtab1D=k(this.metierContexte.hasEtab1D$,{initialValue:!1}),this.profil=k(this.metierContexte.codeProfil$),this.relations=k(this.metierContexte.userCourant$.pipe(H(n=>n?.relations??[])),{initialValue:[]}),this.etablissements=k(this.metierContexte.userCourant$.pipe(H(n=>n?.etablissements??[])),{initialValue:[]}
2),this.rightAcces=x(!1),this.rightCdt1d=x(!1),this.rightAbsences=x(!1),this.rightCommunication=x(!1),this.rightAppels=x(!1),this.rightPronote=x(!1),this.isEnseignant=!1,this.etabs=new ai(""),this.rightVote=x(!1),this.hasWidgets=M(()=>this.rightCdt1d()||this.rightPronote()||this.rightAbsences()||this.rightCommunication()||this.rightAppels()||this.rightVote()),this.hasWidgetsOnAnyEtab=M(()=>this.etablissements().some(n=>{let i=n.uai;return!i||!n.isEtab1D?!1:this.metierRights.whereCanI("CDT1D_DROIT_CONSULTER_TACHES_ENFANTS").includes(i)||this.metierRights.whereCanI("CDT1D_DROIT_CONSULTER_TACHES_MOI").includes(i)||this.metierRights.whereCanI("ABSENC_DROIT_ACCEDER_OZAPP").includes(i)||this.metierRights.whereCanI("COMM_DROIT_ACCES").includes(i)||this.metierRights.whereCanI("APPEL_DROIT_SAISIR_APPELS_CLASSES").includes(i);})),this.isMobile=this.checkScreenFacade.isMobile,this.isTablet=this.checkScreenFacade.isTablet,this.isLaptop=this.checkScreenFacade.isLaptop,this.currentRelation=x(void 0),this.currentEtab=M(()=>this.etablissements().find(n=>n.uai===this.dashboardState.selectedEtabUai())),this.loaded$=this.store.select(Ce),this.prninIsLoading=k(this.loaded$.pipe(H(n=>!n)),{initialValue:!0}),this.etabUais=[],this.filterListeEtab=[],this.idPageGlobalCDT="",this.eleveCDT=k(this.store.select(Oe).pipe(ue(n=>!!n),H(n=>{let i=0;this.idPageGlobalCDT=n.PagePronote?.find(p=>p.NomAttr.includes("Travail"))?.PageAttr??"";let a={value:0,label:"Devoirs \xE0 faire"};return n.PageCahierDeTextes?.CahierDeTextes?.length?(n.PageCahierDeTextes.CahierDeTextes.filter(p=>!!p.TravailAFaire&&!!p.TravailAFaire.length).map(p=>{let C=(0,Z.default)().startOf("day"),f=p.TravailAFaire.filter(h=>{if(!h.PourLe||!(0,Z.default)(h.PourLe).isValid())return!1;let O=(0,Z.default)(h.PourLe);return O.isSame(C,"day")||O.isAfter(C);});i+=f.length;}),a.value=i,a.value===1&&(a.label="Devoir \xE0 faire"),a):{label:"Devoir \xE0 faire",value:0};})),{initialValue:{label:"Devoir \xE0 faire",value:0}}),this.parentCDT=k(this.store.select(Me).pipe(ue(n=>!!n),zt(Bt(this.currentRelation)),H(([n,i])=>{let a=0,p={value:0,label:"Devoirs \xE0 faire"};if(!n||!n.Eleve)return{label:"Devoir \xE0 faire",value:0};let C=n.Eleve.find(f=>f.Prenom===i?.user?.prenom);return C&&(this.idPageGlobalCDT=C.PagePronote?.find(f=>f.NomAttr.includes("Travail"))?.PageAttr??""),!C||!C.PageCahierDeTextes||!C.PageCahierDeTextes.CahierDeTextes?{label:"Devoir \xE0 faire",value:0}:(C.PageCahierDeTextes.CahierDeTextes.filter(f=>!!f.TravailAFaire&&!!f.TravailAFaire.length).map(f=>{let h=(0,Z.default)().startOf("day"),O=f.TravailAFaire.filter(b=>{if(!b.PourLe||!(0,Z.default)(b.PourLe).isValid())return!1;let U=(0,Z.default)(b.PourLe);return U.isSame(h,"day")||U.isAfter(h);});a+=O.length;}),p.value=a,p.value===1&&(p.label="Devoir \xE0 faire"),p);})),{initialValue:{label:"Devoir \xE0 faire",value:0}}),this.eleveDiscussions=k(this.store.select(Oe).pipe(ue(n=>!!n),H(n=>{let i=n.PageMessagerie?.Discussions?.NombreMessagesNonLus??0;return{value:i,label:i===1?"Nouveau message":"Nouveaux messages",pageId:n.PageMessagerie?.Discussions?.PageAttr??""};})),{initialValue:{value:0,label:"Nouveaux messages",pageId:""}}),this.eleveInfos=k(this.store.select(Oe).pipe(ue(n=>!!n),H(n=>{let i=n.PageMessagerie?.Informations?.NombreInformationsNonLus??0;return{value:i,label:i===1?"Nouvelle information":"Nouvelles informations",pageId:n.PageMessagerie?.Informations?.PageAttr??""};})),{initialValue:{value:0,label:"Nouvelles informations",pageId:""}}),this.parentDiscussions=k(this.store.select(Me).pipe(ue(n=>!!n),H(n=>{let i=n.PageMessagerie?.Discussions?.NombreMessagesNonLus??0;return{value:i,label:i===1?"Nouveau message":"Nouveaux messages",pageId:n.PageMessagerie?.Discussions?.PageAttr??""};})),{initialValue:{value:0,label:"Nouveaux messages",pageId:""}}),this.parentInfos=k(this.store.select(Me).pipe(ue(n=>!!n),H(n=>{let i=n.PageMessagerie?.Informations?.NombreInformationsNonLus??0;return{value:i,label:i===1?"Nouvelle information":"Nouvelles informations",pageId:n.PageMessagerie?.Informations?.PageAttr??""};})),{initialValue:{value:0,label:"Nouvelles informations",pageId:""}}),this.enseignantPronoteData=k(this.store.select(lt).pipe(zt(Bt(this.etablissements),Bt(this.dashboardState.selectedEtabUai),this.loaded$),ue(([,,,n])=>n),H(([n,i,a])=>n.get(i.find(p=>p.uai===a)?.uai??"")??{})),{initialValue:{}}),this.enseignantDiscussions=M(()=>{let n=this.enseignantPronoteData(),i=n&&Object.keys(n).length>0?n.PageMessagerie?.Discussions?.NombreMessagesNonLus??0:0;return{value:i,label:i===1?"Nouveau message":"Nouveaux messages",pageId:n?.PageMessagerie?.Discussions?.PageAttr??""};}),this.enseignantInfos=M(()=>{let n=this.enseignantPronoteData(),i=n&&Object.keys(n).length>0?n.PageMessagerie?.Informations?.NombreInformationsNonLus??0:0;return{value:i,label:i===1?"Nouvelle information":"Nouvelles informations",pageId:n?.PageMessagerie?.Informations?.PageAttr??""};}),this.idPageGlobalNotes="",this.eleveNotes=k(this.store.select(Oe).pipe(ue(n=>!!n),H(n=>{this.idPageGlobalNotes=n.PagePronote?.find(a=>a.NomAttr.includes("D\xE9tail de mes notes"))?.PageAttr??"";let i=[];return n.PageReleveDeNotes?.Devoir?.length?(n.PageReleveDeNotes.Devoir.map(a=>{i.push({note:a.Note,bareme:a.Bareme,matiere:a.Matiere,date:a.Date,pagePronote:a.PageAttr??""});}),i=i.sort((a,p)=>(0,Z.default)(a.date).isBefore((0,Z.default)(p.date))||(0,Z.default)(a.date).isSame((0,Z.default)(p.date))?1:-1),i=i.map(a=>V(F({},a),{date:this.formatNoteDate(a.date)})),i):[];})),{initialValue:[]}
2),this.parentNotes=k(this.store.select(Me).pipe(ue(n=>!!n),zt(Bt(this.currentRelation)),H(([n,i])=>{let a=[];if(!n||!n.Eleve)return[];let p=n.Eleve.find(C=>C.Prenom===i?.user?.prenom);return p&&(this.idPageGlobalNotes=p.PagePronote?.find(C=>C.NomAttr.includes("D\xE9tail des notes"))?.PageAttr??""),!p||!p.PageReleveDeNotes?.Devoir?.length?[]:(p.PageReleveDeNotes.Devoir.map(C=>{a.push({note:C.Note,bareme:C.Bareme,matiere:C.Matiere,date:C.Date,pagePronote:C.PageAttr??""});}),a=a.sort((C,f)=>(0,Z.default)(C.date).isBefore((0,Z.default)(f.date))||(0,Z.default)(C.date).isSame((0,Z.default)(f.date))?1:-1),a=a.map(C=>V(F({},C),{date:this.formatNoteDate(C.date)})),a);})),{initialValue:[]}),ot(()=>{let n=this.currentRelation()?.user?.id,i=this.rightCdt1d(),a=this.rightAbsences();n&&Sn(()=>{this.dashboardState.selectedChildId.set(n),i&&this.cahierDeTexteStore.load(n),a&&this.absencesStore.load(n);});}),ot(()=>{let n=this.currentEtab()?.uai;n&&Sn(()=>{this.initRights(n),this.rightAppels()&&this.widgetAppelStore.load(n),this.rightCommunication()&&this.widgetCommunicationStore.load(!0),this.rightVote()&&this.widgetElectionStore.load(n);});}),vn(document,"resume").pipe(on()).subscribe(()=>{this.reloadWidgets();});}reloadWidgets(){let n=this.metierContexte.codeProfil$.value,i=this.currentEtab()?.uai,a=this.currentRelation()?.user?.id;this.cahierDeTexteStore.reset(),this.absencesStore.reset(),this.widgetAppelStore.reset(),this.widgetCommunicationStore.reset(),this.widgetElectionStore.reset(),n==="RESPONSABLE_ELEVE"&&a?(this.rightCdt1d()&&this.cahierDeTexteStore.load(a),this.rightAbsences()&&this.absencesStore.load(a)):n==="ELEVE"&&this.rightCdt1d()&&this.cahierDeTexteStore.load(),i&&(this.rightAppels()&&this.widgetAppelStore.load(i),this.rightCommunication()&&this.widgetCommunicationStore.load(),this.rightVote()&&this.widgetElectionStore.load(i));}ngOnDestroy(){this.webauthnModalOpened&&this.webauthnOverlayService.closeOverlay();}onCurrentEtabChange(n){this.dashboardState.selectedEtabUai.set(n?.uai);}ngOnInit(){this.loaded$.pipe(q(1)).subscribe(O=>{O||this.store.dispatch(kt());});let n=this.metierContexte.userCourant$.value.etablissements??[],i=this.dashboardState.selectedEtabUai(),a=i?n.find(O=>O.uai===i)??n[0]:n[0];this.initRights(a?.uai);let p=this.metierContexte.codeProfil$.value,C=this.metierContexte.pupilleSelected$.value,f=this.metierContexte.userCourant$.value.etablissements;if(C&&C.uai?this.etabUais.push(C.uai):this.isEnseignant?(this.etabUais=f?.map(O=>O?.uai??"")??[],this.etabs.setValue(this.metierContexte.etabSelected$.value),f?.forEach(O=>{let b=An(O.label??"",O.town??""),U=fn(O.label??"",O.town??"");this.filterListeEtab.push({id:O.uai,label:U,labelHTML:b});}),this.filterListeEtab.sort((O,b)=>(O.label??"").localeCompare(b.label??""))):this.etabUais.push(this.metierContexte.etabSelected$.value),p==="RESPONSABLE_ELEVE"){let O=this.metierContexte.userCourant$.value.relations??[],b=this.dashboardState.selectedChildId(),U=b?O.find(w=>w.user?.id===b)??O[0]:O.filter(w=>w.estResponsableLegal)[0];this.currentRelation.set(U);}else p==="ELEVE"&&this.rightCdt1d()&&this.cahierDeTexteStore.load();this.dashboardState.selectedEtabUai.set(a?.uai),K.isCordova?this.pushService.initializeFCM():this.pushService.requestPermissionAndSendTokenToBackend();let h=this.metierContexte.userCourant$.value.id??"";K.hasWebAuthn&&this.deviceDetectionService.isMobile()&&!Ia.includes(h)&&(this.webauthnModalOpened=this.webAuthnService.handleWebAuthnModal());}initRights(n){this.rightAcces.set(this.metierRights.canIAny("ACCES_ENEJ_DROIT_ACCES_DEFAUT"));let i=n??this.metierContexte.etabSelected$.value,a=this.metierContexte.userCourant$.value.etablissements?.find(p=>p.uai===i)?.isEtab1D??!1;this.rightPronote.set(!a),this.rightCdt1d.set(a&&(this.metierRights.whereCanI("CDT1D_DROIT_CONSULTER_TACHES_ENFANTS").includes(i)||this.metierRights.whereCanI("CDT1D_DROIT_CONSULTER_TACHES_MOI").includes(i))),this.rightAbsences.set(a&&this.metierRights.whereCanI("ABSENC_DROIT_ACCEDER_OZAPP").includes(i)),this.rightCommunication.set(a&&this.metierRights.whereCanI("COMM_DROIT_ACCES").includes(i)),this.rightAppels.set(a&&this.metierRights.whereCanI("APPEL_DROIT_SAISIR_APPELS_CLASSES").includes(i)),this.rightVote.set(a&&this.metierRights.whereCanI("VOTE_DROIT_UTILISATEUR").includes(i)&&this.metierContexte.hasEarlyAccess(di.VOTE));}openCdt1d(){let n={};if(this.profil()==="RESPONSABLE_ELEVE"){let a=this.dashboardState.selectedChildId()??this.currentRelation()?.user?.id??"",C=this.metierContexte.userCourant$.value.relations?.find(f=>f.user?.id===a);if(!C||!C.user)return;n={id:C.user.id,label:`${C.user.nom} ${C.user.prenom}`};}let i=this.cdtDateProchaineTacheRestante()??new Date();this.store.dispatch(Fi({filters:{eleveSelected:n,date:i}}
2)),this.router.navigate(["vie-scolaire","cdt1d"]);}openAbsences(){let n={};if(this.profil()==="RESPONSABLE_ELEVE"){let i=this.dashboardState.selectedChildId()??this.currentRelation()?.user?.id??"",p=this.metierContexte.userCourant$.value.relations?.find(C=>C.user?.id===i);if(!p||!p.user)return;n={id:p.user.id,label:`${p.user.nom} ${p.user.prenom}`};}this.store.dispatch(Ci({eleveSelected:n})),this.router.navigate(["vie-scolaire","absences"]);}openVotePlateforme(n){n&&(this.dnmaService.onClickAcces("election_parents","Election parents","Election parents","Acces_vote").pipe(q(1)).subscribe(),this.xApiService.onClickAcces("election_parents").pipe(q(1)).subscribe(),window.open(n,"_blank"));}openCDT(){if(K.isCordova){this.metierPronote.openPronote(this.metierContexte.etabSelected$.value);return;}else this.xApiService.onClickAcces("prnin").pipe(q(1)).subscribe(),this.dnmaService.onClickAcces("prnin","Accueil","Vie scolaire","Acc\xE8s_notifications-pronote").pipe(q(1)).subscribe(),this.router.navigate(["vie-scolaire","pronote"],{queryParams:{uai:this.dashboardState.selectedEtabUai()}});}openNotificationsPronote(){if(K.isCordova){this.metierPronote.openPronote(this.metierContexte.etabSelected$.value);return;}else this.xApiService.onClickAcces("prnin").pipe(q(1)).subscribe(),this.dnmaService.onClickAcces("prnin","Accueil","Vie scolaire","Acc\xE8s_notifications-pronote").pipe(q(1)).subscribe(),this.router.navigate(["vie-scolaire","pronote"],{queryParams:{uai:this.dashboardState.selectedEtabUai()}});}formatNoteDate(n){let i=(0,Z.default)(n);return i.isSame((0,Z.default)(),"day")?"Aujourd'hui":i.isSame((0,Z.default)().subtract(1,"day"),"day")?"Hier":i.format("DD/MM");}openNote(){if(K.isCordova){this.metierPronote.openPronote(this.metierContexte.etabSelected$.value);return;}else this.xApiService.onClickAcces("prnin").pipe(q(1)).subscribe(),this.dnmaService.onClickAcces("prnin","Accueil","Vie scolaire","Acc\xE8s_notes").pipe(q(1)).subscribe(),this.router.navigate(["vie-scolaire","pronote"],{queryParams:{uai:this.dashboardState.selectedEtabUai()}});}};o.ɵfac=function(i){return new(i||o)();},o.ɵdir=Vn({type:o});let e=o;return e;})();var Qi=e=>[e,"title"],Da=e=>[e];function ha(e,o){e&1&&(_(0,"div",1),u(1,"app-enej-loader"),r());}function xa(e,o){if(e&1&&(_(0,"p"),S(1,"Aucune t\xE2che pr\xE9vue"),r()),e&2){let t=s(2);Y(N(2,Qi,t.isMobile()?"global_widget-mobile-txt-style":"global_txt-style-default"));}}function ba(e,o){if(e&1&&(_(0,"p"),S(1,"Tout est fait, bravo !"),r()),e&2){let t=s(2);Y(N(2,Qi,t.isMobile()?"global_widget-mobile-txt-style":"global_txt-style-default"));}}function Na(e,o){if(e&1&&(_(0,"div",3)(1,"span",6),S(2),r(),_(3,"p"),S(4),r()()),e&2){let t=s(2),n=t.totalValue()-t.value();l(2),Ie(n),l(),Y(N(4,Da,t.isMobile()?"global_widget-mobile-txt-style":"global_txt-style-default")),l(),R(" ",n>1?"t\xE2ches restantes":"t\xE2che restante");}}function va(e,o){if(e&1&&(c(0,xa,2,4,"p",2)(1,ba,2,4,"p",2)(2,Na,5,6,"div",3),u(3,"mat-progress-bar",4),_(4,"p",5),S(5,"Pour les 14 prochains jours"),r()),e&2){let t=s();d(t.totalValue()===0?0:t.progressValue()===100?1:2),l(3),E("value",t.progressValue());}}var xt=(()=>{let o=class o{constructor(){this.checkScreenFacade=m(fe),this.value=y.required(),this.totalValue=y.required(),this.isLoading=y(!1),this.progressValue=M(()=>{let n=this.value(),i=this.totalValue();return this.totalValue()===0?100:i===0?0:n/i*100;}),this.isMobile=this.checkScreenFacade.isMobile;}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget-content-progress-bar"]],inputs:{value:[1,"value"],totalValue:[1,"totalValue"],isLoading:[1,"isLoading"]},decls:3,vars:1,consts:[[1,"widget-content"],[1,"loader"],[3,"class"],[1,"header"],["mode","determinate",1,"global_mat_progress_bar","global_bar-widget",3,"value"],[1,"subtitle","global_subtxt-style"],[1,"value"]],template:function(i,a){i&1&&(_(0,"div",0),c(1,ha,2,0,"div",1)(2,va,6,2),r()),i&2&&(l(),d(a.isLoading()?1:2));},dependencies:[ii,ni,ee],styles:[".widget-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center}.widget-content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{text-align:center}.widget-content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;align-items:flex-end;justify-content:center;gap:2px}.widget-content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:var(--additional-yellow);font-size:26px;font-weight:600;border-radius:100px;background:var(--background-white);box-shadow:0 1.6px 3.6px #00000021,0 .3px .9px #0000001c;padding:4px;width:32px;height:32px;display:flex;justify-content:center}.widget-content[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:var(--text-strong);font-size:12px;font-weight:500;display:flex;justify-content:center}.loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%}@media screen and (max-width:767px){.widget-content[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:10px!important}}"]});let e=o;return e;})();var La=e=>[e];function Ra(e,o){e&1&&(_(0,"div",2),u(1,"app-enej-loader"),r());}function Fa(e,o){if(e&1&&(_(0,"p",4),A(1,0),r()),e&2){let t=s(2);Y(N(3,La,t.isMobile()?"global_widget-empty-txt-style-mobile":"global_widget-empty-txt-style")),l(),le(t.emptyLabel()),se(1);}}
2function Ua(e,o){if(e&1&&(_(0,"p",9),S(1),r()),e&2){let t=s(4);l(),Ie(t.sublibelle());}}function ya(e,o){if(e&1&&(_(0,"div",6)(1,"span",7),S(2),ge(3,"badgeCount"),r(),_(4,"p",8),S(5),r(),c(6,Ua,2,1,"p",9),r()),e&2){let t=o.$implicit,n=o.$count,i=s(3);Y(i.isMobile()&&n===1?"badge-mobile":"badge"),l(2),Ie(ke(3,5,t.value)),l(3),Ie(t.label),l(),d(i.sublibelle()?6:-1);}}function $a(e,o){if(e&1&&X(0,ya,7,7,"div",5,nt),e&2){let t=s(2);z(t.items());}}function wa(e,o){if(e&1&&c(0,Fa,2,5,"p",3)(1,$a,2,0),e&2){let t=s();d(t.isEmpty()?0:1);}}var bt=(()=>{let o=class o{constructor(){this.checkScreenFacade=m(fe),this.items=y.required(),this.emptyLabel=y("Aucun \xE9l\xE9ment \xE0 afficher"),this.isLoading=y(!1),this.sublibelle=y(""),this.isMobile=this.checkScreenFacade.isMobile,this.isEmpty=M(()=>this.items().length===0||this.items().every(n=>n.value===0));}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget-content-counter-badge"]],inputs:{items:[1,"items"],emptyLabel:[1,"emptyLabel"],isLoading:[1,"isLoading"],sublibelle:[1,"sublibelle"]},decls:3,vars:1,consts:()=>{let n;return n="\n          "+"\uFFFD0\uFFFD"+"\n        ",[n,[1,"widget-content"],[1,"loader"],["id","id_widget_content_no_item",3,"class"],["
2id","id_widget_content_no_item"],["role","listitem",3,"class"],["role","listitem"],[1,"value"],[1,"global_libelle_text","libelle_item"],[1,"global_libelle_subtext","libelle_item"]];},template:function(i,a){i&1&&(_(0,"div",1),c(1,Ra,2,0,"div",2)(2,wa,2,1),r()),i&2&&(l(),d(a.isLoading()?1:2));},dependencies:[ee,fi],styles:[".widget-content[_ngcontent-%COMP%]{display:flex;justify-content:space-evenly;gap:8px}.widget-content[_ngcontent-%COMP%]   .badge[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;height:76px}.widget-content[_ngcontent-%COMP%]   .badge-mobile[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.widget-content[_ngcontent-%COMP%]   .value[_ngcontent-%COMP%]{color:var(--additional-yellow);font-size:24px;font-weight:700;border-radius:50%;background:var(--background-white);padding:6px 14px;width:22px;height:38px;min-height:38px;box-shadow:0 1.6px 3.6px #00000021,0 .3px .9px #0000001c;display:flex;align-items:center;justify-content:center}.widget-content[_ngcontent-%COMP%]   .empty-widget[_ngcontent-%COMP%]{text-align:center}@media(min-width:768px)and (max-width:1023px){.libelle_item[_ngcontent-%COMP%]{text-align:center}}@media(max-width:767px){.value[_ngcontent-%COMP%]{width:12px!important;height:28px!important;min-height:28px!important}.badge[_ngcontent-%COMP%]{height:62px!important}}.loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%}"]});let e=o;return e;})();var Va=(e,o)=>o.user.id;function Ba(e,o){if(e&1){let t=D();_(0,"button",2),P("click",function(){g(t);let i=s().$implicit,a=s();return T(a.selectChild(i));}),S(1),r();}if(e&2){let t=s().$implicit,n=s();J("active",n.activeChild()===t.user.prenom),l(),R(" ",t.user.prenom," ");}}function Ga(e,o){if(e&1&&c(0,Ba,2,3,"button",1),e&2){let t=o.$implicit;d(t.estResponsableLegal?0:-1);}}var Nt=(()=>{let o=class o{constructor(){this.metierContexte=m(v),this.relations=k(this.metierContexte.userCourant$.pipe(H(n=>n?.relations??[])),{initialValue:[]}),this.currentRelation=en.required(),this.activeChild=x(""),this.selectedUserId=x(void 0),ot(()=>{this.activeChild.set(this.currentRelation()?.user?.prenom??"");});}ngOnInit(){this.selectedUserId.set(this.currentRelation()?.user?.id);}selectChild(n){this.activeChild.set(n.user?.prenom??""),this.currentRelation.set(n);}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-welcome-select-child"]],inputs:{currentRelation:[1,"currentRelation"]},outputs:{currentRelation:"currentRelationChange"},decls:3,vars:0,consts:[[1,"content"],["mat-button","","color","primary","type","button",1,"btn","global_subtxt-style",3,"active"],["mat-button","","color","primary","type","button",1,"btn","global_subtxt-style",3,"click"]],template:function(i,a){i&1&&(_(0,"div",0),X(1,Ga,1,1,null,null,Va),r()),i&2&&(l(),z(a.relations()));},dependencies:[je],styles:[".content[_ngcontent-%COMP%]{gap:4px;display:flex;overflow-x:auto;overflow-y:hidden;margin-inline:-12px;padding-inline:12px}.content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{flex-shrink:0;white-space:nowrap;padding:8px 16px!important;border:2px solid transparent!important;background-color:var(--text-white)!important;color:var(--text-strong)!important}@media(hover:hover)and (pointer:fine){.content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover{background-color:var(--button-secondary-active-background)!important;color:var(--button-secondary-active-color)!important;border:2px solid var(--button-secondary-active-color)!important}}.content[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{border:2px solid transparent!important;background-color:var(--action-primary-default)!important;color:var(--text-white)!important}"]});let e=o;return e;})();var Ht=Ee(Se());function ka(e,o){e&1&&(_(0,"div",8),u(1,"app-enej-loader"),r());}function Wa(e,o){e&1&&(_(0,"div",9),A(1,0),r());}function Ha(e,o){e&1&&(_(0,"mat-icon",15),S(1,"ic-check-fill"),r(),_(2,"span",16),A(3,3),r());}function Xa(e,o){e&1&&(_(0,"mat-icon",17),S(1,"ic-x-circle-fill"),r(),_(2,"span",18),A(3,4),r());}function za(e,o){if(e&1&&c(0,Ha,4,0)(1,Xa,4,0),e&2){s();let t=Vt(0);d(t.faits===1?0:1);}}function ja(e,o){e&1&&(_(0,"mat-icon",15),S(1,"ic-check-fill"),r());}function Ka(e,o){e&1&&(_(0,"mat-icon",17),S(1,"ic-x-circle-fill"),r());}function qa(e,o){if(e&1&&(c(0,ja,2,0,"mat-icon",15)(1,Ka,2,0,"mat-icon",17),_(2,"span",13),S(3),r()),e&2){s();let t=Vt(0);d(t.faits===t.total?0:1),l(2),J("done",t.faits===t.total)("todo",t.faits!==t.total),l(),wt("",t.faits,"/",t.total);}}function Ja(e,o){if(e&1&&(gn(0),c(1,za,2,1)(2,qa,4,7)),e&2){let t=s(2);Tn(t.slotSummary(t.coursMatin())),l(),d(t.modeCompteur()?2:1);}}function Ya(e,o){e&1&&(_(0,"span",13),S(1,"-"),r());}function Qa(e,o){e&1&&(_(0,"mat-icon",15),S(1,"ic-check-fill"),r(),_(2,"span",16),A(3,5),r());}function Za(e,o){e&1&&(_(0,"mat-icon",17),S(1,"ic-x-circle-fill"),r(),_(2,"span",18),A(3,6),r());}function e_(e,o){if(e&1&&c(0,Qa,4,0)(1,Za,4,0),e&2){s();let t=Vt(0);d(t.faits===1?0:1);}}function t_(e,o){e&1&&(_(0,"mat-icon",15),S(1,"ic-check-fill"),r());}function n_(e,o){e&1&&(_(0,"mat-icon",17),S(1,"ic-x-circle-fill"),r());}function i_(e,o){if(e&1&&(c(0,t_,2,0,"mat-icon",15)(1,n_,2,0,"mat-icon",17),_(2,"span",13),S(3),r()),e&2){s();let t=Vt(0);d(t.faits===t.total?0:1),l(2),J("done",t.faits===t.total)("todo",t.faits!==t.total),l(),wt("",t.faits,"/",t.total);}}function o_(e,o){if(e&1&&(gn(0),c(1,e_,2,1)(2,i_,4,7)),e&2){let t=s(2);Tn(t.slotSummary(t.coursApresMidi())),l(),d(t.modeCompteur()?2:1);}}function a_(e,o){e&1&&(_(0,"span",13),S(1,"-"),r());}
2function __(e,o){if(e&1&&(_(0,"div",10)(1,"div",11)(2,"span",12),A(3,1),r(),c(4,Ja,3,2)(5,Ya,2,0,"span",13),r(),_(6,"div",11)(7,"span",14),A(8,2),r(),c(9,o_,3,2)(10,a_,2,0,"span",13),r()()),e&2){let t=s();l(4),d(t.coursMatin().length>0?4:5),l(5),d(t.coursApresMidi().length>0?9:10);}}var vt=(()=>{let o=class o{constructor(){this.cours=y.required(),this.store=m(En),this.isLoading=this.store.isLoading,this.coursMatin=M(()=>this.cours().filter(n=>(0,Ht.default)(n.dateFin).isBefore((0,Ht.default)(n.dateFin).startOf("day").add(13,"hour")))),this.coursApresMidi=M(()=>this.cours().filter(n=>!(0,Ht.default)(n.dateDebut).isBefore((0,Ht.default)(n.dateDebut).startOf("day").add(13,"hour")))),this.noData=M(()=>!this.isLoading()&&this.cours().length===0),this.modeCompteur=M(()=>this.coursMatin().length>1||this.coursApresMidi().length>1);}slotSummary(n){return{total:n.length,faits:n.filter(i=>i.appelFait).length};}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget-content-appel"]],inputs:{cours:[1,"cours"]},decls:4,vars:1,consts:()=>{let n;n=" Aucun appel aujourd'hui ";let i;i="Matin";let a;a="Apr\xE8s-midi";let p;p="Fait";let C;C="Non fait";let f;f="Fait";let h;return h="Non fait",[n,i,a,p,C,f,h,[1,"widget-agenda"],[1,"loader"],[1,"global_libelle_text","no_data"],[1,"event-list"],[1,"slot"],[1,"label_matin","global_libelle_text"],[1,"status","global_libelle_text"],[1,"label_apres_midi","global_libelle_text"],["fontSet","enej",1,"icon-done"],[1,"status","done","global_libelle_text"],["fontSet","enej",1,"icon-todo"],[1,"status","todo","global_libelle_text"]];},template:function(i,a){i&1&&(_(0,"div",7),c(1,ka,2,0,"div",8)(2,Wa,2,0,"div",9)(3,__,11,2,"div",10),r()),i&2&&(l(),d(a.isLoading()?1:a.noData()?2:3));},dependencies:[ee,ut,Te],styles:[".widget-agenda[_ngcontent-%COMP%]{display:flex;gap:8px}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;width:100%}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]   .label_matin[_ngcontent-%COMP%]{flex:1;border-left:2px solid var(--background-user-alternative);padding-left:4px}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]   .label_apres_midi[_ngcontent-%COMP%]{flex:1;border-left:2px solid var(--background-user-alternative-1);padding-left:4px}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]   .status.done[_ngcontent-%COMP%]{color:var(--status-success-text)!important}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]   .status.todo[_ngcontent-%COMP%]{color:var(--status-error-text)!important}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]   .icon-done[_ngcontent-%COMP%]{width:16px;height:16px;font-size:16px;min-width:16px;color:var(--status-success-icon)!important}.widget-agenda[_ngcontent-%COMP%]   .event-list[_ngcontent-%COMP%]   .slot[_ngcontent-%COMP%]   .icon-todo[_ngcontent-%COMP%]{width:16px;height:16px;font-size:16px;min-width:16px;color:var(--status-error-icon)!important}.loader[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%}.no_data[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:100%;text-align:center}"]});let e=o;return e;})();var Lt=Ee(Se());function r_(e,o){e&1&&(_(0,"div",20),u(1,"app-enej-loader"),r());}function l_(e,o){e&1&&(_(0,"div",21),A(1,0),r());}function s_(e,o){e&1&&A(0,2,1);}function c_(e,o){e&1&&A(0,2,2);}function d_(e,o){if(e&1&&(_(0,"div",28),qt(1,2),c(2,s_,1,0)(3,c_,1,0),Jt(),r()),e&2){let t=s(3);l(2),d(t.etat()===t.enEtatVote.DEPOUILLEMENT_TERMINE?2:3);}}function p_(e,o){if(e&1&&(_(0,"div",25),c(1,d_,4,1,"div",28),r()),e&2){let t=s(2);l(),d(!t.isOperationElectoraleStarted()||t.etat()===t.enEtatVote.ELECTION_EN_COURS||t.etat()===t.enEtatVote.ELECTION_TERMINEE||t.etat()===t.enEtatVote.DEPOUILLEMENT_TERMINE?1:-1);}}function C_(e,o){e&1&&(_(0,"h5",27),A(1,3),r());}function E_(e,o){if(e&1&&(_(0,"h5",27),A(1,4),ge(2,"date"),r()),e&2){let t=s(2);l(2),le(Qt(2,1,t.election().dateDebut,"shortDate")),se(1);}}function m_(e,o){if(e&1&&(_(0,"div",29)(1,"span",32),A(2,5),r(),_(3,"span",33),S(4),r()()),e&2){let t=s(4);l(4),R(" ",t.ceremonieDateLabel()," ");}}function u_(e,o){e&1&&(_(0,"mat-icon",34),S(1,"ic-check-fill"),r(),_(2,"span",35),A(3,6),r());}function g_(e,o){e&1&&(_(0,"mat-icon",36),S(1,"ic-x-circle-fill"),r(),_(2,"span",37),A(3,7),r()
2);}function T_(e,o){e&1&&(_(0,"mat-icon",34),S(1,"ic-check-fill"),r(),_(2,"span",35),A(3,8),r());}function S_(e,o){e&1&&(_(0,"mat-icon",36),S(1,"ic-x-circle-fill"),r(),_(2,"span",37),A(3,9),r());}function A_(e,o){if(e&1&&(c(0,m_,5,1,"div",29),_(1,"div",30)(2,"div",31),c(3,u_,4,0)(4,g_,4,0),r(),_(5,"div",31),c(6,T_,4,0)(7,S_,4,0),r()()),e&2){let t=s(3);d(t.ceremonieDateLabel()?0:-1),l(3),d(t.membreData().hasCompteActif?3:4),l(3),d(t.membreData().hasPhraseSecrete?6:7);}}function f_(e,o){if(e&1&&(_(0,"div",38)(1,"span",39),A(2,10),r(),_(3,"span",40),S(4),r()()),e&2){let t=s(4);l(4),R(" ",t.ouvertureDateLabel()," ");}}function P_(e,o){if(e&1&&(_(0,"div",38)(1,"span",39),A(2,11),r(),_(3,"span",40),S(4),r()()),e&2){let t=s(4);l(4),R(" ",t.fermetureDateLabel()," ");}}function O_(e,o){if(e&1&&(c(0,f_,5,1,"div",38),c(1,P_,5,1,"div",38)),e&2){let t=s(3);d(t.ouvertureDateLabel()?0:-1),l(),d(t.fermetureDateLabel()?1:-1);}}function M_(e,o){if(e&1&&(_(0,"div",38)(1,"span",39),A(2,13),r(),_(3,"span",40),S(4),r()()),e&2){let t=s(4);l(4),R(" ",t.fermetureDateLabel()," ");}}function I_(e,o){if(e&1&&(_(0,"h5",41),A(1,12),r(),c(2,M_,5,1,"div",38)),e&2){let t=s(3);l(2),d(t.fermetureDateLabel()?2:-1);}}function D_(e,o){if(e&1&&(_(0,"h5",41),A(1,14),r(),_(2,"h5",27),A(3,15),r()),e&2){let t=s(3);l(3),le(t.depouillementDateLabel()),se(3);}}function h_(e,o){if(e&1&&(_(0,"div",38)(1,"span",39),A(2,17),r(),_(3,"span",40),A(4,18),r()()),e&2){let t=s(4);l(4),le(t.disparitionDateLabel()),se(4);}}function x_(e,o){if(e&1&&(_(0,"h5",41),A(1,16),r(),c(2,h_,5,1,"div",38)),e&2){let t=s(3);l(2),d(t.disparitionDateLabel()?2:-1);}}function b_(e,o){if(e&1&&(c(0,A_,8,3),c(1,O_,2,2),c(2,I_,3,1),c(3,D_,4,1),c(4,x_,3,1)),e&2){let t=s(2);d(t.isCeremonieOver()?-1:0),l(),d(t.etat()===t.enEtatVote.PRETE_POUR_L_OUVERTURE_AUX_ELECTEURS?1:-1),l(),d(t.etat()===t.enEtatVote.ELECTION_EN_COURS?2:-1),l(),d(t.etat()===t.enEtatVote.ELECTION_TERMINEE?3:-1),l(),d(t.etat()===t.enEtatVote.DEPOUILLEMENT_TERMINE?4:-1);}}function N_(e,o){if(e&1&&(_(0,"div",22)(1,"div",23)(2,"h3",24),A(3,1),r(),c(4,p_,2,1,"div",25),r(),_(5,"div",26),c(6,C_,2,0,"h5",27)(7,E_,3,4,"h5",27)(8,b_,5,5),r()()),e&2){let t=s();l(3),le(t.election().libelle),se(3),l(),d(t.election().urlSsoMembre?4:-1),l(2),d(t.election().isElectionExpectedToStartButCeremonieNotPerformed?6:t.election().isDateCeremoniePassedButCeremonieNotPerformed?7:8);}}var Rt=(()=>{let o=class o{constructor(){this.enEtatVote=Pt,this.election=y.required(),this.store=m(ht),this.isLoading=this.store.isLoading,this.isCeremonieOver=M(()=>this.election()?.isCeremonieOver??!1),this.isOperationElectoraleStarted=M(()=>this.election()?.isOperationElectoraleStarted??!1),this.isCeremonieOverAndDateDebutPassed=M(()=>this.election()?.isCeremonieOverAndDateDebutPassed??!1),this.isElectionExpectedToStartButCeremonieNotPerformed=M(()=>this.election()?.isElectionExpectedToStartButCeremonieNotPerformed??!1),this.noData=M(()=>!this.isLoading()&&!this.election()),this.etat=M(()=>{let n=this.election()?.etat;return n?Pt[n]:void 0;}),this.membreData=M(()=>this.election()?.membreBureau),this.ceremonieDateLabel=M(()=>{let n=this.election()?.dateDebutCle;return n?(0,Lt.default)(n).format("L [\xE0] LT"):null;}),this.ouvertureDateLabel=M(()=>{let n=this.election()?.dateDebut;return n?(0,Lt.default)(n).format("L [\xE0] LT"):null;}),this.fermetureDateLabel=M(()=>{let n=this.election()?.dateFin;return n?(0,Lt.default)(n).format("L [\xE0] LT"):null;}),this.depouillementDateLabel=M(()=>{let n=this.election()?.dateFinDepouil;return n?(0,Lt.default)(n).format("L [\xE0] LT"):null;}),this.disparitionDateLabel=M(()=>{let n=this.election()?.dateFin;return n?(0,Lt.default)(n).add(10,"day").format("L"):null;});}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget-content-election-membre"]],inputs:{election:[1,"election"]},decls:4,vars:1,consts:()=>{let n;n=" Aucune \xE9lection en cours ";let i;i="\n          "+"\uFFFD0\uFFFD"+"\n        ";let a;a=""+"\uFFFD*2:1\uFFFD"+" Consulter les r\xE9sultats "+"\uFFFD/*2:1\uFFFD"+""+"\uFFFD*3:2\uFFFD"+" Mon bureau de vote "+"\uFFFD/*3:2\uFFFD"+"";let p;p=" C\xE9r\xE9monie des cl\xE9s non effectu\xE9e : l\u2019\xE9lection ne peut pas \xEAtre ouverte ! ";let C;C=" Date de la c\xE9r\xE9monie des cl\xE9s d\xE9pass\xE9e : finalisez rapidement le param\xE9trage pour garantir l\u2019ouverture le "+"\uFFFD0\uFFFD"+". ";let f;f=" C\xE9r\xE9monie des cl\xE9s ";let h;h=" Compte cr\xE9\xE9 ";let O;O=" Compte non cr\xE9\xE9 ";let b;b=" Phrase secr\xE8te cr\xE9\xE9e ";let U;U=" Phrase secr\xE8te non cr\xE9\xE9e ";let w;w=" Ouverture de l'\xE9lection ";let Q;Q=" Fermeture de l'\xE9lection ";let te;te=" \xC9lection ouverte ";let ne;ne=" Fermeture de l'\xE9lection ";let _e;_e=" \xC9lection termin\xE9e ";let re;re=" D\xE9pouillement \xE0 r\xE9aliser avant le "+"\uFFFD0\uFFFD"+" ";let ie;ie=" D\xE9pouillement termin\xE9 ";let oe;oe=" R\xE9sultats disponibles ";let G;return G=" jusqu'au "+"\uFFFD0\uFFFD"+" ",[n,i,a,p,C,f,h,O,b,U,w,Q,te,ne,_e,re,ie,oe,G,[1,"widget-election"],[1,"loader"],[1,"no_data","global_libelle_text"],[1,"election-content"],[1,"election-left"],[1,"global_libelle_text","election-title"],[1,"chips-container"],[1,"election-right"],[1,"global_accent_label","global_text_error"],["color","primary",1,"election-chip"],[1,"ceremonie"],[1,"status-list"],[1,"status-item"],[1,"ceremonie-title","global_libelle_text"],[1,"ceremonie-date","global_libelle_text","global_accent_label"],["fontSet","enej",1,"icon-done"],[1,"status","done","global_libelle_text"],["fontSet","enej",1,"icon-todo"],[1,"status","todo","global_libelle_text"],[1,"election-date"],[1,"election-date-label","global_libelle_text"],[1,"election-date-value","global_libelle_text","global_accent_label"],[1,"global_accent_label"]];},template:function(i,a){i&1&&(_(0,"div",19),c(1,r_,2,0,"div",20)(2,l_,2,0,"div",21)(3,N_,9,3,"div",22),r()),i&2&&(l(),d(a.isLoading()?1:a.noData()?2:3));},dependencies:[ee,Ae,Te,tn],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;min-width:0;min-height:0}.widget-election[_ngcontent-%COMP%]{display:flex;width:100%;min-width:360px;max-width:450px;height:140px;min-height:140px;max-height:140px;box-sizing:border-box;font-style:normal}.widget-election[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%], .widget-election[_ngcontent-%COMP%]   .no_data[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box}.widget-election[_ngcontent-%COMP%]   .election-content[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box}.widget-election[_ngcontent-%COMP%]   .election-left[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;flex:1 1 50%;box-sizing:border-box;width:50%;min-width:0;min-height:0;gap:8px;padding:28px 8px 8px}.widget-election[_ngcontent-%COMP%]   .election-left[_ngcontent-%COMP%]   .election-title[_ngcontent-%COMP%]{display:-webkit-box;width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-align:center;font-weight:600}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 1 50%;box-sizing:border-box;width:50%;min-width:0;min-height:0;gap:4px;padding:8px;border-left:0}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{font-weight:600;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;width:100%;max-width:100%;margin:0;text-align:center}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .ceremonie[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;gap:0}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .ceremonie[_ngcontent-%COMP%]   .ceremonie-title[_ngcontent-%COMP%], .widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .ceremonie[_ngcontent-%COMP%]   .ceremonie-date[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;width:100%;min-width:0;text-align:center}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .ceremonie[_ngcontent-%COMP%]   .ceremonie-title[_ngcontent-%COMP%]{font-size:14px}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .ceremonie[_ngcontent-%COMP%]   .ceremonie-date[_ngcontent-%COMP%]{font-weight:600}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;gap:4px}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]{display:grid;grid-template-columns:12px minmax(0,auto);align-items:start;justify-content:center;width:100%;min-width:0;column-gap:4px}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .status[_ngcontent-%COMP%]{font-size:14px;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;min-width:0;max-width:100%;text-align:center;white-space:normal}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .status.done[_ngcontent-%COMP%]{color:var(--status-success-text)!important}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .status.todo[_ngcontent-%COMP%]{color:var(--status-error-text)!important}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .icon-done[_ngcontent-%COMP%], .widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .icon-todo[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:12px;height:12px;min-width:12px;min-height:12px;margin-top:2px;font-size:12px;line-height:12px}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .icon-done[_ngcontent-%COMP%]{color:var(--status-success-icon)!important}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]   .status-item[_ngcontent-%COMP%]   .icon-todo[_ngcontent-%COMP%]{color:var(--status-error-icon)!important}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;gap:0}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]   .election-date-label[_ngcontent-%COMP%], .widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]   .election-date-value[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;width:100%;min-width:0;text-align:center}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]   .election-date-label[_ngcontent-%COMP%]{font-size:14px}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]   .election-date-value[_ngcontent-%COMP%]{font-weight:600}.chips-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0}.chips-container[_ngcontent-%COMP%]   .election-chip[_ngcontent-%COMP%]{font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;min-width:0;min-height:24px;padding:4px 10px;box-sizing:border-box;color:var(--text-white);background-color:var(--background-user);border-radius:var(--button-border-radius);text-align:center;white-space:nowrap;cursor:pointer}@media screen and (max-width:767px){.widget-election[_ngcontent-%COMP%]{width:100%;min-width:0;max-width:none;height:108px;min-height:108px;max-height:108px}.widget-election[_ngcontent-%COMP%]   .election-left[_ngcontent-%COMP%]{gap:4px;padding:32px 6px 6px}.widget-election[_ngcontent-%COMP%]   .election-left[_ngcontent-%COMP%]   .election-title[_ngcontent-%COMP%]{-webkit-line-clamp:2}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]{gap:2px;padding:8px 6px 6px}.widget-election[_ngcontent-%COMP%]   .election-right[_ngcontent-%COMP%]   .status-list[_ngcontent-%COMP%]{gap:2px}.chips-container[_ngcontent-%COMP%]   .election-chip[_ngcontent-%COMP%]{min-height:22px;padding:3px 10px}}"]});let e=o;return e;})();var mn=Ee(Se());function v_(e,o){e&1&&(_(0,"div",19),u(1,"app-enej-loader"),r());}function L_(e,o){e&1&&(_(0,"div",20),A(1,0),r());}function R_(e,o){if(e&1&&(_(0,"h5",24),A(1,1),r()),e&2){let t=s(2);l(),le(t.election().libelle),se(1);}}function F_(e,o){e&1&&(_(0,"span",28)(1,"span",29),A(2,2),r()());}function U_(e,o){if(e&1&&(_(0,"span",28)(1,"span",29),A(2,3),r(),S(3),r()),e&2){let t=s(3);l(3),R(" ",t.userEmail()," ");}}function y_(e,o){if(e&1&&(_(0,"span",28)(1,"span",29),A(2,4),r(),S(3),r()),e&2){let t=s(3);l(3),R(" ",t.userPhone()," ");}}function $_(e,o){if(e&1&&(c(0,F_,3,0,"span",28),c(1,U_,4,1,"span",28),c(2,y_,4,1,"span",28)),e&2){let t=s(2);d(t.userEmail()||t.userPhone()?0:-1),l(),d(t.userEmail()?1:-1),l(),d(t.userPhone()?2:-1);}}function w_(e,o){e&1&&A(0,5,1);}function V_(e,o){e&1&&A(0,5,2);}function B_(e,o){if(e&1&&(_(0,"div",26),qt(1,5),c(2,w_,1,0)(3,V_,1,0),Jt(),r()),e&2){let t=s(2);l(2),d(!t.isCeremonieOverAndDateDebutPassed()&&t.hasOtp()?2:3);}}function G_(e,o){if(e&1&&(_(0,"h5",24),A(1,6),r()),e&2){let t=s(2);l(),le(t.election().libelle),se(1);}}function k_(e,o){e&1&&(_(0,"h5",30),A(1,7),r());}function W_(e,o){if(e&1&&(_(0,"div",31)(1,"span",32),A(2,8),r(),_(3,"span",33),S(4),r()()),e&2){let t=s(4);l(4),R(" ",t.ouvertureDateLabel()," ");}}function H_(e,o){if(e&1&&(_(0,"div",31)(1,"span",32),A(2,9),r(),_(3,"span",33),S(4),r()()),e&2){let t=s(4);l(4),R(" ",t.fermetureDateLabel()," ");}}function X_(e,o){if(e&1&&(c(0,W_,5,1,"div",31),c(1,H_,5,1,"div",31)),e&2){let t=s(3);d(t.ouvertureDateLabel()?0:-1),l(),d(t.fermetureDateLabel()?1:-1);}}function z_(e,o){if(e&1&&c(0,k_,2,0,"h5",30)(1,X_,2,2),e&2){let t=s(2);d(t.isElectionExpectedToStartButCeremonieNotPerformed()?0:1);}}function j_(e,o){if(e&1&&(_(0,"div",31)(1,"span",32),A(2,12),r(),_(3,"span",33),S(4),r()()),e&2){let t=s(3);l(4),R(" ",t.fermetureDateLabel()," ");}}function K_(e,o){if(e&1&&(_(0,"h5",30),A(1,10),r(),_(2,"div",25)(3,"div",26),A(4,11),r()(),c(5,j_,5,1,"div",31)),e&2){let t=s(2);l(5),d(t.fermetureDateLabel()?5:-1);}}function q_(e,o){e&1&&(_(0,"h5",30),A(1,13),r(),_(2,"div",25)(3,"div",26),A(4,14),r()());}function J_(e,o){if(e&1&&(_(0,"div",31)(1,"span",32),A(2,17),r(),_(3,"span",33),S(4),r()()),e&2){let t=s(3);l(4),R(" jusqu'au ",t.disparitionDateLabel()," ");}}function Y_(e,o){if(e&1&&(_(0,"h5",30),A(1,15),r(),_(2,"div",25)(3,"div",26),A(4,16),r()(),c(5,J_,5,1,"div",31)),e&2){let t=s(2);l(5),d(t.disparitionDateLabel()?5:-1);}}function Q_(e,o){if(e&1&&(_(0,"div",21)(1,"div",22)(2,"div",23),c(3,R_,2,1,"h5",24),c(4,$_,3,3),r(),_(5,"div",25),c(6,B_,4,1,"div",26),r()(),_(7,"div",27),c(8,G_,2,1,"h5",24),c(9,z_,2,1),c(10,K_,6,1),c(11,q_,5,0),c(12,Y_,6,1),r()()),e&2){let t=s();l(3),d(!t.hasOtp()||t.isOperationElectoraleStarted()||t.isCeremonieOverAndDateDebutPassed()?3:-1),l(),d(t.hasOtp()&&!t.isOperationElectoraleStarted()&&
2!t.isCeremonieOverAndDateDebutPassed()?4:-1),l(2),d(t.isOperationElectoraleStarted()?-1:6),l(),J("otp",t.hasOtp()&&!t.isOperationElectoraleStarted()&&!t.isCeremonieOverAndDateDebutPassed()),l(),d(t.hasOtp()&&!t.isOperationElectoraleStarted()&&!t.isCeremonieOverAndDateDebutPassed()?8:-1),l(),d(t.isOperationElectoraleStarted()?-1:9),l(),d(t.etat()===t.enEtatVote.ELECTION_EN_COURS?10:-1),l(),d(t.etat()===t.enEtatVote.ELECTION_TERMINEE?11:-1),l(),d(t.etat()===t.enEtatVote.DEPOUILLEMENT_TERMINE?12:-1);}}var Ft=(()=>{let o=class o{constructor(){this.enEtatVote=Pt,this.election=y.required(),this.store=m(ht),this.isLoading=this.store.isLoading,this.isOperationElectoraleStarted=M(()=>this.election()?.isOperationElectoraleStarted??!1),this.isCeremonieOverAndDateDebutPassed=M(()=>this.election()?.isCeremonieOverAndDateDebutPassed??!1),this.isElectionExpectedToStartButCeremonieNotPerformed=M(()=>this.election()?.isElectionExpectedToStartButCeremonieNotPerformed??!1),this.noData=M(()=>!this.isLoading()&&!this.election()),this.etat=M(()=>{let n=this.election()?.etat;return n?Pt[n]:void 0;}),this.hasOtp=M(()=>this.election()?.hasOtp??!1),this.userEmail=M(()=>this.election()?.electeur?.email??null),this.userPhone=M(()=>this.election()?.electeur?.telephone??null),this.ouvertureDateLabel=M(()=>{let n=this.election()?.dateDebut;return n?(0,mn.default)(n).format("L [\xE0] LT"):null;}),this.fermetureDateLabel=M(()=>{let n=this.election()?.dateFin;return n?(0,mn.default)(n).format("L [\xE0] LT"):null;}),this.disparitionDateLabel=M(()=>{let n=this.election()?.dateFin;return n?(0,mn.default)(n).add(10,"day").format("L"):null;});}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-widget-content-election-electeur"]],inputs:{election:[1,"election"]},decls:4,vars:1,consts:()=>{let n;n=" Aucune \xE9lection en cours ";let i;i="\n          "+"\uFFFD0\uFFFD"+"\n        ";let a;a="Mes coordonn\xE9es";let p;p="E-mail :";let C;C="T\xE9l\xE9phone :";let f;f=""+"\uFFFD*2:1\uFFFD"+" Modifier mes coordonn\xE9es "+"\uFFFD/*2:1\uFFFD"+""+"\uFFFD*3:2\uFFFD"+" Consulter les listes "+"\uFFFD/*3:2\uFFFD"+"";let h;h="\n          "+"\uFFFD0\uFFFD"+"\n        ";let O;O=" En attente d'ouverture par les membres du bureau de vote ";let b;b=" Ouverture de l'\xE9lection ";let U;U=" Fermeture de l'\xE9lection ";let w;w=" \xC9lection ouverte ";let Q;Q=" Voter ";let te;te=" Fermeture de l'\xE9lection ";let ne;ne=" \xC9lection ferm\xE9e ";let _e;_e=" D\xE9pouillement \xE0 venir ";let re;re=" D\xE9pouillement termin\xE9 ";let ie;ie=" Consulter les r\xE9sultats ";let oe;return oe=" R\xE9sultats disponibles ",[n,i,a,p,C,f,h,O,b,U,w,Q,te,ne,_e,re,ie,oe,[1,"widget-electeur"],[1,"loader"],[1,"no_data","global_libelle_text"],[1,"electeur-content"],[1,"electeur-left"],[1,"coordonnees"],[1,"election-title"],[1,"chips-container"],["color","primary",1,"election-chip"],[1,"electeur-right"],[1,"coordonnees-item","global_libelle_text"],[1,"coordonnees-label"],[1,"global_accent_label"],[1,"election-date"],[1,"election-date-label","global_libelle_text"],[1,"election-date-value","global_libelle_text","global_accent_label"]];},template:function(i,a){i&1&&(_(0,"div",18),c(1,v_,2,0,"div",19)(2,L_,2,0,"div",20)(3,Q_,13,10,"div",21),r()),i&2&&(l(),d(a.isLoading()?1:a.noData()?2:3));},dependencies:[ee,Ae,ce],styles:["[_nghost-%COMP%]{display:block;width:100%;height:100%;min-width:0;min-height:0}.widget-electeur[_ngcontent-%COMP%]{display:flex;width:100%;min-width:360px;max-width:450px;height:140px;min-height:140px;max-height:140px;box-sizing:border-box;font-style:normal}.widget-electeur[_ngcontent-%COMP%]   .loader[_ngcontent-%COMP%], .widget-electeur[_ngcontent-%COMP%]   .no_data[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box}.widget-electeur[_ngcontent-%COMP%]   .electeur-content[_ngcontent-%COMP%]{display:flex;width:100%;height:100%;min-width:0;min-height:0;box-sizing:border-box}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]{display:flex;flex:1 1 50%;flex-direction:column;justify-content:center;width:50%;min-width:0;min-height:0;padding:28px 8px 8px;gap:8px;box-sizing:border-box}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]   .election-title[_ngcontent-%COMP%]{display:-webkit-box;width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-weight:600;text-align:center}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]   .coordonnees[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;min-width:0;gap:3px}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]   .coordonnees[_ngcontent-%COMP%]   .coordonnees-item[_ngcontent-%COMP%]{display:block;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]   .coordonnees[_ngcontent-%COMP%]   .coordonnees-item[_ngcontent-%COMP%]   .coordonnees-label[_ngcontent-%COMP%]{font-weight:600}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]{display:flex;flex:1 1 50%;flex-direction:column;align-items:center;justify-content:center;width:50%;min-width:0;min-height:0;padding:8px;gap:4px;box-sizing:border-box;border-left:0;text-align:center}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{display:-webkit-box;width:100%;max-width:100%;margin:0;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;font-weight:600;text-align:center}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0;gap:0}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]   .election-date-label[_ngcontent-%COMP%], .widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date[_ngcontent-%COMP%]   .election-date-value[_ngcontent-%COMP%]{display:-webkit-box;width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:3;text-align:center}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date-label[_ngcontent-%COMP%]{font-size:14px}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date-value[_ngcontent-%COMP%]{font-weight:600}.chips-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:100%;min-width:0;margin:0}.chips-container[_ngcontent-%COMP%]   .election-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;min-width:0;min-height:24px;padding:4px 10px;box-sizing:border-box;color:var(--text-white);background-color:var(--background-user);border-radius:var(--button-border-radius);font-size:12px;font-style:normal;font-weight:500;line-height:normal;letter-spacing:-.06px;text-align:center;white-space:nowrap;cursor:pointer}@media screen and (max-width:767px){.widget-electeur[_ngcontent-%COMP%]{width:100%;min-width:0;max-width:none;height:108px;min-height:108px;max-height:108px}.widget-electeur[_ngcontent-%COMP%]   .election-title[_ngcontent-%COMP%]{-webkit-line-clamp:2}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]{gap:4px;padding:32px 6px 6px}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]   .coordonnees[_ngcontent-%COMP%]{gap:2px}.widget-electeur[_ngcontent-%COMP%]   .electeur-left[_ngcontent-%COMP%]   .coordonnees[_ngcontent-%COMP%]   .coordonnees-item[_ngcontent-%COMP%]{font-size:12px}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]{gap:2px;padding:8px 6px 6px}.widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%], .widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date-label[_ngcontent-%COMP%], .widget-electeur[_ngcontent-%COMP%]   .electeur-right[_ngcontent-%COMP%]   .election-date-value[_ngcontent-%COMP%]{-webkit-line-clamp:2}.widget-electeur[_ngcontent-%COMP%]   .electeur-right.otp[_ngcontent-%COMP%]{display:block;padding:8px}.widget-electeur[_ngcontent-%COMP%]   .electeur-right.otp[_ngcontent-%COMP%]   .election-title[_ngcontent-%COMP%]{font-size:12px}.widget-electeur[_ngcontent-%COMP%]   .electeur-right.otp[_ngcontent-%COMP%]   .election-date-label[_ngcontent-%COMP%]{font-size:10px}.widget-electeur[_ngcontent-%COMP%]   .electeur-right.otp[_ngcontent-%COMP%]   .election-date-value[_ngcontent-%COMP%]{font-size:12px}.chips-container[_ngcontent-%COMP%]   .election-chip[_ngcontent-%COMP%]{min-height:22px;padding:3px 10px}}"]});let e=o;return e;})();var er=Ee(Se());var nr=Ee(Se());var _r=Ee(Se());var bn=(()=>{let o=class o{constructor(n,i,a){this.http=n,this.url=i,this.contexteService=a,this.baseEndpoint=`${this.url.GetUrlPath(K.UrlServiceRestPronoteIntegre)}`,this.endpoint=`${this.baseEndpoint}/v1/pronoteint`;}context(){return{ctx_etab:this.contexteService.etabSelected$.value,ctx_profil:this.contexteService.codeProfil$.value};}forceEndPoint(){this.endpoint=`${this.baseEndpoint}/v1/pronoteint`;}setContext(n,i){this.context=()=>({ctx_etab:n,ctx_profil:i});}resetContext(){this.context=()=>({ctx_etab:this.contexteService.etabSelected$.value,ctx_profil:this.contexteService.codeProfil$.value});}getAsync({aUrl:n,aTicket:i}){return this.http.get(He(this.endpoint,"data"),{params:We(F({aUrl:n,aTicket:i},this.context())),withCredentials:!0,responseType:"text"});}getIcalAsync({aUrl:n}){return this.http.get(He(this.endpoint,"ical"),{params:We(F({aUrl:n},this.context())),withCredentials:!0});}testCAS({}={}){return this.http.get(He(this.endpoint,"cas"),{params:We(F({},this.context())),withCredentials:!0});}};o.ɵfac=function(i){return new(i||o)(jt(Et),jt(gt),jt(v));},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var lr=Ee(Se());var cr=Ee(Se());var pr=Ee(Se());var eo=Ee(Eo());var to=(()=>{let o=class o{headers(){return new nn();}context(){return{ctx_etab:this.metierContexteService.etabSelected$.value,ctx_profil:this.metierContexteService.codeProfil$.value};}constructor(){this.httpClient=m(Et),this.metierContexteService=m(v),this.url=m(gt),this.servicesPrninApi=m(bn),this.endpoint=`${this.url.GetUrlPath(K.UrlServiceRestSSO)}`,this.parser=new eo.Parser({trim:!0,explicitArray:!1,explicitRoot:!1,mergeAttrs:!0,attrNameProcessors:[n=>`${n.charAt(0).toUpperCase()+n.slice(1)}Attr`],validator:(n,i,a)=>{let p=n.split("/").slice(-2),C=p.shift(),f=p.pop();if(!C)return a;let h=["Observation","Evaluation"],O=["Eleve","Devoir","Item","PagePronote","CahierDeTextes","Evaluation","Domaine","Absence","Retard","PassageInfirmerie","Punition","Sanction","ContenuDeCours","TravailAFaire","Information","Message","AppelNonFait","Cours","Classe"],b=["VersionAttr","Duree","Genre","NombreMessagesNonLus","NombreInformationsNonLus","NombreDocumentsCasierNonLus"];return["EstOuverte","Justifie"].includes(f)?a==="true":b.includes(f)?Number.parseInt(a):!i&&!h.includes(C)&&O.includes(f)?[a]:a;}});}getDonnees(n,i){return this.servicesPrninApi.getAsync({aUrl:`${n}donneesUtilisateur`,aTicket:i}).pipe(tt(a=>Nn(this.parser.parseStringPromise(a))),H(a=>F(F({},{}),a)));}getTicket(n,i,a){return this.httpClient.get(He("","cas/ticket"),{headers:this.headers(),params:We(F({service:n,uai:a,fonction:i},this.context())),withCredentials:!0});}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var no=(()=>{let o=class o{constructor(){this.http=m(Et),this.url=m(gt),this.headers=new nn(),this.endpoint=`${this.url.GetUrlPath(K.UrlServiceCAS)}/cas/proxysso`;}validateTicket(n){return this.http.get(n);}GetAsync(n){return this.http.get(He(this.endpoint,"pgt"),{headers:this.headers,params:We({pgtIou:n})});}}
2;o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac,providedIn:"root"});let e=o;return e;})();var io=(()=>{let o=class o{constructor(){this.actions$=m(gi),this.prninservice=m(to),this.metierContexteService=m(v),this.apiCas=m(no),this.store=m(xe),this.pronoteService=m(Gt),this.loadData$=St(()=>this.actions$.pipe(At(at),On(()=>this.store.select(Ce)),ue(([,n])=>!n),un(([n])=>{let i=K.ssoConfig.find(O=>O.name==="pronote"),a=i?.serveurUrl,p=i?.clientUrl,C=i?.apiUrl,f=this.pronoteService.makeUrlPronoteBase({aUai:n.uai}),h=a+"cas/serviceValidate?ticket="+n.ST_ticket+"&service="+p+"&pgtUrl="+C+"&format=JSON";return this.apiCas.validateTicket(h).pipe(tt(O=>{let b=O.serviceResponse.authenticationSuccess.proxyGrantingTicket;return this.apiCas.GetAsync(b);}),tt(O=>{let b=O.pgtID,U=a+"cas/proxy?targetService="+f+"&pgt="+b+"&format=JSON";return this.apiCas.validateTicket(U);}),H(O=>{let U=O.serviceResponse.proxySuccess.proxyTicket,w=this.metierContexteService.codeProfil$.value,Q=f;return w==="ELEVE"?cn({PT_ticket:U,aUrl:Q}):w==="RESPONSABLE_ELEVE"?Dn({PT_ticket:U,aUrl:Q}):w==="ENSEIGNANT"?hn({PT_ticket:U,aUrl:Q,uai:n.uai}):cn({PT_ticket:"",aUrl:""});}),yt(O=>{if(console.error("error : ",O),this.metierContexteService.codeProfil$.value==="ENSEIGNANT"){let U=this.metierContexteService.userCourant$.value.etablissements?.length??0;return we(Wt({uai:n.uai,etabsCount:U}));}return we(_t());}));}))),this.loadDataEleve$=St(()=>this.actions$.pipe(At(cn),tt(n=>this.prninservice.getDonnees(n.aUrl,n.PT_ticket)),H(n=>dn({data:n,aProfil:"ELEVE"})),yt(n=>(console.error("error : ",n),we(_t()))))),this.LoadDataRespEleve$=St(()=>this.actions$.pipe(At(Dn),tt(n=>this.prninservice.getDonnees(n.aUrl,n.PT_ticket)),H(n=>pn({data:n,aProfil:"RESPONSABLE_ELEVE"})),yt(n=>(console.error("error : ",n),we(_t()))))),this.loadDataProfesseur$=St(()=>this.actions$.pipe(At(hn),un(n=>{let i=this.metierContexteService.userCourant$.value.etablissements?.length??0;return this.prninservice.getDonnees(n.aUrl,n.PT_ticket).pipe(H(a=>Cn({data:a,aProfil:"ENSEIGNANT",uai:n.uai,etabsCount:i})),yt(a=>(console.error("error : ",a),we(Wt({uai:n.uai,etabsCount:i})))));}))),this.openWindowUrlPronote$=St(()=>this.actions$.pipe(At(Pe),On(()=>this.store.select(ji)),H(([n,i])=>{let a=this.pronoteService.makeUrlPronoteWithExtension({aUai:n.uai,subPageCode:i}),p=n.pageId?`?page=${n.pageId}`:"";return`${a}${p}`;}),Ln(n=>window.open(n,"_blank")),H(n=>Wi())));}};o.ɵfac=function(i){return new(i||o)();},o.ɵprov=j({token:o,factory:o.ɵfac});let e=o;return e;})();var oo=(()=>{let o=class o{};o.ɵfac=function(i){return new(i||o)();},o.ɵmod=wn({type:o}),o.ɵinj=Rn({imports:[ce,Ae,Ke,ei.forFeature("prnin",Xi),Ti.forFeature([io])]});let e=o;return e;})();var ur=e=>[e,"actualities"],Qe=e=>[e],ao=(e,o)=>o.id;function gr(e,o){if(e&1){let t=D();_(0,"app-welcome-select-child",16),pt("currentRelationChange",function(i){g(t);let a=s();return dt(a.currentRelation,i)||(a.currentRelation=i),T(i);}),r();}if(e&2){let t=s();ct("currentRelation",t.currentRelation);}}function Tr(e,o){if(e&1){let t=D();_(0,"app-widget",18),P("click",function(){let i=g(t).$implicit,a=s(2);return T(a.openVotePlateforme(i.urlSsoMembre));}),u(1,"app-widget-content-election-membre",19),r();}if(e&2){let t=o.$implicit;E("isLarge",!0)("chip",t.isTest?"Test":""),l(),E("election",t);}}function Sr(e,o){if(e&1&&X(0,Tr,2,3,"app-widget",17,ao),e&2){let t=s();z(t.widgetElectionMembreElections());}}function Ar(e,o){if(e&1){let t=D();_(0,"app-widget",21),P("click",function(){let i=g(t).$implicit,a=s(2);return T(a.openVotePlateforme(i.urlSsoElecteur));}),u(1,"app-widget-content-election-electeur",19),r();}if(e&2){let t=o.$implicit;E("isLarge",!0)("chip",t.isTest?"Test":""),l(),E("election",t);}}function fr(e,o){if(e&1&&X(0,Ar,2,3,"app-widget",20,ao),e&2){let t=s();z(t.widgetElectionElecteurElections());}}function Pr(e,o){if(e&1){let t=D();_(0,"app-widget",22),P("click",function(){g(t);let i=s();return T(i.openCdt1d());})("keyup.enter",function(){g(t);let i=s();return T(i.openCdt1d());}),u(1,"app-widget-content-progress-bar",23),r();}if(e&2){let t=s();E("isLarge",!1),l(),E("value",t.cdtValue())("totalValue",t.cdtTotalValue())("isLoading",t.cdtIsLoading());}}function Or(e,o){if(e&1){let t=D();_(0,"app-widget",24),P("click",function(){g(t);let i=s();return T(i.openAbsences());}
2)("keyup.enter",function(){g(t);let i=s();return T(i.openAbsences());}),u(1,"app-widget-content-counter-badge",25),r();}if(e&2){let t=s();E("isLarge",!1),l(),E("items",t.absencesItems())("isLoading",t.absencesIsLoading());}}function Mr(e,o){if(e&1&&(_(0,"app-widget",10),u(1,"app-widget-content-counter-badge",26),r()),e&2){let t=s();E("isLarge",!1),l(),E("items",t.widgetCommunicationItems())("isLoading",t.widgetCommunicationIsLoading());}}function Ir(e,o){if(e&1&&(_(0,"app-widget",11),u(1,"app-widget-content-appel",27),r()),e&2){let t=s();E("isLarge",!1),l(),E("cours",t.widgetAppelCours());}}function Dr(e,o){if(e&1){let t=D();_(0,"app-widget",28),P("click",function(){g(t);let i=s(2);return T(i.openCDT());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openCDT());}),u(1,"app-widget-content-counter-badge",29),r(),_(2,"app-widget",30),P("click",function(){g(t);let i=s(2);return T(i.openNote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNote());}),u(3,"app-widget-content-note",31),r(),_(4,"app-widget",32),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(5,"app-widget-content-counter-badge",33),r(),_(6,"app-widget",34),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(7,"app-widget-content-counter-badge",35),r();}if(e&2){let t=s(2);E("isLarge",!1)("subtitle",!0),l(),E("items",N(13,Qe,t.eleveCDT()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",t.eleveNotes())("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(15,Qe,t.eleveDiscussions()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(17,Qe,t.eleveInfos()))("isLoading",t.prninIsLoading());}}function hr(e,o){if(e&1){let t=D();_(0,"app-widget",36),P("click",function(){g(t);let i=s(2);return T(i.openCDT());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openCDT());}),u(1,"app-widget-content-counter-badge",37),r(),_(2,"app-widget",38),P("click",function(){g(t);let i=s(2);return T(i.openNote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNote());}),u(3,"app-widget-content-note",39),r(),_(4,"app-widget",40),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(5,"app-widget-content-counter-badge",41),r(),_(6,"app-widget",42),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(7,"app-widget-content-counter-badge",43),r();}if(e&2){let t=s(2);E("isLarge",!1)("subtitle",!0),l(),E("items",N(13,Qe,t.parentCDT()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",t.parentNotes())("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(15,Qe,t.parentDiscussions()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(17,Qe,t.parentInfos()))("isLoading",t.prninIsLoading());}}function xr(e,o){if(e&1){let t=D();_(0,"app-widget",44),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",45),r(),_(2,"app-widget",46),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(3,"app-widget-content-counter-badge",47),r();}if(e&2){let t=s(2);E("isLarge",!1),l(),E("items",N(6,Qe,t.enseignantDiscussions()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(8,Qe,t.enseignantInfos()))("isLoading",t.prninIsLoading());}}function br(e,o){if(e&1&&(c(0,Dr,8,19),c(1,hr,8,19),c(2,xr,4,10)),e&2){let t=s();d(t.profil()==="ELEVE"?0:-1),l(),d(t.profil()==="RESPONSABLE_ELEVE"?1:-1),l(),d(t.profil()==="ENSEIGNANT"?2:-1);}}function Nr(e,o){e&1&&(_(0,"div",15)(1,"div",4)(2,"h2",48),A(3,0),r(),_(4,"p",49),A(5,1),r()(),u(6,"app-acces-bloc-group"),r());}var _o=(()=>{let o=class o extends qe{};o.ɵfac=(()=>{let n;return function(a){return(n||(n=Ve(o)))(a||o);};})(),o.ɵcmp=L({type:o,selectors:[["app-dashboard-accueil-desktop"]],features:[Be],decls:20,vars:14,consts:()=>{let n;n="Cahier de textes";let i;i="\xC0 justifier";let a;a="Communication";let p;p="Appels du jour";let C;C="Bureau de vote";let f;f="Elections Parents";let h;h="Aucune absence \xE0 justifier";let O;O="Aucun nouveau message";let b;b="Cahier de textes";let U;U="Aucun nouveau devoir";let w;w="Derni\xE8res notes";let Q;Q="Aucune nouvelle note au cours des 14 derniers jours.";let te;te="Discussions";let ne;ne="Aucun nouveau message";let _e;_e="Informations & sondages";let re;re="Aucune nouvelle information";let ie;ie="Cahier de textes";let oe;oe="Aucun nouveau devoir";let G;G="Derni\xE8res notes";let W;W="Aucune nouvelle note au cours des 14 derniers jours.";let Re;Re="Discussions";let Fe;
2Fe="Aucun nouveau message";let be;be="Informations & sondages";let Ne;Ne="Aucune nouvelle information";let ve;ve="Discussions";let Ue;Ue="Aucun nouveau message";let ye;ye="Informations & sondages";let $e;$e="Aucune nouvelle information";let $;$="Mes acc\xE8s";let Ut;return Ut="Voir tout",[$,Ut,[1,"columns"],[1,"col","col-left"],[1,"rubrique_title"],[3,"currentEtabChange","currentEtab"],[3,"currentRelation"],[1,"widgets"],["title",n,"srcImg","assets/1d/access/icon_1d_cdt1d.svg","tabindex","0",3,"isLarge"],["title",i,"srcImg","assets/1d/access/icon_1d_absenc.svg","tabindex","0",3,"isLarge"],["title",a,"srcImg","assets/1d/side_nav/icon_1d_communication.svg","link","communication",3,"isLarge"],["title",p,"srcImg","assets/1d/access/icon_1d_appel.svg","link","vie-scolaire/appel",3,"isLarge"],[1,"col","col-middle"],[1,"w-100"],[1,"col","col-right"],[1,"rubrique"],[3,"currentRelationChange","currentRelation"],["title",C,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"isLarge","chip"],["title",C,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"click","isLarge","chip"],[3,"election"],["title",f,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"isLarge","chip"],["title",f,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"click","isLarge","chip"],["title",n,"srcImg","assets/1d/access/icon_1d_cdt1d.svg","tabindex","0",3,"click","keyup.enter","isLarge"],[3,"value","totalValue","isLoading"],["title",i,"srcImg","assets/1d/access/icon_1d_absenc.svg","tabindex","0",3,"click","keyup.enter","isLarge"],["emptyLabel",h,3,"items","isLoading"],["emptyLabel",O,3,"items","isLoading"],[3,"cours"],["title",b,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"click","keyup.enter","isLarge","subtitle"],["emptyLabel",U,"sublibelle","7 prochains jours",3,"items","isLoading"],["title",w,"srcImg","assets/2d/icon/notes.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Q,3,"items","isLoading"],["title",te,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",ne,3,"items","isLoading"],["title",_e,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",re,3,"items","isLoading"],["title",ie,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"click","keyup.enter","isLarge","subtitle"],["emptyLabel",oe,"sublibelle","7 prochains jours",3,"items","isLoading"],["title",G,"srcImg","assets/2d/icon/notes.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",W,3,"items","isLoading"],["title",Re,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Fe,3,"items","isLoading"],["title",be,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Ne,3,"items","isLoading"],["title",ve,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Ue,3,"items","isLoading"],["title",ye,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",$e,3,"items","isLoading"],["id","id_acces_TitreText"],["routerLink","/acces",1,"pointer"]];},template:function(i,a){i&1&&(_(0,"div",2)(1,"div",3)(2,"div",4)(3,"app-welcome",5),P("currentEtabChange",function(C){return a.onCurrentEtabChange(C);}),r()(),c(4,gr,1,1,"app-welcome-select-child",6),_(5,"div",7),c(6,Sr,2,0),c(7,fr,2,0),c(8,Pr,2,4,"app-widget",8),c(9,Or,2,3,"app-widget",9),c(10,Mr,2,3,"app-widget",10),c(11,Ir,2,2,"app-widget",11),c(12,br,3,3),r()(),_(13,"div",12)(14,"div"),u(15,"app-dashboard-news-header"),_(16,"div",13),u(17,"app-actualities-tabs"),r()()(),_(18,"div",14),c(19,Nr,7,0,"div",15),r()()),i&2&&(l(3),E("currentEtab",a.currentEtab()),l(),d(a.relations()&&a.relations().length>1&&a.profil()==="RESPONSABLE_ELEVE"?4:-1),l(2),d(a.rightVote()&&a.widgetElectionMembreElections()&&a.widgetElectionMembreElections().length>0?6:-1),l(),d(a.rightVote()&&a.widgetElectionElecteurElections()&&a.widgetElectionElecteurElections().length>0?7:-1),l(),d(a.rightCdt1d()?8:-1),l(),d(a.rightAbsences()?9:-1),l(),d(a.rightCommunication()?10:-1),l(),d(a.rightAppels()?11:-1),l(),d(a.rightPronote()?12:-1),l(2),Y(N(12,ur,a.is1DInterface()?"rubrique_title":"rubrique_title_without-img")),l(5),d(a.rightAcces()?19:-1));},dependencies:[Tt,ce,ft,Ae,ln,Dt,mt,Mt,It,xt,bt,vt,Rt,Ft,Nt,Ot,oo],styles:[".dashboard[_ngcontent-%COMP%]{margin:16px 24px}.actualities[_ngcontent-%COMP%]{display:flex;flex-direction:column}.widgets[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px}.columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:clamp(360px,360px + (100% - 1299px) * .4016064257,450px) clamp(400px,100% - 48px - clamp(360px,360px + (100% - 1299px) * .4016064257,450px) - clamp(360px,360px + (100% - 1299px) * .4016064257,450px),600px) clamp(360px,360px + (100% - 1299px) * .4016064257,450px);
2gap:24px;justify-content:center;align-items:start;width:100%;margin-inline:auto;max-width:1548px}.columns[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.rubrique[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.rubrique_title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.rubrique_title_without-img[_ngcontent-%COMP%]{align-items:flex-start}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text-alternative-1-darker);font-size:14px;font-weight:600}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:hover{color:var(--button-secondary-active-color)}.rubrique_title[_ngcontent-%COMP%]   .img_actu[_ngcontent-%COMP%]{width:100%}.rubrique_title_2d[_ngcontent-%COMP%]{justify-content:center;flex-direction:column;padding-bottom:16px}.col-left[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{max-width:450px}.col-middle[_ngcontent-%COMP%]{max-width:600px}.mb-16[_ngcontent-%COMP%]{margin-bottom:16px}.w-100[_ngcontent-%COMP%]{width:100%}@media screen and (min-width:768px)and (max-width:1023px){.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;margin-bottom:72px}.col-left[_ngcontent-%COMP%]{max-width:400px}
2.col-middle[_ngcontent-%COMP%]{max-width:600px}}@media screen and (max-width:767px){.dashboard[_ngcontent-%COMP%]{margin:16px 0}.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;flex-direction:column;width:100%;overflow:visible}.link-icon[_ngcontent-%COMP%]{height:62px}.col-left[_ngcontent-%COMP%], .col-middle[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{min-width:100%;max-width:100%}}@media screen and (min-width:1024px)and (max-width:1215px){.columns[_ngcontent-%COMP%]{grid-template-columns:360px 400px clamp(0px,100% - 808px,450px)}}"]});let e=o;return e;})();var vr=e=>[e,"actualities"],Ze=e=>[e],ro=(e,o)=>o.id;function Lr(e,o){if(e&1){let t=D();_(0,"app-welcome-select-child",16),pt("currentRelationChange",function(i){g(t);let a=s();return dt(a.currentRelation,i)||(a.currentRelation=i),T(i);}),r();}if(e&2){let t=s();ct("currentRelation",t.currentRelation);}}function Rr(e,o){if(e&1){let t=D();_(0,"app-widget",18),P("click",function(){let i=g(t).$implicit,a=s(2);return T(a.openVotePlateforme(i.urlSsoMembre));}),u(1,"app-widget-content-election-membre",19),r();}if(e&2){let t=o.$implicit;E("isLarge",!0)("chip",t.isTest?"Test":""),l(),E("election",t);}}function Fr(e,o){if(e&1&&X(0,Rr,2,3,"app-widget",17,ro),e&2){let t=s();z(t.widgetElectionMembreElections());}}function Ur(e,o){if(e&1){let t=D();_(0,"app-widget",21),P("click",function(){let i=g(t).$implicit,a=s(2);return T(a.openVotePlateforme(i.urlSsoElecteur));}),u(1,"app-widget-content-election-electeur",19),r();}if(e&2){let t=o.$implicit;E("isLarge",!0)("chip",t.isTest?"Test":""),l(),E("election",t);}}function yr(e,o){if(e&1&&X(0,Ur,2,3,"app-widget",20,ro),e&2){let t=s();z(t.widgetElectionElecteurElections());}}function $r(e,o){if(e&1){let t=D();_(0,"app-widget",22),P("click",function(){g(t);let i=s();return T(i.openCdt1d());})("keyup.enter",function(){g(t);let i=s();return T(i.openCdt1d());}),u(1,"app-widget-content-progress-bar",23),r();}if(e&2){let t=s();E("isLarge",!1),l(),E("value",t.cdtValue())("totalValue",t.cdtTotalValue())("isLoading",t.cdtIsLoading());}}function wr(e,o){if(e&1){let t=D();_(0,"app-widget",24),P("click",function(){g(t);let i=s();return T(i.openAbsences());})("keyup.enter",function(){g(t);let i=s();return T(i.openAbsences());}),u(1,"app-widget-content-counter-badge",25),r();}if(e&2){let t=s();E("isLarge",!1),l(),E("items",t.absencesItems())("isLoading",t.absencesIsLoading());}}function Vr(e,o){if(e&1&&(_(0,"app-widget",10),u(1,"app-widget-content-counter-badge",26),r()),e&2){let t=s();E("isLarge",!1),l(),E("items",t.widgetCommunicationItems())("isLoading",t.widgetCommunicationIsLoading());}}function Br(e,o){if(e&1&&(_(0,"app-widget",11),u(1,"app-widget-content-appel",27),r()),e&2){let t=s();E("isLarge",!1),l(),E("cours",t.widgetAppelCours());}}function Gr(e,o){if(e&1){let t=D();_(0,"app-widget",28),P("click",function(){g(t);let i=s(2);return T(i.openCDT());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openCDT());}),u(1,"app-widget-content-counter-badge",29),r(),_(2,"app-widget",30),P("click",function(){g(t);let i=s(2);return T(i.openNote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNote());}),u(3,"app-widget-content-note",31),r(),_(4,"app-widget",32),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(5,"app-widget-content-counter-badge",33),r(),_(6,"app-widget",34),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(7,"app-widget-content-counter-badge",35),r();}if(e&2){let t=s(2);E("isLarge",!1)("subtitle",!0),l(),E("items",N(13,Ze,t.eleveCDT()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",t.eleveNotes())("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(15,Ze,t.eleveDiscussions()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(17,Ze,t.eleveInfos()))("isLoading",t.prninIsLoading());}}function kr(e,o){if(e&1){let t=D();_(0,"app-widget",36),P("click",function(){g(t);let i=s(2);return T(i.openCDT());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openCDT());}),u(1,"app-widget-content-counter-badge",37),r(),_(2,"app-widget",38),P("click",function(){g(t);let i=s(2);return T(i.openNote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNote());}),u(3,"app-widget-content-note",39),r(),_(4,"app-widget",40),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(5,"app-widget-content-counter-badge",41),r(),_(6,"app-widget",42),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(7,"app-widget-content-counter-badge",43),r();}if(e&2){let t=s(2);E("isLarge",!1)("subtitle",!0),l(),E("items",N(13,Ze,t.parentCDT()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",t.parentNotes())("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(15,Ze,t.parentDiscussions()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(17,Ze,t.parentInfos()))("isLoading",t.prninIsLoading());}}function Wr(e,o){if(e&1){let t=D();_(0,"app-widget",44),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",45),r(),_(2,"app-widget",46),P("click",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(2);return T(i.openNotificationsPronote());}),u(3,"app-widget-content-counter-badge",47),r();}if(e&2){let t=s(2);E("isLarge",!1),l(),E("items",N(6,Ze,t.enseignantDiscussions()))("isLoading",t.prninIsLoading()),l(),E("isLarge",!1),l(),E("items",N(8,Ze,t.enseignantInfos()))("isLoading",t.prninIsLoading());}}function Hr(e,o){if(e&1&&(c(0,Gr,8,19),c(1,kr,8,19),c(2,Wr,4,10)),e&2){let t=s();d(t.profil()==="ELEVE"?0:-1),l(),d(t.profil()==="RESPONSABLE_ELEVE"?1:-1),l(),d(t.profil()==="ENSEIGNANT"?2:-1);}}function Xr(e,o){e&1&&(_(0,"div",13)(1,"div",4)(2,"h2",48),A(3,0),r(),_(4,"p",49),A(5,1),r()(),u(6,"app-acces-bloc-group"),r());}var lo=(()=>{let o=class o extends qe{};o.ɵfac=(()=>{let n;return function(a){return(n||(n=Ve(o)))(a||o);};})(),o.ɵcmp=L({type:o,selectors:[["app-dashboard-accueil-tablet"]],features:[Be],decls:20,vars:14,consts:()=>{let n;n="Cahier de textes";let i;i="\xC0 justifier";let a;a="Communication";let p;p="Appels du jour";let C;C="Bureau de vote";let f;f="\xC9lections Parents";let h;h="Aucune absence \xE0 justifier";let O;O="Aucun nouveau message";let b;b="Cahier de textes";let U;U="Aucun nouveau devoir";let w;w="Derni\xE8res notes";let Q;Q="Aucune nouvelle note au cours des 14 derniers jours.";let te;te="Discussions";let ne;ne="Aucun nouveau message";let _e;_e="Informations & sondages";let re;re="Aucune nouvelle information";let ie;ie="Cahier de textes";let oe;oe="Aucun nouveau devoir";let G;G="Derni\xE8res notes";let W;W="Aucune nouvelle note au cours des 14 derniers jours.";let Re;Re="Discussions";let Fe;
2Fe="Aucun nouveau message";let be;be="Informations & sondages";let Ne;Ne="Aucune nouvelle information";let ve;ve="Discussions";let Ue;Ue="Aucun nouveau message";let ye;ye="Informations & sondages";let $e;$e="Aucune nouvelle information";let $;$="Mes acc\xE8s";let Ut;return Ut="Voir tout",[$,Ut,[1,"columns"],[1,"col","col-left"],[1,"rubrique_title"],[3,"currentEtabChange","currentEtab"],[3,"currentRelation"],[1,"widgets"],["title",n,"srcImg","assets/1d/access/icon_1d_cdt1d.svg","tabindex","0",3,"isLarge"],["title",i,"srcImg","assets/1d/access/icon_1d_absenc.svg","tabindex","0",3,"isLarge"],["title",a,"srcImg","assets/1d/side_nav/icon_1d_communication.svg","link","communication",3,"isLarge"],["title",p,"srcImg","assets/1d/access/icon_1d_appel.svg","link","vie-scolaire/appel",3,"isLarge"],[1,"col","col-right"],[1,"rubrique"],[1,"col","col-middle"],[1,"w-100"],[3,"currentRelationChange","currentRelation"],["title",C,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"isLarge","chip"],["title",C,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"click","isLarge","chip"],[3,"election"],["title",f,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"isLarge","chip"],["title",f,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"click","isLarge","chip"],["title",n,"srcImg","assets/1d/access/icon_1d_cdt1d.svg","tabindex","0",3,"click","keyup.enter","isLarge"],[3,"value","totalValue","isLoading"],["title",i,"srcImg","assets/1d/access/icon_1d_absenc.svg","tabindex","0",3,"click","keyup.enter","isLarge"],["emptyLabel",h,3,"items","isLoading"],["emptyLabel",O,3,"items","isLoading"],[3,"cours"],["title",b,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"click","keyup.enter","isLarge","subtitle"],["emptyLabel",U,"sublibelle","7 prochains jours",3,"items","isLoading"],["title",w,"srcImg","assets/2d/icon/notes.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Q,3,"items","isLoading"],["title",te,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",ne,3,"items","isLoading"],["title",_e,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",re,3,"items","isLoading"],["title",ie,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"click","keyup.enter","isLarge","subtitle"],["emptyLabel",oe,"sublibelle","7 prochains jours",3,"items","isLoading"],["title",G,"srcImg","assets/2d/icon/notes.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",W,3,"items","isLoading"],["title",Re,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Fe,3,"items","isLoading"],["title",be,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Ne,3,"items","isLoading"],["title",ve,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Ue,3,"items","isLoading"],["title",ye,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",$e,3,"items","isLoading"],["id","id_acces_TitreText"],["routerLink","/acces",1,"pointer"]];},template:function(i,a){i&1&&(_(0,"div",2)(1,"div",3)(2,"div",4)(3,"app-welcome",5),P("currentEtabChange",function(C){return a.onCurrentEtabChange(C);}),r()(),c(4,Lr,1,1,"app-welcome-select-child",6),_(5,"div",7),c(6,Fr,2,0),c(7,yr,2,0),c(8,$r,2,4,"app-widget",8),c(9,wr,2,3,"app-widget",9),c(10,Vr,2,3,"app-widget",10),c(11,Br,2,2,"app-widget",11),c(12,Hr,3,3),r(),_(13,"div",12),c(14,Xr,7,0,"div",13),r()(),_(15,"div",14)(16,"div"),u(17,"app-dashboard-news-header"),_(18,"div",15),u(19,"app-actualities-tabs"),r()()()()),i&2&&(l(3),E("currentEtab",a.currentEtab()),l(),d(a.relations()&&a.relations().length>1&&a.profil()==="RESPONSABLE_ELEVE"?4:-1),l(2),d(a.rightVote()&&a.widgetElectionMembreElections()&&a.widgetElectionMembreElections().length>0?6:-1),l(),d(a.rightVote()&&a.widgetElectionElecteurElections()&&a.widgetElectionElecteurElections().length>0?7:-1),l(),d(a.rightCdt1d()?8:-1),l(),d(a.rightAbsences()?9:-1),l(),d(a.rightCommunication()?10:-1),l(),d(a.rightAppels()?11:-1),l(),d(a.rightPronote()?12:-1),l(2),d(a.rightAcces()?14:-1),l(2),Y(N(12,vr,a.is1DInterface()?"rubrique_title":"rubrique_title_without-img")));}
2,dependencies:[Tt,ce,ft,Ae,ln,Dt,mt,Mt,It,xt,bt,vt,Rt,Ft,Ot,Nt],styles:[".dashboard[_ngcontent-%COMP%]{margin:16px 24px}.actualities[_ngcontent-%COMP%]{display:flex;flex-direction:column}.widgets[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px}.columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:clamp(360px,360px + (100% - 1299px) * .4016064257,450px) clamp(400px,100% - 48px - clamp(360px,360px + (100% - 1299px) * .4016064257,450px) - clamp(360px,360px + (100% - 1299px) * .4016064257,450px),600px) clamp(360px,360px + (100% - 1299px) * .4016064257,450px);gap:24px;justify-content:center;align-items:start;width:100%;margin-inline:auto;max-width:1548px}.columns[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.rubrique[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.rubrique_title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.rubrique_title_without-img[_ngcontent-%COMP%]{align-items:flex-start}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text-alternative-1-darker);font-size:14px;font-weight:600}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:hover{color:var(--button-secondary-active-color)}.rubrique_title[_ngcontent-%COMP%]   .img_actu[_ngcontent-%COMP%]{width:100%}.rubrique_title_2d[_ngcontent-%COMP%]{justify-content:center;flex-direction:column;padding-bottom:16px}.col-left[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{max-width:450px}
2.col-middle[_ngcontent-%COMP%]{max-width:600px}.mb-16[_ngcontent-%COMP%]{margin-bottom:16px}.w-100[_ngcontent-%COMP%]{width:100%}@media screen and (min-width:768px)and (max-width:1023px){.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;margin-bottom:72px}.col-left[_ngcontent-%COMP%]{max-width:400px}.col-middle[_ngcontent-%COMP%]{max-width:600px}}@media screen and (max-width:767px){.dashboard[_ngcontent-%COMP%]{margin:16px 0}.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;flex-direction:column;width:100%;overflow:visible}.link-icon[_ngcontent-%COMP%]{height:62px}.col-left[_ngcontent-%COMP%], .col-middle[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{min-width:100%;max-width:100%}}@media screen and (min-width:1024px)and (max-width:1215px){.columns[_ngcontent-%COMP%]{grid-template-columns:360px 400px clamp(0px,100% - 808px,450px)}}"]});let e=o;return e;})();var zr=["widgetsContainer"],et=e=>[e],so=(e,o)=>o.id;function jr(e,o){if(e&1){let t=D();_(0,"app-widget",9),P("click",function(){g(t);let i=s(4);return T(i.openCdt1d());})("keyup.enter",function(){g(t);let i=s(4);return T(i.openCdt1d());}),u(1,"app-widget-content-progress-bar",10),r();}if(e&2){let t=s().$implicit,n=s(3);E("isLarge",t.isLarge),l(),E("value",n.cdtValue())("totalValue",n.cdtTotalValue())("isLoading",n.cdtIsLoading());}}function Kr(e,o){if(e&1){let t=D();_(0,"app-widget",11),P("click",function(){g(t);let i=s(4);return T(i.openAbsences());})("keyup.enter",function(){g(t);let i=s(4);return T(i.openAbsences());}),u(1,"app-widget-content-counter-badge",12),r();}if(e&2){let t=s().$implicit,n=s(3);E("isLarge",t.isLarge),l(),E("items",n.absencesItems())("isLoading",n.absencesIsLoading());}}function qr(e,o){if(e&1&&(_(0,"app-widget",7),u(1,"app-widget-content-counter-badge",13),r()),e&2){let t=s().$implicit,n=s(3);E("isLarge",t.isLarge),l(),E("items",n.widgetCommunicationItems())("isLoading",n.widgetCommunicationIsLoading());}}function Jr(e,o){if(e&1&&(_(0,"app-widget",8),u(1,"app-widget-content-appel",14),r()),e&2){let t=s().$implicit,n=s(3);E("isLarge",t.isLarge),l(),E("cours",n.widgetAppelCours());}}function Yr(e,o){if(e&1){let t=D();_(0,"app-widget",16),P("click",function(){let i=g(t).$implicit,a=s(5);return T(a.openVotePlateforme(i.urlSsoMembre));}),u(1,"app-widget-content-election-membre",17),r();}if(e&2){let t=o.$implicit,n=s(2).$implicit;E("isLarge",n.isLarge)("chip",t.isTest?"Test":""),l(),E("election",t);}}function Qr(e,o){if(e&1&&X(0,Yr,2,3,"app-widget",15,so),e&2){let t=s(4);z(t.widgetElectionMembreElections());}}function Zr(e,o){if(e&1){let t=D();_(0,"app-widget",19),P("click",function(){let i=g(t).$implicit,a=s(5);return T(a.openVotePlateforme(i.urlSsoElecteur));}),u(1,"app-widget-content-election-electeur",20),r();}if(e&2){let t=o.$implicit,n=s(2).$implicit;E("isLarge",n.isLarge)("chip",t.isTest?"Test":""),l(),E("election",t);}}function el(e,o){if(e&1&&X(0,Zr,2,3,"app-widget",18,so),e&2){let t=s(4);z(t.widgetElectionElecteurElections());}}function tl(e,o){if(e&1){let t=D();_(0,"app-widget",23),P("click",function(){g(t);let i=s(5);return T(i.openCDT());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openCDT());}),u(1,"app-widget-content-counter-badge",24),r();}if(e&2){let t=s(5);E("isLarge",!1)("subtitle",!0),l(),E("items",N(4,et,t.eleveCDT()))("isLoading",t.prninIsLoading());}}function nl(e,o){if(e&1){let t=D();_(0,"app-widget",25),P("click",function(){g(t);let i=s(5);return T(i.openCDT());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openCDT());}),u(1,"app-widget-content-counter-badge",26),r();}if(e&2){let t=s(5);E("isLarge",!1)("subtitle",!0),l(),E("items",N(4,et,t.parentCDT()))("isLoading",t.prninIsLoading());}}function il(e,o){if(e&1&&(c(0,tl,2,6,"app-widget",21),c(1,nl,2,6,"app-widget",22)),e&2){let t=s(4);d(t.profil()==="ELEVE"?0:-1),l(),d(t.profil()==="RESPONSABLE_ELEVE"?1:-1);}}function ol(e,o){if(e&1){let t=D();_(0,"app-widget",29),P("click",function(){g(t);let i=s(5);return T(i.openNote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNote());}),u(1,"app-widget-content-note",30),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",t.eleveNotes())("isLoading",t.prninIsLoading());}}function al(e,o){if(e&1){let t=D();_(0,"app-widget",31),P("click",function(){g(t);let i=s(5);return T(i.openNote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNote());}),u(1,"app-widget-content-note",32),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",t.parentNotes())("isLoading",t.prninIsLoading());}}function _l(e,o){if(e&1&&(c(0,ol,2,3,"app-widget",27),c(1,al,2,3,"app-widget",28)),e&2){let t=s(4);d(t.profil()==="ELEVE"?0:-1),l(),d(t.profil()==="RESPONSABLE_ELEVE"?1:-1);}}function rl(e,o){if(e&1){let t=D();_(0,"app-widget",36),P("click",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",37),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",N(3,et,t.eleveDiscussions()))("isLoading",t.prninIsLoading());}}function ll(e,o){if(e&1){let t=D();_(0,"app-widget",38),P("click",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",39),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",N(3,et,t.parentDiscussions()))("isLoading",t.prninIsLoading());}}function sl(e,o){if(e&1){let t=D();_(0,"app-widget",40),P("click",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",41),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",N(3,et,t.enseignantDiscussions()))("isLoading",t.prninIsLoading());}}function cl(e,o){if(e&1&&(c(0,rl,2,5,"app-widget",33),c(1,ll,2,5,"app-widget",34),c(2,sl,2,5,"app-widget",35)),e&2){let t=s(4);d(t.profil()==="ELEVE"?0:-1),l(),d(t.profil()==="RESPONSABLE_ELEVE"?1:-1),l(),d(t.profil()==="ENSEIGNANT"?2:-1);}}function dl(e,o){if(e&1){let t=D();_(0,"app-widget",45),P("click",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",46),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",N(3,et,t.eleveInfos()))("isLoading",t.prninIsLoading());}}function pl(e,o){if(e&1){let t=D();_(0,"app-widget",47),P("click",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",48),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",N(3,et,t.parentInfos()))("isLoading",t.prninIsLoading());}}function Cl(e,o){if(e&1){let t=D();_(0,"app-widget",49),P("click",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());})("keyup.enter",function(){g(t);let i=s(5);return T(i.openNotificationsPronote());}),u(1,"app-widget-content-counter-badge",50),r();}if(e&2){let t=s(5);E("isLarge",!1),l(),E("items",N(3,et,t.enseignantInfos()))("isLoading",t.prninIsLoading());}}function El(e,o){if(e&1&&(c(0,dl,2,5,"app-widget",42),c(1,pl,2,5,"app-widget",43),c(2,Cl,2,5,"app-widget",44)),e&2){let t=s(4);d(t.profil()==="ELEVE"?0:-1),l(),d(t.profil()==="RESPONSABLE_ELEVE"?1:-1),l(),d(t.profil()==="ENSEIGNANT"?2:-1);}}function ml(e,o){if(e&1&&c(0,jr,2,4,"app-widget",5)(1,Kr,2,3,"app-widget",6)(2,qr,2,3,"app-widget",7)(3,Jr,2,2,"app-widget",8)(4,Qr,2,0)(5,el,2,0)(6,il,2,2)(7,_l,2,2)(8,cl,3,3)(9,El,3,3),e&2){let t,n=o.$implicit;d((t=n.type)==="cdt1d"?0:t==="absences"?1:t==="communication"?2:t==="appels"?3:t==="vote-membre"?4:t==="vote-electeur"?5:t==="cdt"?6:t==="notes"?7:t==="discussion"?8:t==="infos"?9:-1);}}function ul(e,o){if(e&1&&(_(0,"div",3),X(1,ml,10,1,null,null,nt),r()),e&2){let t=o.$implicit;l(),z(t);}}function gl(e,o){if(e&1){let t=D();_(0,"mat-icon",52),P("click",function(){let i=g(t).$index,a=s(3);return T(a.scrollTo(i));}),S(1),r();}if(e&2){let t=o.$index,n=s(3);J("active",t===n.currentDot()),l(),R(" ",t===n.currentDot()?"ic-circle-fill":"ic-circle"," ");}}function Tl(e,o){if(e&1&&(_(0,"div",4),X(1,gl,2,3,"mat-icon",51,Gn),r()),e&2){let t=s(2);l(),z(t.dots());}}function Sl(e,o){if(e&1){let t=D();_(0,"div",1)(1,"div",2,0),P("scroll",function(i){g(t);let a=s();return T(a.onScroll(i));}),X(3,ul,3,0,"div",3,nt),r(),c(5,Tl,3,0,"div",4),r();}if(e&2){let t=s();l(3),z(t.blocs()),l(2),d(t.dots().length>1?5:-1);}}var co=(()=>{let o=class o extends qe{constructor(){super(...arguments),this.blocs=M(()=>{let n=[];if(this.rightVote()&&this.widgetElectionMembreElections().length>0&&n.push({type:"vote-membre",isLarge:!0}),this.rightVote()&&this.widgetElectionElecteurElections().length>0&&n.push({type:"vote-electeur",isLarge:!0}),this.rightCdt1d()&&n.push({type:"cdt1d",isLarge:!1}
2),this.rightAbsences()&&n.push({type:"absences",isLarge:!1}),this.rightCommunication()&&n.push({type:"communication",isLarge:!1}),this.rightAppels()&&n.push({type:"appels",isLarge:!1}),this.rightPronote()){let C=this.profil();(C==="ELEVE"||C==="RESPONSABLE_ELEVE")&&(n.push({type:"cdt",isLarge:!1}),n.push({type:"notes",isLarge:!1})),(C==="ELEVE"||C==="RESPONSABLE_ELEVE"||C==="ENSEIGNANT")&&(n.push({type:"discussion",isLarge:!1}),n.push({type:"infos",isLarge:!1}));}let i=[],a=[],p=0;for(let C of n){let f=C.isLarge?2:1;p+f>4&&(i.push(a),a=[],p=0),a.push(C),p+=f;}return a.length&&i.push(a),i;}),this.dots=M(()=>Array.from({length:this.blocs().length},(n,i)=>i)),this.currentDot=x(0),this.widgetsContainer=Zt.required("widgetsContainer");}scrollTo(n){let{clientWidth:i}=this.widgetsContainer().nativeElement;this.widgetsContainer().nativeElement.scrollTo({left:n*i,behavior:"smooth"});}onScroll(n){let i=n.target,{scrollLeft:a,clientWidth:p}=i,C=Math.round(a/p);this.currentDot.set(C);}};o.ɵfac=(()=>{let n;return function(a){return(n||(n=Ve(o)))(a||o);};})(),o.ɵcmp=L({type:o,selectors:[["app-widgets-swipe"]],viewQuery:function(i,a){i&1&&$t(a.widgetsContainer,zr,5),i&2&&Yt();},features:[Be],decls:1,vars:1,consts:()=>{let n;n="Cahier de textes";let i;i="\xC0 justifier";let a;a="Communication";let p;p="Appels du jour";let C;C="Aucune absence \xE0 justifier";let f;f="Aucun nouveau message";let h;h="Bureau de vote";let O;O="\xC9lections Parents";let b;b="Cahier de textes";let U;U="Cahier de textes";let w;w="Aucun nouveau devoir";let Q;Q="Aucun nouveau devoir";let te;te="Derni\xE8res notes";let ne;ne="Derni\xE8res notes";let _e;_e="Aucune nouvelle note au cours des 14 derniers jours.";let re;re="Aucune nouvelle note au cours des 14 derniers jours.";let ie;ie="Discussions";let oe;oe="Discussions";let G;G="Discussions";let W;W="Aucun nouveau message";let Re;Re="Aucun nouveau message";let Fe;Fe="Aucun nouveau message";let be;be="Informations & sondages";let Ne;Ne="Informations & sondages";let ve;ve="Informations & sondages";let Ue;Ue="Aucune nouvelle information";let ye;ye="Aucune nouvelle information";let $e;return $e="Aucune nouvelle information",[["widgetsContainer",""],[1,"widgets-swipe"],[1,"widgets-swipe__slides",3,"scroll"],[1,"widgets-swipe__bloc"],[1,"widgets-swipe__dots"],["title",n,"srcImg","assets/1d/access/icon_1d_cdt1d.svg","tabindex","0",3,"isLarge"],["title",i,"srcImg","assets/1d/access/icon_1d_absenc.svg","tabindex","0",3,"isLarge"],["title",a,"srcImg","assets/1d/side_nav/icon_1d_communication.svg","link","communication",3,"isLarge"],["title",p,"srcImg","assets/1d/access/icon_1d_appel.svg","link","vie-scolaire/appel",3,"isLarge"],["title",n,"srcImg","assets/1d/access/icon_1d_cdt1d.svg","tabindex","0",3,"click","keyup.enter","isLarge"],[3,"value","totalValue","isLoading"],["title",i,"srcImg","assets/1d/access/icon_1d_absenc.svg","tabindex","0",3,"click","keyup.enter","isLarge"],["emptyLabel",C,3,"items","isLoading"],["emptyLabel",f,3,"items","isLoading"],[3,"cours"],["title",h,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"isLarge","chip"],["title",h,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"click","isLarge","chip"],[3,"election"],["title",O,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"isLarge","chip"],["title",O,"srcImg","assets/1d/access/icon_1d_vote.svg",3,"click","isLarge","chip"],["side","right",3,"election"],["title",b,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"isLarge","subtitle"],["title",U,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"isLarge","subtitle"],["title",b,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"click","keyup.enter","isLarge","subtitle"],["emptyLabel",w,"sublibelle","7 prochains jours",3,"items","isLoading"],["title",U,"srcImg","assets/2d/icon/cahier_de_texte.svg",3,"click","keyup.enter","isLarge","subtitle"],["emptyLabel",Q,"sublibelle","7 prochains jours",3,"items","isLoading"],["title",te,"srcImg","assets/2d/icon/notes.svg",3,"isLarge"],["title",ne,"srcImg","assets/2d/icon/notes.svg",3,"isLarge"],["title",te,"srcImg","assets/2d/icon/notes.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",_e,3,"items","isLoading"],["title",ne,"srcImg","assets/2d/icon/notes.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",re,3,"items","isLoading"],["title",ie,"srcImg","assets/2d/icon/discussions.svg",3,"isLarge"],["title",oe,"srcImg","assets/2d/icon/discussions.svg",3,"isLarge"],["title",G,"srcImg","assets/2d/icon/discussions.svg",3,"isLarge"],["title",ie,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",W,3,"items","isLoading"],["title",oe,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Re,3,"items","isLoading"],["title",G,"srcImg","assets/2d/icon/discussions.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Fe,3,"items","isLoading"],["title",be,"srcImg","assets/2d/icon/info.svg",3,"isLarge"],["title",Ne,"srcImg","assets/2d/icon/info.svg",3,"isLarge"],["title",ve,"srcImg","assets/2d/icon/info.svg",3,"isLarge"],["title",be,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",Ue,3,"items","isLoading"],["title",Ne,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",ye,3,"items","isLoading"],["title",ve,"srcImg","assets/2d/icon/info.svg",3,"click","keyup.enter","isLarge"],["emptyLabel",$e,3,"items","isLoading"],["fontSet","enej",3,"active"],["fontSet","enej",3,"click"]];},template:function(i,a){i&1&&c(0,Sl,6,1,"div",1),i&2&&d(a.blocs().length>0?0:-1);},dependencies:[Dt,bt,xt,vt,Rt,Ft,Ot,ut,Te],styles:[".widgets-swipe__slides[_ngcontent-%COMP%]{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:12px;margin-inline:-12px;padding-inline:12px;scroll-padding-inline-start:12px}.widgets-swipe__slides[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.widgets-swipe__bloc[_ngcontent-%COMP%]{flex:0 0 calc(100% - 10px
2);scroll-snap-align:start;display:grid;grid-template-columns:1fr 1fr;grid-auto-flow:row dense;gap:12px}.widgets-swipe__bloc[_ngcontent-%COMP%]:only-child{flex-basis:100%}.widgets-swipe__dots[_ngcontent-%COMP%]{display:flex;justify-content:center;gap:16px;height:52px;align-items:center}.widgets-swipe__dots[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{color:var(--text-alternative)!important}.widgets-swipe__dots[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:16px;height:16px;width:16px!important;min-width:16px!important}"]});let e=o;return e;})();var Al=(e,o)=>o.id;function fl(e,o){if(e&1){let t=D();_(0,"button",3),P("click",function(){let i=g(t).$implicit,a=s(2);return T(a.selectEtab(i));}),S(1),r();}if(e&2){let t=o.$implicit,n=s(2);J("active",n.activeEtab()===t.id),l(),R(" ",t.label," ");}}function Pl(e,o){if(e&1&&X(0,fl,2,3,"button",2,Al),e&2){let t=s();z(t.etablissements());}}function Ol(e,o){if(e&1&&(_(0,"div",1),S(1),r()),e&2){let t=s();l(),R(" ",t.etablissements()[0].label," ");}}var po=(()=>{let o=class o{constructor(){this.metierContexte=m(v),this.checkScreenFacade=m(fe),this.isMobile=this.checkScreenFacade.isMobile,this.etablissements=k(this.metierContexte.userCourant$.pipe(H(n=>n?.etablissements??[])),{initialValue:[]}),this.currentEtab=en.required(),this.activeEtab=x(""),this.selectedEtabId=x(void 0),ot(()=>{this.activeEtab.set(this.currentEtab()?.id??"");});}ngOnInit(){this.selectedEtabId.set(this.currentEtab()?.id);}selectEtab(n){this.activeEtab.set(n.id??""),this.currentEtab.set(n);}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-welcome-select-etab"]],inputs:{currentEtab:[1,"currentEtab"]},outputs:{currentEtab:"currentEtabChange"},decls:3,vars:1,consts:[[1,"content"],[1,"select-etab-placeholder"],["mat-button","","color","primary","type","button",1,"btn","global_subtxt-style",3,"active"],["mat-button","","color","primary","type","button",1,"btn","global_subtxt-style",3,"click"]],template:function(i,a){i&1&&(_(0,"div",0),c(1,Pl,2,0)(2,Ol,2,1,"div",1),r()),i&2&&(l(),d(a.etablissements()&&a.etablissements().length>1?1:a.etablissements()&&a.etablissements().length===1?2:-1));},dependencies:[je],styles:[".content[_ngcontent-%COMP%]{gap:4px;display:flex;overflow-x:auto;overflow-y:hidden;margin-inline:-12px;padding-inline:12px}.content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{flex:1 0 auto;padding:8px 16px!important;border:2px solid transparent!important;background-color:var(--text-white)!important;color:var(--text-strong)!important}@media(hover:hover)and (pointer:fine){.content[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]:hover{background-color:var(--button-secondary-active-background)!important;color:var(--button-secondary-active-color)!important;border:2px solid var(--button-secondary-active-color)!important}}.content[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{border:2px solid transparent!important;background-color:var(--action-primary-default)!important;color:var(--text-white)!important}"]});let e=o;return e;})();var Ml=e=>[e,"actualities"];function Il(e,o){if(e&1){let t=D();_(0,"app-welcome-select-child",10),pt("currentRelationChange",function(i){g(t);let a=s();return dt(a.currentRelation,i)||(a.currentRelation=i),T(i);}),r();}if(e&2){let t=s();ct("currentRelation",t.currentRelation);}}function Dl(e,o){if(e&1){let t=D();_(0,"app-welcome-select-etab",11),P("currentEtabChange",function(i){g(t);let a=s();return T(a.onCurrentEtabChange(i));}),r();}if(e&2){let t=s();E("currentEtab",t.currentEtab());}}function hl(e,o){e&1&&u(0,"app-widgets-swipe");}function xl(e,o){e&1&&(_(0,"div",7)(1,"div",12)(2,"h2",13),A(3,0),r(),_(4,"p",14),A(5,1),r()(),u(6,"app-acces-bloc-group"),r());}var Co=(()=>{let o=class o extends qe{};o.ɵfac=(()=>{let n;return function(a){return(n||(n=Ve(o)))(a||o);};})(),o.ɵcmp=L({type:o,selectors:[["app-dashboard-accueil-mobile"]],features:[Be],decls:12,vars:8,consts:()=>{let n;n="Mes acc\xE8s";let i;return i="Voir tout",[n,i,[1,"columns"],[1,"col","col-left"],[3,"currentRelation"],[3,"currentEtab"],[1,"col","col-right"],[1,"rubrique"],[1,"col","col-middle"],[1,"actu-tabs"],[3,"currentRelationChange","currentRelation"],[3,"currentEtabChange","currentEtab"],[1,"rubrique_title"],["id","id_acces_TitreText"],["routerLink","/acces",1,"pointer"]];},template:function(i,a){i&1&&(_(0,"div",2)(1,"div",3),c(2,Il,1,1,"app-welcome-select-child",4),c(3,Dl,1,1,"app-welcome-select-etab",5),c(4,hl,1,0,"app-widgets-swipe"),_(5,"div",6),c(6,xl,7,0,"div",7),r()(),_(7,"div",8)(8,"div"),u(9,"app-dashboard-news-header"),_(10,"div",9),u(11,"app-actualities-tabs"),r()()()()),i&2&&(l(2),d(a.relations()&&a.relations().length>1&&a.profil()==="RESPONSABLE_ELEVE"?2:-1),l(),d(a.etablissements()&&a.etablissements().length>1&&(a.hasWidgetsOnAnyEtab()||a.hasWidgets())&&a.profil()!=="RESPONSABLE_ELEVE"&&a.profil()!=="ELEVE"?3:-1),l(),d(a.hasWidgets()?4:-1),l(2),d(a.rightAcces()?6:-1),l(2),Y(N(6,Ml,a.is1DInterface()?"rubrique_title":"rubrique_title_without-img")));},dependencies:[Tt,ce,ft,Ae,mt,Mt,It,co,po,Nt],styles:[".dashboard[_ngcontent-%COMP%]{margin:16px 24px}.actualities[_ngcontent-%COMP%]{display:flex;flex-direction:column}.widgets[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px}.columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:clamp(360px,360px + (100% - 1299px) * .4016064257,450px) clamp(400px,100% - 48px - clamp(360px,360px + (100% - 1299px) * .4016064257,450px) - clamp(360px,360px + (100% - 1299px) * .4016064257,450px),600px) clamp(360px,360px + (100% - 1299px) * .4016064257,450px);
2gap:24px;justify-content:center;align-items:start;width:100%;margin-inline:auto;max-width:1548px}.columns[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.rubrique[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.rubrique_title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.rubrique_title_without-img[_ngcontent-%COMP%]{align-items:flex-start}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text-alternative-1-darker);font-size:14px;font-weight:600}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:hover{color:var(--button-secondary-active-color)}.rubrique_title[_ngcontent-%COMP%]   .img_actu[_ngcontent-%COMP%]{width:100%}.rubrique_title_2d[_ngcontent-%COMP%]{justify-content:center;flex-direction:column;padding-bottom:16px}.col-left[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{max-width:450px}.col-middle[_ngcontent-%COMP%]{max-width:600px}.mb-16[_ngcontent-%COMP%]{margin-bottom:16px}.w-100[_ngcontent-%COMP%]{width:100%}@media screen and (min-width:768px)and (max-width:1023px){.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;margin-bottom:72px}.col-left[_ngcontent-%COMP%]{max-width:400px}
2.col-middle[_ngcontent-%COMP%]{max-width:600px}}@media screen and (max-width:767px){.dashboard[_ngcontent-%COMP%]{margin:16px 0}.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;flex-direction:column;width:100%;overflow:visible}.link-icon[_ngcontent-%COMP%]{height:62px}.col-left[_ngcontent-%COMP%], .col-middle[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{min-width:100%;max-width:100%}}@media screen and (min-width:1024px)and (max-width:1215px){.columns[_ngcontent-%COMP%]{grid-template-columns:360px 400px clamp(0px,100% - 808px,450px)}}"]});let e=o;return e;})();function bl(e,o){e&1&&u(0,"app-dashboard-accueil-desktop");}function Nl(e,o){e&1&&u(0,"app-dashboard-accueil-tablet");}function vl(e,o){e&1&&u(0,"app-dashboard-accueil-mobile");}function Ll(e,o){if(e&1&&(u(0,"iframe",1),ge(1,"safe")),e&2){let t=o.$implicit;E("src",ke(1,1,t),yn);}}function Rl(e,o){if(e&1&&X(0,Ll,2,3,"iframe",1,nt),e&2){let t=s();z(t.casUrls);}}var Rm=(()=>{let o=class o{constructor(){this.etabUais2D=[],this.processedUais=new Set(),this.store=m(xe),this.checkScreenFacade=m(fe),this.metierContexte=m(v),this.isMobile=this.checkScreenFacade.isMobile,this.isTablet=this.checkScreenFacade.isTablet,this.isLaptop=this.checkScreenFacade.isLaptop,this.isCordova=K.isCordova;}ngOnInit(){let n=this.metierContexte.codeProfil$.value,i=n==="ELEVE"||n==="RESPONSABLE_ELEVE"||n==="ENSEIGNANT";if(this.etabUais2D=i?this.metierContexte.userCourant$.value?.etablissements?.filter(a=>!a.isEtab1D).map(a=>a.uai??"").filter(a=>a)??[]:[],this.casUrls=this.etabUais2D.map(a=>
2this.getCasUrls(a)),K.isCordova&&this.etabUais2D.length>0){let a=K.ssoConfig.find(p=>p.name==="pronote")?.clientUrl??"";this.openCasUrlsInAppBrowser(a);}}getCasUrls(n){let i=K.ssoConfig.find(f=>f.name==="pronote"),a=i?.serveurUrl,p=i?.clientUrl;return!a||!p?(console.error("Serveur CAS ou URL client non d\xE9fini pour le CAS pronote"),"about:blank"):a+"cas/login?service="+p+"/fr/ticket?uai="+n;}processCasTicket(n){let i=new URLSearchParams(new URL(n).search),a=i.get("uai"),p=i.get("ticket");a&&p&&!this.processedUais.has(a)&&(this.processedUais.add(a),this.store.dispatch(at({ST_ticket:p,uai:a})));}openCasUrlsInAppBrowser(n,i=0){if(i>=this.casUrls.length)return;let a=!1,p=this.casUrls[i],C=window.open(p,"_blank","hidden=yes"),f=()=>{a||(a=!0,C.removeEventListener("loadstop",h),C.removeEventListener("loaderror",O),C.close(),setTimeout(()=>this.openCasUrlsInAppBrowser(n,i+1),100));},h=b=>{b.url.includes(n)&&(this.processCasTicket(b.url),f());},O=b=>console.error("InAppBrowser load error",b);C.addEventListener("loadstop",h),C.addEventListener("loaderror",O),setTimeout(()=>{a||(console.warn("Timeout reached for:",p,i),f());},3e3);}
2onMessage(n){if(typeof n.data=="string"&&n.data.includes("ticket")){let i=n.source.location.href;this.processCasTicket(i);}}};o.ɵfac=function(i){return new(i||o)();},o.ɵcmp=L({type:o,selectors:[["app-dashboard-accueil"]],hostBindings:function(i,a){i&1&&P("message",function(C){return a.onMessage(C);},st);},decls:5,vars:2,consts:[[1,"dashboard"],[1,"global_iframeHide",3,"src"]],template:function(i,a){i&1&&(_(0,"div",0),c(1,bl,1,0,"app-dashboard-accueil-desktop")(2,Nl,1,0,"app-dashboard-accueil-tablet")(3,vl,1,0,"app-dashboard-accueil-mobile"),r(),c(4,Rl,2,0)),i&2&&(l(),d(a.isLaptop()?1:a.isTablet()?2:3),l(3),d(a.isCordova?-1:4));},dependencies:[_o,lo,Co,Ke,Pn],styles:[".dashboard[_ngcontent-%COMP%]{margin:16px 24px}.actualities[_ngcontent-%COMP%]{display:flex;flex-direction:column}.widgets[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto auto;gap:12px}.columns[_ngcontent-%COMP%]{display:grid;grid-template-columns:clamp(360px,360px + (100% - 1299px) * .4016064257,450px) clamp(400px,100% - 48px - clamp(360px,360px + (100% - 1299px) * .4016064257,450px) - clamp(360px,360px + (100% - 1299px) * .4016064257,450px),600px) clamp(360px,360px + (100% - 1299px) * .4016064257,450px);gap:24px;justify-content:center;align-items:start;width:100%;margin-inline:auto;max-width:1548px}.columns[_ngcontent-%COMP%]   .col[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.rubrique[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px}.rubrique_title[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%}.rubrique_title_without-img[_ngcontent-%COMP%]{align-items:flex-start}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:var(--text-alternative-1-darker);font-size:14px;font-weight:600}.rubrique_title[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:hover{color:var(--button-secondary-active-color)}.rubrique_title[_ngcontent-%COMP%]   .img_actu[_ngcontent-%COMP%]{width:100%}.rubrique_title_2d[_ngcontent-%COMP%]{justify-content:center;flex-direction:column;padding-bottom:16px}.col-left[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{max-width:450px}
2.col-middle[_ngcontent-%COMP%]{max-width:600px}.mb-16[_ngcontent-%COMP%]{margin-bottom:16px}.w-100[_ngcontent-%COMP%]{width:100%}@media screen and (min-width:768px)and (max-width:1023px){.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;margin-bottom:72px}.col-left[_ngcontent-%COMP%]{max-width:400px}.col-middle[_ngcontent-%COMP%]{max-width:600px}}@media screen and (max-width:767px){.dashboard[_ngcontent-%COMP%]{margin:16px 0}.columns[_ngcontent-%COMP%]{display:flex;gap:24px;justify-content:space-around;flex-direction:column;width:100%;overflow:visible}.link-icon[_ngcontent-%COMP%]{height:62px}.col-left[_ngcontent-%COMP%], .col-middle[_ngcontent-%COMP%], .col-right[_ngcontent-%COMP%]{min-width:100%;max-width:100%}}@media screen and (min-width:1024px)and (max-width:1215px){.columns[_ngcontent-%COMP%]{grid-template-columns:360px 400px clamp(0px,100% - 808px,450px)}}"]});let e=o;return e;})();export{Rm as DashboardAccueilComponent};/**i18n:c39901bdb0cbfdd3877d8c557162077eb2c7279b793f3de84c4b91a577566cb3*/

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.