import{c as Ce,w as ve,j as a,u as He,b as me,a as ze,k as Ze,r as c,x as Ke,i as Qe,y as $e,z as qe,S as We,T as Je,V as N,U as pe,o as Xe,A as ea,C as aa,E as ta}from"./index-CsWJNzvD.js";import{S as sa}from"./SearchBar-D1_lSWj7.js";import{V as ca}from"./VacancyItem-BaomQidi.js";/* empty css */import{V as ia}from"./VacancyItemSkeleton-6ExBBYPI.js";import{B as na}from"./BreadcrumbNav-dd5aGl3s.js";import{E as R}from"./ErrorTooltip-CyHs5T23.js";import{V as he}from"./VacancyFilter-nUllqyW7.js";import{D as P,S as la}from"./sort_icon-CbGazu7q.js";import{I as j}from"./InputRadio-D9NTMoya.js";import{S as ra,a as oa}from"./CompatibilityBadge-DQk38Ti1.js";import{N as da}from"./Notification-r_MzJcp4.js";import{S as ua}from"./SEO-DciWNHuT.js";import"./checkbox_icon-JlJLtjlK.js";import"./HoverHint-tfvgSH_R.js";import"./CopyInviteLinkButton-DvL04BkM.js";import"./Toast-CUYmVWT6.js";import"./info_icon-B7D6GJzN.js";import"./Skeleton-A4X_nY0C.js";import"./formatters-B5OKIBSQ.js";const ma="data:image/svg+xml,%3csvg%20width='29'%20height='28'%20viewBox='0%200%2029%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8470_3701)'%3e%3cpath%20d='M27.8168%2010.9888C26.0073%208.04183%2021.8913%203.0975%2014.6673%203.0975C7.4433%203.0975%203.3273%208.04183%201.5178%2010.9888C0.958412%2011.8936%200.662109%2012.9363%200.662109%2014C0.662109%2015.0637%200.958412%2016.1064%201.5178%2017.0112C3.3273%2019.9582%207.4433%2024.9025%2014.6673%2024.9025C21.8913%2024.9025%2026.0073%2019.9582%2027.8168%2017.0112C28.3762%2016.1064%2028.6725%2015.0637%2028.6725%2014C28.6725%2012.9363%2028.3762%2011.8936%2027.8168%2010.9888ZM25.8276%2015.7897C24.2736%2018.3167%2020.7561%2022.5692%2014.6673%2022.5692C8.57846%2022.5692%205.06096%2018.3167%203.50696%2015.7897C3.17462%2015.2519%202.99859%2014.6322%202.99859%2014C2.99859%2013.3678%203.17462%2012.7481%203.50696%2012.2103C5.06096%209.68333%208.57846%205.43083%2014.6673%205.43083C20.7561%205.43083%2024.2736%209.67867%2025.8276%2012.2103C26.16%2012.7481%2026.336%2013.3678%2026.336%2014C26.336%2014.6322%2026.16%2015.2519%2025.8276%2015.7897Z'%20fill='%239A9CB0'/%3e%3cpath%20d='M14.6673%208.16667C13.5136%208.16667%2012.3858%208.50878%2011.4265%209.14976C10.4672%209.79073%209.71953%2010.7018%209.27802%2011.7677C8.83651%2012.8336%208.72099%2014.0065%208.94607%2015.138C9.17115%2016.2696%209.72672%2017.309%2010.5425%2018.1248C11.3583%2018.9406%2012.3977%2019.4962%2013.5293%2019.7212C14.6608%2019.9463%2015.8337%2019.8308%2016.8996%2019.3893C17.9655%2018.9478%2018.8766%2018.2001%2019.5176%2017.2408C20.1585%2016.2815%2020.5007%2015.1537%2020.5007%2014C20.4988%2012.4535%2019.8836%2010.9708%2018.7901%209.87726C17.6965%208.7837%2016.2138%208.16852%2014.6673%208.16667ZM14.6673%2017.5C13.9751%2017.5%2013.2984%2017.2947%2012.7228%2016.9101C12.1473%2016.5256%2011.6986%2015.9789%2011.4337%2015.3394C11.1688%2014.6999%2011.0995%2013.9961%2011.2346%2013.3172C11.3696%2012.6382%2011.703%2012.0146%2012.1924%2011.5251C12.6819%2011.0356%2013.3056%2010.7023%2013.9845%2010.5673C14.6634%2010.4322%2015.3672%2010.5015%2016.0067%2010.7664C16.6463%2011.0313%2017.1929%2011.4799%2017.5775%2012.0555C17.962%2012.6311%2018.1673%2013.3078%2018.1673%2014C18.1673%2014.9283%2017.7986%2015.8185%2017.1422%2016.4749C16.4858%2017.1313%2015.5956%2017.5%2014.6673%2017.5Z'%20fill='%239A9CB0'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8470_3701'%3e%3crect%20width='28'%20height='28'%20fill='white'%20transform='translate(0.666992)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",pa="data:image/svg+xml,%3csvg%20width='29'%20height='28'%20viewBox='0%200%2029%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_8470_4439)'%3e%3cpath%20d='M22.8337%201.16666H6.50033C4.9538%201.16852%203.47114%201.78369%202.37758%202.87725C1.28402%203.97081%200.668845%205.45347%200.666992%207L0.666992%2021C0.668845%2022.5465%201.28402%2024.0292%202.37758%2025.1227C3.47114%2026.2163%204.9538%2026.8315%206.50033%2026.8333H22.8337C24.3802%2026.8315%2025.8628%2026.2163%2026.9564%2025.1227C28.05%2024.0292%2028.6651%2022.5465%2028.667%2021V7C28.6651%205.45347%2028.05%203.97081%2026.9564%202.87725C25.8628%201.78369%2024.3802%201.16852%2022.8337%201.16666ZM6.50033%203.5H22.8337C23.5322%203.50137%2024.2144%203.71176%2024.7924%204.1041C25.3704%204.49644%2025.8178%205.05277%2026.077%205.7015L17.1427%2014.637C16.4852%2015.2919%2015.595%2015.6595%2014.667%2015.6595C13.739%2015.6595%2012.8488%2015.2919%2012.1913%2014.637L3.25699%205.7015C3.51617%205.05277%203.96354%204.49644%204.54155%204.1041C5.11955%203.71176%205.80174%203.50137%206.50033%203.5ZM22.8337%2024.5H6.50033C5.57207%2024.5%204.68183%2024.1312%204.02545%2023.4749C3.36907%2022.8185%203.00033%2021.9283%203.00033%2021V8.75L10.5417%2016.2867C11.6367%2017.379%2013.1203%2017.9924%2014.667%2017.9924C16.2137%2017.9924%2017.6973%2017.379%2018.7923%2016.2867L26.3337%208.75V21C26.3337%2021.9283%2025.9649%2022.8185%2025.3085%2023.4749C24.6522%2024.1312%2023.7619%2024.5%2022.8337%2024.5Z'%20fill='%239A9CB0'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_8470_4439'%3e%3crect%20width='28'%20height='28'%20fill='white'%20transform='translate(0.666992)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",fe=({viewsCount:n=0,appliesCount:p=0})=>{const m=Ce(),h=ve(),g=()=>{const v=new URLSearchParams(h.search);v.delete("tab");const I=v.toString();return I?`?${I}`:""},E=()=>{m(`/vacancies/viewed${g()}`)},A=()=>{m(`/vacancies/applied${g()}`)};return a.jsx(a.Fragment,{children:a.jsx("div",{className:"vacancy__aside",children:a.jsxs("div",{className:"vacancy__aside-links",children:[a.jsxs("div",{className:"vacancy__aside-container",onClick:E,children:[a.jsxs("div",{className:"vacancy__aside-data",children:[a.jsx("span",{className:"vacancy__count",children:n}),a.jsx("p",{className:"vacancy__category",children:"Просмотренные вакансии"})]}),a.jsx("img",{className:"vacancy__icon",src:ma,alt:"Eye Icon"})]}),a.jsxs("div",{className:"vacancy__aside-container",onClick:A,children:[a.jsxs("div",{className:"vacancy__aside-data",children:[a.jsx("span",{className:"vacancy__count",children:p}),a.jsx("p",{className:"vacancy__category",children:"Отклики"})]}),a.jsx("img",{className:"vacancy__icon",src:pa,alt:"Envelope Icon"})]})]})})})},Z=[{value:"",label:"РџРѕ умолчанию"},{value:"similarity",label:"РџРѕ % совместимости софт-скиллов"},{value:"hardCompatibility",label:"РџРѕ % совместимости хард-скиллов"},{value:"date",label:"РџРѕ дате изменения"},{value:"salary",label:"РџРѕ зарплате"}],ha=Z.filter(n=>n.value!=="similarity"&&n.value!=="hardCompatibility"),fa=[{value:"desc",label:"РџРѕ убыванию"},{value:"asc",label:"РџРѕ возрастанию"}],_a=[{value:"hard",label:a.jsxs("span",{className:"vacancy__compat-option",children:["Хард-скиллы",a.jsx(ra,{className:"vacancy__compat-option-icon"})]})},{value:"soft",label:a.jsxs("span",{className:"vacancy__compat-option",children:["Софт-скиллы",a.jsx(oa,{className:"vacancy__compat-option-icon"})]})}],_e=(n,p)=>{const m=p==="asc";switch(n){case"similarity":return m?"FILTER_SORTING_BY_SIMILARITY_ASC":"FILTER_SORTING_BY_SIMILARITY";case"hardCompatibility":return m?"FILTER_SORTING_BY_HARD_COMPATIBILITY_ASC":"FILTER_SORTING_BY_HARD_COMPATIBILITY";case"date":return m?"FILTER_SORTING_BY_DATE_ASC":"FILTER_SORTING_BY_DATE";case"salary":return m?"FILTER_SORTING_BY_SALARY_ASC":"FILTER_SORTING_BY_SALARY_DESC";default:return"FILTER_SORTING_UNSPECIFIED"}},ga=n=>{switch(n){case"FILTER_SORTING_BY_SIMILARITY":return{metric:"similarity",direction:"desc"};case"FILTER_SORTING_BY_SIMILARITY_ASC":return{metric:"similarity",direction:"asc"};case"FILTER_SORTING_BY_HARD_COMPATIBILITY":return{metric:"hardCompatibility",direction:"desc"};case"FILTER_SORTING_BY_HARD_COMPATIBILITY_ASC":return{metric:"hardCompatibility",direction:"asc"};case"FILTER_SORTING_BY_DATE":return{metric:"date",direction:"desc"};case"FILTER_SORTING_BY_DATE_ASC":return{metric:"date",direction:"asc"};case"FILTER_SORTING_BY_SALARY_DESC":return{metric:"salary",direction:"desc"};case"FILTER_SORTING_BY_SALARY_ASC":return{metric:"salary",direction:"asc"};default:return{metric:null,direction:"desc"}}},ge=[{value:"all",label:"Р’СЃРµ просмотры"},{value:"today",label:"Сегодня"},{value:"week",label:"Р—Р° неделю"}],Se=[{value:"all",label:"Р’СЃРµ отклики"},{value:"viewed",label:"Просмотрен"},{value:"not_viewed",label:"РќРµ просмотрен"},{value:"rejected",label:"Отказ"}],Sa=(n=768)=>{const[p,m]=c.useState(window.innerWidth<n);return c.useEffect(()=>{const h=()=>m(window.innerWidth<n);return window.addEventListener("resize",h),()=>window.removeEventListener("resize",h)},[n]),p};function Ya(){He();const{isAuthenticated:n,userId:p}=me(e=>e.auth),{vacancies:m,totalCount:h,isLoading:g,isFetchingMore:E,error:A,nextPageToken:v,hasMore:I}=me(e=>e.vacancy),S=ze(),{filterType:s}=Ze(),C=Ce(),f=ve(),_=Sa(),[x,K]=c.useState(""),[Te,V]=c.useState([]),[Q,ye]=c.useState(0),[$,q]=c.useState(0),[F,B]=c.useState(!0),[D,W]=c.useState(!1),[be,J]=c.useState(!1),[L,X]=c.useState("all"),[T,ee]=c.useState("all"),[ae,te]=c.useState(0),[se,ce]=c.useState(0),Y=c.useMemo(()=>new URLSearchParams(f.search),[f.search]),l=Y.get("tab")==="compatible"?"compatible":"all",ie=Y.get("sorting")||"FILTER_SORTING_UNSPECIFIED",k=Y.get("compat")==="soft"?"soft":"hard",y=k==="hard"?"hardCompatibility":"similarity",{metric:O,direction:ne}=c.useMemo(()=>ga(ie),[ie]),G=c.useRef(null),le=c.useRef(0),o=c.useMemo(()=>{const e=new URLSearchParams(f.search),t={},i=["workingExperience","workingSchedule","officeType"],r=new Set;return e.forEach((d,z)=>r.add(z)),r.forEach(d=>{d!=="tab"&&d!=="compat"&&(t[d]=i.includes(d)?e.getAll(d):e.get(d))}),t},[f.search]),Ie=c.useMemo(()=>JSON.stringify(o),[o]),M=c.useMemo(()=>{const{sorting:e,...t}=o;return t},[o]),xe=c.useMemo(()=>JSON.stringify(M),[M]);c.useEffect(()=>{X("all"),ee("all"),window.scrollTo(0,0)},[s]);const b=Ke(x,500);Qe(D),c.useEffect(()=>{K(o.searchField||"")},[o.searchField]),c.useEffect(()=>{s||g||(l==="all"?te(h):l==="compatible"&&ce(h))},[h,l,s,g]),c.useEffect(()=>{if(s)return;let e=!1;return(async()=>{try{let i=0;l==="compatible"?i=await N.fetchVacanciesTotal({...M}):n&&l==="all"&&(i=await N.fetchVacanciesTotal({...M,[y]:!0})),e||(l==="compatible"?te(i):n&&l==="all"&&ce(i))}catch(i){console.error(i)}})(),()=>{e=!0}},[xe,l,n,s,y]),c.useEffect(()=>{if(s||!n){B(!1);return}let e=!1;return B(!0),(async()=>{try{const[i,r]=await Promise.all([N.fetchVacanciesTotal({viewed:!0}),N.fetchVacanciesTotal({applied:!0})]);e||(ye(i||0),q(r||0))}catch(i){console.error(i)}finally{e||B(!1)}})(),()=>{e=!0}},[n,s]);const re=c.useMemo(()=>Object.entries(o).reduce((e,[t,i])=>i==null||i===""?e:t==="sorting"?i!=="FILTER_SORTING_UNSPECIFIED"?e+1:e:Array.isArray(i)?e+i.length:e+1,0),[o]);c.useEffect(()=>{if(s==="filter")return;const e={...o,[y]:l==="compatible"?!0:void 0},t=S($e({filters:e,filterType:s,selectedResponse:T}));return()=>{t.abort()}},[S,Ie,s,T,l,y]),c.useEffect(()=>{var e;!s&&!_&&((e=document.querySelector(".vacancy__search-field input"))==null||e.focus())},[s,_]),c.useEffect(()=>{(async()=>{if(b.trim().length<2){V([]);return}try{const[t,i,r]=await Promise.all([pe.fetchAvailableSkills(b),pe.fetchAvailablePersonalQualities(b),N.fetchVacancies({searchField:b,pageSize:5})]),d=t.slice(0,3).map(u=>({label:u.skillName,value:u.id})),z=i.slice(0,3).map(u=>({label:u.qualityName,value:u.id})),Ge=b.toLowerCase(),Ue=Array.from(new Set((r.vacancies||[]).map(u=>u.title).filter(u=>typeof u=="string"&&u.toLowerCase().includes(Ge)))).map(u=>({label:u,value:u}));V([...Ue,...d,...z])}catch(t){console.error("Error fetching suggestions:",t),V([])}})()},[b]);const U=c.useCallback(()=>{const e=document.documentElement.scrollTop,t=e>le.current;if(le.current=e<=0?0:e,!t||E||!I||!v)return;const i=document.documentElement.scrollHeight,r=document.documentElement.clientHeight;if(e+r>=i-300){const d={...o,[y]:l==="compatible"?!0:void 0};S(qe({filters:d,pageToken:v,filterType:s}))}},[E,v,S,o,s,l,I,y]);c.useEffect(()=>(window.addEventListener("scroll",U),()=>window.removeEventListener("scroll",U)),[U]);const we=e=>K(e),oe=e=>{const t=typeof e=="string"?e:e.label,i=new URLSearchParams(f.search);t?i.set("searchField",t):i.delete("searchField"),C({search:i.toString()})},Ne=()=>{const e=new URLSearchParams(f.search);x&&e.set("searchField",x),_?W(!0):C({pathname:"/vacancies/filter",search:e.toString()})},H=()=>{J(!0),setTimeout(()=>{W(!1),J(!1)},300)},de=e=>{const t=new URLSearchParams;Object.entries(e).forEach(([i,r])=>{Array.isArray(r)?r.forEach(d=>t.append(i,d)):r&&t.set(i,r)}),_&&H(),C({pathname:"/vacancies",search:t.toString()})},Re=e=>{n&&S(ta({vacancyId:e})).unwrap().then(()=>q(t=>t+1)).catch(t=>console.error("Failed to apply:",t))},je=(e,t)=>{n&&p&&S(t?ea({vacancyId:e,applicantId:p}):aa({vacancyId:e,applicantId:p}))},Ee=e=>{s==="filter"&&G.current&&(e.preventDefault(),G.current.applyFilters())},Ae=e=>{if(e==="compatible"&&!n){S(Xe("auth"));return}const t=new URLSearchParams(f.search);e==="compatible"?(t.set("tab","compatible"),t.delete("compat")):t.delete("tab"),C({search:t.toString()},{replace:!0})},ue=e=>{const t=new URLSearchParams(f.search);e==="FILTER_SORTING_UNSPECIFIED"?t.delete("sorting"):t.set("sorting",e),C({search:t.toString()})},Fe=e=>{ue(_e(String(e),ne))},Le=e=>{ue(_e(O,String(e)))},Oe=e=>{const t=new URLSearchParams(f.search);String(e)==="soft"?t.set("compat","soft"):t.delete("compat"),C({search:t.toString()})},Me=c.useMemo(()=>{const e=Z.find(t=>t.value===O);return e?e.label:"РџРѕ умолчанию"},[O]),Pe=c.useMemo(()=>{const e=ge.find(t=>t.value===L);return e?e.label:"Фильтр"},[L]),Ve=c.useMemo(()=>{const e=Se.find(t=>t.value===T);return e?e.label:"Фильтр"},[T]),w=s?{viewed:"Просмотры",applied:"Отклики",liked:"Рзбранное",filter:"Фильтры"}[s]:null,Be=c.useMemo(()=>{let e="Вакансии";return w?e+=` - ${w}`:l==="compatible"&&(e+=" - РџРѕ совместимости"),e},[w,l]),De=s?[{label:"Р’СЃРµ вакансии",href:"/vacancies",onClick:Ee},{label:w,isCurrent:!0}]:[],Ye=()=>{if(s==="applied"&&T!=="all")return a.jsx(R,{title:"Отклики РЅРµ найдены",message:"Р’ выбранном статусе Сѓ вас РїРѕРєР° нет откликов."});if(s==="viewed"&&L!=="all")return a.jsx(R,{title:"Просмотры РЅРµ найдены",message:"Р—Р° выбранный период РІС‹ РЅРµ просматривали вакансии."});const e={viewed:{title:"Нет просмотренных вакансий",message:"Р’С‹ ещё РЅРµ просматривали РЅРё РѕРґРЅРѕР№ вакансии."},applied:{title:"Нет откликов",message:"Р’С‹ ещё РЅРµ откликались РЅР° вакансии."},liked:{title:"Нет избранных вакансий",message:"Р’С‹ ещё РЅРµ добавляли вакансии РІ избранное."},filtered:{title:"Вакансии РЅРµ найдены",message:"РџРѕ вашему запросу ничего РЅРµ найдено. Попробуйте изменить фильтры."},default:{title:"Вакансии РїРѕРєР° отсутствуют",message:"Р’С‹ можете заполнить информацию Рѕ себе РІ разделе Профиль. Там Р¶Рµ РјРѕР¶РЅРѕ ознакомиться СЃ тестами."}};let t="default";s&&e[s]?t=s:!s&&re>0&&(t="filtered");const{title:i,message:r}=e[t];return a.jsx(R,{title:i,message:r})},ke=!D&&s||s&&!_;return a.jsxs(a.Fragment,{children:[a.jsx(ua,{title:Be,description:"Найти работу РІ лучших компаниях без резюме. Сервис подберет вакансии персонально для вас РїРѕ совместимости ценностей Рё ожиданий РѕС‚ будущей работы.",canonicalUrl:"/vacancies",type:"website"}),a.jsxs("div",{className:"vacancy",children:[ke&&a.jsx(na,{className:"vacancy__breadcrumbnav",items:De,mobile:!1}),n&&!s&&a.jsx(fe,{viewsCount:F?0:Q,appliesCount:F?0:$}),!s&&a.jsx("div",{className:"vacancy__search-field",children:a.jsx(sa,{type:"forward",placeholder:"Название, навык или качество",filter:"display",onSearch:()=>oe(x),value:x,onInputValueChange:we,onFilterClick:Ne,suggestions:Te,onSuggestionSelect:oe,filterCount:re,allowClear:!0})}),a.jsxs("div",{className:"main",children:[a.jsxs("div",{className:"vacancy__container",children:[(s||!_)&&a.jsx("div",{className:"vacancy__container-header",children:s&&s!=="filter"?a.jsxs(a.Fragment,{children:[a.jsx("a",{href:"/vacancies",className:"vacancy__container-header-icon",onClick:e=>{e.preventDefault(),C("/vacancies")},children:a.jsx(We,{className:"vacancy__header-icon"})}),a.jsx("h1",{className:"vacancy__container-title h1",children:w}),a.jsx("span",{className:"vacancy__count-filter body-3",children:g?0:s?h:l==="compatible"?se:ae}),!_&&s==="viewed"&&a.jsx(P,{buttonText:Pe,position:"right",className:"vacancy__filter-dropdownbutton",children:a.jsx(j,{name:"views",options:ge,value:L,onChange:e=>X(String(e))})}),!_&&s==="applied"&&a.jsx(P,{buttonText:Ve,position:"right",className:"vacancy__filter-dropdownbutton",children:a.jsx(j,{name:"responses",options:Se,value:T,onChange:e=>ee(String(e))})})]}):null}),!s&&a.jsxs(a.Fragment,{children:[a.jsx("h1",{className:"vacancy__container-title h1",children:"Вакансии"}),a.jsxs("div",{className:"toggletab__container-vacancy",children:[a.jsx(Je,{items:[{id:"all",label:"Р’СЃРµ",count:ae},{id:"compatible",label:"РџРѕ совместимости",count:n?se:0}],activeTab:l,onTabChange:Ae}),a.jsxs("div",{className:"vacancy__sort-controls",children:[a.jsxs(P,{buttonText:Me,position:_?"left":"right",icon:a.jsx(la,{}),children:[a.jsx(j,{name:"vacanciesSortMetric",options:n?Z:ha,value:O??"",onChange:Fe}),a.jsx("hr",{className:"vacancy__sort-divider"}),a.jsx("p",{className:"vacancy__sort-section-label body-3",children:"Сортировать"}),a.jsx(j,{name:"vacanciesSortDirection",options:fa,value:ne,onChange:Le})]}),l==="compatible"&&a.jsx(P,{buttonText:"Совместимость",position:"right",children:a.jsx(j,{className:"vacancy__compat-radio-group",name:"vacancyCompatAxis",options:_a,value:k,onChange:Oe})})]})]})]}),s==="filter"?a.jsx(he,{ref:G,onApplyFilters:de,initialFilters:o}):g?a.jsx("ul",{className:"vacancy__list",children:Array.from({length:5}).map((e,t)=>a.jsx(ia,{},t))}):A?a.jsx("ul",{className:"vacancy__list",children:a.jsx(R,{message:A})}):m.length>0?a.jsxs(a.Fragment,{children:[l==="compatible"&&a.jsx(da,{type:"accent",className:"compatibility-notification",children:k==="hard"?a.jsx(a.Fragment,{children:"Вакансии РЅРёР¶Рµ имеют процент совместимости персонально для вас. Чем выше %, тем больше вам РїРѕРґС…РѕРґСЏС‚ эти вакансии согласно требованиям РїРѕ хард-скиллам."}):a.jsx(a.Fragment,{children:"Вакансии РЅРёР¶Рµ имеют процент совместимости персонально для вас. Чем выше %, тем больше вам РїРѕРґС…РѕРґСЏС‚ эти вакансии согласно вашим личным качествам, мотивационным Рё ценностным ожиданиям РѕС‚ будущей работы."})}),a.jsx("ul",{className:"vacancy__list",children:m.map(e=>a.jsx(ca,{vacancy:e,applicantId:p,onApplySuccess:Re,onLikeToggle:je},e.id))})]}):a.jsx("div",{className:"vacancy__list",children:l==="compatible"?a.jsx(R,{title:"Нет подходящих вакансий",message:"РњС‹ РЅРµ смогли найти вакансии, которые соответствуют вашему профилю. Попробуйте пройти тесты или заполнить профиль."}):Ye()})]}),n&&!s&&a.jsx(fe,{viewsCount:F?0:Q,appliesCount:F?0:$})]}),D&&a.jsx("div",{className:"mobile-filter-overlay",onClick:H,children:a.jsx("div",{className:`mobile-filter-sheet ${be?"closing":""}`,onClick:e=>e.stopPropagation(),children:a.jsx(he,{isMobileView:!0,onApplyFilters:de,onCloseMobileView:H,initialFilters:o})})})]})]})}export{Ya as VacancyPage};