1import{a as L}from"./chunk-EMMILG2D.js";import{a as W}from"./chunk-FTZCTHCE.js";import{a as I}from"./chunk-ZOVCP3VI.js";import{a as V}from"./chunk-EJN3B4FQ.js";import{b as D,c as J,d as B}from"./chunk-Z7UBMJKQ.js";import{$ as j,Ab as l,Ba as r,Bb as k,Ka as P,Mc as E,Pb as d,Qb as m,Rb as T,Sc as F,W as C,Wa as y,Xa as p,Ya as s,aa as M,ba as _,bb as O,ca as h,cb as o,db as a,eb as g,ib as w,kb as b,lb as f,uc as S,wc as z,xa as u,xb as v,zb as c}from"./chunk-4JQKKPIE.js";function R(t,i){if(t&1){let e=w();o(0,"img",22),b("error",function(){j(e);let x=f(2);return M(x.logoFailed=!0)}),a()}if(t&2){let e=f(2);O("src",e.s3BaseUrl+e.ad.companyLogo,u)("alt",e.companyDisplayName)}}function G(t,i){t&1&&(_(),o(0,"svg",15),g(1,"path",23)(2,"path",24),a())}function H(t,i){if(t&1&&p(0,R,1,2,"img",21)(1,G,3,0,":svg:svg",15),t&2){let e=f();s(e.ad.companyLogo&&!e.logoFailed?0:1)}}function U(t,i){t&1&&g(0,"img",4)}function K(t,i){if(t&1&&(o(0,"span",7),_(),o(1,"svg",15),g(2,"path",25)(3,"circle",26),a(),h(),o(4,"span"),c(5),a()()),t&2){let e=f();r(5),l(e.locationLabel)}}function $(t,i){t&1&&(o(0,"span",8)(1,"span",27),c(2),d(3,"translate"),a()()),t&2&&(r(2),l(m(3,1,"lov.status.2")))}function Y(t,i){t&1&&(o(0,"span",9),d(1,"translate"),_(),o(2,"svg",15),g(3,"path",28),a(),h(),o(4,"span",27),c(5),d(6,"translate"),a()()),t&2&&(y("title",m(1,2,"job_details.featured")),r(5),l(m(6,4,"job_details.featured")))}function Z(t,i){if(t&1&&(o(0,"small"),c(1),d(2,"translate"),a()),t&2){let e=f(2);r(),l(m(2,1,e.salaryTypeKey))}}function q(t,i){if(t&1&&(o(0,"div",12)(1,"span",29)(2,"strong"),c(3),a(),p(4,Z,3,3,"small"),a()()),t&2){let e=f();r(3),l(e.salaryRange),r(),s(e.salaryTypeKey?4:-1)}}var A=class t{router=C(E);localeService=C(V);translate=C(D);ad;fixedWidth=!1;s3BaseUrl=F.s3BaseUrl;logoFailed=!1;get isFilled(){return Number(this.ad.status)===2}get isCandidateForce(){return this.ad.source==="CANDIDATEFORCE"}get companyDisplayName(){return L(this.ad.source,this.ad.companyName)}get locationLabel(){let i=this.ad.city?.trim(),e=I(this.ad.country),n=e?this.translate.instant("lov.country."+e):"";return[i?i.charAt(0).toLocaleUpperCase()+i.slice(1):"",n&&n!=="lov.country."+e?n:""].filter(Boolean).join(", ")}get salaryRange(){let i=this.ad.salaryFrom,e=this.ad.salaryTo;return i==null&&e==null?"":i!=null&&e!=null&&e!==i?`${i}\u20AC \u2013 ${e}\u20AC`:`${i??e}\u20AC`}get salaryTypeKey(){return this.ad.salaryType==="GROSS"?"job_details.salary_gross":this.ad.salaryType==="NET"?"job_details.salary_net":null}onViewAdDetails(){let i=this.localeService.getJobDetailPath(this.ad.transSlug,this.ad.slug);this.router.navigate([i])}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=P({type:t,selectors:[["app-job-card"]],inputs:{ad:"ad",fixedWidth:"fixedWidth"},decls:31,vars:22,consts:[["role","link","tabindex","0",1,"job-card",3,"click","keydown.enter","keydown.space"],[1,"jc-top"],[1,"jc-company"],[1,"jc-logo"],["src","/images/balkanrecruiters-logo.png","alt","Balkan Recruiters","loading","lazy","decoding","async"],[1,"jc-identity"],[1,"jc-name"],[1,"jc-location"],[1,"jc-tag","jc-tag--filled"],[1,"jc-tag","jc-tag--featured"],[1,"jc-title"],[1,"jc-desc"],[1,"jc-salary"],[1,"jc-foot"],[1,"jc-date"],["viewBox","0 0 24 24","aria-hidden","true",1,"jc-ico"],["x","3","y","5","width","18","height","16","rx","2.5"],["d","M3 10h18M8 3v4M16 3v4"],["type","button",1,"jc-cta",3,"click"],["viewBox","0 0 24 24","aria-hidden","true",1,"jc-ico","jc-arrow"],["d","M5 12h13M13 6l6 6-6 6"],["loading","lazy","decoding","async",3,"src","alt"],["loading","lazy","decoding","async",3,"error","src","alt"],["d","M3 21h18M5 21V5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v16M13 9h5a1 1 0 0 1 1 1v11"],["d","M8 8h1M8 12h1M8 16h1M16 13h1M16 17h1"],["d","M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"],["cx","12","cy","10","r","3"],[1,"jc-tag-label"],["d","m12 3.5 2.6 5.27 5.82.85-4.21 4.1.99 5.78L12 16.77 6.8 19.5l.99-5.78-4.21-4.1 5.82-.85L12 3.5Z","fill","currentColor","stroke","none"],[1,"jc-salary-value"]],template:function(e,n){e&1&&(o(0,"article",0),b("click",function(){return n.onViewAdDetails()})("keydown.enter",function(){return n.onViewAdDetails()})("keydown.space",function(){return n.onViewAdDetails()}),o(1,"div",1)(2,"div",2)(3,"span",3),p(4,H,2,1)(5,U,1,0,"img",4),a(),o(6,"span",5)(7,"span",6),c(8),a(),p(9,K,6,1,"span",7),a()(),p(10,$,4,3,"span",8)(11,Y,7,6,"span",9),a(),o(12,"h3",10),c(13),a(),o(14,"div",11),c(15),d(16,"stripHtml"),a(),p(17,q,5,2,"div",12),o(18,"div",13)(19,"span",14),_(),o(20,"svg",15),g(21,"rect",16)(22,"path",17),a(),c(23),d(24,"date"),a(),h(),o(25,"button",18),b("click",function(N){return n.onViewAdDetails(),N.stopPropagation()}),o(26,"span"),c(27),d(28,"translate"),a(),_(),o(29,"svg",19),g(30,"path",20),a()()()()),e&2&&(v("is-filled",n.isFilled)("is-featured",n.ad.isFeatured&&!n.isFilled)("is-fixed",n.fixedWidth),r(4),s(n.isCandidateForce?4:5),r(4),l(n.companyDisplayName),r(),s(n.locationLabel?9:-1),r(),s(n.isFilled?10:n.ad.isFeatured?11:-1),r(3),l(n.ad.transTitle??n.ad.title),r(2),l(m(16,15,n.ad.transShortDesc??n.ad.shortDescription)),r(2),s(n.salaryRange?17:-1),r(6),k(" ",T(24,17,n.ad.createdOn,"dd.MM.yyyy")," "),r(4),l(m(28,20,"jobs.view_job")))},dependencies:[z,S,B,J,W],styles:['.job-card[_ngcontent-%COMP%]{--jc-primary: #2664d0;--jc-dark: #101828;--jc-secondary: #475467;--jc-muted: #667085;--jc-faint: #98a2b3;--jc-border: #e4eaf2;container-type:inline-size;position:relative;display:flex;width:100%;aspect-ratio:1/1;min-height:340px;flex-direction:column;padding:24px;overflow:hidden;border:1px solid #e7ecf3;border-radius:21px;background:#fff;box-shadow:0 8px 30px #0f172a0e;cursor:pointer;transition:transform .22s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .22s ease}.job-card[_ngcontent-%COMP%]:before{content:"";position:absolute;top:0;left:22px;right:22px;height:2px;border-radius:0 0 3px 3px;background:linear-gradient(90deg,var(--jc-primary),#4f6ef7);opacity:.55;transition:opacity .2s ease}.job-card[_ngcontent-%COMP%]:hover, .job-card[_ngcontent-%COMP%]:focus-visible{transform:translateY(-4px);border-color:#2664d040;box-shadow:0 18px 45px #0f172a1a}.job-card[_ngcontent-%COMP%]:hover:before, .job-card[_ngcontent-%COMP%]:focus-visible:before{opacity:1}.job-card[_ngcontent-%COMP%]:hover .jc-logo[_ngcontent-%COMP%], .job-card[_ngcontent-%COMP%]:focus-visible .jc-logo[_ngcontent-%COMP%]{transform:scale(1.02)}.job-card[_ngcontent-%COMP%]:focus-visible{outline:2px solid rgba(38,100,208,.45);outline-offset:3px}.job-card.is-fixed[_ngcontent-%COMP%]{width:390px;flex:0 0 390px}.jc-ico[_ngcontent-%COMP%]{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.jc-top[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:12px;min-height:58px;margin-bottom:20px}.jc-company[_ngcontent-%COMP%]{display:flex;min-width:0;flex:1;align-items:center;gap:11px}.jc-logo[_ngcontent-%COMP%]{position:relative;display:grid;width:44px;height:44px;flex-shrink:0;place-items:center;overflow:hidden;border:1px solid #e6eefb;border-radius:13px;background:#f4f8ff;color:var(--jc-primary);transition:transform .2s ease}.jc-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;padding:5px;object-fit:contain;box-sizing:border-box}.jc-logo[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:21px;height:21px}.jc-identity[_ngcontent-%COMP%]{display:flex;min-width:0;flex-direction:column;gap:3px}
1.jc-name[_ngcontent-%COMP%]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:var(--jc-secondary);font-family:Wix Madefor Text,sans-serif;font-size:14px;font-weight:600;line-height:1.3}.jc-location[_ngcontent-%COMP%]{display:flex;min-width:0;align-items:center;gap:5px;color:var(--jc-muted);font-family:Wix Madefor Text,sans-serif;font-size:13px;font-weight:500}.jc-location[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:14px;height:14px}.jc-location[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.jc-tag[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;flex-shrink:0;padding:5px 10px;border-radius:999px;font-family:Wix Madefor Text,sans-serif;font-size:12px;font-weight:600;line-height:1;white-space:nowrap}.jc-tag[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:13px;height:13px;stroke:none}.jc-tag--featured[_ngcontent-%COMP%]{border:1px solid #f4cb66;background:#fff7e0;color:#8a6400}.jc-tag--filled[_ngcontent-%COMP%]{border:1px solid #dfe5ee;background:#f3f6fa;color:var(--jc-muted)}.jc-title[_ngcontent-%COMP%]{margin:0 0 8px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;overflow-wrap:anywhere;color:var(--jc-dark);font-family:Wix Madefor Display,sans-serif;font-size:23px;font-weight:700;line-height:1.2;letter-spacing:-.028em;min-height:2.4em}.jc-desc[_ngcontent-%COMP%]{margin:0 0 16px;white-space:pre-line;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;overflow-wrap:anywhere;color:var(--jc-muted);font-family:Wix Madefor Text,sans-serif;font-size:14px;font-weight:400;line-height:1.55;min-height:4.65em}.jc-desc[_ngcontent-%COMP%] :where(p[_ngcontent-%COMP%], ul[_ngcontent-%COMP%], ol[_ngcontent-%COMP%], li[_ngcontent-%COMP%], br[_ngcontent-%COMP%], div[_ngcontent-%COMP%]){display:inline;margin:0;padding:0}.jc-salary[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;min-height:66px;padding:12px 15px;border:1px solid #abefc6;border-radius:15px;background:#ecfdf3;transition:box-shadow .2s ease}.job-card[_ngcontent-%COMP%]:hover .jc-salary[_ngcontent-%COMP%]{box-shadow:0 4px 16px #0676471a}.jc-salary-value[_ngcontent-%COMP%]{display:flex;min-width:0;flex-direction:column;gap:1px}.jc-salary-value[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{color:#067647;font-family:Wix Madefor Display,sans-serif;font-size:21px;font-weight:700;line-height:1.15;letter-spacing:-.02em;overflow-wrap:anywhere}.jc-salary-value[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{color:#3f9b70;font-family:Wix Madefor Text,sans-serif;font-size:11px;font-weight:600;letter-spacing:.06em;text-transform:uppercase}.jc-foot[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px}.jc-date[_ngcontent-%COMP%]{display:inline-flex;min-width:0;align-items:center;gap:6px;color:var(--jc-faint);font-family:Wix Madefor Text,sans-serif;font-size:12px;font-weight:500;white-space:nowrap}.jc-date[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:15px;height:15px}.jc-cta[_ngcontent-%COMP%]{display:inline-flex;height:44px;flex-shrink:0;align-items:center;justify-content:center;gap:8px;padding:0 18px;border:none;border-radius:13px;background:linear-gradient(135deg,#2664d0,#4f6ef7);color:#fff;font-family:Wix Madefor Text,sans-serif;font-size:14px;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .2s ease,transform .2s ease}.jc-cta[_ngcontent-%COMP%]:hover{background:linear-gradient(135deg,#1f56b8,#3f5cea);transform:translateY(-1px)}.jc-cta[_ngcontent-%COMP%]:focus-visible{outline:2px solid rgba(38,100,208,.5);outline-offset:2px}.jc-arrow[_ngcontent-%COMP%]{transition:transform .2s ease}.job-card[_ngcontent-%COMP%]:hover .jc-arrow[_ngcontent-%COMP%], .jc-cta[_ngcontent-%COMP%]:hover .jc-arrow[_ngcontent-%COMP%]{transform:translate(3px)}.job-card.is-featured[_ngcontent-%COMP%]{border-color:#eab32d73;box-shadow:0 8px 30px #0f172a0d,0 0 0 1px #f4cb661a}.job-card.is-featured[_ngcontent-%COMP%]:before{background:linear-gradient(90deg,#f5be37,#ffd97a);opacity:.75}.job-card.is-featured[_ngcontent-%COMP%]:hover{border-color:#eab32d9e;box-shadow:0 18px 45px #0f172a1a,0 0 0 1px #f4cb662e}.job-card.is-filled[_ngcontent-%COMP%] .jc-title[_ngcontent-%COMP%]{color:var(--jc-secondary)}.job-card.is-filled[_ngcontent-%COMP%]:before{background:#d7dfea}.job-card.is-filled[_ngcontent-%COMP%] .jc-cta[_ngcontent-%COMP%]{background:#eef1f6;color:var(--jc-secondary);box-shadow:none}.job-card.is-filled[_ngcontent-%COMP%] .jc-cta[_ngcontent-%COMP%]:hover{background:#e6eaf1;box-shadow:none}@media (max-width: 699px){.job-card[_ngcontent-%COMP%]{aspect-ratio:auto;min-height:0;padding:20px}.job-card[_ngcontent-%COMP%]:before{left:20px;right:20px}.job-card.is-fixed[_ngcontent-%COMP%]{width:min(68vw,300px);flex:0 0 min(68vw,300px);aspect-ratio:auto;padding:17px}.job-card.is-fixed[_ngcontent-%COMP%]:before{left:17px;right:17px}.job-card.is-fixed[_ngcontent-%COMP%] .jc-salary[_ngcontent-%COMP%]{margin-top:auto}.job-card.is-fixed[_ngcontent-%COMP%] .jc-foot[_ngcontent-%COMP%]{margin-top:0}.jc-foot[_ngcontent-%COMP%]{flex-wrap:wrap}.jc-cta[_ngcontent-%COMP%]{flex:1;min-width:160px}.jc-top[_ngcontent-%COMP%]{margin-bottom:18px}.jc-title[_ngcontent-%COMP%]{font-size:20px;min-height:0}.jc-top[_ngcontent-%COMP%], .jc-desc[_ngcontent-%COMP%]{min-height:0}}@container (max-width: 300px){.jc-top[_ngcontent-%COMP%]{gap:8px}.jc-logo[_ngcontent-%COMP%]{width:36px;height:36px;border-radius:11px}.jc-logo[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:18px;height:18px}.jc-company[_ngcontent-%COMP%]{gap:9px}
1.jc-name[_ngcontent-%COMP%]{font-size:12.5px}.jc-location[_ngcontent-%COMP%]{font-size:11.5px}.jc-location[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:12px;height:12px}.jc-tag[_ngcontent-%COMP%]{padding:5px;gap:0}.jc-tag[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:14px;height:14px}.jc-tag--featured[_ngcontent-%COMP%]{border-radius:50%}.jc-tag--featured[_ngcontent-%COMP%] .jc-tag-label[_ngcontent-%COMP%]{display:none}.jc-tag--filled[_ngcontent-%COMP%]{padding:4px 8px;font-size:10px}.jc-top[_ngcontent-%COMP%]{min-height:42px}.jc-title[_ngcontent-%COMP%]{margin-bottom:6px;min-height:2.56em;font-size:15px;line-height:1.28;letter-spacing:-.02em}.jc-desc[_ngcontent-%COMP%]{margin-bottom:10px;min-height:2.9em;font-size:12.5px;line-height:1.45;-webkit-line-clamp:2;line-clamp:2}.jc-salary[_ngcontent-%COMP%]{min-height:46px;gap:9px;padding:7px 10px;border-radius:12px}.jc-salary-value[_ngcontent-%COMP%] strong[_ngcontent-%COMP%]{font-size:15px}.jc-salary-value[_ngcontent-%COMP%] small[_ngcontent-%COMP%]{font-size:9.5px}.jc-foot[_ngcontent-%COMP%]{padding-top:10px;gap:8px}.jc-date[_ngcontent-%COMP%]{gap:4px;font-size:10.5px}.jc-date[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:12px;height:12px}.jc-cta[_ngcontent-%COMP%]{height:34px;gap:6px;padding:0 10px;font-size:11.5px;border-radius:10px}.jc-cta[_ngcontent-%COMP%] .jc-ico[_ngcontent-%COMP%]{width:14px;height:14px}}@container (max-width: 232px){.jc-foot[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:10px}.jc-cta[_ngcontent-%COMP%]{width:100%}}@media (prefers-reduced-motion: reduce){.job-card[_ngcontent-%COMP%], .jc-logo[_ngcontent-%COMP%], .jc-arrow[_ngcontent-%COMP%], .jc-cta[_ngcontent-%COMP%], .jc-salary[_ngcontent-%COMP%]{transition:none}.job-card[_ngcontent-%COMP%]:hover, .job-card[_ngcontent-%COMP%]:hover .jc-arrow[_ngcontent-%COMP%]{transform:none}}']})};export{A as a};
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.