1import{$ as l,O as o,R as F,V as p,Y as C,_ as v,_a as O,ea as a,fa as r,ga as T,la as S,ma as M,na as u,sa as s,ua as c,va as m,z as d}from"./chunk-PKDZQ3CQ.js";var f=[{cle:"informatique",label:"IT & Digital",description:"Development, systems and networks, cybersecurity, data and artificial intelligence.",iconePath:"M16 18l6-6-6-6M8 6l-6 6 6 6"},{cle:"commerce",label:"Business & Sales",description:"Sales, customer relations, negotiation and sales management.",iconePath:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4zM3 6h18M16 10a4 4 0 0 1-8 0"},{cle:"marketing",label:"Marketing & Communication",description:"Digital marketing, communication and content creation.",iconePath:"m3 11 18-5v12L3 14v-3zM11.6 16.8a3 3 0 1 1-5.8-1.6"},{cle:"gestion",label:"Accounting & Management",description:"Accounting, business management and operations management.",iconePath:"M20 7h-4V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM8 7V5h8v2"},{cle:"securite",label:"Security & Prevention",description:"Private security, surveillance, risk prevention and fire safety.",iconePath:"M12 22s8-4 8-10V6l-8-4-8 4v6c0 6 8 10 8 10z"}];function E(t){let e=(t||"").toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"");return e.trim()?e.startsWith("commerce")?"commerce":e.includes("marketing")||e.includes("communication")?"marketing":e.includes("informatique")||e.includes("developpement web")||e.includes("data")||e.includes("numerique")||e.startsWith("electronique")?"informatique":e.startsWith("securite")&&!e.includes("cyber")?"securite":"gestion":"";}function g(t){return t.famille&&f.some(e=>e.cle===t.famille)?t.famille:E(t.domaine);}function x(t){return t?f.find(e=>e.cle===t)?.label??t:"";}function D(t){if(!t?.length)return f;let e=new Set(t.map(n=>g(n)));return f.filter(n=>e.has(n.cle));}function h(t,e){if(t&1&&(a(0,"span",5),c(1),r()),t&2){let n=s();o(),m(n.formation.niveauLibelle||n.formation.niveau);}}function P(t,e){t&1&&(a(0,"span",6),u(1,1),r());}function b(t,e){t&1&&(a(0,"span",7),u(1,2),r());}function R(t,e){if(t&1&&(a(0,"h2",8),c(1),r()),t&2){let n=s();o(),m(n.formation.libelleAffichage||n.formation.intitule);}}function N(t,e){if(t&1&&(a(0,"h3",8),c(1),r()),t&2){let n=s();o(),m(n.formation.libelleAffichage||n.formation.intitule);}}function L(t,e){if(t&1&&(a(0,"p",9),c(1),r()),t&2){let n=s();o(),m(n.formation.accroche);}}function $(t,e){t&1&&(a(0,"span",11),c(1),r()),t&2&&(o(),m(e));}function y(t,e){if(t&1&&(a(0,"span",12),c(1),r()),t&2){let n=s();o(),m(n.familleLabel(n.formation));}}var A=class t{formation;niveauTitre="h3";familleLabel(e){return x(g(e));}badgeCertification(e){return e.enRenouvellement?"Qualification being renewed":e.typeCertification==="RNCP"&&e.rncpCode?e.rncpCode:e.typeCertification&&e.typeCertification!=="RNCP"&&e.certificationLibelle?e.certificationLibelle:null;}static ɵfac=function(n){return new(n||t)();};static ɵcmp=F({type:t,selectors:[["app-carte-formation"]],inputs:{formation:"formation",niveauTitre:"niveauTitre"},decls:16,vars:9,consts:()=>{let e;e=" Explore the program "+"\uFFFD#13\uFFFD"+""+"\uFFFD#14\uFFFD"+""+"\uFFFD/#14\uFFFD"+""+"\uFFFD#15\uFFFD"+""+"\uFFFD/#15\uFFFD"+""+"\uFFFD/#13\uFFFD"+"";let n;n="Not currently offered";let i;return i="Places available",[e,n,i,[1,"esic-card","esic-card--hover","carte-formation",3,"routerLink"],[1,"carte-formation__haut"],[1,"esic-badge"],[1,"esic-badge","carte-formation__badge-non-proposee"],[1,"esic-badge","esic-badge--accent"],[1,"carte-formation__titre"],[1,"carte-formation__accroche"],[1,"carte-formation__meta"],[1,"carte-formation__certif"],[1,"carte-formation__famille"],[1,"carte-formation__lien"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","aria-hidden","true"],["x1","5","y1","12","x2","19","y2","12"],["points","12 5 19 12 12 19"]];},template:function(n,i){if(n&1&&(a(0,"a",3)(1,"div",4),p(2,h,2,1,"span",5)(3,P,2,0,"span",6)(4,b,2,0,"span",7),r(),p(5,R,2,1,"h2",8)(6,N,2,1,"h3",8)(7,L,2,1,"p",9),a(8,"div",10),p(9,$,2,1,"span",11)(10,y,2,1,"span",12),r(),a(11,"span",13),S(12,0),d(),a(13,"svg",14),T(14,"line",15)(15,"polyline",16),r(),M(),r()()),n&2){let _;v("carte-formation--non-proposee",i.formation.proposeeActuellement===!1),C("routerLink","/"+i.formation.slug),o(2),l(i.formation.niveauLibelle||i.formation.niveau?2:-1),o(),l(i.formation.proposeeActuellement===!1?3:i.formation.nbSessionsOuvertes>0?4:-1),o(2),l(i.niveauTitre==="h2"?5:6),o(2),l(i.formation.accroche?7:-1),o(2),l((_=i.badgeCertification(i.formation))?9:-1,_),o(),l(i.familleLabel(i.formation)?10:-1);}},dependencies:[O],styles:['@charset "UTF-8";.carte-formation[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;height:100%;padding:22px 22px 20px;color:inherit}.carte-formation[_ngcontent-%COMP%]:hover{color:inherit}.carte-formation__haut[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px}.carte-formation__titre[_ngcontent-%COMP%]{margin:0;font-size:1.2rem;font-weight:700;line-height:1.25;color:var(--esic-sombre)}.carte-formation__accroche[_ngcontent-%COMP%]{margin:0;color:var(--esic-gris-fonce);font-size:.95rem;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.carte-formation__meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin-top:auto;padding-top:6px;font-size:.82rem}.carte-formation__certif[_ngcontent-%COMP%]{font-weight:700;color:var(--esic-secondaire-texte)}
1.carte-formation__famille[_ngcontent-%COMP%]{color:var(--esic-gris-fonce)}.carte-formation__lien[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:.95rem;color:var(--esic-sombre)}.carte-formation__lien[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:18px;height:18px;transition:transform var(--esic-transition)}.carte-formation[_ngcontent-%COMP%]:hover .carte-formation__lien[_ngcontent-%COMP%]{color:var(--esic-primaire-texte)}.carte-formation[_ngcontent-%COMP%]:hover .carte-formation__lien[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{transform:translate(4px)}.carte-formation--non-proposee[_ngcontent-%COMP%]{opacity:.62;filter:saturate(.6)}.carte-formation__badge-non-proposee[_ngcontent-%COMP%]{background:var(--esic-gris-clair, #e5e7eb);color:var(--esic-gris-fonce, #4b5563)}']});};export{f as a,g as b,x as c,D as d,A as e};/**i18n:9fa2c1b7ef73a679f49af957c3c0eef799f0ee0f1ea4024ab240f6e0b8d68d21*/
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.