PageSourceSearch

https://www.freelancermap.at/build-redesign/client/default-assets_…ssets_js_components_sear-38c6f8.bc56eca6.js

js freelancermap.at collected 2026-10-04 05:32:01 UTC 23,651 bytes, 3 lines download raw bytes

1"use strict";(self.webpackChunkflm=self.webpackChunkflm||[]).push([["default-assets_js_components_search_search-reducer_initial-state_ts-assets_js_components_sear-38c6f8"],{
1"./assets/js/components/memo-list/freelancer/dropdown-memolist.tsx":(function(Q,W,a){var e=a("./node_modules/.pnpm/[email protected]/node_modules/react/index.js"),p=a("./assets/js/utilities/translation.tsx"),f=a("./assets/js/utilities/fetch.ts"),U=a("./assets/js/components/dropdown/dropdown.tsx"),P=a("./assets/js/components/modals/memolist-freelancer-modal/memolist-freelancer-modal.tsx"),x=a("./assets/js/components/tracking-elements/li.tsx"),w=a("./assets/js/components/search/search-reducer/search-context.ts"),B=a("./assets/js/utilities/is-function.ts");const Y=({translations:L,onMemoLists:_,memoList:C,profileUserId:l,loggedInUserId:A,profileId:y,isBlackListed:M,isOwnProfile:S,loginPath:v,registerPath:N,dispatch:b,openUpwards:u,showOnlyIcon:T=!1})=>{const m=(0,e.useContext)(w.o),[s,i]=(0,e.useState)(m.state?.memoLists||C||[]),[c,n]=(0,e.useState)(!1),[r,t]=(0,e.useState)(!1),[o,I]=(0,e.useState)(_||[]),[E,h]=(0,e.useState)(o?.length?"fa-solid fa-star":"fa-regular fa-star");(0,e.useEffect)(()=>{I(_)},[_]),(0,e.useEffect)(()=>{m.state?.memoLists&&i(m.state?.memoLists)},[m.state?.memoLists]),(0,e.useEffect)(()=>{h(o?.length?"fa-solid fa-star":"fa-regular fa-star")},[o]);const j={classes:A?"fm-btn fm-btn-secondary w-100 circle-bg":"fm-btn fm-btn-secondary memolistRegModalBtn mg-b-display-l w-100 circle-bg",disabled:M||S,"data-id":l||null};return e.createElement(e.Fragment,null,e.createElement(U.A,{hideClose:!0,button:T?null:j,disabled:M||S,iconAtTheEnd:!1,containerClasses:T?"fm-btn fm-btn-secondary m-0 circle-bg":"",dropdownText:L.memo_list_button,tooltipText:S?L["meta.isOwnProfile"]:null,fontAwesome:E,openUpwards:!!u,usePortal:!1,onToggle:g=>{g==="open"&&t(!0)}},e.createElement("ul",{className:"no-style memolist-dropdown-list"},e.createElement(x.A,{onClick:()=>n(!c),"aria-haspopup":"dialog","aria-label":"Open Modal",trackingId:"freelancer-memo-list-add-new-list"},e.createElement("div",null,e.createElement("i",{className:"fa-solid fa-plus-circle"}),L.create_memo_list)),s.map(g=>e.createElement(G,{key:g.id,setUpdatedOnMemoLists:I,id:g.id,dispatch:b,profileId:y,name:g.name,profileUserId:l,onMemoLists:o||[],translations:L})))),(r||c)&&e.createElement(P.A,{isOpen:c,onChangeOpen:()=>n(!c),dispatch:b,memolist:s,setMemoLists:i,showOnlyIcon:T,modalProperties:{loggedInUserId:A,profileUserId:l,profileId:y,onMemoLists:o,setUpdatedOnMemoLists:I,loginPath:v,registerPath:N,translations:L}}))},G=({onMemoLists:L,id:_,profileId:C,name:l,isBlackListed:A,dispatch:y,setUpdatedOnMemoLists:M,profileUserId:S,translations:v})=>{const[N,b]=(0,e.useState)(!!L.find(m=>m===_)),u=(0,e.useContext)(w.o);(0,e.useEffect)(()=>{b(!!L.find(m=>m===_))},[L]);const T=async(m,s)=>{const i=N?"delete":"add";if(i==="add"){const c=new FormData;c.append("uid",s.toString()),(await(0,f.flmFetch)({url:`/memolist/${m}/add/item`,method:f.FETCH_METHODS.POST,body:c,showToaster:!0,toasterPropsSuccess:{message:v.memo_list_success_freelancer},toasterPropsError:{message:v.memo_list_error_freelancer}})).success&&(b(!N),M(r=>[...r,m]),y?await y({type:"TOGGLE_FREELANCER_MEMOLIST",key:C,value:{add:!0,listId:m}}):(0,B.T)(u?.dispatch)&&u.dispatch({type:"TOGGLE_FREELANCER_MEMOLIST",key:C,value:{add:!0,listId:m}}))}else i==="delete"&&(await(0,f.flmFetch)({url:`/memolist/${m}/delete/item?target=${s}`,method:f.FETCH_METHODS.DELETE,headers:f.FETCH_HEADERS.URL_ENCODED,showToaster:!0,toasterPropsSuccess:{message:v.memo_list_success_freelancer_delete},toasterPropsError:{message:v.memo_list_error_freelancer_delete}})).success&&(b(!N),M(n=>n.filter(r=>r!==m)),y?await y({type:"TOGGLE_FREELANCER_MEMOLIST",key:C,value:{add:!1,listId:m}}):(0,B.T)(u?.dispatch)&&u.dispatch({type:"TOGGLE_FREELANCER_MEMOLIST",key:C,value:{add:!1,listId:m}}))};return e.createElement(x.A,{onClick:()=>T(_,S),disabled:A,trackingId:"freelancer-memo-list-item"},e.createElement("div",{className:"memolist-item"},e.createElement("i",{className:`fa-regular ${N?"fa-check":"fa-plus-circle"}`}),e.createElement("span",{className:"single-line-truncate text-left"},l)))};W.A=(0,p.CI)(Y)}),
1"./assets/js/components/modals/memolist-freelancer-modal/memolist-freelancer-modal.tsx":(function(Q,W,a){var e=a("./node_modules/.pnpm/[email protected]/node_modules/react/index.js"),p=a("./assets/js/components/modals/flm-modal.tsx"),f=a("./assets/js/utilities/translation.tsx"),U=a("./assets/js/utilities/toast.ts"),P=a("./assets/js/components/form/form-validator.tsx"),x=a("./assets/js/utilities/fetch.ts"),w=a("./assets/js/components/tracking-elements/button.tsx"),B=a("./assets/js/components/search/search-reducer/search-context.ts"),Y=a("./assets/js/utilities/is-function.ts"),G=a("./assets/js/utilities/href-setter.tsx");const L=({isOpen:_,onChangeOpen:C,modalProperties:l,dispatch:A,showOnlyIcon:y,setMemoLists:M})=>{const S=(0,e.useRef)(null),v=(0,e.useContext)(B.o),[N,b]=(0,e.useState)(!1),u={mainFormClasses:"w-100",submitBtnInfo:{label:l.translations["memo_list_modal.submit"],submitClasses:"d-none"},reValidateMode:"onSubmit",inputsInfo:[{id:`memo-list-freelancer-form-name-${l.profileId}${y?"-card":"-page"}`,label:l.translations["memo_list_modal.label"],headlineHtml:"",typeOfInput:"memoListAjax",placeholder:l.translations["memo_list_modal.placeholder"],validation:{required:!0,requiredErrorMessage:"",ajaxInfo:{url:"/memolist/create",method:"POST",errorMessage:"",data:{userId:l.loggedInUserId}}},formGroupClasses:""}]},T=s=>{(0,G.U2)(s+"?ref=email_modal")},m=async()=>{b(!0);const s=new FormData;s.append("userId",l.loggedInUserId);const i=await(0,x.flmFetch)({url:"/memolist/user/showlists",method:x.FETCH_METHODS.POST,body:s,showToaster:!1});if(!i.success){b(!1);return}const c=i.data.memoLists,n=new FormData;n.append("uid",l.profileUserId);const r=c[0].id,t=await(0,x.flmFetch)({url:"/memolist/"+r+"/add/item",method:x.FETCH_METHODS.POST,body:n,showToaster:!1});if(!t.success){b(!1);return}c[0].items=t.data.userIds.map(I=>`/api/memolist_items/memolist=${r};user=${I}`),M(c);const o=[...l.onMemoLists,r];l.setUpdatedOnMemoLists(o),A?(A({type:"UPDATE_GENERAL_PROPERTY",key:"memoLists",value:c}),A({type:"TOGGLE_FREELANCER_MEMOLIST",key:l.profileId,value:{add:!0,listId:r}})):(0,Y.T)(v?.dispatch)&&(v.dispatch({type:"UPDATE_GENERAL_PROPERTY",key:"memoLists",value:c}),v.dispatch({type:"TOGGLE_FREELANCER_MEMOLIST",key:l.profileId,value:{add:!0,listId:r}})),(0,U.A)({message:l.translations["memo_list_modal.success"],type:"success"}),b(!1),C()};return l.loggedInUserId?e.createElement(p.aF,{isOpen:_,onChangeOpen:C,includeBackdrop:!0,usePortal:!1},e.createElement(p.cw,null,e.createElement("div",{ref:S},e.createElement("h2",null,l.translations["memo_list_modal.title"]),e.createElement(P.default,{data:u,id:`memo-list-freelancer-form-${l.profileId}${y?"-card":"-page"}`,onFormSubmit:m,translations:l.translations}))),e.createElement(p.jl,null,e.createElement(w.A,{className:"fm-btn fm-btn-primary create-memolist-input modal-submit",trackingId:"memo-list-modal-cancel-button",type:"submit",disabled:N,form:`memo-list-freelancer-form-${l.profileId}${y?"-card":"-page"}`},N&&e.createElement("i",{className:"far fa-spin fa-spinner"}),l.translations["memo_list_modal.submit"]))):e.createElement(p.aF,{isOpen:_,onChangeOpen:C},e.createElement(p.cw,null,e.createElement("h2",null,l.translations["memo_list_modal.title"]),e.createElement("div",{className:"text small"},l.translations["upgrade_modal.login_text_function"])),e.createElement(p.jl,null,e.createElement(w.A,{className:"fm-btn fm-btn-highlight",trackingId:"memo-list-modal-login-button",onClick:()=>T(l.loginPath)},l.translations["upgrade_modal.button_login"]),e.createElement(w.A,{className:"fm-btn fm-btn-secondary",trackingId:"memo-list-modal-register-button",onClick:()=>T(l.registerPath)},l.translations["upgrade_modal.button_register"])))};W.A=(0,f.CI)(L)}),
1"./assets/js/components/search/search-reducer/initial-state.ts":(function(Q,W,a){const e=(P=!0)=>({filter:{attachments:!1,availability:null,categories:[],contractTypes:[],companyReferences:"",endcustomer:!1,created:null,excludeDachProjects:!1,partner:null,poster:null,posterName:null,lastRun:null,projectContractTypes:[],remoteInPercent:[],remoteOnly:[],hideAppliedProjects:null,excludeDachRegion:!P,showHiddenProjects:null,excludeMemolist:!1,excludeUnavailable:!1,languages:[],industry:[],matchingSkills:[],currentPlatform:1,locale:"de",query:"",queryParts:[],continents:[],countries:P?[{id:1,name:"Deutschland",iso2:"DE"},{id:2,name:"\xD6sterreich",iso2:"AT"},{id:3,name:"Schweiz",iso2:"CH"}]:[],states:[],location:null,radius:null,city:null,subCategories:[],sort:1,maxDailyRate:0,maxHourlyRate:0,mostRecentProfiles:!1,permanentJobs:!1,employeeLeasingJobs:!1,profileUpdated:0,subCategoryName:"",excludedCompanies:[],placeOfWorkMode:"travel"},saveHistory:{items:[]},result:{freelancers:null,projects:null,topProjects:null,count:null,countWithHidden:null,hasViewedProjectList:null,hasViewedProfileList:null,aggregations:null,averagePrice:null,blacklist:null},meta:null,memoLists:null,remainingApplications:typeof window<"u"?window?.app?.user?.metaBag?.remainingApplications||0:null,isLoading:!1}),p=e(),f=P=>({...P,defaultSort:P?.filter?.sort}),U=null;a.d(W,["Wf",0,e,"cY",0,f,"ue",0,p])}),
1"./assets/js/components/search/search-results/freelancer/freelancer-card.tsx":(function(Q,W,a){a.d(W,{Y:function(){return m}});var e=a("./node_modules/.pnpm/[email protected]/node_modules/react/index.js"),p=a("./assets/js/components/image/image.tsx"),f=a("./assets/js/utilities/membership-validator.ts"),U=a("./assets/js/components/profile-image/profile-image.tsx");const P="200px 0px";var w=({user:s,id:i,image:c,setSelectedSearchResultId:n,setShowSearchResultModal:r,priority:t=!1,placeholder:o,isClient:I=!1})=>{const E=(0,e.useRef)(null),[h,j]=(0,e.useState)(t),[g,F]=(0,e.useState)(!1),[Z,K]=(0,e.useState)(!1),H=Z?null:(O=>O&&O.src?{dpr3Path:O.src.dpr3,dpr2Path:O.src.dpr2,normalPath:O.src.dpr2}:null)(c),$=!!(H&&H.normalPath);if((0,e.useEffect)(()=>{if(!$||h)return;if(typeof IntersectionObserver>"u"){j(!0);return}const O=new IntersectionObserver(q=>{q.forEach(ee=>{ee.isIntersecting&&(j(!0),O.disconnect())})},{rootMargin:P});return E.current&&O.observe(E.current),()=>O.disconnect()},[$,h]),!(0,f.mW)(s.membership))return null;let V="image";!$&&c.initials&&(V+=" initials");const X=()=>e.createElement(e.Fragment,null,h?e.createElement(U.A,{srcSet:H,initials:c.initials,firstName:s.firstName,lastName:s.lastName,salutation:s.salutation,width:128,height:128,isLCP:t,loading:t?void 0:"lazy",decoding:"async",onLoad:()=>F(!0),onError:()=>K(!0)}):null,e.createElement("span",{className:`image-placeholder${g?" image-placeholder--hidden":""}`,"aria-hidden":!0},o));return e.createElement("div",{className:"cursor-pointer freelancer-card-image",role:"button",tabIndex:0,"data-id":"profile-image",ref:E,onClick:()=>{n(i),r(!0)}},I?e.createElement("span",{className:V},$?X():e.createElement(U.A,{srcSet:H,initials:c.initials,firstName:s.firstName,lastName:s.lastName,salutation:s.salutation,width:128,height:128})):null)},B=a("./assets/js/constants/availability.ts"),G=({availability:s,translations:i={},isClient:c=!1})=>{const n=(0,e.useRef)(null);(0,e.useEffect)(()=>{n.current&&n.current.querySelectorAll("[data-tooltip-added]").forEach(o=>{o.removeAttribute("data-tooltip-added")})},[]);const r=()=>s===B.A.AVAILABLE?e.createElement("span",{"data-testid":"available-badge"},i?.["search_results.freelancer.freelancer_status.available"]):s===B.A.NOT_AVAILABLE?e.createElement("span",{"data-testid":"not-available-badge","data-tooltip-added":!0,"data-tooltip-title":i["availability.text"]},i["search_results.freelancer.freelancer_status.not_available"]):e.createElement("span",{"data-testid":"partially-available-badge",...i["availability?.title"]?{"data-tooltip-added":!0,"data-tooltip-title":i["availability.title"]}:{}},i?.["search_results.freelancer.freelancer_status.partially_available"]);return e.createElement("div",{className:"availability-status",ref:n},c?r():null)},_=({membership:s,translations:i,isClient:c=!1})=>{const n=(0,e.useRef)(null);return(0,e.useEffect)(()=>{n.current&&n.current.querySelectorAll("[data-tooltip-added]").forEach(t=>{t.removeAttribute("data-tooltip-added")})},[]),(0,f.mW)(s)?e.createElement("div",{className:"icon-list",ref:n},c&&e.createElement(e.Fragment,null,(0,f.mW)(s)&&e.createElement("i",{className:"fa-regular fa-gem","data-tooltip-added":!0,"data-tooltip-title":i?.["search_results.freelancer.freelancer_icon_list.tooltips.premium"]}))):null},C=a("./assets/js/components/memo-list/freelancer/dropdown-memolist.tsx"),l=a("./assets/js/components/search/search-reducer/search-context.ts"),A=a("./assets/js/constants/account-type.ts"),y=a("./assets/js/components/tracking-elements/button.tsx"),M=a("./assets/js/components/tracking-elements/link.tsx"),S=a("./assets/js/utilities/currency-formatter.ts"),v=a("./assets/js/utilities/fetch.ts"),N=a("./assets/js/components/tracking-elements/div.tsx"),b=a("./assets/js/components/modals/registration-modal/registration-modal-context.tsx"),u=a("./assets/js/components/search/utilities/viewed-ids.ts");const T=(0,e.memo)(({id:s,title:i,locale:c,app:n,translations:r,user:t,paymentInformation:o,isSelected:I,isClient:E,isDachSearch:h,dispatch:j,isBlacklisted:g,hasViewedFromState:F,showShortListIcon:Z,viewedProfileIds:K,links:k,verified:H,profileSkills:$,availability:V,isOnRemoveFromTrackingList:X,onRemoveFromTrackingList:O,isAddToList:q,onAddToList:ee,onMemoLists:oe,memoLists:me,routes:J,image:z,anonym:de,translationsMemoList:ue,travelConfiguration:R,setSelectedSearchResultId:se,setShowSearchResultModal:le,meta:fe,navigateToProfileOnTitleClick:Ee
1=!1,hideMemoList:he=!1,suggestedFreelancer:ge=!1,unlockedParticipantUserIds:ne=[]})=>{const re=n?.locale??c,ce=!!(n?.user&&o&&o.currency&&o.hourlyRate),pe=(0,e.useRef)(null),[_e,ie]=(0,e.useState)(!1),te=_e||(F!==void 0?F:!n?.user&&K.has(s)),{openRegModal:ye,preloadRegModal:ae}=(0,b.f4)();(0,e.useEffect)(()=>{I&&(n?.user||(0,u.he)(u.y$,s),ie(!0))},[I]);const ve=()=>{te||n?.user||((0,u.he)(u.y$,s),pe.current?.classList.add("viewed-profile"))},be=()=>{let d=i;return c!==n?.locale&&r[n?.locale]&&(d=r[`${n?.locale}.${d}`]),e.createElement(M.Ay,{className:"title",href:k?.title,role:"button",trackingId:"freelancer-card-title",onClick:D=>{if(!Ee){if(ve(),ie(!0),D.ctrlKey||D.metaKey)return;D.preventDefault(),se(s),le(!0)}},...ge?{target:"_blank",rel:"noopener noreferrer"}:{}},d)},Le=()=>{const d=t.firstName||"",D=t.lastName||"",Te=`${d} ${D}`;return de||!d&&!D?null:e.createElement("p",{className:"name"},Te)},Ce=()=>{if(ce){const d=(0,S.Qn)(o.currency.code);return e.createElement("p",{className:"hourly-rate"},h?`${o?.hourlyRate} ${d}/${r.hour_short}`:`${d}${o?.hourlyRate}/${r.hour_short}`)}},Me=()=>{if(!E)return null;if(R&&R.noRestrictions)return e.createElement("div",{className:"travel-info"},e.createElement("i",{className:"fa-regular fa-car-side"}),r.world_wide);if(R&&R.isResidence)return e.createElement("div",{className:"travel-info"},e.createElement("i",{className:"fa-regular fa-car-side"}),t?.city?t.city:null," ","+"+R.radius+" km");if(!R||!R.countries||!Array.isArray(R.countries)||!R.countries.length)return e.createElement("div",{className:"travel-info","data-testid":"profile-travel-info-radius"},e.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"16",viewBox:"0 0 20 16",fill:"none"},e.createElement("path",{d:"M0.159524 0.287669C-0.0966834 0.612662 -0.0373182 1.08453 0.287628 1.34077L18.7846 15.8405C19.1095 16.0967 19.5813 16.0373 19.8375 15.7123C20.0937 15.3873 20.0344 14.9155 19.7094 14.6592L17.7754 13.1436C17.8597 12.9405 17.9222 12.7249 17.9597 12.4999H19.0002C19.5532 12.4999 20 12.053 20 11.4999V9.99996C20 7.91563 18.4096 6.20629 16.3756 6.01879H16.3725L13.1855 2.03138C12.6637 1.37827 11.8732 1.00015 11.039 1.00015H5.35242C4.58692 1.00015 3.87454 1.31577 3.36525 1.84701L1.21248 0.159547C0.887529 -0.0966972 0.415732 -0.0373235 0.159524 0.287669ZM4.56192 2.78449C4.78064 2.60637 5.05872 2.50012 5.35242 2.50012H6.99902V3.00011V4.69695L4.56192 2.78449ZM8.49877 3.00011V2.50012H11.0359C11.417 2.50012 11.7732 2.67199 12.0107 2.96886L14.4353 6.00004H8.66437L8.49877 5.87192V5.50005V3.00011ZM2.04671 4.61257L1.46243 6.07192C0.618824 6.30629 0.000175627 7.08127 0.000175627 8V11.4999C0.000175627 12.053 0.446977 12.4999 1.00001 12.4999H2.04046C2.27793 13.9186 3.5121 14.9998 4.99935 14.9998C6.48661 14.9998 7.72078 13.9186 7.95824 12.4999H12.0419C12.2794 13.9186 13.5136 14.9998 15.0008 14.9998C15.0727 14.9998 15.1477 14.9967 15.2195 14.9936L10.1516 10.9999H7.83013C7.4177 9.83433 6.30851 8.99998 5.00248 8.99998C3.69644 8.99998 2.58412 9.83433 2.17482 10.9999H1.49993V8C1.49993 7.72501 1.72489 7.50001 1.99985 7.50001H5.71173L3.80892 6.00004H3.10904L3.27776 5.57818L2.04984 4.60945L2.04671 4.61257ZM13.2261 9.57809L10.5766 7.50001H15.9975C17.3786 7.50001 18.4971 8.61874 18.4971 9.99996V10.9999H17.8254C17.4129 9.83433 16.3037 8.99998 14.9977 8.99998C14.3353 8.99998 13.7229 9.2156 13.2261 9.57809ZM14.7227 10.5062C15.2539 10.4062 15.7976 10.5968 16.1475 11.0093C16.4162 11.3249 16.5381 11.7343 16.4943 12.1374L14.4915 10.5687C14.5665 10.5406 14.6415 10.5218 14.7196 10.5062H14.7227ZM3.4996 11.9999C3.4996 11.1718 4.17136 10.4999 4.99935 10.4999C5.82734 10.4999 6.4991 11.1718 6.4991 11.9999C6.4991 12.828 5.82734 13.4999 4.99935 13.4999C4.17136 13.4999 3.4996 12.828 3.4996 11.9999Z",fill:"#646464"})),r["profile_header.only_remote"]);const d=R.countries.map(D=>re==="de"?D.nameDe:D.nameEn);return e.createElement("div",{className:"travel-info"},e.createElement("i",{className:"fa-regular fa-car-side"}),d[0]," ",d.length>1?`+${d.length-1}`:"")},Ne=()=>!(t.citySearchPath&&t.city)&&!(t.country&&k.country)?null:e.createElement("div",{className:"city"},t.citySearchPath&&t.city?e.createElement(e.Fragment,null,e.createElement(M.Ay,{href:t.citySearchPath,trackingId:"freelancer-card-city",className:"freelancer-city color-text-display-weak mg-r-0"},e.createElement("i",{className:"fa-regular fa-location-pin"}
1))):null,e.createElement("div",{className:"city-country"},t.citySearchPath&&t.city?e.createElement(M.Ay,{href:t.citySearchPath,trackingId:"freelancer-card-city",className:"freelancer-city color-text-display-weak"},`${t.city}${t.country?",":""} `):null,t.country&&k.country?e.createElement(M.Ay,{href:k.country,trackingId:"freelancer-card-country",className:"freelancer-country color-text-display-weak"},!t.citySearchPath||!t.city?e.createElement("i",{className:"fa-regular fa-location-pin"}):null,t.country[re==="de"?"nameDe":"nameEn"]):null)),Ie=()=>{if(X)return e.createElement(N.A,{trackingId:"remove-user-from-tracking","data-testid":"remove-user-from-tracking",role:"button",tabIndex:0,onClick:()=>O(s),className:"mg-l-auto"},e.createElement("i",{className:"far fa-user-minus circle-bg"}));if(n?.user){if(n.user.accountType!==A.HR.FREELANCER)return e.createElement("div",{className:"memo-list-btn-container"},e.createElement(C.A,{loggedInUserId:n.user.id||null,profileUserId:t?t.id:null,profileId:s,isOwnProfile:!!fe?.ownProfileIds.find(d=>d===s),translations:ue,onMemoLists:oe,memoList:me||[],loginPath:J.loginPath,registerPath:J.registerPath,showOnlyIcon:!0}))}else return e.createElement("div",{className:"memo-list-btn-container"},e.createElement(y.A,{className:"fm-btn fm-btn-secondary m-0 memolistRegModalBtn dropdown-toggle circle-bg",trackingId:"memo-list-btn-without-login",onPointerEnter:ae,onPointerDown:ae,onFocus:ae,onClick:()=>ye({translations:r,optionalHeadline:r["registration.titleMemolist"],type:A.HR.PROVIDER,refParam:"search",locale:h?"de":"en",urls:{agb:J.agbPath,login:J.loginPath}})},e.createElement("i",{className:"fa-regular fa-star"})));return null},Pe=()=>!H||!E?null:e.createElement("span",{"data-testid":"verified-badge",className:"badge badge-icon badge-brand","data-tooltip-title":r?.verified_profile},e.createElement("i",{className:"fa-regular fa-shield-check"})),Ae=async()=>{const d=new FormData;d.append("user",t.id.toString()),d.append("type","user"),(await(0,v.flmFetch)({url:"/blacklist/remove",method:v.FETCH_METHODS.POST,body:d,showToaster:!0,toasterPropsSuccess:{message:r["profile_header.unblock.success"]},toasterPropsError:{message:r["profile_header.unblock.error"]}})).success&&j?.({type:"TOGGLE_FREELANCER_BLACKLIST",key:s,value:!1})};return e.createElement("div",{className:`freelancer-card${ce?" has-payment":""}${te?" viewed-profile":""}${g?" blacklisted-profile":""}${ne.includes(t.id)?" unlocked-participant":""}`},e.createElement("div",{className:"top-bar"},Pe(),(0,f.mW)(t.membership)&&e.createElement(_,{membership:t.membership,translations:r,isClient:E}),e.createElement(G,{availability:V,translations:r,isClient:E}),g&&e.createElement(N.A,{trackingId:"blocked-profile",role:"button",tabIndex:0,"data-testid":"blocked-profile",className:"blocked-profile",onClick:Ae},e.createElement("i",{className:"far fa-ban"})),E&&e.createElement(e.Fragment,null,!g&&!he?q?e.createElement("div",{className:"mg-l-auto d-flex circle-bg","data-id":"add-to-list-mass-inquiry",role:"button",onClick:()=>{ee({user:t,id:s,profileSkillsWithOccurrences:$,paymentInformation:{hourlyRateInCents:o.hourlyRate*100},availability:V,travelConfiguration:R,title:i,profileUrl:k.title,images:{dpr3Path:z.src?.dpr3,dpr2Path:z.src?.dpr2,initials:z.initials,normalPath:z.src?.normal}})}},e.createElement("svg",{width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e.createElement("path",{d:"M9.25 2.25V7.25H14.25C14.6562 7.25 15 7.59375 15 8C15 8.4375 14.6562 8.75 14.25 8.75H9.25V13.75C9.25 14.1875 8.90625 14.5 8.5 14.5C8.0625 14.5 7.75 14.1875 7.75 13.75V8.75H2.75C2.3125 8.75 2 8.4375 2 8C2 7.59375 2.3125 7.25 2.75 7.25H7.75V2.25C7.75 1.84375 8.0625 1.5 8.5 1.5C8.90625 1.5 9.25 1.84375 9.25 2.25Z",fill:"black"}))):Ie():null)),be(),e.createElement("div",{className:"d-flex gap-xs flex-align-center"},e.createElement(w,{user:t,id:s,image:z,isClient:E,setSelectedSearchResultId:se,setShowSearchResultModal:le}),e.createElement("div",{className:`name-and-title ${(0,f.mW)(t.membership)?"has-image":""}`},Le(),Ne(),Me())),ne.includes(t.id)&&e.createElement("div",{className:"unlocked-badge","data-tooltip-title":"Ich bin Teilnehmer bei der Freelance Unlocked Konferenz vom 11.\u201312. Juni 2026"},e.createElement(p.Ay,{cdnPath:"/redesign-plattform/partner-logos/partner-logo-fun.png",className:"freelance-unlocked-banner__image",imageType:p.yj.PNG,alt:"Freelance Unlocked",width:136,height:36})),e.createElement("div",{className:"card-footer"},Ce(),Z?e.createElement("i",{className:"fas fa-circle-check"}):null,te&&E?e.createElement("i",{className:"viewedProfile fa-regular fa-check-double"}):null))});T.displayName="FreelancerCardView";const m=s=>{const{isClient:i,state:c,dispatch:n,isDachSearch:r}=(0,e.useContext)(l.o),{selectedSearchResultId:t,isSelected:o,viewedProfileIds:I,...E}=s,{id:h,app:j,meta:g}=s,F=!!j?.user,Z=F&&c?.result?.blacklist?.[h]?.isBlackListed===!0,K=c?.result?.hasViewedProfileList,k=K?!!K[h]:void 0,H=!!(c?.meta?.isShortListFeatureActive??g?.isShortListFeatureActive)&&!!(c?.meta?.isOnShortList?.[h]??g?.isOnShortList?.[h]),$=o??(t!==void 0&&t===h),V=(0,e.useMemo)(()=>i&&!F?(0,u.Fu)(u.y$):u.xc,[i,F]);return e.createElement(T,{...E,isClient:!!i,isDachSearch:!!r,dispatch:n,isBlacklisted:Z,hasViewedFromState:k,showShortListIcon:H,isSelected:$,viewedProfileIds:I??V})}})
1}]);
2
3//# sourceMappingURL=default-assets_js_components_search_search-reducer_initial-state_ts-assets_js_components_sear-38c6f8.bc56eca6.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.