PageSourceSearch

https://saint-zenon.com/6451.cc5907d52d204c56.js

js saint-zenon.com collected 2026-09-25 04:50:18 UTC 68,475 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpc=self.webpackChunkpc||[]).push([[6451],{26451:(Ai,B,r)=>{r.r(B),r.d(B,{ParticipationCitoyenneModule:()=>Fi});var gt=r(14227),vt=r(24339),ft=r(41814),Pt=r(96748),ht=r(59559),Mt=r(22058),Et=r(49995),Tt=r(44387),Nt=r(95658),yt=r(51032),xt=r(63771),Ot=r(66345),bt=r(77339),Rt=r(58531),$t=r(78330),It=r(11272),St=r(1759),E=r(49823),R=r(35052),x=r(96354),t=r(54438),p=r(9310),d=r(51188);let X=(()=>{var n;class o{constructor(i,a,c){this.store=i,this.router=a,this.appConfig=c}canActivate(i){return"1"===i.queryParams.invite||this.store.select(E.selectCurrentUser).pipe((0,x.T)(a=>!!a||(this.router.navigate([i.parent.data.preview?`/${this.appConfig.appConfig.moduleName.partCitoyenne.url}/apercu/${i.parent.params.slug}/sondage/apercu/${i.params.slug}/connexion`:`/${this.appConfig.appConfig.moduleName.partCitoyenne.url}/${i.parent.params.slug}/sondage/${i.params.slug}/connexion`]),!1)))}}return(n=o).\u0275fac=function(i){return new(i||n)(t.KVO(p.il),t.KVO(d.Ix),t.KVO(R.o))},n.\u0275prov=t.jDH({token:n,factory:n.\u0275fac,providedIn:"root"}),o})();
1var C=r(97256),Ft=r(96697),j=r(99437);let u=(()=>{var n;class o{constructor(i,a){this.store=i,this.router=a}resolve(i){const a=i.params.slug.toLowerCase();return this.store.select(C.Qi).pipe((0,Ft.s)(1),(0,x.T)(c=>{if(-1===c.findIndex(s=>s.slug.toLowerCase()===a))throw new Error("Entit\xe9 inexistante ou non li\xe9e \xe0 la participation");return!0}),(0,j.W)(c=>this.router.navigate(["page-non-trouvee"])))}}return(n=o).\u0275fac=function(i){return new(i||n)(t.KVO(p.il),t.KVO(d.Ix))},n.\u0275prov=t.jDH({token:n,factory:n.\u0275fac}),o})();var W=r(67376);const At=(0,p.vy)(C.Mc.liste,(0,p.on)(C.En.setListe,(n,{payload:o})=>[...o])),kt=(0,p.vy)(C.Mc.current,(0,p.on)(C.En.setCurrent,(n,{payload:o})=>(0,W.cloneDeep)(o)),(0,p.on)(C.En.setSuivreParticipationStatus,(n,{payload:{id:o,isFollowedByCurrentUser:e}})=>{const i=(0,W.cloneDeep)(n),a=n.widgets.liste.findIndex(l=>l.id===o),s=(0,W.cloneDeep)(n.widgets.liste[a]);return s.isFollowedByCurrentUser=e,i.widgets.liste[a]=s,i})),Xt={liste:function Gt(n,o){return At(n,o)},current:function wt(n,o){return kt(n,o)}};var jt=r(16695),m=r(53387),z=r(75084);let Y=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.participationCitoyenneService=(0,t.WQX)(z.x),this.authenticationService=(0,t.WQX)(jt.k),this.router=(0,t.WQX)(d.Ix)}resolve(i,a){const c=i.params.slug;return(i.data.preview?this.participationCitoyenneService.fetchPreview(c):this.participationCitoyenneService.fetch(c)).pipe((0,x.T)(l=>{this.store.dispatch(C.En.setCurrent({payload:l}))}),(0,j.W)(l=>"RESTRICTED"===l.code?this.authenticationService.getSessionLocalStorage()?this.router.navigate(["/article-restreint",m.y3.Participation]):this.router.navigate(["/compte-requis",m.y3.Participation],{queryParams:{redirectto:a.url}}):this.router.navigate(["page-non-trouvee"])))}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275prov=t.jDH({token:n,factory:n.\u0275fac}),o})();var F=r(7673),Wt=r(89742);let Q=(()=>{var n;class o{constructor(){this.appConfig=(0,t.WQX)(R.o),this.pageService=(0,t.WQX)(Wt.b),this.router=(0,t.WQX)(d.Ix)}resolve(){return this.pageService.fetchPageById(this.appConfig.appConfig.parCitoyennePageId).pipe((0,j.W)(()=>(0,F.of)(this.router.parseUrl("/page-non-trouvee"))))}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275prov=t.jDH({token:n,factory:n.\u0275fac}),o})();var J=r(14531),Ut=r(97586),b=r.n(Ut),H=r(98377),g=r(89079),Dt=r(59191);let Lt=(()=>{var n;class o{constructor(){this.appConfig=(0,t.WQX)(R.o),this.store=(0,t.WQX)(p.il),this.route=(0,t.WQX)(d.nX),this.localisationService=(0,t.WQX)(H.A),this.destroyRef=(0,t.WQX)(t.abz),this.isPreview=!!this.route.snapshot.data.preview,this.datePublicationTime="",this.dateModificationTime="",this.config=this.appConfig.appConfig,b().locale(this.localisationService.getCurrentLocalisation())}ngOnInit(){this.store.select(C.ND).pipe((0,g.pQ)(this.destroyRef)).subscribe(i=>{this.participation=i.currentParticipationCitoyenne,this.setDateTime()})}setDateTime(){const i=b()(this.participation.article.datePublication),a=b()(this.participation.dateModification);b()().diff(i,"days")<1||(this.datePublicationTime=`${"\xE0"} ${i.format("LT")}`),b()().diff(a,"days")<1||(this.dateModificationTime=`${"\xE0"} ${a.format("LT")}`)}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-participation-citoyenne-article"]],decls:1,vars:4,consts:[["wiTable","General.ParticipationCitoyenne",3,"article","inParticipationCitoyenne","isPreview","articleType"]],template:function(i,a){1&i&&t.nrm(0,"vplus-article",0),2&i&&t.Y8G("article",a.participation)("inParticipationCitoyenne",!0)("isPreview",a.isPreview)("articleType","participation")},dependencies:[Dt.o],encapsulation:2}),o})();var Z=r(89275),Vt=r(81790),Bt=r(27176),K=r(55099),q=r(21026),U=r(55430),$=r(94712),zt=r(22454),Yt=r(63374),Qt=r(58795),f=r(60177);let tt=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.currentActualite$=this.store.select(Yt.ig)}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-actualite"]],decls:2,vars:4,consts:[[3,"actualite","inParticipationCitoyenne"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-actualite-article",0),t.nI1(1,"async")),2&i&&t.Y8G("actualite",t.bMT(1,2,a.
1currentActualite$))("inParticipationCitoyenne",!0)},dependencies:[Qt.n,f.Jj],encapsulation:2}),o})();var Jt=r(45404),Ht=r(24308);let et=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.currentBabillard$=this.store.select(Jt.rG)}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-babillard"]],decls:2,vars:4,consts:[[3,"babillard","inParticipationCitoyenne"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-babillard",0),t.nI1(1,"async")),2&i&&t.Y8G("babillard",t.bMT(1,2,a.currentBabillard$))("inParticipationCitoyenne",!0)},dependencies:[Ht.F,f.Jj],encapsulation:2}),o})();var nt=r(12128),Zt=r(8154);let Kt=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.currentCarte$=this.store.select(nt.h9)}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-carte-interactive"]],decls:2,vars:4,consts:[[3,"carte","inParticipationCitoyenne"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-carte-interactive-article",0),t.nI1(1,"async")),2&i&&t.Y8G("carte",t.bMT(1,2,a.currentCarte$))("inParticipationCitoyenne",!0)},dependencies:[Zt.L,f.Jj],encapsulation:2}),o})();var qt=r(30511);let te=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.wiId$=this.store.select(C.ND).pipe((0,x.T)(i=>{var a;return null==i||null===(a=i.currentParticipationCitoyenne)||void 0===a?void 0:a.id}))}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-commentaire"]],decls:2,vars:4,consts:[["wiTable","General.ParticipationCitoyenne",3,"wiId","inParticipationcitoyenne"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-liste-commentaire",0),t.nI1(1,"async")),2&i&&t.Y8G("wiId",t.bMT(1,2,a.wiId$))("inParticipationcitoyenne",!0)},dependencies:[qt.W,f.Jj],encapsulation:2}),o})();var ee=r(14041),ne=r(9249);let it=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.currentEvenement$=this.store.select(ee.q$)}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-evenement"]],decls:2,vars:4,consts:[[3,"evenement","inParticipationCitoyenne"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-evenement-article",0),t.nI1(1,"async")),2&i&&t.Y8G("evenement",t.bMT(1,2,a.currentEvenement$))("inParticipationCitoyenne",!0)},dependencies:[ne.o,f.Jj],encapsulation:2}),o})();var ie=r(67094),ot=r(19605),oe=r(39271);let at=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.currentFaq$=this.store.select(ie.M),this.parId$=this.store.select(ot.ml).pipe((0,x.T)(i=>null!=i?i:null))}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-faq"]],decls:3,vars:6,consts:[[3,"faq","participationId"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-faq",0),t.nI1(1,"async"),t.nI1(2,"async")),2&i&&t.Y8G("faq",t.bMT(1,2,a.currentFaq$))("participationId",t.bMT(2,4,a.parId$))},dependencies:[oe.C,f.Jj],encapsulation:2}),o})();var ae=r(20958),re=r(32823);let rt=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.currentPublication$=this.store.select(ae.fQ)}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-publication"]],decls:2,vars:4,consts:[[3,"article","inParticipationCitoyenne"]],template:function(i,a){1&i&&(t.nrm(0,"vplus-publication-article",0),t.nI1(1,"async")),2&i&&t.Y8G("article",t.bMT(1,2,a.currentPublication$))("inParticipationCitoyenne",!0)},dependencies:[re.s,f.Jj],encapsulation:2}),o})();var ce=r(24363),se=r(94212),le=r(12918);function pe(n,o){if(1&n&&(t.nrm(0,"vplus-sondage-introduction",0),t.nI1(1,"async")),2&n){const e=t.XpG();t.Y8G("sondage",t.bMT(1,2,e.currentSondage$))("inParticipationCitoyenne",!0)}}function de(n,o){if(1&n&&(t.nrm(0,"vplus-sondage",1),t.nI1(1,"async"),t.nI1(2,"async")),2&n){const e=t.XpG();t.Y8G("ionContent",e.ionContent)("sondage",t.bMT(1,3,e.currentSondage$))("participationId",t.bMT(2,5,e.parId$))}}let A=(()=>{var n;class o{constructor(){this.store=(0,t.WQX)(p.il),this.route=(0,t.WQX)(d.nX),this.currentSondage$=this.store.select(ce.R8),this.isIntroduction=-1!==this.route.
1snapshot.url.findIndex(i=>"introduction"===i.path),this.parId$=this.store.select(ot.ml).pipe((0,x.T)(i=>null!=i?i:null))}ngOnInit(){this.ionContent=document.getElementById("pcPage"),this.ionContent&&this.ionContent.scrollToTop()&&this.ionContent.scrollToTop()}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-conteneur-sondage"]],decls:2,vars:1,consts:[[3,"sondage","inParticipationCitoyenne"],[3,"ionContent","sondage","participationId"]],template:function(i,a){1&i&&t.DNE(0,pe,2,4,"vplus-sondage-introduction",0)(1,de,3,7),2&i&&t.vxM(0,a.isIntroduction?0:1)},dependencies:[se.Z,le.p,f.Jj],encapsulation:2}),o})();var ue=r(37084),G=r(30049),_e=r(345),T=r(57988),ct=r(5964),h=r(89417),k=r(26927),I=r(3902),D=r(96850),st=r(86600),me=r(81405),v=r(88974),Ce=r(12394),ge=r(94668),lt=r(23132),ve=r(87748),fe=r(90835),Pe=r(15083),he=r(85296),Me=r(78868),Ee=r(35335),Te=r(51564),Ne=r(81018),ye=r(71997),xe=r(59042),L=r(32102),Oe=r(88834),be=r(95390),Re=r(75824);const $e=(n,o)=>o.id;function Ie(n,o){if(1&n&&(t.j41(0,"div",1),t.EFF(1),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.JRh(e.ligneTemps.titre)}}function Se(n,o){if(1&n&&(t.j41(0,"div",5)(1,"div",6)(2,"h4"),t.EFF(3),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()()),2&n){const e=o.$implicit,i=t.XpG();t.AVh("timeline-inProgress",e.statut===i.StatusActions.EN_COURS.id)("timeline-completed",e.statut===i.StatusActions.COMPLETE.id),t.R7$(3),t.JRh(e.titre),t.R7$(2),t.JRh(e.description)}}let Fe=(()=>{var n;class o{constructor(){this.hideTitre=!1,this.StatusActions=m.zG}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-timeline"]],inputs:{ligneTemps:"ligneTemps",hideTitre:"hideTitre"},decls:7,vars:1,consts:[[1,"pc-side-content-section","no-margin-bottom"],["mat-subheader",""],[1,"timeline"],[1,"timeline-vertical-line"],[1,"timeline-container",3,"timeline-inProgress","timeline-completed"],[1,"timeline-container"],[1,"content"]],template:function(i,a){1&i&&(t.j41(0,"div",0)(1,"mat-list"),t.DNE(2,Ie,2,1,"div",1),t.j41(3,"div",2),t.nrm(4,"span",3),t.Z7z(5,Se,6,6,"div",4,$e),t.k0s()()()),2&i&&(t.R7$(2),t.vxM(2,a.hideTitre?-1:2),t.R7$(3),t.Dyx(a.ligneTemps.etapes))},dependencies:[I.jt,I.EI],styles:['.timeline[_ngcontent-%COMP%]{position:relative;max-width:1200px;margin:0 auto;padding-bottom:1px}.timeline-container[_ngcontent-%COMP%]:before{content:"";position:absolute;width:3px;bottom:-40px;background-color:var(--divider-color);left:25px;top:24px!important;height:110%}.timeline-container[_ngcontent-%COMP%]:last-child:before{content:"";display:none}.timeline-container[_ngcontent-%COMP%]{padding:10px 18px 0 56px;position:relative;background-color:inherit;left:0}.timeline-container[_ngcontent-%COMP%]:after{content:"";position:absolute;width:18px;height:18px;left:14px;background-color:var(--light-grey-color);border:3px solid #cacaca;top:22px;border-radius:50%;z-index:1}.timeline-container.timeline-completed[_ngcontent-%COMP%]:after{background:var(--primary-color);border:6px solid var(--light-grey-color);border-style:double;left:12px;width:16px;height:16px}.timeline-container.timeline-inProgress[_ngcontent-%COMP%]:after{border:3px solid var(--primary-color)}.content[_ngcontent-%COMP%]{position:relative;border-radius:6px;padding-left:12px}.content[_ngcontent-%COMP%]   h4[_ngcontent-%COMP%]{font-size:1rem}.content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;white-space:pre-wrap}']}),o})();var pt=r(73910),Ae=r(32430),Ge=r(316);const ke=["target"],O=(n,o)=>o.id,we=(n,o)=>o.title;function Xe(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function je(n,o){if(1&n&&(t.j41(0,"h4"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.nomComplet)}}function We(n,o){if(1&n&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.JRh(e.fonction)}}function Ue(n,o){if(1&n&&(t.j41(0,"ion-avatar",20),t.nrm(1,"vplus-img-shimmer",21),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("src",e.imageProfil.url)("withBackgroundImage",!0)}}function De(n,o){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3).$implicit;t.R7$(),t.SpI(", poste ",e.numPoste,"")}}function Le(n,o){if(1&n&&(t.j41(0,"span")(1,"a",22),t.EFF(2),t.nI1(3,"imask"),t.nI1(4,"substring"),t.k0s(),t.DNE(5,De,2,1,"span"),t.k0s()),2&n){const e=t.XpG(2).$implicit,i=t.XpG(3);t.R7$(),t.FS9("href","tel:+"+e.telephonePro,t.B4B),t.R7$(),t.JRh(t.i5U(4,6,t.i5U(3,3,e.telephonePro,i.telMaskOQLFObjet),1)),t.R7$(3),t.vxM(5,e.numPoste?5:-1)}}function Ve(n,o){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3).$implicit;t.R7$(),t.SpI(" #",e.numPoste,"")}}function Be(n,o){if(1&n&&(t.j41(0,"a",22),t.EFF(1),t.nI1(2,"imask"),t.k0s(),t.DNE(3,Ve,2,1,"span")),2&n){const e=t.XpG(2).$implicit,i=t.XpG(3);t.FS9("href","tel:+"+e.telephonePro,t.B4B),t.R7$(),t.JRh(t.i5U(2,3,e.telephonePro,i.telMaskObjet)),t.R7$(2),t.vxM(3,e.numPoste?3:-1)}}function ze(n,o){if(1&n&&(t.j41(0,"p"),t.DNE(1,Le,6,9,"span")(2,Be,4,6),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.vxM(1,e.currentLocalisation===e.EnumLocalizationTag.FR?1:2)}}function Ye(n,o){if(1&n&&(t.j41(0,"p")(1,"a",22),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("href","mailto:"+e.emailPro,t.B4B),t.R7$(),t.JRh(e.emailPro)}}function Qe(n,o){1&n&&t.nrm(0,"mat-divider")}function Je(n,o){if(1&n&&(t.j41(0,"div",18)(1,"div",19)(2,"div"),t.DNE(3,je,2,1,"h4")(4,We,2,1,"p"),t.k0s(),t.DNE(5,Ue,2,2,"ion-avatar",20),t.k0s(),t.DNE(6,ze,3,1,"p")(7,Ye,3,2,"p")(8,Qe,1,0,"mat-divider"),t.k0s()),2&n){const e=o.$implicit,i=o.$index,a=o.$count;t.AVh("img",null==e.imageProfil?null:e.imageProfil.url),t.R7$(3),t.vxM(3,e.nomComplet?3:-1),t.R7$(),t.vxM(4,e.fonction?4:-1),t.R7$(),t.vxM(5,null!=e.imageProfil&&e.imageProfil.url?5:-1),t.R7$(),t.vxM(6,e.telephonePro?6:-1),t.R7$(),t.vxM(7,e.emailPro?7:-1),t.R7$(),t.vxM(8,i!==a-1?8:-1)}}
1function He(n,o){if(1&n&&(t.j41(0,"div",11)(1,"ion-list",15)(2,"mat-list"),t.DNE(3,Xe,2,1,"div",16),t.Z7z(4,Je,9,8,"div",17,O),t.k0s()()()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.vxM(3,e.hideTitre?-1:3),t.R7$(),t.Dyx(e.personnes)}}function Ze(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function Ke(n,o){if(1&n&&(t.j41(0,"div",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.legende)}}function qe(n,o){if(1&n&&(t.j41(0,"div"),t.nrm(1,"vplus-img-shimmer",26),t.DNE(2,Ke,2,1,"div",27),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("src",e.file.url)("alt",e.legende),t.R7$(),t.vxM(2,e.legende?2:-1)}}function tn(n,o){1&n&&t.DNE(0,qe,3,3,"div"),2&n&&t.vxM(0,o.$index%2==0?0:-1)}function en(n,o){if(1&n&&(t.j41(0,"div",27),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.legende)}}function nn(n,o){if(1&n&&(t.j41(0,"div"),t.nrm(1,"vplus-img-shimmer",26),t.DNE(2,en,2,1,"div",27),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.Y8G("src",e.file.url)("alt",e.legende),t.R7$(),t.vxM(2,e.legende?2:-1)}}function on(n,o){1&n&&t.DNE(0,nn,3,3,"div"),2&n&&t.vxM(0,o.$index%2!=0?0:-1)}function an(n,o){if(1&n&&(t.j41(0,"div",11)(1,"ion-list",15)(2,"mat-list"),t.DNE(3,Ze,2,1,"div",16),t.j41(4,"div",23)(5,"div",24),t.Z7z(6,tn,1,1,null,null,O),t.k0s(),t.j41(8,"div",25),t.Z7z(9,on,1,1,null,null,O),t.k0s()()()()()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.vxM(3,e.hideTitre?-1:3),t.R7$(3),t.Dyx(e.photos),t.R7$(3),t.Dyx(e.photos)}}function rn(n,o){if(1&n&&t.nrm(0,"vplus-pc-timeline",12),2&n){const e=t.XpG().$implicit;t.Y8G("ligneTemps",e)("hideTitre",e.hideTitre)}}function cn(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function sn(n,o){if(1&n&&(t.j41(0,"div",28)(1,"a",29),t.EFF(2),t.k0s(),t.nrm(3,"i",30),t.k0s()),2&n){const e=o.$implicit;t.R7$(),t.Y8G("href",e.url,t.B4B),t.R7$(),t.JRh(e.texte)}}function ln(n,o){if(1&n&&(t.j41(0,"div",13)(1,"mat-list"),t.DNE(2,cn,2,1,"div",16),t.Z7z(3,sn,4,2,"div",28,O),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.vxM(2,e.hideTitre?-1:2),t.R7$(),t.Dyx(null==e?null:e.links)}}function pn(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function dn(n,o){if(1&n&&(t.j41(0,"div",28)(1,"a",29),t.EFF(2),t.k0s(),t.nrm(3,"i",31),t.k0s()),2&n){const e=o.$implicit;t.R7$(),t.Y8G("href",e.file.url,t.B4B),t.R7$(),t.JRh(e.fileName)}}function un(n,o){if(1&n&&(t.j41(0,"div",13)(1,"mat-list"),t.DNE(2,pn,2,1,"div",16),t.Z7z(3,dn,4,2,"div",28,O),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.vxM(2,e.hideTitre?-1:2),t.R7$(),t.Dyx(null==e?null:e.files)}}function _n(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function mn(n,o){if(1&n&&(t.j41(0,"div",11)(1,"ion-list",15)(2,"mat-list"),t.DNE(3,_n,2,1,"div",16),t.j41(4,"div",32),t.nrm(5,"vplus-froala-container",33),t.k0s()()()()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.vxM(3,e.hideTitre?-1:3),t.R7$(2),t.Y8G("content",e.localisations[0].contenu)("isSideWidget",!0)}}function Cn(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function gn(n,o){if(1&n&&(t.j41(0,"div",35)(1,"span",36),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit,i=t.XpG(3);t.Y8G("routerLink",i.baseUrlAndSlug+"/foire-aux-questions/"+e.slug+"/question/"+e.id),t.R7$(2),t.JRh(e.question)}}function vn(n,o){1&n&&t.DNE(0,gn,3,2,"div",35),2&n&&t.vxM(0,o.$implicit.question?0:-1)}function fn(n,o){if(1&n&&(t.j41(0,"div",11)(1,"ion-list",15)(2,"mat-list"),t.DNE(3,Cn,2,1,"div",16),t.j41(4,"div",34),t.Z7z(5,vn,1,1,null,null,O),t.k0s()()()()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.vxM(3,e.hideTitre?-1:3),t.R7$(2),t.Dyx(e.linkedFaq)}}function Pn(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function hn(n,o){if(1&n&&(t.j41(0,"div",38)(1,"div",39),t.nrm(2,"vplus-loading-spinner",40),t.k0s(),t.nrm(3,"iframe",41),t.k0s()),2&n){const e=o.$implicit,i=t.XpG(4);t.R7$(3),t.Y8G("src",i.getUrlVideo(e.id),t.f$h)}}function Mn(n,o){if(1&n&&(t.j41(0,"div",37),t.Z7z(1,hn,4,1,"div",38,O),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.Dyx(e.links)}}function En(n,o){if(1&n){const e=t.RV6();t.j41(0,"div",42)(1,"div",43)(2,"div",44)(3,"h1",45),t.EFF(4),t.k0s(),t.j41(5,"div",46)(6,"ion-button",47),t.bIt("click",function(){t.eBV(e);const a=t.XpG(3);return t.Njj(a.openCookieConsentModal())}),t.EFF(7),t.k0s()()()()()}if(2&n){const e=t.XpG(3);t.R7$(4),t.JRh(e.cookieLabels.title),t.R7$(3),t.SpI(" ",e.cookieLabels.button," ")}}function Tn(n,o){if(1&n&&(t.j41(0,"div",11)(1,"mat-list"),t.DNE(2,Pn,2,1,"div",16)(3,Mn,3,0,"div",37),t.nI1(4,"async"),t.DNE(5,En,8,2),t.k0s()()),2&n){const e=t.XpG(),i=e.$implicit,a=e.$index,c=e.$count,s=t.XpG();t.R7$(),t.AVh("widget-last-child",a===c-1),t.R7$(),t.vxM(2,i.hideTitre?-1:2),t.R7$(),t.vxM(3,t.bMT(4,4,s.isMarketingCookieAccepted$)?3:s.isMobile?-1:5)}}function Nn(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function yn(n,o){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.nI1(2,"vplusMoment"),t.k0s()),2&n){const e=t.XpG().$implicit;t.R7$(),t.SpI("\xa0-\xa0",t.bMT(2,1,e.pubDate),"")}}function xn(n,o){if(1&n&&(t.j41(0,"div")(1,"span"),t.EFF(2),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(2),t.JRh(e.description)}}function On(n,o){if(1&n&&t.nrm(0,"img",52),2&n){const e=t.XpG().$implicit;t.Y8G("src",e.enclosure.url,t.B4B)}}function bn(n,o){if(1&n&&(t.j41(0,"div",53)(1,"a",29),t.pXf(2,1),t.k0s()()),2&n){const e=t.XpG().$implicit;t.R7$(),t.FS9("href",e.link,t.B4B)}}function Rn(n,o){if(1&n&&(t.j41(0,"div",49)(1,"div",50),t.EFF(2),t.DNE(3,yn,3,3,"span"),t.k0s(),t.j41(4,"h4",51),t.EFF(5),t.k0s(),t.DNE(6,xn,3,1,"div")(7,On,1,1,"img",52)(8,bn,3,1,"div",53),t.k0s()),2&n){const e=o.$implicit,i=t.XpG(2).$implicit;t.R7$(2),t.SpI(" ",i.localisations[0].feed.title," "),t.R7$(),t.vxM(3,e.pubDate?3:-1),t.R7$(2),t.JRh(e.title),t.R7$(),t.vxM(6,e.description?6:-1),t.R7$(),t.vxM(7,null!=e.enclosure&&e.enclosure.url?7:-1),t.R7$(),t.vxM(8,e.link?8:-1)}}
1function $n(n,o){if(1&n&&(t.j41(0,"div",11)(1,"ion-list",15)(2,"mat-list"),t.DNE(3,Nn,2,1,"div",16),t.j41(4,"div",48),t.Z7z(5,Rn,9,6,"div",49,we),t.k0s()()()()),2&n){const e=t.XpG().$implicit;t.R7$(3),t.vxM(3,e.hideTitre?-1:3),t.R7$(2),t.Dyx(null==e.localisations[0].feed?null:e.localisations[0].feed.items)}}function In(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function Sn(n,o){if(1&n){const e=t.RV6();t.j41(0,"button",57),t.bIt("click",function(){t.eBV(e);const a=t.XpG(2).$implicit,c=t.XpG();return t.Njj(c.navigateToPage(a))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG(2).$implicit,i=t.XpG();t.xc7("color",e.color.colorCode?e.color.colorCode:i.themeColor),t.R7$(),t.SpI(" ",e.label," ")}}function Fn(n,o){if(1&n){const e=t.RV6();t.j41(0,"button",58),t.bIt("click",function(){t.eBV(e);const a=t.XpG(2).$implicit,c=t.XpG();return t.Njj(c.navigateToPage(a))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG(2).$implicit,i=t.XpG();t.xc7("background",e.color.colorCode?e.color.colorCode:i.themeColor)("color",e.textColor),t.R7$(),t.SpI(" ",e.label," ")}}function An(n,o){if(1&n&&(t.j41(0,"div",11)(1,"mat-list"),t.DNE(2,In,2,1,"div",16),t.j41(3,"div",54),t.DNE(4,Sn,2,3,"button",55)(5,Fn,2,5,"button",56),t.k0s()()()),2&n){const e=t.XpG(),i=e.$implicit,a=e.$index,c=e.$count,s=t.XpG();t.R7$(),t.AVh("widget-last-child",a===c-1),t.R7$(),t.vxM(2,i.hideTitre?-1:2),t.R7$(2),t.vxM(4,i.style===s.EnumButtonStyle.Secondary?4:-1),t.R7$(),t.vxM(5,i.style===s.EnumButtonStyle.Primary?5:-1)}}function Gn(n,o){if(1&n&&(t.j41(0,"div",16),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.JRh(e.titre)}}function kn(n,o){1&n&&t.eu8(0)}function wn(n,o){if(1&n){const e=t.RV6();t.j41(0,"button",64),t.bIt("click",function(){t.eBV(e);const a=t.XpG(3).$implicit,c=t.XpG();return t.Njj(c.followPage(a))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG(3).$implicit,i=t.XpG();t.xc7("color",e.color.colorCode?e.color.colorCode:i.themeColor),t.R7$(),t.SpI(" ",e.label," ")}}function Xn(n,o){if(1&n){const e=t.RV6();t.j41(0,"button",65),t.bIt("click",function(){t.eBV(e);const a=t.XpG(3).$implicit,c=t.XpG();return t.Njj(c.followPage(a))}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG(3).$implicit,i=t.XpG();t.xc7("background",e.color.colorCode?e.color.colorCode:i.themeColor)("color",e.textColor),t.R7$(),t.SpI(" ",e.label," ")}}function jn(n,o){if(1&n){const e=t.RV6();t.j41(0,"div",63)(1,"div"),t.pXf(2,2),t.k0s(),t.j41(3,"a",66),t.bIt("click",function(){t.eBV(e);const a=t.XpG(3).$implicit,c=t.XpG();return t.Njj(c.unfollowPage(a))}),t.EFF(4),t.k0s()()}if(2&n){const e=t.XpG(3).$implicit;t.R7$(4),t.JRh(e.labelDesabonnement)}}function Wn(n,o){if(1&n&&(t.DNE(0,kn,1,0,"ng-container",59),t.j41(1,"div",60),t.DNE(2,wn,2,3,"button",61)(3,Xn,2,5,"button",62),t.k0s(),t.DNE(4,jn,5,1,"div",63)),2&n){const e=t.XpG(2).$implicit,i=t.XpG(),a=t.sdS(3);t.Y8G("ngTemplateOutlet",a),t.R7$(2),t.vxM(2,e.style!==i.EnumButtonStyle.Secondary||e.isFollowedByCurrentUser?-1:2),t.R7$(),t.vxM(3,e.style!==i.EnumButtonStyle.Primary||e.isFollowedByCurrentUser?-1:3),t.R7$(),t.vxM(4,e.isFollowedByCurrentUser?4:-1)}}function Un(n,o){1&n&&(t.j41(0,"div",67),t.pXf(1,3),t.k0s())}function Dn(n,o){if(1&n&&(t.j41(0,"div",14)(1,"mat-list"),t.DNE(2,Gn,2,1,"div",16)(3,Wn,5,4)(4,Un,2,0),t.k0s()()),2&n){const e=t.XpG(),i=e.$implicit,a=e.$index,c=e.$count,s=t.XpG();t.Y8G("id",s.suivreParticipationId),t.R7$(),t.AVh("widget-last-child",a===c-1),t.R7$(),t.vxM(2,i.hideTitre?-1:2),t.R7$(),t.vxM(3,s.showGuestMessage?4:3)}}function Ln(n,o){if(1&n&&t.DNE(0,He,6,1,"div",11)(1,an,11,1,"div",11)(2,rn,1,2,"vplus-pc-timeline",12)(3,ln,5,1,"div",13)(4,un,5,1,"div",13)(5,mn,6,3,"div",11)(6,fn,7,1,"div",11)(7,Tn,6,6,"div",11)(8,$n,7,1,"div",11)(9,An,6,5,"div",11)(10,Dn,5,5,"div",14),2&n){const e=o.$implicit,i=t.XpG();t.vxM(0,e.typeId===i.widgetsIdEnum.PersonnesRessources&&null!=e&&null!=e.personnes&&e.personnes.length?0:-1),t.R7$(),t.vxM(1,e.typeId===i.widgetsIdEnum.Photos&&null!=e&&null!=e.photos&&e.photos.length?1:-1),t.R7$(),t.vxM(2,e.typeId===i.widgetsIdEnum.LigneTemps?2:-1),t.R7$(),t.vxM(3,e.typeId===i.widgetsIdEnum.LiensUtiles&&null!=e&&null!=e.links&&e.links.length?3:-1),t.R7$(),t.vxM(4,e.typeId===i.widgetsIdEnum.PiecesJointes&&null!=e&&null!=e.f
1iles&&e.files.length?4:-1),t.R7$(),t.vxM(5,e.typeId===i.widgetsIdEnum.Personnalise&&e.localisations[0].contenu?5:-1),t.R7$(),t.vxM(6,e.typeId===i.widgetsIdEnum.FAQ&&e.faqIsAccessible&&e.linkedFaq.length>0?6:-1),t.R7$(),t.vxM(7,e.typeId===i.widgetsIdEnum.Video&&null!=e&&null!=e.links&&e.links.length?7:-1),t.R7$(),t.vxM(8,e.typeId===i.widgetsIdEnum.FluxRSS&&e.localisations[0].feed?8:-1),t.R7$(),t.vxM(9,e.typeId===i.widgetsIdEnum.ActionBtn&&e.label&&e.isLienActive?9:-1),t.R7$(),t.vxM(10,e.typeId===i.widgetsIdEnum.SuivreParticipation?10:-1)}}function Vn(n,o){1&n&&(t.j41(0,"mat-error"),t.pXf(1,9),t.k0s())}function Bn(n,o){1&n&&(t.j41(0,"mat-error"),t.pXf(1,10),t.k0s())}function zn(n,o){if(1&n&&(t.j41(0,"form",68)(1,"div",69)(2,"mat-form-field")(3,"mat-label"),t.pXf(4,4),t.k0s(),t.nrm(5,"input",70),t.j41(6,"mat-error"),t.pXf(7,5),t.k0s()(),t.j41(8,"mat-form-field")(9,"mat-label"),t.pXf(10,6),t.k0s(),t.nrm(11,"input",71),t.j41(12,"mat-error"),t.pXf(13,7),t.k0s()()(),t.j41(14,"div",69)(15,"mat-form-field",72)(16,"mat-label"),t.pXf(17,8),t.k0s(),t.nrm(18,"input",73),t.DNE(19,Vn,2,0,"mat-error")(20,Bn,2,0,"mat-error"),t.k0s()()()),2&n){const e=t.XpG(2);t.Y8G("formGroup",e.suivreParticipationForm),t.R7$(19),t.vxM(19,null!=e.suivreParticipationForm.controls.courriel.errors&&e.suivreParticipationForm.controls.courriel.errors.required?19:-1),t.R7$(),t.vxM(20,e.suivreParticipationForm.controls.courriel.hasError("invalidEmail")?20:-1)}}function Yn(n,o){if(1&n&&t.DNE(0,zn,21,3,"form",68),2&n){const e=t.XpG();t.vxM(0,e.showGuestForm&&e.isGuestAllowed?0:-1)}}let Qn=(()=>{var n;class o{constructor(){this.mobileMode=!1,this.isPreview=!1,this.appConfig=(0,t.WQX)(R.o),this.router=(0,t.WQX)(d.Ix),this.route=(0,t.WQX)(d.nX),this.backend=(0,t.WQX)(z.x),this.cookieConsentService=(0,t.WQX)(he.K),this.store=(0,t.WQX)(p.il),this.localisationService=(0,t.WQX)(H.A),this.destroyRef=(0,t.WQX)(t.abz),this.platform=(0,t.WQX)(Ne.OD),this.EnumButtonStyle=m.$X,this.EnumLocalizationTag=Te.fi,this.guestFormSubmitted=new t.bkB,this.widgetsIdEnum=m.Je,this.themeColor=getComputedStyle(document.documentElement).getPropertyValue("--primary-color"),this.currentUser=null,this.locale=this.localisationService.getCurrentLocalisation(),this.linksVideo=[],this.cookieLabels=Me.OQ,this.isMobile=this.platform.is("ios")||this.platform.is("android")}ngOnInit(){var i;this.defaultLocalisation=this.appConfig.appConfig.localisationDefaut,this.currentLocalisation=this.localisationService.getCurrentLocalisation(),this.baseRoute=this.isPreview?`participation-citoyenne/apercu/${this.route.snapshot.params.slug}`:`participation-citoyenne/${this.route.snapshot.params.slug}`,this.telMaskObjet=this.appConfig.appConfig.telMaskObjet,this.telMaskOQLFObjet=this.appConfig.appConfig.telMaskOQLFObjet,this.route.queryParams.pipe((0,g.pQ)(this.destroyRef)).subscribe(c=>this.showGuestForm=c.showGuestForm),this.linksVideo=this.widgets.filter(c=>c.typeId===m.Je.Video).reduce((c,s)=>c.concat(s.links),[]);for(const c of this.widgets){if(c.typeId===m.Je.FAQ){const s=c;for(const l of this.pcSections){var a;if(-1!==(null===(a=l.entites)||void 0===a?void 0:a.findIndex(P=>P.entId===s.linkedFaqId))){s.faqIsAccessible=!0;break}}}c.typeId===m.Je.SuivreParticipation&&this.store.select(E.selectCurrentUser).pipe((0,g.pQ)(this.destroyRef)).subscribe(s=>this.currentUser=s)}this.isMarketingCookieAccepted$=null===(i=this.cookieConsentService)||void 0===i?void 0:i.isMarketingCookieAccepted(),this.store.select(C.$z).pipe((0,g.pQ)(this.destroyRef)).subscribe(c=>{this.isGuestAllowed=c})}ngAfterViewInit(){this.route.fragment.pipe((0,g.pQ)(this.destroyRef),(0,Ee.c)(200)).subscribe(i=>{if(i&&"suivre-widget"===i){let c;this.mobileMode?c=`${i}Mobile`:window.innerWidth>1428?c=`${i}Large`:window.innerWidth<=1428&&(c=`${i}Medium`);const s=document.getElementById(c);s&&0!==s.offsetHeight&&s.scrollIntoView({behavior:"smooth",block:"end",inline:"nearest"})}})}trackById(i,a){return a.id}getUrlVideo(i){return this.linksVideo.find(a=>a.id===i).url}followPage(i){this.currentUser||this.showGuestForm?this.showGuestForm?this.isGuestAllowed&&this.submitGuestParticipation(i):this.submitParticipation(i):this.showNotLoggedFallBack()}showNotLoggedFallBack(){this.router.navigate([`${this.baseRoute}/connexion`])}submitParticipation(i){(this.isPreview?(0,F.of)(!0):this.backend.followParticipation(i.id,i.groupeId)).pipe((0,g.pQ)(this.destroyRef)).subscribe(()=>{this.store.dispatch(C.En.setSuivreParticipationStatus({payload:{id:i.id,isFollowedByCurrentUser:!0}}
1)),this.store.dispatch(new E.Actions.ShowSnackBar("Vous \xEAtes abonn\xE9 \xE0 la participation avec succ\xE8s"))})}submitGuestParticipation(i){if(this.suivreParticipationForm.markAllAsTouched(),!this.suivreParticipationForm.valid)return;const a=this.suivreParticipationForm.value;a.localisation=this.locale,(this.isPreview?(0,F.of)(!0):this.backend.followParticipationGuest(i.id,a)).pipe((0,g.pQ)(this.destroyRef)).subscribe(()=>{this.store.dispatch(new E.Actions.ShowSnackBar("Veuillez consulter vos courriels pour confirmer votre abonnement")),this.suivreParticipationForm.reset(),this.router.navigate([this.baseRoute],{fragment:"suivre-widget"}),this.guestFormSubmitted.emit(!0)})}unfollowPage(i){(this.isPreview?(0,F.of)(!0):this.backend.unfollowParticipation(i.id)).pipe((0,g.pQ)(this.destroyRef)).subscribe(()=>{this.store.dispatch(C.En.setSuivreParticipationStatus({payload:{id:i.id,isFollowedByCurrentUser:!1}})),this.store.dispatch(new E.Actions.ShowSnackBar("Vous \xEAtes d\xE9sabonn\xE9 de la participation avec succ\xE8s"))})}navigateToPage(i){const{navigationPath:a,lienEntite:{typeId:c,lienExterne:s,inNewWindow:l},queryParams:_,outlets:P}=i;if(c===m.y3.Fichier)return void fe.A.openFileInNewWindow(i,this.appConfig.appConfig.awsFilePath);const w=window.location.origin;if(c!==m.y3.LienExterne)if(l&&"web"===Pe.Ii.getPlatform()){let y=a;this.currentLocalisation!==this.defaultLocalisation&&(y=`/${this.currentLocalisation}${y}`),P&&(y=`${y}/${Object.values(P)[0][0]}`),window.open(`${w}${y}`,"_blank")}else this.router.navigate(P?[a,{outlets:P}]:[a],{queryParams:_});else window.open(s,l?"_blank":"_self")}openCookieConsentModal(){this.cookieConsentService.showCookieSettings()}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-conteneur-widget"]],viewQuery:function(i,a){if(1&i&&t.GBs(ke,5),2&i){let c;t.mGM(c=t.lsd())&&(a.target=c.first)}},inputs:{widgets:"widgets",mobileMode:"mobileMode",baseUrlAndSlug:"baseUrlAndSlug",pcSections:"pcSections",suivreParticipationForm:"suivreParticipationForm",isPreview:"isPreview",showGuestMessage:"showGuestMessage",suivreParticipationId:"suivreParticipationId"},outputs:{guestFormSubmitted:"guestFormSubmitted"},decls:4,vars:0,consts:()=>{let e,i,a,c,s,l,_,P,w,y;return e="En savoir plus",i="Vous suivez cette participation",a="Consulter vos courriels pour confirmer votre abonnement",c="Pr\xE9nom",s="Champ obligatoire",l="Nom",_="Champ obligatoire",P="Courriel",w="Champ obligatoire",y="Courriel non valide",[["templateSuivreParticipationForm",""],e,i,a,c,s,l,_,P,w,y,[1,"pc-side-content-section","no-margin-bottom"],[3,"ligneTemps","hideTitre"],[1,"pc-side-content-section","no-margin-bottom","widget-links"],[1,"pc-side-content-section","no-margin-bottom","suivre-participation-widget",3,"id"],["mode","md"],["mat-subheader",""],[1,"responsable-widget",3,"img"],[1,"responsable-widget"],[1,"responsable-flex"],[1,"avatar","no-shrink"],[1,"full-width",3,"src","withBackgroundImage"],[3,"href"],[1,"widget-photo-list"],[1,"col-left"],[1,"col-right"],[1,"full-width",3,"src","alt"],[1,"image-legende"],["matRipple","",1,"pc-side-menu-item"],["target","_blank",3,"href"],[1,"icon-external-link"],[1,"icon-download"],[1,"personnalise-content"],[3,"content","isSideWidget"],[1,"widget-faq-content"],["routerLinkActive","active",1,"question-wrapper",3,"routerLink"],[1,"question-text"],[1,"video-widget-wrapper"],[1,"embed-container"],["id","spinner"],["message",""],["title","Video","type","text/html","loading","lazy","frameborder","0","allowfullscreen","","onload","document.getElementById('spinner').style.display='none';",3,"src"],[1,"container"],[1,"cookie-fallback","pb-block-text-wrapper","wrapper-article"],[1,"pb-block-text-content","content-article-width"],[1,"centered-text","title"],[1,"space-around"],["type","button",1,"ion-custom-button-standard","ion-custom-button-full","ion-cookie-button",3,"click"],[1,"widget-rss-content"],[1,"feed-item"],[1,"feed-info"],[1,"feed-title"],[3,"src"],[1,"feed-link"],[1,"pc-side-menu-item","action-btn"],["mat-button","","mat-stroked-button","","type","button",1,"custom-button-standard",3,"color"],["mat-button","","mat-raised-button","","type","button",1,"custom-button-standard",3,"background","color"],["mat-button","","mat-stroked-button","","type","button",1,"custom-button-standard",3,"click"],["mat-button","","mat-raised-button","","type","button",1,"custom-button-standard",3,"click"],[4,"ngTemplateOutlet"],[1,"action-btn","suivre-participation-widget","withoutborder"],["mat-button","","mat-stroked-button","","type","button",1,"button-suivre-participation",3,"color"],["mat-button","","mat-raised-button","","type","button",1,"button-suivre-participation",3,"background","color"],[1,"widget-desabonnement-participation"],["mat-button","","mat-stroked-button","","type","button",1,"button-suivre-participation",3,"click"],["mat-button","","mat-raised-button","","type","button",1,"button-suivre-participation",3,"click"],[3,"click"],[1,"guest-message-succes"],[1,"suivre-participation-form",3,"formGroup"],[1,"form-field-inline-section"],["required","","matInput","","type","text","formControlName","prenom"],["required","","matInput","","type","text","formControlName","nom"],[1,"email-field"],["required","","matInput","","type","email","formControlName","courriel"]]},template:function(i,a){1&i&&(t.Z7z(0,Ln,11,11,null,null,t.Vm6),t.DNE(2,Yn,1,1,"ng-template",null,0,t.C5r)),2&i&&t.Dyx(a.widgets)},dependencies:[ye.q,xe.fg,L.rl,L.nJ,L.TL,Oe.$z,I.jt,I.EI,st.r6,f.T3,h.qT,h.me,h.BC,h.cb,h.YS,h.j4,h.JD,v.mC,v.Jm,v.nf,v.N7,be.m,Re.N,lt.A,d.Wk,d.wQ,Fe,f.Jj,pt.x,Ae.YH,Ge.W],styles:['@charset "UTF-8";.image-legende[_ngcontent-%COMP%]{text-align:center;font-style:italic;margin-top:-16px;margin-bottom:18px;padding:0 18px;font-size:16px}.personnalise-content[_ngcontent-%COMP%]{padding:0 16px!important}.email-field[_ngcontent-%COMP%]{width:100%}.suivre-participation-form[_ngcontent-%COMP%]{margin:20px}.widget-faq-content[_ngcontent-%COMP%]{padding:0 18px 18px}.widget-faq-content[_ngcontent-%COMP%]   .question-wrapper[_ngcontent-%COMP%]{width:100%;min-height:60px;display:flex;align-items:center;background:#fff;cursor:pointer;margin-top:10px;
1border:1px solid var(--divider-color)}.widget-faq-content[_ngcontent-%COMP%]   .question-wrapper[_ngcontent-%COMP%]   .question-text[_ngcontent-%COMP%]{padding-top:10px;padding-bottom:10px;font-size:17px;margin-left:20px;color:#000;font-weight:600}.embed-container[_ngcontent-%COMP%]{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;max-width:100%}.embed-container[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%], .embed-container[_ngcontent-%COMP%]   object[_ngcontent-%COMP%], .embed-container[_ngcontent-%COMP%]   embed[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;height:100%}.widget-rss-content[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.widget-rss-content[_ngcontent-%COMP%]   .feed-item[_ngcontent-%COMP%]{border-bottom:1px solid #dfdfdf;padding-bottom:20px;margin-top:20px}.widget-rss-content[_ngcontent-%COMP%]   .feed-info[_ngcontent-%COMP%]{font-size:12px;color:gray}.widget-rss-content[_ngcontent-%COMP%]   .feed-title[_ngcontent-%COMP%]{font-size:16px;margin-top:10px}.widget-rss-content[_ngcontent-%COMP%]   .feed-link[_ngcontent-%COMP%]{font-size:14px;margin-top:7px}.widget-rss-content[_ngcontent-%COMP%]   .rss-feed-header[_ngcontent-%COMP%]{margin-bottom:1.5rem;margin-top:1.5rem}.widget-rss-content[_ngcontent-%COMP%]   .rss-feed-header[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{padding:0;margin:0}.widget-rss-content[_ngcontent-%COMP%]   .rss-feed-header[_ngcontent-%COMP%]   hr[_ngcontent-%COMP%]{flex-grow:1;height:1px;background:var(--divider-color);margin-left:24px}.action-btn[_ngcontent-%COMP%], #spinner[_ngcontent-%COMP%]{margin-top:15px}.pc-side-content-section[_ngcontent-%COMP%]   ion-item[_ngcontent-%COMP%]:hover, .pc-side-content-section[_ngcontent-%COMP%]   .pc-side-menu-item[_ngcontent-%COMP%]:hover{background:var(--ligh-grey-color)!important}.pc-side-content-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:18px}@media (max-width: 599px){.pc-side-content-section[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{padding:0 18px 18px!important}}.pc-side-content-section[_ngcontent-%COMP%]   .cookie-fallback[_ngcontent-%COMP%]{margin-top:0!important;padding:20px!important}@media (max-width: 599px){.pc-side-content-section[_ngcontent-%COMP%]   .cookie-fallback[_ngcontent-%COMP%]{padding:0 18px 18px!important}}.pc-side-content-section[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:20px!important;padding-bottom:10px!important;text-align:center}.pc-side-content-section[_ngcontent-%COMP%]   .space-around[_ngcontent-%COMP%]{display:flex;justify-content:space-around}.pc-side-content-section[_ngcontent-%COMP%]   .ion-cookie-button[_ngcontent-%COMP%]{font-size:14px!important}.button-suivre-participation[_ngcontent-%COMP%]{margin-left:18px}.guest-message-succes[_ngcontent-%COMP%]{margin-top:15px;margin-left:18px;font-size:16px}']}),o})();var Jn=r(6053);const Hn=["content"],Zn=["pcMobileNav"],Kn=["pcMobileNavContainer"],S=(n,o)=>o.id,dt=()=>({exact:!0}),ut=(n,o)=>[n,!1,"LL",null,o],qn=n=>[n],ti=()=>({isPreview:!0});function ei(n,o){1&n&&(t.j41(0,"div",11),t.nrm(1,"vplus-article-non-publiee"),t.k0s())}function ni(n,o){1&n&&(t.j41(0,"div",15),t.pXf(1,6),t.k0s())}function ii(n,o){if(1&n&&t.nrm(0,"vplus-img-shimmer",42),2&n){const e=t.XpG(2);t.AVh("grey-bg",!e.currentParticipationCitoyenne.article.image.url),t.Y8G("src",e.currentParticipationCitoyenne.article.image.url)("withBackgroundImage",!0)("alt",e.currentParticipationCitoyenne.article.imageAltText?e.currentParticipationCitoyenne.article.imageAltText:null)}}function oi(n,o){if(1&n&&(t.j41(0,"h3")(1,"span"),t.pXf(2,7),t.k0s(),t.EFF(3),t.nI1(4,"vplusMoment"),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG(2).$implicit,a=t.XpG(3);t.xc7("color",i.textColorValue),t.R7$(3),t.SpI(" ",t.iJd(4,3,t.l_i(9,ut,e.dateDebut,a.timezone))," ")}}function ai(n,o){if(1&n&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG(2).$implicit;t.xc7("color",i.textColorValue),t.R7$(),t.SpI(" ",e.emplacement.nom?e.emplacement.nom:e.emplacement.adresse," ")}}function ri(n,o){if(1&n){const e=t.RV6();t.j41(0,"a",47),t.bIt("click",function(){const a=t.eBV(e).$implicit,c=t.XpG(5);return t.Njj(c.modifyParticipationTitle(a))}),t.j41(1,"span",20),t.nrm(2,"i",45)(3,"i",48),t.k0s(),t.j41(4,"ion-label")(5,"h2"),t.EFF(6),t.k0s(),t.DNE(7,oi,5,12,"h3",49)(8,ai,2,3,"p",49),t.k0s()()}if(2&n){const e=o.$implicit,i=t.XpG(2).$implicit,a=t.XpG(3);t.AVh("alt-section-color",i.color.colorOption!==a.EnumColorPicker.PreSelection),t.Y8G("routerLink",e.link),t.R7$(),t.AVh("alt",i.color.colorOption!==a.EnumColorPicker.PreSelection&&"#ffffff"!==i.colorValue),t.R7$(),t.HbH(a.EnumIconeByEntiteType[e.entType]),t.xc7("color",i.textColorValue),t.R7$(),t.HbH(a.EnumIconeByEntiteType[e.entType]+"-full"),t.xc7("color",i.color.colorOption!==a.EnumColorPicker.PreSelection&&"#ffffff"!==i.colorValue?i.textColorValue:"var(--primary-color)"),t.R7$(2),t.xc7("color",i.textColorValue),t.R7$(),t.SpI(" ",e.titre," "),t.R7$(),t.vxM(7,e.dateDebut?7:-1),t.R7$(),t.vxM(8,e.emplacement&&(!e.emplacement.notExist&&e.emplacement.nom||e.emplacement.adresse)?8:-1)}}function ci(n,o){if(1&n&&(t.j41(0,"mat-list")(1,"div",44)(2,"span",20),t.nrm(3,"i",45),t.k0s(),t.EFF(4),t.k0s(),t.Z7z(5,ri,9,18,"a",46,S),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG(3);t.xc7("background",e.colorValue),t.R7$(),t.xc7("color",e.textColorValue),t.AVh("alt-section-color",e.color.colorOption!==i.EnumColorPicker.PreSelection),t.R7$(),t.AVh("alt",e.color.colorOption!==i.EnumColorPicker.PreSelection&&"#ffffff"!==e.colorValue),t.R7$(),t.HbH(e.icone),t.xc7("color",e.textColorValue),t.R7$(),t.SpI(" ",e.titre," "),t.R7$(),t.Dyx(e.entites)}}function si(n,o){1&n&&t.DNE(0,ci,7,13,"mat-list",43),2&n&&t.vxM(0,o.$implicit.titre?0:-1)}function li(n,o){if(1&n&&(t.j41(0,"div",23),t.Z7z(1,si,1,1,null,null,S),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.Dyx(e.sections)}}function pi(n,o){if(1&n){const e=t.RV6();t.j41(0,"div",26)(1,"vplus-conteneur-widget",50),t.bIt("guestFormSubmitted",function(a){t.eBV(e);const c=t.XpG(2);return t.Njj(c.handleGuestFormSubmit(a))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("widgets",e.widgets.liste)("baseUrlAndSlug",e.baseUrlAndSlug)("pcSections",e.sections)("suivreParticipationForm",e.suivreParticipationForm)("isPreview",e.isPreview)("showGuestMessage",e.showSuivreParticipationGuestMessage)}}function di(n,o){if(1&n&&(t.j41(0,"label"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.JRh(e.currentParticipationCitoyenne.categorieNom)}}function ui(n,o){if(1&n&&(t.j41(0,"label"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(3);t.R7$(),t.JRh(e.currentParticipationCitoyenne.categorieNom)}}function _i(n,o){if(1&n&&(t.j41(0,"a",28),t.nrm(1,"i",25),t.DNE(2,ui,2,1,"label"),t.k0s()),2&n){const e=t.XpG(2);t.Y8G("href",e.backNavigationRoute,t.B4B),t.R7$(2),t.vxM(2,e.currentParticipationCitoyenne.categorieNom?2:-1)}}function mi(n,o){if(1&n){const e=t.RV6();t.j41(0,"div"),t.nrm(1,"router-outlet",51),t.j41(2,"div",52)(3,"vplus-conteneur-widget",53),t.bIt("guestFormSubmitted",function(a){t.eBV(e);const c=t.XpG(2);return t.Njj(c.handleGuestFormSubmit(a))}),t.k0s()()()}if(2&n){const e=t.XpG(2);
1t.AVh("main-page-container",e.isCarteView)("carte-interactive-wrapper",e.isCarteView),t.R7$(3),t.Y8G("widgets",e.widgets.liste)("baseUrlAndSlug",e.baseUrlAndSlug)("suivreParticipationForm",e.suivreParticipationForm)("pcSections",e.sections)("showGuestMessage",e.showSuivreParticipationGuestMessage)("isPreview",e.isPreview)}}function Ci(n,o){if(1&n){const e=t.RV6();t.j41(0,"div",34)(1,"vplus-conteneur-widget",54),t.bIt("guestFormSubmitted",function(a){t.eBV(e);const c=t.XpG(2);return t.Njj(c.handleGuestFormSubmit(a))}),t.k0s()()}if(2&n){const e=t.XpG(2);t.R7$(),t.Y8G("widgets",e.widgets.liste)("baseUrlAndSlug",e.baseUrlAndSlug)("pcSections",e.sections)("suivreParticipationForm",e.suivreParticipationForm)("isPreview",e.isPreview)("showGuestMessage",e.showSuivreParticipationGuestMessage)}}function gi(n,o){if(1&n){const e=t.RV6();t.j41(0,"a",55,4),t.bIt("click",function(){t.eBV(e);const a=t.XpG(2);return t.Njj(a.resetMobileNav())}),t.j41(2,"div"),t.nrm(3,"i",56),t.k0s(),t.j41(4,"label"),t.pXf(5,8),t.k0s()()}if(2&n){const e=t.sdS(1),i=t.XpG(2);t.AVh("active",e.isActive&&!i.isNavActivated),t.Y8G("routerLinkActiveOptions",t.lJ4(4,dt))("routerLink",t.eq3(5,qn,i.baseUrl+i.currentParticipationCitoyenne.article.slug))}}function vi(n,o){if(1&n){const e=t.RV6();t.j41(0,"button",57),t.bIt("click",function(){t.eBV(e);const a=t.XpG().$implicit,c=t.XpG(2);return t.Njj(c.toggleNavs(a))}),t.j41(1,"div"),t.nrm(2,"i"),t.k0s(),t.j41(3,"label"),t.EFF(4),t.k0s()()}if(2&n){const e=t.XpG().$implicit,i=t.XpG(2);t.AVh("active",e.id===(null==i.activeMobileSection?null:i.activeMobileSection.id)&&i.isNavActivated||e.id===i.currentSectionId&&!i.isNavActivated),t.R7$(2),t.HbH(e.icone),t.R7$(2),t.JRh(e.titre)}}function fi(n,o){1&n&&(t.j41(0,"mat-tab",39),t.DNE(1,vi,5,5,"ng-template",38),t.k0s()),2&n&&t.Y8G("label",o.$implicit.titre)}function Pi(n,o){if(1&n&&(t.j41(0,"h3")(1,"span"),t.pXf(2,9),t.k0s(),t.EFF(3),t.nI1(4,"vplusMoment"),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG(3).$implicit,a=t.XpG(2);t.xc7("color",i.textColorValue),t.R7$(3),t.SpI(" ",t.iJd(4,3,t.l_i(9,ut,e.dateDebut,a.timezone))," ")}}function hi(n,o){if(1&n&&(t.j41(0,"p"),t.EFF(1),t.k0s()),2&n){const e=t.XpG().$implicit,i=t.XpG(3).$implicit;t.xc7("color",i.textColorValue),t.R7$(),t.SpI(" ",e.emplacement.nom?e.emplacement.nom:e.emplacement.adresse," ")}}function Mi(n,o){if(1&n&&(t.j41(0,"ion-item",60)(1,"ion-avatar",61),t.nrm(2,"ion-icon",45)(3,"ion-icon",48),t.k0s(),t.j41(4,"ion-label")(5,"h2"),t.EFF(6),t.k0s(),t.DNE(7,Pi,5,12,"h3",49)(8,hi,2,3,"p",49),t.k0s()()),2&n){const e=o.$implicit,i=t.XpG(3).$implicit,a=t.XpG(2);t.AVh("alt-section-color",i.colorOption!==a.EnumColorPicker.PreSelection),t.Y8G("routerLink",e.link)("queryParams",a.isPreview?t.lJ4(19,ti):""),t.R7$(),t.AVh("alt",i.color.colorOption!==a.EnumColorPicker.PreSelection&&"#ffffff"!==i.colorValue),t.R7$(),t.HbH(a.EnumIconeByEntiteType[e.entType]),t.xc7("color",i.textColorValue),t.R7$(),t.HbH(a.EnumIconeByEntiteType[e.entType]+"-full"),t.xc7("color",i.color.colorOption!==a.EnumColorPicker.PreSelection&&"#ffffff"!==i.colorValue?i.textColorValue:"var(--primary-color)"),t.R7$(2),t.xc7("color",i.textColorValue),t.R7$(),t.SpI(" ",e.titre," "),t.R7$(),t.vxM(7,e.dateDebut?7:-1),t.R7$(),t.vxM(8,e.emplacement&&(!e.emplacement.notExist&&e.emplacement.nom||e.emplacement.adresse)?8:-1)}}function Ei(n,o){if(1&n&&(t.j41(0,"ion-list",58),t.Z7z(1,Mi,9,20,"ion-item",59,S),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.Dyx(e.entites)}}function Ti(n,o){if(1&n&&t.DNE(0,Ei,3,0,"ion-list",58),2&n){const e=t.XpG().$implicit;t.vxM(0,e.titre?0:-1)}}function Ni(n,o){if(1&n&&t.DNE(0,Ti,1,1),2&n){const e=o.$implicit,i=t.XpG(2);t.vxM(0,e.id===(null==i.activeMobileSection?null:i.activeMobileSection.id)?0:-1)}}function yi(n,o){if(1&n){const e=t.RV6();t.j41(0,"ion-content",12,0),t.nI1(2,"async"),t.bIt("click",function(){t.eBV(e);const a=t.XpG();return t.Njj(a.onContentClick())}),t.j41(3,"div",13)(4,"div",14),t.DNE(5,ni,2,0,"div",15)(6,ii,1,5,"vplus-img-shimmer",16),t.j41(7,"div",17)(8,"div",18)(9,"a",19)(10,"span",20),t.nrm(11,"i",21)(12,"i",22),t.k0s(),t.j41(13,"h2"),t.pXf(14,5),t.k0s()(),t.DNE(15,li,3,0,"div",23),t.j41(16,"a",24),t.nrm(17,"i",25),t.EFF(18),t.k0s(),t.DNE(19,pi,2,6,"div",26),t.k0s(),t.j41(20,"div")(21,"div",27,1),t.DNE(23,di,2,1,"label")(24,_i,3,2,"a",28),t.j41(25,"h1",29),t.nrm(26,"span",30),t.nI1(27,"safeHtml"),t.k0s()(),t.j41(28,"div",31),t.DNE(29,mi,4,10,"div",32),t.j41(30,"div",33),t.DNE(31,Ci,2,6,"div",34),t.k0s()()()()(),t.nrm(32,"vplus-ion-scroll-top")(33,"app-copyright-footer"),t.k0s()(),t.j41(34,"ion-footer",35)(35,"div")(36,"mat-tab-group",36)(37,"mat-tab",37),t.DNE(38,gi,6,7,"ng-template",38),t.k0s(),t.Z7z(39,fi,2,1,"mat-tab",39,S),t.k0s()(),t.j41(41,"div",40,2)(43,"div",41,3)(45,"div",23),t.Z7z(46,Ni,1,1,null,null,S),t.k0s()()()()}if(2&n){const e=t.sdS(22),i=t.XpG();t.AVh("carte-interactive-view",i.isCarteView)("filter-searche-global-active",t.bMT(2,25,i.selectIsSearchHeaderVisible$)),t.Y8G("id",i.currentParticipationCitoyenne.id),t.R7$(5),t.vxM(5,i.isPreview?5:-1),t.R7$(),t.vxM(6,i.isCarteView?-1:6),t.R7$(3),t.Y8G("routerLink",i.baseUrl+i.currentParticipationCitoyenne.article.slug)("routerLinkActiveOptions",t.lJ4(29,dt)),t.R7$(6),t.vxM(15,i.sections.length>0?15:-1),t.R7$(),t.Y8G("href",i.backNavigationRoute,t.B4B),t.R7$(2),t.SpI(" ",i.returnLabel," "),t.R7$(),t.vxM(19,i.widgets?19:-1),t.R7$(2),t.xc7("margin-top",e.clientHeight/2*-1+"px"),t.R7$(2),t.vxM(23,i.currentParticipationCitoyenne.categorieNom&&!i.isCarteView?23:-1),t.R7$(),t.vxM(24,i.isCarteView?24:-1),t.R7$(2),t.Y8G("innerHTML",t.bMT(27,27,i.currentParticipationCitoyenne.article.titre),t.npT),t.R7$(3),t.vxM(29,i.widgets?29:-1),t.R7$(2),t.vxM(31,i.widgets?31:-1),t.R7$(5),t.Y8G("disableRipple",!0),t.R7$(3),t.Dyx(i.sections),t.R7$(2),t.AVh("activated",i.isNavActivated),t.R7$(2),t.xc7("background",null==i.activeMobileSection?null:i.activeMobileSection.colorValue),t.R7$(3),t.Dyx(i.sections)}}let xi=(()=>{var n;class o{constructor(){this.router=(0,t.WQX)(d.Ix),this.store=(0,t.WQX)(p.il),this.appConfig=(0,t.WQX)(R.o),this.appMetaTags=(0,t.WQX)(ue.W),this.route=(0,t.WQX)(d.nX),this.sanitizer=(0,t.WQX)(_e.up),this.fb=(0,t.WQX)(h.ok),this.destroyRef=(0,t.WQX)(t.abz),this.class="article-entity",this.isNavActivated=!1,this.isPreview=!!this.route.
1snapshot.data.preview,this.baseUrl=`/${this.appConfig.appConfig.moduleName.partCitoyenne.url}/${this.isPreview?"apercu/":""}`,this.widgetsIdEnum=m.Je,this.EnumColorPicker=m.d_,this.carteInteractiveUrl="carte-interactive",this.showSuivreParticipationGuestMessage=!1,this.returnLabel="Retour",this.isNavFixed=!0,this.isMenuOverlaping=!1,this.themeColor=getComputedStyle(document.documentElement).getPropertyValue("--primary-color"),this.timezone=b().tz.guess(),this.defaultRedirect=`/${this.appConfig.appConfig.moduleName.partCitoyenne.url}/liste`,this.selectIsSearchHeaderVisible$=this.store.select(E.selectIsSearchHeaderVisible),this.config=this.appConfig.appConfig,this.EnumIconeByEntiteType={Actualite:"icon-newspaper",Babillard:"icon-post-it",Evenement:"icon-calendar-check",Publication:"icon-file",Sondage:"icon-clipboard-check",CarteInteractive:"icon-emplacement",FAQ:"icon-faq"},this.term=this.route.snapshot.queryParamMap.get("term")}ngOnInit(){const i=getComputedStyle(document.documentElement).getPropertyValue("--primary-color");this.store.select(C.ND).pipe((0,g.pQ)(this.destroyRef),(0,x.T)(a=>this.chooseTextColor(a))).subscribe(a=>{this.currentParticipationCitoyenne=a.currentParticipationCitoyenne,this.baseUrlAndSlug=this.baseUrl+this.currentParticipationCitoyenne.article.slug,this.term&&this.currentParticipationCitoyenne&&(this.currentParticipationCitoyenne={...this.currentParticipationCitoyenne,article:{...this.currentParticipationCitoyenne.article,titre:(0,k.g)(this.currentParticipationCitoyenne.article.titre,this.term),extrait:(0,k.g)(this.currentParticipationCitoyenne.article.extrait,this.term),contenu:(0,k.g)(this.currentParticipationCitoyenne.article.contenu,this.term),tags:this.currentParticipationCitoyenne.article.tags.map(s=>({...s,contenu:(0,k.g)(s.contenu,this.term)}))}}),this.sections=a.sections.map(s=>{switch(s.entites=s.entites.filter(l=>!l.hideInMenu).map(l=>{let _;switch(l.entType){case T.qt.Actualite:_="actualite";break;case T.qt.Babillard:_="babillard";break;case T.qt.Evenement:_="evenement";break;case T.qt.Publication:_="publication";break;case T.qt.Sondage:_="sondage";break;case T.qt.CarteInteractive:_=this.carteInteractiveUrl;break;case T.qt.FAQ:_="foire-aux-questions"}return l.link=`${this.baseUrlAndSlug}/${_}${this.isPreview&&"foire-aux-questions"!==_?"/apercu/":"/"}${l.slug}`,l.entType===T.qt.Sondage&&(l.link+="/introduction"),l}),s.color.colorOption){case m.d_.Theme:s.colorValue="var(--primary-color)",s.textColorValue=(0,G.nt8)(i);break;case m.d_.Custom:s.colorValue=s.color.colorCode,s.textColorValue=(0,G.nt8)(s.color.colorCode);break;default:s.colorValue="var(--light-grey-color)"}return s});const c=a.widgets.liste.filter(s=>s.typeId===this.widgetsIdEnum.PiecesJointes);for(const s of c)for(const l of s.files)l.fileName=l.name&&""!==l.name.trim()?l.name:l.file.nameNewAdd;a.widgets.liste.forEach(s=>{if(s.typeId===this.widgetsIdEnum.Video)for(const l of s.links)l.url=this.sanitizer.bypassSecurityTrustResourceUrl(l.url)}),this.widgets=a.widgets}),this.router.events.pipe((0,g.pQ)(this.destroyRef),(0,ct.p)(a=>a instanceof d.wF&&!!this.baseUrlAndSlug)).subscribe(a=>{this.isCarteView=a.url.includes(`${this.baseUrlAndSlug}/${this.carteInteractiveUrl}`),this.backNavigationRoute=this.isCarteView?this.baseUrlAndSlug:this.defaultRedirect,this.isNavActivated=!1,this.defineActiveSection(a.url)}),this.store.select(E.selectBanderoleGenerale).pipe((0,g.pQ)(this.destroyRef)).subscribe(a=>{this.showBanderole=a.isActive}),this.store.select(nt.h9).pipe((0,g.pQ)(this.destroyRef),(0,ct.p)(a=>!!a)).subscribe(a=>{this.customPartTitle=a.titre}),this.initSuivreParticipationForm()}defineActiveSection(i){this.sections.forEach(a=>{a.entites.find(c=>c.link===i)&&(this.currentSectionId=a.id)})}handleGuestFormSubmit(i){this.showSuivreParticipationGuestMessage=i}initSuivreParticipationForm(){this.suivreParticipationForm=this.fb.group({nom:[null,h.k0.required],prenom:[null,h.k0.required],courriel:["",(0,G.Bjz)(),[]]}),Object.values(this.suivreParticipationForm.controls).forEach(i=>{i.valueChanges.pipe((0,g.pQ)(this.destroyRef)).subscribe(a=>{i.setValue(a,{onlySelf:!0,emitEvent:!1,emitModelToViewChange:!0})})})}chooseTextColor(i){return i.widgets.liste.forEach(a=>{var c;a.typeId!==this.widgetsIdEnum.ActionBtn&&a.typeId!==this.widgetsIdEnum.SuivreParticipation||(a.textColor=(0,G.nt8)(null!==(c=a.color.colorCode)&&void 0!==c?c:this.themeColor))}),i}onContentClick(){this.store.dispatch(E.Actions.setIsSearchHeaderVisible({payload:!1}))}modifyParticipationTitle(i){this.customPartTitle=i.titre}ionViewWillEnter(){this.changeMetaTags()}changeMetaTags(){var i,a,c,s,l;this.isPreview?this.appMetaTags.updateMetaTagsUnindexedPage(null===(i=this.currentParticipationCitoyenne)||void 0===i?void 0:i.titre):this.appMetaTags.updateMetaTags(null===(a=this.currentParticipationCitoyenne)||void 0===a?void 0:a.titre,null===(c=this.currentParticipationCitoyenne)||void 0===c?void 0:c.article.extrait,null===(s=this.currentParticipationCitoyenne)||void 0===s||null===(s=s.article.image)||void 0===s?void 0:s.url,null===(l=this.currentParticipationCitoyenne)||void 0===l?void 0:l.article.imageAltText)}toggleNav(){this.isNavActivated=!this.isNavActivated,this.isNavActivated&&(this.pcMobileNav.nativeElement.scrollTop=0)}toggleNavs(i){this.activeMobileSection&&this.activeMobileSection.id===i.id&&!0===this.isNavActivated?this.isNavActivated=!1:(this.activeMobileSection=i,this.isNavActivated=!0,this.pcMobileNav.nativeElement.scrollTop=0)}resetMobileNav(){this.isNavActivated=!1,this.activeMobileSection=null,this.currentSectionId=null}}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275cmp=t.VBU({type:n,selectors:[["vplus-pc-menu"]],viewQuery:function(i,a){if(1&i&&(t.GBs(Hn,5),t.GBs(Zn,5),t.GBs(Kn,5)),2&i){let c;t.mGM(c=t.lsd())&&(a.content=c.first),t.mGM(c=t.lsd())&&(a.pcMobileNav=c.first),t.mGM(c=t.lsd())&&(a.pcMobileNavContainer=c.first)}},hostVars:2,hostBindings:function(i,a){2&i&&t.HbH(a.class)},decls:3,vars:6,consts:()=>{let e,i,a,c,s;return e="Accueil",i="Aper\xE7u",a="Le",c="Accueil",s="Le",[["content",""],["pcTitle",""],["pcMobileNavContainer",""],["pcMobileNav",""],["rla","routerLinkActive"],e,i,a,c,s,[1,"hide-desktop","mobile-header",3,"defaultHref","headerTitle","returnButtonType","menuId","forceDefault"],[1,"main-page-container","container-center"],[1,"participation","article-participation-main",3,"click","id"],[1,"main-page-container","flex"],[1,"pc-container"],[1,"preview-warning"],[1,"article-participation-banner",3,"grey-bg","src","withBackgroun
1dImage","alt"],[1,"pc-flex"],[1,"pc-side-content","nav"],["matRipple","","routerLinkActive","active",1,"pc-side-menu-item",3,"routerLink","routerLinkActiveOptions"],[1,"avatar-icon"],[1,"icon-home","default"],[1,"icon-home-full","active"],[1,"pc-side-content-section"],["matRipple","",1,"pc-side-content-return",3,"href"],[1,"icon-arrow-left"],[1,"pc-side-content-left-widgets","pc-side-content-right"],[1,"article-participation-title"],[3,"href"],[1,"article-title"],[3,"innerHTML"],[1,"article-participation-main-content"],[3,"main-page-container","carte-interactive-wrapper"],[1,"pc-side-content","pc-side-content-right"],[1,"pc-side-content-right-margin","margin-bottom-3"],[1,"pc-mobile-footer","hide-desktop","pc-mobile-navbar"],["mat-align-tabs","center",3,"disableRipple"],["label","accueil"],["mat-tab-label",""],[3,"label"],[1,"pc-mobile-nav-container","refonte"],[1,"pc-mobile-nav"],[1,"article-participation-banner",3,"src","withBackgroundImage","alt"],[3,"background"],[1,"pc-side-menu-item"],[1,"default"],["matRipple","","routerLinkActive","active",1,"pc-side-menu-item",3,"alt-section-color","routerLink"],["matRipple","","routerLinkActive","active",1,"pc-side-menu-item",3,"click","routerLink"],[1,"active"],[3,"color"],["suivreParticipationId","suivre-widgetMedium",3,"guestFormSubmitted","widgets","baseUrlAndSlug","pcSections","suivreParticipationForm","isPreview","showGuestMessage"],[1,"pc-router"],[1,"mobile-widgets"],["mobileMode","true","suivreParticipationId","suivre-widgetMobile",3,"guestFormSubmitted","widgets","baseUrlAndSlug","suivreParticipationForm","pcSections","showGuestMessage","isPreview"],["suivreParticipationId","suivre-widgetLarge",3,"guestFormSubmitted","widgets","baseUrlAndSlug","pcSections","suivreParticipationForm","isPreview","showGuestMessage"],["routerLinkActive","mdi-settings",3,"click","routerLinkActiveOptions","routerLink"],[1,"icon-home"],[3,"click"],["mode","md"],["mode","md","routerLinkActive","active",1,"mobile-menu-item",3,"alt-section-color","routerLink","queryParams"],["mode","md","routerLinkActive","active",1,"mobile-menu-item",3,"routerLink","queryParams"],["slot","start",1,"avatar-icon"]]},template:function(i,a){1&i&&(t.nrm(0,"vplus-mobile-header",10),t.DNE(1,ei,2,0,"div",11)(2,yi,48,30)),2&i&&(t.Y8G("defaultHref",a.currentParticipationCitoyenne.isVisiblePortailCitoyen?a.backNavigationRoute:"")("headerTitle","")("returnButtonType",a.currentParticipationCitoyenne.isVisiblePortailCitoyen?"back-button":"home-button")("menuId",a.currentParticipationCitoyenne.id)("forceDefault",a.isCarteView),t.R7$(),t.vxM(1,a.currentParticipationCitoyenne.isVisiblePortailCitoyen||a.isPreview?2:1))},dependencies:[I.jt,D.ES,D.mq,D.T8,st.r6,me.f,v.mC,v.W9,v.M0,v.iq,v.uz,v.he,v.nf,v.N7,v.oY,Ce.g,ge.j,lt.A,ve.G,d.n3,d.Wk,d.wQ,Qn,f.Jj,pt.x,Jn.$],styles:[".participation-container[_ngcontent-%COMP%]   .side-nav-container[_ngcontent-%COMP%]{min-height:calc(100vh - 112px)!important}.main-page-container[_ngcontent-%COMP%]{padding-bottom:0!important}.carte-interactive-view[_ngcontent-%COMP%]   .pc-side-content[_ngcontent-%COMP%], .carte-interactive-view[_ngcontent-%COMP%]   .mobile-widgets[_ngcontent-%COMP%], .carte-interactive-view[_ngcontent-%COMP%]   app-copyright-footer[_ngcontent-%COMP%]{display:none!important}.carte-interactive-view[_ngcontent-%COMP%]   .main-page-container.carte-interactive-wrapper[_ngcontent-%COMP%]{padding-bottom:0;display:initial;border:none}.separator-bottom[_ngcontent-%COMP%]{border-bottom:1px solid #e0e0e0}.participation-sidenav[_ngcontent-%COMP%]{width:400px}.participation-content[_ngcontent-%COMP%]{margin-left:400px}.side-menu-tabs.side-menu-section[_ngcontent-%COMP%]   .side-nav-inline-link[_ngcontent-%COMP%]{color:var(--dark-text-color)}.side-menu-tabs.side-menu-section[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]{background:#fff;color:var(--primary-color)}.side-menu-tabs.side-menu-section[_ngcontent-%COMP%]   .active[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--primary-color)}@media (min-width: 960px){.side-menu-tabs.side-menu-section[_ngcontent-%COMP%]   .side-nav-inline-link[_ngcontent-%COMP%]:hover{background:#fff;color:var(--primary-color)}.side-menu-tabs.side-menu-section[_ngcontent-%COMP%]   .side-nav-inline-link[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%]{color:var(--primary-color)}}.side-menu-section[_ngcontent-%COMP%]   .side-menu-section-header[_ngcontent-%COMP%]{text-transform:uppercase;color:var(--standard-text-color);font-weight:500;height:56px;display:flex;align-items:center}.side-menu-section[_ngcontent-%COMP%]   .side-nav-inline-link[_ngcontent-%COMP%]{padding:0 12px;
1height:48px;display:flex;align-items:center;color:var(--primary-color);cursor:pointer}.side-menu-section[_ngcontent-%COMP%]   .side-nav-inline-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:18px;color:var(--standard-text-color);margin-right:12px}@media (min-width: 960px){.side-menu-section[_ngcontent-%COMP%]   .side-nav-inline-link[_ngcontent-%COMP%]:hover{color:#0d66a5}}.pc-side-content-section[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.side-menu-padding[_ngcontent-%COMP%]{padding:0 12px}.side-menu-sondage[_ngcontent-%COMP%]{background:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;justify-content:space-between;color:var(--dark-text-color)}.side-menu-sondage[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child   h3[_ngcontent-%COMP%]{color:var(--primary-color);font-weight:500}.side-menu-sondage[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child   span[_ngcontent-%COMP%]{display:block;margin-top:8px}.side-menu-sondage[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{display:flex;flex-direction:column;color:var(--primary-color);align-items:center;justify-content:center;padding-left:12px}.side-menu-sondage[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child   i[_ngcontent-%COMP%]{font-size:34px;margin-bottom:8px}.side-menu-sondage[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child   p[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;font-weight:500}.side-menu-event[_ngcontent-%COMP%]{background:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;justify-content:space-between;color:var(--dark-text-color)}.side-menu-event[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child   h3[_ngcontent-%COMP%]{color:var(--primary-color);font-weight:500}.side-menu-event[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child   span[_ngcontent-%COMP%]{display:block;margin-top:8px}.side-menu-event[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child{display:flex;flex-direction:column;color:var(--primary-color);align-items:center;justify-content:center;padding-left:12px}.side-menu-event[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child   p[_ngcontent-%COMP%]{text-transform:uppercase;font-size:12px;font-weight:500}.side-menu-event[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:last-child   p[_ngcontent-%COMP%]:first-child{font-size:34px;margin-bottom:4px}.side-menu-actu[_ngcontent-%COMP%]{background:#fff;border:1px solid #e0e0e0;border-radius:4px;display:flex;flex-direction:column;color:var(--dark-text-color)}.side-menu-actu[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{display:flex;justify-content:space-between;margin-bottom:8px}.side-menu-actu[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child   h3[_ngcontent-%COMP%]{color:var(--primary-color);font-weight:500}.side-menu-actu[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child   span[_ngcontent-%COMP%]{display:block;margin-left:8px;color:var(--standard-text-color)}.side-menu-sondage[_ngcontent-%COMP%], .side-menu-event[_ngcontent-%COMP%], .side-menu-actu[_ngcontent-%COMP%]{padding:12px;margin-bottom:12px;box-shadow:0 0 0 2px transparent,var(--big-box-shadow);transition:ease-in .2s}.side-menu-sondage[_ngcontent-%COMP%]:last-child, .side-menu-event[_ngcontent-%COMP%]:last-child, .side-menu-actu[_ngcontent-%COMP%]:last-child{margin-bottom:0}.side-menu-sondage[_ngcontent-%COMP%]:hover, .side-menu-sondage.active[_ngcontent-%COMP%], .side-menu-event[_ngcontent-%COMP%]:hover, .side-menu-event.active[_ngcontent-%COMP%], .side-menu-actu[_ngcontent-%COMP%]:hover, .side-menu-actu.active[_ngcontent-%COMP%]{box-shadow:0 0 0 2px var(--primary-color),var(--big-box-shadow)}.participation-toolbar[_ngcontent-%COMP%]{--background: white;border-bottom:1px solid #e0e0e0}"]}),o})();var _t=r(74348),mt=r(35009),Ct=r(33089);const N={component:Kt,resolve:{isLinked:u,carte:Vt.Y},runGuardsAndResolvers:"always"},Oi=[{path:"",component:Lt},{path:"connexion",component:$.k},{path:"apercu/:id/conexion",component:$.k,data:{preview:!0}},{path:"sondage/:slug/introduction",component:A,resolve:{isLinked:u,introduction:mt.c},runGuardsAndResolvers:"always"},{path:"sondage/apercu/:slug/introduction",component:A,resolve:{isLinked:u,introduction:mt.c},data:{preview:!0},runGuardsAndResolvers:"always"},{path:"sondage/:slug/connexion",canActivate:[U.Q],component:$.k},{path:"sondage/apercu/:slug/connexion",canActivate:[U.Q],component:$.k,data:{preview:!0}},{path:"sondage/:slug",component:A,canActivate:[X],resolve:{isLinked:u,currentSondage:Ct._},runGuardsAndResolvers:"always"},{path:"sondage/apercu/:slug",component:A,canActivate:[X],resolve:{isLinked:u,currentSondage:Ct._},data:{preview:!0},runGuardsAndResolvers:"always"},{path:"evenement/:slug",component:it,resolve:{isLinked:u,evenement:K.k}},{path:"evenement/apercu/:slug",component:it,resolve:{isLinked:u,evenement:K.k},data:{preview:!0}},{path:"actualite/:slug",component:tt,resolve:{isLinked:u,actualite:J.H}},{path:"actualite/apercu/:slug",component:tt,resolve:{isLinked:u,actualite:J.H},data:{preview:!0}},{path:"babillard/:slug",component:et,resolve:{isLinked:u,babillard:Z.K}},{path:"babillard/apercu/:slug",component:et,resolve:{isLinked:u,babillard:Z.K},data:{preview:!0}},{path:"publication/:slug",component:rt,resolve:{isLinked:u,publication:_t.c},runGuardsAndResolvers:"always"},{path:"publication/apercu/:slug",component:rt,resolve:{isLinked:u,publication:_t.c},data:{preview:!0},runGuardsAndResolvers:"always"},{path:"commentaire/liste",component:te},{path:"carte-interactive/:slug/connexion",canActivate:[U.Q],component:$.k,data:{module:m.AL.CarteInteractive}},{path:"carte-interactive/:slug",...N},{path:"carte-interactive/apercu/:slug",...N,data:{preview:!0}},{path:"carte-interactive/:slug/:section",...N},{path:"carte-interactive/apercu/:slug/:section",...N,data:{preview:!0}},{path:"carte-interactive/:slug/:section/:categorie",...N},{path:"carte-interactive/apercu/:slug/:section/:categorie",...N,data:{preview:!0}},{path:"carte-interactive/:slug/:section/:categorie/:balise",...N},{path:"carte-interactive/apercu/:slug/:section/:categorie/:balise",...N,data:{preview:!0}},{path:"foire-aux-questions/:slug",component:at,resolve:{isLinked:u,faq:q.z}},{path:"foire-aux-questions/:slug/question/:questionId",component:at,resolve:{isLinked:u,faq:q.z}}],V={component:xi,resolve:{participationCitoyenne:Y},children:Oi,runGuardsAndResolvers:"always"},bi=d.iI.forChild([{path:"",pathMatch:"full",redirectTo:"liste"},{path:"confirmer-courriel",component:Bt.V},{path:"liste",component:zt.H,resolve:{page:Q}},{path:":slug",...V},{path:"apercu/:slug",...V,data:{preview:!0}},{path:":slug/commentaire/:comId",...V}]);var Ri=r(10916),$i=r(21214),Ii=r(12596),Si=r(9347);let Fi=(()=>{var n;class o{}return(n=o).\u0275fac=function(i){return new(i||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({providers:[Y,Q,X,vt.b,Ot.H,xt.Y,u],imports:[Ri.G,gt.i,ht.r,Rt.F,Si.L,St.O,Tt.p,bi,p.md.forFeature
1("participationCitoyenne",Xt),p.md.forFeature("sondage",Ii.mE),p.md.forFeature("commentaire",yt.tZ),p.md.forFeature("babillard",Pt.Q6),p.md.forFeature("carteInteractive",Et.o),p.md.forFeature("faq",It.F),bt.Vm.forFeature([$i.C,Nt.N,ft.s,$t.b,Mt._])]}),o})()}}]);

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.