1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4501],{768150:(e,t,r)=>{r.d(t,{EA:()=>c,m8:()=>l});var n=r(808354),i=r(729136),a=r(264998),o=r(57766),s=i.createContext(void 0),c=e=>{var{children:t}=e,{appConfig:{routingAliases:r={}}}=i.useContext(n.ZP);return(0,o.jsx)(s.Provider,{value:{routing:(0,a.Um)(r)},children:t})},l=()=>{var e=i.useContext(s);if(void 0===e)throw new Error("useCandidateProfileRoutingContext must be used within a CandidateProfileRoutingContext");return e}},264998:(e,t,r)=>{r.d(t,{ar:()=>i,nt:()=>n,Um:()=>a});var n={urlParam:"appliedSuccessfully",successValue:"true",failValue:"false",applicationIDParam:"id"},i="upload-cv",a=e=>{var t,r=e.candidateProfileBase||"myolx/candidate-profile",n=e.candidateProfileProfile||"profile",i=e.candidateProfileDashboard||"dashboard",a=e.candidateProfilePreferences||"preferences",o=e.candidateProfileMyApplications||"my-applications",s=e.candidateProfileView||"view",c=((t="/".concat(null==e?void 0:e.jobsListing,"/"))&&t.length&&!function(e){return e.startsWith("/d/")}(t)?t.startsWith("/")?"/d".concat(t):"/d/".concat(t):t)||"/".concat(null==e?void 0:e.jobsListing,"/");return{BASE_URL:r,CANDIDATE_PROFILE:n,DASHBOARD:i,PREFERENCES:a,MY_APPLICATIONS:o,CANDIDATE_PROFILE_URL:"/".concat(r,"/").concat(n,"/"),DASHBOARD_URL:"/".concat(r,"/").concat(i,"/"),PREFERENCES_URL:"/".concat(r,"/").concat(a,"/"),READONLY_PROFILE_CANDIDATE_PREVIEW_URL:"/".concat(r,"/").concat(s),MY_APPLICATIONS_URL:"/".concat(r,"/").concat(o,"/"),LISTING:c}}},297681:(e,t,r)=>{r.d(t,{Z:()=>z});var n,i,a,o,s=r(678337),c=r(490845),l=r(868968),u=r(92397),d=r(768150),f=r(549467);function p(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var v,g,b,y,m,h,O,j=f.zo.div(n||(n=p(["\n padding: ",";\n background-color: ",";\n border-radius: ",";\n"])),()=>"var(--spacing100)",()=>"var(--colorsBackgroundStatusSuccessSubtle)",()=>"var(--radiusMedium)".concat(" ","var(--radiusMedium)"," 0 0")),P=f.zo.div(i||(i=p(["\n display: flex;\n gap: ",";\n ","\n"])),()=>"var(--spacing100)",e=>{var{isWide:t}=e;return t?"\n justify-content: space-between;\n align-items: center;\n flex-direction: row;\n min-height: ".concat("var(--primitivesSizes22)",";\n "):"\n justify-content: space-evenly;\n align-items: flex-start;\n flex-direction: column;\n min-height: 44px;\n "}),w=f.zo.div(a||(a=p(["\n display: flex;\n"]))),S=(0,f.zo)(l.P4)(o||(o=p(["\n ","\n"])),e=>{var{isOverlay:t}=e;return t&&"\n position: relative;\n z-index: 1;\n "}),E=r(57766),A=r(731872),x=["status","createdAt"];function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?C(Object(r),!0).forEach(function(t){L(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function L(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function R(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var _=(0,f.zo)(e=>{var{children:t,className:r,isWide:n,hasOverlayLink:i}=e,{routing:a}=(0,d.m8)(),{trackEvent:o}=(0,u.rS)();return(0,E.jsx)(j,{className:r,children:(0,E.jsxs)(P,{isWide:n,children:[(0,E.jsx)(w,{children:t}),(0,E.jsx)(S,{isOverlay:i,variant:"link",as:"a",href:a.MY_APPLICATIONS_URL,onClick:()=>{o(u.Zw.events.jobsApplicationsClick,{touch_point_page:u.dQ.pageView,touch_point_button:u.dQ.touchPointButton.userInfo})},children:(0,E.jsx)(c.FormattedMessage,{id:"cp.myApplications.name",defaultMessage:"My Applications"})})]})})})(v||(v=R(["\n background-color: ",";\n"])),()=>"var(--primitivesColorsLightGray03Gray)"),I=f.zo.div(g||(g=R(["\n display: flex;
1\n align-items: center;\n gap: ",";\n"])),()=>"var(--spacing50)"),M=f.zo.div(b||(b=R(["\n width: ",";\n height: ",";\n border-radius: ",";\n"])),()=>"var(--spacing100)",()=>"var(--spacing100)",()=>"var(--radiusFull)"),N={[A.U.REJECTED]:(0,f.zo)(M)(y||(y=R(["\n background-color: ",";\n "])),()=>"var(--primitivesColorsLightRed06RedDark)"),[A.U.READ]:(0,f.zo)(M)(m||(m=R(["\n background-color: ",";\n "])),()=>"var(--primitivesColorsLightYellow05YellowPrimary)"),[A.U.NEW]:(0,f.zo)(M)(h||(h=R(["\n background-color: ",";\n "])),()=>"var(--colorsBackgroundAccentSubtle)"),[A.U.CANCELLED]:(0,f.zo)(M)(O||(O=R(["\n border: ",";\n "])),()=>"var(--widthSmall)".concat(" ","solid"," ","var(--primitivesColorsLightGray07Charcoal)"))},k=e=>{var{status:t,createdAt:r}=e,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,x),i=N[t],a=((e,t)=>{switch(e){case A.U.REJECTED:return(0,E.jsx)(c.FormattedMessage,{id:"jobAd.lastApplication.statusRejected",defaultMessage:"The application got rejected"});case A.U.READ:return(0,E.jsx)(c.FormattedMessage,{id:"jobAd.lastApplication.statusRead",defaultMessage:"The application got read"});case A.U.NEW:return(0,E.jsx)(c.FormattedMessage,{id:"jobAd.lastApplicationApplied",defaultMessage:"You have sent your application to the employer on {date}",values:{date:t}});case A.U.CANCELLED:return(0,E.jsx)(c.FormattedMessage,{id:"jobAd.lastApplication.statusWithdrawn",defaultMessage:"The application got withdrawn"});default:return null}})(t,(0,c.useIntl)().formatDate(new Date(r),{day:"2-digit",month:"short",year:"numeric"}));return(0,E.jsx)(_,D(D({},n),{},{children:(0,E.jsxs)(I,{children:[(0,E.jsx)(i,{}),(0,E.jsx)(l.P4,{children:a})]})}))},T=["application"];function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function F(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var z=e=>{var{application:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,T),n=(0,s.P)(t.employerStatus,t.isCancelled,t.hasBeenReadByEmployer);return(0,E.jsx)(k,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?U(Object(r),!0).forEach(function(t){F(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({status:n,createdAt:t.createdAt},r))}},673443:(e,t,r)=>{var n=r(729136),i=r(272518),a=r(731969),o=r(733429),s=r(744408);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t,r,n,i,a,o){try{var s=e[a](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{authenticated:d}=(0,n.useContext)(a.Vo),f=(0,o.rf)();return(0,i.ZP)(d?e:null,function(){var e,t=(e=function*(e){try{return(yield f.post("/graphql",JSON.stringify({query:e,variables:r}),{headers:{"Content-Type":"application/json"}})).data}catch(t){throw s.default.captureException(t),t}},function(){var t=this,r=arguments;return new Promise(function(n,i){var a=e.apply(t,r);function o(e){u(a,n,i,o,s,"next",e)}function s(e){u(a,n,i,o,s,"throw",e)}o(void 0)})});return function(e){return t.apply(this,arguments)}}(),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({revalidateOnFocus:!1,errorRetryInterval:1e3,errorRetryCount:1},t))}},518199:(e,t,r)=>{r.d(t,{J:()=>u,i:()=>l});var n=r(729136),i=r(718930),a=r(7376),o=r(682476),s="job-ads-visited-list",c=e=>(null==e?void 0:e.toString())||"",l=()=>{var[e]=(0,i.Rr)(s,[],{getServerSnapshot:()=>null}),t=(0,n.useMemo)(()=>new Set(e),[e]);return{getIsVisited:(0,n.useCallback)(e=>{var r=c(e);return t.has(r)},[t])}},u=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],[r,i]=(0,n.useState)(!1),{isResolved:l,resolve:u}=(0,o.$)();return(0,n.useEffect)(()=>{if(e&&!l){var r=JSON.parse((null===a.Xb||void 0===a.Xb?void 0:a.Xb.getItem(s))||"[]"),n=c(e),o=r.includes(n);if(i(o),u(),t&&!o){var d=((e,t)=>[...e,t].slice(-1e3))(r,n);(e=>{null===a.Xb||void 0===a.Xb||a.Xb.setItem(s,JSON.stringify(e))})(d)}}},[e]),{isVisited:r,isVisitedStatusResolved:l}}},969982:(e,t,r)=>{r.d(t,{Vd:()=>o,Xf:()=>l,Z6:()=>s});var n=r(729136),i=r(190102),a=r(682476),o="jobs_tool",s="jobs_tool_additional",c="marketingJobsTool",l=e=>{var{saveUrlParameter:t=!1,getOnlyFromUrlParameter:r=!1,getFromAdditionalUrlParameter:l=!1}=e,[u,d]=(0,n.useState)(null),{isResolved:f,resolve:p}=(0,a.$)(),{search:v}=(0,i.useLocation)();return(0,n.useEffect)(()=>{if(!r){var e=window.sessionStorage.getItem(c);if(e)return d(e),void p()}var n=v||window.location.search,i=new URLSearchParams(n),a=i.get(o)||(l?i.get(s):"");a?(d(a),t&&window.sessionStorage.setItem(c,a),p()):p()},[]),{toolName:u,isToolNameResolved:f}}},682476:(e,t,r)=>{r.d(t,{$:()=>i});var n=r(729136),i=e=>{var[t,r]=(0,n.useState)(!1);return{isResolved:t,resolve:()=>{var t=()=>r(!0);void 0!==e?setTimeout(t,e):t()}}}},949240:(e,t,r)=>{r.d(t,{JZ:()=>b,WZ:()=>y,g3:()=>v,zc:()=>g});var n=r(490845),i=r(258560),a=r(257936),o=r(924178),s=r(393949),c=r(342936),l=r(654381),u=r(57766);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var p=()=>(0,u.jsx)("svg",{width:"8",height:"14",viewBox:"0 0 8 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,u.jsx)("path",{d:"M7.5 5.91667H4.21875L5.09375 0.5L0.5 8.08333H3.89062L2.90625 13.5L7.5 5.91667Z",fill:"#02282C"})}),v=e=>{var{showOnlyIcon:t=!1}=e,{formatMessage:r}=(0,n.useIntl)(),{isFeatureFlag:o}=(0,i.Z)();if(!o(a.h.activeEmployerBadge))return null;var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({backgroundColor:"var(--colorsBackgroundSecondary)",color:"var(--colorsForegroundActionPrimary)",width:"max-content"},t&&{width:"initial","& div:last-of-type":{marginLeft:"var(--spacing0)"}}),l=t?"":r({id:"jobAd.employer.active",defaultMessage:"Active employer"});return(0,u.jsx)(s.V,{"data-testid":"ad-active-employer-badge",css:c,prefixIcon:p,content:l})},g=()=>{var{formatMessage:e}=(0,n.useIntl)();return(0,u.jsx)(s.V,{"data-testid":"adCard-recommended",prefixIcon:o.default,content:e({id:"ad.highlighted.recommended",defaultMessage:"Recommended"})})},b=()=>{var{formatMessage:e}=(0,n.useIntl)();return(0,u.jsx)(s.V,{css:{color:"var(--colorsForegroundActionPrimary)"},variant:"highlight",content:e({id:"ad.highlighted",defaultMessage:"Featured"})})},y=e=>{var{gigStartsAt:t}=e,{formatMessage:r,formatDate:i}=(0,n.useIntl)(),a=(0,l.xh)(t);if(a<0)return null;return(0,u.jsx)(c.NexusBadge,{"data-testid":"adCard-jobsGigsBadge",variant:"attention",muted:!0,children:(0,u.jsx)("span",{suppressHydrationWarning:!0,children:(()=>{switch(a){case 0:return r({id:"fig.search.jobs.gigs.7",defaultMessage:"Start today"});case 1:return r({id:"fig.search.jobs.gigs.8",defaultMessage:"Start tomorrow"});default:return r({id:"fig.search.jobs.gigs.9",defaultMessage:"Start {date}"},{date:i((0,l._3)(t),{day:"2-digit",month:"2-digit"})})}})()})})}},685900:(e,t,r)=>{r.d(t,{O:()=>d});
1var n=r(729136),i=r(36309),a=r(808354),o=r(352452),s=r(490845),c=r(585452);function l(e,t,r,n,i,a,o){try{var s=e[a](o),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,i)}var u=e=>!!e&&!/[а-Ñ]/i.test(e),d=e=>{var{adId:t,title:r,description:d,skip:f,titleOnly:p}=e,{appConfig:{locale:v,langISOCode:g,apiEnv:b,siteCode:y}}=(0,n.useContext)(a.ZP),{marketMetadata:{countryCode:m}}=(0,s.useLocalisationContext)(),h=(0,c.A)(y),{active:O}=(0,n.useContext)(o.D),j=(0,n.useMemo)(()=>!(!h||f)&&(p?u(r):u(r)||u(d)),[h,f,p,r,d]),P=r||"",w=d||"",[S,E]=(0,n.useState)({translatedTitle:P,translatedDescription:w});return(0,n.useEffect)(()=>{var e=new AbortController;return j&&(O?function(){var r,n=(r=function*(){var r="".concat((0,i.K)(m||"pl",b).host,"/").concat(p?"title-translator":"ads-translator","?ad_id=").concat(t,"&from=").concat(g,"&to=uk&cb=").concat((P+w).split("").reduce((e,t)=>(e=(e<<5)-e+t.charCodeAt(0))&e,0));return yield fetch(r,{headers:{"olx-locale":v},signal:e.signal}).then(e=>e.json())},function(){var e=this,t=arguments;return new Promise(function(n,i){var a=r.apply(e,t);function o(e){l(a,n,i,o,s,"next",e)}function s(e){l(a,n,i,o,s,"throw",e)}o(void 0)})});return function(){return n.apply(this,arguments)}}()().then(e=>{E({translatedTitle:e.title,translatedDescription:e.description||""})}):E({translatedTitle:P,translatedDescription:w})),()=>{e.abort()}},[v,P,w,O,j,t,m,g,p]),S}}}]); 2//# sourceMappingURL=4501.78a4056b6.chunk.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.