1"use strict";(globalThis.webpackChunk_jobcloud_b2c_frontend=globalThis.webpackChunk_jobcloud_b2c_frontend||[]).push([["src_common_modules_onboarding_components_cvUpload_cvExtractAdditionalFields_tsx-src_common_mo-6bd2c2"],{49294(e,t,n){n.d(t,{A:()=>u});var a=n(6799),o=n(14503),i=n(96777),s=n(65496),r=n(8982),c=n(87377),l=n(59033),d=n(52695);const u=e=>{const t=(0,a.c)(19),{hasNoAction:n,onDeleteSuccess:u}=e,p=(0,i.A)(),{data:m}=(0,o.Qg)(),{closeModal:h,isModalOpen:_,modalOptions:y,openModal:A}=(0,s.A)("delete-cv"),{mutate:E,isPending:g}=(0,o.Je)();if(!m)return null;let f,x,b,v;return t[0]!==m||t[1]!==n||t[2]!==A?(f=n?{}:{handleDelete:()=>A({triggerId:`delete-document-${m.id}`,options:{id:m.id}})},t[0]=m,t[1]=n,t[2]=A,t[3]=f):f=t[3],t[4]!==m||t[5]!==f?(x=(0,d.jsx)(l.Ul,{children:(0,d.jsx)(r.A,{document:m,...f})}),t[4]=m,t[5]=f,t[6]=x):x=t[6],t[7]!==h||t[8]!==n||t[9]!==_||t[10]!==g||t[11]!==y?.id||t[12]!==E||t[13]!==u||t[14]!==p?(b=!n&&(0,d.jsx)(c.A,{headline:p("file_upload.delete_dialog"),isOpen:_,isPending:g,primaryHandler:async()=>{E(y?.id,{onSuccess:()=>{u?.(),h()}})}}),t[7]=h,t[8]=n,t[9]=_,t[10]=g,t[11]=y?.id,t[12]=E,t[13]=u,t[14]=p,t[15]=b):b=t[15],t[16]!==x||t[17]!==b?(v=(0,d.jsxs)(d.Fragment,{children:[x,b]}),t[16]=x,t[17]=b,t[18]=v):v=t[18],v}},8982(e,t,n){n.d(t,{A:()=>A});n(78944),n(18910);var a=n(6799),o=n(44007),i=n(35322),s=n(37736),r=n(96777),c=n(59033),l=n(54074),d=n(96055),u=n(91072),p=n(60163),m=n(16505),h=n(94572),_=n(34882),y=n(52695);const A=e=>{const t=(0,a.c)(49),{document:n,handleDelete:A,handleEdit:E}=e,g=(0,r.A)(),{fileName:f,fileSize:x,fileType:b,id:v,mediaApiUrl:S,tags:j,updatedAt:I}=n;let C,T,O,R,D,L,w,F,P;t[0]===Symbol.for("react.memo_cache_sentinel")?(C={eventData:{event_component_type:"document"}},t[0]=C):C=t[0],t[1]===Symbol.for("react.memo_cache_sentinel")?(T={base:"s8",sm:"s16"},t[1]=T):T=t[1],t[2]!==b?(O=(0,s.A)(b),t[2]=b,t[3]=O):O=t[3],t[4]!==O?(R=(0,y.jsx)(c.i,{height:"[24px]",width:"[24px]",children:O}),t[4]=O,t[5]=R):R=t[5],t[6]===Symbol.for("react.memo_cache_sentinel")?(D=(0,o.gO)({lines:2}),t[6]=D):D=t[6],t[7]===Symbol.for("react.memo_cache_sentinel")?(L={base:"link.defaultDark.base",_groupHover:"link.defaultDark.hover"},t[7]=L):L=t[7],t[8]===Symbol.for("react.memo_cache_sentinel")?(w={event_component_type:"document"},t[8]=w):w=t[8],t[9]!==f||t[10]!==S?(F=(0,y.jsx)(c.L9,{className:D,"data-cy":"file-name",fontWeight:"bold",textStyle:"body1",children:(0,y.jsx)(c.e9,{color:L,"data-propagation":"stop",download:f,eventData:w,href:S,target:"_blank",title:f,underline:"none",visited:"none",children:f})}),t[9]=f,t[10]=S,t[11]=F):F=t[11],t[12]===Symbol.for("react.memo_cache_sentinel")?(P={base:"none",sm:"block"},t[12]=P):P=t[12];const U=x||0;let N,q;t[13]!==U?(N=(0,i.A)(U),t[13]=U,t[14]=N):N=t[14],t[15]!==g?(q=g("file_upload.upload_prefix"),t[15]=g,t[16]=q):q=t[16];const k=`${q}: `;let Q,M,z,V,H,B,G,K,W;return t[17]!==g?(Q=g("accessibility.date.uploaded"),t[17]=g,t[18]=Q):Q=t[18],t[19]!==I?(M=I||(new Date).toISOString(),t[19]=I,t[20]=M):M=t[20],t[21]!==Q||t[22]!==M?(z=(0,y.jsx)(d.A,{a11yDateFormat:"date_time",a11yPrefix:Q,format:"date_time",children:M}),t[21]=Q,t[22]=M,t[23]=z):z=t[23],t[24]!==N||t[25]!==k||t[26]!==z?(V=(0,y.jsxs)(c.L9,{display:P,mt:"s4",textStyle:"caption1",children:[N," - ",k,z]}),t[24]=N,t[25]=k,t[26]=z,t[27]=V):V=t[27],t[28]!==g||t[29]!==j?(H=j?.map((e=>(0,y.jsx)(c.vw,{mt:"s8",tagColor:"gray",children:g(`account_document_tags.edit.tag.${e}`)},e))),t[28]=g,t[29]=j,t[30]=H):H=t[30],t[31]!==H?(B=(0,y.jsx)(c.so,{columnGap:"s8",flexWrap:"wrap",children:H}),t[31]=H,t[32]=B):B=t[32],t[33]!==V||t[34]!==B||t[35]!==F?(G=(0,y.jsxs)(c.i,{flex:"1",minWidth:"[0px]",children:[F,V,B]}),t[33]=V,t[34]=B,t[35]=F,t[36]=G):G=t[36],t[37]!==n||t[38]!==f||t[39]!==A||t[40]!==E||t[41]!==v||t[42]!==S||t[43]!==g?(K=E?(0,y.jsxs)(l.tz,{"data-propagation":"stop",id:"file_upload_context_menu",trigger:(0,y.jsx)(c.K0,{buttonSize:"sm",buttonType:"blended","data-cy":"file-upload-context-menu","data-propagation":"stop",icon:(0,y.jsx)(_.A,{}),title:g("accessibility.action.show_more")}),children:[(0,y.jsx)(l.kt,{alignItems:"center","data-cy":"edit-item",icon:(0,y.jsx)(m.A,{}),onClick:()=>E(n),children:g("file_upload.context.edit")}),(0,y.jsx)(l.w$,{alignItems:"center","data-cy":"download-file",download:f,eventData:{event_c
1omponent_type:"document_context_menu"},href:S,icon:(0,y.jsx)(p.A,{}),target:"_blank",title:f,underline:"none",visited:"none",children:g("file_upload.context.download")}),A&&(0,y.jsx)(l.kt,{alignItems:"center","data-cy":"delete-file",icon:(0,y.jsx)(h.A,{}),isDestructive:!0,onClick:()=>A(v),children:g("file_upload.context.delete")})]}):A?(0,y.jsx)(c.K0,{buttonSize:"sm",buttonType:"blended","data-cy":"delete-file","data-propagation":"stop",icon:(0,y.jsx)(h.A,{}),id:`delete-document-${v}`,onClick:()=>A(v),title:g("accessibility.action.delete")}):null,t[37]=n,t[38]=f,t[39]=A,t[40]=E,t[41]=v,t[42]=S,t[43]=g,t[44]=K):K=t[44],t[45]!==G||t[46]!==K||t[47]!==R?(W=(0,y.jsxs)(u.A,{alignItems:"flex-start",className:"group","data-clarity-mask":"true","data-cy":"file-list-item",display:"flex",gap:"s16",options:C,p:"s16",px:T,children:[R,G,K]}),t[45]=G,t[46]=K,t[47]=R,t[48]=W):W=t[48],W}},53458(e,t,n){n.d(t,{A:()=>l});n(84775);var a=n(44007),o=n(41711),i=n(96777),s=n(59033),r=n(52695);const c=(0,o.forwardRef)((({allowedMimetypes:e=[],label:t,maxSize:n,onError:o,onSelected:c,id:l},d)=>{const u=(0,i.A)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("input",{accept:e.join(","),className:(0,a.IR)(),"data-cy":l,id:l,onChange:t=>{const a=t.target.files?.[0];a?(!e.length||e.length&&e.includes(a.type))&&(!n||a.size<=n)?c?.(a):o?.(a):o?.(),t.target.value=""},ref:d,tabIndex:-1,type:"file"}),(0,r.jsx)(s.JU,{className:(0,a.IR)(),htmlFor:l,children:t||u("accessibility.action.upload")})]})})),l=c;c.displayName="HiddenFileInput"},63489(e,t,n){n.d(t,{A:()=>a,o:()=>o});const a=(e={})=>({id:e.id,width:e.width,height:e.height,ratio:e.ratio,mimeType:e.mimeType,bytes:e.bytes}),o=(e={})=>({id:e.id,width:e.width,height:e.height})},93123(e,t,n){n.d(t,{e:()=>o});var a=n(18960);const o=(e,t="media")=>a.Ok.MEDIA_API_HOST+t+"/"+e},87377(e,t,n){n.d(t,{A:()=>m});var a=n(76873),o=n(41711),i=n(96777),s=n(26150),r=n(63848),c=n(72338),l=n(53663),d=n(59033),u=n(52695);const p=({children:e,close:t,isOpen:n=!1})=>{const a=(0,o.useRef)(null),i=(0,o.useRef)(null),s=(0,o.useRef)(null);(0,c.A)(n,t);const{isOpenWithTransition:p,inTransition:m}=(0,l.A)(n);return(0,o.useEffect)((()=>{s.current=document.querySelector("#modal-root")}),[]),p&&s.current?(0,r.createPortal)((0,u.jsxs)(d.i,{alignItems:"center",display:"flex",height:"100%",left:"s0",position:"fixed",top:"s0",width:"100%",children:[(0,u.jsx)(d.i,{bg:"grayAlphaDark.700",height:"100%",mixBlendMode:"multiply",onClick:e=>a.current===e.target&&t(),opacity:n&&!m?1:0,position:"fixed",ref:a,transitionDuration:"d200",transitionProperty:"opacity",width:"100%",willChange:"opacity"}),(0,u.jsx)(d.i,{maxHeight:"100%",onClick:e=>i.current===e.target&&t(),opacity:n&&!m?1:0,ref:i,transform:`scale(${n&&!m?"1":"0.95"})`,transitionDuration:"d200",transitionProperty:"transform, opacity",width:"100%",willChange:"transform, opacity",children:(0,u.jsx)(d.mc,{containerSize:"xs",height:"100%",children:e})})]}),s.current):null},m=({context:e,"data-cy":t,hasError:n,headline:r,isOpen:c=!1,isPending:l,primaryHandler:m,primaryLabel:h,secondaryLabel:_})=>{const y=(0,i.A)(),{close:A,closeOverlay:E}=(0,s.A)({isDirty:!1,noOverlayClose:!1}),g=(0,o.useRef)(null);return(0,o.useLayoutEffect)((()=>{if(!c)return;const e=setTimeout((()=>{g.current?.focus()}),200);return()=>clearTimeout(e)}),[c]),(0,u.jsx)(p,{close:E,isOpen:c,children:(0,u.jsxs)(a.I4.dialog,{"aria-labelledby":"dialog-headline","aria-modal":"true",border:"none",borderRadius:"r24","data-cy":t||"modal",display:"block",flexDirection:"column",overflow:"hidden",position:"relative",px:{base:"s16",sm:"s32"},py:{base:"s24",sm:"s32"},width:"100%",children:[(0,u.jsx)(d.H2,{"data-cy":t?`${t}-dialog-headline`:"dialog-headline",id:"dialog-headline",ref:g,tabIndex:-1,textStyle:"title4",width:"100%",children:r}),e&&(0,u.jsx)(d.P,{mt:"s16",children:e}),(0,u.jsxs)(d.so,{flexDirection:{base:"column-reverse",sm:"row-reverse"},gap:"s16",mt:{base:"s24",sm:"s48"},width:"100%",children:[m&&(0,u.jsx)(d.mz,{buttonColor:"destructive",buttonState:l?"pending":n?"error":"default","data-cy":t?`${t}-modal-primary`:"modal-primary",onClick:()=>m(),width:{base:"100%",sm:"auto"},children:h||y("accessibility.action.delete")}),(0,u.jsx)(d.$n,{buttonType:"outlined","data-cy":t?`${t}-modal-secondary`:"modal-secondary",onClick:()=>A(),width:{base:"100%",sm:"auto"},children:_||y("accessibility.action.cancel")})]})]})})}}
1,57790(e,t,n){n.d(t,{Q:()=>a});const a={SET_EXTRACTED_CV_FIELDS:"ONBOARDING.SET_EXTRACTED_CV_FIELDS",SET_HAS_SEEN_PROFILE_INFORMATION:"ONBOARDING.SET_HAS_SEEN_PROFILE_INFORMATION",SET_ONBOARDING_CONDITIONS:"ONBOARDING.SET_ONBOARDING_CONDITIONS",SET_RICO_VACANCY_ID:"ONBOARDING.SET_RICO_VACANCY_ID",SET_TEASER_LIST:"ONBOARDING.SET_TEASER_LIST"}},35540(e,t,n){n.d(t,{Ay:()=>g,Cx:()=>y});var a=n(41711),o=n(73128),i=n(98789),s=n(10603),r=n(14503),c=n(96777),l=n(29154),d=n(59033),u=n(15982),p=n(71072),m=n(52695);const h=({isCompleted:e,text:t,isLoading:n=!1,...a})=>(0,m.jsxs)(d.Li,{display:"flex",gap:"s8",...a,alignItems:"center",children:[n?(0,m.jsx)(d.y$,{spinnerSize:"sm"}):e?(0,m.jsx)(p.A,{color:"green.500"}):(0,m.jsx)(u.A,{color:"gray.300"}),(0,m.jsx)(d.P,{fontWeight:"bold",textStyle:"caption1",children:t})]});var _=n(31876);const y={contactInformation:["phone","zipCode","city"],personalData:["gender","firstName","lastName"],professionalSituation:["cancellationPeriod",...o.j5.is("jobup")?["workPermit"]:[]]},A=["personalData","contactInformation","professionalSituation"],E=e=>({contactInformation:e("account_onboarding.missing_info_teaser.contact_information"),personalData:e("account_onboarding.missing_info_teaser.personal_data"),professionalSituation:e("account_onboarding.profile_section.professional_situation")}),g=({isLoading:e=!1,shouldShowCv:t=!0,...n})=>{const o=(0,c.A)(),{data:u}=(0,r.Qg)(),{data:{candidate:p,careers:g=[]}={candidate:{}}}=(0,l.B9)(),f=(0,a.useMemo)((()=>(0,i.Vv)(g,[_.J.JOB])[0]),[g]);return(0,m.jsxs)(d.Ul,{display:"flex",flexWrap:"wrap",...n,children:[A.map((t=>{const n=(0,s.n)(p,y[t])&&("professionalSituation"!==t||!!f?.title);return(0,m.jsx)(h,{"data-cy":`${t}-${n?"completed":"missing"}`,isCompleted:n,isLoading:e,mr:{base:"s0",sm:"s24"},text:E(o)[t],width:{base:"100%",sm:"auto"}},t)})),t&&(0,m.jsx)(h,{"data-cy":"cv-"+(u?"completed":"missing"),isCompleted:!!u,mr:{base:"s0",sm:"s24"},text:"CV",width:{base:"100%",sm:"auto"}})]})}},47627(e,t,n){n.d(t,{A:()=>d});var a=n(44007),o=n(18960),i=n(96777),s=n(59033),r=n(58550),c=n(86147),l=n(52695);const d=({children:e,description:t,hasAiTag:n,illustration:d,showsBackButton:u=!1,title:p})=>{const m=(0,i.A)();return(0,l.jsxs)(s.gZ,{className:(0,a.kL)({containerSize:"sm"}),mb:"s64",mt:"s64",children:[u&&(0,l.jsxs)(s.N_,{"data-cy":"back-button",display:{base:"none",md:"flex"},eventData:{event_component_type:"back_link"},gap:"s8",mb:"s24",to:{route:o.JZ.ONBOARDING},children:[(0,l.jsx)(r.A,{})," ",m("common.action.back")]}),(0,l.jsxs)(s.so,{alignItems:"center",flexDirection:"column",gap:"s32",mb:"s32",position:"relative",children:[u&&(0,l.jsx)(s.i,{left:"s16",position:"absolute",children:(0,l.jsx)(s.N_,{display:{base:"inline-block",md:"none"},eventData:{event_component_type:"back_link"},to:{route:o.JZ.ONBOARDING},children:(0,l.jsx)(r.A,{})})}),(0,l.jsx)(s._V,{alt:"",imageSize:"illustration",src:d}),(0,l.jsxs)(s.so,{alignItems:"center",flexDirection:"column",gap:"s8",mb:{base:"s0",md:"s32"},children:[(0,l.jsx)(s.H1,{color:"purple.900",maxWidth:"[632px]",mb:"s8",textAlign:"center",textStyle:{base:"display3",md:"display2"},children:p}),n&&(0,l.jsxs)(s.so,{alignItems:"center",bg:"yellow.200",borderRadius:"[14px]",color:"yellow.800",gap:"s8",px:"s8",py:"s2",children:[(0,l.jsx)(c.A,{iconSize:"xxs"}),(0,l.jsx)(s.P,{textStyle:"caption1",children:"AI powered"})]})]})]}),t&&(0,l.jsx)(s.P,{mb:"s16",children:t}),e]})}},39183(e,t,n){n.d(t,{A:()=>d,s:()=>r});n(84775),n(78944),n(18910),n(50750);var a=n(96777),o=n(59033),i=n(52695);const s=["name","gender","dateOfBirth","nationalityCode","contactInformation","drivingLicenses","job","cancellationPeriod","workPermit","education","training","languages","skills"],r=e=>s.filter((t=>{switch(t){case"name":return e.some((e=>c.includes(e)));case"contactInformation":return e.some((e=>l.includes(e)));default:return e.includes(t)}})),c=["firstName","lastName"],l=["city","zipCode","phone"],d=({extractedFields:e})=>{const t=(0,a.A)(),n=r(e);return(0,i.jsx)(o.Ul,{columnGap:"s24",display:"flex",flexWrap:"wrap",justifyContent:{base:"center",sm:"left"},ml:"s24",mt:"s8",children:n.map((e=>(0,i.jsx)(o.Li,{listStyleType:"disc",children:t(`account_cv_extraction.${e}`)},e)))})}},20646(e,t,n){n.d(t,{GH:()=>o,Sx:()=>a,fs:()=>s,iH:()=>r,lj:()=>i});const a=["default","job-alert","register"],o=3,i="from-teaser",s="from-homepage",r="from-cvlizer"},30515(e,t,n){n.d(t,{A:()=>b});n(78944),n(97512),n(18910);var a=n(41711),o=n(73128),i=n(91944);const s=e=>{const{cancellationPeriod:t,job:n,city:a,countryCode:s,dateOfBirth:r,drivingLicenses:c,education:l,firstName:d,gender:u,hasDocuments:p,languages:m,lastName:h,nationalityCode:_,phone:y,skills:A,training:E,workPermit:g,zipCode:f}=e||{};return{cancellationPeriod:t||null,job:n||null,city:a||null,countryCode:s||null,dateOfBirth:!!r&&(0,i.Oc)(r)||null,...o.j5.is("jobup")?{drivingLicenses:c||null}:{},education:l||null,firstName:d||null,gender:u||null,hasDocuments:p||null,languages:m||null,lastName:h||null,nationalityCode:_||null,phone:y||null,skills:A||null,training:E||null,workPermit:g||null,zipCode:f||null}};var r=n(30866),c=n(10603),l=n(29154),d=n(28989),u=n(49948),p=n(86484),m=n(2877),h=n(12219),_=n(63742),y=n(83007),A=n(39180),E=n(81861),g=n(31876),f=n(28320);const x=(e=[])=>({job:e.filter((({type:e})=>e===g.J.JOB)).map((({title:e})=>e||"")).sort(),education:e.filter((({type:e})=>e===g.J.EDUCATION)).map((({title:e})=>e||"")).sort(),training:e.filter((({type:e})=>e===g.J.TRAINING)).map((({title:e})=>e||"")).sort()}),b=e=>{const{data:{careers:t,drivingLicenses:n,languages:i,skills:g,candidate:b}={}}=(0,l.B9)(),{setCvFlowMapKey:v}=(0,a.useContext)(E.CvFlowScreenContext),{mutateAsync:S}=(0,u.Ke)(),{mutateAsync:j}=(0,d.j)(),{mutateAsync:I}=(0,p.p)(),{mutateAsync:C}=(0,m.w)(),{mutateAsync:T}=(0,_.X)(),{mutateAsync:O}=(0,h.wQ)(),R=(0,y.m)();return(0,a.useCallback)((async a=>{const{languages:l,career_steps:d,driving_licenses:u,skills:p,picture:m,...h}=a,_=(0,A.kh)(h);try{const a=(0,f.a)(_,b),h={...b,...a},y=s({...h,...x(d),...o.j5.is("jobup")?{drivingLicenses:u?.map((({category:e})=>e)).sort()}:{},hasDocuments:!0,languages:l?.map((({iso_code:e})=>e)).sort(),skills:p?.map((({name:e})=>e)).sort()}),E=s({...o.j5.is("jobup")?{drivingLicenses:n?.map((({category:e})=>e)).sort()}:{},...b,...x(t),languages:i?.map((({iso:e})=>e)).sort(),skills:g?.map((({name:e})=>e)).sort()});R({event_name:"user_profile_update",event_funnel_name:e,form_name:"personal_information",event_details:"automatic extraction",updatedFieldValues:y,initialFieldValues:E}),await Promise.all([!t?.length&&!!d?.length&&S(d),!n?.length&&!!u?.length&&I(u),!g?.length&&!!p?.length&&T(p),!i?.length&&!!l?.length&&C(l),m&&O({mediaPicture:m}),!(0,c.R)(a)&&j({candidateDetail:(0,A.On)(h)})]),"onboarding"===e&&v("cvAnalyzed");return{updatedFields:Object.keys(y).filter((e=>{const t=e,n=y[t],a=E[t];return"added"===(0,r.BP)(a,n)}))}}catch(t){return"onboarding"===e&&v("cvAnalyzed"),{updatedFields:[]}}}),[b,t,n,i,g,e,j,S,I,C,O,T,v,R])}},8225(e,t,n){n.d(t,{A:()=>i,n:()=>s});var a=n(69462),o=n(57790);const i=(0,a.A)([],{[o.Q.SET_EXTRACTED_CV_FIELDS]:(e,t)=>t.payload}),s=e=>({type:o.Q.SET_EXTRACTED_CV_FIELDS,payload:e})},68239(e,t,n){n.d(t,{A:()=>d});var a=n(64897),o=n(8225),i=n(69462),s=n(57790);const r=(0,i.A)({hasCv:!1,hasJobAlert:!1,hasJobAlertResults:!1,hasLastSearches:!1,hasRecommendations:!1,hasSeenProfileInformation:!1,hasS
1pottedOptIn:!1,isMissingAllInformation:!0,isMissingSomeInformation:!0},{[s.Q.SET_HAS_SEEN_PROFILE_INFORMATION]:(e,t)=>({...e,hasSeenProfileInformation:t.payload}),[s.Q.SET_ONBOARDING_CONDITIONS]:(e,t)=>t.payload}),c=(0,i.A)(null,{[s.Q.SET_RICO_VACANCY_ID]:(e,t)=>t.payload}),l=(0,i.A)([],{[s.Q.SET_TEASER_LIST]:(e,t)=>t.payload}),d=(0,a.HY)({cvExtraction:o.A,onboardingConditions:r,ricoVacancyId:c,teaserList:l})},28320(e,t,n){n.d(t,{A:()=>s,a:()=>r});n(78944),n(58968);var a=n(73128),o=n(90701),i=n(91944);const s=e=>({cancellation_period:"other"===e.noticePeriodRadio?e.noticePeriodText:e.noticePeriodRadio,city:e.city||null,first_name:e.firstName||null,gender:e.gender||null,last_name:e.lastName||null,phone:(0,o.dV)(e.phone)||null,zip_code:e.zipCode||null,date_of_birth:(0,i.iz)(e.dateOfBirth),...e.city&&e.zipCode?{country_code:"CH"}:{},...a.j5.is("jobup")?{work_permit:e.workPermit||null}:{}}),r=(e,t={})=>Object.entries(e).reduce(((e,[n,a])=>a&&!t?.[n]?{...e,[n]:a}:e),{})},81861(e,t,n){n.r(t),n.d(t,{CvFlowScreenContext:()=>G,default:()=>$});var a=n(41711),o=n(32979),i=n(14503),s=n(29154),r=n(23539),c=n(44007),l=n(59846),d=n(18960),u=n(1444),p=n(42137),m=n(96777),h=n(33845),_=n(95574),y=n(59033),A=n(20646),E=n(98398),g=n(58550),f=n(13371),x=n(52695);const b=()=>{const e=(0,m.A)(),t=(0,u.A)(),{setCvFlowMapKey:n}=(0,a.useContext)(G),[o,s]=(0,l.ok)(),{mutateAsync:r}=(0,i.in)("cv"),{onCvUploadSuccess:b}=(0,p.A)();return(0,a.useEffect)((()=>{o.get(A.lj)&&(o.delete(A.lj),s(o))}),[]),(0,x.jsxs)(y.gZ,{className:(0,c.kL)({containerSize:"sm"}),mb:"s64",mt:{base:"s24",md:"s48"},children:[(0,x.jsxs)(y.N_,{"data-cy":"back-button",display:"flex",eventData:{event_component_type:"back_link"},gap:"s8",mb:{base:"s8",md:"s40"},to:{route:d.JZ.ONBOARDING},visited:"none",children:[(0,x.jsx)(g.A,{})," ",e("common.action.back")]}),(0,x.jsx)(y.H1,{mb:"s16",textStyle:"title1",children:e("account_onboarding.cv_upload_flow.no_cv.headline")}),(0,x.jsx)(y.P,{color:"gray.700",pb:{base:"s32",md:"[40px]"},textStyle:"body1",children:e("account_onboarding.cv_upload_flow.no_cv.subheadline")}),(0,x.jsx)(_.A,{allowedMimeTypes:E.f3,description:e("account_profile.documents.empty.text"),onLoad:({file:a,response:o})=>r({file:a,response:o},{onSuccess:()=>{n("hasCv"),t((0,h.tj)("TextSnackbar",{data:{text:e("account_profile.documents.success_snack_text")},severity:"success",timeout:h.Q9})),b("onboarding")}}),title:e("account_profile.documents.dropzone.title")}),(0,x.jsxs)(y.so,{bg:"gray.100",borderRadius:"r16",gap:"s8",mt:"s24",p:"s12",children:[(0,x.jsx)(f.A,{flexShrink:0,iconSize:"sm"}),(0,x.jsx)(y.P,{textStyle:"body2",children:e("account_onboarding.cv_experiment.disclaimer")})]}),(0,x.jsx)(y.so,{alignItems:{base:"stretch",md:"center"},flexDirection:{base:"column",md:"row"},gap:"s16",justifyContent:"right",mt:"s40",children:(0,x.jsx)(y.N_,{buttonWrap:"button",eventData:{event_component_type:"complete_manually"},to:{route:d.JZ.ONBOARDING_PROFILE_INFORMATION},children:(0,x.jsx)(y.Oz,{buttonType:"outlined",width:{base:"100%",md:"auto"},children:e("account_onboarding.cv_upload_flow.complete_profile_manually")})})})]})};var v=n(2390),S=n(32734),j=n(59946),I=n(62939),C=n(94956),T=n(18474),O=n(30515),R=n(8225);const D=`${d.Ok.AI_PROXY}cv-extract`,L=[D],w=()=>{const e=(0,C.A)().get("core.fetch"),{data:t}=(0,i.Qg)(),n=(0,O.A)("onboarding"),{setCvFlowMapKey:o}=(0,a.useContext)(G),s=(0,u.A)();return(0,I.I)({queryKey:L,queryFn:async()=>{try{const[a]=await Promise.all([(0,T.A)(await e.fetch(`user/candidate/skill-extract/${t?.id}`))]),o=(0,T.A)(await e.fetch(D,{body:{cvText:a.result.extractedContent.slice(0,1e4)},credentials:"include",method:"POST"})),{updatedFields:i}=await n(o.result);return s((0,R.n)(i)),o.result}catch(e){throw o("cvAnalyzed"),e}}})};var F=n(49294),P=n(47627),U=n(54198),N=n(86147);const q=()=>{const e=(0,m.A)(),t=(0,v.jE)(),{data:n}=(0,i.Qg)(),{setCvFlowMapKey:o}=(0,a.useContext)(G),s=(0,j.pE)(A.lj),r=(0,j.pE)(A.fs);return(0,a.useEffect)((()=>{t.invalidateQueries({queryKey:L})}),[t]),n?(0,x.jsxs)(P.A,{illustration:U,title:e(s?"account_onboarding.cv_upload_flow.has_cv.headline.from_teaser":"account_onboarding.cv_upload_flow.has_cv.headline"),children:[(0,x.jsx)(F.A,{onDeleteSuccess:()=>o("noCv")}),(0,x.jsxs)(y.so,{flexDirection:"column",gap:"s8",mt:"s24",children:[(0,x.jsx)(y.L9,{fontWeight:"bold",textStyle:"body2",children:e("account_onboarding.cv_upload_flow.has_cv.complete_your_profile")}),(0,x.jsx)(y.L9,{children:e("account_onboarding.cv_upload_flow.has_cv.quicker_apply")})]}),(0,x.jsxs)(y.i,{alignItems:{base:"stretch",md:"center"},display:"flex",flexDirection:{base:"column-reverse",md:"row"},gap:"s16",justifyContent:"right",mt:"s24",children:[(0,x.jsx)(y.N_,{buttonWrap:"button",eventData:{event_c
1omponent_type:"has_cv"},onClick:()=>(0,S.A)("cvUploadFillManuallyButton"),to:{route:d.JZ.ONBOARDING_PROFILE_INFORMATION,query:{...r?{[A.fs]:"1"}:{}}},children:(0,x.jsx)(y.Oz,{buttonType:"outlined","data-cy":"fill_manually_button",width:{base:"100%",md:"auto"},children:e("account_onboarding.cv_upload_flow.complete_profile_manually")})}),n?.id&&(0,x.jsxs)(y.$n,{"data-cy":"fill_automatically_button",onClick:()=>{(0,S.A)("cvUploadCompleteProfileAutomaticallyButton"),o("cvAnalysis")},children:[(0,x.jsx)(N.A,{mr:"s8"}),e("account_onboarding.cv_upload_flow.has_cv.fill_out_automatically")]})]})]}):null};var k=n(35540),Q=n(12765);const M=()=>{const e=(0,m.A)();return w(),(0,x.jsxs)(P.A,{hasAiTag:!0,illustration:Q,title:e("account_onboarding.cv_upload_flow.cv_analysis.headline"),children:[(0,x.jsx)(F.A,{hasNoAction:!0}),(0,x.jsx)(y.P,{fontWeight:"bold",mt:"s24",children:e("account_onboarding.cv_upload_flow.cv_analysis.analysing")}),(0,x.jsx)(k.Ay,{isLoading:!0,shouldShowCv:!1})]})};var z=n(53221),V=n(34380);const H=()=>{const e=(0,m.A)(),{isError:t}=w(),n=(0,j.pE)(A.fs);return(0,x.jsxs)(P.A,{hasAiTag:!0,illustration:U,title:e("account_onboarding.cv_upload_flow.analyzed_cv.headline"),children:[(0,x.jsx)(F.A,{hasNoAction:!0}),t?(0,x.jsx)(V.A,{"data-cy":"cv_upload_error_infobox",infoboxType:"error",children:(0,x.jsx)(y.L9,{children:(0,z.A)({components:{b:(0,x.jsx)(y.L9,{fontWeight:"bold"}),br:(0,x.jsx)("br",{})},mixedString:e("account_onboarding.cv_upload_flow.analyzed_cv.infobox_error")})})}):(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)(y.P,{fontWeight:"bold",mb:"s16",mt:"s24",children:e("account_onboarding.cv_upload_flow.analyzed_cv.summary_of_analysis")}),(0,x.jsx)(k.Ay,{shouldShowCv:!1})]}),(0,x.jsxs)(y.so,{flexDirection:{base:"column",md:"row"},gap:"s16",mt:"s24",children:[(0,x.jsx)(y.L9,{children:e(t?"account_onboarding.cv_upload_flow.analyzed_cv.error_description":"account_onboarding.cv_upload_flow.analyzed_cv.check_profile_fields")}),(0,x.jsx)(y.N_,{buttonWrap:"button","data-cy":"profile-information-link",eventData:{event_component_type:"analysed_cv"},to:{route:d.JZ.ONBOARDING_PROFILE_INFORMATION,query:{...n?{[A.fs]:"1"}:{},[A.iH]:"1"}},children:(0,x.jsx)(y.Oz,{width:{base:"100%",md:"auto"},children:e(t?"account_onboarding.cv_upload_flow.analyzed_cv.error_cta":"account_onboarding.cv_upload_flow.analyzed_cv.cta")})})]})]})};var B=n(68239);const G=(0,a.createContext)({setCvFlowMapKey:()=>{}}),K={cvAnalysis:M,cvAnalyzed:H,hasCv:q,noCv:b},W=()=>{const{data:e}=(0,i.Qg)(),[t,n]=(0,a.useState)(e?"hasCv":"noCv"),o=K[t];return(0,x.jsx)(G.Provider,{value:{setCvFlowMapKey:n},children:(0,x.jsx)(o,{})})};W.loadTranslations=()=>["account_onboarding","account_profile","file_upload","pools/account_document_tags","pools/account_onboarding_intro_tagline","pools/account_onboarding_intro_title"],W.registerReducers=()=>({onboarding:B.A,profile:r.A}),W.beforeTransition=async({di:e})=>{await Promise.all([(0,o.C)(e,[s.VB,i.Q3])])};const $=W},31312(e,t,n){n.d(t,{A:()=>_});var a=n(41711),o=n(1444),i=n(42137),s=n(14503),r=n(15280),c=n(96777),l=n(33845),d=n(53458),u=n(59033),p=n(98398),m=n(50632),h=n(52695);const _=({onSuccess:e,...t})=>{const n=(0,c.A)(),_=(0,o.A)(),{mutateAsync:y}=(0,s.in)("cv"),{onCvUploadSuccess:A}=(0,i.A)(),{isSuccess:E,isUploading:g,uploadError:f,uploadFile:x,validationError:b}=(0,r.A)({allowedMimeTypes:p.f3,onLoad:({file:t,response:a})=>{y({file:t,response:a},{onSuccess:t=>{_((0,l.tj)("TextSnackbar",{data:{text:n("account_profile.documents.success_snack_text")},severity:"success",timeout:l.Q9})),A("profile"),e?.(t.result)}})}}),v=(0,a.useRef)(null);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(d.A,{allowedMimetypes:p.f3,id:"cv-upload-input",onSelected:x,ref:v}),(0,h.jsxs)(u.mz,{buttonState:g?"pending":f?.length||b?"error":E?"success":"default","data-cy":"cv-upload-button",onClick:()=>v.current?.click(),...t,children:[(0,h.jsx)(m.A,{mr:"s4"}),n("account_profile.completeness.cta.cv")]})]})}},28989(e,t,n){n.d(t,{j:()=>d});var a=n(2390),o=n(8179),i=n(94956),s=n(18474),r=n(29154),c=n(39180),l=n(33845);const d=()=>
1{const e=(0,i.A)(),t=(0,a.jE)(),n=e.get("core.fetch"),{dispatch:d}=e.get("core.redux");return(0,o.n)({mutationFn:async({candidateDetail:e})=>(0,s.A)(await n.fetch("user/candidate",{body:e,method:"PATCH"})),onSuccess:async(e,{silent:n})=>{!n&&d((0,l.tj)("GenericConfirmSnackbar",{allowList:["USER_PROFILE","ONBOARDING"],timeout:l.Q9,hideOnLeaveScope:!0})),t.setQueryData(r.qv,(t=>t&&{...t,candidate:{...t.candidate,...(0,c.kh)(e.result)}}))}})}},49948(e,t,n){n.d(t,{EU:()=>y,Ke:()=>A,ls:()=>_});n(78944),n(97512),n(18910);var a=n(2390),o=n(8179),i=n(94956),s=n(73128),r=n(15623),c=n(18474),l=n(65496),d=n(29154),u=n(45497);const p="user/candidate/career",m=["user/candidate/career"],h=e=>p+"/"+e,_=()=>{const e=(0,a.jE)(),t=(0,i.A)().get("core.fetch"),{openModal:n}=(0,l.A)("cv_cloud_deactivate"),s=(0,o.n)({mutationFn:async e=>{const{id:n,type:a}=e,o=n?h(a)+"/"+n:h(a);return(0,c.A)(await t.fetch(o,{body:(0,u.dW)(e),method:n?"PATCH":"POST"}))},onSuccess:(t,n)=>{e.setQueryData(d.qv,(e=>e&&{...e,careers:n.id?e.careers.map((e=>e.id===n.id?(0,u.Ay)(t.result):e)):[...e.careers,(0,u.Ay)(t.result)]}))},onError:(e,t)=>{(0,r.I)(e.result)&&n({options:{handler:async()=>await s.mutateAsync(t)},openClean:!0})}});return s},y=()=>
1{const e=(0,a.jE)(),t=(0,i.A)().get("core.fetch"),{openModal:n}=(0,l.A)("cv_cloud_deactivate"),u=(0,o.n)({mutationFn:async e=>{const n=h(e.type)+"/"+e.id;return(0,c.A)(await t.fetch(n,{method:"DELETE"}))},mutationKey:m,onSuccess:(t,n)=>{e.setQueryData(d.qv,(e=>e&&{...e,careers:e.careers.filter((e=>e.id!==n.id))}))},onError:(e,t)=>{s.j5.is("jobup")&&(0,r.I)(e.result)&&n({options:{handler:async()=>await u.mutateAsync(t)},openClean:!0})}});return u},A=()=>{const e=(0,a.jE)(),t=(0,i.A)().get("core.fetch");return(0,o.n)({mutationFn:async e=>(0,c.A)(await t.fetch(p,{body:e,method:"PUT"})),mutationKey:m,onSuccess:t=>{e.setQueryData(d.qv,(e=>e&&{...e,careers:t.result.map((e=>(0,u.Ay)(e)))}))}})}},28403(e,t,n){n.d(t,{A:()=>d});var a=n(2390),o=n(41711),i=n(94956),s=n(18960),r=n(14503),c=n(96777),l=n(30515);const d=({funnel:e="profile",onSuccess:t})=>{const n=(0,c.A)(),d=(0,i.A)().get("core.fetch"),[u,p]=(0,o.useState)(!1),[m,h]=(0,o.useState)(""),[_,y]=(0,o.useState)(!1),{data:A}=(0,r.Qg)(),E=(0,l.A)(e),g=(0,a.jE)();return{error:m,extractCv:(0,o.useCallback)((async e=>{h(""),y(!1),p(!0);try{const a=await d.fetch(`user/candidate/skill-extract/${e||A?.id}`,{});if(a.ok&&a.result.extractedContent){const e=await d.fetch(`${s.Ok.AI_PROXY}cv-extract`,{body:{cvText:a.result.extractedContent.slice(0,1e4)},credentials:"include",method:"POST"});if(e.ok){const{updatedFields:n}=await E(e.result);return await Promise.all([g.refetchQueries({queryKey:["user"]}),g.refetchQueries({queryKey:["user/candidate/candidate-and-children"]})]),y(!0),t?.(n),void p(!1)}}h(n("account_profile.cv_extract.error.unable"))}catch(e){h(n("accessibility.action.load.error"))}p(!1)}),[A?.id,d,t,E,g,n]),isPending:u,isSuccess:_}}},86484(e,t,n){n.d(t,{p:()=>c});var a=n(2390),o=n(8179),i=n(94956),s=n(18474),r=n(29154);const c=()=>{const e=(0,a.jE)(),t=(0,i.A)().get("core.fetch");return(0,o.n)({mutationFn:async e=>(0,s.A)(await t.fetch("user/candidate/driving-license",{body:e,method:"PUT"})),onSuccess:t=>{e.setQueryData(r.qv,(e=>e&&{...e,drivingLicenses:t.result}))}})}},2877(e,t,n){n.d(t,{w:()=>u});n(78944),n(18910);var a=n(2390),o=n(8179),i=n(94956),s=n(15623),r=n(18474),c=n(65496),l=n(29154),d=n(9129);const u=()=>
1{const e=(0,a.jE)(),t=(0,i.A)().get("core.fetch"),{openModal:n}=(0,c.A)("cv_cloud_deactivate"),u=(0,o.n)({mutationFn:async e=>(0,r.A)(await t.fetch("user/candidate/language",{body:e,method:"PUT"})),onSuccess:t=>{e.setQueryData(l.qv,(e=>e&&{...e,languages:t.result.map((e=>(0,d.A)(e)))}))},onError:e=>{(0,s.I)(e.result)&&n({options:{handler:async()=>await u.mutateAsync([])},openClean:!0})}});return u}},12219(e,t,n){n.d(t,{cc:()=>_,qG:()=>E,wQ:()=>y,yo:()=>A});var a=n(62939),o=n(2390),i=n(8179),s=n(94956),r=n(93123),c=n(18474),l=n(1444),d=n(33845);const u="user/candidate/picture",p=[u],m=e=>{const t=e.cropped_media_api_id;if(t)return{src:(0,r.e)(t,"images"),type:"custom"};const n=e.original_media_api_id;return n?{src:(0,r.e)(n,"images"),type:"custom"}:{type:"no-image",src:void 0}},h=async e=>m((0,c.A)(await e.get("core.fetch").fetch(u,{preventNavigateToLogin:!0})).result),_=(e=!0)=>{const t=(0,s.A)();return(0,a.I)({enabled:e,queryFn:async()=>h(t),queryKey:p})},y=()=>{const e=(0,s.A)().get("core.fetch"),t=(0,o.jE)();return(0,i.n)({mutationFn:async({mediaPicture:t,originalImageId:n,croppedMediaObject:a,cropOptions:o})=>{const i=t||{original_media_api_id:n,cropped_media_api_id:a?.id,cropping_position_x:o?.x,cropping_position_y:o?.y,cropping_width:o?.width,cropping_height:o?.width};return(0,c.A)(await e.fetch(p.join(),{body:{...i,cropping_height:i.cropping_height&&Math.round(i.cropping_height),cropping_position_x:i.cropping_position_x&&Math.round(i.cropping_position_x),cropping_position_y:i.cropping_position_y&&Math.round(i.cropping_position_y),cropping_width:i.cropping_width&&Math.round(i.cropping_width)},method:"PUT"}))},onSuccess:e=>{t.setQueryData(p,(()=>m(e.result)))}})},A=()=>{const e=(0,s.A)().get("core.fetch"),t=(0,o.jE)(),n=(0,l.A)();return(0,i.n)({mutationFn:async()=>(0,c.A)(await e.fetch(p.join(),{method:"DELETE"})),onSuccess:()=>{t.setQueryData(p,(()=>null)),n((0,d.tj)("GenericConfirmSnackbar",{timeout:d.Q9,hideOnLeaveScope:!0}))}})},E={queryKey:p,queryFn:h}},63742(e,t,n){n.d(t,{X:()=>l});var a=n(2390),o=n(8179),i=n(94956),s=n(18474),r=n(29154),c=n(17865);const l=()=>{const e=(0,a.jE)(),t=(0,i.A)().get("core.fetch");return(0,o.n)({mutationFn:async e=>(0,s.A)(await t.fetch("user/candidate/skill",{body:(0,c.dW)(e),method:"PUT"})),onSuccess:t=>{e.setQueryData(r.qv,(e=>e&&{...e,skills:t.result}))}})}},91944(e,t,n){n.d(t,{Oc:()=>i,iz:()=>o,jR:()=>s});var a=n(46044);const o=e=>e&&(e.year||e.month||e.day)?e.year+"-"+e.month+"-"+e.day:null,i=e=>{if(e){const[t,n,a]=e.split("-");return{year:t,month:n,day:a}}},s=e=>{if(!e)return!0;const{year:t,month:n,day:o}=e;return!(t||n||o)||!!t&&!!n&&!!o&&(0,a.LV)(e)}},17865(e,t,n){n.d(t,{dW:()=>
1o});n(78944),n(97512),n(18910);var a=n(37555);const o=e=>(e=>e.map((e=>({name:e.name}))))((e=>(0,a.sk)(e.filter((e=>!!e.name)),((e,t)=>e.name===t.name)))(e))},88217(e,t,n){n.d(t,{C:()=>a});const a={PICTURE:{FETCH:{REQUEST:"PROFILE.PICTURE.FETCH.REQUEST",SUCCESS:"PROFILE.PICTURE.FETCH.SUCCESS",FAILURE:"PROFILE.PICTURE.FETCH.FAILURE"},UPDATE:{REQUEST:"PROFILE.PICTURE.UPDATE.REQUEST",SUCCESS:"PROFILE.PICTURE.UPDATE.SUCCESS",FAILURE:"PROFILE.PICTURE.UPDATE.FAILURE"},DELETE:{REQUEST:"PROFILE.PICTURE.DELETE.REQUEST",SUCCESS:"PROFILE.PICTURE.DELETE.SUCCESS",FAILURE:"PROFILE.PICTURE.DELETE.FAILURE"}},DOCUMENTS:{FETCH:{REQUEST:"PROFILE.DOCUMENTS.FETCH.REQUEST",SUCCESS:"PROFILE.DOCUMENTS.FETCH.SUCCESS",FAILURE:"PROFILE.DOCUMENTS.FETCH.FAILURE"},ADD:{REQUEST:"PROFILE.DOCUMENTS.ADD.REQUEST",SUCCESS:"PROFILE.DOCUMENTS.ADD.SUCCESS",FAILURE:"PROFILE.DOCUMENTS.ADD.FAILURE"},DELETE:{REQUEST:"PROFILE.DOCUMENTS.DELETE.REQUEST",SUCCESS:"PROFILE.DOCUMENTS.DELETE.SUCCESS",FAILURE:"PROFILE.DOCUMENTS.DELETE.FAILURE"},SAVE:{SUCCESS:"PROFILE.DOCUMENTS.SAVE.SUCCESS"}}
1,USER_AVATAR:{DELETE:{REQUEST:"PROFILE.USER_AVATAR.DELETE.REQUEST",CANCEL:"PROFILE.USER_AVATAR.DELETE.CANCEL"},ORIGINAL_IMAGE:{LOADED:"PROFILE.USER_AVATAR.ORIGINAL_IMAGE.LOADED"},UPLOAD:{REQUEST:"PROFILE.USER_AVATAR.UPLOAD.REQUEST",SUCCESS:"PROFILE.USER_AVATAR.UPLOAD.SUCCESS",FAILURE:"PROFILE.USER_AVATAR.UPLOAD.FAILURE"}},INITIAL_FETCH:{PROFILE:"PROFILE.INITIAL_FETCH",PURGE:"PROFILE.INITIAL_FETCH.PURGE"}}},23539(e,t,n){n.d(t,{A:()=>p});var a=n(64897),o=n(69462),i=n(63489),s=n(88217);const r={originalImage:(0,i.A)()},c=(0,o.A)(r,{[s.C.USER_AVATAR.ORIGINAL_IMAGE.LOADED]:(e,t)=>({...e,originalImage:(0,i.A)(t.payload)})}),l=(0,o.A)({isDeleteOverlayOpen:!1},{[s.C.USER_AVATAR.DELETE.REQUEST]:e=>({...e,isDeleteOverlayOpen:!0}),[s.C.USER_AVATAR.DELETE.CANCEL]:e=>({...e,isDeleteOverlayOpen:!1}),[s.C.PICTURE.DELETE.SUCCESS]:e=>({...e,isDeleteOverlayOpen:!1})}),d={profile:!1},u=(0,o.A)(d,{[s.C.INITIAL_FETCH.PROFILE]:e=>({...e,profile:!0}),[s.C.INITIAL_FETCH.PURGE]:()=>d}),p=(0,a.HY)({croppingModal:c,editUserAvatar:l,initialFetch:u})},15623(e,t,n){n.d(t,{I:()=>a});n(84775),n(78944),n(27025);const a=e=>e?.errors.find((e=>422===e.code&&(e.reference?.includes("cv_database_visibility")||e.reference?.includes("cv_cloud_visibility"))))},32979(e,t,n){n.d(t,{C:()=>a,w:()=>o});n(78944),n(18910);const a=async(e,t)=>Promise.all(t.map((({queryKey:t,queryFn:n})=>e.get("query.client").prefetchQuery({queryKey:t,queryFn:()=>n(e)})))),o=async(e,t)=>Promise.all(t.map((({queryKey:t,queryFn:n})=>e.get("query.client").prefetchInfiniteQuery({queryKey:t,queryFn:()=>n(e),initialPageParam:1}))))},83007(e,t,n){n.d(t,{m:()=>s});var a=n(41711),o=n(94956),i=n(30866);const s=()=>{const{track:e}=(0,o.A)().get("core.tealium");return(0,a.useCallback)((({updatedFieldValues:t,initialFieldValues:n,...a})=>{e({...a,...(0,i.mo)(n,t)})}),[e])}},30866(e,t,n){n.d(t,{BP:()=>i,mo:()=>s});n(78944),n(83871),n(18910);const a=(e,t)=>Array.isArray(e)&&Array.isArray(t)?((e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!a(e[n],t[n]))return!1;return!0})(e,t):e&&t&&"object"==typeof e&&"object"==typeof t?((e,t)=>{const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(const o of n)if(!a(e[o],t[o]))return!1;return!0})(e,t):e===t,o=e=>{const t=typeof e;return null==e||("object"===t&&Array.isArray(e)?e.every(o):"string"===t&&!e.trim().length)},i=(e,t)=>o(e)&&o(t)?"empty":o(e)&&!o(t)?"added":!o(e)&&o(t)?"removed":o(e)||o(t)||a(e||{},t||{})?"preexisting":"changed",s=(e,t)=>{const n=Object.keys(t).sort();return{form_field_status:n.map((n=>{const a=e[n],o=t[n];return i(a,o)})),form_field_name:n}}},34380(e,t,n){n.d(t,{A:()=>h});var a=n(76873),o=n(41711),i=n(96777),s=n(59033),r=n(13371),c=n(42776),l=n(53678),d=n(73986),u=n(52695);const p={default:(0,u.jsx)(r.A,{}),error:(0,u.jsx)(l.A,{}),highlight:(0,u.jsx)(d.A,{})},m=(0,a.I4)("div",{base:{borderRadius:"r16",display:"flex",gap:{base:"s8",sm:"s16"},justifyContent:"space-between",p:"s12",width:"100%"},defaultVariants:{infoboxType:"default"},variants:{infoboxType:{default:{bg:"gray.100"},error:{bg:"red.200",color:"red.700"},highlight:{bg:"purple.200",color:"purple.800"}}}}),h=({children:e,icon:t,infoboxType:n="default",isDismissible:a=!1,onDismiss:r,...l})=>{const[d,h]=(0,o.useState)(!0),_=(0,i.A)();return(0,u.jsx)(u.Fragment,{children:d&&(0,u.jsxs)(m,{infoboxType:n,...a?{pb:"s0"}:{},...l,tabIndex:0,children:[(0,u.jsxs)(s.so,{flexWrap:"wrap",gap:"s8",...a?{mb:"s16"}:{},children:[(0,u.jsx)(s.so,{flexShrink:0,children:t||p[n]}),(0,u.jsx)(s.so,{flex:"[1]",flexWrap:"wrap",children:e})]}),(a||r)&&(0,u.jsx)(s.K0,{buttonType:"blended","data-cy":`${l["data-cy"]||"banner"}-close-icon`,flexShrink:0,icon:(0,u.jsx)(c.A,{color:"gray.900"}),mr:"ns12",mt:"ns12",onClick:()=>{r?.(),h(!1)},title:_("accessibility.action.close")})]})})}},10603(e,t,n){n.d(t,{R:()=>o,n:()=>a});n(78944),n(83871);const a=(e,t)=>t.every((t=>void 0!==e?.[t])),o=e=>!Object.keys(e).length},13371(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"m10.95 12.7-1.375-1.4q-.3-.3-.712-.3c-.412 0-.513.1-.713.3s-.304.438-.312.712a.93.93 0 0 0 .287.713l2.125 2.125q.3.3.7.3c.4 0 .5-.1.7-.3l4.25-4.25q.3-.3.3-.713 0-.412-.3-.712c-.3-.3-.437-.3-.712-.3s-.513.1-.713.3zM12 21.925h-.25a.5.5 0 0 1-.225-.05q-3.274-1.024-5.4-4.063Q4 14.776 4 11.1V6.375q0-.624.363-1.125.362-.5.937-.725l6-2.25a2.1 2.1 0 0 1 .7-.125q.35 0 .7.125l6 2.25q.575.225.938.725.362.501.362 1.125V11.1q0 3.675-2.125 6.712-2.126 3.039-5.4 4.063-.125.05-.475.05m0-2.025q2.6-.825 4.3-3.3c1.7-2.475 1.7-3.483 1.7-5.5V6.375l-6-2.25-6 2.25V11.1q0 3.025 1.7 5.5c1.7 2.475 2.567 2.75 4.3 3.3"})})},15982(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"M12.493 22.985a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175a9.7 9.7 0 0 1-.788-3.9q0-2.075.788-3.9A10.1 10.1 0 0 1 5.418 5.91q1.35-1.35 3.175-2.138a9.7 9.7 0 0 1 3.9-.787q2.074 0 3.9.787a10.1 10.1 0 0 1 3.175 2.138q1.35 1.35 2.137 3.175a9.7 9.7 0 0 1 .788 3.9 9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137a9.7 9.7 0 0 1-3.9.788m0-2q3.324 0 5.663-2.337 2.337-2.337 2.337-5.663 0-3.324-2.337-5.663-2.338-2.337-5.663-2.337c-3.325 0-4.104.78-5.662 2.337q-2.338 2.339-2.338 5.663 0 3.326 2.338 5.663t5.
1662 2.337"})})},60163(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"M6.5 20q-2.275 0-3.887-1.575Q1 16.849 1 14.575q0-1.95 1.175-3.475Q3.349 9.575 5.25 9.15q.425-1.8 2.125-3.425Q9.075 4.099 11 4.1q.825 0 1.413.587Q13 5.275 13 6.1v6.05l.9-.875a.93.93 0 0 1 .688-.275q.412 0 .712.3a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7l-2.6 2.6q-.15.15-.325.212a1.1 1.1 0 0 1-.375.063 1.1 1.1 0 0 1-.375-.063.9.9 0 0 1-.325-.212l-2.6-2.6a.98.98 0 0 1-.287-.688.93.93 0 0 1 .287-.712.98.98 0 0 1 .687-.288.98.98 0 0 1 .713.263l.9.875V6.1q-1.9.35-2.95 1.837T7 11h-.5q-1.45 0-2.475 1.025A3.37 3.37 0 0 0 3 14.5q0 1.449 1.025 2.475A3.37 3.37 0 0 0 6.5 18h12q1.05 0 1.775-.725Q21 16.549 21 15.5c0-1.049-.242-1.292-.725-1.775Q19.55 12.999 18.5 13H17v-2q0-1.2-.55-2.238A5.6 5.6 0 0 0 15 7V4.675a6.83 6.83 0 0 1 2.925 2.588A6.9 6.9 0 0 1 19 11q1.725.2 2.863 1.487A4.4 4.4 0 0 1 23 15.5q0 1.875-1.312 3.188Q20.375 19.999 18.5 20z"})})},50632(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"m11.5 12.85-.9.875a.93.93 0 0 1-.687.275.97.97 0 0 1-.713-.3.95.95 0 0 1-.275-.7q0-.425.275-.7l2.6-2.6q.3-.3.7-.3t.7.3l2.6 2.6q.276.274.287.688a.93.93 0 0 1-.287.712.98.98 0 0 1-.687.288.97.97 0 0 1-.713-.263l-.9-.875V18H19q1.05 0 1.775-.725T21.5 15.5t-.725-1.775T19 13h-1.5v-2q0-2.075-1.462-3.537Q14.574 6 12.5 6q-2.075 0-3.537 1.463Q7.5 8.925 7.5 11H7q-1.45 0-2.475 1.025A3.37 3.37 0 0 0 3.5 14.5q0 1.45 1.025 2.475A3.37 3.37 0 0 0 7 18h1.5q.424 0 .713.288.287.287.287.712 0 .424-.287.712A.97.97 0 0 1 8.5 20H7q-2.275 0-3.887-1.575T1.5 14.575q0-1.95 1.175-3.475Q3.849 9.575 5.75 9.15q.625-2.3 2.5-3.725T12.5 4q2.925 0 4.962 2.037T19.5 11q1.725.2 2.863 1.488A4.4 4.4 0 0 1 23.5 15.5q0 1.875-1.312 3.188Q20.875 20 19 20h-5.5q-.825 0-1.412-.587A1.93 1.93 0 0 1 11.5 18z"})})},53678(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"M14.925 3a1.98 1.98 0 0 1 1.4.575l4.1 4.1c.37.372.577.875.575 1.4v5.85a1.98 1.98 0 0 1-.575 1.4l-4.1 4.1c-.372.37-.875.577-1.4.575h-5.85a1.98 1.98 0 0 1-1.4-.575l-4.1-4.1a1.98 1.98 0 0 1-.575-1.4v-5.85a1.98 1.98 0 0 1 .575-1.4l4.1-4.1c.372-.37.875-.577 1.4-.575zM14.9 5H9.1L5 9.1v5.8L9.1 19h5.8l4.1-4.1V9.1zm-.05 3.175q.425 0 .7.275a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7L13.4 12l2.15 2.15a.95.95 0 0 1 .275.7.95.95 0 0 1-.275.7.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275L12 13.4l-2.15 2.15a.95.95 0 0 1-.7.275.95.95 0 0 1-.7-.275.95.95 0 0 1-.275-.7q0-.426.275-.7L10.6 12 8.45 9.85a.94.94 0 0 1-.275-.7q0-.425.275-.7a.95.95 0 0 1 .7-.275q.426 0 .7.275L12 10.6l2.15-2.15a.95.95 0 0 1 .7-.275"})})},73986(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"M19 3c1.1 0 2 .9 2 2v14c0 1.1-.9 2-2 2H5a2.006 2.006 0 0 1-2-2V5c0-1.1.9-2 2-2zm0 2H5v14h14zm-7 6a1 1 0 0 1 .713.275.93.93 0 0 1 .287.7V16a.97.97 0 0 1-.287.712A.97.97 0 0 1 12 17a1 1 0 0 1-.713-.275.93.93 0 0 1-.287-.7V12q0-.426.288-.713A.97.97 0 0 1 12 11m0-4q.426 0 .713.287Q13 7.575 13 8a.97.97 0 0 1-.287.712A.97.97 0 0 1 12 9a.97.97 0 0 1-.713-.288A.97.97 0 0 1 11 8q0-.425.288-.713A.97.97 0 0 1 12 7"})})},94572(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"M7 21q-.824 0-1.412-.587A1.93 1.93 0 0 1 5 19V6a.97.97 0 0 1-.713-.287A.97.97 0 0 1 4 5a.97.97 0 0 1 .287-.713A.97.97 0 0 1 5 4h4q0-.425.288-.713A.97.97 0 0 1 10 3h4a.97.97 0 0 1 .713.287A.97.97 0 0 1 15 4h4a.97.97 0 0 1 .712.287Q20 4.575 20 5a.97.97 0 0 1-.288.713A.97.97 0 0 1 19 6v13a1.93 1.93 0 0 1-.587 1.413A1.93 1.93 0 0 1 17 21zM7 6v13h10V6zm2 10q0 .424.288.712A.97.97 0 0 0 10 17a.97.97 0 0 0 .713-.288A.97.97 0 0 0 11 16V9a.97.97 0 0 0-.287-.713A.97.97 0 0 0 10 8a.97.97 0 0 0-.712.287A.97.97 0 0 0 9 9zm4 0q0 .424.288.712A.97.97 0 0 0 14 17a.97.97 0 0 0 .713-.288A.97.97 0 0 0 15 16V9a.97.97 0 0 0-.287-.713A.97.97 0 0 0 14 8a.97.97 0 0 0-.712.287A.97.97 0 0 0 13 9zM7 6v13z"})})},34882(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"M12 20q-.825 0-1.412-.587A1.93 1.93 0 0 1 10 18q0-.825.588-1.413A1.93 1.93 0 0 1 12 16q.825 0 1.413.587Q14 17.175 14 18c0 .825-.196 1.021-.587 1.413A1.93 1.93 0 0 1 12 20m0-6q-.825 0-1.412-.588A1.92 1.92 0 0 1 10 12q0-.825.588-1.413A1.93 1.93 0 0 1 12 10q.825 0 1.413.587Q14 11.175 14 12c0 .825-.196 1.02-.587 1.412A1.93 1.93 0 0 1 12 14m0-6q-.825 0-1.412-.588A1.92 1.92 0 0 1 10 6q0-.824.588-1.412A1.92 1.92 0 0 1 12 4q.825 0 1.413.588Q14 5.175 14 6q0 .824-.587 1.412A1.93 1.93 0 0 1 12 8"})})},86147(e,t,n){n.d(t,{A:()=>i});var a=n(59033),o=n(52695);const i=e=>(0,o.jsx)(a.In,{...e,children:(0,o.jsx)("path",{d:"m19.507 1.015-1.26 2.75-2.74 1.25 2.74 1.26 1.26 2.74 1.25-2.74 2.75-1.26-2.75-1.25zm-10 3-2.5 5.5-5.5 2.5 5.5 2.5 2.5 5.5 2.5-5.5 5.5-2.5-5.5-2.5zm10 11-1.26 2.74-2.74 1.26 2.74 1.25 1.26 2.75 1.25-2.75 2.75-1.25-2.75-1.26"})})},12765(e,t,n){e.exports=n.p+"images/1c474d3853dd73d0b80a.svg"},54198(e,t,n){e.exports=n.p+"images/d68ed72c185da397d0f0.svg"}}]); 2//# sourceMappingURL=chunk-src_common_modules_onboarding_components_cvUpload_cvExtractAdditionalFields_tsx-src_common_mo-6bd2c2.ef3a05d8.js.map
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.