2 lines
14 KiB
JavaScript
2 lines
14 KiB
JavaScript
import{a as p}from"./chunk-SMVD5LRJ.js";import{a as f,d as P,e as i,h as $}from"./chunk-ZEULGWAI.js";import"./chunk-MBEC6LK4.js";import{Ac as v,Ic as A,Jc as R,M as a,Ta as l,_b as g,ba as h,i as u,mb as C,t as d}from"./chunk-TVKQFRWX.js";import"./chunk-DAQOROHW.js";function U(t){let r=t,e=Math.floor(Math.abs(t)),n=t.toString().replace(/^[^.]*\.?/,"").length,s=parseInt(t.toString().replace(/^[^e]*(e([-+]?\d+))?/,"$2"))||0;return e===0||e===1?1:s===0&&e!==0&&e%1e6===0&&n===0||!(s>=0&&s<=5)?4:5}var M=["fr",[["AM","PM"]],void 0,[["D","L","M","M","J","V","S"],["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"],["di","lu","ma","me","je","ve","sa"]],void 0,[["J","F","M","A","M","J","J","A","S","O","N","D"],["janv.","f\xE9vr.","mars","avr.","mai","juin","juil.","ao\xFBt","sept.","oct.","nov.","d\xE9c."],["janvier","f\xE9vrier","mars","avril","mai","juin","juillet","ao\xFBt","septembre","octobre","novembre","d\xE9cembre"]],void 0,[["av. J.-C.","ap. J.-C."],void 0,["avant J\xE9sus-Christ","apr\xE8s J\xE9sus-Christ"]],1,[6,0],["dd/MM/y","d MMM y","d MMMM y","EEEE d MMMM y"],["HH:mm","HH:mm:ss","HH:mm:ss z","HH:mm:ss zzzz"],["{1} {0}","{1}, {0}",void 0,void 0],[",","\u202F",";","%","+","-","E","\xD7","\u2030","\u221E","NaN",":"],["#,##0.###","#,##0\xA0%","#,##0.00\xA0\xA4","#E0"],"EUR","\u20AC","euro",{ARS:["$AR","$"],AUD:["$AU","$"],BEF:["FB"],BMD:["$BM","$"],BND:["$BN","$"],BYN:[void 0,"\u0440."],BZD:["$BZ","$"],CAD:["$CA","$"],CLP:["$CL","$"],CNY:[void 0,"\xA5"],COP:["$CO","$"],CYP:["\xA3CY"],EGP:[void 0,"\xA3E"],FJD:["$FJ","$"],FKP:["\xA3FK","\xA3"],FRF:["F"],GBP:["\xA3GB","\xA3"],GIP:["\xA3GI","\xA3"],HKD:[void 0,"$"],IEP:["\xA3IE"],ILP:["\xA3IL"],ITL:["\u20A4IT"],JPY:[void 0,"\xA5"],KMF:[void 0,"FC"],LBP:["\xA3LB","\xA3L"],MTP:["\xA3MT"],MXN:["$MX","$"],NAD:["$NA","$"],NIO:[void 0,"$C"],NZD:["$NZ","$"],PHP:[void 0,"\u20B1"],RHD:["$RH"],RON:[void 0,"L"],RWF:[void 0,"FR"],SBD:["$SB","$"],SGD:["$SG","$"],SRD:["$SR","$"],TOP:[void 0,"$T"],TTD:["$TT","$"],TWD:[void 0,"NT$"],USD:["$US","$"],UYU:["$UY","$"],WST:["$WS"],XCD:[void 0,"$"],XPF:["FCFP"],ZMW:[void 0,"Kw"]},"ltr",U];var I=(t,r)=>{let e=a(p),n=a(i);return e.isAuthenticated()?!0:(n.navigate(["/auth/login"],{queryParams:{returnUrl:r.url}}),!1)},S=(t,r)=>{let e=a(p),n=a(i);return e.isAuthenticated()&&e.mustChangePassword()?n.createUrlTree(["/auth/change-password"]):e.isAuthenticated()&&e.isModerator()?!0:(e.isAuthenticated()?n.navigate(["/"]):n.navigate(["/auth/login"],{queryParams:{returnUrl:r.url}}),!1)},o=()=>{let t=a(p),r=a(i);return t.isAdmin()?!0:r.createUrlTree(["/admin/articles"])};var D=(t,r)=>{let e=a(p),n=a(i);return e.isAuthenticated()?e.mustChangePassword()?n.createUrlTree(["/auth/change-password"]):n.createUrlTree(["/admin"]):!0};var T=[{path:"",loadComponent:()=>import("./chunk-UWQ3KZA4.js").then(t=>t.PublicLayoutComponent),children:[{path:"",loadComponent:()=>import("./chunk-S6FVCTJ4.js").then(t=>t.HomeComponent)},{path:"actualites",loadComponent:()=>import("./chunk-4P4PWWCJ.js").then(t=>t.RsuArticlesComponent)},{path:"actualites/:id",loadComponent:()=>import("./chunk-QRF64LMW.js").then(t=>t.RsuArticleDetailComponent)},{path:"le-rsu",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:941,section:"le-rsu"}},{path:"le-rsu/historique",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:944,section:"le-rsu"}},{path:"le-rsu/approches-methodologiques",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:947,section:"le-rsu"}},{path:"le-rsu/missions",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:986,section:"le-rsu"}},{path:"gouvernance/cos-rsu",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:995,section:"cos-rsu"}},{path:"gouvernance/cos-rsu/missions",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:986,section:"cos-rsu"}},{path:"gouvernance/cos-rsu/composition",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:989,section:"cos-rsu"}},{path:"gouvernance/cos-rsu/sessions",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:992,section:"cos-rsu"}},{path:"gouvernance/mot-secretaire-technique",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1246}},{path:"gouvernance/secretariat-technique",redirectTo:"gouvernance/secretariat-technique/organisation",pathMatch:"full"},{path:"gouvernance/secretariat-technique/missions",redirectTo:"gouvernance/secretariat-technique/organisation",pathMatch:"full"},{path:"gouvernance/secretariat-technique/organisation",loadComponent:()=>import("./chunk-5DW5P6ZH.js").then(t=>t.RsuOrganizationChartComponent),data:{chart:"general",pageId:1007,title:"Organisation du Secr\xE9tariat Technique",introduction:"D\xE9couvrez les d\xE9partements et services qui assurent le fonctionnement du Registre Social Unique.",cards:[{title:"Secr\xE9tariat Technique",description:"Pr\xE9sentation du Secr\xE9tariat Technique du RSU.",link:"/gouvernance/secretariat-technique"},{title:"Syst\xE8me d\u2019information",description:"Le d\xE9partement charg\xE9 du syst\xE8me d\u2019information.",link:"/gouvernance/secretariat-technique/departement-systeme-information"},{title:"Communication et plaidoyer",description:"Le d\xE9partement charg\xE9 de la communication et du plaidoyer.",link:"/gouvernance/secretariat-technique/departement-communication-plaidoyer"},{title:"Op\xE9rations",description:"Le d\xE9partement charg\xE9 des op\xE9rations du RSU.",link:"/gouvernance/secretariat-technique/departement-operations"}]}},{path:"gouvernance/secretariat-technique/departement-systeme-information",loadComponent:()=>import("./chunk-5DW5P6ZH.js").then(t=>t.RsuOrganizationChartComponent),data:{chart:"dsi",pageId:1010}},{path:"gouvernance/secretariat-technique/departement-communication-plaidoyer",loadComponent:()=>import("./chunk-5DW5P6ZH.js").then(t=>t.RsuOrganizationChartComponent),data:{chart:"communication",pageId:1013}},{path:"gouvernance/secretariat-technique/departement-operations",loadComponent:()=>import("./chunk-5DW5P6ZH.js").then(t=>t.RsuOrganizationChartComponent),data:{chart:"operations",pageId:1016}},{path:"gouvernance/secretariat-technique/service-administratif-financier",loadComponent:()=>import("./chunk-5DW5P6ZH.js").then(t=>t.RsuOrganizationChartComponent),data:{chart:"saf",pageId:1019}},{path:"gouvernance/organisation",loadComponent:()=>import("./chunk-5DW5P6ZH.js").then(t=>t.RsuOrganizationChartComponent),data:{chart:"general",pageId:1007}},{path:"devenir-utilisateur",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1031,section:"devenir-utilisateur"}},{path:"devenir-utilisateur/conditions",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1034,section:"devenir-utilisateur"}},{path:"devenir-utilisateur/procedure",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1037,section:"devenir-utilisateur"}},{path:"devenir-utilisateur/formulaires",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1040,section:"devenir-utilisateur"}},{path:"devenir-utilisateur/charte",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1046,section:"devenir-utilisateur"}},{path:"plaintes",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1049,section:"plaintes"}},{path:"plaintes/mecanisme",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:1052,section:"plaintes"}},{path:"plaintes/deposer",loadComponent:()=>import("./chunk-6UMNHVYE.js").then(t=>t.RsuComplaintFormComponent)},{path:"ressources",redirectTo:"ressources/textes-fondamentaux",pathMatch:"full"},{path:"ressources/textes-fondamentaux",data:{documentSection:"fundamental"},loadComponent:()=>import("./chunk-6WIFSKTF.js").then(t=>t.RsuDocumentsComponent)},{path:"ressources/rapports",data:{documentSection:"reports"},loadComponent:()=>import("./chunk-6WIFSKTF.js").then(t=>t.RsuDocumentsComponent)},{path:"ressources/documents",redirectTo:"ressources/textes-fondamentaux",pathMatch:"full"},{path:"ressources/mediatheque",loadComponent:()=>import("./chunk-DUH66UUO.js").then(t=>t.RsuLandingComponent),data:{title:"M\xE9diath\xE8que du RSU",introduction:"Retrouvez les actualit\xE9s illustr\xE9es, les \xE9v\xE9nements et les publications du Registre Social Unique.",cards:[{title:"Actualit\xE9s en images",description:"D\xE9couvrir les activit\xE9s et temps forts du RSU.",link:"/actualites"},{title:"Documents officiels",description:"T\xE9l\xE9charger les rapports, textes et ressources disponibles.",link:"/ressources/documents"},{title:"Nous contacter",description:"Demander une ressource ou une information compl\xE9mentaire.",link:"/contact"}]}},{path:"contact",loadComponent:()=>import("./chunk-EWEOA4YY.js").then(t=>t.ContactComponent)},{path:"faq",loadComponent:()=>import("./chunk-UGZFCEK6.js").then(t=>t.RsuPageComponent),data:{pageId:2164}},{path:"articles",redirectTo:"actualites",pathMatch:"full"},{path:"articles/:id",redirectTo:"actualites/:id",pathMatch:"full"},{path:"documents",redirectTo:"ressources/documents",pathMatch:"full"}]},{path:"auth/login",loadComponent:()=>import("./chunk-VBOHFQOD.js").then(t=>t.LoginComponent),canActivate:[D]},{path:"auth/change-password",loadComponent:()=>import("./chunk-MJV3OYQX.js").then(t=>t.ForcedPasswordChangeComponent),canActivate:[I]},{path:"admin",loadComponent:()=>import("./chunk-WJ7ZEA4X.js").then(t=>t.AdminLayoutComponent),canActivate:[S],children:[{path:"",redirectTo:"dashboard",pathMatch:"full"},{path:"dashboard",canActivate:[o],loadComponent:()=>import("./chunk-7W7F32IM.js").then(t=>t.DashbordComponent)},{path:"articlest",loadComponent:()=>import("./chunk-MILHEQZV.js").then(t=>t.AdminArticlesComponent)},{path:"documentst",loadComponent:()=>import("./chunk-3WIFFP2B.js").then(t=>t.AdminDocumentsComponent)},{path:"contacts",canActivate:[o],loadComponent:()=>import("./chunk-SUE36KQR.js").then(t=>t.ContactsComponent)},{path:"department-contacts",canActivate:[o],loadComponent:()=>import("./chunk-LRCJWYB7.js").then(t=>t.DepartmentContactsComponent)},{path:"complaints",canActivate:[o],loadComponent:()=>import("./chunk-QJ6ESOTE.js").then(t=>t.ComplaintsComponent)},{path:"article-comments",canActivate:[o],loadComponent:()=>import("./chunk-VJ7XGD2C.js").then(t=>t.ArticleCommentsComponent)},{path:"infoline",loadComponent:()=>import("./chunk-6GZNND53.js").then(t=>t.InfolineComponent)},{path:"homepage-content",data:{mode:"content"},canActivate:[o],loadComponent:()=>import("./chunk-TJW33II3.js").then(t=>t.HomepageContentComponent)},{path:"homepage-carousel",data:{mode:"carousel"},canActivate:[o],loadComponent:()=>import("./chunk-TJW33II3.js").then(t=>t.HomepageContentComponent)},{path:"partners",canActivate:[o],loadComponent:()=>import("./chunk-UZIGOPNW.js").then(t=>t.PartnersComponent)},{path:"coverage",canActivate:[o],loadComponent:()=>import("./chunk-U4L6UVIS.js").then(t=>t.CoverageComponent)},{path:"users",canActivate:[o],loadComponent:()=>import("./chunk-4LUHGXLX.js").then(t=>t.UsersComponent)},{path:"profile",loadComponent:()=>import("./chunk-NXSC3KYK.js").then(t=>t.ProfileComponent)},{path:"articles",loadComponent:()=>import("./chunk-37COIZ7L.js").then(t=>t.ArticleComponent)},{path:"cos-sessions",loadComponent:()=>import("./chunk-6JLK4LP5.js").then(t=>t.CosSessionsComponent)},{path:"Articles/:id",loadComponent:()=>import("./chunk-4YHGFPOQ.js").then(t=>t.DetailArticleComponent)},{path:"documents",loadComponent:()=>import("./chunk-QJDW4UPN.js").then(t=>t.DocumentsComponent)},{path:"types",canActivate:[o],loadComponent:()=>import("./chunk-NKCARWJI.js").then(t=>t.TypesComponent)},{path:"agendas",canActivate:[o],loadComponent:()=>import("./chunk-X6VF7J4G.js").then(t=>t.AgendaComponent)},{path:"services",canActivate:[o],loadComponent:()=>import("./chunk-6HRL6RT2.js").then(t=>t.ServicesComponent)},{path:"evenements",canActivate:[o],loadComponent:()=>import("./chunk-IBY33RDM.js").then(t=>t.EvenementsComponent)},{path:"minist\xE8re",canActivate:[o],loadComponent:()=>import("./chunk-3BXOQ3GX.js").then(t=>t.MinistereComponent)},{path:"organigramme",canActivate:[o],loadComponent:()=>import("./chunk-TBADIHJE.js").then(t=>t.OrganigrammeComponent)},{path:"missions",canActivate:[o],loadComponent:()=>import("./chunk-5VJ4C422.js").then(t=>t.MissionComponent)},{path:"domains",canActivate:[o],loadComponent:()=>import("./chunk-LOTK5WPH.js").then(t=>t.DomainsComponent)},{path:"ministre",canActivate:[o],loadComponent:()=>import("./chunk-PQAB7VST.js").then(t=>t.MinistreComponent)},{path:"etats",canActivate:[o],loadComponent:()=>import("./chunk-24MJ7G2M.js").then(t=>t.EtatsComponent)},{path:"structures",canActivate:[o],loadComponent:()=>import("./chunk-CPHLCVQX.js").then(t=>t.StructureRattachesComponent)}]},{path:"**",redirectTo:""}];var F=(t,r)=>{let e=a(p),n=a(i),s=e.getToken();return s&&(t=t.clone({setHeaders:{Authorization:`Bearer ${s}`}})),r(t).pipe(d(c=>(c.status===401&&!t.url.includes("/api/auth/login")&&(e.clearSession(),n.navigate(["/auth/login"],{queryParams:{returnUrl:n.url}})),c.status===403&&e.mustChangePassword()&&!t.url.includes("/password")&&n.navigate(["/auth/change-password"]),u(()=>c))))};v(M);var q={providers:[h(),$(T),A(R([F])),{provide:g,useValue:"fr"}]};var m=class t{static \u0275fac=function(e){return new(e||t)};static \u0275cmp=l({type:t,selectors:[["app-root"]],decls:1,vars:0,template:function(e,n){e&1&&C(0,"router-outlet")},dependencies:[P],encapsulation:2})};f(m,q).catch(t=>console.error(t));
|