PageSourceSearch

https://cvapp.de/assets/chunk/offer-analyzer.10d882952768ece7.js

js cvapp.de collected 2026-09-30 19:57:25 UTC 30,314 bytes, 200 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"v1.2790.0"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="63dafe9a-5ec7-414a-bc83-d2ce9129ca7e",e._sentryDebugIdIdentifier="sentry-dbid-63dafe9a-5ec7-414a-bc83-d2ce9129ca7e")}catch(e){}}();"use strict";(self.webpackChunkresume_io_frontend=self.webpackChunkresume_io_frontend||[]).push([["5739"],{63186:function(e,t,r){e.exports=r.p+"media/job-search-bannere5fa430e76a43832.svg"},62226:function(e,t,r){r.r(t),r.d(t,{default:function(){return ee}});var i=r(74848),a=r(47767),l=r(81247),n=r(71118),o=r(18509),d=r(45427),s=r(91779),c=r(77378),p=r(20718),x=r(96540),h=r(5556),u=r.n(h);let f=({isLoading:e})=>{let[t,r]=(0,x.useState)(0),[a,l]=(0,x.useState)(e),d=(0,x.useRef)(),s=(0,x.useRef)(0),c=(0,x.useRef)(!0),p=(0,x.useRef)(0),h=(0,x.useRef)(0),u=0,f=0,g=null,y=(0,o.N)(n.Tp.analyzedOfferDetails);function m(e){return e*Math.PI/180}function b(e,t){e.ctx.beginPath(),e.ctx.globalAlpha=t.alpha,e.ctx.lineWidth=t.lineWidth,e.ctx.fillStyle=t.fillStyle,e.ctx.strokeStyle=t.fillStyle,e.ctx.moveTo(t.from.X,t.from.Y),e.ctx.lineTo(t.to.X,t.to.Y),e.ctx.stroke()}function j(e,t,r,i,a,l,n){return{from:{X:e,Y:t},to:{X:r,Y:i},fillStyle:a,lineWidth:l,alpha:n}}function A(e){e.ctx.lineWidth=2,e.ctx.globalAlpha=.5,e.ctx.strokeStyle="rgb(255, 255, 255)",e.ctx.fillStyle="rgb(255,255,255)"}(0,x.useEffect)(()=>{let e=t=>{t<h.current+25?requestAnimationFrame(e):(h.current=t,r(e=>{if(!c.current)return e-1;{let t=p.current/60,r=p.current/300;return p.current>9999?e+t:p.current>499?e+r:e+1}}),null!==d.current&&(s.current=t,d.current=requestAnimationFrame(e)))};return d.current=requestAnimationFrame(e),()=>cancelAnimationFrame(d.current)},[]),(0,x.useEffect)(()=>{let r=Math.round(t),i=_(y?.speedometerPercentageNeedle);v(r),e?(t>=55&&(c.current=!1),t<=45&&(c.current=!0)):(p.current=i,i>r&&(c.current=!0),i<r&&(c.current=!1),i===r&&(d.current=null,l(!1)))},[t,e,y,v]);let _=e=>e?Math.round(Number(e.replace("%",""))):0;function v(e){e&&(isNaN(f=e)||f<0?f=0:f>100&&(f=100),setTimeout(function e(){let r=document.getElementById("speedometer");r.style.width="216px",r.style.height="216px";let i=window.devicePixelRatio;r.width=216*i,r.height=216*i;let l=null;if(null!==r&&r.getContext){var n,o,d;let e,i,s,c,p,x,h,f,g,_,v,w;n=u,e=window.devicePixelRatio,(i=r.getContext("2d")).scale(e,e),(o=l={ctx:i,speed:n,center:{X:108,Y:108},levelRadius:93,gaugeOptions:{center:{X:108,Y:108},radius:103},radius:108}).ctx.clearRect(0,0,216,216),A(o),function(e){let t=e.center.X,r=e.center.Y,i=e.levelRadius,a=e.ctx,l=[{angleStart:-.5*Math.PI,angleEnd:0,x1:t,y1:r-i,x2:t+i,y2:r,colorStops:[{stop:0,color:"rgba(86, 96, 232, .2)"},{stop:1,color:"rgba(26, 145, 240, .2)"}]},{angleStart:0,angleEnd:.25*Math.PI,x1:t+i,y1:r,x2:t,y2:r+i,colorStops:[{stop:0,color:"rgba(26, 145, 240, .2)"},{stop:1,color:"rgba(26, 145, 240, .2)"}]},{angleStart:.75*Math.PI,angleEnd:Math.PI,x1:t,y1:r+i,x2:t-i,y2:r,colorStops:[{stop:0,color:"rgba(251, 68, 88, .2)"},{stop:1,color:"rgba(251, 68, 88, .2)"}]},{angleStart:Math.PI,angleEnd:1.5*Math.PI,x1:t-i,y1:r,x2:t,y2:r-i,colorStops:[{stop:0,color:"rgba(251, 68, 88, .2)"},{stop:1,color:"rgba(86, 96, 232, .2)"}]}];for(let e=0;e<l.length;++e){let n=l[e],o=a.createLinearGradient(n.x1,n.y1,n.x2,n.y2);for(let e=0;e<n.colorStops.length;++e){let t=n.colorStops[e];o.addColorStop(t.stop,t.color)}a.beginPath(),a.arc(t,r,i,n.angleStart,n.angleEnd),a.strokeStyle=o,a.lineWidth=24,a.stroke()}}(l),function(e){let t,r,i,a,l=e.levelRadius-7,n=0,o=e.gaugeOptions,d=0;A(e);let s=o.radius-3,c=e.center.X,p=e.center.Y;for(n=-45;n<=225;n+=13.5){t=s-Math.cos(d=m(n))*l,r=s-Math.sin(d)*l,i=s-Math.cos(d)*s,a=s-Math.sin(d)*s;let o="";n<60?o="#FB4458":n<120?o="#5660E8":n<200&&(o="#1A91F0"),b(e,j(c-s+t,p-s+r,c-s+i,p-s+a,o,1,1))}}(l),c=(s=(d=l).gaugeOptions).radius-10,p=s.center.Y,x=d.center.X,h=d.levelRadius-15,g=c-Math.cos(f=m(2*(13.5*(d.speed/10))-45))*h,_=c-Math.sin(f)*h,v=c-Math.cos(f)*(c+15),w=c-Math.sin(f)*(c+15),b(d,j(x-c+g,p-c+_,x-c+v,p-c+w,"rgba(251, 68, 88, 1)",3,.8)),function(e){let r,{ctx:i,gaugeOptions:l}=e;if(a)r=Math.round(t);else{let e;r=(e=y.speedometerPercentage)?e.replace("%",""):"0"}let n=`${y?.flagMsgBelowSpeedometer} average`;i.fillStyle="#1E2532";let o=l.center.X,d=l.center.Y,s=l.radius;i.font="30px arial",i.textBaseline="middle",i.fontWeight="bold",i.textAlign="center",i.fillText(r,o,d-s/5),i.font="bold 15px arial",i.textBaseline="bottom",i.fontWeight="bold",i.fillText("%",o+i.measureText(r).width+8,d-s/5+10),i.font="15px arial",i.fontWeight="400",i.fillStyle="#828BA2",i.fillText(n,o,d+s/7)}(l)}else alert("Canvas not supported by your browser!");f===u?clearTimeout(null):(f<u?g=!0:f>u&&(g=!1),g?u-10<f?u-=1:u-=5:u+10>f?u+=1:u+=5,setTimeout(e(),5))}(),5))}return(0,i.jsx)("div",{children:(0,i.jsx)("canvas",{id:"speedometer"})})};f.propTypes={isLoading:u().bool};var g=r.p+"media/noOffer47bdcfd1df18e02f.svg",y=r(38267),m=r(99701),b=r(24833),j=r(49504),A=r(67592);let _=y.Ay.div(["width:100%;display:flex;flex:1;padding-top:24px;padding-bottom:58px;margin:0;",";",";"],b.A.Tablet`
2    padding-bottom: 58px;
3    padding-left: 44px;
4    padding-right: 44px;
5    justify-content: center;
6    align-items: center;
7  `,b.A.Phone`
8    padding-top: 32px
9    padding-bottom: 40px;
10    padding-left: 20px;
11    padding-right: 20px;
12  `),v=y.Ay.div(["max-width:1120px;margin:0 auto;",";",";"],b.A.Tablet`
13    width: 100%;
14    align-items: center;
15  `,b.A.Phone`
16    width: 100%;
17    justify-content: center;
18  `);j.o5.S,j.BO.DemiBold,b.A.Tablet`
19    margin-left: 0px;
20  `,b.A.Phone`
21    width: 335px;
22    margin-left: 0px;
23    margin-bottom: 25px;
24  `;let w=y.Ay.div(["",";",";width:100%;margin-bottom:40px;",";",";"],j.o5.S,j.BO.DemiBold,b.A.Tablet`
25    margin-left: 0px;
26  `,b.A.Phone`
27    width: 335px;
28    margin-left: 0px;
29    margin-bottom: 25px;
30  `),T=y.Ay.div(["",";",";color:",";margin-bottom:20px;width:242px;",";",";"],j.o5.Subhead,j.BO.Regular,m.Jy.Neutral90,b.A.Tablet`
31    margin-left: 0;
32    width: 242px;
33  `,b.A.Phone`
34    margin-left: 0;
35    width: 287px;
36  `),z=y.Ay.div(["width:100%;margin-top:2px;",";",";",";"],b.A.AboveTablet`
37    height: 231px;
38    margin-top: 56px;
39  `,b.A.Tablet`
40    margin-top: 56px;
41  `,b.A.Phone`
42    margin-top: 48px;
43  `);j.o5.M,j.BO.DemiBold,b.A.Phone`
44    margin-left: 0;
45  `;let S=y.Ay.div(["width:100%;border-radius:6px;background-color:",";"," ",";"],m.Jy.White,b.A.Tablet`
46    width: 680px;
47  `,b.A.Phone`
48    width: 100%;
49    border-radius: 0;
50  `);b.A.Phone`
51    flex-direction: column;
52    margin-bottom: 0;
53
54    &:first-child {
55      margin-bottom: 20px;
56    }
57  `;let k=y.Ay.div(["",";width:1120px;height:231px;border-radius:16px;align-items:center;display:flex;"," "," ",""],A.A.lightWithBorder.low,b.A.AboveTablet`
58    padding-left: 48px;
59  `,b.A.Tablet`
60    width: 680px;
61    height: 280px;
62    padding-left: 48px;
63  `,b.A.Phone`
64    width: 335px;
65    height: 460px;
66    flex-direction: column;
67    padding: 0px;
68  `),P=y.Ay.div(["width:100%;display:flex;gap:32px;"," ",""],b.A.Tablet`
69    width: 680px;
70    flex-wrap: wrap;
71    gap: 24px;
72  `,b.A.Phone`
73    width: 335px;
74    flex-direction: column;
75    justify-content: center;
76    gap: 0px;
77  `),E=y.Ay.div(["",";border-radius:16px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;&:last-of-type{margin-right:0;}"," "," ",""],A.A.lightWithBorder.low,b.A.AboveTablet`
78    width: 352px;
79    height: 224px;
80    margin-right: 0;
81  `,b.A.Tablet`
82    width: 328px;
83    height: 256px;
84    margin-right: 0;
85  `,b.A.Phone`
86    width: 335px;
87    height: 256px;
88    margin-right: 0;
89    margin-bottom: 16px
90  `),N=y.Ay.div(["",";",";color:",";text-transform:uppercase;width:280px;margin-bottom:12px;"],j.o5.Caps,j.BO.DemiBold,m.Jy.Blue50),J=y.Ay.div(["",";color:",";width:298px;margin-bottom:12px;",";",";"],j.o5.TextS,m.Jy.Neutral90,b.A.Tablet`
91    width: 280px;
92  `,b.A.Phone`
93    width: 280px;
94  `),B=y.Ay.div(["display:flex;",""],b.A.Tablet`
95    margin-top: 32px
96  `),C=y.Ay.div(["margin-top:30px;display:flex;justify-content:center;align-items:center;",""],b.A.Phone`
97    width: 100%;
98  `),I=y.Ay.div(["display:flex;flex-basis:auto;"]),F=y.Ay.div(["display:flex;"," "," ",""],b.A.AboveTablet`
99    width: 100%;
100    flex-direction: row;
101    justify-content: space-between;
102    align-items: center;
103    margin-left: 54px;
104    margin-right: 54px;
105  `,b.A.Tablet`
106    width: 100%;
107    flex-direction: column;
108    margin-left: 64px;
109  `,b.A.Phone`
110    flex-direction: column;
111    margin-left: 0px;
112    padding-left: 24px;
113    padding-right: 24px;
114  `),M=y.Ay.div(["width:100%;display:flex;flex-direction:row;justify-content:space-between;align-items:center;margin-right:48px;"," ",""],b.A.Tablet`
115    margin-right: 32px;
116  `,b.A.Phone`
117    padding: 24px;
118    flex-direction: column;
119    width: 100%;
120    margin-right: 0px;
121  `),O=y.Ay.div(["display:flex;flex-direction:row;align-items:center;",""],b.A.Phone`
122   flex-direction: column;
123   margin-bottom: 64px;
124  `),R=y.Ay.div(["display:flex;flex-direction:column;gap:12px;"]),Y=y.Ay.div(["",";",";color:",";display:flex;align-items:center;justify-content:flex-start;gap:12px;"],j.o5.Caption,j.BO.Regular,m.Jy.Neutral50),W=(0,y.Ay)(s.Ay)(["margin-right:10px;"]),q=(0,y.Ay)(T)(["",";color:",";margin-bottom:16px;"," ",""],j.o5.Subhead,m.Jy.Neutral90,b.A.Tablet`
125    margin-bottom: 24px;
126  `,b.A.Phone`
127    margin-bottom: 24px;
128  `);j.o5.Body,j.BO.Medium,m.Jy.Indigo90,b.A.Tablet`
129    width: 130px;
130    ${j.o5.Subhead};
131  `,b.A.Phone`
132    ${j.o5.Subhead};
133  `,b.A.Phone`
134    padding: 0px;
135  `;let $=y.Ay.div(["display:flex;height:80px;width:80px;justify-content:center;align-items:center;margin-right:32px;"]),D=y.Ay.img(["height:80px;width:80px;"]),X=y.Ay.div(["",";",";color:",";",";"],j.o5.Subhead,j.BO.Regular,m.Jy.Neutral90,b.A.Phone`
136    margin-left: 0;
137    margin-top: 32px
138  `),L=y.Ay.div([""]);var Q=r(64608);let K=y.Ay.div(["animation:"," 1s linear infinite;background:",";background:linear-gradient( to right,"," 5%,"," 15%,"," 25% );border-radius:2px;width:100%;height:100%;background-size:100vw 100vh;"],Q.D7,m.Jy.Neutral10,m.Jy.Neutral10,m.Jy.Neutral15,m.Jy.Neutral10);
138(0,y.Ay)(K)(["height:170px;width:216px;"]);let Z=(0,y.Ay)(K)(["width:100%;height:32px;"]),G=(0,y.Ay)(K)(["width:60%;height:28px;"]),H=()=>(0,i.jsx)(G,{}),U=()=>(0,i.jsx)(Z,{});var V=()=>{let{i18n:e}=(0,c.s)(),t=(0,a.Zp)(),r=(0,l.wA)(),x=(0,o.N)(n.Tp.analyzedOfferDetails),h=(0,o.N)(n.Tp.isAnalyzedDataLoaded),u=(0,o.N)(n.Tp.isAnalyzerLoading),y=()=>{r(n.o1.resetOfferAnalyzer()),t("/offer-analyzer")};return(0,i.jsx)(_,{children:(0,i.jsxs)(v,{children:[h&&(0,i.jsx)(w,{children:e.t("builder.offer_analyzer_result.market_standards",{message:x?.mainTitle})}),u&&(0,i.jsx)(w,{children:e.t("builder.offer_analyzer_result.offer_analyzer_calculating")}),(0,i.jsxs)(k,{children:[(h||u)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(C,{children:(0,i.jsx)(f,{isLoading:u})}),(0,i.jsxs)(F,{children:[(0,i.jsx)(L,{children:u?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(T,{children:(0,i.jsx)(U,{})}),(0,i.jsxs)(R,{children:[(0,i.jsx)(H,{}),(0,i.jsx)(H,{})]})]}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(T,{children:e.t("builder.offer_analyzer_result.market_average",{amount:(0,d.g)((0,p.W)(x?.msgBelowSpeedometer,0)),message:x?.flagMsgBelowSpeedometer})}),(0,i.jsx)(R,{children:x?.mainTitle==="below"?(0,i.jsx)(Y,{children:e.t("builder.offer_analyzer_result.request_for",{amount:(0,d.g)((0,p.W)(x?.requestFor,0))})}):(0,i.jsx)(Y,{children:e.t("builder.offer_analyzer_result.no_request")})})]})}),(0,i.jsx)(B,{children:(0,i.jsx)(W,{theme:"ghost",onClick:y,children:e.t("builder.offer_analyzer_result.try_again_button")})})]})]}),!h&&!u&&(0,i.jsxs)(M,{children:[(0,i.jsxs)(O,{children:[(0,i.jsx)($,{children:(0,i.jsx)(D,{src:g})}),(0,i.jsx)(X,{children:e.t("builder.offer_analyzer_result.offer_not_calculated")})]}),(0,i.jsx)(W,{theme:"ghost",onClick:y,children:e.t("builder.offer_analyzer_result.try_again_button")})]})]}),(0,i.jsx)(z,{children:(0,i.jsxs)(S,{children:[(0,i.jsx)(q,{children:e.t("builder.offer_analyzer_result.how_to_negotiate")}),(0,i.jsxs)(P,{children:[(0,i.jsxs)(E,{children:[(0,i.jsxs)(L,{children:[(0,i.jsx)(N,{children:e.t("builder.offer_analyzer_result.how_to_negotiate")}),(0,i.jsx)(J,{children:e.t("builder.offer_analyzer_result.how_to_negotiate_details")})]}),(0,i.jsx)(I,{children:(0,i.jsx)(s.$n,{onClick:()=>window.open(n.Jt,"_blank"),children:e.t("builder.offer_analyzer_result.read_article_button")})})]}),(0,i.jsxs)(E,{children:[(0,i.jsxs)(L,{children:[(0,i.jsx)(N,{children:e.t("builder.offer_analyzer_result.should_i_negotiate")}),(0,i.jsx)(J,{children:e.t("builder.offer_analyzer_result.should_i_negotiate_details")})]}),(0,i.jsx)(I,{children:(0,i.jsx)(s.$n,{onClick:()=>window.open(n.KX,"_blank"),children:e.t("builder.offer_analyzer_result.read_article_button")})})]}),(0,i.jsxs)(E,{children:[(0,i.jsxs)(L,{children:[(0,i.jsx)(N,{children:e.t("builder.offer_analyzer_result.reject_offer")}),(0,i.jsx)(J,{children:e.t("builder.offer_analyzer_result.reject_offer_details")})]}),(0,i.jsx)(I,{children:(0,i.jsx)(s.$n,{onClick:()=>window.open(n.tO,"_blank"),children:e.t("builder.offer_analyzer_result.read_article_button")})})]})]})]})})]})})},ee=()=>(0,i.jsx)("div",{children:(0,i.jsx)(V,{})})},13007:function(e,t,r){r.r(t),r.d(t,{default:function(){return eM}});var i=r(74848);r(18111),r(20116);var a=r(96540),l=r(47767),n=r(81247),o=r(6638),d=r.n(o),s=r(33093),c=r(71118),p=r(18509),x=r(77378),h=r(41193);r(61701);var u=r(57119),f=r(43623),g=r(38267),y=r(99701),m=r(24833),b=r(49504);let j=g.Ay.div(["flex:0 0 calc(50% - 20px);margin-bottom:24px;",";"],m.A.Phone`
139    width: 100%;
140    margin-bottom: 20px;
141    margin-right: 0;
142
143    &:last-of-type {
144      margin-bottom: 0;
145    }
146  `),A=g.Ay.div(["display:flex;padding:16px;border:1px solid ",";border-radius:4px;top:-8px;position:relative;"],y.Jy.Neutral10),_=g.Ay.img(["width:32px;height:24px;margin-right:8px;"]),v=g.Ay.p([""," "," color:",""],b.Ay.Caption,b.BO.Regular,y.Jy.Blue90);var w=r(90811),T=({noticeImage:e})=>(0,i.jsxs)(A,{children:[(0,i.jsx)(_,{src:e,alt:"Restriction Notice"}),(0,i.jsx)(v,{children:w.Ru.t("builder.offer_analyzer.notice_content")})]});let z=r(63186);var S=()=>{let{i18n:e}=(0,x.s)(),t=(0,n.wA)(),{jobTitle:r,companyName:l,location:o}=(0,p.N)(c.Tp.fields),d=(0,p.N)(c.Tp.errors),s=(e,r,i)=>{t(c.o1.setErrors({...d,[e]:""})),t(c.o1.updateFields({[r]:i}))},h=async e=>{let r=(0,f.$r)("job-titles",{section:f.qP.CareerPages}),i=await r(e);return t(c.o1.setLastFetchedJobTitles(i.map(({text:e})=>e))),i},g=async e=>{let r=(0,f.$r)("locations",{section:f.qP.CareerPages}),i=await r(e);return t(c.o1.setLastFetchedLocations(i.map(({text:e})=>e))),i};return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(j,{children:(0,i.jsx)(f.wc,{name:e.t("builder.offer_analyzer.job_title"),fetchItems:h,value:r,debounceInterval:300,onChange:e=>s("titleError","jobTitle",e.target.value),children:({key:t,...r})=>(0,a.createElement)(u.A,{...r,key:t,error:d.titleError,placeholder:e.t("builder.offer_analyzer.job_title_input_placeholder"),label:e.t("builder.offer_analyzer.job_title")})})}),(0,i.jsx)(j,{children:(0,i.jsx)(u.A,{name:"companyName",value:l,error:d.companyError,placeholder:e.t("builder.offer_analyzer.company_input_placeholder"),label:e.t("builder.offer_analyzer.company_name"),onChange:e=>s("companyError","companyName",e.currentTarget.value)})}),(0,i.jsx)(j,{children:(0,i.jsx)(f.wc,{name:e.t("builder.offer_analyzer.location"),fetchItems:g,value:o,debounceInterval:200,onChange:e=>s("locationError","location",e.target.value),children:({key:t,...r})=>(0,a.createElement)(u.A,{...r,key:t,error:d.locationError,placeholder:e.t("builder.offer_analyzer.location_input_placeholder"),label:e.t("builder.offer_analyzer.location")})})}),(0,i.jsx)(T,{noticeImage:z})]})},k=r(33637),P=r(91779),E=r(67592),N=r(87253),J=r(14649),B=r.p+"media/blueDot6d8cb0a09838fad1.svg",C=r.p+"media/purpleDotaad99a225a553e28.svg";let I=g.Ay.div(["display:flex;justify-content:flex-end;align-items:center;width:50%;"]),F=g.Ay.div(["width:544px;height:560px;background-color:",";border:none;border-radius:24px;display:flex;flex-direction:column;justify-content:space-around;align-items:center;position:relative;padding:",";",";",";"],y.Jy.Indigo10,({slide:e})=>1===e?"187px 123px 188px 122px":2===e?"55px 123px 55px 122px":"140px 123px 141px 122px",m.A.Phone`
147    display: none;
148  `,m.A.Tablet`
149    display: none;
150  `),M=g.Ay.div(["",";border:none;opacity:",";width:",";height:",";position:absolute;border-radius:16px;background-color:",";transition:all 0.5s ease;transform:",";z-index:",";"],E.A.template.low,({card:e})=>1===e.currentSlide&&1===e.cardId?0:"",({card:e})=>3===e.currentSlide&&2===e.cardId?"278px":"299px",({card:e})=>
1501===e.cardId?"217px":"185px",y.Jy.White,({card:e})=>1===e.prevSlide&&2===e.currentSlide?1===e.cardId?"translateY(-120px)":"translateY(120px)":2===e.prevSlide&&3===e.currentSlide?1===e.cardId?"translateY(55px)":"translateY(-20px)":3===e.prevSlide&&2===e.currentSlide?1===e.cardId?"translateY(-120px)":"translateY(120px)":"",({card:e})=>2===e.prevSlide&&3===e.currentSlide?+(1===e.cardId):""),O=g.Ay.div(["",";height:72px;display:flex;align-items:center;color:",";justify-content:space-between;padding-top:24px;padding-left:24px;padding-bottom:20px;padding-right:24px;border-bottom:1px solid ",";"],b.o5.Subhead,y.Jy.Neutral90,y.Jy.Neutral15),R=g.Ay.ul(["",";padding-left:24px;padding-right:24px;padding-bottom:8px;width:100%;height:112px;list-style-type:none;"],b.o5.Body),Y=g.Ay.div(["width:100%;display:flex;flex:1;padding-top:24px;margin:0;",";",";"],m.A.Tablet`
151    padding-bottom: 56px;
152  `,m.A.Phone`
153    padding-bottom: 48px;
154  `),W=g.Ay.div(["width:1120px;margin:0 auto;",";",";"],m.A.Tablet`
155    width: 100%;
156  `,m.A.Phone`
157    width: 100%;
158  `),q=g.Ay.div(["display:flex;justify-content:space-around;align-items:center;"]);y.Jy.Blue50;let $=g.Ay.div(["width:100%;display:flex;align-items:center;justify-content:space-between;"]),D=g.Ay.div(["display:flex;align-items:center;justify-content:space-between;",";",";",";"],m.A.AboveTablet`
159    height: 560px;
160    align-items: center;
161    justify-content: space-between;
162  `,m.A.Tablet`
163    height: 100%;
164    flex-direction: column;
165    align-items: center;
166    margin-bottom: 56px;
167  `,m.A.Phone`
168    height: 100%;
169    flex-direction: column;
170    align-items: center;
171    margin-bottom: 48px;
172  `),X=g.Ay.div(["width:448px;",";",";"],m.A.Tablet`
173    width: 504px;
174  `,m.A.Phone`
175    width: 335px;
176  `),L=g.Ay.div(["",";",";margin-bottom:",";color:",";"],b.o5.S,b.BO.DemiBold,({slide:e})=>1===e?"12px":2===e?"40px":"32px",y.Jy.Neutral90),Q=g.Ay.div(["",";margin-bottom:32px;color:",";"],b.o5.Body,y.Jy.Neutral50),K=(0,g.i7)(["from{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}"]),Z=(0,g.i7)(["from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}"]),G=g.Ay.div(["width:100%;border-radius:6px;background-color:",";animation:"," 0.5s ease;",";",";"],y.Jy.White,({slide:e})=>e.prevSlide<e.currentSlide?Z:K,m.A.Tablet`
177    border-radius: 0;
178  `,m.A.Phone`
179    border-radius: 0;
180  `);b.o5.Body,b.BO.Medium,y.Jy.Indigo90,m.A.Phone`
181    ${b.o5.Subhead};
182  `;let H=g.Ay.div(["display:flex;flex-direction:column;"]),U=g.Ay.div(["gap:10px;margin-bottom:16px;display:flex;align-items:center;justify-content:flex-start;color:",";"],y.Jy.Neutral50);y.Jy.Neutral50,(0,g.Ay)(N.aK)(["width:32px;height:32px;",";",";"],m.A.Tablet`
183    width: 40px;
184    height: 40px;
185  `,m.A.Phone`
186    width: 40px;
187    height: 40px;
188  `);let V=(0,g.Ay)(P.Ay)(["margin-left:20px;"]),ee=g.Ay.div(["width:448px;height:100%;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;",";",";"],m.A.Tablet`
189    width: 504px;
190  `,m.A.Phone`
191    width: 335px;
192  `),et=g.Ay.div([""]),er=g.Ay.div(["gap:20px;display:flex;justify-content:center;align-items:center;margin-top:32px;"]),ei=g.Ay.div(["display:flex;height:64px;width:64px;border-radius:32px;background-color:",";justify-content:center;align-items:center;"],y.Jy.White),ea=g.Ay.div(["height:70px;width:30px;display:flex;flex-direction:row;overflow:hidden;margin-top:-4px;margin-left:24px;"]),el=(0,g.i7)(["0%{transform:translateY(0);}100%{transform:translateY(-30px);}"]),en=(0,g.i7)(["0%{transform:translateY(-30px);}100%{transform:translateY(0);}"]),eo=g.Ay.div(["width:4px;height:100px;background-image:url(",");background-repeat:repeat-y;animation:"," 1.2s infinite alternate;"],B,en),ed=g.Ay.div(["width:4px;height:100px;margin-left:12px;background-image:url(",");background-repeat:repeat-y;animation:"," 1.2s infinite alternate;"],C,el),es=g.Ay.img([""]),ec=(0,g.Ay)(J.qJ.WorkBag)(["vertical-align:middle;justify-content:center;align-items:center;padding-top:3px;padding-left:2px;"]),ep=g.Ay.div(["width:8px;height:8px;margin-right:12px;border:none;border-radius:50%;background-color:",";"],e=>e.isActive?y.Jy.Blue50:y.Jy.Neutral15),ex=g.Ay.div(["",";",";color:",";width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;"],b.o5.Body,b.BO.Regular,e=>e.isActive?y.Jy.Neutral90:y.Jy.Neutral50),eh=(0,g.Ay)(u.A)(["input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}input[type='number']{-moz-appearance:textfield;}"]),eu=g.Ay.div(["display:flex;justify-content:space-around;&:last-child{margin-bottom:0;}"]),ef=g.Ay.div(["flex:0 0 calc(50% - 5px);margin:15px 0;"]);var eg=r(26573),ey=r(58512),em=()=>{let{i18n:e}=(0,x.s)(),t=(0,n.wA)(),{educationalQualification:r,yearsOfExperience:l,baseSalary:o,additionalIncentives:d,equity:s}=(0,p.N)(c.Tp.fields),h=(0,p.N)(c.Tp.errors),u=(e,r,i)=>{t(c.o1.setErrors({...h,[e]:""})),t(c.o1.updateFields({[r]:i}))},f=e=>!!(""===e||/^[0-9,.$]+$/.test(e));return(0,i.jsxs)(a.Fragment,{children:[(0,i.jsx)(ef,{children:(0,i.jsx)(k.A,{label:e.t("builder.offer_analyzer.education_level"),options:eg.uJ,error:h.educationalQualError,onSelect:e=>u("educationalQualError","educationalQualification",(0,eg.CA)(e)),selected:(0,eg.A$)(r)})}),(0,i.jsxs)(eu,{style:{padding:0},children:[(0,i.jsx)(ef,{children:(0,i.jsx)(k.A,{label:e.t("builder.offer_analyzer.work_experience"),options:ey.$W,error:h.workExpError,onSelect:e=>u("workExpError","yearsOfExperience",(0,ey.lc)(e)),selected:(0,ey.zt)(l)})}),(0,i.jsx)(ef,{children:(0,i.jsx)(eh,{type:"text",error:h.baseSalaryError,label:e.t("builder.offer_analyzer.base_salary"),placeholder:e.t("builder.offer_analyzer.salary_input_placeholder"),value:o,onChange:e=>{var t;f(t=e.currentTarget.value)&&u("baseSalaryError","baseSalary",t)}})})]}),(0,i.jsxs)(eu,{style:{marginBottom:"40px"},children:[(0,i.jsx)(ef,{children:(0,i.jsx)(eh,{type:"text",label:e.t("builder.offer_analyzer.cash_bonus"),placeholder:e.t("builder.offer_analyzer.bonus_input_placeholder"),value:d,onChange:e=>{var r;f(r=e.currentTarget.value)&&t(c.o1.updateFields({additionalIncentives:r}))}})}),(0,i.jsx)(ef,{children:(0,i.jsx)(eh,{min:0,label:e.t("builder.offer_analyzer.equity"),placeholder:e.t("builder.offer_analyzer.equity_input_placeholder"),type:"number",step:.1,value:s,onChange:e=>t(c.o1.updateFields({equity:e.currentTarget.value}))})})]})]})},eb=r(82058),ej=r.p+"media/healthdcd4ab7fb37d0e72.svg",eA=r.p+"media/leavefa699ea00b275147.svg",e_=r.p+"media/paid-time32ccedd70e0a755c.svg";let ev=g.Ay.div(["width:100%;display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;margin-bottom:47px;"]),ew=g.Ay.div(["",";width:100%;height:68px;padding:12px 16px;display:flex;align-items:center;justify-content:space-around;margin-bottom:12px;border-radius:5px;&:last-of-type{margin-bottom:34px;}",""],E.A.template.low,({checked:e})=>e?`border: 2px solid ${y.Jy.Blue50}`:`border: 2px solid ${y.Jy.White}`),eT=g.Ay.div(["width:100%;padding:10px;display:flex;flex-direction:column;justify-content:space-around;align-items:flex-start;"]),ez=g.Ay.div(["flex:0 0 calc(50% - 20px);margin:24px 0;width:100%;",";"],m.A.Phone`
193    width: 100%;
194    margin-bottom: 20px;
195    margin-right: 0;
196
197    &:last-of-type {
198      margin-bottom: 0;
199    }
200  `),eS=g.Ay.img([""]),ek=g.Ay.div(["width:100%;margin-top:25px 0 47px 0;text-align:left;"]),eP=g.Ay.div(["display:flex;justify-content:flex-start;align-items:center;gap:10px;position:relative;"]),eE=g.Ay.div([""," margin:0;padding:0;"],b.Ay.Body),eN=g.Ay.div([""," margin:0;padding:0;color:",";"],b.Ay.Caption,y.Jy.Neutral50);var eJ=e=>{let{header:t,description:r,checked:a,onChange:l,icon:n}=e;return(0,i.jsxs)(ew,{checked:a,children:[(0,i.jsx)(eb.A,{checked:a,onChange:l}),(0,i.jsxs)(eT,{children:[(0,i.jsx)(eE,{children:t}
200),(0,i.jsx)(eN,{children:r})]}),n]})},eB=()=>{let{i18n:e}=(0,x.s)(),t=(0,n.wA)(),{hasParentalLeave:r,hasHealthCare:a,hasPto:l,noticeTerms:o,isNonCompetitive:d}=(0,p.N)(c.Tp.fields);return(0,i.jsxs)(ev,{children:[(0,i.jsx)(eJ,{checked:a,header:e.t("builder.offer_analyzer.healthcare"),description:e.t("builder.offer_analyzer.healthcare_details"),onChange:e=>{t(c.o1.updateFields({hasHealthCare:e.currentTarget.checked}))},icon:(0,i.jsx)(eS,{src:ej})}),(0,i.jsx)(eJ,{checked:r,header:e.t("builder.offer_analyzer.parental_leave"),description:e.t("builder.offer_analyzer.parental_leave_details"),onChange:e=>t(c.o1.updateFields({hasParentalLeave:e.currentTarget.checked})),icon:(0,i.jsx)(eS,{src:eA})}),(0,i.jsx)(eJ,{checked:l,header:e.t("builder.offer_analyzer.paid_time_off"),description:e.t("builder.offer_analyzer.paid_time_off_details"),onChange:e=>t(c.o1.updateFields({hasPto:e.currentTarget.checked})),icon:(0,i.jsx)(eS,{src:e_})}),(0,i.jsx)(ez,{children:(0,i.jsx)(eh,{type:"number",min:0,label:"Notice Terms",name:"noticeTerms",hint:e.t("builder.offer_analyzer.non_competitive_agreement_tooltip"),value:o,onChange:e=>t(c.o1.updateFields({noticeTerms:e.currentTarget.value}))})}),(0,i.jsx)(ek,{children:(0,i.jsx)(eP,{children:(0,i.jsx)(eb.A,{label:e.t("builder.offer_analyzer.non_competitive_agreement"),checked:d,onChange:e=>t(c.o1.updateFields({isNonCompetitive:e.currentTarget.checked}))})})})]})},eC=r.p+"media/profile1888bcd3740dbcac.svg",eI=r.p+"media/jobd30b172803c8f876.svg",eF=()=>{let{i18n:e}=(0,x.s)(),t=(0,n.wA)(),r=(0,p.N)(c.Tp.prevSlide),o=(0,p.N)(c.Tp.currentSlide),{jobTitle:u,companyName:f,location:g,baseSalary:y,yearsOfExperience:m,educationalQualification:b,hasHealthCare:j,hasPto:A,hasParentalLeave:_}=(0,p.N)(c.Tp.fields),v=(0,p.N)(c.Tp.errors),w=(0,p.N)(c.Tp.lastFetchedJobTitles),T=(0,p.N)(c.Tp.lastFetchedLocations),z=(0,p.N)(c.Tp.offerAnalyzerRequestData),k=(0,h.J)(),P=(0,l.Zp)();(0,a.useEffect)(()=>{1===o&&(0,s.xP)("visit_salary_analyzer",{label:"salary_analyzer",parameter:"step1"})},[o]);let E={prevSlide:r,currentSlide:o},N=(t,r)=>(0,i.jsxs)(G,{slide:E,children:[(0,i.jsxs)(L,{slide:o,children:[e.t("builder.offer_analyzer.step",{number:o}),":"," ",(t=>{switch(t){case 1:return e.t("builder.offer_analyzer.offer_details");case 2:return e.t("builder.offer_analyzer.pro_comp_details");case 3:return e.t("builder.offer_analyzer.benefits_terms")}})(o)]}),1===o?(0,i.jsx)(Q,{children:e.t("builder.offer_analyzer.request_offer_details")}):null,(0,i.jsx)(r,{})]},t),B=e=>!!e&&!!(e.length>0),C=e=>w.find(t=>t===e),K=e=>T.find(t=>t===e);return(0,i.jsx)(Y,{children:(0,i.jsx)(W,{children:(0,i.jsxs)(D,{children:[(0,i.jsxs)(ee,{children:[(0,i.jsx)(et,{children:(0,i.jsx)(X,{slide:o,children:(e=>{switch(e){case 1:return N(1,S);case 2:return N(2,em);case 3:return N(3,eB);default:return null}})(o)})}),(0,i.jsxs)($,{children:[(0,i.jsx)(q,{children:d()(3,e=>(0,i.jsx)(ep,{isActive:e+1===o},e))}),(0,i.jsxs)(I,{children:[o>1?(0,i.jsx)(V,{onClick:()=>{t(c.o1.setPrevSlide())},theme:"ghost",children:e.t("builder.offer_analyzer.back_button")}):null,o<3?(0,i.jsx)(V,{onClick:()=>{1===o&&(B(u)&&B(f)&&B(g)?C(u)&&K(g)?(t(c.o1.setErrors({...v,titleError:"",companyError:"",locationError:""})),t(c.o1.setNextSlide())):t(c.o1.setErrors({...v,companyError:"",titleError:C(u)?"":e.t("builder.offer_analyzer.job_title_error"),locationError:K(g)?"":e.t("builder.offer_analyzer.location_error")})):t(c.o1.setErrors({...v,titleError:B(u)?"":"Please fill job title",companyError:B(f)?"":"Please fill company",locationError:B(g)?"":"Please fill location"}))),2===o&&(""!==b&&""!==m&&""!==y?(t(c.o1.setErrors({...v,educationalQualError:"",workExpError:"",baseSalaryError:""})),t(c.o1.setNextSlide())):t(c.o1.setErrors({...v,educationalQualError:B(b)?"":"Please fill qualification",workExpError:B(m)?"":"Please fill experience",baseSalaryError:B(y)?"":"Please fill salary"})))},children:e.t("builder.offer_analyzer.next_button")}):(0,i.jsx)(V,{onClick:()=>{t(c.o1.fetchOfferSuggestedForUser(z)),P("/offer-analyzer-result")},children:e.t("builder.offer_analyzer.analyze_offer_button")})]})]})]}),(0,i.jsxs)(F,{slide:o,children:[(0,i.jsxs)(M,{card:{cardId:1,prevSlide:r,currentSlide:o},children:[(0,i.jsxs)(O,{children:[k?.fullName," ",(0,i.jsx)(es,{src:eC})]}),(0,i.jsx)(R,{children:(0,i.jsxs)(H,{children:[(0,i.jsxs)(U,{children:[(0,i.jsx)(J.qJ.Simple,{}),(0,i.jsx)(ex,{isActive:B(b),children:B(b)?b:e.t("builder.offer_analyzer.education")})]}),(0,i.jsxs)(U,{children:[(0,i.jsx)(ec,{}),(0,i.jsx)(ex,{isActive:B(m),children:B(m)?`${m} of work experience`:e.t("builder.offer_analyzer.work_experience")})]}),(0,i.jsxs)(U,{children:[(0,i.jsx)(J.qJ.Cash,{}),(0,i.jsx)(ex,{isActive:B(y),children:B(y)?`$${new Intl.NumberFormat("en").format(parseInt(y))}`:e.t("builder.offer_analyzer.salary")})]})]})}),2===o&&(0,i.jsxs)(ea,{children:[(0,i.jsx)(eo,{}),(0,i.jsx)(ed,{})]}),(0,i.jsxs)(er,{children:[j&&3===o&&(0,i.jsx)(ei,{children:(0,i.jsx)(es,{src:ej})}),A&&3===o&&(0,i.jsx)(ei,{children:(0,i.jsx)(es,{src:e_})}),_&&3===o&&(0,i.jsx)(ei,{children:(0,i.jsx)(es,{src:eA})})]})]}),(0,i.jsxs)(M,{card:{cardId:2,prevSlide:r,currentSlide:o},children:[(0,i.jsxs)(O,{children:[B(u)?u:e.t("builder.offer_analyzer.job_title"),B(u)?(0,i.jsx)(es,{src:eI}):null]}),(0,i.jsx)(R,{children:(0,i.jsxs)(H,{children:[(0,i.jsxs)(U,{children:[(0,i.jsx)(ec,{}),(0,i.jsx)(ex,{isActive:B(f),children:B(f)?f:e.t("builder.offer_analyzer.company_name")})]}),(0,i.jsxs)(U,{children:[(0,i.jsx)(J.qJ.Pin,{}),(0,i.jsx)(ex,{isActive:B(g),children:B(g)?g:e.t("builder.offer_analyzer.location")})]})]})})]})]})]})})})},eM=()=>(0,i.jsx)(eF,{})}}]);

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.