1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[395,1553,1870,3235,9207,9855],{2535:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(37876),a=n(77328),l=n.n(a),i=n(89099);let s=e=>{var t;let{title:n="Empara - La plateforme de formation en ligne",description:a="D\xe9couvrez nos formations en ligne et d\xe9veloppez vos comp\xe9tences avec Empara",image:s,url:o="",canonical:c,structuredData:d,noindex:u=!1,robots:m}=e,p=(0,i.useRouter)(),x="https://www.empara.fr",h="".concat(x).concat(o),f=s||"".concat(x,"/og-default.jpg"),v=c||(o?"".concat(x).concat(o):"".concat(x).concat((null==(t=p.asPath)?void 0:t.split("?")[0])||"")),g=Array.isArray(d)?d:d?[d]:[];return(0,r.jsxs)(l(),{children:[(0,r.jsx)("title",{children:n}),(0,r.jsx)("meta",{name:"description",content:a}),(0,r.jsx)("link",{rel:"canonical",href:v}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"fr",href:v}),(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:v}),(0,r.jsx)("meta",{name:"robots",content:m||(u?"noindex, nofollow":"index, follow")}),(0,r.jsx)("meta",{property:"og:type",content:"website"}),(0,r.jsx)("meta",{property:"og:site_name",content:"Empara"}),(0,r.jsx)("meta",{property:"og:locale",content:"fr_FR"}),(0,r.jsx)("meta",{property:"og:url",content:h}),(0,r.jsx)("meta",{property:"og:title",content:n}),(0,r.jsx)("meta",{property:"og:description",content:a}),(0,r.jsx)("meta",{property:"og:image",content:f}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:url",content:h}),(0,r.jsx)("meta",{name:"twitter:title",content:n}),(0,r.jsx)("meta",{name:"twitter:description",content:a}),(0,r.jsx)("meta",{name:"twitter:image",content:f}),g.map((e,t)=>(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}},"ld-".concat(t)))]})}},4281:(e,t,n)=>{"use strict";n.d(t,{B_:()=>v,Et:()=>x,Fv:()=>f,KY:()=>c,XX:()=>h,Yq:()=>o,dF:()=>d,eb:()=>b,fi:()=>p,jg:()=>g,tV:()=>u,ts:()=>m});var r=n(37876),a=n(28238),l=n(99916),i=n.n(l);n(29454);var s=n(65364);!s.env.URL_API||s.env.URL_API.includes("staging")||s.env.URL_API.includes("localhost")||s.env.URL_API.includes("mbp-clem.local");let o=e=>e?(function(e){return e.substring(0,e.indexOf("T")).split("-").reverse().join("-")})(e).replace(/-/g,"/"):null,c=e=>{let t=e.getUTCHours(),n=e.getUTCMinutes();return n?"".concat(t,"h").concat(String(n).padStart(2,"0")):"".concat(t,"h")},d=["Jan","F\xe9v","Mars","Avr","Mai","Juin","Juil","Ao\xfbt","Sept","Oct","Nov","D\xe9c"],u=e=>e&&void 0!==e?"trial"===e?"trial":"sub"===e||"admin"===e?"sub":"user":"newAccount",m=(e,t)=>{if(!e||!t)return null;let n=new Date(e);return Math.ceil((new Date(t)-n)/864e5)},p=(e,t)=>{var n=new Date(e);function r(e){return e<10?"0"+e:e}return n.setDate(n.getDate()+t),[r(n.getDate()),r(n.getMonth()+1),n.getFullYear()].join("/")},x=(e,t)=>"5"===e?[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,r.jsx)(a.A,{className:i().SVGRed},t)):"red"===t?[void 0,void 0,void 0,void 0,void 0].map((t,n)=>(0,r.jsx)(a.A,{className:n<e?i().SVGRed:i().Empty},n)):[void 0,void 0,void 0,void 0,void 0].map((t,n)=>(0,r.jsx)(a.A,{className:n<e?i().Filled:i().Empty},n)),h=e=>e?new Date(e).toLocaleDateString("fr-FR",{year:"numeric",month:"long",day:"numeric"}):null,f=e=>e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():"Utilisateur",v=()=>{let e=document.querySelector("iframe"),t=null==e?void 0:e.parentElement;if(!e)return;let n=window.innerWidth,r=window.innerHeight;n/r>2?r=n/2:n=2*r,e.style.height="".concat(r,"px"),t.style.height="auto"},g=e=>{if(!(null==e?void 0:e.includes("kinescope.io")))return e;let t=e.match(/https:\/\/kinescope\.io\/([a-zA-Z0-9_-]+)\/master\.m3u8/);return t?t[1]:null},b=e=>{let t=document.getElementById(e);t&&t.scrollIntoView({behavior:"smooth",block:"start"})}},8353:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]])},8685:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("log-in",[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}
1],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]])},9454:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>P,default:()=>O});var r=n(37876),a=n(14232),l=n(2535),i=n(82786),s=n(59978),o=n(75885),c=n(54587),d=n.n(c),u=n(48230),m=n.n(u),p=n(92035),x=n(45195),h=n(22636);function f(e){var t,n,l;let{parcours:i,progress:s=null,ctaHref:c="#",ctaLabel:u,breadcrumb:f,className:g}=e;if(!i)return null;let y=i.title||"",k=(0,o.Qq)(i),N=(0,o.Am)(i.author),_=null!=(l=null!=(n=i.stepCount)?n:null==(t=i.steps)?void 0:t.length)?l:0,A=(0,o.xj)(i).length,M=(0,o.Oo)(i.totalDurationSeconds),L=!!(null==s?void 0:s.started),E=Math.min(100,Math.max(0,Number(null==s?void 0:s.progressPct)||0)),R=Number(null==s?void 0:s.doneCount)||0,S=f||[{label:"Mon espace",href:"/my"},{label:"Parcours",href:"/parcours"},{label:y}];return(0,r.jsxs)("section",{className:(0,x.cn)("relative flex min-h-[440px] items-end overflow-hidden bg-black lg:min-h-[540px]",g),children:[i.heroImage?(0,r.jsx)(d(),{src:i.heroImage,alt:y?"Parcours ".concat(y):"Parcours",fill:!0,priority:!0,sizes:"100vw",className:"object-cover"}):null,(0,r.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.45) 55%, rgba(0,0,0,0.25) 100%)"}}),(0,r.jsxs)("div",{className:"relative mx-auto w-full max-w-[1180px] px-5 pb-10 pt-24 sm:px-8 lg:px-12 lg:pb-14",children:[(0,r.jsx)("nav",{"aria-label":"Fil d'Ariane",className:"mb-[26px] flex flex-wrap items-center gap-[9px] text-xs",children:S.map((e,t)=>(0,r.jsxs)(a.Fragment,{children:[t>0?(0,r.jsx)("span",{"aria-hidden":"true",className:"text-em-ink-500",children:"âº"}):null,e.href?(0,r.jsx)(m(),{href:e.href,className:"text-em-ink-300 transition-colors hover:text-white focus-visible:text-white focus-visible:underline",children:e.label}):(0,r.jsx)("span",{className:t===S.length-1?"text-white":"text-em-ink-300",children:e.label})]},"".concat(e.label,"-").concat(t)))}),(0,r.jsx)("p",{className:"m-0 mb-[14px] text-[11px] font-semibold uppercase tracking-[0.18em] text-em-red-soft",children:k?"Parcours \xb7 ".concat(k):"Parcours"}),(0,r.jsx)("h1",{className:"m-0 mb-3 font-rama text-[52px] font-semibold uppercase leading-[0.86] tracking-[0.02em] text-white sm:text-[68px] lg:text-[96px]",children:y}),N?(0,r.jsx)("p",{className:"m-0 mb-[22px] font-cursive text-[22px] antialiased text-em-red-soft sm:text-[28px]",children:"un parcours guid\xe9 par ".concat(N)}):null,(0,r.jsxs)("div",{className:"mb-[30px] flex flex-wrap gap-x-[22px] gap-y-3",children:[_?(0,r.jsx)(v,{icon:(0,r.jsx)(b,{}),children:(0,o.td)(_,"formation")}):null,M?(0,r.jsx)(v,{icon:(0,r.jsx)(j,{}),children:"".concat(M," de vid\xe9o")}):null,A?(0,r.jsx)(v,{icon:(0,r.jsx)(w,{}),children:(0,o.td)(A,"formateur")}):null]}),L?(0,r.jsx)(h.A,{value:E,ariaLabel:"Progression du parcours ".concat(y),label:"".concat(E,"% \xb7 ").concat(R,"/").concat(_," formations"),className:"mb-[22px] max-w-[460px]"}):null,(0,r.jsx)(m(),{href:c,className:"inline-block",children:(0,r.jsx)(p.A,{variant:"primary",size:"large",tabIndex:-1,children:u||(L?"Reprendre le parcours":"Commencer le parcours")})})]})]})}function v(e){let{icon:t,children:n}=e;return(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 text-[13px] text-em-ink-100",children:[t,n]})}let g={width:15,height:15,viewBox:"0 0 24 24",fill:"none",stroke:"var(--em-red-soft)",strokeWidth:1.8,strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",className:"shrink-0"};function b(){return(0,r.jsxs)("svg",{...g,children:[(0,r.jsx)("rect",{x:"2",y:"2",width:"20",height:"20",rx:"2.2"}),(0,r.jsx)("path",{d:"M7 2v20M17 2v20M2 12h20"})]})}function j(){return(0,r.jsxs)("svg",{...g,children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,r.jsx)("path",{d:"M12 6v6l4 2"})]})}function w(){return(0,r.jsxs)("svg",{...g,children:[(0,r.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,r.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,r.jsx)("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"})]})}let y={done:{node:"border-em-red bg-em-red text-white",line:"bg-em-red",card:"border-em-border",title:"text-white",image:"opacity-100",status:"text-em-red-text",statusLabel:"Termin\xe9"},current:{node:"border-em-red bg-transparent text-white",line:"bg-em-border-strong",card:"border-em-red",title:"text-white",image:"opacity-100",status:"text-em-red-text",statusLabel:"En cours"},todo:{node:"border-em-border-strong bg-transparent text-em-ink-400",line:"bg-em-border-strong",card:"border-em-border",title:"text-em-ink-200",image:"opacity-50",status:"text-em-ink-500",statusLabel:"\xc0 venir"}};function k(e){let{steps:t=[],stepStatuses:n={},title:a="Le chemin, \xe9tape par \xe9tape",countLabel:l,getStepHref:i,className:s}=e,c=Array.isArray(t)?t.filter(Boolean):[];return c.length?(0,r.jsxs)("section",{className:s,children:[a?(0,r.jsxs)("div",{className:"mb-6 flex items-baseline justify-between gap-4",children:[(0,r.jsx)("h2",{className:"m-0 text-[22px] font-bold text-white",children:a}),l?(0,r.jsx)("span",{className:"whitespace-nowrap text-[12.5px] text-em-ink-400",children:l}):null]}):null,(0,r.jsx)("ol",{className:"m-0 list-none p-0",children:c.map((e,t)=>{var a;let l=null==n?void 0:n[String(e._id)],s=y[l]?l:"todo",u=y[s],m=(0,o.zZ)(e),p=(0,o.qf)(e),h=(0,o.Am)((0,o.rI)(e)[0]),f=(0,o.Oo)(e.durationSeconds),v=Number(e.videoCount)||(null==(a=e.videos)?void 0:a.length)||0,g=t===c.length-1,b="function"==typeof i?i(e,t):null;return(0,r.jsxs)("li",{className:"flex items-stretch gap-[18px]",children:[(0,r.jsxs)("div",{className:"flex w-9 shrink-0 flex-col items-center",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:(0,x.cn)("flex h-[34px] w-[34px] shrink-0 items-center justify-center rounded-full border-2 text-[13px] font-bold",u.no
1de),children:"done"===s?(0,r.jsx)(_,{}):t+1}),g?null:(0,r.jsx)("span",{className:(0,x.cn)("my-1.5 min-h-[28px] w-0.5 flex-1",u.line)})]}),(0,r.jsxs)(N,{href:b,className:(0,x.cn)("mb-[14px] flex min-w-0 flex-1 flex-wrap items-center gap-4 rounded-lg border bg-em-card p-[14px_16px] sm:flex-nowrap",u.card),children:[(0,r.jsxs)("div",{className:"relative aspect-[16/10] w-[92px] shrink-0 overflow-hidden rounded bg-em-raised sm:w-[116px]",children:[p?(0,r.jsx)(d(),{src:p,alt:m||"Formation",fill:!0,sizes:"(max-width: 640px) 92px, 116px",className:(0,x.cn)("object-cover",u.image)}):null,"current"===s?(0,r.jsx)("span",{className:"absolute inset-0 flex items-center justify-center bg-black/30",children:(0,r.jsx)("span",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-em-red",children:(0,r.jsx)(A,{})})}):null]}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("h3",{className:(0,x.cn)("m-0 mb-[3px] text-base font-semibold leading-[1.25]",u.title),children:m}),h?(0,r.jsx)("p",{className:"m-0 mb-[7px] font-cursive text-base antialiased text-em-red-soft",children:"Par ".concat(h)}):null,(0,r.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1 text-xs text-em-ink-400",children:[f?(0,r.jsx)("span",{children:f}):null,f&&v?(0,r.jsx)("span",{"aria-hidden":"true",className:"h-[3px] w-[3px] rounded-full bg-em-ink-500"}):null,v?(0,r.jsx)("span",{children:(0,o.td)(v,"vid\xe9o")}):null]}),e.note?(0,r.jsx)("p",{className:"m-0 mt-2 text-xs italic leading-[1.5] text-em-ink-400",children:e.note}):null]}),(0,r.jsx)("span",{className:(0,x.cn)("shrink-0 whitespace-nowrap text-[11px] font-semibold uppercase tracking-[0.06em]",u.status),children:u.statusLabel})]})]},e._id||t)})})]}):null}function N(e){let{href:t,className:n,children:a}=e;return t?(0,r.jsx)(m(),{href:t,className:(0,x.cn)(n,"transition-colors hover:border-em-border-strong"),children:a}):(0,r.jsx)("div",{className:n,children:a})}function _(){return(0,r.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 24 24",fill:"none",stroke:"#fff",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M20 6 9 17l-5-5"})})}function A(){return(0,r.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"#fff","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M8 5v14l11-7z"})})}function M(e){let{teachers:t=[],title:n="Tes formateurs",className:a}=e,l=Array.isArray(t)?t.filter(Boolean):[];return l.length?(0,r.jsxs)("section",{className:a,children:[n?(0,r.jsx)("h2",{className:"m-0 mb-6 text-[22px] font-bold text-white",children:n}):null,(0,r.jsx)("ul",{className:"m-0 flex list-none flex-col gap-7 p-0",children:l.map((e,t)=>{let n=(0,o.Am)(e)||e.name||"Formateur";return(0,r.jsxs)("li",{className:(0,x.cn)("flex flex-col gap-5 sm:flex-row",t>0&&"border-t border-em-border pt-7"),children:[(0,r.jsx)("div",{className:"relative h-[132px] w-[132px] shrink-0 overflow-hidden rounded-lg bg-em-raised",children:e.photo?(0,r.jsx)(d(),{src:e.photo,alt:n,fill:!0,sizes:"132px",className:"object-cover"}):null}),(0,r.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,r.jsx)("h3",{className:"m-0 mb-1 text-base font-semibold text-white",children:n}),e.job?(0,r.jsx)("p",{className:"m-0 mb-3 text-[11px] font-semibold uppercase tracking-[0.12em] text-em-red-text",children:e.job}):null,e.bio?(0,r.jsx)("p",{className:"m-0 max-w-[620px] text-sm leading-[1.75] text-em-ink-300",children:e.bio}):null]})]},e._id||"".concat(n,"-").concat(t))})})]}):null}function L(e){let{title:t,benefits:n=[],ctaHref:a="#",ctaLabel:l="Commencer le parcours",eyebrow:i="Le parcours complet",footnote:s="Inclus avec ton abonnement Empara",sticky:o=!0,className:c}=e,d=(Array.isArray(n)?n:[]).filter(Boolean);return(0,r.jsx)("aside",{className:(0,x.cn)(o&&"lg:sticky lg:top-[100px]",c),children:(0,r.jsxs)("div",{className:"rounded-xl border border-em-border bg-em-card p-[30px]",children:[i?(0,r.jsx)("p",{className:"m-0 mb-[7px] text-[11px] font-semibold uppercase tracking-[0.12em] text-em-ink-400",children:i}):null,t?(0,r.jsx)("p",{className:"m-0 mb-[22px] font-rama text-[34px] font-semibold uppercase leading-[0.92] tracking-[0.02em] text-white sm:text-[40px]",children:t}):null,d.length?(0,r.jsx)("ul",{className:"m-0 mb-[26px] flex list-none flex-col gap-3 p-0",children:d.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-center gap-2.5 text-[13.5px] text-em-ink-200",children:[(0,r.jsx)(E,{}),e]},"".concat(e,"-").concat(t)))}):null,(0,r.jsx)(m(),{href:a,className:"block",children:(0,r.jsx)(p.A,{variant:"primary",size:"large",fullWidth:!0,tabIndex:-1,
1children:l})}),s?(0,r.jsx)("p",{className:"m-0 mt-[14px] text-center text-[11.5px] text-em-ink-500",children:s}):null]})})}function E(){return(0,r.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#3fa45b",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round",className:"shrink-0","aria-hidden":"true",children:(0,r.jsx)("path",{d:"M20 6 9 17l-5-5"})})}var R=n(82737);let S="https://www.empara.fr";var P=!0;function O(e){var t;let{parcours:n,progress:a,user:c,nextLives:d,learnLinks:u}=e;if(!n)return null;let m=n.slug,p=Array.isArray(n.steps)?n.steps:[],x=null!=(t=n.stepCount)?t:p.length,h=Number(null==a?void 0:a.doneCount)||0,v=!!(null==a?void 0:a.started),g=(null==u?void 0:u.firstIndexByStepId)||{},b="/parcours/".concat(m,"/learn"),j=Number(null==u?void 0:u.resumeIndex)||0,w=j>0?"".concat(b,"/").concat(j):b,y=v?"Reprendre le parcours":"Commencer le parcours",N=(0,o.xj)(n),_=n.seoTitle||"Parcours ".concat(n.title," | Empara"),A=n.seoDescription||n.description||n.subtitle||"Le parcours ".concat(n.title," d'Empara : ").concat((0,o.td)(x,"formation")," \xe0 suivre dans l'ordre."),E=(0,R.Xt)([{name:"Accueil",url:S},{name:"Parcours",url:"".concat(S,"/parcours")},{name:n.title,url:"".concat(S,"/parcours/").concat(m)}]),P=[c?{label:"Mon espace",href:"/my"}:{label:"Accueil",href:"/"},{label:"Parcours",href:"/parcours"},{label:n.title}];return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(l.A,{title:_,description:A,image:n.heroImage||n.cardImage||void 0,url:"/parcours/".concat(m),structuredData:[E],noindex:!n.isPublished}),(0,r.jsx)(i.default,{user:c,course:"",nextLives:d}),(0,r.jsxs)("main",{className:"bg-em-app font-sans",children:[(0,r.jsx)(f,{parcours:n,progress:a,ctaHref:w,ctaLabel:y,breadcrumb:P,className:"pt-[var(--page-top)]"}),(0,r.jsxs)("div",{className:"mx-auto grid w-full max-w-[1180px] grid-cols-1 items-start gap-10 px-5 pb-20 pt-14 sm:px-8 lg:grid-cols-[minmax(0,1fr)_340px] lg:gap-14 lg:px-12",children:[(0,r.jsxs)("div",{className:"min-w-0",children:[n.description?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h2",{className:"m-0 mb-[14px] text-[22px] font-bold text-white",children:"\xc0 propos de ce parcours"}),(0,r.jsx)("p",{className:"m-0 mb-11 max-w-[620px] whitespace-pre-line text-[15px] leading-[1.75] text-em-ink-200",children:n.description})]}):null,(0,r.jsx)(k,{steps:p,stepStatuses:null==a?void 0:a.stepStatuses,countLabel:x?"".concat(h,"/").concat(x," termin\xe9es"):null,getStepHref:e=>{let t=g[String(null==e?void 0:e._id)];return t?"".concat(b,"/").concat(t):b},className:"mb-[52px]"}),(0,r.jsx)(M,{teachers:N})]}),(0,r.jsx)(L,{title:n.title,benefits:function(e){var t,n,r;let a=(Array.isArray(null==e?void 0:e.benefits)?e.benefits:[]).filter(Boolean);if(a.length)return a;let l=null!=(r=null!=(n=null==e?void 0:e.stepCount)?n:null==e||null==(t=e.steps)?void 0:t.length)?r:0,i=(0,o.Oo)(null==e?void 0:e.totalDurationSeconds);return[l?"".concat((0,o.td)(l,"formation")," ").concat(l>1?"compl\xe8tes":"compl\xe8te"):null,i?"".concat(i," de vid\xe9o \xe0 la demande"):null,"Acc\xe8s illimit\xe9, \xe0 ton rythme"].filter(Boolean)}(n),ctaHref:w,ctaLabel:y})]})]}),(0,r.jsx)(s.A,{})]})}},9504:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(14232);function a(e,t,n){var r;return(t="symbol"==typeof(r=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?r:r+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var i=["children","onClickAway","focusEvent","mouseEvent","touchEvent"],s={click:"onClick",focusin:"onFocus",focusout:"onBlur",mousedown:"onMouseDown",mouseup:"onMouseUp",touchstart:"onTouchStart",touchend:"onTouchEnd"},o=parseInt(r.version.split(".")[0],10),c=function(e){var t=e.children,n=e.onClickAway,c=e.focusEvent,d=void 0===c?"focusin":c,u=e.mouseEvent,m=void 0===u?"click":u,p=e.touchEvent,x=void 0===p?"touchend":p,h=function(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r<l.length;r++)n=l[r],t.includes(n)||({}).propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}(e,i),f=(0,r.useRef)(null),v=(0,r.useRef)(null),g=(0,r.useRef)(!1);(0,r.useEffect)(function(){return setTimeout(function(){g.current=!0},0),function(){g.current=!1}},[]);var b,j=function(e){return function(n){v.current=n.target;var r=null==t?void 0:t.props[e];r&&r(n)}},w=null;o>=19?w=(null==(b=t.props)?void 0:b.ref)||null:"ref"in t&&(w=t.ref);
1var y,k=(y=[f,w],function(e){y.forEach(function(t){"function"==typeof t?t(e):null!=t&&(t.current=e)})});(0,r.useEffect)(function(){var e,t,r=null!=(e=null==(t=f.current)?void 0:t.ownerDocument)?e:document,a=function(e){g.current&&(f.current&&f.current.contains(e.target)||v.current===e.target||!r.contains(e.target)||n(e))};return r.addEventListener(m,a),r.addEventListener(x,a),r.addEventListener(d,a),function(){r.removeEventListener(m,a),r.removeEventListener(x,a),r.removeEventListener(d,a)}},[d,m,n,x]);var N=s[m],_=s[x],A=s[d];return r.Children.only((0,r.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){a(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}(a(a(a({ref:k},A,j(A)),N,j(N)),_,j(_)),h)))};c.displayName="ClickAwayListener"},16526:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/parcours/[slug]",function(){return n(9454)}])},21355:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},22636:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(37876);n(14232);var a=n(45195);function l(e){let{value:t=0,label:n=null,size:l="md",ariaLabel:i,className:s,trackClassName:o,barClassName:c,labelClassName:d}=e,u=Math.min(100,Math.max(0,Math.round(Number(t)||0))),m="sm"===l;return(0,r.jsxs)("div",{className:(0,a.cn)("flex items-center",m?"gap-2.5":"gap-3.5",s),children:[(0,r.jsx)("span",{role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":u,"aria-label":i||"Progression",className:(0,a.cn)("block flex-1 overflow-hidden rounded-full",m?"h-1 bg-white/[0.28]":"h-[7px] bg-white/[0.22]",o),children:(0,r.jsx)("span",{className:(0,a.cn)("block h-full rounded-full bg-em-red transition-[width] duration-500 ease-out",c),style:{width:"".concat(u,"%")}})}),n?(0,r.jsx)("span",{className:(0,a.cn)("whitespace-nowrap",m?"text-[11px] text-white":"text-[12.5px] font-semibold text-em-ink-50",d),children:n}):null]})}},28238:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(37876);n(14232);let a=e=>{let{className:t,onClick:n,isBlack:a}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:t,onClick:n,viewBox:"0 0 12 12",children:(0,r.jsx)("g",{fill:"none",fillRule:"evenodd",stroke:"none",strokeWidth:"1",children:(0,r.jsx)("g",{fill:"none",fillRule:"nonzero",transform:"translate(-933 -638)",children:(0,r.jsx)("g",{transform:"translate(879 638)",children:(0,r.jsx)("g",{transform:"translate(54)",children:(0,r.jsx)("path",{fill:a?"#000000":t?"":"#ffffff",d:"M11.572 4.27l-3.54-.514L6.448.548a.521.521 0 00-.9 0l-1.58 3.208-3.54.514a.5.5 0 00-.277.853l2.562 2.5-.606 3.526a.5.5 0 00.726.527L6 10.008l3.167 1.665a.5.5 0 00.726-.527L9.287 7.62l2.562-2.5a.5.5 0 00-.277-.853v.003z"})})})})})})}},29053:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},36156:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14232);let a=r.forwardRef(function(e,t){let{title:n,titleId:a,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},l),n?r.createElement("title",{id:a},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"}))})},37252:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14232);let a=r.forwardRef(function(e,t){let{title:n,titleId:a,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},l),n?r.createElement("title",{id:a},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5m-13.5-9L12 3m0 0 4.5 4.5M12 3v13.5"}))})},45290:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(14232);let a=r.forwardRef(function(e,t){let{title:n,titleId:a,...l}=e;return r.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},l),n?r.createElement("title",{id:a},n):null,r.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12c.07.665-.45 1.243-1.119 1.243H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5
1h12.974c.576 0 1.059.435 1.119 1.007ZM8.625 10.5a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm7.5 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z"}))})},46293:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},53038:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},63906:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},64041:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},66273:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("list-music",[["path",{d:"M21 15V6",key:"h1cx4g"}],["path",{d:"M18.5 18a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z",key:"8saifv"}],["path",{d:"M12 12H3",key:"18klou"}],["path",{d:"M16 6H3",key:"1wxfjs"}],["path",{d:"M12 18H3",key:"11ftsu"}]])},68693:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(17963).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},75885:(e,t,n)=>{"use strict";function r(e){let t=Math.max(0,Math.round(Number(e)||0));if(!t)return null;let n=Math.round(t/60),r=Math.floor(n/60),a=n%60;return r&&a?"".concat(r,"h").concat(String(a).padStart(2,"0")):r?"".concat(r,"h"):"".concat(a," min")}function a(e){return e?[e.firstname,e.lastname].filter(Boolean).join(" ").trim():""}function l(e,t,n){let r=Number(e)||0;return"".concat(r," ").concat(r>1?n||"".concat(t,"s"):t)}function i(e){var t;return e&&(e.customTitle||e.title||(null==(t=e.course)?void 0:t.title))||""}function s(e){var t,n,r;return e&&(e.image||(null==(t=e.course)?void 0:t.imageSquare)||(null==(n=e.course)?void 0:n.imageCatalogue)||(null==(r=e.course)?void 0:r.image))||null}function o(e){var t;return(null==e?void 0:e.authors)||(null==e||null==(t=e.course)?void 0:t.authors)||[]}function c(e){var t;if(null==e||null==(t=e.teachers)?void 0:t.length)return e.teachers;let n=new Map;for(let t of(null==e?void 0:e.steps)||[])for(let e of o(t)){let t=String((null==e?void 0:e._id)||a(e));t&&!n.has(t)&&n.set(t,e)}return[...n.values()]}function d(e){var t,n;let r=null==e||null==(t=e.levelFrom)?void 0:t.trim(),a=null==e||null==(n=e.levelTo)?void 0:n.trim();return r&&a?"".concat(r," â ").concat(a):r||a||null}n.d(t,{Am:()=>a,Oo:()=>r,Qq:()=>d,qf:()=>s,rI:()=>o,td:()=>l,xj:()=>c,zZ:()=>i})}
1,87552:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});var r=n(14232),a=n(81285);function l(e){let[t,n]=r.useState(void 0);return(0,a.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,a;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,a=t.blockSize}else r=e.offsetWidth,a=e.offsetHeight;n({width:r,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},99916:e=>{e.exports={red:"Rating_red__MmzeE","bg-red":"Rating_bg-red__wMAuY",background:"Rating_background__VPPar",radius:"Rating_radius__PcfT5",Container:"Rating_Container__LJHwV",Title:"Rating_Title__peEox",Subtitle:"Rating_Subtitle__Dkph2",Ratings:"Rating_Ratings__R4tV8",Button:"Rating_Button__zwUtO",Rating:"Rating_Rating__XQXAx",Top:"Rating_Top__78Vdb",Stars:"Rating_Stars__nneRB",Filled:"Rating_Filled__pK89z",Empty:"Rating_Empty__UTuhD",SVGRed:"Rating_SVGRed__lsP6i",Wording:"Rating_Wording__Kk8v0",Line:"Rating_Line__bR4ur",LineGrey:"Rating_LineGrey__ylpUs",LineRed:"Rating_LineRed__rlBfD"}}},e=>{e.O(0,[3560,706,4587,8359,1472,3474,5948,188,2786,5119,9978,2737,636,6593,8792],()=>e(e.s=16526)),_N_E=e.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.