PageSourceSearch

https://www.kariera.gr/_next/static/chunks/07porbu6_56g9.js

js kariera.gr collected 2026-10-02 07:01:08 UTC 60,230 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,598710,e=>{"use strict";var t=e.i(843476),r=e.i(640602);e.s(["Skeleton",0,function(e){let{className:a,...n}=e;return(0,t.jsx)("div",{"data-slot":"skeleton",className:(0,r.cn)("bg-accent animate-pulse rounded-md",a),...n})}])},309811,e=>{"use strict";var t=e.i(843476),r=e.i(952006),a=e.i(225913),n=e.i(640602);let s=(0,a.cva)(["inline-flex items-center justify-center gap-1","px-2 py-0.5","text-xs leading-normal font-semibold whitespace-nowrap","rounded-xs border border-transparent","overflow-hidden","[&>svg]:size-3","focus:ring-ring/20 focus:ring-[3px] outline-hidden","hover:bg-linear-to-t hover:from-white/10 hover:to-white/10","transition-[color,box-shadow]"],{variants:{variant:{default:"bg-primary text-primary-foreground focus:border-primary",secondary:"bg-secondary text-secondary-foreground focus:border-primary",destructive:"bg-destructive text-destructive-foreground focus:ring-destructive/20",verified:"bg-success-foreground text-destructive-foreground",outline:"border-primary text-primary hover:bg-none hover:bg-accent focus:bg-focus-background"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function(e){let{className:a,variant:i,asChild:l=!1,...o}=e,u=l?r.Slot:"span";return(0,t.jsx)(u,{"data-slot":"badge",tabIndex:0,className:(0,n.cn)(s({variant:i}),a),...o})},"badgeVariants",0,s])},25733,e=>{"use strict";var t=e.i(271645),r=e.i(592543),a=e.i(558928);e.s(["useSyncStorage",0,function(e,n){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"local",i="local"===s?r.default:a.default,l=`storage-${s}-sync`,[o,u]=(0,t.useState)(()=>i.get(e)??n);return(0,t.useEffect)(()=>{let t=t=>{t.key===e&&u(i.get(e)??n)};return window.addEventListener("storage",t),()=>window.removeEventListener("storage",t)},[e,n,i]),(0,t.useEffect)(()=>{let t=t=>
1{t.detail.key===e&&u(t.detail.value??n)};return window.addEventListener(l,t),()=>window.removeEventListener(l,t)},[e,n,l]),[o,(0,t.useCallback)((t,r)=>{u(a=>{let n=t(a);return Object.is(a,n)?a:(i.set(e,n,r),queueMicrotask(()=>{window.dispatchEvent(new CustomEvent(l,{detail:{key:e,value:n}}))}),n)})},[e,l,i])]}])},916788,e=>{"use strict";var t,r=((t={}).TRIGGER="trigger",t);e.s(["SearchParams",()=>r])},559486,830566,e=>{"use strict";var t=e.i(777291);let r={[t.Categories.ACCOUNTING_AUDITING]:"accounting-or-auditing",[t.Categories.ADMINISTRATIVE_SECRETARIAL]:"administrative-or-secretarial",[t.Categories.AGRICULTURE]:"agriculture",[t.Categories.BEAUTY_SERVICES_FITNESS]:"beauty-services-or-fitness",[t.Categories.BI_BUSINESS_ANALYSIS]:"bi-or-business-analysis",[t.Categories.BUYER]:"buyer",[t.Categories.CALL_CENTER_CUSTOMER_SUPPORT]:"call-center-or-customer-support",[t.Categories.CHANNEL_DISTRIBUTION]:"channel-or-distribution",[t.Categories.CHEMICAL]:"chemical",[t.Categories.CLERICAL_ADMIN]:"clerical-or-admin",[t.Categories.COMMUNITY_SOCIAL_SERVICE_VOLUNTARY]:"community-or-social-service-or-voluntary",[t.Categories.CONSTRUCTION_ENGINEERS_ARCHITECTS]:"construction-or-engineers-or-architects",[t.Categories.CONSULTING]:"consulting",[t.Categories.CORPORATE_SERVICES]:"corporate-services",[t.Categories.CULTURE_MEDIA_SOCIETY]:"culture-or-media-or-society",[t.Categories.CYBER_SECURITY_IT_SECURITY]:"cyber-security-or-it-security",[t.Categories.DATA_BIG_DATA]:"data-or-big-data",[t.Categories.DEALER_TRADER]:"dealer-or-trader",[t.Categories.DESIGN_GRAPHIC_ARTS_CREATIVE]:"design-or-graphic-arts-or-creative",[t.Categories.DEVOPS_CLOUD]:"devops-or-cloud",[t.Categories.EDUCATION_TRAINING]:"education-or-training",[t.Categories.ELECTRICAL_ELECTRONICS]:"electrical-or-electronics",[t.Categories.ENGINEERING]:"engineering",[t.Categories.ENVIRONMENTAL]:"environmental",[t.Categories.ENVIRONMENTAL_CLEAN_ENERGY]:"environmental-or-clean-energy",[t.Categories.EVENTS_MANAGEMENT]:"events-management",[t.Categories.E_COMMERCE_DIGITAL_SERVICES]:"e-commerce-or-digital-services",[t.Categories.FINANCE]:"finance",[t.Categories.FINANCIAL_CONTROLLER]:"financial-controller",[t.Categories.FOOD_CAFE]:"food-or-cafe",[t.Categories.GENERAL_MANAGEMENT]:"general-management",[t.Categories.GEN_INSURANCE_UNDERWRITING_CLAIMS]:"gen-insurance-or-underwriting-claims",[t.Categories.GOVERNMENT_PUBLIC_ADMINISTRATIONS]:"government-public-administrations",[t.Categories.GOVERNMENT_SECTOR_CIVIL_SERVICE]:"government-sector-or-civil-service",[t.Categories.HUMAN_RESOURCES]:"human-resources",[t.Categories.INFORMATION_SYSTEMS_AND_NETWORKS]:"information-systems-or-networks",[t.Categories.INSURANCE_AGENTS_BROKERS]:"insurance-agents-or-brokers",[t.Categories.IT]:"it",[t.Categories.LANGUAGE]:"language",[t.Categories.LEGAL]:"legal",[t.Categories.LOGISTICS_WAREHOUSE]:"logistics-or-warehouse",[t.Categories.MAINTENANCE]:"maintenance",[t.Categories.MAINTENANCE_MANAGER]:"maintenance-manager",[t.Categories.MANAGEMENT_TRAINEE]:"management-trainee",[t.Categories.MARITIME]:"maritime",[t.Categories.MARKETING_ADVERTISING]:"marketing-or-advertising",[t.Categories.MECHANICAL]:"mechanical",[t.Categories.MEDICINE_HEALTHCARE]:"medicine-or-healthcare",[t.Categories.MULTIMEDIA_WEB]:"multimedia-or-web",[t.Categories.NUTRITION_FOOD_AND_AGRICULTURE]:"nutrition-or-food-and-agriculture",[t.Categories.OFFSHORE]:"offshore",[t.Categories.OILFIELD]:"oilfield",[t.Categories.OIL_GAS]:"oil-or-gas",[t.Categories.OIL_GAS_OFFSHORE]:"oil-or-gas-offshore",[t.Categories.OIL_RIG]:"oil-rig",[t.Categories.OPERATIONS]:"operations",[t.Categories.OTHER]:"other",[t.Categories.PLANT_MANAGER]:"plant-manager",[t.Categories.PRESS_RADIO_TV]:"press-or-radio-or-tv",[t.Categories.PROCUREMENT_SUPPLY_CHAIN]:"procurement-or-supply-chain",[t.Categories.PRODUCTION]:"production",[t.Categories.PROJECT_MANAGEMENT]:"project-management",[t.Categories.PUBLIC_RELATIONS]:"public-relations",[t.Categories.PUBLIC_SECTOR]:"public-sector",[t.Categories.QUALITY_ASSURANCE]:"quality-assurance",[t.Categories.QUANTITY_SURVEYOR]:"quantity-surveyor",[t.Categories.REAL_ESTATE]:"real-estate",[t.Categories.RESEARCH_DEVELOPMENT]:"research-and-development",[t.Categories.RETAIL
1]:"retail",[t.Categories.RISK_MANAGEMENT]:"risk-management",[t.Categories.SALES_BUSINESS_DEVELOPMENT_ACCOUNT_MANAGEMENT]:"sales-or-business-development-or-account-management",[t.Categories.SCIENCE_RESEARCH]:"science-or-research",[t.Categories.SECURITY]:"security",[t.Categories.SOFTWARE_ENGINEERING]:"software-engineering",[t.Categories.SPORTS_ART]:"sports-or-art",[t.Categories.STRATEGY_PLANNING]:"strategy-or-planning",[t.Categories.SUSTAINABILITY]:"sustainability",[t.Categories.TECHNICIANS_SERVICE]:"technicians-or-service",[t.Categories.TOURISM]:"tourism",[t.Categories.TRANSLATING_AND_INTERPRETING]:"translating-and-interpreting",[t.Categories.TRANSPORT_DRIVING]:"transport-or-driving",[t.Categories.VEHICLE_CONSTRUCTION_AND_SUPPLIERS]:"vehicle-construction-and-suppliers",[t.Categories.WORKERS]:"workers"};e.s(["categorySlugMap",0,r],830566),e.i(870165);var a=e.i(457819);class n{static toValue(e){return Object.keys(r).find(t=>r[t]===e)||e}static toPath(e){return r[e]||e}}class s{static toValue(e){return e}static toPath(e){return e}static async toValueAndValidate(e){if(e)try{let t=await a.locationsService.getLocationByUrlSuffix(e);return t?.urlSuffix}catch{return}}}e.s(["JobsPathHelper",0,class{static parseRaw(e){if(!e)return{};let t=decodeURIComponent(((Array.isArray(e)?e[0]??"":e).split("/").filter(Boolean).pop()??"").replace(/^\/+|\/+$/g,"").trim());if(!t||"jobs"===t)return{};if(t.startsWith("jobs-in-"))return{location:t.slice(8)};if(t.endsWith("-jobs"))return{category:t.slice(0,-5)};if(t.includes("-jobs-in-")){let[e,r]=t.split("-jobs-in-");return{category:e,location:r}}return{category:void 0,location:void 0}}static parse(e){let{category:t,location:r}=this.parseRaw(e);return{category:t?[n.toValue(t)]:void 0,location:r?s.toValue(r):void 0}}static addFilter(e,t,r){let a=e.split("/").filter(Boolean).pop()??"",s={...this.parse(a)};"category"===t?s.category=[n.toValue(r)]:"location"===t&&(s.location=r||void 0);let i=this.build(s),l=this.basePath(e);return i?`${l}/${i}`:l}static removeFilter(e,t){let r=e.split("/").filter(Boolean).pop()??"",a={...this.parse(r),[t]:void 0},n=this.build(a),s=this.basePath(e);return n?`${s}/${n}`:s}static removeAllFilters(e){return this.basePath(e)}static extractFiltersFromSlug(e){if(!e)return{};let{location:t,category:r}=this.parse(e),a=r?.length===1?r[0]:void 0,n=t?s.toValue(t):void 0;return{...n&&{location:n},...a&&{category:a?[a]:void 0}}}static basePath(e){let t=e.replace(/\/+/g,"/").replace(/^\/|\/$/g,"").split("/").filter(Boolean),r=t.indexOf("jobs");return"/"+(-1===r?t.join("/"):t.slice(0,r+1).join("/"))}
1static build(e){let t=e.category?.[0]?.trim(),r=e.location?.trim();if(!t&&!r)return"";let a=t?n.toPath(t):void 0,i=r?s.toPath(r):void 0;return a&&i?`${a}-jobs-in-${i}`:a?`${a}-jobs`:i?`jobs-in-${i}`:""}}],559486)},232858,e=>{"use strict";var t=e.i(843476),r=e.i(640602);e.s(["Textarea",0,function(e){let{className:a,...n}=e;return(0,t.jsxs)("div",{className:"flex w-full flex-col gap-2",children:[(0,t.jsx)("textarea",{"data-slot":"textarea",className:(0,r.cn)("w-full","min-h-15 px-3 py-2","text-sm","bg-background","rounded-sm","border-input border outline-none","placeholder:text-muted-foreground","hover:border-primary","focus-visible:border-primary focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:border-destructive aria-invalid:focus-visible:ring-destructive/20","disabled:border-border disabled:cursor-not-allowed disabled:opacity-50","transition-[color,box-shadow,border]",a),...n}),void 0!==n.maxLength&&n.maxLength>0&&(0,t.jsxs)("span",{className:"text-muted-foreground text-right text-sm",children:[n.value?n.value.toString().length:0," / ",n.maxLength]})]})}])},307551,e=>{"use strict";var t=e.i(620873);e.i(870165);var r=e.i(238926),a=e.i(266027),n=e.i(861745),s=e.i(601330);e.s(["useCompaniesById",0,function(e){return(0,a.useQuery)({queryKey:[t.TanstackQueryKeys.COMPANIES_BY_ID,e],queryFn:()=>r.companiesService.getById(e),enabled:e.length>0,staleTime:3e5,gcTime:6e5})},"useCompanyAutocomplete",0,function(e,s){let i=(0,n.useLocale)(),l=e?.trim()??"";return(0,a.useQuery)({queryKey:[t.TanstackQueryKeys.COMPANY_AUTOCOMPLETE,l,i],queryFn:()=>r.companiesService.get({locale:i,name:l,limit:50}),enabled:s?.enabled,staleTime:3e5,gcTime:6e5})},"useFollowedCompanies",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{enabled:i=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{page:l=0,limit:o=10}=e,u=(0,n.useLocale)(),{isAuthenticated:c}=(0,s.useAuth)();return(0,a.useQuery)({queryKey:[t.TanstackQueryKeys.FOLLOWED_COMPANIES,l,o,u],queryFn:async()=>await r.companiesService.get({page:l,limit:o,followed:!0,locale:u}),enabled:i??c,staleTime:3e5,gcTime:6e5})},"useFollowedCompanyById",0,e=>{let{isAuthenticated:n}=(0,s.useAuth)();return(0,a.useQuery)({queryKey:[t.TanstackQueryKeys.FOLLOWED_COMPANIES_IDS,{authenticated:n}],queryFn:async()=>new Set(await r.companiesService.getFollowedIds()),select:t=>t.has(e),enabled:n,staleTime:3e5})}],307551)},325147,e=>{"use strict";var t=e.i(948148);e.i(126194),e.i(160646);e.s(["useSafeTranslations",0,function(){let e=(0,t.useTranslations)();return{t:e,safeTranslate:(t,r)=>{var a;return(a=t,e.has(a))?e(t):r||t.split(".").pop()||t}}},"useSafeTranslationsWithNamespace",0,function(e){let r=(0,t.useTranslations)(e);return{t:r,safeTranslate:(e,t)=>
1{var a;return(a=e,r.has(a))?r(e):t||e.split(".").pop()||e}}}])},566347,979931,e=>{"use strict";function t(e){let{urlKeys:t={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function r(a){if(a instanceof Promise)return a.then(e=>r(e));let n=function(e){try{if(e instanceof Request)if(e.url)return new URL(e.url).searchParams;else return new URLSearchParams;if(e instanceof URL)return e.searchParams;if(e instanceof URLSearchParams)return e;if("object"==typeof e){let t=Object.entries(e),r=new URLSearchParams;for(let[e,a]of t)if(Array.isArray(a))for(let t of a)r.append(e,t);else void 0!==a&&r.set(e,a);return r}if("string"==typeof e){if("canParse"in URL&&URL.canParse(e))return new URL(e).searchParams;return new URLSearchParams(e)}}catch(e){}return new URLSearchParams}(a),s={};for(let[r,a]of Object.entries(e)){let e=t[r]??r,i=n.get(e);s[r]=a.parseServerSide(i??void 0)}return s}}e.i(247167),e.i(271645),Symbol("Input");var r=function(){try{if("u"<typeof localStorage)return!1;let e="nuqs-localStorage-test";localStorage.setItem(e,e);let t=localStorage.getItem(e)===e;if(localStorage.removeItem(e),!t)return!1}catch(e){return console.error("[nuqs]: debug mode is disabled (localStorage unavailable).",e),!1}return(localStorage.getItem("debug")??"").includes("nuqs")}();function a(e,t,a){try{return e(t)}catch(e){return!function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),n=1;n<t;n++)a[n-1]=arguments[n];r&&console.warn(e,...a)}("[nuqs] Error while parsing value `%s`: %O"+(a?" (for key `%s`)":""),t,e,a),null}}function n(e){function t(t){if(void 0===t)return null;let r="";if(Array.isArray(t)){if(void 0===t[0])return null;r=t[0]}return"string"==typeof t&&(r=t),a(e.parse,r)}return{eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide:r=>t(r)??e}},withOptions(e){return{...this,...e}}}}var s=n({parse:e=>e,serialize:e=>`${e}`}),i=n({parse:e=>{let t=parseInt(e);return Number.isNaN(t)?null:t},serialize:e=>Math.round(e).toFixed()});n({parse:e=>{let t=i.parse(e);return null===t?null:t-1},serialize:e=>i.serialize(e+1)}),n({parse:e=>{let t=parseInt(e,16);return Number.isNaN(t)?null:t},serialize:e=>{let t=Math.round(e).toString(16);return t.padStart(t.length+t.length%2,"0")}}),n({parse:e=>{let t=parseFloat(e);return Number.isNaN(t)?null:t},serialize:e=>e.toString()});var l=n({parse:e=>"true"===e,serialize:e=>e?"true":"false"});function o(e,t){return e.valueOf()===t.valueOf()}function u(e){if(0===e.size)return"";let t=[];for(let[r,a]of e.entries()){let e=r.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${a.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/[\x00-\x1F]/g,e=>encodeURIComponent(e))}`)}return"?"+t.join("&")}function c(e){let{clearOnDefault:t=!0,urlKeys:r={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(a){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},[s,i]=d(a)?function(e){if("string"==typeof e){let[t="",...r]=e.split("?");return[t,new URLSearchParams(r.join("?"))]}return e instanceof URLSearchParams?["",new URLSearchParams(e)]:[e.origin+e.pathname,new URLSearchParams(e.searchParams)]}(a):["",new URLSearchParams],l=d(a)?n:a;if(null===l){for(let t in e){let e=r[t]??t;i.delete(e)}return s+u(i)}for(let a in e){let n=e[a],s=l[a];if(!n||void 0===s)continue;let o=r[a]??a,u=void 0!==n.defaultValue&&(n.eq??((e,t)=>e===t))(s,n.defaultValue);null===s||(n.clearOnDefault??t??!0)&&u?i.delete(o):i.set(o,n.serialize(s))}return s+u(i)}}function d(e){return"string"==typeof e||e instanceof URLSearchParams||e instanceof URL}n({parse:e=>{let t=parseInt(e);return Number.isNaN(t)?null:new Date(t)},serialize:e=>e.valueOf().toString(),eq:o}),n({parse:e=>{let t=new Date(e);return Number.isNaN(t.valueOf())?null:t},serialize:e=>e.toISOString(),eq:o}),n({parse:e=>{let t=new Date(e.slice(0,10));return Number.isNaN(t.valueOf())?null:t},serialize:e=>e.toISOString().slice(0,10),eq:o}
1),e.s(["createLoader",0,t,"createSerializer",0,c,"parseAsArrayOf",0,function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",r=e.eq??((e,t)=>e===t),s=encodeURIComponent(t);return n({parse:r=>""===r?[]:r.split(t).map((r,n)=>a(e.parse,r.replaceAll(s,t),`[${n}]`)).filter(e=>null!=e),serialize:r=>r.map(r=>(e.serialize?e.serialize(r):String(r)).replaceAll(t,s)).join(t),eq:(e,t)=>e===t||e.length===t.length&&e.every((e,a)=>r(e,t[a]))})},"parseAsBoolean",0,l,"parseAsInteger",0,i,"parseAsString",0,s,"parseAsStringEnum",0,function(e){return n({parse:t=>e.includes(t)?t:null,serialize:e=>e.toString()})}],979931);let p=e=>Object.fromEntries(Object.entries(e).map(e=>{let[t,r]=e;return[t,r.parser]}));e.s(["createFilterLoader",0,e=>t(p(e)),"createFilterSerializer",0,e=>c(p(e)),"getFilterParsers",0,p],566347)},34178,e=>{"use strict";var t,r,a=e.i(566347),n=e.i(979931);e.i(559486);var s=((t={}).ASC="asc",t.DESC="desc",t),i=((r={}).RELEVANCE="relevance",r.PUBLISHED_AT="publishedAt",r);let l={PAGE:0,LIMIT:50,ORDER_BY:"relevance",ORDER_DIR:"desc"},o={location:{name:"location",parser:n.parseAsString.withDefault(""),urlKey:"loc"},title:{name:"title",parser:n.parseAsString.withDefault(""),urlKey:"q"},category:{name:"category",parser:(0,n.parseAsArrayOf)(n.parseAsString).withDefault([]),options:[],urlKey:"cat"},industry:{name:"industry",parser:(0,n.parseAsArrayOf)(n.parseAsString).withDefault([]),options:[],urlKey:"ind"},occupationType:{name:"occupation_type",parser:(0,n.parseAsArrayOf)(n.parseAsString).withDefault([]),options:[],urlKey:"occ"},event:{name:"event",parser:(0,n.parseAsArrayOf)(n.parseAsString).withDefault([]),options:[],urlKey:"ev"},seniority:{name:"seniority_level",parser:(0,n.parseAsArrayOf)(n.parseAsString).withDefault([]),options:[],urlKey:"sen"},remote:{name:"remote_work",parser:n.parseAsBoolean.withDefault(!1),urlKey:"rem"},company:{name:"company",parser:(0,n.parseAsArrayOf)(n.parseAsString).withDefault([]),options:[],urlKey:"comp"},salary:{name:"gross_salary",parser:n.parseAsBoolean.withDefault(!1),urlKey:"sal"},page:{name:"page",parser:n.parseAsInteger.withDefault(l.PAGE),urlKey:"p"},limit:{name:"limit",parser:n.parseAsInteger.withDefault(l.LIMIT),urlKey:"l"},orderBy:{name:"orderBy",parser:(0,n.parseAsStringEnum)(Object.values(i)).withDefault(l.ORDER_BY),urlKey:"o"},orderDir:{name:"orderDir",parser:(0,n.parseAsStringEnum)(Object.values(s)).withDefault(l.ORDER_DIR),urlKey:"od"}},u=(0,a.createFilterSerializer)(o),c=["page","limit","orderBy","orderDir"],d=Object.keys(o).filter(e=>!c.includes(e));e.s(["JOBS_PAGINATION_DEFAULTS",0,l,"OrderBy",()=>i,"OrderDirection",()=>s,"badgeKeys",0,d,"getActiveFilters",0,function(e){return Object.fromEntries(Object.entries(e).filter(e=>{let[t]=e;return!c.includes(t)}).filter(e=>{let[t,r]=e;if(null==r)return!1;let a=o[t];if(!a)return!1;let n=a.parser.defaultValue;return Array.isArray(r)?r.length>0&&JSON.stringify(r)!==JSON.stringify(n):"boolean"==typeof r?r!==n:"string"==typeof r?""!==r.trim()&&r!==n:r!==n}))},"jobFiltersConfig",0,o,"paginationKeys",0,c,"serializeJobFilters",0,u])},31746,e=>{"use strict";var t=e.i(809803),r=e.i(559486),a=e.i(34178),n=e.i(916788);e.s(["buildJobSearchUrl",0,function(e,s){let i=e.category&&1===e.category.length,l=t.PublicRoutes.JOBS,o=e.location?r.JobsPathHelper.addFilter(l,"location",e.location):l;i&&(o=r.JobsPathHelper.addFilter(o,"category",e.category?.[0]??""));let u=(0,a.serializeJobFilters)(o,{...e,...i?{category:void 0}:{},location:void 0,page:e.page&&e.page>1?e.page:void 0,orderDir:e.title?e.orderDir:void 0,orderBy:e.title?e.orderBy:void 0});if(!s?.trigger)return u;let c=u.includes("?")?"&":"?",d=new URLSearchParams({[n.SearchParams.TRIGGER]:s.trigger});return`${u}${c}${d.toString()}`}])},959411,e=>{"use strict";var t=e.i(271645),r=e.i(39275),a=e.i(843476),n=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),s=t.forwardRef((e,t)=>(0,a.jsx)(r.Primitive.span,{...e,ref:t,style:{...n,...e.style}}));s.displayName="VisuallyHidden",e.s(["Root",0,s,"VISUALLY_HIDDEN_STYLES",0,n])},211436,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(981140),n=e.i(820783),s=e.i(30030),i=e.i(726330),l=e.i(610772),o=e.i(853660),u=e.i(774606),c=e.i(296626),d=e.i(39275),p=e.i(991918),g=e.i(369340),f=e.i(959411),[h,m]=(0,s.createContextScope)("Tooltip",[o.createPopperScope]),v=(0,o.createPopperScope)(),b="TooltipProvider",y="tooltip.open",[x,C]=h(b),S=e=>{let{__scopeTooltip:a,delayDuration:n=700,skipDelayDuration:s=300,disableHoverableContent:i=!1,children:l}=e,o=r.useRef(!0),u=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>
1{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,t.jsx)(x,{scope:a,isOpenDelayedRef:o,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,s)},[s]),isPointerInTransitRef:u,onPointerInTransitChange:r.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:l})};S.displayName=b;var E="Tooltip",[N,A]=h(E),I=e=>{let{__scopeTooltip:a,children:n,open:s,defaultOpen:i,onOpenChange:u,disableHoverableContent:c,delayDuration:d}=e,p=C(E,e.__scopeTooltip),f=v(a),[h,m]=r.useState(null),b=(0,l.useId)(),x=r.useRef(0),S=c??p.disableHoverableContent,A=d??p.delayDuration,I=r.useRef(!1),[T,j]=(0,g.useControllableState)({prop:s,defaultProp:i??!1,onChange:e=>{e?(p.onOpen(),document.dispatchEvent(new CustomEvent(y))):p.onClose(),u?.(e)},caller:E}),w=r.useMemo(()=>T?I.current?"delayed-open":"instant-open":"closed",[T]),R=r.useCallback(()=>{window.clearTimeout(x.current),x.current=0,I.current=!1,j(!0)},[j]),O=r.useCallback(()=>{window.clearTimeout(x.current),x.current=0,j(!1)},[j]),L=r.useCallback(()=>{window.clearTimeout(x.current),x.current=window.setTimeout(()=>{I.current=!0,j(!0),x.current=0},A)},[A,j]);return r.useEffect(()=>()=>{x.current&&(window.clearTimeout(x.current),x.current=0)},[]),(0,t.jsx)(o.Root,{...f,children:(0,t.jsx)(N,{scope:a,contentId:b,open:T,stateAttribute:w,trigger:h,onTriggerChange:m,onTriggerEnter:r.useCallback(()=>{p.isOpenDelayedRef.current?L():R()},[p.isOpenDelayedRef,L,R]),onTriggerLeave:r.useCallback(()=>{S?O():(window.clearTimeout(x.current),x.current=0)},[O,S]),onOpen:R,onClose:O,disableHoverableContent:S,children:n})})};I.displayName=E;var T="TooltipTrigger",j=r.forwardRef((e,s)=>{let{__scopeTooltip:i,...l}=e,u=A(T,i),c=C(T,i),p=v(i),g=r.useRef(null),f=(0,n.useComposedRefs)(s,g,u.onTriggerChange),h=r.useRef(!1),m=r.useRef(!1),b=r.useCallback(()=>h.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",b),[b]),(0,t.jsx)(o.Anchor,{asChild:!0,...p,children:(0,t.jsx)(d.Primitive.button,{"aria-describedby":u.open?u.contentId:void 0,"data-state":u.stateAttribute,...l,ref:f,onPointerMove:(0,a.composeEventHandlers)(e.onPointerMove,e=>{"touch"!==e.pointerType&&(m.current||c.isPointerInTransitRef.current||(u.onTriggerEnter(),m.current=!0))}),onPointerLeave:(0,a.composeEventHandlers)(e.onPointerLeave,()=>{u.onTriggerLeave(),m.current=!1}),onPointerDown:(0,a.composeEventHandlers)(e.onPointerDown,()=>{u.open&&u.onClose(),h.current=!0,document.addEventListener("pointerup",b,{once:!0})}),onFocus:(0,a.composeEventHandlers)(e.onFocus,()=>{h.current||u.onOpen()}),onBlur:(0,a.composeEventHandlers)(e.onBlur,u.onClose),onClick:(0,a.composeEventHandlers)(e.onClick,u.onClose)})})});j.displayName=T;var w="TooltipPortal",[R,O]=h(w,{forceMount:void 0}),L=e=>{let{__scopeTooltip:r,forceMount:a,children:n,container:s}=e,i=A(w,r);return(0,t.jsx)(R,{scope:r,forceMount:a,children:(0,t.jsx)(c.Presence,{present:a||i.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:s,children:n})})})};L.displayName=w;var k="TooltipContent",_=r.forwardRef((e,r)=>{let a=O(k,e.__scopeTooltip),{forceMount:n=a.forceMount,side:s="top",...i}=e,l=A(k,e.__scopeTooltip);return(0,t.jsx)(c.Presence,{present:n||l.open,children:l.disableHoverableContent?(0,t.jsx)(U,{side:s,...i,ref:r}):(0,t.jsx)(F,{side:s,...i,ref:r})})}),F=r.forwardRef((e,a)=>{let s=A(k,e.__scopeTooltip),i=C(k,e.__scopeTooltip),l=r.useRef(null),o=(0,n.useComposedRefs)(a,l),[u,c]=r.useState(null),{trigger:d,onClose:p}=s,g=l.current,{onPointerInTransitChange:f}=i,h=r.useCallback(()=>{c(null),f(!1)},[f]),m=r.useCallback((e,t)=>{let r,a=e.currentTarget,n={x:e.clientX,y:e.clientY},s=function(e,t){let r=Math.abs(t.top-e.y),a=Math.abs(t.bottom-e.y),n=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,a,n,s)){case s:return"left";case n:return"right";case r:return"top";case a:return"bottom";default:throw Error("unreachable")}}(n,a.getBoundingClientRect());c(((r=[...function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,a=[];switch(t){case"top":a.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":a.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":a.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":a.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r})}return a}
1(n,s),...function(e){let{top:t,right:r,bottom:a,left:n}=e;return[{x:n,y:t},{x:r,y:t},{x:r,y:a},{x:n,y:a}]}(t.getBoundingClientRect())].slice()).sort((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:1*!!(e.y>t.y)),function(e){if(e.length<=1)return e.slice();let t=[];for(let r=0;r<e.length;r++){let a=e[r];for(;t.length>=2;){let e=t[t.length-1],r=t[t.length-2];if((e.x-r.x)*(a.y-r.y)>=(e.y-r.y)*(a.x-r.x))t.pop();else break}t.push(a)}t.pop();let r=[];for(let t=e.length-1;t>=0;t--){let a=e[t];for(;r.length>=2;){let e=r[r.length-1],t=r[r.length-2];if((e.x-t.x)*(a.y-t.y)>=(e.y-t.y)*(a.x-t.x))r.pop();else break}r.push(a)}return(r.pop(),1===t.length&&1===r.length&&t[0].x===r[0].x&&t[0].y===r[0].y)?t:t.concat(r)}(r))),f(!0)},[f]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(d&&g){let e=e=>m(e,g),t=e=>m(e,d);return d.addEventListener("pointerleave",e),g.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),g.removeEventListener("pointerleave",t)}}},[d,g,m,h]),r.useEffect(()=>{if(u){let e=e=>{let t=e.target,r={x:e.clientX,y:e.clientY},a=d?.contains(t)||g?.contains(t),n=!function(e,t){let{x:r,y:a}=e,n=!1;for(let e=0,s=t.length-1;e<t.length;s=e++){let i=t[e],l=t[s],o=i.x,u=i.y,c=l.x,d=l.y;u>a!=d>a&&r<(c-o)*(a-u)/(d-u)+o&&(n=!n)}return n}(r,u);a?h():n&&(h(),p())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[d,g,u,p,h]),(0,t.jsx)(U,{...e,ref:o})}),[P,M]=h(E,{isInside:!1}),D=(0,p.createSlottable)("TooltipContent"),U=r.forwardRef((e,a)=>{let{__scopeTooltip:n,children:s,"aria-label":l,onEscapeKeyDown:u,onPointerDownOutside:c,...d}=e,p=A(k,n),g=v(n),{onClose:h}=p;return r.useEffect(()=>(document.addEventListener(y,h),()=>document.removeEventListener(y,h)),[h]),r.useEffect(()=>{if(p.trigger){let e=e=>{let t=e.target;t?.contains(p.trigger)&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[p.trigger,h]),(0,t.jsx)(i.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,t.jsxs)(o.Content,{"data-state":p.stateAttribute,...g,...d,ref:a,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,t.jsx)(D,{children:s}),(0,t.jsx)(P,{scope:n,isInside:!0,children:(0,t.jsx)(f.Root,{id:p.contentId,role:"tooltip",children:l||s})})]})})});_.displayName=k;var z="TooltipArrow",G=r.forwardRef((e,r)=>{let{__scopeTooltip:a,...n}=e,s=v(a);return M(z,a).isInside?null:(0,t.jsx)(o.Arrow,{...s,...n,ref:r})});G.displayName=z;var q=e.i(640602);function B(e){let{delayDuration:r=0,...a}=e;return(0,t.jsx)(S,{"data-slot":"tooltip-provider",delayDuration:r,...a})}e.s(["Tooltip",0,function(e){let{...r}=e;return(0,t.jsx)(B,{children:(0,t.jsx)(I,{"data-slot":"tooltip",...r})})},"TooltipContent",0,function(e){let{className:r,sideOffset:a=0,children:n,...s}=e;return(0,t.jsx)(L,{children:(0,t.jsxs)(_,{"data-slot":"tooltip-content",sideOffset:a,className:(0,q.cn)("z-50 w-fit","max-w-sm","px-3 py-1.5","text-xs leading-normal","bg-secondary-foreground text-secondary rounded-xs","animate-in fade-in-0 zoom-in-95","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95","data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2","data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",r),...s,children:[n,(0,t.jsx)(G,{className:(0,q.cn)("z-50","size-2.5","bg-secondary-foreground fill-secondary-foreground rounded-[2px]","translate-y-[calc(-50%_-_1px)] rotate-45")})]})})},"TooltipTrigger",0,function(e){let{...r}=e;return(0,t.jsx)(j,{"data-slot":"tooltip-trigger",...r})}],211436)},162663,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(981140),n=e.i(820783),s=e.i(30030),i=e.i(369340),l=e.i(999682),o=e.i(635804),u=e.i(39275),c="Switch",[d,p]=(0,s.createContextScope)(c),[g,f]=d(c),h=r.forwardRef((e,s)=>{let{__scopeSwitch:l,name:o,checked:d,defaultChecked:p,required:f,disabled:h,value:m="on",onCheckedChange:v,form:x,...C}=e,[S,E]=r.useState(null),N=(0,n.useComposedRefs)(s,e=>E(e)),A=r.useRef(!1),I=!S||x||!!S.closest("form"),[T,j]=(0,i.useControllableState)({prop:d,defaultProp:p??!1,onChange:v,caller:c});return(0,t.jsxs)(g,{scope:l,checked:T,disabled:h,children:[(0,t.jsx)(u.Primitive.button,{type:"button",role:"switch","aria-checked":T,"aria-required":f,"data-state":y(T),"data-disabled":h?"":void 0,disabled:h,value:m,...C,ref:N,onClick:(0,a.composeEventHandlers)(e.onClick,e=>{j(e=>!e),I&&(A.current=e.isPropagationStopped(),A.current||e.stopPropagation())})}),I&&(0,t.jsx)(b,{control:S,bubbles:!A.current,name:o,value:m,checked:T,required:f,disabled:h,form:x,style:{transform:"translateX(-100%)"}})]})});h.displayName=c;var m="SwitchThumb",v=r.forwardRef((e,r)=>{let{__scopeSwitch:a,...n}=e,s=f(m,a);return(0,t.jsx)(u.Primitive.span,{"data-state":y(s.checked),"data-disabled":s.disabled?"":void 0,...n,ref:r})});v.displayName=m;var b=r.forwardRef((e,a)=>{let{__scopeSwitch:s,control:i,checked:u,bubbles:c=!0,...d}=e,p=r.useRef(null),g=(0,n.useComposedRefs)(p,a),f=(0,l.usePrevious)(u),h=(0,o.useSize)(i);return r.useEffect(()=>{let e=p.current;if(!e)return;let t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(f!==u&&t){let r=new Event("click",{bubbles:c});t.call(e,u),e.dispatchEvent(r)}},[f,u,c]),(0,t.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:u,...d,tabIndex:-1,ref:g,style:{...d.style,...h,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function y(e){return e?"checked":"unchecked"}b.displayName="SwitchBubbleInput";var x=e.i(640602),C=e.i(211436);let S={default:(0,x.cn)("data-[state=checked]:bg-primary"),gradient:(0,x.cn)("data-[state=checked]:bg-[linear-gradient(var(--main-gradient))] data-[state=checked]:bg-origin-border")};e.s(["Switch",0,function(e){let{className:r,label:a,description:n,disabledTooltip:s,id:i="switch",box:l=!1,color:o="default",loading:u=!1,...c}=e;return(0,t.jsxs)("div",{className:(0,x.cn)("pointer-events-none flex items-start gap-3",l&&["rounded-lg border p-4","has-[[data-state=checked]]:border-primary",!c.disabled&&["hover:bg-accent hover:border-primary","has-focus-visible:bg-focus-background has-focus-visible:border-primary has-focus-visible:ring-ring/20 outline-none has-focus-visible:ring-[3px]"],c.disabled&&"cursor-not-allowed opacity-50"],r),children:[(0,t.jsxs)("label",{className:"pointer-events-auto flex flex-col gap-1",htmlFor:i,children:[a&&(0,t.jsx)("span",{className:"text-foreground text-sm leading-normal font-medium",children:a}),n&&(0,t.jsx)("span",{className:"text-muted-foreground text-xs leading-normal",children:n})]}),(0,t.jsxs)(C.Tooltip,{open:!!c.disabled&&!!s&&void 0,children:[(0,t.jsx)(C.TooltipTrigger,{asChild:!0,children:(0,t.jsx)("div",{className:"pointer-events-auto relative h-5 w-9 flex-shrink-0",children:(0,t.jsx)(h,{"data-slot":"switch",id:i,className:(0,x.cn)("group/switch outline-none","h-full w-full","rounded-full border-2 border-transparent","bg-input",S[o],"focus-visible:data-[state=unchecked]:border-primary","focus-visible:data-[state=checked]:border-ring-offset","focus-visible:ring-ring/20 focu
1s-visible:border-1 focus-visible:ring-[3px]","disabled:cursor-not-allowed disabled:opacity-50",u&&"pointer-events-none"),disabled:u||c.disabled,...c,children:(0,t.jsx)(v,{"data-slot":"switch-thumb",className:(0,x.cn)("block size-4 rounded-full","focus-visible:border-primary focus-visible:border-1","group-enabled/switch:group-hover/switch:data-[state=unchecked]:border-primary","group-enabled/switch:group-hover/switch:data-[state=unchecked]:border-1","bg-background","group-enabled/switch:group-hover/switch:bg-accent","transition-transform data-[state=checked]:translate-x-full")})})})}),(0,t.jsx)(C.TooltipContent,{children:s})]})]})}],162663)},720482,e=>{"use strict";var t,r=e.i(511474);function a(e,t,a){try{return e(t)}catch(e){return(0,r.warn)("[nuqs] Error while parsing value `%s`: %O"+(a?" (for key `%s`)":""),t,e,a),null}}var n=function(){if("u"<typeof window||!window.GestureEvent)return 50;try{let e=navigator.userAgent?.match(/version\/([\d\.]+) safari/i);return parseFloat(e[1])>=17?120:320}catch{return 320}}(),s=new Map,i={history:"replace",scroll:!1,shallow:!0,throttleMs:n},l=new Set,o=0,u=null;function c(e,t,a,o){let u=null===t?null:a(t);return(0,r.debug)("[nuqs queue] Enqueueing %s=%s %O",e,u,o),s.set(e,u),"pu
1sh"===o.history&&(i.history="push"),o.scroll&&(i.scroll=!0),!1===o.shallow&&(i.shallow=!1),o.startTransition&&l.add(o.startTransition),i.throttleMs=Math.max(o.throttleMs??n,Number.isFinite(i.throttleMs)?i.throttleMs:0),u}function d(){return new URLSearchParams(location.search)}function p(e){let{getSearchParamsSnapshot:t=d,updateUrl:a,rateLimitFactor:c=1}=e;return null===u&&(u=new Promise((e,d)=>{if(!Number.isFinite(i.throttleMs)){(0,r.debug)("[nuqs queue] Skipping flush due to throttleMs=Infinity"),e(t()),setTimeout(()=>{u=null},0);return}function p(){o=performance.now();let[c,p]=function(e){let{updateUrl:t,getSearchParamsSnapshot:a}=e,o=a();if(0===s.size)return[o,null];let u=Array.from(s.entries()),c={...i},d=Array.from(l);for(let[e,t]of(s.clear(),l.clear(),i.history="replace",i.scroll=!1,i.shallow=!0,i.throttleMs=n,(0,r.debug)("[nuqs queue] Flushing queue %O with options %O",u,c),u))null===t?o.delete(e):o.set(e,t);try{var p,g;let e;return p=d,g=()=>{t(o,{history:c.history,scroll:c.scroll,shallow:c.shallow})},(e=t=>
1{if(t===p.length)return g();let r=p[t];if(!r)throw Error("Invalid transition function");r(()=>e(t+1))})(0),[o,null]}catch(e){return console.error((0,r.error)(429),u.map(e=>{let[t]=e;return t}).join(),e),[o,e]}}({updateUrl:a,getSearchParamsSnapshot:t});null===p?e(c):d(c),u=null}setTimeout(function(){let e=performance.now()-o,t=i.throttleMs,a=c*Math.max(0,Math.min(t,t-e));(0,r.debug)("[nuqs queue] Scheduling flush in %f ms. Throttled at %f ms",a,t),0===a?p():setTimeout(p,a)},0)})),u}var g=e.i(271645);function f(e){function t(t){if(void 0===t)return null;let r="";if(Array.isArray(t)){if(void 0===t[0])return null;r=t[0]}return"string"==typeof t&&(r=t),a(e.parse,r)}return{eq:(e,t)=>e===t,...e,parseServerSide:t,withDefault(e){return{...this,defaultValue:e,parseServerSide:r=>t(r)??e}},withOptions(e){return{...this,...e}}}}f({parse:e=>e,serialize:e=>`${e}`});var h=f({parse:e=>{let t=parseInt(e);return Number.isNaN(t)?null:t},serialize:e=>Math.round(e).toFixed()});function m(e,t){return e.valueOf()===t.valueOf()}f({parse:e=>{let t=h.parse(e);return null===t?null:t-1},serialize:e=>h.serialize(e+1)}),f({parse:e=>{let t=parseInt(e,16);return Number.isNaN(t)?null:t},serialize:e=>{let t=Math.round(e).toString(16);return t.padStart(t.length+t.length%2,"0")}}),f({parse:e=>{let t=parseFloat(e);return Number.isNaN(t)?null:t},serialize:e=>e.toString()}),f({parse:e=>"true"===e,serialize:e=>e?"true":"false"}),f({parse:e=>{let t=parseInt(e);return Number.isNaN(t)?null:new Date(t)},serialize:e=>e.valueOf().toString(),eq:m}),f({parse:e=>{let t=new Date(e);return Number.isNaN(t.valueOf())?null:t},serialize:e=>e.toISOString(),eq:m}),f({parse:e=>{let t=new Date(e.slice(0,10));return Number.isNaN(t.valueOf())?null:t},serialize:e=>e.toISOString().slice(0,10),eq:m});var v={all:t=t||new Map,on:function(e,r){var a=t.get(e);a?a.push(r):t.set(e,[r])},off:function(e,r){var a=t.get(e);a&&(r?a.splice(a.indexOf(r)>>>0,1):t.set(e,[]))},emit:function(e,r){var a=t.get(e);a&&a.slice().map(function(e){e(r)}),(a=t.get("*"))&&a.slice().map(function(t){t(e,r)})}},b={};function y(e,t,r,n,i){let l=!1,o=Object.keys(e).reduce((o,u)=>{let c=t?.[u]??u,{parse:d}=e[u],p=s.get(c),g=void 0===p?r?.get(c)??null:p;if(n&&i&&(n[c]??null)===g)return o[u]=i[u]??null,o;l=!0;let f=null===g?null:a(d,g,u);return o[u]=f??null,n&&(n[c]=g),o},{});if(!l){let t=Object.keys(e),r=Object.keys(i??{});l=t.length!==r.length||t.some(e=>!r.includes(e))}return{state:o,hasChanged:l}}function x(e,t){return Object.fromEntries(Object.keys(e).map(r=>[r,e[r]??t[r]??null]))}e.s(["parseAsInteger",0,h,"parseAsStringEnum",0,function(e){return f({parse:t=>e.includes(t)?t:null,serialize:e=>e.toString()})},"useQueryState",0,function(e){let{history:t="replace",shallow:i=!0,scroll:l=!1,throttleMs:o=n,parse:u=e=>e,serialize:d=String,eq:f=(e,t)=>e===t,defaultValue:h,clearOnDefault:m=!0,startTransition:b}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{history:"replace",scroll:!1,shallow:!0,throttleMs:n,parse:e=>e,serialize:String,eq:(e,t)=>e===t,clearOnDefault:!0,defaultValue:void 0},y=(0,r.useAdapter)(),x=y.searchParams,C=(0,g.useRef)(x?.get(e)??null),[S,E]=(0,g.useState)(()=>{let t=s.get(e),r=void 0===t?x?.get(e)??null:t;return null===r?null:a(u,r,e)}),N=(0,g.useRef)(S);(0,r.debug)("[nuqs `%s`] render - state: %O, iSP: %s",e,S,x?.get(e)??null),(0,g.useEffect)(()=>{let t=x?.get(e)??null;if(t===C.current)return;let n=null===t?null:a(u,t,e);(0,r.debug)("[nuqs `%s`] syncFromUseSearchParams %O",e,n),N.current=n,C.current=t,E(n)},[x?.get(e),e]),(0,g.useEffect)(()=>{function t(t){let{state:a,query:n}=t;(0,r.debug)("[nuqs `%s`] updateInternalState %O",e,a),N.current=a,C.current=n,E(a)}return(0,r.debug)("[nuqs `%s`] subscribing to sync",e),v.on(e,t),()=>{(0,r.debug)("[nuqs `%s`] unsubscribing from sync",e),v.off(e,t)}},[e]);let A=(0,g.useCallback)(function(r){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="function"==typeof r?r(N.current??h??null):r;(a.clearOnDefault??m)&&null!==n&&void 0!==h&&f(n,h)&&(n=null);let s=c(e,n,d,{history:a.history??t,shallow:a.shallow??i,scroll:a.scroll??l,throttleMs:a.throttleMs??o,startTransition:a.startTransition??b});return v.emit(e,{state:n,query:s}),p(y)}
1,[e,t,i,l,o,b,y.updateUrl,y.getSearchParamsSnapshot,y.rateLimitFactor]);return[S??h??null,A]},"useQueryStates",0,function(e){let{history:t="replace",scroll:a=!1,shallow:s=!0,throttleMs:i=n,clearOnDefault:l=!0,startTransition:o,urlKeys:u=b}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},d=Object.keys(e).join(","),f=(0,g.useMemo)(()=>Object.fromEntries(Object.keys(e).map(e=>[e,u[e]??e])),[d,JSON.stringify(u)]),h=(0,r.useAdapter)(),m=h.searchParams,C=(0,g.useRef)({}),S=(0,g.useMemo)(()=>Object.fromEntries(Object.keys(e).map(t=>[t,e[t].defaultValue??null])),[Object.values(e).map(e=>{let{defaultValue:t}=e;return t}).join(",")]),[E,N]=(0,g.useState)(()=>y(e,u,m??new URLSearchParams).state),A=(0,g.useRef)(E);if((0,r.debug)("[nuq+ `%s`] render - state: %O, iSP: %s",d,E,m),Object.keys(C.current).join("&")!==Object.values(f).join("&")){let{state:t,hasChanged:r}=y(e,u,m,C.current,A.current);r&&(A.current=t,N(t)),C.current=Object.fromEntries(Object.values(f).map(e=>[e,m?.get(e)??null]))}(0,g.useEffect)(()=>{let{state:t,hasChanged:r}=y(e,u,m,C.current,A.current);r&&(A.current=t,N(t))},[Object.values(f).map(e=>`${e}=${m?.get(e)}`).join("&")]),(0,g.useEffect)(()=>{let t=Object.keys(e).reduce((t,a)=>(t[a]=t=>{var n;let{state:s,query:i}=t,{defaultValue:l}=e[a],o=f[a];A.current={...A.current,[a]:s??l??null},C.current[o]=i,(0,r.debug)("[nuq+ `%s`] Cross-hook key sync %s: %O (default: %O). Resolved: %O",d,o,s,l,A.current),n=A.current,(0,r.debug)("[nuq+ `%s`] updateInternalState %O",d,n),A.current=n,N(n)},t),{});for(let a of Object.keys(e)){let e=f[a];(0,r.debug)("[nuq+ `%s`] Subscribing to sync for `%s`",d,e),v.on(e,t[a])}return()=>{for(let a of Object.keys(e)){let e=f[a];(0,r.debug)("[nuq+ `%s`] Unsubscribing to sync for `%s`",d,e),v.off(e,t[a])}}},[d,f]);let I=(0,g.useCallback)(function(n){let u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=Object.fromEntries(Object.keys(e).map(e=>[e,null])),m="function"==typeof n?n(x(A.current,S))??g:n??g;for(let[n,p]of((0,r.debug)("[nuq+ `%s`] setState: %O",d,m),Object.entries(m))){let r=e[n],d=f[n];if(!r)continue;(u.clearOnDefault??r.clearOnDefault??l)&&null!==p&&void 0!==r.defaultValue&&(r.eq??((e,t)=>e===t))(p,r.defaultValue)&&(p=null);let g=c(d,p,r.serialize??String,{history:u.history??r.history??t,shallow:u.shallow??r.shallow??s,scroll:u.scroll??r.scroll??a,throttleMs:u.throttleMs??r.throttleMs??i,startTransition:u.startTransition??r.startTransition??o});v.emit(d,{state:p,query:g})}return p(h)},[d,t,s,a,i,o,f,h.updateUrl,h.getSearchParamsSnapshot,h.rateLimitFactor,S]);return[(0,g.useMemo)(()=>x(E,S),[E,S]),I]}],720482)},635454,e=>{"use strict";var t=e.i(843476),r=e.i(296556),a=e.i(660022),n=e.i(640602),s=e.i(884378);e.s(["FilterWrapper",0,function(e){let{title:i,children:l,showClearAll:o=!0,isNoneSelected:u=!0,onClearAll:c,disabled:d=!1,className:p=""}=e;return(0,t.jsxs)("div",{className:(0,n.cn)("border-b-sidebar bg-background flex flex-col gap-6 rounded-xs border-b px-4 py-6",p),children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsx)("div",{className:"flex items-center gap-3",children:(0,t.jsx)(r.default,{variant:"h5",children:i})}),(0,t.jsx)("div",{className:"flex items-center gap-2",children:o&&!u&&c&&(0,t.jsx)(a.Button,{variant:"ghost",size:"icon",onClick:c,disabled:d,children:(0,t.jsx)(s.Icon,{name:"FilterX",className:"text-destructive"})})})]}),(0,t.jsx)("div",{className:d?"pointer-events-none opacity-50":"",children:l})]})}])},478139,587819,308442,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(660022),n=e.i(296556),s=e.i(948148),i=e.i(640602),l=e.i(522076),o=e.i(885857);function u(e){let{disabled:a,isChecked:n,onCheckedChange:s,href:u,className:c,indexable:d,children:p}=e,g=(0,r.useId)(),f=()=>{a||s?.(!n)};return(0,t.jsxs)("div",{className:(0,i.cn)("flex flex-1 items-center gap-2",c),children:[(0,t.jsx)(l.Checkbox,{checked:n,onCheckedChange:()=>f(),disabled:a,"aria-labelledby":g}),(0,t.jsx)(o.Link,{id:g,href:u,tabIndex:-1,onClick:e=>{e.preventDefault(),f()},onKeyDown:e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),f())},...!d&&{rel:"nofollow"},className:(0,i.cn)("hover:text-primary flex flex-1 cursor-pointer items-center justify-between gap-1 text-sm capitalize",a&&"cursor-not-allowed opacity-50"),prefetch:!1,children:p})]})}e.s(["FilterCheckboxItem",0,u],587819),e.s(["CheckboxGroupFilter",0,function(e){let{options:i,value:l=[],onChange:o,disabled:c=!1,maxInitialItems:d=0,showMoreText:p,showLessText:g,showCounts:f=!1}=e,h=(0,s.useTranslations)("components.checkbox-group-filter"),m=(0,r.useRef)(null),[v,b]=(0,r.useState)(!1),y=p??h("show-more"),x=g??h("show-less"),C=d>0&&i.length>d,S=C&&!v?i.slice(0,d):i;return(0,t.jsxs)("div",{className:"flex scroll-m-36 flex-col gap-6",ref:m,children:[(0,t.jsx)("div",{className:"flex flex-col gap-3",children:S.map(e=>{let r=l.includes(e.value);return(0,t.jsxs)(u,{isChecked:r,href:e.href,indexable:e.indexable,onCheckedChange:t=>{var r;return r=e.value,void o(t?[...l,r]:l.filter(e=>e!==r))},disabled:e.disabled,children:[(0,t.jsx)("span",{children:e.label}),f&&void 0!==e.count&&(0,t.jsxs)(n.default,{variant:"muted",children:["(",e.count,")"]})]},`checkbox-${e.value}`)})}),C&&(0,t.jsx)(a.Button,{variant:"ghost",size:"sm",onClick:()=>{let e=!v;b(e),e||requestAnimationFrame(()=>{m.current?.scrollIntoView({behavior:"smooth",block:"start"})})}
1,disabled:c,children:v?(0,t.jsx)(t.Fragment,{children:x}):(0,t.jsx)(t.Fragment,{children:y})})]})}],478139),e.s(["useSelectionState",0,function(e,t){return(0,r.useMemo)(()=>{let r=t.map(e=>e.value),a=e.length===t.length&&t.length>0,n=0===e.length,s=e.length;return{allValues:r,isAllSelected:a,isNoneSelected:n,hasPartialSelection:s>0&&!a,selectionCount:s,selectionPercentage:t.length>0?Math.round(s/t.length*100):0}},[e,t])}],308442)},12985,e=>{"use strict";var t=e.i(578019),r=(0,e.i(511474).createAdapterProvider)(t.useNuqsNextAppRouterAdapter);e.s(["NuqsAdapter",0,r])},260614,e=>{"use strict";var t=e.i(777291);e.s(["getLocationLabel",0,(e,r)=>{let a=(e,t)=>e||t?[e,t].filter(Boolean).join(" - "):"";return r!==t.Locales.EN?a(e.cityLocale,e.prefectureLocale):a(e.city,e.prefecture)}])},364623,e=>{"use strict";var t=e.i(720482),r=e.i(34178),a=e.i(566347),n=e.i(559486),s=e.i(31746),i=e.i(885857),l=e.i(618566);let o=["category","remote","company","industry","occupationType","seniority","salary","event"];e.s(["useJobFilters",0,function(){let{slug:e}=(0,l.useParams)(),u=(0,i.useRouter)(),{category:c,location:d}=n.JobsPathHelper.parse(e),[p]=(0,t.useQueryStates)((0,a.getFilterParsers)(r.jobFiltersConfig),{history:"push",shallow:!1,throttleMs:300,clearOnDefault:!0}),g={...p,...c?{category:c}:{},...d?{location:d}:{}},f=e=>g[e]??r.jobFiltersConfig[e].parser.defaultValue,h=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=(0,s.buildJobSearchUrl)({...g,...e,page:t?1:void 0});u.replace(r)},m=(e,t)=>{let r=f(e),a=Array.isArray(r)?r.includes(t)?r.filter(e=>e!==t):[...r,t]:t;return{...g,[e]:a}},v=(e,t)=>{let r=m("category",e),a=(r.category??[]).filter(r=>r===e||!t.has(r));return{...r,category:a}},b=async()=>{let e=(0,s.buildJobSearchUrl)({});u.replace(e)},y=e=>{if(!Object.keys(r.jobFiltersConfig).includes(e))return!1;let t=g[e],a=r.jobFiltersConfig[e].parser.defaultValue;return Array.isArray(t)?t.length>0:"boolean"==typeof t?!0===t:t!==a};return{filters:{...p,...c?{category:Array.isArray(c)?c:[c]}:{},...d?{location:d}:{}},updateFilters:h,replaceFilters:e=>{let t=(0,s.buildJobSearchUrl)({...e});u.replace(t)},removeFilter:(e,t)=>{let r=f(e);h({[e]:Array.isArray(r)?r.filter(e=>e!==t):void 0})},clearAllFilters:b,clearSidebarFilters:()=>{h(o.reduce((e,t)=>({...e,[t]:void 0}),{}),!0)},getFilterUrl:(e,t)=>(0,s.buildJobSearchUrl)({...m(e,t),page:1}),getSubcategoryFilterUrl:(e,t)=>(0,s.buildJobSearchUrl)({...v(e,t),page:1}),buildFilters:m,buildFiltersForSubcategory:v,hasActiveFilters:!!c||!!d||Object.keys(g).some(e=>{if(r.paginationKeys.includes(e))return!1;let t=p[e],a=r.jobFiltersConfig[e].parser.defaultValue;return Array.isArray(t)?t.length>0:t!==a}),hasSidebarActiveFilters:o.some(y),isFilterActive:y,config:r.jobFiltersConfig}}])},473917,e=>{"use strict";var t=e.i(843476),r=e.i(364623),a=e.i(660022),n=e.i(948148);e.s(["ClearAllButton",0,e=>{let{className:s=""}=e,{hasSidebarActiveFilters:i,clearSidebarFilters:l}=(0,r.useJobFilters)(),o=(0,n.useTranslations)("pages.jobs");return i?(0,t.jsx)("div",{className:s,children:(0,t.jsx)(a.Button,{variant:"ghost",onClick:l,className:"w-full",children:o("clear-all-button")})}):null}])},822413,808867,566302,833059,566462,816007,274641,e=>{"use strict";var t=e.i(843476),r=e.i(478139),a=e.i(635454),n=e.i(308442),s=e.i(364623),i=e.i(325147),l=e.i(948148),o=e.i(884378),u=e.i(34178);let c=["seniority","industry","company","salary","event"];function d(e,t){let r=(0,u.getActiveFilters)(e),a=Object.keys(r).length;if(0===a)return!0;if(r.title&&a<=1)return t;for(let e in r)if(c.includes(e))return!1;return!(r.title&&a>1||a>2||r.remote&&(r.location||r.occupationType)||Object.values(r).some(e=>Array.isArray(e)&&e.length>1))}e.s(["isIndexable",0,d],808867),e.s(["IndustryFilter",0,e=>{let{maxInitialItems:u=8,options:c}=e,{filters:{industry:p},updateFilters:g,config:f,getFilterUrl:h,buildFilters:m}=(0,s.useJobFilters)(),v=(0,l.useTranslations)("pages.jobs"),{safeTranslate:b}=(0,i.useSafeTranslationsWithNamespace)("common"),y=c.map(e=>({label:b(`industry.${e.value}`),value:e.value,count:e.count,href:h("industry",e.value),indexable:d(m("industry",e.value),!1)}
1)),x=(0,n.useSelectionState)(p,y);return(0,t.jsx)(a.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Icon,{name:"LayoutGrid",size:24}),v(`filters.${f.industry.name}`)]}),isNoneSelected:x.isNoneSelected,onClearAll:()=>{g({industry:[]})},children:(0,t.jsx)(r.CheckboxGroupFilter,{options:y,value:p,onChange:e=>{g({industry:e})},maxInitialItems:u,showCounts:!1})})}],822413),e.s(["OccupationTypeFilter",0,e=>{let{maxInitialItems:l=8,options:u}=e,{filters:{occupationType:c},updateFilters:p,config:g,getFilterUrl:f,buildFilters:h}=(0,s.useJobFilters)(),{safeTranslate:m}=(0,i.useSafeTranslationsWithNamespace)("pages.jobs"),{safeTranslate:v}=(0,i.useSafeTranslationsWithNamespace)("common"),b=u.map(e=>({label:v(`job-occupation-type.${e.value}`),value:e.value,count:e.count,href:f("occupationType",e.value),indexable:d(h("occupationType",e.value),!1)})),y=(0,n.useSelectionState)(c,b);return(0,t.jsx)(a.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Icon,{name:"FileClock",size:24}),m(`filters.${g.occupationType.name}`)]}),isNoneSelected:y.isNoneSelected,onClearAll:()=>{p({occupationType:[]})},children:(0,t.jsx)(r.CheckboxGroupFilter,{options:b,value:c,onChange:e=>{p({occupationType:e})},maxInitialItems:l,showCounts:!1})})}],566302),e.s(["SeniorityFilter",0,e=>{let{maxInitialItems:l=8,options:u}=e,{filters:{seniority:c},updateFilters:p,getFilterUrl:g,buildFilters:f,config:h}=(0,s.useJobFilters)(),{safeTranslate:m}=(0,i.useSafeTranslationsWithNamespace)("pages.jobs"),{safeTranslate:v}=(0,i.useSafeTranslationsWithNamespace)("common"),b=u.map(e=>({label:v(`seniority.${e.value}`),value:e.value,count:e.count,href:g("seniority",e.value),indexable:d(f("seniority",e.value),!1)&&!!e.count})),y=(0,n.useSelectionState)(c,b);return(0,t.jsx)(a.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Icon,{name:"ArrowUpNarrowWide",size:24}),m(`filters.${h.seniority.name}`)]}),isNoneSelected:y.isNoneSelected,onClearAll:()=>{p({seniority:[]})},children:(0,t.jsx)(r.CheckboxGroupFilter,{options:b,value:c,onChange:e=>{p({seniority:e})},maxInitialItems:l,showCounts:!1})})}],833059);var p=e.i(271645),g=e.i(660022),f=e.i(640602),h=e.i(296556),m=e.i(587819);function v(e){let{option:r,isChecked:a,showCount:n,onChange:s,children:i,expandable:l=!0}=e,[u,c]=(0,p.useState)(!l),{label:d,count:g,href:v,disabled:b,indexable:y}=r;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)(m.FilterCheckboxItem,{isChecked:a,onCheckedChange:s,disabled:b,href:v,indexable:y,children:[(0,t.jsx)("span",{children:d}),n&&(0,t.jsxs)(h.default,{variant:"muted",className:"text-muted-foreground",children:["(",g,")"]})]}),i&&l&&(0,t.jsx)(o.Icon,{name:u?"ChevronUp":"ChevronDown",size:16,className:"text-muted-foreground cursor-pointer",onClick:()=>c(!u)})]}),i&&(0,t.jsx)("div",{className:(0,f.cn)({hidden:!u}),children:i})]})}var b=e.i(723079);function y(e){return e.normalize("NFD").replace(/\p{Diacritic}/gu,"").toLowerCase().trim()}function x(e){let{options:r,value:a,onChange:n,showLessText:s,showMoreText:i,maxInitialItems:u=0}=e,c=(0,l.useTranslations)("components.category-checkbox-filter"),d=(0,p.useRef)(null),h=(0,p.useRef)(null),[m,x]=(0,p.useState)(!1),[C,S]=(0,p.useState)(""),E=i??c("show-more"),N=s??c("show-less"),A=u>0&&r.length>u,I=(0,p.useMemo)(()=>new Set(a),[a]),{parentValues:T,subToParentValue:j}=(0,p.useMemo)(()=>{let e=new Set,t=new Map;return r.forEach(r=>{e.add(r.value),r.subcategories?.forEach(e=>{t.set(e.value,r.value)})}),{parentValues:e,subToParentValue:t}},[r]),w=(0,p.useMemo)(()=>{let e=new Set;return a.forEach(t=>{if(T.has(t))e.add(t);else{let r=j.get(t);r&&e.add(r)}}),e},[a,T,j]),R=(0,p.useMemo)(()=>u<=0?r:r.filter((e,t)=>t<u||w.has(e.value)),[r,u,w]),O=(0,p.useMemo)(()=>{let e;return(e=y(C))?r.map(t=>{let r=y(t.label).includes(e),a=(t.subcategories??[]).filter(t=>y(t.label).includes(e));return r?t:a.length>0?{...t,subcategories:a}:null}).filter(e=>null!==e):r},[r,C]),L=()=>{let e=!m;(x(e),e)?requestAnimationFrame(()=>h.current?.focus()):(S(""),requestAnimationFrame(()=>{d.current?.scrollIntoView({behavior:"smooth",block:"start"})}))},k=(e,r)=>e.map(e=>{let s,i=e.subcategories??[],l="pinned"===r?i.filter(e=>{let t;return t=e.value,I.has(t)}):i;return(0,t.jsx)(v,{option:e,isChecked:(s=e.value,I.has(s)),onChange:t=>((e,t)=>{if(!(t&&I.has(e))){if(!t)return void n(a.filter(t=>t!==e));n([...a,e])}})(e.value,t),showCount:!1,expandable:"full"===r,children:l.length>0&&(0,t.jsx)("div",{className:"flex flex-col gap-4 pl-12",children:l.map(e=>{let r;return(0,t.jsx)(v,{option:e,isChecked:(r=e.value,I.has(r)),onChange:t=>{var r;return r=e.value,void(t&&I.has(r)||(!t?n(a.filter(e=>e!==r)):n([...a.filter(e=>!j.has(e)),r])))}},e.value)})})},e.value)});return(0,t.jsxs)("div",{className:"flex scroll-mt-36 flex-col gap-6",ref:d,children:[(0,t.jsx)("div",{className:"flex flex-col gap-3",children:k(R,"pinned")}),A&&!m&&(0,t.jsx)(g.Button,{variant:"ghost",size:"sm",onClick:L,children:E}),(0,t.jsxs)("div",{className:(0,f.cn)(A&&m?"flex":"hidden","flex-col gap-6"),children:[(0,t.jsx)(b.InputWithAdornments,{endContent:C?(0,t.jsx)(o.Icon,{name:"X",onClick:()=>S(""),className:"cursor-pointer",size:16}):(0,t.jsx)(o.Icon,{name:"Search",size:16}),value:C,placeholder:c("search-placeholder"),onChange:e=>S(e.target.value),ref:h}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:k(O,"full")}),(0,t.jsx)(g.Button,{variant:"ghost",size:"sm",onClick:L,children:N})]})]})}e.s(["CategoryFilter",0,e=>{let{maxInitialItems:r=8,options:u,subcategories:c}=e,{filters:{category:g},updateFilters:f,getFilterUrl:h,getSubcategoryFilterUrl:m,buildFilters:v,buildFiltersForSubcategory:b,config:y}=(0,s.useJobFilters)(),C=(0,l.useTranslations)("pages.jobs"),{safeTranslate:S}=(0,i.useSafeTranslationsWithNamespace)("common"),E=(0,p.useMemo)(()=>new Set(c.map(e=>e.value)),[c]),N=u.map(e=>({label:S(`category.${e.value}.label`),value:e.value,count:e.count,href:h("category",e.value),indexable:d(v("category",e.value),!1),subcategories:c.filter(t=>t.parent===e.value).map(e=>({value:e.value,label:e.name,count:e.count,href:m(e.value,E),indexable:d(b(e.value,E),!1)}))})),{isNoneSelected:A}
1=(0,n.useSelectionState)(g,N);return(0,t.jsx)(a.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Icon,{name:"Folder",size:24}),C(`filters.${y.category.name}`)]}),isNoneSelected:A,onClearAll:()=>{f({category:[]})},children:(0,t.jsx)(x,{options:N,value:g,onChange:e=>{f({category:e})},maxInitialItems:r})})}],566462);var C=e.i(309811),S=e.i(183741);function E(e){let{options:r,value:a=[],onChange:n,className:s="",minSearchLength:i,loading:u=!1,onInputValueChange:c}=e,d=(0,l.useTranslations)("components.autosuggest-filter"),[g,h]=(0,p.useState)(""),m=r.filter(e=>!a.includes(e.value)),v=new Map(r.map(e=>[e.value,e]));return(0,t.jsxs)("div",{className:(0,f.cn)("flex flex-col gap-4",s),children:[(0,t.jsx)(S.ComboboxAutosuggest,{items:m,value:null,onValueChange:e=>{e&&(n([...a,e.value]),c?.(""),h(""))},inputValue:g,onInputValueChange:e=>{h(e),c?.(e)},isLoading:u,loadingMessage:d("loading"),emptyMessage:d("not-found"),placeholder:d("placeholder"),triggerIcon:"Search",minSearchLength:i}),!!a.length&&(0,t.jsx)("div",{className:"flex flex-wrap gap-3",children:a.map(e=>{let r=v.get(e)?.label;return r?(0,t.jsx)(C.Badge,{className:"flex cursor-pointer",variant:"outline",asChild:!0,children:(0,t.jsxs)("button",{type:"button",onClick:()=>n(a.filter(t=>t!==e)),"aria-label":d("remove-filter",{filter:r}),children:[(0,t.jsx)("span",{className:"flex-1",children:r}),(0,t.jsx)(o.Icon,{name:"X","aria-hidden":!0})]})},e):null})})]})}var N=e.i(307551),A=e.i(113535);let I=e=>null==e.id?null:{label:e.name,value:String(e.id)};e.s(["CompanyFilter",0,e=>{let{selectedCompanies:r}=e,{filters:{company:i},updateFilters:u,config:c}=(0,s.useJobFilters)(),d=(0,l.useTranslations)("pages.jobs"),[g,f]=(0,p.useState)(""),h=(0,A.useDebouncedValue)(g,500).trim(),m=h.length>=3,v=g.trim().length>=3&&!m,{data:b,isLoading:y,isError:x}=(0,N.useCompanyAutocomplete)(h,{enabled:m}),C=(0,p.useMemo)(()=>!m||x?[]:(b?.items??[]).map(I).filter(e=>null!==e),[b?.items,x,m]),S=(0,p.useMemo)(()=>r?Object.values(r).filter(e=>null!=e.id).map(e=>({label:e.name,value:String(e.id)})):[],[r]),T=(0,p.useMemo)(()=>{let e=new Map;return S.forEach(t=>{e.set(t.value,t)}),C.forEach(t=>{e.set(t.value,t)}),Array.from(e.values())},[C,S]),j=(0,n.useSelectionState)(i,T);return(0,t.jsx)(a.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(o.Icon,{name:"Building2",size:24}),d(`filters.${c.company.name}`)]}),isNoneSelected:j.isNoneSelected,onClearAll:()=>{u({company:[]})},children:(0,t.jsx)(E,{options:T,value:i,onChange:e=>{u({company:e})},loading:y||v,onInputValueChange:f,minSearchLength:3})})}],816007);var T=e.i(21757),j=e.i(162663);e.s(["RemoteSwitch",0,()=>{let{filters:e,updateFilters:r}=(0,s.useJobFilters)(),a=(0,l.useTranslations)("pages.jobs");return(0,t.jsxs)("div",{className:"border-b-sidebar bg-background flex items-center justify-between gap-6 rounded-xs border-b px-4 py-6",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(o.Icon,{name:"Laptop",size:24}),(0,t.jsx)("div",{children:(0,t.jsx)(T.Label,{htmlFor:"remote-switch",className:"font-medium",children:a("filters.remote_work")})})]}),(0,t.jsx)(j.Switch,{id:"remote-switch",checked:e.remote,onCheckedChange:e=>r({remote:e})})]})}],274641)},237906,e=>{"use strict";var t=e.i(843476),r=e.i(822413),a=e.i(566302),n=e.i(833059),s=e.i(566462),i=e.i(816007),l=e.i(274641),o=e.i(473917),u=e.i(478139),c=e.i(635454),d=e.i(364623),p=e.i(808867),g=e.i(884378),f=e.i(948148);let h=()=>{let e=(0,f.useTranslations)("pages.jobs"),{filters:{salary:r},updateFilters:a,getFilterUrl:n,buildFilters:s,config:i}=(0,d.useJobFilters)(),l=[{label:e("gross-salary-label"),value:"true",href:n("salary",!r),indexable:(0,p.isIndexable)(s("salary",!r),!1)}];return(0,t.jsx)(c.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(g.Icon,{name:"Euro",size:24}),e(`filters.${i.salary.name}`)]}),isNoneSelected:!r,onClearAll:()=>{a({salary:!1})},children:(0,t.jsx)(u.CheckboxGroupFilter,{options:l,value:r?["true"]:[],onChange:e=>{a({salary:"true"===e[0]})}})})};var m=e.i(308442),v=e.i(325147);let b=e=>{let{maxInitialItems:r=8,options:a}=e,{filters:{event:n},updateFilters:s,config:i,getFilterUrl:l,buildFilters:o}=(0,d.useJobFilters)(),{safeTranslate:f}=(0,v.useSafeTranslationsWithNamespace)("pages.jobs"),h=a.map(e=>({label:e.name,value:e.value,count:e.count,href:l("event",e.value),indexable:(0,p.isIndexable)(o("event",e.value),!1)})),b=(0,m.useSelectionState)(n,h);return 0===h.length?null:(0,t.jsx)(c.FilterWrapper,{title:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[(0,t.jsx)(g.Icon,{name:"FileClock",size:24}),f(`filters.${i.event.name}`)]}),isNoneSelected:b.isNoneSelected,onClearAll:()=>{s({event:[]})},children:(0,t.jsx)(u.CheckboxGroupFilter,{options:h,value:n,onChange:e=>{s({event:e})},maxInitialItems:r,showCounts:!1})})};e.s(["JobAdFilters",0,e=>{let{filtersAggregation:u,selectedCompanies:c}=e;return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)(o.ClearAllButton,{className:"hidden md:block"}),(0,t.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,t.jsx)(s.CategoryFilter,{maxInitialItems:3,options:u.categories.buckets,subcategories:u.subcategories.buckets}),(0,t.jsx)(h,{}),(0,t.jsx)(b,{maxInitialItems:8,options:u.events.buckets}),(0,t.jsx)(a.OccupationTypeFilter,{maxInitialItems:8,options:u.employmentTypes.buckets}),(0,t.jsx)(n.SeniorityFilter,{maxInitialItems:8,options:u.seniorityLevels.buckets}),(0,t.jsx)(r.IndustryFilter,{maxInitialItems:8,options:u.industries.buckets}),(0,t.jsx)(i.CompanyFilter,{selectedCompanies:c}),(0,t.jsx)(l.RemoteSwitch,{})]})]})}],237906)}]);

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.