PageSourceSearch

https://www.meteojob.com/jobs/chunk-Z4FY7Y2F.js

js meteojob.com collected 2026-10-02 07:24:13 UTC 80,543 bytes, 2 lines download raw bytes

1import{a as Ci}from"./chunk-LD776JEC.js";import{A as ht,B as $i,C as Yi,D as gt,E as vt,F as Gi,G as Qi,H as qi,I as Ct,J as bt,K as Me,L as _t,d as Si,j as Fi,k as ji,l as ut,m as Li,n as Vi,o as Bi,q as Oi,r as Ni,s as Ai,t as Ui,u as Wi,v as zi,w as Hi,x as Rt,y as O,z as Ji}from"./chunk-LXSYPPYF.js";import"./chunk-CRMY3KLI.js";import"./chunk-VUTM37U7.js";import{a as ti}from"./chunk-FSFGTVRT.js";import{a as Ki}from"./chunk-YNBUWFMC.js";import{b as _i}from"./chunk-KBBPEFHE.js";import"./chunk-OLNAT5ET.js";import"./chunk-APFXLKOT.js";import{d as Ri}from"./chunk-D436TOIY.js";import"./chunk-XOSTLXD6.js";import{a as ft}from"./chunk-PNAIFBKX.js";import{a as Di,b as dt,c as Ei,d as Et,e as be,f as mt}from"./chunk-LZNSMXKV.js";import{b as pt,c as Pi,d as ki}from"./chunk-KM72NZNC.js";import"./chunk-MBDHBXRZ.js";import"./chunk-KFXT33H2.js";import{d as Xi}from"./chunk-56TJ46WC.js";import{L as gi,M as vi,P as bi,Ta as wi,Y as yi,Ya as Mi,Z as ie,_ as rt,a as ii,b as ni,ca as st,g as nt,h as Oe,j as ee,ja as lt,u as mi,ua as xi}from"./chunk-M4EOMZAP.js";import"./chunk-D75NULMA.js";import"./chunk-MTHKQHD3.js";import{a as Te}from"./chunk-AOZDIUGF.js";import{a as Ii}from"./chunk-WO45U7MG.js";import{a as Zt,d as oi,f as pi,h as se,m as ct,u as Ti}from"./chunk-EL4EQKNL.js";import{a as hi}from"./chunk-JXWFPYAT.js";import"./chunk-ER4VYCDJ.js";import"./chunk-WPVYCKJJ.js";import"./chunk-IWFRP25Y.js";import"./chunk-5SWPYVR2.js";import{a as di}from"./chunk-3SMQMDCW.js";import"./chunk-OMZ4G6PI.js";import{a as fi,b as ui}from"./chunk-BMVKGDP6.js";import{a as $}from"./chunk-WCFURNIO.js";import{Db as we,Eb as je,Fb as Le,Hb as Q,Ia as K,Ib as ue,Jb as he,Ka as li,Kb as ge,Lb as ve,Mb as Ce,Ob as Ve,P as Re,Ua as B,W as L,Wb as Be,X as Xe,Xb as Z,Y as Ze,Zb as ot,_b as te,aa as et,cc as at,da as tt,dc as ne,ea as it,la as me,ma as ai,qa as ri,ta as fe,ua as si,y as Kt}from"./chunk-KE2FVBBH.js";import{Y as ei,i as Ee,k as Qt,l as qt,p as Xt,xa as ci}from"./chunk-BQLRMZ2T.js";import"./chunk-SEMXWUEN.js";import{c as J,d as P,e as w}from"./chunk-HF5SSFUL.js";import{a as q,d as Fe}from"./chunk-2BMABRUH.js";import"./chunk-QOCMJ3Z5.js";import{a as Ke}from"./chunk-KSIMZHXR.js";import{$b as a,A as Ae,Ac as v,Bb as Wt,Bc as R,Cc as Ge,Cd as $t,Eb as U,Ec as le,Fa as _,Fc as ce,Ga as y,Gc as pe,Hd as de,Ic as T,Jc as Dt,Kb as S,Kc as xe,Kd as Yt,Ma as X,Md as qe,Oa as ke,Ob as ae,Oc as d,Od as Gt,Pb as u,Pc as f,Qb as zt,Qc as De,Ra as H,S as D,Sa as k,U as Nt,Ub as ze,Uc as j,Wb as M,Ya as At,Yb as He,Zb as Y,_b as G,a as Bt,ac as s,bc as V,ea as A,ec as re,fc as I,ic as g,id as Qe,kb as Ut,kc as b,la as Ie,lc as Ht,mc as Jt,oc as kt,pb as r,qa as z,qb as h,rc as Je,sc as $e,tc as Ye,ua as x,va as Pe,w as Ot,xc as E,zc as p}from"./chunk-42DU5DRR.js";function xn(t,o){if(t&1){let c=I();a(0,"button",8),g("click",function(i){_(c);let n=b();return y(n.edit(i,"input-hobby-description"))}),p(1),s()}if(t&2){let c=b();r(),v(c.hobby.description)}}var yt=(()=>{let o=class o{constructor(e,i,n){this.candidateProfileService=e,this.translateService=i,this.dialogService=n,this.change=H(),this.destroyRef=z(X)}remove(e){e?.preventDefault(),this.translateService.get(["app.shared.modals.profile.hobby.remove.confirmation","fibonacci.unstarOffer.confirm.text","fibonacci.unstarOffer.confirm.button","fibonacci.unstarOffer.confirm.cancel","fibonacci.unstarOffer.confirm.message"]).pipe(D(1)).subscribe(i=>{let n=new we;n.panelClass=["cc-modal","modal-dialog-centered","modal-md"],n.maxHeight="100vh",n.data={titleMessage:`${this.hobby.value}`,textMessage:i["app.shared.modals.profile.hobby.remove.confirmation"],confirmMessage:i["fibonacci.unstarOffer.confirm.button"],cancelMessage:i["fibonacci.unstarOffer.confirm.cancel"]};let l=this.dialogRef=this.dialogService.open(Ti,n);l.componentInstance.confirmed.pipe(A(l.afterClosed()),q(this.destroyRef)).subscribe(()=>{let m=this.hobbies.reduce((C,W)=>(W.value!==this.hobby.value&&C.push(W),C),[]);this.change.emit({hobbies:m,modal:l})})})}edit(e,i){e?.preventDefault();let n=this.dialogRef=this.candidateProfileService.openHobbyModal(this.hobby,i,this.hobbies);n.componentInstance.confirmed.pipe(A(n.afterClosed()),q(this.destroyRef)).subscribe(l=>{this.change.emit(l)})}ngOnDestroy(){this.dialogRef?.close()}};o.\u0275fac=function(i){return new(i||o)(h(O),h(J),h(Q))},o.\u0275cmp=x({type:o,selectors:[["app-hobby-item"]],inputs:{hobby:"hobby",hobbies:"hobbies"},outputs:{change:"change"},standalone:!0,features:[T],decls:19,vars:14,consts:[[1,"d-flex","flex-column","align-items-start","position-relative","cc-editable-block"],["type","button",1,"cc-editable-item","h5","font-weight-bold","mb-1",3,"click"],["type","button",1,"cc-pre-wrap","cc-editable-item","text-left","mb-0","cc-font-size-small"],[1,"cc-edit-icon-container"],["type","button",1,"cc-edit-icon",3,"click","matTooltip"],[1,"sr-only"],[1,"cc-mat-icon"],["type","button",1,"cc-edit-icon","ml-1",3,"click","matTooltip"],["type","button",1,"cc-pre-wrap","cc-editable-item","text-left","mb-0","cc-font-size-small",3,"click"]],template:function(i,n){i&1&&(a(0,"div",0)(1,"button",1),g("click",function(m){return n.edit(m,"input-hobby-title")}),p(2),s(),S(3,xn,2,1,"button",2),a(4,"div",3)(5,"button",4),d(6,"translate"),g("click",function(m){return n.remove(m)}),a(7,"span",5),p(8),d(9,"translate"),s(),a(10,"mat-icon",6),p(11,"delete"),s()(),a(12,"button",7),d(13,"translate"),g("click",function(m){return n.edit(m)}),a(14,"span",5),p(15),d(16,"translate"),s(),a(17,"mat-icon",6),p(18,"edit"),s()()()()),i&2&&(r(2),v(n.hobby.value),r(),M(n.hobby.description?3:-1),r(2),u("matTooltip",f(6,6,"generic.remove")),r(3),v(f(9,8,"app.shared.modals.profile.hobby.remove.label")),r(4),u("matTooltip",f(13,10,"generic.edit")),r(3),v(f(16,12,"app.profile.hobbies.hobby.edit")))},dependencies:[ie,L,w,P]});let t=o;return t})();function Tn(t,o){if(t&1){let c=I();a(0,"li",5)(1,"app-hobby-item",6),g("change",function(i){_(c);let n=b(2);return y(n.onHobbiesChange(i))}),s()()}if(t&2){let c=o.$implicit,e=b(2);r(),u("hobby",c)("hobbies",e.hobbies())}}function wn(t,o){if(t&1&&(a(0,"ul",1),Y(1,Tn,2,2,"li",5,He),s()),t&2){let c=b();r(),G(c.hobbies())}}function Mn(t,o){t&1&&(V(0,"p",2),d(1,"translate")),t&2&&u("innerHTML",f(1,1,"app.profile.hobbies.empty.punchline"),Ut)}var St=(()=>{let o=class o{constructor(e,i,n){this.candidateProfileService=e,this.translateService=i,this.ccNotifyService=n,this.hobbies=k([]),this.change=H(),this.destroyRef=z(X)}openAddHobbyModal(){if(this.hobbies()?.length===4)this.translateService.get("app.profile.hobbies.max").pipe(D(1)).subscribe(e=>this.ccNotifyService.warn({body:e}));else{let e=this.dialogRef=this.candidateProfileService.openHobbyModal(null,null,this.hobbies());e.componentInstance.confirmed.pipe(A(e.afterClosed()),q(this.destroyRef)).subscribe(i=>{this.change.emit(i)})}}onHobbiesChange(e){this.change.emit(e)}ngOnDestroy(){this.dialogRef?.close()}};o.\u0275fac=function(i){return new(i||o)(h(O),h(J),h(li))},o.\u0275cmp=x({type:o,selectors:[["app-hobby-list"]],inputs:{hobbies:[1,"hobbies"]},outputs:{change:"change"},standalone:!0,features:[T],decls:8,vars:4,consts:[[1,"text-center"],[1,"p-0","mb-0","text-left","list-unstyled"],[1,"m-0","mb-3","text-left",3,"innerHTML"],["type","button",1,"btn","btn-l","btn-tertiary","mt-2","align-self-lg-start","d-inline-flex","justify-content-center",3,"click"],[1,"mr-2"],[1,"position-relative","mb-3"],[3,"change","hobby","hobbies"]],template:function(i,n){if(i&1&&(a(0,"div",0),S(1,wn,3,0,"ul",1)(2,Mn,2,3,"p",2),s(),a(3,"button",3),g("click",function(){return n.openAddHobbyModal()}),a(4,"mat-icon",4),p(5,"add"),s(),p(6),d(7,"translate"),s()),i&2){let l;r(),M((l=n.hobbies())!=null&&l.length?1:2),r(5),R("",f(7,2,"app.profile.hobbies.hobby.add"),`
2`)}},dependencies:[L,yt,w,P]});let t=o;return t})();var Zi=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)}
2,o.\u0275mod=Pe({type:o}),o.\u0275inj=Ie({providers:[O],imports:[qe,w.forChild(),Li,Ji,ht,Oi,yt,St,Hi,gt,Vi,vt,Ni,Bi,Ai,qi,Ct,Ui,bt,Wi,_t,zi]});let t=o;return t})();var In=[$i],en=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)},o.\u0275mod=Pe({type:o}),o.\u0275inj=Ie({imports:[qe,nt,te,Z,at,ut,yi,ee,rt,Ce,Xe,Kt,w.forChild(),lt,In]});let t=o;return t})();var kn=["resumeFileInput"],Dn=(t,o)=>o.label;function En(t,o){if(t&1){let c=I();a(0,"li",14)(1,"a",15),g("click",function(){let i=_(c).$implicit;return y(i.action())}),a(2,"mat-icon",16),p(3,"add_circle_outline"),s(),a(4,"span",17),p(5),d(6,"translate"),s()()()}if(t&2){let c=o.$implicit;r(5),v(f(6,1,c.label))}}function Rn(t,o){if(t&1&&(a(0,"div",10)(1,"span",12),p(2),d(3,"translate"),s(),a(4,"ul",13),Y(5,En,7,3,"li",14,Dn),s()()),t&2){let c=b();r(2),v(f(3,1,"candidate.profile.completion.incompleteListHeading")),r(3),G(c.listEntries)}}var Tt=(()=>{let o=class o{constructor(e,i,n,l,m,C,W,Se,Ne){this.route=e,this.candidateService=i,this.candidateUserSessionService=n,this.candidateProfileService=l,this.transferStateService=m,this.translateService=C,this.notifyService=W,this.candidateResumeService=Se,this.dialogService=Ne,this.completion=0,this.listEntries=[],this.referenceData=k.required(),this.completionList={experience:{label:"candidate.profile.completion.list.experience",action:()=>this.addExperience()},schooling:{label:"candidate.profile.completion.list.schooling",action:()=>this.addSchooling()},resume:{label:"candidate.profile.completion.list.resume",action:()=>this.addResume()},experienceLevel:{label:"candidate.profile.completion.list.experienceLevel",action:()=>this.openSummaryFieldModal(Me.EXPERIENCE_LEVEL)},specialization:{label:"candidate.profile.completion.list.specialization",action:()=>this.addSpecialization()},language:{label:"candidate.profile.completion.list.language",action:()=>this.addLanguage()},license:{label:"candidate.profile.completion.list.license",action:()=>this.addLicense()},resumeTitle:{label:"candidate.profile.completion.list.resumeTitle",action:()=>this.openSummaryFieldModal(Me.RESUME_TITLE)},address:{label:"candidate.profile.completion.list.address",action:()=>this.openSummaryFieldModal(Me.ADDRESS)},phoneNumber:{label:"candidate.profile.completion.list.phoneNumber",action:()=>this.openSummaryFieldModal(Me.PHONE_NUMBER)},description:{label:"candidate.profile.completion.list.description",action:()=>this.openSummaryFieldModal(Me.DESCRIPTION)},profilePicture:{label:"candidate.profile.completion.list.profilePicture",action:()=>this.addPhoto()},birthDate:{label:"candidate.profile.completion.list.birthDate",action:()=>this.openSummaryFieldModal(Me.BIRTHDATE)},salary:{label:"candidate.profile.completion.list.salary",action:()=>this.addSalary()}}}ngOnInit(){this.subscription=this.candidateService.$candidateUpdated.subscribe(e=>{e.candidate&&Ot(null).pipe(Nt(1),D(1)).subscribe(()=>{this.updateCompletion(e.candidate),this.calculatePush()})}),this.route.data.pipe(D(1)).subscribe(e=>{this.updateCompletion(e.candidate),this.calculatePush()})}ngOnDestroy(){this.subscription?.unsubscribe()}addExperience(){let e=this.candidateProfileService.openExperienceModal(this.referenceData());e.componentInstance.confirmed.pipe(A(e.afterClosed())).subscribe(({experiences:i,modal:n})=>{let l={experiences:i};this.candidateProfileService.patchCandidate(l,n)})}addSchooling(){let e=this.candidateProfileService.openSchoolingModal(this.referenceData());e.componentInstance.confirmed.pipe(A(e.afterClosed())).subscribe(({schoolings:i,modal:n})=>{let l={schoolings:i};this.candidateProfileService.patchCandidate(l,n)})}addSpecialization(){this.translateService.get(["app.profile.skills.specialization.add.label","app.profile.skills.specialization.add.placeholder","generic.save","generic.cancel"]).pipe(D(1)).subscribe(e=>{let i=new Rt;i.allLevels=this.referenceData().jobLevels,i.selected=this.candidateUserSessionService.current().specializations,i.messages=e;let n=this.candidateProfileService.openSpecializationsModal(i);n.componentInstance.confirmed.pipe(A(n.afterClosed())).subscribe(({specializations:l,modal:m})=>{let C={specializations:l};this.candidateProfileService.patchCandidate(C,m)})})}addLanguage(){this.translateService.get(["app.profile.skills.language.add.label","app.profile.skills.language.add.hint","app.profile.skills.language.add.placeholder","generic.save","generic.cancel","app.profile.skills.language.checkbox.label"]).pipe(D(1)).subscribe(e=>{let i=new Rt;i.allLevels=this.referenceData().languageLevels,i.selected=this.candidateUserSessionService.current().languages,i.messages=e;let n=this.candidateProfileService.openLanguagesModal(i);n.componentInstance.confirmed.pipe(A(n.afterClosed())).subscribe(({languages:l,modal:m})=>{let C={languages:l};this.candidateProfileService.patchCandidate(C,m)})})}addLicense(){let e=this.candidateProfileService.openLicensesModal(this.candidateUserSessionService.current().drivingLicenses,this.referenceData().licenses);e.componentInstance.confirmed.pipe(A(e.afterClosed())).subscribe(({licenses:i,modal:n})=>{let l={drivingLicenses:i};this.candidateProfileService.patchCandidate(l,n)})}addPhoto(){let e=this.candidateUserSessionService.current().hasPhoto,i=this.candidateProfileService.openPhotoModal(null);i.componentInstance.confirmed.pipe(A(i.afterClosed())).subscribe(n=>{let l=new FormData;l.append("file",n.image.blob,n.fileName),this.candidateProfileService.updatePhoto(l,n.modal,{next:()=>{let m=this.translateService.instant(e?"app.shared.modals.profile.photo.notify.updatePhoto":"app.shared.modals.profile.photo.notify.addPhoto");this.notifyService.success({body:m})},error:m=>{i.componentInstance.canSubmitCrop=!0,this.notifyService.unexpectedError(m)}})})}addSalary(){let e=this.candidateProfileService.openSalaryModal(this.candidateUserSessionService.current().salaryFrom,this.candidateUserSessionService.current().displaySalaryToCompany);e.componentInstance.confirmed.pipe(A(e.afterClosed())).subscribe(({salaryFrom:i,displaySalaryToCompany:n,modal:l})=>{let m={salaryFrom:i,displaySalaryToCompany:n};this.candidateProfileService.patchCandidate(m,l)})}openSummaryFieldModal(e){let i=this.candidateProfileService.openSummaryMo
2dal(this.candidateUserSessionService.current(),e,this.referenceData());i.componentInstance.confirmed.pipe(A(i.afterClosed())).subscribe(n=>{this.candidateProfileService.patchCandidate(n,i)})}updateCompletion(e){this.completion=e?.profileFillingRate}calculatePush(){this.transferStateService.fetch("candidate:profile-push",this.candidateService.getCandidateProfilePush()).pipe(D(1),Ae(e=>(e??[]).map(i=>this.completionList[i]).filter(Boolean).slice(0,4))).subscribe(e=>this.listEntries=e)}addResume(){this.resumeFileInput.nativeElement.value="",this.resumeFileInput.nativeElement.click()}onResumeFileSelected(e){let i=e.target.files;if(i?.length){let n=new we;n.closeOnNavigation=!1,n.panelClass=["cc-modal","modal-md","cc-modal-viewport"],n.data=this.translateService.instant("app.shared.modals.profile.updateResume.message.profile");let l=this.dialogService.open(ft,n);l.componentInstance.confirmed.pipe(A(l.afterClosed())).subscribe(m=>{this.candidateResumeService.upload(i[0],"PUSH_PROFILE_RESUME",!m,m).pipe(D(1)).subscribe(C=>{this.notifyService.success({body:this.candidateResumeService.getResumeUploadedMessage(C)})})})}}};o.\u0275fac=function(i){return new(i||o)(h(Ee),h(B),h(se),h(O),h(Fe),h(J),h(ne),h(be),h(Q))},o.\u0275cmp=x({type:o,selectors:[["app-profile-completion"]],viewQuery:function(i,n){if(i&1&&Je(kn,5),i&2){let l;$e(l=Ye())&&(n.resumeFileInput=l.first)}},inputs:{referenceData:[1,"referenceData"]},standalone:!0,features:[T],decls:17,vars:11,consts:[["resumeFileInput",""],[1,"no-header-separator",3,"classContent"],[1,"d-flex","align-items-center","px-4","py-3"],[1,"cc-profile-completion-spinner","d-inline-flex","align-items-center","justify-content-center","mr-4"],["mode","determinate","diameter","64",1,"cc-profile-completion-spinner-track",3,"value"],["mode","determinate","diameter","64",1,"cc-profile-completion-spinner-active",3,"value"],[1,"cc-profile-completion-spinner-label","cc-font-size-small","cc-font-weight-bold"],[1,"d-flex","flex-column","justify-content-center","text-left"],[1,"mb-1"],[1,"cc-font-size-small","mb-0"],[1,"d-flex","align-items-start","flex-column","px-4","py-3"],["type","file",1,"d-none",3,"change"],[1,"h4","mb-2"],[1,"p-0","m-0"],[1,"list-unstyled","mb-2","mt-1"],["role","button","tabindex","0",1,"cc-text-underline-hover","link-ninja","cc-font-size-small","d-inline-flex","align-items-center",3,"click"],[1,"cc-mat-icon"],[1,"ml-2"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",1)(1,"div",2)(2,"div",3),V(3,"mat-progress-spinner",4)(4,"mat-progress-spinner",5),a(5,"span",6),p(6),s()(),a(7,"div",7)(8,"h3",8),p(9),d(10,"translate"),s(),a(11,"p",9),p(12),d(13,"translate"),s()()(),S(14,Rn,7,3,"div",10),s(),a(15,"input",11,0),g("change",function(C){return _(l),y(n.onResumeFileSelected(C))}),s()}i&2&&(u("classContent","cc-profile-completion-content p-0"),r(3),u("value",100),r(),u("value",n.completion),r(2),R("",n.completion,"%"),r(3),v(f(10,7,n.completion===100?"candidate.profile.completion.completed.title":"candidate.profile.completion.toComplete.title")),r(3),v(f(13,9,n.completion===100?"candidate.profile.completion.completed.subtitle":"candidate.profile.completion.toComplete.subtitle")),r(2),M(n.listEntries.length>0?14:-1))},dependencies:[w,P,$,fi,L]});let t=o;return t})();var Ln=t=>({count:t});function Vn(t,o){if(t&1&&(a(0,"p",4),p(1),d(2,"translate"),s()),t&2){let c=b();r(),R(" ",De(2,1,"app.profile.visibility.weeklyResumeViews",xe(4,Ln,c.weeklyResumeViews))," ")}}var Mt=(()=>{let o=class o{constructor(e,i,n,l,m,C){this.ccCandidateService=e,this.translateService=i,this.notifyService=n,this.logging=l,this.candidateUserSessionService=m,this.ccTrackersService=C,this.weeklyResumeViews=0}ngOnInit(){this.candidate=this.candidateUserSessionService.current(),this.candidateSubscription=this.ccCandidateService.$candidateUpdated.subscribe(e=>{this.candidate=e.candidate}),this.candidate?.visibleByCompany&&this.loadWeeklyResumeViews()}ngOnDestroy(){this.candidateSubscription?.unsubscribe()}updateProfileVisibility(){this.ccCandidateService.patch(this.candidate).pipe(D(1)).subscribe(e=>{this.translateService.get(["app.profile.visibility.notify.enabled","app.profile.visibility.notify.disabled"]).subscribe(i=>{this.notifyService.success({body:e.visibleByCompany?i["app.profile.visibility.notify.enabled"]:i["app.profile.visibility.notify.disabled"]}),e.visibleByCompany&&this.ccTrackersService.pushEvent(new tt(et.ENABLE_VISIBLE_BY_COMPANY,{candidateId:e.id}))})},e=>{this.logging.error("Error when updating profile visibility",e),this.notifyService.saveError()})}loadWeeklyResumeViews(){this.ccCandidateService.getWeeklyResumeViews().pipe(D(1)).subscribe({next:e=>this.weeklyResumeViews=e.weeklyResumeViews,error:e=>this.logging.error("Error when fetching weekly resume views",e)})}};o.\u0275fac=function(i){return new(i||o)(h(B),h(J),h(ne),h(Ke),h(se),h(it))}
2,o.\u0275cmp=x({type:o,selectors:[["app-profile-visibility"]],standalone:!0,features:[T],decls:9,vars:11,consts:[[1,"cc-bg-footer","px-4","py-3"],[1,"d-flex","justify-content-start","align-items-center"],[1,"mb-0"],[1,"ml-auto",3,"ngModelChange","change","ngModel","textChecked","textUnchecked"],[1,"mb-0","mt-2","cc-font-size-xsmall"]],template:function(i,n){i&1&&(a(0,"div",0)(1,"div",1)(2,"label",2),p(3),d(4,"translate"),s(),a(5,"cc-toggle",3),d(6,"translate"),d(7,"translate"),pe("ngModelChange",function(m){return ce(n.candidate.visibleByCompany,m)||(n.candidate.visibleByCompany=m),m}),g("change",function(){return n.updateProfileVisibility()}),s()(),S(8,Vn,3,6,"p",4),s()),i&2&&(r(3),v(f(4,5,"app.profile.visibility.toggle.label")),r(2),le("ngModel",n.candidate.visibleByCompany),u("textChecked",f(6,7,"generic.yes"))("textUnchecked",f(7,9,"generic.no")),r(3),M(n.weeklyResumeViews>0?8:-1))},dependencies:[Ii,K,me,fe,w,P]});let t=o;return t})();var Bn=["*"];function On(t,o){if(t&1){let c=I();a(0,"button",3),g("click",function(){_(c);let i=b();return y(i.close())}),a(1,"span",4)(2,"mat-icon",5),p(3,"close"),s()()()}}var It=(()=>{let o=class o{constructor(){this.closeable=!0,this.closed=new ke}close(){this.closed.emit()}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["cc-push"]],inputs:{closeable:"closeable"},outputs:{closed:"closed"},standalone:!0,features:[T],ngContentSelectors:Bn,decls:4,vars:1,consts:[["type","button","aria-label","Close",1,"mat-icon-button","close","cc-icon-ripple","mt-1","mr-1","text-white"],[1,"cc-block"],[1,"cc-block-content","cc-push"],["type","button","aria-label","Close",1,"mat-icon-button","close","cc-icon-ripple","mt-1","mr-1","text-white",3,"click"],["aria-hidden","true"],[1,"cc-mat-icon","mb-2"]],template:function(i,n){i&1&&(Ht(),S(0,On,4,0,"button",0),a(1,"section",1)(2,"div",2),Jt(3),s()()),i&2&&M(n.closeable?0:-1)},dependencies:[L],styles:["[_nghost-%COMP%]{display:block}"]});let t=o;return t})();function An(t,o){if(t&1){let c=I();a(0,"h4")(1,"span"),p(2),s(),a(3,"a",5),g("click",function(i){_(c);let n=b(2);return y(n.openGenerationModal(i))}),p(4),d(5,"translate"),s(),p(6),d(7,"translate"),s()}if(t&2){let c=b(2);r(2),R("",c.candidate.firstName,", "),r(2),v(f(5,3,"app.profile.push.apply.without.resume.generation")),r(2),R(" ",f(7,5,"app.profile.push.apply.without.resume.title")," ")}}function Un(t,o){if(t&1){let c=I();a(0,"h4")(1,"a",5),g("click",function(i){_(c);let n=b(2);return y(n.openGenerationModal(i))}),p(2),d(3,"translate"),d(4,"capitalize"),s(),p(5),d(6,"translate"),s()}t&2&&(r(2),v(f(4,4,f(3,2,"app.profile.push.apply.without.resume.generation"))),r(3),R(" ",f(6,6,"app.profile.push.apply.without.resume.title")," "))}function Wn(t,o){if(t&1){let c=I();a(0,"cc-push",0),g("closed",function(){_(c);let i=b();return y(i.closeProfileApplyWithoutResumePush())}),a(1,"div",1)(2,"div",2),V(3,"span",3),s(),a(4,"div",4),S(5,An,8,7,"h4")(6,Un,7,8,"h4"),a(7,"p"),p(8),d(9,"translate"),a(10,"a",5),g("click",function(i){_(c);let n=b();return y(n.goToOfferSaved(i))}),p(11),d(12,"translate"),s()()()()()}if(t&2){let c=b();u("@fadeInOut",void 0),r(5),M(c.candidate.firstName?5:-1),r(),M(c.candidate.firstName?-1:6),r(2),R(" ",f(9,5,"app.profile.push.apply.without.resume.explanation")," "),r(3),v(f(12,7,"app.profile.push.apply.without.resume.offer.saved"))}}var Ue=(()=>{let o=class o{constructor(e,i,n){this.ccLocalStorageService=e,this.candidateResumeService=i,this.router=n,this.close=new ke,this.show=!0}closeProfileApplyWithoutResumePush(){this.show=!1,this.ccLocalStorageService.removeValue(o.APPLY_WITHOUT_RESUME),this.close.emit(null)}openGenerationModal(e){e.preventDefault();let i=new dt;this.candidateResumeService.openCreation(i),this.closeProfileApplyWithoutResumePush()}goToOfferSaved(e){e.preventDefault(),this.closeProfileApplyWithoutResumePush(),this.router.navigate(["/jobs/saved"])}};o.APPLY_WITHOUT_RESUME="apply_without_resume",o.\u0275fac=function(i){return new(i||o)(h(ct),h(be),h(Qt))},o.\u0275cmp=x({type:o,selectors:[["app-profile-apply-without-resume-push"]],inputs:{candidate:"candidate"},outputs:{close:"close"},standalone:!0,features:[T],decls:1,vars:1,consts:[[3,"closed"],[1,"row","d-flex","align-items-center"],[1,"col-lg-1","pl-2","pr-4","mb-3","mb-lg-0"],[1,"fas","fa-magic"],[1,"col-lg-11","mb-3","mb-lg-0"],["role","button","tabindex","0",3,"click"]],template:function(i,n){i&1&&S(0,Wn,13,9,"cc-push"),i&2&&M(n.show?0:-1)},dependencies:[It,w,P,st],styles:["[_nghost-%COMP%]     p, [_nghost-%COMP%]     h4{margin-bottom:unset}[_nghost-%COMP%]     p a, [_nghost-%COMP%]     h4 a{color:inherit!important;font-weight:700}[_nghost-%COMP%]     .fas{font-size:3rem}"],data:{animation:[mt.fadeInOut]}});let t=o;return t})();function Hn(t,o){if(t&1&&(a(0,"h4"),p(1),d(2,"translate"),s()),t&2){let c=b(2);r(),Ge(" ",c.candidate.firstName,", ",f(2,2,"app.profile.push.visibility.title")," ")}}function Jn(t,o){t&1&&(a(0,"h4"),p(1),d(2,"translate"),d(3,"capitalize"),s()),t&2&&(r(),R(" ",f(3,3,f(2,1,"app.profile.push.visibility.title"))," "))}function $n(t,o){if(t&1){let c=I();a(0,"cc-push",0),g("closed",function(){_(c);let i=b();return y(i.closeProfileVisibilityPush())}),a(1,"div",1)(2,"div",2),V(3,"span",3),s(),a(4,"div",4),S(5,Hn,3,4,"h4")(6,Jn,4,5,"h4"),a(7,"div"),p(8),d(9,"translate"),s()(),a(10,"div",5)(11,"button",6),g("click",function(){_(c);let i=b();return y(i.enableProfileVisibility())}),p(12),d(13,"translate"),s()()()()}if(t&2){let c=b();u("@fadeInOut",void 0),r(5),M(c.candidate.firstName?5:-1),r(),M(c.candidate.firstName?-1:6),r(2),R(" ",f(9,6,"app.profile.push.visibility.explanation")," "),r(3),u("disabled",c.saving),r(),v(f(13,8,"app.profile.push.visibility.signup"))}}var We=(()=>{let o=class o{constructor(e,i,n,l,m,C,W){this.ccCandidateService=e,this.translateService=i,this.notifyService=n,this.logging=l,this.cookiesService=m,this.ccTrackersService=C,this.config=W,this.close=new ke,this.show=!0,this.saving=!1}closeProfileVisibilityPush(){this.show=!1,this.cookiesService.set(o.NOTIFY_PROFILE_VISIBILITY,"true",{expires:14}),this.close.emit(null)}enableProfileVisibility(){this.saving=!0;let e={visibleByCompany:!0};this.ccCandidateService.patch(e).pipe(D(1)).subscribe(i=>{this.saving=!1,i.hasResume&&(this.show=!1,this.translateService.get("app.profile.push.visibility.notify.signup.success").pipe(D(1)).subscribe(n=>this.notifyService.success({body:n}))),i.visibleByCompany&&this.ccTrackersService.pushEvent(new tt(et.ENABLE_VISIBLE_BY_COMPANY,{candidateId:i.id})),this.close.emit(null)},i=>{this.logging.error("Error when enabling profile visibility",i),this.saving=!1,this.notifyService.saveError()})}};o.NOTIFY_PROFILE_VISIBILITY="notify_profile_visibility",o.\u0275fac=function(i){return new(i||o)(h(B),h(J),h(ne),h(Ke),h(Ze),h(it),h(oi))},o.\u0275cmp=x({type:o,selectors:[["app-profile-visibility-push"]],inputs:{candidate:"candidate"},outputs:{close:"close"},standalone:!0,features:[T],decls:1,vars:1,consts:[[3,"closed"],[1,"row","d-flex","align-items-center"],[1,"col-lg-1","pl-2","pr-4","mb-3","mb-lg-0"],[1,"fas","fa-ghost"],[1,"col-lg-9","mb-3","mb-lg-0"],[1,"col-lg-2"],["type","button",1,"btn","btn-default","text-nowrap","ml-auto","mr-2",3,"click","disabled"]],template:function(i,n){i&1&&S(0,$n,14,10,"cc-push"),i&2&&M(n.show?0:-1)},dependencies:[It,w,P,st],styles:[".fas[_ngcontent-%COMP%]{font-size:3rem}"],data:{animation:[mt.fadeInOut]}});let t=o;return t})();function Yn(t,o){if(t&1){let c=I();a(0,"app-profile-apply-without-resume-push",1),g("close",function(){_(c);let i=b();return y(i.onClose())}),s()}if(t&2){let c=b();u("candidate",c.candidate)}}function Gn(t,o){if(t&1){let c=I();a(0,"app-profile-visibility-push",1),g("close",function(){_(c);let i=b();return y(i.onClose())}),s()}if(t&2){let c=b();u("candidate",c.candidate)}}var Pt=(()=>{let o=class o{constructor(e,i,n,l,m){this.ccLocalStorageService=e,this.cookiesService=i,this.ccCandidateUserSession=n,this.ccCandidateService=l,this.transferStateService=m,this.showApplyWithoutResumePush=!1,this.showProfileVisibilityPush=!1}ngOnInit(){this.candidate=this.ccCandidateUserSession.current(),this.candidate&&this.calculatePush(),this.subscription=this.ccCandidateService.$candidateUpdated.subscribe(e=>{this.candidate=e.candidate,this.calculatePush()})}ngOnDestroy(){this.subscription?.unsubscribe()}onClose(){this.calculatePush()}calculatePush(){this.showProfileVisibilityPush=!this.cookiesService.get(We.NOTIFY_PROFILE_VISIBILITY)&&!this.candidate.visibleByCompany,this.showApplyWithoutResumePush=this.ccLocalStorageService.getValue(Ue.APPLY_WITHOUT_RESUME),this.transferStateService.fetch("candidate:profile-push",this.ccCandidateService.getCandidateProfilePush()).pipe(D(1)).subscribe(e=>{this.candidateProfilePush=e,this.showApplyWithoutResumePush?this.showPushType="APP
2LY_WITHOUT_RESUME":this.showProfileVisibilityPush?this.showPushType="PROFILE_VISIBILITY":this.showPushType=null})}};o.\u0275fac=function(i){return new(i||o)(h(ct),h(Ze),h(se),h(B),h(Fe))},o.\u0275cmp=x({type:o,selectors:[["app-profile-pushes"]],inputs:{referenceData:"referenceData"},standalone:!0,features:[T],decls:2,vars:1,consts:[[3,"candidate"],[3,"close","candidate"]],template:function(i,n){if(i&1&&S(0,Yn,1,1,"app-profile-apply-without-resume-push",0)(1,Gn,1,1,"app-profile-visibility-push",0),i&2){let l;M((l=n.showPushType)==="APPLY_WITHOUT_RESUME"?0:l==="PROFILE_VISIBILITY"?1:-1)}},dependencies:[Ue,We]});let t=o;return t})();var Qn=()=>({fromModal:!1}),qn=t=>({"d-flex justify-content-center align-items-center":t}),Xn=t=>({"cc-spinner-container":t}),Kn=()=>({fromModal:!0});function Zn(t,o){if(t&1&&(a(0,"p"),p(1),d(2,"translate"),s()),t&2){let c=b();zt("background-image","url("+c.assets.theme("images/noCV.svg")+")"),r(),R(" ",f(2,3,"resume.push.noCv")," ")}}function eo(t,o){if(t&1&&(a(0,"span",20),p(1),d(2,"translate"),d(3,"date"),s()),t&2){let c=b(2);r(),Ge(" ",f(2,2,"resume.push.updatedOn")," ",De(3,4,c.candidate.lastModified,"dd/MM/yyyy"),"")}}function to(t,o){if(t&1&&(a(0,"div",8)(1,"mat-icon",17),p(2,"description"),s(),a(3,"div",18)(4,"span",19),p(5),s(),S(6,eo,4,7,"span",20),s(),a(7,"mat-icon",17),p(8,"visibility"),s()()),t&2){let c=b();r(5),v(c.resumeName),r(),M(c.candidate!=null&&c.candidate.lastModified?6:-1)}}function io(t,o){t&1&&re(0)}function no(t,o){if(t&1&&(a(0,"div",10)(1,"div",21),V(2,"div",22),a(3,"div",23)(4,"strong"),p(5),d(6,"translate"),s()()()()),t&2){let c=b();u("ngClass",xe(8,qn,c.candidate==null?null:c.candidate.hasResume)),r(),u("ngClass",xe(10,Xn,!(c.candidate!=null&&c.candidate.hasResume))),r(),ze("cc-spinner",c.candidate!=null&&c.candidate.hasResume?" cc-spinner-xs":"",""),r(3),R(" ",f(6,6,c.processing?"taskmaster.modal.progress.title":"generic.loading")," ")}}function oo(t,o){t&1&&(a(0,"span",24),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"resume.push.title")))}function ao(t,o){t&1&&(a(0,"div",30)(1,"div",32),V(2,"span",33),a(3,"div",23)(4,"strong"),p(5),d(6,"translate"),s()()()()),t&2&&(r(5),v(f(6,1,"generic.loading")))}function ro(t,o){if(t&1&&(a(0,"div",30)(1,"div",34),V(2,"div",35),a(3,"div",23)(4,"strong"),p(5),d(6,"translate"),s()()()()),t&2){let c=b(2);r(5),R(" ",f(6,1,c.processing?"taskmaster.modal.progress.title":"generic.loading")," ")}}function so(t,o){t&1&&re(0)}function lo(t,o){if(t&1&&(a(0,"div",31),S(1,so,1,0,"ng-container",9),s()),t&2){b(2);let c=E(26);r(),u("ngTemplateOutlet",c)("ngTemplateOutletContext",Dt(2,Kn))}}function co(t,o){if(t&1){let c=I();a(0,"div",25)(1,"h2"),p(2),d(3,"translate"),s(),a(4,"button",26),d(5,"translate"),g("click",function(){_(c);let i=b();return y(i.matDialogRef.close())}),a(6,"mat-icon"),p(7,"close"),s()()(),a(8,"div",27)(9,"div",28)(10,"ngx-extended-pdf-viewer",29),g("pagesLoaded",function(){_(c);let i=b();return y(i.onPdfPagesLoaded())}),s(),S(11,ao,7,3,"div",30)(12,ro,7,3,"div",30),s()(),S(13,lo,2,3,"div",31)}if(t&2){let c=b();r(2),v(f(3,13,"resume.push.modalTitle")),r(2),ae("aria-label",f(5,15,"generic.close")),r(6),u("src",c.candidateResume)("textLayer",!1)("disableForms",!0)("contextMenuAllowed",!1)("showToolbar",!1)("pageViewMode",c.pageViewMode)("showHandToolButton",!0)("sidebarVisible",!1),r(),M(c.loading?11:-1),r(),M(c.uploading===!0?12:-1),r(),M(c.loading?-1:13)}}function po(t,o){if(t&1){let c=I();a(0,"button",37),g("click",function(i){_(c);let n=b(3);return y(n.downloadResume(i))}),V(1,"span",38),a(2,"span",39),p(3),d(4,"translate"),s()(),a(5,"button",40),d(6,"translate"),g("click",function(i){_(c);let n=b(3);return y(n.removeResume(i))}),V(7,"span",41),s()}t&2&&(r(3),v(f(4,2,"resume.push.buttons.download")),r(2),u("matTooltip",f(6,4,"resume.push.buttons.remove")))}function mo(t,o){if(t&1&&(a(0,"form"),S(1,po,8,6),s()),t&2){let c=b().fromModal,e=b();ze("bottom ",e.candidate!=null&&e.candidate.hasResume?" has-resume":"",""),r(),M(e.candidate!=null&&e.candidate.hasResume&&c?1:-1)}}function fo(t,o){if(t&1&&S(0,mo,2,4,"form",36),t&2){let c=o.fromModal,e=b();M(c||!(e.candidate!=null&&e.candidate.hasResume)?0:-1)}}function uo(t,o){t&1&&V(0,"app-profile-visibility")}function ho(t,o){if(t&1&&S(0,uo,1,0,"app-profile-visibility"),t&2){let c,e=b();M((c=e.ccCandidateUserSessionService.current())!=null&&c.displayVisibleByCompany?0:-1)}}var tn=(()=>{let o=class o{constructor(e,i,n,l,m,C,W,Se,Ne){this.ccCandidateService=e,this.dialogService=i,this.downloadService=n,this.notifyService=l,this.translateService=m,this.candidateResumeService=C,this.candidateUserSessionService=W,this.assets=Se,this.ccCandidateUserSessionService=Ne,this.uploadSuffix="",this.loading=!1,this.processing=!1,this.uploading=!1,this.page=1,this.candidateResume=null,this.resumeName="",this.subscriptions=[],this.defaultPageViewMode="single",this.pageViewMode=this.defaultPageViewMode}ngOnInit(){this.candidate=this.candidateUserSessionService.current(),this.subscriptions.push(this.ccCandidateService.$candidateUpdated.subscribe(e=>{this.candidate=e.candidate})),this.subscriptions.push(this.candidateResumeService.$resumeUploading.subscribe(e=>this.uploading=e)),this.subscriptions.push(this.candidateResumeService.$resumeProcessing.subscribe(e=>this.processing=e)),this.subscriptions.push(this.candidateResumeService.$resumeErrored.subscribe(()=>{this.loading=!1,this.uploading=!1})),this.subscriptions.push(this.candidateResumeService.$resumeUpdated.subscribe(e=>{e&&(this.candidateResume=null)})),this.subscriptions.push(this.candidateResumeService.$resumeNameUpdated.subscribe(e=>{e&&(e.toLowerCase().endsWith(Et)?this.resumeName=e:this.fetchResumeInformation())})),this.subscriptions.push(this.candidateResumeService.$resumeRemoved.subscribe(e=>{e&&(this.candidateResume=null,this.resumeName="",this.matDialogRef?.close())})),this.candidate?.hasResume&&this.fetchResumeInformation()}
2ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}openGenerationModal(e){e.stopPropagation();let i=new dt;this.candidateResumeService.openCreation(i)}openVisualizationModal(e,i){if(this.candidate.hasResume&&(!i||i&&i.srcElement.getAttribute("data-action")==="cvSection")){let n=new we;n.panelClass=["cc-modal","modal-fit-layout","cc-modal-viewport","mb-0"],n.closeOnNavigation=!1,n.maxHeight="100vh",n.data={hasResume:this.candidate.hasResume},this.matDialogRef=this.dialogService.open(e,n);let l=this.matDialogRef.beforeClosed().subscribe(()=>{this.pdfViewer?.ngOnDestroy(),this.pageViewMode=this.defaultPageViewMode,l.unsubscribe()});this.candidateResume===null&&(this.loading=!0,this.ccCandidateService.getResume(Et).subscribe(m=>{this.candidateResume=new Blob([m]),this.loading=!1},()=>{this.loading=!1,this.matDialogRef.close(),this.translateService.get("app.profile.summary.resume.noFilePreview").subscribe(m=>{this.notifyService.error({text:m})})}))}}downloadResume(e){e.stopPropagation(),this.downloadService.download("/api/candidate/resume",null,()=>this.notifyService.standardError())}handleResumeSelection(e){e.stopPropagation()}handleResumeUpload(e){e.stopPropagation();let n=e.target.files;if(n.length){let l=new we;l.closeOnNavigation=!1,l.panelClass=["cc-modal","modal-md","cc-modal-viewport"],l.data=this.translateService.instant("app.shared.modals.profile.updateResume.message.profile"),this.resumeMatDialogRef=this.dialogService.open(ft,l),this.resumeMatDialogRef.componentInstance.confirmed.pipe(A(this.resumeMatDialogRef.afterClosed())).subscribe(m=>{this.candidateResumeService.upload(n[0],"PROFILE",!m,m).pipe(D(1)).subscribe(C=>{this.notifyService.success({body:this.candidateResumeService.getResumeUploadedMessage(C)})})})}}removeResume(e){e.stopPropagation(),this.translateService.get(["app.profile.summary.resume.delete.confirm.title","app.profile.summary.resume.delete.confirm.message","app.profile.summary.resume.notify.deleted"]).subscribe(i=>{let n=new Ei;n.confirmationTitle=i["app.profile.summary.resume.delete.confirm.title"],n.confirmationMessage=i["app.profile.summary.resume.delete.confirm.message"],n.successMessage=i["app.profile.summary.resume.notify.deleted"],this.candidateResumeService.remove(n)})}onPdfPagesLoaded(){this.pageViewMode="infinite-scroll"}fetchResumeInformation(){this.ccCandidateService.getResumeMediaInformation().pipe(D(1)).subscribe(e=>{Array.isArray(e)&&ci(e[0]?.fileName)&&(this.resumeName=e[0].fileName)})}};o.\u0275fac=function(i){return new(i||o)(h(B),h(Q),h(ki),h(ne),h(J),h(be),h(se),h(Zt),h(se))},o.\u0275cmp=x({type:o,selectors:[["app-profile-cv-creation"]],viewQuery:function(i,n){if(i&1&&Je(pt,5),i&2){let l;$e(l=Ye())&&(n.pdfViewer=l.first)}},inputs:{uploadSuffix:"uploadSuffix"},standalone:!0,features:[T],decls:29,vars:26,consts:[["fileInput",""],["headerTemplate",""],["visualizationModal",""],["navBar",""],["footerTemplate",""],["classHeader","pb-0","classFooter","p-0",1,"no-header-separator",3,"header","footer"],["matTooltipPosition","left","data-action","cvSection",3,"click","keyup.enter","matTooltip","tabIndex","matTooltipShowDelay"],[3,"background-image"],[1,"d-flex","align-items-center","resume-name-block","cc-bg-gray-100","cc-cursor-pointer","p-2"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"cc-loader","position-fixed",3,"ngClass"],[1,"cc-gap-4","d-flex","flex-row","mt-4"],["type","file",1,"d-none",3,"click","change","id"],["type","button",1,"btn","btn-tertiary","btn-l","flex-grow-1",3,"click","id"],["aria-hidden","true",1,"ft","ft-upload","mr-2"],["id","profile-resume-create-btn","type","button","ccEventCategory","RESUME_GENERATION","ccEventLabel","PROFILE_MENU","ccTrackingClick","",1,"btn","btn-primary","btn-l","flex-grow-1",3,"click"],["aria-hidden","true",1,"fa","fa-magic","mr-2"],[1,"cc-mat-icon","m-2"],[1,"d-flex","flex-column","flex-grow-1","align-items-start","text-start","mx-2","my-1"],[1,"cc-font-size-small","cc-font-weight-medium","text-truncate"],[1,"cc-font-size-xsmall"],[1,"d-flex","align-items-center","justify-content-center","flex-column",3,"ngClass"],["aria-hidden","true"],[1,"cc-loader-text-container","mt-2"],[1,"h3","m-0"],["mat-dialog-title",""],["type","button","mat-dialog-close","",1,"cc-mat-close",3,"click"],["mat-dialog-content",""],[1,"pdf-wrapper"],[3,"pagesLoaded","src","textLayer","disableForms","contextMenuAllowed","showToolbar","pageViewMode","showHandToolButton","sidebarVisible"],[1,"cc-loader"],["mat-dialog-actions","","align","end"],[1,"cc-spinner-container","d-flex","align-items-center","justify-content-center","flex-column","pb-2","pt-2"],["aria-hidden","true",1,"cc-spinner","cc-spinner-xl"],[1,"d-flex","align-items-center","justify-content-center","flex-column","cc-spinner-container"],["aria-hidden","true",1,"cc-spinner","cc-spinner-xs"],[3,"class"],["type","button",1,"btn","btn-primary",3,"click"],["aria-hidden","true",1,"fa","fa-download"],[1,"ml-2"],["type","button",1,"btn","btn-default",3,"click","matTooltip"],["aria-hidden","true",1,"fa","fa-tras
2h-alt"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",5)(1,"div")(2,"div",6),d(3,"translate"),g("click",function(){_(l);let C=E(24);return y(n.openVisualizationModal(C,null))})("keyup.enter",function(C){_(l);let W=E(24);return y(n.openVisualizationModal(W,C))}),S(4,Zn,3,5,"p",7)(5,to,9,2,"div",8)(6,io,1,0,"ng-container",9),s(),S(7,no,7,12,"div",10),a(8,"div",11)(9,"input",12,0),g("click",function(C){return _(l),y(n.handleResumeSelection(C))})("change",function(C){return _(l),y(n.handleResumeUpload(C))}),s(),a(11,"button",13),g("click",function(){_(l);let C=E(10);return y(C.click())}),V(12,"span",14),a(13,"span"),p(14),d(15,"translate"),s()(),a(16,"button",15),g("click",function(C){return _(l),y(n.openGenerationModal(C))}),V(17,"span",16),a(18,"span"),p(19),d(20,"translate"),s()()()()(),S(21,oo,3,3,"ng-template",null,1,j)(23,co,14,17,"ng-template",null,2,j)(25,fo,1,1,"ng-template",null,3,j)(27,ho,1,1,"ng-template",null,4,j)}if(i&2){let l=E(22),m=E(26),C=E(28);u("header",l)("footer",C),r(),ze("cv-creation-component-wrapper text-center ",n.candidate!=null&&n.candidate.hasResume?"has-resume":"no-resume",""),r(),u("matTooltip",n.candidate!=null&&n.candidate.hasResume?f(3,19,"resume.push.buttons.seeCV"):null)("tabIndex",n.candidate!=null&&n.candidate.hasResume?0:-1)("matTooltipShowDelay",500),ae("role",n.candidate!=null&&n.candidate.hasResume?"button":"complementary"),r(2),M(n.candidate!=null&&n.candidate.hasResume?5:4),r(2),u("ngTemplateOutlet",m)("ngTemplateOutletContext",Dt(25,Qn)),r(),M(n.uploading===!0?7:-1),r(2),kt("id","modify-resume-header-",n.uploadSuffix,""),r(2),kt("id","modify-resume-header-",n.uploadSuffix,""),r(3),v(f(15,21,"resume.push.buttons.upload")),r(5),v(f(20,23,"resume.push.buttons.create"))}},dependencies:[$,ie,de,K,si,ai,ri,$t,Yt,L,w,P,Pi,pt,he,ue,hi,ve,ge,Mt],styles:[".cv-creation-component-wrapper.has-resume[_ngcontent-%COMP%]   .resume-name-block[_ngcontent-%COMP%]{border-radius:3px;min-height:55px}.cv-creation-component-wrapper.no-resume[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{padding-top:105px;background-size:60px;background-repeat:no-repeat;background-position:50% 1rem}form.bottom[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 1rem 0 0}@media (max-width: 768px){form.bottom[_ngcontent-%COMP%]   .btn[_ngcontent-%COMP%]{margin:0 1rem .5rem 0}}.mat-icon-upload[_ngcontent-%COMP%]{vertical-align:top;height:21px}.cc-block[_ngcontent-%COMP%]{overflow:hidden}.cc-block[_ngcontent-%COMP%]   .cc-loader[_ngcontent-%COMP%]{border-radius:0}.from-modal[_ngcontent-%COMP%]{padding:.5rem 0;bottom:0}.line-height-0[_ngcontent-%COMP%]{line-height:0}"]});let t=o;return t})();function go(t,o){t&1&&(a(0,"span",3),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.experiences.title")))}var nn=(()=>{let o=class o{constructor(e,i){this.candidateService=e,this.candidateProfileService=i,this.actionName=k(),this.experiences=U([]),this.industryFields=k([])}ngOnInit(){this.subscription=this.candidateService.$candidateUpdated.subscribe(e=>{this.experiences.set(e.candidate.experiences)})}ngOnDestroy(){this.subscription?.unsubscribe()}save(e){this.candidateProfileService.patchCandidate({experiences:e.experiences},e.modal)}};o.\u0275fac=function(i){return new(i||o)(h(B),h(O))},o.\u0275cmp=x({type:o,selectors:[["app-profile-experiences"]],inputs:{actionName:[1,"actionName"],experiences:[1,"experiences"],industryFields:[1,"industryFields"]},outputs:{experiences:"experiencesChange"},standalone:!0,features:[T],decls:4,vars:4,consts:[["headerTemplate",""],["id","experiences-block","classHeader","pb-2","classContent","d-flex flex-column",1,"no-header-separator",3,"header"],[3,"change","actionName","experiences","industryFields"],[1,"h3","m-0"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",1)(1,"app-experience-list",2),g("change",function(C){return _(l),y(n.save(C))}),s()(),S(2,go,3,3,"ng-template",null,0,j)}if(i&2){let l=E(3);u("header",l),r(),u("actionName",n.actionName())("experiences",n.experiences())("industryFields",n.industryFields())}},dependencies:[$,w,P,ht]});let t=o;return t})();function vo(t,o){t&1&&(a(0,"p",3),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"app.profile.hobbies.title")))}var on=(()=>{let o=class o{constructor(e,i){this.candidateService=e,this.candidateProfileService=i,this.hobbies=U([])}ngOnInit(){this.subscription=this.candidateService.$candidateUpdated.subscribe(e=>
2{this.hobbies.set(e.candidate.hobbiesData)})}ngOnDestroy(){this.subscription?.unsubscribe()}save(e){this.candidateProfileService.patchCandidate({hobbiesData:e.hobbies},e.modal)}};o.\u0275fac=function(i){return new(i||o)(h(B),h(O))},o.\u0275cmp=x({type:o,selectors:[["app-profile-hobbies"]],inputs:{hobbies:[1,"hobbies"]},outputs:{hobbies:"hobbiesChange"},standalone:!0,features:[T],decls:4,vars:2,consts:[["headerTemplate",""],["classHeader","pb-2","classContent","d-flex flex-column",1,"no-header-separator",3,"header"],[3,"change","hobbies"],[1,"h3","mb-0"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",1)(1,"app-hobby-list",2),g("change",function(C){return _(l),y(n.save(C))}),s()(),S(2,vo,3,3,"ng-template",null,0,j)}if(i&2){let l=E(3);u("header",l),r(),u("hobbies",n.hobbies())}},dependencies:[$,w,P,St]});let t=o;return t})();function Co(t,o){t&1&&(a(0,"span",3),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.schoolings.title")))}var an=(()=>{let o=class o{constructor(e,i){this.candidateService=e,this.candidateProfileService=i,this.degrees=k([]),this.schoolings=U([])}ngOnInit(){this.subscription=this.candidateService.$candidateUpdated.subscribe(e=>{this.schoolings.set(e.candidate.schoolings||[])})}ngOnDestroy(){this.subscription?.unsubscribe()}save(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,schoolings:e.schoolings},e.modal)}};o.\u0275fac=function(i){return new(i||o)(h(B),h(O))},o.\u0275cmp=x({type:o,selectors:[["app-profile-schoolings"]],inputs:{degrees:[1,"degrees"],schoolings:[1,"schoolings"]},outputs:{schoolings:"schoolingsChange"},standalone:!0,features:[T],decls:4,vars:3,consts:[["headerTemplate",""],["id","schoolings-block","classHeader","pb-2","classContent","d-flex flex-column",1,"no-header-separator",3,"header"],[3,"change","schoolings","degrees"],[1,"h3","m-0"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",1)(1,"app-schooling-list",2),g("change",function(C){return _(l),y(n.save(C))}),s()(),S(2,Co,3,3,"ng-template",null,0,j)}if(i&2){let l=E(3);u("header",l),r(),u("schoolings",n.schoolings())("degrees",n.degrees())}},dependencies:[$,Ct,w,P]});let t=o;return t})();function bo(t,o){t&1&&(a(0,"span",8),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.skills.title")))}var rn=(()=>{let o=class o{constructor(e,i){this.ccCandidateService=e,this.candidateProfileService=i,this.referenceData=k(),this.specializations=U([]),this.languages=U([]),this.licenses=U([]),this.subscriptions=[]}ngOnInit(){this.subscriptions.push(this.ccCandidateService.$candidateUpdated.subscribe(e=>{this.specializations.set(e.candidate.specializations),this.languages.set(e.candidate.languages),this.licenses.set(e.candidate.drivingLicenses)}))}ngOnDestroy(){this.subscriptions.forEach(e=>e.unsubscribe())}saveSpecializations(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,specializations:e.specializations},e.modal)}saveLanguages(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,languages:e.languages},e.modal)}saveLicenses(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,drivingLicenses:e.licenses},e.modal)}};o.\u0275fac=function(i){return new(i||o)(h(B),h(O))},o.\u0275cmp=x({type:o,selectors:[["app-profile-skills"]],inputs:{referenceData:[1,"referenceData"],specializations:[1,"specializations"],languages:[1,"languages"],licenses:[1,"licenses"]},outputs:{specializations:"specializationsChange",languages:"languagesChange",licenses:"licensesChange"},standalone:!0,features:[T],decls:19,vars:17,consts:[["headerTemplate",""],["id","skills-block","classHeader","pb-0",1,"no-header-separator",3,"header"],[1,"pl-0","mb-0","d-flex","flex-column","cc-gap-8"],[1,"list-unstyled"],[1,"cc-font-size-medium","cc-font-weight-semi-bold"],[3,"change","specializations","jobExperienceLevels"],[3,"change","languageNames","languageLevels","languages"],[3,"change","licenseTypes","licenses"],[1,"h3","m-0"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",1)(1,"ul",2)(2,"li",3)(3,"div",4),p(4),d(5,"translate"),s(),a(6,"app-specialization-list",5),g("change",function(C){return _(l),y(n.saveSpecializations(C))}),s()(),a(7,"li",3)(8,"div",4),p(9),d(10,"translate"),s(),a(11,"app-language-list",6),g("change",function(C){return _(l),y(n.saveLanguages(C))}),s()(),a(12,"li",3)(13,"div",4),p(14),d(15,"translate"),s(),a(16,"app-lice
2nse-list",7),g("change",function(C){return _(l),y(n.saveLicenses(C))}),s()()()(),S(17,bo,3,3,"ng-template",null,0,j)}if(i&2){let l=E(18);u("header",l),r(4),v(f(5,11,"app.profile.skills.specializations.title")),r(2),u("specializations",n.specializations())("jobExperienceLevels",n.referenceData().jobLevels),r(3),v(f(10,13,"app.profile.skills.languages.title")),r(2),u("languageNames",n.referenceData().languageNames)("languageLevels",n.referenceData().languageLevels)("languages",n.languages()),r(3),v(f(15,15,"app.profile.skills.licenses.title")),r(2),u("licenseTypes",n.referenceData().licenses)("licenses",n.licenses())}},dependencies:[$,bt,w,P,gt,vt,xi]});let t=o;return t})();var sn=(()=>{let o=class o{constructor(e,i,n,l,m,C){this.route=e,this.translateService=i,this.candidateService=n,this.candidateProfileService=l,this.candidateResumeService=m,this.notifyService=C,this.candidate=new Te,this.subscriptions=[]}ngOnInit(){this.route.data.pipe(D(1)).subscribe(e=>this.setCandidate(e.candidate)),this.subscriptions.push(this.candidateService.$candidateUpdated.subscribe(e=>{this.setCandidate(e.candidate)})),this.subscriptions.push(this.candidateProfileService.$photoChanged.subscribe(e=>{e&&this.setPhotoUrl()})),this.subscriptions.push(this.candidateResumeService.$resumeUpdated.subscribe(e=>{e&&this.setPhotoUrl()}))}ngOnDestroy(){this.subscriptions?.forEach(e=>e.unsubscribe())}setCandidate(e){this.candidate=e,this.setPhotoUrl()}setPhotoUrl(){this.candidate?.encryptedID&&this.candidate?.hasPhoto&&(this.photoUrl=`/api/candidate/${this.candidate.encryptedID}/photo/medium?${new Date().getTime()}&fallback=false`)}onCandidateUpdated(e){let i=Bt({},e.candidate);(e.candidate.salaryFrom!==this.candidate.salaryFrom||e.candidate.displaySalaryToCompany!==this.candidate.displaySalaryToCompany)&&(i.matchingCriteriaLastModification=new Date),this.candidateProfileService.patchCandidate(i,e.modal)}onPhotoUpdated(e){let i=this.candidate.hasPhoto,n=new FormData;n.append("file",e.image.blob,e.fileName),this.candidateProfileService.updatePhoto(n,e.modal,{next:()=>{let l=this.translateService.instant(i?"app.shared.modals.profile.photo.notify.updatePhoto":"app.shared.modals.profile.photo.notify.addPhoto");this.notifyService.success({body:l})},error:l=>{e.modal.componentInstance.canSubmitCrop=!0,this.notifyService.unexpectedError(l)}})}onPhotoRemoved(e){this.candidateProfileService.deletePhoto(e,{next:()=>{this.translateService.get("app.shared.modals.profile.photo.notify.deletePhoto").pipe(D(1)).subscribe(i=>this.notifyService.success({body:i}))},error:i=>{this.notifyService.unexpectedError(i)}})}};o.\u0275fac=function(i){return new(i||o)(h(Ee),h(J),h(B),h(O),h(be),h(ne))},o.\u0275cmp=x({type:o,selectors:[["app-profile-summary"]],inputs:{referenceData:"referenceData"},standalone:!0,features:[T],decls:2,vars:3,consts:[["id","summary-block","tabindex","0","data-action","keypressBlock",1,"cc-editable-block","no-header-separator"],[3,"change","photoChange","photoDeleted","candidate","photoUrl","referenceData"]],template:function(i,n){i&1&&(a(0,"cc-block",0)(1,"app-candidate-summary",1),g("change",function(m){return n.onCandidateUpdated(m)})("photoChange",function(m){return n.onPhotoUpdated(m)})("photoDeleted",function(m){return n.onPhotoRemoved(m)}),s()()),i&2&&(r(),u("candidate",n.candidate)("photoUrl",n.photoUrl)("referenceData",n.referenceData))},dependencies:[$,w,_t]});let t=o;return t})();var _o=(t,o)=>o.meteojobId;function yo(t,o){if(t&1&&(a(0,"mat-option",4),p(1),s()),t&2){let c=o.$implicit;u("value",c.meteojobId),r(),v(c.value)}}var dn=(()=>{let o=class o{constructor(){this.industryFields=k.required(),this.initialSelectedIds=k([]),this.saved=H(),this.selectedIds=[]}ngOnInit(){this.selectedIds=[...this.initialSelectedIds()||[]]}onSave(){this.saved.emit(this.selectedIds)}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["app-industry-field-wish-dialog-form"]],hostAttrs:[1,"d-flex","flex-column","flex-grow-1"],inputs:{industryFields:[1,"industryFields"],initialSelectedIds:[1,"initialSelectedIds"]},outputs:{saved:"saved"},standalone:!0,features:[T],decls:23,vars:16,consts:[["mat-dialog-title",""],["type","button","mat-dialog-close","",1,"cc-mat-close"],["appearance","outline",1,"w-100","mt-1"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],["align","end"],["type","button","mat-dialog-close","",1,"btn","btn-link"],["type","button",1,"btn","btn-primary","ml-3",3,"click"]],template:function(i,n){i&1&&(a(0,"div",0)(1,"h2"),p(2),d(3,"translate"),s(),a(4,"button",1),d(5,"translate"),a(6,"mat-icon"),p(7,"close"),s()()(),a(8,"mat-dialog-content")(9,"mat-form-field",2)(10,"mat-label"),p(11),d(12,"translate"),s(),a(13,"mat-select",3),pe("ngModelChange",function(m){return ce(n.selectedIds,m)||(n.selectedIds=m),m}),Y(14,yo,2,2,"mat-option",4,_o),s()()(),a(16,"mat-dialog-actions",5)(17,"button",6),p(18),d(19,"translate"),s(),a(20,"button",7),g("click",function(){return n.onSave()}),p(21),d(22,"translate"),s()()),i&2&&(r(2),v(f(3,6,"candidate.profile.wishes.industryFieldsModalTitle")),r(2),ae("aria-label",f(5,8,"generic.close")),r(7),v(f(12,10,"candidate.profile.wishes.industryFields")),r(2),le("ngModel",n.selectedIds),r(),G(n.industryFields()),r(4),v(f(19,12,"generic.cancel")),r(3),v(f(22,14,"generic.save")))},dependencies:[Ce,ue,he,ve,ge,Z,Be,Ve,ee,Oe,Re,K,me,fe,w,P,te,L],encapsulation:2});let t=o;return t})();var mn=(()=>{let o=class o{constructor(e,i){this.data=e,this.dialogRef=i}onSaved(e){this.dialogRef.close(e)}};o.\u0275fac=function(i){return new(i||o)(h(Le),h(je))}
2,o.\u0275cmp=x({type:o,selectors:[["app-industry-field-wish-dialog"]],standalone:!0,features:[T],decls:1,vars:2,consts:[[3,"saved","industryFields","initialSelectedIds"]],template:function(i,n){i&1&&(a(0,"app-industry-field-wish-dialog-form",0),g("saved",function(m){return n.onSaved(m)}),s()),i&2&&u("industryFields",n.data.industryFields)("initialSelectedIds",n.data.selectedIds)},dependencies:[dn],encapsulation:2});let t=o;return t})();var So=(t,o)=>o.identifier;function xo(t,o){if(t&1&&re(0,0),t&2){let c=b();u("ngTemplateOutlet",c.titleTemplate())}}function To(t,o){if(t&1){let c=I();a(0,"li",8)(1,"div",9)(2,"a",10),g("click",function(i){_(c);let n=b(2);return y(n.edit(i))}),p(3),s(),a(4,"span")(5,"button",11),d(6,"translate"),g("click",function(){let i=_(c).$implicit,n=b(2);return y(n.onDelete(i))}),a(7,"mat-icon",12),p(8,"close"),s()()()()()}if(t&2){let c=o.$implicit,e=b(2);r(3),v(e.getName(c)),r(2),u("matTooltip",f(6,2,"generic.remove"))}}function wo(t,o){if(t&1&&(a(0,"div",1)(1,"ul",7),Y(2,To,9,4,"li",8,So),s()()),t&2){let c=b();r(2),G(c.industries())}}function Mo(t,o){t&1&&(a(0,"div",2),p(1),d(2,"translate"),s()),t&2&&(r(),R(" ",f(2,1,"candidate.profile.wishes.industryFieldsEmpty")," "))}var fn=(()=>{let o=class o{constructor(){this.industries=k([],{transform:e=>e??[]}),this.industryFields=k([]),this.titleTemplate=k(),this.change=H(),this.dialog=z(Q),this.destroyRef=z(X)}getName(e){return this.industryFields().find(i=>i.meteojobId===e.identifier)?.value??e.identifier}edit(e){e?.preventDefault(),(this.dialogRef=this.dialog.open(mn,{data:{industryFields:this.industryFields(),selectedIds:this.industries()?.map(n=>n.identifier)},panelClass:["cc-modal","modal-lg","cc-modal-viewport","cc-modal-scrollable"],closeOnNavigation:!1,autoFocus:!1,maxHeight:"100vh"})).afterClosed().pipe(q(this.destroyRef)).subscribe(n=>{if(!Array.isArray(n))return;let l=n.map(m=>{let C=this.industries()?.find(Se=>Se.identifier===m);if(C)return C;let W=new Ri;return W.identifier=m,W.grade=0,W});this.change.emit({industries:l})})}onDelete(e){let i=this.industries().filter(n=>n.identifier!==e.identifier);this.change.emit({industries:i})}ngOnDestroy(){this.dialogRef?.close()}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["app-industry-field-list"]],hostAttrs:[1,"d-flex","flex-column","align-items-lg-start","cc-editable-block","position-relative"],inputs:{industries:[1,"industries"],industryFields:[1,"industryFields"],titleTemplate:[1,"titleTemplate"]},outputs:{change:"change"},standalone:!0,features:[T],decls:11,vars:8,consts:[[3,"ngTemplateOutlet"],[1,"d-flex","flex-row","flex-wrap","justify-content-start","align-items-center"],[1,"text-muted","cc-font-size-small","d-inline-flex","align-items-center"],[1,"cc-edit-icon-container"],["type","button",1,"btn","btn-link","cc-edit-icon","ml-1",3,"click","matTooltip"],[1,"sr-only"],[1,"cc-mat-icon"],[1,"d-flex","flex-row","flex-wrap","justify-content","align-items-center","pl-0"],[1,"list-unstyled"],[1,"cc-tag","cc-tag-primary-light","cc-tag-small","position-relative","d-inline-flex","align-items-center","justify-content-around","mr-2"],["role","button","tabindex","0",1,"cc-text-underline-hover","link-ninja","ml-1","mr-2","align-bottom",3,"click"],["mat-icon-button","","type","button",1,"cc-icon-ripple-small","mat-icon-button",3,"click","matTooltip"],[1,"cc-delete-icon"]],template:function(i,n){if(i&1&&(S(0,xo,1,1,"ng-container",0)(1,wo,4,0,"div",1)(2,Mo,3,3,"div",2),a(3,"div",3)(4,"button",4),d(5,"translate"),g("click",function(m){return n.edit(m)}),a(6,"span",5),p(7),d(8,"translate"),s(),a(9,"mat-icon",6),p(10,"edit"),s()()()),i&2){let l;M(n.titleTemplate()?0:-1),r(),M((l=n.industries())!=null&&l.length?1:2),r(3),u("matTooltip",f(5,4,"generic.edit")),r(3),v(f(8,6,"app.profile.summary.edit"))}},dependencies:[de,ot,L,ie,w,P],encapsulation:2});let t=o;return t})();var Io=(t,o)=>o.meteojobId;function Po(t,o){if(t&1&&(a(0,"mat-option",4),p(1),s()),t&2){let c=o.$implicit;u("value",c.meteojobId),r(),v(c.value)}}var un=(()=>{let o=class o{constructor(){this.jobTypeOptions=k.required(),this.initialSelectedIds=k([]),this.saved=
2H(),this.selectedIds=[]}ngOnInit(){this.selectedIds=[...this.initialSelectedIds()||[]]}onSave(){this.saved.emit(this.selectedIds)}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["app-job-type-wish-dialog-form"]],hostAttrs:[1,"d-flex","flex-column","flex-grow-1"],inputs:{jobTypeOptions:[1,"jobTypeOptions"],initialSelectedIds:[1,"initialSelectedIds"]},outputs:{saved:"saved"},standalone:!0,features:[T],decls:23,vars:16,consts:[["mat-dialog-title",""],["type","button","mat-dialog-close","",1,"cc-mat-close"],["appearance","outline",1,"w-100"],["multiple","",3,"ngModelChange","ngModel"],[3,"value"],["align","end"],["type","button","mat-dialog-close","",1,"btn","btn-link"],["type","button",1,"btn","btn-primary","ml-3",3,"click"]],template:function(i,n){i&1&&(a(0,"div",0)(1,"h2"),p(2),d(3,"translate"),s(),a(4,"button",1),d(5,"translate"),a(6,"mat-icon"),p(7,"close"),s()()(),a(8,"mat-dialog-content")(9,"mat-form-field",2)(10,"mat-label"),p(11),d(12,"translate"),s(),a(13,"mat-select",3),pe("ngModelChange",function(m){return ce(n.selectedIds,m)||(n.selectedIds=m),m}),Y(14,Po,2,2,"mat-option",4,Io),s()()(),a(16,"mat-dialog-actions",5)(17,"button",6),p(18),d(19,"translate"),s(),a(20,"button",7),g("click",function(){return n.onSave()}),p(21),d(22,"translate"),s()()),i&2&&(r(2),v(f(3,6,"candidate.profile.wishes.jobTypesModalTitle")),r(2),ae("aria-label",f(5,8,"generic.close")),r(7),v(f(12,10,"candidate.profile.wishes.jobTypes")),r(2),le("ngModel",n.selectedIds),r(),G(n.jobTypeOptions()),r(4),v(f(19,12,"generic.cancel")),r(3),v(f(22,14,"generic.save")))},dependencies:[Ce,ue,he,ve,ge,Z,Be,Ve,ee,Oe,Re,K,me,fe,w,P,te,L],encapsulation:2});let t=o;return t})();var hn=(()=>{let o=class o{constructor(e,i){this.data=e,this.dialogRef=i}onSaved(e){this.dialogRef.close(e)}};o.\u0275fac=function(i){return new(i||o)(h(Le),h(je))},o.\u0275cmp=x({type:o,selectors:[["app-job-type-wish-dialog"]],standalone:!0,features:[T],decls:1,vars:2,consts:[[3,"saved","jobTypeOptions","initialSelectedIds"]],template:function(i,n){i&1&&(a(0,"app-job-type-wish-dialog-form",0),g("saved",function(m){return n.onSaved(m)}),s()),i&2&&u("jobTypeOptions",n.data.jobTypeOptions)("initialSelectedIds",n.data.selectedIds)},dependencies:[un],encapsulation:2});let t=o;return t})();function ko(t,o){if(t&1&&re(0,0),t&2){let c=b();u("ngTemplateOutlet",c.titleTemplate())}}function Do(t,o){if(t&1){let c=I();a(0,"li",8)(1,"div",9)(2,"a",10),g("click",function(i){_(c);let n=b(2);return y(n.edit(i))}),p(3),s(),a(4,"span")(5,"button",11),d(6,"translate"),g("click",function(){let i=_(c).$implicit,n=b(2);return y(n.onDelete(i))}),a(7,"mat-icon",12),p(8,"close"),s()()()()()}if(t&2){let c=o.$implicit,e=b(2);r(3),v(e.getLabel(c)),r(2),u("matTooltip",f(6,2,"generic.remove"))}}function Eo(t,o){if(t&1&&(a(0,"div",1)(1,"ul",7),Y(2,Do,9,4,"li",8,He),s()()),t&2){let c=b();r(2),G(c.jobTypes())}}function Ro(t,o){t&1&&(a(0,"div",2),p(1),d(2,"translate"),s()),t&2&&(r(),R(" ",f(2,1,"candidate.profile.wishes.jobTypesEmpty")," "))}var gn=(()=>{let o=class o{constructor(){this.jobTypes=k([]),this.jobTypeOptions=k([]),this.titleTemplate=k(),this.change=H(),this.dialog=z(Q),this.destroyRef=z(X)}getLabel(e){return this.jobTypeOptions().find(i=>i.meteojobId===e)?.value??e}edit(e){e?.preventDefault(),(this.dialogRef=this.dialog.open(hn,{data:{jobTypeOptions:this.jobTypeOptions(),selectedIds:this.jobTypes()},panelClass:["cc-modal","modal-lg","cc-modal-viewport"],closeOnNavigation:!1,autoFocus:!1})).afterClosed().pipe(q(this.destroyRef)).subscribe(n=>{if(!Array.isArray(n))return;let l=new Te;l.jobTypes=n,l.matchingCriteriaLastModification=new Date,this.change.emit({jobTypes:n})})}onDelete(e){let i=this.jobTypes().filter(l=>l!==e),n=new Te;n.jobTypes=i,n.matchingCriteriaLastModification=new Date,this.change.emit({jobTypes:i})}ngOnDestroy(){this.dialogRef?.close()}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["app-job-type-list"]],hostAttrs:[1,"d-flex","flex-column","align-items-lg-start","cc-editable-block","position-relative"],inputs:{jobTypes:[1,"jobTypes"],jobTypeOptions:[1,"jobTypeOptions"],titleTemplate:[1,"titleTemplate"]},outputs:{change:"change"},standalone:!0,features:[T],decls:11,vars:8,consts:[[3,"ngTemplateOutlet"],[1,"d-flex","flex-row","flex-wrap","justify-content-start","align-items-center"],[1,"text-muted","cc-font-size-small","d-inline-flex","align-items-center"],[1,"cc-edit-icon-container"],["type","button",1,"btn","btn-link","cc-edit-icon","ml-1",3,"click","matTooltip"],[1,"sr-only"],[1,"cc-mat-icon"],[1,"d-flex","flex-row","flex-wrap","justify-content","align-items-center","pl-0"],[1,"list-unstyled"],[1,"cc-tag","cc-tag-primary-light","cc-tag-small","position-relative","d-inline-flex","align-items-center","justify-content-around","mr-2"],["role","button","tabindex","0",1,"cc-text-underline-hover","link-ninja","ml-1","mr-2","align-bottom",3,"click"],["mat-icon-button","","type","button",1,"cc-icon-ripple-small","mat-icon-button",3,"click","matTooltip"],[1,"cc-delete-icon"]],template:function(i,n){if(i&1&&(S(0,ko,1,1,"ng-container",0)(1,Eo,4,0,"div",1)(2,Ro,3,3,"div",2),a(3,"div",3)(4,"button",4),d(5,"translate"),g("click",function(m){return n.edit(m)}),a(6,"span",5),p(7),d(8,"translate"),s(),a(9,"mat-icon",6),p(10,"edit"),s()()()),i&2){let l;M(n.titleTemplate()?0:-1),r(),M((l=n.jobTypes())!=null&&l.length?1:2),r(3),u("matTooltip",f(5,4,"generic.edit")),r(3),v(f(8,6,"app.profile.summary.edit"))}},dependencies:[de,ot,L,ie,w,P],encapsulation:2});let t=o;return t})();var Fo=(t,o)=>o.id;function jo(t,o){if(t&1&&(a(0,"mat-option",4),p(1),s()),t&2){let c=o.$implicit;u("value",c.id),r(),v(c.candidateLabel||c.label)}}var vn=(()=>{let o=class o{constructor(){this.teleworks=k.required(),this.initialSelectedId=k(void 0),this.saved=
2H()}ngOnInit(){this.selectedId=this.initialSelectedId()}onSave(){this.saved.emit(this.selectedId)}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["app-telework-wish-dialog-form"]],hostAttrs:[1,"d-flex","flex-column","flex-grow-1"],inputs:{teleworks:[1,"teleworks"],initialSelectedId:[1,"initialSelectedId"]},outputs:{saved:"saved"},standalone:!0,features:[T],decls:23,vars:16,consts:[["mat-dialog-title",""],["type","button","mat-dialog-close","",1,"cc-mat-close"],["appearance","outline",1,"w-100"],[3,"ngModelChange","ngModel"],[3,"value"],["align","end"],["type","button","mat-dialog-close","",1,"btn","btn-link"],["type","button",1,"btn","btn-primary","ml-3",3,"click"]],template:function(i,n){i&1&&(a(0,"div",0)(1,"h2"),p(2),d(3,"translate"),s(),a(4,"button",1),d(5,"translate"),a(6,"mat-icon"),p(7,"close"),s()()(),a(8,"mat-dialog-content")(9,"mat-form-field",2)(10,"mat-label"),p(11),d(12,"translate"),s(),a(13,"mat-select",3),pe("ngModelChange",function(m){return ce(n.selectedId,m)||(n.selectedId=m),m}),Y(14,jo,2,2,"mat-option",4,Fo),s()()(),a(16,"mat-dialog-actions",5)(17,"button",6),p(18),d(19,"translate"),s(),a(20,"button",7),g("click",function(){return n.onSave()}),p(21),d(22,"translate"),s()()),i&2&&(r(2),v(f(3,6,"candidate.profile.wishes.teleworkModalTitle")),r(2),ae("aria-label",f(5,8,"generic.close")),r(7),v(f(12,10,"candidate.profile.wishes.telework")),r(2),le("ngModel",n.selectedId),r(),G(n.teleworks()),r(4),v(f(19,12,"generic.cancel")),r(3),v(f(22,14,"generic.save")))},dependencies:[Ce,ue,he,ve,ge,Z,Be,Ve,ee,Oe,Re,K,me,fe,w,P,te,L],encapsulation:2});let t=o;return t})();var Cn=(()=>{let o=class o{constructor(e,i){this.data=e,this.dialogRef=i}onSaved(e){this.dialogRef.close(e)}};o.\u0275fac=function(i){return new(i||o)(h(Le),h(je))},o.\u0275cmp=x({type:o,selectors:[["app-telework-wish-dialog"]],standalone:!0,features:[T],decls:1,vars:2,consts:[[3,"saved","teleworks","initialSelectedId"]],template:function(i,n){i&1&&(a(0,"app-telework-wish-dialog-form",0),g("saved",function(m){return n.onSaved(m)}),s()),i&2&&u("teleworks",n.data.teleworks)("initialSelectedId",n.data.selectedId)},dependencies:[vn],encapsulation:2});let t=o;return t})();function Lo(t,o){if(t&1&&re(0,0),t&2){let c=b();u("ngTemplateOutlet",c.titleTemplate())}}function Vo(t,o){if(t&1){let c=I();a(0,"div",2)(1,"ul",3)(2,"li",4)(3,"div",5)(4,"a",6),g("click",function(i){_(c);let n=b();return y(n.edit(i))}),p(5),s()()()()(),a(6,"div",7)(7,"button",8),d(8,"translate"),g("click",function(i){_(c);let n=b();return y(n.edit(i))}),a(9,"span",9),p(10),d(11,"translate"),s(),a(12,"mat-icon",10),p(13,"edit"),s()()()}if(t&2){let c=b();r(5),v(c.currentLabel()),r(2),u("matTooltip",f(8,3,"generic.edit")),r(3),v(f(11,5,"app.profile.summary.edit"))}}function Bo(t,o){t&1&&(a(0,"div",1),p(1),d(2,"translate"),s()),t&2&&(r(),R(" ",f(2,1,"candidate.profile.wishes.teleworkUnavailable")," "))}var bn=(()=>{let o=class o{constructor(){this.teleworks=k([]),this.selectedId=k(null),this.titleTemplate=k(),this.change=H(),this.currentLabel=Qe(()=>{let e=this.teleworks().find(i=>i.id===this.selectedId())??this.teleworks().find(i=>i.meteojobId==="UNDEFINED");return e?.candidateLabel||e?.label||""}),this.dialog=z(Q),this.destroyRef=z(X)}edit(e){e?.preventDefault(),(this.dialogRef=this.dialog.open(Cn,{data:{teleworks:this.teleworks(),selectedId:this.selectedId()??this.teleworks().find(n=>n.meteojobId==="UNDEFINED")?.id},panelClass:["cc-modal","modal-lg","cc-modal-viewport"],closeOnNavigation:!1,autoFocus:!1})).afterClosed().pipe(q(this.destroyRef)).subscribe(n=>{di(n)&&this.change.emit(n)})}ngOnDestroy(){this.dialogRef?.close()}};o.\u0275fac=function(i){return new(i||o)},o.\u0275cmp=x({type:o,selectors:[["app-telework-wish"]],hostAttrs:[1,"d-flex","flex-column","align-items-lg-start","cc-editable-block","position-relative"],inputs:{teleworks:[1,"teleworks"],selectedId:[1,"selectedId"],titleTemplate:[1,"titleTemplate"]},outputs:{change:"change"},standalone:!0,features:[T],decls:3,vars:2,consts:[[3,"ngTemplateOutlet"],[1,"text-muted","cc-font-size-small","d-inline-flex","align-items-center"],[1,"d-flex","flex-row","flex-wrap","justify-content-start","align-items-center"],[1,"d-flex","flex-row","flex-wrap","justify-content","align-items-center","pl-0","mb-0"],[1,"list-unstyled"],[1,"cc-tag","cc-tag-primary-light","cc-tag-small","position-relative","d-inline-flex","align-items-center","justify-content-around","mr-2"],["role","button","tabindex","0",1,"cc-text-underline-hover","link-ninja","ml-1","mr-2","align-bottom",3,"click"],[1,"cc-edit-icon-container"],["type","button",1,"btn","btn-link","cc-edit-icon","ml-1",3,"click","matTooltip"],[1,"sr-only"],[1,"cc-mat-icon"]],template:function(i,n){if(i&1&&S(0,Lo,1,1,"ng-container",0)(1,Vo,14,7)(2,Bo,3,3,"div",1),i&2){let l;M(n.titleTemplate()?0:-1),r(),M((l=n.teleworks())!=null&&l.length?1:2)}},dependencies:[de,L,ie,w,P],encapsulation:2});let t=o;return t})();var Oo=t=>({count:t});function No(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),a(3,"span",19),p(4,"*"),s()()),t&2&&(r(),R("",f(2,1,"candidate.profile.wishes.jobs")," "))}function Ao(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),a(3,"span",19),p(4,"*"),s()()),t&2&&(r(),R("",f(2,1,"candidate.profile.wishes.locations")," "))}function Uo(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),a(3,"span",19),p(4,"*"),s()()),t&2&&(r(),R("",f(2,1,"candidate.profile.wishes.contractTypes")," "))}function Wo(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.wishes.salary")))}function zo(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.wishes.telework")))}function Ho(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.wishes.industryFields")))}function Jo(t,o){t&1&&(a(0,"h3",18),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.wishes.jobTypes")))}function $o(t,o){if(t&1&&(a(0,"a",17),p(1),d(2,"translate"),a(3,"mat-icon",20),p(4,"chevron_right"),s()()),t&2){let c=b();u("routerLink",c.meteoUrl),r(),R(" ",De(2,2,"candidate.profile.wishes.meteoLink",xe(5,Oo,c.meteoCount()))," ")}}function Yo(t,o){t&1&&(a(0,"span",21),p(1),d(2,"translate"),s()),t&2&&(r(),v(f(2,1,"candidate.profile.wishes.title")))}var _n=(()=>{let o=class o{constructor(e,i){this.candidateService=e,this.candidateProfileService=i,this.gradedWishedJobs=U([]),this.gradedLocations=U([]),this.gradedContractTypes=U([]),this.gradedIndustryFields=U([]),this.jobTypes=U([]),this.candidate=U(new Te),this.referenceData=k.required(),this.meteoUrl=ei,this.displayedWishedJobs=Qe(()=>[...this.gradedWishedJobs().filter((n,l,m)=>m.findIndex(C=>C.job===n.job)===l)]),this.meteoCount=Wt(0),this.meteoService=z(wi),this.transferStateService=z(Fe)}ngOnInit(){this.subscription=this.candidateService.$candidateUpdated.subscribe(e=>{this.gradedWishedJobs.set(e.candidate.gradedWishedJobs??[]),this.gradedLocations.set(e.candidate.gradedLocations??[]),this.gradedContractTypes.set(e.candidate.gradedContractTypes??[]),this.gradedIndustryFields.set(e.candidate.gradedIndustryFields??[]),this.jobTypes.set(e.candidate.jobTypes??[]),this.candidate.set(e.candidate),this.refreshMeteoCount()}),this.refreshMeteoCount()}ngOnDestroy(){this.subscription?.unsubscribe()}onJobsChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,gradedWishedJobs:e.jobs},e.modal)}onLocationsChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,gradedLocations:e.locations},e.modal)}onContractsChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,gradedContractTypes:e.contracts},e.modal)}onTeleworkChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,telework:e})}onIndustryFieldsChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,gradedIndustryFields:e.industries},e.modal)}onJobTypesChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,jobTypes:e.jobTypes},e.modal)}onSalaryChange(e){this.candidateProfileService.patchCandidate({matchingCriteriaLastModification:new Date,salaryFrom:e.salaryFrom,displaySalaryToCompany:e.displaySalaryToCompany},e.modal)}refreshMeteoCount(){let e=new mi;e.limit=0,this.transferStateService.fetch("app:meteo:count",this.meteoService.getMeteoResponse(e,!0)).pipe(D(1),Ae(i=>this.meteoService.reviveMeteoResponse(i)),Ae(i=>i?.pageResource?.total??null)).subscribe(i=>this.meteoCount.set(i))}};o.\u0275fac=function(i){return new(i||o)(h(B),h(O))}
2,o.\u0275cmp=x({type:o,selectors:[["app-profile-wishes"]],inputs:{gradedWishedJobs:[1,"gradedWishedJobs"],gradedLocations:[1,"gradedLocations"],gradedContractTypes:[1,"gradedContractTypes"],gradedIndustryFields:[1,"gradedIndustryFields"],jobTypes:[1,"jobTypes"],candidate:[1,"candidate"],referenceData:[1,"referenceData"]},outputs:{gradedWishedJobs:"gradedWishedJobsChange",gradedLocations:"gradedLocationsChange",gradedContractTypes:"gradedContractTypesChange",gradedIndustryFields:"gradedIndustryFieldsChange",jobTypes:"jobTypesChange",candidate:"candidateChange"},standalone:!0,features:[T],decls:33,vars:22,consts:[["jobTitle",""],["locationTitle",""],["contractTitle",""],["salaryTitle",""],["teleworkTitle",""],["industryFieldTitle",""],["jobTypeTitle",""],["headerTemplate",""],["id","wishes-block","classHeader","pb-2","classContent","d-flex flex-column",1,"no-header-separator",3,"header"],[1,"list-unstyled","mb-0","d-flex","flex-column","cc-gap-8"],["id","jobs-section",3,"change","jobs","jobExperienceLevels","titleTemplate"],["id","locations-section",3,"change","locations","titleTemplate"],["id","contracts-section",3,"change","contracts","contractTypes","titleTemplate"],["id","salary-section",3,"change","salaryFrom","displaySalaryToCompany","titleTemplate"],["id","telework-section",3,"change","teleworks","selectedId","titleTemplate"],["id","industry-fields-section",3,"change","industries","industryFields","titleTemplate"],["id","job-types-section",3,"change","jobTypes","jobTypeOptions","titleTemplate"],[1,"d-flex","align-items-center","mt-4","cc-font-size-small","cc-text-underline",3,"routerLink"],[1,"h5"],[1,"text-danger"],["aria-hidden","true",1,"cc-mat-icon","ml-1"],[1,"h3","m-0"]],template:function(i,n){if(i&1){let l=I();a(0,"cc-block",8)(1,"ul",9)(2,"li"),S(3,No,5,3,"ng-template",null,0,j),a(5,"app-job-list",10),g("change",function(C){return _(l),y(n.onJobsChange(C))}),s()(),a(6,"li"),S(7,Ao,5,3,"ng-template",null,1,j),a(9,"app-location-list",11),g("change",function(C){return _(l),y(n.onLocationsChange(C))}),s()(),a(10,"li"),S(11,Uo,5,3,"ng-template",null,2,j),a(13,"app-contract-type-list",12),g("change",function(C){return _(l),y(n.onContractsChange(C))}),s()(),a(14,"li"),S(15,Wo,3,3,"ng-template",null,3,j),a(17,"app-salary-wish",13),g("change",function(C){return _(l),y(n.onSalaryChange(C))}),s()(),a(18,"li"),S(19,zo,3,3,"ng-template",null,4,j),a(21,"app-telework-wish",14),g("change",function(C){return _(l),y(n.onTeleworkChange(C))}),s()(),a(22,"li"),S(23,Ho,3,3,"ng-template",null,5,j),a(25,"app-industry-field-list",15),g("change",function(C){return _(l),y(n.onIndustryFieldsChange(C))}),s()(),a(26,"li"),S(27,Jo,3,3,"ng-template",null,6,j),a(29,"app-job-type-list",16),g("change",function(C){return _(l),y(n.onJobTypesChange(C))}),s()()(),S(30,$o,5,7,"a",17),s(),S(31,Yo,3,3,"ng-template",null,7,j)}if(i&2){let l=E(4),m=E(8),C=E(12),W=E(16),Se=E(20),Ne=E(24),yn=E(28),Sn=E(32);u("header",Sn),r(5),u("jobs",n.displayedWishedJobs())("jobExperienceLevels",n.referenceData().jobLevels)("titleTemplate",l),r(4),u("locations",n.gradedLocations())("titleTemplate",m),r(4),u("contracts",n.gradedContractTypes())("contractTypes",n.referenceData().contractTypes)("titleTemplate",C),r(4),u("salaryFrom",n.candidate().salaryFrom)("displaySalaryToCompany",n.candidate().displaySalaryToCompany)("titleTemplate",W),r(4),u("teleworks",n.referenceData().teleworks)("selectedId",n.candidate().telework)("titleTemplate",Se),r(4),u("industries",n.gradedIndustryFields())("industryFields",n.referenceData().industries)("titleTemplate",Ne),r(4),u("jobTypes",n.jobTypes())("jobTypeOptions",n.referenceData().jobTypes)("titleTemplate",yn),r(),M(n.meteoCount()!==null&&n.meteoCount()>0?30:-1)}},dependencies:[L,qt,Yi,Gi,Fi,Qi,bn,fn,gn,w,P,$]});let t=o;return t})();function Go(t,o){if(t&1&&V(0,"app-profile-pushes",4),t&2){let c=b();u("referenceData",c.referenceData)}}function Qo(t,o){if(t&1&&V(0,"app-profile-completion",12)(1,"app-profile-cv-creation",13)(2,"app-profile-skills",14)(3,"app-profile-hobbies",15),t&2){let c=b();u("referenceData",c.referenceData),r(2),u("referenceData",c.referenceData)("specializations",c.candidate.specializations)("languages",c.candidate.languages)("licenses",c.candidate.drivingLicenses),r(),u("hobbies",c.candidate==null?null:c.candidate.hobbiesD
2ata)}}function qo(t,o){t&1&&(a(0,"a",16),p(1),d(2,"translate"),s(),a(3,"a",17),p(4),d(5,"translate"),s(),a(6,"a",18),p(7),d(8,"translate"),s(),a(9,"a",19),p(10),d(11,"translate"),s(),a(12,"a",20),p(13),d(14,"translate"),s(),a(15,"a",21),p(16),d(17,"translate"),s()),t&2&&(r(),v(f(2,6,"generic.skiplink.maincontent")),r(3),v(f(5,8,"candidate.profile.skiplink.wishes")),r(3),v(f(8,10,"candidate.profile.skiplink.experiences")),r(3),v(f(11,12,"candidate.profile.skiplink.schoolings")),r(3),v(f(14,14,"candidate.profile.skiplink.skills")),r(3),v(f(17,16,"candidate.profile.skiplink.hobbies")))}function Xo(t,o){t&1&&V(0,"cc-footer")}var Vt=(()=>{let o=class o{constructor(e,i,n,l,m){this.route=e,this.translateService=i,this.ccTitleService=n,this.ccTrackNavigationService=l,this.platformId=m,this.fragment=null,this.isBrowser=Gt(this.platformId)}ngOnInit(){this.ccTrackNavigationService.trackDefaultNavigation(),this.route.data.pipe(D(1)).subscribe(e=>{this.candidate=e.candidate,this.referenceData=e.referenceData}),this.route.fragment.pipe(D(1)).subscribe(e=>{(e==="add-experience"||e==="edit-experience")&&(this.fragment=e)}),this.translateService.get("app.profile.title").pipe(D(1)).subscribe(e=>this.ccTitleService.setTitle(e))}};o.\u0275fac=function(i){return new(i||o)(h(Ee),h(J),h(ni),h(ti),h(At))},o.\u0275cmp=x({type:o,selectors:[["app-profile"]],standalone:!0,features:[T],decls:16,vars:24,consts:[["columnRight",""],["skipLinks",""],["footer",""],[3,"footer","columnRight","skipLinks","showAppBanner"],[3,"referenceData"],[1,"d-block","d-lg-none",3,"referenceData"],["uploadSuffix","content",1,"d-block","d-lg-none"],[3,"candidate","gradedWishedJobs","gradedLocations","gradedContractTypes","gradedIndustryFields","jobTypes","referenceData"],[3,"actionName","experiences","industryFields"],[3,"schoolings","degrees"],[1,"d-block","d-lg-none",3,"referenceData","specializations","languages","licenses"],[1,"d-block","d-lg-none",3,"hobbies"],[1,"d-none","d-lg-block",3,"referenceData"],["uploadSuffix","right",1,"d-none","d-lg-block"],[1,"d-none","d-lg-block",3,"referenceData","specializations","languages","licenses"],[1,"d-none","d-lg-block",3,"hobbies"],["ccSkipLink","","targetId","summary-block"],["ccSkipLink","","targetId","wishes-block"],["ccSkipLink","","targetId","experiences-block"],["ccSkipLink","","targetId","schoolings-block"],["ccSkipLink","","targetSelector","app-profile-skills"],["ccSkipLink","","targetSelector","app-profile-hobbies"]],template:function(i,n){if(i&1&&(a(0,"app-layout",3),S(1,Go,1,1,"app-profile-pushes",4),V(2,"app-profile-completion",5)(3,"app-profile-summary",4)(4,"app-profile-cv-creation",6)(5,"app-profile-wishes",7)(6,"app-profile-experiences",8)(7,"app-profile-schoolings",9)(8,"app-profile-skills",10)(9,"app-profile-hobbies",11),s(),S(10,Qo,4,6,"ng-template",null,0,j)(12,qo,18,18,"ng-template",null,1,j)(14,Xo,1,0,"ng-template",null,2,j)),i&2){let l=E(11),m=E(13),C=E(15);u("footer",C)("columnRight",l)("skipLinks",m)("showAppBanner",!0),r(),M(n.isBrowser?1:-1),r(),u("referenceData",n.referenceData),r(),u("referenceData",n.referenceData),r(2),u("candidate",n.candidate)("gradedWishedJobs",n.candidate.gradedWishedJobs)("gradedLocations",n.candidate.gradedLocations)("gradedContractTypes",n.candidate.gradedContractTypes)("gradedIndustryFields",n.candidate.gradedIndustryFields)("jobTypes",n.candidate.jobTypes)("referenceData",n.referenceData),r(),u("actionName",n.fragment)("experiences",n.candidate.experiences)("industryFields",n.referenceData.industries),r(),u("schoolings",n.candidate==null?null:n.candidate.schoolings)("degrees",n.referenceData.degrees),r(),u("referenceData",n.referenceData)("specializations",n.candidate.specializations)("languages",n.candidate.languages)("licenses",n.candidate.drivingLicenses),r(),u("hobbies",n.candidate==null?null:n.candidate.hobbiesData)}},dependencies:[gi,sn,_n,tn,nn,an,rn,ii,_i,w,P,Tt,Pt,on],styles:["@media (min-width: 992px){main[_ngcontent-%COMP%]{flex:1}aside[_ngcontent-%COMP%]{flex:0 0 324px}}"]});let t=o;return t})();var Ko=[{path:"",canActivate:[vi],component:Vt,data:{accessLevel:pi.REGISTERED},resolve:{candidate:Ci,referenceData:bi},runGuardsAndResolvers:"paramsOrQueryParamsChange"}],ef=(()=>{let o=class o{};o.\u0275fac=function(i){return new(i||o)}
2,o.\u0275mod=Pe({type:o}),o.\u0275inj=Ie({imports:[Xt.forChild(Ko),Z,at,ut,ee,Xe,nt,ji,rt,Si,ui,te,en,Mi,Zi,lt,w.forChild(),Xi,Ki,Di,Mt,Ue,Tt,We,Vt,Pt]});let t=o;return t})();export{ef as ProfileModule};

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.