@inploi/plugin-job-search 0.15.0 → 0.16.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 CHANGED
@@ -1,4 +1,4 @@
1
- var am=Object.defineProperty;var sm=(ht,dt,he)=>dt in ht?am(ht,dt,{enumerable:!0,configurable:!0,writable:!0,value:he}):ht[dt]=he;var Ni=(ht,dt,he)=>(sm(ht,typeof dt!="symbol"?dt+"":dt,he),he);(function(){"use strict";var ht=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function dt(t,e){if(!t)throw new Error(e)}function he(t,e){return t in e}var Li=t=>t,sn,P,Mi,ve,Fi,Ii,Lr,Mr,Fr,Ir,Hi,cn={},Vi=[],wu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Dn=Array.isArray;function Dt(t,e){for(var n in e)t[n]=e[n];return t}function Ui(t){var e=t.parentNode;e&&e.removeChild(t)}function Q(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?sn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return ln(t,a,r,o,null)}function ln(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Mi,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function zi(){return{current:null}}function I(t){return t.children}function yt(t,e){this.props=t,this.context=e}function _e(t,e){if(e==null)return t.__?_e(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?_e(t):null}function Wi(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Wi(t)}}function Hr(t){(!t.__d&&(t.__d=!0)&&ve.push(t)&&!Nn.__r++||Fi!==P.debounceRendering)&&((Fi=P.debounceRendering)||Ii)(Nn)}function Nn(){var t,e,n,r,o,i,a,s;for(ve.sort(Lr);t=ve.shift();)t.__d&&(e=ve.length,r=void 0,i=(o=(n=t).__v).__e,a=[],s=[],n.__P&&((r=Dt({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),Vr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??_e(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Gi(a,r,s),r.__e!=i&&Wi(r)),ve.length>e&&ve.sort(Lr));Nn.__r=0}function Bi(t,e,n,r,o,i,a,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Vi,v=e.length;for(n.__d=l,mu(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?cn:w[d.__i]||cn,d.__i=c,Vr(t,d,p,o,i,a,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Ur(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!t.contains(l)&&(l=_e(p)),l=Yi(d,l,t)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function mu(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)a=r+c,(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?ln(null,o,null,null,null):Dn(o)?ln(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?ln(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=yu(o,n,a,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s==a-1?c=s-a:s==a+1?c++:s>a?f>l-a?c+=s-a:c--:s<a&&c++,s!==r+c&&(o.__u|=65536))):(i=n[a])&&i.key==null&&i.__e&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=_e(i)),zr(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=_e(i)),zr(i,i))}function Yi(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=Yi(r[o],e,n));return e}t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Nt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Dn(t)?t.some(function(n){Nt(n,e)}):e.push(t)),e}function yu(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&i===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Ki(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||wu.test(e)?n:n+"px"}function Ln(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ki(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Ki(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")i=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=Mr,t.addEventListener(e,i?Ir:Fr,i)):t.removeEventListener(e,i?Ir:Fr,i);else{if(o=="http://www.w3.org/2000/svg")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!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function qi(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Mr++;else if(e.t<n.u)return;return n(P.event?P.event(e):e)}}}function Vr(t,e,n,r,o,i,a,s,l,u){var f,c,p,d,_,h,w,v,m,y,b,x,k,C,$,j,O=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(f=P.__b)&&f(e);t:if(typeof O=="function")try{if(v=e.props,m="prototype"in O&&O.prototype.render,y=(f=O.contextType)&&r[f.__c],b=f?y?y.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:(m?e.__c=c=new O(v,b):(e.__c=c=new yt(v,b),c.constructor=O,c.render=xu),y&&y.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Dt({},c.__s)),Dt(c.__s,O.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)m&&O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&O.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(N){N&&(N.__=e)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=t,c.__e=!1,k=P.__r,C=0,m){for(c.state=c.__s,c.__d=!1,k&&k(e),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=Dt(Dt({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Bi(t,Dn(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),w&&(c.__E=c.__=null)}catch(N){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),P.__e(N,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=bu(n.__e,e,n,r,o,i,a,l,u);(f=P.diffed)&&f(e)}function Gi(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Ur(n[r],n[++r],n[++r]);P.__c&&P.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function bu(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,m=e.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(m===null)return document.createTextNode(v);t=document.createElementNS(o,m,v.is&&v),i=null,s=!1}if(m===null)w===v||s&&t.data===v||(t.data=v);else{if(i=i&&sn.call(t.childNodes),w=n.props||cn,!s&&i!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)if(d=w[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;Ln(t,u,null,d,o)}}for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||Ln(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),Bi(t,Dn(p)?p:[p],e,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&_e(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Ui(i[u]);s||(u="value",_!==void 0&&(_!==t[u]||m==="progress"&&!_||m==="option"&&_!==w[u])&&Ln(t,u,_,w[u],o),u="checked",h!==void 0&&h!==t[u]&&Ln(t,u,h,w[u],o))}return t}function Ur(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){P.__e(r,n)}}function zr(t,e,n){var r,o;if(P.unmount&&P.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Ur(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&zr(r[o],e,n||typeof t.type!="function");n||t.__e==null||Ui(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function xu(t,e,n){return this.constructor(t,n)}function De(t,e,n){var r,o,i,a;P.__&&P.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],Vr(e,t=(!r&&n||e).__k=Q(I,null,[t]),o||cn,cn,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?sn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),Gi(i,t,a)}function Wr(t,e){De(t,e,Wr)}function $u(t,e,n){var r,o,i,a,s=Dt({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?sn.call(arguments,2):n),ln(t.type,s,r||t.key,o||t.ref,null)}function Br(t,e){var n={__c:e="__cC"+Hi++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[e]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(a){this.props.value!==a.value&&o.some(function(s){s.__e=!0,Hr(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o&&o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}sn=Vi.slice,P={__e:function(t,e,n,r){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,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Mi=0,yt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Dt({},this.state),typeof t=="function"&&(t=t(Dt({},n),this.props)),t&&Dt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Hr(this))},yt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Hr(this))},yt.prototype.render=I,ve=[],Ii=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Lr=function(t,e){return t.__v.__b-e.__v.__b},Nn.__r=0,Mr=0,Fr=qi(!1),Ir=qi(!0),Hi=0;var Xi=/[\s\n\\/='"\0<>]/,Zi=/^(xlink|xmlns|xml)([A-Z])/,ku=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,ju=/^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/,Su=/["&<]/;function Mn(t){if(t.length===0||Su.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var Ji={},Cu=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"]),Eu=/[A-Z]/g;function Ou(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ji[n]||(Ji[n]=n.replace(Eu,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Cu.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Yr,ge,un,dn,Qi=[],ta=Array.isArray,Kr=Object.assign;function Au(t,e,n){var r=P.__s;P.__s=!0,Yr=P.__b,ge=P.diffed,un=P.__r,dn=P.unmount;var o=Q(I,null);o.__k=[t];try{var i=At(t,e||na,!1,void 0,o,!1,n);return Array.isArray(i)?i.join(""):i}catch(a){throw a.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):a}finally{P.__c&&P.__c(t,Qi),P.__s=r,Qi.length=0}}function ea(){this.__d=!0}var na={};function ra(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=na),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Kr({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),un&&un(t),n.render(n.props,n.state,e)}function At(t,e,n,r,o,i,a){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Mn(t+"");if(ta(t)){var s,l="";o.__k=t;for(var u=0;u<t.length;u++){var f=t[u];if(f!=null&&typeof f!="boolean"){var c,p=At(f,e,n,r,o,i,a);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(t.constructor!==void 0)return"";t.__=o,Yr&&Yr(t);var d,_,h,w=t.type,v=t.props,m=e;if(typeof w=="function"){if(w===I){if(v.tpl){for(var y="",b=0;b<v.tpl.length;b++)if(y+=v.tpl[b],v.exprs&&b<v.exprs.length){var x=v.exprs[b];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!ta(x)?y+=x:y+=At(x,e,n,r,t,i,a)}return y}if(v.UNSTABLE_comment)return"<!--"+Mn(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=w.contextType)!=null){var k=e[d.__c];m=k?k.props.value:d.__}if(w.prototype&&typeof w.prototype.render=="function")_=ra(t,m),h=t.__c;else{t.__c=h={__v:t,props:v,context:m,setState:ea,forceUpdate:ea,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,un&&un(t),_=w.call(h,v,m);h.__d=!0}if(h.getChildContext!=null&&(e=Kr({},e,h.getChildContext())),(w.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var $="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return $=At(_,e,n,r,t,i,a)}catch(pt){return w.getDerivedStateFromError&&(h.__s=w.getDerivedStateFromError(pt)),h.componentDidCatch&&h.componentDidCatch(pt,{}),h.__d&&(_=ra(t,e),(h=t.__c).getChildContext!=null&&(e=Kr({},e,h.getChildContext())),$=At(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,e,n,r,t,i,a)),$}finally{ge&&ge(t),t.__=null,dn&&dn(t)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=At(_,e,n,r,t,i,a);return ge&&ge(t),t.__=null,P.unmount&&P.unmount(t),j}catch(pt){if(!i&&a&&a.onError){var O=a.onError(pt,t,function(ut){return At(ut,e,n,r,t,i,a)});if(O!==void 0)return O;var N=P.__e;return N&&N(pt,t),""}if(!i||!pt||typeof pt.then!="function")throw pt;var L=function ut(){try{return At(_,e,n,r,t,i,a)}catch(wt){if(!wt||typeof wt.then!="function")throw wt;return wt.then(function(){return At(_,e,n,r,t,i,a)},function(){return ut()})}};return pt.then(function(){return L()})}}var M,D="<"+w,F="";for(var R in v){var T=v[R];switch(R){case"children":M=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",w){case"textarea":M=T;continue;case"select":r=T;continue;case"option":r!=T||"selected"in v||(D+=" selected")}break;case"dangerouslySetInnerHTML":F=T&&T.__html;continue;case"style":typeof T=="object"&&(T=Ou(T));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(Zi.test(R))R=R.replace(Zi,"$1:$2").toLowerCase();else{if(Xi.test(R))continue;R[4]!=="-"&&R!=="draggable"||T==null?n?ju.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):ku.test(R)&&(R=R.toLowerCase()):T+=""}}T!=null&&T!==!1&&typeof T!="function"&&(D=T===!0||T===""?D+" "+R:D+" "+R+'="'+Mn(T+"")+'"')}if(Xi.test(w))throw new Error(w+" is not a valid HTML tag name in "+D+">");if(F||(typeof M=="string"?F=Mn(M):M!=null&&M!==!1&&M!==!0&&(F=At(M,e,w==="svg"||w!=="foreignObject"&&n,r,t,i,a))),ge&&ge(t),t.__=null,dn&&dn(t),!F&&Pu.has(w))return D+"/>";var tt="</"+w+">",ct=D+">";return Array.isArray(F)?[ct].concat(F,[tt]):typeof F!="string"?[ct,F,tt]:ct+F+tt}var Pu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Fn=class extends Error{constructor(e){super(e[0].message);Ni(this,"issues");this.name="ValiError",this.issues=e}};function oa(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function fn(t){return{issues:t}}function we(t){return{output:t}}function Tu(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 Ru(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 Jt(t,e,n,r){if(!e||!e.length||n!=null&&n.skipPipe)return we(t);let o,i,a=t;for(const s of e){const l=s._parse(a);if(l.issues){o=o||Ru(n,r);for(const u of l.issues){const f=Tu(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?fn(i):we(a)}function Qt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function ia(t){return typeof t=="function"?t():t}function Du(t,e,n,r){return fn([{validation:t,message:ia(e),input:n,requirement:r}])}function Nu(t,e,n){if(!t||typeof t=="object"&&!Array.isArray(t)){const[i,a]=Qt(e,n);return[t,i,a]}const[r,o]=Qt(t,e);return[void 0,r,o]}function te(t,e,n,r,o,i){return{issues:[{reason:e,validation:n,origin:(t==null?void 0:t.origin)||"value",message:ia(r),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 aa(t){return typeof t.default=="function"?t.default():t.default}function Lu(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Jt(e,this.pipe,n,"any")}}}function sa(t,e,n){const[r="Invalid type",o]=Qt(e,n);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return te(a,"type","array",this.message,i);let s;const l=[];for(let u=0;u<i.length;u++){const f=i[u],c=this.item._parse(f,a);if(c.issues){const p={type:"array",input:i,key:u,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),a!=null&&a.abortEarly)break}else l.push(c.output)}return s?fn(s):Jt(l,this.pipe,a,"array")}}}function ca(t,e){const[n="Invalid type",r]=Qt(t,e);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?te(i,"type","boolean",this.message,o):Jt(o,this.pipe,i,"boolean")}}}function ee(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(n,r){return n!==this.literal?te(r,"type","literal",this.message,n):we(n)}}}function bt(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(n,r){if(n===null){const o=aa(this);if(o===void 0)return we(n);n=o}return this.wrapped._parse(n,r)}}}function Ne(t,e){const[n="Invalid type",r]=Qt(t,e);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?te(i,"type","number",this.message,o):Jt(o,this.pipe,i,"number")}}}function In(t,e,n,r){const[o,i="Invalid type",a]=Nu(e,n,r);let s;return{type:"object",async:!1,entries:t,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return te(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=l[p],h=d._parse(_,u);if(h.issues){const w={type:"object",input:l,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(w):v.path=[w],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],_=this.rest._parse(d,u);if(_.issues){const h={type:"object",input:l,key:p,value:d};for(const w of _.issues)w.path?w.path.unshift(h):w.path=[h],f==null||f.push(w);if(f||(f=_.issues),u!=null&&u.abortEarly)break}else c[p]=_.output}}return f?fn(f):Jt(c,this.pipe,u,"object")}}}function qr(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=aa(this);if(o===void 0)return we(n);n=o}return this.wrapped._parse(n,r)}}}function X(t,e){const[n="Invalid type",r]=Qt(t,e);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?te(i,"type","string",this.message,o):Jt(o,this.pipe,i,"string")}}}function Mu(t,e,n,r){if(typeof e=="object"&&!Array.isArray(e)){const[a,s]=Qt(n,r);return[t,e,a,s]}const[o,i]=Qt(e,n);return[X(),t,o,i]}var Fu=["__proto__","prototype","constructor"];function la(t,e,n,r){const[o,i,a="Invalid type",s]=Mu(t,e,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return te(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Fu.includes(p)){let _;const h=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(h.issues){_={type:"record",input:l,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const w=this.value._parse(d,u);if(w.issues){_=_||{type:"record",input:l,key:p,value:d};for(const v of w.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=w.issues),u!=null&&u.abortEarly)break}!h.issues&&!w.issues&&(c[h.output]=w.output)}return f?fn(f):Jt(c,this.pipe,u,"record")}}}function ua(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(n,r){let o,i;for(const a of this.options){const s=a._parse(n,r);if(s.issues)if(o)for(const l of s.issues)o.push(l);else o=s.issues;else{i=[s.output];break}}return i?we(i[0]):te(r,"type","union",this.message,n,o)}}}function da(t,e,n){const r=t._parse(e,n);if(r.issues)throw new Fn(r.issues);return r.output}function Iu(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new Fn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function fa(t,e,n){return{...t,_parse(r,o){const i=t._parse(r,o);if(i.issues)return i;const a=e(i.output);return n&&!Array.isArray(n)?n._parse(a,o):Jt(a,n,o,typeof a)}}}function Hu(t="Invalid URL"){return{type:"url",async:!1,message:t,requirement(e){try{return new URL(e),!0}catch{return!1}},_parse(e){return this.requirement(e)?we(e):Du(this.type,this.message,e,this.requirement)}}}const pa="inploi-job-search",ha="ijs",Hn=10,va={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Vu=t=>{const{salary:e,config:n}=t,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:e.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(e.pay_display===!1)return;if(e.pay_mask)return"Competitive";if(e.pay_max&&isNaN(+e.pay_max)||e.pay_min&&isNaN(+e.pay_min)||e.pay&&isNaN(+e.pay))return"Invalid salary";const o=e.pay_type&&e.pay_type in va?va[e.pay_type]:void 0;return e.pay?[r.format(+e.pay),o].filter(Boolean).join(" "):e.pay_max&&e.pay_min?[r.formatRange(+e.pay_min,+e.pay_max),o].filter(Boolean).join(" "):e.pay_max?"Up to "+[r.format(+e.pay_max),o].filter(Boolean).join(" "):e.pay_min?"From "+[r.format(+e.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Uu=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),zu=({from:t=new Date,to:e,formatter:n=Uu})=>{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?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?"a long time ago":"in a long time"},Wu=la(sa(In({label:oa(X(),String),value:oa(X(),String),jobs:Ne()}))),Bu=X([Hu()]),Yu=In({total:Ne(),current_page:Ne(),per_page:Ne(),last_page:Ne()}),Ku=In({id:Ne(),company_name:X(),company_logo:bt(qr(X())),employment_type:X(),location_type:ua([ee("LOCATION"),ee("REMOTE"),ee("HYBRID")]),pay_type:bt(ua([ee("ANNUALLY"),ee("HOURLY"),ee("MONTHLY"),ee("WEEKLY"),ee("DAILY")])),pay_currency:X(),pay_mask:ca(),pay_display:ca(),pay:bt(X()),pay_min:bt(X()),pay_max:bt(X()),description:X(),title:X(),contract_type:bt(X()),created_at:bt(X()),custom_data:bt(la(Lu())),href:X(),industry:bt(X()),category:bt(X()),skills:qr(X()),town:qr(X()),city:bt(X()),country:bt(X())}),qu=fa(Ku,t=>{const e=Iu(Bu,t.company_logo);return{raw:t,id:t.id,createdAt:t.created_at,company:{name:t.company_name,logo:e.success?e.output:void 0},employmentType:t.employment_type,locationType:t.location_type,pay:Vu({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?zu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Gu=fa(In({data:sa(qu),pagination:Yu}),t=>({pagination:t.pagination,results:t.data})),_a=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),ga=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:_a(e)}),signal:r});return da(Wu,o)}catch(o){throw o instanceof Fn?n.error(o.message,o.issues):n.error(o),o}},wa=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const i=await t.fetch(`/search/results?page=${o}&per_page=${Hn}`,{method:"POST",body:JSON.stringify({filters:_a(r)}),signal:n});return da(Gu,i)}catch(i){throw i instanceof Fn?e.error(i.message,i.issues):e.error(i),i}},Gr=t=>{if(t.error)return{state:"error",error:t.error,swr:t};if(t.isLoading&&t.data===void 0)return{state:"loading",swr:t};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data,swr:t};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data,swr:t};throw new Error("Unhandled data state")},Xr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Xu=0;function g(t,e,n,r,o,i){e||(e={});var a,s,l=e;if("ref"in l)for(s in l={},e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Xu,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}function ma(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=ma(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Zu(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=ma(t))&&(r&&(r+=" "),r+=e);return r}function ya(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ya(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Zr(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ya(t))&&(r&&(r+=" "),r+=e);return r}const ba=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Ju=t=>{const e=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(t==null||(s=t.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Zr(i)):typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Zr(i)):Zr(i)};return{compose:function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return e(i.map(u=>u(l)),s==null?void 0:s.class,s==null?void 0:s.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:s,defaultVariants:l}=o,u=Object.keys(s).map(p=>{const d=i==null?void 0:i[p],_=l==null?void 0:l[p],h=ba(d)||ba(_);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:_,className:h,...w}=d;return Object.entries(w).every(v=>{let[m,y]=v;const b=f[m];return Array.isArray(y)?y.includes(b):b===y})?[...p,_,h]:p},[]);return e(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:e}},{compose:cm,cva:St,cx:lm}=Ju(),Vn=St({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"}}),Qu=({error:t,resetError:e})=>g("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:[g("p",{children:t.message}),g("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,class:n,...r})=>g("div",{class:Zu("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[g("div",{class:"flex flex-col gap-1",children:[g("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."}),g("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:t.message})]}),g("button",{class:Vn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class pn extends yt{constructor(){super(...arguments);Ni(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return g(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const td={briefcase:g(I,{children:[g("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"}),g("path",{d:"M4.75 11.75H19.25"}),g("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),g("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:g(I,{children:[g("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"}),g("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"}),g("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),g("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),g("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),g("circle",{cx:"18.75",cy:"12",r:"2"}),g("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:g(I,{children:[g("path",{d:"M16.75 10.25H13.75"}),g("path",{d:"M16.75 13.25H13.75"}),g("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"}),g("path",{d:"M10.25 12.25V18.25"})]}),circles:g(I,{children:[g("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"}),g("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:g(I,{children:[g("path",{d:"M14 9L12 13L9.5 12"}),g("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:g(I,{children:g("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:g(I,{children:[g("path",{d:"M5 13.75H19"}),g("path",{d:"M5 10.25H19"}),g("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"}),g("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:g(I,{children:[g("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"}),g("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"}),g("path",{d:"M16 16L19 19"})]}),mapPin:g(I,{children:g(I,{children:[g("circle",{cx:"12",cy:"9",r:"2"}),g("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"}),g("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"})]})}),pay:g(I,{children:[g("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),g("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:g(I,{children:[g("path",{d:"M18.5 8.5L17.5 9.5"}),g("path",{d:"M5.5 8.5L6.5 9.5"}),g("path",{d:"M12 6L12 7.5"}),g("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"}),g("path",{d:"M20.25 15.25H12H3.75"}),g("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:g("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:g("path",{d:"M12 8V16M8 12H16"}),"chevron-right":g("path",{d:"M11 8L15 12L11 16"})},ed=({theme:t})=>g("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:g("defs",{children:Object.entries(td).map(([e,n])=>{var r;return g("symbol",{id:`i-icon-${e}`,children:g("g",{fill:"none","stroke-width":t.mode==="dark"&&((r=t.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),me=({name:t,...e})=>g("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:g("use",{href:`#i-icon-${t}`})});var Lt,U,Jr,xa,Le=0,$a=[],q=P,ka=q.__b,ja=q.__r,Sa=q.diffed,Ca=q.__c,Ea=q.unmount,Oa=q.__;function ye(t,e){q.__h&&q.__h(U,t,Le||e),Le=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function Ct(t){return Le=1,Un(Pa,t)}function Un(t,e,n){var r=ye(Lt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Pa(void 0,e),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};U.u=!0;var i=U.shouldComponentUpdate,a=U.componentWillUpdate;U.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},U.shouldComponentUpdate=o}return r.__N||r.__}function Et(t,e){var n=ye(Lt++,3);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,U.__H.__h.push(n))}function re(t,e){var n=ye(Lt++,4);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,U.__h.push(n))}function vt(t){return Le=5,oe(function(){return{current:t}},[])}function Qr(t,e,n){Le=6,re(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function oe(t,e){var n=ye(Lt++,7);return no(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function be(t,e){return Le=8,oe(function(){return t},e)}function zn(t){var e=U.context[t.__c],n=ye(Lt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(U)),e.props.value):t.__}function Wn(t,e){q.useDebugValue&&q.useDebugValue(e?e(t):t)}function nd(t){var e=ye(Lt++,10),n=Ct();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function to(){var t=ye(Lt++,11);if(!t.__){for(var e=U.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function rd(){for(var t;t=$a.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Bn),t.__H.__h.forEach(eo),t.__H.__h=[]}catch(e){t.__H.__h=[],q.__e(e,t.__v)}}q.__b=function(t){U=null,ka&&ka(t)},q.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Oa&&Oa(t,e)},q.__r=function(t){ja&&ja(t),Lt=0;var e=(U=t.__c).__H;e&&(Jr===U?(e.__h=[],U.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(Bn),e.__h.forEach(eo),e.__h=[],Lt=0)),Jr=U},q.diffed=function(t){Sa&&Sa(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&($a.push(e)!==1&&xa===q.requestAnimationFrame||((xa=q.requestAnimationFrame)||od)(rd)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Jr=U=null},q.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter(function(r){return!r.__||eo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],q.__e(r,n.__v)}}),Ca&&Ca(t,e)},q.unmount=function(t){Ea&&Ea(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Bn(r)}catch(o){e=o}}),n.__H=void 0,e&&q.__e(e,n.__v))};var Aa=typeof requestAnimationFrame=="function";function od(t){var e,n=function(){clearTimeout(r),Aa&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Aa&&(e=requestAnimationFrame(n))}function Bn(t){var e=U,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),U=e}function eo(t){var e=U;t.__c=t.__(),U=e}function no(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Pa(t,e){return typeof e=="function"?e(t):e}const Yn=t=>{const e=Object.entries(t.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${t.baseKey}::${e}`},um="",id=t=>{const e=Object.entries(t).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(e)},ad=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[i,a]=Ct();return Et(()=>{Promise.resolve().then(()=>om).then(s=>a(s.jobAlertsPlugin()({analytics:t,apiClient:e,logger:n})))},[t,e,n]),Et(()=>{i==null||i.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Et(()=>{i==null||i.setFilters(id(o))},[o,i]),g("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Ta(t,e){for(var n in e)t[n]=e[n];return t}function ro(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Kn(t,e){this.props=t,this.context=e}function Ra(t,e){function n(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:ro(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Kn.prototype=new yt).isPureReactComponent=!0,Kn.prototype.shouldComponentUpdate=function(t,e){return ro(this.props,t)||ro(this.state,e)};var Da=P.__b;P.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Da&&Da(t)};var sd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Na(t){function e(n){var r=Ta({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=sd,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var La=function(t,e){return t==null?null:Nt(Nt(t).map(e))},Ma={map:La,forEach:La,count:function(t){return t?Nt(t).length:0},only:function(t){var e=Nt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Nt},cd=P.__e;P.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}cd(t,e,n,r)};var Fa=P.unmount;function Ia(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Ta({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Ia(r,e,n)})),t}function Ha(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Ha(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function hn(){this.__u=0,this.t=null,this.__b=null}function Va(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Ua(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return Q(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Me(){this.u=null,this.o=null}P.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Fa&&Fa(t)},(hn.prototype=new yt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Va(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Ha(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},hn.prototype.componentWillUnmount=function(){this.t=[]},hn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ia(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&Q(I,null,t.fallback);return o&&(o.__u&=-33),[Q(I,null,e.__a?null:t.children),o]};var za=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function ld(t){return this.getChildContext=function(){return t.context},t.children}function ud(t){var e=this,n=t.i;e.componentWillUnmount=function(){De(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),De(Q(ld,{context:e.context},t.__v),e.l)}function Wa(t,e){var n=Q(ud,{__v:t,i:e});return n.containerInfo=e,n}(Me.prototype=new yt).__a=function(t){var e=this,n=Va(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),za(e,t,r)):o()};n?n(i):i()}},Me.prototype.render=function(t){this.u=null,this.o=new Map;var e=Nt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Me.prototype.componentDidUpdate=Me.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){za(t,n,e)})};var Ba=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,dd=/^(?: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]/,fd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,pd=/[A-Z0-9]/g,hd=typeof document<"u",vd=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ya(t,e,n){return e.__k==null&&(e.textContent=""),De(t,e),typeof n=="function"&&n(),t?t.__c:null}function Ka(t,e,n){return Wr(t,e),typeof n=="function"&&n(),t?t.__c:null}yt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(yt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var qa=P.event;function _d(){}function gd(){return this.cancelBubble}function wd(){return this.defaultPrevented}P.event=function(t){return qa&&(t=qa(t)),t.persist=_d,t.isPropagationStopped=gd,t.isDefaultPrevented=wd,t.nativeEvent=t};var oo,md={enumerable:!1,configurable:!0,get:function(){return this.class}},Ga=P.vnode;P.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||hd&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="translate"&&a==="no"?a=!1:s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||vd(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":fd.test(i)?i=s:r.indexOf("-")===-1&&dd.test(i)?i=i.replace(pd,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Nt(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Nt(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",md)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Ba,Ga&&Ga(t)};var Xa=P.__r;P.__r=function(t){Xa&&Xa(t),oo=t.__c};var Za=P.diffed;P.diffed=function(t){Za&&Za(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),oo=null};var Ja={ReactCurrentDispatcher:{current:{readContext:function(t){return oo.__n[t.__c].props.value},useCallback:be,useContext:zn,useDebugValue:Wn,useDeferredValue:ao,useEffect:Et,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:re,useMemo:oe,useReducer:Un,useRef:vt,useState:Ct,useSyncExternalStore:lo,useTransition:so}}},yd="17.0.2";function Qa(t){return Q.bind(null,t)}function vn(t){return!!t&&t.$$typeof===Ba}function ts(t){return vn(t)&&t.type===I}function es(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function ns(t){return vn(t)?$u.apply(null,arguments):t}function rs(t){return!!t.__k&&(De(null,t),!0)}function os(t){return t&&(t.base||t.nodeType===1&&t)||null}var is=function(t,e){return t(e)},as=function(t,e){return t(e)},ss=I;function io(t){t()}function ao(t){return t}function so(){return[!1,io]}var co=re,cs=vn;function lo(t,e){var n=e(),r=Ct({h:{__:n,v:e}}),o=r[0].h,i=r[1];return re(function(){o.__=n,o.v=e,uo(o)&&i({h:o})},[t,n,e]),Et(function(){return uo(o)&&i({h:o}),t(function(){uo(o)&&i({h:o})})},[t]),n}function uo(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var qn={useState:Ct,useId:to,useReducer:Un,useEffect:Et,useLayoutEffect:re,useInsertionEffect:co,useTransition:so,useDeferredValue:ao,useSyncExternalStore:lo,startTransition:io,useRef:vt,useImperativeHandle:Qr,useMemo:oe,useCallback:be,useContext:zn,useDebugValue:Wn,version:"17.0.2",Children:Ma,render:Ya,hydrate:Ka,unmountComponentAtNode:rs,createPortal:Wa,createElement:Q,createContext:Br,createFactory:Qa,cloneElement:ns,createRef:zi,Fragment:I,isValidElement:vn,isElement:cs,isFragment:ts,isMemo:es,findDOMNode:os,Component:yt,PureComponent:Kn,memo:Ra,forwardRef:Na,flushSync:as,unstable_batchedUpdates:is,StrictMode:ss,Suspense:hn,SuspenseList:Me,lazy:Ua,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ja};const bd=Object.freeze(Object.defineProperty({__proto__:null,Children:Ma,Component:yt,Fragment:I,PureComponent:Kn,StrictMode:ss,Suspense:hn,SuspenseList:Me,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ja,cloneElement:ns,createContext:Br,createElement:Q,createFactory:Qa,createPortal:Wa,createRef:zi,default:qn,findDOMNode:os,flushSync:as,forwardRef:Na,hydrate:Ka,isElement:cs,isFragment:ts,isMemo:es,isValidElement:vn,lazy:Ua,memo:Ra,render:Ya,startTransition:io,unmountComponentAtNode:rs,unstable_batchedUpdates:is,useCallback:be,useContext:zn,useDebugValue:Wn,useDeferredValue:ao,useEffect:Et,useErrorBoundary:nd,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:re,useMemo:oe,useReducer:Un,useRef:vt,useState:Ct,useSyncExternalStore:lo,useTransition:so,version:yd},Symbol.toStringTag,{value:"Module"}));var Gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $d(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var fo={exports:{}},po={};const ls=$d(bd);/**
1
+ var im=Object.defineProperty;var sm=(ht,dt,he)=>dt in ht?im(ht,dt,{enumerable:!0,configurable:!0,writable:!0,value:he}):ht[dt]=he;var Na=(ht,dt,he)=>(sm(ht,typeof dt!="symbol"?dt+"":dt,he),he);(function(){"use strict";var ht=t=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(t)}`)};function dt(t,e){if(!t)throw new Error(e)}function he(t,e){return t in e}var La=t=>t,sn,P,Ma,ve,Fa,Ia,Lr,Mr,Fr,Ir,Ha,cn={},Va=[],wu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Dn=Array.isArray;function Dt(t,e){for(var n in e)t[n]=e[n];return t}function Ua(t){var e=t.parentNode;e&&e.removeChild(t)}function Q(t,e,n){var r,o,a,i={};for(a in e)a=="key"?r=e[a]:a=="ref"?o=e[a]:i[a]=e[a];if(arguments.length>2&&(i.children=arguments.length>3?sn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(a in t.defaultProps)i[a]===void 0&&(i[a]=t.defaultProps[a]);return ln(t,i,r,o,null)}function ln(t,e,n,r,o){var a={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Ma,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(a),a}function za(){return{current:null}}function I(t){return t.children}function yt(t,e){this.props=t,this.context=e}function _e(t,e){if(e==null)return t.__?_e(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?_e(t):null}function Wa(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Wa(t)}}function Hr(t){(!t.__d&&(t.__d=!0)&&ve.push(t)&&!Nn.__r++||Fa!==P.debounceRendering)&&((Fa=P.debounceRendering)||Ia)(Nn)}function Nn(){var t,e,n,r,o,a,i,s;for(ve.sort(Lr);t=ve.shift();)t.__d&&(e=ve.length,r=void 0,a=(o=(n=t).__v).__e,i=[],s=[],n.__P&&((r=Dt({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),Vr(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[a]:null,i,a??_e(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Ga(i,r,s),r.__e!=a&&Wa(r)),ve.length>e&&ve.sort(Lr));Nn.__r=0}function Ba(t,e,n,r,o,a,i,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Va,v=e.length;for(n.__d=l,mu(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?cn:w[d.__i]||cn,d.__i=c,Vr(t,d,p,o,a,i,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Ur(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!t.contains(l)&&(l=_e(p)),l=Ya(d,l,t)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function mu(t,e,n){var r,o,a,i,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)i=r+c,(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?ln(null,o,null,null,null):Dn(o)?ln(I,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?ln(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=yu(o,n,i,f),o.__i=s,a=null,s!==-1&&(f--,(a=n[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==i&&(s==i-1?c=s-i:s==i+1?c++:s>i?f>l-i?c+=s-i:c--:s<i&&c++,s!==r+c&&(o.__u|=65536))):(a=n[i])&&a.key==null&&a.__e&&!(131072&a.__u)&&(a.__e==t.__d&&(t.__d=_e(a)),zr(a,a,!1),n[i]=null,f--);if(f)for(r=0;r<u;r++)(a=n[r])!=null&&!(131072&a.__u)&&(a.__e==t.__d&&(t.__d=_e(a)),zr(a,a))}function Ya(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=Ya(r[o],e,n));return e}t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e);do e=e&&e.nextSibling;while(e!=null&&e.nodeType===8);return e}function Nt(t,e){return e=e||[],t==null||typeof t=="boolean"||(Dn(t)?t.some(function(n){Nt(n,e)}):e.push(t)),e}function yu(t,e,n,r){var o=t.key,a=t.type,i=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&a===l.type&&!(131072&l.__u))return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;i>=0||s<e.length;){if(i>=0){if((l=e[i])&&!(131072&l.__u)&&o==l.key&&a===l.type)return i;i--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&a===l.type)return s;s++}}return-1}function Ka(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||wu.test(e)?n:n+"px"}function Ln(t,e,n,r,o){var a;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||Ka(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||Ka(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")a=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in t||e==="onFocusOut"||e==="onFocusIn"?e.toLowerCase().slice(2):e.slice(2),t.l||(t.l={}),t.l[e+a]=n,n?r?n.u=r.u:(n.u=Mr,t.addEventListener(e,a?Ir:Fr,a)):t.removeEventListener(e,a?Ir:Fr,a);else{if(o=="http://www.w3.org/2000/svg")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!="popover"&&e in t)try{t[e]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,e=="popover"&&n==1?"":n))}}function qa(t){return function(e){if(this.l){var n=this.l[e.type+t];if(e.t==null)e.t=Mr++;else if(e.t<n.u)return;return n(P.event?P.event(e):e)}}}function Vr(t,e,n,r,o,a,i,s,l,u){var f,c,p,d,_,h,w,v,m,y,b,x,k,C,$,j,O=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),a=[s=e.__e=n.__e]),(f=P.__b)&&f(e);t:if(typeof O=="function")try{if(v=e.props,m="prototype"in O&&O.prototype.render,y=(f=O.contextType)&&r[f.__c],b=f?y?y.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:(m?e.__c=c=new O(v,b):(e.__c=c=new yt(v,b),c.constructor=O,c.render=xu),y&&y.sub(c),c.props=v,c.state||(c.state={}),c.context=b,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),m&&c.__s==null&&(c.__s=c.state),m&&O.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Dt({},c.__s)),Dt(c.__s,O.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)m&&O.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&O.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,b)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(N){N&&(N.__=e)}),x=0;x<c._sb.length;x++)c.__h.push(c._sb[x]);c._sb=[],c.__h.length&&i.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=b,c.props=v,c.__P=t,c.__e=!1,k=P.__r,C=0,m){for(c.state=c.__s,c.__d=!1,k&&k(e),f=c.render(c.props,c.state,c.context),$=0;$<c._sb.length;$++)c.__h.push(c._sb[$]);c._sb=[]}else do c.__d=!1,k&&k(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++C<25);c.state=c.__s,c.getChildContext!=null&&(r=Dt(Dt({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,_)),Ba(t,Dn(j=f!=null&&f.type===I&&f.key==null?f.props.children:f)?j:[j],e,n,r,o,a,i,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&i.push(c),w&&(c.__E=c.__=null)}catch(N){e.__v=null,l||a!=null?(e.__e=s,e.__u|=l?160:32,a[a.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),P.__e(N,e,n)}else a==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=bu(n.__e,e,n,r,o,a,i,l,u);(f=P.diffed)&&f(e)}function Ga(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Ur(n[r],n[++r],n[++r]);P.__c&&P.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(a){a.call(o)})}catch(a){P.__e(a,o.__v)}})}function bu(t,e,n,r,o,a,i,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,m=e.type;if(m==="svg"?o="http://www.w3.org/2000/svg":m==="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),a!=null){for(u=0;u<a.length;u++)if((d=a[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){t=d,a[u]=null;break}}if(t==null){if(m===null)return document.createTextNode(v);t=document.createElementNS(o,m,v.is&&v),a=null,s=!1}if(m===null)w===v||s&&t.data===v||(t.data=v);else{if(a=a&&sn.call(t.childNodes),w=n.props||cn,!s&&a!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)if(d=w[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in v)){if(u=="value"&&"defaultValue"in v||u=="checked"&&"defaultChecked"in v)continue;Ln(t,u,null,d,o)}}for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||Ln(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),Ba(t,Dn(p)?p:[p],e,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,a,i,a?a[0]:n.__k&&_e(n,0),s,l),a!=null)for(u=a.length;u--;)a[u]!=null&&Ua(a[u]);s||(u="value",_!==void 0&&(_!==t[u]||m==="progress"&&!_||m==="option"&&_!==w[u])&&Ln(t,u,_,w[u],o),u="checked",h!==void 0&&h!==t[u]&&Ln(t,u,h,w[u],o))}return t}function Ur(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){P.__e(r,n)}}function zr(t,e,n){var r,o;if(P.unmount&&P.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Ur(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){P.__e(a,e)}r.base=r.__P=null}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&zr(r[o],e,n||typeof t.type!="function");n||t.__e==null||Ua(t.__e),t.__c=t.__=t.__e=t.__d=void 0}function xu(t,e,n){return this.constructor(t,n)}function De(t,e,n){var r,o,a,i;P.__&&P.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,a=[],i=[],Vr(e,t=(!r&&n||e).__k=Q(I,null,[t]),o||cn,cn,e.namespaceURI,!r&&n?[n]:o?null:e.firstChild?sn.call(e.childNodes):null,a,!r&&n?n:o?o.__e:e.firstChild,r,i),Ga(a,t,i)}function Wr(t,e){De(t,e,Wr)}function $u(t,e,n){var r,o,a,i,s=Dt({},t.props);for(a in t.type&&t.type.defaultProps&&(i=t.type.defaultProps),e)a=="key"?r=e[a]:a=="ref"?o=e[a]:s[a]=e[a]===void 0&&i!==void 0?i[a]:e[a];return arguments.length>2&&(s.children=arguments.length>3?sn.call(arguments,2):n),ln(t.type,s,r||t.key,o||t.ref,null)}function Br(t,e){var n={__c:e="__cC"+Ha++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[e]=this,this.getChildContext=function(){return a},this.componentWillUnmount=function(){o=null},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(s){s.__e=!0,Hr(s)})},this.sub=function(i){o.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){o&&o.splice(o.indexOf(i),1),s&&s.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}sn=Va.slice,P={__e:function(t,e,n,r){for(var o,a,i;e=e.__;)if((o=e.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(t)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),i=o.__d),i)return o.__E=o}catch(s){t=s}throw t}},Ma=0,yt.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Dt({},this.state),typeof t=="function"&&(t=t(Dt({},n),this.props)),t&&Dt(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Hr(this))},yt.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Hr(this))},yt.prototype.render=I,ve=[],Ia=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Lr=function(t,e){return t.__v.__b-e.__v.__b},Nn.__r=0,Mr=0,Fr=qa(!1),Ir=qa(!0),Ha=0;var Xa=/[\s\n\\/='"\0<>]/,Za=/^(xlink|xmlns|xml)([A-Z])/,ku=/^accessK|^auto[A-Z]|^cell|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|popoverT|readO|rowS|spellC|src[A-Z]|tabI|useM|item[A-Z]/,ju=/^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/,Su=/["&<]/;function Mn(t){if(t.length===0||Su.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var Ja={},Cu=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"]),Eu=/[A-Z]/g;function Ou(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Ja[n]||(Ja[n]=n.replace(Eu,"-$&").toLowerCase()),a=";";typeof r!="number"||o.startsWith("--")||Cu.has(o)||(a="px;"),e=e+o+":"+r+a}}return e||void 0}var Yr,ge,un,dn,Qa=[],ti=Array.isArray,Kr=Object.assign;function Au(t,e,n){var r=P.__s;P.__s=!0,Yr=P.__b,ge=P.diffed,un=P.__r,dn=P.unmount;var o=Q(I,null);o.__k=[t];try{var a=At(t,e||ni,!1,void 0,o,!1,n);return Array.isArray(a)?a.join(""):a}catch(i){throw i.then?new Error('Use "renderToStringAsync" for suspenseful rendering.'):i}finally{P.__c&&P.__c(t,Qa),P.__s=r,Qa.length=0}}function ei(){this.__d=!0}var ni={};function ri(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=ni),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=Kr({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),un&&un(t),n.render(n.props,n.state,e)}function At(t,e,n,r,o,a,i){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":Mn(t+"");if(ti(t)){var s,l="";o.__k=t;for(var u=0;u<t.length;u++){var f=t[u];if(f!=null&&typeof f!="boolean"){var c,p=At(f,e,n,r,o,a,i);typeof p=="string"?l+=p:(s=s||[],l&&s.push(l),l="",Array.isArray(p)?(c=s).push.apply(c,p):s.push(p))}}return s?(l&&s.push(l),s):l}if(t.constructor!==void 0)return"";t.__=o,Yr&&Yr(t);var d,_,h,w=t.type,v=t.props,m=e;if(typeof w=="function"){if(w===I){if(v.tpl){for(var y="",b=0;b<v.tpl.length;b++)if(y+=v.tpl[b],v.exprs&&b<v.exprs.length){var x=v.exprs[b];if(x==null)continue;typeof x!="object"||x.constructor!==void 0&&!ti(x)?y+=x:y+=At(x,e,n,r,t,a,i)}return y}if(v.UNSTABLE_comment)return"<!--"+Mn(v.UNSTABLE_comment||"")+"-->";_=v.children}else{if((d=w.contextType)!=null){var k=e[d.__c];m=k?k.props.value:d.__}if(w.prototype&&typeof w.prototype.render=="function")_=ri(t,m),h=t.__c;else{t.__c=h={__v:t,props:v,context:m,setState:ei,forceUpdate:ei,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,un&&un(t),_=w.call(h,v,m);h.__d=!0}if(h.getChildContext!=null&&(e=Kr({},e,h.getChildContext())),(w.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var $="";_=_!=null&&_.type===I&&_.key==null?_.props.children:_;try{return $=At(_,e,n,r,t,a,i)}catch(pt){return w.getDerivedStateFromError&&(h.__s=w.getDerivedStateFromError(pt)),h.componentDidCatch&&h.componentDidCatch(pt,{}),h.__d&&(_=ri(t,e),(h=t.__c).getChildContext!=null&&(e=Kr({},e,h.getChildContext())),$=At(_=_!=null&&_.type===I&&_.key==null?_.props.children:_,e,n,r,t,a,i)),$}finally{ge&&ge(t),t.__=null,dn&&dn(t)}}}_=_!=null&&_.type===I&&_.key==null&&_.props.tpl==null?_.props.children:_;try{var j=At(_,e,n,r,t,a,i);return ge&&ge(t),t.__=null,P.unmount&&P.unmount(t),j}catch(pt){if(!a&&i&&i.onError){var O=i.onError(pt,t,function(ut){return At(ut,e,n,r,t,a,i)});if(O!==void 0)return O;var N=P.__e;return N&&N(pt,t),""}if(!a||!pt||typeof pt.then!="function")throw pt;var L=function ut(){try{return At(_,e,n,r,t,a,i)}catch(wt){if(!wt||typeof wt.then!="function")throw wt;return wt.then(function(){return At(_,e,n,r,t,a,i)},function(){return ut()})}};return pt.then(function(){return L()})}}var M,D="<"+w,F="";for(var R in v){var T=v[R];switch(R){case"children":M=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in v)continue;R="for";break;case"className":if("class"in v)continue;R="class";break;case"defaultChecked":R="checked";break;case"defaultSelected":R="selected";break;case"defaultValue":case"value":switch(R="value",w){case"textarea":M=T;continue;case"select":r=T;continue;case"option":r!=T||"selected"in v||(D+=" selected")}break;case"dangerouslySetInnerHTML":F=T&&T.__html;continue;case"style":typeof T=="object"&&(T=Ou(T));break;case"acceptCharset":R="accept-charset";break;case"httpEquiv":R="http-equiv";break;default:if(Za.test(R))R=R.replace(Za,"$1:$2").toLowerCase();else{if(Xa.test(R))continue;R[4]!=="-"&&R!=="draggable"||T==null?n?ju.test(R)&&(R=R==="panose1"?"panose-1":R.replace(/([A-Z])/g,"-$1").toLowerCase()):ku.test(R)&&(R=R.toLowerCase()):T+=""}}T!=null&&T!==!1&&typeof T!="function"&&(D=T===!0||T===""?D+" "+R:D+" "+R+'="'+Mn(T+"")+'"')}if(Xa.test(w))throw new Error(w+" is not a valid HTML tag name in "+D+">");if(F||(typeof M=="string"?F=Mn(M):M!=null&&M!==!1&&M!==!0&&(F=At(M,e,w==="svg"||w!=="foreignObject"&&n,r,t,a,i))),ge&&ge(t),t.__=null,dn&&dn(t),!F&&Pu.has(w))return D+"/>";var tt="</"+w+">",ct=D+">";return Array.isArray(F)?[ct].concat(F,[tt]):typeof F!="string"?[ct,F,tt]:ct+F+tt}var Pu=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Fn=class extends Error{constructor(e){super(e[0].message);Na(this,"issues");this.name="ValiError",this.issues=e}};function oi(t,e){return{...t,_parse(n,r){return t._parse(e(n),r)}}}function fn(t){return{issues:t}}function we(t){return{output:t}}function Tu(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 Ru(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 Jt(t,e,n,r){if(!e||!e.length||n!=null&&n.skipPipe)return we(t);let o,a,i=t;for(const s of e){const l=s._parse(i);if(l.issues){o=o||Ru(n,r);for(const u of l.issues){const f=Tu(o,u);a?a.push(f):a=[f]}if(o.abortEarly||o.abortPipeEarly)break}else i=l.output}return a?fn(a):we(i)}function Qt(t,e){return Array.isArray(t)?[void 0,t]:[t,e]}function ai(t){return typeof t=="function"?t():t}function Du(t,e,n,r){return fn([{validation:t,message:ai(e),input:n,requirement:r}])}function Nu(t,e,n){if(!t||typeof t=="object"&&!Array.isArray(t)){const[a,i]=Qt(e,n);return[t,a,i]}const[r,o]=Qt(t,e);return[void 0,r,o]}function te(t,e,n,r,o,a){return{issues:[{reason:e,validation:n,origin:(t==null?void 0:t.origin)||"value",message:ai(r),input:o,issues:a,abortEarly:t==null?void 0:t.abortEarly,abortPipeEarly:t==null?void 0:t.abortPipeEarly,skipPipe:t==null?void 0:t.skipPipe}]}}function ii(t){return typeof t.default=="function"?t.default():t.default}function Lu(t){return{type:"any",async:!1,pipe:t,_parse(e,n){return Jt(e,this.pipe,n,"any")}}}function si(t,e,n){const[r="Invalid type",o]=Qt(e,n);return{type:"array",async:!1,item:t,message:r,pipe:o,_parse(a,i){if(!Array.isArray(a))return te(i,"type","array",this.message,a);let s;const l=[];for(let u=0;u<a.length;u++){const f=a[u],c=this.item._parse(f,i);if(c.issues){const p={type:"array",input:a,key:u,value:f};for(const d of c.issues)d.path?d.path.unshift(p):d.path=[p],s==null||s.push(d);if(s||(s=c.issues),i!=null&&i.abortEarly)break}else l.push(c.output)}return s?fn(s):Jt(l,this.pipe,i,"array")}}}function ci(t,e){const[n="Invalid type",r]=Qt(t,e);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,a){return typeof o!="boolean"?te(a,"type","boolean",this.message,o):Jt(o,this.pipe,a,"boolean")}}}function ee(t,e="Invalid type"){return{type:"literal",async:!1,literal:t,message:e,_parse(n,r){return n!==this.literal?te(r,"type","literal",this.message,n):we(n)}}}function bt(t,e){return{type:"nullable",async:!1,wrapped:t,default:e,_parse(n,r){if(n===null){const o=ii(this);if(o===void 0)return we(n);n=o}return this.wrapped._parse(n,r)}}}function Ne(t,e){const[n="Invalid type",r]=Qt(t,e);return{type:"number",async:!1,message:n,pipe:r,_parse(o,a){return typeof o!="number"||isNaN(o)?te(a,"type","number",this.message,o):Jt(o,this.pipe,a,"number")}}}function In(t,e,n,r){const[o,a="Invalid type",i]=Nu(e,n,r);let s;return{type:"object",async:!1,entries:t,rest:o,message:a,pipe:i,_parse(l,u){if(!l||typeof l!="object")return te(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const _=l[p],h=d._parse(_,u);if(h.issues){const w={type:"object",input:l,key:p,value:_};for(const v of h.issues)v.path?v.path.unshift(w):v.path=[w],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}else(h.output!==void 0||p in l)&&(c[p]=h.output)}if(this.rest&&!(u!=null&&u.abortEarly&&f)){for(const p in l)if(!(p in this.entries)){const d=l[p],_=this.rest._parse(d,u);if(_.issues){const h={type:"object",input:l,key:p,value:d};for(const w of _.issues)w.path?w.path.unshift(h):w.path=[h],f==null||f.push(w);if(f||(f=_.issues),u!=null&&u.abortEarly)break}else c[p]=_.output}}return f?fn(f):Jt(c,this.pipe,u,"object")}}}function qr(t,e){return{type:"optional",async:!1,wrapped:t,default:e,_parse(n,r){if(n===void 0){const o=ii(this);if(o===void 0)return we(n);n=o}return this.wrapped._parse(n,r)}}}function X(t,e){const[n="Invalid type",r]=Qt(t,e);return{type:"string",async:!1,message:n,pipe:r,_parse(o,a){return typeof o!="string"?te(a,"type","string",this.message,o):Jt(o,this.pipe,a,"string")}}}function Mu(t,e,n,r){if(typeof e=="object"&&!Array.isArray(e)){const[i,s]=Qt(n,r);return[t,e,i,s]}const[o,a]=Qt(e,n);return[X(),t,o,a]}var Fu=["__proto__","prototype","constructor"];function li(t,e,n,r){const[o,a,i="Invalid type",s]=Mu(t,e,n,r);return{type:"record",async:!1,key:o,value:a,message:i,pipe:s,_parse(l,u){if(!l||typeof l!="object")return te(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Fu.includes(p)){let _;const h=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(h.issues){_={type:"record",input:l,key:p,value:d};for(const v of h.issues)v.path=[_],f==null||f.push(v);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const w=this.value._parse(d,u);if(w.issues){_=_||{type:"record",input:l,key:p,value:d};for(const v of w.issues)v.path?v.path.unshift(_):v.path=[_],f==null||f.push(v);if(f||(f=w.issues),u!=null&&u.abortEarly)break}!h.issues&&!w.issues&&(c[h.output]=w.output)}return f?fn(f):Jt(c,this.pipe,u,"record")}}}function ui(t,e="Invalid type"){return{type:"union",async:!1,options:t,message:e,_parse(n,r){let o,a;for(const i of this.options){const s=i._parse(n,r);if(s.issues)if(o)for(const l of s.issues)o.push(l);else o=s.issues;else{a=[s.output];break}}return a?we(a[0]):te(r,"type","union",this.message,n,o)}}}function di(t,e,n){const r=t._parse(e,n);if(r.issues)throw new Fn(r.issues);return r.output}function Iu(t,e,n){const r=t._parse(e,n);return r.issues?{success:!1,error:new Fn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function fi(t,e,n){return{...t,_parse(r,o){const a=t._parse(r,o);if(a.issues)return a;const i=e(a.output);return n&&!Array.isArray(n)?n._parse(i,o):Jt(i,n,o,typeof i)}}}function Hu(t="Invalid URL"){return{type:"url",async:!1,message:t,requirement(e){try{return new URL(e),!0}catch{return!1}},_parse(e){return this.requirement(e)?we(e):Du(this.type,this.message,e,this.requirement)}}}const pi="inploi-job-search",hi="ijs",Hn=10,vi={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Vu=t=>{const{salary:e,config:n}=t,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:e.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(e.pay_display===!1)return;if(e.pay_mask)return"Competitive";if(e.pay_max&&isNaN(+e.pay_max)||e.pay_min&&isNaN(+e.pay_min)||e.pay&&isNaN(+e.pay))return"Invalid salary";const o=e.pay_type&&e.pay_type in vi?vi[e.pay_type]:void 0;return e.pay?[r.format(+e.pay),o].filter(Boolean).join(" "):e.pay_max&&e.pay_min?[r.formatRange(+e.pay_min,+e.pay_max),o].filter(Boolean).join(" "):e.pay_max?"Up to "+[r.format(+e.pay_max),o].filter(Boolean).join(" "):e.pay_min?"From "+[r.format(+e.pay_min),o].filter(Boolean).join(" "):"Invalid salary"},Uu=new Intl.RelativeTimeFormat("en",{numeric:"auto"}),zu=({from:t=new Date,to:e,formatter:n=Uu})=>{const o=(e instanceof Date?e:new Date(e)).getTime()-t.getTime(),a={days:Math.round(o/1e3/60/60/24),months:Math.round(o/1e3/60/60/24/30)};return a.days===0?"today":Math.abs(a.days)<30?n.format(a.days,"days"):Math.abs(a.days)<3?n.format(a.months,"months"):a.months<0?"a long time ago":"in a long time"},Wu=li(si(In({label:oi(X(),String),value:oi(X(),String),jobs:Ne()}))),Bu=X([Hu()]),Yu=In({total:Ne(),current_page:Ne(),per_page:Ne(),last_page:Ne()}),Ku=In({id:Ne(),company_name:X(),company_logo:bt(qr(X())),employment_type:X(),location_type:ui([ee("LOCATION"),ee("REMOTE"),ee("HYBRID")]),pay_type:bt(ui([ee("ANNUALLY"),ee("HOURLY"),ee("MONTHLY"),ee("WEEKLY"),ee("DAILY")])),pay_currency:X(),pay_mask:ci(),pay_display:ci(),pay:bt(X()),pay_min:bt(X()),pay_max:bt(X()),description:X(),title:X(),contract_type:bt(X()),created_at:bt(X()),custom_data:bt(li(Lu())),href:X(),industry:bt(X()),category:bt(X()),skills:qr(X()),town:qr(X()),city:bt(X()),country:bt(X())}),qu=fi(Ku,t=>{const e=Iu(Bu,t.company_logo);return{raw:t,id:t.id,createdAt:t.created_at,company:{name:t.company_name,logo:e.success?e.output:void 0},employmentType:t.employment_type,locationType:t.location_type,pay:Vu({salary:t,config:{locales:void 0}}),description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?zu({to:new Date(t.created_at)}):"INVALID DATE",customData:t.custom_data}}),Gu=fi(In({data:si(qu),pagination:Yu}),t=>({pagination:t.pagination,results:t.data})),_i=t=>Object.fromEntries(Object.entries(t).map(([e,n])=>[e,(n==null?void 0:n.value)??null])),gi=async({apiClient:t,filters:e,logger:n,signal:r})=>{try{const o=await t.fetch("/search/filters",{method:"POST",body:JSON.stringify({filters:_i(e)}),signal:r});return di(Wu,o)}catch(o){throw o instanceof Fn?n.error(o.message,o.issues):n.error(o),o}},wi=async({apiClient:t,logger:e,signal:n,filters:r,page:o=1})=>{try{const a=await t.fetch(`/search/results?page=${o}&per_page=${Hn}`,{method:"POST",body:JSON.stringify({filters:_i(r)}),signal:n});return di(Gu,a)}catch(a){throw a instanceof Fn?e.error(a.message,a.issues):e.error(a),a}},Gr=t=>{if(t.error)return{state:"error",error:t.error,swr:t};if(t.isLoading&&t.data===void 0)return{state:"loading",swr:t};if((t.isLoading||t.isValidating)&&t.data)return{state:"revalidating",data:t.data,swr:t};if(!t.isLoading&&t.data)return{state:"loaded",data:t.data,swr:t};throw new Error("Unhandled data state")},Xr={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Xu=0;function g(t,e,n,r,o,a){e||(e={});var i,s,l=e;if("ref"in l)for(s in l={},e)s=="ref"?i=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Xu,__i:-1,__u:0,__source:o,__self:a};if(typeof t=="function"&&(i=t.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return P.vnode&&P.vnode(u),u}function mi(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=mi(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function Zu(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=mi(t))&&(r&&(r+=" "),r+=e);return r}function yi(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=yi(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function Zr(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=yi(t))&&(r&&(r+=" "),r+=e);return r}const bi=t=>typeof t=="boolean"?"".concat(t):t===0?"0":t,Ju=t=>{const e=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s,l;return typeof(t==null||(s=t.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?t==null?void 0:t.hooks["cx:done"](Zr(a)):typeof(t==null||(l=t.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?t==null?void 0:t.hooks.onComplete(Zr(a)):Zr(a)};return{compose:function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return s=>{const l=Object.fromEntries(Object.entries(s||{}).filter(u=>{let[f]=u;return!["class","className"].includes(f)}));return e(a.map(u=>u(l)),s==null?void 0:s.class,s==null?void 0:s.className)}},cva:o=>a=>{var i;if((o==null?void 0:o.variants)==null)return e(o==null?void 0:o.base,a==null?void 0:a.class,a==null?void 0:a.className);const{variants:s,defaultVariants:l}=o,u=Object.keys(s).map(p=>{const d=a==null?void 0:a[p],_=l==null?void 0:l[p],h=bi(d)||bi(_);return s[p][h]}),f={...l,...a&&Object.entries(a).reduce((p,d)=>{let[_,h]=d;return typeof h>"u"?p:{...p,[_]:h}},{})},c=o==null||(i=o.compoundVariants)===null||i===void 0?void 0:i.reduce((p,d)=>{let{class:_,className:h,...w}=d;return Object.entries(w).every(v=>{let[m,y]=v;const b=f[m];return Array.isArray(y)?y.includes(b):b===y})?[...p,_,h]:p},[]);return e(o==null?void 0:o.base,u,c,a==null?void 0:a.class,a==null?void 0:a.className)},cx:e}},{compose:cm,cva:St,cx:lm}=Ju(),Vn=St({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"}}),Qu=({error:t,resetError:e})=>g("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:[g("p",{children:t.message}),g("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,class:n,...r})=>g("div",{class:Zu("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[g("div",{class:"flex flex-col gap-1",children:[g("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."}),g("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:t.message})]}),g("button",{class:Vn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:e,children:"Retry"})]});class pn extends yt{constructor(){super(...arguments);Na(this,"state",{error:null})}static getDerivedStateFromError(n){return{error:n.message}}componentDidCatch(n){this.setState({error:n})}render(){if(this.state.error){const{Fallback:n}=this.props;return g(n,{error:this.state.error,resetError:()=>{console.log("resetting error"),this.setState({error:null})}})}return this.props.children}}const td={briefcase:g(I,{children:[g("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"}),g("path",{d:"M4.75 11.75H19.25"}),g("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),g("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:g(I,{children:[g("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"}),g("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"}),g("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),g("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),g("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),g("circle",{cx:"18.75",cy:"12",r:"2"}),g("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:g(I,{children:[g("path",{d:"M16.75 10.25H13.75"}),g("path",{d:"M16.75 13.25H13.75"}),g("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"}),g("path",{d:"M10.25 12.25V18.25"})]}),circles:g(I,{children:[g("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"}),g("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:g(I,{children:[g("path",{d:"M14 9L12 13L9.5 12"}),g("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:g(I,{children:g("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:g(I,{children:[g("path",{d:"M5 13.75H19"}),g("path",{d:"M5 10.25H19"}),g("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"}),g("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:g(I,{children:[g("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"}),g("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"}),g("path",{d:"M16 16L19 19"})]}),mapPin:g(I,{children:g(I,{children:[g("circle",{cx:"12",cy:"9",r:"2"}),g("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"}),g("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"})]})}),pay:g(I,{children:[g("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),g("path",{d:"M10 14c.3.7 1 1 2 1 2.6 0 2.7-3 0-3s-2.7-3 0-3c1 0 1.7.4 2 1"})]}),sunset:g(I,{children:[g("path",{d:"M18.5 8.5L17.5 9.5"}),g("path",{d:"M5.5 8.5L6.5 9.5"}),g("path",{d:"M12 6L12 7.5"}),g("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"}),g("path",{d:"M20.25 15.25H12H3.75"}),g("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:g("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:g("path",{d:"M12 8V16M8 12H16"}),"chevron-right":g("path",{d:"M11 8L15 12L11 16"})},ed=({theme:t})=>g("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:g("defs",{children:Object.entries(td).map(([e,n])=>{var r;return g("symbol",{id:`i-icon-${e}`,children:g("g",{fill:"none","stroke-width":t.mode==="dark"&&((r=t.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),me=({name:t,...e})=>g("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:g("use",{href:`#i-icon-${t}`})});var Lt,U,Jr,xi,Le=0,$i=[],q=P,ki=q.__b,ji=q.__r,Si=q.diffed,Ci=q.__c,Ei=q.unmount,Oi=q.__;function ye(t,e){q.__h&&q.__h(U,t,Le||e),Le=0;var n=U.__H||(U.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function Ct(t){return Le=1,Un(Pi,t)}function Un(t,e,n){var r=ye(Lt++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Pi(void 0,e),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=U,!U.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return!!p.__c});if(f.every(function(p){return!p.__N}))return!a||a.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!a||a.call(this,s,l,u))};U.u=!0;var a=U.shouldComponentUpdate,i=U.componentWillUpdate;U.componentWillUpdate=function(s,l,u){if(this.__e){var f=a;a=void 0,o(s,l,u),a=f}i&&i.call(this,s,l,u)},U.shouldComponentUpdate=o}return r.__N||r.__}function Et(t,e){var n=ye(Lt++,3);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,U.__H.__h.push(n))}function re(t,e){var n=ye(Lt++,4);!q.__s&&no(n.__H,e)&&(n.__=t,n.i=e,U.__h.push(n))}function vt(t){return Le=5,oe(function(){return{current:t}},[])}function Qr(t,e,n){Le=6,re(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function oe(t,e){var n=ye(Lt++,7);return no(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function be(t,e){return Le=8,oe(function(){return t},e)}function zn(t){var e=U.context[t.__c],n=ye(Lt++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(U)),e.props.value):t.__}function Wn(t,e){q.useDebugValue&&q.useDebugValue(e?e(t):t)}function nd(t){var e=ye(Lt++,10),n=Ct();return e.__=t,U.componentDidCatch||(U.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function to(){var t=ye(Lt++,11);if(!t.__){for(var e=U.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function rd(){for(var t;t=$i.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(Bn),t.__H.__h.forEach(eo),t.__H.__h=[]}catch(e){t.__H.__h=[],q.__e(e,t.__v)}}q.__b=function(t){U=null,ki&&ki(t)},q.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),Oi&&Oi(t,e)},q.__r=function(t){ji&&ji(t),Lt=0;var e=(U=t.__c).__H;e&&(Jr===U?(e.__h=[],U.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(e.__h.forEach(Bn),e.__h.forEach(eo),e.__h=[],Lt=0)),Jr=U},q.diffed=function(t){Si&&Si(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&($i.push(e)!==1&&xi===q.requestAnimationFrame||((xi=q.requestAnimationFrame)||od)(rd)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),Jr=U=null},q.__c=function(t,e){e.some(function(n){try{n.__h.forEach(Bn),n.__h=n.__h.filter(function(r){return!r.__||eo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],q.__e(r,n.__v)}}),Ci&&Ci(t,e)},q.unmount=function(t){Ei&&Ei(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Bn(r)}catch(o){e=o}}),n.__H=void 0,e&&q.__e(e,n.__v))};var Ai=typeof requestAnimationFrame=="function";function od(t){var e,n=function(){clearTimeout(r),Ai&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);Ai&&(e=requestAnimationFrame(n))}function Bn(t){var e=U,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),U=e}function eo(t){var e=U;t.__c=t.__(),U=e}function no(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Pi(t,e){return typeof e=="function"?e(t):e}const Yn=t=>{const e=Object.entries(t.filter).sort(([n],[r])=>n.localeCompare(r)).map(([n,r])=>{var o;return(r==null?void 0:r.select)==="many"?`${n}=${(o=r.value)==null?void 0:o.sort().join("|")}`:`${n}=${r==null?void 0:r.value}`}).join("&");return`${t.baseKey}::${e}`},um="",ad=t=>{const e=Object.entries(t).map(([n,r])=>(r==null?void 0:r.select)==="many"?[n.toString(),r.value??[]]:[n.toString(),(r==null?void 0:r.value)??""]);return Object.fromEntries(e)},id=({analytics:t,apiClient:e,logger:n,theme:r,appliedFilters:o})=>{const[a,i]=Ct();return Et(()=>{Promise.resolve().then(()=>om).then(s=>i(s.jobAlertsPlugin()({analytics:t,apiClient:e,logger:n})))},[t,e,n]),Et(()=>{a==null||a.render({config:{label:"Create alert",headerText:"You will be alerted for new jobs matching the filters currently set"},initialFilters:{},theme:r})}),Et(()=>{a==null||a.setFilters(ad(o))},[o,a]),g("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Ti(t,e){for(var n in e)t[n]=e[n];return t}function ro(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function Kn(t,e){this.props=t,this.context=e}function Ri(t,e){function n(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),e?!e(this.props,o)||!i:ro(this.props,o)}function r(o){return this.shouldComponentUpdate=n,Q(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Kn.prototype=new yt).isPureReactComponent=!0,Kn.prototype.shouldComponentUpdate=function(t,e){return ro(this.props,t)||ro(this.state,e)};var Di=P.__b;P.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Di&&Di(t)};var sd=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ni(t){function e(n){var r=Ti({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=sd,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Li=function(t,e){return t==null?null:Nt(Nt(t).map(e))},Mi={map:Li,forEach:Li,count:function(t){return t?Nt(t).length:0},only:function(t){var e=Nt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Nt},cd=P.__e;P.__e=function(t,e,n,r){if(t.then){for(var o,a=e;a=a.__;)if((o=a.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}cd(t,e,n,r)};var Fi=P.unmount;function Ii(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Ti({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Ii(r,e,n)})),t}function Hi(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Hi(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function hn(){this.__u=0,this.t=null,this.__b=null}function Vi(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Ui(t){var e,n,r;function o(a){if(e||(e=t()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw e;return Q(n,a)}return o.displayName="Lazy",o.__f=!0,o}function Me(){this.u=null,this.o=null}P.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Fi&&Fi(t)},(hn.prototype=new yt).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Vi(r.__v),a=!1,i=function(){a||(a=!0,n.__R=null,o?o(s):s())};n.__R=i;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Hi(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(i,i)},hn.prototype.componentWillUnmount=function(){this.t=[]},hn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ii(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&Q(I,null,t.fallback);return o&&(o.__u&=-33),[Q(I,null,e.__a?null:t.children),o]};var zi=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function ld(t){return this.getChildContext=function(){return t.context},t.children}function ud(t){var e=this,n=t.i;e.componentWillUnmount=function(){De(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),De(Q(ld,{context:e.context},t.__v),e.l)}function Wi(t,e){var n=Q(ud,{__v:t,i:e});return n.containerInfo=e,n}(Me.prototype=new yt).__a=function(t){var e=this,n=Vi(e.__v),r=e.o.get(t);return r[0]++,function(o){var a=function(){e.props.revealOrder?(r.push(o),zi(e,t,r)):o()};n?n(a):a()}},Me.prototype.render=function(t){this.u=null,this.o=new Map;var e=Nt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},Me.prototype.componentDidUpdate=Me.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){zi(t,n,e)})};var Bi=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,dd=/^(?: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]/,fd=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,pd=/[A-Z0-9]/g,hd=typeof document<"u",vd=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Yi(t,e,n){return e.__k==null&&(e.textContent=""),De(t,e),typeof n=="function"&&n(),t?t.__c:null}function Ki(t,e,n){return Wr(t,e),typeof n=="function"&&n(),t?t.__c:null}yt.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(yt.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var qi=P.event;function _d(){}function gd(){return this.cancelBubble}function wd(){return this.defaultPrevented}P.event=function(t){return qi&&(t=qi(t)),t.persist=_d,t.isPropagationStopped=gd,t.isDefaultPrevented=wd,t.nativeEvent=t};var oo,md={enumerable:!1,configurable:!0,get:function(){return this.class}},Gi=P.vnode;P.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var a in n){var i=n[a];if(!(a==="value"&&"defaultValue"in n&&i==null||hd&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var s=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&i===!0?i="":s==="translate"&&i==="no"?i=!1:s==="ondoubleclick"?a="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||vd(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":fd.test(a)?a=s:r.indexOf("-")===-1&&dd.test(a)?a=a.replace(pd,"-$&").toLowerCase():i===null&&(i=void 0):s=a="oninput",s==="oninput"&&o[a=s]&&(a="oninputCapture"),o[a]=i}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Nt(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Nt(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",md)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Bi,Gi&&Gi(t)};var Xi=P.__r;P.__r=function(t){Xi&&Xi(t),oo=t.__c};var Zi=P.diffed;P.diffed=function(t){Zi&&Zi(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),oo=null};var Ji={ReactCurrentDispatcher:{current:{readContext:function(t){return oo.__n[t.__c].props.value},useCallback:be,useContext:zn,useDebugValue:Wn,useDeferredValue:io,useEffect:Et,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:re,useMemo:oe,useReducer:Un,useRef:vt,useState:Ct,useSyncExternalStore:lo,useTransition:so}}},yd="17.0.2";function Qi(t){return Q.bind(null,t)}function vn(t){return!!t&&t.$$typeof===Bi}function ts(t){return vn(t)&&t.type===I}function es(t){return!!t&&!!t.displayName&&(typeof t.displayName=="string"||t.displayName instanceof String)&&t.displayName.startsWith("Memo(")}function ns(t){return vn(t)?$u.apply(null,arguments):t}function rs(t){return!!t.__k&&(De(null,t),!0)}function os(t){return t&&(t.base||t.nodeType===1&&t)||null}var as=function(t,e){return t(e)},is=function(t,e){return t(e)},ss=I;function ao(t){t()}function io(t){return t}function so(){return[!1,ao]}var co=re,cs=vn;function lo(t,e){var n=e(),r=Ct({h:{__:n,v:e}}),o=r[0].h,a=r[1];return re(function(){o.__=n,o.v=e,uo(o)&&a({h:o})},[t,n,e]),Et(function(){return uo(o)&&a({h:o}),t(function(){uo(o)&&a({h:o})})},[t]),n}function uo(t){var e,n,r=t.v,o=t.__;try{var a=r();return!((e=o)===(n=a)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var qn={useState:Ct,useId:to,useReducer:Un,useEffect:Et,useLayoutEffect:re,useInsertionEffect:co,useTransition:so,useDeferredValue:io,useSyncExternalStore:lo,startTransition:ao,useRef:vt,useImperativeHandle:Qr,useMemo:oe,useCallback:be,useContext:zn,useDebugValue:Wn,version:"17.0.2",Children:Mi,render:Yi,hydrate:Ki,unmountComponentAtNode:rs,createPortal:Wi,createElement:Q,createContext:Br,createFactory:Qi,cloneElement:ns,createRef:za,Fragment:I,isValidElement:vn,isElement:cs,isFragment:ts,isMemo:es,findDOMNode:os,Component:yt,PureComponent:Kn,memo:Ri,forwardRef:Ni,flushSync:is,unstable_batchedUpdates:as,StrictMode:ss,Suspense:hn,SuspenseList:Me,lazy:Ui,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ji};const bd=Object.freeze(Object.defineProperty({__proto__:null,Children:Mi,Component:yt,Fragment:I,PureComponent:Kn,StrictMode:ss,Suspense:hn,SuspenseList:Me,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ji,cloneElement:ns,createContext:Br,createElement:Q,createFactory:Qi,createPortal:Wi,createRef:za,default:qn,findDOMNode:os,flushSync:is,forwardRef:Ni,hydrate:Ki,isElement:cs,isFragment:ts,isMemo:es,isValidElement:vn,lazy:Ui,memo:Ri,render:Yi,startTransition:ao,unmountComponentAtNode:rs,unstable_batchedUpdates:as,useCallback:be,useContext:zn,useDebugValue:Wn,useDeferredValue:io,useEffect:Et,useErrorBoundary:nd,useId:to,useImperativeHandle:Qr,useInsertionEffect:co,useLayoutEffect:re,useMemo:oe,useReducer:Un,useRef:vt,useState:Ct,useSyncExternalStore:lo,useTransition:so,version:yd},Symbol.toStringTag,{value:"Module"}));var Gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xd(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function $d(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var fo={exports:{}},po={};const ls=$d(bd);/**
2
2
  * @license React
3
3
  * use-sync-external-store-shim.production.min.js
4
4
  *
@@ -6,7 +6,7 @@ var am=Object.defineProperty;var sm=(ht,dt,he)=>dt in ht?am(ht,dt,{enumerable:!0
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 us;function kd(){if(us)return po;us=1;var t=ls;function e(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,o=t.useEffect,i=t.useLayoutEffect,a=t.useDebugValue;function s(c,p){var d=p(),_=r({inst:{value:d,getSnapshot:p}}),h=_[0].inst,w=_[1];return i(function(){h.value=d,h.getSnapshot=p,l(h)&&w({inst:h})},[c,d,p]),o(function(){return l(h)&&w({inst:h}),c(function(){l(h)&&w({inst:h})})},[c]),a(d),d}function l(c){var p=c.getSnapshot;c=c.value;try{var d=p();return!n(c,d)}catch{return!0}}function u(c,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return po.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,po}var ho={};/**
9
+ */var us;function kd(){if(us)return po;us=1;var t=ls;function e(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:e,r=t.useState,o=t.useEffect,a=t.useLayoutEffect,i=t.useDebugValue;function s(c,p){var d=p(),_=r({inst:{value:d,getSnapshot:p}}),h=_[0].inst,w=_[1];return a(function(){h.value=d,h.getSnapshot=p,l(h)&&w({inst:h})},[c,d,p]),o(function(){return l(h)&&w({inst:h}),c(function(){l(h)&&w({inst:h})})},[c]),i(d),d}function l(c){var p=c.getSnapshot;c=c.value;try{var d=p();return!n(c,d)}catch{return!0}}function u(c,p){return p()}var f=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return po.useSyncExternalStore=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:f,po}var ho={};/**
10
10
  * @license React
11
11
  * use-sync-external-store-shim.development.js
12
12
  *
@@ -14,11 +14,11 @@ var am=Object.defineProperty;var sm=(ht,dt,he)=>dt in ht?am(ht,dt,{enumerable:!0
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ds;function jd(){return ds||(ds=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=ls,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(y){{for(var b=arguments.length,x=new Array(b>1?b-1:0),k=1;k<b;k++)x[k-1]=arguments[k];r("error",y,x)}}function r(y,b,x){{var k=e.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(b+="%s",x=x.concat([C]));var $=x.map(function(j){return String(j)});$.unshift("Warning: "+b),Function.prototype.apply.call(console[y],console,$)}}function o(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=t.useState,s=t.useEffect,l=t.useLayoutEffect,u=t.useDebugValue,f=!1,c=!1;function p(y,b,x){f||t.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=b();if(!c){var C=b();i(k,C)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=a({inst:{value:k,getSnapshot:b}}),j=$[0].inst,O=$[1];return l(function(){j.value=k,j.getSnapshot=b,d(j)&&O({inst:j})},[y,k,b]),s(function(){d(j)&&O({inst:j});var N=function(){d(j)&&O({inst:j})};return y(N)},[y]),u(k),k}function d(y){var b=y.getSnapshot,x=y.value;try{var k=b();return!i(x,k)}catch{return!0}}function _(y,b,x){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w=!h,v=w?_:p,m=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;ho.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ho}process.env.NODE_ENV==="production"?fo.exports=kd():fo.exports=jd();var Sd=fo.exports;const ie=()=>{},ft=ie(),vo=Object,H=t=>t===ft,Pt=t=>typeof t=="function",ae=(t,e)=>({...t,...e}),Cd=t=>Pt(t.then),Xn=new WeakMap;let Ed=0;const _n=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,i;if(vo(t)===t&&!r&&n!=RegExp){if(o=Xn.get(t),o)return o;if(o=++Ed+"~",Xn.set(t,o),n==Array){for(o="@",i=0;i<t.length;i++)o+=_n(t[i])+",";Xn.set(t,o)}if(n==vo){o="#";const a=vo.keys(t).sort();for(;!H(i=a.pop());)H(t[i])||(o+=i+":"+_n(t[i])+",");Xn.set(t,o)}}else o=r?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Mt=new WeakMap,_o={},Zn={},go="undefined",Jn=typeof window!=go,wo=typeof document!=go,Od=()=>Jn&&typeof window.requestAnimationFrame!=go,fs=(t,e)=>{const n=Mt.get(t);return[()=>!H(e)&&t.get(e)||_o,r=>{if(!H(e)){const o=t.get(e);e in Zn||(Zn[e]=o),n[5](e,ae(o,r),o||_o)}},n[6],()=>!H(e)&&e in Zn?Zn[e]:!H(e)&&t.get(e)||_o]};let mo=!0;const Ad=()=>mo,[yo,bo]=Jn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ie,ie],Pd=()=>{const t=wo&&document.visibilityState;return H(t)||t!=="hidden"},Td=t=>(wo&&document.addEventListener("visibilitychange",t),yo("focus",t),()=>{wo&&document.removeEventListener("visibilitychange",t),bo("focus",t)}),Rd=t=>{const e=()=>{mo=!0,t()},n=()=>{mo=!1};return yo("online",e),yo("offline",n),()=>{bo("online",e),bo("offline",n)}},Dd={isOnline:Ad,isVisible:Pd},Nd={initFocus:Td,initReconnect:Rd},ps=!qn.useId,gn=!Jn||"Deno"in window,Ld=t=>Od()?window.requestAnimationFrame(t):setTimeout(t,1),xo=gn?Et:re,$o=typeof navigator<"u"&&navigator.connection,hs=!gn&&$o&&(["slow-2g","2g"].includes($o.effectiveType)||$o.saveData),ko=t=>{if(Pt(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?_n(t):"",[t,e]};let Md=0;const jo=()=>++Md,vs=0,_s=1,gs=2;var wn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:vs,MUTATE_EVENT:gs,RECONNECT_EVENT:_s};async function ws(...t){const[e,n,r,o]=t,i=ae({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let a=i.populateCache;const s=i.rollbackOnError;let l=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=i.throwOnError;if(Pt(n)){const p=n,d=[],_=e.keys();for(const h of _)!/^\$(inf|sub)\$/.test(h)&&p(e.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=ko(p);if(!d)return;const[_,h]=fs(e,d),[w,v,m,y]=Mt.get(e),b=()=>{const M=w[d];return(Pt(i.revalidate)?i.revalidate(_().data,p):i.revalidate!==!1)&&(delete m[d],delete y[d],M&&M[0])?M[0](gs).then(()=>_().data):_().data};if(t.length<3)return b();let x=r,k;const C=jo();v[d]=[C,0];const $=!H(l),j=_(),O=j.data,N=j._c,L=H(N)?O:N;if($&&(l=Pt(l)?l(L,O):l,h({data:l,_c:L})),Pt(x))try{x=x(L)}catch(M){k=M}if(x&&Cd(x))if(x=await x.catch(M=>{k=M}),C!==v[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(a=!0,h({data:L,_c:ft}));if(a&&!k)if(Pt(a)){const M=a(x,L);h({data:M,error:ft,_c:ft})}else h({data:x,error:ft,_c:ft});if(v[d][1]=jo(),Promise.resolve(b()).then(()=>{h({_c:ft})}),k){if(f)throw k;return}return x}}const ms=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},Fd=(t,e)=>{if(!Mt.has(t)){const n=ae(Nd,e),r={},o=ws.bind(ft,t);let i=ie;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{t.set(f,c);const d=a[f];if(d)for(const _ of d)_(c,p)},u=()=>{if(!Mt.has(t)&&(Mt.set(t,[r,{},{},{},o,l,s]),!gn)){const f=n.initFocus(setTimeout.bind(ft,ms.bind(ft,r,vs))),c=n.initReconnect(setTimeout.bind(ft,ms.bind(ft,r,_s)));i=()=>{f&&f(),c&&c(),Mt.delete(t)}}};return u(),[t,o,u,i]}return[t,Mt.get(t)[4]]},Id=(t,e,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},Hd=(t,e)=>_n(t)==_n(e),[ys,Vd]=Fd(new Map),Ud=ae({onLoadingSlow:ie,onSuccess:ie,onError:ie,onErrorRetry:Id,onDiscarded:ie,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:hs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:hs?5e3:3e3,compare:Hd,isPaused:()=>!1,cache:ys,mutate:Vd,fallback:{}},Dd),zd=(t,e)=>{const n=ae(t,e);if(e){const{use:r,fallback:o}=t,{use:i,fallback:a}=e;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=ae(o,a))}return n},Wd=Br({}),Bd="$inf$",bs=Jn&&window.__SWR_DEVTOOLS_USE__,Yd=bs?window.__SWR_DEVTOOLS_USE__:[],Kd=()=>{bs&&(window.__SWR_DEVTOOLS_REACT__=qn)},qd=t=>Pt(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Gd=()=>ae(Ud,zn(Wd)),Xd=t=>(e,n,r)=>t(e,n&&((...i)=>{const[a]=ko(e),[,,,s]=Mt.get(ys);if(a.startsWith(Bd))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),Zd=Yd.concat(Xd),Jd=t=>function(...n){const r=Gd(),[o,i,a]=qd(n),s=zd(r,a);let l=t;const{use:u}=s,f=(u||[]).concat(Zd);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},Qd=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Kd();const xs=qn.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)}),So={dedupe:!0},Co=Jd((t,e,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,_,h,w]=Mt.get(r),[v,m]=ko(t),y=vt(!1),b=vt(!1),x=vt(v),k=vt(e),C=vt(n),$=()=>C.current,j=()=>$().isVisible()&&$().isOnline(),[O,N,L,M]=fs(r,v),D=vt({}).current,F=H(a)?n.fallback[v]:a,R=(W,B)=>{for(const ot in D){const Y=ot;if(Y==="data"){if(!o(W[Y],B[Y])&&(!H(W[Y])||!o(Gt,B[Y])))return!1}else if(B[Y]!==W[Y])return!1}return!0},T=oe(()=>{const W=(()=>!v||!e?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),B=st=>{const Ot=ae(st);return delete Ot._k,W?{isValidating:!0,isLoading:!0,...Ot}:Ot},ot=O(),Y=M(),mt=B(ot),pe=ot===Y?mt:B(Y);let et=mt;return[()=>{const st=B(O());return R(st,et)?(et.data=st.data,et.isLoading=st.isLoading,et.isValidating=st.isValidating,et.error=st.error,et):(et=st,st)},()=>pe]},[r,v]),tt=Sd.useSyncExternalStore(be(W=>L(v,(B,ot)=>{R(ot,B)||W()}),[r,v]),T[0],T[1]),ct=!y.current,pt=d[v]&&d[v].length>0,ut=tt.data,wt=H(ut)?F:ut,Pe=tt.error,Dr=vt(wt),Gt=p?H(ut)?Dr.current:ut:wt,Xt=(()=>pt&&!H(Pe)?!1:ct&&!H(s)?s:$().isPaused()?!1:i?H(wt)?!1:l:H(wt)||l)(),Rn=!!(v&&e&&ct&&Xt),Ti=H(tt.isValidating)?Rn:tt.isValidating,an=H(tt.isLoading)?Rn:tt.isLoading,Te=be(async W=>{const B=k.current;if(!v||!B||b.current||$().isPaused())return!1;let ot,Y,mt=!0;const pe=W||{},et=!h[v]||!pe.dedupe,st=()=>ps?!b.current&&v===x.current&&y.current:v===x.current,Ot={isValidating:!1,isLoading:!1},Re=()=>{N(Ot)},_u=()=>{const jt=h[v];jt&&jt[1]===Y&&delete h[v]},gu={isValidating:!0};H(O().data)&&(gu.isLoading=!0);try{if(et&&(N(gu),n.loadingTimeout&&H(O().data)&&setTimeout(()=>{mt&&st()&&$().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[B(m),jo()]),[ot,Y]=h[v],ot=await ot,et&&setTimeout(_u,n.dedupingInterval),!h[v]||h[v][1]!==Y)return et&&st()&&$().onDiscarded(v),!1;Ot.error=ft;const jt=_[v];if(!H(jt)&&(Y<=jt[0]||Y<=jt[1]||jt[1]===0))return Re(),et&&st()&&$().onDiscarded(v),!1;const Zt=O().data;Ot.data=o(Zt,ot)?Zt:ot,et&&st()&&$().onSuccess(ot,v,n)}catch(jt){_u();const Zt=$(),{shouldRetryOnError:Ri}=Zt;Zt.isPaused()||(Ot.error=jt,et&&st()&&(Zt.onError(jt,v,Zt),(Ri===!0||Pt(Ri)&&Ri(jt))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||j())&&Zt.onErrorRetry(jt,v,Zt,im=>{const Di=d[v];Di&&Di[0]&&Di[0](wn.ERROR_REVALIDATE_EVENT,im)},{retryCount:(pe.retryCount||0)+1,dedupe:!0})))}return mt=!1,Re(),!0},[v,r]),Nr=be((...W)=>ws(r,x.current,...W),[]);if(xo(()=>{k.current=e,C.current=n,H(ut)||(Dr.current=ut)}),xo(()=>{if(!v)return;const W=Te.bind(ft,So);let B=0;const Y=Qd(v,d,(mt,pe={})=>{if(mt==wn.FOCUS_EVENT){const et=Date.now();$().revalidateOnFocus&&et>B&&j()&&(B=et+$().focusThrottleInterval,W())}else if(mt==wn.RECONNECT_EVENT)$().revalidateOnReconnect&&j()&&W();else{if(mt==wn.MUTATE_EVENT)return Te();if(mt==wn.ERROR_REVALIDATE_EVENT)return Te(pe)}});return b.current=!1,x.current=v,y.current=!0,N({_k:m}),Xt&&(H(wt)||gn?W():Ld(W)),()=>{b.current=!0,Y()}},[v]),xo(()=>{let W;function B(){const Y=Pt(u)?u(O().data):u;Y&&W!==-1&&(W=setTimeout(ot,Y))}function ot(){!O().error&&(f||$().isVisible())&&(c||$().isOnline())?Te(So).then(B):B()}return B(),()=>{W&&(clearTimeout(W),W=-1)}},[u,f,c,v]),Wn(Gt),i&&H(wt)&&v){if(!ps&&gn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=e,C.current=n,b.current=!1;const W=w[v];if(!H(W)){const B=Nr(W);xs(B)}if(H(Pe)){const B=Te(So);H(Gt)||(B.status="fulfilled",B.value=!0),xs(B)}else throw Pe}return{mutate:Nr,get data(){return D.data=!0,Gt},get error(){return D.error=!0,Pe},get isValidating(){return D.isValidating=!0,Ti},get isLoading(){return D.isLoading=!0,an}}}),Ft=St({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),tf=({query:t,property:e,selectedValues:n})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return dt(i),g("span",{class:Ft({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return g("span",{class:Ft({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ht(t)}},ef=44,nf=6,rf=12,of=8,af=St({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"}}}),sf=St({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),cf=St({base:"max-w-full origin-top group ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),lf=St({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]:rounded-t-tag group-[&:last-child]:rounded-b-tag ease-expo-out transition-all duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},defaultVariants:{disabled:!1,active:!1}}),uf=St({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),df=({children:t,colorScheme:e})=>g("span",{class:uf({colorScheme:e}),children:g("span",{class:"block w-[2.5ch] text-center tabular-nums",children:t})}),ff=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},$s=t=>{var n;const e=Number((n=t.match(/\d/g))==null?void 0:n.join(""));return isNaN(e)?0:e},pf=(t,e={by:"results-count",order:"descending"})=>{switch(e.by){case"results-count":t.sort((n,r)=>r.jobs-n.jobs);break;case"alphabetically":t.sort((n,r)=>n.label.localeCompare(r.label));break;case"numerically":t.sort((n,r)=>{const o=$s(n.value),i=$s(r.value);return o-i});break}return e.order==="descending"&&t.reverse(),t},hf=(t,e)=>{if(t===null)return!1;const n=t[e.value];return n===void 0?!0:n===0},vf=(t,e)=>{const n=r=>r>99?"99+":r.toString();return n(t===null?e.jobs:t[e.value]??0)},_f=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const s=Gr(r()),l=oe(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const d=s.data[e.key]??[];return Object.fromEntries(d.map(_=>[_.value,_.jobs]))}default:ht(s)}},[s,e.key]),u=js(t),f=u.length>0,[c,p]=Ct();return Et(()=>{a()}),s.state==="error"?g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):g("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&g("div",{class:"top-0 px-4 py-1",children:g("input",{type:"text",class:af({hasValue:f}),value:c,onInput:d=>p(d.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(i.state){case"error":return g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return g("div",{class:"flex px-4",children:g("div",{"aria-hidden":!0,class:Ft({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:g("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const d=pf(i.data[e.key]??[],e.sortSuggestions),_=c&&c.length>1?d.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):d,h=[];for(const m of _){if(m.label.length<1)continue;const y={...m,results:vf(l,m),disabled:hf(l,m)};switch(e.results){case"only-available":y.disabled==!1&&h.push(y);break;default:h.push(y)}}if(!h.find(m=>!m.disabled))return g("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const v=h.length>rf||h.some(m=>m.label.length>24);return g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{"--maxHeight":ef*(nf+.5)+2*of+"px"},class:sf({type:v?"long":"short"}),children:h.map(m=>{const y=u.includes(m.value);return g("li",{class:cf({type:v?"line":"pill"}),children:g("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":y?"true":void 0,onClick:()=>{switch(t.select){case"many":{const b=ff(u,m.value);o({select:"many",value:b});break}case"one":o({select:"one",value:m.value});break;default:ht(t)}},class:v?lf({active:y}):Ft({size:"lg",variant:y?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[g("span",{class:"max-w-full truncate",children:m.label})," ",g(df,{colorScheme:y?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ht(i)}})(),g("footer",{class:"flex justify-end p-2",children:[g("div",{class:"flex-1",children:f&&g("button",{class:Vn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[g(me,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&g("div",{class:"flex items-center overflow-hidden",children:g("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),g("div",{class:"flex-1",children:g("button",{class:Vn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",g(me,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ks={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},gf=St({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"}}}),wf=St({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"}}}),mf=St({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),yf=t=>{const e=vt(null),[n,r]=Ct(0),o=()=>{var i;return r(((i=e.current)==null?void 0:i.clientHeight)??0)};return re(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:n,ref:e,updateHeight:o}},js=t=>typeof t.value=="string"?[t.value]:t.value??[],bf=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=he(r.key,ks)?ks[r.key]:void 0,u=r.icon??l??"filter",f=js(e),{height:c,ref:p,updateHeight:d}=yf([t]),_=f.length>0;return g("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:gf({hasValue:_}),onTouchStart:jf,children:[g("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[g("button",{"aria-label":t?"Close filter":"Open filter",class:wf({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:()=>n(!t),children:[g(me,{"aria-hidden":!0,class:"flex-none",name:u}),g("p",{children:r.label})]}),g("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:g("div",{class:"w-full",ref:p,children:t&&g(_f,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:e})})})]}),!t&&g("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[g("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:g(tf,{property:r,query:a,selectedValues:f})}),g(me,{"aria-hidden":!0,class:mf(),name:"chevron-right"})]})]})},xf=t=>{const e=vt();return Et(()=>{e.current=t},[t]),e.current},$f=(t,e)=>{var o;const n=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(dt(r instanceof HTMLButtonElement,"option must be button"),r.focus())},kf=(t,e)=>{const n=xf(t);Et(()=>{if(n===t)return;const r=t??n;r&&$f(r,e)},[t,n,e])};function jf(){}const Sf=({property:t,value:e,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:e,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===t.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[t.key])==null?void 0:s.value)==e.value?{newValue:void 0,newActiveKey:c}:{newValue:e,newActiveKey:c}}default:ht(e)}},Cf=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:i})=>{var c;const[a,s]=Ct((c=t[0])==null?void 0:c.key);kf(a,e);const l=oe(()=>No(t.map(({value:p,...d})=>d)),[t]),u=Gr(Co(Yn({filter:l,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:l}),Xr)),f=be(p=>()=>{const d={...n,[p]:l[p]};return Co(Yn({filter:d,baseKey:"filters"}),()=>ga({apiClient:o,logger:i,filters:d}),Xr)},[o,n,l,i]);return u.state==="error"?g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):g("aside",{children:g("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,_=n[p.key]??{select:p.select,value:void 0},h=m=>{const{newActiveKey:y,newValue:b}=Sf({property:p,activeKey:a,value:m,properties:t,appliedFilters:n});return s(y),r(p.key,b)},w=m=>s(m?p.key:void 0),v=f(p.key);return g(pn,{Fallback:ne,children:g(bf,{unfilteredQuery:u,active:d,property:p,onActiveChange:w,value:_,onSkip:()=>{var b;const m=t.findIndex(x=>x.key===a),y=m!==-1?(b=t[m+1])==null?void 0:b.key:void 0;s(y)},useQuery:v,onValueChange:h})},p.key)})})})};var Ef=Array.isArray,Eo=Ef,Of=typeof Gn=="object"&&Gn&&Gn.Object===Object&&Gn,Af=Of,Pf=Af,Tf=typeof self=="object"&&self&&self.Object===Object&&self,Rf=Pf||Tf||Function("return this")(),Oo=Rf,Df=Oo,Nf=Df.Symbol,Ao=Nf,Ss=Ao,Cs=Object.prototype,Lf=Cs.hasOwnProperty,Mf=Cs.toString,mn=Ss?Ss.toStringTag:void 0;function Ff(t){var e=Lf.call(t,mn),n=t[mn];try{t[mn]=void 0;var r=!0}catch{}var o=Mf.call(t);return r&&(e?t[mn]=n:delete t[mn]),o}var If=Ff,Hf=Object.prototype,Vf=Hf.toString;function Uf(t){return Vf.call(t)}var zf=Uf,Es=Ao,Wf=If,Bf=zf,Yf="[object Null]",Kf="[object Undefined]",Os=Es?Es.toStringTag:void 0;function qf(t){return t==null?t===void 0?Kf:Yf:Os&&Os in Object(t)?Wf(t):Bf(t)}var As=qf;function Gf(t){return t!=null&&typeof t=="object"}var Xf=Gf,Zf=As,Jf=Xf,Qf="[object Symbol]";function tp(t){return typeof t=="symbol"||Jf(t)&&Zf(t)==Qf}var Po=tp,ep=Eo,np=Po,rp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,op=/^\w*$/;function ip(t,e){if(ep(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||np(t)?!0:op.test(t)||!rp.test(t)||e!=null&&t in Object(e)}var ap=ip;function sp(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ps=sp,cp=As,lp=Ps,up="[object AsyncFunction]",dp="[object Function]",fp="[object GeneratorFunction]",pp="[object Proxy]";function hp(t){if(!lp(t))return!1;var e=cp(t);return e==dp||e==fp||e==up||e==pp}var vp=hp,_p=Oo,gp=_p["__core-js_shared__"],wp=gp,To=wp,Ts=function(){var t=/[^.]+$/.exec(To&&To.keys&&To.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function mp(t){return!!Ts&&Ts in t}var yp=mp,bp=Function.prototype,xp=bp.toString;function $p(t){if(t!=null){try{return xp.call(t)}catch{}try{return t+""}catch{}}return""}var kp=$p,jp=vp,Sp=yp,Cp=Ps,Ep=kp,Op=/[\\^$.*+?()[\]{}|]/g,Ap=/^\[object .+?Constructor\]$/,Pp=Function.prototype,Tp=Object.prototype,Rp=Pp.toString,Dp=Tp.hasOwnProperty,Np=RegExp("^"+Rp.call(Dp).replace(Op,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Lp(t){if(!Cp(t)||Sp(t))return!1;var e=jp(t)?Np:Ap;return e.test(Ep(t))}var Mp=Lp;function Fp(t,e){return t==null?void 0:t[e]}var Ip=Fp,Hp=Mp,Vp=Ip;function Up(t,e){var n=Vp(t,e);return Hp(n)?n:void 0}var Rs=Up,zp=Rs,Wp=zp(Object,"create"),Qn=Wp,Ds=Qn;function Bp(){this.__data__=Ds?Ds(null):{},this.size=0}var Yp=Bp;function Kp(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var qp=Kp,Gp=Qn,Xp="__lodash_hash_undefined__",Zp=Object.prototype,Jp=Zp.hasOwnProperty;function Qp(t){var e=this.__data__;if(Gp){var n=e[t];return n===Xp?void 0:n}return Jp.call(e,t)?e[t]:void 0}var th=Qp,eh=Qn,nh=Object.prototype,rh=nh.hasOwnProperty;function oh(t){var e=this.__data__;return eh?e[t]!==void 0:rh.call(e,t)}var ih=oh,ah=Qn,sh="__lodash_hash_undefined__";function ch(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ah&&e===void 0?sh:e,this}var lh=ch,uh=Yp,dh=qp,fh=th,ph=ih,hh=lh;function Fe(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Fe.prototype.clear=uh,Fe.prototype.delete=dh,Fe.prototype.get=fh,Fe.prototype.has=ph,Fe.prototype.set=hh;var vh=Fe;function _h(){this.__data__=[],this.size=0}var gh=_h;function wh(t,e){return t===e||t!==t&&e!==e}var mh=wh,yh=mh;function bh(t,e){for(var n=t.length;n--;)if(yh(t[n][0],e))return n;return-1}var tr=bh,xh=tr,$h=Array.prototype,kh=$h.splice;function jh(t){var e=this.__data__,n=xh(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():kh.call(e,n,1),--this.size,!0}var Sh=jh,Ch=tr;function Eh(t){var e=this.__data__,n=Ch(e,t);return n<0?void 0:e[n][1]}var Oh=Eh,Ah=tr;function Ph(t){return Ah(this.__data__,t)>-1}var Th=Ph,Rh=tr;function Dh(t,e){var n=this.__data__,r=Rh(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Nh=Dh,Lh=gh,Mh=Sh,Fh=Oh,Ih=Th,Hh=Nh;function Ie(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ie.prototype.clear=Lh,Ie.prototype.delete=Mh,Ie.prototype.get=Fh,Ie.prototype.has=Ih,Ie.prototype.set=Hh;var Vh=Ie,Uh=Rs,zh=Oo,Wh=Uh(zh,"Map"),Bh=Wh,Ns=vh,Yh=Vh,Kh=Bh;function qh(){this.size=0,this.__data__={hash:new Ns,map:new(Kh||Yh),string:new Ns}}var Gh=qh;function Xh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Zh=Xh,Jh=Zh;function Qh(t,e){var n=t.__data__;return Jh(e)?n[typeof e=="string"?"string":"hash"]:n.map}var er=Qh,tv=er;function ev(t){var e=tv(this,t).delete(t);return this.size-=e?1:0,e}var nv=ev,rv=er;function ov(t){return rv(this,t).get(t)}var iv=ov,av=er;function sv(t){return av(this,t).has(t)}var cv=sv,lv=er;function uv(t,e){var n=lv(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var dv=uv,fv=Gh,pv=nv,hv=iv,vv=cv,_v=dv;function He(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}He.prototype.clear=fv,He.prototype.delete=pv,He.prototype.get=hv,He.prototype.has=vv,He.prototype.set=_v;var gv=He,Ls=gv,wv="Expected a function";function Ro(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(wv);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=t.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Ro.Cache||Ls),n}Ro.Cache=Ls;var mv=Ro,yv=mv,bv=500;function xv(t){var e=yv(t,function(r){return n.size===bv&&n.clear(),r}),n=e.cache;return e}var $v=xv,kv=$v,jv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sv=/\\(\\)?/g,Cv=kv(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(jv,function(n,r,o,i){e.push(o?i.replace(Sv,"$1"):r||n)}),e}),Ev=Cv;function Ov(t,e){for(var n=-1,r=t==null?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var Av=Ov,Ms=Ao,Pv=Av,Tv=Eo,Rv=Po,Dv=1/0,Fs=Ms?Ms.prototype:void 0,Is=Fs?Fs.toString:void 0;function Hs(t){if(typeof t=="string")return t;if(Tv(t))return Pv(t,Hs)+"";if(Rv(t))return Is?Is.call(t):"";var e=t+"";return e=="0"&&1/t==-Dv?"-0":e}var Nv=Hs,Lv=Nv;function Mv(t){return t==null?"":Lv(t)}var Fv=Mv,Iv=Eo,Hv=ap,Vv=Ev,Uv=Fv;function zv(t,e){return Iv(t)?t:Hv(t,e)?[t]:Vv(Uv(t))}var Wv=zv,Bv=Po,Yv=1/0;function Kv(t){if(typeof t=="string"||Bv(t))return t;var e=t+"";return e=="0"&&1/t==-Yv?"-0":e}var qv=Kv,Gv=Wv,Xv=qv;function Zv(t,e){e=Gv(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Xv(e[n++])];return n&&n==r?t:void 0}var Jv=Zv,Qv=Jv;function t_(t,e,n){var r=t==null?void 0:Qv(t,e);return r===void 0?n:r}var e_=t_;const n_=xd(e_),nr=({chars:t})=>g("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Vs=St({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}}),Do=({job:t,property:e})=>{if(!e)return null;const n=n_(t.raw,e.key);return e.transform?e.transform(n):n},r_=({job:t,config:e="hidden"})=>e==="hidden"?null:g("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:e.replace(":","/")},children:t.company.logo?g("img",{src:t.company.logo,alt:t.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Us=t=>Array.isArray(t)?t:[t],o_=1e3*60*60*24*7,i_=({job:t,config:e})=>{var u,f;const n=e.subheading?Do({job:t,property:e.subheading}):null,r=e.infoTags.flatMap(c=>Us(Do({job:t,property:c}))).filter(Boolean),o=Us((u=e.overrides)!=null&&u.salary?Do({job:t,property:e.overrides.salary}):t.pay).filter(Boolean),i=e.postedDate??"show",a=(f=e.overrides)!=null&&f.baseUrl?e.overrides.baseUrl(t.id.toString()):t.href,s=e.newUnderDays??7,l=t.createdAt?new Date(t.createdAt).getTime()>Date.now()-s*o_:!1;return g("a",{href:a,target:e.openJob==="redirect-new-tab"?"_blank":void 0,class:Vs(),children:[g("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[g("div",{class:"gap-logo flex items-center",children:[g(r_,{job:t,config:e.logo}),g("div",{class:"flex flex-col items-start gap-1",children:[g("div",{class:"order-2 flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[t.title.trim(),l&&i!=="hide"&&g(I,{children:[" ",g("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),i==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]}):null]})]}),g("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[g("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((c,p)=>g("span",{class:Ft({variant:"monetaryWeak",size:"xs"}),children:c},p))}),r.length>0&&g("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(c=>g("li",{class:Ft({size:"xs",class:"max-w-full truncate"}),children:c},c))})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(me,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},zs=({config:t,animationDelay:e,seed:n})=>{const r=t.logo??"hidden",o=t.postedDate??"show";return g("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:Vs({interactive:!1}),children:[g("div",{class:"flex flex-1 flex-col gap-4",children:[g("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:g("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),g("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info",children:g(nr,{chars:12})}):null,g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:g(nr,{chars:13+(n+5)*n%7})}),t.subheading!==null?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:g(nr,{chars:7+n*n%3})}):null]})]})]}),g("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&g("span",{class:Ft({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),g("div",{class:"flex items-center gap-2",children:[g("span",{class:Ft({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),g("span",{class:Ft({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(me,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},a_=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Hn}).map((r,o)=>g("li",{children:g(zs,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):g("button",{class:Vn({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),s_=({pagination:t})=>(dt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),c_=({appliedFilters:t,apiClient:e,logger:n,jobCardConfig:r,initialData:o})=>{const[i,a]=Ct(1);return g(I,{children:Array.from({length:i}).map((s,l)=>{const u=l===i-1;return g(pn,{Fallback:ne,children:g(l_,{appliedFilters:t,apiClient:e,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>a(i+1),jobCardConfig:r,initialData:o},l)},l)})})},l_=({appliedFilters:t,apiClient:e,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{data:f,error:c,state:p,swr:d}=Gr(Co(Yn({filter:t,baseKey:r.toString()}),()=>wa({apiClient:e,logger:n,filters:t,page:r}),{...Xr,fallbackData:u}));switch(p){case"loading":return g(I,{children:[o&&g("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:g(nr,{chars:8})}),g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Hn}).map((_,h)=>g("li",{children:g(zs,{seed:h,animationDelay:(h-Hn)*.1,config:s})},h))})]});case"error":return g(ne,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(dt(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return g("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[g(me,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),g("div",{class:"flex flex-col items-center gap-1",children:[g("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),g("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=f.pagination.last_page!==f.pagination.current_page;return g(I,{children:[o&&g("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:s_({pagination:f.pagination})}),g("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>g("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:g(i_,{job:h,config:s})},h.id))}),_&&i&&g(a_,{state:p,fetchNextPage:a,config:s})]})}default:ht(p)}},No=t=>t.reduce((e,n)=>{var r;switch(n.select){case"one":{const o=typeof n.value=="string"?n.value:(r=n.value)==null?void 0:r[0];e[n.key]={select:n.select,value:o};break}case"many":{const o=typeof n.value=="string"?[n.value]:Array.isArray(n.value)?n.value:[];e[n.key]={select:n.select,value:o};break}default:ht(n.select)}return e},{}),u_=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,params:s})=>{const l=vt(null),[u,f]=Ct(()=>({default:!0,filters:No(n)}));return g("div",{ref:l,class:r,id:ha,children:g("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:[g(pn,{Fallback:ne,children:g("div",{class:"flex flex-col gap-2",children:[g(Cf,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(a==null||a({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:l,logger:e,apiClient:t}),s.enableJobAlerts&&g("div",{class:"flex justify-center px-4 md:px-0",children:g(ad,{appliedFilters:u.filters,analytics:o,apiClient:t,logger:e,theme:s.theme})})]})}),g("div",{class:"md:col-span-2",children:g("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:g(pn,{Fallback:ne,children:g(c_,{appliedFilters:u.filters,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:u.default?i==null?void 0:i.jobs:void 0},Yn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},d_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[2\\.5ch\\]{width:2.5ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group:first-child .group-\\[\\&\\:first-child\\]\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group:last-child .group-\\[\\&\\:last-child\\]\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
18
- `;var f_=["1","2","3","4","5","6","7","8","9","10","11","12"],p_={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]}},h_=(t,e=1,n)=>r=>{const[o,i]=p_[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},Lo=t=>{const e=h_(t.hue,t.chroma,t.mode);return Object.fromEntries(f_.map(n=>[t.prefix+n,t.transform(e(n))]))},Mo=t=>t,v_=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(e)},rr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Fo=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(rr(t)&&rr(n))for(const r in n){const o=n[r];if(rr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];rr(i)&&Fo(i,o)}else Object.assign(t,{[r]:n[r]})}return Fo(t,...e)},__=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},g_=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=v_(Fo(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const xt=t=>{const e=[],n=r=>({with:(o,i)=>(e.push({pattern:o,fn:i}),n(r)),otherwise:o=>{t:for(const{fn:i,pattern:a}of e){for(const s in a)if(a[s]!==r[s])continue t;return i(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(t)},[Io,Ho,It]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],w_=g_().core(({theme:t})=>({color:{black:Io,white:Ho,lowest:t.mode==="light"?Ho:Io,highest:t.mode==="light"?Io:Ho,...Lo({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:Mo}),...Lo({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:Mo}),...Lo({prefix:"m-",hue:140,chroma:t.accent.chroma,mode:t.mode,transform:Mo})}})).semantic(({core:t,theme:e,raw:n})=>{var s,l,u,f,c,p,d,_,h,w,v,m,y,b,x,k,C,$,j,O,N;const r=(L,M)=>n.core.color[L].replace(")",` / ${M})`),{typography:o,highlights:i}=e,a=((s=e.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(e.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=e.typography.jobHeading)==null?void 0:u.fontFamily)??e.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((_=(d=o.filter)==null?void 0:d.weight)==null?void 0:_.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((w=o.tag)==null?void 0:w.style)??o.style??"inherit","style-job-heading":((v=o.jobHeading)==null?void 0:v.style)??o.style??"inherit","weight-tag":((y=(m=o.tag)==null?void 0:m.weight)==null?void 0:y.toString())??((b=o.weight)==null?void 0:b.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((O=(j=o.input)==null?void 0:j.weight)==null?void 0:O.toString())??((N=o.weight)==null?void 0:N.toString())??"inherit","app-bg":t("color.lowest"),copy:t(a?"color.highest":"color.n-12"),"copy-lowcontrast":t("color.n-11"),"copy-info":t(a?"color.n-11":"color.n-10"),"copy-icon":t(a?"color.n-12":"color.n-11"),"copy-accent":t(a?"color.highest":"color.a-12"),"copy-accent-lowcontrast":t(a?"color.a-12":"color.a-11"),"copy-accent-icon":t(a?"color.a-12":"color.a-11"),"copy-inverted":t("color.lowest"),"copy-inverted-lowcontrast":t("color.n-4"),"copy-inverted-icon":t("color.n-3"),"tag-neutral-weak-bg":i==="fill"?t("color.n-2"):It,"tag-neutral-weak-copy":t("color.n-12"),"tag-neutral-weak-stroke-color":t(i==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":i==="fill"?t("color.n-12"):It,"tag-neutral-strong-copy":t(i==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":r(a?"n-12":"n-4",i==="stroke"?1:0),"tag-monetary-weak-bg":t("color.m-3"),"tag-monetary-weak-copy":t("color.m-11"),"tag-monetary-weak-stroke-color":t("color.m-4"),"tag-accent-strong-bg":e.mode==="dark"?t("color.a-9"):t("color.a-11"),"tag-accent-strong-copy":t("color.white"),"tag-accent-strong-stroke-color":It,"radius-app":xt(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":xt(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":xt(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":xt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":xt(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":xt(e).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":xt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(a?"n-5":"n-4",.01),"interactive-neutral-bg-hover":t(a?"color.n-5":"color.n-4"),"interactive-neutral-text":t("color.n-12"),"interactive-accent-bg":r(i==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":t(i==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":t("color.a-11"),"radius-interactive":xt(e).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":i==="fill"?t("color.n-2"):It,"section-strong-bg":i==="fill"?t(a?"color.n-3":"color.n-2"):It,"section-weak-stroke-color":i==="fill"?It:t(a?"color.n-7":"color.n-3"),"section-strong-stroke-color":i==="fill"?It:t(a?"color.n-11":"color.n-4"),"section-stroke-width":xt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":xt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>It),"job-card-bg-active":xt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>It),"job-card-stroke-color":t(a?"color.n-10":"color.n-4"),"job-card-stroke-color-active":t("color.a-9"),"job-card-stroke-width":xt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),m_=__({prefix:"i-"}),y_=t=>{const e=w_.from({theme:t,getToken:m_}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ha} {
17
+ */var ds;function jd(){return ds||(ds=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=ls,e=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(y){{for(var b=arguments.length,x=new Array(b>1?b-1:0),k=1;k<b;k++)x[k-1]=arguments[k];r("error",y,x)}}function r(y,b,x){{var k=e.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(b+="%s",x=x.concat([C]));var $=x.map(function(j){return String(j)});$.unshift("Warning: "+b),Function.prototype.apply.call(console[y],console,$)}}function o(y,b){return y===b&&(y!==0||1/y===1/b)||y!==y&&b!==b}var a=typeof Object.is=="function"?Object.is:o,i=t.useState,s=t.useEffect,l=t.useLayoutEffect,u=t.useDebugValue,f=!1,c=!1;function p(y,b,x){f||t.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=b();if(!c){var C=b();a(k,C)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var $=i({inst:{value:k,getSnapshot:b}}),j=$[0].inst,O=$[1];return l(function(){j.value=k,j.getSnapshot=b,d(j)&&O({inst:j})},[y,k,b]),s(function(){d(j)&&O({inst:j});var N=function(){d(j)&&O({inst:j})};return y(N)},[y]),u(k),k}function d(y){var b=y.getSnapshot,x=y.value;try{var k=b();return!a(x,k)}catch{return!0}}function _(y,b,x){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w=!h,v=w?_:p,m=t.useSyncExternalStore!==void 0?t.useSyncExternalStore:v;ho.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ho}process.env.NODE_ENV==="production"?fo.exports=kd():fo.exports=jd();var Sd=fo.exports;const ae=()=>{},ft=ae(),vo=Object,H=t=>t===ft,Pt=t=>typeof t=="function",ie=(t,e)=>({...t,...e}),Cd=t=>Pt(t.then),Xn=new WeakMap;let Ed=0;const _n=t=>{const e=typeof t,n=t&&t.constructor,r=n==Date;let o,a;if(vo(t)===t&&!r&&n!=RegExp){if(o=Xn.get(t),o)return o;if(o=++Ed+"~",Xn.set(t,o),n==Array){for(o="@",a=0;a<t.length;a++)o+=_n(t[a])+",";Xn.set(t,o)}if(n==vo){o="#";const i=vo.keys(t).sort();for(;!H(a=i.pop());)H(t[a])||(o+=a+":"+_n(t[a])+",");Xn.set(t,o)}}else o=r?t.toJSON():e=="symbol"?t.toString():e=="string"?JSON.stringify(t):""+t;return o},Mt=new WeakMap,_o={},Zn={},go="undefined",Jn=typeof window!=go,wo=typeof document!=go,Od=()=>Jn&&typeof window.requestAnimationFrame!=go,fs=(t,e)=>{const n=Mt.get(t);return[()=>!H(e)&&t.get(e)||_o,r=>{if(!H(e)){const o=t.get(e);e in Zn||(Zn[e]=o),n[5](e,ie(o,r),o||_o)}},n[6],()=>!H(e)&&e in Zn?Zn[e]:!H(e)&&t.get(e)||_o]};let mo=!0;const Ad=()=>mo,[yo,bo]=Jn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[ae,ae],Pd=()=>{const t=wo&&document.visibilityState;return H(t)||t!=="hidden"},Td=t=>(wo&&document.addEventListener("visibilitychange",t),yo("focus",t),()=>{wo&&document.removeEventListener("visibilitychange",t),bo("focus",t)}),Rd=t=>{const e=()=>{mo=!0,t()},n=()=>{mo=!1};return yo("online",e),yo("offline",n),()=>{bo("online",e),bo("offline",n)}},Dd={isOnline:Ad,isVisible:Pd},Nd={initFocus:Td,initReconnect:Rd},ps=!qn.useId,gn=!Jn||"Deno"in window,Ld=t=>Od()?window.requestAnimationFrame(t):setTimeout(t,1),xo=gn?Et:re,$o=typeof navigator<"u"&&navigator.connection,hs=!gn&&$o&&(["slow-2g","2g"].includes($o.effectiveType)||$o.saveData),ko=t=>{if(Pt(t))try{t=t()}catch{t=""}const e=t;return t=typeof t=="string"?t:(Array.isArray(t)?t.length:t)?_n(t):"",[t,e]};let Md=0;const jo=()=>++Md,vs=0,_s=1,gs=2;var wn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:vs,MUTATE_EVENT:gs,RECONNECT_EVENT:_s};async function ws(...t){const[e,n,r,o]=t,a=ie({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let i=a.populateCache;const s=a.rollbackOnError;let l=a.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,f=a.throwOnError;if(Pt(n)){const p=n,d=[],_=e.keys();for(const h of _)!/^\$(inf|sub)\$/.test(h)&&p(e.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=ko(p);if(!d)return;const[_,h]=fs(e,d),[w,v,m,y]=Mt.get(e),b=()=>{const M=w[d];return(Pt(a.revalidate)?a.revalidate(_().data,p):a.revalidate!==!1)&&(delete m[d],delete y[d],M&&M[0])?M[0](gs).then(()=>_().data):_().data};if(t.length<3)return b();let x=r,k;const C=jo();v[d]=[C,0];const $=!H(l),j=_(),O=j.data,N=j._c,L=H(N)?O:N;if($&&(l=Pt(l)?l(L,O):l,h({data:l,_c:L})),Pt(x))try{x=x(L)}catch(M){k=M}if(x&&Cd(x))if(x=await x.catch(M=>{k=M}),C!==v[d][0]){if(k)throw k;return x}else k&&$&&u(k)&&(i=!0,h({data:L,_c:ft}));if(i&&!k)if(Pt(i)){const M=i(x,L);h({data:M,error:ft,_c:ft})}else h({data:x,error:ft,_c:ft});if(v[d][1]=jo(),Promise.resolve(b()).then(()=>{h({_c:ft})}),k){if(f)throw k;return}return x}}const ms=(t,e)=>{for(const n in t)t[n][0]&&t[n][0](e)},Fd=(t,e)=>{if(!Mt.has(t)){const n=ie(Nd,e),r={},o=ws.bind(ft,t);let a=ae;const i={},s=(f,c)=>{const p=i[f]||[];return i[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{t.set(f,c);const d=i[f];if(d)for(const _ of d)_(c,p)},u=()=>{if(!Mt.has(t)&&(Mt.set(t,[r,{},{},{},o,l,s]),!gn)){const f=n.initFocus(setTimeout.bind(ft,ms.bind(ft,r,vs))),c=n.initReconnect(setTimeout.bind(ft,ms.bind(ft,r,_s)));a=()=>{f&&f(),c&&c(),Mt.delete(t)}}};return u(),[t,o,u,a]}return[t,Mt.get(t)[4]]},Id=(t,e,n,r,o)=>{const a=n.errorRetryCount,i=o.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*n.errorRetryInterval;!H(a)&&i>a||setTimeout(r,s,o)},Hd=(t,e)=>_n(t)==_n(e),[ys,Vd]=Fd(new Map),Ud=ie({onLoadingSlow:ae,onSuccess:ae,onError:ae,onErrorRetry:Id,onDiscarded:ae,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:hs?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:hs?5e3:3e3,compare:Hd,isPaused:()=>!1,cache:ys,mutate:Vd,fallback:{}},Dd),zd=(t,e)=>{const n=ie(t,e);if(e){const{use:r,fallback:o}=t,{use:a,fallback:i}=e;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=ie(o,i))}return n},Wd=Br({}),Bd="$inf$",bs=Jn&&window.__SWR_DEVTOOLS_USE__,Yd=bs?window.__SWR_DEVTOOLS_USE__:[],Kd=()=>{bs&&(window.__SWR_DEVTOOLS_REACT__=qn)},qd=t=>Pt(t[1])?[t[0],t[1],t[2]||{}]:[t[0],null,(t[1]===null?t[2]:t[1])||{}],Gd=()=>ie(Ud,zn(Wd)),Xd=t=>(e,n,r)=>t(e,n&&((...a)=>{const[i]=ko(e),[,,,s]=Mt.get(ys);if(i.startsWith(Bd))return n(...a);const l=s[i];return H(l)?n(...a):(delete s[i],l)}),r),Zd=Yd.concat(Xd),Jd=t=>function(...n){const r=Gd(),[o,a,i]=qd(n),s=zd(r,i);let l=t;const{use:u}=s,f=(u||[]).concat(Zd);for(let c=f.length;c--;)l=f[c](l);return l(o,a||s.fetcher||null,s)},Qd=(t,e,n)=>{const r=e[t]||(e[t]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Kd();const xs=qn.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)}),So={dedupe:!0},Co=Jd((t,e,n)=>{const{cache:r,compare:o,suspense:a,fallbackData:i,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,_,h,w]=Mt.get(r),[v,m]=ko(t),y=vt(!1),b=vt(!1),x=vt(v),k=vt(e),C=vt(n),$=()=>C.current,j=()=>$().isVisible()&&$().isOnline(),[O,N,L,M]=fs(r,v),D=vt({}).current,F=H(i)?n.fallback[v]:i,R=(W,B)=>{for(const ot in D){const Y=ot;if(Y==="data"){if(!o(W[Y],B[Y])&&(!H(W[Y])||!o(Gt,B[Y])))return!1}else if(B[Y]!==W[Y])return!1}return!0},T=oe(()=>{const W=(()=>!v||!e?!1:H(s)?$().isPaused()||a?!1:H(l)?!0:l:s)(),B=st=>{const Ot=ie(st);return delete Ot._k,W?{isValidating:!0,isLoading:!0,...Ot}:Ot},ot=O(),Y=M(),mt=B(ot),pe=ot===Y?mt:B(Y);let et=mt;return[()=>{const st=B(O());return R(st,et)?(et.data=st.data,et.isLoading=st.isLoading,et.isValidating=st.isValidating,et.error=st.error,et):(et=st,st)},()=>pe]},[r,v]),tt=Sd.useSyncExternalStore(be(W=>L(v,(B,ot)=>{R(ot,B)||W()}),[r,v]),T[0],T[1]),ct=!y.current,pt=d[v]&&d[v].length>0,ut=tt.data,wt=H(ut)?F:ut,Pe=tt.error,Dr=vt(wt),Gt=p?H(ut)?Dr.current:ut:wt,Xt=(()=>pt&&!H(Pe)?!1:ct&&!H(s)?s:$().isPaused()?!1:a?H(wt)?!1:l:H(wt)||l)(),Rn=!!(v&&e&&ct&&Xt),Ta=H(tt.isValidating)?Rn:tt.isValidating,an=H(tt.isLoading)?Rn:tt.isLoading,Te=be(async W=>{const B=k.current;if(!v||!B||b.current||$().isPaused())return!1;let ot,Y,mt=!0;const pe=W||{},et=!h[v]||!pe.dedupe,st=()=>ps?!b.current&&v===x.current&&y.current:v===x.current,Ot={isValidating:!1,isLoading:!1},Re=()=>{N(Ot)},_u=()=>{const jt=h[v];jt&&jt[1]===Y&&delete h[v]},gu={isValidating:!0};H(O().data)&&(gu.isLoading=!0);try{if(et&&(N(gu),n.loadingTimeout&&H(O().data)&&setTimeout(()=>{mt&&st()&&$().onLoadingSlow(v,n)},n.loadingTimeout),h[v]=[B(m),jo()]),[ot,Y]=h[v],ot=await ot,et&&setTimeout(_u,n.dedupingInterval),!h[v]||h[v][1]!==Y)return et&&st()&&$().onDiscarded(v),!1;Ot.error=ft;const jt=_[v];if(!H(jt)&&(Y<=jt[0]||Y<=jt[1]||jt[1]===0))return Re(),et&&st()&&$().onDiscarded(v),!1;const Zt=O().data;Ot.data=o(Zt,ot)?Zt:ot,et&&st()&&$().onSuccess(ot,v,n)}catch(jt){_u();const Zt=$(),{shouldRetryOnError:Ra}=Zt;Zt.isPaused()||(Ot.error=jt,et&&st()&&(Zt.onError(jt,v,Zt),(Ra===!0||Pt(Ra)&&Ra(jt))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||j())&&Zt.onErrorRetry(jt,v,Zt,am=>{const Da=d[v];Da&&Da[0]&&Da[0](wn.ERROR_REVALIDATE_EVENT,am)},{retryCount:(pe.retryCount||0)+1,dedupe:!0})))}return mt=!1,Re(),!0},[v,r]),Nr=be((...W)=>ws(r,x.current,...W),[]);if(xo(()=>{k.current=e,C.current=n,H(ut)||(Dr.current=ut)}),xo(()=>{if(!v)return;const W=Te.bind(ft,So);let B=0;const Y=Qd(v,d,(mt,pe={})=>{if(mt==wn.FOCUS_EVENT){const et=Date.now();$().revalidateOnFocus&&et>B&&j()&&(B=et+$().focusThrottleInterval,W())}else if(mt==wn.RECONNECT_EVENT)$().revalidateOnReconnect&&j()&&W();else{if(mt==wn.MUTATE_EVENT)return Te();if(mt==wn.ERROR_REVALIDATE_EVENT)return Te(pe)}});return b.current=!1,x.current=v,y.current=!0,N({_k:m}),Xt&&(H(wt)||gn?W():Ld(W)),()=>{b.current=!0,Y()}},[v]),xo(()=>{let W;function B(){const Y=Pt(u)?u(O().data):u;Y&&W!==-1&&(W=setTimeout(ot,Y))}function ot(){!O().error&&(f||$().isVisible())&&(c||$().isOnline())?Te(So).then(B):B()}return B(),()=>{W&&(clearTimeout(W),W=-1)}},[u,f,c,v]),Wn(Gt),a&&H(wt)&&v){if(!ps&&gn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=e,C.current=n,b.current=!1;const W=w[v];if(!H(W)){const B=Nr(W);xs(B)}if(H(Pe)){const B=Te(So);H(Gt)||(B.status="fulfilled",B.value=!0),xs(B)}else throw Pe}return{mutate:Nr,get data(){return D.data=!0,Gt},get error(){return D.error=!0,Pe},get isValidating(){return D.isValidating=!0,Ta},get isLoading(){return D.isLoading=!0,an}}}),Ft=St({base:"block fr font-style-tag font-family-tag font-weight-tag text-style-tag",variants:{variant:{neutralWeak:"text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",neutralStrong:"text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",accentStrong:"text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",monetaryWeak:"text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"},interactive:{true:"ease-expo-out rounded-interactive transition-all duration-snappy",false:"rounded-tag"},size:{xs:"px-2",sm:"px-3 py-1",lg:"px-5 py-2"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,interactive:!0,class:"cursor-pointer active:scale-[0.975]"}],defaultVariants:{variant:"neutralWeak",size:"sm",disabled:!1,interactive:!1}}),tf=({query:t,property:e,selectedValues:n})=>{switch(t.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(t.data[e.key]??[]).filter(a=>n.includes(a.value));switch(o.length){case 0:return null;case 1:{const a=o[0];return dt(a),g("span",{class:Ft({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:a.label})}default:return g("span",{class:Ft({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ht(t)}},ef=44,nf=6,rf=12,of=8,af=St({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"}}}),sf=St({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 pointer-fine:ring-width-section ring-section-weak-stroke pointer-fine:bg-app pointer-fine:rounded-section pointer-coarse:overflow-x-auto flex max-w-full overflow-y-auto px-4",variants:{type:{short:"gap-2 pointer-coarse:max-h-[var(--maxHeight)]",long:"pointer-fine:flex-nowrap items-stretch pointer-fine:flex-col overflow-y-auto max-h-[var(--maxHeight)]"}},defaultVariants:{type:"short"}}),cf=St({base:"max-w-full origin-top group/tag ease-expo-out transition-all duration-snappy",variants:{type:{pill:"",line:"[&:not(:last-child)]:border-b-px border-neutral-2 has-[[data-current-value=true]]:border-b-accent-3"}}}),lf=St({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-all duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),uf=St({base:"rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",variants:{colorScheme:{accentStrong:"text-accent-11 bg-accent-4 border-tag-accent-strong-stroke",neutralStrong:"text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"}}}),df=({children:t,colorScheme:e})=>g("span",{class:uf({colorScheme:e}),children:g("span",{class:"block w-[2.5ch] text-center tabular-nums",children:t})}),ff=(t,e)=>{const n=t.indexOf(e);return n===-1?[...t,e]:t.filter((r,o)=>o!==n)},$s=t=>{var n;const e=Number((n=t.match(/\d/g))==null?void 0:n.join(""));return isNaN(e)?0:e},pf=(t,e={by:"results-count",order:"descending"})=>{const n=[...t];switch(e.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const a=$s(r.value),i=$s(o.value);return a-i});break}return e.order==="descending"&&n.reverse(),n},hf=(t,e)=>{if(t===null)return!1;const n=t[e.value];return n===void 0?!0:n===0},vf=(t,e)=>{const n=r=>r>99?"99+":r.toString();return n(t===null?e.jobs:t[e.value]??0)},_f=({value:t,property:e,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:a,onRender:i})=>{const s=Gr(r()),l=oe(()=>{switch(s.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const d=s.data[e.key]??[];return Object.fromEntries(d.map(_=>[_.value,_.jobs]))}default:ht(s)}},[s,e.key]),u=js(t),f=u.length>0,[c,p]=Ct();return Et(()=>{i()}),s.state==="error"?g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:s.error}),resetError:()=>s.swr.mutate()}):g("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[e.searchable&&g("div",{class:"top-0 px-4 py-1",children:g("input",{type:"text",class:af({hasValue:f}),value:c,onInput:d=>p(d.currentTarget.value),placeholder:"Type to search"})}),(()=>{switch(a.state){case"error":return g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:a.error}),resetError:()=>a.swr.mutate()});case"loading":return g("div",{class:"flex px-4",children:g("div",{"aria-hidden":!0,class:Ft({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:g("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const d=pf(a.data[e.key]??[],e.sortSuggestions),_=c&&c.length>1?d.filter(m=>m.label.toLowerCase().includes(c.toLowerCase())):d,h=[];for(const m of _){if(m.label.length<1)continue;const y={...m,results:vf(l,m),disabled:hf(l,m)};switch(e.results){case"only-available":y.disabled==!1&&h.push(y);break;default:h.push(y)}}if(!h.find(m=>!m.disabled))return g("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:"No filter options available."});const v=h.length>rf||h.some(m=>m.label.length>24);return g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{"--maxHeight":ef*(nf+.5)+2*of+"px"},class:sf({type:v?"long":"short"}),children:h.map(m=>{const y=u.includes(m.value);return g("li",{class:cf({type:v?"line":"pill"}),children:g("button",{disabled:m.disabled,"data-filter":!0,"data-current-value":y?"true":void 0,onClick:()=>{switch(t.select){case"many":{const b=ff(u,m.value);o({select:"many",value:b});break}case"one":o({select:"one",value:m.value});break;default:ht(t)}},class:v?lf({active:y,disabled:m.disabled}):Ft({size:"lg",variant:y?"accentStrong":"neutralStrong",interactive:!0,disabled:m.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[g("span",{class:"max-w-full truncate",children:m.label})," ",g(df,{colorScheme:y?"accentStrong":"neutralStrong",children:m.results})]})},m.value)})})})}default:ht(a)}})(),g("footer",{class:"flex justify-end p-2",children:[g("div",{class:"flex-1",children:f&&g("button",{class:Vn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[g(me,{"aria-hidden":!0,name:"x"})," Clear"]})}),t.select==="many"&&g("div",{class:"flex items-center overflow-hidden",children:g("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[u.length," selected"]})}),g("div",{class:"flex-1",children:g("button",{class:Vn({variant:f?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[f?"Done":"Skip"," ",g(me,{name:"chevron-right"})]},f?"done":"skip")})]})]})},ks={contract_type:"clock",title:"magnifier",city:"mapPin",town:"mapPin",country:"mapPin",company_name:"briefcase",category:"briefcase",pay:"pay",pay_currency:"pay",pay_mask:"pay",pay_display:"pay",pay_max:"pay",pay_min:"pay",pay_type:"pay"},gf=St({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"}}}),wf=St({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"}}}),mf=St({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),yf=t=>{const e=vt(null),[n,r]=Ct(0),o=()=>{var a;return r(((a=e.current)==null?void 0:a.clientHeight)??0)};return re(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),t),{height:n,ref:e,updateHeight:o}},js=t=>typeof t.value=="string"?[t.value]:t.value??[],bf=({active:t,value:e,onActiveChange:n,property:r,onSkip:o,onValueChange:a,unfilteredQuery:i,useQuery:s})=>{const l=he(r.key,ks)?ks[r.key]:void 0,u=r.icon??l??"filter",f=js(e),{height:c,ref:p,updateHeight:d}=yf([t]),_=f.length>0;return g("section",{"data-filter-key":r.key,role:"tab","aria-label":r.label,"aria-selected":t?"true":void 0,class:gf({hasValue:_}),onTouchStart:jf,children:[g("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[g("button",{"aria-label":t?"Close filter":"Open filter",class:wf({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:()=>n(!t),children:[g(me,{"aria-hidden":!0,class:"flex-none",name:u}),g("p",{children:r.label})]}),g("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:g("div",{class:"w-full",ref:p,children:t&&g(_f,{useQuery:s,onRender:d,onSkip:o,onValueChange:a,unfilteredQuery:i,property:r,value:e})})})]}),!t&&g("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[g("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:g(tf,{property:r,query:i,selectedValues:f})}),g(me,{"aria-hidden":!0,class:mf(),name:"chevron-right"})]})]})},xf=t=>{const e=vt();return Et(()=>{e.current=t},[t]),e.current},$f=(t,e)=>{var o;const n=(o=e.current)==null?void 0:o.querySelector(`[data-filter-key="${t}"]`),r=(n==null?void 0:n.querySelector("[data-current-value]"))??(n==null?void 0:n.querySelector("[data-filter]"));r&&(dt(r instanceof HTMLButtonElement,"option must be button"),r.focus())},kf=(t,e)=>{const n=xf(t);Et(()=>{if(n===t)return;const r=t??n;r&&$f(r,e)},[t,n,e])};function jf(){}const Sf=({property:t,value:e,activeKey:n,properties:r,appliedFilters:o})=>{var a,i,s;switch(e==null?void 0:e.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:e,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===t.key),u=l!==-1?(a=r[l+1])==null?void 0:a.key:void 0,c=(u?((i=o[u])==null?void 0:i.value)!==void 0:!1)?void 0:u;return((s=o[t.key])==null?void 0:s.value)==e.value?{newValue:void 0,newActiveKey:c}:{newValue:e,newActiveKey:c}}default:ht(e)}},Cf=({properties:t,parentRef:e,appliedFilters:n,onFilterValueChange:r,apiClient:o,logger:a})=>{var c;const[i,s]=Ct((c=t[0])==null?void 0:c.key);kf(i,e);const l=oe(()=>No(t.map(({value:p,...d})=>d)),[t]),u=Gr(Co(Yn({filter:l,baseKey:"filters"}),()=>gi({apiClient:o,logger:a,filters:l}),Xr)),f=be(p=>()=>{const d={...n,[p]:l[p]};return Co(Yn({filter:d,baseKey:"filters"}),()=>gi({apiClient:o,logger:a,filters:d}),Xr)},[o,n,l,a]);return u.state==="error"?g(ne,{error:new Error("We’re having trouble loading available filters.",{cause:u.error}),resetError:()=>u.swr.mutate()}):g("aside",{children:g("div",{role:"tablist",class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:t.filter(p=>p.hidden!==!0).map(p=>{const d=i===p.key,_=n[p.key]??{select:p.select,value:void 0},h=m=>{const{newActiveKey:y,newValue:b}=Sf({property:p,activeKey:i,value:m,properties:t,appliedFilters:n});return s(y),r(p.key,b)},w=m=>s(m?p.key:void 0),v=f(p.key);return g(pn,{Fallback:ne,children:g(bf,{unfilteredQuery:u,active:d,property:p,onActiveChange:w,value:_,onSkip:()=>{var b;const m=t.findIndex(x=>x.key===i),y=m!==-1?(b=t[m+1])==null?void 0:b.key:void 0;s(y)},useQuery:v,onValueChange:h})},p.key)})})})};var Ef=Array.isArray,Eo=Ef,Of=typeof Gn=="object"&&Gn&&Gn.Object===Object&&Gn,Af=Of,Pf=Af,Tf=typeof self=="object"&&self&&self.Object===Object&&self,Rf=Pf||Tf||Function("return this")(),Oo=Rf,Df=Oo,Nf=Df.Symbol,Ao=Nf,Ss=Ao,Cs=Object.prototype,Lf=Cs.hasOwnProperty,Mf=Cs.toString,mn=Ss?Ss.toStringTag:void 0;function Ff(t){var e=Lf.call(t,mn),n=t[mn];try{t[mn]=void 0;var r=!0}catch{}var o=Mf.call(t);return r&&(e?t[mn]=n:delete t[mn]),o}var If=Ff,Hf=Object.prototype,Vf=Hf.toString;function Uf(t){return Vf.call(t)}var zf=Uf,Es=Ao,Wf=If,Bf=zf,Yf="[object Null]",Kf="[object Undefined]",Os=Es?Es.toStringTag:void 0;function qf(t){return t==null?t===void 0?Kf:Yf:Os&&Os in Object(t)?Wf(t):Bf(t)}var As=qf;function Gf(t){return t!=null&&typeof t=="object"}var Xf=Gf,Zf=As,Jf=Xf,Qf="[object Symbol]";function tp(t){return typeof t=="symbol"||Jf(t)&&Zf(t)==Qf}var Po=tp,ep=Eo,np=Po,rp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,op=/^\w*$/;function ap(t,e){if(ep(t))return!1;var n=typeof t;return n=="number"||n=="symbol"||n=="boolean"||t==null||np(t)?!0:op.test(t)||!rp.test(t)||e!=null&&t in Object(e)}var ip=ap;function sp(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Ps=sp,cp=As,lp=Ps,up="[object AsyncFunction]",dp="[object Function]",fp="[object GeneratorFunction]",pp="[object Proxy]";function hp(t){if(!lp(t))return!1;var e=cp(t);return e==dp||e==fp||e==up||e==pp}var vp=hp,_p=Oo,gp=_p["__core-js_shared__"],wp=gp,To=wp,Ts=function(){var t=/[^.]+$/.exec(To&&To.keys&&To.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function mp(t){return!!Ts&&Ts in t}var yp=mp,bp=Function.prototype,xp=bp.toString;function $p(t){if(t!=null){try{return xp.call(t)}catch{}try{return t+""}catch{}}return""}var kp=$p,jp=vp,Sp=yp,Cp=Ps,Ep=kp,Op=/[\\^$.*+?()[\]{}|]/g,Ap=/^\[object .+?Constructor\]$/,Pp=Function.prototype,Tp=Object.prototype,Rp=Pp.toString,Dp=Tp.hasOwnProperty,Np=RegExp("^"+Rp.call(Dp).replace(Op,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Lp(t){if(!Cp(t)||Sp(t))return!1;var e=jp(t)?Np:Ap;return e.test(Ep(t))}var Mp=Lp;function Fp(t,e){return t==null?void 0:t[e]}var Ip=Fp,Hp=Mp,Vp=Ip;function Up(t,e){var n=Vp(t,e);return Hp(n)?n:void 0}var Rs=Up,zp=Rs,Wp=zp(Object,"create"),Qn=Wp,Ds=Qn;function Bp(){this.__data__=Ds?Ds(null):{},this.size=0}var Yp=Bp;function Kp(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var qp=Kp,Gp=Qn,Xp="__lodash_hash_undefined__",Zp=Object.prototype,Jp=Zp.hasOwnProperty;function Qp(t){var e=this.__data__;if(Gp){var n=e[t];return n===Xp?void 0:n}return Jp.call(e,t)?e[t]:void 0}var th=Qp,eh=Qn,nh=Object.prototype,rh=nh.hasOwnProperty;function oh(t){var e=this.__data__;return eh?e[t]!==void 0:rh.call(e,t)}var ah=oh,ih=Qn,sh="__lodash_hash_undefined__";function ch(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=ih&&e===void 0?sh:e,this}var lh=ch,uh=Yp,dh=qp,fh=th,ph=ah,hh=lh;function Fe(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Fe.prototype.clear=uh,Fe.prototype.delete=dh,Fe.prototype.get=fh,Fe.prototype.has=ph,Fe.prototype.set=hh;var vh=Fe;function _h(){this.__data__=[],this.size=0}var gh=_h;function wh(t,e){return t===e||t!==t&&e!==e}var mh=wh,yh=mh;function bh(t,e){for(var n=t.length;n--;)if(yh(t[n][0],e))return n;return-1}var tr=bh,xh=tr,$h=Array.prototype,kh=$h.splice;function jh(t){var e=this.__data__,n=xh(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():kh.call(e,n,1),--this.size,!0}var Sh=jh,Ch=tr;function Eh(t){var e=this.__data__,n=Ch(e,t);return n<0?void 0:e[n][1]}var Oh=Eh,Ah=tr;function Ph(t){return Ah(this.__data__,t)>-1}var Th=Ph,Rh=tr;function Dh(t,e){var n=this.__data__,r=Rh(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this}var Nh=Dh,Lh=gh,Mh=Sh,Fh=Oh,Ih=Th,Hh=Nh;function Ie(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}Ie.prototype.clear=Lh,Ie.prototype.delete=Mh,Ie.prototype.get=Fh,Ie.prototype.has=Ih,Ie.prototype.set=Hh;var Vh=Ie,Uh=Rs,zh=Oo,Wh=Uh(zh,"Map"),Bh=Wh,Ns=vh,Yh=Vh,Kh=Bh;function qh(){this.size=0,this.__data__={hash:new Ns,map:new(Kh||Yh),string:new Ns}}var Gh=qh;function Xh(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var Zh=Xh,Jh=Zh;function Qh(t,e){var n=t.__data__;return Jh(e)?n[typeof e=="string"?"string":"hash"]:n.map}var er=Qh,tv=er;function ev(t){var e=tv(this,t).delete(t);return this.size-=e?1:0,e}var nv=ev,rv=er;function ov(t){return rv(this,t).get(t)}var av=ov,iv=er;function sv(t){return iv(this,t).has(t)}var cv=sv,lv=er;function uv(t,e){var n=lv(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this}var dv=uv,fv=Gh,pv=nv,hv=av,vv=cv,_v=dv;function He(t){var e=-1,n=t==null?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}He.prototype.clear=fv,He.prototype.delete=pv,He.prototype.get=hv,He.prototype.has=vv,He.prototype.set=_v;var gv=He,Ls=gv,wv="Expected a function";function Ro(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw new TypeError(wv);var n=function(){var r=arguments,o=e?e.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=t.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Ro.Cache||Ls),n}Ro.Cache=Ls;var mv=Ro,yv=mv,bv=500;function xv(t){var e=yv(t,function(r){return n.size===bv&&n.clear(),r}),n=e.cache;return e}var $v=xv,kv=$v,jv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sv=/\\(\\)?/g,Cv=kv(function(t){var e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(jv,function(n,r,o,a){e.push(o?a.replace(Sv,"$1"):r||n)}),e}),Ev=Cv;function Ov(t,e){for(var n=-1,r=t==null?0:t.length,o=Array(r);++n<r;)o[n]=e(t[n],n,t);return o}var Av=Ov,Ms=Ao,Pv=Av,Tv=Eo,Rv=Po,Dv=1/0,Fs=Ms?Ms.prototype:void 0,Is=Fs?Fs.toString:void 0;function Hs(t){if(typeof t=="string")return t;if(Tv(t))return Pv(t,Hs)+"";if(Rv(t))return Is?Is.call(t):"";var e=t+"";return e=="0"&&1/t==-Dv?"-0":e}var Nv=Hs,Lv=Nv;function Mv(t){return t==null?"":Lv(t)}var Fv=Mv,Iv=Eo,Hv=ip,Vv=Ev,Uv=Fv;function zv(t,e){return Iv(t)?t:Hv(t,e)?[t]:Vv(Uv(t))}var Wv=zv,Bv=Po,Yv=1/0;function Kv(t){if(typeof t=="string"||Bv(t))return t;var e=t+"";return e=="0"&&1/t==-Yv?"-0":e}var qv=Kv,Gv=Wv,Xv=qv;function Zv(t,e){e=Gv(e,t);for(var n=0,r=e.length;t!=null&&n<r;)t=t[Xv(e[n++])];return n&&n==r?t:void 0}var Jv=Zv,Qv=Jv;function t_(t,e,n){var r=t==null?void 0:Qv(t,e);return r===void 0?n:r}var e_=t_;const n_=xd(e_),nr=({chars:t})=>g("span",{style:{width:t+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Vs=St({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}}),Do=({job:t,property:e})=>{if(!e)return null;const n=n_(t.raw,e.key);return e.transform?e.transform(n):n},r_=({job:t,config:e="hidden"})=>e==="hidden"?null:g("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:e.replace(":","/")},children:t.company.logo?g("img",{src:t.company.logo,alt:t.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Us=t=>Array.isArray(t)?t:[t],o_=1e3*60*60*24*7,a_=({job:t,config:e})=>{var u,f;const n=e.subheading?Do({job:t,property:e.subheading}):null,r=e.infoTags.flatMap(c=>Us(Do({job:t,property:c}))).filter(Boolean),o=Us((u=e.overrides)!=null&&u.salary?Do({job:t,property:e.overrides.salary}):t.pay).filter(Boolean),a=e.postedDate??"show",i=(f=e.overrides)!=null&&f.baseUrl?e.overrides.baseUrl(t.id.toString()):t.href,s=e.newUnderDays??7,l=t.createdAt?new Date(t.createdAt).getTime()>Date.now()-s*o_:!1;return g("a",{href:i,target:e.openJob==="redirect-new-tab"?"_blank":void 0,class:Vs(),children:[g("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[g("div",{class:"gap-logo flex items-center",children:[g(r_,{job:t,config:e.logo}),g("div",{class:"flex flex-col items-start gap-1",children:[g("div",{class:"order-2 flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[t.title.trim(),l&&a!=="hide"&&g(I,{children:[" ",g("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:"NEW"})]})]}),n?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:n}):null]}),a==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:["Posted ",t.relativePostedDate]}):null]})]}),g("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[g("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:o.map((c,p)=>g("span",{class:Ft({variant:"monetaryWeak",size:"xs"}),children:c},p))}),r.length>0&&g("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:r.map(c=>g("li",{class:Ft({size:"xs",class:"max-w-full truncate"}),children:c},c))})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(me,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},zs=({config:t,animationDelay:e,seed:n})=>{const r=t.logo??"hidden",o=t.postedDate??"show";return g("div",{"aria-hidden":!0,style:{animationDelay:e+"s"},class:Vs({interactive:!1}),children:[g("div",{class:"flex flex-1 flex-col gap-4",children:[g("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:g("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),g("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info",children:g(nr,{chars:12})}):null,g("div",{class:"flex flex-col gap-1",children:[g("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:g(nr,{chars:13+(n+5)*n%7})}),t.subheading!==null?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:g(nr,{chars:7+n*n%3})}):null]})]})]}),g("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&g("span",{class:Ft({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),g("div",{class:"flex items-center gap-2",children:[g("span",{class:Ft({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),g("span",{class:Ft({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(me,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},i_=({state:t,fetchNextPage:e,config:n})=>t==="revalidating"?g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Hn}).map((r,o)=>g("li",{children:g(zs,{seed:o,animationDelay:(o-4)*.1,config:n})},o))}):g("button",{class:Vn({variant:"neutral",class:"py-2"}),onClick:e,children:"Load More"}),s_=({pagination:t})=>(dt(t.total>=0),t.total===1?"1 job found":`${t.total} jobs found`),c_=({appliedFilters:t,apiClient:e,logger:n,jobCardConfig:r,initialData:o})=>{const[a,i]=Ct(1);return g(I,{children:Array.from({length:a}).map((s,l)=>{const u=l===a-1;return g(pn,{Fallback:ne,children:g(l_,{appliedFilters:t,apiClient:e,logger:n,page:l+1,isFirst:l===0,isLast:u,fetchNextPage:()=>i(a+1),jobCardConfig:r,initialData:o},l)},l)})})},l_=({appliedFilters:t,apiClient:e,logger:n,page:r,isFirst:o,isLast:a,fetchNextPage:i,jobCardConfig:s,initialData:l})=>{const u=r===1?l:void 0,{data:f,error:c,state:p,swr:d}=Gr(Co(Yn({filter:t,baseKey:r.toString()}),()=>wi({apiClient:e,logger:n,filters:t,page:r}),{...Xr,fallbackData:u}));switch(p){case"loading":return g(I,{children:[o&&g("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:g(nr,{chars:8})}),g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Hn}).map((_,h)=>g("li",{children:g(zs,{seed:h,animationDelay:(h-Hn)*.1,config:s})},h))})]});case"error":return g(ne,{class:"-m-4",error:new Error("We’re having trouble loading available jobs.",{cause:c}),resetError:()=>d.mutate()});case"revalidating":case"loaded":{if(dt(f.pagination.current_page===r,"Received wrong page from server"),f.pagination.total===0)return g("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[g(me,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),g("div",{class:"flex flex-col items-center gap-1",children:[g("p",{class:"text-copy-neutral text-style-job-heading",children:"No jobs found"}),g("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:"We could not find any jobs matching your filtering criteria."})]})]});const _=f.pagination.last_page!==f.pagination.current_page;return g(I,{children:[o&&g("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:s_({pagination:f.pagination})}),g("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:f.results.map(h=>g("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:p==="revalidating"?.33:1},children:g(a_,{job:h,config:s})},h.id))}),_&&a&&g(i_,{state:p,fetchNextPage:i,config:s})]})}default:ht(p)}},No=t=>t.reduce((e,n)=>{var r;switch(n.select){case"one":{const o=typeof n.value=="string"?n.value:(r=n.value)==null?void 0:r[0];e[n.key]={select:n.select,value:o};break}case"many":{const o=typeof n.value=="string"?[n.value]:Array.isArray(n.value)?n.value:[];e[n.key]={select:n.select,value:o};break}default:ht(n.select)}return e},{}),u_=({apiClient:t,logger:e,properties:n,class:r,analytics:o,initialData:a,onFilterChange:i,params:s})=>{const l=vt(null),[u,f]=Ct(()=>({default:!0,filters:No(n)}));return g("div",{ref:l,class:r,id:hi,children:g("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:[g(pn,{Fallback:ne,children:g("div",{class:"flex flex-col gap-2",children:[g(Cf,{appliedFilters:u.filters,onFilterValueChange:(c,p)=>{f(d=>(i==null||i({...d.filters,[c]:p}),{default:!1,filters:{...d.filters,[c]:p}}))},properties:n,parentRef:l,logger:e,apiClient:t}),s.enableJobAlerts&&g("div",{class:"flex justify-center px-4 md:px-0",children:g(id,{appliedFilters:u.filters,analytics:o,apiClient:t,logger:e,theme:s.theme})})]})}),g("div",{class:"md:col-span-2",children:g("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:g(pn,{Fallback:ne,children:g(c_,{appliedFilters:u.filters,logger:e,apiClient:t,jobCardConfig:s.jobCard,initialData:u.default?a==null?void 0:a.jobs:void 0},Yn({filter:u.filters,baseKey:"resultsSection"}))})})})]})})},d_=`#ijs{font-size:16px;--tw-content: ""}#ijs *{box-sizing:border-box;border-style:solid;border-width:0;-webkit-tap-highlight-color:transparent;font-family:inherit;font-style:inherit;font-weight:inherit}#ijs :before,#ijs :after{box-sizing:border-box}#ijs :is(a){text-decoration:none}#ijs :is(ul,ol){list-style:none;padding:0;margin:0}#ijs :is(p){margin:0;padding:0}#ijs :is(li){margin:0;padding:0;list-style:none}#ijs :is(button),#ijs :is(a){display:block;margin:0;padding:0;border:unset;background:unset;text-align:unset}#ijs :is(input),#ijs :is(textarea){display:block;margin:0;padding:0;min-width:0;max-width:unset;width:100%}#ijs :is(svg){display:block}#ijs.reduced-motion *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}@media (prefers-reduced-motion){#ijs *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important;animation-delay:0s!important}}#ijs *,#ijs :before,#ijs :after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs ::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }#ijs .container{width:100%}@media (min-width: 640px){#ijs .container{max-width:640px}}@media (min-width: 768px){#ijs .container{max-width:768px}}@media (min-width: 1024px){#ijs .container{max-width:1024px}}@media (min-width: 1280px){#ijs .container{max-width:1280px}}@media (min-width: 1536px){#ijs .container{max-width:1536px}}#ijs .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}#ijs .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}#ijs .pointer-events-none{pointer-events:none}#ijs .visible{visibility:visible}#ijs .invisible{visibility:hidden}#ijs .collapse{visibility:collapse}#ijs .static{position:static}#ijs .fixed{position:fixed}#ijs .absolute{position:absolute}#ijs .relative{position:relative}#ijs .sticky{position:sticky}#ijs .bottom-0{bottom:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .isolate{isolation:isolate}#ijs .z-50{z-index:50}#ijs .order-1{order:1}#ijs .order-2{order:2}#ijs .col-span-full{grid-column:1 / -1}#ijs .row-span-full{grid-row:1 / -1}#ijs .-m-4{margin:-1rem}#ijs .m-0{margin:0}#ijs .m-11{margin:2.75rem}#ijs .m-3{margin:.75rem}#ijs .m-4{margin:1rem}#ijs .mx-auto{margin-left:auto;margin-right:auto}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .block{display:block}#ijs .inline-block{display:inline-block}#ijs .inline{display:inline}#ijs .flex{display:flex}#ijs .inline-flex{display:inline-flex}#ijs .table{display:table}#ijs .table-row{display:table-row}#ijs .flow-root{display:flow-root}#ijs .grid{display:grid}#ijs .inline-grid{display:inline-grid}#ijs .contents{display:contents}#ijs .list-item{display:list-item}#ijs .\\!hidden{display:none!important}#ijs .hidden{display:none}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-8{height:2rem}#ijs .h-\\[1lh\\]{height:1lh}#ijs .h-full{height:100%}#ijs .max-h-\\[var\\(--maxHeight\\)\\]{max-height:var(--maxHeight)}#ijs .min-h-\\[1em\\]{min-height:1em}#ijs .min-h-\\[36px\\]{min-height:36px}#ijs .min-h-screen{min-height:100vh}#ijs .w-4{width:1rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[2\\.5ch\\]{width:2.5ch}#ijs .w-\\[6ch\\]{width:6ch}#ijs .w-\\[8ch\\]{width:8ch}#ijs .w-full{width:100%}#ijs .min-w-0{min-width:0px}#ijs .max-w-\\[var\\(--radix-popover-content-available-width\\)\\]{max-width:var(--radix-popover-content-available-width)}#ijs .max-w-full{max-width:100%}#ijs .max-w-screen-lg{max-width:1024px}#ijs .flex-1{flex:1 1 0%}#ijs .flex-none{flex:none}#ijs .flex-shrink,#ijs .shrink{flex-shrink:1}#ijs .shrink-0{flex-shrink:0}#ijs .flex-grow,#ijs .grow{flex-grow:1}#ijs .border-collapse{border-collapse:collapse}#ijs .origin-\\[50\\%_1\\.75rem\\]{transform-origin:50% 1.75rem}#ijs .origin-top{transform-origin:top}#ijs .translate-y-0{--tw-translate-y: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}#ijs .resize{resize:both}#ijs .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}#ijs .flex-col{flex-direction:column}#ijs .flex-wrap{flex-wrap:wrap}#ijs .items-start{align-items:flex-start}#ijs .items-center{align-items:center}#ijs .items-stretch{align-items:stretch}#ijs .justify-end{justify-content:flex-end}#ijs .justify-center{justify-content:center}#ijs .justify-between{justify-content:space-between}#ijs .gap-1{gap:.25rem}#ijs .gap-1\\.5{gap:.375rem}#ijs .gap-2{gap:.5rem}#ijs .gap-2\\.5{gap:.625rem}#ijs .gap-3{gap:.75rem}#ijs .gap-4{gap:1rem}#ijs .gap-logo{gap:var(--i-logo-gap)}#ijs .self-center{align-self:center}#ijs .overflow-hidden{overflow:hidden}#ijs .overflow-y-auto{overflow-y:auto}#ijs .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#ijs .text-pretty{text-wrap:pretty}#ijs .rounded-app{border-radius:var(--i-radius-app)}#ijs .rounded-input{border-radius:var(--i-radius-input)}#ijs .rounded-interactive{border-radius:var(--i-radius-interactive)}#ijs .rounded-job-card{border-radius:var(--i-radius-job-card)}#ijs .rounded-job-tag{border-radius:var(--i-radius-job-tag)}#ijs .rounded-logo{border-radius:var(--i-radius-logo)}#ijs .rounded-section{border-radius:var(--i-radius-section)}#ijs .rounded-tag{border-radius:var(--i-radius-job-tag)}#ijs .border-px{border-width:1px}#ijs .border-solid{border-style:solid}#ijs .border-neutral-2{border-color:var(--i-color-n-2)}#ijs .border-tag-accent-strong-stroke{border-color:var(--i-tag-accent-strong-stroke-color)}#ijs .border-tag-monetary-weak-stroke{border-color:var(--i-tag-monetary-weak-stroke-color)}#ijs .border-tag-neutral-strong-stroke{border-color:var(--i-tag-neutral-strong-stroke-color)}#ijs .border-tag-neutral-weak-stroke{border-color:var(--i-tag-neutral-weak-stroke-color)}#ijs .border-transparent{border-color:transparent}#ijs .bg-\\[currentColor\\]{background-color:currentColor}#ijs .bg-accent-2{background-color:var(--i-color-a-2)}#ijs .bg-accent-4{background-color:var(--i-color-a-4)}#ijs .bg-accent-9{background-color:var(--i-color-a-9)}#ijs .bg-app{background-color:var(--i-app-bg)}#ijs .bg-copy-neutral{background-color:var(--i-copy)}#ijs .bg-interactive-accent-bg{background-color:var(--i-interactive-accent-bg)}#ijs .bg-interactive-neutral-bg{background-color:var(--i-interactive-neutral-bg)}#ijs .bg-job-card-bg{background-color:var(--i-job-card-bg)}#ijs .bg-lowest{background-color:var(--i-color-lowest)}#ijs .bg-neutral-1{background-color:var(--i-color-n-1)}#ijs .bg-neutral-12{background-color:var(--i-color-n-12)}#ijs .bg-neutral-2{background-color:var(--i-color-n-2)}#ijs .bg-section-strong-bg{background-color:var(--i-section-strong-bg)}#ijs .bg-section-weak-bg{background-color:var(--i-section-weak-bg)}#ijs .bg-tag-accent-strong-bg{background-color:var(--i-tag-accent-strong-bg)}#ijs .bg-tag-monetary-weak-bg{background-color:var(--i-tag-monetary-weak-bg)}#ijs .bg-tag-neutral-strong-bg{background-color:var(--i-tag-neutral-strong-bg)}#ijs .bg-tag-neutral-weak-bg{background-color:var(--i-tag-neutral-weak-bg)}#ijs .object-contain{-o-object-fit:contain;object-fit:contain}#ijs .p-0{padding:0}#ijs .p-1{padding:.25rem}#ijs .p-2{padding:.5rem}#ijs .p-4{padding:1rem}#ijs .p-6{padding:1.5rem}#ijs .px-1{padding-left:.25rem;padding-right:.25rem}#ijs .px-2{padding-left:.5rem;padding-right:.5rem}#ijs .px-2\\.5{padding-left:.625rem;padding-right:.625rem}#ijs .px-3{padding-left:.75rem;padding-right:.75rem}#ijs .px-4{padding-left:1rem;padding-right:1rem}#ijs .px-5{padding-left:1.25rem;padding-right:1.25rem}#ijs .py-1{padding-top:.25rem;padding-bottom:.25rem}#ijs .py-1\\.5{padding-top:.375rem;padding-bottom:.375rem}#ijs .py-2{padding-top:.5rem;padding-bottom:.5rem}#ijs .py-2\\.5{padding-top:.625rem;padding-bottom:.625rem}#ijs .py-4{padding-top:1rem;padding-bottom:1rem}#ijs .pb-4{padding-bottom:1rem}#ijs .pl-1{padding-left:.25rem}#ijs .pl-2{padding-left:.5rem}#ijs .pl-2\\.5{padding-left:.625rem}#ijs .pl-3{padding-left:.75rem}#ijs .pl-4{padding-left:1rem}#ijs .pl-5{padding-left:1.25rem}#ijs .pr-1{padding-right:.25rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-5{padding-right:1.25rem}#ijs .pr-8{padding-right:2rem}#ijs .pt-1{padding-top:.25rem}#ijs .text-center{text-align:center}#ijs .text-justify{text-align:justify}#ijs .align-middle{vertical-align:middle}#ijs .font-family-default{font-family:var(--i-font)}#ijs .font-family-filter{font-family:var(--i-font-filter)}#ijs .font-family-job-heading{font-family:var(--i-font-job-heading)}#ijs .font-family-tag{font-family:var(--i-font-tag)}#ijs .text-\\[10px\\]{font-size:10px}#ijs .text-style-filter{font-size:1rem;line-height:1.5rem;letter-spacing:-.01em}#ijs .text-style-input{font-size:1rem;line-height:1.5rem}#ijs .text-style-job-card{font-size:.875rem;line-height:1.125rem}#ijs .text-style-job-card-info{font-size:.75rem;line-height:1.125rem}#ijs .text-style-job-heading{font-size:1.125rem;line-height:1.5rem}#ijs .text-style-tag{font-size:.875rem;line-height:1.5rem}#ijs .font-weight-default{font-weight:var(--i-weight-default)}#ijs .font-weight-filter{font-weight:var(--i-weight-filter)}#ijs .font-weight-input{font-weight:var(--i-weight-input)}#ijs .font-weight-job-heading{font-weight:var(--i-weight-job-heading)}#ijs .font-weight-tag{font-weight:var(--i-weight-tag)}#ijs .uppercase{text-transform:uppercase}#ijs .lowercase{text-transform:lowercase}#ijs .capitalize{text-transform:capitalize}#ijs .italic{font-style:italic}#ijs .ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .tabular-nums{--tw-numeric-spacing: tabular-nums;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}#ijs .leading-none{line-height:1}#ijs .leading-snug{line-height:1.375}#ijs .text-\\[\\#E5484D\\]{--tw-text-opacity: 1;color:rgb(229 72 77 / var(--tw-text-opacity))}#ijs .text-accent-1{color:var(--i-color-a-1)}#ijs .text-accent-11{color:var(--i-color-a-11)}#ijs .text-copy-accent{color:var(--i-copy-accent)}#ijs .text-copy-job-info{color:var(--i-copy-info)}#ijs .text-copy-neutral{color:var(--i-copy)}#ijs .text-copy-neutral-icon{color:var(--i-copy-icon)}#ijs .text-copy-neutral-lowcontrast{color:var(--i-copy-lowcontrast)}#ijs .text-interactive-accent-text{color:var(--i-interactive-accent-text)}#ijs .text-interactive-neutral-bg{color:var(--i-interactive-neutral-bg)}#ijs .text-interactive-neutral-text{color:var(--i-interactive-neutral-text)}#ijs .text-neutral-1{color:var(--i-color-n-1)}#ijs .text-neutral-10{color:var(--i-color-n-10)}#ijs .text-neutral-11{color:var(--i-color-n-11)}#ijs .text-neutral-8{color:var(--i-color-n-8)}#ijs .text-tag-accent-strong-bg{color:var(--i-tag-accent-strong-bg)}#ijs .text-tag-accent-strong-copy{color:var(--i-tag-accent-strong-copy)}#ijs .text-tag-monetary-weak-copy{color:var(--i-tag-monetary-weak-copy)}#ijs .text-tag-neutral-strong-copy{color:var(--i-tag-neutral-strong-copy)}#ijs .text-tag-neutral-weak-copy{color:var(--i-tag-neutral-weak-copy)}#ijs .underline{text-decoration-line:underline}#ijs .caret-accent-11{caret-color:var(--i-color-a-11)}#ijs .opacity-0{opacity:0}#ijs .opacity-20{opacity:.2}#ijs .opacity-25{opacity:.25}#ijs .shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .shadow-\\[0_0_0_1px\\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .outline-none{outline:2px solid transparent;outline-offset:2px}#ijs .outline{outline-style:solid}#ijs .ring-\\[1px\\],#ijs .ring-px{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-job-card{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-job-card-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .has-\\[\\[data-current-value\\=true\\]\\]\\:border-b-accent-3:has([data-current-value=true]){border-bottom-color:var(--i-color-a-3)}#ijs .data-\\[state\\=idle\\]\\:translate-y-full[data-state=idle]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=loading\\]\\:-translate-y-full[data-state=loading]{--tw-translate-y: -100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=success\\]\\:translate-y-full[data-state=success]{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@media (pointer: coarse){#ijs .pointer-coarse\\:max-h-\\\\\\[var\\\\\\(--maxHeight\\\\\\)\\\\\\]{max-height:var(--maxHeight)}}@media (pointer: coarse){#ijs .pointer-coarse\\:overflow-x-auto{overflow-x:auto}}@media (pointer: fine){#ijs .pointer-fine\\:flex-col{flex-direction:column}}@media (pointer: fine){#ijs .pointer-fine\\:flex-wrap{flex-wrap:wrap}}@media (pointer: fine){#ijs .pointer-fine\\:flex-nowrap{flex-wrap:nowrap}}@media (pointer: fine){#ijs .pointer-fine\\:rounded-section{border-radius:var(--i-radius-section)}}@media (pointer: fine){#ijs .pointer-fine\\:bg-app{background-color:var(--i-app-bg)}}@media (pointer: fine){#ijs .pointer-fine\\:p-2{padding:.5rem}}@media (pointer: fine){#ijs .pointer-fine\\:px-4{padding-left:1rem;padding-right:1rem}}@media (pointer: fine){#ijs .pointer-fine\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-accent-bg-hover:hover{background-color:var(--i-interactive-accent-bg-hover)}}@media (pointer: fine){#ijs .pointer-fine\\:hover\\:bg-interactive-neutral-bg-hover:hover{background-color:var(--i-interactive-neutral-bg-hover)}}@media (pointer: fine){#ijs .group:hover .pointer-fine\\:group-hover\\:text-copy-neutral{color:var(--i-copy)}}@media (min-width: 768px){#ijs .md\\:col-span-2{grid-column:span 2 / span 2}}@media (min-width: 768px){#ijs .md\\:grid{display:grid}}@media (min-width: 768px){#ijs .md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 768px){#ijs .md\\:px-0{padding-left:0;padding-right:0}}@media (min-width: 768px){#ijs .md\\:px-4{padding-left:1rem;padding-right:1rem}}@media (min-width: 1024px){#ijs .lg\\:ring-width-section{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(var(--i-section-stroke-width) + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}}#ijs .\\[\\&\\:has\\(\\.fr-child\\:active\\)\\]\\:scale-\\[0\\.975\\]:has(.fr-child:active){--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .\\[\\&\\:not\\(\\:last-child\\)\\]\\:border-b-px:not(:last-child){border-bottom-width:1px}
18
+ `;var f_=["1","2","3","4","5","6","7","8","9","10","11","12"],p_={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]}},h_=(t,e=1,n)=>r=>{const[o,a]=p_[n][r];return"oklch("+o+"% "+a*e+" "+t+")"},Lo=t=>{const e=h_(t.hue,t.chroma,t.mode);return Object.fromEntries(f_.map(n=>[t.prefix+n,t.transform(e(n))]))},Mo=t=>t,v_=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const a=r[o];return[`${String(n)}.${o}`,a]}):[[n,r]]});return Object.fromEntries(e)},rr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Fo=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(rr(t)&&rr(n))for(const r in n){const o=n[r];if(rr(o)){t[r]||Object.assign(t,{[r]:{}});const a=t[r];rr(a)&&Fo(a,o)}else Object.assign(t,{[r]:n[r]})}return Fo(t,...e)},__=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},g_=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:a}=r,i=p=>a("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:i,raw:{core:s}}),u=n({theme:o,core:i,semantic:i,raw:{core:s,semantic:l}}),f=v_(Fo(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>a("reference",p.toString())}}})})})});const xt=t=>{const e=[],n=r=>({with:(o,a)=>(e.push({pattern:o,fn:a}),n(r)),otherwise:o=>{t:for(const{fn:a,pattern:i}of e){for(const s in i)if(i[s]!==r[s])continue t;return a(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(t)},[Io,Ho,It]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],w_=g_().core(({theme:t})=>({color:{black:Io,white:Ho,lowest:t.mode==="light"?Ho:Io,highest:t.mode==="light"?Io:Ho,...Lo({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:Mo}),...Lo({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:Mo}),...Lo({prefix:"m-",hue:140,chroma:t.accent.chroma,mode:t.mode,transform:Mo})}})).semantic(({core:t,theme:e,raw:n})=>{var s,l,u,f,c,p,d,_,h,w,v,m,y,b,x,k,C,$,j,O,N;const r=(L,M)=>n.core.color[L].replace(")",` / ${M})`),{typography:o,highlights:a}=e,i=((s=e.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(e.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=e.typography.jobHeading)==null?void 0:u.fontFamily)??e.typography.fontFamily??"inherit","font-tag":((f=o.tag)==null?void 0:f.fontFamily)??o.fontFamily??"inherit","weight-default":((c=o.weight)==null?void 0:c.toString())??"inherit","style-filter":((p=o.filter)==null?void 0:p.style)??o.style??"inherit","weight-filter":((_=(d=o.filter)==null?void 0:d.weight)==null?void 0:_.toString())??((h=o.weight)==null?void 0:h.toString())??"inherit","style-tag":((w=o.tag)==null?void 0:w.style)??o.style??"inherit","style-job-heading":((v=o.jobHeading)==null?void 0:v.style)??o.style??"inherit","weight-tag":((y=(m=o.tag)==null?void 0:m.weight)==null?void 0:y.toString())??((b=o.weight)==null?void 0:b.toString())??"inherit","weight-job-heading":((k=(x=o.jobHeading)==null?void 0:x.weight)==null?void 0:k.toString())??((C=o.weight)==null?void 0:C.toString())??"inherit","style-input":(($=o.input)==null?void 0:$.style)??o.style??"inherit","weight-input":((O=(j=o.input)==null?void 0:j.weight)==null?void 0:O.toString())??((N=o.weight)==null?void 0:N.toString())??"inherit","app-bg":t("color.lowest"),copy:t(i?"color.highest":"color.n-12"),"copy-lowcontrast":t("color.n-11"),"copy-info":t(i?"color.n-11":"color.n-10"),"copy-icon":t(i?"color.n-12":"color.n-11"),"copy-accent":t(i?"color.highest":"color.a-12"),"copy-accent-lowcontrast":t(i?"color.a-12":"color.a-11"),"copy-accent-icon":t(i?"color.a-12":"color.a-11"),"copy-inverted":t("color.lowest"),"copy-inverted-lowcontrast":t("color.n-4"),"copy-inverted-icon":t("color.n-3"),"tag-neutral-weak-bg":a==="fill"?t("color.n-2"):It,"tag-neutral-weak-copy":t("color.n-12"),"tag-neutral-weak-stroke-color":t(a==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":a==="fill"?t("color.n-12"):It,"tag-neutral-strong-copy":t(a==="fill"?"color.white":"color.n-12"),"tag-neutral-strong-stroke-color":r(i?"n-12":"n-4",a==="stroke"?1:0),"tag-monetary-weak-bg":t("color.m-3"),"tag-monetary-weak-copy":t("color.m-11"),"tag-monetary-weak-stroke-color":t("color.m-4"),"tag-accent-strong-bg":e.mode==="dark"?t("color.a-9"):t("color.a-11"),"tag-accent-strong-copy":t("color.white"),"tag-accent-strong-stroke-color":It,"radius-app":xt(e).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":xt(e).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":xt(e).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":xt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":xt(e).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":xt(e).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":xt(e).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(i?"n-5":"n-4",.01),"interactive-neutral-bg-hover":t(i?"color.n-5":"color.n-4"),"interactive-neutral-text":t("color.n-12"),"interactive-accent-bg":r(a==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":t(a==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":t("color.a-11"),"radius-interactive":xt(e).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":a==="fill"?t("color.n-2"):It,"section-strong-bg":a==="fill"?t(i?"color.n-3":"color.n-2"):It,"section-weak-stroke-color":a==="fill"?It:t(i?"color.n-7":"color.n-3"),"section-strong-stroke-color":a==="fill"?It:t(i?"color.n-11":"color.n-4"),"section-stroke-width":xt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":xt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>It),"job-card-bg-active":xt(e).with({highlights:"fill"},()=>t("color.lowest")).otherwise(()=>It),"job-card-stroke-color":t(i?"color.n-10":"color.n-4"),"job-card-stroke-color-active":t("color.a-9"),"job-card-stroke-width":xt(e).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),m_=__({prefix:"i-"}),y_=t=>{const e=w_.from({theme:t,getToken:m_}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${hi} {
19
19
  ${n.concat(n).join(`
20
20
  `)}
21
- }`},b_=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${pa}`);return dt(t,`Element with id ${pa} not found.`),t}}))(),x_=()=>Li(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var i;return Q(pn,{Fallback:Qu},[[Q("style",{id:"inploi-job-search-styles"},d_),Q("style",{id:"inploi-job-search-theme"},y_(o.theme))],Q(ed,{theme:o.theme}),Q(u_,{properties:o.properties,apiClient:t,logger:e,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,params:o})])};return{prerender:async o=>{const i=o.withData?await wa({filters:No(o.properties),apiClient:t,logger:e}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:Au(Q(I,{},Q(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?Wr:De;dt(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(Q(r,{params:o}),b_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=x_;function Ws(t,e){if(!t)throw new Error(e)}var yn,S,Bs,Ys,xe,Ks,qs,Vo,Gs,bn={},Xs=[],$_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,or=Array.isArray;function Ht(t,e){for(var n in e)t[n]=e[n];return t}function Zs(t){var e=t.parentNode;e&&e.removeChild(t)}function E(t,e,n){var r,o,i,a={};for(i in e)i=="key"?r=e[i]:i=="ref"?o=e[i]:a[i]=e[i];if(arguments.length>2&&(a.children=arguments.length>3?yn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(i in t.defaultProps)a[i]===void 0&&(a[i]=t.defaultProps[i]);return xn(t,a,r,o,null)}function xn(t,e,n,r,o){var i={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Bs,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(i),i}function Js(){return{current:null}}function J(t){return t.children}function $t(t,e){this.props=t,this.context=e}function Ve(t,e){if(e==null)return t.__?Ve(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Ve(t):null}function Qs(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Qs(t)}}function Uo(t){(!t.__d&&(t.__d=!0)&&xe.push(t)&&!ir.__r++||Ks!==S.debounceRendering)&&((Ks=S.debounceRendering)||qs)(ir)}function ir(){var t,e,n,r,o,i,a,s,l;for(xe.sort(Vo);t=xe.shift();)t.__d&&(e=xe.length,r=void 0,i=(o=(n=t).__v).__e,s=[],l=[],(a=n.__P)&&((r=Ht({},o)).__v=o.__v+1,S.vnode&&S.vnode(r),zo(a,r,o,n.__n,a.ownerSVGElement!==void 0,32&o.__u?[i]:null,s,i??Ve(o),!!(32&o.__u),l),r.__.__k[r.__i]=r,ic(s,r,l),r.__e!=i&&Qs(r)),xe.length>e&&xe.sort(Vo));ir.__r=0}function tc(t,e,n,r,o,i,a,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Xs,v=e.length;for(n.__d=l,k_(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?bn:w[d.__i]||bn,d.__i=c,zo(t,d,p,o,i,a,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Wo(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?l=ec(d,l,t):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function k_(t,e,n){var r,o,i,a,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?xn(null,o,null,null,o):or(o)?xn(J,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?xn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=j_(o,n,a=r+c,f),o.__i=s,i=null,s!==-1&&(f--,(i=n[s])&&(i.__u|=131072)),i==null||i.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==a&&(s===a+1?c++:s>a?f>l-a?c+=s-a:c--:c=s<a&&s==a-1?s-a:0,s!==r+c&&(o.__u|=65536))):(i=n[r])&&i.key==null&&i.__e&&(i.__e==t.__d&&(t.__d=Ve(i)),Bo(i,i,!1),n[r]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==t.__d&&(t.__d=Ve(i)),Bo(i,i))}function ec(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=ec(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Vt(t,e){return e=e||[],t==null||typeof t=="boolean"||(or(t)?t.some(function(n){Vt(n,e)}):e.push(t)),e}function j_(t,e,n,r){var o=t.key,i=t.type,a=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&i===l.type)return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;a>=0||s<e.length;){if(a>=0){if((l=e[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function nc(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||$_.test(e)?n:n+"px"}function ar(t,e,n,r,o){var i;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||nc(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||nc(t.style,e,n[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]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,i?oc:rc,i)):t.removeEventListener(e,i?oc:rc,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]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function rc(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(S.event?S.event(t):t)}function oc(t){return this.l[t.type+!0](S.event?S.event(t):t)}function zo(t,e,n,r,o,i,a,s,l,u){var f,c,p,d,_,h,w,v,m,y,b,x,k,C,$,j=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=e.__e=n.__e]),(f=S.__b)&&f(e);t:if(typeof j=="function")try{if(v=e.props,m=(f=j.contextType)&&r[f.__c],y=f?m?m.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:("prototype"in j&&j.prototype.render?e.__c=c=new j(v,y):(e.__c=c=new $t(v,y),c.constructor=j,c.render=C_),m&&m.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ht({},c.__s)),Ht(c.__s,j.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(j.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,y)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(O){O&&(O.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&a.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=t,c.__e=!1,x=S.__r,k=0,"prototype"in j&&j.prototype.render){for(c.state=c.__s,c.__d=!1,x&&x(e),f=c.render(c.props,c.state,c.context),C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[]}else do c.__d=!1,x&&x(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,c.getChildContext!=null&&(r=Ht(Ht({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(d,_)),tc(t,or($=f!=null&&f.type===J&&f.key==null?f.props.children:f)?$:[$],e,n,r,o,i,a,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&a.push(c),w&&(c.__E=c.__=null)}catch(O){e.__v=null,l||i!=null?(e.__e=s,e.__u|=l?160:32,i[i.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),S.__e(O,e,n)}else i==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=S_(n.__e,e,n,r,o,i,a,l,u);(f=S.diffed)&&f(e)}function ic(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Wo(n[r],n[++r],n[++r]);S.__c&&S.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(i){i.call(o)})}catch(i){S.__e(i,o.__v)}})}function S_(t,e,n,r,o,i,a,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,m=e.type;if(m==="svg"&&(o=!0),i!=null){for(u=0;u<i.length;u++)if((d=i[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){t=d,i[u]=null;break}}if(t==null){if(m===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,v.is&&v),i=null,s=!1}if(m===null)w===v||s&&t.data===v||(t.data=v);else{if(i=i&&yn.call(t.childNodes),w=n.props||bn,!s&&i!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)d=w[u],u=="children"||(u=="dangerouslySetInnerHTML"?c=d:u==="key"||u in v||ar(t,u,null,d,o));for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||ar(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),tc(t,or(p)?p:[p],e,n,r,o&&m!=="foreignObject",i,a,i?i[0]:n.__k&&Ve(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Zs(i[u]);s||(u="value",_!==void 0&&(_!==t[u]||m==="progress"&&!_||m==="option"&&_!==w[u])&&ar(t,u,_,w[u],!1),u="checked",h!==void 0&&h!==t[u]&&ar(t,u,h,w[u],!1))}return t}function Wo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){S.__e(r,n)}}function Bo(t,e,n){var r,o;if(S.unmount&&S.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Wo(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){S.__e(i,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Bo(r[o],e,n||typeof t.type!="function");n||t.__e==null||Zs(t.__e),t.__=t.__e=t.__d=void 0}function C_(t,e,n){return this.constructor(t,n)}function Ue(t,e,n){var r,o,i,a;S.__&&S.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,i=[],a=[],zo(e,t=(!r&&n||e).__k=E(J,null,[t]),o||bn,bn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?yn.call(e.childNodes):null,i,!r&&n?n:o?o.__e:e.firstChild,r,a),ic(i,t,a)}function Yo(t,e){Ue(t,e,Yo)}function E_(t,e,n){var r,o,i,a,s=Ht({},t.props);for(i in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)i=="key"?r=e[i]:i=="ref"?o=e[i]:s[i]=e[i]===void 0&&a!==void 0?a[i]:e[i];return arguments.length>2&&(s.children=arguments.length>3?yn.call(arguments,2):n),xn(t.type,s,r||t.key,o||t.ref,null)}function $n(t,e){var n={__c:e="__cC"+Gs++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){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(s){s.__e=!0,Uo(s)})},this.sub=function(a){o.push(a);var s=a.componentWillUnmount;a.componentWillUnmount=function(){o.splice(o.indexOf(a),1),s&&s.call(a)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}yn=Xs.slice,S={__e:function(t,e,n,r){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,r||{}),a=o.__d),a)return o.__E=o}catch(s){t=s}throw t}},Bs=0,Ys=function(t){return t!=null&&t.constructor==null},$t.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ht({},this.state),typeof t=="function"&&(t=t(Ht({},n),this.props)),t&&Ht(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Uo(this))},$t.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Uo(this))},$t.prototype.render=J,xe=[],qs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vo=function(t,e){return t.__v.__b-e.__v.__b},ir.__r=0,Gs=0;var ac=/[\s\n\\/='"\0<>]/,sc=/^(xlink|xmlns|xml)([A-Z])/,O_=/^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]/,A_=/^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/,P_=/["&<]/;function sr(t){if(t.length===0||P_.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var cc={},T_=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"]),R_=/[A-Z]/g;function D_(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:cc[n]||(cc[n]=n.replace(R_,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||T_.has(o)||(i="px;"),e=e+o+":"+r+i}}return e||void 0}var Ko,$e,kn,ke,lc=[],uc=Array.isArray,qo=Object.assign;function N_(t,e){var n=S.__s;S.__s=!0,Ko=S.__b,$e=S.diffed,kn=S.__r,ke=S.unmount;var r=E(J,null);r.__k=[t];try{return je(t,e||fc,!1,void 0,r)}finally{S.__c&&S.__c(t,lc),S.__s=n,lc.length=0}}function dc(){this.__d=!0}var fc={};function pc(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=fc),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=qo({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),kn&&kn(t),n.render(n.props,n.state,e)}function je(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":sr(t+"");if(uc(t)){var i="";o.__k=t;for(var a=0;a<t.length;a++){var s=t[a];s!=null&&typeof s!="boolean"&&(i+=je(s,e,n,r,o))}return i}if(t.constructor!==void 0)return"";t.__=o,Ko&&Ko(t);var l,u,f,c=t.type,p=t.props,d=e;if(typeof c=="function"){if(c===J){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var w=p.exprs[h];if(w==null)continue;typeof w!="object"||w.constructor!==void 0&&!uc(w)?_+=w:_+=je(w,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+sr(p.UNSTABLE_comment||"")+"-->";u=p.children}else{if((l=c.contextType)!=null){var v=e[l.__c];d=v?v.props.value:l.__}if(c.prototype&&typeof c.prototype.render=="function")u=pc(t,d),f=t.__c;else{t.__c=f={__v:t,props:p,context:d,setState:dc,forceUpdate:dc,__d:!0,__h:[]};for(var m=0;f.__d&&m++<25;)f.__d=!1,kn&&kn(t),u=c.call(f,p,d);f.__d=!0}if(f.getChildContext!=null&&(e=qo({},e,f.getChildContext())),(c.getDerivedStateFromError||f.componentDidCatch)&&S.errorBoundaries){var y="";u=u!=null&&u.type===J&&u.key==null?u.props.children:u;try{return y=je(u,e,n,r,t)}catch(O){return c.getDerivedStateFromError&&(f.__s=c.getDerivedStateFromError(O)),f.componentDidCatch&&f.componentDidCatch(O,{}),f.__d&&(u=pc(t,e),(f=t.__c).getChildContext!=null&&(e=qo({},e,f.getChildContext())),y=je(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t)),y}finally{$e&&$e(t),t.__=void 0,ke&&ke(t)}}}var b=je(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t);return $e&&$e(t),t.__=void 0,ke&&ke(t),b}var x,k="<"+c,C="";for(var $ in p){var j=p[$];switch($){case"children":x=j;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;$="for";break;case"className":if("class"in p)continue;$="class";break;case"defaultChecked":$="checked";break;case"defaultSelected":$="selected";break;case"defaultValue":case"value":switch($="value",c){case"textarea":x=j;continue;case"select":r=j;continue;case"option":r!=j||"selected"in p||(k+=" selected")}break;case"dangerouslySetInnerHTML":C=j&&j.__html;continue;case"style":typeof j=="object"&&(j=D_(j));break;case"acceptCharset":$="accept-charset";break;case"httpEquiv":$="http-equiv";break;default:if(sc.test($))$=$.replace(sc,"$1:$2").toLowerCase();else{if(ac.test($))continue;$[4]!=="-"&&$!=="draggable"||j==null?n?A_.test($)&&($=$==="panose1"?"panose-1":$.replace(/([A-Z])/g,"-$1").toLowerCase()):O_.test($)&&($=$.toLowerCase()):j+=""}}j!=null&&j!==!1&&typeof j!="function"&&(k=j===!0||j===""?k+" "+$:k+" "+$+'="'+sr(j+"")+'"')}if(ac.test(c))throw new Error(c+" is not a valid HTML tag name in "+k+">");return C||(typeof x=="string"?C=sr(x):x!=null&&x!==!1&&x!==!0&&(C=je(x,e,c==="svg"||c!=="foreignObject"&&n,r,t))),$e&&$e(t),t.__=void 0,ke&&ke(t),!C&&L_.has(c)?k+"/>":k+">"+C+"</"+c+">"}var L_=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),M_=0;function A(t,e,n,r,o,i){var a,s,l={};for(s in e)s=="ref"?a=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--M_,__i:-1,__u:0,__source:o,__self:i};if(typeof t=="function"&&(a=t.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return S.vnode&&S.vnode(u),u}const F_={bell:A("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:A("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":A("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},I_=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(F_).map(([e,n])=>A("symbol",{id:`i-icon-${e}`,children:A("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),hc=({name:t,...e})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:A("use",{href:`#i-icon-${t}`})});function it(){return it=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},it.apply(this,arguments)}var Ut,z,Go,vc,ze=0,_c=[],cr=[],gc=S.__b,wc=S.__r,mc=S.diffed,yc=S.__c,bc=S.unmount;function Se(t,e){S.__h&&S.__h(z,t,ze||e),ze=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:cr}),n.__[t]}function K(t){return ze=1,lr(Sc,t)}function lr(t,e,n){var r=Se(Ut++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Sc(void 0,e),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=z,!z.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!i||i.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!i||i.call(this,s,l,u))};z.u=!0;var i=z.shouldComponentUpdate,a=z.componentWillUpdate;z.componentWillUpdate=function(s,l,u){if(this.__e){var f=i;i=void 0,o(s,l,u),i=f}a&&a.call(this,s,l,u)},z.shouldComponentUpdate=o}return r.__N||r.__}function G(t,e){var n=Se(Ut++,3);!S.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,z.__H.__h.push(n))}function Ce(t,e){var n=Se(Ut++,4);!S.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,z.__h.push(n))}function V(t){return ze=5,lt(function(){return{current:t}},[])}function xc(t,e,n){ze=6,Ce(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function lt(t,e){var n=Se(Ut++,7);return Zo(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function nt(t,e){return ze=8,lt(function(){return t},e)}function ur(t){var e=z.context[t.__c],n=Se(Ut++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(z)),e.props.value):t.__}function $c(t,e){S.useDebugValue&&S.useDebugValue(e?e(t):t)}function H_(t){var e=Se(Ut++,10),n=K();return e.__=t,z.componentDidCatch||(z.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function kc(){var t=Se(Ut++,11);if(!t.__){for(var e=z.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function V_(){for(var t;t=_c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(dr),t.__H.__h.forEach(Xo),t.__H.__h=[]}catch(e){t.__H.__h=[],S.__e(e,t.__v)}}S.__b=function(t){z=null,gc&&gc(t)},S.__r=function(t){wc&&wc(t),Ut=0;var e=(z=t.__c).__H;e&&(Go===z?(e.__h=[],z.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=cr,n.__N=n.i=void 0})):(e.__h.forEach(dr),e.__h.forEach(Xo),e.__h=[],Ut=0)),Go=z},S.diffed=function(t){mc&&mc(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(_c.push(e)!==1&&vc===S.requestAnimationFrame||((vc=S.requestAnimationFrame)||U_)(V_)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==cr&&(n.__=n.__V),n.i=void 0,n.__V=cr})),Go=z=null},S.__c=function(t,e){e.some(function(n){try{n.__h.forEach(dr),n.__h=n.__h.filter(function(r){return!r.__||Xo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],S.__e(r,n.__v)}}),yc&&yc(t,e)},S.unmount=function(t){bc&&bc(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{dr(r)}catch(o){e=o}}),n.__H=void 0,e&&S.__e(e,n.__v))};var jc=typeof requestAnimationFrame=="function";function U_(t){var e,n=function(){clearTimeout(r),jc&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);jc&&(e=requestAnimationFrame(n))}function dr(t){var e=z,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),z=e}function Xo(t){var e=z;t.__c=t.__(),z=e}function Zo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Sc(t,e){return typeof e=="function"?e(t):e}function Cc(t,e){for(var n in e)t[n]=e[n];return t}function Jo(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function fr(t){this.props=t}function Ec(t,e){function n(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:Jo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,E(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(fr.prototype=new $t).isPureReactComponent=!0,fr.prototype.shouldComponentUpdate=function(t,e){return Jo(this.props,t)||Jo(this.state,e)};var Oc=S.__b;S.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Oc&&Oc(t)};var z_=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function rt(t){function e(n){var r=Cc({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=z_,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Ac=function(t,e){return t==null?null:Vt(Vt(t).map(e))},zt={map:Ac,forEach:Ac,count:function(t){return t?Vt(t).length:0},only:function(t){var e=Vt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Vt},W_=S.__e;S.__e=function(t,e,n,r){if(t.then){for(var o,i=e;i=i.__;)if((o=i.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}W_(t,e,n,r)};var Pc=S.unmount;function Tc(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Cc({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Tc(r,e,n)})),t}function Rc(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Rc(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function jn(){this.__u=0,this.t=null,this.__b=null}function Dc(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Nc(t){var e,n,r;function o(i){if(e||(e=t()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw e;return E(n,i)}return o.displayName="Lazy",o.__f=!0,o}function We(){this.u=null,this.o=null}S.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Pc&&Pc(t)},(jn.prototype=new $t).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Dc(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Rc(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(a,a)},jn.prototype.componentWillUnmount=function(){this.t=[]},jn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Tc(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&E(J,null,t.fallback);return o&&(o.__u&=-33),[E(J,null,e.__a?null:t.children),o]};var Lc=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function B_(t){return this.getChildContext=function(){return t.context},t.children}function Y_(t){var e=this,n=t.i;e.componentWillUnmount=function(){Ue(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Ue(E(B_,{context:e.context},t.__v),e.l)}function Mc(t,e){var n=E(Y_,{__v:t,i:e});return n.containerInfo=e,n}(We.prototype=new $t).__a=function(t){var e=this,n=Dc(e.__v),r=e.o.get(t);return r[0]++,function(o){var i=function(){e.props.revealOrder?(r.push(o),Lc(e,t,r)):o()};n?n(i):i()}},We.prototype.render=function(t){this.u=null,this.o=new Map;var e=Vt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},We.prototype.componentDidUpdate=We.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Lc(t,n,e)})};var Fc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,K_=/^(?: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]/,q_=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,G_=/[A-Z0-9]/g,X_=typeof document<"u",Z_=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ic(t,e,n){return e.__k==null&&(e.textContent=""),Ue(t,e),typeof n=="function"&&n(),t?t.__c:null}function Hc(t,e,n){return Yo(t,e),typeof n=="function"&&n(),t?t.__c:null}$t.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty($t.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Vc=S.event;function J_(){}function Q_(){return this.cancelBubble}function tg(){return this.defaultPrevented}S.event=function(t){return Vc&&(t=Vc(t)),t.persist=J_,t.isPropagationStopped=Q_,t.isDefaultPrevented=tg,t.nativeEvent=t};var Qo,eg={enumerable:!1,configurable:!0,get:function(){return this.class}},Uc=S.vnode;S.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||X_&&i==="children"&&r==="noscript"||i==="class"||i==="className")){var s=i.toLowerCase();i==="defaultValue"&&"value"in n&&n.value==null?i="value":i==="download"&&a===!0?a="":s==="ondoubleclick"?i="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Z_(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":q_.test(i)?i=s:r.indexOf("-")===-1&&K_.test(i)?i=i.replace(G_,"-$&").toLowerCase():a===null&&(a=void 0):s=i="oninput",s==="oninput"&&o[i=s]&&(i="oninputCapture"),o[i]=a}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Vt(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Vt(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",eg)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Fc,Uc&&Uc(t)};var zc=S.__r;S.__r=function(t){zc&&zc(t),Qo=t.__c};var Wc=S.diffed;S.diffed=function(t){Wc&&Wc(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Qo=null};var Bc={ReactCurrentDispatcher:{current:{readContext:function(t){return Qo.__n[t.__c].props.value}}}},ng="17.0.2";function Yc(t){return E.bind(null,t)}function Wt(t){return!!t&&t.$$typeof===Fc}function Kc(t){return Wt(t)&&t.type===J}function Be(t){return Wt(t)?E_.apply(null,arguments):t}function qc(t){return!!t.__k&&(Ue(null,t),!0)}function Gc(t){return t&&(t.base||t.nodeType===1&&t)||null}var Xc=function(t,e){return t(e)},Sn=function(t,e){return t(e)},Zc=J;function ti(t){t()}function Jc(t){return t}function Qc(){return[!1,ti]}var tl=Ce,el=Wt;function nl(t,e){var n=e(),r=K({h:{__:n,v:e}}),o=r[0].h,i=r[1];return Ce(function(){o.__=n,o.v=e,ei(o)&&i({h:o})},[t,n,e]),G(function(){return ei(o)&&i({h:o}),t(function(){ei(o)&&i({h:o})})},[t]),n}function ei(t){var e,n,r=t.v,o=t.__;try{var i=r();return!((e=o)===(n=i)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var rl={useState:K,useId:kc,useReducer:lr,useEffect:G,useLayoutEffect:Ce,useInsertionEffect:tl,useTransition:Qc,useDeferredValue:Jc,useSyncExternalStore:nl,startTransition:ti,useRef:V,useImperativeHandle:xc,useMemo:lt,useCallback:nt,useContext:ur,useDebugValue:$c,version:"17.0.2",Children:zt,render:Ic,hydrate:Hc,unmountComponentAtNode:qc,createPortal:Mc,createElement:E,createContext:$n,createFactory:Yc,cloneElement:Be,createRef:Js,Fragment:J,isValidElement:Wt,isElement:el,isFragment:Kc,findDOMNode:Gc,Component:$t,PureComponent:fr,memo:Ec,forwardRef:rt,flushSync:Sn,unstable_batchedUpdates:Xc,StrictMode:Zc,Suspense:jn,SuspenseList:We,lazy:Nc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Bc};const rg=Object.freeze(Object.defineProperty({__proto__:null,Children:zt,Component:$t,Fragment:J,PureComponent:fr,StrictMode:Zc,Suspense:jn,SuspenseList:We,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Bc,cloneElement:Be,createContext:$n,createElement:E,createFactory:Yc,createPortal:Mc,createRef:Js,default:rl,findDOMNode:Gc,flushSync:Sn,forwardRef:rt,hydrate:Hc,isElement:el,isFragment:Kc,isValidElement:Wt,lazy:Nc,memo:Ec,render:Ic,startTransition:ti,unmountComponentAtNode:qc,unstable_batchedUpdates:Xc,useCallback:nt,useContext:ur,useDebugValue:$c,useDeferredValue:Jc,useEffect:G,useErrorBoundary:H_,useId:kc,useImperativeHandle:xc,useInsertionEffect:tl,useLayoutEffect:Ce,useMemo:lt,useReducer:lr,useRef:V,useState:K,useSyncExternalStore:nl,useTransition:Qc,version:ng},Symbol.toStringTag,{value:"Module"}));function Ee(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t==null||t(o),n===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function og(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function ol(...t){return e=>t.forEach(n=>og(n,e))}function Oe(...t){return nt(ol(...t),t)}function il(t,e=[]){let n=[];function r(i,a){const s=$n(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:d,..._}=c,h=(p==null?void 0:p[t][l])||s,w=lt(()=>_,Object.values(_));return E(h.Provider,{value:w},d)}function f(c,p){const d=(p==null?void 0:p[t][l])||s,_=ur(d);if(_)return _;if(a!==void 0)return a;throw new Error(`\`${c}\` must be used within \`${i}\``)}return u.displayName=i+"Provider",[u,f]}const o=()=>{const i=n.map(a=>$n(a));return function(s){const l=(s==null?void 0:s[t])||i;return lt(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,ig(o,...e)]}function ig(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...s,...c}},{});return lt(()=>({[`__scope${e.scopeName}`]:a}),[a])}};return n.scopeName=e.scopeName,n}const ni=rt((t,e)=>{const{children:n,...r}=t,o=zt.toArray(n),i=o.find(sg);if(i){const a=i.props.children,s=o.map(l=>l===i?zt.count(a)>1?zt.only(null):Wt(a)?a.props.children:null:l);return E(ri,it({},r,{ref:e}),Wt(a)?Be(a,void 0,s):null)}return E(ri,it({},r,{ref:e}),n)});ni.displayName="Slot";const ri=rt((t,e)=>{const{children:n,...r}=t;return Wt(n)?Be(n,{...cg(r,n.props),ref:e?ol(e,n.ref):n.ref}):zt.count(n)>1?zt.only(null):null});ri.displayName="SlotClone";const ag=({children:t})=>E(J,null,t);function sg(t){return Wt(t)&&t.type===ag}function cg(t,e){const n={...e};for(const r in e){const o=t[r],i=e[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...t,...n}}const Ye=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=rt((r,o)=>{const{asChild:i,...a}=r,s=i?ni:e;return G(()=>{window[Symbol.for("radix-ui")]=!0},[]),E(s,it({},a,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function lg(t,e){t&&Sn(()=>t.dispatchEvent(e))}function se(t){const e=V(t);return G(()=>{e.current=t}),lt(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function ug(t,e=globalThis==null?void 0:globalThis.document){const n=se(t);G(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const oi="dismissableLayer.update",dg="dismissableLayer.pointerDownOutside",fg="dismissableLayer.focusOutside";let al;const pg=$n({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hg=rt((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=t,f=ur(pg),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=K({}),h=Oe(e,$=>p($)),w=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=w.indexOf(v),y=c?w.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,x=y>=m,k=vg($=>{const j=$.target,O=[...f.branches].some(N=>N.contains(j));!x||O||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),C=_g($=>{const j=$.target;[...f.branches].some(N=>N.contains(j))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return ug($=>{y===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),G(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(al=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),sl(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=al)}},[c,d,r,f]),G(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),sl())},[c,f]),G(()=>{const $=()=>_({});return document.addEventListener(oi,$),()=>document.removeEventListener(oi,$)},[]),E(Ye.div,it({},u,{ref:h,style:{pointerEvents:b?x?"auto":"none":void 0,...t.style},onFocusCapture:Ee(t.onFocusCapture,C.onFocusCapture),onBlurCapture:Ee(t.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ee(t.onPointerDownCapture,k.onPointerDownCapture)}))});function vg(t,e=globalThis==null?void 0:globalThis.document){const n=se(t),r=V(!1),o=V(()=>{});return G(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){cl(dg,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{e.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),e.removeEventListener("pointerdown",i),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function _g(t,e=globalThis==null?void 0:globalThis.document){const n=se(t),r=V(!1);return G(()=>{const o=i=>{i.target&&!r.current&&cl(fg,n,{originalEvent:i},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function sl(){const t=new CustomEvent(oi);document.dispatchEvent(t)}function cl(t,e,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?lg(o,i):o.dispatchEvent(i)}let ii=0;function gg(){G(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:ll()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:ll()),ii++,()=>{ii===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),ii--}},[])}function ll(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}const ai="focusScope.autoFocusOnMount",si="focusScope.autoFocusOnUnmount",ul={bubbles:!1,cancelable:!0},wg=rt((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=t,[s,l]=K(null),u=se(o),f=se(i),c=V(null),p=Oe(e,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;G(()=>{if(r){let h=function(y){if(d.paused||!s)return;const b=y.target;s.contains(b)?c.current=b:ce(c.current,{select:!0})},w=function(y){if(d.paused||!s)return;const b=y.relatedTarget;b!==null&&(s.contains(b)||ce(c.current,{select:!0}))},v=function(y){if(document.activeElement===document.body)for(const x of y)x.removedNodes.length>0&&ce(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",w);const m=new MutationObserver(v);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",w),m.disconnect()}}},[r,s,d.paused]),G(()=>{if(s){pl.add(d);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(ai,ul);s.addEventListener(ai,u),s.dispatchEvent(v),v.defaultPrevented||(mg(kg(dl(s)),{select:!0}),document.activeElement===h&&ce(s))}return()=>{s.removeEventListener(ai,u),setTimeout(()=>{const v=new CustomEvent(si,ul);s.addEventListener(si,f),s.dispatchEvent(v),v.defaultPrevented||ce(h??document.body,{select:!0}),s.removeEventListener(si,f),pl.remove(d)},0)}}},[s,u,f,d]);const _=nt(h=>{if(!n&&!r||d.paused)return;const w=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(w&&v){const m=h.currentTarget,[y,b]=yg(m);y&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&ce(y,{select:!0})):h.shiftKey&&v===y&&(h.preventDefault(),n&&ce(b,{select:!0})):v===m&&h.preventDefault()}},[n,r,d.paused]);return E(Ye.div,it({tabIndex:-1},a,{ref:p,onKeyDown:_}))});function mg(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ce(r,{select:e}),document.activeElement!==n)return}function yg(t){const e=dl(t),n=fl(e,t),r=fl(e.reverse(),t);return[n,r]}function dl(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function fl(t,e){for(const n of t)if(!bg(n,{upTo:e}))return n}function bg(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function xg(t){return t instanceof HTMLInputElement&&"select"in t}function ce(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&xg(t)&&e&&t.select()}}const pl=$g();function $g(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=hl(t,e),t.unshift(e)},remove(e){var n;t=hl(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function hl(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function kg(t){return t.filter(e=>e.tagName!=="A")}const Ke=globalThis!=null&&globalThis.document?Ce:()=>{},jg=rg["useId".toString()]||(()=>{});let Sg=0;function Cg(t){const[e,n]=K(jg());return Ke(()=>{t||n(r=>r??String(Sg++))},[t]),t||(e?`radix-${e}`:"")}const Eg=["top","right","bottom","left"],le=Math.min,_t=Math.max,pr=Math.round,hr=Math.floor,ue=t=>({x:t,y:t}),Og={left:"right",right:"left",bottom:"top",top:"bottom"},Ag={start:"end",end:"start"};function ci(t,e,n){return _t(t,le(e,n))}function Bt(t,e){return typeof t=="function"?t(e):t}function Yt(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function li(t){return t==="x"?"y":"x"}function ui(t){return t==="y"?"height":"width"}function Ge(t){return["top","bottom"].includes(Yt(t))?"y":"x"}function di(t){return li(Ge(t))}function Pg(t,e,n){n===void 0&&(n=!1);const r=qe(t),o=di(t),i=ui(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(a=vr(a)),[a,vr(a)]}function Tg(t){const e=vr(t);return[fi(t),e,fi(e)]}function fi(t){return t.replace(/start|end/g,e=>Ag[e])}function Rg(t,e,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?i:a;default:return[]}}function Dg(t,e,n,r){const o=qe(t);let i=Rg(Yt(t),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),e&&(i=i.concat(i.map(fi)))),i}function vr(t){return t.replace(/left|right|bottom|top/g,e=>Og[e])}function Ng(t){return{top:0,right:0,bottom:0,left:0,...t}}function vl(t){return typeof t!="number"?Ng(t):{top:t,right:t,bottom:t,left:t}}function _r(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function _l(t,e,n){let{reference:r,floating:o}=t;const i=Ge(e),a=di(e),s=ui(a),l=Yt(e),u=i==="y",f=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let d;switch(l){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:c};break;case"left":d={x:r.x-o.width,y:c};break;default:d={x:r.x,y:r.y}}switch(qe(e)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const Lg=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(e));let u=await a.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:c}=_l(u,r,l),p=r,d={},_=0;for(let h=0;h<s.length;h++){const{name:w,fn:v}=s[h],{x:m,y,data:b,reset:x}=await v({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:t,floating:e}});f=m??f,c=y??c,d={...d,[w]:{...d[w],...b}},x&&_<=50&&(_++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:o}):x.rects),{x:f,y:c}=_l(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function Cn(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=Bt(e,t),_=vl(d),w=s[p?c==="floating"?"reference":"floating":c],v=_r(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),m=c==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},x=_r(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:y,strategy:l}):m);return{top:(v.top-x.top+_.top)/b.y,bottom:(x.bottom-v.bottom+_.bottom)/b.y,left:(v.left-x.left+_.left)/b.x,right:(x.right-v.right+_.right)/b.x}}const Mg=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=e,{element:u,padding:f=0}=Bt(t,e)||{};if(u==null)return{};const c=vl(f),p={x:n,y:r},d=di(o),_=ui(d),h=await a.getDimensions(u),w=d==="y",v=w?"top":"left",m=w?"bottom":"right",y=w?"clientHeight":"clientWidth",b=i.reference[_]+i.reference[d]-p[d]-i.floating[_],x=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=k?k[y]:0;(!C||!await(a.isElement==null?void 0:a.isElement(k)))&&(C=s.floating[y]||i.floating[_]);const $=b/2-x/2,j=C/2-h[_]/2-1,O=le(c[v],j),N=le(c[m],j),L=O,M=C-h[_]-N,D=C/2-h[_]/2+$,F=ci(L,D,M),R=!l.arrow&&qe(o)!=null&&D!==F&&i.reference[_]/2-(D<L?O:N)-h[_]/2<0,T=R?D<L?D-L:D-M:0;return{[d]:p[d]+T,data:{[d]:F,centerOffset:D-F-T,...R&&{alignmentOffset:T}},reset:R}}}),Fg=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...w}=Bt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const v=Yt(o),m=Yt(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=p||(m||!h?[vr(s)]:Tg(s));!p&&_!=="none"&&b.push(...Dg(s,h,_,y));const x=[s,...b],k=await Cn(e,w),C=[];let $=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&C.push(k[v]),c){const L=Pg(o,a,y);C.push(k[L[0]],k[L[1]])}if($=[...$,{placement:o,overflows:C}],!C.every(L=>L<=0)){var j,O;const L=(((j=i.flip)==null?void 0:j.index)||0)+1,M=x[L];if(M)return{data:{index:L,overflows:$},reset:{placement:M}};let D=(O=$.filter(F=>F.overflows[0]<=0).sort((F,R)=>F.overflows[1]-R.overflows[1])[0])==null?void 0:O.placement;if(!D)switch(d){case"bestFit":{var N;const F=(N=$.map(R=>[R.placement,R.overflows.filter(T=>T>0).reduce((T,tt)=>T+tt,0)]).sort((R,T)=>R[1]-T[1])[0])==null?void 0:N[0];F&&(D=F);break}case"initialPlacement":D=s;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function gl(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function wl(t){return Eg.some(e=>t[e]>=0)}const Ig=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Bt(t,e);switch(r){case"referenceHidden":{const i=await Cn(e,{...o,elementContext:"reference"}),a=gl(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:wl(a)}}}case"escaped":{const i=await Cn(e,{...o,altBoundary:!0}),a=gl(i,n.floating);return{data:{escapedOffsets:a,escaped:wl(a)}}}default:return{}}}}};async function Hg(t,e){const{placement:n,platform:r,elements:o}=t,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Yt(n),s=qe(n),l=Ge(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=Bt(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(d=s==="end"?_*-1:_),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const Vg=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=e,l=await Hg(e,t);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},Ug=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:w=>{let{x:v,y:m}=w;return{x:v,y:m}}},...l}=Bt(t,e),u={x:n,y:r},f=await Cn(e,l),c=Ge(Yt(o)),p=li(c);let d=u[p],_=u[c];if(i){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",m=d+f[w],y=d-f[v];d=ci(m,d,y)}if(a){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",m=_+f[w],y=_-f[v];_=ci(m,_,y)}const h=s.fn({...e,[p]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},zg=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Bt(t,e),f={x:n,y:r},c=Ge(o),p=li(c);let d=f[p],_=f[c];const h=Bt(s,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=p==="y"?"height":"width",b=i.reference[p]-i.floating[y]+w.mainAxis,x=i.reference[p]+i.reference[y]-w.mainAxis;d<b?d=b:d>x&&(d=x)}if(u){var v,m;const y=p==="y"?"width":"height",b=["top","left"].includes(Yt(o)),x=i.reference[c]-i.floating[y]+(b&&((v=a.offset)==null?void 0:v[c])||0)+(b?0:w.crossAxis),k=i.reference[c]+i.reference[y]+(b?0:((m=a.offset)==null?void 0:m[c])||0)-(b?w.crossAxis:0);_<x?_=x:_>k&&(_=k)}return{[p]:d,[c]:_}}}},Wg=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:i}=e,{apply:a=()=>{},...s}=Bt(t,e),l=await Cn(e,s),u=Yt(n),f=qe(n),c=Ge(n)==="y",{width:p,height:d}=r.floating;let _,h;u==="top"||u==="bottom"?(_=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,_=f==="end"?"top":"bottom");const w=d-l[_],v=p-l[h],m=!e.middlewareData.shift;let y=w,b=v;if(c){const k=p-l.left-l.right;b=f||m?le(v,k):k}else{const k=d-l.top-l.bottom;y=f||m?le(w,k):k}if(m&&!f){const k=_t(l.left,0),C=_t(l.right,0),$=_t(l.top,0),j=_t(l.bottom,0);c?b=p-2*(k!==0||C!==0?k+C:_t(l.left,l.right)):y=d-2*($!==0||j!==0?$+j:_t(l.top,l.bottom))}await a({...e,availableWidth:b,availableHeight:y});const x=await o.getDimensions(i.floating);return p!==x.width||d!==x.height?{reset:{rects:!0}}:{}}}};function de(t){return ml(t)?(t.nodeName||"").toLowerCase():"#document"}function gt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Kt(t){var e;return(e=(ml(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ml(t){return t instanceof Node||t instanceof gt(t).Node}function qt(t){return t instanceof Element||t instanceof gt(t).Element}function Tt(t){return t instanceof HTMLElement||t instanceof gt(t).HTMLElement}function yl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gt(t).ShadowRoot}function En(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function Bg(t){return["table","td","th"].includes(de(t))}function pi(t){const e=hi(),n=kt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Yg(t){let e=Xe(t);for(;Tt(e)&&!gr(e);){if(pi(e))return e;e=Xe(e)}return null}function hi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function gr(t){return["html","body","#document"].includes(de(t))}function kt(t){return gt(t).getComputedStyle(t)}function wr(t){return qt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(t){if(de(t)==="html")return t;const e=t.assignedSlot||t.parentNode||yl(t)&&t.host||Kt(t);return yl(e)?e.host:e}function bl(t){const e=Xe(t);return gr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Tt(e)&&En(e)?e:bl(e)}function On(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=bl(t),i=o===((r=t.ownerDocument)==null?void 0:r.body),a=gt(o);return i?e.concat(a,a.visualViewport||[],En(o)?o:[],a.frameElement&&n?On(a.frameElement):[]):e.concat(o,On(o,[],n))}function xl(t){const e=kt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Tt(t),i=o?t.offsetWidth:n,a=o?t.offsetHeight:r,s=pr(n)!==i||pr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function vi(t){return qt(t)?t:t.contextElement}function Ze(t){const e=vi(t);if(!Tt(e))return ue(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:i}=xl(e);let a=(i?pr(n.width):n.width)/r,s=(i?pr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const Kg=ue(0);function $l(t){const e=gt(t);return!hi()||!e.visualViewport?Kg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qg(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==gt(t)?!1:e}function Ae(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=vi(t);let a=ue(1);e&&(r?qt(r)&&(a=Ze(r)):a=Ze(t));const s=qg(i,n,r)?$l(i):ue(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,f=o.width/a.x,c=o.height/a.y;if(i){const p=gt(i),d=r&&qt(r)?gt(r):r;let _=p,h=_.frameElement;for(;h&&r&&d!==_;){const w=Ze(h),v=h.getBoundingClientRect(),m=kt(h),y=v.left+(h.clientLeft+parseFloat(m.paddingLeft))*w.x,b=v.top+(h.clientTop+parseFloat(m.paddingTop))*w.y;l*=w.x,u*=w.y,f*=w.x,c*=w.y,l+=y,u+=b,_=gt(h),h=_.frameElement}}return _r({width:f,height:c,x:l,y:u})}const Gg=[":popover-open",":modal"];function kl(t){return Gg.some(e=>{try{return t.matches(e)}catch{return!1}})}function Xg(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const i=o==="fixed",a=Kt(r),s=e?kl(e.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=ue(1);const f=ue(0),c=Tt(r);if((c||!c&&!i)&&((de(r)!=="body"||En(a))&&(l=wr(r)),Tt(r))){const p=Ae(r);u=Ze(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x,y:n.y*u.y-l.scrollTop*u.y+f.y}}function Zg(t){return Array.from(t.getClientRects())}function jl(t){return Ae(Kt(t)).left+wr(t).scrollLeft}function Jg(t){const e=Kt(t),n=wr(t),r=t.ownerDocument.body,o=_t(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=_t(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+jl(t);const s=-n.scrollTop;return kt(r).direction==="rtl"&&(a+=_t(e.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Qg(t,e){const n=gt(t),r=Kt(t),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=hi();(!u||u&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function t0(t,e){const n=Ae(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,i=Tt(t)?Ze(t):ue(1),a=t.clientWidth*i.x,s=t.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function Sl(t,e,n){let r;if(e==="viewport")r=Qg(t,n);else if(e==="document")r=Jg(Kt(t));else if(qt(e))r=t0(e,n);else{const o=$l(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return _r(r)}function Cl(t,e){const n=Xe(t);return n===e||!qt(n)||gr(n)?!1:kt(n).position==="fixed"||Cl(n,e)}function e0(t,e){const n=e.get(t);if(n)return n;let r=On(t,[],!1).filter(s=>qt(s)&&de(s)!=="body"),o=null;const i=kt(t).position==="fixed";let a=i?Xe(t):t;for(;qt(a)&&!gr(a);){const s=kt(a),l=pi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||En(a)&&!l&&Cl(t,a))?r=r.filter(f=>f!==a):o=s,a=Xe(a)}return e.set(t,r),r}function n0(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const a=[...n==="clippingAncestors"?e0(e,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=Sl(e,f,o);return u.top=_t(c.top,u.top),u.right=le(c.right,u.right),u.bottom=le(c.bottom,u.bottom),u.left=_t(c.left,u.left),u},Sl(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function r0(t){const{width:e,height:n}=xl(t);return{width:e,height:n}}function o0(t,e,n){const r=Tt(e),o=Kt(e),i=n==="fixed",a=Ae(t,!0,i,e);let s={scrollLeft:0,scrollTop:0};const l=ue(0);if(r||!r&&!i)if((de(e)!=="body"||En(o))&&(s=wr(e)),r){const c=Ae(e,!0,i,e);l.x=c.x+e.clientLeft,l.y=c.y+e.clientTop}else o&&(l.x=jl(o));const u=a.left+s.scrollLeft-l.x,f=a.top+s.scrollTop-l.y;return{x:u,y:f,width:a.width,height:a.height}}function El(t,e){return!Tt(t)||kt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ol(t,e){const n=gt(t);if(!Tt(t)||kl(t))return n;let r=El(t,e);for(;r&&Bg(r)&&kt(r).position==="static";)r=El(r,e);return r&&(de(r)==="html"||de(r)==="body"&&kt(r).position==="static"&&!pi(r))?n:r||Yg(t)||n}const i0=async function(t){const e=this.getOffsetParent||Ol,n=this.getDimensions,r=await n(t.floating);return{reference:o0(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function a0(t){return kt(t).direction==="rtl"}const s0={convertOffsetParentRelativeRectToViewportRelativeRect:Xg,getDocumentElement:Kt,getClippingRect:n0,getOffsetParent:Ol,getElementRects:i0,getClientRects:Zg,getDimensions:r0,getScale:Ze,isElement:qt,isRTL:a0};function c0(t,e){let n=null,r;const o=Kt(t);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:f,width:c,height:p}=t.getBoundingClientRect();if(s||e(),!c||!p)return;const d=hr(f),_=hr(o.clientWidth-(u+c)),h=hr(o.clientHeight-(f+p)),w=hr(u),m={rootMargin:-d+"px "+-_+"px "+-h+"px "+-w+"px",threshold:_t(0,le(1,l))||1};let y=!0;function b(x){const k=x[0].intersectionRatio;if(k!==l){if(!y)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,m)}n.observe(t)}return a(!0),i}function l0(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=vi(t),f=o||i?[...u?On(u):[],...On(e)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const c=u&&s?c0(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(v=>{let[m]=v;m&&m.target===u&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(e)})),n()}),u&&!l&&d.observe(u),d.observe(e));let _,h=l?Ae(t):null;l&&w();function w(){const v=Ae(t);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(w)}return n(),()=>{var v;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,l&&cancelAnimationFrame(_)}}const u0=Vg,d0=Ug,f0=Fg,p0=Wg,h0=Ig,Al=Mg,v0=zg,_0=(t,e,n)=>{const r=new Map,o={platform:s0,...n},i={...o.platform,_c:r};return Lg(t,e,{...o,platform:i})},g0=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?Al({element:r.current,padding:o}).fn(n):{}:r?Al({element:r,padding:o}).fn(n):{}}}};var mr=typeof document<"u"?Ce:G;function yr(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!yr(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&t.$$typeof)&&!yr(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}function Pl(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Tl(t,e){const n=Pl(t);return Math.round(e*n)/n}function Rl(t){const e=V(t);return mr(()=>{e.current=t}),e}function w0(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[f,c]=K({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=K(r);yr(p,r)||d(r);const[_,h]=K(null),[w,v]=K(null),m=nt(T=>{T!==k.current&&(k.current=T,h(T))},[]),y=nt(T=>{T!==C.current&&(C.current=T,v(T))},[]),b=i||_,x=a||w,k=V(null),C=V(null),$=V(f),j=l!=null,O=Rl(l),N=Rl(o),L=nt(()=>{if(!k.current||!C.current)return;const T={placement:e,strategy:n,middleware:p};N.current&&(T.platform=N.current),_0(k.current,C.current,T).then(tt=>{const ct={...tt,isPositioned:!0};M.current&&!yr($.current,ct)&&($.current=ct,Sn(()=>{c(ct)}))})},[p,e,n,N]);mr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(T=>({...T,isPositioned:!1})))},[u]);const M=V(!1);mr(()=>(M.current=!0,()=>{M.current=!1}),[]),mr(()=>{if(b&&(k.current=b),x&&(C.current=x),b&&x){if(O.current)return O.current(b,x,L);L()}},[b,x,L,O,j]);const D=lt(()=>({reference:k,floating:C,setReference:m,setFloating:y}),[m,y]),F=lt(()=>({reference:b,floating:x}),[b,x]),R=lt(()=>{const T={position:n,left:0,top:0};if(!F.floating)return T;const tt=Tl(F.floating,f.x),ct=Tl(F.floating,f.y);return s?{...T,transform:"translate("+tt+"px, "+ct+"px)",...Pl(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:tt,top:ct}},[n,s,F.floating,f.x,f.y]);return lt(()=>({...f,update:L,refs:D,elements:F,floatingStyles:R}),[f,L,D,F,R])}function m0(t){const[e,n]=K(void 0);return Ke(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=t.offsetWidth,s=t.offsetHeight;n({width:a,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Dl="Popper",[Nl,Ll]=il(Dl),[y0,Ml]=Nl(Dl),b0=t=>{const{__scopePopper:e,children:n}=t,[r,o]=K(null);return E(y0,{scope:e,anchor:r,onAnchorChange:o},n)},x0="PopperAnchor",$0=rt((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,i=Ml(x0,n),a=V(null),s=Oe(e,a);return G(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:E(Ye.div,it({},o,{ref:s}))}),Fl="PopperContent",[k0,vm]=Nl(Fl),j0=rt((t,e)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:m=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:x="optimized",onPlaced:k,...C}=t,$=Ml(Fl,f),[j,O]=K(null),N=Oe(e,Y=>O(Y)),[L,M]=K(null),D=m0(L),F=(n=D==null?void 0:D.width)!==null&&n!==void 0?n:0,R=(r=D==null?void 0:D.height)!==null&&r!==void 0?r:0,T=c+(d!=="center"?"-"+d:""),tt=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},ct=Array.isArray(v)?v:[v],pt=ct.length>0,ut={padding:tt,boundary:ct.filter(S0),altBoundary:pt},{refs:wt,floatingStyles:Pe,placement:Dr,isPositioned:Gt,middlewareData:Xt}=w0({strategy:"fixed",placement:T,whileElementsMounted:(...Y)=>l0(...Y,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[u0({mainAxis:p+R,alignmentAxis:_}),w&&d0({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?v0():void 0,...ut}),w&&f0({...ut}),p0({...ut,apply:({elements:Y,rects:mt,availableWidth:pe,availableHeight:et})=>{const{width:st,height:Ot}=mt.reference,Re=Y.floating.style;Re.setProperty("--radix-popper-available-width",`${pe}px`),Re.setProperty("--radix-popper-available-height",`${et}px`),Re.setProperty("--radix-popper-anchor-width",`${st}px`),Re.setProperty("--radix-popper-anchor-height",`${Ot}px`)}}),L&&g0({element:L,padding:h}),C0({arrowWidth:F,arrowHeight:R}),b&&h0({strategy:"referenceHidden",...ut})]}),[Rn,Ti]=Il(Dr),an=se(k);Ke(()=>{Gt&&(an==null||an())},[Gt,an]);const Te=(o=Xt.arrow)===null||o===void 0?void 0:o.x,Nr=(i=Xt.arrow)===null||i===void 0?void 0:i.y,W=((a=Xt.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[B,ot]=K();return Ke(()=>{j&&ot(window.getComputedStyle(j).zIndex)},[j]),E("div",{ref:wt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Pe,transform:Gt?Pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B,"--radix-popper-transform-origin":[(s=Xt.transformOrigin)===null||s===void 0?void 0:s.x,(l=Xt.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:t.dir},E(k0,{scope:f,placedSide:Rn,onArrowChange:M,arrowX:Te,arrowY:Nr,shouldHideArrow:W},E(Ye.div,it({"data-side":Rn,"data-align":Ti},C,{ref:N,style:{...C.style,animation:Gt?void 0:"none",opacity:(u=Xt.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function S0(t){return t!==null}const C0=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=e,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[_,h]=Il(s),w={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,m=((i=(a=u.arrow)===null||a===void 0?void 0:a.y)!==null&&i!==void 0?i:0)+d/2;let y="",b="";return _==="bottom"?(y=c?w:`${v}px`,b=`${-d}px`):_==="top"?(y=c?w:`${v}px`,b=`${l.floating.height+d}px`):_==="right"?(y=`${-d}px`,b=c?w:`${m}px`):_==="left"&&(y=`${l.floating.width+d}px`,b=c?w:`${m}px`),{data:{x:y,y:b}}}});function Il(t){const[e,n="center"]=t.split("-");return[e,n]}const E0=b0,O0=$0,A0=j0,P0=rt((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?rl.createPortal(E(Ye.div,it({},o,{ref:e})),r):null});function T0(t,e){return lr((n,r)=>{const o=e[n][r];return o??n},t)}const _i=t=>{const{present:e,children:n}=t,r=R0(e),o=typeof n=="function"?n({present:r.isPresent}):zt.only(n),i=Oe(r.ref,o.ref);return typeof n=="function"||r.isPresent?Be(o,{ref:i}):null};_i.displayName="Presence";function R0(t){const[e,n]=K(),r=V({}),o=V(t),i=V("none"),a=t?"mounted":"unmounted",[s,l]=T0(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return G(()=>{const u=br(r.current);i.current=s==="mounted"?u:"none"},[s]),Ke(()=>{const u=r.current,f=o.current;if(f!==t){const p=i.current,d=br(u);t?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),Ke(()=>{if(e){const u=c=>{const d=br(r.current).includes(c.animationName);c.target===e&&d&&Sn(()=>l("ANIMATION_END"))},f=c=>{c.target===e&&(i.current=br(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",u),e.addEventListener("animationend",u),()=>{e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",u),e.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:nt(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function br(t){return(t==null?void 0:t.animationName)||"none"}function D0({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=N0({defaultProp:e,onChange:n}),i=t!==void 0,a=i?t:r,s=se(n),l=nt(u=>{if(i){const c=typeof u=="function"?u(t):u;c!==t&&s(c)}else o(u)},[i,t,o,s]);return[a,l]}function N0({defaultProp:t,onChange:e}){const n=K(t),[r]=n,o=V(r),i=se(e);return G(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var L0=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Je=new WeakMap,xr=new WeakMap,$r={},gi=0,Hl=function(t){return t&&(t.host||Hl(t.parentNode))},M0=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Hl(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},F0=function(t,e,n,r){var o=M0(e,Array.isArray(t)?t:[t]);$r[n]||($r[n]=new WeakMap);var i=$r[n],a=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var f=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))f(p);else{var d=p.getAttribute(r),_=d!==null&&d!=="false",h=(Je.get(p)||0)+1,w=(i.get(p)||0)+1;Je.set(p,h),i.set(p,w),a.push(p),h===1&&_&&xr.set(p,!0),w===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return f(e),s.clear(),gi++,function(){a.forEach(function(c){var p=Je.get(c)-1,d=i.get(c)-1;Je.set(c,p),i.set(c,d),p||(xr.has(c)||c.removeAttribute(r),xr.delete(c)),d||c.removeAttribute(n)}),gi--,gi||(Je=new WeakMap,Je=new WeakMap,xr=new WeakMap,$r={})}},I0=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||L0(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),F0(r,o,n,"aria-hidden")):function(){return null}},Rt=function(){return Rt=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Rt.apply(this,arguments)};function Vl(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function H0(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,i;r<o;r++)(i||!(r in e))&&(i||(i=Array.prototype.slice.call(e,0,r)),i[r]=e[r]);return t.concat(i||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var kr="right-scroll-bar-position",jr="width-before-scroll-bar",V0="with-scroll-bars-hidden",U0="--removed-body-scroll-bar-size";function z0(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function W0(t,e){var n=K(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}function B0(t,e){return W0(e||null,function(n){return t.forEach(function(r){return z0(r,n)})})}function Y0(t){return t}function K0(t,e){e===void 0&&(e=Y0);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(i){var a=e(i,r);return n.push(a),function(){n=n.filter(function(s){return s!==a})}},assignSyncMedium:function(i){for(r=!0;n.length;){var a=n;n=[],a.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var a=[];if(n.length){var s=n;n=[],s.forEach(i),a=n}var l=function(){var f=a;a=[],f.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){a.push(f),u()},filter:function(f){return a=a.filter(f),n}}}};return o}function q0(t){t===void 0&&(t={});var e=K0(null);return e.options=Rt({async:!0,ssr:!1},t),e}var Ul=function(t){var e=t.sideCar,n=Vl(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return E(r,Rt({},n))};Ul.isSideCarExport=!0;function G0(t,e){return t.useMedium(e),Ul}var zl=q0(),wi=function(){},Sr=rt(function(t,e){var n=V(null),r=K({onScrollCapture:wi,onWheelCapture:wi,onTouchMoveCapture:wi}),o=r[0],i=r[1],a=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,f=t.enabled,c=t.shards,p=t.sideCar,d=t.noIsolation,_=t.inert,h=t.allowPinchZoom,w=t.as,v=w===void 0?"div":w,m=Vl(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,b=B0([n,e]),x=Rt(Rt({},m),o);return E(J,null,f&&E(y,{sideCar:zl,removeScrollBar:u,shards:c,noIsolation:d,inert:_,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?Be(zt.only(s),Rt(Rt({},x),{ref:b})):E(v,Rt({},x,{className:l,ref:b}),s))});Sr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Sr.classNames={fullWidth:jr,zeroRight:kr};var X0=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Z0(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=X0();return e&&t.setAttribute("nonce",e),t}function J0(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Q0(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var tw=function(){var t=0,e=null;return{add:function(n){t==0&&(e=Z0())&&(J0(e,n),Q0(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ew=function(){var t=tw();return function(e,n){G(function(){return t.add(e),function(){t.remove()}},[e&&n])}},Wl=function(){var t=ew(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},nw={left:0,top:0,right:0,gap:0},mi=function(t){return parseInt(t||"",10)||0},rw=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[mi(n),mi(r),mi(o)]},ow=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return nw;var e=rw(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},iw=Wl(),aw=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return n===void 0&&(n="margin"),`
21
+ }`},b_=(()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${pi}`);return dt(t,`Element with id ${pi} not found.`),t}}))(),x_=()=>La(({apiClient:t,logger:e,analytics:n})=>{const r=({params:o})=>{var a;return Q(pn,{Fallback:Qu},[[Q("style",{id:"inploi-job-search-styles"},d_),Q("style",{id:"inploi-job-search-theme"},y_(o.theme))],Q(ed,{theme:o.theme}),Q(u_,{properties:o.properties,apiClient:t,logger:e,analytics:n,class:(a=o.theme.accessibility)!=null&&a.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,params:o})])};return{prerender:async o=>{const a=o.withData?await wi({filters:No(o.properties),apiClient:t,logger:e}).then(i=>({jobs:i})).catch(()=>{}):void 0;return{html:Au(Q(I,{},Q(r,{params:{...o,initialData:a}}))),data:a}},render:async o=>{const a=o.initialData?Wr:De;dt(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),a(Q(r,{params:o}),b_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=x_;function Ws(t,e){if(!t)throw new Error(e)}var yn,S,Bs,Ys,xe,Ks,qs,Vo,Gs,bn={},Xs=[],$_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,or=Array.isArray;function Ht(t,e){for(var n in e)t[n]=e[n];return t}function Zs(t){var e=t.parentNode;e&&e.removeChild(t)}function E(t,e,n){var r,o,a,i={};for(a in e)a=="key"?r=e[a]:a=="ref"?o=e[a]:i[a]=e[a];if(arguments.length>2&&(i.children=arguments.length>3?yn.call(arguments,2):n),typeof t=="function"&&t.defaultProps!=null)for(a in t.defaultProps)i[a]===void 0&&(i[a]=t.defaultProps[a]);return xn(t,i,r,o,null)}function xn(t,e,n,r,o){var a={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Bs,__i:-1,__u:0};return o==null&&S.vnode!=null&&S.vnode(a),a}function Js(){return{current:null}}function J(t){return t.children}function $t(t,e){this.props=t,this.context=e}function Ve(t,e){if(e==null)return t.__?Ve(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null)return n.__e;return typeof t.type=="function"?Ve(t):null}function Qs(t){var e,n;if((t=t.__)!=null&&t.__c!=null){for(t.__e=t.__c.base=null,e=0;e<t.__k.length;e++)if((n=t.__k[e])!=null&&n.__e!=null){t.__e=t.__c.base=n.__e;break}return Qs(t)}}function Uo(t){(!t.__d&&(t.__d=!0)&&xe.push(t)&&!ar.__r++||Ks!==S.debounceRendering)&&((Ks=S.debounceRendering)||qs)(ar)}function ar(){var t,e,n,r,o,a,i,s,l;for(xe.sort(Vo);t=xe.shift();)t.__d&&(e=xe.length,r=void 0,a=(o=(n=t).__v).__e,s=[],l=[],(i=n.__P)&&((r=Ht({},o)).__v=o.__v+1,S.vnode&&S.vnode(r),zo(i,r,o,n.__n,i.ownerSVGElement!==void 0,32&o.__u?[a]:null,s,a??Ve(o),!!(32&o.__u),l),r.__.__k[r.__i]=r,ac(s,r,l),r.__e!=a&&Qs(r)),xe.length>e&&xe.sort(Vo));ar.__r=0}function tc(t,e,n,r,o,a,i,s,l,u,f){var c,p,d,_,h,w=r&&r.__k||Xs,v=e.length;for(n.__d=l,k_(n,e,w),l=n.__d,c=0;c<v;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?bn:w[d.__i]||bn,d.__i=c,zo(t,d,p,o,a,i,s,l,u,f),_=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&Wo(p.ref,null,d),f.push(d.ref,d.__c||_,d)),h==null&&_!=null&&(h=_),65536&d.__u||p.__k===d.__k?l=ec(d,l,t):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:_&&(l=_.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function k_(t,e,n){var r,o,a,i,s,l=e.length,u=n.length,f=u,c=0;for(t.__k=[],r=0;r<l;r++)(o=t.__k[r]=(o=e[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?xn(null,o,null,null,o):or(o)?xn(J,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?xn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=t,o.__b=t.__b+1,s=j_(o,n,i=r+c,f),o.__i=s,a=null,s!==-1&&(f--,(a=n[s])&&(a.__u|=131072)),a==null||a.__v===null?(s==-1&&c--,typeof o.type!="function"&&(o.__u|=65536)):s!==i&&(s===i+1?c++:s>i?f>l-i?c+=s-i:c--:c=s<i&&s==i-1?s-i:0,s!==r+c&&(o.__u|=65536))):(a=n[r])&&a.key==null&&a.__e&&(a.__e==t.__d&&(t.__d=Ve(a)),Bo(a,a,!1),n[r]=null,f--);if(f)for(r=0;r<u;r++)(a=n[r])!=null&&!(131072&a.__u)&&(a.__e==t.__d&&(t.__d=Ve(a)),Bo(a,a))}function ec(t,e,n){var r,o;if(typeof t.type=="function"){for(r=t.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=t,e=ec(r[o],e,n));return e}return t.__e!=e&&(n.insertBefore(t.__e,e||null),e=t.__e),e&&e.nextSibling}function Vt(t,e){return e=e||[],t==null||typeof t=="boolean"||(or(t)?t.some(function(n){Vt(n,e)}):e.push(t)),e}function j_(t,e,n,r){var o=t.key,a=t.type,i=n-1,s=n+1,l=e[n];if(l===null||l&&o==l.key&&a===l.type)return n;if(r>(l!=null&&!(131072&l.__u)?1:0))for(;i>=0||s<e.length;){if(i>=0){if((l=e[i])&&!(131072&l.__u)&&o==l.key&&a===l.type)return i;i--}if(s<e.length){if((l=e[s])&&!(131072&l.__u)&&o==l.key&&a===l.type)return s;s++}}return-1}function nc(t,e,n){e[0]==="-"?t.setProperty(e,n??""):t[e]=n==null?"":typeof n!="number"||$_.test(e)?n:n+"px"}function ir(t,e,n,r,o){var a;t:if(e==="style")if(typeof n=="string")t.style.cssText=n;else{if(typeof r=="string"&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||nc(t.style,e,"");if(n)for(e in n)r&&n[e]===r[e]||nc(t.style,e,n[e])}else if(e[0]==="o"&&e[1]==="n")a=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+a]=n,n?r?n.u=r.u:(n.u=Date.now(),t.addEventListener(e,a?oc:rc,a)):t.removeEventListener(e,a?oc:rc,a);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]=n??"";break t}catch{}typeof n=="function"||(n==null||n===!1&&e[4]!=="-"?t.removeAttribute(e):t.setAttribute(e,n))}}function rc(t){var e=this.l[t.type+!1];if(t.t){if(t.t<=e.u)return}else t.t=Date.now();return e(S.event?S.event(t):t)}function oc(t){return this.l[t.type+!0](S.event?S.event(t):t)}function zo(t,e,n,r,o,a,i,s,l,u){var f,c,p,d,_,h,w,v,m,y,b,x,k,C,$,j=e.type;if(e.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),a=[s=e.__e=n.__e]),(f=S.__b)&&f(e);t:if(typeof j=="function")try{if(v=e.props,m=(f=j.contextType)&&r[f.__c],y=f?m?m.props.value:f.__:r,n.__c?w=(c=e.__c=n.__c).__=c.__E:("prototype"in j&&j.prototype.render?e.__c=c=new j(v,y):(e.__c=c=new $t(v,y),c.constructor=j,c.render=C_),m&&m.sub(c),c.props=v,c.state||(c.state={}),c.context=y,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ht({},c.__s)),Ht(c.__s,j.getDerivedStateFromProps(v,c.__s))),d=c.props,_=c.state,c.__v=e,p)j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(j.getDerivedStateFromProps==null&&v!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(v,y),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(v,c.__s,y)===!1||e.__v===n.__v)){for(e.__v!==n.__v&&(c.props=v,c.state=c.__s,c.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.forEach(function(O){O&&(O.__=e)}),b=0;b<c._sb.length;b++)c.__h.push(c._sb[b]);c._sb=[],c.__h.length&&i.push(c);break t}c.componentWillUpdate!=null&&c.componentWillUpdate(v,c.__s,y),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,_,h)})}if(c.context=y,c.props=v,c.__P=t,c.__e=!1,x=S.__r,k=0,"prototype"in j&&j.prototype.render){for(c.state=c.__s,c.__d=!1,x&&x(e),f=c.render(c.props,c.state,c.context),C=0;C<c._sb.length;C++)c.__h.push(c._sb[C]);c._sb=[]}else do c.__d=!1,x&&x(e),f=c.render(c.props,c.state,c.context),c.state=c.__s;while(c.__d&&++k<25);c.state=c.__s,c.getChildContext!=null&&(r=Ht(Ht({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(h=c.getSnapshotBeforeUpdate(d,_)),tc(t,or($=f!=null&&f.type===J&&f.key==null?f.props.children:f)?$:[$],e,n,r,o,a,i,s,l,u),c.base=e.__e,e.__u&=-161,c.__h.length&&i.push(c),w&&(c.__E=c.__=null)}catch(O){e.__v=null,l||a!=null?(e.__e=s,e.__u|=l?160:32,a[a.indexOf(s)]=null):(e.__e=n.__e,e.__k=n.__k),S.__e(O,e,n)}else a==null&&e.__v===n.__v?(e.__k=n.__k,e.__e=n.__e):e.__e=S_(n.__e,e,n,r,o,a,i,l,u);(f=S.diffed)&&f(e)}function ac(t,e,n){e.__d=void 0;for(var r=0;r<n.length;r++)Wo(n[r],n[++r],n[++r]);S.__c&&S.__c(e,t),t.some(function(o){try{t=o.__h,o.__h=[],t.some(function(a){a.call(o)})}catch(a){S.__e(a,o.__v)}})}function S_(t,e,n,r,o,a,i,s,l){var u,f,c,p,d,_,h,w=n.props,v=e.props,m=e.type;if(m==="svg"&&(o=!0),a!=null){for(u=0;u<a.length;u++)if((d=a[u])&&"setAttribute"in d==!!m&&(m?d.localName===m:d.nodeType===3)){t=d,a[u]=null;break}}if(t==null){if(m===null)return document.createTextNode(v);t=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,v.is&&v),a=null,s=!1}if(m===null)w===v||s&&t.data===v||(t.data=v);else{if(a=a&&yn.call(t.childNodes),w=n.props||bn,!s&&a!=null)for(w={},u=0;u<t.attributes.length;u++)w[(d=t.attributes[u]).name]=d.value;for(u in w)d=w[u],u=="children"||(u=="dangerouslySetInnerHTML"?c=d:u==="key"||u in v||ir(t,u,null,d,o));for(u in v)d=v[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?_=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||w[u]===d||ir(t,u,d,w[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===t.innerHTML)||(t.innerHTML=f.__html),e.__k=[];else if(c&&(t.innerHTML=""),tc(t,or(p)?p:[p],e,n,r,o&&m!=="foreignObject",a,i,a?a[0]:n.__k&&Ve(n,0),s,l),a!=null)for(u=a.length;u--;)a[u]!=null&&Zs(a[u]);s||(u="value",_!==void 0&&(_!==t[u]||m==="progress"&&!_||m==="option"&&_!==w[u])&&ir(t,u,_,w[u],!1),u="checked",h!==void 0&&h!==t[u]&&ir(t,u,h,w[u],!1))}return t}function Wo(t,e,n){try{typeof t=="function"?t(e):t.current=e}catch(r){S.__e(r,n)}}function Bo(t,e,n){var r,o;if(S.unmount&&S.unmount(t),(r=t.ref)&&(r.current&&r.current!==t.__e||Wo(r,null,e)),(r=t.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){S.__e(a,e)}r.base=r.__P=null,t.__c=void 0}if(r=t.__k)for(o=0;o<r.length;o++)r[o]&&Bo(r[o],e,n||typeof t.type!="function");n||t.__e==null||Zs(t.__e),t.__=t.__e=t.__d=void 0}function C_(t,e,n){return this.constructor(t,n)}function Ue(t,e,n){var r,o,a,i;S.__&&S.__(t,e),o=(r=typeof n=="function")?null:n&&n.__k||e.__k,a=[],i=[],zo(e,t=(!r&&n||e).__k=E(J,null,[t]),o||bn,bn,e.ownerSVGElement!==void 0,!r&&n?[n]:o?null:e.firstChild?yn.call(e.childNodes):null,a,!r&&n?n:o?o.__e:e.firstChild,r,i),ac(a,t,i)}function Yo(t,e){Ue(t,e,Yo)}function E_(t,e,n){var r,o,a,i,s=Ht({},t.props);for(a in t.type&&t.type.defaultProps&&(i=t.type.defaultProps),e)a=="key"?r=e[a]:a=="ref"?o=e[a]:s[a]=e[a]===void 0&&i!==void 0?i[a]:e[a];return arguments.length>2&&(s.children=arguments.length>3?yn.call(arguments,2):n),xn(t.type,s,r||t.key,o||t.ref,null)}function $n(t,e){var n={__c:e="__cC"+Gs++,__:t,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[e]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(s){s.__e=!0,Uo(s)})},this.sub=function(i){o.push(i);var s=i.componentWillUnmount;i.componentWillUnmount=function(){o.splice(o.indexOf(i),1),s&&s.call(i)}}),r.children}};return n.Provider.__=n.Consumer.contextType=n}yn=Xs.slice,S={__e:function(t,e,n,r){for(var o,a,i;e=e.__;)if((o=e.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(t)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(t,r||{}),i=o.__d),i)return o.__E=o}catch(s){t=s}throw t}},Bs=0,Ys=function(t){return t!=null&&t.constructor==null},$t.prototype.setState=function(t,e){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ht({},this.state),typeof t=="function"&&(t=t(Ht({},n),this.props)),t&&Ht(n,t),t!=null&&this.__v&&(e&&this._sb.push(e),Uo(this))},$t.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),Uo(this))},$t.prototype.render=J,xe=[],qs=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Vo=function(t,e){return t.__v.__b-e.__v.__b},ar.__r=0,Gs=0;var ic=/[\s\n\\/='"\0<>]/,sc=/^(xlink|xmlns|xml)([A-Z])/,O_=/^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]/,A_=/^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/,P_=/["&<]/;function sr(t){if(t.length===0||P_.test(t)===!1)return t;for(var e=0,n=0,r="",o="";n<t.length;n++){switch(t.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==e&&(r+=t.slice(e,n)),r+=o,e=n+1}return n!==e&&(r+=t.slice(e,n)),r}var cc={},T_=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"]),R_=/[A-Z]/g;function D_(t){var e="";for(var n in t){var r=t[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:cc[n]||(cc[n]=n.replace(R_,"-$&").toLowerCase()),a=";";typeof r!="number"||o.startsWith("--")||T_.has(o)||(a="px;"),e=e+o+":"+r+a}}return e||void 0}var Ko,$e,kn,ke,lc=[],uc=Array.isArray,qo=Object.assign;function N_(t,e){var n=S.__s;S.__s=!0,Ko=S.__b,$e=S.diffed,kn=S.__r,ke=S.unmount;var r=E(J,null);r.__k=[t];try{return je(t,e||fc,!1,void 0,r)}finally{S.__c&&S.__c(t,lc),S.__s=n,lc.length=0}}function dc(){this.__d=!0}var fc={};function pc(t,e){var n,r=t.type,o=!0;return t.__c?(o=!1,(n=t.__c).state=n.__s):n=new r(t.props,e),t.__c=n,n.__v=t,n.props=t.props,n.context=e,n.__d=!0,n.state==null&&(n.state=fc),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=qo({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),kn&&kn(t),n.render(n.props,n.state,e)}function je(t,e,n,r,o){if(t==null||t===!0||t===!1||t==="")return"";if(typeof t!="object")return typeof t=="function"?"":sr(t+"");if(uc(t)){var a="";o.__k=t;for(var i=0;i<t.length;i++){var s=t[i];s!=null&&typeof s!="boolean"&&(a+=je(s,e,n,r,o))}return a}if(t.constructor!==void 0)return"";t.__=o,Ko&&Ko(t);var l,u,f,c=t.type,p=t.props,d=e;if(typeof c=="function"){if(c===J){if(p.tpl){for(var _="",h=0;h<p.tpl.length;h++)if(_+=p.tpl[h],p.exprs&&h<p.exprs.length){var w=p.exprs[h];if(w==null)continue;typeof w!="object"||w.constructor!==void 0&&!uc(w)?_+=w:_+=je(w,e,n,r,t)}return _}if(p.UNSTABLE_comment)return"<!--"+sr(p.UNSTABLE_comment||"")+"-->";u=p.children}else{if((l=c.contextType)!=null){var v=e[l.__c];d=v?v.props.value:l.__}if(c.prototype&&typeof c.prototype.render=="function")u=pc(t,d),f=t.__c;else{t.__c=f={__v:t,props:p,context:d,setState:dc,forceUpdate:dc,__d:!0,__h:[]};for(var m=0;f.__d&&m++<25;)f.__d=!1,kn&&kn(t),u=c.call(f,p,d);f.__d=!0}if(f.getChildContext!=null&&(e=qo({},e,f.getChildContext())),(c.getDerivedStateFromError||f.componentDidCatch)&&S.errorBoundaries){var y="";u=u!=null&&u.type===J&&u.key==null?u.props.children:u;try{return y=je(u,e,n,r,t)}catch(O){return c.getDerivedStateFromError&&(f.__s=c.getDerivedStateFromError(O)),f.componentDidCatch&&f.componentDidCatch(O,{}),f.__d&&(u=pc(t,e),(f=t.__c).getChildContext!=null&&(e=qo({},e,f.getChildContext())),y=je(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t)),y}finally{$e&&$e(t),t.__=void 0,ke&&ke(t)}}}var b=je(u=u!=null&&u.type===J&&u.key==null?u.props.children:u,e,n,r,t);return $e&&$e(t),t.__=void 0,ke&&ke(t),b}var x,k="<"+c,C="";for(var $ in p){var j=p[$];switch($){case"children":x=j;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in p)continue;$="for";break;case"className":if("class"in p)continue;$="class";break;case"defaultChecked":$="checked";break;case"defaultSelected":$="selected";break;case"defaultValue":case"value":switch($="value",c){case"textarea":x=j;continue;case"select":r=j;continue;case"option":r!=j||"selected"in p||(k+=" selected")}break;case"dangerouslySetInnerHTML":C=j&&j.__html;continue;case"style":typeof j=="object"&&(j=D_(j));break;case"acceptCharset":$="accept-charset";break;case"httpEquiv":$="http-equiv";break;default:if(sc.test($))$=$.replace(sc,"$1:$2").toLowerCase();else{if(ic.test($))continue;$[4]!=="-"&&$!=="draggable"||j==null?n?A_.test($)&&($=$==="panose1"?"panose-1":$.replace(/([A-Z])/g,"-$1").toLowerCase()):O_.test($)&&($=$.toLowerCase()):j+=""}}j!=null&&j!==!1&&typeof j!="function"&&(k=j===!0||j===""?k+" "+$:k+" "+$+'="'+sr(j+"")+'"')}if(ic.test(c))throw new Error(c+" is not a valid HTML tag name in "+k+">");return C||(typeof x=="string"?C=sr(x):x!=null&&x!==!1&&x!==!0&&(C=je(x,e,c==="svg"||c!=="foreignObject"&&n,r,t))),$e&&$e(t),t.__=void 0,ke&&ke(t),!C&&L_.has(c)?k+"/>":k+">"+C+"</"+c+">"}var L_=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),M_=0;function A(t,e,n,r,o,a){var i,s,l={};for(s in e)s=="ref"?i=e[s]:l[s]=e[s];var u={type:t,props:l,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--M_,__i:-1,__u:0,__source:o,__self:a};if(typeof t=="function"&&(i=t.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return S.vnode&&S.vnode(u),u}const F_={bell:A("path",{d:"M10 17a2.4 2.4 0 0 0 2.5 2.3A2.4 2.4 0 0 0 15 17m-7.5-6.5c0-4 1.9-6 5-6s5 2 5 6c0 3.3 1 4.3 1.4 5.1v.6c0 .2-.3.3-.5.3H6.7a.6.6 0 0 1-.5-.3.6.6 0 0 1 0-.6c.5-.8 1.3-1.9 1.3-5.1Z"}),x:A("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":A("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},I_=({theme:t})=>A("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:A("defs",{children:Object.entries(F_).map(([e,n])=>A("symbol",{id:`i-icon-${e}`,children:A("g",{fill:"none","stroke-width":t.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),hc=({name:t,...e})=>A("svg",{viewBox:"0 0 24 24",width:24,height:24,...e,children:A("use",{href:`#i-icon-${t}`})});function at(){return at=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},at.apply(this,arguments)}var Ut,z,Go,vc,ze=0,_c=[],cr=[],gc=S.__b,wc=S.__r,mc=S.diffed,yc=S.__c,bc=S.unmount;function Se(t,e){S.__h&&S.__h(z,t,ze||e),ze=0;var n=z.__H||(z.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({__V:cr}),n.__[t]}function K(t){return ze=1,lr(Sc,t)}function lr(t,e,n){var r=Se(Ut++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):Sc(void 0,e),function(s){var l=r.__N?r.__N[0]:r.__[0],u=r.t(l,s);l!==u&&(r.__N=[u,r.__[1]],r.__c.setState({}))}],r.__c=z,!z.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var f=r.__c.__H.__.filter(function(p){return p.__c});if(f.every(function(p){return!p.__N}))return!a||a.call(this,s,l,u);var c=!1;return f.forEach(function(p){if(p.__N){var d=p.__[0];p.__=p.__N,p.__N=void 0,d!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!a||a.call(this,s,l,u))};z.u=!0;var a=z.shouldComponentUpdate,i=z.componentWillUpdate;z.componentWillUpdate=function(s,l,u){if(this.__e){var f=a;a=void 0,o(s,l,u),a=f}i&&i.call(this,s,l,u)},z.shouldComponentUpdate=o}return r.__N||r.__}function G(t,e){var n=Se(Ut++,3);!S.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,z.__H.__h.push(n))}function Ce(t,e){var n=Se(Ut++,4);!S.__s&&Zo(n.__H,e)&&(n.__=t,n.i=e,z.__h.push(n))}function V(t){return ze=5,lt(function(){return{current:t}},[])}function xc(t,e,n){ze=6,Ce(function(){return typeof t=="function"?(t(e()),function(){return t(null)}):t?(t.current=e(),function(){return t.current=null}):void 0},n==null?n:n.concat(t))}function lt(t,e){var n=Se(Ut++,7);return Zo(n.__H,e)?(n.__V=t(),n.i=e,n.__h=t,n.__V):n.__}function nt(t,e){return ze=8,lt(function(){return t},e)}function ur(t){var e=z.context[t.__c],n=Se(Ut++,9);return n.c=t,e?(n.__==null&&(n.__=!0,e.sub(z)),e.props.value):t.__}function $c(t,e){S.useDebugValue&&S.useDebugValue(e?e(t):t)}function H_(t){var e=Se(Ut++,10),n=K();return e.__=t,z.componentDidCatch||(z.componentDidCatch=function(r,o){e.__&&e.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function kc(){var t=Se(Ut++,11);if(!t.__){for(var e=z.__v;e!==null&&!e.__m&&e.__!==null;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function V_(){for(var t;t=_c.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(dr),t.__H.__h.forEach(Xo),t.__H.__h=[]}catch(e){t.__H.__h=[],S.__e(e,t.__v)}}S.__b=function(t){z=null,gc&&gc(t)},S.__r=function(t){wc&&wc(t),Ut=0;var e=(z=t.__c).__H;e&&(Go===z?(e.__h=[],z.__h=[],e.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=cr,n.__N=n.i=void 0})):(e.__h.forEach(dr),e.__h.forEach(Xo),e.__h=[],Ut=0)),Go=z},S.diffed=function(t){mc&&mc(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(_c.push(e)!==1&&vc===S.requestAnimationFrame||((vc=S.requestAnimationFrame)||U_)(V_)),e.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==cr&&(n.__=n.__V),n.i=void 0,n.__V=cr})),Go=z=null},S.__c=function(t,e){e.some(function(n){try{n.__h.forEach(dr),n.__h=n.__h.filter(function(r){return!r.__||Xo(r)})}catch(r){e.some(function(o){o.__h&&(o.__h=[])}),e=[],S.__e(r,n.__v)}}),yc&&yc(t,e)},S.unmount=function(t){bc&&bc(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{dr(r)}catch(o){e=o}}),n.__H=void 0,e&&S.__e(e,n.__v))};var jc=typeof requestAnimationFrame=="function";function U_(t){var e,n=function(){clearTimeout(r),jc&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,100);jc&&(e=requestAnimationFrame(n))}function dr(t){var e=z,n=t.__c;typeof n=="function"&&(t.__c=void 0,n()),z=e}function Xo(t){var e=z;t.__c=t.__(),z=e}function Zo(t,e){return!t||t.length!==e.length||e.some(function(n,r){return n!==t[r]})}function Sc(t,e){return typeof e=="function"?e(t):e}function Cc(t,e){for(var n in e)t[n]=e[n];return t}function Jo(t,e){for(var n in t)if(n!=="__source"&&!(n in e))return!0;for(var r in e)if(r!=="__source"&&t[r]!==e[r])return!0;return!1}function fr(t){this.props=t}function Ec(t,e){function n(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),e?!e(this.props,o)||!i:Jo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,E(t,o)}return r.displayName="Memo("+(t.displayName||t.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(fr.prototype=new $t).isPureReactComponent=!0,fr.prototype.shouldComponentUpdate=function(t,e){return Jo(this.props,t)||Jo(this.state,e)};var Oc=S.__b;S.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),Oc&&Oc(t)};var z_=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function rt(t){function e(n){var r=Cc({},n);return delete r.ref,t(r,n.ref||null)}return e.$$typeof=z_,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var Ac=function(t,e){return t==null?null:Vt(Vt(t).map(e))},zt={map:Ac,forEach:Ac,count:function(t){return t?Vt(t).length:0},only:function(t){var e=Vt(t);if(e.length!==1)throw"Children.only";return e[0]},toArray:Vt},W_=S.__e;S.__e=function(t,e,n,r){if(t.then){for(var o,a=e;a=a.__;)if((o=a.__c)&&o.__c)return e.__e==null&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e)}W_(t,e,n,r)};var Pc=S.unmount;function Tc(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),t.__c.__H=null),(t=Cc({},t)).__c!=null&&(t.__c.__P===n&&(t.__c.__P=e),t.__c=null),t.__k=t.__k&&t.__k.map(function(r){return Tc(r,e,n)})),t}function Rc(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(r){return Rc(r,e,n)}),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function jn(){this.__u=0,this.t=null,this.__b=null}function Dc(t){var e=t.__.__c;return e&&e.__a&&e.__a(t)}function Nc(t){var e,n,r;function o(a){if(e||(e=t()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw e;return E(n,a)}return o.displayName="Lazy",o.__f=!0,o}function We(){this.u=null,this.o=null}S.unmount=function(t){var e=t.__c;e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),Pc&&Pc(t)},(jn.prototype=new $t).__c=function(t,e){var n=e.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Dc(r.__v),a=!1,i=function(){a||(a=!0,n.__R=null,o?o(s):s())};n.__R=i;var s=function(){if(!--r.__u){if(r.state.__a){var l=r.state.__a;r.__v.__k[0]=Rc(l,l.__c.__P,l.__c.__O)}var u;for(r.setState({__a:r.__b=null});u=r.t.pop();)u.forceUpdate()}};r.__u++||32&e.__u||r.setState({__a:r.__b=r.__v.__k[0]}),t.then(i,i)},jn.prototype.componentWillUnmount=function(){this.t=[]},jn.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Tc(this.__b,n,r.__O=r.__P)}this.__b=null}var o=e.__a&&E(J,null,t.fallback);return o&&(o.__u&=-33),[E(J,null,e.__a?null:t.children),o]};var Lc=function(t,e,n){if(++n[1]===n[0]&&t.o.delete(e),t.props.revealOrder&&(t.props.revealOrder[0]!=="t"||!t.o.size))for(n=t.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.u=n=n[2]}};function B_(t){return this.getChildContext=function(){return t.context},t.children}function Y_(t){var e=this,n=t.i;e.componentWillUnmount=function(){Ue(null,e.l),e.l=null,e.i=null},e.i&&e.i!==n&&e.componentWillUnmount(),e.l||(e.i=n,e.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),e.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),e.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),e.i.removeChild(r)}}),Ue(E(B_,{context:e.context},t.__v),e.l)}function Mc(t,e){var n=E(Y_,{__v:t,i:e});return n.containerInfo=e,n}(We.prototype=new $t).__a=function(t){var e=this,n=Dc(e.__v),r=e.o.get(t);return r[0]++,function(o){var a=function(){e.props.revealOrder?(r.push(o),Lc(e,t,r)):o()};n?n(a):a()}},We.prototype.render=function(t){this.u=null,this.o=new Map;var e=Vt(t.children);t.revealOrder&&t.revealOrder[0]==="b"&&e.reverse();for(var n=e.length;n--;)this.o.set(e[n],this.u=[1,0,this.u]);return t.children},We.prototype.componentDidUpdate=We.prototype.componentDidMount=function(){var t=this;this.o.forEach(function(e,n){Lc(t,n,e)})};var Fc=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,K_=/^(?: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]/,q_=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,G_=/[A-Z0-9]/g,X_=typeof document<"u",Z_=function(t){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(t)};function Ic(t,e,n){return e.__k==null&&(e.textContent=""),Ue(t,e),typeof n=="function"&&n(),t?t.__c:null}function Hc(t,e,n){return Yo(t,e),typeof n=="function"&&n(),t?t.__c:null}$t.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty($t.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})});var Vc=S.event;function J_(){}function Q_(){return this.cancelBubble}function tg(){return this.defaultPrevented}S.event=function(t){return Vc&&(t=Vc(t)),t.persist=J_,t.isPropagationStopped=Q_,t.isDefaultPrevented=tg,t.nativeEvent=t};var Qo,eg={enumerable:!1,configurable:!0,get:function(){return this.class}},Uc=S.vnode;S.vnode=function(t){typeof t.type=="string"&&function(e){var n=e.props,r=e.type,o={};for(var a in n){var i=n[a];if(!(a==="value"&&"defaultValue"in n&&i==null||X_&&a==="children"&&r==="noscript"||a==="class"||a==="className")){var s=a.toLowerCase();a==="defaultValue"&&"value"in n&&n.value==null?a="value":a==="download"&&i===!0?i="":s==="ondoubleclick"?a="ondblclick":s!=="onchange"||r!=="input"&&r!=="textarea"||Z_(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":q_.test(a)?a=s:r.indexOf("-")===-1&&K_.test(a)?a=a.replace(G_,"-$&").toLowerCase():i===null&&(i=void 0):s=a="oninput",s==="oninput"&&o[a=s]&&(a="oninputCapture"),o[a]=i}}r=="select"&&o.multiple&&Array.isArray(o.value)&&(o.value=Vt(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Vt(n.children).forEach(function(l){l.props.selected=o.multiple?o.defaultValue.indexOf(l.props.value)!=-1:o.defaultValue==l.props.value})),n.class&&!n.className?(o.class=n.class,Object.defineProperty(o,"className",eg)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),e.props=o}(t),t.$$typeof=Fc,Uc&&Uc(t)};var zc=S.__r;S.__r=function(t){zc&&zc(t),Qo=t.__c};var Wc=S.diffed;S.diffed=function(t){Wc&&Wc(t);var e=t.props,n=t.__e;n!=null&&t.type==="textarea"&&"value"in e&&e.value!==n.value&&(n.value=e.value==null?"":e.value),Qo=null};var Bc={ReactCurrentDispatcher:{current:{readContext:function(t){return Qo.__n[t.__c].props.value}}}},ng="17.0.2";function Yc(t){return E.bind(null,t)}function Wt(t){return!!t&&t.$$typeof===Fc}function Kc(t){return Wt(t)&&t.type===J}function Be(t){return Wt(t)?E_.apply(null,arguments):t}function qc(t){return!!t.__k&&(Ue(null,t),!0)}function Gc(t){return t&&(t.base||t.nodeType===1&&t)||null}var Xc=function(t,e){return t(e)},Sn=function(t,e){return t(e)},Zc=J;function ta(t){t()}function Jc(t){return t}function Qc(){return[!1,ta]}var tl=Ce,el=Wt;function nl(t,e){var n=e(),r=K({h:{__:n,v:e}}),o=r[0].h,a=r[1];return Ce(function(){o.__=n,o.v=e,ea(o)&&a({h:o})},[t,n,e]),G(function(){return ea(o)&&a({h:o}),t(function(){ea(o)&&a({h:o})})},[t]),n}function ea(t){var e,n,r=t.v,o=t.__;try{var a=r();return!((e=o)===(n=a)&&(e!==0||1/e==1/n)||e!=e&&n!=n)}catch{return!0}}var rl={useState:K,useId:kc,useReducer:lr,useEffect:G,useLayoutEffect:Ce,useInsertionEffect:tl,useTransition:Qc,useDeferredValue:Jc,useSyncExternalStore:nl,startTransition:ta,useRef:V,useImperativeHandle:xc,useMemo:lt,useCallback:nt,useContext:ur,useDebugValue:$c,version:"17.0.2",Children:zt,render:Ic,hydrate:Hc,unmountComponentAtNode:qc,createPortal:Mc,createElement:E,createContext:$n,createFactory:Yc,cloneElement:Be,createRef:Js,Fragment:J,isValidElement:Wt,isElement:el,isFragment:Kc,findDOMNode:Gc,Component:$t,PureComponent:fr,memo:Ec,forwardRef:rt,flushSync:Sn,unstable_batchedUpdates:Xc,StrictMode:Zc,Suspense:jn,SuspenseList:We,lazy:Nc,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Bc};const rg=Object.freeze(Object.defineProperty({__proto__:null,Children:zt,Component:$t,Fragment:J,PureComponent:fr,StrictMode:Zc,Suspense:jn,SuspenseList:We,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Bc,cloneElement:Be,createContext:$n,createElement:E,createFactory:Yc,createPortal:Mc,createRef:Js,default:rl,findDOMNode:Gc,flushSync:Sn,forwardRef:rt,hydrate:Hc,isElement:el,isFragment:Kc,isValidElement:Wt,lazy:Nc,memo:Ec,render:Ic,startTransition:ta,unmountComponentAtNode:qc,unstable_batchedUpdates:Xc,useCallback:nt,useContext:ur,useDebugValue:$c,useDeferredValue:Jc,useEffect:G,useErrorBoundary:H_,useId:kc,useImperativeHandle:xc,useInsertionEffect:tl,useLayoutEffect:Ce,useMemo:lt,useReducer:lr,useRef:V,useState:K,useSyncExternalStore:nl,useTransition:Qc,version:ng},Symbol.toStringTag,{value:"Module"}));function Ee(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t==null||t(o),n===!1||!o.defaultPrevented)return e==null?void 0:e(o)}}function og(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function ol(...t){return e=>t.forEach(n=>og(n,e))}function Oe(...t){return nt(ol(...t),t)}function al(t,e=[]){let n=[];function r(a,i){const s=$n(i),l=n.length;n=[...n,i];function u(c){const{scope:p,children:d,..._}=c,h=(p==null?void 0:p[t][l])||s,w=lt(()=>_,Object.values(_));return E(h.Provider,{value:w},d)}function f(c,p){const d=(p==null?void 0:p[t][l])||s,_=ur(d);if(_)return _;if(i!==void 0)return i;throw new Error(`\`${c}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,f]}const o=()=>{const a=n.map(i=>$n(i));return function(s){const l=(s==null?void 0:s[t])||a;return lt(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,ag(o,...e)]}function ag(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((s,{useScope:l,scopeName:u})=>{const c=l(a)[`__scope${u}`];return{...s,...c}},{});return lt(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return n.scopeName=e.scopeName,n}const na=rt((t,e)=>{const{children:n,...r}=t,o=zt.toArray(n),a=o.find(sg);if(a){const i=a.props.children,s=o.map(l=>l===a?zt.count(i)>1?zt.only(null):Wt(i)?i.props.children:null:l);return E(ra,at({},r,{ref:e}),Wt(i)?Be(i,void 0,s):null)}return E(ra,at({},r,{ref:e}),n)});na.displayName="Slot";const ra=rt((t,e)=>{const{children:n,...r}=t;return Wt(n)?Be(n,{...cg(r,n.props),ref:e?ol(e,n.ref):n.ref}):zt.count(n)>1?zt.only(null):null});ra.displayName="SlotClone";const ig=({children:t})=>E(J,null,t);function sg(t){return Wt(t)&&t.type===ig}function cg(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{a(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}const Ye=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((t,e)=>{const n=rt((r,o)=>{const{asChild:a,...i}=r,s=a?na:e;return G(()=>{window[Symbol.for("radix-ui")]=!0},[]),E(s,at({},i,{ref:o}))});return n.displayName=`Primitive.${e}`,{...t,[e]:n}},{});function lg(t,e){t&&Sn(()=>t.dispatchEvent(e))}function se(t){const e=V(t);return G(()=>{e.current=t}),lt(()=>(...n)=>{var r;return(r=e.current)===null||r===void 0?void 0:r.call(e,...n)},[])}function ug(t,e=globalThis==null?void 0:globalThis.document){const n=se(t);G(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r),()=>e.removeEventListener("keydown",r)},[n,e])}const oa="dismissableLayer.update",dg="dismissableLayer.pointerDownOutside",fg="dismissableLayer.focusOutside";let il;const pg=$n({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),hg=rt((t,e)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=t,f=ur(pg),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,_]=K({}),h=Oe(e,$=>p($)),w=Array.from(f.layers),[v]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=w.indexOf(v),y=c?w.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,x=y>=m,k=vg($=>{const j=$.target,O=[...f.branches].some(N=>N.contains(j));!x||O||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d),C=_g($=>{const j=$.target;[...f.branches].some(N=>N.contains(j))||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d);return ug($=>{y===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),G(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(il=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),sl(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=il)}},[c,d,r,f]),G(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),sl())},[c,f]),G(()=>{const $=()=>_({});return document.addEventListener(oa,$),()=>document.removeEventListener(oa,$)},[]),E(Ye.div,at({},u,{ref:h,style:{pointerEvents:b?x?"auto":"none":void 0,...t.style},onFocusCapture:Ee(t.onFocusCapture,C.onFocusCapture),onBlurCapture:Ee(t.onBlurCapture,C.onBlurCapture),onPointerDownCapture:Ee(t.onPointerDownCapture,k.onPointerDownCapture)}))});function vg(t,e=globalThis==null?void 0:globalThis.document){const n=se(t),r=V(!1),o=V(()=>{});return G(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){cl(dg,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",a),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function _g(t,e=globalThis==null?void 0:globalThis.document){const n=se(t),r=V(!1);return G(()=>{const o=a=>{a.target&&!r.current&&cl(fg,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function sl(){const t=new CustomEvent(oa);document.dispatchEvent(t)}function cl(t,e,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?lg(o,a):o.dispatchEvent(a)}let aa=0;function gg(){G(()=>{var t,e;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(t=n[0])!==null&&t!==void 0?t:ll()),document.body.insertAdjacentElement("beforeend",(e=n[1])!==null&&e!==void 0?e:ll()),aa++,()=>{aa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),aa--}},[])}function ll(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",t}const ia="focusScope.autoFocusOnMount",sa="focusScope.autoFocusOnUnmount",ul={bubbles:!1,cancelable:!0},wg=rt((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=t,[s,l]=K(null),u=se(o),f=se(a),c=V(null),p=Oe(e,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;G(()=>{if(r){let h=function(y){if(d.paused||!s)return;const b=y.target;s.contains(b)?c.current=b:ce(c.current,{select:!0})},w=function(y){if(d.paused||!s)return;const b=y.relatedTarget;b!==null&&(s.contains(b)||ce(c.current,{select:!0}))},v=function(y){if(document.activeElement===document.body)for(const x of y)x.removedNodes.length>0&&ce(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",w);const m=new MutationObserver(v);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",w),m.disconnect()}}},[r,s,d.paused]),G(()=>{if(s){pl.add(d);const h=document.activeElement;if(!s.contains(h)){const v=new CustomEvent(ia,ul);s.addEventListener(ia,u),s.dispatchEvent(v),v.defaultPrevented||(mg(kg(dl(s)),{select:!0}),document.activeElement===h&&ce(s))}return()=>{s.removeEventListener(ia,u),setTimeout(()=>{const v=new CustomEvent(sa,ul);s.addEventListener(sa,f),s.dispatchEvent(v),v.defaultPrevented||ce(h??document.body,{select:!0}),s.removeEventListener(sa,f),pl.remove(d)},0)}}},[s,u,f,d]);const _=nt(h=>{if(!n&&!r||d.paused)return;const w=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(w&&v){const m=h.currentTarget,[y,b]=yg(m);y&&b?!h.shiftKey&&v===b?(h.preventDefault(),n&&ce(y,{select:!0})):h.shiftKey&&v===y&&(h.preventDefault(),n&&ce(b,{select:!0})):v===m&&h.preventDefault()}},[n,r,d.paused]);return E(Ye.div,at({tabIndex:-1},i,{ref:p,onKeyDown:_}))});function mg(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(ce(r,{select:e}),document.activeElement!==n)return}function yg(t){const e=dl(t),n=fl(e,t),r=fl(e.reverse(),t);return[n,r]}function dl(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function fl(t,e){for(const n of t)if(!bg(n,{upTo:e}))return n}function bg(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function xg(t){return t instanceof HTMLInputElement&&"select"in t}function ce(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&xg(t)&&e&&t.select()}}const pl=$g();function $g(){let t=[];return{add(e){const n=t[0];e!==n&&(n==null||n.pause()),t=hl(t,e),t.unshift(e)},remove(e){var n;t=hl(t,e),(n=t[0])===null||n===void 0||n.resume()}}}function hl(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function kg(t){return t.filter(e=>e.tagName!=="A")}const Ke=globalThis!=null&&globalThis.document?Ce:()=>{},jg=rg["useId".toString()]||(()=>{});let Sg=0;function Cg(t){const[e,n]=K(jg());return Ke(()=>{t||n(r=>r??String(Sg++))},[t]),t||(e?`radix-${e}`:"")}const Eg=["top","right","bottom","left"],le=Math.min,_t=Math.max,pr=Math.round,hr=Math.floor,ue=t=>({x:t,y:t}),Og={left:"right",right:"left",bottom:"top",top:"bottom"},Ag={start:"end",end:"start"};function ca(t,e,n){return _t(t,le(e,n))}function Bt(t,e){return typeof t=="function"?t(e):t}function Yt(t){return t.split("-")[0]}function qe(t){return t.split("-")[1]}function la(t){return t==="x"?"y":"x"}function ua(t){return t==="y"?"height":"width"}function Ge(t){return["top","bottom"].includes(Yt(t))?"y":"x"}function da(t){return la(Ge(t))}function Pg(t,e,n){n===void 0&&(n=!1);const r=qe(t),o=da(t),a=ua(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=vr(i)),[i,vr(i)]}function Tg(t){const e=vr(t);return[fa(t),e,fa(e)]}function fa(t){return t.replace(/start|end/g,e=>Ag[e])}function Rg(t,e,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return n?e?o:r:e?r:o;case"left":case"right":return e?a:i;default:return[]}}function Dg(t,e,n,r){const o=qe(t);let a=Rg(Yt(t),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),e&&(a=a.concat(a.map(fa)))),a}function vr(t){return t.replace(/left|right|bottom|top/g,e=>Og[e])}function Ng(t){return{top:0,right:0,bottom:0,left:0,...t}}function vl(t){return typeof t!="number"?Ng(t):{top:t,right:t,bottom:t,left:t}}function _r(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function _l(t,e,n){let{reference:r,floating:o}=t;const a=Ge(e),i=da(e),s=ua(i),l=Yt(e),u=a==="y",f=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let d;switch(l){case"top":d={x:f,y:r.y-o.height};break;case"bottom":d={x:f,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:c};break;case"left":d={x:r.x-o.width,y:c};break;default:d={x:r.x,y:r.y}}switch(qe(e)){case"start":d[i]-=p*(n&&u?-1:1);break;case"end":d[i]+=p*(n&&u?-1:1);break}return d}const Lg=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:o}),{x:f,y:c}=_l(u,r,l),p=r,d={},_=0;for(let h=0;h<s.length;h++){const{name:w,fn:v}=s[h],{x:m,y,data:b,reset:x}=await v({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:i,elements:{reference:t,floating:e}});f=m??f,c=y??c,d={...d,[w]:{...d[w],...b}},x&&_<=50&&(_++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(u=x.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:o}):x.rects),{x:f,y:c}=_l(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function Cn(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=Bt(e,t),_=vl(d),w=s[p?c==="floating"?"reference":"floating":c],v=_r(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(w)))==null||n?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:f,strategy:l})),m=c==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,y=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),b=await(a.isElement==null?void 0:a.isElement(y))?await(a.getScale==null?void 0:a.getScale(y))||{x:1,y:1}:{x:1,y:1},x=_r(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:y,strategy:l}):m);return{top:(v.top-x.top+_.top)/b.y,bottom:(x.bottom-v.bottom+_.bottom)/b.y,left:(v.left-x.left+_.left)/b.x,right:(x.right-v.right+_.right)/b.x}}const Mg=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=e,{element:u,padding:f=0}=Bt(t,e)||{};if(u==null)return{};const c=vl(f),p={x:n,y:r},d=da(o),_=ua(d),h=await i.getDimensions(u),w=d==="y",v=w?"top":"left",m=w?"bottom":"right",y=w?"clientHeight":"clientWidth",b=a.reference[_]+a.reference[d]-p[d]-a.floating[_],x=p[d]-a.reference[d],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let C=k?k[y]:0;(!C||!await(i.isElement==null?void 0:i.isElement(k)))&&(C=s.floating[y]||a.floating[_]);const $=b/2-x/2,j=C/2-h[_]/2-1,O=le(c[v],j),N=le(c[m],j),L=O,M=C-h[_]-N,D=C/2-h[_]/2+$,F=ca(L,D,M),R=!l.arrow&&qe(o)!=null&&D!==F&&a.reference[_]/2-(D<L?O:N)-h[_]/2<0,T=R?D<L?D-L:D-M:0;return{[d]:p[d]+T,data:{[d]:F,centerOffset:D-F-T,...R&&{alignmentOffset:T}},reset:R}}}),Fg=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:h=!0,...w}=Bt(t,e);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const v=Yt(o),m=Yt(s)===s,y=await(l.isRTL==null?void 0:l.isRTL(u.floating)),b=p||(m||!h?[vr(s)]:Tg(s));!p&&_!=="none"&&b.push(...Dg(s,h,_,y));const x=[s,...b],k=await Cn(e,w),C=[];let $=((r=a.flip)==null?void 0:r.overflows)||[];if(f&&C.push(k[v]),c){const L=Pg(o,i,y);C.push(k[L[0]],k[L[1]])}if($=[...$,{placement:o,overflows:C}],!C.every(L=>L<=0)){var j,O;const L=(((j=a.flip)==null?void 0:j.index)||0)+1,M=x[L];if(M)return{data:{index:L,overflows:$},reset:{placement:M}};let D=(O=$.filter(F=>F.overflows[0]<=0).sort((F,R)=>F.overflows[1]-R.overflows[1])[0])==null?void 0:O.placement;if(!D)switch(d){case"bestFit":{var N;const F=(N=$.map(R=>[R.placement,R.overflows.filter(T=>T>0).reduce((T,tt)=>T+tt,0)]).sort((R,T)=>R[1]-T[1])[0])==null?void 0:N[0];F&&(D=F);break}case"initialPlacement":D=s;break}if(o!==D)return{reset:{placement:D}}}return{}}}};function gl(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function wl(t){return Eg.some(e=>t[e]>=0)}const Ig=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n}=e,{strategy:r="referenceHidden",...o}=Bt(t,e);switch(r){case"referenceHidden":{const a=await Cn(e,{...o,elementContext:"reference"}),i=gl(a,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:wl(i)}}}case"escaped":{const a=await Cn(e,{...o,altBoundary:!0}),i=gl(a,n.floating);return{data:{escapedOffsets:i,escaped:wl(i)}}}default:return{}}}}};async function Hg(t,e){const{placement:n,platform:r,elements:o}=t,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Yt(n),s=qe(n),l=Ge(n)==="y",u=["left","top"].includes(i)?-1:1,f=a&&l?-1:1,c=Bt(e,t);let{mainAxis:p,crossAxis:d,alignmentAxis:_}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof _=="number"&&(d=s==="end"?_*-1:_),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const Vg=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=e,l=await Hg(e,t);return i===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},Ug=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:w=>{let{x:v,y:m}=w;return{x:v,y:m}}},...l}=Bt(t,e),u={x:n,y:r},f=await Cn(e,l),c=Ge(Yt(o)),p=la(c);let d=u[p],_=u[c];if(a){const w=p==="y"?"top":"left",v=p==="y"?"bottom":"right",m=d+f[w],y=d-f[v];d=ca(m,d,y)}if(i){const w=c==="y"?"top":"left",v=c==="y"?"bottom":"right",m=_+f[w],y=_-f[v];_=ca(m,_,y)}const h=s.fn({...e,[p]:d,[c]:_});return{...h,data:{x:h.x-n,y:h.y-r}}}}},zg=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Bt(t,e),f={x:n,y:r},c=Ge(o),p=la(c);let d=f[p],_=f[c];const h=Bt(s,e),w=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const y=p==="y"?"height":"width",b=a.reference[p]-a.floating[y]+w.mainAxis,x=a.reference[p]+a.reference[y]-w.mainAxis;d<b?d=b:d>x&&(d=x)}if(u){var v,m;const y=p==="y"?"width":"height",b=["top","left"].includes(Yt(o)),x=a.reference[c]-a.floating[y]+(b&&((v=i.offset)==null?void 0:v[c])||0)+(b?0:w.crossAxis),k=a.reference[c]+a.reference[y]+(b?0:((m=i.offset)==null?void 0:m[c])||0)-(b?w.crossAxis:0);_<x?_=x:_>k&&(_=k)}return{[p]:d,[c]:_}}}},Wg=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:a}=e,{apply:i=()=>{},...s}=Bt(t,e),l=await Cn(e,s),u=Yt(n),f=qe(n),c=Ge(n)==="y",{width:p,height:d}=r.floating;let _,h;u==="top"||u==="bottom"?(_=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(h=u,_=f==="end"?"top":"bottom");const w=d-l[_],v=p-l[h],m=!e.middlewareData.shift;let y=w,b=v;if(c){const k=p-l.left-l.right;b=f||m?le(v,k):k}else{const k=d-l.top-l.bottom;y=f||m?le(w,k):k}if(m&&!f){const k=_t(l.left,0),C=_t(l.right,0),$=_t(l.top,0),j=_t(l.bottom,0);c?b=p-2*(k!==0||C!==0?k+C:_t(l.left,l.right)):y=d-2*($!==0||j!==0?$+j:_t(l.top,l.bottom))}await i({...e,availableWidth:b,availableHeight:y});const x=await o.getDimensions(a.floating);return p!==x.width||d!==x.height?{reset:{rects:!0}}:{}}}};function de(t){return ml(t)?(t.nodeName||"").toLowerCase():"#document"}function gt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Kt(t){var e;return(e=(ml(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ml(t){return t instanceof Node||t instanceof gt(t).Node}function qt(t){return t instanceof Element||t instanceof gt(t).Element}function Tt(t){return t instanceof HTMLElement||t instanceof gt(t).HTMLElement}function yl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof gt(t).ShadowRoot}function En(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(o)}function Bg(t){return["table","td","th"].includes(de(t))}function pa(t){const e=ha(),n=kt(t);return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Yg(t){let e=Xe(t);for(;Tt(e)&&!gr(e);){if(pa(e))return e;e=Xe(e)}return null}function ha(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function gr(t){return["html","body","#document"].includes(de(t))}function kt(t){return gt(t).getComputedStyle(t)}function wr(t){return qt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Xe(t){if(de(t)==="html")return t;const e=t.assignedSlot||t.parentNode||yl(t)&&t.host||Kt(t);return yl(e)?e.host:e}function bl(t){const e=Xe(t);return gr(e)?t.ownerDocument?t.ownerDocument.body:t.body:Tt(e)&&En(e)?e:bl(e)}function On(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=bl(t),a=o===((r=t.ownerDocument)==null?void 0:r.body),i=gt(o);return a?e.concat(i,i.visualViewport||[],En(o)?o:[],i.frameElement&&n?On(i.frameElement):[]):e.concat(o,On(o,[],n))}function xl(t){const e=kt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Tt(t),a=o?t.offsetWidth:n,i=o?t.offsetHeight:r,s=pr(n)!==a||pr(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function va(t){return qt(t)?t:t.contextElement}function Ze(t){const e=va(t);if(!Tt(e))return ue(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:a}=xl(e);let i=(a?pr(n.width):n.width)/r,s=(a?pr(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Kg=ue(0);function $l(t){const e=gt(t);return!ha()||!e.visualViewport?Kg:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qg(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==gt(t)?!1:e}function Ae(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=va(t);let i=ue(1);e&&(r?qt(r)&&(i=Ze(r)):i=Ze(t));const s=qg(a,n,r)?$l(a):ue(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,f=o.width/i.x,c=o.height/i.y;if(a){const p=gt(a),d=r&&qt(r)?gt(r):r;let _=p,h=_.frameElement;for(;h&&r&&d!==_;){const w=Ze(h),v=h.getBoundingClientRect(),m=kt(h),y=v.left+(h.clientLeft+parseFloat(m.paddingLeft))*w.x,b=v.top+(h.clientTop+parseFloat(m.paddingTop))*w.y;l*=w.x,u*=w.y,f*=w.x,c*=w.y,l+=y,u+=b,_=gt(h),h=_.frameElement}}return _r({width:f,height:c,x:l,y:u})}const Gg=[":popover-open",":modal"];function kl(t){return Gg.some(e=>{try{return t.matches(e)}catch{return!1}})}function Xg(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const a=o==="fixed",i=Kt(r),s=e?kl(e.floating):!1;if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=ue(1);const f=ue(0),c=Tt(r);if((c||!c&&!a)&&((de(r)!=="body"||En(i))&&(l=wr(r)),Tt(r))){const p=Ae(r);u=Ze(r),f.x=p.x+r.clientLeft,f.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+f.x,y:n.y*u.y-l.scrollTop*u.y+f.y}}function Zg(t){return Array.from(t.getClientRects())}function jl(t){return Ae(Kt(t)).left+wr(t).scrollLeft}function Jg(t){const e=Kt(t),n=wr(t),r=t.ownerDocument.body,o=_t(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=_t(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+jl(t);const s=-n.scrollTop;return kt(r).direction==="rtl"&&(i+=_t(e.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function Qg(t,e){const n=gt(t),r=Kt(t),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=ha();(!u||u&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function t0(t,e){const n=Ae(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,a=Tt(t)?Ze(t):ue(1),i=t.clientWidth*a.x,s=t.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function Sl(t,e,n){let r;if(e==="viewport")r=Qg(t,n);else if(e==="document")r=Jg(Kt(t));else if(qt(e))r=t0(e,n);else{const o=$l(t);r={...e,x:e.x-o.x,y:e.y-o.y}}return _r(r)}function Cl(t,e){const n=Xe(t);return n===e||!qt(n)||gr(n)?!1:kt(n).position==="fixed"||Cl(n,e)}function e0(t,e){const n=e.get(t);if(n)return n;let r=On(t,[],!1).filter(s=>qt(s)&&de(s)!=="body"),o=null;const a=kt(t).position==="fixed";let i=a?Xe(t):t;for(;qt(i)&&!gr(i);){const s=kt(i),l=pa(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||En(i)&&!l&&Cl(t,i))?r=r.filter(f=>f!==i):o=s,i=Xe(i)}return e.set(t,r),r}function n0(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=[...n==="clippingAncestors"?e0(e,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,f)=>{const c=Sl(e,f,o);return u.top=_t(c.top,u.top),u.right=le(c.right,u.right),u.bottom=le(c.bottom,u.bottom),u.left=_t(c.left,u.left),u},Sl(e,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function r0(t){const{width:e,height:n}=xl(t);return{width:e,height:n}}function o0(t,e,n){const r=Tt(e),o=Kt(e),a=n==="fixed",i=Ae(t,!0,a,e);let s={scrollLeft:0,scrollTop:0};const l=ue(0);if(r||!r&&!a)if((de(e)!=="body"||En(o))&&(s=wr(e)),r){const c=Ae(e,!0,a,e);l.x=c.x+e.clientLeft,l.y=c.y+e.clientTop}else o&&(l.x=jl(o));const u=i.left+s.scrollLeft-l.x,f=i.top+s.scrollTop-l.y;return{x:u,y:f,width:i.width,height:i.height}}function El(t,e){return!Tt(t)||kt(t).position==="fixed"?null:e?e(t):t.offsetParent}function Ol(t,e){const n=gt(t);if(!Tt(t)||kl(t))return n;let r=El(t,e);for(;r&&Bg(r)&&kt(r).position==="static";)r=El(r,e);return r&&(de(r)==="html"||de(r)==="body"&&kt(r).position==="static"&&!pa(r))?n:r||Yg(t)||n}const a0=async function(t){const e=this.getOffsetParent||Ol,n=this.getDimensions,r=await n(t.floating);return{reference:o0(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function i0(t){return kt(t).direction==="rtl"}const s0={convertOffsetParentRelativeRectToViewportRelativeRect:Xg,getDocumentElement:Kt,getClippingRect:n0,getOffsetParent:Ol,getElementRects:a0,getClientRects:Zg,getDimensions:r0,getScale:Ze,isElement:qt,isRTL:i0};function c0(t,e){let n=null,r;const o=Kt(t);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:f,width:c,height:p}=t.getBoundingClientRect();if(s||e(),!c||!p)return;const d=hr(f),_=hr(o.clientWidth-(u+c)),h=hr(o.clientHeight-(f+p)),w=hr(u),m={rootMargin:-d+"px "+-_+"px "+-h+"px "+-w+"px",threshold:_t(0,le(1,l))||1};let y=!0;function b(x){const k=x[0].intersectionRatio;if(k!==l){if(!y)return i();k?i(!1,k):r=setTimeout(()=>{i(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,m)}n.observe(t)}return i(!0),a}function l0(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=va(t),f=o||a?[...u?On(u):[],...On(e)]:[];f.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),a&&v.addEventListener("resize",n)});const c=u&&s?c0(u,n):null;let p=-1,d=null;i&&(d=new ResizeObserver(v=>{let[m]=v;m&&m.target===u&&d&&(d.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(e)})),n()}),u&&!l&&d.observe(u),d.observe(e));let _,h=l?Ae(t):null;l&&w();function w(){const v=Ae(t);h&&(v.x!==h.x||v.y!==h.y||v.width!==h.width||v.height!==h.height)&&n(),h=v,_=requestAnimationFrame(w)}return n(),()=>{var v;f.forEach(m=>{o&&m.removeEventListener("scroll",n),a&&m.removeEventListener("resize",n)}),c==null||c(),(v=d)==null||v.disconnect(),d=null,l&&cancelAnimationFrame(_)}}const u0=Vg,d0=Ug,f0=Fg,p0=Wg,h0=Ig,Al=Mg,v0=zg,_0=(t,e,n)=>{const r=new Map,o={platform:s0,...n},a={...o.platform,_c:r};return Lg(t,e,{...o,platform:a})},g0=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?Al({element:r.current,padding:o}).fn(n):{}:r?Al({element:r,padding:o}).fn(n):{}}}};var mr=typeof document<"u"?Ce:G;function yr(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!yr(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&t.$$typeof)&&!yr(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function Pl(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Tl(t,e){const n=Pl(t);return Math.round(e*n)/n}function Rl(t){const e=V(t);return mr(()=>{e.current=t}),e}function w0(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[f,c]=K({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[p,d]=K(r);yr(p,r)||d(r);const[_,h]=K(null),[w,v]=K(null),m=nt(T=>{T!==k.current&&(k.current=T,h(T))},[]),y=nt(T=>{T!==C.current&&(C.current=T,v(T))},[]),b=a||_,x=i||w,k=V(null),C=V(null),$=V(f),j=l!=null,O=Rl(l),N=Rl(o),L=nt(()=>{if(!k.current||!C.current)return;const T={placement:e,strategy:n,middleware:p};N.current&&(T.platform=N.current),_0(k.current,C.current,T).then(tt=>{const ct={...tt,isPositioned:!0};M.current&&!yr($.current,ct)&&($.current=ct,Sn(()=>{c(ct)}))})},[p,e,n,N]);mr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(T=>({...T,isPositioned:!1})))},[u]);const M=V(!1);mr(()=>(M.current=!0,()=>{M.current=!1}),[]),mr(()=>{if(b&&(k.current=b),x&&(C.current=x),b&&x){if(O.current)return O.current(b,x,L);L()}},[b,x,L,O,j]);const D=lt(()=>({reference:k,floating:C,setReference:m,setFloating:y}),[m,y]),F=lt(()=>({reference:b,floating:x}),[b,x]),R=lt(()=>{const T={position:n,left:0,top:0};if(!F.floating)return T;const tt=Tl(F.floating,f.x),ct=Tl(F.floating,f.y);return s?{...T,transform:"translate("+tt+"px, "+ct+"px)",...Pl(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:tt,top:ct}},[n,s,F.floating,f.x,f.y]);return lt(()=>({...f,update:L,refs:D,elements:F,floatingStyles:R}),[f,L,D,F,R])}function m0(t){const[e,n]=K(void 0);return Ke(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=t.offsetWidth,s=t.offsetHeight;n({width:i,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Dl="Popper",[Nl,Ll]=al(Dl),[y0,Ml]=Nl(Dl),b0=t=>{const{__scopePopper:e,children:n}=t,[r,o]=K(null);return E(y0,{scope:e,anchor:r,onAnchorChange:o},n)},x0="PopperAnchor",$0=rt((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,a=Ml(x0,n),i=V(null),s=Oe(e,i);return G(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:E(Ye.div,at({},o,{ref:s}))}),Fl="PopperContent",[k0,vm]=Nl(Fl),j0=rt((t,e)=>{var n,r,o,a,i,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:_=0,arrowPadding:h=0,avoidCollisions:w=!0,collisionBoundary:v=[],collisionPadding:m=0,sticky:y="partial",hideWhenDetached:b=!1,updatePositionStrategy:x="optimized",onPlaced:k,...C}=t,$=Ml(Fl,f),[j,O]=K(null),N=Oe(e,Y=>O(Y)),[L,M]=K(null),D=m0(L),F=(n=D==null?void 0:D.width)!==null&&n!==void 0?n:0,R=(r=D==null?void 0:D.height)!==null&&r!==void 0?r:0,T=c+(d!=="center"?"-"+d:""),tt=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},ct=Array.isArray(v)?v:[v],pt=ct.length>0,ut={padding:tt,boundary:ct.filter(S0),altBoundary:pt},{refs:wt,floatingStyles:Pe,placement:Dr,isPositioned:Gt,middlewareData:Xt}=w0({strategy:"fixed",placement:T,whileElementsMounted:(...Y)=>l0(...Y,{animationFrame:x==="always"}),elements:{reference:$.anchor},middleware:[u0({mainAxis:p+R,alignmentAxis:_}),w&&d0({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?v0():void 0,...ut}),w&&f0({...ut}),p0({...ut,apply:({elements:Y,rects:mt,availableWidth:pe,availableHeight:et})=>{const{width:st,height:Ot}=mt.reference,Re=Y.floating.style;Re.setProperty("--radix-popper-available-width",`${pe}px`),Re.setProperty("--radix-popper-available-height",`${et}px`),Re.setProperty("--radix-popper-anchor-width",`${st}px`),Re.setProperty("--radix-popper-anchor-height",`${Ot}px`)}}),L&&g0({element:L,padding:h}),C0({arrowWidth:F,arrowHeight:R}),b&&h0({strategy:"referenceHidden",...ut})]}),[Rn,Ta]=Il(Dr),an=se(k);Ke(()=>{Gt&&(an==null||an())},[Gt,an]);const Te=(o=Xt.arrow)===null||o===void 0?void 0:o.x,Nr=(a=Xt.arrow)===null||a===void 0?void 0:a.y,W=((i=Xt.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[B,ot]=K();return Ke(()=>{j&&ot(window.getComputedStyle(j).zIndex)},[j]),E("div",{ref:wt.setFloating,"data-radix-popper-content-wrapper":"",style:{...Pe,transform:Gt?Pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:B,"--radix-popper-transform-origin":[(s=Xt.transformOrigin)===null||s===void 0?void 0:s.x,(l=Xt.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:t.dir},E(k0,{scope:f,placedSide:Rn,onArrowChange:M,arrowX:Te,arrowY:Nr,shouldHideArrow:W},E(Ye.div,at({"data-side":Rn,"data-align":Ta},C,{ref:N,style:{...C.style,animation:Gt?void 0:"none",opacity:(u=Xt.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function S0(t){return t!==null}const C0=t=>({name:"transformOrigin",options:t,fn(e){var n,r,o,a,i;const{placement:s,rects:l,middlewareData:u}=e,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:t.arrowWidth,d=c?0:t.arrowHeight,[_,h]=Il(s),w={start:"0%",center:"50%",end:"100%"}[h],v=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,m=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+d/2;let y="",b="";return _==="bottom"?(y=c?w:`${v}px`,b=`${-d}px`):_==="top"?(y=c?w:`${v}px`,b=`${l.floating.height+d}px`):_==="right"?(y=`${-d}px`,b=c?w:`${m}px`):_==="left"&&(y=`${l.floating.width+d}px`,b=c?w:`${m}px`),{data:{x:y,y:b}}}});function Il(t){const[e,n="center"]=t.split("-");return[e,n]}const E0=b0,O0=$0,A0=j0,P0=rt((t,e)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=t;return r?rl.createPortal(E(Ye.div,at({},o,{ref:e})),r):null});function T0(t,e){return lr((n,r)=>{const o=e[n][r];return o??n},t)}const _a=t=>{const{present:e,children:n}=t,r=R0(e),o=typeof n=="function"?n({present:r.isPresent}):zt.only(n),a=Oe(r.ref,o.ref);return typeof n=="function"||r.isPresent?Be(o,{ref:a}):null};_a.displayName="Presence";function R0(t){const[e,n]=K(),r=V({}),o=V(t),a=V("none"),i=t?"mounted":"unmounted",[s,l]=T0(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return G(()=>{const u=br(r.current);a.current=s==="mounted"?u:"none"},[s]),Ke(()=>{const u=r.current,f=o.current;if(f!==t){const p=a.current,d=br(u);t?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),Ke(()=>{if(e){const u=c=>{const d=br(r.current).includes(c.animationName);c.target===e&&d&&Sn(()=>l("ANIMATION_END"))},f=c=>{c.target===e&&(a.current=br(r.current))};return e.addEventListener("animationstart",f),e.addEventListener("animationcancel",u),e.addEventListener("animationend",u),()=>{e.removeEventListener("animationstart",f),e.removeEventListener("animationcancel",u),e.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:nt(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function br(t){return(t==null?void 0:t.animationName)||"none"}function D0({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=N0({defaultProp:e,onChange:n}),a=t!==void 0,i=a?t:r,s=se(n),l=nt(u=>{if(a){const c=typeof u=="function"?u(t):u;c!==t&&s(c)}else o(u)},[a,t,o,s]);return[i,l]}function N0({defaultProp:t,onChange:e}){const n=K(t),[r]=n,o=V(r),a=se(e);return G(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}var L0=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Je=new WeakMap,xr=new WeakMap,$r={},ga=0,Hl=function(t){return t&&(t.host||Hl(t.parentNode))},M0=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=Hl(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},F0=function(t,e,n,r){var o=M0(e,Array.isArray(t)?t:[t]);$r[n]||($r[n]=new WeakMap);var a=$r[n],i=[],s=new Set,l=new Set(o),u=function(c){!c||s.has(c)||(s.add(c),u(c.parentNode))};o.forEach(u);var f=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))f(p);else{var d=p.getAttribute(r),_=d!==null&&d!=="false",h=(Je.get(p)||0)+1,w=(a.get(p)||0)+1;Je.set(p,h),a.set(p,w),i.push(p),h===1&&_&&xr.set(p,!0),w===1&&p.setAttribute(n,"true"),_||p.setAttribute(r,"true")}})};return f(e),s.clear(),ga++,function(){i.forEach(function(c){var p=Je.get(c)-1,d=a.get(c)-1;Je.set(c,p),a.set(c,d),p||(xr.has(c)||c.removeAttribute(r),xr.delete(c)),d||c.removeAttribute(n)}),ga--,ga||(Je=new WeakMap,Je=new WeakMap,xr=new WeakMap,$r={})}},I0=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||L0(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),F0(r,o,n,"aria-hidden")):function(){return null}},Rt=function(){return Rt=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Rt.apply(this,arguments)};function Vl(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function H0(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}typeof SuppressedError=="function"&&SuppressedError;var kr="right-scroll-bar-position",jr="width-before-scroll-bar",V0="with-scroll-bars-hidden",U0="--removed-body-scroll-bar-size";function z0(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}function W0(t,e){var n=K(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}function B0(t,e){return W0(e||null,function(n){return t.forEach(function(r){return z0(r,n)})})}function Y0(t){return t}function K0(t,e){e===void 0&&(e=Y0);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(a){var i=e(a,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(a),i=n}var l=function(){var f=i;i=[],f.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(f){i.push(f),u()},filter:function(f){return i=i.filter(f),n}}}};return o}function q0(t){t===void 0&&(t={});var e=K0(null);return e.options=Rt({async:!0,ssr:!1},t),e}var Ul=function(t){var e=t.sideCar,n=Vl(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return E(r,Rt({},n))};Ul.isSideCarExport=!0;function G0(t,e){return t.useMedium(e),Ul}var zl=q0(),wa=function(){},Sr=rt(function(t,e){var n=V(null),r=K({onScrollCapture:wa,onWheelCapture:wa,onTouchMoveCapture:wa}),o=r[0],a=r[1],i=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,f=t.enabled,c=t.shards,p=t.sideCar,d=t.noIsolation,_=t.inert,h=t.allowPinchZoom,w=t.as,v=w===void 0?"div":w,m=Vl(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),y=p,b=B0([n,e]),x=Rt(Rt({},m),o);return E(J,null,f&&E(y,{sideCar:zl,removeScrollBar:u,shards:c,noIsolation:d,inert:_,setCallbacks:a,allowPinchZoom:!!h,lockRef:n}),i?Be(zt.only(s),Rt(Rt({},x),{ref:b})):E(v,Rt({},x,{className:l,ref:b}),s))});Sr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Sr.classNames={fullWidth:jr,zeroRight:kr};var X0=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Z0(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=X0();return e&&t.setAttribute("nonce",e),t}function J0(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function Q0(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var tw=function(){var t=0,e=null;return{add:function(n){t==0&&(e=Z0())&&(J0(e,n),Q0(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},ew=function(){var t=tw();return function(e,n){G(function(){return t.add(e),function(){t.remove()}},[e&&n])}},Wl=function(){var t=ew(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},nw={left:0,top:0,right:0,gap:0},ma=function(t){return parseInt(t||"",10)||0},rw=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[ma(n),ma(r),ma(o)]},ow=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return nw;var e=rw(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},aw=Wl(),iw=function(t,e,n,r){var o=t.left,a=t.top,i=t.right,s=t.gap;return n===void 0&&(n="margin"),`
22
22
  .`.concat(V0,` {
23
23
  overflow: hidden `).concat(r,`;
24
24
  padding-right: `).concat(s,"px ").concat(r,`;
@@ -28,8 +28,8 @@ ${n.concat(n).join(`
28
28
  overscroll-behavior: contain;
29
29
  `).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
30
30
  padding-left: `.concat(o,`px;
31
- padding-top: `).concat(i,`px;
32
- padding-right: `).concat(a,`px;
31
+ padding-top: `).concat(a,`px;
32
+ padding-right: `).concat(i,`px;
33
33
  margin-left:0;
34
34
  margin-top:0;
35
35
  margin-right: `).concat(s,"px ").concat(r,`;
@@ -55,13 +55,13 @@ ${n.concat(n).join(`
55
55
  body {
56
56
  `).concat(U0,": ").concat(s,`px;
57
57
  }
58
- `)},sw=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,i=lt(function(){return ow(o)},[o]);return E(iw,{styles:aw(i,!e,o,n?"":"!important")})},yi=!1;if(typeof window<"u")try{var Cr=Object.defineProperty({},"passive",{get:function(){return yi=!0,!0}});window.addEventListener("test",Cr,Cr),window.removeEventListener("test",Cr,Cr)}catch{yi=!1}var Qe=yi?{passive:!1}:!1,cw=function(t){return t.tagName==="TEXTAREA"},Bl=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!cw(t)&&n[e]==="visible")},lw=function(t){return Bl(t,"overflowY")},uw=function(t){return Bl(t,"overflowX")},Yl=function(t,e){var n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Kl(t,n);if(r){var o=ql(t,n),i=o[1],a=o[2];if(i>a)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},dw=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},fw=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},Kl=function(t,e){return t==="v"?lw(e):uw(e)},ql=function(t,e){return t==="v"?dw(e):fw(e)},pw=function(t,e){return t==="h"&&e==="rtl"?-1:1},hw=function(t,e,n,r,o){var i=pw(t,window.getComputedStyle(e).direction),a=i*r,s=n.target,l=e.contains(s),u=!1,f=a>0,c=0,p=0;do{var d=ql(t,s),_=d[0],h=d[1],w=d[2],v=h-w-i*_;(_||v)&&Kl(t,s)&&(c+=v,p+=_),s=s.parentNode}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(f&&(o&&c===0||!o&&a>c)||!f&&(o&&p===0||!o&&-a>p))&&(u=!0),u},Er=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Gl=function(t){return[t.deltaX,t.deltaY]},Xl=function(t){return t&&"current"in t?t.current:t},vw=function(t,e){return t[0]===e[0]&&t[1]===e[1]},_w=function(t){return`
58
+ `)},sw=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r,a=lt(function(){return ow(o)},[o]);return E(aw,{styles:iw(a,!e,o,n?"":"!important")})},ya=!1;if(typeof window<"u")try{var Cr=Object.defineProperty({},"passive",{get:function(){return ya=!0,!0}});window.addEventListener("test",Cr,Cr),window.removeEventListener("test",Cr,Cr)}catch{ya=!1}var Qe=ya?{passive:!1}:!1,cw=function(t){return t.tagName==="TEXTAREA"},Bl=function(t,e){var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!cw(t)&&n[e]==="visible")},lw=function(t){return Bl(t,"overflowY")},uw=function(t){return Bl(t,"overflowX")},Yl=function(t,e){var n=e;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=Kl(t,n);if(r){var o=ql(t,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},dw=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},fw=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},Kl=function(t,e){return t==="v"?lw(e):uw(e)},ql=function(t,e){return t==="v"?dw(e):fw(e)},pw=function(t,e){return t==="h"&&e==="rtl"?-1:1},hw=function(t,e,n,r,o){var a=pw(t,window.getComputedStyle(e).direction),i=a*r,s=n.target,l=e.contains(s),u=!1,f=i>0,c=0,p=0;do{var d=ql(t,s),_=d[0],h=d[1],w=d[2],v=h-w-a*_;(_||v)&&Kl(t,s)&&(c+=v,p+=_),s=s.parentNode}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(f&&(o&&c===0||!o&&i>c)||!f&&(o&&p===0||!o&&-i>p))&&(u=!0),u},Er=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},Gl=function(t){return[t.deltaX,t.deltaY]},Xl=function(t){return t&&"current"in t?t.current:t},vw=function(t,e){return t[0]===e[0]&&t[1]===e[1]},_w=function(t){return`
59
59
  .block-interactivity-`.concat(t,` {pointer-events: none;}
60
60
  .allow-interactivity-`).concat(t,` {pointer-events: all;}
61
- `)},gw=0,tn=[];function ww(t){var e=V([]),n=V([0,0]),r=V(),o=K(gw++)[0],i=K(function(){return Wl()})[0],a=V(t);G(function(){a.current=t},[t]),G(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var h=H0([t.lockRef.current],(t.shards||[]).map(Xl),!0).filter(Boolean);return h.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=nt(function(h,w){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var v=Er(h),m=n.current,y="deltaX"in h?h.deltaX:m[0]-v[0],b="deltaY"in h?h.deltaY:m[1]-v[1],x,k=h.target,C=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in h&&C==="h"&&k.type==="range")return!1;var $=Yl(C,k);if(!$)return!0;if($?x=C:(x=C==="v"?"h":"v",$=Yl(C,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(y||b)&&(r.current=x),!x)return!0;var j=r.current||x;return hw(j,w,h,j==="h"?y:b,!0)},[]),l=nt(function(h){var w=h;if(!(!tn.length||tn[tn.length-1]!==i)){var v="deltaY"in w?Gl(w):Er(w),m=e.current.filter(function(x){return x.name===w.type&&x.target===w.target&&vw(x.delta,v)})[0];if(m&&m.should){w.cancelable&&w.preventDefault();return}if(!m){var y=(a.current.shards||[]).map(Xl).filter(Boolean).filter(function(x){return x.contains(w.target)}),b=y.length>0?s(w,y[0]):!a.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),u=nt(function(h,w,v,m){var y={name:h,delta:w,target:v,should:m};e.current.push(y),setTimeout(function(){e.current=e.current.filter(function(b){return b!==y})},1)},[]),f=nt(function(h){n.current=Er(h),r.current=void 0},[]),c=nt(function(h){u(h.type,Gl(h),h.target,s(h,t.lockRef.current))},[]),p=nt(function(h){u(h.type,Er(h),h.target,s(h,t.lockRef.current))},[]);G(function(){return tn.push(i),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Qe),document.addEventListener("touchmove",l,Qe),document.addEventListener("touchstart",f,Qe),function(){tn=tn.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,Qe),document.removeEventListener("touchmove",l,Qe),document.removeEventListener("touchstart",f,Qe)}},[]);var d=t.removeScrollBar,_=t.inert;return E(J,null,_?E(i,{styles:_w(o)}):null,d?E(sw,{gapMode:"margin"}):null)}const mw=G0(zl,ww);var Zl=rt(function(t,e){return E(Sr,Rt({},t,{ref:e,sideCar:mw}))});Zl.classNames=Sr.classNames;const yw=Zl,Jl="Popover",[Ql,_m]=il(Jl,[Ll]),bi=Ll(),[bw,en]=Ql(Jl),xw=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=t,s=bi(e),l=V(null),[u,f]=K(!1),[c=!1,p]=D0({prop:r,defaultProp:o,onChange:i});return E(E0,s,E(bw,{scope:e,contentId:Cg(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:nt(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:nt(()=>f(!0),[]),onCustomAnchorRemove:nt(()=>f(!1),[]),modal:a},n))},$w="PopoverTrigger",kw=rt((t,e)=>{const{__scopePopover:n,...r}=t,o=en($w,n),i=bi(n),a=Oe(e,o.triggerRef),s=E(Ye.button,it({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":nu(o.open)},r,{ref:a,onClick:Ee(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:E(O0,it({asChild:!0},i),s)}),tu="PopoverPortal",[jw,Sw]=Ql(tu,{forceMount:void 0}),Cw=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,i=en(tu,e);return E(jw,{scope:e,forceMount:n},E(_i,{present:n||i.open},E(P0,{asChild:!0,container:o},r)))},An="PopoverContent",Ew=rt((t,e)=>{const n=Sw(An,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,i=en(An,t.__scopePopover);return E(_i,{present:r||i.open},i.modal?E(Ow,it({},o,{ref:e})):E(Aw,it({},o,{ref:e})))}),Ow=rt((t,e)=>{const n=en(An,t.__scopePopover),r=V(null),o=Oe(e,r),i=V(!1);return G(()=>{const a=r.current;if(a)return I0(a)},[]),E(yw,{as:ni,allowPinchZoom:!0},E(eu,it({},t,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(t.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ee(t.onPointerDownOutside,a=>{const s=a.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;i.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Ee(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Aw=rt((t,e)=>{const n=en(An,t.__scopePopover),r=V(!1),o=V(!1);return E(eu,it({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=t.onCloseAutoFocus)===null||a===void 0||a.call(t,i),!i.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),i.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:i=>{var a,s;(a=t.onInteractOutside)===null||a===void 0||a.call(t,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=i.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}}))}),eu=rt((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=t,p=en(An,n),d=bi(n);return gg(),E(wg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},E(hg,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},E(A0,it({"data-state":nu(p.open),role:"dialog",id:p.contentId},d,c,{ref:e,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function nu(t){return t?"open":"closed"}const Pw=xw,Tw=kw,Rw=Cw,Dw=Ew;function ru(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ru(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function xi(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ru(t))&&(r&&(r+=" "),r+=e);return r}function Or(){throw new Error("Cycle detected")}var Nw=Symbol.for("preact-signals");function $i(){if(nn>1)nn--;else{for(var t,e=!1;Pn!==void 0;){var n=Pn;for(Pn=void 0,ki++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&iu(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(ki=0,nn--,e)throw t}}var Z=void 0,Pn=void 0,nn=0,ki=0,Ar=0;function ou(t){if(Z!==void 0){var e=t.n;if(e===void 0||e.t!==Z)return e={i:0,S:t,p:Z.s,n:void 0,t:Z,e:void 0,x:void 0,r:e},Z.s!==void 0&&(Z.s.n=e),Z.s=e,t.n=e,32&Z.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Z.s,e.n=void 0,Z.s.n=e,Z.s=e),e}}function at(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}at.prototype.brand=Nw,at.prototype.h=function(){return!0},at.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)},at.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}},at.prototype.subscribe=function(t){var e=this;return Si(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})},at.prototype.valueOf=function(){return this.value},at.prototype.toString=function(){return this.value+""},at.prototype.toJSON=function(){return this.value},at.prototype.peek=function(){return this.v},Object.defineProperty(at.prototype,"value",{get:function(){var t=ou(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(Z instanceof fe&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){ki>100&&Or(),this.v=t,this.i++,Ar++,nn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{$i()}}}});function Pr(t){return new at(t)}function iu(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function au(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function su(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function fe(t){at.call(this,void 0),this.x=t,this.s=void 0,this.g=Ar-1,this.f=4}(fe.prototype=new at).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ar))return!0;if(this.g=Ar,this.f|=1,this.i>0&&!iu(this))return this.f&=-2,!0;var t=Z;try{au(this),Z=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return Z=t,su(this),this.f&=-2,!0},fe.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}at.prototype.S.call(this,t)},fe.prototype.U=function(t){if(this.t!==void 0&&(at.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},fe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}},fe.prototype.peek=function(){if(this.h()||Or(),16&this.f)throw this.v;return this.v},Object.defineProperty(fe.prototype,"value",{get:function(){1&this.f&&Or();var t=ou(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Lw(t){return new fe(t)}function cu(t){var e=t.u;if(t.u=void 0,typeof e=="function"){nn++;var n=Z;Z=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,ji(t),r}finally{Z=n,$i()}}}function ji(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,cu(t)}function Mw(t){if(Z!==this)throw new Error("Out-of-order effect");su(this),Z=t,this.f&=-2,8&this.f&&ji(this),$i()}function Tn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Tn.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}},Tn.prototype.S=function(){1&this.f&&Or(),this.f|=1,this.f&=-9,cu(this),au(this),nn++;var t=Z;return Z=this,Mw.bind(this,t)},Tn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Pn,Pn=this)},Tn.prototype.d=function(){this.f|=8,1&this.f||ji(this)};function Si(t){var e=new Tn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var Ci;function rn(t,e){S[t]=e.bind(null,S[t]||function(){})}function Tr(t){Ci&&Ci(),Ci=t&&t.S()}function lu(t){var e=this,n=t.data,r=Iw(n);r.value=n;var o=lt(function(){for(var i=e.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return e.__$u.c=function(){var a;!Ys(o.peek())&&((a=e.base)==null?void 0:a.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Lw(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}lu.displayName="_st",Object.defineProperties(at.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:lu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),rn("__b",function(t,e){if(typeof e.type=="string"){var n,r=e.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof at&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)}),rn("__r",function(t,e){Tr();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Si(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),Tr(n),t(e)}),rn("__e",function(t,e,n,r){Tr(),t(e,n,r)}),rn("diffed",function(t,e){Tr();var n;if(typeof e.type=="string"&&(n=e.__e)){var r=e.__np,o=e.props;if(r){var i=n.U;if(i)for(var a in i){var s=i[a];s!==void 0&&!(a in r)&&(s.d(),i[a]=void 0)}else n.U=i={};for(var l in r){var u=i[l],f=r[l];u===void 0?(u=Fw(n,l,f,o),i[l]=u):u.o(f,o)}}}t(e)});function Fw(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,i=Pr(n);return{o:function(a,s){i.value=a,r=s},d:Si(function(){var a=i.value.value;r[e]!==a&&(r[e]=a,o?t[e]=a:a?t.setAttribute(e,a):t.removeAttribute(e))})}}rn("unmount",function(t,e){if(typeof e.type=="string"){var n=e.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var i=r[o];i&&i.d()}}}}else{var a=e.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}t(e)}),rn("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)}),$t.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in t))return!0;return!1};function Iw(t){return lt(function(){return Pr(t)},[])}const on={config$:Pr({headerText:"",label:""}),filters$:Pr({})},uu="inploi-job-alerts",Hw="ija";var Vw=["1","2","3","4","5","6","7","8","9","10","11","12"],Uw={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]}},zw=(t,e=1,n)=>r=>{const[o,i]=Uw[n][r];return"oklch("+o+"% "+i*e+" "+t+")"},du=t=>{const e=zw(t.hue,t.chroma,t.mode);return Object.fromEntries(Vw.map(n=>[t.prefix+n,t.transform(e(n))]))},fu=t=>t,Ww=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(e)},Rr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Ei=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Rr(t)&&Rr(n))for(const r in n){const o=n[r];if(Rr(o)){t[r]||Object.assign(t,{[r]:{}});const i=t[r];Rr(i)&&Ei(i,o)}else Object.assign(t,{[r]:n[r]})}return Ei(t,...e)},Bw=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Yw=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=Ww(Ei(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[Oi,Ai,Kw]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],qw=Yw().core(({theme:t})=>({color:{transparent:Kw,black:Oi,white:Ai,lowest:t.mode==="light"?Ai:Oi,highest:t.mode==="light"?Oi:Ai,...du({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:fu}),...du({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:fu})},radius:{base:t.corners==="rounded"?".25rem":t.corners==="soft"?".125rem":"0",multiplier:t.corners==="rounded"?"0.5rem":t.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:t})=>({radius:{sm:`calc(${t("radius.base")} + (0 * ${t("radius.multiplier")}))`,md:`calc(${t("radius.base")} + (1 * ${t("radius.multiplier")}))`,lg:`calc(${t("radius.base")} + (2 * ${t("radius.multiplier")}))`,xl:`calc(${t("radius.base")} + (3 * ${t("radius.multiplier")}))`}})).component(()=>({})),Gw=Bw({prefix:"i-"}),Xw=t=>{const e=qw.from({theme:t,getToken:Gw}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Hw} {
61
+ `)},gw=0,tn=[];function ww(t){var e=V([]),n=V([0,0]),r=V(),o=K(gw++)[0],a=K(function(){return Wl()})[0],i=V(t);G(function(){i.current=t},[t]),G(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var h=H0([t.lockRef.current],(t.shards||[]).map(Xl),!0).filter(Boolean);return h.forEach(function(w){return w.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=nt(function(h,w){if("touches"in h&&h.touches.length===2)return!i.current.allowPinchZoom;var v=Er(h),m=n.current,y="deltaX"in h?h.deltaX:m[0]-v[0],b="deltaY"in h?h.deltaY:m[1]-v[1],x,k=h.target,C=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in h&&C==="h"&&k.type==="range")return!1;var $=Yl(C,k);if(!$)return!0;if($?x=C:(x=C==="v"?"h":"v",$=Yl(C,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(y||b)&&(r.current=x),!x)return!0;var j=r.current||x;return hw(j,w,h,j==="h"?y:b,!0)},[]),l=nt(function(h){var w=h;if(!(!tn.length||tn[tn.length-1]!==a)){var v="deltaY"in w?Gl(w):Er(w),m=e.current.filter(function(x){return x.name===w.type&&x.target===w.target&&vw(x.delta,v)})[0];if(m&&m.should){w.cancelable&&w.preventDefault();return}if(!m){var y=(i.current.shards||[]).map(Xl).filter(Boolean).filter(function(x){return x.contains(w.target)}),b=y.length>0?s(w,y[0]):!i.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),u=nt(function(h,w,v,m){var y={name:h,delta:w,target:v,should:m};e.current.push(y),setTimeout(function(){e.current=e.current.filter(function(b){return b!==y})},1)},[]),f=nt(function(h){n.current=Er(h),r.current=void 0},[]),c=nt(function(h){u(h.type,Gl(h),h.target,s(h,t.lockRef.current))},[]),p=nt(function(h){u(h.type,Er(h),h.target,s(h,t.lockRef.current))},[]);G(function(){return tn.push(a),t.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,Qe),document.addEventListener("touchmove",l,Qe),document.addEventListener("touchstart",f,Qe),function(){tn=tn.filter(function(h){return h!==a}),document.removeEventListener("wheel",l,Qe),document.removeEventListener("touchmove",l,Qe),document.removeEventListener("touchstart",f,Qe)}},[]);var d=t.removeScrollBar,_=t.inert;return E(J,null,_?E(a,{styles:_w(o)}):null,d?E(sw,{gapMode:"margin"}):null)}const mw=G0(zl,ww);var Zl=rt(function(t,e){return E(Sr,Rt({},t,{ref:e,sideCar:mw}))});Zl.classNames=Sr.classNames;const yw=Zl,Jl="Popover",[Ql,_m]=al(Jl,[Ll]),ba=Ll(),[bw,en]=Ql(Jl),xw=t=>{const{__scopePopover:e,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=t,s=ba(e),l=V(null),[u,f]=K(!1),[c=!1,p]=D0({prop:r,defaultProp:o,onChange:a});return E(E0,s,E(bw,{scope:e,contentId:Cg(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:nt(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:nt(()=>f(!0),[]),onCustomAnchorRemove:nt(()=>f(!1),[]),modal:i},n))},$w="PopoverTrigger",kw=rt((t,e)=>{const{__scopePopover:n,...r}=t,o=en($w,n),a=ba(n),i=Oe(e,o.triggerRef),s=E(Ye.button,at({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":nu(o.open)},r,{ref:i,onClick:Ee(t.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:E(O0,at({asChild:!0},a),s)}),tu="PopoverPortal",[jw,Sw]=Ql(tu,{forceMount:void 0}),Cw=t=>{const{__scopePopover:e,forceMount:n,children:r,container:o}=t,a=en(tu,e);return E(jw,{scope:e,forceMount:n},E(_a,{present:n||a.open},E(P0,{asChild:!0,container:o},r)))},An="PopoverContent",Ew=rt((t,e)=>{const n=Sw(An,t.__scopePopover),{forceMount:r=n.forceMount,...o}=t,a=en(An,t.__scopePopover);return E(_a,{present:r||a.open},a.modal?E(Ow,at({},o,{ref:e})):E(Aw,at({},o,{ref:e})))}),Ow=rt((t,e)=>{const n=en(An,t.__scopePopover),r=V(null),o=Oe(e,r),a=V(!1);return G(()=>{const i=r.current;if(i)return I0(i)},[]),E(yw,{as:na,allowPinchZoom:!0},E(eu,at({},t,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Ee(t.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Ee(t.onPointerDownOutside,i=>{const s=i.detail.originalEvent,l=s.button===0&&s.ctrlKey===!0,u=s.button===2||l;a.current=u},{checkForDefaultPrevented:!1}),onFocusOutside:Ee(t.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),Aw=rt((t,e)=>{const n=en(An,t.__scopePopover),r=V(!1),o=V(!1);return E(eu,at({},t,{ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=t.onCloseAutoFocus)===null||i===void 0||i.call(t,a),!a.defaultPrevented){var s;r.current||(s=n.triggerRef.current)===null||s===void 0||s.focus(),a.preventDefault()}r.current=!1,o.current=!1},onInteractOutside:a=>{var i,s;(i=t.onInteractOutside)===null||i===void 0||i.call(t,a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const l=a.target;((s=n.triggerRef.current)===null||s===void 0?void 0:s.contains(l))&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}}))}),eu=rt((t,e)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=t,p=en(An,n),d=ba(n);return gg(),E(wg,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},E(hg,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},E(A0,at({"data-state":nu(p.open),role:"dialog",id:p.contentId},d,c,{ref:e,style:{...c.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))});function nu(t){return t?"open":"closed"}const Pw=xw,Tw=kw,Rw=Cw,Dw=Ew;function ru(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t))for(e=0;e<t.length;e++)t[e]&&(n=ru(t[e]))&&(r&&(r+=" "),r+=n);else for(e in t)t[e]&&(r&&(r+=" "),r+=e);return r}function xa(){for(var t,e,n=0,r="";n<arguments.length;)(t=arguments[n++])&&(e=ru(t))&&(r&&(r+=" "),r+=e);return r}function Or(){throw new Error("Cycle detected")}var Nw=Symbol.for("preact-signals");function $a(){if(nn>1)nn--;else{for(var t,e=!1;Pn!==void 0;){var n=Pn;for(Pn=void 0,ka++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&au(n))try{n.c()}catch(o){e||(t=o,e=!0)}n=r}}if(ka=0,nn--,e)throw t}}var Z=void 0,Pn=void 0,nn=0,ka=0,Ar=0;function ou(t){if(Z!==void 0){var e=t.n;if(e===void 0||e.t!==Z)return e={i:0,S:t,p:Z.s,n:void 0,t:Z,e:void 0,x:void 0,r:e},Z.s!==void 0&&(Z.s.n=e),Z.s=e,t.n=e,32&Z.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=Z.s,e.n=void 0,Z.s.n=e,Z.s=e),e}}function it(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}it.prototype.brand=Nw,it.prototype.h=function(){return!0},it.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)},it.prototype.U=function(t){if(this.t!==void 0){var e=t.e,n=t.x;e!==void 0&&(e.x=n,t.e=void 0),n!==void 0&&(n.e=e,t.x=void 0),t===this.t&&(this.t=n)}},it.prototype.subscribe=function(t){var e=this;return Sa(function(){var n=e.value,r=32&this.f;this.f&=-33;try{t(n)}finally{this.f|=r}})},it.prototype.valueOf=function(){return this.value},it.prototype.toString=function(){return this.value+""},it.prototype.toJSON=function(){return this.value},it.prototype.peek=function(){return this.v},Object.defineProperty(it.prototype,"value",{get:function(){var t=ou(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(Z instanceof fe&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){ka>100&&Or(),this.v=t,this.i++,Ar++,nn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{$a()}}}});function Pr(t){return new it(t)}function au(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function iu(t){for(var e=t.s;e!==void 0;e=e.n){var n=e.S.n;if(n!==void 0&&(e.r=n),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function su(t){for(var e=t.s,n=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):n=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=n}function fe(t){it.call(this,void 0),this.x=t,this.s=void 0,this.g=Ar-1,this.f=4}(fe.prototype=new it).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ar))return!0;if(this.g=Ar,this.f|=1,this.i>0&&!au(this))return this.f&=-2,!0;var t=Z;try{iu(this),Z=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return Z=t,su(this),this.f&=-2,!0},fe.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}it.prototype.S.call(this,t)},fe.prototype.U=function(t){if(this.t!==void 0&&(it.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}},fe.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}},fe.prototype.peek=function(){if(this.h()||Or(),16&this.f)throw this.v;return this.v},Object.defineProperty(fe.prototype,"value",{get:function(){1&this.f&&Or();var t=ou(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function Lw(t){return new fe(t)}function cu(t){var e=t.u;if(t.u=void 0,typeof e=="function"){nn++;var n=Z;Z=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,ja(t),r}finally{Z=n,$a()}}}function ja(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,cu(t)}function Mw(t){if(Z!==this)throw new Error("Out-of-order effect");su(this),Z=t,this.f&=-2,8&this.f&&ja(this),$a()}function Tn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Tn.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}},Tn.prototype.S=function(){1&this.f&&Or(),this.f|=1,this.f&=-9,cu(this),iu(this),nn++;var t=Z;return Z=this,Mw.bind(this,t)},Tn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Pn,Pn=this)},Tn.prototype.d=function(){this.f|=8,1&this.f||ja(this)};function Sa(t){var e=new Tn(t);try{e.c()}catch(n){throw e.d(),n}return e.d.bind(e)}var Ca;function rn(t,e){S[t]=e.bind(null,S[t]||function(){})}function Tr(t){Ca&&Ca(),Ca=t&&t.S()}function lu(t){var e=this,n=t.data,r=Iw(n);r.value=n;var o=lt(function(){for(var a=e.__v;a=a.__;)if(a.__c){a.__c.__$f|=4;break}return e.__$u.c=function(){var i;!Ys(o.peek())&&((i=e.base)==null?void 0:i.nodeType)===3?e.base.data=o.peek():(e.__$f|=1,e.setState({}))},Lw(function(){var i=r.value.value;return i===0?0:i===!0?"":i||""})},[]);return o.value}lu.displayName="_st",Object.defineProperties(it.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:lu},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),rn("__b",function(t,e){if(typeof e.type=="string"){var n,r=e.props;for(var o in r)if(o!=="children"){var a=r[o];a instanceof it&&(n||(e.__np=n={}),n[o]=a,r[o]=a.peek())}}t(e)}),rn("__r",function(t,e){Tr();var n,r=e.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var a;return Sa(function(){a=this}),a.c=function(){r.__$f|=1,r.setState({})},a}())),Tr(n),t(e)}),rn("__e",function(t,e,n,r){Tr(),t(e,n,r)}),rn("diffed",function(t,e){Tr();var n;if(typeof e.type=="string"&&(n=e.__e)){var r=e.__np,o=e.props;if(r){var a=n.U;if(a)for(var i in a){var s=a[i];s!==void 0&&!(i in r)&&(s.d(),a[i]=void 0)}else n.U=a={};for(var l in r){var u=a[l],f=r[l];u===void 0?(u=Fw(n,l,f,o),a[l]=u):u.o(f,o)}}}t(e)});function Fw(t,e,n,r){var o=e in t&&t.ownerSVGElement===void 0,a=Pr(n);return{o:function(i,s){a.value=i,r=s},d:Sa(function(){var i=a.value.value;r[e]!==i&&(r[e]=i,o?t[e]=i:i?t.setAttribute(e,i):t.removeAttribute(e))})}}rn("unmount",function(t,e){if(typeof e.type=="string"){var n=e.__e;if(n){var r=n.U;if(r){n.U=void 0;for(var o in r){var a=r[o];a&&a.d()}}}}else{var i=e.__c;if(i){var s=i.__$u;s&&(i.__$u=void 0,s.d())}}t(e)}),rn("__h",function(t,e,n,r){(r<3||r===9)&&(e.__$f|=2),t(e,n,r)}),$t.prototype.shouldComponentUpdate=function(t,e){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in e)return!0;for(var o in t)if(o!=="__source"&&t[o]!==this.props[o])return!0;for(var a in this.props)if(!(a in t))return!0;return!1};function Iw(t){return lt(function(){return Pr(t)},[])}const on={config$:Pr({headerText:"",label:""}),filters$:Pr({})},uu="inploi-job-alerts",Hw="ija";var Vw=["1","2","3","4","5","6","7","8","9","10","11","12"],Uw={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]}},zw=(t,e=1,n)=>r=>{const[o,a]=Uw[n][r];return"oklch("+o+"% "+a*e+" "+t+")"},du=t=>{const e=zw(t.hue,t.chroma,t.mode);return Object.fromEntries(Vw.map(n=>[t.prefix+n,t.transform(e(n))]))},fu=t=>t,Ww=t=>{const e=Object.keys(t).flatMap(n=>{const r=t[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const a=r[o];return[`${String(n)}.${o}`,a]}):[[n,r]]});return Object.fromEntries(e)},Rr=t=>!!t&&typeof t=="object"&&!Array.isArray(t),Ea=(t,...e)=>{if(!e.length)return t;const n=e.shift();if(Rr(t)&&Rr(n))for(const r in n){const o=n[r];if(Rr(o)){t[r]||Object.assign(t,{[r]:{}});const a=t[r];Rr(a)&&Ea(a,o)}else Object.assign(t,{[r]:n[r]})}return Ea(t,...e)},Bw=t=>{function e(n,r){const o=[t.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return e},Yw=()=>({core:t=>({semantic:e=>({component:n=>({from:r=>{const{theme:o,getToken:a}=r,i=p=>a("reference",p.toString()),s=t({theme:o}),l=e({theme:o,core:i,raw:{core:s}}),u=n({theme:o,core:i,semantic:i,raw:{core:s,semantic:l}}),f=Ww(Ea(s,l,u)),c=([p,d],_)=>{const h=[_,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(w=>c(w,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>a("reference",p.toString())}}})})})});const[Oa,Aa,Kw]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],qw=Yw().core(({theme:t})=>({color:{transparent:Kw,black:Oa,white:Aa,lowest:t.mode==="light"?Aa:Oa,highest:t.mode==="light"?Oa:Aa,...du({prefix:"a-",hue:t.accent.hue,chroma:t.accent.chroma,mode:t.mode,transform:fu}),...du({prefix:"n-",hue:t.accent.hue,chroma:.05,mode:t.mode,transform:fu})},radius:{base:t.corners==="rounded"?".25rem":t.corners==="soft"?".125rem":"0",multiplier:t.corners==="rounded"?"0.5rem":t.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:t})=>({radius:{sm:`calc(${t("radius.base")} + (0 * ${t("radius.multiplier")}))`,md:`calc(${t("radius.base")} + (1 * ${t("radius.multiplier")}))`,lg:`calc(${t("radius.base")} + (2 * ${t("radius.multiplier")}))`,xl:`calc(${t("radius.base")} + (3 * ${t("radius.multiplier")}))`}})).component(()=>({})),Gw=Bw({prefix:"i-"}),Xw=t=>{const e=qw.from({theme:t,getToken:Gw}),n=Object.entries(e.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Hw} {
62
62
  ${n.concat(n).join(`
63
63
  `)}
64
- }`},pu=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},Zw=({error:t})=>t?A("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[A("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),A("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),A("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),A("p",{class:"pr-1 text-sm",children:t})]}):null,Pi="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",Jw=t=>typeof t=="string"?t:typeof t=="object"&&t!==null&&"message"in t&&typeof t.message=="string"?t.message:"Failed to create alert. Please try again later.",Qw=rt(({class:t,...e},n)=>A("button",{ref:n,class:xi("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",t),onTouchStart:hu,...e,children:[A(hc,{class:"flex-none",name:"bell"})," ",A("span",{class:"min-w-0 truncate text-center",children:on.config$.value.label})]})),tm=()=>A("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:on.config$.value.headerText});function hu(){}const em=({theme:t,apiClient:e,logger:n})=>{const[r,o]=K("idle"),[i,a]=K(),s=async l=>{var u,f,c;if(l.preventDefault(),r!=="idle")return;const p=new FormData(l.currentTarget),d=(u=p.get("name"))==null?void 0:u.toString(),[_,...h]=(d==null?void 0:d.split(" "))??[],w=h.join(" ");o("loading"),await Promise.all([new Promise(v=>setTimeout(v,1e3)),e.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(f=p.get("email"))==null?void 0:f.toString(),first_name:_,last_name:w},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:on.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(v=>setTimeout(v,1e3)),o("idle")}).catch(v=>{n.error(v),a(Jw(v)),o("idle")})};return A("div",{id:"ija",children:A("div",{class:pu(t).join(" "),children:A(Pw,{children:[A(Tw,{asChild:!0,children:A(Qw,{})}),A(Rw,{children:A("div",{id:"ija",children:A("div",{class:xi("absolute isolate z-50",pu(t).join(" ")),children:A(Dw,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[A(tm,{}),A("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[A("div",{children:[A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),A("input",{name:"email",autocomplete:"email",class:Pi,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),A("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Pi,id:"ija-name",placeholder:"Full Name"})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),A("select",{disabled:r==="loading",class:xi(Pi,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[A("option",{value:"INSTANTLY",children:"Instantly"}),A("option",{value:"DAILY",children:"Daily"}),A("option",{value:"WEEKLY",children:"Weekly"}),A("option",{value:"MONTHLY",children:"Monthly"})]}),A("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:A(hc,{name:"chevron-up-down"})})]})]}),A("button",{onTouchStart:hu,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[A("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),A("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:A("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),A("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),A(Zw,{error:i})]})]})})})})]})})})},nm=`#ija {
64
+ }`},pu=t=>{const e=[];return e.push(t.corners),e.push(t.highlights),e.push(t.mode),e},Zw=({error:t})=>t?A("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[A("svg",{class:"mt-0.5 h-4 w-4 flex-none",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),A("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),A("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),A("p",{class:"pr-1 text-sm",children:t})]}):null,Pa="rounded-field-input bg-neutral-1 text-accent-11 autofill:shadow-[inset_0_0_0_1000px_var(--i-color-a-2)] autofill:focus:shadow-[inset_0_0_0_1000px_var(--i-color-a-1)] autofill:[-webkit-text-fill-color:var(--i-color-a-11)] px-3 py-2 ring ring-[1px] transition-all ease-expo-out duration-snappy ring-neutral-4 fr inline-flex w-full items-center justify-center px-2.5 text-base shadow-[0_0_0_1px] outline-none focus:shadow-[0_0_0_2px]",Jw=t=>typeof t=="string"?t:typeof t=="object"&&t!==null&&"message"in t&&typeof t.message=="string"?t.message:"Failed to create alert. Please try again later.",Qw=rt(({class:t,...e},n)=>A("button",{ref:n,class:xa("fr theme-stroke:ring-[1px] theme-stroke:ring-accent-4 theme-stroke:hover:ring-accent-9 theme-fill:bg-accent-2 theme-fill:hover:bg-accent-3 theme-fill:active:bg-accent-4 duration-snappy ease-expo-out text-accent-11 flex w-full items-center justify-center gap-2 overflow-hidden rounded-lg px-4 py-1.5 pl-2 text-sm font-medium transition-all active:scale-[.97]",t),onTouchStart:hu,...e,children:[A(hc,{class:"flex-none",name:"bell"})," ",A("span",{class:"min-w-0 truncate text-center",children:on.config$.value.label})]})),tm=()=>A("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:on.config$.value.headerText});function hu(){}const em=({theme:t,apiClient:e,logger:n})=>{const[r,o]=K("idle"),[a,i]=K(),s=async l=>{var u,f,c;if(l.preventDefault(),r!=="idle")return;const p=new FormData(l.currentTarget),d=(u=p.get("name"))==null?void 0:u.toString(),[_,...h]=(d==null?void 0:d.split(" "))??[],w=h.join(" ");o("loading"),await Promise.all([new Promise(v=>setTimeout(v,1e3)),e.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(f=p.get("email"))==null?void 0:f.toString(),first_name:_,last_name:w},alerts:(c=p.get("frequency"))==null?void 0:c.toString(),filters:on.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(v=>setTimeout(v,1e3)),o("idle")}).catch(v=>{n.error(v),i(Jw(v)),o("idle")})};return A("div",{id:"ija",children:A("div",{class:pu(t).join(" "),children:A(Pw,{children:[A(Tw,{asChild:!0,children:A(Qw,{})}),A(Rw,{children:A("div",{id:"ija",children:A("div",{class:xa("absolute isolate z-50",pu(t).join(" ")),children:A(Dw,{collisionPadding:16,class:"data-[state=open]:data-[side=top]:animate-slideDownAndFade data-[state=open]:data-[side=right]:animate-slideLeftAndFade data-[state=open]:data-[side=bottom]:animate-slideUpAndFade data-[state=open]:data-[side=left]:animate-slideRightAndFade bg-lowest ring-neutral-5 shadow-surface-lg isolate w-64 max-w-[var(--radix-popover-content-available-width)] rounded-lg p-2 ring-1 will-change-[transform,opacity]",sideOffset:5,children:[A(tm,{}),A("form",{onSubmit:s,class:"flex flex-col gap-2.5",children:[A("div",{children:[A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),A("input",{name:"email",autocomplete:"email",class:Pa,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),A("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:Pa,id:"ija-name",placeholder:"Full Name"})]}),A("fieldset",{class:"fieldset relative focus-within:z-10",children:[A("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),A("select",{disabled:r==="loading",class:xa(Pa,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[A("option",{value:"INSTANTLY",children:"Instantly"}),A("option",{value:"DAILY",children:"Daily"}),A("option",{value:"WEEKLY",children:"Weekly"}),A("option",{value:"MONTHLY",children:"Monthly"})]}),A("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:A(hc,{name:"chevron-up-down"})})]})]}),A("button",{onTouchStart:hu,class:"bg-accent-9 active:bg-accent-10 theme-dark:active:bg-accent-8 fr ease-expo-out duration-snappy text-accent-1 theme-dark:text-highest grid items-center overflow-hidden rounded-lg px-5 py-2 pl-2.5 text-center transition-all hover:scale-[1.02] active:scale-[.97]",children:[A("span",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full text-base opacity-0 transition-all data-[state=loading]:-translate-y-full data-[state=success]:translate-y-full data-[state=idle]:opacity-100",children:"Create Alert"}),A("div",{"data-state":r,class:"ease-expo-out duration-medium col-span-full row-span-full flex translate-y-0 justify-center text-base transition-all data-[state=idle]:translate-y-full data-[state=idle]:opacity-0",children:A("svg",{width:"24",height:"24",viewBox:"0 0 24 24","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[A("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),A("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),A(Zw,{error:a})]})]})})})})]})})})},nm=`#ija {
65
65
  font-size: 16px;
66
66
  --tw-content: '';
67
67
  }
@@ -1068,4 +1068,4 @@ ${n.concat(n).join(`
1068
1068
  #ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
1069
1069
  --tw-ring-color: var(--i-color-a-9);
1070
1070
  }
1071
- `,vu=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${uu}`);return Ws(t,`Element with id ${uu} not found.`),t}}),rm=vu(),om=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:vu,jobAlertsPlugin:()=>Li(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:s})=>E(J,{},[[E("style",{id:"inploi-job-alerts-styles"},nm),E("style",{id:"inploi-job-search-theme"},Xw(s.theme))],E(I_,{theme:s.theme}),E(em,{theme:s.theme,apiClient:t,logger:e,analytics:n})]),i=s=>on.filters$.value=s,a=s=>on.config$.value=typeof s=="function"?s(on.config$.peek()):s;return{prerender:async s=>(r=!0,i(s.initialFilters),{html:N_(E(J,{},E(o,{params:s})))}),render:async s=>{const l=r?Yo:Ue;Ws(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(s.initialFilters),a(s.config),l(E(o,{params:s}),rm.getRenderTargetElement())},setFilters:i,setConfig:a}})},Symbol.toStringTag,{value:"Module"}))})();
1071
+ `,vu=()=>({getRenderTargetElement:()=>{const t=document.body.querySelector(`#${uu}`);return Ws(t,`Element with id ${uu} not found.`),t}}),rm=vu(),om=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:vu,jobAlertsPlugin:()=>La(({apiClient:t,logger:e,analytics:n})=>{let r=!1;const o=({params:s})=>E(J,{},[[E("style",{id:"inploi-job-alerts-styles"},nm),E("style",{id:"inploi-job-search-theme"},Xw(s.theme))],E(I_,{theme:s.theme}),E(em,{theme:s.theme,apiClient:t,logger:e,analytics:n})]),a=s=>on.filters$.value=s,i=s=>on.config$.value=typeof s=="function"?s(on.config$.peek()):s;return{prerender:async s=>(r=!0,a(s.initialFilters),{html:N_(E(J,{},E(o,{params:s})))}),render:async s=>{const l=r?Yo:Ue;Ws(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),a(s.initialFilters),i(s.config),l(E(o,{params:s}),rm.getRenderTargetElement())},setFilters:a,setConfig:i}})},Symbol.toStringTag,{value:"Module"}))})();