@inploi/plugin-job-search 0.23.7 → 0.25.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 +17 -17
- package/cdn/style.css +1 -1
- package/dist/components/button.d.ts +1 -1
- package/dist/components/combobox.d.ts +25 -0
- package/dist/components/filter-content.active.d.ts +174 -1
- package/dist/components/filter-section.d.ts +3 -2
- package/dist/components/filter.d.ts +57 -0
- package/dist/components/geo-search.d.ts +22 -0
- package/dist/components/geo-search.locate-button.d.ts +8 -0
- package/dist/components/geo-search.location-input.d.ts +10 -0
- package/dist/components/geo-search.utils.d.ts +7 -0
- package/dist/components/icon.d.ts +3 -0
- package/dist/components/job-search.d.ts +21 -1
- package/dist/components/keyword-search.d.ts +3 -2
- package/dist/components/mode-switch.d.ts +9 -0
- package/dist/components/natural-language-section.d.ts +9 -0
- package/dist/components/results-section.d.ts +4 -3
- package/dist/components/roving-text.d.ts +6 -0
- package/dist/components/tag.d.ts +1 -1
- package/dist/index.cjs +4 -20
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1239 -4600
- package/dist/job-search.api-4bfb3842.js +3874 -0
- package/dist/job-search.api-e3e2ae41.cjs +17 -0
- package/dist/job-search.api.d.ts +47 -26
- package/dist/job-search.d.ts +18 -3
- package/dist/job-search.schemas.d.ts +16 -10
- package/dist/lib/cache-key.d.ts +2 -3
- package/dist/lib/currency.d.ts +1 -1
- package/dist/lib/datetime.d.ts +1 -1
- package/dist/lib/type-utils.d.ts +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/plugin-job-alerts-7fc7b0f9.cjs +1050 -0
- package/dist/{plugin-job-alerts-6f8dbd69.js → plugin-job-alerts-a5cbb5be.js} +1777 -1812
- package/dist/style/tokens.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +5 -15
- package/package.json +11 -8
- package/dist/datetime-3eccae90.cjs +0 -1
- package/dist/datetime-796d4b37.js +0 -32
- package/dist/job-search.state.d.ts +0 -3
- package/dist/lib/translation.d.ts +0 -44
- package/dist/lib/translation.terms.d.ts +0 -216
- package/dist/lib/translation.test.d.ts +0 -1
- package/dist/plugin-job-alerts-4b46b097.cjs +0 -1050
package/cdn/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var by=Object.defineProperty;var xy=(ye,je,St)=>je in ye?by(ye,je,{enumerable:!0,configurable:!0,writable:!0,value:St}):ye[je]=St;var wa=(ye,je,St)=>(xy(ye,typeof je!="symbol"?je+"":je,St),St);(function(){"use strict";var ye=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function je(e,t){if(!e)throw new Error(t)}function St(e,t){return e in t}var ma=e=>e,mn,T,ya,ba,Et,xa,ka,Jr,Qr,eo,to,$a,yn={},ja=[],ud=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Qn=Array.isArray;function We(e,t){for(var n in t)e[n]=t[n];return e}function Sa(e){var t=e.parentNode;t&&t.removeChild(e)}function re(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?mn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return bn(e,a,r,o,null)}function bn(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++ya,__i:-1,__u:0};return o==null&&T.vnode!=null&&T.vnode(i),i}function Ea(){return{current:null}}function F(e){return e.children}function be(e,t){this.props=e,this.context=t}function Ct(e,t){if(t==null)return e.__?Ct(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Ct(e):null}function Ca(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Ca(e)}}function no(e){(!e.__d&&(e.__d=!0)&&Et.push(e)&&!er.__r++||xa!==T.debounceRendering)&&((xa=T.debounceRendering)||ka)(er)}function er(){var e,t,n,r,o,i,a,s;for(Et.sort(Jr);e=Et.shift();)e.__d&&(t=Et.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=We({},o)).__v=o.__v+1,T.vnode&&T.vnode(r),ro(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Ct(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,Ra(a,r,s),r.__e!=i&&Ca(r)),Et.length>t&&Et.sort(Jr));er.__r=0}function Oa(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||ja,_=t.length;for(n.__d=l,dd(n,t,g),l=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?yn:g[d.__i]||yn,d.__i=c,ro(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&oo(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Ct(p)),l=Aa(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:v&&(l=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function dd(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,f=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?bn(null,o,null,null,null):Qn(o)?bn(F,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?bn(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=fd(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==e.__d&&(e.__d=Ct(i)),io(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Ct(i)),io(i,i))}function Aa(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=Aa(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Be(e,t){return t=t||[],e==null||typeof e=="boolean"||(Qn(e)?e.some(function(n){Be(n,t)}):t.push(e)),t}function fd(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[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<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function Ta(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||ud.test(t)?n:n+"px"}function tr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ta(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ta(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=Qr,e.addEventListener(t,i?to:eo,i)):e.removeEventListener(t,i?to:eo,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Pa(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=Qr++;else if(t.t<n.u)return;return n(T.event?T.event(t):t)}}}function ro(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,x,b,y,k,C,$,O,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=T.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,x=(f=j.contextType)&&r[f.__c],b=f?x?x.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,b):(t.__c=c=new be(_,b),c.constructor=j,c.render=hd),x&&x.sub(c),c.props=_,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&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=We({},c.__s)),We(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)m&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=b,c.props=_,c.__P=e,c.__e=!1,k=T.__r,C=0,m){for(c.state=c.__s,c.__d=!1,k&&k(t),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(t),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=We(We({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),Oa(e,Qn(O=f!=null&&f.type===F&&f.key==null?f.props.children:f)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),T.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=pd(n.__e,t,n,r,o,i,a,l,u);(f=T.diffed)&&f(t)}function Ra(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)oo(n[r],n[++r],n[++r]);T.__c&&T.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){T.__e(i,o.__v)}})}function pd(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=t.props,m=t.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)){e=d,i[u]=null;break}}if(e==null){if(m===null)return document.createTextNode(_);e=document.createElementNS(o,m,_.is&&_),i=null,s=!1}if(m===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&mn.call(e.childNodes),g=n.props||yn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;tr(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||g[u]===d||tr(e,u,d,g[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Oa(e,Qn(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Ct(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Sa(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&tr(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&tr(e,u,h,g[u],o))}return e}function oo(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){T.__e(r,n)}}function io(e,t,n){var r,o;if(T.unmount&&T.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||oo(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){T.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&io(r[o],t,n||typeof e.type!="function");n||e.__e==null||Sa(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function hd(e,t,n){return this.constructor(e,n)}function Wt(e,t,n){var r,o,i,a;T.__&&T.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],ro(t,e=(!r&&n||t).__k=re(F,null,[e]),o||yn,yn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?mn.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),Ra(i,e,a)}function ao(e,t){Wt(e,t,ao)}function vd(e,t,n){var r,o,i,a,s=We({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?mn.call(arguments,2):n),bn(e.type,s,r||e.key,o||e.ref,null)}function nr(e,t){var n={__c:t="__cC"+$a++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=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,no(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}mn=ja.slice,T={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},ya=0,ba=function(e){return e!=null&&e.constructor==null},be.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=We({},this.state),typeof e=="function"&&(e=e(We({},n),this.props)),e&&We(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),no(this))},be.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),no(this))},be.prototype.render=F,Et=[],ka=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Jr=function(e,t){return e.__v.__b-t.__v.__b},er.__r=0,Qr=0,eo=Pa(!1),to=Pa(!0),$a=0;var Da=/[\s\n\\/='"\0<>]/,Na=/^(xlink|xmlns|xml)([A-Z])/,_d=/^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]/,gd=/^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/,wd=/["&<]/;function rr(e){if(e.length===0||wd.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var La={},md=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"]),yd=/[A-Z]/g;function bd(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:La[n]||(La[n]=n.replace(yd,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||md.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var so,Ot,xn,kn,Ma=[],Ia=Array.isArray,co=Object.assign;function xd(e,t,n){var r=T.__s;T.__s=!0,so=T.__b,Ot=T.diffed,xn=T.__r,kn=T.unmount;var o=re(F,null);o.__k=[e];try{var i=Le(e,t||Ha,!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{T.__c&&T.__c(e,Ma),T.__s=r,Ma.length=0}}function Fa(){this.__d=!0}var Ha={};function Ua(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Ha),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=co({},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(),xn&&xn(e),n.render(n.props,n.state,t)}function Le(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":rr(e+"");if(Ia(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,p=Le(f,t,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(e.constructor!==void 0)return"";e.__=o,so&&so(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===F){if(_.tpl){for(var x="",b=0;b<_.tpl.length;b++)if(x+=_.tpl[b],_.exprs&&b<_.exprs.length){var y=_.exprs[b];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Ia(y)?x+=y:x+=Le(y,t,n,r,e,i,a)}return x}if(_.UNSTABLE_comment)return"<!--"+rr(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];m=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=Ua(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:Fa,forceUpdate:Fa,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,xn&&xn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=co({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&T.errorBoundaries){var $="";v=v!=null&&v.type===F&&v.key==null?v.props.children:v;try{return $=Le(v,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(v=Ua(e,t),(h=e.__c).getChildContext!=null&&(t=co({},t,h.getChildContext())),$=Le(v=v!=null&&v.type===F&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{Ot&&Ot(e),e.__=null,kn&&kn(e)}}}v=v!=null&&v.type===F&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var O=Le(v,t,n,r,e,i,a);return Ot&&Ot(e),e.__=null,T.unmount&&T.unmount(e),O}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return Le(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=T.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return Le(v,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return Le(v,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=bd(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(Na.test(S))S=S.replace(Na,"$1:$2").toLowerCase();else{if(Da.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?gd.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):_d.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+rr(E+"")+'"')}if(Da.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=rr(L):L!=null&&L!==!1&&L!==!0&&(M=Le(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Ot&&Ot(e),e.__=null,kn&&kn(e),!M&&kd.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var kd=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),lo="RFC3986",uo={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},$d="RFC1738",jd=Array.isArray,Me=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),fo=1024,Sd=(e,t,n,r,o)=>{if(e.length===0)return e;let i=e;if(typeof e=="symbol"?i=Symbol.prototype.toString.call(e):typeof e!="string"&&(i=String(e)),n==="iso-8859-1")return escape(i).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let a="";for(let s=0;s<i.length;s+=fo){const l=i.length>=fo?i.slice(s,s+fo):i,u=[];for(let f=0;f<l.length;++f){let c=l.charCodeAt(f);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===$d&&(c===40||c===41)){u[u.length]=l.charAt(f);continue}if(c<128){u[u.length]=Me[c];continue}if(c<2048){u[u.length]=Me[192|c>>6]+Me[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Me[224|c>>12]+Me[128|c>>6&63]+Me[128|c&63];continue}f+=1,c=65536+((c&1023)<<10|l.charCodeAt(f)&1023),u[u.length]=Me[240|c>>18]+Me[128|c>>12&63]+Me[128|c>>6&63]+Me[128|c&63]}a+=u.join("")}return a};function Ed(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function Va(e,t){if(jd(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var Cd=Object.prototype.hasOwnProperty,za={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Ie=Array.isArray,Od=Array.prototype.push,Wa=function(e,t){Od.apply(e,Ie(t)?t:[t])},Ad=Date.prototype.toISOString,ie={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:Sd,encodeValuesOnly:!1,format:lo,formatter:uo[lo],indices:!1,serializeDate(e){return Ad.call(e)},skipNulls:!1,strictNullHandling:!1};function Td(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var po={};function Ba(e,t,n,r,o,i,a,s,l,u,f,c,p,d,v,h,g,_){let m=e,x=_,b=0,y=!1;for(;(x=x.get(po))!==void 0&&!y;){const j=x.get(e);if(b+=1,typeof j<"u"){if(j===b)throw new RangeError("Cyclic object value");y=!0}typeof x.get(po)>"u"&&(b=0)}if(typeof u=="function"?m=u(t,m):m instanceof Date?m=p==null?void 0:p(m):n==="comma"&&Ie(m)&&(m=Va(m,function(j){return j instanceof Date?p==null?void 0:p(j):j})),m===null){if(i)return l&&!h?l(t,ie.encoder,g,"key",d):t;m=""}if(Td(m)||Ed(m)){if(l){const j=h?t:l(t,ie.encoder,g,"key",d);return[(v==null?void 0:v(j))+"="+(v==null?void 0:v(l(m,ie.encoder,g,"value",d)))]}return[(v==null?void 0:v(t))+"="+(v==null?void 0:v(String(m)))]}const k=[];if(typeof m>"u")return k;let C;if(n==="comma"&&Ie(m))h&&l&&(m=Va(m,l)),C=[{value:m.length>0?m.join(",")||null:void 0}];else if(Ie(u))C=u;else{const j=Object.keys(m);C=f?j.sort(f):j}const $=s?String(t).replace(/\./g,"%2E"):String(t),O=r&&Ie(m)&&m.length===1?$+"[]":$;if(o&&Ie(m)&&m.length===0)return O+"[]";for(let j=0;j<C.length;++j){const D=C[j],I=typeof D=="object"&&typeof D.value<"u"?D.value:m[D];if(a&&I===null)continue;const L=c&&s?D.replace(/\./g,"%2E"):D,N=Ie(m)?typeof n=="function"?n(O,L):O:O+(c?"."+L:"["+L+"]");_.set(e,b);const M=new WeakMap;M.set(po,_),Wa(k,Ba(I,N,n,r,o,i,a,s,n==="comma"&&h&&Ie(m)?null:l,u,f,c,p,d,v,h,g,M))}return k}function Pd(e=ie){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ie.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=lo;if(typeof e.format<"u"){if(!Cd.call(uo,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=uo[n];let o=ie.filter;(typeof e.filter=="function"||Ie(e.filter))&&(o=e.filter);let i;if(e.arrayFormat&&e.arrayFormat in za?i=e.arrayFormat:"indices"in e?i=e.indices?"indices":"repeat":i=ie.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const a=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ie.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ie.addQueryPrefix,allowDots:a,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ie.allowEmptyArrays,arrayFormat:i,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ie.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ie.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ie.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ie.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ie.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ie.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ie.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ie.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ie.strictNullHandling}}function Ya(e,t={}){let n=e;const r=Pd(t);let o,i;typeof r.filter=="function"?(i=r.filter,n=i("",n)):Ie(r.filter)&&(i=r.filter,o=i);const a=[];if(typeof n!="object"||n===null)return"";const s=za[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const u=new WeakMap;for(let p=0;p<o.length;++p){const d=o[p];r.skipNulls&&n[d]===null||Wa(a,Ba(n[d],d,s,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const f=a.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),f.length>0?c+f:""}var or=class extends Error{constructor(t){super(t[0].message);wa(this,"issues");this.name="ValiError",this.issues=t}};function Ka(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function $n(e){return{issues:e}}function At(e){return{output:e}}function Rd(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function Dd(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function lt(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return At(e);let o,i,a=e;for(const s of t){const l=s._parse(a);if(l.issues){o=o||Dd(n,r);for(const u of l.issues){const f=Rd(o,u);i?i.push(f):i=[f]}if(o.abortEarly||o.abortPipeEarly)break}else a=l.output}return i?$n(i):At(a)}function ut(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function qa(e){return typeof e=="function"?e():e}function Nd(e,t,n,r){return $n([{validation:e,message:qa(t),input:n,requirement:r}])}function Ld(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[i,a]=ut(t,n);return[e,i,a]}const[r,o]=ut(e,t);return[void 0,r,o]}function dt(e,t,n,r,o,i){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:qa(r),input:o,issues:i,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function Ga(e){return typeof e.default=="function"?e.default():e.default}function Md(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return lt(t,this.pipe,n,"any")}}}function Xa(e,t,n){const[r="Invalid type",o]=ut(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(i,a){if(!Array.isArray(i))return dt(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?$n(s):lt(l,this.pipe,a,"array")}}}function Za(e,t){const[n="Invalid type",r]=ut(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="boolean"?dt(i,"type","boolean",this.message,o):lt(o,this.pipe,i,"boolean")}}}function ft(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?dt(r,"type","literal",this.message,n):At(n)}}}function Se(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=Ga(this);if(o===void 0)return At(n);n=o}return this.wrapped._parse(n,r)}}}function Bt(e,t){const[n="Invalid type",r]=ut(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="number"||isNaN(o)?dt(i,"type","number",this.message,o):lt(o,this.pipe,i,"number")}}}function ir(e,t,n,r){const[o,i="Invalid type",a]=Ld(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:i,pipe:a,_parse(l,u){if(!l||typeof l!="object")return dt(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let f;const c={};for(const[p,d]of s){const v=l[p],h=d._parse(v,u);if(h.issues){const g={type:"object",input:l,key:p,value:v};for(const _ of h.issues)_.path?_.path.unshift(g):_.path=[g],f==null||f.push(_);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],v=this.rest._parse(d,u);if(v.issues){const h={type:"object",input:l,key:p,value:d};for(const g of v.issues)g.path?g.path.unshift(h):g.path=[h],f==null||f.push(g);if(f||(f=v.issues),u!=null&&u.abortEarly)break}else c[p]=v.output}}return f?$n(f):lt(c,this.pipe,u,"object")}}}function ho(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=Ga(this);if(o===void 0)return At(n);n=o}return this.wrapped._parse(n,r)}}}function te(e,t){const[n="Invalid type",r]=ut(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,i){return typeof o!="string"?dt(i,"type","string",this.message,o):lt(o,this.pipe,i,"string")}}}function Id(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[a,s]=ut(n,r);return[e,t,a,s]}const[o,i]=ut(t,n);return[te(),e,o,i]}var Fd=["__proto__","prototype","constructor"];function Ja(e,t,n,r){const[o,i,a="Invalid type",s]=Id(e,t,n,r);return{type:"record",async:!1,key:o,value:i,message:a,pipe:s,_parse(l,u){if(!l||typeof l!="object")return dt(u,"type","record",this.message,l);let f;const c={};for(const[p,d]of Object.entries(l))if(!Fd.includes(p)){let v;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){v={type:"record",input:l,key:p,value:d};for(const _ of h.issues)_.path=[v],f==null||f.push(_);if(f||(f=h.issues),u!=null&&u.abortEarly)break}const g=this.value._parse(d,u);if(g.issues){v=v||{type:"record",input:l,key:p,value:d};for(const _ of g.issues)_.path?_.path.unshift(v):_.path=[v],f==null||f.push(_);if(f||(f=g.issues),u!=null&&u.abortEarly)break}!h.issues&&!g.issues&&(c[h.output]=g.output)}return f?$n(f):lt(c,this.pipe,u,"record")}}}function Qa(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_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?At(i[0]):dt(r,"type","union",this.message,n,o)}}}function es(e,t,n){const r=e._parse(t,n);if(r.issues)throw new or(r.issues);return r.output}function Hd(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new or(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function ts(e,t,n){return{...e,_parse(r,o){const i=e._parse(r,o);if(i.issues)return i;const a=t(i.output);return n&&!Array.isArray(n)?n._parse(a,o):lt(a,n,o,typeof a)}}}function Ud(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?At(t):Nd(this.type,this.message,t,this.requirement)}}}const ns="inploi-job-search",rs="ijs",Tt=10,os={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},Vd=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return e.t("competitive");if(t.pay_max&&isNaN(+t.pay_max)||t.pay_min&&isNaN(+t.pay_min)||t.pay&&isNaN(+t.pay))return e.t("invalid_salary");const o=t.pay_type&&t.pay_type in os?os[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?e.t("up_to")+" "+[r.format(+t.pay_max),o].filter(Boolean).join(" "):t.pay_min?e.t("from")+" "+[r.format(+t.pay_min),o].filter(Boolean).join(" "):e.t("invalid_salary")},zd=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),Wd=({from:e=new Date,to:t,formatter:n=zd,t:r})=>{const i=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),a={days:Math.round(i/1e3/60/60/24),months:Math.round(i/1e3/60/60/24/30)};return a.days===0?r("today"):Math.abs(a.days)<30?n.format(a.days,"days"):Math.abs(a.days)<3?n.format(a.months,"months"):a.months<0?r("over_30_days_ago"):r("in_over_30_days")},Bd=Ja(Xa(ir({label:Ka(te(),String),value:Ka(te(),String),jobs:Bt()}))),Yd=te([Ud()]),Kd=ir({total:Bt(),current_page:Bt(),per_page:Bt(),last_page:Bt()}),qd=ir({id:Bt(),company_name:te(),company_logo:Se(ho(te())),employment_type:te(),location_type:Qa([ft("LOCATION"),ft("REMOTE"),ft("HYBRID")]),pay_type:Se(Qa([ft("ANNUALLY"),ft("HOURLY"),ft("MONTHLY"),ft("WEEKLY"),ft("DAILY")])),pay_currency:te(),pay_mask:Za(),pay_display:Za(),pay:Se(te()),pay_min:Se(te()),pay_max:Se(te()),description:te(),title:te(),contract_type:Se(te()),created_at:Se(te()),custom_data:Se(Ja(Md())),href:te(),industry:Se(te()),category:Se(te()),skills:ho(te()),town:ho(te()),city:Se(te()),country:Se(te())}),Gd=e=>ts(qd,t=>{const n=Hd(Yd,t.company_logo);return{id:t.id,createdAt:t.created_at,company:{name:t.company_name,logo:n.success?n.output:null},employmentType:t.employment_type,locationType:t.location_type,pay:Vd({salary:t,config:{locales:void 0},t:e})??null,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?Wd({to:new Date(t.created_at),t:e}):"INVALID DATE",customData:t.custom_data,raw:t}}),Xd=e=>ts(ir({data:Xa(Gd(e)),pagination:Kd}),t=>({pagination:t.pagination,results:t.data})),Zd=e=>!e||Array.isArray(e)&&e.length===0?null:e,is=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>[t,Zd(n==null?void 0:n.value)])),as=async({apiClient:e,filters:t,keyword:n,logger:r,signal:o})=>{try{const i=new URLSearchParams(Ya({filters:is(t),query:n})),a="/search/filters",s=await e.fetch([a,i.toString()].filter(Boolean).join("?"),{signal:o});return es(Bd,s)}catch(i){throw i instanceof or?r.error(i.message,i.issues):r.error(i),i}},ss=async({apiClient:e,logger:t,signal:n,filters:r,keyword:o,page:i=1,t:a})=>{try{const s=new URLSearchParams(Ya({filters:is(r)}));s.set("page",i.toString()),s.set("per_page",Tt.toString()),s.set("query",o||"");const l="/search/results",u=await e.fetch([l,s.toString()].filter(Boolean).join("?"),{signal:n});return es(Xd(a),u)}catch(s){throw s instanceof or?t.error(s.message,s.issues):t.error(s),s}},vo=e=>{if(e.error)return{state:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{state:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{state:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{state:"loaded",data:e.data,swr:e};throw new Error("Unhandled data state")},_o={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1};var Jd=0;function w(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Jd,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return T.vnode&&T.vnode(u),u}function cs(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=cs(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ls(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=cs(e))&&(r&&(r+=" "),r+=t);return r}var Ye,W,go,us,Yt=0,ds=[],Q=T,fs=Q.__b,ps=Q.__r,hs=Q.diffed,vs=Q.__c,_s=Q.unmount,gs=Q.__;function Pt(e,t){Q.__h&&Q.__h(W,e,Yt||t),Yt=0;var n=W.__H||(W.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function ge(e){return Yt=1,ar(ms,e)}function ar(e,t,n){var r=Pt(Ye++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ms(void 0,t),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=W,!W.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))};W.u=!0;var i=W.shouldComponentUpdate,a=W.componentWillUpdate;W.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)},W.shouldComponentUpdate=o}return r.__N||r.__}function we(e,t){var n=Pt(Ye++,3);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__H.__h.push(n))}function pt(e,t){var n=Pt(Ye++,4);!Q.__s&&bo(n.__H,t)&&(n.__=e,n.i=t,W.__h.push(n))}function Ee(e){return Yt=5,Te(function(){return{current:e}},[])}function wo(e,t,n){Yt=6,pt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Te(e,t){var n=Pt(Ye++,7);return bo(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ht(e,t){return Yt=8,Te(function(){return e},t)}function jn(e){var t=W.context[e.__c],n=Pt(Ye++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(W)),t.props.value):e.__}function sr(e,t){Q.useDebugValue&&Q.useDebugValue(t?t(e):e)}function Qd(e){var t=Pt(Ye++,10),n=ge();return t.__=e,W.componentDidCatch||(W.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function mo(){var e=Pt(Ye++,11);if(!e.__){for(var t=W.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ef(){for(var e;e=ds.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(cr),e.__H.__h.forEach(yo),e.__H.__h=[]}catch(t){e.__H.__h=[],Q.__e(t,e.__v)}}Q.__b=function(e){W=null,fs&&fs(e)},Q.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),gs&&gs(e,t)},Q.__r=function(e){ps&&ps(e),Ye=0;var t=(W=e.__c).__H;t&&(go===W?(t.__h=[],W.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(cr),t.__h.forEach(yo),t.__h=[],Ye=0)),go=W},Q.diffed=function(e){hs&&hs(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ds.push(t)!==1&&us===Q.requestAnimationFrame||((us=Q.requestAnimationFrame)||tf)(ef)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),go=W=null},Q.__c=function(e,t){t.some(function(n){try{n.__h.forEach(cr),n.__h=n.__h.filter(function(r){return!r.__||yo(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],Q.__e(r,n.__v)}}),vs&&vs(e,t)},Q.unmount=function(e){_s&&_s(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{cr(r)}catch(o){t=o}}),n.__H=void 0,t&&Q.__e(t,n.__v))};var ws=typeof requestAnimationFrame=="function";function tf(e){var t,n=function(){clearTimeout(r),ws&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);ws&&(t=requestAnimationFrame(n))}function cr(e){var t=W,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),W=t}function yo(e){var t=W;e.__c=e.__(),W=t}function bo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function ms(e,t){return typeof t=="function"?t(e):t}const nf=e=>{const t=nr(null);return{TranslationProvider:({terms:n,children:r})=>w(t.Provider,{value:{terms:e,overrides:n},children:r}),useTranslation:()=>{const n=jn(t);if(n===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:Te(()=>ys(n),[n])}},createTFunction:n=>ys({terms:e,overrides:n})}},ys=({terms:e,overrides:t})=>{function n(r,o){const i=(t==null?void 0:t[r])??e[r];switch(typeof i){case"string":return i.replace("{{count}}",String(o==null?void 0:o.count));case"object":{if(typeof(o==null?void 0:o.count)!="number")throw new Error(`Missing count for translation key “${r.toString()}”`);return o.count!==1?i.other.replace("{{count}}",String(o.count)):i.one.replace("{{count}}",String(o.count))}default:throw new Error(`Invalid translation value in dictionary for key “${r.toString()}”.`)}}return n},{TranslationProvider:rf,useTranslation:Ke,createTFunction:of}=nf({type_to_search_jobs:"Type to search jobs",type_to_search:"Type to search",jobs_found:{one:"{{count}} job found",other:"{{count}} jobs found"},no_jobs_found:"No jobs found",no_jobs_found_description:"We could not find any jobs matching your filtering criteria.",jobs_loading_error:"We’re having trouble loading available jobs.",filters_loading_error:"We’re having trouble loading available filters.",no_filter_options_available:"No filter options available.",clear:"Clear",selected:"selected",done:"Done",skip:"Skip",new:"NEW",posted:"Posted",retry:"Retry",widget_unavailable:"Sorry, this widget is unavailable at the moment.",load_more_count:"Load {{count}} more",of_remaining_count:"of {{count}} remaining",create_alert:"Create alert",alert_header_text:"You will be alerted for new jobs matching the filters currently set",today:"today",over_30_days_ago:"over 30 days ago",in_over_30_days:"in over 30 days",up_to:"Up to",from:"From",invalid_salary:"Invalid salary",competitive:"Competitive"});function bs(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=bs(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function xo(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=bs(e))&&(r&&(r+=" "),r+=t);return r}const xs=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,af=e=>{const t=function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](xo(i)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(xo(i)):xo(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 t(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 t(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],v=l==null?void 0:l[p],h=xs(d)||xs(v);return s[p][h]}),f={...l,...i&&Object.entries(i).reduce((p,d)=>{let[v,h]=d;return typeof h>"u"?p:{...p,[v]:h}},{})},c=o==null||(a=o.compoundVariants)===null||a===void 0?void 0:a.reduce((p,d)=>{let{class:v,className:h,...g}=d;return Object.entries(g).every(_=>{let[m,x]=_;const b=f[m];return Array.isArray(x)?x.includes(b):b===x})?[...p,v,h]:p},[]);return t(o==null?void 0:o.base,u,c,i==null?void 0:i.class,i==null?void 0:i.className)},cx:t}},{compose:ky,cva:Pe,cx:$y}=af(),Sn=Pe({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out rounded-interactive flex cursor-pointer items-center 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:"",only:""},position:{relative:"relative",absolute:"absolute"},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"},{size:"lg",icon:"only",class:"px-2 py-2"},{size:"sm",icon:"only",class:"px-1 py-1"}],defaultVariants:{variant:"neutral",icon:"none",position:"relative",size:"sm"}}),sf=({error:e,resetError:t})=>{const{t:n}=Ke();return w("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:[w("p",{children:e.message}),w("button",{onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:n("retry")})]})},vt=({error:e,resetError:t,class:n,...r})=>{const{t:o}=Ke();return w("div",{class:ls("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 p-6 text-center",n),...r,children:[w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-neutral-1 text-style-job-heading font-style-job-heading font-weight-job-heading [text-wrap:balance]",children:o("widget_unavailable")}),w("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag leading-snug [text-wrap:pretty]",children:e.message})]}),w("button",{class:Sn({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:o("retry")})]})};class En extends be{constructor(){super(...arguments);wa(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 w(n,{error:this.state.error,resetError:()=>{this.setState({error:null})}})}return this.props.children}}const cf={briefcase:w(F,{children:[w("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"}),w("path",{d:"M4.75 11.75H19.25"}),w("path",{d:"M13.25 12.25V13.25H10.75V12.25H13.25Z"}),w("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:w(F,{children:[w("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"}),w("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"}),w("path",{d:"M17.0791 7.55413C16.7038 7.12546 16.2758 6.74602 15.8053 6.42486"}),w("path",{d:"M12.8451 5.30311C12.2799 5.23179 11.7079 5.2323 11.1428 5.30465"}),w("path",{d:"M8.25666 6.38307C7.78259 6.69901 7.35043 7.07369 6.97047 7.49818"}),w("circle",{cx:"18.75",cy:"12",r:"2"}),w("circle",{cx:"5.25",cy:"12",r:"2"})]}),building:w(F,{children:[w("path",{d:"M16.75 10.25H13.75"}),w("path",{d:"M16.75 13.25H13.75"}),w("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"}),w("path",{d:"M10.25 12.25V18.25"})]}),circles:w(F,{children:[w("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"}),w("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:w(F,{children:[w("path",{d:"M14 9L12 13L9.5 12"}),w("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:w(F,{children:w("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:w(F,{children:[w("path",{d:"M5 13.75H19"}),w("path",{d:"M5 10.25H19"}),w("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"}),w("circle",{cx:"12",cy:"12",r:"7.25"})]}),magnifier:w(F,{children:[w("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"}),w("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"}),w("path",{d:"M16 16L19 19"})]}),magnifierSimple:w(F,{children:[w("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"}),w("path",{d:"M16 16L19 19"})]}),mapPin:w(F,{children:w(F,{children:[w("circle",{cx:"12",cy:"9",r:"2"}),w("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"}),w("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:w(F,{children:[w("path",{d:"M16.8 16.8a6.78 6.78 0 1 1 0-9.6M12 16v-1M12 9V8"}),w("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:w(F,{children:[w("path",{d:"M18.5 8.5L17.5 9.5"}),w("path",{d:"M5.5 8.5L6.5 9.5"}),w("path",{d:"M12 6L12 7.5"}),w("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"}),w("path",{d:"M20.25 15.25H12H3.75"}),w("path",{d:"M16.25 18.25H12L7.75 18.25"})]}),x:w("path",{d:"M8 8l8 8M8 16l8 -8"}),plus:w("path",{d:"M12 8V16M8 12H16"}),"chevron-right":w("path",{d:"M11 8L15 12L11 16"})},lf=({theme:e})=>w("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:w("defs",{children:Object.entries(cf).map(([t,n])=>{var r;return w("symbol",{id:`i-icon-${t}`,children:w("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!=!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})})})})}),qe=({name:e,...t})=>w("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:w("use",{href:`#i-icon-${e}`})});var uf=Symbol.for("preact-signals");function ko(){if(Kt>1)Kt--;else{for(var e,t=!1;Cn!==void 0;){var n=Cn;for(Cn=void 0,$o++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&$s(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if($o=0,Kt--,t)throw e}}var B=void 0,Cn=void 0,Kt=0,$o=0,lr=0;function ks(e){if(B!==void 0){var t=e.n;if(t===void 0||t.t!==B)return t={i:0,S:e,p:B.s,n:void 0,t:B,e:void 0,x:void 0,r:t},B.s!==void 0&&(B.s.n=t),B.s=t,e.n=t,32&B.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=B.s,t.n=void 0,B.s.n=t,B.s=t),t}}function fe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}fe.prototype.brand=uf,fe.prototype.h=function(){return!0},fe.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},fe.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},fe.prototype.subscribe=function(e){var t=this;return Eo(function(){var n=t.value,r=B;B=void 0;try{e(n)}finally{B=r}})},fe.prototype.valueOf=function(){return this.value},fe.prototype.toString=function(){return this.value+""},fe.prototype.toJSON=function(){return this.value},fe.prototype.peek=function(){var e=B;B=void 0;try{return this.value}finally{B=e}},Object.defineProperty(fe.prototype,"value",{get:function(){var e=ks(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if($o>100)throw new Error("Cycle detected");this.v=e,this.i++,lr++,Kt++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ko()}}}});function jo(e){return new fe(e)}function $s(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function js(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Ss(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function qt(e){fe.call(this,void 0),this.x=e,this.s=void 0,this.g=lr-1,this.f=4}(qt.prototype=new fe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===lr))return!0;if(this.g=lr,this.f|=1,this.i>0&&!$s(this))return this.f&=-2,!0;var e=B;try{js(this),B=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return B=e,Ss(this),this.f&=-2,!0},qt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}fe.prototype.S.call(this,e)},qt.prototype.U=function(e){if(this.t!==void 0&&(fe.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},qt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},Object.defineProperty(qt.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=ks(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function df(e){return new qt(e)}function Es(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Kt++;var n=B;B=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,So(e),r}finally{B=n,ko()}}}function So(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Es(e)}function ff(e){if(B!==this)throw new Error("Out-of-order effect");Ss(this),B=e,this.f&=-2,8&this.f&&So(this),ko()}function On(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}On.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},On.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Es(this),js(this),Kt++;var e=B;return B=this,ff.bind(this,e)},On.prototype.N=function(){2&this.f||(this.f|=2,this.o=Cn,Cn=this)},On.prototype.d=function(){this.f|=8,1&this.f||So(this)};function Eo(e){var t=new On(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Co;function Gt(e,t){T[e]=t.bind(null,T[e]||function(){})}function ur(e){Co&&Co(),Co=e&&e.S()}function Cs(e){var t=this,n=e.data,r=hf(n);r.value=n;var o=Te(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!ba(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},df(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}Cs.displayName="_st",Object.defineProperties(fe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Cs},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),Gt("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof fe&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),Gt("__r",function(e,t){ur();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return Eo(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),ur(n),e(t)}),Gt("__e",function(e,t,n,r){ur(),e(t,n,r)}),Gt("diffed",function(e,t){ur();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.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=pf(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function pf(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=jo(n);return{o:function(a,s){i.value=a,r=s},d:Eo(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}Gt("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__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=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),Gt("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),be.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function hf(e){return Te(function(){return jo(e)},[])}const Rt={keyword$:jo()},dr=e=>{const t=Object.entries(e.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`${e.baseKey}::${t}::${e.keyword??""}`},vf=e=>{const[t,n]=ge(!1);return we(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},_f=(e,{minViewTime:t=1e3,visibilityThreshold:n=0,onView:r})=>{const[o,i]=ge(!1);we(()=>{if(o||!e.current)return;let a;const s=new IntersectionObserver(l=>l.forEach(u=>{clearTimeout(a),u.isIntersecting&&(a=setTimeout(()=>{i(!0),r()},t))}),{threshold:n});return s.observe(e.current),()=>{s.disconnect(),clearTimeout(a)}},[e,t,n,r,o])},jy="",gf=e=>{const t=Object.entries(e).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(t)},wf=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const{t:i}=Ke(),[a,s]=ge();return we(()=>{Promise.resolve().then(()=>my).then(l=>s(l.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),we(()=>{a==null||a.render({config:{label:i("create_alert"),headerText:i("alert_header_text")},initialFilters:{},theme:r})},[a,i,r]),we(()=>{a==null||a.setFilters(gf(o))},[o,a]),w("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})};function Os(e,t){for(var n in t)e[n]=t[n];return e}function Oo(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function fr(e,t){this.props=e,this.context=t}function As(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Oo(this.props,o)}function r(o){return this.shouldComponentUpdate=n,re(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(fr.prototype=new be).isPureReactComponent=!0,fr.prototype.shouldComponentUpdate=function(e,t){return Oo(this.props,e)||Oo(this.state,t)};var Ts=T.__b;T.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ts&&Ts(e)};var mf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ps(e){function t(n){var r=Os({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=mf,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Rs=function(e,t){return e==null?null:Be(Be(e).map(t))},Ds={map:Rs,forEach:Rs,count:function(e){return e?Be(e).length:0},only:function(e){var t=Be(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Be},yf=T.__e;T.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}yf(e,t,n,r)};var Ns=T.unmount;function Ls(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=Os({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Ls(r,t,n)})),e}function Ms(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ms(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function An(){this.__u=0,this.t=null,this.__b=null}function Is(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Fs(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return re(n,i)}return o.displayName="Lazy",o.__f=!0,o}function Xt(){this.u=null,this.o=null}T.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Ns&&Ns(e)},(An.prototype=new be).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Is(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]=Ms(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&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},An.prototype.componentWillUnmount=function(){this.t=[]},An.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Ls(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&re(F,null,e.fallback);return o&&(o.__u&=-33),[re(F,null,t.__a?null:e.children),o]};var Hs=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function bf(e){return this.getChildContext=function(){return e.context},e.children}function xf(e){var t=this,n=e.i;t.componentWillUnmount=function(){Wt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Wt(re(bf,{context:t.context},e.__v),t.l)}function Us(e,t){var n=re(xf,{__v:e,i:t});return n.containerInfo=t,n}(Xt.prototype=new be).__a=function(e){var t=this,n=Is(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Hs(t,e,r)):o()};n?n(i):i()}},Xt.prototype.render=function(e){this.u=null,this.o=new Map;var t=Be(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Xt.prototype.componentDidUpdate=Xt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Hs(e,n,t)})};var Vs=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,kf=/^(?: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]/,$f=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,jf=/[A-Z0-9]/g,Sf=typeof document<"u",Ef=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function zs(e,t,n){return t.__k==null&&(t.textContent=""),Wt(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ws(e,t,n){return ao(e,t),typeof n=="function"&&n(),e?e.__c:null}be.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(be.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Bs=T.event;function Cf(){}function Of(){return this.cancelBubble}function Af(){return this.defaultPrevented}T.event=function(e){return Bs&&(e=Bs(e)),e.persist=Cf,e.isPropagationStopped=Of,e.isDefaultPrevented=Af,e.nativeEvent=e};var Ao,Tf={enumerable:!1,configurable:!0,get:function(){return this.class}},Ys=T.vnode;T.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||Sf&&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"||Ef(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":$f.test(i)?i=s:r.indexOf("-")===-1&&kf.test(i)?i=i.replace(jf,"-$&").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=Be(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Be(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",Tf)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Vs,Ys&&Ys(e)};var Ks=T.__r;T.__r=function(e){Ks&&Ks(e),Ao=e.__c};var qs=T.diffed;T.diffed=function(e){qs&&qs(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Ao=null};var Gs={ReactCurrentDispatcher:{current:{readContext:function(e){return Ao.__n[e.__c].props.value},useCallback:ht,useContext:jn,useDebugValue:sr,useDeferredValue:Po,useEffect:we,useId:mo,useImperativeHandle:wo,useInsertionEffect:Do,useLayoutEffect:pt,useMemo:Te,useReducer:ar,useRef:Ee,useState:ge,useSyncExternalStore:No,useTransition:Ro}}},Pf="17.0.2";function Xs(e){return re.bind(null,e)}function Tn(e){return!!e&&e.$$typeof===Vs}function Zs(e){return Tn(e)&&e.type===F}function Js(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function Qs(e){return Tn(e)?vd.apply(null,arguments):e}function ec(e){return!!e.__k&&(Wt(null,e),!0)}function tc(e){return e&&(e.base||e.nodeType===1&&e)||null}var nc=function(e,t){return e(t)},rc=function(e,t){return e(t)},oc=F;function To(e){e()}function Po(e){return e}function Ro(){return[!1,To]}var Do=pt,ic=Tn;function No(e,t){var n=t(),r=ge({h:{__:n,v:t}}),o=r[0].h,i=r[1];return pt(function(){o.__=n,o.v=t,Lo(o)&&i({h:o})},[e,n,t]),we(function(){return Lo(o)&&i({h:o}),e(function(){Lo(o)&&i({h:o})})},[e]),n}function Lo(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var pr={useState:ge,useId:mo,useReducer:ar,useEffect:we,useLayoutEffect:pt,useInsertionEffect:Do,useTransition:Ro,useDeferredValue:Po,useSyncExternalStore:No,startTransition:To,useRef:Ee,useImperativeHandle:wo,useMemo:Te,useCallback:ht,useContext:jn,useDebugValue:sr,version:"17.0.2",Children:Ds,render:zs,hydrate:Ws,unmountComponentAtNode:ec,createPortal:Us,createElement:re,createContext:nr,createFactory:Xs,cloneElement:Qs,createRef:Ea,Fragment:F,isValidElement:Tn,isElement:ic,isFragment:Zs,isMemo:Js,findDOMNode:tc,Component:be,PureComponent:fr,memo:As,forwardRef:Ps,flushSync:rc,unstable_batchedUpdates:nc,StrictMode:oc,Suspense:An,SuspenseList:Xt,lazy:Fs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gs};const Rf=Object.freeze(Object.defineProperty({__proto__:null,Children:Ds,Component:be,Fragment:F,PureComponent:fr,StrictMode:oc,Suspense:An,SuspenseList:Xt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Gs,cloneElement:Qs,createContext:nr,createElement:re,createFactory:Xs,createPortal:Us,createRef:Ea,default:pr,findDOMNode:tc,flushSync:rc,forwardRef:Ps,hydrate:Ws,isElement:ic,isFragment:Zs,isMemo:Js,isValidElement:Tn,lazy:Fs,memo:As,render:zs,startTransition:To,unmountComponentAtNode:ec,unstable_batchedUpdates:nc,useCallback:ht,useContext:jn,useDebugValue:sr,useDeferredValue:Po,useEffect:we,useErrorBoundary:Qd,useId:mo,useImperativeHandle:wo,useInsertionEffect:Do,useLayoutEffect:pt,useMemo:Te,useReducer:ar,useRef:Ee,useState:ge,useSyncExternalStore:No,useTransition:Ro,version:Pf},Symbol.toStringTag,{value:"Module"}));var hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Nf(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Mo={exports:{}},Io={};const ac=Nf(Rf);/**
|
|
1
|
+
var Hy=Object.defineProperty;var zy=(we,je,jt)=>je in we?Hy(we,je,{enumerable:!0,configurable:!0,writable:!0,value:jt}):we[je]=jt;var Ba=(we,je,jt)=>(zy(we,typeof je!="symbol"?je+"":je,jt),jt);(function(){"use strict";var we=e=>{throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`)};function je(e,t){if(!e)throw new Error(t)}function jt(e,t){return e in t}var Ya=e=>e,_n,A,qa,$t,Ka,Ga,Kr,Xa,Vt={},Za=[],Uu=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,Vn=Array.isArray;function Ue(e,t){for(var n in t)e[n]=t[n];return e}function Ja(e){var t=e.parentNode;t&&t.removeChild(e)}function te(e,t,n){var r,o,a,i={};for(a in t)a=="key"?r=t[a]:a=="ref"?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?_n.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return mn(e,i,r,o,null)}function mn(e,t,n,r,o){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++qa};return o==null&&A.vnode!=null&&A.vnode(a),a}function Qa(){return{current:null}}function F(e){return e.children}function $e(e,t){this.props=e,this.context=t}function Un(e,t){if(t==null)return e.__?Un(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Un(e):null}function ei(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return ei(e)}}function Gr(e){(!e.__d&&(e.__d=!0)&&$t.push(e)&&!Wn.__r++||Ka!==A.debounceRendering)&&((Ka=A.debounceRendering)||Ga)(Wn)}function Wn(){var e,t,n,r,o,a,i,s,l;for($t.sort(Kr);e=$t.shift();)e.__d&&(t=$t.length,r=void 0,o=void 0,a=void 0,s=(i=(n=e).__v).__e,(l=n.__P)&&(r=[],o=[],(a=Ue({},i)).__v=i.__v+1,Xr(l,i,a,n.__n,l.ownerSVGElement!==void 0,i.__h!=null?[s]:null,r,s??Un(i),i.__h,o),si(r,i,o),i.__e!=s&&ei(i)),$t.length>t&&$t.sort(Kr));Wn.__r=0}function ti(e,t,n,r,o,a,i,s,l,u,h){var c,p,v,f,d,m,_,b,x,w,y=0,k=r&&r.__k||Za,S=k.length,j=S,$=t.length;for(n.__k=[],c=0;c<$;c++)(f=n.__k[c]=(f=t[c])==null||typeof f=="boolean"||typeof f=="function"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?mn(null,f,null,null,f):Vn(f)?mn(F,{children:f},null,null,null):f.__b>0?mn(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null&&(f.__=n,f.__b=n.__b+1,(b=Wu(f,k,_=c+y,j))===-1?v=Vt:(v=k[b]||Vt,k[b]=void 0,j--),Xr(e,f,v,o,a,i,s,l,u,h),d=f.__e,(p=f.ref)&&v.ref!=p&&(v.ref&&Zr(v.ref,null,f),h.push(p,f.__c||d,f)),d!=null&&(m==null&&(m=d),w=!(x=v===Vt||v.__v===null)&&b===_,x?b==-1&&y--:b!==_&&(b===_+1?(y++,w=!0):b>_?j>$-_?(y+=b-_,w=!0):y--:y=b<_&&b==_-1?b-_:0),_=c+y,w=w||b==c&&!x,typeof f.type!="function"||b===_&&v.__k!==f.__k?typeof f.type=="function"||w?f.__d!==void 0?(l=f.__d,f.__d=void 0):l=d.nextSibling:l=ri(e,d,l):l=ni(f,l,e),typeof n.type=="function"&&(n.__d=l)));for(n.__e=m,c=S;c--;)k[c]!=null&&(typeof n.type=="function"&&k[c].__e!=null&&k[c].__e==n.__d&&(n.__d=k[c].__e.nextSibling),ci(k[c],k[c]))}function ni(e,t,n){for(var r,o=e.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=e,t=typeof r.type=="function"?ni(r,t,n):ri(n,r.__e,t));return t}function We(e,t){return t=t||[],e==null||typeof e=="boolean"||(Vn(e)?e.some(function(n){We(n,t)}):t.push(e)),t}function ri(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function Wu(e,t,n,r){var o=e.key,a=e.type,i=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&a===l.type)return n;if(r>(l!=null?1:0))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&o==l.key&&a===l.type)return i;i--}if(s<t.length){if((l=t[s])&&o==l.key&&a===l.type)return s;s++}}return-1}function Bu(e,t,n,r,o){var a;for(a in n)a==="children"||a==="key"||a in t||Bn(e,a,null,n[a],r);for(a in t)o&&typeof t[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||n[a]===t[a]||Bn(e,a,t[a],n[a],r)}function oi(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Uu.test(t)?n:n+"px"}function Bn(e,t,n,r,o){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||oi(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||oi(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?ii:ai,a):e.removeEventListener(t,a?ii:ai,a);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function ai(e){return this.l[e.type+!1](A.event?A.event(e):e)}function ii(e){return this.l[e.type+!0](A.event?A.event(e):e)}function Xr(e,t,n,r,o,a,i,s,l,u){var h,c,p,v,f,d,m,_,b,x,w,y,k,S,j,$=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(h=A.__b)&&h(t);try{e:if(typeof $=="function"){if(_=t.props,b=(h=$.contextType)&&r[h.__c],x=h?b?b.props.value:h.__:r,n.__c?m=(c=t.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?t.__c=c=new $(_,x):(t.__c=c=new $e(_,x),c.constructor=$,c.render=qu),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=x,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),$.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Ue({},c.__s)),Ue(c.__s,$.getDerivedStateFromProps(_,c.__s))),v=c.props,f=c.state,c.__v=t,p)$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($.getDerivedStateFromProps==null&&_!==v&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,x),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,x)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(C){C&&(C.__=t)}),w=0;w<c._sb.length;w++)c.__h.push(c._sb[w]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,x),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(v,f,d)})}if(c.context=x,c.props=_,c.__P=e,c.__e=!1,y=A.__r,k=0,"prototype"in $&&$.prototype.render){for(c.state=c.__s,c.__d=!1,y&&y(t),h=c.render(c.props,c.state,c.context),S=0;S<c._sb.length;S++)c.__h.push(c._sb[S]);c._sb=[]}else do c.__d=!1,y&&y(t),h=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=Ue(Ue({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(d=c.getSnapshotBeforeUpdate(v,f)),ti(e,Vn(j=h!=null&&h.type===F&&h.key==null?h.props.children:h)?j:[j],t,n,r,o,a,i,s,l,u),c.base=t.__e,t.__h=null,c.__h.length&&i.push(c),m&&(c.__E=c.__=null)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Yu(n.__e,t,n,r,o,a,i,l,u);(h=A.diffed)&&h(t)}catch(C){t.__v=null,(l||a!=null)&&(t.__e=s,t.__h=!!l,a[a.indexOf(s)]=null),A.__e(C,t,n)}}function si(e,t,n){for(var r=0;r<n.length;r++)Zr(n[r],n[++r],n[++r]);A.__c&&A.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){A.__e(a,o.__v)}})}function Yu(e,t,n,r,o,a,i,s,l){var u,h,c,p=n.props,v=t.props,f=t.type,d=0;if(f==="svg"&&(o=!0),a!=null){for(;d<a.length;d++)if((u=a[d])&&"setAttribute"in u==!!f&&(f?u.localName===f:u.nodeType===3)){e=u,a[d]=null;break}}if(e==null){if(f===null)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,v.is&&v),a=null,s=!1}if(f===null)p===v||s&&e.data===v||(e.data=v);else{if(a=a&&_n.call(e.childNodes),h=(p=n.props||Vt).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!s){if(a!=null)for(p={},d=0;d<e.attributes.length;d++)p[e.attributes[d].name]=e.attributes[d].value;(c||h)&&(c&&(h&&c.__html==h.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(Bu(e,v,p,o,s),c)t.__k=[];else if(ti(e,Vn(d=t.props.children)?d:[d],t,n,r,o&&f!=="foreignObject",a,i,a?a[0]:n.__k&&Un(n,0),s,l),a!=null)for(d=a.length;d--;)a[d]!=null&&Ja(a[d]);s||("value"in v&&(d=v.value)!==void 0&&(d!==e.value||f==="progress"&&!d||f==="option"&&d!==p.value)&&Bn(e,"value",d,p.value,!1),"checked"in v&&(d=v.checked)!==void 0&&d!==e.checked&&Bn(e,"checked",d,p.checked,!1))}return e}function Zr(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){A.__e(r,n)}}function ci(e,t,n){var r,o;if(A.unmount&&A.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Zr(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){A.__e(a,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&ci(r[o],t,n||typeof e.type!="function");n||e.__e==null||Ja(e.__e),e.__=e.__e=e.__d=void 0}function qu(e,t,n){return this.constructor(e,n)}function Ut(e,t,n){var r,o,a,i;A.__&&A.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],i=[],Xr(t,e=(!r&&n||t).__k=te(F,null,[e]),o||Vt,Vt,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?_n.call(t.childNodes):null,a,!r&&n?n:o?o.__e:t.firstChild,r,i),si(a,e,i)}function Jr(e,t){Ut(e,t,Jr)}function Ku(e,t,n){var r,o,a,i,s=Ue({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?r=t[a]:a=="ref"?o=t[a]:s[a]=t[a]===void 0&&i!==void 0?i[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?_n.call(arguments,2):n),mn(e.type,s,r||e.key,o||e.ref,null)}function Yn(e,t){var n={__c:t="__cC"+Xa++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(s){s.__e=!0,Gr(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}_n=Za.slice,A={__e:function(e,t,n,r){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(s){e=s}throw e}},qa=0,$e.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Ue({},this.state),typeof e=="function"&&(e=e(Ue({},n),this.props)),e&&Ue(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Gr(this))},$e.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Gr(this))},$e.prototype.render=F,$t=[],Ga=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Kr=function(e,t){return e.__v.__b-t.__v.__b},Wn.__r=0,Xa=0;var li=/[\s\n\\/='"\0<>]/,ui=/^(xlink|xmlns|xml)([A-Z])/,Gu=/^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]/,Xu=/^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/,Zu=/["&<]/;function qn(e){if(e.length===0||Zu.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var di={},Ju=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"]),Qu=/[A-Z]/g;function ed(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:di[n]||(di[n]=n.replace(Qu,"-$&").toLowerCase()),a=";";typeof r!="number"||o.startsWith("--")||Ju.has(o)||(a="px;"),t=t+o+":"+r+a}}return t||void 0}var Qr,St,wn,yn,fi=[],pi=Array.isArray,eo=Object.assign;function td(e,t,n){var r=A.__s;A.__s=!0,Qr=A.__b,St=A.diffed,wn=A.__r,yn=A.unmount;var o=te(F,null);o.__k=[e];try{var a=De(e,t||vi,!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{A.__c&&A.__c(e,fi),A.__s=r,fi.length=0}}function hi(){this.__d=!0}var vi={};function gi(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=vi),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=eo({},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(),wn&&wn(e),n.render(n.props,n.state,t)}function De(e,t,n,r,o,a,i){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":qn(e+"");if(pi(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var h=e[u];if(h!=null&&typeof h!="boolean"){var c,p=De(h,t,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(e.constructor!==void 0)return"";e.__=o,Qr&&Qr(e);var v,f,d,m=e.type,_=e.props,b=t;if(typeof m=="function"){if(m===F){if(_.tpl){for(var x="",w=0;w<_.tpl.length;w++)if(x+=_.tpl[w],_.exprs&&w<_.exprs.length){var y=_.exprs[w];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!pi(y)?x+=y:x+=De(y,t,n,r,e,a,i)}return x}if(_.UNSTABLE_comment)return"<!--"+qn(_.UNSTABLE_comment||"")+"-->";f=_.children}else{if((v=m.contextType)!=null){var k=t[v.__c];b=k?k.props.value:v.__}if(m.prototype&&typeof m.prototype.render=="function")f=gi(e,b),d=e.__c;else{e.__c=d={__v:e,props:_,context:b,setState:hi,forceUpdate:hi,__d:!0,__h:[]};for(var S=0;d.__d&&S++<25;)d.__d=!1,wn&&wn(e),f=m.call(d,_,b);d.__d=!0}if(d.getChildContext!=null&&(t=eo({},t,d.getChildContext())),(m.getDerivedStateFromError||d.componentDidCatch)&&A.errorBoundaries){var j="";f=f!=null&&f.type===F&&f.key==null?f.props.children:f;try{return j=De(f,t,n,r,e,a,i)}catch(K){return m.getDerivedStateFromError&&(d.__s=m.getDerivedStateFromError(K)),d.componentDidCatch&&d.componentDidCatch(K,{}),d.__d&&(f=gi(e,t),(d=e.__c).getChildContext!=null&&(t=eo({},t,d.getChildContext())),j=De(f=f!=null&&f.type===F&&f.key==null?f.props.children:f,t,n,r,e,a,i)),j}finally{St&&St(e),e.__=null,yn&&yn(e)}}}f=f!=null&&f.type===F&&f.key==null&&f.props.tpl==null?f.props.children:f;try{var $=De(f,t,n,r,e,a,i);return St&&St(e),e.__=null,A.unmount&&A.unmount(e),$}catch(K){if(!a&&i&&i.onError){var C=i.onError(K,e,function(ae){return De(ae,t,n,r,e,a,i)});if(C!==void 0)return C;var I=A.__e;return I&&I(K,e),""}if(!a||!K||typeof K.then!="function")throw K;var M=function ae(){try{return De(f,t,n,r,e,a,i)}catch(le){if(!le||typeof le.then!="function")throw le;return le.then(function(){return De(f,t,n,r,e,a,i)},function(){return ae()})}};return K.then(function(){return M()})}}var N,P="<"+m,L="";for(var O in _){var T=_[O];switch(O){case"children":N=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;O="for";break;case"className":if("class"in _)continue;O="class";break;case"defaultChecked":O="checked";break;case"defaultSelected":O="selected";break;case"defaultValue":case"value":switch(O="value",m){case"textarea":N=T;continue;case"select":r=T;continue;case"option":r!=T||"selected"in _||(P+=" selected")}break;case"dangerouslySetInnerHTML":L=T&&T.__html;continue;case"style":typeof T=="object"&&(T=ed(T));break;case"acceptCharset":O="accept-charset";break;case"httpEquiv":O="http-equiv";break;default:if(ui.test(O))O=O.replace(ui,"$1:$2").toLowerCase();else{if(li.test(O))continue;O[4]!=="-"&&O!=="draggable"||T==null?n?Xu.test(O)&&(O=O==="panose1"?"panose-1":O.replace(/([A-Z])/g,"-$1").toLowerCase()):Gu.test(O)&&(O=O.toLowerCase()):T+=""}}T!=null&&T!==!1&&typeof T!="function"&&(P=T===!0||T===""?P+" "+O:P+" "+O+'="'+qn(T+"")+'"')}if(li.test(m))throw new Error(m+" is not a valid HTML tag name in "+P+">");if(L||(typeof N=="string"?L=qn(N):N!=null&&N!==!1&&N!==!0&&(L=De(N,t,m==="svg"||m!=="foreignObject"&&n,r,e,a,i))),St&&St(e),e.__=null,yn&&yn(e),!L&&nd.has(m))return P+"/>";var V="</"+m+">",W=P+">";return Array.isArray(L)?[W].concat(L,[V]):typeof L!="string"?[W,L,V]:W+L+V}var nd=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),to="RFC3986",no={RFC1738:e=>String(e).replace(/%20/g,"+"),RFC3986:e=>String(e)},rd="RFC1738",od=Array.isArray,Ne=(()=>{const e=[];for(let t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),ro=1024,ad=(e,t,n,r,o)=>{if(e.length===0)return e;let a=e;if(typeof e=="symbol"?a=Symbol.prototype.toString.call(e):typeof e!="string"&&(a=String(e)),n==="iso-8859-1")return escape(a).replace(/%u[0-9a-f]{4}/gi,function(s){return"%26%23"+parseInt(s.slice(2),16)+"%3B"});let i="";for(let s=0;s<a.length;s+=ro){const l=a.length>=ro?a.slice(s,s+ro):a,u=[];for(let h=0;h<l.length;++h){let c=l.charCodeAt(h);if(c===45||c===46||c===95||c===126||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||o===rd&&(c===40||c===41)){u[u.length]=l.charAt(h);continue}if(c<128){u[u.length]=Ne[c];continue}if(c<2048){u[u.length]=Ne[192|c>>6]+Ne[128|c&63];continue}if(c<55296||c>=57344){u[u.length]=Ne[224|c>>12]+Ne[128|c>>6&63]+Ne[128|c&63];continue}h+=1,c=65536+((c&1023)<<10|l.charCodeAt(h)&1023),u[u.length]=Ne[240|c>>18]+Ne[128|c>>12&63]+Ne[128|c>>6&63]+Ne[128|c&63]}i+=u.join("")}return i};function id(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function _i(e,t){if(od(e)){const n=[];for(let r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)}var sd=Object.prototype.hasOwnProperty,mi={brackets(e){return String(e)+"[]"},comma:"comma",indices(e,t){return String(e)+"["+t+"]"},repeat(e){return String(e)}},Le=Array.isArray,cd=Array.prototype.push,wi=function(e,t){cd.apply(e,Le(t)?t:[t])},ld=Date.prototype.toISOString,ne={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:ad,encodeValuesOnly:!1,format:to,formatter:no[to],indices:!1,serializeDate(e){return ld.call(e)},skipNulls:!1,strictNullHandling:!1};function ud(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"}var oo={};function yi(e,t,n,r,o,a,i,s,l,u,h,c,p,v,f,d,m,_){let b=e,x=_,w=0,y=!1;for(;(x=x.get(oo))!==void 0&&!y;){const C=x.get(e);if(w+=1,typeof C<"u"){if(C===w)throw new RangeError("Cyclic object value");y=!0}typeof x.get(oo)>"u"&&(w=0)}if(typeof u=="function"?b=u(t,b):b instanceof Date?b=p==null?void 0:p(b):n==="comma"&&Le(b)&&(b=_i(b,function(C){return C instanceof Date?p==null?void 0:p(C):C})),b===null){if(a)return l&&!d?l(t,ne.encoder,m,"key",v):t;b=""}if(ud(b)||id(b)){if(l){const C=d?t:l(t,ne.encoder,m,"key",v);return[(f==null?void 0:f(C))+"="+(f==null?void 0:f(l(b,ne.encoder,m,"value",v)))]}return[(f==null?void 0:f(t))+"="+(f==null?void 0:f(String(b)))]}const k=[];if(typeof b>"u")return k;let S;if(n==="comma"&&Le(b))d&&l&&(b=_i(b,l)),S=[{value:b.length>0?b.join(",")||null:void 0}];else if(Le(u))S=u;else{const C=Object.keys(b);S=h?C.sort(h):C}const j=s?String(t).replace(/\./g,"%2E"):String(t),$=r&&Le(b)&&b.length===1?j+"[]":j;if(o&&Le(b)&&b.length===0)return $+"[]";for(let C=0;C<S.length;++C){const I=S[C],M=typeof I=="object"&&typeof I.value<"u"?I.value:b[I];if(i&&M===null)continue;const N=c&&s?I.replace(/\./g,"%2E"):I,P=Le(b)?typeof n=="function"?n($,N):$:$+(c?"."+N:"["+N+"]");_.set(e,w);const L=new WeakMap;L.set(oo,_),wi(k,yi(M,P,n,r,o,a,i,s,n==="comma"&&d&&Le(b)?null:l,u,h,c,p,v,f,d,m,L))}return k}function dd(e=ne){if(typeof e.allowEmptyArrays<"u"&&typeof e.allowEmptyArrays!="boolean")throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(typeof e.encodeDotInKeys<"u"&&typeof e.encodeDotInKeys!="boolean")throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(e.encoder!==null&&typeof e.encoder<"u"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");const t=e.charset||ne.charset;if(typeof e.charset<"u"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");let n=to;if(typeof e.format<"u"){if(!sd.call(no,e.format))throw new TypeError("Unknown format option provided.");n=e.format}const r=no[n];let o=ne.filter;(typeof e.filter=="function"||Le(e.filter))&&(o=e.filter);let a;if(e.arrayFormat&&e.arrayFormat in mi?a=e.arrayFormat:"indices"in e?a=e.indices?"indices":"repeat":a=ne.arrayFormat,"commaRoundTrip"in e&&typeof e.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");const i=typeof e.allowDots>"u"?e.encodeDotInKeys?!0:ne.allowDots:!!e.allowDots;return{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:ne.addQueryPrefix,allowDots:i,allowEmptyArrays:typeof e.allowEmptyArrays=="boolean"?!!e.allowEmptyArrays:ne.allowEmptyArrays,arrayFormat:a,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:ne.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:typeof e.delimiter>"u"?ne.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:ne.encode,encodeDotInKeys:typeof e.encodeDotInKeys=="boolean"?e.encodeDotInKeys:ne.encodeDotInKeys,encoder:typeof e.encoder=="function"?e.encoder:ne.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:ne.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:ne.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:ne.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:ne.strictNullHandling}}function bi(e,t={}){let n=e;const r=dd(t);let o,a;typeof r.filter=="function"?(a=r.filter,n=a("",n)):Le(r.filter)&&(a=r.filter,o=a);const i=[];if(typeof n!="object"||n===null)return"";const s=mi[r.arrayFormat],l=s==="comma"&&r.commaRoundTrip;o||(o=Object.keys(n)),r.sort&&o.sort(r.sort);const u=new WeakMap;for(let p=0;p<o.length;++p){const v=o[p];r.skipNulls&&n[v]===null||wi(i,yi(n[v],v,s,l,r.allowEmptyArrays,r.strictNullHandling,r.skipNulls,r.encodeDotInKeys,r.encode?r.encoder:null,r.filter,r.sort,r.allowDots,r.serializeDate,r.format,r.formatter,r.encodeValuesOnly,r.charset,u))}const h=i.join(r.delimiter);let c=r.addQueryPrefix===!0?"?":"";return r.charsetSentinel&&(r.charset==="iso-8859-1"?c+="utf8=%26%2310003%3B&":c+="utf8=%E2%9C%93&"),h.length>0?c+h:""}var Kn=class extends Error{constructor(t){super(t[0].message);Ba(this,"issues");this.name="ValiError",this.issues=t}};function xi(e,t){return{...e,_parse(n,r){return e._parse(t(n),r)}}}function bn(e){return{issues:e}}function Et(e){return{output:e}}function fd(e,t){return{reason:e==null?void 0:e.reason,validation:t.validation,origin:(e==null?void 0:e.origin)||"value",message:t.message,input:t.input,path:t.path,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function pd(e,t){return{reason:t,origin:e==null?void 0:e.origin,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}}function ct(e,t,n,r){if(!t||!t.length||n!=null&&n.skipPipe)return Et(e);let o,a,i=e;for(const s of t){const l=s._parse(i);if(l.issues){o=o||pd(n,r);for(const u of l.issues){const h=fd(o,u);a?a.push(h):a=[h]}if(o.abortEarly||o.abortPipeEarly)break}else i=l.output}return a?bn(a):Et(i)}function lt(e,t){return Array.isArray(e)?[void 0,e]:[e,t]}function ki(e){return typeof e=="function"?e():e}function hd(e,t,n,r){return bn([{validation:e,message:ki(t),input:n,requirement:r}])}function vd(e,t,n){if(!e||typeof e=="object"&&!Array.isArray(e)){const[a,i]=lt(t,n);return[e,a,i]}const[r,o]=lt(e,t);return[void 0,r,o]}function ut(e,t,n,r,o,a){return{issues:[{reason:t,validation:n,origin:(e==null?void 0:e.origin)||"value",message:ki(r),input:o,issues:a,abortEarly:e==null?void 0:e.abortEarly,abortPipeEarly:e==null?void 0:e.abortPipeEarly,skipPipe:e==null?void 0:e.skipPipe}]}}function ji(e){return typeof e.default=="function"?e.default():e.default}function gd(e){return{type:"any",async:!1,pipe:e,_parse(t,n){return ct(t,this.pipe,n,"any")}}}function ao(e,t,n){const[r="Invalid type",o]=lt(t,n);return{type:"array",async:!1,item:e,message:r,pipe:o,_parse(a,i){if(!Array.isArray(a))return ut(i,"type","array",this.message,a);let s;const l=[];for(let u=0;u<a.length;u++){const h=a[u],c=this.item._parse(h,i);if(c.issues){const p={type:"array",input:a,key:u,value:h};for(const v of c.issues)v.path?v.path.unshift(p):v.path=[p],s==null||s.push(v);if(s||(s=c.issues),i!=null&&i.abortEarly)break}else l.push(c.output)}return s?bn(s):ct(l,this.pipe,i,"array")}}}function $i(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"boolean",async:!1,message:n,pipe:r,_parse(o,a){return typeof o!="boolean"?ut(a,"type","boolean",this.message,o):ct(o,this.pipe,a,"boolean")}}}function Be(e,t="Invalid type"){return{type:"literal",async:!1,literal:e,message:t,_parse(n,r){return n!==this.literal?ut(r,"type","literal",this.message,n):Et(n)}}}function ye(e,t){return{type:"nullable",async:!1,wrapped:e,default:t,_parse(n,r){if(n===null){const o=ji(this);if(o===void 0)return Et(n);n=o}return this.wrapped._parse(n,r)}}}function dt(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"number",async:!1,message:n,pipe:r,_parse(o,a){return typeof o!="number"||isNaN(o)?ut(a,"type","number",this.message,o):ct(o,this.pipe,a,"number")}}}function Ye(e,t,n,r){const[o,a="Invalid type",i]=vd(t,n,r);let s;return{type:"object",async:!1,entries:e,rest:o,message:a,pipe:i,_parse(l,u){if(!l||typeof l!="object")return ut(u,"type","object",this.message,l);s=s||Object.entries(this.entries);let h;const c={};for(const[p,v]of s){const f=l[p],d=v._parse(f,u);if(d.issues){const m={type:"object",input:l,key:p,value:f};for(const _ of d.issues)_.path?_.path.unshift(m):_.path=[m],h==null||h.push(_);if(h||(h=d.issues),u!=null&&u.abortEarly)break}else(d.output!==void 0||p in l)&&(c[p]=d.output)}if(this.rest&&!(u!=null&&u.abortEarly&&h)){for(const p in l)if(!(p in this.entries)){const v=l[p],f=this.rest._parse(v,u);if(f.issues){const d={type:"object",input:l,key:p,value:v};for(const m of f.issues)m.path?m.path.unshift(d):m.path=[d],h==null||h.push(m);if(h||(h=f.issues),u!=null&&u.abortEarly)break}else c[p]=f.output}}return h?bn(h):ct(c,this.pipe,u,"object")}}}function ft(e,t){return{type:"optional",async:!1,wrapped:e,default:t,_parse(n,r){if(n===void 0){const o=ji(this);if(o===void 0)return Et(n);n=o}return this.wrapped._parse(n,r)}}}function U(e,t){const[n="Invalid type",r]=lt(e,t);return{type:"string",async:!1,message:n,pipe:r,_parse(o,a){return typeof o!="string"?ut(a,"type","string",this.message,o):ct(o,this.pipe,a,"string")}}}function _d(e,t,n,r){if(typeof t=="object"&&!Array.isArray(t)){const[i,s]=lt(n,r);return[e,t,i,s]}const[o,a]=lt(t,n);return[U(),e,o,a]}var md=["__proto__","prototype","constructor"];function Si(e,t,n,r){const[o,a,i="Invalid type",s]=_d(e,t,n,r);return{type:"record",async:!1,key:o,value:a,message:i,pipe:s,_parse(l,u){if(!l||typeof l!="object")return ut(u,"type","record",this.message,l);let h;const c={};for(const[p,v]of Object.entries(l))if(!md.includes(p)){let f;const d=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(d.issues){f={type:"record",input:l,key:p,value:v};for(const _ of d.issues)_.path=[f],h==null||h.push(_);if(h||(h=d.issues),u!=null&&u.abortEarly)break}const m=this.value._parse(v,u);if(m.issues){f=f||{type:"record",input:l,key:p,value:v};for(const _ of m.issues)_.path?_.path.unshift(f):_.path=[f],h==null||h.push(_);if(h||(h=m.issues),u!=null&&u.abortEarly)break}!d.issues&&!m.issues&&(c[d.output]=m.output)}return h?bn(h):ct(c,this.pipe,u,"record")}}}function Ei(e,t="Invalid type"){return{type:"union",async:!1,options:e,message:t,_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?Et(a[0]):ut(r,"type","union",this.message,n,o)}}}function Ci(e,t,n){const r=e._parse(t,n);if(r.issues)throw new Kn(r.issues);return r.output}function io(e,t,n){const r=e._parse(t,n);return r.issues?{success:!1,error:new Kn(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function pt(e,t,n){return{...e,_parse(r,o){const a=e._parse(r,o);if(a.issues)return a;const i=t(a.output);return n&&!Array.isArray(n)?n._parse(i,o):ct(i,n,o,typeof i)}}}function wd(e="Invalid URL"){return{type:"url",async:!1,message:e,requirement(t){try{return new URL(t),!0}catch{return!1}},_parse(t){return this.requirement(t)?Et(t):hd(this.type,this.message,t,this.requirement)}}}const Ai="inploi-job-search",Oi="ijs",Ct=10;var Gn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ti(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function yd(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}function bd(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Xn=bd,xd=typeof Gn=="object"&&Gn&&Gn.Object===Object&&Gn,kd=xd,jd=kd,$d=typeof self=="object"&&self&&self.Object===Object&&self,Sd=jd||$d||Function("return this")(),Zn=Sd,Ed=Zn,Cd=function(){return Ed.Date.now()},Ad=Cd,Od=/\s/;function Td(e){for(var t=e.length;t--&&Od.test(e.charAt(t)););return t}var Pd=Td,Rd=Pd,Dd=/^\s+/;function Nd(e){return e&&e.slice(0,Rd(e)+1).replace(Dd,"")}var Ld=Nd,Id=Zn,Md=Id.Symbol,so=Md,Pi=so,Ri=Object.prototype,Fd=Ri.hasOwnProperty,Hd=Ri.toString,xn=Pi?Pi.toStringTag:void 0;function zd(e){var t=Fd.call(e,xn),n=e[xn];try{e[xn]=void 0;var r=!0}catch{}var o=Hd.call(e);return r&&(t?e[xn]=n:delete e[xn]),o}var Vd=zd,Ud=Object.prototype,Wd=Ud.toString;function Bd(e){return Wd.call(e)}var Yd=Bd,Di=so,qd=Vd,Kd=Yd,Gd="[object Null]",Xd="[object Undefined]",Ni=Di?Di.toStringTag:void 0;function Zd(e){return e==null?e===void 0?Xd:Gd:Ni&&Ni in Object(e)?qd(e):Kd(e)}var Li=Zd;function Jd(e){return e!=null&&typeof e=="object"}var Qd=Jd,ef=Li,tf=Qd,nf="[object Symbol]";function rf(e){return typeof e=="symbol"||tf(e)&&ef(e)==nf}var Jn=rf,of=Ld,Ii=Xn,af=Jn,Mi=0/0,sf=/^[-+]0x[0-9a-f]+$/i,cf=/^0b[01]+$/i,lf=/^0o[0-7]+$/i,uf=parseInt;function df(e){if(typeof e=="number")return e;if(af(e))return Mi;if(Ii(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Ii(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=of(e);var n=cf.test(e);return n||lf.test(e)?uf(e.slice(2),n?2:8):sf.test(e)?Mi:+e}var ff=df,pf=Xn,co=Ad,Fi=ff,hf="Expected a function",vf=Math.max,gf=Math.min;function _f(e,t,n){var r,o,a,i,s,l,u=0,h=!1,c=!1,p=!0;if(typeof e!="function")throw new TypeError(hf);t=Fi(t)||0,pf(n)&&(h=!!n.leading,c="maxWait"in n,a=c?vf(Fi(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p);function v(k){var S=r,j=o;return r=o=void 0,u=k,i=e.apply(j,S),i}function f(k){return u=k,s=setTimeout(_,t),h?v(k):i}function d(k){var S=k-l,j=k-u,$=t-S;return c?gf($,a-j):$}function m(k){var S=k-l,j=k-u;return l===void 0||S>=t||S<0||c&&j>=a}function _(){var k=co();if(m(k))return b(k);s=setTimeout(_,d(k))}function b(k){return s=void 0,p&&r?v(k):(r=o=void 0,i)}function x(){s!==void 0&&clearTimeout(s),u=0,r=l=o=s=void 0}function w(){return s===void 0?i:b(co())}function y(){var k=co(),S=m(k);if(r=arguments,o=this,l=k,S){if(s===void 0)return f(l);if(c)return clearTimeout(s),s=setTimeout(_,t),v(l)}return s===void 0&&(s=setTimeout(_,t)),i}return y.cancel=x,y.flush=w,y}var mf=_f;const wf=Ti(mf);var qe,Y,lo,Hi,Wt=0,zi=[],Qn=[],Vi=A.__b,Ui=A.__r,Wi=A.diffed,Bi=A.__c,Yi=A.unmount;function At(e,t){A.__h&&A.__h(Y,e,Wt||t),Wt=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Qn}),n.__[e]}function z(e){return Wt=1,uo(Gi,e)}function uo(e,t,n){var r=At(qe++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):Gi(void 0,t),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=Y,!Y.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var h=r.__c.__H.__.filter(function(p){return p.__c});if(h.every(function(p){return!p.__N}))return!a||a.call(this,s,l,u);var c=!1;return h.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!a||a.call(this,s,l,u))};Y.u=!0;var a=Y.shouldComponentUpdate,i=Y.componentWillUpdate;Y.componentWillUpdate=function(s,l,u){if(this.__e){var h=a;a=void 0,o(s,l,u),a=h}i&&i.call(this,s,l,u)},Y.shouldComponentUpdate=o}return r.__N||r.__}function re(e,t){var n=At(qe++,3);!A.__s&&vo(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function Ot(e,t){var n=At(qe++,4);!A.__s&&vo(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function _e(e){return Wt=5,Ie(function(){return{current:e}},[])}function qi(e,t,n){Wt=6,Ot(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function Ie(e,t){var n=At(qe++,7);return vo(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function ht(e,t){return Wt=8,Ie(function(){return e},t)}function er(e){var t=Y.context[e.__c],n=At(qe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function fo(e,t){A.useDebugValue&&A.useDebugValue(t?t(e):e)}function yf(e){var t=At(qe++,10),n=z();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function po(){var e=At(qe++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function bf(){for(var e;e=zi.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(tr),e.__H.__h.forEach(ho),e.__H.__h=[]}catch(t){e.__H.__h=[],A.__e(t,e.__v)}}A.__b=function(e){Y=null,Vi&&Vi(e)},A.__r=function(e){Ui&&Ui(e),qe=0;var t=(Y=e.__c).__H;t&&(lo===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=Qn,n.__N=n.i=void 0})):(t.__h.forEach(tr),t.__h.forEach(ho),t.__h=[],qe=0)),lo=Y},A.diffed=function(e){Wi&&Wi(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(zi.push(t)!==1&&Hi===A.requestAnimationFrame||((Hi=A.requestAnimationFrame)||xf)(bf)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==Qn&&(n.__=n.__V),n.i=void 0,n.__V=Qn})),lo=Y=null},A.__c=function(e,t){t.some(function(n){try{n.__h.forEach(tr),n.__h=n.__h.filter(function(r){return!r.__||ho(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],A.__e(r,n.__v)}}),Bi&&Bi(e,t)},A.unmount=function(e){Yi&&Yi(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{tr(r)}catch(o){t=o}}),n.__H=void 0,t&&A.__e(t,n.__v))};var Ki=typeof requestAnimationFrame=="function";function xf(e){var t,n=function(){clearTimeout(r),Ki&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Ki&&(t=requestAnimationFrame(n))}function tr(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function ho(e){var t=Y;e.__c=e.__(),Y=t}function vo(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function Gi(e,t){return typeof t=="function"?t(e):t}var kf=0;function g(e,t,n,r,o,a){var i,s,l={};for(s in t)s=="ref"?i=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--kf,__source:o,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return A.vnode&&A.vnode(u),u}const jf=["other","few","many","two","one","zero"],Xi=({terms:e,overrides:t,locale:n})=>{const r=new Intl.PluralRules(n);function o(a,i){const s=(t==null?void 0:t[a])??e[a];switch(typeof s){case"string":return s.replace(/{{(\w+)}}/g,(l,u)=>{var h;return((h=i==null?void 0:i[u])==null?void 0:h.toString())??""});case"object":{if(typeof(i==null?void 0:i.count)!="number")throw new Error(`Missing count for translation key “${a.toString()}”`);let l=r.select(i.count);if(!(l in s)){const u=jf.find(h=>h in s);if(!u)throw new Error(`Missing plural rule for translation key “${a.toString()}”`);l=u}return s[l].replace(/{{(\w+)}}/g,(u,h)=>{var c;return((c=i==null?void 0:i[h])==null?void 0:c.toString())??""})}default:throw new Error(`Invalid translation value in dictionary for key “${a.toString()}”.`)}}return o},Zi=Yn(null),$f=e=>({TranslationProvider:({terms:t,children:n,locale:r})=>{const o=Ie(()=>(console.log("instantiating"),Xi({locale:r,terms:e,overrides:t})),[t,r]);return g(Zi.Provider,{value:{t:o,locale:r},children:n})},useTranslation:()=>{const t=er(Zi);if(t===null)throw new Error("Please wrap useTranslation in a TranslationProvider");return{t:t.t,locale:t.locale}},createTFunction:({overrides:t,locale:n})=>Xi({terms:e,overrides:t,locale:n})}),{TranslationProvider:Sf,useTranslation:ve,createTFunction:Ef}=$f({type_to_search_jobs:"Type to search jobs",type_to_search:"Type to search",jobs_found:{one:"{{count}} job found",other:"{{count}} jobs found"},no_jobs_found:"No jobs found",no_jobs_found_description:"We could not find any jobs matching your filtering criteria.",jobs_loading_error:"We’re having trouble loading available jobs.",filters_loading_error:"We’re having trouble loading available filters.",no_filter_options_available:"No filter options available.",clear:"Clear",selected:"selected",done:"Done",skip:"Skip",new:"NEW",posted:"Posted",retry:"Retry",widget_unavailable:"Sorry, this widget is unavailable at the moment.",load_more_count:"Load {{count}} more",of_remaining_count:"of {{count}} remaining",create_alert:"Create alert",alert_header_text:"You will be alerted for new jobs matching the filters currently set",today:"today",over_30_days_ago:"over 30 days ago",in_over_30_days:"in over 30 days",up_to:"Up to",from:"From",invalid_salary:"Invalid salary",competitive:"Competitive",natural_language_input:"Type anything",great_match:"Great match",advanced_mode:"Filters",simple_mode:"Hide filters",ai_disclaimer:"Results may not be perfect. AI-powered search can occasionally suggest unrelated content.",geo_error_timeout:"Timed out. Please type your location manually.",geo_error_permission_denied:"Please allow location access to use this feature.",geo_error_position_unavailable:"Could not locate you. Please type your location manually.",geo_my_location:"My location",geo_locating:"Locating you...",geo_search_placeholder:"Search for a location",geo_clear_search:"Clear location search",location_provided:"Provided location",search_label:"What",geo_label:"Where",geo_range_label:"Within",geo_suggestions_error:"Could not get the suggested locations."});function Ji(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=Ji(e[t]))&&(r&&(r+=" "),r+=n);else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function go(){for(var e,t,n=0,r="";n<arguments.length;)(e=arguments[n++])&&(t=Ji(e))&&(r&&(r+=" "),r+=t);return r}const Qi=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Cf=e=>{const t=function(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];var s,l;return typeof(e==null||(s=e.hooks)===null||s===void 0?void 0:s["cx:done"])<"u"?e==null?void 0:e.hooks["cx:done"](go(a)):typeof(e==null||(l=e.hooks)===null||l===void 0?void 0:l.onComplete)<"u"?e==null?void 0:e.hooks.onComplete(go(a)):go(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[h]=u;return!["class","className"].includes(h)}));return t(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 t(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 v=a==null?void 0:a[p],f=l==null?void 0:l[p],d=Qi(v)||Qi(f);return s[p][d]}),h={...l,...a&&Object.entries(a).reduce((p,v)=>{let[f,d]=v;return typeof d>"u"?p:{...p,[f]:d}},{})},c=o==null||(i=o.compoundVariants)===null||i===void 0?void 0:i.reduce((p,v)=>{let{class:f,className:d,...m}=v;return Object.entries(m).every(_=>{let[b,x]=_;const w=h[b];return Array.isArray(x)?x.includes(w):w===x})?[...p,f,d]:p},[]);return t(o==null?void 0:o.base,u,c,a==null?void 0:a.class,a==null?void 0:a.className)},cx:t}},{compose:Vy,cva:Ae,cx:Uy}=Cf(),Af=e=>{const[t,n]=z(!1);return re(()=>{if(typeof window>"u")return;const r=window.matchMedia(e),o=()=>n(r.matches);return o(),r.addEventListener("change",o),()=>r.removeEventListener("change",o)},[e]),t},Of=(e,{minViewTime:t=1e3,visibilityThreshold:n=0,onView:r})=>{const[o,a]=z(!1);re(()=>{if(o||!e.current)return;let i;const s=new IntersectionObserver(l=>l.forEach(u=>{clearTimeout(i),u.isIntersecting&&(i=setTimeout(()=>{a(!0),r()},t))}),{threshold:n});return s.observe(e.current),()=>{s.disconnect(),clearTimeout(i)}},[e,t,n,r,o])},Ke=Ae({base:"fr animate-selected-tag justify-center touch-hitbox text-style-filter ease-expo-out disabled:text-interactive-neutral-bg-hover disabled:bg-interactive-neutral-bg disabled:hover:disabled:bg-interactive-neutral-bg flex cursor-pointer items-center 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:"",only:""},position:{relative:"relative",absolute:"absolute"},size:{sm:"py-1 rounded-interactive",lg:"py-2 rounded-interactive",unsized:""}},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"},{size:"lg",icon:"only",class:"px-2 py-2"},{size:"sm",icon:"only",class:"px-1 py-1"}],defaultVariants:{variant:"neutral",icon:"none",position:"relative",size:"sm"}});function es(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=es(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function kn(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=es(e))&&(r&&(r+=" "),r+=t);return r}const Tf=({error:e,resetError:t})=>{const{t:n}=ve();return 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:e.message}),g("button",{type:"button",onClick:t,style:{background:"white",border:"none",cursor:"pointer",textAlign:"center",borderRadius:"4px",padding:"0.5rem 1rem"},children:n("retry")})]})},Ge=({error:e,resetError:t,class:n,...r})=>{const{t:o}=ve();return g("div",{class:kn("bg-neutral-12 ring-section-weak-stroke rounded-section flex flex-col items-center gap-4 overflow-hidden p-6 text-center",n),...r,children:[g("div",{class:"flex max-w-full 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:o("widget_unavailable")}),g("p",{class:"text-neutral-8 text-style-tag font-style-tag font-weight-tag max-w-full break-words leading-snug [text-wrap:pretty]",children:e.message})]}),g("button",{type:"button",class:Ke({variant:"neutral",size:"lg",class:"text-interactive-neutral-bg bg-lowest"}),onClick:t,children:o("retry")})]})};class Bt extends $e{constructor(){super(...arguments);Ba(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:()=>{this.setState({error:null})}})}return this.props.children}}const Oe=Ae({base:"block fr font-style-tag font-family-tag font-weight-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 py-0.5 text-style-tag",sm:"px-3 py-1.5 text-style-tag",lg:"px-5 py-2.5 text-style-tag",unsized:""},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}}),Pf=({query:e,property:t,selectedValues:n})=>{switch(e.queryState){case"idle":case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(a=>n.includes(a.value));switch(o.length){case 0:return null;case 1:{const a=o[0];return je(a),g("span",{class:Oe({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:a.label})}default:return g("span",{class:Oe({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:we(e)}},Rf={briefcase:g(F,{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(F,{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(F,{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(F,{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(F,{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(F,{children:g("path",{d:"M19.25 7H4.75V8.5L10.25 12.25V17.5H13.75V12.25L19.25 8.5V7Z"})}),globe:g(F,{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(F,{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"})]}),magnifierSimple:g(F,{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:"M16 16L19 19"})]}),mapPin:g(F,{children:g(F,{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(F,{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(F,{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"}),ai:g("path",{d:"M8.3 14.5c3.4 0 5.2-1.7 5.2-5.2 0 3.5 1.8 5.2 5.3 5.2-3.6 0-5.3 1.7-5.3 5.1 0-3.4-1.8-5.1-5.3-5.1ZM5 7.5c2.3 0 3.5-1.2 3.5-3.5 0 2.3 1.2 3.4 3.5 3.4-2.3 0-3.5 1.2-3.5 3.5 0-2.3-1.2-3.5-3.5-3.5Z",fill:"currentColor"}),"target-location":g(F,{children:[g("circle",{cx:"12",cy:"12",r:"0.75"}),g("circle",{cx:"12",cy:"12",r:"5.75"}),g("path",{d:"M12 4.25V6.25"}),g("path",{d:"M12 17.75V19.75"}),g("path",{d:"M4.25 12L6.25 12"}),g("path",{d:"M17.75 12L19.75 12"})]}),warning:g("path",{fill:"currentColor",stroke:"none",d:"M12 20.4C16.63 20.4 20.4 16.64 20.4 12C20.4 7.36 16.64 3.6 12.0 3.6C7.36 3.6 3.6 7.36 3.6 12C3.6 16.64 7.36 20.4 12 20.4ZM10.8 12.6V7.8H13.2V12.6H10.8ZM10.8 16.8V14.4H13.2V16.8H10.8Z"})},Df=({theme:e})=>g("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:g("defs",{children:Object.entries(Rf).map(([t,n])=>{var r;return g("symbol",{id:`i-icon-${t}`,children:g("g",{fill:"none","stroke-width":e.mode==="dark"&&((r=e.accessibility)==null?void 0:r.highContrast)!==!0?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})},t)})})}),de=({name:e,...t})=>g("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:g("use",{href:`#i-icon-${e}`})}),ts={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"},Nf=Ae({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"}}}),Lf=Ae({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"}}}),If=Ae({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Mf=e=>{const t=_e(null),[n,r]=z(0),o=()=>{var a;return r(((a=t.current)==null?void 0:a.clientHeight)??0)};return Ot(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},ns=e=>typeof e.value=="string"?[e.value]:e.value??[],Ff=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:a,unfilteredQuery:i,useQuery:s})=>{const l=jt(r.key,ts)?ts[r.key]:void 0,u=r.icon??l??"filter",h=ns(t),{height:c,ref:p,updateHeight:v}=Mf([e]),f=h.length>0;return g("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:Nf({hasValue:f}),onTouchStart:Hf,children:[g("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[g("button",{"aria-label":e?"Close filter":"Open filter",class:Lf({state:e?"active":f?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[g(de,{"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:e&&g(Zf,{useQuery:s,onRender:v,onSkip:o,onValueChange:a,unfilteredQuery:i,property:r,value:t})})})]}),!e&&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(Pf,{property:r,query:i,selectedValues:h})}),g(de,{"aria-hidden":!0,class:If(),name:"chevron-right"})]})]})};function Hf(){}const zf=44,Vf=6,Uf=12,Wf=8,Yt=Ae({base:"fr bg-lowest caret-accent-11 selection:bg-accent-4 selection:text-accent-12 placeholder:text-copy-neutral placeholder:opacity-30 ring-width-section ease-expo-out duration-snappy transition-all disabled:opacity-50 rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-interactive-accent-text ring-job-card-stroke"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),rs=Ae({base:"gutter-stable pointer-fine:flex-wrap pointer-fine:p-2 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)]"},ring:{default:"pointer-fine:ring-width-section ring-section-weak-stroke",unset:""}},defaultVariants:{type:"short",ring:"default"}}),os=Ae({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"}}}),as=Ae({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag 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}}),Bf=Ae({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"}}}),Yf=({children:e,colorScheme:t})=>g("span",{class:Bf({colorScheme:t}),children:g("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),qf=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},is=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return Number.isNaN(t)?0:t},Kf=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const a=is(r.value),i=is(o.value);return a-i});break}return t.order==="descending"&&n.reverse(),n},Gf=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},Xf=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Zf=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:a,onRender:i})=>{const{t:s}=ve(),l=cr(r()),u=Ie(()=>{switch(l.queryState){case"error":case"idle":case"loading":return null;case"loaded":case"revalidating":{const d=l.data[t.key]??[];return Object.fromEntries(d.map(m=>[m.value,m.jobs]))}default:we(l)}},[l,t.key]),h=ns(e),c=h.length>0,[p,v]=z(),f=Af("(pointer: coarse)");return re(()=>{i()}),l.queryState==="error"?g(Ge,{error:new Error(s("filters_loading_error"),{cause:l.error}),resetError:()=>l.swr.mutate()}):g("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&g("div",{class:"top-0 px-4 py-1",children:g("input",{type:"search",class:Yt(),value:p,onInput:d=>v(d.currentTarget.value),placeholder:s("type_to_search")})}),(()=>{switch(a.queryState){case"error":return g(Ge,{error:new Error(s("filters_loading_error"),{cause:a.error}),resetError:()=>a.swr.mutate()});case"idle":case"loading":return g("div",{class:"flex px-4",children:g("div",{"aria-hidden":!0,class:Oe({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=a.data[t.key]??[],m=p&&p.length>1?d.filter(y=>y.label.toLowerCase().includes(p.toLowerCase())):d,_=[];for(const y of m){if(y.label.length<1)continue;const k={...y,results:Xf(u,y),disabled:Gf(u,y)};switch(t.results){case"only-available":k.disabled===!1&&_.push(k);break;default:_.push(k)}}if(!_.find(y=>!y.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:s("no_filter_options_available")});const w=(d.length>Uf||d.some(y=>y.label.length>24))&&!f;return g("div",{class:"pointer-fine:px-4",children:g("ul",{style:{"--maxHeight":`${zf*(Vf+.5)+2*Wf}px`},class:rs({type:w?"long":"short"}),children:Kf(_,t.sortSuggestions).map(y=>{const k=h.includes(y.value);return g("li",{class:os({type:w?"line":"pill"}),children:g("button",{type:"button",disabled:y.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(e.select){case"many":{const S=qf(h,y.value);o({select:"many",value:S});break}case"one":o({select:"one",value:y.value});break;default:we(e)}},class:w?as({active:k,disabled:y.disabled}):Oe({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:y.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:y.label})," ",g(Yf,{colorScheme:k?"accentStrong":"neutralStrong",children:y.results})]})},y.value)})})})}default:we(a)}})(),g("footer",{class:"flex justify-end p-2",children:[g("div",{class:"flex-1",children:c&&g("button",{type:"button",class:Ke({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[g(de,{"aria-hidden":!0,name:"x"})," ",s("clear")]})}),e.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:[h.length," ",s("selected")]})}),g("div",{class:"flex-1",children:g("button",{type:"button",class:Ke({variant:c?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[s(c?"done":"skip")," ",g(de,{name:"chevron-right"})]},c?"done":"skip")})]})]})};function ss(e,t){for(var n in t)e[n]=t[n];return e}function _o(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function mo(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function nr(e){this.props=e}function cs(e,t){function n(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:_o(this.props,o)}function r(o){return this.shouldComponentUpdate=n,te(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(nr.prototype=new $e).isPureReactComponent=!0,nr.prototype.shouldComponentUpdate=function(e,t){return _o(this.props,e)||_o(this.state,t)};var ls=A.__b;A.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ls&&ls(e)};var Jf=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function wo(e){function t(n){var r=ss({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Jf,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var us=function(e,t){return e==null?null:We(We(e).map(t))},ds={map:us,forEach:us,count:function(e){return e?We(e).length:0},only:function(e){var t=We(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:We},Qf=A.__e;A.__e=function(e,t,n,r){if(e.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Qf(e,t,n,r)};var fs=A.unmount;function ps(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=ss({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return ps(r,t,n)})),e}function hs(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return hs(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function jn(){this.__u=0,this.t=null,this.__b=null}function vs(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function gs(e){var t,n,r;function o(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return te(n,a)}return o.displayName="Lazy",o.__f=!0,o}function qt(){this.u=null,this.o=null}A.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),fs&&fs(e)},(jn.prototype=new $e).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=vs(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 u=r.state.__a;r.__v.__k[0]=hs(u,u.__c.__P,u.__c.__O)}var h;for(r.setState({__a:r.__b=null});h=r.t.pop();)h.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},jn.prototype.componentWillUnmount=function(){this.t=[]},jn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=ps(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&te(F,null,e.fallback);return o&&(o.__h=null),[te(F,null,t.__a?null:e.children),o]};var _s=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function ep(e){return this.getChildContext=function(){return e.context},e.children}function tp(e){var t=this,n=e.i;t.componentWillUnmount=function(){Ut(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Ut(te(ep,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function ms(e,t){var n=te(tp,{__v:e,i:t});return n.containerInfo=t,n}(qt.prototype=new $e).__a=function(e){var t=this,n=vs(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),_s(t,e,r)):o()};n?n(a):a()}},qt.prototype.render=function(e){this.u=null,this.o=new Map;var t=We(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},qt.prototype.componentDidUpdate=qt.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){_s(e,n,t)})};var ws=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,np=/^(?: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]/,rp=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,op=/[A-Z0-9]/g,ap=typeof document<"u",ip=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function ys(e,t,n){return t.__k==null&&(t.textContent=""),Ut(e,t),typeof n=="function"&&n(),e?e.__c:null}function bs(e,t,n){return Jr(e,t),typeof n=="function"&&n(),e?e.__c:null}$e.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty($e.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var xs=A.event;function sp(){}function cp(){return this.cancelBubble}function lp(){return this.defaultPrevented}A.event=function(e){return xs&&(e=xs(e)),e.persist=sp,e.isPropagationStopped=cp,e.isDefaultPrevented=lp,e.nativeEvent=e};var yo,up={enumerable:!1,configurable:!0,get:function(){return this.class}},ks=A.vnode;A.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var a in n){var i=n[a];if(!(a==="value"&&"defaultValue"in n&&i==null||ap&&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"||ip(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":rp.test(a)?a=s:r.indexOf("-")===-1&&np.test(a)?a=a.replace(op,"-$&").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=We(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=We(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",up)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=ws,ks&&ks(e)};var js=A.__r;A.__r=function(e){js&&js(e),yo=e.__c};var $s=A.diffed;A.diffed=function(e){$s&&$s(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),yo=null};var Ss={ReactCurrentDispatcher:{current:{readContext:function(e){return yo.__n[e.__c].props.value}}}},dp="17.0.2";function Es(e){return te.bind(null,e)}function bo(e){return!!e&&e.$$typeof===ws}function Cs(e){return bo(e)?Ku.apply(null,arguments):e}function As(e){return!!e.__k&&(Ut(null,e),!0)}function Os(e){return e&&(e.base||e.nodeType===1&&e)||null}var Ts=function(e,t){return e(t)},Ps=function(e,t){return e(t)},Rs=F;function xo(e){e()}function Ds(e){return e}function Ns(){return[!1,xo]}var Ls=Ot;function Is(e,t){var n=t(),r=z({h:{__:n,v:t}}),o=r[0].h,a=r[1];return Ot(function(){o.__=n,o.v=t,mo(o.__,t())||a({h:o})},[e,n,t]),re(function(){return mo(o.__,o.v())||a({h:o}),e(function(){mo(o.__,o.v())||a({h:o})})},[e]),n}var rr={useState:z,useId:po,useReducer:uo,useEffect:re,useLayoutEffect:Ot,useInsertionEffect:Ls,useTransition:Ns,useDeferredValue:Ds,useSyncExternalStore:Is,startTransition:xo,useRef:_e,useImperativeHandle:qi,useMemo:Ie,useCallback:ht,useContext:er,useDebugValue:fo,version:"17.0.2",Children:ds,render:ys,hydrate:bs,unmountComponentAtNode:As,createPortal:ms,createElement:te,createContext:Yn,createFactory:Es,cloneElement:Cs,createRef:Qa,Fragment:F,isValidElement:bo,findDOMNode:Os,Component:$e,PureComponent:nr,memo:cs,forwardRef:wo,flushSync:Ps,unstable_batchedUpdates:Ts,StrictMode:Rs,Suspense:jn,SuspenseList:qt,lazy:gs,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ss};const fp=Object.freeze(Object.defineProperty({__proto__:null,Children:ds,Component:$e,Fragment:F,PureComponent:nr,StrictMode:Rs,Suspense:jn,SuspenseList:qt,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ss,cloneElement:Cs,createContext:Yn,createElement:te,createFactory:Es,createPortal:ms,createRef:Qa,default:rr,findDOMNode:Os,flushSync:Ps,forwardRef:wo,hydrate:bs,isValidElement:bo,lazy:gs,memo:cs,render:ys,startTransition:xo,unmountComponentAtNode:As,unstable_batchedUpdates:Ts,useCallback:ht,useContext:er,useDebugValue:fo,useDeferredValue:Ds,useEffect:re,useErrorBoundary:yf,useId:po,useImperativeHandle:qi,useInsertionEffect:Ls,useLayoutEffect:Ot,useMemo:Ie,useReducer:uo,useRef:_e,useState:z,useSyncExternalStore:Is,useTransition:Ns,version:dp},Symbol.toStringTag,{value:"Module"}));var ko={exports:{}},jo={};const Ms=yd(fp);/**
|
|
2
2
|
* @license React
|
|
3
3
|
* use-sync-external-store-shim.production.min.js
|
|
4
4
|
*
|
|
@@ -6,7 +6,7 @@ var by=Object.defineProperty;var xy=(ye,je,St)=>je in ye?by(ye,je,{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
|
|
9
|
+
*/var Fs;function pp(){if(Fs)return jo;Fs=1;var e=Ms;function t(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,o=e.useEffect,a=e.useLayoutEffect,i=e.useDebugValue;function s(c,p){var v=p(),f=r({inst:{value:v,getSnapshot:p}}),d=f[0].inst,m=f[1];return a(function(){d.value=v,d.getSnapshot=p,l(d)&&m({inst:d})},[c,v,p]),o(function(){return l(d)&&m({inst:d}),c(function(){l(d)&&m({inst:d})})},[c]),i(v),v}function l(c){var p=c.getSnapshot;c=c.value;try{var v=p();return!n(c,v)}catch{return!0}}function u(c,p){return p()}var h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:s;return jo.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h,jo}var $o={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* use-sync-external-store-shim.development.js
|
|
12
12
|
*
|
|
@@ -14,12 +14,12 @@ var by=Object.defineProperty;var xy=(ye,je,St)=>je in ye?by(ye,je,{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 cc;function Mf(){return cc||(cc=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=ac,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(x){{for(var b=arguments.length,y=new Array(b>1?b-1:0),k=1;k<b;k++)y[k-1]=arguments[k];r("error",x,y)}}function r(x,b,y){{var k=t.ReactDebugCurrentFrame,C=k.getStackAddendum();C!==""&&(b+="%s",y=y.concat([C]));var $=y.map(function(O){return String(O)});$.unshift("Warning: "+b),Function.prototype.apply.call(console[x],console,$)}}function o(x,b){return x===b&&(x!==0||1/x===1/b)||x!==x&&b!==b}var i=typeof Object.is=="function"?Object.is:o,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,f=!1,c=!1;function p(x,b,y){f||e.startTransition!==void 0&&(f=!0,n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var k=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}}),O=$[0].inst,j=$[1];return l(function(){O.value=k,O.getSnapshot=b,d(O)&&j({inst:O})},[x,k,b]),s(function(){d(O)&&j({inst:O});var D=function(){d(O)&&j({inst:O})};return x(D)},[x]),u(k),k}function d(x){var b=x.getSnapshot,y=x.value;try{var k=b();return!i(y,k)}catch{return!0}}function v(x,b,y){return b()}var h=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",g=!h,_=g?v:p,m=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;Fo.useSyncExternalStore=m,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Fo}process.env.NODE_ENV==="production"?Mo.exports=Lf():Mo.exports=Mf();var If=Mo.exports;const _t=()=>{},me=_t(),Ho=Object,H=e=>e===me,Fe=e=>typeof e=="function",gt=(e,t)=>({...e,...t}),Ff=e=>Fe(e.then),vr=new WeakMap;let Hf=0;const Pn=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(Ho(e)===e&&!r&&n!=RegExp){if(o=vr.get(e),o)return o;if(o=++Hf+"~",vr.set(e,o),n==Array){for(o="@",i=0;i<e.length;i++)o+=Pn(e[i])+",";vr.set(e,o)}if(n==Ho){o="#";const a=Ho.keys(e).sort();for(;!H(i=a.pop());)H(e[i])||(o+=i+":"+Pn(e[i])+",");vr.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},Ge=new WeakMap,Uo={},_r={},Vo="undefined",gr=typeof window!=Vo,zo=typeof document!=Vo,Uf=()=>gr&&typeof window.requestAnimationFrame!=Vo,lc=(e,t)=>{const n=Ge.get(e);return[()=>!H(t)&&e.get(t)||Uo,r=>{if(!H(t)){const o=e.get(t);t in _r||(_r[t]=o),n[5](t,gt(o,r),o||Uo)}},n[6],()=>!H(t)&&t in _r?_r[t]:!H(t)&&e.get(t)||Uo]};let Wo=!0;const Vf=()=>Wo,[Bo,Yo]=gr&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[_t,_t],zf=()=>{const e=zo&&document.visibilityState;return H(e)||e!=="hidden"},Wf=e=>(zo&&document.addEventListener("visibilitychange",e),Bo("focus",e),()=>{zo&&document.removeEventListener("visibilitychange",e),Yo("focus",e)}),Bf=e=>{const t=()=>{Wo=!0,e()},n=()=>{Wo=!1};return Bo("online",t),Bo("offline",n),()=>{Yo("online",t),Yo("offline",n)}},Yf={isOnline:Vf,isVisible:zf},Kf={initFocus:Wf,initReconnect:Bf},uc=!pr.useId,Rn=!gr||"Deno"in window,qf=e=>Uf()?window.requestAnimationFrame(e):setTimeout(e,1),Ko=Rn?we:pt,qo=typeof navigator<"u"&&navigator.connection,dc=!Rn&&qo&&(["slow-2g","2g"].includes(qo.effectiveType)||qo.saveData),Go=e=>{if(Fe(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Pn(e):"",[e,t]};let Gf=0;const Xo=()=>++Gf,fc=0,pc=1,hc=2;var Dn={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:fc,MUTATE_EVENT:hc,RECONNECT_EVENT:pc};async function vc(...e){const[t,n,r,o]=e,i=gt({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(Fe(n)){const p=n,d=[],v=t.keys();for(const h of v)!/^\$(inf|sub)\$/.test(h)&&p(t.get(h)._k)&&d.push(h);return Promise.all(d.map(c))}return c(n);async function c(p){const[d]=Go(p);if(!d)return;const[v,h]=lc(t,d),[g,_,m,x]=Ge.get(t),b=()=>{const L=g[d];return(Fe(i.revalidate)?i.revalidate(v().data,p):i.revalidate!==!1)&&(delete m[d],delete x[d],L&&L[0])?L[0](hc).then(()=>v().data):v().data};if(e.length<3)return b();let y=r,k;const C=Xo();_[d]=[C,0];const $=!H(l),O=v(),j=O.data,D=O._c,I=H(D)?j:D;if($&&(l=Fe(l)?l(I,j):l,h({data:l,_c:I})),Fe(y))try{y=y(I)}catch(L){k=L}if(y&&Ff(y))if(y=await y.catch(L=>{k=L}),C!==_[d][0]){if(k)throw k;return y}else k&&$&&u(k)&&(a=!0,h({data:I,_c:me}));if(a&&!k)if(Fe(a)){const L=a(y,I);h({data:L,error:me,_c:me})}else h({data:y,error:me,_c:me});if(_[d][1]=Xo(),Promise.resolve(b()).then(()=>{h({_c:me})}),k){if(f)throw k;return}return y}}const _c=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Xf=(e,t)=>{if(!Ge.has(e)){const n=gt(Kf,t),r={},o=vc.bind(me,e);let i=_t;const a={},s=(f,c)=>{const p=a[f]||[];return a[f]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(f,c,p)=>{e.set(f,c);const d=a[f];if(d)for(const v of d)v(c,p)},u=()=>{if(!Ge.has(e)&&(Ge.set(e,[r,{},{},{},o,l,s]),!Rn)){const f=n.initFocus(setTimeout.bind(me,_c.bind(me,r,fc))),c=n.initReconnect(setTimeout.bind(me,_c.bind(me,r,pc)));i=()=>{f&&f(),c&&c(),Ge.delete(e)}}};return u(),[e,o,u,i]}return[e,Ge.get(e)[4]]},Zf=(e,t,n,r,o)=>{const i=n.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*n.errorRetryInterval;!H(i)&&a>i||setTimeout(r,s,o)},Jf=(e,t)=>Pn(e)==Pn(t),[gc,Qf]=Xf(new Map),ep=gt({onLoadingSlow:_t,onSuccess:_t,onError:_t,onErrorRetry:Zf,onDiscarded:_t,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:dc?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:dc?5e3:3e3,compare:Jf,isPaused:()=>!1,cache:gc,mutate:Qf,fallback:{}},Yf),tp=(e,t)=>{const n=gt(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:a}=t;r&&i&&(n.use=r.concat(i)),o&&a&&(n.fallback=gt(o,a))}return n},np=nr({}),rp="$inf$",wc=gr&&window.__SWR_DEVTOOLS_USE__,op=wc?window.__SWR_DEVTOOLS_USE__:[],ip=()=>{wc&&(window.__SWR_DEVTOOLS_REACT__=pr)},ap=e=>Fe(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],sp=()=>gt(ep,jn(np)),cp=e=>(t,n,r)=>e(t,n&&((...i)=>{const[a]=Go(t),[,,,s]=Ge.get(gc);if(a.startsWith(rp))return n(...i);const l=s[a];return H(l)?n(...i):(delete s[a],l)}),r),lp=op.concat(cp),up=e=>function(...n){const r=sp(),[o,i,a]=ap(n),s=tp(r,a);let l=e;const{use:u}=s,f=(u||[]).concat(lp);for(let c=f.length;c--;)l=f[c](l);return l(o,i||s.fetcher||null,s)},dp=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};ip();const mc=pr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Zo={dedupe:!0},Jo=up((e,t,n)=>{const{cache:r,compare:o,suspense:i,fallbackData:a,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:f,refreshWhenOffline:c,keepPreviousData:p}=n,[d,v,h,g]=Ge.get(r),[_,m]=Go(e),x=Ee(!1),b=Ee(!1),y=Ee(_),k=Ee(t),C=Ee(n),$=()=>C.current,O=()=>$().isVisible()&&$().isOnline(),[j,D,I,L]=lc(r,_),N=Ee({}).current,M=H(a)?n.fallback[_]:a,S=(G,X)=>{for(const de in N){const Z=de;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(at,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},E=Te(()=>{const G=(()=>!_||!t?!1:H(s)?$().isPaused()||i?!1:H(l)?!0:l:s)(),X=ve=>{const Ne=gt(ve);return delete Ne._k,G?{isValidating:!0,isLoading:!0,...Ne}:Ne},de=j(),Z=L(),$e=X(de),jt=de===Z?$e:X(Z);let ce=$e;return[()=>{const ve=X(j());return S(ve,ce)?(ce.data=ve.data,ce.isLoading=ve.isLoading,ce.isValidating=ve.isValidating,ce.error=ve.error,ce):(ce=ve,ve)},()=>jt]},[r,_]),U=If.useSyncExternalStore(ht(G=>I(_,(X,de)=>{S(de,X)||G()}),[r,_]),E[0],E[1]),z=!x.current,q=d[_]&&d[_].length>0,se=U.data,ue=H(se)?M:se,Ut=U.error,Xr=Ee(ue),at=p?H(se)?Xr.current:se:ue,st=(()=>q&&!H(Ut)?!1:z&&!H(s)?s:$().isPaused()?!1:i?H(ue)?!1:l:H(ue)||l)(),Jn=!!(_&&t&&z&&st),va=H(U.isValidating)?Jn:U.isValidating,wn=H(U.isLoading)?Jn:U.isLoading,Vt=ht(async G=>{const X=k.current;if(!_||!X||b.current||$().isPaused())return!1;let de,Z,$e=!0;const jt=G||{},ce=!h[_]||!jt.dedupe,ve=()=>uc?!b.current&&_===y.current&&x.current:_===y.current,Ne={isValidating:!1,isLoading:!1},zt=()=>{D(Ne)},cd=()=>{const Ae=h[_];Ae&&Ae[1]===Z&&delete h[_]},ld={isValidating:!0};H(j().data)&&(ld.isLoading=!0);try{if(ce&&(D(ld),n.loadingTimeout&&H(j().data)&&setTimeout(()=>{$e&&ve()&&$().onLoadingSlow(_,n)},n.loadingTimeout),h[_]=[X(m),Xo()]),[de,Z]=h[_],de=await de,ce&&setTimeout(cd,n.dedupingInterval),!h[_]||h[_][1]!==Z)return ce&&ve()&&$().onDiscarded(_),!1;Ne.error=me;const Ae=v[_];if(!H(Ae)&&(Z<=Ae[0]||Z<=Ae[1]||Ae[1]===0))return zt(),ce&&ve()&&$().onDiscarded(_),!1;const ct=j().data;Ne.data=o(ct,de)?ct:de,ce&&ve()&&$().onSuccess(de,_,n)}catch(Ae){cd();const ct=$(),{shouldRetryOnError:_a}=ct;ct.isPaused()||(Ne.error=Ae,ce&&ve()&&(ct.onError(Ae,_,ct),(_a===!0||Fe(_a)&&_a(Ae))&&(!$().revalidateOnFocus||!$().revalidateOnReconnect||O())&&ct.onErrorRetry(Ae,_,ct,yy=>{const ga=d[_];ga&&ga[0]&&ga[0](Dn.ERROR_REVALIDATE_EVENT,yy)},{retryCount:(jt.retryCount||0)+1,dedupe:!0})))}return $e=!1,zt(),!0},[_,r]),Zr=ht((...G)=>vc(r,y.current,...G),[]);if(Ko(()=>{k.current=t,C.current=n,H(se)||(Xr.current=se)}),Ko(()=>{if(!_)return;const G=Vt.bind(me,Zo);let X=0;const Z=dp(_,d,($e,jt={})=>{if($e==Dn.FOCUS_EVENT){const ce=Date.now();$().revalidateOnFocus&&ce>X&&O()&&(X=ce+$().focusThrottleInterval,G())}else if($e==Dn.RECONNECT_EVENT)$().revalidateOnReconnect&&O()&&G();else{if($e==Dn.MUTATE_EVENT)return Vt();if($e==Dn.ERROR_REVALIDATE_EVENT)return Vt(jt)}});return b.current=!1,y.current=_,x.current=!0,D({_k:m}),st&&(H(ue)||Rn?G():qf(G)),()=>{b.current=!0,Z()}},[_]),Ko(()=>{let G;function X(){const Z=Fe(u)?u(j().data):u;Z&&G!==-1&&(G=setTimeout(de,Z))}function de(){!j().error&&(f||$().isVisible())&&(c||$().isOnline())?Vt(Zo).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,f,c,_]),sr(at),i&&H(ue)&&_){if(!uc&&Rn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,C.current=n,b.current=!1;const G=g[_];if(!H(G)){const X=Zr(G);mc(X)}if(H(Ut)){const X=Vt(Zo);H(at)||(X.status="fulfilled",X.value=!0),mc(X)}else throw Ut}return{mutate:Zr,get data(){return N.data=!0,at},get error(){return N.error=!0,Ut},get isValidating(){return N.isValidating=!0,va},get isLoading(){return N.isLoading=!0,wn}}}),Xe=Pe({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}}),fp=({query:e,property:t,selectedValues:n})=>{switch(e.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const o=(e.data[t.key]??[]).filter(i=>n.includes(i.value));switch(o.length){case 0:return null;case 1:{const i=o[0];return je(i),w("span",{class:Xe({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:i.label})}default:return w("span",{class:Xe({size:"sm",variant:"accentStrong",interactive:!0,class:"ijs-filter-current max-w-full truncate tabular-nums"}),children:o.length})}}default:ye(e)}},pp=44,hp=6,vp=12,_p=8,yc=Pe({base:"fr bg-lowest caret-accent-11 placeholder:text-neutral-10 ring-width-section ease-expo-out duration-snappy transition-all rounded-input font-style-input text-style-input font-weight-input",variants:{hasValue:{false:"text-copy-neutral ring-job-card-stroke",true:"text-copy-accent-icon ring-accent-10"},size:{md:"py-2 px-4",unsized:""}},defaultVariants:{size:"md",hasValue:!1}}),gp=Pe({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"}}),wp=Pe({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"}}}),mp=Pe({base:"cursor-pointer flex fr gap-2 font-style-tag group-[&:first-child]/tag:rounded-t-tag group-[&:last-child]/tag:rounded-b-tag ease-expo-out transition-colors duration-snappy py-2.5 px-2.5 font-family-tag font-weight-tag text-style-tag focus:relative w-full justify-between",variants:{active:{true:"bg-accent-2 text-accent-11",false:"text-neutral-11"},disabled:{true:"opacity-25 pointer-events-none",false:""}},compoundVariants:[{disabled:!1,active:!1,class:"hover:bg-neutral-2"}],defaultVariants:{disabled:!1,active:!1}}),yp=Pe({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"}}}),bp=({children:e,colorScheme:t})=>w("span",{class:yp({colorScheme:t}),children:w("span",{class:"block w-[3ch] text-center tabular-nums",children:e})}),xp=(e,t)=>{const n=e.indexOf(t);return n===-1?[...e,t]:e.filter((r,o)=>o!==n)},bc=e=>{var n;const t=Number((n=e.match(/\d/g))==null?void 0:n.join(""));return isNaN(t)?0:t},kp=(e,t={by:"results-count",order:"descending"})=>{const n=[...e];switch(t.by){case"results-count":n.sort((r,o)=>r.jobs-o.jobs);break;case"alphabetically":n.sort((r,o)=>r.label.localeCompare(o.label));break;case"numerically":n.sort((r,o)=>{const i=bc(r.value),a=bc(o.value);return i-a});break}return t.order==="descending"&&n.reverse(),n},$p=(e,t)=>{if(e===null)return!1;const n=e[t.value];return n===void 0?!0:n===0},jp=(e,t)=>{const n=r=>r>99?"99+":r.toString();return n(e===null?t.jobs:e[t.value]??0)},Sp=({value:e,property:t,onSkip:n,useQuery:r,onValueChange:o,unfilteredQuery:i,onRender:a})=>{const{t:s}=Ke(),l=vo(r()),u=Te(()=>{switch(l.state){case"error":case"loading":return null;case"loaded":case"revalidating":{const h=l.data[t.key]??[];return Object.fromEntries(h.map(g=>[g.value,g.jobs]))}default:ye(l)}},[l,t.key]),f=kc(e),c=f.length>0,[p,d]=ge(),v=vf("(pointer: coarse)");return we(()=>{a()}),l.state==="error"?w(vt,{error:new Error(s("filters_loading_error"),{cause:l.error}),resetError:()=>l.swr.mutate()}):w("div",{class:"animate-slide-in-bottom flex w-full flex-col gap-2 pt-1",children:[t.searchable&&w("div",{class:"top-0 px-4 py-1",children:w("input",{type:"search",class:yc(),value:p,onInput:h=>d(h.currentTarget.value),placeholder:s("type_to_search")})}),(()=>{switch(i.state){case"error":return w(vt,{error:new Error(s("filters_loading_error"),{cause:i.error}),resetError:()=>i.swr.mutate()});case"loading":return w("div",{class:"flex px-4",children:w("div",{"aria-hidden":!0,class:Xe({size:"lg",variant:"neutralStrong",interactive:!0,class:"animate-skeleton cursor-default opacity-20 active:-scale-100"}),children:w("span",{class:"inline-block w-[10ch]"})})});case"revalidating":case"loaded":{const h=i.data[t.key]??[],g=p&&p.length>1?h.filter(y=>y.label.toLowerCase().includes(p.toLowerCase())):h,_=[];for(const y of g){if(y.label.length<1)continue;const k={...y,results:jp(u,y),disabled:$p(u,y)};switch(t.results){case"only-available":k.disabled==!1&&_.push(k);break;default:_.push(k)}}if(!_.find(y=>!y.disabled))return w("p",{class:"font-style-tag text-style-tag font-weight-tag border-px w-full border-transparent px-4 py-2 text-center",children:s("no_filter_options_available")});const b=(h.length>vp||h.some(y=>y.label.length>24))&&!v;return w("div",{class:"pointer-fine:px-4",children:w("ul",{style:{"--maxHeight":pp*(hp+.5)+2*_p+"px"},class:gp({type:b?"long":"short"}),children:kp(_,t.sortSuggestions).map(y=>{const k=f.includes(y.value);return w("li",{class:wp({type:b?"line":"pill"}),children:w("button",{disabled:y.disabled,"data-filter":!0,"data-current-value":k?"true":void 0,onClick:()=>{switch(e.select){case"many":{const C=xp(f,y.value);o({select:"many",value:C});break}case"one":o({select:"one",value:y.value});break;default:ye(e)}},class:b?mp({active:k,disabled:y.disabled}):Xe({size:"lg",variant:k?"accentStrong":"neutralStrong",interactive:!0,disabled:y.disabled,class:"ijs-filter-tag flex max-w-full gap-3 overflow-hidden pr-2.5"}),children:[w("span",{class:"max-w-full truncate",children:y.label})," ",w(bp,{colorScheme:k?"accentStrong":"neutralStrong",children:y.results})]})},y.value)})})})}default:ye(i)}})(),w("footer",{class:"flex justify-end p-2",children:[w("div",{class:"flex-1",children:c&&w("button",{class:Sn({variant:"neutral",icon:"left"}),onClick:()=>{o(void 0)},children:[w(qe,{"aria-hidden":!0,name:"x"})," ",s("clear")]})}),e.select==="many"&&w("div",{class:"flex items-center overflow-hidden",children:w("p",{class:"font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center",children:[f.length," ",s("selected")]})}),w("div",{class:"flex-1",children:w("button",{class:Sn({variant:c?"accent":"neutral",icon:"right",class:"ml-auto"}),onClick:n,children:[s(c?"done":"skip")," ",w(qe,{name:"chevron-right"})]},c?"done":"skip")})]})]})},xc={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"},Ep=Pe({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"}}}),Cp=Pe({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"}}}),Op=Pe({base:"flex-none text-copy-neutral-icon pointer-fine:group-hover:text-copy-neutral duration-snappy ease-expo-out"}),Ap=e=>{const t=Ee(null),[n,r]=ge(0),o=()=>{var i;return r(((i=t.current)==null?void 0:i.clientHeight)??0)};return pt(()=>(o(),window.addEventListener("resize",o),()=>window.removeEventListener("resize",o)),e),{height:n,ref:t,updateHeight:o}},kc=e=>typeof e.value=="string"?[e.value]:e.value??[],Tp=({active:e,value:t,onActiveChange:n,property:r,onSkip:o,onValueChange:i,unfilteredQuery:a,useQuery:s})=>{const l=St(r.key,xc)?xc[r.key]:void 0,u=r.icon??l??"filter",f=kc(t),{height:c,ref:p,updateHeight:d}=Ap([e]),v=f.length>0;return w("section",{"data-filter-key":r.key,"aria-label":r.label,"aria-selected":e?"true":void 0,class:Ep({hasValue:v}),onTouchStart:Pp,children:[w("div",{class:"min-w-0 max-w-full shrink-0 flex-grow",children:[w("button",{"aria-label":e?"Close filter":"Open filter",class:Cp({state:e?"active":v?"filled":"default",class:"ijs-filter-heading rounded-section fr-child flex w-full cursor-pointer select-none items-center gap-2 py-4 pl-4"}),onClick:()=>n(!e),children:[w(qe,{"aria-hidden":!0,class:"flex-none",name:u}),w("p",{children:r.label})]}),w("div",{class:"ease-expo-out duration-snappy relative overflow-hidden transition-all",style:{height:c},children:w("div",{class:"w-full",ref:p,children:e&&w(Sp,{useQuery:s,onRender:d,onSkip:o,onValueChange:i,unfilteredQuery:a,property:r,value:t})})})]}),!e&&w("button",{tabIndex:-1,class:"fr-child flex flex-shrink flex-grow cursor-pointer select-none items-center justify-end gap-2 overflow-hidden pl-2 pr-3 focus:outline-none",onClick:()=>n(!0),children:[w("div",{"aria-label":"Current value",class:"flex max-w-full gap-1 overflow-hidden",children:w(fp,{property:r,query:a,selectedValues:f})}),w(qe,{"aria-hidden":!0,class:Op(),name:"chevron-right"})]})]})};function Pp(){}const Rp=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(i=>{var a,s;switch(e.select){case"many":(a=e.value)!=null&&a.includes(i)||(s=e.value)==null||s.push(i);break;case"one":e.value=i}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},Dp=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var i,a,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(d=>d.key===e.key),u=l!==-1?(i=r[l+1])==null?void 0:i.key:void 0,c=(u?((a=o[u])==null?void 0:a.value)!==void 0:!1)?void 0:u;return((s=o[e.key])==null?void 0:s.value)==t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:ye(t)}},Np=({properties:e,appliedFilters:t,onFilterValueChange:n,apiClient:r,logger:o})=>{var c;const{t:i}=Ke(),[a,s]=ge((c=e[0])==null?void 0:c.key),l=Te(()=>ai(e,"value"),[e]),u=vo(Jo(dr({filter:l,baseKey:"filters",keyword:void 0}),()=>as({apiClient:r,logger:o,filters:l,keyword:void 0}),_o)),f=ht(p=>()=>{const d={...t,[p]:l[p]};return Jo(dr({filter:d,baseKey:"filters",keyword:Rt.keyword$.value}),()=>as({apiClient:r,logger:o,filters:d,keyword:Rt.keyword$.value}),_o)},[r,t,l,o]);return u.state==="error"?w(vt,{error:new Error(i("filters_loading_error"),{cause:u.error}),resetError:()=>u.swr.mutate()}):w("aside",{children:w("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const d=a===p.key,v=t[p.key]??{select:p.select,value:void 0},h=l[p.key];h&&Rp(v,h);const g=x=>{const{newActiveKey:b,newValue:y}=Dp({property:p,activeKey:a,value:x??h,properties:e,appliedFilters:t});return s(b),n(p.key,y)},_=x=>s(x?p.key:void 0),m=f(p.key);return w(En,{Fallback:vt,children:w(Tp,{unfilteredQuery:u,active:d,property:p,onActiveChange:_,value:v,onSkip:()=>{var y;const x=e.findIndex(k=>k.key===a),b=x!==-1?(y=e[x+1])==null?void 0:y.key:void 0;s(b)},useQuery:m,onValueChange:g})},p.key)})})})},Lp=2,Mp=({onKeywordChange:e})=>{const{keyword$:t}=Rt,[n,r]=ge(t.value??""),o=n!==""&&n===t.value,{t:i}=Ke();return we(()=>{let a=n.trim();if(a.length<=Lp&&(a=null),a===null){t.value="";return}const s=setTimeout(()=>{t.value=a},300);return()=>clearTimeout(s)},[n,t,e]),w("div",{class:"mb-2 flex flex-col gap-3 px-4 md:px-0",children:w("div",{class:"relative",children:[w("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[w(qe,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:ls({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),w("span",{class:"sr-only",children:"Keyword"})]}),w("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:yc({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:i("type_to_search_jobs"),value:n,onChange:a=>{r(a.currentTarget.value),e==null||e(a.currentTarget.value)}}),w("button",{class:Sn({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:w(qe,{name:"x"})})]})})};var Ip=Array.isArray,Qo=Ip,Fp=typeof hr=="object"&&hr&&hr.Object===Object&&hr,Hp=Fp,Up=Hp,Vp=typeof self=="object"&&self&&self.Object===Object&&self,zp=Up||Vp||Function("return this")(),ei=zp,Wp=ei,Bp=Wp.Symbol,ti=Bp,$c=ti,jc=Object.prototype,Yp=jc.hasOwnProperty,Kp=jc.toString,Nn=$c?$c.toStringTag:void 0;function qp(e){var t=Yp.call(e,Nn),n=e[Nn];try{e[Nn]=void 0;var r=!0}catch{}var o=Kp.call(e);return r&&(t?e[Nn]=n:delete e[Nn]),o}var Gp=qp,Xp=Object.prototype,Zp=Xp.toString;function Jp(e){return Zp.call(e)}var Qp=Jp,Sc=ti,eh=Gp,th=Qp,nh="[object Null]",rh="[object Undefined]",Ec=Sc?Sc.toStringTag:void 0;function oh(e){return e==null?e===void 0?rh:nh:Ec&&Ec in Object(e)?eh(e):th(e)}var Cc=oh;function ih(e){return e!=null&&typeof e=="object"}var ah=ih,sh=Cc,ch=ah,lh="[object Symbol]";function uh(e){return typeof e=="symbol"||ch(e)&&sh(e)==lh}var ni=uh,dh=Qo,fh=ni,ph=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,hh=/^\w*$/;function vh(e,t){if(dh(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||fh(e)?!0:hh.test(e)||!ph.test(e)||t!=null&&e in Object(t)}var _h=vh;function gh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Oc=gh,wh=Cc,mh=Oc,yh="[object AsyncFunction]",bh="[object Function]",xh="[object GeneratorFunction]",kh="[object Proxy]";function $h(e){if(!mh(e))return!1;var t=wh(e);return t==bh||t==xh||t==yh||t==kh}var jh=$h,Sh=ei,Eh=Sh["__core-js_shared__"],Ch=Eh,ri=Ch,Ac=function(){var e=/[^.]+$/.exec(ri&&ri.keys&&ri.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Oh(e){return!!Ac&&Ac in e}var Ah=Oh,Th=Function.prototype,Ph=Th.toString;function Rh(e){if(e!=null){try{return Ph.call(e)}catch{}try{return e+""}catch{}}return""}var Dh=Rh,Nh=jh,Lh=Ah,Mh=Oc,Ih=Dh,Fh=/[\\^$.*+?()[\]{}|]/g,Hh=/^\[object .+?Constructor\]$/,Uh=Function.prototype,Vh=Object.prototype,zh=Uh.toString,Wh=Vh.hasOwnProperty,Bh=RegExp("^"+zh.call(Wh).replace(Fh,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Yh(e){if(!Mh(e)||Lh(e))return!1;var t=Nh(e)?Bh:Hh;return t.test(Ih(e))}var Kh=Yh;function qh(e,t){return e==null?void 0:e[t]}var Gh=qh,Xh=Kh,Zh=Gh;function Jh(e,t){var n=Zh(e,t);return Xh(n)?n:void 0}var Tc=Jh,Qh=Tc,ev=Qh(Object,"create"),wr=ev,Pc=wr;function tv(){this.__data__=Pc?Pc(null):{},this.size=0}var nv=tv;function rv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ov=rv,iv=wr,av="__lodash_hash_undefined__",sv=Object.prototype,cv=sv.hasOwnProperty;function lv(e){var t=this.__data__;if(iv){var n=t[e];return n===av?void 0:n}return cv.call(t,e)?t[e]:void 0}var uv=lv,dv=wr,fv=Object.prototype,pv=fv.hasOwnProperty;function hv(e){var t=this.__data__;return dv?t[e]!==void 0:pv.call(t,e)}var vv=hv,_v=wr,gv="__lodash_hash_undefined__";function wv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=_v&&t===void 0?gv:t,this}var mv=wv,yv=nv,bv=ov,xv=uv,kv=vv,$v=mv;function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=yv,Zt.prototype.delete=bv,Zt.prototype.get=xv,Zt.prototype.has=kv,Zt.prototype.set=$v;var jv=Zt;function Sv(){this.__data__=[],this.size=0}var Ev=Sv;function Cv(e,t){return e===t||e!==e&&t!==t}var Ov=Cv,Av=Ov;function Tv(e,t){for(var n=e.length;n--;)if(Av(e[n][0],t))return n;return-1}var mr=Tv,Pv=mr,Rv=Array.prototype,Dv=Rv.splice;function Nv(e){var t=this.__data__,n=Pv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Dv.call(t,n,1),--this.size,!0}var Lv=Nv,Mv=mr;function Iv(e){var t=this.__data__,n=Mv(t,e);return n<0?void 0:t[n][1]}var Fv=Iv,Hv=mr;function Uv(e){return Hv(this.__data__,e)>-1}var Vv=Uv,zv=mr;function Wv(e,t){var n=this.__data__,r=zv(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var Bv=Wv,Yv=Ev,Kv=Lv,qv=Fv,Gv=Vv,Xv=Bv;function Jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Jt.prototype.clear=Yv,Jt.prototype.delete=Kv,Jt.prototype.get=qv,Jt.prototype.has=Gv,Jt.prototype.set=Xv;var Zv=Jt,Jv=Tc,Qv=ei,e_=Jv(Qv,"Map"),t_=e_,Rc=jv,n_=Zv,r_=t_;function o_(){this.size=0,this.__data__={hash:new Rc,map:new(r_||n_),string:new Rc}}var i_=o_;function a_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var s_=a_,c_=s_;function l_(e,t){var n=e.__data__;return c_(t)?n[typeof t=="string"?"string":"hash"]:n.map}var yr=l_,u_=yr;function d_(e){var t=u_(this,e).delete(e);return this.size-=t?1:0,t}var f_=d_,p_=yr;function h_(e){return p_(this,e).get(e)}var v_=h_,__=yr;function g_(e){return __(this,e).has(e)}var w_=g_,m_=yr;function y_(e,t){var n=m_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var b_=y_,x_=i_,k_=f_,$_=v_,j_=w_,S_=b_;function Qt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Qt.prototype.clear=x_,Qt.prototype.delete=k_,Qt.prototype.get=$_,Qt.prototype.has=j_,Qt.prototype.set=S_;var E_=Qt,Dc=E_,C_="Expected a function";function oi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(C_);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(oi.Cache||Dc),n}oi.Cache=Dc;var O_=oi,A_=O_,T_=500;function P_(e){var t=A_(e,function(r){return n.size===T_&&n.clear(),r}),n=t.cache;return t}var R_=P_,D_=R_,N_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,L_=/\\(\\)?/g,M_=D_(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(N_,function(n,r,o,i){t.push(o?i.replace(L_,"$1"):r||n)}),t}),I_=M_;function F_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var H_=F_,Nc=ti,U_=H_,V_=Qo,z_=ni,W_=1/0,Lc=Nc?Nc.prototype:void 0,Mc=Lc?Lc.toString:void 0;function Ic(e){if(typeof e=="string")return e;if(V_(e))return U_(e,Ic)+"";if(z_(e))return Mc?Mc.call(e):"";var t=e+"";return t=="0"&&1/e==-W_?"-0":t}var B_=Ic,Y_=B_;function K_(e){return e==null?"":Y_(e)}var q_=K_,G_=Qo,X_=_h,Z_=I_,J_=q_;function Q_(e,t){return G_(e)?e:X_(e,t)?[e]:Z_(J_(e))}var eg=Q_,tg=ni,ng=1/0;function rg(e){if(typeof e=="string"||tg(e))return e;var t=e+"";return t=="0"&&1/e==-ng?"-0":t}var og=rg,ig=eg,ag=og;function sg(e,t){t=ig(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[ag(t[n++])];return n&&n==r?e:void 0}var cg=sg,lg=cg;function ug(e,t,n){var r=e==null?void 0:lg(e,t);return r===void 0?n:r}var dg=ug;const fg=Df(dg),br=({chars:e})=>w("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),Fc=Pe({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}}),ii=({job:e,property:t})=>{if(!t)return null;const n=fg(e.raw,t.key);return t.transform?t.transform(n):n},pg=({job:e,config:t="hidden"})=>t==="hidden"?null:w("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?w("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),Hc=e=>Array.isArray(e)?e:[e],hg=1e3*60*60*24*7,vg=({job:e,config:t,onJobClick:n})=>{var p,d,v;const{t:r}=Ke(),o=t.subheading?ii({job:e,property:t.subheading}):null,i=t.infoTags.flatMap(h=>Hc(ii({job:e,property:h}))).filter(Boolean),a=Hc((p=t.overrides)!=null&&p.salary?ii({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),s=t.postedDate??"show",l=(d=t.overrides)!=null&&d.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,u=t.newUnderDays??7,f=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-u*hg:!1,c=h=>{var g,_;n==null||n(e),(_=(g=t.overrides)==null?void 0:g.onClick)==null||_.call(g,h)};return w("a",{onMouseEnter:(v=t.overrides)==null?void 0:v.onMouseEnter,onClick:c,href:l,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:Fc(),children:[w("div",{class:"flex min-w-0 flex-1 flex-col gap-4",children:[w("div",{class:"gap-logo flex items-center",children:[w(pg,{job:e,config:t.logo}),w("div",{class:"flex flex-col items-start gap-1",children:[w("div",{class:"order-2 flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading text-pretty",children:[e.title.trim(),f&&s!=="hide"&&w(F,{children:[" ",w("span",{"aria-hidden":!0,class:"ring-px ring-tag-accent-strong-bg rounded-job-card text-tag-accent-strong-bg font-weight-tag not-sr-only order-1 inline-block px-2 py-1 align-middle text-[10px] leading-none",children:r("new")})]})]}),o?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:o}):null]}),s==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:[r("posted")," ",e.relativePostedDate]}):null]})]}),w("div",{class:"flex min-w-0 flex-col items-start gap-2",children:[w("div",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:a.map((h,g)=>w("span",{class:Xe({variant:"monetaryWeak",size:"xs"}),children:h},g))}),i.length>0&&w("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:i.map(h=>w("li",{class:Xe({size:"xs",class:"max-w-full truncate"}),children:h},h))})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(qe,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},Uc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return w("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:Fc({interactive:!1}),children:[w("div",{class:"flex flex-1 flex-col gap-4",children:[w("div",{class:"flex items-center gap-4",children:[r==="hidden"?null:w("div",{class:"rounded-logo bg-copy-neutral h-12 opacity-25",style:{aspectRatio:r.replace(":","/")}}),w("div",{class:"flex flex-col items-start gap-1",children:[o==="show"?w("p",{class:"text-style-job-card-info text-copy-job-info",children:w(br,{chars:12})}):null,w("div",{class:"flex flex-col gap-1",children:[w("p",{class:"text-style-job-heading font-style-job-heading font-weight-job-heading text-copy-neutral font-family-job-heading",children:w(br,{chars:13+(n+5)*n%7})}),e.subheading!==null?w("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:w(br,{chars:7+n*n%3})}):null]})]})]}),w("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&w("span",{class:Xe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),w("div",{class:"flex items-center gap-2",children:[w("span",{class:Xe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),w("span",{class:Xe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),w("div",{"aria-hidden":!0,class:"flex items-center",children:w(qe,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},_g=({state:e,fetchNextPage:t,config:n,remainingItems:r})=>{const{t:o}=Ke(),i=Math.min(Tt,r);return e==="revalidating"?w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Tt}).map((a,s)=>w("li",{children:w(Uc,{seed:s,animationDelay:(s-4)*.1,config:n})},s))}):w("button",{class:Sn({variant:"neutral",class:"py-2"}),onClick:t,children:[o("load_more_count",{count:i})," ",o("of_remaining_count",{count:r})]})},gg=({appliedFilters:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a,onPaginate:s})=>{const[l,u]=ge(1);return w(F,{children:Array.from({length:l}).map((f,c)=>{const p=c===l-1;return w(En,{Fallback:vt,children:w(wg,{appliedFilters:e,apiClient:t,logger:n,page:c+1,isFirst:c===0,isLast:p,fetchNextPage:()=>{u(l+1),s(l+1)},jobCardConfig:r,initialData:o,onResultsUpdate:i,onJobClick:a},c)},c)})})},wg=({appliedFilters:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:i,fetchNextPage:a,jobCardConfig:s,initialData:l,onResultsUpdate:u,onJobClick:f})=>{const{t:c}=Ke(),p=r===1?l:void 0,{keyword$:d}=Rt,{data:v,error:h,state:g,swr:_}=vo(Jo(dr({filter:e,baseKey:r.toString(),keyword:d.value}),()=>ss({apiClient:t,logger:n,filters:e,page:r,keyword:d.value,t:c}),{..._o,fallbackData:p}));switch(we(()=>{v&&o&&u&&u({totalCount:v.pagination.total})},[v,o,u]),g){case"loading":return w(F,{children:[o&&w("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:w(br,{chars:8})}),w("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Tt}).map((m,x)=>w("li",{children:w(Uc,{seed:x,animationDelay:(x-Tt)*.1,config:s})},x))})]});case"error":return w(vt,{class:"-m-4",error:new Error(c("jobs_loading_error"),{cause:h}),resetError:()=>_.mutate()});case"revalidating":case"loaded":{if(je(v.pagination.current_page===r,"Received wrong page from server"),v.pagination.total===0)return w("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[w(qe,{"aria-hidden":!0,name:"magnifier",class:"text-copy-neutral-lowcontrast"}),w("div",{class:"flex flex-col items-center gap-1",children:[w("p",{class:"text-copy-neutral text-style-job-heading",children:c("no_jobs_found")}),w("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:c("no_jobs_found_description")})]})]});const m=v.pagination.last_page!==v.pagination.current_page,x=r*Tt,b=Math.max(v.pagination.total-x,0),y=k=>{f(k,r)};return w(F,{children:[o&&w("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:c("jobs_found",{count:v.pagination.total})}),w("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:v.results.map(k=>w("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:g==="revalidating"?.33:1},children:w(vg,{job:k,onJobClick:y,config:s})},k.id))}),m&&i&&w(_g,{state:g,fetchNextPage:a,config:s,remainingItems:b})]})}default:ye(g)}},ai=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],i=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:i};break}case"many":{const o=r[t],i=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:i};break}default:ye(r.select)}return n},{}),Vc=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=n==null?void 0:n.value;return[t,Array.isArray(r)?r:r?[r]:[]]}).filter(([,t])=>t!==void 0&&t.length>0)),mg=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:i,onFilterChange:a,onKeywordChange:s,params:l})=>{const u=Ee(null),f=ai(n,"defaultValue"),[c,p]=ge(()=>({default:!0,filters:f})),[d,v]=ge(0),{keyword$:h}=Rt,g=Vc(f),_=Vc(c.filters),m=ht((y=1)=>({query:h.value||void 0,filters:_,default_filters:g,total_count:d,page_size:Tt,page:y}),[h.value,_,g,d]);_f(u,{minViewTime:2e3,onView:()=>{o.log({event:"VIEW_SEARCH",properties:m()})}}),we(()=>{const y=window.setTimeout(()=>{c.default===!0&&!h.value||!h.value&&!Object.keys(_).length||d===0||o.log({event:"SEARCH_SETTLE",properties:m()})},5e3);return()=>{clearTimeout(y)}},[o,c.default,_,m,h.value,d]);const x=(y,k)=>{o.log({event:"SEARCH_JOB_CLICK",properties:{job_id:y.id,...m(k)}})},b=y=>{o.log({event:"SEARCH_PAGINATE",properties:m(y)})};return w("div",{ref:u,class:r,id:rs,children:w("div",{class:"ijs-app bg-app rounded-app font-family-default font-weight-default font-style-default mx-auto flex min-h-screen max-w-screen-lg flex-col gap-4 py-4 md:grid md:grid-cols-3 md:px-4",children:[w(En,{Fallback:vt,children:w("div",{class:"flex flex-col gap-2",children:[l.enableKeywordSearch&&w(Mp,{onKeywordChange:s}),w(Np,{appliedFilters:c.filters,onFilterValueChange:(y,k)=>{p(C=>(a==null||a({...C.filters,[y]:k}),{default:!1,filters:{...C.filters,[y]:k}}))},properties:n,logger:t,apiClient:e}),l.enableJobAlerts&&w("div",{class:"flex justify-center px-4 md:px-0",children:w(wf,{appliedFilters:c.filters,analytics:o,apiClient:e,logger:t,theme:l.theme})})]})}),w("div",{class:"md:col-span-2",children:w("section",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4",children:w(En,{Fallback:vt,children:w(gg,{appliedFilters:c.filters,logger:t,apiClient:e,jobCardConfig:l.jobCard,initialData:c.default?i==null?void 0:i.jobs:void 0,onResultsUpdate:y=>{v(y.totalCount)},onJobClick:x,onPaginate:b},dr({filter:c.filters,baseKey:"resultsSection",keyword:h.value}))})})})]})})},yg=`#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}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@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 .left-0{left: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 .mb-2{margin-bottom:.5rem}#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-\\[3ch\\]{width:3ch}#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-10{padding-left:2.5rem}#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-4{padding-right:1rem}#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-icon{color:var(--i-copy-accent-icon)}#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-accent-10{--tw-ring-color: var(--i-color-a-10)}#ijs .ring-job-card-stroke{--tw-ring-color: var(--i-job-card-stroke-color)}#ijs .ring-neutral-4{--tw-ring-color: var(--i-color-n-4)}#ijs .ring-neutral-5{--tw-ring-color: var(--i-color-n-5)}#ijs .ring-section-strong-stroke{--tw-ring-color: var(--i-section-strong-stroke-color)}#ijs .ring-section-weak-stroke{--tw-ring-color: var(--i-section-weak-stroke-color)}#ijs .ring-tag-accent-strong-bg{--tw-ring-color: var(--i-tag-accent-strong-bg)}#ijs .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .sepia{--tw-sepia: sepia(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}#ijs .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}#ijs .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-medium{transition-duration:.6s}#ijs .duration-slow{transition-duration:.9s}#ijs .duration-snappy{transition-duration:.4s}#ijs .ease-expo-out{transition-timing-function:cubic-bezier(.16,1,.3,1)}#ijs .will-change-\\[transform\\,opacity\\]{will-change:transform,opacity}#ijs .gutter-stable{scrollbar-gutter:stable}#ijs .font-style-default{font-style:var(--i-font-style)}#ijs .font-style-filter{font-style:var(--i-style-filter)}#ijs .font-style-input{font-style:var(--i-style-input)}#ijs .font-style-job-heading{font-style:var(--i-style-job-heading)}#ijs .font-style-tag{font-style:var(--i-style-tag)}#ijs .top-filters{top:var(--i-filters-offset-top)}#ijs .fr{outline:none}#ijs .fr:focus{outline:none}#ijs .fr:focus-visible{outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .fr-parent:has(.fr-child:focus-visible){outline:none;--tw-ring-offset-width: 1px;--tw-ring-offset-color: var(--i-color-lowest);--tw-ring-opacity: 1;--tw-ring-color: var(--i-color-a-9);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}#ijs .touch-hitbox:before{content:"";position:absolute;display:block;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-height:44px;min-width:44px;z-index:9999}#ijs .\\[-webkit-user-drag\\:none\\]{-webkit-user-drag:none}#ijs .\\[a-zA-Z0-9-_\\:\\.\\$\\@\\?\\]{a-z-a--z0-9-_:.$@?}#ijs .\\[text-wrap\\:balance\\]{text-wrap:balance}#ijs .\\[text-wrap\\:pretty\\]{text-wrap:pretty}#ijs .placeholder\\:text-neutral-10::-moz-placeholder{color:var(--i-color-n-10)}#ijs .placeholder\\:text-neutral-10::placeholder{color:var(--i-color-n-10)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-2\\)\\]:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-2);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:-webkit-autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .autofill\\:\\[-webkit-text-fill-color\\:var\\(--i-color-a-11\\)\\]:autofill{-webkit-text-fill-color:var(--i-color-a-11)}#ijs .focus-within\\:z-10:focus-within{z-index:10}#ijs .hover\\:scale-\\[1\\.02\\]:hover{--tw-scale-x: 1.02;--tw-scale-y: 1.02;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .focus\\:relative:focus{position:relative}#ijs .focus\\:shadow-\\[0_0_0_2px\\]:focus{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:-webkit-autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .autofill\\:focus\\:shadow-\\[inset_0_0_0_1000px_var\\(--i-color-a-1\\)\\]:focus:autofill{--tw-shadow: inset 0 0 0 1000px var(--i-color-a-1);--tw-shadow-colored: inset 0 0 0 1000px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}#ijs .active\\:-scale-100:active{--tw-scale-x: -1;--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-95:active{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[\\.97\\]:active{--tw-scale-x: .97;--tw-scale-y: .97;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:scale-\\[0\\.975\\]:active{--tw-scale-x: .975;--tw-scale-y: .975;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}#ijs .active\\:bg-accent-10:active{background-color:var(--i-color-a-10)}#ijs .active\\:bg-job-card-bg-active:active{background-color:var(--i-job-card-bg-active)}#ijs .active\\:ring-job-card-stroke-active:active{--tw-ring-color: var(--i-job-card-stroke-color-active)}#ijs .group\\/tag:first-child .group-\\[\\&\\:first-child\\]\\/tag\\:rounded-t-tag{border-top-left-radius:var(--i-radius-job-tag);border-top-right-radius:var(--i-radius-job-tag)}#ijs .group\\/tag:last-child .group-\\[\\&\\:last-child\\]\\/tag\\:rounded-b-tag{border-bottom-right-radius:var(--i-radius-job-tag);border-bottom-left-radius:var(--i-radius-job-tag)}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#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
|
|
17
|
+
*/var Hs;function hp(){return Hs||(Hs=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=Ms,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(x){{for(var w=arguments.length,y=new Array(w>1?w-1:0),k=1;k<w;k++)y[k-1]=arguments[k];r("error",x,y)}}function r(x,w,y){{var k=t.ReactDebugCurrentFrame,S=k.getStackAddendum();S!==""&&(w+="%s",y=y.concat([S]));var j=y.map(function($){return String($)});j.unshift("Warning: "+w),Function.prototype.apply.call(console[x],console,j)}}function o(x,w){return x===w&&(x!==0||1/x===1/w)||x!==x&&w!==w}var a=typeof Object.is=="function"?Object.is:o,i=e.useState,s=e.useEffect,l=e.useLayoutEffect,u=e.useDebugValue,h=!1,c=!1;function p(x,w,y){h||e.startTransition!==void 0&&(h=!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=w();if(!c){var S=w();a(k,S)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}var j=i({inst:{value:k,getSnapshot:w}}),$=j[0].inst,C=j[1];return l(function(){$.value=k,$.getSnapshot=w,v($)&&C({inst:$})},[x,k,w]),s(function(){v($)&&C({inst:$});var I=function(){v($)&&C({inst:$})};return x(I)},[x]),u(k),k}function v(x){var w=x.getSnapshot,y=x.value;try{var k=w();return!a(y,k)}catch{return!0}}function f(x,w,y){return w()}var d=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",m=!d,_=m?f:p,b=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:_;$o.useSyncExternalStore=b,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),$o}process.env.NODE_ENV==="production"?ko.exports=pp():ko.exports=hp();var vp=ko.exports;const vt=()=>{},me=vt(),So=Object,H=e=>e===me,Me=e=>typeof e=="function",gt=(e,t)=>({...e,...t}),gp=e=>Me(e.then),or=new WeakMap;let _p=0;const $n=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,a;if(So(e)===e&&!r&&n!=RegExp){if(o=or.get(e),o)return o;if(o=++_p+"~",or.set(e,o),n==Array){for(o="@",a=0;a<e.length;a++)o+=$n(e[a])+",";or.set(e,o)}if(n==So){o="#";const i=So.keys(e).sort();for(;!H(a=i.pop());)H(e[a])||(o+=a+":"+$n(e[a])+",");or.set(e,o)}}else o=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return o},Xe=new WeakMap,Eo={},ar={},Co="undefined",ir=typeof window!=Co,Ao=typeof document!=Co,mp=()=>ir&&typeof window.requestAnimationFrame!=Co,zs=(e,t)=>{const n=Xe.get(e);return[()=>!H(t)&&e.get(t)||Eo,r=>{if(!H(t)){const o=e.get(t);t in ar||(ar[t]=o),n[5](t,gt(o,r),o||Eo)}},n[6],()=>!H(t)&&t in ar?ar[t]:!H(t)&&e.get(t)||Eo]};let Oo=!0;const wp=()=>Oo,[To,Po]=ir&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[vt,vt],yp=()=>{const e=Ao&&document.visibilityState;return H(e)||e!=="hidden"},bp=e=>(Ao&&document.addEventListener("visibilitychange",e),To("focus",e),()=>{Ao&&document.removeEventListener("visibilitychange",e),Po("focus",e)}),xp=e=>{const t=()=>{Oo=!0,e()},n=()=>{Oo=!1};return To("online",t),To("offline",n),()=>{Po("online",t),Po("offline",n)}},kp={isOnline:wp,isVisible:yp},jp={initFocus:bp,initReconnect:xp},Vs=!rr.useId,Sn=!ir||"Deno"in window,$p=e=>mp()?window.requestAnimationFrame(e):setTimeout(e,1),Ro=Sn?re:Ot,Do=typeof navigator<"u"&&navigator.connection,Us=!Sn&&Do&&(["slow-2g","2g"].includes(Do.effectiveType)||Do.saveData),No=e=>{if(Me(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?$n(e):"",[e,t]};let Sp=0;const Lo=()=>++Sp,Ws=0,Bs=1,Ys=2;var En={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:Ws,MUTATE_EVENT:Ys,RECONNECT_EVENT:Bs};async function qs(...e){const[t,n,r,o]=e,a=gt({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,h=a.throwOnError;if(Me(n)){const p=n,v=[],f=t.keys();for(const d of f)!/^\$(inf|sub)\$/.test(d)&&p(t.get(d)._k)&&v.push(d);return Promise.all(v.map(c))}return c(n);async function c(p){const[v]=No(p);if(!v)return;const[f,d]=zs(t,v),[m,_,b,x]=Xe.get(t),w=()=>{const N=m[v];return(Me(a.revalidate)?a.revalidate(f().data,p):a.revalidate!==!1)&&(delete b[v],delete x[v],N&&N[0])?N[0](Ys).then(()=>f().data):f().data};if(e.length<3)return w();let y=r,k;const S=Lo();_[v]=[S,0];const j=!H(l),$=f(),C=$.data,I=$._c,M=H(I)?C:I;if(j&&(l=Me(l)?l(M,C):l,d({data:l,_c:M})),Me(y))try{y=y(M)}catch(N){k=N}if(y&&gp(y))if(y=await y.catch(N=>{k=N}),S!==_[v][0]){if(k)throw k;return y}else k&&j&&u(k)&&(i=!0,d({data:M,_c:me}));if(i&&!k)if(Me(i)){const N=i(y,M);d({data:N,error:me,_c:me})}else d({data:y,error:me,_c:me});if(_[v][1]=Lo(),Promise.resolve(w()).then(()=>{d({_c:me})}),k){if(h)throw k;return}return y}}const Ks=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Ep=(e,t)=>{if(!Xe.has(e)){const n=gt(jp,t),r={},o=qs.bind(me,e);let a=vt;const i={},s=(h,c)=>{const p=i[h]||[];return i[h]=p,p.push(c),()=>p.splice(p.indexOf(c),1)},l=(h,c,p)=>{e.set(h,c);const v=i[h];if(v)for(const f of v)f(c,p)},u=()=>{if(!Xe.has(e)&&(Xe.set(e,[r,{},{},{},o,l,s]),!Sn)){const h=n.initFocus(setTimeout.bind(me,Ks.bind(me,r,Ws))),c=n.initReconnect(setTimeout.bind(me,Ks.bind(me,r,Bs)));a=()=>{h&&h(),c&&c(),Xe.delete(e)}}};return u(),[e,o,u,a]}return[e,Xe.get(e)[4]]},Cp=(e,t,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)},Ap=(e,t)=>$n(e)==$n(t),[Gs,Op]=Ep(new Map),Tp=gt({onLoadingSlow:vt,onSuccess:vt,onError:vt,onErrorRetry:Cp,onDiscarded:vt,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Us?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Us?5e3:3e3,compare:Ap,isPaused:()=>!1,cache:Gs,mutate:Op,fallback:{}},kp),Pp=(e,t)=>{const n=gt(e,t);if(t){const{use:r,fallback:o}=e,{use:a,fallback:i}=t;r&&a&&(n.use=r.concat(a)),o&&i&&(n.fallback=gt(o,i))}return n},Rp=Yn({}),Dp="$inf$",Xs=ir&&window.__SWR_DEVTOOLS_USE__,Np=Xs?window.__SWR_DEVTOOLS_USE__:[],Lp=()=>{Xs&&(window.__SWR_DEVTOOLS_REACT__=rr)},Ip=e=>Me(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Mp=()=>gt(Tp,er(Rp)),Fp=e=>(t,n,r)=>e(t,n&&((...a)=>{const[i]=No(t),[,,,s]=Xe.get(Gs);if(i.startsWith(Dp))return n(...a);const l=s[i];return H(l)?n(...a):(delete s[i],l)}),r),Hp=Np.concat(Fp),zp=e=>function(...n){const r=Mp(),[o,a,i]=Ip(n),s=Pp(r,i);let l=e;const{use:u}=s,h=(u||[]).concat(Hp);for(let c=h.length;c--;)l=h[c](l);return l(o,a||s.fetcher||null,s)},Vp=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const o=r.indexOf(n);o>=0&&(r[o]=r[r.length-1],r.pop())}};Lp();const Zs=rr.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),Io={dedupe:!0},sr=zp((e,t,n)=>{const{cache:r,compare:o,suspense:a,fallbackData:i,revalidateOnMount:s,revalidateIfStale:l,refreshInterval:u,refreshWhenHidden:h,refreshWhenOffline:c,keepPreviousData:p}=n,[v,f,d,m]=Xe.get(r),[_,b]=No(e),x=_e(!1),w=_e(!1),y=_e(_),k=_e(t),S=_e(n),j=()=>S.current,$=()=>j().isVisible()&&j().isOnline(),[C,I,M,N]=zs(r,_),P=_e({}).current,L=H(i)?n.fallback[_]:i,O=(G,X)=>{for(const ue in P){const Z=ue;if(Z==="data"){if(!o(G[Z],X[Z])&&(!H(G[Z])||!o(at,X[Z])))return!1}else if(X[Z]!==G[Z])return!1}return!0},T=Ie(()=>{const G=(()=>!_||!t?!1:H(s)?j().isPaused()||a?!1:H(l)?!0:l:s)(),X=he=>{const Re=gt(he);return delete Re._k,G?{isValidating:!0,isLoading:!0,...Re}:Re},ue=C(),Z=N(),ke=X(ue),kt=ue===Z?ke:X(Z);let ie=ke;return[()=>{const he=X(C());return O(he,ie)?(ie.data=he.data,ie.isLoading=he.isLoading,ie.isValidating=he.isValidating,ie.error=he.error,ie):(ie=he,he)},()=>kt]},[r,_]),V=vp.useSyncExternalStore(ht(G=>M(_,(X,ue)=>{O(ue,X)||G()}),[r,_]),T[0],T[1]),W=!x.current,K=v[_]&&v[_].length>0,ae=V.data,le=H(ae)?L:ae,Ft=V.error,Yr=_e(le),at=p?H(ae)?Yr.current:ae:le,it=(()=>K&&!H(Ft)?!1:W&&!H(s)?s:j().isPaused()?!1:a?H(le)?!1:l:H(le)||l)(),zn=!!(_&&t&&W&&it),Va=H(V.isValidating)?zn:V.isValidating,gn=H(V.isLoading)?zn:V.isLoading,Ht=ht(async G=>{const X=k.current;if(!_||!X||w.current||j().isPaused())return!1;let ue,Z,ke=!0;const kt=G||{},ie=!d[_]||!kt.dedupe,he=()=>Vs?!w.current&&_===y.current&&x.current:_===y.current,Re={isValidating:!1,isLoading:!1},zt=()=>{I(Re)},zu=()=>{const Ce=d[_];Ce&&Ce[1]===Z&&delete d[_]},Vu={isValidating:!0};H(C().data)&&(Vu.isLoading=!0);try{if(ie&&(I(Vu),n.loadingTimeout&&H(C().data)&&setTimeout(()=>{ke&&he()&&j().onLoadingSlow(_,n)},n.loadingTimeout),d[_]=[X(b),Lo()]),[ue,Z]=d[_],ue=await ue,ie&&setTimeout(zu,n.dedupingInterval),!d[_]||d[_][1]!==Z)return ie&&he()&&j().onDiscarded(_),!1;Re.error=me;const Ce=f[_];if(!H(Ce)&&(Z<=Ce[0]||Z<=Ce[1]||Ce[1]===0))return zt(),ie&&he()&&j().onDiscarded(_),!1;const st=C().data;Re.data=o(st,ue)?st:ue,ie&&he()&&j().onSuccess(ue,_,n)}catch(Ce){zu();const st=j(),{shouldRetryOnError:Ua}=st;st.isPaused()||(Re.error=Ce,ie&&he()&&(st.onError(Ce,_,st),(Ua===!0||Me(Ua)&&Ua(Ce))&&(!j().revalidateOnFocus||!j().revalidateOnReconnect||$())&&st.onErrorRetry(Ce,_,st,Fy=>{const Wa=v[_];Wa&&Wa[0]&&Wa[0](En.ERROR_REVALIDATE_EVENT,Fy)},{retryCount:(kt.retryCount||0)+1,dedupe:!0})))}return ke=!1,zt(),!0},[_,r]),qr=ht((...G)=>qs(r,y.current,...G),[]);if(Ro(()=>{k.current=t,S.current=n,H(ae)||(Yr.current=ae)}),Ro(()=>{if(!_)return;const G=Ht.bind(me,Io);let X=0;const Z=Vp(_,v,(ke,kt={})=>{if(ke==En.FOCUS_EVENT){const ie=Date.now();j().revalidateOnFocus&&ie>X&&$()&&(X=ie+j().focusThrottleInterval,G())}else if(ke==En.RECONNECT_EVENT)j().revalidateOnReconnect&&$()&&G();else{if(ke==En.MUTATE_EVENT)return Ht();if(ke==En.ERROR_REVALIDATE_EVENT)return Ht(kt)}});return w.current=!1,y.current=_,x.current=!0,I({_k:b}),it&&(H(le)||Sn?G():$p(G)),()=>{w.current=!0,Z()}},[_]),Ro(()=>{let G;function X(){const Z=Me(u)?u(C().data):u;Z&&G!==-1&&(G=setTimeout(ue,Z))}function ue(){!C().error&&(h||j().isVisible())&&(c||j().isOnline())?Ht(Io).then(X):X()}return X(),()=>{G&&(clearTimeout(G),G=-1)}},[u,h,c,_]),fo(at),a&&H(le)&&_){if(!Vs&&Sn)throw new Error("Fallback data is required when using suspense in SSR.");k.current=t,S.current=n,w.current=!1;const G=m[_];if(!H(G)){const X=qr(G);Zs(X)}if(H(Ft)){const X=Ht(Io);H(at)||(X.status="fulfilled",X.value=!0),Zs(X)}else throw Ft}return{mutate:qr,get data(){return P.data=!0,at},get error(){return P.error=!0,Ft},get isValidating(){return P.isValidating=!0,Va},get isLoading(){return P.isLoading=!0,gn}}}),Up=wo(({disabled:e,error:t,name:n,inputPlaceholder:r,items:o,onItemSelect:a,onQueryChange:i,onBlur:s,onFocus:l,inputProps:u,menuProps:h,query:c},p)=>{const[v,f]=z(!1),[d,m]=z(),{t:_}=ve(),b=_e();re(()=>{var w;m((w=o[0])==null?void 0:w.id)},[o]);const x=w=>{a(w),f(!1)};return g("div",{class:"relative h-full",children:[g("input",{name:n,ref:p,disabled:e,"data-active":v?"true":void 0,"aria-controls":`ijs-${n}-menu`,placeholder:r,class:Yt({size:"md"}),onFocus:()=>{l==null||l(),f(!0)},onBlur:()=>{b.current=window.setTimeout(()=>{s==null||s(),f(!1)},100)},value:c,onChange:w=>i(w.currentTarget.value),onKeyDown:w=>{switch(f(!0),w.key){case"ArrowDown":case"ArrowUp":{const y=w.key==="ArrowDown"?1:-1;w.preventDefault();const k=o.findIndex(j=>j.id===d);if(k===-1)return;const S=o[k+y]??o[w.key==="ArrowDown"?0:o.length-1];if(!S)return;m(S.id);break}case"Enter":{if(w.preventDefault(),!d)return;a(d)}}},...u}),!t&&v&&!e&&o.length>0?g("ul",{className:rs({type:"long",ring:"unset",className:"ring-width-section ring-job-card-stroke absolute left-0 right-0 top-12 z-50 w-full shadow-sm"}),id:`ijs-${n}-menu`,onMouseDown:()=>{b.current&&clearTimeout(b.current)},...h,children:t?g("div",{role:"alert",children:_("geo_suggestions_error")}):o.map(w=>g("li",{class:os({type:"line",className:"group/tag"}),children:g("button",{type:"button",onMouseEnter:()=>m(w.id),class:as({active:w.id===d,className:"line-clamp-1 overflow-hidden truncate"}),onClick:()=>x(w.id),onKeyDown:y=>{y.key==="Enter"&&x(w.id)},children:w.label})},w.id))}):null]})}),Wp=(e={})=>new Promise((t,n)=>{var r,o;if((r=e.signal)!=null&&r.aborted){n(new DOMException("Aborted","AbortError"));return}navigator.geolocation.getCurrentPosition(a=>t(a.coords),a=>n(a),e),(o=e.signal)==null||o.addEventListener("abort",()=>{n(new DOMException("Aborted","AbortError"))},{once:!0})}),Bp={[GeolocationPositionError.PERMISSION_DENIED]:"geo_error_permission_denied",[GeolocationPositionError.POSITION_UNAVAILABLE]:"geo_error_position_unavailable",[GeolocationPositionError.TIMEOUT]:"geo_error_timeout"},Js=typeof window<"u"&&"geolocation"in navigator&&window.isSecureContext,Yp=({onLocate:e,onError:t,signal:n})=>{const[r,o]=z("idle"),[a,i]=z(null),{t:s}=ve(),l=u=>{o("idle"),i(u),e(u)};return g("button",{"aria-label":s(r==="loading"?"geo_locating":"geo_my_location"),type:"button",onClick:()=>{if(Js){if(o("loading"),a)return l(a);Wp({signal:n}).then(u=>{const h={lat:u.latitude,lng:u.longitude};l(h)}).catch(u=>{if(console.log(u),u instanceof DOMException&&u.name==="AbortError")return o("idle");o("error");const h=Bp[u.code];if(!h)return;const c=s(h);t(c)})}},"data-state":r,class:Ke({variant:"accent",size:"lg",icon:"only",className:"data-[state=loading]:animate-pulse"}),disabled:!Js||r==="error",children:g(de,{name:"target-location"})})},qp="https://api.mapbox.com/search/geocode/v6/forward",Kp="ZzRDWFU0dTZ3SF9aWk9RNGl6QzZaWS5RZmlFak13a0hPbGxXZXlNSGN5RUhObUJ6TXpSV08yUW5OdE5tSTZJU1lpd2lJb1JYYXRObmJ2Tm5iaGhHZWx4V1lpb2pJMUp5ZS5rcA==",Gp=e=>atob(e).split("").reverse().join(""),Xp=Ye({features:ao(pt(Ye({properties:Ye({mapbox_id:U(),place_formatted:ft(U()),name_preferred:ft(U(),"Untitled location"),coordinates:pt(Ye({latitude:dt(),longitude:dt()}),({latitude:e,longitude:t})=>({lat:e,lng:t}))})}),e=>e.properties))}),Zp=(e,t)=>Array.from(new Map(e.map(n=>[typeof t=="function"?t(n):n[t],n])).values()),Jp=async e=>{if(!e)return[];const t=new URL(qp);t.searchParams.set("q",e),t.searchParams.set("proximity","ip"),t.searchParams.set("access_token",Gp(Kp));const n=await fetch(t);if(!n.ok)throw new Error("Failed to get address details");const r=io(Xp,await n.json());if(r.success===!1)throw console.error(r.issues),new Error("Invalid data");const{features:o}=r.output;return Zp(o,a=>a.name_preferred+a.place_formatted)},Qp=({onSelect:e,onValueChange:t,coords:n,radius:r,onError:o})=>{const{t:a}=ve(),[i,s]=z(""),[l,u]=z(),h=ah(i,500),[c,p]=z(new AbortController),v=sr(h,Jp,{keepPreviousData:!1,revalidateIfStale:!1,revalidateOnFocus:!1}),{data:f,queryState:d,error:m}=cr(v),[_,b]=z("view"),x=_e(null);return re(()=>{if(_==="edit"){if(!x.current)return;x.current.focus()}},[_]),g("div",{class:"relative flex-1",children:[_==="view"&&n?g("button",{"aria-label":a("geo_search_placeholder"),type:"button",class:Yt({size:"unsized",className:"flex h-10 w-full cursor-text items-stretch px-1 py-1"}),onClick:()=>{b("edit")},children:g("div",{class:Oe({size:"sm",variant:"accentStrong",interactive:!0,class:"truncate"}),children:l??a("location_provided")})}):g(Up,{ref:x,error:m,query:i,name:"location-search",onQueryChange:s,onFocus:()=>{c.abort(),p(new AbortController)},onBlur:()=>{b("view"),s("")},onItemSelect:w=>{if(d!=="loaded")return;const y=f.find(k=>k.mapbox_id===w);y&&(e(y.coordinates),b("view"),u(y.name_preferred))},inputPlaceholder:a("geo_search_placeholder"),items:(f==null?void 0:f.map(w=>({id:w.mapbox_id,label:g("div",{class:"flex min-w-0 max-w-full gap-2 overflow-hidden",children:[g("strong",{class:"truncate",children:w.name_preferred})," ",g("span",{class:"flex-1 truncate opacity-50",children:w.place_formatted})]})})))??[]}),g("div",{class:"absolute bottom-0 right-0 top-0 z-10 flex items-center gap-2",children:!i&&!n?g(Yp,{onLocate:w=>{b("view"),u(a("geo_my_location")),t({type:"provided",coords:w,radius:r})},onError:o,signal:c.signal}):g("button",{type:"button","aria-label":a("geo_clear_search"),onClick:()=>{s(""),u(void 0),t({radius:r,type:"provided"}),b("edit"),x.current&&(x.current.value="",x.current.focus())},class:Ke({variant:"neutral",size:"lg",icon:"only"}),children:g(de,{name:"x"})})})]})},eh=[.25,.5,1,3,5,10,15,20,30,40],th=20,Qs=e=>e*1609.34,nh=new Intl.NumberFormat(void 0,{style:"unit",unit:"mile",unitDisplay:"long",maximumFractionDigits:1,trailingZeroDisplay:"stripIfInteger"}),rh=pt(Ye({type:Be("provided"),lat:ft(pt(U(),e=>Number(e))),lng:ft(pt(U(),e=>Number(e))),radius:pt(U(),e=>Number(e))}),e=>({radius:e.radius,type:e.type,coords:e.lat&&e.lng?{lat:e.lat,lng:e.lng}:void 0})),oh=({value:e,onValueChange:t,logger:n})=>{const{t:r}=ve(),o=po(),a=(e==null?void 0:e.type)==="provided"?e.radius:Qs(th),[i,s]=z();return g("div",{class:"flex flex-col gap-2",children:[g("form",{onChange:l=>{const u=new FormData(l.currentTarget),h=io(rh,Object.fromEntries(u.entries()));if(!h.success){n.error(h.issues),s(h.issues[0].message);return}t(h.output)},class:"flex flex-col gap-2 md:flex-row",children:[g("input",{type:"hidden",name:"type",value:"provided"}),(e==null?void 0:e.type)==="provided"&&e.coords?g(F,{children:[g("input",{type:"hidden",name:"lat",value:e.coords.lat}),g("input",{type:"hidden",name:"lng",value:e.coords.lng})]}):null,g(Qp,{coords:(e==null?void 0:e.type)==="provided"?e.coords:void 0,radius:a,onValueChange:t,onSelect:l=>{s(void 0),t({type:"provided",radius:a,coords:l})},onError:s}),g("div",{class:"relative",children:[g("label",{class:"sr-only",for:o,children:r("geo_range_label")}),g("select",{id:o,name:"radius",class:Yt({size:"unsized",className:"w-full appearance-none truncate py-2 pl-3 pr-10"}),value:a,onChange:l=>{s(void 0),t({type:"provided",coords:(e==null?void 0:e.type)==="provided"?e.coords:void 0,radius:Number(l.currentTarget.value)})},children:eh.map(l=>g("option",{value:Qs(l),class:"truncate",children:nh.format(l)},l))}),g("div",{class:"text-copy-neutral-lowcontrast pointer-events-none absolute bottom-0 right-0 top-0 flex w-10 items-center justify-center",children:g(de,{name:"chevron-right",class:"h-6 w-6 rotate-90"})})]})]}),i?g("div",{role:"alert",class:"text-pretty text-copy-neutral font-style-tag font-weight-tag text-style-tag flex gap-1",children:[g(de,{name:"warning",class:"animate-appear-tag size-[1lh] flex-none"}),i]}):null]})},ah=(e,t=1e3)=>{const[n,r]=z(e),o=Ie(()=>wf(a=>r(a),t),[t]);return re(()=>{o(e)},[e,o]),n},ec={ANNUALLY:"per year",DAILY:"per day",HOURLY:"per hour",MONTHLY:"per month",WEEKLY:"per week"},ih=e=>{const{salary:t,config:n}=e,r=new Intl.NumberFormat(n.locales,{style:"currency",currency:t.pay_currency,trailingZeroDisplay:"stripIfInteger"});if(t.pay_display===!1)return;if(t.pay_mask)return e.t("competitive");if(t.pay_max&&Number.isNaN(+t.pay_max)||t.pay_min&&Number.isNaN(+t.pay_min)||t.pay&&Number.isNaN(+t.pay))return e.t("invalid_salary");const o=t.pay_type&&t.pay_type in ec?ec[t.pay_type]:void 0;return t.pay?[r.format(+t.pay),o].filter(Boolean).join(" "):t.pay_max&&t.pay_min?[r.formatRange(+t.pay_min,+t.pay_max),o].filter(Boolean).join(" "):t.pay_max?`${e.t("up_to")} ${[r.format(+t.pay_max),o].filter(Boolean).join(" ")}`:t.pay_min?`${e.t("from")} ${[r.format(+t.pay_min),o].filter(Boolean).join(" ")}`:e.t("invalid_salary")},sh=new Intl.RelativeTimeFormat(void 0,{numeric:"auto"}),ch=({from:e=new Date,to:t,formatter:n=sh,t:r})=>{const a=(t instanceof Date?t:new Date(t)).getTime()-e.getTime(),i={days:Math.round(a/1e3/60/60/24),months:Math.round(a/1e3/60/60/24/30)};return i.days===0?r("today"):Math.abs(i.days)<30?n.format(i.days,"days"):Math.abs(i.days)<3?n.format(i.months,"months"):i.months<0?r("over_30_days_ago"):r("in_over_30_days")},lh=Si(ao(Ye({label:xi(U(),String),value:xi(U(),String),jobs:dt()}))),uh=U([wd()]),dh=Ye({total:dt(),current_page:dt(),per_page:dt(),last_page:dt()}),fh=Ye({id:dt(),company_name:U(),company_logo:ye(ft(U())),employment_type:U(),location_type:Ei([Be("LOCATION"),Be("REMOTE"),Be("HYBRID")]),pay_type:ye(Ei([Be("ANNUALLY"),Be("HOURLY"),Be("MONTHLY"),Be("WEEKLY"),Be("DAILY")])),pay_currency:U(),pay_mask:$i(),pay_display:$i(),pay:ye(U()),pay_min:ye(U()),pay_max:ye(U()),description:U(),title:U(),contract_type:ye(U()),created_at:ye(U()),custom_data:ye(Si(gd())),href:U(),industry:ye(U()),category:ye(U()),skills:ft(U()),town:ft(U()),city:ye(U()),country:ye(U()),vector_distance:ft(ye(U()))}),ph=e=>pt(fh,t=>{const n=io(uh,t.company_logo);return{id:t.id,createdAt:t.created_at,company:{name:t.company_name,logo:n.success?n.output:null},employmentType:t.employment_type,locationType:t.location_type,pay:ih({salary:t,config:{locales:void 0},t:e})??null,description:t.description,title:t.title,contractType:t.contract_type,href:t.href,relativePostedDate:t.created_at?ch({to:new Date(t.created_at),t:e}):"INVALID DATE",customData:t.custom_data,raw:t,match:t.vector_distance&&parseFloat(t.vector_distance)<.15?e("great_match"):null}}),hh=e=>pt(Ye({data:ao(ph(e)),pagination:dh}),t=>({pagination:t.pagination,results:t.data})),vh=e=>!e||Array.isArray(e)&&e.length===0?null:e,tc=e=>{var n;const t={};for(const r in e.filters){const o=e.filters[r];t[r]=vh(o==null?void 0:o.value)}return((n=e.geo)==null?void 0:n.type)==="provided"&&e.geo.coords&&(t.geolocation={type:e.geo.type,lat:e.geo.coords.lat,lng:e.geo.coords.lng,radius:e.geo.radius}),t},nc=async({apiClient:e,state:t,logger:n,signal:r})=>{try{const o=new URLSearchParams(bi({filters:tc(t),query:t.query})),a="/search/filters",i=await e.fetch([a,o.toString()].filter(Boolean).join("?"),{signal:r});return Ci(lh,i)}catch(o){throw o instanceof Kn?n.error(o.message,o.issues):n.error(o),o}},rc=async({apiClient:e,logger:t,signal:n,state:r,page:o=1,t:a})=>{try{const i=new URLSearchParams(bi({filters:tc(r)}));i.set("page",o.toString()),i.set("per_page",Ct.toString()),r.query&&(i.set("query",r.query),i.set("mode",r.mode));const s=await e.fetch(["/search/results",i.toString()].filter(Boolean).join("?"),{signal:n});return Ci(hh(a),s)}catch(i){throw i instanceof Kn?t.error(i.message,i.issues):t.error(i),i}},cr=e=>{if(e.error)return{queryState:"error",error:e.error,swr:e};if(e.isLoading&&e.data===void 0)return{queryState:"loading",swr:e};if((e.isLoading||e.isValidating)&&e.data)return{queryState:"revalidating",data:e.data,swr:e};if(!e.isLoading&&e.data)return{queryState:"loaded",data:e.data,swr:e};if(!e.data&&!e.isLoading)return{queryState:"idle",swr:e};throw console.error("Unhandled data state",e),new Error("Unhandled data state")},Mo={keepPreviousData:!0,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateIfStale:!1,revalidateFirstPage:!1},lr=e=>{var n,r,o;const t=[e.baseKey];e.state.query&&t.push(`q=${e.state.query}`),((n=e.state.geo)==null?void 0:n.type)==="ip"&&t.push("geo=ip"),((r=e.state.geo)==null?void 0:r.type)==="provided"&&e.state.geo.coords&&t.push(`geo=${e.state.geo.coords.lat}_${e.state.geo.coords.lng}_${e.state.geo.radius}`);for(const a in e.state.filters){const i=e.state.filters[a];if(!i)continue;const s=i.select==="many"?(o=i.value)==null?void 0:o.sort().join("|"):i.value;t.push(`${a}=${s}`)}return t.sort().join("::")},Yy="",gh=e=>{const t=Object.entries(e).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(t)},_h=({analytics:e,apiClient:t,logger:n,theme:r,appliedFilters:o})=>{const{t:a}=ve(),[i,s]=z();return re(()=>{Promise.resolve().then(()=>My).then(l=>s(l.jobAlertsPlugin()({analytics:e,apiClient:t,logger:n})))},[e,t,n]),re(()=>{i==null||i.render({config:{label:a("create_alert"),headerText:a("alert_header_text")},initialFilters:{},theme:r})},[i,a,r]),re(()=>{i==null||i.setFilters(gh(o))},[o,i]),g("div",{id:"inploi-job-alerts",class:"min-h-[36px]"})},mh=(e,t)=>{var n,r,o;switch(t.select){case"many":(n=t.value)==null||n.forEach(a=>{var i,s;switch(e.select){case"many":(i=e.value)!=null&&i.includes(a)||(s=e.value)==null||s.push(a);break;case"one":e.value=a}});break;case"one":if(!t.value)break;switch(e.select){case"many":(r=e.value)!=null&&r.includes(t.value)||(o=e.value)==null||o.push(t.value);break;case"one":e.value=t.value}break}},wh=({property:e,value:t,activeKey:n,properties:r,appliedFilters:o})=>{var a,i,s;switch(t==null?void 0:t.select){case void 0:return{newValue:void 0,newActiveKey:n};case"many":return{newValue:t,newActiveKey:n};case"one":{const l=r.findIndex(v=>v.key===e.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[e.key])==null?void 0:s.value)===t.value?{newValue:void 0,newActiveKey:c}:{newValue:t,newActiveKey:c}}default:we(t)}},yh=({properties:e,state:t,onFilterValueChange:n,apiClient:r,logger:o})=>{var c;const{t:a}=ve(),[i,s]=z((c=e[0])==null?void 0:c.key),l=Ie(()=>({filters:Uo(e,"value"),mode:t.mode,query:void 0,geo:void 0}),[e,t.mode]),u=cr(sr(lr({state:l,baseKey:"filters"}),()=>nc({apiClient:r,logger:o,state:l}),Mo)),h=ht(p=>()=>{const v={...t,filters:{...t.filters,[p]:l.filters[p]}};return sr(lr({state:v,baseKey:"filters"}),()=>nc({apiClient:r,logger:o,state:v}),Mo)},[r,l.filters,o,t]);return u.queryState==="error"?g(Ge,{error:new Error(a("filters_loading_error"),{cause:u.error}),resetError:()=>u.swr.mutate()}):g("aside",{children:g("div",{class:"top-filters ijs-filters-section sticky flex flex-col gap-2 px-4 md:px-0",children:e.filter(p=>p.hidden!==!0).map(p=>{const v=i===p.key,f=t.filters[p.key]??{select:p.select,value:void 0},d=l.filters[p.key];d&&mh(f,d);const m=x=>{const{newActiveKey:w,newValue:y}=wh({property:p,activeKey:i,value:x??d,properties:e,appliedFilters:t.filters});return s(w),n(p.key,y)},_=x=>s(x?p.key:void 0),b=h(p.key);return g(Bt,{Fallback:Ge,children:g(Ff,{unfilteredQuery:u,active:v,property:p,onActiveChange:_,value:f,onSkip:()=>{var y;const x=e.findIndex(k=>k.key===i),w=x!==-1?(y=e[x+1])==null?void 0:y.key:void 0;s(w)},useQuery:b,onValueChange:m})},p.key)})})})},bh=2,xh=({value:e,onValueChange:t})=>{const[n,r]=z(e??""),o=n!==""&&n===e,{t:a}=ve();return re(()=>{let i=n.trim();if(i.length<=bh&&(i=null),i===null){t("");return}const s=setTimeout(()=>{t(i)},300);return()=>clearTimeout(s)},[n,t]),g("div",{class:"flex flex-col gap-3",children:g("div",{class:"relative",children:[g("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[g(de,{"aria-hidden":!0,title:"Search by keyword",name:"magnifierSimple",class:kn({"text-copy-neutral-icon":!o,"text-copy-accent-icon":o})}),g("span",{class:"sr-only",children:"Keyword"})]}),g("input",{autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"search",class:Yt({hasValue:o,size:"unsized",class:"peer py-2 pl-10 pr-4"}),placeholder:a("type_to_search_jobs"),value:n,onChange:i=>{r(i.currentTarget.value)}}),g("button",{type:"button",class:Ke({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{r("")},children:g(de,{name:"x"})})]})})},kh=Ke({variant:"neutral",icon:"left",size:"sm",class:"text-style-tag gap-1"}),jh=({onValueChange:e,appliedFilters:t,value:n})=>{const{t:r}=ve(),o=Object.values(t).filter(a=>{var i;return(i=a==null?void 0:a.value)==null?void 0:i.length}).length;return g("button",{onClick:()=>{e(!n)},class:kh,children:[g(de,{name:n?"x":"filter"}),g("span",{children:r(n?"simple_mode":"advanced_mode")}),o>0?g("span",{class:Oe({interactive:!1,variant:"neutralWeak",size:"xs"}),children:o}):null]},"mode")},$h=({intervalMs:e,strings:t,class:n})=>{const[r,o]=z(0),[a,i]=z(!0),s=[...t,t[0]];return re(()=>{r===s.length&&(i(!1),o(0));const l=setTimeout(()=>{i(!0),o(u=>u+1)},e);return()=>clearTimeout(l)},[r,s.length,e]),g("div",{className:kn("relative h-full w-full overflow-hidden",n),children:g("div",{className:kn("absolute w-full",{"transition-transform duration-500 ease-in-out":a}),style:{height:`${100*s.length}%`,transform:`translateY(-${r*(100/s.length)}%)`},children:s.map((l,u)=>g("div",{className:"flex items-center whitespace-nowrap",style:{height:`${100/s.length}%`},children:l},u))})})},Sh=(e,t)=>{re(()=>{const n=r=>{document.activeElement===e.current&&t(r)};return document.addEventListener("selectionchange",n),()=>document.removeEventListener("selectionchange",n)},[e,t])},oc=3,Eh=({value:e,onValueChange:t,options:n})=>{const[r,o]=z(e??""),a=r.trim(),i=a!==""&&a===e,{t:s}=ve(),l=a.split(""),[u,h]=z(0),c=_e(null);return Sh(c,p=>{p.target instanceof HTMLInputElement&&h(p.target.scrollLeft)}),re(()=>{let p=r.trim();if(p.length<=oc&&(p=null),p===null){t("");return}const v=setTimeout(()=>{t(p.trim())},1e3);return()=>clearTimeout(v)},[r,t]),g("div",{class:"mb-2 flex flex-col gap-2",children:[g("div",{class:"relative",children:[g("label",{class:"absolute left-0 flex h-full items-center px-2",for:"ijs-keyword",children:[g(de,{"aria-hidden":!0,title:"Search by keyword",name:"ai",class:kn("duration-snappy transition-transform",{"text-copy-neutral-icon scale-90":!i,"text-copy-accent-icon":i})}),g("span",{class:"sr-only",children:"Keyword"})]}),g("input",{ref:c,autoComplete:"off",autocomplete:"off",name:"keyword",id:"ijs-keyword",type:"text",placeholder:n!=null&&n.suggestions?n.suggestions.join(", "):" ",class:Yt({hasValue:i,size:"unsized",class:"peer px-10 py-2 tracking-tight !text-transparent placeholder:!text-transparent"}),style:{fontKerning:"none"},value:r,onChange:p=>{const v=p.currentTarget.value.trim();o(v)},onKeyDown:p=>{if(p.key==="Enter"){if(p.currentTarget.value.trim().length<=oc)return;p.preventDefault(),t(r)}}}),g("div",{"data-synced":i,class:"font-weight-input text-copy-neutral group pointer-events-none absolute inset-x-10 inset-y-0 flex overflow-hidden tracking-tight peer-placeholder-shown:right-0",children:a.length>0?g("div",{"aria-hidden":!0,class:"flex items-center whitespace-nowrap",style:{transform:`translateX(${-u}px)`},children:l.map((p,v)=>g("span",{style:{animationDelay:`${v*300/l.length}ms`},class:"group-data-[synced=true]:animate-ai-letter inline-block",children:p===" "?" ":p},a+v))}):n!=null&&n.suggestions?g($h,{intervalMs:2e3,strings:n.suggestions,class:"opacity-30","aria-hidden":!0}):null}),g("button",{type:"button",class:Ke({variant:"neutral",size:"lg",position:"absolute",class:"bottom-0 right-0 top-0 h-full peer-placeholder-shown:hidden",icon:"only"}),onClick:()=>{o(""),t("")},children:g(de,{name:"x"})})]}),g("p",{class:"font-family-default text-balance font-style-default text-style-job-card-info text-copy-neutral-lowcontrast",children:s("ai_disclaimer")})]})};var Ch=Array.isArray,Fo=Ch,Ah=Fo,Oh=Jn,Th=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ph=/^\w*$/;function Rh(e,t){if(Ah(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Oh(e)?!0:Ph.test(e)||!Th.test(e)||t!=null&&e in Object(t)}var Dh=Rh,Nh=Li,Lh=Xn,Ih="[object AsyncFunction]",Mh="[object Function]",Fh="[object GeneratorFunction]",Hh="[object Proxy]";function zh(e){if(!Lh(e))return!1;var t=Nh(e);return t==Mh||t==Fh||t==Ih||t==Hh}var Vh=zh,Uh=Zn,Wh=Uh["__core-js_shared__"],Bh=Wh,Ho=Bh,ac=function(){var e=/[^.]+$/.exec(Ho&&Ho.keys&&Ho.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Yh(e){return!!ac&&ac in e}var qh=Yh,Kh=Function.prototype,Gh=Kh.toString;function Xh(e){if(e!=null){try{return Gh.call(e)}catch{}try{return e+""}catch{}}return""}var Zh=Xh,Jh=Vh,Qh=qh,ev=Xn,tv=Zh,nv=/[\\^$.*+?()[\]{}|]/g,rv=/^\[object .+?Constructor\]$/,ov=Function.prototype,av=Object.prototype,iv=ov.toString,sv=av.hasOwnProperty,cv=RegExp("^"+iv.call(sv).replace(nv,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lv(e){if(!ev(e)||Qh(e))return!1;var t=Jh(e)?cv:rv;return t.test(tv(e))}var uv=lv;function dv(e,t){return e==null?void 0:e[t]}var fv=dv,pv=uv,hv=fv;function vv(e,t){var n=hv(e,t);return pv(n)?n:void 0}var ic=vv,gv=ic,_v=gv(Object,"create"),ur=_v,sc=ur;function mv(){this.__data__=sc?sc(null):{},this.size=0}var wv=mv;function yv(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var bv=yv,xv=ur,kv="__lodash_hash_undefined__",jv=Object.prototype,$v=jv.hasOwnProperty;function Sv(e){var t=this.__data__;if(xv){var n=t[e];return n===kv?void 0:n}return $v.call(t,e)?t[e]:void 0}var Ev=Sv,Cv=ur,Av=Object.prototype,Ov=Av.hasOwnProperty;function Tv(e){var t=this.__data__;return Cv?t[e]!==void 0:Ov.call(t,e)}var Pv=Tv,Rv=ur,Dv="__lodash_hash_undefined__";function Nv(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Rv&&t===void 0?Dv:t,this}var Lv=Nv,Iv=wv,Mv=bv,Fv=Ev,Hv=Pv,zv=Lv;function Kt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Kt.prototype.clear=Iv,Kt.prototype.delete=Mv,Kt.prototype.get=Fv,Kt.prototype.has=Hv,Kt.prototype.set=zv;var Vv=Kt;function Uv(){this.__data__=[],this.size=0}var Wv=Uv;function Bv(e,t){return e===t||e!==e&&t!==t}var Yv=Bv,qv=Yv;function Kv(e,t){for(var n=e.length;n--;)if(qv(e[n][0],t))return n;return-1}var dr=Kv,Gv=dr,Xv=Array.prototype,Zv=Xv.splice;function Jv(e){var t=this.__data__,n=Gv(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Zv.call(t,n,1),--this.size,!0}var Qv=Jv,eg=dr;function tg(e){var t=this.__data__,n=eg(t,e);return n<0?void 0:t[n][1]}var ng=tg,rg=dr;function og(e){return rg(this.__data__,e)>-1}var ag=og,ig=dr;function sg(e,t){var n=this.__data__,r=ig(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var cg=sg,lg=Wv,ug=Qv,dg=ng,fg=ag,pg=cg;function Gt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Gt.prototype.clear=lg,Gt.prototype.delete=ug,Gt.prototype.get=dg,Gt.prototype.has=fg,Gt.prototype.set=pg;var hg=Gt,vg=ic,gg=Zn,_g=vg(gg,"Map"),mg=_g,cc=Vv,wg=hg,yg=mg;function bg(){this.size=0,this.__data__={hash:new cc,map:new(yg||wg),string:new cc}}var xg=bg;function kg(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var jg=kg,$g=jg;function Sg(e,t){var n=e.__data__;return $g(t)?n[typeof t=="string"?"string":"hash"]:n.map}var fr=Sg,Eg=fr;function Cg(e){var t=Eg(this,e).delete(e);return this.size-=t?1:0,t}var Ag=Cg,Og=fr;function Tg(e){return Og(this,e).get(e)}var Pg=Tg,Rg=fr;function Dg(e){return Rg(this,e).has(e)}var Ng=Dg,Lg=fr;function Ig(e,t){var n=Lg(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Mg=Ig,Fg=xg,Hg=Ag,zg=Pg,Vg=Ng,Ug=Mg;function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=Fg,Xt.prototype.delete=Hg,Xt.prototype.get=zg,Xt.prototype.has=Vg,Xt.prototype.set=Ug;var Wg=Xt,lc=Wg,Bg="Expected a function";function zo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Bg);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(zo.Cache||lc),n}zo.Cache=lc;var Yg=zo,qg=Yg,Kg=500;function Gg(e){var t=qg(e,function(r){return n.size===Kg&&n.clear(),r}),n=t.cache;return t}var Xg=Gg,Zg=Xg,Jg=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Qg=/\\(\\)?/g,e_=Zg(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Jg,function(n,r,o,a){t.push(o?a.replace(Qg,"$1"):r||n)}),t}),t_=e_;function n_(e,t){for(var n=-1,r=e==null?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var r_=n_,uc=so,o_=r_,a_=Fo,i_=Jn,s_=1/0,dc=uc?uc.prototype:void 0,fc=dc?dc.toString:void 0;function pc(e){if(typeof e=="string")return e;if(a_(e))return o_(e,pc)+"";if(i_(e))return fc?fc.call(e):"";var t=e+"";return t=="0"&&1/e==-s_?"-0":t}var c_=pc,l_=c_;function u_(e){return e==null?"":l_(e)}var d_=u_,f_=Fo,p_=Dh,h_=t_,v_=d_;function g_(e,t){return f_(e)?e:p_(e,t)?[e]:h_(v_(e))}var __=g_,m_=Jn,w_=1/0;function y_(e){if(typeof e=="string"||m_(e))return e;var t=e+"";return t=="0"&&1/e==-w_?"-0":t}var b_=y_,x_=__,k_=b_;function j_(e,t){t=x_(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[k_(t[n++])];return n&&n==r?e:void 0}var $_=j_,S_=$_;function E_(e,t,n){var r=e==null?void 0:S_(e,t);return r===void 0?n:r}var C_=E_;const A_=Ti(C_),pr=({chars:e})=>g("span",{style:{width:e+"ch"},class:"rounded-job-tag block h-[1lh] min-h-[1em] bg-[currentColor] opacity-25"}),hc=Ae({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 hover:bg-job-card-bg-active hover:ring-job-card-stroke-active active:scale-[0.975]",false:"animate-skeleton"}},defaultVariants:{interactive:!0}}),Vo=({job:e,property:t})=>{if(!t)return null;const n=A_(e.raw,t.key);return t.transform?t.transform(n):n},O_=({job:e,config:t="hidden"})=>t==="hidden"?null:g("div",{class:"rounded-logo h-12 flex-none overflow-hidden",style:{aspectRatio:t.replace(":","/")},children:e.company.logo?g("img",{src:e.company.logo,alt:e.company.name,class:"h-full w-full select-none object-contain [-webkit-user-drag:none]"}):null}),vc=e=>Array.isArray(e)?e:[e],T_=1e3*60*60*24*7,P_=({job:e,config:t,onJobClick:n})=>{var p,v,f;const{t:r}=ve(),o=t.subheading?Vo({job:e,property:t.subheading}):null,a=t.infoTags.flatMap(d=>vc(Vo({job:e,property:d}))).filter(Boolean),i=vc((p=t.overrides)!=null&&p.salary?Vo({job:e,property:t.overrides.salary}):e.pay).filter(Boolean),s=t.postedDate??"show",l=(v=t.overrides)!=null&&v.baseUrl?t.overrides.baseUrl(e.id.toString()):e.href,u=t.newUnderDays??7,h=e.createdAt?new Date(e.createdAt).getTime()>Date.now()-u*T_:!1,c=d=>{var m,_;n==null||n(e),(_=(m=t.overrides)==null?void 0:m.onClick)==null||_.call(m,d)};return g("a",{onMouseEnter:(f=t.overrides)==null?void 0:f.onMouseEnter,onClick:c,href:l,target:t.openJob==="redirect-new-tab"?"_blank":void 0,class:hc(),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(O_,{job:e,config:t.logo}),g("div",{class:"flex flex-col items-start gap-1",children:[g("div",{class:"order-2 flex flex-col gap-1",children:[e.match?g("p",{class:"text-style-job-card text-tag-accent-strong-bg flex items-center ",children:[g(de,{name:"ai",class:"size-4 inline-block"}),g("span",{children:e.match})]}):null,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:[e.title.trim(),h&&s!=="hide"&&g(F,{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:r("new")})]})]}),o?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:o}):null]}),s==="show"?g("p",{class:"text-style-job-card-info text-copy-job-info order-1",children:[r("posted")," ",e.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:i.map((d,m)=>g("span",{class:Oe({variant:"monetaryWeak",size:"xs"}),children:d},m))}),a.length>0&&g("ul",{class:"flex min-w-0 max-w-full flex-wrap items-center gap-2",children:a.map(d=>g("li",{class:Oe({size:"xs",class:"max-w-full truncate"}),children:d},d))})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(de,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},gc=({config:e,animationDelay:t,seed:n})=>{const r=e.logo??"hidden",o=e.postedDate??"show";return g("div",{"aria-hidden":!0,style:{animationDelay:t+"s"},class:hc({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(pr,{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(pr,{chars:13+(n+5)*n%7})}),e.subheading!==null?g("p",{class:"text-style-job-card text-copy-neutral-lowcontrast",children:g(pr,{chars:7+n*n%3})}):null]})]})]}),g("div",{class:"flex flex-col items-start gap-2",children:[n%2===0&&g("span",{class:Oe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[10ch]"})}),g("div",{class:"flex items-center gap-2",children:[g("span",{class:Oe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[6ch]"})}),g("span",{class:Oe({variant:"neutralWeak",size:"xs",class:"h-[1lh] min-h-[1em] w-[8ch]"})})]})]})]}),g("div",{"aria-hidden":!0,class:"flex items-center",children:g(de,{name:"chevron-right",class:"text-copy-neutral-icon"})})]})},R_=({state:e,fetchNextPage:t,config:n,remainingItems:r})=>{const{t:o}=ve(),a=Math.min(Ct,r);return e==="revalidating"?g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Ct}).map((i,s)=>g("li",{children:g(gc,{seed:s,animationDelay:(s-4)*.1,config:n})},s))}):g("button",{type:"button",class:Ke({variant:"neutral",class:"py-2"}),onClick:t,children:[o("load_more_count",{count:a})," ",o("of_remaining_count",{count:r})]})},D_=({state:e,apiClient:t,logger:n,jobCardConfig:r,initialData:o,onResultsUpdate:a,onJobClick:i,onPaginate:s,mode:l})=>{const[u,h]=z(1);return g(F,{children:Array.from({length:u}).map((c,p)=>{const v=p===u-1;return g(Bt,{Fallback:Ge,children:g(N_,{state:e,apiClient:t,logger:n,page:p+1,isFirst:p===0,isLast:v,fetchNextPage:()=>{h(u+1),s(u+1)},jobCardConfig:r,initialData:o,onResultsUpdate:a,onJobClick:i,mode:l},p)},p)})})},N_=({state:e,apiClient:t,logger:n,page:r,isFirst:o,isLast:a,fetchNextPage:i,jobCardConfig:s,initialData:l,onResultsUpdate:u,onJobClick:h})=>{const{t:c}=ve(),p=r===1?l:void 0,{data:v,error:f,queryState:d,swr:m}=cr(sr(lr({state:e,baseKey:r.toString()}),()=>rc({apiClient:t,logger:n,state:e,page:r,t:c}),{...Mo,fallbackData:p}));switch(re(()=>{v&&o&&u&&u({totalCount:v.pagination.total})},[v,o,u]),d){case"idle":return null;case"loading":return g(F,{children:[o&&g("p",{class:"text-style-tag text-copy-job-info animate-skeleton m-0 self-center p-0",children:g(pr,{chars:8})}),g("ul",{class:"flex flex-col gap-3","aria-hidden":!0,children:Array.from({length:Ct}).map((_,b)=>g("li",{children:g(gc,{seed:b,animationDelay:(b-Ct)*.1,config:s})},b))})]});case"error":return g(Ge,{class:"-m-4",error:new Error(c("jobs_loading_error"),{cause:f}),resetError:()=>m.mutate()});case"revalidating":case"loaded":{if(je(v.pagination.current_page===r,"Received wrong page from server"),v.pagination.total===0)return g("div",{class:"mx-auto flex flex-col items-center gap-2 px-2 py-4 text-center",children:[g(de,{"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:c("no_jobs_found")}),g("p",{class:"text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]",children:c("no_jobs_found_description")})]})]});const _=v.pagination.last_page!==v.pagination.current_page,b=r*Ct,x=Math.max(v.pagination.total-b,0),w=y=>{h(y,r)};return g(F,{children:[o&&g("p",{class:"text-copy-neutral-lowcontrast text-style-tag m-0 p-0 text-center",children:c("jobs_found",{count:v.pagination.total})}),g("ul",{"aria-label":`Page ${r}`,class:"flex flex-col gap-3",children:v.results.map(y=>g("li",{class:"ease-expo-out duration-slow transition-opacity",style:{opacity:d==="revalidating"?.33:1},children:g(P_,{job:y,onJobClick:w,config:s})},y.id))}),_&&a&&g(R_,{state:d,fetchNextPage:i,config:s,remainingItems:x})]})}default:we(d)}},Uo=(e,t="value")=>e.reduce((n,r)=>{switch(r.select){case"one":{const o=r[t],a=typeof o=="string"?o:o==null?void 0:o[0];n[r.key]={select:r.select,value:a};break}case"many":{const o=r[t],a=typeof o=="string"?[o]:Array.isArray(o)?o:[];n[r.key]={select:r.select,value:a};break}default:we(r.select)}return n},{}),Wo=e=>Object.fromEntries(Object.entries(e).map(([t,n])=>{const r=n==null?void 0:n.value;return[t,Array.isArray(r)?r:r?[r]:[]]}).filter(([,t])=>t!==void 0&&t.length>0)),L_=({apiClient:e,logger:t,properties:n,class:r,analytics:o,initialData:a,onFilterChange:i,onKeywordChange:s,onGeolocationChange:l,params:u})=>{var j,$,C,I,M,N;const{t:h}=ve(),c=_e(null),p=Ie(()=>Uo(n,"defaultValue"),[n]),[v,f]=z(!0),[d,m]=z({filters:p,query:u.defaultSearchKeyword,geo:u.defaultGeolocation,mode:(j=u.naturalLanguageSearch)!=null&&j.enabled?"vector":"query"}),[_,b]=z(!(($=u.naturalLanguageSearch)!=null&&$.enabled)),[x,w]=z(0),{onJobClick:y,onPaginate:k}=I_({appRef:c,analytics:o,state:d,hasInteracted:!v,totalCount:x,defaultFilters:p}),S=ht(P=>{m(L=>L.query===P?L:(f(!1),s==null||s(P),{...d,query:P}))},[s,d]);return g("div",{ref:c,class:r,id:Oi,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:px-4",children:[g(Bt,{Fallback:Ge,children:g("div",{class:"px-4 md:px-0",children:g("div",{class:"bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4 md:flex-row",children:[g("section",{class:"flex flex-1 flex-col gap-1",children:[g("p",{class:"text-style-filter text-copy-neutral font-style-filter font-weight-filter",children:h("search_label")}),(C=u.naturalLanguageSearch)!=null&&C.enabled?g(Eh,{value:d.query,onValueChange:S,options:u.naturalLanguageSearch}):u.enableKeywordSearch?g(xh,{value:d.query,onValueChange:S}):null]}),(I=u.geolocation)!=null&&I.enabled?g("section",{class:"flex flex-1 flex-col gap-1",children:[g("p",{class:"text-style-filter text-copy-neutral font-style-filter font-weight-filter",children:h("geo_label")}),g(oh,{value:d.geo,onValueChange:P=>{f(!1),m({...d,geo:P}),l==null||l(P)},logger:t})]}):null]})})}),g("div",{class:"gap-4 md:grid md:grid-cols-3",children:[g(Bt,{Fallback:Ge,children:g("div",{class:"flex flex-col gap-2",children:[(M=u.naturalLanguageSearch)!=null&&M.enabled?g(jh,{value:_,appliedFilters:d.filters,onValueChange:P=>b(P)}):null,_?g(F,{children:[g(yh,{state:d,onFilterValueChange:(P,L)=>{f(!1),m(O=>{const T={...O.filters,[P]:L};return i==null||i({...O.filters,[P]:L}),{...O,filters:T}})},properties:n,logger:t,apiClient:e}),u.enableJobAlerts&&g("div",{class:"flex justify-center px-4 md:px-0",children:g(_h,{appliedFilters:d.filters,analytics:o,apiClient:e,logger:t,theme:u.theme})})]}):null]})}),g("div",{class:"md:col-span-2",children:g("section",{class:"flex flex-col gap-4 px-4 py-4 md:px-0",children:g(Bt,{Fallback:Ge,children:g(D_,{state:d,logger:t,apiClient:e,jobCardConfig:u.jobCard,initialData:v?a==null?void 0:a.jobs:void 0,onResultsUpdate:P=>{w(P.totalCount)},onJobClick:y,onPaginate:k,mode:(N=u.naturalLanguageSearch)!=null&&N.enabled?"vector":"query"},lr({state:d,baseKey:"resultsSection"}))})})})]})]})})},I_=({appRef:e,analytics:t,state:n,defaultFilters:r,totalCount:o,hasInteracted:a})=>{const i=ht((u=1)=>({query:n.query,mode:n.mode,filters:Wo(n.filters),default_filters:Wo(r),total_count:o,page_size:Ct,page:u}),[n.query,n.mode,n.filters,r,o]);return Of(e,{minViewTime:2e3,onView:()=>{t.log({event:"VIEW_SEARCH",properties:i()})}}),re(()=>{const u=window.setTimeout(()=>{a&&(!n.query&&!Object.keys(Wo(n.filters)).length||o!==0&&t.log({event:"SEARCH_SETTLE",properties:i()}))},5e3);return()=>{clearTimeout(u)}},[t,a,i,o,n.query,n.filters]),{onJobClick:(u,h)=>{t.log({event:"SEARCH_JOB_CLICK",properties:{job_id:u.id,...i(h)}})},onPaginate:u=>{t.log({event:"SEARCH_PAGINATE",properties:i(u)})}}},M_=`#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}#ijs input[type=search]::-webkit-search-decoration,#ijs input[type=search]::-webkit-search-cancel-button,#ijs input[type=search]::-webkit-search-results-button,#ijs input[type=search]::-webkit-search-results-decoration{-webkit-appearance:none}@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 .inset-x-10{left:2.5rem;right:2.5rem}#ijs .inset-y-0{top:0;bottom:0}#ijs .bottom-0{bottom:0}#ijs .left-0{left:0}#ijs .right-0{right:0}#ijs .top-0{top:0}#ijs .top-12{top:3rem}#ijs .isolate{isolation:isolate}#ijs .z-10{z-index:10}#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 .mb-2{margin-bottom:.5rem}#ijs .ml-auto{margin-left:auto}#ijs .mt-0\\.5{margin-top:.125rem}#ijs .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}#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 .size-4{width:1rem;height:1rem}#ijs .size-\\[1lh\\]{width:1lh;height:1lh}#ijs .h-10{height:2.5rem}#ijs .h-12{height:3rem}#ijs .h-4{height:1rem}#ijs .h-6{height:1.5rem}#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-10{width:2.5rem}#ijs .w-4{width:1rem}#ijs .w-6{width:1.5rem}#ijs .w-64{width:16rem}#ijs .w-\\[10ch\\]{width:10ch}#ijs .w-\\[3ch\\]{width:3ch}#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 .rotate-90{--tw-rotate: 90deg;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 .scale-90{--tw-scale-x: .9;--tw-scale-y: .9;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 appear-tag{0%{transform:scale(.9)}to{transform:scale(1)}}#ijs .animate-appear-tag{animation:appear-tag .6s cubic-bezier(.16,1,.3,1) both}@keyframes selected-tag{0%{transform:scale(1.11)}to{transform:scale(1)}}#ijs .animate-selected-tag{animation:selected-tag .9s cubic-bezier(.16,1,.3,1)}@keyframes skeleton{0%{opacity:.2}50%{opacity:.6}to{opacity:.25}}#ijs .animate-skeleton{animation:skeleton 1.2s cubic-bezier(.4,0,.6,1) infinite}@keyframes slide-in-bottom{0%{transform:translateY(-50%)}to{transform:translateY(0)}}#ijs .animate-slide-in-bottom{animation:slide-in-bottom .4s cubic-bezier(.16,1,.3,1) both}#ijs .cursor-default{cursor:default}#ijs .cursor-pointer{cursor:pointer}#ijs .cursor-text{cursor:text}#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 .whitespace-nowrap{white-space:nowrap}#ijs .text-balance{text-wrap:balance}#ijs .text-pretty{text-wrap:pretty}#ijs .break-words{overflow-wrap:break-word}#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-10{padding-left:2.5rem;padding-right:2.5rem}#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-0\\.5{padding-top:.125rem;padding-bottom:.125rem}#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-10{padding-left:2.5rem}#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-10{padding-right:2.5rem}#ijs .pr-2\\.5{padding-right:.625rem}#ijs .pr-3{padding-right:.75rem}#ijs .pr-4{padding-right:1rem}#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.1rem}#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 .tracking-tight{letter-spacing:-.025em}#ijs .\\!text-transparent{color:transparent!important}#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-icon{color:var(--i-copy-accent-icon)}#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 .opacity-30{opacity:.3}#ijs .opacity-50{opacity:.5}#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 .shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 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)!important}#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 .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}#ijs .duration-500{transition-duration:.5s}#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 .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,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 .selection\\:bg-accent-4 *::-moz-selection{background-color:var(--i-color-a-4)}#ijs .selection\\:bg-accent-4 *::selection{background-color:var(--i-color-a-4)}#ijs .selection\\:text-accent-12 *::-moz-selection{color:var(--i-color-a-12)}#ijs .selection\\:text-accent-12 *::selection{color:var(--i-color-a-12)}#ijs .selection\\:bg-accent-4::-moz-selection{background-color:var(--i-color-a-4)}#ijs .selection\\:bg-accent-4::selection{background-color:var(--i-color-a-4)}#ijs .selection\\:text-accent-12::-moz-selection{color:var(--i-color-a-12)}#ijs .selection\\:text-accent-12::selection{color:var(--i-color-a-12)}#ijs .placeholder\\:\\!text-transparent::-moz-placeholder{color:transparent!important}#ijs .placeholder\\:\\!text-transparent::placeholder{color:transparent!important}#ijs .placeholder\\:text-copy-neutral::-moz-placeholder{color:var(--i-copy)}#ijs .placeholder\\:text-copy-neutral::placeholder{color:var(--i-copy)}#ijs .placeholder\\:opacity-30::-moz-placeholder{opacity:.3}#ijs .placeholder\\:opacity-30::placeholder{opacity:.3}#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-job-card-bg-active:hover{background-color:var(--i-job-card-bg-active)}#ijs .hover\\:bg-neutral-2:hover{background-color:var(--i-color-n-2)}#ijs .hover\\:ring-job-card-stroke-active:hover{--tw-ring-color: var(--i-job-card-stroke-color-active)}#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 .disabled\\:bg-interactive-neutral-bg:disabled{background-color:var(--i-interactive-neutral-bg)}#ijs .disabled\\:text-interactive-neutral-bg-hover:disabled{color:var(--i-interactive-neutral-bg-hover)}#ijs .disabled\\:opacity-50:disabled{opacity:.5}#ijs .disabled\\:hover\\:disabled\\:bg-interactive-neutral-bg:disabled:hover:disabled{background-color:var(--i-interactive-neutral-bg)}#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 .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:right-0{right:0}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:right-0{right:0}#ijs .peer:-moz-placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#ijs .peer:placeholder-shown~.peer-placeholder-shown\\:hidden{display:none}#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))}@keyframes pulse{50%{opacity:.5}}#ijs .data-\\[state\\=loading\\]\\:animate-pulse[data-state=loading]{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}#ijs .data-\\[state\\=idle\\]\\:opacity-0[data-state=idle]{opacity:0}#ijs .data-\\[state\\=idle\\]\\:opacity-100[data-state=idle]{opacity:1}@keyframes ai-letter{0%{color:var(--i-copy);transform:scale(1)}50%{transform:scale(1.125)}75%{color:var(--i-interactive-accent-text);transform:scale(1.0625)}to{color:var(--i-interactive-accent-text);transform:scale(1)}}#ijs .group[data-synced=true] .group-data-\\[synced\\=true\\]\\:animate-ai-letter{animation:ai-letter .6s cubic-bezier(.68,-.6,.32,1.6) both}@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\\:flex-row{flex-direction:row}}@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"],H_={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]}},z_=(e,t=1,n)=>r=>{const[o,a]=H_[n][r];return"oklch("+o+"% "+a*t+" "+e+")"},Bo=e=>{const t=z_(e.hue,e.chroma,e.mode);return Object.fromEntries(F_.map(n=>[e.prefix+n,e.transform(t(n))]))},Yo=e=>e,V_=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[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(t)},hr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),qo=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(hr(e)&&hr(n))for(const r in n){const o=n[r];if(hr(o)){e[r]||Object.assign(e,{[r]:{}});const a=e[r];hr(a)&&qo(a,o)}else Object.assign(e,{[r]:n[r]})}return qo(e,...t)},U_=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},W_=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:a}=r,i=p=>a("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:i,raw:{core:s}}),u=n({theme:o,core:i,semantic:i,raw:{core:s,semantic:l}}),h=V_(qo(s,l,u)),c=([p,v],f)=>{const d=[f,p].filter(Boolean).join(".");return typeof v=="object"?Object.entries(v).flatMap(m=>c(m,d)):[[r.getToken("declaration",d),v]]};return{values:h,declarations:Object.fromEntries(Object.entries(h).flatMap(p=>c(p))),ref:p=>a("reference",p.toString())}}})})})});const Se=e=>{const t=[],n=r=>({with:(o,a)=>(t.push({pattern:o,fn:a}),n(r)),otherwise:o=>{e:for(const{fn:a,pattern:i}of t){for(const s in i)if(i[s]!==r[s])continue e;return a(r)}if(o)return o(r);throw new Error("No pattern matched")}});return n(e)},[Ko,Go,Ze]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],B_=W_().core(({theme:e})=>{var t,n,r,o;return{color:{black:Ko,white:Go,lowest:e.mode==="light"?Go:Ko,highest:e.mode==="light"?Ko:Go,...Bo({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Yo}),...Bo({prefix:"n-",hue:((t=e.neutral)==null?void 0:t.hue)??e.accent.hue,chroma:((n=e.neutral)==null?void 0:n.chroma)??.05,mode:e.mode,transform:Yo}),...Bo({prefix:"m-",hue:((r=e.monetary)==null?void 0:r.hue)??140,chroma:((o=e.monetary)==null?void 0:o.chroma)??1,mode:e.mode,transform:Yo})}}}).semantic(({core:e,theme:t,raw:n})=>{var s,l,u,h,c,p,v,f,d,m,_,b,x,w,y,k,S,j,$,C,I;const r=(M,N)=>n.core.color[M].replace(")",` / ${N})`),{typography:o,highlights:a}=t,i=((s=t.accessibility)==null?void 0:s.highContrast)??!1;return{"filters-offset-top":(t.filtersOffsetTopPx??112)+"px",font:o.fontFamily??"inherit","font-style":o.style??"inherit","font-filter":((l=o.filter)==null?void 0:l.fontFamily)??o.fontFamily??"inherit","font-job-heading":((u=t.typography.jobHeading)==null?void 0:u.fontFamily)??t.typography.fontFamily??"inherit","font-tag":((h=o.tag)==null?void 0:h.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":((f=(v=o.filter)==null?void 0:v.weight)==null?void 0:f.toString())??((d=o.weight)==null?void 0:d.toString())??"inherit","style-tag":((m=o.tag)==null?void 0:m.style)??o.style??"inherit","style-job-heading":((_=o.jobHeading)==null?void 0:_.style)??o.style??"inherit","weight-tag":((x=(b=o.tag)==null?void 0:b.weight)==null?void 0:x.toString())??((w=o.weight)==null?void 0:w.toString())??"inherit","weight-job-heading":((k=(y=o.jobHeading)==null?void 0:y.weight)==null?void 0:k.toString())??((S=o.weight)==null?void 0:S.toString())??"inherit","style-input":((j=o.input)==null?void 0:j.style)??o.style??"inherit","weight-input":((C=($=o.input)==null?void 0:$.weight)==null?void 0:C.toString())??((I=o.weight)==null?void 0:I.toString())??"inherit","app-bg":e("color.lowest"),copy:e(i?"color.highest":"color.n-12"),"copy-lowcontrast":e("color.n-11"),"copy-info":e(i?"color.n-11":"color.n-10"),"copy-icon":e(i?"color.n-12":"color.n-11"),"copy-accent":e(i?"color.highest":"color.a-12"),"copy-accent-lowcontrast":e(i?"color.a-12":"color.a-11"),"copy-accent-icon":e(i?"color.a-12":"color.a-11"),"copy-inverted":e("color.lowest"),"copy-inverted-lowcontrast":e("color.n-4"),"copy-inverted-icon":e("color.n-3"),"tag-neutral-weak-bg":a==="fill"?e("color.n-2"):Ze,"tag-neutral-weak-copy":e("color.n-12"),"tag-neutral-weak-stroke-color":e(a==="stroke"?"color.n-5":"color.n-3"),"tag-neutral-strong-bg":a==="fill"?e("color.n-12"):Ze,"tag-neutral-strong-copy":e(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":e("color.m-3"),"tag-monetary-weak-copy":e("color.m-11"),"tag-monetary-weak-stroke-color":e("color.m-4"),"tag-accent-strong-bg":t.mode==="dark"?e("color.a-9"):e("color.a-11"),"tag-accent-strong-copy":e("color.white"),"tag-accent-strong-stroke-color":Ze,"radius-app":Se(t).with({corners:"rounded"},()=>"2rem").with({corners:"soft"},()=>"2rem").otherwise(()=>"0"),"radius-section":Se(t).with({corners:"rounded"},()=>"1rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-input":Se(t).with({corners:"rounded"},()=>".5rem").with({corners:"soft"},()=>".25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-card":Se(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"0.5rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-job-tag":Se(t).with({corners:"rounded"},()=>"0.5rem").with({corners:"soft"},()=>"0.25rem").with({corners:"sharp"},()=>"0").otherwise(),"radius-logo":Se(t).with({corners:"rounded"},()=>".25rem").with({corners:"soft"},()=>".125rem").with({corners:"sharp"},()=>"0").otherwise(),"logo-gap":Se(t).with({corners:"rounded"},()=>"0.75rem").with({corners:"soft"},()=>"1rem").with({corners:"sharp"},()=>"1rem").otherwise(),"interactive-neutral-bg":r(i?"n-5":"n-4",.01),"interactive-neutral-bg-hover":e(i?"color.n-5":"color.n-4"),"interactive-neutral-text":e("color.n-12"),"interactive-accent-bg":r(a==="fill"?"a-4":"a-3",.01),"interactive-accent-bg-hover":e(a==="fill"?"color.a-4":"color.a-3"),"interactive-accent-text":e("color.a-11"),"radius-interactive":Se(t).with({corners:"rounded"},()=>"1.5rem").with({corners:"soft"},()=>".5rem").with({corners:"sharp"},()=>"0").otherwise(),"section-weak-bg":a==="fill"?e("color.n-2"):Ze,"section-strong-bg":a==="fill"?e(i?"color.n-3":"color.n-2"):Ze,"section-weak-stroke-color":a==="fill"?Ze:e(i?"color.n-7":"color.n-3"),"section-strong-stroke-color":a==="fill"?Ze:e(i?"color.n-11":"color.n-4"),"section-stroke-width":Se(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px"),"job-card-bg":Se(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ze),"job-card-bg-active":Se(t).with({highlights:"fill"},()=>e("color.lowest")).otherwise(()=>Ze),"job-card-stroke-color":e(i?"color.n-10":"color.n-4"),"job-card-stroke-color-active":e("color.a-9"),"job-card-stroke-width":Se(t).with({highlights:"stroke",highcontrast:!0},()=>"1.5px").otherwise(()=>"1px")}}).component(()=>({})),Y_=U_({prefix:"i-"}),q_=e=>{const t=B_.from({theme:e,getToken:Y_}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${Oi} {
|
|
19
19
|
${n.concat(n).join(`
|
|
20
20
|
`)}
|
|
21
|
-
}`},Ag=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${ns}`);return je(e,`Element with id ${ns} not found.`),e}}))(),Tg=()=>ma(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var i;return re(En,{Fallback:sf},[re(rf,{terms:o.terms,children:[re("style",{id:"inploi-job-search-styles"},yg),re("style",{id:"inploi-job-search-theme"},Og(o.theme)),re(lf,{theme:o.theme}),re(mg,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(i=o.theme.accessibility)!=null&&i.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,params:o})]})])};return{prerender:async o=>{o.defaultSearchKeyword&&(Rt.keyword$.value=o.defaultSearchKeyword);const i=o.withData?await ss({filters:ai(o.properties),apiClient:e,logger:t,keyword:void 0,t:of(o.terms??{})}).then(a=>({jobs:a})).catch(()=>{}):void 0;return{html:xd(re(F,{},re(r,{params:{...o,initialData:i}}))),data:i}},render:async o=>{const i=o.initialData?ao:Wt;o.defaultSearchKeyword&&(Rt.keyword$.value=o.defaultSearchKeyword),je(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),i(re(r,{params:o}),Ag.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=Tg;function zc(e,t){if(!e)throw new Error(t)}var Ln,P,Wc,Bc,Dt,Yc,Kc,fi,pi,hi,vi,qc,Mn={},Gc=[],Pg=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,kr=Array.isArray;function Je(e,t){for(var n in t)e[n]=t[n];return e}function Xc(e){var t=e.parentNode;t&&t.removeChild(e)}function A(e,t,n){var r,o,i,a={};for(i in t)i=="key"?r=t[i]:i=="ref"?o=t[i]:a[i]=t[i];if(arguments.length>2&&(a.children=arguments.length>3?Ln.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(i in e.defaultProps)a[i]===void 0&&(a[i]=e.defaultProps[i]);return In(e,a,r,o,null)}function In(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:o??++Wc,__i:-1,__u:0};return o==null&&P.vnode!=null&&P.vnode(i),i}function Zc(){return{current:null}}function oe(e){return e.children}function Oe(e,t){this.props=e,this.context=t}function Nt(e,t){if(t==null)return e.__?Nt(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?Nt(e):null}function Jc(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return Jc(e)}}function _i(e){(!e.__d&&(e.__d=!0)&&Dt.push(e)&&!$r.__r++||Yc!==P.debounceRendering)&&((Yc=P.debounceRendering)||Kc)($r)}function $r(){var e,t,n,r,o,i,a,s;for(Dt.sort(fi);e=Dt.shift();)e.__d&&(t=Dt.length,r=void 0,i=(o=(n=e).__v).__e,a=[],s=[],n.__P&&((r=Je({},o)).__v=o.__v+1,P.vnode&&P.vnode(r),gi(n.__P,r,o,n.__n,n.__P.namespaceURI,32&o.__u?[i]:null,a,i??Nt(o),!!(32&o.__u),s),r.__v=o.__v,r.__.__k[r.__i]=r,rl(a,r,s),r.__e!=i&&Jc(r)),Dt.length>t&&Dt.sort(fi));$r.__r=0}function Qc(e,t,n,r,o,i,a,s,l,u,f){var c,p,d,v,h,g=r&&r.__k||Gc,_=t.length;for(n.__d=l,Rg(n,t,g),l=n.__d,c=0;c<_;c++)(d=n.__k[c])!=null&&typeof d!="boolean"&&typeof d!="function"&&(p=d.__i===-1?Mn:g[d.__i]||Mn,d.__i=c,gi(e,d,p,o,i,a,s,l,u,f),v=d.__e,d.ref&&p.ref!=d.ref&&(p.ref&&wi(p.ref,null,d),f.push(d.ref,d.__c||v,d)),h==null&&v!=null&&(h=v),65536&d.__u||p.__k===d.__k?(l&&typeof d.type=="string"&&!e.contains(l)&&(l=Nt(p)),l=el(d,l,e)):typeof d.type=="function"&&d.__d!==void 0?l=d.__d:v&&(l=v.nextSibling),d.__d=void 0,d.__u&=-196609);n.__d=l,n.__e=h}function Rg(e,t,n){var r,o,i,a,s,l=t.length,u=n.length,f=u,c=0;for(e.__k=[],r=0;r<l;r++)a=r+c,(o=e.__k[r]=(o=t[r])==null||typeof o=="boolean"||typeof o=="function"?null:typeof o=="string"||typeof o=="number"||typeof o=="bigint"||o.constructor==String?In(null,o,null,null,null):kr(o)?In(oe,{children:o},null,null,null):o.constructor===void 0&&o.__b>0?In(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)!=null?(o.__=e,o.__b=e.__b+1,s=Dg(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==e.__d&&(e.__d=Nt(i)),mi(i,i,!1),n[a]=null,f--);if(f)for(r=0;r<u;r++)(i=n[r])!=null&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=Nt(i)),mi(i,i))}function el(e,t,n){var r,o;if(typeof e.type=="function"){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=el(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType===8);return t}function Qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(kr(e)?e.some(function(n){Qe(n,t)}):t.push(e)),t}function Dg(e,t,n,r){var o=e.key,i=e.type,a=n-1,s=n+1,l=t[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<t.length;){if(a>=0){if((l=t[a])&&!(131072&l.__u)&&o==l.key&&i===l.type)return a;a--}if(s<t.length){if((l=t[s])&&!(131072&l.__u)&&o==l.key&&i===l.type)return s;s++}}return-1}function tl(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Pg.test(t)?n:n+"px"}function jr(e,t,n,r,o){var i;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||tl(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||tl(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||t==="onFocusOut"||t==="onFocusIn"?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=pi,e.addEventListener(t,i?vi:hi,i)):e.removeEventListener(t,i?vi:hi,i);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function nl(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t.t==null)t.t=pi++;else if(t.t<n.u)return;return n(P.event?P.event(t):t)}}}function gi(e,t,n,r,o,i,a,s,l,u){var f,c,p,d,v,h,g,_,m,x,b,y,k,C,$,O,j=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(l=!!(32&n.__u),i=[s=t.__e=n.__e]),(f=P.__b)&&f(t);e:if(typeof j=="function")try{if(_=t.props,m="prototype"in j&&j.prototype.render,x=(f=j.contextType)&&r[f.__c],b=f?x?x.props.value:f.__:r,n.__c?g=(c=t.__c=n.__c).__=c.__E:(m?t.__c=c=new j(_,b):(t.__c=c=new Oe(_,b),c.constructor=j,c.render=Lg),x&&x.sub(c),c.props=_,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&&j.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Je({},c.__s)),Je(c.__s,j.getDerivedStateFromProps(_,c.__s))),d=c.props,v=c.state,c.__v=t,p)m&&j.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),m&&c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if(m&&j.getDerivedStateFromProps==null&&_!==d&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,b),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,b)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(D){D&&(D.__=t)}),y=0;y<c._sb.length;y++)c.__h.push(c._sb[y]);c._sb=[],c.__h.length&&a.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,b),m&&c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(d,v,h)})}if(c.context=b,c.props=_,c.__P=e,c.__e=!1,k=P.__r,C=0,m){for(c.state=c.__s,c.__d=!1,k&&k(t),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(t),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=Je(Je({},r),c.getChildContext())),m&&!p&&c.getSnapshotBeforeUpdate!=null&&(h=c.getSnapshotBeforeUpdate(d,v)),Qc(e,kr(O=f!=null&&f.type===oe&&f.key==null?f.props.children:f)?O:[O],t,n,r,o,i,a,s,l,u),c.base=t.__e,t.__u&=-161,c.__h.length&&a.push(c),g&&(c.__E=c.__=null)}catch(D){t.__v=null,l||i!=null?(t.__e=s,t.__u|=l?160:32,i[i.indexOf(s)]=null):(t.__e=n.__e,t.__k=n.__k),P.__e(D,t,n)}else i==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Ng(n.__e,t,n,r,o,i,a,l,u);(f=P.diffed)&&f(t)}function rl(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)wi(n[r],n[++r],n[++r]);P.__c&&P.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(i){i.call(o)})}catch(i){P.__e(i,o.__v)}})}function Ng(e,t,n,r,o,i,a,s,l){var u,f,c,p,d,v,h,g=n.props,_=t.props,m=t.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)){e=d,i[u]=null;break}}if(e==null){if(m===null)return document.createTextNode(_);e=document.createElementNS(o,m,_.is&&_),i=null,s=!1}if(m===null)g===_||s&&e.data===_||(e.data=_);else{if(i=i&&Ln.call(e.childNodes),g=n.props||Mn,!s&&i!=null)for(g={},u=0;u<e.attributes.length;u++)g[(d=e.attributes[u]).name]=d.value;for(u in g)if(d=g[u],u!="children"){if(u=="dangerouslySetInnerHTML")c=d;else if(u!=="key"&&!(u in _)){if(u=="value"&&"defaultValue"in _||u=="checked"&&"defaultChecked"in _)continue;jr(e,u,null,d,o)}}for(u in _)d=_[u],u=="children"?p=d:u=="dangerouslySetInnerHTML"?f=d:u=="value"?v=d:u=="checked"?h=d:u==="key"||s&&typeof d!="function"||g[u]===d||jr(e,u,d,g[u],o);if(f)s||c&&(f.__html===c.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),t.__k=[];else if(c&&(e.innerHTML=""),Qc(e,kr(p)?p:[p],t,n,r,m==="foreignObject"?"http://www.w3.org/1999/xhtml":o,i,a,i?i[0]:n.__k&&Nt(n,0),s,l),i!=null)for(u=i.length;u--;)i[u]!=null&&Xc(i[u]);s||(u="value",v!==void 0&&(v!==e[u]||m==="progress"&&!v||m==="option"&&v!==g[u])&&jr(e,u,v,g[u],o),u="checked",h!==void 0&&h!==e[u]&&jr(e,u,h,g[u],o))}return e}function wi(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){P.__e(r,n)}}function mi(e,t,n){var r,o;if(P.unmount&&P.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||wi(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(i){P.__e(i,t)}r.base=r.__P=null}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&mi(r[o],t,n||typeof e.type!="function");n||e.__e==null||Xc(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function Lg(e,t,n){return this.constructor(e,n)}function en(e,t,n){var r,o,i,a;P.__&&P.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,i=[],a=[],gi(t,e=(!r&&n||t).__k=A(oe,null,[e]),o||Mn,Mn,t.namespaceURI,!r&&n?[n]:o?null:t.firstChild?Ln.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r,a),rl(i,e,a)}function yi(e,t){en(e,t,yi)}function Mg(e,t,n){var r,o,i,a,s=Je({},e.props);for(i in e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)i=="key"?r=t[i]:i=="ref"?o=t[i]:s[i]=t[i]===void 0&&a!==void 0?a[i]:t[i];return arguments.length>2&&(s.children=arguments.length>3?Ln.call(arguments,2):n),In(e.type,s,r||e.key,o||e.ref,null)}function Fn(e,t){var n={__c:t="__cC"+qc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,i;return this.getChildContext||(o=[],(i={})[t]=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,_i(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}Ln=Gc.slice,P={__e:function(e,t,n,r){for(var o,i,a;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&i.getDerivedStateFromError!=null&&(o.setState(i.getDerivedStateFromError(e)),a=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),a=o.__d),a)return o.__E=o}catch(s){e=s}throw e}},Wc=0,Bc=function(e){return e!=null&&e.constructor==null},Oe.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Je({},this.state),typeof e=="function"&&(e=e(Je({},n),this.props)),e&&Je(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),_i(this))},Oe.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_i(this))},Oe.prototype.render=oe,Dt=[],Kc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fi=function(e,t){return e.__v.__b-t.__v.__b},$r.__r=0,pi=0,hi=nl(!1),vi=nl(!0),qc=0;var ol=/[\s\n\\/='"\0<>]/,il=/^(xlink|xmlns|xml)([A-Z])/,Ig=/^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]/,Fg=/^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/,Hg=/["&<]/;function Sr(e){if(e.length===0||Hg.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var al={},Ug=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"]),Vg=/[A-Z]/g;function zg(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:al[n]||(al[n]=n.replace(Vg,"-$&").toLowerCase()),i=";";typeof r!="number"||o.startsWith("--")||Ug.has(o)||(i="px;"),t=t+o+":"+r+i}}return t||void 0}var bi,Lt,Hn,Un,sl=[],cl=Array.isArray,xi=Object.assign;function Wg(e,t,n){var r=P.__s;P.__s=!0,bi=P.__b,Lt=P.diffed,Hn=P.__r,Un=P.unmount;var o=A(oe,null);o.__k=[e];try{var i=He(e,t||ul,!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(e,sl),P.__s=r,sl.length=0}}function ll(){this.__d=!0}var ul={};function dl(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=ul),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=xi({},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(),Hn&&Hn(e),n.render(n.props,n.state,t)}function He(e,t,n,r,o,i,a){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":Sr(e+"");if(cl(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var f=e[u];if(f!=null&&typeof f!="boolean"){var c,p=He(f,t,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(e.constructor!==void 0)return"";e.__=o,bi&&bi(e);var d,v,h,g=e.type,_=e.props,m=t;if(typeof g=="function"){if(g===oe){if(_.tpl){for(var x="",b=0;b<_.tpl.length;b++)if(x+=_.tpl[b],_.exprs&&b<_.exprs.length){var y=_.exprs[b];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!cl(y)?x+=y:x+=He(y,t,n,r,e,i,a)}return x}if(_.UNSTABLE_comment)return"<!--"+Sr(_.UNSTABLE_comment||"")+"-->";v=_.children}else{if((d=g.contextType)!=null){var k=t[d.__c];m=k?k.props.value:d.__}if(g.prototype&&typeof g.prototype.render=="function")v=dl(e,m),h=e.__c;else{e.__c=h={__v:e,props:_,context:m,setState:ll,forceUpdate:ll,__d:!0,__h:[]};for(var C=0;h.__d&&C++<25;)h.__d=!1,Hn&&Hn(e),v=g.call(h,_,m);h.__d=!0}if(h.getChildContext!=null&&(t=xi({},t,h.getChildContext())),(g.getDerivedStateFromError||h.componentDidCatch)&&P.errorBoundaries){var $="";v=v!=null&&v.type===oe&&v.key==null?v.props.children:v;try{return $=He(v,t,n,r,e,i,a)}catch(q){return g.getDerivedStateFromError&&(h.__s=g.getDerivedStateFromError(q)),h.componentDidCatch&&h.componentDidCatch(q,{}),h.__d&&(v=dl(e,t),(h=e.__c).getChildContext!=null&&(t=xi({},t,h.getChildContext())),$=He(v=v!=null&&v.type===oe&&v.key==null?v.props.children:v,t,n,r,e,i,a)),$}finally{Lt&&Lt(e),e.__=null,Un&&Un(e)}}}v=v!=null&&v.type===oe&&v.key==null&&v.props.tpl==null?v.props.children:v;try{var O=He(v,t,n,r,e,i,a);return Lt&&Lt(e),e.__=null,P.unmount&&P.unmount(e),O}catch(q){if(!i&&a&&a.onError){var j=a.onError(q,e,function(se){return He(se,t,n,r,e,i,a)});if(j!==void 0)return j;var D=P.__e;return D&&D(q,e),""}if(!i||!q||typeof q.then!="function")throw q;var I=function se(){try{return He(v,t,n,r,e,i,a)}catch(ue){if(!ue||typeof ue.then!="function")throw ue;return ue.then(function(){return He(v,t,n,r,e,i,a)},function(){return se()})}};return q.then(function(){return I()})}}var L,N="<"+g,M="";for(var S in _){var E=_[S];switch(S){case"children":L=E;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;S="for";break;case"className":if("class"in _)continue;S="class";break;case"defaultChecked":S="checked";break;case"defaultSelected":S="selected";break;case"defaultValue":case"value":switch(S="value",g){case"textarea":L=E;continue;case"select":r=E;continue;case"option":r!=E||"selected"in _||(N+=" selected")}break;case"dangerouslySetInnerHTML":M=E&&E.__html;continue;case"style":typeof E=="object"&&(E=zg(E));break;case"acceptCharset":S="accept-charset";break;case"httpEquiv":S="http-equiv";break;default:if(il.test(S))S=S.replace(il,"$1:$2").toLowerCase();else{if(ol.test(S))continue;S[4]!=="-"&&S!=="draggable"||E==null?n?Fg.test(S)&&(S=S==="panose1"?"panose-1":S.replace(/([A-Z])/g,"-$1").toLowerCase()):Ig.test(S)&&(S=S.toLowerCase()):E+=""}}E!=null&&E!==!1&&typeof E!="function"&&(N=E===!0||E===""?N+" "+S:N+" "+S+'="'+Sr(E+"")+'"')}if(ol.test(g))throw new Error(g+" is not a valid HTML tag name in "+N+">");if(M||(typeof L=="string"?M=Sr(L):L!=null&&L!==!1&&L!==!0&&(M=He(L,t,g==="svg"||g!=="foreignObject"&&n,r,e,i,a))),Lt&&Lt(e),e.__=null,Un&&Un(e),!M&&Bg.has(g))return N+"/>";var U="</"+g+">",z=N+">";return Array.isArray(M)?[z].concat(M,[U]):typeof M!="string"?[z,M,U]:z+M+U}var Bg=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),Yg=0;function R(e,t,n,r,o,i){t||(t={});var a,s,l=t;if("ref"in l)for(s in l={},t)s=="ref"?a=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--Yg,__i:-1,__u:0,__source:o,__self:i};if(typeof e=="function"&&(a=e.defaultProps))for(s in a)l[s]===void 0&&(l[s]=a[s]);return P.vnode&&P.vnode(u),u}const Kg={bell:R("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:R("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":R("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},qg=({theme:e})=>R("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:R("defs",{children:Object.entries(Kg).map(([t,n])=>R("symbol",{id:`i-icon-${t}`,children:R("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),fl=({name:e,...t})=>R("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:R("use",{href:`#i-icon-${e}`})});function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pe.apply(this,arguments)}var et,Y,ki,pl,tn=0,hl=[],ee=P,vl=ee.__b,_l=ee.__r,gl=ee.diffed,wl=ee.__c,ml=ee.unmount,yl=ee.__;function Mt(e,t){ee.__h&&ee.__h(Y,e,tn||t),tn=0;var n=Y.__H||(Y.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function K(e){return tn=1,Vn(xl,e)}function Vn(e,t,n){var r=Mt(et++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):xl(void 0,t),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=Y,!Y.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))};Y.u=!0;var i=Y.shouldComponentUpdate,a=Y.componentWillUpdate;Y.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)},Y.shouldComponentUpdate=o}return r.__N||r.__}function J(e,t){var n=Mt(et++,3);!ee.__s&&Ci(n.__H,t)&&(n.__=e,n.i=t,Y.__H.__h.push(n))}function wt(e,t){var n=Mt(et++,4);!ee.__s&&Ci(n.__H,t)&&(n.__=e,n.i=t,Y.__h.push(n))}function V(e){return tn=5,_e(function(){return{current:e}},[])}function $i(e,t,n){tn=6,wt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function _e(e,t){var n=Mt(et++,7);return Ci(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function ae(e,t){return tn=8,_e(function(){return e},t)}function zn(e){var t=Y.context[e.__c],n=Mt(et++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(Y)),t.props.value):e.__}function ji(e,t){ee.useDebugValue&&ee.useDebugValue(t?t(e):e)}function Gg(e){var t=Mt(et++,10),n=K();return t.__=e,Y.componentDidCatch||(Y.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Si(){var e=Mt(et++,11);if(!e.__){for(var t=Y.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function Xg(){for(var e;e=hl.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Er),e.__H.__h.forEach(Ei),e.__H.__h=[]}catch(t){e.__H.__h=[],ee.__e(t,e.__v)}}ee.__b=function(e){Y=null,vl&&vl(e)},ee.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),yl&&yl(e,t)},ee.__r=function(e){_l&&_l(e),et=0;var t=(Y=e.__c).__H;t&&(ki===Y?(t.__h=[],Y.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.i=n.__N=void 0})):(t.__h.forEach(Er),t.__h.forEach(Ei),t.__h=[],et=0)),ki=Y},ee.diffed=function(e){gl&&gl(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(hl.push(t)!==1&&pl===ee.requestAnimationFrame||((pl=ee.requestAnimationFrame)||Zg)(Xg)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.i=void 0})),ki=Y=null},ee.__c=function(e,t){t.some(function(n){try{n.__h.forEach(Er),n.__h=n.__h.filter(function(r){return!r.__||Ei(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],ee.__e(r,n.__v)}}),wl&&wl(e,t)},ee.unmount=function(e){ml&&ml(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{Er(r)}catch(o){t=o}}),n.__H=void 0,t&&ee.__e(t,n.__v))};var bl=typeof requestAnimationFrame=="function";function Zg(e){var t,n=function(){clearTimeout(r),bl&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);bl&&(t=requestAnimationFrame(n))}function Er(e){var t=Y,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),Y=t}function Ei(e){var t=Y;e.__c=e.__(),Y=t}function Ci(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function xl(e,t){return typeof t=="function"?t(e):t}function kl(e,t){for(var n in t)e[n]=t[n];return e}function Oi(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function Cr(e,t){this.props=e,this.context=t}function $l(e,t){function n(o){var i=this.props.ref,a=i==o.ref;return!a&&i&&(i.call?i(null):i.current=null),t?!t(this.props,o)||!a:Oi(this.props,o)}function r(o){return this.shouldComponentUpdate=n,A(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(Cr.prototype=new Oe).isPureReactComponent=!0,Cr.prototype.shouldComponentUpdate=function(e,t){return Oi(this.props,e)||Oi(this.state,t)};var jl=P.__b;P.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),jl&&jl(e)};var Jg=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function le(e){function t(n){var r=kl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=Jg,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Sl=function(e,t){return e==null?null:Qe(Qe(e).map(t))},tt={map:Sl,forEach:Sl,count:function(e){return e?Qe(e).length:0},only:function(e){var t=Qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Qe},Qg=P.__e;P.__e=function(e,t,n,r){if(e.then){for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}Qg(e,t,n,r)};var El=P.unmount;function Cl(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=kl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return Cl(r,t,n)})),e}function Ol(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return Ol(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function Wn(){this.__u=0,this.t=null,this.__b=null}function Al(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Tl(e){var t,n,r;function o(i){if(t||(t=e()).then(function(a){n=a.default||a},function(a){r=a}),r)throw r;if(!n)throw t;return A(n,i)}return o.displayName="Lazy",o.__f=!0,o}function nn(){this.u=null,this.o=null}P.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),El&&El(e)},(Wn.prototype=new Oe).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=Al(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]=Ol(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&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(a,a)},Wn.prototype.componentWillUnmount=function(){this.t=[]},Wn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Cl(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&A(oe,null,e.fallback);return o&&(o.__u&=-33),[A(oe,null,t.__a?null:e.children),o]};var Pl=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function e0(e){return this.getChildContext=function(){return e.context},e.children}function t0(e){var t=this,n=e.i;t.componentWillUnmount=function(){en(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],contains:function(){return!0},appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),en(A(e0,{context:t.context},e.__v),t.l)}function Rl(e,t){var n=A(t0,{__v:e,i:t});return n.containerInfo=t,n}(nn.prototype=new Oe).__a=function(e){var t=this,n=Al(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),Pl(t,e,r)):o()};n?n(i):i()}},nn.prototype.render=function(e){this.u=null,this.o=new Map;var t=Qe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},nn.prototype.componentDidUpdate=nn.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){Pl(e,n,t)})};var Dl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,n0=/^(?: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]/,r0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,o0=/[A-Z0-9]/g,i0=typeof document<"u",a0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function Nl(e,t,n){return t.__k==null&&(t.textContent=""),en(e,t),typeof n=="function"&&n(),e?e.__c:null}function Ll(e,t,n){return yi(e,t),typeof n=="function"&&n(),e?e.__c:null}Oe.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Oe.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ml=P.event;function s0(){}function c0(){return this.cancelBubble}function l0(){return this.defaultPrevented}P.event=function(e){return Ml&&(e=Ml(e)),e.persist=s0,e.isPropagationStopped=c0,e.isDefaultPrevented=l0,e.nativeEvent=e};var Ai,u0={enumerable:!1,configurable:!0,get:function(){return this.class}},Il=P.vnode;P.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var i in n){var a=n[i];if(!(i==="value"&&"defaultValue"in n&&a==null||i0&&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"||a0(n.type)?s==="onfocus"?i="onfocusin":s==="onblur"?i="onfocusout":r0.test(i)?i=s:r.indexOf("-")===-1&&n0.test(i)?i=i.replace(o0,"-$&").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=Qe(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Qe(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",u0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=Dl,Il&&Il(e)};var Fl=P.__r;P.__r=function(e){Fl&&Fl(e),Ai=e.__c};var Hl=P.diffed;P.diffed=function(e){Hl&&Hl(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),Ai=null};var Ul={ReactCurrentDispatcher:{current:{readContext:function(e){return Ai.__n[e.__c].props.value},useCallback:ae,useContext:zn,useDebugValue:ji,useDeferredValue:Pi,useEffect:J,useId:Si,useImperativeHandle:$i,useInsertionEffect:Di,useLayoutEffect:wt,useMemo:_e,useReducer:Vn,useRef:V,useState:K,useSyncExternalStore:Ni,useTransition:Ri}}},d0="17.0.2";function Vl(e){return A.bind(null,e)}function nt(e){return!!e&&e.$$typeof===Dl}function zl(e){return nt(e)&&e.type===oe}function Wl(e){return!!e&&!!e.displayName&&(typeof e.displayName=="string"||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")}function rn(e){return nt(e)?Mg.apply(null,arguments):e}function Bl(e){return!!e.__k&&(en(null,e),!0)}function Yl(e){return e&&(e.base||e.nodeType===1&&e)||null}var Kl=function(e,t){return e(t)},Bn=function(e,t){return e(t)},ql=oe;function Ti(e){e()}function Pi(e){return e}function Ri(){return[!1,Ti]}var Di=wt,Gl=nt;function Ni(e,t){var n=t(),r=K({h:{__:n,v:t}}),o=r[0].h,i=r[1];return wt(function(){o.__=n,o.v=t,Li(o)&&i({h:o})},[e,n,t]),J(function(){return Li(o)&&i({h:o}),e(function(){Li(o)&&i({h:o})})},[e]),n}function Li(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(t!==0||1/t==1/n)||t!=t&&n!=n)}catch{return!0}}var Xl={useState:K,useId:Si,useReducer:Vn,useEffect:J,useLayoutEffect:wt,useInsertionEffect:Di,useTransition:Ri,useDeferredValue:Pi,useSyncExternalStore:Ni,startTransition:Ti,useRef:V,useImperativeHandle:$i,useMemo:_e,useCallback:ae,useContext:zn,useDebugValue:ji,version:"17.0.2",Children:tt,render:Nl,hydrate:Ll,unmountComponentAtNode:Bl,createPortal:Rl,createElement:A,createContext:Fn,createFactory:Vl,cloneElement:rn,createRef:Zc,Fragment:oe,isValidElement:nt,isElement:Gl,isFragment:zl,isMemo:Wl,findDOMNode:Yl,Component:Oe,PureComponent:Cr,memo:$l,forwardRef:le,flushSync:Bn,unstable_batchedUpdates:Kl,StrictMode:ql,Suspense:Wn,SuspenseList:nn,lazy:Tl,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ul};const f0=Object.freeze(Object.defineProperty({__proto__:null,Children:tt,Component:Oe,Fragment:oe,PureComponent:Cr,StrictMode:ql,Suspense:Wn,SuspenseList:nn,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ul,cloneElement:rn,createContext:Fn,createElement:A,createFactory:Vl,createPortal:Rl,createRef:Zc,default:Xl,findDOMNode:Yl,flushSync:Bn,forwardRef:le,hydrate:Ll,isElement:Gl,isFragment:zl,isMemo:Wl,isValidElement:nt,lazy:Tl,memo:$l,render:Nl,startTransition:Ti,unmountComponentAtNode:Bl,unstable_batchedUpdates:Kl,useCallback:ae,useContext:zn,useDebugValue:ji,useDeferredValue:Pi,useEffect:J,useErrorBoundary:Gg,useId:Si,useImperativeHandle:$i,useInsertionEffect:Di,useLayoutEffect:wt,useMemo:_e,useReducer:Vn,useRef:V,useState:K,useSyncExternalStore:Ni,useTransition:Ri,version:d0},Symbol.toStringTag,{value:"Module"}));function It(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function p0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Zl(...e){return t=>e.forEach(n=>p0(n,t))}function Ft(...e){return ae(Zl(...e),e)}function Jl(e,t=[]){let n=[];function r(i,a){const s=Fn(a),l=n.length;n=[...n,a];function u(c){const{scope:p,children:d,...v}=c,h=(p==null?void 0:p[e][l])||s,g=_e(()=>v,Object.values(v));return A(h.Provider,{value:g},d)}function f(c,p){const d=(p==null?void 0:p[e][l])||s,v=zn(d);if(v)return v;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=>Fn(a));return function(s){const l=(s==null?void 0:s[e])||i;return _e(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,h0(o,...t)]}function h0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.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 _e(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}const Mi=le((e,t)=>{const{children:n,...r}=e,o=tt.toArray(n),i=o.find(_0);if(i){const a=i.props.children,s=o.map(l=>l===i?tt.count(a)>1?tt.only(null):nt(a)?a.props.children:null:l);return A(Ii,pe({},r,{ref:t}),nt(a)?rn(a,void 0,s):null)}return A(Ii,pe({},r,{ref:t}),n)});Mi.displayName="Slot";const Ii=le((e,t)=>{const{children:n,...r}=e;return nt(n)?rn(n,{...g0(r,n.props),ref:t?Zl(t,n.ref):n.ref}):tt.count(n)>1?tt.only(null):null});Ii.displayName="SlotClone";const v0=({children:e})=>A(oe,null,e);function _0(e){return nt(e)&&e.type===v0}function g0(e,t){const n={...t};for(const r in t){const o=e[r],i=t[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{...e,...n}}const on=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=le((r,o)=>{const{asChild:i,...a}=r,s=i?Mi:t;return J(()=>{window[Symbol.for("radix-ui")]=!0},[]),A(s,pe({},a,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function w0(e,t){e&&Bn(()=>e.dispatchEvent(t))}function mt(e){const t=V(e);return J(()=>{t.current=e}),_e(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function m0(e,t=globalThis==null?void 0:globalThis.document){const n=mt(e);J(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const Fi="dismissableLayer.update",y0="dismissableLayer.pointerDownOutside",b0="dismissableLayer.focusOutside";let Ql;const x0=Fn({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k0=le((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:a,onInteractOutside:s,onDismiss:l,...u}=e,f=zn(x0),[c,p]=K(null),d=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,v]=K({}),h=Ft(t,$=>p($)),g=Array.from(f.layers),[_]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(_),x=c?g.indexOf(c):-1,b=f.layersWithOutsidePointerEventsDisabled.size>0,y=x>=m,k=$0($=>{const O=$.target,j=[...f.branches].some(D=>D.contains(O));!y||j||(i==null||i($),s==null||s($),$.defaultPrevented||l==null||l())},d),C=j0($=>{const O=$.target;[...f.branches].some(D=>D.contains(O))||(a==null||a($),s==null||s($),$.defaultPrevented||l==null||l())},d);return m0($=>{x===f.layers.size-1&&(o==null||o($),!$.defaultPrevented&&l&&($.preventDefault(),l()))},d),J(()=>{if(c)return r&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Ql=d.body.style.pointerEvents,d.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(c)),f.layers.add(c),eu(),()=>{r&&f.layersWithOutsidePointerEventsDisabled.size===1&&(d.body.style.pointerEvents=Ql)}},[c,d,r,f]),J(()=>()=>{c&&(f.layers.delete(c),f.layersWithOutsidePointerEventsDisabled.delete(c),eu())},[c,f]),J(()=>{const $=()=>v({});return document.addEventListener(Fi,$),()=>document.removeEventListener(Fi,$)},[]),A(on.div,pe({},u,{ref:h,style:{pointerEvents:b?y?"auto":"none":void 0,...e.style},onFocusCapture:It(e.onFocusCapture,C.onFocusCapture),onBlurCapture:It(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:It(e.onPointerDownCapture,k.onPointerDownCapture)}))});function $0(e,t=globalThis==null?void 0:globalThis.document){const n=mt(e),r=V(!1),o=V(()=>{});return J(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){tu(y0,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function j0(e,t=globalThis==null?void 0:globalThis.document){const n=mt(e),r=V(!1);return J(()=>{const o=i=>{i.target&&!r.current&&tu(b0,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function eu(){const e=new CustomEvent(Fi);document.dispatchEvent(e)}function tu(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?w0(o,i):o.dispatchEvent(i)}let Hi=0;function S0(){J(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:nu()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:nu()),Hi++,()=>{Hi===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),Hi--}},[])}function nu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const Ui="focusScope.autoFocusOnMount",Vi="focusScope.autoFocusOnUnmount",ru={bubbles:!1,cancelable:!0},E0=le((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...a}=e,[s,l]=K(null),u=mt(o),f=mt(i),c=V(null),p=Ft(t,h=>l(h)),d=V({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;J(()=>{if(r){let h=function(x){if(d.paused||!s)return;const b=x.target;s.contains(b)?c.current=b:yt(c.current,{select:!0})},g=function(x){if(d.paused||!s)return;const b=x.relatedTarget;b!==null&&(s.contains(b)||yt(c.current,{select:!0}))},_=function(x){if(document.activeElement===document.body)for(const y of x)y.removedNodes.length>0&&yt(s)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const m=new MutationObserver(_);return s&&m.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),m.disconnect()}}},[r,s,d.paused]),J(()=>{if(s){au.add(d);const h=document.activeElement;if(!s.contains(h)){const _=new CustomEvent(Ui,ru);s.addEventListener(Ui,u),s.dispatchEvent(_),_.defaultPrevented||(C0(R0(ou(s)),{select:!0}),document.activeElement===h&&yt(s))}return()=>{s.removeEventListener(Ui,u),setTimeout(()=>{const _=new CustomEvent(Vi,ru);s.addEventListener(Vi,f),s.dispatchEvent(_),_.defaultPrevented||yt(h??document.body,{select:!0}),s.removeEventListener(Vi,f),au.remove(d)},0)}}},[s,u,f,d]);const v=ae(h=>{if(!n&&!r||d.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,_=document.activeElement;if(g&&_){const m=h.currentTarget,[x,b]=O0(m);x&&b?!h.shiftKey&&_===b?(h.preventDefault(),n&&yt(x,{select:!0})):h.shiftKey&&_===x&&(h.preventDefault(),n&&yt(b,{select:!0})):_===m&&h.preventDefault()}},[n,r,d.paused]);return A(on.div,pe({tabIndex:-1},a,{ref:p,onKeyDown:v}))});function C0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(yt(r,{select:t}),document.activeElement!==n)return}function O0(e){const t=ou(e),n=iu(t,e),r=iu(t.reverse(),e);return[n,r]}function ou(e){const t=[],n=document.createTreeWalker(e,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();)t.push(n.currentNode);return t}function iu(e,t){for(const n of e)if(!A0(n,{upTo:t}))return n}function A0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function T0(e){return e instanceof HTMLInputElement&&"select"in e}function yt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&T0(e)&&t&&e.select()}}const au=P0();function P0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=su(e,t),e.unshift(t)},remove(t){var n;e=su(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function su(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function R0(e){return e.filter(t=>t.tagName!=="A")}const an=globalThis!=null&&globalThis.document?wt:()=>{},D0=f0["useId".toString()]||(()=>{});let N0=0;function L0(e){const[t,n]=K(D0());return an(()=>{e||n(r=>r??String(N0++))},[e]),e||(t?`radix-${t}`:"")}const M0=["top","right","bottom","left"],Ue=Math.min,xe=Math.max,Or=Math.round,Ar=Math.floor,bt=e=>({x:e,y:e}),I0={left:"right",right:"left",bottom:"top",top:"bottom"},F0={start:"end",end:"start"};function zi(e,t,n){return xe(e,Ue(t,n))}function rt(e,t){return typeof e=="function"?e(t):e}function ot(e){return e.split("-")[0]}function sn(e){return e.split("-")[1]}function Wi(e){return e==="x"?"y":"x"}function Bi(e){return e==="y"?"height":"width"}function xt(e){return["top","bottom"].includes(ot(e))?"y":"x"}function Yi(e){return Wi(xt(e))}function H0(e,t,n){n===void 0&&(n=!1);const r=sn(e),o=Yi(e),i=Bi(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Tr(a)),[a,Tr(a)]}function U0(e){const t=Tr(e);return[Ki(e),t,Ki(t)]}function Ki(e){return e.replace(/start|end/g,t=>F0[t])}function V0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function z0(e,t,n,r){const o=sn(e);let i=V0(ot(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Ki)))),i}function Tr(e){return e.replace(/left|right|bottom|top/g,t=>I0[t])}function W0(e){return{top:0,right:0,bottom:0,left:0,...e}}function cu(e){return typeof e!="number"?W0(e):{top:e,right:e,bottom:e,left:e}}function Pr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function lu(e,t,n){let{reference:r,floating:o}=e;const i=xt(t),a=Yi(t),s=Bi(a),l=ot(t),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(sn(t)){case"start":d[a]-=p*(n&&u?-1:1);break;case"end":d[a]+=p*(n&&u?-1:1);break}return d}const B0=async(e,t,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(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:c}=lu(u,r,l),p=r,d={},v=0;for(let h=0;h<s.length;h++){const{name:g,fn:_}=s[h],{x:m,y:x,data:b,reset:y}=await _({x:f,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:u,platform:a,elements:{reference:e,floating:t}});f=m??f,c=x??c,d={...d,[g]:{...d[g],...b}},y&&v<=50&&(v++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(u=y.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:f,y:c}=lu(u,p,l)),h=-1)}return{x:f,y:c,placement:p,strategy:o,middlewareData:d}};async function Yn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:c="floating",altBoundary:p=!1,padding:d=0}=rt(t,e),v=cu(d),g=s[p?c==="floating"?"reference":"floating":c],_=Pr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.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,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),b=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},y=Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:m,offsetParent:x,strategy:l}):m);return{top:(_.top-y.top+v.top)/b.y,bottom:(y.bottom-_.bottom+v.bottom)/b.y,left:(_.left-y.left+v.left)/b.x,right:(y.right-_.right+v.right)/b.x}}const Y0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:f=0}=rt(e,t)||{};if(u==null)return{};const c=cu(f),p={x:n,y:r},d=Yi(o),v=Bi(d),h=await a.getDimensions(u),g=d==="y",_=g?"top":"left",m=g?"bottom":"right",x=g?"clientHeight":"clientWidth",b=i.reference[v]+i.reference[d]-p[d]-i.floating[v],y=p[d]-i.reference[d],k=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let C=k?k[x]:0;(!C||!await(a.isElement==null?void 0:a.isElement(k)))&&(C=s.floating[x]||i.floating[v]);const $=b/2-y/2,O=C/2-h[v]/2-1,j=Ue(c[_],O),D=Ue(c[m],O),I=j,L=C-h[v]-D,N=C/2-h[v]/2+$,M=zi(I,N,L),S=!l.arrow&&sn(o)!=null&&N!==M&&i.reference[v]/2-(N<I?j:D)-h[v]/2<0,E=S?N<I?N-I:N-L:0;return{[d]:p[d]+E,data:{[d]:M,centerOffset:N-M-E,...S&&{alignmentOffset:E}},reset:S}}}),K0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:f=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:h=!0,...g}=rt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const _=ot(o),m=xt(s),x=ot(s)===s,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),y=p||(x||!h?[Tr(s)]:U0(s)),k=v!=="none";!p&&k&&y.push(...z0(s,h,v,b));const C=[s,...y],$=await Yn(t,g),O=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&O.push($[_]),c){const N=H0(o,a,b);O.push($[N[0]],$[N[1]])}if(j=[...j,{placement:o,overflows:O}],!O.every(N=>N<=0)){var D,I;const N=(((D=i.flip)==null?void 0:D.index)||0)+1,M=C[N];if(M)return{data:{index:N,overflows:j},reset:{placement:M}};let S=(I=j.filter(E=>E.overflows[0]<=0).sort((E,U)=>E.overflows[1]-U.overflows[1])[0])==null?void 0:I.placement;if(!S)switch(d){case"bestFit":{var L;const E=(L=j.filter(U=>{if(k){const z=xt(U.placement);return z===m||z==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(z=>z>0).reduce((z,q)=>z+q,0)]).sort((U,z)=>U[1]-z[1])[0])==null?void 0:L[0];E&&(S=E);break}case"initialPlacement":S=s;break}if(o!==S)return{reset:{placement:S}}}return{}}}};function uu(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function du(e){return M0.some(t=>e[t]>=0)}const q0=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=rt(e,t);switch(r){case"referenceHidden":{const i=await Yn(t,{...o,elementContext:"reference"}),a=uu(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:du(a)}}}case"escaped":{const i=await Yn(t,{...o,altBoundary:!0}),a=uu(i,n.floating);return{data:{escapedOffsets:a,escaped:du(a)}}}default:return{}}}}};async function G0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=ot(n),s=sn(n),l=xt(n)==="y",u=["left","top"].includes(a)?-1:1,f=i&&l?-1:1,c=rt(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:v}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof v=="number"&&(d=s==="end"?v*-1:v),l?{x:d*f,y:p*u}:{x:p*u,y:d*f}}const X0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await G0(t,e);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}}}}},Z0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:g=>{let{x:_,y:m}=g;return{x:_,y:m}}},...l}=rt(e,t),u={x:n,y:r},f=await Yn(t,l),c=xt(ot(o)),p=Wi(c);let d=u[p],v=u[c];if(i){const g=p==="y"?"top":"left",_=p==="y"?"bottom":"right",m=d+f[g],x=d-f[_];d=zi(m,d,x)}if(a){const g=c==="y"?"top":"left",_=c==="y"?"bottom":"right",m=v+f[g],x=v-f[_];v=zi(m,v,x)}const h=s.fn({...t,[p]:d,[c]:v});return{...h,data:{x:h.x-n,y:h.y-r}}}}},J0=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=rt(e,t),f={x:n,y:r},c=xt(o),p=Wi(c);let d=f[p],v=f[c];const h=rt(s,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const x=p==="y"?"height":"width",b=i.reference[p]-i.floating[x]+g.mainAxis,y=i.reference[p]+i.reference[x]-g.mainAxis;d<b?d=b:d>y&&(d=y)}if(u){var _,m;const x=p==="y"?"width":"height",b=["top","left"].includes(ot(o)),y=i.reference[c]-i.floating[x]+(b&&((_=a.offset)==null?void 0:_[c])||0)+(b?0:g.crossAxis),k=i.reference[c]+i.reference[x]+(b?0:((m=a.offset)==null?void 0:m[c])||0)-(b?g.crossAxis:0);v<y?v=y:v>k&&(v=k)}return{[p]:d,[c]:v}}}},Q0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:i}=t,{apply:a=()=>{},...s}=rt(e,t),l=await Yn(t,s),u=ot(n),f=sn(n),c=xt(n)==="y",{width:p,height:d}=r.floating;let v,h;u==="top"||u==="bottom"?(v=u,h=f===(await(o.isRTL==null?void 0:o.isRTL(i.floating))?"start":"end")?"left":"right"):(h=u,v=f==="end"?"top":"bottom");const g=d-l.top-l.bottom,_=p-l.left-l.right,m=Ue(d-l[v],g),x=Ue(p-l[h],_),b=!t.middlewareData.shift;let y=m,k=x;if(c?k=f||b?Ue(x,_):_:y=f||b?Ue(m,g):g,b&&!f){const $=xe(l.left,0),O=xe(l.right,0),j=xe(l.top,0),D=xe(l.bottom,0);c?k=p-2*($!==0||O!==0?$+O:xe(l.left,l.right)):y=d-2*(j!==0||D!==0?j+D:xe(l.top,l.bottom))}await a({...t,availableWidth:k,availableHeight:y});const C=await o.getDimensions(i.floating);return p!==C.width||d!==C.height?{reset:{rects:!0}}:{}}}};function cn(e){return fu(e)?(e.nodeName||"").toLowerCase():"#document"}function ke(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function it(e){var t;return(t=(fu(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fu(e){return e instanceof Node||e instanceof ke(e).Node}function Re(e){return e instanceof Element||e instanceof ke(e).Element}function Ve(e){return e instanceof HTMLElement||e instanceof ke(e).HTMLElement}function pu(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ke(e).ShadowRoot}function Kn(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=De(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function ew(e){return["table","td","th"].includes(cn(e))}function Rr(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function qi(e){const t=Gi(),n=Re(e)?De(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(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 tw(e){let t=kt(e);for(;Ve(t)&&!ln(t);){if(qi(t))return t;if(Rr(t))return null;t=kt(t)}return null}function Gi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ln(e){return["html","body","#document"].includes(cn(e))}function De(e){return ke(e).getComputedStyle(e)}function Dr(e){return Re(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function kt(e){if(cn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||pu(e)&&e.host||it(e);return pu(t)?t.host:t}function hu(e){const t=kt(e);return ln(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ve(t)&&Kn(t)?t:hu(t)}function qn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=hu(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=ke(o);if(i){const s=Xi(a);return t.concat(a,a.visualViewport||[],Kn(o)?o:[],s&&n?qn(s):[])}return t.concat(o,qn(o,[],n))}function Xi(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function vu(e){const t=De(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ve(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=Or(n)!==i||Or(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function Zi(e){return Re(e)?e:e.contextElement}function un(e){const t=Zi(e);if(!Ve(t))return bt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=vu(t);let a=(i?Or(n.width):n.width)/r,s=(i?Or(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const nw=bt(0);function _u(e){const t=ke(e);return!Gi()||!t.visualViewport?nw:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rw(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ke(e)?!1:t}function Ht(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=Zi(e);let a=bt(1);t&&(r?Re(r)&&(a=un(r)):a=un(e));const s=rw(i,n,r)?_u(i):bt(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=ke(i),d=r&&Re(r)?ke(r):r;let v=p,h=Xi(v);for(;h&&r&&d!==v;){const g=un(h),_=h.getBoundingClientRect(),m=De(h),x=_.left+(h.clientLeft+parseFloat(m.paddingLeft))*g.x,b=_.top+(h.clientTop+parseFloat(m.paddingTop))*g.y;l*=g.x,u*=g.y,f*=g.x,c*=g.y,l+=x,u+=b,v=ke(h),h=Xi(v)}}return Pr({width:f,height:c,x:l,y:u})}function ow(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=it(r),s=t?Rr(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=bt(1);const f=bt(0),c=Ve(r);if((c||!c&&!i)&&((cn(r)!=="body"||Kn(a))&&(l=Dr(r)),Ve(r))){const p=Ht(r);u=un(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 iw(e){return Array.from(e.getClientRects())}function gu(e){return Ht(it(e)).left+Dr(e).scrollLeft}function aw(e){const t=it(e),n=Dr(e),r=e.ownerDocument.body,o=xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+gu(e);const s=-n.scrollTop;return De(r).direction==="rtl"&&(a+=xe(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function sw(e,t){const n=ke(e),r=it(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=Gi();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function cw(e,t){const n=Ht(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Ve(e)?un(e):bt(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function wu(e,t,n){let r;if(t==="viewport")r=sw(e,n);else if(t==="document")r=aw(it(e));else if(Re(t))r=cw(t,n);else{const o=_u(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Pr(r)}function mu(e,t){const n=kt(e);return n===t||!Re(n)||ln(n)?!1:De(n).position==="fixed"||mu(n,t)}function lw(e,t){const n=t.get(e);if(n)return n;let r=qn(e,[],!1).filter(s=>Re(s)&&cn(s)!=="body"),o=null;const i=De(e).position==="fixed";let a=i?kt(e):e;for(;Re(a)&&!ln(a);){const s=De(a),l=qi(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Kn(a)&&!l&&mu(e,a))?r=r.filter(f=>f!==a):o=s,a=kt(a)}return t.set(e,r),r}function uw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?Rr(t)?[]:lw(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,f)=>{const c=wu(t,f,o);return u.top=xe(c.top,u.top),u.right=Ue(c.right,u.right),u.bottom=Ue(c.bottom,u.bottom),u.left=xe(c.left,u.left),u},wu(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function dw(e){const{width:t,height:n}=vu(e);return{width:t,height:n}}function fw(e,t,n){const r=Ve(t),o=it(t),i=n==="fixed",a=Ht(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=bt(0);if(r||!r&&!i)if((cn(t)!=="body"||Kn(o))&&(s=Dr(t)),r){const c=Ht(t,!0,i,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=gu(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 Ji(e){return De(e).position==="static"}function yu(e,t){return!Ve(e)||De(e).position==="fixed"?null:t?t(e):e.offsetParent}function bu(e,t){const n=ke(e);if(Rr(e))return n;if(!Ve(e)){let o=kt(e);for(;o&&!ln(o);){if(Re(o)&&!Ji(o))return o;o=kt(o)}return n}let r=yu(e,t);for(;r&&ew(r)&&Ji(r);)r=yu(r,t);return r&&ln(r)&&Ji(r)&&!qi(r)?n:r||tw(e)||n}const pw=async function(e){const t=this.getOffsetParent||bu,n=this.getDimensions,r=await n(e.floating);return{reference:fw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function hw(e){return De(e).direction==="rtl"}const vw={convertOffsetParentRelativeRectToViewportRelativeRect:ow,getDocumentElement:it,getClippingRect:uw,getOffsetParent:bu,getElementRects:pw,getClientRects:iw,getDimensions:dw,getScale:un,isElement:Re,isRTL:hw};function _w(e,t){let n=null,r;const o=it(e);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}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const d=Ar(f),v=Ar(o.clientWidth-(u+c)),h=Ar(o.clientHeight-(f+p)),g=Ar(u),m={rootMargin:-d+"px "+-v+"px "+-h+"px "+-g+"px",threshold:xe(0,Ue(1,l))||1};let x=!0;function b(y){const k=y[0].intersectionRatio;if(k!==l){if(!x)return a();k?a(!1,k):r=setTimeout(()=>{a(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(b,{...m,root:o.ownerDocument})}catch{n=new IntersectionObserver(b,m)}n.observe(e)}return a(!0),i}function gw(e,t,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=Zi(e),f=o||i?[...u?qn(u):[],...qn(t)]:[];f.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),i&&_.addEventListener("resize",n)});const c=u&&s?_w(u,n):null;let p=-1,d=null;a&&(d=new ResizeObserver(_=>{let[m]=_;m&&m.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=d)==null||x.observe(t)})),n()}),u&&!l&&d.observe(u),d.observe(t));let v,h=l?Ht(e):null;l&&g();function g(){const _=Ht(e);h&&(_.x!==h.x||_.y!==h.y||_.width!==h.width||_.height!==h.height)&&n(),h=_,v=requestAnimationFrame(g)}return n(),()=>{var _;f.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),c==null||c(),(_=d)==null||_.disconnect(),d=null,l&&cancelAnimationFrame(v)}}const ww=X0,mw=Z0,yw=K0,bw=Q0,xw=q0,xu=Y0,kw=J0,$w=(e,t,n)=>{const r=new Map,o={platform:vw,...n},i={...o.platform,_c:r};return B0(e,t,{...o,platform:i})};var Nr=typeof document<"u"?wt:J;function Lr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Lr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Lr(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ku(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function $u(e,t){const n=ku(e);return Math.round(t*n)/n}function ju(e){const t=V(e);return Nr(()=>{t.current=e}),t}function jw(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[f,c]=K({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=K(r);Lr(p,r)||d(r);const[v,h]=K(null),[g,_]=K(null),m=ae(E=>{E!==k.current&&(k.current=E,h(E))},[]),x=ae(E=>{E!==C.current&&(C.current=E,_(E))},[]),b=i||v,y=a||g,k=V(null),C=V(null),$=V(f),O=l!=null,j=ju(l),D=ju(o),I=ae(()=>{if(!k.current||!C.current)return;const E={placement:t,strategy:n,middleware:p};D.current&&(E.platform=D.current),$w(k.current,C.current,E).then(U=>{const z={...U,isPositioned:!0};L.current&&!Lr($.current,z)&&($.current=z,Bn(()=>{c(z)}))})},[p,t,n,D]);Nr(()=>{u===!1&&$.current.isPositioned&&($.current.isPositioned=!1,c(E=>({...E,isPositioned:!1})))},[u]);const L=V(!1);Nr(()=>(L.current=!0,()=>{L.current=!1}),[]),Nr(()=>{if(b&&(k.current=b),y&&(C.current=y),b&&y){if(j.current)return j.current(b,y,I);I()}},[b,y,I,j,O]);const N=_e(()=>({reference:k,floating:C,setReference:m,setFloating:x}),[m,x]),M=_e(()=>({reference:b,floating:y}),[b,y]),S=_e(()=>{const E={position:n,left:0,top:0};if(!M.floating)return E;const U=$u(M.floating,f.x),z=$u(M.floating,f.y);return s?{...E,transform:"translate("+U+"px, "+z+"px)",...ku(M.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:U,top:z}},[n,s,M.floating,f.x,f.y]);return _e(()=>({...f,update:I,refs:N,elements:M,floatingStyles:S}),[f,I,N,M,S])}const Sw=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?xu({element:r.current,padding:o}).fn(n):{}:r?xu({element:r,padding:o}).fn(n):{}}}},Ew=(e,t)=>({...ww(e),options:[e,t]}),Cw=(e,t)=>({...mw(e),options:[e,t]}),Ow=(e,t)=>({...kw(e),options:[e,t]}),Aw=(e,t)=>({...yw(e),options:[e,t]}),Tw=(e,t)=>({...bw(e),options:[e,t]}),Pw=(e,t)=>({...xw(e),options:[e,t]}),Rw=(e,t)=>({...Sw(e),options:[e,t]});function Dw(e){const[t,n]=K(void 0);return an(()=>{if(e){n({width:e.offsetWidth,height:e.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=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const Su="Popper",[Eu,Cu]=Jl(Su),[Nw,Ou]=Eu(Su),Lw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=K(null);return A(Nw,{scope:t,anchor:r,onAnchorChange:o},n)},Mw="PopperAnchor",Iw=le((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Ou(Mw,n),a=V(null),s=Ft(t,a);return J(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:A(on.div,pe({},o,{ref:s}))}),Au="PopperContent",[Fw,Ay]=Eu(Au),Hw=le((e,t)=>{var n,r,o,i,a,s,l,u;const{__scopePopper:f,side:c="bottom",sideOffset:p=0,align:d="center",alignOffset:v=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:_=[],collisionPadding:m=0,sticky:x="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:k,...C}=e,$=Ou(Au,f),[O,j]=K(null),D=Ft(t,Z=>j(Z)),[I,L]=K(null),N=Dw(I),M=(n=N==null?void 0:N.width)!==null&&n!==void 0?n:0,S=(r=N==null?void 0:N.height)!==null&&r!==void 0?r:0,E=c+(d!=="center"?"-"+d:""),U=typeof m=="number"?m:{top:0,right:0,bottom:0,left:0,...m},z=Array.isArray(_)?_:[_],q=z.length>0,se={padding:U,boundary:z.filter(Uw),altBoundary:q},{refs:ue,floatingStyles:Ut,placement:Xr,isPositioned:at,middlewareData:st}=jw({strategy:"fixed",placement:E,whileElementsMounted:(...Z)=>gw(...Z,{animationFrame:y==="always"}),elements:{reference:$.anchor},middleware:[Ew({mainAxis:p+S,alignmentAxis:v}),g&&Cw({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Ow():void 0,...se}),g&&Aw({...se}),Tw({...se,apply:({elements:Z,rects:$e,availableWidth:jt,availableHeight:ce})=>{const{width:ve,height:Ne}=$e.reference,zt=Z.floating.style;zt.setProperty("--radix-popper-available-width",`${jt}px`),zt.setProperty("--radix-popper-available-height",`${ce}px`),zt.setProperty("--radix-popper-anchor-width",`${ve}px`),zt.setProperty("--radix-popper-anchor-height",`${Ne}px`)}}),I&&Rw({element:I,padding:h}),Vw({arrowWidth:M,arrowHeight:S}),b&&Pw({strategy:"referenceHidden",...se})]}),[Jn,va]=Tu(Xr),wn=mt(k);an(()=>{at&&(wn==null||wn())},[at,wn]);const Vt=(o=st.arrow)===null||o===void 0?void 0:o.x,Zr=(i=st.arrow)===null||i===void 0?void 0:i.y,G=((a=st.arrow)===null||a===void 0?void 0:a.centerOffset)!==0,[X,de]=K();return an(()=>{O&&de(window.getComputedStyle(O).zIndex)},[O]),A("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ut,transform:at?Ut.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=st.transformOrigin)===null||s===void 0?void 0:s.x,(l=st.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},A(Fw,{scope:f,placedSide:Jn,onArrowChange:L,arrowX:Vt,arrowY:Zr,shouldHideArrow:G},A(on.div,pe({"data-side":Jn,"data-align":va},C,{ref:D,style:{...C.style,animation:at?void 0:"none",opacity:(u=st.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function Uw(e){return e!==null}const Vw=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,d=c?0:e.arrowHeight,[v,h]=Tu(s),g={start:"0%",center:"50%",end:"100%"}[h],_=((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 x="",b="";return v==="bottom"?(x=c?g:`${_}px`,b=`${-d}px`):v==="top"?(x=c?g:`${_}px`,b=`${l.floating.height+d}px`):v==="right"?(x=`${-d}px`,b=c?g:`${m}px`):v==="left"&&(x=`${l.floating.width+d}px`,b=c?g:`${m}px`),{data:{x,y:b}}}});function Tu(e){const[t,n="center"]=e.split("-");return[t,n]}const zw=Lw,Ww=Iw,Bw=Hw,Yw=le((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Xl.createPortal(A(on.div,pe({},o,{ref:t})),r):null});function Kw(e,t){return Vn((n,r)=>{const o=t[n][r];return o??n},e)}const Qi=e=>{const{present:t,children:n}=e,r=qw(t),o=typeof n=="function"?n({present:r.isPresent}):tt.only(n),i=Ft(r.ref,o.ref);return typeof n=="function"||r.isPresent?rn(o,{ref:i}):null};Qi.displayName="Presence";function qw(e){const[t,n]=K(),r=V({}),o=V(e),i=V("none"),a=e?"mounted":"unmounted",[s,l]=Kw(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return J(()=>{const u=Mr(r.current);i.current=s==="mounted"?u:"none"},[s]),an(()=>{const u=r.current,f=o.current;if(f!==e){const p=i.current,d=Mr(u);e?l("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(f&&p!==d?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),an(()=>{if(t){const u=c=>{const d=Mr(r.current).includes(c.animationName);c.target===t&&d&&Bn(()=>l("ANIMATION_END"))},f=c=>{c.target===t&&(i.current=Mr(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:ae(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Mr(e){return(e==null?void 0:e.animationName)||"none"}function Gw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Xw({defaultProp:t,onChange:n}),i=e!==void 0,a=i?e:r,s=mt(n),l=ae(u=>{if(i){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[i,e,o,s]);return[a,l]}function Xw({defaultProp:e,onChange:t}){const n=K(e),[r]=n,o=V(r),i=mt(t);return J(()=>{o.current!==r&&(i(r),o.current=r)},[r,o,i]),n}var Zw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},dn=new WeakMap,Ir=new WeakMap,Fr={},ea=0,Pu=function(e){return e&&(e.host||Pu(e.parentNode))},Jw=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Pu(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Qw=function(e,t,n,r){var o=Jw(t,Array.isArray(e)?e:[e]);Fr[n]||(Fr[n]=new WeakMap);var i=Fr[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),v=d!==null&&d!=="false",h=(dn.get(p)||0)+1,g=(i.get(p)||0)+1;dn.set(p,h),i.set(p,g),a.push(p),h===1&&v&&Ir.set(p,!0),g===1&&p.setAttribute(n,"true"),v||p.setAttribute(r,"true")}})};return f(t),s.clear(),ea++,function(){a.forEach(function(c){var p=dn.get(c)-1,d=i.get(c)-1;dn.set(c,p),i.set(c,d),p||(Ir.has(c)||c.removeAttribute(r),Ir.delete(c)),d||c.removeAttribute(n)}),ea--,ea||(dn=new WeakMap,dn=new WeakMap,Ir=new WeakMap,Fr={})}},em=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Zw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Qw(r,o,n,"aria-hidden")):function(){return null}},ze=function(){return ze=Object.assign||function(t){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)&&(t[i]=n[i])}return t},ze.apply(this,arguments)};function Ru(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function tm(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Hr="right-scroll-bar-position",Ur="width-before-scroll-bar",nm="with-scroll-bars-hidden",rm="--removed-body-scroll-bar-size";function om(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function im(e,t){var n=K(function(){return{value:e,callback:t,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=t,n.facade}function am(e,t){return im(t||null,function(n){return e.forEach(function(r){return om(r,n)})})}function sm(e){return e}function cm(e,t){t===void 0&&(t=sm);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]:e},useMedium:function(i){var a=t(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 lm(e){e===void 0&&(e={});var t=cm(null);return t.options=ze({async:!0,ssr:!1},e),t}var Du=function(e){var t=e.sideCar,n=Ru(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return A(r,ze({},n))};Du.isSideCarExport=!0;function um(e,t){return e.useMedium(t),Du}var Nu=lm(),ta=function(){},Vr=le(function(e,t){var n=V(null),r=K({onScrollCapture:ta,onWheelCapture:ta,onTouchMoveCapture:ta}),o=r[0],i=r[1],a=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,f=e.enabled,c=e.shards,p=e.sideCar,d=e.noIsolation,v=e.inert,h=e.allowPinchZoom,g=e.as,_=g===void 0?"div":g,m=Ru(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,b=am([n,t]),y=ze(ze({},m),o);return A(oe,null,f&&A(x,{sideCar:Nu,removeScrollBar:u,shards:c,noIsolation:d,inert:v,setCallbacks:i,allowPinchZoom:!!h,lockRef:n}),a?rn(tt.only(s),ze(ze({},y),{ref:b})):A(_,ze({},y,{className:l,ref:b}),s))});Vr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Vr.classNames={fullWidth:Ur,zeroRight:Hr};var dm=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function fm(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=dm();return t&&e.setAttribute("nonce",t),e}function pm(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function hm(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var vm=function(){var e=0,t=null;return{add:function(n){e==0&&(t=fm())&&(pm(t,n),hm(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},_m=function(){var e=vm();return function(t,n){J(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Lu=function(){var e=_m(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},gm={left:0,top:0,right:0,gap:0},na=function(e){return parseInt(e||"",10)||0},wm=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[na(n),na(r),na(o)]},mm=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return gm;var t=wm(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},ym=Lu(),bm=function(e,t,n,r){var o=e.left,i=e.top,a=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
22
|
-
.`.concat(
|
|
21
|
+
}`},K_=(()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Ai}`);return je(e,`Element with id ${Ai} not found.`),e}}))(),G_=()=>Ya(({apiClient:e,logger:t,analytics:n})=>{const r=({params:o})=>{var a;return te(Bt,{Fallback:Tf},[te(Sf,{terms:o.terms,locale:void 0,children:[te("style",{id:"inploi-job-search-styles"},M_),te("style",{id:"inploi-job-search-theme"},q_(o.theme)),te(Df,{theme:o.theme}),te(L_,{properties:o.properties,apiClient:e,logger:t,analytics:n,class:(a=o.theme.accessibility)!=null&&a.reducedMotion?"reduced-motion":void 0,initialData:o.initialData,onFilterChange:o.onFilterChange,onKeywordChange:o.onKeywordChange,onGeolocationChange:o.onGeolocationChange,params:o})]})])};return{prerender:async o=>{var i;const a=o.withData?await rc({state:{query:o.defaultSearchKeyword,geo:o.defaultGeolocation,filters:Uo(o.properties),mode:(i=o.naturalLanguageSearch)!=null&&i.enabled?"vector":"query"},apiClient:e,logger:t,t:Ef({overrides:o.terms??{},locale:void 0})}).then(s=>({jobs:s})).catch(()=>{}):void 0;return{html:td(te(F,{},te(r,{params:{...o,initialData:a}}))),data:a}},render:async o=>{const a=o.initialData?Jr:Ut;je(typeof window<"u","the `render` method of JobSearch cannot be called in non-browser environments. Use `prerender` instead."),a(te(r,{params:o}),K_.getRenderTargetElement())}}});if(!window.inploi)throw new Error("Please insert the SDK script tag above the plugins.");window.inploi.jobSearchPlugin=G_;function X_(e,t){if(!e)throw new Error(t)}var Cn,E,_c,mc,Tt,wc,yc,Xo,bc,Zt={},xc=[],Z_=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,vr=Array.isArray;function Je(e,t){for(var n in t)e[n]=t[n];return e}function kc(e){var t=e.parentNode;t&&t.removeChild(e)}function R(e,t,n){var r,o,a,i={};for(a in t)a=="key"?r=t[a]:a=="ref"?o=t[a]:i[a]=t[a];if(arguments.length>2&&(i.children=arguments.length>3?Cn.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(a in e.defaultProps)i[a]===void 0&&(i[a]=e.defaultProps[a]);return An(e,i,r,o,null)}function An(e,t,n,r,o){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:o??++_c};return o==null&&E.vnode!=null&&E.vnode(a),a}function jc(){return{current:null}}function oe(e){return e.children}function Ee(e,t){this.props=e,this.context=t}function gr(e,t){if(t==null)return e.__?gr(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?gr(e):null}function $c(e){var t,n;if((e=e.__)!=null&&e.__c!=null){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null){e.__e=e.__c.base=n.__e;break}return $c(e)}}function Zo(e){(!e.__d&&(e.__d=!0)&&Tt.push(e)&&!_r.__r++||wc!==E.debounceRendering)&&((wc=E.debounceRendering)||yc)(_r)}function _r(){var e,t,n,r,o,a,i,s,l;for(Tt.sort(Xo);e=Tt.shift();)e.__d&&(t=Tt.length,r=void 0,o=void 0,a=void 0,s=(i=(n=e).__v).__e,(l=n.__P)&&(r=[],o=[],(a=Je({},i)).__v=i.__v+1,Jo(l,i,a,n.__n,l.ownerSVGElement!==void 0,i.__h!=null?[s]:null,r,s??gr(i),i.__h,o),Pc(r,i,o),i.__e!=s&&$c(i)),Tt.length>t&&Tt.sort(Xo));_r.__r=0}function Sc(e,t,n,r,o,a,i,s,l,u,h){var c,p,v,f,d,m,_,b,x,w,y=0,k=r&&r.__k||xc,S=k.length,j=S,$=t.length;for(n.__k=[],c=0;c<$;c++)(f=n.__k[c]=(f=t[c])==null||typeof f=="boolean"||typeof f=="function"?null:typeof f=="string"||typeof f=="number"||typeof f=="bigint"?An(null,f,null,null,f):vr(f)?An(oe,{children:f},null,null,null):f.__b>0?An(f.type,f.props,f.key,f.ref?f.ref:null,f.__v):f)!=null&&(f.__=n,f.__b=n.__b+1,(b=J_(f,k,_=c+y,j))===-1?v=Zt:(v=k[b]||Zt,k[b]=void 0,j--),Jo(e,f,v,o,a,i,s,l,u,h),d=f.__e,(p=f.ref)&&v.ref!=p&&(v.ref&&Qo(v.ref,null,f),h.push(p,f.__c||d,f)),d!=null&&(m==null&&(m=d),w=!(x=v===Zt||v.__v===null)&&b===_,x?b==-1&&y--:b!==_&&(b===_+1?(y++,w=!0):b>_?j>$-_?(y+=b-_,w=!0):y--:y=b<_&&b==_-1?b-_:0),_=c+y,w=w||b==c&&!x,typeof f.type!="function"||b===_&&v.__k!==f.__k?typeof f.type=="function"||w?f.__d!==void 0?(l=f.__d,f.__d=void 0):l=d.nextSibling:l=Cc(e,d,l):l=Ec(f,l,e),typeof n.type=="function"&&(n.__d=l)));for(n.__e=m,c=S;c--;)k[c]!=null&&(typeof n.type=="function"&&k[c].__e!=null&&k[c].__e==n.__d&&(n.__d=k[c].__e.nextSibling),Rc(k[c],k[c]))}function Ec(e,t,n){for(var r,o=e.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=e,t=typeof r.type=="function"?Ec(r,t,n):Cc(n,r.__e,t));return t}function Qe(e,t){return t=t||[],e==null||typeof e=="boolean"||(vr(e)?e.some(function(n){Qe(n,t)}):t.push(e)),t}function Cc(e,t,n){return n==null||n.parentNode!==e?e.insertBefore(t,null):t==n&&t.parentNode!=null||e.insertBefore(t,n),t.nextSibling}function J_(e,t,n,r){var o=e.key,a=e.type,i=n-1,s=n+1,l=t[n];if(l===null||l&&o==l.key&&a===l.type)return n;if(r>(l!=null?1:0))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&o==l.key&&a===l.type)return i;i--}if(s<t.length){if((l=t[s])&&o==l.key&&a===l.type)return s;s++}}return-1}function Q_(e,t,n,r,o){var a;for(a in n)a==="children"||a==="key"||a in t||mr(e,a,null,n[a],r);for(a in t)o&&typeof t[a]!="function"||a==="children"||a==="key"||a==="value"||a==="checked"||n[a]===t[a]||mr(e,a,t[a],n[a],r)}function Ac(e,t,n){t[0]==="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||Z_.test(t)?n:n+"px"}function mr(e,t,n,r,o){var a;e:if(t==="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof r=="string"&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ac(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ac(e.style,t,n[t])}else if(t[0]==="o"&&t[1]==="n")a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?Tc:Oc,a):e.removeEventListener(t,a?Tc:Oc,a);else if(t!=="dangerouslySetInnerHTML"){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!=="width"&&t!=="height"&&t!=="href"&&t!=="list"&&t!=="form"&&t!=="tabIndex"&&t!=="download"&&t!=="rowSpan"&&t!=="colSpan"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!=="-"?e.removeAttribute(t):e.setAttribute(t,n))}}function Oc(e){return this.l[e.type+!1](E.event?E.event(e):e)}function Tc(e){return this.l[e.type+!0](E.event?E.event(e):e)}function Jo(e,t,n,r,o,a,i,s,l,u){var h,c,p,v,f,d,m,_,b,x,w,y,k,S,j,$=t.type;if(t.constructor!==void 0)return null;n.__h!=null&&(l=n.__h,s=t.__e=n.__e,t.__h=null,a=[s]),(h=E.__b)&&h(t);try{e:if(typeof $=="function"){if(_=t.props,b=(h=$.contextType)&&r[h.__c],x=h?b?b.props.value:h.__:r,n.__c?m=(c=t.__c=n.__c).__=c.__E:("prototype"in $&&$.prototype.render?t.__c=c=new $(_,x):(t.__c=c=new Ee(_,x),c.constructor=$,c.render=t0),b&&b.sub(c),c.props=_,c.state||(c.state={}),c.context=x,c.__n=r,p=c.__d=!0,c.__h=[],c._sb=[]),c.__s==null&&(c.__s=c.state),$.getDerivedStateFromProps!=null&&(c.__s==c.state&&(c.__s=Je({},c.__s)),Je(c.__s,$.getDerivedStateFromProps(_,c.__s))),v=c.props,f=c.state,c.__v=t,p)$.getDerivedStateFromProps==null&&c.componentWillMount!=null&&c.componentWillMount(),c.componentDidMount!=null&&c.__h.push(c.componentDidMount);else{if($.getDerivedStateFromProps==null&&_!==v&&c.componentWillReceiveProps!=null&&c.componentWillReceiveProps(_,x),!c.__e&&(c.shouldComponentUpdate!=null&&c.shouldComponentUpdate(_,c.__s,x)===!1||t.__v===n.__v)){for(t.__v!==n.__v&&(c.props=_,c.state=c.__s,c.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(C){C&&(C.__=t)}),w=0;w<c._sb.length;w++)c.__h.push(c._sb[w]);c._sb=[],c.__h.length&&i.push(c);break e}c.componentWillUpdate!=null&&c.componentWillUpdate(_,c.__s,x),c.componentDidUpdate!=null&&c.__h.push(function(){c.componentDidUpdate(v,f,d)})}if(c.context=x,c.props=_,c.__P=e,c.__e=!1,y=E.__r,k=0,"prototype"in $&&$.prototype.render){for(c.state=c.__s,c.__d=!1,y&&y(t),h=c.render(c.props,c.state,c.context),S=0;S<c._sb.length;S++)c.__h.push(c._sb[S]);c._sb=[]}else do c.__d=!1,y&&y(t),h=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=Je(Je({},r),c.getChildContext())),p||c.getSnapshotBeforeUpdate==null||(d=c.getSnapshotBeforeUpdate(v,f)),Sc(e,vr(j=h!=null&&h.type===oe&&h.key==null?h.props.children:h)?j:[j],t,n,r,o,a,i,s,l,u),c.base=t.__e,t.__h=null,c.__h.length&&i.push(c),m&&(c.__E=c.__=null)}else a==null&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=e0(n.__e,t,n,r,o,a,i,l,u);(h=E.diffed)&&h(t)}catch(C){t.__v=null,(l||a!=null)&&(t.__e=s,t.__h=!!l,a[a.indexOf(s)]=null),E.__e(C,t,n)}}function Pc(e,t,n){for(var r=0;r<n.length;r++)Qo(n[r],n[++r],n[++r]);E.__c&&E.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(a){a.call(o)})}catch(a){E.__e(a,o.__v)}})}function e0(e,t,n,r,o,a,i,s,l){var u,h,c,p=n.props,v=t.props,f=t.type,d=0;if(f==="svg"&&(o=!0),a!=null){for(;d<a.length;d++)if((u=a[d])&&"setAttribute"in u==!!f&&(f?u.localName===f:u.nodeType===3)){e=u,a[d]=null;break}}if(e==null){if(f===null)return document.createTextNode(v);e=o?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,v.is&&v),a=null,s=!1}if(f===null)p===v||s&&e.data===v||(e.data=v);else{if(a=a&&Cn.call(e.childNodes),h=(p=n.props||Zt).dangerouslySetInnerHTML,c=v.dangerouslySetInnerHTML,!s){if(a!=null)for(p={},d=0;d<e.attributes.length;d++)p[e.attributes[d].name]=e.attributes[d].value;(c||h)&&(c&&(h&&c.__html==h.__html||c.__html===e.innerHTML)||(e.innerHTML=c&&c.__html||""))}if(Q_(e,v,p,o,s),c)t.__k=[];else if(Sc(e,vr(d=t.props.children)?d:[d],t,n,r,o&&f!=="foreignObject",a,i,a?a[0]:n.__k&&gr(n,0),s,l),a!=null)for(d=a.length;d--;)a[d]!=null&&kc(a[d]);s||("value"in v&&(d=v.value)!==void 0&&(d!==e.value||f==="progress"&&!d||f==="option"&&d!==p.value)&&mr(e,"value",d,p.value,!1),"checked"in v&&(d=v.checked)!==void 0&&d!==e.checked&&mr(e,"checked",d,p.checked,!1))}return e}function Qo(e,t,n){try{typeof e=="function"?e(t):e.current=t}catch(r){E.__e(r,n)}}function Rc(e,t,n){var r,o;if(E.unmount&&E.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Qo(r,null,t)),(r=e.__c)!=null){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(a){E.__e(a,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(o=0;o<r.length;o++)r[o]&&Rc(r[o],t,n||typeof e.type!="function");n||e.__e==null||kc(e.__e),e.__=e.__e=e.__d=void 0}function t0(e,t,n){return this.constructor(e,n)}function Jt(e,t,n){var r,o,a,i;E.__&&E.__(e,t),o=(r=typeof n=="function")?null:n&&n.__k||t.__k,a=[],i=[],Jo(t,e=(!r&&n||t).__k=R(oe,null,[e]),o||Zt,Zt,t.ownerSVGElement!==void 0,!r&&n?[n]:o?null:t.firstChild?Cn.call(t.childNodes):null,a,!r&&n?n:o?o.__e:t.firstChild,r,i),Pc(a,e,i)}function ea(e,t){Jt(e,t,ea)}function n0(e,t,n){var r,o,a,i,s=Je({},e.props);for(a in e.type&&e.type.defaultProps&&(i=e.type.defaultProps),t)a=="key"?r=t[a]:a=="ref"?o=t[a]:s[a]=t[a]===void 0&&i!==void 0?i[a]:t[a];return arguments.length>2&&(s.children=arguments.length>3?Cn.call(arguments,2):n),An(e.type,s,r||e.key,o||e.ref,null)}function On(e,t){var n={__c:t="__cC"+bc++,__:e,Consumer:function(r,o){return r.children(o)},Provider:function(r){var o,a;return this.getChildContext||(o=[],(a={})[t]=this,this.getChildContext=function(){return a},this.shouldComponentUpdate=function(i){this.props.value!==i.value&&o.some(function(s){s.__e=!0,Zo(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}Cn=xc.slice,E={__e:function(e,t,n,r){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&a.getDerivedStateFromError!=null&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(s){e=s}throw e}},_c=0,mc=function(e){return e!=null&&e.constructor===void 0},Ee.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=Je({},this.state),typeof e=="function"&&(e=e(Je({},n),this.props)),e&&Je(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),Zo(this))},Ee.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Zo(this))},Ee.prototype.render=oe,Tt=[],yc=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Xo=function(e,t){return e.__v.__b-t.__v.__b},_r.__r=0,bc=0;var Dc=/[\s\n\\/='"\0<>]/,Nc=/^(xlink|xmlns|xml)([A-Z])/,r0=/^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]/,o0=/^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/,a0=/["&<]/;function wr(e){if(e.length===0||a0.test(e)===!1)return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var Lc={},i0=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"]),s0=/[A-Z]/g;function c0(e){var t="";for(var n in e){var r=e[n];if(r!=null&&r!==""){var o=n[0]=="-"?n:Lc[n]||(Lc[n]=n.replace(s0,"-$&").toLowerCase()),a=";";typeof r!="number"||o.startsWith("--")||i0.has(o)||(a="px;"),t=t+o+":"+r+a}}return t||void 0}var ta,Pt,Tn,Pn,Ic=[],Mc=Array.isArray,na=Object.assign;function l0(e,t,n){var r=E.__s;E.__s=!0,ta=E.__b,Pt=E.diffed,Tn=E.__r,Pn=E.unmount;var o=R(oe,null);o.__k=[e];try{var a=Fe(e,t||Hc,!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{E.__c&&E.__c(e,Ic),E.__s=r,Ic.length=0}}function Fc(){this.__d=!0}var Hc={};function zc(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,n.state==null&&(n.state=Hc),n.__s==null&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=na({},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(),Tn&&Tn(e),n.render(n.props,n.state,t)}function Fe(e,t,n,r,o,a,i){if(e==null||e===!0||e===!1||e==="")return"";if(typeof e!="object")return typeof e=="function"?"":wr(e+"");if(Mc(e)){var s,l="";o.__k=e;for(var u=0;u<e.length;u++){var h=e[u];if(h!=null&&typeof h!="boolean"){var c,p=Fe(h,t,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(e.constructor!==void 0)return"";e.__=o,ta&&ta(e);var v,f,d,m=e.type,_=e.props,b=t;if(typeof m=="function"){if(m===oe){if(_.tpl){for(var x="",w=0;w<_.tpl.length;w++)if(x+=_.tpl[w],_.exprs&&w<_.exprs.length){var y=_.exprs[w];if(y==null)continue;typeof y!="object"||y.constructor!==void 0&&!Mc(y)?x+=y:x+=Fe(y,t,n,r,e,a,i)}return x}if(_.UNSTABLE_comment)return"<!--"+wr(_.UNSTABLE_comment||"")+"-->";f=_.children}else{if((v=m.contextType)!=null){var k=t[v.__c];b=k?k.props.value:v.__}if(m.prototype&&typeof m.prototype.render=="function")f=zc(e,b),d=e.__c;else{e.__c=d={__v:e,props:_,context:b,setState:Fc,forceUpdate:Fc,__d:!0,__h:[]};for(var S=0;d.__d&&S++<25;)d.__d=!1,Tn&&Tn(e),f=m.call(d,_,b);d.__d=!0}if(d.getChildContext!=null&&(t=na({},t,d.getChildContext())),(m.getDerivedStateFromError||d.componentDidCatch)&&E.errorBoundaries){var j="";f=f!=null&&f.type===oe&&f.key==null?f.props.children:f;try{return j=Fe(f,t,n,r,e,a,i)}catch(K){return m.getDerivedStateFromError&&(d.__s=m.getDerivedStateFromError(K)),d.componentDidCatch&&d.componentDidCatch(K,{}),d.__d&&(f=zc(e,t),(d=e.__c).getChildContext!=null&&(t=na({},t,d.getChildContext())),j=Fe(f=f!=null&&f.type===oe&&f.key==null?f.props.children:f,t,n,r,e,a,i)),j}finally{Pt&&Pt(e),e.__=null,Pn&&Pn(e)}}}f=f!=null&&f.type===oe&&f.key==null&&f.props.tpl==null?f.props.children:f;try{var $=Fe(f,t,n,r,e,a,i);return Pt&&Pt(e),e.__=null,E.unmount&&E.unmount(e),$}catch(K){if(!a&&i&&i.onError){var C=i.onError(K,e,function(ae){return Fe(ae,t,n,r,e,a,i)});if(C!==void 0)return C;var I=E.__e;return I&&I(K,e),""}if(!a||!K||typeof K.then!="function")throw K;var M=function ae(){try{return Fe(f,t,n,r,e,a,i)}catch(le){if(!le||typeof le.then!="function")throw le;return le.then(function(){return Fe(f,t,n,r,e,a,i)},function(){return ae()})}};return K.then(function(){return M()})}}var N,P="<"+m,L="";for(var O in _){var T=_[O];switch(O){case"children":N=T;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in _)continue;O="for";break;case"className":if("class"in _)continue;O="class";break;case"defaultChecked":O="checked";break;case"defaultSelected":O="selected";break;case"defaultValue":case"value":switch(O="value",m){case"textarea":N=T;continue;case"select":r=T;continue;case"option":r!=T||"selected"in _||(P+=" selected")}break;case"dangerouslySetInnerHTML":L=T&&T.__html;continue;case"style":typeof T=="object"&&(T=c0(T));break;case"acceptCharset":O="accept-charset";break;case"httpEquiv":O="http-equiv";break;default:if(Nc.test(O))O=O.replace(Nc,"$1:$2").toLowerCase();else{if(Dc.test(O))continue;O[4]!=="-"&&O!=="draggable"||T==null?n?o0.test(O)&&(O=O==="panose1"?"panose-1":O.replace(/([A-Z])/g,"-$1").toLowerCase()):r0.test(O)&&(O=O.toLowerCase()):T+=""}}T!=null&&T!==!1&&typeof T!="function"&&(P=T===!0||T===""?P+" "+O:P+" "+O+'="'+wr(T+"")+'"')}if(Dc.test(m))throw new Error(m+" is not a valid HTML tag name in "+P+">");if(L||(typeof N=="string"?L=wr(N):N!=null&&N!==!1&&N!==!0&&(L=Fe(N,t,m==="svg"||m!=="foreignObject"&&n,r,e,a,i))),Pt&&Pt(e),e.__=null,Pn&&Pn(e),!L&&u0.has(m))return P+"/>";var V="</"+m+">",W=P+">";return Array.isArray(L)?[W].concat(L,[V]):typeof L!="string"?[W,L,V]:W+L+V}var u0=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),d0=0;function D(e,t,n,r,o,a){var i,s,l={};for(s in t)s=="ref"?i=t[s]:l[s]=t[s];var u={type:e,props:l,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--d0,__source:o,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(s in i)l[s]===void 0&&(l[s]=i[s]);return E.vnode&&E.vnode(u),u}const f0={bell:D("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:D("path",{d:"M8 8l8 8M8 16l8 -8"}),"chevron-up-down":D("path",{d:"M8 9l4 -4l4 4 M8 15l4 4l4 -4"})},p0=({theme:e})=>D("svg",{xmlns:"http://www.w3.org/2000/svg",style:{display:"none"},children:D("defs",{children:Object.entries(f0).map(([t,n])=>D("symbol",{id:`i-icon-${t}`,children:D("g",{fill:"none","stroke-width":e.mode==="dark"?"1":"1.5","stroke-linecap":"round","stroke-linejoin":"round",stroke:"currentColor",children:n})}))})}),Vc=({name:e,...t})=>D("svg",{viewBox:"0 0 24 24",width:24,height:24,...t,children:D("use",{href:`#i-icon-${e}`})});function fe(){return fe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fe.apply(this,arguments)}var et,q,ra,Uc,Qt=0,Wc=[],yr=[],Bc=E.__b,Yc=E.__r,qc=E.diffed,Kc=E.__c,Gc=E.unmount;function Rt(e,t){E.__h&&E.__h(q,e,Qt||t),Qt=0;var n=q.__H||(q.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:yr}),n.__[e]}function J(e){return Qt=1,br(el,e)}function br(e,t,n){var r=Rt(et++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):el(void 0,t),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=q,!q.u)){var o=function(s,l,u){if(!r.__c.__H)return!0;var h=r.__c.__H.__.filter(function(p){return p.__c});if(h.every(function(p){return!p.__N}))return!a||a.call(this,s,l,u);var c=!1;return h.forEach(function(p){if(p.__N){var v=p.__[0];p.__=p.__N,p.__N=void 0,v!==p.__[0]&&(c=!0)}}),!(!c&&r.__c.props===s)&&(!a||a.call(this,s,l,u))};q.u=!0;var a=q.shouldComponentUpdate,i=q.componentWillUpdate;q.componentWillUpdate=function(s,l,u){if(this.__e){var h=a;a=void 0,o(s,l,u),a=h}i&&i.call(this,s,l,u)},q.shouldComponentUpdate=o}return r.__N||r.__}function Q(e,t){var n=Rt(et++,3);!E.__s&&aa(n.__H,t)&&(n.__=e,n.i=t,q.__H.__h.push(n))}function Dt(e,t){var n=Rt(et++,4);!E.__s&&aa(n.__H,t)&&(n.__=e,n.i=t,q.__h.push(n))}function B(e){return Qt=5,ge(function(){return{current:e}},[])}function Xc(e,t,n){Qt=6,Dt(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},n==null?n:n.concat(e))}function ge(e,t){var n=Rt(et++,7);return aa(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function se(e,t){return Qt=8,ge(function(){return e},t)}function xr(e){var t=q.context[e.__c],n=Rt(et++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(q)),t.props.value):e.__}function Zc(e,t){E.useDebugValue&&E.useDebugValue(t?t(e):e)}function h0(e){var t=Rt(et++,10),n=J();return t.__=e,q.componentDidCatch||(q.componentDidCatch=function(r,o){t.__&&t.__(r,o),n[1](r)}),[n[0],function(){n[1](void 0)}]}function Jc(){var e=Rt(et++,11);if(!e.__){for(var t=q.__v;t!==null&&!t.__m&&t.__!==null;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function v0(){for(var e;e=Wc.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(kr),e.__H.__h.forEach(oa),e.__H.__h=[]}catch(t){e.__H.__h=[],E.__e(t,e.__v)}}E.__b=function(e){q=null,Bc&&Bc(e)},E.__r=function(e){Yc&&Yc(e),et=0;var t=(q=e.__c).__H;t&&(ra===q?(t.__h=[],q.__h=[],t.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=yr,n.__N=n.i=void 0})):(t.__h.forEach(kr),t.__h.forEach(oa),t.__h=[],et=0)),ra=q},E.diffed=function(e){qc&&qc(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Wc.push(t)!==1&&Uc===E.requestAnimationFrame||((Uc=E.requestAnimationFrame)||g0)(v0)),t.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==yr&&(n.__=n.__V),n.i=void 0,n.__V=yr})),ra=q=null},E.__c=function(e,t){t.some(function(n){try{n.__h.forEach(kr),n.__h=n.__h.filter(function(r){return!r.__||oa(r)})}catch(r){t.some(function(o){o.__h&&(o.__h=[])}),t=[],E.__e(r,n.__v)}}),Kc&&Kc(e,t)},E.unmount=function(e){Gc&&Gc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(r){try{kr(r)}catch(o){t=o}}),n.__H=void 0,t&&E.__e(t,n.__v))};var Qc=typeof requestAnimationFrame=="function";function g0(e){var t,n=function(){clearTimeout(r),Qc&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Qc&&(t=requestAnimationFrame(n))}function kr(e){var t=q,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),q=t}function oa(e){var t=q;e.__c=e.__(),q=t}function aa(e,t){return!e||e.length!==t.length||t.some(function(n,r){return n!==e[r]})}function el(e,t){return typeof t=="function"?t(e):t}function tl(e,t){for(var n in t)e[n]=t[n];return e}function ia(e,t){for(var n in e)if(n!=="__source"&&!(n in t))return!0;for(var r in t)if(r!=="__source"&&e[r]!==t[r])return!0;return!1}function sa(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}function jr(e){this.props=e}function nl(e,t){function n(o){var a=this.props.ref,i=a==o.ref;return!i&&a&&(a.call?a(null):a.current=null),t?!t(this.props,o)||!i:ia(this.props,o)}function r(o){return this.shouldComponentUpdate=n,R(e,o)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(jr.prototype=new Ee).isPureReactComponent=!0,jr.prototype.shouldComponentUpdate=function(e,t){return ia(this.props,e)||ia(this.state,t)};var rl=E.__b;E.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),rl&&rl(e)};var _0=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ce(e){function t(n){var r=tl({},n);return delete r.ref,e(r,n.ref||null)}return t.$$typeof=_0,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var ol=function(e,t){return e==null?null:Qe(Qe(e).map(t))},tt={map:ol,forEach:ol,count:function(e){return e?Qe(e).length:0},only:function(e){var t=Qe(e);if(t.length!==1)throw"Children.only";return t[0]},toArray:Qe},m0=E.__e;E.__e=function(e,t,n,r){if(e.then){for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return t.__e==null&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t)}m0(e,t,n,r)};var al=E.unmount;function il(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(r){typeof r.__c=="function"&&r.__c()}),e.__c.__H=null),(e=tl({},e)).__c!=null&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(r){return il(r,t,n)})),e}function sl(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(r){return sl(r,t,n)}),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function Rn(){this.__u=0,this.t=null,this.__b=null}function cl(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function ll(e){var t,n,r;function o(a){if(t||(t=e()).then(function(i){n=i.default||i},function(i){r=i}),r)throw r;if(!n)throw t;return R(n,a)}return o.displayName="Lazy",o.__f=!0,o}function en(){this.u=null,this.o=null}E.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),al&&al(e)},(Rn.prototype=new Ee).__c=function(e,t){var n=t.__c,r=this;r.t==null&&(r.t=[]),r.t.push(n);var o=cl(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 u=r.state.__a;r.__v.__k[0]=sl(u,u.__c.__P,u.__c.__O)}var h;for(r.setState({__a:r.__b=null});h=r.t.pop();)h.forceUpdate()}},l=t.__h===!0;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},Rn.prototype.componentWillUnmount=function(){this.t=[]},Rn.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=il(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&R(oe,null,e.fallback);return o&&(o.__h=null),[R(oe,null,t.__a?null:e.children),o]};var ul=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function w0(e){return this.getChildContext=function(){return e.context},e.children}function y0(e){var t=this,n=e.i;t.componentWillUnmount=function(){Jt(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(r){this.childNodes.push(r),t.i.appendChild(r)},insertBefore:function(r,o){this.childNodes.push(r),t.i.appendChild(r)},removeChild:function(r){this.childNodes.splice(this.childNodes.indexOf(r)>>>1,1),t.i.removeChild(r)}}),Jt(R(w0,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function dl(e,t){var n=R(y0,{__v:e,i:t});return n.containerInfo=t,n}(en.prototype=new Ee).__a=function(e){var t=this,n=cl(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),ul(t,e,r)):o()};n?n(a):a()}},en.prototype.render=function(e){this.u=null,this.o=new Map;var t=Qe(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},en.prototype.componentDidUpdate=en.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ul(e,n,t)})};var fl=typeof Symbol<"u"&&Symbol.for&&Symbol.for("react.element")||60103,b0=/^(?: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]/,x0=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,k0=/[A-Z0-9]/g,j0=typeof document<"u",$0=function(e){return(typeof Symbol<"u"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};function pl(e,t,n){return t.__k==null&&(t.textContent=""),Jt(e,t),typeof n=="function"&&n(),e?e.__c:null}function hl(e,t,n){return ea(e,t),typeof n=="function"&&n(),e?e.__c:null}Ee.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ee.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var vl=E.event;function S0(){}function E0(){return this.cancelBubble}function C0(){return this.defaultPrevented}E.event=function(e){return vl&&(e=vl(e)),e.persist=S0,e.isPropagationStopped=E0,e.isDefaultPrevented=C0,e.nativeEvent=e};var ca,A0={enumerable:!1,configurable:!0,get:function(){return this.class}},gl=E.vnode;E.vnode=function(e){typeof e.type=="string"&&function(t){var n=t.props,r=t.type,o={};for(var a in n){var i=n[a];if(!(a==="value"&&"defaultValue"in n&&i==null||j0&&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"||$0(n.type)?s==="onfocus"?a="onfocusin":s==="onblur"?a="onfocusout":x0.test(a)?a=s:r.indexOf("-")===-1&&b0.test(a)?a=a.replace(k0,"-$&").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=Qe(n.children).forEach(function(l){l.props.selected=o.value.indexOf(l.props.value)!=-1})),r=="select"&&o.defaultValue!=null&&(o.value=Qe(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",A0)):(n.className&&!n.class||n.class&&n.className)&&(o.class=o.className=n.className),t.props=o}(e),e.$$typeof=fl,gl&&gl(e)};var _l=E.__r;E.__r=function(e){_l&&_l(e),ca=e.__c};var ml=E.diffed;E.diffed=function(e){ml&&ml(e);var t=e.props,n=e.__e;n!=null&&e.type==="textarea"&&"value"in t&&t.value!==n.value&&(n.value=t.value==null?"":t.value),ca=null};var wl={ReactCurrentDispatcher:{current:{readContext:function(e){return ca.__n[e.__c].props.value}}}},O0="17.0.2";function yl(e){return R.bind(null,e)}function Nt(e){return!!e&&e.$$typeof===fl}function tn(e){return Nt(e)?n0.apply(null,arguments):e}function bl(e){return!!e.__k&&(Jt(null,e),!0)}function xl(e){return e&&(e.base||e.nodeType===1&&e)||null}var kl=function(e,t){return e(t)},Dn=function(e,t){return e(t)},jl=oe;function la(e){e()}function $l(e){return e}function Sl(){return[!1,la]}var El=Dt;function Cl(e,t){var n=t(),r=J({h:{__:n,v:t}}),o=r[0].h,a=r[1];return Dt(function(){o.__=n,o.v=t,sa(o.__,t())||a({h:o})},[e,n,t]),Q(function(){return sa(o.__,o.v())||a({h:o}),e(function(){sa(o.__,o.v())||a({h:o})})},[e]),n}var Al={useState:J,useId:Jc,useReducer:br,useEffect:Q,useLayoutEffect:Dt,useInsertionEffect:El,useTransition:Sl,useDeferredValue:$l,useSyncExternalStore:Cl,startTransition:la,useRef:B,useImperativeHandle:Xc,useMemo:ge,useCallback:se,useContext:xr,useDebugValue:Zc,version:"17.0.2",Children:tt,render:pl,hydrate:hl,unmountComponentAtNode:bl,createPortal:dl,createElement:R,createContext:On,createFactory:yl,cloneElement:tn,createRef:jc,Fragment:oe,isValidElement:Nt,findDOMNode:xl,Component:Ee,PureComponent:jr,memo:nl,forwardRef:ce,flushSync:Dn,unstable_batchedUpdates:kl,StrictMode:jl,Suspense:Rn,SuspenseList:en,lazy:ll,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:wl};const T0=Object.freeze(Object.defineProperty({__proto__:null,Children:tt,Component:Ee,Fragment:oe,PureComponent:jr,StrictMode:jl,Suspense:Rn,SuspenseList:en,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:wl,cloneElement:tn,createContext:On,createElement:R,createFactory:yl,createPortal:dl,createRef:jc,default:Al,findDOMNode:xl,flushSync:Dn,forwardRef:ce,hydrate:hl,isValidElement:Nt,lazy:ll,memo:nl,render:pl,startTransition:la,unmountComponentAtNode:bl,unstable_batchedUpdates:kl,useCallback:se,useContext:xr,useDebugValue:Zc,useDeferredValue:$l,useEffect:Q,useErrorBoundary:h0,useId:Jc,useImperativeHandle:Xc,useInsertionEffect:El,useLayoutEffect:Dt,useMemo:ge,useReducer:br,useRef:B,useState:J,useSyncExternalStore:Cl,useTransition:Sl,version:O0},Symbol.toStringTag,{value:"Module"}));function Lt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function P0(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Ol(...e){return t=>e.forEach(n=>P0(n,t))}function It(...e){return se(Ol(...e),e)}function Tl(e,t=[]){let n=[];function r(a,i){const s=On(i),l=n.length;n=[...n,i];function u(c){const{scope:p,children:v,...f}=c,d=(p==null?void 0:p[e][l])||s,m=ge(()=>f,Object.values(f));return R(d.Provider,{value:m},v)}function h(c,p){const v=(p==null?void 0:p[e][l])||s,f=xr(v);if(f)return f;if(i!==void 0)return i;throw new Error(`\`${c}\` must be used within \`${a}\``)}return u.displayName=a+"Provider",[u,h]}const o=()=>{const a=n.map(i=>On(i));return function(s){const l=(s==null?void 0:s[e])||a;return ge(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,R0(o,...t)]}function R0(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.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 ge(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}const ua=ce((e,t)=>{const{children:n,...r}=e,o=tt.toArray(n),a=o.find(N0);if(a){const i=a.props.children,s=o.map(l=>l===a?tt.count(i)>1?tt.only(null):Nt(i)?i.props.children:null:l);return R(da,fe({},r,{ref:t}),Nt(i)?tn(i,void 0,s):null)}return R(da,fe({},r,{ref:t}),n)});ua.displayName="Slot";const da=ce((e,t)=>{const{children:n,...r}=e;return Nt(n)?tn(n,{...L0(r,n.props),ref:t?Ol(t,n.ref):n.ref}):tt.count(n)>1?tt.only(null):null});da.displayName="SlotClone";const D0=({children:e})=>R(oe,null,e);function N0(e){return Nt(e)&&e.type===D0}function L0(e,t){const n={...t};for(const r in t){const o=e[r],a=t[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{...e,...n}}const nn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{const n=ce((r,o)=>{const{asChild:a,...i}=r,s=a?ua:t;return Q(()=>{window[Symbol.for("radix-ui")]=!0},[]),R(s,fe({},i,{ref:o}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function I0(e,t){e&&Dn(()=>e.dispatchEvent(t))}function _t(e){const t=B(e);return Q(()=>{t.current=e}),ge(()=>(...n)=>{var r;return(r=t.current)===null||r===void 0?void 0:r.call(t,...n)},[])}function M0(e,t=globalThis==null?void 0:globalThis.document){const n=_t(e);Q(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r),()=>t.removeEventListener("keydown",r)},[n,t])}const fa="dismissableLayer.update",F0="dismissableLayer.pointerDownOutside",H0="dismissableLayer.focusOutside";let Pl;const z0=On({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),V0=ce((e,t)=>{var n;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:o,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...u}=e,h=xr(z0),[c,p]=J(null),v=(n=c==null?void 0:c.ownerDocument)!==null&&n!==void 0?n:globalThis==null?void 0:globalThis.document,[,f]=J({}),d=It(t,j=>p(j)),m=Array.from(h.layers),[_]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),b=m.indexOf(_),x=c?m.indexOf(c):-1,w=h.layersWithOutsidePointerEventsDisabled.size>0,y=x>=b,k=U0(j=>{const $=j.target,C=[...h.branches].some(I=>I.contains($));!y||C||(a==null||a(j),s==null||s(j),j.defaultPrevented||l==null||l())},v),S=W0(j=>{const $=j.target;[...h.branches].some(I=>I.contains($))||(i==null||i(j),s==null||s(j),j.defaultPrevented||l==null||l())},v);return M0(j=>{x===h.layers.size-1&&(o==null||o(j),!j.defaultPrevented&&l&&(j.preventDefault(),l()))},v),Q(()=>{if(c)return r&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(Pl=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(c)),h.layers.add(c),Rl(),()=>{r&&h.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=Pl)}},[c,v,r,h]),Q(()=>()=>{c&&(h.layers.delete(c),h.layersWithOutsidePointerEventsDisabled.delete(c),Rl())},[c,h]),Q(()=>{const j=()=>f({});return document.addEventListener(fa,j),()=>document.removeEventListener(fa,j)},[]),R(nn.div,fe({},u,{ref:d,style:{pointerEvents:w?y?"auto":"none":void 0,...e.style},onFocusCapture:Lt(e.onFocusCapture,S.onFocusCapture),onBlurCapture:Lt(e.onBlurCapture,S.onBlurCapture),onPointerDownCapture:Lt(e.onPointerDownCapture,k.onPointerDownCapture)}))});function U0(e,t=globalThis==null?void 0:globalThis.document){const n=_t(e),r=B(!1),o=B(()=>{});return Q(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){Dl(F0,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",a),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function W0(e,t=globalThis==null?void 0:globalThis.document){const n=_t(e),r=B(!1);return Q(()=>{const o=a=>{a.target&&!r.current&&Dl(H0,n,{originalEvent:a},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Rl(){const e=new CustomEvent(fa);document.dispatchEvent(e)}function Dl(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?I0(o,a):o.dispatchEvent(a)}let pa=0;function B0(){Q(()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=n[0])!==null&&e!==void 0?e:Nl()),document.body.insertAdjacentElement("beforeend",(t=n[1])!==null&&t!==void 0?t:Nl()),pa++,()=>{pa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(r=>r.remove()),pa--}},[])}function Nl(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}const ha="focusScope.autoFocusOnMount",va="focusScope.autoFocusOnUnmount",Ll={bubbles:!1,cancelable:!0},Y0=ce((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=e,[s,l]=J(null),u=_t(o),h=_t(a),c=B(null),p=It(t,d=>l(d)),v=B({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;Q(()=>{if(r){let d=function(x){if(v.paused||!s)return;const w=x.target;s.contains(w)?c.current=w:mt(c.current,{select:!0})},m=function(x){if(v.paused||!s)return;const w=x.relatedTarget;w!==null&&(s.contains(w)||mt(c.current,{select:!0}))},_=function(x){if(document.activeElement===document.body)for(const y of x)y.removedNodes.length>0&&mt(s)};document.addEventListener("focusin",d),document.addEventListener("focusout",m);const b=new MutationObserver(_);return s&&b.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",d),document.removeEventListener("focusout",m),b.disconnect()}}},[r,s,v.paused]),Q(()=>{if(s){Fl.add(v);const d=document.activeElement;if(!s.contains(d)){const _=new CustomEvent(ha,Ll);s.addEventListener(ha,u),s.dispatchEvent(_),_.defaultPrevented||(q0(J0(Il(s)),{select:!0}),document.activeElement===d&&mt(s))}return()=>{s.removeEventListener(ha,u),setTimeout(()=>{const _=new CustomEvent(va,Ll);s.addEventListener(va,h),s.dispatchEvent(_),_.defaultPrevented||mt(d??document.body,{select:!0}),s.removeEventListener(va,h),Fl.remove(v)},0)}}},[s,u,h,v]);const f=se(d=>{if(!n&&!r||v.paused)return;const m=d.key==="Tab"&&!d.altKey&&!d.ctrlKey&&!d.metaKey,_=document.activeElement;if(m&&_){const b=d.currentTarget,[x,w]=K0(b);x&&w?!d.shiftKey&&_===w?(d.preventDefault(),n&&mt(x,{select:!0})):d.shiftKey&&_===x&&(d.preventDefault(),n&&mt(w,{select:!0})):_===b&&d.preventDefault()}},[n,r,v.paused]);return R(nn.div,fe({tabIndex:-1},i,{ref:p,onKeyDown:f}))});function q0(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(mt(r,{select:t}),document.activeElement!==n)return}function K0(e){const t=Il(e),n=Ml(t,e),r=Ml(t.reverse(),e);return[n,r]}function Il(e){const t=[],n=document.createTreeWalker(e,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();)t.push(n.currentNode);return t}function Ml(e,t){for(const n of e)if(!G0(n,{upTo:t}))return n}function G0(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function X0(e){return e instanceof HTMLInputElement&&"select"in e}function mt(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&X0(e)&&t&&e.select()}}const Fl=Z0();function Z0(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Hl(e,t),e.unshift(t)},remove(t){var n;e=Hl(e,t),(n=e[0])===null||n===void 0||n.resume()}}}function Hl(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function J0(e){return e.filter(t=>t.tagName!=="A")}const rn=globalThis!=null&&globalThis.document?Dt:()=>{},Q0=T0["useId".toString()]||(()=>{});let em=0;function tm(e){const[t,n]=J(Q0());return rn(()=>{e||n(r=>r??String(em++))},[e]),e||(t?`radix-${t}`:"")}const nm=["top","right","bottom","left"],He=Math.min,be=Math.max,$r=Math.round,Sr=Math.floor,wt=e=>({x:e,y:e}),rm={left:"right",right:"left",bottom:"top",top:"bottom"},om={start:"end",end:"start"};function ga(e,t,n){return be(e,He(t,n))}function nt(e,t){return typeof e=="function"?e(t):e}function rt(e){return e.split("-")[0]}function on(e){return e.split("-")[1]}function _a(e){return e==="x"?"y":"x"}function ma(e){return e==="y"?"height":"width"}function yt(e){return["top","bottom"].includes(rt(e))?"y":"x"}function wa(e){return _a(yt(e))}function am(e,t,n){n===void 0&&(n=!1);const r=on(e),o=wa(e),a=ma(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Er(i)),[i,Er(i)]}function im(e){const t=Er(e);return[ya(e),t,ya(t)]}function ya(e){return e.replace(/start|end/g,t=>om[t])}function sm(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function cm(e,t,n,r){const o=on(e);let a=sm(rt(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(ya)))),a}function Er(e){return e.replace(/left|right|bottom|top/g,t=>rm[t])}function lm(e){return{top:0,right:0,bottom:0,left:0,...e}}function zl(e){return typeof e!="number"?lm(e):{top:e,right:e,bottom:e,left:e}}function Cr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Vl(e,t,n){let{reference:r,floating:o}=e;const a=yt(t),i=wa(t),s=ma(i),l=rt(t),u=a==="y",h=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 v;switch(l){case"top":v={x:h,y:r.y-o.height};break;case"bottom":v={x:h,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:c};break;case"left":v={x:r.x-o.width,y:c};break;default:v={x:r.x,y:r.y}}switch(on(t)){case"start":v[i]-=p*(n&&u?-1:1);break;case"end":v[i]+=p*(n&&u?-1:1);break}return v}const um=async(e,t,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(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:h,y:c}=Vl(u,r,l),p=r,v={},f=0;for(let d=0;d<s.length;d++){const{name:m,fn:_}=s[d],{x:b,y:x,data:w,reset:y}=await _({x:h,y:c,initialPlacement:r,placement:p,strategy:o,middlewareData:v,rects:u,platform:i,elements:{reference:e,floating:t}});h=b??h,c=x??c,v={...v,[m]:{...v[m],...w}},y&&f<=50&&(f++,typeof y=="object"&&(y.placement&&(p=y.placement),y.rects&&(u=y.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):y.rects),{x:h,y:c}=Vl(u,p,l)),d=-1)}return{x:h,y:c,placement:p,strategy:o,middlewareData:v}};async function Nn(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:h="viewport",elementContext:c="floating",altBoundary:p=!1,padding:v=0}=nt(t,e),f=zl(v),m=s[p?c==="floating"?"reference":"floating":c],_=Cr(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(m)))==null||n?m:m.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:h,strategy:l})),b=c==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),w=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},y=Cr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:x,strategy:l}):b);return{top:(_.top-y.top+f.top)/w.y,bottom:(y.bottom-_.bottom+f.bottom)/w.y,left:(_.left-y.left+f.left)/w.x,right:(y.right-_.right+f.right)/w.x}}const dm=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:h=0}=nt(e,t)||{};if(u==null)return{};const c=zl(h),p={x:n,y:r},v=wa(o),f=ma(v),d=await i.getDimensions(u),m=v==="y",_=m?"top":"left",b=m?"bottom":"right",x=m?"clientHeight":"clientWidth",w=a.reference[f]+a.reference[v]-p[v]-a.floating[f],y=p[v]-a.reference[v],k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let S=k?k[x]:0;(!S||!await(i.isElement==null?void 0:i.isElement(k)))&&(S=s.floating[x]||a.floating[f]);const j=w/2-y/2,$=S/2-d[f]/2-1,C=He(c[_],$),I=He(c[b],$),M=C,N=S-d[f]-I,P=S/2-d[f]/2+j,L=ga(M,P,N),O=!l.arrow&&on(o)!=null&&P!==L&&a.reference[f]/2-(P<M?C:I)-d[f]/2<0,T=O?P<M?P-M:P-N:0;return{[v]:p[v]+T,data:{[v]:L,centerOffset:P-L-T,...O&&{alignmentOffset:T}},reset:O}}}),fm=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:h=!0,crossAxis:c=!0,fallbackPlacements:p,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:d=!0,...m}=nt(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const _=rt(o),b=yt(s),x=rt(s)===s,w=await(l.isRTL==null?void 0:l.isRTL(u.floating)),y=p||(x||!d?[Er(s)]:im(s)),k=f!=="none";!p&&k&&y.push(...cm(s,d,f,w));const S=[s,...y],j=await Nn(t,m),$=[];let C=((r=a.flip)==null?void 0:r.overflows)||[];if(h&&$.push(j[_]),c){const P=am(o,i,w);$.push(j[P[0]],j[P[1]])}if(C=[...C,{placement:o,overflows:$}],!$.every(P=>P<=0)){var I,M;const P=(((I=a.flip)==null?void 0:I.index)||0)+1,L=S[P];if(L)return{data:{index:P,overflows:C},reset:{placement:L}};let O=(M=C.filter(T=>T.overflows[0]<=0).sort((T,V)=>T.overflows[1]-V.overflows[1])[0])==null?void 0:M.placement;if(!O)switch(v){case"bestFit":{var N;const T=(N=C.filter(V=>{if(k){const W=yt(V.placement);return W===b||W==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(W=>W>0).reduce((W,K)=>W+K,0)]).sort((V,W)=>V[1]-W[1])[0])==null?void 0:N[0];T&&(O=T);break}case"initialPlacement":O=s;break}if(o!==O)return{reset:{placement:O}}}return{}}}};function Ul(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Wl(e){return nm.some(t=>e[t]>=0)}const pm=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=nt(e,t);switch(r){case"referenceHidden":{const a=await Nn(t,{...o,elementContext:"reference"}),i=Ul(a,n.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:Wl(i)}}}case"escaped":{const a=await Nn(t,{...o,altBoundary:!0}),i=Ul(a,n.floating);return{data:{escapedOffsets:i,escaped:Wl(i)}}}default:return{}}}}};async function hm(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=rt(n),s=on(n),l=yt(n)==="y",u=["left","top"].includes(i)?-1:1,h=a&&l?-1:1,c=nt(t,e);let{mainAxis:p,crossAxis:v,alignmentAxis:f}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...c};return s&&typeof f=="number"&&(v=s==="end"?f*-1:f),l?{x:v*h,y:p*u}:{x:p*u,y:v*h}}const vm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await hm(t,e);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}}}}},gm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:m=>{let{x:_,y:b}=m;return{x:_,y:b}}},...l}=nt(e,t),u={x:n,y:r},h=await Nn(t,l),c=yt(rt(o)),p=_a(c);let v=u[p],f=u[c];if(a){const m=p==="y"?"top":"left",_=p==="y"?"bottom":"right",b=v+h[m],x=v-h[_];v=ga(b,v,x)}if(i){const m=c==="y"?"top":"left",_=c==="y"?"bottom":"right",b=f+h[m],x=f-h[_];f=ga(b,f,x)}const d=s.fn({...t,[p]:v,[c]:f});return{...d,data:{x:d.x-n,y:d.y-r}}}}},_m=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=nt(e,t),h={x:n,y:r},c=yt(o),p=_a(c);let v=h[p],f=h[c];const d=nt(s,t),m=typeof d=="number"?{mainAxis:d,crossAxis:0}:{mainAxis:0,crossAxis:0,...d};if(l){const x=p==="y"?"height":"width",w=a.reference[p]-a.floating[x]+m.mainAxis,y=a.reference[p]+a.reference[x]-m.mainAxis;v<w?v=w:v>y&&(v=y)}if(u){var _,b;const x=p==="y"?"width":"height",w=["top","left"].includes(rt(o)),y=a.reference[c]-a.floating[x]+(w&&((_=i.offset)==null?void 0:_[c])||0)+(w?0:m.crossAxis),k=a.reference[c]+a.reference[x]+(w?0:((b=i.offset)==null?void 0:b[c])||0)-(w?m.crossAxis:0);f<y?f=y:f>k&&(f=k)}return{[p]:v,[c]:f}}}},mm=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...s}=nt(e,t),l=await Nn(t,s),u=rt(n),h=on(n),c=yt(n)==="y",{width:p,height:v}=r.floating;let f,d;u==="top"||u==="bottom"?(f=u,d=h===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(d=u,f=h==="end"?"top":"bottom");const m=v-l.top-l.bottom,_=p-l.left-l.right,b=He(v-l[f],m),x=He(p-l[d],_),w=!t.middlewareData.shift;let y=b,k=x;if(c?k=h||w?He(x,_):_:y=h||w?He(b,m):m,w&&!h){const j=be(l.left,0),$=be(l.right,0),C=be(l.top,0),I=be(l.bottom,0);c?k=p-2*(j!==0||$!==0?j+$:be(l.left,l.right)):y=v-2*(C!==0||I!==0?C+I:be(l.top,l.bottom))}await i({...t,availableWidth:k,availableHeight:y});const S=await o.getDimensions(a.floating);return p!==S.width||v!==S.height?{reset:{rects:!0}}:{}}}};function an(e){return Bl(e)?(e.nodeName||"").toLowerCase():"#document"}function xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ot(e){var t;return(t=(Bl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Bl(e){return e instanceof Node||e instanceof xe(e).Node}function Te(e){return e instanceof Element||e instanceof xe(e).Element}function ze(e){return e instanceof HTMLElement||e instanceof xe(e).HTMLElement}function Yl(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof xe(e).ShadowRoot}function Ln(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Pe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function wm(e){return["table","td","th"].includes(an(e))}function Ar(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ba(e){const t=xa(),n=Te(e)?Pe(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(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 ym(e){let t=bt(e);for(;ze(t)&&!sn(t);){if(ba(t))return t;if(Ar(t))return null;t=bt(t)}return null}function xa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sn(e){return["html","body","#document"].includes(an(e))}function Pe(e){return xe(e).getComputedStyle(e)}function Or(e){return Te(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function bt(e){if(an(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yl(e)&&e.host||ot(e);return Yl(t)?t.host:t}function ql(e){const t=bt(e);return sn(t)?e.ownerDocument?e.ownerDocument.body:e.body:ze(t)&&Ln(t)?t:ql(t)}function In(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=ql(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=xe(o);if(a){const s=ka(i);return t.concat(i,i.visualViewport||[],Ln(o)?o:[],s&&n?In(s):[])}return t.concat(o,In(o,[],n))}function ka(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Kl(e){const t=Pe(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=ze(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=$r(n)!==a||$r(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function ja(e){return Te(e)?e:e.contextElement}function cn(e){const t=ja(e);if(!ze(t))return wt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Kl(t);let i=(a?$r(n.width):n.width)/r,s=(a?$r(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const bm=wt(0);function Gl(e){const t=xe(e);return!xa()||!t.visualViewport?bm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function xm(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==xe(e)?!1:t}function Mt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=ja(e);let i=wt(1);t&&(r?Te(r)&&(i=cn(r)):i=cn(e));const s=xm(a,n,r)?Gl(a):wt(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,h=o.width/i.x,c=o.height/i.y;if(a){const p=xe(a),v=r&&Te(r)?xe(r):r;let f=p,d=ka(f);for(;d&&r&&v!==f;){const m=cn(d),_=d.getBoundingClientRect(),b=Pe(d),x=_.left+(d.clientLeft+parseFloat(b.paddingLeft))*m.x,w=_.top+(d.clientTop+parseFloat(b.paddingTop))*m.y;l*=m.x,u*=m.y,h*=m.x,c*=m.y,l+=x,u+=w,f=xe(d),d=ka(f)}}return Cr({width:h,height:c,x:l,y:u})}function km(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",i=ot(r),s=t?Ar(t.floating):!1;if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=wt(1);const h=wt(0),c=ze(r);if((c||!c&&!a)&&((an(r)!=="body"||Ln(i))&&(l=Or(r)),ze(r))){const p=Mt(r);u=cn(r),h.x=p.x+r.clientLeft,h.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+h.x,y:n.y*u.y-l.scrollTop*u.y+h.y}}function jm(e){return Array.from(e.getClientRects())}function Xl(e){return Mt(ot(e)).left+Or(e).scrollLeft}function $m(e){const t=ot(e),n=Or(e),r=e.ownerDocument.body,o=be(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=be(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Xl(e);const s=-n.scrollTop;return Pe(r).direction==="rtl"&&(i+=be(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function Sm(e,t){const n=xe(e),r=ot(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=xa();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function Em(e,t){const n=Mt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=ze(e)?cn(e):wt(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function Zl(e,t,n){let r;if(t==="viewport")r=Sm(e,n);else if(t==="document")r=$m(ot(e));else if(Te(t))r=Em(t,n);else{const o=Gl(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Cr(r)}function Jl(e,t){const n=bt(e);return n===t||!Te(n)||sn(n)?!1:Pe(n).position==="fixed"||Jl(n,t)}function Cm(e,t){const n=t.get(e);if(n)return n;let r=In(e,[],!1).filter(s=>Te(s)&&an(s)!=="body"),o=null;const a=Pe(e).position==="fixed";let i=a?bt(e):e;for(;Te(i)&&!sn(i);){const s=Pe(i),l=ba(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Ln(i)&&!l&&Jl(e,i))?r=r.filter(h=>h!==i):o=s,i=bt(i)}return t.set(e,r),r}function Am(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?Ar(t)?[]:Cm(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,h)=>{const c=Zl(t,h,o);return u.top=be(c.top,u.top),u.right=He(c.right,u.right),u.bottom=He(c.bottom,u.bottom),u.left=be(c.left,u.left),u},Zl(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Om(e){const{width:t,height:n}=Kl(e);return{width:t,height:n}}function Tm(e,t,n){const r=ze(t),o=ot(t),a=n==="fixed",i=Mt(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=wt(0);if(r||!r&&!a)if((an(t)!=="body"||Ln(o))&&(s=Or(t)),r){const c=Mt(t,!0,a,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=Xl(o));const u=i.left+s.scrollLeft-l.x,h=i.top+s.scrollTop-l.y;return{x:u,y:h,width:i.width,height:i.height}}function $a(e){return Pe(e).position==="static"}function Ql(e,t){return!ze(e)||Pe(e).position==="fixed"?null:t?t(e):e.offsetParent}function eu(e,t){const n=xe(e);if(Ar(e))return n;if(!ze(e)){let o=bt(e);for(;o&&!sn(o);){if(Te(o)&&!$a(o))return o;o=bt(o)}return n}let r=Ql(e,t);for(;r&&wm(r)&&$a(r);)r=Ql(r,t);return r&&sn(r)&&$a(r)&&!ba(r)?n:r||ym(e)||n}const Pm=async function(e){const t=this.getOffsetParent||eu,n=this.getDimensions,r=await n(e.floating);return{reference:Tm(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Rm(e){return Pe(e).direction==="rtl"}const Dm={convertOffsetParentRelativeRectToViewportRelativeRect:km,getDocumentElement:ot,getClippingRect:Am,getOffsetParent:eu,getElementRects:Pm,getClientRects:jm,getDimensions:Om,getScale:cn,isElement:Te,isRTL:Rm};function Nm(e,t){let n=null,r;const o=ot(e);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:h,width:c,height:p}=e.getBoundingClientRect();if(s||t(),!c||!p)return;const v=Sr(h),f=Sr(o.clientWidth-(u+c)),d=Sr(o.clientHeight-(h+p)),m=Sr(u),b={rootMargin:-v+"px "+-f+"px "+-d+"px "+-m+"px",threshold:be(0,He(1,l))||1};let x=!0;function w(y){const k=y[0].intersectionRatio;if(k!==l){if(!x)return i();k?i(!1,k):r=setTimeout(()=>{i(!1,1e-7)},1e3)}x=!1}try{n=new IntersectionObserver(w,{...b,root:o.ownerDocument})}catch{n=new IntersectionObserver(w,b)}n.observe(e)}return i(!0),a}function Lm(e,t,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=ja(e),h=o||a?[...u?In(u):[],...In(t)]:[];h.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),a&&_.addEventListener("resize",n)});const c=u&&s?Nm(u,n):null;let p=-1,v=null;i&&(v=new ResizeObserver(_=>{let[b]=_;b&&b.target===u&&v&&(v.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=v)==null||x.observe(t)})),n()}),u&&!l&&v.observe(u),v.observe(t));let f,d=l?Mt(e):null;l&&m();function m(){const _=Mt(e);d&&(_.x!==d.x||_.y!==d.y||_.width!==d.width||_.height!==d.height)&&n(),d=_,f=requestAnimationFrame(m)}return n(),()=>{var _;h.forEach(b=>{o&&b.removeEventListener("scroll",n),a&&b.removeEventListener("resize",n)}),c==null||c(),(_=v)==null||_.disconnect(),v=null,l&&cancelAnimationFrame(f)}}const Im=vm,Mm=gm,Fm=fm,Hm=mm,zm=pm,tu=dm,Vm=_m,Um=(e,t,n)=>{const r=new Map,o={platform:Dm,...n},a={...o.platform,_c:r};return um(e,t,{...o,platform:a})};var Tr=typeof document<"u"?Dt:Q;function Pr(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Pr(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&e.$$typeof)&&!Pr(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function nu(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ru(e,t){const n=nu(e);return Math.round(t*n)/n}function ou(e){const t=B(e);return Tr(()=>{t.current=e}),t}function Wm(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[h,c]=J({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,v]=J(r);Pr(p,r)||v(r);const[f,d]=J(null),[m,_]=J(null),b=se(T=>{T!==k.current&&(k.current=T,d(T))},[]),x=se(T=>{T!==S.current&&(S.current=T,_(T))},[]),w=a||f,y=i||m,k=B(null),S=B(null),j=B(h),$=l!=null,C=ou(l),I=ou(o),M=se(()=>{if(!k.current||!S.current)return;const T={placement:t,strategy:n,middleware:p};I.current&&(T.platform=I.current),Um(k.current,S.current,T).then(V=>{const W={...V,isPositioned:!0};N.current&&!Pr(j.current,W)&&(j.current=W,Dn(()=>{c(W)}))})},[p,t,n,I]);Tr(()=>{u===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,c(T=>({...T,isPositioned:!1})))},[u]);const N=B(!1);Tr(()=>(N.current=!0,()=>{N.current=!1}),[]),Tr(()=>{if(w&&(k.current=w),y&&(S.current=y),w&&y){if(C.current)return C.current(w,y,M);M()}},[w,y,M,C,$]);const P=ge(()=>({reference:k,floating:S,setReference:b,setFloating:x}),[b,x]),L=ge(()=>({reference:w,floating:y}),[w,y]),O=ge(()=>{const T={position:n,left:0,top:0};if(!L.floating)return T;const V=ru(L.floating,h.x),W=ru(L.floating,h.y);return s?{...T,transform:"translate("+V+"px, "+W+"px)",...nu(L.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:V,top:W}},[n,s,L.floating,h.x,h.y]);return ge(()=>({...h,update:M,refs:P,elements:L,floatingStyles:O}),[h,M,P,L,O])}const Bm=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?tu({element:r.current,padding:o}).fn(n):{}:r?tu({element:r,padding:o}).fn(n):{}}}},Ym=(e,t)=>({...Im(e),options:[e,t]}),qm=(e,t)=>({...Mm(e),options:[e,t]}),Km=(e,t)=>({...Vm(e),options:[e,t]}),Gm=(e,t)=>({...Fm(e),options:[e,t]}),Xm=(e,t)=>({...Hm(e),options:[e,t]}),Zm=(e,t)=>({...zm(e),options:[e,t]}),Jm=(e,t)=>({...Bm(e),options:[e,t]});function Qm(e){const[t,n]=J(void 0);return rn(()=>{if(e){n({width:e.offsetWidth,height:e.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=e.offsetWidth,s=e.offsetHeight;n({width:i,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}const au="Popper",[iu,su]=Tl(au),[ew,cu]=iu(au),tw=e=>{const{__scopePopper:t,children:n}=e,[r,o]=J(null);return R(ew,{scope:t,anchor:r,onAnchorChange:o},n)},nw="PopperAnchor",rw=ce((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,a=cu(nw,n),i=B(null),s=It(t,i);return Q(()=>{a.onAnchorChange((r==null?void 0:r.current)||i.current)}),r?null:R(nn.div,fe({},o,{ref:s}))}),lu="PopperContent",[ow,Gy]=iu(lu),aw=ce((e,t)=>{var n,r,o,a,i,s,l,u;const{__scopePopper:h,side:c="bottom",sideOffset:p=0,align:v="center",alignOffset:f=0,arrowPadding:d=0,avoidCollisions:m=!0,collisionBoundary:_=[],collisionPadding:b=0,sticky:x="partial",hideWhenDetached:w=!1,updatePositionStrategy:y="optimized",onPlaced:k,...S}=e,j=cu(lu,h),[$,C]=J(null),I=It(t,Z=>C(Z)),[M,N]=J(null),P=Qm(M),L=(n=P==null?void 0:P.width)!==null&&n!==void 0?n:0,O=(r=P==null?void 0:P.height)!==null&&r!==void 0?r:0,T=c+(v!=="center"?"-"+v:""),V=typeof b=="number"?b:{top:0,right:0,bottom:0,left:0,...b},W=Array.isArray(_)?_:[_],K=W.length>0,ae={padding:V,boundary:W.filter(iw),altBoundary:K},{refs:le,floatingStyles:Ft,placement:Yr,isPositioned:at,middlewareData:it}=Wm({strategy:"fixed",placement:T,whileElementsMounted:(...Z)=>Lm(...Z,{animationFrame:y==="always"}),elements:{reference:j.anchor},middleware:[Ym({mainAxis:p+O,alignmentAxis:f}),m&&qm({mainAxis:!0,crossAxis:!1,limiter:x==="partial"?Km():void 0,...ae}),m&&Gm({...ae}),Xm({...ae,apply:({elements:Z,rects:ke,availableWidth:kt,availableHeight:ie})=>{const{width:he,height:Re}=ke.reference,zt=Z.floating.style;zt.setProperty("--radix-popper-available-width",`${kt}px`),zt.setProperty("--radix-popper-available-height",`${ie}px`),zt.setProperty("--radix-popper-anchor-width",`${he}px`),zt.setProperty("--radix-popper-anchor-height",`${Re}px`)}}),M&&Jm({element:M,padding:d}),sw({arrowWidth:L,arrowHeight:O}),w&&Zm({strategy:"referenceHidden",...ae})]}),[zn,Va]=uu(Yr),gn=_t(k);rn(()=>{at&&(gn==null||gn())},[at,gn]);const Ht=(o=it.arrow)===null||o===void 0?void 0:o.x,qr=(a=it.arrow)===null||a===void 0?void 0:a.y,G=((i=it.arrow)===null||i===void 0?void 0:i.centerOffset)!==0,[X,ue]=J();return rn(()=>{$&&ue(window.getComputedStyle($).zIndex)},[$]),R("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...Ft,transform:at?Ft.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:X,"--radix-popper-transform-origin":[(s=it.transformOrigin)===null||s===void 0?void 0:s.x,(l=it.transformOrigin)===null||l===void 0?void 0:l.y].join(" ")},dir:e.dir},R(ow,{scope:h,placedSide:zn,onArrowChange:N,arrowX:Ht,arrowY:qr,shouldHideArrow:G},R(nn.div,fe({"data-side":zn,"data-align":Va},S,{ref:I,style:{...S.style,animation:at?void 0:"none",opacity:(u=it.hide)!==null&&u!==void 0&&u.referenceHidden?0:void 0}}))))});function iw(e){return e!==null}const sw=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:s,rects:l,middlewareData:u}=t,c=((n=u.arrow)===null||n===void 0?void 0:n.centerOffset)!==0,p=c?0:e.arrowWidth,v=c?0:e.arrowHeight,[f,d]=uu(s),m={start:"0%",center:"50%",end:"100%"}[d],_=((r=(o=u.arrow)===null||o===void 0?void 0:o.x)!==null&&r!==void 0?r:0)+p/2,b=((a=(i=u.arrow)===null||i===void 0?void 0:i.y)!==null&&a!==void 0?a:0)+v/2;let x="",w="";return f==="bottom"?(x=c?m:`${_}px`,w=`${-v}px`):f==="top"?(x=c?m:`${_}px`,w=`${l.floating.height+v}px`):f==="right"?(x=`${-v}px`,w=c?m:`${b}px`):f==="left"&&(x=`${l.floating.width+v}px`,w=c?m:`${b}px`),{data:{x,y:w}}}});function uu(e){const[t,n="center"]=e.split("-");return[t,n]}const cw=tw,lw=rw,uw=aw,dw=ce((e,t)=>{var n;const{container:r=globalThis==null||(n=globalThis.document)===null||n===void 0?void 0:n.body,...o}=e;return r?Al.createPortal(R(nn.div,fe({},o,{ref:t})),r):null});function fw(e,t){return br((n,r)=>{const o=t[n][r];return o??n},e)}const Sa=e=>{const{present:t,children:n}=e,r=pw(t),o=typeof n=="function"?n({present:r.isPresent}):tt.only(n),a=It(r.ref,o.ref);return typeof n=="function"||r.isPresent?tn(o,{ref:a}):null};Sa.displayName="Presence";function pw(e){const[t,n]=J(),r=B({}),o=B(e),a=B("none"),i=e?"mounted":"unmounted",[s,l]=fw(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Q(()=>{const u=Rr(r.current);a.current=s==="mounted"?u:"none"},[s]),rn(()=>{const u=r.current,h=o.current;if(h!==e){const p=a.current,v=Rr(u);e?l("MOUNT"):v==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(h&&p!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),rn(()=>{if(t){const u=c=>{const v=Rr(r.current).includes(c.animationName);c.target===t&&v&&Dn(()=>l("ANIMATION_END"))},h=c=>{c.target===t&&(a.current=Rr(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",u),t.addEventListener("animationend",u),()=>{t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",u),t.removeEventListener("animationend",u)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:se(u=>{u&&(r.current=getComputedStyle(u)),n(u)},[])}}function Rr(e){return(e==null?void 0:e.animationName)||"none"}function hw({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=vw({defaultProp:t,onChange:n}),a=e!==void 0,i=a?e:r,s=_t(n),l=se(u=>{if(a){const c=typeof u=="function"?u(e):u;c!==e&&s(c)}else o(u)},[a,e,o,s]);return[i,l]}function vw({defaultProp:e,onChange:t}){const n=J(e),[r]=n,o=B(r),a=_t(t);return Q(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}var gw=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},ln=new WeakMap,Dr=new WeakMap,Nr={},Ea=0,du=function(e){return e&&(e.host||du(e.parentNode))},_w=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=du(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},mw=function(e,t,n,r){var o=_w(t,Array.isArray(e)?e:[e]);Nr[n]||(Nr[n]=new WeakMap);var a=Nr[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 h=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(p){if(s.has(p))h(p);else{var v=p.getAttribute(r),f=v!==null&&v!=="false",d=(ln.get(p)||0)+1,m=(a.get(p)||0)+1;ln.set(p,d),a.set(p,m),i.push(p),d===1&&f&&Dr.set(p,!0),m===1&&p.setAttribute(n,"true"),f||p.setAttribute(r,"true")}})};return h(t),s.clear(),Ea++,function(){i.forEach(function(c){var p=ln.get(c)-1,v=a.get(c)-1;ln.set(c,p),a.set(c,v),p||(Dr.has(c)||c.removeAttribute(r),Dr.delete(c)),v||c.removeAttribute(n)}),Ea--,Ea||(ln=new WeakMap,ln=new WeakMap,Dr=new WeakMap,Nr={})}},ww=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||gw(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),mw(r,o,n,"aria-hidden")):function(){return null}},Ve=function(){return Ve=Object.assign||function(t){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)&&(t[a]=n[a])}return t},Ve.apply(this,arguments)};function fu(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function yw(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,a;r<o;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;var Lr="right-scroll-bar-position",Ir="width-before-scroll-bar",bw="with-scroll-bars-hidden",xw="--removed-body-scroll-bar-size";function kw(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function jw(e,t){var n=J(function(){return{value:e,callback:t,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=t,n.facade}function $w(e,t){return jw(t||null,function(n){return e.forEach(function(r){return kw(r,n)})})}function Sw(e){return e}function Ew(e,t){t===void 0&&(t=Sw);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]:e},useMedium:function(a){var i=t(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 h=i;i=[],h.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(h){i.push(h),u()},filter:function(h){return i=i.filter(h),n}}}};return o}function Cw(e){e===void 0&&(e={});var t=Ew(null);return t.options=Ve({async:!0,ssr:!1},e),t}var pu=function(e){var t=e.sideCar,n=fu(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return R(r,Ve({},n))};pu.isSideCarExport=!0;function Aw(e,t){return e.useMedium(t),pu}var hu=Cw(),Ca=function(){},Mr=ce(function(e,t){var n=B(null),r=J({onScrollCapture:Ca,onWheelCapture:Ca,onTouchMoveCapture:Ca}),o=r[0],a=r[1],i=e.forwardProps,s=e.children,l=e.className,u=e.removeScrollBar,h=e.enabled,c=e.shards,p=e.sideCar,v=e.noIsolation,f=e.inert,d=e.allowPinchZoom,m=e.as,_=m===void 0?"div":m,b=fu(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),x=p,w=$w([n,t]),y=Ve(Ve({},b),o);return R(oe,null,h&&R(x,{sideCar:hu,removeScrollBar:u,shards:c,noIsolation:v,inert:f,setCallbacks:a,allowPinchZoom:!!d,lockRef:n}),i?tn(tt.only(s),Ve(Ve({},y),{ref:w})):R(_,Ve({},y,{className:l,ref:w}),s))});Mr.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Mr.classNames={fullWidth:Ir,zeroRight:Lr};var Ow=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Tw(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ow();return t&&e.setAttribute("nonce",t),e}function Pw(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Rw(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var Dw=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Tw())&&(Pw(t,n),Rw(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Nw=function(){var e=Dw();return function(t,n){Q(function(){return e.add(t),function(){e.remove()}},[t&&n])}},vu=function(){var e=Nw(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},Lw={left:0,top:0,right:0,gap:0},Aa=function(e){return parseInt(e||"",10)||0},Iw=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Aa(n),Aa(r),Aa(o)]},Mw=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Lw;var t=Iw(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Fw=vu(),Hw=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,s=e.gap;return n===void 0&&(n="margin"),`
|
|
22
|
+
.`.concat(bw,` {
|
|
23
23
|
overflow: hidden `).concat(r,`;
|
|
24
24
|
padding-right: `).concat(s,"px ").concat(r,`;
|
|
25
25
|
}
|
|
@@ -28,40 +28,40 @@ ${n.concat(n).join(`
|
|
|
28
28
|
overscroll-behavior: contain;
|
|
29
29
|
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
30
30
|
padding-left: `.concat(o,`px;
|
|
31
|
-
padding-top: `).concat(
|
|
32
|
-
padding-right: `).concat(
|
|
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,`;
|
|
36
36
|
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.`).concat(
|
|
39
|
+
.`).concat(Lr,` {
|
|
40
40
|
right: `).concat(s,"px ").concat(r,`;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.`).concat(
|
|
43
|
+
.`).concat(Ir,` {
|
|
44
44
|
margin-right: `).concat(s,"px ").concat(r,`;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
.`).concat(
|
|
47
|
+
.`).concat(Lr," .").concat(Lr,` {
|
|
48
48
|
right: 0 `).concat(r,`;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.`).concat(
|
|
51
|
+
.`).concat(Ir," .").concat(Ir,` {
|
|
52
52
|
margin-right: 0 `).concat(r,`;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
body {
|
|
56
|
-
`).concat(
|
|
56
|
+
`).concat(xw,": ").concat(s,`px;
|
|
57
57
|
}
|
|
58
|
-
`)},
|
|
58
|
+
`)},zw=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r,a=ge(function(){return Mw(o)},[o]);return R(Fw,{styles:Hw(a,!t,o,n?"":"!important")})},Oa=!1;if(typeof window<"u")try{var Fr=Object.defineProperty({},"passive",{get:function(){return Oa=!0,!0}});window.addEventListener("test",Fr,Fr),window.removeEventListener("test",Fr,Fr)}catch{Oa=!1}var un=Oa?{passive:!1}:!1,Vw=function(e){return e.tagName==="TEXTAREA"},gu=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Vw(e)&&n[t]==="visible")},Uw=function(e){return gu(e,"overflowY")},Ww=function(e){return gu(e,"overflowX")},_u=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var r=mu(e,n);if(r){var o=wu(e,n),a=o[1],i=o[2];if(a>i)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Bw=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},Yw=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},mu=function(e,t){return e==="v"?Uw(t):Ww(t)},wu=function(e,t){return e==="v"?Bw(t):Yw(t)},qw=function(e,t){return e==="h"&&t==="rtl"?-1:1},Kw=function(e,t,n,r,o){var a=qw(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),u=!1,h=i>0,c=0,p=0;do{var v=wu(e,s),f=v[0],d=v[1],m=v[2],_=d-m-a*f;(f||_)&&mu(e,s)&&(c+=_,p+=f),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(h&&(o&&c===0||!o&&i>c)||!h&&(o&&p===0||!o&&-i>p))&&(u=!0),u},Hr=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},yu=function(e){return[e.deltaX,e.deltaY]},bu=function(e){return e&&"current"in e?e.current:e},Gw=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Xw=function(e){return`
|
|
59
59
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
|
60
60
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
|
61
|
-
`)},Pm=0,pn=[];function Rm(e){var t=V([]),n=V([0,0]),r=V(),o=K(Pm++)[0],i=K(function(){return Lu()})[0],a=V(e);J(function(){a.current=e},[e]),J(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var h=tm([e.lockRef.current],(e.shards||[]).map(Vu),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=ae(function(h,g){if("touches"in h&&h.touches.length===2)return!a.current.allowPinchZoom;var _=Wr(h),m=n.current,x="deltaX"in h?h.deltaX:m[0]-_[0],b="deltaY"in h?h.deltaY:m[1]-_[1],y,k=h.target,C=Math.abs(x)>Math.abs(b)?"h":"v";if("touches"in h&&C==="h"&&k.type==="range")return!1;var $=Iu(C,k);if(!$)return!0;if($?y=C:(y=C==="v"?"h":"v",$=Iu(C,k)),!$)return!1;if(!r.current&&"changedTouches"in h&&(x||b)&&(r.current=y),!y)return!0;var O=r.current||y;return Om(O,g,h,O==="h"?x:b,!0)},[]),l=ae(function(h){var g=h;if(!(!pn.length||pn[pn.length-1]!==i)){var _="deltaY"in g?Uu(g):Wr(g),m=t.current.filter(function(y){return y.name===g.type&&y.target===g.target&&Am(y.delta,_)})[0];if(m&&m.should){g.cancelable&&g.preventDefault();return}if(!m){var x=(a.current.shards||[]).map(Vu).filter(Boolean).filter(function(y){return y.contains(g.target)}),b=x.length>0?s(g,x[0]):!a.current.noIsolation;b&&g.cancelable&&g.preventDefault()}}},[]),u=ae(function(h,g,_,m){var x={name:h,delta:g,target:_,should:m};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(b){return b!==x})},1)},[]),f=ae(function(h){n.current=Wr(h),r.current=void 0},[]),c=ae(function(h){u(h.type,Uu(h),h.target,s(h,e.lockRef.current))},[]),p=ae(function(h){u(h.type,Wr(h),h.target,s(h,e.lockRef.current))},[]);J(function(){return pn.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,fn),document.addEventListener("touchmove",l,fn),document.addEventListener("touchstart",f,fn),function(){pn=pn.filter(function(h){return h!==i}),document.removeEventListener("wheel",l,fn),document.removeEventListener("touchmove",l,fn),document.removeEventListener("touchstart",f,fn)}},[]);var d=e.removeScrollBar,v=e.inert;return A(oe,null,v?A(i,{styles:Tm(o)}):null,d?A(xm,{gapMode:"margin"}):null)}const Dm=um(Nu,Rm);var zu=le(function(e,t){return A(Vr,ze({},e,{ref:t,sideCar:Dm}))});zu.classNames=Vr.classNames;const Nm=zu,Wu="Popover",[Bu,Ty]=Jl(Wu,[Cu]),oa=Cu(),[Lm,hn]=Bu(Wu),Mm=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:a=!1}=e,s=oa(t),l=V(null),[u,f]=K(!1),[c=!1,p]=Gw({prop:r,defaultProp:o,onChange:i});return A(zw,s,A(Lm,{scope:t,contentId:L0(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:ae(()=>p(d=>!d),[p]),hasCustomAnchor:u,onCustomAnchorAdd:ae(()=>f(!0),[]),onCustomAnchorRemove:ae(()=>f(!1),[]),modal:a},n))},Im="PopoverTrigger",Fm=le((e,t)=>{const{__scopePopover:n,...r}=e,o=hn(Im,n),i=oa(n),a=Ft(t,o.triggerRef),s=A(on.button,pe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":qu(o.open)},r,{ref:a,onClick:It(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:A(Ww,pe({asChild:!0},i),s)}),Yu="PopoverPortal",[Hm,Um]=Bu(Yu,{forceMount:void 0}),Vm=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,i=hn(Yu,t);return A(Hm,{scope:t,forceMount:n},A(Qi,{present:n||i.open},A(Yw,{asChild:!0,container:o},r)))},Gn="PopoverContent",zm=le((e,t)=>{const n=Um(Gn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,i=hn(Gn,e.__scopePopover);return A(Qi,{present:r||i.open},i.modal?A(Wm,pe({},o,{ref:t})):A(Bm,pe({},o,{ref:t})))}),Wm=le((e,t)=>{const n=hn(Gn,e.__scopePopover),r=V(null),o=Ft(t,r),i=V(!1);return J(()=>{const a=r.current;if(a)return em(a)},[]),A(Nm,{as:Mi,allowPinchZoom:!0},A(Ku,pe({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:It(e.onCloseAutoFocus,a=>{var s;a.preventDefault(),i.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:It(e.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:It(e.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1})})))}),Bm=le((e,t)=>{const n=hn(Gn,e.__scopePopover),r=V(!1),o=V(!1);return A(Ku,pe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var a;if((a=e.onCloseAutoFocus)===null||a===void 0||a.call(e,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=e.onInteractOutside)===null||a===void 0||a.call(e,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()}}))}),Ku=le((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,disableOutsidePointerEvents:a,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:f,...c}=e,p=hn(Gn,n),d=oa(n);return S0(),A(E0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i},A(k0,{asChild:!0,disableOutsidePointerEvents:a,onInteractOutside:f,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},A(Bw,pe({"data-state":qu(p.open),role:"dialog",id:p.contentId},d,c,{ref:t,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 qu(e){return e?"open":"closed"}const Ym=Mm,Km=Fm,qm=Vm,Gm=zm;function Gu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Gu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function ia(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Gu(e))&&(r&&(r+=" "),r+=t);return r}function Br(){throw new Error("Cycle detected")}var Xm=Symbol.for("preact-signals");function aa(){if(vn>1)vn--;else{for(var e,t=!1;Xn!==void 0;){var n=Xn;for(Xn=void 0,sa++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Zu(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(sa=0,vn--,t)throw e}}var ne=void 0,Xn=void 0,vn=0,sa=0,Yr=0;function Xu(e){if(ne!==void 0){var t=e.n;if(t===void 0||t.t!==ne)return t={i:0,S:e,p:ne.s,n:void 0,t:ne,e:void 0,x:void 0,r:t},ne.s!==void 0&&(ne.s.n=t),ne.s=t,e.n=t,32&ne.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=ne.s,t.n=void 0,ne.s.n=t,ne.s=t),t}}function he(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}he.prototype.brand=Xm,he.prototype.h=function(){return!0},he.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},he.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},he.prototype.subscribe=function(e){var t=this;return la(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},he.prototype.valueOf=function(){return this.value},he.prototype.toString=function(){return this.value+""},he.prototype.toJSON=function(){return this.value},he.prototype.peek=function(){return this.v},Object.defineProperty(he.prototype,"value",{get:function(){var e=Xu(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(ne instanceof $t&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){sa>100&&Br(),this.v=e,this.i++,Yr++,vn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{aa()}}}});function Kr(e){return new he(e)}function Zu(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Ju(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Qu(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function $t(e){he.call(this,void 0),this.x=e,this.s=void 0,this.g=Yr-1,this.f=4}($t.prototype=new he).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Yr))return!0;if(this.g=Yr,this.f|=1,this.i>0&&!Zu(this))return this.f&=-2,!0;var e=ne;try{Ju(this),ne=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return ne=e,Qu(this),this.f&=-2,!0},$t.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}he.prototype.S.call(this,e)},$t.prototype.U=function(e){if(this.t!==void 0&&(he.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},$t.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},$t.prototype.peek=function(){if(this.h()||Br(),16&this.f)throw this.v;return this.v},Object.defineProperty($t.prototype,"value",{get:function(){1&this.f&&Br();var e=Xu(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function Zm(e){return new $t(e)}function ed(e){var t=e.u;if(e.u=void 0,typeof t=="function"){vn++;var n=ne;ne=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,ca(e),r}finally{ne=n,aa()}}}function ca(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,ed(e)}function Jm(e){if(ne!==this)throw new Error("Out-of-order effect");Qu(this),ne=e,this.f&=-2,8&this.f&&ca(this),aa()}function Zn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Zn.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},Zn.prototype.S=function(){1&this.f&&Br(),this.f|=1,this.f&=-9,ed(this),Ju(this),vn++;var e=ne;return ne=this,Jm.bind(this,e)},Zn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Xn,Xn=this)},Zn.prototype.d=function(){this.f|=8,1&this.f||ca(this)};function la(e){var t=new Zn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var ua;function _n(e,t){P[e]=t.bind(null,P[e]||function(){})}function qr(e){ua&&ua(),ua=e&&e.S()}function td(e){var t=this,n=e.data,r=ey(n);r.value=n;var o=_e(function(){for(var i=t.__v;i=i.__;)if(i.__c){i.__c.__$f|=4;break}return t.__$u.c=function(){var a;!Bc(o.peek())&&((a=t.base)==null?void 0:a.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},Zm(function(){var a=r.value.value;return a===0?0:a===!0?"":a||""})},[]);return o.value}td.displayName="_st",Object.defineProperties(he.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:td},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),_n("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var i=r[o];i instanceof he&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)}),_n("__r",function(e,t){qr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var i;return la(function(){i=this}),i.c=function(){r.__$f|=1,r.setState({})},i}())),qr(n),e(t)}),_n("__e",function(e,t,n,r){qr(),e(t,n,r)}),_n("diffed",function(e,t){qr();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.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=Qm(n,l,f,o),i[l]=u):u.o(f,o)}}}e(t)});function Qm(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,i=Kr(n);return{o:function(a,s){i.value=a,r=s},d:la(function(){var a=i.value.value;r[t]!==a&&(r[t]=a,o?e[t]=a:a?e.setAttribute(t,a):e.removeAttribute(t))})}}_n("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__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=t.__c;if(a){var s=a.__$u;s&&(a.__$u=void 0,s.d())}}e(t)}),_n("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),Oe.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1};function ey(e){return _e(function(){return Kr(e)},[])}const gn={config$:Kr({headerText:"",label:""}),filters$:Kr({})},nd="inploi-job-alerts",ty="ija";var ny=["1","2","3","4","5","6","7","8","9","10","11","12"],ry={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]}},oy=(e,t=1,n)=>r=>{const[o,i]=ry[n][r];return"oklch("+o+"% "+i*t+" "+e+")"},rd=e=>{const t=oy(e.hue,e.chroma,e.mode);return Object.fromEntries(ny.map(n=>[e.prefix+n,e.transform(t(n))]))},od=e=>e,iy=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[n];return typeof r=="object"&&r!==null?Object.keys(r).map(o=>{const i=r[o];return[`${String(n)}.${o}`,i]}):[[n,r]]});return Object.fromEntries(t)},Gr=e=>!!e&&typeof e=="object"&&!Array.isArray(e),da=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Gr(e)&&Gr(n))for(const r in n){const o=n[r];if(Gr(o)){e[r]||Object.assign(e,{[r]:{}});const i=e[r];Gr(i)&&da(i,o)}else Object.assign(e,{[r]:n[r]})}return da(e,...t)},ay=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},sy=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:i}=r,a=p=>i("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:a,raw:{core:s}}),u=n({theme:o,core:a,semantic:a,raw:{core:s,semantic:l}}),f=iy(da(s,l,u)),c=([p,d],v)=>{const h=[v,p].filter(Boolean).join(".");return typeof d=="object"?Object.entries(d).flatMap(g=>c(g,h)):[[r.getToken("declaration",h),d]]};return{values:f,declarations:Object.fromEntries(Object.entries(f).flatMap(p=>c(p))),ref:p=>i("reference",p.toString())}}})})})});const[fa,pa,cy]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],ly=sy().core(({theme:e})=>({color:{transparent:cy,black:fa,white:pa,lowest:e.mode==="light"?pa:fa,highest:e.mode==="light"?fa:pa,...rd({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:od}),...rd({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:od})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),uy=ay({prefix:"i-"}),dy=e=>{const t=ly.from({theme:e,getToken:uy}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${ty} {
|
|
61
|
+
`)},Zw=0,dn=[];function Jw(e){var t=B([]),n=B([0,0]),r=B(),o=J(Zw++)[0],a=J(function(){return vu()})[0],i=B(e);Q(function(){i.current=e},[e]),Q(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var d=yw([e.lockRef.current],(e.shards||[]).map(bu),!0).filter(Boolean);return d.forEach(function(m){return m.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),d.forEach(function(m){return m.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=se(function(d,m){if("touches"in d&&d.touches.length===2)return!i.current.allowPinchZoom;var _=Hr(d),b=n.current,x="deltaX"in d?d.deltaX:b[0]-_[0],w="deltaY"in d?d.deltaY:b[1]-_[1],y,k=d.target,S=Math.abs(x)>Math.abs(w)?"h":"v";if("touches"in d&&S==="h"&&k.type==="range")return!1;var j=_u(S,k);if(!j)return!0;if(j?y=S:(y=S==="v"?"h":"v",j=_u(S,k)),!j)return!1;if(!r.current&&"changedTouches"in d&&(x||w)&&(r.current=y),!y)return!0;var $=r.current||y;return Kw($,m,d,$==="h"?x:w,!0)},[]),l=se(function(d){var m=d;if(!(!dn.length||dn[dn.length-1]!==a)){var _="deltaY"in m?yu(m):Hr(m),b=t.current.filter(function(y){return y.name===m.type&&y.target===m.target&&Gw(y.delta,_)})[0];if(b&&b.should){m.cancelable&&m.preventDefault();return}if(!b){var x=(i.current.shards||[]).map(bu).filter(Boolean).filter(function(y){return y.contains(m.target)}),w=x.length>0?s(m,x[0]):!i.current.noIsolation;w&&m.cancelable&&m.preventDefault()}}},[]),u=se(function(d,m,_,b){var x={name:d,delta:m,target:_,should:b};t.current.push(x),setTimeout(function(){t.current=t.current.filter(function(w){return w!==x})},1)},[]),h=se(function(d){n.current=Hr(d),r.current=void 0},[]),c=se(function(d){u(d.type,yu(d),d.target,s(d,e.lockRef.current))},[]),p=se(function(d){u(d.type,Hr(d),d.target,s(d,e.lockRef.current))},[]);Q(function(){return dn.push(a),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:p}),document.addEventListener("wheel",l,un),document.addEventListener("touchmove",l,un),document.addEventListener("touchstart",h,un),function(){dn=dn.filter(function(d){return d!==a}),document.removeEventListener("wheel",l,un),document.removeEventListener("touchmove",l,un),document.removeEventListener("touchstart",h,un)}},[]);var v=e.removeScrollBar,f=e.inert;return R(oe,null,f?R(a,{styles:Xw(o)}):null,v?R(zw,{gapMode:"margin"}):null)}const Qw=Aw(hu,Jw);var xu=ce(function(e,t){return R(Mr,Ve({},e,{ref:t,sideCar:Qw}))});xu.classNames=Mr.classNames;const ey=xu,ku="Popover",[ju,Xy]=Tl(ku,[su]),Ta=su(),[ty,fn]=ju(ku),ny=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!1}=e,s=Ta(t),l=B(null),[u,h]=J(!1),[c=!1,p]=hw({prop:r,defaultProp:o,onChange:a});return R(cw,s,R(ty,{scope:t,contentId:tm(),triggerRef:l,open:c,onOpenChange:p,onOpenToggle:se(()=>p(v=>!v),[p]),hasCustomAnchor:u,onCustomAnchorAdd:se(()=>h(!0),[]),onCustomAnchorRemove:se(()=>h(!1),[]),modal:i},n))},ry="PopoverTrigger",oy=ce((e,t)=>{const{__scopePopover:n,...r}=e,o=fn(ry,n),a=Ta(n),i=It(t,o.triggerRef),s=R(nn.button,fe({type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Eu(o.open)},r,{ref:i,onClick:Lt(e.onClick,o.onOpenToggle)}));return o.hasCustomAnchor?s:R(lw,fe({asChild:!0},a),s)}),$u="PopoverPortal",[ay,iy]=ju($u,{forceMount:void 0}),sy=e=>{const{__scopePopover:t,forceMount:n,children:r,container:o}=e,a=fn($u,t);return R(ay,{scope:t,forceMount:n},R(Sa,{present:n||a.open},R(dw,{asChild:!0,container:o},r)))},Mn="PopoverContent",cy=ce((e,t)=>{const n=iy(Mn,e.__scopePopover),{forceMount:r=n.forceMount,...o}=e,a=fn(Mn,e.__scopePopover);return R(Sa,{present:r||a.open},a.modal?R(ly,fe({},o,{ref:t})):R(uy,fe({},o,{ref:t})))}),ly=ce((e,t)=>{const n=fn(Mn,e.__scopePopover),r=B(null),o=It(t,r),a=B(!1);return Q(()=>{const i=r.current;if(i)return ww(i)},[]),R(ey,{as:ua,allowPinchZoom:!0},R(Su,fe({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lt(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),a.current||(s=n.triggerRef.current)===null||s===void 0||s.focus()}),onPointerDownOutside:Lt(e.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:Lt(e.onFocusOutside,i=>i.preventDefault(),{checkForDefaultPrevented:!1})})))}),uy=ce((e,t)=>{const n=fn(Mn,e.__scopePopover),r=B(!1),o=B(!1);return R(Su,fe({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,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=e.onInteractOutside)===null||i===void 0||i.call(e,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()}}))}),Su=ce((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:i,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:h,...c}=e,p=fn(Mn,n),v=Ta(n);return B0(),R(Y0,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a},R(V0,{asChild:!0,disableOutsidePointerEvents:i,onInteractOutside:h,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:u,onDismiss:()=>p.onOpenChange(!1)},R(uw,fe({"data-state":Eu(p.open),role:"dialog",id:p.contentId},v,c,{ref:t,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 Eu(e){return e?"open":"closed"}const dy=ny,fy=oy,py=sy,hy=cy;function Cu(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Cu(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Pa(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Cu(e))&&(r&&(r+=" "),r+=t);return r}function zr(){throw new Error("Cycle detected")}var vy=Symbol.for("preact-signals");function Ra(){if(pn>1)pn--;else{for(var e,t=!1;Fn!==void 0;){var n=Fn;for(Fn=void 0,Da++;n!==void 0;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&Ou(n))try{n.c()}catch(o){t||(e=o,t=!0)}n=r}}if(Da=0,pn--,t)throw e}}var ee=void 0,Fn=void 0,pn=0,Da=0,Vr=0;function Au(e){if(ee!==void 0){var t=e.n;if(t===void 0||t.t!==ee)return t={i:0,S:e,p:ee.s,n:void 0,t:ee,e:void 0,x:void 0,r:t},ee.s!==void 0&&(ee.s.n=t),ee.s=t,e.n=t,32&ee.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=ee.s,t.n=void 0,ee.s.n=t,ee.s=t),t}}function pe(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}pe.prototype.brand=vy,pe.prototype.h=function(){return!0},pe.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)},pe.prototype.U=function(e){if(this.t!==void 0){var t=e.e,n=e.x;t!==void 0&&(t.x=n,e.e=void 0),n!==void 0&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},pe.prototype.subscribe=function(e){var t=this;return La(function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}})},pe.prototype.valueOf=function(){return this.value},pe.prototype.toString=function(){return this.value+""},pe.prototype.toJSON=function(){return this.value},pe.prototype.peek=function(){return this.v},Object.defineProperty(pe.prototype,"value",{get:function(){var e=Au(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(ee instanceof xt&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){Da>100&&zr(),this.v=e,this.i++,Vr++,pn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{Ra()}}}});function Ur(e){return new pe(e)}function Ou(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function Tu(e){for(var t=e.s;t!==void 0;t=t.n){var n=t.S.n;if(n!==void 0&&(t.r=n),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function Pu(e){for(var t=e.s,n=void 0;t!==void 0;){var r=t.p;t.i===-1?(t.S.U(t),r!==void 0&&(r.n=t.n),t.n!==void 0&&(t.n.p=r)):n=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=r}e.s=n}function xt(e){pe.call(this,void 0),this.x=e,this.s=void 0,this.g=Vr-1,this.f=4}(xt.prototype=new pe).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Vr))return!0;if(this.g=Vr,this.f|=1,this.i>0&&!Ou(this))return this.f&=-2,!0;var e=ee;try{Tu(this),ee=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(n){this.v=n,this.f|=16,this.i++}return ee=e,Pu(this),this.f&=-2,!0},xt.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}pe.prototype.S.call(this,e)},xt.prototype.U=function(e){if(this.t!==void 0&&(pe.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}},xt.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}},xt.prototype.peek=function(){if(this.h()||zr(),16&this.f)throw this.v;return this.v},Object.defineProperty(xt.prototype,"value",{get:function(){1&this.f&&zr();var e=Au(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function gy(e){return new xt(e)}function Ru(e){var t=e.u;if(e.u=void 0,typeof t=="function"){pn++;var n=ee;ee=void 0;try{t()}catch(r){throw e.f&=-2,e.f|=8,Na(e),r}finally{ee=n,Ra()}}}function Na(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Ru(e)}function _y(e){if(ee!==this)throw new Error("Out-of-order effect");Pu(this),ee=e,this.f&=-2,8&this.f&&Na(this),Ra()}function Hn(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}Hn.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}},Hn.prototype.S=function(){1&this.f&&zr(),this.f|=1,this.f&=-9,Ru(this),Tu(this),pn++;var e=ee;return ee=this,_y.bind(this,e)},Hn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Fn,Fn=this)},Hn.prototype.d=function(){this.f|=8,1&this.f||Na(this)};function La(e){var t=new Hn(e);try{t.c()}catch(n){throw t.d(),n}return t.d.bind(t)}var Ia;function hn(e,t){E[e]=t.bind(null,E[e]||function(){})}function Wr(e){Ia&&Ia(),Ia=e&&e.S()}function Du(e){var t=this,n=e.data,r=wy(n);r.value=n;var o=ge(function(){for(var a=t.__v;a=a.__;)if(a.__c){a.__c.__$f|=4;break}return t.__$u.c=function(){var i;!mc(o.peek())&&((i=t.base)==null?void 0:i.nodeType)===3?t.base.data=o.peek():(t.__$f|=1,t.setState({}))},gy(function(){var i=r.value.value;return i===0?0:i===!0?"":i||""})},[]);return o.value}Du.displayName="_st",Object.defineProperties(pe.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:Du},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),hn("__b",function(e,t){if(typeof t.type=="string"){var n,r=t.props;for(var o in r)if(o!=="children"){var a=r[o];a instanceof pe&&(n||(t.__np=n={}),n[o]=a,r[o]=a.peek())}}e(t)}),hn("__r",function(e,t){Wr();var n,r=t.__c;r&&(r.__$f&=-2,(n=r.__$u)===void 0&&(r.__$u=n=function(o){var a;return La(function(){a=this}),a.c=function(){r.__$f|=1,r.setState({})},a}())),Wr(n),e(t)}),hn("__e",function(e,t,n,r){Wr(),e(t,n,r)}),hn("diffed",function(e,t){Wr();var n;if(typeof t.type=="string"&&(n=t.__e)){var r=t.__np,o=t.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],h=r[l];u===void 0?(u=my(n,l,h,o),a[l]=u):u.o(h,o)}}}e(t)});function my(e,t,n,r){var o=t in e&&e.ownerSVGElement===void 0,a=Ur(n);return{o:function(i,s){a.value=i,r=s},d:La(function(){var i=a.value.value;r[t]!==i&&(r[t]=i,o?e[t]=i:i?e.setAttribute(t,i):e.removeAttribute(t))})}}hn("unmount",function(e,t){if(typeof t.type=="string"){var n=t.__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=t.__c;if(i){var s=i.__$u;s&&(i.__$u=void 0,s.d())}}e(t)}),hn("__h",function(e,t,n,r){(r<3||r===9)&&(t.__$f|=2),e(t,n,r)}),Ee.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&n.s!==void 0||4&this.__$f)||3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if(o!=="__source"&&e[o]!==this.props[o])return!0;for(var a in this.props)if(!(a in e))return!0;return!1};function wy(e){return ge(function(){return Ur(e)},[])}const vn={config$:Ur({headerText:"",label:""}),filters$:Ur({})},Nu="inploi-job-alerts",yy="ija";var by=["1","2","3","4","5","6","7","8","9","10","11","12"],xy={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]}},ky=(e,t=1,n)=>r=>{const[o,a]=xy[n][r];return"oklch("+o+"% "+a*t+" "+e+")"},Lu=e=>{const t=ky(e.hue,e.chroma,e.mode);return Object.fromEntries(by.map(n=>[e.prefix+n,e.transform(t(n))]))},Iu=e=>e,jy=e=>{const t=Object.keys(e).flatMap(n=>{const r=e[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(t)},Br=e=>!!e&&typeof e=="object"&&!Array.isArray(e),Ma=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Br(e)&&Br(n))for(const r in n){const o=n[r];if(Br(o)){e[r]||Object.assign(e,{[r]:{}});const a=e[r];Br(a)&&Ma(a,o)}else Object.assign(e,{[r]:n[r]})}return Ma(e,...t)},$y=e=>{function t(n,r){const o=[e.prefix,r.toString().replace(/\./g,"-")].join("");return n==="declaration"?`--${o}`:`var(--${o})`}return t},Sy=()=>({core:e=>({semantic:t=>({component:n=>({from:r=>{const{theme:o,getToken:a}=r,i=p=>a("reference",p.toString()),s=e({theme:o}),l=t({theme:o,core:i,raw:{core:s}}),u=n({theme:o,core:i,semantic:i,raw:{core:s,semantic:l}}),h=jy(Ma(s,l,u)),c=([p,v],f)=>{const d=[f,p].filter(Boolean).join(".");return typeof v=="object"?Object.entries(v).flatMap(m=>c(m,d)):[[r.getToken("declaration",d),v]]};return{values:h,declarations:Object.fromEntries(Object.entries(h).flatMap(p=>c(p))),ref:p=>a("reference",p.toString())}}})})})});const[Fa,Ha,Ey]=["oklch(0 0 0)","oklch(100 0 0)","transparent"],Cy=Sy().core(({theme:e})=>({color:{transparent:Ey,black:Fa,white:Ha,lowest:e.mode==="light"?Ha:Fa,highest:e.mode==="light"?Fa:Ha,...Lu({prefix:"a-",hue:e.accent.hue,chroma:e.accent.chroma,mode:e.mode,transform:Iu}),...Lu({prefix:"n-",hue:e.accent.hue,chroma:.05,mode:e.mode,transform:Iu})},radius:{base:e.corners==="rounded"?".25rem":e.corners==="soft"?".125rem":"0",multiplier:e.corners==="rounded"?"0.5rem":e.corners==="soft"?"0.175rem":"0"},duration:{snappy:".4s",medium:".6s",slow:".9s"}})).semantic(({core:e})=>({radius:{sm:`calc(${e("radius.base")} + (0 * ${e("radius.multiplier")}))`,md:`calc(${e("radius.base")} + (1 * ${e("radius.multiplier")}))`,lg:`calc(${e("radius.base")} + (2 * ${e("radius.multiplier")}))`,xl:`calc(${e("radius.base")} + (3 * ${e("radius.multiplier")}))`}})).component(()=>({})),Ay=$y({prefix:"i-"}),Oy=e=>{const t=Cy.from({theme:e,getToken:Ay}),n=Object.entries(t.declarations).map(([r,o])=>`${r}: ${o};`);return`#${yy} {
|
|
62
62
|
${n.concat(n).join(`
|
|
63
63
|
`)}
|
|
64
|
-
}`},
|
|
64
|
+
}`},Mu=e=>{const t=[];return t.push(e.corners),t.push(e.highlights),t.push(e.mode),t},Ty=({error:e})=>e?D("div",{role:"alert",class:"flex max-w-full items-start gap-1.5 px-2 py-2 text-[#E5484D]",children:[D("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:[D("circle",{cx:"8",cy:"8",r:"6.3",stroke:"currentColor","stroke-width":"1.4"}),D("rect",{x:"7",y:"4",width:"2",height:"5",fill:"currentColor"}),D("rect",{x:"7",y:"10",width:"2",height:"2",fill:"currentColor"})]}),D("p",{class:"pr-1 text-sm",children:e})]}):null,za="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]",Py=e=>typeof e=="string"?e:typeof e=="object"&&e!==null&&"message"in e&&typeof e.message=="string"?e.message:"Failed to create alert. Please try again later.",Ry=ce(({class:e,...t},n)=>D("button",{ref:n,class:Pa("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]",e),onTouchStart:Fu,...t,children:[D(Vc,{class:"flex-none",name:"bell"})," ",D("span",{class:"min-w-0 truncate text-center",children:vn.config$.value.label})]})),Dy=()=>D("p",{class:"text-neutral-11 px-2 pb-4 pt-1 text-sm",children:vn.config$.value.headerText});function Fu(){}const Ny=({theme:e,apiClient:t,logger:n})=>{const[r,o]=J("idle"),[a,i]=J();return D("div",{id:"ija",children:D("div",{class:Mu(e).join(" "),children:D(dy,{children:[D(fy,{asChild:!0,children:D(Ry,{})}),D(py,{children:D("div",{id:"ija",children:D("div",{class:Pa("absolute isolate z-50",Mu(e).join(" ")),children:D(hy,{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:[D(Dy,{}),D("form",{onSubmit:async s=>{var l,u,h;if(s.preventDefault(),r!=="idle")return;const c=new FormData(s.currentTarget),p=(l=c.get("name"))==null?void 0:l.toString(),[v,...f]=(p==null?void 0:p.split(" "))??[],d=f.join(" ");o("loading"),await Promise.all([new Promise(m=>setTimeout(m,1e3)),t.fetch("/search/save",{method:"POST",body:JSON.stringify({contact:{email:(u=c.get("email"))==null?void 0:u.toString(),first_name:v,last_name:d},alerts:(h=c.get("frequency"))==null?void 0:h.toString(),filters:vn.filters$.peek()})})]).then(async()=>{o("success"),await new Promise(m=>setTimeout(m,1e3)),o("idle")}).catch(m=>{n.error(m),i(Py(m)),o("idle")})},class:"flex flex-col gap-2.5",children:[D("div",{children:[D("fieldset",{class:"fieldset relative focus-within:z-10",children:[D("label",{class:"sr-only",htmlFor:"ija-email",children:"Email"}),D("input",{name:"email",autocomplete:"email",class:za,disabled:r==="loading",id:"ija-email",placeholder:"Email",type:"email",required:!0})]}),D("fieldset",{class:"fieldset relative focus-within:z-10",children:[D("label",{class:"sr-only",htmlFor:"ija-name",children:"Name"}),D("input",{disabled:r==="loading",name:"name",required:!0,autocomplete:"name",class:za,id:"ija-name",placeholder:"Full Name"})]}),D("fieldset",{class:"fieldset relative focus-within:z-10",children:[D("label",{class:"sr-only",htmlFor:"ija-frequency",children:"Frequency"}),D("select",{disabled:r==="loading",class:Pa(za,"appearance-none pr-8"),id:"ija-frequency",defaultValue:"WEEKLY",name:"frequency",children:[D("option",{value:"INSTANTLY",children:"Instantly"}),D("option",{value:"DAILY",children:"Daily"}),D("option",{value:"WEEKLY",children:"Weekly"}),D("option",{value:"MONTHLY",children:"Monthly"})]}),D("div",{class:"text-neutral-10 absolute bottom-0 right-0 top-0 flex items-center p-1","aria-hidden":!0,children:D(Vc,{name:"chevron-up-down"})})]})]}),D("button",{onTouchStart:Fu,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:[D("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"}),D("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:D("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:[D("circle",{class:"loading-circle duration-snappy ease-expo-out transition-all",cx:"12",cy:"12",r:"9"}),D("path",{class:"done-checkmark",d:"M9 12L11 14L15 10"})]})})]}),D(Ty,{error:a})]})]})})})})]})})})},Ly=`#ija {
|
|
65
65
|
font-size: 16px;
|
|
66
66
|
--tw-content: '';
|
|
67
67
|
}
|
|
@@ -1067,4 +1067,4 @@ ${n.concat(n).join(`
|
|
|
1067
1067
|
#ija .stroke .theme-stroke\\:hover\\:ring-accent-9:hover {
|
|
1068
1068
|
--tw-ring-color: var(--i-color-a-9);
|
|
1069
1069
|
}
|
|
1070
|
-
`,
|
|
1070
|
+
`,Hu=()=>({getRenderTargetElement:()=>{const e=document.body.querySelector(`#${Nu}`);if(!e)throw new Error(`Element with id ${Nu} not found.`);return e}}),Iy=Hu(),My=Object.freeze(Object.defineProperty({__proto__:null,createJobAlertsDomManager:Hu,jobAlertsPlugin:()=>Ya(({apiClient:e,logger:t,analytics:n})=>{let r=!1;const o=({params:s})=>R(oe,{},[[R("style",{id:"inploi-job-alerts-styles"},Ly),R("style",{id:"inploi-job-search-theme"},Oy(s.theme))],R(p0,{theme:s.theme}),R(Ny,{theme:s.theme,apiClient:e,logger:t,analytics:n})]),a=s=>vn.filters$.value=s,i=s=>vn.config$.value=typeof s=="function"?s(vn.config$.peek()):s;return{prerender:async s=>(r=!0,a(s.initialFilters),{html:l0(R(oe,{},R(o,{params:s})))}),render:async s=>{const l=r?ea:Jt;X_(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(R(o,{params:s}),Iy.getRenderTargetElement())},setFilters:a,setConfig:i}})},Symbol.toStringTag,{value:"Module"}))})();
|