@inploi/plugin-job-search 0.19.0 → 0.19.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cdn/index.js CHANGED
@@ -14,7 +14,7 @@ var Vm=Object.defineProperty;var zm=(ge,ve,bt)=>ve in ge?Vm(ge,ve,{enumerable:!0
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var Ls;function Qd(){return Ls||(Ls=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Ds,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var m=arguments.length,x=new Array(m>1?m-1:0),k=1;k<m;k++)x[k-1]=arguments[k];r("error",b,x)}}function r(b,m,x){{var k=t.ReactDebugCurrentFrame,O=k.getStackAddendum();O!==""&&(m+="%s",x=x.concat([O]));var $=x.map(function(C){return String(C)});$.unshift("Warning: "+m),Function.prototype.apply.call(console[b],console,$)}}function o(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(b,m,x){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=m();if(!c){var O=m();i(k,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:m}}),C=$[0].inst,j=$[1];return l(function(){C.value=k,C.getSnapshot=m,d(C)&&j({inst:C})},[b,k,m]),s(function(){d(C)&&j({inst:C});var R=function(){d(C)&&j({inst:C})};return b(R)},[b]),u(k),k}function d(b){var m=b.getSnapshot,x=b.value;try{var k=m();return!i(x,k)}catch{return!0}}function v(b,m,x){return m()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,y=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;xo.useSyncExternalStore=y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),xo}process.env.NODE_ENV==="production"?yo.exports=Jd():yo.exports=Qd();var ef=yo.exports;const dt=()=>{},_e=dt(),ko=Object,H=e=>e===_e,Le=e=>typeof e=="function",ft=(e,t)=>({...e,...t}),tf=e=>Le(e.then),rr=new WeakMap;let nf=0;const yn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(ko(e)===e&&!r&&n!=RegExp){if(o=rr.get(e),o)return o;if(o=++nf+"~",rr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=yn(e[i])+",";rr.set(e,o)}if(n==ko){o="#";const a=ko.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+yn(e[i])+",");rr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},We=new WeakMap,$o={},or={},jo="undefined",ir=typeof window!=jo,So=typeof document!=jo,rf=()=>ir&&typeof window.requestAnimationFrame!=jo,Ms=(e,t)=>{const n=We.get(e);return[()=>!H(t)&&e.get(t)||$o,r=>{if(!H(t)){const o=e.get(t);t in or||(or[t]=o),n[5](t,ft(o,r),o||$o)}},n[6],()=>!H(t)&&t in or?or[t]:!H(t)&&e.get(t)||$o]};let Eo=!0;const of=()=>Eo,[Co,Oo]=ir&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[dt,dt],af=()=>{const e=So&&document.visibilityState;return H(e)||e!=="hidden"},sf=e=>(So&&document.addEventListener("visibilitychange",e),Co("focus",e),()=>{So&&document.removeEventListener("visibilitychange",e),Oo("focus",e)}),cf=e=>{const t=()=>{Eo=!0,e()},n=()=>{Eo=!1};return Co("online",t),Co("offline",n),()=>{Oo("online",t),Oo("offline",n)}},lf={isOnline:of,isVisible:af},uf={initFocus:sf,initReconnect:cf},Is=!tr.useId,bn=!ir||"Deno"in window,df=e=>rf()?window.requestAnimationFrame(e):setTimeout(e,1),Ao=bn?je:lt,To=typeof navigator<"u"&&navigator.connection,Fs=!bn&&To&&(["slow-2g","2g"].includes(To.effectiveType)||To.saveData),Po=e=>{if(Le(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?yn(e):"",[e,t]};let ff=0;const Ro=()=>++ff,Hs=0,Us=1,Vs=2;var xn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Hs,MUTATE_EVENT:Vs,RECONNECT_EVENT:Us};async function zs(...e){const[t,n,r,o]=e,i=ft({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Le(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=Po(p);if(!d)return;const[v,h]=Ms(t,d),[g,_,y,b]=We.get(t),m=()=>{const L=g[d];return(Le(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete y[d],delete b[d],L&&L[0])?L[0](Vs).then(()=>v().data):v().data};if(e.length<3)return m();let x=r,k;const O=Ro();_[d]=[O,0];const $=!H(l),C=v(),j=C.data,R=C._c,I=H(R)?j:R;if($&&(l=Le(l)?l(I,j):l,h({data:l,_c:I})),Le(x))try{x=x(I)}catch(L){k=L}if(x&&tf(x))if(x=await x.catch(L=>{k=L}),O!==_[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,h({data:I,_c:_e}));if(a&&!k)if(Le(a)){const L=a(x,I);h({data:L,error:_e,_c:_e})}else h({data:x,error:_e,_c:_e});if(_[d][1]=Ro(),Promise.resolve(m()).then(()=>{h({_c:_e})}),k){if(f)throw k;return}return x}}const Ws=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},pf=(e,t)=>{if(!We.has(e)){const n=ft(uf,t),r={},o=zs.bind(_e,e);let i=dt;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const v of d)v(c,p)},u=()=>{if(!We.has(e)&&(We.set(e,[r,{},{},{},o,l,s]),!bn)){const f=n.initFocus(setTimeout.bind(_e,Ws.bind(_e,r,Hs))),c=n.initReconnect(setTimeout.bind(_e,Ws.bind(_e,r,Us)));i=()=>{f&&f(),c&&c(),We.delete(e)}}};return u(),[e,o,u,i]}return[e,We.get(e)[4]]},hf=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},vf=(e,t)=>yn(e)==yn(t),[Bs,_f]=pf(new Map),gf=ft({onLoadingSlow:dt,onSuccess:dt,onError:dt,onErrorRetry:hf,onDiscarded:dt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Fs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Fs?5e3:3e3,compare:vf,isPaused:()=>!1,cache:Bs,mutate:_f,fallback:{}},lf),wf=(e,t)=>{const n=ft(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=ft(o,a))}return n},mf=Xr({}),yf="$inf$",Ys=ir&&window.__SWR_DEVTOOLS_USE__,bf=Ys?window.__SWR_DEVTOOLS_USE__:[],xf=()=>{Ys&&(window.__SWR_DEVTOOLS_REACT__=tr)},kf=e=>Le(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],$f=()=>ft(gf,Gn(mf)),jf=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Po(t),[,,,s]=We.get(Bs);if(a.startsWith(yf))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),Sf=bf.concat(jf),Ef=e=>function(...n){const r=$f(),[o,i,a]=kf(n),s=wf(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(Sf);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},Cf=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};xf();const Ks=tr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Do={dedupe:!0},No=Ef((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,v,h,g]=We.get(r),[_,y]=Po(e),b=we(!1),m=we(!1),x=we(_),k=we(t),O=we(n),$=()=>O.current,C=()=>$().isVisible()&&$().isOnline(),[j,R,I,L]=Ms(r,_),N=we({}).current,M=H(a)?n.fallback[_]:a,S=(q,X)=>{for(const ue in N){const G=ue;if(G==="data"){if(!o(q[G],X[G])&&(!H(q[G])||!o(tt,X[G])))return!1}else if(X[G]!==q[G])return!1}return!0},E=ut(()=>{const q=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=pe=>{const Pe=ft(pe);return delete Pe._k,q?{isValidating:!0,isLoading:!0,...Pe}:Pe},ue=j(),G=L(),be=X(ue),yt=ue===G?be:X(G);let se=be;return[()=>{const pe=X(j());return S(pe,se)?(se.data=pe.data,se.isLoading=pe.isLoading,se.isValidating=pe.isValidating,se.error=pe.error,se):(se=pe,pe)},()=>yt]},[r,_]),U=ef.useSyncExternalStore(Ct(q=>I(_,(X,ue)=>{S(ue,X)||q()}),[r,_]),E[0],E[1]),z=!b.current,K=d[_]&&d[_].length>0,ae=U.data,le=H(ae)?M:ae,Lt=U.error,Ir=we(le),tt=p?H(ae)?Ir.current:ae:le,nt=(()=>K&&!H(Lt)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(le)?!1:l:H(le)||l)(),Hn=!!(_&&t&&z&&nt),Ji=H(U.isValidating)?Hn:U.isValidating,un=H(U.isLoading)?Hn:U.isLoading,Mt=Ct(async q=>{const X=k.current;if(!_||!X||m.current||$().isPaused())return!1;let ue,G,be=!0;const yt=q||{},se=!h[_]||!yt.dedupe,pe=()=>Is?!m.current&&_===x.current&&b.current:_===x.current,Pe={isValidating:!1,isLoading:!1},It=()=>{R(Pe)},Du=()=>{const Ce=h[_];Ce&&Ce[1]===G&&delete h[_]},Nu={isValidating:!0};H(j().data)&&(Nu.isLoading=!0);try{if(se&&(R(Nu),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{be&&pe()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(y),Ro()]),[ue,G]=h[_],ue=await ue,se&&setTimeout(Du,n.dedupingInterval),!h[_]||h[_][1]!==G)return se&&pe()&&$().onDiscarded(_),!1;Pe.error=_e;const Ce=v[_];if(!H(Ce)&&(G<=Ce[0]||G<=Ce[1]||Ce[1]===0))return It(),se&&pe()&&$().onDiscarded(_),!1;const rt=j().data;Pe.data=o(rt,ue)?rt:ue,se&&pe()&&$().onSuccess(ue,_,n)}catch(Ce){Du();const rt=$(),{shouldRetryOnError:Qi}=rt;rt.isPaused()||(Pe.error=Ce,se&&pe()&&(rt.onError(Ce,_,rt),(Qi===!0||Le(Qi)&&Qi(Ce))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||C())&&rt.onErrorRetry(Ce,_,rt,Um=>{const ea=d[_];ea&&ea[0]&&ea[0](xn.ERROR_REVALIDATE_EVENT,Um)},{retryCount:(yt.retryCount||0)+1,dedupe:!0})))}return be=!1,It(),!0},[_,r]),Fr=Ct((...q)=>zs(r,x.current,...q),[]);if(Ao(()=>{k.current=t,O.current=n,H(ae)||(Ir.current=ae)}),Ao(()=>{if(!_)return;const q=Mt.bind(_e,Do);let X=0;const G=Cf(_,d,(be,yt={})=>{if(be==xn.FOCUS_EVENT){const se=Date.now();$().revalidateOnFocus&&se>X&&C()&&(X=se+$().focusThrottleInterval,q())}else if(be==xn.RECONNECT_EVENT)$().revalidateOnReconnect&&C()&&q();else{if(be==xn.MUTATE_EVENT)return Mt();if(be==xn.ERROR_REVALIDATE_EVENT)return Mt(yt)}});return m.current=!1,x.current=_,b.current=!0,R({_k:y}),nt&&(H(le)||bn?q():df(q)),()=>{m.current=!0,G()}},[_]),Ao(()=>{let q;function X(){const G=Le(u)?u(j().data):u;G&&q!==-1&&(q=setTimeout(ue,G))}function ue(){!j().error&&(f||$().isVisible())&&(c||$().isOnline())?Mt(Do).then(X):X()}return X(),()=>{q&&(clearTimeout(q),q=-1)}},[u,f,c,_]),Zn(tt),i&&H(le)&&_){if(!Is&&bn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,O.current=n,m.current=!1;const q=g[_];if(!H(q)){const X=Fr(q);Ks(X)}if(H(Lt)){const X=Mt(Do);H(tt)||(X.status="fulfilled",X.value=!0),Ks(X)}else throw Lt}return{mutate:Fr,get data(){return N.data=!0,tt},get error(){return N.error=!0,Lt},get isValidating(){return N.isValidating=!0,Ji},get isLoading(){return N.isLoading=!0,un}}}),Be=Oe({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),Of=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return ve(i),w("span",{class:Be({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Be({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ge(e)}},Af=e=>{const t=window.matchMedia(e),[n,r]=$e(t.matches);return je(()=>{const o=()=>r(t.matches);return t.addEventListener("change",o),()=>t.removeEventListener("change",o)},[t]),n},Tf=44,Pf=6,Rf=12,Df=8,Nf=Oe({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),Lf=Oe({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),Mf=Oe({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),If=Oe({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),Ff=Oe({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),Hf=({children:e,colorScheme:t})=>w("span",{class:Ff({colorScheme:t}),children:w("span",{class:"block w-[2.5ch] text-center tabular-nums",children:e})}),Uf=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},qs=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},Vf=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=qs(r.value),a=qs(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},zf=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},Wf=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Bf=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=ro(r()),l=ut(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const v=s.data[t.key]??[];return Object.fromEntries(v.map(h=>[h.value,h.jobs]))}default:ge(s)}},[s,t.key]),u=Gs(e),f=u.length>0,[c,p]=$e(),d=Af("(pointer: coarse)");return je(()=>{a()}),s.state==="error"?w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"text",class:Nf({hasValue:f}),value:c,onInput:v=>p(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Be({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=i.data[t.key]??[],h=c&&c.length>1?v.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):v,g=[];for(const m of h){if(m.label.length<1)continue;const x={...m,results:Wf(l,m),disabled:zf(l,m)};switch(t.results){case"only-available":x.disabled==!1&&g.push(x);break;default:g.push(x)}}if(!g.find(m=>!m.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const b=(v.length>Rf||v.some(m=>m.label.length>24))&&!d;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":Tf*(Pf+.5)+2*Df+"px"},class:Lf({type:b?"long":"short"}),children:Vf(g,t.sortSuggestions).map(m=>{const x=u.includes(m.value);return w("li",{class:Mf({type:b?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=Uf(u,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:ge(e)}},class:b?If({active:x,disabled:m.disabled}):Be({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:m.label})," ",w(Hf,{colorScheme:x?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ge(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:qn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(St,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:qn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(St,{name:"chevron-right"})]},f?"done":"skip")})]})]})},Xs={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},Yf=Oe({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),Kf=Oe({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),qf=Oe({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Xf=e=>{const t=we(null),[n,r]=$e(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return lt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},Gs=e=>typeof e.value=="string"?[e.value]:e.value??[],Gf=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=bt(r.key,Xs)?Xs[r.key]:void 0,u=r.icon??l??"filter",f=Gs(t),{height:c,ref:p,updateHeight:d}=Xf([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":e?"true":void 0,class:Yf({hasValue:v}),onTouchStart:ep,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:Kf({state:e?"active":v?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(St,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(Bf,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(Of,{property:r,query:a,selectedValues:f})}),w(St,{"aria-hidden":!0,class:qf(),name:"chevron-right"})]})]})},Zf=e=>{const t=we();return je(()=>{t.current=e},[e]),t.current},Jf=(e,t)=>{var o;const n=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(ve(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Qf=(e,t)=>{const n=Zf(e);je(()=>{if(n===e)return;const r=e??n;r&&Jf(r,t)},[e,n,t])};function ep(){}const tp=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},np=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:ge(t)}},rp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=$e((c=e[0])==null?void 0:c.key);Qf(a,t);const l=ut(()=>zo(e,"value"),[e]),u=ro(No(Qn({filter:l,baseKey:"filters"}),()=>Va({apiClient:o,logger:i,filters:l}),oo)),f=Ct(p=>()=>{const d={...n,[p]:l[p]};return No(Qn({filter:d,baseKey:"filters"}),()=>Va({apiClient:o,logger:i,filters:d}),oo)},[o,n,l,i]);return u.state==="error"?w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=n[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&tp(v,h);const g=b=>{const{newActiveKey:m,newValue:x}=np({property:p,activeKey:a,value:b??h,properties:e,appliedFilters:n});return s(m),r(p.key,x)},_=b=>s(b?p.key:void 0),y=f(p.key);return w(gn,{Fallback:ct,children:w(Gf,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var x;const b=e.findIndex(k=>k.key===a),m=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(m)},useQuery:y,onValueChange:g})},p.key)})})})};var op=Array.isArray,Lo=op,ip=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ap=ip,sp=ap,cp=typeof self=="object"&&self&&self.Object===Object&&self,lp=sp||cp||Function("return this")(),Mo=lp,up=Mo,dp=up.Symbol,Io=dp,Zs=Io,Js=Object.prototype,fp=Js.hasOwnProperty,pp=Js.toString,kn=Zs?Zs.toStringTag:void 0;function hp(e){var t=fp.call(e,kn),n=e[kn];try{e[kn]=void 0;var r=!0}catch{}var o=pp.call(e);return r&&(t?e[kn]=n:delete e[kn]),o}var vp=hp,_p=Object.prototype,gp=_p.toString;function wp(e){return gp.call(e)}var mp=wp,Qs=Io,yp=vp,bp=mp,xp="[object Null]",kp="[object Undefined]",ec=Qs?Qs.toStringTag:void 0;function $p(e){return e==null?e===void 0?kp:xp:ec&&ec in Object(e)?yp(e):bp(e)}var tc=$p;function jp(e){return e!=null&&typeof e=="object"}var Sp=jp,Ep=tc,Cp=Sp,Op="[object Symbol]";function Ap(e){return typeof e=="symbol"||Cp(e)&&Ep(e)==Op}var Fo=Ap,Tp=Lo,Pp=Fo,Rp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dp=/^\w*$/;function Np(e,t){if(Tp(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Pp(e)?!0:Dp.test(e)||!Rp.test(e)||t!=null&&e in Object(t)}var Lp=Np;function Mp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nc=Mp,Ip=tc,Fp=nc,Hp="[object AsyncFunction]",Up="[object Function]",Vp="[object GeneratorFunction]",zp="[object Proxy]";function Wp(e){if(!Fp(e))return!1;var t=Ip(e);return t==Up||t==Vp||t==Hp||t==zp}var Bp=Wp,Yp=Mo,Kp=Yp["__core-js_shared__"],qp=Kp,Ho=qp,rc=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Xp(e){return!!rc&&rc in e}var Gp=Xp,Zp=Function.prototype,Jp=Zp.toString;function Qp(e){if(e!=null){try{return Jp.call(e)}catch{}try{return e+""}catch{}}return""}var eh=Qp,th=Bp,nh=Gp,rh=nc,oh=eh,ih=/[\\^$.*+?()[\]{}|]/g,ah=/^\[object .+?Constructor\]$/,sh=Function.prototype,ch=Object.prototype,lh=sh.toString,uh=ch.hasOwnProperty,dh=RegExp("^"+lh.call(uh).replace(ih,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fh(e){if(!rh(e)||nh(e))return!1;var t=th(e)?dh:ah;return t.test(oh(e))}var ph=fh;function hh(e,t){return e==null?void 0:e[t]}var vh=hh,_h=ph,gh=vh;function wh(e,t){var n=gh(e,t);return _h(n)?n:void 0}var oc=wh,mh=oc,yh=mh(Object,"create"),ar=yh,ic=ar;function bh(){this.__data__=ic?ic(null):{},this.size=0}var xh=bh;function kh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var $h=kh,jh=ar,Sh="__lodash_hash_undefined__",Eh=Object.prototype,Ch=Eh.hasOwnProperty;function Oh(e){var t=this.__data__;if(jh){var n=t[e];return n===Sh?void 0:n}return Ch.call(t,e)?t[e]:void 0}var Ah=Oh,Th=ar,Ph=Object.prototype,Rh=Ph.hasOwnProperty;function Dh(e){var t=this.__data__;return Th?t[e]!==void 0:Rh.call(t,e)}var Nh=Dh,Lh=ar,Mh="__lodash_hash_undefined__";function Ih(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Lh&&t===void 0?Mh:t,this}var Fh=Ih,Hh=xh,Uh=$h,Vh=Ah,zh=Nh,Wh=Fh;function zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}zt.prototype.clear=Hh,zt.prototype.delete=Uh,zt.prototype.get=Vh,zt.prototype.has=zh,zt.prototype.set=Wh;var Bh=zt;function Yh(){this.__data__=[],this.size=0}var Kh=Yh;function qh(e,t){return e===t||e!==e&&t!==t}var Xh=qh,Gh=Xh;function Zh(e,t){for(var n=e.length;n--;)if(Gh(e[n][0],t))return n;return-1}var sr=Zh,Jh=sr,Qh=Array.prototype,ev=Qh.splice;function tv(e){var t=this.__data__,n=Jh(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ev.call(t,n,1),--this.size,!0}var nv=tv,rv=sr;function ov(e){var t=this.__data__,n=rv(t,e);return n<0?void 0:t[n][1]}var iv=ov,av=sr;function sv(e){return av(this.__data__,e)>-1}var cv=sv,lv=sr;function uv(e,t){var n=this.__data__,r=lv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var dv=uv,fv=Kh,pv=nv,hv=iv,vv=cv,_v=dv;function Wt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Wt.prototype.clear=fv,Wt.prototype.delete=pv,Wt.prototype.get=hv,Wt.prototype.has=vv,Wt.prototype.set=_v;var gv=Wt,wv=oc,mv=Mo,yv=wv(mv,"Map"),bv=yv,ac=Bh,xv=gv,kv=bv;function $v(){this.size=0,this.__data__={hash:new ac,map:new(kv||xv),string:new ac}}var jv=$v;function Sv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ev=Sv,Cv=Ev;function Ov(e,t){var n=e.__data__;return Cv(t)?n[typeof t=="string"?"string":"hash"]:n.map}var cr=Ov,Av=cr;function Tv(e){var t=Av(this,e).delete(e);return this.size-=t?1:0,t}var Pv=Tv,Rv=cr;function Dv(e){return Rv(this,e).get(e)}var Nv=Dv,Lv=cr;function Mv(e){return Lv(this,e).has(e)}var Iv=Mv,Fv=cr;function Hv(e,t){var n=Fv(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Uv=Hv,Vv=jv,zv=Pv,Wv=Nv,Bv=Iv,Yv=Uv;function Bt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bt.prototype.clear=Vv,Bt.prototype.delete=zv,Bt.prototype.get=Wv,Bt.prototype.has=Bv,Bt.prototype.set=Yv;var Kv=Bt,sc=Kv,qv="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(qv);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Uo.Cache||sc),n}Uo.Cache=sc;var Xv=Uo,Gv=Xv,Zv=500;function Jv(e){var t=Gv(e,function(r){return n.size===Zv&&n.clear(),r}),n=t.cache;return t}var Qv=Jv,e_=Qv,t_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n_=/\\(\\)?/g,r_=e_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(t_,function(n,r,o,i){t.push(o?i.replace(n_,"$1"):r||n)}),t}),o_=r_;function i_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var a_=i_,cc=Io,s_=a_,c_=Lo,l_=Fo,u_=1/0,lc=cc?cc.prototype:void 0,uc=lc?lc.toString:void 0;function dc(e){if(typeof e=="string")return e;if(c_(e))return s_(e,dc)+"";if(l_(e))return uc?uc.call(e):"";var t=e+"";return t=="0"&&1/e==-u_?"-0":t}var d_=dc,f_=d_;function p_(e){return e==null?"":f_(e)}var h_=p_,v_=Lo,__=Lp,g_=o_,w_=h_;function m_(e,t){return v_(e)?e:__(e,t)?[e]:g_(w_(e))}var y_=m_,b_=Fo,x_=1/0;function k_(e){if(typeof e=="string"||b_(e))return e;var t=e+"";return t=="0"&&1/e==-x_?"-0":t}var $_=k_,j_=y_,S_=$_;function E_(e,t){t=j_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[S_(t[n++])];return n&&n==r?e:void 0}var C_=E_,O_=C_;function A_(e,t,n){var r=e==null?void 0:O_(e,t);return r===void 0?n:r}var T_=A_;const P_=Gd(T_),lr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),fc=Oe({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),Vo=({job:e,property:t})=>{if(!t)return null;const n=P_(e.raw,t.key);return t.transform?t.transform(n):n},R_=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),pc=e=>Array.isArray(e)?e:[e],D_=1e3*60*60*24*7,N_=({job:e,config:t})=>{var u,f,c,p;const n=t.subheading?Vo({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(d=>pc(Vo({job:e,property:d}))).filter(Boolean),o=pc((u=t.overrides)!=null&&u.salary?Vo({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(f=t.overrides)!=null&&f.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,l=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*D_:!1;return w("a",{onMouseEnter:(c=t.overrides)==null?void 0:c.onMouseEnter,onClick:(p=t.overrides)==null?void 0:p.onClick,href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:fc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(R_,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),l&&i!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((d,v)=>w("span",{class:Be({variant:"monetaryWeak",size:"xs"}),children:d},v))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(d=>w("li",{class:Be({size:"xs",class:"max-w-full truncate"}),children:d},d))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(St,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},hc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:fc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(lr,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(lr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(lr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(St,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},L_=({state:e,fetchNextPage:t,config:n})=>e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Kn}).map((r,o)=>w("li",{children:w(hc,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:qn({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),M_=({pagination:e})=>(ve(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),I_=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=$e(1);return w(F,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return w(gn,{Fallback:ct,children:w(F_,{appliedFilters:e,apiClient:t,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},F_=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{data:f,error:c,state:p,swr:d}=ro(No(Qn({filter:e,baseKey:r.toString()}),()=>za({apiClient:t,logger:n,filters:e,page:r}),{...oo,fallbackData:u}));switch(p){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(lr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Kn}).map((v,h)=>w("li",{children:w(hc,{seed:h,animationDelay:(h-Kn)*.1,config:s})},h))})]});case"error":return w(ct,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(ve(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(St,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const v=f.pagination.last_page!==f.pagination.current_page;return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:M_({pagination:f.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:w(N_,{job:h,config:s})},h.id))}),v&&i&&w(L_,{state:p,fetchNextPage:a,config:s})]})}default:ge(p)}},zo=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],i=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:i};break}case"many":{const o=r[t],i=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:i};break}default:ge(r.select)}return n},{}),H_=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=we(null),[u,f]=$e(()=>({default:!0,filters:zo(n,"defaultValue")}));return w("div",{ref:l,class:r,id:Fa,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w(gn,{Fallback:ct,children:w("div",{class:"flex flex-col gap-2",children:[w(rp,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:l,logger:t,apiClient:e}),s.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(Dd,{appliedFilters:u.filters,analytics:o,apiClient:e,logger:t,theme:s.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(gn,{Fallback:ct,children:w(I_,{appliedFilters:u.filters,logger:t,apiClient:e,jobCardConfig:s.jobCard,initialData:u.default?i==null?void 0:i.jobs:void 0},Qn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},U_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[2\\.5ch\\]{width:2.5ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
17
+ */var Ls;function Qd(){return Ls||(Ls=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Ds,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(b){{for(var m=arguments.length,x=new Array(m>1?m-1:0),k=1;k<m;k++)x[k-1]=arguments[k];r("error",b,x)}}function r(b,m,x){{var k=t.ReactDebugCurrentFrame,O=k.getStackAddendum();O!==""&&(m+="%s",x=x.concat([O]));var $=x.map(function(C){return String(C)});$.unshift("Warning: "+m),Function.prototype.apply.call(console[b],console,$)}}function o(b,m){return b===m&&(b!==0||1/b===1/m)||b!==b&&m!==m}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(b,m,x){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=m();if(!c){var O=m();i(k,O)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:m}}),C=$[0].inst,j=$[1];return l(function(){C.value=k,C.getSnapshot=m,d(C)&&j({inst:C})},[b,k,m]),s(function(){d(C)&&j({inst:C});var R=function(){d(C)&&j({inst:C})};return b(R)},[b]),u(k),k}function d(b){var m=b.getSnapshot,x=b.value;try{var k=m();return!i(x,k)}catch{return!0}}function v(b,m,x){return m()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,y=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;xo.useSyncExternalStore=y,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),xo}process.env.NODE_ENV==="production"?yo.exports=Jd():yo.exports=Qd();var ef=yo.exports;const dt=()=>{},_e=dt(),ko=Object,H=e=>e===_e,Le=e=>typeof e=="function",ft=(e,t)=>({...e,...t}),tf=e=>Le(e.then),rr=new WeakMap;let nf=0;const yn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(ko(e)===e&&!r&&n!=RegExp){if(o=rr.get(e),o)return o;if(o=++nf+"~",rr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=yn(e[i])+",";rr.set(e,o)}if(n==ko){o="#";const a=ko.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+yn(e[i])+",");rr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},We=new WeakMap,$o={},or={},jo="undefined",ir=typeof window!=jo,So=typeof document!=jo,rf=()=>ir&&typeof window.requestAnimationFrame!=jo,Ms=(e,t)=>{const n=We.get(e);return[()=>!H(t)&&e.get(t)||$o,r=>{if(!H(t)){const o=e.get(t);t in or||(or[t]=o),n[5](t,ft(o,r),o||$o)}},n[6],()=>!H(t)&&t in or?or[t]:!H(t)&&e.get(t)||$o]};let Eo=!0;const of=()=>Eo,[Co,Oo]=ir&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[dt,dt],af=()=>{const e=So&&document.visibilityState;return H(e)||e!=="hidden"},sf=e=>(So&&document.addEventListener("visibilitychange",e),Co("focus",e),()=>{So&&document.removeEventListener("visibilitychange",e),Oo("focus",e)}),cf=e=>{const t=()=>{Eo=!0,e()},n=()=>{Eo=!1};return Co("online",t),Co("offline",n),()=>{Oo("online",t),Oo("offline",n)}},lf={isOnline:of,isVisible:af},uf={initFocus:sf,initReconnect:cf},Is=!tr.useId,bn=!ir||"Deno"in window,df=e=>rf()?window.requestAnimationFrame(e):setTimeout(e,1),Ao=bn?je:lt,To=typeof navigator<"u"&&navigator.connection,Fs=!bn&&To&&(["slow-2g","2g"].includes(To.effectiveType)||To.saveData),Po=e=>{if(Le(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?yn(e):"",[e,t]};let ff=0;const Ro=()=>++ff,Hs=0,Us=1,Vs=2;var xn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Hs,MUTATE_EVENT:Vs,RECONNECT_EVENT:Us};async function zs(...e){const[t,n,r,o]=e,i=ft({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Le(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=Po(p);if(!d)return;const[v,h]=Ms(t,d),[g,_,y,b]=We.get(t),m=()=>{const L=g[d];return(Le(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete y[d],delete b[d],L&&L[0])?L[0](Vs).then(()=>v().data):v().data};if(e.length<3)return m();let x=r,k;const O=Ro();_[d]=[O,0];const $=!H(l),C=v(),j=C.data,R=C._c,I=H(R)?j:R;if($&&(l=Le(l)?l(I,j):l,h({data:l,_c:I})),Le(x))try{x=x(I)}catch(L){k=L}if(x&&tf(x))if(x=await x.catch(L=>{k=L}),O!==_[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,h({data:I,_c:_e}));if(a&&!k)if(Le(a)){const L=a(x,I);h({data:L,error:_e,_c:_e})}else h({data:x,error:_e,_c:_e});if(_[d][1]=Ro(),Promise.resolve(m()).then(()=>{h({_c:_e})}),k){if(f)throw k;return}return x}}const Ws=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},pf=(e,t)=>{if(!We.has(e)){const n=ft(uf,t),r={},o=zs.bind(_e,e);let i=dt;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const v of d)v(c,p)},u=()=>{if(!We.has(e)&&(We.set(e,[r,{},{},{},o,l,s]),!bn)){const f=n.initFocus(setTimeout.bind(_e,Ws.bind(_e,r,Hs))),c=n.initReconnect(setTimeout.bind(_e,Ws.bind(_e,r,Us)));i=()=>{f&&f(),c&&c(),We.delete(e)}}};return u(),[e,o,u,i]}return[e,We.get(e)[4]]},hf=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},vf=(e,t)=>yn(e)==yn(t),[Bs,_f]=pf(new Map),gf=ft({onLoadingSlow:dt,onSuccess:dt,onError:dt,onErrorRetry:hf,onDiscarded:dt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Fs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Fs?5e3:3e3,compare:vf,isPaused:()=>!1,cache:Bs,mutate:_f,fallback:{}},lf),wf=(e,t)=>{const n=ft(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=ft(o,a))}return n},mf=Xr({}),yf="$inf$",Ys=ir&&window.__SWR_DEVTOOLS_USE__,bf=Ys?window.__SWR_DEVTOOLS_USE__:[],xf=()=>{Ys&&(window.__SWR_DEVTOOLS_REACT__=tr)},kf=e=>Le(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],$f=()=>ft(gf,Gn(mf)),jf=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Po(t),[,,,s]=We.get(Bs);if(a.startsWith(yf))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),Sf=bf.concat(jf),Ef=e=>function(...n){const r=$f(),[o,i,a]=kf(n),s=wf(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(Sf);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},Cf=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};xf();const Ks=tr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Do={dedupe:!0},No=Ef((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,v,h,g]=We.get(r),[_,y]=Po(e),b=we(!1),m=we(!1),x=we(_),k=we(t),O=we(n),$=()=>O.current,C=()=>$().isVisible()&&$().isOnline(),[j,R,I,L]=Ms(r,_),N=we({}).current,M=H(a)?n.fallback[_]:a,S=(q,X)=>{for(const ue in N){const G=ue;if(G==="data"){if(!o(q[G],X[G])&&(!H(q[G])||!o(tt,X[G])))return!1}else if(X[G]!==q[G])return!1}return!0},E=ut(()=>{const q=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=pe=>{const Pe=ft(pe);return delete Pe._k,q?{isValidating:!0,isLoading:!0,...Pe}:Pe},ue=j(),G=L(),be=X(ue),yt=ue===G?be:X(G);let se=be;return[()=>{const pe=X(j());return S(pe,se)?(se.data=pe.data,se.isLoading=pe.isLoading,se.isValidating=pe.isValidating,se.error=pe.error,se):(se=pe,pe)},()=>yt]},[r,_]),U=ef.useSyncExternalStore(Ct(q=>I(_,(X,ue)=>{S(ue,X)||q()}),[r,_]),E[0],E[1]),z=!b.current,K=d[_]&&d[_].length>0,ae=U.data,le=H(ae)?M:ae,Lt=U.error,Ir=we(le),tt=p?H(ae)?Ir.current:ae:le,nt=(()=>K&&!H(Lt)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(le)?!1:l:H(le)||l)(),Hn=!!(_&&t&&z&&nt),Ji=H(U.isValidating)?Hn:U.isValidating,un=H(U.isLoading)?Hn:U.isLoading,Mt=Ct(async q=>{const X=k.current;if(!_||!X||m.current||$().isPaused())return!1;let ue,G,be=!0;const yt=q||{},se=!h[_]||!yt.dedupe,pe=()=>Is?!m.current&&_===x.current&&b.current:_===x.current,Pe={isValidating:!1,isLoading:!1},It=()=>{R(Pe)},Du=()=>{const Ce=h[_];Ce&&Ce[1]===G&&delete h[_]},Nu={isValidating:!0};H(j().data)&&(Nu.isLoading=!0);try{if(se&&(R(Nu),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{be&&pe()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(y),Ro()]),[ue,G]=h[_],ue=await ue,se&&setTimeout(Du,n.dedupingInterval),!h[_]||h[_][1]!==G)return se&&pe()&&$().onDiscarded(_),!1;Pe.error=_e;const Ce=v[_];if(!H(Ce)&&(G<=Ce[0]||G<=Ce[1]||Ce[1]===0))return It(),se&&pe()&&$().onDiscarded(_),!1;const rt=j().data;Pe.data=o(rt,ue)?rt:ue,se&&pe()&&$().onSuccess(ue,_,n)}catch(Ce){Du();const rt=$(),{shouldRetryOnError:Qi}=rt;rt.isPaused()||(Pe.error=Ce,se&&pe()&&(rt.onError(Ce,_,rt),(Qi===!0||Le(Qi)&&Qi(Ce))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||C())&&rt.onErrorRetry(Ce,_,rt,Um=>{const ea=d[_];ea&&ea[0]&&ea[0](xn.ERROR_REVALIDATE_EVENT,Um)},{retryCount:(yt.retryCount||0)+1,dedupe:!0})))}return be=!1,It(),!0},[_,r]),Fr=Ct((...q)=>zs(r,x.current,...q),[]);if(Ao(()=>{k.current=t,O.current=n,H(ae)||(Ir.current=ae)}),Ao(()=>{if(!_)return;const q=Mt.bind(_e,Do);let X=0;const G=Cf(_,d,(be,yt={})=>{if(be==xn.FOCUS_EVENT){const se=Date.now();$().revalidateOnFocus&&se>X&&C()&&(X=se+$().focusThrottleInterval,q())}else if(be==xn.RECONNECT_EVENT)$().revalidateOnReconnect&&C()&&q();else{if(be==xn.MUTATE_EVENT)return Mt();if(be==xn.ERROR_REVALIDATE_EVENT)return Mt(yt)}});return m.current=!1,x.current=_,b.current=!0,R({_k:y}),nt&&(H(le)||bn?q():df(q)),()=>{m.current=!0,G()}},[_]),Ao(()=>{let q;function X(){const G=Le(u)?u(j().data):u;G&&q!==-1&&(q=setTimeout(ue,G))}function ue(){!j().error&&(f||$().isVisible())&&(c||$().isOnline())?Mt(Do).then(X):X()}return X(),()=>{q&&(clearTimeout(q),q=-1)}},[u,f,c,_]),Zn(tt),i&&H(le)&&_){if(!Is&&bn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,O.current=n,m.current=!1;const q=g[_];if(!H(q)){const X=Fr(q);Ks(X)}if(H(Lt)){const X=Mt(Do);H(tt)||(X.status="fulfilled",X.value=!0),Ks(X)}else throw Lt}return{mutate:Fr,get data(){return N.data=!0,tt},get error(){return N.error=!0,Lt},get isValidating(){return N.isValidating=!0,Ji},get isLoading(){return N.isLoading=!0,un}}}),Be=Oe({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),Of=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return ve(i),w("span",{class:Be({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Be({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ge(e)}},Af=e=>{const[t,n]=$e(!1);return je(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},Tf=44,Pf=6,Rf=12,Df=8,Nf=Oe({base:"py-2 fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-job-card-stroke ring-width-section px-4 ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral",true:"text-copy-accent"}}}),Lf=Oe({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),Mf=Oe({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),If=Oe({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),Ff=Oe({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),Hf=({children:e,colorScheme:t})=>w("span",{class:Ff({colorScheme:t}),children:w("span",{class:"block w-[2.5ch] text-center tabular-nums",children:e})}),Uf=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},qs=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},Vf=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=qs(r.value),a=qs(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},zf=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},Wf=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Bf=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=ro(r()),l=ut(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const v=s.data[t.key]??[];return Object.fromEntries(v.map(h=>[h.value,h.jobs]))}default:ge(s)}},[s,t.key]),u=Gs(e),f=u.length>0,[c,p]=$e(),d=Af("(pointer: coarse)");return je(()=>{a()}),s.state==="error"?w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"text",class:Nf({hasValue:f}),value:c,onInput:v=>p(v.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Be({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const v=i.data[t.key]??[],h=c&&c.length>1?v.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):v,g=[];for(const m of h){if(m.label.length<1)continue;const x={...m,results:Wf(l,m),disabled:zf(l,m)};switch(t.results){case"only-available":x.disabled==!1&&g.push(x);break;default:g.push(x)}}if(!g.find(m=>!m.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const b=(v.length>Rf||v.some(m=>m.label.length>24))&&!d;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":Tf*(Pf+.5)+2*Df+"px"},class:Lf({type:b?"long":"short"}),children:Vf(g,t.sortSuggestions).map(m=>{const x=u.includes(m.value);return w("li",{class:Mf({type:b?"line":"pill"}),children:w("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":x?"true":void 0,onClick:()=>{switch(e.select){case"many":{const k=Uf(u,m.value);o({select:"many",value:k});break}case"one":o({select:"one",value:m.value});break;default:ge(e)}},class:b?If({active:x,disabled:m.disabled}):Be({size:"lg",variant:x?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:m.label})," ",w(Hf,{colorScheme:x?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ge(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:f&&w("button",{class:qn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(St,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),w("div",{class:"flex-1",children:w("button",{class:qn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",w(St,{name:"chevron-right"})]},f?"done":"skip")})]})]})},Xs={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},Yf=Oe({base:"group ijs-filter flex min-w-0 fr overflow-hidden rounded-section text-copy-neutral-lowcontrast ring-width-section transition-all duration-medium ease-expo-out fr-parent [&:has(.fr-child:active)]:scale-[0.975] origin-[50%_1.75rem]",variants:{hasValue:{false:"bg-section-weak-bg ring-section-weak-stroke",true:"bg-section-strong-bg ring-section-strong-stroke"}}}),Kf=Oe({base:"font-style-filter font-family-filter font-weight-filter text-style-filter truncate duration-snappy outline-none",variants:{state:{default:"text-copy-neutral-lowcontrast pointer-fine:group-hover:text-copy-neutral",filled:"text-copy-neutral",active:"text-copy-neutral"}}}),qf=Oe({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Xf=e=>{const t=we(null),[n,r]=$e(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return lt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},Gs=e=>typeof e.value=="string"?[e.value]:e.value??[],Gf=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=bt(r.key,Xs)?Xs[r.key]:void 0,u=r.icon??l??"filter",f=Gs(t),{height:c,ref:p,updateHeight:d}=Xf([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":e?"true":void 0,class:Yf({hasValue:v}),onTouchStart:ep,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:Kf({state:e?"active":v?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(St,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(Bf,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(Of,{property:r,query:a,selectedValues:f})}),w(St,{"aria-hidden":!0,class:qf(),name:"chevron-right"})]})]})},Zf=e=>{const t=we();return je(()=>{t.current=e},[e]),t.current},Jf=(e,t)=>{var o;const n=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(ve(r instanceof HTMLButtonElement,"option must be button"),r.focus())},Qf=(e,t)=>{const n=Zf(e);je(()=>{if(n===e)return;const r=e??n;r&&Jf(r,t)},[e,n,t])};function ep(){}const tp=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},np=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:ge(t)}},rp=({properties:e,parentRef:t,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=$e((c=e[0])==null?void 0:c.key);Qf(a,t);const l=ut(()=>zo(e,"value"),[e]),u=ro(No(Qn({filter:l,baseKey:"filters"}),()=>Va({apiClient:o,logger:i,filters:l}),oo)),f=Ct(p=>()=>{const d={...n,[p]:l[p]};return No(Qn({filter:d,baseKey:"filters"}),()=>Va({apiClient:o,logger:i,filters:d}),oo)},[o,n,l,i]);return u.state==="error"?w(ct,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=n[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&tp(v,h);const g=b=>{const{newActiveKey:m,newValue:x}=np({property:p,activeKey:a,value:b??h,properties:e,appliedFilters:n});return s(m),r(p.key,x)},_=b=>s(b?p.key:void 0),y=f(p.key);return w(gn,{Fallback:ct,children:w(Gf,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var x;const b=e.findIndex(k=>k.key===a),m=b!==-1?(x=e[b+1])==null?void 0:x.key:void 0;s(m)},useQuery:y,onValueChange:g})},p.key)})})})};var op=Array.isArray,Lo=op,ip=typeof nr=="object"&&nr&&nr.Object===Object&&nr,ap=ip,sp=ap,cp=typeof self=="object"&&self&&self.Object===Object&&self,lp=sp||cp||Function("return this")(),Mo=lp,up=Mo,dp=up.Symbol,Io=dp,Zs=Io,Js=Object.prototype,fp=Js.hasOwnProperty,pp=Js.toString,kn=Zs?Zs.toStringTag:void 0;function hp(e){var t=fp.call(e,kn),n=e[kn];try{e[kn]=void 0;var r=!0}catch{}var o=pp.call(e);return r&&(t?e[kn]=n:delete e[kn]),o}var vp=hp,_p=Object.prototype,gp=_p.toString;function wp(e){return gp.call(e)}var mp=wp,Qs=Io,yp=vp,bp=mp,xp="[object Null]",kp="[object Undefined]",ec=Qs?Qs.toStringTag:void 0;function $p(e){return e==null?e===void 0?kp:xp:ec&&ec in Object(e)?yp(e):bp(e)}var tc=$p;function jp(e){return e!=null&&typeof e=="object"}var Sp=jp,Ep=tc,Cp=Sp,Op="[object Symbol]";function Ap(e){return typeof e=="symbol"||Cp(e)&&Ep(e)==Op}var Fo=Ap,Tp=Lo,Pp=Fo,Rp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dp=/^\w*$/;function Np(e,t){if(Tp(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Pp(e)?!0:Dp.test(e)||!Rp.test(e)||t!=null&&e in Object(t)}var Lp=Np;function Mp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var nc=Mp,Ip=tc,Fp=nc,Hp="[object AsyncFunction]",Up="[object Function]",Vp="[object GeneratorFunction]",zp="[object Proxy]";function Wp(e){if(!Fp(e))return!1;var t=Ip(e);return t==Up||t==Vp||t==Hp||t==zp}var Bp=Wp,Yp=Mo,Kp=Yp["__core-js_shared__"],qp=Kp,Ho=qp,rc=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Xp(e){return!!rc&&rc in e}var Gp=Xp,Zp=Function.prototype,Jp=Zp.toString;function Qp(e){if(e!=null){try{return Jp.call(e)}catch{}try{return e+""}catch{}}return""}var eh=Qp,th=Bp,nh=Gp,rh=nc,oh=eh,ih=/[\\^$.*+?()[\]{}|]/g,ah=/^\[object .+?Constructor\]$/,sh=Function.prototype,ch=Object.prototype,lh=sh.toString,uh=ch.hasOwnProperty,dh=RegExp("^"+lh.call(uh).replace(ih,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function fh(e){if(!rh(e)||nh(e))return!1;var t=th(e)?dh:ah;return t.test(oh(e))}var ph=fh;function hh(e,t){return e==null?void 0:e[t]}var vh=hh,_h=ph,gh=vh;function wh(e,t){var n=gh(e,t);return _h(n)?n:void 0}var oc=wh,mh=oc,yh=mh(Object,"create"),ar=yh,ic=ar;function bh(){this.__data__=ic?ic(null):{},this.size=0}var xh=bh;function kh(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var $h=kh,jh=ar,Sh="__lodash_hash_undefined__",Eh=Object.prototype,Ch=Eh.hasOwnProperty;function Oh(e){var t=this.__data__;if(jh){var n=t[e];return n===Sh?void 0:n}return Ch.call(t,e)?t[e]:void 0}var Ah=Oh,Th=ar,Ph=Object.prototype,Rh=Ph.hasOwnProperty;function Dh(e){var t=this.__data__;return Th?t[e]!==void 0:Rh.call(t,e)}var Nh=Dh,Lh=ar,Mh="__lodash_hash_undefined__";function Ih(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Lh&&t===void 0?Mh:t,this}var Fh=Ih,Hh=xh,Uh=$h,Vh=Ah,zh=Nh,Wh=Fh;function zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}zt.prototype.clear=Hh,zt.prototype.delete=Uh,zt.prototype.get=Vh,zt.prototype.has=zh,zt.prototype.set=Wh;var Bh=zt;function Yh(){this.__data__=[],this.size=0}var Kh=Yh;function qh(e,t){return e===t||e!==e&&t!==t}var Xh=qh,Gh=Xh;function Zh(e,t){for(var n=e.length;n--;)if(Gh(e[n][0],t))return n;return-1}var sr=Zh,Jh=sr,Qh=Array.prototype,ev=Qh.splice;function tv(e){var t=this.__data__,n=Jh(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ev.call(t,n,1),--this.size,!0}var nv=tv,rv=sr;function ov(e){var t=this.__data__,n=rv(t,e);return n<0?void 0:t[n][1]}var iv=ov,av=sr;function sv(e){return av(this.__data__,e)>-1}var cv=sv,lv=sr;function uv(e,t){var n=this.__data__,r=lv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var dv=uv,fv=Kh,pv=nv,hv=iv,vv=cv,_v=dv;function Wt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Wt.prototype.clear=fv,Wt.prototype.delete=pv,Wt.prototype.get=hv,Wt.prototype.has=vv,Wt.prototype.set=_v;var gv=Wt,wv=oc,mv=Mo,yv=wv(mv,"Map"),bv=yv,ac=Bh,xv=gv,kv=bv;function $v(){this.size=0,this.__data__={hash:new ac,map:new(kv||xv),string:new ac}}var jv=$v;function Sv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ev=Sv,Cv=Ev;function Ov(e,t){var n=e.__data__;return Cv(t)?n[typeof t=="string"?"string":"hash"]:n.map}var cr=Ov,Av=cr;function Tv(e){var t=Av(this,e).delete(e);return this.size-=t?1:0,t}var Pv=Tv,Rv=cr;function Dv(e){return Rv(this,e).get(e)}var Nv=Dv,Lv=cr;function Mv(e){return Lv(this,e).has(e)}var Iv=Mv,Fv=cr;function Hv(e,t){var n=Fv(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Uv=Hv,Vv=jv,zv=Pv,Wv=Nv,Bv=Iv,Yv=Uv;function Bt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Bt.prototype.clear=Vv,Bt.prototype.delete=zv,Bt.prototype.get=Wv,Bt.prototype.has=Bv,Bt.prototype.set=Yv;var Kv=Bt,sc=Kv,qv="Expected a function";function Uo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(qv);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Uo.Cache||sc),n}Uo.Cache=sc;var Xv=Uo,Gv=Xv,Zv=500;function Jv(e){var t=Gv(e,function(r){return n.size===Zv&&n.clear(),r}),n=t.cache;return t}var Qv=Jv,e_=Qv,t_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n_=/\\(\\)?/g,r_=e_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(t_,function(n,r,o,i){t.push(o?i.replace(n_,"$1"):r||n)}),t}),o_=r_;function i_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var a_=i_,cc=Io,s_=a_,c_=Lo,l_=Fo,u_=1/0,lc=cc?cc.prototype:void 0,uc=lc?lc.toString:void 0;function dc(e){if(typeof e=="string")return e;if(c_(e))return s_(e,dc)+"";if(l_(e))return uc?uc.call(e):"";var t=e+"";return t=="0"&&1/e==-u_?"-0":t}var d_=dc,f_=d_;function p_(e){return e==null?"":f_(e)}var h_=p_,v_=Lo,__=Lp,g_=o_,w_=h_;function m_(e,t){return v_(e)?e:__(e,t)?[e]:g_(w_(e))}var y_=m_,b_=Fo,x_=1/0;function k_(e){if(typeof e=="string"||b_(e))return e;var t=e+"";return t=="0"&&1/e==-x_?"-0":t}var $_=k_,j_=y_,S_=$_;function E_(e,t){t=j_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[S_(t[n++])];return n&&n==r?e:void 0}var C_=E_,O_=C_;function A_(e,t,n){var r=e==null?void 0:O_(e,t);return r===void 0?n:r}var T_=A_;const P_=Gd(T_),lr=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),fc=Oe({base:"ijs-job rounded-job-card bg-job-card-bg ring-width-job-card ring-job-card-stroke flex gap-4 fr ease-expo-out min-w-0 p-4 transition-all duration-medium",variants:{interactive:{true:"active:bg-job-card-bg-active active:ring-job-card-stroke-active",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),Vo=({job:e,property:t})=>{if(!t)return null;const n=P_(e.raw,t.key);return t.transform?t.transform(n):n},R_=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),pc=e=>Array.isArray(e)?e:[e],D_=1e3*60*60*24*7,N_=({job:e,config:t})=>{var u,f,c,p;const n=t.subheading?Vo({job:e,property:t.subheading}):null,r=t.infoTags.flatMap(d=>pc(Vo({job:e,property:d}))).filter(Boolean),o=pc((u=t.overrides)!=null&&u.salary?Vo({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),i=t.postedDate??"show",a=(f=t.overrides)!=null&&f.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,s=t.newUnderDays??7,l=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-s*D_:!1;return w("a",{onMouseEnter:(c=t.overrides)==null?void 0:c.onMouseEnter,onClick:(p=t.overrides)==null?void 0:p.onClick,href:a,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:fc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(R_,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),l&&i!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((d,v)=>w("span",{class:Be({variant:"monetaryWeak",size:"xs"}),children:d},v))}),r.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(d=>w("li",{class:Be({size:"xs",class:"max-w-full truncate"}),children:d},d))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(St,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},hc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:fc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(lr,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(lr,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(lr,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Be({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(St,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},L_=({state:e,fetchNextPage:t,config:n})=>e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Kn}).map((r,o)=>w("li",{children:w(hc,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):w("button",{class:qn({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),M_=({pagination:e})=>(ve(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),I_=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=$e(1);return w(F,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return w(gn,{Fallback:ct,children:w(F_,{appliedFilters:e,apiClient:t,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},F_=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{data:f,error:c,state:p,swr:d}=ro(No(Qn({filter:e,baseKey:r.toString()}),()=>za({apiClient:t,logger:n,filters:e,page:r}),{...oo,fallbackData:u}));switch(p){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(lr,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Kn}).map((v,h)=>w("li",{children:w(hc,{seed:h,animationDelay:(h-Kn)*.1,config:s})},h))})]});case"error":return w(ct,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(ve(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(St,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const v=f.pagination.last_page!==f.pagination.current_page;return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:M_({pagination:f.pagination})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:w(N_,{job:h,config:s})},h.id))}),v&&i&&w(L_,{state:p,fetchNextPage:a,config:s})]})}default:ge(p)}},zo=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],i=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:i};break}case"many":{const o=r[t],i=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:i};break}default:ge(r.select)}return n},{}),H_=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=we(null),[u,f]=$e(()=>({default:!0,filters:zo(n,"defaultValue")}));return w("div",{ref:l,class:r,id:Fa,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w(gn,{Fallback:ct,children:w("div",{class:"flex flex-col gap-2",children:[w(rp,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:l,logger:t,apiClient:e}),s.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(Dd,{appliedFilters:u.filters,analytics:o,apiClient:e,logger:t,theme:s.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(gn,{Fallback:ct,children:w(I_,{appliedFilters:u.filters,logger:t,apiClient:e,jobCardConfig:s.jobCard,initialData:u.default?i==null?void 0:i.jobs:void 0},Qn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},U_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[2\\.5ch\\]{width:2.5ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
18
18
  `;var V_=["1","2","3","4","5","6","7","8","9","10","11","12"],z_={light:{1:[98.8,.015],2:[97.8,.018],3:[95.8,.025],4:[92,.04],5:[89,.05],6:[85,.07],7:[80.5,.08],8:[74,.11],9:[60,.22],10:[56,.23],11:[50,.19],12:[25,.18]},dark:{1:[19,.015],2:[21,.018],3:[25.5,.055],4:[29.3,.084],5:[33.5,.098],6:[39.05,.107],7:[45,.11],8:[55,.13],9:[60,.22],10:[67,.18],11:[79.3,.12],12:[95,.04]}},W_=(e,t=1,n)=>r=>{const[o,i]=z_[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},Wo=e=>{const t=W_(e.hue,e.chroma,e.mode);return Object.fromEntries(V_.map(n=>[e.prefix+n,e.transform(t(n))]))},Bo=e=>e,B_=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},ur=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Yo=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(ur(e)&&ur(n))for(const r in n){const o=n[r];if(ur(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];ur(i)&&Yo(i,o)}else Object.assign(e,{[r]:n[r]})}return Yo(e,...t)},Y_=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},K_=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=B_(Yo(s,l,u)),c=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const Se=e=>{const t=[],n=r=>({with:(o,i)=>(t.push({pattern:o,fn:i}),n(r)),otherwise:o=>{e:for(const{fn:i,pattern:a}of t){for(const s in a)if(a[s]!==r[s])continue e;return i(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(e)},[Ko,qo,Ye]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],q_=K_().core(({theme:e})=>{var t,n;return{color:{black:Ko,white:qo,lowest:e.mode==="light"?qo:Ko,highest:e.mode==="light"?Ko:qo,...Wo({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Bo}),...Wo({prefix:"n-",hue:((t=e.neutral)==null?void 0:t.hue)??e.accent.hue,chroma:((n=e.neutral)==null?void 0:n.chroma)??.05,mode:e.mode,transform:Bo}),...Wo({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode,transform:Bo})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,f,c,p,d,v,h,g,_,y,b,m,x,k,O,$,C,j,R;const r=(I,L)=>n.core.color[I].replace(")",` / ${L})`),{typography:o,highlights:i}=t,a=((s=t.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=t.typography.jobHeading)==null?void 0:u.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((v=(d=o.filter)==null?void 0:d.weight)==null?void 0:v.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((g=o.tag)==null?void 0:g.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((b=(y=o.tag)==null?void 0:y.weight)==null?void 0:b.toString())??((m=o.weight)==null?void 0:m.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((O=o.weight)==null?void 0:O.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((j=(C=o.input)==null?void 0:C.weight)==null?void 0:j.toString())??((R=o.weight)==null?void 0:R.toString())??"inherit","app-bg":e("color.lowest"),copy:e(a?"color.highest":"color.n-12"),"copy-lowcontrast":e("color.n-11"),"copy-info":e(a?"color.n-11":"color.n-10"),"copy-icon":e(a?"color.n-12":"color.n-11"),"copy-accent":e(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":e(a?"color.a-12":"color.a-11"),"copy-accent-icon":e(a?"color.a-12":"color.a-11"),"copy-inverted":e("color.lowest"),"copy-inverted-lowcontrast":e("color.n-4"),"copy-inverted-icon":e("color.n-3"),"tag-neutral-weak-bg":i==="fill"?e("color.n-2"):Ye,"tag-neutral-weak-copy":e("color.n-12"),"tag-neutral-weak-stroke-color":e(i==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":i==="fill"?e("color.n-12"):Ye,"tag-neutral-strong-copy":e(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":r(a?"n-12":"n-4",i==="stroke"?1:0),"tag-monetary-weak-bg":e("color.m-3"),"tag-monetary-weak-copy":e("color.m-11"),"tag-monetary-weak-stroke-color":e("color.m-4"),"tag-accent-strong-bg":t.mode==="dark"?e("color.a-9"):e("color.a-11"),"tag-accent-strong-copy":e("color.white"),"tag-accent-strong-stroke-color":Ye,"radius-app":Se(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Se(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Se(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Se(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Se(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Se(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Se(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(a?"n-5":"n-4",.01),"interactive-neutral-bg-hover":e(a?"color.n-5":"color.n-4"),"interactive-neutral-text":e("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":e(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":e("color.a-11"),"radius-interactive":Se(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):Ye,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):Ye,"section-weak-stroke-color":i==="fill"?Ye:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?Ye:e(a?"color.n-11":"color.n-4"),"section-stroke-width":Se(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Se(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ye),"job-card-bg-active":Se(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ye),"job-card-stroke-color":e(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":e("color.a-9"),"job-card-stroke-width":Se(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),X_=Y_({prefix:"i-"}),G_=e=>{const t=q_.from({theme:e,getToken:X_}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Fa} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ const payPeriods = {
3
+ ANNUALLY: "per year",
4
+ DAILY: "per day",
5
+ HOURLY: "per hour",
6
+ MONTHLY: "per month",
7
+ WEEKLY: "per week"
8
+ };
9
+ const getSalaryAsText = (params) => {
10
+ const { salary, config } = params;
11
+ const numberFormatter = new Intl.NumberFormat(config.locales, {
12
+ style: "currency",
13
+ currency: salary.pay_currency,
14
+ // @ts-expect-error - it exists, but TS doesn't know it
15
+ trailingZeroDisplay: "stripIfInteger"
16
+ });
17
+ if (salary.pay_display === false)
18
+ return void 0;
19
+ if (salary.pay_mask)
20
+ return "Competitive";
21
+ if (salary.pay_max && isNaN(+salary.pay_max))
22
+ return "Invalid salary";
23
+ if (salary.pay_min && isNaN(+salary.pay_min))
24
+ return "Invalid salary";
25
+ if (salary.pay && isNaN(+salary.pay))
26
+ return "Invalid salary";
27
+ const period = salary.pay_type && salary.pay_type in payPeriods ? payPeriods[salary.pay_type] : void 0;
28
+ if (salary.pay)
29
+ return [numberFormatter.format(+salary.pay), period].filter(Boolean).join(" ");
30
+ if (salary.pay_max && salary.pay_min)
31
+ return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), period].filter(Boolean).join(" ");
32
+ if (salary.pay_max)
33
+ return "Up to " + [numberFormatter.format(+salary.pay_max), period].filter(Boolean).join(" ");
34
+ if (salary.pay_min)
35
+ return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
36
+ return "Invalid salary";
37
+ };
38
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
39
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
40
+ const then = to instanceof Date ? to : new Date(to);
41
+ const diff = then.getTime() - from.getTime();
42
+ const diffIn = {
43
+ days: Math.round(diff / 1e3 / 60 / 60 / 24),
44
+ months: Math.round(diff / 1e3 / 60 / 60 / 24 / 30)
45
+ };
46
+ if (diffIn.days === 0)
47
+ return "today";
48
+ if (Math.abs(diffIn.days) < 30)
49
+ return formatter.format(diffIn.days, "days");
50
+ if (Math.abs(diffIn.days) < 3)
51
+ return formatter.format(diffIn.months, "months");
52
+ return diffIn.months < 0 ? "over 30 days ago" : "in over 30 days";
53
+ };
54
+ exports.getRelativeTimeDifference = getRelativeTimeDifference;
55
+ exports.getSalaryAsText = getSalaryAsText;
@@ -0,0 +1,56 @@
1
+ const payPeriods = {
2
+ ANNUALLY: "per year",
3
+ DAILY: "per day",
4
+ HOURLY: "per hour",
5
+ MONTHLY: "per month",
6
+ WEEKLY: "per week"
7
+ };
8
+ const getSalaryAsText = (params) => {
9
+ const { salary, config } = params;
10
+ const numberFormatter = new Intl.NumberFormat(config.locales, {
11
+ style: "currency",
12
+ currency: salary.pay_currency,
13
+ // @ts-expect-error - it exists, but TS doesn't know it
14
+ trailingZeroDisplay: "stripIfInteger"
15
+ });
16
+ if (salary.pay_display === false)
17
+ return void 0;
18
+ if (salary.pay_mask)
19
+ return "Competitive";
20
+ if (salary.pay_max && isNaN(+salary.pay_max))
21
+ return "Invalid salary";
22
+ if (salary.pay_min && isNaN(+salary.pay_min))
23
+ return "Invalid salary";
24
+ if (salary.pay && isNaN(+salary.pay))
25
+ return "Invalid salary";
26
+ const period = salary.pay_type && salary.pay_type in payPeriods ? payPeriods[salary.pay_type] : void 0;
27
+ if (salary.pay)
28
+ return [numberFormatter.format(+salary.pay), period].filter(Boolean).join(" ");
29
+ if (salary.pay_max && salary.pay_min)
30
+ return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), period].filter(Boolean).join(" ");
31
+ if (salary.pay_max)
32
+ return "Up to " + [numberFormatter.format(+salary.pay_max), period].filter(Boolean).join(" ");
33
+ if (salary.pay_min)
34
+ return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
35
+ return "Invalid salary";
36
+ };
37
+ const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
38
+ const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
39
+ const then = to instanceof Date ? to : new Date(to);
40
+ const diff = then.getTime() - from.getTime();
41
+ const diffIn = {
42
+ days: Math.round(diff / 1e3 / 60 / 60 / 24),
43
+ months: Math.round(diff / 1e3 / 60 / 60 / 24 / 30)
44
+ };
45
+ if (diffIn.days === 0)
46
+ return "today";
47
+ if (Math.abs(diffIn.days) < 30)
48
+ return formatter.format(diffIn.days, "days");
49
+ if (Math.abs(diffIn.days) < 3)
50
+ return formatter.format(diffIn.months, "months");
51
+ return diffIn.months < 0 ? "over 30 days ago" : "in over 30 days";
52
+ };
53
+ export {
54
+ getRelativeTimeDifference as a,
55
+ getSalaryAsText as g
56
+ };
package/dist/index.cjs CHANGED
@@ -7,6 +7,7 @@ var __publicField = (obj, key, value) => {
7
7
  };
8
8
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
9
9
  const sdk = require("@inploi/sdk");
10
+ const datetime = require("./datetime-5adbbd63.cjs");
10
11
  var exhaustive = (value) => {
11
12
  throw new Error(`Unhandled discriminated union member: ${JSON.stringify(value)}`);
12
13
  };
@@ -1478,58 +1479,6 @@ function url(message = "Invalid URL") {
1478
1479
  const JOB_SEARCH_ELEMENT_ID = "inploi-job-search";
1479
1480
  const JOB_SEARCH_SCOPE_ELEMENT_ID = "ijs";
1480
1481
  const PAGE_SIZE = 10;
1481
- const payPeriods = {
1482
- ANNUALLY: "per year",
1483
- DAILY: "per day",
1484
- HOURLY: "per hour",
1485
- MONTHLY: "per month",
1486
- WEEKLY: "per week"
1487
- };
1488
- const getSalaryAsText = (params) => {
1489
- const { salary, config } = params;
1490
- const numberFormatter = new Intl.NumberFormat(config.locales, {
1491
- style: "currency",
1492
- currency: salary.pay_currency,
1493
- // @ts-expect-error - it exists, but TS doesn't know it
1494
- trailingZeroDisplay: "stripIfInteger"
1495
- });
1496
- if (salary.pay_display === false)
1497
- return void 0;
1498
- if (salary.pay_mask)
1499
- return "Competitive";
1500
- if (salary.pay_max && isNaN(+salary.pay_max))
1501
- return "Invalid salary";
1502
- if (salary.pay_min && isNaN(+salary.pay_min))
1503
- return "Invalid salary";
1504
- if (salary.pay && isNaN(+salary.pay))
1505
- return "Invalid salary";
1506
- const period = salary.pay_type && salary.pay_type in payPeriods ? payPeriods[salary.pay_type] : void 0;
1507
- if (salary.pay)
1508
- return [numberFormatter.format(+salary.pay), period].filter(Boolean).join(" ");
1509
- if (salary.pay_max && salary.pay_min)
1510
- return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), period].filter(Boolean).join(" ");
1511
- if (salary.pay_max)
1512
- return "Up to " + [numberFormatter.format(+salary.pay_max), period].filter(Boolean).join(" ");
1513
- if (salary.pay_min)
1514
- return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1515
- return "Invalid salary";
1516
- };
1517
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1518
- const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1519
- const then = to instanceof Date ? to : new Date(to);
1520
- const diff = then.getTime() - from.getTime();
1521
- const diffIn = {
1522
- days: Math.round(diff / 1e3 / 60 / 60 / 24),
1523
- months: Math.round(diff / 1e3 / 60 / 60 / 24 / 30)
1524
- };
1525
- if (diffIn.days === 0)
1526
- return "today";
1527
- if (Math.abs(diffIn.days) < 30)
1528
- return formatter.format(diffIn.days, "days");
1529
- if (Math.abs(diffIn.days) < 3)
1530
- return formatter.format(diffIn.months, "months");
1531
- return diffIn.months < 0 ? "over 30 days ago" : "in over 30 days";
1532
- };
1533
1482
  const AvailablePropertiesSchema = record(
1534
1483
  array(object({ label: coerce(string(), String), value: coerce(string(), String), jobs: number() }))
1535
1484
  );
@@ -1586,12 +1535,12 @@ const JobSchema = transform(JobPayloadSchema, (schema) => {
1586
1535
  },
1587
1536
  employmentType: schema.employment_type,
1588
1537
  locationType: schema.location_type,
1589
- pay: getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1538
+ pay: datetime.getSalaryAsText({ salary: schema, config: { locales: void 0 } }),
1590
1539
  description: schema.description,
1591
1540
  title: schema.title,
1592
1541
  contractType: schema.contract_type,
1593
1542
  href: schema.href,
1594
- relativePostedDate: schema.created_at ? getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1543
+ relativePostedDate: schema.created_at ? datetime.getRelativeTimeDifference({ to: new Date(schema.created_at) }) : "INVALID DATE",
1595
1544
  customData: schema.custom_data
1596
1545
  };
1597
1546
  });
@@ -3742,13 +3691,16 @@ const CurrentValueTag = ({ query, property, selectedValues }) => {
3742
3691
  }
3743
3692
  };
3744
3693
  const useMediaQuery = (query) => {
3745
- const mediaQuery = window.matchMedia(query);
3746
- const [matches, setMatches] = h(mediaQuery.matches);
3694
+ const [matches, setMatches] = h(false);
3747
3695
  y(() => {
3748
- const handler = () => setMatches(mediaQuery.matches);
3749
- mediaQuery.addEventListener("change", handler);
3750
- return () => mediaQuery.removeEventListener("change", handler);
3751
- }, [mediaQuery]);
3696
+ if (typeof window === "undefined")
3697
+ return;
3698
+ const mediaQuery = window.matchMedia(query);
3699
+ const updateMatches = () => setMatches(mediaQuery.matches);
3700
+ updateMatches();
3701
+ mediaQuery.addEventListener("change", updateMatches);
3702
+ return () => mediaQuery.removeEventListener("change", updateMatches);
3703
+ }, [query]);
3752
3704
  return matches;
3753
3705
  };
3754
3706
  const TAG_HEIGHT = 44;
package/dist/index.js CHANGED
@@ -5,6 +5,7 @@ var __publicField = (obj, key, value) => {
5
5
  return value;
6
6
  };
7
7
  import { createPlugin } from "@inploi/sdk";
8
+ import { g as getSalaryAsText, a as getRelativeTimeDifference } from "./datetime-ef341067.js";
8
9
  var exhaustive = (value) => {
9
10
  throw new Error(`Unhandled discriminated union member: ${JSON.stringify(value)}`);
10
11
  };
@@ -1476,58 +1477,6 @@ function url(message = "Invalid URL") {
1476
1477
  const JOB_SEARCH_ELEMENT_ID = "inploi-job-search";
1477
1478
  const JOB_SEARCH_SCOPE_ELEMENT_ID = "ijs";
1478
1479
  const PAGE_SIZE = 10;
1479
- const payPeriods = {
1480
- ANNUALLY: "per year",
1481
- DAILY: "per day",
1482
- HOURLY: "per hour",
1483
- MONTHLY: "per month",
1484
- WEEKLY: "per week"
1485
- };
1486
- const getSalaryAsText = (params) => {
1487
- const { salary, config } = params;
1488
- const numberFormatter = new Intl.NumberFormat(config.locales, {
1489
- style: "currency",
1490
- currency: salary.pay_currency,
1491
- // @ts-expect-error - it exists, but TS doesn't know it
1492
- trailingZeroDisplay: "stripIfInteger"
1493
- });
1494
- if (salary.pay_display === false)
1495
- return void 0;
1496
- if (salary.pay_mask)
1497
- return "Competitive";
1498
- if (salary.pay_max && isNaN(+salary.pay_max))
1499
- return "Invalid salary";
1500
- if (salary.pay_min && isNaN(+salary.pay_min))
1501
- return "Invalid salary";
1502
- if (salary.pay && isNaN(+salary.pay))
1503
- return "Invalid salary";
1504
- const period = salary.pay_type && salary.pay_type in payPeriods ? payPeriods[salary.pay_type] : void 0;
1505
- if (salary.pay)
1506
- return [numberFormatter.format(+salary.pay), period].filter(Boolean).join(" ");
1507
- if (salary.pay_max && salary.pay_min)
1508
- return [numberFormatter.formatRange(+salary.pay_min, +salary.pay_max), period].filter(Boolean).join(" ");
1509
- if (salary.pay_max)
1510
- return "Up to " + [numberFormatter.format(+salary.pay_max), period].filter(Boolean).join(" ");
1511
- if (salary.pay_min)
1512
- return "From " + [numberFormatter.format(+salary.pay_min), period].filter(Boolean).join(" ");
1513
- return "Invalid salary";
1514
- };
1515
- const DEFAULT_FORMATTER = new Intl.RelativeTimeFormat("en", { numeric: "auto" });
1516
- const getRelativeTimeDifference = ({ from = /* @__PURE__ */ new Date(), to, formatter = DEFAULT_FORMATTER }) => {
1517
- const then = to instanceof Date ? to : new Date(to);
1518
- const diff = then.getTime() - from.getTime();
1519
- const diffIn = {
1520
- days: Math.round(diff / 1e3 / 60 / 60 / 24),
1521
- months: Math.round(diff / 1e3 / 60 / 60 / 24 / 30)
1522
- };
1523
- if (diffIn.days === 0)
1524
- return "today";
1525
- if (Math.abs(diffIn.days) < 30)
1526
- return formatter.format(diffIn.days, "days");
1527
- if (Math.abs(diffIn.days) < 3)
1528
- return formatter.format(diffIn.months, "months");
1529
- return diffIn.months < 0 ? "over 30 days ago" : "in over 30 days";
1530
- };
1531
1480
  const AvailablePropertiesSchema = record(
1532
1481
  array(object({ label: coerce(string(), String), value: coerce(string(), String), jobs: number() }))
1533
1482
  );
@@ -3740,13 +3689,16 @@ const CurrentValueTag = ({ query, property, selectedValues }) => {
3740
3689
  }
3741
3690
  };
3742
3691
  const useMediaQuery = (query) => {
3743
- const mediaQuery = window.matchMedia(query);
3744
- const [matches, setMatches] = h(mediaQuery.matches);
3692
+ const [matches, setMatches] = h(false);
3745
3693
  y(() => {
3746
- const handler = () => setMatches(mediaQuery.matches);
3747
- mediaQuery.addEventListener("change", handler);
3748
- return () => mediaQuery.removeEventListener("change", handler);
3749
- }, [mediaQuery]);
3694
+ if (typeof window === "undefined")
3695
+ return;
3696
+ const mediaQuery = window.matchMedia(query);
3697
+ const updateMatches = () => setMatches(mediaQuery.matches);
3698
+ updateMatches();
3699
+ mediaQuery.addEventListener("change", updateMatches);
3700
+ return () => mediaQuery.removeEventListener("change", updateMatches);
3701
+ }, [query]);
3750
3702
  return matches;
3751
3703
  };
3752
3704
  const TAG_HEIGHT = 44;
package/dist/utils.cjs CHANGED
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const datetime = require("./datetime-5adbbd63.cjs");
3
4
  const getStatefulPropertiesFromSearchParams = (properties, searchParams) => {
4
5
  const newProperties = structuredClone(properties);
5
6
  newProperties.forEach((property) => {
@@ -12,4 +13,6 @@ const getStatefulPropertiesFromSearchParams = (properties, searchParams) => {
12
13
  });
13
14
  return newProperties;
14
15
  };
16
+ exports.getRelativeTimeDifference = datetime.getRelativeTimeDifference;
17
+ exports.getSalaryAsText = datetime.getSalaryAsText;
15
18
  exports.getStatefulPropertiesFromSearchParams = getStatefulPropertiesFromSearchParams;
package/dist/utils.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export { getStatefulPropertiesFromSearchParams } from './lib/utils';
2
+ export { getSalaryAsText } from './lib/currency';
3
+ export { getRelativeTimeDifference } from './lib/datetime';
package/dist/utils.js CHANGED
@@ -1,3 +1,4 @@
1
+ import { a, g } from "./datetime-ef341067.js";
1
2
  const getStatefulPropertiesFromSearchParams = (properties, searchParams) => {
2
3
  const newProperties = structuredClone(properties);
3
4
  newProperties.forEach((property) => {
@@ -11,5 +12,7 @@ const getStatefulPropertiesFromSearchParams = (properties, searchParams) => {
11
12
  return newProperties;
12
13
  };
13
14
  export {
15
+ a as getRelativeTimeDifference,
16
+ g as getSalaryAsText,
14
17
  getStatefulPropertiesFromSearchParams
15
18
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inploi/plugin-job-search",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "type": "module",
5
5
  "main": "dist/plugin-job-search.js",
6
6
  "types": "dist/index.d.ts",