@inploi/plugin-job-search 0.3.0 → 0.5.0
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 +5 -5
- package/dist/job-search.api.d.ts +16 -0
- package/dist/job-search.d.ts +9 -1
- package/dist/job-search.schemas.d.ts +62 -0
- package/dist/plugin-job-search.cjs +258 -100
- package/dist/plugin-job-search.js +258 -100
- package/package.json +10 -6
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,configurable:!0,writable:!0,value:ht}):F[U]=ht;var cr=(F,U,ht)=>(Na(F,typeof U!="symbol"?U+"":U,ht),ht);(function(){"use strict";var F=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function U(t,e){if(!t)throw new Error(e)}function ht(t,e){return t in e}var vo=t=>t,Nt,w,ur,gt,dr,fr,ge,pr,Mt={},_r=[],wo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Gt=Array.isArray;function X(t,e){for(var r in e)t[r]=e[r];return t}function hr(t){var e=t.parentNode;e&&e.removeChild(t)}function V(t,e,r){var n,o,i,a={};for(i in e)i=="key"?n=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?Nt.call(arguments,2):r),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return Ht(t,a,n,o,null)}function Ht(t,e,r,n,o){var i={type:t,props:e,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ur,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(i),i}function gr(){return{current:null}}function T(t){return t.children}function W(t,e){this.props=t,this.context=e}function jt(t,e){if(e==null)return t.__?jt(t.__,t.__i+1):null;for(var r;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null)return r.__e;return typeof t.type=="function"?jt(t):null}function vr(t){var e,r;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((r=t.__k[e])!=null&&r.__e!=null){t.__e=t.__c.base=r.__e;break}return vr(t)}}function ve(t){(!t.__d&&(t.__d=!0)&>.push(t)&&!Jt.__r++||dr!==w.debounceRendering)&&((dr=w.debounceRendering)||fr)(Jt)}function Jt(){var t,e,r,n,o,i,a,l,d;for(gt.sort(ge);t=gt.shift();)t.__d&&(e=gt.length,n=void 0,i=(o=(r=t).__v).__e,l=[],d=[],(a=r.__P)&&((n=X({},o)).__v=o.__v+1,w.vnode&&w.vnode(n),we(a,n,o,r.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,l,i??jt(o),!!(32&o.__u),d),n.__.__k[n.__i]=n,kr(l,n,d),n.__e!=i&&vr(n)),gt.length>e&>.sort(ge));Jt.__r=0}function wr(t,e,r,n,o,i,a,l,d,c,f){var s,p,_,v,g,y=n&&n.__k||_r,h=e.length;for(r.__d=d,yo(r,e,y),d=r.__d,s=0;s<h;s++)(_=r.__k[s])!=null&&typeof _!="boolean"&&typeof _!="function"&&(p=_.__i===-1?Mt:y[_.__i]||Mt,_.__i=s,we(t,_,p,o,i,a,l,d,c,f),v=_.__e,_.ref&&p.ref!=_.ref&&(p.ref&&ye(p.ref,null,_),f.push(_.ref,_.__c||v,_)),g==null&&v!=null&&(g=v),65536&_.__u||p.__k===_.__k?d=yr(_,d,t):typeof _.type=="function"&&_.__d!==void 0?d=_.__d:v&&(d=v.nextSibling),_.__d=void 0,_.__u&=-196609);r.__d=d,r.__e=g}function yo(t,e,r){var n,o,i,a,l,d=e.length,c=r.length,f=c,s=0;for(t.__k=[],n=0;n<d;n++)(o=t.__k[n]=(o=e[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?Ht(null,o,null,null,o):Gt(o)?Ht(T,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?Ht(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,l=mo(o,r,a=n+s,f),o.__i=l,i=null,l!==-1&&(f--,(i=r[l])&&(i.__u|=131072)),i==null||i.__v===null?(l==-1&&s--,typeof o.type!="function"&&(o.__u|=65536)):l!==a&&(l===a+1?s++:l>a?f>d-a?s+=l-a:s--:s=l<a&&l==a-1?l-a:0,l!==n+s&&(o.__u|=65536))):(i=r[n])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=jt(i)),me(i,i,!1),r[n]=null,f--);if(f)for(n=0;n<c;n++)(i=r[n])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=jt(i)),me(i,i))}function yr(t,e,r){var n,o;if(typeof t.type=="function"){for(n=t.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=t,e=yr(n[o],e,r));return e}return t.__e!=e&&(r.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Q(t,e){return e=e||[],t==null||typeof t=="boolean"||(Gt(t)?t.some(function(r){Q(r,e)}):e.push(t)),e}function mo(t,e,r,n){var o=t.key,i=t.type,a=r-1,l=r+1,d=e[r];if(d===null||d&&o==d.key&&i===d.type)return r;if(n>(d!=null&&!(131072&d.__u)?1:0))for(;a>=0||l<e.length;){if(a>=0){if((d=e[a])&&!(131072&d.__u)&&o==d.key&&i===d.type)return a;a--}if(l<e.length){if((d=e[l])&&!(131072&d.__u)&&o==d.key&&i===d.type)return l;l++}}return-1}function mr(t,e,r){e[0]==="-"?t.setProperty(e,r??""):t[e]=r==null?"":typeof r!="number"||wo.test(e)?r:r+"px"}function Xt(t,e,r,n,o){var i;t:if(e==="style")if(typeof r=="string")t.style.cssText=r;else{if(typeof n=="string"&&(t.style.cssText=n=""),n)for(e in n)r&&e in r||mr(t.style,e,"");if(r)for(e in r)n&&r[e]===n[e]||mr(t.style,e,r[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/,"$1")),e=e.toLowerCase()in t?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=r,r?n?r.u=n.u:(r.u=Date.now(),t.addEventListener(e,i?xr:br,i)):t.removeEventListener(e,i?xr:br,i);else{if(o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(e!=="width"&&e!=="height"&&e!=="href"&&e!=="list"&&e!=="form"&&e!=="tabIndex"&&e!=="download"&&e!=="rowSpan"&&e!=="colSpan"&&e!=="role"&&e in t)try{t[e]=r??"";break t}catch{}typeof r=="function"||(r==null||r===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,r))}}function br(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(w.event?w.event(t):t)}function xr(t){return this.l[t.type+!0](w.event?w.event(t):t)}function we(t,e,r,n,o,i,a,l,d,c){var f,s,p,_,v,g,y,h,E,m,k,S,j,C,b,x=e.type;if(e.constructor!==void 0)return null;128&r.__u&&(d=!!(32&r.__u),i=[l=e.__e=r.__e]),(f=w.__b)&&f(e);t:if(typeof x=="function")try{if(h=e.props,E=(f=x.contextType)&&n[f.__c],m=f?E?E.props.value:f.__:n,r.__c?y=(s=e.__c=r.__c).__=s.__E:("prototype"in x&&x.prototype.render?e.__c=s=new x(h,m):(e.__c=s=new W(h,m),s.constructor=x,s.render=xo),E&&E.sub(s),s.props=h,s.state||(s.state={}),s.context=m,s.__n=n,p=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),x.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=X({},s.__s)),X(s.__s,x.getDerivedStateFromProps(h,s.__s))),_=s.props,v=s.state,s.__v=e,p)x.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(x.getDerivedStateFromProps==null&&h!==_&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(h,m),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(h,s.__s,m)===!1||e.__v===r.__v)){for(e.__v!==r.__v&&(s.props=h,s.state=s.__s,s.__d=!1),e.__e=r.__e,e.__k=r.__k,e.__k.forEach(function(A){A&&(A.__=e)}),k=0;k<s._sb.length;k++)s.__h.push(s._sb[k]);s._sb=[],s.__h.length&&a.push(s);break t}s.componentWillUpdate!=null&&s.componentWillUpdate(h,s.__s,m),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(_,v,g)})}if(s.context=m,s.props=h,s.__P=t,s.__e=!1,S=w.__r,j=0,"prototype"in x&&x.prototype.render){for(s.state=s.__s,s.__d=!1,S&&S(e),f=s.render(s.props,s.state,s.context),C=0;C<s._sb.length;C++)s.__h.push(s._sb[C]);s._sb=[]}else do s.__d=!1,S&&S(e),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++j<25);s.state=s.__s,s.getChildContext!=null&&(n=X(X({},n),s.getChildContext())),p||s.getSnapshotBeforeUpdate==null||(g=s.getSnapshotBeforeUpdate(_,v)),wr(t,Gt(b=f!=null&&f.type===T&&f.key==null?f.props.children:f)?b:[b],e,r,n,o,i,a,l,d,c),s.base=e.__e,e.__u&=-161,s.__h.length&&a.push(s),y&&(s.__E=s.__=null)}catch(A){e.__v=null,d||i!=null?(e.__e=l,e.__u|=d?160:32,i[i.indexOf(l)]=null):(e.__e=r.__e,e.__k=r.__k),w.__e(A,e,r)}else i==null&&e.__v===r.__v?(e.__k=r.__k,e.__e=r.__e):e.__e=bo(r.__e,e,r,n,o,i,a,d,c);(f=w.diffed)&&f(e)}function kr(t,e,r){e.__d=void 0;for(var n=0;n<r.length;n++)ye(r[n],r[++n],r[++n]);w.__c&&w.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){w.__e(i,o.__v)}})}function bo(t,e,r,n,o,i,a,l,d){var c,f,s,p,_,v,g,y=r.props,h=e.props,E=e.type;if(E==="svg"&&(o=!0),i!=null){for(c=0;c<i.length;c++)if((_=i[c])&&"setAttribute"in _==!!E&&(E?_.localName===E:_.nodeType===3)){t=_,i[c]=null;break}}if(t==null){if(E===null)return document.createTextNode(h);t=o?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,h.is&&h),i=null,l=!1}if(E===null)y===h||l&&t.data===h||(t.data=h);else{if(i=i&&Nt.call(t.childNodes),y=r.props||Mt,!l&&i!=null)for(y={},c=0;c<t.attributes.length;c++)y[(_=t.attributes[c]).name]=_.value;for(c in y)_=y[c],c=="children"||(c=="dangerouslySetInnerHTML"?s=_:c==="key"||c in h||Xt(t,c,null,_,o));for(c in h)_=h[c],c=="children"?p=_:c=="dangerouslySetInnerHTML"?f=_:c=="value"?v=_:c=="checked"?g=_:c==="key"||l&&typeof _!="function"||y[c]===_||Xt(t,c,_,y[c],o);if(f)l||s&&(f.__html===s.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(s&&(t.innerHTML=""),wr(t,Gt(p)?p:[p],e,r,n,o&&E!=="foreignObject",i,a,i?i[0]:r.__k&&jt(r,0),l,d),i!=null)for(c=i.length;c--;)i[c]!=null&&hr(i[c]);l||(c="value",v!==void 0&&(v!==t[c]||E==="progress"&&!v||E==="option"&&v!==y[c])&&Xt(t,c,v,y[c],!1),c="checked",g!==void 0&&g!==t[c]&&Xt(t,c,g,y[c],!1))}return t}function ye(t,e,r){try{typeof t=="function"?t(e):t.current=e}catch(n){w.__e(n,r)}}function me(t,e,r){var n,o;if(w.unmount&&w.unmount(t),(n=t.ref)&&(n.current&&n.current!==t.__e||ye(n,null,e)),(n=t.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){w.__e(i,e)}n.base=n.__P=null,t.__c=void 0}if(n=t.__k)for(o=0;o<n.length;o++)n[o]&&me(n[o],e,r||typeof t.type!="function");r||t.__e==null||hr(t.__e),t.__=t.__e=t.__d=void 0}function xo(t,e,r){return this.constructor(t,r)}function Et(t,e,r){var n,o,i,a;w.__&&w.__(t,e),o=(n=typeof r=="function")?null:r&&r.__k||e.__k,i=[],a=[],we(e,t=(!n&&r||e).__k=V(T,null,[t]),o||Mt,Mt,e.ownerSVGElement!==void 0,!n&&r?[r]:o?null:e.firstChild?Nt.call(e.childNodes):null,i,!n&&r?r:o?o.__e:e.firstChild,n,a),kr(i,t,a)}function be(t,e){Et(t,e,be)}function ko(t,e,r){var n,o,i,a,l=X({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?n=e[i]:i=="ref"?o=e[i]:l[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(l.children=arguments.length>3?Nt.call(arguments,2):r),Ht(t.type,l,n||t.key,o||t.ref,null)}function xe(t,e){var r={__c:e="__cC"+pr++,__:t,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(l){l.__e=!0,ve(l)})},this.sub=function(a){o.push(a);var l=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),l&&l.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Nt=_r.slice,w={__e:function(t,e,r,n){for(var o,i,a;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(t)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,n||{}),a=o.__d),a)return o.__E=o}catch(l){t=l}throw t}},ur=0,W.prototype.setState=function(t,e){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=X({},this.state),typeof t=="function"&&(t=t(X({},r),this.props)),t&&X(r,t),t!=null&&this.__v&&(e&&this._sb.push(e),ve(this))},W.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),ve(this))},W.prototype.render=T,gt=[],fr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ge=function(t,e){return t.__v.__b-e.__v.__b},Jt.__r=0,pr=0;var jr=/[\s\n\\/='"\0<>]/,Er=/^(xlink|xmlns|xml)([A-Z])/,jo=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,Eo=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,So=/["&<]/;function Qt(t){if(t.length===0||So.test(t)===!1)return t;for(var e=0,r=0,n="",o="";r<t.length;r++){switch(t.charCodeAt(r)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}r!==e&&(n+=t.slice(e,r)),n+=o,e=r+1}return r!==e&&(n+=t.slice(e,r)),n}var Sr={},Co=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Oo=/[A-Z]/g;function To(t){var e="";for(var r in t){var n=t[r];if(n!=null&&n!==""){var o=r[0]=="-"?r:Sr[r]||(Sr[r]=r.replace(Oo,"-$&").toLowerCase()),i=";";typeof n!="number"||o.startsWith("--")||Co.has(o)||(i="px;"),e=e+o+":"+n+i}}return e||void 0}var ke,vt,It,wt,Cr=[],Or=Array.isArray,je=Object.assign;function Ro(t,e){var r=w.__s;w.__s=!0,ke=w.__b,vt=w.diffed,It=w.__r,wt=w.unmount;var n=V(T,null);n.__k=[t];try{return yt(t,e||Rr,!1,void 0,n)}finally{w.__c&&w.__c(t,Cr),w.__s=r,Cr.length=0}}function Tr(){this.__d=!0}var Rr={};function Ar(t,e){var r,n=t.type,o=!0;return t.__c?(o=!1,(r=t.__c).state=r.__s):r=new n(t.props,e),t.__c=r,r.__v=t,r.props=t.props,r.context=e,r.__d=!0,r.state==null&&(r.state=Rr),r.__s==null&&(r.__s=r.state),n.getDerivedStateFromProps?r.state=je({},r.state,n.getDerivedStateFromProps(r.props,r.state)):o&&r.componentWillMount?(r.componentWillMount(),r.state=r.__s!==r.state?r.__s:r.state):!o&&r.componentWillUpdate&&r.componentWillUpdate(),It&&It(t),r.render(r.props,r.state,e)}function yt(t,e,r,n,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Qt(t+"");if(Or(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var l=t[a];l!=null&&typeof l!="boolean"&&(i+=yt(l,e,r,n,o))}return i}if(t.constructor!==void 0)return"";t.__=o,ke&&ke(t);var d,c,f,s=t.type,p=t.props,_=e;if(typeof s=="function"){if(s===T){if(p.tpl){for(var v="",g=0;g<p.tpl.length;g++)if(v+=p.tpl[g],p.exprs&&g<p.exprs.length){var y=p.exprs[g];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Or(y)?v+=y:v+=yt(y,e,r,n,t)}return v}if(p.UNSTABLE_comment)return"<!--"+Qt(p.UNSTABLE_comment||"")+"-->";c=p.children}else{if((d=s.contextType)!=null){var h=e[d.__c];_=h?h.props.value:d.__}if(s.prototype&&typeof s.prototype.render=="function")c=Ar(t,_),f=t.__c;else{t.__c=f={__v:t,props:p,context:_,setState:Tr,forceUpdate:Tr,__d:!0,__h:[]};for(var E=0;f.__d&&E++<25;)f.__d=!1,It&&It(t),c=s.call(f,p,_);f.__d=!0}if(f.getChildContext!=null&&(e=je({},e,f.getChildContext())),(s.getDerivedStateFromError||f.componentDidCatch)&&w.errorBoundaries){var m="";c=c!=null&&c.type===T&&c.key==null?c.props.children:c;try{return m=yt(c,e,r,n,t)}catch(A){return s.getDerivedStateFromError&&(f.__s=s.getDerivedStateFromError(A)),f.componentDidCatch&&f.componentDidCatch(A,{}),f.__d&&(c=Ar(t,e),(f=t.__c).getChildContext!=null&&(e=je({},e,f.getChildContext())),m=yt(c=c!=null&&c.type===T&&c.key==null?c.props.children:c,e,r,n,t)),m}finally{vt&&vt(t),t.__=void 0,wt&&wt(t)}}}var k=yt(c=c!=null&&c.type===T&&c.key==null?c.props.children:c,e,r,n,t);return vt&&vt(t),t.__=void 0,wt&&wt(t),k}var S,j="<"+s,C="";for(var b in p){var x=p[b];switch(b){case"children":S=x;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",s){case"textarea":S=x;continue;case"select":n=x;continue;case"option":n!=x||"selected"in p||(j+=" selected")}break;case"dangerouslySetInnerHTML":C=x&&x.__html;continue;case"style":typeof x=="object"&&(x=To(x));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(Er.test(b))b=b.replace(Er,"$1:$2").toLowerCase();else{if(jr.test(b))continue;b[4]!=="-"&&b!=="draggable"||x==null?r?Eo.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):jo.test(b)&&(b=b.toLowerCase()):x+=""}}x!=null&&x!==!1&&typeof x!="function"&&(j=x===!0||x===""?j+" "+b:j+" "+b+'="'+Qt(x+"")+'"')}if(jr.test(s))throw new Error(s+" is not a valid HTML tag name in "+j+">");return C||(typeof S=="string"?C=Qt(S):S!=null&&S!==!1&&S!==!0&&(C=yt(S,e,s==="svg"||s!=="foreignObject"&&r,n,t))),vt&&vt(t),t.__=void 0,wt&&wt(t),!C&&Ao.has(s)?j+"/>":j+">"+C+"</"+s+">"}var Ao=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Ee=class extends Error{constructor(e){super(e[0].message);cr(this,"issues");this.name="ValiError",this.issues=e}};function Dr(t,e){return{...t,_parse(r,n){return t._parse(e(r),n)}}}function te(t){return{issues:t}}function St(t){return{output:t}}function Do(t,e){return{reason:t==null?void 0:t.reason,validation:e.validation,origin:(t==null?void 0:t.origin)||"value",message:e.message,input:e.input,path:e.path,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function Lo(t,e){return{reason:e,origin:t==null?void 0:t.origin,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}}function st(t,e,r,n){if(!e||!e.length||r!=null&&r.skipPipe)return St(t);let o,i,a=t;for(const l of e){const d=l._parse(a);if(d.issues){o=o||Lo(r,n);for(const c of d.issues){const f=Do(o,c);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=d.output}return i?te(i):St(a)}function lt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function $o(t){return typeof t=="function"?t():t}function Po(t,e,r){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=lt(e,r);return[t,i,a]}const[n,o]=lt(t,e);return[void 0,n,o]}function ct(t,e,r,n,o,i){return{issues:[{reason:e,validation:r,origin:(t==null?void 0:t.origin)||"value",message:$o(n),input:o,issues:i,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}]}}function Lr(t){return typeof t.default=="function"?t.default():t.default}function Vo(t){return{type:"any",async:!1,pipe:t,_parse(e,r){return st(e,this.pipe,r,"any")}}}function $r(t,e,r){const[n="Invalid type",o]=lt(e,r);return{type:"array",async:!1,item:t,message:n,pipe:o,_parse(i,a){if(!Array.isArray(i))return ct(a,"type","array",this.message,i);let l;const d=[];for(let c=0;c<i.length;c++){const f=i[c],s=this.item._parse(f,a);if(s.issues){const p={type:"array",input:i,key:c,value:f};for(const _ of s.issues)_.path?_.path.unshift(p):_.path=[p],l==null||l.push(_);if(l||(l=s.issues),a!=null&&a.abortEarly)break}else d.push(s.output)}return l?te(l):st(d,this.pipe,a,"array")}}}function Pr(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"boolean",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="boolean"?ct(i,"type","boolean",this.message,o):st(o,this.pipe,i,"boolean")}}}function ut(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(r,n){return r!==this.literal?ct(n,"type","literal",this.message,r):St(r)}}}function Ct(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(r,n){if(r===null){const o=Lr(this);if(o===void 0)return St(r);r=o}return this.wrapped._parse(r,n)}}}function Ft(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"number",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="number"||isNaN(o)?ct(i,"type","number",this.message,o):st(o,this.pipe,i,"number")}}}function ee(t,e,r,n){const[o,i="Invalid type",a]=Po(e,r,n);let l;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(d,c){if(!d||typeof d!="object")return ct(c,"type","object",this.message,d);l=l||Object.entries(this.entries);let f;const s={};for(const[p,_]of l){const v=d[p],g=_._parse(v,c);if(g.issues){const y={type:"object",input:d,key:p,value:v};for(const h of g.issues)h.path?h.path.unshift(y):h.path=[y],f==null||f.push(h);if(f||(f=g.issues),c!=null&&c.abortEarly)break}else(g.output!==void 0||p in d)&&(s[p]=g.output)}if(this.rest&&!(c!=null&&c.abortEarly&&f)){for(const p in d)if(!(p in this.entries)){const _=d[p],v=this.rest._parse(_,c);if(v.issues){const g={type:"object",input:d,key:p,value:_};for(const y of v.issues)y.path?y.path.unshift(g):y.path=[g],f==null||f.push(y);if(f||(f=v.issues),c!=null&&c.abortEarly)break}else s[p]=v.output}}return f?te(f):st(s,this.pipe,c,"object")}}}function Ot(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(r,n){if(r===void 0){const o=Lr(this);if(o===void 0)return St(r);r=o}return this.wrapped._parse(r,n)}}}function P(t,e){const[r="Invalid type",n]=lt(t,e);return{type:"string",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="string"?ct(i,"type","string",this.message,o):st(o,this.pipe,i,"string")}}}function No(t,e,r,n){if(typeof e=="object"&&!Array.isArray(e)){const[a,l]=lt(r,n);return[t,e,a,l]}const[o,i]=lt(e,r);return[P(),t,o,i]}var Mo=["__proto__","prototype","constructor"];function Vr(t,e,r,n){const[o,i,a="Invalid type",l]=No(t,e,r,n);return{type:"record",async:!1,key:o,value:i,message:a,pipe:l,_parse(d,c){if(!d||typeof d!="object")return ct(c,"type","record",this.message,d);let f;const s={};for(const[p,_]of Object.entries(d))if(!Mo.includes(p)){let v;const g=this.key._parse(p,{origin:"key",abortEarly:c==null?void 0:c.abortEarly,abortPipeEarly:c==null?void 0:c.abortPipeEarly,skipPipe:c==null?void 0:c.skipPipe});if(g.issues){v={type:"record",input:d,key:p,value:_};for(const h of g.issues)h.path=[v],f==null||f.push(h);if(f||(f=g.issues),c!=null&&c.abortEarly)break}const y=this.value._parse(_,c);if(y.issues){v=v||{type:"record",input:d,key:p,value:_};for(const h of y.issues)h.path?h.path.unshift(v):h.path=[v],f==null||f.push(h);if(f||(f=y.issues),c!=null&&c.abortEarly)break}!g.issues&&!y.issues&&(s[g.output]=y.output)}return f?te(f):st(s,this.pipe,c,"record")}}}function Nr(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(r,n){let o,i;for(const a of this.options){const l=a._parse(r,n);if(l.issues)if(o)for(const d of l.issues)o.push(d);else o=l.issues;else{i=[l.output];break}}return i?St(i[0]):ct(n,"type","union",this.message,r,o)}}}function Mr(t,e,r){const n=t._parse(e,r);if(n.issues)throw new Ee(n.issues);return n.output}function Hr(t,e,r){return{...t,_parse(n,o){const i=t._parse(n,o);if(i.issues)return i;const a=e(i.output);return r&&!Array.isArray(r)?r._parse(a,o):st(a,r,o,typeof a)}}}const Ir="inploi-job-search",Fr="ijs",re=10,Ho=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Io=({from:t=new Date,to:e,formatter:r=Ho})=>{const o=(e instanceof Date?e:new Date(e)).getTime()-t.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?r.format(i.days,"days"):Math.abs(i.days)<3?r.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},Fo=1e3*60*60*24*7,Uo=Vr($r(ee({label:Dr(P(),String),value:Dr(P(),String)}))),zo=ee({total:Ft(),current_page:Ft(),per_page:Ft(),last_page:Ft()}),Ur={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Wo=ee({id:Ft(),company_name:P(),employment_type:P(),location_type:Nr([ut("LOCATION"),ut("REMOTE"),ut("HYBRID")]),pay_type:Nr([ut("ANNUALLY"),ut("HOURLY"),ut("MONTHLY"),ut("WEEKLY"),ut("DAILY")]),pay_currency:P(),pay_mask:Pr(),pay_display:Pr(),pay:Ct(P()),pay_min:Ct(P()),pay_max:Ct(P()),description:P(),title:P(),contract_type:Ct(P()),created_at:Ct(P()),custom_data:Ct(Vr(Vo())),href:P(),industry:Ot(P()),category:Ot(P()),skills:Ot(P()),town:Ot(P()),city:Ot(P()),country:Ot(P())}),Bo=Hr(Wo,t=>{const e=t.created_at?new Date(t.created_at).getTime()>Date.now()-Fo:!1,r=new Intl.NumberFormat(void 0,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"}),n=(()=>{if(t.pay_display!==!1){if(t.pay_mask)return"Competitive";if(t.pay_max&&t.pay_min)return[r.formatRange(+t.pay_min,+t.pay_max),Ur[t.pay_type]].join(" ");if(t.pay)return[r.format(+t.pay),Ur[t.pay_type]].join(" ");if(!(!t.pay&&!t.pay_min&&!t.pay_max))throw new Error("Invalid pay data")}})();return{raw:t,id:t.id,isNew:e,company:{name:t.company_name},employmentType:t.employment_type,locationType:t.location_type,pay:n,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Io({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Ko=Hr(ee({data:$r(Bo),pagination:zo}),t=>({pagination:t.pagination,results:t.data})),zr=t=>Object.fromEntries(Object.entries(t).map(([e,r])=>[e,(r==null?void 0:r.value)??null])),Wr=async({apiClient:t,filters:e,logger:r,signal:n})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:zr(e)}),signal:n});return Mr(Uo,o)}catch(o){throw o instanceof Ee?r.error(o.message,o.issues):r.error(o),o}},Br=async({apiClient:t,logger:e,signal:r,filters:n,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${re}`,{method:"POST",body:JSON.stringify({filters:zr(n)}),signal:r});return Mr(Ko,i)}catch(i){throw i instanceof Ee?e.error(i.message,i.issues):e.error(i),i}},Se=t=>{if(t.error)return{state:"error",error:t.error};if(t.isLoading&&t.data===void 0)return{state:"loading"};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data};throw new Error("Unhandled data state")},Ce={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function Kr(t){var e,r,n="";if(typeof t=="string"||typeof t=="number")n+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(r=Kr(t[e]))&&(n&&(n+=" "),n+=r);else for(e in t)t[e]&&(n&&(n+=" "),n+=e);return n}function Oe(){for(var t,e,r=0,n="";r<arguments.length;)(t=arguments[r++])&&(e=Kr(t))&&(n&&(n+=" "),n+=e);return n}const Yr=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Yo=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var l,d;return typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Oe(i)):typeof(t==null||(d=t.hooks)===null||d===void 0?void 0:d.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Oe(i)):Oe(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return l=>{const d=Object.fromEntries(Object.entries(l||{}).filter(c=>{let[f]=c;return!["class","className"].includes(f)}));return e(i.map(c=>c(d)),l==null?void 0:l.class,l==null?void 0:l.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return e(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:l,defaultVariants:d}=o,c=Object.keys(l).map(p=>{const _=i==null?void 0:i[p],v=d==null?void 0:d[p],g=Yr(_)||Yr(v);return l[p][g]}),f={...d,...i&&Object.entries(i).reduce((p,_)=>{let[v,g]=_;return typeof g>"u"?p:{...p,[v]:g}},{})},s=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,_)=>{let{class:v,className:g,...y}=_;return Object.entries(y).every(h=>{let[E,m]=h;const k=f[E];return Array.isArray(m)?m.includes(k):k===m})?[...p,v,g]:p},[]);return e(o==null?void 0:o.base,c,s,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:Ma,cva:dt,cx:Ha}=Yo(),Ut=dt({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}});var qo=0;function u(t,e,r,n,o,i){var a,l,d={};for(l in e)l=="ref"?a=e[l]:d[l]=e[l];var c={type:t,props:d,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--qo,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(l in a)d[l]===void 0&&(d[l]=a[l]);return w.vnode&&w.vnode(c),c}const Zo=({error:t,resetError:e})=>u("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[u("p",{children:t.message}),u("button",{onClick:e,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),ne=({error:t,resetError:e})=>u("div",{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:[u("p",{class:"text-neutral-11",children:["An error occured: ",t.message]}),u("button",{class:Ut({variant:"neutral",size:"lg",class:"border-px flex flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:e,children:"Retry"})]});class zt extends W{constructor(){super(...arguments);cr(this,"state",{error:null})}static getDerivedStateFromError(r){return{error:r.message}}componentDidCatch(r){this.setState({error:r})}render(){if(this.state.error){const{Fallback:r}=this.props;return u(r,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const Go={briefcase:u(T,{children:[u("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),u("path",{d:"M4.75 11.75H19.25"}),u("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),u("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:u(T,{children:[u("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),u("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),u("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),u("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),u("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),u("circle",{cx:"18.75",cy:"12",r:"2"}),u("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:u(T,{children:[u("path",{d:"M16.75 10.25H13.75"}),u("path",{d:"M16.75 13.25H13.75"}),u("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),u("path",{d:"M10.25 12.25V18.25"})]}),circles:u(T,{children:[u("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),u("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:u(T,{children:[u("path",{d:"M14 9L12 13L9.5 12"}),u("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:u(T,{children:u("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:u(T,{children:[u("path",{d:"M5 13.75H19"}),u("path",{d:"M5 10.25H19"}),u("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),u("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:u(T,{children:[u("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),u("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),u("path",{d:"M16 16L19 19"})]}),mapPin:u(T,{children:u(T,{children:[u("circle",{cx:"12",cy:"9",r:"2"}),u("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),u("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),sunset:u(T,{children:[u("path",{d:"M18.5 8.5L17.5 9.5"}),u("path",{d:"M5.5 8.5L6.5 9.5"}),u("path",{d:"M12 6L12 7.5"}),u("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),u("path",{d:"M20.25 15.25H12H3.75"}),u("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:u("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:u("path",{d:"M12 8V16M8 12H16"}),"chevron-right":u("path",{d:"M11 8L15 12L11 16"})},Jo=({theme:t})=>u("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:u("defs",{children:Object.entries(Go).map(([e,r])=>{var n;return u("symbol",{id:`i-icon-${e}`,children:u("g",{fill:"none","stroke-width":t.mode==="dark"&&((n=t.accessibility)==null?void 0:n.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:r})})})})}),ft=({name:t,...e})=>u("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:u("use",{href:`#i-icon-${t}`})});var tt,R,Te,qr,Tt=0,Zr=[],oe=[],Gr=w.__b,Jr=w.__r,Xr=w.diffed,Qr=w.__c,tn=w.unmount;function mt(t,e){w.__h&&w.__h(R,t,Tt||e),Tt=0;var r=R.__H||(R.__H={__:[],__h:[]});return t>=r.__.length&&r.__.push({__V:oe}),r.__[t]}function q(t){return Tt=1,Re(on,t)}function Re(t,e,r){var n=mt(tt++,2);if(n.t=t,!n.__c&&(n.__=[r?r(e):on(void 0,e),function(l){var d=n.__N?n.__N[0]:n.__[0],c=n.t(d,l);d!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=R,!R.u)){var o=function(l,d,c){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,l,d,c);var s=!1;return f.forEach(function(p){if(p.__N){var _=p.__[0];p.__=p.__N,p.__N=void 0,_!==p.__[0]&&(s=!0)}}),!(!s&&n.__c.props===l)&&(!i||i.call(this,l,d,c))};R.u=!0;var i=R.shouldComponentUpdate,a=R.componentWillUpdate;R.componentWillUpdate=function(l,d,c){if(this.__e){var f=i;i=void 0,o(l,d,c),i=f}a&&a.call(this,l,d,c)},R.shouldComponentUpdate=o}return n.__N||n.__}function bt(t,e){var r=mt(tt++,3);!w.__s&&$e(r.__H,e)&&(r.__=t,r.i=e,R.__H.__h.push(r))}function xt(t,e){var r=mt(tt++,4);!w.__s&&$e(r.__H,e)&&(r.__=t,r.i=e,R.__h.push(r))}function B(t){return Tt=5,kt(function(){return{current:t}},[])}function en(t,e,r){Tt=6,xt(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},r==null?r:r.concat(t))}function kt(t,e){var r=mt(tt++,7);return $e(r.__H,e)?(r.__V=t(),r.i=e,r.__h=t,r.__V):r.__}function Rt(t,e){return Tt=8,kt(function(){return t},e)}function Ae(t){var e=R.context[t.__c],r=mt(tt++,9);return r.c=t,e?(r.__==null&&(r.__=!0,e.sub(R)),e.props.value):t.__}function De(t,e){w.useDebugValue&&w.useDebugValue(e?e(t):t)}function Xo(t){var e=mt(tt++,10),r=q();return e.__=t,R.componentDidCatch||(R.componentDidCatch=function(n,o){e.__&&e.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function rn(){var t=mt(tt++,11);if(!t.__){for(var e=R.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var r=e.__m||(e.__m=[0,0]);t.__="P"+r[0]+"-"+r[1]++}return t.__}function Qo(){for(var t;t=Zr.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(ie),t.__H.__h.forEach(Le),t.__H.__h=[]}catch(e){t.__H.__h=[],w.__e(e,t.__v)}}w.__b=function(t){R=null,Gr&&Gr(t)},w.__r=function(t){Jr&&Jr(t),tt=0;var e=(R=t.__c).__H;e&&(Te===R?(e.__h=[],R.__h=[],e.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=oe,r.__N=r.i=void 0})):(e.__h.forEach(ie),e.__h.forEach(Le),e.__h=[],tt=0)),Te=R},w.diffed=function(t){Xr&&Xr(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(Zr.push(e)!==1&&qr===w.requestAnimationFrame||((qr=w.requestAnimationFrame)||ti)(Qo)),e.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==oe&&(r.__=r.__V),r.i=void 0,r.__V=oe})),Te=R=null},w.__c=function(t,e){e.some(function(r){try{r.__h.forEach(ie),r.__h=r.__h.filter(function(n){return!n.__||Le(n)})}catch(n){e.some(function(o){o.__h&&(o.__h=[])}),e=[],w.__e(n,r.__v)}}),Qr&&Qr(t,e)},w.unmount=function(t){tn&&tn(t);var e,r=t.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{ie(n)}catch(o){e=o}}),r.__H=void 0,e&&w.__e(e,r.__v))};var nn=typeof requestAnimationFrame=="function";function ti(t){var e,r=function(){clearTimeout(n),nn&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(r,100);nn&&(e=requestAnimationFrame(r))}function ie(t){var e=R,r=t.__c;typeof r=="function"&&(t.__c=void 0,r()),R=e}function Le(t){var e=R;t.__c=t.__(),R=e}function $e(t,e){return!t||t.length!==e.length||e.some(function(r,n){return r!==t[n]})}function on(t,e){return typeof e=="function"?e(t):e}const ae=t=>{const e=Object.entries(t.filter).sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>{var o;return(n==null?void 0:n.select)==="many"?`${r}=${(o=n.value)==null?void 0:o.sort().join("|")}`:`${r}=${n==null?void 0:n.value}`}).join("&");return`${t.baseKey}::${e}`};function an(t,e){for(var r in e)t[r]=e[r];return t}function Pe(t,e){for(var r in t)if(r!=="__source"&&!(r in e))return!0;for(var n in e)if(n!=="__source"&&t[n]!==e[n])return!0;return!1}function se(t){this.props=t}function sn(t,e){function r(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),e?!e(this.props,o)||!a:Pe(this.props,o)}function n(o){return this.shouldComponentUpdate=r,V(t,o)}return n.displayName="Memo("+(t.displayName||t.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(se.prototype=new W).isPureReactComponent=!0,se.prototype.shouldComponentUpdate=function(t,e){return Pe(this.props,t)||Pe(this.state,e)};var ln=w.__b;w.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),ln&&ln(t)};var ei=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function cn(t){function e(r){var n=an({},r);return delete n.ref,t(n,r.ref||null)}return e.$$typeof=ei,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var un=function(t,e){return t==null?null:Q(Q(t).map(e))},dn={map:un,forEach:un,count:function(t){return t?Q(t).length:0},only:function(t){var e=Q(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Q},ri=w.__e;w.__e=function(t,e,r,n){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=r.__e,e.__k=r.__k),o.__c(t,e)}ri(t,e,r,n)};var fn=w.unmount;function pn(t,e,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),t.__c.__H=null),(t=an({},t)).__c!=null&&(t.__c.__P===r&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(n){return pn(n,e,r)})),t}function _n(t,e,r){return t&&r&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(n){return _n(n,e,r)}),t.__c&&t.__c.__P===e&&(t.__e&&r.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=r)),t}function Wt(){this.__u=0,this.t=null,this.__b=null}function hn(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function gn(t){var e,r,n;function o(i){if(e||(e=t()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw e;return V(r,i)}return o.displayName="Lazy",o.__f=!0,o}function At(){this.u=null,this.o=null}w.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),fn&&fn(t)},(Wt.prototype=new W).__c=function(t,e){var r=e.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=hn(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(l):l())};r.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=_n(d,d.__c.__P,d.__c.__O)}var c;for(n.setState({__a:n.__b=null});c=n.t.pop();)c.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(a,a)},Wt.prototype.componentWillUnmount=function(){this.t=[]},Wt.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=pn(this.__b,r,n.__O=n.__P)}this.__b=null}var o=e.__a&&V(T,null,t.fallback);return o&&(o.__u&=-33),[V(T,null,e.__a?null:t.children),o]};var vn=function(t,e,r){if(++r[1]===r[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(r=t.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;t.u=r=r[2]}};function ni(t){return this.getChildContext=function(){return t.context},t.children}function oi(t){var e=this,r=t.i;e.componentWillUnmount=function(){Et(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),Et(V(ni,{context:e.context},t.__v),e.l)}function wn(t,e){var r=V(oi,{__v:t,i:e});return r.containerInfo=e,r}(At.prototype=new W).__a=function(t){var e=this,r=hn(e.__v),n=e.o.get(t);return n[0]++,function(o){var i=function(){e.props.revealOrder?(n.push(o),vn(e,t,n)):o()};r?r(i):i()}},At.prototype.render=function(t){this.u=null,this.o=new Map;var e=Q(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var r=e.length;r--;)this.o.set(e[r],this.u=[1,0,this.u]);return t.children},At.prototype.componentDidUpdate=At.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,r){vn(t,r,e)})};var yn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ii=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ai=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,si=/[A-Z0-9]/g,li=typeof document<"u",ci=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function mn(t,e,r){return e.__k==null&&(e.textContent=""),Et(t,e),typeof r=="function"&&r(),t?t.__c:null}function bn(t,e,r){return be(t,e),typeof r=="function"&&r(),t?t.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(W.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var xn=w.event;function ui(){}function di(){return this.cancelBubble}function fi(){return this.defaultPrevented}w.event=function(t){return xn&&(t=xn(t)),t.persist=ui,t.isPropagationStopped=di,t.isDefaultPrevented=fi,t.nativeEvent=t};var Ve,pi={enumerable:!1,configurable:!0,get:function(){return this.class}},kn=w.vnode;w.vnode=function(t){typeof t.type=="string"&&function(e){var r=e.props,n=e.type,o={};for(var i in r){var a=r[i];if(!(i==="value"&&"defaultValue"in r&&a==null||li&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var l=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&a===!0?a="":l==="ondoubleclick"?i="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||ci(r.type)?l==="onfocus"?i="onfocusin":l==="onblur"?i="onfocusout":ai.test(i)?i=l:n.indexOf("-")===-1&&ii.test(i)?i=i.replace(si,"-$&").toLowerCase():a===null&&(a=void 0):l=i="oninput",l==="oninput"&&o[i=l]&&(i="oninputCapture"),o[i]=a}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.value.indexOf(d.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.multiple?o.defaultValue.indexOf(d.props.value)!=-1:o.defaultValue==d.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",pi)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),e.props=o}(t),t.$$typeof=yn,kn&&kn(t)};var jn=w.__r;w.__r=function(t){jn&&jn(t),Ve=t.__c};var En=w.diffed;w.diffed=function(t){En&&En(t);var e=t.props,r=t.__e;r!=null&&t.type==="textarea"&&"value"in e&&e.value!==r.value&&(r.value=e.value==null?"":e.value),Ve=null};var Sn={ReactCurrentDispatcher:{current:{readContext:function(t){return Ve.__n[t.__c].props.value}}}},_i="17.0.2";function Cn(t){return V.bind(null,t)}function Bt(t){return!!t&&t.$$typeof===yn}function On(t){return Bt(t)&&t.type===T}function Tn(t){return Bt(t)?ko.apply(null,arguments):t}function Rn(t){return!!t.__k&&(Et(null,t),!0)}function An(t){return t&&(t.base||t.nodeType===1&&t)||null}var Dn=function(t,e){return t(e)},Ln=function(t,e){return t(e)},$n=T;function Ne(t){t()}function Pn(t){return t}function Vn(){return[!1,Ne]}var Nn=xt,Mn=Bt;function Hn(t,e){var r=e(),n=q({h:{__:r,v:e}}),o=n[0].h,i=n[1];return xt(function(){o.__=r,o.v=e,Me(o)&&i({h:o})},[t,r,e]),bt(function(){return Me(o)&&i({h:o}),t(function(){Me(o)&&i({h:o})})},[t]),r}function Me(t){var e,r,n=t.v,o=t.__;try{var i=n();return!((e=o)===(r=i)&&(e!==0||1/e==1/r)||e!=e&&r!=r)}catch{return!0}}var le={useState:q,useId:rn,useReducer:Re,useEffect:bt,useLayoutEffect:xt,useInsertionEffect:Nn,useTransition:Vn,useDeferredValue:Pn,useSyncExternalStore:Hn,startTransition:Ne,useRef:B,useImperativeHandle:en,useMemo:kt,useCallback:Rt,useContext:Ae,useDebugValue:De,version:"17.0.2",Children:dn,render:mn,hydrate:bn,unmountComponentAtNode:Rn,createPortal:wn,createElement:V,createContext:xe,createFactory:Cn,cloneElement:Tn,createRef:gr,Fragment:T,isValidElement:Bt,isElement:Mn,isFragment:On,findDOMNode:An,Component:W,PureComponent:se,memo:sn,forwardRef:cn,flushSync:Ln,unstable_batchedUpdates:Dn,StrictMode:$n,Suspense:Wt,SuspenseList:At,lazy:gn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sn};const hi=Object.freeze(Object.defineProperty({__proto__:null,Children:dn,Component:W,Fragment:T,PureComponent:se,StrictMode:$n,Suspense:Wt,SuspenseList:At,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Sn,cloneElement:Tn,createContext:xe,createElement:V,createFactory:Cn,createPortal:wn,createRef:gr,default:le,findDOMNode:An,flushSync:Ln,forwardRef:cn,hydrate:bn,isElement:Mn,isFragment:On,isValidElement:Bt,lazy:gn,memo:sn,render:mn,startTransition:Ne,unmountComponentAtNode:Rn,unstable_batchedUpdates:Dn,useCallback:Rt,useContext:Ae,useDebugValue:De,useDeferredValue:Pn,useEffect:bt,useErrorBoundary:Xo,useId:rn,useImperativeHandle:en,useInsertionEffect:Nn,useLayoutEffect:xt,useMemo:kt,useReducer:Re,useRef:B,useState:q,useSyncExternalStore:Hn,useTransition:Vn,version:_i},Symbol.toStringTag,{value:"Module"}));function gi(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return t[n]}})}),r}var He={exports:{}},Ie={};const In=gi(hi);/**
|
|
1
|
+
var Fa=Object.defineProperty;var Ua=(F,U,ge)=>U in F?Fa(F,U,{enumerable:!0,configurable:!0,writable:!0,value:ge}):F[U]=ge;var ur=(F,U,ge)=>(Ua(F,typeof U!="symbol"?U+"":U,ge),ge);(function(){"use strict";var F=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function U(e,t){if(!e)throw new Error(t)}function ge(e,t){return e in t}var wo=e=>e,Me,w,dr,ve,fr,pr,mt,_r,Ie={},hr=[],mo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Xe=Array.isArray;function X(e,t){for(var r in t)e[r]=t[r];return e}function gr(e){var t=e.parentNode;t&&t.removeChild(e)}function V(e,t,r){var n,o,i,a={};for(i in t)i=="key"?n=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?Me.call(arguments,2):r),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return He(e,a,n,o,null)}function He(e,t,r,n,o){var i={type:e,props:t,key:r,ref:n,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++dr,__i:-1,__u:0};return o==null&&w.vnode!=null&&w.vnode(i),i}function vr(){return{current:null}}function R(e){return e.children}function W(e,t){this.props=e,this.context=t}function Ce(e,t){if(t==null)return e.__?Ce(e.__,e.__i+1):null;for(var r;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null)return r.__e;return typeof e.type=="function"?Ce(e):null}function wr(e){var t,r;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((r=e.__k[t])!=null&&r.__e!=null){e.__e=e.__c.base=r.__e;break}return wr(e)}}function yt(e){(!e.__d&&(e.__d=!0)&&ve.push(e)&&!Qe.__r++||fr!==w.debounceRendering)&&((fr=w.debounceRendering)||pr)(Qe)}function Qe(){var e,t,r,n,o,i,a,c,d;for(ve.sort(mt);e=ve.shift();)e.__d&&(t=ve.length,n=void 0,i=(o=(r=e).__v).__e,c=[],d=[],(a=r.__P)&&((n=X({},o)).__v=o.__v+1,w.vnode&&w.vnode(n),bt(a,n,o,r.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,c,i??Ce(o),!!(32&o.__u),d),n.__.__k[n.__i]=n,kr(c,n,d),n.__e!=i&&wr(n)),ve.length>t&&ve.sort(mt));Qe.__r=0}function mr(e,t,r,n,o,i,a,c,d,u,f){var s,p,_,v,g,m=n&&n.__k||hr,h=t.length;for(r.__d=d,yo(r,t,m),d=r.__d,s=0;s<h;s++)(_=r.__k[s])!=null&&typeof _!="boolean"&&typeof _!="function"&&(p=_.__i===-1?Ie:m[_.__i]||Ie,_.__i=s,bt(e,_,p,o,i,a,c,d,u,f),v=_.__e,_.ref&&p.ref!=_.ref&&(p.ref&&xt(p.ref,null,_),f.push(_.ref,_.__c||v,_)),g==null&&v!=null&&(g=v),65536&_.__u||p.__k===_.__k?d=yr(_,d,e):typeof _.type=="function"&&_.__d!==void 0?d=_.__d:v&&(d=v.nextSibling),_.__d=void 0,_.__u&=-196609);r.__d=d,r.__e=g}function yo(e,t,r){var n,o,i,a,c,d=t.length,u=r.length,f=u,s=0;for(e.__k=[],n=0;n<d;n++)(o=e.__k[n]=(o=t[n])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?He(null,o,null,null,o):Xe(o)?He(R,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?He(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,c=bo(o,r,a=n+s,f),o.__i=c,i=null,c!==-1&&(f--,(i=r[c])&&(i.__u|=131072)),i==null||i.__v===null?(c==-1&&s--,typeof o.type!="function"&&(o.__u|=65536)):c!==a&&(c===a+1?s++:c>a?f>d-a?s+=c-a:s--:s=c<a&&c==a-1?c-a:0,c!==n+s&&(o.__u|=65536))):(i=r[n])&&i.key==null&&i.__e&&(i.__e==e.__d&&(e.__d=Ce(i)),jt(i,i,!1),r[n]=null,f--);if(f)for(n=0;n<u;n++)(i=r[n])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Ce(i)),jt(i,i))}function yr(e,t,r){var n,o;if(typeof e.type=="function"){for(n=e.__k,o=0;n&&o<n.length;o++)n[o]&&(n[o].__=e,t=yr(n[o],t,r));return t}return e.__e!=t&&(r.insertBefore(e.__e,t||null),t=e.__e),t&&t.nextSibling}function Q(e,t){return t=t||[],e==null||typeof e=="boolean"||(Xe(e)?e.some(function(r){Q(r,t)}):t.push(e)),t}function bo(e,t,r,n){var o=e.key,i=e.type,a=r-1,c=r+1,d=t[r];if(d===null||d&&o==d.key&&i===d.type)return r;if(n>(d!=null&&!(131072&d.__u)?1:0))for(;a>=0||c<t.length;){if(a>=0){if((d=t[a])&&!(131072&d.__u)&&o==d.key&&i===d.type)return a;a--}if(c<t.length){if((d=t[c])&&!(131072&d.__u)&&o==d.key&&i===d.type)return c;c++}}return-1}function br(e,t,r){t[0]==="-"?e.setProperty(t,r??""):e[t]=r==null?"":typeof r!="number"||mo.test(t)?r:r+"px"}function et(e,t,r,n,o){var i;e:if(t==="style")if(typeof r=="string")e.style.cssText=r;else{if(typeof n=="string"&&(e.style.cssText=n=""),n)for(t in n)r&&t in r||br(e.style,t,"");if(r)for(t in r)n&&r[t]===n[t]||br(e.style,t,r[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=r,r?n?r.u=n.u:(r.u=Date.now(),e.addEventListener(t,i?jr:xr,i)):e.removeEventListener(t,i?jr:xr,i);else{if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t!=="role"&&t in e)try{e[t]=r??"";break e}catch{}typeof r=="function"||(r==null||r===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,r))}}function xr(e){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(w.event?w.event(e):e)}function jr(e){return this.l[e.type+!0](w.event?w.event(e):e)}function bt(e,t,r,n,o,i,a,c,d,u){var f,s,p,_,v,g,m,h,E,y,j,S,k,C,b,x=t.type;if(t.constructor!==void 0)return null;128&r.__u&&(d=!!(32&r.__u),i=[c=t.__e=r.__e]),(f=w.__b)&&f(t);e:if(typeof x=="function")try{if(h=t.props,E=(f=x.contextType)&&n[f.__c],y=f?E?E.props.value:f.__:n,r.__c?m=(s=t.__c=r.__c).__=s.__E:("prototype"in x&&x.prototype.render?t.__c=s=new x(h,y):(t.__c=s=new W(h,y),s.constructor=x,s.render=jo),E&&E.sub(s),s.props=h,s.state||(s.state={}),s.context=y,s.__n=n,p=s.__d=!0,s.__h=[],s._sb=[]),s.__s==null&&(s.__s=s.state),x.getDerivedStateFromProps!=null&&(s.__s==s.state&&(s.__s=X({},s.__s)),X(s.__s,x.getDerivedStateFromProps(h,s.__s))),_=s.props,v=s.state,s.__v=t,p)x.getDerivedStateFromProps==null&&s.componentWillMount!=null&&s.componentWillMount(),s.componentDidMount!=null&&s.__h.push(s.componentDidMount);else{if(x.getDerivedStateFromProps==null&&h!==_&&s.componentWillReceiveProps!=null&&s.componentWillReceiveProps(h,y),!s.__e&&(s.shouldComponentUpdate!=null&&s.shouldComponentUpdate(h,s.__s,y)===!1||t.__v===r.__v)){for(t.__v!==r.__v&&(s.props=h,s.state=s.__s,s.__d=!1),t.__e=r.__e,t.__k=r.__k,t.__k.forEach(function(A){A&&(A.__=t)}),j=0;j<s._sb.length;j++)s.__h.push(s._sb[j]);s._sb=[],s.__h.length&&a.push(s);break e}s.componentWillUpdate!=null&&s.componentWillUpdate(h,s.__s,y),s.componentDidUpdate!=null&&s.__h.push(function(){s.componentDidUpdate(_,v,g)})}if(s.context=y,s.props=h,s.__P=e,s.__e=!1,S=w.__r,k=0,"prototype"in x&&x.prototype.render){for(s.state=s.__s,s.__d=!1,S&&S(t),f=s.render(s.props,s.state,s.context),C=0;C<s._sb.length;C++)s.__h.push(s._sb[C]);s._sb=[]}else do s.__d=!1,S&&S(t),f=s.render(s.props,s.state,s.context),s.state=s.__s;while(s.__d&&++k<25);s.state=s.__s,s.getChildContext!=null&&(n=X(X({},n),s.getChildContext())),p||s.getSnapshotBeforeUpdate==null||(g=s.getSnapshotBeforeUpdate(_,v)),mr(e,Xe(b=f!=null&&f.type===R&&f.key==null?f.props.children:f)?b:[b],t,r,n,o,i,a,c,d,u),s.base=t.__e,t.__u&=-161,s.__h.length&&a.push(s),m&&(s.__E=s.__=null)}catch(A){t.__v=null,d||i!=null?(t.__e=c,t.__u|=d?160:32,i[i.indexOf(c)]=null):(t.__e=r.__e,t.__k=r.__k),w.__e(A,t,r)}else i==null&&t.__v===r.__v?(t.__k=r.__k,t.__e=r.__e):t.__e=xo(r.__e,t,r,n,o,i,a,d,u);(f=w.diffed)&&f(t)}function kr(e,t,r){t.__d=void 0;for(var n=0;n<r.length;n++)xt(r[n],r[++n],r[++n]);w.__c&&w.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){w.__e(i,o.__v)}})}function xo(e,t,r,n,o,i,a,c,d){var u,f,s,p,_,v,g,m=r.props,h=t.props,E=t.type;if(E==="svg"&&(o=!0),i!=null){for(u=0;u<i.length;u++)if((_=i[u])&&"setAttribute"in _==!!E&&(E?_.localName===E:_.nodeType===3)){e=_,i[u]=null;break}}if(e==null){if(E===null)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",E):document.createElement(E,h.is&&h),i=null,c=!1}if(E===null)m===h||c&&e.data===h||(e.data=h);else{if(i=i&&Me.call(e.childNodes),m=r.props||Ie,!c&&i!=null)for(m={},u=0;u<e.attributes.length;u++)m[(_=e.attributes[u]).name]=_.value;for(u in m)_=m[u],u=="children"||(u=="dangerouslySetInnerHTML"?s=_:u==="key"||u in h||et(e,u,null,_,o));for(u in h)_=h[u],u=="children"?p=_:u=="dangerouslySetInnerHTML"?f=_:u=="value"?v=_:u=="checked"?g=_:u==="key"||c&&typeof _!="function"||m[u]===_||et(e,u,_,m[u],o);if(f)c||s&&(f.__html===s.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(s&&(e.innerHTML=""),mr(e,Xe(p)?p:[p],t,r,n,o&&E!=="foreignObject",i,a,i?i[0]:r.__k&&Ce(r,0),c,d),i!=null)for(u=i.length;u--;)i[u]!=null&&gr(i[u]);c||(u="value",v!==void 0&&(v!==e[u]||E==="progress"&&!v||E==="option"&&v!==m[u])&&et(e,u,v,m[u],!1),u="checked",g!==void 0&&g!==e[u]&&et(e,u,g,m[u],!1))}return e}function xt(e,t,r){try{typeof e=="function"?e(t):e.current=t}catch(n){w.__e(n,r)}}function jt(e,t,r){var n,o;if(w.unmount&&w.unmount(e),(n=e.ref)&&(n.current&&n.current!==e.__e||xt(n,null,t)),(n=e.__c)!=null){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(i){w.__e(i,t)}n.base=n.__P=null,e.__c=void 0}if(n=e.__k)for(o=0;o<n.length;o++)n[o]&&jt(n[o],t,r||typeof e.type!="function");r||e.__e==null||gr(e.__e),e.__=e.__e=e.__d=void 0}function jo(e,t,r){return this.constructor(e,r)}function Oe(e,t,r){var n,o,i,a;w.__&&w.__(e,t),o=(n=typeof r=="function")?null:r&&r.__k||t.__k,i=[],a=[],bt(t,e=(!n&&r||t).__k=V(R,null,[e]),o||Ie,Ie,t.ownerSVGElement!==void 0,!n&&r?[r]:o?null:t.firstChild?Me.call(t.childNodes):null,i,!n&&r?r:o?o.__e:t.firstChild,n,a),kr(i,e,a)}function kt(e,t){Oe(e,t,kt)}function ko(e,t,r){var n,o,i,a,c=X({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?n=t[i]:i=="ref"?o=t[i]:c[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(c.children=arguments.length>3?Me.call(arguments,2):r),He(e.type,c,n||e.key,o||e.ref,null)}function Et(e,t){var r={__c:t="__cC"+_r++,__:e,Consumer:function(n,o){return n.children(o)},Provider:function(n){var o,i;return this.getChildContext||(o=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(c){c.__e=!0,yt(c)})},this.sub=function(a){o.push(a);var c=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),c&&c.call(a)}}),n.children}};return r.Provider.__=r.Consumer.contextType=r}Me=hr.slice,w={__e:function(e,t,r,n){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,n||{}),a=o.__d),a)return o.__E=o}catch(c){e=c}throw e}},dr=0,W.prototype.setState=function(e,t){var r;r=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=X({},this.state),typeof e=="function"&&(e=e(X({},r),this.props)),e&&X(r,e),e!=null&&this.__v&&(t&&this._sb.push(t),yt(this))},W.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),yt(this))},W.prototype.render=R,ve=[],pr=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,mt=function(e,t){return e.__v.__b-t.__v.__b},Qe.__r=0,_r=0;var Er=/[\s\n\\/='"\0<>]/,Sr=/^(xlink|xmlns|xml)([A-Z])/,Eo=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,So=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,Co=/["&<]/;function tt(e){if(e.length===0||Co.test(e)===!1)return e;for(var t=0,r=0,n="",o="";r<e.length;r++){switch(e.charCodeAt(r)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}r!==t&&(n+=e.slice(t,r)),n+=o,t=r+1}return r!==t&&(n+=e.slice(t,r)),n}var Cr={},Oo=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","opacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),Ro=/[A-Z]/g;function To(e){var t="";for(var r in e){var n=e[r];if(n!=null&&n!==""){var o=r[0]=="-"?r:Cr[r]||(Cr[r]=r.replace(Ro,"-$&").toLowerCase()),i=";";typeof n!="number"||o.startsWith("--")||Oo.has(o)||(i="px;"),t=t+o+":"+n+i}}return t||void 0}var St,we,Fe,me,Or=[],Rr=Array.isArray,Ct=Object.assign;function Ao(e,t){var r=w.__s;w.__s=!0,St=w.__b,we=w.diffed,Fe=w.__r,me=w.unmount;var n=V(R,null);n.__k=[e];try{return ye(e,t||Ar,!1,void 0,n)}finally{w.__c&&w.__c(e,Or),w.__s=r,Or.length=0}}function Tr(){this.__d=!0}var Ar={};function Dr(e,t){var r,n=e.type,o=!0;return e.__c?(o=!1,(r=e.__c).state=r.__s):r=new n(e.props,t),e.__c=r,r.__v=e,r.props=e.props,r.context=t,r.__d=!0,r.state==null&&(r.state=Ar),r.__s==null&&(r.__s=r.state),n.getDerivedStateFromProps?r.state=Ct({},r.state,n.getDerivedStateFromProps(r.props,r.state)):o&&r.componentWillMount?(r.componentWillMount(),r.state=r.__s!==r.state?r.__s:r.state):!o&&r.componentWillUpdate&&r.componentWillUpdate(),Fe&&Fe(e),r.render(r.props,r.state,t)}function ye(e,t,r,n,o){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":tt(e+"");if(Rr(e)){var i="";o.__k=e;for(var a=0;a<e.length;a++){var c=e[a];c!=null&&typeof c!="boolean"&&(i+=ye(c,t,r,n,o))}return i}if(e.constructor!==void 0)return"";e.__=o,St&&St(e);var d,u,f,s=e.type,p=e.props,_=t;if(typeof s=="function"){if(s===R){if(p.tpl){for(var v="",g=0;g<p.tpl.length;g++)if(v+=p.tpl[g],p.exprs&&g<p.exprs.length){var m=p.exprs[g];if(m==null)continue;typeof m!="object"||m.constructor!==void 0&&!Rr(m)?v+=m:v+=ye(m,t,r,n,e)}return v}if(p.UNSTABLE_comment)return"<!--"+tt(p.UNSTABLE_comment||"")+"-->";u=p.children}else{if((d=s.contextType)!=null){var h=t[d.__c];_=h?h.props.value:d.__}if(s.prototype&&typeof s.prototype.render=="function")u=Dr(e,_),f=e.__c;else{e.__c=f={__v:e,props:p,context:_,setState:Tr,forceUpdate:Tr,__d:!0,__h:[]};for(var E=0;f.__d&&E++<25;)f.__d=!1,Fe&&Fe(e),u=s.call(f,p,_);f.__d=!0}if(f.getChildContext!=null&&(t=Ct({},t,f.getChildContext())),(s.getDerivedStateFromError||f.componentDidCatch)&&w.errorBoundaries){var y="";u=u!=null&&u.type===R&&u.key==null?u.props.children:u;try{return y=ye(u,t,r,n,e)}catch(A){return s.getDerivedStateFromError&&(f.__s=s.getDerivedStateFromError(A)),f.componentDidCatch&&f.componentDidCatch(A,{}),f.__d&&(u=Dr(e,t),(f=e.__c).getChildContext!=null&&(t=Ct({},t,f.getChildContext())),y=ye(u=u!=null&&u.type===R&&u.key==null?u.props.children:u,t,r,n,e)),y}finally{we&&we(e),e.__=void 0,me&&me(e)}}}var j=ye(u=u!=null&&u.type===R&&u.key==null?u.props.children:u,t,r,n,e);return we&&we(e),e.__=void 0,me&&me(e),j}var S,k="<"+s,C="";for(var b in p){var x=p[b];switch(b){case"children":S=x;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;b="for";break;case"className":if("class"in p)continue;b="class";break;case"defaultChecked":b="checked";break;case"defaultSelected":b="selected";break;case"defaultValue":case"value":switch(b="value",s){case"textarea":S=x;continue;case"select":n=x;continue;case"option":n!=x||"selected"in p||(k+=" selected")}break;case"dangerouslySetInnerHTML":C=x&&x.__html;continue;case"style":typeof x=="object"&&(x=To(x));break;case"acceptCharset":b="accept-charset";break;case"httpEquiv":b="http-equiv";break;default:if(Sr.test(b))b=b.replace(Sr,"$1:$2").toLowerCase();else{if(Er.test(b))continue;b[4]!=="-"&&b!=="draggable"||x==null?r?So.test(b)&&(b=b==="panose1"?"panose-1":b.replace(/([A-Z])/g,"-$1").toLowerCase()):Eo.test(b)&&(b=b.toLowerCase()):x+=""}}x!=null&&x!==!1&&typeof x!="function"&&(k=x===!0||x===""?k+" "+b:k+" "+b+'="'+tt(x+"")+'"')}if(Er.test(s))throw new Error(s+" is not a valid HTML tag name in "+k+">");return C||(typeof S=="string"?C=tt(S):S!=null&&S!==!1&&S!==!0&&(C=ye(S,t,s==="svg"||s!=="foreignObject"&&r,n,e))),we&&we(e),e.__=void 0,me&&me(e),!C&&Do.has(s)?k+"/>":k+">"+C+"</"+s+">"}var Do=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),rt=class extends Error{constructor(t){super(t[0].message);ur(this,"issues");this.name="ValiError",this.issues=t}};function Lr(e,t){return{...e,_parse(r,n){return e._parse(t(r),n)}}}function Ue(e){return{issues:e}}function be(e){return{output:e}}function Lo(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function $o(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function le(e,t,r,n){if(!t||!t.length||r!=null&&r.skipPipe)return be(e);let o,i,a=e;for(const c of t){const d=c._parse(a);if(d.issues){o=o||$o(r,n);for(const u of d.issues){const f=Lo(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=d.output}return i?Ue(i):be(a)}function ce(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function $r(e){return typeof e=="function"?e():e}function Po(e,t,r,n){return Ue([{validation:e,message:$r(t),input:r,requirement:n}])}function Vo(e,t,r){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=ce(t,r);return[e,i,a]}const[n,o]=ce(e,t);return[void 0,n,o]}function ue(e,t,r,n,o,i){return{issues:[{reason:t,validation:r,origin:(e==null?void 0:e.origin)||"value",message:$r(n),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function Pr(e){return typeof e.default=="function"?e.default():e.default}function No(e){return{type:"any",async:!1,pipe:e,_parse(t,r){return le(t,this.pipe,r,"any")}}}function Vr(e,t,r){const[n="Invalid type",o]=ce(t,r);return{type:"array",async:!1,item:e,message:n,pipe:o,_parse(i,a){if(!Array.isArray(i))return ue(a,"type","array",this.message,i);let c;const d=[];for(let u=0;u<i.length;u++){const f=i[u],s=this.item._parse(f,a);if(s.issues){const p={type:"array",input:i,key:u,value:f};for(const _ of s.issues)_.path?_.path.unshift(p):_.path=[p],c==null||c.push(_);if(c||(c=s.issues),a!=null&&a.abortEarly)break}else d.push(s.output)}return c?Ue(c):le(d,this.pipe,a,"array")}}}function Nr(e,t){const[r="Invalid type",n]=ce(e,t);return{type:"boolean",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="boolean"?ue(i,"type","boolean",this.message,o):le(o,this.pipe,i,"boolean")}}}function de(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(r,n){return r!==this.literal?ue(n,"type","literal",this.message,r):be(r)}}}function Re(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(r,n){if(r===null){const o=Pr(this);if(o===void 0)return be(r);r=o}return this.wrapped._parse(r,n)}}}function ze(e,t){const[r="Invalid type",n]=ce(e,t);return{type:"number",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="number"||isNaN(o)?ue(i,"type","number",this.message,o):le(o,this.pipe,i,"number")}}}function nt(e,t,r,n){const[o,i="Invalid type",a]=Vo(t,r,n);let c;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(d,u){if(!d||typeof d!="object")return ue(u,"type","object",this.message,d);c=c||Object.entries(this.entries);let f;const s={};for(const[p,_]of c){const v=d[p],g=_._parse(v,u);if(g.issues){const m={type:"object",input:d,key:p,value:v};for(const h of g.issues)h.path?h.path.unshift(m):h.path=[m],f==null||f.push(h);if(f||(f=g.issues),u!=null&&u.abortEarly)break}else(g.output!==void 0||p in d)&&(s[p]=g.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in d)if(!(p in this.entries)){const _=d[p],v=this.rest._parse(_,u);if(v.issues){const g={type:"object",input:d,key:p,value:_};for(const m of v.issues)m.path?m.path.unshift(g):m.path=[g],f==null||f.push(m);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else s[p]=v.output}}return f?Ue(f):le(s,this.pipe,u,"object")}}}function xe(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(r,n){if(r===void 0){const o=Pr(this);if(o===void 0)return be(r);r=o}return this.wrapped._parse(r,n)}}}function $(e,t){const[r="Invalid type",n]=ce(e,t);return{type:"string",async:!1,message:r,pipe:n,_parse(o,i){return typeof o!="string"?ue(i,"type","string",this.message,o):le(o,this.pipe,i,"string")}}}function Mo(e,t,r,n){if(typeof t=="object"&&!Array.isArray(t)){const[a,c]=ce(r,n);return[e,t,a,c]}const[o,i]=ce(t,r);return[$(),e,o,i]}var Io=["__proto__","prototype","constructor"];function Mr(e,t,r,n){const[o,i,a="Invalid type",c]=Mo(e,t,r,n);return{type:"record",async:!1,key:o,value:i,message:a,pipe:c,_parse(d,u){if(!d||typeof d!="object")return ue(u,"type","record",this.message,d);let f;const s={};for(const[p,_]of Object.entries(d))if(!Io.includes(p)){let v;const g=this.key._parse(p,{origin:"key",abortEarly:u==null?void 0:u.abortEarly,abortPipeEarly:u==null?void 0:u.abortPipeEarly,skipPipe:u==null?void 0:u.skipPipe});if(g.issues){v={type:"record",input:d,key:p,value:_};for(const h of g.issues)h.path=[v],f==null||f.push(h);if(f||(f=g.issues),u!=null&&u.abortEarly)break}const m=this.value._parse(_,u);if(m.issues){v=v||{type:"record",input:d,key:p,value:_};for(const h of m.issues)h.path?h.path.unshift(v):h.path=[v],f==null||f.push(h);if(f||(f=m.issues),u!=null&&u.abortEarly)break}!g.issues&&!m.issues&&(s[g.output]=m.output)}return f?Ue(f):le(s,this.pipe,u,"record")}}}function Ir(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_parse(r,n){let o,i;for(const a of this.options){const c=a._parse(r,n);if(c.issues)if(o)for(const d of c.issues)o.push(d);else o=c.issues;else{i=[c.output];break}}return i?be(i[0]):ue(n,"type","union",this.message,r,o)}}}function Hr(e,t,r){const n=e._parse(t,r);if(n.issues)throw new rt(n.issues);return n.output}function Ho(e,t,r){const n=e._parse(t,r);return n.issues?{success:!1,error:new rt(n.issues),issues:n.issues}:{success:!0,data:n.output,output:n.output}}function Fr(e,t,r){return{...e,_parse(n,o){const i=e._parse(n,o);if(i.issues)return i;const a=t(i.output);return r&&!Array.isArray(r)?r._parse(a,o):le(a,r,o,typeof a)}}}function Fo(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?be(t):Po(this.type,this.message,t,this.requirement)}}}const Ur="inploi-job-search",zr="ijs",ot=10,it={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Uo=e=>{const{salary:t,config:r}=e,n=new Intl.NumberFormat(r.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display!==!1)return t.pay_mask?"Competitive":t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay)?"Invalid salary":t.pay?[n.format(+t.pay),it[t.pay_type]].join(" "):t.pay_max&&t.pay_min?[n.formatRange(+t.pay_min,+t.pay_max),it[t.pay_type]].join(" "):t.pay_max?"Up to "+[n.format(+t.pay_max),it[t.pay_type]].join(" "):t.pay_min?"From "+[n.format(+t.pay_min),it[t.pay_type]].join(" "):"Invalid salary"},zo=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),Wo=({from:e=new Date,to:t,formatter:r=zo})=>{const o=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return i.days===0?"today":Math.abs(i.days)<30?r.format(i.days,"days"):Math.abs(i.days)<3?r.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},Bo=1e3*60*60*24*7,Ko=Mr(Vr(nt({label:Lr($(),String),value:Lr($(),String)}))),qo=$([Fo()]),Yo=nt({total:ze(),current_page:ze(),per_page:ze(),last_page:ze()}),Zo=nt({id:ze(),company_name:$(),company_logo:xe($()),employment_type:$(),location_type:Ir([de("LOCATION"),de("REMOTE"),de("HYBRID")]),pay_type:Ir([de("ANNUALLY"),de("HOURLY"),de("MONTHLY"),de("WEEKLY"),de("DAILY")]),pay_currency:$(),pay_mask:Nr(),pay_display:Nr(),pay:Re($()),pay_min:Re($()),pay_max:Re($()),description:$(),title:$(),contract_type:Re($()),created_at:Re($()),custom_data:Re(Mr(No())),href:$(),industry:xe($()),category:xe($()),skills:xe($()),town:xe($()),city:xe($()),country:xe($())}),Go=Fr(Zo,e=>{const t=e.created_at?new Date(e.created_at).getTime()>Date.now()-Bo:!1,r=Ho(qo,e.company_logo);return{raw:e,id:e.id,isNew:t,company:{name:e.company_name,logo:r.success?r.output:void 0},employmentType:e.employment_type,locationType:e.location_type,pay:Uo({salary:e,config:{locales:void 0}}),description:e.description,title:e.title,contractType:e.contract_type,href:e.href,relativePostedDate:e.created_at?Wo({to:new Date(e.created_at)}):"INVALID DATE",customData:e.custom_data}}),Jo=Fr(nt({data:Vr(Go),pagination:Yo}),e=>({pagination:e.pagination,results:e.data})),Wr=e=>Object.fromEntries(Object.entries(e).map(([t,r])=>[t,(r==null?void 0:r.value)??null])),Br=async({apiClient:e,filters:t,logger:r,signal:n})=>{try{const o=await e.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:Wr(t)}),signal:n});return Hr(Ko,o)}catch(o){throw o instanceof rt?r.error(o.message,o.issues):r.error(o),o}},Kr=async({apiClient:e,logger:t,signal:r,filters:n,page:o=1})=>{try{const i=await e.fetch(`/search/results?page=${o}&per_page=${ot}`,{method:"POST",body:JSON.stringify({filters:Wr(n)}),signal:r});return Hr(Jo,i)}catch(i){throw i instanceof rt?t.error(i.message,i.issues):t.error(i),i}},Ot=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},Rt={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};function qr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(r=qr(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function at(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=qr(e))&&(n&&(n+=" "),n+=t);return n}const Yr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Xo=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c,d;return typeof(e==null||(c=e.hooks)===null||c===void 0?void 0:c["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](at(i)):typeof(e==null||(d=e.hooks)===null||d===void 0?void 0:d.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(at(i)):at(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return c=>{const d=Object.fromEntries(Object.entries(c||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return t(i.map(u=>u(d)),c==null?void 0:c.class,c==null?void 0:c.className)}},cva:o=>i=>{var a;if((o==null?void 0:o.variants)==null)return t(o==null?void 0:o.base,i==null?void 0:i.class,i==null?void 0:i.className);const{variants:c,defaultVariants:d}=o,u=Object.keys(c).map(p=>{const _=i==null?void 0:i[p],v=d==null?void 0:d[p],g=Yr(_)||Yr(v);return c[p][g]}),f={...d,...i&&Object.entries(i).reduce((p,_)=>{let[v,g]=_;return typeof g>"u"?p:{...p,[v]:g}},{})},s=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,_)=>{let{class:v,className:g,...m}=_;return Object.entries(m).every(h=>{let[E,y]=h;const j=f[E];return Array.isArray(y)?y.includes(j):j===y})?[...p,v,g]:p},[]);return t(o==null?void 0:o.base,u,s,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:za,cva:fe,cx:Wa}=Xo(),We=fe({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive relative flex cursor-pointer items-center py-1 transition-all duration-snappy active:scale-95",variants:{variant:{neutral:"bg-interactive-neutral-bg pointer-fine:hover:bg-interactive-neutral-bg-hover text-interactive-neutral-text",accent:"bg-interactive-accent-bg pointer-fine:hover:bg-interactive-accent-bg-hover text-interactive-accent-text"},icon:{none:"",right:"",left:""},size:{sm:"py-1",lg:"py-2"}},compoundVariants:[{size:"sm",icon:"right",class:"pl-3 pr-1"},{size:"sm",icon:"left",class:"pl-1 pr-3"},{size:"sm",icon:"none",class:"px-3"},{size:"lg",icon:"none",class:"px-5"},{size:"lg",icon:"right",class:"pl-5 pr-3"}],defaultVariants:{variant:"neutral",icon:"none",size:"sm"}});var Qo=0;function l(e,t,r,n,o,i){var a,c,d={};for(c in t)c=="ref"?a=t[c]:d[c]=t[c];var u={type:e,props:d,key:r,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Qo,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(c in a)d[c]===void 0&&(d[c]=a[c]);return w.vnode&&w.vnode(u),u}const ei=({error:e,resetError:t})=>l("div",{style:{display:"flex",flexDirection:"column",gap:".5rem",padding:"1rem",fontSize:"1rem",color:"hsl(10, 82%, 45%)",fontFamily:"'system-ui' 'Helvetica'",background:"hsl(7, 100%, 98%)"},children:[l("p",{children:e.message}),l("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:"Retry"})]}),pe=({error:e,resetError:t,class:r,...n})=>l("div",{class:at("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",r),...n,children:[l("div",{class:"flex flex-col gap-1",children:[l("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:"Sorry, this widget is unavailable at the moment."}),l("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),l("button",{class:We({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:"Retry"})]});class Be extends W{constructor(){super(...arguments);ur(this,"state",{error:null})}static getDerivedStateFromError(r){return{error:r.message}}componentDidCatch(r){this.setState({error:r})}render(){if(this.state.error){const{Fallback:r}=this.props;return l(r,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const ti={briefcase:l(R,{children:[l("path",{d:"M17.25 7.75H6.75C5.64543 7.75 4.75 8.64543 4.75 9.75V16.25C4.75 17.3546 5.64543 18.25 6.75 18.25H17.25C18.3546 18.25 19.25 17.3546 19.25 16.25V9.75C19.25 8.64543 18.3546 7.75 17.25 7.75Z"}),l("path",{d:"M4.75 11.75H19.25"}),l("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),l("path",{d:"M9.25 7.5V6.25C9.25 5.42157 9.92157 4.75 10.75 4.75H13.25C14.0784 4.75 14.75 5.42157 14.75 6.25V7.5"})]}),brand:l(R,{children:[l("path",{d:"M18.45 13.9901C18.1288 15.031 17.5574 15.9886 16.773 16.773C15.5071 18.0388 13.7902 18.75 12 18.75C10.2098 18.75 8.49289 18.0388 7.22702 16.773C6.44262 15.9886 5.87122 15.031 5.55003 13.9901"}),l("path",{d:"M9.87868 14.8713C10.1573 15.1499 10.488 15.3709 10.8519 15.5216C11.2159 15.6724 11.606 15.75 12 15.75C12.394 15.75 12.7841 15.6724 13.1481 15.5216C13.512 15.3709 13.8427 15.1499 14.1213 14.8713"}),l("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),l("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),l("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),l("circle",{cx:"18.75",cy:"12",r:"2"}),l("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:l(R,{children:[l("path",{d:"M16.75 10.25H13.75"}),l("path",{d:"M16.75 13.25H13.75"}),l("path",{d:"M3 18.25H5.25006M5.25006 18.25V14.25C5.25006 13.1454 6.14549 12.25 7.25006 12.25H10.2501L10.25 8.25003C10.25 6.59316 11.5932 5.25 13.25 5.25H17.25C18.9069 5.25 20.25 6.59315 20.25 8.25V18.25H5.25006Z"}),l("path",{d:"M10.25 12.25V18.25"})]}),circles:l(R,{children:[l("path",{d:"M16.773 16.773C15.829 17.717 14.6262 18.3599 13.3169 18.6203C12.0075 18.8808 10.6503 18.7471 9.41689 18.2362C8.18349 17.7253 7.12928 16.8601 6.38758 15.7501C5.64588 14.6401 5.25 13.335 5.25 12C5.25 10.665 5.64588 9.35993 6.38758 8.2499C7.12928 7.13987 8.18349 6.27471 9.41689 5.76381C10.6503 5.25292 12.0075 5.11925 13.3169 5.3797C14.6262 5.64015 15.829 6.28302 16.773 7.22703"}),l("path",{d:"M9.34835 9.34835C9.8728 8.8239 10.541 8.46675 11.2684 8.32206C11.9958 8.17736 12.7498 8.25162 13.4351 8.53545C14.1203 8.81928 14.706 9.29993 15.118 9.91661C15.5301 10.5333 15.75 11.2583 15.75 12C15.75 12.7417 15.5301 13.4667 15.118 14.0834C14.706 14.7001 14.1203 15.1807 13.4351 15.4645C12.7498 15.7484 11.9958 15.8226 11.2684 15.6779C10.541 15.5333 9.8728 15.1761 9.34835 14.6517"})]}),clock:l(R,{children:[l("path",{d:"M14 9L12 13L9.5 12"}),l("path",{d:"M18.75 12C18.75 15.7279 15.7279 18.75 12 18.75C8.27208 18.75 5.25 15.7279 5.25 12C5.25 8.27208 8.27208 5.25 12 5.25C15.7279 5.25 18.75 8.27208 18.75 12Z"})]}),filter:l(R,{children:l("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:l(R,{children:[l("path",{d:"M5 13.75H19"}),l("path",{d:"M5 10.25H19"}),l("path",{d:"M12 4.75C15.5 9.25 15.5 14.75 12.0001 19.25C8.50012 14.75 8.50005 9.25 12 4.75Z"}),l("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:l(R,{children:[l("path",{d:"M15.5659 15.5659C14.4875 16.6442 13.025 17.25 11.5 17.25C9.97501 17.25 8.51247 16.6442 7.43414 15.5659C6.3558 14.4875 5.75 13.025 5.75 11.5C5.75 9.97501 6.3558 8.51247 7.43414 7.43414C8.51247 6.3558 9.97501 5.75 11.5 5.75C13.025 5.75 14.4875 6.3558 15.5659 7.43414C16.6442 8.51247 17.25 9.97501 17.25 11.5C17.25 13.025 16.6442 14.4875 15.5659 15.5659L15.5659 15.5659Z"}),l("path",{d:"M11.5 8.75C11.8611 8.75 12.2187 8.82113 12.5524 8.95933C12.886 9.09753 13.1892 9.3001 13.4445 9.55546C13.6999 9.81082 13.9025 10.114 14.0407 10.4476C14.1789 10.7813 14.25 11.1389 14.25 11.5"}),l("path",{d:"M16 16L19 19"})]}),mapPin:l(R,{children:l(R,{children:[l("circle",{cx:"12",cy:"9",r:"2"}),l("path",{d:"M16.2426 16.8358C17.0818 17.1155 17.6532 17.4719 17.8847 17.8598C18.1162 18.2478 17.9974 18.6499 17.5433 19.0154C17.0892 19.3808 16.3201 19.6932 15.3334 19.9129C14.3467 20.1327 13.1867 20.25 12 20.25C10.8133 20.25 9.65327 20.1327 8.66658 19.9129C7.67988 19.6932 6.91085 19.3808 6.45672 19.0154C6.0026 18.6499 5.88378 18.2478 6.11529 17.8598C6.3468 17.4719 6.91825 17.1155 7.75736 16.8358"}),l("path",{d:"M17.25 9C17.25 13.3995 12 16.75 12 16.75C12 16.75 6.75 13.3995 6.75 9C6.75 6.10051 9.10051 3.75 12 3.75C14.8995 3.75 17.25 6.10051 17.25 9Z"})]})}),sunset:l(R,{children:[l("path",{d:"M18.5 8.5L17.5 9.5"}),l("path",{d:"M5.5 8.5L6.5 9.5"}),l("path",{d:"M12 6L12 7.5"}),l("path",{d:"M7.5 15.25L7.5 14.25C7.5 13.6591 7.6164 13.0739 7.84254 12.5279C8.06869 11.982 8.40016 11.4859 8.81802 11.068C9.23588 10.6502 9.73196 10.3187 10.2779 10.0925C10.8239 9.8664 11.4091 9.75 12 9.75C12.5909 9.75 13.1761 9.8664 13.7221 10.0925C14.268 10.3187 14.7641 10.6502 15.182 11.068C15.5998 11.4859 15.9313 11.982 16.1575 12.5279C16.3836 13.0739 16.5 13.6591 16.5 14.25V15.25"}),l("path",{d:"M20.25 15.25H12H3.75"}),l("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:l("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:l("path",{d:"M12 8V16M8 12H16"}),"chevron-right":l("path",{d:"M11 8L15 12L11 16"})},ri=({theme:e})=>l("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:l("defs",{children:Object.entries(ti).map(([t,r])=>{var n;return l("symbol",{id:`i-icon-${t}`,children:l("g",{fill:"none","stroke-width":e.mode==="dark"&&((n=e.accessibility)==null?void 0:n.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:r})})})})}),ee=({name:e,...t})=>l("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:l("use",{href:`#i-icon-${e}`})});var te,T,Tt,Zr,Te=0,Gr=[],st=[],Jr=w.__b,Xr=w.__r,Qr=w.diffed,en=w.__c,tn=w.unmount;function je(e,t){w.__h&&w.__h(T,e,Te||t),Te=0;var r=T.__H||(T.__H={__:[],__h:[]});return e>=r.__.length&&r.__.push({__V:st}),r.__[e]}function Z(e){return Te=1,At(an,e)}function At(e,t,r){var n=je(te++,2);if(n.t=e,!n.__c&&(n.__=[r?r(t):an(void 0,t),function(c){var d=n.__N?n.__N[0]:n.__[0],u=n.t(d,c);d!==u&&(n.__N=[u,n.__[1]],n.__c.setState({}))}],n.__c=T,!T.u)){var o=function(c,d,u){if(!n.__c.__H)return!0;var f=n.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,c,d,u);var s=!1;return f.forEach(function(p){if(p.__N){var _=p.__[0];p.__=p.__N,p.__N=void 0,_!==p.__[0]&&(s=!0)}}),!(!s&&n.__c.props===c)&&(!i||i.call(this,c,d,u))};T.u=!0;var i=T.shouldComponentUpdate,a=T.componentWillUpdate;T.componentWillUpdate=function(c,d,u){if(this.__e){var f=i;i=void 0,o(c,d,u),i=f}a&&a.call(this,c,d,u)},T.shouldComponentUpdate=o}return n.__N||n.__}function ke(e,t){var r=je(te++,3);!w.__s&&Pt(r.__H,t)&&(r.__=e,r.i=t,T.__H.__h.push(r))}function Ee(e,t){var r=je(te++,4);!w.__s&&Pt(r.__H,t)&&(r.__=e,r.i=t,T.__h.push(r))}function B(e){return Te=5,Se(function(){return{current:e}},[])}function rn(e,t,r){Te=6,Ee(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},r==null?r:r.concat(e))}function Se(e,t){var r=je(te++,7);return Pt(r.__H,t)?(r.__V=e(),r.i=t,r.__h=e,r.__V):r.__}function Ae(e,t){return Te=8,Se(function(){return e},t)}function Dt(e){var t=T.context[e.__c],r=je(te++,9);return r.c=e,t?(r.__==null&&(r.__=!0,t.sub(T)),t.props.value):e.__}function Lt(e,t){w.useDebugValue&&w.useDebugValue(t?t(e):e)}function ni(e){var t=je(te++,10),r=Z();return t.__=e,T.componentDidCatch||(T.componentDidCatch=function(n,o){t.__&&t.__(n,o),r[1](n)}),[r[0],function(){r[1](void 0)}]}function nn(){var e=je(te++,11);if(!e.__){for(var t=T.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var r=t.__m||(t.__m=[0,0]);e.__="P"+r[0]+"-"+r[1]++}return e.__}function oi(){for(var e;e=Gr.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(lt),e.__H.__h.forEach($t),e.__H.__h=[]}catch(t){e.__H.__h=[],w.__e(t,e.__v)}}w.__b=function(e){T=null,Jr&&Jr(e)},w.__r=function(e){Xr&&Xr(e),te=0;var t=(T=e.__c).__H;t&&(Tt===T?(t.__h=[],T.__h=[],t.__.forEach(function(r){r.__N&&(r.__=r.__N),r.__V=st,r.__N=r.i=void 0})):(t.__h.forEach(lt),t.__h.forEach($t),t.__h=[],te=0)),Tt=T},w.diffed=function(e){Qr&&Qr(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Gr.push(t)!==1&&Zr===w.requestAnimationFrame||((Zr=w.requestAnimationFrame)||ii)(oi)),t.__H.__.forEach(function(r){r.i&&(r.__H=r.i),r.__V!==st&&(r.__=r.__V),r.i=void 0,r.__V=st})),Tt=T=null},w.__c=function(e,t){t.some(function(r){try{r.__h.forEach(lt),r.__h=r.__h.filter(function(n){return!n.__||$t(n)})}catch(n){t.some(function(o){o.__h&&(o.__h=[])}),t=[],w.__e(n,r.__v)}}),en&&en(e,t)},w.unmount=function(e){tn&&tn(e);var t,r=e.__c;r&&r.__H&&(r.__H.__.forEach(function(n){try{lt(n)}catch(o){t=o}}),r.__H=void 0,t&&w.__e(t,r.__v))};var on=typeof requestAnimationFrame=="function";function ii(e){var t,r=function(){clearTimeout(n),on&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(r,100);on&&(t=requestAnimationFrame(r))}function lt(e){var t=T,r=e.__c;typeof r=="function"&&(e.__c=void 0,r()),T=t}function $t(e){var t=T;e.__c=e.__(),T=t}function Pt(e,t){return!e||e.length!==t.length||t.some(function(r,n){return r!==e[n]})}function an(e,t){return typeof t=="function"?t(e):t}const ct=e=>{const t=Object.entries(e.filter).sort(([r],[n])=>r.localeCompare(n)).map(([r,n])=>{var o;return(n==null?void 0:n.select)==="many"?`${r}=${(o=n.value)==null?void 0:o.sort().join("|")}`:`${r}=${n==null?void 0:n.value}`}).join("&");return`${e.baseKey}::${t}`};function sn(e,t){for(var r in t)e[r]=t[r];return e}function Vt(e,t){for(var r in e)if(r!=="__source"&&!(r in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function ut(e){this.props=e}function ln(e,t){function r(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Vt(this.props,o)}function n(o){return this.shouldComponentUpdate=r,V(e,o)}return n.displayName="Memo("+(e.displayName||e.name)+")",n.prototype.isReactComponent=!0,n.__f=!0,n}(ut.prototype=new W).isPureReactComponent=!0,ut.prototype.shouldComponentUpdate=function(e,t){return Vt(this.props,e)||Vt(this.state,t)};var cn=w.__b;w.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),cn&&cn(e)};var ai=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function un(e){function t(r){var n=sn({},r);return delete n.ref,e(n,r.ref||null)}return t.$$typeof=ai,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var dn=function(e,t){return e==null?null:Q(Q(e).map(t))},fn={map:dn,forEach:dn,count:function(e){return e?Q(e).length:0},only:function(e){var t=Q(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Q},si=w.__e;w.__e=function(e,t,r,n){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=r.__e,t.__k=r.__k),o.__c(e,t)}si(e,t,r,n)};var pn=w.unmount;function _n(e,t,r){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=sn({},e)).__c!=null&&(e.__c.__P===r&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return _n(n,t,r)})),e}function hn(e,t,r){return e&&r&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return hn(n,t,r)}),e.__c&&e.__c.__P===t&&(e.__e&&r.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=r)),e}function Ke(){this.__u=0,this.t=null,this.__b=null}function gn(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function vn(e){var t,r,n;function o(i){if(t||(t=e()).then(function(a){r=a.default||a},function(a){n=a}),n)throw n;if(!r)throw t;return V(r,i)}return o.displayName="Lazy",o.__f=!0,o}function De(){this.u=null,this.o=null}w.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),pn&&pn(e)},(Ke.prototype=new W).__c=function(e,t){var r=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(r);var o=gn(n.__v),i=!1,a=function(){i||(i=!0,r.__R=null,o?o(c):c())};r.__R=a;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=hn(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}};n.__u++||32&t.__u||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},Ke.prototype.componentWillUnmount=function(){this.t=[]},Ke.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=_n(this.__b,r,n.__O=n.__P)}this.__b=null}var o=t.__a&&V(R,null,e.fallback);return o&&(o.__u&=-33),[V(R,null,t.__a?null:e.children),o]};var wn=function(e,t,r){if(++r[1]===r[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(r=e.u;r;){for(;r.length>3;)r.pop()();if(r[1]<r[0])break;e.u=r=r[2]}};function li(e){return this.getChildContext=function(){return e.context},e.children}function ci(e){var t=this,r=e.i;t.componentWillUnmount=function(){Oe(null,t.l),t.l=null,t.i=null},t.i&&t.i!==r&&t.componentWillUnmount(),t.l||(t.i=r,t.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),t.i.appendChild(n)},insertBefore:function(n,o){this.childNodes.push(n),t.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),t.i.removeChild(n)}}),Oe(V(li,{context:t.context},e.__v),t.l)}function mn(e,t){var r=V(ci,{__v:e,i:t});return r.containerInfo=t,r}(De.prototype=new W).__a=function(e){var t=this,r=gn(t.__v),n=t.o.get(e);return n[0]++,function(o){var i=function(){t.props.revealOrder?(n.push(o),wn(t,e,n)):o()};r?r(i):i()}},De.prototype.render=function(e){this.u=null,this.o=new Map;var t=Q(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var r=t.length;r--;)this.o.set(t[r],this.u=[1,0,this.u]);return e.children},De.prototype.componentDidUpdate=De.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,r){wn(e,r,t)})};var yn=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,ui=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,di=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,fi=/[A-Z0-9]/g,pi=typeof document<"u",_i=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function bn(e,t,r){return t.__k==null&&(t.textContent=""),Oe(e,t),typeof r=="function"&&r(),e?e.__c:null}function xn(e,t,r){return kt(e,t),typeof r=="function"&&r(),e?e.__c:null}W.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(W.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var jn=w.event;function hi(){}function gi(){return this.cancelBubble}function vi(){return this.defaultPrevented}w.event=function(e){return jn&&(e=jn(e)),e.persist=hi,e.isPropagationStopped=gi,e.isDefaultPrevented=vi,e.nativeEvent=e};var Nt,wi={enumerable:!1,configurable:!0,get:function(){return this.class}},kn=w.vnode;w.vnode=function(e){typeof e.type=="string"&&function(t){var r=t.props,n=t.type,o={};for(var i in r){var a=r[i];if(!(i==="value"&&"defaultValue"in r&&a==null||pi&&i==="children"&&n==="noscript"||i==="class"||i==="className")){var c=i.toLowerCase();i==="defaultValue"&&"value"in r&&r.value==null?i="value":i==="download"&&a===!0?a="":c==="ondoubleclick"?i="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||_i(r.type)?c==="onfocus"?i="onfocusin":c==="onblur"?i="onfocusout":di.test(i)?i=c:n.indexOf("-")===-1&&ui.test(i)?i=i.replace(fi,"-$&").toLowerCase():a===null&&(a=void 0):c=i="oninput",c==="oninput"&&o[i=c]&&(i="oninputCapture"),o[i]=a}}n=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.value.indexOf(d.props.value)!=-1})),n=="select"&&o.defaultValue!=null&&(o.value=Q(r.children).forEach(function(d){d.props.selected=o.multiple?o.defaultValue.indexOf(d.props.value)!=-1:o.defaultValue==d.props.value})),r.class&&!r.className?(o.class=r.class,Object.defineProperty(o,"className",wi)):(r.className&&!r.class||r.class&&r.className)&&(o.class=o.className=r.className),t.props=o}(e),e.$$typeof=yn,kn&&kn(e)};var En=w.__r;w.__r=function(e){En&&En(e),Nt=e.__c};var Sn=w.diffed;w.diffed=function(e){Sn&&Sn(e);var t=e.props,r=e.__e;r!=null&&e.type==="textarea"&&"value"in t&&t.value!==r.value&&(r.value=t.value==null?"":t.value),Nt=null};var Cn={ReactCurrentDispatcher:{current:{readContext:function(e){return Nt.__n[e.__c].props.value}}}},mi="17.0.2";function On(e){return V.bind(null,e)}function qe(e){return!!e&&e.$$typeof===yn}function Rn(e){return qe(e)&&e.type===R}function Tn(e){return qe(e)?ko.apply(null,arguments):e}function An(e){return!!e.__k&&(Oe(null,e),!0)}function Dn(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ln=function(e,t){return e(t)},$n=function(e,t){return e(t)},Pn=R;function Mt(e){e()}function Vn(e){return e}function Nn(){return[!1,Mt]}var Mn=Ee,In=qe;function Hn(e,t){var r=t(),n=Z({h:{__:r,v:t}}),o=n[0].h,i=n[1];return Ee(function(){o.__=r,o.v=t,It(o)&&i({h:o})},[e,r,t]),ke(function(){return It(o)&&i({h:o}),e(function(){It(o)&&i({h:o})})},[e]),r}function It(e){var t,r,n=e.v,o=e.__;try{var i=n();return!((t=o)===(r=i)&&(t!==0||1/t==1/r)||t!=t&&r!=r)}catch{return!0}}var dt={useState:Z,useId:nn,useReducer:At,useEffect:ke,useLayoutEffect:Ee,useInsertionEffect:Mn,useTransition:Nn,useDeferredValue:Vn,useSyncExternalStore:Hn,startTransition:Mt,useRef:B,useImperativeHandle:rn,useMemo:Se,useCallback:Ae,useContext:Dt,useDebugValue:Lt,version:"17.0.2",Children:fn,render:bn,hydrate:xn,unmountComponentAtNode:An,createPortal:mn,createElement:V,createContext:Et,createFactory:On,cloneElement:Tn,createRef:vr,Fragment:R,isValidElement:qe,isElement:In,isFragment:Rn,findDOMNode:Dn,Component:W,PureComponent:ut,memo:ln,forwardRef:un,flushSync:$n,unstable_batchedUpdates:Ln,StrictMode:Pn,Suspense:Ke,SuspenseList:De,lazy:vn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn};const yi=Object.freeze(Object.defineProperty({__proto__:null,Children:fn,Component:W,Fragment:R,PureComponent:ut,StrictMode:Pn,Suspense:Ke,SuspenseList:De,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Cn,cloneElement:Tn,createContext:Et,createElement:V,createFactory:On,createPortal:mn,createRef:vr,default:dt,findDOMNode:Dn,flushSync:$n,forwardRef:un,hydrate:xn,isElement:In,isFragment:Rn,isValidElement:qe,lazy:vn,memo:ln,render:bn,startTransition:Mt,unmountComponentAtNode:An,unstable_batchedUpdates:Ln,useCallback:Ae,useContext:Dt,useDebugValue:Lt,useDeferredValue:Vn,useEffect:ke,useErrorBoundary:ni,useId:nn,useImperativeHandle:rn,useInsertionEffect:Mn,useLayoutEffect:Ee,useMemo:Se,useReducer:At,useRef:B,useState:Z,useSyncExternalStore:Hn,useTransition:Nn,version:mi},Symbol.toStringTag,{value:"Module"}));function bi(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Ht={exports:{}},Ft={};const Fn=bi(yi);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,confi
|
|
|
6
6
|
*
|
|
7
7
|
* This source code is licensed under the MIT license found in the
|
|
8
8
|
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var
|
|
9
|
+
*/var Un;function xi(){if(Un)return Ft;Un=1;var e=Fn;function t(s,p){return s===p&&(s!==0||1/s===1/p)||s!==s&&p!==p}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,a=e.useDebugValue;function c(s,p){var _=p(),v=n({inst:{value:_,getSnapshot:p}}),g=v[0].inst,m=v[1];return i(function(){g.value=_,g.getSnapshot=p,d(g)&&m({inst:g})},[s,_,p]),o(function(){return d(g)&&m({inst:g}),s(function(){d(g)&&m({inst:g})})},[s]),a(_),_}function d(s){var p=s.getSnapshot;s=s.value;try{var _=p();return!r(s,_)}catch{return!0}}function u(s,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:c;return Ft.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:f,Ft}var Ut={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,8 +14,8 @@ var Va=Object.defineProperty;var Na=(F,U,ht)=>U in F?Va(F,U,{enumerable:!0,confi
|
|
|
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 Un;function wi(){return Un||(Un=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 t=In,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(m){{for(var k=arguments.length,S=new Array(k>1?k-1:0),j=1;j<k;j++)S[j-1]=arguments[j];n("error",m,S)}}function n(m,k,S){{var j=e.ReactDebugCurrentFrame,C=j.getStackAddendum();C!==""&&(k+="%s",S=S.concat([C]));var b=S.map(function(x){return String(x)});b.unshift("Warning: "+k),Function.prototype.apply.call(console[m],console,b)}}function o(m,k){return m===k&&(m!==0||1/m===1/k)||m!==m&&k!==k}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,l=t.useEffect,d=t.useLayoutEffect,c=t.useDebugValue,f=!1,s=!1;function p(m,k,S){f||t.startTransition!==void 0&&(f=!0,r("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 j=k();if(!s){var C=k();i(j,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var b=a({inst:{value:j,getSnapshot:k}}),x=b[0].inst,A=b[1];return d(function(){x.value=j,x.getSnapshot=k,_(x)&&A({inst:x})},[m,j,k]),l(function(){_(x)&&A({inst:x});var Y=function(){_(x)&&A({inst:x})};return m(Y)},[m]),c(j),j}function _(m){var k=m.getSnapshot,S=m.value;try{var j=k();return!i(S,j)}catch{return!0}}function v(m,k,S){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!g,h=y?v:p,E=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:h;Fe.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Fe}process.env.NODE_ENV==="production"?He.exports=vi():He.exports=wi();var yi=He.exports;const pt=()=>{},z=pt(),Ue=Object,O=t=>t===z,et=t=>typeof t=="function",_t=(t,e)=>({...t,...e}),mi=t=>et(t.then),ce=new WeakMap;let bi=0;const Kt=t=>{const e=typeof t,r=t&&t.constructor,n=r==Date;let o,i;if(Ue(t)===t&&!n&&r!=RegExp){if(o=ce.get(t),o)return o;if(o=++bi+"~",ce.set(t,o),r==Array){for(o="@",i=0;i<t.length;i++)o+=Kt(t[i])+",";ce.set(t,o)}if(r==Ue){o="#";const a=Ue.keys(t).sort();for(;!O(i=a.pop());)O(t[i])||(o+=i+":"+Kt(t[i])+",");ce.set(t,o)}}else o=n?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},rt=new WeakMap,ze={},ue={},We="undefined",de=typeof window!=We,Be=typeof document!=We,xi=()=>de&&typeof window.requestAnimationFrame!=We,zn=(t,e)=>{const r=rt.get(t);return[()=>!O(e)&&t.get(e)||ze,n=>{if(!O(e)){const o=t.get(e);e in ue||(ue[e]=o),r[5](e,_t(o,n),o||ze)}},r[6],()=>!O(e)&&e in ue?ue[e]:!O(e)&&t.get(e)||ze]};let Ke=!0;const ki=()=>Ke,[Ye,qe]=de&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[pt,pt],ji=()=>{const t=Be&&document.visibilityState;return O(t)||t!=="hidden"},Ei=t=>(Be&&document.addEventListener("visibilitychange",t),Ye("focus",t),()=>{Be&&document.removeEventListener("visibilitychange",t),qe("focus",t)}),Si=t=>{const e=()=>{Ke=!0,t()},r=()=>{Ke=!1};return Ye("online",e),Ye("offline",r),()=>{qe("online",e),qe("offline",r)}},Ci={isOnline:ki,isVisible:ji},Oi={initFocus:Ei,initReconnect:Si},Wn=!le.useId,Yt=!de||"Deno"in window,Ti=t=>xi()?window.requestAnimationFrame(t):setTimeout(t,1),Ze=Yt?bt:xt,Ge=typeof navigator<"u"&&navigator.connection,Bn=!Yt&&Ge&&(["slow-2g","2g"].includes(Ge.effectiveType)||Ge.saveData),Je=t=>{if(et(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?Kt(t):"",[t,e]};let Ri=0;const Xe=()=>++Ri,Kn=0,Yn=1,qn=2;var qt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Kn,MUTATE_EVENT:qn,RECONNECT_EVENT:Yn};async function Zn(...t){const[e,r,n,o]=t,i=_t({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const l=i.rollbackOnError;let d=i.optimisticData;const c=i.revalidate!==!1,f=_=>typeof l=="function"?l(_):l!==!1,s=i.throwOnError;if(et(r)){const _=r,v=[],g=e.keys();for(const y of g)!/^\$(inf|sub)\$/.test(y)&&_(e.get(y)._k)&&v.push(y);return Promise.all(v.map(p))}return p(r);async function p(_){const[v]=Je(_);if(!v)return;const[g,y]=zn(e,v),[h,E,m,k]=rt.get(e),S=()=>{const H=h[v];return c&&(delete m[v],delete k[v],H&&H[0])?H[0](qn).then(()=>g().data):g().data};if(t.length<3)return S();let j=n,C;const b=Xe();E[v]=[b,0];const x=!O(d),A=g(),Y=A.data,Dt=A._c,ot=O(Dt)?Y:Dt;if(x&&(d=et(d)?d(ot,Y):d,y({data:d,_c:ot})),et(j))try{j=j(ot)}catch(H){C=H}if(j&&mi(j))if(j=await j.catch(H=>{C=H}),b!==E[v][0]){if(C)throw C;return j}else C&&x&&f(C)&&(a=!0,y({data:ot,_c:z}));if(a&&!C)if(et(a)){const H=a(j,ot);y({data:H,error:z,_c:z})}else y({data:j,error:z,_c:z});if(E[v][1]=Xe(),Promise.resolve(S()).then(()=>{y({_c:z})}),C){if(s)throw C;return}return j}}const Gn=(t,e)=>{for(const r in t)t[r][0]&&t[r][0](e)},Ai=(t,e)=>{if(!rt.has(t)){const r=_t(Oi,e),n={},o=Zn.bind(z,t);let i=pt;const a={},l=(f,s)=>{const p=a[f]||[];return a[f]=p,p.push(s),()=>p.splice(p.indexOf(s),1)},d=(f,s,p)=>{t.set(f,s);const _=a[f];if(_)for(const v of _)v(s,p)},c=()=>{if(!rt.has(t)&&(rt.set(t,[n,{},{},{},o,d,l]),!Yt)){const f=r.initFocus(setTimeout.bind(z,Gn.bind(z,n,Kn))),s=r.initReconnect(setTimeout.bind(z,Gn.bind(z,n,Yn)));i=()=>{f&&f(),s&&s(),rt.delete(t)}}};return c(),[t,o,c,i]}return[t,rt.get(t)[4]]},Di=(t,e,r,n,o)=>{const i=r.errorRetryCount,a=o.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!O(i)&&a>i||setTimeout(n,l,o)},Li=(t,e)=>Kt(t)==Kt(e),[Jn,$i]=Ai(new Map),Pi=_t({onLoadingSlow:pt,onSuccess:pt,onError:pt,onErrorRetry:Di,onDiscarded:pt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Bn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Bn?5e3:3e3,compare:Li,isPaused:()=>!1,cache:Jn,mutate:$i,fallback:{}},Ci),Vi=(t,e)=>{const r=_t(t,e);if(e){const{use:n,fallback:o}=t,{use:i,fallback:a}=e;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=_t(o,a))}return r},Ni=xe({}),Mi="$inf$",Xn=de&&window.__SWR_DEVTOOLS_USE__,Hi=Xn?window.__SWR_DEVTOOLS_USE__:[],Ii=()=>{Xn&&(window.__SWR_DEVTOOLS_REACT__=le)},Fi=t=>et(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Ui=()=>_t(Pi,Ae(Ni)),zi=t=>(e,r,n)=>t(e,r&&((...i)=>{const[a]=Je(e),[,,,l]=rt.get(Jn);if(a.startsWith(Mi))return r(...i);const d=l[a];return O(d)?r(...i):(delete l[a],d)}),n),Wi=Hi.concat(zi),Bi=t=>function(...r){const n=Ui(),[o,i,a]=Fi(r),l=Vi(n,a);let d=t;const{use:c}=l,f=(c||[]).concat(Wi);for(let s=f.length;s--;)d=f[s](d);return d(o,i||l.fetcher||null,l)},Ki=(t,e,r)=>{const n=e[t]||(e[t]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};Ii();const Qn=le.use||(t=>{if(t.status==="pending")throw t;if(t.status==="fulfilled")return t.value;throw t.status==="rejected"?t.reason:(t.status="pending",t.then(e=>{t.status="fulfilled",t.value=e},e=>{t.status="rejected",t.reason=e}),t)}),Qe={dedupe:!0},tr=Bi((t,e,r)=>{const{cache:n,compare:o,suspense:i,fallbackData:a,revalidateOnMount:l,revalidateIfStale:d,refreshInterval:c,refreshWhenHidden:f,refreshWhenOffline:s,keepPreviousData:p}=r,[_,v,g,y]=rt.get(n),[h,E]=Je(t),m=B(!1),k=B(!1),S=B(h),j=B(e),C=B(r),b=()=>C.current,x=()=>b().isVisible()&&b().isOnline(),[A,Y,Dt,ot]=zn(n,h),H=B({}).current,Aa=O(a)?r.fallback[h]:a,ao=(D,L)=>{for(const M in H){const $=M;if($==="data"){if(!o(D[$],L[$])&&(!O(D[$])||!o(he,L[$])))return!1}else if(L[$]!==D[$])return!1}return!0},so=kt(()=>{const D=(()=>!h||!e?!1:O(l)?b().isPaused()||i?!1:O(d)?!0:d:l)(),L=I=>{const it=_t(I);return delete it._k,D?{isValidating:!0,isLoading:!0,...it}:it},M=A(),$=ot(),J=L(M),Vt=M===$?J:L($);let N=J;return[()=>{const I=L(A());return ao(I,N)?(N.data=I.data,N.isLoading=I.isLoading,N.isValidating=I.isValidating,N.error=I.error,N):(N=I,I)},()=>Vt]},[n,h]),Lt=yi.useSyncExternalStore(Rt(D=>Dt(h,(L,M)=>{ao(M,L)||D()}),[n,h]),so[0],so[1]),lo=!m.current,Da=_[h]&&_[h].length>0,$t=Lt.data,Pt=O($t)?Aa:$t,_e=Lt.error,co=B(Pt),he=p?O($t)?co.current:$t:Pt,uo=(()=>Da&&!O(_e)?!1:lo&&!O(l)?l:b().isPaused()?!1:i?O(Pt)?!1:d:O(Pt)||d)(),fo=!!(h&&e&&lo&&uo),La=O(Lt.isValidating)?fo:Lt.isValidating,$a=O(Lt.isLoading)?fo:Lt.isLoading,Zt=Rt(async D=>{const L=j.current;if(!h||!L||k.current||b().isPaused())return!1;let M,$,J=!0;const Vt=D||{},N=!g[h]||!Vt.dedupe,I=()=>Wn?!k.current&&h===S.current&&m.current:h===S.current,it={isValidating:!1,isLoading:!1},_o=()=>{Y(it)},ho=()=>{const K=g[h];K&&K[1]===$&&delete g[h]},go={isValidating:!0};O(A().data)&&(go.isLoading=!0);try{if(N&&(Y(go),r.loadingTimeout&&O(A().data)&&setTimeout(()=>{J&&I()&&b().onLoadingSlow(h,r)},r.loadingTimeout),g[h]=[L(E),Xe()]),[M,$]=g[h],M=await M,N&&setTimeout(ho,r.dedupingInterval),!g[h]||g[h][1]!==$)return N&&I()&&b().onDiscarded(h),!1;it.error=z;const K=v[h];if(!O(K)&&($<=K[0]||$<=K[1]||K[1]===0))return _o(),N&&I()&&b().onDiscarded(h),!1;const at=A().data;it.data=o(at,M)?at:M,N&&I()&&b().onSuccess(M,h,r)}catch(K){ho();const at=b(),{shouldRetryOnError:sr}=at;at.isPaused()||(it.error=K,N&&I()&&(at.onError(K,h,at),(sr===!0||et(sr)&&sr(K))&&x()&&at.onErrorRetry(K,h,at,Pa=>{const lr=_[h];lr&&lr[0]&&lr[0](qt.ERROR_REVALIDATE_EVENT,Pa)},{retryCount:(Vt.retryCount||0)+1,dedupe:!0})))}return J=!1,_o(),!0},[h,n]),po=Rt((...D)=>Zn(n,S.current,...D),[]);if(Ze(()=>{j.current=e,C.current=r,O($t)||(co.current=$t)}),Ze(()=>{if(!h)return;const D=Zt.bind(z,Qe);let L=0;const $=Ki(h,_,(J,Vt={})=>{if(J==qt.FOCUS_EVENT){const N=Date.now();b().revalidateOnFocus&&N>L&&x()&&(L=N+b().focusThrottleInterval,D())}else if(J==qt.RECONNECT_EVENT)b().revalidateOnReconnect&&x()&&D();else{if(J==qt.MUTATE_EVENT)return Zt();if(J==qt.ERROR_REVALIDATE_EVENT)return Zt(Vt)}});return k.current=!1,S.current=h,m.current=!0,Y({_k:E}),uo&&(O(Pt)||Yt?D():Ti(D)),()=>{k.current=!0,$()}},[h]),Ze(()=>{let D;function L(){const $=et(c)?c(A().data):c;$&&D!==-1&&(D=setTimeout(M,$))}function M(){!A().error&&(f||b().isVisible())&&(s||b().isOnline())?Zt(Qe).then(L):L()}return L(),()=>{D&&(clearTimeout(D),D=-1)}},[c,f,s,h]),De(he),i&&O(Pt)&&h){if(!Wn&&Yt)throw new Error("Fallback data is required when using suspense in SSR.");j.current=e,C.current=r,k.current=!1;const D=y[h];if(!O(D)){const L=po(D);Qn(L)}if(O(_e)){const L=Zt(Qe);O(he)||(L.status="fulfilled",L.value=!0),Qn(L)}else throw _e}return{mutate:po,get data(){return H.data=!0,he},get error(){return H.error=!0,_e},get isValidating(){return H.isValidating=!0,La},get isLoading(){return H.isLoading=!0,$a}}}),nt=dt({base:"truncate max-w-full block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"bg-tag-neutral-weak-bg border-solid border-px text-tag-neutral-weak-copy border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy border-solid border-px bg-tag-neutral-strong-bg border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy border-solid border-px bg-tag-accent-strong-bg border-tag-accent-strong-stroke",monetaryWeak:"bg-tag-monetary-weak-bg border-none text-tag-monetary-weak-copy"},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}}),Yi=({query:t,property:e,selectedValues:r})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>r.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return U(i),u("span",{class:nt({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return u("span",{class:nt({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:F(t)}},to=8,eo=42,qi=8,Zi=6,Gi=4,Ji=dt({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"}}}),Xi=(t,e)=>{const r=t.indexOf(e);return r===-1?[...t,e]:t.filter((n,o)=>o!==r)},Qi=({value:t,property:e,onSkip:r,useQuery:n,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const l=Se(n());if(l.state==="error")throw l.error;const d=kt(()=>{switch(l.state){case"loading":return null;case"loaded":case"revalidating":{const g=l.data[e.key]??[];return Object.fromEntries(g.map(y=>[y.value,!0]))}default:F(l)}},[l,e.key]),c=ro(t),f=c.length>0,[s,p]=q(to),[_,v]=q();return bt(()=>{a()}),u("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&u("div",{class:"top-0 px-4 py-1",children:u("input",{type:"text",class:Ji({hasValue:f}),value:_,onInput:g=>v(g.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":throw i.error;case"loading":return u("div",{class:"flex px-4",children:u("div",{"aria-hidden":!0,class:nt({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:u("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const g=i.data[e.key]??[],h=(_&&_.length>1?g.filter(m=>m.label.toLowerCase().includes(_.toLowerCase())):g).map(m=>({...m,disabled:d===null?!1:d[m.value]!==!0}));return h.find(m=>!m.disabled)?u("div",{class:"pointer-fine:px-4",children:u("ul",{style:{maxHeight:(eo+qi)*(Zi-1)+eo/2+2*Gi},class:"hide-scrollbars 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 gap-2 overflow-y-auto px-4",children:[h.slice(0,s).map(m=>{const k=c.includes(m.value);return u("li",{class:"animate-appear-tag max-w-full origin-top",children:u("button",{"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(t.select){case"many":{const S=Xi(c,m.value);o({select:"many",value:S});break}case"one":o({select:"one",value:m.value});break;default:F(t)}},class:nt({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag"}),children:m.label})},m.value)}),h.length>s&&u("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:u("button",{class:Ut({variant:"neutral",icon:"right",size:"lg",class:"border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:()=>{p(s+to)},children:[u("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),u(ft,{"aria-hidden":!0,name:"plus"})]})})]})}):u("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."})}default:F(i)}})(),u("footer",{class:"flex justify-end p-2",children:[u("div",{class:"flex-1",children:f&&u("button",{class:Ut({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[u(ft,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&u("div",{class:"flex items-center overflow-hidden",children:u("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[c.length," selected"]})}),u("div",{class:"flex-1",children:u("button",{class:Ut({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:r,children:[f?"Done":"Skip"," ",u(ft,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ta={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},ea=dt({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"}}}),ra=dt({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"}}}),na=dt({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),oa=t=>{const e=B(null),[r,n]=q(0),o=()=>{var i;return n(((i=e.current)==null?void 0:i.clientHeight)??0)};return xt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:r,ref:e,updateHeight:o}},ro=t=>typeof t.value=="string"?[t.value]:t.value??[],ia=({active:t,value:e,onActiveChange:r,property:n,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:l})=>{const d=n.icon??ta[n.key]??"filter",c=ro(e),{height:f,ref:s,updateHeight:p}=oa([t]),_=c.length>0;return u("section",{"data-filter-key":n.key,role:"tab","aria-label":n.label,"aria-selected":t?"true":void 0,class:ea({hasValue:_}),onTouchStart:ca,children:[u("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[u("button",{"aria-label":t?"Close filter":"Open filter",class:ra({state:t?"active":_?"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:()=>r(!t),children:[u(ft,{"aria-hidden":!0,class:"flex-none",name:d}),u("p",{children:n.label})]}),u("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:f},children:u("div",{class:"w-full",ref:s,children:t&&u(Qi,{useQuery:l,onRender:p,onSkip:o,onValueChange:i,unfilteredQuery:a,property:n,value:e})})})]}),!t&&u("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:()=>r(!0),children:[u("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:u(Yi,{property:n,query:a,selectedValues:c})}),u(ft,{"aria-hidden":!0,class:na(),name:"chevron-right"})]})]})},aa=t=>{const e=B();return bt(()=>{e.current=t},[t]),e.current},sa=(t,e)=>{var o;const r=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),n=(r==null?void 0:r.querySelector("[data-current-value]"))??(r==null?void 0:r.querySelector("[data-filter]"));n&&(U(n instanceof HTMLButtonElement,"option must be button"),n.focus())},la=(t,e)=>{const r=aa(t);bt(()=>{if(r===t)return;const n=t??r;n&&sa(n,e)},[t,r,e])};function ca(){}const ua=({property:t,value:e,activeKey:r,properties:n,appliedFilters:o})=>{var i,a;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:r};case"many":return{newValue:e,newActiveKey:r};case"one":{const l=n.findIndex(s=>s.key===t.key),d=l!==-1?(i=n[l+1])==null?void 0:i.key:void 0,f=(d?((a=o[d])==null?void 0:a.value)!==void 0:!1)?void 0:d;return{newValue:e,newActiveKey:f}}default:F(e)}},da=({properties:t,parentRef:e,appliedFilters:r,onFilterValueChange:n,apiClient:o,logger:i})=>{var s;const[a,l]=q((s=t[0])==null?void 0:s.key);la(a,e);const d=kt(()=>er(t),[t]),c=Se(tr(ae({filter:d,baseKey:"filters"}),()=>Wr({apiClient:o,logger:i,filters:d}),Ce));if(c.state==="error")throw c.error;const f=Rt(p=>()=>{const _={...r,[p]:d[p]};return tr(ae({filter:_,baseKey:"filters"}),()=>Wr({apiClient:o,logger:i,filters:_}),Ce)},[o,r,d,i]);return u("aside",{children:u("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.map(p=>{const _=a===p.key,v=r[p.key]??{select:p.select,value:void 0},g=E=>{const{newActiveKey:m,newValue:k}=ua({property:p,activeKey:a,value:E,properties:t,appliedFilters:r});return l(m),n(p.key,k)},y=E=>l(E?p.key:void 0),h=f(p.key);return u(zt,{Fallback:ne,children:u(ia,{unfilteredQuery:c,active:_,property:p,onActiveChange:y,value:v,onSkip:()=>{var k;const E=t.findIndex(S=>S.key===a),m=E!==-1?(k=t[E+1])==null?void 0:k.key:void 0;l(m)},useQuery:h,onValueChange:g})},p.key)})})})},fe=({chars:t})=>u("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),no=dt({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}}),fa=dt({base:"bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"}),oo=({job:t,property:e})=>{switch(typeof e){case"string":return ht(e,t.raw)?t.raw[e]:null;case"object":return t.customData&&e.transform(t.customData[e.key]);default:F(e)}},pa=({job:t,config:e})=>{const r=oo({job:t,property:e.subheading}),n=e.infoTags.map(o=>oo({job:t,property:o})).filter(Boolean);return u("a",{href:t.href,class:no(),children:[u("div",{class:"flex flex-1 flex-col gap-4",children:[u("div",{class:"flex flex-col items-start gap-1",children:[u("div",{class:"order-2 flex flex-col gap-1",children:[u("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:t.title}),r?u("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),t.isNew?u("span",{class:fa({class:"order-1"}),children:"NEW"}):u("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]})]}),u("div",{class:"flex flex-col items-start gap-2",children:[t.pay&&u("span",{class:nt({variant:"monetaryWeak",size:"xs"}),children:t.pay}),n.length>0&&u("div",{class:"flex items-center gap-2",children:n.map(o=>u("span",{class:nt({size:"xs"}),children:o},o))})]})]}),u("div",{"aria-hidden":!0,class:"flex items-center",children:u(ft,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},io=({animationDelay:t,seed:e})=>u("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:no({interactive:!1}),children:[u("div",{class:"flex flex-1 flex-col gap-4",children:[u("div",{class:"flex flex-col items-start gap-1",children:[u("p",{class:"text-style-job-card-info text-copy-job-info",children:u(fe,{chars:12})}),u("div",{class:"flex flex-col gap-1",children:[u("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:u(fe,{chars:13+(e+5)*e%7})}),u("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:u(fe,{chars:7+e*e%3})})]})]}),u("div",{class:"flex flex-col items-start gap-2",children:[e%2===0&&u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),u("div",{class:"flex items-center gap-2",children:[u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),u("span",{class:nt({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),u("div",{"aria-hidden":!0,class:"flex items-center",children:u(ft,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),_a=({state:t,fetchNextPage:e})=>t==="revalidating"?u("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:re}).map((r,n)=>u("li",{children:u(io,{seed:n,animationDelay:(n-4)*.1})},n))}):u("button",{class:Ut({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),ha=({pagination:t})=>(U(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),ga=({appliedFilters:t,apiClient:e,logger:r,jobCardConfig:n,initialData:o})=>{const[i,a]=q(1);return u(T,{children:Array.from({length:i}).map((l,d)=>{const c=d===i-1;return u(zt,{Fallback:ne,children:u(va,{appliedFilters:t,apiClient:e,logger:r,page:d+1,isFirst:d===0,isLast:c,fetchNextPage:()=>a(i+1),jobCardConfig:n,initialData:o},d)},d)})})},va=({appliedFilters:t,apiClient:e,logger:r,page:n,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:l,initialData:d})=>{const{data:c,error:f,state:s}=Se(tr(ae({filter:t,baseKey:n.toString()}),()=>Br({apiClient:e,logger:r,filters:t,page:n}),{...Ce,fallbackData:d}));switch(s){case"loading":return u(T,{children:[o&&u("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:u(fe,{chars:8})}),u("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:re}).map((p,_)=>u("li",{children:u(io,{seed:_,animationDelay:(_-re)*.1})},_))})]});case"error":throw f;case"revalidating":case"loaded":{if(U(c.pagination.current_page===n),c.pagination.total===0)return u("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[u(ft,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),u("div",{class:"flex flex-col items-center gap-1",children:[u("p",{class:"text-copy-neutral",children:"No jobs found"}),u("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const p=c.pagination.last_page!==c.pagination.current_page;return u(T,{children:[o&&u("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:ha({pagination:c.pagination})}),u("ul",{"aria-label":`Page ${n}`,class:"flex flex-col gap-3",children:c.results.map(_=>u("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:s==="revalidating"?.33:1},children:u(pa,{job:_,config:l})},_.id))}),p&&i&&u(_a,{state:s,fetchNextPage:a})]})}default:F(s)}},er=t=>t.reduce((e,r)=>{switch(r.select){case"one":e[r.key]={select:r.select,value:r.value};break;case"many":e[r.key]={select:r.select,value:r.value?[r.value]:[]};break;default:F(r.select)}return e},{}),wa=({apiClient:t,logger:e,properties:r,class:n,jobCardConfig:o,initialData:i})=>{const a=B(null),[l,d]=q(()=>er(r));return u("div",{ref:a,class:n,id:Fr,children:u("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:[u(zt,{Fallback:ne,children:u(da,{appliedFilters:l,onFilterValueChange:(c,f)=>{d(s=>({...s,[c]:f}))},properties:r,parentRef:a,logger:e,apiClient:t})}),u("div",{class:"md:col-span-2",children:u("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:u(zt,{Fallback:ne,children:u(ga,{appliedFilters:l,logger:e,apiClient:t,jobCardConfig:o,initialData:i==null?void 0:i.jobs},ae({filter:l,baseKey:"resultsSection"}))})})})]})})},ya=`#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: }#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: }#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 .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 .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#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-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-screen{min-height:100vh}#ijs .w-\\[10ch\\]{width:10ch}#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-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 .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 appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@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 .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .flex-nowrap{flex-wrap:nowrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-2{gap:.5rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#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 .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-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-none{border-style:none}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-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-app{background-color:var(--i-app-bg)}#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-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 .p-0{padding:0}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#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-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#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-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#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-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 .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-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#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 .caret-accent-11{caret-color:var(--i-color-a-11)}#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 .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#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-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 .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-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 .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 .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#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 .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#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 .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#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-\\[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-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)}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:w-full{width:100%}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@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))}
|
|
18
|
-
`;var
|
|
17
|
+
*/var zn;function ji(){return zn||(zn=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=Fn,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function r(y){{for(var j=arguments.length,S=new Array(j>1?j-1:0),k=1;k<j;k++)S[k-1]=arguments[k];n("error",y,S)}}function n(y,j,S){{var k=t.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(j+="%s",S=S.concat([C]));var b=S.map(function(x){return String(x)});b.unshift("Warning: "+j),Function.prototype.apply.call(console[y],console,b)}}function o(y,j){return y===j&&(y!==0||1/y===1/j)||y!==y&&j!==j}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,c=e.useEffect,d=e.useLayoutEffect,u=e.useDebugValue,f=!1,s=!1;function p(y,j,S){f||e.startTransition!==void 0&&(f=!0,r("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=j();if(!s){var C=j();i(k,C)||(r("The result of getSnapshot should be cached to avoid an infinite loop"),s=!0)}var b=a({inst:{value:k,getSnapshot:j}}),x=b[0].inst,A=b[1];return d(function(){x.value=k,x.getSnapshot=j,_(x)&&A({inst:x})},[y,k,j]),c(function(){_(x)&&A({inst:x});var Y=function(){_(x)&&A({inst:x})};return y(Y)},[y]),u(k),k}function _(y){var j=y.getSnapshot,S=y.value;try{var k=j();return!i(S,k)}catch{return!0}}function v(y,j,S){return j()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m=!g,h=m?v:p,E=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h;Ut.useSyncExternalStore=E,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Ut}process.env.NODE_ENV==="production"?Ht.exports=xi():Ht.exports=ji();var ki=Ht.exports;const _e=()=>{},z=_e(),zt=Object,O=e=>e===z,re=e=>typeof e=="function",he=(e,t)=>({...e,...t}),Ei=e=>re(e.then),ft=new WeakMap;let Si=0;const Ye=e=>{const t=typeof e,r=e&&e.constructor,n=r==Date;let o,i;if(zt(e)===e&&!n&&r!=RegExp){if(o=ft.get(e),o)return o;if(o=++Si+"~",ft.set(e,o),r==Array){for(o="@",i=0;i<e.length;i++)o+=Ye(e[i])+",";ft.set(e,o)}if(r==zt){o="#";const a=zt.keys(e).sort();for(;!O(i=a.pop());)O(e[i])||(o+=i+":"+Ye(e[i])+",");ft.set(e,o)}}else o=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},ne=new WeakMap,Wt={},pt={},Bt="undefined",_t=typeof window!=Bt,Kt=typeof document!=Bt,Ci=()=>_t&&typeof window.requestAnimationFrame!=Bt,Wn=(e,t)=>{const r=ne.get(e);return[()=>!O(t)&&e.get(t)||Wt,n=>{if(!O(t)){const o=e.get(t);t in pt||(pt[t]=o),r[5](t,he(o,n),o||Wt)}},r[6],()=>!O(t)&&t in pt?pt[t]:!O(t)&&e.get(t)||Wt]};let qt=!0;const Oi=()=>qt,[Yt,Zt]=_t&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_e,_e],Ri=()=>{const e=Kt&&document.visibilityState;return O(e)||e!=="hidden"},Ti=e=>(Kt&&document.addEventListener("visibilitychange",e),Yt("focus",e),()=>{Kt&&document.removeEventListener("visibilitychange",e),Zt("focus",e)}),Ai=e=>{const t=()=>{qt=!0,e()},r=()=>{qt=!1};return Yt("online",t),Yt("offline",r),()=>{Zt("online",t),Zt("offline",r)}},Di={isOnline:Oi,isVisible:Ri},Li={initFocus:Ti,initReconnect:Ai},Bn=!dt.useId,Ze=!_t||"Deno"in window,$i=e=>Ci()?window.requestAnimationFrame(e):setTimeout(e,1),Gt=Ze?ke:Ee,Jt=typeof navigator<"u"&&navigator.connection,Kn=!Ze&&Jt&&(["slow-2g","2g"].includes(Jt.effectiveType)||Jt.saveData),Xt=e=>{if(re(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ye(e):"",[e,t]};let Pi=0;const Qt=()=>++Pi,qn=0,Yn=1,Zn=2;var Ge={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:qn,MUTATE_EVENT:Zn,RECONNECT_EVENT:Yn};async function Gn(...e){const[t,r,n,o]=e,i=he({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const c=i.rollbackOnError;let d=i.optimisticData;const u=i.revalidate!==!1,f=_=>typeof c=="function"?c(_):c!==!1,s=i.throwOnError;if(re(r)){const _=r,v=[],g=t.keys();for(const m of g)!/^\$(inf|sub)\$/.test(m)&&_(t.get(m)._k)&&v.push(m);return Promise.all(v.map(p))}return p(r);async function p(_){const[v]=Xt(_);if(!v)return;const[g,m]=Wn(t,v),[h,E,y,j]=ne.get(t),S=()=>{const I=h[v];return u&&(delete y[v],delete j[v],I&&I[0])?I[0](Zn).then(()=>g().data):g().data};if(e.length<3)return S();let k=n,C;const b=Qt();E[v]=[b,0];const x=!O(d),A=g(),Y=A.data,Le=A._c,ie=O(Le)?Y:Le;if(x&&(d=re(d)?d(ie,Y):d,m({data:d,_c:ie})),re(k))try{k=k(ie)}catch(I){C=I}if(k&&Ei(k))if(k=await k.catch(I=>{C=I}),b!==E[v][0]){if(C)throw C;return k}else C&&x&&f(C)&&(a=!0,m({data:ie,_c:z}));if(a&&!C)if(re(a)){const I=a(k,ie);m({data:I,error:z,_c:z})}else m({data:k,error:z,_c:z});if(E[v][1]=Qt(),Promise.resolve(S()).then(()=>{m({_c:z})}),C){if(s)throw C;return}return k}}const Jn=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},Vi=(e,t)=>{if(!ne.has(e)){const r=he(Li,t),n={},o=Gn.bind(z,e);let i=_e;const a={},c=(f,s)=>{const p=a[f]||[];return a[f]=p,p.push(s),()=>p.splice(p.indexOf(s),1)},d=(f,s,p)=>{e.set(f,s);const _=a[f];if(_)for(const v of _)v(s,p)},u=()=>{if(!ne.has(e)&&(ne.set(e,[n,{},{},{},o,d,c]),!Ze)){const f=r.initFocus(setTimeout.bind(z,Jn.bind(z,n,qn))),s=r.initReconnect(setTimeout.bind(z,Jn.bind(z,n,Yn)));i=()=>{f&&f(),s&&s(),ne.delete(e)}}};return u(),[e,o,u,i]}return[e,ne.get(e)[4]]},Ni=(e,t,r,n,o)=>{const i=r.errorRetryCount,a=o.retryCount,c=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!O(i)&&a>i||setTimeout(n,c,o)},Mi=(e,t)=>Ye(e)==Ye(t),[Xn,Ii]=Vi(new Map),Hi=he({onLoadingSlow:_e,onSuccess:_e,onError:_e,onErrorRetry:Ni,onDiscarded:_e,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Kn?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Kn?5e3:3e3,compare:Mi,isPaused:()=>!1,cache:Xn,mutate:Ii,fallback:{}},Di),Fi=(e,t)=>{const r=he(e,t);if(t){const{use:n,fallback:o}=e,{use:i,fallback:a}=t;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=he(o,a))}return r},Ui=Et({}),zi="$inf$",Qn=_t&&window.__SWR_DEVTOOLS_USE__,Wi=Qn?window.__SWR_DEVTOOLS_USE__:[],Bi=()=>{Qn&&(window.__SWR_DEVTOOLS_REACT__=dt)},Ki=e=>re(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],qi=()=>he(Hi,Dt(Ui)),Yi=e=>(t,r,n)=>e(t,r&&((...i)=>{const[a]=Xt(t),[,,,c]=ne.get(Xn);if(a.startsWith(zi))return r(...i);const d=c[a];return O(d)?r(...i):(delete c[a],d)}),n),Zi=Wi.concat(Yi),Gi=e=>function(...r){const n=qi(),[o,i,a]=Ki(r),c=Fi(n,a);let d=e;const{use:u}=c,f=(u||[]).concat(Zi);for(let s=f.length;s--;)d=f[s](d);return d(o,i||c.fetcher||null,c)},Ji=(e,t,r)=>{const n=t[e]||(t[e]=[]);return n.push(r),()=>{const o=n.indexOf(r);o>=0&&(n[o]=n[n.length-1],n.pop())}};Bi();const eo=dt.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)}),er={dedupe:!0},tr=Gi((e,t,r)=>{const{cache:n,compare:o,suspense:i,fallbackData:a,revalidateOnMount:c,revalidateIfStale:d,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:s,keepPreviousData:p}=r,[_,v,g,m]=ne.get(n),[h,E]=Xt(e),y=B(!1),j=B(!1),S=B(h),k=B(t),C=B(r),b=()=>C.current,x=()=>b().isVisible()&&b().isOnline(),[A,Y,Le,ie]=Wn(n,h),I=B({}).current,Va=O(a)?r.fallback[h]:a,so=(D,L)=>{for(const M in I){const P=M;if(P==="data"){if(!o(D[P],L[P])&&(!O(D[P])||!o(wt,L[P])))return!1}else if(L[P]!==D[P])return!1}return!0},lo=Se(()=>{const D=(()=>!h||!t?!1:O(c)?b().isPaused()||i?!1:O(d)?!0:d:c)(),L=H=>{const ae=he(H);return delete ae._k,D?{isValidating:!0,isLoading:!0,...ae}:ae},M=A(),P=ie(),J=L(M),Ne=M===P?J:L(P);let N=J;return[()=>{const H=L(A());return so(H,N)?(N.data=H.data,N.isLoading=H.isLoading,N.isValidating=H.isValidating,N.error=H.error,N):(N=H,H)},()=>Ne]},[n,h]),$e=ki.useSyncExternalStore(Ae(D=>Le(h,(L,M)=>{so(M,L)||D()}),[n,h]),lo[0],lo[1]),co=!y.current,Na=_[h]&&_[h].length>0,Pe=$e.data,Ve=O(Pe)?Va:Pe,vt=$e.error,uo=B(Ve),wt=p?O(Pe)?uo.current:Pe:Ve,fo=(()=>Na&&!O(vt)?!1:co&&!O(c)?c:b().isPaused()?!1:i?O(Ve)?!1:d:O(Ve)||d)(),po=!!(h&&t&&co&&fo),Ma=O($e.isValidating)?po:$e.isValidating,Ia=O($e.isLoading)?po:$e.isLoading,Je=Ae(async D=>{const L=k.current;if(!h||!L||j.current||b().isPaused())return!1;let M,P,J=!0;const Ne=D||{},N=!g[h]||!Ne.dedupe,H=()=>Bn?!j.current&&h===S.current&&y.current:h===S.current,ae={isValidating:!1,isLoading:!1},ho=()=>{Y(ae)},go=()=>{const q=g[h];q&&q[1]===P&&delete g[h]},vo={isValidating:!0};O(A().data)&&(vo.isLoading=!0);try{if(N&&(Y(vo),r.loadingTimeout&&O(A().data)&&setTimeout(()=>{J&&H()&&b().onLoadingSlow(h,r)},r.loadingTimeout),g[h]=[L(E),Qt()]),[M,P]=g[h],M=await M,N&&setTimeout(go,r.dedupingInterval),!g[h]||g[h][1]!==P)return N&&H()&&b().onDiscarded(h),!1;ae.error=z;const q=v[h];if(!O(q)&&(P<=q[0]||P<=q[1]||q[1]===0))return ho(),N&&H()&&b().onDiscarded(h),!1;const se=A().data;ae.data=o(se,M)?se:M,N&&H()&&b().onSuccess(M,h,r)}catch(q){go();const se=b(),{shouldRetryOnError:lr}=se;se.isPaused()||(ae.error=q,N&&H()&&(se.onError(q,h,se),(lr===!0||re(lr)&&lr(q))&&x()&&se.onErrorRetry(q,h,se,Ha=>{const cr=_[h];cr&&cr[0]&&cr[0](Ge.ERROR_REVALIDATE_EVENT,Ha)},{retryCount:(Ne.retryCount||0)+1,dedupe:!0})))}return J=!1,ho(),!0},[h,n]),_o=Ae((...D)=>Gn(n,S.current,...D),[]);if(Gt(()=>{k.current=t,C.current=r,O(Pe)||(uo.current=Pe)}),Gt(()=>{if(!h)return;const D=Je.bind(z,er);let L=0;const P=Ji(h,_,(J,Ne={})=>{if(J==Ge.FOCUS_EVENT){const N=Date.now();b().revalidateOnFocus&&N>L&&x()&&(L=N+b().focusThrottleInterval,D())}else if(J==Ge.RECONNECT_EVENT)b().revalidateOnReconnect&&x()&&D();else{if(J==Ge.MUTATE_EVENT)return Je();if(J==Ge.ERROR_REVALIDATE_EVENT)return Je(Ne)}});return j.current=!1,S.current=h,y.current=!0,Y({_k:E}),fo&&(O(Ve)||Ze?D():$i(D)),()=>{j.current=!0,P()}},[h]),Gt(()=>{let D;function L(){const P=re(u)?u(A().data):u;P&&D!==-1&&(D=setTimeout(M,P))}function M(){!A().error&&(f||b().isVisible())&&(s||b().isOnline())?Je(er).then(L):L()}return L(),()=>{D&&(clearTimeout(D),D=-1)}},[u,f,s,h]),Lt(wt),i&&O(Ve)&&h){if(!Bn&&Ze)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,C.current=r,j.current=!1;const D=m[h];if(!O(D)){const L=_o(D);eo(L)}if(O(vt)){const L=Je(er);O(wt)||(L.status="fulfilled",L.value=!0),eo(L)}else throw vt}return{mutate:_o,get data(){return I.data=!0,wt},get error(){return I.error=!0,vt},get isValidating(){return I.isValidating=!0,Ma},get isLoading(){return I.isLoading=!0,Ia}}}),oe=fe({base:"truncate max-w-full block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"bg-tag-neutral-weak-bg border-solid border-px text-tag-neutral-weak-copy border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy border-solid border-px bg-tag-neutral-strong-bg border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy border-solid border-px bg-tag-accent-strong-bg border-tag-accent-strong-stroke",monetaryWeak:"bg-tag-monetary-weak-bg border-none text-tag-monetary-weak-copy"},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}}),Xi=({query:e,property:t,selectedValues:r})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>r.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return U(i),l("span",{class:oe({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return l("span",{class:oe({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current truncate tabular-nums"}),children:o.length})}}default:F(e)}},to=8,ro=42,Qi=8,ea=6,ta=4,ra=fe({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"}}}),na=(e,t)=>{const r=e.indexOf(t);return r===-1?[...e,t]:e.filter((n,o)=>o!==r)},oa=({value:e,property:t,onSkip:r,useQuery:n,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const c=Ot(n()),d=Se(()=>{switch(c.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const g=c.data[t.key]??[];return Object.fromEntries(g.map(m=>[m.value,!0]))}default:F(c)}},[c,t.key]),u=no(e),f=u.length>0,[s,p]=Z(to),[_,v]=Z();return ke(()=>{a()}),c.state==="error"?l(pe,{error:new Error("We’re having trouble loading available filters.",{cause:c.error}),resetError:()=>c.swr.mutate()}):l("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&l("div",{class:"top-0 px-4 py-1",children:l("input",{type:"text",class:ra({hasValue:f}),value:_,onInput:g=>v(g.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return l(pe,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return l("div",{class:"flex px-4",children:l("div",{"aria-hidden":!0,class:oe({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:l("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const g=i.data[t.key]??[],h=(_&&_.length>1?g.filter(y=>y.label.toLowerCase().includes(_.toLowerCase())):g).map(y=>({...y,disabled:d===null?!1:d[y.value]!==!0}));return h.find(y=>!y.disabled)?l("div",{class:"pointer-fine:px-4",children:l("ul",{style:{maxHeight:(ro+Qi)*(ea-1)+ro/2+2*ta},class:"hide-scrollbars 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 gap-2 overflow-y-auto px-4",children:[h.slice(0,s).map(y=>{const j=u.includes(y.value);return l("li",{class:"animate-appear-tag max-w-full origin-top",children:l("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":j?"true":void 0,onClick:()=>{switch(e.select){case"many":{const S=na(u,y.value);o({select:"many",value:S});break}case"one":o({select:"one",value:y.value});break;default:F(e)}},class:oe({size:"lg",variant:j?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag"}),children:y.label})},y.value)}),h.length>s&&l("li",{class:"animate-appear-tag pointer-fine:w-full max-w-full flex-none origin-top",children:l("button",{class:We({variant:"neutral",icon:"right",size:"lg",class:"border-px flex w-full max-w-full flex-none flex-nowrap justify-center truncate border-transparent"}),onClick:()=>{p(s+to)},children:[l("span",{class:"font-style-tag font-family-tag font-weight-tag text-style-tag",children:"Show More"}),l(ee,{"aria-hidden":!0,name:"plus"})]})})]})}):l("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."})}default:F(i)}})(),l("footer",{class:"flex justify-end p-2",children:[l("div",{class:"flex-1",children:f&&l("button",{class:We({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[l(ee,{"aria-hidden":!0,name:"x"})," Clear"]})}),e.select==="many"&&l("div",{class:"flex items-center overflow-hidden",children:l("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),l("div",{class:"flex-1",children:l("button",{class:We({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:r,children:[f?"Done":"Skip"," ",l(ee,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ia={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",address_1:"mapPin",address_2:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase"},aa=fe({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"}}}),sa=fe({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"}}}),la=fe({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),ca=e=>{const t=B(null),[r,n]=Z(0),o=()=>{var i;return n(((i=t.current)==null?void 0:i.clientHeight)??0)};return Ee(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:r,ref:t,updateHeight:o}},no=e=>typeof e.value=="string"?[e.value]:e.value??[],ua=({active:e,value:t,onActiveChange:r,property:n,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:c})=>{const d=n.icon??ia[n.key]??"filter",u=no(t),{height:f,ref:s,updateHeight:p}=ca([e]),_=u.length>0;return l("section",{"data-filter-key":n.key,role:"tab","aria-label":n.label,"aria-selected":e?"true":void 0,class:aa({hasValue:_}),onTouchStart:_a,children:[l("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[l("button",{"aria-label":e?"Close filter":"Open filter",class:sa({state:e?"active":_?"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:()=>r(!e),children:[l(ee,{"aria-hidden":!0,class:"flex-none",name:d}),l("p",{children:n.label})]}),l("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:f},children:l("div",{class:"w-full",ref:s,children:e&&l(oa,{useQuery:c,onRender:p,onSkip:o,onValueChange:i,unfilteredQuery:a,property:n,value:t})})})]}),!e&&l("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:()=>r(!0),children:[l("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:l(Xi,{property:n,query:a,selectedValues:u})}),l(ee,{"aria-hidden":!0,class:la(),name:"chevron-right"})]})]})},da=e=>{const t=B();return ke(()=>{t.current=e},[e]),t.current},fa=(e,t)=>{var o;const r=(o=t.current)==null?void 0:o.querySelector(`[data-filter-key="${e}"]`),n=(r==null?void 0:r.querySelector("[data-current-value]"))??(r==null?void 0:r.querySelector("[data-filter]"));n&&(U(n instanceof HTMLButtonElement,"option must be button"),n.focus())},pa=(e,t)=>{const r=da(e);ke(()=>{if(r===e)return;const n=e??r;n&&fa(n,t)},[e,r,t])};function _a(){}const ha=({property:e,value:t,activeKey:r,properties:n,appliedFilters:o})=>{var i,a;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:r};case"many":return{newValue:t,newActiveKey:r};case"one":{const c=n.findIndex(s=>s.key===e.key),d=c!==-1?(i=n[c+1])==null?void 0:i.key:void 0,f=(d?((a=o[d])==null?void 0:a.value)!==void 0:!1)?void 0:d;return{newValue:t,newActiveKey:f}}default:F(t)}},ga=({properties:e,parentRef:t,appliedFilters:r,onFilterValueChange:n,apiClient:o,logger:i})=>{var s;const[a,c]=Z((s=e[0])==null?void 0:s.key);pa(a,t);const d=Se(()=>rr(e.map(({value:p,..._})=>_)),[e]),u=Ot(tr(ct({filter:d,baseKey:"filters"}),()=>Br({apiClient:o,logger:i,filters:d}),Rt)),f=Ae(p=>()=>{const _={...r,[p]:d[p]};return tr(ct({filter:_,baseKey:"filters"}),()=>Br({apiClient:o,logger:i,filters:_}),Rt)},[o,r,d,i]);return u.state==="error"?l(pe,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):l("aside",{children:l("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.map(p=>{const _=a===p.key,v=r[p.key]??{select:p.select,value:void 0},g=E=>{const{newActiveKey:y,newValue:j}=ha({property:p,activeKey:a,value:E,properties:e,appliedFilters:r});return c(y),n(p.key,j)},m=E=>c(E?p.key:void 0),h=f(p.key);return l(Be,{Fallback:pe,children:l(ua,{unfilteredQuery:u,active:_,property:p,onActiveChange:m,value:v,onSkip:()=>{var j;const E=e.findIndex(S=>S.key===a),y=E!==-1?(j=e[E+1])==null?void 0:j.key:void 0;c(y)},useQuery:h,onValueChange:g})},p.key)})})})},ht=({chars:e})=>l("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),oo=fe({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}}),va=fe({base:"bg-tag-accent-strong-bg rounded-job-tag text-style-tag text-tag-accent-strong-copy font-weight-tag flex items-center justify-center px-2"}),io=({job:e,property:t})=>{switch(typeof t){case"string":return ge(t,e.raw)?e.raw[t]:null;case"object":return e.customData&&t.transform(e.customData[t.key]);default:F(t)}},wa=({job:e,config:t})=>{const r=t.subheading?io({job:e,property:t.subheading}):null,n=t.infoTags.map(o=>io({job:e,property:o})).filter(Boolean);return l("a",{href:e.href,class:oo(),children:[l("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[l("div",{class:"gap-logo flex items-center",children:[t.showLogo&&l("div",{class:"rounded-logo ring-px ring-neutral-5 h-12 w-12 flex-none overflow-hidden",children:e.company.logo?l("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):l("div",{class:"bg-neutral-2 flex h-full w-full items-center justify-center",children:l(ee,{name:"briefcase",class:"text-neutral-9"})})}),l("div",{class:"flex flex-col items-start gap-1",children:[l("div",{class:"order-2 flex flex-col gap-1",children:[l("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:e.title}),r?l("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:r}):null]}),e.isNew?l("span",{class:va({class:"order-1"}),children:"NEW"}):l("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",e.relativePostedDate]})]})]}),l("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[e.pay&&l("span",{class:oe({variant:"monetaryWeak",size:"xs"}),children:e.pay}),n.length>0&&l("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:n.map(o=>l("li",{class:oe({size:"xs"}),children:o},o))})]})]}),l("div",{"aria-hidden":!0,class:"flex items-center",children:l(ee,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},ao=({config:e,animationDelay:t,seed:r})=>l("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:oo({interactive:!1}),children:[l("div",{class:"flex flex-1 flex-col gap-4",children:[l("div",{class:"flex items-center gap-4",children:[l("div",{class:"rounded-logo bg-copy-neutral h-12 w-12 opacity-25"}),l("div",{class:"flex flex-col items-start gap-1",children:[l("p",{class:"text-style-job-card-info text-copy-job-info",children:l(ht,{chars:12})}),l("div",{class:"flex flex-col gap-1",children:[l("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:l(ht,{chars:13+(r+5)*r%7})}),e.subheading!==null?l("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:l(ht,{chars:7+r*r%3})}):null]})]})]}),l("div",{class:"flex flex-col items-start gap-2",children:[r%2===0&&l("span",{class:oe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),l("div",{class:"flex items-center gap-2",children:[l("span",{class:oe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),l("span",{class:oe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),l("div",{"aria-hidden":!0,class:"flex items-center",children:l(ee,{name:"chevron-right",class:"text-copy-neutral-icon"})})]}),ma=({state:e,fetchNextPage:t,config:r})=>e==="revalidating"?l("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:ot}).map((n,o)=>l("li",{children:l(ao,{seed:o,animationDelay:(o-4)*.1,config:r})},o))}):l("button",{class:We({variant:"neutral",class:"py-2"}),onClick:t,children:"Load More"}),ya=({pagination:e})=>(U(e.total>=0),e.total===1?"1 job found":`${e.total} jobs found`),ba=({appliedFilters:e,apiClient:t,logger:r,jobCardConfig:n,initialData:o})=>{const[i,a]=Z(1);return l(R,{children:Array.from({length:i}).map((c,d)=>{const u=d===i-1;return l(Be,{Fallback:pe,children:l(xa,{appliedFilters:e,apiClient:t,logger:r,page:d+1,isFirst:d===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:n,initialData:o},d)},d)})})},xa=({appliedFilters:e,apiClient:t,logger:r,page:n,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:c,initialData:d})=>{const u=n===1?d:void 0,{data:f,error:s,state:p,swr:_}=Ot(tr(ct({filter:e,baseKey:n.toString()}),()=>Kr({apiClient:t,logger:r,filters:e,page:n}),{...Rt,fallbackData:u}));switch(p){case"loading":return l(R,{children:[o&&l("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:l(ht,{chars:8})}),l("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:ot}).map((v,g)=>l("li",{children:l(ao,{seed:g,animationDelay:(g-ot)*.1,config:c})},g))})]});case"error":return l(pe,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:s}),resetError:()=>_.mutate()});case"revalidating":case"loaded":{if(U(f.pagination.current_page===n,"Received wrong page from server"),f.pagination.total===0)return l("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[l(ee,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),l("div",{class:"flex flex-col items-center gap-1",children:[l("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),l("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 l(R,{children:[o&&l("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:ya({pagination:f.pagination})}),l("ul",{"aria-label":`Page ${n}`,class:"flex flex-col gap-3",children:f.results.map(g=>l("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:l(wa,{job:g,config:c})},g.id))}),v&&i&&l(ma,{state:p,fetchNextPage:a,config:c})]})}default:F(p)}},rr=e=>e.reduce((t,r)=>{switch(r.select){case"one":t[r.key]={select:r.select,value:r.value};break;case"many":t[r.key]={select:r.select,value:r.value?[r.value]:[]};break;default:F(r.select)}return t},{}),ja=({apiClient:e,logger:t,properties:r,class:n,jobCardConfig:o,initialData:i,onFilterChange:a})=>{const c=B(null),[d,u]=Z(()=>rr(r));return l("div",{ref:c,class:n,id:zr,children:l("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:[l(Be,{Fallback:pe,children:l(ga,{appliedFilters:d,onFilterValueChange:(f,s)=>{u(p=>(a==null||a({...p,[f]:s}),{...p,[f]:s}))},properties:r,parentRef:c,logger:t,apiClient:e})}),l("div",{class:"md:col-span-2",children:l("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:l(Be,{Fallback:pe,children:l(ba,{appliedFilters:d,logger:t,apiClient:e,jobCardConfig:o,initialData:i==null?void 0:i.jobs},ct({filter:d,baseKey:"resultsSection"}))})})})]})})},ka=`#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: }#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: }#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 .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 .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#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-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-screen{min-height:100vh}#ijs .w-12{width:3rem}#ijs .w-\\[10ch\\]{width:10ch}#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-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 .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 appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@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 .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .flex-nowrap{flex-wrap:nowrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .gap-1{gap:.25rem}#ijs .gap-2{gap:.5rem}#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 .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-none{border-style:none}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-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-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-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-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#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-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#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-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#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-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-snug{line-height:1.375}#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-8{color:var(--i-color-n-8)}#ijs .text-neutral-9{color:var(--i-color-n-9)}#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 .caret-accent-11{caret-color:var(--i-color-a-11)}#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 .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#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-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 .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-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 .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 .hide-scrollbars::-webkit-scrollbar{display:none}#ijs .hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}#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 .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#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-\\[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-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)}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:w-full{width:100%}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@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))}
|
|
18
|
+
`;var Ea=["1","2","3","4","5","6","7","8","9","10","11","12"],Sa={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]}},Ca=(e,t=1,r)=>n=>{const[o,i]=Sa[r][n];return"oklch("+o+"% "+i*t+" "+e+")"},nr=e=>{const t=Ca(e.hue,e.chroma,e.mode);return Object.fromEntries(Ea.map(r=>[e.prefix+r,e.transform(t(r))]))},or=e=>e,Oa=e=>{const t=Object.keys(e).flatMap(r=>{const n=e[r];return typeof n=="object"&&n!==null?Object.keys(n).map(o=>{const i=n[o];return[`${String(r)}.${o}`,i]}):[[r,n]]});return Object.fromEntries(t)},gt=e=>!!e&&typeof e=="object"&&!Array.isArray(e),ir=(e,...t)=>{if(!t.length)return e;const r=t.shift();if(gt(e)&>(r))for(const n in r){const o=r[n];if(gt(o)){e[n]||Object.assign(e,{[n]:{}});const i=e[n];gt(i)&&ir(i,o)}else Object.assign(e,{[n]:r[n]})}return ir(e,...t)},Ra=e=>{function t(r,n){const o=[e.prefix,n.toString().replace(/\./g,"-")].join("");return r==="declaration"?`--${o}`:`var(--${o})`}return t},Ta=()=>({core:e=>({semantic:t=>({component:r=>({from:n=>{const{theme:o,getToken:i}=n,a=p=>i("reference",p.toString()),c=e({theme:o}),d=t({theme:o,core:a,raw:{core:c}}),u=r({theme:o,core:a,semantic:a,raw:{core:c,semantic:d}}),f=Oa(ir(c,d,u)),s=([p,_],v)=>{const g=[v,p].filter(Boolean).join(".");return typeof _=="object"?Object.entries(_).flatMap(m=>s(m,g)):[[n.getToken("declaration",g),_]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>s(p))),ref:p=>i("reference",p.toString())}}})})})});const K=e=>{const t=[],r=n=>({with:(o,i)=>(t.push({p:o,fn:i}),r(n)),otherwise:o=>{e:for(let i=t.length-1;i>=0;i--){const a=t[i];for(const c in a.p){if(a.p[c]!==n[c])continue e;return a.fn(n)}}if(o)return o(n);throw new Error("No pattern matched")}});return r(e)},[ar,sr,G]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Aa=Ta().core(({theme:e})=>({color:{black:ar,white:sr,lowest:e.mode==="light"?sr:ar,highest:e.mode==="light"?ar:sr,...nr({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:or}),...nr({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:or}),...nr({prefix:"m-",hue:140,chroma:e.accent.chroma,mode:e.mode,transform:or})}})).semantic(({core:e,theme:t,raw:r})=>{var c,d,u,f,s,p,_,v,g,m,h,E,y,j,S,k,C,b,x,A,Y;const n=(Le,ie)=>r.core.color[Le].replace(")",` / ${ie})`),{typography:o,highlights:i}=t,a=((c=t.accessibility)==null?void 0:c.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((d=o.filter)==null?void 0:d.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":((s=o.weight)==null?void 0:s.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((v=(_=o.filter)==null?void 0:_.weight)==null?void 0:v.toString())??((g=o.weight)==null?void 0:g.toString())??"inherit","style-tag":((m=o.tag)==null?void 0:m.style)??o.style??"inherit","style-job-heading":((h=o.jobHeading)==null?void 0:h.style)??o.style??"inherit","weight-tag":((y=(E=o.tag)==null?void 0:E.weight)==null?void 0:y.toString())??((j=o.weight)==null?void 0:j.toString())??"inherit","weight-job-heading":((k=(S=o.jobHeading)==null?void 0:S.weight)==null?void 0:k.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":((b=o.input)==null?void 0:b.style)??o.style??"inherit","weight-input":((A=(x=o.input)==null?void 0:x.weight)==null?void 0:A.toString())??((Y=o.weight)==null?void 0:Y.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"):G,"tag-neutral-weak-copy":e("color.n-12"),"tag-neutral-weak-stroke-color":i==="stroke"?e("color.n-8"):G,"tag-neutral-strong-bg":i==="fill"?e("color.n-12"):G,"tag-neutral-strong-copy":e(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":n(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-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":G,"radius-app":K(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":K(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":K(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":K(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":K(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":K(t).with({corners:"rounded"},()=>"999px").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":K(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":n(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":n(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":K(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?e("color.n-2"):G,"section-strong-bg":i==="fill"?e(a?"color.n-3":"color.n-2"):G,"section-weak-stroke-color":i==="fill"?G:e(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?G:e(a?"color.n-11":"color.n-4"),"section-stroke-width":K(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":K(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>G),"job-card-bg-active":K(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>G),"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":K(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Da=Ra({prefix:"i-"}),La=e=>{const t=Aa.from({theme:e,getToken:Da}),r=Object.entries(t.declarations).map(([n,o])=>`${n}: ${o};`);return`#${zr} {
|
|
19
19
|
${r.concat(r).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`}
|
|
21
|
+
}`},$a=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Ur}`);return U(e,`Element with id ${Ur} not found.`),e}}))(),Pa=()=>wo(({apiClient:e,logger:t,analytics:r})=>{const n=({params:o})=>{var i;return V(Be,{Fallback:ei},[[V("style",{id:"inploi-job-search-styles"},ka),V("style",{id:"inploi-job-search-theme"},La(o.theme))],V(ri,{theme:o.theme}),V(ja,{properties:o.properties,apiClient:e,logger:t,analytics:r,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,jobCardConfig:o.jobCard,initialData:o.initialData,onFilterChange:o.onFilterChange})])};return{prerender:async o=>{const i=o.withData?await Kr({filters:rr(o.properties),apiClient:e,logger:t}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Ao(V(R,{},V(n,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?kt:Oe;U(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(V(n,{params:o}),$a.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Pa})();
|